@arcgis/charts-components 4.34.0-next.106 → 4.34.0-next.108

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.
Files changed (301) hide show
  1. package/dist/cdn/{IBILFFIW.js → 25F6NYYE.js} +2 -2
  2. package/dist/cdn/{O2S76R3D.js → 2F7AEO2X.js} +2 -2
  3. package/dist/cdn/{HYEQE6CF.js → 2LOQH4HR.js} +1 -1
  4. package/dist/cdn/{HDSHQHBP.js → 2RJHYZBN.js} +2 -2
  5. package/dist/cdn/{LDTBTEO7.js → 33NWOVCN.js} +2 -2
  6. package/dist/cdn/{X7VTAHI2.js → 34FMAN4B.js} +2 -2
  7. package/dist/cdn/{DMUFNRDJ.js → 373GU2DB.js} +2 -2
  8. package/dist/cdn/{64GTOMGC.js → 3CF6BYEQ.js} +2 -2
  9. package/dist/cdn/{BOIMJW2S.js → 3VOG4AEP.js} +2 -2
  10. package/dist/cdn/{K3RPZQVJ.js → 3WWCW2MB.js} +2 -2
  11. package/dist/cdn/{XCE25QY5.js → 43LL76Q7.js} +2 -2
  12. package/dist/cdn/{6LIPFKLX.js → 4GCD4WVL.js} +2 -2
  13. package/dist/cdn/{YGNSLCDZ.js → 4M4HLMJF.js} +2 -2
  14. package/dist/cdn/{J5UXQH6C.js → 4MSBPT6Q.js} +2 -2
  15. package/dist/cdn/{GESPDM3O.js → 4S2HF5KI.js} +2 -2
  16. package/dist/cdn/{I6OBRMNO.js → 4SB23WVF.js} +2 -2
  17. package/dist/cdn/{IJTDDJPY.js → 5B32TSON.js} +2 -2
  18. package/dist/cdn/{X3BSMWV2.js → 5G5OKN3X.js} +2 -2
  19. package/dist/cdn/{55CQN7PB.js → 5SW73Y3B.js} +2 -2
  20. package/dist/cdn/{JPSX3KCY.js → 5TYZNXTQ.js} +2 -2
  21. package/dist/cdn/{X5LEPFRQ.js → 662UDJSU.js} +2 -2
  22. package/dist/cdn/{CQTPATOB.js → 6D7WXQMT.js} +2 -2
  23. package/dist/cdn/{723YAS6Q.js → 6ISJCSWD.js} +2 -2
  24. package/dist/cdn/{5FSSV2HN.js → 6NSBB7AU.js} +2 -2
  25. package/dist/cdn/{WO4Z4N3M.js → 6P6FE33X.js} +2 -2
  26. package/dist/cdn/{BNQJYFNS.js → 6TYCTRHT.js} +2 -2
  27. package/dist/cdn/{6GPQH5C5.js → 6UUREVSH.js} +2 -2
  28. package/dist/cdn/{OKPAKIQK.js → 6XA5QHGB.js} +2 -2
  29. package/dist/cdn/{6L3ZZYTK.js → 7NHSPIA2.js} +2 -2
  30. package/dist/cdn/{T4AWLIP2.js → 7PIVCE2L.js} +2 -2
  31. package/dist/cdn/{LTHUJ6UU.js → A57M76YQ.js} +2 -2
  32. package/dist/cdn/{F6KF3BK2.js → AJP43KGV.js} +1 -1
  33. package/dist/cdn/{T7LWGYYB.js → AK2TINHE.js} +2 -2
  34. package/dist/cdn/{4C3TGQAQ.js → AT7EVI5A.js} +2 -2
  35. package/dist/cdn/{TVRAETF5.js → B4MWLWDA.js} +2 -2
  36. package/dist/cdn/{7EEMNEYR.js → B6XGQ62F.js} +2 -2
  37. package/dist/cdn/{T3U7I6ZE.js → B7FMGVRM.js} +2 -2
  38. package/dist/cdn/{6MCJRGCK.js → BCORBVES.js} +2 -2
  39. package/dist/cdn/{ZZBRQYE7.js → BF6ZY2GS.js} +2 -2
  40. package/dist/cdn/{EWQG5FCA.js → BGDKQQ6R.js} +2 -2
  41. package/dist/cdn/{C4SVLT5E.js → BJ653SJR.js} +2 -2
  42. package/dist/cdn/{TWCO3M7J.js → BK6IBEY2.js} +2 -2
  43. package/dist/cdn/{FTLUUN4R.js → BNU7WF3L.js} +2 -2
  44. package/dist/cdn/{SMYFPI4B.js → BRLFX7IS.js} +2 -2
  45. package/dist/cdn/{MXRG7QLG.js → BV637DXJ.js} +2 -2
  46. package/dist/cdn/{3KD37V2V.js → CD6NVJ2A.js} +2 -2
  47. package/dist/cdn/{FAKKIW4J.js → CUFWURCO.js} +2 -2
  48. package/dist/cdn/{3S3GBDEK.js → DCLA6XYR.js} +2 -2
  49. package/dist/cdn/{AHOCLLKM.js → DNROGZWO.js} +2 -2
  50. package/dist/cdn/{QM6ZTDSA.js → DPRSAB7V.js} +2 -2
  51. package/dist/cdn/{SBK6OXJ4.js → DPXIWVVZ.js} +2 -2
  52. package/dist/cdn/{CEU3OIBZ.js → E2GIY6KW.js} +2 -2
  53. package/dist/cdn/{PNWOAP76.js → E5QRVWBX.js} +2 -2
  54. package/dist/cdn/{GHG7ERU2.js → E7R6NE5A.js} +2 -2
  55. package/dist/cdn/{PSJWLZWC.js → EHSUKWIB.js} +2 -2
  56. package/dist/cdn/{UGSTM6Y7.js → EM2536KU.js} +2 -2
  57. package/dist/cdn/{EIUOE4Z2.js → EYYHOISP.js} +2 -2
  58. package/dist/cdn/{SEWD7YT5.js → F77SHNSO.js} +2 -2
  59. package/dist/cdn/{X4MGO5X7.js → FBNFH6GE.js} +2 -2
  60. package/dist/cdn/{UB3YEBGI.js → FC2MFHKO.js} +2 -2
  61. package/dist/cdn/{U7GPJFS4.js → FJRNG67L.js} +1 -1
  62. package/dist/cdn/{PNKDVDMN.js → FPNDTQQP.js} +1 -1
  63. package/dist/cdn/{XL7VHGPU.js → FUU5BGBB.js} +2 -2
  64. package/dist/cdn/{TMLHJD22.js → FXXHYNGA.js} +2 -2
  65. package/dist/cdn/{3XPYM3IZ.js → G27BI3M7.js} +2 -2
  66. package/dist/cdn/{IDX3N5RO.js → GUHQRZPD.js} +2 -2
  67. package/dist/cdn/{7JRQB2RM.js → GUXUXPVE.js} +2 -2
  68. package/dist/cdn/{YLZBOHVB.js → GY2JENNB.js} +2 -2
  69. package/dist/cdn/{OQBM7EZ6.js → HPBK5EHC.js} +2 -2
  70. package/dist/cdn/{AJGF4CPE.js → HVZJJJIO.js} +2 -2
  71. package/dist/cdn/{2CT4YHF6.js → HWUAEALL.js} +2 -2
  72. package/dist/cdn/HXPS5P4F.js +4 -0
  73. package/dist/cdn/{P7GFZZ7D.js → HY44E4NM.js} +2 -2
  74. package/dist/cdn/{7ES6QCNG.js → I5JWX2IL.js} +2 -2
  75. package/dist/cdn/{TW376O55.js → IBGLUE3W.js} +2 -2
  76. package/dist/cdn/{A2J3AH5T.js → IBRPWKTO.js} +2 -2
  77. package/dist/cdn/{H7O2DI2M.js → IBVLUKQ4.js} +2 -2
  78. package/dist/cdn/{CDEKZK4L.js → ID2LCOES.js} +2 -2
  79. package/dist/cdn/{FPNVBYPV.js → IJXLNSZ6.js} +2 -2
  80. package/dist/cdn/{2LGIQ2Z7.js → IUDLQ27O.js} +2 -2
  81. package/dist/cdn/{SBGUYQSX.js → J3MFJNFP.js} +2 -2
  82. package/dist/cdn/{SR6LPDKZ.js → J3NF7QIP.js} +2 -2
  83. package/dist/cdn/{UHRQTV43.js → J4E7SB7X.js} +2 -2
  84. package/dist/cdn/{W3C2D2UK.js → J5MBPOGR.js} +2 -2
  85. package/dist/cdn/{YDUEXUAE.js → JFVTMTON.js} +2 -2
  86. package/dist/cdn/{W4FDDQT4.js → JHURUGHS.js} +2 -2
  87. package/dist/cdn/{XHZIQIPI.js → JNBHKVXA.js} +2 -2
  88. package/dist/cdn/{35V7AG3D.js → JRPOC26V.js} +2 -2
  89. package/dist/cdn/{SZYCAMWX.js → JZ6QDAZE.js} +2 -2
  90. package/dist/cdn/{FAWWMJ7S.js → K4FQQWGG.js} +2 -2
  91. package/dist/cdn/{KBZTDGOE.js → K754AEFR.js} +2 -2
  92. package/dist/cdn/{YL65CLQJ.js → KII7X7MC.js} +2 -2
  93. package/dist/cdn/{5B6SWFPA.js → KKYZJW5G.js} +2 -2
  94. package/dist/cdn/{HGJBK6KU.js → KMWC3G5C.js} +2 -2
  95. package/dist/cdn/{K4WKFPQL.js → KQRN5PBY.js} +2 -2
  96. package/dist/cdn/{S237VITE.js → KWIJ74SW.js} +2 -2
  97. package/dist/cdn/{ULJX3LV5.js → KWYXLR4A.js} +2 -2
  98. package/dist/cdn/{VFRVEU3G.js → L4K7T7EU.js} +1 -1
  99. package/dist/cdn/{7HGGKX4M.js → L4WIQGNI.js} +2 -2
  100. package/dist/cdn/{242VR6GP.js → LJHR4U2E.js} +1 -1
  101. package/dist/cdn/{O4MKMBCT.js → LQI5JMEO.js} +2 -2
  102. package/dist/cdn/{ZQUEN2G2.js → LQNRNJRH.js} +2 -2
  103. package/dist/cdn/{2J7SQLIO.js → LTUGQGQ4.js} +2 -2
  104. package/dist/cdn/{CLUQAGWR.js → LVFNWZAV.js} +2 -2
  105. package/dist/cdn/{XC6RIEH6.js → LWAKGZKZ.js} +2 -2
  106. package/dist/cdn/{G3DJKJTF.js → LYKCFVKQ.js} +2 -2
  107. package/dist/cdn/{EYFFEWPX.js → M2KUBWGU.js} +2 -2
  108. package/dist/cdn/{HOMJDU23.js → MGY5NUCU.js} +2 -2
  109. package/dist/cdn/{SCNTMYUP.js → MHQKYLI2.js} +2 -2
  110. package/dist/cdn/{FHYE5GDD.js → MQIQRQFV.js} +2 -2
  111. package/dist/cdn/{5QQCLQEM.js → MXMPJIQ3.js} +2 -2
  112. package/dist/cdn/{QVYVQNUX.js → N2R7BFQI.js} +2 -2
  113. package/dist/cdn/{D7SI7YPY.js → NHZHYWZ2.js} +2 -2
  114. package/dist/cdn/{CRBOOB5Q.js → NNZK3YJT.js} +2 -2
  115. package/dist/cdn/{ALXDYSMF.js → O6ZWKSYO.js} +2 -2
  116. package/dist/cdn/{NRXZAYVC.js → OKYMXEDN.js} +2 -2
  117. package/dist/cdn/{B43QKFII.js → ONOA22SX.js} +1 -1
  118. package/dist/cdn/{43YDOXTB.js → OPFK3APB.js} +2 -2
  119. package/dist/cdn/{A7RGSKK4.js → OZNEMDDU.js} +2 -2
  120. package/dist/cdn/{3FWRAMKB.js → P2BKRNMB.js} +2 -2
  121. package/dist/cdn/{DZ6FC4R6.js → PFWDTAOK.js} +2 -2
  122. package/dist/cdn/{CIF726GR.js → PK6MF7LF.js} +2 -2
  123. package/dist/cdn/{FFUVWDTQ.js → PMLDS4XR.js} +2 -2
  124. package/dist/cdn/{BL7PDTKI.js → PVUW4HLA.js} +2 -2
  125. package/dist/cdn/{77JIASV7.js → QIE4IR2X.js} +5 -5
  126. package/dist/cdn/{XPEBLLED.js → QKGACHEP.js} +2 -2
  127. package/dist/cdn/{7FYJZFDK.js → QLKSOFJ3.js} +2 -2
  128. package/dist/cdn/{FGCKBMBK.js → QPPAHZWY.js} +2 -2
  129. package/dist/cdn/{UVL5UW4O.js → QTSXYKMY.js} +2 -2
  130. package/dist/cdn/{WXKPU75E.js → QW4IDAYP.js} +2 -2
  131. package/dist/cdn/{V475L2LL.js → RC3ILYF3.js} +1 -1
  132. package/dist/cdn/{3VAPMJ3Q.js → RECYV363.js} +2 -2
  133. package/dist/cdn/{DM25N43X.js → REJ76RH5.js} +2 -2
  134. package/dist/cdn/{6KGWC6FU.js → REWRI2QL.js} +2 -2
  135. package/dist/cdn/{SPPZ2WOV.js → RN2X4DGO.js} +2 -2
  136. package/dist/cdn/{LQ36BAZS.js → RTT5ERYP.js} +2 -2
  137. package/dist/cdn/{IPBGCG6J.js → RWPXUK52.js} +2 -2
  138. package/dist/cdn/{DSHWCWXU.js → SI4U7J5W.js} +2 -2
  139. package/dist/cdn/{F55PZZHZ.js → SJMEJH2J.js} +2 -2
  140. package/dist/cdn/{GIACT7MS.js → SPVUXUM7.js} +2 -2
  141. package/dist/cdn/{EG6XWRVR.js → SQYWXPGQ.js} +2 -2
  142. package/dist/cdn/{D7OJ2GGO.js → SYST4QIX.js} +2 -2
  143. package/dist/cdn/{BMCLA2ZG.js → TASOVNTG.js} +2 -2
  144. package/dist/cdn/{Q4VDL7SK.js → TBNFTRUD.js} +2 -2
  145. package/dist/cdn/{D3PZL6AU.js → TC4XPS4S.js} +2 -2
  146. package/dist/cdn/{IETXBVID.js → TDYFWCWT.js} +1 -1
  147. package/dist/cdn/{EGY6C2UF.js → TFMFSYM5.js} +22 -22
  148. package/dist/cdn/{QD56WVL3.js → TWHLK5X4.js} +2 -2
  149. package/dist/cdn/{4RGREVHG.js → TXJR74ED.js} +2 -2
  150. package/dist/cdn/{XFNE6IH6.js → TZZK6TBV.js} +1 -1
  151. package/dist/cdn/{HO4OZ2TD.js → U4CQJ7CC.js} +2 -2
  152. package/dist/cdn/{MQZY743E.js → UJW2HZ5J.js} +2 -2
  153. package/dist/cdn/{FSPA4G3L.js → URUZEVGG.js} +2 -2
  154. package/dist/cdn/{TCFU32IX.js → UTEUCV6L.js} +2 -2
  155. package/dist/cdn/{3WIUZIZN.js → V4UZQTUM.js} +2 -2
  156. package/dist/cdn/{CJ3Z2Y3E.js → V4VABQIH.js} +2 -2
  157. package/dist/cdn/{DUOMGL6P.js → V5DC56FF.js} +2 -2
  158. package/dist/cdn/{324R7XTO.js → VA3SSWHZ.js} +2 -2
  159. package/dist/cdn/{OZBQLAWY.js → VC46WAHT.js} +2 -2
  160. package/dist/cdn/{5MKM6ARD.js → VI6JG52B.js} +2 -2
  161. package/dist/cdn/{R6YKCHNR.js → VNMSLFKE.js} +2 -2
  162. package/dist/cdn/{COOXBOVF.js → VYCAZPKF.js} +2 -2
  163. package/dist/cdn/{MEJRDU3G.js → W4GVNBQ7.js} +2 -2
  164. package/dist/cdn/{CBC6GMEP.js → WGI5JQK7.js} +2 -2
  165. package/dist/cdn/{BBFF44EO.js → WIBU43LZ.js} +2 -2
  166. package/dist/cdn/{C5REOAEW.js → WNZ3R54R.js} +2 -2
  167. package/dist/cdn/{2UNATQTZ.js → X2SD3BDU.js} +2 -2
  168. package/dist/cdn/{C7RXQCFN.js → XAV67FGT.js} +2 -2
  169. package/dist/cdn/{X7B52VII.js → XBFMSFSU.js} +2 -2
  170. package/dist/cdn/{NOMEUZ7M.js → XVUURUSS.js} +2 -2
  171. package/dist/cdn/{LAYCWGZF.js → Y3IW7VIR.js} +2 -2
  172. package/dist/cdn/{A2TXFLX3.js → Y77QVPB7.js} +1 -1
  173. package/dist/cdn/{RSK45BTL.js → YAEVA653.js} +2 -2
  174. package/dist/cdn/{GOUFRY3A.js → YMXGRU6W.js} +2 -2
  175. package/dist/cdn/{UPIGN5ZN.js → YN3MMETD.js} +2 -2
  176. package/dist/cdn/{6AI7F5BR.js → YO742YTS.js} +2 -2
  177. package/dist/cdn/{LCRIIOHN.js → YPSUSWLK.js} +2 -2
  178. package/dist/cdn/{EIHZLZ3S.js → YSRLTKMT.js} +2 -2
  179. package/dist/cdn/{Q7KJPJBZ.js → YU2ZDHVN.js} +1 -1
  180. package/dist/cdn/{ZIH457XI.js → ZMRVBRNO.js} +2 -2
  181. package/dist/cdn/{7WC2DGMP.js → ZQPO7IVR.js} +2 -2
  182. package/dist/cdn/index.js +2 -2
  183. package/dist/cdn/model.js +2 -2
  184. package/dist/cdn/spec.js +2 -2
  185. package/dist/chart-rendering/common/data/utils/selection/index.d.ts +0 -7
  186. package/dist/chart-rendering/next/chart-library-elements/axes/utils/axis-format/category-axis/index.d.ts +12 -0
  187. package/dist/chart-rendering/next/chart-library-elements/labels/utils/index.d.ts +46 -0
  188. package/dist/chunks/action-bar-utils.js +1 -1
  189. package/dist/chunks/axis-model-wrapper.js +1 -1
  190. package/dist/chunks/bar-chart-model.js +1 -1
  191. package/dist/chunks/bar-chart-series.js +1 -1
  192. package/dist/chunks/baseline-stacking.js +1 -1
  193. package/dist/chunks/bg_BG.js +1 -1
  194. package/dist/chunks/bg_BG2.js +1 -1
  195. package/dist/chunks/box-plot-data.js +1 -1
  196. package/dist/chunks/box-plot-model.js +1 -1
  197. package/dist/chunks/chart-object-literals.js +1 -1
  198. package/dist/chunks/chart-ui-utils.js +1 -1
  199. package/dist/chunks/chart-ui-utils2.js +1 -1
  200. package/dist/chunks/combo-bar-line-chart-model.js +1 -1
  201. package/dist/chunks/common.js +1 -1
  202. package/dist/chunks/data.js +1 -1
  203. package/dist/chunks/default.js +1 -1
  204. package/dist/chunks/gauge-model.js +1 -1
  205. package/dist/chunks/histogram-data.js +1 -1
  206. package/dist/chunks/histogram-model.js +1 -1
  207. package/dist/chunks/index.js +1 -1
  208. package/dist/chunks/index2.js +1 -1
  209. package/dist/chunks/index3.js +1 -1
  210. package/dist/chunks/index4.js +1 -1
  211. package/dist/chunks/index5.js +1 -1
  212. package/dist/chunks/interfaces.js +229 -226
  213. package/dist/chunks/interfaces2.js +1 -1
  214. package/dist/chunks/line-chart-model.js +1 -1
  215. package/dist/chunks/model-with-baseline-stacking.js +1 -1
  216. package/dist/chunks/model-with-data-labels.js +1 -1
  217. package/dist/chunks/model-with-rotation.js +1 -1
  218. package/dist/chunks/model-with-y-guides.js +1 -1
  219. package/dist/chunks/pie-chart-data.js +1 -1
  220. package/dist/chunks/pie-chart-model.js +1 -1
  221. package/dist/chunks/popover-ui-utils.js +1 -1
  222. package/dist/chunks/radar-chart-model.js +1 -1
  223. package/dist/chunks/resource.js +1 -1
  224. package/dist/chunks/rest-js-object-literals.js +1 -1
  225. package/dist/chunks/runtime.js +1 -1
  226. package/dist/chunks/scatterplot-model.js +1 -1
  227. package/dist/chunks/serial-chart-model.js +1 -1
  228. package/dist/chunks/series-types.js +23 -19
  229. package/dist/chunks/series.js +1 -1
  230. package/dist/chunks/sk_SK.js +1 -1
  231. package/dist/chunks/store.js +1 -1
  232. package/dist/chunks/type-guards.js +1 -1
  233. package/dist/chunks/useT9n.js +1 -1
  234. package/dist/chunks/web-component-utils.js +1 -1
  235. package/dist/components/arcgis-chart/customElement.d.ts +1 -9
  236. package/dist/components/arcgis-chart/customElement.js +4575 -4457
  237. package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
  238. package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
  239. package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
  240. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  241. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
  242. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
  243. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
  244. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
  245. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  246. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
  247. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  248. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
  249. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
  250. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  251. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
  252. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  253. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  254. package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
  255. package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
  256. package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
  257. package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
  258. package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
  259. package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
  260. package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
  261. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
  262. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  263. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
  264. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  265. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
  266. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
  267. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  268. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  269. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
  270. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
  271. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
  272. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
  273. package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
  274. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  275. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
  276. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
  277. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
  278. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
  279. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
  280. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  281. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
  282. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
  283. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
  284. package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
  285. package/dist/docs/api.json +2 -51
  286. package/dist/docs/docs.json +2 -38
  287. package/dist/docs/vscode.html-custom-data.json +0 -12
  288. package/dist/docs/web-types.json +1 -17
  289. package/dist/index.js +28 -27
  290. package/dist/loader.js +2 -2
  291. package/dist/model.js +1 -1
  292. package/dist/spec/web-chart.d.ts +3 -3
  293. package/dist/spec.js +1 -1
  294. package/dist/types/lumina.d.ts +1 -1
  295. package/dist/types/preact.d.ts +1 -1
  296. package/dist/types/react.d.ts +1 -1
  297. package/dist/types/stencil.d.ts +1 -1
  298. package/dist/utils/components/interfaces.d.ts +0 -1
  299. package/dist/utils/type-guards/series-types.d.ts +8 -1
  300. package/package.json +3 -3
  301. package/dist/cdn/PQH6GTMO.js +0 -4
@@ -1,15 +1,15 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.106 */
4
- import{l as ha}from"./A2TXFLX3.js";import{b as ya,c as he,d as ye}from"./B43QKFII.js";import{F as fe}from"./HYEQE6CF.js";import{a as Le}from"./PQH6GTMO.js";import{a as at,b as mr,c as si,d as ma,e as ga,f as Je}from"./PNKDVDMN.js";import{a as Se,b as Wt,c as ii,d as Mt,e as hr,f as ai,g as Fe,k as yr,l as xt}from"./U7GPJFS4.js";import{a as C,b as le,c as ti,e as da,f as er,h as it,i as pa,k as ri,l as Pe,m as Bt,q as ca,r as kt,t as lt,v as ua,w as fa,y as Nt}from"./F6KF3BK2.js";import{b as W,d as la}from"./IETXBVID.js";export default $arcgis.t(([{substitute:Ne},Ni,Bn,kn,Pd,_i,Fd,Ad,Ed,$d,Od,Dd,Wn,Wi])=>{var Ta=W((br,Ca)=>{(function(t,e){typeof br=="object"&&typeof Ca<"u"?e(br):typeof define=="function"&&define.amd?define(["exports"],e):e(t.URI=t.URI||{})})(br,function(t){"use strict";function e(){for(var g=arguments.length,f=Array(g),v=0;v<g;v++)f[v]=arguments[v];if(f.length>1){f[0]=f[0].slice(0,-1);for(var w=f.length-1,x=1;x<w;++x)f[x]=f[x].slice(1,-1);return f[w]=f[w].slice(1),f.join("")}else return f[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,f){var v=g;if(f)for(var w in f)v[w]=f[w];return v}function n(g){var f="[A-Za-z]",v="[\\x0D]",w="[0-9]",x="[\\x22]",j=e(w,"[A-Fa-f]"),M="[\\x0A]",Q="[\\x20]",X=i(i("%[EFef]"+j+"%"+j+j+"%"+j+j)+"|"+i("%[89A-Fa-f]"+j+"%"+j+j)+"|"+i("%"+j+j)),be="[\\:\\/\\?\\#\\[\\]\\@]",H="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",ne=e(be,H),ve=g?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",se=g?"[\\uE000-\\uF8FF]":"[]",K=e(f,w,"[\\-\\.\\_\\~]",ve),oe=i(f+e(f,w,"[\\+\\-\\.]")+"*"),te=i(i(X+"|"+e(K,H,"[\\:]"))+"*"),St=i(i("25[0-5]")+"|"+i("2[0-4]"+w)+"|"+i("1"+w+w)+"|"+i("[1-9]"+w)+"|"+w),je=i(i("25[0-5]")+"|"+i("2[0-4]"+w)+"|"+i("1"+w+w)+"|"+i("0?[1-9]"+w)+"|0?0?"+w),Be=i(je+"\\."+je+"\\."+je+"\\."+je),ie=i(j+"{1,4}"),_e=i(i(ie+"\\:"+ie)+"|"+Be),ke=i(i(ie+"\\:")+"{6}"+_e),Qe=i("\\:\\:"+i(ie+"\\:")+"{5}"+_e),wt=i(i(ie)+"?\\:\\:"+i(ie+"\\:")+"{4}"+_e),et=i(i(i(ie+"\\:")+"{0,1}"+ie)+"?\\:\\:"+i(ie+"\\:")+"{3}"+_e),Jt=i(i(i(ie+"\\:")+"{0,2}"+ie)+"?\\:\\:"+i(ie+"\\:")+"{2}"+_e),cr=i(i(i(ie+"\\:")+"{0,3}"+ie)+"?\\:\\:"+ie+"\\:"+_e),ur=i(i(i(ie+"\\:")+"{0,4}"+ie)+"?\\:\\:"+_e),Dt=i(i(i(ie+"\\:")+"{0,5}"+ie)+"?\\:\\:"+ie),Lt=i(i(i(ie+"\\:")+"{0,6}"+ie)+"?\\:\\:"),tt=i([ke,Qe,wt,et,Jt,cr,ur,Dt,Lt].join("|")),Rt=i(i(K+"|"+X)+"+"),Xr=i(tt+"\\%25"+Rt),It=i(tt+i("\\%25|\\%(?!"+j+"{2})")+Rt),Eo=i("[vV]"+j+"+\\."+e(K,H,"[\\:]")+"+"),$o=i("\\["+i(It+"|"+tt+"|"+Eo)+"\\]"),aa=i(i(X+"|"+e(K,H))+"*"),Kt=i($o+"|"+Be+"(?!"+aa+")|"+aa),Zt=i(w+"*"),sa=i(i(te+"@")+"?"+Kt+i("\\:"+Zt)+"?"),Yt=i(X+"|"+e(K,H,"[\\:\\@]")),Oo=i(Yt+"*"),na=i(Yt+"+"),Do=i(i(X+"|"+e(K,H,"[\\@]"))+"+"),rt=i(i("\\/"+Oo)+"*"),jt=i("\\/"+i(na+rt)+"?"),ei=i(Do+rt),fr=i(na+rt),_t="(?!"+Yt+")",iu=i(rt+"|"+jt+"|"+ei+"|"+fr+"|"+_t),qt=i(i(Yt+"|"+e("[\\/\\?]",se))+"*"),Xt=i(i(Yt+"|[\\/\\?]")+"*"),oa=i(i("\\/\\/"+sa+rt)+"|"+jt+"|"+fr+"|"+_t),Lo=i(oe+"\\:"+oa+i("\\?"+qt)+"?"+i("\\#"+Xt)+"?"),Ro=i(i("\\/\\/"+sa+rt)+"|"+jt+"|"+ei+"|"+_t),jo=i(Ro+i("\\?"+qt)+"?"+i("\\#"+Xt)+"?"),au=i(Lo+"|"+jo),su=i(oe+"\\:"+oa+i("\\?"+qt)+"?"),nu="^("+oe+")\\:"+i(i("\\/\\/("+i("("+te+")@")+"?("+Kt+")"+i("\\:("+Zt+")")+"?)")+"?("+rt+"|"+jt+"|"+fr+"|"+_t+")")+i("\\?("+qt+")")+"?"+i("\\#("+Xt+")")+"?$",ou="^(){0}"+i(i("\\/\\/("+i("("+te+")@")+"?("+Kt+")"+i("\\:("+Zt+")")+"?)")+"?("+rt+"|"+jt+"|"+ei+"|"+_t+")")+i("\\?("+qt+")")+"?"+i("\\#("+Xt+")")+"?$",lu="^("+oe+")\\:"+i(i("\\/\\/("+i("("+te+")@")+"?("+Kt+")"+i("\\:("+Zt+")")+"?)")+"?("+rt+"|"+jt+"|"+fr+"|"+_t+")")+i("\\?("+qt+")")+"?$",du="^"+i("\\#("+Xt+")")+"?$",pu="^"+i("("+te+")@")+"?("+Kt+")"+i("\\:("+Zt+")")+"?$";return{NOT_SCHEME:new RegExp(e("[^]",f,w,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(e("[^\\%\\:]",K,H),"g"),NOT_HOST:new RegExp(e("[^\\%\\[\\]\\:]",K,H),"g"),NOT_PATH:new RegExp(e("[^\\%\\/\\:\\@]",K,H),"g"),NOT_PATH_NOSCHEME:new RegExp(e("[^\\%\\/\\@]",K,H),"g"),NOT_QUERY:new RegExp(e("[^\\%]",K,H,"[\\:\\@\\/\\?]",se),"g"),NOT_FRAGMENT:new RegExp(e("[^\\%]",K,H,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(e("[^]",K,H),"g"),UNRESERVED:new RegExp(K,"g"),OTHER_CHARS:new RegExp(e("[^\\%]",K,ne),"g"),PCT_ENCODED:new RegExp(X,"g"),IPV4ADDRESS:new RegExp("^("+Be+")$"),IPV6ADDRESS:new RegExp("^\\[?("+tt+")"+i(i("\\%25|\\%(?!"+j+"{2})")+"("+Rt+")")+"?\\]?$")}}var d=n(!1),u=n(!0),p=function(){function g(f,v){var w=[],x=!0,j=!1,M=void 0;try{for(var Q=f[Symbol.iterator](),X;!(x=(X=Q.next()).done)&&(w.push(X.value),!(v&&w.length===v));x=!0);}catch(be){j=!0,M=be}finally{try{!x&&Q.return&&Q.return()}finally{if(j)throw M}}return w}return function(f,v){if(Array.isArray(f))return f;if(Symbol.iterator in Object(f))return g(f,v);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),c=function(g){if(Array.isArray(g)){for(var f=0,v=Array(g.length);f<g.length;f++)v[f]=g[f];return v}else return Array.from(g)},h=2147483647,l=36,m=1,b=26,y=38,S=700,T=72,I=128,P="-",F=/^xn--/,$=/[^\0-\x7E]/,_=/[\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-m,R=Math.floor,O=String.fromCharCode;function q(g){throw new RangeError(L[g])}function E(g,f){for(var v=[],w=g.length;w--;)v[w]=f(g[w]);return v}function D(g,f){var v=g.split("@"),w="";v.length>1&&(w=v[0]+"@",g=v[1]),g=g.replace(_,".");var x=g.split("."),j=E(x,f).join(".");return w+j}function B(g){for(var f=[],v=0,w=g.length;v<w;){var x=g.charCodeAt(v++);if(x>=55296&&x<=56319&&v<w){var j=g.charCodeAt(v++);(j&64512)==56320?f.push(((x&1023)<<10)+(j&1023)+65536):(f.push(x),v--)}else f.push(x)}return f}var ee=function(f){return String.fromCodePoint.apply(String,c(f))},V=function(f){return f-48<10?f-22:f-65<26?f-65:f-97<26?f-97:l},G=function(f,v){return f+22+75*(f<26)-((v!=0)<<5)},z=function(f,v,w){var x=0;for(f=w?R(f/S):f>>1,f+=R(f/v);f>A*b>>1;x+=l)f=R(f/A);return R(x+(A+1)*f/(f+y))},N=function(f){var v=[],w=f.length,x=0,j=I,M=T,Q=f.lastIndexOf(P);Q<0&&(Q=0);for(var X=0;X<Q;++X)f.charCodeAt(X)>=128&&q("not-basic"),v.push(f.charCodeAt(X));for(var be=Q>0?Q+1:0;be<w;){for(var H=x,ne=1,ve=l;;ve+=l){be>=w&&q("invalid-input");var se=V(f.charCodeAt(be++));(se>=l||se>R((h-x)/ne))&&q("overflow"),x+=se*ne;var K=ve<=M?m:ve>=M+b?b:ve-M;if(se<K)break;var oe=l-K;ne>R(h/oe)&&q("overflow"),ne*=oe}var te=v.length+1;M=z(x-H,te,H==0),R(x/te)>h-j&&q("overflow"),j+=R(x/te),x%=te,v.splice(x++,0,j)}return String.fromCodePoint.apply(String,v)},pe=function(f){var v=[];f=B(f);var w=f.length,x=I,j=0,M=T,Q=!0,X=!1,be=void 0;try{for(var H=f[Symbol.iterator](),ne;!(Q=(ne=H.next()).done);Q=!0){var ve=ne.value;ve<128&&v.push(O(ve))}}catch(It){X=!0,be=It}finally{try{!Q&&H.return&&H.return()}finally{if(X)throw be}}var se=v.length,K=se;for(se&&v.push(P);K<w;){var oe=h,te=!0,St=!1,je=void 0;try{for(var Be=f[Symbol.iterator](),ie;!(te=(ie=Be.next()).done);te=!0){var _e=ie.value;_e>=x&&_e<oe&&(oe=_e)}}catch(It){St=!0,je=It}finally{try{!te&&Be.return&&Be.return()}finally{if(St)throw je}}var ke=K+1;oe-x>R((h-j)/ke)&&q("overflow"),j+=(oe-x)*ke,x=oe;var Qe=!0,wt=!1,et=void 0;try{for(var Jt=f[Symbol.iterator](),cr;!(Qe=(cr=Jt.next()).done);Qe=!0){var ur=cr.value;if(ur<x&&++j>h&&q("overflow"),ur==x){for(var Dt=j,Lt=l;;Lt+=l){var tt=Lt<=M?m:Lt>=M+b?b:Lt-M;if(Dt<tt)break;var Rt=Dt-tt,Xr=l-tt;v.push(O(G(tt+Rt%Xr,0))),Dt=R(Rt/Xr)}v.push(O(G(Dt,0))),M=z(j,ke,K==se),j=0,++K}}}catch(It){wt=!0,et=It}finally{try{!Qe&&Jt.return&&Jt.return()}finally{if(wt)throw et}}++j,++x}return v.join("")},Ce=function(f){return D(f,function(v){return F.test(v)?N(v.slice(4).toLowerCase()):v})},Ee=function(f){return D(f,function(v){return $.test(v)?"xn--"+pe(v):v})},J={version:"2.1.0",ucs2:{decode:B,encode:ee},decode:N,encode:pe,toASCII:Ee,toUnicode:Ce},me={};function we(g){var f=g.charCodeAt(0),v=void 0;return f<16?v="%0"+f.toString(16).toUpperCase():f<128?v="%"+f.toString(16).toUpperCase():f<2048?v="%"+(f>>6|192).toString(16).toUpperCase()+"%"+(f&63|128).toString(16).toUpperCase():v="%"+(f>>12|224).toString(16).toUpperCase()+"%"+(f>>6&63|128).toString(16).toUpperCase()+"%"+(f&63|128).toString(16).toUpperCase(),v}function $e(g){for(var f="",v=0,w=g.length;v<w;){var x=parseInt(g.substr(v+1,2),16);if(x<128)f+=String.fromCharCode(x),v+=3;else if(x>=194&&x<224){if(w-v>=6){var j=parseInt(g.substr(v+4,2),16);f+=String.fromCharCode((x&31)<<6|j&63)}else f+=g.substr(v,6);v+=6}else if(x>=224){if(w-v>=9){var M=parseInt(g.substr(v+4,2),16),Q=parseInt(g.substr(v+7,2),16);f+=String.fromCharCode((x&15)<<12|(M&63)<<6|Q&63)}else f+=g.substr(v,9);v+=9}else f+=g.substr(v,3),v+=3}return f}function nt(g,f){function v(w){var x=$e(w);return x.match(f.UNRESERVED)?x:w}return g.scheme&&(g.scheme=String(g.scheme).replace(f.PCT_ENCODED,v).toLowerCase().replace(f.NOT_SCHEME,"")),g.userinfo!==void 0&&(g.userinfo=String(g.userinfo).replace(f.PCT_ENCODED,v).replace(f.NOT_USERINFO,we).replace(f.PCT_ENCODED,r)),g.host!==void 0&&(g.host=String(g.host).replace(f.PCT_ENCODED,v).toLowerCase().replace(f.NOT_HOST,we).replace(f.PCT_ENCODED,r)),g.path!==void 0&&(g.path=String(g.path).replace(f.PCT_ENCODED,v).replace(g.scheme?f.NOT_PATH:f.NOT_PATH_NOSCHEME,we).replace(f.PCT_ENCODED,r)),g.query!==void 0&&(g.query=String(g.query).replace(f.PCT_ENCODED,v).replace(f.NOT_QUERY,we).replace(f.PCT_ENCODED,r)),g.fragment!==void 0&&(g.fragment=String(g.fragment).replace(f.PCT_ENCODED,v).replace(f.NOT_FRAGMENT,we).replace(f.PCT_ENCODED,r)),g}function Ye(g){return g.replace(/^0*(.*)/,"$1")||"0"}function ge(g,f){var v=g.match(f.IPV4ADDRESS)||[],w=p(v,2),x=w[1];return x?x.split(".").map(Ye).join("."):g}function ce(g,f){var v=g.match(f.IPV6ADDRESS)||[],w=p(v,3),x=w[1],j=w[2];if(x){for(var M=x.toLowerCase().split("::").reverse(),Q=p(M,2),X=Q[0],be=Q[1],H=be?be.split(":").map(Ye):[],ne=X.split(":").map(Ye),ve=f.IPV4ADDRESS.test(ne[ne.length-1]),se=ve?7:8,K=ne.length-se,oe=Array(se),te=0;te<se;++te)oe[te]=H[te]||ne[K+te]||"";ve&&(oe[se-1]=ge(oe[se-1],f));var St=oe.reduce(function(ke,Qe,wt){if(!Qe||Qe==="0"){var et=ke[ke.length-1];et&&et.index+et.length===wt?et.length++:ke.push({index:wt,length:1})}return ke},[]),je=St.sort(function(ke,Qe){return Qe.length-ke.length})[0],Be=void 0;if(je&&je.length>1){var ie=oe.slice(0,je.index),_e=oe.slice(je.index+je.length);Be=ie.join(":")+"::"+_e.join(":")}else Be=oe.join(":");return j&&(Be+="%"+j),Be}else return g}var gt=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,Te="".match(/(){0}/)[1]===void 0;function Y(g){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v={},w=f.iri!==!1?u:d;f.reference==="suffix"&&(g=(f.scheme?f.scheme+":":"")+"//"+g);var x=g.match(gt);if(x){Te?(v.scheme=x[1],v.userinfo=x[3],v.host=x[4],v.port=parseInt(x[5],10),v.path=x[6]||"",v.query=x[7],v.fragment=x[8],isNaN(v.port)&&(v.port=x[5])):(v.scheme=x[1]||void 0,v.userinfo=g.indexOf("@")!==-1?x[3]:void 0,v.host=g.indexOf("//")!==-1?x[4]:void 0,v.port=parseInt(x[5],10),v.path=x[6]||"",v.query=g.indexOf("?")!==-1?x[7]:void 0,v.fragment=g.indexOf("#")!==-1?x[8]:void 0,isNaN(v.port)&&(v.port=g.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?x[4]:void 0)),v.host&&(v.host=ce(ge(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",f.reference&&f.reference!=="suffix"&&f.reference!==v.reference&&(v.error=v.error||"URI is not a "+f.reference+" reference.");var j=me[(f.scheme||v.scheme||"").toLowerCase()];if(!f.unicodeSupport&&(!j||!j.unicodeSupport)){if(v.host&&(f.domainHost||j&&j.domainHost))try{v.host=J.toASCII(v.host.replace(w.PCT_ENCODED,$e).toLowerCase())}catch(M){v.error=v.error||"Host's domain name can not be converted to ASCII via punycode: "+M}nt(v,d)}else nt(v,w);j&&j.parse&&j.parse(v,f)}else v.error=v.error||"URI can not be parsed.";return v}function ot(g,f){var v=f.iri!==!1?u:d,w=[];return g.userinfo!==void 0&&(w.push(g.userinfo),w.push("@")),g.host!==void 0&&w.push(ce(ge(String(g.host),v),v).replace(v.IPV6ADDRESS,function(x,j,M){return"["+j+(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 Xe=/^\.\.?\//,bt=/^\/\.(\/|$)/,vt=/^\/\.\.(\/|$)/,Ie=/^\/?(?:.|\n)*?(?=\/|$)/;function qe(g){for(var f=[];g.length;)if(g.match(Xe))g=g.replace(Xe,"");else if(g.match(bt))g=g.replace(bt,"/");else if(g.match(vt))g=g.replace(vt,"/"),f.pop();else if(g==="."||g==="..")g="";else{var v=g.match(Ie);if(v){var w=v[0];g=g.slice(w.length),f.push(w)}else throw new Error("Unexpected dot segment condition")}return f.join("")}function De(g){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=f.iri?u:d,w=[],x=me[(f.scheme||g.scheme||"").toLowerCase()];if(x&&x.serialize&&x.serialize(g,f),g.host&&!v.IPV6ADDRESS.test(g.host)){if(f.domainHost||x&&x.domainHost)try{g.host=f.iri?J.toUnicode(g.host):J.toASCII(g.host.replace(v.PCT_ENCODED,$e).toLowerCase())}catch(Q){g.error=g.error||"Host's domain name can not be converted to "+(f.iri?"Unicode":"ASCII")+" via punycode: "+Q}}nt(g,v),f.reference!=="suffix"&&g.scheme&&(w.push(g.scheme),w.push(":"));var j=ot(g,f);if(j!==void 0&&(f.reference!=="suffix"&&w.push("//"),w.push(j),g.path&&g.path.charAt(0)!=="/"&&w.push("/")),g.path!==void 0){var M=g.path;!f.absolutePath&&(!x||!x.absolutePath)&&(M=qe(M)),j===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 Oe(g,f){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},w=arguments[3],x={};return w||(g=Y(De(g,v),v),f=Y(De(f,v),v)),v=v||{},!v.tolerant&&f.scheme?(x.scheme=f.scheme,x.userinfo=f.userinfo,x.host=f.host,x.port=f.port,x.path=qe(f.path||""),x.query=f.query):(f.userinfo!==void 0||f.host!==void 0||f.port!==void 0?(x.userinfo=f.userinfo,x.host=f.host,x.port=f.port,x.path=qe(f.path||""),x.query=f.query):(f.path?(f.path.charAt(0)==="/"?x.path=qe(f.path):((g.userinfo!==void 0||g.host!==void 0||g.port!==void 0)&&!g.path?x.path="/"+f.path:g.path?x.path=g.path.slice(0,g.path.lastIndexOf("/")+1)+f.path:x.path=f.path,x.path=qe(x.path)),x.query=f.query):(x.path=g.path,f.query!==void 0?x.query=f.query:x.query=g.query),x.userinfo=g.userinfo,x.host=g.host,x.port=g.port),x.scheme=g.scheme),x.fragment=f.fragment,x}function Ge(g,f,v){var w=o({scheme:"null"},v);return De(Oe(Y(g,w),Y(f,w),w,!0),w)}function Re(g,f){return typeof g=="string"?g=De(Y(g,f),f):a(g)==="object"&&(g=Y(De(g,f),f)),g}function pr(g,f,v){return typeof g=="string"?g=De(Y(g,v),v):a(g)==="object"&&(g=De(g,v)),typeof f=="string"?f=De(Y(f,v),v):a(f)==="object"&&(f=De(f,v)),g===f}function Zr(g,f){return g&&g.toString().replace(!f||!f.iri?d.ESCAPE:u.ESCAPE,we)}function We(g,f){return g&&g.toString().replace(!f||!f.iri?d.PCT_ENCODED:u.PCT_ENCODED,$e)}var Ht={scheme:"http",domainHost:!0,parse:function(f,v){return f.host||(f.error=f.error||"HTTP URIs must have a host."),f},serialize:function(f,v){var w=String(f.scheme).toLowerCase()==="https";return(f.port===(w?443:80)||f.port==="")&&(f.port=void 0),f.path||(f.path="/"),f}},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(f,v){var w=f;return w.secure=Zi(w),w.resourceName=(w.path||"/")+(w.query?"?"+w.query:""),w.path=void 0,w.query=void 0,w},serialize:function(f,v){if((f.port===(Zi(f)?443:80)||f.port==="")&&(f.port=void 0),typeof f.secure=="boolean"&&(f.scheme=f.secure?"wss":"ws",f.secure=void 0),f.resourceName){var w=f.resourceName.split("?"),x=p(w,2),j=x[0],M=x[1];f.path=j&&j!=="/"?j:void 0,f.query=M,f.resourceName=void 0}return f.fragment=void 0,f}},Yi={scheme:"wss",domainHost:Qt.domainHost,parse:Qt.parse,serialize:Qt.serialize},go={},bo=!0,Xi="[A-Za-z0-9\\-\\.\\_\\~"+(bo?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]",He="[0-9A-Fa-f]",vo=i(i("%[EFef]"+He+"%"+He+He+"%"+He+He)+"|"+i("%[89A-Fa-f]"+He+"%"+He+He)+"|"+i("%"+He+He)),So="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",wo="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",Io=e(wo,'[\\"\\\\]'),xo="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",Co=new RegExp(Xi,"g"),Ot=new RegExp(vo,"g"),To=new RegExp(e("[^]",So,"[\\.]",'[\\"]',Io),"g"),ea=new RegExp(e("[^]",Xi,xo),"g"),Po=ea;function Yr(g){var f=$e(g);return f.match(Co)?f:g}var ta={scheme:"mailto",parse:function(f,v){var w=f,x=w.to=w.path?w.path.split(","):[];if(w.path=void 0,w.query){for(var j=!1,M={},Q=w.query.split("&"),X=0,be=Q.length;X<be;++X){var H=Q[X].split("=");switch(H[0]){case"to":for(var ne=H[1].split(","),ve=0,se=ne.length;ve<se;++ve)x.push(ne[ve]);break;case"subject":w.subject=We(H[1],v);break;case"body":w.body=We(H[1],v);break;default:j=!0,M[We(H[0],v)]=We(H[1],v);break}}j&&(w.headers=M)}w.query=void 0;for(var K=0,oe=x.length;K<oe;++K){var te=x[K].split("@");if(te[0]=We(te[0]),v.unicodeSupport)te[1]=We(te[1],v).toLowerCase();else try{te[1]=J.toASCII(We(te[1],v).toLowerCase())}catch(St){w.error=w.error||"Email address's domain name can not be converted to ASCII via punycode: "+St}x[K]=te.join("@")}return w},serialize:function(f,v){var w=f,x=s(f.to);if(x){for(var j=0,M=x.length;j<M;++j){var Q=String(x[j]),X=Q.lastIndexOf("@"),be=Q.slice(0,X).replace(Ot,Yr).replace(Ot,r).replace(To,we),H=Q.slice(X+1);try{H=v.iri?J.toUnicode(H):J.toASCII(We(H,v).toLowerCase())}catch(K){w.error=w.error||"Email address's domain name can not be converted to "+(v.iri?"Unicode":"ASCII")+" via punycode: "+K}x[j]=be+"@"+H}w.path=x.join(",")}var ne=f.headers=f.headers||{};f.subject&&(ne.subject=f.subject),f.body&&(ne.body=f.body);var ve=[];for(var se in ne)ne[se]!==go[se]&&ve.push(se.replace(Ot,Yr).replace(Ot,r).replace(ea,we)+"="+ne[se].replace(Ot,Yr).replace(Ot,r).replace(Po,we));return ve.length&&(w.query=ve.join("&")),w}},Fo=/^([^\:]+)\:(.*)/,ra={scheme:"urn",parse:function(f,v){var w=f.path&&f.path.match(Fo),x=f;if(w){var j=v.scheme||x.scheme||"urn",M=w[1].toLowerCase(),Q=w[2],X=j+":"+(v.nid||M),be=me[X];x.nid=M,x.nss=Q,x.path=void 0,be&&(x=be.parse(x,v))}else x.error=x.error||"URN can not be parsed.";return x},serialize:function(f,v){var w=v.scheme||f.scheme||"urn",x=f.nid,j=w+":"+(v.nid||x),M=me[j];M&&(f=M.serialize(f,v));var Q=f,X=f.nss;return Q.path=(x||v.nid)+":"+X,Q}},Ao=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,ia={scheme:"urn:uuid",parse:function(f,v){var w=f;return w.uuid=w.nss,w.nss=void 0,!v.tolerant&&(!w.uuid||!w.uuid.match(Ao))&&(w.error=w.error||"UUID is not valid."),w},serialize:function(f,v){var w=f;return w.nss=(f.uuid||"").toLowerCase(),w}};me[Ht.scheme]=Ht,me[Ki.scheme]=Ki,me[Qt.scheme]=Qt,me[Yi.scheme]=Yi,me[ta.scheme]=ta,me[ra.scheme]=ra,me[ia.scheme]=ia,t.SCHEMES=me,t.pctEncChar=we,t.pctDecChars=$e,t.parse=Y,t.removeDotSegments=qe,t.serialize=De,t.resolveComponents=Oe,t.resolve=Ge,t.normalize=Re,t.equal=pr,t.escapeComponent=Zr,t.unescapeComponent=We,Object.defineProperty(t,"__esModule",{value:!0})})});var vr=W((qu,Pa)=>{"use strict";Pa.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 Aa=W((Bu,Fa)=>{"use strict";Fa.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 Ct=W((ku,Oa)=>{"use strict";Oa.exports={copy:Wo,checkDataType:oi,checkDataTypes:Mo,coerceToTypes:zo,toHash:di,getProperty:pi,escapeQuotes:ci,equal:vr(),ucs2length:Aa(),varOccurences:Go,varReplace:Ho,schemaHasRules:Qo,schemaHasRulesExcept:Jo,schemaUnknownRules:Ko,toQuotedString:li,getPathExpr:Zo,getPath:Yo,getData:tl,unescapeFragment:rl,unescapeJsonPointer:fi,escapeFragment:il,escapeJsonPointer:ui};function Wo(t,e){e=e||{};for(var i in t)e[i]=t[i];return e}function oi(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 Mo(t,e,i){switch(t.length){case 1:return oi(t[0],e,i,!0);default:var a="",r=di(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?" && ":"")+oi(s,e,i,!0);return a}}var Ea=di(["string","number","integer","boolean","null"]);function zo(t,e){if(Array.isArray(e)){for(var i=[],a=0;a<e.length;a++){var r=e[a];(Ea[r]||t==="array"&&r==="array")&&(i[i.length]=r)}if(i.length)return i}else{if(Ea[e])return[e];if(t==="array"&&e==="array")return["array"]}}function di(t){for(var e={},i=0;i<t.length;i++)e[t[i]]=!0;return e}var Vo=/^[a-z$_][a-z$_0-9]*$/i,Uo=/'|\\/g;function pi(t){return typeof t=="number"?"["+t+"]":Vo.test(t)?"."+t:"['"+ci(t)+"']"}function ci(t){return t.replace(Uo,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function Go(t,e){e+="[^0-9]";var i=t.match(new RegExp(e,"g"));return i?i.length:0}function Ho(t,e,i){return e+="([^0-9])",i=i.replace(/\$/g,"$$$$"),t.replace(new RegExp(e,"g"),i+"$1")}function Qo(t,e){if(typeof t=="boolean")return!t;for(var i in t)if(e[i])return!0}function Jo(t,e,i){if(typeof t=="boolean")return!t&&i!="not";for(var a in t)if(a!=i&&e[a])return!0}function Ko(t,e){if(typeof t!="boolean"){for(var i in t)if(!e[i])return i}}function li(t){return"'"+ci(t)+"'"}function Zo(t,e,i,a){var r=i?"'/' + "+e+(a?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):a?"'[' + "+e+" + ']'":"'[\\'' + "+e+" + '\\']'";return $a(t,r)}function Yo(t,e,i){var a=li(i?"/"+ui(e):pi(e));return $a(t,a)}var Xo=/^\/(?:[^~]|~0|~1)*$/,el=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function tl(t,e,i){var a,r,s,o;if(t==="")return"rootData";if(t[0]=="/"){if(!Xo.test(t))throw new Error("Invalid JSON-pointer: "+t);r=t,s="rootData"}else{if(o=t.match(el),!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+=pi(fi(p)),n+=" && "+s)}return n}function $a(t,e){return t=='""'?e:(t+" + "+e).replace(/([^\\])' \+ '/g,"$1")}function rl(t){return fi(decodeURIComponent(t))}function il(t){return encodeURIComponent(ui(t))}function ui(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}function fi(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}});var hi=W((Nu,Da)=>{"use strict";var al=Ct();Da.exports=sl;function sl(t){al.copy(t,this)}});var Ra=W((Wu,La)=>{"use strict";var dt=La.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(){};Sr(e,a,r,t,"",t)};dt.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0};dt.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};dt.propsKeywords={definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};dt.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 Sr(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 dt.arrayKeywords)for(var h=0;h<c.length;h++)Sr(t,e,i,c[h],r+"/"+p+"/"+h,s,r,p,a,h)}else if(p in dt.propsKeywords){if(c&&typeof c=="object")for(var l in c)Sr(t,e,i,c[l],r+"/"+p+"/"+nl(l),s,r,p,a,l)}else(p in dt.keywords||t.allKeys&&!(p in dt.skipKeywords))&&Sr(t,e,i,c,r+"/"+p,s,r,p,a)}i(a,r,s,o,n,d,u)}}function nl(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}});var Pr=W((Mu,Ba)=>{"use strict";var rr=Ta(),ja=vr(),Cr=Ct(),wr=hi(),ol=Ra();Ba.exports=ct;ct.normalizeId=pt;ct.fullPath=Ir;ct.url=xr;ct.ids=ul;ct.inlineRef=yi;ct.schema=Tr;function ct(t,e,i){var a=this._refs[i];if(typeof a=="string")if(this._refs[a])a=this._refs[a];else return ct.call(this,t,e,a);if(a=a||this._schemas[i],a instanceof wr)return yi(a.schema,this._opts.inlineRefs)?a.schema:a.validate||this._compile(a);var r=Tr.call(this,e,i),s,o,n;return r&&(s=r.schema,e=r.root,n=r.baseId),s instanceof wr?o=s.validate||t.call(this,s.schema,e,void 0,n):s!==void 0&&(o=yi(s,this._opts.inlineRefs)?s:t.call(this,s,e,void 0,n)),o}function Tr(t,e){var i=rr.parse(e),a=qa(i),r=Ir(this._getId(t.schema));if(Object.keys(t.schema).length===0||a!==r){var s=pt(a),o=this._refs[s];if(typeof o=="string")return ll.call(this,t,o,i);if(o instanceof wr)o.validate||this._compile(o),t=o;else if(o=this._schemas[s],o instanceof wr){if(o.validate||this._compile(o),s==pt(e))return{schema:o,root:t,baseId:r};t=o}else return;if(!t.schema)return;r=Ir(this._getId(t.schema))}return _a.call(this,i,r,t.schema,t)}function ll(t,e,i){var a=Tr.call(this,t,e);if(a){var r=a.schema,s=a.baseId;t=a.root;var o=this._getId(r);return o&&(s=xr(s,o)),_a.call(this,i,s,r,t)}}var dl=Cr.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function _a(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=Cr.unescapeFragment(o),i=i[o],i===void 0)break;var n;if(!dl[o]&&(n=this._getId(i),n&&(e=xr(e,n)),i.$ref)){var d=xr(e,i.$ref),u=Tr.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 pl=Cr.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function yi(t,e){if(e===!1)return!1;if(e===void 0||e===!0)return mi(t);if(e)return gi(t)<=e}function mi(t){var e;if(Array.isArray(t)){for(var i=0;i<t.length;i++)if(e=t[i],typeof e=="object"&&!mi(e))return!1}else for(var a in t)if(a=="$ref"||(e=t[a],typeof e=="object"&&!mi(e)))return!1;return!0}function gi(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+=gi(i)),e==1/0)return 1/0}else for(var r in t){if(r=="$ref")return 1/0;if(pl[r])e++;else if(i=t[r],typeof i=="object"&&(e+=gi(i)+1),e==1/0)return 1/0}return e}function Ir(t,e){e!==!1&&(t=pt(t));var i=rr.parse(t);return qa(i)}function qa(t){return rr.serialize(t).split("#")[0]+"#"}var cl=/#\/?$/;function pt(t){return t?t.replace(cl,""):""}function xr(t,e){return e=pt(e),rr.resolve(t,e)}function ul(t){var e=pt(this._getId(t)),i={"":e},a={"":Ir(e,!1)},r={},s=this;return ol(t,{allKeys:!0},function(o,n,d,u,p,c,h){if(n!==""){var l=s._getId(o),m=i[u],b=a[u]+"/"+p;if(h!==void 0&&(b+="/"+(typeof h=="number"?h:Cr.escapeFragment(h))),typeof l=="string"){l=m=pt(m?rr.resolve(m,l):l);var y=s._refs[l];if(typeof y=="string"&&(y=s._refs[y]),y&&y.schema){if(!ja(o,y.schema))throw new Error('id "'+l+'" resolves to more than one schema')}else if(l!=pt(b))if(l[0]=="#"){if(r[l]&&!ja(o,r[l]))throw new Error('id "'+l+'" resolves to more than one schema');r[l]=o}else s._refs[l]=b}i[n]=m,a[n]=b}}),r}});var Fr=W((zu,Na)=>{"use strict";var bi=Pr();Na.exports={Validation:ka(fl),MissingRef:ka(vi)};function fl(t){this.message="validation failed",this.errors=t,this.ajv=this.validation=!0}vi.message=function(t,e){return"can't resolve reference "+e+" from id "+t};function vi(t,e,i){this.message=i||vi.message(t,e),this.missingRef=bi.url(t,e),this.missingSchema=bi.normalizeId(bi.fullPath(this.missingRef))}function ka(t){return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}});var Si=W((Vu,Wa)=>{"use strict";Wa.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],h=s(o[c]);h&&(d&&(d+=","),d+=JSON.stringify(c)+":"+h)}return r.splice(u,1),"{"+d+"}"}}(t)}});var wi=W((Uu,Ma)=>{"use strict";Ma.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,h=e.schema[i],l=e.schemaPath+e.util.getProperty(i),m=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 y=y||[];y.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(L||"false schema")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , 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=y.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 I="default is ignored in the schema root";if(e.opts.strictDefaults==="log")e.logger.warn(I);else throw new Error(I)}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,$="",_="",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 O=e.util.coerceToTypes(e.opts.coerceTypes,A);var q=e.RULES.types[A];if(O||R||q===!0||q&&!Ie(q)){var l=e.schemaPath+".type",m=e.errSchemaPath+"/type",l=e.schemaPath+".type",m=e.errSchemaPath+"/type",E=R?"checkDataTypes":"checkDataType";if(r+=" if ("+e.util[E](A,b,e.opts.strictNumbers,!0)+") { ",O){var D="dataType"+p,B="coerced"+p;r+=" var "+D+" = typeof "+b+"; var "+B+" = undefined; ",e.opts.coerceTypes=="array"&&(r+=" if ("+D+" == 'object' && Array.isArray("+b+") && "+b+".length == 1) { "+b+" = "+b+"[0]; "+D+" = typeof "+b+"; if ("+e.util.checkDataType(e.schema.type,b,e.opts.strictNumbers)+") "+B+" = "+b+"; } "),r+=" if ("+B+" !== undefined) ; ";var ee=O;if(ee)for(var V,G=-1,z=ee.length-1;G<z;)V=ee[G+=1],V=="string"?r+=" else if ("+D+" == 'number' || "+D+" == 'boolean') "+B+" = '' + "+b+"; else if ("+b+" === null) "+B+" = ''; ":V=="number"||V=="integer"?(r+=" else if ("+D+" == 'boolean' || "+b+" === null || ("+D+" == '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 ("+D+" == 'string' || "+D+" == 'number' || "+D+" == 'boolean' || "+b+" == null) "+B+" = ["+b+"]; ");r+=" else { ";var y=y||[];y.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(L||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , 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=y.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 y=y||[];y.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(L||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , 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=y.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+=") { ",_+="}");else{var Ce=e.RULES;if(Ce){for(var q,Ee=-1,J=Ce.length-1;Ee<J;)if(q=Ce[Ee+=1],Ie(q)){if(q.type&&(r+=" if ("+e.util.checkDataType(q.type,b,e.opts.strictNumbers)+") { "),e.opts.useDefaults){if(q.type=="object"&&e.schema.properties){var h=e.schema.properties,me=Object.keys(h),we=me;if(we)for(var $e,nt=-1,Ye=we.length-1;nt<Ye;){$e=we[nt+=1];var ge=h[$e];if(ge.default!==void 0){var ce=b+e.util.getProperty($e);if(e.compositeRule){if(e.opts.strictDefaults){var I="default is ignored for: "+ce;if(e.opts.strictDefaults==="log")e.logger.warn(I);else throw new Error(I)}}else r+=" if ("+ce+" === undefined ",e.opts.useDefaults=="empty"&&(r+=" || "+ce+" === null || "+ce+" === '' "),r+=" ) "+ce+" = ",e.opts.useDefaults=="shared"?r+=" "+e.useDefault(ge.default)+" ":r+=" "+JSON.stringify(ge.default)+" ",r+="; "}}}else if(q.type=="array"&&Array.isArray(e.schema.items)){var gt=e.schema.items;if(gt){for(var ge,G=-1,Te=gt.length-1;G<Te;)if(ge=gt[G+=1],ge.default!==void 0){var ce=b+"["+G+"]";if(e.compositeRule){if(e.opts.strictDefaults){var I="default is ignored for: "+ce;if(e.opts.strictDefaults==="log")e.logger.warn(I);else throw new Error(I)}}else r+=" if ("+ce+" === undefined ",e.opts.useDefaults=="empty"&&(r+=" || "+ce+" === null || "+ce+" === '' "),r+=" ) "+ce+" = ",e.opts.useDefaults=="shared"?r+=" "+e.useDefault(ge.default)+" ":r+=" "+JSON.stringify(ge.default)+" ",r+="; "}}}}var Y=q.rules;if(Y){for(var ot,Xe=-1,bt=Y.length-1;Xe<bt;)if(ot=Y[Xe+=1],qe(ot)){var vt=ot.code(e,ot.keyword,q.type);vt&&(r+=" "+vt+" ",F&&($+="}"))}}if(F&&(r+=" "+$+" ",$=""),q.type&&(r+=" } ",A&&A===q.type&&!O)){r+=" else { ";var l=e.schemaPath+".type",m=e.errSchemaPath+"/type",y=y||[];y.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(L||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , 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=y.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+=") { ",_+="}")}}}F&&(r+=" "+_+" "),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 Ie(Oe){for(var Ge=Oe.rules,Re=0;Re<Ge.length;Re++)if(qe(Ge[Re]))return!0}function qe(Oe){return e.schema[Oe.keyword]!==void 0||Oe.implements&&De(Oe)}function De(Oe){for(var Ge=Oe.implements,Re=0;Re<Ge.length;Re++)if(e.schema[Ge[Re]]!==void 0)return!0}return r}});var Ha=W((Gu,Ga)=>{"use strict";var Ar=Pr(),$r=Ct(),Va=Fr(),hl=Si(),za=wi(),yl=$r.ucs2length,ml=vr(),gl=Va.Validation;Ga.exports=Ii;function Ii(t,e,i,a){var r=this,s=this._opts,o=[void 0],n={},d=[],u={},p=[],c={},h=[];e=e||{schema:t,refVal:o,refs:n};var l=bl.call(this,t,e,a),m=this._compilations[l.index];if(l.compiling)return m.callValidate=I;var b=this._formats,y=this.RULES;try{var S=P(t,e,i,a);m.validate=S;var T=m.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{vl.call(this,t,e,a)}function I(){var E=m.validate,D=E.apply(this,arguments);return I.errors=E.errors,D}function P(E,D,B,ee){var V=!D||D&&D.schema==E;if(D.schema!=e.schema)return Ii.call(r,E,D,B,ee);var G=E.$async===!0,z=za({isTop:!0,schema:E,isRoot:V,baseId:ee,root:D,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:Va.MissingRef,RULES:y,validate:za,util:$r,resolve:Ar,resolveRef:F,usePattern:R,useDefault:O,useCustomRule:q,opts:s,formats:b,logger:r.logger,self:r});z=Er(o,Il)+Er(d,Sl)+Er(p,wl)+Er(h,xl)+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,y,b,e,o,p,h,ml,yl,gl),o[0]=N}catch(Ce){throw r.logger.error("Error compiling schema, function code:",z),Ce}return N.schema=E,N.errors=null,N.refs=n,N.refVal=o,N.root=V?N:D,G&&(N.$async=!0),s.sourceCode===!0&&(N.source={code:z,patterns:d,defaults:p}),N}function F(E,D,B){D=Ar.url(E,D);var ee=n[D],V,G;if(ee!==void 0)return V=o[ee],G="refVal["+ee+"]",A(V,G);if(!B&&e.refs){var z=e.refs[D];if(z!==void 0)return V=e.refVal[z],G=$(D,V),A(V,G)}G=$(D);var N=Ar.call(r,P,e,D);if(N===void 0){var pe=i&&i[D];pe&&(N=Ar.inlineRef(pe,s.inlineRefs)?pe:Ii.call(r,pe,e,i,E))}if(N===void 0)_(D);else return L(D,N),A(N,G)}function $(E,D){var B=o.length;return o[B]=D,n[E]=B,"refVal"+B}function _(E){delete n[E]}function L(E,D){var B=n[E];o[B]=D}function A(E,D){return typeof E=="object"||typeof E=="boolean"?{code:D,schema:E,inline:!0}:{code:D,$async:E&&!!E.$async}}function R(E){var D=u[E];return D===void 0&&(D=u[E]=d.length,d[D]=E),"pattern"+D}function O(E){switch(typeof E){case"boolean":case"number":return""+E;case"string":return $r.toQuotedString(E);case"object":if(E===null)return"null";var D=hl(E),B=c[D];return B===void 0&&(B=c[D]=p.length,p[B]=E),"default"+B}}function q(E,D,B,ee){if(r._opts.validateSchema!==!1){var V=E.definition.dependencies;if(V&&!V.every(function(we){return Object.prototype.hasOwnProperty.call(B,we)}))throw new Error("parent schema must have all required keywords: "+V.join(","));var G=E.definition.validateSchema;if(G){var z=G(D);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,Ce=E.definition.inline,Ee=E.definition.macro,J;if(pe)J=pe.call(r,D,B,ee);else if(Ee)J=Ee.call(r,D,B,ee),s.validateSchema!==!1&&r.validateSchema(J,!0);else if(Ce)J=Ce.call(r,ee,E.keyword,D,B);else if(J=E.definition.validate,!J)return;if(J===void 0)throw new Error('custom keyword "'+E.keyword+'"failed to compile');var me=h.length;return h[me]=J,{code:"customRule"+me,validate:J}}}function bl(t,e,i){var a=Ua.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 vl(t,e,i){var a=Ua.call(this,t,e,i);a>=0&&this._compilations.splice(a,1)}function Ua(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 Sl(t,e){return"var pattern"+t+" = new RegExp("+$r.toQuotedString(e[t])+");"}function wl(t){return"var default"+t+" = defaults["+t+"];"}function Il(t,e){return e[t]===void 0?"":"var refVal"+t+" = refVal["+t+"];"}function xl(t){return"var customRule"+t+" = customRules["+t+"];"}function Er(t,e){if(!t.length)return"";for(var i="",a=0;a<t.length;a++)i+=e(a,t);return i}});var Ja=W((Hu,Qa)=>{"use strict";var Or=Qa.exports=function(){this._cache={}};Or.prototype.put=function(e,i){this._cache[e]=i};Or.prototype.get=function(e){return this._cache[e]};Or.prototype.del=function(e){delete this._cache[e]};Or.prototype.clear=function(){this._cache={}}});var os=W((Qu,ns)=>{"use strict";var Cl=Ct(),Tl=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,Pl=[0,31,28,31,30,31,30,31,31,30,31,30,31],Fl=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i,Ka=/^(?=.{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,Al=/^(?:[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,El=/^(?:[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,Za=/^(?:(?:[^\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,Ya=/^(?:(?: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,Xa=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,es=/^(?:\/(?:[^~/]|~0|~1)*)*$/,ts=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,rs=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;ns.exports=Dr;function Dr(t){return t=t=="full"?"full":"fast",Cl.copy(Dr[t])}Dr.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":Za,url:Ya,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:Ka,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:ss,uuid:Xa,"json-pointer":es,"json-pointer-uri-fragment":ts,"relative-json-pointer":rs};Dr.full={date:is,time:as,"date-time":Dl,uri:Rl,"uri-reference":El,"uri-template":Za,url:Ya,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:Ka,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:ss,uuid:Xa,"json-pointer":es,"json-pointer-uri-fragment":ts,"relative-json-pointer":rs};function $l(t){return t%4===0&&(t%100!==0||t%400===0)}function is(t){var e=t.match(Tl);if(!e)return!1;var i=+e[1],a=+e[2],r=+e[3];return a>=1&&a<=12&&r>=1&&r<=(a==2&&$l(i)?29:Pl[a])}function as(t,e){var i=t.match(Fl);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 Ol=/t|\s/i;function Dl(t){var e=t.split(Ol);return e.length==2&&is(e[0])&&as(e[1],!0)}var Ll=/\/|:/;function Rl(t){return Ll.test(t)&&Al.test(t)}var jl=/[^\\]\\Z/;function ss(t){if(jl.test(t))return!1;try{return new RegExp(t),!0}catch{return!1}}});var ds=W((Ju,ls)=>{"use strict";ls.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,h,l;if(n=="#"||n=="#/")e.isRoot?(h=e.async,l="validate"):(h=e.root.schema.$async===!0,l="root.refVal[0]");else{var m=e.resolveRef(e.baseId,n,e.isRoot);if(m===void 0){var b=e.MissingRefError.message(e.baseId,n);if(e.opts.missingRefs=="fail"){e.logger.error(b);var y=y||[];y.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=y.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(m.inline){var T=e.util.copy(e);T.level++;var I="valid"+T.level;T.schema=m.schema,T.schemaPath="",T.errSchemaPath=n;var P=e.validate(T).replace(/validate\.schema/g,m.code);r+=" "+P+" ",u&&(r+=" if ("+I+") { ")}else h=m.$async===!0||e.async&&m.$async!==!1,l=m.code}if(l){var y=y||[];y.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 _=r;if(r=y.pop(),h){if(!e.async)throw new Error("async schema referenced by sync schema");u&&(r+=" var "+c+"; "),r+=" try { await "+_+"; ",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 (!"+_+") { if (vErrors === null) vErrors = "+l+".errors; else vErrors = vErrors.concat("+l+".errors); errors = vErrors.length; } ",u&&(r+=" else { ")}return r}});var cs=W((Ku,ps)=>{"use strict";ps.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,h=u.baseId,l=!0,m=s;if(m)for(var b,y=-1,S=m.length-1;y<S;)b=m[y+=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+"["+y+"]",u.errSchemaPath=n+"/"+y,r+=" "+e.validate(u)+" ",u.baseId=h,d&&(r+=" if ("+c+") { ",p+="}"));return d&&(l?r+=" if (true) { ":r+=" "+p.slice(0,-1)+" "),r}});var fs=W((Zu,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||""),h="valid"+s,l="errs__"+s,m=e.util.copy(e),b="";m.level++;var y="valid"+m.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=m.baseId;r+=" var "+l+" = errors; var "+h+" = false; ";var I=e.compositeRule;e.compositeRule=m.compositeRule=!0;var P=n;if(P)for(var F,$=-1,_=P.length-1;$<_;)F=P[$+=1],m.schema=F,m.schemaPath=d+"["+$+"]",m.errSchemaPath=u+"/"+$,r+=" "+e.validate(m)+" ",m.baseId=T,r+=" "+h+" = "+h+" || "+y+"; if (!"+h+") { ",b+="}";e.compositeRule=m.compositeRule=I,r+=" "+b+" if (!"+h+") { 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 ys=W((Yu,hs)=>{"use strict";hs.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 gs=W((Xu,ms)=>{"use strict";ms.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||""),h="valid"+s,l=e.opts.$data&&n&&n.$data,m;l?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",m="schema"+s):m=n,l||(r+=" var schema"+s+" = validate.schema"+d+";"),r+="var "+h+" = equal("+c+", schema"+s+"); if (!"+h+") { ";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 y=r;return r=b.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+y+"]); ":r+=" validate.errors = ["+y+"]; return false; ":r+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" }",p&&(r+=" else { "),r}});var vs=W((ef,bs)=>{"use strict";bs.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||""),h="valid"+s,l="errs__"+s,m=e.util.copy(e),b="";m.level++;var y="valid"+m.level,S="i"+s,T=m.dataLevel=e.dataLevel+1,I="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 "+h+";",F){var $=e.compositeRule;e.compositeRule=m.compositeRule=!0,m.schema=n,m.schemaPath=d,m.errSchemaPath=u,r+=" var "+y+" = false; for (var "+S+" = 0; "+S+" < "+c+".length; "+S+"++) { ",m.errorPath=e.util.getPathExpr(e.errorPath,S,e.opts.jsonPointers,!0);var _=c+"["+S+"]";m.dataPathArr[T]=S;var L=e.validate(m);m.baseId=P,e.util.varOccurences(L,I)<2?r+=" "+e.util.varReplace(L,I,_)+" ":r+=" var "+I+" = "+_+"; "+L+" ",r+=" if ("+y+") break; } ",e.compositeRule=m.compositeRule=$,r+=" "+b+" if (!"+y+") {"}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 ws=W((tf,Ss)=>{"use strict";Ss.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||""),h="errs__"+s,l=e.util.copy(e),m="";l.level++;var b="valid"+l.level,y={},S={},T=e.opts.ownProperties;for($ in n)if($!="__proto__"){var I=n[$],P=Array.isArray(I)?S:y;P[$]=I}r+="var "+h+" = 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 _=P;if(_)for(var L,A=-1,R=_.length-1;A<R;){L=_[A+=1],A&&(r+=" || ");var O=e.util.getProperty(L),q=c+O;r+=" ( ( "+q+" === undefined ",T&&(r+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(L)+"') "),r+=") && (missing"+s+" = "+e.util.toQuotedString(e.opts.jsonPointers?L:O)+") ) "}r+=")) { ";var E="missing"+s,D="' + "+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: '"+D+"', depsCount: "+P.length+", deps: '"+e.util.escapeQuotes(P.length==1?P[0]:P.join(", "))+"' } ",e.opts.messages!==!1&&(r+=" , message: 'should have ",P.length==1?r+="property "+e.util.escapeQuotes(P[0]):r+="properties "+e.util.escapeQuotes(P.join(", ")),r+=" when property "+e.util.escapeQuotes($)+" is present' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var ee=r;r=B.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+ee+"]); ":r+=" validate.errors = ["+ee+"]; return false; ":r+=" var err = "+ee+"; 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 O=e.util.getProperty(L),D=e.util.escapeQuotes(L),q=c+O;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(F,L,e.opts.jsonPointers)),r+=" if ( "+q+" === 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: '"+D+"', depsCount: "+P.length+", deps: '"+e.util.escapeQuotes(P.length==1?P[0]:P.join(", "))+"' } ",e.opts.messages!==!1&&(r+=" , message: 'should have ",P.length==1?r+="property "+e.util.escapeQuotes(P[0]):r+="properties "+e.util.escapeQuotes(P.join(", ")),r+=" when property "+e.util.escapeQuotes($)+" 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&&(m+="}",r+=" else { ")}e.errorPath=F;var N=l.baseId;for(var $ in y){var I=y[$];(e.opts.strictKeywords?typeof I=="object"&&Object.keys(I).length>0||I===!1:e.util.schemaHasRules(I,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=I,l.schemaPath=d+e.util.getProperty($),l.errSchemaPath=u+"/"+e.util.escapeFragment($),r+=" "+e.validate(l)+" ",l.baseId=N,r+=" } ",p&&(r+=" if ("+b+") { ",m+="}"))}return p&&(r+=" "+m+" if ("+h+" == errors) {"),r}});var xs=W((rf,Is)=>{"use strict";Is.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||""),h="valid"+s,l=e.opts.$data&&n&&n.$data,m;l?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",m="schema"+s):m=n;var b="i"+s,y="schema"+s;l||(r+=" var "+y+" = validate.schema"+d+";"),r+="var "+h+";",l&&(r+=" if (schema"+s+" === undefined) "+h+" = true; else if (!Array.isArray(schema"+s+")) "+h+" = false; else {"),r+=""+h+" = false;for (var "+b+"=0; "+b+"<"+y+".length; "+b+"++) if (equal("+c+", "+y+"["+b+"])) { "+h+" = true; break; }",l&&(r+=" } "),r+=" if (!"+h+") { ";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 Ts=W((af,Cs)=>{"use strict";Cs.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 h=e.opts.$data&&n&&n.$data,l;h?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n;var m=e.opts.unknownFormats,b=Array.isArray(m);if(h){var y="format"+s,S="isObject"+s,T="formatType"+s;r+=" var "+y+" = formats["+l+"]; var "+S+" = typeof "+y+" == 'object' && !("+y+" instanceof RegExp) && "+y+".validate; var "+T+" = "+S+" && "+y+".type || 'string'; if ("+S+") { ",e.async&&(r+=" var async"+s+" = "+y+".async; "),r+=" "+y+" = "+y+".validate; } if ( ",h&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'string') || "),r+=" (",m!="ignore"&&(r+=" ("+l+" && !"+y+" ",b&&(r+=" && self._opts.unknownFormats.indexOf("+l+") == -1 "),r+=") || "),r+=" ("+y+" && "+T+" == '"+a+"' && !(typeof "+y+" == 'function' ? ",e.async?r+=" (async"+s+" ? await "+y+"("+c+") : "+y+"("+c+")) ":r+=" "+y+"("+c+") ",r+=" : "+y+".test("+c+"))))) {"}else{var y=e.formats[n];if(!y){if(m=="ignore")return e.logger.warn('unknown format "'+n+'" ignored in schema at path "'+e.errSchemaPath+'"'),p&&(r+=" if (true) { "),r;if(b&&m.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 y=="object"&&!(y instanceof RegExp)&&y.validate,T=S&&y.type||"string";if(S){var I=y.async===!0;y=y.validate}if(T!=a)return p&&(r+=" if (true) { "),r;if(I){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 y=="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: ",h?r+=""+l:r+=""+e.util.toQuotedString(n),r+=" } ",e.opts.messages!==!1&&(r+=` , message: 'should match format "`,h?r+="' + "+l+" + '":r+=""+e.util.escapeQuotes(n),r+=`"' `),e.opts.verbose&&(r+=" , schema: ",h?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 Fs=W((sf,Ps)=>{"use strict";Ps.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||""),h="valid"+s,l="errs__"+s,m=e.util.copy(e);m.level++;var b="valid"+m.level,y=e.schema.then,S=e.schema.else,T=y!==void 0&&(e.opts.strictKeywords?typeof y=="object"&&Object.keys(y).length>0||y===!1:e.util.schemaHasRules(y,e.RULES.all)),I=S!==void 0&&(e.opts.strictKeywords?typeof S=="object"&&Object.keys(S).length>0||S===!1:e.util.schemaHasRules(S,e.RULES.all)),P=m.baseId;if(T||I){var F;m.createErrors=!1,m.schema=n,m.schemaPath=d,m.errSchemaPath=u,r+=" var "+l+" = errors; var "+h+" = true; ";var $=e.compositeRule;e.compositeRule=m.compositeRule=!0,r+=" "+e.validate(m)+" ",m.baseId=P,m.createErrors=!0,r+=" errors = "+l+"; if (vErrors !== null) { if ("+l+") vErrors.length = "+l+"; else vErrors = null; } ",e.compositeRule=m.compositeRule=$,T?(r+=" if ("+b+") { ",m.schema=e.schema.then,m.schemaPath=e.schemaPath+".then",m.errSchemaPath=e.errSchemaPath+"/then",r+=" "+e.validate(m)+" ",m.baseId=P,r+=" "+h+" = "+b+"; ",T&&I?(F="ifClause"+s,r+=" var "+F+" = 'then'; "):F="'then'",r+=" } ",I&&(r+=" else { ")):r+=" if (!"+b+") { ",I&&(m.schema=e.schema.else,m.schemaPath=e.schemaPath+".else",m.errSchemaPath=e.errSchemaPath+"/else",r+=" "+e.validate(m)+" ",m.baseId=P,r+=" "+h+" = "+b+"; ",T&&I?(F="ifClause"+s,r+=" var "+F+" = 'else'; "):F="'else'",r+=" } "),r+=" if (!"+h+") { 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 Es=W((nf,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,c="data"+(o||""),h="valid"+s,l="errs__"+s,m=e.util.copy(e),b="";m.level++;var y="valid"+m.level,S="i"+s,T=m.dataLevel=e.dataLevel+1,I="data"+T,P=e.baseId;if(r+="var "+l+" = errors;var "+h+";",Array.isArray(n)){var F=e.schema.additionalItems;if(F===!1){r+=" "+h+" = "+c+".length <= "+n.length+"; ";var $=u;u=e.errSchemaPath+"/additionalItems",r+=" if (!"+h+") { ";var _=_||[];_.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+n.length+" } ",e.opts.messages!==!1&&(r+=" , message: 'should NOT have more than "+n.length+" items' "),e.opts.verbose&&(r+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var L=r;r=_.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,O=-1,q=A.length-1;O<q;)if(R=A[O+=1],e.opts.strictKeywords?typeof R=="object"&&Object.keys(R).length>0||R===!1:e.util.schemaHasRules(R,e.RULES.all)){r+=" "+y+" = true; if ("+c+".length > "+O+") { ";var E=c+"["+O+"]";m.schema=R,m.schemaPath=d+"["+O+"]",m.errSchemaPath=u+"/"+O,m.errorPath=e.util.getPathExpr(e.errorPath,O,e.opts.jsonPointers,!0),m.dataPathArr[T]=O;var D=e.validate(m);m.baseId=P,e.util.varOccurences(D,I)<2?r+=" "+e.util.varReplace(D,I,E)+" ":r+=" var "+I+" = "+E+"; "+D+" ",r+=" } ",p&&(r+=" if ("+y+") { ",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))){m.schema=F,m.schemaPath=e.schemaPath+".additionalItems",m.errSchemaPath=e.errSchemaPath+"/additionalItems",r+=" "+y+" = true; if ("+c+".length > "+n.length+") { for (var "+S+" = "+n.length+"; "+S+" < "+c+".length; "+S+"++) { ",m.errorPath=e.util.getPathExpr(e.errorPath,S,e.opts.jsonPointers,!0);var E=c+"["+S+"]";m.dataPathArr[T]=S;var D=e.validate(m);m.baseId=P,e.util.varOccurences(D,I)<2?r+=" "+e.util.varReplace(D,I,E)+" ":r+=" var "+I+" = "+E+"; "+D+" ",p&&(r+=" if (!"+y+") break; "),r+=" } } ",p&&(r+=" if ("+y+") { ",b+="}")}}else if(e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all)){m.schema=n,m.schemaPath=d,m.errSchemaPath=u,r+=" for (var "+S+" = 0; "+S+" < "+c+".length; "+S+"++) { ",m.errorPath=e.util.getPathExpr(e.errorPath,S,e.opts.jsonPointers,!0);var E=c+"["+S+"]";m.dataPathArr[T]=S;var D=e.validate(m);m.baseId=P,e.util.varOccurences(D,I)<2?r+=" "+e.util.varReplace(D,I,E)+" ":r+=" var "+I+" = "+E+"; "+D+" ",p&&(r+=" if (!"+y+") break; "),r+=" }"}return p&&(r+=" "+b+" if ("+l+" == errors) {"),r}});var xi=W((of,$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,P,c="data"+(o||""),h=e.opts.$data&&n&&n.$data,l;h?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n;var m=i=="maximum",b=m?"exclusiveMaximum":"exclusiveMinimum",y=e.schema[b],S=e.opts.$data&&y&&y.$data,T=m?"<":">",I=m?">":"<",P=void 0;if(!(h||typeof n=="number"||n===void 0))throw new Error(i+" must be number");if(!(S||y===void 0||typeof y=="number"||typeof y=="boolean"))throw new Error(b+" must be number or boolean");if(S){var F=e.util.getData(y.$data,o,e.dataPathArr),$="exclusive"+s,_="exclType"+s,L="exclIsNumber"+s,A="op"+s,R="' + "+A+" + '";r+=" var schemaExcl"+s+" = "+F+"; ",F="schemaExcl"+s,r+=" var "+$+"; var "+_+" = typeof "+F+"; if ("+_+" != 'boolean' && "+_+" != 'undefined' && "+_+" != 'number') { ";var P=b,O=O||[];O.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 q=r;r=O.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+q+"]); ":r+=" validate.errors = ["+q+"]; return false; ":r+=" var err = "+q+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else if ( ",h&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),r+=" "+_+" == 'number' ? ( ("+$+" = "+l+" === undefined || "+F+" "+T+"= "+l+") ? "+c+" "+I+"= "+F+" : "+c+" "+I+" "+l+" ) : ( ("+$+" = "+F+" === true) ? "+c+" "+I+"= "+l+" : "+c+" "+I+" "+l+" ) || "+c+" !== "+c+") { var op"+s+" = "+$+" ? '"+T+"' : '"+T+"='; ",n===void 0&&(P=b,u=e.errSchemaPath+"/"+b,l=F,h=S)}else{var L=typeof y=="number",R=T;if(L&&h){var A="'"+R+"'";r+=" if ( ",h&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),r+=" ( "+l+" === undefined || "+y+" "+T+"= "+l+" ? "+c+" "+I+"= "+y+" : "+c+" "+I+" "+l+" ) || "+c+" !== "+c+") { "}else{L&&n===void 0?($=!0,P=b,u=e.errSchemaPath+"/"+b,l=y,I+="="):(L&&(l=Math[m?"min":"max"](y,n)),y===(L?l:!0)?($=!0,P=b,u=e.errSchemaPath+"/"+b,I+="="):($=!1,R+="="));var A="'"+R+"'";r+=" if ( ",h&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),r+=" "+c+" "+I+" "+l+" || "+c+" !== "+c+") { "}}P=P||i;var O=O||[];O.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+" ",h?r+="' + "+l:r+=""+l+"'"),e.opts.verbose&&(r+=" , schema: ",h?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var q=r;return r=O.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+q+"]); ":r+=" validate.errors = ["+q+"]; return false; ":r+=" var err = "+q+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",p&&(r+=" else { "),r}});var Ci=W((lf,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,b,c="data"+(o||""),h=e.opts.$data&&n&&n.$data,l;if(h?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n,!(h||typeof n=="number"))throw new Error(i+" must be number");var m=i=="maxItems"?">":"<";r+="if ( ",h&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),r+=" "+c+".length "+m+" "+l+") { ";var b=i,y=y||[];y.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 ",h?r+="' + "+l+" + '":r+=""+n,r+=" items' "),e.opts.verbose&&(r+=" , schema: ",h?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var S=r;return r=y.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((df,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,b,c="data"+(o||""),h=e.opts.$data&&n&&n.$data,l;if(h?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n,!(h||typeof n=="number"))throw new Error(i+" must be number");var m=i=="maxLength"?">":"<";r+="if ( ",h&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),e.opts.unicode===!1?r+=" "+c+".length ":r+=" ucs2length("+c+") ",r+=" "+m+" "+l+") { ";var b=i,y=y||[];y.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 ",h?r+="' + "+l+" + '":r+=""+n,r+=" characters' "),e.opts.verbose&&(r+=" , schema: ",h?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var S=r;return r=y.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 Pi=W((pf,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,b,c="data"+(o||""),h=e.opts.$data&&n&&n.$data,l;if(h?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n,!(h||typeof n=="number"))throw new Error(i+" must be number");var m=i=="maxProperties"?">":"<";r+="if ( ",h&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),r+=" Object.keys("+c+").length "+m+" "+l+") { ";var b=i,y=y||[];y.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 ",h?r+="' + "+l+" + '":r+=""+n,r+=" properties' "),e.opts.verbose&&(r+=" , schema: ",h?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var S=r;return r=y.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 js=W((cf,Rs)=>{"use strict";Rs.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||""),h=e.opts.$data&&n&&n.$data,l;if(h?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n,!(h||typeof n=="number"))throw new Error(i+" must be number");r+="var division"+s+";if (",h&&(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+=" ) ",h&&(r+=" ) "),r+=" ) { ";var m=m||[];m.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 ",h?r+="' + "+l:r+=""+l+"'"),e.opts.verbose&&(r+=" , schema: ",h?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var b=r;return r=m.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 qs=W((uf,_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,c="data"+(o||""),h="errs__"+s,l=e.util.copy(e);l.level++;var m="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 "+h+" = errors; ";var b=e.compositeRule;e.compositeRule=l.compositeRule=!0,l.createErrors=!1;var y;l.opts.allErrors&&(y=l.opts.allErrors,l.opts.allErrors=!1),r+=" "+e.validate(l)+" ",l.createErrors=!0,y&&(l.opts.allErrors=y),e.compositeRule=l.compositeRule=b,r+=" if ("+m+") { ";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 = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; 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 ks=W((ff,Bs)=>{"use strict";Bs.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||""),h="valid"+s,l="errs__"+s,m=e.util.copy(e),b="";m.level++;var y="valid"+m.level,S=m.baseId,T="prevValid"+s,I="passingSchemas"+s;r+="var "+l+" = errors , "+T+" = false , "+h+" = false , "+I+" = null; ";var P=e.compositeRule;e.compositeRule=m.compositeRule=!0;var F=n;if(F)for(var $,_=-1,L=F.length-1;_<L;)$=F[_+=1],(e.opts.strictKeywords?typeof $=="object"&&Object.keys($).length>0||$===!1:e.util.schemaHasRules($,e.RULES.all))?(m.schema=$,m.schemaPath=d+"["+_+"]",m.errSchemaPath=u+"/"+_,r+=" "+e.validate(m)+" ",m.baseId=S):r+=" var "+y+" = true; ",_&&(r+=" if ("+y+" && "+T+") { "+h+" = false; "+I+" = ["+I+", "+_+"]; } else { ",b+="}"),r+=" if ("+y+") { "+h+" = "+T+" = true; "+I+" = "+_+"; }";return e.compositeRule=m.compositeRule=P,r+=""+b+"if (!"+h+") { var err = ",e.createErrors!==!1?(r+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { passingSchemas: "+I+" } ",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 Ws=W((hf,Ns)=>{"use strict";Ns.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||""),h=e.opts.$data&&n&&n.$data,l;h?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n;var m=h?"(new RegExp("+l+"))":e.usePattern(n);r+="if ( ",h&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'string') || "),r+=" !"+m+".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: ",h?r+=""+l:r+=""+e.util.toQuotedString(n),r+=" } ",e.opts.messages!==!1&&(r+=` , message: 'should match pattern "`,h?r+="' + "+l+" + '":r+=""+e.util.escapeQuotes(n),r+=`"' `),e.opts.verbose&&(r+=" , schema: ",h?r+="validate.schema"+d:r+=""+e.util.toQuotedString(n),r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var y=r;return r=b.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+y+"]); ":r+=" validate.errors = ["+y+"]; return false; ":r+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",p&&(r+=" else { "),r}});var zs=W((yf,Ms)=>{"use strict";Ms.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||""),h="errs__"+s,l=e.util.copy(e),m="";l.level++;var b="valid"+l.level,y="key"+s,S="idx"+s,T=l.dataLevel=e.dataLevel+1,I="data"+T,P="dataProperties"+s,F=Object.keys(n||{}).filter(G),$=e.schema.patternProperties||{},_=Object.keys($).filter(G),L=e.schema.additionalProperties,A=F.length||_.length,R=L===!1,O=typeof L=="object"&&Object.keys(L).length,q=e.opts.removeAdditional,E=R||O||q,D=e.opts.ownProperties,B=e.baseId,ee=e.schema.required;if(ee&&!(e.opts.$data&&ee.$data)&&ee.length<e.opts.loopRequired)var V=e.util.toHash(ee);function G(We){return We!=="__proto__"}if(r+="var "+h+" = errors;var "+b+" = true;",D&&(r+=" var "+P+" = undefined;"),E){if(D?r+=" "+P+" = "+P+" || Object.keys("+c+"); for (var "+S+"=0; "+S+"<"+P+".length; "+S+"++) { var "+y+" = "+P+"["+S+"]; ":r+=" for (var "+y+" in "+c+") { ",A){if(r+=" var isAdditional"+s+" = !(false ",F.length)if(F.length>8)r+=" || validate.schema"+d+".hasOwnProperty("+y+") ";else{var z=F;if(z)for(var N,pe=-1,Ce=z.length-1;pe<Ce;)N=z[pe+=1],r+=" || "+y+" == "+e.util.toQuotedString(N)+" "}if(_.length){var Ee=_;if(Ee)for(var J,me=-1,we=Ee.length-1;me<we;)J=Ee[me+=1],r+=" || "+e.usePattern(J)+".test("+y+") "}r+=" ); if (isAdditional"+s+") { "}if(q=="all")r+=" delete "+c+"["+y+"]; ";else{var $e=e.errorPath,nt="' + "+y+" + '";if(e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(e.errorPath,y,e.opts.jsonPointers)),R)if(q)r+=" delete "+c+"["+y+"]; ";else{r+=" "+b+" = false; ";var Ye=u;u=e.errSchemaPath+"/additionalProperties";var ge=ge||[];ge.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'additionalProperties' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { additionalProperty: '"+nt+"' } ",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=ge.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=Ye,p&&(r+=" break; ")}else if(O)if(q=="failing"){r+=" var "+h+" = errors; ";var gt=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,y,e.opts.jsonPointers);var Te=c+"["+y+"]";l.dataPathArr[T]=y;var Y=e.validate(l);l.baseId=B,e.util.varOccurences(Y,I)<2?r+=" "+e.util.varReplace(Y,I,Te)+" ":r+=" var "+I+" = "+Te+"; "+Y+" ",r+=" if (!"+b+") { errors = "+h+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+c+"["+y+"]; } ",e.compositeRule=l.compositeRule=gt}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,y,e.opts.jsonPointers);var Te=c+"["+y+"]";l.dataPathArr[T]=y;var Y=e.validate(l);l.baseId=B,e.util.varOccurences(Y,I)<2?r+=" "+e.util.varReplace(Y,I,Te)+" ":r+=" var "+I+" = "+Te+"; "+Y+" ",p&&(r+=" if (!"+b+") break; ")}e.errorPath=$e}A&&(r+=" } "),r+=" } ",p&&(r+=" if ("+b+") { ",m+="}")}var ot=e.opts.useDefaults&&!e.compositeRule;if(F.length){var Xe=F;if(Xe)for(var N,bt=-1,vt=Xe.length-1;bt<vt;){N=Xe[bt+=1];var Ie=n[N];if(e.opts.strictKeywords?typeof Ie=="object"&&Object.keys(Ie).length>0||Ie===!1:e.util.schemaHasRules(Ie,e.RULES.all)){var qe=e.util.getProperty(N),Te=c+qe,De=ot&&Ie.default!==void 0;l.schema=Ie,l.schemaPath=d+qe,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,I)<2){Y=e.util.varReplace(Y,I,Te);var Oe=Te}else{var Oe=I;r+=" var "+I+" = "+Te+"; "}if(De)r+=" "+Y+" ";else{if(V&&V[N]){r+=" if ( "+Oe+" === undefined ",D&&(r+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(N)+"') "),r+=") { "+b+" = false; ";var $e=e.errorPath,Ye=u,Ge=e.util.escapeQuotes(N);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath($e,N,e.opts.jsonPointers)),u=e.errSchemaPath+"/required";var ge=ge||[];ge.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=ge.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=Ye,e.errorPath=$e,r+=" } else { "}else p?(r+=" if ( "+Oe+" === undefined ",D&&(r+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(N)+"') "),r+=") { "+b+" = true; } else { "):(r+=" if ("+Oe+" !== undefined ",D&&(r+=" && Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(N)+"') "),r+=" ) { ");r+=" "+Y+" } "}}p&&(r+=" if ("+b+") { ",m+="}")}}if(_.length){var Re=_;if(Re)for(var J,pr=-1,Zr=Re.length-1;pr<Zr;){J=Re[pr+=1];var Ie=$[J];if(e.opts.strictKeywords?typeof Ie=="object"&&Object.keys(Ie).length>0||Ie===!1:e.util.schemaHasRules(Ie,e.RULES.all)){l.schema=Ie,l.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(J),l.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(J),D?r+=" "+P+" = "+P+" || Object.keys("+c+"); for (var "+S+"=0; "+S+"<"+P+".length; "+S+"++) { var "+y+" = "+P+"["+S+"]; ":r+=" for (var "+y+" in "+c+") { ",r+=" if ("+e.usePattern(J)+".test("+y+")) { ",l.errorPath=e.util.getPathExpr(e.errorPath,y,e.opts.jsonPointers);var Te=c+"["+y+"]";l.dataPathArr[T]=y;var Y=e.validate(l);l.baseId=B,e.util.varOccurences(Y,I)<2?r+=" "+e.util.varReplace(Y,I,Te)+" ":r+=" var "+I+" = "+Te+"; "+Y+" ",p&&(r+=" if (!"+b+") break; "),r+=" } ",p&&(r+=" else "+b+" = true; "),r+=" } ",p&&(r+=" if ("+b+") { ",m+="}")}}}return p&&(r+=" "+m+" if ("+h+" == errors) {"),r}});var Us=W((mf,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||""),h="errs__"+s,l=e.util.copy(e),m="";l.level++;var b="valid"+l.level;if(r+="var "+h+" = 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 y="key"+s,S="idx"+s,T="i"+s,I="' + "+y+" + '",P=l.dataLevel=e.dataLevel+1,F="data"+P,$="dataProperties"+s,_=e.opts.ownProperties,L=e.baseId;_&&(r+=" var "+$+" = undefined; "),_?r+=" "+$+" = "+$+" || Object.keys("+c+"); for (var "+S+"=0; "+S+"<"+$+".length; "+S+"++) { var "+y+" = "+$+"["+S+"]; ":r+=" for (var "+y+" in "+c+") { ",r+=" var startErrs"+s+" = errors; ";var A=y,R=e.compositeRule;e.compositeRule=l.compositeRule=!0;var O=e.validate(l);l.baseId=L,e.util.varOccurences(O,F)<2?r+=" "+e.util.varReplace(O,F,A)+" ":r+=" var "+F+" = "+A+"; "+O+" ",e.compositeRule=l.compositeRule=R,r+=" if (!"+b+") { for (var "+T+"=startErrs"+s+"; "+T+"<errors; "+T+"++) { vErrors["+T+"].propertyName = "+y+"; } var err = ",e.createErrors!==!1?(r+=" { keyword: 'propertyNames' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { propertyName: '"+I+"' } ",e.opts.messages!==!1&&(r+=" , message: 'property name \\'"+I+"\\' 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+=" "+m+" if ("+h+" == errors) {"),r}});var Hs=W((gf,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||""),h="valid"+s,l=e.opts.$data&&n&&n.$data,m;l?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",m="schema"+s):m=n;var b="schema"+s;if(!l)if(n.length<e.opts.loopRequired&&e.schema.properties&&Object.keys(e.schema.properties).length){var y=[],S=n;if(S)for(var T,I=-1,P=S.length-1;I<P;){T=S[I+=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))||(y[y.length]=T)}}else var y=n;if(l||y.length){var $=e.errorPath,_=l||y.length>=e.opts.loopRequired,L=e.opts.ownProperties;if(p)if(r+=" var missing"+s+"; ",_){l||(r+=" var "+b+" = validate.schema"+d+"; ");var A="i"+s,R="schema"+s+"["+A+"]",O="' + "+R+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr($,R,e.opts.jsonPointers)),r+=" var "+h+" = true; ",l&&(r+=" if (schema"+s+" === undefined) "+h+" = true; else if (!Array.isArray(schema"+s+")) "+h+" = false; else {"),r+=" for (var "+A+" = 0; "+A+" < "+b+".length; "+A+"++) { "+h+" = "+c+"["+b+"["+A+"]] !== undefined ",L&&(r+=" && Object.prototype.hasOwnProperty.call("+c+", "+b+"["+A+"]) "),r+="; if (!"+h+") break; } ",l&&(r+=" } "),r+=" if (!"+h+") { ";var q=q||[];q.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+O+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+O+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var E=r;r=q.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 D=y;if(D)for(var B,A=-1,ee=D.length-1;A<ee;){B=D[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,O="' + "+R+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr($,R,!0):$+" + "+R);var q=q||[];q.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+O+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+O+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var E=r;r=q.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(_){l||(r+=" var "+b+" = validate.schema"+d+"; ");var A="i"+s,R="schema"+s+"["+A+"]",O="' + "+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: '"+O+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+O+"\\'",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: '"+O+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+O+"\\'",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=y;if(z)for(var B,N=-1,pe=z.length-1;N<pe;){B=z[N+=1];var V=e.util.getProperty(B),O=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: '"+O+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+O+"\\'",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 Js=W((bf,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||""),h="valid"+s,l=e.opts.$data&&n&&n.$data,m;if(l?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",m="schema"+s):m=n,(n||l)&&e.opts.uniqueItems!==!1){l&&(r+=" var "+h+"; if ("+m+" === false || "+m+" === undefined) "+h+" = true; else if (typeof "+m+" != 'boolean') "+h+" = false; else { "),r+=" var i = "+c+".length , "+h+" = true , j; if (i > 1) { ";var b=e.schema.items&&e.schema.items.type,y=Array.isArray(b);if(!b||b=="object"||b=="array"||y&&(b.indexOf("object")>=0||b.indexOf("array")>=0))r+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+c+"[i], "+c+"[j])) { "+h+" = false; break outer; } } } ";else{r+=" var itemIndices = {}, item; for (;i--;) { var item = "+c+"[i]; ";var S="checkDataType"+(y?"s":"");r+=" if ("+e.util[S](b,"item",e.opts.strictNumbers,!0)+") continue; ",y&&(r+=` if (typeof item == 'string') item = '"' + item; `),r+=" if (typeof itemIndices[item] == 'number') { "+h+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}r+=" } ",l&&(r+=" } "),r+=" if (!"+h+") { ";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 I=r;r=T.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+I+"]); ":r+=" validate.errors = ["+I+"]; return false; ":r+=" var err = "+I+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",p&&(r+=" else { ")}else p&&(r+=" if (true) { ");return r}});var Zs=W((vf,Ks)=>{"use strict";Ks.exports={$ref:ds(),allOf:cs(),anyOf:fs(),$comment:ys(),const:gs(),contains:vs(),dependencies:ws(),enum:xs(),format:Ts(),if:Fs(),items:Es(),maximum:xi(),minimum:xi(),maxItems:Ci(),minItems:Ci(),maxLength:Ti(),minLength:Ti(),maxProperties:Pi(),minProperties:Pi(),multipleOf:js(),not:qs(),oneOf:ks(),pattern:Ws(),properties:zs(),propertyNames:Us(),required:Hs(),uniqueItems:Js(),validate:wi()}});var en=W((Sf,Xs)=>{"use strict";var Ys=Zs(),Fi=Ct().toHash;Xs.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=Fi(i),e.types=Fi(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:Ys[o],implements:n};return u}),e.all.$comment={keyword:"$comment",code:Ys.$comment},s.type&&(e.types[s.type]=s)}),e.keywords=Fi(i.concat(a)),e.custom={},e}});var an=W((wf,rn)=>{"use strict";var tn=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];rn.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<tn.length;s++){var o=tn[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 on=W((If,nn)=>{"use strict";var _l=Fr().MissingRef;nn.exports=sn;function sn(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)?sn.call(a,{$ref:d},!0):Promise.resolve()}function o(n){try{return a._compile(n)}catch(u){if(u instanceof _l)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(h,h)),c.then(function(m){if(!l(p))return s(m).then(function(){l(p)||a.addSchema(m,p,void 0,e)})}).then(function(){return o(n)});function h(){delete a._loadingSchemas[p]}function l(m){return a._refs[m]||a._schemas[m]}}}}});var dn=W((xf,ln)=>{"use strict";ln.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,h="data"+(o||""),l="valid"+s,m="errs__"+s,b=e.opts.$data&&n&&n.$data,y;b?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",y="schema"+s):y=n;var S=this,T="definition"+s,I=S.definition,P="",F,$,_,L,A;if(b&&I.$data){A="keywordValidate"+s;var R=I.validateSchema;r+=" var "+T+" = RULES.custom['"+i+"'].definition; var "+A+" = "+T+".validate;"}else{if(L=e.useCustomRule(S,n,e.schema,e),!L)return;y="validate.schema"+d,A=L.code,F=I.compile,$=I.inline,_=I.macro}var O=A+".errors",q="i"+s,E="ruleErr"+s,D=I.async;if(D&&!e.async)throw new Error("async keyword in sync schema");if($||_||(r+=""+O+" = null;"),r+="var "+m+" = errors;var "+l+";",b&&I.$data&&(P+="}",r+=" if ("+y+" === undefined) { "+l+" = true; } else { ",R&&(P+="}",r+=" "+l+" = "+T+".validateSchema("+y+"); if ("+l+") { ")),$)I.statements?r+=" "+L.validate+" ":r+=" "+l+" = "+L.validate+"; ";else if(_){var B=e.util.copy(e),P="";B.level++;var ee="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||I.schema===!1?r+=" , "+h+" ":r+=" , "+y+" , "+h+" , 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 Ce=r;r=z.pop(),I.errors===!1?(r+=" "+l+" = ",D&&(r+="await "),r+=""+Ce+"; "):D?(O="customErrors"+s,r+=" var "+O+" = null; try { "+l+" = await "+Ce+"; } catch (e) { "+l+" = false; if (e instanceof ValidationError) "+O+" = e.errors; else throw e; } "):r+=" "+O+" = null; "+l+" = "+Ce+"; "}if(I.modifying&&(r+=" if ("+N+") "+h+" = "+N+"["+pe+"];"),r+=""+P,I.valid)p&&(r+=" if (true) { ");else{r+=" if ( ",I.valid===void 0?(r+=" !",_?r+=""+ee:r+=""+l):r+=" "+!I.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: "+h+" "),r+=" } "):r+=" {} ";var Ee=r;r=z.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+Ee+"]); ":r+=" validate.errors = ["+Ee+"]; return false; ":r+=" var err = "+Ee+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";var J=r;r=z.pop(),$?I.errors?I.errors!="full"&&(r+=" for (var "+q+"="+m+"; "+q+"<errors; "+q+"++) { var "+E+" = vErrors["+q+"]; if ("+E+".dataPath === undefined) "+E+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+E+".schemaPath === undefined) { "+E+'.schemaPath = "'+u+'"; } ',e.opts.verbose&&(r+=" "+E+".schema = "+y+"; "+E+".data = "+h+"; "),r+=" } "):I.errors===!1?r+=" "+J+" ":(r+=" if ("+m+" == errors) { "+J+" } else { for (var "+q+"="+m+"; "+q+"<errors; "+q+"++) { var "+E+" = vErrors["+q+"]; if ("+E+".dataPath === undefined) "+E+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+E+".schemaPath === undefined) { "+E+'.schemaPath = "'+u+'"; } ',e.opts.verbose&&(r+=" "+E+".schema = "+y+"; "+E+".data = "+h+"; "),r+=" } } "):_?(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: "+h+" "),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; ")):I.errors===!1?r+=" "+J+" ":(r+=" if (Array.isArray("+O+")) { if (vErrors === null) vErrors = "+O+"; else vErrors = vErrors.concat("+O+"); errors = vErrors.length; for (var "+q+"="+m+"; "+q+"<errors; "+q+"++) { var "+E+" = vErrors["+q+"]; if ("+E+".dataPath === undefined) "+E+".dataPath = (dataPath || '') + "+e.errorPath+"; "+E+'.schemaPath = "'+u+'"; ',e.opts.verbose&&(r+=" "+E+".schema = "+y+"; "+E+".data = "+h+"; "),r+=" } } else { "+J+" } "),r+=" } ",p&&(r+=" else { ")}return r}});var Ai=W((Cf,ql)=>{ql.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 un=W((Tf,cn)=>{"use strict";var pn=Ai();cn.exports={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:pn.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:pn.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 hn=W((Pf,fn)=>{"use strict";var Bl=/^[a-z_$][a-z0-9_$-]*$/i,kl=dn(),Nl=un();fn.exports={add:Wl,get:Ml,remove:zl,validate:Ei};function Wl(t,e){var i=this.RULES;if(i.keywords[t])throw new Error("Keyword "+t+" is already defined");if(!Bl.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 h=i[c];if(h.type==d){p=h;break}}p||(p={type:d,rules:[]},i.push(p));var l={keyword:n,definition:u,custom:!0,code:kl,implements:u.implements};p.rules.push(l),i.custom[n]=l}return this}function Ml(t){var e=this.RULES.custom[t];return e?e.definition:this.RULES.keywords[t]||!1}function zl(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 Ei(t,e){Ei.errors=null;var i=this._validateKeyword=this._validateKeyword||this.compile(Nl,!0);if(i(t))return!0;if(Ei.errors=i.errors,e)throw new Error("custom keyword definition is invalid: "+this.errorsText(i.errors));return!1}});var yn=W((Ff,Vl)=>{Vl.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 Tn=W((Af,Cn)=>{"use strict";var gn=Ha(),Tt=Pr(),Ul=Ja(),bn=hi(),Gl=Si(),Hl=os(),Ql=en(),vn=an(),Sn=Ct();Cn.exports=ue;ue.prototype.validate=Kl;ue.prototype.compile=Zl;ue.prototype.addSchema=Yl;ue.prototype.addMetaSchema=Xl;ue.prototype.validateSchema=ed;ue.prototype.getSchema=rd;ue.prototype.removeSchema=ad;ue.prototype.addFormat=ud;ue.prototype.errorsText=cd;ue.prototype._addSchema=sd;ue.prototype._compile=nd;ue.prototype.compileAsync=on();var jr=hn();ue.prototype.addKeyword=jr.add;ue.prototype.getKeyword=jr.get;ue.prototype.removeKeyword=jr.remove;ue.prototype.validateKeyword=jr.validate;var wn=Fr();ue.ValidationError=wn.Validation;ue.MissingRefError=wn.MissingRef;ue.$dataMetaSchema=vn;var Rr="http://json-schema.org/draft-07/schema",mn=["removeAdditional","useDefaults","coerceTypes","strictDefaults"],Jl=["/properties"];function ue(t){if(!(this instanceof ue))return new ue(t);t=this._opts=Sn.copy(t)||{},bd(this),this._schemas={},this._refs={},this._fragments={},this._formats=Hl(t.format),this._cache=t.cache||new Ul,this._loadingSchemas={},this._compilations=[],this.RULES=Ql(),this._getId=od(t),t.loopRequired=t.loopRequired||1/0,t.errorDataPath=="property"&&(t._errorDataPathProperty=!0),t.serialize===void 0&&(t.serialize=Gl),this._metaOpts=gd(this),t.formats&&yd(this),t.keywords&&md(this),fd(this),typeof t.meta=="object"&&this.addMetaSchema(t.meta),t.nullable&&this.addKeyword("nullable",{metaSchema:{type:"boolean"}}),hd(this)}function Kl(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 Zl(t,e){var i=this._addSchema(t,void 0,e);return i.validate||this._compile(i)}function Yl(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=Tt.normalizeId(e||s),xn(this,e),this._schemas[e]=this._addSchema(t,i,a,!0),this}function Xl(t,e,i){return this.addSchema(t,e,i,!0),this}function ed(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||td(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 td(t){var e=t._opts.meta;return t._opts.defaultMeta=typeof e=="object"?t._getId(e)||e:t.getSchema(Rr)?Rr:void 0,t._opts.defaultMeta}function rd(t){var e=In(this,t);switch(typeof e){case"object":return e.validate||this._compile(e);case"string":return this.getSchema(e);case"undefined":return id(this,t)}}function id(t,e){var i=Tt.schema.call(t,{schema:{}},e);if(i){var a=i.schema,r=i.root,s=i.baseId,o=gn.call(t,a,r,void 0,s);return t._fragments[e]=new bn({ref:e,fragment:!0,schema:a,root:r,baseId:s,validate:o}),o}}function In(t,e){return e=Tt.normalizeId(e),t._schemas[e]||t._refs[e]||t._fragments[e]}function ad(t){if(t instanceof RegExp)return Lr(this,this._schemas,t),Lr(this,this._refs,t),this;switch(typeof t){case"undefined":return Lr(this,this._schemas),Lr(this,this._refs),this._cache.clear(),this;case"string":var e=In(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=Tt.normalizeId(r),delete this._schemas[r],delete this._refs[r])}return this}function Lr(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 sd(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=Tt.normalizeId(this._getId(t));n&&a&&xn(this,n);var d=this._opts.validateSchema!==!1&&!e,u;d&&!(u=n&&n==Tt.normalizeId(t.$schema))&&this.validateSchema(t,!0);var p=Tt.ids.call(this,t),c=new bn({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 nd(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=gn.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 od(t){switch(t.schemaId){case"auto":return pd;case"id":return ld;default:return dd}}function ld(t){return t.$id&&this.logger.warn("schema $id ignored",t.$id),t.id}function dd(t){return t.id&&this.logger.warn("schema id ignored",t.id),t.$id}function pd(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 cd(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 ud(t,e){return typeof e=="string"&&(e=new RegExp(e)),this._formats[t]=e,this}function fd(t){var e;if(t._opts.$data&&(e=yn(),t.addMetaSchema(e,e.$id,!0)),t._opts.meta!==!1){var i=Ai();t._opts.$data&&(i=vn(i,Jl)),t.addMetaSchema(i,Rr,!0),t._refs["http://json-schema.org/schema"]=Rr}}function hd(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 yd(t){for(var e in t._opts.formats){var i=t._opts.formats[e];t.addFormat(e,i)}}function md(t){for(var e in t._opts.keywords){var i=t._opts.keywords[e];t.addKeyword(e,i)}}function xn(t,e){if(t._schemas[e]||t._refs[e])throw new Error('schema with key or id "'+e+'" already exists')}function gd(t){for(var e=Sn.copy(t._opts),i=0;i<mn.length;i++)delete e[mn[i]];return e}function bd(t){var e=t._opts.logger;if(e===!1)t.logger={log:$i,warn:$i,error:$i};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 $i(){}});var An=W((Ef,Di)=>{function vd(t,e){var i=e&&e.cache?e.cache:Td,a=e&&e.serializer?e.serializer:Cd,r=e&&e.strategy?e.strategy:wd;return r(t,{cache:i,serializer:a})}function Sd(t){return t==null||typeof t=="number"||typeof t=="boolean"}function Pn(t,e,i,a){var r=Sd(a)?a:i(a),s=e.get(r);return typeof s>"u"&&(s=t.call(this,a),e.set(r,s)),s}function Fn(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 Oi(t,e,i,a,r){return i.bind(e,t,a,r)}function wd(t,e){var i=t.length===1?Pn:Fn;return Oi(t,this,i,e.cache.create(),e.serializer)}function Id(t,e){var i=Fn;return Oi(t,this,i,e.cache.create(),e.serializer)}function xd(t,e){var i=Pn;return Oi(t,this,i,e.cache.create(),e.serializer)}function Cd(){return JSON.stringify(arguments)}function _r(){this.cache=Object.create(null)}_r.prototype.has=function(t){return t in this.cache};_r.prototype.get=function(t){return this.cache[t]};_r.prototype.set=function(t,e){this.cache[t]=e};var Td={create:function(){return new _r}};Di.exports=vd;Di.exports.strategies={variadic:Id,monadic:xd}});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 gr=class extends Map{constructor(e,i=Bo){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(ba(this,e))}has(e){return super.has(ba(this,e))}set(e,i){return super.set(_o(this,e),i)}delete(e){return super.delete(qo(this,e))}};function ba({_intern:t,_key:e},i){let a=e(i);return t.has(a)?t.get(a):i}function _o({_intern:t,_key:e},i){let a=e(i);return t.has(a)?t.get(a):(t.set(a,i),i)}function qo({_intern:t,_key:e},i){let a=e(i);return t.has(a)&&(i=t.get(a),t.delete(a)),i}function Bo(t){return t!==null&&typeof t=="object"?t.valueOf():t}function ni(t){return t}function ko(t,e,...i){return No(t,ni,e,i)}function No(t,e,i,a){return function r(s,o){if(o>=a.length)return i(s);let n=new gr,d=a[o++],u=-1;for(let p of s){let c=d(p,++u,s),h=n.get(c);h?h.push(p):n.set(c,[p])}for(let[p,c]of n)n.set(p,r(c,o));return e(n)}(t,0)}function va(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 Sa(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 wa(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 Ia(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 xa(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 qn=la(Tn(),1);var Nn=la(An(),1);var En={Count:"count",Start:"minValue",End:"maxValue"},Mn={Reject:"reject",RenderUpToTheLimit:"renderUpToTheLimit"},U={AxisLabels:"axisLabels",GuideLabel:"guideLabel",AxisTitle:"axisTitle",ChartTitle:"chartTitle",ChartSubtitle:"chartSubtitle",DataLabels:"dataLabels",LegendTitle:"legendTitle",LegendText:"legendText",DescriptionText:"descriptionText"},Jf=32,Kf="arcgis_charts_features_extent",Ft={maxRecordCountFactor:5,maxParallelRequests:4,maxRecords:2e3,orderByJSAPIDelimiter:" ",outStatistics:{statisticType:pa.statisticType,onStatisticField:"OBJECTID",outStatisticFieldName:"arcgis_charts_outStatisticFieldName_default_key"},uniqueIdsName:"arcgisChartsUniqueIds"},Ld=["EXPR_1","Expr1","expr1","EXPR1"],Zf=1,ze=.7,Rd=25,zn=[156,156,156,255],jd=[156,156,156,255],Yf=Wt.Solid,Xf=2,eh={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"},Mi="arcgis_charts_box_plot_category",_d={valueField:"arcgis_charts_heat_chart_value",xField:"arcgis_charts_heat_chart_x",yField:"arcgis_charts_heat_chart_y"},qd=[[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]],Bd=[[104,104,104,255],[51,124,235,255],[132,0,168,255],[156,156,156,255]];function Ke(t){let{colorIndex:e,opacity:i,histogramOverlays:a}=t,r=Math.max(0,e??0),s=[...a===!0?Bd:qd],[o,n,d,u]=s[r%s.length],p=i!==void 0?i*255:u;return[o,n,d,p]}function Vn(t){return[0,0,0,(t??ze)*255]}function th(){return{type:C.CursorCrosshair,verticalLineVisible:!1,horizontalLineVisible:!1,style:{type:Fe.SLS,style:Wt.Dot,color:[211,211,211,255],width:1}}}function Qr(t=1){return[Math.floor(Math.random()*256),Math.floor(Math.random()*256),Math.floor(Math.random()*256),t*255]}function re(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 Un(t="",e=re(),i){let a=hr.Center;return(i===U.DataLabels||i===U.GuideLabel)&&(a=void 0),{type:Fe.TS,color:Vn(),text:t,font:e,horizontalAlignment:a}}function Z(t){let{text:e,visible:i,font:a,type:r}=t??{text:"",visible:!0,font:re()};return{type:C.Text,visible:i,content:Un(e,a,r)}}function or(t){let e=t?.useRandomColor??!1,i=t?.useRampColor,a=t?.width??1,r=t?.isHistogramOverlay,s=t?.color??Vn(1);return e?s=Qr():i!==void 0&&(r===!0?s=Ke({colorIndex:i.colorIndex,histogramOverlays:r}):s=Ke({colorIndex:i.colorIndex})),t?.opacity!==void 0&&(s[3]=t.opacity),{type:Fe.SLS,style:Wt.Solid,color:s,width:a}}function kd(){return{type:C.CategoryAxisFormat,characterLimit:11}}function rh(){return{type:C.DateAxisFormat,intlOptions:{}}}function qi(){return{type:C.NumberAxisFormat,intlOptions:{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:3,useGrouping:!0}}}function ih(){return{type:C.NumberAxisFormat,intlOptions:{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:2}}}function ah(){return{type:C.NumberAxisFormat,intlOptions:{style:"percent",minimumFractionDigits:0,maximumFractionDigits:0}}}function $n(t="Category Axis"){let e=Z({text:t,visible:!0,font:re(U.AxisTitle)});e.content.horizontalAlignment=hr.Center,e.content.verticalAlignment=ai.Middle;let i=Z({text:t,visible:!0,font:re(U.AxisLabels)});return{type:C.Axis,visible:!0,title:e,labels:i,valueFormat:kd(),lineSymbol:or({color:zn})}}function Mr(t="Value Axis"){let e=Z({text:t,visible:!0,font:re(U.AxisTitle)}),i=Z({text:t,visible:!0,font:re(U.AxisLabels)});return e.content.verticalAlignment=ai.Middle,e.content.horizontalAlignment=hr.Center,{type:C.Axis,visible:!0,title:e,labels:i,valueFormat:qi(),lineSymbol:or({color:zn})}}function At(){return{type:C.Legend,visible:!0,title:Z({text:"",visible:!0,font:re(U.LegendTitle)}),body:Un("",re(U.LegendText)),position:da.Right,maxHeight:Number.NaN}}function qr(t){return{type:C.Overlay,visible:!0,created:!1,symbol:or({useRampColor:{colorIndex:t},isHistogramOverlay:!0})}}function Et(){return[255,255,255,255]}async function yt(){return(await he(ye(document.documentElement).t9nLocale,fe("./assets/common/t9n"),"messages.")).utilsStrings.chartType.chart}function mt(){return`Chart ${Date.now()}`}function sh(t,e=!1){return{type:Fe.SFS,style:Mt.Solid,color:e?Qr(ze):Ke({colorIndex:t??0,opacity:ze})}}function Nd(t=0){return{type:Fe.SMS,style:ii.Circle,color:Ke({colorIndex:t,opacity:ze}),size:4}}function Wd(t){return{type:Fe.SLS,style:Wt.Solid,color:Ke({colorIndex:t,opacity:ze}),width:2}}function Md(t=!1){return{type:Fe.SMS,style:ii.Circle,color:t?Qr(ze):Ke({colorIndex:0,opacity:ze}),size:7}}function nh(){return{type:C.SizePolicy,field:"",scaleType:fa.Linear,minSize:5,maxSize:30}}function zd(t=!1){return{type:C.Overlays,trendLine:{type:C.Overlay,created:!1,visible:!0,symbol:{type:Fe.SLS,style:Wt.Solid,color:t?Qr():Ke({colorIndex:1}),width:2}}}}function Vd(){return{type:C.ScatterSeries,id:C.ScatterSeries,name:C.ScatterSeries,x:"",y:"",markerSymbol:Md(),overlays:zd(),dataLabels:Z({text:"",visible:!1,font:re(U.DataLabels)})}}async function Gt(t){let e=await he(ye(document.documentElement).t9nLocale,fe("./assets/common/t9n"),"messages."),i=[],a=e.xAxis,r=e.utilsStrings.statistics.count,s,o=Mr(r),n=or({opacity:Rd});switch(o.grid=n,t){case C.BarSeries:{s=$n(a);break}case C.ScatterSeries:{s=Mr(a),s.grid=n;break}case C.RadarSeries:case C.LineSeries:case C.HistogramSeries:{s=Mr(a);break}case C.BoxPlotSeries:{s=$n("");break}}return s!==void 0&&i.push(s,o),i}function Ud(){return{type:C.GaugeNeedle,symbol:{type:Fe.SFS,color:[0,0,0,200]}}}async function Gd(){let t=await he(ye(document.documentElement).t9nLocale,fe("./assets/common/t9n"),"messages."),e=[],i=t.xAxis,a=Mr(i);return a.needle=Ud(),e.push(a),e}async function Hd(t){let e=t.objectIDField??"ObjectID",i=`${le.Count}_${e}_0`.toUpperCase(),a=(await he(ye(document.documentElement).t9nLocale,fe("./assets/common/t9n"),"messages.")).countSeries;return{type:C.LineSeries,id:a,name:a,query:{outStatistics:[{statisticType:le.Count,onStatisticField:e,outStatisticFieldName:i}],groupByFieldsForStatistics:[]},x:"",y:i,lineSymbol:Wd(t.seriesIndex),markerSymbol:Nd(t.seriesIndex),dataLabels:Z({text:"",visible:!1,font:re(U.DataLabels)}),temporalBinning:{type:ri.FixedDateBased,unit:Pe.Day,size:0,timeAggregationType:kt.Start,trimIncompleteTimeInterval:!0,nullPolicy:ca.Interpolate}}}async function oh(t){return{...await Hd(t),type:C.RadarSeries}}function Qd(t){return{type:Fe.SFS,style:Mt.Solid,color:Ke({colorIndex:t,opacity:ze})}}async function lh(t){let e=t.objectIDField??"ObjectID",i=`${le.Count}_${e}_0`.toUpperCase(),a=(await he(ye(document.documentElement).t9nLocale,fe("./assets/common/t9n"),"messages.")).countSeries;return{type:C.BarSeries,id:a,name:a,query:{outStatistics:[{statisticType:le.Count,onStatisticField:e,outStatisticFieldName:i}],groupByFieldsForStatistics:[]},x:"",y:i,fillSymbol:Qd(t.seriesIndex),dataLabels:Z({text:"",visible:!1,font:re(U.DataLabels),type:U.DataLabels})}}async function dh(t){let e=(await he(ye(document.documentElement).t9nLocale,fe("./assets/common/t9n"),"messages.")).countSeries;return{name:e,type:C.BoxPlotSeries,id:e,fillSymbol:{type:Fe.SFS,style:Mt.Solid,color:Ke({colorIndex:t,opacity:ze})},query:{},x:Mi,y:""}}function Jd(){return{type:C.PieTick,visible:!0,lineSymbol:or({width:1,color:jd})}}function Kd(){return{type:Fe.SFS,style:Mt.Solid}}async function ph(t){let e=`${le.Count}_${t}_0`.toUpperCase(),i=(await he(ye(document.documentElement).t9nLocale,fe("./assets/common/t9n"),"messages.")).countSeries;return{type:C.PieSeries,id:i,name:i,query:{outStatistics:[{statisticType:le.Count,onStatisticField:t??"ObjectID",outStatisticFieldName:e}],groupByFieldsForStatistics:[]},x:"",y:e,fillSymbol:Kd(),dataLabels:Z({text:"",visible:!1,font:re(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 ch(t){let e=t.objectIDField??"ObjectID",i=`${le.Count}_${e}_0`.toUpperCase(),a="Series0";return{type:C.GaugeSeries,id:a,name:a,query:{outStatistics:[{statisticType:le.Count,onStatisticField:e,outStatisticFieldName:i}]},x:""}}function ar(){return!1}async function uh(t=mt()){return{version:at,type:C.Chart,id:t,colorMatch:!0,rotated:ar(),orderOptions:{data:{orderType:Nt.Category,orderBy:it.Ascending}},title:Z({text:await yt(),visible:!0,font:re(U.ChartTitle)}),subtitle:Z(),footer:Z({text:"",visible:!0,font:re(U.DescriptionText)}),background:Et(),axes:await Gt(C.BarSeries),series:[],legend:At()}}async function fh(t=mt()){return{version:at,type:C.Chart,id:t,rotated:ar(),colorMatch:!0,orderOptions:{data:{orderType:Nt.Category,orderBy:it.Ascending}},title:Z({text:await yt(),visible:!0,font:re(U.ChartTitle)}),subtitle:Z(),footer:Z({text:"",visible:!0,font:re(U.DescriptionText)}),background:Et(),series:[],legend:At(),axes:await Gt(C.BoxPlotSeries),standardizeValues:!0,showOutliers:!1}}async function hh(t=mt()){return{version:at,type:C.Chart,id:t,colorMatch:!0,rotated:ar(),orderOptions:{data:{orderType:Nt.Category,orderBy:it.Ascending}},title:Z({text:await yt(),visible:!0,font:re(U.ChartTitle)}),subtitle:Z(),footer:Z({text:"",visible:!0,font:re(U.DescriptionText)}),background:Et(),axes:await Gt(C.LineSeries),series:[],legend:At()}}async function yh(t=mt()){return{version:at,type:C.Chart,id:t,colorMatch:!0,orderOptions:{data:{orderType:Nt.Category,orderBy:it.Ascending}},title:Z({text:await yt(),visible:!0,font:re(U.ChartTitle)}),subtitle:Z(),footer:Z({text:"",visible:!0,font:re(U.DescriptionText)}),background:Et(),axes:await Gt(C.RadarSeries),series:[],legend:At()}}async function mh(t=mt()){return{version:at,type:C.Chart,id:t,colorMatch:!0,orderOptions:{data:{orderType:Nt.YValue,orderBy:it.Descending}},title:Z({text:await yt(),visible:!0,font:re(U.ChartTitle)}),subtitle:Z(),footer:Z({text:"",visible:!0,font:re(U.DescriptionText)}),background:Et(),series:[],legend:{...At(),displayNumericValue:!1,displayPercentage:!0}}}async function gh(t=mt()){return{version:at,type:C.Chart,id:t,colorMatch:!0,title:Z({text:await yt(),visible:!0,font:re(U.ChartTitle)}),series:[],axes:await Gd()}}async function bh(t=mt()){return{version:at,type:C.Chart,id:t,colorMatch:!0,title:Z({text:await yt(),visible:!0,font:re(U.ChartTitle)}),subtitle:Z(),footer:Z({text:"",visible:!0,font:re(U.DescriptionText)}),background:Et(),axes:await Gt(C.ScatterSeries),series:[Vd()],legend:At()}}function Zd(){return{type:C.Overlays,mean:qr(1),median:qr(2),standardDeviation:qr(3),comparisonDistribution:qr(4)}}function Yd(){return{type:Fe.SFS,style:Mt.Solid,color:Ke({colorIndex:0,opacity:ze})}}function Xd(){return{type:C.HistogramSeries,id:C.HistogramSeries,name:C.HistogramSeries,visible:!0,dataTooltipVisible:!0,dataTooltipReverseColor:!1,assignToSecondValueAxis:!1,x:"",binCount:32,overlays:Zd(),dataTransformationType:ti.None,fillSymbol:Yd(),dataLabels:Z({text:"",visible:!1,font:re(U.DataLabels)})}}async function vh(t=mt()){return{version:at,type:C.Chart,id:t,colorMatch:!0,title:Z({text:await yt(),visible:!0,font:re(U.ChartTitle)}),subtitle:Z(),footer:Z({text:"",visible:!0,font:re(U.DescriptionText)}),background:Et(),axes:await Gt(C.HistogramSeries),series:[Xd()],legend:At()}}var Li={behaviorAfterLimit:Mn.Reject,maxCategoryCount:Number.NaN,maxBarChartSeriesCount:100,maxBarUniqueSeriesCountTotal:1e4,maxBarTwoSeriesCountPerSeries:1e3,maxBarTwoSeriesCountTotal:2e3,maxBarThreePlusSeriesCountPerSeries:100,maxBarThreePlusSeriesCountTotal:2e3,maxScatterPointsBeforeAggregation:1e4,maxScatterPointsAfterAggregation:1e4,maxLineChartSeriesCount:100,maxLineUniqueSeriesCountTotal:1e4,maxLineTwoSeriesCountPerSeries:5e3,maxLineTwoSeriesCountTotal:1e4,maxLineThreePlusSeriesCountPerSeries:1e3,maxLineThreePlusSeriesCountTotal:1e4,maxPieChartSliceCountTotal:300,maxGaugeByFeaturesLimit:50,maxBoxPlotSeriesCount:100,maxBoxUniqueSeriesCountTotal:1e4,maxBoxTwoSeriesCountPerSeries:1e3,maxBoxTwoSeriesCountTotal:2e3,maxBoxThreePlusSeriesCountPerSeries:100,maxBoxThreePlusSeriesCountTotal:2e3,maxBoxPlotOutlierLimit:1e4};function 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 Sh(){return{maxScatterCellsPerQuery:500,maxScatterCellsPerQueryForStandard:175,maxElementsPerSelectionQuery:25,maxOIDsPerSelectionQuery:2e3,maxOperandsPerWhereClause:200}}async function wh(t){let e=await he(ye(document.documentElement).t9nLocale,fe("./assets/common/t9n"),"messages."),i;switch(t){case le.Average:{i=e.utilsStrings.statistics.mean;break}case le.ContinuousPercentile:{i=e.utilsStrings.statistics.median;break}case le.Sum:{i=e.utilsStrings.statistics.sum;break}case le.Minimum:{i=e.utilsStrings.statistics.minimum;break}case le.Maximum:{i=e.utilsStrings.statistics.maximum;break}case le.Variance:{i=e.utilsStrings.statistics.variance;break}case le.DiscretePercentile:{i=e.utilsStrings.statistics.discretePercentile;break}case le.NoAggregation:{i=e.utilsStrings.statistics.noAggregation;break}case le.Count:default:{i=e.utilsStrings.statistics.count;break}}return i}async function Ih(t){let e=await he(ye(document.documentElement).t9nLocale,fe("./assets/common/t9n"),"messages."),i;switch(t){case kt.End:{i=e.timeAggregationTypes.end;break}case kt.Start:{i=e.timeAggregationTypes.start;break}default:i="";break}return i}function tp(){return er.Side}async function xh(){return(await he(ye(document.documentElement).t9nLocale,fe("./assets/common/t9n"),"messages.")).utilsStrings.notAvailable}var Ch=0,rp="_arcgis_charts_outliers",ip="_arcgis_charts_z_score",Th=[210,210,210,255*ze],Ph=" percentage ";var Vr=function(){return Vr=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},Vr.apply(this,arguments)},Bi={exports:{}},de={},ki={exports:{}},$t={};function Gn(){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}$t.whiteList=Gn();$t.getDefaultWhiteList=Gn;$t.onAttr=ap;$t.onIgnoreAttr=sp;$t.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 h=ir.trim(p.slice(0,c)),l=ir.trim(p.slice(c+1));if(h){var m=e(r,o.length,h,l,p);m&&(o+=m+"; ")}}}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
- `&&n()}return ir.trim(o)}var pp=dp,Br=$t,cp=pp;function On(t){return t==null}function up(t){var e={};for(var i in t)e[i]=t[i];return e}function Hn(t){t=up(t||{}),t.whiteList=t.whiteList||Br.whiteList,t.onAttr=t.onAttr||Br.onAttr,t.onIgnoreAttr=t.onIgnoreAttr||Br.onIgnoreAttr,t.safeAttrValue=t.safeAttrValue||Br.safeAttrValue,this.options=t}Hn.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,h){var l=a[p],m=!1;if(l===!0?m=l:typeof l=="function"?m=l(c):l instanceof RegExp&&(m=l.test(c)),m!==!0&&(m=!1),c=o(p,c),!!c){var b={position:u,sourcePosition:d,source:h,isWhite:m};if(m){var y=r(p,c,b);return On(y)?p+":"+c:y}else{var y=s(p,c,b);if(!On(y))return y}}});return n};var fp=Hn;(function(t,e){var i=$t,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 zi=ki.exports,Vi={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=zi.FilterCSS,yp=zi.getDefaultWhiteList,Ur=Vi;function Qn(){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 Jn=new hp;function mp(t,e,i){}function gp(t,e,i){}function bp(t,e,i){}function vp(t,e,i){}function Kn(t){return t.replace(wp,"&lt;").replace(Ip,"&gt;")}function Sp(t,e,i,a){if(i=ro(i),e==="href"||e==="src"){if(i=Ur.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(kr.lastIndex=0,kr.test(i))return""}else if(e==="style"){if(Dn.lastIndex=0,Dn.test(i)||(Ln.lastIndex=0,Ln.test(i)&&(kr.lastIndex=0,kr.test(i))))return"";a!==!1&&(a=a||Jn,i=a.process(i))}return i=io(i),i}var wp=/</g,Ip=/>/g,xp=/"/g,Cp=/&quot;/g,Tp=/&#([a-zA-Z0-9]*);?/gim,Pp=/&colon;?/gim,Fp=/&newline;?/gim,kr=/((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,Dn=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,Ln=/u\s*r\s*l\s*\(.*/gi;function Zn(t){return t.replace(xp,"&quot;")}function Yn(t){return t.replace(Cp,'"')}function Xn(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 eo(t){return t.replace(Pp,":").replace(Fp," ")}function to(t){for(var e="",i=0,a=t.length;i<a;i++)e+=t.charCodeAt(i)<32?" ":t.charAt(i);return Ur.trim(e)}function ro(t){return t=Yn(t),t=Xn(t),t=eo(t),t=to(t),t}function io(t){return t=Zn(t),t=Kn(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:Ur.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 Ur.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=Qn();de.getDefaultWhiteList=Qn;de.onTag=mp;de.onIgnoreTag=gp;de.onTagAttr=bp;de.onIgnoreTagAttr=vp;de.safeAttrValue=Sp;de.escapeHtml=Kn;de.escapeQuote=Zn;de.unescapeQuote=Yn;de.escapeHtmlEntities=Xn;de.escapeDangerHtml5Entities=eo;de.clearNonPrintableCharacter=to;de.friendlyAttrValue=ro;de.escapeAttrValue=io;de.onIgnoreTagStripAll=Ap;de.StripTagBody=Ep;de.stripCommentTag=$p;de.stripBlankChar=Op;de.cssFilter=Jn;de.getDefaultCSSWhiteList=yp;var Jr={},ht=Vi;function Dp(t){var e=ht.spaceIndex(t),i;return e===-1?i=t.slice(1,-1):i=t.slice(1,e+1),i=ht.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 h=1,l=t.charAt(n-h);l.trim()===""||l==="=";){if(l==="="){o=c;continue e}l=t.charAt(n-++h)}}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(h,l){if(h=ht.trim(h),h=h.replace(jp,"").toLowerCase(),!(h.length<1)){var m=e(h,l||"");m&&r.push(m)}}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=ht.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=ht.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=ht.trim(t.slice(i,d)),p=Rn(p),n(s,p),s=!1,i=d+1;continue}else continue}return i<t.length&&(s===!1?n(t.slice(i)):n(s,Rn(ht.trim(t.slice(i))))),ht.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 Rn(t){return Np(t)?t.substr(1,t.length-2):t}Jr.parseTag=Rp;Jr.parseAttr=_p;var Wp=zi.FilterCSS,Me=de,ao=Jr,Mp=ao.parseTag,zp=ao.parseAttr,zr=Vi;function Nr(t){return t==null}function Vp(t){var e=zr.spaceIndex(t);if(e===-1)return{html:"",closing:t[t.length-2]==="/"};t=zr.trim(t.slice(e+1,-1));var i=t[t.length-1]==="/";return i&&(t=zr.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 so(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))}so.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 h=Mp(t,function(l,m,b,y,S){var T={sourcePosition:l,position:m,isClosing:S,isWhite:Object.prototype.hasOwnProperty.call(a,b)},I=r(b,y,T);if(!Nr(I))return I;if(T.isWhite){if(T.isClosing)return"</"+b+">";var P=Vp(y),F=a[b],$=zp(P.html,function(_,L){var A=zr.indexOf(F,_)!==-1,R=o(b,_,L,A);return Nr(R)?A?(L=d(b,_,L,p),L?_+'="'+L+'"':_):(R=n(b,_,L,A),Nr(R)?void 0:R):R});return y="<"+b,$&&(y+=" "+$),P.closing&&(y+=" /"),y+=">",y}else return I=s(b,y,T),Nr(I)?u(y):I},u);return c&&(h=c.remove(h)),h};var Hp=so;(function(t,e){var i=de,a=Jr,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 zt=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=Vr(Vr({},zt.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):zt.safeAttrValue(s,o,n,d)}},this._entityMap={"&":"&#x38;","<":"&#x3C;",">":"&#x3E;",'"':"&#x22;","'":"&#x27;","/":"&#x2F;"};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 zt.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?zt.escapeAttrValue(e):!s&&!r?zt.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):zt.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"},Fh={SelectionByClick:"SelectionByClick",SelectionByRange:"SelectionByRange",ProgrammaticSelection:"ProgrammaticSelection",ClearSelection:"ClearSelection"};function Ah(t){return t?.colorMatch??!1}function Eh(t){let e=ar();if(t!==void 0){let i=Le(t.series);(i===C.BarSeries||i===C.LineSeries||i===C.ComboLineAndBarSeries||i===C.BoxPlotSeries)&&(e=t.rotated??ar())}return e}function $h(t){return t?.map(e=>e.type)??[]}function Kp(t){let e=t?.stackedType;if(e===void 0&&t!==void 0){let i=Le(t.series);(i===C.BarSeries||i===C.LineSeries||i===C.ComboLineAndBarSeries||i===C.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 no(t){let{value:e,keepSurroundingQuotes:i,escape:a}=t,r=e?.trim();if(!Ze(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 Oh(t){let{count:e,seriesCount:i,chartType:a,chartLimits:r}=t,{behaviorAfterLimit:s}=r??{},o=!0;if(s!==Mn.RenderUpToTheLimit){let{maxBarChartSeriesCount:n,maxBarUniqueSeriesCountTotal:d,maxBarTwoSeriesCountPerSeries:u,maxBarTwoSeriesCountTotal:p,maxBarThreePlusSeriesCountPerSeries:c,maxBarThreePlusSeriesCountTotal:h,maxLineChartSeriesCount:l,maxLineUniqueSeriesCountTotal:m,maxLineTwoSeriesCountPerSeries:b,maxLineTwoSeriesCountTotal:y,maxLineThreePlusSeriesCountPerSeries:S,maxLineThreePlusSeriesCountTotal:T,maxPieChartSliceCountTotal:I,maxGaugeByFeaturesLimit:P,maxBoxPlotSeriesCount:F,maxBoxUniqueSeriesCountTotal:$,maxBoxTwoSeriesCountTotal:_,maxBoxTwoSeriesCountPerSeries:L,maxBoxThreePlusSeriesCountTotal:A,maxBoxThreePlusSeriesCountPerSeries:R}=ep(r);switch(a){case C.BarSeries:case C.ComboLineAndBarSeries:{let O=e/i;i<=n?i===0?o=!0:i===1?o=e<=d:i===2?o=e<=p&&O<=u:i>2&&(o=e<=h&&O<=c):o=!1}break;case C.LineSeries:case C.RadarSeries:{let O=e/i;i<=l?i===0?o=!0:i===1?o=e<=m:i===2?o=e<=y&&O<=b:i>2&&(o=e<=T&&O<=S):o=!1}break;case C.PieSeries:o=e<=I;break;case C.BoxPlotSeries:{let O=e/i;i<=F?i===0?o=!0:i===1?o=e<=$:i===2?o=e<=_&&O<=L:i>2&&(o=e<=A&&O<=R):o=!1}break;case C.GaugeSeries:o=e<=P;break}}return o}function Dh(t=[],e){let i=t.find(a=>a.name===e)?.alias;return i!==""?i??e:e}function Lh(t=[],e){let i=t.find(a=>a.alias===e)?.name;return i!==""?i??e:e}function Rh(t){let e=!1;switch(Le(t)){case C.PieSeries:e=!0;break;case C.BarSeries:case C.LineSeries:case C.RadarSeries:case C.ComboLineAndBarSeries:case C.BoxPlotSeries:e=t.length>1;break;case C.HistogramSeries:case C.ScatterSeries:{let i=t[0];e=i.overlays!==void 0&&Object.values(i.overlays).some(a=>a.created===!0);break}}return e}function ec(t){let e=!0;return Le(t.series)===C.ScatterSeries&&(e=t.series.length===1),e}function tc(t){let e=!0;return Le(t.series)===C.HistogramSeries&&(e=t.series.length<=1&&t.series[0].type===C.HistogramSeries&&(!("dataTransformationType"in t.series[0])||t.series[0].dataTransformationType!==void 0&&Object.values(ti).includes(t.series[0].dataTransformationType))),e}function rc(t){let e=!0;return Le(t.series)===C.PieSeries&&(e=t.series.length<=1),e}function jh(t,e){let i=Le(e?.series),a=i!==void 0&&t.includes(i);if(a&&e!==void 0)switch(i){case C.HistogramSeries:a=tc(e);break;case C.ScatterSeries:a=ec(e);break;case C.PieSeries:a=rc(e);break}return a}function Ze(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 _h(t){return ic(t,Ld)}function qh(t,e){let i;switch(t){case Pe.Second:i=e.seconds??"";break;case Pe.Minute:i=e.minutes??"";break;case Pe.Hour:i=e.hours??"";break;case Pe.Day:i=e.days??"";break;case Pe.Week:i=e.weeks??"";break;case Pe.Month:i=e.months??"";break;case Pe.Year:i=e.years??"";break;default:i="";break}return i}function Bh(t){let e;switch(t){case Je.Mean:e=1;break;case Je.Median:e=2;break;case Je.StdDev:e=3;break;case Je.Normal:default:e=0;break}return e}function kh(t,e){if(e!==void 0){let{seriesId:i,overlayType:a,visible:r}=t.detail,s;switch(a){case Je.Mean:e.series[0].type===C.HistogramSeries&&(s=e.series[0].overlays?.mean);break;case Je.Median:e.series[0].type===C.HistogramSeries&&(s=e.series[0].overlays?.median);break;case Je.StdDev:e.series[0].type===C.HistogramSeries&&(s=e.series[0].overlays?.standardDeviation);break;case Je.Normal:e.series[0].type===C.HistogramSeries&&(s=e.series[0].overlays?.comparisonDistribution);break;case Je.Trendline:e.series[0].type===C.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 Nh(t){return new Jp().sanitize(t)}function Wh(t){return t!=null&&!Number.isNaN(t)&&Number.isFinite(t)}function Mh(t,e){let i;return e!==void 0&&(i={...e,rotated:t}),i}function zh(t,e){let i={fieldToSort:""};if(!Ze(t)){let a=t.trim(),r=a.split(" ").at(-1)?.toUpperCase();r===it.Ascending||r===it.Descending?i={fieldToSort:a.substring(0,a.lastIndexOf(" ")),orderBy:r}:(i={fieldToSort:a},e!==!1&&(i.orderBy=it.Ascending))}return i}function Vh(t){return t===k.BarAndLineSplitBy||t===k.BarAndLineSplitByNoAggregation||t===k.BoxPlotMonoFieldAndSplitBy||t===k.BoxPlotMultiFieldsAndSplitBy||t===k.BoxPlotMonoFieldAndCategoryAndSplitBy}function Uh(t){return t?.selectionOIDs===void 0||t.selectionOIDs.length===0}function Gh(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 Pt=["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"],ac="1.0.0",sc="unrecognized.version",nc=[C.LineSeries,C.BarSeries,C.ComboLineAndBarSeries,C.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=lt.Same,i=[];if(oc(t)&&t!==void 0){Pt.sort(Ri);let a=Ri(t,Pt[Pt.length-1]);if(a===1?e=lt.Newer:a===-1&&(e=lt.Older),e===lt.Newer||e===lt.Same)i.push(t);else{for(let r=Pt.length-2;r>=0;r-=1)if(Ri(t,Pt[r])>=0){i=Pt.slice(r,Pt.length);break}i.length===0&&i.push(ac)}}else e=lt.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===C.LineSeries):e[0];return i??=e[0],i}function Hh(t,e){let i=t!==null?t.toString():null,a=e!=null?e.toString():null;return a!==null&&a!==i?Fe.SFS:Fe.SLS}function Ui(t,e){let i="";return t!==void 0&&t.includes("=")&&(i=e!==!1?no({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=no({value:s,keepSurroundingQuotes:a,escape:r})),s}function Ut(t){let e=!1;if(t===void 0||t==="")e=!0;else if(t.includes("=")){let i=Ui(t,!1),a=lr({where:t,normalize:!1});e=i===`${a}`}return e}function Qh(t){let{where:e,normalize:i,escape:a}=t,r=i===void 0?!0:i,s=Ui(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:Ut(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===C.LineSeries)??t[0],{x:r}=a,s="y"in a?a.y:"",o=a.query?.where;switch(r){case Mi:typeof s=="object"&&s.length>1?Ut(o)?i&&(e=k.BoxPlotMultiFields):e=k.BoxPlotMultiFieldsAndSplitBy:i?e=k.BoxPlotMonoField:Ut(o)||(e=k.BoxPlotMonoFieldAndSplitBy);break;default:i?e=k.BoxPlotMonoFieldAndCategory:Ut(o)?e=k.BoxPlotMultiFieldsAndCategory:e=k.BoxPlotMonoFieldAndCategoryAndSplitBy;break}return e}function st(t){let e=k.NonSpecific;if(t?.[0]!==void 0)switch(Le(t)){case C.PieSeries:e=pc(t);break;case C.RadarSeries:case C.BarSeries:case C.LineSeries:case C.ComboLineAndBarSeries:e=cc(t);break;case C.BoxPlotSeries:e=uc(t);break}return e}function Jh(t){let{seriesConfig:e,xAxisValueFormatType:i,setTimeBinningInfoWhenNotProvided:a}=t,r=!1;if(fc(e)&&e.binTemporalData!==!1&&i===C.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 ae={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{[ae.Average]:`${e?"":`${t}_`}${ae.Average}`,[ae.Min]:`${e?"":`${t}_`}${ae.Min}`,[ae.Max]:`${e?"":`${t}_`}${ae.Max}`,[ae.FirstQuartile]:`${e?"":`${t}_`}${ae.FirstQuartile}`,[ae.Median]:`${e?"":`${t}_`}${ae.Median}`,[ae.ThirdQuartile]:`${e?"":`${t}_`}${ae.ThirdQuartile}`,[ae.IQR]:`${e?"":`${t}_`}${ae.IQR}`,[ae.Outlier]:`${e?"":`${t}_`}${ae.Outlier}`,[ae.StandardDeviation]:`${e?"":`${t}_`}${ae.StandardDeviation}`}}function yc(t){return t.subType===ua.FeatureGauge}function Kh(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 Gr(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===ae.Min||e===ae.Max)&&(u=`${u}${rp}`),n===!0&&(mc(a)||e===ae.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=Gr({key:ae.FirstQuartile,y:i,splitBy:a,showOutliers:r}),o=Gr({key:ae.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 oo(t){return t.map(e=>e.id).filter(e=>e!==void 0)}function Hr(t,e){let i=[],a=e??oo(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===C.BoxPlotSeries);s!==void 0&&"y"in s&&(r=[s.y].flat())}else r=Hr(e,i);return r}function ft(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]))&&ft(e[a],r)}function Zh(t){let{chartConfig:e,nullAsValid:i=!1,dataSet:a}=t,r=!0;if(e!==void 0){let s=Le(e.series);if(a===void 0||a.length===0)r=!0;else{let o=Hr(e.series);r=!a.some(n=>{let d=!1;switch(s){case C.HistogramSeries:{let u=n;d=ft(u.minValue,i)&&ft(u.maxValue,i)}break;case C.ScatterSeries:{let u=n,{x:p,y:c}=e.series[0];d=ft(u[p],i)&&ft(u[c],i)}break;case C.ComboLineAndBarSeries:case C.RadarSeries:case C.LineSeries:case C.BarSeries:{let u=n,{x:p}=e.series[0];d=o.some(c=>vc({dataItem:u,x:p,y:c,nullAsValid:i}));break}case C.BoxPlotSeries:{let u=e.series,{showOutliers:p}=e;d=gc({configSeries:u,boxPlotDataItem:n,yList:o,showOutliers:p});break}case C.PieSeries:{let u=n,{x:p,y:c}=e.series[0];st(e.series)===k.PieFromFields&&(p=mr,c=si);let h=u[c];d=u[p]!==void 0&&u[p]!==null&&!ha(h)&&ft(Number(h),i)}break;case C.GaugeSeries:{let{x:u}=e.series[0];d=ft(n[u],i)}break;case C.HeatChartSeries:d=a.some(u=>ft(u[_d.valueField],i));break}return d})}}return r}function Sc(t,e){let i=new Map,a=e??oo(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===C.LineSeries||d.type===C.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=[],h=[];for(let l=0;l<p.length;l+=1){let m=d[p[l]];m<0?h[u]=(h[u]??0)+m:c[u]=(c[u]??0)+m}c=c.filter(l=>Number.isFinite(l)).sort((l,m)=>l-m),h=h.filter(l=>Number.isFinite(l)).sort((l,m)=>l-m),o=Math.max(o,c.length>0?c[c.length-1]:h[h.length-1]),n=Math.min(n,h.length>0?h[0]:c[0])}else{let c=0;for(let h=0;h<p.length;h+=1){let l=d[p[h]];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=Gr({key:ae.Min,...i}),r=Gr({key:ae.Max,...i}),s=e[a],o=e[r];return{min:s,max:o}}function Yh(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(h=>h[u]!==null);[a,r]=tr(p,h=>h[u]),s.axes?.[1]?.valueFormat.type===C.DateAxisFormat&&a!==void 0&&r!==void 0&&([a,r]=[new Date(a).valueOf(),new Date(r).valueOf()]);let c=Le(s.series);if(c===C.HistogramSeries&&o.length>0){let h=o[0]?.[En.Start],l=o[o.length-1]?.[En.End];a=typeof h=="number"?h:a,r=typeof l=="number"?l:r}else if(c===C.BoxPlotSeries){e=Number.MAX_SAFE_INTEGER,i=Number.MIN_SAFE_INTEGER;let h=Hr(d,n),l=st(d),m="standardizeValues"in s?s.standardizeValues===!0:void 0,b=s.series.map(y=>y.visible!==!1?lr({where:y.query?.where}):"");b.length===0&&b.push(" ");for(let y=0;y<p.length;y+=1)for(let S=0;S<h.length;S+=1){let T=l===k.BoxPlotMultiFieldsAndCategory?h[S]:void 0;for(let I=0;I<b.length;I+=1){let{min:P,max:F}=Ic({y:T,splitByValue:b[I],chartSubType:l,showOutliers:!1,standardizeValues:m,dataItem:p[y]});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:h,stackedMaxY:l}=wc({seriesConfig:d,filteredData:p,filteredSeriesIds:n});e=h,i=l;break}case er.Side:default:{e=Number.MAX_SAFE_INTEGER,i=Number.MIN_SAFE_INTEGER;let h=Hr(d,n);for(let l=0;l<h.length;l+=1){let m=h[l],[b,y]=tr(p,S=>S[m]);b!==void 0&&b<e&&(e=b),y!==void 0&&y>i&&(i=y)}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 Xh(t){return t!==void 0&&(!("url"in t)||!t.url)}function Gi(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 ey(t){return xc(t)||Hi(t)}function xe(t){return Hi(t)?t.parent:t}function lo(t){return t.capabilities?.query?.supportsDistance||xe(t).sourceJSON?.advancedQueryCapabilities?.supportsQueryWithDistance===!0}function Tc(t){return t.capabilities?.queryAttributeBins?.supportsFixedInterval===!0&&t.capabilities?.queryAttributeBins?.supportsStackBy}function Pc(t,e){return t.capabilities?.queryAttributeBins?.supportsDate===!0&&(Ze(e)||t.capabilities?.queryAttributeBins?.supportsStackBy)}function ty(t){let e=!1,i=xe(Ae(t)).sourceJSON;if(i){let a=i.queryBinsCapabilities?.supportsFixedIntervalBin,r=i.queryBinsCapabilities?.supportedStatisticTypes,s=[le.Maximum,le.Count].every(o=>r?.includes(o.toUpperCase())||r?.includes(o.toLowerCase()));e=a&&s}return e}function ry(t){let e;return Gi(t)?e=t.layer:e=t,e}function Ae(t){let e;return Gi(t)?e=t.layer:e=t,e}function Fc(t){let e=!1,i=xe(t).sourceJSON?.advancedQueryCapabilities?.supportedSpatialAggregationStatistics??[],a=t.capabilities?.query.supportedSpatialAggregationStatistics??{};return e=i.includes("EnvelopeAggregate")||"envelope"in a&&a.envelope===!0,e}function iy(t){let{chartConfig:e,queryObject:i}=t,a,r=Ae(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 xt.Feet:e="esriSRUnit_Foot";break;case xt.Miles:e="esriSRUnit_StatuteMile";break;case xt.NauticalMiles:e="esriSRUnit_NauticalMile";break;case xt.USNauticalMiles:e="esriSRUnit_USNauticalMile";break;case xt.Meters:e="esriSRUnit_Meter";break;case xt.Kilometers:e="esriSRUnit_Kilometer";break}return e}async function ay(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,h=Ae(e),l=xe(h),m={query:{where:nr([o,l.definitionExpression])}},b=Qi(n)?.extent?.toJSON();if(b!==void 0){let S=Ac(u),{xmin:T,ymin:I,xmax:P,ymax:F}=b;m.query={...m.query,geometryType:"esriGeometryEnvelope",geometry:`${T},${I},${P},${F}`,distance:d,units:S,inSR:n?.spatialReference?.wkid}}p&&(m.query.time=`${p[0]},${p[1]}`);let y=`${l.url}/${l.layerId}/queryAnalytic?f=${a}&dataFormat=${r}&outAnalytics=${s}`;try{c=(await _i(y,m)).data?.features?.[0]?.attributes}catch(S){let T=(await he(ye(document.documentElement).t9nLocale,fe("./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 sy(t){let{chartConfig:e,queryObject:i,queryConfig:a,errorStrings:r}=t,s,o=Ae(i),n=Tc(o);if(n&&i&&"queryAttributeBins"in i&&e.series[0].type===C.HeatChartSeries){let{x:d,y:u,xTemporalBinning:p,yTemporalBinning:c}=e.series[0],h=await kc({queryObject:i,queryConfig:a,x:d,y:u,xTemporalBinning:p,yTemporalBinning:c});try{s=await i.queryAttributeBins(h)}catch(l){throw new Ve(Ue.QueryFeaturesError,r.errors.queryError,l)}}if(!n)throw new Ve(Ue.QueryFeaturesError,r.errors.queryBinsNotSupported,r.errors.queryBinsNotSupported);return s}async function ny(t){let{chartConfig:e,queryObject:i,queryConfig:a,errorStrings:r,abortKey:s}=t,o=e.series[0],n;if(o.type===C.HeatChartSeries){let{x:d,y:u}=o;a.groupByFieldsForStatistics=[d],d!==u&&a.groupByFieldsForStatistics.push(u);try{n=await co({queryObject:i,queryConfig:a,abortKey:s})}catch(p){throw new Ve(Ue.QueryFeaturesError,r.errors.queryError,p)}}return n}async function oy(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(h){throw new Ve(Ue.QueryFeaturesError,u.errors.queryError,h)}}return p}async function ly(t){let{queryConfig:e,x:i,queryObject:a,chartSubType:r,isGaugeByFeature:s}=t,o=Ae(a),n;if(a!==void 0){let d=o.objectIdField,{where:u,gdbVersion:p,timeExtent:c,geometry:h,distance:l,units:m}=e,b=Rc(c),y=Qi(h),S=xe(o),T=nr([u,S.definitionExpression]),I={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:y};uo(I)&&(I.cacheHint=!0),I.geometry!==void 0&&lo(o)&&(l!==void 0&&(I.distance=l),m!==void 0&&(I.units=m));try{n=await a.queryFeatureCount(I)}catch{n=Number.NaN}}return n}async function dy(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:h,outStatisticFieldName:l}=p;return{statisticType:c,onStatisticField:h,outStatisticFieldName:l?.toUpperCase()}});i.outStatistics=o,delete i.num,delete i.orderByFields;let n=ho({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 he(ye(document.documentElement).t9nLocale,fe("./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 h=u[c.toLowerCase()]??u[c.toUpperCase()]??u[c];h!==void 0&&s.set(c,h)}})}return s}async function po(t){let{queryObject:e,queryConfig:i,returnUniqueIdsOnly:a,abortKey:r}=t,s=[],o=Ae(e);if(e!==void 0){let n=Wc(o),d=ho({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 he(ye(document.documentElement).t9nLocale,fe("./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<Ft.maxParallelRequests&&n<i;){let d={...t};d.queryConfig={...r,start:n,num:Math.min(a,i-n)},e.push(po(d)),n+=a,o+=1}return s=(await Promise.all(e)).flat(),s}async function co(t){let{queryObject:e,queryConfig:i,returnUniqueIdsOnly:a,featureCount:r,noBatch:s,abortKey:o}=t,n=[],d=Ae(e);if(e!==void 0){let u=r??1,p=fo(d);if(s!==!0&&u>p&&d.capabilities?.query.supportsPagination){let c=0,h=0,l=Math.ceil(u/p),m=Math.ceil(l/Ft.maxParallelRequests),b=[];for(;h<m;){c=h*Ft.maxParallelRequests*p;let y=$c({queryConfig:{...i,start:c},queryObject:e,maxRecords:p,featureCount:u,returnUniqueIdsOnly:a,abortKey:o});b.push(y),h+=1}n=(await Promise.all(b)).flat()}else(Number.isNaN(u)||u>=0)&&(n=await po({queryObject:e,queryConfig:i,returnUniqueIdsOnly:a,abortKey:o}))}return n}async function py(t){let{queryObject:e,queryConfig:i,uniqueFeature:a,abortKey:r}=t,s={...i,returnDistinctValues:!0};return await co({queryObject:e,abortKey:r,queryConfig:s,returnUniqueIdsOnly:!0,featureCount:a===!0?1:void 0})}function cy(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 uy(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=xe(Ae(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 he(ye(document.documentElement).t9nLocale,fe("./assets/common/t9n"),"messages.")).errorStrings;throw new Ve(Ue.QueryFeaturesError,p.errors.queryError,u)}}if(n===!1){let d=(await he(ye(document.documentElement).t9nLocale,fe("./assets/common/t9n"),"messages.")).errorStrings;throw new Ve(Ue.QueryFeaturesError,d.errors.queryBinsNotSupported,d.errors.queryBinsNotSupported)}return o}function uo(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 fo(t){let e=xe(t)?.sourceJSON,i=e?.maxRecordCount??Ft.maxRecords;return e?.advancedQueryCapabilities?.supportsMaxRecordCountFactor&&e?.maxRecordCount!==void 0&&(i=e.maxRecordCount*Ft.maxRecordCountFactor),i}function nr(t,e){let i,a=Array.from(new Set(t)).filter(r=>r!=null&&r!==""&&!Ut(r));return a.sort((r,s)=>s.length-r.length),a.length===1?[i]=a:a?.forEach(r=>{r!==void 0&&(Ze(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=Ae(t),r=xe(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&&Gi(e)){let s=e.view.extent,{xmin:o,xmax:n,ymin:d,ymax:u,zmin:p,zmax:c,spatialReference:h}=s;r={xmin:o,ymin:d,zmin:p,xmax:n,ymax:u,zmax:c,spatialReference:h}}return r}function Rc(t){let e;return t!==void 0&&(e=new Wn({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 Od({}):new $d({}),h=Ae(e),l=xe(h),m=[r,l.definitionExpression];if(c.where=nr(m),c.returnDistinctValues=p??!1,s!==void 0){let S=Fc(h);c.outStatistics=s.filter(T=>T.statisticType!==le.EnvelopeAggregate||S).map(T=>Dd.fromJSON(T))}let b=Qi(o);b!==void 0&&(c.geometry=b,i?.spatialRelationship&&(c.spatialRelationship=i.spatialRelationship),lo(h)&&(n!==void 0&&(c.distance=n),d!==void 0&&(c.units=d)));let y;return u&&(y=new Wn({start:u?.[0],end:u?.[1]})),y!==void 0?c.timeExtent=y:l.timeExtent!==void 0&&(c.timeExtent=l.timeExtent),uo(c)&&(c.cacheHint=!0),c}function _c(t){let e;switch(t){case kt.Start:e="first";break;case kt.End:e="last";break}return e}async function qc(t){let{queryObject:e,queryConfig:i,temporalBinning:a,dateField:r,splitByField:s}=t,o=Ae(e),n=(await dr(e)).find(I=>I.name===r)?.type,d=Kr({queryObject:e,queryConfig:i,queryType:"AttributeBinsQuery"}),{type:u,unit:p,size:c,trimIncompleteTimeInterval:h,timeAggregationType:l}=a,{start:m,end:b,offset:y,outTimeZone:S}=u===ri.CalendarBased?a:{},T=Oc(r);if(d.lowerBoundaryAlias=T.lowerBoundaryAlias,d.upperBoundaryAlias=T.upperBoundaryAlias,n!==Se.DateOnly&&(d.outTimeZone=S??Intl.DateTimeFormat().resolvedOptions().timeZone),d.binParameters={type:"date",field:r,interval:{unit:p,value:c},start:m,end:b,offset:y?{unit:y.unit,value:y.size}:null},d.binParameters.type==="date"&&(o.capabilities?.queryAttributeBins?.supportsSnapToData&&(d.binParameters.snapToData=_c(l)),o.capabilities?.queryAttributeBins?.supportsReturnFullIntervalBin&&(d.binParameters.returnFullIntervalBin=h===!1)),!Ze(s)){let I=xe(o).fields.find(P=>P.name===s)?.type;(!I||I==="string"||I==="integer"||I==="small-integer"||I==="big-integer"||I==="double")&&(d.binParameters.stackBy={type:"field",value:s,valueType:I==="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 Bt.DayOfMonth:s="DAY",n=31;break;case Bt.DayOfWeek:s="DOW",n=7;break;case Bt.DayOfYear:s="DOY",n=366;break;case Bt.HourOfDay:i!==Se.DateOnly&&(s="HOUR",n=24);break;case Bt.MonthOfYear:s="MONTH",n=12;break}return s&&(r=`EXTRACT (${s} FROM ${e})`),{expression:r,start:o,end:n}}function jn(t){let{temporalBinning:e,xOrY:i,xOrYFieldType:a}=t,{type:r,unit:s}=e??{},o,n,d,u;return r===C.CalendarDateParts&&(a===Se.Date||a===Se.DateOnly||a===Se.TimestampOffset)?{expression:n,start:d,end:u}=Bc({field:i,fieldType:a,unit:s}):o=i,{field:o,expression:n,start:d,end:u}}async function kc(t){let{queryObject:e,queryConfig:i,x:a,y:r,xTemporalBinning:s,yTemporalBinning:o}=t,n=await dr(e),d=n.find(S=>S.name===a)?.type,u=n.find(S=>S.name===r)?.type,p=Kr({queryObject:e,queryConfig:i,queryType:"AttributeBinsQuery"});p.binParameters={type:"fixed-interval",interval:1};let c=jn({temporalBinning:s,xOrY:a,xOrYFieldType:d}),{field:h,expression:l,start:m,end:b}=c;h?p.binParameters.field=h:l&&(p.binParameters.expression=l,p.binParameters.expressionValueType="integer",p.binParameters.type==="fixed-interval"&&(m!==void 0&&(p.binParameters.start=m),b!==void 0&&(p.binParameters.end=b)));let y=jn({temporalBinning:o,xOrY:r,xOrYFieldType:u});return y.field?p.binParameters.stackBy={type:"field",value:y.field}:y.expression&&(p.binParameters.stackBy={type:"expression",value:y.expression,valueType:"integer",alias:r}),p}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 ho(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=Ae(e),h=xe(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:h.gdbVersion!==void 0&&h.gdbVersion!==""&&(p.gdbVersion=h.gdbVersion),d!==void 0&&(p.num=d),n!==void 0&&(p.start=n,p.num=p.num??fo(c)),p}function Wc(t){return xe(t)?.sourceJSON?.advancedQueryCapabilities?.supportsMaxRecordCountFactor===!0?Ft.maxRecordCountFactor:void 0}function fy(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,Nn.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=Fd.fromJSON(i).features,a?.fields!==void 0&&(r.fields=a.fields.map(o=>Pd.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=kn.fromJSON(o.renderer))}let s=new Ad(r);return await s.load(),s});async function hy(t){let{layer:e,view:i,chartConfig:a}=t,r;if(e!==void 0){let s=Ae(e),o=xe(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=Ae(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 yy(t){return t.find(e=>e.type===Se.OID)?.name??""}function yo(t){return[Se.Single,Se.Double,Se.SmallInteger,Se.Integer,Se.BigInteger].includes(t.type)}function my(t){return t.type===Se.Date}function gy(t){return[Se.SmallInteger,Se.Integer,Se.BigInteger].includes(t.type)}function by(t){return t.filter(e=>e.type===Se.Date||e.type===Se.DateOnly||e.type===Se.TimestampOffset).map(e=>e.name)}function vy(t){return t.filter(e=>yo(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 _n(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,h])=>h?.type==="coded-value")?.map(([c,h])=>{let l={fieldName:c,name:s,codedValues:u};if(h&&"codedValues"in h){let m=h.codedValues.map(({code:b,name:y})=>({name:y,code:b}));l={fieldName:c,name:h.name,codedValues:m}}return l});i.push({id:n??"",name:s,domains:p})}),i.length===0?void 0:i}function Sy(t){let e;if(t!==void 0){let i=Ae(t);if(!Hi(i)&&!Ze(i?.typeIdField)){let a=_n(i,"types");a!==void 0&&(e={typeIdField:i.typeIdField??void 0,types:a})}if(!Ze(i?.subtypeField)){let a=xe(i),r=_n(a,"subtypes");r!==void 0&&(e={...e,subtypeField:a.subtypeField??void 0,subtypes:r})}}return e}function wy(t){let{fieldName:e,fieldValueToMatch:i,subtypeInfo:a,fieldList:r}=t,s;if((typeof i!="string"||!Ze(i))&&!Ze(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 Iy(t){let e=[];return!xe(t).isTable&&t.fieldsIndex&&(e=await Bn.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 xy(t){let e=!0,i=".arcgis.com/",a=t.url,r=a?.includes(i);if(a&&r&&xe(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 Ed({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 Cy(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 Ty(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:h,objectIds:l,spatialRelationship:m}=o??{},{where:b,gdbVersion:y,timeExtent:S,geometry:T,distance:I,units:P,objectIds:F,spatialRelationship:$}=a??{},_=s[0],{query:L}=_,{where:A}=L??{},R=st(s),O={...L};return O.where=nr([n,b]),R!==k.BarAndLineSplitBy&&R!==k.BoxPlotMonoFieldAndSplitBy&&R!==k.BoxPlotMonoFieldAndCategoryAndSplitBy&&R!==k.BoxPlotMultiFieldsAndSplitBy&&R!==k.BarAndLineSplitByNoAggregation&&(O.where=nr([O.where,A])),i.orderOptions?.orderByFields!==void 0&&(O.orderByFields=i.orderOptions.orderByFields),O.gdbVersion=y??d,O.timeExtent=Dc(e,S??u),O.geometry=Lc({queryObject:e,defaultGeometry:T??p,ignoreViewExtent:r}),O.distance=I??c,O.units=P??h,O.objectIds=F??l,O.spatialRelationship=$??m,L?.outStatistics?.[0]?.statisticType===le.Count&&(O.returnDistinctValues=L?.returnDistinctValues??!1),O}var Vt={$schema:"http://json-schema.org/draft-07/schema#",definitions:{ValueConversion:{type:"object",properties:{factor:{type:"number",description:"A numeric value multiplying the value to convert"},offset:{type:"number",description:"A numeric offset to apply to the value to convert"}},description:"Stores information regarding a numeric conversion",title:"ValueConversion"},WebChartAxisScrollBar:{type:"object",properties:{visible:{type:"boolean",description:"Scrollbar visibility",default:!1},width:{type:"number",description:"Scrollbar width in pixels"},color:{$ref:"#/definitions/Color",description:"Scrollbar color"},gripSize:{type:"number",description:"Grip size in pixels"},margin:{type:"number",description:"Margin between the scrollbar and the series container in pixels"}},description:"Describes the properties of an axis scrollbar",title:"WebChartAxisScrollBar"},Color:{type:"array",items:{type:"number"},minItems:4,maxItems:4,title:"Color"},WebChartTextSymbol:{type:"object",properties:{xoffset:{type:["number","string"],description:`Horizontal offset. Can be a number for a fixed value in pixels, or a string as "25%" for a value relative to the label's container width.`},yoffset:{type:["number","string"],description:`Horizontal offset. Can be a number for a fixed value in pixels, or a string as "25%" for a value relative to the label's container height.`},angle:{type:"number",description:"Rotation of the label"},style:{type:"string",description:"Label style"},type:{type:"string",const:"esriTS"},color:{$ref:"#/definitions/Color"},backgroundColor:{$ref:"#/definitions/Color"},borderLineSize:{type:"number"},borderLineColor:{$ref:"#/definitions/Color"},haloSize:{type:"number"},haloColor:{$ref:"#/definitions/Color"},verticalAlignment:{type:"string",enum:["baseline","bottom","middle","top"]},horizontalAlignment:{type:"string",enum:["center","justify","left","right"]},rightToLeft:{type:"boolean"},kerning:{type:"boolean"},font:{$ref:"#/definitions/IFont"},text:{type:"string"}},required:["type"],description:"Represents a text symbol.",title:"WebChartTextSymbol"},'Omit<ITextSymbol,("angle"|"style"|"xoffset"|"yoffset")>':{$ref:"#/definitions/Pick%3CITextSymbol%2CExclude%3C(%22type%22%7C%22color%22%7C%22backgroundColor%22%7C%22borderLineSize%22%7C%22borderLineColor%22%7C%22haloSize%22%7C%22haloColor%22%7C%22verticalAlignment%22%7C%22horizontalAlignment%22%7C%22rightToLeft%22%7C%22kerning%22%7C%22font%22%7C%22text%22%7C%22angle%22%7C%22xoffset%22%7C%22yoffset%22%7C%22style%22%7Cstring)%2C(%22angle%22%7C%22style%22%7C%22xoffset%22%7C%22yoffset%22)%3E%3E",title:'Omit<ITextSymbol,("angle"|"style"|"xoffset"|"yoffset")>'},'Pick<ITextSymbol,Exclude<("type"|"color"|"backgroundColor"|"borderLineSize"|"borderLineColor"|"haloSize"|"haloColor"|"verticalAlignment"|"horizontalAlignment"|"rightToLeft"|"kerning"|"font"|"text"|"angle"|"xoffset"|"yoffset"|"style"|string),("angle"|"style"|"xoffset"|"yoffset")>>':{type:"object",properties:{type:{type:"string",const:"esriTS"},color:{$ref:"#/definitions/Color"},backgroundColor:{$ref:"#/definitions/Color"},borderLineSize:{type:"number"},borderLineColor:{$ref:"#/definitions/Color"},haloSize:{type:"number"},haloColor:{$ref:"#/definitions/Color"},verticalAlignment:{type:"string",enum:["baseline","bottom","middle","top"]},horizontalAlignment:{type:"string",enum:["center","justify","left","right"]},rightToLeft:{type:"boolean"},kerning:{type:"boolean"},font:{$ref:"#/definitions/IFont"},text:{type:"string"}},required:["type"],title:'Pick<ITextSymbol,Exclude<("type"|"color"|"backgroundColor"|"borderLineSize"|"borderLineColor"|"haloSize"|"haloColor"|"verticalAlignment"|"horizontalAlignment"|"rightToLeft"|"kerning"|"font"|"text"|"angle"|"xoffset"|"yoffset"|"style"|string),("angle"|"style"|"xoffset"|"yoffset")>>'},IFont:{type:"object",properties:{family:{type:"string"},size:{type:"number"},style:{type:"string",enum:["italic","normal","oblique"]},weight:{type:"string",enum:["bold","bolder","lighter","normal"]},decoration:{type:"string",enum:["line-through","none","underline"]}},title:"IFont"},WebChartText:{type:"object",properties:{type:{type:"string",const:"chartText",description:'Represents a unique string identifier for the ChartText object. For ChartText object, it is "chartText".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},content:{$ref:"#/definitions/WebChartTextSymbol",description:"Contains the styling info and text content. Details on **esriTS** are [here](https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm)."}},required:["type","content"],description:"Stores info on how some text is rendered on the chart and whether it is visible or not.",title:"WebChartText"},WebChartCursorCrosshair:{type:"object",properties:{type:{type:"string",const:"cursorCrosshair",description:"Represents a unique string identifier for the chart cursor's crosshair."},style:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the chart cursor's crosshair should be rendered."},verticalLineVisible:{type:"boolean",description:"Indicates whether the vertical crosshair line should be displayed",default:!1},horizontalLineVisible:{type:"boolean",description:"Indicates whether the horizontal crosshair line should be displayed",default:!1}},required:["type"],description:"JSON representation of the cursor's crosshair for a chart.",title:"WebChartCursorCrosshair"},ISimpleLineSymbol:{type:"object",properties:{type:{type:"string",const:"esriSLS"},style:{$ref:"#/definitions/SimpleLineSymbolStyle"},color:{$ref:"#/definitions/Color"},width:{type:"number"}},required:["type"],title:"ISimpleLineSymbol"},ISymbol:{type:"object",properties:{type:{$ref:"#/definitions/SymbolType"},style:{type:"string"}},required:["type"],title:"ISymbol"},SymbolType:{type:"string",enum:["esriPFS","esriPMS","esriSFS","esriSLS","esriSMS","esriTS"],title:"SymbolType"},SimpleLineSymbolStyle:{type:"string",enum:["esriSLSDash","esriSLSDashDot","esriSLSDashDotDot","esriSLSDot","esriSLSNull","esriSLSSolid"],title:"SimpleLineSymbolStyle"},WebChartLegend:{type:"object",properties:{type:{type:"string",const:"chartLegend",description:'Represents a unique string identifier for the ChartLegend object. For ChartLegend object, it is "chartLegend".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the legend box should be rendered"},body:{$ref:"#/definitions/WebChartTextSymbol",description:"Contains styling info on how legend body (excluding the **title**) should be rendered. Will use default styling if not provided."},position:{$ref:"#/definitions/WebChartLegendPositions",description:'Positions the legends at `"right"`, `"left"`, `"top"`, or `"bottom"` of the chart.',default:"WebChartLegendPositions.Right"},maxHeight:{type:["number","null"],description:"Legend's maximum height. If not set the legend will occupy the same height as the series container or pie chart.",default:null},roundMarkers:{type:"boolean",description:"Allows the legend markers to be displayed as circles. If the property is to:\n- `false` or `undefined` they will be rounded rectangles\n- `true` they will be circles",default:!1}},required:["type"],description:"JSON representation of the Chart's legend box",title:"WebChartLegend"},WebChartLegendPositions:{type:"string",enum:["left","right","top","bottom"],title:"WebChartLegendPositions"},WebChartPieChartLegend:{type:"object",properties:{type:{type:"string",const:"chartLegend",description:'Represents a unique string identifier for the ChartLegend object. For ChartLegend object, it is "chartLegend".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the legend box should be rendered"},body:{$ref:"#/definitions/WebChartTextSymbol",description:"Contains styling info on how legend body (excluding the **title**) should be rendered. Will use default styling if not provided."},position:{$ref:"#/definitions/WebChartLegendPositions",description:'Positions the legends at `"right"`, `"left"`, `"top"`, or `"bottom"` of the chart.',default:"WebChartLegendPositions.Right"},maxHeight:{type:["number","null"],description:"Legend's maximum height. If not set the legend will occupy the same height as the series container or pie chart.",default:null},roundMarkers:{type:"boolean",description:"Allows the legend markers to be displayed as circles. If the property is to:\n- `false` or `undefined` they will be rounded rectangles\n- `true` they will be circles",default:!1},displayCategory:{type:"boolean",description:"Indicates whether the category associated to a slice is to be displayed in the legend.",default:!0},displayNumericValue:{type:"boolean",description:"Indicates whether the numeric value associated to a slice is to be displayed in the legend. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)`",default:!1},displayPercentage:{type:"boolean",description:"Indicates whether the percentage to a slice is to be displayed in the legend. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)`",default:!1},labelMaxWidth:{type:"number",description:"Maximum width in pixels of the label displaying the slice name. If the label is larger than the maximum width, it will automatically wrap.",default:200},valueLabelMaxWidth:{type:"number",description:"Maximum width in pixels of the label displaying the slice name. If the label is larger than the maximum width, it will automatically wrap.",default:200}},required:["type"],description:"Specific legend for the Pie chart",title:"WebChartPieChartLegend"},WebChartOverlay:{type:"object",properties:{type:{type:"string",const:"chartOverlay",description:'Represents a unique string identifier for the ChartOverlay object. For ChartOverlay object, it is "chartOverlay".'},created:{type:"boolean",description:"Determines whether the overlay is created under the hood. It may or may not be visible.",default:!1},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},symbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the overlay should be rendered If not provided a default style is applied."}},required:["type"],description:"JSON representation of the chart's overlays like trendline scatter plot, and median in histogram",title:"WebChartOverlay"},NumberFormatOptions:{type:"object",properties:{type:{type:"string",const:"number",description:'Represents a unique string identifier for the NumberFormatOptions object. For NumberFormatOptions object, it is "number". It can help us to differentiate numerical (value) axis from other types of axes viz., date-time axis and category axis.'},intlOptions:{$ref:"#/definitions/Intl.NumberFormatOptions",description:"Represents the JS native [Intl.NumberFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat), which is based on [CLDR](http://cldr.unicode.org/translation/numbers-currency/number-patterns) specifications."}},required:["type","intlOptions"],description:"Defines how the numerical(value) axis data should be formatted.",title:"NumberFormatOptions"},"Intl.NumberFormatOptions":{type:"object",properties:{localeMatcher:{type:"string",enum:["lookup","best fit"]},style:{$ref:"#/definitions/Intl.NumberFormatOptionsStyle"},currency:{type:"string"},currencyDisplay:{$ref:"#/definitions/Intl.NumberFormatOptionsCurrencyDisplay"},useGrouping:{$ref:"#/definitions/Intl.NumberFormatOptionsUseGrouping"},minimumIntegerDigits:{type:"number"},minimumFractionDigits:{type:"number"},maximumFractionDigits:{type:"number"},minimumSignificantDigits:{type:"number"},maximumSignificantDigits:{type:"number"}},title:"Intl.NumberFormatOptions"},"Intl.NumberFormatOptionsStyle":{title:"Intl.NumberFormatOptionsStyle"},"Intl.NumberFormatOptionsCurrencyDisplay":{title:"Intl.NumberFormatOptionsCurrencyDisplay"},"Intl.NumberFormatOptionsUseGrouping":{type:"boolean",title:"Intl.NumberFormatOptionsUseGrouping"},WebChartDateTimeUnitFormatOptions:{type:"object",properties:{year:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},month:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},day:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},hour:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},minute:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},second:{$ref:"#/definitions/Intl.DateTimeFormatOptions"}},description:'Interface used by the axis `valueFormat` property to describe how to format specific date and time units when displayed on the axis. For instance: "year": { year: "numeric" } "month": { month: "numeric" } "day": { day: "2-digit" } "hour": { day: "numeric" } "minute": { minute: "numeric" } "second": { second: "numeric" } Reference: https://tc39.es/ecma402/#sec-datetimeformat-abstracts',title:"WebChartDateTimeUnitFormatOptions"},"Intl.DateTimeFormatOptions":{type:"object",properties:{localeMatcher:{type:"string",enum:["best fit","lookup"]},weekday:{type:"string",enum:["long","short","narrow"]},era:{type:"string",enum:["long","short","narrow"]},year:{type:"string",enum:["numeric","2-digit"]},month:{type:"string",enum:["numeric","2-digit","long","short","narrow"]},day:{type:"string",enum:["numeric","2-digit"]},hour:{type:"string",enum:["numeric","2-digit"]},minute:{type:"string",enum:["numeric","2-digit"]},second:{type:"string",enum:["numeric","2-digit"]},timeZoneName:{type:"string",enum:["short","long","shortOffset","longOffset","shortGeneric","longGeneric"]},formatMatcher:{type:"string",enum:["best fit","basic"]},hour12:{type:"boolean"},timeZone:{type:"string"}},title:"Intl.DateTimeFormatOptions"},DateTimeFormatOptions:{type:"object",properties:{type:{type:"string",const:"date",description:'Represents a unique string identifier for the NumberFormatOptions object. For NumberFormatOptions object, it is "date". It can help us to differentiate date-time axis from other types of axes viz., numeric (value) axis and category axis.'},intlOptions:{$ref:"#/definitions/Intl.DateTimeFormatOptions",description:"Represent the JS native [Intl.DateTimeFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormatt), which is based on [CLDR](http://cldr.unicode.org/translation/date-time-1/date-time-patterns) specifications."},formatPerDateTimeUnit:{$ref:"#/definitions/WebChartDateTimeUnitFormatOptions",description:"Represents how to format specific date and time units when displayed on the axis, independently from the `intlOptions`."}},required:["type","intlOptions"],description:"Defines how the DateTime axis data should be formatted.",title:"DateTimeFormatOptions"},CategoryFormatOptions:{type:"object",properties:{type:{type:"string",const:"category",description:'Represents a unique string identifier for the CategoryFormatOptions object. For CategoryFormatOptions object, it is "category". It can help us to differentiate category axis from other types of axes, viz., date-time axis and numeric (value) axis.'},characterLimit:{type:["number","null"],description:"Represents a positive integer which represents the limit on the number of characters to be displayed for all the category strings. The truncated string are appended with `...`. If property is not present or `null`, no truncation is done.",minimum:1,multipleOf:1}},required:["type"],description:"Defines how the category axis data (Categories) should be formatted.",title:"CategoryFormatOptions"},WebChartGuide:{type:"object",properties:{type:{type:"string",const:"chartGuide",description:'Represents a unique string identifier for the Guide object. For Guide class, it is "chartGuide".'},start:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"Determines the value where the guide should begin."},end:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"Determines the value where the guide should end. If it is not specified, we get a line guide, otherwise we get a fill/rectangular guide."},style:{anyOf:[{$ref:"#/definitions/ISimpleFillSymbol"},{$ref:"#/definitions/ISimpleLineSymbol"}],description:"Determines how the guide should be rendered. Line guide requires [esriSLS](https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm) format, and fill guide requires [esriSFS](https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm) format."},name:{type:"string",description:"A unique string identifier which is used to refer to a particular guide. It is displayed in the Chart Authoring UI to differentiate between different guides."},label:{$ref:"#/definitions/WebChartTextSymbol",description:"Defines a text label for the given guide. It is displayed on the chart next to the concerned guide and is styled using **esriTS** format."},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},above:{type:"boolean",description:"Determines whether the guide should be rendered on top of (overlapping) the series or under the series.",default:!1},tooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the guide's tooltip background (false) or its outline (true).",default:!1}},required:["type","start","style","name"],description:"JSON representation of the chart's guide object. Can be used to represent both line and fill guides.",title:"WebChartGuide"},ISimpleFillSymbol:{type:"object",properties:{type:{type:"string",const:"esriSFS"},style:{$ref:"#/definitions/SimpleFillSymbolStyle"},color:{$ref:"#/definitions/Color"},outline:{$ref:"#/definitions/ISimpleLineSymbol"}},required:["type"],title:"ISimpleFillSymbol"},SimpleFillSymbolStyle:{type:"string",enum:["esriSFSBackwardDiagonal","esriSFSCross","esriSFSDiagonalCross","esriSFSForwardDiagonal","esriSFSHorizontal","esriSFSNull","esriSFSSolid","esriSFSVertical"],title:"SimpleFillSymbolStyle"},WebChartAxis:{type:"object",properties:{type:{type:"string",const:"chartAxis",description:'Represents a unique string identifier for the WebChartAxis object. For ChartAxis object, it is "chartAxis".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},isLogarithmic:{type:"boolean",description:"Specifies whether the axis has a logarithmic scale or not.",default:!1},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the axis should be rendered"},valueFormat:{anyOf:[{$ref:"#/definitions/CategoryFormatOptions"},{$ref:"#/definitions/DateTimeFormatOptions"},{$ref:"#/definitions/NumberFormatOptions"}],description:"Specifies how numerical/categorical/date-time values should be formatted."},minimum:{type:["number","null"],description:"The minimum value which the axis should represent, when it is not defined or null, then the minimum value for the corresponding axis is automatically calculated."},maximum:{type:["number","null"],description:"The maximum value which the axis should represent, when it is not defined or null, then the maximum value for the corresponding axis is automatically calculated."},grid:{$ref:"#/definitions/ISimpleLineSymbol",description:"Dictates how the grid lines associated with a particular axis should be rendered."},guides:{type:"array",items:{$ref:"#/definitions/WebChartGuide"},description:"Represent an array of guides that should be rendered onto the axis."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the axis line should be rendered. If not provided a default style is applied."},labels:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the axis labels should be rendered."},scrollbar:{$ref:"#/definitions/WebChartAxisScrollBar",description:"Represents the axis scrollbar style and visibility"},displayZeroLine:{type:"boolean",description:"Represents an option to hide/un-hide the zero line on value axis",default:!1},integerOnlyValues:{type:"boolean",description:"Represents an option to show `integer-only` values for a value axis",default:!1},displayCursorTooltip:{type:"boolean",description:"Specifies whether cursor tooltip should be displayed.",default:!1},buffer:{type:"boolean",description:"Allows setting a buffer to a **value axis** to provide some space around the series.",default:!1},tickSpacing:{type:"number",description:"The desired minimum distance between two adjacent axis ticks. The actual distance may fluctuate depending on the chart's size. When not provided a default value is assigned according to the axis type and axis labels behavior.",minimum:1},dateBaseInterval:{$ref:"#/definitions/TimeIntervalInfo",description:"Specifies the base interval on a date axis. Will be ignored on the other axis types. It will be overridden by the properties from the series `binTemporalData` when provided."}},required:["type","valueFormat","labels"],description:"JSON representation of the chart's axis object",title:"WebChartAxis"},TimeIntervalInfo:{type:"object",properties:{unit:{$ref:"#/definitions/WebChartTemporalBinningUnits"},size:{type:"number"}},title:"TimeIntervalInfo"},WebChartTemporalBinningUnits:{type:"string",enum:["seconds","minutes","hours","days","weeks","months","quarters","years"],description:"The temporal binning units",title:"WebChartTemporalBinningUnits"},WebChartGaugeAxisTick:{type:"object",properties:{type:{type:"string",const:"gaugeAxisTick",description:'Represents a unique string identifier for the GaugeAxisTick object. For WebChartGaugeAxisTick object, it is "gaugeAxisTick".'},visible:{type:"boolean",description:"Determines the visibility of the axis ticks.",default:!0}},required:["type"],description:"JSON representation of the gauge axis ticks. Currently only used by WebChartGaugeAxis.",title:"WebChartGaugeAxisTick"},WebChartNeedle:{type:"object",properties:{type:{type:"string",const:"gaugeNeedle",description:'Represents a unique string identifier for the ChartNeedle object. For WebChartNeedle object, it is "gaugeNeedle".'},visible:{type:"boolean",description:"Hides or shows the needle.",default:!0},symbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the needle should be rendered"},startWidth:{type:["number","null"],description:"Represents the needle's thickness at the bottom (chart's center), in px",minimum:1,default:10},endWidth:{type:["number","null"],description:"Represents the needle's thickness at the top, in px",minimum:1,default:1},innerRadius:{type:["number","null"],description:"Represents the size of the hole in the middle of the chart. Can be visualized when guides are displayed.",minimum:0,maximum:100,default:25},displayPin:{type:"boolean",description:"Hides or shows the needle's pin (centroid circle)",default:!1}},required:["type"],description:"JSON representation of a gauge needle.",title:"WebChartNeedle"},WebChartGaugeAxis:{type:"object",properties:{type:{type:"string",const:"chartAxis",description:'Represents a unique string identifier for the WebChartAxis object. For ChartAxis object, it is "chartAxis".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},isLogarithmic:{type:"boolean",description:"Specifies whether the axis has a logarithmic scale or not.",default:!1},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the axis should be rendered"},valueFormat:{anyOf:[{$ref:"#/definitions/CategoryFormatOptions"},{$ref:"#/definitions/DateTimeFormatOptions"},{$ref:"#/definitions/NumberFormatOptions"}],description:"Specifies how numerical/categorical/date-time values should be formatted."},minimum:{type:["number","null"],description:"The minimum value which the axis should represent, when it is not defined or null, then the minimum value for the corresponding axis is automatically calculated."},maximum:{type:["number","null"],description:"The maximum value which the axis should represent, when it is not defined or null, then the maximum value for the corresponding axis is automatically calculated."},grid:{$ref:"#/definitions/ISimpleLineSymbol",description:"Dictates how the grid lines associated with a particular axis should be rendered."},guides:{type:"array",items:{$ref:"#/definitions/WebChartGuide"},description:"Represent an array of guides that should be rendered onto the axis."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the axis line should be rendered. If not provided a default style is applied."},labels:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the axis labels should be rendered."},scrollbar:{$ref:"#/definitions/WebChartAxisScrollBar",description:"Represents the axis scrollbar style and visibility"},displayZeroLine:{type:"boolean",description:"Represents an option to hide/un-hide the zero line on value axis",default:!1},integerOnlyValues:{type:"boolean",description:"Represents an option to show `integer-only` values for a value axis",default:!1},displayCursorTooltip:{type:"boolean",description:"Specifies whether cursor tooltip should be displayed.",default:!1},buffer:{type:"boolean",description:"Allows setting a buffer to a **value axis** to provide some space around the series.",default:!1},tickSpacing:{type:"number",description:"The desired minimum distance between two adjacent axis ticks. The actual distance may fluctuate depending on the chart's size. When not provided a default value is assigned according to the axis type and axis labels behavior.",minimum:1},dateBaseInterval:{$ref:"#/definitions/TimeIntervalInfo",description:"Specifies the base interval on a date axis. Will be ignored on the other axis types. It will be overridden by the properties from the series `binTemporalData` when provided."},innerLabel:{$ref:"#/definitions/WebChartText",description:"Specifies how the axis' inner label needs to be displayed"},needle:{$ref:"#/definitions/WebChartNeedle",description:"Specifies how the axis' needle needs to be displayed"},ticks:{$ref:"#/definitions/WebChartGaugeAxisTick",description:"Specifies how the axis' ticks need to be displayed"},labelsIncrement:{type:"number",description:"If a label has a value being a multiple of that property, it will be displayed. Otherwise it will be hidden.\n\nIf the property is `undefined` or 0, the chart will be displayed with 6 axis labels distributed evenly along the axis min and max.\n\nIf the property has a value that results in more than a set limit of axis labels (25 as defined in `ChartDefaults.gauge.maximumNumberOfLabelIntervals`) this property value will be ignored and the chart will be displayed with only axis min/max with 4 ticks in between.",default:"undefined"},onlyShowFirstAndLastLabels:{type:"boolean",description:"Specifies if only the first and last labels need to be displayed. If set to `true` all the other labels will be hidden. Their visibility still depends on the axis labels visibility (WebChartAxis.labels.visible).",default:!1},minimumValueConversion:{$ref:"#/definitions/ValueConversion",description:"Defines how to convert the axis minimum"},maximumValueConversion:{$ref:"#/definitions/ValueConversion",description:"Defines how to convert the axis maximum"},minimumFromField:{anyOf:[{$ref:"#/definitions/IStatisticDefinition"},{type:"string"}],description:"If used with a gauge by feature:\n- `minimumFromField` is expected to be a field name. The value from that field for the given feature is mapped to the axis minimum value If used with a statistic gauge:\n- If `minimumFromField` is set to a field name (string), the minimum from that field is mapped to the axis minimum value\n- If it is set to an `IStatisticDefinition` the statistic (min, max, avg...) from the given field is mapped to the axis minimum value When `minimumFromField` is not provided or when it leads to an invalid value, the `minimum` value from the axis config, if provided, or the default value of 0, in that order, will be used."},maximumFromField:{anyOf:[{$ref:"#/definitions/IStatisticDefinition"},{type:"string"}],description:"If used with a gauge by feature:\n- `maximumFromField` is expected to be a field name. The value from that field for the given feature is mapped to the axis maximum value If used with a statistic gauge:\n- If `maximumFromField` is set to a field name (string), the maximum from that field is mapped to the axis maximum value\n- If it is set to an `IStatisticDefinition` the statistic (min, max, avg...) from the given field is mapped to the axis maximum value When `maximumFromField` is not provided or when it leads to an invalid value, the `maximum` value from the axis config, if provided, or the default value of 0, in that order, will be used."}},required:["labels","type","valueFormat"],description:"JSON representation of the gauge chart's axis object. Inherits from the WebChartAxis properties.",title:"WebChartGaugeAxis"},IStatisticDefinition:{type:"object",properties:{statisticType:{type:"string",enum:["avg","centroid-aggregate","convex-hull-aggregate","count","envelope-aggregate","max","min","percentile-continuous","percentile-discrete","stddev","sum","var"],description:"Statistical operation to perform (count, sum, min, max, avg, stddev, var, percentile_cont, percentile_disc, EnvelopeAggregate, CentroidAggregate, ConvexHullAggregate)."},statisticParameters:{type:"object",properties:{value:{type:"number"},orderBy:{type:"string",enum:["asc","desc"]}},required:["value"],description:"Parameters to be used along with statisticType. Currently, only applicable for percentile-continuous (continuous percentile) and percentile-discrete (discrete percentile)."},onStatisticField:{type:"string",description:"Field on which to perform the statistical operation."},outStatisticFieldName:{type:"string",description:"Field name for the returned statistic field. If outStatisticFieldName is empty or missing, the server will assign one. A valid field name can only contain alphanumeric characters and an underscore. If the outStatisticFieldName is a reserved keyword of the underlying DBMS, the operation can fail. Try specifying an alternative outStatisticFieldName."}},required:["statisticType","onStatisticField"],title:"IStatisticDefinition"},WebChartRadarChartAxis:{type:"object",properties:{type:{type:"string",const:"chartAxis",description:'Represents a unique string identifier for the WebChartAxis object. For ChartAxis object, it is "chartAxis".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},isLogarithmic:{type:"boolean",description:"Specifies whether the axis has a logarithmic scale or not.",default:!1},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the axis should be rendered"},valueFormat:{anyOf:[{$ref:"#/definitions/CategoryFormatOptions"},{$ref:"#/definitions/DateTimeFormatOptions"},{$ref:"#/definitions/NumberFormatOptions"}],description:"Specifies how numerical/categorical/date-time values should be formatted."},minimum:{type:["number","null"],description:"The minimum value which the axis should represent, when it is not defined or null, then the minimum value for the corresponding axis is automatically calculated."},maximum:{type:["number","null"],description:"The maximum value which the axis should represent, when it is not defined or null, then the maximum value for the corresponding axis is automatically calculated."},grid:{$ref:"#/definitions/ISimpleLineSymbol",description:"Dictates how the grid lines associated with a particular axis should be rendered."},guides:{type:"array",items:{$ref:"#/definitions/WebChartGuide"},description:"Represent an array of guides that should be rendered onto the axis."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the axis line should be rendered. If not provided a default style is applied."},labels:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the axis labels should be rendered."},scrollbar:{$ref:"#/definitions/WebChartAxisScrollBar",description:"Represents the axis scrollbar style and visibility"},displayZeroLine:{type:"boolean",description:"Represents an option to hide/un-hide the zero line on value axis",default:!1},integerOnlyValues:{type:"boolean",description:"Represents an option to show `integer-only` values for a value axis",default:!1},displayCursorTooltip:{type:"boolean",description:"Specifies whether cursor tooltip should be displayed.",default:!1},buffer:{type:"boolean",description:"Allows setting a buffer to a **value axis** to provide some space around the series.",default:!1},tickSpacing:{type:"number",description:"The desired minimum distance between two adjacent axis ticks. The actual distance may fluctuate depending on the chart's size. When not provided a default value is assigned according to the axis type and axis labels behavior.",minimum:1},dateBaseInterval:{$ref:"#/definitions/TimeIntervalInfo",description:"Specifies the base interval on a date axis. Will be ignored on the other axis types. It will be overridden by the properties from the series `binTemporalData` when provided."},labelsOrientation:{$ref:"#/definitions/WebChartRadarChartAxisLabelsOrientation",description:"Defines the labels orientation",default:"WebChartRadarChartAxisLabelsOrientation.Circular"}},required:["labels","type","valueFormat"],description:"JSON representation of the radar chart's axis object.",title:"WebChartRadarChartAxis"},WebChartRadarChartAxisLabelsOrientation:{type:"string",enum:["radial","circular","horizontal"],description:"Labels orientation for radar chart axes.",title:"WebChartRadarChartAxisLabelsOrientation"},WebChartQuery:{type:"object",properties:{outFields:{type:"array",items:{type:"string"},description:"Attribute fields to include in the FeatureSet. Will have an effect on chart with no aggregation."},where:{type:"string",description:"Acts as a filter on the base data for attribute-based filtering, expect for bar/line charts for which is is used to handle the split-by field values."},groupByFieldsForStatistics:{type:"array",items:{type:"string"},description:"An array of fields which determine how the base data is grouped. Only one **groupBy** Field is supported, but ArcGIS JSAPI [supports multiple groupBy fields](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#groupByFieldsForStatistics). While splitting by multiple group-by fields is possible, it is not being done because of the number of series it will give rise to (equal to the length of the Cartesian product set) possibly making the visualization hard to interpret.",maxItems:1},outStatistics:{type:"array",items:{$ref:"#/definitions/IStatisticDefinition"},description:"Represents an array of statistics definitions which dictate how a particular field should be aggregated. Refer to [JSAPI Statistics Definition class](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-StatisticDefinition.html) for more info."},orderByFields:{type:"array",items:{type:"string"},description:"Represents the sorting order of the output result. More info present in [JSAPI docs](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#orderByFields). The format of any entry in this array is `field_name sorting_order`. When `sorting_order` is not defined, it is assumed to be ascending."},gdbVersion:{type:"string",description:"Specifies the geodatabase version to display for feature service queries."},geometry:{anyOf:[{$ref:"#/definitions/IEnvelope"},{$ref:"#/definitions/IExtent"},{$ref:"#/definitions/IPoint"},{$ref:"#/definitions/IPolygon"},{$ref:"#/definitions/IPolygonWithCurves"},{$ref:"#/definitions/IPolyline"}],description:"The geometry to apply to the spatial filter. A buffer can be applied to it by setting the properties `distance` and `units`."},spatialRelationship:{description:"For spatial filters, this parameter defines the spatial relationship to filter features in the layer view against the filter geometry."},distance:{type:"number",description:"Specifies a search distance for the `geometry`. To be associated with the `units` property. For compatible layers only."},units:{$ref:"#/definitions/RESTUnits",description:"The unit for calculating the buffer distance when `distance` and `geometry` are provided. If not specified, the unit is derived from the geometry spatial reference."},timeExtent:{type:"array",items:{type:"number"},minItems:2,maxItems:2,description:"A time extent ([timestamp, timestamp]) for a temporal query against time-aware layers."},start:{type:"number",description:"The zero-based index indicating where to begin retrieving features."},num:{type:"number",description:"The number of features to retrieve."},returnDistinctValues:{type:"boolean",description:"If true then the query returns distinct values based on the field(s) specified in outFields. Available for count-based aggregations only.",default:!1},fetchNullValues:{type:"boolean",description:"Indicates whether to fetch null values for them to be counted or displayed as categories on the chart.",default:!1},objectIds:{type:"array",items:{type:"number"},description:"An array of objectIds of the features to be filtered."}},description:"Chart query object inspired by [JSAPI Query](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html) class.",title:"WebChartQuery"},IEnvelope:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},xmin:{type:"number"},xmax:{type:"number"},ymin:{type:"number"},ymax:{type:"number"},zmin:{type:"number"},zmax:{type:"number"},mmin:{type:"number"},mmax:{type:"number"}},required:["xmin","xmax","ymin","ymax"],description:"An envelope is a rectangle defined by a range of values for each coordinate and attribute.",title:"IEnvelope"},IGeometry:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"}},description:'a building block for discrete geometries\n\n`IGeometry` can also be imported from the following packages:\n\n```js import { IGeometry } from "@esri/arcgis-rest-feature-layer"; ```',title:"IGeometry"},ISpatialReference:{type:"object",properties:{wkid:{type:["number","null"]},latestWkid:{type:"number"},vcsWkid:{type:"number"},latestVcsWkid:{type:"number"},wkt:{type:["string","null"]},latestWkt:{type:"string"}},description:'Spatial reference systems define mathematical transformations and coordinate systems for displaying spatial information in 2D and 3D.\n\n`ISpatialReference` can also be imported from the following packages:\n\n```js import { ISpatialReference } from "@esri/arcgis-rest-geocoding"; import { ISpatialReference } from "@esri/arcgis-rest-routing"; import { ISpatialReference } from "@esri/arcgis-rest-service-admin"; import { ISpatialReference } from "@esri/arcgis-rest-feature-layer"; ```',title:"ISpatialReference"},IExtent:{type:"object",properties:{xmin:{type:"number"},ymin:{type:"number"},zmin:{type:"number"},xmax:{type:"number"},ymax:{type:"number"},zmax:{type:"number"},spatialReference:{$ref:"#/definitions/ISpatialReference"}},required:["xmin","ymin","xmax","ymax"],description:'Extents are used to define rectangles and bounding boxes.\n\n`IExtent` can also be imported from the following packages:\n\n```js import { IExtent } from "@esri/arcgis-rest-geocoding"; import { IExtent } from "@esri/arcgis-rest-service-admin"; import { IExtent } from "@esri/arcgis-rest-feature-layer"; ```',title:"IExtent"},IPoint:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},x:{type:"number"},y:{type:"number"},z:{type:"number"}},required:["x","y"],description:'A simple point geometry, with spatial reference defined.\n\n`IPoint` can also be imported from the following packages:\n\n```js import { IPoint } from "@esri/arcgis-rest-routing"; import { IPoint } from "@esri/arcgis-rest-geocoding"; ```',title:"IPoint"},IHasZM:{type:"object",properties:{hasZ:{type:"boolean"},hasM:{type:"boolean"}},description:'`IHasZM` can also be imported from the following packages:\n\n```js import { IHasZM } from "@esri/arcgis-rest-feature-layer"; ```',title:"IHasZM"},IPolygon:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},rings:{type:"array",items:{type:"array",items:{$ref:"#/definitions/Position"}}}},required:["rings"],title:"IPolygon"},Position:{anyOf:[{$ref:"#/definitions/Position2D"},{type:"array",items:{type:"number"},minItems:4,maxItems:4},{type:"array",items:{type:"number"},minItems:3,maxItems:3}],title:"Position"},Position2D:{type:"array",items:{type:"number"},minItems:2,maxItems:2,title:"Position2D"},IPolygonWithCurves:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},curveRings:{type:"array",items:{type:"array",items:{anyOf:[{$ref:"#/definitions/JsonCurve"},{$ref:"#/definitions/Position"}]}}}},required:["curveRings"],title:"IPolygonWithCurves"},JsonCurve:{anyOf:[{$ref:"#/definitions/IArc"},{$ref:"#/definitions/IBezierCurve"},{$ref:"#/definitions/ICircularArc"},{$ref:"#/definitions/IOldCircularArc"}],title:"JsonCurve"},IArc:{type:"object",properties:{a:{type:"array",minItems:7,items:[{$ref:"#/definitions/Position"},{$ref:"#/definitions/Position2D"},{type:"number"},{type:"number"},{type:"number"},{type:"number"},{type:"number"}],maxItems:7}},required:["a"],description:"an arc can be represented as a JSON curve object",title:"IArc"},IBezierCurve:{type:"object",properties:{b:{type:"array",minItems:3,items:[{$ref:"#/definitions/Position"},{$ref:"#/definitions/Position2D"},{$ref:"#/definitions/Position2D"}],maxItems:3}},required:["b"],description:"a bezier curve can be represented as a JSON curve object",title:"IBezierCurve"},ICircularArc:{type:"object",properties:{c:{type:"array",minItems:2,items:[{$ref:"#/definitions/Position"},{$ref:"#/definitions/Position2D"}],maxItems:2}},required:["c"],description:"a circular arc can be represented as a JSON curve object",title:"ICircularArc"},IOldCircularArc:{type:"object",properties:{a:{type:"array",minItems:4,items:[{$ref:"#/definitions/Position"},{$ref:"#/definitions/Position2D"},{type:"number"},{type:"number"}],maxItems:4}},required:["a"],title:"IOldCircularArc"},IPolyline:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},paths:{type:"array",items:{type:"array",items:{$ref:"#/definitions/Position"}}}},required:["paths"],title:"IPolyline"},RESTUnits:{type:"string",enum:["feet","miles","nautical-miles","us-nautical-miles","meters","kilometers"],title:"RESTUnits"},WebChartSeriesQuery:{$ref:"#/definitions/Omit%3CWebChartQuery%2C(%22distance%22%7C%22gdbVersion%22%7C%22geometry%22%7C%22num%22%7C%22objectIds%22%7C%22orderByFields%22%7C%22spatialRelationship%22%7C%22start%22%7C%22timeExtent%22%7C%22units%22)%3E",description:"Subset of the WebChartQuery, used at the series level",title:"WebChartSeriesQuery"},'Omit<WebChartQuery,("distance"|"gdbVersion"|"geometry"|"num"|"objectIds"|"orderByFields"|"spatialRelationship"|"start"|"timeExtent"|"units")>':{$ref:"#/definitions/Pick%3CWebChartQuery%2CExclude%3C(%22outFields%22%7C%22where%22%7C%22groupByFieldsForStatistics%22%7C%22outStatistics%22%7C%22orderByFields%22%7C%22gdbVersion%22%7C%22geometry%22%7C%22spatialRelationship%22%7C%22distance%22%7C%22units%22%7C%22timeExtent%22%7C%22start%22%7C%22num%22%7C%22returnDistinctValues%22%7C%22fetchNullValues%22%7C%22objectIds%22%7Cstring)%2C(%22distance%22%7C%22gdbVersion%22%7C%22geometry%22%7C%22num%22%7C%22objectIds%22%7C%22orderByFields%22%7C%22spatialRelationship%22%7C%22start%22%7C%22timeExtent%22%7C%22units%22)%3E%3E",title:'Omit<WebChartQuery,("distance"|"gdbVersion"|"geometry"|"num"|"objectIds"|"orderByFields"|"spatialRelationship"|"start"|"timeExtent"|"units")>'},'Pick<WebChartQuery,Exclude<("outFields"|"where"|"groupByFieldsForStatistics"|"outStatistics"|"orderByFields"|"gdbVersion"|"geometry"|"spatialRelationship"|"distance"|"units"|"timeExtent"|"start"|"num"|"returnDistinctValues"|"fetchNullValues"|"objectIds"|string),("distance"|"gdbVersion"|"geometry"|"num"|"objectIds"|"orderByFields"|"spatialRelationship"|"start"|"timeExtent"|"units")>>':{type:"object",properties:{outFields:{type:"array",items:{type:"string"},description:"Attribute fields to include in the FeatureSet. Will have an effect on chart with no aggregation."},where:{type:"string",description:"Acts as a filter on the base data for attribute-based filtering, expect for bar/line charts for which is is used to handle the split-by field values."},groupByFieldsForStatistics:{type:"array",items:{type:"string"},description:"An array of fields which determine how the base data is grouped. Only one **groupBy** Field is supported, but ArcGIS JSAPI [supports multiple groupBy fields](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#groupByFieldsForStatistics). While splitting by multiple group-by fields is possible, it is not being done because of the number of series it will give rise to (equal to the length of the Cartesian product set) possibly making the visualization hard to interpret.",maxItems:1},outStatistics:{type:"array",items:{$ref:"#/definitions/IStatisticDefinition"},description:"Represents an array of statistics definitions which dictate how a particular field should be aggregated. Refer to [JSAPI Statistics Definition class](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-StatisticDefinition.html) for more info."},returnDistinctValues:{type:"boolean",description:"If true then the query returns distinct values based on the field(s) specified in outFields. Available for count-based aggregations only.",default:!1},fetchNullValues:{type:"boolean",description:"Indicates whether to fetch null values for them to be counted or displayed as categories on the chart.",default:!1}},title:'Pick<WebChartQuery,Exclude<("outFields"|"where"|"groupByFieldsForStatistics"|"outStatistics"|"orderByFields"|"gdbVersion"|"geometry"|"spatialRelationship"|"distance"|"units"|"timeExtent"|"start"|"num"|"returnDistinctValues"|"fetchNullValues"|"objectIds"|string),("distance"|"gdbVersion"|"geometry"|"num"|"objectIds"|"orderByFields"|"spatialRelationship"|"start"|"timeExtent"|"units")>>'},WebChartDataFilters:{$ref:"#/definitions/Pick%3CWebChartQuery%2C(%22distance%22%7C%22gdbVersion%22%7C%22geometry%22%7C%22objectIds%22%7C%22spatialRelationship%22%7C%22timeExtent%22%7C%22units%22%7C%22where%22)%3E",description:"JSON representation of filters applied to the data",title:"WebChartDataFilters"},'Pick<WebChartQuery,("distance"|"gdbVersion"|"geometry"|"objectIds"|"spatialRelationship"|"timeExtent"|"units"|"where")>':{type:"object",properties:{distance:{type:"number",description:"Specifies a search distance for the `geometry`. To be associated with the `units` property. For compatible layers only."},gdbVersion:{type:"string",description:"Specifies the geodatabase version to display for feature service queries."},geometry:{anyOf:[{$ref:"#/definitions/IEnvelope"},{$ref:"#/definitions/IExtent"},{$ref:"#/definitions/IPoint"},{$ref:"#/definitions/IPolygon"},{$ref:"#/definitions/IPolygonWithCurves"},{$ref:"#/definitions/IPolyline"}],description:"The geometry to apply to the spatial filter. A buffer can be applied to it by setting the properties `distance` and `units`."},objectIds:{type:"array",items:{type:"number"},description:"An array of objectIds of the features to be filtered."},spatialRelationship:{description:"For spatial filters, this parameter defines the spatial relationship to filter features in the layer view against the filter geometry."},timeExtent:{type:"array",items:{type:"number"},minItems:2,maxItems:2,description:"A time extent ([timestamp, timestamp]) for a temporal query against time-aware layers."},units:{$ref:"#/definitions/RESTUnits",description:"The unit for calculating the buffer distance when `distance` and `geometry` are provided. If not specified, the unit is derived from the geometry spatial reference."},where:{type:"string",description:"Acts as a filter on the base data for attribute-based filtering, expect for bar/line charts for which is is used to handle the split-by field values."}},title:'Pick<WebChartQuery,("distance"|"gdbVersion"|"geometry"|"objectIds"|"spatialRelationship"|"timeExtent"|"units"|"where")>'},WebChartSeries:{type:"object",properties:{type:{type:"string"},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1}},required:["type","id","name","x"],description:"JSON representation of the chart's series object. All other series extends this interface.",title:"WebChartSeries"},WebChartFixedDateBinning:{type:"object",properties:{size:{type:"number",description:"The span of time that will be binned or aggregated together. Works in coordination with `unit`."},trimIncompleteTimeInterval:{type:"boolean",description:"Determines whether incomplete time intervals at the start or end of the data span (depending on the `timeAggregationType`) will be removed from the chart. Incomplete intervals on a chart can cause misleading results in which the period in question is under- or over reported due to a different amount of time in the interval. Setting `true` indicates to trim these incomplete intervals. Setting `false` does not trim incomplete intervals.",default:!0},timeAggregationType:{$ref:"#/definitions/WebChartTimeAggregationTypes",description:"The time interval alignment type. Valid options include `equalIntervalsFromStartTime` and `equalIntervalsFromEndTime`.",default:"equalIntervalsFromStartTime"},nullPolicy:{$ref:"#/definitions/WebChartNullPolicyTypes",description:"How summarized bins returning a null value are displayed. Supported options are:\n- `null`, `zero`, and `interpolate` for line series\n- `null` and `zero` for bar series",default:"null"},type:{type:"string",const:"fixedDateBased"},unit:{$ref:"#/definitions/WebChartFixedDateBinningUnits",description:"The unit of time to use to bin the temporal data."}},required:["type"],description:"Represents the properties related to the the fixed-date temporal binning. It currently covers the same scope as `WebChartDateBinning`.",title:"WebChartFixedDateBinning"},WebChartDateBinning:{type:"object",properties:{size:{type:"number",description:"The span of time that will be binned or aggregated together. Works in coordination with `unit`."},trimIncompleteTimeInterval:{type:"boolean",description:"Determines whether incomplete time intervals at the start or end of the data span (depending on the `timeAggregationType`) will be removed from the chart. Incomplete intervals on a chart can cause misleading results in which the period in question is under- or over reported due to a different amount of time in the interval. Setting `true` indicates to trim these incomplete intervals. Setting `false` does not trim incomplete intervals.",default:!0},timeAggregationType:{$ref:"#/definitions/WebChartTimeAggregationTypes",description:"The time interval alignment type. Valid options include `equalIntervalsFromStartTime` and `equalIntervalsFromEndTime`.",default:"equalIntervalsFromStartTime"},nullPolicy:{$ref:"#/definitions/WebChartNullPolicyTypes",description:"How summarized bins returning a null value are displayed. Supported options are:\n- `null`, `zero`, and `interpolate` for line series\n- `null` and `zero` for bar series",default:"null"}},title:"WebChartDateBinning"},WebChartTimeAggregationTypes:{type:"string",enum:["equalIntervalsFromStartTime","equalIntervalsFromEndTime"],description:"Represents the different types of time aggregation that can be applied to a chart using the time binning feature.",title:"WebChartTimeAggregationTypes"},WebChartNullPolicyTypes:{type:"string",enum:["null","zero","interpolate"],description:"Represents the different types of null policy that can be applied to a chart using the time binning feature.",title:"WebChartNullPolicyTypes"},WebChartFixedDateBinningUnits:{type:"string",enum:["seconds","minutes","hours","days","weeks","months","years"],description:"The temporal binning units for fixed-date based binning",title:"WebChartFixedDateBinningUnits"},WebChartCalendarBasedBinning:{type:"object",properties:{size:{type:"number",description:"The span of time that will be binned or aggregated together. Works in coordination with `unit`."},trimIncompleteTimeInterval:{type:"boolean",description:"Determines whether incomplete time intervals at the start or end of the data span (depending on the `timeAggregationType`) will be removed from the chart. Incomplete intervals on a chart can cause misleading results in which the period in question is under- or over reported due to a different amount of time in the interval. Setting `true` indicates to trim these incomplete intervals. Setting `false` does not trim incomplete intervals.",default:!0},timeAggregationType:{$ref:"#/definitions/WebChartTimeAggregationTypes",description:"The time interval alignment type. Valid options include `equalIntervalsFromStartTime` and `equalIntervalsFromEndTime`.",default:"equalIntervalsFromStartTime"},nullPolicy:{$ref:"#/definitions/WebChartNullPolicyTypes",description:"How summarized bins returning a null value are displayed. Supported options are:\n- `null`, `zero`, and `interpolate` for line series\n- `null` and `zero` for bar series",default:"null"},type:{type:"string",const:"calendarBased"},unit:{$ref:"#/definitions/WebChartCalendarBinningUnits",description:"The unit of time to use to bin the temporal data."},start:{type:"number",description:"The binning start date"},end:{type:"number",description:"The binning end date"},offset:{type:"object",properties:{unit:{$ref:"#/definitions/WebChartCalendarBinningOffsetUnits"},size:{type:"number"}},required:["unit","size"],description:"Offset to apply to the results"},outTimeZone:{type:"string",description:"Defines the [IANA time zone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) used for temporal bin calculations"}},required:["type"],description:"Represents the properties related to the calendar-based temporal binning. It supports the same properties as `WebChartDateBinning` and adds some.",title:"WebChartCalendarBasedBinning"},WebChartCalendarBinningUnits:{type:"string",enum:["seconds","minutes","hours","days","weeks","months","quarters","years"],description:"The temporal binning units for calendar based binning",title:"WebChartCalendarBinningUnits"},WebChartCalendarBinningOffsetUnits:{type:"string",enum:["seconds","minutes","hours","days"],description:"The temporal binning units for the calendar based binning offset",title:"WebChartCalendarBinningOffsetUnits"},WebChartCalendarDatePartsBinning:{type:"object",properties:{type:{type:"string",const:"calendarDateParts"},unit:{$ref:"#/definitions/WebChartCalendarDatePartsUnits",description:"The unit to use to bin the data."},outTimeZone:{type:"string",description:"Defines the [IANA time zone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) used for temporal bin calculations"}},required:["type","unit"],description:"Represents the properties related to the calendar-based date parts binning.",title:"WebChartCalendarDatePartsBinning"},WebChartCalendarDatePartsUnits:{type:"string",enum:["dayOfMonth","dayOfWeek","dayOfYear","hourOfDay","monthOfYear"],description:"Represents the units that can be used for calendar-based date parts binning.",title:"WebChartCalendarDatePartsUnits"},WebChartTemporalSeries:{type:"object",properties:{binTemporalData:{type:"boolean",description:"Whether to use the time properties to bin the temporal data. If set to `false` the `binCount` and `unit` properties can be used to set the date axis base interval.",default:!0},temporalBinning:{anyOf:[{$ref:"#/definitions/WebChartCalendarBasedBinning"},{$ref:"#/definitions/WebChartFixedDateBinning"}],description:'Defines the pattern to apply to bin the data. The "calendarBased" type will make the bins start at the beginning of the given period (1st of the week, 1st of the month, 1st or the day, etc.) The "fixedDateBased" type will make the bins start at the dataset first entry (e.g. if the first date is 1/18/20 and the binning is done by month, the bins will go from the 18th of a month to the 17th of the next month).'}},description:"Describes the properties related to a temporal series",title:"WebChartTemporalSeries"},WebChartBarChartSeries:{type:"object",properties:{binTemporalData:{type:"boolean",description:"Whether to use the time properties to bin the temporal data. If set to `false` the `binCount` and `unit` properties can be used to set the date axis base interval.",default:!0},temporalBinning:{anyOf:[{$ref:"#/definitions/WebChartCalendarBasedBinning"},{$ref:"#/definitions/WebChartFixedDateBinning"}],description:'Defines the pattern to apply to bin the data. The "calendarBased" type will make the bins start at the beginning of the given period (1st of the week, 1st of the month, 1st or the day, etc.) The "fixedDateBased" type will make the bins start at the dataset first entry (e.g. if the first date is 1/18/20 and the binning is done by month, the bins will go from the 18th of a month to the 17th of the next month).'},type:{type:"string",const:"barSeries",description:'Represents a unique string identifier for the BarChartSeries object. For BarSeries object, it is "barSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},y:{type:"string",description:"Specifies which field represents the y-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the columns/bars should be rendered"},hideOversizedStackedLabels:{type:"boolean",description:"When true or undefined (default), the labels displayed within a small stacked column are hidden to avoid cluttering. When false, all the data labels are displayed.",default:!0},hideOversizedSideBySideLabels:{type:"boolean",description:"When true, the labels displayed within a small column for sideBySide bar series are hidden to avoid cluttering. When false or undefined (default), all the data labels are displayed.",default:!1}},required:["id","name","type","x","y"],description:"[Bar chart](https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/charts/bar-chart.htm) shows the categorical distribution of String/DateTime data.",title:"WebChartBarChartSeries"},HistogramOverlays:{type:"object",properties:{type:{type:"string",const:"chartOverlays",description:'Represents a unique string identifier for the HistogramOverlays object. For HistogramOverlays object, it is "chartOverlays".'},mean:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the mean overlay for histogram. If not provided, the mean overlay is not displayed."},median:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the median overlay for histogram. If not provided, the median overlay is not displayed."},standardDeviation:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the standard deviation overlay for histogram. If not provided, the standard deviation overlay is not displayed."},comparisonDistribution:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the comparison distribution overlay for histogram. If not provided, the comparison distribution overlay is not displayed."}},required:["type"],description:"Object containing Histogram overlays",title:"HistogramOverlays"},WebChartHistogramSeries:{type:"object",properties:{type:{type:"string",const:"histogramSeries",description:'Represents a unique string identifier for the HistogramSeries object. For BarSeries object, it is "histogramSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},binCount:{type:["number","null"],description:"Bin count must be a positive integer.",minimum:1,multipleOf:1,default:32},overlays:{$ref:"#/definitions/HistogramOverlays",description:"Specifies the chart overlays. Histogram supports 4 overlays: **mean**, **median**, **standardDeviation** and **comparisonDistribution**. The overlays won't show if the property is not defined."},dataTransformationType:{$ref:"#/definitions/WebChartDataTransformations",description:"Specifies how the data should be transformed (e.g. square root, log, etc.) before binning."},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the columns/bars should be rendered"}},required:["id","name","type","x"],description:"[Histogram](https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/charts/histogram.htm) shows the numerical(frequency) distribution of a numerical field.",title:"WebChartHistogramSeries"},WebChartDataTransformations:{type:"string",enum:["none","logarithmic","squareRoot"],title:"WebChartDataTransformations"},ScatterplotOverlays:{type:"object",properties:{type:{type:"string",const:"chartOverlays",description:'Represents a unique string identifier for the ScatterplotOverlays object. For ScatterplotOverlays object, it is "chartOverlays".'},trendLine:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the trendline overlay for scatter plot. The trendline won't show if the property is not defined."}},required:["type"],description:"Object containing Scatter Plot overlays",title:"ScatterplotOverlays"},SizePolicy:{type:"object",properties:{type:{type:"string",const:"sizeScale",description:'Represents a unique string identifier for the sizePolicy object. For sizePolicy object, it is "sizeScale".'},scaleType:{$ref:"#/definitions/SizePolicyScaleTypes",description:"The type of scale to apply to the markers (linear or logarithmic)",default:"SizePolicyScaleTypes.Linear"},field:{type:"string",description:"The field which determines the markers size"},minSize:{type:"number",description:"The minimum marker size",default:5,multipleOf:1},maxSize:{type:"number",description:"The maximum marker size",default:30,multipleOf:1}},required:["type","field"],title:"SizePolicy"},SizePolicyScaleTypes:{type:"string",enum:["linear","logarithmic"],description:"Represents the types of scales that can be applied to the size policy. Use by bubble charts (scatterplot).",title:"SizePolicyScaleTypes"},WebChartScatterplotSeries:{type:"object",properties:{type:{type:"string",const:"scatterSeries",description:'Represents a unique string identifier for the ScatterSeries object. For ScatterSeries object, it is "scatterSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},y:{type:"string",description:"Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},markerSymbol:{$ref:"#/definitions/ISimpleMarkerSymbol",description:'Specifies how each data point in the scatter plot should be rendered. The type is `"esriSMS"` and it is adopted from the [REST API Types](https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm#GUID-C8D40B32-5F4B-45EB-8048-6D5A8763E13B).'},overlays:{$ref:"#/definitions/ScatterplotOverlays",description:"Specifies all the chart overlays. The scatter plot implements only 1 overlay, **trendLine**. The overlays won't show if the property is not defined."},sizePolicy:{$ref:"#/definitions/SizePolicy",description:"Specifies rules to use the scatter plot as bubble plot, by changing dynamically the markers size according to a specific field value"}},required:["id","name","type","x","y"],description:"[Scatter plot](https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/charts/scatter-plot.htm) shows the relationship between two numerical fields.",title:"WebChartScatterplotSeries"},ISimpleMarkerSymbol:{type:"object",properties:{type:{type:"string",const:"esriSMS"},style:{$ref:"#/definitions/SimpleMarkerSymbolStyle"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"},color:{$ref:"#/definitions/Color"},size:{type:"number"},outline:{$ref:"#/definitions/ISimpleLineSymbol"}},required:["type"],title:"ISimpleMarkerSymbol"},IMarkerSymbol:{type:"object",properties:{type:{$ref:"#/definitions/SymbolType"},style:{type:"string"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"}},required:["type"],title:"IMarkerSymbol"},SimpleMarkerSymbolStyle:{type:"string",enum:["esriSMSCircle","esriSMSCross","esriSMSDiamond","esriSMSSquare","esriSMSTriangle","esriSMSX"],title:"SimpleMarkerSymbolStyle"},WebChartPieChartTick:{type:"object",properties:{type:{type:"string",const:"pieTick",description:'Represents a unique string identifier for the WebChartPieChartTick object. For PieTick object, it is "pieTick".'},visible:{type:"boolean",description:"Determines the visibility of the tick. Assigning the `true` value will only be considered when the data labels are visible (`series.dataLabels.visible`) and when the data label associated to the tick is outside of the chart (`series.dataLabelsOffset` > 0)."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the pie chart ticks should be rendered"}},required:["type"],description:"JSON representation of the pie ticks.",title:"WebChartPieChartTick"},WebChartPieChartSlice:{type:"object",properties:{sliceId:{type:"string",description:"A unique string used identify the slice of a pie chart."},originalLabel:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"The slice's original label."},label:{type:"string",description:"Custom label for the slice. For grouped slice, the default value is `Other`. For regular slice, it will be either the category or field name."},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the slice should be rendered. If not provided, the slice will be styled with default values."}},required:["sliceId"],description:"JSON representation of the pie slices",title:"WebChartPieChartSlice"},WebChartPieChartGroupSlice:{type:"object",properties:{sliceId:{type:"string",description:"A unique string used identify the slice of a pie chart."},originalLabel:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"The slice's original label."},label:{type:"string",description:"Custom label for the slice. For grouped slice, the default value is `Other`. For regular slice, it will be either the category or field name."},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the slice should be rendered. If not provided, the slice will be styled with default values."},percentageThreshold:{type:"number",description:"Slices that have a percent value equal or lesser to this threshold are grouped into a unique slice"},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the grouped slice data labels should be rendered. If the property is not set the `series.dataLabels` will be used instead."}},required:["percentageThreshold","sliceId"],description:"JSON representation of the pie grouped slice",title:"WebChartPieChartGroupSlice"},WebChartPieChartSeries:{type:"object",properties:{type:{type:"string",const:"pieSeries",description:'Represents a unique string identifier for the PieSeries object. For PieSeries object, it is "pieSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},y:{type:"string",description:"Specifies which field represents the y-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},innerRadius:{type:["number","null"],description:"Represents the size of the hole in middle of the chart. The number is used as a percentage rather than a fixed value.",minimum:0,maximum:100,default:50},startAngle:{type:["number","null"],default:-90},endAngle:{type:["number","null"],default:270},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the slices should be rendered"},displayCategoryOnDataLabel:{type:"boolean",description:"Indicates whether the category associated to a slice is to be displayed on its data label. This property will be ignored if the chart options `dataLabelFormatter` is provided.",default:!0},displayNumericValueOnDataLabel:{type:"boolean",description:"Indicates whether the numeric value associated to a slice is to be displayed on its data label. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)`. This property will be ignored if the chart options `dataLabelFormatter` is provided.",default:!0},displayPercentageOnDataLabel:{type:"boolean",description:"Indicates whether the percentage associated to a slice is to be displayed on its data label. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)` This property will be ignored if the chart options `dataLabelFormatter` is provided.",default:!1},displayCategoryOnTooltip:{type:"boolean",description:"Indicates whether the category associated to a slice is to be displayed on its tooltip. This property will be ignored if the chart options `tooltipFormatter` is provided.",default:!0},displayNumericValueOnTooltip:{type:"boolean",description:"Indicates whether the numeric value associated to a slice is to be displayed on its tooltip. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)` This property will be ignored if the chart options `tooltipFormatter` is provided.",default:!0},displayPercentageOnTooltip:{type:"boolean",description:"Indicates whether the percentage associated to a slice is to be displayed on its tooltip. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)` This property will be ignored if the chart options `tooltipFormatter` is provided.",default:!0},numericValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Specifies how the numerical values should be formatted (applied to label, tooltip and legend). Can be overridden for the tooltips by series.dataTooltipValueFormat."},percentValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Specifies how the percent values should be formatted (applied to label, tooltip and legend) Can be overridden for the tooltips by series.dataTooltipPercentFormat."},valuePrefix:{type:"string",description:"Adds a prefix to all the values displayed on the pie chart: data labels, tooltips and legend"},valueSuffix:{type:"string",description:"Adds a suffix to all the values displayed on the pie chart: data labels, tooltips and legend"},percentagePrefix:{type:"string",description:"Adds a prefix to all the percentages displayed on the pie chart: data labels, tooltips and legend"},percentageSuffix:{type:"string",description:"Adds a suffix to all the percentages displayed on the pie chart: data labels, tooltips and legend"},dataLabelsCharacterLimit:{type:["number","null"],description:'If set, the category on the data label is truncated to display only `characterLimit` characters, and an ellipsis ("...") is added to the end of the label. This does not affect the value and percentage part of the labels. Does not apply to tooltips and legend labels.',default:"undefined",minimum:1,multipleOf:1},ticks:{$ref:"#/definitions/WebChartPieChartTick",description:"Specifies how to render the ticks shown on each slide. Ticks will be displayed with default values if not provided."},dataLabelsInside:{type:"boolean",description:`Whether to place the data labels inside the pie slices. When set to \`true\` the following properties will be ignored:
3
+ v4.34.0-next.108 */
4
+ import{l as ha}from"./Y77QVPB7.js";import{b as ya,c as he,d as ye}from"./ONOA22SX.js";import{F as fe}from"./2LOQH4HR.js";import{a as Le}from"./HXPS5P4F.js";import{a as at,b as mr,c as si,d as ma,e as ga,f as Je}from"./FPNDTQQP.js";import{a as Se,b as Wt,c as ii,d as Mt,e as hr,f as ai,g as Fe,k as yr,l as xt}from"./FJRNG67L.js";import{a as C,b as le,c as ti,e as da,f as er,h as it,i as pa,k as ri,l as Pe,m as Bt,q as ca,r as kt,t as lt,v as ua,w as fa,y as Nt}from"./AJP43KGV.js";import{b as W,d as la}from"./TDYFWCWT.js";export default $arcgis.t(([{substitute:Ne},Ni,Bn,kn,Pd,_i,Fd,Ad,Ed,$d,Od,Dd,Wn,Wi])=>{var Ta=W((br,Ca)=>{(function(t,e){typeof br=="object"&&typeof Ca<"u"?e(br):typeof define=="function"&&define.amd?define(["exports"],e):e(t.URI=t.URI||{})})(br,function(t){"use strict";function e(){for(var g=arguments.length,f=Array(g),v=0;v<g;v++)f[v]=arguments[v];if(f.length>1){f[0]=f[0].slice(0,-1);for(var I=f.length-1,x=1;x<I;++x)f[x]=f[x].slice(1,-1);return f[I]=f[I].slice(1),f.join("")}else return f[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,f){var v=g;if(f)for(var I in f)v[I]=f[I];return v}function n(g){var f="[A-Za-z]",v="[\\x0D]",I="[0-9]",x="[\\x22]",j=e(I,"[A-Fa-f]"),M="[\\x0A]",Q="[\\x20]",X=i(i("%[EFef]"+j+"%"+j+j+"%"+j+j)+"|"+i("%[89A-Fa-f]"+j+"%"+j+j)+"|"+i("%"+j+j)),be="[\\:\\/\\?\\#\\[\\]\\@]",H="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",ne=e(be,H),ve=g?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",se=g?"[\\uE000-\\uF8FF]":"[]",K=e(f,I,"[\\-\\.\\_\\~]",ve),oe=i(f+e(f,I,"[\\+\\-\\.]")+"*"),te=i(i(X+"|"+e(K,H,"[\\:]"))+"*"),St=i(i("25[0-5]")+"|"+i("2[0-4]"+I)+"|"+i("1"+I+I)+"|"+i("[1-9]"+I)+"|"+I),je=i(i("25[0-5]")+"|"+i("2[0-4]"+I)+"|"+i("1"+I+I)+"|"+i("0?[1-9]"+I)+"|0?0?"+I),Be=i(je+"\\."+je+"\\."+je+"\\."+je),ie=i(j+"{1,4}"),_e=i(i(ie+"\\:"+ie)+"|"+Be),ke=i(i(ie+"\\:")+"{6}"+_e),Qe=i("\\:\\:"+i(ie+"\\:")+"{5}"+_e),wt=i(i(ie)+"?\\:\\:"+i(ie+"\\:")+"{4}"+_e),et=i(i(i(ie+"\\:")+"{0,1}"+ie)+"?\\:\\:"+i(ie+"\\:")+"{3}"+_e),Jt=i(i(i(ie+"\\:")+"{0,2}"+ie)+"?\\:\\:"+i(ie+"\\:")+"{2}"+_e),cr=i(i(i(ie+"\\:")+"{0,3}"+ie)+"?\\:\\:"+ie+"\\:"+_e),ur=i(i(i(ie+"\\:")+"{0,4}"+ie)+"?\\:\\:"+_e),Dt=i(i(i(ie+"\\:")+"{0,5}"+ie)+"?\\:\\:"+ie),Lt=i(i(i(ie+"\\:")+"{0,6}"+ie)+"?\\:\\:"),tt=i([ke,Qe,wt,et,Jt,cr,ur,Dt,Lt].join("|")),Rt=i(i(K+"|"+X)+"+"),Xr=i(tt+"\\%25"+Rt),It=i(tt+i("\\%25|\\%(?!"+j+"{2})")+Rt),Eo=i("[vV]"+j+"+\\."+e(K,H,"[\\:]")+"+"),$o=i("\\["+i(It+"|"+tt+"|"+Eo)+"\\]"),aa=i(i(X+"|"+e(K,H))+"*"),Kt=i($o+"|"+Be+"(?!"+aa+")|"+aa),Zt=i(I+"*"),sa=i(i(te+"@")+"?"+Kt+i("\\:"+Zt)+"?"),Yt=i(X+"|"+e(K,H,"[\\:\\@]")),Oo=i(Yt+"*"),na=i(Yt+"+"),Do=i(i(X+"|"+e(K,H,"[\\@]"))+"+"),rt=i(i("\\/"+Oo)+"*"),jt=i("\\/"+i(na+rt)+"?"),ei=i(Do+rt),fr=i(na+rt),_t="(?!"+Yt+")",iu=i(rt+"|"+jt+"|"+ei+"|"+fr+"|"+_t),qt=i(i(Yt+"|"+e("[\\/\\?]",se))+"*"),Xt=i(i(Yt+"|[\\/\\?]")+"*"),oa=i(i("\\/\\/"+sa+rt)+"|"+jt+"|"+fr+"|"+_t),Lo=i(oe+"\\:"+oa+i("\\?"+qt)+"?"+i("\\#"+Xt)+"?"),Ro=i(i("\\/\\/"+sa+rt)+"|"+jt+"|"+ei+"|"+_t),jo=i(Ro+i("\\?"+qt)+"?"+i("\\#"+Xt)+"?"),au=i(Lo+"|"+jo),su=i(oe+"\\:"+oa+i("\\?"+qt)+"?"),nu="^("+oe+")\\:"+i(i("\\/\\/("+i("("+te+")@")+"?("+Kt+")"+i("\\:("+Zt+")")+"?)")+"?("+rt+"|"+jt+"|"+fr+"|"+_t+")")+i("\\?("+qt+")")+"?"+i("\\#("+Xt+")")+"?$",ou="^(){0}"+i(i("\\/\\/("+i("("+te+")@")+"?("+Kt+")"+i("\\:("+Zt+")")+"?)")+"?("+rt+"|"+jt+"|"+ei+"|"+_t+")")+i("\\?("+qt+")")+"?"+i("\\#("+Xt+")")+"?$",lu="^("+oe+")\\:"+i(i("\\/\\/("+i("("+te+")@")+"?("+Kt+")"+i("\\:("+Zt+")")+"?)")+"?("+rt+"|"+jt+"|"+fr+"|"+_t+")")+i("\\?("+qt+")")+"?$",du="^"+i("\\#("+Xt+")")+"?$",pu="^"+i("("+te+")@")+"?("+Kt+")"+i("\\:("+Zt+")")+"?$";return{NOT_SCHEME:new RegExp(e("[^]",f,I,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(e("[^\\%\\:]",K,H),"g"),NOT_HOST:new RegExp(e("[^\\%\\[\\]\\:]",K,H),"g"),NOT_PATH:new RegExp(e("[^\\%\\/\\:\\@]",K,H),"g"),NOT_PATH_NOSCHEME:new RegExp(e("[^\\%\\/\\@]",K,H),"g"),NOT_QUERY:new RegExp(e("[^\\%]",K,H,"[\\:\\@\\/\\?]",se),"g"),NOT_FRAGMENT:new RegExp(e("[^\\%]",K,H,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(e("[^]",K,H),"g"),UNRESERVED:new RegExp(K,"g"),OTHER_CHARS:new RegExp(e("[^\\%]",K,ne),"g"),PCT_ENCODED:new RegExp(X,"g"),IPV4ADDRESS:new RegExp("^("+Be+")$"),IPV6ADDRESS:new RegExp("^\\[?("+tt+")"+i(i("\\%25|\\%(?!"+j+"{2})")+"("+Rt+")")+"?\\]?$")}}var d=n(!1),u=n(!0),p=function(){function g(f,v){var I=[],x=!0,j=!1,M=void 0;try{for(var Q=f[Symbol.iterator](),X;!(x=(X=Q.next()).done)&&(I.push(X.value),!(v&&I.length===v));x=!0);}catch(be){j=!0,M=be}finally{try{!x&&Q.return&&Q.return()}finally{if(j)throw M}}return I}return function(f,v){if(Array.isArray(f))return f;if(Symbol.iterator in Object(f))return g(f,v);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),c=function(g){if(Array.isArray(g)){for(var f=0,v=Array(g.length);f<g.length;f++)v[f]=g[f];return v}else return Array.from(g)},h=2147483647,l=36,m=1,b=26,y=38,S=700,T=72,w=128,P="-",F=/^xn--/,$=/[^\0-\x7E]/,_=/[\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-m,R=Math.floor,O=String.fromCharCode;function q(g){throw new RangeError(L[g])}function E(g,f){for(var v=[],I=g.length;I--;)v[I]=f(g[I]);return v}function D(g,f){var v=g.split("@"),I="";v.length>1&&(I=v[0]+"@",g=v[1]),g=g.replace(_,".");var x=g.split("."),j=E(x,f).join(".");return I+j}function B(g){for(var f=[],v=0,I=g.length;v<I;){var x=g.charCodeAt(v++);if(x>=55296&&x<=56319&&v<I){var j=g.charCodeAt(v++);(j&64512)==56320?f.push(((x&1023)<<10)+(j&1023)+65536):(f.push(x),v--)}else f.push(x)}return f}var ee=function(f){return String.fromCodePoint.apply(String,c(f))},V=function(f){return f-48<10?f-22:f-65<26?f-65:f-97<26?f-97:l},G=function(f,v){return f+22+75*(f<26)-((v!=0)<<5)},z=function(f,v,I){var x=0;for(f=I?R(f/S):f>>1,f+=R(f/v);f>A*b>>1;x+=l)f=R(f/A);return R(x+(A+1)*f/(f+y))},N=function(f){var v=[],I=f.length,x=0,j=w,M=T,Q=f.lastIndexOf(P);Q<0&&(Q=0);for(var X=0;X<Q;++X)f.charCodeAt(X)>=128&&q("not-basic"),v.push(f.charCodeAt(X));for(var be=Q>0?Q+1:0;be<I;){for(var H=x,ne=1,ve=l;;ve+=l){be>=I&&q("invalid-input");var se=V(f.charCodeAt(be++));(se>=l||se>R((h-x)/ne))&&q("overflow"),x+=se*ne;var K=ve<=M?m:ve>=M+b?b:ve-M;if(se<K)break;var oe=l-K;ne>R(h/oe)&&q("overflow"),ne*=oe}var te=v.length+1;M=z(x-H,te,H==0),R(x/te)>h-j&&q("overflow"),j+=R(x/te),x%=te,v.splice(x++,0,j)}return String.fromCodePoint.apply(String,v)},pe=function(f){var v=[];f=B(f);var I=f.length,x=w,j=0,M=T,Q=!0,X=!1,be=void 0;try{for(var H=f[Symbol.iterator](),ne;!(Q=(ne=H.next()).done);Q=!0){var ve=ne.value;ve<128&&v.push(O(ve))}}catch(It){X=!0,be=It}finally{try{!Q&&H.return&&H.return()}finally{if(X)throw be}}var se=v.length,K=se;for(se&&v.push(P);K<I;){var oe=h,te=!0,St=!1,je=void 0;try{for(var Be=f[Symbol.iterator](),ie;!(te=(ie=Be.next()).done);te=!0){var _e=ie.value;_e>=x&&_e<oe&&(oe=_e)}}catch(It){St=!0,je=It}finally{try{!te&&Be.return&&Be.return()}finally{if(St)throw je}}var ke=K+1;oe-x>R((h-j)/ke)&&q("overflow"),j+=(oe-x)*ke,x=oe;var Qe=!0,wt=!1,et=void 0;try{for(var Jt=f[Symbol.iterator](),cr;!(Qe=(cr=Jt.next()).done);Qe=!0){var ur=cr.value;if(ur<x&&++j>h&&q("overflow"),ur==x){for(var Dt=j,Lt=l;;Lt+=l){var tt=Lt<=M?m:Lt>=M+b?b:Lt-M;if(Dt<tt)break;var Rt=Dt-tt,Xr=l-tt;v.push(O(G(tt+Rt%Xr,0))),Dt=R(Rt/Xr)}v.push(O(G(Dt,0))),M=z(j,ke,K==se),j=0,++K}}}catch(It){wt=!0,et=It}finally{try{!Qe&&Jt.return&&Jt.return()}finally{if(wt)throw et}}++j,++x}return v.join("")},Ce=function(f){return D(f,function(v){return F.test(v)?N(v.slice(4).toLowerCase()):v})},Ee=function(f){return D(f,function(v){return $.test(v)?"xn--"+pe(v):v})},J={version:"2.1.0",ucs2:{decode:B,encode:ee},decode:N,encode:pe,toASCII:Ee,toUnicode:Ce},me={};function we(g){var f=g.charCodeAt(0),v=void 0;return f<16?v="%0"+f.toString(16).toUpperCase():f<128?v="%"+f.toString(16).toUpperCase():f<2048?v="%"+(f>>6|192).toString(16).toUpperCase()+"%"+(f&63|128).toString(16).toUpperCase():v="%"+(f>>12|224).toString(16).toUpperCase()+"%"+(f>>6&63|128).toString(16).toUpperCase()+"%"+(f&63|128).toString(16).toUpperCase(),v}function $e(g){for(var f="",v=0,I=g.length;v<I;){var x=parseInt(g.substr(v+1,2),16);if(x<128)f+=String.fromCharCode(x),v+=3;else if(x>=194&&x<224){if(I-v>=6){var j=parseInt(g.substr(v+4,2),16);f+=String.fromCharCode((x&31)<<6|j&63)}else f+=g.substr(v,6);v+=6}else if(x>=224){if(I-v>=9){var M=parseInt(g.substr(v+4,2),16),Q=parseInt(g.substr(v+7,2),16);f+=String.fromCharCode((x&15)<<12|(M&63)<<6|Q&63)}else f+=g.substr(v,9);v+=9}else f+=g.substr(v,3),v+=3}return f}function nt(g,f){function v(I){var x=$e(I);return x.match(f.UNRESERVED)?x:I}return g.scheme&&(g.scheme=String(g.scheme).replace(f.PCT_ENCODED,v).toLowerCase().replace(f.NOT_SCHEME,"")),g.userinfo!==void 0&&(g.userinfo=String(g.userinfo).replace(f.PCT_ENCODED,v).replace(f.NOT_USERINFO,we).replace(f.PCT_ENCODED,r)),g.host!==void 0&&(g.host=String(g.host).replace(f.PCT_ENCODED,v).toLowerCase().replace(f.NOT_HOST,we).replace(f.PCT_ENCODED,r)),g.path!==void 0&&(g.path=String(g.path).replace(f.PCT_ENCODED,v).replace(g.scheme?f.NOT_PATH:f.NOT_PATH_NOSCHEME,we).replace(f.PCT_ENCODED,r)),g.query!==void 0&&(g.query=String(g.query).replace(f.PCT_ENCODED,v).replace(f.NOT_QUERY,we).replace(f.PCT_ENCODED,r)),g.fragment!==void 0&&(g.fragment=String(g.fragment).replace(f.PCT_ENCODED,v).replace(f.NOT_FRAGMENT,we).replace(f.PCT_ENCODED,r)),g}function Ye(g){return g.replace(/^0*(.*)/,"$1")||"0"}function ge(g,f){var v=g.match(f.IPV4ADDRESS)||[],I=p(v,2),x=I[1];return x?x.split(".").map(Ye).join("."):g}function ce(g,f){var v=g.match(f.IPV6ADDRESS)||[],I=p(v,3),x=I[1],j=I[2];if(x){for(var M=x.toLowerCase().split("::").reverse(),Q=p(M,2),X=Q[0],be=Q[1],H=be?be.split(":").map(Ye):[],ne=X.split(":").map(Ye),ve=f.IPV4ADDRESS.test(ne[ne.length-1]),se=ve?7:8,K=ne.length-se,oe=Array(se),te=0;te<se;++te)oe[te]=H[te]||ne[K+te]||"";ve&&(oe[se-1]=ge(oe[se-1],f));var St=oe.reduce(function(ke,Qe,wt){if(!Qe||Qe==="0"){var et=ke[ke.length-1];et&&et.index+et.length===wt?et.length++:ke.push({index:wt,length:1})}return ke},[]),je=St.sort(function(ke,Qe){return Qe.length-ke.length})[0],Be=void 0;if(je&&je.length>1){var ie=oe.slice(0,je.index),_e=oe.slice(je.index+je.length);Be=ie.join(":")+"::"+_e.join(":")}else Be=oe.join(":");return j&&(Be+="%"+j),Be}else return g}var gt=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,Te="".match(/(){0}/)[1]===void 0;function Y(g){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v={},I=f.iri!==!1?u:d;f.reference==="suffix"&&(g=(f.scheme?f.scheme+":":"")+"//"+g);var x=g.match(gt);if(x){Te?(v.scheme=x[1],v.userinfo=x[3],v.host=x[4],v.port=parseInt(x[5],10),v.path=x[6]||"",v.query=x[7],v.fragment=x[8],isNaN(v.port)&&(v.port=x[5])):(v.scheme=x[1]||void 0,v.userinfo=g.indexOf("@")!==-1?x[3]:void 0,v.host=g.indexOf("//")!==-1?x[4]:void 0,v.port=parseInt(x[5],10),v.path=x[6]||"",v.query=g.indexOf("?")!==-1?x[7]:void 0,v.fragment=g.indexOf("#")!==-1?x[8]:void 0,isNaN(v.port)&&(v.port=g.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?x[4]:void 0)),v.host&&(v.host=ce(ge(v.host,I),I)),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",f.reference&&f.reference!=="suffix"&&f.reference!==v.reference&&(v.error=v.error||"URI is not a "+f.reference+" reference.");var j=me[(f.scheme||v.scheme||"").toLowerCase()];if(!f.unicodeSupport&&(!j||!j.unicodeSupport)){if(v.host&&(f.domainHost||j&&j.domainHost))try{v.host=J.toASCII(v.host.replace(I.PCT_ENCODED,$e).toLowerCase())}catch(M){v.error=v.error||"Host's domain name can not be converted to ASCII via punycode: "+M}nt(v,d)}else nt(v,I);j&&j.parse&&j.parse(v,f)}else v.error=v.error||"URI can not be parsed.";return v}function ot(g,f){var v=f.iri!==!1?u:d,I=[];return g.userinfo!==void 0&&(I.push(g.userinfo),I.push("@")),g.host!==void 0&&I.push(ce(ge(String(g.host),v),v).replace(v.IPV6ADDRESS,function(x,j,M){return"["+j+(M?"%25"+M:"")+"]"})),(typeof g.port=="number"||typeof g.port=="string")&&(I.push(":"),I.push(String(g.port))),I.length?I.join(""):void 0}var Xe=/^\.\.?\//,bt=/^\/\.(\/|$)/,vt=/^\/\.\.(\/|$)/,Ie=/^\/?(?:.|\n)*?(?=\/|$)/;function qe(g){for(var f=[];g.length;)if(g.match(Xe))g=g.replace(Xe,"");else if(g.match(bt))g=g.replace(bt,"/");else if(g.match(vt))g=g.replace(vt,"/"),f.pop();else if(g==="."||g==="..")g="";else{var v=g.match(Ie);if(v){var I=v[0];g=g.slice(I.length),f.push(I)}else throw new Error("Unexpected dot segment condition")}return f.join("")}function De(g){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=f.iri?u:d,I=[],x=me[(f.scheme||g.scheme||"").toLowerCase()];if(x&&x.serialize&&x.serialize(g,f),g.host&&!v.IPV6ADDRESS.test(g.host)){if(f.domainHost||x&&x.domainHost)try{g.host=f.iri?J.toUnicode(g.host):J.toASCII(g.host.replace(v.PCT_ENCODED,$e).toLowerCase())}catch(Q){g.error=g.error||"Host's domain name can not be converted to "+(f.iri?"Unicode":"ASCII")+" via punycode: "+Q}}nt(g,v),f.reference!=="suffix"&&g.scheme&&(I.push(g.scheme),I.push(":"));var j=ot(g,f);if(j!==void 0&&(f.reference!=="suffix"&&I.push("//"),I.push(j),g.path&&g.path.charAt(0)!=="/"&&I.push("/")),g.path!==void 0){var M=g.path;!f.absolutePath&&(!x||!x.absolutePath)&&(M=qe(M)),j===void 0&&(M=M.replace(/^\/\//,"/%2F")),I.push(M)}return g.query!==void 0&&(I.push("?"),I.push(g.query)),g.fragment!==void 0&&(I.push("#"),I.push(g.fragment)),I.join("")}function Oe(g,f){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},I=arguments[3],x={};return I||(g=Y(De(g,v),v),f=Y(De(f,v),v)),v=v||{},!v.tolerant&&f.scheme?(x.scheme=f.scheme,x.userinfo=f.userinfo,x.host=f.host,x.port=f.port,x.path=qe(f.path||""),x.query=f.query):(f.userinfo!==void 0||f.host!==void 0||f.port!==void 0?(x.userinfo=f.userinfo,x.host=f.host,x.port=f.port,x.path=qe(f.path||""),x.query=f.query):(f.path?(f.path.charAt(0)==="/"?x.path=qe(f.path):((g.userinfo!==void 0||g.host!==void 0||g.port!==void 0)&&!g.path?x.path="/"+f.path:g.path?x.path=g.path.slice(0,g.path.lastIndexOf("/")+1)+f.path:x.path=f.path,x.path=qe(x.path)),x.query=f.query):(x.path=g.path,f.query!==void 0?x.query=f.query:x.query=g.query),x.userinfo=g.userinfo,x.host=g.host,x.port=g.port),x.scheme=g.scheme),x.fragment=f.fragment,x}function Ge(g,f,v){var I=o({scheme:"null"},v);return De(Oe(Y(g,I),Y(f,I),I,!0),I)}function Re(g,f){return typeof g=="string"?g=De(Y(g,f),f):a(g)==="object"&&(g=Y(De(g,f),f)),g}function pr(g,f,v){return typeof g=="string"?g=De(Y(g,v),v):a(g)==="object"&&(g=De(g,v)),typeof f=="string"?f=De(Y(f,v),v):a(f)==="object"&&(f=De(f,v)),g===f}function Zr(g,f){return g&&g.toString().replace(!f||!f.iri?d.ESCAPE:u.ESCAPE,we)}function We(g,f){return g&&g.toString().replace(!f||!f.iri?d.PCT_ENCODED:u.PCT_ENCODED,$e)}var Ht={scheme:"http",domainHost:!0,parse:function(f,v){return f.host||(f.error=f.error||"HTTP URIs must have a host."),f},serialize:function(f,v){var I=String(f.scheme).toLowerCase()==="https";return(f.port===(I?443:80)||f.port==="")&&(f.port=void 0),f.path||(f.path="/"),f}},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(f,v){var I=f;return I.secure=Zi(I),I.resourceName=(I.path||"/")+(I.query?"?"+I.query:""),I.path=void 0,I.query=void 0,I},serialize:function(f,v){if((f.port===(Zi(f)?443:80)||f.port==="")&&(f.port=void 0),typeof f.secure=="boolean"&&(f.scheme=f.secure?"wss":"ws",f.secure=void 0),f.resourceName){var I=f.resourceName.split("?"),x=p(I,2),j=x[0],M=x[1];f.path=j&&j!=="/"?j:void 0,f.query=M,f.resourceName=void 0}return f.fragment=void 0,f}},Yi={scheme:"wss",domainHost:Qt.domainHost,parse:Qt.parse,serialize:Qt.serialize},go={},bo=!0,Xi="[A-Za-z0-9\\-\\.\\_\\~"+(bo?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]",He="[0-9A-Fa-f]",vo=i(i("%[EFef]"+He+"%"+He+He+"%"+He+He)+"|"+i("%[89A-Fa-f]"+He+"%"+He+He)+"|"+i("%"+He+He)),So="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",wo="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",Io=e(wo,'[\\"\\\\]'),xo="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",Co=new RegExp(Xi,"g"),Ot=new RegExp(vo,"g"),To=new RegExp(e("[^]",So,"[\\.]",'[\\"]',Io),"g"),ea=new RegExp(e("[^]",Xi,xo),"g"),Po=ea;function Yr(g){var f=$e(g);return f.match(Co)?f:g}var ta={scheme:"mailto",parse:function(f,v){var I=f,x=I.to=I.path?I.path.split(","):[];if(I.path=void 0,I.query){for(var j=!1,M={},Q=I.query.split("&"),X=0,be=Q.length;X<be;++X){var H=Q[X].split("=");switch(H[0]){case"to":for(var ne=H[1].split(","),ve=0,se=ne.length;ve<se;++ve)x.push(ne[ve]);break;case"subject":I.subject=We(H[1],v);break;case"body":I.body=We(H[1],v);break;default:j=!0,M[We(H[0],v)]=We(H[1],v);break}}j&&(I.headers=M)}I.query=void 0;for(var K=0,oe=x.length;K<oe;++K){var te=x[K].split("@");if(te[0]=We(te[0]),v.unicodeSupport)te[1]=We(te[1],v).toLowerCase();else try{te[1]=J.toASCII(We(te[1],v).toLowerCase())}catch(St){I.error=I.error||"Email address's domain name can not be converted to ASCII via punycode: "+St}x[K]=te.join("@")}return I},serialize:function(f,v){var I=f,x=s(f.to);if(x){for(var j=0,M=x.length;j<M;++j){var Q=String(x[j]),X=Q.lastIndexOf("@"),be=Q.slice(0,X).replace(Ot,Yr).replace(Ot,r).replace(To,we),H=Q.slice(X+1);try{H=v.iri?J.toUnicode(H):J.toASCII(We(H,v).toLowerCase())}catch(K){I.error=I.error||"Email address's domain name can not be converted to "+(v.iri?"Unicode":"ASCII")+" via punycode: "+K}x[j]=be+"@"+H}I.path=x.join(",")}var ne=f.headers=f.headers||{};f.subject&&(ne.subject=f.subject),f.body&&(ne.body=f.body);var ve=[];for(var se in ne)ne[se]!==go[se]&&ve.push(se.replace(Ot,Yr).replace(Ot,r).replace(ea,we)+"="+ne[se].replace(Ot,Yr).replace(Ot,r).replace(Po,we));return ve.length&&(I.query=ve.join("&")),I}},Fo=/^([^\:]+)\:(.*)/,ra={scheme:"urn",parse:function(f,v){var I=f.path&&f.path.match(Fo),x=f;if(I){var j=v.scheme||x.scheme||"urn",M=I[1].toLowerCase(),Q=I[2],X=j+":"+(v.nid||M),be=me[X];x.nid=M,x.nss=Q,x.path=void 0,be&&(x=be.parse(x,v))}else x.error=x.error||"URN can not be parsed.";return x},serialize:function(f,v){var I=v.scheme||f.scheme||"urn",x=f.nid,j=I+":"+(v.nid||x),M=me[j];M&&(f=M.serialize(f,v));var Q=f,X=f.nss;return Q.path=(x||v.nid)+":"+X,Q}},Ao=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,ia={scheme:"urn:uuid",parse:function(f,v){var I=f;return I.uuid=I.nss,I.nss=void 0,!v.tolerant&&(!I.uuid||!I.uuid.match(Ao))&&(I.error=I.error||"UUID is not valid."),I},serialize:function(f,v){var I=f;return I.nss=(f.uuid||"").toLowerCase(),I}};me[Ht.scheme]=Ht,me[Ki.scheme]=Ki,me[Qt.scheme]=Qt,me[Yi.scheme]=Yi,me[ta.scheme]=ta,me[ra.scheme]=ra,me[ia.scheme]=ia,t.SCHEMES=me,t.pctEncChar=we,t.pctDecChars=$e,t.parse=Y,t.removeDotSegments=qe,t.serialize=De,t.resolveComponents=Oe,t.resolve=Ge,t.normalize=Re,t.equal=pr,t.escapeComponent=Zr,t.unescapeComponent=We,Object.defineProperty(t,"__esModule",{value:!0})})});var vr=W((qu,Pa)=>{"use strict";Pa.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 Aa=W((Bu,Fa)=>{"use strict";Fa.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 Ct=W((ku,Oa)=>{"use strict";Oa.exports={copy:Wo,checkDataType:oi,checkDataTypes:Mo,coerceToTypes:zo,toHash:di,getProperty:pi,escapeQuotes:ci,equal:vr(),ucs2length:Aa(),varOccurences:Go,varReplace:Ho,schemaHasRules:Qo,schemaHasRulesExcept:Jo,schemaUnknownRules:Ko,toQuotedString:li,getPathExpr:Zo,getPath:Yo,getData:tl,unescapeFragment:rl,unescapeJsonPointer:fi,escapeFragment:il,escapeJsonPointer:ui};function Wo(t,e){e=e||{};for(var i in t)e[i]=t[i];return e}function oi(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 Mo(t,e,i){switch(t.length){case 1:return oi(t[0],e,i,!0);default:var a="",r=di(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?" && ":"")+oi(s,e,i,!0);return a}}var Ea=di(["string","number","integer","boolean","null"]);function zo(t,e){if(Array.isArray(e)){for(var i=[],a=0;a<e.length;a++){var r=e[a];(Ea[r]||t==="array"&&r==="array")&&(i[i.length]=r)}if(i.length)return i}else{if(Ea[e])return[e];if(t==="array"&&e==="array")return["array"]}}function di(t){for(var e={},i=0;i<t.length;i++)e[t[i]]=!0;return e}var Vo=/^[a-z$_][a-z$_0-9]*$/i,Uo=/'|\\/g;function pi(t){return typeof t=="number"?"["+t+"]":Vo.test(t)?"."+t:"['"+ci(t)+"']"}function ci(t){return t.replace(Uo,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function Go(t,e){e+="[^0-9]";var i=t.match(new RegExp(e,"g"));return i?i.length:0}function Ho(t,e,i){return e+="([^0-9])",i=i.replace(/\$/g,"$$$$"),t.replace(new RegExp(e,"g"),i+"$1")}function Qo(t,e){if(typeof t=="boolean")return!t;for(var i in t)if(e[i])return!0}function Jo(t,e,i){if(typeof t=="boolean")return!t&&i!="not";for(var a in t)if(a!=i&&e[a])return!0}function Ko(t,e){if(typeof t!="boolean"){for(var i in t)if(!e[i])return i}}function li(t){return"'"+ci(t)+"'"}function Zo(t,e,i,a){var r=i?"'/' + "+e+(a?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):a?"'[' + "+e+" + ']'":"'[\\'' + "+e+" + '\\']'";return $a(t,r)}function Yo(t,e,i){var a=li(i?"/"+ui(e):pi(e));return $a(t,a)}var Xo=/^\/(?:[^~]|~0|~1)*$/,el=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function tl(t,e,i){var a,r,s,o;if(t==="")return"rootData";if(t[0]=="/"){if(!Xo.test(t))throw new Error("Invalid JSON-pointer: "+t);r=t,s="rootData"}else{if(o=t.match(el),!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+=pi(fi(p)),n+=" && "+s)}return n}function $a(t,e){return t=='""'?e:(t+" + "+e).replace(/([^\\])' \+ '/g,"$1")}function rl(t){return fi(decodeURIComponent(t))}function il(t){return encodeURIComponent(ui(t))}function ui(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}function fi(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}});var hi=W((Nu,Da)=>{"use strict";var al=Ct();Da.exports=sl;function sl(t){al.copy(t,this)}});var Ra=W((Wu,La)=>{"use strict";var dt=La.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(){};Sr(e,a,r,t,"",t)};dt.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0};dt.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};dt.propsKeywords={definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};dt.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 Sr(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 dt.arrayKeywords)for(var h=0;h<c.length;h++)Sr(t,e,i,c[h],r+"/"+p+"/"+h,s,r,p,a,h)}else if(p in dt.propsKeywords){if(c&&typeof c=="object")for(var l in c)Sr(t,e,i,c[l],r+"/"+p+"/"+nl(l),s,r,p,a,l)}else(p in dt.keywords||t.allKeys&&!(p in dt.skipKeywords))&&Sr(t,e,i,c,r+"/"+p,s,r,p,a)}i(a,r,s,o,n,d,u)}}function nl(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}});var Pr=W((Mu,Ba)=>{"use strict";var rr=Ta(),ja=vr(),Cr=Ct(),wr=hi(),ol=Ra();Ba.exports=ct;ct.normalizeId=pt;ct.fullPath=Ir;ct.url=xr;ct.ids=ul;ct.inlineRef=yi;ct.schema=Tr;function ct(t,e,i){var a=this._refs[i];if(typeof a=="string")if(this._refs[a])a=this._refs[a];else return ct.call(this,t,e,a);if(a=a||this._schemas[i],a instanceof wr)return yi(a.schema,this._opts.inlineRefs)?a.schema:a.validate||this._compile(a);var r=Tr.call(this,e,i),s,o,n;return r&&(s=r.schema,e=r.root,n=r.baseId),s instanceof wr?o=s.validate||t.call(this,s.schema,e,void 0,n):s!==void 0&&(o=yi(s,this._opts.inlineRefs)?s:t.call(this,s,e,void 0,n)),o}function Tr(t,e){var i=rr.parse(e),a=qa(i),r=Ir(this._getId(t.schema));if(Object.keys(t.schema).length===0||a!==r){var s=pt(a),o=this._refs[s];if(typeof o=="string")return ll.call(this,t,o,i);if(o instanceof wr)o.validate||this._compile(o),t=o;else if(o=this._schemas[s],o instanceof wr){if(o.validate||this._compile(o),s==pt(e))return{schema:o,root:t,baseId:r};t=o}else return;if(!t.schema)return;r=Ir(this._getId(t.schema))}return _a.call(this,i,r,t.schema,t)}function ll(t,e,i){var a=Tr.call(this,t,e);if(a){var r=a.schema,s=a.baseId;t=a.root;var o=this._getId(r);return o&&(s=xr(s,o)),_a.call(this,i,s,r,t)}}var dl=Cr.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function _a(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=Cr.unescapeFragment(o),i=i[o],i===void 0)break;var n;if(!dl[o]&&(n=this._getId(i),n&&(e=xr(e,n)),i.$ref)){var d=xr(e,i.$ref),u=Tr.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 pl=Cr.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function yi(t,e){if(e===!1)return!1;if(e===void 0||e===!0)return mi(t);if(e)return gi(t)<=e}function mi(t){var e;if(Array.isArray(t)){for(var i=0;i<t.length;i++)if(e=t[i],typeof e=="object"&&!mi(e))return!1}else for(var a in t)if(a=="$ref"||(e=t[a],typeof e=="object"&&!mi(e)))return!1;return!0}function gi(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+=gi(i)),e==1/0)return 1/0}else for(var r in t){if(r=="$ref")return 1/0;if(pl[r])e++;else if(i=t[r],typeof i=="object"&&(e+=gi(i)+1),e==1/0)return 1/0}return e}function Ir(t,e){e!==!1&&(t=pt(t));var i=rr.parse(t);return qa(i)}function qa(t){return rr.serialize(t).split("#")[0]+"#"}var cl=/#\/?$/;function pt(t){return t?t.replace(cl,""):""}function xr(t,e){return e=pt(e),rr.resolve(t,e)}function ul(t){var e=pt(this._getId(t)),i={"":e},a={"":Ir(e,!1)},r={},s=this;return ol(t,{allKeys:!0},function(o,n,d,u,p,c,h){if(n!==""){var l=s._getId(o),m=i[u],b=a[u]+"/"+p;if(h!==void 0&&(b+="/"+(typeof h=="number"?h:Cr.escapeFragment(h))),typeof l=="string"){l=m=pt(m?rr.resolve(m,l):l);var y=s._refs[l];if(typeof y=="string"&&(y=s._refs[y]),y&&y.schema){if(!ja(o,y.schema))throw new Error('id "'+l+'" resolves to more than one schema')}else if(l!=pt(b))if(l[0]=="#"){if(r[l]&&!ja(o,r[l]))throw new Error('id "'+l+'" resolves to more than one schema');r[l]=o}else s._refs[l]=b}i[n]=m,a[n]=b}}),r}});var Fr=W((zu,Na)=>{"use strict";var bi=Pr();Na.exports={Validation:ka(fl),MissingRef:ka(vi)};function fl(t){this.message="validation failed",this.errors=t,this.ajv=this.validation=!0}vi.message=function(t,e){return"can't resolve reference "+e+" from id "+t};function vi(t,e,i){this.message=i||vi.message(t,e),this.missingRef=bi.url(t,e),this.missingSchema=bi.normalizeId(bi.fullPath(this.missingRef))}function ka(t){return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}});var Si=W((Vu,Wa)=>{"use strict";Wa.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],h=s(o[c]);h&&(d&&(d+=","),d+=JSON.stringify(c)+":"+h)}return r.splice(u,1),"{"+d+"}"}}(t)}});var wi=W((Uu,Ma)=>{"use strict";Ma.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,h=e.schema[i],l=e.schemaPath+e.util.getProperty(i),m=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 y=y||[];y.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(L||"false schema")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , 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=y.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 w="default is ignored in the schema root";if(e.opts.strictDefaults==="log")e.logger.warn(w);else throw new Error(w)}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,$="",_="",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 O=e.util.coerceToTypes(e.opts.coerceTypes,A);var q=e.RULES.types[A];if(O||R||q===!0||q&&!Ie(q)){var l=e.schemaPath+".type",m=e.errSchemaPath+"/type",l=e.schemaPath+".type",m=e.errSchemaPath+"/type",E=R?"checkDataTypes":"checkDataType";if(r+=" if ("+e.util[E](A,b,e.opts.strictNumbers,!0)+") { ",O){var D="dataType"+p,B="coerced"+p;r+=" var "+D+" = typeof "+b+"; var "+B+" = undefined; ",e.opts.coerceTypes=="array"&&(r+=" if ("+D+" == 'object' && Array.isArray("+b+") && "+b+".length == 1) { "+b+" = "+b+"[0]; "+D+" = typeof "+b+"; if ("+e.util.checkDataType(e.schema.type,b,e.opts.strictNumbers)+") "+B+" = "+b+"; } "),r+=" if ("+B+" !== undefined) ; ";var ee=O;if(ee)for(var V,G=-1,z=ee.length-1;G<z;)V=ee[G+=1],V=="string"?r+=" else if ("+D+" == 'number' || "+D+" == 'boolean') "+B+" = '' + "+b+"; else if ("+b+" === null) "+B+" = ''; ":V=="number"||V=="integer"?(r+=" else if ("+D+" == 'boolean' || "+b+" === null || ("+D+" == '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 ("+D+" == 'string' || "+D+" == 'number' || "+D+" == 'boolean' || "+b+" == null) "+B+" = ["+b+"]; ");r+=" else { ";var y=y||[];y.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(L||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , 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=y.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 y=y||[];y.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(L||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , 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=y.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+=") { ",_+="}");else{var Ce=e.RULES;if(Ce){for(var q,Ee=-1,J=Ce.length-1;Ee<J;)if(q=Ce[Ee+=1],Ie(q)){if(q.type&&(r+=" if ("+e.util.checkDataType(q.type,b,e.opts.strictNumbers)+") { "),e.opts.useDefaults){if(q.type=="object"&&e.schema.properties){var h=e.schema.properties,me=Object.keys(h),we=me;if(we)for(var $e,nt=-1,Ye=we.length-1;nt<Ye;){$e=we[nt+=1];var ge=h[$e];if(ge.default!==void 0){var ce=b+e.util.getProperty($e);if(e.compositeRule){if(e.opts.strictDefaults){var w="default is ignored for: "+ce;if(e.opts.strictDefaults==="log")e.logger.warn(w);else throw new Error(w)}}else r+=" if ("+ce+" === undefined ",e.opts.useDefaults=="empty"&&(r+=" || "+ce+" === null || "+ce+" === '' "),r+=" ) "+ce+" = ",e.opts.useDefaults=="shared"?r+=" "+e.useDefault(ge.default)+" ":r+=" "+JSON.stringify(ge.default)+" ",r+="; "}}}else if(q.type=="array"&&Array.isArray(e.schema.items)){var gt=e.schema.items;if(gt){for(var ge,G=-1,Te=gt.length-1;G<Te;)if(ge=gt[G+=1],ge.default!==void 0){var ce=b+"["+G+"]";if(e.compositeRule){if(e.opts.strictDefaults){var w="default is ignored for: "+ce;if(e.opts.strictDefaults==="log")e.logger.warn(w);else throw new Error(w)}}else r+=" if ("+ce+" === undefined ",e.opts.useDefaults=="empty"&&(r+=" || "+ce+" === null || "+ce+" === '' "),r+=" ) "+ce+" = ",e.opts.useDefaults=="shared"?r+=" "+e.useDefault(ge.default)+" ":r+=" "+JSON.stringify(ge.default)+" ",r+="; "}}}}var Y=q.rules;if(Y){for(var ot,Xe=-1,bt=Y.length-1;Xe<bt;)if(ot=Y[Xe+=1],qe(ot)){var vt=ot.code(e,ot.keyword,q.type);vt&&(r+=" "+vt+" ",F&&($+="}"))}}if(F&&(r+=" "+$+" ",$=""),q.type&&(r+=" } ",A&&A===q.type&&!O)){r+=" else { ";var l=e.schemaPath+".type",m=e.errSchemaPath+"/type",y=y||[];y.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(L||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , 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=y.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+=") { ",_+="}")}}}F&&(r+=" "+_+" "),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 Ie(Oe){for(var Ge=Oe.rules,Re=0;Re<Ge.length;Re++)if(qe(Ge[Re]))return!0}function qe(Oe){return e.schema[Oe.keyword]!==void 0||Oe.implements&&De(Oe)}function De(Oe){for(var Ge=Oe.implements,Re=0;Re<Ge.length;Re++)if(e.schema[Ge[Re]]!==void 0)return!0}return r}});var Ha=W((Gu,Ga)=>{"use strict";var Ar=Pr(),$r=Ct(),Va=Fr(),hl=Si(),za=wi(),yl=$r.ucs2length,ml=vr(),gl=Va.Validation;Ga.exports=Ii;function Ii(t,e,i,a){var r=this,s=this._opts,o=[void 0],n={},d=[],u={},p=[],c={},h=[];e=e||{schema:t,refVal:o,refs:n};var l=bl.call(this,t,e,a),m=this._compilations[l.index];if(l.compiling)return m.callValidate=w;var b=this._formats,y=this.RULES;try{var S=P(t,e,i,a);m.validate=S;var T=m.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{vl.call(this,t,e,a)}function w(){var E=m.validate,D=E.apply(this,arguments);return w.errors=E.errors,D}function P(E,D,B,ee){var V=!D||D&&D.schema==E;if(D.schema!=e.schema)return Ii.call(r,E,D,B,ee);var G=E.$async===!0,z=za({isTop:!0,schema:E,isRoot:V,baseId:ee,root:D,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:Va.MissingRef,RULES:y,validate:za,util:$r,resolve:Ar,resolveRef:F,usePattern:R,useDefault:O,useCustomRule:q,opts:s,formats:b,logger:r.logger,self:r});z=Er(o,Il)+Er(d,Sl)+Er(p,wl)+Er(h,xl)+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,y,b,e,o,p,h,ml,yl,gl),o[0]=N}catch(Ce){throw r.logger.error("Error compiling schema, function code:",z),Ce}return N.schema=E,N.errors=null,N.refs=n,N.refVal=o,N.root=V?N:D,G&&(N.$async=!0),s.sourceCode===!0&&(N.source={code:z,patterns:d,defaults:p}),N}function F(E,D,B){D=Ar.url(E,D);var ee=n[D],V,G;if(ee!==void 0)return V=o[ee],G="refVal["+ee+"]",A(V,G);if(!B&&e.refs){var z=e.refs[D];if(z!==void 0)return V=e.refVal[z],G=$(D,V),A(V,G)}G=$(D);var N=Ar.call(r,P,e,D);if(N===void 0){var pe=i&&i[D];pe&&(N=Ar.inlineRef(pe,s.inlineRefs)?pe:Ii.call(r,pe,e,i,E))}if(N===void 0)_(D);else return L(D,N),A(N,G)}function $(E,D){var B=o.length;return o[B]=D,n[E]=B,"refVal"+B}function _(E){delete n[E]}function L(E,D){var B=n[E];o[B]=D}function A(E,D){return typeof E=="object"||typeof E=="boolean"?{code:D,schema:E,inline:!0}:{code:D,$async:E&&!!E.$async}}function R(E){var D=u[E];return D===void 0&&(D=u[E]=d.length,d[D]=E),"pattern"+D}function O(E){switch(typeof E){case"boolean":case"number":return""+E;case"string":return $r.toQuotedString(E);case"object":if(E===null)return"null";var D=hl(E),B=c[D];return B===void 0&&(B=c[D]=p.length,p[B]=E),"default"+B}}function q(E,D,B,ee){if(r._opts.validateSchema!==!1){var V=E.definition.dependencies;if(V&&!V.every(function(we){return Object.prototype.hasOwnProperty.call(B,we)}))throw new Error("parent schema must have all required keywords: "+V.join(","));var G=E.definition.validateSchema;if(G){var z=G(D);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,Ce=E.definition.inline,Ee=E.definition.macro,J;if(pe)J=pe.call(r,D,B,ee);else if(Ee)J=Ee.call(r,D,B,ee),s.validateSchema!==!1&&r.validateSchema(J,!0);else if(Ce)J=Ce.call(r,ee,E.keyword,D,B);else if(J=E.definition.validate,!J)return;if(J===void 0)throw new Error('custom keyword "'+E.keyword+'"failed to compile');var me=h.length;return h[me]=J,{code:"customRule"+me,validate:J}}}function bl(t,e,i){var a=Ua.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 vl(t,e,i){var a=Ua.call(this,t,e,i);a>=0&&this._compilations.splice(a,1)}function Ua(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 Sl(t,e){return"var pattern"+t+" = new RegExp("+$r.toQuotedString(e[t])+");"}function wl(t){return"var default"+t+" = defaults["+t+"];"}function Il(t,e){return e[t]===void 0?"":"var refVal"+t+" = refVal["+t+"];"}function xl(t){return"var customRule"+t+" = customRules["+t+"];"}function Er(t,e){if(!t.length)return"";for(var i="",a=0;a<t.length;a++)i+=e(a,t);return i}});var Ja=W((Hu,Qa)=>{"use strict";var Or=Qa.exports=function(){this._cache={}};Or.prototype.put=function(e,i){this._cache[e]=i};Or.prototype.get=function(e){return this._cache[e]};Or.prototype.del=function(e){delete this._cache[e]};Or.prototype.clear=function(){this._cache={}}});var os=W((Qu,ns)=>{"use strict";var Cl=Ct(),Tl=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,Pl=[0,31,28,31,30,31,30,31,31,30,31,30,31],Fl=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i,Ka=/^(?=.{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,Al=/^(?:[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,El=/^(?:[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,Za=/^(?:(?:[^\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,Ya=/^(?:(?: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,Xa=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,es=/^(?:\/(?:[^~/]|~0|~1)*)*$/,ts=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,rs=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;ns.exports=Dr;function Dr(t){return t=t=="full"?"full":"fast",Cl.copy(Dr[t])}Dr.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":Za,url:Ya,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:Ka,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:ss,uuid:Xa,"json-pointer":es,"json-pointer-uri-fragment":ts,"relative-json-pointer":rs};Dr.full={date:is,time:as,"date-time":Dl,uri:Rl,"uri-reference":El,"uri-template":Za,url:Ya,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:Ka,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:ss,uuid:Xa,"json-pointer":es,"json-pointer-uri-fragment":ts,"relative-json-pointer":rs};function $l(t){return t%4===0&&(t%100!==0||t%400===0)}function is(t){var e=t.match(Tl);if(!e)return!1;var i=+e[1],a=+e[2],r=+e[3];return a>=1&&a<=12&&r>=1&&r<=(a==2&&$l(i)?29:Pl[a])}function as(t,e){var i=t.match(Fl);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 Ol=/t|\s/i;function Dl(t){var e=t.split(Ol);return e.length==2&&is(e[0])&&as(e[1],!0)}var Ll=/\/|:/;function Rl(t){return Ll.test(t)&&Al.test(t)}var jl=/[^\\]\\Z/;function ss(t){if(jl.test(t))return!1;try{return new RegExp(t),!0}catch{return!1}}});var ds=W((Ju,ls)=>{"use strict";ls.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,h,l;if(n=="#"||n=="#/")e.isRoot?(h=e.async,l="validate"):(h=e.root.schema.$async===!0,l="root.refVal[0]");else{var m=e.resolveRef(e.baseId,n,e.isRoot);if(m===void 0){var b=e.MissingRefError.message(e.baseId,n);if(e.opts.missingRefs=="fail"){e.logger.error(b);var y=y||[];y.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=y.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(m.inline){var T=e.util.copy(e);T.level++;var w="valid"+T.level;T.schema=m.schema,T.schemaPath="",T.errSchemaPath=n;var P=e.validate(T).replace(/validate\.schema/g,m.code);r+=" "+P+" ",u&&(r+=" if ("+w+") { ")}else h=m.$async===!0||e.async&&m.$async!==!1,l=m.code}if(l){var y=y||[];y.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 _=r;if(r=y.pop(),h){if(!e.async)throw new Error("async schema referenced by sync schema");u&&(r+=" var "+c+"; "),r+=" try { await "+_+"; ",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 (!"+_+") { if (vErrors === null) vErrors = "+l+".errors; else vErrors = vErrors.concat("+l+".errors); errors = vErrors.length; } ",u&&(r+=" else { ")}return r}});var cs=W((Ku,ps)=>{"use strict";ps.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,h=u.baseId,l=!0,m=s;if(m)for(var b,y=-1,S=m.length-1;y<S;)b=m[y+=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+"["+y+"]",u.errSchemaPath=n+"/"+y,r+=" "+e.validate(u)+" ",u.baseId=h,d&&(r+=" if ("+c+") { ",p+="}"));return d&&(l?r+=" if (true) { ":r+=" "+p.slice(0,-1)+" "),r}});var fs=W((Zu,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||""),h="valid"+s,l="errs__"+s,m=e.util.copy(e),b="";m.level++;var y="valid"+m.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=m.baseId;r+=" var "+l+" = errors; var "+h+" = false; ";var w=e.compositeRule;e.compositeRule=m.compositeRule=!0;var P=n;if(P)for(var F,$=-1,_=P.length-1;$<_;)F=P[$+=1],m.schema=F,m.schemaPath=d+"["+$+"]",m.errSchemaPath=u+"/"+$,r+=" "+e.validate(m)+" ",m.baseId=T,r+=" "+h+" = "+h+" || "+y+"; if (!"+h+") { ",b+="}";e.compositeRule=m.compositeRule=w,r+=" "+b+" if (!"+h+") { 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 ys=W((Yu,hs)=>{"use strict";hs.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 gs=W((Xu,ms)=>{"use strict";ms.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||""),h="valid"+s,l=e.opts.$data&&n&&n.$data,m;l?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",m="schema"+s):m=n,l||(r+=" var schema"+s+" = validate.schema"+d+";"),r+="var "+h+" = equal("+c+", schema"+s+"); if (!"+h+") { ";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 y=r;return r=b.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+y+"]); ":r+=" validate.errors = ["+y+"]; return false; ":r+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" }",p&&(r+=" else { "),r}});var vs=W((ef,bs)=>{"use strict";bs.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||""),h="valid"+s,l="errs__"+s,m=e.util.copy(e),b="";m.level++;var y="valid"+m.level,S="i"+s,T=m.dataLevel=e.dataLevel+1,w="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 "+h+";",F){var $=e.compositeRule;e.compositeRule=m.compositeRule=!0,m.schema=n,m.schemaPath=d,m.errSchemaPath=u,r+=" var "+y+" = false; for (var "+S+" = 0; "+S+" < "+c+".length; "+S+"++) { ",m.errorPath=e.util.getPathExpr(e.errorPath,S,e.opts.jsonPointers,!0);var _=c+"["+S+"]";m.dataPathArr[T]=S;var L=e.validate(m);m.baseId=P,e.util.varOccurences(L,w)<2?r+=" "+e.util.varReplace(L,w,_)+" ":r+=" var "+w+" = "+_+"; "+L+" ",r+=" if ("+y+") break; } ",e.compositeRule=m.compositeRule=$,r+=" "+b+" if (!"+y+") {"}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 ws=W((tf,Ss)=>{"use strict";Ss.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||""),h="errs__"+s,l=e.util.copy(e),m="";l.level++;var b="valid"+l.level,y={},S={},T=e.opts.ownProperties;for($ in n)if($!="__proto__"){var w=n[$],P=Array.isArray(w)?S:y;P[$]=w}r+="var "+h+" = 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 _=P;if(_)for(var L,A=-1,R=_.length-1;A<R;){L=_[A+=1],A&&(r+=" || ");var O=e.util.getProperty(L),q=c+O;r+=" ( ( "+q+" === undefined ",T&&(r+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(L)+"') "),r+=") && (missing"+s+" = "+e.util.toQuotedString(e.opts.jsonPointers?L:O)+") ) "}r+=")) { ";var E="missing"+s,D="' + "+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: '"+D+"', depsCount: "+P.length+", deps: '"+e.util.escapeQuotes(P.length==1?P[0]:P.join(", "))+"' } ",e.opts.messages!==!1&&(r+=" , message: 'should have ",P.length==1?r+="property "+e.util.escapeQuotes(P[0]):r+="properties "+e.util.escapeQuotes(P.join(", ")),r+=" when property "+e.util.escapeQuotes($)+" is present' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var ee=r;r=B.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+ee+"]); ":r+=" validate.errors = ["+ee+"]; return false; ":r+=" var err = "+ee+"; 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 O=e.util.getProperty(L),D=e.util.escapeQuotes(L),q=c+O;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(F,L,e.opts.jsonPointers)),r+=" if ( "+q+" === 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: '"+D+"', depsCount: "+P.length+", deps: '"+e.util.escapeQuotes(P.length==1?P[0]:P.join(", "))+"' } ",e.opts.messages!==!1&&(r+=" , message: 'should have ",P.length==1?r+="property "+e.util.escapeQuotes(P[0]):r+="properties "+e.util.escapeQuotes(P.join(", ")),r+=" when property "+e.util.escapeQuotes($)+" 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&&(m+="}",r+=" else { ")}e.errorPath=F;var N=l.baseId;for(var $ in y){var w=y[$];(e.opts.strictKeywords?typeof w=="object"&&Object.keys(w).length>0||w===!1:e.util.schemaHasRules(w,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=w,l.schemaPath=d+e.util.getProperty($),l.errSchemaPath=u+"/"+e.util.escapeFragment($),r+=" "+e.validate(l)+" ",l.baseId=N,r+=" } ",p&&(r+=" if ("+b+") { ",m+="}"))}return p&&(r+=" "+m+" if ("+h+" == errors) {"),r}});var xs=W((rf,Is)=>{"use strict";Is.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||""),h="valid"+s,l=e.opts.$data&&n&&n.$data,m;l?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",m="schema"+s):m=n;var b="i"+s,y="schema"+s;l||(r+=" var "+y+" = validate.schema"+d+";"),r+="var "+h+";",l&&(r+=" if (schema"+s+" === undefined) "+h+" = true; else if (!Array.isArray(schema"+s+")) "+h+" = false; else {"),r+=""+h+" = false;for (var "+b+"=0; "+b+"<"+y+".length; "+b+"++) if (equal("+c+", "+y+"["+b+"])) { "+h+" = true; break; }",l&&(r+=" } "),r+=" if (!"+h+") { ";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 Ts=W((af,Cs)=>{"use strict";Cs.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 h=e.opts.$data&&n&&n.$data,l;h?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n;var m=e.opts.unknownFormats,b=Array.isArray(m);if(h){var y="format"+s,S="isObject"+s,T="formatType"+s;r+=" var "+y+" = formats["+l+"]; var "+S+" = typeof "+y+" == 'object' && !("+y+" instanceof RegExp) && "+y+".validate; var "+T+" = "+S+" && "+y+".type || 'string'; if ("+S+") { ",e.async&&(r+=" var async"+s+" = "+y+".async; "),r+=" "+y+" = "+y+".validate; } if ( ",h&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'string') || "),r+=" (",m!="ignore"&&(r+=" ("+l+" && !"+y+" ",b&&(r+=" && self._opts.unknownFormats.indexOf("+l+") == -1 "),r+=") || "),r+=" ("+y+" && "+T+" == '"+a+"' && !(typeof "+y+" == 'function' ? ",e.async?r+=" (async"+s+" ? await "+y+"("+c+") : "+y+"("+c+")) ":r+=" "+y+"("+c+") ",r+=" : "+y+".test("+c+"))))) {"}else{var y=e.formats[n];if(!y){if(m=="ignore")return e.logger.warn('unknown format "'+n+'" ignored in schema at path "'+e.errSchemaPath+'"'),p&&(r+=" if (true) { "),r;if(b&&m.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 y=="object"&&!(y instanceof RegExp)&&y.validate,T=S&&y.type||"string";if(S){var w=y.async===!0;y=y.validate}if(T!=a)return p&&(r+=" if (true) { "),r;if(w){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 y=="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: ",h?r+=""+l:r+=""+e.util.toQuotedString(n),r+=" } ",e.opts.messages!==!1&&(r+=` , message: 'should match format "`,h?r+="' + "+l+" + '":r+=""+e.util.escapeQuotes(n),r+=`"' `),e.opts.verbose&&(r+=" , schema: ",h?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 Fs=W((sf,Ps)=>{"use strict";Ps.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||""),h="valid"+s,l="errs__"+s,m=e.util.copy(e);m.level++;var b="valid"+m.level,y=e.schema.then,S=e.schema.else,T=y!==void 0&&(e.opts.strictKeywords?typeof y=="object"&&Object.keys(y).length>0||y===!1:e.util.schemaHasRules(y,e.RULES.all)),w=S!==void 0&&(e.opts.strictKeywords?typeof S=="object"&&Object.keys(S).length>0||S===!1:e.util.schemaHasRules(S,e.RULES.all)),P=m.baseId;if(T||w){var F;m.createErrors=!1,m.schema=n,m.schemaPath=d,m.errSchemaPath=u,r+=" var "+l+" = errors; var "+h+" = true; ";var $=e.compositeRule;e.compositeRule=m.compositeRule=!0,r+=" "+e.validate(m)+" ",m.baseId=P,m.createErrors=!0,r+=" errors = "+l+"; if (vErrors !== null) { if ("+l+") vErrors.length = "+l+"; else vErrors = null; } ",e.compositeRule=m.compositeRule=$,T?(r+=" if ("+b+") { ",m.schema=e.schema.then,m.schemaPath=e.schemaPath+".then",m.errSchemaPath=e.errSchemaPath+"/then",r+=" "+e.validate(m)+" ",m.baseId=P,r+=" "+h+" = "+b+"; ",T&&w?(F="ifClause"+s,r+=" var "+F+" = 'then'; "):F="'then'",r+=" } ",w&&(r+=" else { ")):r+=" if (!"+b+") { ",w&&(m.schema=e.schema.else,m.schemaPath=e.schemaPath+".else",m.errSchemaPath=e.errSchemaPath+"/else",r+=" "+e.validate(m)+" ",m.baseId=P,r+=" "+h+" = "+b+"; ",T&&w?(F="ifClause"+s,r+=" var "+F+" = 'else'; "):F="'else'",r+=" } "),r+=" if (!"+h+") { 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 Es=W((nf,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,c="data"+(o||""),h="valid"+s,l="errs__"+s,m=e.util.copy(e),b="";m.level++;var y="valid"+m.level,S="i"+s,T=m.dataLevel=e.dataLevel+1,w="data"+T,P=e.baseId;if(r+="var "+l+" = errors;var "+h+";",Array.isArray(n)){var F=e.schema.additionalItems;if(F===!1){r+=" "+h+" = "+c+".length <= "+n.length+"; ";var $=u;u=e.errSchemaPath+"/additionalItems",r+=" if (!"+h+") { ";var _=_||[];_.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+n.length+" } ",e.opts.messages!==!1&&(r+=" , message: 'should NOT have more than "+n.length+" items' "),e.opts.verbose&&(r+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var L=r;r=_.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,O=-1,q=A.length-1;O<q;)if(R=A[O+=1],e.opts.strictKeywords?typeof R=="object"&&Object.keys(R).length>0||R===!1:e.util.schemaHasRules(R,e.RULES.all)){r+=" "+y+" = true; if ("+c+".length > "+O+") { ";var E=c+"["+O+"]";m.schema=R,m.schemaPath=d+"["+O+"]",m.errSchemaPath=u+"/"+O,m.errorPath=e.util.getPathExpr(e.errorPath,O,e.opts.jsonPointers,!0),m.dataPathArr[T]=O;var D=e.validate(m);m.baseId=P,e.util.varOccurences(D,w)<2?r+=" "+e.util.varReplace(D,w,E)+" ":r+=" var "+w+" = "+E+"; "+D+" ",r+=" } ",p&&(r+=" if ("+y+") { ",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))){m.schema=F,m.schemaPath=e.schemaPath+".additionalItems",m.errSchemaPath=e.errSchemaPath+"/additionalItems",r+=" "+y+" = true; if ("+c+".length > "+n.length+") { for (var "+S+" = "+n.length+"; "+S+" < "+c+".length; "+S+"++) { ",m.errorPath=e.util.getPathExpr(e.errorPath,S,e.opts.jsonPointers,!0);var E=c+"["+S+"]";m.dataPathArr[T]=S;var D=e.validate(m);m.baseId=P,e.util.varOccurences(D,w)<2?r+=" "+e.util.varReplace(D,w,E)+" ":r+=" var "+w+" = "+E+"; "+D+" ",p&&(r+=" if (!"+y+") break; "),r+=" } } ",p&&(r+=" if ("+y+") { ",b+="}")}}else if(e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all)){m.schema=n,m.schemaPath=d,m.errSchemaPath=u,r+=" for (var "+S+" = 0; "+S+" < "+c+".length; "+S+"++) { ",m.errorPath=e.util.getPathExpr(e.errorPath,S,e.opts.jsonPointers,!0);var E=c+"["+S+"]";m.dataPathArr[T]=S;var D=e.validate(m);m.baseId=P,e.util.varOccurences(D,w)<2?r+=" "+e.util.varReplace(D,w,E)+" ":r+=" var "+w+" = "+E+"; "+D+" ",p&&(r+=" if (!"+y+") break; "),r+=" }"}return p&&(r+=" "+b+" if ("+l+" == errors) {"),r}});var xi=W((of,$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,P,c="data"+(o||""),h=e.opts.$data&&n&&n.$data,l;h?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n;var m=i=="maximum",b=m?"exclusiveMaximum":"exclusiveMinimum",y=e.schema[b],S=e.opts.$data&&y&&y.$data,T=m?"<":">",w=m?">":"<",P=void 0;if(!(h||typeof n=="number"||n===void 0))throw new Error(i+" must be number");if(!(S||y===void 0||typeof y=="number"||typeof y=="boolean"))throw new Error(b+" must be number or boolean");if(S){var F=e.util.getData(y.$data,o,e.dataPathArr),$="exclusive"+s,_="exclType"+s,L="exclIsNumber"+s,A="op"+s,R="' + "+A+" + '";r+=" var schemaExcl"+s+" = "+F+"; ",F="schemaExcl"+s,r+=" var "+$+"; var "+_+" = typeof "+F+"; if ("+_+" != 'boolean' && "+_+" != 'undefined' && "+_+" != 'number') { ";var P=b,O=O||[];O.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 q=r;r=O.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+q+"]); ":r+=" validate.errors = ["+q+"]; return false; ":r+=" var err = "+q+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else if ( ",h&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),r+=" "+_+" == 'number' ? ( ("+$+" = "+l+" === undefined || "+F+" "+T+"= "+l+") ? "+c+" "+w+"= "+F+" : "+c+" "+w+" "+l+" ) : ( ("+$+" = "+F+" === true) ? "+c+" "+w+"= "+l+" : "+c+" "+w+" "+l+" ) || "+c+" !== "+c+") { var op"+s+" = "+$+" ? '"+T+"' : '"+T+"='; ",n===void 0&&(P=b,u=e.errSchemaPath+"/"+b,l=F,h=S)}else{var L=typeof y=="number",R=T;if(L&&h){var A="'"+R+"'";r+=" if ( ",h&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),r+=" ( "+l+" === undefined || "+y+" "+T+"= "+l+" ? "+c+" "+w+"= "+y+" : "+c+" "+w+" "+l+" ) || "+c+" !== "+c+") { "}else{L&&n===void 0?($=!0,P=b,u=e.errSchemaPath+"/"+b,l=y,w+="="):(L&&(l=Math[m?"min":"max"](y,n)),y===(L?l:!0)?($=!0,P=b,u=e.errSchemaPath+"/"+b,w+="="):($=!1,R+="="));var A="'"+R+"'";r+=" if ( ",h&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),r+=" "+c+" "+w+" "+l+" || "+c+" !== "+c+") { "}}P=P||i;var O=O||[];O.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+" ",h?r+="' + "+l:r+=""+l+"'"),e.opts.verbose&&(r+=" , schema: ",h?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var q=r;return r=O.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+q+"]); ":r+=" validate.errors = ["+q+"]; return false; ":r+=" var err = "+q+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",p&&(r+=" else { "),r}});var Ci=W((lf,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,b,c="data"+(o||""),h=e.opts.$data&&n&&n.$data,l;if(h?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n,!(h||typeof n=="number"))throw new Error(i+" must be number");var m=i=="maxItems"?">":"<";r+="if ( ",h&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),r+=" "+c+".length "+m+" "+l+") { ";var b=i,y=y||[];y.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 ",h?r+="' + "+l+" + '":r+=""+n,r+=" items' "),e.opts.verbose&&(r+=" , schema: ",h?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var S=r;return r=y.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((df,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,b,c="data"+(o||""),h=e.opts.$data&&n&&n.$data,l;if(h?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n,!(h||typeof n=="number"))throw new Error(i+" must be number");var m=i=="maxLength"?">":"<";r+="if ( ",h&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),e.opts.unicode===!1?r+=" "+c+".length ":r+=" ucs2length("+c+") ",r+=" "+m+" "+l+") { ";var b=i,y=y||[];y.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 ",h?r+="' + "+l+" + '":r+=""+n,r+=" characters' "),e.opts.verbose&&(r+=" , schema: ",h?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var S=r;return r=y.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 Pi=W((pf,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,b,c="data"+(o||""),h=e.opts.$data&&n&&n.$data,l;if(h?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n,!(h||typeof n=="number"))throw new Error(i+" must be number");var m=i=="maxProperties"?">":"<";r+="if ( ",h&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'number') || "),r+=" Object.keys("+c+").length "+m+" "+l+") { ";var b=i,y=y||[];y.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 ",h?r+="' + "+l+" + '":r+=""+n,r+=" properties' "),e.opts.verbose&&(r+=" , schema: ",h?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var S=r;return r=y.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 js=W((cf,Rs)=>{"use strict";Rs.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||""),h=e.opts.$data&&n&&n.$data,l;if(h?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n,!(h||typeof n=="number"))throw new Error(i+" must be number");r+="var division"+s+";if (",h&&(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+=" ) ",h&&(r+=" ) "),r+=" ) { ";var m=m||[];m.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 ",h?r+="' + "+l:r+=""+l+"'"),e.opts.verbose&&(r+=" , schema: ",h?r+="validate.schema"+d:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var b=r;return r=m.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 qs=W((uf,_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,c="data"+(o||""),h="errs__"+s,l=e.util.copy(e);l.level++;var m="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 "+h+" = errors; ";var b=e.compositeRule;e.compositeRule=l.compositeRule=!0,l.createErrors=!1;var y;l.opts.allErrors&&(y=l.opts.allErrors,l.opts.allErrors=!1),r+=" "+e.validate(l)+" ",l.createErrors=!0,y&&(l.opts.allErrors=y),e.compositeRule=l.compositeRule=b,r+=" if ("+m+") { ";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 = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; 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 ks=W((ff,Bs)=>{"use strict";Bs.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||""),h="valid"+s,l="errs__"+s,m=e.util.copy(e),b="";m.level++;var y="valid"+m.level,S=m.baseId,T="prevValid"+s,w="passingSchemas"+s;r+="var "+l+" = errors , "+T+" = false , "+h+" = false , "+w+" = null; ";var P=e.compositeRule;e.compositeRule=m.compositeRule=!0;var F=n;if(F)for(var $,_=-1,L=F.length-1;_<L;)$=F[_+=1],(e.opts.strictKeywords?typeof $=="object"&&Object.keys($).length>0||$===!1:e.util.schemaHasRules($,e.RULES.all))?(m.schema=$,m.schemaPath=d+"["+_+"]",m.errSchemaPath=u+"/"+_,r+=" "+e.validate(m)+" ",m.baseId=S):r+=" var "+y+" = true; ",_&&(r+=" if ("+y+" && "+T+") { "+h+" = false; "+w+" = ["+w+", "+_+"]; } else { ",b+="}"),r+=" if ("+y+") { "+h+" = "+T+" = true; "+w+" = "+_+"; }";return e.compositeRule=m.compositeRule=P,r+=""+b+"if (!"+h+") { var err = ",e.createErrors!==!1?(r+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { passingSchemas: "+w+" } ",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 Ws=W((hf,Ns)=>{"use strict";Ns.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||""),h=e.opts.$data&&n&&n.$data,l;h?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",l="schema"+s):l=n;var m=h?"(new RegExp("+l+"))":e.usePattern(n);r+="if ( ",h&&(r+=" ("+l+" !== undefined && typeof "+l+" != 'string') || "),r+=" !"+m+".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: ",h?r+=""+l:r+=""+e.util.toQuotedString(n),r+=" } ",e.opts.messages!==!1&&(r+=` , message: 'should match pattern "`,h?r+="' + "+l+" + '":r+=""+e.util.escapeQuotes(n),r+=`"' `),e.opts.verbose&&(r+=" , schema: ",h?r+="validate.schema"+d:r+=""+e.util.toQuotedString(n),r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var y=r;return r=b.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+y+"]); ":r+=" validate.errors = ["+y+"]; return false; ":r+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",p&&(r+=" else { "),r}});var zs=W((yf,Ms)=>{"use strict";Ms.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||""),h="errs__"+s,l=e.util.copy(e),m="";l.level++;var b="valid"+l.level,y="key"+s,S="idx"+s,T=l.dataLevel=e.dataLevel+1,w="data"+T,P="dataProperties"+s,F=Object.keys(n||{}).filter(G),$=e.schema.patternProperties||{},_=Object.keys($).filter(G),L=e.schema.additionalProperties,A=F.length||_.length,R=L===!1,O=typeof L=="object"&&Object.keys(L).length,q=e.opts.removeAdditional,E=R||O||q,D=e.opts.ownProperties,B=e.baseId,ee=e.schema.required;if(ee&&!(e.opts.$data&&ee.$data)&&ee.length<e.opts.loopRequired)var V=e.util.toHash(ee);function G(We){return We!=="__proto__"}if(r+="var "+h+" = errors;var "+b+" = true;",D&&(r+=" var "+P+" = undefined;"),E){if(D?r+=" "+P+" = "+P+" || Object.keys("+c+"); for (var "+S+"=0; "+S+"<"+P+".length; "+S+"++) { var "+y+" = "+P+"["+S+"]; ":r+=" for (var "+y+" in "+c+") { ",A){if(r+=" var isAdditional"+s+" = !(false ",F.length)if(F.length>8)r+=" || validate.schema"+d+".hasOwnProperty("+y+") ";else{var z=F;if(z)for(var N,pe=-1,Ce=z.length-1;pe<Ce;)N=z[pe+=1],r+=" || "+y+" == "+e.util.toQuotedString(N)+" "}if(_.length){var Ee=_;if(Ee)for(var J,me=-1,we=Ee.length-1;me<we;)J=Ee[me+=1],r+=" || "+e.usePattern(J)+".test("+y+") "}r+=" ); if (isAdditional"+s+") { "}if(q=="all")r+=" delete "+c+"["+y+"]; ";else{var $e=e.errorPath,nt="' + "+y+" + '";if(e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(e.errorPath,y,e.opts.jsonPointers)),R)if(q)r+=" delete "+c+"["+y+"]; ";else{r+=" "+b+" = false; ";var Ye=u;u=e.errSchemaPath+"/additionalProperties";var ge=ge||[];ge.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'additionalProperties' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { additionalProperty: '"+nt+"' } ",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=ge.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=Ye,p&&(r+=" break; ")}else if(O)if(q=="failing"){r+=" var "+h+" = errors; ";var gt=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,y,e.opts.jsonPointers);var Te=c+"["+y+"]";l.dataPathArr[T]=y;var Y=e.validate(l);l.baseId=B,e.util.varOccurences(Y,w)<2?r+=" "+e.util.varReplace(Y,w,Te)+" ":r+=" var "+w+" = "+Te+"; "+Y+" ",r+=" if (!"+b+") { errors = "+h+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+c+"["+y+"]; } ",e.compositeRule=l.compositeRule=gt}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,y,e.opts.jsonPointers);var Te=c+"["+y+"]";l.dataPathArr[T]=y;var Y=e.validate(l);l.baseId=B,e.util.varOccurences(Y,w)<2?r+=" "+e.util.varReplace(Y,w,Te)+" ":r+=" var "+w+" = "+Te+"; "+Y+" ",p&&(r+=" if (!"+b+") break; ")}e.errorPath=$e}A&&(r+=" } "),r+=" } ",p&&(r+=" if ("+b+") { ",m+="}")}var ot=e.opts.useDefaults&&!e.compositeRule;if(F.length){var Xe=F;if(Xe)for(var N,bt=-1,vt=Xe.length-1;bt<vt;){N=Xe[bt+=1];var Ie=n[N];if(e.opts.strictKeywords?typeof Ie=="object"&&Object.keys(Ie).length>0||Ie===!1:e.util.schemaHasRules(Ie,e.RULES.all)){var qe=e.util.getProperty(N),Te=c+qe,De=ot&&Ie.default!==void 0;l.schema=Ie,l.schemaPath=d+qe,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,w)<2){Y=e.util.varReplace(Y,w,Te);var Oe=Te}else{var Oe=w;r+=" var "+w+" = "+Te+"; "}if(De)r+=" "+Y+" ";else{if(V&&V[N]){r+=" if ( "+Oe+" === undefined ",D&&(r+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(N)+"') "),r+=") { "+b+" = false; ";var $e=e.errorPath,Ye=u,Ge=e.util.escapeQuotes(N);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath($e,N,e.opts.jsonPointers)),u=e.errSchemaPath+"/required";var ge=ge||[];ge.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=ge.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=Ye,e.errorPath=$e,r+=" } else { "}else p?(r+=" if ( "+Oe+" === undefined ",D&&(r+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(N)+"') "),r+=") { "+b+" = true; } else { "):(r+=" if ("+Oe+" !== undefined ",D&&(r+=" && Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(N)+"') "),r+=" ) { ");r+=" "+Y+" } "}}p&&(r+=" if ("+b+") { ",m+="}")}}if(_.length){var Re=_;if(Re)for(var J,pr=-1,Zr=Re.length-1;pr<Zr;){J=Re[pr+=1];var Ie=$[J];if(e.opts.strictKeywords?typeof Ie=="object"&&Object.keys(Ie).length>0||Ie===!1:e.util.schemaHasRules(Ie,e.RULES.all)){l.schema=Ie,l.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(J),l.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(J),D?r+=" "+P+" = "+P+" || Object.keys("+c+"); for (var "+S+"=0; "+S+"<"+P+".length; "+S+"++) { var "+y+" = "+P+"["+S+"]; ":r+=" for (var "+y+" in "+c+") { ",r+=" if ("+e.usePattern(J)+".test("+y+")) { ",l.errorPath=e.util.getPathExpr(e.errorPath,y,e.opts.jsonPointers);var Te=c+"["+y+"]";l.dataPathArr[T]=y;var Y=e.validate(l);l.baseId=B,e.util.varOccurences(Y,w)<2?r+=" "+e.util.varReplace(Y,w,Te)+" ":r+=" var "+w+" = "+Te+"; "+Y+" ",p&&(r+=" if (!"+b+") break; "),r+=" } ",p&&(r+=" else "+b+" = true; "),r+=" } ",p&&(r+=" if ("+b+") { ",m+="}")}}}return p&&(r+=" "+m+" if ("+h+" == errors) {"),r}});var Us=W((mf,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||""),h="errs__"+s,l=e.util.copy(e),m="";l.level++;var b="valid"+l.level;if(r+="var "+h+" = 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 y="key"+s,S="idx"+s,T="i"+s,w="' + "+y+" + '",P=l.dataLevel=e.dataLevel+1,F="data"+P,$="dataProperties"+s,_=e.opts.ownProperties,L=e.baseId;_&&(r+=" var "+$+" = undefined; "),_?r+=" "+$+" = "+$+" || Object.keys("+c+"); for (var "+S+"=0; "+S+"<"+$+".length; "+S+"++) { var "+y+" = "+$+"["+S+"]; ":r+=" for (var "+y+" in "+c+") { ",r+=" var startErrs"+s+" = errors; ";var A=y,R=e.compositeRule;e.compositeRule=l.compositeRule=!0;var O=e.validate(l);l.baseId=L,e.util.varOccurences(O,F)<2?r+=" "+e.util.varReplace(O,F,A)+" ":r+=" var "+F+" = "+A+"; "+O+" ",e.compositeRule=l.compositeRule=R,r+=" if (!"+b+") { for (var "+T+"=startErrs"+s+"; "+T+"<errors; "+T+"++) { vErrors["+T+"].propertyName = "+y+"; } var err = ",e.createErrors!==!1?(r+=" { keyword: 'propertyNames' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { propertyName: '"+w+"' } ",e.opts.messages!==!1&&(r+=" , message: 'property name \\'"+w+"\\' 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+=" "+m+" if ("+h+" == errors) {"),r}});var Hs=W((gf,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||""),h="valid"+s,l=e.opts.$data&&n&&n.$data,m;l?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",m="schema"+s):m=n;var b="schema"+s;if(!l)if(n.length<e.opts.loopRequired&&e.schema.properties&&Object.keys(e.schema.properties).length){var y=[],S=n;if(S)for(var T,w=-1,P=S.length-1;w<P;){T=S[w+=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))||(y[y.length]=T)}}else var y=n;if(l||y.length){var $=e.errorPath,_=l||y.length>=e.opts.loopRequired,L=e.opts.ownProperties;if(p)if(r+=" var missing"+s+"; ",_){l||(r+=" var "+b+" = validate.schema"+d+"; ");var A="i"+s,R="schema"+s+"["+A+"]",O="' + "+R+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr($,R,e.opts.jsonPointers)),r+=" var "+h+" = true; ",l&&(r+=" if (schema"+s+" === undefined) "+h+" = true; else if (!Array.isArray(schema"+s+")) "+h+" = false; else {"),r+=" for (var "+A+" = 0; "+A+" < "+b+".length; "+A+"++) { "+h+" = "+c+"["+b+"["+A+"]] !== undefined ",L&&(r+=" && Object.prototype.hasOwnProperty.call("+c+", "+b+"["+A+"]) "),r+="; if (!"+h+") break; } ",l&&(r+=" } "),r+=" if (!"+h+") { ";var q=q||[];q.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+O+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+O+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var E=r;r=q.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 D=y;if(D)for(var B,A=-1,ee=D.length-1;A<ee;){B=D[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,O="' + "+R+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr($,R,!0):$+" + "+R);var q=q||[];q.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+O+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+O+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var E=r;r=q.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(_){l||(r+=" var "+b+" = validate.schema"+d+"; ");var A="i"+s,R="schema"+s+"["+A+"]",O="' + "+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: '"+O+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+O+"\\'",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: '"+O+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+O+"\\'",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=y;if(z)for(var B,N=-1,pe=z.length-1;N<pe;){B=z[N+=1];var V=e.util.getProperty(B),O=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: '"+O+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+O+"\\'",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 Js=W((bf,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||""),h="valid"+s,l=e.opts.$data&&n&&n.$data,m;if(l?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",m="schema"+s):m=n,(n||l)&&e.opts.uniqueItems!==!1){l&&(r+=" var "+h+"; if ("+m+" === false || "+m+" === undefined) "+h+" = true; else if (typeof "+m+" != 'boolean') "+h+" = false; else { "),r+=" var i = "+c+".length , "+h+" = true , j; if (i > 1) { ";var b=e.schema.items&&e.schema.items.type,y=Array.isArray(b);if(!b||b=="object"||b=="array"||y&&(b.indexOf("object")>=0||b.indexOf("array")>=0))r+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+c+"[i], "+c+"[j])) { "+h+" = false; break outer; } } } ";else{r+=" var itemIndices = {}, item; for (;i--;) { var item = "+c+"[i]; ";var S="checkDataType"+(y?"s":"");r+=" if ("+e.util[S](b,"item",e.opts.strictNumbers,!0)+") continue; ",y&&(r+=` if (typeof item == 'string') item = '"' + item; `),r+=" if (typeof itemIndices[item] == 'number') { "+h+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}r+=" } ",l&&(r+=" } "),r+=" if (!"+h+") { ";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 w=r;r=T.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+w+"]); ":r+=" validate.errors = ["+w+"]; return false; ":r+=" var err = "+w+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",p&&(r+=" else { ")}else p&&(r+=" if (true) { ");return r}});var Zs=W((vf,Ks)=>{"use strict";Ks.exports={$ref:ds(),allOf:cs(),anyOf:fs(),$comment:ys(),const:gs(),contains:vs(),dependencies:ws(),enum:xs(),format:Ts(),if:Fs(),items:Es(),maximum:xi(),minimum:xi(),maxItems:Ci(),minItems:Ci(),maxLength:Ti(),minLength:Ti(),maxProperties:Pi(),minProperties:Pi(),multipleOf:js(),not:qs(),oneOf:ks(),pattern:Ws(),properties:zs(),propertyNames:Us(),required:Hs(),uniqueItems:Js(),validate:wi()}});var en=W((Sf,Xs)=>{"use strict";var Ys=Zs(),Fi=Ct().toHash;Xs.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=Fi(i),e.types=Fi(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:Ys[o],implements:n};return u}),e.all.$comment={keyword:"$comment",code:Ys.$comment},s.type&&(e.types[s.type]=s)}),e.keywords=Fi(i.concat(a)),e.custom={},e}});var an=W((wf,rn)=>{"use strict";var tn=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];rn.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<tn.length;s++){var o=tn[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 on=W((If,nn)=>{"use strict";var _l=Fr().MissingRef;nn.exports=sn;function sn(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)?sn.call(a,{$ref:d},!0):Promise.resolve()}function o(n){try{return a._compile(n)}catch(u){if(u instanceof _l)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(h,h)),c.then(function(m){if(!l(p))return s(m).then(function(){l(p)||a.addSchema(m,p,void 0,e)})}).then(function(){return o(n)});function h(){delete a._loadingSchemas[p]}function l(m){return a._refs[m]||a._schemas[m]}}}}});var dn=W((xf,ln)=>{"use strict";ln.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,h="data"+(o||""),l="valid"+s,m="errs__"+s,b=e.opts.$data&&n&&n.$data,y;b?(r+=" var schema"+s+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",y="schema"+s):y=n;var S=this,T="definition"+s,w=S.definition,P="",F,$,_,L,A;if(b&&w.$data){A="keywordValidate"+s;var R=w.validateSchema;r+=" var "+T+" = RULES.custom['"+i+"'].definition; var "+A+" = "+T+".validate;"}else{if(L=e.useCustomRule(S,n,e.schema,e),!L)return;y="validate.schema"+d,A=L.code,F=w.compile,$=w.inline,_=w.macro}var O=A+".errors",q="i"+s,E="ruleErr"+s,D=w.async;if(D&&!e.async)throw new Error("async keyword in sync schema");if($||_||(r+=""+O+" = null;"),r+="var "+m+" = errors;var "+l+";",b&&w.$data&&(P+="}",r+=" if ("+y+" === undefined) { "+l+" = true; } else { ",R&&(P+="}",r+=" "+l+" = "+T+".validateSchema("+y+"); if ("+l+") { ")),$)w.statements?r+=" "+L.validate+" ":r+=" "+l+" = "+L.validate+"; ";else if(_){var B=e.util.copy(e),P="";B.level++;var ee="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||w.schema===!1?r+=" , "+h+" ":r+=" , "+y+" , "+h+" , 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 Ce=r;r=z.pop(),w.errors===!1?(r+=" "+l+" = ",D&&(r+="await "),r+=""+Ce+"; "):D?(O="customErrors"+s,r+=" var "+O+" = null; try { "+l+" = await "+Ce+"; } catch (e) { "+l+" = false; if (e instanceof ValidationError) "+O+" = e.errors; else throw e; } "):r+=" "+O+" = null; "+l+" = "+Ce+"; "}if(w.modifying&&(r+=" if ("+N+") "+h+" = "+N+"["+pe+"];"),r+=""+P,w.valid)p&&(r+=" if (true) { ");else{r+=" if ( ",w.valid===void 0?(r+=" !",_?r+=""+ee:r+=""+l):r+=" "+!w.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: "+h+" "),r+=" } "):r+=" {} ";var Ee=r;r=z.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+Ee+"]); ":r+=" validate.errors = ["+Ee+"]; return false; ":r+=" var err = "+Ee+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";var J=r;r=z.pop(),$?w.errors?w.errors!="full"&&(r+=" for (var "+q+"="+m+"; "+q+"<errors; "+q+"++) { var "+E+" = vErrors["+q+"]; if ("+E+".dataPath === undefined) "+E+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+E+".schemaPath === undefined) { "+E+'.schemaPath = "'+u+'"; } ',e.opts.verbose&&(r+=" "+E+".schema = "+y+"; "+E+".data = "+h+"; "),r+=" } "):w.errors===!1?r+=" "+J+" ":(r+=" if ("+m+" == errors) { "+J+" } else { for (var "+q+"="+m+"; "+q+"<errors; "+q+"++) { var "+E+" = vErrors["+q+"]; if ("+E+".dataPath === undefined) "+E+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+E+".schemaPath === undefined) { "+E+'.schemaPath = "'+u+'"; } ',e.opts.verbose&&(r+=" "+E+".schema = "+y+"; "+E+".data = "+h+"; "),r+=" } } "):_?(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: "+h+" "),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; ")):w.errors===!1?r+=" "+J+" ":(r+=" if (Array.isArray("+O+")) { if (vErrors === null) vErrors = "+O+"; else vErrors = vErrors.concat("+O+"); errors = vErrors.length; for (var "+q+"="+m+"; "+q+"<errors; "+q+"++) { var "+E+" = vErrors["+q+"]; if ("+E+".dataPath === undefined) "+E+".dataPath = (dataPath || '') + "+e.errorPath+"; "+E+'.schemaPath = "'+u+'"; ',e.opts.verbose&&(r+=" "+E+".schema = "+y+"; "+E+".data = "+h+"; "),r+=" } } else { "+J+" } "),r+=" } ",p&&(r+=" else { ")}return r}});var Ai=W((Cf,ql)=>{ql.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 un=W((Tf,cn)=>{"use strict";var pn=Ai();cn.exports={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:pn.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:pn.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 hn=W((Pf,fn)=>{"use strict";var Bl=/^[a-z_$][a-z0-9_$-]*$/i,kl=dn(),Nl=un();fn.exports={add:Wl,get:Ml,remove:zl,validate:Ei};function Wl(t,e){var i=this.RULES;if(i.keywords[t])throw new Error("Keyword "+t+" is already defined");if(!Bl.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 h=i[c];if(h.type==d){p=h;break}}p||(p={type:d,rules:[]},i.push(p));var l={keyword:n,definition:u,custom:!0,code:kl,implements:u.implements};p.rules.push(l),i.custom[n]=l}return this}function Ml(t){var e=this.RULES.custom[t];return e?e.definition:this.RULES.keywords[t]||!1}function zl(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 Ei(t,e){Ei.errors=null;var i=this._validateKeyword=this._validateKeyword||this.compile(Nl,!0);if(i(t))return!0;if(Ei.errors=i.errors,e)throw new Error("custom keyword definition is invalid: "+this.errorsText(i.errors));return!1}});var yn=W((Ff,Vl)=>{Vl.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 Tn=W((Af,Cn)=>{"use strict";var gn=Ha(),Tt=Pr(),Ul=Ja(),bn=hi(),Gl=Si(),Hl=os(),Ql=en(),vn=an(),Sn=Ct();Cn.exports=ue;ue.prototype.validate=Kl;ue.prototype.compile=Zl;ue.prototype.addSchema=Yl;ue.prototype.addMetaSchema=Xl;ue.prototype.validateSchema=ed;ue.prototype.getSchema=rd;ue.prototype.removeSchema=ad;ue.prototype.addFormat=ud;ue.prototype.errorsText=cd;ue.prototype._addSchema=sd;ue.prototype._compile=nd;ue.prototype.compileAsync=on();var jr=hn();ue.prototype.addKeyword=jr.add;ue.prototype.getKeyword=jr.get;ue.prototype.removeKeyword=jr.remove;ue.prototype.validateKeyword=jr.validate;var wn=Fr();ue.ValidationError=wn.Validation;ue.MissingRefError=wn.MissingRef;ue.$dataMetaSchema=vn;var Rr="http://json-schema.org/draft-07/schema",mn=["removeAdditional","useDefaults","coerceTypes","strictDefaults"],Jl=["/properties"];function ue(t){if(!(this instanceof ue))return new ue(t);t=this._opts=Sn.copy(t)||{},bd(this),this._schemas={},this._refs={},this._fragments={},this._formats=Hl(t.format),this._cache=t.cache||new Ul,this._loadingSchemas={},this._compilations=[],this.RULES=Ql(),this._getId=od(t),t.loopRequired=t.loopRequired||1/0,t.errorDataPath=="property"&&(t._errorDataPathProperty=!0),t.serialize===void 0&&(t.serialize=Gl),this._metaOpts=gd(this),t.formats&&yd(this),t.keywords&&md(this),fd(this),typeof t.meta=="object"&&this.addMetaSchema(t.meta),t.nullable&&this.addKeyword("nullable",{metaSchema:{type:"boolean"}}),hd(this)}function Kl(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 Zl(t,e){var i=this._addSchema(t,void 0,e);return i.validate||this._compile(i)}function Yl(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=Tt.normalizeId(e||s),xn(this,e),this._schemas[e]=this._addSchema(t,i,a,!0),this}function Xl(t,e,i){return this.addSchema(t,e,i,!0),this}function ed(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||td(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 td(t){var e=t._opts.meta;return t._opts.defaultMeta=typeof e=="object"?t._getId(e)||e:t.getSchema(Rr)?Rr:void 0,t._opts.defaultMeta}function rd(t){var e=In(this,t);switch(typeof e){case"object":return e.validate||this._compile(e);case"string":return this.getSchema(e);case"undefined":return id(this,t)}}function id(t,e){var i=Tt.schema.call(t,{schema:{}},e);if(i){var a=i.schema,r=i.root,s=i.baseId,o=gn.call(t,a,r,void 0,s);return t._fragments[e]=new bn({ref:e,fragment:!0,schema:a,root:r,baseId:s,validate:o}),o}}function In(t,e){return e=Tt.normalizeId(e),t._schemas[e]||t._refs[e]||t._fragments[e]}function ad(t){if(t instanceof RegExp)return Lr(this,this._schemas,t),Lr(this,this._refs,t),this;switch(typeof t){case"undefined":return Lr(this,this._schemas),Lr(this,this._refs),this._cache.clear(),this;case"string":var e=In(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=Tt.normalizeId(r),delete this._schemas[r],delete this._refs[r])}return this}function Lr(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 sd(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=Tt.normalizeId(this._getId(t));n&&a&&xn(this,n);var d=this._opts.validateSchema!==!1&&!e,u;d&&!(u=n&&n==Tt.normalizeId(t.$schema))&&this.validateSchema(t,!0);var p=Tt.ids.call(this,t),c=new bn({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 nd(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=gn.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 od(t){switch(t.schemaId){case"auto":return pd;case"id":return ld;default:return dd}}function ld(t){return t.$id&&this.logger.warn("schema $id ignored",t.$id),t.id}function dd(t){return t.id&&this.logger.warn("schema id ignored",t.id),t.$id}function pd(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 cd(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 ud(t,e){return typeof e=="string"&&(e=new RegExp(e)),this._formats[t]=e,this}function fd(t){var e;if(t._opts.$data&&(e=yn(),t.addMetaSchema(e,e.$id,!0)),t._opts.meta!==!1){var i=Ai();t._opts.$data&&(i=vn(i,Jl)),t.addMetaSchema(i,Rr,!0),t._refs["http://json-schema.org/schema"]=Rr}}function hd(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 yd(t){for(var e in t._opts.formats){var i=t._opts.formats[e];t.addFormat(e,i)}}function md(t){for(var e in t._opts.keywords){var i=t._opts.keywords[e];t.addKeyword(e,i)}}function xn(t,e){if(t._schemas[e]||t._refs[e])throw new Error('schema with key or id "'+e+'" already exists')}function gd(t){for(var e=Sn.copy(t._opts),i=0;i<mn.length;i++)delete e[mn[i]];return e}function bd(t){var e=t._opts.logger;if(e===!1)t.logger={log:$i,warn:$i,error:$i};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 $i(){}});var An=W((Ef,Di)=>{function vd(t,e){var i=e&&e.cache?e.cache:Td,a=e&&e.serializer?e.serializer:Cd,r=e&&e.strategy?e.strategy:wd;return r(t,{cache:i,serializer:a})}function Sd(t){return t==null||typeof t=="number"||typeof t=="boolean"}function Pn(t,e,i,a){var r=Sd(a)?a:i(a),s=e.get(r);return typeof s>"u"&&(s=t.call(this,a),e.set(r,s)),s}function Fn(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 Oi(t,e,i,a,r){return i.bind(e,t,a,r)}function wd(t,e){var i=t.length===1?Pn:Fn;return Oi(t,this,i,e.cache.create(),e.serializer)}function Id(t,e){var i=Fn;return Oi(t,this,i,e.cache.create(),e.serializer)}function xd(t,e){var i=Pn;return Oi(t,this,i,e.cache.create(),e.serializer)}function Cd(){return JSON.stringify(arguments)}function _r(){this.cache=Object.create(null)}_r.prototype.has=function(t){return t in this.cache};_r.prototype.get=function(t){return this.cache[t]};_r.prototype.set=function(t,e){this.cache[t]=e};var Td={create:function(){return new _r}};Di.exports=vd;Di.exports.strategies={variadic:Id,monadic:xd}});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 gr=class extends Map{constructor(e,i=Bo){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(ba(this,e))}has(e){return super.has(ba(this,e))}set(e,i){return super.set(_o(this,e),i)}delete(e){return super.delete(qo(this,e))}};function ba({_intern:t,_key:e},i){let a=e(i);return t.has(a)?t.get(a):i}function _o({_intern:t,_key:e},i){let a=e(i);return t.has(a)?t.get(a):(t.set(a,i),i)}function qo({_intern:t,_key:e},i){let a=e(i);return t.has(a)&&(i=t.get(a),t.delete(a)),i}function Bo(t){return t!==null&&typeof t=="object"?t.valueOf():t}function ni(t){return t}function ko(t,e,...i){return No(t,ni,e,i)}function No(t,e,i,a){return function r(s,o){if(o>=a.length)return i(s);let n=new gr,d=a[o++],u=-1;for(let p of s){let c=d(p,++u,s),h=n.get(c);h?h.push(p):n.set(c,[p])}for(let[p,c]of n)n.set(p,r(c,o));return e(n)}(t,0)}function va(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 Sa(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 wa(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 Ia(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 xa(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 qn=la(Tn(),1);var Nn=la(An(),1);var En={Count:"count",Start:"minValue",End:"maxValue"},Mn={Reject:"reject",RenderUpToTheLimit:"renderUpToTheLimit"},U={AxisLabels:"axisLabels",GuideLabel:"guideLabel",AxisTitle:"axisTitle",ChartTitle:"chartTitle",ChartSubtitle:"chartSubtitle",DataLabels:"dataLabels",LegendTitle:"legendTitle",LegendText:"legendText",DescriptionText:"descriptionText"},Jf=32,Kf="arcgis_charts_features_extent",Ft={maxRecordCountFactor:5,maxParallelRequests:4,maxRecords:2e3,orderByJSAPIDelimiter:" ",outStatistics:{statisticType:pa.statisticType,onStatisticField:"OBJECTID",outStatisticFieldName:"arcgis_charts_outStatisticFieldName_default_key"},uniqueIdsName:"arcgisChartsUniqueIds"},Ld=["EXPR_1","Expr1","expr1","EXPR1"],Zf=1,ze=.7,Rd=25,zn=[156,156,156,255],jd=[156,156,156,255],Yf=Wt.Solid,Xf=2,eh={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"},Mi="arcgis_charts_box_plot_category",_d={valueField:"arcgis_charts_heat_chart_value",xField:"arcgis_charts_heat_chart_x",yField:"arcgis_charts_heat_chart_y"},qd=[[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]],Bd=[[104,104,104,255],[51,124,235,255],[132,0,168,255],[156,156,156,255]];function Ke(t){let{colorIndex:e,opacity:i,histogramOverlays:a}=t,r=Math.max(0,e??0),s=[...a===!0?Bd:qd],[o,n,d,u]=s[r%s.length],p=i!==void 0?i*255:u;return[o,n,d,p]}function Vn(t){return[0,0,0,(t??ze)*255]}function th(){return{type:C.CursorCrosshair,verticalLineVisible:!1,horizontalLineVisible:!1,style:{type:Fe.SLS,style:Wt.Dot,color:[211,211,211,255],width:1}}}function Qr(t=1){return[Math.floor(Math.random()*256),Math.floor(Math.random()*256),Math.floor(Math.random()*256),t*255]}function re(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 Un(t="",e=re(),i){let a=hr.Center;return(i===U.DataLabels||i===U.GuideLabel)&&(a=void 0),{type:Fe.TS,color:Vn(),text:t,font:e,horizontalAlignment:a}}function Z(t){let{text:e,visible:i,font:a,type:r}=t??{text:"",visible:!0,font:re()};return{type:C.Text,visible:i,content:Un(e,a,r)}}function or(t){let e=t?.useRandomColor??!1,i=t?.useRampColor,a=t?.width??1,r=t?.isHistogramOverlay,s=t?.color??Vn(1);return e?s=Qr():i!==void 0&&(r===!0?s=Ke({colorIndex:i.colorIndex,histogramOverlays:r}):s=Ke({colorIndex:i.colorIndex})),t?.opacity!==void 0&&(s[3]=t.opacity),{type:Fe.SLS,style:Wt.Solid,color:s,width:a}}function kd(){return{type:C.CategoryAxisFormat,characterLimit:11}}function rh(){return{type:C.DateAxisFormat,intlOptions:{}}}function qi(){return{type:C.NumberAxisFormat,intlOptions:{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:3,useGrouping:!0}}}function ih(){return{type:C.NumberAxisFormat,intlOptions:{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:2}}}function ah(){return{type:C.NumberAxisFormat,intlOptions:{style:"percent",minimumFractionDigits:0,maximumFractionDigits:0}}}function $n(t="Category Axis"){let e=Z({text:t,visible:!0,font:re(U.AxisTitle)});e.content.horizontalAlignment=hr.Center,e.content.verticalAlignment=ai.Middle;let i=Z({text:t,visible:!0,font:re(U.AxisLabels)});return{type:C.Axis,visible:!0,title:e,labels:i,valueFormat:kd(),lineSymbol:or({color:zn})}}function Mr(t="Value Axis"){let e=Z({text:t,visible:!0,font:re(U.AxisTitle)}),i=Z({text:t,visible:!0,font:re(U.AxisLabels)});return e.content.verticalAlignment=ai.Middle,e.content.horizontalAlignment=hr.Center,{type:C.Axis,visible:!0,title:e,labels:i,valueFormat:qi(),lineSymbol:or({color:zn})}}function At(){return{type:C.Legend,visible:!0,title:Z({text:"",visible:!0,font:re(U.LegendTitle)}),body:Un("",re(U.LegendText)),position:da.Right,maxHeight:Number.NaN}}function qr(t){return{type:C.Overlay,visible:!0,created:!1,symbol:or({useRampColor:{colorIndex:t},isHistogramOverlay:!0})}}function Et(){return[255,255,255,255]}async function yt(){return(await he(ye(document.documentElement).t9nLocale,fe("./assets/common/t9n"),"messages.")).utilsStrings.chartType.chart}function mt(){return`Chart ${Date.now()}`}function sh(t,e=!1){return{type:Fe.SFS,style:Mt.Solid,color:e?Qr(ze):Ke({colorIndex:t??0,opacity:ze})}}function Nd(t=0){return{type:Fe.SMS,style:ii.Circle,color:Ke({colorIndex:t,opacity:ze}),size:4}}function Wd(t){return{type:Fe.SLS,style:Wt.Solid,color:Ke({colorIndex:t,opacity:ze}),width:2}}function Md(t=!1){return{type:Fe.SMS,style:ii.Circle,color:t?Qr(ze):Ke({colorIndex:0,opacity:ze}),size:7}}function nh(){return{type:C.SizePolicy,field:"",scaleType:fa.Linear,minSize:5,maxSize:30}}function zd(t=!1){return{type:C.Overlays,trendLine:{type:C.Overlay,created:!1,visible:!0,symbol:{type:Fe.SLS,style:Wt.Solid,color:t?Qr():Ke({colorIndex:1}),width:2}}}}function Vd(){return{type:C.ScatterSeries,id:C.ScatterSeries,name:C.ScatterSeries,x:"",y:"",markerSymbol:Md(),overlays:zd(),dataLabels:Z({text:"",visible:!1,font:re(U.DataLabels)})}}async function Gt(t){let e=await he(ye(document.documentElement).t9nLocale,fe("./assets/common/t9n"),"messages."),i=[],a=e.xAxis,r=e.utilsStrings.statistics.count,s,o=Mr(r),n=or({opacity:Rd});switch(o.grid=n,t){case C.BarSeries:{s=$n(a);break}case C.ScatterSeries:{s=Mr(a),s.grid=n;break}case C.RadarSeries:case C.LineSeries:case C.HistogramSeries:{s=Mr(a);break}case C.BoxPlotSeries:{s=$n("");break}}return s!==void 0&&i.push(s,o),i}function Ud(){return{type:C.GaugeNeedle,symbol:{type:Fe.SFS,color:[0,0,0,200]}}}async function Gd(){let t=await he(ye(document.documentElement).t9nLocale,fe("./assets/common/t9n"),"messages."),e=[],i=t.xAxis,a=Mr(i);return a.needle=Ud(),e.push(a),e}async function Hd(t){let e=t.objectIDField??"ObjectID",i=`${le.Count}_${e}_0`.toUpperCase(),a=(await he(ye(document.documentElement).t9nLocale,fe("./assets/common/t9n"),"messages.")).countSeries;return{type:C.LineSeries,id:a,name:a,query:{outStatistics:[{statisticType:le.Count,onStatisticField:e,outStatisticFieldName:i}],groupByFieldsForStatistics:[]},x:"",y:i,lineSymbol:Wd(t.seriesIndex),markerSymbol:Nd(t.seriesIndex),dataLabels:Z({text:"",visible:!1,font:re(U.DataLabels)}),temporalBinning:{type:ri.FixedDateBased,unit:Pe.Day,size:0,timeAggregationType:kt.Start,trimIncompleteTimeInterval:!0,nullPolicy:ca.Interpolate}}}async function oh(t){return{...await Hd(t),type:C.RadarSeries}}function Qd(t){return{type:Fe.SFS,style:Mt.Solid,color:Ke({colorIndex:t,opacity:ze})}}async function lh(t){let e=t.objectIDField??"ObjectID",i=`${le.Count}_${e}_0`.toUpperCase(),a=(await he(ye(document.documentElement).t9nLocale,fe("./assets/common/t9n"),"messages.")).countSeries;return{type:C.BarSeries,id:a,name:a,query:{outStatistics:[{statisticType:le.Count,onStatisticField:e,outStatisticFieldName:i}],groupByFieldsForStatistics:[]},x:"",y:i,fillSymbol:Qd(t.seriesIndex),dataLabels:Z({text:"",visible:!1,font:re(U.DataLabels),type:U.DataLabels})}}async function dh(t){let e=(await he(ye(document.documentElement).t9nLocale,fe("./assets/common/t9n"),"messages.")).countSeries;return{name:e,type:C.BoxPlotSeries,id:e,fillSymbol:{type:Fe.SFS,style:Mt.Solid,color:Ke({colorIndex:t,opacity:ze})},query:{},x:Mi,y:""}}function Jd(){return{type:C.PieTick,visible:!0,lineSymbol:or({width:1,color:jd})}}function Kd(){return{type:Fe.SFS,style:Mt.Solid}}async function ph(t){let e=`${le.Count}_${t}_0`.toUpperCase(),i=(await he(ye(document.documentElement).t9nLocale,fe("./assets/common/t9n"),"messages.")).countSeries;return{type:C.PieSeries,id:i,name:i,query:{outStatistics:[{statisticType:le.Count,onStatisticField:t??"ObjectID",outStatisticFieldName:e}],groupByFieldsForStatistics:[]},x:"",y:e,fillSymbol:Kd(),dataLabels:Z({text:"",visible:!1,font:re(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 ch(t){let e=t.objectIDField??"ObjectID",i=`${le.Count}_${e}_0`.toUpperCase(),a="Series0";return{type:C.GaugeSeries,id:a,name:a,query:{outStatistics:[{statisticType:le.Count,onStatisticField:e,outStatisticFieldName:i}]},x:""}}function ar(){return!1}async function uh(t=mt()){return{version:at,type:C.Chart,id:t,colorMatch:!0,rotated:ar(),orderOptions:{data:{orderType:Nt.Category,orderBy:it.Ascending}},title:Z({text:await yt(),visible:!0,font:re(U.ChartTitle)}),subtitle:Z(),footer:Z({text:"",visible:!0,font:re(U.DescriptionText)}),background:Et(),axes:await Gt(C.BarSeries),series:[],legend:At()}}async function fh(t=mt()){return{version:at,type:C.Chart,id:t,rotated:ar(),colorMatch:!0,orderOptions:{data:{orderType:Nt.Category,orderBy:it.Ascending}},title:Z({text:await yt(),visible:!0,font:re(U.ChartTitle)}),subtitle:Z(),footer:Z({text:"",visible:!0,font:re(U.DescriptionText)}),background:Et(),series:[],legend:At(),axes:await Gt(C.BoxPlotSeries),standardizeValues:!0,showOutliers:!1}}async function hh(t=mt()){return{version:at,type:C.Chart,id:t,colorMatch:!0,rotated:ar(),orderOptions:{data:{orderType:Nt.Category,orderBy:it.Ascending}},title:Z({text:await yt(),visible:!0,font:re(U.ChartTitle)}),subtitle:Z(),footer:Z({text:"",visible:!0,font:re(U.DescriptionText)}),background:Et(),axes:await Gt(C.LineSeries),series:[],legend:At()}}async function yh(t=mt()){return{version:at,type:C.Chart,id:t,colorMatch:!0,orderOptions:{data:{orderType:Nt.Category,orderBy:it.Ascending}},title:Z({text:await yt(),visible:!0,font:re(U.ChartTitle)}),subtitle:Z(),footer:Z({text:"",visible:!0,font:re(U.DescriptionText)}),background:Et(),axes:await Gt(C.RadarSeries),series:[],legend:At()}}async function mh(t=mt()){return{version:at,type:C.Chart,id:t,colorMatch:!0,orderOptions:{data:{orderType:Nt.YValue,orderBy:it.Descending}},title:Z({text:await yt(),visible:!0,font:re(U.ChartTitle)}),subtitle:Z(),footer:Z({text:"",visible:!0,font:re(U.DescriptionText)}),background:Et(),series:[],legend:{...At(),displayNumericValue:!1,displayPercentage:!0}}}async function gh(t=mt()){return{version:at,type:C.Chart,id:t,colorMatch:!0,title:Z({text:await yt(),visible:!0,font:re(U.ChartTitle)}),series:[],axes:await Gd()}}async function bh(t=mt()){return{version:at,type:C.Chart,id:t,colorMatch:!0,title:Z({text:await yt(),visible:!0,font:re(U.ChartTitle)}),subtitle:Z(),footer:Z({text:"",visible:!0,font:re(U.DescriptionText)}),background:Et(),axes:await Gt(C.ScatterSeries),series:[Vd()],legend:At()}}function Zd(){return{type:C.Overlays,mean:qr(1),median:qr(2),standardDeviation:qr(3),comparisonDistribution:qr(4)}}function Yd(){return{type:Fe.SFS,style:Mt.Solid,color:Ke({colorIndex:0,opacity:ze})}}function Xd(){return{type:C.HistogramSeries,id:C.HistogramSeries,name:C.HistogramSeries,visible:!0,dataTooltipVisible:!0,dataTooltipReverseColor:!1,assignToSecondValueAxis:!1,x:"",binCount:32,overlays:Zd(),dataTransformationType:ti.None,fillSymbol:Yd(),dataLabels:Z({text:"",visible:!1,font:re(U.DataLabels)})}}async function vh(t=mt()){return{version:at,type:C.Chart,id:t,colorMatch:!0,title:Z({text:await yt(),visible:!0,font:re(U.ChartTitle)}),subtitle:Z(),footer:Z({text:"",visible:!0,font:re(U.DescriptionText)}),background:Et(),axes:await Gt(C.HistogramSeries),series:[Xd()],legend:At()}}var Li={behaviorAfterLimit:Mn.Reject,maxCategoryCount:Number.NaN,maxBarChartSeriesCount:100,maxBarUniqueSeriesCountTotal:1e4,maxBarTwoSeriesCountPerSeries:1e3,maxBarTwoSeriesCountTotal:2e3,maxBarThreePlusSeriesCountPerSeries:100,maxBarThreePlusSeriesCountTotal:2e3,maxScatterPointsBeforeAggregation:1e4,maxScatterPointsAfterAggregation:1e4,maxLineChartSeriesCount:100,maxLineUniqueSeriesCountTotal:1e4,maxLineTwoSeriesCountPerSeries:5e3,maxLineTwoSeriesCountTotal:1e4,maxLineThreePlusSeriesCountPerSeries:1e3,maxLineThreePlusSeriesCountTotal:1e4,maxPieChartSliceCountTotal:300,maxGaugeByFeaturesLimit:50,maxBoxPlotSeriesCount:100,maxBoxUniqueSeriesCountTotal:1e4,maxBoxTwoSeriesCountPerSeries:1e3,maxBoxTwoSeriesCountTotal:2e3,maxBoxThreePlusSeriesCountPerSeries:100,maxBoxThreePlusSeriesCountTotal:2e3,maxBoxPlotOutlierLimit:1e4};function 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 Sh(){return{maxScatterCellsPerQuery:500,maxScatterCellsPerQueryForStandard:175,maxElementsPerSelectionQuery:25,maxOIDsPerSelectionQuery:2e3,maxOperandsPerWhereClause:200}}async function wh(t){let e=await he(ye(document.documentElement).t9nLocale,fe("./assets/common/t9n"),"messages."),i;switch(t){case le.Average:{i=e.utilsStrings.statistics.mean;break}case le.ContinuousPercentile:{i=e.utilsStrings.statistics.median;break}case le.Sum:{i=e.utilsStrings.statistics.sum;break}case le.Minimum:{i=e.utilsStrings.statistics.minimum;break}case le.Maximum:{i=e.utilsStrings.statistics.maximum;break}case le.Variance:{i=e.utilsStrings.statistics.variance;break}case le.DiscretePercentile:{i=e.utilsStrings.statistics.discretePercentile;break}case le.NoAggregation:{i=e.utilsStrings.statistics.noAggregation;break}case le.Count:default:{i=e.utilsStrings.statistics.count;break}}return i}async function Ih(t){let e=await he(ye(document.documentElement).t9nLocale,fe("./assets/common/t9n"),"messages."),i;switch(t){case kt.End:{i=e.timeAggregationTypes.end;break}case kt.Start:{i=e.timeAggregationTypes.start;break}default:i="";break}return i}function tp(){return er.Side}async function xh(){return(await he(ye(document.documentElement).t9nLocale,fe("./assets/common/t9n"),"messages.")).utilsStrings.notAvailable}var Ch=0,rp="_arcgis_charts_outliers",ip="_arcgis_charts_z_score",Th=[210,210,210,255*ze],Ph=" percentage ";var Vr=function(){return Vr=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},Vr.apply(this,arguments)},Bi={exports:{}},de={},ki={exports:{}},$t={};function Gn(){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}$t.whiteList=Gn();$t.getDefaultWhiteList=Gn;$t.onAttr=ap;$t.onIgnoreAttr=sp;$t.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 h=ir.trim(p.slice(0,c)),l=ir.trim(p.slice(c+1));if(h){var m=e(r,o.length,h,l,p);m&&(o+=m+"; ")}}}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
+ `&&n()}return ir.trim(o)}var pp=dp,Br=$t,cp=pp;function On(t){return t==null}function up(t){var e={};for(var i in t)e[i]=t[i];return e}function Hn(t){t=up(t||{}),t.whiteList=t.whiteList||Br.whiteList,t.onAttr=t.onAttr||Br.onAttr,t.onIgnoreAttr=t.onIgnoreAttr||Br.onIgnoreAttr,t.safeAttrValue=t.safeAttrValue||Br.safeAttrValue,this.options=t}Hn.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,h){var l=a[p],m=!1;if(l===!0?m=l:typeof l=="function"?m=l(c):l instanceof RegExp&&(m=l.test(c)),m!==!0&&(m=!1),c=o(p,c),!!c){var b={position:u,sourcePosition:d,source:h,isWhite:m};if(m){var y=r(p,c,b);return On(y)?p+":"+c:y}else{var y=s(p,c,b);if(!On(y))return y}}});return n};var fp=Hn;(function(t,e){var i=$t,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 zi=ki.exports,Vi={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=zi.FilterCSS,yp=zi.getDefaultWhiteList,Ur=Vi;function Qn(){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 Jn=new hp;function mp(t,e,i){}function gp(t,e,i){}function bp(t,e,i){}function vp(t,e,i){}function Kn(t){return t.replace(wp,"&lt;").replace(Ip,"&gt;")}function Sp(t,e,i,a){if(i=ro(i),e==="href"||e==="src"){if(i=Ur.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(kr.lastIndex=0,kr.test(i))return""}else if(e==="style"){if(Dn.lastIndex=0,Dn.test(i)||(Ln.lastIndex=0,Ln.test(i)&&(kr.lastIndex=0,kr.test(i))))return"";a!==!1&&(a=a||Jn,i=a.process(i))}return i=io(i),i}var wp=/</g,Ip=/>/g,xp=/"/g,Cp=/&quot;/g,Tp=/&#([a-zA-Z0-9]*);?/gim,Pp=/&colon;?/gim,Fp=/&newline;?/gim,kr=/((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,Dn=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,Ln=/u\s*r\s*l\s*\(.*/gi;function Zn(t){return t.replace(xp,"&quot;")}function Yn(t){return t.replace(Cp,'"')}function Xn(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 eo(t){return t.replace(Pp,":").replace(Fp," ")}function to(t){for(var e="",i=0,a=t.length;i<a;i++)e+=t.charCodeAt(i)<32?" ":t.charAt(i);return Ur.trim(e)}function ro(t){return t=Yn(t),t=Xn(t),t=eo(t),t=to(t),t}function io(t){return t=Zn(t),t=Kn(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:Ur.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 Ur.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=Qn();de.getDefaultWhiteList=Qn;de.onTag=mp;de.onIgnoreTag=gp;de.onTagAttr=bp;de.onIgnoreTagAttr=vp;de.safeAttrValue=Sp;de.escapeHtml=Kn;de.escapeQuote=Zn;de.unescapeQuote=Yn;de.escapeHtmlEntities=Xn;de.escapeDangerHtml5Entities=eo;de.clearNonPrintableCharacter=to;de.friendlyAttrValue=ro;de.escapeAttrValue=io;de.onIgnoreTagStripAll=Ap;de.StripTagBody=Ep;de.stripCommentTag=$p;de.stripBlankChar=Op;de.cssFilter=Jn;de.getDefaultCSSWhiteList=yp;var Jr={},ht=Vi;function Dp(t){var e=ht.spaceIndex(t),i;return e===-1?i=t.slice(1,-1):i=t.slice(1,e+1),i=ht.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 h=1,l=t.charAt(n-h);l.trim()===""||l==="=";){if(l==="="){o=c;continue e}l=t.charAt(n-++h)}}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(h,l){if(h=ht.trim(h),h=h.replace(jp,"").toLowerCase(),!(h.length<1)){var m=e(h,l||"");m&&r.push(m)}}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=ht.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=ht.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=ht.trim(t.slice(i,d)),p=Rn(p),n(s,p),s=!1,i=d+1;continue}else continue}return i<t.length&&(s===!1?n(t.slice(i)):n(s,Rn(ht.trim(t.slice(i))))),ht.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 Rn(t){return Np(t)?t.substr(1,t.length-2):t}Jr.parseTag=Rp;Jr.parseAttr=_p;var Wp=zi.FilterCSS,Me=de,ao=Jr,Mp=ao.parseTag,zp=ao.parseAttr,zr=Vi;function Nr(t){return t==null}function Vp(t){var e=zr.spaceIndex(t);if(e===-1)return{html:"",closing:t[t.length-2]==="/"};t=zr.trim(t.slice(e+1,-1));var i=t[t.length-1]==="/";return i&&(t=zr.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 so(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))}so.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 h=Mp(t,function(l,m,b,y,S){var T={sourcePosition:l,position:m,isClosing:S,isWhite:Object.prototype.hasOwnProperty.call(a,b)},w=r(b,y,T);if(!Nr(w))return w;if(T.isWhite){if(T.isClosing)return"</"+b+">";var P=Vp(y),F=a[b],$=zp(P.html,function(_,L){var A=zr.indexOf(F,_)!==-1,R=o(b,_,L,A);return Nr(R)?A?(L=d(b,_,L,p),L?_+'="'+L+'"':_):(R=n(b,_,L,A),Nr(R)?void 0:R):R});return y="<"+b,$&&(y+=" "+$),P.closing&&(y+=" /"),y+=">",y}else return w=s(b,y,T),Nr(w)?u(y):w},u);return c&&(h=c.remove(h)),h};var Hp=so;(function(t,e){var i=de,a=Jr,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 zt=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=Vr(Vr({},zt.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):zt.safeAttrValue(s,o,n,d)}},this._entityMap={"&":"&#x38;","<":"&#x3C;",">":"&#x3E;",'"':"&#x22;","'":"&#x27;","/":"&#x2F;"};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 zt.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?zt.escapeAttrValue(e):!s&&!r?zt.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):zt.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"},Fh={SelectionByClick:"SelectionByClick",SelectionByRange:"SelectionByRange",ProgrammaticSelection:"ProgrammaticSelection",ClearSelection:"ClearSelection"};function Ah(t){return t?.colorMatch??!1}function Eh(t){let e=ar();if(t!==void 0){let i=Le(t.series);(i===C.BarSeries||i===C.LineSeries||i===C.ComboLineAndBarSeries||i===C.BoxPlotSeries)&&(e=t.rotated??ar())}return e}function $h(t){return t?.map(e=>e.type)??[]}function Kp(t){let e=t?.stackedType;if(e===void 0&&t!==void 0){let i=Le(t.series);(i===C.BarSeries||i===C.LineSeries||i===C.ComboLineAndBarSeries||i===C.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 no(t){let{value:e,keepSurroundingQuotes:i,escape:a}=t,r=e?.trim();if(!Ze(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 Oh(t){let{count:e,seriesCount:i,chartType:a,chartLimits:r}=t,{behaviorAfterLimit:s}=r??{},o=!0;if(s!==Mn.RenderUpToTheLimit){let{maxBarChartSeriesCount:n,maxBarUniqueSeriesCountTotal:d,maxBarTwoSeriesCountPerSeries:u,maxBarTwoSeriesCountTotal:p,maxBarThreePlusSeriesCountPerSeries:c,maxBarThreePlusSeriesCountTotal:h,maxLineChartSeriesCount:l,maxLineUniqueSeriesCountTotal:m,maxLineTwoSeriesCountPerSeries:b,maxLineTwoSeriesCountTotal:y,maxLineThreePlusSeriesCountPerSeries:S,maxLineThreePlusSeriesCountTotal:T,maxPieChartSliceCountTotal:w,maxGaugeByFeaturesLimit:P,maxBoxPlotSeriesCount:F,maxBoxUniqueSeriesCountTotal:$,maxBoxTwoSeriesCountTotal:_,maxBoxTwoSeriesCountPerSeries:L,maxBoxThreePlusSeriesCountTotal:A,maxBoxThreePlusSeriesCountPerSeries:R}=ep(r);switch(a){case C.BarSeries:case C.ComboLineAndBarSeries:{let O=e/i;i<=n?i===0?o=!0:i===1?o=e<=d:i===2?o=e<=p&&O<=u:i>2&&(o=e<=h&&O<=c):o=!1}break;case C.LineSeries:case C.RadarSeries:{let O=e/i;i<=l?i===0?o=!0:i===1?o=e<=m:i===2?o=e<=y&&O<=b:i>2&&(o=e<=T&&O<=S):o=!1}break;case C.PieSeries:o=e<=w;break;case C.BoxPlotSeries:{let O=e/i;i<=F?i===0?o=!0:i===1?o=e<=$:i===2?o=e<=_&&O<=L:i>2&&(o=e<=A&&O<=R):o=!1}break;case C.GaugeSeries:o=e<=P;break}}return o}function Dh(t=[],e){let i=t.find(a=>a.name===e)?.alias;return i!==""?i??e:e}function Lh(t=[],e){let i=t.find(a=>a.alias===e)?.name;return i!==""?i??e:e}function Rh(t){let e=!1;switch(Le(t)){case C.PieSeries:e=!0;break;case C.BarSeries:case C.LineSeries:case C.RadarSeries:case C.ComboLineAndBarSeries:case C.BoxPlotSeries:e=t.length>1;break;case C.HistogramSeries:case C.ScatterSeries:{let i=t[0];e=i.overlays!==void 0&&Object.values(i.overlays).some(a=>a.created===!0);break}}return e}function ec(t){let e=!0;return Le(t.series)===C.ScatterSeries&&(e=t.series.length===1),e}function tc(t){let e=!0;return Le(t.series)===C.HistogramSeries&&(e=t.series.length<=1&&t.series[0].type===C.HistogramSeries&&(!("dataTransformationType"in t.series[0])||t.series[0].dataTransformationType!==void 0&&Object.values(ti).includes(t.series[0].dataTransformationType))),e}function rc(t){let e=!0;return Le(t.series)===C.PieSeries&&(e=t.series.length<=1),e}function jh(t,e){let i=Le(e?.series),a=i!==void 0&&t.includes(i);if(a&&e!==void 0)switch(i){case C.HistogramSeries:a=tc(e);break;case C.ScatterSeries:a=ec(e);break;case C.PieSeries:a=rc(e);break}return a}function Ze(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 _h(t){return ic(t,Ld)}function qh(t,e){let i;switch(t){case Pe.Second:i=e.seconds??"";break;case Pe.Minute:i=e.minutes??"";break;case Pe.Hour:i=e.hours??"";break;case Pe.Day:i=e.days??"";break;case Pe.Week:i=e.weeks??"";break;case Pe.Month:i=e.months??"";break;case Pe.Year:i=e.years??"";break;default:i="";break}return i}function Bh(t){let e;switch(t){case Je.Mean:e=1;break;case Je.Median:e=2;break;case Je.StdDev:e=3;break;case Je.Normal:default:e=0;break}return e}function kh(t,e){if(e!==void 0){let{seriesId:i,overlayType:a,visible:r}=t.detail,s;switch(a){case Je.Mean:e.series[0].type===C.HistogramSeries&&(s=e.series[0].overlays?.mean);break;case Je.Median:e.series[0].type===C.HistogramSeries&&(s=e.series[0].overlays?.median);break;case Je.StdDev:e.series[0].type===C.HistogramSeries&&(s=e.series[0].overlays?.standardDeviation);break;case Je.Normal:e.series[0].type===C.HistogramSeries&&(s=e.series[0].overlays?.comparisonDistribution);break;case Je.Trendline:e.series[0].type===C.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 Nh(t){return new Jp().sanitize(t)}function Wh(t){return t!=null&&!Number.isNaN(t)&&Number.isFinite(t)}function Mh(t,e){let i;return e!==void 0&&(i={...e,rotated:t}),i}function zh(t,e){let i={fieldToSort:""};if(!Ze(t)){let a=t.trim(),r=a.split(" ").at(-1)?.toUpperCase();r===it.Ascending||r===it.Descending?i={fieldToSort:a.substring(0,a.lastIndexOf(" ")),orderBy:r}:(i={fieldToSort:a},e!==!1&&(i.orderBy=it.Ascending))}return i}function Vh(t){return t===k.BarAndLineSplitBy||t===k.BarAndLineSplitByNoAggregation||t===k.BoxPlotMonoFieldAndSplitBy||t===k.BoxPlotMultiFieldsAndSplitBy||t===k.BoxPlotMonoFieldAndCategoryAndSplitBy}function Uh(t){return t?.selectionOIDs===void 0||t.selectionOIDs.length===0}function Gh(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 Pt=["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"],ac="1.0.0",sc="unrecognized.version",nc=[C.LineSeries,C.BarSeries,C.ComboLineAndBarSeries,C.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=lt.Same,i=[];if(oc(t)&&t!==void 0){Pt.sort(Ri);let a=Ri(t,Pt[Pt.length-1]);if(a===1?e=lt.Newer:a===-1&&(e=lt.Older),e===lt.Newer||e===lt.Same)i.push(t);else{for(let r=Pt.length-2;r>=0;r-=1)if(Ri(t,Pt[r])>=0){i=Pt.slice(r,Pt.length);break}i.length===0&&i.push(ac)}}else e=lt.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===C.LineSeries):e[0];return i??=e[0],i}function Hh(t,e){let i=t!==null?t.toString():null,a=e!=null?e.toString():null;return a!==null&&a!==i?Fe.SFS:Fe.SLS}function Ui(t,e){let i="";return t!==void 0&&t.includes("=")&&(i=e!==!1?no({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=no({value:s,keepSurroundingQuotes:a,escape:r})),s}function Ut(t){let e=!1;if(t===void 0||t==="")e=!0;else if(t.includes("=")){let i=Ui(t,!1),a=lr({where:t,normalize:!1});e=i===`${a}`}return e}function Qh(t){let{where:e,normalize:i,escape:a}=t,r=i===void 0?!0:i,s=Ui(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:Ut(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===C.LineSeries)??t[0],{x:r}=a,s="y"in a?a.y:"",o=a.query?.where;switch(r){case Mi:typeof s=="object"&&s.length>1?Ut(o)?i&&(e=k.BoxPlotMultiFields):e=k.BoxPlotMultiFieldsAndSplitBy:i?e=k.BoxPlotMonoField:Ut(o)||(e=k.BoxPlotMonoFieldAndSplitBy);break;default:i?e=k.BoxPlotMonoFieldAndCategory:Ut(o)?e=k.BoxPlotMultiFieldsAndCategory:e=k.BoxPlotMonoFieldAndCategoryAndSplitBy;break}return e}function st(t){let e=k.NonSpecific;if(t?.[0]!==void 0)switch(Le(t)){case C.PieSeries:e=pc(t);break;case C.RadarSeries:case C.BarSeries:case C.LineSeries:case C.ComboLineAndBarSeries:e=cc(t);break;case C.BoxPlotSeries:e=uc(t);break}return e}function Jh(t){let{seriesConfig:e,xAxisValueFormatType:i,setTimeBinningInfoWhenNotProvided:a}=t,r=!1;if(fc(e)&&e.binTemporalData!==!1&&i===C.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 ae={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{[ae.Average]:`${e?"":`${t}_`}${ae.Average}`,[ae.Min]:`${e?"":`${t}_`}${ae.Min}`,[ae.Max]:`${e?"":`${t}_`}${ae.Max}`,[ae.FirstQuartile]:`${e?"":`${t}_`}${ae.FirstQuartile}`,[ae.Median]:`${e?"":`${t}_`}${ae.Median}`,[ae.ThirdQuartile]:`${e?"":`${t}_`}${ae.ThirdQuartile}`,[ae.IQR]:`${e?"":`${t}_`}${ae.IQR}`,[ae.Outlier]:`${e?"":`${t}_`}${ae.Outlier}`,[ae.StandardDeviation]:`${e?"":`${t}_`}${ae.StandardDeviation}`}}function yc(t){return t.subType===ua.FeatureGauge}function Kh(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 Gr(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===ae.Min||e===ae.Max)&&(u=`${u}${rp}`),n===!0&&(mc(a)||e===ae.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=Gr({key:ae.FirstQuartile,y:i,splitBy:a,showOutliers:r}),o=Gr({key:ae.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 oo(t){return t.map(e=>e.id).filter(e=>e!==void 0)}function Hr(t,e){let i=[],a=e??oo(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===C.BoxPlotSeries);s!==void 0&&"y"in s&&(r=[s.y].flat())}else r=Hr(e,i);return r}function ft(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]))&&ft(e[a],r)}function Zh(t){let{chartConfig:e,nullAsValid:i=!1,dataSet:a}=t,r=!0;if(e!==void 0){let s=Le(e.series);if(a===void 0||a.length===0)r=!0;else{let o=Hr(e.series);r=!a.some(n=>{let d=!1;switch(s){case C.HistogramSeries:{let u=n;d=ft(u.minValue,i)&&ft(u.maxValue,i)}break;case C.ScatterSeries:{let u=n,{x:p,y:c}=e.series[0];d=ft(u[p],i)&&ft(u[c],i)}break;case C.ComboLineAndBarSeries:case C.RadarSeries:case C.LineSeries:case C.BarSeries:{let u=n,{x:p}=e.series[0];d=o.some(c=>vc({dataItem:u,x:p,y:c,nullAsValid:i}));break}case C.BoxPlotSeries:{let u=e.series,{showOutliers:p}=e;d=gc({configSeries:u,boxPlotDataItem:n,yList:o,showOutliers:p});break}case C.PieSeries:{let u=n,{x:p,y:c}=e.series[0];st(e.series)===k.PieFromFields&&(p=mr,c=si);let h=u[c];d=u[p]!==void 0&&u[p]!==null&&!ha(h)&&ft(Number(h),i)}break;case C.GaugeSeries:{let{x:u}=e.series[0];d=ft(n[u],i)}break;case C.HeatChartSeries:d=a.some(u=>ft(u[_d.valueField],i));break}return d})}}return r}function Sc(t,e){let i=new Map,a=e??oo(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===C.LineSeries||d.type===C.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=[],h=[];for(let l=0;l<p.length;l+=1){let m=d[p[l]];m<0?h[u]=(h[u]??0)+m:c[u]=(c[u]??0)+m}c=c.filter(l=>Number.isFinite(l)).sort((l,m)=>l-m),h=h.filter(l=>Number.isFinite(l)).sort((l,m)=>l-m),o=Math.max(o,c.length>0?c[c.length-1]:h[h.length-1]),n=Math.min(n,h.length>0?h[0]:c[0])}else{let c=0;for(let h=0;h<p.length;h+=1){let l=d[p[h]];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=Gr({key:ae.Min,...i}),r=Gr({key:ae.Max,...i}),s=e[a],o=e[r];return{min:s,max:o}}function Yh(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(h=>h[u]!==null);[a,r]=tr(p,h=>h[u]),s.axes?.[1]?.valueFormat.type===C.DateAxisFormat&&a!==void 0&&r!==void 0&&([a,r]=[new Date(a).valueOf(),new Date(r).valueOf()]);let c=Le(s.series);if(c===C.HistogramSeries&&o.length>0){let h=o[0]?.[En.Start],l=o[o.length-1]?.[En.End];a=typeof h=="number"?h:a,r=typeof l=="number"?l:r}else if(c===C.BoxPlotSeries){e=Number.MAX_SAFE_INTEGER,i=Number.MIN_SAFE_INTEGER;let h=Hr(d,n),l=st(d),m="standardizeValues"in s?s.standardizeValues===!0:void 0,b=s.series.map(y=>y.visible!==!1?lr({where:y.query?.where}):"");b.length===0&&b.push(" ");for(let y=0;y<p.length;y+=1)for(let S=0;S<h.length;S+=1){let T=l===k.BoxPlotMultiFieldsAndCategory?h[S]:void 0;for(let w=0;w<b.length;w+=1){let{min:P,max:F}=Ic({y:T,splitByValue:b[w],chartSubType:l,showOutliers:!1,standardizeValues:m,dataItem:p[y]});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:h,stackedMaxY:l}=wc({seriesConfig:d,filteredData:p,filteredSeriesIds:n});e=h,i=l;break}case er.Side:default:{e=Number.MAX_SAFE_INTEGER,i=Number.MIN_SAFE_INTEGER;let h=Hr(d,n);for(let l=0;l<h.length;l+=1){let m=h[l],[b,y]=tr(p,S=>S[m]);b!==void 0&&b<e&&(e=b),y!==void 0&&y>i&&(i=y)}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 Xh(t){return t!==void 0&&(!("url"in t)||!t.url)}function Gi(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 ey(t){return xc(t)||Hi(t)}function xe(t){return Hi(t)?t.parent:t}function lo(t){return t.capabilities?.query?.supportsDistance||xe(t).sourceJSON?.advancedQueryCapabilities?.supportsQueryWithDistance===!0}function Tc(t){return t.capabilities?.queryAttributeBins?.supportsFixedInterval===!0&&t.capabilities?.queryAttributeBins?.supportsStackBy}function Pc(t,e){return t.capabilities?.queryAttributeBins?.supportsDate===!0&&(Ze(e)||t.capabilities?.queryAttributeBins?.supportsStackBy)}function ty(t){let e=!1,i=xe(Ae(t)).sourceJSON;if(i){let a=i.queryBinsCapabilities?.supportsFixedIntervalBin,r=i.queryBinsCapabilities?.supportedStatisticTypes,s=[le.Maximum,le.Count].every(o=>r?.includes(o.toUpperCase())||r?.includes(o.toLowerCase()));e=a&&s}return e}function ry(t){let e;return Gi(t)?e=t.layer:e=t,e}function Ae(t){let e;return Gi(t)?e=t.layer:e=t,e}function Fc(t){let e=!1,i=xe(t).sourceJSON?.advancedQueryCapabilities?.supportedSpatialAggregationStatistics??[],a=t.capabilities?.query.supportedSpatialAggregationStatistics??{};return e=i.includes("EnvelopeAggregate")||"envelope"in a&&a.envelope===!0,e}function iy(t){let{chartConfig:e,queryObject:i}=t,a,r=Ae(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 xt.Feet:e="esriSRUnit_Foot";break;case xt.Miles:e="esriSRUnit_StatuteMile";break;case xt.NauticalMiles:e="esriSRUnit_NauticalMile";break;case xt.USNauticalMiles:e="esriSRUnit_USNauticalMile";break;case xt.Meters:e="esriSRUnit_Meter";break;case xt.Kilometers:e="esriSRUnit_Kilometer";break}return e}async function ay(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,h=Ae(e),l=xe(h),m={query:{where:nr([o,l.definitionExpression])}},b=Qi(n)?.extent?.toJSON();if(b!==void 0){let S=Ac(u),{xmin:T,ymin:w,xmax:P,ymax:F}=b;m.query={...m.query,geometryType:"esriGeometryEnvelope",geometry:`${T},${w},${P},${F}`,distance:d,units:S,inSR:n?.spatialReference?.wkid}}p&&(m.query.time=`${p[0]},${p[1]}`);let y=`${l.url}/${l.layerId}/queryAnalytic?f=${a}&dataFormat=${r}&outAnalytics=${s}`;try{c=(await _i(y,m)).data?.features?.[0]?.attributes}catch(S){let T=(await he(ye(document.documentElement).t9nLocale,fe("./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 sy(t){let{chartConfig:e,queryObject:i,queryConfig:a,errorStrings:r}=t,s,o=Ae(i),n=Tc(o);if(n&&i&&"queryAttributeBins"in i&&e.series[0].type===C.HeatChartSeries){let{x:d,y:u,xTemporalBinning:p,yTemporalBinning:c}=e.series[0],h=await kc({queryObject:i,queryConfig:a,x:d,y:u,xTemporalBinning:p,yTemporalBinning:c});try{s=await i.queryAttributeBins(h)}catch(l){throw new Ve(Ue.QueryFeaturesError,r.errors.queryError,l)}}if(!n)throw new Ve(Ue.QueryFeaturesError,r.errors.queryBinsNotSupported,r.errors.queryBinsNotSupported);return s}async function ny(t){let{chartConfig:e,queryObject:i,queryConfig:a,errorStrings:r,abortKey:s}=t,o=e.series[0],n;if(o.type===C.HeatChartSeries){let{x:d,y:u}=o;a.groupByFieldsForStatistics=[d],d!==u&&a.groupByFieldsForStatistics.push(u);try{n=await co({queryObject:i,queryConfig:a,abortKey:s})}catch(p){throw new Ve(Ue.QueryFeaturesError,r.errors.queryError,p)}}return n}async function oy(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(h){throw new Ve(Ue.QueryFeaturesError,u.errors.queryError,h)}}return p}async function ly(t){let{queryConfig:e,x:i,queryObject:a,chartSubType:r,isGaugeByFeature:s}=t,o=Ae(a),n;if(a!==void 0){let d=o.objectIdField,{where:u,gdbVersion:p,timeExtent:c,geometry:h,distance:l,units:m}=e,b=Rc(c),y=Qi(h),S=xe(o),T=nr([u,S.definitionExpression]),w={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:y};uo(w)&&(w.cacheHint=!0),w.geometry!==void 0&&lo(o)&&(l!==void 0&&(w.distance=l),m!==void 0&&(w.units=m));try{n=await a.queryFeatureCount(w)}catch{n=Number.NaN}}return n}async function dy(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:h,outStatisticFieldName:l}=p;return{statisticType:c,onStatisticField:h,outStatisticFieldName:l?.toUpperCase()}});i.outStatistics=o,delete i.num,delete i.orderByFields;let n=ho({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 he(ye(document.documentElement).t9nLocale,fe("./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 h=u[c.toLowerCase()]??u[c.toUpperCase()]??u[c];h!==void 0&&s.set(c,h)}})}return s}async function po(t){let{queryObject:e,queryConfig:i,returnUniqueIdsOnly:a,abortKey:r}=t,s=[],o=Ae(e);if(e!==void 0){let n=Wc(o),d=ho({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 he(ye(document.documentElement).t9nLocale,fe("./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<Ft.maxParallelRequests&&n<i;){let d={...t};d.queryConfig={...r,start:n,num:Math.min(a,i-n)},e.push(po(d)),n+=a,o+=1}return s=(await Promise.all(e)).flat(),s}async function co(t){let{queryObject:e,queryConfig:i,returnUniqueIdsOnly:a,featureCount:r,noBatch:s,abortKey:o}=t,n=[],d=Ae(e);if(e!==void 0){let u=r??1,p=fo(d);if(s!==!0&&u>p&&d.capabilities?.query.supportsPagination){let c=0,h=0,l=Math.ceil(u/p),m=Math.ceil(l/Ft.maxParallelRequests),b=[];for(;h<m;){c=h*Ft.maxParallelRequests*p;let y=$c({queryConfig:{...i,start:c},queryObject:e,maxRecords:p,featureCount:u,returnUniqueIdsOnly:a,abortKey:o});b.push(y),h+=1}n=(await Promise.all(b)).flat()}else(Number.isNaN(u)||u>=0)&&(n=await po({queryObject:e,queryConfig:i,returnUniqueIdsOnly:a,abortKey:o}))}return n}async function py(t){let{queryObject:e,queryConfig:i,uniqueFeature:a,abortKey:r}=t,s={...i,returnDistinctValues:!0};return await co({queryObject:e,abortKey:r,queryConfig:s,returnUniqueIdsOnly:!0,featureCount:a===!0?1:void 0})}function cy(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 uy(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=xe(Ae(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 he(ye(document.documentElement).t9nLocale,fe("./assets/common/t9n"),"messages.")).errorStrings;throw new Ve(Ue.QueryFeaturesError,p.errors.queryError,u)}}if(n===!1){let d=(await he(ye(document.documentElement).t9nLocale,fe("./assets/common/t9n"),"messages.")).errorStrings;throw new Ve(Ue.QueryFeaturesError,d.errors.queryBinsNotSupported,d.errors.queryBinsNotSupported)}return o}function uo(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 fo(t){let e=xe(t)?.sourceJSON,i=e?.maxRecordCount??Ft.maxRecords;return e?.advancedQueryCapabilities?.supportsMaxRecordCountFactor&&e?.maxRecordCount!==void 0&&(i=e.maxRecordCount*Ft.maxRecordCountFactor),i}function nr(t,e){let i,a=Array.from(new Set(t)).filter(r=>r!=null&&r!==""&&!Ut(r));return a.sort((r,s)=>s.length-r.length),a.length===1?[i]=a:a?.forEach(r=>{r!==void 0&&(Ze(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=Ae(t),r=xe(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&&Gi(e)){let s=e.view.extent,{xmin:o,xmax:n,ymin:d,ymax:u,zmin:p,zmax:c,spatialReference:h}=s;r={xmin:o,ymin:d,zmin:p,xmax:n,ymax:u,zmax:c,spatialReference:h}}return r}function Rc(t){let e;return t!==void 0&&(e=new Wn({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 Od({}):new $d({}),h=Ae(e),l=xe(h),m;a==="AttributeBinsQuery"&&i?.objectIds?.[0]!==void 0&&(m=`${h.objectIdField} IN (${i.objectIds.join(",")})`);let b=[r,l.definitionExpression,m];if(c.where=nr(b),c.returnDistinctValues=p??!1,s!==void 0){let T=Fc(h);c.outStatistics=s.filter(w=>w.statisticType!==le.EnvelopeAggregate||T).map(w=>Dd.fromJSON(w))}let y=Qi(o);y!==void 0&&(c.geometry=y,i?.spatialRelationship&&(c.spatialRelationship=i.spatialRelationship),lo(h)&&(n!==void 0&&(c.distance=n),d!==void 0&&(c.units=d)));let S;return u&&(S=new Wn({start:u?.[0],end:u?.[1]})),S!==void 0?c.timeExtent=S:l.timeExtent!==void 0&&(c.timeExtent=l.timeExtent),uo(c)&&(c.cacheHint=!0),c}function _c(t){let e;switch(t){case kt.Start:e="first";break;case kt.End:e="last";break}return e}async function qc(t){let{queryObject:e,queryConfig:i,temporalBinning:a,dateField:r,splitByField:s}=t,o=Ae(e),n=(await dr(e)).find(w=>w.name===r)?.type,d=Kr({queryObject:e,queryConfig:i,queryType:"AttributeBinsQuery"}),{type:u,unit:p,size:c,trimIncompleteTimeInterval:h,timeAggregationType:l}=a,{start:m,end:b,offset:y,outTimeZone:S}=u===ri.CalendarBased?a:{},T=Oc(r);if(d.lowerBoundaryAlias=T.lowerBoundaryAlias,d.upperBoundaryAlias=T.upperBoundaryAlias,n!==Se.DateOnly&&(d.outTimeZone=S??Intl.DateTimeFormat().resolvedOptions().timeZone),d.binParameters={type:"date",field:r,interval:{unit:p,value:c},start:m,end:b,offset:y?{unit:y.unit,value:y.size}:null},d.binParameters.type==="date"&&(o.capabilities?.queryAttributeBins?.supportsSnapToData&&(d.binParameters.snapToData=_c(l)),o.capabilities?.queryAttributeBins?.supportsReturnFullIntervalBin&&(d.binParameters.returnFullIntervalBin=h===!1)),!Ze(s)){let w=xe(o).fields.find(P=>P.name===s)?.type;(!w||w==="string"||w==="integer"||w==="small-integer"||w==="big-integer"||w==="double")&&(d.binParameters.stackBy={type:"field",value:s,valueType:w==="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 Bt.DayOfMonth:s="DAY",n=31;break;case Bt.DayOfWeek:s="DOW",n=7;break;case Bt.DayOfYear:s="DOY",n=366;break;case Bt.HourOfDay:i!==Se.DateOnly&&(s="HOUR",n=24);break;case Bt.MonthOfYear:s="MONTH",n=12;break}return s&&(r=`EXTRACT (${s} FROM ${e})`),{expression:r,start:o,end:n}}function jn(t){let{temporalBinning:e,xOrY:i,xOrYFieldType:a}=t,{type:r,unit:s}=e??{},o,n,d,u;return r===C.CalendarDateParts&&(a===Se.Date||a===Se.DateOnly||a===Se.TimestampOffset)?{expression:n,start:d,end:u}=Bc({field:i,fieldType:a,unit:s}):o=i,{field:o,expression:n,start:d,end:u}}async function kc(t){let{queryObject:e,queryConfig:i,x:a,y:r,xTemporalBinning:s,yTemporalBinning:o}=t,n=await dr(e),d=n.find(S=>S.name===a)?.type,u=n.find(S=>S.name===r)?.type,p=Kr({queryObject:e,queryConfig:i,queryType:"AttributeBinsQuery"});p.binParameters={type:"fixed-interval",interval:1};let c=jn({temporalBinning:s,xOrY:a,xOrYFieldType:d}),{field:h,expression:l,start:m,end:b}=c;h?p.binParameters.field=h:l&&(p.binParameters.expression=l,p.binParameters.expressionValueType="integer",p.binParameters.type==="fixed-interval"&&(m!==void 0&&(p.binParameters.start=m),b!==void 0&&(p.binParameters.end=b)));let y=jn({temporalBinning:o,xOrY:r,xOrYFieldType:u});return y.field?p.binParameters.stackBy={type:"field",value:y.field}:y.expression&&(p.binParameters.stackBy={type:"expression",value:y.expression,valueType:"integer",alias:r}),p}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 ho(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=Ae(e),h=xe(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:h.gdbVersion!==void 0&&h.gdbVersion!==""&&(p.gdbVersion=h.gdbVersion),d!==void 0&&(p.num=d),n!==void 0&&(p.start=n,p.num=p.num??fo(c)),p}function Wc(t){return xe(t)?.sourceJSON?.advancedQueryCapabilities?.supportsMaxRecordCountFactor===!0?Ft.maxRecordCountFactor:void 0}function fy(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,Nn.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=Fd.fromJSON(i).features,a?.fields!==void 0&&(r.fields=a.fields.map(o=>Pd.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=kn.fromJSON(o.renderer))}let s=new Ad(r);return await s.load(),s});async function hy(t){let{layer:e,view:i,chartConfig:a}=t,r;if(e!==void 0){let s=Ae(e),o=xe(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=Ae(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 yy(t){return t.find(e=>e.type===Se.OID)?.name??""}function yo(t){return[Se.Single,Se.Double,Se.SmallInteger,Se.Integer,Se.BigInteger].includes(t.type)}function my(t){return t.type===Se.Date}function gy(t){return[Se.SmallInteger,Se.Integer,Se.BigInteger].includes(t.type)}function by(t){return t.filter(e=>e.type===Se.Date||e.type===Se.DateOnly||e.type===Se.TimestampOffset).map(e=>e.name)}function vy(t){return t.filter(e=>yo(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 _n(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,h])=>h?.type==="coded-value")?.map(([c,h])=>{let l={fieldName:c,name:s,codedValues:u};if(h&&"codedValues"in h){let m=h.codedValues.map(({code:b,name:y})=>({name:y,code:b}));l={fieldName:c,name:h.name,codedValues:m}}return l});i.push({id:n??"",name:s,domains:p})}),i.length===0?void 0:i}function Sy(t){let e;if(t!==void 0){let i=Ae(t);if(!Hi(i)&&!Ze(i?.typeIdField)){let a=_n(i,"types");a!==void 0&&(e={typeIdField:i.typeIdField??void 0,types:a})}if(!Ze(i?.subtypeField)){let a=xe(i),r=_n(a,"subtypes");r!==void 0&&(e={...e,subtypeField:a.subtypeField??void 0,subtypes:r})}}return e}function wy(t){let{fieldName:e,fieldValueToMatch:i,subtypeInfo:a,fieldList:r}=t,s;if((typeof i!="string"||!Ze(i))&&!Ze(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 Iy(t){let e=[];return!xe(t).isTable&&t.fieldsIndex&&(e=await Bn.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 xy(t){let e=!0,i=".arcgis.com/",a=t.url,r=a?.includes(i);if(a&&r&&xe(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 Ed({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 Cy(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 Ty(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:h,objectIds:l,spatialRelationship:m}=o??{},{where:b,gdbVersion:y,timeExtent:S,geometry:T,distance:w,units:P,objectIds:F,spatialRelationship:$}=a??{},_=s[0],{query:L}=_,{where:A}=L??{},R=st(s),O={...L};return O.where=nr([n,b]),R!==k.BarAndLineSplitBy&&R!==k.BoxPlotMonoFieldAndSplitBy&&R!==k.BoxPlotMonoFieldAndCategoryAndSplitBy&&R!==k.BoxPlotMultiFieldsAndSplitBy&&R!==k.BarAndLineSplitByNoAggregation&&(O.where=nr([O.where,A])),i.orderOptions?.orderByFields!==void 0&&(O.orderByFields=i.orderOptions.orderByFields),O.gdbVersion=y??d,O.timeExtent=Dc(e,S??u),O.geometry=Lc({queryObject:e,defaultGeometry:T??p,ignoreViewExtent:r}),O.distance=w??c,O.units=P??h,O.objectIds=F??l,O.spatialRelationship=$??m,L?.outStatistics?.[0]?.statisticType===le.Count&&(O.returnDistinctValues=L?.returnDistinctValues??!1),O}var Vt={$schema:"http://json-schema.org/draft-07/schema#",definitions:{ValueConversion:{type:"object",properties:{factor:{type:"number",description:"A numeric value multiplying the value to convert"},offset:{type:"number",description:"A numeric offset to apply to the value to convert"}},description:"Stores information regarding a numeric conversion",title:"ValueConversion"},WebChartAxisScrollBar:{type:"object",properties:{visible:{type:"boolean",description:"Scrollbar visibility",default:!1},width:{type:"number",description:"Scrollbar width in pixels"},color:{$ref:"#/definitions/Color",description:"Scrollbar color"},gripSize:{type:"number",description:"Grip size in pixels"},margin:{type:"number",description:"Margin between the scrollbar and the series container in pixels"}},description:"Describes the properties of an axis scrollbar",title:"WebChartAxisScrollBar"},Color:{type:"array",items:{type:"number"},minItems:4,maxItems:4,title:"Color"},WebChartTextSymbol:{type:"object",properties:{xoffset:{type:["number","string"],description:`Horizontal offset. Can be a number for a fixed value in pixels, or a string as "25%" for a value relative to the label's container width.`},yoffset:{type:["number","string"],description:`Horizontal offset. Can be a number for a fixed value in pixels, or a string as "25%" for a value relative to the label's container height.`},angle:{type:"number",description:"Rotation of the label"},style:{type:"string",description:"Label style"},type:{type:"string",const:"esriTS"},color:{$ref:"#/definitions/Color"},backgroundColor:{$ref:"#/definitions/Color"},borderLineSize:{type:"number"},borderLineColor:{$ref:"#/definitions/Color"},haloSize:{type:"number"},haloColor:{$ref:"#/definitions/Color"},verticalAlignment:{type:"string",enum:["baseline","bottom","middle","top"]},horizontalAlignment:{type:"string",enum:["center","justify","left","right"]},rightToLeft:{type:"boolean"},kerning:{type:"boolean"},font:{$ref:"#/definitions/IFont"},text:{type:"string"}},required:["type"],description:"Represents a text symbol.",title:"WebChartTextSymbol"},'Omit<ITextSymbol,("angle"|"style"|"xoffset"|"yoffset")>':{$ref:"#/definitions/Pick%3CITextSymbol%2CExclude%3C(%22type%22%7C%22color%22%7C%22backgroundColor%22%7C%22borderLineSize%22%7C%22borderLineColor%22%7C%22haloSize%22%7C%22haloColor%22%7C%22verticalAlignment%22%7C%22horizontalAlignment%22%7C%22rightToLeft%22%7C%22kerning%22%7C%22font%22%7C%22text%22%7C%22angle%22%7C%22xoffset%22%7C%22yoffset%22%7C%22style%22%7Cstring)%2C(%22angle%22%7C%22style%22%7C%22xoffset%22%7C%22yoffset%22)%3E%3E",title:'Omit<ITextSymbol,("angle"|"style"|"xoffset"|"yoffset")>'},'Pick<ITextSymbol,Exclude<("type"|"color"|"backgroundColor"|"borderLineSize"|"borderLineColor"|"haloSize"|"haloColor"|"verticalAlignment"|"horizontalAlignment"|"rightToLeft"|"kerning"|"font"|"text"|"angle"|"xoffset"|"yoffset"|"style"|string),("angle"|"style"|"xoffset"|"yoffset")>>':{type:"object",properties:{type:{type:"string",const:"esriTS"},color:{$ref:"#/definitions/Color"},backgroundColor:{$ref:"#/definitions/Color"},borderLineSize:{type:"number"},borderLineColor:{$ref:"#/definitions/Color"},haloSize:{type:"number"},haloColor:{$ref:"#/definitions/Color"},verticalAlignment:{type:"string",enum:["baseline","bottom","middle","top"]},horizontalAlignment:{type:"string",enum:["center","justify","left","right"]},rightToLeft:{type:"boolean"},kerning:{type:"boolean"},font:{$ref:"#/definitions/IFont"},text:{type:"string"}},required:["type"],title:'Pick<ITextSymbol,Exclude<("type"|"color"|"backgroundColor"|"borderLineSize"|"borderLineColor"|"haloSize"|"haloColor"|"verticalAlignment"|"horizontalAlignment"|"rightToLeft"|"kerning"|"font"|"text"|"angle"|"xoffset"|"yoffset"|"style"|string),("angle"|"style"|"xoffset"|"yoffset")>>'},IFont:{type:"object",properties:{family:{type:"string"},size:{type:"number"},style:{type:"string",enum:["italic","normal","oblique"]},weight:{type:"string",enum:["bold","bolder","lighter","normal"]},decoration:{type:"string",enum:["line-through","none","underline"]}},title:"IFont"},WebChartText:{type:"object",properties:{type:{type:"string",const:"chartText",description:'Represents a unique string identifier for the ChartText object. For ChartText object, it is "chartText".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},content:{$ref:"#/definitions/WebChartTextSymbol",description:"Contains the styling info and text content. Details on **esriTS** are [here](https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm)."}},required:["type","content"],description:"Stores info on how some text is rendered on the chart and whether it is visible or not.",title:"WebChartText"},WebChartCursorCrosshair:{type:"object",properties:{type:{type:"string",const:"cursorCrosshair",description:"Represents a unique string identifier for the chart cursor's crosshair."},style:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the chart cursor's crosshair should be rendered."},verticalLineVisible:{type:"boolean",description:"Indicates whether the vertical crosshair line should be displayed",default:!1},horizontalLineVisible:{type:"boolean",description:"Indicates whether the horizontal crosshair line should be displayed",default:!1}},required:["type"],description:"JSON representation of the cursor's crosshair for a chart.",title:"WebChartCursorCrosshair"},ISimpleLineSymbol:{type:"object",properties:{type:{type:"string",const:"esriSLS"},style:{$ref:"#/definitions/SimpleLineSymbolStyle"},color:{$ref:"#/definitions/Color"},width:{type:"number"}},required:["type"],title:"ISimpleLineSymbol"},ISymbol:{type:"object",properties:{type:{$ref:"#/definitions/SymbolType"},style:{type:"string"}},required:["type"],title:"ISymbol"},SymbolType:{type:"string",enum:["esriPFS","esriPMS","esriSFS","esriSLS","esriSMS","esriTS"],title:"SymbolType"},SimpleLineSymbolStyle:{type:"string",enum:["esriSLSDash","esriSLSDashDot","esriSLSDashDotDot","esriSLSDot","esriSLSNull","esriSLSSolid"],title:"SimpleLineSymbolStyle"},WebChartLegend:{type:"object",properties:{type:{type:"string",const:"chartLegend",description:'Represents a unique string identifier for the ChartLegend object. For ChartLegend object, it is "chartLegend".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the legend box should be rendered"},body:{$ref:"#/definitions/WebChartTextSymbol",description:"Contains styling info on how legend body (excluding the **title**) should be rendered. Will use default styling if not provided."},position:{$ref:"#/definitions/WebChartLegendPositions",description:'Positions the legends at `"right"`, `"left"`, `"top"`, or `"bottom"` of the chart.',default:"WebChartLegendPositions.Right"},maxHeight:{type:["number","null"],description:"Legend's maximum height. If not set the legend will occupy the same height as the series container or pie chart.",default:null},roundMarkers:{type:"boolean",description:"Allows the legend markers to be displayed as circles. If the property is to:\n- `false` or `undefined` they will be rounded rectangles\n- `true` they will be circles",default:!1}},required:["type"],description:"JSON representation of the Chart's legend box",title:"WebChartLegend"},WebChartLegendPositions:{type:"string",enum:["left","right","top","bottom"],title:"WebChartLegendPositions"},WebChartPieChartLegend:{type:"object",properties:{type:{type:"string",const:"chartLegend",description:'Represents a unique string identifier for the ChartLegend object. For ChartLegend object, it is "chartLegend".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the legend box should be rendered"},body:{$ref:"#/definitions/WebChartTextSymbol",description:"Contains styling info on how legend body (excluding the **title**) should be rendered. Will use default styling if not provided."},position:{$ref:"#/definitions/WebChartLegendPositions",description:'Positions the legends at `"right"`, `"left"`, `"top"`, or `"bottom"` of the chart.',default:"WebChartLegendPositions.Right"},maxHeight:{type:["number","null"],description:"Legend's maximum height. If not set the legend will occupy the same height as the series container or pie chart.",default:null},roundMarkers:{type:"boolean",description:"Allows the legend markers to be displayed as circles. If the property is to:\n- `false` or `undefined` they will be rounded rectangles\n- `true` they will be circles",default:!1},displayCategory:{type:"boolean",description:"Indicates whether the category associated to a slice is to be displayed in the legend.",default:!0},displayNumericValue:{type:"boolean",description:"Indicates whether the numeric value associated to a slice is to be displayed in the legend. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)`",default:!1},displayPercentage:{type:"boolean",description:"Indicates whether the percentage to a slice is to be displayed in the legend. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)`",default:!1},labelMaxWidth:{type:"number",description:"Maximum width in pixels of the label displaying the slice name. If the label is larger than the maximum width, it will automatically wrap.",default:200},valueLabelMaxWidth:{type:"number",description:"Maximum width in pixels of the label displaying the slice name. If the label is larger than the maximum width, it will automatically wrap.",default:200}},required:["type"],description:"Specific legend for the Pie chart",title:"WebChartPieChartLegend"},WebChartOverlay:{type:"object",properties:{type:{type:"string",const:"chartOverlay",description:'Represents a unique string identifier for the ChartOverlay object. For ChartOverlay object, it is "chartOverlay".'},created:{type:"boolean",description:"Determines whether the overlay is created under the hood. It may or may not be visible.",default:!1},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},symbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the overlay should be rendered If not provided a default style is applied."}},required:["type"],description:"JSON representation of the chart's overlays like trendline scatter plot, and median in histogram",title:"WebChartOverlay"},NumberFormatOptions:{type:"object",properties:{type:{type:"string",const:"number",description:'Represents a unique string identifier for the NumberFormatOptions object. For NumberFormatOptions object, it is "number". It can help us to differentiate numerical (value) axis from other types of axes viz., date-time axis and category axis.'},intlOptions:{$ref:"#/definitions/Intl.NumberFormatOptions",description:"Represents the JS native [Intl.NumberFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat), which is based on [CLDR](http://cldr.unicode.org/translation/numbers-currency/number-patterns) specifications."}},required:["type","intlOptions"],description:"Defines how the numerical(value) axis data should be formatted.",title:"NumberFormatOptions"},"Intl.NumberFormatOptions":{type:"object",properties:{localeMatcher:{type:"string",enum:["lookup","best fit"]},style:{$ref:"#/definitions/Intl.NumberFormatOptionsStyle"},currency:{type:"string"},currencyDisplay:{$ref:"#/definitions/Intl.NumberFormatOptionsCurrencyDisplay"},useGrouping:{$ref:"#/definitions/Intl.NumberFormatOptionsUseGrouping"},minimumIntegerDigits:{type:"number"},minimumFractionDigits:{type:"number"},maximumFractionDigits:{type:"number"},minimumSignificantDigits:{type:"number"},maximumSignificantDigits:{type:"number"}},title:"Intl.NumberFormatOptions"},"Intl.NumberFormatOptionsStyle":{title:"Intl.NumberFormatOptionsStyle"},"Intl.NumberFormatOptionsCurrencyDisplay":{title:"Intl.NumberFormatOptionsCurrencyDisplay"},"Intl.NumberFormatOptionsUseGrouping":{type:"boolean",title:"Intl.NumberFormatOptionsUseGrouping"},WebChartDateTimeUnitFormatOptions:{type:"object",properties:{year:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},month:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},day:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},hour:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},minute:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},second:{$ref:"#/definitions/Intl.DateTimeFormatOptions"}},description:'Interface used by the axis `valueFormat` property to describe how to format specific date and time units when displayed on the axis. For instance: "year": { year: "numeric" } "month": { month: "numeric" } "day": { day: "2-digit" } "hour": { day: "numeric" } "minute": { minute: "numeric" } "second": { second: "numeric" } Reference: https://tc39.es/ecma402/#sec-datetimeformat-abstracts',title:"WebChartDateTimeUnitFormatOptions"},"Intl.DateTimeFormatOptions":{type:"object",properties:{localeMatcher:{type:"string",enum:["best fit","lookup"]},weekday:{type:"string",enum:["long","short","narrow"]},era:{type:"string",enum:["long","short","narrow"]},year:{type:"string",enum:["numeric","2-digit"]},month:{type:"string",enum:["numeric","2-digit","long","short","narrow"]},day:{type:"string",enum:["numeric","2-digit"]},hour:{type:"string",enum:["numeric","2-digit"]},minute:{type:"string",enum:["numeric","2-digit"]},second:{type:"string",enum:["numeric","2-digit"]},timeZoneName:{type:"string",enum:["short","long","shortOffset","longOffset","shortGeneric","longGeneric"]},formatMatcher:{type:"string",enum:["best fit","basic"]},hour12:{type:"boolean"},timeZone:{type:"string"}},title:"Intl.DateTimeFormatOptions"},DateTimeFormatOptions:{type:"object",properties:{type:{type:"string",const:"date",description:'Represents a unique string identifier for the NumberFormatOptions object. For NumberFormatOptions object, it is "date". It can help us to differentiate date-time axis from other types of axes viz., numeric (value) axis and category axis.'},intlOptions:{$ref:"#/definitions/Intl.DateTimeFormatOptions",description:"Represent the JS native [Intl.DateTimeFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormatt), which is based on [CLDR](http://cldr.unicode.org/translation/date-time-1/date-time-patterns) specifications."},formatPerDateTimeUnit:{$ref:"#/definitions/WebChartDateTimeUnitFormatOptions",description:"Represents how to format specific date and time units when displayed on the axis, independently from the `intlOptions`."}},required:["type","intlOptions"],description:"Defines how the DateTime axis data should be formatted.",title:"DateTimeFormatOptions"},CategoryFormatOptions:{type:"object",properties:{type:{type:"string",const:"category",description:'Represents a unique string identifier for the CategoryFormatOptions object. For CategoryFormatOptions object, it is "category". It can help us to differentiate category axis from other types of axes, viz., date-time axis and numeric (value) axis.'},characterLimit:{type:["number","null"],description:"Represents a positive integer which represents the limit on the number of characters to be displayed for all the category strings. The truncated string are appended with `...`. If property is not present or `null`, no truncation is done.",minimum:1,multipleOf:1}},required:["type"],description:"Defines how the category axis data (Categories) should be formatted.",title:"CategoryFormatOptions"},WebChartGuide:{type:"object",properties:{type:{type:"string",const:"chartGuide",description:'Represents a unique string identifier for the Guide object. For Guide class, it is "chartGuide".'},start:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"Determines the value where the guide should begin."},end:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"Determines the value where the guide should end. If it is not specified, we get a line guide, otherwise we get a fill/rectangular guide."},style:{anyOf:[{$ref:"#/definitions/ISimpleFillSymbol"},{$ref:"#/definitions/ISimpleLineSymbol"}],description:"Determines how the guide should be rendered. Line guide requires [esriSLS](https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm) format, and fill guide requires [esriSFS](https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm) format."},name:{type:"string",description:"A unique string identifier which is used to refer to a particular guide. It is displayed in the Chart Authoring UI to differentiate between different guides."},label:{$ref:"#/definitions/WebChartTextSymbol",description:"Defines a text label for the given guide. It is displayed on the chart next to the concerned guide and is styled using **esriTS** format."},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},above:{type:"boolean",description:"Determines whether the guide should be rendered on top of (overlapping) the series or under the series.",default:!1},tooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the guide's tooltip background (false) or its outline (true).",default:!1}},required:["type","start","style","name"],description:"JSON representation of the chart's guide object. Can be used to represent both line and fill guides.",title:"WebChartGuide"},ISimpleFillSymbol:{type:"object",properties:{type:{type:"string",const:"esriSFS"},style:{$ref:"#/definitions/SimpleFillSymbolStyle"},color:{$ref:"#/definitions/Color"},outline:{$ref:"#/definitions/ISimpleLineSymbol"}},required:["type"],title:"ISimpleFillSymbol"},SimpleFillSymbolStyle:{type:"string",enum:["esriSFSBackwardDiagonal","esriSFSCross","esriSFSDiagonalCross","esriSFSForwardDiagonal","esriSFSHorizontal","esriSFSNull","esriSFSSolid","esriSFSVertical"],title:"SimpleFillSymbolStyle"},WebChartAxis:{type:"object",properties:{type:{type:"string",const:"chartAxis",description:'Represents a unique string identifier for the WebChartAxis object. For ChartAxis object, it is "chartAxis".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},isLogarithmic:{type:"boolean",description:"Specifies whether the axis has a logarithmic scale or not.",default:!1},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the axis should be rendered"},valueFormat:{anyOf:[{$ref:"#/definitions/CategoryFormatOptions"},{$ref:"#/definitions/DateTimeFormatOptions"},{$ref:"#/definitions/NumberFormatOptions"}],description:"Specifies how numerical/categorical/date-time values should be formatted."},minimum:{type:["number","null"],description:"The minimum value which the axis should represent, when it is not defined or null, then the minimum value for the corresponding axis is automatically calculated."},maximum:{type:["number","null"],description:"The maximum value which the axis should represent, when it is not defined or null, then the maximum value for the corresponding axis is automatically calculated."},grid:{$ref:"#/definitions/ISimpleLineSymbol",description:"Dictates how the grid lines associated with a particular axis should be rendered."},guides:{type:"array",items:{$ref:"#/definitions/WebChartGuide"},description:"Represent an array of guides that should be rendered onto the axis."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the axis line should be rendered. If not provided a default style is applied."},labels:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the axis labels should be rendered."},scrollbar:{$ref:"#/definitions/WebChartAxisScrollBar",description:"Represents the axis scrollbar style and visibility"},displayZeroLine:{type:"boolean",description:"Represents an option to hide/un-hide the zero line on value axis",default:!1},integerOnlyValues:{type:"boolean",description:"Represents an option to show `integer-only` values for a value axis",default:!1},displayCursorTooltip:{type:"boolean",description:"Specifies whether cursor tooltip should be displayed.",default:!1},buffer:{type:"boolean",description:"Allows setting a buffer to a **value axis** to provide some space around the series.",default:!1},tickSpacing:{type:"number",description:"The desired minimum distance between two adjacent axis ticks. The actual distance may fluctuate depending on the chart's size. When not provided a default value is assigned according to the axis type and axis labels behavior.",minimum:1},dateBaseInterval:{$ref:"#/definitions/TimeIntervalInfo",description:"Specifies the base interval on a date axis. Will be ignored on the other axis types. It will be overridden by the properties from the series `binTemporalData` when provided."}},required:["type","valueFormat","labels"],description:"JSON representation of the chart's axis object",title:"WebChartAxis"},TimeIntervalInfo:{type:"object",properties:{unit:{$ref:"#/definitions/WebChartTemporalBinningUnits"},size:{type:"number"}},title:"TimeIntervalInfo"},WebChartTemporalBinningUnits:{type:"string",enum:["seconds","minutes","hours","days","weeks","months","quarters","years"],description:"The temporal binning units",title:"WebChartTemporalBinningUnits"},WebChartGaugeAxisTick:{type:"object",properties:{type:{type:"string",const:"gaugeAxisTick",description:'Represents a unique string identifier for the GaugeAxisTick object. For WebChartGaugeAxisTick object, it is "gaugeAxisTick".'},visible:{type:"boolean",description:"Determines the visibility of the axis ticks.",default:!0}},required:["type"],description:"JSON representation of the gauge axis ticks. Currently only used by WebChartGaugeAxis.",title:"WebChartGaugeAxisTick"},WebChartNeedle:{type:"object",properties:{type:{type:"string",const:"gaugeNeedle",description:'Represents a unique string identifier for the ChartNeedle object. For WebChartNeedle object, it is "gaugeNeedle".'},visible:{type:"boolean",description:"Hides or shows the needle.",default:!0},symbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the needle should be rendered"},startWidth:{type:["number","null"],description:"Represents the needle's thickness at the bottom (chart's center), in px",minimum:1,default:10},endWidth:{type:["number","null"],description:"Represents the needle's thickness at the top, in px",minimum:1,default:1},innerRadius:{type:["number","null"],description:"Represents the size of the hole in the middle of the chart. Can be visualized when guides are displayed.",minimum:0,maximum:100,default:25},displayPin:{type:"boolean",description:"Hides or shows the needle's pin (centroid circle)",default:!1}},required:["type"],description:"JSON representation of a gauge needle.",title:"WebChartNeedle"},WebChartGaugeAxis:{type:"object",properties:{type:{type:"string",const:"chartAxis",description:'Represents a unique string identifier for the WebChartAxis object. For ChartAxis object, it is "chartAxis".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},isLogarithmic:{type:"boolean",description:"Specifies whether the axis has a logarithmic scale or not.",default:!1},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the axis should be rendered"},valueFormat:{anyOf:[{$ref:"#/definitions/CategoryFormatOptions"},{$ref:"#/definitions/DateTimeFormatOptions"},{$ref:"#/definitions/NumberFormatOptions"}],description:"Specifies how numerical/categorical/date-time values should be formatted."},minimum:{type:["number","null"],description:"The minimum value which the axis should represent, when it is not defined or null, then the minimum value for the corresponding axis is automatically calculated."},maximum:{type:["number","null"],description:"The maximum value which the axis should represent, when it is not defined or null, then the maximum value for the corresponding axis is automatically calculated."},grid:{$ref:"#/definitions/ISimpleLineSymbol",description:"Dictates how the grid lines associated with a particular axis should be rendered."},guides:{type:"array",items:{$ref:"#/definitions/WebChartGuide"},description:"Represent an array of guides that should be rendered onto the axis."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the axis line should be rendered. If not provided a default style is applied."},labels:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the axis labels should be rendered."},scrollbar:{$ref:"#/definitions/WebChartAxisScrollBar",description:"Represents the axis scrollbar style and visibility"},displayZeroLine:{type:"boolean",description:"Represents an option to hide/un-hide the zero line on value axis",default:!1},integerOnlyValues:{type:"boolean",description:"Represents an option to show `integer-only` values for a value axis",default:!1},displayCursorTooltip:{type:"boolean",description:"Specifies whether cursor tooltip should be displayed.",default:!1},buffer:{type:"boolean",description:"Allows setting a buffer to a **value axis** to provide some space around the series.",default:!1},tickSpacing:{type:"number",description:"The desired minimum distance between two adjacent axis ticks. The actual distance may fluctuate depending on the chart's size. When not provided a default value is assigned according to the axis type and axis labels behavior.",minimum:1},dateBaseInterval:{$ref:"#/definitions/TimeIntervalInfo",description:"Specifies the base interval on a date axis. Will be ignored on the other axis types. It will be overridden by the properties from the series `binTemporalData` when provided."},innerLabel:{$ref:"#/definitions/WebChartText",description:"Specifies how the axis' inner label needs to be displayed"},needle:{$ref:"#/definitions/WebChartNeedle",description:"Specifies how the axis' needle needs to be displayed"},ticks:{$ref:"#/definitions/WebChartGaugeAxisTick",description:"Specifies how the axis' ticks need to be displayed"},labelsIncrement:{type:"number",description:"If a label has a value being a multiple of that property, it will be displayed. Otherwise it will be hidden.\n\nIf the property is `undefined` or 0, the chart will be displayed with 6 axis labels distributed evenly along the axis min and max.\n\nIf the property has a value that results in more than a set limit of axis labels (25 as defined in `ChartDefaults.gauge.maximumNumberOfLabelIntervals`) this property value will be ignored and the chart will be displayed with only axis min/max with 4 ticks in between.",default:"undefined"},onlyShowFirstAndLastLabels:{type:"boolean",description:"Specifies if only the first and last labels need to be displayed. If set to `true` all the other labels will be hidden. Their visibility still depends on the axis labels visibility (WebChartAxis.labels.visible).",default:!1},minimumValueConversion:{$ref:"#/definitions/ValueConversion",description:"Defines how to convert the axis minimum"},maximumValueConversion:{$ref:"#/definitions/ValueConversion",description:"Defines how to convert the axis maximum"},minimumFromField:{anyOf:[{$ref:"#/definitions/IStatisticDefinition"},{type:"string"}],description:"If used with a gauge by feature:\n- `minimumFromField` is expected to be a field name. The value from that field for the given feature is mapped to the axis minimum value If used with a statistic gauge:\n- If `minimumFromField` is set to a field name (string), the minimum from that field is mapped to the axis minimum value\n- If it is set to an `IStatisticDefinition` the statistic (min, max, avg...) from the given field is mapped to the axis minimum value When `minimumFromField` is not provided or when it leads to an invalid value, the `minimum` value from the axis config, if provided, or the default value of 0, in that order, will be used."},maximumFromField:{anyOf:[{$ref:"#/definitions/IStatisticDefinition"},{type:"string"}],description:"If used with a gauge by feature:\n- `maximumFromField` is expected to be a field name. The value from that field for the given feature is mapped to the axis maximum value If used with a statistic gauge:\n- If `maximumFromField` is set to a field name (string), the maximum from that field is mapped to the axis maximum value\n- If it is set to an `IStatisticDefinition` the statistic (min, max, avg...) from the given field is mapped to the axis maximum value When `maximumFromField` is not provided or when it leads to an invalid value, the `maximum` value from the axis config, if provided, or the default value of 0, in that order, will be used."}},required:["labels","type","valueFormat"],description:"JSON representation of the gauge chart's axis object. Inherits from the WebChartAxis properties.",title:"WebChartGaugeAxis"},IStatisticDefinition:{type:"object",properties:{statisticType:{type:"string",enum:["avg","centroid-aggregate","convex-hull-aggregate","count","envelope-aggregate","max","min","percentile-continuous","percentile-discrete","stddev","sum","var"],description:"Statistical operation to perform (count, sum, min, max, avg, stddev, var, percentile_cont, percentile_disc, EnvelopeAggregate, CentroidAggregate, ConvexHullAggregate)."},statisticParameters:{type:"object",properties:{value:{type:"number"},orderBy:{type:"string",enum:["asc","desc"]}},required:["value"],description:"Parameters to be used along with statisticType. Currently, only applicable for percentile-continuous (continuous percentile) and percentile-discrete (discrete percentile)."},onStatisticField:{type:"string",description:"Field on which to perform the statistical operation."},outStatisticFieldName:{type:"string",description:"Field name for the returned statistic field. If outStatisticFieldName is empty or missing, the server will assign one. A valid field name can only contain alphanumeric characters and an underscore. If the outStatisticFieldName is a reserved keyword of the underlying DBMS, the operation can fail. Try specifying an alternative outStatisticFieldName."}},required:["statisticType","onStatisticField"],title:"IStatisticDefinition"},WebChartRadarChartAxis:{type:"object",properties:{type:{type:"string",const:"chartAxis",description:'Represents a unique string identifier for the WebChartAxis object. For ChartAxis object, it is "chartAxis".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},isLogarithmic:{type:"boolean",description:"Specifies whether the axis has a logarithmic scale or not.",default:!1},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the axis should be rendered"},valueFormat:{anyOf:[{$ref:"#/definitions/CategoryFormatOptions"},{$ref:"#/definitions/DateTimeFormatOptions"},{$ref:"#/definitions/NumberFormatOptions"}],description:"Specifies how numerical/categorical/date-time values should be formatted."},minimum:{type:["number","null"],description:"The minimum value which the axis should represent, when it is not defined or null, then the minimum value for the corresponding axis is automatically calculated."},maximum:{type:["number","null"],description:"The maximum value which the axis should represent, when it is not defined or null, then the maximum value for the corresponding axis is automatically calculated."},grid:{$ref:"#/definitions/ISimpleLineSymbol",description:"Dictates how the grid lines associated with a particular axis should be rendered."},guides:{type:"array",items:{$ref:"#/definitions/WebChartGuide"},description:"Represent an array of guides that should be rendered onto the axis."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the axis line should be rendered. If not provided a default style is applied."},labels:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the axis labels should be rendered."},scrollbar:{$ref:"#/definitions/WebChartAxisScrollBar",description:"Represents the axis scrollbar style and visibility"},displayZeroLine:{type:"boolean",description:"Represents an option to hide/un-hide the zero line on value axis",default:!1},integerOnlyValues:{type:"boolean",description:"Represents an option to show `integer-only` values for a value axis",default:!1},displayCursorTooltip:{type:"boolean",description:"Specifies whether cursor tooltip should be displayed.",default:!1},buffer:{type:"boolean",description:"Allows setting a buffer to a **value axis** to provide some space around the series.",default:!1},tickSpacing:{type:"number",description:"The desired minimum distance between two adjacent axis ticks. The actual distance may fluctuate depending on the chart's size. When not provided a default value is assigned according to the axis type and axis labels behavior.",minimum:1},dateBaseInterval:{$ref:"#/definitions/TimeIntervalInfo",description:"Specifies the base interval on a date axis. Will be ignored on the other axis types. It will be overridden by the properties from the series `binTemporalData` when provided."},labelsOrientation:{$ref:"#/definitions/WebChartRadarChartAxisLabelsOrientation",description:"Defines the labels orientation",default:"WebChartRadarChartAxisLabelsOrientation.Circular"}},required:["labels","type","valueFormat"],description:"JSON representation of the radar chart's axis object.",title:"WebChartRadarChartAxis"},WebChartRadarChartAxisLabelsOrientation:{type:"string",enum:["radial","circular","horizontal"],description:"Labels orientation for radar chart axes.",title:"WebChartRadarChartAxisLabelsOrientation"},WebChartQuery:{type:"object",properties:{outFields:{type:"array",items:{type:"string"},description:"Attribute fields to include in the FeatureSet. Will have an effect on chart with no aggregation."},where:{type:"string",description:"Acts as a filter on the base data for attribute-based filtering, expect for bar/line charts for which is is used to handle the split-by field values."},groupByFieldsForStatistics:{type:"array",items:{type:"string"},description:"An array of fields which determine how the base data is grouped. Only one **groupBy** Field is supported, but ArcGIS JSAPI [supports multiple groupBy fields](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#groupByFieldsForStatistics). While splitting by multiple group-by fields is possible, it is not being done because of the number of series it will give rise to (equal to the length of the Cartesian product set) possibly making the visualization hard to interpret.",maxItems:1},outStatistics:{type:"array",items:{$ref:"#/definitions/IStatisticDefinition"},description:"Represents an array of statistics definitions which dictate how a particular field should be aggregated. Refer to [JSAPI Statistics Definition class](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-StatisticDefinition.html) for more info."},orderByFields:{type:"array",items:{type:"string"},description:"Represents the sorting order of the output result. More info present in [JSAPI docs](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#orderByFields). The format of any entry in this array is `field_name sorting_order`. When `sorting_order` is not defined, it is assumed to be ascending."},gdbVersion:{type:"string",description:"Specifies the geodatabase version to display for feature service queries."},geometry:{anyOf:[{$ref:"#/definitions/IEnvelope"},{$ref:"#/definitions/IExtent"},{$ref:"#/definitions/IPoint"},{$ref:"#/definitions/IPolygon"},{$ref:"#/definitions/IPolygonWithCurves"},{$ref:"#/definitions/IPolyline"}],description:"The geometry to apply to the spatial filter. A buffer can be applied to it by setting the properties `distance` and `units`."},spatialRelationship:{description:"For spatial filters, this parameter defines the spatial relationship to filter features in the layer view against the filter geometry."},distance:{type:"number",description:"Specifies a search distance for the `geometry`. To be associated with the `units` property. For compatible layers only."},units:{$ref:"#/definitions/RESTUnits",description:"The unit for calculating the buffer distance when `distance` and `geometry` are provided. If not specified, the unit is derived from the geometry spatial reference."},timeExtent:{type:"array",items:{type:"number"},minItems:2,maxItems:2,description:"A time extent ([timestamp, timestamp]) for a temporal query against time-aware layers."},start:{type:"number",description:"The zero-based index indicating where to begin retrieving features."},num:{type:"number",description:"The number of features to retrieve."},returnDistinctValues:{type:"boolean",description:"If true then the query returns distinct values based on the field(s) specified in outFields. Available for count-based aggregations only.",default:!1},fetchNullValues:{type:"boolean",description:"Indicates whether to fetch null values for them to be counted or displayed as categories on the chart.",default:!1},objectIds:{type:"array",items:{type:"number"},description:"An array of objectIds of the features to be filtered."}},description:"Chart query object inspired by [JSAPI Query](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html) class.",title:"WebChartQuery"},IEnvelope:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},xmin:{type:"number"},xmax:{type:"number"},ymin:{type:"number"},ymax:{type:"number"},zmin:{type:"number"},zmax:{type:"number"},mmin:{type:"number"},mmax:{type:"number"}},required:["xmin","xmax","ymin","ymax"],description:"An envelope is a rectangle defined by a range of values for each coordinate and attribute.",title:"IEnvelope"},IGeometry:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"}},description:'a building block for discrete geometries\n\n`IGeometry` can also be imported from the following packages:\n\n```js import { IGeometry } from "@esri/arcgis-rest-feature-layer"; ```',title:"IGeometry"},ISpatialReference:{type:"object",properties:{wkid:{type:["number","null"]},latestWkid:{type:"number"},vcsWkid:{type:"number"},latestVcsWkid:{type:"number"},wkt:{type:["string","null"]},latestWkt:{type:"string"}},description:'Spatial reference systems define mathematical transformations and coordinate systems for displaying spatial information in 2D and 3D.\n\n`ISpatialReference` can also be imported from the following packages:\n\n```js import { ISpatialReference } from "@esri/arcgis-rest-geocoding"; import { ISpatialReference } from "@esri/arcgis-rest-routing"; import { ISpatialReference } from "@esri/arcgis-rest-service-admin"; import { ISpatialReference } from "@esri/arcgis-rest-feature-layer"; ```',title:"ISpatialReference"},IExtent:{type:"object",properties:{xmin:{type:"number"},ymin:{type:"number"},zmin:{type:"number"},xmax:{type:"number"},ymax:{type:"number"},zmax:{type:"number"},spatialReference:{$ref:"#/definitions/ISpatialReference"}},required:["xmin","ymin","xmax","ymax"],description:'Extents are used to define rectangles and bounding boxes.\n\n`IExtent` can also be imported from the following packages:\n\n```js import { IExtent } from "@esri/arcgis-rest-geocoding"; import { IExtent } from "@esri/arcgis-rest-service-admin"; import { IExtent } from "@esri/arcgis-rest-feature-layer"; ```',title:"IExtent"},IPoint:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},x:{type:"number"},y:{type:"number"},z:{type:"number"}},required:["x","y"],description:'A simple point geometry, with spatial reference defined.\n\n`IPoint` can also be imported from the following packages:\n\n```js import { IPoint } from "@esri/arcgis-rest-routing"; import { IPoint } from "@esri/arcgis-rest-geocoding"; ```',title:"IPoint"},IHasZM:{type:"object",properties:{hasZ:{type:"boolean"},hasM:{type:"boolean"}},description:'`IHasZM` can also be imported from the following packages:\n\n```js import { IHasZM } from "@esri/arcgis-rest-feature-layer"; ```',title:"IHasZM"},IPolygon:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},rings:{type:"array",items:{type:"array",items:{$ref:"#/definitions/Position"}}}},required:["rings"],title:"IPolygon"},Position:{anyOf:[{$ref:"#/definitions/Position2D"},{type:"array",items:{type:"number"},minItems:4,maxItems:4},{type:"array",items:{type:"number"},minItems:3,maxItems:3}],title:"Position"},Position2D:{type:"array",items:{type:"number"},minItems:2,maxItems:2,title:"Position2D"},IPolygonWithCurves:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},curveRings:{type:"array",items:{type:"array",items:{anyOf:[{$ref:"#/definitions/JsonCurve"},{$ref:"#/definitions/Position"}]}}}},required:["curveRings"],title:"IPolygonWithCurves"},JsonCurve:{anyOf:[{$ref:"#/definitions/IArc"},{$ref:"#/definitions/IBezierCurve"},{$ref:"#/definitions/ICircularArc"},{$ref:"#/definitions/IOldCircularArc"}],title:"JsonCurve"},IArc:{type:"object",properties:{a:{type:"array",minItems:7,items:[{$ref:"#/definitions/Position"},{$ref:"#/definitions/Position2D"},{type:"number"},{type:"number"},{type:"number"},{type:"number"},{type:"number"}],maxItems:7}},required:["a"],description:"an arc can be represented as a JSON curve object",title:"IArc"},IBezierCurve:{type:"object",properties:{b:{type:"array",minItems:3,items:[{$ref:"#/definitions/Position"},{$ref:"#/definitions/Position2D"},{$ref:"#/definitions/Position2D"}],maxItems:3}},required:["b"],description:"a bezier curve can be represented as a JSON curve object",title:"IBezierCurve"},ICircularArc:{type:"object",properties:{c:{type:"array",minItems:2,items:[{$ref:"#/definitions/Position"},{$ref:"#/definitions/Position2D"}],maxItems:2}},required:["c"],description:"a circular arc can be represented as a JSON curve object",title:"ICircularArc"},IOldCircularArc:{type:"object",properties:{a:{type:"array",minItems:4,items:[{$ref:"#/definitions/Position"},{$ref:"#/definitions/Position2D"},{type:"number"},{type:"number"}],maxItems:4}},required:["a"],title:"IOldCircularArc"},IPolyline:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},paths:{type:"array",items:{type:"array",items:{$ref:"#/definitions/Position"}}}},required:["paths"],title:"IPolyline"},RESTUnits:{type:"string",enum:["feet","miles","nautical-miles","us-nautical-miles","meters","kilometers"],title:"RESTUnits"},WebChartSeriesQuery:{$ref:"#/definitions/Omit%3CWebChartQuery%2C(%22distance%22%7C%22gdbVersion%22%7C%22geometry%22%7C%22num%22%7C%22objectIds%22%7C%22orderByFields%22%7C%22spatialRelationship%22%7C%22start%22%7C%22timeExtent%22%7C%22units%22)%3E",description:"Subset of the WebChartQuery, used at the series level",title:"WebChartSeriesQuery"},'Omit<WebChartQuery,("distance"|"gdbVersion"|"geometry"|"num"|"objectIds"|"orderByFields"|"spatialRelationship"|"start"|"timeExtent"|"units")>':{$ref:"#/definitions/Pick%3CWebChartQuery%2CExclude%3C(%22outFields%22%7C%22where%22%7C%22groupByFieldsForStatistics%22%7C%22outStatistics%22%7C%22orderByFields%22%7C%22gdbVersion%22%7C%22geometry%22%7C%22spatialRelationship%22%7C%22distance%22%7C%22units%22%7C%22timeExtent%22%7C%22start%22%7C%22num%22%7C%22returnDistinctValues%22%7C%22fetchNullValues%22%7C%22objectIds%22%7Cstring)%2C(%22distance%22%7C%22gdbVersion%22%7C%22geometry%22%7C%22num%22%7C%22objectIds%22%7C%22orderByFields%22%7C%22spatialRelationship%22%7C%22start%22%7C%22timeExtent%22%7C%22units%22)%3E%3E",title:'Omit<WebChartQuery,("distance"|"gdbVersion"|"geometry"|"num"|"objectIds"|"orderByFields"|"spatialRelationship"|"start"|"timeExtent"|"units")>'},'Pick<WebChartQuery,Exclude<("outFields"|"where"|"groupByFieldsForStatistics"|"outStatistics"|"orderByFields"|"gdbVersion"|"geometry"|"spatialRelationship"|"distance"|"units"|"timeExtent"|"start"|"num"|"returnDistinctValues"|"fetchNullValues"|"objectIds"|string),("distance"|"gdbVersion"|"geometry"|"num"|"objectIds"|"orderByFields"|"spatialRelationship"|"start"|"timeExtent"|"units")>>':{type:"object",properties:{outFields:{type:"array",items:{type:"string"},description:"Attribute fields to include in the FeatureSet. Will have an effect on chart with no aggregation."},where:{type:"string",description:"Acts as a filter on the base data for attribute-based filtering, expect for bar/line charts for which is is used to handle the split-by field values."},groupByFieldsForStatistics:{type:"array",items:{type:"string"},description:"An array of fields which determine how the base data is grouped. Only one **groupBy** Field is supported, but ArcGIS JSAPI [supports multiple groupBy fields](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#groupByFieldsForStatistics). While splitting by multiple group-by fields is possible, it is not being done because of the number of series it will give rise to (equal to the length of the Cartesian product set) possibly making the visualization hard to interpret.",maxItems:1},outStatistics:{type:"array",items:{$ref:"#/definitions/IStatisticDefinition"},description:"Represents an array of statistics definitions which dictate how a particular field should be aggregated. Refer to [JSAPI Statistics Definition class](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-StatisticDefinition.html) for more info."},returnDistinctValues:{type:"boolean",description:"If true then the query returns distinct values based on the field(s) specified in outFields. Available for count-based aggregations only.",default:!1},fetchNullValues:{type:"boolean",description:"Indicates whether to fetch null values for them to be counted or displayed as categories on the chart.",default:!1}},title:'Pick<WebChartQuery,Exclude<("outFields"|"where"|"groupByFieldsForStatistics"|"outStatistics"|"orderByFields"|"gdbVersion"|"geometry"|"spatialRelationship"|"distance"|"units"|"timeExtent"|"start"|"num"|"returnDistinctValues"|"fetchNullValues"|"objectIds"|string),("distance"|"gdbVersion"|"geometry"|"num"|"objectIds"|"orderByFields"|"spatialRelationship"|"start"|"timeExtent"|"units")>>'},WebChartDataFilters:{$ref:"#/definitions/Pick%3CWebChartQuery%2C(%22distance%22%7C%22gdbVersion%22%7C%22geometry%22%7C%22objectIds%22%7C%22spatialRelationship%22%7C%22timeExtent%22%7C%22units%22%7C%22where%22)%3E",description:"JSON representation of filters applied to the data",title:"WebChartDataFilters"},'Pick<WebChartQuery,("distance"|"gdbVersion"|"geometry"|"objectIds"|"spatialRelationship"|"timeExtent"|"units"|"where")>':{type:"object",properties:{distance:{type:"number",description:"Specifies a search distance for the `geometry`. To be associated with the `units` property. For compatible layers only."},gdbVersion:{type:"string",description:"Specifies the geodatabase version to display for feature service queries."},geometry:{anyOf:[{$ref:"#/definitions/IEnvelope"},{$ref:"#/definitions/IExtent"},{$ref:"#/definitions/IPoint"},{$ref:"#/definitions/IPolygon"},{$ref:"#/definitions/IPolygonWithCurves"},{$ref:"#/definitions/IPolyline"}],description:"The geometry to apply to the spatial filter. A buffer can be applied to it by setting the properties `distance` and `units`."},objectIds:{type:"array",items:{type:"number"},description:"An array of objectIds of the features to be filtered."},spatialRelationship:{description:"For spatial filters, this parameter defines the spatial relationship to filter features in the layer view against the filter geometry."},timeExtent:{type:"array",items:{type:"number"},minItems:2,maxItems:2,description:"A time extent ([timestamp, timestamp]) for a temporal query against time-aware layers."},units:{$ref:"#/definitions/RESTUnits",description:"The unit for calculating the buffer distance when `distance` and `geometry` are provided. If not specified, the unit is derived from the geometry spatial reference."},where:{type:"string",description:"Acts as a filter on the base data for attribute-based filtering, expect for bar/line charts for which is is used to handle the split-by field values."}},title:'Pick<WebChartQuery,("distance"|"gdbVersion"|"geometry"|"objectIds"|"spatialRelationship"|"timeExtent"|"units"|"where")>'},WebChartSeries:{type:"object",properties:{type:{type:"string"},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1}},required:["type","id","name","x"],description:"JSON representation of the chart's series object. All other series extends this interface.",title:"WebChartSeries"},WebChartFixedDateBinning:{type:"object",properties:{size:{type:"number",description:"The span of time that will be binned or aggregated together. Works in coordination with `unit`."},trimIncompleteTimeInterval:{type:"boolean",description:"Determines whether incomplete time intervals at the start or end of the data span (depending on the `timeAggregationType`) will be removed from the chart. Incomplete intervals on a chart can cause misleading results in which the period in question is under- or over reported due to a different amount of time in the interval. Setting `true` indicates to trim these incomplete intervals. Setting `false` does not trim incomplete intervals.",default:!0},timeAggregationType:{$ref:"#/definitions/WebChartTimeAggregationTypes",description:"The time interval alignment type. Valid options include `equalIntervalsFromStartTime` and `equalIntervalsFromEndTime`.",default:"equalIntervalsFromStartTime"},nullPolicy:{$ref:"#/definitions/WebChartNullPolicyTypes",description:"How summarized bins returning a null value are displayed. Supported options are:\n- `null`, `zero`, and `interpolate` for line series\n- `null` and `zero` for bar series",default:"null"},type:{type:"string",const:"fixedDateBased"},unit:{$ref:"#/definitions/WebChartFixedDateBinningUnits",description:"The unit of time to use to bin the temporal data."}},required:["type"],description:"Represents the properties related to the the fixed-date temporal binning. It currently covers the same scope as `WebChartDateBinning`.",title:"WebChartFixedDateBinning"},WebChartDateBinning:{type:"object",properties:{size:{type:"number",description:"The span of time that will be binned or aggregated together. Works in coordination with `unit`."},trimIncompleteTimeInterval:{type:"boolean",description:"Determines whether incomplete time intervals at the start or end of the data span (depending on the `timeAggregationType`) will be removed from the chart. Incomplete intervals on a chart can cause misleading results in which the period in question is under- or over reported due to a different amount of time in the interval. Setting `true` indicates to trim these incomplete intervals. Setting `false` does not trim incomplete intervals.",default:!0},timeAggregationType:{$ref:"#/definitions/WebChartTimeAggregationTypes",description:"The time interval alignment type. Valid options include `equalIntervalsFromStartTime` and `equalIntervalsFromEndTime`.",default:"equalIntervalsFromStartTime"},nullPolicy:{$ref:"#/definitions/WebChartNullPolicyTypes",description:"How summarized bins returning a null value are displayed. Supported options are:\n- `null`, `zero`, and `interpolate` for line series\n- `null` and `zero` for bar series",default:"null"}},title:"WebChartDateBinning"},WebChartTimeAggregationTypes:{type:"string",enum:["equalIntervalsFromStartTime","equalIntervalsFromEndTime"],description:"Represents the different types of time aggregation that can be applied to a chart using the time binning feature.",title:"WebChartTimeAggregationTypes"},WebChartNullPolicyTypes:{type:"string",enum:["null","zero","interpolate"],description:"Represents the different types of null policy that can be applied to a chart using the time binning feature.",title:"WebChartNullPolicyTypes"},WebChartFixedDateBinningUnits:{type:"string",enum:["seconds","minutes","hours","days","weeks","months","years"],description:"The temporal binning units for fixed-date based binning",title:"WebChartFixedDateBinningUnits"},WebChartCalendarBasedBinning:{type:"object",properties:{size:{type:"number",description:"The span of time that will be binned or aggregated together. Works in coordination with `unit`."},trimIncompleteTimeInterval:{type:"boolean",description:"Determines whether incomplete time intervals at the start or end of the data span (depending on the `timeAggregationType`) will be removed from the chart. Incomplete intervals on a chart can cause misleading results in which the period in question is under- or over reported due to a different amount of time in the interval. Setting `true` indicates to trim these incomplete intervals. Setting `false` does not trim incomplete intervals.",default:!0},timeAggregationType:{$ref:"#/definitions/WebChartTimeAggregationTypes",description:"The time interval alignment type. Valid options include `equalIntervalsFromStartTime` and `equalIntervalsFromEndTime`.",default:"equalIntervalsFromStartTime"},nullPolicy:{$ref:"#/definitions/WebChartNullPolicyTypes",description:"How summarized bins returning a null value are displayed. Supported options are:\n- `null`, `zero`, and `interpolate` for line series\n- `null` and `zero` for bar series",default:"null"},type:{type:"string",const:"calendarBased"},unit:{$ref:"#/definitions/WebChartCalendarBinningUnits",description:"The unit of time to use to bin the temporal data."},start:{type:"number",description:"The binning start date"},end:{type:"number",description:"The binning end date"},offset:{type:"object",properties:{unit:{$ref:"#/definitions/WebChartCalendarBinningOffsetUnits"},size:{type:"number"}},required:["unit","size"],description:"Offset to apply to the results"},outTimeZone:{type:"string",description:"Defines the [IANA time zone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) used for temporal bin calculations"}},required:["type"],description:"Represents the properties related to the calendar-based temporal binning. It supports the same properties as `WebChartDateBinning` and adds some.",title:"WebChartCalendarBasedBinning"},WebChartCalendarBinningUnits:{type:"string",enum:["seconds","minutes","hours","days","weeks","months","quarters","years"],description:"The temporal binning units for calendar based binning",title:"WebChartCalendarBinningUnits"},WebChartCalendarBinningOffsetUnits:{type:"string",enum:["seconds","minutes","hours","days"],description:"The temporal binning units for the calendar based binning offset",title:"WebChartCalendarBinningOffsetUnits"},WebChartCalendarDatePartsBinning:{type:"object",properties:{type:{type:"string",const:"calendarDateParts"},unit:{$ref:"#/definitions/WebChartCalendarDatePartsUnits",description:"The unit to use to bin the data."},outTimeZone:{type:"string",description:"Defines the [IANA time zone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) used for temporal bin calculations"}},required:["type","unit"],description:"Represents the properties related to the calendar-based date parts binning.",title:"WebChartCalendarDatePartsBinning"},WebChartCalendarDatePartsUnits:{type:"string",enum:["dayOfMonth","dayOfWeek","dayOfYear","hourOfDay","monthOfYear"],description:"Represents the units that can be used for calendar-based date parts binning.",title:"WebChartCalendarDatePartsUnits"},WebChartTemporalSeries:{type:"object",properties:{binTemporalData:{type:"boolean",description:"Whether to use the time properties to bin the temporal data. If set to `false` the `binCount` and `unit` properties can be used to set the date axis base interval.",default:!0},temporalBinning:{anyOf:[{$ref:"#/definitions/WebChartCalendarBasedBinning"},{$ref:"#/definitions/WebChartFixedDateBinning"}],description:'Defines the pattern to apply to bin the data. The "calendarBased" type will make the bins start at the beginning of the given period (1st of the week, 1st of the month, 1st or the day, etc.) The "fixedDateBased" type will make the bins start at the dataset first entry (e.g. if the first date is 1/18/20 and the binning is done by month, the bins will go from the 18th of January to the 17th of February).'}},description:"Describes the properties related to a temporal series",title:"WebChartTemporalSeries"},WebChartBarChartSeries:{type:"object",properties:{binTemporalData:{type:"boolean",description:"Whether to use the time properties to bin the temporal data. If set to `false` the `binCount` and `unit` properties can be used to set the date axis base interval.",default:!0},temporalBinning:{anyOf:[{$ref:"#/definitions/WebChartCalendarBasedBinning"},{$ref:"#/definitions/WebChartFixedDateBinning"}],description:'Defines the pattern to apply to bin the data. The "calendarBased" type will make the bins start at the beginning of the given period (1st of the week, 1st of the month, 1st or the day, etc.) The "fixedDateBased" type will make the bins start at the dataset first entry (e.g. if the first date is 1/18/20 and the binning is done by month, the bins will go from the 18th of January to the 17th of February).'},type:{type:"string",const:"barSeries",description:'Represents a unique string identifier for the BarChartSeries object. For BarSeries object, it is "barSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},y:{type:"string",description:"Specifies which field represents the y-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the columns/bars should be rendered"},hideOversizedStackedLabels:{type:"boolean",description:"When true or undefined (default), the labels displayed within a small stacked column are hidden to avoid cluttering. When false, all the data labels are displayed.",default:!0},hideOversizedSideBySideLabels:{type:"boolean",description:"When true, the labels displayed within a small column for sideBySide bar series are hidden to avoid cluttering. When false or undefined (default), all the data labels are displayed.",default:!1}},required:["id","name","type","x","y"],description:"[Bar chart](https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/charts/bar-chart.htm) shows the categorical distribution of String/DateTime data.",title:"WebChartBarChartSeries"},HistogramOverlays:{type:"object",properties:{type:{type:"string",const:"chartOverlays",description:'Represents a unique string identifier for the HistogramOverlays object. For HistogramOverlays object, it is "chartOverlays".'},mean:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the mean overlay for histogram. If not provided, the mean overlay is not displayed."},median:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the median overlay for histogram. If not provided, the median overlay is not displayed."},standardDeviation:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the standard deviation overlay for histogram. If not provided, the standard deviation overlay is not displayed."},comparisonDistribution:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the comparison distribution overlay for histogram. If not provided, the comparison distribution overlay is not displayed."}},required:["type"],description:"Object containing Histogram overlays",title:"HistogramOverlays"},WebChartHistogramSeries:{type:"object",properties:{type:{type:"string",const:"histogramSeries",description:'Represents a unique string identifier for the HistogramSeries object. For BarSeries object, it is "histogramSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},binCount:{type:["number","null"],description:"Bin count must be a positive integer.",minimum:1,multipleOf:1,default:32},overlays:{$ref:"#/definitions/HistogramOverlays",description:"Specifies the chart overlays. Histogram supports 4 overlays: **mean**, **median**, **standardDeviation** and **comparisonDistribution**. The overlays won't show if the property is not defined."},dataTransformationType:{$ref:"#/definitions/WebChartDataTransformations",description:"Specifies how the data should be transformed (e.g. square root, log, etc.) before binning."},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the columns/bars should be rendered"}},required:["id","name","type","x"],description:"[Histogram](https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/charts/histogram.htm) shows the numerical(frequency) distribution of a numerical field.",title:"WebChartHistogramSeries"},WebChartDataTransformations:{type:"string",enum:["none","logarithmic","squareRoot"],title:"WebChartDataTransformations"},ScatterplotOverlays:{type:"object",properties:{type:{type:"string",const:"chartOverlays",description:'Represents a unique string identifier for the ScatterplotOverlays object. For ScatterplotOverlays object, it is "chartOverlays".'},trendLine:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the trendline overlay for scatter plot. The trendline won't show if the property is not defined."}},required:["type"],description:"Object containing Scatter Plot overlays",title:"ScatterplotOverlays"},SizePolicy:{type:"object",properties:{type:{type:"string",const:"sizeScale",description:'Represents a unique string identifier for the sizePolicy object. For sizePolicy object, it is "sizeScale".'},scaleType:{$ref:"#/definitions/SizePolicyScaleTypes",description:"The type of scale to apply to the markers (linear or logarithmic)",default:"SizePolicyScaleTypes.Linear"},field:{type:"string",description:"The field which determines the markers size"},minSize:{type:"number",description:"The minimum marker size",default:5,multipleOf:1},maxSize:{type:"number",description:"The maximum marker size",default:30,multipleOf:1}},required:["type","field"],title:"SizePolicy"},SizePolicyScaleTypes:{type:"string",enum:["linear","logarithmic"],description:"Represents the types of scales that can be applied to the size policy. Use by bubble charts (scatterplot).",title:"SizePolicyScaleTypes"},WebChartScatterplotSeries:{type:"object",properties:{type:{type:"string",const:"scatterSeries",description:'Represents a unique string identifier for the ScatterSeries object. For ScatterSeries object, it is "scatterSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},y:{type:"string",description:"Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},markerSymbol:{$ref:"#/definitions/ISimpleMarkerSymbol",description:'Specifies how each data point in the scatter plot should be rendered. The type is `"esriSMS"` and it is adopted from the [REST API Types](https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm#GUID-C8D40B32-5F4B-45EB-8048-6D5A8763E13B).'},overlays:{$ref:"#/definitions/ScatterplotOverlays",description:"Specifies all the chart overlays. The scatter plot implements only 1 overlay, **trendLine**. The overlays won't show if the property is not defined."},sizePolicy:{$ref:"#/definitions/SizePolicy",description:"Specifies rules to use the scatter plot as bubble plot, by changing dynamically the markers size according to a specific field value"}},required:["id","name","type","x","y"],description:"[Scatter plot](https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/charts/scatter-plot.htm) shows the relationship between two numerical fields.",title:"WebChartScatterplotSeries"},ISimpleMarkerSymbol:{type:"object",properties:{type:{type:"string",const:"esriSMS"},style:{$ref:"#/definitions/SimpleMarkerSymbolStyle"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"},color:{$ref:"#/definitions/Color"},size:{type:"number"},outline:{$ref:"#/definitions/ISimpleLineSymbol"}},required:["type"],title:"ISimpleMarkerSymbol"},IMarkerSymbol:{type:"object",properties:{type:{$ref:"#/definitions/SymbolType"},style:{type:"string"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"}},required:["type"],title:"IMarkerSymbol"},SimpleMarkerSymbolStyle:{type:"string",enum:["esriSMSCircle","esriSMSCross","esriSMSDiamond","esriSMSSquare","esriSMSTriangle","esriSMSX"],title:"SimpleMarkerSymbolStyle"},WebChartPieChartTick:{type:"object",properties:{type:{type:"string",const:"pieTick",description:'Represents a unique string identifier for the WebChartPieChartTick object. For PieTick object, it is "pieTick".'},visible:{type:"boolean",description:"Determines the visibility of the tick. Assigning the `true` value will only be considered when the data labels are visible (`series.dataLabels.visible`) and when the data label associated to the tick is outside of the chart (`series.dataLabelsOffset` > 0)."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the pie chart ticks should be rendered"}},required:["type"],description:"JSON representation of the pie ticks.",title:"WebChartPieChartTick"},WebChartPieChartSlice:{type:"object",properties:{sliceId:{type:"string",description:"A unique string used identify the slice of a pie chart."},originalLabel:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"The slice's original label."},label:{type:"string",description:"Custom label for the slice. For grouped slice, the default value is `Other`. For regular slice, it will be either the category or field name."},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the slice should be rendered. If not provided, the slice will be styled with default values."}},required:["sliceId"],description:"JSON representation of the pie slices",title:"WebChartPieChartSlice"},WebChartPieChartGroupSlice:{type:"object",properties:{sliceId:{type:"string",description:"A unique string used identify the slice of a pie chart."},originalLabel:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"The slice's original label."},label:{type:"string",description:"Custom label for the slice. For grouped slice, the default value is `Other`. For regular slice, it will be either the category or field name."},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the slice should be rendered. If not provided, the slice will be styled with default values."},percentageThreshold:{type:"number",description:"Slices that have a percent value equal or lesser to this threshold are grouped into a unique slice"},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the grouped slice data labels should be rendered. If the property is not set the `series.dataLabels` will be used instead."}},required:["percentageThreshold","sliceId"],description:"JSON representation of the pie grouped slice",title:"WebChartPieChartGroupSlice"},WebChartPieChartSeries:{type:"object",properties:{type:{type:"string",const:"pieSeries",description:'Represents a unique string identifier for the PieSeries object. For PieSeries object, it is "pieSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},y:{type:"string",description:"Specifies which field represents the y-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},innerRadius:{type:["number","null"],description:"Represents the size of the hole in middle of the chart. The number is used as a percentage rather than a fixed value.",minimum:0,maximum:100,default:50},startAngle:{type:["number","null"],default:-90},endAngle:{type:["number","null"],default:270},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the slices should be rendered"},displayCategoryOnDataLabel:{type:"boolean",description:"Indicates whether the category associated to a slice is to be displayed on its data label. This property will be ignored if the chart options `dataLabelFormatter` is provided.",default:!0},displayNumericValueOnDataLabel:{type:"boolean",description:"Indicates whether the numeric value associated to a slice is to be displayed on its data label. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)`. This property will be ignored if the chart options `dataLabelFormatter` is provided.",default:!0},displayPercentageOnDataLabel:{type:"boolean",description:"Indicates whether the percentage associated to a slice is to be displayed on its data label. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)` This property will be ignored if the chart options `dataLabelFormatter` is provided.",default:!1},displayCategoryOnTooltip:{type:"boolean",description:"Indicates whether the category associated to a slice is to be displayed on its tooltip. This property will be ignored if the chart options `tooltipFormatter` is provided.",default:!0},displayNumericValueOnTooltip:{type:"boolean",description:"Indicates whether the numeric value associated to a slice is to be displayed on its tooltip. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)` This property will be ignored if the chart options `tooltipFormatter` is provided.",default:!0},displayPercentageOnTooltip:{type:"boolean",description:"Indicates whether the percentage associated to a slice is to be displayed on its tooltip. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)` This property will be ignored if the chart options `tooltipFormatter` is provided.",default:!0},numericValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Specifies how the numerical values should be formatted (applied to label, tooltip and legend). Can be overridden for the tooltips by series.dataTooltipValueFormat."},percentValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Specifies how the percent values should be formatted (applied to label, tooltip and legend) Can be overridden for the tooltips by series.dataTooltipPercentFormat."},valuePrefix:{type:"string",description:"Adds a prefix to all the values displayed on the pie chart: data labels, tooltips and legend"},valueSuffix:{type:"string",description:"Adds a suffix to all the values displayed on the pie chart: data labels, tooltips and legend"},percentagePrefix:{type:"string",description:"Adds a prefix to all the percentages displayed on the pie chart: data labels, tooltips and legend"},percentageSuffix:{type:"string",description:"Adds a suffix to all the percentages displayed on the pie chart: data labels, tooltips and legend"},dataLabelsCharacterLimit:{type:["number","null"],description:'If set, the category on the data label is truncated to display only `characterLimit` characters, and an ellipsis ("...") is added to the end of the label. This does not affect the value and percentage part of the labels. Does not apply to tooltips and legend labels.',default:"undefined",minimum:1,multipleOf:1},ticks:{$ref:"#/definitions/WebChartPieChartTick",description:"Specifies how to render the ticks shown on each slide. Ticks will be displayed with default values if not provided."},dataLabelsInside:{type:"boolean",description:`Whether to place the data labels inside the pie slices. When set to \`true\` the following properties will be ignored:
6
6
  - dataLabelsOffset
7
7
  - alignDataLabels
8
8
  - optimizeDataLabelsOverlapping`,default:!1},dataLabelsOffset:{type:"number",description:"Determines in pixel how far the data labels should be placed from their slice. If a negative value is provided the label will be placed inside of the chart. Ignored when `dataLabelsInside` is set to `true`.",default:10},alignDataLabels:{type:"boolean",description:"Aligns labels into columns to make them more readable and avoid them to overlap each other. Ignored when `dataLabelsInside` is set to `true`.",default:!1},optimizeDataLabelsOverlapping:{type:"boolean",description:"Optimizes the data labels rendering to avoid them to be cut off on the edges or to overlap the legend by wrapping them and adding padding to the chart. Ignored when `dataLabelsInside` is set to `true`.",default:!1},sliceGrouping:{$ref:"#/definitions/WebChartPieChartGroupSlice",description:"Specifies if and how the slices under a given percentage threshold are grouped into a unique slice"},slices:{type:"array",items:{$ref:"#/definitions/WebChartPieChartSlice"},description:`An array of WebChartPieChartSlice representing the ids, labels and styles of the pie slices.
9
9
 
10
- When this property is not defined, or when a pie slice does not have a matching slice in this array, the series' fillSymbol will be used. If the series' fillSymbol does not contain color information, colors from the color ramps will be utilized.`}},required:["id","name","type","x","y"],description:"JSON representation of the Pie Chart series",title:"WebChartPieChartSeries"},WebChartGaugeSeries:{type:"object",properties:{type:{type:"string",const:"gaugeSeries",description:'Represents a unique string identifier for the GaugeSeries object. For GaugeSeries object, it is "gaugeSeries".'},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},valueConversion:{$ref:"#/definitions/ValueConversion",description:"Defines the conversion to apply to the gauge value"},featureIndex:{type:"number",description:"Specifies the index of the feature to be rendered. This property will be ignored for a statistic gauge (indicated via `WebGaugeChart.subType` property). For feature-based gauge, if this property is not present, the first feature will be used (featureIndex = 0)"}},required:["id","name","type","x"],description:"JSON representation of the `Gauge` series",title:"WebChartGaugeSeries"},WebChartLineChartSeries:{type:"object",properties:{binTemporalData:{type:"boolean",description:"Whether to use the time properties to bin the temporal data. If set to `false` the `binCount` and `unit` properties can be used to set the date axis base interval.",default:!0},temporalBinning:{anyOf:[{$ref:"#/definitions/WebChartCalendarBasedBinning"},{$ref:"#/definitions/WebChartFixedDateBinning"}],description:'Defines the pattern to apply to bin the data. The "calendarBased" type will make the bins start at the beginning of the given period (1st of the week, 1st of the month, 1st or the day, etc.) The "fixedDateBased" type will make the bins start at the dataset first entry (e.g. if the first date is 1/18/20 and the binning is done by month, the bins will go from the 18th of a month to the 17th of the next month).'},type:{type:"string",const:"lineSeries",description:'Represents a unique string identifier for the LineSeries object. For LineSeries object, it is "lineSeries".'},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:{anyOf:[{type:"array",items:{type:"string"}},{type:"string"}],description:"Specifies the numeric field(s) used by the series. The array type is useful when used for a box plot."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the line/line segments should be rendered"},lineSmoothed:{type:"boolean",description:"Specifies whether line segments should be smoothed.",default:!1},showArea:{type:"boolean",description:"Indicates whether line series show area.",default:!1},markerVisible:{type:"boolean",description:"Indicates whether to show or hide the markers/bullets of the line series.",default:!0},markerSymbol:{$ref:"#/definitions/ISimpleMarkerSymbol",description:"Contains styling info on how the marker should be rendered"},areaColor:{$ref:"#/definitions/Color",description:"Specifies the color of the filled area for line chart. areaColor will be applied only if showArea is true, and is defaulted to the line color if not provided."},stackNegativeValuesToBaseline:{type:"boolean",description:"Specifies how negative values are treated in stacked series. If true, negative values will be stacked on the base line. If false, negative values will be stacked in relation to their previous values in the stack.",default:!0},connectLines:{type:"boolean",description:"Whether to connect the lines when there's a gap in the data. Can be overridden by the temporal data setting `nullPolicy`.",default:!0}},required:["id","name","type","x","y"],description:"JSON representation of the Line Chart series",title:"WebChartLineChartSeries"},WebChartBoxPlotSeries:{type:"object",properties:{type:{type:"string",const:"boxPlotSeries"},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:{anyOf:[{type:"array",items:{type:"string"}},{type:"string"}],description:"Specifies the numeric field(s) used by the box plot series."},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the box and whiskers should be rendered. The whiskers use the fillSymbol.outline."}},required:["id","name","type","x","y"],description:"JSON representation of the Box plot series",title:"WebChartBoxPlotSeries"},WebChartHeatChartSeries:{type:"object",properties:{type:{type:"string",const:"heatSeries"},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},xTemporalBinning:{anyOf:[{$ref:"#/definitions/WebChartCalendarBasedBinning"},{$ref:"#/definitions/WebChartCalendarDatePartsBinning"}],description:`Defines the pattern to apply to bin the data for the x-axis, when the x-axis field is a date field.
10
+ When this property is not defined, or when a pie slice does not have a matching slice in this array, the series' fillSymbol will be used. If the series' fillSymbol does not contain color information, colors from the color ramps will be utilized.`}},required:["id","name","type","x","y"],description:"JSON representation of the Pie Chart series",title:"WebChartPieChartSeries"},WebChartGaugeSeries:{type:"object",properties:{type:{type:"string",const:"gaugeSeries",description:'Represents a unique string identifier for the GaugeSeries object. For GaugeSeries object, it is "gaugeSeries".'},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},valueConversion:{$ref:"#/definitions/ValueConversion",description:"Defines the conversion to apply to the gauge value"},featureIndex:{type:"number",description:"Specifies the index of the feature to be rendered. This property will be ignored for a statistic gauge (indicated via `WebGaugeChart.subType` property). For feature-based gauge, if this property is not present, the first feature will be used (featureIndex = 0)"}},required:["id","name","type","x"],description:"JSON representation of the `Gauge` series",title:"WebChartGaugeSeries"},WebChartLineChartSeries:{type:"object",properties:{binTemporalData:{type:"boolean",description:"Whether to use the time properties to bin the temporal data. If set to `false` the `binCount` and `unit` properties can be used to set the date axis base interval.",default:!0},temporalBinning:{anyOf:[{$ref:"#/definitions/WebChartCalendarBasedBinning"},{$ref:"#/definitions/WebChartFixedDateBinning"}],description:'Defines the pattern to apply to bin the data. The "calendarBased" type will make the bins start at the beginning of the given period (1st of the week, 1st of the month, 1st or the day, etc.) The "fixedDateBased" type will make the bins start at the dataset first entry (e.g. if the first date is 1/18/20 and the binning is done by month, the bins will go from the 18th of January to the 17th of February).'},type:{type:"string",const:"lineSeries",description:'Represents a unique string identifier for the LineSeries object. For LineSeries object, it is "lineSeries".'},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:{anyOf:[{type:"array",items:{type:"string"}},{type:"string"}],description:"Specifies the numeric field(s) used by the series. The array type is useful when used for a box plot."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the line/line segments should be rendered"},lineSmoothed:{type:"boolean",description:"Specifies whether line segments should be smoothed.",default:!1},showArea:{type:"boolean",description:"Indicates whether line series show area.",default:!1},markerVisible:{type:"boolean",description:"Indicates whether to show or hide the markers/bullets of the line series.",default:!0},markerSymbol:{$ref:"#/definitions/ISimpleMarkerSymbol",description:"Contains styling info on how the marker should be rendered"},areaColor:{$ref:"#/definitions/Color",description:"Specifies the color of the filled area for line chart. areaColor will be applied only if showArea is true, and is defaulted to the line color if not provided."},stackNegativeValuesToBaseline:{type:"boolean",description:"Specifies how negative values are treated in stacked series. If true, negative values will be stacked on the base line. If false, negative values will be stacked in relation to their previous values in the stack.",default:!0},connectLines:{type:"boolean",description:"Whether to connect the lines when there's a gap in the data. Can be overridden by the temporal data setting `nullPolicy`.",default:!0}},required:["id","name","type","x","y"],description:"JSON representation of the Line Chart series",title:"WebChartLineChartSeries"},WebChartBoxPlotSeries:{type:"object",properties:{type:{type:"string",const:"boxPlotSeries"},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:{anyOf:[{type:"array",items:{type:"string"}},{type:"string"}],description:"Specifies the numeric field(s) used by the box plot series."},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the box and whiskers should be rendered. The whiskers use the fillSymbol.outline."}},required:["id","name","type","x","y"],description:"JSON representation of the Box plot series",title:"WebChartBoxPlotSeries"},WebChartHeatChartSeries:{type:"object",properties:{type:{type:"string",const:"heatSeries"},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},xTemporalBinning:{anyOf:[{$ref:"#/definitions/WebChartCalendarBasedBinning"},{$ref:"#/definitions/WebChartCalendarDatePartsBinning"}],description:`Defines the pattern to apply to bin the data for the x-axis, when the x-axis field is a date field.
11
11
 
12
- The "calendarDateParts" type will create bins extracting date parts from date values (e.g. a bin for each day of the week, a bin for each month or the year, etc.) The "calendarBased" type will make the bins start at the beginning of the given period (1st of the week, 1st of the month, 1st or the day, etc.) will go from the 18th to a month to the 17th of the next month).`},yTemporalBinning:{anyOf:[{$ref:"#/definitions/WebChartCalendarBasedBinning"},{$ref:"#/definitions/WebChartCalendarDatePartsBinning"}],description:'Defines the pattern to apply to bin the data for the y-axis, when the y-axis field is a date field. The "calendarDateParts" type will create bins extracting date parts from date values (e.g. a bin for each day of the week, a bin for each month or the year, etc.) The "calendarBased" type will make the bins start at the beginning of the given period (1st of the week, 1st of the month, 1st or the day, etc.) will go from the 18th to a month to the 17th of the next month).'},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 is 7, representing Sunday, if no value is specified."}},required:["id","name","type","x","y"],description:"JSON representation of the Heat chart series",title:"WebChartHeatChartSeries"},WebChartRadarChartSeries:{$ref:"#/definitions/WebChartLineChartSeries%3C%22radarSeries%22%3E",title:"WebChartRadarChartSeries"},'WebChartLineChartSeries<"radarSeries">':{type:"object",properties:{binTemporalData:{type:"boolean",description:"Whether to use the time properties to bin the temporal data. If set to `false` the `binCount` and `unit` properties can be used to set the date axis base interval.",default:!0},temporalBinning:{anyOf:[{$ref:"#/definitions/WebChartCalendarBasedBinning"},{$ref:"#/definitions/WebChartFixedDateBinning"}],description:'Defines the pattern to apply to bin the data. The "calendarBased" type will make the bins start at the beginning of the given period (1st of the week, 1st of the month, 1st or the day, etc.) The "fixedDateBased" type will make the bins start at the dataset first entry (e.g. if the first date is 1/18/20 and the binning is done by month, the bins will go from the 18th of a month to the 17th of the next month).'},type:{type:"string",const:"radarSeries",description:'Represents a unique string identifier for the LineSeries object. For LineSeries object, it is "lineSeries".'},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:{anyOf:[{type:"array",items:{type:"string"}},{type:"string"}],description:"Specifies the numeric field(s) used by the series. The array type is useful when used for a box plot."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the line/line segments should be rendered"},lineSmoothed:{type:"boolean",description:"Specifies whether line segments should be smoothed.",default:!1},showArea:{type:"boolean",description:"Indicates whether line series show area.",default:!1},markerVisible:{type:"boolean",description:"Indicates whether to show or hide the markers/bullets of the line series.",default:!0},markerSymbol:{$ref:"#/definitions/ISimpleMarkerSymbol",description:"Contains styling info on how the marker should be rendered"},areaColor:{$ref:"#/definitions/Color",description:"Specifies the color of the filled area for line chart. areaColor will be applied only if showArea is true, and is defaulted to the line color if not provided."},stackNegativeValuesToBaseline:{type:"boolean",description:"Specifies how negative values are treated in stacked series. If true, negative values will be stacked on the base line. If false, negative values will be stacked in relation to their previous values in the stack.",default:!0},connectLines:{type:"boolean",description:"Whether to connect the lines when there's a gap in the data. Can be overridden by the temporal data setting `nullPolicy`.",default:!0}},required:["id","name","type","x","y"],description:"JSON representation of the Line Chart series",title:'WebChartLineChartSeries<"radarSeries">'},WebChartSeriesType:{anyOf:[{$ref:"#/definitions/WebChartBarChartSeries"},{$ref:"#/definitions/WebChartBoxPlotSeries"},{$ref:"#/definitions/WebChartGaugeSeries"},{$ref:"#/definitions/WebChartHeatChartSeries"},{$ref:"#/definitions/WebChartHistogramSeries"},{$ref:"#/definitions/WebChartLineChartSeries"},{$ref:"#/definitions/WebChartPieChartSeries"},{$ref:"#/definitions/WebChartRadarChartSeries"},{$ref:"#/definitions/WebChartScatterplotSeries"}],description:"Type containing all the series types available",title:"WebChartSeriesType"},WebChart:{type:"object",properties:{version:{type:"string",const:"23.3.0",description:"Version of the specification. Used to identify when a saved config was created."},type:{type:"string",const:"chart",description:"Represents a unique string identifier for the Chart object. For Chart object, it is **chart**."},id:{type:"string",description:"Can be used to uniquely identify a chart. The consumer app can choose whether to use it or not."},iLayer:{$ref:"#/definitions/IFeatureLayer",description:"Property representing the layer to be used by the chart. If not provided we expect a layer object to be set on the component."},dataFilters:{$ref:"#/definitions/WebChartDataFilters",description:"Used to filter the chart's data while in Layer mode."},title:{$ref:"#/definitions/WebChartText",description:"Specifies heading/title of the chart."},subtitle:{$ref:"#/definitions/WebChartText",description:"Specifies sub-heading/subtitle of the chart."},footer:{$ref:"#/definitions/WebChartText",description:"Specifies footer of the chart"},background:{$ref:"#/definitions/Color",description:"Specifies the background color of the chart.",default:[255,255,255,255]},cursorCrosshair:{$ref:"#/definitions/WebChartCursorCrosshair",description:"Specifies cursor's crosshair information for the chart. Only for XY charts."},legend:{anyOf:[{$ref:"#/definitions/WebChartLegend"},{$ref:"#/definitions/WebChartPieChartLegend"}],description:"Specifies the Legend information for the chart."},axes:{type:"array",items:{$ref:"#/definitions/WebChartAxis"},minItems:1,maxItems:3,description:"Represents an array of **at least 1 or at most 3** Chart Axis accompanying the chart. The axes property is optional because Pie chart does not use any axis. The third axis config is used when a series `assignToSecondValueAxis` is set to `true`. Some of the axis features won't apply to the third axis (e.g. labels behaviors)."},horizontalAxisLabelsBehavior:{$ref:"#/definitions/WebChartLabelBehavior",description:`Represents the way the labels should behave when the horizontal axis can't display them all. The available options are: "none", "rotate", "stagger" and "wrap". For XY Chart only. Histogram can handle "none" and "rotate" only. The default value for the horizontal axis is "rotate" except for Histogram, where the default is none.`,default:"rotate"},verticalAxisLabelsBehavior:{$ref:"#/definitions/WebChartLabelBehavior",description:`Represents the way the labels should behave when the vertical axis can't display them all. For XY Chart only. The available options are: "none" and "wrap". The default value for the vertical axis is "wrap".`,default:"wrap"},series:{type:"array",items:{$ref:"#/definitions/WebChartSeriesType"},description:"Represents an array of various chart series to be plot inside the chart. Empty array is not allowed.",minItems:1},rotated:{type:"boolean",description:"Specifies whether or not the chart is rotated. Applied to Bar, Line, and Combo Bar and Line charts.",default:!1},stackedType:{$ref:"#/definitions/WebChartStackedKinds",description:`Specifies how the bars/lines should be placed when multiple series are rendered in the same chart, say when "split by" operation is executed on any field or when multiple attributes/fields corresponding to the same set of classes are to be visualized.
12
+ The "calendarDateParts" type will create bins extracting date parts from date values (e.g. a bin for each day of the week, a bin for each month or the year, etc.) The "calendarBased" type will make the bins start at the beginning of the given period (1st of the week, 1st of the month, 1st or the day, etc.) For example, if the first date is 1/18/20 and the binning is done by month, the bins will go from the 18th of January to the 17th of February.`},yTemporalBinning:{anyOf:[{$ref:"#/definitions/WebChartCalendarBasedBinning"},{$ref:"#/definitions/WebChartCalendarDatePartsBinning"}],description:'Defines the pattern to apply to bin the data for the y-axis, when the y-axis field is a date field. The "calendarDateParts" type will create bins extracting date parts from date values (e.g. a bin for each day of the week, a bin for each month or the year, etc.) The "calendarBased" type will make the bins start at the beginning of the given period (1st of the week, 1st of the month, 1st or the day, etc.) For example, if the first date is 1/18/20 and the binning is done by month, the bins will go from the 18th of January to the 17th of February.'},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 is 7, representing Sunday, if no value is specified."}},required:["id","name","type","x","y"],description:"JSON representation of the Heat chart series",title:"WebChartHeatChartSeries"},WebChartRadarChartSeries:{$ref:"#/definitions/WebChartLineChartSeries%3C%22radarSeries%22%3E",title:"WebChartRadarChartSeries"},'WebChartLineChartSeries<"radarSeries">':{type:"object",properties:{binTemporalData:{type:"boolean",description:"Whether to use the time properties to bin the temporal data. If set to `false` the `binCount` and `unit` properties can be used to set the date axis base interval.",default:!0},temporalBinning:{anyOf:[{$ref:"#/definitions/WebChartCalendarBasedBinning"},{$ref:"#/definitions/WebChartFixedDateBinning"}],description:'Defines the pattern to apply to bin the data. The "calendarBased" type will make the bins start at the beginning of the given period (1st of the week, 1st of the month, 1st or the day, etc.) The "fixedDateBased" type will make the bins start at the dataset first entry (e.g. if the first date is 1/18/20 and the binning is done by month, the bins will go from the 18th of January to the 17th of February).'},type:{type:"string",const:"radarSeries",description:'Represents a unique string identifier for the LineSeries object. For LineSeries object, it is "lineSeries".'},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:{anyOf:[{type:"array",items:{type:"string"}},{type:"string"}],description:"Specifies the numeric field(s) used by the series. The array type is useful when used for a box plot."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the line/line segments should be rendered"},lineSmoothed:{type:"boolean",description:"Specifies whether line segments should be smoothed.",default:!1},showArea:{type:"boolean",description:"Indicates whether line series show area.",default:!1},markerVisible:{type:"boolean",description:"Indicates whether to show or hide the markers/bullets of the line series.",default:!0},markerSymbol:{$ref:"#/definitions/ISimpleMarkerSymbol",description:"Contains styling info on how the marker should be rendered"},areaColor:{$ref:"#/definitions/Color",description:"Specifies the color of the filled area for line chart. areaColor will be applied only if showArea is true, and is defaulted to the line color if not provided."},stackNegativeValuesToBaseline:{type:"boolean",description:"Specifies how negative values are treated in stacked series. If true, negative values will be stacked on the base line. If false, negative values will be stacked in relation to their previous values in the stack.",default:!0},connectLines:{type:"boolean",description:"Whether to connect the lines when there's a gap in the data. Can be overridden by the temporal data setting `nullPolicy`.",default:!0}},required:["id","name","type","x","y"],description:"JSON representation of the Line Chart series",title:'WebChartLineChartSeries<"radarSeries">'},WebChartSeriesType:{anyOf:[{$ref:"#/definitions/WebChartBarChartSeries"},{$ref:"#/definitions/WebChartBoxPlotSeries"},{$ref:"#/definitions/WebChartGaugeSeries"},{$ref:"#/definitions/WebChartHeatChartSeries"},{$ref:"#/definitions/WebChartHistogramSeries"},{$ref:"#/definitions/WebChartLineChartSeries"},{$ref:"#/definitions/WebChartPieChartSeries"},{$ref:"#/definitions/WebChartRadarChartSeries"},{$ref:"#/definitions/WebChartScatterplotSeries"}],description:"Type containing all the series types available",title:"WebChartSeriesType"},WebChart:{type:"object",properties:{version:{type:"string",const:"23.3.0",description:"Version of the specification. Used to identify when a saved config was created."},type:{type:"string",const:"chart",description:"Represents a unique string identifier for the Chart object. For Chart object, it is **chart**."},id:{type:"string",description:"Can be used to uniquely identify a chart. The consumer app can choose whether to use it or not."},iLayer:{$ref:"#/definitions/IFeatureLayer",description:"Property representing the layer to be used by the chart. If not provided we expect a layer object to be set on the component."},dataFilters:{$ref:"#/definitions/WebChartDataFilters",description:"Used to filter the chart's data while in Layer mode."},title:{$ref:"#/definitions/WebChartText",description:"Specifies heading/title of the chart."},subtitle:{$ref:"#/definitions/WebChartText",description:"Specifies sub-heading/subtitle of the chart."},footer:{$ref:"#/definitions/WebChartText",description:"Specifies footer of the chart"},background:{$ref:"#/definitions/Color",description:"Specifies the background color of the chart.",default:[255,255,255,255]},cursorCrosshair:{$ref:"#/definitions/WebChartCursorCrosshair",description:"Specifies cursor's crosshair information for the chart. Only for XY charts."},legend:{anyOf:[{$ref:"#/definitions/WebChartLegend"},{$ref:"#/definitions/WebChartPieChartLegend"}],description:"Specifies the Legend information for the chart."},axes:{type:"array",items:{$ref:"#/definitions/WebChartAxis"},minItems:1,maxItems:3,description:"Represents an array of **at least 1 or at most 3** Chart Axis accompanying the chart. The axes property is optional because Pie chart does not use any axis. The third axis config is used when a series `assignToSecondValueAxis` is set to `true`. Some of the axis features won't apply to the third axis (e.g. labels behaviors)."},horizontalAxisLabelsBehavior:{$ref:"#/definitions/WebChartLabelBehavior",description:`Represents the way the labels should behave when the horizontal axis can't display them all. The available options are: "none", "rotate", "stagger" and "wrap". For XY Chart only. Histogram can handle "none" and "rotate" only. The default value for the horizontal axis is "rotate" except for Histogram, where the default is none.`,default:"rotate"},verticalAxisLabelsBehavior:{$ref:"#/definitions/WebChartLabelBehavior",description:`Represents the way the labels should behave when the vertical axis can't display them all. For XY Chart only. The available options are: "none" and "wrap". The default value for the vertical axis is "wrap".`,default:"wrap"},series:{type:"array",items:{$ref:"#/definitions/WebChartSeriesType"},description:"Represents an array of various chart series to be plot inside the chart. Empty array is not allowed.",minItems:1},rotated:{type:"boolean",description:"Specifies whether or not the chart is rotated. Applied to Bar, Line, and Combo Bar and Line charts.",default:!1},stackedType:{$ref:"#/definitions/WebChartStackedKinds",description:`Specifies how the bars/lines should be placed when multiple series are rendered in the same chart, say when "split by" operation is executed on any field or when multiple attributes/fields corresponding to the same set of classes are to be visualized.
13
13
 
14
14
  Currently this property is only used for bar and line series.`,default:"sideBySide"},colorMatch:{type:"boolean",description:"Specifies whether to first try matching the colors from the layer renderer or the chart renderer for coloring the chart elements, like markers, line segments, columns, etc.\n\nTo do so, this property needs to be set to `true`.\n\nWhen there is no matching color found (for when `colorMatch = true`) or when `colorMatch = false`, the colors from the config, and then from the color ramps will be used, in that order.",default:!1},chartRenderer:{description:"Renderer to use to style the series when the chart uses the color match mode. Considered before the layer's renderer."},orderOptions:{type:"object",properties:{series:{$ref:"#/definitions/WebChartOrderSeriesBy",description:"How series should be ordered and displayed in a multi-series chart. If not provided the series will be displayed as they are ordered in the config."},data:{anyOf:[{$ref:"#/definitions/WebChartDirectionalDataOrder"},{$ref:"#/definitions/WebChartPredefinedLabelsDataOrder"}],description:"How data for a chart should be ordered. It is recommended to use this property over its sibling `orderByFields` to order the chart data.\n\nIf not provided, the data will be displayed as it was retrieved from the server. No additional ordering will be applied."},orderByFields:{type:"array",items:{type:"string"},description:"The orderByFields to be sent with the query when retrieving data for the chart. It represents the desired sorting order of the output result from the server.\n\nMore 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"}},description:"Chart order options (data and series)"}},required:["version","type","series"],description:"Gives a JSON representation of the Chart object.",title:"WebChart"},IFeatureLayer:{type:"object",properties:{timeAnimation:{type:"boolean",description:"This property is applicable to layers that support time. If 'true', timeAnimation is enabled."},id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISFeatureLayer",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},capabilities:{type:"string",description:"A comma-separated string listing which editing operations are allowed on an editable feature service."},definitionEditor:{$ref:"#/definitions/IDefinitionEditor",description:"Stores interactive filters."},disablePopup:{type:"boolean",const:!0,description:"Indicates whether to allow a client to ignore popups defined by the service item."},featureCollection:{description:"A featureCollection object defining a layer of features whose geometry and attributes are either stored directly within the web map or with an item. Feature Collections can be created from CSVs, shapefiles, GPX, or map notes."},featureCollectionType:{type:"string",enum:["markup","notes","route"],description:"Indicates the type of features in the feature collection. If featureCollectionType is missing, it means the feature collection is a regular single-layer or multi-layer feature collection."},layerDefinition:{$ref:"#/definitions/ILayerDefinition",description:"A layerDefinition object defining the attribute schema and drawing information for the layer."},mode:{type:"number",enum:[0,1,2],description:"0 is snapshot mode. 1 is on-demand mode. 2 is selection-only mode. Used with ArcGIS feature services and individual layers in ArcGIS map services."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the content of popup windows when you click or query a feature."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."},showLabels:{type:"boolean",const:!0,description:"Labels will display if this property is set to true and the layer also has a labelingInfo property associated with it. This property can get stored in the web map config and in the item/data."},visibleLayers:{type:"array",items:{type:"number"},description:"An array of sublayer ids that should appear visible. Used with feature layers that are based on feature collections."}},required:["id","layerType"],description:"Feature layers can be created by referencing a layer from either a map service or a feature service or by specifying a feature collection object. Use a map service if you just want to retrieve geometries and attributes from the server and symbolize them yourself. Use a feature service if you want to take advantage of symbols from the service's source map document. Also, use a feature service if you plan on doing editing with the feature layer. Feature layers honor any feature templates configured in the source map document. Feature collection objects are used to create a feature layer based on the supplied definition.",title:"IFeatureLayer"},ILayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",description:"Indicates the layer type"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."}},required:["id","layerType"],title:"ILayer"},ISupportsTime:{type:"object",properties:{timeAnimation:{type:"boolean",description:"This property is applicable to layers that support time. If 'true', timeAnimation is enabled."}},title:"ISupportsTime"},IDefinitionEditor:{type:"object",properties:{inputs:{type:"array",items:{$ref:"#/definitions/IDefinitionInput"},description:"An array of input objects."},parameterizedExpression:{type:"string",description:"A string value representing the where clause for the interactive filter."}},description:"The definitionEditor stores interactive filters at the same level as layerDefinition.",title:"IDefinitionEditor"},IDefinitionInput:{type:"object",properties:{hint:{type:"string",description:"A string value representing a hint for the input."},parameters:{type:"array",items:{$ref:"#/definitions/IDefinitionParameter"},description:"An array of parameter objects."},prompt:{type:"string",description:"A string value representing the prompt for the input."}},title:"IDefinitionInput"},IDefinitionParameter:{type:"object",properties:{defaultValue:{type:["number","string"],description:"The default value that is automatically given if nothing is provided."},fieldName:{type:"string",description:"A string value representing the name of the field to query."},parameterId:{description:"Number given to uniquely identify the specified parameter."},type:{type:"string",enum:["esriFieldTypeBlob","esriFieldTypeDate","esriFieldTypeDateOnly","esriFieldTypeDouble","esriFieldTypeGeometry","esriFieldTypeGlobalID","esriFieldTypeGUID","esriFieldTypeInteger","esriFieldTypeOID","esriFieldTypeRaster","esriFieldTypeSingle","esriFieldTypeSmallInteger","esriFieldTypeString","esriFieldTypeTimeOnly","esriFieldTypeTimestampOffset","esriFieldTypeXML"],description:"The field type for the specified field parameter."},utcValue:{type:"number",description:"An integer value representing exact UNIX time used when defaultValue is a date string."}},title:"IDefinitionParameter"},ILayerDefinition:{type:"object",properties:{hasZ:{type:"boolean"},hasM:{type:"boolean"},allowGeometryUpdates:{type:"boolean",description:"Boolean value indicating whether the geometry of the features in the layer can be edited."},capabilities:{type:"string",description:"A comma separated list of supported capabilities, e.g. Query,Editing."},copyrightText:{type:"string",description:"String value for the copyright text information for the layer."},currentVersion:{type:"number",description:"Numeric value indicating the server version of the layer."},defaultVisibility:{type:"boolean",description:"Boolean value indicating whether the layer's visibility is turned on."},definitionEditor:{$ref:"#/definitions/IDefinitionEditor",description:"Stores interactive filters."},definitionExpression:{type:"string",description:"SQL-based definition expression string that narrows the data to be displayed in the layer."},description:{type:"string",description:"String value of the layer as defined in the map service."},displayField:{type:"string",description:"A string value that summarizes the feature."},drawingInfo:{description:"Contains drawing, labeling, and transparency information."},extent:{anyOf:[{$ref:"#/definitions/IExtent"},{type:"null"}],description:"An object defining the rectangular area."},editingInfo:{$ref:"#/definitions/IEditingInfo",description:"An object defining the editing info (last edit date)."},featureReduction:{description:"Feature reductions declutter the screen by hiding features that would otherwise intersect with other features on screen."},fields:{type:"array",items:{$ref:"#/definitions/IField"},description:"An array of field objects containing information about the attribute fields for the feature collection or layer."},geometryType:{$ref:"#/definitions/GeometryType",description:"A string defining the type of geometry. Possible geometry types are: esriGeometryPoint, esriGeometryMultipoint, esriGeometryPolyline, esriGeometryPolygon, and esriGeometryEnvelope."},globalIdField:{type:"string",description:"The unique identifier for a feature or table row within a geodatabase."},hasAttachments:{type:"boolean",description:"Indicates whether attachments should be loaded for the layer."},hasStaticData:{type:"boolean",description:"Boolean value indicating whether data changes. True if it does not."},htmlPopupType:{type:"string",enum:["esriServerHTMLPopupTypeAsHTMLText","esriServerHTMLPopupTypeAsURL","esriServerHTMLPopupTypeNone"],description:"String value indicating the HTML popup type."},id:{type:"number",description:"The identifier assigned to the layer."},isDataVersioned:{type:"boolean",description:"Boolean value indicating whether the data is versioned."},maxRecordCount:{type:"number",description:"Numeric value indicating tbe maximum number of records that will be returned at once for a query."},maxScale:{type:"number",description:"Represents the maximum scale at which the layer definition will be applied. This does not apply to layers of type: ArcGISMapServiceLayer, ImageServiceVectorLayer or ImageServiceLayer."},minScale:{type:"number",description:"Represents the minimum scale at which the layer definition will be applied. This does not apply to layers of type: ArcGISMapServiceLayer, ImageServiceVectorLayer or ImageServiceLayer."},name:{type:"string",description:"Contains a unique name for the layer that can be displayed in a legend."},objectIdField:{type:"string",description:"Indicates the name of the object ID field in the dataset."},overrideSymbols:{type:"boolean",description:"Dictates whether a client can support having an end user modify symbols on individual features."},rangeInfos:{description:"Indicates range information"},source:{description:"An object indicating the layerDefinition's layer source."},spatialReference:{$ref:"#/definitions/ISpatialReference",description:"An object containing the WKID or WKT identifying the spatial reference of the layer's geometry."},supportedQueryFormats:{type:"string",description:"String value indicating the output formats that are supported in a query."},supportsAdvancedQueries:{type:"boolean",description:"Boolean value indicating whether the layer supports orderByFields in a query operation."},supportsAttachmentsByUploadId:{type:"boolean",description:"Boolean value indicating whether the layer supports uploading attachments with the Uploads operation. This can then be used in the Add Attachment and Update Attachment operations."},supportsCalculate:{type:"boolean",description:"Boolean value indicating whether the layer supports the Calculate REST operation when updating features."},supportsRollbackOnFailureParameter:{type:"boolean",description:"Boolean value indicating whether the layer supports rolling back edits made on a feature layer if some of the edits fail."},supportsStatistics:{type:"boolean",description:"Boolean value indicating whether feature layer query operations support statistical functions."},supportsValidateSql:{type:"boolean",description:"Boolean value indicating whether the validateSQL operation is supported across a feature service layer."},templates:{type:"array",items:{$ref:"#/definitions/ITemplate"},description:"A property of the layer definition when there are no types defined; otherwise, templates are defined as properties of the types."},timeInfo:{description:"The time info metadata of the layer. May be set for feature layers inside a feature collection item."},type:{type:"string",enum:["Feature Layer","Table"],description:"Indicates whether the layerDefinition applies to a Feature Layer or a Table."},typeIdField:{type:"string",description:"Contains the name of the field holding the type ID for the features."},types:{description:"Contains information about an attribute field."},visibilityField:{type:"string",description:"String value indicating the attribute field that is used to control the visibility of a feature. If applicable, when rendering a feature the client should use this field to control visibility. The field's values are 0 = do not display, 1 = display."},relationships:{type:"array",items:{}},editFieldsInfo:{type:"object",properties:{creationDateField:{type:"string"},creatorField:{type:"string"},editDateField:{type:"string"},editorField:{type:"string"}}},parentLayerId:{type:"number"},ownershipBasedAccessControlForFeatures:{type:"boolean"},syncCanReturnChanges:{type:"boolean"},archivingInfo:{type:"object",properties:{supportsQueryWithHistoricMoment:{type:"boolean"},startArchivingMoment:{type:"number"}}},supportsValidateSQL:{type:"boolean"},advancedQueryCapabilities:{type:"object",properties:{supportsPagination:{type:"boolean"},supportsTrueCurve:{type:"boolean"},supportsQueryWithDistance:{type:"boolean"},supportsReturningQueryExtent:{type:"boolean"},supportsStatistics:{type:"boolean"},supportsOrderBy:{type:"boolean"},supportsDistinct:{type:"boolean"},supportsSqlExpression:{type:"boolean"},supportsPercentileStatistics:{type:"boolean"}}},allowTrueCurvesUpdates:{type:"boolean"},onlyAllowTrueCurveUpdatesByTrueCurveClients:{type:"boolean"},supportsApplyEditsWithGlobalIds:{type:"boolean"},subtypeField:{type:"string"},indexes:{type:"array",items:{}},dateFieldsTimeReference:{type:"object",properties:{timeZone:{type:"string"},respectsDaylightSaving:{type:"boolean"}}},useStandardizedQueries:{type:"boolean"}},description:'`ILayerDefinition` can also be imported from the following packages:\n\n```js import { ILayerDefinition } from "@esri/arcgis-rest-service-admin"; import { ILayerDefinition } from "@esri/arcgis-rest-feature-layer"; ```',title:"ILayerDefinition"},IEditingInfo:{type:"object",properties:{lastEditDate:{type:"number",description:"date of last edit to the layer"}},title:"IEditingInfo"},IField:{type:"object",properties:{name:{type:"string",description:"A string defining the field name."},type:{$ref:"#/definitions/FieldType",description:"A string defining the field type."},alias:{type:"string",description:"A string defining the field alias."},domain:{$ref:"#/definitions/IDomain",description:"The domain objects if applicable."},editable:{type:"boolean",description:"A Boolean defining whether this field is editable."},exactMatch:{type:"boolean",description:"A Boolean defining whether or not the field is an exact match."},length:{type:"number",description:"A number defining how many characters are allowed in a string. field."},nullable:{type:"boolean",description:"A Boolean defining whether this field can have a null value."},defaultValue:{description:"The value written in for new records by default."}},required:["name","type"],description:'Contains information about an attribute field.\n\n`IField` can also be imported from the following packages:\n\n```js import { IField } from "@esri/arcgis-rest-feature-layer"; ```',title:"IField"},FieldType:{type:"string",enum:["esriFieldTypeBigInteger","esriFieldTypeBlob","esriFieldTypeDate","esriFieldTypeDateOnly","esriFieldTypeDouble","esriFieldTypeGeometry","esriFieldTypeGlobalID","esriFieldTypeGUID","esriFieldTypeInteger","esriFieldTypeOID","esriFieldTypeRaster","esriFieldTypeSingle","esriFieldTypeSmallInteger","esriFieldTypeString","esriFieldTypeTimestampOffset","esriFieldTypeXML"],description:"Field type.",title:"FieldType"},IDomain:{type:"object",properties:{type:{$ref:"#/definitions/DomainType",description:"A string defining the domain type."},name:{type:"string",description:"A string defining the field name."},range:{type:"array",items:{type:"number"},minItems:2,maxItems:2,description:"A 2 element array defining the range of possible values."},codedValues:{type:"array",items:{$ref:"#/definitions/ICodedValue"},description:"An array of CodedValues for domains of type codedValue."},description:{type:"string",description:"Description of the domain"},mergePolicy:{type:"string",description:"Merge policy"},splitPolicy:{type:"string",description:"Split Policy"}},required:["type"],description:"Information for a field with a domain",title:"IDomain"},DomainType:{type:"string",enum:["codedValue","inherited","range"],description:"Domain types",title:"DomainType"},ICodedValue:{type:"object",properties:{name:{type:"string",description:"User-friendly name for what the code means."},code:{type:["number","string"],description:"The value stored in the feature attribute."}},required:["name","code"],description:"CodedValue type",title:"ICodedValue"},GeometryType:{type:"string",enum:["esriGeometryEnvelope","esriGeometryMultipoint","esriGeometryPoint","esriGeometryPolygon","esriGeometryPolyline"],description:'`GeometryType` can also be imported from the following packages:\n\n```js import { GeometryType } from "@esri/arcgis-rest-feature-layer"; ```',title:"GeometryType"},ITemplate:{type:"object",properties:{description:{description:"A string value containing a detailed description of the template."},drawingTool:{$ref:"#/definitions/FeatureEditTool",description:"An optional string that can define a client-side drawing tool to be used with this feature. For example, map notes used by the Online Map Viewer use this to represent the viewer's different drawing tools."},name:{type:"string",description:"A string containing a user-friendly name for the template."},prototype:{$ref:"#/definitions/IFeature",description:"A feature object representing a prototypical feature for the template."}},description:"Templates describe features that can be created in a layer. They are generally used with feature collections and editable web-based CSV layers. Templates are not used with ArcGIS feature services as these already have templates defined in the service. They are also defined as properties of the layer definition when there are no defined types. Otherwise, templates are defined as properties of the types.",title:"ITemplate"},FeatureEditTool:{type:"string",enum:["esriFeatureEditToolAutoCompletePolygon","esriFeatureEditToolCircle","esriFeatureEditToolDownArrow","esriFeatureEditToolEllipse","esriFeatureEditToolFreehand","esriFeatureEditToolLeftArrow","esriFeatureEditToolLine","esriFeatureEditToolNone","esriFeatureEditToolPoint","esriFeatureEditToolPolygon","esriFeatureEditToolRectangle","esriFeatureEditToolRightArrow","esriFeatureEditToolText","esriFeatureEditToolTriangle","esriFeatureEditToolUpArrow"],title:"FeatureEditTool"},IFeature:{type:"object",properties:{geometry:{$ref:"#/definitions/IGeometry"},attributes:{$ref:"#/definitions/Record%3Cstring%2Cany%3E"},symbol:{$ref:"#/definitions/ISymbol"}},required:["attributes"],description:'a spatial entity and its corresponding properties\n\n`IFeature` can also be imported from the following packages:\n\n```js import { IFeature } from "@esri/arcgis-rest-feature-layer"; import { IFeature } from "@esri/arcgis-rest-routing"; ```',title:"IFeature"},"Record<string,any>":{type:"object",title:"Record<string,any>"},IPopupInfo:{type:"object",properties:{description:{type:["string","null"],description:"A string that appears in the body of the popup window as a description. It is also possible to specify the description as HTML-formatted content."},expressionInfos:{type:"array",items:{$ref:"#/definitions/IPopupExpressionInfo"},description:"List of Arcade expressions added to the pop-up."},fieldInfos:{type:"array",items:{$ref:"#/definitions/IFieldInfo"},description:"Array of fieldInfo information properties. This information is provided by the service layer definition. When the description uses name/value pairs, the order of the array is how the fields display in the editable Map Viewer popup and the resulting popup. It is also possible to specify HTML-formatted content."},layerOptions:{type:"object",properties:{showNoDataRecords:{type:"boolean",description:"Indicates whether or not the NoData records should be displayed."}},required:["showNoDataRecords"],description:"Additional options that can be defined for the popup layer."},mediaInfos:{type:"array",items:{$ref:"#/definitions/IMediaInfo"},description:"Array of various mediaInfo to display. Can be of type image, piechart, barchart, columnchart, or linechart. The order given is the order in which is displays."},popupElements:{type:"array",items:{$ref:"#/definitions/IPopupElement"},description:"An array of popupElement objects that represent an ordered list of popup elements."},relatedRecordsInfo:{$ref:"#/definitions/IRelatedRecordsInfo",description:"Indicates whether to enable related records if they exist on a layer."},showAttachments:{type:"boolean",description:"Indicates whether attachments will be loaded for feature layers that have attachments."},title:{type:"string",description:"A string that appears at the top of the popup window as a title."}},description:"Defines the look and feel of popup windows when a user clicks or queries a feature.",title:"IPopupInfo"},IPopupExpressionInfo:{type:"object",properties:{expression:{type:"string",description:"The Arcade expression."},name:{type:"string",description:"Unique identifier for the expression."},returnType:{type:"string",enum:["number","string"],description:"Return type of the Arcade expression, can be number or string. Defaults to string value. Number values are assumed to be double. This can be determined by the authoring client by executing the expression using a sample feature(s), although it can be corrected by the user. Knowing the returnType allows the authoring client to present fields in relevant contexts. For example, numeric fields in numeric contexts such as charts."},title:{type:"string",description:"Title of the expression."}},description:"Arcade expression added to the pop-up.",title:"IPopupExpressionInfo"},IFieldInfo:{type:"object",properties:{fieldName:{description:"A string containing the field name as defined by the service. Anywhere that a fieldname is referenced as {field-name} in popupInfo, an Arcade expression can also be referenced as{expression/}`."},format:{$ref:"#/definitions/IFieldFormat",description:"A format object used with numerical or date fields to provide more detail about how the value should be displayed in a web map popup window."},isEditable:{type:"boolean",description:"A Boolean determining whether users can edit this field. Not applicable to Arcade expressions."},label:{type:"string",description:"A string containing the field alias. This can be overridden by the web map author. Not applicable to Arcade expressions as title is used instead."},stringFieldOption:{type:"string",enum:["richtext","textarea","textbox"],description:"A string determining what type of input box editors see when editing the field. Applies only to string fields. Not applicable to Arcade expressions."},tooltip:{type:"string",description:"A string providing an editing hint for editors of the field. Not applicable to Arcade expressions."},visible:{type:"boolean",description:"A Boolean determining whether the field is visible in the popup window."}},description:"Defines how a field in the dataset participates (or does not participate) in a popup window.",title:"IFieldInfo"},IFieldFormat:{type:"object",properties:{dateFormat:{type:"string",enum:["dayShortMonthYear","longDate","longMonthDayYear","longMonthYear","shortDate","shortDateLE","shortDateLELongTime","shortDateLELongTime24","shortDateLEShortTime","shortDateLEShortTime24","shortDateLongTime","shortDateLongTime24","shortDateShortTime","shortDateShortTime24","shortMonthYear","year"],description:"A string used with date fields to specify how the date should appear in popup windows."},digitSeparator:{type:"boolean",description:"A Boolean used with numerical fields. A value of true allows the number to have a digit (or thousands) separator when the value appears in popup windows. Depending on the locale, this separator is a decimal point or a comma. A value of false means that no separator will be used."},places:{type:"number",description:"An integer used with numerical fields to specify the number of supported decimal places that should appear in popup windows. Any places beyond this value are rounded."}},description:"The format object can be used with numerical or date fields to provide more detail about how values should be displayed in popup windows.",title:"IFieldFormat"},IMediaInfo:{type:"object",properties:{caption:{description:"A string caption describing the media."},refreshInterval:{description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled. If the property does not exist, it's equivalent to having a value of 0. Only applicable when type is set to image."},title:{type:["string","null"],description:"A string title for the media."},type:{type:"string",enum:["barchart","columnchart","image","linechart","piechart"],description:"A string defining the type of media."},value:{anyOf:[{$ref:"#/definitions/IMediaInfoValue"},{type:"null"}],description:"A value object containing information about how the image should be retrieved or how the chart should be constructed."}},description:"Defines an image or a chart to be displayed in a popup window.",title:"IMediaInfo"},IMediaInfoValue:{type:"object",properties:{fields:{type:"array",items:{type:"string"},description:"Used with charts. An array of strings, with each string containing the name of a field to display in the chart."},linkURL:{type:"string",description:"Used with images. A string containing a URL to be launched in a browser when a user clicks the image."},normalizeField:{type:"string",description:"Used with charts. An optional string containing the name of a field. The values of all fields in the chart will be normalized (divided) by the value of this field."},sourceURL:{type:"string",description:"Used with images. A string containing the URL to the image."},tooltipField:{type:"string",description:"String value indicating the tooltip for a chart specified from another field. This field is needed when related records are not sued. It is used for showing tooltips from another field in the same layer or related layer/table."}},description:"The value object contains information for popup windows about how images should be retrieved or charts constructed.",title:"IMediaInfoValue"},IPopupElement:{type:"object",properties:{displayType:{type:"string",enum:["list","preview"],description:"This property applies to elements of type attachments. A string value indicating how to display the attachment. Possible values are, preview, and list. If list is specified, attachments show as links."},fieldInfos:{type:"array",items:{$ref:"#/definitions/IFieldInfo"},description:"This property applies to elements of type fields. It is an array of popupInfo.fieldInfo objects representing a field/value pair displayed as a table within the popupElement. If the fieldInfos property is not provided, the popupElement will display whatever is specified directly in the popupInfo.fieldInfos property."},mediaInfos:{type:"array",items:{$ref:"#/definitions/IMediaInfo"},description:"This property applies to elements of type media. An array of popupInfo.mediaInfo objects representing an image or chart for display. If no mediaInfos property is provided, the popupElement will display whatever is specified in the popupInfo.mediaInfo property."},text:{type:"string",description:"This property applies to elements of type text. This is string value indicating the text to be displayed within the popupElement. If no text property is provided, the popupElement will display whatever is specified in the popupInfo.description property."},type:{type:"string",enum:["attachments","fields","media","text"],description:"String value indicating which elements to use."}},description:"Popup elements allow users to author popups, using multiple elements such as tabular views, string description, media (charts and images), and attachments of the attributes and control the order in which they appear. Specifically, popupElements do the following: 1) provide the ability to explicitly add a field/ value table in addition to a description, 2) allow adding multiple description elements, and 3) allow a user to author and consume elements of a popup in the order of their choosing.",title:"IPopupElement"},IRelatedRecordsInfo:{type:"object",properties:{orderByFields:{type:"array",items:{$ref:"#/definitions/IOrderByField"},description:"Array of orderByFields objects indicating the field display order for the related records and whether they should be sorted in ascending 'asc' or descending 'desc' order."},showRelatedRecords:{type:"boolean",description:"Required boolean value indicating whether to display related records. If true, client should let the user navigate to the related records. Defaults to true if the layer participates in a relationship AND the related layer/table has already been added to the map (either as an operationalLayer or as a table)."}},required:["showRelatedRecords"],description:"The sort in the popupInfo for the parent feature. This impacts the sorting order for the returned child records.",title:"IRelatedRecordsInfo"},IOrderByField:{type:"object",properties:{field:{type:"string",description:"The attribute value of the field selected that will drive the sorting of related records."},order:{type:"string",enum:["asc","desc"],description:"Set the ascending or descending sort order of the returned related records."}},description:"Object indicating the field display order for the related records and whether they should be sorted in ascending or descending order.",title:"IOrderByField"},WebChartLabelBehavior:{type:"string",enum:["hide","rotate","stagger","wrap"],description:"Represents the different types of behaviors that can applied to a chart axis.",title:"WebChartLabelBehavior"},WebChartStackedKinds:{type:"string",enum:["sideBySide","stacked","stacked100"],title:"WebChartStackedKinds"},WebChartOrderSeriesBy:{type:"object",properties:{preferLabel:{type:"boolean",description:`When the value is set to true, we want to order the split-by series based on the series' names (alias, custom label, or description).
15
15