@arcgis/charts-components 5.0.0-next.7 → 5.0.0-next.9
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/{3FEUSO2P.js → 2K4DENUF.js} +2 -2
- package/dist/cdn/2QFZPFHD.js +4 -0
- package/dist/cdn/{YPKHBQXA.js → 2RDPXCNU.js} +2 -2
- package/dist/cdn/{H7X2PNIT.js → 3AG2XDFG.js} +1 -1
- package/dist/cdn/{BJKNKWUC.js → 3DQDZDJY.js} +2 -2
- package/dist/cdn/{HGPUKDP2.js → 3EZM7R73.js} +2 -2
- package/dist/cdn/{7VLZEZW3.js → 3GUJMETN.js} +1 -1
- package/dist/cdn/{FZGGAYGV.js → 3LW3RVLZ.js} +1 -1
- package/dist/cdn/{ZOAJJO3O.js → 3ONUL2GJ.js} +2 -2
- package/dist/cdn/{JTNRW7OL.js → 3YCPU5QM.js} +2 -2
- package/dist/cdn/{4NMFDCAD.js → 44G63452.js} +2 -2
- package/dist/cdn/{RGDSO37U.js → 45OKNDKE.js} +2 -2
- package/dist/cdn/{TYXWYGLJ.js → 4AVH3M6C.js} +2 -2
- package/dist/cdn/{VVQUAG2Z.js → 4KAUNXMW.js} +2 -2
- package/dist/cdn/4NEZH6R3.js +4 -0
- package/dist/cdn/{UZNIN5RB.js → 4TBIXGRY.js} +2 -2
- package/dist/cdn/{56SMODPT.js → 4UTCWEFT.js} +2 -2
- package/dist/cdn/{IHINU2YO.js → 4VLO5DHV.js} +2 -2
- package/dist/cdn/524TC4DH.js +4 -0
- package/dist/cdn/{TPQ47UXE.js → 5C3ZRMJK.js} +2 -2
- package/dist/cdn/{CVE7ZPXC.js → 5R7G42SX.js} +2 -2
- package/dist/cdn/5SKHA3BX.js +4 -0
- package/dist/cdn/5ZEBZB2W.js +4 -0
- package/dist/cdn/{VIHTTIVI.js → 6HTRXV4R.js} +2 -2
- package/dist/cdn/{YRBD3LRY.js → 6M47PABJ.js} +2 -2
- package/dist/cdn/{ZAVVIRNK.js → 6MNQMHKG.js} +2 -2
- package/dist/cdn/{FVLZ7XGV.js → 6W3FAUM7.js} +2 -2
- package/dist/cdn/{BYLHBOT7.js → 7DJ5I573.js} +2 -2
- package/dist/cdn/{EOUCNE3D.js → 7K3L6P5G.js} +2 -2
- package/dist/cdn/{35JE4FBY.js → 7T2GKAFZ.js} +2 -2
- package/dist/cdn/{UZTBNWU5.js → 7ZCS4IDV.js} +2 -2
- package/dist/cdn/{COKTZFQ7.js → AK7FYC4E.js} +2 -2
- package/dist/cdn/ANU5IEYG.js +4 -0
- package/dist/cdn/AOFXO7QS.js +4 -0
- package/dist/cdn/{FUQG7YN4.js → AOP4NW7H.js} +2 -2
- package/dist/cdn/APOWVZAO.js +4 -0
- package/dist/cdn/{7P4IBWJL.js → ATCOPRVZ.js} +2 -2
- package/dist/cdn/BBKFCWBD.js +4 -0
- package/dist/cdn/{BFJORTOJ.js → BYXVKIJS.js} +2 -2
- package/dist/cdn/C6SVP4XP.js +4 -0
- package/dist/cdn/{5HQH5MLS.js → CBDCF4WN.js} +2 -2
- package/dist/cdn/{HBXUKZX5.js → CCDXWRM6.js} +2 -2
- package/dist/cdn/{FQD4ELGL.js → CDDSAOOI.js} +2 -2
- package/dist/cdn/{DEIRRBWT.js → CINBAJ4B.js} +2 -2
- package/dist/cdn/{NXFX5LYZ.js → CMXBAZVV.js} +2 -2
- package/dist/cdn/{3JUPCICW.js → CRCPVJGV.js} +2 -2
- package/dist/cdn/CT7ACEAJ.js +4 -0
- package/dist/cdn/{O3TSFTUW.js → CVXYTOTY.js} +2 -2
- package/dist/cdn/{VW66WZ7U.js → D24RQR7C.js} +2 -2
- package/dist/cdn/{4IE6XELI.js → D6B3SDXZ.js} +2 -2
- package/dist/cdn/{C6QAPYPQ.js → DCGNCGRN.js} +2 -2
- package/dist/cdn/{US5HMCBY.js → DMYZ2ITH.js} +2 -2
- package/dist/cdn/{UNK7THP6.js → DX47B75X.js} +2 -2
- package/dist/cdn/{R6AY7KMB.js → DXHD6ZBU.js} +1 -1
- package/dist/cdn/{AGVHBT7L.js → EA52QA4Q.js} +2 -2
- package/dist/cdn/EFKK4HFA.js +4 -0
- package/dist/cdn/{D3V3OSTL.js → EJBARFUQ.js} +2 -2
- package/dist/cdn/{TV7CPNRC.js → ENX6XS35.js} +2 -2
- package/dist/cdn/EPMNZBXQ.js +4 -0
- package/dist/cdn/EQY2RAE5.js +4 -0
- package/dist/cdn/{TVVIHKAP.js → EVZXCODK.js} +2 -2
- package/dist/cdn/{XKMQOAUO.js → F2KTNZCT.js} +2 -2
- package/dist/cdn/{FVDOVNZW.js → FPYKPE3G.js} +2 -2
- package/dist/cdn/{Q3OSKDAI.js → G5C2X7HQ.js} +2 -2
- package/dist/cdn/G7Z2RYUR.js +4 -0
- package/dist/cdn/{AHD5DXJH.js → GAIDYOWI.js} +2 -2
- package/dist/cdn/{M5AYHPO2.js → GDKOZD6L.js} +2 -2
- package/dist/cdn/{Q3NGO47M.js → GN7IQOIR.js} +2 -2
- package/dist/cdn/{BTGG3TDM.js → GP6FE6FO.js} +2 -2
- package/dist/cdn/{BKORDP3O.js → H3NEA4XJ.js} +2 -2
- package/dist/cdn/H7BQIZ7X.js +4 -0
- package/dist/cdn/{UFRVAEDG.js → HACZGFOF.js} +2 -2
- package/dist/cdn/{PTCDABQ4.js → HBSLJHIM.js} +2 -2
- package/dist/cdn/{TWS2ARTZ.js → HJLFN36B.js} +2 -2
- package/dist/cdn/{P275QL34.js → HNHE7IPR.js} +2 -2
- package/dist/cdn/{DK2IDH6K.js → HNPIGQIT.js} +2 -2
- package/dist/cdn/HVUOTKM5.js +4 -0
- package/dist/cdn/I3ASMCKO.js +4 -0
- package/dist/cdn/{T4VPS2H5.js → IDFTEQUY.js} +2 -2
- package/dist/cdn/{2PIQUZLJ.js → ILVA7TMM.js} +2 -2
- package/dist/cdn/{EQ7ZCKDE.js → IQOIDJBN.js} +2 -2
- package/dist/cdn/J6NEUDYV.js +4 -0
- package/dist/cdn/{V6YYT4N6.js → J7GE4UG7.js} +1 -1
- package/dist/cdn/JLLWY74C.js +4 -0
- package/dist/cdn/{W56FLWGR.js → JPFXNXAX.js} +2 -2
- package/dist/cdn/JPXYA4NB.js +4 -0
- package/dist/cdn/JS5L6YNF.js +4 -0
- package/dist/cdn/{BTTBM7EP.js → K33ZBSJA.js} +2 -2
- package/dist/cdn/{IJUTRTZW.js → K5RGWM7J.js} +2 -2
- package/dist/cdn/{N3XXFNB3.js → KCSYTUIU.js} +2 -2
- package/dist/cdn/{FGVGUOKQ.js → KIA3UULB.js} +2 -2
- package/dist/cdn/{54VAST3T.js → KLFYBVAD.js} +2 -2
- package/dist/cdn/KN2BWIQR.js +4 -0
- package/dist/cdn/KSZAWGFQ.js +58 -0
- package/dist/cdn/L3UQY37L.js +4 -0
- package/dist/cdn/{JQUU4BVY.js → L6IE77EE.js} +2 -2
- package/dist/cdn/{ZHASJHAE.js → L6NWPNMN.js} +2 -2
- package/dist/cdn/{K2D64HXF.js → LCR3DRXE.js} +1 -1
- package/dist/cdn/{P36WOGBI.js → LH3IEQVA.js} +2 -2
- package/dist/cdn/LUD5UTHI.js +4 -0
- package/dist/cdn/{DK4C5EIX.js → M4RVSOKC.js} +2 -2
- package/dist/cdn/{36FSYONF.js → M6EFCK2F.js} +2 -2
- package/dist/cdn/{P6EF5I4O.js → MDBWAHGQ.js} +2 -2
- package/dist/cdn/{JDDNTQT5.js → MQZTKP6H.js} +2 -2
- package/dist/cdn/{MJWLRF2C.js → MRQRDS3I.js} +2 -2
- package/dist/cdn/{C5YUFRP7.js → MTBWEE66.js} +2 -2
- package/dist/cdn/{PE5HKCVC.js → MTGRTAW7.js} +2 -2
- package/dist/cdn/{EH3V2H3C.js → NAWWHQSU.js} +2 -2
- package/dist/cdn/NERJVBY7.js +4 -0
- package/dist/cdn/{5Q2NBC5N.js → NH4BHZLD.js} +2 -2
- package/dist/cdn/{S2TUX5TL.js → NJQFLY5F.js} +2 -2
- package/dist/cdn/NKXEL36K.js +4 -0
- package/dist/cdn/{JB4CUM2L.js → NR3BFVTP.js} +2 -2
- package/dist/cdn/{KSQGYVZK.js → NRKPOEXL.js} +2 -2
- package/dist/cdn/{NDCBXVWX.js → OA7BSF7I.js} +2 -2
- package/dist/cdn/OMGJCJAV.js +4 -0
- package/dist/cdn/{4O4ROBLA.js → OYQOUYKJ.js} +2 -2
- package/dist/cdn/{2SYFETGI.js → OZF7WNFD.js} +2 -2
- package/dist/cdn/{YITCW2WB.js → PAI34HB7.js} +2 -2
- package/dist/cdn/PCKNVBPN.js +4 -0
- package/dist/cdn/PDPMJYSN.js +4 -0
- package/dist/cdn/{I75CJSCE.js → PF63DPQQ.js} +2 -2
- package/dist/cdn/PIGKWJ2L.js +4 -0
- package/dist/cdn/{F3ASXT26.js → PLTFX2SG.js} +1 -1
- package/dist/cdn/{TYBTROL2.js → PSLZZFWC.js} +2 -2
- package/dist/cdn/{6WGTEKAS.js → Q3N2W35L.js} +2 -2
- package/dist/cdn/Q6QJ2DJZ.js +4 -0
- package/dist/cdn/{ZW7QBYVY.js → QJ2OYUCX.js} +2 -2
- package/dist/cdn/{26CEMPJQ.js → QQ2JMC3E.js} +2 -2
- package/dist/cdn/{PMSJEK4U.js → R3S46RKL.js} +2 -2
- package/dist/cdn/{G3J7PGIE.js → R55XPJNU.js} +1 -1
- package/dist/cdn/RENR5KFV.js +4 -0
- package/dist/cdn/{Q6DK5UET.js → RMYMPUGH.js} +2 -2
- package/dist/cdn/{RMULKO4A.js → RMZWTEUA.js} +2 -2
- package/dist/cdn/{LKODXNVB.js → ROARZPN2.js} +2 -2
- package/dist/cdn/{Y36SXMLN.js → RT4RGVTM.js} +2 -2
- package/dist/cdn/RVIDTA56.js +4 -0
- package/dist/cdn/RVMBRWJ3.js +4 -0
- package/dist/cdn/RX5O6UTL.js +4 -0
- package/dist/cdn/{QCQKZSWJ.js → RXD42Q3U.js} +1 -1
- package/dist/cdn/{3VQN2LGT.js → RZUC2HFY.js} +2 -2
- package/dist/cdn/S4IZQA4N.js +4 -0
- package/dist/cdn/{3S7LJRMK.js → S6D4HTVJ.js} +2 -2
- package/dist/cdn/{EUY3ZXB3.js → SB2Y45AH.js} +2 -2
- package/dist/cdn/{XUEJREON.js → SE3YUSDM.js} +2 -2
- package/dist/cdn/{UXHFLB27.js → SPTDH472.js} +2 -2
- package/dist/cdn/SZP4DPTH.js +4 -0
- package/dist/cdn/TG5C76OZ.js +4 -0
- package/dist/cdn/{DEVWLG2D.js → TL4LGQBO.js} +2 -2
- package/dist/cdn/{ZMBVRTCZ.js → TRQE2AO6.js} +2 -2
- package/dist/cdn/{PWQYDJL2.js → TUPKSVGF.js} +2 -2
- package/dist/cdn/{7COTPB7J.js → TUWYT4LI.js} +2 -2
- package/dist/cdn/TZIXGPXK.js +4 -0
- package/dist/cdn/{NSIFTLPN.js → U3F7URQQ.js} +2 -2
- package/dist/cdn/UCK4RS3U.js +4 -0
- package/dist/cdn/{JGXYK2XS.js → UEVZZDOW.js} +2 -2
- package/dist/cdn/{UVU6XYFU.js → V5IRRMDQ.js} +2 -2
- package/dist/cdn/{XDM2ZTX6.js → VBZYBKVL.js} +2 -2
- package/dist/cdn/{YQWLSKE5.js → VEKMGE2V.js} +2 -2
- package/dist/cdn/VMTDOKQX.js +4 -0
- package/dist/cdn/{TQIUCTSC.js → VUOPKAOV.js} +2 -2
- package/dist/cdn/WDIVDRYL.js +4 -0
- package/dist/cdn/{7BXZTRWV.js → WIDKNJEK.js} +2 -2
- package/dist/cdn/{3NL3DNER.js → WIVA36W6.js} +2 -2
- package/dist/cdn/{2RSSSCRW.js → WLGJHIMC.js} +2 -2
- package/dist/cdn/WQP22PLO.js +4 -0
- package/dist/cdn/{5MAIXE7Z.js → WVICOC6T.js} +2 -2
- package/dist/cdn/{36FDIBPI.js → WWKRR73C.js} +2 -2
- package/dist/cdn/XBWRQ3SN.js +4 -0
- package/dist/cdn/{3MIHZORV.js → XCYQCF7J.js} +2 -2
- package/dist/cdn/{PVFDK245.js → Y6QDVTZL.js} +2 -2
- package/dist/cdn/{GPBCWFS5.js → YBFRXYVH.js} +2 -2
- package/dist/cdn/YFTA3JHV.js +4 -0
- package/dist/cdn/{TFBUW7HW.js → YG3EPLCZ.js} +2 -2
- package/dist/cdn/{SVQ4R6WJ.js → YNUJQZUQ.js} +2 -2
- package/dist/cdn/{5JCKBVWB.js → YRKZQROB.js} +2 -2
- package/dist/cdn/{WRZII4FY.js → YSU6JRPA.js} +2 -2
- package/dist/cdn/YUPHK3VR.js +4 -0
- package/dist/cdn/{FQJVMD7O.js → Z4YEXY4M.js} +2 -2
- package/dist/cdn/{JY73OE3Q.js → ZKO3C2E4.js} +2 -2
- package/dist/cdn/{XOGLMU5O.js → ZOOBGAE2.js} +2 -2
- package/dist/cdn/ZTRZTTRK.js +4 -0
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/next/chart-library-elements/labels/data-label/utils.d.ts +6 -1
- package/dist/chart-rendering/next/chart-library-elements/legend/heat-legend/index.d.ts +1 -1
- package/dist/chart-rendering/next/utils/index.d.ts +14 -0
- package/dist/chunks/action-bar-utils.js +30 -21
- 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/config-update.js +1 -1
- package/dist/chunks/data.js +4 -4
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +1 -1
- package/dist/chunks/heat-chart-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/index5.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/interfaces2.js +1 -1
- package/dist/chunks/interfaces3.js +1 -1
- package/dist/chunks/interfaces4.js +1 -1
- package/dist/chunks/line-chart-model.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-multi-axes.js +1 -1
- package/dist/chunks/model-with-rotation.js +1 -1
- package/dist/chunks/pie-chart-data.js +74 -68
- 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/rest-js-object-literals.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/sk_SK.js +1 -1
- package/dist/chunks/store.js +22 -13
- 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 +1592 -1559
- package/dist/components/arcgis-charts-action-bar/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-axes/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-axis/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +111 -107
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-color-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +63 -63
- package/dist/components/arcgis-charts-config-field-select/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-font-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-general/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guide/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guides/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +51 -47
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +2 -2
- package/dist/docs/api.json +2 -82
- package/dist/docs/docs.json +82 -82
- 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/dist/store.d.ts +24 -3
- package/package.json +5 -5
- package/dist/cdn/35DOK57F.js +0 -4
- package/dist/cdn/3B37QR3P.js +0 -4
- package/dist/cdn/3DA7RNJY.js +0 -4
- package/dist/cdn/3ZRCK4IC.js +0 -4
- package/dist/cdn/4KKRP2RP.js +0 -4
- package/dist/cdn/5FYUIGBI.js +0 -4
- package/dist/cdn/5H5O4VGE.js +0 -4
- package/dist/cdn/5N7TBD2B.js +0 -4
- package/dist/cdn/6ESQM7VJ.js +0 -4
- package/dist/cdn/A5VFUO5X.js +0 -4
- package/dist/cdn/AHAIODUA.js +0 -4
- package/dist/cdn/BNCIYGUY.js +0 -4
- package/dist/cdn/DHP3YSOY.js +0 -4
- package/dist/cdn/DUWTAEND.js +0 -4
- package/dist/cdn/EXVFMAUT.js +0 -4
- package/dist/cdn/F5NUFIWE.js +0 -4
- package/dist/cdn/FISKRQXW.js +0 -4
- package/dist/cdn/GSVQ6ZVK.js +0 -4
- package/dist/cdn/HMFJXRJR.js +0 -4
- package/dist/cdn/IPHAOMVD.js +0 -4
- package/dist/cdn/JUS6XSRW.js +0 -4
- package/dist/cdn/JXTAQEQJ.js +0 -4
- package/dist/cdn/K46NAK7K.js +0 -58
- package/dist/cdn/K76D3WKW.js +0 -4
- package/dist/cdn/LH6NEIUE.js +0 -4
- package/dist/cdn/LHHFMWDQ.js +0 -4
- package/dist/cdn/LILH3A6H.js +0 -4
- package/dist/cdn/MJWADCAF.js +0 -4
- package/dist/cdn/NBMNKZEZ.js +0 -4
- package/dist/cdn/NOIKL326.js +0 -4
- package/dist/cdn/OBHYEK6P.js +0 -4
- package/dist/cdn/OGUNKDKJ.js +0 -4
- package/dist/cdn/OK3PQBYT.js +0 -4
- package/dist/cdn/PAX3ETZN.js +0 -4
- package/dist/cdn/Q4LHRNFI.js +0 -4
- package/dist/cdn/R5FNA5SX.js +0 -4
- package/dist/cdn/RWQUICHT.js +0 -4
- package/dist/cdn/SAOUVNZI.js +0 -4
- package/dist/cdn/SNLY7Y2R.js +0 -4
- package/dist/cdn/ST4G6ALP.js +0 -4
- package/dist/cdn/SVXVMMAK.js +0 -4
- package/dist/cdn/SZKBCG3U.js +0 -4
- package/dist/cdn/TALLNCA4.js +0 -4
- package/dist/cdn/THTADIQM.js +0 -4
- package/dist/cdn/TZX762W2.js +0 -4
- package/dist/cdn/UIWMRHDG.js +0 -4
- package/dist/cdn/UNKXLW6W.js +0 -4
- package/dist/cdn/XLEIBCVC.js +0 -4
- package/dist/cdn/ZAK6PFTO.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/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import{A as yr,B as Pt,l as da,q as ue,r as Mt,s as ii,t as zt,u as hr,v as ai,w as Ce}from"./G3J7PGIE.js";import{b as ha,c as Ne,d as We}from"./FZGGAYGV.js";import{a as I,b as ae,c as ti,e as ri,f as er,h as rt,i as pa,k as xe,l as it,n as ca,o as Nt,q as ct,s as ua,t as fa,v as Wt,w as $e}from"./7VLZEZW3.js";import{G as ke}from"./H7X2PNIT.js";import{b as W,d as la}from"./V6YYT4N6.js";export default $arcgis.t(([{substitute:qe},Ni,Rn,jn,xd,_i,Cd,Td,Pd,Fd,Ad,Ed,qn,Wi])=>{var Ia=W((gr,wa)=>{(function(t,e){typeof gr=="object"&&typeof wa<"u"?e(gr):typeof define=="function"&&define.amd?define(["exports"],e):e(t.URI=t.URI||{})})(gr,function(t){"use strict";function e(){for(var g=arguments.length,h=Array(g),v=0;v<g;v++)h[v]=arguments[v];if(h.length>1){h[0]=h[0].slice(0,-1);for(var w=h.length-1,C=1;C<w;++C)h[C]=h[C].slice(1,-1);return h[w]=h[w].slice(1),h.join("")}else return h[0]}function i(g){return"(?:"+g+")"}function a(g){return g===void 0?"undefined":g===null?"null":Object.prototype.toString.call(g).split(" ").pop().split("]").shift().toLowerCase()}function r(g){return g.toUpperCase()}function s(g){return g!=null?g instanceof Array?g:typeof g.length!="number"||g.split||g.setInterval||g.call?[g]:Array.prototype.slice.call(g):[]}function o(g,h){var v=g;if(h)for(var w in h)v[w]=h[w];return v}function n(g){var h="[A-Za-z]",v="[\\x0D]",w="[0-9]",C="[\\x22]",_=e(w,"[A-Fa-f]"),M="[\\x0A]",J="[\\x20]",X=i(i("%[EFef]"+_+"%"+_+_+"%"+_+_)+"|"+i("%[89A-Fa-f]"+_+"%"+_+_)+"|"+i("%"+_+_)),me="[\\:\\/\\?\\#\\[\\]\\@]",H="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",oe=e(me,H),ge=g?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",ne=g?"[\\uE000-\\uF8FF]":"[]",Z=e(h,w,"[\\-\\.\\_\\~]",ge),le=i(h+e(h,w,"[\\+\\-\\.]")+"*"),re=i(i(X+"|"+e(Z,H,"[\\:]"))+"*"),xt=i(i("25[0-5]")+"|"+i("2[0-4]"+w)+"|"+i("1"+w+w)+"|"+i("[1-9]"+w)+"|"+w),De=i(i("25[0-5]")+"|"+i("2[0-4]"+w)+"|"+i("1"+w+w)+"|"+i("0?[1-9]"+w)+"|0?0?"+w),je=i(De+"\\."+De+"\\."+De+"\\."+De),ie=i(_+"{1,4}"),Le=i(i(ie+"\\:"+ie)+"|"+je),_e=i(i(ie+"\\:")+"{6}"+Le),Qe=i("\\:\\:"+i(ie+"\\:")+"{5}"+Le),Ct=i(i(ie)+"?\\:\\:"+i(ie+"\\:")+"{4}"+Le),Xe=i(i(i(ie+"\\:")+"{0,1}"+ie)+"?\\:\\:"+i(ie+"\\:")+"{3}"+Le),Jt=i(i(i(ie+"\\:")+"{0,2}"+ie)+"?\\:\\:"+i(ie+"\\:")+"{2}"+Le),cr=i(i(i(ie+"\\:")+"{0,3}"+ie)+"?\\:\\:"+ie+"\\:"+Le),ur=i(i(i(ie+"\\:")+"{0,4}"+ie)+"?\\:\\:"+Le),Rt=i(i(i(ie+"\\:")+"{0,5}"+ie)+"?\\:\\:"+ie),jt=i(i(i(ie+"\\:")+"{0,6}"+ie)+"?\\:\\:"),et=i([_e,Qe,Ct,Xe,Jt,cr,ur,Rt,jt].join("|")),_t=i(i(Z+"|"+X)+"+"),Xr=i(et+"\\%25"+_t),Tt=i(et+i("\\%25|\\%(?!"+_+"{2})")+_t),Po=i("[vV]"+_+"+\\."+e(Z,H,"[\\:]")+"+"),Fo=i("\\["+i(Tt+"|"+et+"|"+Po)+"\\]"),aa=i(i(X+"|"+e(Z,H))+"*"),Kt=i(Fo+"|"+je+"(?!"+aa+")|"+aa),Zt=i(w+"*"),sa=i(i(re+"@")+"?"+Kt+i("\\:"+Zt)+"?"),Yt=i(X+"|"+e(Z,H,"[\\:\\@]")),Ao=i(Yt+"*"),na=i(Yt+"+"),Eo=i(i(X+"|"+e(Z,H,"[\\@]"))+"+"),tt=i(i("\\/"+Ao)+"*"),qt=i("\\/"+i(na+tt)+"?"),ei=i(Eo+tt),fr=i(na+tt),Bt="(?!"+Yt+")",iu=i(tt+"|"+qt+"|"+ei+"|"+fr+"|"+Bt),kt=i(i(Yt+"|"+e("[\\/\\?]",ne))+"*"),Xt=i(i(Yt+"|[\\/\\?]")+"*"),oa=i(i("\\/\\/"+sa+tt)+"|"+qt+"|"+fr+"|"+Bt),$o=i(le+"\\:"+oa+i("\\?"+kt)+"?"+i("\\#"+Xt)+"?"),Oo=i(i("\\/\\/"+sa+tt)+"|"+qt+"|"+ei+"|"+Bt),Do=i(Oo+i("\\?"+kt)+"?"+i("\\#"+Xt)+"?"),au=i($o+"|"+Do),su=i(le+"\\:"+oa+i("\\?"+kt)+"?"),nu="^("+le+")\\:"+i(i("\\/\\/("+i("("+re+")@")+"?("+Kt+")"+i("\\:("+Zt+")")+"?)")+"?("+tt+"|"+qt+"|"+fr+"|"+Bt+")")+i("\\?("+kt+")")+"?"+i("\\#("+Xt+")")+"?$",ou="^(){0}"+i(i("\\/\\/("+i("("+re+")@")+"?("+Kt+")"+i("\\:("+Zt+")")+"?)")+"?("+tt+"|"+qt+"|"+ei+"|"+Bt+")")+i("\\?("+kt+")")+"?"+i("\\#("+Xt+")")+"?$",lu="^("+le+")\\:"+i(i("\\/\\/("+i("("+re+")@")+"?("+Kt+")"+i("\\:("+Zt+")")+"?)")+"?("+tt+"|"+qt+"|"+fr+"|"+Bt+")")+i("\\?("+kt+")")+"?$",du="^"+i("\\#("+Xt+")")+"?$",pu="^"+i("("+re+")@")+"?("+Kt+")"+i("\\:("+Zt+")")+"?$";return{NOT_SCHEME:new RegExp(e("[^]",h,w,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(e("[^\\%\\:]",Z,H),"g"),NOT_HOST:new RegExp(e("[^\\%\\[\\]\\:]",Z,H),"g"),NOT_PATH:new RegExp(e("[^\\%\\/\\:\\@]",Z,H),"g"),NOT_PATH_NOSCHEME:new RegExp(e("[^\\%\\/\\@]",Z,H),"g"),NOT_QUERY:new RegExp(e("[^\\%]",Z,H,"[\\:\\@\\/\\?]",ne),"g"),NOT_FRAGMENT:new RegExp(e("[^\\%]",Z,H,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(e("[^]",Z,H),"g"),UNRESERVED:new RegExp(Z,"g"),OTHER_CHARS:new RegExp(e("[^\\%]",Z,oe),"g"),PCT_ENCODED:new RegExp(X,"g"),IPV4ADDRESS:new RegExp("^("+je+")$"),IPV6ADDRESS:new RegExp("^\\[?("+et+")"+i(i("\\%25|\\%(?!"+_+"{2})")+"("+_t+")")+"?\\]?$")}}var d=n(!1),u=n(!0),p=function(){function g(h,v){var w=[],C=!0,_=!1,M=void 0;try{for(var J=h[Symbol.iterator](),X;!(C=(X=J.next()).done)&&(w.push(X.value),!(v&&w.length===v));C=!0);}catch(me){_=!0,M=me}finally{try{!C&&J.return&&J.return()}finally{if(_)throw M}}return w}return function(h,v){if(Array.isArray(h))return h;if(Symbol.iterator in Object(h))return g(h,v);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),c=function(g){if(Array.isArray(g)){for(var h=0,v=Array(g.length);h<g.length;h++)v[h]=g[h];return v}else return Array.from(g)},f=2147483647,l=36,y=1,b=26,m=38,S=700,T=72,x=128,P="-",F=/^xn--/,$=/[^\0-\x7E]/,q=/[\x2E\u3002\uFF0E\uFF61]/g,L={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},A=l-y,R=Math.floor,D=String.fromCharCode;function j(g){throw new RangeError(L[g])}function E(g,h){for(var v=[],w=g.length;w--;)v[w]=h(g[w]);return v}function O(g,h){var v=g.split("@"),w="";v.length>1&&(w=v[0]+"@",g=v[1]),g=g.replace(q,".");var C=g.split("."),_=E(C,h).join(".");return w+_}function B(g){for(var h=[],v=0,w=g.length;v<w;){var C=g.charCodeAt(v++);if(C>=55296&&C<=56319&&v<w){var _=g.charCodeAt(v++);(_&64512)==56320?h.push(((C&1023)<<10)+(_&1023)+65536):(h.push(C),v--)}else h.push(C)}return h}var te=function(h){return String.fromCodePoint.apply(String,c(h))},V=function(h){return h-48<10?h-22:h-65<26?h-65:h-97<26?h-97:l},G=function(h,v){return h+22+75*(h<26)-((v!=0)<<5)},z=function(h,v,w){var C=0;for(h=w?R(h/S):h>>1,h+=R(h/v);h>A*b>>1;C+=l)h=R(h/A);return R(C+(A+1)*h/(h+m))},N=function(h){var v=[],w=h.length,C=0,_=x,M=T,J=h.lastIndexOf(P);J<0&&(J=0);for(var X=0;X<J;++X)h.charCodeAt(X)>=128&&j("not-basic"),v.push(h.charCodeAt(X));for(var me=J>0?J+1:0;me<w;){for(var H=C,oe=1,ge=l;;ge+=l){me>=w&&j("invalid-input");var ne=V(h.charCodeAt(me++));(ne>=l||ne>R((f-C)/oe))&&j("overflow"),C+=ne*oe;var Z=ge<=M?y:ge>=M+b?b:ge-M;if(ne<Z)break;var le=l-Z;oe>R(f/le)&&j("overflow"),oe*=le}var re=v.length+1;M=z(C-H,re,H==0),R(C/re)>f-_&&j("overflow"),_+=R(C/re),C%=re,v.splice(C++,0,_)}return String.fromCodePoint.apply(String,v)},pe=function(h){var v=[];h=B(h);var w=h.length,C=x,_=0,M=T,J=!0,X=!1,me=void 0;try{for(var H=h[Symbol.iterator](),oe;!(J=(oe=H.next()).done);J=!0){var ge=oe.value;ge<128&&v.push(D(ge))}}catch(Tt){X=!0,me=Tt}finally{try{!J&&H.return&&H.return()}finally{if(X)throw me}}var ne=v.length,Z=ne;for(ne&&v.push(P);Z<w;){var le=f,re=!0,xt=!1,De=void 0;try{for(var je=h[Symbol.iterator](),ie;!(re=(ie=je.next()).done);re=!0){var Le=ie.value;Le>=C&&Le<le&&(le=Le)}}catch(Tt){xt=!0,De=Tt}finally{try{!re&&je.return&&je.return()}finally{if(xt)throw De}}var _e=Z+1;le-C>R((f-_)/_e)&&j("overflow"),_+=(le-C)*_e,C=le;var Qe=!0,Ct=!1,Xe=void 0;try{for(var Jt=h[Symbol.iterator](),cr;!(Qe=(cr=Jt.next()).done);Qe=!0){var ur=cr.value;if(ur<C&&++_>f&&j("overflow"),ur==C){for(var Rt=_,jt=l;;jt+=l){var et=jt<=M?y:jt>=M+b?b:jt-M;if(Rt<et)break;var _t=Rt-et,Xr=l-et;v.push(D(G(et+_t%Xr,0))),Rt=R(_t/Xr)}v.push(D(G(Rt,0))),M=z(_,_e,Z==ne),_=0,++Z}}}catch(Tt){Ct=!0,Xe=Tt}finally{try{!Qe&&Jt.return&&Jt.return()}finally{if(Ct)throw Xe}}++_,++C}return v.join("")},we=function(h){return O(h,function(v){return F.test(v)?N(v.slice(4).toLowerCase()):v})},Pe=function(h){return O(h,function(v){return $.test(v)?"xn--"+pe(v):v})},K={version:"2.1.0",ucs2:{decode:B,encode:te},decode:N,encode:pe,toASCII:Pe,toUnicode:we},he={};function be(g){var h=g.charCodeAt(0),v=void 0;return h<16?v="%0"+h.toString(16).toUpperCase():h<128?v="%"+h.toString(16).toUpperCase():h<2048?v="%"+(h>>6|192).toString(16).toUpperCase()+"%"+(h&63|128).toString(16).toUpperCase():v="%"+(h>>12|224).toString(16).toUpperCase()+"%"+(h>>6&63|128).toString(16).toUpperCase()+"%"+(h&63|128).toString(16).toUpperCase(),v}function Fe(g){for(var h="",v=0,w=g.length;v<w;){var C=parseInt(g.substr(v+1,2),16);if(C<128)h+=String.fromCharCode(C),v+=3;else if(C>=194&&C<224){if(w-v>=6){var _=parseInt(g.substr(v+4,2),16);h+=String.fromCharCode((C&31)<<6|_&63)}else h+=g.substr(v,6);v+=6}else if(C>=224){if(w-v>=9){var M=parseInt(g.substr(v+4,2),16),J=parseInt(g.substr(v+7,2),16);h+=String.fromCharCode((C&15)<<12|(M&63)<<6|J&63)}else h+=g.substr(v,9);v+=9}else h+=g.substr(v,3),v+=3}return h}function dt(g,h){function v(w){var C=Fe(w);return C.match(h.UNRESERVED)?C:w}return g.scheme&&(g.scheme=String(g.scheme).replace(h.PCT_ENCODED,v).toLowerCase().replace(h.NOT_SCHEME,"")),g.userinfo!==void 0&&(g.userinfo=String(g.userinfo).replace(h.PCT_ENCODED,v).replace(h.NOT_USERINFO,be).replace(h.PCT_ENCODED,r)),g.host!==void 0&&(g.host=String(g.host).replace(h.PCT_ENCODED,v).toLowerCase().replace(h.NOT_HOST,be).replace(h.PCT_ENCODED,r)),g.path!==void 0&&(g.path=String(g.path).replace(h.PCT_ENCODED,v).replace(g.scheme?h.NOT_PATH:h.NOT_PATH_NOSCHEME,be).replace(h.PCT_ENCODED,r)),g.query!==void 0&&(g.query=String(g.query).replace(h.PCT_ENCODED,v).replace(h.NOT_QUERY,be).replace(h.PCT_ENCODED,r)),g.fragment!==void 0&&(g.fragment=String(g.fragment).replace(h.PCT_ENCODED,v).replace(h.NOT_FRAGMENT,be).replace(h.PCT_ENCODED,r)),g}function Ze(g){return g.replace(/^0*(.*)/,"$1")||"0"}function ye(g,h){var v=g.match(h.IPV4ADDRESS)||[],w=p(v,2),C=w[1];return C?C.split(".").map(Ze).join("."):g}function ce(g,h){var v=g.match(h.IPV6ADDRESS)||[],w=p(v,3),C=w[1],_=w[2];if(C){for(var M=C.toLowerCase().split("::").reverse(),J=p(M,2),X=J[0],me=J[1],H=me?me.split(":").map(Ze):[],oe=X.split(":").map(Ze),ge=h.IPV4ADDRESS.test(oe[oe.length-1]),ne=ge?7:8,Z=oe.length-ne,le=Array(ne),re=0;re<ne;++re)le[re]=H[re]||oe[Z+re]||"";ge&&(le[ne-1]=ye(le[ne-1],h));var xt=le.reduce(function(_e,Qe,Ct){if(!Qe||Qe==="0"){var Xe=_e[_e.length-1];Xe&&Xe.index+Xe.length===Ct?Xe.length++:_e.push({index:Ct,length:1})}return _e},[]),De=xt.sort(function(_e,Qe){return Qe.length-_e.length})[0],je=void 0;if(De&&De.length>1){var ie=le.slice(0,De.index),Le=le.slice(De.index+De.length);je=ie.join(":")+"::"+Le.join(":")}else je=le.join(":");return _&&(je+="%"+_),je}else return g}var St=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,Ie="".match(/(){0}/)[1]===void 0;function Y(g){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v={},w=h.iri!==!1?u:d;h.reference==="suffix"&&(g=(h.scheme?h.scheme+":":"")+"//"+g);var C=g.match(St);if(C){Ie?(v.scheme=C[1],v.userinfo=C[3],v.host=C[4],v.port=parseInt(C[5],10),v.path=C[6]||"",v.query=C[7],v.fragment=C[8],isNaN(v.port)&&(v.port=C[5])):(v.scheme=C[1]||void 0,v.userinfo=g.indexOf("@")!==-1?C[3]:void 0,v.host=g.indexOf("//")!==-1?C[4]:void 0,v.port=parseInt(C[5],10),v.path=C[6]||"",v.query=g.indexOf("?")!==-1?C[7]:void 0,v.fragment=g.indexOf("#")!==-1?C[8]:void 0,isNaN(v.port)&&(v.port=g.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?C[4]:void 0)),v.host&&(v.host=ce(ye(v.host,w),w)),v.scheme===void 0&&v.userinfo===void 0&&v.host===void 0&&v.port===void 0&&!v.path&&v.query===void 0?v.reference="same-document":v.scheme===void 0?v.reference="relative":v.fragment===void 0?v.reference="absolute":v.reference="uri",h.reference&&h.reference!=="suffix"&&h.reference!==v.reference&&(v.error=v.error||"URI is not a "+h.reference+" reference.");var _=he[(h.scheme||v.scheme||"").toLowerCase()];if(!h.unicodeSupport&&(!_||!_.unicodeSupport)){if(v.host&&(h.domainHost||_&&_.domainHost))try{v.host=K.toASCII(v.host.replace(w.PCT_ENCODED,Fe).toLowerCase())}catch(M){v.error=v.error||"Host's domain name can not be converted to ASCII via punycode: "+M}dt(v,d)}else dt(v,w);_&&_.parse&&_.parse(v,h)}else v.error=v.error||"URI can not be parsed.";return v}function pt(g,h){var v=h.iri!==!1?u:d,w=[];return g.userinfo!==void 0&&(w.push(g.userinfo),w.push("@")),g.host!==void 0&&w.push(ce(ye(String(g.host),v),v).replace(v.IPV6ADDRESS,function(C,_,M){return"["+_+(M?"%25"+M:"")+"]"})),(typeof g.port=="number"||typeof g.port=="string")&&(w.push(":"),w.push(String(g.port))),w.length?w.join(""):void 0}var Ye=/^\.\.?\//,wt=/^\/\.(\/|$)/,It=/^\/\.\.(\/|$)/,ve=/^\/?(?:.|\n)*?(?=\/|$)/;function Re(g){for(var h=[];g.length;)if(g.match(Ye))g=g.replace(Ye,"");else if(g.match(wt))g=g.replace(wt,"/");else if(g.match(It))g=g.replace(It,"/"),h.pop();else if(g==="."||g==="..")g="";else{var v=g.match(ve);if(v){var w=v[0];g=g.slice(w.length),h.push(w)}else throw new Error("Unexpected dot segment condition")}return h.join("")}function Ee(g){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=h.iri?u:d,w=[],C=he[(h.scheme||g.scheme||"").toLowerCase()];if(C&&C.serialize&&C.serialize(g,h),g.host&&!v.IPV6ADDRESS.test(g.host)){if(h.domainHost||C&&C.domainHost)try{g.host=h.iri?K.toUnicode(g.host):K.toASCII(g.host.replace(v.PCT_ENCODED,Fe).toLowerCase())}catch(J){g.error=g.error||"Host's domain name can not be converted to "+(h.iri?"Unicode":"ASCII")+" via punycode: "+J}}dt(g,v),h.reference!=="suffix"&&g.scheme&&(w.push(g.scheme),w.push(":"));var _=pt(g,h);if(_!==void 0&&(h.reference!=="suffix"&&w.push("//"),w.push(_),g.path&&g.path.charAt(0)!=="/"&&w.push("/")),g.path!==void 0){var M=g.path;!h.absolutePath&&(!C||!C.absolutePath)&&(M=Re(M)),_===void 0&&(M=M.replace(/^\/\//,"/%2F")),w.push(M)}return g.query!==void 0&&(w.push("?"),w.push(g.query)),g.fragment!==void 0&&(w.push("#"),w.push(g.fragment)),w.join("")}function Ae(g,h){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},w=arguments[3],C={};return w||(g=Y(Ee(g,v),v),h=Y(Ee(h,v),v)),v=v||{},!v.tolerant&&h.scheme?(C.scheme=h.scheme,C.userinfo=h.userinfo,C.host=h.host,C.port=h.port,C.path=Re(h.path||""),C.query=h.query):(h.userinfo!==void 0||h.host!==void 0||h.port!==void 0?(C.userinfo=h.userinfo,C.host=h.host,C.port=h.port,C.path=Re(h.path||""),C.query=h.query):(h.path?(h.path.charAt(0)==="/"?C.path=Re(h.path):((g.userinfo!==void 0||g.host!==void 0||g.port!==void 0)&&!g.path?C.path="/"+h.path:g.path?C.path=g.path.slice(0,g.path.lastIndexOf("/")+1)+h.path:C.path=h.path,C.path=Re(C.path)),C.query=h.query):(C.path=g.path,h.query!==void 0?C.query=h.query:C.query=g.query),C.userinfo=g.userinfo,C.host=g.host,C.port=g.port),C.scheme=g.scheme),C.fragment=h.fragment,C}function Ge(g,h,v){var w=o({scheme:"null"},v);return Ee(Ae(Y(g,w),Y(h,w),w,!0),w)}function Oe(g,h){return typeof g=="string"?g=Ee(Y(g,h),h):a(g)==="object"&&(g=Y(Ee(g,h),h)),g}function pr(g,h,v){return typeof g=="string"?g=Ee(Y(g,v),v):a(g)==="object"&&(g=Ee(g,v)),typeof h=="string"?h=Ee(Y(h,v),v):a(h)==="object"&&(h=Ee(h,v)),g===h}function Zr(g,h){return g&&g.toString().replace(!h||!h.iri?d.ESCAPE:u.ESCAPE,be)}function Be(g,h){return g&&g.toString().replace(!h||!h.iri?d.PCT_ENCODED:u.PCT_ENCODED,Fe)}var Ht={scheme:"http",domainHost:!0,parse:function(h,v){return h.host||(h.error=h.error||"HTTP URIs must have a host."),h},serialize:function(h,v){var w=String(h.scheme).toLowerCase()==="https";return(h.port===(w?443:80)||h.port==="")&&(h.port=void 0),h.path||(h.path="/"),h}},Ki={scheme:"https",domainHost:Ht.domainHost,parse:Ht.parse,serialize:Ht.serialize};function Zi(g){return typeof g.secure=="boolean"?g.secure:String(g.scheme).toLowerCase()==="wss"}var Qt={scheme:"ws",domainHost:!0,parse:function(h,v){var w=h;return w.secure=Zi(w),w.resourceName=(w.path||"/")+(w.query?"?"+w.query:""),w.path=void 0,w.query=void 0,w},serialize:function(h,v){if((h.port===(Zi(h)?443:80)||h.port==="")&&(h.port=void 0),typeof h.secure=="boolean"&&(h.scheme=h.secure?"wss":"ws",h.secure=void 0),h.resourceName){var w=h.resourceName.split("?"),C=p(w,2),_=C[0],M=C[1];h.path=_&&_!=="/"?_:void 0,h.query=M,h.resourceName=void 0}return h.fragment=void 0,h}},Yi={scheme:"wss",domainHost:Qt.domainHost,parse:Qt.parse,serialize:Qt.serialize},ho={},yo=!0,Xi="[A-Za-z0-9\\-\\.\\_\\~"+(yo?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]",He="[0-9A-Fa-f]",mo=i(i("%[EFef]"+He+"%"+He+He+"%"+He+He)+"|"+i("%[89A-Fa-f]"+He+"%"+He+He)+"|"+i("%"+He+He)),go="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",bo="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",vo=e(bo,'[\\"\\\\]'),So="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",wo=new RegExp(Xi,"g"),Lt=new RegExp(mo,"g"),Io=new RegExp(e("[^]",go,"[\\.]",'[\\"]',vo),"g"),ea=new RegExp(e("[^]",Xi,So),"g"),xo=ea;function Yr(g){var h=Fe(g);return h.match(wo)?h:g}var ta={scheme:"mailto",parse:function(h,v){var w=h,C=w.to=w.path?w.path.split(","):[];if(w.path=void 0,w.query){for(var _=!1,M={},J=w.query.split("&"),X=0,me=J.length;X<me;++X){var H=J[X].split("=");switch(H[0]){case"to":for(var oe=H[1].split(","),ge=0,ne=oe.length;ge<ne;++ge)C.push(oe[ge]);break;case"subject":w.subject=Be(H[1],v);break;case"body":w.body=Be(H[1],v);break;default:_=!0,M[Be(H[0],v)]=Be(H[1],v);break}}_&&(w.headers=M)}w.query=void 0;for(var Z=0,le=C.length;Z<le;++Z){var re=C[Z].split("@");if(re[0]=Be(re[0]),v.unicodeSupport)re[1]=Be(re[1],v).toLowerCase();else try{re[1]=K.toASCII(Be(re[1],v).toLowerCase())}catch(xt){w.error=w.error||"Email address's domain name can not be converted to ASCII via punycode: "+xt}C[Z]=re.join("@")}return w},serialize:function(h,v){var w=h,C=s(h.to);if(C){for(var _=0,M=C.length;_<M;++_){var J=String(C[_]),X=J.lastIndexOf("@"),me=J.slice(0,X).replace(Lt,Yr).replace(Lt,r).replace(Io,be),H=J.slice(X+1);try{H=v.iri?K.toUnicode(H):K.toASCII(Be(H,v).toLowerCase())}catch(Z){w.error=w.error||"Email address's domain name can not be converted to "+(v.iri?"Unicode":"ASCII")+" via punycode: "+Z}C[_]=me+"@"+H}w.path=C.join(",")}var oe=h.headers=h.headers||{};h.subject&&(oe.subject=h.subject),h.body&&(oe.body=h.body);var ge=[];for(var ne in oe)oe[ne]!==ho[ne]&&ge.push(ne.replace(Lt,Yr).replace(Lt,r).replace(ea,be)+"="+oe[ne].replace(Lt,Yr).replace(Lt,r).replace(xo,be));return ge.length&&(w.query=ge.join("&")),w}},Co=/^([^\:]+)\:(.*)/,ra={scheme:"urn",parse:function(h,v){var w=h.path&&h.path.match(Co),C=h;if(w){var _=v.scheme||C.scheme||"urn",M=w[1].toLowerCase(),J=w[2],X=_+":"+(v.nid||M),me=he[X];C.nid=M,C.nss=J,C.path=void 0,me&&(C=me.parse(C,v))}else C.error=C.error||"URN can not be parsed.";return C},serialize:function(h,v){var w=v.scheme||h.scheme||"urn",C=h.nid,_=w+":"+(v.nid||C),M=he[_];M&&(h=M.serialize(h,v));var J=h,X=h.nss;return J.path=(C||v.nid)+":"+X,J}},To=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,ia={scheme:"urn:uuid",parse:function(h,v){var w=h;return w.uuid=w.nss,w.nss=void 0,!v.tolerant&&(!w.uuid||!w.uuid.match(To))&&(w.error=w.error||"UUID is not valid."),w},serialize:function(h,v){var w=h;return w.nss=(h.uuid||"").toLowerCase(),w}};he[Ht.scheme]=Ht,he[Ki.scheme]=Ki,he[Qt.scheme]=Qt,he[Yi.scheme]=Yi,he[ta.scheme]=ta,he[ra.scheme]=ra,he[ia.scheme]=ia,t.SCHEMES=he,t.pctEncChar=be,t.pctDecChars=Fe,t.parse=Y,t.removeDotSegments=Re,t.serialize=Ee,t.resolveComponents=Ae,t.resolve=Ge,t.normalize=Oe,t.equal=pr,t.escapeComponent=Zr,t.unescapeComponent=Be,Object.defineProperty(t,"__esModule",{value:!0})})});var br=W((qu,xa)=>{"use strict";xa.exports=function t(e,i){if(e===i)return!0;if(e&&i&&typeof e=="object"&&typeof i=="object"){if(e.constructor!==i.constructor)return!1;var a,r,s;if(Array.isArray(e)){if(a=e.length,a!=i.length)return!1;for(r=a;r--!==0;)if(!t(e[r],i[r]))return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===i.toString();if(s=Object.keys(e),a=s.length,a!==Object.keys(i).length)return!1;for(r=a;r--!==0;)if(!Object.prototype.hasOwnProperty.call(i,s[r]))return!1;for(r=a;r--!==0;){var o=s[r];if(!t(e[o],i[o]))return!1}return!0}return e!==e&&i!==i}});var Ta=W((Bu,Ca)=>{"use strict";Ca.exports=function(e){for(var i=0,a=e.length,r=0,s;r<a;)i++,s=e.charCodeAt(r++),s>=55296&&s<=56319&&r<a&&(s=e.charCodeAt(r),(s&64512)==56320&&r++);return i}});var Ft=W((ku,Aa)=>{"use strict";Aa.exports={copy:Bo,checkDataType:ni,checkDataTypes:ko,coerceToTypes:No,toHash:li,getProperty:di,escapeQuotes:pi,equal:br(),ucs2length:Ta(),varOccurences:zo,varReplace:Vo,schemaHasRules:Uo,schemaHasRulesExcept:Go,schemaUnknownRules:Ho,toQuotedString:oi,getPathExpr:Qo,getPath:Jo,getData:Yo,unescapeFragment:Xo,unescapeJsonPointer:ui,escapeFragment:el,escapeJsonPointer:ci};function Bo(t,e){e=e||{};for(var i in t)e[i]=t[i];return e}function ni(t,e,i,a){var r=a?" !== ":" === ",s=a?" || ":" && ",o=a?"!":"",n=a?"":"!";switch(t){case"null":return e+r+"null";case"array":return o+"Array.isArray("+e+")";case"object":return"("+o+e+s+"typeof "+e+r+'"object"'+s+n+"Array.isArray("+e+"))";case"integer":return"(typeof "+e+r+'"number"'+s+n+"("+e+" % 1)"+s+e+r+e+(i?s+o+"isFinite("+e+")":"")+")";case"number":return"(typeof "+e+r+'"'+t+'"'+(i?s+o+"isFinite("+e+")":"")+")";default:return"typeof "+e+r+'"'+t+'"'}}function ko(t,e,i){switch(t.length){case 1:return ni(t[0],e,i,!0);default:var a="",r=li(t);r.array&&r.object&&(a=r.null?"(":"(!"+e+" || ",a+="typeof "+e+' !== "object")',delete r.null,delete r.array,delete r.object),r.number&&delete r.integer;for(var s in r)a+=(a?" && ":"")+ni(s,e,i,!0);return a}}var Pa=li(["string","number","integer","boolean","null"]);function No(t,e){if(Array.isArray(e)){for(var i=[],a=0;a<e.length;a++){var r=e[a];(Pa[r]||t==="array"&&r==="array")&&(i[i.length]=r)}if(i.length)return i}else{if(Pa[e])return[e];if(t==="array"&&e==="array")return["array"]}}function li(t){for(var e={},i=0;i<t.length;i++)e[t[i]]=!0;return e}var Wo=/^[a-z$_][a-z$_0-9]*$/i,Mo=/'|\\/g;function di(t){return typeof t=="number"?"["+t+"]":Wo.test(t)?"."+t:"['"+pi(t)+"']"}function pi(t){return t.replace(Mo,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function zo(t,e){e+="[^0-9]";var i=t.match(new RegExp(e,"g"));return i?i.length:0}function Vo(t,e,i){return e+="([^0-9])",i=i.replace(/\$/g,"$$$$"),t.replace(new RegExp(e,"g"),i+"$1")}function Uo(t,e){if(typeof t=="boolean")return!t;for(var i in t)if(e[i])return!0}function Go(t,e,i){if(typeof t=="boolean")return!t&&i!="not";for(var a in t)if(a!=i&&e[a])return!0}function Ho(t,e){if(typeof t!="boolean"){for(var i in t)if(!e[i])return i}}function oi(t){return"'"+pi(t)+"'"}function Qo(t,e,i,a){var r=i?"'/' + "+e+(a?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):a?"'[' + "+e+" + ']'":"'[\\'' + "+e+" + '\\']'";return Fa(t,r)}function Jo(t,e,i){var a=oi(i?"/"+ci(e):di(e));return Fa(t,a)}var Ko=/^\/(?:[^~]|~0|~1)*$/,Zo=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function Yo(t,e,i){var a,r,s,o;if(t==="")return"rootData";if(t[0]=="/"){if(!Ko.test(t))throw new Error("Invalid JSON-pointer: "+t);r=t,s="rootData"}else{if(o=t.match(Zo),!o)throw new Error("Invalid JSON-pointer: "+t);if(a=+o[1],r=o[2],r=="#"){if(a>=e)throw new Error("Cannot access property/index "+a+" levels up, current level is "+e);return i[e-a]}if(a>e)throw new Error("Cannot access data "+a+" levels up, current level is "+e);if(s="data"+(e-a||""),!r)return s}for(var n=s,d=r.split("/"),u=0;u<d.length;u++){var p=d[u];p&&(s+=di(ui(p)),n+=" && "+s)}return n}function Fa(t,e){return t=='""'?e:(t+" + "+e).replace(/([^\\])' \+ '/g,"$1")}function Xo(t){return ui(decodeURIComponent(t))}function el(t){return encodeURIComponent(ci(t))}function ci(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}function ui(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}});var fi=W((Nu,Ea)=>{"use strict";var tl=Ft();Ea.exports=rl;function rl(t){tl.copy(t,this)}});var Oa=W((Wu,$a)=>{"use strict";var ut=$a.exports=function(t,e,i){typeof e=="function"&&(i=e,e={}),i=e.cb||i;var a=typeof i=="function"?i:i.pre||function(){},r=i.post||function(){};vr(e,a,r,t,"",t)};ut.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0};ut.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};ut.propsKeywords={definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};ut.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 vr(t,e,i,a,r,s,o,n,d,u){if(a&&typeof a=="object"&&!Array.isArray(a)){e(a,r,s,o,n,d,u);for(var p in a){var c=a[p];if(Array.isArray(c)){if(p in ut.arrayKeywords)for(var f=0;f<c.length;f++)vr(t,e,i,c[f],r+"/"+p+"/"+f,s,r,p,a,f)}else if(p in ut.propsKeywords){if(c&&typeof c=="object")for(var l in c)vr(t,e,i,c[l],r+"/"+p+"/"+il(l),s,r,p,a,l)}else(p in ut.keywords||t.allKeys&&!(p in ut.skipKeywords))&&vr(t,e,i,c,r+"/"+p,s,r,p,a)}i(a,r,s,o,n,d,u)}}function il(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}});var Tr=W((Mu,ja)=>{"use strict";var rr=Ia(),Da=br(),xr=Ft(),Sr=fi(),al=Oa();ja.exports=ht;ht.normalizeId=ft;ht.fullPath=wr;ht.url=Ir;ht.ids=dl;ht.inlineRef=hi;ht.schema=Cr;function ht(t,e,i){var a=this._refs[i];if(typeof a=="string")if(this._refs[a])a=this._refs[a];else return ht.call(this,t,e,a);if(a=a||this._schemas[i],a instanceof Sr)return hi(a.schema,this._opts.inlineRefs)?a.schema:a.validate||this._compile(a);var r=Cr.call(this,e,i),s,o,n;return r&&(s=r.schema,e=r.root,n=r.baseId),s instanceof Sr?o=s.validate||t.call(this,s.schema,e,void 0,n):s!==void 0&&(o=hi(s,this._opts.inlineRefs)?s:t.call(this,s,e,void 0,n)),o}function Cr(t,e){var i=rr.parse(e),a=Ra(i),r=wr(this._getId(t.schema));if(Object.keys(t.schema).length===0||a!==r){var s=ft(a),o=this._refs[s];if(typeof o=="string")return sl.call(this,t,o,i);if(o instanceof Sr)o.validate||this._compile(o),t=o;else if(o=this._schemas[s],o instanceof Sr){if(o.validate||this._compile(o),s==ft(e))return{schema:o,root:t,baseId:r};t=o}else return;if(!t.schema)return;r=wr(this._getId(t.schema))}return La.call(this,i,r,t.schema,t)}function sl(t,e,i){var a=Cr.call(this,t,e);if(a){var r=a.schema,s=a.baseId;t=a.root;var o=this._getId(r);return o&&(s=Ir(s,o)),La.call(this,i,s,r,t)}}var nl=xr.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function La(t,e,i,a){if(t.fragment=t.fragment||"",t.fragment.slice(0,1)=="/"){for(var r=t.fragment.split("/"),s=1;s<r.length;s++){var o=r[s];if(o){if(o=xr.unescapeFragment(o),i=i[o],i===void 0)break;var n;if(!nl[o]&&(n=this._getId(i),n&&(e=Ir(e,n)),i.$ref)){var d=Ir(e,i.$ref),u=Cr.call(this,a,d);u&&(i=u.schema,a=u.root,e=u.baseId)}}}if(i!==void 0&&i!==a.schema)return{schema:i,root:a,baseId:e}}}var ol=xr.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function hi(t,e){if(e===!1)return!1;if(e===void 0||e===!0)return yi(t);if(e)return mi(t)<=e}function yi(t){var e;if(Array.isArray(t)){for(var i=0;i<t.length;i++)if(e=t[i],typeof e=="object"&&!yi(e))return!1}else for(var a in t)if(a=="$ref"||(e=t[a],typeof e=="object"&&!yi(e)))return!1;return!0}function mi(t){var e=0,i;if(Array.isArray(t)){for(var a=0;a<t.length;a++)if(i=t[a],typeof i=="object"&&(e+=mi(i)),e==1/0)return 1/0}else for(var r in t){if(r=="$ref")return 1/0;if(ol[r])e++;else if(i=t[r],typeof i=="object"&&(e+=mi(i)+1),e==1/0)return 1/0}return e}function wr(t,e){e!==!1&&(t=ft(t));var i=rr.parse(t);return Ra(i)}function Ra(t){return rr.serialize(t).split("#")[0]+"#"}var ll=/#\/?$/;function ft(t){return t?t.replace(ll,""):""}function Ir(t,e){return e=ft(e),rr.resolve(t,e)}function dl(t){var e=ft(this._getId(t)),i={"":e},a={"":wr(e,!1)},r={},s=this;return al(t,{allKeys:!0},function(o,n,d,u,p,c,f){if(n!==""){var l=s._getId(o),y=i[u],b=a[u]+"/"+p;if(f!==void 0&&(b+="/"+(typeof f=="number"?f:xr.escapeFragment(f))),typeof l=="string"){l=y=ft(y?rr.resolve(y,l):l);var m=s._refs[l];if(typeof m=="string"&&(m=s._refs[m]),m&&m.schema){if(!Da(o,m.schema))throw new Error('id "'+l+'" resolves to more than one schema')}else if(l!=ft(b))if(l[0]=="#"){if(r[l]&&!Da(o,r[l]))throw new Error('id "'+l+'" resolves to more than one schema');r[l]=o}else s._refs[l]=b}i[n]=y,a[n]=b}}),r}});var Pr=W((zu,qa)=>{"use strict";var gi=Tr();qa.exports={Validation:_a(pl),MissingRef:_a(bi)};function pl(t){this.message="validation failed",this.errors=t,this.ajv=this.validation=!0}bi.message=function(t,e){return"can't resolve reference "+e+" from id "+t};function bi(t,e,i){this.message=i||bi.message(t,e),this.missingRef=gi.url(t,e),this.missingSchema=gi.normalizeId(gi.fullPath(this.missingRef))}function _a(t){return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}});var vi=W((Vu,Ba)=>{"use strict";Ba.exports=function(t,e){e||(e={}),typeof e=="function"&&(e={cmp:e});var i=typeof e.cycles=="boolean"?e.cycles:!1,a=e.cmp&&function(s){return function(o){return function(n,d){var u={key:n,value:o[n]},p={key:d,value:o[d]};return s(u,p)}}}(e.cmp),r=[];return function s(o){if(o&&o.toJSON&&typeof o.toJSON=="function"&&(o=o.toJSON()),o!==void 0){if(typeof o=="number")return isFinite(o)?""+o:"null";if(typeof o!="object")return JSON.stringify(o);var n,d;if(Array.isArray(o)){for(d="[",n=0;n<o.length;n++)n&&(d+=","),d+=s(o[n])||"null";return d+"]"}if(o===null)return"null";if(r.indexOf(o)!==-1){if(i)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var u=r.push(o)-1,p=Object.keys(o).sort(a&&a(o));for(d="",n=0;n<p.length;n++){var c=p[n],f=s(o[c]);f&&(d&&(d+=","),d+=JSON.stringify(c)+":"+f)}return r.splice(u,1),"{"+d+"}"}}(t)}});var Si=W((Uu,ka)=>{"use strict";ka.exports=function(e,i,a){var r="",s=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 d=e.util.schemaUnknownRules(e.schema,e.RULES.keywords);if(d){var u="unknown keyword: "+d;if(e.opts.strictKeywords==="log")e.logger.warn(u);else throw new Error(u)}}if(e.isTop&&(r+=" var validate = ",s&&(e.async=!0,r+="async "),r+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ",n&&(e.opts.sourceCode||e.opts.processCode)&&(r+=" "+("/*# sourceURL="+n+" */")+" ")),typeof e.schema=="boolean"||!(o||e.schema.$ref)){var i="false schema",p=e.level,c=e.dataLevel,f=e.schema[i],l=e.schemaPath+e.util.getProperty(i),y=e.errSchemaPath+"/"+i,F=!e.opts.allErrors,L,b="data"+(c||""),P="valid"+p;if(e.schema===!1){e.isTop?F=!0:r+=" var "+P+" = false; ";var m=m||[];m.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(L||"false schema")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(y)+" , params: {} ",e.opts.messages!==!1&&(r+=" , message: 'boolean schema is false' "),e.opts.verbose&&(r+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+b+" "),r+=" } "):r+=" {} ";var S=r;r=m.pop(),!e.compositeRule&&F?e.async?r+=" throw new ValidationError(["+S+"]); ":r+=" validate.errors = ["+S+"]; return false; ":r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else e.isTop?s?r+=" return data; ":r+=" validate.errors = null; return true; ":r+=" var "+P+" = true; ";return e.isTop&&(r+=" }; return validate; "),r}if(e.isTop){var T=e.isTop,p=e.level=0,c=e.dataLevel=0,b="data";if(e.rootId=e.resolve.fullPath(e.self._getId(e.root.schema)),e.baseId=e.baseId||e.rootId,delete e.isTop,e.dataPathArr=[""],e.schema.default!==void 0&&e.opts.useDefaults&&e.opts.strictDefaults){var x="default is ignored in the schema root";if(e.opts.strictDefaults==="log")e.logger.warn(x);else throw new Error(x)}r+=" var vErrors = null; ",r+=" var errors = 0; ",r+=" if (rootData === undefined) rootData = data; "}else{var p=e.level,c=e.dataLevel,b="data"+(c||"");if(n&&(e.baseId=e.resolve.url(e.baseId,n)),s&&!e.async)throw new Error("async schema in sync schema");r+=" var errs_"+p+" = errors;"}var P="valid"+p,F=!e.opts.allErrors,$="",q="",L,A=e.schema.type,R=Array.isArray(A);if(A&&e.opts.nullable&&e.schema.nullable===!0&&(R?A.indexOf("null")==-1&&(A=A.concat("null")):A!="null"&&(A=[A,"null"],R=!0)),R&&A.length==1&&(A=A[0],R=!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&&(r+=" "+e.RULES.all.$comment.code(e,"$comment")),A){if(e.opts.coerceTypes)var D=e.util.coerceToTypes(e.opts.coerceTypes,A);var j=e.RULES.types[A];if(D||R||j===!0||j&&!ve(j)){var l=e.schemaPath+".type",y=e.errSchemaPath+"/type",l=e.schemaPath+".type",y=e.errSchemaPath+"/type",E=R?"checkDataTypes":"checkDataType";if(r+=" if ("+e.util[E](A,b,e.opts.strictNumbers,!0)+") { ",D){var O="dataType"+p,B="coerced"+p;r+=" var "+O+" = typeof "+b+"; var "+B+" = undefined; ",e.opts.coerceTypes=="array"&&(r+=" if ("+O+" == 'object' && Array.isArray("+b+") && "+b+".length == 1) { "+b+" = "+b+"[0]; "+O+" = typeof "+b+"; if ("+e.util.checkDataType(e.schema.type,b,e.opts.strictNumbers)+") "+B+" = "+b+"; } "),r+=" if ("+B+" !== undefined) ; ";var te=D;if(te)for(var V,G=-1,z=te.length-1;G<z;)V=te[G+=1],V=="string"?r+=" else if ("+O+" == 'number' || "+O+" == 'boolean') "+B+" = '' + "+b+"; else if ("+b+" === null) "+B+" = ''; ":V=="number"||V=="integer"?(r+=" else if ("+O+" == 'boolean' || "+b+" === null || ("+O+" == 'string' && "+b+" && "+b+" == +"+b+" ",V=="integer"&&(r+=" && !("+b+" % 1)"),r+=")) "+B+" = +"+b+"; "):V=="boolean"?r+=" else if ("+b+" === 'false' || "+b+" === 0 || "+b+" === null) "+B+" = false; else if ("+b+" === 'true' || "+b+" === 1) "+B+" = true; ":V=="null"?r+=" else if ("+b+" === '' || "+b+" === 0 || "+b+" === false) "+B+" = null; ":e.opts.coerceTypes=="array"&&V=="array"&&(r+=" else if ("+O+" == 'string' || "+O+" == 'number' || "+O+" == 'boolean' || "+b+" == null) "+B+" = ["+b+"]; ");r+=" else { ";var m=m||[];m.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(L||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(y)+" , params: { type: '",R?r+=""+A.join(","):r+=""+A,r+="' } ",e.opts.messages!==!1&&(r+=" , message: 'should be ",R?r+=""+A.join(","):r+=""+A,r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+b+" "),r+=" } "):r+=" {} ";var S=r;r=m.pop(),!e.compositeRule&&F?e.async?r+=" throw new ValidationError(["+S+"]); ":r+=" validate.errors = ["+S+"]; return false; ":r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } if ("+B+" !== undefined) { ";var N=c?"data"+(c-1||""):"parentData",pe=c?e.dataPathArr[c]:"parentDataProperty";r+=" "+b+" = "+B+"; ",c||(r+="if ("+N+" !== undefined)"),r+=" "+N+"["+pe+"] = "+B+"; } "}else{var m=m||[];m.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(L||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(y)+" , params: { type: '",R?r+=""+A.join(","):r+=""+A,r+="' } ",e.opts.messages!==!1&&(r+=" , message: 'should be ",R?r+=""+A.join(","):r+=""+A,r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+b+" "),r+=" } "):r+=" {} ";var S=r;r=m.pop(),!e.compositeRule&&F?e.async?r+=" throw new ValidationError(["+S+"]); ":r+=" validate.errors = ["+S+"]; return false; ":r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}r+=" } "}}if(e.schema.$ref&&!o)r+=" "+e.RULES.all.$ref.code(e,"$ref")+" ",F&&(r+=" } if (errors === ",T?r+="0":r+="errs_"+p,r+=") { ",q+="}");else{var we=e.RULES;if(we){for(var j,Pe=-1,K=we.length-1;Pe<K;)if(j=we[Pe+=1],ve(j)){if(j.type&&(r+=" if ("+e.util.checkDataType(j.type,b,e.opts.strictNumbers)+") { "),e.opts.useDefaults){if(j.type=="object"&&e.schema.properties){var f=e.schema.properties,he=Object.keys(f),be=he;if(be)for(var Fe,dt=-1,Ze=be.length-1;dt<Ze;){Fe=be[dt+=1];var ye=f[Fe];if(ye.default!==void 0){var ce=b+e.util.getProperty(Fe);if(e.compositeRule){if(e.opts.strictDefaults){var x="default is ignored for: "+ce;if(e.opts.strictDefaults==="log")e.logger.warn(x);else throw new Error(x)}}else r+=" if ("+ce+" === undefined ",e.opts.useDefaults=="empty"&&(r+=" || "+ce+" === null || "+ce+" === '' "),r+=" ) "+ce+" = ",e.opts.useDefaults=="shared"?r+=" "+e.useDefault(ye.default)+" ":r+=" "+JSON.stringify(ye.default)+" ",r+="; "}}}else if(j.type=="array"&&Array.isArray(e.schema.items)){var St=e.schema.items;if(St){for(var ye,G=-1,Ie=St.length-1;G<Ie;)if(ye=St[G+=1],ye.default!==void 0){var ce=b+"["+G+"]";if(e.compositeRule){if(e.opts.strictDefaults){var x="default is ignored for: "+ce;if(e.opts.strictDefaults==="log")e.logger.warn(x);else throw new Error(x)}}else r+=" if ("+ce+" === undefined ",e.opts.useDefaults=="empty"&&(r+=" || "+ce+" === null || "+ce+" === '' "),r+=" ) "+ce+" = ",e.opts.useDefaults=="shared"?r+=" "+e.useDefault(ye.default)+" ":r+=" "+JSON.stringify(ye.default)+" ",r+="; "}}}}var Y=j.rules;if(Y){for(var pt,Ye=-1,wt=Y.length-1;Ye<wt;)if(pt=Y[Ye+=1],Re(pt)){var It=pt.code(e,pt.keyword,j.type);It&&(r+=" "+It+" ",F&&($+="}"))}}if(F&&(r+=" "+$+" ",$=""),j.type&&(r+=" } ",A&&A===j.type&&!D)){r+=" else { ";var l=e.schemaPath+".type",y=e.errSchemaPath+"/type",m=m||[];m.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(L||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(y)+" , params: { type: '",R?r+=""+A.join(","):r+=""+A,r+="' } ",e.opts.messages!==!1&&(r+=" , message: 'should be ",R?r+=""+A.join(","):r+=""+A,r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+b+" "),r+=" } "):r+=" {} ";var S=r;r=m.pop(),!e.compositeRule&&F?e.async?r+=" throw new ValidationError(["+S+"]); ":r+=" validate.errors = ["+S+"]; return false; ":r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } "}F&&(r+=" if (errors === ",T?r+="0":r+="errs_"+p,r+=") { ",q+="}")}}}F&&(r+=" "+q+" "),T?(s?(r+=" if (errors === 0) return data; ",r+=" else throw new ValidationError(vErrors); "):(r+=" validate.errors = vErrors; ",r+=" return errors === 0; "),r+=" }; return validate;"):r+=" var "+P+" = errors === errs_"+p+";";function ve(Ae){for(var Ge=Ae.rules,Oe=0;Oe<Ge.length;Oe++)if(Re(Ge[Oe]))return!0}function Re(Ae){return e.schema[Ae.keyword]!==void 0||Ae.implements&&Ee(Ae)}function Ee(Ae){for(var Ge=Ae.implements,Oe=0;Oe<Ge.length;Oe++)if(e.schema[Ge[Oe]]!==void 0)return!0}return r}});var Va=W((Gu,za)=>{"use strict";var Fr=Tr(),Er=Ft(),Wa=Pr(),cl=vi(),Na=Si(),ul=Er.ucs2length,fl=br(),hl=Wa.Validation;za.exports=wi;function wi(t,e,i,a){var r=this,s=this._opts,o=[void 0],n={},d=[],u={},p=[],c={},f=[];e=e||{schema:t,refVal:o,refs:n};var l=yl.call(this,t,e,a),y=this._compilations[l.index];if(l.compiling)return y.callValidate=x;var b=this._formats,m=this.RULES;try{var S=P(t,e,i,a);y.validate=S;var T=y.callValidate;return T&&(T.schema=S.schema,T.errors=null,T.refs=S.refs,T.refVal=S.refVal,T.root=S.root,T.$async=S.$async,s.sourceCode&&(T.source=S.source)),S}finally{ml.call(this,t,e,a)}function x(){var E=y.validate,O=E.apply(this,arguments);return x.errors=E.errors,O}function P(E,O,B,te){var V=!O||O&&O.schema==E;if(O.schema!=e.schema)return wi.call(r,E,O,B,te);var G=E.$async===!0,z=Na({isTop:!0,schema:E,isRoot:V,baseId:te,root:O,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:Wa.MissingRef,RULES:m,validate:Na,util:Er,resolve:Fr,resolveRef:F,usePattern:R,useDefault:D,useCustomRule:j,opts:s,formats:b,logger:r.logger,self:r});z=Ar(o,vl)+Ar(d,gl)+Ar(p,bl)+Ar(f,Sl)+z,s.processCode&&(z=s.processCode(z,E));var N;try{var pe=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",z);N=pe(r,m,b,e,o,p,f,fl,ul,hl),o[0]=N}catch(we){throw r.logger.error("Error compiling schema, function code:",z),we}return N.schema=E,N.errors=null,N.refs=n,N.refVal=o,N.root=V?N:O,G&&(N.$async=!0),s.sourceCode===!0&&(N.source={code:z,patterns:d,defaults:p}),N}function F(E,O,B){O=Fr.url(E,O);var te=n[O],V,G;if(te!==void 0)return V=o[te],G="refVal["+te+"]",A(V,G);if(!B&&e.refs){var z=e.refs[O];if(z!==void 0)return V=e.refVal[z],G=$(O,V),A(V,G)}G=$(O);var N=Fr.call(r,P,e,O);if(N===void 0){var pe=i&&i[O];pe&&(N=Fr.inlineRef(pe,s.inlineRefs)?pe:wi.call(r,pe,e,i,E))}if(N===void 0)q(O);else return L(O,N),A(N,G)}function $(E,O){var B=o.length;return o[B]=O,n[E]=B,"refVal"+B}function q(E){delete n[E]}function L(E,O){var B=n[E];o[B]=O}function A(E,O){return typeof E=="object"||typeof E=="boolean"?{code:O,schema:E,inline:!0}:{code:O,$async:E&&!!E.$async}}function R(E){var O=u[E];return O===void 0&&(O=u[E]=d.length,d[O]=E),"pattern"+O}function D(E){switch(typeof E){case"boolean":case"number":return""+E;case"string":return Er.toQuotedString(E);case"object":if(E===null)return"null";var O=cl(E),B=c[O];return B===void 0&&(B=c[O]=p.length,p[B]=E),"default"+B}}function j(E,O,B,te){if(r._opts.validateSchema!==!1){var V=E.definition.dependencies;if(V&&!V.every(function(be){return Object.prototype.hasOwnProperty.call(B,be)}))throw new Error("parent schema must have all required keywords: "+V.join(","));var G=E.definition.validateSchema;if(G){var z=G(O);if(!z){var N="keyword schema is invalid: "+r.errorsText(G.errors);if(r._opts.validateSchema=="log")r.logger.error(N);else throw new Error(N)}}}var pe=E.definition.compile,we=E.definition.inline,Pe=E.definition.macro,K;if(pe)K=pe.call(r,O,B,te);else if(Pe)K=Pe.call(r,O,B,te),s.validateSchema!==!1&&r.validateSchema(K,!0);else if(we)K=we.call(r,te,E.keyword,O,B);else if(K=E.definition.validate,!K)return;if(K===void 0)throw new Error('custom keyword "'+E.keyword+'"failed to compile');var he=f.length;return f[he]=K,{code:"customRule"+he,validate:K}}}function yl(t,e,i){var a=Ma.call(this,t,e,i);return a>=0?{index:a,compiling:!0}:(a=this._compilations.length,this._compilations[a]={schema:t,root:e,baseId:i},{index:a,compiling:!1})}function ml(t,e,i){var a=Ma.call(this,t,e,i);a>=0&&this._compilations.splice(a,1)}function Ma(t,e,i){for(var a=0;a<this._compilations.length;a++){var r=this._compilations[a];if(r.schema==t&&r.root==e&&r.baseId==i)return a}return-1}function gl(t,e){return"var pattern"+t+" = new RegExp("+Er.toQuotedString(e[t])+");"}function bl(t){return"var default"+t+" = defaults["+t+"];"}function vl(t,e){return e[t]===void 0?"":"var refVal"+t+" = refVal["+t+"];"}function Sl(t){return"var customRule"+t+" = customRules["+t+"];"}function Ar(t,e){if(!t.length)return"";for(var i="",a=0;a<t.length;a++)i+=e(a,t);return i}});var Ga=W((Hu,Ua)=>{"use strict";var $r=Ua.exports=function(){this._cache={}};$r.prototype.put=function(e,i){this._cache[e]=i};$r.prototype.get=function(e){return this._cache[e]};$r.prototype.del=function(e){delete this._cache[e]};$r.prototype.clear=function(){this._cache={}}});var as=W((Qu,is)=>{"use strict";var wl=Ft(),Il=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,xl=[0,31,28,31,30,31,30,31,31,30,31,30,31],Cl=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i,Ha=/^(?=.{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,Tl=/^(?:[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,Pl=/^(?:[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,Qa=/^(?:(?:[^\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,Ja=/^(?:(?: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,Ka=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,Za=/^(?:\/(?:[^~/]|~0|~1)*)*$/,Ya=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,Xa=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;is.exports=Or;function Or(t){return t=t=="full"?"full":"fast",wl.copy(Or[t])}Or.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":Qa,url:Ja,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:Ha,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:rs,uuid:Ka,"json-pointer":Za,"json-pointer-uri-fragment":Ya,"relative-json-pointer":Xa};Or.full={date:es,time:ts,"date-time":El,uri:Ol,"uri-reference":Pl,"uri-template":Qa,url:Ja,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:Ha,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:rs,uuid:Ka,"json-pointer":Za,"json-pointer-uri-fragment":Ya,"relative-json-pointer":Xa};function Fl(t){return t%4===0&&(t%100!==0||t%400===0)}function es(t){var e=t.match(Il);if(!e)return!1;var i=+e[1],a=+e[2],r=+e[3];return a>=1&&a<=12&&r>=1&&r<=(a==2&&Fl(i)?29:xl[a])}function ts(t,e){var i=t.match(Cl);if(!i)return!1;var a=i[1],r=i[2],s=i[3],o=i[5];return(a<=23&&r<=59&&s<=59||a==23&&r==59&&s==60)&&(!e||o)}var Al=/t|\s/i;function El(t){var e=t.split(Al);return e.length==2&&es(e[0])&&ts(e[1],!0)}var $l=/\/|:/;function Ol(t){return $l.test(t)&&Tl.test(t)}var Dl=/[^\\]\\Z/;function rs(t){if(Dl.test(t))return!1;try{return new RegExp(t),!0}catch{return!1}}});var ns=W((Ju,ss)=>{"use strict";ss.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.errSchemaPath+"/"+i,u=!e.opts.allErrors,p="data"+(o||""),c="valid"+s,f,l;if(n=="#"||n=="#/")e.isRoot?(f=e.async,l="validate"):(f=e.root.schema.$async===!0,l="root.refVal[0]");else{var y=e.resolveRef(e.baseId,n,e.isRoot);if(y===void 0){var b=e.MissingRefError.message(e.baseId,n);if(e.opts.missingRefs=="fail"){e.logger.error(b);var m=m||[];m.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '$ref' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: { ref: '"+e.util.escapeQuotes(n)+"' } ",e.opts.messages!==!1&&(r+=" , message: 'can\\'t resolve reference "+e.util.escapeQuotes(n)+"' "),e.opts.verbose&&(r+=" , schema: "+e.util.toQuotedString(n)+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),r+=" } "):r+=" {} ";var S=r;r=m.pop(),!e.compositeRule&&u?e.async?r+=" throw new ValidationError(["+S+"]); ":r+=" validate.errors = ["+S+"]; return false; ":r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u&&(r+=" if (false) { ")}else if(e.opts.missingRefs=="ignore")e.logger.warn(b),u&&(r+=" if (true) { ");else throw new e.MissingRefError(e.baseId,n,b)}else if(y.inline){var T=e.util.copy(e);T.level++;var x="valid"+T.level;T.schema=y.schema,T.schemaPath="",T.errSchemaPath=n;var P=e.validate(T).replace(/validate\.schema/g,y.code);r+=" "+P+" ",u&&(r+=" if ("+x+") { ")}else f=y.$async===!0||e.async&&y.$async!==!1,l=y.code}if(l){var m=m||[];m.push(r),r="",e.opts.passContext?r+=" "+l+".call(this, ":r+=" "+l+"( ",r+=" "+p+", (dataPath || '')",e.errorPath!='""'&&(r+=" + "+e.errorPath);var F=o?"data"+(o-1||""):"parentData",$=o?e.dataPathArr[o]:"parentDataProperty";r+=" , "+F+" , "+$+", rootData) ";var q=r;if(r=m.pop(),f){if(!e.async)throw new Error("async schema referenced by sync schema");u&&(r+=" var "+c+"; "),r+=" try { await "+q+"; ",u&&(r+=" "+c+" = true; "),r+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ",u&&(r+=" "+c+" = false; "),r+=" } ",u&&(r+=" if ("+c+") { ")}else r+=" if (!"+q+") { if (vErrors === null) vErrors = "+l+".errors; else vErrors = vErrors.concat("+l+".errors); errors = vErrors.length; } ",u&&(r+=" else { ")}return r}});var ls=W((Ku,os)=>{"use strict";os.exports=function(e,i,a){var r=" ",s=e.schema[i],o=e.schemaPath+e.util.getProperty(i),n=e.errSchemaPath+"/"+i,d=!e.opts.allErrors,u=e.util.copy(e),p="";u.level++;var c="valid"+u.level,f=u.baseId,l=!0,y=s;if(y)for(var b,m=-1,S=y.length-1;m<S;)b=y[m+=1],(e.opts.strictKeywords?typeof b=="object"&&Object.keys(b).length>0||b===!1:e.util.schemaHasRules(b,e.RULES.all))&&(l=!1,u.schema=b,u.schemaPath=o+"["+m+"]",u.errSchemaPath=n+"/"+m,r+=" "+e.validate(u)+" ",u.baseId=f,d&&(r+=" if ("+c+") { ",p+="}"));return d&&(l?r+=" if (true) { ":r+=" "+p.slice(0,-1)+" "),r}});var ps=W((Zu,ds)=>{"use strict";ds.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="valid"+s,l="errs__"+s,y=e.util.copy(e),b="";y.level++;var m="valid"+y.level,S=n.every(function(L){return e.opts.strictKeywords?typeof L=="object"&&Object.keys(L).length>0||L===!1:e.util.schemaHasRules(L,e.RULES.all)});if(S){var T=y.baseId;r+=" var "+l+" = errors; var "+f+" = false; ";var x=e.compositeRule;e.compositeRule=y.compositeRule=!0;var P=n;if(P)for(var F,$=-1,q=P.length-1;$<q;)F=P[$+=1],y.schema=F,y.schemaPath=d+"["+$+"]",y.errSchemaPath=u+"/"+$,r+=" "+e.validate(y)+" ",y.baseId=T,r+=" "+f+" = "+f+" || "+m+"; if (!"+f+") { ",b+="}";e.compositeRule=y.compositeRule=x,r+=" "+b+" if (!"+f+") { var err = ",e.createErrors!==!1?(r+=" { keyword: 'anyOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",e.opts.messages!==!1&&(r+=" , message: 'should match some schema in anyOf' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&p&&(e.async?r+=" throw new ValidationError(vErrors); ":r+=" validate.errors = vErrors; return false; "),r+=" } else { errors = "+l+"; if (vErrors !== null) { if ("+l+") vErrors.length = "+l+"; else vErrors = null; } ",e.opts.allErrors&&(r+=" } ")}else p&&(r+=" if (true) { ");return r}});var us=W((Yu,cs)=>{"use strict";cs.exports=function(e,i,a){var r=" ",s=e.schema[i],o=e.errSchemaPath+"/"+i,n=!e.opts.allErrors,d=e.util.toQuotedString(s);return e.opts.$comment===!0?r+=" console.log("+d+");":typeof e.opts.$comment=="function"&&(r+=" self._opts.$comment("+d+", "+e.util.toQuotedString(o)+", validate.root.schema);"),r}});var hs=W((Xu,fs)=>{"use strict";fs.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="valid"+s,l=e.opts.$data&&n&&n.$data,y;l?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",y="schema"+s):y=n,l||(r+=" var schema"+s+" = validate.schema"+d+";"),r+="var "+f+" = equal("+c+", schema"+s+"); if (!"+f+") { ";var b=b||[];b.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'const' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { allowedValue: schema"+s+" } ",e.opts.messages!==!1&&(r+=" , message: 'should be equal to constant' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var m=r;return r=b.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+m+"]); ":r+=" validate.errors = ["+m+"]; return false; ":r+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" }",p&&(r+=" else { "),r}});var ms=W((ef,ys)=>{"use strict";ys.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="valid"+s,l="errs__"+s,y=e.util.copy(e),b="";y.level++;var m="valid"+y.level,S="i"+s,T=y.dataLevel=e.dataLevel+1,x="data"+T,P=e.baseId,F=e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all);if(r+="var "+l+" = errors;var "+f+";",F){var $=e.compositeRule;e.compositeRule=y.compositeRule=!0,y.schema=n,y.schemaPath=d,y.errSchemaPath=u,r+=" var "+m+" = false; for (var "+S+" = 0; "+S+" < "+c+".length; "+S+"++) { ",y.errorPath=e.util.getPathExpr(e.errorPath,S,e.opts.jsonPointers,!0);var q=c+"["+S+"]";y.dataPathArr[T]=S;var L=e.validate(y);y.baseId=P,e.util.varOccurences(L,x)<2?r+=" "+e.util.varReplace(L,x,q)+" ":r+=" var "+x+" = "+q+"; "+L+" ",r+=" if ("+m+") break; } ",e.compositeRule=y.compositeRule=$,r+=" "+b+" if (!"+m+") {"}else r+=" if ("+c+".length == 0) {";var A=A||[];A.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'contains' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",e.opts.messages!==!1&&(r+=" , message: 'should contain a valid item' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var R=r;return r=A.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+R+"]); ":r+=" validate.errors = ["+R+"]; return false; ":r+=" var err = "+R+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else { ",F&&(r+=" errors = "+l+"; if (vErrors !== null) { if ("+l+") vErrors.length = "+l+"; else vErrors = null; } "),e.opts.allErrors&&(r+=" } "),r}});var bs=W((tf,gs)=>{"use strict";gs.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="errs__"+s,l=e.util.copy(e),y="";l.level++;var b="valid"+l.level,m={},S={},T=e.opts.ownProperties;for($ in n)if($!="__proto__"){var x=n[$],P=Array.isArray(x)?S:m;P[$]=x}r+="var "+f+" = errors;";var F=e.errorPath;r+="var missing"+s+";";for(var $ in S)if(P=S[$],P.length){if(r+=" if ( "+c+e.util.getProperty($)+" !== undefined ",T&&(r+=" && Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes($)+"') "),p){r+=" && ( ";var q=P;if(q)for(var L,A=-1,R=q.length-1;A<R;){L=q[A+=1],A&&(r+=" || ");var D=e.util.getProperty(L),j=c+D;r+=" ( ( "+j+" === undefined ",T&&(r+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(L)+"') "),r+=") && (missing"+s+" = "+e.util.toQuotedString(e.opts.jsonPointers?L:D)+") ) "}r+=")) { ";var E="missing"+s,O="' + "+E+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(F,E,!0):F+" + "+E);var B=B||[];B.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { property: '"+e.util.escapeQuotes($)+"', missingProperty: '"+O+"', depsCount: "+P.length+", deps: '"+e.util.escapeQuotes(P.length==1?P[0]:P.join(", "))+"' } ",e.opts.messages!==!1&&(r+=" , message: 'should have ",P.length==1?r+="property "+e.util.escapeQuotes(P[0]):r+="properties "+e.util.escapeQuotes(P.join(", ")),r+=" when property "+e.util.escapeQuotes($)+" is present' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var te=r;r=B.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+te+"]); ":r+=" validate.errors = ["+te+"]; return false; ":r+=" var err = "+te+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else{r+=" ) { ";var V=P;if(V)for(var L,G=-1,z=V.length-1;G<z;){L=V[G+=1];var D=e.util.getProperty(L),O=e.util.escapeQuotes(L),j=c+D;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(F,L,e.opts.jsonPointers)),r+=" if ( "+j+" === undefined ",T&&(r+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(L)+"') "),r+=") { var err = ",e.createErrors!==!1?(r+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { property: '"+e.util.escapeQuotes($)+"', missingProperty: '"+O+"', depsCount: "+P.length+", deps: '"+e.util.escapeQuotes(P.length==1?P[0]:P.join(", "))+"' } ",e.opts.messages!==!1&&(r+=" , message: 'should have ",P.length==1?r+="property "+e.util.escapeQuotes(P[0]):r+="properties "+e.util.escapeQuotes(P.join(", ")),r+=" when property "+e.util.escapeQuotes($)+" is present' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}r+=" } ",p&&(y+="}",r+=" else { ")}e.errorPath=F;var N=l.baseId;for(var $ in m){var x=m[$];(e.opts.strictKeywords?typeof x=="object"&&Object.keys(x).length>0||x===!1:e.util.schemaHasRules(x,e.RULES.all))&&(r+=" "+b+" = true; if ( "+c+e.util.getProperty($)+" !== undefined ",T&&(r+=" && Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes($)+"') "),r+=") { ",l.schema=x,l.schemaPath=d+e.util.getProperty($),l.errSchemaPath=u+"/"+e.util.escapeFragment($),r+=" "+e.validate(l)+" ",l.baseId=N,r+=" } ",p&&(r+=" if ("+b+") { ",y+="}"))}return p&&(r+=" "+y+" if ("+f+" == errors) {"),r}});var Ss=W((rf,vs)=>{"use strict";vs.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="valid"+s,l=e.opts.$data&&n&&n.$data,y;l?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",y="schema"+s):y=n;var b="i"+s,m="schema"+s;l||(r+=" var "+m+" = validate.schema"+d+";"),r+="var "+f+";",l&&(r+=" if (schema"+s+" === undefined) "+f+" = true; else if (!Array.isArray(schema"+s+")) "+f+" = false; else {"),r+=""+f+" = false;for (var "+b+"=0; "+b+"<"+m+".length; "+b+"++) if (equal("+c+", "+m+"["+b+"])) { "+f+" = true; break; }",l&&(r+=" } "),r+=" if (!"+f+") { ";var S=S||[];S.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'enum' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { allowedValues: schema"+s+" } ",e.opts.messages!==!1&&(r+=" , message: 'should be equal to one of the allowed values' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var T=r;return r=S.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+T+"]); ":r+=" validate.errors = ["+T+"]; return false; ":r+=" var err = "+T+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" }",p&&(r+=" else { "),r}});var Is=W((af,ws)=>{"use strict";ws.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||"");if(e.opts.format===!1)return p&&(r+=" if (true) { "),r;var f=e.opts.$data&&n&&n.$data,l;f?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n;var y=e.opts.unknownFormats,b=Array.isArray(y);if(f){var m="format"+s,S="isObject"+s,T="formatType"+s;r+=" var "+m+" = formats["+l+"]; var "+S+" = typeof "+m+" == 'object' && !("+m+" instanceof RegExp) && "+m+".validate; var "+T+" = "+S+" && "+m+".type || 'string'; if ("+S+") { ",e.async&&(r+=" var async"+s+" = "+m+".async; "),r+=" "+m+" = "+m+".validate; } if ( ",f&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'string') || "),r+=" (",y!="ignore"&&(r+=" ("+l+" && !"+m+" ",b&&(r+=" && self._opts.unknownFormats.indexOf("+l+") == -1 "),r+=") || "),r+=" ("+m+" && "+T+" == '"+a+"' && !(typeof "+m+" == 'function' ? ",e.async?r+=" (async"+s+" ? await "+m+"("+c+") : "+m+"("+c+")) ":r+=" "+m+"("+c+") ",r+=" : "+m+".test("+c+"))))) {"}else{var m=e.formats[n];if(!m){if(y=="ignore")return e.logger.warn('unknown format "'+n+'" ignored in schema at path "'+e.errSchemaPath+'"'),p&&(r+=" if (true) { "),r;if(b&&y.indexOf(n)>=0)return p&&(r+=" if (true) { "),r;throw new Error('unknown format "'+n+'" is used in schema at path "'+e.errSchemaPath+'"')}var S=typeof m=="object"&&!(m instanceof RegExp)&&m.validate,T=S&&m.type||"string";if(S){var x=m.async===!0;m=m.validate}if(T!=a)return p&&(r+=" if (true) { "),r;if(x){if(!e.async)throw new Error("async format in sync schema");var P="formats"+e.util.getProperty(n)+".validate";r+=" if (!(await "+P+"("+c+"))) { "}else{r+=" if (! ";var P="formats"+e.util.getProperty(n);S&&(P+=".validate"),typeof m=="function"?r+=" "+P+"("+c+") ":r+=" "+P+".test("+c+") ",r+=") { "}}var F=F||[];F.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'format' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { format: ",f?r+=""+l:r+=""+e.util.toQuotedString(n),r+=" } ",e.opts.messages!==!1&&(r+=` , message: 'should match format "`,f?r+="' + "+l+" + '":r+=""+e.util.escapeQuotes(n),r+=`"' `),e.opts.verbose&&(r+=" , schema: ",f?r+="validate.schema"+d:r+=""+e.util.toQuotedString(n),r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var $=r;return r=F.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+$+"]); ":r+=" validate.errors = ["+$+"]; return false; ":r+=" var err = "+$+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",p&&(r+=" else { "),r}});var Cs=W((sf,xs)=>{"use strict";xs.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="valid"+s,l="errs__"+s,y=e.util.copy(e);y.level++;var b="valid"+y.level,m=e.schema.then,S=e.schema.else,T=m!==void 0&&(e.opts.strictKeywords?typeof m=="object"&&Object.keys(m).length>0||m===!1:e.util.schemaHasRules(m,e.RULES.all)),x=S!==void 0&&(e.opts.strictKeywords?typeof S=="object"&&Object.keys(S).length>0||S===!1:e.util.schemaHasRules(S,e.RULES.all)),P=y.baseId;if(T||x){var F;y.createErrors=!1,y.schema=n,y.schemaPath=d,y.errSchemaPath=u,r+=" var "+l+" = errors; var "+f+" = true; ";var $=e.compositeRule;e.compositeRule=y.compositeRule=!0,r+=" "+e.validate(y)+" ",y.baseId=P,y.createErrors=!0,r+=" errors = "+l+"; if (vErrors !== null) { if ("+l+") vErrors.length = "+l+"; else vErrors = null; } ",e.compositeRule=y.compositeRule=$,T?(r+=" if ("+b+") { ",y.schema=e.schema.then,y.schemaPath=e.schemaPath+".then",y.errSchemaPath=e.errSchemaPath+"/then",r+=" "+e.validate(y)+" ",y.baseId=P,r+=" "+f+" = "+b+"; ",T&&x?(F="ifClause"+s,r+=" var "+F+" = 'then'; "):F="'then'",r+=" } ",x&&(r+=" else { ")):r+=" if (!"+b+") { ",x&&(y.schema=e.schema.else,y.schemaPath=e.schemaPath+".else",y.errSchemaPath=e.errSchemaPath+"/else",r+=" "+e.validate(y)+" ",y.baseId=P,r+=" "+f+" = "+b+"; ",T&&x?(F="ifClause"+s,r+=" var "+F+" = 'else'; "):F="'else'",r+=" } "),r+=" if (!"+f+") { var err = ",e.createErrors!==!1?(r+=" { keyword: 'if' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { failingKeyword: "+F+" } ",e.opts.messages!==!1&&(r+=` , message: 'should match "' + `+F+` + '" schema' `),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&p&&(e.async?r+=" throw new ValidationError(vErrors); ":r+=" validate.errors = vErrors; return false; "),r+=" } ",p&&(r+=" else { ")}else p&&(r+=" if (true) { ");return r}});var Ps=W((nf,Ts)=>{"use strict";Ts.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="valid"+s,l="errs__"+s,y=e.util.copy(e),b="";y.level++;var m="valid"+y.level,S="i"+s,T=y.dataLevel=e.dataLevel+1,x="data"+T,P=e.baseId;if(r+="var "+l+" = errors;var "+f+";",Array.isArray(n)){var F=e.schema.additionalItems;if(F===!1){r+=" "+f+" = "+c+".length <= "+n.length+"; ";var $=u;u=e.errSchemaPath+"/additionalItems",r+=" if (!"+f+") { ";var q=q||[];q.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+n.length+" } ",e.opts.messages!==!1&&(r+=" , message: 'should NOT have more than "+n.length+" items' "),e.opts.verbose&&(r+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var L=r;r=q.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+L+"]); ":r+=" validate.errors = ["+L+"]; return false; ":r+=" var err = "+L+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",u=$,p&&(b+="}",r+=" else { ")}var A=n;if(A){for(var R,D=-1,j=A.length-1;D<j;)if(R=A[D+=1],e.opts.strictKeywords?typeof R=="object"&&Object.keys(R).length>0||R===!1:e.util.schemaHasRules(R,e.RULES.all)){r+=" "+m+" = true; if ("+c+".length > "+D+") { ";var E=c+"["+D+"]";y.schema=R,y.schemaPath=d+"["+D+"]",y.errSchemaPath=u+"/"+D,y.errorPath=e.util.getPathExpr(e.errorPath,D,e.opts.jsonPointers,!0),y.dataPathArr[T]=D;var O=e.validate(y);y.baseId=P,e.util.varOccurences(O,x)<2?r+=" "+e.util.varReplace(O,x,E)+" ":r+=" var "+x+" = "+E+"; "+O+" ",r+=" } ",p&&(r+=" if ("+m+") { ",b+="}")}}if(typeof F=="object"&&(e.opts.strictKeywords?typeof F=="object"&&Object.keys(F).length>0||F===!1:e.util.schemaHasRules(F,e.RULES.all))){y.schema=F,y.schemaPath=e.schemaPath+".additionalItems",y.errSchemaPath=e.errSchemaPath+"/additionalItems",r+=" "+m+" = true; if ("+c+".length > "+n.length+") { for (var "+S+" = "+n.length+"; "+S+" < "+c+".length; "+S+"++) { ",y.errorPath=e.util.getPathExpr(e.errorPath,S,e.opts.jsonPointers,!0);var E=c+"["+S+"]";y.dataPathArr[T]=S;var O=e.validate(y);y.baseId=P,e.util.varOccurences(O,x)<2?r+=" "+e.util.varReplace(O,x,E)+" ":r+=" var "+x+" = "+E+"; "+O+" ",p&&(r+=" if (!"+m+") break; "),r+=" } } ",p&&(r+=" if ("+m+") { ",b+="}")}}else if(e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all)){y.schema=n,y.schemaPath=d,y.errSchemaPath=u,r+=" for (var "+S+" = 0; "+S+" < "+c+".length; "+S+"++) { ",y.errorPath=e.util.getPathExpr(e.errorPath,S,e.opts.jsonPointers,!0);var E=c+"["+S+"]";y.dataPathArr[T]=S;var O=e.validate(y);y.baseId=P,e.util.varOccurences(O,x)<2?r+=" "+e.util.varReplace(O,x,E)+" ":r+=" var "+x+" = "+E+"; "+O+" ",p&&(r+=" if (!"+m+") break; "),r+=" }"}return p&&(r+=" "+b+" if ("+l+" == errors) {"),r}});var Ii=W((of,Fs)=>{"use strict";Fs.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,P,c="data"+(o||""),f=e.opts.$data&&n&&n.$data,l;f?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n;var y=i=="maximum",b=y?"exclusiveMaximum":"exclusiveMinimum",m=e.schema[b],S=e.opts.$data&&m&&m.$data,T=y?"<":">",x=y?">":"<",P=void 0;if(!(f||typeof n=="number"||n===void 0))throw new Error(i+" must be number");if(!(S||m===void 0||typeof m=="number"||typeof m=="boolean"))throw new Error(b+" must be number or boolean");if(S){var F=e.util.getData(m.$data,o,e.dataPathArr),$="exclusive"+s,q="exclType"+s,L="exclIsNumber"+s,A="op"+s,R="' + "+A+" + '";r+=" var schemaExcl"+s+" = "+F+"; ",F="schemaExcl"+s,r+=" var "+$+"; var "+q+" = typeof "+F+"; if ("+q+" != 'boolean' && "+q+" != 'undefined' && "+q+" != 'number') { ";var P=b,D=D||[];D.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(P||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",e.opts.messages!==!1&&(r+=" , message: '"+b+" should be boolean' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var j=r;r=D.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+j+"]); ":r+=" validate.errors = ["+j+"]; return false; ":r+=" var err = "+j+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else if ( ",f&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),r+=" "+q+" == 'number' ? ( ("+$+" = "+l+" === undefined || "+F+" "+T+"= "+l+") ? "+c+" "+x+"= "+F+" : "+c+" "+x+" "+l+" ) : ( ("+$+" = "+F+" === true) ? "+c+" "+x+"= "+l+" : "+c+" "+x+" "+l+" ) || "+c+" !== "+c+") { var op"+s+" = "+$+" ? '"+T+"' : '"+T+"='; ",n===void 0&&(P=b,u=e.errSchemaPath+"/"+b,l=F,f=S)}else{var L=typeof m=="number",R=T;if(L&&f){var A="'"+R+"'";r+=" if ( ",f&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),r+=" ( "+l+" === undefined || "+m+" "+T+"= "+l+" ? "+c+" "+x+"= "+m+" : "+c+" "+x+" "+l+" ) || "+c+" !== "+c+") { "}else{L&&n===void 0?($=!0,P=b,u=e.errSchemaPath+"/"+b,l=m,x+="="):(L&&(l=Math[y?"min":"max"](m,n)),m===(L?l:!0)?($=!0,P=b,u=e.errSchemaPath+"/"+b,x+="="):($=!1,R+="="));var A="'"+R+"'";r+=" if ( ",f&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),r+=" "+c+" "+x+" "+l+" || "+c+" !== "+c+") { "}}P=P||i;var D=D||[];D.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(P||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { comparison: "+A+", limit: "+l+", exclusive: "+$+" } ",e.opts.messages!==!1&&(r+=" , message: 'should be "+R+" ",f?r+="' + "+l:r+=""+l+"'"),e.opts.verbose&&(r+=" , schema: ",f?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var j=r;return r=D.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+j+"]); ":r+=" validate.errors = ["+j+"]; return false; ":r+=" var err = "+j+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",p&&(r+=" else { "),r}});var xi=W((lf,As)=>{"use strict";As.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,b,c="data"+(o||""),f=e.opts.$data&&n&&n.$data,l;if(f?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n,!(f||typeof n=="number"))throw new Error(i+" must be number");var y=i=="maxItems"?">":"<";r+="if ( ",f&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),r+=" "+c+".length "+y+" "+l+") { ";var b=i,m=m||[];m.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(b||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+l+" } ",e.opts.messages!==!1&&(r+=" , message: 'should NOT have ",i=="maxItems"?r+="more":r+="fewer",r+=" than ",f?r+="' + "+l+" + '":r+=""+n,r+=" items' "),e.opts.verbose&&(r+=" , schema: ",f?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var S=r;return r=m.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+S+"]); ":r+=" validate.errors = ["+S+"]; return false; ":r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",p&&(r+=" else { "),r}});var Ci=W((df,Es)=>{"use strict";Es.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,b,c="data"+(o||""),f=e.opts.$data&&n&&n.$data,l;if(f?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n,!(f||typeof n=="number"))throw new Error(i+" must be number");var y=i=="maxLength"?">":"<";r+="if ( ",f&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),e.opts.unicode===!1?r+=" "+c+".length ":r+=" ucs2length("+c+") ",r+=" "+y+" "+l+") { ";var b=i,m=m||[];m.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(b||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+l+" } ",e.opts.messages!==!1&&(r+=" , message: 'should NOT be ",i=="maxLength"?r+="longer":r+="shorter",r+=" than ",f?r+="' + "+l+" + '":r+=""+n,r+=" characters' "),e.opts.verbose&&(r+=" , schema: ",f?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var S=r;return r=m.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+S+"]); ":r+=" validate.errors = ["+S+"]; return false; ":r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",p&&(r+=" else { "),r}});var Ti=W((pf,$s)=>{"use strict";$s.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,b,c="data"+(o||""),f=e.opts.$data&&n&&n.$data,l;if(f?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n,!(f||typeof n=="number"))throw new Error(i+" must be number");var y=i=="maxProperties"?">":"<";r+="if ( ",f&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),r+=" Object.keys("+c+").length "+y+" "+l+") { ";var b=i,m=m||[];m.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(b||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+l+" } ",e.opts.messages!==!1&&(r+=" , message: 'should NOT have ",i=="maxProperties"?r+="more":r+="fewer",r+=" than ",f?r+="' + "+l+" + '":r+=""+n,r+=" properties' "),e.opts.verbose&&(r+=" , schema: ",f?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var S=r;return r=m.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+S+"]); ":r+=" validate.errors = ["+S+"]; return false; ":r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",p&&(r+=" else { "),r}});var Ds=W((cf,Os)=>{"use strict";Os.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f=e.opts.$data&&n&&n.$data,l;if(f?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n,!(f||typeof n=="number"))throw new Error(i+" must be number");r+="var division"+s+";if (",f&&(r+=" "+l+" !== undefined && ( typeof "+l+" != 'number' || "),r+=" (division"+s+" = "+c+" / "+l+", ",e.opts.multipleOfPrecision?r+=" Math.abs(Math.round(division"+s+") - division"+s+") > 1e-"+e.opts.multipleOfPrecision+" ":r+=" division"+s+" !== parseInt(division"+s+") ",r+=" ) ",f&&(r+=" ) "),r+=" ) { ";var y=y||[];y.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { multipleOf: "+l+" } ",e.opts.messages!==!1&&(r+=" , message: 'should be multiple of ",f?r+="' + "+l:r+=""+l+"'"),e.opts.verbose&&(r+=" , schema: ",f?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var b=r;return r=y.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+b+"]); ":r+=" validate.errors = ["+b+"]; return false; ":r+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",p&&(r+=" else { "),r}});var Rs=W((uf,Ls)=>{"use strict";Ls.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="errs__"+s,l=e.util.copy(e);l.level++;var y="valid"+l.level;if(e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all)){l.schema=n,l.schemaPath=d,l.errSchemaPath=u,r+=" var "+f+" = errors; ";var b=e.compositeRule;e.compositeRule=l.compositeRule=!0,l.createErrors=!1;var m;l.opts.allErrors&&(m=l.opts.allErrors,l.opts.allErrors=!1),r+=" "+e.validate(l)+" ",l.createErrors=!0,m&&(l.opts.allErrors=m),e.compositeRule=l.compositeRule=b,r+=" if ("+y+") { ";var S=S||[];S.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",e.opts.messages!==!1&&(r+=" , message: 'should NOT be valid' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var T=r;r=S.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+T+"]); ":r+=" validate.errors = ["+T+"]; return false; ":r+=" var err = "+T+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else { errors = "+f+"; if (vErrors !== null) { if ("+f+") vErrors.length = "+f+"; else vErrors = null; } ",e.opts.allErrors&&(r+=" } ")}else r+=" var err = ",e.createErrors!==!1?(r+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",e.opts.messages!==!1&&(r+=" , message: 'should NOT be valid' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",p&&(r+=" if (false) { ");return r}});var _s=W((ff,js)=>{"use strict";js.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="valid"+s,l="errs__"+s,y=e.util.copy(e),b="";y.level++;var m="valid"+y.level,S=y.baseId,T="prevValid"+s,x="passingSchemas"+s;r+="var "+l+" = errors , "+T+" = false , "+f+" = false , "+x+" = null; ";var P=e.compositeRule;e.compositeRule=y.compositeRule=!0;var F=n;if(F)for(var $,q=-1,L=F.length-1;q<L;)$=F[q+=1],(e.opts.strictKeywords?typeof $=="object"&&Object.keys($).length>0||$===!1:e.util.schemaHasRules($,e.RULES.all))?(y.schema=$,y.schemaPath=d+"["+q+"]",y.errSchemaPath=u+"/"+q,r+=" "+e.validate(y)+" ",y.baseId=S):r+=" var "+m+" = true; ",q&&(r+=" if ("+m+" && "+T+") { "+f+" = false; "+x+" = ["+x+", "+q+"]; } else { ",b+="}"),r+=" if ("+m+") { "+f+" = "+T+" = true; "+x+" = "+q+"; }";return e.compositeRule=y.compositeRule=P,r+=""+b+"if (!"+f+") { var err = ",e.createErrors!==!1?(r+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { passingSchemas: "+x+" } ",e.opts.messages!==!1&&(r+=" , message: 'should match exactly one schema in oneOf' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&p&&(e.async?r+=" throw new ValidationError(vErrors); ":r+=" validate.errors = vErrors; return false; "),r+="} else { errors = "+l+"; if (vErrors !== null) { if ("+l+") vErrors.length = "+l+"; else vErrors = null; }",e.opts.allErrors&&(r+=" } "),r}});var Bs=W((hf,qs)=>{"use strict";qs.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f=e.opts.$data&&n&&n.$data,l;f?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n;var y=f?"(new RegExp("+l+"))":e.usePattern(n);r+="if ( ",f&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'string') || "),r+=" !"+y+".test("+c+") ) { ";var b=b||[];b.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'pattern' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { pattern: ",f?r+=""+l:r+=""+e.util.toQuotedString(n),r+=" } ",e.opts.messages!==!1&&(r+=` , message: 'should match pattern "`,f?r+="' + "+l+" + '":r+=""+e.util.escapeQuotes(n),r+=`"' `),e.opts.verbose&&(r+=" , schema: ",f?r+="validate.schema"+d:r+=""+e.util.toQuotedString(n),r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var m=r;return r=b.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+m+"]); ":r+=" validate.errors = ["+m+"]; return false; ":r+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",p&&(r+=" else { "),r}});var Ns=W((yf,ks)=>{"use strict";ks.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="errs__"+s,l=e.util.copy(e),y="";l.level++;var b="valid"+l.level,m="key"+s,S="idx"+s,T=l.dataLevel=e.dataLevel+1,x="data"+T,P="dataProperties"+s,F=Object.keys(n||{}).filter(G),$=e.schema.patternProperties||{},q=Object.keys($).filter(G),L=e.schema.additionalProperties,A=F.length||q.length,R=L===!1,D=typeof L=="object"&&Object.keys(L).length,j=e.opts.removeAdditional,E=R||D||j,O=e.opts.ownProperties,B=e.baseId,te=e.schema.required;if(te&&!(e.opts.$data&&te.$data)&&te.length<e.opts.loopRequired)var V=e.util.toHash(te);function G(Be){return Be!=="__proto__"}if(r+="var "+f+" = errors;var "+b+" = true;",O&&(r+=" var "+P+" = undefined;"),E){if(O?r+=" "+P+" = "+P+" || Object.keys("+c+"); for (var "+S+"=0; "+S+"<"+P+".length; "+S+"++) { var "+m+" = "+P+"["+S+"]; ":r+=" for (var "+m+" in "+c+") { ",A){if(r+=" var isAdditional"+s+" = !(false ",F.length)if(F.length>8)r+=" || validate.schema"+d+".hasOwnProperty("+m+") ";else{var z=F;if(z)for(var N,pe=-1,we=z.length-1;pe<we;)N=z[pe+=1],r+=" || "+m+" == "+e.util.toQuotedString(N)+" "}if(q.length){var Pe=q;if(Pe)for(var K,he=-1,be=Pe.length-1;he<be;)K=Pe[he+=1],r+=" || "+e.usePattern(K)+".test("+m+") "}r+=" ); if (isAdditional"+s+") { "}if(j=="all")r+=" delete "+c+"["+m+"]; ";else{var Fe=e.errorPath,dt="' + "+m+" + '";if(e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers)),R)if(j)r+=" delete "+c+"["+m+"]; ";else{r+=" "+b+" = false; ";var Ze=u;u=e.errSchemaPath+"/additionalProperties";var ye=ye||[];ye.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'additionalProperties' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { additionalProperty: '"+dt+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is an invalid additional property":r+="should NOT have additional properties",r+="' "),e.opts.verbose&&(r+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var ce=r;r=ye.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+ce+"]); ":r+=" validate.errors = ["+ce+"]; return false; ":r+=" var err = "+ce+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u=Ze,p&&(r+=" break; ")}else if(D)if(j=="failing"){r+=" var "+f+" = errors; ";var St=e.compositeRule;e.compositeRule=l.compositeRule=!0,l.schema=L,l.schemaPath=e.schemaPath+".additionalProperties",l.errSchemaPath=e.errSchemaPath+"/additionalProperties",l.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers);var Ie=c+"["+m+"]";l.dataPathArr[T]=m;var Y=e.validate(l);l.baseId=B,e.util.varOccurences(Y,x)<2?r+=" "+e.util.varReplace(Y,x,Ie)+" ":r+=" var "+x+" = "+Ie+"; "+Y+" ",r+=" if (!"+b+") { errors = "+f+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+c+"["+m+"]; } ",e.compositeRule=l.compositeRule=St}else{l.schema=L,l.schemaPath=e.schemaPath+".additionalProperties",l.errSchemaPath=e.errSchemaPath+"/additionalProperties",l.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers);var Ie=c+"["+m+"]";l.dataPathArr[T]=m;var Y=e.validate(l);l.baseId=B,e.util.varOccurences(Y,x)<2?r+=" "+e.util.varReplace(Y,x,Ie)+" ":r+=" var "+x+" = "+Ie+"; "+Y+" ",p&&(r+=" if (!"+b+") break; ")}e.errorPath=Fe}A&&(r+=" } "),r+=" } ",p&&(r+=" if ("+b+") { ",y+="}")}var pt=e.opts.useDefaults&&!e.compositeRule;if(F.length){var Ye=F;if(Ye)for(var N,wt=-1,It=Ye.length-1;wt<It;){N=Ye[wt+=1];var ve=n[N];if(e.opts.strictKeywords?typeof ve=="object"&&Object.keys(ve).length>0||ve===!1:e.util.schemaHasRules(ve,e.RULES.all)){var Re=e.util.getProperty(N),Ie=c+Re,Ee=pt&&ve.default!==void 0;l.schema=ve,l.schemaPath=d+Re,l.errSchemaPath=u+"/"+e.util.escapeFragment(N),l.errorPath=e.util.getPath(e.errorPath,N,e.opts.jsonPointers),l.dataPathArr[T]=e.util.toQuotedString(N);var Y=e.validate(l);if(l.baseId=B,e.util.varOccurences(Y,x)<2){Y=e.util.varReplace(Y,x,Ie);var Ae=Ie}else{var Ae=x;r+=" var "+x+" = "+Ie+"; "}if(Ee)r+=" "+Y+" ";else{if(V&&V[N]){r+=" if ( "+Ae+" === undefined ",O&&(r+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(N)+"') "),r+=") { "+b+" = false; ";var Fe=e.errorPath,Ze=u,Ge=e.util.escapeQuotes(N);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(Fe,N,e.opts.jsonPointers)),u=e.errSchemaPath+"/required";var ye=ye||[];ye.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+Ge+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+Ge+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var ce=r;r=ye.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+ce+"]); ":r+=" validate.errors = ["+ce+"]; return false; ":r+=" var err = "+ce+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u=Ze,e.errorPath=Fe,r+=" } else { "}else p?(r+=" if ( "+Ae+" === undefined ",O&&(r+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(N)+"') "),r+=") { "+b+" = true; } else { "):(r+=" if ("+Ae+" !== undefined ",O&&(r+=" && Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(N)+"') "),r+=" ) { ");r+=" "+Y+" } "}}p&&(r+=" if ("+b+") { ",y+="}")}}if(q.length){var Oe=q;if(Oe)for(var K,pr=-1,Zr=Oe.length-1;pr<Zr;){K=Oe[pr+=1];var ve=$[K];if(e.opts.strictKeywords?typeof ve=="object"&&Object.keys(ve).length>0||ve===!1:e.util.schemaHasRules(ve,e.RULES.all)){l.schema=ve,l.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(K),l.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(K),O?r+=" "+P+" = "+P+" || Object.keys("+c+"); for (var "+S+"=0; "+S+"<"+P+".length; "+S+"++) { var "+m+" = "+P+"["+S+"]; ":r+=" for (var "+m+" in "+c+") { ",r+=" if ("+e.usePattern(K)+".test("+m+")) { ",l.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers);var Ie=c+"["+m+"]";l.dataPathArr[T]=m;var Y=e.validate(l);l.baseId=B,e.util.varOccurences(Y,x)<2?r+=" "+e.util.varReplace(Y,x,Ie)+" ":r+=" var "+x+" = "+Ie+"; "+Y+" ",p&&(r+=" if (!"+b+") break; "),r+=" } ",p&&(r+=" else "+b+" = true; "),r+=" } ",p&&(r+=" if ("+b+") { ",y+="}")}}}return p&&(r+=" "+y+" if ("+f+" == errors) {"),r}});var Ms=W((mf,Ws)=>{"use strict";Ws.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="errs__"+s,l=e.util.copy(e),y="";l.level++;var b="valid"+l.level;if(r+="var "+f+" = errors;",e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all)){l.schema=n,l.schemaPath=d,l.errSchemaPath=u;var m="key"+s,S="idx"+s,T="i"+s,x="' + "+m+" + '",P=l.dataLevel=e.dataLevel+1,F="data"+P,$="dataProperties"+s,q=e.opts.ownProperties,L=e.baseId;q&&(r+=" var "+$+" = undefined; "),q?r+=" "+$+" = "+$+" || Object.keys("+c+"); for (var "+S+"=0; "+S+"<"+$+".length; "+S+"++) { var "+m+" = "+$+"["+S+"]; ":r+=" for (var "+m+" in "+c+") { ",r+=" var startErrs"+s+" = errors; ";var A=m,R=e.compositeRule;e.compositeRule=l.compositeRule=!0;var D=e.validate(l);l.baseId=L,e.util.varOccurences(D,F)<2?r+=" "+e.util.varReplace(D,F,A)+" ":r+=" var "+F+" = "+A+"; "+D+" ",e.compositeRule=l.compositeRule=R,r+=" if (!"+b+") { for (var "+T+"=startErrs"+s+"; "+T+"<errors; "+T+"++) { vErrors["+T+"].propertyName = "+m+"; } var err = ",e.createErrors!==!1?(r+=" { keyword: 'propertyNames' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { propertyName: '"+x+"' } ",e.opts.messages!==!1&&(r+=" , message: 'property name \\'"+x+"\\' is invalid' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&p&&(e.async?r+=" throw new ValidationError(vErrors); ":r+=" validate.errors = vErrors; return false; "),p&&(r+=" break; "),r+=" } }"}return p&&(r+=" "+y+" if ("+f+" == errors) {"),r}});var Vs=W((gf,zs)=>{"use strict";zs.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="valid"+s,l=e.opts.$data&&n&&n.$data,y;l?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",y="schema"+s):y=n;var b="schema"+s;if(!l)if(n.length<e.opts.loopRequired&&e.schema.properties&&Object.keys(e.schema.properties).length){var m=[],S=n;if(S)for(var T,x=-1,P=S.length-1;x<P;){T=S[x+=1];var F=e.schema.properties[T];F&&(e.opts.strictKeywords?typeof F=="object"&&Object.keys(F).length>0||F===!1:e.util.schemaHasRules(F,e.RULES.all))||(m[m.length]=T)}}else var m=n;if(l||m.length){var $=e.errorPath,q=l||m.length>=e.opts.loopRequired,L=e.opts.ownProperties;if(p)if(r+=" var missing"+s+"; ",q){l||(r+=" var "+b+" = validate.schema"+d+"; ");var A="i"+s,R="schema"+s+"["+A+"]",D="' + "+R+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr($,R,e.opts.jsonPointers)),r+=" var "+f+" = true; ",l&&(r+=" if (schema"+s+" === undefined) "+f+" = true; else if (!Array.isArray(schema"+s+")) "+f+" = false; else {"),r+=" for (var "+A+" = 0; "+A+" < "+b+".length; "+A+"++) { "+f+" = "+c+"["+b+"["+A+"]] !== undefined ",L&&(r+=" && Object.prototype.hasOwnProperty.call("+c+", "+b+"["+A+"]) "),r+="; if (!"+f+") break; } ",l&&(r+=" } "),r+=" if (!"+f+") { ";var j=j||[];j.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+D+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+D+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var E=r;r=j.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+E+"]); ":r+=" validate.errors = ["+E+"]; return false; ":r+=" var err = "+E+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else { "}else{r+=" if ( ";var O=m;if(O)for(var B,A=-1,te=O.length-1;A<te;){B=O[A+=1],A&&(r+=" || ");var V=e.util.getProperty(B),G=c+V;r+=" ( ( "+G+" === undefined ",L&&(r+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(B)+"') "),r+=") && (missing"+s+" = "+e.util.toQuotedString(e.opts.jsonPointers?B:V)+") ) "}r+=") { ";var R="missing"+s,D="' + "+R+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr($,R,!0):$+" + "+R);var j=j||[];j.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+D+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+D+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var E=r;r=j.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+E+"]); ":r+=" validate.errors = ["+E+"]; return false; ":r+=" var err = "+E+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else { "}else if(q){l||(r+=" var "+b+" = validate.schema"+d+"; ");var A="i"+s,R="schema"+s+"["+A+"]",D="' + "+R+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr($,R,e.opts.jsonPointers)),l&&(r+=" if ("+b+" && !Array.isArray("+b+")) { var err = ",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+D+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+D+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if ("+b+" !== undefined) { "),r+=" for (var "+A+" = 0; "+A+" < "+b+".length; "+A+"++) { if ("+c+"["+b+"["+A+"]] === undefined ",L&&(r+=" || ! Object.prototype.hasOwnProperty.call("+c+", "+b+"["+A+"]) "),r+=") { var err = ",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+D+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+D+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ",l&&(r+=" } ")}else{var z=m;if(z)for(var B,N=-1,pe=z.length-1;N<pe;){B=z[N+=1];var V=e.util.getProperty(B),D=e.util.escapeQuotes(B),G=c+V;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath($,B,e.opts.jsonPointers)),r+=" if ( "+G+" === undefined ",L&&(r+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(B)+"') "),r+=") { var err = ",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+D+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+D+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}e.errorPath=$}else p&&(r+=" if (true) {");return r}});var Gs=W((bf,Us)=>{"use strict";Us.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="valid"+s,l=e.opts.$data&&n&&n.$data,y;if(l?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",y="schema"+s):y=n,(n||l)&&e.opts.uniqueItems!==!1){l&&(r+=" var "+f+"; if ("+y+" === false || "+y+" === undefined) "+f+" = true; else if (typeof "+y+" != 'boolean') "+f+" = false; else { "),r+=" var i = "+c+".length , "+f+" = true , j; if (i > 1) { ";var b=e.schema.items&&e.schema.items.type,m=Array.isArray(b);if(!b||b=="object"||b=="array"||m&&(b.indexOf("object")>=0||b.indexOf("array")>=0))r+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+c+"[i], "+c+"[j])) { "+f+" = false; break outer; } } } ";else{r+=" var itemIndices = {}, item; for (;i--;) { var item = "+c+"[i]; ";var S="checkDataType"+(m?"s":"");r+=" if ("+e.util[S](b,"item",e.opts.strictNumbers,!0)+") continue; ",m&&(r+=` if (typeof item == 'string') item = '"' + item; `),r+=" if (typeof itemIndices[item] == 'number') { "+f+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}r+=" } ",l&&(r+=" } "),r+=" if (!"+f+") { ";var T=T||[];T.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { i: i, j: j } ",e.opts.messages!==!1&&(r+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),e.opts.verbose&&(r+=" , schema: ",l?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var x=r;r=T.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+x+"]); ":r+=" validate.errors = ["+x+"]; return false; ":r+=" var err = "+x+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",p&&(r+=" else { ")}else p&&(r+=" if (true) { ");return r}});var Qs=W((vf,Hs)=>{"use strict";Hs.exports={$ref:ns(),allOf:ls(),anyOf:ps(),$comment:us(),const:hs(),contains:ms(),dependencies:bs(),enum:Ss(),format:Is(),if:Cs(),items:Ps(),maximum:Ii(),minimum:Ii(),maxItems:xi(),minItems:xi(),maxLength:Ci(),minLength:Ci(),maxProperties:Ti(),minProperties:Ti(),multipleOf:Ds(),not:Rs(),oneOf:_s(),pattern:Bs(),properties:Ns(),propertyNames:Ms(),required:Vs(),uniqueItems:Gs(),validate:Si()}});var Zs=W((Sf,Ks)=>{"use strict";var Js=Qs(),Pi=Ft().toHash;Ks.exports=function(){var e=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}],i=["type","$comment"],a=["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"],r=["number","integer","string","array","object","boolean","null"];return e.all=Pi(i),e.types=Pi(r),e.forEach(function(s){s.rules=s.rules.map(function(o){var n;if(typeof o=="object"){var d=Object.keys(o)[0];n=o[d],o=d,n.forEach(function(p){i.push(p),e.all[p]=!0})}i.push(o);var u=e.all[o]={keyword:o,code:Js[o],implements:n};return u}),e.all.$comment={keyword:"$comment",code:Js.$comment},s.type&&(e.types[s.type]=s)}),e.keywords=Pi(i.concat(a)),e.custom={},e}});var en=W((wf,Xs)=>{"use strict";var Ys=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];Xs.exports=function(t,e){for(var i=0;i<e.length;i++){t=JSON.parse(JSON.stringify(t));var a=e[i].split("/"),r=t,s;for(s=1;s<a.length;s++)r=r[a[s]];for(s=0;s<Ys.length;s++){var o=Ys[s],n=r[o];n&&(r[o]={anyOf:[n,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]})}}return t}});var an=W((If,rn)=>{"use strict";var Ll=Pr().MissingRef;rn.exports=tn;function tn(t,e,i){var a=this;if(typeof this._opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");typeof e=="function"&&(i=e,e=void 0);var r=s(t).then(function(){var n=a._addSchema(t,void 0,e);return n.validate||o(n)});return i&&r.then(function(n){i(null,n)},i),r;function s(n){var d=n.$schema;return d&&!a.getSchema(d)?tn.call(a,{$ref:d},!0):Promise.resolve()}function o(n){try{return a._compile(n)}catch(u){if(u instanceof Ll)return d(u);throw u}function d(u){var p=u.missingSchema;if(l(p))throw new Error("Schema "+p+" is loaded but "+u.missingRef+" cannot be resolved");var c=a._loadingSchemas[p];return c||(c=a._loadingSchemas[p]=a._opts.loadSchema(p),c.then(f,f)),c.then(function(y){if(!l(p))return s(y).then(function(){l(p)||a.addSchema(y,p,void 0,e)})}).then(function(){return o(n)});function f(){delete a._loadingSchemas[p]}function l(y){return a._refs[y]||a._schemas[y]}}}}});var nn=W((xf,sn)=>{"use strict";sn.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c,f="data"+(o||""),l="valid"+s,y="errs__"+s,b=e.opts.$data&&n&&n.$data,m;b?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",m="schema"+s):m=n;var S=this,T="definition"+s,x=S.definition,P="",F,$,q,L,A;if(b&&x.$data){A="keywordValidate"+s;var R=x.validateSchema;r+=" var "+T+" = RULES.custom['"+i+"'].definition; var "+A+" = "+T+".validate;"}else{if(L=e.useCustomRule(S,n,e.schema,e),!L)return;m="validate.schema"+d,A=L.code,F=x.compile,$=x.inline,q=x.macro}var D=A+".errors",j="i"+s,E="ruleErr"+s,O=x.async;if(O&&!e.async)throw new Error("async keyword in sync schema");if($||q||(r+=""+D+" = null;"),r+="var "+y+" = errors;var "+l+";",b&&x.$data&&(P+="}",r+=" if ("+m+" === undefined) { "+l+" = true; } else { ",R&&(P+="}",r+=" "+l+" = "+T+".validateSchema("+m+"); if ("+l+") { ")),$)x.statements?r+=" "+L.validate+" ":r+=" "+l+" = "+L.validate+"; ";else if(q){var B=e.util.copy(e),P="";B.level++;var te="valid"+B.level;B.schema=L.validate,B.schemaPath="";var V=e.compositeRule;e.compositeRule=B.compositeRule=!0;var G=e.validate(B).replace(/validate\.schema/g,A);e.compositeRule=B.compositeRule=V,r+=" "+G}else{var z=z||[];z.push(r),r="",r+=" "+A+".call( ",e.opts.passContext?r+="this":r+="self",F||x.schema===!1?r+=" , "+f+" ":r+=" , "+m+" , "+f+" , validate.schema"+e.schemaPath+" ",r+=" , (dataPath || '')",e.errorPath!='""'&&(r+=" + "+e.errorPath);var N=o?"data"+(o-1||""):"parentData",pe=o?e.dataPathArr[o]:"parentDataProperty";r+=" , "+N+" , "+pe+" , rootData ) ";var we=r;r=z.pop(),x.errors===!1?(r+=" "+l+" = ",O&&(r+="await "),r+=""+we+"; "):O?(D="customErrors"+s,r+=" var "+D+" = null; try { "+l+" = await "+we+"; } catch (e) { "+l+" = false; if (e instanceof ValidationError) "+D+" = e.errors; else throw e; } "):r+=" "+D+" = null; "+l+" = "+we+"; "}if(x.modifying&&(r+=" if ("+N+") "+f+" = "+N+"["+pe+"];"),r+=""+P,x.valid)p&&(r+=" if (true) { ");else{r+=" if ( ",x.valid===void 0?(r+=" !",q?r+=""+te:r+=""+l):r+=" "+!x.valid+" ",r+=") { ",c=S.keyword;var z=z||[];z.push(r),r="";var z=z||[];z.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(c||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { keyword: '"+S.keyword+"' } ",e.opts.messages!==!1&&(r+=` , message: 'should pass "`+S.keyword+`" keyword validation' `),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),r+=" } "):r+=" {} ";var Pe=r;r=z.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+Pe+"]); ":r+=" validate.errors = ["+Pe+"]; return false; ":r+=" var err = "+Pe+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";var K=r;r=z.pop(),$?x.errors?x.errors!="full"&&(r+=" for (var "+j+"="+y+"; "+j+"<errors; "+j+"++) { var "+E+" = vErrors["+j+"]; if ("+E+".dataPath === undefined) "+E+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+E+".schemaPath === undefined) { "+E+'.schemaPath = "'+u+'"; } ',e.opts.verbose&&(r+=" "+E+".schema = "+m+"; "+E+".data = "+f+"; "),r+=" } "):x.errors===!1?r+=" "+K+" ":(r+=" if ("+y+" == errors) { "+K+" } else { for (var "+j+"="+y+"; "+j+"<errors; "+j+"++) { var "+E+" = vErrors["+j+"]; if ("+E+".dataPath === undefined) "+E+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+E+".schemaPath === undefined) { "+E+'.schemaPath = "'+u+'"; } ',e.opts.verbose&&(r+=" "+E+".schema = "+m+"; "+E+".data = "+f+"; "),r+=" } } "):q?(r+=" var err = ",e.createErrors!==!1?(r+=" { keyword: '"+(c||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { keyword: '"+S.keyword+"' } ",e.opts.messages!==!1&&(r+=` , message: 'should pass "`+S.keyword+`" keyword validation' `),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&p&&(e.async?r+=" throw new ValidationError(vErrors); ":r+=" validate.errors = vErrors; return false; ")):x.errors===!1?r+=" "+K+" ":(r+=" if (Array.isArray("+D+")) { if (vErrors === null) vErrors = "+D+"; else vErrors = vErrors.concat("+D+"); errors = vErrors.length; for (var "+j+"="+y+"; "+j+"<errors; "+j+"++) { var "+E+" = vErrors["+j+"]; if ("+E+".dataPath === undefined) "+E+".dataPath = (dataPath || '') + "+e.errorPath+"; "+E+'.schemaPath = "'+u+'"; ',e.opts.verbose&&(r+=" "+E+".schema = "+m+"; "+E+".data = "+f+"; "),r+=" } } else { "+K+" } "),r+=" } ",p&&(r+=" else { ")}return r}});var Fi=W((Cf,Rl)=>{Rl.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://json-schema.org/draft-07/schema#",title:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0}});var dn=W((Tf,ln)=>{"use strict";var on=Fi();ln.exports={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:on.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:on.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}}});var cn=W((Pf,pn)=>{"use strict";var jl=/^[a-z_$][a-z0-9_$-]*$/i,_l=nn(),ql=dn();pn.exports={add:Bl,get:kl,remove:Nl,validate:Ai};function Bl(t,e){var i=this.RULES;if(i.keywords[t])throw new Error("Keyword "+t+" is already defined");if(!jl.test(t))throw new Error("Keyword "+t+" is not a valid identifier");if(e){this.validateKeyword(e,!0);var a=e.type;if(Array.isArray(a))for(var r=0;r<a.length;r++)o(t,a[r],e);else o(t,a,e);var s=e.metaSchema;s&&(e.$data&&this._opts.$data&&(s={anyOf:[s,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]}),e.validateSchema=this.compile(s,!0))}i.keywords[t]=i.all[t]=!0;function o(n,d,u){for(var p,c=0;c<i.length;c++){var f=i[c];if(f.type==d){p=f;break}}p||(p={type:d,rules:[]},i.push(p));var l={keyword:n,definition:u,custom:!0,code:_l,implements:u.implements};p.rules.push(l),i.custom[n]=l}return this}function kl(t){var e=this.RULES.custom[t];return e?e.definition:this.RULES.keywords[t]||!1}function Nl(t){var e=this.RULES;delete e.keywords[t],delete e.all[t],delete e.custom[t];for(var i=0;i<e.length;i++)for(var a=e[i].rules,r=0;r<a.length;r++)if(a[r].keyword==t){a.splice(r,1);break}return this}function Ai(t,e){Ai.errors=null;var i=this._validateKeyword=this._validateKeyword||this.compile(ql,!0);if(i(t))return!0;if(Ai.errors=i.errors,e)throw new Error("custom keyword definition is invalid: "+this.errorsText(i.errors));return!1}});var un=W((Ff,Wl)=>{Wl.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",description:"Meta-schema for $data reference (JSON Schema extension proposal)",type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:!1}});var In=W((Af,wn)=>{"use strict";var hn=Va(),At=Tr(),Ml=Ga(),yn=fi(),zl=vi(),Vl=as(),Ul=Zs(),mn=en(),gn=Ft();wn.exports=fe;fe.prototype.validate=Hl;fe.prototype.compile=Ql;fe.prototype.addSchema=Jl;fe.prototype.addMetaSchema=Kl;fe.prototype.validateSchema=Zl;fe.prototype.getSchema=Xl;fe.prototype.removeSchema=td;fe.prototype.addFormat=dd;fe.prototype.errorsText=ld;fe.prototype._addSchema=rd;fe.prototype._compile=id;fe.prototype.compileAsync=an();var Rr=cn();fe.prototype.addKeyword=Rr.add;fe.prototype.getKeyword=Rr.get;fe.prototype.removeKeyword=Rr.remove;fe.prototype.validateKeyword=Rr.validate;var bn=Pr();fe.ValidationError=bn.Validation;fe.MissingRefError=bn.MissingRef;fe.$dataMetaSchema=mn;var Lr="http://json-schema.org/draft-07/schema",fn=["removeAdditional","useDefaults","coerceTypes","strictDefaults"],Gl=["/properties"];function fe(t){if(!(this instanceof fe))return new fe(t);t=this._opts=gn.copy(t)||{},yd(this),this._schemas={},this._refs={},this._fragments={},this._formats=Vl(t.format),this._cache=t.cache||new Ml,this._loadingSchemas={},this._compilations=[],this.RULES=Ul(),this._getId=ad(t),t.loopRequired=t.loopRequired||1/0,t.errorDataPath=="property"&&(t._errorDataPathProperty=!0),t.serialize===void 0&&(t.serialize=zl),this._metaOpts=hd(this),t.formats&&ud(this),t.keywords&&fd(this),pd(this),typeof t.meta=="object"&&this.addMetaSchema(t.meta),t.nullable&&this.addKeyword("nullable",{metaSchema:{type:"boolean"}}),cd(this)}function Hl(t,e){var i;if(typeof t=="string"){if(i=this.getSchema(t),!i)throw new Error('no schema with key or ref "'+t+'"')}else{var a=this._addSchema(t);i=a.validate||this._compile(a)}var r=i(e);return i.$async!==!0&&(this.errors=i.errors),r}function Ql(t,e){var i=this._addSchema(t,void 0,e);return i.validate||this._compile(i)}function Jl(t,e,i,a){if(Array.isArray(t)){for(var r=0;r<t.length;r++)this.addSchema(t[r],void 0,i,a);return this}var s=this._getId(t);if(s!==void 0&&typeof s!="string")throw new Error("schema id must be string");return e=At.normalizeId(e||s),Sn(this,e),this._schemas[e]=this._addSchema(t,i,a,!0),this}function Kl(t,e,i){return this.addSchema(t,e,i,!0),this}function Zl(t,e){var i=t.$schema;if(i!==void 0&&typeof i!="string")throw new Error("$schema must be a string");if(i=i||this._opts.defaultMeta||Yl(this),!i)return this.logger.warn("meta-schema not available"),this.errors=null,!0;var a=this.validate(i,t);if(!a&&e){var r="schema is invalid: "+this.errorsText();if(this._opts.validateSchema=="log")this.logger.error(r);else throw new Error(r)}return a}function Yl(t){var e=t._opts.meta;return t._opts.defaultMeta=typeof e=="object"?t._getId(e)||e:t.getSchema(Lr)?Lr:void 0,t._opts.defaultMeta}function Xl(t){var e=vn(this,t);switch(typeof e){case"object":return e.validate||this._compile(e);case"string":return this.getSchema(e);case"undefined":return ed(this,t)}}function ed(t,e){var i=At.schema.call(t,{schema:{}},e);if(i){var a=i.schema,r=i.root,s=i.baseId,o=hn.call(t,a,r,void 0,s);return t._fragments[e]=new yn({ref:e,fragment:!0,schema:a,root:r,baseId:s,validate:o}),o}}function vn(t,e){return e=At.normalizeId(e),t._schemas[e]||t._refs[e]||t._fragments[e]}function td(t){if(t instanceof RegExp)return Dr(this,this._schemas,t),Dr(this,this._refs,t),this;switch(typeof t){case"undefined":return Dr(this,this._schemas),Dr(this,this._refs),this._cache.clear(),this;case"string":var e=vn(this,t);return e&&this._cache.del(e.cacheKey),delete this._schemas[t],delete this._refs[t],this;case"object":var i=this._opts.serialize,a=i?i(t):t;this._cache.del(a);var r=this._getId(t);r&&(r=At.normalizeId(r),delete this._schemas[r],delete this._refs[r])}return this}function Dr(t,e,i){for(var a in e){var r=e[a];!r.meta&&(!i||i.test(a))&&(t._cache.del(r.cacheKey),delete e[a])}}function rd(t,e,i,a){if(typeof t!="object"&&typeof t!="boolean")throw new Error("schema should be object or boolean");var r=this._opts.serialize,s=r?r(t):t,o=this._cache.get(s);if(o)return o;a=a||this._opts.addUsedSchema!==!1;var n=At.normalizeId(this._getId(t));n&&a&&Sn(this,n);var d=this._opts.validateSchema!==!1&&!e,u;d&&!(u=n&&n==At.normalizeId(t.$schema))&&this.validateSchema(t,!0);var p=At.ids.call(this,t),c=new yn({id:n,schema:t,localRefs:p,cacheKey:s,meta:i});return n[0]!="#"&&a&&(this._refs[n]=c),this._cache.put(s,c),d&&u&&this.validateSchema(t,!0),c}function id(t,e){if(t.compiling)return t.validate=r,r.schema=t.schema,r.errors=null,r.root=e||r,t.schema.$async===!0&&(r.$async=!0),r;t.compiling=!0;var i;t.meta&&(i=this._opts,this._opts=this._metaOpts);var a;try{a=hn.call(this,t.schema,e,t.localRefs)}catch(s){throw delete t.validate,s}finally{t.compiling=!1,t.meta&&(this._opts=i)}return t.validate=a,t.refs=a.refs,t.refVal=a.refVal,t.root=a.root,a;function r(){var s=t.validate,o=s.apply(this,arguments);return r.errors=s.errors,o}}function ad(t){switch(t.schemaId){case"auto":return od;case"id":return sd;default:return nd}}function sd(t){return t.$id&&this.logger.warn("schema $id ignored",t.$id),t.id}function nd(t){return t.id&&this.logger.warn("schema id ignored",t.id),t.$id}function od(t){if(t.$id&&t.id&&t.$id!=t.id)throw new Error("schema $id is different from id");return t.$id||t.id}function ld(t,e){if(t=t||this.errors,!t)return"No errors";e=e||{};for(var i=e.separator===void 0?", ":e.separator,a=e.dataVar===void 0?"data":e.dataVar,r="",s=0;s<t.length;s++){var o=t[s];o&&(r+=a+o.dataPath+" "+o.message+i)}return r.slice(0,-i.length)}function dd(t,e){return typeof e=="string"&&(e=new RegExp(e)),this._formats[t]=e,this}function pd(t){var e;if(t._opts.$data&&(e=un(),t.addMetaSchema(e,e.$id,!0)),t._opts.meta!==!1){var i=Fi();t._opts.$data&&(i=mn(i,Gl)),t.addMetaSchema(i,Lr,!0),t._refs["http://json-schema.org/schema"]=Lr}}function cd(t){var e=t._opts.schemas;if(e)if(Array.isArray(e))t.addSchema(e);else for(var i in e)t.addSchema(e[i],i)}function ud(t){for(var e in t._opts.formats){var i=t._opts.formats[e];t.addFormat(e,i)}}function fd(t){for(var e in t._opts.keywords){var i=t._opts.keywords[e];t.addKeyword(e,i)}}function Sn(t,e){if(t._schemas[e]||t._refs[e])throw new Error('schema with key or id "'+e+'" already exists')}function hd(t){for(var e=gn.copy(t._opts),i=0;i<fn.length;i++)delete e[fn[i]];return e}function yd(t){var e=t._opts.logger;if(e===!1)t.logger={log:Ei,warn:Ei,error:Ei};else{if(e===void 0&&(e=console),!(typeof e=="object"&&e.log&&e.warn&&e.error))throw new Error("logger must implement log, warn and error methods");t.logger=e}}function Ei(){}});var Tn=W((Ef,Oi)=>{function md(t,e){var i=e&&e.cache?e.cache:Id,a=e&&e.serializer?e.serializer:wd,r=e&&e.strategy?e.strategy:bd;return r(t,{cache:i,serializer:a})}function gd(t){return t==null||typeof t=="number"||typeof t=="boolean"}function xn(t,e,i,a){var r=gd(a)?a:i(a),s=e.get(r);return typeof s>"u"&&(s=t.call(this,a),e.set(r,s)),s}function Cn(t,e,i){var a=Array.prototype.slice.call(arguments,3),r=i(a),s=e.get(r);return typeof s>"u"&&(s=t.apply(this,a),e.set(r,s)),s}function $i(t,e,i,a,r){return i.bind(e,t,a,r)}function bd(t,e){var i=t.length===1?xn:Cn;return $i(t,this,i,e.cache.create(),e.serializer)}function vd(t,e){var i=Cn;return $i(t,this,i,e.cache.create(),e.serializer)}function Sd(t,e){var i=xn;return $i(t,this,i,e.cache.create(),e.serializer)}function wd(){return JSON.stringify(arguments)}function jr(){this.cache=Object.create(null)}jr.prototype.has=function(t){return t in this.cache};jr.prototype.get=function(t){return this.cache[t]};jr.prototype.set=function(t,e){this.cache[t]=e};var Id={create:function(){return new jr}};Oi.exports=md;Oi.exports.strategies={variadic:vd,monadic:Sd}});function ya(t,e,i){t=+t,e=+e,i=(r=arguments.length)<2?(e=t,t=0,1):r<3?1:+i;for(var a=-1,r=Math.max(0,Math.ceil((e-t)/i))|0,s=new Array(r);++a<r;)s[a]=t+a*i;return s}function tr(t,e){let i,a;if(e===void 0)for(let r of t)r!=null&&(i===void 0?r>=r&&(i=a=r):(i>r&&(i=r),a<r&&(a=r)));else{let r=-1;for(let s of t)(s=e(s,++r,t))!=null&&(i===void 0?s>=s&&(i=a=s):(i>s&&(i=s),a<s&&(a=s)))}return[i,a]}var mr=class extends Map{constructor(e,i=jo){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:i}}),e!=null)for(let[a,r]of e)this.set(a,r)}get(e){return super.get(ma(this,e))}has(e){return super.has(ma(this,e))}set(e,i){return super.set(Lo(this,e),i)}delete(e){return super.delete(Ro(this,e))}};function ma({_intern:t,_key:e},i){let a=e(i);return t.has(a)?t.get(a):i}function Lo({_intern:t,_key:e},i){let a=e(i);return t.has(a)?t.get(a):(t.set(a,i),i)}function Ro({_intern:t,_key:e},i){let a=e(i);return t.has(a)&&(i=t.get(a),t.delete(a)),i}function jo(t){return t!==null&&typeof t=="object"?t.valueOf():t}function si(t){return t}function _o(t,e,...i){return qo(t,si,e,i)}function qo(t,e,i,a){return function r(s,o){if(o>=a.length)return i(s);let n=new mr,d=a[o++],u=-1;for(let p of s){let c=d(p,++u,s),f=n.get(c);f?f.push(p):n.set(c,[p])}for(let[p,c]of n)n.set(p,r(c,o));return e(n)}(t,0)}function ga(t,e){let i;if(e===void 0)for(let a of t)a!=null&&(i<a||i===void 0&&a>=a)&&(i=a);else{let a=-1;for(let r of t)(r=e(r,++a,t))!=null&&(i<r||i===void 0&&r>=r)&&(i=r)}return i}function ba(t,e){let i;if(e===void 0)for(let a of t)a!=null&&(i>a||i===void 0&&a>=a)&&(i=a);else{let a=-1;for(let r of t)(r=e(r,++a,t))!=null&&(i>r||i===void 0&&r>=r)&&(i=r)}return i}function va(t,e){let i=0,a=0;if(e===void 0)for(let r of t)r!=null&&(r=+r)>=r&&(++i,a+=r);else{let r=-1;for(let s of t)(s=e(s,++r,t))!=null&&(s=+s)>=s&&(++i,a+=s)}if(i)return a/i}function Sa(t,e){let i=0;if(e===void 0)for(let a of t)(a=+a)&&(i+=a);else{let a=-1;for(let r of t)(r=+e(r,++a,t))&&(i+=r)}return i}var Ln=la(In(),1);var _n=la(Tn(),1);var nt="24.3.0",Mi="arcgis_charts_pie_from_fields_name",Bn="arcgis_charts_pie_from_fields_value",$d="arcgis_charts_bar_line_from_fields_name",Od="arcgis_charts_bar_line_from_fields_value",at={Mean:"Mean",Median:"Median",StdDev:"Standard Deviation",Normal:"Normal Distribution",Trendline:"Trendline"},Pn={Count:"count",Start:"minValue",End:"maxValue"},kn={Reject:"reject",RenderUpToTheLimit:"renderUpToTheLimit"},U={AxisLabels:"axisLabels",GuideLabel:"guideLabel",AxisTitle:"axisTitle",ChartTitle:"chartTitle",ChartSubtitle:"chartSubtitle",DataLabels:"dataLabels",LegendTitle:"legendTitle",LegendText:"legendText",DescriptionText:"descriptionText"},Hf=32,Qf="arcgis_charts_features_extent",$t={maxRecordCountFactor:5,maxParallelRequests:4,maxRecords:2e3,orderByJSAPIDelimiter:" ",outStatistics:{statisticType:pa.statisticType,onStatisticField:"OBJECTID",outStatisticFieldName:"arcgis_charts_outStatisticFieldName_default_key"},uniqueIdsName:"arcgisChartsUniqueIds"},Dd=["EXPR_1","Expr1","expr1","EXPR1"],Jf=1,ze=.7,Ld=25,Nn=[156,156,156,255],Rd=[156,156,156,255],Kf=Mt.Solid,Zf=2,Yf={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"},zi="arcgis_charts_box_plot_category",jd={valueField:"arcgis_charts_heat_chart_value",xField:"arcgis_charts_heat_chart_x",yField:"arcgis_charts_heat_chart_y"},_d=[[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]],qd=[[104,104,104,255],[51,124,235,255],[132,0,168,255],[156,156,156,255]];function Je(t){let{colorIndex:e,opacity:i,histogramOverlays:a}=t,r=Math.max(0,e??0),s=[...a===!0?qd:_d],[o,n,d,u]=s[r%s.length],p=i!==void 0?i*255:u;return[o,n,d,p]}function Wn(t){return[0,0,0,(t??ze)*255]}function Xf(){return{type:I.CursorCrosshair,verticalLineVisible:!1,horizontalLineVisible:!1,style:{type:Ce.SLS,style:Mt.Dot,color:[211,211,211,255],width:1}}}function Hr(t=1){return[Math.floor(Math.random()*256),Math.floor(Math.random()*256),Math.floor(Math.random()*256),t*255]}function ee(t){let e={family:"Arial, Helvetica, sans-serif",size:10};switch(t){case U.ChartTitle:e.size=18;break;case U.AxisTitle:e.size=14;break;case U.LegendText:e.size=12;break;case U.LegendTitle:e.size=13;break;case U.DescriptionText:e.size=11;break}return e}function Mn(t="",e=ee(),i){let a=hr.Center;return(i===U.DataLabels||i===U.GuideLabel)&&(a=void 0),{type:Ce.TS,color:Wn(),text:t,font:e,horizontalAlignment:a}}function Q(t){let{text:e,visible:i,font:a,type:r}=t??{text:"",visible:!0,font:ee()};return{type:I.Text,visible:i,content:Mn(e,a,r)}}function or(t){let e=t?.useRandomColor??!1,i=t?.useRampColor,a=t?.width??1,r=t?.isHistogramOverlay,s=t?.color??Wn(1);return e?s=Hr():i!==void 0&&(r===!0?s=Je({colorIndex:i.colorIndex,histogramOverlays:r}):s=Je({colorIndex:i.colorIndex})),t?.opacity!==void 0&&(s[3]=t.opacity),{type:Ce.SLS,style:Mt.Solid,color:s,width:a}}function Bd(){return{type:I.CategoryAxisFormat,characterLimit:11}}function eh(){return{type:I.DateAxisFormat,intlOptions:{}}}function qi(){return{type:I.NumberAxisFormat,intlOptions:{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:3,useGrouping:!0}}}function th(){return{type:I.NumberAxisFormat,intlOptions:{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:2}}}function rh(){return{type:I.NumberAxisFormat,intlOptions:{style:"percent",minimumFractionDigits:0,maximumFractionDigits:0}}}function Di(t="Category Axis"){let e=Q({text:t,visible:!0,font:ee(U.AxisTitle)});e.content.horizontalAlignment=hr.Center,e.content.verticalAlignment=ai.Middle;let i=Q({text:t,visible:!0,font:ee(U.AxisLabels)});return{type:I.Axis,visible:!0,title:e,labels:i,valueFormat:Bd(),lineSymbol:or({color:Nn})}}function Wr(t="Value Axis"){let e=Q({text:t,visible:!0,font:ee(U.AxisTitle)}),i=Q({text:t,visible:!0,font:ee(U.AxisLabels)});return e.content.verticalAlignment=ai.Middle,e.content.horizontalAlignment=hr.Center,{type:I.Axis,visible:!0,title:e,labels:i,valueFormat:qi(),lineSymbol:or({color:Nn})}}function bt(){return{type:I.Legend,visible:!0,title:Q({text:"",visible:!0,font:ee(U.LegendTitle)}),body:Mn("",ee(U.LegendText)),position:ri.Right,maxHeight:Number.NaN}}function _r(t){return{type:I.Overlay,visible:!0,created:!1,symbol:or({useRampColor:{colorIndex:t},isHistogramOverlay:!0})}}function vt(){return[255,255,255,255]}function ot(t){return t.utilsStrings.chartType.chart}function lt(){return`Chart ${Date.now()}`}function ih(t,e=!1){return{type:Ce.SFS,style:zt.Solid,color:e?Hr(ze):Je({colorIndex:t??0,opacity:ze})}}function kd(t=0){return{type:Ce.SMS,style:ii.Circle,color:Je({colorIndex:t,opacity:ze}),size:4}}function Nd(t){return{type:Ce.SLS,style:Mt.Solid,color:Je({colorIndex:t,opacity:ze}),width:2}}function Wd(t=!1){return{type:Ce.SMS,style:ii.Circle,color:t?Hr(ze):Je({colorIndex:0,opacity:ze}),size:7}}function ah(){return{type:I.SizePolicy,field:"",scaleType:fa.Linear,minSize:5,maxSize:30}}function Md(t=!1){return{type:I.Overlays,trendLine:{type:I.Overlay,created:!1,visible:!0,symbol:{type:Ce.SLS,style:Mt.Solid,color:t?Hr():Je({colorIndex:1}),width:2}}}}function zd(t){let e=t??"ObjectID";return{type:I.HeatSeries,id:I.HeatSeries,name:I.HeatSeries,y:"",x:"",dataLabels:Q({text:"",visible:!1,font:ee(U.DataLabels)}),query:{outStatistics:[{statisticType:ae.Count,onStatisticField:e,outStatisticFieldName:"coutnt_objectt_id"}]}}}function Vd(){return{type:I.ScatterSeries,id:I.ScatterSeries,name:I.ScatterSeries,x:"",y:"",markerSymbol:Wd(),overlays:Md(),dataLabels:Q({text:"",visible:!1,font:ee(U.DataLabels)})}}function Ot(t,e){let i=[],a=t.xAxis,r=t.utilsStrings.statistics.count,s,o,n=or({opacity:Ld});switch(e===I.HeatSeries?o=Di(r):(o=Wr(r),o.grid=n),e){case I.BarSeries:case I.HeatSeries:{s=Di(a);break}case I.ScatterSeries:{s=Wr(a),s.grid=n;break}case I.RadarSeries:case I.LineSeries:case I.HistogramSeries:{s=Wr(a);break}case I.BoxPlotSeries:{s=Di("");break}}return s!==void 0&&i.push(s,o),i}function Ud(){return{type:I.GaugeNeedle,symbol:{type:Ce.SFS,color:[0,0,0,200]}}}function Gd(t){let e=[],i=t.xAxis,a=Wr(i);return a.needle=Ud(),e.push(a),e}function Hd(t){let e=t.commonStrings,i=t.objectIDField??"ObjectID",a=`${ae.Count}_${i}_0`.toUpperCase(),r=e.countSeries;return{type:I.LineSeries,id:r,name:r,query:{outStatistics:[{statisticType:ae.Count,onStatisticField:i,outStatisticFieldName:a}],groupByFieldsForStatistics:[]},x:"",y:a,lineSymbol:Nd(t.seriesIndex),markerSymbol:kd(t.seriesIndex),dataLabels:Q({text:"",visible:!1,font:ee(U.DataLabels)}),temporalBinning:{unit:xe.Day,size:0,timeAggregationType:Nt.Start,trimIncompleteTimeInterval:!0,nullPolicy:ca.Interpolate}}}function sh(t){return{...Hd(t),type:I.RadarSeries}}function Qd(t){return{type:Ce.SFS,style:zt.Solid,color:Je({colorIndex:t,opacity:ze})}}function nh(t){let e=t.objectIDField??"ObjectID",i=t.commonStrings,a=`${ae.Count}_${e}_0`.toUpperCase(),r=i.countSeries;return{type:I.BarSeries,id:r,name:r,query:{outStatistics:[{statisticType:ae.Count,onStatisticField:e,outStatisticFieldName:a}],groupByFieldsForStatistics:[]},x:"",y:a,fillSymbol:Qd(t.seriesIndex),dataLabels:Q({text:"",visible:!1,font:ee(U.DataLabels),type:U.DataLabels})}}function oh(t,e){let i=t.countSeries;return{name:i,type:I.BoxPlotSeries,id:i,fillSymbol:{type:Ce.SFS,style:zt.Solid,color:Je({colorIndex:e,opacity:ze})},query:{},x:zi,y:""}}function Jd(){return{type:I.PieTick,visible:!0,lineSymbol:or({width:1,color:Rd})}}function Kd(){return{type:Ce.SFS,style:zt.Solid}}function lh(t,e){let i=`${ae.Count}_${e}_0`.toUpperCase(),a=t.countSeries;return{type:I.PieSeries,id:a,name:a,query:{outStatistics:[{statisticType:ae.Count,onStatisticField:e??"ObjectID",outStatisticFieldName:i}],groupByFieldsForStatistics:[]},x:"",y:i,fillSymbol:Kd(),dataLabels:Q({text:"",visible:!1,font:ee(U.DataLabels),type:U.DataLabels}),startAngle:-90,endAngle:270,dataLabelsCharacterLimit:11,displayCategoryOnDataLabel:!0,displayNumericValueOnDataLabel:!1,displayPercentageOnDataLabel:!0,numericValueFormat:{...qi(),intlOptions:{minimumFractionDigits:1,maximumFractionDigits:1}},percentValueFormat:{...qi(),intlOptions:{minimumFractionDigits:1,maximumFractionDigits:1}},ticks:Jd()}}function dh(t){let e=t.objectIDField??"ObjectID",i=`${ae.Count}_${e}_0`.toUpperCase(),a="Series0";return{type:I.GaugeSeries,id:a,name:a,query:{outStatistics:[{statisticType:ae.Count,onStatisticField:e,outStatisticFieldName:i}]},x:""}}function ar(){return!1}function ph(t,e=lt()){return{version:nt,type:I.Chart,id:e,colorMatch:!0,rotated:ar(),orderOptions:{data:{orderType:Wt.Category,orderBy:rt.Ascending}},title:Q({text:ot(t),visible:!0,font:ee(U.ChartTitle)}),subtitle:Q(),footer:Q({text:"",visible:!0,font:ee(U.DescriptionText)}),background:vt(),axes:Ot(t,I.BarSeries),series:[],legend:bt()}}function ch(t,e=lt()){return{version:nt,type:I.Chart,id:e,rotated:ar(),colorMatch:!0,orderOptions:{data:{orderType:Wt.Category,orderBy:rt.Ascending}},title:Q({text:ot(t),visible:!0,font:ee(U.ChartTitle)}),subtitle:Q(),footer:Q({text:"",visible:!0,font:ee(U.DescriptionText)}),background:vt(),series:[],legend:bt(),axes:Ot(t,I.BoxPlotSeries),standardizeValues:!0,showOutliers:!1}}function uh(t,e=lt()){return{version:nt,type:I.Chart,id:e,colorMatch:!0,rotated:ar(),orderOptions:{data:{orderType:Wt.Category,orderBy:rt.Ascending}},title:Q({text:ot(t),visible:!0,font:ee(U.ChartTitle)}),subtitle:Q(),footer:Q({text:"",visible:!0,font:ee(U.DescriptionText)}),background:vt(),axes:Ot(t,I.LineSeries),series:[],legend:bt()}}function fh(t,e=lt()){return{version:nt,type:I.Chart,id:e,colorMatch:!0,orderOptions:{data:{orderType:Wt.Category,orderBy:rt.Ascending}},title:Q({text:ot(t),visible:!0,font:ee(U.ChartTitle)}),subtitle:Q(),footer:Q({text:"",visible:!0,font:ee(U.DescriptionText)}),background:vt(),axes:Ot(t,I.RadarSeries),series:[],legend:bt()}}function hh(t,e=lt()){return{version:nt,type:I.Chart,id:e,colorMatch:!0,orderOptions:{data:{orderType:Wt.YValue,orderBy:rt.Descending}},title:Q({text:ot(t),visible:!0,font:ee(U.ChartTitle)}),subtitle:Q(),footer:Q({text:"",visible:!0,font:ee(U.DescriptionText)}),background:vt(),series:[],legend:{...bt(),displayNumericValue:!1,displayPercentage:!0}}}function yh(t,e=lt()){return{version:nt,type:I.Chart,id:e,colorMatch:!0,title:Q({text:ot(t),visible:!0,font:ee(U.ChartTitle)}),series:[],axes:Gd(t)}}function mh(t,e=lt()){return{version:nt,type:I.Chart,id:e,colorMatch:!0,title:Q({text:ot(t),visible:!0,font:ee(U.ChartTitle)}),subtitle:Q(),footer:Q({text:"",visible:!0,font:ee(U.DescriptionText)}),background:vt(),axes:Ot(t,I.ScatterSeries),series:[Vd()],legend:bt()}}function gh(t,e){return{version:nt,type:I.Chart,id:lt(),title:Q({text:ot(t),visible:!0,font:ee(U.ChartTitle)}),background:vt(),axes:Ot(t,I.HeatSeries),series:[zd(e)],legend:{...bt(),position:ri.Bottom}}}function Zd(){return{type:I.Overlays,mean:_r(1),median:_r(2),standardDeviation:_r(3),comparisonDistribution:_r(4)}}function Yd(){return{type:Ce.SFS,style:zt.Solid,color:Je({colorIndex:0,opacity:ze})}}function Xd(){return{type:I.HistogramSeries,id:I.HistogramSeries,name:I.HistogramSeries,visible:!0,dataTooltipVisible:!0,dataTooltipReverseColor:!1,assignToSecondValueAxis:!1,x:"",binCount:32,overlays:Zd(),dataTransformationType:ti.None,fillSymbol:Yd(),dataLabels:Q({text:"",visible:!1,font:ee(U.DataLabels)})}}function bh(t,e=lt()){return{version:nt,type:I.Chart,id:e,colorMatch:!0,title:Q({text:ot(t),visible:!0,font:ee(U.ChartTitle)}),subtitle:Q(),footer:Q({text:"",visible:!0,font:ee(U.DescriptionText)}),background:vt(),axes:Ot(t,I.HistogramSeries),series:[Xd()],legend:bt()}}var Li={behaviorAfterLimit:kn.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,maxHeatChartCellLimit:1e4};function ep(t){let e={...Li};return t!==void 0&&Object.keys(Li).forEach(i=>{let a=i;e[a]=t[a]??Li[a]}),e}function vh(){return{maxScatterCellsPerQuery:500,maxScatterCellsPerQueryForStandard:175,maxElementsPerSelectionQuery:25,maxOIDsPerSelectionQuery:2e3,maxOperandsPerWhereClause:200}}function Sh(t,e){let i;switch(t){case ae.Average:{i=e.utilsStrings.statistics.mean;break}case ae.ContinuousPercentile:{i=e.utilsStrings.statistics.median;break}case ae.Sum:{i=e.utilsStrings.statistics.sum;break}case ae.Minimum:{i=e.utilsStrings.statistics.minimum;break}case ae.Maximum:{i=e.utilsStrings.statistics.maximum;break}case ae.Variance:{i=e.utilsStrings.statistics.variance;break}case ae.DiscretePercentile:{i=e.utilsStrings.statistics.discretePercentile;break}case ae.NoAggregation:{i=e.utilsStrings.statistics.noAggregation;break}case ae.Count:default:{i=e.utilsStrings.statistics.count;break}}return i}function wh(t,e){let i;switch(t){case Nt.End:{i=e.timeAggregationTypes.end;break}case Nt.Start:{i=e.timeAggregationTypes.start;break}default:i="";break}return i}function tp(){return er.Side}function Ih(t){return t.utilsStrings.notAvailable}var xh=0,rp="_arcgis_charts_outliers",ip="_arcgis_charts_z_score",Ch=[210,210,210,255*ze],Th=" percentage ";var zr=function(){return zr=Object.assign||function(t){for(var e,i=1,a=arguments.length;i<a;i++){e=arguments[i];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},zr.apply(this,arguments)},Bi={exports:{}},de={},ki={exports:{}},Dt={};function zn(){var t={};return t["align-content"]=!1,t["align-items"]=!1,t["align-self"]=!1,t["alignment-adjust"]=!1,t["alignment-baseline"]=!1,t.all=!1,t["anchor-point"]=!1,t.animation=!1,t["animation-delay"]=!1,t["animation-direction"]=!1,t["animation-duration"]=!1,t["animation-fill-mode"]=!1,t["animation-iteration-count"]=!1,t["animation-name"]=!1,t["animation-play-state"]=!1,t["animation-timing-function"]=!1,t.azimuth=!1,t["backface-visibility"]=!1,t.background=!0,t["background-attachment"]=!0,t["background-clip"]=!0,t["background-color"]=!0,t["background-image"]=!0,t["background-origin"]=!0,t["background-position"]=!0,t["background-repeat"]=!0,t["background-size"]=!0,t["baseline-shift"]=!1,t.binding=!1,t.bleed=!1,t["bookmark-label"]=!1,t["bookmark-level"]=!1,t["bookmark-state"]=!1,t.border=!0,t["border-bottom"]=!0,t["border-bottom-color"]=!0,t["border-bottom-left-radius"]=!0,t["border-bottom-right-radius"]=!0,t["border-bottom-style"]=!0,t["border-bottom-width"]=!0,t["border-collapse"]=!0,t["border-color"]=!0,t["border-image"]=!0,t["border-image-outset"]=!0,t["border-image-repeat"]=!0,t["border-image-slice"]=!0,t["border-image-source"]=!0,t["border-image-width"]=!0,t["border-left"]=!0,t["border-left-color"]=!0,t["border-left-style"]=!0,t["border-left-width"]=!0,t["border-radius"]=!0,t["border-right"]=!0,t["border-right-color"]=!0,t["border-right-style"]=!0,t["border-right-width"]=!0,t["border-spacing"]=!0,t["border-style"]=!0,t["border-top"]=!0,t["border-top-color"]=!0,t["border-top-left-radius"]=!0,t["border-top-right-radius"]=!0,t["border-top-style"]=!0,t["border-top-width"]=!0,t["border-width"]=!0,t.bottom=!1,t["box-decoration-break"]=!0,t["box-shadow"]=!0,t["box-sizing"]=!0,t["box-snap"]=!0,t["box-suppress"]=!0,t["break-after"]=!0,t["break-before"]=!0,t["break-inside"]=!0,t["caption-side"]=!1,t.chains=!1,t.clear=!0,t.clip=!1,t["clip-path"]=!1,t["clip-rule"]=!1,t.color=!0,t["color-interpolation-filters"]=!0,t["column-count"]=!1,t["column-fill"]=!1,t["column-gap"]=!1,t["column-rule"]=!1,t["column-rule-color"]=!1,t["column-rule-style"]=!1,t["column-rule-width"]=!1,t["column-span"]=!1,t["column-width"]=!1,t.columns=!1,t.contain=!1,t.content=!1,t["counter-increment"]=!1,t["counter-reset"]=!1,t["counter-set"]=!1,t.crop=!1,t.cue=!1,t["cue-after"]=!1,t["cue-before"]=!1,t.cursor=!1,t.direction=!1,t.display=!0,t["display-inside"]=!0,t["display-list"]=!0,t["display-outside"]=!0,t["dominant-baseline"]=!1,t.elevation=!1,t["empty-cells"]=!1,t.filter=!1,t.flex=!1,t["flex-basis"]=!1,t["flex-direction"]=!1,t["flex-flow"]=!1,t["flex-grow"]=!1,t["flex-shrink"]=!1,t["flex-wrap"]=!1,t.float=!1,t["float-offset"]=!1,t["flood-color"]=!1,t["flood-opacity"]=!1,t["flow-from"]=!1,t["flow-into"]=!1,t.font=!0,t["font-family"]=!0,t["font-feature-settings"]=!0,t["font-kerning"]=!0,t["font-language-override"]=!0,t["font-size"]=!0,t["font-size-adjust"]=!0,t["font-stretch"]=!0,t["font-style"]=!0,t["font-synthesis"]=!0,t["font-variant"]=!0,t["font-variant-alternates"]=!0,t["font-variant-caps"]=!0,t["font-variant-east-asian"]=!0,t["font-variant-ligatures"]=!0,t["font-variant-numeric"]=!0,t["font-variant-position"]=!0,t["font-weight"]=!0,t.grid=!1,t["grid-area"]=!1,t["grid-auto-columns"]=!1,t["grid-auto-flow"]=!1,t["grid-auto-rows"]=!1,t["grid-column"]=!1,t["grid-column-end"]=!1,t["grid-column-start"]=!1,t["grid-row"]=!1,t["grid-row-end"]=!1,t["grid-row-start"]=!1,t["grid-template"]=!1,t["grid-template-areas"]=!1,t["grid-template-columns"]=!1,t["grid-template-rows"]=!1,t["hanging-punctuation"]=!1,t.height=!0,t.hyphens=!1,t.icon=!1,t["image-orientation"]=!1,t["image-resolution"]=!1,t["ime-mode"]=!1,t["initial-letters"]=!1,t["inline-box-align"]=!1,t["justify-content"]=!1,t["justify-items"]=!1,t["justify-self"]=!1,t.left=!1,t["letter-spacing"]=!0,t["lighting-color"]=!0,t["line-box-contain"]=!1,t["line-break"]=!1,t["line-grid"]=!1,t["line-height"]=!1,t["line-snap"]=!1,t["line-stacking"]=!1,t["line-stacking-ruby"]=!1,t["line-stacking-shift"]=!1,t["line-stacking-strategy"]=!1,t["list-style"]=!0,t["list-style-image"]=!0,t["list-style-position"]=!0,t["list-style-type"]=!0,t.margin=!0,t["margin-bottom"]=!0,t["margin-left"]=!0,t["margin-right"]=!0,t["margin-top"]=!0,t["marker-offset"]=!1,t["marker-side"]=!1,t.marks=!1,t.mask=!1,t["mask-box"]=!1,t["mask-box-outset"]=!1,t["mask-box-repeat"]=!1,t["mask-box-slice"]=!1,t["mask-box-source"]=!1,t["mask-box-width"]=!1,t["mask-clip"]=!1,t["mask-image"]=!1,t["mask-origin"]=!1,t["mask-position"]=!1,t["mask-repeat"]=!1,t["mask-size"]=!1,t["mask-source-type"]=!1,t["mask-type"]=!1,t["max-height"]=!0,t["max-lines"]=!1,t["max-width"]=!0,t["min-height"]=!0,t["min-width"]=!0,t["move-to"]=!1,t["nav-down"]=!1,t["nav-index"]=!1,t["nav-left"]=!1,t["nav-right"]=!1,t["nav-up"]=!1,t["object-fit"]=!1,t["object-position"]=!1,t.opacity=!1,t.order=!1,t.orphans=!1,t.outline=!1,t["outline-color"]=!1,t["outline-offset"]=!1,t["outline-style"]=!1,t["outline-width"]=!1,t.overflow=!1,t["overflow-wrap"]=!1,t["overflow-x"]=!1,t["overflow-y"]=!1,t.padding=!0,t["padding-bottom"]=!0,t["padding-left"]=!0,t["padding-right"]=!0,t["padding-top"]=!0,t.page=!1,t["page-break-after"]=!1,t["page-break-before"]=!1,t["page-break-inside"]=!1,t["page-policy"]=!1,t.pause=!1,t["pause-after"]=!1,t["pause-before"]=!1,t.perspective=!1,t["perspective-origin"]=!1,t.pitch=!1,t["pitch-range"]=!1,t["play-during"]=!1,t.position=!1,t["presentation-level"]=!1,t.quotes=!1,t["region-fragment"]=!1,t.resize=!1,t.rest=!1,t["rest-after"]=!1,t["rest-before"]=!1,t.richness=!1,t.right=!1,t.rotation=!1,t["rotation-point"]=!1,t["ruby-align"]=!1,t["ruby-merge"]=!1,t["ruby-position"]=!1,t["shape-image-threshold"]=!1,t["shape-outside"]=!1,t["shape-margin"]=!1,t.size=!1,t.speak=!1,t["speak-as"]=!1,t["speak-header"]=!1,t["speak-numeral"]=!1,t["speak-punctuation"]=!1,t["speech-rate"]=!1,t.stress=!1,t["string-set"]=!1,t["tab-size"]=!1,t["table-layout"]=!1,t["text-align"]=!0,t["text-align-last"]=!0,t["text-combine-upright"]=!0,t["text-decoration"]=!0,t["text-decoration-color"]=!0,t["text-decoration-line"]=!0,t["text-decoration-skip"]=!0,t["text-decoration-style"]=!0,t["text-emphasis"]=!0,t["text-emphasis-color"]=!0,t["text-emphasis-position"]=!0,t["text-emphasis-style"]=!0,t["text-height"]=!0,t["text-indent"]=!0,t["text-justify"]=!0,t["text-orientation"]=!0,t["text-overflow"]=!0,t["text-shadow"]=!0,t["text-space-collapse"]=!0,t["text-transform"]=!0,t["text-underline-position"]=!0,t["text-wrap"]=!0,t.top=!1,t.transform=!1,t["transform-origin"]=!1,t["transform-style"]=!1,t.transition=!1,t["transition-delay"]=!1,t["transition-duration"]=!1,t["transition-property"]=!1,t["transition-timing-function"]=!1,t["unicode-bidi"]=!1,t["vertical-align"]=!1,t.visibility=!1,t["voice-balance"]=!1,t["voice-duration"]=!1,t["voice-family"]=!1,t["voice-pitch"]=!1,t["voice-range"]=!1,t["voice-rate"]=!1,t["voice-stress"]=!1,t["voice-volume"]=!1,t.volume=!1,t["white-space"]=!1,t.widows=!1,t.width=!0,t["will-change"]=!1,t["word-break"]=!0,t["word-spacing"]=!0,t["word-wrap"]=!0,t["wrap-flow"]=!1,t["wrap-through"]=!1,t["writing-mode"]=!1,t["z-index"]=!1,t}function ap(t,e,i){}function sp(t,e,i){}var np=/javascript\s*\:/img;function op(t,e){return np.test(e)?"":e}Dt.whiteList=zn();Dt.getDefaultWhiteList=zn;Dt.onAttr=ap;Dt.onIgnoreAttr=sp;Dt.safeAttrValue=op;var lp={indexOf:function(t,e){var i,a;if(Array.prototype.indexOf)return t.indexOf(e);for(i=0,a=t.length;i<a;i++)if(t[i]===e)return i;return-1},forEach:function(t,e,i){var a,r;if(Array.prototype.forEach)return t.forEach(e,i);for(a=0,r=t.length;a<r;a++)e.call(i,t[a],a,t)},trim:function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(t){return String.prototype.trimRight?t.trimRight():t.replace(/(\s*$)/g,"")}},ir=lp;function dp(t,e){t=ir.trimRight(t),t[t.length-1]!==";"&&(t+=";");var i=t.length,a=!1,r=0,s=0,o="";function n(){if(!a){var p=ir.trim(t.slice(r,s)),c=p.indexOf(":");if(c!==-1){var f=ir.trim(p.slice(0,c)),l=ir.trim(p.slice(c+1));if(f){var y=e(r,o.length,f,l,p);y&&(o+=y+"; ")}}}r=s+1}for(;s<i;s++){var d=t[s];if(d==="/"&&t[s+1]==="*"){var u=t.indexOf("*/",s+2);if(u===-1)break;s=u+1,r=s+1,a=!1}else d==="("?a=!0:d===")"?a=!1:d===";"?a||n():d===`
|
|
3
|
+
v5.0.0-next.9 */
|
|
4
|
+
import{A as yr,B as Pt,l as da,q as ue,r as Mt,s as ii,t as zt,u as hr,v as ai,w as Ce}from"./R55XPJNU.js";import{b as ha,c as Ne,d as We}from"./3LW3RVLZ.js";import{a as I,b as ae,c as ti,e as ri,f as er,h as rt,i as pa,k as xe,l as it,n as ca,o as Nt,q as ct,s as ua,t as fa,v as Wt,w as $e}from"./3GUJMETN.js";import{G as ke}from"./3AG2XDFG.js";import{b as W,d as la}from"./J7GE4UG7.js";export default $arcgis.t(([{substitute:qe},Ni,Rn,jn,xd,_i,Cd,Td,Pd,Fd,Ad,Ed,qn,Wi])=>{var Ia=W((gr,wa)=>{(function(t,e){typeof gr=="object"&&typeof wa<"u"?e(gr):typeof define=="function"&&define.amd?define(["exports"],e):e(t.URI=t.URI||{})})(gr,function(t){"use strict";function e(){for(var g=arguments.length,h=Array(g),v=0;v<g;v++)h[v]=arguments[v];if(h.length>1){h[0]=h[0].slice(0,-1);for(var w=h.length-1,C=1;C<w;++C)h[C]=h[C].slice(1,-1);return h[w]=h[w].slice(1),h.join("")}else return h[0]}function i(g){return"(?:"+g+")"}function a(g){return g===void 0?"undefined":g===null?"null":Object.prototype.toString.call(g).split(" ").pop().split("]").shift().toLowerCase()}function r(g){return g.toUpperCase()}function s(g){return g!=null?g instanceof Array?g:typeof g.length!="number"||g.split||g.setInterval||g.call?[g]:Array.prototype.slice.call(g):[]}function o(g,h){var v=g;if(h)for(var w in h)v[w]=h[w];return v}function n(g){var h="[A-Za-z]",v="[\\x0D]",w="[0-9]",C="[\\x22]",_=e(w,"[A-Fa-f]"),M="[\\x0A]",J="[\\x20]",X=i(i("%[EFef]"+_+"%"+_+_+"%"+_+_)+"|"+i("%[89A-Fa-f]"+_+"%"+_+_)+"|"+i("%"+_+_)),me="[\\:\\/\\?\\#\\[\\]\\@]",H="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",oe=e(me,H),ge=g?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",ne=g?"[\\uE000-\\uF8FF]":"[]",Z=e(h,w,"[\\-\\.\\_\\~]",ge),le=i(h+e(h,w,"[\\+\\-\\.]")+"*"),re=i(i(X+"|"+e(Z,H,"[\\:]"))+"*"),xt=i(i("25[0-5]")+"|"+i("2[0-4]"+w)+"|"+i("1"+w+w)+"|"+i("[1-9]"+w)+"|"+w),De=i(i("25[0-5]")+"|"+i("2[0-4]"+w)+"|"+i("1"+w+w)+"|"+i("0?[1-9]"+w)+"|0?0?"+w),je=i(De+"\\."+De+"\\."+De+"\\."+De),ie=i(_+"{1,4}"),Le=i(i(ie+"\\:"+ie)+"|"+je),_e=i(i(ie+"\\:")+"{6}"+Le),Qe=i("\\:\\:"+i(ie+"\\:")+"{5}"+Le),Ct=i(i(ie)+"?\\:\\:"+i(ie+"\\:")+"{4}"+Le),Xe=i(i(i(ie+"\\:")+"{0,1}"+ie)+"?\\:\\:"+i(ie+"\\:")+"{3}"+Le),Jt=i(i(i(ie+"\\:")+"{0,2}"+ie)+"?\\:\\:"+i(ie+"\\:")+"{2}"+Le),cr=i(i(i(ie+"\\:")+"{0,3}"+ie)+"?\\:\\:"+ie+"\\:"+Le),ur=i(i(i(ie+"\\:")+"{0,4}"+ie)+"?\\:\\:"+Le),Rt=i(i(i(ie+"\\:")+"{0,5}"+ie)+"?\\:\\:"+ie),jt=i(i(i(ie+"\\:")+"{0,6}"+ie)+"?\\:\\:"),et=i([_e,Qe,Ct,Xe,Jt,cr,ur,Rt,jt].join("|")),_t=i(i(Z+"|"+X)+"+"),Xr=i(et+"\\%25"+_t),Tt=i(et+i("\\%25|\\%(?!"+_+"{2})")+_t),Po=i("[vV]"+_+"+\\."+e(Z,H,"[\\:]")+"+"),Fo=i("\\["+i(Tt+"|"+et+"|"+Po)+"\\]"),aa=i(i(X+"|"+e(Z,H))+"*"),Kt=i(Fo+"|"+je+"(?!"+aa+")|"+aa),Zt=i(w+"*"),sa=i(i(re+"@")+"?"+Kt+i("\\:"+Zt)+"?"),Yt=i(X+"|"+e(Z,H,"[\\:\\@]")),Ao=i(Yt+"*"),na=i(Yt+"+"),Eo=i(i(X+"|"+e(Z,H,"[\\@]"))+"+"),tt=i(i("\\/"+Ao)+"*"),qt=i("\\/"+i(na+tt)+"?"),ei=i(Eo+tt),fr=i(na+tt),Bt="(?!"+Yt+")",iu=i(tt+"|"+qt+"|"+ei+"|"+fr+"|"+Bt),kt=i(i(Yt+"|"+e("[\\/\\?]",ne))+"*"),Xt=i(i(Yt+"|[\\/\\?]")+"*"),oa=i(i("\\/\\/"+sa+tt)+"|"+qt+"|"+fr+"|"+Bt),$o=i(le+"\\:"+oa+i("\\?"+kt)+"?"+i("\\#"+Xt)+"?"),Oo=i(i("\\/\\/"+sa+tt)+"|"+qt+"|"+ei+"|"+Bt),Do=i(Oo+i("\\?"+kt)+"?"+i("\\#"+Xt)+"?"),au=i($o+"|"+Do),su=i(le+"\\:"+oa+i("\\?"+kt)+"?"),nu="^("+le+")\\:"+i(i("\\/\\/("+i("("+re+")@")+"?("+Kt+")"+i("\\:("+Zt+")")+"?)")+"?("+tt+"|"+qt+"|"+fr+"|"+Bt+")")+i("\\?("+kt+")")+"?"+i("\\#("+Xt+")")+"?$",ou="^(){0}"+i(i("\\/\\/("+i("("+re+")@")+"?("+Kt+")"+i("\\:("+Zt+")")+"?)")+"?("+tt+"|"+qt+"|"+ei+"|"+Bt+")")+i("\\?("+kt+")")+"?"+i("\\#("+Xt+")")+"?$",lu="^("+le+")\\:"+i(i("\\/\\/("+i("("+re+")@")+"?("+Kt+")"+i("\\:("+Zt+")")+"?)")+"?("+tt+"|"+qt+"|"+fr+"|"+Bt+")")+i("\\?("+kt+")")+"?$",du="^"+i("\\#("+Xt+")")+"?$",pu="^"+i("("+re+")@")+"?("+Kt+")"+i("\\:("+Zt+")")+"?$";return{NOT_SCHEME:new RegExp(e("[^]",h,w,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(e("[^\\%\\:]",Z,H),"g"),NOT_HOST:new RegExp(e("[^\\%\\[\\]\\:]",Z,H),"g"),NOT_PATH:new RegExp(e("[^\\%\\/\\:\\@]",Z,H),"g"),NOT_PATH_NOSCHEME:new RegExp(e("[^\\%\\/\\@]",Z,H),"g"),NOT_QUERY:new RegExp(e("[^\\%]",Z,H,"[\\:\\@\\/\\?]",ne),"g"),NOT_FRAGMENT:new RegExp(e("[^\\%]",Z,H,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(e("[^]",Z,H),"g"),UNRESERVED:new RegExp(Z,"g"),OTHER_CHARS:new RegExp(e("[^\\%]",Z,oe),"g"),PCT_ENCODED:new RegExp(X,"g"),IPV4ADDRESS:new RegExp("^("+je+")$"),IPV6ADDRESS:new RegExp("^\\[?("+et+")"+i(i("\\%25|\\%(?!"+_+"{2})")+"("+_t+")")+"?\\]?$")}}var d=n(!1),u=n(!0),p=function(){function g(h,v){var w=[],C=!0,_=!1,M=void 0;try{for(var J=h[Symbol.iterator](),X;!(C=(X=J.next()).done)&&(w.push(X.value),!(v&&w.length===v));C=!0);}catch(me){_=!0,M=me}finally{try{!C&&J.return&&J.return()}finally{if(_)throw M}}return w}return function(h,v){if(Array.isArray(h))return h;if(Symbol.iterator in Object(h))return g(h,v);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),c=function(g){if(Array.isArray(g)){for(var h=0,v=Array(g.length);h<g.length;h++)v[h]=g[h];return v}else return Array.from(g)},f=2147483647,l=36,y=1,b=26,m=38,S=700,T=72,x=128,P="-",F=/^xn--/,$=/[^\0-\x7E]/,q=/[\x2E\u3002\uFF0E\uFF61]/g,L={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},A=l-y,R=Math.floor,D=String.fromCharCode;function j(g){throw new RangeError(L[g])}function E(g,h){for(var v=[],w=g.length;w--;)v[w]=h(g[w]);return v}function O(g,h){var v=g.split("@"),w="";v.length>1&&(w=v[0]+"@",g=v[1]),g=g.replace(q,".");var C=g.split("."),_=E(C,h).join(".");return w+_}function B(g){for(var h=[],v=0,w=g.length;v<w;){var C=g.charCodeAt(v++);if(C>=55296&&C<=56319&&v<w){var _=g.charCodeAt(v++);(_&64512)==56320?h.push(((C&1023)<<10)+(_&1023)+65536):(h.push(C),v--)}else h.push(C)}return h}var te=function(h){return String.fromCodePoint.apply(String,c(h))},V=function(h){return h-48<10?h-22:h-65<26?h-65:h-97<26?h-97:l},G=function(h,v){return h+22+75*(h<26)-((v!=0)<<5)},z=function(h,v,w){var C=0;for(h=w?R(h/S):h>>1,h+=R(h/v);h>A*b>>1;C+=l)h=R(h/A);return R(C+(A+1)*h/(h+m))},N=function(h){var v=[],w=h.length,C=0,_=x,M=T,J=h.lastIndexOf(P);J<0&&(J=0);for(var X=0;X<J;++X)h.charCodeAt(X)>=128&&j("not-basic"),v.push(h.charCodeAt(X));for(var me=J>0?J+1:0;me<w;){for(var H=C,oe=1,ge=l;;ge+=l){me>=w&&j("invalid-input");var ne=V(h.charCodeAt(me++));(ne>=l||ne>R((f-C)/oe))&&j("overflow"),C+=ne*oe;var Z=ge<=M?y:ge>=M+b?b:ge-M;if(ne<Z)break;var le=l-Z;oe>R(f/le)&&j("overflow"),oe*=le}var re=v.length+1;M=z(C-H,re,H==0),R(C/re)>f-_&&j("overflow"),_+=R(C/re),C%=re,v.splice(C++,0,_)}return String.fromCodePoint.apply(String,v)},pe=function(h){var v=[];h=B(h);var w=h.length,C=x,_=0,M=T,J=!0,X=!1,me=void 0;try{for(var H=h[Symbol.iterator](),oe;!(J=(oe=H.next()).done);J=!0){var ge=oe.value;ge<128&&v.push(D(ge))}}catch(Tt){X=!0,me=Tt}finally{try{!J&&H.return&&H.return()}finally{if(X)throw me}}var ne=v.length,Z=ne;for(ne&&v.push(P);Z<w;){var le=f,re=!0,xt=!1,De=void 0;try{for(var je=h[Symbol.iterator](),ie;!(re=(ie=je.next()).done);re=!0){var Le=ie.value;Le>=C&&Le<le&&(le=Le)}}catch(Tt){xt=!0,De=Tt}finally{try{!re&&je.return&&je.return()}finally{if(xt)throw De}}var _e=Z+1;le-C>R((f-_)/_e)&&j("overflow"),_+=(le-C)*_e,C=le;var Qe=!0,Ct=!1,Xe=void 0;try{for(var Jt=h[Symbol.iterator](),cr;!(Qe=(cr=Jt.next()).done);Qe=!0){var ur=cr.value;if(ur<C&&++_>f&&j("overflow"),ur==C){for(var Rt=_,jt=l;;jt+=l){var et=jt<=M?y:jt>=M+b?b:jt-M;if(Rt<et)break;var _t=Rt-et,Xr=l-et;v.push(D(G(et+_t%Xr,0))),Rt=R(_t/Xr)}v.push(D(G(Rt,0))),M=z(_,_e,Z==ne),_=0,++Z}}}catch(Tt){Ct=!0,Xe=Tt}finally{try{!Qe&&Jt.return&&Jt.return()}finally{if(Ct)throw Xe}}++_,++C}return v.join("")},we=function(h){return O(h,function(v){return F.test(v)?N(v.slice(4).toLowerCase()):v})},Pe=function(h){return O(h,function(v){return $.test(v)?"xn--"+pe(v):v})},K={version:"2.1.0",ucs2:{decode:B,encode:te},decode:N,encode:pe,toASCII:Pe,toUnicode:we},he={};function be(g){var h=g.charCodeAt(0),v=void 0;return h<16?v="%0"+h.toString(16).toUpperCase():h<128?v="%"+h.toString(16).toUpperCase():h<2048?v="%"+(h>>6|192).toString(16).toUpperCase()+"%"+(h&63|128).toString(16).toUpperCase():v="%"+(h>>12|224).toString(16).toUpperCase()+"%"+(h>>6&63|128).toString(16).toUpperCase()+"%"+(h&63|128).toString(16).toUpperCase(),v}function Fe(g){for(var h="",v=0,w=g.length;v<w;){var C=parseInt(g.substr(v+1,2),16);if(C<128)h+=String.fromCharCode(C),v+=3;else if(C>=194&&C<224){if(w-v>=6){var _=parseInt(g.substr(v+4,2),16);h+=String.fromCharCode((C&31)<<6|_&63)}else h+=g.substr(v,6);v+=6}else if(C>=224){if(w-v>=9){var M=parseInt(g.substr(v+4,2),16),J=parseInt(g.substr(v+7,2),16);h+=String.fromCharCode((C&15)<<12|(M&63)<<6|J&63)}else h+=g.substr(v,9);v+=9}else h+=g.substr(v,3),v+=3}return h}function dt(g,h){function v(w){var C=Fe(w);return C.match(h.UNRESERVED)?C:w}return g.scheme&&(g.scheme=String(g.scheme).replace(h.PCT_ENCODED,v).toLowerCase().replace(h.NOT_SCHEME,"")),g.userinfo!==void 0&&(g.userinfo=String(g.userinfo).replace(h.PCT_ENCODED,v).replace(h.NOT_USERINFO,be).replace(h.PCT_ENCODED,r)),g.host!==void 0&&(g.host=String(g.host).replace(h.PCT_ENCODED,v).toLowerCase().replace(h.NOT_HOST,be).replace(h.PCT_ENCODED,r)),g.path!==void 0&&(g.path=String(g.path).replace(h.PCT_ENCODED,v).replace(g.scheme?h.NOT_PATH:h.NOT_PATH_NOSCHEME,be).replace(h.PCT_ENCODED,r)),g.query!==void 0&&(g.query=String(g.query).replace(h.PCT_ENCODED,v).replace(h.NOT_QUERY,be).replace(h.PCT_ENCODED,r)),g.fragment!==void 0&&(g.fragment=String(g.fragment).replace(h.PCT_ENCODED,v).replace(h.NOT_FRAGMENT,be).replace(h.PCT_ENCODED,r)),g}function Ze(g){return g.replace(/^0*(.*)/,"$1")||"0"}function ye(g,h){var v=g.match(h.IPV4ADDRESS)||[],w=p(v,2),C=w[1];return C?C.split(".").map(Ze).join("."):g}function ce(g,h){var v=g.match(h.IPV6ADDRESS)||[],w=p(v,3),C=w[1],_=w[2];if(C){for(var M=C.toLowerCase().split("::").reverse(),J=p(M,2),X=J[0],me=J[1],H=me?me.split(":").map(Ze):[],oe=X.split(":").map(Ze),ge=h.IPV4ADDRESS.test(oe[oe.length-1]),ne=ge?7:8,Z=oe.length-ne,le=Array(ne),re=0;re<ne;++re)le[re]=H[re]||oe[Z+re]||"";ge&&(le[ne-1]=ye(le[ne-1],h));var xt=le.reduce(function(_e,Qe,Ct){if(!Qe||Qe==="0"){var Xe=_e[_e.length-1];Xe&&Xe.index+Xe.length===Ct?Xe.length++:_e.push({index:Ct,length:1})}return _e},[]),De=xt.sort(function(_e,Qe){return Qe.length-_e.length})[0],je=void 0;if(De&&De.length>1){var ie=le.slice(0,De.index),Le=le.slice(De.index+De.length);je=ie.join(":")+"::"+Le.join(":")}else je=le.join(":");return _&&(je+="%"+_),je}else return g}var St=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,Ie="".match(/(){0}/)[1]===void 0;function Y(g){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v={},w=h.iri!==!1?u:d;h.reference==="suffix"&&(g=(h.scheme?h.scheme+":":"")+"//"+g);var C=g.match(St);if(C){Ie?(v.scheme=C[1],v.userinfo=C[3],v.host=C[4],v.port=parseInt(C[5],10),v.path=C[6]||"",v.query=C[7],v.fragment=C[8],isNaN(v.port)&&(v.port=C[5])):(v.scheme=C[1]||void 0,v.userinfo=g.indexOf("@")!==-1?C[3]:void 0,v.host=g.indexOf("//")!==-1?C[4]:void 0,v.port=parseInt(C[5],10),v.path=C[6]||"",v.query=g.indexOf("?")!==-1?C[7]:void 0,v.fragment=g.indexOf("#")!==-1?C[8]:void 0,isNaN(v.port)&&(v.port=g.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?C[4]:void 0)),v.host&&(v.host=ce(ye(v.host,w),w)),v.scheme===void 0&&v.userinfo===void 0&&v.host===void 0&&v.port===void 0&&!v.path&&v.query===void 0?v.reference="same-document":v.scheme===void 0?v.reference="relative":v.fragment===void 0?v.reference="absolute":v.reference="uri",h.reference&&h.reference!=="suffix"&&h.reference!==v.reference&&(v.error=v.error||"URI is not a "+h.reference+" reference.");var _=he[(h.scheme||v.scheme||"").toLowerCase()];if(!h.unicodeSupport&&(!_||!_.unicodeSupport)){if(v.host&&(h.domainHost||_&&_.domainHost))try{v.host=K.toASCII(v.host.replace(w.PCT_ENCODED,Fe).toLowerCase())}catch(M){v.error=v.error||"Host's domain name can not be converted to ASCII via punycode: "+M}dt(v,d)}else dt(v,w);_&&_.parse&&_.parse(v,h)}else v.error=v.error||"URI can not be parsed.";return v}function pt(g,h){var v=h.iri!==!1?u:d,w=[];return g.userinfo!==void 0&&(w.push(g.userinfo),w.push("@")),g.host!==void 0&&w.push(ce(ye(String(g.host),v),v).replace(v.IPV6ADDRESS,function(C,_,M){return"["+_+(M?"%25"+M:"")+"]"})),(typeof g.port=="number"||typeof g.port=="string")&&(w.push(":"),w.push(String(g.port))),w.length?w.join(""):void 0}var Ye=/^\.\.?\//,wt=/^\/\.(\/|$)/,It=/^\/\.\.(\/|$)/,ve=/^\/?(?:.|\n)*?(?=\/|$)/;function Re(g){for(var h=[];g.length;)if(g.match(Ye))g=g.replace(Ye,"");else if(g.match(wt))g=g.replace(wt,"/");else if(g.match(It))g=g.replace(It,"/"),h.pop();else if(g==="."||g==="..")g="";else{var v=g.match(ve);if(v){var w=v[0];g=g.slice(w.length),h.push(w)}else throw new Error("Unexpected dot segment condition")}return h.join("")}function Ee(g){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=h.iri?u:d,w=[],C=he[(h.scheme||g.scheme||"").toLowerCase()];if(C&&C.serialize&&C.serialize(g,h),g.host&&!v.IPV6ADDRESS.test(g.host)){if(h.domainHost||C&&C.domainHost)try{g.host=h.iri?K.toUnicode(g.host):K.toASCII(g.host.replace(v.PCT_ENCODED,Fe).toLowerCase())}catch(J){g.error=g.error||"Host's domain name can not be converted to "+(h.iri?"Unicode":"ASCII")+" via punycode: "+J}}dt(g,v),h.reference!=="suffix"&&g.scheme&&(w.push(g.scheme),w.push(":"));var _=pt(g,h);if(_!==void 0&&(h.reference!=="suffix"&&w.push("//"),w.push(_),g.path&&g.path.charAt(0)!=="/"&&w.push("/")),g.path!==void 0){var M=g.path;!h.absolutePath&&(!C||!C.absolutePath)&&(M=Re(M)),_===void 0&&(M=M.replace(/^\/\//,"/%2F")),w.push(M)}return g.query!==void 0&&(w.push("?"),w.push(g.query)),g.fragment!==void 0&&(w.push("#"),w.push(g.fragment)),w.join("")}function Ae(g,h){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},w=arguments[3],C={};return w||(g=Y(Ee(g,v),v),h=Y(Ee(h,v),v)),v=v||{},!v.tolerant&&h.scheme?(C.scheme=h.scheme,C.userinfo=h.userinfo,C.host=h.host,C.port=h.port,C.path=Re(h.path||""),C.query=h.query):(h.userinfo!==void 0||h.host!==void 0||h.port!==void 0?(C.userinfo=h.userinfo,C.host=h.host,C.port=h.port,C.path=Re(h.path||""),C.query=h.query):(h.path?(h.path.charAt(0)==="/"?C.path=Re(h.path):((g.userinfo!==void 0||g.host!==void 0||g.port!==void 0)&&!g.path?C.path="/"+h.path:g.path?C.path=g.path.slice(0,g.path.lastIndexOf("/")+1)+h.path:C.path=h.path,C.path=Re(C.path)),C.query=h.query):(C.path=g.path,h.query!==void 0?C.query=h.query:C.query=g.query),C.userinfo=g.userinfo,C.host=g.host,C.port=g.port),C.scheme=g.scheme),C.fragment=h.fragment,C}function Ge(g,h,v){var w=o({scheme:"null"},v);return Ee(Ae(Y(g,w),Y(h,w),w,!0),w)}function Oe(g,h){return typeof g=="string"?g=Ee(Y(g,h),h):a(g)==="object"&&(g=Y(Ee(g,h),h)),g}function pr(g,h,v){return typeof g=="string"?g=Ee(Y(g,v),v):a(g)==="object"&&(g=Ee(g,v)),typeof h=="string"?h=Ee(Y(h,v),v):a(h)==="object"&&(h=Ee(h,v)),g===h}function Zr(g,h){return g&&g.toString().replace(!h||!h.iri?d.ESCAPE:u.ESCAPE,be)}function Be(g,h){return g&&g.toString().replace(!h||!h.iri?d.PCT_ENCODED:u.PCT_ENCODED,Fe)}var Ht={scheme:"http",domainHost:!0,parse:function(h,v){return h.host||(h.error=h.error||"HTTP URIs must have a host."),h},serialize:function(h,v){var w=String(h.scheme).toLowerCase()==="https";return(h.port===(w?443:80)||h.port==="")&&(h.port=void 0),h.path||(h.path="/"),h}},Ki={scheme:"https",domainHost:Ht.domainHost,parse:Ht.parse,serialize:Ht.serialize};function Zi(g){return typeof g.secure=="boolean"?g.secure:String(g.scheme).toLowerCase()==="wss"}var Qt={scheme:"ws",domainHost:!0,parse:function(h,v){var w=h;return w.secure=Zi(w),w.resourceName=(w.path||"/")+(w.query?"?"+w.query:""),w.path=void 0,w.query=void 0,w},serialize:function(h,v){if((h.port===(Zi(h)?443:80)||h.port==="")&&(h.port=void 0),typeof h.secure=="boolean"&&(h.scheme=h.secure?"wss":"ws",h.secure=void 0),h.resourceName){var w=h.resourceName.split("?"),C=p(w,2),_=C[0],M=C[1];h.path=_&&_!=="/"?_:void 0,h.query=M,h.resourceName=void 0}return h.fragment=void 0,h}},Yi={scheme:"wss",domainHost:Qt.domainHost,parse:Qt.parse,serialize:Qt.serialize},ho={},yo=!0,Xi="[A-Za-z0-9\\-\\.\\_\\~"+(yo?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]",He="[0-9A-Fa-f]",mo=i(i("%[EFef]"+He+"%"+He+He+"%"+He+He)+"|"+i("%[89A-Fa-f]"+He+"%"+He+He)+"|"+i("%"+He+He)),go="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",bo="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",vo=e(bo,'[\\"\\\\]'),So="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",wo=new RegExp(Xi,"g"),Lt=new RegExp(mo,"g"),Io=new RegExp(e("[^]",go,"[\\.]",'[\\"]',vo),"g"),ea=new RegExp(e("[^]",Xi,So),"g"),xo=ea;function Yr(g){var h=Fe(g);return h.match(wo)?h:g}var ta={scheme:"mailto",parse:function(h,v){var w=h,C=w.to=w.path?w.path.split(","):[];if(w.path=void 0,w.query){for(var _=!1,M={},J=w.query.split("&"),X=0,me=J.length;X<me;++X){var H=J[X].split("=");switch(H[0]){case"to":for(var oe=H[1].split(","),ge=0,ne=oe.length;ge<ne;++ge)C.push(oe[ge]);break;case"subject":w.subject=Be(H[1],v);break;case"body":w.body=Be(H[1],v);break;default:_=!0,M[Be(H[0],v)]=Be(H[1],v);break}}_&&(w.headers=M)}w.query=void 0;for(var Z=0,le=C.length;Z<le;++Z){var re=C[Z].split("@");if(re[0]=Be(re[0]),v.unicodeSupport)re[1]=Be(re[1],v).toLowerCase();else try{re[1]=K.toASCII(Be(re[1],v).toLowerCase())}catch(xt){w.error=w.error||"Email address's domain name can not be converted to ASCII via punycode: "+xt}C[Z]=re.join("@")}return w},serialize:function(h,v){var w=h,C=s(h.to);if(C){for(var _=0,M=C.length;_<M;++_){var J=String(C[_]),X=J.lastIndexOf("@"),me=J.slice(0,X).replace(Lt,Yr).replace(Lt,r).replace(Io,be),H=J.slice(X+1);try{H=v.iri?K.toUnicode(H):K.toASCII(Be(H,v).toLowerCase())}catch(Z){w.error=w.error||"Email address's domain name can not be converted to "+(v.iri?"Unicode":"ASCII")+" via punycode: "+Z}C[_]=me+"@"+H}w.path=C.join(",")}var oe=h.headers=h.headers||{};h.subject&&(oe.subject=h.subject),h.body&&(oe.body=h.body);var ge=[];for(var ne in oe)oe[ne]!==ho[ne]&&ge.push(ne.replace(Lt,Yr).replace(Lt,r).replace(ea,be)+"="+oe[ne].replace(Lt,Yr).replace(Lt,r).replace(xo,be));return ge.length&&(w.query=ge.join("&")),w}},Co=/^([^\:]+)\:(.*)/,ra={scheme:"urn",parse:function(h,v){var w=h.path&&h.path.match(Co),C=h;if(w){var _=v.scheme||C.scheme||"urn",M=w[1].toLowerCase(),J=w[2],X=_+":"+(v.nid||M),me=he[X];C.nid=M,C.nss=J,C.path=void 0,me&&(C=me.parse(C,v))}else C.error=C.error||"URN can not be parsed.";return C},serialize:function(h,v){var w=v.scheme||h.scheme||"urn",C=h.nid,_=w+":"+(v.nid||C),M=he[_];M&&(h=M.serialize(h,v));var J=h,X=h.nss;return J.path=(C||v.nid)+":"+X,J}},To=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,ia={scheme:"urn:uuid",parse:function(h,v){var w=h;return w.uuid=w.nss,w.nss=void 0,!v.tolerant&&(!w.uuid||!w.uuid.match(To))&&(w.error=w.error||"UUID is not valid."),w},serialize:function(h,v){var w=h;return w.nss=(h.uuid||"").toLowerCase(),w}};he[Ht.scheme]=Ht,he[Ki.scheme]=Ki,he[Qt.scheme]=Qt,he[Yi.scheme]=Yi,he[ta.scheme]=ta,he[ra.scheme]=ra,he[ia.scheme]=ia,t.SCHEMES=he,t.pctEncChar=be,t.pctDecChars=Fe,t.parse=Y,t.removeDotSegments=Re,t.serialize=Ee,t.resolveComponents=Ae,t.resolve=Ge,t.normalize=Oe,t.equal=pr,t.escapeComponent=Zr,t.unescapeComponent=Be,Object.defineProperty(t,"__esModule",{value:!0})})});var br=W((qu,xa)=>{"use strict";xa.exports=function t(e,i){if(e===i)return!0;if(e&&i&&typeof e=="object"&&typeof i=="object"){if(e.constructor!==i.constructor)return!1;var a,r,s;if(Array.isArray(e)){if(a=e.length,a!=i.length)return!1;for(r=a;r--!==0;)if(!t(e[r],i[r]))return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===i.toString();if(s=Object.keys(e),a=s.length,a!==Object.keys(i).length)return!1;for(r=a;r--!==0;)if(!Object.prototype.hasOwnProperty.call(i,s[r]))return!1;for(r=a;r--!==0;){var o=s[r];if(!t(e[o],i[o]))return!1}return!0}return e!==e&&i!==i}});var Ta=W((Bu,Ca)=>{"use strict";Ca.exports=function(e){for(var i=0,a=e.length,r=0,s;r<a;)i++,s=e.charCodeAt(r++),s>=55296&&s<=56319&&r<a&&(s=e.charCodeAt(r),(s&64512)==56320&&r++);return i}});var Ft=W((ku,Aa)=>{"use strict";Aa.exports={copy:Bo,checkDataType:ni,checkDataTypes:ko,coerceToTypes:No,toHash:li,getProperty:di,escapeQuotes:pi,equal:br(),ucs2length:Ta(),varOccurences:zo,varReplace:Vo,schemaHasRules:Uo,schemaHasRulesExcept:Go,schemaUnknownRules:Ho,toQuotedString:oi,getPathExpr:Qo,getPath:Jo,getData:Yo,unescapeFragment:Xo,unescapeJsonPointer:ui,escapeFragment:el,escapeJsonPointer:ci};function Bo(t,e){e=e||{};for(var i in t)e[i]=t[i];return e}function ni(t,e,i,a){var r=a?" !== ":" === ",s=a?" || ":" && ",o=a?"!":"",n=a?"":"!";switch(t){case"null":return e+r+"null";case"array":return o+"Array.isArray("+e+")";case"object":return"("+o+e+s+"typeof "+e+r+'"object"'+s+n+"Array.isArray("+e+"))";case"integer":return"(typeof "+e+r+'"number"'+s+n+"("+e+" % 1)"+s+e+r+e+(i?s+o+"isFinite("+e+")":"")+")";case"number":return"(typeof "+e+r+'"'+t+'"'+(i?s+o+"isFinite("+e+")":"")+")";default:return"typeof "+e+r+'"'+t+'"'}}function ko(t,e,i){switch(t.length){case 1:return ni(t[0],e,i,!0);default:var a="",r=li(t);r.array&&r.object&&(a=r.null?"(":"(!"+e+" || ",a+="typeof "+e+' !== "object")',delete r.null,delete r.array,delete r.object),r.number&&delete r.integer;for(var s in r)a+=(a?" && ":"")+ni(s,e,i,!0);return a}}var Pa=li(["string","number","integer","boolean","null"]);function No(t,e){if(Array.isArray(e)){for(var i=[],a=0;a<e.length;a++){var r=e[a];(Pa[r]||t==="array"&&r==="array")&&(i[i.length]=r)}if(i.length)return i}else{if(Pa[e])return[e];if(t==="array"&&e==="array")return["array"]}}function li(t){for(var e={},i=0;i<t.length;i++)e[t[i]]=!0;return e}var Wo=/^[a-z$_][a-z$_0-9]*$/i,Mo=/'|\\/g;function di(t){return typeof t=="number"?"["+t+"]":Wo.test(t)?"."+t:"['"+pi(t)+"']"}function pi(t){return t.replace(Mo,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function zo(t,e){e+="[^0-9]";var i=t.match(new RegExp(e,"g"));return i?i.length:0}function Vo(t,e,i){return e+="([^0-9])",i=i.replace(/\$/g,"$$$$"),t.replace(new RegExp(e,"g"),i+"$1")}function Uo(t,e){if(typeof t=="boolean")return!t;for(var i in t)if(e[i])return!0}function Go(t,e,i){if(typeof t=="boolean")return!t&&i!="not";for(var a in t)if(a!=i&&e[a])return!0}function Ho(t,e){if(typeof t!="boolean"){for(var i in t)if(!e[i])return i}}function oi(t){return"'"+pi(t)+"'"}function Qo(t,e,i,a){var r=i?"'/' + "+e+(a?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):a?"'[' + "+e+" + ']'":"'[\\'' + "+e+" + '\\']'";return Fa(t,r)}function Jo(t,e,i){var a=oi(i?"/"+ci(e):di(e));return Fa(t,a)}var Ko=/^\/(?:[^~]|~0|~1)*$/,Zo=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function Yo(t,e,i){var a,r,s,o;if(t==="")return"rootData";if(t[0]=="/"){if(!Ko.test(t))throw new Error("Invalid JSON-pointer: "+t);r=t,s="rootData"}else{if(o=t.match(Zo),!o)throw new Error("Invalid JSON-pointer: "+t);if(a=+o[1],r=o[2],r=="#"){if(a>=e)throw new Error("Cannot access property/index "+a+" levels up, current level is "+e);return i[e-a]}if(a>e)throw new Error("Cannot access data "+a+" levels up, current level is "+e);if(s="data"+(e-a||""),!r)return s}for(var n=s,d=r.split("/"),u=0;u<d.length;u++){var p=d[u];p&&(s+=di(ui(p)),n+=" && "+s)}return n}function Fa(t,e){return t=='""'?e:(t+" + "+e).replace(/([^\\])' \+ '/g,"$1")}function Xo(t){return ui(decodeURIComponent(t))}function el(t){return encodeURIComponent(ci(t))}function ci(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}function ui(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}});var fi=W((Nu,Ea)=>{"use strict";var tl=Ft();Ea.exports=rl;function rl(t){tl.copy(t,this)}});var Oa=W((Wu,$a)=>{"use strict";var ut=$a.exports=function(t,e,i){typeof e=="function"&&(i=e,e={}),i=e.cb||i;var a=typeof i=="function"?i:i.pre||function(){},r=i.post||function(){};vr(e,a,r,t,"",t)};ut.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0};ut.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};ut.propsKeywords={definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};ut.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 vr(t,e,i,a,r,s,o,n,d,u){if(a&&typeof a=="object"&&!Array.isArray(a)){e(a,r,s,o,n,d,u);for(var p in a){var c=a[p];if(Array.isArray(c)){if(p in ut.arrayKeywords)for(var f=0;f<c.length;f++)vr(t,e,i,c[f],r+"/"+p+"/"+f,s,r,p,a,f)}else if(p in ut.propsKeywords){if(c&&typeof c=="object")for(var l in c)vr(t,e,i,c[l],r+"/"+p+"/"+il(l),s,r,p,a,l)}else(p in ut.keywords||t.allKeys&&!(p in ut.skipKeywords))&&vr(t,e,i,c,r+"/"+p,s,r,p,a)}i(a,r,s,o,n,d,u)}}function il(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}});var Tr=W((Mu,ja)=>{"use strict";var rr=Ia(),Da=br(),xr=Ft(),Sr=fi(),al=Oa();ja.exports=ht;ht.normalizeId=ft;ht.fullPath=wr;ht.url=Ir;ht.ids=dl;ht.inlineRef=hi;ht.schema=Cr;function ht(t,e,i){var a=this._refs[i];if(typeof a=="string")if(this._refs[a])a=this._refs[a];else return ht.call(this,t,e,a);if(a=a||this._schemas[i],a instanceof Sr)return hi(a.schema,this._opts.inlineRefs)?a.schema:a.validate||this._compile(a);var r=Cr.call(this,e,i),s,o,n;return r&&(s=r.schema,e=r.root,n=r.baseId),s instanceof Sr?o=s.validate||t.call(this,s.schema,e,void 0,n):s!==void 0&&(o=hi(s,this._opts.inlineRefs)?s:t.call(this,s,e,void 0,n)),o}function Cr(t,e){var i=rr.parse(e),a=Ra(i),r=wr(this._getId(t.schema));if(Object.keys(t.schema).length===0||a!==r){var s=ft(a),o=this._refs[s];if(typeof o=="string")return sl.call(this,t,o,i);if(o instanceof Sr)o.validate||this._compile(o),t=o;else if(o=this._schemas[s],o instanceof Sr){if(o.validate||this._compile(o),s==ft(e))return{schema:o,root:t,baseId:r};t=o}else return;if(!t.schema)return;r=wr(this._getId(t.schema))}return La.call(this,i,r,t.schema,t)}function sl(t,e,i){var a=Cr.call(this,t,e);if(a){var r=a.schema,s=a.baseId;t=a.root;var o=this._getId(r);return o&&(s=Ir(s,o)),La.call(this,i,s,r,t)}}var nl=xr.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function La(t,e,i,a){if(t.fragment=t.fragment||"",t.fragment.slice(0,1)=="/"){for(var r=t.fragment.split("/"),s=1;s<r.length;s++){var o=r[s];if(o){if(o=xr.unescapeFragment(o),i=i[o],i===void 0)break;var n;if(!nl[o]&&(n=this._getId(i),n&&(e=Ir(e,n)),i.$ref)){var d=Ir(e,i.$ref),u=Cr.call(this,a,d);u&&(i=u.schema,a=u.root,e=u.baseId)}}}if(i!==void 0&&i!==a.schema)return{schema:i,root:a,baseId:e}}}var ol=xr.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function hi(t,e){if(e===!1)return!1;if(e===void 0||e===!0)return yi(t);if(e)return mi(t)<=e}function yi(t){var e;if(Array.isArray(t)){for(var i=0;i<t.length;i++)if(e=t[i],typeof e=="object"&&!yi(e))return!1}else for(var a in t)if(a=="$ref"||(e=t[a],typeof e=="object"&&!yi(e)))return!1;return!0}function mi(t){var e=0,i;if(Array.isArray(t)){for(var a=0;a<t.length;a++)if(i=t[a],typeof i=="object"&&(e+=mi(i)),e==1/0)return 1/0}else for(var r in t){if(r=="$ref")return 1/0;if(ol[r])e++;else if(i=t[r],typeof i=="object"&&(e+=mi(i)+1),e==1/0)return 1/0}return e}function wr(t,e){e!==!1&&(t=ft(t));var i=rr.parse(t);return Ra(i)}function Ra(t){return rr.serialize(t).split("#")[0]+"#"}var ll=/#\/?$/;function ft(t){return t?t.replace(ll,""):""}function Ir(t,e){return e=ft(e),rr.resolve(t,e)}function dl(t){var e=ft(this._getId(t)),i={"":e},a={"":wr(e,!1)},r={},s=this;return al(t,{allKeys:!0},function(o,n,d,u,p,c,f){if(n!==""){var l=s._getId(o),y=i[u],b=a[u]+"/"+p;if(f!==void 0&&(b+="/"+(typeof f=="number"?f:xr.escapeFragment(f))),typeof l=="string"){l=y=ft(y?rr.resolve(y,l):l);var m=s._refs[l];if(typeof m=="string"&&(m=s._refs[m]),m&&m.schema){if(!Da(o,m.schema))throw new Error('id "'+l+'" resolves to more than one schema')}else if(l!=ft(b))if(l[0]=="#"){if(r[l]&&!Da(o,r[l]))throw new Error('id "'+l+'" resolves to more than one schema');r[l]=o}else s._refs[l]=b}i[n]=y,a[n]=b}}),r}});var Pr=W((zu,qa)=>{"use strict";var gi=Tr();qa.exports={Validation:_a(pl),MissingRef:_a(bi)};function pl(t){this.message="validation failed",this.errors=t,this.ajv=this.validation=!0}bi.message=function(t,e){return"can't resolve reference "+e+" from id "+t};function bi(t,e,i){this.message=i||bi.message(t,e),this.missingRef=gi.url(t,e),this.missingSchema=gi.normalizeId(gi.fullPath(this.missingRef))}function _a(t){return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}});var vi=W((Vu,Ba)=>{"use strict";Ba.exports=function(t,e){e||(e={}),typeof e=="function"&&(e={cmp:e});var i=typeof e.cycles=="boolean"?e.cycles:!1,a=e.cmp&&function(s){return function(o){return function(n,d){var u={key:n,value:o[n]},p={key:d,value:o[d]};return s(u,p)}}}(e.cmp),r=[];return function s(o){if(o&&o.toJSON&&typeof o.toJSON=="function"&&(o=o.toJSON()),o!==void 0){if(typeof o=="number")return isFinite(o)?""+o:"null";if(typeof o!="object")return JSON.stringify(o);var n,d;if(Array.isArray(o)){for(d="[",n=0;n<o.length;n++)n&&(d+=","),d+=s(o[n])||"null";return d+"]"}if(o===null)return"null";if(r.indexOf(o)!==-1){if(i)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var u=r.push(o)-1,p=Object.keys(o).sort(a&&a(o));for(d="",n=0;n<p.length;n++){var c=p[n],f=s(o[c]);f&&(d&&(d+=","),d+=JSON.stringify(c)+":"+f)}return r.splice(u,1),"{"+d+"}"}}(t)}});var Si=W((Uu,ka)=>{"use strict";ka.exports=function(e,i,a){var r="",s=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 d=e.util.schemaUnknownRules(e.schema,e.RULES.keywords);if(d){var u="unknown keyword: "+d;if(e.opts.strictKeywords==="log")e.logger.warn(u);else throw new Error(u)}}if(e.isTop&&(r+=" var validate = ",s&&(e.async=!0,r+="async "),r+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ",n&&(e.opts.sourceCode||e.opts.processCode)&&(r+=" "+("/*# sourceURL="+n+" */")+" ")),typeof e.schema=="boolean"||!(o||e.schema.$ref)){var i="false schema",p=e.level,c=e.dataLevel,f=e.schema[i],l=e.schemaPath+e.util.getProperty(i),y=e.errSchemaPath+"/"+i,F=!e.opts.allErrors,L,b="data"+(c||""),P="valid"+p;if(e.schema===!1){e.isTop?F=!0:r+=" var "+P+" = false; ";var m=m||[];m.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(L||"false schema")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(y)+" , params: {} ",e.opts.messages!==!1&&(r+=" , message: 'boolean schema is false' "),e.opts.verbose&&(r+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+b+" "),r+=" } "):r+=" {} ";var S=r;r=m.pop(),!e.compositeRule&&F?e.async?r+=" throw new ValidationError(["+S+"]); ":r+=" validate.errors = ["+S+"]; return false; ":r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else e.isTop?s?r+=" return data; ":r+=" validate.errors = null; return true; ":r+=" var "+P+" = true; ";return e.isTop&&(r+=" }; return validate; "),r}if(e.isTop){var T=e.isTop,p=e.level=0,c=e.dataLevel=0,b="data";if(e.rootId=e.resolve.fullPath(e.self._getId(e.root.schema)),e.baseId=e.baseId||e.rootId,delete e.isTop,e.dataPathArr=[""],e.schema.default!==void 0&&e.opts.useDefaults&&e.opts.strictDefaults){var x="default is ignored in the schema root";if(e.opts.strictDefaults==="log")e.logger.warn(x);else throw new Error(x)}r+=" var vErrors = null; ",r+=" var errors = 0; ",r+=" if (rootData === undefined) rootData = data; "}else{var p=e.level,c=e.dataLevel,b="data"+(c||"");if(n&&(e.baseId=e.resolve.url(e.baseId,n)),s&&!e.async)throw new Error("async schema in sync schema");r+=" var errs_"+p+" = errors;"}var P="valid"+p,F=!e.opts.allErrors,$="",q="",L,A=e.schema.type,R=Array.isArray(A);if(A&&e.opts.nullable&&e.schema.nullable===!0&&(R?A.indexOf("null")==-1&&(A=A.concat("null")):A!="null"&&(A=[A,"null"],R=!0)),R&&A.length==1&&(A=A[0],R=!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&&(r+=" "+e.RULES.all.$comment.code(e,"$comment")),A){if(e.opts.coerceTypes)var D=e.util.coerceToTypes(e.opts.coerceTypes,A);var j=e.RULES.types[A];if(D||R||j===!0||j&&!ve(j)){var l=e.schemaPath+".type",y=e.errSchemaPath+"/type",l=e.schemaPath+".type",y=e.errSchemaPath+"/type",E=R?"checkDataTypes":"checkDataType";if(r+=" if ("+e.util[E](A,b,e.opts.strictNumbers,!0)+") { ",D){var O="dataType"+p,B="coerced"+p;r+=" var "+O+" = typeof "+b+"; var "+B+" = undefined; ",e.opts.coerceTypes=="array"&&(r+=" if ("+O+" == 'object' && Array.isArray("+b+") && "+b+".length == 1) { "+b+" = "+b+"[0]; "+O+" = typeof "+b+"; if ("+e.util.checkDataType(e.schema.type,b,e.opts.strictNumbers)+") "+B+" = "+b+"; } "),r+=" if ("+B+" !== undefined) ; ";var te=D;if(te)for(var V,G=-1,z=te.length-1;G<z;)V=te[G+=1],V=="string"?r+=" else if ("+O+" == 'number' || "+O+" == 'boolean') "+B+" = '' + "+b+"; else if ("+b+" === null) "+B+" = ''; ":V=="number"||V=="integer"?(r+=" else if ("+O+" == 'boolean' || "+b+" === null || ("+O+" == 'string' && "+b+" && "+b+" == +"+b+" ",V=="integer"&&(r+=" && !("+b+" % 1)"),r+=")) "+B+" = +"+b+"; "):V=="boolean"?r+=" else if ("+b+" === 'false' || "+b+" === 0 || "+b+" === null) "+B+" = false; else if ("+b+" === 'true' || "+b+" === 1) "+B+" = true; ":V=="null"?r+=" else if ("+b+" === '' || "+b+" === 0 || "+b+" === false) "+B+" = null; ":e.opts.coerceTypes=="array"&&V=="array"&&(r+=" else if ("+O+" == 'string' || "+O+" == 'number' || "+O+" == 'boolean' || "+b+" == null) "+B+" = ["+b+"]; ");r+=" else { ";var m=m||[];m.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(L||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(y)+" , params: { type: '",R?r+=""+A.join(","):r+=""+A,r+="' } ",e.opts.messages!==!1&&(r+=" , message: 'should be ",R?r+=""+A.join(","):r+=""+A,r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+b+" "),r+=" } "):r+=" {} ";var S=r;r=m.pop(),!e.compositeRule&&F?e.async?r+=" throw new ValidationError(["+S+"]); ":r+=" validate.errors = ["+S+"]; return false; ":r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } if ("+B+" !== undefined) { ";var N=c?"data"+(c-1||""):"parentData",pe=c?e.dataPathArr[c]:"parentDataProperty";r+=" "+b+" = "+B+"; ",c||(r+="if ("+N+" !== undefined)"),r+=" "+N+"["+pe+"] = "+B+"; } "}else{var m=m||[];m.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(L||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(y)+" , params: { type: '",R?r+=""+A.join(","):r+=""+A,r+="' } ",e.opts.messages!==!1&&(r+=" , message: 'should be ",R?r+=""+A.join(","):r+=""+A,r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+b+" "),r+=" } "):r+=" {} ";var S=r;r=m.pop(),!e.compositeRule&&F?e.async?r+=" throw new ValidationError(["+S+"]); ":r+=" validate.errors = ["+S+"]; return false; ":r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}r+=" } "}}if(e.schema.$ref&&!o)r+=" "+e.RULES.all.$ref.code(e,"$ref")+" ",F&&(r+=" } if (errors === ",T?r+="0":r+="errs_"+p,r+=") { ",q+="}");else{var we=e.RULES;if(we){for(var j,Pe=-1,K=we.length-1;Pe<K;)if(j=we[Pe+=1],ve(j)){if(j.type&&(r+=" if ("+e.util.checkDataType(j.type,b,e.opts.strictNumbers)+") { "),e.opts.useDefaults){if(j.type=="object"&&e.schema.properties){var f=e.schema.properties,he=Object.keys(f),be=he;if(be)for(var Fe,dt=-1,Ze=be.length-1;dt<Ze;){Fe=be[dt+=1];var ye=f[Fe];if(ye.default!==void 0){var ce=b+e.util.getProperty(Fe);if(e.compositeRule){if(e.opts.strictDefaults){var x="default is ignored for: "+ce;if(e.opts.strictDefaults==="log")e.logger.warn(x);else throw new Error(x)}}else r+=" if ("+ce+" === undefined ",e.opts.useDefaults=="empty"&&(r+=" || "+ce+" === null || "+ce+" === '' "),r+=" ) "+ce+" = ",e.opts.useDefaults=="shared"?r+=" "+e.useDefault(ye.default)+" ":r+=" "+JSON.stringify(ye.default)+" ",r+="; "}}}else if(j.type=="array"&&Array.isArray(e.schema.items)){var St=e.schema.items;if(St){for(var ye,G=-1,Ie=St.length-1;G<Ie;)if(ye=St[G+=1],ye.default!==void 0){var ce=b+"["+G+"]";if(e.compositeRule){if(e.opts.strictDefaults){var x="default is ignored for: "+ce;if(e.opts.strictDefaults==="log")e.logger.warn(x);else throw new Error(x)}}else r+=" if ("+ce+" === undefined ",e.opts.useDefaults=="empty"&&(r+=" || "+ce+" === null || "+ce+" === '' "),r+=" ) "+ce+" = ",e.opts.useDefaults=="shared"?r+=" "+e.useDefault(ye.default)+" ":r+=" "+JSON.stringify(ye.default)+" ",r+="; "}}}}var Y=j.rules;if(Y){for(var pt,Ye=-1,wt=Y.length-1;Ye<wt;)if(pt=Y[Ye+=1],Re(pt)){var It=pt.code(e,pt.keyword,j.type);It&&(r+=" "+It+" ",F&&($+="}"))}}if(F&&(r+=" "+$+" ",$=""),j.type&&(r+=" } ",A&&A===j.type&&!D)){r+=" else { ";var l=e.schemaPath+".type",y=e.errSchemaPath+"/type",m=m||[];m.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(L||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(y)+" , params: { type: '",R?r+=""+A.join(","):r+=""+A,r+="' } ",e.opts.messages!==!1&&(r+=" , message: 'should be ",R?r+=""+A.join(","):r+=""+A,r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+b+" "),r+=" } "):r+=" {} ";var S=r;r=m.pop(),!e.compositeRule&&F?e.async?r+=" throw new ValidationError(["+S+"]); ":r+=" validate.errors = ["+S+"]; return false; ":r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } "}F&&(r+=" if (errors === ",T?r+="0":r+="errs_"+p,r+=") { ",q+="}")}}}F&&(r+=" "+q+" "),T?(s?(r+=" if (errors === 0) return data; ",r+=" else throw new ValidationError(vErrors); "):(r+=" validate.errors = vErrors; ",r+=" return errors === 0; "),r+=" }; return validate;"):r+=" var "+P+" = errors === errs_"+p+";";function ve(Ae){for(var Ge=Ae.rules,Oe=0;Oe<Ge.length;Oe++)if(Re(Ge[Oe]))return!0}function Re(Ae){return e.schema[Ae.keyword]!==void 0||Ae.implements&&Ee(Ae)}function Ee(Ae){for(var Ge=Ae.implements,Oe=0;Oe<Ge.length;Oe++)if(e.schema[Ge[Oe]]!==void 0)return!0}return r}});var Va=W((Gu,za)=>{"use strict";var Fr=Tr(),Er=Ft(),Wa=Pr(),cl=vi(),Na=Si(),ul=Er.ucs2length,fl=br(),hl=Wa.Validation;za.exports=wi;function wi(t,e,i,a){var r=this,s=this._opts,o=[void 0],n={},d=[],u={},p=[],c={},f=[];e=e||{schema:t,refVal:o,refs:n};var l=yl.call(this,t,e,a),y=this._compilations[l.index];if(l.compiling)return y.callValidate=x;var b=this._formats,m=this.RULES;try{var S=P(t,e,i,a);y.validate=S;var T=y.callValidate;return T&&(T.schema=S.schema,T.errors=null,T.refs=S.refs,T.refVal=S.refVal,T.root=S.root,T.$async=S.$async,s.sourceCode&&(T.source=S.source)),S}finally{ml.call(this,t,e,a)}function x(){var E=y.validate,O=E.apply(this,arguments);return x.errors=E.errors,O}function P(E,O,B,te){var V=!O||O&&O.schema==E;if(O.schema!=e.schema)return wi.call(r,E,O,B,te);var G=E.$async===!0,z=Na({isTop:!0,schema:E,isRoot:V,baseId:te,root:O,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:Wa.MissingRef,RULES:m,validate:Na,util:Er,resolve:Fr,resolveRef:F,usePattern:R,useDefault:D,useCustomRule:j,opts:s,formats:b,logger:r.logger,self:r});z=Ar(o,vl)+Ar(d,gl)+Ar(p,bl)+Ar(f,Sl)+z,s.processCode&&(z=s.processCode(z,E));var N;try{var pe=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",z);N=pe(r,m,b,e,o,p,f,fl,ul,hl),o[0]=N}catch(we){throw r.logger.error("Error compiling schema, function code:",z),we}return N.schema=E,N.errors=null,N.refs=n,N.refVal=o,N.root=V?N:O,G&&(N.$async=!0),s.sourceCode===!0&&(N.source={code:z,patterns:d,defaults:p}),N}function F(E,O,B){O=Fr.url(E,O);var te=n[O],V,G;if(te!==void 0)return V=o[te],G="refVal["+te+"]",A(V,G);if(!B&&e.refs){var z=e.refs[O];if(z!==void 0)return V=e.refVal[z],G=$(O,V),A(V,G)}G=$(O);var N=Fr.call(r,P,e,O);if(N===void 0){var pe=i&&i[O];pe&&(N=Fr.inlineRef(pe,s.inlineRefs)?pe:wi.call(r,pe,e,i,E))}if(N===void 0)q(O);else return L(O,N),A(N,G)}function $(E,O){var B=o.length;return o[B]=O,n[E]=B,"refVal"+B}function q(E){delete n[E]}function L(E,O){var B=n[E];o[B]=O}function A(E,O){return typeof E=="object"||typeof E=="boolean"?{code:O,schema:E,inline:!0}:{code:O,$async:E&&!!E.$async}}function R(E){var O=u[E];return O===void 0&&(O=u[E]=d.length,d[O]=E),"pattern"+O}function D(E){switch(typeof E){case"boolean":case"number":return""+E;case"string":return Er.toQuotedString(E);case"object":if(E===null)return"null";var O=cl(E),B=c[O];return B===void 0&&(B=c[O]=p.length,p[B]=E),"default"+B}}function j(E,O,B,te){if(r._opts.validateSchema!==!1){var V=E.definition.dependencies;if(V&&!V.every(function(be){return Object.prototype.hasOwnProperty.call(B,be)}))throw new Error("parent schema must have all required keywords: "+V.join(","));var G=E.definition.validateSchema;if(G){var z=G(O);if(!z){var N="keyword schema is invalid: "+r.errorsText(G.errors);if(r._opts.validateSchema=="log")r.logger.error(N);else throw new Error(N)}}}var pe=E.definition.compile,we=E.definition.inline,Pe=E.definition.macro,K;if(pe)K=pe.call(r,O,B,te);else if(Pe)K=Pe.call(r,O,B,te),s.validateSchema!==!1&&r.validateSchema(K,!0);else if(we)K=we.call(r,te,E.keyword,O,B);else if(K=E.definition.validate,!K)return;if(K===void 0)throw new Error('custom keyword "'+E.keyword+'"failed to compile');var he=f.length;return f[he]=K,{code:"customRule"+he,validate:K}}}function yl(t,e,i){var a=Ma.call(this,t,e,i);return a>=0?{index:a,compiling:!0}:(a=this._compilations.length,this._compilations[a]={schema:t,root:e,baseId:i},{index:a,compiling:!1})}function ml(t,e,i){var a=Ma.call(this,t,e,i);a>=0&&this._compilations.splice(a,1)}function Ma(t,e,i){for(var a=0;a<this._compilations.length;a++){var r=this._compilations[a];if(r.schema==t&&r.root==e&&r.baseId==i)return a}return-1}function gl(t,e){return"var pattern"+t+" = new RegExp("+Er.toQuotedString(e[t])+");"}function bl(t){return"var default"+t+" = defaults["+t+"];"}function vl(t,e){return e[t]===void 0?"":"var refVal"+t+" = refVal["+t+"];"}function Sl(t){return"var customRule"+t+" = customRules["+t+"];"}function Ar(t,e){if(!t.length)return"";for(var i="",a=0;a<t.length;a++)i+=e(a,t);return i}});var Ga=W((Hu,Ua)=>{"use strict";var $r=Ua.exports=function(){this._cache={}};$r.prototype.put=function(e,i){this._cache[e]=i};$r.prototype.get=function(e){return this._cache[e]};$r.prototype.del=function(e){delete this._cache[e]};$r.prototype.clear=function(){this._cache={}}});var as=W((Qu,is)=>{"use strict";var wl=Ft(),Il=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,xl=[0,31,28,31,30,31,30,31,31,30,31,30,31],Cl=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i,Ha=/^(?=.{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,Tl=/^(?:[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,Pl=/^(?:[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,Qa=/^(?:(?:[^\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,Ja=/^(?:(?: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,Ka=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,Za=/^(?:\/(?:[^~/]|~0|~1)*)*$/,Ya=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,Xa=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;is.exports=Or;function Or(t){return t=t=="full"?"full":"fast",wl.copy(Or[t])}Or.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":Qa,url:Ja,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:Ha,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:rs,uuid:Ka,"json-pointer":Za,"json-pointer-uri-fragment":Ya,"relative-json-pointer":Xa};Or.full={date:es,time:ts,"date-time":El,uri:Ol,"uri-reference":Pl,"uri-template":Qa,url:Ja,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:Ha,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:rs,uuid:Ka,"json-pointer":Za,"json-pointer-uri-fragment":Ya,"relative-json-pointer":Xa};function Fl(t){return t%4===0&&(t%100!==0||t%400===0)}function es(t){var e=t.match(Il);if(!e)return!1;var i=+e[1],a=+e[2],r=+e[3];return a>=1&&a<=12&&r>=1&&r<=(a==2&&Fl(i)?29:xl[a])}function ts(t,e){var i=t.match(Cl);if(!i)return!1;var a=i[1],r=i[2],s=i[3],o=i[5];return(a<=23&&r<=59&&s<=59||a==23&&r==59&&s==60)&&(!e||o)}var Al=/t|\s/i;function El(t){var e=t.split(Al);return e.length==2&&es(e[0])&&ts(e[1],!0)}var $l=/\/|:/;function Ol(t){return $l.test(t)&&Tl.test(t)}var Dl=/[^\\]\\Z/;function rs(t){if(Dl.test(t))return!1;try{return new RegExp(t),!0}catch{return!1}}});var ns=W((Ju,ss)=>{"use strict";ss.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.errSchemaPath+"/"+i,u=!e.opts.allErrors,p="data"+(o||""),c="valid"+s,f,l;if(n=="#"||n=="#/")e.isRoot?(f=e.async,l="validate"):(f=e.root.schema.$async===!0,l="root.refVal[0]");else{var y=e.resolveRef(e.baseId,n,e.isRoot);if(y===void 0){var b=e.MissingRefError.message(e.baseId,n);if(e.opts.missingRefs=="fail"){e.logger.error(b);var m=m||[];m.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '$ref' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: { ref: '"+e.util.escapeQuotes(n)+"' } ",e.opts.messages!==!1&&(r+=" , message: 'can\\'t resolve reference "+e.util.escapeQuotes(n)+"' "),e.opts.verbose&&(r+=" , schema: "+e.util.toQuotedString(n)+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),r+=" } "):r+=" {} ";var S=r;r=m.pop(),!e.compositeRule&&u?e.async?r+=" throw new ValidationError(["+S+"]); ":r+=" validate.errors = ["+S+"]; return false; ":r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u&&(r+=" if (false) { ")}else if(e.opts.missingRefs=="ignore")e.logger.warn(b),u&&(r+=" if (true) { ");else throw new e.MissingRefError(e.baseId,n,b)}else if(y.inline){var T=e.util.copy(e);T.level++;var x="valid"+T.level;T.schema=y.schema,T.schemaPath="",T.errSchemaPath=n;var P=e.validate(T).replace(/validate\.schema/g,y.code);r+=" "+P+" ",u&&(r+=" if ("+x+") { ")}else f=y.$async===!0||e.async&&y.$async!==!1,l=y.code}if(l){var m=m||[];m.push(r),r="",e.opts.passContext?r+=" "+l+".call(this, ":r+=" "+l+"( ",r+=" "+p+", (dataPath || '')",e.errorPath!='""'&&(r+=" + "+e.errorPath);var F=o?"data"+(o-1||""):"parentData",$=o?e.dataPathArr[o]:"parentDataProperty";r+=" , "+F+" , "+$+", rootData) ";var q=r;if(r=m.pop(),f){if(!e.async)throw new Error("async schema referenced by sync schema");u&&(r+=" var "+c+"; "),r+=" try { await "+q+"; ",u&&(r+=" "+c+" = true; "),r+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ",u&&(r+=" "+c+" = false; "),r+=" } ",u&&(r+=" if ("+c+") { ")}else r+=" if (!"+q+") { if (vErrors === null) vErrors = "+l+".errors; else vErrors = vErrors.concat("+l+".errors); errors = vErrors.length; } ",u&&(r+=" else { ")}return r}});var ls=W((Ku,os)=>{"use strict";os.exports=function(e,i,a){var r=" ",s=e.schema[i],o=e.schemaPath+e.util.getProperty(i),n=e.errSchemaPath+"/"+i,d=!e.opts.allErrors,u=e.util.copy(e),p="";u.level++;var c="valid"+u.level,f=u.baseId,l=!0,y=s;if(y)for(var b,m=-1,S=y.length-1;m<S;)b=y[m+=1],(e.opts.strictKeywords?typeof b=="object"&&Object.keys(b).length>0||b===!1:e.util.schemaHasRules(b,e.RULES.all))&&(l=!1,u.schema=b,u.schemaPath=o+"["+m+"]",u.errSchemaPath=n+"/"+m,r+=" "+e.validate(u)+" ",u.baseId=f,d&&(r+=" if ("+c+") { ",p+="}"));return d&&(l?r+=" if (true) { ":r+=" "+p.slice(0,-1)+" "),r}});var ps=W((Zu,ds)=>{"use strict";ds.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="valid"+s,l="errs__"+s,y=e.util.copy(e),b="";y.level++;var m="valid"+y.level,S=n.every(function(L){return e.opts.strictKeywords?typeof L=="object"&&Object.keys(L).length>0||L===!1:e.util.schemaHasRules(L,e.RULES.all)});if(S){var T=y.baseId;r+=" var "+l+" = errors; var "+f+" = false; ";var x=e.compositeRule;e.compositeRule=y.compositeRule=!0;var P=n;if(P)for(var F,$=-1,q=P.length-1;$<q;)F=P[$+=1],y.schema=F,y.schemaPath=d+"["+$+"]",y.errSchemaPath=u+"/"+$,r+=" "+e.validate(y)+" ",y.baseId=T,r+=" "+f+" = "+f+" || "+m+"; if (!"+f+") { ",b+="}";e.compositeRule=y.compositeRule=x,r+=" "+b+" if (!"+f+") { var err = ",e.createErrors!==!1?(r+=" { keyword: 'anyOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",e.opts.messages!==!1&&(r+=" , message: 'should match some schema in anyOf' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&p&&(e.async?r+=" throw new ValidationError(vErrors); ":r+=" validate.errors = vErrors; return false; "),r+=" } else { errors = "+l+"; if (vErrors !== null) { if ("+l+") vErrors.length = "+l+"; else vErrors = null; } ",e.opts.allErrors&&(r+=" } ")}else p&&(r+=" if (true) { ");return r}});var us=W((Yu,cs)=>{"use strict";cs.exports=function(e,i,a){var r=" ",s=e.schema[i],o=e.errSchemaPath+"/"+i,n=!e.opts.allErrors,d=e.util.toQuotedString(s);return e.opts.$comment===!0?r+=" console.log("+d+");":typeof e.opts.$comment=="function"&&(r+=" self._opts.$comment("+d+", "+e.util.toQuotedString(o)+", validate.root.schema);"),r}});var hs=W((Xu,fs)=>{"use strict";fs.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="valid"+s,l=e.opts.$data&&n&&n.$data,y;l?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",y="schema"+s):y=n,l||(r+=" var schema"+s+" = validate.schema"+d+";"),r+="var "+f+" = equal("+c+", schema"+s+"); if (!"+f+") { ";var b=b||[];b.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'const' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { allowedValue: schema"+s+" } ",e.opts.messages!==!1&&(r+=" , message: 'should be equal to constant' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var m=r;return r=b.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+m+"]); ":r+=" validate.errors = ["+m+"]; return false; ":r+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" }",p&&(r+=" else { "),r}});var ms=W((ef,ys)=>{"use strict";ys.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="valid"+s,l="errs__"+s,y=e.util.copy(e),b="";y.level++;var m="valid"+y.level,S="i"+s,T=y.dataLevel=e.dataLevel+1,x="data"+T,P=e.baseId,F=e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all);if(r+="var "+l+" = errors;var "+f+";",F){var $=e.compositeRule;e.compositeRule=y.compositeRule=!0,y.schema=n,y.schemaPath=d,y.errSchemaPath=u,r+=" var "+m+" = false; for (var "+S+" = 0; "+S+" < "+c+".length; "+S+"++) { ",y.errorPath=e.util.getPathExpr(e.errorPath,S,e.opts.jsonPointers,!0);var q=c+"["+S+"]";y.dataPathArr[T]=S;var L=e.validate(y);y.baseId=P,e.util.varOccurences(L,x)<2?r+=" "+e.util.varReplace(L,x,q)+" ":r+=" var "+x+" = "+q+"; "+L+" ",r+=" if ("+m+") break; } ",e.compositeRule=y.compositeRule=$,r+=" "+b+" if (!"+m+") {"}else r+=" if ("+c+".length == 0) {";var A=A||[];A.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'contains' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",e.opts.messages!==!1&&(r+=" , message: 'should contain a valid item' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var R=r;return r=A.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+R+"]); ":r+=" validate.errors = ["+R+"]; return false; ":r+=" var err = "+R+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else { ",F&&(r+=" errors = "+l+"; if (vErrors !== null) { if ("+l+") vErrors.length = "+l+"; else vErrors = null; } "),e.opts.allErrors&&(r+=" } "),r}});var bs=W((tf,gs)=>{"use strict";gs.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="errs__"+s,l=e.util.copy(e),y="";l.level++;var b="valid"+l.level,m={},S={},T=e.opts.ownProperties;for($ in n)if($!="__proto__"){var x=n[$],P=Array.isArray(x)?S:m;P[$]=x}r+="var "+f+" = errors;";var F=e.errorPath;r+="var missing"+s+";";for(var $ in S)if(P=S[$],P.length){if(r+=" if ( "+c+e.util.getProperty($)+" !== undefined ",T&&(r+=" && Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes($)+"') "),p){r+=" && ( ";var q=P;if(q)for(var L,A=-1,R=q.length-1;A<R;){L=q[A+=1],A&&(r+=" || ");var D=e.util.getProperty(L),j=c+D;r+=" ( ( "+j+" === undefined ",T&&(r+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(L)+"') "),r+=") && (missing"+s+" = "+e.util.toQuotedString(e.opts.jsonPointers?L:D)+") ) "}r+=")) { ";var E="missing"+s,O="' + "+E+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(F,E,!0):F+" + "+E);var B=B||[];B.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { property: '"+e.util.escapeQuotes($)+"', missingProperty: '"+O+"', depsCount: "+P.length+", deps: '"+e.util.escapeQuotes(P.length==1?P[0]:P.join(", "))+"' } ",e.opts.messages!==!1&&(r+=" , message: 'should have ",P.length==1?r+="property "+e.util.escapeQuotes(P[0]):r+="properties "+e.util.escapeQuotes(P.join(", ")),r+=" when property "+e.util.escapeQuotes($)+" is present' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var te=r;r=B.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+te+"]); ":r+=" validate.errors = ["+te+"]; return false; ":r+=" var err = "+te+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else{r+=" ) { ";var V=P;if(V)for(var L,G=-1,z=V.length-1;G<z;){L=V[G+=1];var D=e.util.getProperty(L),O=e.util.escapeQuotes(L),j=c+D;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(F,L,e.opts.jsonPointers)),r+=" if ( "+j+" === undefined ",T&&(r+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(L)+"') "),r+=") { var err = ",e.createErrors!==!1?(r+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { property: '"+e.util.escapeQuotes($)+"', missingProperty: '"+O+"', depsCount: "+P.length+", deps: '"+e.util.escapeQuotes(P.length==1?P[0]:P.join(", "))+"' } ",e.opts.messages!==!1&&(r+=" , message: 'should have ",P.length==1?r+="property "+e.util.escapeQuotes(P[0]):r+="properties "+e.util.escapeQuotes(P.join(", ")),r+=" when property "+e.util.escapeQuotes($)+" is present' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}r+=" } ",p&&(y+="}",r+=" else { ")}e.errorPath=F;var N=l.baseId;for(var $ in m){var x=m[$];(e.opts.strictKeywords?typeof x=="object"&&Object.keys(x).length>0||x===!1:e.util.schemaHasRules(x,e.RULES.all))&&(r+=" "+b+" = true; if ( "+c+e.util.getProperty($)+" !== undefined ",T&&(r+=" && Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes($)+"') "),r+=") { ",l.schema=x,l.schemaPath=d+e.util.getProperty($),l.errSchemaPath=u+"/"+e.util.escapeFragment($),r+=" "+e.validate(l)+" ",l.baseId=N,r+=" } ",p&&(r+=" if ("+b+") { ",y+="}"))}return p&&(r+=" "+y+" if ("+f+" == errors) {"),r}});var Ss=W((rf,vs)=>{"use strict";vs.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="valid"+s,l=e.opts.$data&&n&&n.$data,y;l?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",y="schema"+s):y=n;var b="i"+s,m="schema"+s;l||(r+=" var "+m+" = validate.schema"+d+";"),r+="var "+f+";",l&&(r+=" if (schema"+s+" === undefined) "+f+" = true; else if (!Array.isArray(schema"+s+")) "+f+" = false; else {"),r+=""+f+" = false;for (var "+b+"=0; "+b+"<"+m+".length; "+b+"++) if (equal("+c+", "+m+"["+b+"])) { "+f+" = true; break; }",l&&(r+=" } "),r+=" if (!"+f+") { ";var S=S||[];S.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'enum' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { allowedValues: schema"+s+" } ",e.opts.messages!==!1&&(r+=" , message: 'should be equal to one of the allowed values' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var T=r;return r=S.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+T+"]); ":r+=" validate.errors = ["+T+"]; return false; ":r+=" var err = "+T+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" }",p&&(r+=" else { "),r}});var Is=W((af,ws)=>{"use strict";ws.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||"");if(e.opts.format===!1)return p&&(r+=" if (true) { "),r;var f=e.opts.$data&&n&&n.$data,l;f?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n;var y=e.opts.unknownFormats,b=Array.isArray(y);if(f){var m="format"+s,S="isObject"+s,T="formatType"+s;r+=" var "+m+" = formats["+l+"]; var "+S+" = typeof "+m+" == 'object' && !("+m+" instanceof RegExp) && "+m+".validate; var "+T+" = "+S+" && "+m+".type || 'string'; if ("+S+") { ",e.async&&(r+=" var async"+s+" = "+m+".async; "),r+=" "+m+" = "+m+".validate; } if ( ",f&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'string') || "),r+=" (",y!="ignore"&&(r+=" ("+l+" && !"+m+" ",b&&(r+=" && self._opts.unknownFormats.indexOf("+l+") == -1 "),r+=") || "),r+=" ("+m+" && "+T+" == '"+a+"' && !(typeof "+m+" == 'function' ? ",e.async?r+=" (async"+s+" ? await "+m+"("+c+") : "+m+"("+c+")) ":r+=" "+m+"("+c+") ",r+=" : "+m+".test("+c+"))))) {"}else{var m=e.formats[n];if(!m){if(y=="ignore")return e.logger.warn('unknown format "'+n+'" ignored in schema at path "'+e.errSchemaPath+'"'),p&&(r+=" if (true) { "),r;if(b&&y.indexOf(n)>=0)return p&&(r+=" if (true) { "),r;throw new Error('unknown format "'+n+'" is used in schema at path "'+e.errSchemaPath+'"')}var S=typeof m=="object"&&!(m instanceof RegExp)&&m.validate,T=S&&m.type||"string";if(S){var x=m.async===!0;m=m.validate}if(T!=a)return p&&(r+=" if (true) { "),r;if(x){if(!e.async)throw new Error("async format in sync schema");var P="formats"+e.util.getProperty(n)+".validate";r+=" if (!(await "+P+"("+c+"))) { "}else{r+=" if (! ";var P="formats"+e.util.getProperty(n);S&&(P+=".validate"),typeof m=="function"?r+=" "+P+"("+c+") ":r+=" "+P+".test("+c+") ",r+=") { "}}var F=F||[];F.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'format' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { format: ",f?r+=""+l:r+=""+e.util.toQuotedString(n),r+=" } ",e.opts.messages!==!1&&(r+=` , message: 'should match format "`,f?r+="' + "+l+" + '":r+=""+e.util.escapeQuotes(n),r+=`"' `),e.opts.verbose&&(r+=" , schema: ",f?r+="validate.schema"+d:r+=""+e.util.toQuotedString(n),r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var $=r;return r=F.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+$+"]); ":r+=" validate.errors = ["+$+"]; return false; ":r+=" var err = "+$+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",p&&(r+=" else { "),r}});var Cs=W((sf,xs)=>{"use strict";xs.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="valid"+s,l="errs__"+s,y=e.util.copy(e);y.level++;var b="valid"+y.level,m=e.schema.then,S=e.schema.else,T=m!==void 0&&(e.opts.strictKeywords?typeof m=="object"&&Object.keys(m).length>0||m===!1:e.util.schemaHasRules(m,e.RULES.all)),x=S!==void 0&&(e.opts.strictKeywords?typeof S=="object"&&Object.keys(S).length>0||S===!1:e.util.schemaHasRules(S,e.RULES.all)),P=y.baseId;if(T||x){var F;y.createErrors=!1,y.schema=n,y.schemaPath=d,y.errSchemaPath=u,r+=" var "+l+" = errors; var "+f+" = true; ";var $=e.compositeRule;e.compositeRule=y.compositeRule=!0,r+=" "+e.validate(y)+" ",y.baseId=P,y.createErrors=!0,r+=" errors = "+l+"; if (vErrors !== null) { if ("+l+") vErrors.length = "+l+"; else vErrors = null; } ",e.compositeRule=y.compositeRule=$,T?(r+=" if ("+b+") { ",y.schema=e.schema.then,y.schemaPath=e.schemaPath+".then",y.errSchemaPath=e.errSchemaPath+"/then",r+=" "+e.validate(y)+" ",y.baseId=P,r+=" "+f+" = "+b+"; ",T&&x?(F="ifClause"+s,r+=" var "+F+" = 'then'; "):F="'then'",r+=" } ",x&&(r+=" else { ")):r+=" if (!"+b+") { ",x&&(y.schema=e.schema.else,y.schemaPath=e.schemaPath+".else",y.errSchemaPath=e.errSchemaPath+"/else",r+=" "+e.validate(y)+" ",y.baseId=P,r+=" "+f+" = "+b+"; ",T&&x?(F="ifClause"+s,r+=" var "+F+" = 'else'; "):F="'else'",r+=" } "),r+=" if (!"+f+") { var err = ",e.createErrors!==!1?(r+=" { keyword: 'if' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { failingKeyword: "+F+" } ",e.opts.messages!==!1&&(r+=` , message: 'should match "' + `+F+` + '" schema' `),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&p&&(e.async?r+=" throw new ValidationError(vErrors); ":r+=" validate.errors = vErrors; return false; "),r+=" } ",p&&(r+=" else { ")}else p&&(r+=" if (true) { ");return r}});var Ps=W((nf,Ts)=>{"use strict";Ts.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="valid"+s,l="errs__"+s,y=e.util.copy(e),b="";y.level++;var m="valid"+y.level,S="i"+s,T=y.dataLevel=e.dataLevel+1,x="data"+T,P=e.baseId;if(r+="var "+l+" = errors;var "+f+";",Array.isArray(n)){var F=e.schema.additionalItems;if(F===!1){r+=" "+f+" = "+c+".length <= "+n.length+"; ";var $=u;u=e.errSchemaPath+"/additionalItems",r+=" if (!"+f+") { ";var q=q||[];q.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+n.length+" } ",e.opts.messages!==!1&&(r+=" , message: 'should NOT have more than "+n.length+" items' "),e.opts.verbose&&(r+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var L=r;r=q.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+L+"]); ":r+=" validate.errors = ["+L+"]; return false; ":r+=" var err = "+L+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",u=$,p&&(b+="}",r+=" else { ")}var A=n;if(A){for(var R,D=-1,j=A.length-1;D<j;)if(R=A[D+=1],e.opts.strictKeywords?typeof R=="object"&&Object.keys(R).length>0||R===!1:e.util.schemaHasRules(R,e.RULES.all)){r+=" "+m+" = true; if ("+c+".length > "+D+") { ";var E=c+"["+D+"]";y.schema=R,y.schemaPath=d+"["+D+"]",y.errSchemaPath=u+"/"+D,y.errorPath=e.util.getPathExpr(e.errorPath,D,e.opts.jsonPointers,!0),y.dataPathArr[T]=D;var O=e.validate(y);y.baseId=P,e.util.varOccurences(O,x)<2?r+=" "+e.util.varReplace(O,x,E)+" ":r+=" var "+x+" = "+E+"; "+O+" ",r+=" } ",p&&(r+=" if ("+m+") { ",b+="}")}}if(typeof F=="object"&&(e.opts.strictKeywords?typeof F=="object"&&Object.keys(F).length>0||F===!1:e.util.schemaHasRules(F,e.RULES.all))){y.schema=F,y.schemaPath=e.schemaPath+".additionalItems",y.errSchemaPath=e.errSchemaPath+"/additionalItems",r+=" "+m+" = true; if ("+c+".length > "+n.length+") { for (var "+S+" = "+n.length+"; "+S+" < "+c+".length; "+S+"++) { ",y.errorPath=e.util.getPathExpr(e.errorPath,S,e.opts.jsonPointers,!0);var E=c+"["+S+"]";y.dataPathArr[T]=S;var O=e.validate(y);y.baseId=P,e.util.varOccurences(O,x)<2?r+=" "+e.util.varReplace(O,x,E)+" ":r+=" var "+x+" = "+E+"; "+O+" ",p&&(r+=" if (!"+m+") break; "),r+=" } } ",p&&(r+=" if ("+m+") { ",b+="}")}}else if(e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all)){y.schema=n,y.schemaPath=d,y.errSchemaPath=u,r+=" for (var "+S+" = 0; "+S+" < "+c+".length; "+S+"++) { ",y.errorPath=e.util.getPathExpr(e.errorPath,S,e.opts.jsonPointers,!0);var E=c+"["+S+"]";y.dataPathArr[T]=S;var O=e.validate(y);y.baseId=P,e.util.varOccurences(O,x)<2?r+=" "+e.util.varReplace(O,x,E)+" ":r+=" var "+x+" = "+E+"; "+O+" ",p&&(r+=" if (!"+m+") break; "),r+=" }"}return p&&(r+=" "+b+" if ("+l+" == errors) {"),r}});var Ii=W((of,Fs)=>{"use strict";Fs.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,P,c="data"+(o||""),f=e.opts.$data&&n&&n.$data,l;f?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n;var y=i=="maximum",b=y?"exclusiveMaximum":"exclusiveMinimum",m=e.schema[b],S=e.opts.$data&&m&&m.$data,T=y?"<":">",x=y?">":"<",P=void 0;if(!(f||typeof n=="number"||n===void 0))throw new Error(i+" must be number");if(!(S||m===void 0||typeof m=="number"||typeof m=="boolean"))throw new Error(b+" must be number or boolean");if(S){var F=e.util.getData(m.$data,o,e.dataPathArr),$="exclusive"+s,q="exclType"+s,L="exclIsNumber"+s,A="op"+s,R="' + "+A+" + '";r+=" var schemaExcl"+s+" = "+F+"; ",F="schemaExcl"+s,r+=" var "+$+"; var "+q+" = typeof "+F+"; if ("+q+" != 'boolean' && "+q+" != 'undefined' && "+q+" != 'number') { ";var P=b,D=D||[];D.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(P||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",e.opts.messages!==!1&&(r+=" , message: '"+b+" should be boolean' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var j=r;r=D.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+j+"]); ":r+=" validate.errors = ["+j+"]; return false; ":r+=" var err = "+j+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else if ( ",f&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),r+=" "+q+" == 'number' ? ( ("+$+" = "+l+" === undefined || "+F+" "+T+"= "+l+") ? "+c+" "+x+"= "+F+" : "+c+" "+x+" "+l+" ) : ( ("+$+" = "+F+" === true) ? "+c+" "+x+"= "+l+" : "+c+" "+x+" "+l+" ) || "+c+" !== "+c+") { var op"+s+" = "+$+" ? '"+T+"' : '"+T+"='; ",n===void 0&&(P=b,u=e.errSchemaPath+"/"+b,l=F,f=S)}else{var L=typeof m=="number",R=T;if(L&&f){var A="'"+R+"'";r+=" if ( ",f&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),r+=" ( "+l+" === undefined || "+m+" "+T+"= "+l+" ? "+c+" "+x+"= "+m+" : "+c+" "+x+" "+l+" ) || "+c+" !== "+c+") { "}else{L&&n===void 0?($=!0,P=b,u=e.errSchemaPath+"/"+b,l=m,x+="="):(L&&(l=Math[y?"min":"max"](m,n)),m===(L?l:!0)?($=!0,P=b,u=e.errSchemaPath+"/"+b,x+="="):($=!1,R+="="));var A="'"+R+"'";r+=" if ( ",f&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),r+=" "+c+" "+x+" "+l+" || "+c+" !== "+c+") { "}}P=P||i;var D=D||[];D.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(P||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { comparison: "+A+", limit: "+l+", exclusive: "+$+" } ",e.opts.messages!==!1&&(r+=" , message: 'should be "+R+" ",f?r+="' + "+l:r+=""+l+"'"),e.opts.verbose&&(r+=" , schema: ",f?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var j=r;return r=D.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+j+"]); ":r+=" validate.errors = ["+j+"]; return false; ":r+=" var err = "+j+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",p&&(r+=" else { "),r}});var xi=W((lf,As)=>{"use strict";As.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,b,c="data"+(o||""),f=e.opts.$data&&n&&n.$data,l;if(f?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n,!(f||typeof n=="number"))throw new Error(i+" must be number");var y=i=="maxItems"?">":"<";r+="if ( ",f&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),r+=" "+c+".length "+y+" "+l+") { ";var b=i,m=m||[];m.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(b||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+l+" } ",e.opts.messages!==!1&&(r+=" , message: 'should NOT have ",i=="maxItems"?r+="more":r+="fewer",r+=" than ",f?r+="' + "+l+" + '":r+=""+n,r+=" items' "),e.opts.verbose&&(r+=" , schema: ",f?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var S=r;return r=m.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+S+"]); ":r+=" validate.errors = ["+S+"]; return false; ":r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",p&&(r+=" else { "),r}});var Ci=W((df,Es)=>{"use strict";Es.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,b,c="data"+(o||""),f=e.opts.$data&&n&&n.$data,l;if(f?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n,!(f||typeof n=="number"))throw new Error(i+" must be number");var y=i=="maxLength"?">":"<";r+="if ( ",f&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),e.opts.unicode===!1?r+=" "+c+".length ":r+=" ucs2length("+c+") ",r+=" "+y+" "+l+") { ";var b=i,m=m||[];m.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(b||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+l+" } ",e.opts.messages!==!1&&(r+=" , message: 'should NOT be ",i=="maxLength"?r+="longer":r+="shorter",r+=" than ",f?r+="' + "+l+" + '":r+=""+n,r+=" characters' "),e.opts.verbose&&(r+=" , schema: ",f?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var S=r;return r=m.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+S+"]); ":r+=" validate.errors = ["+S+"]; return false; ":r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",p&&(r+=" else { "),r}});var Ti=W((pf,$s)=>{"use strict";$s.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,b,c="data"+(o||""),f=e.opts.$data&&n&&n.$data,l;if(f?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n,!(f||typeof n=="number"))throw new Error(i+" must be number");var y=i=="maxProperties"?">":"<";r+="if ( ",f&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),r+=" Object.keys("+c+").length "+y+" "+l+") { ";var b=i,m=m||[];m.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(b||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+l+" } ",e.opts.messages!==!1&&(r+=" , message: 'should NOT have ",i=="maxProperties"?r+="more":r+="fewer",r+=" than ",f?r+="' + "+l+" + '":r+=""+n,r+=" properties' "),e.opts.verbose&&(r+=" , schema: ",f?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var S=r;return r=m.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+S+"]); ":r+=" validate.errors = ["+S+"]; return false; ":r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",p&&(r+=" else { "),r}});var Ds=W((cf,Os)=>{"use strict";Os.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f=e.opts.$data&&n&&n.$data,l;if(f?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n,!(f||typeof n=="number"))throw new Error(i+" must be number");r+="var division"+s+";if (",f&&(r+=" "+l+" !== undefined && ( typeof "+l+" != 'number' || "),r+=" (division"+s+" = "+c+" / "+l+", ",e.opts.multipleOfPrecision?r+=" Math.abs(Math.round(division"+s+") - division"+s+") > 1e-"+e.opts.multipleOfPrecision+" ":r+=" division"+s+" !== parseInt(division"+s+") ",r+=" ) ",f&&(r+=" ) "),r+=" ) { ";var y=y||[];y.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { multipleOf: "+l+" } ",e.opts.messages!==!1&&(r+=" , message: 'should be multiple of ",f?r+="' + "+l:r+=""+l+"'"),e.opts.verbose&&(r+=" , schema: ",f?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var b=r;return r=y.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+b+"]); ":r+=" validate.errors = ["+b+"]; return false; ":r+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",p&&(r+=" else { "),r}});var Rs=W((uf,Ls)=>{"use strict";Ls.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="errs__"+s,l=e.util.copy(e);l.level++;var y="valid"+l.level;if(e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all)){l.schema=n,l.schemaPath=d,l.errSchemaPath=u,r+=" var "+f+" = errors; ";var b=e.compositeRule;e.compositeRule=l.compositeRule=!0,l.createErrors=!1;var m;l.opts.allErrors&&(m=l.opts.allErrors,l.opts.allErrors=!1),r+=" "+e.validate(l)+" ",l.createErrors=!0,m&&(l.opts.allErrors=m),e.compositeRule=l.compositeRule=b,r+=" if ("+y+") { ";var S=S||[];S.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",e.opts.messages!==!1&&(r+=" , message: 'should NOT be valid' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var T=r;r=S.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+T+"]); ":r+=" validate.errors = ["+T+"]; return false; ":r+=" var err = "+T+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else { errors = "+f+"; if (vErrors !== null) { if ("+f+") vErrors.length = "+f+"; else vErrors = null; } ",e.opts.allErrors&&(r+=" } ")}else r+=" var err = ",e.createErrors!==!1?(r+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",e.opts.messages!==!1&&(r+=" , message: 'should NOT be valid' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",p&&(r+=" if (false) { ");return r}});var _s=W((ff,js)=>{"use strict";js.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="valid"+s,l="errs__"+s,y=e.util.copy(e),b="";y.level++;var m="valid"+y.level,S=y.baseId,T="prevValid"+s,x="passingSchemas"+s;r+="var "+l+" = errors , "+T+" = false , "+f+" = false , "+x+" = null; ";var P=e.compositeRule;e.compositeRule=y.compositeRule=!0;var F=n;if(F)for(var $,q=-1,L=F.length-1;q<L;)$=F[q+=1],(e.opts.strictKeywords?typeof $=="object"&&Object.keys($).length>0||$===!1:e.util.schemaHasRules($,e.RULES.all))?(y.schema=$,y.schemaPath=d+"["+q+"]",y.errSchemaPath=u+"/"+q,r+=" "+e.validate(y)+" ",y.baseId=S):r+=" var "+m+" = true; ",q&&(r+=" if ("+m+" && "+T+") { "+f+" = false; "+x+" = ["+x+", "+q+"]; } else { ",b+="}"),r+=" if ("+m+") { "+f+" = "+T+" = true; "+x+" = "+q+"; }";return e.compositeRule=y.compositeRule=P,r+=""+b+"if (!"+f+") { var err = ",e.createErrors!==!1?(r+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { passingSchemas: "+x+" } ",e.opts.messages!==!1&&(r+=" , message: 'should match exactly one schema in oneOf' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&p&&(e.async?r+=" throw new ValidationError(vErrors); ":r+=" validate.errors = vErrors; return false; "),r+="} else { errors = "+l+"; if (vErrors !== null) { if ("+l+") vErrors.length = "+l+"; else vErrors = null; }",e.opts.allErrors&&(r+=" } "),r}});var Bs=W((hf,qs)=>{"use strict";qs.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f=e.opts.$data&&n&&n.$data,l;f?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n;var y=f?"(new RegExp("+l+"))":e.usePattern(n);r+="if ( ",f&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'string') || "),r+=" !"+y+".test("+c+") ) { ";var b=b||[];b.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'pattern' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { pattern: ",f?r+=""+l:r+=""+e.util.toQuotedString(n),r+=" } ",e.opts.messages!==!1&&(r+=` , message: 'should match pattern "`,f?r+="' + "+l+" + '":r+=""+e.util.escapeQuotes(n),r+=`"' `),e.opts.verbose&&(r+=" , schema: ",f?r+="validate.schema"+d:r+=""+e.util.toQuotedString(n),r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var m=r;return r=b.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+m+"]); ":r+=" validate.errors = ["+m+"]; return false; ":r+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",p&&(r+=" else { "),r}});var Ns=W((yf,ks)=>{"use strict";ks.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="errs__"+s,l=e.util.copy(e),y="";l.level++;var b="valid"+l.level,m="key"+s,S="idx"+s,T=l.dataLevel=e.dataLevel+1,x="data"+T,P="dataProperties"+s,F=Object.keys(n||{}).filter(G),$=e.schema.patternProperties||{},q=Object.keys($).filter(G),L=e.schema.additionalProperties,A=F.length||q.length,R=L===!1,D=typeof L=="object"&&Object.keys(L).length,j=e.opts.removeAdditional,E=R||D||j,O=e.opts.ownProperties,B=e.baseId,te=e.schema.required;if(te&&!(e.opts.$data&&te.$data)&&te.length<e.opts.loopRequired)var V=e.util.toHash(te);function G(Be){return Be!=="__proto__"}if(r+="var "+f+" = errors;var "+b+" = true;",O&&(r+=" var "+P+" = undefined;"),E){if(O?r+=" "+P+" = "+P+" || Object.keys("+c+"); for (var "+S+"=0; "+S+"<"+P+".length; "+S+"++) { var "+m+" = "+P+"["+S+"]; ":r+=" for (var "+m+" in "+c+") { ",A){if(r+=" var isAdditional"+s+" = !(false ",F.length)if(F.length>8)r+=" || validate.schema"+d+".hasOwnProperty("+m+") ";else{var z=F;if(z)for(var N,pe=-1,we=z.length-1;pe<we;)N=z[pe+=1],r+=" || "+m+" == "+e.util.toQuotedString(N)+" "}if(q.length){var Pe=q;if(Pe)for(var K,he=-1,be=Pe.length-1;he<be;)K=Pe[he+=1],r+=" || "+e.usePattern(K)+".test("+m+") "}r+=" ); if (isAdditional"+s+") { "}if(j=="all")r+=" delete "+c+"["+m+"]; ";else{var Fe=e.errorPath,dt="' + "+m+" + '";if(e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers)),R)if(j)r+=" delete "+c+"["+m+"]; ";else{r+=" "+b+" = false; ";var Ze=u;u=e.errSchemaPath+"/additionalProperties";var ye=ye||[];ye.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'additionalProperties' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { additionalProperty: '"+dt+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is an invalid additional property":r+="should NOT have additional properties",r+="' "),e.opts.verbose&&(r+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var ce=r;r=ye.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+ce+"]); ":r+=" validate.errors = ["+ce+"]; return false; ":r+=" var err = "+ce+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u=Ze,p&&(r+=" break; ")}else if(D)if(j=="failing"){r+=" var "+f+" = errors; ";var St=e.compositeRule;e.compositeRule=l.compositeRule=!0,l.schema=L,l.schemaPath=e.schemaPath+".additionalProperties",l.errSchemaPath=e.errSchemaPath+"/additionalProperties",l.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers);var Ie=c+"["+m+"]";l.dataPathArr[T]=m;var Y=e.validate(l);l.baseId=B,e.util.varOccurences(Y,x)<2?r+=" "+e.util.varReplace(Y,x,Ie)+" ":r+=" var "+x+" = "+Ie+"; "+Y+" ",r+=" if (!"+b+") { errors = "+f+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+c+"["+m+"]; } ",e.compositeRule=l.compositeRule=St}else{l.schema=L,l.schemaPath=e.schemaPath+".additionalProperties",l.errSchemaPath=e.errSchemaPath+"/additionalProperties",l.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers);var Ie=c+"["+m+"]";l.dataPathArr[T]=m;var Y=e.validate(l);l.baseId=B,e.util.varOccurences(Y,x)<2?r+=" "+e.util.varReplace(Y,x,Ie)+" ":r+=" var "+x+" = "+Ie+"; "+Y+" ",p&&(r+=" if (!"+b+") break; ")}e.errorPath=Fe}A&&(r+=" } "),r+=" } ",p&&(r+=" if ("+b+") { ",y+="}")}var pt=e.opts.useDefaults&&!e.compositeRule;if(F.length){var Ye=F;if(Ye)for(var N,wt=-1,It=Ye.length-1;wt<It;){N=Ye[wt+=1];var ve=n[N];if(e.opts.strictKeywords?typeof ve=="object"&&Object.keys(ve).length>0||ve===!1:e.util.schemaHasRules(ve,e.RULES.all)){var Re=e.util.getProperty(N),Ie=c+Re,Ee=pt&&ve.default!==void 0;l.schema=ve,l.schemaPath=d+Re,l.errSchemaPath=u+"/"+e.util.escapeFragment(N),l.errorPath=e.util.getPath(e.errorPath,N,e.opts.jsonPointers),l.dataPathArr[T]=e.util.toQuotedString(N);var Y=e.validate(l);if(l.baseId=B,e.util.varOccurences(Y,x)<2){Y=e.util.varReplace(Y,x,Ie);var Ae=Ie}else{var Ae=x;r+=" var "+x+" = "+Ie+"; "}if(Ee)r+=" "+Y+" ";else{if(V&&V[N]){r+=" if ( "+Ae+" === undefined ",O&&(r+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(N)+"') "),r+=") { "+b+" = false; ";var Fe=e.errorPath,Ze=u,Ge=e.util.escapeQuotes(N);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(Fe,N,e.opts.jsonPointers)),u=e.errSchemaPath+"/required";var ye=ye||[];ye.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+Ge+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+Ge+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var ce=r;r=ye.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+ce+"]); ":r+=" validate.errors = ["+ce+"]; return false; ":r+=" var err = "+ce+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u=Ze,e.errorPath=Fe,r+=" } else { "}else p?(r+=" if ( "+Ae+" === undefined ",O&&(r+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(N)+"') "),r+=") { "+b+" = true; } else { "):(r+=" if ("+Ae+" !== undefined ",O&&(r+=" && Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(N)+"') "),r+=" ) { ");r+=" "+Y+" } "}}p&&(r+=" if ("+b+") { ",y+="}")}}if(q.length){var Oe=q;if(Oe)for(var K,pr=-1,Zr=Oe.length-1;pr<Zr;){K=Oe[pr+=1];var ve=$[K];if(e.opts.strictKeywords?typeof ve=="object"&&Object.keys(ve).length>0||ve===!1:e.util.schemaHasRules(ve,e.RULES.all)){l.schema=ve,l.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(K),l.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(K),O?r+=" "+P+" = "+P+" || Object.keys("+c+"); for (var "+S+"=0; "+S+"<"+P+".length; "+S+"++) { var "+m+" = "+P+"["+S+"]; ":r+=" for (var "+m+" in "+c+") { ",r+=" if ("+e.usePattern(K)+".test("+m+")) { ",l.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers);var Ie=c+"["+m+"]";l.dataPathArr[T]=m;var Y=e.validate(l);l.baseId=B,e.util.varOccurences(Y,x)<2?r+=" "+e.util.varReplace(Y,x,Ie)+" ":r+=" var "+x+" = "+Ie+"; "+Y+" ",p&&(r+=" if (!"+b+") break; "),r+=" } ",p&&(r+=" else "+b+" = true; "),r+=" } ",p&&(r+=" if ("+b+") { ",y+="}")}}}return p&&(r+=" "+y+" if ("+f+" == errors) {"),r}});var Ms=W((mf,Ws)=>{"use strict";Ws.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="errs__"+s,l=e.util.copy(e),y="";l.level++;var b="valid"+l.level;if(r+="var "+f+" = errors;",e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all)){l.schema=n,l.schemaPath=d,l.errSchemaPath=u;var m="key"+s,S="idx"+s,T="i"+s,x="' + "+m+" + '",P=l.dataLevel=e.dataLevel+1,F="data"+P,$="dataProperties"+s,q=e.opts.ownProperties,L=e.baseId;q&&(r+=" var "+$+" = undefined; "),q?r+=" "+$+" = "+$+" || Object.keys("+c+"); for (var "+S+"=0; "+S+"<"+$+".length; "+S+"++) { var "+m+" = "+$+"["+S+"]; ":r+=" for (var "+m+" in "+c+") { ",r+=" var startErrs"+s+" = errors; ";var A=m,R=e.compositeRule;e.compositeRule=l.compositeRule=!0;var D=e.validate(l);l.baseId=L,e.util.varOccurences(D,F)<2?r+=" "+e.util.varReplace(D,F,A)+" ":r+=" var "+F+" = "+A+"; "+D+" ",e.compositeRule=l.compositeRule=R,r+=" if (!"+b+") { for (var "+T+"=startErrs"+s+"; "+T+"<errors; "+T+"++) { vErrors["+T+"].propertyName = "+m+"; } var err = ",e.createErrors!==!1?(r+=" { keyword: 'propertyNames' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { propertyName: '"+x+"' } ",e.opts.messages!==!1&&(r+=" , message: 'property name \\'"+x+"\\' is invalid' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&p&&(e.async?r+=" throw new ValidationError(vErrors); ":r+=" validate.errors = vErrors; return false; "),p&&(r+=" break; "),r+=" } }"}return p&&(r+=" "+y+" if ("+f+" == errors) {"),r}});var Vs=W((gf,zs)=>{"use strict";zs.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="valid"+s,l=e.opts.$data&&n&&n.$data,y;l?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",y="schema"+s):y=n;var b="schema"+s;if(!l)if(n.length<e.opts.loopRequired&&e.schema.properties&&Object.keys(e.schema.properties).length){var m=[],S=n;if(S)for(var T,x=-1,P=S.length-1;x<P;){T=S[x+=1];var F=e.schema.properties[T];F&&(e.opts.strictKeywords?typeof F=="object"&&Object.keys(F).length>0||F===!1:e.util.schemaHasRules(F,e.RULES.all))||(m[m.length]=T)}}else var m=n;if(l||m.length){var $=e.errorPath,q=l||m.length>=e.opts.loopRequired,L=e.opts.ownProperties;if(p)if(r+=" var missing"+s+"; ",q){l||(r+=" var "+b+" = validate.schema"+d+"; ");var A="i"+s,R="schema"+s+"["+A+"]",D="' + "+R+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr($,R,e.opts.jsonPointers)),r+=" var "+f+" = true; ",l&&(r+=" if (schema"+s+" === undefined) "+f+" = true; else if (!Array.isArray(schema"+s+")) "+f+" = false; else {"),r+=" for (var "+A+" = 0; "+A+" < "+b+".length; "+A+"++) { "+f+" = "+c+"["+b+"["+A+"]] !== undefined ",L&&(r+=" && Object.prototype.hasOwnProperty.call("+c+", "+b+"["+A+"]) "),r+="; if (!"+f+") break; } ",l&&(r+=" } "),r+=" if (!"+f+") { ";var j=j||[];j.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+D+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+D+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var E=r;r=j.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+E+"]); ":r+=" validate.errors = ["+E+"]; return false; ":r+=" var err = "+E+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else { "}else{r+=" if ( ";var O=m;if(O)for(var B,A=-1,te=O.length-1;A<te;){B=O[A+=1],A&&(r+=" || ");var V=e.util.getProperty(B),G=c+V;r+=" ( ( "+G+" === undefined ",L&&(r+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(B)+"') "),r+=") && (missing"+s+" = "+e.util.toQuotedString(e.opts.jsonPointers?B:V)+") ) "}r+=") { ";var R="missing"+s,D="' + "+R+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr($,R,!0):$+" + "+R);var j=j||[];j.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+D+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+D+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var E=r;r=j.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+E+"]); ":r+=" validate.errors = ["+E+"]; return false; ":r+=" var err = "+E+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else { "}else if(q){l||(r+=" var "+b+" = validate.schema"+d+"; ");var A="i"+s,R="schema"+s+"["+A+"]",D="' + "+R+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr($,R,e.opts.jsonPointers)),l&&(r+=" if ("+b+" && !Array.isArray("+b+")) { var err = ",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+D+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+D+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if ("+b+" !== undefined) { "),r+=" for (var "+A+" = 0; "+A+" < "+b+".length; "+A+"++) { if ("+c+"["+b+"["+A+"]] === undefined ",L&&(r+=" || ! Object.prototype.hasOwnProperty.call("+c+", "+b+"["+A+"]) "),r+=") { var err = ",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+D+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+D+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ",l&&(r+=" } ")}else{var z=m;if(z)for(var B,N=-1,pe=z.length-1;N<pe;){B=z[N+=1];var V=e.util.getProperty(B),D=e.util.escapeQuotes(B),G=c+V;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath($,B,e.opts.jsonPointers)),r+=" if ( "+G+" === undefined ",L&&(r+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(B)+"') "),r+=") { var err = ",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+D+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+D+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}e.errorPath=$}else p&&(r+=" if (true) {");return r}});var Gs=W((bf,Us)=>{"use strict";Us.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c="data"+(o||""),f="valid"+s,l=e.opts.$data&&n&&n.$data,y;if(l?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",y="schema"+s):y=n,(n||l)&&e.opts.uniqueItems!==!1){l&&(r+=" var "+f+"; if ("+y+" === false || "+y+" === undefined) "+f+" = true; else if (typeof "+y+" != 'boolean') "+f+" = false; else { "),r+=" var i = "+c+".length , "+f+" = true , j; if (i > 1) { ";var b=e.schema.items&&e.schema.items.type,m=Array.isArray(b);if(!b||b=="object"||b=="array"||m&&(b.indexOf("object")>=0||b.indexOf("array")>=0))r+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+c+"[i], "+c+"[j])) { "+f+" = false; break outer; } } } ";else{r+=" var itemIndices = {}, item; for (;i--;) { var item = "+c+"[i]; ";var S="checkDataType"+(m?"s":"");r+=" if ("+e.util[S](b,"item",e.opts.strictNumbers,!0)+") continue; ",m&&(r+=` if (typeof item == 'string') item = '"' + item; `),r+=" if (typeof itemIndices[item] == 'number') { "+f+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}r+=" } ",l&&(r+=" } "),r+=" if (!"+f+") { ";var T=T||[];T.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { i: i, j: j } ",e.opts.messages!==!1&&(r+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),e.opts.verbose&&(r+=" , schema: ",l?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var x=r;r=T.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+x+"]); ":r+=" validate.errors = ["+x+"]; return false; ":r+=" var err = "+x+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",p&&(r+=" else { ")}else p&&(r+=" if (true) { ");return r}});var Qs=W((vf,Hs)=>{"use strict";Hs.exports={$ref:ns(),allOf:ls(),anyOf:ps(),$comment:us(),const:hs(),contains:ms(),dependencies:bs(),enum:Ss(),format:Is(),if:Cs(),items:Ps(),maximum:Ii(),minimum:Ii(),maxItems:xi(),minItems:xi(),maxLength:Ci(),minLength:Ci(),maxProperties:Ti(),minProperties:Ti(),multipleOf:Ds(),not:Rs(),oneOf:_s(),pattern:Bs(),properties:Ns(),propertyNames:Ms(),required:Vs(),uniqueItems:Gs(),validate:Si()}});var Zs=W((Sf,Ks)=>{"use strict";var Js=Qs(),Pi=Ft().toHash;Ks.exports=function(){var e=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}],i=["type","$comment"],a=["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"],r=["number","integer","string","array","object","boolean","null"];return e.all=Pi(i),e.types=Pi(r),e.forEach(function(s){s.rules=s.rules.map(function(o){var n;if(typeof o=="object"){var d=Object.keys(o)[0];n=o[d],o=d,n.forEach(function(p){i.push(p),e.all[p]=!0})}i.push(o);var u=e.all[o]={keyword:o,code:Js[o],implements:n};return u}),e.all.$comment={keyword:"$comment",code:Js.$comment},s.type&&(e.types[s.type]=s)}),e.keywords=Pi(i.concat(a)),e.custom={},e}});var en=W((wf,Xs)=>{"use strict";var Ys=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];Xs.exports=function(t,e){for(var i=0;i<e.length;i++){t=JSON.parse(JSON.stringify(t));var a=e[i].split("/"),r=t,s;for(s=1;s<a.length;s++)r=r[a[s]];for(s=0;s<Ys.length;s++){var o=Ys[s],n=r[o];n&&(r[o]={anyOf:[n,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]})}}return t}});var an=W((If,rn)=>{"use strict";var Ll=Pr().MissingRef;rn.exports=tn;function tn(t,e,i){var a=this;if(typeof this._opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");typeof e=="function"&&(i=e,e=void 0);var r=s(t).then(function(){var n=a._addSchema(t,void 0,e);return n.validate||o(n)});return i&&r.then(function(n){i(null,n)},i),r;function s(n){var d=n.$schema;return d&&!a.getSchema(d)?tn.call(a,{$ref:d},!0):Promise.resolve()}function o(n){try{return a._compile(n)}catch(u){if(u instanceof Ll)return d(u);throw u}function d(u){var p=u.missingSchema;if(l(p))throw new Error("Schema "+p+" is loaded but "+u.missingRef+" cannot be resolved");var c=a._loadingSchemas[p];return c||(c=a._loadingSchemas[p]=a._opts.loadSchema(p),c.then(f,f)),c.then(function(y){if(!l(p))return s(y).then(function(){l(p)||a.addSchema(y,p,void 0,e)})}).then(function(){return o(n)});function f(){delete a._loadingSchemas[p]}function l(y){return a._refs[y]||a._schemas[y]}}}}});var nn=W((xf,sn)=>{"use strict";sn.exports=function(e,i,a){var r=" ",s=e.level,o=e.dataLevel,n=e.schema[i],d=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,c,f="data"+(o||""),l="valid"+s,y="errs__"+s,b=e.opts.$data&&n&&n.$data,m;b?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",m="schema"+s):m=n;var S=this,T="definition"+s,x=S.definition,P="",F,$,q,L,A;if(b&&x.$data){A="keywordValidate"+s;var R=x.validateSchema;r+=" var "+T+" = RULES.custom['"+i+"'].definition; var "+A+" = "+T+".validate;"}else{if(L=e.useCustomRule(S,n,e.schema,e),!L)return;m="validate.schema"+d,A=L.code,F=x.compile,$=x.inline,q=x.macro}var D=A+".errors",j="i"+s,E="ruleErr"+s,O=x.async;if(O&&!e.async)throw new Error("async keyword in sync schema");if($||q||(r+=""+D+" = null;"),r+="var "+y+" = errors;var "+l+";",b&&x.$data&&(P+="}",r+=" if ("+m+" === undefined) { "+l+" = true; } else { ",R&&(P+="}",r+=" "+l+" = "+T+".validateSchema("+m+"); if ("+l+") { ")),$)x.statements?r+=" "+L.validate+" ":r+=" "+l+" = "+L.validate+"; ";else if(q){var B=e.util.copy(e),P="";B.level++;var te="valid"+B.level;B.schema=L.validate,B.schemaPath="";var V=e.compositeRule;e.compositeRule=B.compositeRule=!0;var G=e.validate(B).replace(/validate\.schema/g,A);e.compositeRule=B.compositeRule=V,r+=" "+G}else{var z=z||[];z.push(r),r="",r+=" "+A+".call( ",e.opts.passContext?r+="this":r+="self",F||x.schema===!1?r+=" , "+f+" ":r+=" , "+m+" , "+f+" , validate.schema"+e.schemaPath+" ",r+=" , (dataPath || '')",e.errorPath!='""'&&(r+=" + "+e.errorPath);var N=o?"data"+(o-1||""):"parentData",pe=o?e.dataPathArr[o]:"parentDataProperty";r+=" , "+N+" , "+pe+" , rootData ) ";var we=r;r=z.pop(),x.errors===!1?(r+=" "+l+" = ",O&&(r+="await "),r+=""+we+"; "):O?(D="customErrors"+s,r+=" var "+D+" = null; try { "+l+" = await "+we+"; } catch (e) { "+l+" = false; if (e instanceof ValidationError) "+D+" = e.errors; else throw e; } "):r+=" "+D+" = null; "+l+" = "+we+"; "}if(x.modifying&&(r+=" if ("+N+") "+f+" = "+N+"["+pe+"];"),r+=""+P,x.valid)p&&(r+=" if (true) { ");else{r+=" if ( ",x.valid===void 0?(r+=" !",q?r+=""+te:r+=""+l):r+=" "+!x.valid+" ",r+=") { ",c=S.keyword;var z=z||[];z.push(r),r="";var z=z||[];z.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(c||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { keyword: '"+S.keyword+"' } ",e.opts.messages!==!1&&(r+=` , message: 'should pass "`+S.keyword+`" keyword validation' `),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),r+=" } "):r+=" {} ";var Pe=r;r=z.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+Pe+"]); ":r+=" validate.errors = ["+Pe+"]; return false; ":r+=" var err = "+Pe+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";var K=r;r=z.pop(),$?x.errors?x.errors!="full"&&(r+=" for (var "+j+"="+y+"; "+j+"<errors; "+j+"++) { var "+E+" = vErrors["+j+"]; if ("+E+".dataPath === undefined) "+E+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+E+".schemaPath === undefined) { "+E+'.schemaPath = "'+u+'"; } ',e.opts.verbose&&(r+=" "+E+".schema = "+m+"; "+E+".data = "+f+"; "),r+=" } "):x.errors===!1?r+=" "+K+" ":(r+=" if ("+y+" == errors) { "+K+" } else { for (var "+j+"="+y+"; "+j+"<errors; "+j+"++) { var "+E+" = vErrors["+j+"]; if ("+E+".dataPath === undefined) "+E+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+E+".schemaPath === undefined) { "+E+'.schemaPath = "'+u+'"; } ',e.opts.verbose&&(r+=" "+E+".schema = "+m+"; "+E+".data = "+f+"; "),r+=" } } "):q?(r+=" var err = ",e.createErrors!==!1?(r+=" { keyword: '"+(c||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { keyword: '"+S.keyword+"' } ",e.opts.messages!==!1&&(r+=` , message: 'should pass "`+S.keyword+`" keyword validation' `),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&p&&(e.async?r+=" throw new ValidationError(vErrors); ":r+=" validate.errors = vErrors; return false; ")):x.errors===!1?r+=" "+K+" ":(r+=" if (Array.isArray("+D+")) { if (vErrors === null) vErrors = "+D+"; else vErrors = vErrors.concat("+D+"); errors = vErrors.length; for (var "+j+"="+y+"; "+j+"<errors; "+j+"++) { var "+E+" = vErrors["+j+"]; if ("+E+".dataPath === undefined) "+E+".dataPath = (dataPath || '') + "+e.errorPath+"; "+E+'.schemaPath = "'+u+'"; ',e.opts.verbose&&(r+=" "+E+".schema = "+m+"; "+E+".data = "+f+"; "),r+=" } } else { "+K+" } "),r+=" } ",p&&(r+=" else { ")}return r}});var Fi=W((Cf,Rl)=>{Rl.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://json-schema.org/draft-07/schema#",title:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0}});var dn=W((Tf,ln)=>{"use strict";var on=Fi();ln.exports={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:on.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:on.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}}});var cn=W((Pf,pn)=>{"use strict";var jl=/^[a-z_$][a-z0-9_$-]*$/i,_l=nn(),ql=dn();pn.exports={add:Bl,get:kl,remove:Nl,validate:Ai};function Bl(t,e){var i=this.RULES;if(i.keywords[t])throw new Error("Keyword "+t+" is already defined");if(!jl.test(t))throw new Error("Keyword "+t+" is not a valid identifier");if(e){this.validateKeyword(e,!0);var a=e.type;if(Array.isArray(a))for(var r=0;r<a.length;r++)o(t,a[r],e);else o(t,a,e);var s=e.metaSchema;s&&(e.$data&&this._opts.$data&&(s={anyOf:[s,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]}),e.validateSchema=this.compile(s,!0))}i.keywords[t]=i.all[t]=!0;function o(n,d,u){for(var p,c=0;c<i.length;c++){var f=i[c];if(f.type==d){p=f;break}}p||(p={type:d,rules:[]},i.push(p));var l={keyword:n,definition:u,custom:!0,code:_l,implements:u.implements};p.rules.push(l),i.custom[n]=l}return this}function kl(t){var e=this.RULES.custom[t];return e?e.definition:this.RULES.keywords[t]||!1}function Nl(t){var e=this.RULES;delete e.keywords[t],delete e.all[t],delete e.custom[t];for(var i=0;i<e.length;i++)for(var a=e[i].rules,r=0;r<a.length;r++)if(a[r].keyword==t){a.splice(r,1);break}return this}function Ai(t,e){Ai.errors=null;var i=this._validateKeyword=this._validateKeyword||this.compile(ql,!0);if(i(t))return!0;if(Ai.errors=i.errors,e)throw new Error("custom keyword definition is invalid: "+this.errorsText(i.errors));return!1}});var un=W((Ff,Wl)=>{Wl.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",description:"Meta-schema for $data reference (JSON Schema extension proposal)",type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:!1}});var In=W((Af,wn)=>{"use strict";var hn=Va(),At=Tr(),Ml=Ga(),yn=fi(),zl=vi(),Vl=as(),Ul=Zs(),mn=en(),gn=Ft();wn.exports=fe;fe.prototype.validate=Hl;fe.prototype.compile=Ql;fe.prototype.addSchema=Jl;fe.prototype.addMetaSchema=Kl;fe.prototype.validateSchema=Zl;fe.prototype.getSchema=Xl;fe.prototype.removeSchema=td;fe.prototype.addFormat=dd;fe.prototype.errorsText=ld;fe.prototype._addSchema=rd;fe.prototype._compile=id;fe.prototype.compileAsync=an();var Rr=cn();fe.prototype.addKeyword=Rr.add;fe.prototype.getKeyword=Rr.get;fe.prototype.removeKeyword=Rr.remove;fe.prototype.validateKeyword=Rr.validate;var bn=Pr();fe.ValidationError=bn.Validation;fe.MissingRefError=bn.MissingRef;fe.$dataMetaSchema=mn;var Lr="http://json-schema.org/draft-07/schema",fn=["removeAdditional","useDefaults","coerceTypes","strictDefaults"],Gl=["/properties"];function fe(t){if(!(this instanceof fe))return new fe(t);t=this._opts=gn.copy(t)||{},yd(this),this._schemas={},this._refs={},this._fragments={},this._formats=Vl(t.format),this._cache=t.cache||new Ml,this._loadingSchemas={},this._compilations=[],this.RULES=Ul(),this._getId=ad(t),t.loopRequired=t.loopRequired||1/0,t.errorDataPath=="property"&&(t._errorDataPathProperty=!0),t.serialize===void 0&&(t.serialize=zl),this._metaOpts=hd(this),t.formats&&ud(this),t.keywords&&fd(this),pd(this),typeof t.meta=="object"&&this.addMetaSchema(t.meta),t.nullable&&this.addKeyword("nullable",{metaSchema:{type:"boolean"}}),cd(this)}function Hl(t,e){var i;if(typeof t=="string"){if(i=this.getSchema(t),!i)throw new Error('no schema with key or ref "'+t+'"')}else{var a=this._addSchema(t);i=a.validate||this._compile(a)}var r=i(e);return i.$async!==!0&&(this.errors=i.errors),r}function Ql(t,e){var i=this._addSchema(t,void 0,e);return i.validate||this._compile(i)}function Jl(t,e,i,a){if(Array.isArray(t)){for(var r=0;r<t.length;r++)this.addSchema(t[r],void 0,i,a);return this}var s=this._getId(t);if(s!==void 0&&typeof s!="string")throw new Error("schema id must be string");return e=At.normalizeId(e||s),Sn(this,e),this._schemas[e]=this._addSchema(t,i,a,!0),this}function Kl(t,e,i){return this.addSchema(t,e,i,!0),this}function Zl(t,e){var i=t.$schema;if(i!==void 0&&typeof i!="string")throw new Error("$schema must be a string");if(i=i||this._opts.defaultMeta||Yl(this),!i)return this.logger.warn("meta-schema not available"),this.errors=null,!0;var a=this.validate(i,t);if(!a&&e){var r="schema is invalid: "+this.errorsText();if(this._opts.validateSchema=="log")this.logger.error(r);else throw new Error(r)}return a}function Yl(t){var e=t._opts.meta;return t._opts.defaultMeta=typeof e=="object"?t._getId(e)||e:t.getSchema(Lr)?Lr:void 0,t._opts.defaultMeta}function Xl(t){var e=vn(this,t);switch(typeof e){case"object":return e.validate||this._compile(e);case"string":return this.getSchema(e);case"undefined":return ed(this,t)}}function ed(t,e){var i=At.schema.call(t,{schema:{}},e);if(i){var a=i.schema,r=i.root,s=i.baseId,o=hn.call(t,a,r,void 0,s);return t._fragments[e]=new yn({ref:e,fragment:!0,schema:a,root:r,baseId:s,validate:o}),o}}function vn(t,e){return e=At.normalizeId(e),t._schemas[e]||t._refs[e]||t._fragments[e]}function td(t){if(t instanceof RegExp)return Dr(this,this._schemas,t),Dr(this,this._refs,t),this;switch(typeof t){case"undefined":return Dr(this,this._schemas),Dr(this,this._refs),this._cache.clear(),this;case"string":var e=vn(this,t);return e&&this._cache.del(e.cacheKey),delete this._schemas[t],delete this._refs[t],this;case"object":var i=this._opts.serialize,a=i?i(t):t;this._cache.del(a);var r=this._getId(t);r&&(r=At.normalizeId(r),delete this._schemas[r],delete this._refs[r])}return this}function Dr(t,e,i){for(var a in e){var r=e[a];!r.meta&&(!i||i.test(a))&&(t._cache.del(r.cacheKey),delete e[a])}}function rd(t,e,i,a){if(typeof t!="object"&&typeof t!="boolean")throw new Error("schema should be object or boolean");var r=this._opts.serialize,s=r?r(t):t,o=this._cache.get(s);if(o)return o;a=a||this._opts.addUsedSchema!==!1;var n=At.normalizeId(this._getId(t));n&&a&&Sn(this,n);var d=this._opts.validateSchema!==!1&&!e,u;d&&!(u=n&&n==At.normalizeId(t.$schema))&&this.validateSchema(t,!0);var p=At.ids.call(this,t),c=new yn({id:n,schema:t,localRefs:p,cacheKey:s,meta:i});return n[0]!="#"&&a&&(this._refs[n]=c),this._cache.put(s,c),d&&u&&this.validateSchema(t,!0),c}function id(t,e){if(t.compiling)return t.validate=r,r.schema=t.schema,r.errors=null,r.root=e||r,t.schema.$async===!0&&(r.$async=!0),r;t.compiling=!0;var i;t.meta&&(i=this._opts,this._opts=this._metaOpts);var a;try{a=hn.call(this,t.schema,e,t.localRefs)}catch(s){throw delete t.validate,s}finally{t.compiling=!1,t.meta&&(this._opts=i)}return t.validate=a,t.refs=a.refs,t.refVal=a.refVal,t.root=a.root,a;function r(){var s=t.validate,o=s.apply(this,arguments);return r.errors=s.errors,o}}function ad(t){switch(t.schemaId){case"auto":return od;case"id":return sd;default:return nd}}function sd(t){return t.$id&&this.logger.warn("schema $id ignored",t.$id),t.id}function nd(t){return t.id&&this.logger.warn("schema id ignored",t.id),t.$id}function od(t){if(t.$id&&t.id&&t.$id!=t.id)throw new Error("schema $id is different from id");return t.$id||t.id}function ld(t,e){if(t=t||this.errors,!t)return"No errors";e=e||{};for(var i=e.separator===void 0?", ":e.separator,a=e.dataVar===void 0?"data":e.dataVar,r="",s=0;s<t.length;s++){var o=t[s];o&&(r+=a+o.dataPath+" "+o.message+i)}return r.slice(0,-i.length)}function dd(t,e){return typeof e=="string"&&(e=new RegExp(e)),this._formats[t]=e,this}function pd(t){var e;if(t._opts.$data&&(e=un(),t.addMetaSchema(e,e.$id,!0)),t._opts.meta!==!1){var i=Fi();t._opts.$data&&(i=mn(i,Gl)),t.addMetaSchema(i,Lr,!0),t._refs["http://json-schema.org/schema"]=Lr}}function cd(t){var e=t._opts.schemas;if(e)if(Array.isArray(e))t.addSchema(e);else for(var i in e)t.addSchema(e[i],i)}function ud(t){for(var e in t._opts.formats){var i=t._opts.formats[e];t.addFormat(e,i)}}function fd(t){for(var e in t._opts.keywords){var i=t._opts.keywords[e];t.addKeyword(e,i)}}function Sn(t,e){if(t._schemas[e]||t._refs[e])throw new Error('schema with key or id "'+e+'" already exists')}function hd(t){for(var e=gn.copy(t._opts),i=0;i<fn.length;i++)delete e[fn[i]];return e}function yd(t){var e=t._opts.logger;if(e===!1)t.logger={log:Ei,warn:Ei,error:Ei};else{if(e===void 0&&(e=console),!(typeof e=="object"&&e.log&&e.warn&&e.error))throw new Error("logger must implement log, warn and error methods");t.logger=e}}function Ei(){}});var Tn=W((Ef,Oi)=>{function md(t,e){var i=e&&e.cache?e.cache:Id,a=e&&e.serializer?e.serializer:wd,r=e&&e.strategy?e.strategy:bd;return r(t,{cache:i,serializer:a})}function gd(t){return t==null||typeof t=="number"||typeof t=="boolean"}function xn(t,e,i,a){var r=gd(a)?a:i(a),s=e.get(r);return typeof s>"u"&&(s=t.call(this,a),e.set(r,s)),s}function Cn(t,e,i){var a=Array.prototype.slice.call(arguments,3),r=i(a),s=e.get(r);return typeof s>"u"&&(s=t.apply(this,a),e.set(r,s)),s}function $i(t,e,i,a,r){return i.bind(e,t,a,r)}function bd(t,e){var i=t.length===1?xn:Cn;return $i(t,this,i,e.cache.create(),e.serializer)}function vd(t,e){var i=Cn;return $i(t,this,i,e.cache.create(),e.serializer)}function Sd(t,e){var i=xn;return $i(t,this,i,e.cache.create(),e.serializer)}function wd(){return JSON.stringify(arguments)}function jr(){this.cache=Object.create(null)}jr.prototype.has=function(t){return t in this.cache};jr.prototype.get=function(t){return this.cache[t]};jr.prototype.set=function(t,e){this.cache[t]=e};var Id={create:function(){return new jr}};Oi.exports=md;Oi.exports.strategies={variadic:vd,monadic:Sd}});function ya(t,e,i){t=+t,e=+e,i=(r=arguments.length)<2?(e=t,t=0,1):r<3?1:+i;for(var a=-1,r=Math.max(0,Math.ceil((e-t)/i))|0,s=new Array(r);++a<r;)s[a]=t+a*i;return s}function tr(t,e){let i,a;if(e===void 0)for(let r of t)r!=null&&(i===void 0?r>=r&&(i=a=r):(i>r&&(i=r),a<r&&(a=r)));else{let r=-1;for(let s of t)(s=e(s,++r,t))!=null&&(i===void 0?s>=s&&(i=a=s):(i>s&&(i=s),a<s&&(a=s)))}return[i,a]}var mr=class extends Map{constructor(e,i=jo){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:i}}),e!=null)for(let[a,r]of e)this.set(a,r)}get(e){return super.get(ma(this,e))}has(e){return super.has(ma(this,e))}set(e,i){return super.set(Lo(this,e),i)}delete(e){return super.delete(Ro(this,e))}};function ma({_intern:t,_key:e},i){let a=e(i);return t.has(a)?t.get(a):i}function Lo({_intern:t,_key:e},i){let a=e(i);return t.has(a)?t.get(a):(t.set(a,i),i)}function Ro({_intern:t,_key:e},i){let a=e(i);return t.has(a)&&(i=t.get(a),t.delete(a)),i}function jo(t){return t!==null&&typeof t=="object"?t.valueOf():t}function si(t){return t}function _o(t,e,...i){return qo(t,si,e,i)}function qo(t,e,i,a){return function r(s,o){if(o>=a.length)return i(s);let n=new mr,d=a[o++],u=-1;for(let p of s){let c=d(p,++u,s),f=n.get(c);f?f.push(p):n.set(c,[p])}for(let[p,c]of n)n.set(p,r(c,o));return e(n)}(t,0)}function ga(t,e){let i;if(e===void 0)for(let a of t)a!=null&&(i<a||i===void 0&&a>=a)&&(i=a);else{let a=-1;for(let r of t)(r=e(r,++a,t))!=null&&(i<r||i===void 0&&r>=r)&&(i=r)}return i}function ba(t,e){let i;if(e===void 0)for(let a of t)a!=null&&(i>a||i===void 0&&a>=a)&&(i=a);else{let a=-1;for(let r of t)(r=e(r,++a,t))!=null&&(i>r||i===void 0&&r>=r)&&(i=r)}return i}function va(t,e){let i=0,a=0;if(e===void 0)for(let r of t)r!=null&&(r=+r)>=r&&(++i,a+=r);else{let r=-1;for(let s of t)(s=e(s,++r,t))!=null&&(s=+s)>=s&&(++i,a+=s)}if(i)return a/i}function Sa(t,e){let i=0;if(e===void 0)for(let a of t)(a=+a)&&(i+=a);else{let a=-1;for(let r of t)(r=+e(r,++a,t))&&(i+=r)}return i}var Ln=la(In(),1);var _n=la(Tn(),1);var nt="24.3.0",Mi="arcgis_charts_pie_from_fields_name",Bn="arcgis_charts_pie_from_fields_value",$d="arcgis_charts_bar_line_from_fields_name",Od="arcgis_charts_bar_line_from_fields_value",at={Mean:"Mean",Median:"Median",StdDev:"Standard Deviation",Normal:"Normal Distribution",Trendline:"Trendline"},Pn={Count:"count",Start:"minValue",End:"maxValue"},kn={Reject:"reject",RenderUpToTheLimit:"renderUpToTheLimit"},U={AxisLabels:"axisLabels",GuideLabel:"guideLabel",AxisTitle:"axisTitle",ChartTitle:"chartTitle",ChartSubtitle:"chartSubtitle",DataLabels:"dataLabels",LegendTitle:"legendTitle",LegendText:"legendText",DescriptionText:"descriptionText"},Hf=32,Qf="arcgis_charts_features_extent",$t={maxRecordCountFactor:5,maxParallelRequests:4,maxRecords:2e3,orderByJSAPIDelimiter:" ",outStatistics:{statisticType:pa.statisticType,onStatisticField:"OBJECTID",outStatisticFieldName:"arcgis_charts_outStatisticFieldName_default_key"},uniqueIdsName:"arcgisChartsUniqueIds"},Dd=["EXPR_1","Expr1","expr1","EXPR1"],Jf=1,ze=.7,Ld=25,Nn=[156,156,156,255],Rd=[156,156,156,255],Kf=Mt.Solid,Zf=2,Yf={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"},zi="arcgis_charts_box_plot_category",jd={valueField:"arcgis_charts_heat_chart_value",xField:"arcgis_charts_heat_chart_x",yField:"arcgis_charts_heat_chart_y"},_d=[[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]],qd=[[104,104,104,255],[51,124,235,255],[132,0,168,255],[156,156,156,255]];function Je(t){let{colorIndex:e,opacity:i,histogramOverlays:a}=t,r=Math.max(0,e??0),s=[...a===!0?qd:_d],[o,n,d,u]=s[r%s.length],p=i!==void 0?i*255:u;return[o,n,d,p]}function Wn(t){return[0,0,0,(t??ze)*255]}function Xf(){return{type:I.CursorCrosshair,verticalLineVisible:!1,horizontalLineVisible:!1,style:{type:Ce.SLS,style:Mt.Dot,color:[211,211,211,255],width:1}}}function Hr(t=1){return[Math.floor(Math.random()*256),Math.floor(Math.random()*256),Math.floor(Math.random()*256),t*255]}function ee(t){let e={family:"Arial, Helvetica, sans-serif",size:10};switch(t){case U.ChartTitle:e.size=18;break;case U.AxisTitle:e.size=14;break;case U.LegendText:e.size=12;break;case U.LegendTitle:e.size=13;break;case U.DescriptionText:e.size=11;break}return e}function Mn(t="",e=ee(),i){let a=hr.Center;return(i===U.DataLabels||i===U.GuideLabel)&&(a=void 0),{type:Ce.TS,color:Wn(),text:t,font:e,horizontalAlignment:a}}function Q(t){let{text:e,visible:i,font:a,type:r}=t??{text:"",visible:!0,font:ee()};return{type:I.Text,visible:i,content:Mn(e,a,r)}}function or(t){let e=t?.useRandomColor??!1,i=t?.useRampColor,a=t?.width??1,r=t?.isHistogramOverlay,s=t?.color??Wn(1);return e?s=Hr():i!==void 0&&(r===!0?s=Je({colorIndex:i.colorIndex,histogramOverlays:r}):s=Je({colorIndex:i.colorIndex})),t?.opacity!==void 0&&(s[3]=t.opacity),{type:Ce.SLS,style:Mt.Solid,color:s,width:a}}function Bd(){return{type:I.CategoryAxisFormat,characterLimit:11}}function eh(){return{type:I.DateAxisFormat,intlOptions:{}}}function qi(){return{type:I.NumberAxisFormat,intlOptions:{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:3,useGrouping:!0}}}function th(){return{type:I.NumberAxisFormat,intlOptions:{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:2}}}function rh(){return{type:I.NumberAxisFormat,intlOptions:{style:"percent",minimumFractionDigits:0,maximumFractionDigits:0}}}function Di(t="Category Axis"){let e=Q({text:t,visible:!0,font:ee(U.AxisTitle)});e.content.horizontalAlignment=hr.Center,e.content.verticalAlignment=ai.Middle;let i=Q({text:t,visible:!0,font:ee(U.AxisLabels)});return{type:I.Axis,visible:!0,title:e,labels:i,valueFormat:Bd(),lineSymbol:or({color:Nn})}}function Wr(t="Value Axis"){let e=Q({text:t,visible:!0,font:ee(U.AxisTitle)}),i=Q({text:t,visible:!0,font:ee(U.AxisLabels)});return e.content.verticalAlignment=ai.Middle,e.content.horizontalAlignment=hr.Center,{type:I.Axis,visible:!0,title:e,labels:i,valueFormat:qi(),lineSymbol:or({color:Nn})}}function bt(){return{type:I.Legend,visible:!0,title:Q({text:"",visible:!0,font:ee(U.LegendTitle)}),body:Mn("",ee(U.LegendText)),position:ri.Right,maxHeight:Number.NaN}}function _r(t){return{type:I.Overlay,visible:!0,created:!1,symbol:or({useRampColor:{colorIndex:t},isHistogramOverlay:!0})}}function vt(){return[255,255,255,255]}function ot(t){return t.utilsStrings.chartType.chart}function lt(){return`Chart ${Date.now()}`}function ih(t,e=!1){return{type:Ce.SFS,style:zt.Solid,color:e?Hr(ze):Je({colorIndex:t??0,opacity:ze})}}function kd(t=0){return{type:Ce.SMS,style:ii.Circle,color:Je({colorIndex:t,opacity:ze}),size:4}}function Nd(t){return{type:Ce.SLS,style:Mt.Solid,color:Je({colorIndex:t,opacity:ze}),width:2}}function Wd(t=!1){return{type:Ce.SMS,style:ii.Circle,color:t?Hr(ze):Je({colorIndex:0,opacity:ze}),size:7}}function ah(){return{type:I.SizePolicy,field:"",scaleType:fa.Linear,minSize:5,maxSize:30}}function Md(t=!1){return{type:I.Overlays,trendLine:{type:I.Overlay,created:!1,visible:!0,symbol:{type:Ce.SLS,style:Mt.Solid,color:t?Hr():Je({colorIndex:1}),width:2}}}}function zd(t){let e=t??"ObjectID";return{type:I.HeatSeries,id:I.HeatSeries,name:I.HeatSeries,y:"",x:"",dataLabels:Q({text:"",visible:!1,font:ee(U.DataLabels)}),query:{outStatistics:[{statisticType:ae.Count,onStatisticField:e,outStatisticFieldName:"coutnt_objectt_id"}]}}}function Vd(){return{type:I.ScatterSeries,id:I.ScatterSeries,name:I.ScatterSeries,x:"",y:"",markerSymbol:Wd(),overlays:Md(),dataLabels:Q({text:"",visible:!1,font:ee(U.DataLabels)})}}function Ot(t,e){let i=[],a=t.xAxis,r=t.utilsStrings.statistics.count,s,o,n=or({opacity:Ld});switch(e===I.HeatSeries?o=Di(r):(o=Wr(r),o.grid=n),e){case I.BarSeries:case I.HeatSeries:{s=Di(a);break}case I.ScatterSeries:{s=Wr(a),s.grid=n;break}case I.RadarSeries:case I.LineSeries:case I.HistogramSeries:{s=Wr(a);break}case I.BoxPlotSeries:{s=Di("");break}}return s!==void 0&&i.push(s,o),i}function Ud(){return{type:I.GaugeNeedle,symbol:{type:Ce.SFS,color:[0,0,0,200]}}}function Gd(t){let e=[],i=t.xAxis,a=Wr(i);return a.needle=Ud(),e.push(a),e}function Hd(t){let e=t.commonStrings,i=t.objectIDField??"ObjectID",a=`${ae.Count}_${i}_0`.toUpperCase(),r=e.countSeries;return{type:I.LineSeries,id:r,name:r,query:{outStatistics:[{statisticType:ae.Count,onStatisticField:i,outStatisticFieldName:a}],groupByFieldsForStatistics:[]},x:"",y:a,lineSymbol:Nd(t.seriesIndex),markerSymbol:kd(t.seriesIndex),dataLabels:Q({text:"",visible:!1,font:ee(U.DataLabels)}),temporalBinning:{unit:xe.Day,size:0,timeAggregationType:Nt.Start,trimIncompleteTimeInterval:!0,nullPolicy:ca.Interpolate}}}function sh(t){return{...Hd(t),type:I.RadarSeries}}function Qd(t){return{type:Ce.SFS,style:zt.Solid,color:Je({colorIndex:t,opacity:ze})}}function nh(t){let e=t.objectIDField??"ObjectID",i=t.commonStrings,a=`${ae.Count}_${e}_0`.toUpperCase(),r=i.countSeries;return{type:I.BarSeries,id:r,name:r,query:{outStatistics:[{statisticType:ae.Count,onStatisticField:e,outStatisticFieldName:a}],groupByFieldsForStatistics:[]},x:"",y:a,fillSymbol:Qd(t.seriesIndex),dataLabels:Q({text:"",visible:!1,font:ee(U.DataLabels),type:U.DataLabels})}}function oh(t,e){let i=t.countSeries;return{name:i,type:I.BoxPlotSeries,id:i,fillSymbol:{type:Ce.SFS,style:zt.Solid,color:Je({colorIndex:e,opacity:ze})},query:{},x:zi,y:""}}function Jd(){return{type:I.PieTick,visible:!0,lineSymbol:or({width:1,color:Rd})}}function Kd(){return{type:Ce.SFS,style:zt.Solid}}function lh(t,e){let i=`${ae.Count}_${e}_0`.toUpperCase(),a=t.countSeries;return{type:I.PieSeries,id:a,name:a,query:{outStatistics:[{statisticType:ae.Count,onStatisticField:e??"ObjectID",outStatisticFieldName:i}],groupByFieldsForStatistics:[]},x:"",y:i,fillSymbol:Kd(),dataLabels:Q({text:"",visible:!1,font:ee(U.DataLabels),type:U.DataLabels}),startAngle:-90,endAngle:270,dataLabelsCharacterLimit:11,displayCategoryOnDataLabel:!0,displayNumericValueOnDataLabel:!1,displayPercentageOnDataLabel:!0,numericValueFormat:{...qi(),intlOptions:{minimumFractionDigits:1,maximumFractionDigits:1}},percentValueFormat:{...qi(),intlOptions:{minimumFractionDigits:1,maximumFractionDigits:1}},ticks:Jd()}}function dh(t){let e=t.objectIDField??"ObjectID",i=`${ae.Count}_${e}_0`.toUpperCase(),a="Series0";return{type:I.GaugeSeries,id:a,name:a,query:{outStatistics:[{statisticType:ae.Count,onStatisticField:e,outStatisticFieldName:i}]},x:""}}function ar(){return!1}function ph(t,e=lt()){return{version:nt,type:I.Chart,id:e,colorMatch:!0,rotated:ar(),orderOptions:{data:{orderType:Wt.Category,orderBy:rt.Ascending}},title:Q({text:ot(t),visible:!0,font:ee(U.ChartTitle)}),subtitle:Q(),footer:Q({text:"",visible:!0,font:ee(U.DescriptionText)}),background:vt(),axes:Ot(t,I.BarSeries),series:[],legend:bt()}}function ch(t,e=lt()){return{version:nt,type:I.Chart,id:e,rotated:ar(),colorMatch:!0,orderOptions:{data:{orderType:Wt.Category,orderBy:rt.Ascending}},title:Q({text:ot(t),visible:!0,font:ee(U.ChartTitle)}),subtitle:Q(),footer:Q({text:"",visible:!0,font:ee(U.DescriptionText)}),background:vt(),series:[],legend:bt(),axes:Ot(t,I.BoxPlotSeries),standardizeValues:!0,showOutliers:!1}}function uh(t,e=lt()){return{version:nt,type:I.Chart,id:e,colorMatch:!0,rotated:ar(),orderOptions:{data:{orderType:Wt.Category,orderBy:rt.Ascending}},title:Q({text:ot(t),visible:!0,font:ee(U.ChartTitle)}),subtitle:Q(),footer:Q({text:"",visible:!0,font:ee(U.DescriptionText)}),background:vt(),axes:Ot(t,I.LineSeries),series:[],legend:bt()}}function fh(t,e=lt()){return{version:nt,type:I.Chart,id:e,colorMatch:!0,orderOptions:{data:{orderType:Wt.Category,orderBy:rt.Ascending}},title:Q({text:ot(t),visible:!0,font:ee(U.ChartTitle)}),subtitle:Q(),footer:Q({text:"",visible:!0,font:ee(U.DescriptionText)}),background:vt(),axes:Ot(t,I.RadarSeries),series:[],legend:bt()}}function hh(t,e=lt()){return{version:nt,type:I.Chart,id:e,colorMatch:!0,orderOptions:{data:{orderType:Wt.YValue,orderBy:rt.Descending}},title:Q({text:ot(t),visible:!0,font:ee(U.ChartTitle)}),subtitle:Q(),footer:Q({text:"",visible:!0,font:ee(U.DescriptionText)}),background:vt(),series:[],legend:{...bt(),displayNumericValue:!1,displayPercentage:!0}}}function yh(t,e=lt()){return{version:nt,type:I.Chart,id:e,colorMatch:!0,title:Q({text:ot(t),visible:!0,font:ee(U.ChartTitle)}),series:[],axes:Gd(t)}}function mh(t,e=lt()){return{version:nt,type:I.Chart,id:e,colorMatch:!0,title:Q({text:ot(t),visible:!0,font:ee(U.ChartTitle)}),subtitle:Q(),footer:Q({text:"",visible:!0,font:ee(U.DescriptionText)}),background:vt(),axes:Ot(t,I.ScatterSeries),series:[Vd()],legend:bt()}}function gh(t,e){return{version:nt,type:I.Chart,id:lt(),title:Q({text:ot(t),visible:!0,font:ee(U.ChartTitle)}),background:vt(),axes:Ot(t,I.HeatSeries),series:[zd(e)],legend:{...bt(),position:ri.Bottom}}}function Zd(){return{type:I.Overlays,mean:_r(1),median:_r(2),standardDeviation:_r(3),comparisonDistribution:_r(4)}}function Yd(){return{type:Ce.SFS,style:zt.Solid,color:Je({colorIndex:0,opacity:ze})}}function Xd(){return{type:I.HistogramSeries,id:I.HistogramSeries,name:I.HistogramSeries,visible:!0,dataTooltipVisible:!0,dataTooltipReverseColor:!1,assignToSecondValueAxis:!1,x:"",binCount:32,overlays:Zd(),dataTransformationType:ti.None,fillSymbol:Yd(),dataLabels:Q({text:"",visible:!1,font:ee(U.DataLabels)})}}function bh(t,e=lt()){return{version:nt,type:I.Chart,id:e,colorMatch:!0,title:Q({text:ot(t),visible:!0,font:ee(U.ChartTitle)}),subtitle:Q(),footer:Q({text:"",visible:!0,font:ee(U.DescriptionText)}),background:vt(),axes:Ot(t,I.HistogramSeries),series:[Xd()],legend:bt()}}var Li={behaviorAfterLimit:kn.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,maxHeatChartCellLimit:1e4};function ep(t){let e={...Li};return t!==void 0&&Object.keys(Li).forEach(i=>{let a=i;e[a]=t[a]??Li[a]}),e}function vh(){return{maxScatterCellsPerQuery:500,maxScatterCellsPerQueryForStandard:175,maxElementsPerSelectionQuery:25,maxOIDsPerSelectionQuery:2e3,maxOperandsPerWhereClause:200}}function Sh(t,e){let i;switch(t){case ae.Average:{i=e.utilsStrings.statistics.mean;break}case ae.ContinuousPercentile:{i=e.utilsStrings.statistics.median;break}case ae.Sum:{i=e.utilsStrings.statistics.sum;break}case ae.Minimum:{i=e.utilsStrings.statistics.minimum;break}case ae.Maximum:{i=e.utilsStrings.statistics.maximum;break}case ae.Variance:{i=e.utilsStrings.statistics.variance;break}case ae.DiscretePercentile:{i=e.utilsStrings.statistics.discretePercentile;break}case ae.NoAggregation:{i=e.utilsStrings.statistics.noAggregation;break}case ae.Count:default:{i=e.utilsStrings.statistics.count;break}}return i}function wh(t,e){let i;switch(t){case Nt.End:{i=e.timeAggregationTypes.end;break}case Nt.Start:{i=e.timeAggregationTypes.start;break}default:i="";break}return i}function tp(){return er.Side}function Ih(t){return t.utilsStrings.notAvailable}var xh=0,rp="_arcgis_charts_outliers",ip="_arcgis_charts_z_score",Ch=[210,210,210,255*ze],Th=" percentage ";var zr=function(){return zr=Object.assign||function(t){for(var e,i=1,a=arguments.length;i<a;i++){e=arguments[i];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},zr.apply(this,arguments)},Bi={exports:{}},de={},ki={exports:{}},Dt={};function zn(){var t={};return t["align-content"]=!1,t["align-items"]=!1,t["align-self"]=!1,t["alignment-adjust"]=!1,t["alignment-baseline"]=!1,t.all=!1,t["anchor-point"]=!1,t.animation=!1,t["animation-delay"]=!1,t["animation-direction"]=!1,t["animation-duration"]=!1,t["animation-fill-mode"]=!1,t["animation-iteration-count"]=!1,t["animation-name"]=!1,t["animation-play-state"]=!1,t["animation-timing-function"]=!1,t.azimuth=!1,t["backface-visibility"]=!1,t.background=!0,t["background-attachment"]=!0,t["background-clip"]=!0,t["background-color"]=!0,t["background-image"]=!0,t["background-origin"]=!0,t["background-position"]=!0,t["background-repeat"]=!0,t["background-size"]=!0,t["baseline-shift"]=!1,t.binding=!1,t.bleed=!1,t["bookmark-label"]=!1,t["bookmark-level"]=!1,t["bookmark-state"]=!1,t.border=!0,t["border-bottom"]=!0,t["border-bottom-color"]=!0,t["border-bottom-left-radius"]=!0,t["border-bottom-right-radius"]=!0,t["border-bottom-style"]=!0,t["border-bottom-width"]=!0,t["border-collapse"]=!0,t["border-color"]=!0,t["border-image"]=!0,t["border-image-outset"]=!0,t["border-image-repeat"]=!0,t["border-image-slice"]=!0,t["border-image-source"]=!0,t["border-image-width"]=!0,t["border-left"]=!0,t["border-left-color"]=!0,t["border-left-style"]=!0,t["border-left-width"]=!0,t["border-radius"]=!0,t["border-right"]=!0,t["border-right-color"]=!0,t["border-right-style"]=!0,t["border-right-width"]=!0,t["border-spacing"]=!0,t["border-style"]=!0,t["border-top"]=!0,t["border-top-color"]=!0,t["border-top-left-radius"]=!0,t["border-top-right-radius"]=!0,t["border-top-style"]=!0,t["border-top-width"]=!0,t["border-width"]=!0,t.bottom=!1,t["box-decoration-break"]=!0,t["box-shadow"]=!0,t["box-sizing"]=!0,t["box-snap"]=!0,t["box-suppress"]=!0,t["break-after"]=!0,t["break-before"]=!0,t["break-inside"]=!0,t["caption-side"]=!1,t.chains=!1,t.clear=!0,t.clip=!1,t["clip-path"]=!1,t["clip-rule"]=!1,t.color=!0,t["color-interpolation-filters"]=!0,t["column-count"]=!1,t["column-fill"]=!1,t["column-gap"]=!1,t["column-rule"]=!1,t["column-rule-color"]=!1,t["column-rule-style"]=!1,t["column-rule-width"]=!1,t["column-span"]=!1,t["column-width"]=!1,t.columns=!1,t.contain=!1,t.content=!1,t["counter-increment"]=!1,t["counter-reset"]=!1,t["counter-set"]=!1,t.crop=!1,t.cue=!1,t["cue-after"]=!1,t["cue-before"]=!1,t.cursor=!1,t.direction=!1,t.display=!0,t["display-inside"]=!0,t["display-list"]=!0,t["display-outside"]=!0,t["dominant-baseline"]=!1,t.elevation=!1,t["empty-cells"]=!1,t.filter=!1,t.flex=!1,t["flex-basis"]=!1,t["flex-direction"]=!1,t["flex-flow"]=!1,t["flex-grow"]=!1,t["flex-shrink"]=!1,t["flex-wrap"]=!1,t.float=!1,t["float-offset"]=!1,t["flood-color"]=!1,t["flood-opacity"]=!1,t["flow-from"]=!1,t["flow-into"]=!1,t.font=!0,t["font-family"]=!0,t["font-feature-settings"]=!0,t["font-kerning"]=!0,t["font-language-override"]=!0,t["font-size"]=!0,t["font-size-adjust"]=!0,t["font-stretch"]=!0,t["font-style"]=!0,t["font-synthesis"]=!0,t["font-variant"]=!0,t["font-variant-alternates"]=!0,t["font-variant-caps"]=!0,t["font-variant-east-asian"]=!0,t["font-variant-ligatures"]=!0,t["font-variant-numeric"]=!0,t["font-variant-position"]=!0,t["font-weight"]=!0,t.grid=!1,t["grid-area"]=!1,t["grid-auto-columns"]=!1,t["grid-auto-flow"]=!1,t["grid-auto-rows"]=!1,t["grid-column"]=!1,t["grid-column-end"]=!1,t["grid-column-start"]=!1,t["grid-row"]=!1,t["grid-row-end"]=!1,t["grid-row-start"]=!1,t["grid-template"]=!1,t["grid-template-areas"]=!1,t["grid-template-columns"]=!1,t["grid-template-rows"]=!1,t["hanging-punctuation"]=!1,t.height=!0,t.hyphens=!1,t.icon=!1,t["image-orientation"]=!1,t["image-resolution"]=!1,t["ime-mode"]=!1,t["initial-letters"]=!1,t["inline-box-align"]=!1,t["justify-content"]=!1,t["justify-items"]=!1,t["justify-self"]=!1,t.left=!1,t["letter-spacing"]=!0,t["lighting-color"]=!0,t["line-box-contain"]=!1,t["line-break"]=!1,t["line-grid"]=!1,t["line-height"]=!1,t["line-snap"]=!1,t["line-stacking"]=!1,t["line-stacking-ruby"]=!1,t["line-stacking-shift"]=!1,t["line-stacking-strategy"]=!1,t["list-style"]=!0,t["list-style-image"]=!0,t["list-style-position"]=!0,t["list-style-type"]=!0,t.margin=!0,t["margin-bottom"]=!0,t["margin-left"]=!0,t["margin-right"]=!0,t["margin-top"]=!0,t["marker-offset"]=!1,t["marker-side"]=!1,t.marks=!1,t.mask=!1,t["mask-box"]=!1,t["mask-box-outset"]=!1,t["mask-box-repeat"]=!1,t["mask-box-slice"]=!1,t["mask-box-source"]=!1,t["mask-box-width"]=!1,t["mask-clip"]=!1,t["mask-image"]=!1,t["mask-origin"]=!1,t["mask-position"]=!1,t["mask-repeat"]=!1,t["mask-size"]=!1,t["mask-source-type"]=!1,t["mask-type"]=!1,t["max-height"]=!0,t["max-lines"]=!1,t["max-width"]=!0,t["min-height"]=!0,t["min-width"]=!0,t["move-to"]=!1,t["nav-down"]=!1,t["nav-index"]=!1,t["nav-left"]=!1,t["nav-right"]=!1,t["nav-up"]=!1,t["object-fit"]=!1,t["object-position"]=!1,t.opacity=!1,t.order=!1,t.orphans=!1,t.outline=!1,t["outline-color"]=!1,t["outline-offset"]=!1,t["outline-style"]=!1,t["outline-width"]=!1,t.overflow=!1,t["overflow-wrap"]=!1,t["overflow-x"]=!1,t["overflow-y"]=!1,t.padding=!0,t["padding-bottom"]=!0,t["padding-left"]=!0,t["padding-right"]=!0,t["padding-top"]=!0,t.page=!1,t["page-break-after"]=!1,t["page-break-before"]=!1,t["page-break-inside"]=!1,t["page-policy"]=!1,t.pause=!1,t["pause-after"]=!1,t["pause-before"]=!1,t.perspective=!1,t["perspective-origin"]=!1,t.pitch=!1,t["pitch-range"]=!1,t["play-during"]=!1,t.position=!1,t["presentation-level"]=!1,t.quotes=!1,t["region-fragment"]=!1,t.resize=!1,t.rest=!1,t["rest-after"]=!1,t["rest-before"]=!1,t.richness=!1,t.right=!1,t.rotation=!1,t["rotation-point"]=!1,t["ruby-align"]=!1,t["ruby-merge"]=!1,t["ruby-position"]=!1,t["shape-image-threshold"]=!1,t["shape-outside"]=!1,t["shape-margin"]=!1,t.size=!1,t.speak=!1,t["speak-as"]=!1,t["speak-header"]=!1,t["speak-numeral"]=!1,t["speak-punctuation"]=!1,t["speech-rate"]=!1,t.stress=!1,t["string-set"]=!1,t["tab-size"]=!1,t["table-layout"]=!1,t["text-align"]=!0,t["text-align-last"]=!0,t["text-combine-upright"]=!0,t["text-decoration"]=!0,t["text-decoration-color"]=!0,t["text-decoration-line"]=!0,t["text-decoration-skip"]=!0,t["text-decoration-style"]=!0,t["text-emphasis"]=!0,t["text-emphasis-color"]=!0,t["text-emphasis-position"]=!0,t["text-emphasis-style"]=!0,t["text-height"]=!0,t["text-indent"]=!0,t["text-justify"]=!0,t["text-orientation"]=!0,t["text-overflow"]=!0,t["text-shadow"]=!0,t["text-space-collapse"]=!0,t["text-transform"]=!0,t["text-underline-position"]=!0,t["text-wrap"]=!0,t.top=!1,t.transform=!1,t["transform-origin"]=!1,t["transform-style"]=!1,t.transition=!1,t["transition-delay"]=!1,t["transition-duration"]=!1,t["transition-property"]=!1,t["transition-timing-function"]=!1,t["unicode-bidi"]=!1,t["vertical-align"]=!1,t.visibility=!1,t["voice-balance"]=!1,t["voice-duration"]=!1,t["voice-family"]=!1,t["voice-pitch"]=!1,t["voice-range"]=!1,t["voice-rate"]=!1,t["voice-stress"]=!1,t["voice-volume"]=!1,t.volume=!1,t["white-space"]=!1,t.widows=!1,t.width=!0,t["will-change"]=!1,t["word-break"]=!0,t["word-spacing"]=!0,t["word-wrap"]=!0,t["wrap-flow"]=!1,t["wrap-through"]=!1,t["writing-mode"]=!1,t["z-index"]=!1,t}function ap(t,e,i){}function sp(t,e,i){}var np=/javascript\s*\:/img;function op(t,e){return np.test(e)?"":e}Dt.whiteList=zn();Dt.getDefaultWhiteList=zn;Dt.onAttr=ap;Dt.onIgnoreAttr=sp;Dt.safeAttrValue=op;var lp={indexOf:function(t,e){var i,a;if(Array.prototype.indexOf)return t.indexOf(e);for(i=0,a=t.length;i<a;i++)if(t[i]===e)return i;return-1},forEach:function(t,e,i){var a,r;if(Array.prototype.forEach)return t.forEach(e,i);for(a=0,r=t.length;a<r;a++)e.call(i,t[a],a,t)},trim:function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(t){return String.prototype.trimRight?t.trimRight():t.replace(/(\s*$)/g,"")}},ir=lp;function dp(t,e){t=ir.trimRight(t),t[t.length-1]!==";"&&(t+=";");var i=t.length,a=!1,r=0,s=0,o="";function n(){if(!a){var p=ir.trim(t.slice(r,s)),c=p.indexOf(":");if(c!==-1){var f=ir.trim(p.slice(0,c)),l=ir.trim(p.slice(c+1));if(f){var y=e(r,o.length,f,l,p);y&&(o+=y+"; ")}}}r=s+1}for(;s<i;s++){var d=t[s];if(d==="/"&&t[s+1]==="*"){var u=t.indexOf("*/",s+2);if(u===-1)break;s=u+1,r=s+1,a=!1}else d==="("?a=!0:d===")"?a=!1:d===";"?a||n():d===`
|
|
5
5
|
`&&n()}return ir.trim(o)}var pp=dp,qr=Dt,cp=pp;function Fn(t){return t==null}function up(t){var e={};for(var i in t)e[i]=t[i];return e}function Vn(t){t=up(t||{}),t.whiteList=t.whiteList||qr.whiteList,t.onAttr=t.onAttr||qr.onAttr,t.onIgnoreAttr=t.onIgnoreAttr||qr.onIgnoreAttr,t.safeAttrValue=t.safeAttrValue||qr.safeAttrValue,this.options=t}Vn.prototype.process=function(t){if(t=t||"",t=t.toString(),!t)return"";var e=this,i=e.options,a=i.whiteList,r=i.onAttr,s=i.onIgnoreAttr,o=i.safeAttrValue,n=cp(t,function(d,u,p,c,f){var l=a[p],y=!1;if(l===!0?y=l:typeof l=="function"?y=l(c):l instanceof RegExp&&(y=l.test(c)),y!==!0&&(y=!1),c=o(p,c),!!c){var b={position:u,sourcePosition:d,source:f,isWhite:y};if(y){var m=r(p,c,b);return Fn(m)?p+":"+c:m}else{var m=s(p,c,b);if(!Fn(m))return m}}});return n};var fp=Vn;(function(t,e){var i=Dt,a=fp;function r(o,n){var d=new a(n);return d.process(o)}e=t.exports=r,e.FilterCSS=a;for(var s in i)e[s]=i[s]})(ki,ki.exports);var Vi=ki.exports,Ui={indexOf:function(t,e){var i,a;if(Array.prototype.indexOf)return t.indexOf(e);for(i=0,a=t.length;i<a;i++)if(t[i]===e)return i;return-1},forEach:function(t,e,i){var a,r;if(Array.prototype.forEach)return t.forEach(e,i);for(a=0,r=t.length;a<r;a++)e.call(i,t[a],a,t)},trim:function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(t){var e=/\s|\n|\t/,i=e.exec(t);return i?i.index:-1}},hp=Vi.FilterCSS,yp=Vi.getDefaultWhiteList,Vr=Ui;function Un(){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 Gn=new hp;function mp(t,e,i){}function gp(t,e,i){}function bp(t,e,i){}function vp(t,e,i){}function Hn(t){return t.replace(wp,"<").replace(Ip,">")}function Sp(t,e,i,a){if(i=Xn(i),e==="href"||e==="src"){if(i=Vr.trim(i),i==="#")return"#";if(!(i.substr(0,7)==="http://"||i.substr(0,8)==="https://"||i.substr(0,7)==="mailto:"||i.substr(0,4)==="tel:"||i.substr(0,11)==="data:image/"||i.substr(0,6)==="ftp://"||i.substr(0,2)==="./"||i.substr(0,3)==="../"||i[0]==="#"||i[0]==="/"))return""}else if(e==="background"){if(Br.lastIndex=0,Br.test(i))return""}else if(e==="style"){if(An.lastIndex=0,An.test(i)||(En.lastIndex=0,En.test(i)&&(Br.lastIndex=0,Br.test(i))))return"";a!==!1&&(a=a||Gn,i=a.process(i))}return i=eo(i),i}var wp=/</g,Ip=/>/g,xp=/"/g,Cp=/"/g,Tp=/&#([a-zA-Z0-9]*);?/gim,Pp=/:?/gim,Fp=/&newline;?/gim,Br=/((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,An=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,En=/u\s*r\s*l\s*\(.*/gi;function Qn(t){return t.replace(xp,""")}function Jn(t){return t.replace(Cp,'"')}function Kn(t){return t.replace(Tp,function(e,i){return i[0]==="x"||i[0]==="X"?String.fromCharCode(parseInt(i.substr(1),16)):String.fromCharCode(parseInt(i,10))})}function Zn(t){return t.replace(Pp,":").replace(Fp," ")}function Yn(t){for(var e="",i=0,a=t.length;i<a;i++)e+=t.charCodeAt(i)<32?" ":t.charAt(i);return Vr.trim(e)}function Xn(t){return t=Jn(t),t=Kn(t),t=Zn(t),t=Yn(t),t}function eo(t){return t=Qn(t),t=Hn(t),t}function Ap(){return""}function Ep(t,e){typeof e!="function"&&(e=function(){});var i=!Array.isArray(t);function a(o){return i?!0:Vr.indexOf(t,o)!==-1}var r=[],s=!1;return{onIgnoreTag:function(o,n,d){if(a(o))if(d.isClosing){var u="[/removed]",p=d.position+u.length;return r.push([s!==!1?s:d.position,p]),s=!1,u}else return s||(s=d.position),"[removed]";else return e(o,n,d)},remove:function(o){var n="",d=0;return Vr.forEach(r,function(u){n+=o.slice(d,u[0]),d=u[1]}),n+=o.slice(d),n}}}function $p(t){for(var e="",i=0;i<t.length;){var a=t.indexOf("<!--",i);if(a===-1){e+=t.slice(i);break}e+=t.slice(i,a);var r=t.indexOf("-->",a);if(r===-1)break;i=r+3}return e}function Op(t){var e=t.split("");return e=e.filter(function(i){var a=i.charCodeAt(0);return a===127?!1:a<=31?a===10||a===13:!0}),e.join("")}de.whiteList=Un();de.getDefaultWhiteList=Un;de.onTag=mp;de.onIgnoreTag=gp;de.onTagAttr=bp;de.onIgnoreTagAttr=vp;de.safeAttrValue=Sp;de.escapeHtml=Hn;de.escapeQuote=Qn;de.unescapeQuote=Jn;de.escapeHtmlEntities=Kn;de.escapeDangerHtml5Entities=Zn;de.clearNonPrintableCharacter=Yn;de.friendlyAttrValue=Xn;de.escapeAttrValue=eo;de.onIgnoreTagStripAll=Ap;de.StripTagBody=Ep;de.stripCommentTag=$p;de.stripBlankChar=Op;de.cssFilter=Gn;de.getDefaultCSSWhiteList=yp;var Qr={},gt=Ui;function Dp(t){var e=gt.spaceIndex(t),i;return e===-1?i=t.slice(1,-1):i=t.slice(1,e+1),i=gt.trim(i).toLowerCase(),i.slice(0,1)==="/"&&(i=i.slice(1)),i.slice(-1)==="/"&&(i=i.slice(0,-1)),i}function Lp(t){return t.slice(0,2)==="</"}function Rp(t,e,i){var a="",r=0,s=!1,o=!1,n=0,d=t.length,u="",p="";e:for(n=0;n<d;n++){var c=t.charAt(n);if(s===!1){if(c==="<"){s=n;continue}}else if(o===!1){if(c==="<"){a+=i(t.slice(r,n)),s=n,r=n;continue}if(c===">"){a+=i(t.slice(r,s)),p=t.slice(s,n+1),u=Dp(p),a+=e(s,a.length,u,p,Lp(p)),r=n+1,s=!1;continue}if(c==='"'||c==="'")for(var f=1,l=t.charAt(n-f);l.trim()===""||l==="=";){if(l==="="){o=c;continue e}l=t.charAt(n-++f)}}else if(c===o){o=!1;continue}}return r<t.length&&(a+=i(t.substr(r))),a}var jp=/[^a-zA-Z0-9\\_:.-]/gim;function _p(t,e){var i=0,a=0,r=[],s=!1,o=t.length;function n(f,l){if(f=gt.trim(f),f=f.replace(jp,"").toLowerCase(),!(f.length<1)){var y=e(f,l||"");y&&r.push(y)}}for(var d=0;d<o;d++){var u=t.charAt(d),p,c;if(s===!1&&u==="="){s=t.slice(i,d),i=d+1,a=t.charAt(i)==='"'||t.charAt(i)==="'"?i:Bp(t,d+1);continue}if(s!==!1&&d===a){if(c=t.indexOf(u,d+1),c===-1)break;p=gt.trim(t.slice(a+1,c)),n(s,p),s=!1,d=c,i=d+1;continue}if(/\s|\n|\t/.test(u))if(t=t.replace(/\s|\n|\t/g," "),s===!1)if(c=qp(t,d),c===-1){p=gt.trim(t.slice(i,d)),n(p),s=!1,i=d+1;continue}else{d=c-1;continue}else if(c=kp(t,d-1),c===-1){p=gt.trim(t.slice(i,d)),p=$n(p),n(s,p),s=!1,i=d+1;continue}else continue}return i<t.length&&(s===!1?n(t.slice(i)):n(s,$n(gt.trim(t.slice(i))))),gt.trim(r.join(" "))}function qp(t,e){for(;e<t.length;e++){var i=t[e];if(i!==" ")return i==="="?e:-1}}function Bp(t,e){for(;e<t.length;e++){var i=t[e];if(i!==" ")return i==="'"||i==='"'?e:-1}}function kp(t,e){for(;e>0;e--){var i=t[e];if(i!==" ")return i==="="?e:-1}}function Np(t){return t[0]==='"'&&t[t.length-1]==='"'||t[0]==="'"&&t[t.length-1]==="'"}function $n(t){return Np(t)?t.substr(1,t.length-2):t}Qr.parseTag=Rp;Qr.parseAttr=_p;var Wp=Vi.FilterCSS,Me=de,to=Qr,Mp=to.parseTag,zp=to.parseAttr,Mr=Ui;function kr(t){return t==null}function Vp(t){var e=Mr.spaceIndex(t);if(e===-1)return{html:"",closing:t[t.length-2]==="/"};t=Mr.trim(t.slice(e+1,-1));var i=t[t.length-1]==="/";return i&&(t=Mr.trim(t.slice(0,-1))),{html:t,closing:i}}function Up(t){var e={};for(var i in t)e[i]=t[i];return e}function Gp(t){var e={};for(var i in t)Array.isArray(t[i])?e[i.toLowerCase()]=t[i].map(function(a){return a.toLowerCase()}):e[i.toLowerCase()]=t[i];return e}function ro(t){t=Up(t||{}),t.stripIgnoreTag&&(t.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),t.onIgnoreTag=Me.onIgnoreTagStripAll),t.whiteList||t.allowList?t.whiteList=Gp(t.whiteList||t.allowList):t.whiteList=Me.whiteList,t.onTag=t.onTag||Me.onTag,t.onTagAttr=t.onTagAttr||Me.onTagAttr,t.onIgnoreTag=t.onIgnoreTag||Me.onIgnoreTag,t.onIgnoreTagAttr=t.onIgnoreTagAttr||Me.onIgnoreTagAttr,t.safeAttrValue=t.safeAttrValue||Me.safeAttrValue,t.escapeHtml=t.escapeHtml||Me.escapeHtml,this.options=t,t.css===!1?this.cssFilter=!1:(t.css=t.css||{},this.cssFilter=new Wp(t.css))}ro.prototype.process=function(t){if(t=t||"",t=t.toString(),!t)return"";var e=this,i=e.options,a=i.whiteList,r=i.onTag,s=i.onIgnoreTag,o=i.onTagAttr,n=i.onIgnoreTagAttr,d=i.safeAttrValue,u=i.escapeHtml,p=e.cssFilter;i.stripBlankChar&&(t=Me.stripBlankChar(t)),i.allowCommentTag||(t=Me.stripCommentTag(t));var c=!1;i.stripIgnoreTagBody&&(c=Me.StripTagBody(i.stripIgnoreTagBody,s),s=c.onIgnoreTag);var f=Mp(t,function(l,y,b,m,S){var T={sourcePosition:l,position:y,isClosing:S,isWhite:Object.prototype.hasOwnProperty.call(a,b)},x=r(b,m,T);if(!kr(x))return x;if(T.isWhite){if(T.isClosing)return"</"+b+">";var P=Vp(m),F=a[b],$=zp(P.html,function(q,L){var A=Mr.indexOf(F,q)!==-1,R=o(b,q,L,A);return kr(R)?A?(L=d(b,q,L,p),L?q+'="'+L+'"':q):(R=n(b,q,L,A),kr(R)?void 0:R):R});return m="<"+b,$&&(m+=" "+$),P.closing&&(m+=" /"),m+=">",m}else return x=s(b,m,T),kr(x)?u(m):x},u);return c&&(f=c.remove(f)),f};var Hp=ro;(function(t,e){var i=de,a=Qr,r=Hp;function s(n,d){var u=new r(d);return u.process(n)}e=t.exports=s,e.filterXSS=s,e.FilterXSS=r,function(){for(var n in i)e[n]=i[n];for(var d in a)e[d]=a[d]}();function o(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}o()&&(self.filterXSS=t.exports)})(Bi,Bi.exports);var Vt=Bi.exports,Qp=function(t){if(typeof t!="object"||t===null||Object.prototype.toString.call(t)!=="[object Object]")return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e},Jp=function(){function t(e,i){var a=this;this.arcgisWhiteList={a:["href","style","target"],abbr:["title"],article:["style"],aside:["style"],audio:["autoplay","controls","loop","muted","preload"],b:[],blockquote:["style"],br:[],code:["style"],dd:["style"],del:["style"],details:["open","style"],div:["align","aria-hidden","aria-label","style"],dl:["style"],dt:["style"],em:[],figcaption:["style"],figure:["style"],font:["color","face","size","style"],footer:["style"],h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],header:["style"],hr:[],i:[],img:["alt","border","height","src","style","width"],li:[],main:["style"],mark:["style"],nav:["style"],ol:[],p:["style"],pre:["style"],section:["style"],source:["media","src","type"],span:["aria-hidden","aria-label","style"],strong:[],sub:["style"],summary:["style"],sup:["style"],table:["border","cellpadding","cellspacing","height","style","width"],tbody:[],tr:["align","height","style","valign"],td:["align","colspan","height","nowrap","rowspan","style","valign","width"],th:["align","colspan","height","nowrap","rowspan","style","valign","width"],time:["style"],u:[],ul:[],video:["autoplay","controls","height","loop","muted","poster","preload","width"]},this.arcgisCSSWhiteList=zr(zr({},Vt.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(s,o,n,d){return s==="a"&&o==="href"||(s==="img"||s==="source")&&o==="src"?a.sanitizeUrl(n):Vt.safeAttrValue(s,o,n,d)}},this._entityMap={"&":"8","<":"<",">":">",'"':""","'":"'","/":"/"};var r;e&&!i?r=e:e&&i?(r=Object.create(this.arcgisFilterOptions),r.css={whiteList:this.arcgisCSSWhiteList},Object.keys(e).forEach(function(s){if(s==="whiteList")r.whiteList=a._extendObjectOfArrays([a.arcgisWhiteList,e.whiteList||{}]);else if(s==="css"){var o=e.css.whiteList;o!=null&&e.css instanceof Object&&Object.keys(o).forEach(function(n){return r.css.whiteList[n]=o[n]})}else r[s]=e[s]})):(r=Object.create(this.arcgisFilterOptions),r.whiteList=this.arcgisWhiteList,r.css={whiteList:this.arcgisCSSWhiteList}),this.xssFilterOptions=r,this._xssFilter=new Vt.FilterXSS(r)}return t.prototype.sanitize=function(e,i){switch(i===void 0&&(i={}),typeof e){case"number":return isNaN(e)||!isFinite(e)?null:e;case"boolean":return e;case"string":return this._xssFilter.process(e);case"object":return this._iterateOverObject(e,i);default:return i.allowUndefined&&typeof e>"u"?void 0:null}},t.prototype.sanitizeUrl=function(e,i){var a=(i??{}).isProtocolRequired,r=a===void 0?!0:a,s=this._trim(e.substring(0,e.indexOf(":"))),o=e==="/",n=/^#/.test(e),d=s&&this.allowedProtocols.indexOf(s.toLowerCase())>-1;return o||n||d?Vt.escapeAttrValue(e):!s&&!r?Vt.escapeAttrValue("https://".concat(e)):""},t.prototype.sanitizeHTMLAttribute=function(e,i,a,r){return typeof this.xssFilterOptions.safeAttrValue=="function"?this.xssFilterOptions.safeAttrValue(e,i,a,r):Vt.safeAttrValue(e,i,a,r)},t.prototype.validate=function(e,i){i===void 0&&(i={});var a=this.sanitize(e,i);return{isValid:e===a,sanitized:a}},t.prototype.encodeHTML=function(e){var i=this;return String(e).replace(/[&<>"'\/]/g,function(a){return i._entityMap[a]})},t.prototype.encodeAttrValue=function(e){var i=/^[a-zA-Z0-9]$/;return String(e).replace(/[\x00-\xFF]/g,function(a,r){return i.test(a)?a:"&#x".concat(Number(e.charCodeAt(r)).toString(16),";")})},t.prototype._extendObjectOfArrays=function(e){var i={};return e.forEach(function(a){Object.keys(a).forEach(function(r){Array.isArray(a[r])&&Array.isArray(i[r])?i[r]=i[r].concat(a[r]):i[r]=a[r]})}),i},t.prototype._iterateOverObject=function(e,i){var a=this;i===void 0&&(i={});try{var r=!1,s=void 0;if(Array.isArray(e))s=e.reduce(function(n,d){var u=a.validate(d,i);return u.isValid?n.concat([d]):(r=!0,n.concat([u.sanitized]))},[]);else if(Qp(e)){var o=Object.keys(e);s=o.reduce(function(n,d){var u=e[d],p=a.validate(u,i);return p.isValid?n[d]=u:(r=!0,n[d]=p.sanitized),n},{})}else return i.allowUndefined&&typeof e>"u"?void 0:null;return r?s:e}catch{return null}},t.prototype._trim=function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},t}(),k={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"},Ph={SelectionByClick:"SelectionByClick",SelectionByRange:"SelectionByRange",ProgrammaticSelection:"ProgrammaticSelection",ClearSelection:"ClearSelection"};function Fh(t){return t?.colorMatch??!1}function Ah(t){let e=ar();if(t!==void 0){let i=$e(t.series);(i===I.BarSeries||i===I.LineSeries||i===I.ComboLineAndBarSeries||i===I.BoxPlotSeries)&&(e=t.rotated??ar())}return e}function Eh(t){return t?.map(e=>e.type)??[]}function Kp(t){let e=t?.stackedType;if(e===void 0&&t!==void 0){let i=$e(t.series);(i===I.BarSeries||i===I.LineSeries||i===I.ComboLineAndBarSeries||i===I.RadarSeries)&&(e=tp())}return e}function Zp(t){let e=t;return e=e.replace(/'/gu,"''"),e=e.replace(/[/\\"|[\]\\]/gu,"\\$&"),e}function Yp(t){let e=!1;if(typeof t!="number"){let i=new Intl.Segmenter;e=Array.from(i.segment(t),a=>a.segment).some(a=>a.charCodeAt(0)>255)}return e}function Xp(t){let e=t,i="";t.startsWith("'")&&t.endsWith("'")&&(e=t.slice(1,-1),i="'"),e=e.replace(/'/gu,"''");let a="";return Yp(e)&&(a="N"),`${a}${i}${e}${i}`}function io(t){let{value:e,keepSurroundingQuotes:i,escape:a}=t,r=e?.trim();if(!Ke(r)){let s="";r.startsWith("'")&&r.endsWith("'")&&(r=r.slice(1,-1),i&&(s="'")),a!==!1&&(r=Zp(r)),r=`${s}${r}${s}`}return r}function $h(t){let{count:e,seriesCount:i,chartType:a,chartLimits:r}=t,{behaviorAfterLimit:s}=r??{},o=!0;if(s!==kn.RenderUpToTheLimit){let{maxBarChartSeriesCount:n,maxBarUniqueSeriesCountTotal:d,maxBarTwoSeriesCountPerSeries:u,maxBarTwoSeriesCountTotal:p,maxBarThreePlusSeriesCountPerSeries:c,maxBarThreePlusSeriesCountTotal:f,maxLineChartSeriesCount:l,maxLineUniqueSeriesCountTotal:y,maxLineTwoSeriesCountPerSeries:b,maxLineTwoSeriesCountTotal:m,maxLineThreePlusSeriesCountPerSeries:S,maxLineThreePlusSeriesCountTotal:T,maxPieChartSliceCountTotal:x,maxGaugeByFeaturesLimit:P,maxBoxPlotSeriesCount:F,maxBoxUniqueSeriesCountTotal:$,maxBoxTwoSeriesCountTotal:q,maxBoxTwoSeriesCountPerSeries:L,maxBoxThreePlusSeriesCountTotal:A,maxBoxThreePlusSeriesCountPerSeries:R,maxHeatChartCellLimit:D}=ep(r);switch(a){case I.BarSeries:case I.ComboLineAndBarSeries:{let j=e/i;i<=n?i===0?o=!0:i===1?o=e<=d:i===2?o=e<=p&&j<=u:i>2&&(o=e<=f&&j<=c):o=!1}break;case I.LineSeries:case I.RadarSeries:{let j=e/i;i<=l?i===0?o=!0:i===1?o=e<=y:i===2?o=e<=m&&j<=b:i>2&&(o=e<=T&&j<=S):o=!1}break;case I.PieSeries:o=e<=x;break;case I.BoxPlotSeries:{let j=e/i;i<=F?i===0?o=!0:i===1?o=e<=$:i===2?o=e<=q&&j<=L:i>2&&(o=e<=A&&j<=R):o=!1}break;case I.HeatSeries:o=e<=D;break;case I.GaugeSeries:o=e<=P;break}}return o}function Oh(t=[],e){let i=t.find(a=>a.name===e)?.alias;return i!==""?i??e:e}function Dh(t=[],e){let i=t.find(a=>a.alias===e)?.name;return i!==""?i??e:e}function Lh(t){let e=!1;switch($e(t)){case I.PieSeries:e=!0;break;case I.BarSeries:case I.LineSeries:case I.RadarSeries:case I.ComboLineAndBarSeries:case I.BoxPlotSeries:e=t.length>1;break;case I.HistogramSeries:case I.ScatterSeries:{let i=t[0];e=i.overlays!==void 0&&Object.values(i.overlays).some(a=>a.created===!0);break}}return e}function ec(t){let e=!0;return $e(t.series)===I.ScatterSeries&&(e=t.series.length===1),e}function tc(t){let e=!0;return $e(t.series)===I.HistogramSeries&&(e=t.series.length<=1&&t.series[0].type===I.HistogramSeries&&(!("dataTransformationType"in t.series[0])||t.series[0].dataTransformationType!==void 0&&Object.values(ti).includes(t.series[0].dataTransformationType))),e}function rc(t){let e=!0;return $e(t.series)===I.PieSeries&&(e=t.series.length<=1),e}function Rh(t,e){let i=$e(e?.series),a=i!==void 0&&t.includes(i);if(a&&e!==void 0)switch(i){case I.HistogramSeries:a=tc(e);break;case I.ScatterSeries:a=ec(e);break;case I.PieSeries:a=rc(e);break}return a}function Ke(t){return t==null||typeof t=="string"&&t.trim()===""}function ic(t,e){let i=e.find(a=>a in t);return{isInItem:i!==void 0,expr:i}}function jh(t){return ic(t,Dd)}function _h(t,e){let i;switch(t){case xe.Second:i=e.seconds??"";break;case xe.Minute:i=e.minutes??"";break;case xe.Hour:i=e.hours??"";break;case xe.Day:i=e.days??"";break;case xe.Week:i=e.weeks??"";break;case xe.Month:i=e.months??"";break;case xe.Year:i=e.years??"";break;default:i="";break}return i}function qh(t){let e;switch(t){case at.Mean:e=1;break;case at.Median:e=2;break;case at.StdDev:e=3;break;case at.Normal:default:e=0;break}return e}function Bh(t,e){if(e!==void 0){let{seriesId:i,overlayType:a,visible:r}=t.detail,s;switch(a){case at.Mean:e.series[0].type===I.HistogramSeries&&(s=e.series[0].overlays?.mean);break;case at.Median:e.series[0].type===I.HistogramSeries&&(s=e.series[0].overlays?.median);break;case at.StdDev:e.series[0].type===I.HistogramSeries&&(s=e.series[0].overlays?.standardDeviation);break;case at.Normal:e.series[0].type===I.HistogramSeries&&(s=e.series[0].overlays?.comparisonDistribution);break;case at.Trendline:e.series[0].type===I.ScatterSeries&&(s=e.series[0].overlays?.trendLine);break;default:s=e.series.find(o=>o.id===i);break}s!==void 0&&(s.visible=r)}}function kh(t){return new Jp().sanitize(t)}function Nh(t){return t!=null&&!Number.isNaN(t)&&Number.isFinite(t)}function Wh(t,e){let i;return e!==void 0&&(i={...e,rotated:t}),i}function Mh(t,e){let i={fieldToSort:""};if(!Ke(t)){let a=t.trim(),r=a.split(" ").at(-1)?.toUpperCase();r===rt.Ascending||r===rt.Descending?i={fieldToSort:a.substring(0,a.lastIndexOf(" ")),orderBy:r}:(i={fieldToSort:a},e!==!1&&(i.orderBy=rt.Ascending))}return i}function zh(t){return t===k.BarAndLineSplitBy||t===k.BarAndLineSplitByNoAggregation||t===k.BoxPlotMonoFieldAndSplitBy||t===k.BoxPlotMultiFieldsAndSplitBy||t===k.BoxPlotMonoFieldAndCategoryAndSplitBy}function Vh(t){return t?.selectionOIDs===void 0||t.selectionOIDs.length===0}function Uh(t={arrayA:[],arrayB:[],getKey:e=>e}){let{arrayA:e,arrayB:i,getKey:a}=t;if(i.length===0||e.length===0)return e;let r=new Map;i.forEach((d,u)=>{let p=a(d);r.set(p,u)});let s=[],o=[];e.forEach((d,u)=>{let p=a(d);r.has(p)&&(s.push(u),o.push(d))}),o.sort((d,u)=>{let p=a(d),c=a(u);return r.get(p)-r.get(c)});let n=[...e];return s.forEach((d,u)=>{n[d]=o[u]}),n}var Et=["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","23.3.0","24.0.0","24.1.0","24.2.0","24.3.0"],ac="1.0.0",sc="unrecognized.version",nc=[I.LineSeries,I.BarSeries,I.ComboLineAndBarSeries,I.RadarSeries];function Ri(t,e){let i=0;if(t!==e){let a=t.split("."),r=e.split(".");for(let s=0;s<a.length;s+=1){let o=Number.parseInt(a[s],10),n=Number.parseInt(r[s],10);if(o>n||Number.isNaN(n)){i=1;break}if(o<n){i=-1;break}}}return i}function oc(t){return t!==void 0?/^([1-9]\d*|0)(\.(([1-9]\d*)|0)){2}$/u.test(t):!1}function lc(t){let e=ct.Same,i=[];if(oc(t)&&t!==void 0){Et.sort(Ri);let a=Ri(t,Et[Et.length-1]);if(a===1?e=ct.Newer:a===-1&&(e=ct.Older),e===ct.Newer||e===ct.Same)i.push(t);else{for(let r=Et.length-2;r>=0;r-=1)if(Ri(t,Et[r])>=0){i=Et.slice(r,Et.length);break}i.length===0&&i.push(ac)}}else e=ct.Unrecognized,i.push(sc);return{versionStatus:e,versions:i}}function dc(t){let{series:e}=t,i=("showMean"in t?t.showMean:!1)===!0?e.find(a=>a.type===I.LineSeries):e[0];return i??=e[0],i}function Gh(t,e){let i=t!==null?t.toString():null,a=e!=null?e.toString():null;return a!==null&&a!==i?Ce.SFS:Ce.SLS}function Gi(t,e){let i="";return t!==void 0&&t.includes("=")&&(i=e!==!1?io({value:t.split("=")[0]}):t.split("=")[0].trim()),i}function lr(t){let{where:e,normalize:i,keepSurroundingQuotes:a,escape:r}=t,s="";return e!==void 0&&e.includes("=")&&(s=e.split("=").slice(1).join("=").trim(),s==="null"?s=null:s.trim()!==""&&!Number.isNaN(Number(s))?s=Number(s):i===!1?r===!0&&(s=Xp(s)):s=io({value:s,keepSurroundingQuotes:a,escape:r})),s}function Gt(t){let e=!1;if(t===void 0||t==="")e=!0;else if(t.includes("=")){let i=Gi(t,!1),a=lr({where:t,normalize:!1});e=i===`${a}`}return e}function Hh(t){let{where:e,normalize:i,escape:a}=t,r=i===void 0?!0:i,s=Gi(e),o=lr({where:e,normalize:r,keepSurroundingQuotes:!0,escape:a}),n=e;return s!==""&&o!==""&&(n=`${s}=${o}`),n}function pc(t){let e=k.PieFromCategory;return t[0].query?.outStatistics===void 0?e=k.PieNoAggregation:t[0].query?.groupByFieldsForStatistics===void 0&&(e=k.PieFromFields),e}function cc(t){let e=k.BarAndLineMonoField,i=t[0].query?.where;return t[0].query?.groupByFieldsForStatistics===void 0&&(t[0].query?.outStatistics??[]).length>0?e=k.BarAndLineFromFields:i===void 0&&t[0].query?.outStatistics===void 0?e=k.BarAndLineNoAggregation:Gt(i)?t.length>1&&(e=k.BarAndLineMultiFields):e=t[0].query?.outStatistics===void 0?k.BarAndLineSplitByNoAggregation:k.BarAndLineSplitBy,e}function uc(t){let e=k.BoxPlotMonoField,i=t.length===1,a=t.find(n=>n.type===I.LineSeries)??t[0],{x:r}=a,s="y"in a?a.y:"",o=a.query?.where;switch(r){case zi:typeof s=="object"&&s.length>1?Gt(o)?i&&(e=k.BoxPlotMultiFields):e=k.BoxPlotMultiFieldsAndSplitBy:i?e=k.BoxPlotMonoField:Gt(o)||(e=k.BoxPlotMonoFieldAndSplitBy);break;default:i?e=k.BoxPlotMonoFieldAndCategory:Gt(o)?e=k.BoxPlotMultiFieldsAndCategory:e=k.BoxPlotMonoFieldAndCategoryAndSplitBy;break}return e}function st(t){let e=k.NonSpecific;if(t?.[0]!==void 0)switch($e(t)){case I.PieSeries:e=pc(t);break;case I.RadarSeries:case I.BarSeries:case I.LineSeries:case I.ComboLineAndBarSeries:e=cc(t);break;case I.BoxPlotSeries:e=uc(t);break}return e}function Qh(t){let{seriesConfig:e,xAxisValueFormatType:i,setTimeBinningInfoWhenNotProvided:a}=t,r=!1;if(fc(e)&&e.binTemporalData!==!1&&i===I.DateAxisFormat){let s=st([e]);if(e.temporalBinning&&s!==k.BarAndLineNoAggregation&&s!==k.BarAndLineSplitByNoAggregation){let{unit:o,size:n}=e.temporalBinning;r=a===!0||n!==void 0&&n>0&&o!==void 0}}return r}function fc(t){return nc.includes(t.type)}var se={Min:"min",FirstQuartile:"first_quartile",Median:"median",ThirdQuartile:"third_quartile",Max:"max",IQR:"iqr",Average:"avg",StandardDeviation:"stddev",Outlier:"outlier"};function hc(t){let e=t===void 0||t==="";return{[se.Average]:`${e?"":`${t}_`}${se.Average}`,[se.Min]:`${e?"":`${t}_`}${se.Min}`,[se.Max]:`${e?"":`${t}_`}${se.Max}`,[se.FirstQuartile]:`${e?"":`${t}_`}${se.FirstQuartile}`,[se.Median]:`${e?"":`${t}_`}${se.Median}`,[se.ThirdQuartile]:`${e?"":`${t}_`}${se.ThirdQuartile}`,[se.IQR]:`${e?"":`${t}_`}${se.IQR}`,[se.Outlier]:`${e?"":`${t}_`}${se.Outlier}`,[se.StandardDeviation]:`${e?"":`${t}_`}${se.StandardDeviation}`}}function yc(t){return t.subType===ua.FeatureGauge}function Jh(t){let e;return t!==void 0&&("bins"in t?e=t.bins:"dataItems"in t&&(e=t.dataItems)),e}function mc(t){return t===k.BoxPlotMultiFields||t===k.BoxPlotMultiFieldsAndCategory||t===k.BoxPlotMultiFieldsAndSplitBy}function Ur(t){let{key:e,y:i,chartSubType:a,splitBy:r,splitByValue:s,showOutliers:o,standardizeValues:n}=t,d=s,u=hc(i)[e];return o===!0&&(e===se.Min||e===se.Max)&&(u=`${u}${rp}`),n===!0&&(mc(a)||e===se.Outlier)&&(u=`${u}${ip}`),(s===void 0||`${s}`.trim()==="")&&(d=lr({where:r,normalize:!0,escape:!1})),d!==void 0&&`${d}`.trim()!==""&&(u=`${d}${u!==""?`_${u}`:""}`),u}function ji(t){let{dataItem:e,y:i,splitBy:a,showOutliers:r}=t,s=Ur({key:se.FirstQuartile,y:i,splitBy:a,showOutliers:r}),o=Ur({key:se.ThirdQuartile,y:i,splitBy:a,showOutliers:r});return Number.isFinite(e[s])||Number.isFinite(e[o])}function gc(t){let{configSeries:e,boxPlotDataItem:i,yList:a,showOutliers:r}=t,s=st(e),o=!1;switch(s){case k.BoxPlotMonoField:case k.BoxPlotMultiFields:case k.BoxPlotMonoFieldAndCategory:o=ji({dataItem:i,showOutliers:r});break;case k.BoxPlotMultiFieldsAndCategory:o=a.some(n=>ji({dataItem:i,y:n,showOutliers:r}));break;case k.BoxPlotMonoFieldAndSplitBy:case k.BoxPlotMultiFieldsAndSplitBy:case k.BoxPlotMonoFieldAndCategoryAndSplitBy:o=e.some(n=>ji({dataItem:i,splitBy:n.query?.where,showOutliers:r}));break;default:o=!1;break}return o}function ao(t){return t.map(e=>e.id).filter(e=>e!==void 0)}function Gr(t,e){let i=[],a=e??ao(t),r=st(t);return i=t.filter(s=>a.includes(s.id)).map(s=>{let o="y"in s?s.y:void 0;return o!==void 0&&r===k.BarAndLineSplitByNoAggregation&&(o=`${o.toString()}_${lr({where:s.query?.where})}`),o}).filter(s=>s!==void 0),Array.from(new Set(i.flat()))}function bc(t){let{seriesConfig:e,filteredSeriesIds:i,showMean:a}=t,r=[];if(a===!0){let s=e.find(o=>o.type===I.BoxPlotSeries);s!==void 0&&"y"in s&&(r=[s.y].flat())}else r=Gr(e,i);return r}function mt(t,e){return t===null&&e===!0||Number.isFinite(t)}function vc(t){let{dataItem:e,x:i,y:a,nullAsValid:r=!1}=t;return e[i]!==void 0&&(typeof e[i]!="number"||Number.isFinite(e[i]))&&mt(e[a],r)}function Kh(t){let{chartConfig:e,nullAsValid:i=!1,dataSet:a}=t,r=!0;if(e!==void 0){let s=$e(e.series);if(a===void 0||a.length===0)r=!0;else{let o=Gr(e.series);r=!a.some(n=>{let d=!1;switch(s){case I.HistogramSeries:{let u=n;d=mt(u.minValue,i)&&mt(u.maxValue,i)}break;case I.ScatterSeries:{let u=n,{x:p,y:c}=e.series[0];d=mt(u[p],i)&&mt(u[c],i)}break;case I.ComboLineAndBarSeries:case I.RadarSeries:case I.LineSeries:case I.BarSeries:{let u=n,{x:p}=e.series[0];d=o.some(c=>vc({dataItem:u,x:p,y:c,nullAsValid:i}));break}case I.BoxPlotSeries:{let u=e.series,{showOutliers:p}=e;d=gc({configSeries:u,boxPlotDataItem:n,yList:o,showOutliers:p});break}case I.PieSeries:{let u=n,{x:p,y:c}=e.series[0];st(e.series)===k.PieFromFields&&(p=Mi,c=Bn);let f=u[c];d=u[p]!==void 0&&u[p]!==null&&!da(f)&&mt(Number(f),i)}break;case I.GaugeSeries:{let{x:u}=e.series[0];d=mt(n[u],i)}break;case I.HeatSeries:d=a.some(u=>mt(u[jd.valueField],i));break}return d})}}return r}function Sc(t,e){let i=new Map,a=e??ao(t);return t.forEach(r=>{if(a.includes(r.id)&&"y"in r){let s=i.get(r.type)??[];s.push(r.y),i.set(r.type,s)}}),i}function wc(t){let{seriesConfig:e,filteredSeriesIds:i,filteredData:a}=t,r=Sc(e,i),s=e.find(d=>d.type===I.LineSeries||d.type===I.RadarSeries)?.stackNegativeValuesToBaseline??!0,o=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER;return a.forEach((d,u)=>{r.forEach(p=>{if(s){let c=[],f=[];for(let l=0;l<p.length;l+=1){let y=d[p[l]];Number.isFinite(y)&&(y<0?f[u]=(f[u]??0)+y:c[u]=(c[u]??0)+y)}c=c.filter(l=>Number.isFinite(l)).sort((l,y)=>l-y),f=f.filter(l=>Number.isFinite(l)).sort((l,y)=>l-y),o=Math.max(o,c.length>0?c[c.length-1]:f[f.length-1]),n=Math.min(n,f.length>0?f[0]:c[0])}else{let c=0;for(let f=0;f<p.length;f+=1){let l=d[p[f]];c+=l,o=Math.max(o,c),n=Math.min(n,c)}}})}),{stackedMinY:n,stackedMaxY:o}}function Ic(t){let{dataItem:e,...i}=t,a=Ur({key:se.Min,...i}),r=Ur({key:se.Max,...i}),s=e[a],o=e[r];return{min:s,max:o}}function Zh(t){let e=Number.NaN,i=Number.NaN,a,r,{chartConfig:s,chartData:o,filteredSeriesIds:n}=t,{series:d}=s;if(d?.length>0){let{x:u}=d[0],p=o.filter(f=>f[u]!==null);[a,r]=tr(p,f=>f[u]),s.axes?.[1]?.valueFormat.type===I.DateAxisFormat&&a!==void 0&&r!==void 0&&([a,r]=[new Date(a).valueOf(),new Date(r).valueOf()]);let c=$e(s.series);if(c===I.HistogramSeries&&o.length>0){let f=o[0]?.[Pn.Start],l=o[o.length-1]?.[Pn.End];a=typeof f=="number"?f:a,r=typeof l=="number"?l:r}else if(c===I.BoxPlotSeries){e=Number.MAX_SAFE_INTEGER,i=Number.MIN_SAFE_INTEGER;let f=Gr(d,n),l=st(d),y="standardizeValues"in s?s.standardizeValues===!0:void 0,b=s.series.map(m=>m.visible!==!1?lr({where:m.query?.where}):"");b.length===0&&b.push(" ");for(let m=0;m<p.length;m+=1)for(let S=0;S<f.length;S+=1){let T=l===k.BoxPlotMultiFieldsAndCategory?f[S]:void 0;for(let x=0;x<b.length;x+=1){let{min:P,max:F}=Ic({y:T,splitByValue:b[x],chartSubType:l,showOutliers:!1,standardizeValues:y,dataItem:p[m]});P!=null&&P<e&&(e=P),F!=null&&F>i&&(i=F)}}}else switch(Kp(s)){case er.Stacked100:{e=Number.NaN,i=Number.NaN;break}case er.Stacked:{let{stackedMinY:f,stackedMaxY:l}=wc({seriesConfig:d,filteredData:p,filteredSeriesIds:n});e=f,i=l;break}case er.Side:default:{e=Number.MAX_SAFE_INTEGER,i=Number.MIN_SAFE_INTEGER;let f=Gr(d,n);for(let l=0;l<f.length;l+=1){let y=f[l],[b,m]=tr(p,S=>S[y]);b!==void 0&&b<e&&(e=b),m!==void 0&&m>i&&(i=m)}break}}}return{minY:e,maxY:i,minX:a,maxX:r}}var Ve=class extends Error{constructor(e,i,a){super(i),this.name=e,this.details=a}},Ue={Default:"defaultError",LayerLoadFailure:"layerLoadFailure",QueryFeaturesError:"queryFeaturesError",ChartDisposed:"ChartDisposeError",LayerFieldsNotFound:"layerFieldsNotFound"};function Yh(t){return t!==void 0&&(!("url"in t)||!t.url)}function Jr(t){return t!==void 0&&"layer"in t}function xc(t){return t!==void 0&&"type"in t&&t.type==="feature"}function Cc(t){return t!==void 0&&"type"in t&&t.type==="subtype-group"}function Hi(t){return t!==void 0&&"type"in t&&t.type==="subtype-sublayer"}function Xh(t){return xc(t)||Hi(t)}function Se(t){return Hi(t)?t.parent:t}function so(t){return t.capabilities?.query?.supportsDistance||Se(t).sourceJSON?.advancedQueryCapabilities?.supportsQueryWithDistance===!0}function Tc(t,e){return t.capabilities?.queryAttributeBins?.supportsFixedInterval===!0&&t.capabilities?.queryAttributeBins?.supportsStackBy&&!Jr(e)}function Pc(t,e){return t!==void 0&&"capabilities"in t&&t.capabilities?.queryAttributeBins?.supportsDate===!0&&(Ke(e)||t.capabilities?.queryAttributeBins?.supportsStackBy)}function ey(t){let e=!1,i=Se(Te(t)).sourceJSON;if(i){let a=i.queryBinsCapabilities?.supportsFixedIntervalBin,r=i.queryBinsCapabilities?.supportedStatisticTypes,s=[ae.Maximum,ae.Count].every(o=>r?.includes(o.toUpperCase())||r?.includes(o.toLowerCase()));e=a&&s}return e}function ty(t){let e;return Jr(t)?e=t.layer:e=t,e}function Te(t){let e;return Jr(t)?e=t.layer:e=t,e}function Fc(t){let e=!1,i=Se(t).sourceJSON?.advancedQueryCapabilities?.supportedSpatialAggregationStatistics??[],a=t.capabilities?.query.supportedSpatialAggregationStatistics??{};return e=i.includes("EnvelopeAggregate")||"envelope"in a&&a.envelope===!0,e}function ry(t){let{chartConfig:e,queryObject:i}=t,a,r=Te(i);return r&&(a={id:r.id,layerType:"ArcGISFeatureLayer"},r.url&&(a.url=r.url)),{...e,iLayer:a}}var sr=new Map;function Ac(t){let e;switch(t){case Pt.Feet:e="esriSRUnit_Foot";break;case Pt.Miles:e="esriSRUnit_StatuteMile";break;case Pt.NauticalMiles:e="esriSRUnit_NauticalMile";break;case Pt.USNauticalMiles:e="esriSRUnit_USNauticalMile";break;case Pt.Meters:e="esriSRUnit_Meter";break;case Pt.Kilometers:e="esriSRUnit_Kilometer";break}return e}async function iy(t){let{queryObject:e,queryConfig:i,outputFormat:a,dataFormat:r,outAnalytics:s}=t,{where:o,geometry:n,distance:d,units:u,timeExtent:p}=i,c,f=Te(e),l=Se(f),y={query:{where:nr([o,l.definitionExpression])}},b=Qi(n)?.extent?.toJSON();if(b!==void 0){let S=Ac(u),{xmin:T,ymin:x,xmax:P,ymax:F}=b;y.query={...y.query,geometryType:"esriGeometryEnvelope",geometry:`${T},${x},${P},${F}`,distance:d,units:S,inSR:n?.spatialReference?.wkid}}p&&(y.query.time=`${p[0]},${p[1]}`);let m=`${l.url}/${l.layerId}/queryAnalytic?f=${a}&dataFormat=${r}&outAnalytics=${s}`;try{c=(await _i(m,y)).data?.features?.[0]?.attributes}catch(S){let T=(await Ne(We(document.documentElement).t9nLocale,ke("./assets/common/t9n"),"messages.")).errorStrings;throw new Ve(Ue.QueryFeaturesError,T.errors.queryError,S)}return c}function Ec(t,e){return{lowerBoundaryAlias:`charts_lower_boundary_${t}`,upperBoundaryAlias:`charts_upper_boundary_${t}`,stackAlias:`charts_stack_alias_${e}`}}async function ay(t){let{chartConfig:e,queryObject:i,queryConfig:a,errorStrings:r}=t,s,o=Te(i),n=Tc(o,i);if(n&&i&&"queryAttributeBins"in i&&e.series[0].type===I.HeatSeries){let{x:d,y:u,xTemporalBinning:p,yTemporalBinning:c}=e.series[0],{outTimeZone:f,firstDayOfWeek:l}=e,y=await kc({queryObject:i,queryConfig:a,x:d,y:u,xTemporalBinning:p,yTemporalBinning:c,outTimeZone:f,firstDayOfWeek:l});try{s=await i.queryAttributeBins(y)}catch(b){throw new Ve(Ue.QueryFeaturesError,r.errors.queryError,b)}}if(!n)throw new Ve(Ue.QueryFeaturesError,r.errors.queryBinsNotSupported,r.errors.queryBinsNotSupported);return s}async function sy(t){let{chartConfig:e,queryObject:i,queryConfig:a,returnFeaturesExtent:r,errorStrings:s,abortKey:o}=t,n=e.series[0],d;if(n.type===I.HeatSeries){let{x:u,y:p}=n;a.groupByFieldsForStatistics=[u],u!==p&&a.groupByFieldsForStatistics.push(p),a&&r===!0&&!a.outStatistics?.some(c=>c.statisticType===ae.EnvelopeAggregate)&&a.outStatistics?.push({statisticType:ae.EnvelopeAggregate,onStatisticField:"1"});try{d=await oo({queryObject:i,queryConfig:a,abortKey:o})}catch(c){throw new Ve(Ue.QueryFeaturesError,s.errors.queryError,c)}}return d}async function ny(t){let{queryObject:e,queryConfig:i,xStep:a,xMin:r,xMax:s,x:o,y:n,yStep:d,errorStrings:u}=t,p;if(e&&"queryAttributeBins"in e&&Number.isFinite(a)&&Number.isFinite(d)&&Number.isFinite(r)&&Number.isFinite(s)&&a>0&&d>0){let c=Nc({queryObject:e,queryConfig:i,xStep:a,xMin:r,xMax:s,x:o,y:n,yStep:d});try{p=await e.queryAttributeBins(c)}catch(f){throw new Ve(Ue.QueryFeaturesError,u.errors.queryError,f)}}return p}async function oy(t){let{queryConfig:e,x:i,queryObject:a,chartSubType:r,isGaugeByFeature:s}=t,o=Te(a),n;if(a!==void 0){let d=o.objectIdField,{where:u,gdbVersion:p,timeExtent:c,geometry:f,distance:l,units:y}=e,b=Rc(c),m=Qi(f),S=Se(o),T=nr([u,S.definitionExpression]),x={returnDistinctValues:!0,outFields:s===!0||r===k.PieNoAggregation||r===k.BarAndLineNoAggregation||r===k.BarAndLineSplitByNoAggregation?[d]:[i],where:T,gdbVersion:p??S.gdbVersion,timeExtent:b??S.timeExtent,geometry:m};lo(x)&&(x.cacheHint=!0),x.geometry!==void 0&&so(o)&&(l!==void 0&&(x.distance=l),y!==void 0&&(x.units=y));try{n=await a.queryFeatureCount(x)}catch{n=Number.NaN}}return n}async function ly(t){let{queryObject:e,queryConfig:i,abortKey:a}=t,{outStatistics:r}=i,s=new Map;if(e!==void 0&&r!==void 0&&r.length>0){let o=r.map(p=>{let{statisticType:c,onStatisticField:f,outStatisticFieldName:l}=p;return{statisticType:c,onStatisticField:f,outStatisticFieldName:l?.toUpperCase()}});i.outStatistics=o,delete i.num,delete i.orderByFields;let n=co({queryObject:e,queryConfig:i}),d;try{d=await e.queryFeatures(n,{signal:a!==void 0?sr.get(a)?.signal:void 0})}catch(p){if(!Wi.isAbortError(p)){let c=(await Ne(We(document.documentElement).t9nLocale,ke("./assets/common/t9n"),"messages.")).errorStrings;throw new Ve(Ue.QueryFeaturesError,c.errors.queryError,p)}}let u=d?.features?.[0]?.attributes;u!==void 0&&r.forEach(p=>{let{outStatisticFieldName:c}=p;if(c!==void 0){let f=u[c.toLowerCase()]??u[c.toUpperCase()]??u[c];f!==void 0&&s.set(c,f)}})}return s}async function no(t){let{queryObject:e,queryConfig:i,returnUniqueIdsOnly:a,abortKey:r}=t,s=[],o=Te(e);if(e!==void 0){let n=Wc(o),d=co({queryObject:e,queryConfig:i,maxRecordCountFactor:n});try{a===!0?"queryObjectIds"in e?s=await e.queryObjectIds(d):(d.outFields=[o.objectIdField],s=(await e.queryFeatures(d,{signal:r!==void 0?sr.get(r)?.signal:void 0})).features.map(u=>u.attributes[o.objectIdField])):s=(await e.queryFeatures(d,{signal:r!==void 0?sr.get(r)?.signal:void 0})).features}catch(u){if(!Wi.isAbortError(u)){let p=(await Ne(We(document.documentElement).t9nLocale,ke("./assets/common/t9n"),"messages.")).errorStrings;throw new Ve(Ue.QueryFeaturesError,p.errors.queryError,u)}}}return s}async function $c(t){let e=[],{featureCount:i,maxRecords:a,queryConfig:r}=t,s=[],o=0,n=r?.start??0;for(;o<$t.maxParallelRequests&&n<i;){let d={...t};d.queryConfig={...r,start:n,num:Math.min(a,i-n)},e.push(no(d)),n+=a,o+=1}return s=(await Promise.all(e)).flat(),s}async function oo(t){let{queryObject:e,queryConfig:i,returnUniqueIdsOnly:a,featureCount:r,noBatch:s,abortKey:o}=t,n=[],d=Te(e);if(e!==void 0){let u=r??1,p=po(d);if(s!==!0&&u>p&&d.capabilities?.query.supportsPagination){let c=0,f=0,l=Math.ceil(u/p),y=Math.ceil(l/$t.maxParallelRequests),b=[];for(;f<y;){c=f*$t.maxParallelRequests*p;let m=$c({queryConfig:{...i,start:c},queryObject:e,maxRecords:p,featureCount:u,returnUniqueIdsOnly:a,abortKey:o});b.push(m),f+=1}n=(await Promise.all(b)).flat()}else(Number.isNaN(u)||u>=0)&&(n=await no({queryObject:e,queryConfig:i,returnUniqueIdsOnly:a,abortKey:o}))}return n}async function dy(t){let{queryObject:e,queryConfig:i,uniqueFeature:a,abortKey:r}=t,s={...i,returnDistinctValues:!0};return await oo({queryObject:e,abortKey:r,queryConfig:s,returnUniqueIdsOnly:!0,featureCount:a===!0?1:void 0})}function py(t){if(t!==void 0){let e=sr.get(t);e!==void 0&&e.abort(),sr.set(t,new AbortController)}}function Oc(t){return{lowerBoundaryAlias:`charts_lower_boundary_${t}`,upperBoundaryAlias:`charts_upper_boundary_${t}`}}async function cy(t){let{queryObject:e,dateField:i,splitByField:a,queryConfig:r,temporalBinning:s}=t,o=[],n;if(s){let{unit:d}=s;try{if(d){let u=Se(Te(e));if(n=Pc(u,a),n&&e&&"queryAttributeBins"in e){let p=await qc({queryObject:e,queryConfig:r,temporalBinning:s,dateField:i,splitByField:a});o=(await e.queryAttributeBins(p)).features}}}catch(u){let p=(await Ne(We(document.documentElement).t9nLocale,ke("./assets/common/t9n"),"messages.")).errorStrings;throw new Ve(Ue.QueryFeaturesError,p.errors.queryError,u)}}if(n===!1){let d=(await Ne(We(document.documentElement).t9nLocale,ke("./assets/common/t9n"),"messages.")).errorStrings;throw new Ve(Ue.QueryFeaturesError,d.errors.queryBinsNotSupported,d.errors.queryBinsNotSupported)}return o}function lo(t){let e=!t.geometry||t.geometry.type==="extent",i=(t.where??"").toUpperCase(),a=!i.includes("CURRENT_TIMESTAMP")&&!i.includes("CURRENT_DATE")&&!i.includes("CURRENT_TIME");return e&&a}function po(t){let e=Se(t)?.sourceJSON,i=e?.maxRecordCount??$t.maxRecords;return e?.advancedQueryCapabilities?.supportsMaxRecordCountFactor&&e?.maxRecordCount!==void 0&&(i=e.maxRecordCount*$t.maxRecordCountFactor),i}function nr(t,e){let i,a=Array.from(new Set(t)).filter(r=>r!=null&&r!==""&&!Gt(r));return a.sort((r,s)=>s.length-r.length),a.length===1?[i]=a:a?.forEach(r=>{r!==void 0&&(Ke(i)?i=`(${r})`:i?.includes(`(${r})`)||(i=`${i} ${e??"AND"} (${r})`))}),i??"1=1"}function Dc(t,e){let i=e;if(t!==void 0){let a=Te(t),r=Se(a).timeExtent;r?.start!=null&&r?.end!=null&&(i=[r.start.valueOf(),r.end.valueOf()])}return i}function Lc(t){let{queryObject:e,defaultGeometry:i,ignoreViewExtent:a}=t,r=i;if(!a&&Jr(e)){let s=e.view.extent,{xmin:o,xmax:n,ymin:d,ymax:u,zmin:p,zmax:c,spatialReference:f}=s;r={xmin:o,ymin:d,zmin:p,xmax:n,ymax:u,zmax:c,spatialReference:f}}return r}function Rc(t){let e;return t!==void 0&&(e=new qn({start:new Date(t[0]),end:new Date(t[1])})),e}function Qi(t){let e;return t!==void 0&&(e=Ni.fromJSON(t)),e}function jc(t){return t===void 0?["*"]:Array.from(new Set(t))}function Kr(t){let{queryObject:e,queryConfig:i,queryType:a}=t,{where:r,outStatistics:s,geometry:o,distance:n,units:d,timeExtent:u,returnDistinctValues:p}=i??{},c=a==="Query"?new Ad({}):new Fd({}),f=Te(e),l=Se(f),y;a==="AttributeBinsQuery"&&i?.objectIds?.[0]!==void 0&&(y=`${f.objectIdField} IN (${i.objectIds.join(",")})`);let b=[r,l.definitionExpression,y];if(c.where=nr(b),c.returnDistinctValues=p??!1,s!==void 0){let T=Fc(f);c.outStatistics=s.filter(x=>x.statisticType!==ae.EnvelopeAggregate||T).map(x=>Ed.fromJSON(x))}let m=Qi(o);m!==void 0&&(c.geometry=m,i?.spatialRelationship&&(c.spatialRelationship=i.spatialRelationship),so(f)&&(n!==void 0&&(c.distance=n),d!==void 0&&(c.units=d)));let S;return u&&(S=new qn({start:u?.[0],end:u?.[1]})),S!==void 0?c.timeExtent=S:l.timeExtent!==void 0&&(c.timeExtent=l.timeExtent),lo(c)&&(c.cacheHint=!0),c}function _c(t){let e;switch(t){case Nt.Start:e="first";break;case Nt.End:e="last";break}return e}async function qc(t){let{queryObject:e,queryConfig:i,temporalBinning:a,dateField:r,splitByField:s}=t,o=Te(e),n=(await dr(e)).find(S=>S.name===r)?.type,d=Kr({queryObject:e,queryConfig:i,queryType:"AttributeBinsQuery"}),{unit:u,size:p,timeAggregationType:c,start:f,end:l,offset:y,outTimeZone:b}=a,m=Oc(r);if(d.lowerBoundaryAlias=m.lowerBoundaryAlias,d.upperBoundaryAlias=m.upperBoundaryAlias,n!==ue.DateOnly&&(d.outTimeZone=b??Intl.DateTimeFormat().resolvedOptions().timeZone),d.binParameters={type:"date",field:r,interval:{unit:u,value:p},start:f,end:l,offset:y?{unit:y.unit,value:y.size}:null},d.binParameters.type==="date"&&(o.capabilities?.queryAttributeBins?.supportsSnapToData&&(d.binParameters.snapToData=_c(c)),o.capabilities?.queryAttributeBins?.supportsReturnFullIntervalBin&&(d.binParameters.returnFullIntervalBin=!0)),!Ke(s)){let S=Se(o).fields.find(T=>T.name===s)?.type;(!S||S==="string"||S==="integer"||S==="small-integer"||S==="big-integer"||S==="double")&&(d.binParameters.stackBy={type:"field",value:s,valueType:S==="string"?"string":"integer"})}return d}function Bc(t){let{field:e,fieldType:i,unit:a}=t,r,s,o=1,n=1;switch(a){case it.MinuteOfDay:i!==ue.DateOnly&&(s="MINUTE",o=0,n=59);break;case it.HourOfDay:i!==ue.DateOnly&&(s="HOUR",o=0,n=23);break;case it.DayOfWeek:s="DOW",n=7;break;case it.DayOfMonth:s="DAY",n=31;break;case it.DayOfYear:s="DOY",n=366;break;case it.WeekOfYear:s="WEEK",n=53;break;case it.MonthOfYear:s="MONTH",n=12;break;case it.QuarterOfYear:s="QUARTER",n=4;break}return s&&(r=`EXTRACT (${s} FROM ${e})`),{expression:r,start:o,end:n}}function On(t){let{temporalBinning:e,xOrY:i,xOrYFieldType:a}=t,{unit:r}=e??{},s,o,n,d;return a===ue.Date||a===ue.DateOnly||a===ue.TimestampOffset?{expression:o,start:n,end:d}=Bc({field:i,fieldType:a,unit:r}):s=i,{field:s,expression:o,start:n,end:d}}async function kc(t){let{queryObject:e,queryConfig:i,x:a,y:r,xTemporalBinning:s,yTemporalBinning:o,firstDayOfWeek:n,outTimeZone:d}=t,u=await dr(e),p=u.find(x=>x.name===a)?.type,c=u.find(x=>x.name===r)?.type,f=Kr({queryObject:e,queryConfig:i,queryType:"AttributeBinsQuery"});f.binParameters={type:"fixed-interval",interval:1},p!==ue.DateOnly&&(f.outTimeZone=d??Intl.DateTimeFormat().resolvedOptions().timeZone),n!==void 0&&(f.binParameters.firstDayOfWeek=n);let l=On({temporalBinning:s,xOrY:a,xOrYFieldType:p}),{field:y,expression:b,start:m,end:S}=l;y?f.binParameters.field=y:b&&(f.binParameters.expression=b,f.binParameters.expressionValueType="integer",f.binParameters.type==="fixed-interval"&&(m!==void 0&&(f.binParameters.start=m),S!==void 0&&(f.binParameters.end=S)));let T=On({temporalBinning:o,xOrY:r,xOrYFieldType:c});return T.field?f.binParameters.stackBy={type:"field",value:T.field}:T.expression&&(f.binParameters.stackBy={type:"expression",value:T.expression,valueType:"integer",alias:r}),f}function Nc(t){let{queryObject:e,queryConfig:i,xStep:a,xMin:r,xMax:s,x:o,y:n,yStep:d}=t,u=Kr({queryObject:e,queryConfig:i,queryType:"AttributeBinsQuery"}),p=Ec(o,n);return u.lowerBoundaryAlias=p.lowerBoundaryAlias,u.upperBoundaryAlias=p.upperBoundaryAlias,u.binParameters={type:"fixed-interval",field:o,interval:a,start:r,end:s,stackBy:{value:`FLOOR(${n} / ${d})`,type:"expression",alias:p.stackAlias,valueType:"integer"}},u}function co(t){let{queryObject:e,queryConfig:i,maxRecordCountFactor:a}=t,{groupByFieldsForStatistics:r,orderByFields:s,gdbVersion:o,start:n,num:d,outFields:u}=i??{},p=Kr({queryObject:e,queryConfig:i,queryType:"Query"});p.returnGeometry=!1;let c=Te(e),f=Se(c);return p.outFields=jc(u),p.groupByFieldsForStatistics=r??p.groupByFieldsForStatistics,p.orderByFields=s??[],p.objectIds=i?.objectIds,a!==void 0&&(p.maxRecordCountFactor=a),o!==void 0&&o!==""?p.gdbVersion=o:f.gdbVersion!==void 0&&f.gdbVersion!==""&&(p.gdbVersion=f.gdbVersion),d!==void 0&&(p.num=d),n!==void 0&&(p.start=n,p.num=p.num??po(c)),p}function Wc(t){return Se(t)?.sourceJSON?.advancedQueryCapabilities?.supportsMaxRecordCountFactor===!0?$t.maxRecordCountFactor:void 0}function uy(t){let e,i,a;return t!==void 0&&(e=t.type,(e===yr.UniqueValue||e===yr.ClassBreaks)&&(i=t.field??void 0,e===yr.ClassBreaks&&(a=t.normalizationField??void 0))),{rendererType:e,rendererField:i,rendererNormalizationField:a}}var Mc=(0,_n.default)(async t=>{let e=t.featureCollection,i,a;if(e?.layers?.[0]!==void 0){let o=e.layers[0];i=o.featureSet,a=o.layerDefinition}else a=t.layerDefinition;let r={};if(i!==void 0){if(r.source=Cd.fromJSON(i).features,a?.fields!==void 0&&(r.fields=a.fields.map(o=>xd.fromJSON(o))),a?.objectIdField!==void 0&&(r.objectIdField=a.objectIdField),a?.geometryType!==void 0){let o=Ni.fromJSON({geometryType:a.geometryType});o?.type!==void 0&&o?.type!=="extent"&&(r.geometryType=o.type)}a?.spatialReference!==void 0&&(r.spatialReference=a.spatialReference)}else r.id=t.id,a?.id!==void 0&&(r.layerId=a.id),t.url!==void 0&&(r.url=t.url),t.itemId!==void 0&&a?.id!==void 0&&(r.portalItem={id:t.itemId});if(a!==void 0){let o=a.drawingInfo;o?.renderer!==void 0&&(r.renderer=jn.fromJSON(o.renderer))}let s=new Td(r);return await s.load(),s});async function fy(t){let{layer:e,view:i,chartConfig:a}=t,r;if(e!==void 0){let s=Te(e),o=Se(s);if(i!==void 0&&!o.isTable){o.outFields=["*"];let n=u=>"highlight"in u,d=await i.whenLayerView(o);n(d)&&(r=d)}else r=e}else"iLayer"in a&&a.iLayer&&(r=await Mc(a.iLayer));return r}async function dr(t,e){let i=Te(t),a=[];if(i!==void 0){await i.load();let r=e===!0&&i?.popupTemplate?.fieldInfos!==void 0;a=i.fields.map(s=>{let o=s.toJSON();if(r){let n=i.popupTemplate?.fieldInfos?.find(d=>d.fieldName?.toLowerCase()===s.name.toLowerCase())?.label;n!==void 0&&n!==s.name&&(o.alias=n)}return o})}return a}function Ji(t,e=[]){return e.find(i=>i.name===t)}function hy(t){return t.find(e=>e.type===ue.OID)?.name??""}function uo(t){return[ue.Single,ue.Double,ue.SmallInteger,ue.Integer,ue.BigInteger].includes(t.type)}function yy(t){return t.type===ue.Date}function my(t){return[ue.SmallInteger,ue.Integer,ue.BigInteger].includes(t.type)}function gy(t){return t.filter(e=>e.type===ue.Date||e.type===ue.DateOnly||e.type===ue.TimestampOffset).map(e=>e.name)}function by(t){return t.filter(e=>uo(e)).map(e=>e.name)}function zc(t){let{subtypeInfo:e,fieldName:i,fieldValueToMatch:a}=t,r,s=o=>`${o.id}`==`${a}`;return e?.subtypeField===i&&e.subtypes?r=e.subtypes.find(s)?.name:e?.typeIdField===i&&e.types&&(r=e.types.find(s)?.name),r}function Dn(t,e){let i=[],a=Cc(t)?t.subtypes:t[e];return a?.[0]!==void 0&&a.forEach(r=>{let{name:s,domains:o}=r,n="id"in r?r.id:void 0;!n&&"code"in r&&(n=r.code);let d=Object.entries(o??{}),u=[],p=d?.filter(([c,f])=>f?.type==="coded-value")?.map(([c,f])=>{let l={fieldName:c,name:s,codedValues:u};if(f&&"codedValues"in f){let y=f.codedValues.map(({code:b,name:m})=>({name:m,code:b}));l={fieldName:c,name:f.name,codedValues:y}}return l});i.push({id:n??"",name:s,domains:p})}),i.length===0?void 0:i}function vy(t){let e;if(t!==void 0){let i=Te(t);if(!Hi(i)&&!Ke(i?.typeIdField)){let a=Dn(i,"types");a!==void 0&&(e={typeIdField:i.typeIdField??void 0,types:a})}if(!Ke(i?.subtypeField)){let a=Se(i),r=Dn(a,"subtypes");r!==void 0&&(e={...e,subtypeField:a.subtypeField??void 0,subtypes:r})}}return e}function Sy(t){let{fieldName:e,fieldValueToMatch:i,subtypeInfo:a,fieldList:r}=t,s;if((typeof i!="string"||!Ke(i))&&!Ke(e)&&(s=zc({subtypeInfo:a,fieldName:e,fieldValueToMatch:i}),s===void 0)){let o=Ji(e,r);if(a?.types!==void 0){let n=a?.types;for(let d of n){let u=d.domains?.filter(p=>p.fieldName===o?.name)??[];for(let p of u)if(s=p?.codedValues?.find(c=>`${c.code}`===i)?.name,s!==void 0)break;if(s!==void 0)break}}s===void 0&&o?.domain!==void 0&&o.domain.type==="codedValue"&&(s=o.domain.codedValues?.find(n=>`${n.code}`==`${i}`)?.name)}return s}async function wy(t){let e=[];return!Se(t).isTable&&t.fieldsIndex&&(e=await Rn.getRendererFields(t.renderer,t.fieldsIndex)),e}function Vc(t){let e="/rest/services",i=t.toLowerCase(),a=i.indexOf(e);return i=a>-1?t.substring(0,a):t,`${i}/rest/info`}async function Iy(t){let e=!0,i=".arcgis.com/",a=t.url,r=a?.includes(i);if(a&&r&&Se(t).sourceJSON.serviceItemId!==void 0){let s=Vc(a);try{let o=(await _i(s,{query:{f:"json"}})).data;if(o.owningTenant!==void 0&&o.owningSystemUrl!==void 0){let n=`${o.owningSystemUrl}/sharing/rest/portals/${o.owningTenant}`,d=(await _i(n,{authMode:"auto",query:{f:"json"}})).data,u=new Pd({sourceJSON:d});await u.load(),e=u?.sourceJSON?.subscriptionInfo?.dataStoreLevel===void 0}}catch{}}return e}async function Uc(t){let{queryObject:e,fieldToMatch:i,returnUndefinedIfNotFound:a}=t,r=await dr(e),s=r.find(n=>i===n.name);s||(s=r.find(n=>i.toUpperCase()===n.name.toUpperCase()));let o=a?"":i;return s?.name??o}async function xy(t){let{fieldsList:e,queryObject:i,returnUndefinedIfNotFound:a}=t,r=e;return r!==void 0&&(r=await Promise.all(r.map(async s=>await Uc({queryObject:i,fieldToMatch:s,returnUndefinedIfNotFound:a})))),r}function Cy(t){let{queryObject:e,chartConfig:i,runtimeDataFilters:a,ignoreViewExtent:r}=t,{series:s,dataFilters:o}=i,{where:n,gdbVersion:d,timeExtent:u,geometry:p,distance:c,units:f,objectIds:l,spatialRelationship:y}=o??{},{where:b,gdbVersion:m,timeExtent:S,geometry:T,distance:x,units:P,objectIds:F,spatialRelationship:$}=a??{},q=s[0],{query:L}=q,{where:A}=L??{},R=st(s),D={...L};return D.where=nr([n,b]),R!==k.BarAndLineSplitBy&&R!==k.BoxPlotMonoFieldAndSplitBy&&R!==k.BoxPlotMonoFieldAndCategoryAndSplitBy&&R!==k.BoxPlotMultiFieldsAndSplitBy&&R!==k.BarAndLineSplitByNoAggregation&&(D.where=nr([D.where,A])),i.orderOptions?.orderByFields!==void 0&&(D.orderByFields=i.orderOptions.orderByFields),D.gdbVersion=m??d,D.timeExtent=Dc(e,S??u),D.geometry=Lc({queryObject:e,defaultGeometry:T??p,ignoreViewExtent:r}),D.distance=x??c,D.units=P??f,D.objectIds=F??l,D.spatialRelationship=$??y,L?.outStatistics?.[0]?.statisticType===ae.Count&&(D.returnDistinctValues=L?.returnDistinctValues??!1),D}var Ut={$schema:"http://json-schema.org/draft-07/schema#",definitions:{ValueConversion:{type:"object",properties:{factor:{type:"number",description:"A numeric value multiplying the value to convert"},offset:{type:"number",description:"A numeric offset to apply to the value to convert"}},description:"Stores information regarding a numeric conversion",title:"ValueConversion"},WebChartAxisScrollBar:{type:"object",properties:{visible:{type:"boolean",description:"Scrollbar visibility",default:!1},width:{type:"number",description:"Scrollbar width in pixels"},color:{$ref:"#/definitions/Color",description:"Scrollbar color"},gripSize:{type:"number",description:"Grip size in pixels"},margin:{type:"number",description:"Margin between the scrollbar and the series container in pixels"}},description:"Describes the properties of an axis scrollbar",title:"WebChartAxisScrollBar"},Color:{type:"array",items:{type:"number"},minItems:4,maxItems:4,title:"Color"},WebChartTextSymbol:{type:"object",properties:{xoffset:{type:["number","string"],description:`Horizontal offset. Can be a number for a fixed value in pixels, or a string as "25%" for a value relative to the label's container width.`},yoffset:{type:["number","string"],description:`Horizontal offset. Can be a number for a fixed value in pixels, or a string as "25%" for a value relative to the label's container height.`},angle:{type:"number",description:"Rotation of the label"},style:{type:"string",description:"Label style"},type:{type:"string",const:"esriTS"},color:{$ref:"#/definitions/Color"},backgroundColor:{$ref:"#/definitions/Color"},borderLineSize:{type:"number"},borderLineColor:{$ref:"#/definitions/Color"},haloSize:{type:"number"},haloColor:{$ref:"#/definitions/Color"},verticalAlignment:{type:"string",enum:["baseline","bottom","middle","top"]},horizontalAlignment:{type:"string",enum:["center","justify","left","right"]},rightToLeft:{type:"boolean"},kerning:{type:"boolean"},font:{$ref:"#/definitions/IFont"},text:{type:"string"}},required:["type"],description:"Represents a text symbol.",title:"WebChartTextSymbol"},'Omit<ITextSymbol,("angle"|"style"|"xoffset"|"yoffset")>':{$ref:"#/definitions/Pick%3CITextSymbol%2CExclude%3C(%22type%22%7C%22color%22%7C%22backgroundColor%22%7C%22borderLineSize%22%7C%22borderLineColor%22%7C%22haloSize%22%7C%22haloColor%22%7C%22verticalAlignment%22%7C%22horizontalAlignment%22%7C%22rightToLeft%22%7C%22kerning%22%7C%22font%22%7C%22text%22%7C%22angle%22%7C%22xoffset%22%7C%22yoffset%22%7C%22style%22%7Cstring)%2C(%22angle%22%7C%22style%22%7C%22xoffset%22%7C%22yoffset%22)%3E%3E",title:'Omit<ITextSymbol,("angle"|"style"|"xoffset"|"yoffset")>'},'Pick<ITextSymbol,Exclude<("type"|"color"|"backgroundColor"|"borderLineSize"|"borderLineColor"|"haloSize"|"haloColor"|"verticalAlignment"|"horizontalAlignment"|"rightToLeft"|"kerning"|"font"|"text"|"angle"|"xoffset"|"yoffset"|"style"|string),("angle"|"style"|"xoffset"|"yoffset")>>':{type:"object",properties:{type:{type:"string",const:"esriTS"},color:{$ref:"#/definitions/Color"},backgroundColor:{$ref:"#/definitions/Color"},borderLineSize:{type:"number"},borderLineColor:{$ref:"#/definitions/Color"},haloSize:{type:"number"},haloColor:{$ref:"#/definitions/Color"},verticalAlignment:{type:"string",enum:["baseline","bottom","middle","top"]},horizontalAlignment:{type:"string",enum:["center","justify","left","right"]},rightToLeft:{type:"boolean"},kerning:{type:"boolean"},font:{$ref:"#/definitions/IFont"},text:{type:"string"}},required:["type"],title:'Pick<ITextSymbol,Exclude<("type"|"color"|"backgroundColor"|"borderLineSize"|"borderLineColor"|"haloSize"|"haloColor"|"verticalAlignment"|"horizontalAlignment"|"rightToLeft"|"kerning"|"font"|"text"|"angle"|"xoffset"|"yoffset"|"style"|string),("angle"|"style"|"xoffset"|"yoffset")>>'},IFont:{type:"object",properties:{family:{type:"string"},size:{type:"number"},style:{type:"string",enum:["italic","normal","oblique"]},weight:{type:"string",enum:["bold","bolder","lighter","normal"]},decoration:{type:"string",enum:["line-through","none","underline"]}},title:"IFont"},WebChartText:{type:"object",properties:{type:{type:"string",const:"chartText",description:'Represents a unique string identifier for the ChartText object. For ChartText object, it is "chartText".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},content:{$ref:"#/definitions/WebChartTextSymbol",description:"Contains the styling info and text content. Details on **esriTS** are [here](https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm)."}},required:["type","content"],description:"Stores info on how some text is rendered on the chart and whether it is visible or not.",title:"WebChartText"},WebChartCursorCrosshair:{type:"object",properties:{type:{type:"string",const:"cursorCrosshair",description:"Represents a unique string identifier for the chart cursor's crosshair."},style:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the chart cursor's crosshair should be rendered."},verticalLineVisible:{type:"boolean",description:"Indicates whether the vertical crosshair line should be displayed",default:!1},horizontalLineVisible:{type:"boolean",description:"Indicates whether the horizontal crosshair line should be displayed",default:!1}},required:["type"],description:"JSON representation of the cursor's crosshair for a chart.",title:"WebChartCursorCrosshair"},ISimpleLineSymbol:{type:"object",properties:{type:{type:"string",const:"esriSLS"},style:{$ref:"#/definitions/SimpleLineSymbolStyle"},color:{$ref:"#/definitions/Color"},width:{type:"number"}},required:["type"],title:"ISimpleLineSymbol"},ISymbol:{type:"object",properties:{type:{$ref:"#/definitions/SymbolType"},style:{type:"string"}},required:["type"],title:"ISymbol"},SymbolType:{type:"string",enum:["esriPFS","esriPMS","esriSFS","esriSLS","esriSMS","esriTS"],title:"SymbolType"},SimpleLineSymbolStyle:{type:"string",enum:["esriSLSDash","esriSLSDashDot","esriSLSDashDotDot","esriSLSDot","esriSLSNull","esriSLSSolid"],title:"SimpleLineSymbolStyle"},WebChartLegend:{type:"object",properties:{type:{type:"string",const:"chartLegend",description:'Represents a unique string identifier for the ChartLegend object. For ChartLegend object, it is "chartLegend".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the legend box should be rendered"},body:{$ref:"#/definitions/WebChartTextSymbol",description:"Contains styling info on how legend body (excluding the **title**) should be rendered. Will use default styling if not provided."},position:{$ref:"#/definitions/WebChartLegendPositions",description:'Positions the legends at `"right"`, `"left"`, `"top"`, or `"bottom"` of the chart.',default:"WebChartLegendPositions.Right"},maxHeight:{type:["number","null"],description:"Legend's maximum height. If not set the legend will occupy the same height as the series container or pie chart.",default:null},roundMarkers:{type:"boolean",description:"Allows the legend markers to be displayed as circles. If the property is to:\n- `false` or `undefined` they will be rounded rectangles\n- `true` they will be circles",default:!1}},required:["type"],description:"JSON representation of the Chart's legend box",title:"WebChartLegend"},WebChartLegendPositions:{type:"string",enum:["left","right","top","bottom"],title:"WebChartLegendPositions"},WebChartNullCategory:{type:"object",properties:{text:{type:"string",description:"Specifies the text to use for the null category. If none is provided, the default `null` text will be used."},symbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the overlay should be rendered If not provided a default style is applied.",default:"1 - symbol.outline.width"}},title:"WebChartNullCategory"},ISimpleFillSymbol:{type:"object",properties:{type:{type:"string",const:"esriSFS"},style:{$ref:"#/definitions/SimpleFillSymbolStyle"},color:{$ref:"#/definitions/Color"},outline:{$ref:"#/definitions/ISimpleLineSymbol"}},required:["type"],title:"ISimpleFillSymbol"},SimpleFillSymbolStyle:{type:"string",enum:["esriSFSBackwardDiagonal","esriSFSCross","esriSFSDiagonalCross","esriSFSForwardDiagonal","esriSFSHorizontal","esriSFSNull","esriSFSSolid","esriSFSVertical"],title:"SimpleFillSymbolStyle"},WebChartPieChartLegend:{type:"object",properties:{type:{type:"string",const:"chartLegend",description:'Represents a unique string identifier for the ChartLegend object. For ChartLegend object, it is "chartLegend".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the legend box should be rendered"},body:{$ref:"#/definitions/WebChartTextSymbol",description:"Contains styling info on how legend body (excluding the **title**) should be rendered. Will use default styling if not provided."},position:{$ref:"#/definitions/WebChartLegendPositions",description:'Positions the legends at `"right"`, `"left"`, `"top"`, or `"bottom"` of the chart.',default:"WebChartLegendPositions.Right"},maxHeight:{type:["number","null"],description:"Legend's maximum height. If not set the legend will occupy the same height as the series container or pie chart.",default:null},roundMarkers:{type:"boolean",description:"Allows the legend markers to be displayed as circles. If the property is to:\n- `false` or `undefined` they will be rounded rectangles\n- `true` they will be circles",default:!1},displayCategory:{type:"boolean",description:"Indicates whether the category associated to a slice is to be displayed in the legend.",default:!0},displayNumericValue:{type:"boolean",description:"Indicates whether the numeric value associated to a slice is to be displayed in the legend. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)`",default:!1},displayPercentage:{type:"boolean",description:"Indicates whether the percentage to a slice is to be displayed in the legend. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)`",default:!1},labelMaxWidth:{type:"number",description:"Maximum width in pixels of the label displaying the slice name. If the label is larger than the maximum width, it will automatically wrap.",default:200},valueLabelMaxWidth:{type:"number",description:"Maximum width in pixels of the label displaying the slice name. If the label is larger than the maximum width, it will automatically wrap.",default:200}},required:["type"],description:"Specific legend for the Pie chart",title:"WebChartPieChartLegend"},WebChartOverlay:{type:"object",properties:{type:{type:"string",const:"chartOverlay",description:'Represents a unique string identifier for the ChartOverlay object. For ChartOverlay object, it is "chartOverlay".'},created:{type:"boolean",description:"Determines whether the overlay is created under the hood. It may or may not be visible.",default:!1},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},symbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the overlay should be rendered If not provided a default style is applied."}},required:["type"],description:"JSON representation of the chart's overlays like trendline scatter plot, and median in histogram",title:"WebChartOverlay"},NumberFormatOptions:{type:"object",properties:{type:{type:"string",const:"number",description:'Represents a unique string identifier for the NumberFormatOptions object. For NumberFormatOptions object, it is "number". It can help us to differentiate numerical (value) axis from other types of axes viz., date-time axis and category axis.'},intlOptions:{$ref:"#/definitions/Intl.NumberFormatOptions",description:"Represents the JS native [Intl.NumberFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat), which is based on [CLDR](http://cldr.unicode.org/translation/numbers-currency/number-patterns) specifications."}},required:["type","intlOptions"],description:"Defines how the numerical(value) axis data should be formatted.",title:"NumberFormatOptions"},"Intl.NumberFormatOptions":{type:"object",properties:{localeMatcher:{type:"string",enum:["lookup","best fit"]},style:{$ref:"#/definitions/Intl.NumberFormatOptionsStyle"},currency:{type:"string"},currencyDisplay:{$ref:"#/definitions/Intl.NumberFormatOptionsCurrencyDisplay"},useGrouping:{$ref:"#/definitions/Intl.NumberFormatOptionsUseGrouping"},minimumIntegerDigits:{type:"number"},minimumFractionDigits:{type:"number"},maximumFractionDigits:{type:"number"},minimumSignificantDigits:{type:"number"},maximumSignificantDigits:{type:"number"}},title:"Intl.NumberFormatOptions"},"Intl.NumberFormatOptionsStyle":{title:"Intl.NumberFormatOptionsStyle"},"Intl.NumberFormatOptionsCurrencyDisplay":{title:"Intl.NumberFormatOptionsCurrencyDisplay"},"Intl.NumberFormatOptionsUseGrouping":{type:"boolean",title:"Intl.NumberFormatOptionsUseGrouping"},WebChartDateTimeUnitFormatOptions:{type:"object",properties:{year:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},month:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},day:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},hour:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},minute:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},second:{$ref:"#/definitions/Intl.DateTimeFormatOptions"}},description:'Interface used by the axis `valueFormat` property to describe how to format specific date and time units when displayed on the axis. For instance: "year": { year: "numeric" } "month": { month: "numeric" } "day": { day: "2-digit" } "hour": { day: "numeric" } "minute": { minute: "numeric" } "second": { second: "numeric" } Reference: https://tc39.es/ecma402/#sec-datetimeformat-abstracts',title:"WebChartDateTimeUnitFormatOptions"},"Intl.DateTimeFormatOptions":{type:"object",properties:{localeMatcher:{type:"string",enum:["best fit","lookup"]},weekday:{type:"string",enum:["long","short","narrow"]},era:{type:"string",enum:["long","short","narrow"]},year:{type:"string",enum:["numeric","2-digit"]},month:{type:"string",enum:["numeric","2-digit","long","short","narrow"]},day:{type:"string",enum:["numeric","2-digit"]},hour:{type:"string",enum:["numeric","2-digit"]},minute:{type:"string",enum:["numeric","2-digit"]},second:{type:"string",enum:["numeric","2-digit"]},timeZoneName:{type:"string",enum:["short","long","shortOffset","longOffset","shortGeneric","longGeneric"]},formatMatcher:{type:"string",enum:["best fit","basic"]},hour12:{type:"boolean"},timeZone:{type:"string"}},title:"Intl.DateTimeFormatOptions"},DateTimeFormatOptions:{type:"object",properties:{type:{type:"string",const:"date",description:'Represents a unique string identifier for the NumberFormatOptions object. For NumberFormatOptions object, it is "date". It can help us to differentiate date-time axis from other types of axes viz., numeric (value) axis and category axis.'},intlOptions:{$ref:"#/definitions/Intl.DateTimeFormatOptions",description:"Represent the JS native [Intl.DateTimeFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormatt), which is based on [CLDR](http://cldr.unicode.org/translation/date-time-1/date-time-patterns) specifications."},formatPerDateTimeUnit:{$ref:"#/definitions/WebChartDateTimeUnitFormatOptions",description:"Represents how to format specific date and time units when displayed on the axis, independently from the `intlOptions`."}},required:["type","intlOptions"],description:"Defines how the DateTime axis data should be formatted.",title:"DateTimeFormatOptions"},CategoryFormatOptions:{type:"object",properties:{type:{type:"string",const:"category",description:'Represents a unique string identifier for the CategoryFormatOptions object. For CategoryFormatOptions object, it is "category". It can help us to differentiate category axis from other types of axes, viz., date-time axis and numeric (value) axis.'},characterLimit:{type:["number","null"],description:"Represents a positive integer which represents the limit on the number of characters to be displayed for all the category strings. The truncated string are appended with `...`. If property is not present or `null`, no truncation is done.",minimum:1,multipleOf:1}},required:["type"],description:"Defines how the category axis data (Categories) should be formatted.",title:"CategoryFormatOptions"},WebChartGuide:{type:"object",properties:{type:{type:"string",const:"chartGuide",description:'Represents a unique string identifier for the Guide object. For Guide class, it is "chartGuide".'},start:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"Determines the value where the guide should begin."},end:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"Determines the value where the guide should end. If it is not specified, we get a line guide, otherwise we get a fill/rectangular guide."},style:{anyOf:[{$ref:"#/definitions/ISimpleFillSymbol"},{$ref:"#/definitions/ISimpleLineSymbol"}],description:"Determines how the guide should be rendered. Line guide requires [esriSLS](https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm) format, and fill guide requires [esriSFS](https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm) format."},name:{type:"string",description:"A unique string identifier which is used to refer to a particular guide. It is displayed in the Chart Authoring UI to differentiate between different guides."},label:{$ref:"#/definitions/WebChartTextSymbol",description:"Defines a text label for the given guide. It is displayed on the chart next to the concerned guide and is styled using **esriTS** format."},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},above:{type:"boolean",description:"Determines whether the guide should be rendered on top of (overlapping) the series or under the series.",default:!1},tooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the guide's tooltip background (false) or its outline (true).",default:!1}},required:["type","start","style","name"],description:"JSON representation of the chart's guide object. Can be used to represent both line and fill guides.",title:"WebChartGuide"},WebChartAxis:{type:"object",properties:{type:{type:"string",const:"chartAxis",description:'Represents a unique string identifier for the WebChartAxis object. For ChartAxis object, it is "chartAxis".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},isLogarithmic:{type:"boolean",description:"Specifies whether the axis has a logarithmic scale or not.",default:!1},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the axis should be rendered"},valueFormat:{anyOf:[{$ref:"#/definitions/CategoryFormatOptions"},{$ref:"#/definitions/DateTimeFormatOptions"},{$ref:"#/definitions/NumberFormatOptions"}],description:"Specifies how numerical/categorical/date-time values should be formatted."},minimum:{type:["number","null"],description:"The minimum value which the axis should represent, when it is not defined or null, then the minimum value for the corresponding axis is automatically calculated."},maximum:{type:["number","null"],description:"The maximum value which the axis should represent, when it is not defined or null, then the maximum value for the corresponding axis is automatically calculated."},grid:{$ref:"#/definitions/ISimpleLineSymbol",description:"Dictates how the grid lines associated with a particular axis should be rendered."},guides:{type:"array",items:{$ref:"#/definitions/WebChartGuide"},description:"Represent an array of guides that should be rendered onto the axis."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the axis line should be rendered. If not provided a default style is applied."},labels:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the axis labels should be rendered."},scrollbar:{$ref:"#/definitions/WebChartAxisScrollBar",description:"Represents the axis scrollbar style and visibility"},displayZeroLine:{type:"boolean",description:"Represents an option to hide/un-hide the zero line on value axis",default:!1},integerOnlyValues:{type:"boolean",description:"Represents an option to show `integer-only` values for a value axis",default:!1},displayCursorTooltip:{type:"boolean",description:"Specifies whether cursor tooltip should be displayed.",default:!1},buffer:{type:"boolean",description:"Allows setting a buffer to a **value axis** to provide some space around the series.",default:!1},tickSpacing:{type:"number",description:"The desired minimum distance between two adjacent axis ticks. The actual distance may fluctuate depending on the chart's size. When not provided a default value is assigned according to the axis type and axis labels behavior.",minimum:1},dateBaseInterval:{$ref:"#/definitions/TimeIntervalInfo",description:"Specifies the base interval on a date axis. Will be ignored on the other axis types. It will be overridden by the properties from the series `binTemporalData` when provided."}},required:["type","valueFormat","labels"],description:"JSON representation of the chart's axis object",title:"WebChartAxis"},TimeIntervalInfo:{type:"object",properties:{unit:{$ref:"#/definitions/WebChartTemporalBinningUnits"},size:{type:"number"}},title:"TimeIntervalInfo"},WebChartTemporalBinningUnits:{type:"string",enum:["seconds","minutes","hours","days","weeks","months","quarters","years"],description:"The temporal binning units",title:"WebChartTemporalBinningUnits"},WebChartGaugeAxisTick:{type:"object",properties:{type:{type:"string",const:"gaugeAxisTick",description:'Represents a unique string identifier for the GaugeAxisTick object. For WebChartGaugeAxisTick object, it is "gaugeAxisTick".'},visible:{type:"boolean",description:"Determines the visibility of the axis ticks.",default:!0}},required:["type"],description:"JSON representation of the gauge axis ticks. Currently only used by WebChartGaugeAxis.",title:"WebChartGaugeAxisTick"},WebChartNeedle:{type:"object",properties:{type:{type:"string",const:"gaugeNeedle",description:'Represents a unique string identifier for the ChartNeedle object. For WebChartNeedle object, it is "gaugeNeedle".'},visible:{type:"boolean",description:"Hides or shows the needle.",default:!0},symbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the needle should be rendered"},startWidth:{type:["number","null"],description:"Represents the needle's thickness at the bottom (chart's center), in px",minimum:1,default:10},endWidth:{type:["number","null"],description:"Represents the needle's thickness at the top, in px",minimum:1,default:1},innerRadius:{type:["number","null"],description:"Represents the size of the hole in the middle of the chart. Can be visualized when guides are displayed.",minimum:0,maximum:100,default:25},displayPin:{type:"boolean",description:"Hides or shows the needle's pin (centroid circle)",default:!1}},required:["type"],description:"JSON representation of a gauge needle.",title:"WebChartNeedle"},WebChartGaugeAxis:{type:"object",properties:{type:{type:"string",const:"chartAxis",description:'Represents a unique string identifier for the WebChartAxis object. For ChartAxis object, it is "chartAxis".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},isLogarithmic:{type:"boolean",description:"Specifies whether the axis has a logarithmic scale or not.",default:!1},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the axis should be rendered"},valueFormat:{anyOf:[{$ref:"#/definitions/CategoryFormatOptions"},{$ref:"#/definitions/DateTimeFormatOptions"},{$ref:"#/definitions/NumberFormatOptions"}],description:"Specifies how numerical/categorical/date-time values should be formatted."},minimum:{type:["number","null"],description:"The minimum value which the axis should represent, when it is not defined or null, then the minimum value for the corresponding axis is automatically calculated."},maximum:{type:["number","null"],description:"The maximum value which the axis should represent, when it is not defined or null, then the maximum value for the corresponding axis is automatically calculated."},grid:{$ref:"#/definitions/ISimpleLineSymbol",description:"Dictates how the grid lines associated with a particular axis should be rendered."},guides:{type:"array",items:{$ref:"#/definitions/WebChartGuide"},description:"Represent an array of guides that should be rendered onto the axis."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the axis line should be rendered. If not provided a default style is applied."},labels:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the axis labels should be rendered."},scrollbar:{$ref:"#/definitions/WebChartAxisScrollBar",description:"Represents the axis scrollbar style and visibility"},displayZeroLine:{type:"boolean",description:"Represents an option to hide/un-hide the zero line on value axis",default:!1},integerOnlyValues:{type:"boolean",description:"Represents an option to show `integer-only` values for a value axis",default:!1},displayCursorTooltip:{type:"boolean",description:"Specifies whether cursor tooltip should be displayed.",default:!1},buffer:{type:"boolean",description:"Allows setting a buffer to a **value axis** to provide some space around the series.",default:!1},tickSpacing:{type:"number",description:"The desired minimum distance between two adjacent axis ticks. The actual distance may fluctuate depending on the chart's size. When not provided a default value is assigned according to the axis type and axis labels behavior.",minimum:1},dateBaseInterval:{$ref:"#/definitions/TimeIntervalInfo",description:"Specifies the base interval on a date axis. Will be ignored on the other axis types. It will be overridden by the properties from the series `binTemporalData` when provided."},innerLabel:{$ref:"#/definitions/WebChartText",description:"Specifies how the axis' inner label needs to be displayed"},needle:{$ref:"#/definitions/WebChartNeedle",description:"Specifies how the axis' needle needs to be displayed"},ticks:{$ref:"#/definitions/WebChartGaugeAxisTick",description:"Specifies how the axis' ticks need to be displayed"},labelsIncrement:{type:"number",description:"If a label has a value being a multiple of that property, it will be displayed. Otherwise it will be hidden.\n\nIf the property is `undefined` or 0, the chart will be displayed with 6 axis labels distributed evenly along the axis min and max.\n\nIf the property has a value that results in more than a set limit of axis labels (25 as defined in `ChartDefaults.gauge.maximumNumberOfLabelIntervals`) this property value will be ignored and the chart will be displayed with only axis min/max with 4 ticks in between.",default:"undefined"},onlyShowFirstAndLastLabels:{type:"boolean",description:"Specifies if only the first and last labels need to be displayed. If set to `true` all the other labels will be hidden. Their visibility still depends on the axis labels visibility (WebChartAxis.labels.visible).",default:!1},minimumValueConversion:{$ref:"#/definitions/ValueConversion",description:"Defines how to convert the axis minimum"},maximumValueConversion:{$ref:"#/definitions/ValueConversion",description:"Defines how to convert the axis maximum"},minimumFromField:{anyOf:[{$ref:"#/definitions/IStatisticDefinition"},{type:"string"}],description:"If used with a gauge by feature:\n- `minimumFromField` is expected to be a field name. The value from that field for the given feature is mapped to the axis minimum value If used with a statistic gauge:\n- If `minimumFromField` is set to a field name (string), the minimum from that field is mapped to the axis minimum value\n- If it is set to an `IStatisticDefinition` the statistic (min, max, avg...) from the given field is mapped to the axis minimum value When `minimumFromField` is not provided or when it leads to an invalid value, the `minimum` value from the axis config, if provided, or the default value of 0, in that order, will be used."},maximumFromField:{anyOf:[{$ref:"#/definitions/IStatisticDefinition"},{type:"string"}],description:"If used with a gauge by feature:\n- `maximumFromField` is expected to be a field name. The value from that field for the given feature is mapped to the axis maximum value If used with a statistic gauge:\n- If `maximumFromField` is set to a field name (string), the maximum from that field is mapped to the axis maximum value\n- If it is set to an `IStatisticDefinition` the statistic (min, max, avg...) from the given field is mapped to the axis maximum value When `maximumFromField` is not provided or when it leads to an invalid value, the `maximum` value from the axis config, if provided, or the default value of 0, in that order, will be used."}},required:["labels","type","valueFormat"],description:"JSON representation of the gauge chart's axis object. Inherits from the WebChartAxis properties.",title:"WebChartGaugeAxis"},IStatisticDefinition:{type:"object",properties:{statisticType:{type:"string",enum:["avg","centroid-aggregate","convex-hull-aggregate","count","envelope-aggregate","max","min","percentile-continuous","percentile-discrete","stddev","sum","var"],description:"Statistical operation to perform (count, sum, min, max, avg, stddev, var, percentile_cont, percentile_disc, EnvelopeAggregate, CentroidAggregate, ConvexHullAggregate)."},statisticParameters:{type:"object",properties:{value:{type:"number"},orderBy:{type:"string",enum:["asc","desc"]}},required:["value"],description:"Parameters to be used along with statisticType. Currently, only applicable for percentile-continuous (continuous percentile) and percentile-discrete (discrete percentile)."},onStatisticField:{type:"string",description:"Field on which to perform the statistical operation."},outStatisticFieldName:{type:"string",description:"Field name for the returned statistic field. If outStatisticFieldName is empty or missing, the server will assign one. A valid field name can only contain alphanumeric characters and an underscore. If the outStatisticFieldName is a reserved keyword of the underlying DBMS, the operation can fail. Try specifying an alternative outStatisticFieldName."}},required:["statisticType","onStatisticField"],title:"IStatisticDefinition"},WebChartRadarChartAxis:{type:"object",properties:{type:{type:"string",const:"chartAxis",description:'Represents a unique string identifier for the WebChartAxis object. For ChartAxis object, it is "chartAxis".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},isLogarithmic:{type:"boolean",description:"Specifies whether the axis has a logarithmic scale or not.",default:!1},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the axis should be rendered"},valueFormat:{anyOf:[{$ref:"#/definitions/CategoryFormatOptions"},{$ref:"#/definitions/DateTimeFormatOptions"},{$ref:"#/definitions/NumberFormatOptions"}],description:"Specifies how numerical/categorical/date-time values should be formatted."},minimum:{type:["number","null"],description:"The minimum value which the axis should represent, when it is not defined or null, then the minimum value for the corresponding axis is automatically calculated."},maximum:{type:["number","null"],description:"The maximum value which the axis should represent, when it is not defined or null, then the maximum value for the corresponding axis is automatically calculated."},grid:{$ref:"#/definitions/ISimpleLineSymbol",description:"Dictates how the grid lines associated with a particular axis should be rendered."},guides:{type:"array",items:{$ref:"#/definitions/WebChartGuide"},description:"Represent an array of guides that should be rendered onto the axis."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the axis line should be rendered. If not provided a default style is applied."},labels:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the axis labels should be rendered."},scrollbar:{$ref:"#/definitions/WebChartAxisScrollBar",description:"Represents the axis scrollbar style and visibility"},displayZeroLine:{type:"boolean",description:"Represents an option to hide/un-hide the zero line on value axis",default:!1},integerOnlyValues:{type:"boolean",description:"Represents an option to show `integer-only` values for a value axis",default:!1},displayCursorTooltip:{type:"boolean",description:"Specifies whether cursor tooltip should be displayed.",default:!1},buffer:{type:"boolean",description:"Allows setting a buffer to a **value axis** to provide some space around the series.",default:!1},tickSpacing:{type:"number",description:"The desired minimum distance between two adjacent axis ticks. The actual distance may fluctuate depending on the chart's size. When not provided a default value is assigned according to the axis type and axis labels behavior.",minimum:1},dateBaseInterval:{$ref:"#/definitions/TimeIntervalInfo",description:"Specifies the base interval on a date axis. Will be ignored on the other axis types. It will be overridden by the properties from the series `binTemporalData` when provided."},labelsOrientation:{$ref:"#/definitions/WebChartRadarChartAxisLabelsOrientation",description:"Defines the labels orientation",default:"WebChartRadarChartAxisLabelsOrientation.Circular"}},required:["labels","type","valueFormat"],description:"JSON representation of the radar chart's axis object.",title:"WebChartRadarChartAxis"},WebChartRadarChartAxisLabelsOrientation:{type:"string",enum:["radial","circular","horizontal"],description:"Labels orientation for radar chart axes.",title:"WebChartRadarChartAxisLabelsOrientation"},WebChartQuery:{type:"object",properties:{outFields:{type:"array",items:{type:"string"},description:"Attribute fields to include in the FeatureSet. Will have an effect on chart with no aggregation."},where:{type:"string",description:"Acts as a filter on the base data for attribute-based filtering, expect for bar/line charts for which is is used to handle the split-by field values."},groupByFieldsForStatistics:{type:"array",items:{type:"string"},description:"An array of fields which determine how the base data is grouped. Only one **groupBy** Field is supported, but ArcGIS JSAPI [supports multiple groupBy fields](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#groupByFieldsForStatistics). While splitting by multiple group-by fields is possible, it is not being done because of the number of series it will give rise to (equal to the length of the Cartesian product set) possibly making the visualization hard to interpret.",maxItems:1},outStatistics:{type:"array",items:{$ref:"#/definitions/IStatisticDefinition"},description:"Represents an array of statistics definitions which dictate how a particular field should be aggregated. Refer to [JSAPI Statistics Definition class](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-StatisticDefinition.html) for more info."},orderByFields:{type:"array",items:{type:"string"},description:"Represents the sorting order of the output result. More info present in [JSAPI docs](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#orderByFields). The format of any entry in this array is `field_name sorting_order`. When `sorting_order` is not defined, it is assumed to be ascending."},gdbVersion:{type:"string",description:"Specifies the geodatabase version to display for feature service queries."},geometry:{anyOf:[{$ref:"#/definitions/IEnvelope"},{$ref:"#/definitions/IExtent"},{$ref:"#/definitions/IPoint"},{$ref:"#/definitions/IPolygon"},{$ref:"#/definitions/IPolygonWithCurves"},{$ref:"#/definitions/IPolyline"}],description:"The geometry to apply to the spatial filter. A buffer can be applied to it by setting the properties `distance` and `units`."},spatialRelationship:{description:"For spatial filters, this parameter defines the spatial relationship to filter features in the layer view against the filter geometry."},distance:{type:"number",description:"Specifies a search distance for the `geometry`. To be associated with the `units` property. For compatible layers only."},units:{$ref:"#/definitions/RESTUnits",description:"The unit for calculating the buffer distance when `distance` and `geometry` are provided. If not specified, the unit is derived from the geometry spatial reference."},timeExtent:{type:"array",items:{type:"number"},minItems:2,maxItems:2,description:"A time extent ([timestamp, timestamp]) for a temporal query against time-aware layers."},start:{type:"number",description:"The zero-based index indicating where to begin retrieving features."},num:{type:"number",description:"The number of features to retrieve."},returnDistinctValues:{type:"boolean",description:"If true then the query returns distinct values based on the field(s) specified in outFields. Available for count-based aggregations only.",default:!1},fetchNullValues:{type:"boolean",description:"Indicates whether to fetch null values for them to be counted or displayed as categories on the chart.",default:!1},objectIds:{type:"array",items:{type:"number"},description:"An array of objectIds of the features to be filtered."}},description:"Chart query object inspired by [JSAPI Query](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html) class.",title:"WebChartQuery"},IEnvelope:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},xmin:{type:"number"},xmax:{type:"number"},ymin:{type:"number"},ymax:{type:"number"},zmin:{type:"number"},zmax:{type:"number"},mmin:{type:"number"},mmax:{type:"number"}},required:["xmin","xmax","ymin","ymax"],description:"An envelope is a rectangle defined by a range of values for each coordinate and attribute.",title:"IEnvelope"},IGeometry:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"}},description:'a building block for discrete geometries\n\n`IGeometry` can also be imported from the following packages:\n\n```js import { IGeometry } from "@esri/arcgis-rest-feature-layer"; ```',title:"IGeometry"},ISpatialReference:{type:"object",properties:{wkid:{type:["number","null"]},latestWkid:{type:"number"},vcsWkid:{type:"number"},latestVcsWkid:{type:"number"},wkt:{type:["string","null"]},latestWkt:{type:"string"}},description:'Spatial reference systems define mathematical transformations and coordinate systems for displaying spatial information in 2D and 3D.\n\n`ISpatialReference` can also be imported from the following packages:\n\n```js import { ISpatialReference } from "@esri/arcgis-rest-geocoding"; import { ISpatialReference } from "@esri/arcgis-rest-routing"; import { ISpatialReference } from "@esri/arcgis-rest-service-admin"; import { ISpatialReference } from "@esri/arcgis-rest-feature-layer"; ```',title:"ISpatialReference"},IExtent:{type:"object",properties:{xmin:{type:"number"},ymin:{type:"number"},zmin:{type:"number"},xmax:{type:"number"},ymax:{type:"number"},zmax:{type:"number"},spatialReference:{$ref:"#/definitions/ISpatialReference"}},required:["xmin","ymin","xmax","ymax"],description:'Extents are used to define rectangles and bounding boxes.\n\n`IExtent` can also be imported from the following packages:\n\n```js import { IExtent } from "@esri/arcgis-rest-geocoding"; import { IExtent } from "@esri/arcgis-rest-service-admin"; import { IExtent } from "@esri/arcgis-rest-feature-layer"; ```',title:"IExtent"},IPoint:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},x:{type:"number"},y:{type:"number"},z:{type:"number"}},required:["x","y"],description:'A simple point geometry, with spatial reference defined.\n\n`IPoint` can also be imported from the following packages:\n\n```js import { IPoint } from "@esri/arcgis-rest-routing"; import { IPoint } from "@esri/arcgis-rest-geocoding"; ```',title:"IPoint"},IHasZM:{type:"object",properties:{hasZ:{type:"boolean"},hasM:{type:"boolean"}},description:'`IHasZM` can also be imported from the following packages:\n\n```js import { IHasZM } from "@esri/arcgis-rest-feature-layer"; ```',title:"IHasZM"},IPolygon:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},rings:{type:"array",items:{type:"array",items:{$ref:"#/definitions/Position"}}}},required:["rings"],title:"IPolygon"},Position:{anyOf:[{$ref:"#/definitions/Position2D"},{type:"array",items:{type:"number"},minItems:4,maxItems:4},{type:"array",items:{type:"number"},minItems:3,maxItems:3}],title:"Position"},Position2D:{type:"array",items:{type:"number"},minItems:2,maxItems:2,title:"Position2D"},IPolygonWithCurves:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},curveRings:{type:"array",items:{type:"array",items:{anyOf:[{$ref:"#/definitions/JsonCurve"},{$ref:"#/definitions/Position"}]}}}},required:["curveRings"],title:"IPolygonWithCurves"},JsonCurve:{anyOf:[{$ref:"#/definitions/IArc"},{$ref:"#/definitions/IBezierCurve"},{$ref:"#/definitions/ICircularArc"},{$ref:"#/definitions/IOldCircularArc"}],title:"JsonCurve"},IArc:{type:"object",properties:{a:{type:"array",minItems:7,items:[{$ref:"#/definitions/Position"},{$ref:"#/definitions/Position2D"},{type:"number"},{type:"number"},{type:"number"},{type:"number"},{type:"number"}],maxItems:7}},required:["a"],description:"an arc can be represented as a JSON curve object",title:"IArc"},IBezierCurve:{type:"object",properties:{b:{type:"array",minItems:3,items:[{$ref:"#/definitions/Position"},{$ref:"#/definitions/Position2D"},{$ref:"#/definitions/Position2D"}],maxItems:3}},required:["b"],description:"a bezier curve can be represented as a JSON curve object",title:"IBezierCurve"},ICircularArc:{type:"object",properties:{c:{type:"array",minItems:2,items:[{$ref:"#/definitions/Position"},{$ref:"#/definitions/Position2D"}],maxItems:2}},required:["c"],description:"a circular arc can be represented as a JSON curve object",title:"ICircularArc"},IOldCircularArc:{type:"object",properties:{a:{type:"array",minItems:4,items:[{$ref:"#/definitions/Position"},{$ref:"#/definitions/Position2D"},{type:"number"},{type:"number"}],maxItems:4}},required:["a"],title:"IOldCircularArc"},IPolyline:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},paths:{type:"array",items:{type:"array",items:{$ref:"#/definitions/Position"}}}},required:["paths"],title:"IPolyline"},RESTUnits:{type:"string",enum:["feet","miles","nautical-miles","us-nautical-miles","meters","kilometers"],title:"RESTUnits"},WebChartSeriesQuery:{$ref:"#/definitions/Omit%3CWebChartQuery%2C(%22distance%22%7C%22gdbVersion%22%7C%22geometry%22%7C%22num%22%7C%22objectIds%22%7C%22orderByFields%22%7C%22spatialRelationship%22%7C%22start%22%7C%22timeExtent%22%7C%22units%22)%3E",description:"Subset of the WebChartQuery, used at the series level",title:"WebChartSeriesQuery"},'Omit<WebChartQuery,("distance"|"gdbVersion"|"geometry"|"num"|"objectIds"|"orderByFields"|"spatialRelationship"|"start"|"timeExtent"|"units")>':{$ref:"#/definitions/Pick%3CWebChartQuery%2CExclude%3C(%22outFields%22%7C%22where%22%7C%22groupByFieldsForStatistics%22%7C%22outStatistics%22%7C%22orderByFields%22%7C%22gdbVersion%22%7C%22geometry%22%7C%22spatialRelationship%22%7C%22distance%22%7C%22units%22%7C%22timeExtent%22%7C%22start%22%7C%22num%22%7C%22returnDistinctValues%22%7C%22fetchNullValues%22%7C%22objectIds%22%7Cstring)%2C(%22distance%22%7C%22gdbVersion%22%7C%22geometry%22%7C%22num%22%7C%22objectIds%22%7C%22orderByFields%22%7C%22spatialRelationship%22%7C%22start%22%7C%22timeExtent%22%7C%22units%22)%3E%3E",title:'Omit<WebChartQuery,("distance"|"gdbVersion"|"geometry"|"num"|"objectIds"|"orderByFields"|"spatialRelationship"|"start"|"timeExtent"|"units")>'},'Pick<WebChartQuery,Exclude<("outFields"|"where"|"groupByFieldsForStatistics"|"outStatistics"|"orderByFields"|"gdbVersion"|"geometry"|"spatialRelationship"|"distance"|"units"|"timeExtent"|"start"|"num"|"returnDistinctValues"|"fetchNullValues"|"objectIds"|string),("distance"|"gdbVersion"|"geometry"|"num"|"objectIds"|"orderByFields"|"spatialRelationship"|"start"|"timeExtent"|"units")>>':{type:"object",properties:{outFields:{type:"array",items:{type:"string"},description:"Attribute fields to include in the FeatureSet. Will have an effect on chart with no aggregation."},where:{type:"string",description:"Acts as a filter on the base data for attribute-based filtering, expect for bar/line charts for which is is used to handle the split-by field values."},groupByFieldsForStatistics:{type:"array",items:{type:"string"},description:"An array of fields which determine how the base data is grouped. Only one **groupBy** Field is supported, but ArcGIS JSAPI [supports multiple groupBy fields](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#groupByFieldsForStatistics). While splitting by multiple group-by fields is possible, it is not being done because of the number of series it will give rise to (equal to the length of the Cartesian product set) possibly making the visualization hard to interpret.",maxItems:1},outStatistics:{type:"array",items:{$ref:"#/definitions/IStatisticDefinition"},description:"Represents an array of statistics definitions which dictate how a particular field should be aggregated. Refer to [JSAPI Statistics Definition class](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-StatisticDefinition.html) for more info."},returnDistinctValues:{type:"boolean",description:"If true then the query returns distinct values based on the field(s) specified in outFields. Available for count-based aggregations only.",default:!1},fetchNullValues:{type:"boolean",description:"Indicates whether to fetch null values for them to be counted or displayed as categories on the chart.",default:!1}},title:'Pick<WebChartQuery,Exclude<("outFields"|"where"|"groupByFieldsForStatistics"|"outStatistics"|"orderByFields"|"gdbVersion"|"geometry"|"spatialRelationship"|"distance"|"units"|"timeExtent"|"start"|"num"|"returnDistinctValues"|"fetchNullValues"|"objectIds"|string),("distance"|"gdbVersion"|"geometry"|"num"|"objectIds"|"orderByFields"|"spatialRelationship"|"start"|"timeExtent"|"units")>>'},WebChartDataFilters:{$ref:"#/definitions/Pick%3CWebChartQuery%2C(%22distance%22%7C%22gdbVersion%22%7C%22geometry%22%7C%22objectIds%22%7C%22spatialRelationship%22%7C%22timeExtent%22%7C%22units%22%7C%22where%22)%3E",description:"JSON representation of filters applied to the data",title:"WebChartDataFilters"},'Pick<WebChartQuery,("distance"|"gdbVersion"|"geometry"|"objectIds"|"spatialRelationship"|"timeExtent"|"units"|"where")>':{type:"object",properties:{distance:{type:"number",description:"Specifies a search distance for the `geometry`. To be associated with the `units` property. For compatible layers only."},gdbVersion:{type:"string",description:"Specifies the geodatabase version to display for feature service queries."},geometry:{anyOf:[{$ref:"#/definitions/IEnvelope"},{$ref:"#/definitions/IExtent"},{$ref:"#/definitions/IPoint"},{$ref:"#/definitions/IPolygon"},{$ref:"#/definitions/IPolygonWithCurves"},{$ref:"#/definitions/IPolyline"}],description:"The geometry to apply to the spatial filter. A buffer can be applied to it by setting the properties `distance` and `units`."},objectIds:{type:"array",items:{type:"number"},description:"An array of objectIds of the features to be filtered."},spatialRelationship:{description:"For spatial filters, this parameter defines the spatial relationship to filter features in the layer view against the filter geometry."},timeExtent:{type:"array",items:{type:"number"},minItems:2,maxItems:2,description:"A time extent ([timestamp, timestamp]) for a temporal query against time-aware layers."},units:{$ref:"#/definitions/RESTUnits",description:"The unit for calculating the buffer distance when `distance` and `geometry` are provided. If not specified, the unit is derived from the geometry spatial reference."},where:{type:"string",description:"Acts as a filter on the base data for attribute-based filtering, expect for bar/line charts for which is is used to handle the split-by field values."}},title:'Pick<WebChartQuery,("distance"|"gdbVersion"|"geometry"|"objectIds"|"spatialRelationship"|"timeExtent"|"units"|"where")>'},WebChartSeries:{type:"object",properties:{type:{type:"string"},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1}},required:["type","id","name","x"],description:"JSON representation of the chart's series object. All other series extends this interface.",title:"WebChartSeries"},WebChartCalendarDatePartsBinning:{type:"object",properties:{trimIncompleteTimeInterval:{type:"boolean",description:"Determines whether incomplete time intervals at the start or end of the data span (depending on the `timeAggregationType`) will be removed from the chart. Incomplete intervals on a chart can cause misleading results in which the period in question is under- or over reported due to a different amount of time in the interval. Setting `true` indicates to trim these incomplete intervals. Setting `false` does not trim incomplete intervals.",default:!0},start:{type:"number",description:"The binning start date. Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},end:{type:"number",description:"The binning end date Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},offset:{type:"object",properties:{unit:{$ref:"#/definitions/WebChartTemporalBinningUnits"},size:{type:"number"}},required:["unit","size"],description:"Offset to apply to the results Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},unit:{$ref:"#/definitions/WebChartCalendarDatePartsUnits",description:"Represents the unit to use to bin the data."}},required:["unit"],title:"WebChartCalendarDatePartsBinning"},WebChartTemporalBinningBase:{type:"object",properties:{trimIncompleteTimeInterval:{type:"boolean",description:"Determines whether incomplete time intervals at the start or end of the data span (depending on the `timeAggregationType`) will be removed from the chart. Incomplete intervals on a chart can cause misleading results in which the period in question is under- or over reported due to a different amount of time in the interval. Setting `true` indicates to trim these incomplete intervals. Setting `false` does not trim incomplete intervals.",default:!0},start:{type:"number",description:"The binning start date. Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},end:{type:"number",description:"The binning end date Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},offset:{type:"object",properties:{unit:{$ref:"#/definitions/WebChartTemporalBinningUnits"},size:{type:"number"}},required:["unit","size"],description:"Offset to apply to the results Current limitation: this is applied only when the provided layer supports the `queryBins` operation."}},description:"Describes the basic properties available for a temporal binning",title:"WebChartTemporalBinningBase"},WebChartCalendarDatePartsUnits:{type:"string",enum:["dayOfMonth","dayOfWeek","dayOfYear","hourOfDay","monthOfYear","minuteOfDay","weekOfYear","quarterOfYear"],description:"Represents the units that can be used for calendar-based date parts binning.",title:"WebChartCalendarDatePartsUnits"},WebChartTemporalBinning:{type:"object",properties:{outTimeZone:{type:"string",description:"Defines the [IANA time zone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) used for temporal bin calculations Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},firstDayOfWeek:{type:"number",description:"The first day of the week. This property is used to determine the start of the week for date-based bins. The default value depends on the user locale (e.g. 7 as Sunday for a USA user, 1 as Monday for a French one). Current limitation: this is applied only when the provided layer supports the `queryBins` operation.",minimum:1,maximum:7,multipleOf:1},nullPolicy:{$ref:"#/definitions/WebChartNullPolicyTypes",description:"How summarized bins returning a null value are displayed. Supported options are:\n- `null`, `zero`, and `interpolate` for line series\n- `null` and `zero` for bar series",default:"null"},trimIncompleteTimeInterval:{type:"boolean",description:"Determines whether incomplete time intervals at the start or end of the data span (depending on the `timeAggregationType`) will be removed from the chart. Incomplete intervals on a chart can cause misleading results in which the period in question is under- or over reported due to a different amount of time in the interval. Setting `true` indicates to trim these incomplete intervals. Setting `false` does not trim incomplete intervals.",default:!0},start:{type:"number",description:"The binning start date. Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},end:{type:"number",description:"The binning end date Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},offset:{type:"object",properties:{unit:{$ref:"#/definitions/WebChartTemporalBinningUnits"},size:{type:"number"}},required:["unit","size"],description:"Offset to apply to the results Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},unit:{$ref:"#/definitions/WebChartTemporalBinningUnits",description:'The unit of time to use to bin the temporal data. Current limitation: the "quarters" unit is only supported if the provided layer supports the `queryBins` operation.'},size:{type:"number",description:"The span of time that will be binned or aggregated together. Works in coordination with `unit`."},timeAggregationType:{$ref:"#/definitions/WebChartTimeAggregationTypes",description:"The time interval alignment type. Valid options include `equalIntervalsFromStartTime` and `equalIntervalsFromEndTime`. When specific the binning will start at the first or last date of the dataset.",default:"equalIntervalsFromStartTime"}},description:"Describes the properties available for a temporal binning for a bar or line",title:"WebChartTemporalBinning"},WebChartTemporalBinningExtras:{type:"object",properties:{outTimeZone:{type:"string",description:"Defines the [IANA time zone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) used for temporal bin calculations Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},firstDayOfWeek:{type:"number",description:"The first day of the week. This property is used to determine the start of the week for date-based bins. The default value depends on the user locale (e.g. 7 as Sunday for a USA user, 1 as Monday for a French one). Current limitation: this is applied only when the provided layer supports the `queryBins` operation.",minimum:1,maximum:7,multipleOf:1},nullPolicy:{$ref:"#/definitions/WebChartNullPolicyTypes",description:"How summarized bins returning a null value are displayed. Supported options are:\n- `null`, `zero`, and `interpolate` for line series\n- `null` and `zero` for bar series",default:"null"}},description:"Describes the extra properties available for a temporal series and for the heat chart",title:"WebChartTemporalBinningExtras"},WebChartNullPolicyTypes:{type:"string",enum:["null","zero","interpolate"],description:"Represents the different types of null policy that can be applied to a chart using the time binning feature.",title:"WebChartNullPolicyTypes"},WebChartTimeAggregationTypes:{type:"string",enum:["equalIntervalsFromStartTime","equalIntervalsFromEndTime"],description:"Represents the different types of time aggregation that can be applied to a chart using the time binning feature.",title:"WebChartTimeAggregationTypes"},WebChartTemporalSeries:{type:"object",properties:{binTemporalData:{type:"boolean",description:"Whether to use the time properties to bin the temporal data. If set to `false` the `binCount` and `unit` properties can be used to set the date axis base interval.",default:!0},temporalBinning:{$ref:"#/definitions/WebChartTemporalBinning",description:"Describes how to bin the temporal data."}},description:"Describes the properties related to a temporal series",title:"WebChartTemporalSeries"},WebChartBarChartSeries:{type:"object",properties:{binTemporalData:{type:"boolean",description:"Whether to use the time properties to bin the temporal data. If set to `false` the `binCount` and `unit` properties can be used to set the date axis base interval.",default:!0},temporalBinning:{$ref:"#/definitions/WebChartTemporalBinning",description:"Describes how to bin the temporal data."},type:{type:"string",const:"barSeries",description:'Represents a unique string identifier for the BarChartSeries object. For BarSeries object, it is "barSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},y:{type:"string",description:"Specifies which field represents the y-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the columns/bars should be rendered"},hideOversizedStackedLabels:{type:"boolean",description:"When true or undefined (default), the labels displayed within a small stacked column are hidden to avoid cluttering. When false, all the data labels are displayed.",default:!0},hideOversizedSideBySideLabels:{type:"boolean",description:"When true, the labels displayed within a small column for sideBySide bar series are hidden to avoid cluttering. When false or undefined (default), all the data labels are displayed.",default:!1},nullCategory:{$ref:"#/definitions/WebChartNullCategory",description:"Specifies how to display the category with null value Setting this property will ensure that the item with no data is displayed on the chart with the specified text and color."}},required:["id","name","type","x","y"],description:"[Bar chart](https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/charts/bar-chart.htm) shows the categorical distribution of String/DateTime data.",title:"WebChartBarChartSeries"},HistogramOverlays:{type:"object",properties:{type:{type:"string",const:"chartOverlays",description:'Represents a unique string identifier for the HistogramOverlays object. For HistogramOverlays object, it is "chartOverlays".'},mean:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the mean overlay for histogram. If not provided, the mean overlay is not displayed."},median:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the median overlay for histogram. If not provided, the median overlay is not displayed."},standardDeviation:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the standard deviation overlay for histogram. If not provided, the standard deviation overlay is not displayed."},comparisonDistribution:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the comparison distribution overlay for histogram. If not provided, the comparison distribution overlay is not displayed."}},required:["type"],description:"Object containing Histogram overlays",title:"HistogramOverlays"},WebChartHistogramSeries:{type:"object",properties:{type:{type:"string",const:"histogramSeries",description:'Represents a unique string identifier for the HistogramSeries object. For BarSeries object, it is "histogramSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},binCount:{type:["number","null"],description:"Bin count must be a positive integer.",minimum:1,multipleOf:1,default:32},overlays:{$ref:"#/definitions/HistogramOverlays",description:"Specifies the chart overlays. Histogram supports 4 overlays: **mean**, **median**, **standardDeviation** and **comparisonDistribution**. The overlays won't show if the property is not defined."},dataTransformationType:{$ref:"#/definitions/WebChartDataTransformations",description:"Specifies how the data should be transformed (e.g. square root, log, etc.) before binning."},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the columns/bars should be rendered"}},required:["id","name","type","x"],description:"[Histogram](https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/charts/histogram.htm) shows the numerical(frequency) distribution of a numerical field.",title:"WebChartHistogramSeries"},WebChartDataTransformations:{type:"string",enum:["none","logarithmic","squareRoot"],title:"WebChartDataTransformations"},ScatterplotOverlays:{type:"object",properties:{type:{type:"string",const:"chartOverlays",description:'Represents a unique string identifier for the ScatterplotOverlays object. For ScatterplotOverlays object, it is "chartOverlays".'},trendLine:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the trendline overlay for scatter plot. The trendline won't show if the property is not defined."}},required:["type"],description:"Object containing Scatter Plot overlays",title:"ScatterplotOverlays"},SizePolicy:{type:"object",properties:{type:{type:"string",const:"sizeScale",description:'Represents a unique string identifier for the sizePolicy object. For sizePolicy object, it is "sizeScale".'},scaleType:{$ref:"#/definitions/SizePolicyScaleTypes",description:"The type of scale to apply to the markers (linear or logarithmic)",default:"SizePolicyScaleTypes.Linear"},field:{type:"string",description:"The field which determines the markers size"},minSize:{type:"number",description:"The minimum marker size",default:5,multipleOf:1},maxSize:{type:"number",description:"The maximum marker size",default:30,multipleOf:1}},required:["type","field"],title:"SizePolicy"},SizePolicyScaleTypes:{type:"string",enum:["linear","logarithmic"],description:"Represents the types of scales that can be applied to the size policy. Use by bubble charts (scatterplot).",title:"SizePolicyScaleTypes"},WebChartScatterplotSeries:{type:"object",properties:{type:{type:"string",const:"scatterSeries",description:'Represents a unique string identifier for the ScatterSeries object. For ScatterSeries object, it is "scatterSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},y:{type:"string",description:"Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},markerSymbol:{$ref:"#/definitions/ISimpleMarkerSymbol",description:'Specifies how each data point in the scatter plot should be rendered. The type is `"esriSMS"` and it is adopted from the [REST API Types](https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm#GUID-C8D40B32-5F4B-45EB-8048-6D5A8763E13B).'},overlays:{$ref:"#/definitions/ScatterplotOverlays",description:"Specifies all the chart overlays. The scatter plot implements only 1 overlay, **trendLine**. The overlays won't show if the property is not defined."},sizePolicy:{$ref:"#/definitions/SizePolicy",description:"Specifies rules to use the scatter plot as bubble plot, by changing dynamically the markers size according to a specific field value"},additionalTooltipFields:{type:"array",items:{type:"string"},description:"Specifies the additional numeric fields in the tooltip."}},required:["id","name","type","x","y"],description:"[Scatter plot](https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/charts/scatter-plot.htm) shows the relationship between two numerical fields.",title:"WebChartScatterplotSeries"},ISimpleMarkerSymbol:{type:"object",properties:{type:{type:"string",const:"esriSMS"},style:{$ref:"#/definitions/SimpleMarkerSymbolStyle"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"},color:{$ref:"#/definitions/Color"},size:{type:"number"},outline:{$ref:"#/definitions/ISimpleLineSymbol"}},required:["type"],title:"ISimpleMarkerSymbol"},IMarkerSymbol:{type:"object",properties:{type:{$ref:"#/definitions/SymbolType"},style:{type:"string"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"}},required:["type"],title:"IMarkerSymbol"},SimpleMarkerSymbolStyle:{type:"string",enum:["esriSMSCircle","esriSMSCross","esriSMSDiamond","esriSMSSquare","esriSMSTriangle","esriSMSX"],title:"SimpleMarkerSymbolStyle"},WebChartPieChartTick:{type:"object",properties:{type:{type:"string",const:"pieTick",description:'Represents a unique string identifier for the WebChartPieChartTick object. For PieTick object, it is "pieTick".'},visible:{type:"boolean",description:"Determines the visibility of the tick. Assigning the `true` value will only be considered when the data labels are visible (`series.dataLabels.visible`) and when the data label associated to the tick is outside of the chart (`series.dataLabelsOffset` > 0)."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the pie chart ticks should be rendered"}},required:["type"],description:"JSON representation of the pie ticks.",title:"WebChartPieChartTick"},WebChartPieChartSlice:{type:"object",properties:{sliceId:{type:"string",description:"A unique string used identify the slice of a pie chart."},originalLabel:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"The slice's original label."},label:{type:"string",description:"Custom label for the slice. For grouped slice, the default value is `Other`. For regular slice, it will be either the category or field name."},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the slice should be rendered. If not provided, the slice will be styled with default values."}},required:["sliceId"],description:"JSON representation of the pie slices",title:"WebChartPieChartSlice"},WebChartPieChartGroupSlice:{type:"object",properties:{sliceId:{type:"string",description:"A unique string used identify the slice of a pie chart."},originalLabel:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"The slice's original label."},label:{type:"string",description:"Custom label for the slice. For grouped slice, the default value is `Other`. For regular slice, it will be either the category or field name."},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the slice should be rendered. If not provided, the slice will be styled with default values."},percentageThreshold:{type:"number",description:"Slices that have a percent value equal or lesser to this threshold are grouped into a unique slice"},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the grouped slice data labels should be rendered. If the property is not set the `series.dataLabels` will be used instead."}},required:["percentageThreshold","sliceId"],description:"JSON representation of the pie grouped slice",title:"WebChartPieChartGroupSlice"},WebChartPieChartSeries:{type:"object",properties:{type:{type:"string",const:"pieSeries",description:'Represents a unique string identifier for the PieSeries object. For PieSeries object, it is "pieSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},y:{type:"string",description:"Specifies which field represents the y-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},innerRadius:{type:["number","null"],description:"Represents the size of the hole in middle of the chart. The number is used as a percentage rather than a fixed value.",minimum:0,maximum:100,default:50},startAngle:{type:["number","null"],default:-90},endAngle:{type:["number","null"],default:270},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the slices should be rendered"},displayCategoryOnDataLabel:{type:"boolean",description:"Indicates whether the category associated to a slice is to be displayed on its data label. This property will be ignored if the chart options `dataLabelFormatter` is provided.",default:!0},displayNumericValueOnDataLabel:{type:"boolean",description:"Indicates whether the numeric value associated to a slice is to be displayed on its data label. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)`. This property will be ignored if the chart options `dataLabelFormatter` is provided.",default:!0},displayPercentageOnDataLabel:{type:"boolean",description:"Indicates whether the percentage associated to a slice is to be displayed on its data label. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)` This property will be ignored if the chart options `dataLabelFormatter` is provided.",default:!1},displayCategoryOnTooltip:{type:"boolean",description:"Indicates whether the category associated to a slice is to be displayed on its tooltip. This property will be ignored if the chart options `tooltipFormatter` is provided.",default:!0},displayNumericValueOnTooltip:{type:"boolean",description:"Indicates whether the numeric value associated to a slice is to be displayed on its tooltip. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)` This property will be ignored if the chart options `tooltipFormatter` is provided.",default:!0},displayPercentageOnTooltip:{type:"boolean",description:"Indicates whether the percentage associated to a slice is to be displayed on its tooltip. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)` This property will be ignored if the chart options `tooltipFormatter` is provided.",default:!0},numericValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Specifies how the numerical values should be formatted (applied to label, tooltip and legend). Can be overridden for the tooltips by series.dataTooltipValueFormat."},percentValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Specifies how the percent values should be formatted (applied to label, tooltip and legend) Can be overridden for the tooltips by series.dataTooltipPercentFormat."},valuePrefix:{type:"string",description:"Adds a prefix to all the values displayed on the pie chart: data labels, tooltips and legend"},valueSuffix:{type:"string",description:"Adds a suffix to all the values displayed on the pie chart: data labels, tooltips and legend"},percentagePrefix:{type:"string",description:"Adds a prefix to all the percentages displayed on the pie chart: data labels, tooltips and legend"},percentageSuffix:{type:"string",description:"Adds a suffix to all the percentages displayed on the pie chart: data labels, tooltips and legend"},dataLabelsCharacterLimit:{type:["number","null"],description:'If set, the category on the data label is truncated to display only `characterLimit` characters, and an ellipsis ("...") is added to the end of the label. This does not affect the value and percentage part of the labels. Does not apply to tooltips and legend labels.',default:"undefined",minimum:1,multipleOf:1},ticks:{$ref:"#/definitions/WebChartPieChartTick",description:"Specifies how to render the ticks shown on each slide. Ticks will be displayed with default values if not provided."},dataLabelsInside:{type:"boolean",description:`Whether to place the data labels inside the pie slices. When set to \`true\` the following properties will be ignored:
|
|
6
6
|
- dataLabelsOffset
|
|
7
7
|
- alignDataLabels
|