@arcgis/charts-components 5.0.0-next.22 → 5.0.0-next.24

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 (319) hide show
  1. package/dist/cdn/{5LDE52ZG.js → 22LMNVZ2.js} +2 -2
  2. package/dist/cdn/{4AGUUEY7.js → 24UUJDMB.js} +2 -2
  3. package/dist/cdn/{CFKXDKDA.js → 2CIIM437.js} +2 -2
  4. package/dist/cdn/{3DFKSASW.js → 2HCJFTCX.js} +2 -2
  5. package/dist/cdn/{A3QPVFLY.js → 2HIMITPJ.js} +2 -2
  6. package/dist/cdn/{IVBE77HX.js → 2KYCZ6HY.js} +2 -2
  7. package/dist/cdn/{NXPXPFWP.js → 2Q33IXZB.js} +2 -2
  8. package/dist/cdn/{UH6CFCLT.js → 2W3SVPRK.js} +2 -2
  9. package/dist/cdn/{UD5DHBID.js → 34BE47CG.js} +2 -2
  10. package/dist/cdn/{7TUQ4IQ3.js → 3E6Q52LF.js} +2 -2
  11. package/dist/cdn/{7Q6MBASQ.js → 3FAXGDQG.js} +2 -2
  12. package/dist/cdn/{YKPKAFAE.js → 3PWK2OEA.js} +2 -2
  13. package/dist/cdn/{PPXPQJ7L.js → 3XTDYZCX.js} +2 -2
  14. package/dist/cdn/{PERHTP2L.js → 3ZMUG5W5.js} +1 -1
  15. package/dist/cdn/{BJ66IO53.js → 43ZMJSAY.js} +2 -2
  16. package/dist/cdn/{ZPAAZWBD.js → 4AHQ5SXI.js} +2 -2
  17. package/dist/cdn/{HDELCYJK.js → 4K5H4IIC.js} +2 -2
  18. package/dist/cdn/{BGGRD4GZ.js → 4UHZZJIJ.js} +2 -2
  19. package/dist/cdn/4Y2HJNTD.js +4 -0
  20. package/dist/cdn/{MQ3Z3VOL.js → 52ZNPAKG.js} +2 -2
  21. package/dist/cdn/{VAWLI7KW.js → 53YQYJVG.js} +2 -2
  22. package/dist/cdn/{EKMAQTDI.js → 54LTRZAM.js} +2 -2
  23. package/dist/cdn/{RXASOFR3.js → 56MT7MME.js} +2 -2
  24. package/dist/cdn/{J2KLZF4I.js → 57DL54HK.js} +2 -2
  25. package/dist/cdn/{PHNMARPA.js → 5CTQIA4D.js} +2 -2
  26. package/dist/cdn/{2SZHG3HO.js → 5LJLYRXP.js} +2 -2
  27. package/dist/cdn/{FPF7YSW7.js → 5MSKZ3X6.js} +2 -2
  28. package/dist/cdn/5O2H4A2X.js +4 -0
  29. package/dist/cdn/{UI2CLFCA.js → 5VLE3SJG.js} +2 -2
  30. package/dist/cdn/{GSOVLQHE.js → 5WQDNSG6.js} +2 -2
  31. package/dist/cdn/{WXP5KLFE.js → 66Z7CGSI.js} +2 -2
  32. package/dist/cdn/{I4MKXTN4.js → 6BOTXYP6.js} +2 -2
  33. package/dist/cdn/{MDZMV4BF.js → 6GB7GIXA.js} +2 -2
  34. package/dist/cdn/{XWSS3C7U.js → 6P554JVC.js} +2 -2
  35. package/dist/cdn/{BQBYL3N2.js → 6Q3FTC6I.js} +2 -2
  36. package/dist/cdn/{E7GCTDV4.js → 6RBVOBYK.js} +2 -2
  37. package/dist/cdn/{SHKCRHBK.js → 6WWUZICV.js} +2 -2
  38. package/dist/cdn/74FN5PHE.js +4 -0
  39. package/dist/cdn/{MOOVAF6P.js → 75ABSXHK.js} +2 -2
  40. package/dist/cdn/{7W7HNSO3.js → 7BUM6BJN.js} +2 -2
  41. package/dist/cdn/{KBIG4RFG.js → 7KNB6BCT.js} +2 -2
  42. package/dist/cdn/{KIBPAYYA.js → 7O5HNYLE.js} +2 -2
  43. package/dist/cdn/{NT2YTCJB.js → 7SUFZGMR.js} +2 -2
  44. package/dist/cdn/{YLQIMT46.js → 7WL7JFUE.js} +2 -2
  45. package/dist/cdn/{NBWZJ73L.js → A5SLMYH4.js} +2 -2
  46. package/dist/cdn/{SJOUE3F7.js → AAB5CYMF.js} +2 -2
  47. package/dist/cdn/{CUMDUWFV.js → AABHM5IU.js} +2 -2
  48. package/dist/cdn/{OQBQR4GN.js → AEQ4THFN.js} +2 -2
  49. package/dist/cdn/{LLOOLSBQ.js → AORLOH4J.js} +2 -2
  50. package/dist/cdn/{J4AH5AVR.js → AQJMM6PQ.js} +2 -2
  51. package/dist/cdn/ARYJXNZY.js +4 -0
  52. package/dist/cdn/{XLLJNH5L.js → AVZCQNM7.js} +2 -2
  53. package/dist/cdn/{LJNYNTT4.js → AWWCMSB6.js} +2 -2
  54. package/dist/cdn/{AJ7NTAAO.js → BF4ZUY4Z.js} +2 -2
  55. package/dist/cdn/{PYIZO24N.js → BHQ2JJ5Y.js} +18 -18
  56. package/dist/cdn/{CDV3LPKQ.js → BILZPN5Z.js} +2 -2
  57. package/dist/cdn/{2U544GXC.js → BTVKBWYL.js} +2 -2
  58. package/dist/cdn/{ZJCZKGLK.js → C34F3MI2.js} +2 -2
  59. package/dist/cdn/C3SO6A2I.js +4 -0
  60. package/dist/cdn/{LCBBKN2D.js → C4OP6FL2.js} +2 -2
  61. package/dist/cdn/{QA2XCRHL.js → CBPCNXVK.js} +2 -2
  62. package/dist/cdn/CE4OHHT6.js +4 -0
  63. package/dist/cdn/{2G54D3OF.js → CG5E2OSK.js} +2 -2
  64. package/dist/cdn/{UMPYOKZC.js → CIQUCT5V.js} +2 -2
  65. package/dist/cdn/{JAVTY3NP.js → CIZIXCQI.js} +2 -2
  66. package/dist/cdn/{SF24B37U.js → CS2SKG6L.js} +2 -2
  67. package/dist/cdn/{U2PEZXCE.js → CYZUI6RX.js} +2 -2
  68. package/dist/cdn/{UOVOBY2X.js → D625Q6AO.js} +2 -2
  69. package/dist/cdn/{GEAHE5YN.js → DAKQGQTK.js} +2 -2
  70. package/dist/cdn/{MH7X24UV.js → DFR5ASOW.js} +2 -2
  71. package/dist/cdn/{LM3XBG7S.js → DOAHYWSH.js} +1 -1
  72. package/dist/cdn/{72CSJHQI.js → DOZXKG5J.js} +2 -2
  73. package/dist/cdn/{XCQX4QQO.js → DTVDB7XR.js} +2 -2
  74. package/dist/cdn/{4EI6NVYW.js → E3OU73RM.js} +2 -2
  75. package/dist/cdn/{MB653WLY.js → EJY7M4TB.js} +2 -2
  76. package/dist/cdn/{ZSLNOAER.js → EK6GYHQW.js} +2 -2
  77. package/dist/cdn/ERTDHAQ2.js +4 -0
  78. package/dist/cdn/{3SMSV7UM.js → F2NR3K6J.js} +2 -2
  79. package/dist/cdn/{S7PLFJQG.js → F6TI5VZ3.js} +2 -2
  80. package/dist/cdn/FPJNPTR2.js +4 -0
  81. package/dist/cdn/G4ODLV5V.js +4 -0
  82. package/dist/cdn/{SJ5BFV5F.js → G5DQS6R3.js} +2 -2
  83. package/dist/cdn/{Q7IWCRMK.js → GGXAEV4J.js} +2 -2
  84. package/dist/cdn/{GSWFJVZW.js → GKDC255O.js} +2 -2
  85. package/dist/cdn/{EXD3SZVY.js → GLISPNPO.js} +2 -2
  86. package/dist/cdn/{4ZEA6ANY.js → GU56O5YZ.js} +2 -2
  87. package/dist/cdn/{XYHI6GPX.js → HESTXB4W.js} +2 -2
  88. package/dist/cdn/{4A6PM22T.js → HFN33C3O.js} +2 -2
  89. package/dist/cdn/{SVC32YBI.js → HIKMPMPH.js} +2 -2
  90. package/dist/cdn/{3AQIKGGP.js → HPDUVIFG.js} +2 -2
  91. package/dist/cdn/{RS4FXHBP.js → HXKLCDWF.js} +2 -2
  92. package/dist/cdn/IGVADTNV.js +4 -0
  93. package/dist/cdn/{34OBKOP2.js → IHDBVR3V.js} +2 -2
  94. package/dist/cdn/IHRUJZ4V.js +42 -0
  95. package/dist/cdn/{JDVSIO5P.js → IRH6JXTV.js} +2 -2
  96. package/dist/cdn/IRTPBRMM.js +4 -0
  97. package/dist/cdn/{3GCSCDVN.js → IVAD3MLP.js} +2 -2
  98. package/dist/cdn/{GZFPTE4C.js → IYX7JQCS.js} +2 -2
  99. package/dist/cdn/{OA6RKTMT.js → J5WOV4L5.js} +1 -1
  100. package/dist/cdn/{WNSVRHPU.js → JC2TOH2N.js} +2 -2
  101. package/dist/cdn/{2MM3QN5G.js → JE2VQESS.js} +2 -2
  102. package/dist/cdn/{SV54UJL3.js → JGVJ4QZU.js} +2 -2
  103. package/dist/cdn/{YOBFS4DR.js → K2TRHPCU.js} +2 -2
  104. package/dist/cdn/{VGPYB7SC.js → KCATM5A6.js} +2 -2
  105. package/dist/cdn/{LK3ZULRA.js → KMIQYYPD.js} +2 -2
  106. package/dist/cdn/{EGW2HLRN.js → KQNCBAFR.js} +2 -2
  107. package/dist/cdn/{YQS57S5A.js → KRNJ6725.js} +2 -2
  108. package/dist/cdn/{76F6IH5J.js → KRQU2VVH.js} +2 -2
  109. package/dist/cdn/{QBNYXUPS.js → KTCLKKQV.js} +2 -2
  110. package/dist/cdn/{UCLJHOYI.js → LCABMHS3.js} +2 -2
  111. package/dist/cdn/{UDIEB3CT.js → LCPQLW4N.js} +2 -2
  112. package/dist/cdn/{QIUAWWNX.js → LH7JXFZV.js} +2 -2
  113. package/dist/cdn/{547XPZD3.js → LKQS4G43.js} +1 -1
  114. package/dist/cdn/LNABTX6W.js +4 -0
  115. package/dist/cdn/{ZZW4DMYZ.js → LRZ4KPRH.js} +1 -1
  116. package/dist/cdn/LZYHEE3A.js +6 -0
  117. package/dist/cdn/{R6GDZOI5.js → M6I4GWPX.js} +2 -2
  118. package/dist/cdn/{OZVLYLZE.js → MAZJEBZX.js} +2 -2
  119. package/dist/cdn/MOOH4R4I.js +4 -0
  120. package/dist/cdn/{ZCLOJW4C.js → MTH4ZJMT.js} +2 -2
  121. package/dist/cdn/{HGRDXWSR.js → MUAY2ZFD.js} +2 -2
  122. package/dist/cdn/{MA3SDR4L.js → MVRWISV7.js} +2 -2
  123. package/dist/cdn/{PMGTXCKQ.js → MWFMMCZ2.js} +2 -2
  124. package/dist/cdn/{3IFWU7LL.js → MWWXWMZ3.js} +2 -2
  125. package/dist/cdn/{MHUXUGBF.js → N42ZTZTN.js} +2 -2
  126. package/dist/cdn/NPZM43GJ.js +4 -0
  127. package/dist/cdn/{LGYSYLFO.js → NZOTAYYG.js} +2 -2
  128. package/dist/cdn/{3X3SDWFQ.js → O2KI7OAN.js} +2 -2
  129. package/dist/cdn/ODBKMQU5.js +4 -0
  130. package/dist/cdn/{YXWTG3QK.js → OH354KS5.js} +2 -2
  131. package/dist/cdn/{KZFF5ARP.js → OULDTBSA.js} +2 -2
  132. package/dist/cdn/{BFTOG7LL.js → OWC76L4E.js} +2 -2
  133. package/dist/cdn/P4FOVDOK.js +4 -0
  134. package/dist/cdn/{4FQHH7QS.js → P4SZVGSI.js} +2 -2
  135. package/dist/cdn/{WPV6YSJE.js → PDLU3IN5.js} +2 -2
  136. package/dist/cdn/PSIFLLVB.js +4 -0
  137. package/dist/cdn/{GAQCRFPS.js → PTN6JMSD.js} +1 -1
  138. package/dist/cdn/{QCS2A5JD.js → PXYBVARC.js} +2 -2
  139. package/dist/cdn/{QYB4YYTW.js → QP6QF7TO.js} +2 -2
  140. package/dist/cdn/{CJRRTYNK.js → QX5L2GN7.js} +2 -2
  141. package/dist/cdn/{ZB5AFSTQ.js → R3FN2YWH.js} +2 -2
  142. package/dist/cdn/{TXOMCG6X.js → R6IXZQL2.js} +2 -2
  143. package/dist/cdn/{5DWI4B7H.js → R6JYMGAL.js} +2 -2
  144. package/dist/cdn/{BKFEYLFG.js → RAAUIA77.js} +2 -2
  145. package/dist/cdn/{X4FIJU4Z.js → RFUL7F6Q.js} +2 -2
  146. package/dist/cdn/{6GECH5DY.js → RQRNMZRC.js} +2 -2
  147. package/dist/cdn/{X4Q7VKUW.js → RVUCITO5.js} +2 -2
  148. package/dist/cdn/{D7WLXNMN.js → S6OPXP57.js} +2 -2
  149. package/dist/cdn/{343FRDKB.js → SEQG6AC3.js} +2 -2
  150. package/dist/cdn/{ZIUZ6CNX.js → SVATWD7C.js} +1 -1
  151. package/dist/cdn/{5BSRPD5I.js → TB6LX2UK.js} +2 -2
  152. package/dist/cdn/{ZQXGF6JZ.js → TPD4XFBX.js} +2 -2
  153. package/dist/cdn/{UYLRDGGG.js → TQHWGSEQ.js} +1 -1
  154. package/dist/cdn/{FZMEBFJZ.js → TQU7G77A.js} +2 -2
  155. package/dist/cdn/{OY7W5YYW.js → TRWXADFK.js} +2 -2
  156. package/dist/cdn/{DIWIFUGL.js → U5H3KFO7.js} +2 -2
  157. package/dist/cdn/{T3FMPT5X.js → UOUSF765.js} +2 -2
  158. package/dist/cdn/{LZ2HU4VU.js → V7W7DXLH.js} +2 -2
  159. package/dist/cdn/{HDFIEBOY.js → VL3VPK6Z.js} +2 -2
  160. package/dist/cdn/{PFE3CLAB.js → VLN7GOTE.js} +2 -2
  161. package/dist/cdn/{7VC5UHPQ.js → VSSRAQAB.js} +1 -1
  162. package/dist/cdn/{R4EOYEK6.js → VTMJJADU.js} +2 -2
  163. package/dist/cdn/W4LTEWOO.js +4 -0
  164. package/dist/cdn/{3V7U7JR7.js → WWMV6AFN.js} +2 -2
  165. package/dist/cdn/{YWCZA65Y.js → WZ5R2GBE.js} +1 -1
  166. package/dist/cdn/{UPMAPFMF.js → WZV3KQDI.js} +2 -2
  167. package/dist/cdn/{SITXDT62.js → X627ILMN.js} +2 -2
  168. package/dist/cdn/{FDECLHKY.js → XHLDGKPF.js} +2 -2
  169. package/dist/cdn/{W6RPLGJV.js → XIBEFKZ6.js} +2 -2
  170. package/dist/cdn/{NDL7FEYI.js → XJQ267Y6.js} +2 -2
  171. package/dist/cdn/{WMZT7YMW.js → XNPV3IB3.js} +2 -2
  172. package/dist/cdn/{THAW5FU6.js → YAFNWOUG.js} +2 -2
  173. package/dist/cdn/{RNVZTP3Q.js → YDGDTK3Q.js} +2 -2
  174. package/dist/cdn/{NE5OHK2L.js → YF3F3EB5.js} +2 -2
  175. package/dist/cdn/{ZCHUX66X.js → YNXFAFRS.js} +2 -2
  176. package/dist/cdn/{KKIJGIOW.js → YSMOM5ME.js} +2 -2
  177. package/dist/cdn/{RLCWYLE2.js → YUK4R65L.js} +2 -2
  178. package/dist/cdn/{UCDH7JF3.js → YY5YAH4F.js} +2 -2
  179. package/dist/cdn/{ETN5GBTR.js → Z34TFSAK.js} +2 -2
  180. package/dist/cdn/{KIRGSKAU.js → Z5IFN4LC.js} +2 -2
  181. package/dist/cdn/{QEBHIDPZ.js → ZIYPW7CB.js} +2 -2
  182. package/dist/cdn/ZZR7VDLV.js +4 -0
  183. package/dist/cdn/{PAG6VO5Q.js → ZZWJPJT4.js} +2 -2
  184. package/dist/cdn/index.js +2 -2
  185. package/dist/chunks/action-bar-utils.js +6 -6
  186. package/dist/chunks/axis-model-wrapper.js +1 -1
  187. package/dist/chunks/bar-chart-model.js +2 -2
  188. package/dist/chunks/bar-chart-series.js +1 -1
  189. package/dist/chunks/baseline-stacking.js +1 -1
  190. package/dist/chunks/bg_BG.js +1 -1
  191. package/dist/chunks/bg_BG2.js +1 -1
  192. package/dist/chunks/box-plot-data.js +216 -202
  193. package/dist/chunks/box-plot-model.js +9 -9
  194. package/dist/chunks/chart-ui-utils.js +1 -1
  195. package/dist/chunks/chart-ui-utils2.js +2 -2
  196. package/dist/chunks/combo-bar-line-chart-model.js +1 -1
  197. package/dist/chunks/common.js +1 -1
  198. package/dist/chunks/config-update.js +5 -3
  199. package/dist/chunks/data.js +59 -927
  200. package/dist/chunks/data2.js +907 -0
  201. package/dist/chunks/default.js +1 -1
  202. package/dist/chunks/gauge-model.js +2 -2
  203. package/dist/chunks/heat-chart-model.js +8 -8
  204. package/dist/chunks/histogram-data.js +3 -3
  205. package/dist/chunks/histogram-model.js +3 -3
  206. package/dist/chunks/index.js +128 -123
  207. package/dist/chunks/index2.js +4 -4
  208. package/dist/chunks/index3.js +2 -2
  209. package/dist/chunks/index4.js +1 -1
  210. package/dist/chunks/index5.js +1 -1
  211. package/dist/chunks/interfaces.js +1637 -1588
  212. package/dist/chunks/interfaces2.js +1 -1
  213. package/dist/chunks/interfaces3.js +1 -1
  214. package/dist/chunks/interfaces4.js +1 -1
  215. package/dist/chunks/line-chart-model.js +2 -2
  216. package/dist/chunks/model-with-baseline-stacking.js +1 -1
  217. package/dist/chunks/model-with-data-labels.js +1 -1
  218. package/dist/chunks/model-with-multi-axes.js +23 -23
  219. package/dist/chunks/model-with-rotation.js +2 -2
  220. package/dist/chunks/pie-chart-data.js +113 -111
  221. package/dist/chunks/pie-chart-model.js +3 -3
  222. package/dist/chunks/popover-ui-utils.js +1 -1
  223. package/dist/chunks/radar-chart-model.js +2 -2
  224. package/dist/chunks/resource.js +1 -1
  225. package/dist/chunks/rest-js-object-literals.js +1 -1
  226. package/dist/chunks/runtime.js +1 -1
  227. package/dist/chunks/scatterplot-model.js +3 -3
  228. package/dist/chunks/serial-chart-model.js +32 -27
  229. package/dist/chunks/series-types.js +1 -1
  230. package/dist/chunks/series.js +1 -1
  231. package/dist/chunks/sk_SK.js +1 -1
  232. package/dist/chunks/store.js +1 -1
  233. package/dist/chunks/type-guards.js +1 -1
  234. package/dist/chunks/useT9n.js +1 -1
  235. package/dist/chunks/web-component-utils.js +136 -133
  236. package/dist/components/arcgis-chart/customElement.js +1940 -1928
  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 +20 -15
  242. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +2 -2
  243. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +2 -2
  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 +2 -2
  247. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +2 -2
  248. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +2 -2
  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 +5 -5
  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 +2 -2
  266. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +2 -2
  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 +27 -22
  270. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +2 -2
  271. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -2
  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 +23 -18
  277. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +2 -2
  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 +2 -2
  281. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +2 -2
  282. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +2 -2
  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 -2
  286. package/dist/docs/docs.json +2 -2
  287. package/dist/docs/web-types.json +1 -1
  288. package/dist/index.js +320 -318
  289. package/dist/json-schema/index.d.ts +5 -0
  290. package/dist/loader.js +1 -1
  291. package/dist/model/serial-chart-model/serial-chart-model.d.ts +4 -0
  292. package/dist/model/shared/data.d.ts +26 -2
  293. package/dist/model.js +1 -1
  294. package/dist/spec/data-source.d.ts +6 -0
  295. package/dist/utils/chart-config/converter/index.d.ts +24 -0
  296. package/dist/utils/layer/index.d.ts +49 -1
  297. package/package.json +3 -3
  298. package/dist/cdn/23LIUPGT.js +0 -4
  299. package/dist/cdn/3XXE2VVK.js +0 -4
  300. package/dist/cdn/5NZ4FFVZ.js +0 -4
  301. package/dist/cdn/6T4AJS45.js +0 -4
  302. package/dist/cdn/6VPFWSHN.js +0 -4
  303. package/dist/cdn/EAJGHL5O.js +0 -42
  304. package/dist/cdn/EBANJFK5.js +0 -4
  305. package/dist/cdn/EW2FRYL5.js +0 -4
  306. package/dist/cdn/GHUJZJGZ.js +0 -4
  307. package/dist/cdn/ISIPXF6V.js +0 -4
  308. package/dist/cdn/KL6BATFJ.js +0 -4
  309. package/dist/cdn/KR25QXSD.js +0 -4
  310. package/dist/cdn/MSHWZF5N.js +0 -6
  311. package/dist/cdn/QUSQ2AAN.js +0 -4
  312. package/dist/cdn/SQFDMTLM.js +0 -4
  313. package/dist/cdn/UFWNL7KT.js +0 -4
  314. package/dist/cdn/WYGIGZWX.js +0 -4
  315. package/dist/cdn/ZPU32XDL.js +0 -4
  316. package/dist/cdn/ZWKHKFX6.js +0 -4
  317. package/dist/cdn/ZZTVNQK3.js +0 -4
  318. package/dist/test/chart-rendering/test-utils/utils.d.ts +0 -7
  319. package/dist/test/utils/test-utils/utils.d.ts +0 -13
@@ -1,42 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.22 */
4
- import{A as hi,B as Xt,l as os,q as ve,r as vr,s as va,t as Sr,u as ui,v as Sa,w as Le}from"./LM3XBG7S.js";import{b as us,c as rt,d as it}from"./UYLRDGGG.js";import{a as x,b as le,c as ga,e as ba,f as Vr,h as It,i as ls,k as me,l as xt,n as ds,o as gr,q as Lt,s as cs,t as ps,v as br,w as _e}from"./ZZW4DMYZ.js";import{G as tt}from"./547XPZD3.js";import{b as W,d as ss}from"./ZIUZ6CNX.js";export default $arcgis.t(([{substitute:Je},An,ld,dd,Ju,ln,Yu,Ku,Xu,eh,th,rh,pd,$n])=>{var Ss=W((mi,vs)=>{(function(t,e){typeof mi=="object"&&typeof vs<"u"?e(mi):typeof define=="function"&&define.amd?define(["exports"],e):e(t.URI=t.URI||{})})(mi,function(t){"use strict";function e(){for(var b=arguments.length,f=Array(b),v=0;v<b;v++)f[v]=arguments[v];if(f.length>1){f[0]=f[0].slice(0,-1);for(var I=f.length-1,T=1;T<I;++T)f[T]=f[T].slice(1,-1);return f[I]=f[I].slice(1),f.join("")}else return f[0]}function i(b){return"(?:"+b+")"}function a(b){return b===void 0?"undefined":b===null?"null":Object.prototype.toString.call(b).split(" ").pop().split("]").shift().toLowerCase()}function r(b){return b.toUpperCase()}function n(b){return b!=null?b instanceof Array?b:typeof b.length!="number"||b.split||b.setInterval||b.call?[b]:Array.prototype.slice.call(b):[]}function o(b,f){var v=b;if(f)for(var I in f)v[I]=f[I];return v}function s(b){var f="[A-Za-z]",v="[\\x0D]",I="[0-9]",T="[\\x22]",N=e(I,"[A-Fa-f]"),z="[\\x0A]",Y="[\\x20]",re=i(i("%[EFef]"+N+"%"+N+N+"%"+N+N)+"|"+i("%[89A-Fa-f]"+N+"%"+N+N)+"|"+i("%"+N+N)),xe="[\\:\\/\\?\\#\\[\\]\\@]",Z="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",he=e(xe,Z),Te=b?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",ce=b?"[\\uE000-\\uF8FF]":"[]",X=e(f,I,"[\\-\\.\\_\\~]",Te),fe=i(f+e(f,I,"[\\+\\-\\.]")+"*"),ne=i(i(re+"|"+e(X,Z,"[\\:]"))+"*"),Jt=i(i("25[0-5]")+"|"+i("2[0-4]"+I)+"|"+i("1"+I+I)+"|"+i("[1-9]"+I)+"|"+I),Be=i(i("25[0-5]")+"|"+i("2[0-4]"+I)+"|"+i("1"+I+I)+"|"+i("0?[1-9]"+I)+"|0?0?"+I),He=i(Be+"\\."+Be+"\\."+Be+"\\."+Be),se=i(N+"{1,4}"),We=i(i(se+"\\:"+se)+"|"+He),Qe=i(i(se+"\\:")+"{6}"+We),ht=i("\\:\\:"+i(se+"\\:")+"{5}"+We),Yt=i(i(se)+"?\\:\\:"+i(se+"\\:")+"{4}"+We),vt=i(i(i(se+"\\:")+"{0,1}"+se)+"?\\:\\:"+i(se+"\\:")+"{3}"+We),qr=i(i(i(se+"\\:")+"{0,2}"+se)+"?\\:\\:"+i(se+"\\:")+"{2}"+We),di=i(i(i(se+"\\:")+"{0,3}"+se)+"?\\:\\:"+se+"\\:"+We),ci=i(i(i(se+"\\:")+"{0,4}"+se)+"?\\:\\:"+We),pr=i(i(i(se+"\\:")+"{0,5}"+se)+"?\\:\\:"+se),ur=i(i(i(se+"\\:")+"{0,6}"+se)+"?\\:\\:"),St=i([Qe,ht,Yt,vt,qr,di,ci,pr,ur].join("|")),hr=i(i(X+"|"+re)+"+"),ma=i(St+"\\%25"+hr),Kt=i(St+i("\\%25|\\%(?!"+N+"{2})")+hr),Xc=i("[vV]"+N+"+\\."+e(X,Z,"[\\:]")+"+"),ep=i("\\["+i(Kt+"|"+St+"|"+Xc)+"\\]"),rs=i(i(re+"|"+e(X,Z))+"*"),_r=i(ep+"|"+He+"(?!"+rs+")|"+rs),Mr=i(I+"*"),is=i(i(ne+"@")+"?"+_r+i("\\:"+Mr)+"?"),Br=i(re+"|"+e(X,Z,"[\\:\\@]")),tp=i(Br+"*"),as=i(Br+"+"),rp=i(i(re+"|"+e(X,Z,"[\\@]"))+"+"),wt=i(i("\\/"+tp)+"*"),fr=i("\\/"+i(as+wt)+"?"),ya=i(rp+wt),pi=i(as+wt),mr="(?!"+Br+")",Ig=i(wt+"|"+fr+"|"+ya+"|"+pi+"|"+mr),yr=i(i(Br+"|"+e("[\\/\\?]",ce))+"*"),Wr=i(i(Br+"|[\\/\\?]")+"*"),ns=i(i("\\/\\/"+is+wt)+"|"+fr+"|"+pi+"|"+mr),ip=i(fe+"\\:"+ns+i("\\?"+yr)+"?"+i("\\#"+Wr)+"?"),ap=i(i("\\/\\/"+is+wt)+"|"+fr+"|"+ya+"|"+mr),np=i(ap+i("\\?"+yr)+"?"+i("\\#"+Wr)+"?"),xg=i(ip+"|"+np),Tg=i(fe+"\\:"+ns+i("\\?"+yr)+"?"),Cg="^("+fe+")\\:"+i(i("\\/\\/("+i("("+ne+")@")+"?("+_r+")"+i("\\:("+Mr+")")+"?)")+"?("+wt+"|"+fr+"|"+pi+"|"+mr+")")+i("\\?("+yr+")")+"?"+i("\\#("+Wr+")")+"?$",Fg="^(){0}"+i(i("\\/\\/("+i("("+ne+")@")+"?("+_r+")"+i("\\:("+Mr+")")+"?)")+"?("+wt+"|"+fr+"|"+ya+"|"+mr+")")+i("\\?("+yr+")")+"?"+i("\\#("+Wr+")")+"?$",Pg="^("+fe+")\\:"+i(i("\\/\\/("+i("("+ne+")@")+"?("+_r+")"+i("\\:("+Mr+")")+"?)")+"?("+wt+"|"+fr+"|"+pi+"|"+mr+")")+i("\\?("+yr+")")+"?$",Og="^"+i("\\#("+Wr+")")+"?$",Eg="^"+i("("+ne+")@")+"?("+_r+")"+i("\\:("+Mr+")")+"?$";return{NOT_SCHEME:new RegExp(e("[^]",f,I,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(e("[^\\%\\:]",X,Z),"g"),NOT_HOST:new RegExp(e("[^\\%\\[\\]\\:]",X,Z),"g"),NOT_PATH:new RegExp(e("[^\\%\\/\\:\\@]",X,Z),"g"),NOT_PATH_NOSCHEME:new RegExp(e("[^\\%\\/\\@]",X,Z),"g"),NOT_QUERY:new RegExp(e("[^\\%]",X,Z,"[\\:\\@\\/\\?]",ce),"g"),NOT_FRAGMENT:new RegExp(e("[^\\%]",X,Z,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(e("[^]",X,Z),"g"),UNRESERVED:new RegExp(X,"g"),OTHER_CHARS:new RegExp(e("[^\\%]",X,he),"g"),PCT_ENCODED:new RegExp(re,"g"),IPV4ADDRESS:new RegExp("^("+He+")$"),IPV6ADDRESS:new RegExp("^\\[?("+St+")"+i(i("\\%25|\\%(?!"+N+"{2})")+"("+hr+")")+"?\\]?$")}}var l=s(!1),d=s(!0),p=function(){function b(f,v){var I=[],T=!0,N=!1,z=void 0;try{for(var Y=f[Symbol.iterator](),re;!(T=(re=Y.next()).done)&&(I.push(re.value),!(v&&I.length===v));T=!0);}catch(xe){N=!0,z=xe}finally{try{!T&&Y.return&&Y.return()}finally{if(N)throw z}}return I}return function(f,v){if(Array.isArray(f))return f;if(Symbol.iterator in Object(f))return b(f,v);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),u=function(b){if(Array.isArray(b)){for(var f=0,v=Array(b.length);f<b.length;f++)v[f]=b[f];return v}else return Array.from(b)},h=2147483647,c=36,m=1,g=26,y=38,S=700,C=72,w=128,P="-",O=/^xn--/,A=/[^\0-\x7E]/,q=/[\x2E\u3002\uFF0E\uFF61]/g,R={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},F=c-m,D=Math.floor,L=String.fromCharCode;function j(b){throw new RangeError(R[b])}function E(b,f){for(var v=[],I=b.length;I--;)v[I]=f(b[I]);return v}function $(b,f){var v=b.split("@"),I="";v.length>1&&(I=v[0]+"@",b=v[1]),b=b.replace(q,".");var T=b.split("."),N=E(T,f).join(".");return I+N}function _(b){for(var f=[],v=0,I=b.length;v<I;){var T=b.charCodeAt(v++);if(T>=55296&&T<=56319&&v<I){var N=b.charCodeAt(v++);(N&64512)==56320?f.push(((T&1023)<<10)+(N&1023)+65536):(f.push(T),v--)}else f.push(T)}return f}var ae=function(f){return String.fromCodePoint.apply(String,u(f))},G=function(f){return f-48<10?f-22:f-65<26?f-65:f-97<26?f-97:c},Q=function(f,v){return f+22+75*(f<26)-((v!=0)<<5)},U=function(f,v,I){var T=0;for(f=I?D(f/S):f>>1,f+=D(f/v);f>F*g>>1;T+=c)f=D(f/F);return D(T+(F+1)*f/(f+y))},B=function(f){var v=[],I=f.length,T=0,N=w,z=C,Y=f.lastIndexOf(P);Y<0&&(Y=0);for(var re=0;re<Y;++re)f.charCodeAt(re)>=128&&j("not-basic"),v.push(f.charCodeAt(re));for(var xe=Y>0?Y+1:0;xe<I;){for(var Z=T,he=1,Te=c;;Te+=c){xe>=I&&j("invalid-input");var ce=G(f.charCodeAt(xe++));(ce>=c||ce>D((h-T)/he))&&j("overflow"),T+=ce*he;var X=Te<=z?m:Te>=z+g?g:Te-z;if(ce<X)break;var fe=c-X;he>D(h/fe)&&j("overflow"),he*=fe}var ne=v.length+1;z=U(T-Z,ne,Z==0),D(T/ne)>h-N&&j("overflow"),N+=D(T/ne),T%=ne,v.splice(T++,0,N)}return String.fromCodePoint.apply(String,v)},ge=function(f){var v=[];f=_(f);var I=f.length,T=w,N=0,z=C,Y=!0,re=!1,xe=void 0;try{for(var Z=f[Symbol.iterator](),he;!(Y=(he=Z.next()).done);Y=!0){var Te=he.value;Te<128&&v.push(L(Te))}}catch(Kt){re=!0,xe=Kt}finally{try{!Y&&Z.return&&Z.return()}finally{if(re)throw xe}}var ce=v.length,X=ce;for(ce&&v.push(P);X<I;){var fe=h,ne=!0,Jt=!1,Be=void 0;try{for(var He=f[Symbol.iterator](),se;!(ne=(se=He.next()).done);ne=!0){var We=se.value;We>=T&&We<fe&&(fe=We)}}catch(Kt){Jt=!0,Be=Kt}finally{try{!ne&&He.return&&He.return()}finally{if(Jt)throw Be}}var Qe=X+1;fe-T>D((h-N)/Qe)&&j("overflow"),N+=(fe-T)*Qe,T=fe;var ht=!0,Yt=!1,vt=void 0;try{for(var qr=f[Symbol.iterator](),di;!(ht=(di=qr.next()).done);ht=!0){var ci=di.value;if(ci<T&&++N>h&&j("overflow"),ci==T){for(var pr=N,ur=c;;ur+=c){var St=ur<=z?m:ur>=z+g?g:ur-z;if(pr<St)break;var hr=pr-St,ma=c-St;v.push(L(Q(St+hr%ma,0))),pr=D(hr/ma)}v.push(L(Q(pr,0))),z=U(N,Qe,X==ce),N=0,++X}}}catch(Kt){Yt=!0,vt=Kt}finally{try{!ht&&qr.return&&qr.return()}finally{if(Yt)throw vt}}++N,++T}return v.join("")},$e=function(f){return $(f,function(v){return O.test(v)?B(v.slice(4).toLowerCase()):v})},ke=function(f){return $(f,function(v){return A.test(v)?"xn--"+ge(v):v})},K={version:"2.1.0",ucs2:{decode:_,encode:ae},decode:B,encode:ge,toASCII:ke,toUnicode:$e},we={};function Fe(b){var f=b.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 je(b){for(var f="",v=0,I=b.length;v<I;){var T=parseInt(b.substr(v+1,2),16);if(T<128)f+=String.fromCharCode(T),v+=3;else if(T>=194&&T<224){if(I-v>=6){var N=parseInt(b.substr(v+4,2),16);f+=String.fromCharCode((T&31)<<6|N&63)}else f+=b.substr(v,6);v+=6}else if(T>=224){if(I-v>=9){var z=parseInt(b.substr(v+4,2),16),Y=parseInt(b.substr(v+7,2),16);f+=String.fromCharCode((T&15)<<12|(z&63)<<6|Y&63)}else f+=b.substr(v,9);v+=9}else f+=b.substr(v,3),v+=3}return f}function $t(b,f){function v(I){var T=je(I);return T.match(f.UNRESERVED)?T:I}return b.scheme&&(b.scheme=String(b.scheme).replace(f.PCT_ENCODED,v).toLowerCase().replace(f.NOT_SCHEME,"")),b.userinfo!==void 0&&(b.userinfo=String(b.userinfo).replace(f.PCT_ENCODED,v).replace(f.NOT_USERINFO,Fe).replace(f.PCT_ENCODED,r)),b.host!==void 0&&(b.host=String(b.host).replace(f.PCT_ENCODED,v).toLowerCase().replace(f.NOT_HOST,Fe).replace(f.PCT_ENCODED,r)),b.path!==void 0&&(b.path=String(b.path).replace(f.PCT_ENCODED,v).replace(b.scheme?f.NOT_PATH:f.NOT_PATH_NOSCHEME,Fe).replace(f.PCT_ENCODED,r)),b.query!==void 0&&(b.query=String(b.query).replace(f.PCT_ENCODED,v).replace(f.NOT_QUERY,Fe).replace(f.PCT_ENCODED,r)),b.fragment!==void 0&&(b.fragment=String(b.fragment).replace(f.PCT_ENCODED,v).replace(f.NOT_FRAGMENT,Fe).replace(f.PCT_ENCODED,r)),b}function gt(b){return b.replace(/^0*(.*)/,"$1")||"0"}function Ie(b,f){var v=b.match(f.IPV4ADDRESS)||[],I=p(v,2),T=I[1];return T?T.split(".").map(gt).join("."):b}function be(b,f){var v=b.match(f.IPV6ADDRESS)||[],I=p(v,3),T=I[1],N=I[2];if(T){for(var z=T.toLowerCase().split("::").reverse(),Y=p(z,2),re=Y[0],xe=Y[1],Z=xe?xe.split(":").map(gt):[],he=re.split(":").map(gt),Te=f.IPV4ADDRESS.test(he[he.length-1]),ce=Te?7:8,X=he.length-ce,fe=Array(ce),ne=0;ne<ce;++ne)fe[ne]=Z[ne]||he[X+ne]||"";Te&&(fe[ce-1]=Ie(fe[ce-1],f));var Jt=fe.reduce(function(Qe,ht,Yt){if(!ht||ht==="0"){var vt=Qe[Qe.length-1];vt&&vt.index+vt.length===Yt?vt.length++:Qe.push({index:Yt,length:1})}return Qe},[]),Be=Jt.sort(function(Qe,ht){return ht.length-Qe.length})[0],He=void 0;if(Be&&Be.length>1){var se=fe.slice(0,Be.index),We=fe.slice(Be.index+Be.length);He=se.join(":")+"::"+We.join(":")}else He=fe.join(":");return N&&(He+="%"+N),He}else return b}var Ht=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,De="".match(/(){0}/)[1]===void 0;function ee(b){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v={},I=f.iri!==!1?d:l;f.reference==="suffix"&&(b=(f.scheme?f.scheme+":":"")+"//"+b);var T=b.match(Ht);if(T){De?(v.scheme=T[1],v.userinfo=T[3],v.host=T[4],v.port=parseInt(T[5],10),v.path=T[6]||"",v.query=T[7],v.fragment=T[8],isNaN(v.port)&&(v.port=T[5])):(v.scheme=T[1]||void 0,v.userinfo=b.indexOf("@")!==-1?T[3]:void 0,v.host=b.indexOf("//")!==-1?T[4]:void 0,v.port=parseInt(T[5],10),v.path=T[6]||"",v.query=b.indexOf("?")!==-1?T[7]:void 0,v.fragment=b.indexOf("#")!==-1?T[8]:void 0,isNaN(v.port)&&(v.port=b.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?T[4]:void 0)),v.host&&(v.host=be(Ie(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 N=we[(f.scheme||v.scheme||"").toLowerCase()];if(!f.unicodeSupport&&(!N||!N.unicodeSupport)){if(v.host&&(f.domainHost||N&&N.domainHost))try{v.host=K.toASCII(v.host.replace(I.PCT_ENCODED,je).toLowerCase())}catch(z){v.error=v.error||"Host's domain name can not be converted to ASCII via punycode: "+z}$t(v,l)}else $t(v,I);N&&N.parse&&N.parse(v,f)}else v.error=v.error||"URI can not be parsed.";return v}function Dt(b,f){var v=f.iri!==!1?d:l,I=[];return b.userinfo!==void 0&&(I.push(b.userinfo),I.push("@")),b.host!==void 0&&I.push(be(Ie(String(b.host),v),v).replace(v.IPV6ADDRESS,function(T,N,z){return"["+N+(z?"%25"+z:"")+"]"})),(typeof b.port=="number"||typeof b.port=="string")&&(I.push(":"),I.push(String(b.port))),I.length?I.join(""):void 0}var bt=/^\.\.?\//,Qt=/^\/\.(\/|$)/,Zt=/^\/\.\.(\/|$)/,Ee=/^\/?(?:.|\n)*?(?=\/|$)/;function Ge(b){for(var f=[];b.length;)if(b.match(bt))b=b.replace(bt,"");else if(b.match(Qt))b=b.replace(Qt,"/");else if(b.match(Zt))b=b.replace(Zt,"/"),f.pop();else if(b==="."||b==="..")b="";else{var v=b.match(Ee);if(v){var I=v[0];b=b.slice(I.length),f.push(I)}else throw new Error("Unexpected dot segment condition")}return f.join("")}function qe(b){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=f.iri?d:l,I=[],T=we[(f.scheme||b.scheme||"").toLowerCase()];if(T&&T.serialize&&T.serialize(b,f),b.host&&!v.IPV6ADDRESS.test(b.host)){if(f.domainHost||T&&T.domainHost)try{b.host=f.iri?K.toUnicode(b.host):K.toASCII(b.host.replace(v.PCT_ENCODED,je).toLowerCase())}catch(Y){b.error=b.error||"Host's domain name can not be converted to "+(f.iri?"Unicode":"ASCII")+" via punycode: "+Y}}$t(b,v),f.reference!=="suffix"&&b.scheme&&(I.push(b.scheme),I.push(":"));var N=Dt(b,f);if(N!==void 0&&(f.reference!=="suffix"&&I.push("//"),I.push(N),b.path&&b.path.charAt(0)!=="/"&&I.push("/")),b.path!==void 0){var z=b.path;!f.absolutePath&&(!T||!T.absolutePath)&&(z=Ge(z)),N===void 0&&(z=z.replace(/^\/\//,"/%2F")),I.push(z)}return b.query!==void 0&&(I.push("?"),I.push(b.query)),b.fragment!==void 0&&(I.push("#"),I.push(b.fragment)),I.join("")}function Ne(b,f){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},I=arguments[3],T={};return I||(b=ee(qe(b,v),v),f=ee(qe(f,v),v)),v=v||{},!v.tolerant&&f.scheme?(T.scheme=f.scheme,T.userinfo=f.userinfo,T.host=f.host,T.port=f.port,T.path=Ge(f.path||""),T.query=f.query):(f.userinfo!==void 0||f.host!==void 0||f.port!==void 0?(T.userinfo=f.userinfo,T.host=f.host,T.port=f.port,T.path=Ge(f.path||""),T.query=f.query):(f.path?(f.path.charAt(0)==="/"?T.path=Ge(f.path):((b.userinfo!==void 0||b.host!==void 0||b.port!==void 0)&&!b.path?T.path="/"+f.path:b.path?T.path=b.path.slice(0,b.path.lastIndexOf("/")+1)+f.path:T.path=f.path,T.path=Ge(T.path)),T.query=f.query):(T.path=b.path,f.query!==void 0?T.query=f.query:T.query=b.query),T.userinfo=b.userinfo,T.host=b.host,T.port=b.port),T.scheme=b.scheme),T.fragment=f.fragment,T}function pt(b,f,v){var I=o({scheme:"null"},v);return qe(Ne(ee(b,I),ee(f,I),I,!0),I)}function Me(b,f){return typeof b=="string"?b=qe(ee(b,f),f):a(b)==="object"&&(b=ee(qe(b,f),f)),b}function li(b,f,v){return typeof b=="string"?b=qe(ee(b,v),v):a(b)==="object"&&(b=qe(b,v)),typeof f=="string"?f=qe(ee(f,v),v):a(f)==="object"&&(f=qe(f,v)),b===f}function ha(b,f){return b&&b.toString().replace(!f||!f.iri?l.ESCAPE:d.ESCAPE,Fe)}function et(b,f){return b&&b.toString().replace(!f||!f.iri?l.PCT_ENCODED:d.PCT_ENCODED,je)}var jr={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}},Qn={scheme:"https",domainHost:jr.domainHost,parse:jr.parse,serialize:jr.serialize};function Zn(b){return typeof b.secure=="boolean"?b.secure:String(b.scheme).toLowerCase()==="wss"}var Nr={scheme:"ws",domainHost:!0,parse:function(f,v){var I=f;return I.secure=Zn(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===(Zn(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("?"),T=p(I,2),N=T[0],z=T[1];f.path=N&&N!=="/"?N:void 0,f.query=z,f.resourceName=void 0}return f.fragment=void 0,f}},Jn={scheme:"wss",domainHost:Nr.domainHost,parse:Nr.parse,serialize:Nr.serialize},Bc={},Wc=!0,Yn="[A-Za-z0-9\\-\\.\\_\\~"+(Wc?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]",ut="[0-9A-Fa-f]",Vc=i(i("%[EFef]"+ut+"%"+ut+ut+"%"+ut+ut)+"|"+i("%[89A-Fa-f]"+ut+"%"+ut+ut)+"|"+i("%"+ut+ut)),zc="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",Uc="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",Gc=e(Uc,'[\\"\\\\]'),Hc="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",Qc=new RegExp(Yn,"g"),cr=new RegExp(Vc,"g"),Zc=new RegExp(e("[^]",zc,"[\\.]",'[\\"]',Gc),"g"),Kn=new RegExp(e("[^]",Yn,Hc),"g"),Jc=Kn;function fa(b){var f=je(b);return f.match(Qc)?f:b}var Xn={scheme:"mailto",parse:function(f,v){var I=f,T=I.to=I.path?I.path.split(","):[];if(I.path=void 0,I.query){for(var N=!1,z={},Y=I.query.split("&"),re=0,xe=Y.length;re<xe;++re){var Z=Y[re].split("=");switch(Z[0]){case"to":for(var he=Z[1].split(","),Te=0,ce=he.length;Te<ce;++Te)T.push(he[Te]);break;case"subject":I.subject=et(Z[1],v);break;case"body":I.body=et(Z[1],v);break;default:N=!0,z[et(Z[0],v)]=et(Z[1],v);break}}N&&(I.headers=z)}I.query=void 0;for(var X=0,fe=T.length;X<fe;++X){var ne=T[X].split("@");if(ne[0]=et(ne[0]),v.unicodeSupport)ne[1]=et(ne[1],v).toLowerCase();else try{ne[1]=K.toASCII(et(ne[1],v).toLowerCase())}catch(Jt){I.error=I.error||"Email address's domain name can not be converted to ASCII via punycode: "+Jt}T[X]=ne.join("@")}return I},serialize:function(f,v){var I=f,T=n(f.to);if(T){for(var N=0,z=T.length;N<z;++N){var Y=String(T[N]),re=Y.lastIndexOf("@"),xe=Y.slice(0,re).replace(cr,fa).replace(cr,r).replace(Zc,Fe),Z=Y.slice(re+1);try{Z=v.iri?K.toUnicode(Z):K.toASCII(et(Z,v).toLowerCase())}catch(X){I.error=I.error||"Email address's domain name can not be converted to "+(v.iri?"Unicode":"ASCII")+" via punycode: "+X}T[N]=xe+"@"+Z}I.path=T.join(",")}var he=f.headers=f.headers||{};f.subject&&(he.subject=f.subject),f.body&&(he.body=f.body);var Te=[];for(var ce in he)he[ce]!==Bc[ce]&&Te.push(ce.replace(cr,fa).replace(cr,r).replace(Kn,Fe)+"="+he[ce].replace(cr,fa).replace(cr,r).replace(Jc,Fe));return Te.length&&(I.query=Te.join("&")),I}},Yc=/^([^\:]+)\:(.*)/,es={scheme:"urn",parse:function(f,v){var I=f.path&&f.path.match(Yc),T=f;if(I){var N=v.scheme||T.scheme||"urn",z=I[1].toLowerCase(),Y=I[2],re=N+":"+(v.nid||z),xe=we[re];T.nid=z,T.nss=Y,T.path=void 0,xe&&(T=xe.parse(T,v))}else T.error=T.error||"URN can not be parsed.";return T},serialize:function(f,v){var I=v.scheme||f.scheme||"urn",T=f.nid,N=I+":"+(v.nid||T),z=we[N];z&&(f=z.serialize(f,v));var Y=f,re=f.nss;return Y.path=(T||v.nid)+":"+re,Y}},Kc=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,ts={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(Kc))&&(I.error=I.error||"UUID is not valid."),I},serialize:function(f,v){var I=f;return I.nss=(f.uuid||"").toLowerCase(),I}};we[jr.scheme]=jr,we[Qn.scheme]=Qn,we[Nr.scheme]=Nr,we[Jn.scheme]=Jn,we[Xn.scheme]=Xn,we[es.scheme]=es,we[ts.scheme]=ts,t.SCHEMES=we,t.pctEncChar=Fe,t.pctDecChars=je,t.parse=ee,t.removeDotSegments=Ge,t.serialize=qe,t.resolveComponents=Ne,t.resolve=pt,t.normalize=Me,t.equal=li,t.escapeComponent=ha,t.unescapeComponent=et,Object.defineProperty(t,"__esModule",{value:!0})})});var yi=W((rb,ws)=>{"use strict";ws.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,n;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(n=Object.keys(e),a=n.length,a!==Object.keys(i).length)return!1;for(r=a;r--!==0;)if(!Object.prototype.hasOwnProperty.call(i,n[r]))return!1;for(r=a;r--!==0;){var o=n[r];if(!t(e[o],i[o]))return!1}return!0}return e!==e&&i!==i}});var xs=W((ib,Is)=>{"use strict";Is.exports=function(e){for(var i=0,a=e.length,r=0,n;r<a;)i++,n=e.charCodeAt(r++),n>=55296&&n<=56319&&r<a&&(n=e.charCodeAt(r),(n&64512)==56320&&r++);return i}});var er=W((ab,Fs)=>{"use strict";Fs.exports={copy:pp,checkDataType:Ia,checkDataTypes:up,coerceToTypes:hp,toHash:Ta,getProperty:Ca,escapeQuotes:Fa,equal:yi(),ucs2length:xs(),varOccurences:yp,varReplace:gp,schemaHasRules:bp,schemaHasRulesExcept:vp,schemaUnknownRules:Sp,toQuotedString:xa,getPathExpr:wp,getPath:Ip,getData:Cp,unescapeFragment:Fp,unescapeJsonPointer:Oa,escapeFragment:Pp,escapeJsonPointer:Pa};function pp(t,e){e=e||{};for(var i in t)e[i]=t[i];return e}function Ia(t,e,i,a){var r=a?" !== ":" === ",n=a?" || ":" && ",o=a?"!":"",s=a?"":"!";switch(t){case"null":return e+r+"null";case"array":return o+"Array.isArray("+e+")";case"object":return"("+o+e+n+"typeof "+e+r+'"object"'+n+s+"Array.isArray("+e+"))";case"integer":return"(typeof "+e+r+'"number"'+n+s+"("+e+" % 1)"+n+e+r+e+(i?n+o+"isFinite("+e+")":"")+")";case"number":return"(typeof "+e+r+'"'+t+'"'+(i?n+o+"isFinite("+e+")":"")+")";default:return"typeof "+e+r+'"'+t+'"'}}function up(t,e,i){switch(t.length){case 1:return Ia(t[0],e,i,!0);default:var a="",r=Ta(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 n in r)a+=(a?" && ":"")+Ia(n,e,i,!0);return a}}var Ts=Ta(["string","number","integer","boolean","null"]);function hp(t,e){if(Array.isArray(e)){for(var i=[],a=0;a<e.length;a++){var r=e[a];(Ts[r]||t==="array"&&r==="array")&&(i[i.length]=r)}if(i.length)return i}else{if(Ts[e])return[e];if(t==="array"&&e==="array")return["array"]}}function Ta(t){for(var e={},i=0;i<t.length;i++)e[t[i]]=!0;return e}var fp=/^[a-z$_][a-z$_0-9]*$/i,mp=/'|\\/g;function Ca(t){return typeof t=="number"?"["+t+"]":fp.test(t)?"."+t:"['"+Fa(t)+"']"}function Fa(t){return t.replace(mp,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function yp(t,e){e+="[^0-9]";var i=t.match(new RegExp(e,"g"));return i?i.length:0}function gp(t,e,i){return e+="([^0-9])",i=i.replace(/\$/g,"$$$$"),t.replace(new RegExp(e,"g"),i+"$1")}function bp(t,e){if(typeof t=="boolean")return!t;for(var i in t)if(e[i])return!0}function vp(t,e,i){if(typeof t=="boolean")return!t&&i!="not";for(var a in t)if(a!=i&&e[a])return!0}function Sp(t,e){if(typeof t!="boolean"){for(var i in t)if(!e[i])return i}}function xa(t){return"'"+Fa(t)+"'"}function wp(t,e,i,a){var r=i?"'/' + "+e+(a?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):a?"'[' + "+e+" + ']'":"'[\\'' + "+e+" + '\\']'";return Cs(t,r)}function Ip(t,e,i){var a=xa(i?"/"+Pa(e):Ca(e));return Cs(t,a)}var xp=/^\/(?:[^~]|~0|~1)*$/,Tp=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function Cp(t,e,i){var a,r,n,o;if(t==="")return"rootData";if(t[0]=="/"){if(!xp.test(t))throw new Error("Invalid JSON-pointer: "+t);r=t,n="rootData"}else{if(o=t.match(Tp),!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(n="data"+(e-a||""),!r)return n}for(var s=n,l=r.split("/"),d=0;d<l.length;d++){var p=l[d];p&&(n+=Ca(Oa(p)),s+=" && "+n)}return s}function Cs(t,e){return t=='""'?e:(t+" + "+e).replace(/([^\\])' \+ '/g,"$1")}function Fp(t){return Oa(decodeURIComponent(t))}function Pp(t){return encodeURIComponent(Pa(t))}function Pa(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}function Oa(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}});var Ea=W((nb,Ps)=>{"use strict";var Op=er();Ps.exports=Ep;function Ep(t){Op.copy(t,this)}});var Es=W((sb,Os)=>{"use strict";var Rt=Os.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(){};gi(e,a,r,t,"",t)};Rt.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0};Rt.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};Rt.propsKeywords={definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};Rt.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 gi(t,e,i,a,r,n,o,s,l,d){if(a&&typeof a=="object"&&!Array.isArray(a)){e(a,r,n,o,s,l,d);for(var p in a){var u=a[p];if(Array.isArray(u)){if(p in Rt.arrayKeywords)for(var h=0;h<u.length;h++)gi(t,e,i,u[h],r+"/"+p+"/"+h,n,r,p,a,h)}else if(p in Rt.propsKeywords){if(u&&typeof u=="object")for(var c in u)gi(t,e,i,u[c],r+"/"+p+"/"+Ap(c),n,r,p,a,c)}else(p in Rt.keywords||t.allKeys&&!(p in Rt.skipKeywords))&&gi(t,e,i,u,r+"/"+p,n,r,p,a)}i(a,r,n,o,s,l,d)}}function Ap(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}});var xi=W((ob,Ls)=>{"use strict";var Ur=Ss(),As=yi(),wi=er(),bi=Ea(),$p=Es();Ls.exports=jt;jt.normalizeId=kt;jt.fullPath=vi;jt.url=Si;jt.ids=jp;jt.inlineRef=Aa;jt.schema=Ii;function jt(t,e,i){var a=this._refs[i];if(typeof a=="string")if(this._refs[a])a=this._refs[a];else return jt.call(this,t,e,a);if(a=a||this._schemas[i],a instanceof bi)return Aa(a.schema,this._opts.inlineRefs)?a.schema:a.validate||this._compile(a);var r=Ii.call(this,e,i),n,o,s;return r&&(n=r.schema,e=r.root,s=r.baseId),n instanceof bi?o=n.validate||t.call(this,n.schema,e,void 0,s):n!==void 0&&(o=Aa(n,this._opts.inlineRefs)?n:t.call(this,n,e,void 0,s)),o}function Ii(t,e){var i=Ur.parse(e),a=Ds(i),r=vi(this._getId(t.schema));if(Object.keys(t.schema).length===0||a!==r){var n=kt(a),o=this._refs[n];if(typeof o=="string")return Dp.call(this,t,o,i);if(o instanceof bi)o.validate||this._compile(o),t=o;else if(o=this._schemas[n],o instanceof bi){if(o.validate||this._compile(o),n==kt(e))return{schema:o,root:t,baseId:r};t=o}else return;if(!t.schema)return;r=vi(this._getId(t.schema))}return $s.call(this,i,r,t.schema,t)}function Dp(t,e,i){var a=Ii.call(this,t,e);if(a){var r=a.schema,n=a.baseId;t=a.root;var o=this._getId(r);return o&&(n=Si(n,o)),$s.call(this,i,n,r,t)}}var Lp=wi.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function $s(t,e,i,a){if(t.fragment=t.fragment||"",t.fragment.slice(0,1)=="/"){for(var r=t.fragment.split("/"),n=1;n<r.length;n++){var o=r[n];if(o){if(o=wi.unescapeFragment(o),i=i[o],i===void 0)break;var s;if(!Lp[o]&&(s=this._getId(i),s&&(e=Si(e,s)),i.$ref)){var l=Si(e,i.$ref),d=Ii.call(this,a,l);d&&(i=d.schema,a=d.root,e=d.baseId)}}}if(i!==void 0&&i!==a.schema)return{schema:i,root:a,baseId:e}}}var Rp=wi.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function Aa(t,e){if(e===!1)return!1;if(e===void 0||e===!0)return $a(t);if(e)return Da(t)<=e}function $a(t){var e;if(Array.isArray(t)){for(var i=0;i<t.length;i++)if(e=t[i],typeof e=="object"&&!$a(e))return!1}else for(var a in t)if(a=="$ref"||(e=t[a],typeof e=="object"&&!$a(e)))return!1;return!0}function Da(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+=Da(i)),e==1/0)return 1/0}else for(var r in t){if(r=="$ref")return 1/0;if(Rp[r])e++;else if(i=t[r],typeof i=="object"&&(e+=Da(i)+1),e==1/0)return 1/0}return e}function vi(t,e){e!==!1&&(t=kt(t));var i=Ur.parse(t);return Ds(i)}function Ds(t){return Ur.serialize(t).split("#")[0]+"#"}var kp=/#\/?$/;function kt(t){return t?t.replace(kp,""):""}function Si(t,e){return e=kt(e),Ur.resolve(t,e)}function jp(t){var e=kt(this._getId(t)),i={"":e},a={"":vi(e,!1)},r={},n=this;return $p(t,{allKeys:!0},function(o,s,l,d,p,u,h){if(s!==""){var c=n._getId(o),m=i[d],g=a[d]+"/"+p;if(h!==void 0&&(g+="/"+(typeof h=="number"?h:wi.escapeFragment(h))),typeof c=="string"){c=m=kt(m?Ur.resolve(m,c):c);var y=n._refs[c];if(typeof y=="string"&&(y=n._refs[y]),y&&y.schema){if(!As(o,y.schema))throw new Error('id "'+c+'" resolves to more than one schema')}else if(c!=kt(g))if(c[0]=="#"){if(r[c]&&!As(o,r[c]))throw new Error('id "'+c+'" resolves to more than one schema');r[c]=o}else n._refs[c]=g}i[s]=m,a[s]=g}}),r}});var Ti=W((lb,ks)=>{"use strict";var La=xi();ks.exports={Validation:Rs(Np),MissingRef:Rs(Ra)};function Np(t){this.message="validation failed",this.errors=t,this.ajv=this.validation=!0}Ra.message=function(t,e){return"can't resolve reference "+e+" from id "+t};function Ra(t,e,i){this.message=i||Ra.message(t,e),this.missingRef=La.url(t,e),this.missingSchema=La.normalizeId(La.fullPath(this.missingRef))}function Rs(t){return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}});var ka=W((db,js)=>{"use strict";js.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(n){return function(o){return function(s,l){var d={key:s,value:o[s]},p={key:l,value:o[l]};return n(d,p)}}}(e.cmp),r=[];return function n(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 s,l;if(Array.isArray(o)){for(l="[",s=0;s<o.length;s++)s&&(l+=","),l+=n(o[s])||"null";return l+"]"}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 d=r.push(o)-1,p=Object.keys(o).sort(a&&a(o));for(l="",s=0;s<p.length;s++){var u=p[s],h=n(o[u]);h&&(l&&(l+=","),l+=JSON.stringify(u)+":"+h)}return r.splice(d,1),"{"+l+"}"}}(t)}});var ja=W((cb,Ns)=>{"use strict";Ns.exports=function(e,i,a){var r="",n=e.schema.$async===!0,o=e.util.schemaHasRulesExcept(e.schema,e.RULES.all,"$ref"),s=e.self._getId(e.schema);if(e.opts.strictKeywords){var l=e.util.schemaUnknownRules(e.schema,e.RULES.keywords);if(l){var d="unknown keyword: "+l;if(e.opts.strictKeywords==="log")e.logger.warn(d);else throw new Error(d)}}if(e.isTop&&(r+=" var validate = ",n&&(e.async=!0,r+="async "),r+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ",s&&(e.opts.sourceCode||e.opts.processCode)&&(r+=" "+("/*# sourceURL="+s+" */")+" ")),typeof e.schema=="boolean"||!(o||e.schema.$ref)){var i="false schema",p=e.level,u=e.dataLevel,h=e.schema[i],c=e.schemaPath+e.util.getProperty(i),m=e.errSchemaPath+"/"+i,O=!e.opts.allErrors,R,g="data"+(u||""),P="valid"+p;if(e.schema===!1){e.isTop?O=!0:r+=" var "+P+" = false; ";var y=y||[];y.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(R||"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: "+g+" "),r+=" } "):r+=" {} ";var S=r;r=y.pop(),!e.compositeRule&&O?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?n?r+=" return data; ":r+=" validate.errors = null; return true; ":r+=" var "+P+" = true; ";return e.isTop&&(r+=" }; return validate; "),r}if(e.isTop){var C=e.isTop,p=e.level=0,u=e.dataLevel=0,g="data";if(e.rootId=e.resolve.fullPath(e.self._getId(e.root.schema)),e.baseId=e.baseId||e.rootId,delete e.isTop,e.dataPathArr=[""],e.schema.default!==void 0&&e.opts.useDefaults&&e.opts.strictDefaults){var 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,u=e.dataLevel,g="data"+(u||"");if(s&&(e.baseId=e.resolve.url(e.baseId,s)),n&&!e.async)throw new Error("async schema in sync schema");r+=" var errs_"+p+" = errors;"}var P="valid"+p,O=!e.opts.allErrors,A="",q="",R,F=e.schema.type,D=Array.isArray(F);if(F&&e.opts.nullable&&e.schema.nullable===!0&&(D?F.indexOf("null")==-1&&(F=F.concat("null")):F!="null"&&(F=[F,"null"],D=!0)),D&&F.length==1&&(F=F[0],D=!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")),F){if(e.opts.coerceTypes)var L=e.util.coerceToTypes(e.opts.coerceTypes,F);var j=e.RULES.types[F];if(L||D||j===!0||j&&!Ee(j)){var c=e.schemaPath+".type",m=e.errSchemaPath+"/type",c=e.schemaPath+".type",m=e.errSchemaPath+"/type",E=D?"checkDataTypes":"checkDataType";if(r+=" if ("+e.util[E](F,g,e.opts.strictNumbers,!0)+") { ",L){var $="dataType"+p,_="coerced"+p;r+=" var "+$+" = typeof "+g+"; var "+_+" = undefined; ",e.opts.coerceTypes=="array"&&(r+=" if ("+$+" == 'object' && Array.isArray("+g+") && "+g+".length == 1) { "+g+" = "+g+"[0]; "+$+" = typeof "+g+"; if ("+e.util.checkDataType(e.schema.type,g,e.opts.strictNumbers)+") "+_+" = "+g+"; } "),r+=" if ("+_+" !== undefined) ; ";var ae=L;if(ae)for(var G,Q=-1,U=ae.length-1;Q<U;)G=ae[Q+=1],G=="string"?r+=" else if ("+$+" == 'number' || "+$+" == 'boolean') "+_+" = '' + "+g+"; else if ("+g+" === null) "+_+" = ''; ":G=="number"||G=="integer"?(r+=" else if ("+$+" == 'boolean' || "+g+" === null || ("+$+" == 'string' && "+g+" && "+g+" == +"+g+" ",G=="integer"&&(r+=" && !("+g+" % 1)"),r+=")) "+_+" = +"+g+"; "):G=="boolean"?r+=" else if ("+g+" === 'false' || "+g+" === 0 || "+g+" === null) "+_+" = false; else if ("+g+" === 'true' || "+g+" === 1) "+_+" = true; ":G=="null"?r+=" else if ("+g+" === '' || "+g+" === 0 || "+g+" === false) "+_+" = null; ":e.opts.coerceTypes=="array"&&G=="array"&&(r+=" else if ("+$+" == 'string' || "+$+" == 'number' || "+$+" == 'boolean' || "+g+" == null) "+_+" = ["+g+"]; ");r+=" else { ";var y=y||[];y.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(R||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { type: '",D?r+=""+F.join(","):r+=""+F,r+="' } ",e.opts.messages!==!1&&(r+=" , message: 'should be ",D?r+=""+F.join(","):r+=""+F,r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+c+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+g+" "),r+=" } "):r+=" {} ";var S=r;r=y.pop(),!e.compositeRule&&O?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 ("+_+" !== undefined) { ";var B=u?"data"+(u-1||""):"parentData",ge=u?e.dataPathArr[u]:"parentDataProperty";r+=" "+g+" = "+_+"; ",u||(r+="if ("+B+" !== undefined)"),r+=" "+B+"["+ge+"] = "+_+"; } "}else{var y=y||[];y.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(R||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { type: '",D?r+=""+F.join(","):r+=""+F,r+="' } ",e.opts.messages!==!1&&(r+=" , message: 'should be ",D?r+=""+F.join(","):r+=""+F,r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+c+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+g+" "),r+=" } "):r+=" {} ";var S=r;r=y.pop(),!e.compositeRule&&O?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")+" ",O&&(r+=" } if (errors === ",C?r+="0":r+="errs_"+p,r+=") { ",q+="}");else{var $e=e.RULES;if($e){for(var j,ke=-1,K=$e.length-1;ke<K;)if(j=$e[ke+=1],Ee(j)){if(j.type&&(r+=" if ("+e.util.checkDataType(j.type,g,e.opts.strictNumbers)+") { "),e.opts.useDefaults){if(j.type=="object"&&e.schema.properties){var h=e.schema.properties,we=Object.keys(h),Fe=we;if(Fe)for(var je,$t=-1,gt=Fe.length-1;$t<gt;){je=Fe[$t+=1];var Ie=h[je];if(Ie.default!==void 0){var be=g+e.util.getProperty(je);if(e.compositeRule){if(e.opts.strictDefaults){var w="default is ignored for: "+be;if(e.opts.strictDefaults==="log")e.logger.warn(w);else throw new Error(w)}}else r+=" if ("+be+" === undefined ",e.opts.useDefaults=="empty"&&(r+=" || "+be+" === null || "+be+" === '' "),r+=" ) "+be+" = ",e.opts.useDefaults=="shared"?r+=" "+e.useDefault(Ie.default)+" ":r+=" "+JSON.stringify(Ie.default)+" ",r+="; "}}}else if(j.type=="array"&&Array.isArray(e.schema.items)){var Ht=e.schema.items;if(Ht){for(var Ie,Q=-1,De=Ht.length-1;Q<De;)if(Ie=Ht[Q+=1],Ie.default!==void 0){var be=g+"["+Q+"]";if(e.compositeRule){if(e.opts.strictDefaults){var w="default is ignored for: "+be;if(e.opts.strictDefaults==="log")e.logger.warn(w);else throw new Error(w)}}else r+=" if ("+be+" === undefined ",e.opts.useDefaults=="empty"&&(r+=" || "+be+" === null || "+be+" === '' "),r+=" ) "+be+" = ",e.opts.useDefaults=="shared"?r+=" "+e.useDefault(Ie.default)+" ":r+=" "+JSON.stringify(Ie.default)+" ",r+="; "}}}}var ee=j.rules;if(ee){for(var Dt,bt=-1,Qt=ee.length-1;bt<Qt;)if(Dt=ee[bt+=1],Ge(Dt)){var Zt=Dt.code(e,Dt.keyword,j.type);Zt&&(r+=" "+Zt+" ",O&&(A+="}"))}}if(O&&(r+=" "+A+" ",A=""),j.type&&(r+=" } ",F&&F===j.type&&!L)){r+=" else { ";var c=e.schemaPath+".type",m=e.errSchemaPath+"/type",y=y||[];y.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(R||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { type: '",D?r+=""+F.join(","):r+=""+F,r+="' } ",e.opts.messages!==!1&&(r+=" , message: 'should be ",D?r+=""+F.join(","):r+=""+F,r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+c+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+g+" "),r+=" } "):r+=" {} ";var S=r;r=y.pop(),!e.compositeRule&&O?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+=" } "}O&&(r+=" if (errors === ",C?r+="0":r+="errs_"+p,r+=") { ",q+="}")}}}O&&(r+=" "+q+" "),C?(n?(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 Ee(Ne){for(var pt=Ne.rules,Me=0;Me<pt.length;Me++)if(Ge(pt[Me]))return!0}function Ge(Ne){return e.schema[Ne.keyword]!==void 0||Ne.implements&&qe(Ne)}function qe(Ne){for(var pt=Ne.implements,Me=0;Me<pt.length;Me++)if(e.schema[pt[Me]]!==void 0)return!0}return r}});var Ws=W((pb,Bs)=>{"use strict";var Ci=xi(),Pi=er(),_s=Ti(),qp=ka(),qs=ja(),_p=Pi.ucs2length,Mp=yi(),Bp=_s.Validation;Bs.exports=Na;function Na(t,e,i,a){var r=this,n=this._opts,o=[void 0],s={},l=[],d={},p=[],u={},h=[];e=e||{schema:t,refVal:o,refs:s};var c=Wp.call(this,t,e,a),m=this._compilations[c.index];if(c.compiling)return m.callValidate=w;var g=this._formats,y=this.RULES;try{var S=P(t,e,i,a);m.validate=S;var C=m.callValidate;return C&&(C.schema=S.schema,C.errors=null,C.refs=S.refs,C.refVal=S.refVal,C.root=S.root,C.$async=S.$async,n.sourceCode&&(C.source=S.source)),S}finally{Vp.call(this,t,e,a)}function w(){var E=m.validate,$=E.apply(this,arguments);return w.errors=E.errors,$}function P(E,$,_,ae){var G=!$||$&&$.schema==E;if($.schema!=e.schema)return Na.call(r,E,$,_,ae);var Q=E.$async===!0,U=qs({isTop:!0,schema:E,isRoot:G,baseId:ae,root:$,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:_s.MissingRef,RULES:y,validate:qs,util:Pi,resolve:Ci,resolveRef:O,usePattern:D,useDefault:L,useCustomRule:j,opts:n,formats:g,logger:r.logger,self:r});U=Fi(o,Gp)+Fi(l,zp)+Fi(p,Up)+Fi(h,Hp)+U,n.processCode&&(U=n.processCode(U,E));var B;try{var ge=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",U);B=ge(r,y,g,e,o,p,h,Mp,_p,Bp),o[0]=B}catch($e){throw r.logger.error("Error compiling schema, function code:",U),$e}return B.schema=E,B.errors=null,B.refs=s,B.refVal=o,B.root=G?B:$,Q&&(B.$async=!0),n.sourceCode===!0&&(B.source={code:U,patterns:l,defaults:p}),B}function O(E,$,_){$=Ci.url(E,$);var ae=s[$],G,Q;if(ae!==void 0)return G=o[ae],Q="refVal["+ae+"]",F(G,Q);if(!_&&e.refs){var U=e.refs[$];if(U!==void 0)return G=e.refVal[U],Q=A($,G),F(G,Q)}Q=A($);var B=Ci.call(r,P,e,$);if(B===void 0){var ge=i&&i[$];ge&&(B=Ci.inlineRef(ge,n.inlineRefs)?ge:Na.call(r,ge,e,i,E))}if(B===void 0)q($);else return R($,B),F(B,Q)}function A(E,$){var _=o.length;return o[_]=$,s[E]=_,"refVal"+_}function q(E){delete s[E]}function R(E,$){var _=s[E];o[_]=$}function F(E,$){return typeof E=="object"||typeof E=="boolean"?{code:$,schema:E,inline:!0}:{code:$,$async:E&&!!E.$async}}function D(E){var $=d[E];return $===void 0&&($=d[E]=l.length,l[$]=E),"pattern"+$}function L(E){switch(typeof E){case"boolean":case"number":return""+E;case"string":return Pi.toQuotedString(E);case"object":if(E===null)return"null";var $=qp(E),_=u[$];return _===void 0&&(_=u[$]=p.length,p[_]=E),"default"+_}}function j(E,$,_,ae){if(r._opts.validateSchema!==!1){var G=E.definition.dependencies;if(G&&!G.every(function(Fe){return Object.prototype.hasOwnProperty.call(_,Fe)}))throw new Error("parent schema must have all required keywords: "+G.join(","));var Q=E.definition.validateSchema;if(Q){var U=Q($);if(!U){var B="keyword schema is invalid: "+r.errorsText(Q.errors);if(r._opts.validateSchema=="log")r.logger.error(B);else throw new Error(B)}}}var ge=E.definition.compile,$e=E.definition.inline,ke=E.definition.macro,K;if(ge)K=ge.call(r,$,_,ae);else if(ke)K=ke.call(r,$,_,ae),n.validateSchema!==!1&&r.validateSchema(K,!0);else if($e)K=$e.call(r,ae,E.keyword,$,_);else if(K=E.definition.validate,!K)return;if(K===void 0)throw new Error('custom keyword "'+E.keyword+'"failed to compile');var we=h.length;return h[we]=K,{code:"customRule"+we,validate:K}}}function Wp(t,e,i){var a=Ms.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 Vp(t,e,i){var a=Ms.call(this,t,e,i);a>=0&&this._compilations.splice(a,1)}function Ms(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 zp(t,e){return"var pattern"+t+" = new RegExp("+Pi.toQuotedString(e[t])+");"}function Up(t){return"var default"+t+" = defaults["+t+"];"}function Gp(t,e){return e[t]===void 0?"":"var refVal"+t+" = refVal["+t+"];"}function Hp(t){return"var customRule"+t+" = customRules["+t+"];"}function Fi(t,e){if(!t.length)return"";for(var i="",a=0;a<t.length;a++)i+=e(a,t);return i}});var zs=W((ub,Vs)=>{"use strict";var Oi=Vs.exports=function(){this._cache={}};Oi.prototype.put=function(e,i){this._cache[e]=i};Oi.prototype.get=function(e){return this._cache[e]};Oi.prototype.del=function(e){delete this._cache[e]};Oi.prototype.clear=function(){this._cache={}}});var ro=W((hb,to)=>{"use strict";var Qp=er(),Zp=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,Jp=[0,31,28,31,30,31,30,31,31,30,31,30,31],Yp=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i,Us=/^(?=.{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,Kp=/^(?:[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,Xp=/^(?:[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,Gs=/^(?:(?:[^\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,Hs=/^(?:(?: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,Qs=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,Zs=/^(?:\/(?:[^~/]|~0|~1)*)*$/,Js=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,Ys=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;to.exports=Ei;function Ei(t){return t=t=="full"?"full":"fast",Qp.copy(Ei[t])}Ei.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":Gs,url:Hs,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:Us,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:eo,uuid:Qs,"json-pointer":Zs,"json-pointer-uri-fragment":Js,"relative-json-pointer":Ys};Ei.full={date:Ks,time:Xs,"date-time":ru,uri:au,"uri-reference":Xp,"uri-template":Gs,url:Hs,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:Us,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:eo,uuid:Qs,"json-pointer":Zs,"json-pointer-uri-fragment":Js,"relative-json-pointer":Ys};function eu(t){return t%4===0&&(t%100!==0||t%400===0)}function Ks(t){var e=t.match(Zp);if(!e)return!1;var i=+e[1],a=+e[2],r=+e[3];return a>=1&&a<=12&&r>=1&&r<=(a==2&&eu(i)?29:Jp[a])}function Xs(t,e){var i=t.match(Yp);if(!i)return!1;var a=i[1],r=i[2],n=i[3],o=i[5];return(a<=23&&r<=59&&n<=59||a==23&&r==59&&n==60)&&(!e||o)}var tu=/t|\s/i;function ru(t){var e=t.split(tu);return e.length==2&&Ks(e[0])&&Xs(e[1],!0)}var iu=/\/|:/;function au(t){return iu.test(t)&&Kp.test(t)}var nu=/[^\\]\\Z/;function eo(t){if(nu.test(t))return!1;try{return new RegExp(t),!0}catch{return!1}}});var ao=W((fb,io)=>{"use strict";io.exports=function(e,i,a){var r=" ",n=e.level,o=e.dataLevel,s=e.schema[i],l=e.errSchemaPath+"/"+i,d=!e.opts.allErrors,p="data"+(o||""),u="valid"+n,h,c;if(s=="#"||s=="#/")e.isRoot?(h=e.async,c="validate"):(h=e.root.schema.$async===!0,c="root.refVal[0]");else{var m=e.resolveRef(e.baseId,s,e.isRoot);if(m===void 0){var g=e.MissingRefError.message(e.baseId,s);if(e.opts.missingRefs=="fail"){e.logger.error(g);var y=y||[];y.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '$ref' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { ref: '"+e.util.escapeQuotes(s)+"' } ",e.opts.messages!==!1&&(r+=" , message: 'can\\'t resolve reference "+e.util.escapeQuotes(s)+"' "),e.opts.verbose&&(r+=" , schema: "+e.util.toQuotedString(s)+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),r+=" } "):r+=" {} ";var S=r;r=y.pop(),!e.compositeRule&&d?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++; ",d&&(r+=" if (false) { ")}else if(e.opts.missingRefs=="ignore")e.logger.warn(g),d&&(r+=" if (true) { ");else throw new e.MissingRefError(e.baseId,s,g)}else if(m.inline){var C=e.util.copy(e);C.level++;var w="valid"+C.level;C.schema=m.schema,C.schemaPath="",C.errSchemaPath=s;var P=e.validate(C).replace(/validate\.schema/g,m.code);r+=" "+P+" ",d&&(r+=" if ("+w+") { ")}else h=m.$async===!0||e.async&&m.$async!==!1,c=m.code}if(c){var y=y||[];y.push(r),r="",e.opts.passContext?r+=" "+c+".call(this, ":r+=" "+c+"( ",r+=" "+p+", (dataPath || '')",e.errorPath!='""'&&(r+=" + "+e.errorPath);var O=o?"data"+(o-1||""):"parentData",A=o?e.dataPathArr[o]:"parentDataProperty";r+=" , "+O+" , "+A+", rootData) ";var q=r;if(r=y.pop(),h){if(!e.async)throw new Error("async schema referenced by sync schema");d&&(r+=" var "+u+"; "),r+=" try { await "+q+"; ",d&&(r+=" "+u+" = 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; ",d&&(r+=" "+u+" = false; "),r+=" } ",d&&(r+=" if ("+u+") { ")}else r+=" if (!"+q+") { if (vErrors === null) vErrors = "+c+".errors; else vErrors = vErrors.concat("+c+".errors); errors = vErrors.length; } ",d&&(r+=" else { ")}return r}});var so=W((mb,no)=>{"use strict";no.exports=function(e,i,a){var r=" ",n=e.schema[i],o=e.schemaPath+e.util.getProperty(i),s=e.errSchemaPath+"/"+i,l=!e.opts.allErrors,d=e.util.copy(e),p="";d.level++;var u="valid"+d.level,h=d.baseId,c=!0,m=n;if(m)for(var g,y=-1,S=m.length-1;y<S;)g=m[y+=1],(e.opts.strictKeywords?typeof g=="object"&&Object.keys(g).length>0||g===!1:e.util.schemaHasRules(g,e.RULES.all))&&(c=!1,d.schema=g,d.schemaPath=o+"["+y+"]",d.errSchemaPath=s+"/"+y,r+=" "+e.validate(d)+" ",d.baseId=h,l&&(r+=" if ("+u+") { ",p+="}"));return l&&(c?r+=" if (true) { ":r+=" "+p.slice(0,-1)+" "),r}});var lo=W((yb,oo)=>{"use strict";oo.exports=function(e,i,a){var r=" ",n=e.level,o=e.dataLevel,s=e.schema[i],l=e.schemaPath+e.util.getProperty(i),d=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,u="data"+(o||""),h="valid"+n,c="errs__"+n,m=e.util.copy(e),g="";m.level++;var y="valid"+m.level,S=s.every(function(R){return e.opts.strictKeywords?typeof R=="object"&&Object.keys(R).length>0||R===!1:e.util.schemaHasRules(R,e.RULES.all)});if(S){var C=m.baseId;r+=" var "+c+" = errors; var "+h+" = false; ";var w=e.compositeRule;e.compositeRule=m.compositeRule=!0;var P=s;if(P)for(var O,A=-1,q=P.length-1;A<q;)O=P[A+=1],m.schema=O,m.schemaPath=l+"["+A+"]",m.errSchemaPath=d+"/"+A,r+=" "+e.validate(m)+" ",m.baseId=C,r+=" "+h+" = "+h+" || "+y+"; if (!"+h+") { ",g+="}";e.compositeRule=m.compositeRule=w,r+=" "+g+" if (!"+h+") { var err = ",e.createErrors!==!1?(r+=" { keyword: 'anyOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: {} ",e.opts.messages!==!1&&(r+=" , message: 'should match some schema in anyOf' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),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 = "+c+"; if (vErrors !== null) { if ("+c+") vErrors.length = "+c+"; else vErrors = null; } ",e.opts.allErrors&&(r+=" } ")}else p&&(r+=" if (true) { ");return r}});var po=W((gb,co)=>{"use strict";co.exports=function(e,i,a){var r=" ",n=e.schema[i],o=e.errSchemaPath+"/"+i,s=!e.opts.allErrors,l=e.util.toQuotedString(n);return e.opts.$comment===!0?r+=" console.log("+l+");":typeof e.opts.$comment=="function"&&(r+=" self._opts.$comment("+l+", "+e.util.toQuotedString(o)+", validate.root.schema);"),r}});var ho=W((bb,uo)=>{"use strict";uo.exports=function(e,i,a){var r=" ",n=e.level,o=e.dataLevel,s=e.schema[i],l=e.schemaPath+e.util.getProperty(i),d=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,u="data"+(o||""),h="valid"+n,c=e.opts.$data&&s&&s.$data,m;c?(r+=" var schema"+n+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",m="schema"+n):m=s,c||(r+=" var schema"+n+" = validate.schema"+l+";"),r+="var "+h+" = equal("+u+", schema"+n+"); if (!"+h+") { ";var g=g||[];g.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'const' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: { allowedValue: schema"+n+" } ",e.opts.messages!==!1&&(r+=" , message: 'should be equal to constant' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ";var y=r;return r=g.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 mo=W((vb,fo)=>{"use strict";fo.exports=function(e,i,a){var r=" ",n=e.level,o=e.dataLevel,s=e.schema[i],l=e.schemaPath+e.util.getProperty(i),d=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,u="data"+(o||""),h="valid"+n,c="errs__"+n,m=e.util.copy(e),g="";m.level++;var y="valid"+m.level,S="i"+n,C=m.dataLevel=e.dataLevel+1,w="data"+C,P=e.baseId,O=e.opts.strictKeywords?typeof s=="object"&&Object.keys(s).length>0||s===!1:e.util.schemaHasRules(s,e.RULES.all);if(r+="var "+c+" = errors;var "+h+";",O){var A=e.compositeRule;e.compositeRule=m.compositeRule=!0,m.schema=s,m.schemaPath=l,m.errSchemaPath=d,r+=" var "+y+" = false; for (var "+S+" = 0; "+S+" < "+u+".length; "+S+"++) { ",m.errorPath=e.util.getPathExpr(e.errorPath,S,e.opts.jsonPointers,!0);var q=u+"["+S+"]";m.dataPathArr[C]=S;var R=e.validate(m);m.baseId=P,e.util.varOccurences(R,w)<2?r+=" "+e.util.varReplace(R,w,q)+" ":r+=" var "+w+" = "+q+"; "+R+" ",r+=" if ("+y+") break; } ",e.compositeRule=m.compositeRule=A,r+=" "+g+" if (!"+y+") {"}else r+=" if ("+u+".length == 0) {";var F=F||[];F.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'contains' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: {} ",e.opts.messages!==!1&&(r+=" , message: 'should contain a valid item' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ";var D=r;return r=F.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+D+"]); ":r+=" validate.errors = ["+D+"]; return false; ":r+=" var err = "+D+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else { ",O&&(r+=" errors = "+c+"; if (vErrors !== null) { if ("+c+") vErrors.length = "+c+"; else vErrors = null; } "),e.opts.allErrors&&(r+=" } "),r}});var go=W((Sb,yo)=>{"use strict";yo.exports=function(e,i,a){var r=" ",n=e.level,o=e.dataLevel,s=e.schema[i],l=e.schemaPath+e.util.getProperty(i),d=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,u="data"+(o||""),h="errs__"+n,c=e.util.copy(e),m="";c.level++;var g="valid"+c.level,y={},S={},C=e.opts.ownProperties;for(A in s)if(A!="__proto__"){var w=s[A],P=Array.isArray(w)?S:y;P[A]=w}r+="var "+h+" = errors;";var O=e.errorPath;r+="var missing"+n+";";for(var A in S)if(P=S[A],P.length){if(r+=" if ( "+u+e.util.getProperty(A)+" !== undefined ",C&&(r+=" && Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(A)+"') "),p){r+=" && ( ";var q=P;if(q)for(var R,F=-1,D=q.length-1;F<D;){R=q[F+=1],F&&(r+=" || ");var L=e.util.getProperty(R),j=u+L;r+=" ( ( "+j+" === undefined ",C&&(r+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(R)+"') "),r+=") && (missing"+n+" = "+e.util.toQuotedString(e.opts.jsonPointers?R:L)+") ) "}r+=")) { ";var E="missing"+n,$="' + "+E+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(O,E,!0):O+" + "+E);var _=_||[];_.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: { property: '"+e.util.escapeQuotes(A)+"', missingProperty: '"+$+"', depsCount: "+P.length+", deps: '"+e.util.escapeQuotes(P.length==1?P[0]:P.join(", "))+"' } ",e.opts.messages!==!1&&(r+=" , message: 'should have ",P.length==1?r+="property "+e.util.escapeQuotes(P[0]):r+="properties "+e.util.escapeQuotes(P.join(", ")),r+=" when property "+e.util.escapeQuotes(A)+" is present' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ";var ae=r;r=_.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+ae+"]); ":r+=" validate.errors = ["+ae+"]; return false; ":r+=" var err = "+ae+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else{r+=" ) { ";var G=P;if(G)for(var R,Q=-1,U=G.length-1;Q<U;){R=G[Q+=1];var L=e.util.getProperty(R),$=e.util.escapeQuotes(R),j=u+L;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(O,R,e.opts.jsonPointers)),r+=" if ( "+j+" === undefined ",C&&(r+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(R)+"') "),r+=") { var err = ",e.createErrors!==!1?(r+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: { property: '"+e.util.escapeQuotes(A)+"', missingProperty: '"+$+"', depsCount: "+P.length+", deps: '"+e.util.escapeQuotes(P.length==1?P[0]:P.join(", "))+"' } ",e.opts.messages!==!1&&(r+=" , message: 'should have ",P.length==1?r+="property "+e.util.escapeQuotes(P[0]):r+="properties "+e.util.escapeQuotes(P.join(", ")),r+=" when property "+e.util.escapeQuotes(A)+" is present' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}r+=" } ",p&&(m+="}",r+=" else { ")}e.errorPath=O;var B=c.baseId;for(var A in y){var w=y[A];(e.opts.strictKeywords?typeof w=="object"&&Object.keys(w).length>0||w===!1:e.util.schemaHasRules(w,e.RULES.all))&&(r+=" "+g+" = true; if ( "+u+e.util.getProperty(A)+" !== undefined ",C&&(r+=" && Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(A)+"') "),r+=") { ",c.schema=w,c.schemaPath=l+e.util.getProperty(A),c.errSchemaPath=d+"/"+e.util.escapeFragment(A),r+=" "+e.validate(c)+" ",c.baseId=B,r+=" } ",p&&(r+=" if ("+g+") { ",m+="}"))}return p&&(r+=" "+m+" if ("+h+" == errors) {"),r}});var vo=W((wb,bo)=>{"use strict";bo.exports=function(e,i,a){var r=" ",n=e.level,o=e.dataLevel,s=e.schema[i],l=e.schemaPath+e.util.getProperty(i),d=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,u="data"+(o||""),h="valid"+n,c=e.opts.$data&&s&&s.$data,m;c?(r+=" var schema"+n+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",m="schema"+n):m=s;var g="i"+n,y="schema"+n;c||(r+=" var "+y+" = validate.schema"+l+";"),r+="var "+h+";",c&&(r+=" if (schema"+n+" === undefined) "+h+" = true; else if (!Array.isArray(schema"+n+")) "+h+" = false; else {"),r+=""+h+" = false;for (var "+g+"=0; "+g+"<"+y+".length; "+g+"++) if (equal("+u+", "+y+"["+g+"])) { "+h+" = true; break; }",c&&(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(d)+" , params: { allowedValues: schema"+n+" } ",e.opts.messages!==!1&&(r+=" , message: 'should be equal to one of the allowed values' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ";var C=r;return r=S.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+C+"]); ":r+=" validate.errors = ["+C+"]; return false; ":r+=" var err = "+C+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" }",p&&(r+=" else { "),r}});var wo=W((Ib,So)=>{"use strict";So.exports=function(e,i,a){var r=" ",n=e.level,o=e.dataLevel,s=e.schema[i],l=e.schemaPath+e.util.getProperty(i),d=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,u="data"+(o||"");if(e.opts.format===!1)return p&&(r+=" if (true) { "),r;var h=e.opts.$data&&s&&s.$data,c;h?(r+=" var schema"+n+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",c="schema"+n):c=s;var m=e.opts.unknownFormats,g=Array.isArray(m);if(h){var y="format"+n,S="isObject"+n,C="formatType"+n;r+=" var "+y+" = formats["+c+"]; var "+S+" = typeof "+y+" == 'object' && !("+y+" instanceof RegExp) && "+y+".validate; var "+C+" = "+S+" && "+y+".type || 'string'; if ("+S+") { ",e.async&&(r+=" var async"+n+" = "+y+".async; "),r+=" "+y+" = "+y+".validate; } if ( ",h&&(r+=" ("+c+" !== undefined && typeof "+c+" != 'string') || "),r+=" (",m!="ignore"&&(r+=" ("+c+" && !"+y+" ",g&&(r+=" && self._opts.unknownFormats.indexOf("+c+") == -1 "),r+=") || "),r+=" ("+y+" && "+C+" == '"+a+"' && !(typeof "+y+" == 'function' ? ",e.async?r+=" (async"+n+" ? await "+y+"("+u+") : "+y+"("+u+")) ":r+=" "+y+"("+u+") ",r+=" : "+y+".test("+u+"))))) {"}else{var y=e.formats[s];if(!y){if(m=="ignore")return e.logger.warn('unknown format "'+s+'" ignored in schema at path "'+e.errSchemaPath+'"'),p&&(r+=" if (true) { "),r;if(g&&m.indexOf(s)>=0)return p&&(r+=" if (true) { "),r;throw new Error('unknown format "'+s+'" is used in schema at path "'+e.errSchemaPath+'"')}var S=typeof y=="object"&&!(y instanceof RegExp)&&y.validate,C=S&&y.type||"string";if(S){var w=y.async===!0;y=y.validate}if(C!=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(s)+".validate";r+=" if (!(await "+P+"("+u+"))) { "}else{r+=" if (! ";var P="formats"+e.util.getProperty(s);S&&(P+=".validate"),typeof y=="function"?r+=" "+P+"("+u+") ":r+=" "+P+".test("+u+") ",r+=") { "}}var O=O||[];O.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'format' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: { format: ",h?r+=""+c:r+=""+e.util.toQuotedString(s),r+=" } ",e.opts.messages!==!1&&(r+=` , message: 'should match format "`,h?r+="' + "+c+" + '":r+=""+e.util.escapeQuotes(s),r+=`"' `),e.opts.verbose&&(r+=" , schema: ",h?r+="validate.schema"+l:r+=""+e.util.toQuotedString(s),r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ";var A=r;return r=O.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+A+"]); ":r+=" validate.errors = ["+A+"]; return false; ":r+=" var err = "+A+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",p&&(r+=" else { "),r}});var xo=W((xb,Io)=>{"use strict";Io.exports=function(e,i,a){var r=" ",n=e.level,o=e.dataLevel,s=e.schema[i],l=e.schemaPath+e.util.getProperty(i),d=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,u="data"+(o||""),h="valid"+n,c="errs__"+n,m=e.util.copy(e);m.level++;var g="valid"+m.level,y=e.schema.then,S=e.schema.else,C=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(C||w){var O;m.createErrors=!1,m.schema=s,m.schemaPath=l,m.errSchemaPath=d,r+=" var "+c+" = errors; var "+h+" = true; ";var A=e.compositeRule;e.compositeRule=m.compositeRule=!0,r+=" "+e.validate(m)+" ",m.baseId=P,m.createErrors=!0,r+=" errors = "+c+"; if (vErrors !== null) { if ("+c+") vErrors.length = "+c+"; else vErrors = null; } ",e.compositeRule=m.compositeRule=A,C?(r+=" if ("+g+") { ",m.schema=e.schema.then,m.schemaPath=e.schemaPath+".then",m.errSchemaPath=e.errSchemaPath+"/then",r+=" "+e.validate(m)+" ",m.baseId=P,r+=" "+h+" = "+g+"; ",C&&w?(O="ifClause"+n,r+=" var "+O+" = 'then'; "):O="'then'",r+=" } ",w&&(r+=" else { ")):r+=" if (!"+g+") { ",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+" = "+g+"; ",C&&w?(O="ifClause"+n,r+=" var "+O+" = 'else'; "):O="'else'",r+=" } "),r+=" if (!"+h+") { var err = ",e.createErrors!==!1?(r+=" { keyword: 'if' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: { failingKeyword: "+O+" } ",e.opts.messages!==!1&&(r+=` , message: 'should match "' + `+O+` + '" schema' `),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),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 Co=W((Tb,To)=>{"use strict";To.exports=function(e,i,a){var r=" ",n=e.level,o=e.dataLevel,s=e.schema[i],l=e.schemaPath+e.util.getProperty(i),d=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,u="data"+(o||""),h="valid"+n,c="errs__"+n,m=e.util.copy(e),g="";m.level++;var y="valid"+m.level,S="i"+n,C=m.dataLevel=e.dataLevel+1,w="data"+C,P=e.baseId;if(r+="var "+c+" = errors;var "+h+";",Array.isArray(s)){var O=e.schema.additionalItems;if(O===!1){r+=" "+h+" = "+u+".length <= "+s.length+"; ";var A=d;d=e.errSchemaPath+"/additionalItems",r+=" if (!"+h+") { ";var q=q||[];q.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: { limit: "+s.length+" } ",e.opts.messages!==!1&&(r+=" , message: 'should NOT have more than "+s.length+" items' "),e.opts.verbose&&(r+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ";var R=r;r=q.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+=" } ",d=A,p&&(g+="}",r+=" else { ")}var F=s;if(F){for(var D,L=-1,j=F.length-1;L<j;)if(D=F[L+=1],e.opts.strictKeywords?typeof D=="object"&&Object.keys(D).length>0||D===!1:e.util.schemaHasRules(D,e.RULES.all)){r+=" "+y+" = true; if ("+u+".length > "+L+") { ";var E=u+"["+L+"]";m.schema=D,m.schemaPath=l+"["+L+"]",m.errSchemaPath=d+"/"+L,m.errorPath=e.util.getPathExpr(e.errorPath,L,e.opts.jsonPointers,!0),m.dataPathArr[C]=L;var $=e.validate(m);m.baseId=P,e.util.varOccurences($,w)<2?r+=" "+e.util.varReplace($,w,E)+" ":r+=" var "+w+" = "+E+"; "+$+" ",r+=" } ",p&&(r+=" if ("+y+") { ",g+="}")}}if(typeof O=="object"&&(e.opts.strictKeywords?typeof O=="object"&&Object.keys(O).length>0||O===!1:e.util.schemaHasRules(O,e.RULES.all))){m.schema=O,m.schemaPath=e.schemaPath+".additionalItems",m.errSchemaPath=e.errSchemaPath+"/additionalItems",r+=" "+y+" = true; if ("+u+".length > "+s.length+") { for (var "+S+" = "+s.length+"; "+S+" < "+u+".length; "+S+"++) { ",m.errorPath=e.util.getPathExpr(e.errorPath,S,e.opts.jsonPointers,!0);var E=u+"["+S+"]";m.dataPathArr[C]=S;var $=e.validate(m);m.baseId=P,e.util.varOccurences($,w)<2?r+=" "+e.util.varReplace($,w,E)+" ":r+=" var "+w+" = "+E+"; "+$+" ",p&&(r+=" if (!"+y+") break; "),r+=" } } ",p&&(r+=" if ("+y+") { ",g+="}")}}else if(e.opts.strictKeywords?typeof s=="object"&&Object.keys(s).length>0||s===!1:e.util.schemaHasRules(s,e.RULES.all)){m.schema=s,m.schemaPath=l,m.errSchemaPath=d,r+=" for (var "+S+" = 0; "+S+" < "+u+".length; "+S+"++) { ",m.errorPath=e.util.getPathExpr(e.errorPath,S,e.opts.jsonPointers,!0);var E=u+"["+S+"]";m.dataPathArr[C]=S;var $=e.validate(m);m.baseId=P,e.util.varOccurences($,w)<2?r+=" "+e.util.varReplace($,w,E)+" ":r+=" var "+w+" = "+E+"; "+$+" ",p&&(r+=" if (!"+y+") break; "),r+=" }"}return p&&(r+=" "+g+" if ("+c+" == errors) {"),r}});var qa=W((Cb,Fo)=>{"use strict";Fo.exports=function(e,i,a){var r=" ",n=e.level,o=e.dataLevel,s=e.schema[i],l=e.schemaPath+e.util.getProperty(i),d=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,P,u="data"+(o||""),h=e.opts.$data&&s&&s.$data,c;h?(r+=" var schema"+n+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",c="schema"+n):c=s;var m=i=="maximum",g=m?"exclusiveMaximum":"exclusiveMinimum",y=e.schema[g],S=e.opts.$data&&y&&y.$data,C=m?"<":">",w=m?">":"<",P=void 0;if(!(h||typeof s=="number"||s===void 0))throw new Error(i+" must be number");if(!(S||y===void 0||typeof y=="number"||typeof y=="boolean"))throw new Error(g+" must be number or boolean");if(S){var O=e.util.getData(y.$data,o,e.dataPathArr),A="exclusive"+n,q="exclType"+n,R="exclIsNumber"+n,F="op"+n,D="' + "+F+" + '";r+=" var schemaExcl"+n+" = "+O+"; ",O="schemaExcl"+n,r+=" var "+A+"; var "+q+" = typeof "+O+"; if ("+q+" != 'boolean' && "+q+" != 'undefined' && "+q+" != 'number') { ";var P=g,L=L||[];L.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(P||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: {} ",e.opts.messages!==!1&&(r+=" , message: '"+g+" should be boolean' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ";var j=r;r=L.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+j+"]); ":r+=" validate.errors = ["+j+"]; return false; ":r+=" var err = "+j+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else if ( ",h&&(r+=" ("+c+" !== undefined && typeof "+c+" != 'number') || "),r+=" "+q+" == 'number' ? ( ("+A+" = "+c+" === undefined || "+O+" "+C+"= "+c+") ? "+u+" "+w+"= "+O+" : "+u+" "+w+" "+c+" ) : ( ("+A+" = "+O+" === true) ? "+u+" "+w+"= "+c+" : "+u+" "+w+" "+c+" ) || "+u+" !== "+u+") { var op"+n+" = "+A+" ? '"+C+"' : '"+C+"='; ",s===void 0&&(P=g,d=e.errSchemaPath+"/"+g,c=O,h=S)}else{var R=typeof y=="number",D=C;if(R&&h){var F="'"+D+"'";r+=" if ( ",h&&(r+=" ("+c+" !== undefined && typeof "+c+" != 'number') || "),r+=" ( "+c+" === undefined || "+y+" "+C+"= "+c+" ? "+u+" "+w+"= "+y+" : "+u+" "+w+" "+c+" ) || "+u+" !== "+u+") { "}else{R&&s===void 0?(A=!0,P=g,d=e.errSchemaPath+"/"+g,c=y,w+="="):(R&&(c=Math[m?"min":"max"](y,s)),y===(R?c:!0)?(A=!0,P=g,d=e.errSchemaPath+"/"+g,w+="="):(A=!1,D+="="));var F="'"+D+"'";r+=" if ( ",h&&(r+=" ("+c+" !== undefined && typeof "+c+" != 'number') || "),r+=" "+u+" "+w+" "+c+" || "+u+" !== "+u+") { "}}P=P||i;var L=L||[];L.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(P||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: { comparison: "+F+", limit: "+c+", exclusive: "+A+" } ",e.opts.messages!==!1&&(r+=" , message: 'should be "+D+" ",h?r+="' + "+c:r+=""+c+"'"),e.opts.verbose&&(r+=" , schema: ",h?r+="validate.schema"+l:r+=""+s,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ";var j=r;return r=L.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+j+"]); ":r+=" validate.errors = ["+j+"]; return false; ":r+=" var err = "+j+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",p&&(r+=" else { "),r}});var _a=W((Fb,Po)=>{"use strict";Po.exports=function(e,i,a){var r=" ",n=e.level,o=e.dataLevel,s=e.schema[i],l=e.schemaPath+e.util.getProperty(i),d=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,g,u="data"+(o||""),h=e.opts.$data&&s&&s.$data,c;if(h?(r+=" var schema"+n+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",c="schema"+n):c=s,!(h||typeof s=="number"))throw new Error(i+" must be number");var m=i=="maxItems"?">":"<";r+="if ( ",h&&(r+=" ("+c+" !== undefined && typeof "+c+" != 'number') || "),r+=" "+u+".length "+m+" "+c+") { ";var g=i,y=y||[];y.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(g||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: { limit: "+c+" } ",e.opts.messages!==!1&&(r+=" , message: 'should NOT have ",i=="maxItems"?r+="more":r+="fewer",r+=" than ",h?r+="' + "+c+" + '":r+=""+s,r+=" items' "),e.opts.verbose&&(r+=" , schema: ",h?r+="validate.schema"+l:r+=""+s,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),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 Ma=W((Pb,Oo)=>{"use strict";Oo.exports=function(e,i,a){var r=" ",n=e.level,o=e.dataLevel,s=e.schema[i],l=e.schemaPath+e.util.getProperty(i),d=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,g,u="data"+(o||""),h=e.opts.$data&&s&&s.$data,c;if(h?(r+=" var schema"+n+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",c="schema"+n):c=s,!(h||typeof s=="number"))throw new Error(i+" must be number");var m=i=="maxLength"?">":"<";r+="if ( ",h&&(r+=" ("+c+" !== undefined && typeof "+c+" != 'number') || "),e.opts.unicode===!1?r+=" "+u+".length ":r+=" ucs2length("+u+") ",r+=" "+m+" "+c+") { ";var g=i,y=y||[];y.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(g||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: { limit: "+c+" } ",e.opts.messages!==!1&&(r+=" , message: 'should NOT be ",i=="maxLength"?r+="longer":r+="shorter",r+=" than ",h?r+="' + "+c+" + '":r+=""+s,r+=" characters' "),e.opts.verbose&&(r+=" , schema: ",h?r+="validate.schema"+l:r+=""+s,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),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 Ba=W((Ob,Eo)=>{"use strict";Eo.exports=function(e,i,a){var r=" ",n=e.level,o=e.dataLevel,s=e.schema[i],l=e.schemaPath+e.util.getProperty(i),d=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,g,u="data"+(o||""),h=e.opts.$data&&s&&s.$data,c;if(h?(r+=" var schema"+n+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",c="schema"+n):c=s,!(h||typeof s=="number"))throw new Error(i+" must be number");var m=i=="maxProperties"?">":"<";r+="if ( ",h&&(r+=" ("+c+" !== undefined && typeof "+c+" != 'number') || "),r+=" Object.keys("+u+").length "+m+" "+c+") { ";var g=i,y=y||[];y.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(g||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: { limit: "+c+" } ",e.opts.messages!==!1&&(r+=" , message: 'should NOT have ",i=="maxProperties"?r+="more":r+="fewer",r+=" than ",h?r+="' + "+c+" + '":r+=""+s,r+=" properties' "),e.opts.verbose&&(r+=" , schema: ",h?r+="validate.schema"+l:r+=""+s,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),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 $o=W((Eb,Ao)=>{"use strict";Ao.exports=function(e,i,a){var r=" ",n=e.level,o=e.dataLevel,s=e.schema[i],l=e.schemaPath+e.util.getProperty(i),d=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,u="data"+(o||""),h=e.opts.$data&&s&&s.$data,c;if(h?(r+=" var schema"+n+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",c="schema"+n):c=s,!(h||typeof s=="number"))throw new Error(i+" must be number");r+="var division"+n+";if (",h&&(r+=" "+c+" !== undefined && ( typeof "+c+" != 'number' || "),r+=" (division"+n+" = "+u+" / "+c+", ",e.opts.multipleOfPrecision?r+=" Math.abs(Math.round(division"+n+") - division"+n+") > 1e-"+e.opts.multipleOfPrecision+" ":r+=" division"+n+" !== parseInt(division"+n+") ",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(d)+" , params: { multipleOf: "+c+" } ",e.opts.messages!==!1&&(r+=" , message: 'should be multiple of ",h?r+="' + "+c:r+=""+c+"'"),e.opts.verbose&&(r+=" , schema: ",h?r+="validate.schema"+l:r+=""+s,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ";var g=r;return r=m.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+g+"]); ":r+=" validate.errors = ["+g+"]; return false; ":r+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",p&&(r+=" else { "),r}});var Lo=W((Ab,Do)=>{"use strict";Do.exports=function(e,i,a){var r=" ",n=e.level,o=e.dataLevel,s=e.schema[i],l=e.schemaPath+e.util.getProperty(i),d=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,u="data"+(o||""),h="errs__"+n,c=e.util.copy(e);c.level++;var m="valid"+c.level;if(e.opts.strictKeywords?typeof s=="object"&&Object.keys(s).length>0||s===!1:e.util.schemaHasRules(s,e.RULES.all)){c.schema=s,c.schemaPath=l,c.errSchemaPath=d,r+=" var "+h+" = errors; ";var g=e.compositeRule;e.compositeRule=c.compositeRule=!0,c.createErrors=!1;var y;c.opts.allErrors&&(y=c.opts.allErrors,c.opts.allErrors=!1),r+=" "+e.validate(c)+" ",c.createErrors=!0,y&&(c.opts.allErrors=y),e.compositeRule=c.compositeRule=g,r+=" if ("+m+") { ";var S=S||[];S.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: {} ",e.opts.messages!==!1&&(r+=" , message: 'should NOT be valid' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ";var C=r;r=S.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+C+"]); ":r+=" validate.errors = ["+C+"]; return false; ":r+=" var err = "+C+"; 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(d)+" , params: {} ",e.opts.messages!==!1&&(r+=" , message: 'should NOT be valid' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",p&&(r+=" if (false) { ");return r}});var ko=W(($b,Ro)=>{"use strict";Ro.exports=function(e,i,a){var r=" ",n=e.level,o=e.dataLevel,s=e.schema[i],l=e.schemaPath+e.util.getProperty(i),d=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,u="data"+(o||""),h="valid"+n,c="errs__"+n,m=e.util.copy(e),g="";m.level++;var y="valid"+m.level,S=m.baseId,C="prevValid"+n,w="passingSchemas"+n;r+="var "+c+" = errors , "+C+" = false , "+h+" = false , "+w+" = null; ";var P=e.compositeRule;e.compositeRule=m.compositeRule=!0;var O=s;if(O)for(var A,q=-1,R=O.length-1;q<R;)A=O[q+=1],(e.opts.strictKeywords?typeof A=="object"&&Object.keys(A).length>0||A===!1:e.util.schemaHasRules(A,e.RULES.all))?(m.schema=A,m.schemaPath=l+"["+q+"]",m.errSchemaPath=d+"/"+q,r+=" "+e.validate(m)+" ",m.baseId=S):r+=" var "+y+" = true; ",q&&(r+=" if ("+y+" && "+C+") { "+h+" = false; "+w+" = ["+w+", "+q+"]; } else { ",g+="}"),r+=" if ("+y+") { "+h+" = "+C+" = true; "+w+" = "+q+"; }";return e.compositeRule=m.compositeRule=P,r+=""+g+"if (!"+h+") { var err = ",e.createErrors!==!1?(r+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: { passingSchemas: "+w+" } ",e.opts.messages!==!1&&(r+=" , message: 'should match exactly one schema in oneOf' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),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 = "+c+"; if (vErrors !== null) { if ("+c+") vErrors.length = "+c+"; else vErrors = null; }",e.opts.allErrors&&(r+=" } "),r}});var No=W((Db,jo)=>{"use strict";jo.exports=function(e,i,a){var r=" ",n=e.level,o=e.dataLevel,s=e.schema[i],l=e.schemaPath+e.util.getProperty(i),d=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,u="data"+(o||""),h=e.opts.$data&&s&&s.$data,c;h?(r+=" var schema"+n+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",c="schema"+n):c=s;var m=h?"(new RegExp("+c+"))":e.usePattern(s);r+="if ( ",h&&(r+=" ("+c+" !== undefined && typeof "+c+" != 'string') || "),r+=" !"+m+".test("+u+") ) { ";var g=g||[];g.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'pattern' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: { pattern: ",h?r+=""+c:r+=""+e.util.toQuotedString(s),r+=" } ",e.opts.messages!==!1&&(r+=` , message: 'should match pattern "`,h?r+="' + "+c+" + '":r+=""+e.util.escapeQuotes(s),r+=`"' `),e.opts.verbose&&(r+=" , schema: ",h?r+="validate.schema"+l:r+=""+e.util.toQuotedString(s),r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ";var y=r;return r=g.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 _o=W((Lb,qo)=>{"use strict";qo.exports=function(e,i,a){var r=" ",n=e.level,o=e.dataLevel,s=e.schema[i],l=e.schemaPath+e.util.getProperty(i),d=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,u="data"+(o||""),h="errs__"+n,c=e.util.copy(e),m="";c.level++;var g="valid"+c.level,y="key"+n,S="idx"+n,C=c.dataLevel=e.dataLevel+1,w="data"+C,P="dataProperties"+n,O=Object.keys(s||{}).filter(Q),A=e.schema.patternProperties||{},q=Object.keys(A).filter(Q),R=e.schema.additionalProperties,F=O.length||q.length,D=R===!1,L=typeof R=="object"&&Object.keys(R).length,j=e.opts.removeAdditional,E=D||L||j,$=e.opts.ownProperties,_=e.baseId,ae=e.schema.required;if(ae&&!(e.opts.$data&&ae.$data)&&ae.length<e.opts.loopRequired)var G=e.util.toHash(ae);function Q(et){return et!=="__proto__"}if(r+="var "+h+" = errors;var "+g+" = true;",$&&(r+=" var "+P+" = undefined;"),E){if($?r+=" "+P+" = "+P+" || Object.keys("+u+"); for (var "+S+"=0; "+S+"<"+P+".length; "+S+"++) { var "+y+" = "+P+"["+S+"]; ":r+=" for (var "+y+" in "+u+") { ",F){if(r+=" var isAdditional"+n+" = !(false ",O.length)if(O.length>8)r+=" || validate.schema"+l+".hasOwnProperty("+y+") ";else{var U=O;if(U)for(var B,ge=-1,$e=U.length-1;ge<$e;)B=U[ge+=1],r+=" || "+y+" == "+e.util.toQuotedString(B)+" "}if(q.length){var ke=q;if(ke)for(var K,we=-1,Fe=ke.length-1;we<Fe;)K=ke[we+=1],r+=" || "+e.usePattern(K)+".test("+y+") "}r+=" ); if (isAdditional"+n+") { "}if(j=="all")r+=" delete "+u+"["+y+"]; ";else{var je=e.errorPath,$t="' + "+y+" + '";if(e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(e.errorPath,y,e.opts.jsonPointers)),D)if(j)r+=" delete "+u+"["+y+"]; ";else{r+=" "+g+" = false; ";var gt=d;d=e.errSchemaPath+"/additionalProperties";var Ie=Ie||[];Ie.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'additionalProperties' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: { additionalProperty: '"+$t+"' } ",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: "+u+" "),r+=" } "):r+=" {} ";var be=r;r=Ie.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+be+"]); ":r+=" validate.errors = ["+be+"]; return false; ":r+=" var err = "+be+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",d=gt,p&&(r+=" break; ")}else if(L)if(j=="failing"){r+=" var "+h+" = errors; ";var Ht=e.compositeRule;e.compositeRule=c.compositeRule=!0,c.schema=R,c.schemaPath=e.schemaPath+".additionalProperties",c.errSchemaPath=e.errSchemaPath+"/additionalProperties",c.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,y,e.opts.jsonPointers);var De=u+"["+y+"]";c.dataPathArr[C]=y;var ee=e.validate(c);c.baseId=_,e.util.varOccurences(ee,w)<2?r+=" "+e.util.varReplace(ee,w,De)+" ":r+=" var "+w+" = "+De+"; "+ee+" ",r+=" if (!"+g+") { errors = "+h+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+u+"["+y+"]; } ",e.compositeRule=c.compositeRule=Ht}else{c.schema=R,c.schemaPath=e.schemaPath+".additionalProperties",c.errSchemaPath=e.errSchemaPath+"/additionalProperties",c.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,y,e.opts.jsonPointers);var De=u+"["+y+"]";c.dataPathArr[C]=y;var ee=e.validate(c);c.baseId=_,e.util.varOccurences(ee,w)<2?r+=" "+e.util.varReplace(ee,w,De)+" ":r+=" var "+w+" = "+De+"; "+ee+" ",p&&(r+=" if (!"+g+") break; ")}e.errorPath=je}F&&(r+=" } "),r+=" } ",p&&(r+=" if ("+g+") { ",m+="}")}var Dt=e.opts.useDefaults&&!e.compositeRule;if(O.length){var bt=O;if(bt)for(var B,Qt=-1,Zt=bt.length-1;Qt<Zt;){B=bt[Qt+=1];var Ee=s[B];if(e.opts.strictKeywords?typeof Ee=="object"&&Object.keys(Ee).length>0||Ee===!1:e.util.schemaHasRules(Ee,e.RULES.all)){var Ge=e.util.getProperty(B),De=u+Ge,qe=Dt&&Ee.default!==void 0;c.schema=Ee,c.schemaPath=l+Ge,c.errSchemaPath=d+"/"+e.util.escapeFragment(B),c.errorPath=e.util.getPath(e.errorPath,B,e.opts.jsonPointers),c.dataPathArr[C]=e.util.toQuotedString(B);var ee=e.validate(c);if(c.baseId=_,e.util.varOccurences(ee,w)<2){ee=e.util.varReplace(ee,w,De);var Ne=De}else{var Ne=w;r+=" var "+w+" = "+De+"; "}if(qe)r+=" "+ee+" ";else{if(G&&G[B]){r+=" if ( "+Ne+" === undefined ",$&&(r+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(B)+"') "),r+=") { "+g+" = false; ";var je=e.errorPath,gt=d,pt=e.util.escapeQuotes(B);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(je,B,e.opts.jsonPointers)),d=e.errSchemaPath+"/required";var Ie=Ie||[];Ie.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: { missingProperty: '"+pt+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+pt+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ";var be=r;r=Ie.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+be+"]); ":r+=" validate.errors = ["+be+"]; return false; ":r+=" var err = "+be+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",d=gt,e.errorPath=je,r+=" } else { "}else p?(r+=" if ( "+Ne+" === undefined ",$&&(r+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(B)+"') "),r+=") { "+g+" = true; } else { "):(r+=" if ("+Ne+" !== undefined ",$&&(r+=" && Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(B)+"') "),r+=" ) { ");r+=" "+ee+" } "}}p&&(r+=" if ("+g+") { ",m+="}")}}if(q.length){var Me=q;if(Me)for(var K,li=-1,ha=Me.length-1;li<ha;){K=Me[li+=1];var Ee=A[K];if(e.opts.strictKeywords?typeof Ee=="object"&&Object.keys(Ee).length>0||Ee===!1:e.util.schemaHasRules(Ee,e.RULES.all)){c.schema=Ee,c.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(K),c.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(K),$?r+=" "+P+" = "+P+" || Object.keys("+u+"); for (var "+S+"=0; "+S+"<"+P+".length; "+S+"++) { var "+y+" = "+P+"["+S+"]; ":r+=" for (var "+y+" in "+u+") { ",r+=" if ("+e.usePattern(K)+".test("+y+")) { ",c.errorPath=e.util.getPathExpr(e.errorPath,y,e.opts.jsonPointers);var De=u+"["+y+"]";c.dataPathArr[C]=y;var ee=e.validate(c);c.baseId=_,e.util.varOccurences(ee,w)<2?r+=" "+e.util.varReplace(ee,w,De)+" ":r+=" var "+w+" = "+De+"; "+ee+" ",p&&(r+=" if (!"+g+") break; "),r+=" } ",p&&(r+=" else "+g+" = true; "),r+=" } ",p&&(r+=" if ("+g+") { ",m+="}")}}}return p&&(r+=" "+m+" if ("+h+" == errors) {"),r}});var Bo=W((Rb,Mo)=>{"use strict";Mo.exports=function(e,i,a){var r=" ",n=e.level,o=e.dataLevel,s=e.schema[i],l=e.schemaPath+e.util.getProperty(i),d=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,u="data"+(o||""),h="errs__"+n,c=e.util.copy(e),m="";c.level++;var g="valid"+c.level;if(r+="var "+h+" = errors;",e.opts.strictKeywords?typeof s=="object"&&Object.keys(s).length>0||s===!1:e.util.schemaHasRules(s,e.RULES.all)){c.schema=s,c.schemaPath=l,c.errSchemaPath=d;var y="key"+n,S="idx"+n,C="i"+n,w="' + "+y+" + '",P=c.dataLevel=e.dataLevel+1,O="data"+P,A="dataProperties"+n,q=e.opts.ownProperties,R=e.baseId;q&&(r+=" var "+A+" = undefined; "),q?r+=" "+A+" = "+A+" || Object.keys("+u+"); for (var "+S+"=0; "+S+"<"+A+".length; "+S+"++) { var "+y+" = "+A+"["+S+"]; ":r+=" for (var "+y+" in "+u+") { ",r+=" var startErrs"+n+" = errors; ";var F=y,D=e.compositeRule;e.compositeRule=c.compositeRule=!0;var L=e.validate(c);c.baseId=R,e.util.varOccurences(L,O)<2?r+=" "+e.util.varReplace(L,O,F)+" ":r+=" var "+O+" = "+F+"; "+L+" ",e.compositeRule=c.compositeRule=D,r+=" if (!"+g+") { for (var "+C+"=startErrs"+n+"; "+C+"<errors; "+C+"++) { vErrors["+C+"].propertyName = "+y+"; } var err = ",e.createErrors!==!1?(r+=" { keyword: 'propertyNames' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: { propertyName: '"+w+"' } ",e.opts.messages!==!1&&(r+=" , message: 'property name \\'"+w+"\\' is invalid' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),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 Vo=W((kb,Wo)=>{"use strict";Wo.exports=function(e,i,a){var r=" ",n=e.level,o=e.dataLevel,s=e.schema[i],l=e.schemaPath+e.util.getProperty(i),d=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,u="data"+(o||""),h="valid"+n,c=e.opts.$data&&s&&s.$data,m;c?(r+=" var schema"+n+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",m="schema"+n):m=s;var g="schema"+n;if(!c)if(s.length<e.opts.loopRequired&&e.schema.properties&&Object.keys(e.schema.properties).length){var y=[],S=s;if(S)for(var C,w=-1,P=S.length-1;w<P;){C=S[w+=1];var O=e.schema.properties[C];O&&(e.opts.strictKeywords?typeof O=="object"&&Object.keys(O).length>0||O===!1:e.util.schemaHasRules(O,e.RULES.all))||(y[y.length]=C)}}else var y=s;if(c||y.length){var A=e.errorPath,q=c||y.length>=e.opts.loopRequired,R=e.opts.ownProperties;if(p)if(r+=" var missing"+n+"; ",q){c||(r+=" var "+g+" = validate.schema"+l+"; ");var F="i"+n,D="schema"+n+"["+F+"]",L="' + "+D+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(A,D,e.opts.jsonPointers)),r+=" var "+h+" = true; ",c&&(r+=" if (schema"+n+" === undefined) "+h+" = true; else if (!Array.isArray(schema"+n+")) "+h+" = false; else {"),r+=" for (var "+F+" = 0; "+F+" < "+g+".length; "+F+"++) { "+h+" = "+u+"["+g+"["+F+"]] !== undefined ",R&&(r+=" && Object.prototype.hasOwnProperty.call("+u+", "+g+"["+F+"]) "),r+="; if (!"+h+") break; } ",c&&(r+=" } "),r+=" if (!"+h+") { ";var j=j||[];j.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: { missingProperty: '"+L+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+L+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ";var E=r;r=j.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+E+"]); ":r+=" validate.errors = ["+E+"]; return false; ":r+=" var err = "+E+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else { "}else{r+=" if ( ";var $=y;if($)for(var _,F=-1,ae=$.length-1;F<ae;){_=$[F+=1],F&&(r+=" || ");var G=e.util.getProperty(_),Q=u+G;r+=" ( ( "+Q+" === undefined ",R&&(r+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(_)+"') "),r+=") && (missing"+n+" = "+e.util.toQuotedString(e.opts.jsonPointers?_:G)+") ) "}r+=") { ";var D="missing"+n,L="' + "+D+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(A,D,!0):A+" + "+D);var j=j||[];j.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: { missingProperty: '"+L+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+L+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ";var E=r;r=j.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+E+"]); ":r+=" validate.errors = ["+E+"]; return false; ":r+=" var err = "+E+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else { "}else if(q){c||(r+=" var "+g+" = validate.schema"+l+"; ");var F="i"+n,D="schema"+n+"["+F+"]",L="' + "+D+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(A,D,e.opts.jsonPointers)),c&&(r+=" if ("+g+" && !Array.isArray("+g+")) { var err = ",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: { missingProperty: '"+L+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+L+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if ("+g+" !== undefined) { "),r+=" for (var "+F+" = 0; "+F+" < "+g+".length; "+F+"++) { if ("+u+"["+g+"["+F+"]] === undefined ",R&&(r+=" || ! Object.prototype.hasOwnProperty.call("+u+", "+g+"["+F+"]) "),r+=") { var err = ",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: { missingProperty: '"+L+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+L+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ",c&&(r+=" } ")}else{var U=y;if(U)for(var _,B=-1,ge=U.length-1;B<ge;){_=U[B+=1];var G=e.util.getProperty(_),L=e.util.escapeQuotes(_),Q=u+G;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(A,_,e.opts.jsonPointers)),r+=" if ( "+Q+" === undefined ",R&&(r+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(_)+"') "),r+=") { var err = ",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: { missingProperty: '"+L+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+L+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}e.errorPath=A}else p&&(r+=" if (true) {");return r}});var Uo=W((jb,zo)=>{"use strict";zo.exports=function(e,i,a){var r=" ",n=e.level,o=e.dataLevel,s=e.schema[i],l=e.schemaPath+e.util.getProperty(i),d=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,u="data"+(o||""),h="valid"+n,c=e.opts.$data&&s&&s.$data,m;if(c?(r+=" var schema"+n+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",m="schema"+n):m=s,(s||c)&&e.opts.uniqueItems!==!1){c&&(r+=" var "+h+"; if ("+m+" === false || "+m+" === undefined) "+h+" = true; else if (typeof "+m+" != 'boolean') "+h+" = false; else { "),r+=" var i = "+u+".length , "+h+" = true , j; if (i > 1) { ";var g=e.schema.items&&e.schema.items.type,y=Array.isArray(g);if(!g||g=="object"||g=="array"||y&&(g.indexOf("object")>=0||g.indexOf("array")>=0))r+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+u+"[i], "+u+"[j])) { "+h+" = false; break outer; } } } ";else{r+=" var itemIndices = {}, item; for (;i--;) { var item = "+u+"[i]; ";var S="checkDataType"+(y?"s":"");r+=" if ("+e.util[S](g,"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+=" } ",c&&(r+=" } "),r+=" if (!"+h+") { ";var C=C||[];C.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , 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: ",c?r+="validate.schema"+l:r+=""+s,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),r+=" } "):r+=" {} ";var w=r;r=C.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 Ho=W((Nb,Go)=>{"use strict";Go.exports={$ref:ao(),allOf:so(),anyOf:lo(),$comment:po(),const:ho(),contains:mo(),dependencies:go(),enum:vo(),format:wo(),if:xo(),items:Co(),maximum:qa(),minimum:qa(),maxItems:_a(),minItems:_a(),maxLength:Ma(),minLength:Ma(),maxProperties:Ba(),minProperties:Ba(),multipleOf:$o(),not:Lo(),oneOf:ko(),pattern:No(),properties:_o(),propertyNames:Bo(),required:Vo(),uniqueItems:Uo(),validate:ja()}});var Jo=W((qb,Zo)=>{"use strict";var Qo=Ho(),Wa=er().toHash;Zo.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=Wa(i),e.types=Wa(r),e.forEach(function(n){n.rules=n.rules.map(function(o){var s;if(typeof o=="object"){var l=Object.keys(o)[0];s=o[l],o=l,s.forEach(function(p){i.push(p),e.all[p]=!0})}i.push(o);var d=e.all[o]={keyword:o,code:Qo[o],implements:s};return d}),e.all.$comment={keyword:"$comment",code:Qo.$comment},n.type&&(e.types[n.type]=n)}),e.keywords=Wa(i.concat(a)),e.custom={},e}});var Xo=W((_b,Ko)=>{"use strict";var Yo=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];Ko.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,n;for(n=1;n<a.length;n++)r=r[a[n]];for(n=0;n<Yo.length;n++){var o=Yo[n],s=r[o];s&&(r[o]={anyOf:[s,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]})}}return t}});var rl=W((Mb,tl)=>{"use strict";var su=Ti().MissingRef;tl.exports=el;function el(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=n(t).then(function(){var s=a._addSchema(t,void 0,e);return s.validate||o(s)});return i&&r.then(function(s){i(null,s)},i),r;function n(s){var l=s.$schema;return l&&!a.getSchema(l)?el.call(a,{$ref:l},!0):Promise.resolve()}function o(s){try{return a._compile(s)}catch(d){if(d instanceof su)return l(d);throw d}function l(d){var p=d.missingSchema;if(c(p))throw new Error("Schema "+p+" is loaded but "+d.missingRef+" cannot be resolved");var u=a._loadingSchemas[p];return u||(u=a._loadingSchemas[p]=a._opts.loadSchema(p),u.then(h,h)),u.then(function(m){if(!c(p))return n(m).then(function(){c(p)||a.addSchema(m,p,void 0,e)})}).then(function(){return o(s)});function h(){delete a._loadingSchemas[p]}function c(m){return a._refs[m]||a._schemas[m]}}}}});var al=W((Bb,il)=>{"use strict";il.exports=function(e,i,a){var r=" ",n=e.level,o=e.dataLevel,s=e.schema[i],l=e.schemaPath+e.util.getProperty(i),d=e.errSchemaPath+"/"+i,p=!e.opts.allErrors,u,h="data"+(o||""),c="valid"+n,m="errs__"+n,g=e.opts.$data&&s&&s.$data,y;g?(r+=" var schema"+n+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",y="schema"+n):y=s;var S=this,C="definition"+n,w=S.definition,P="",O,A,q,R,F;if(g&&w.$data){F="keywordValidate"+n;var D=w.validateSchema;r+=" var "+C+" = RULES.custom['"+i+"'].definition; var "+F+" = "+C+".validate;"}else{if(R=e.useCustomRule(S,s,e.schema,e),!R)return;y="validate.schema"+l,F=R.code,O=w.compile,A=w.inline,q=w.macro}var L=F+".errors",j="i"+n,E="ruleErr"+n,$=w.async;if($&&!e.async)throw new Error("async keyword in sync schema");if(A||q||(r+=""+L+" = null;"),r+="var "+m+" = errors;var "+c+";",g&&w.$data&&(P+="}",r+=" if ("+y+" === undefined) { "+c+" = true; } else { ",D&&(P+="}",r+=" "+c+" = "+C+".validateSchema("+y+"); if ("+c+") { ")),A)w.statements?r+=" "+R.validate+" ":r+=" "+c+" = "+R.validate+"; ";else if(q){var _=e.util.copy(e),P="";_.level++;var ae="valid"+_.level;_.schema=R.validate,_.schemaPath="";var G=e.compositeRule;e.compositeRule=_.compositeRule=!0;var Q=e.validate(_).replace(/validate\.schema/g,F);e.compositeRule=_.compositeRule=G,r+=" "+Q}else{var U=U||[];U.push(r),r="",r+=" "+F+".call( ",e.opts.passContext?r+="this":r+="self",O||w.schema===!1?r+=" , "+h+" ":r+=" , "+y+" , "+h+" , validate.schema"+e.schemaPath+" ",r+=" , (dataPath || '')",e.errorPath!='""'&&(r+=" + "+e.errorPath);var B=o?"data"+(o-1||""):"parentData",ge=o?e.dataPathArr[o]:"parentDataProperty";r+=" , "+B+" , "+ge+" , rootData ) ";var $e=r;r=U.pop(),w.errors===!1?(r+=" "+c+" = ",$&&(r+="await "),r+=""+$e+"; "):$?(L="customErrors"+n,r+=" var "+L+" = null; try { "+c+" = await "+$e+"; } catch (e) { "+c+" = false; if (e instanceof ValidationError) "+L+" = e.errors; else throw e; } "):r+=" "+L+" = null; "+c+" = "+$e+"; "}if(w.modifying&&(r+=" if ("+B+") "+h+" = "+B+"["+ge+"];"),r+=""+P,w.valid)p&&(r+=" if (true) { ");else{r+=" if ( ",w.valid===void 0?(r+=" !",q?r+=""+ae:r+=""+c):r+=" "+!w.valid+" ",r+=") { ",u=S.keyword;var U=U||[];U.push(r),r="";var U=U||[];U.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(u||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: { keyword: '"+S.keyword+"' } ",e.opts.messages!==!1&&(r+=` , message: 'should pass "`+S.keyword+`" keyword validation' `),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+h+" "),r+=" } "):r+=" {} ";var ke=r;r=U.pop(),!e.compositeRule&&p?e.async?r+=" throw new ValidationError(["+ke+"]); ":r+=" validate.errors = ["+ke+"]; return false; ":r+=" var err = "+ke+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";var K=r;r=U.pop(),A?w.errors?w.errors!="full"&&(r+=" for (var "+j+"="+m+"; "+j+"<errors; "+j+"++) { var "+E+" = vErrors["+j+"]; if ("+E+".dataPath === undefined) "+E+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+E+".schemaPath === undefined) { "+E+'.schemaPath = "'+d+'"; } ',e.opts.verbose&&(r+=" "+E+".schema = "+y+"; "+E+".data = "+h+"; "),r+=" } "):w.errors===!1?r+=" "+K+" ":(r+=" if ("+m+" == errors) { "+K+" } else { for (var "+j+"="+m+"; "+j+"<errors; "+j+"++) { var "+E+" = vErrors["+j+"]; if ("+E+".dataPath === undefined) "+E+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+E+".schemaPath === undefined) { "+E+'.schemaPath = "'+d+'"; } ',e.opts.verbose&&(r+=" "+E+".schema = "+y+"; "+E+".data = "+h+"; "),r+=" } } "):q?(r+=" var err = ",e.createErrors!==!1?(r+=" { keyword: '"+(u||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: { keyword: '"+S.keyword+"' } ",e.opts.messages!==!1&&(r+=` , message: 'should pass "`+S.keyword+`" keyword validation' `),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+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+=" "+K+" ":(r+=" if (Array.isArray("+L+")) { if (vErrors === null) vErrors = "+L+"; else vErrors = vErrors.concat("+L+"); errors = vErrors.length; for (var "+j+"="+m+"; "+j+"<errors; "+j+"++) { var "+E+" = vErrors["+j+"]; if ("+E+".dataPath === undefined) "+E+".dataPath = (dataPath || '') + "+e.errorPath+"; "+E+'.schemaPath = "'+d+'"; ',e.opts.verbose&&(r+=" "+E+".schema = "+y+"; "+E+".data = "+h+"; "),r+=" } } else { "+K+" } "),r+=" } ",p&&(r+=" else { ")}return r}});var Va=W((Wb,ou)=>{ou.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 ol=W((Vb,sl)=>{"use strict";var nl=Va();sl.exports={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:nl.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:nl.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 dl=W((zb,ll)=>{"use strict";var lu=/^[a-z_$][a-z0-9_$-]*$/i,du=al(),cu=ol();ll.exports={add:pu,get:uu,remove:hu,validate:za};function pu(t,e){var i=this.RULES;if(i.keywords[t])throw new Error("Keyword "+t+" is already defined");if(!lu.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 n=e.metaSchema;n&&(e.$data&&this._opts.$data&&(n={anyOf:[n,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]}),e.validateSchema=this.compile(n,!0))}i.keywords[t]=i.all[t]=!0;function o(s,l,d){for(var p,u=0;u<i.length;u++){var h=i[u];if(h.type==l){p=h;break}}p||(p={type:l,rules:[]},i.push(p));var c={keyword:s,definition:d,custom:!0,code:du,implements:d.implements};p.rules.push(c),i.custom[s]=c}return this}function uu(t){var e=this.RULES.custom[t];return e?e.definition:this.RULES.keywords[t]||!1}function hu(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 za(t,e){za.errors=null;var i=this._validateKeyword=this._validateKeyword||this.compile(cu,!0);if(i(t))return!0;if(za.errors=i.errors,e)throw new Error("custom keyword definition is invalid: "+this.errorsText(i.errors));return!1}});var cl=W((Ub,fu)=>{fu.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 Sl=W((Gb,vl)=>{"use strict";var ul=Ws(),tr=xi(),mu=zs(),hl=Ea(),yu=ka(),gu=ro(),bu=Jo(),fl=Xo(),ml=er();vl.exports=Se;Se.prototype.validate=Su;Se.prototype.compile=wu;Se.prototype.addSchema=Iu;Se.prototype.addMetaSchema=xu;Se.prototype.validateSchema=Tu;Se.prototype.getSchema=Fu;Se.prototype.removeSchema=Ou;Se.prototype.addFormat=ju;Se.prototype.errorsText=ku;Se.prototype._addSchema=Eu;Se.prototype._compile=Au;Se.prototype.compileAsync=rl();var Di=dl();Se.prototype.addKeyword=Di.add;Se.prototype.getKeyword=Di.get;Se.prototype.removeKeyword=Di.remove;Se.prototype.validateKeyword=Di.validate;var yl=Ti();Se.ValidationError=yl.Validation;Se.MissingRefError=yl.MissingRef;Se.$dataMetaSchema=fl;var $i="http://json-schema.org/draft-07/schema",pl=["removeAdditional","useDefaults","coerceTypes","strictDefaults"],vu=["/properties"];function Se(t){if(!(this instanceof Se))return new Se(t);t=this._opts=ml.copy(t)||{},Wu(this),this._schemas={},this._refs={},this._fragments={},this._formats=gu(t.format),this._cache=t.cache||new mu,this._loadingSchemas={},this._compilations=[],this.RULES=bu(),this._getId=$u(t),t.loopRequired=t.loopRequired||1/0,t.errorDataPath=="property"&&(t._errorDataPathProperty=!0),t.serialize===void 0&&(t.serialize=yu),this._metaOpts=Bu(this),t.formats&&_u(this),t.keywords&&Mu(this),Nu(this),typeof t.meta=="object"&&this.addMetaSchema(t.meta),t.nullable&&this.addKeyword("nullable",{metaSchema:{type:"boolean"}}),qu(this)}function Su(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 wu(t,e){var i=this._addSchema(t,void 0,e);return i.validate||this._compile(i)}function Iu(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 n=this._getId(t);if(n!==void 0&&typeof n!="string")throw new Error("schema id must be string");return e=tr.normalizeId(e||n),bl(this,e),this._schemas[e]=this._addSchema(t,i,a,!0),this}function xu(t,e,i){return this.addSchema(t,e,i,!0),this}function Tu(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||Cu(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 Cu(t){var e=t._opts.meta;return t._opts.defaultMeta=typeof e=="object"?t._getId(e)||e:t.getSchema($i)?$i:void 0,t._opts.defaultMeta}function Fu(t){var e=gl(this,t);switch(typeof e){case"object":return e.validate||this._compile(e);case"string":return this.getSchema(e);case"undefined":return Pu(this,t)}}function Pu(t,e){var i=tr.schema.call(t,{schema:{}},e);if(i){var a=i.schema,r=i.root,n=i.baseId,o=ul.call(t,a,r,void 0,n);return t._fragments[e]=new hl({ref:e,fragment:!0,schema:a,root:r,baseId:n,validate:o}),o}}function gl(t,e){return e=tr.normalizeId(e),t._schemas[e]||t._refs[e]||t._fragments[e]}function Ou(t){if(t instanceof RegExp)return Ai(this,this._schemas,t),Ai(this,this._refs,t),this;switch(typeof t){case"undefined":return Ai(this,this._schemas),Ai(this,this._refs),this._cache.clear(),this;case"string":var e=gl(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=tr.normalizeId(r),delete this._schemas[r],delete this._refs[r])}return this}function Ai(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 Eu(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,n=r?r(t):t,o=this._cache.get(n);if(o)return o;a=a||this._opts.addUsedSchema!==!1;var s=tr.normalizeId(this._getId(t));s&&a&&bl(this,s);var l=this._opts.validateSchema!==!1&&!e,d;l&&!(d=s&&s==tr.normalizeId(t.$schema))&&this.validateSchema(t,!0);var p=tr.ids.call(this,t),u=new hl({id:s,schema:t,localRefs:p,cacheKey:n,meta:i});return s[0]!="#"&&a&&(this._refs[s]=u),this._cache.put(n,u),l&&d&&this.validateSchema(t,!0),u}function Au(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=ul.call(this,t.schema,e,t.localRefs)}catch(n){throw delete t.validate,n}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 n=t.validate,o=n.apply(this,arguments);return r.errors=n.errors,o}}function $u(t){switch(t.schemaId){case"auto":return Ru;case"id":return Du;default:return Lu}}function Du(t){return t.$id&&this.logger.warn("schema $id ignored",t.$id),t.id}function Lu(t){return t.id&&this.logger.warn("schema id ignored",t.id),t.$id}function Ru(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 ku(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="",n=0;n<t.length;n++){var o=t[n];o&&(r+=a+o.dataPath+" "+o.message+i)}return r.slice(0,-i.length)}function ju(t,e){return typeof e=="string"&&(e=new RegExp(e)),this._formats[t]=e,this}function Nu(t){var e;if(t._opts.$data&&(e=cl(),t.addMetaSchema(e,e.$id,!0)),t._opts.meta!==!1){var i=Va();t._opts.$data&&(i=fl(i,vu)),t.addMetaSchema(i,$i,!0),t._refs["http://json-schema.org/schema"]=$i}}function qu(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 _u(t){for(var e in t._opts.formats){var i=t._opts.formats[e];t.addFormat(e,i)}}function Mu(t){for(var e in t._opts.keywords){var i=t._opts.keywords[e];t.addKeyword(e,i)}}function bl(t,e){if(t._schemas[e]||t._refs[e])throw new Error('schema with key or id "'+e+'" already exists')}function Bu(t){for(var e=ml.copy(t._opts),i=0;i<pl.length;i++)delete e[pl[i]];return e}function Wu(t){var e=t._opts.logger;if(e===!1)t.logger={log:Ua,warn:Ua,error:Ua};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 Ua(){}});var xl=W((Hb,Ha)=>{function Vu(t,e){var i=e&&e.cache?e.cache:Zu,a=e&&e.serializer?e.serializer:Qu,r=e&&e.strategy?e.strategy:Uu;return r(t,{cache:i,serializer:a})}function zu(t){return t==null||typeof t=="number"||typeof t=="boolean"}function wl(t,e,i,a){var r=zu(a)?a:i(a),n=e.get(r);return typeof n>"u"&&(n=t.call(this,a),e.set(r,n)),n}function Il(t,e,i){var a=Array.prototype.slice.call(arguments,3),r=i(a),n=e.get(r);return typeof n>"u"&&(n=t.apply(this,a),e.set(r,n)),n}function Ga(t,e,i,a,r){return i.bind(e,t,a,r)}function Uu(t,e){var i=t.length===1?wl:Il;return Ga(t,this,i,e.cache.create(),e.serializer)}function Gu(t,e){var i=Il;return Ga(t,this,i,e.cache.create(),e.serializer)}function Hu(t,e){var i=wl;return Ga(t,this,i,e.cache.create(),e.serializer)}function Qu(){return JSON.stringify(arguments)}function Li(){this.cache=Object.create(null)}Li.prototype.has=function(t){return t in this.cache};Li.prototype.get=function(t){return this.cache[t]};Li.prototype.set=function(t,e){this.cache[t]=e};var Zu={create:function(){return new Li}};Ha.exports=Vu;Ha.exports.strategies={variadic:Gu,monadic:Hu}});function hs(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,n=new Array(r);++a<r;)n[a]=t+a*i;return n}function zr(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 n of t)(n=e(n,++r,t))!=null&&(i===void 0?n>=n&&(i=a=n):(i>n&&(i=n),a<n&&(a=n)))}return[i,a]}var fi=class extends Map{constructor(e,i=lp){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(fs(this,e))}has(e){return super.has(fs(this,e))}set(e,i){return super.set(sp(this,e),i)}delete(e){return super.delete(op(this,e))}};function fs({_intern:t,_key:e},i){let a=e(i);return t.has(a)?t.get(a):i}function sp({_intern:t,_key:e},i){let a=e(i);return t.has(a)?t.get(a):(t.set(a,i),i)}function op({_intern:t,_key:e},i){let a=e(i);return t.has(a)&&(i=t.get(a),t.delete(a)),i}function lp(t){return t!==null&&typeof t=="object"?t.valueOf():t}function wa(t){return t}function dp(t,e,...i){return cp(t,wa,e,i)}function cp(t,e,i,a){return function r(n,o){if(o>=a.length)return i(n);let s=new fi,l=a[o++],d=-1;for(let p of n){let u=l(p,++d,n),h=s.get(u);h?h.push(p):s.set(u,[p])}for(let[p,u]of s)s.set(p,r(u,o));return e(s)}(t,0)}function ms(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 ys(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 gs(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 n of t)(n=e(n,++r,t))!=null&&(n=+n)>=n&&(++i,a+=n)}if(i)return a/i}function bs(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 od=ss(Sl(),1);var cd=ss(xl(),1);var Ot="24.4.0",Dn="arcgis_charts_pie_from_fields_name",ud="arcgis_charts_pie_from_fields_value",ih="arcgis_charts_bar_line_from_fields_name",ah="arcgis_charts_bar_line_from_fields_value",Ct={Mean:"Mean",Median:"Median",StdDev:"Standard Deviation",Normal:"Normal Distribution",Trendline:"Trendline"},Ft=class extends Error{},dn=class extends Ft{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}},cn=class extends Ft{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}},pn=class extends Ft{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}},Wt=class extends Ft{},Zi=class extends Ft{constructor(e){super(`Invalid unit ${e}`)}},Pe=class extends Ft{},ft=class extends Ft{constructor(){super("Zone is an abstract class")}},k="numeric",ot="short",Ue="long",Ji={year:k,month:k,day:k},hd={year:k,month:ot,day:k},nh={year:k,month:ot,day:k,weekday:ot},fd={year:k,month:Ue,day:k},md={year:k,month:Ue,day:k,weekday:Ue},yd={hour:k,minute:k},gd={hour:k,minute:k,second:k},bd={hour:k,minute:k,second:k,timeZoneName:ot},vd={hour:k,minute:k,second:k,timeZoneName:Ue},Sd={hour:k,minute:k,hourCycle:"h23"},wd={hour:k,minute:k,second:k,hourCycle:"h23"},Id={hour:k,minute:k,second:k,hourCycle:"h23",timeZoneName:ot},xd={hour:k,minute:k,second:k,hourCycle:"h23",timeZoneName:Ue},Td={year:k,month:k,day:k,hour:k,minute:k},Cd={year:k,month:k,day:k,hour:k,minute:k,second:k},Fd={year:k,month:ot,day:k,hour:k,minute:k},Pd={year:k,month:ot,day:k,hour:k,minute:k,second:k},sh={year:k,month:ot,day:k,weekday:ot,hour:k,minute:k},Od={year:k,month:Ue,day:k,hour:k,minute:k,timeZoneName:ot},Ed={year:k,month:Ue,day:k,hour:k,minute:k,second:k,timeZoneName:ot},Ad={year:k,month:Ue,day:k,weekday:Ue,hour:k,minute:k,timeZoneName:Ue},$d={year:k,month:Ue,day:k,weekday:Ue,hour:k,minute:k,second:k,timeZoneName:Ue},sr=class{get type(){throw new ft}get name(){throw new ft}get ianaName(){return this.name}get isUniversal(){throw new ft}offsetName(e,i){throw new ft}formatOffset(e,i){throw new ft}offset(e){throw new ft}equals(e){throw new ft}get isValid(){throw new ft}},Qa=null,Yi=class t extends sr{static get instance(){return Qa===null&&(Qa=new t),Qa}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:i,locale:a}){return Wd(e,i,a)}formatOffset(e,i){return Jr(this.offset(e),i)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}},un=new Map;function oh(t){let e=un.get(t);return e===void 0&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),un.set(t,e)),e}var lh={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function dh(t,e){let i=t.format(e).replace(/\u200E/g,""),a=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,r,n,o,s,l,d,p]=a;return[o,r,n,s,l,d,p]}function ch(t,e){let i=t.formatToParts(e),a=[];for(let r=0;r<i.length;r++){let{type:n,value:o}=i[r],s=lh[n];n==="era"?a[s]=o:V(s)||(a[s]=parseInt(o,10))}return a}var Za=new Map,zt=class t extends sr{static create(e){let i=Za.get(e);return i===void 0&&Za.set(e,i=new t(e)),i}static resetCache(){Za.clear(),un.clear()}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch{return!1}}constructor(e){super(),this.zoneName=e,this.valid=t.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:i,locale:a}){return Wd(e,i,a,this.name)}formatOffset(e,i){return Jr(this.offset(e),i)}offset(e){if(!this.valid)return NaN;let i=new Date(e);if(isNaN(i))return NaN;let a=oh(this.name),[r,n,o,s,l,d,p]=a.formatToParts?ch(a,i):dh(a,i);s==="BC"&&(r=-Math.abs(r)+1);let u=oa({year:r,month:n,day:o,hour:l===24?0:l,minute:d,second:p,millisecond:0}),h=+i,c=h%1e3;return h-=c>=0?c:1e3+c,(u-h)/(60*1e3)}equals(e){return e.type==="iana"&&e.name===this.name}get isValid(){return this.valid}},Tl={};function ph(t,e={}){let i=JSON.stringify([t,e]),a=Tl[i];return a||(a=new Intl.ListFormat(t,e),Tl[i]=a),a}var hn=new Map;function fn(t,e={}){let i=JSON.stringify([t,e]),a=hn.get(i);return a===void 0&&(a=new Intl.DateTimeFormat(t,e),hn.set(i,a)),a}var mn=new Map;function uh(t,e={}){let i=JSON.stringify([t,e]),a=mn.get(i);return a===void 0&&(a=new Intl.NumberFormat(t,e),mn.set(i,a)),a}var yn=new Map;function hh(t,e={}){let{base:i,...a}=e,r=JSON.stringify([t,a]),n=yn.get(r);return n===void 0&&(n=new Intl.RelativeTimeFormat(t,e),yn.set(r,n)),n}var Vi=null;function fh(){return Vi||(Vi=new Intl.DateTimeFormat().resolvedOptions().locale,Vi)}var gn=new Map;function Dd(t){let e=gn.get(t);return e===void 0&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),gn.set(t,e)),e}var bn=new Map;function mh(t){let e=bn.get(t);if(!e){let i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Ld,...e}),bn.set(t,e)}return e}function yh(t){let e=t.indexOf("-x-");e!==-1&&(t=t.substring(0,e));let i=t.indexOf("-u-");if(i===-1)return[t];{let a,r;try{a=fn(t).resolvedOptions(),r=t}catch{let s=t.substring(0,i);a=fn(s).resolvedOptions(),r=s}let{numberingSystem:n,calendar:o}=a;return[r,n,o]}}function gh(t,e,i){return(i||e)&&(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`)),t}function bh(t){let e=[];for(let i=1;i<=12;i++){let a=ue.utc(2009,i,1);e.push(t(a))}return e}function vh(t){let e=[];for(let i=1;i<=7;i++){let a=ue.utc(2016,11,13+i);e.push(t(a))}return e}function Ri(t,e,i,a){let r=t.listingMode();return r==="error"?null:r==="en"?i(e):a(e)}function Sh(t){return t.numberingSystem&&t.numberingSystem!=="latn"?!1:t.numberingSystem==="latn"||!t.locale||t.locale.startsWith("en")||Dd(t.locale).numberingSystem==="latn"}var vn=class{constructor(e,i,a){this.padTo=a.padTo||0,this.floor=a.floor||!1;let{padTo:r,floor:n,...o}=a;if(!i||Object.keys(o).length>0){let s={useGrouping:!1,...a};a.padTo>0&&(s.minimumIntegerDigits=a.padTo),this.inf=uh(e,s)}}format(e){if(this.inf){let i=this.floor?Math.floor(e):e;return this.inf.format(i)}else{let i=this.floor?Math.floor(e):Nn(e,3);return Ce(i,this.padTo)}}},Sn=class{constructor(e,i,a){this.opts=a,this.originalZone=void 0;let r;if(this.opts.timeZone)this.dt=e;else if(e.zone.type==="fixed"){let o=-1*(e.offset/60),s=o>=0?`Etc/GMT+${o}`:`Etc/GMT${o}`;e.offset!==0&&zt.create(s).valid?(r=s,this.dt=e):(r="UTC",this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else e.zone.type==="system"?this.dt=e:e.zone.type==="iana"?(this.dt=e,r=e.zone.name):(r="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);let n={...this.opts};n.timeZone=n.timeZone||r,this.dtf=fn(i,n)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){let e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(i=>{if(i.type==="timeZoneName"){let a=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...i,value:a}}else return i}):e}resolvedOptions(){return this.dtf.resolvedOptions()}},wn=class{constructor(e,i,a){this.opts={style:"long",...a},!i&&Md()&&(this.rtf=hh(e,a))}format(e,i){return this.rtf?this.rtf.format(e,i):Bh(i,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,i){return this.rtf?this.rtf.formatToParts(e,i):[]}},Ld={firstDay:1,minimalDays:4,weekend:[6,7]},oe=class t{static fromOpts(e){return t.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,i,a,r,n=!1){let o=e||pe.defaultLocale,s=o||(n?"en-US":fh()),l=i||pe.defaultNumberingSystem,d=a||pe.defaultOutputCalendar,p=Tn(r)||pe.defaultWeekSettings;return new t(s,l,d,p,o)}static resetCache(){Vi=null,hn.clear(),mn.clear(),yn.clear(),gn.clear(),bn.clear()}static fromObject({locale:e,numberingSystem:i,outputCalendar:a,weekSettings:r}={}){return t.create(e,i,a,r)}constructor(e,i,a,r,n){let[o,s,l]=yh(e);this.locale=o,this.numberingSystem=i||s||null,this.outputCalendar=a||l||null,this.weekSettings=r,this.intl=gh(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=Sh(this)),this.fastNumbersCached}listingMode(){let e=this.isEnglish(),i=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&i?"en":"intl"}clone(e){return!e||Object.getOwnPropertyNames(e).length===0?this:t.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,Tn(e.weekSettings)||this.weekSettings,e.defaultToEN||!1)}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,i=!1){return Ri(this,e,Ud,()=>{let a=this.intl==="ja"||this.intl.startsWith("ja-");i&=!a;let r=i?{month:e,day:"numeric"}:{month:e},n=i?"format":"standalone";if(!this.monthsCache[n][e]){let o=a?s=>this.dtFormatter(s,r).format():s=>this.extract(s,r,"month");this.monthsCache[n][e]=bh(o)}return this.monthsCache[n][e]})}weekdays(e,i=!1){return Ri(this,e,Qd,()=>{let a=i?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},r=i?"format":"standalone";return this.weekdaysCache[r][e]||(this.weekdaysCache[r][e]=vh(n=>this.extract(n,a,"weekday"))),this.weekdaysCache[r][e]})}meridiems(){return Ri(this,void 0,()=>Zd,()=>{if(!this.meridiemCache){let e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[ue.utc(2016,11,13,9),ue.utc(2016,11,13,19)].map(i=>this.extract(i,e,"dayperiod"))}return this.meridiemCache})}eras(e){return Ri(this,e,Jd,()=>{let i={era:e};return this.eraCache[e]||(this.eraCache[e]=[ue.utc(-40,1,1),ue.utc(2017,1,1)].map(a=>this.extract(a,i,"era"))),this.eraCache[e]})}extract(e,i,a){let r=this.dtFormatter(e,i),n=r.formatToParts(),o=n.find(s=>s.type.toLowerCase()===a);return o?o.value:null}numberFormatter(e={}){return new vn(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,i={}){return new Sn(e,this.intl,i)}relFormatter(e={}){return new wn(this.intl,this.isEnglish(),e)}listFormatter(e={}){return ph(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||Dd(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Bd()?mh(this.locale):Ld}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}},Ja=null,Xe=class t extends sr{static get utcInstance(){return Ja===null&&(Ja=new t(0)),Ja}static instance(e){return e===0?t.utcInstance:new t(e)}static parseSpecifier(e){if(e){let i=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(i)return new t(la(i[1],i[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${Jr(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${Jr(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,i){return Jr(this.fixed,i)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type==="fixed"&&e.fixed===this.fixed}get isValid(){return!0}},In=class extends sr{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}};function Bt(t,e){if(V(t)||t===null)return e;if(t instanceof sr)return t;if(Fh(t)){let i=t.toLowerCase();return i==="default"?e:i==="local"||i==="system"?Yi.instance:i==="utc"||i==="gmt"?Xe.utcInstance:Xe.parseSpecifier(i)||zt.create(t)}else return Vt(t)?Xe.instance(t):typeof t=="object"&&"offset"in t&&typeof t.offset=="function"?t:new In(t)}var Ln={arab:"[\u0660-\u0669]",arabext:"[\u06F0-\u06F9]",bali:"[\u1B50-\u1B59]",beng:"[\u09E6-\u09EF]",deva:"[\u0966-\u096F]",fullwide:"[\uFF10-\uFF19]",gujr:"[\u0AE6-\u0AEF]",hanidec:"[\u3007|\u4E00|\u4E8C|\u4E09|\u56DB|\u4E94|\u516D|\u4E03|\u516B|\u4E5D]",khmr:"[\u17E0-\u17E9]",knda:"[\u0CE6-\u0CEF]",laoo:"[\u0ED0-\u0ED9]",limb:"[\u1946-\u194F]",mlym:"[\u0D66-\u0D6F]",mong:"[\u1810-\u1819]",mymr:"[\u1040-\u1049]",orya:"[\u0B66-\u0B6F]",tamldec:"[\u0BE6-\u0BEF]",telu:"[\u0C66-\u0C6F]",thai:"[\u0E50-\u0E59]",tibt:"[\u0F20-\u0F29]",latn:"\\d"},Cl={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},wh=Ln.hanidec.replace(/[\[|\]]/g,"").split("");function Ih(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){let a=t.charCodeAt(i);if(t[i].search(Ln.hanidec)!==-1)e+=wh.indexOf(t[i]);else for(let r in Cl){let[n,o]=Cl[r];a>=n&&a<=o&&(e+=a-n)}}return parseInt(e,10)}else return e}var xn=new Map;function xh(){xn.clear()}function at({numberingSystem:t},e=""){let i=t||"latn",a=xn.get(i);a===void 0&&(a=new Map,xn.set(i,a));let r=a.get(e);return r===void 0&&(r=new RegExp(`${Ln[i]}${e}`),a.set(e,r)),r}var Fl=()=>Date.now(),Pl="system",Ol=null,El=null,Al=null,$l=60,Dl,Ll=null,pe=class{static get now(){return Fl}static set now(e){Fl=e}static set defaultZone(e){Pl=e}static get defaultZone(){return Bt(Pl,Yi.instance)}static get defaultLocale(){return Ol}static set defaultLocale(e){Ol=e}static get defaultNumberingSystem(){return El}static set defaultNumberingSystem(e){El=e}static get defaultOutputCalendar(){return Al}static set defaultOutputCalendar(e){Al=e}static get defaultWeekSettings(){return Ll}static set defaultWeekSettings(e){Ll=Tn(e)}static get twoDigitCutoffYear(){return $l}static set twoDigitCutoffYear(e){$l=e%100}static get throwOnInvalid(){return Dl}static set throwOnInvalid(e){Dl=e}static resetCaches(){oe.resetCache(),zt.resetCache(),ue.resetCache(),xh()}},ze=class{constructor(e,i){this.reason=e,this.explanation=i}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}},Rd=[0,31,59,90,120,151,181,212,243,273,304,334],kd=[0,31,60,91,121,152,182,213,244,274,305,335];function Ye(t,e){return new ze("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function Rn(t,e,i){let a=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&a.setUTCFullYear(a.getUTCFullYear()-1900);let r=a.getUTCDay();return r===0?7:r}function jd(t,e,i){return i+(ti(t)?kd:Rd)[e-1]}function Nd(t,e){let i=ti(t)?kd:Rd,a=i.findIndex(n=>n<e),r=e-i[a];return{month:a+1,day:r}}function kn(t,e){return(t-e+7)%7+1}function Ki(t,e=4,i=1){let{year:a,month:r,day:n}=t,o=jd(a,r,n),s=kn(Rn(a,r,n),i),l=Math.floor((o-s+14-e)/7),d;return l<1?(d=a-1,l=Yr(d,e,i)):l>Yr(a,e,i)?(d=a+1,l=1):d=a,{weekYear:d,weekNumber:l,weekday:s,...da(t)}}function Rl(t,e=4,i=1){let{weekYear:a,weekNumber:r,weekday:n}=t,o=kn(Rn(a,1,e),i),s=Pr(a),l=r*7+n-o-7+e,d;l<1?(d=a-1,l+=Pr(d)):l>s?(d=a+1,l-=Pr(a)):d=a;let{month:p,day:u}=Nd(d,l);return{year:d,month:p,day:u,...da(t)}}function Ya(t){let{year:e,month:i,day:a}=t,r=jd(e,i,a);return{year:e,ordinal:r,...da(t)}}function kl(t){let{year:e,ordinal:i}=t,{month:a,day:r}=Nd(e,i);return{year:e,month:a,day:r,...da(t)}}function jl(t,e){if(!V(t.localWeekday)||!V(t.localWeekNumber)||!V(t.localWeekYear)){if(!V(t.weekday)||!V(t.weekNumber)||!V(t.weekYear))throw new Wt("Cannot mix locale-based week fields with ISO-based week fields");return V(t.localWeekday)||(t.weekday=t.localWeekday),V(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),V(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function Th(t,e=4,i=1){let a=sa(t.weekYear),r=Ke(t.weekNumber,1,Yr(t.weekYear,e,i)),n=Ke(t.weekday,1,7);return a?r?n?!1:Ye("weekday",t.weekday):Ye("week",t.weekNumber):Ye("weekYear",t.weekYear)}function Ch(t){let e=sa(t.year),i=Ke(t.ordinal,1,Pr(t.year));return e?i?!1:Ye("ordinal",t.ordinal):Ye("year",t.year)}function qd(t){let e=sa(t.year),i=Ke(t.month,1,12),a=Ke(t.day,1,Xi(t.year,t.month));return e?i?a?!1:Ye("day",t.day):Ye("month",t.month):Ye("year",t.year)}function _d(t){let{hour:e,minute:i,second:a,millisecond:r}=t,n=Ke(e,0,23)||e===24&&i===0&&a===0&&r===0,o=Ke(i,0,59),s=Ke(a,0,59),l=Ke(r,0,999);return n?o?s?l?!1:Ye("millisecond",r):Ye("second",a):Ye("minute",i):Ye("hour",e)}function V(t){return typeof t>"u"}function Vt(t){return typeof t=="number"}function sa(t){return typeof t=="number"&&t%1===0}function Fh(t){return typeof t=="string"}function Ph(t){return Object.prototype.toString.call(t)==="[object Date]"}function Md(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function Bd(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function Oh(t){return Array.isArray(t)?t:[t]}function Nl(t,e,i){if(t.length!==0)return t.reduce((a,r)=>{let n=[e(r),r];return a&&i(a[0],n[0])===a[0]?a:n},null)[1]}function Eh(t,e){return e.reduce((i,a)=>(i[a]=t[a],i),{})}function $r(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Tn(t){if(t==null)return null;if(typeof t!="object")throw new Pe("Week settings must be an object");if(!Ke(t.firstDay,1,7)||!Ke(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(e=>!Ke(e,1,7)))throw new Pe("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Ke(t,e,i){return sa(t)&&t>=e&&t<=i}function Ah(t,e){return t-e*Math.floor(t/e)}function Ce(t,e=2){let i=t<0,a;return i?a="-"+(""+-t).padStart(e,"0"):a=(""+t).padStart(e,"0"),a}function _t(t){if(!(V(t)||t===null||t===""))return parseInt(t,10)}function rr(t){if(!(V(t)||t===null||t===""))return parseFloat(t)}function jn(t){if(!(V(t)||t===null||t==="")){let e=parseFloat("0."+t)*1e3;return Math.floor(e)}}function Nn(t,e,i="round"){let a=10**e;switch(i){case"expand":return t>0?Math.ceil(t*a)/a:Math.floor(t*a)/a;case"trunc":return Math.trunc(t*a)/a;case"round":return Math.round(t*a)/a;case"floor":return Math.floor(t*a)/a;case"ceil":return Math.ceil(t*a)/a;default:throw new RangeError(`Value rounding ${i} is out of range`)}}function ti(t){return t%4===0&&(t%100!==0||t%400===0)}function Pr(t){return ti(t)?366:365}function Xi(t,e){let i=Ah(e-1,12)+1,a=t+(e-i)/12;return i===2?ti(a)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function oa(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function ql(t,e,i){return-kn(Rn(t,1,e),i)+e-1}function Yr(t,e=4,i=1){let a=ql(t,e,i),r=ql(t+1,e,i);return(Pr(t)-a+r)/7}function Cn(t){return t>99?t:t>pe.twoDigitCutoffYear?1900+t:2e3+t}function Wd(t,e,i,a=null){let r=new Date(t),n={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};a&&(n.timeZone=a);let o={timeZoneName:e,...n},s=new Intl.DateTimeFormat(i,o).formatToParts(r).find(l=>l.type.toLowerCase()==="timezonename");return s?s.value:null}function la(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);let a=parseInt(e,10)||0,r=i<0||Object.is(i,-0)?-a:a;return i*60+r}function Vd(t){let e=Number(t);if(typeof t=="boolean"||t===""||!Number.isFinite(e))throw new Pe(`Invalid unit value ${t}`);return e}function ea(t,e){let i={};for(let a in t)if($r(t,a)){let r=t[a];if(r==null)continue;i[e(a)]=Vd(r)}return i}function Jr(t,e){let i=Math.trunc(Math.abs(t/60)),a=Math.trunc(Math.abs(t%60)),r=t>=0?"+":"-";switch(e){case"short":return`${r}${Ce(i,2)}:${Ce(a,2)}`;case"narrow":return`${r}${i}${a>0?`:${a}`:""}`;case"techie":return`${r}${Ce(i,2)}${Ce(a,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function da(t){return Eh(t,["hour","minute","second","millisecond"])}var $h=["January","February","March","April","May","June","July","August","September","October","November","December"],zd=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Dh=["J","F","M","A","M","J","J","A","S","O","N","D"];function Ud(t){switch(t){case"narrow":return[...Dh];case"short":return[...zd];case"long":return[...$h];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}var Gd=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Hd=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Lh=["M","T","W","T","F","S","S"];function Qd(t){switch(t){case"narrow":return[...Lh];case"short":return[...Hd];case"long":return[...Gd];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var Zd=["AM","PM"],Rh=["Before Christ","Anno Domini"],kh=["BC","AD"],jh=["B","A"];function Jd(t){switch(t){case"narrow":return[...jh];case"short":return[...kh];case"long":return[...Rh];default:return null}}function Nh(t){return Zd[t.hour<12?0:1]}function qh(t,e){return Qd(e)[t.weekday-1]}function _h(t,e){return Ud(e)[t.month-1]}function Mh(t,e){return Jd(e)[t.year<0?0:1]}function Bh(t,e,i="always",a=!1){let r={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},n=["hours","minutes","seconds"].indexOf(t)===-1;if(i==="auto"&&n){let u=t==="days";switch(e){case 1:return u?"tomorrow":`next ${r[t][0]}`;case-1:return u?"yesterday":`last ${r[t][0]}`;case 0:return u?"today":`this ${r[t][0]}`}}let o=Object.is(e,-0)||e<0,s=Math.abs(e),l=s===1,d=r[t],p=a?l?d[1]:d[2]||d[1]:l?r[t][0]:t;return o?`${s} ${p} ago`:`in ${s} ${p}`}function _l(t,e){let i="";for(let a of t)a.literal?i+=a.val:i+=e(a.val);return i}var Wh={D:Ji,DD:hd,DDD:fd,DDDD:md,t:yd,tt:gd,ttt:bd,tttt:vd,T:Sd,TT:wd,TTT:Id,TTTT:xd,f:Td,ff:Fd,fff:Od,ffff:Ad,F:Cd,FF:Pd,FFF:Ed,FFFF:$d},Ve=class t{static create(e,i={}){return new t(e,i)}static parseFormat(e){let i=null,a="",r=!1,n=[];for(let o=0;o<e.length;o++){let s=e.charAt(o);s==="'"?((a.length>0||r)&&n.push({literal:r||/^\s+$/.test(a),val:a===""?"'":a}),i=null,a="",r=!r):r||s===i?a+=s:(a.length>0&&n.push({literal:/^\s+$/.test(a),val:a}),a=s,i=s)}return a.length>0&&n.push({literal:r||/^\s+$/.test(a),val:a}),n}static macroTokenToFormatOpts(e){return Wh[e]}constructor(e,i){this.opts=i,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,i){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...i}).format()}dtFormatter(e,i={}){return this.loc.dtFormatter(e,{...this.opts,...i})}formatDateTime(e,i){return this.dtFormatter(e,i).format()}formatDateTimeParts(e,i){return this.dtFormatter(e,i).formatToParts()}formatInterval(e,i){return this.dtFormatter(e.start,i).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,i){return this.dtFormatter(e,i).resolvedOptions()}num(e,i=0,a=void 0){if(this.opts.forceSimple)return Ce(e,i);let r={...this.opts};return i>0&&(r.padTo=i),a&&(r.signDisplay=a),this.loc.numberFormatter(r).format(e)}formatDateTimeFromString(e,i){let a=this.loc.listingMode()==="en",r=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",n=(c,m)=>this.loc.extract(e,c,m),o=c=>e.isOffsetFixed&&e.offset===0&&c.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,c.format):"",s=()=>a?Nh(e):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(c,m)=>a?_h(e,c):n(m?{month:c}:{month:c,day:"numeric"},"month"),d=(c,m)=>a?qh(e,c):n(m?{weekday:c}:{weekday:c,month:"long",day:"numeric"},"weekday"),p=c=>{let m=t.macroTokenToFormatOpts(c);return m?this.formatWithSystemDefault(e,m):c},u=c=>a?Mh(e,c):n({era:c},"era"),h=c=>{switch(c){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12===0?12:e.hour%12);case"hh":return this.num(e.hour%12===0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return o({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return o({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return o({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return s();case"d":return r?n({day:"numeric"},"day"):this.num(e.day);case"dd":return r?n({day:"2-digit"},"day"):this.num(e.day,2);case"c":return this.num(e.weekday);case"ccc":return d("short",!0);case"cccc":return d("long",!0);case"ccccc":return d("narrow",!0);case"E":return this.num(e.weekday);case"EEE":return d("short",!1);case"EEEE":return d("long",!1);case"EEEEE":return d("narrow",!1);case"L":return r?n({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return r?n({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return r?n({month:"numeric"},"month"):this.num(e.month);case"MM":return r?n({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return r?n({year:"numeric"},"year"):this.num(e.year);case"yy":return r?n({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return r?n({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return r?n({year:"numeric"},"year"):this.num(e.year,6);case"G":return u("short");case"GG":return u("long");case"GGGGG":return u("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return p(c)}};return _l(t.parseFormat(i),h)}formatDurationFromString(e,i){let a=this.opts.signMode==="negativeLargestOnly"?-1:1,r=p=>{switch(p[0]){case"S":return"milliseconds";case"s":return"seconds";case"m":return"minutes";case"h":return"hours";case"d":return"days";case"w":return"weeks";case"M":return"months";case"y":return"years";default:return null}},n=(p,u)=>h=>{let c=r(h);if(c){let m=u.isNegativeDuration&&c!==u.largestUnit?a:1,g;return this.opts.signMode==="negativeLargestOnly"&&c!==u.largestUnit?g="never":this.opts.signMode==="all"?g="always":g="auto",this.num(p.get(c)*m,h.length,g)}else return h},o=t.parseFormat(i),s=o.reduce((p,{literal:u,val:h})=>u?p:p.concat(h),[]),l=e.shiftTo(...s.map(r).filter(p=>p)),d={isNegativeDuration:l<0,largestUnit:Object.keys(l.values)[0]};return _l(o,n(l,d))}},Yd=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Dr(...t){let e=t.reduce((i,a)=>i+a.source,"");return RegExp(`^${e}$`)}function Lr(...t){return e=>t.reduce(([i,a,r],n)=>{let[o,s,l]=n(e,r);return[{...i,...o},s||a,l]},[{},null,1]).slice(0,2)}function Rr(t,...e){if(t==null)return[null,null];for(let[i,a]of e){let r=i.exec(t);if(r)return a(r)}return[null,null]}function Kd(...t){return(e,i)=>{let a={},r;for(r=0;r<t.length;r++)a[t[r]]=_t(e[i+r]);return[a,null,i+r]}}var Xd=/(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/,Vh=`(?:${Xd.source}?(?:\\[(${Yd.source})\\])?)?`,qn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,ec=RegExp(`${qn.source}${Vh}`),_n=RegExp(`(?:[Tt]${ec.source})?`),zh=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Uh=/(\d{4})-?W(\d\d)(?:-?(\d))?/,Gh=/(\d{4})-?(\d{3})/,Hh=Kd("weekYear","weekNumber","weekDay"),Qh=Kd("year","ordinal"),Zh=/(\d{4})-(\d\d)-(\d\d)/,tc=RegExp(`${qn.source} ?(?:${Xd.source}|(${Yd.source}))?`),Jh=RegExp(`(?: ${tc.source})?`);function Or(t,e,i){let a=t[e];return V(a)?i:_t(a)}function Yh(t,e){return[{year:Or(t,e),month:Or(t,e+1,1),day:Or(t,e+2,1)},null,e+3]}function kr(t,e){return[{hours:Or(t,e,0),minutes:Or(t,e+1,0),seconds:Or(t,e+2,0),milliseconds:jn(t[e+3])},null,e+4]}function ri(t,e){let i=!t[e]&&!t[e+1],a=la(t[e+1],t[e+2]),r=i?null:Xe.instance(a);return[{},r,e+3]}function ii(t,e){let i=t[e]?zt.create(t[e]):null;return[{},i,e+1]}var Kh=RegExp(`^T?${qn.source}$`),Xh=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function ef(t){let[e,i,a,r,n,o,s,l,d]=t,p=e[0]==="-",u=l&&l[0]==="-",h=(c,m=!1)=>c!==void 0&&(m||c&&p)?-c:c;return[{years:h(rr(i)),months:h(rr(a)),weeks:h(rr(r)),days:h(rr(n)),hours:h(rr(o)),minutes:h(rr(s)),seconds:h(rr(l),l==="-0"),milliseconds:h(jn(d),u)}]}var tf={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Mn(t,e,i,a,r,n,o){let s={year:e.length===2?Cn(_t(e)):_t(e),month:zd.indexOf(i)+1,day:_t(a),hour:_t(r),minute:_t(n)};return o&&(s.second=_t(o)),t&&(s.weekday=t.length>3?Gd.indexOf(t)+1:Hd.indexOf(t)+1),s}var rf=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function af(t){let[,e,i,a,r,n,o,s,l,d,p,u]=t,h=Mn(e,r,a,i,n,o,s),c;return l?c=tf[l]:d?c=0:c=la(p,u),[h,new Xe(c)]}function nf(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}var sf=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,of=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,lf=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Ml(t){let[,e,i,a,r,n,o,s]=t;return[Mn(e,r,a,i,n,o,s),Xe.utcInstance]}function df(t){let[,e,i,a,r,n,o,s]=t;return[Mn(e,s,i,a,r,n,o),Xe.utcInstance]}var cf=Dr(zh,_n),pf=Dr(Uh,_n),uf=Dr(Gh,_n),hf=Dr(ec),rc=Lr(Yh,kr,ri,ii),ff=Lr(Hh,kr,ri,ii),mf=Lr(Qh,kr,ri,ii),yf=Lr(kr,ri,ii);function gf(t){return Rr(t,[cf,rc],[pf,ff],[uf,mf],[hf,yf])}function bf(t){return Rr(nf(t),[rf,af])}function vf(t){return Rr(t,[sf,Ml],[of,Ml],[lf,df])}function Sf(t){return Rr(t,[Xh,ef])}var wf=Lr(kr);function If(t){return Rr(t,[Kh,wf])}var xf=Dr(Zh,Jh),Tf=Dr(tc),Cf=Lr(kr,ri,ii);function Ff(t){return Rr(t,[xf,rc],[Tf,Cf])}var Bl="Invalid Duration",ic={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},Pf={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3},...ic},Ze=146097/400,wr=146097/4800,Of={years:{quarters:4,months:12,weeks:Ze/7,days:Ze,hours:Ze*24,minutes:Ze*24*60,seconds:Ze*24*60*60,milliseconds:Ze*24*60*60*1e3},quarters:{months:3,weeks:Ze/28,days:Ze/4,hours:Ze*24/4,minutes:Ze*24*60/4,seconds:Ze*24*60*60/4,milliseconds:Ze*24*60*60*1e3/4},months:{weeks:wr/7,days:wr,hours:wr*24,minutes:wr*24*60,seconds:wr*24*60*60,milliseconds:wr*24*60*60*1e3},...ic},nr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Ef=nr.slice(0).reverse();function Tt(t,e,i=!1){let a={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new Oe(a)}function ac(t,e){let i=e.milliseconds??0;for(let a of Ef.slice(1))e[a]&&(i+=e[a]*t[a].milliseconds);return i}function Wl(t,e){let i=ac(t,e)<0?-1:1;nr.reduceRight((a,r)=>{if(V(e[r]))return a;if(a){let n=e[a]*i,o=t[r][a],s=Math.floor(n/o);e[r]+=s*i,e[a]-=s*o*i}return r},null),nr.reduce((a,r)=>{if(V(e[r]))return a;if(a){let n=e[a]%1;e[a]-=n,e[r]+=n*t[a][r]}return r},null)}function Vl(t){let e={};for(let[i,a]of Object.entries(t))a!==0&&(e[i]=a);return e}var Oe=class t{constructor(e){let i=e.conversionAccuracy==="longterm"||!1,a=i?Of:Pf;e.matrix&&(a=e.matrix),this.values=e.values,this.loc=e.loc||oe.create(),this.conversionAccuracy=i?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=a,this.isLuxonDuration=!0}static fromMillis(e,i){return t.fromObject({milliseconds:e},i)}static fromObject(e,i={}){if(e==null||typeof e!="object")throw new Pe(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new t({values:ea(e,t.normalizeUnit),loc:oe.fromObject(i),conversionAccuracy:i.conversionAccuracy,matrix:i.matrix})}static fromDurationLike(e){if(Vt(e))return t.fromMillis(e);if(t.isDuration(e))return e;if(typeof e=="object")return t.fromObject(e);throw new Pe(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,i){let[a]=Sf(e);return a?t.fromObject(a,i):t.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,i){let[a]=If(e);return a?t.fromObject(a,i):t.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,i=null){if(!e)throw new Pe("need to specify a reason the Duration is invalid");let a=e instanceof ze?e:new ze(e,i);if(pe.throwOnInvalid)throw new pn(a);return new t({invalid:a})}static normalizeUnit(e){let i={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e&&e.toLowerCase()];if(!i)throw new Zi(e);return i}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,i={}){let a={...i,floor:i.round!==!1&&i.floor!==!1};return this.isValid?Ve.create(this.loc,a).formatDurationFromString(this,e):Bl}toHuman(e={}){if(!this.isValid)return Bl;let i=e.showZeros!==!1,a=nr.map(r=>{let n=this.values[r];return V(n)||n===0&&!i?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:r.slice(0,-1)}).format(n)}).filter(r=>r);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(a)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return this.years!==0&&(e+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+"M"),this.weeks!==0&&(e+=this.weeks+"W"),this.days!==0&&(e+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+="T"),this.hours!==0&&(e+=this.hours+"H"),this.minutes!==0&&(e+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(e+=Nn(this.seconds+this.milliseconds/1e3,3)+"S"),e==="P"&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;let i=this.toMillis();return i<0||i>=864e5?null:(e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1},ue.fromMillis(i,{zone:"UTC"}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?ac(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;let i=t.fromDurationLike(e),a={};for(let r of nr)($r(i.values,r)||$r(this.values,r))&&(a[r]=i.get(r)+this.get(r));return Tt(this,{values:a},!0)}minus(e){if(!this.isValid)return this;let i=t.fromDurationLike(e);return this.plus(i.negate())}mapUnits(e){if(!this.isValid)return this;let i={};for(let a of Object.keys(this.values))i[a]=Vd(e(this.values[a],a));return Tt(this,{values:i},!0)}get(e){return this[t.normalizeUnit(e)]}set(e){if(!this.isValid)return this;let i={...this.values,...ea(e,t.normalizeUnit)};return Tt(this,{values:i})}reconfigure({locale:e,numberingSystem:i,conversionAccuracy:a,matrix:r}={}){let n={loc:this.loc.clone({locale:e,numberingSystem:i}),matrix:r,conversionAccuracy:a};return Tt(this,n)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;let e=this.toObject();return Wl(this.matrix,e),Tt(this,{values:e},!0)}rescale(){if(!this.isValid)return this;let e=Vl(this.normalize().shiftToAll().toObject());return Tt(this,{values:e},!0)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0)return this;e=e.map(o=>t.normalizeUnit(o));let i={},a={},r=this.toObject(),n;for(let o of nr)if(e.indexOf(o)>=0){n=o;let s=0;for(let d in a)s+=this.matrix[d][o]*a[d],a[d]=0;Vt(r[o])&&(s+=r[o]);let l=Math.trunc(s);i[o]=l,a[o]=(s*1e3-l*1e3)/1e3}else Vt(r[o])&&(a[o]=r[o]);for(let o in a)a[o]!==0&&(i[n]+=o===n?a[o]:a[o]/this.matrix[n][o]);return Wl(this.matrix,i),Tt(this,{values:i},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;let e={};for(let i of Object.keys(this.values))e[i]=this.values[i]===0?0:-this.values[i];return Tt(this,{values:e},!0)}removeZeros(){if(!this.isValid)return this;let e=Vl(this.values);return Tt(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function i(a,r){return a===void 0||a===0?r===void 0||r===0:a===r}for(let a of nr)if(!i(this.values[a],e.values[a]))return!1;return!0}},Ir="Invalid Interval";function Af(t,e){return!t||!t.isValid?Er.invalid("missing or invalid start"):!e||!e.isValid?Er.invalid("missing or invalid end"):e<t?Er.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null}var Er=class t{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,i=null){if(!e)throw new Pe("need to specify a reason the Interval is invalid");let a=e instanceof ze?e:new ze(e,i);if(pe.throwOnInvalid)throw new cn(a);return new t({invalid:a})}static fromDateTimes(e,i){let a=Gr(e),r=Gr(i);return Af(a,r)??new t({start:a,end:r})}static after(e,i){let a=Oe.fromDurationLike(i),r=Gr(e);return t.fromDateTimes(r,r.plus(a))}static before(e,i){let a=Oe.fromDurationLike(i),r=Gr(e);return t.fromDateTimes(r.minus(a),r)}static fromISO(e,i){let[a,r]=(e||"").split("/",2);if(a&&r){let n,o;try{n=ue.fromISO(a,i),o=n.isValid}catch{o=!1}let s,l;try{s=ue.fromISO(r,i),l=s.isValid}catch{l=!1}if(o&&l)return t.fromDateTimes(n,s);if(o){let d=Oe.fromISO(r,i);if(d.isValid)return t.after(n,d)}else if(l){let d=Oe.fromISO(a,i);if(d.isValid)return t.before(s,d)}}return t.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds",i){if(!this.isValid)return NaN;let a=this.start.startOf(e,i),r;return i?.useLocaleWeeks?r=this.end.reconfigure({locale:a.locale}):r=this.end,r=r.startOf(e,i),Math.floor(r.diff(a,e).get(e))+(r.valueOf()!==this.end.valueOf())}hasSame(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return this.isValid?this.s>e:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:e,end:i}={}){return this.isValid?t.fromDateTimes(e||this.s,i||this.e):this}splitAt(...e){if(!this.isValid)return[];let i=e.map(Gr).filter(o=>this.contains(o)).sort((o,s)=>o.toMillis()-s.toMillis()),a=[],{s:r}=this,n=0;for(;r<this.e;){let o=i[n]||this.e,s=+o>+this.e?this.e:o;a.push(t.fromDateTimes(r,s)),r=s,n+=1}return a}splitBy(e){let i=Oe.fromDurationLike(e);if(!this.isValid||!i.isValid||i.as("milliseconds")===0)return[];let{s:a}=this,r=1,n,o=[];for(;a<this.e;){let s=this.start.plus(i.mapUnits(l=>l*r));n=+s>+this.e?this.e:s,o.push(t.fromDateTimes(a,n)),a=n,r+=1}return o}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return this.isValid?+this.e==+e.s:!1}abutsEnd(e){return this.isValid?+e.e==+this.s:!1}engulfs(e){return this.isValid?this.s<=e.s&&this.e>=e.e:!1}equals(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;let i=this.s>e.s?this.s:e.s,a=this.e<e.e?this.e:e.e;return i>=a?null:t.fromDateTimes(i,a)}union(e){if(!this.isValid)return this;let i=this.s<e.s?this.s:e.s,a=this.e>e.e?this.e:e.e;return t.fromDateTimes(i,a)}static merge(e){let[i,a]=e.sort((r,n)=>r.s-n.s).reduce(([r,n],o)=>n?n.overlaps(o)||n.abutsStart(o)?[r,n.union(o)]:[r.concat([n]),o]:[r,o],[[],null]);return a&&i.push(a),i}static xor(e){let i=null,a=0,r=[],n=e.map(l=>[{time:l.s,type:"s"},{time:l.e,type:"e"}]),o=Array.prototype.concat(...n),s=o.sort((l,d)=>l.time-d.time);for(let l of s)a+=l.type==="s"?1:-1,a===1?i=l.time:(i&&+i!=+l.time&&r.push(t.fromDateTimes(i,l.time)),i=null);return t.merge(r)}difference(...e){return t.xor([this].concat(e)).map(i=>this.intersection(i)).filter(i=>i&&!i.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} \u2013 ${this.e.toISO()})`:Ir}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=Ji,i={}){return this.isValid?Ve.create(this.s.loc.clone(i),e).formatInterval(this):Ir}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:Ir}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Ir}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:Ir}toFormat(e,{separator:i=" \u2013 "}={}){return this.isValid?`${this.s.toFormat(e)}${i}${this.e.toFormat(e)}`:Ir}toDuration(e,i){return this.isValid?this.e.diff(this.s,e,i):Oe.invalid(this.invalidReason)}mapEndpoints(e){return t.fromDateTimes(e(this.s),e(this.e))}},Fr=class{static hasDST(e=pe.defaultZone){let i=ue.now().setZone(e).set({month:12});return!e.isUniversal&&i.offset!==i.set({month:6}).offset}static isValidIANAZone(e){return zt.isValidZone(e)}static normalizeZone(e){return Bt(e,pe.defaultZone)}static getStartOfWeek({locale:e=null,locObj:i=null}={}){return(i||oe.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:i=null}={}){return(i||oe.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:i=null}={}){return(i||oe.create(e)).getWeekendDays().slice()}static months(e="long",{locale:i=null,numberingSystem:a=null,locObj:r=null,outputCalendar:n="gregory"}={}){return(r||oe.create(i,a,n)).months(e)}static monthsFormat(e="long",{locale:i=null,numberingSystem:a=null,locObj:r=null,outputCalendar:n="gregory"}={}){return(r||oe.create(i,a,n)).months(e,!0)}static weekdays(e="long",{locale:i=null,numberingSystem:a=null,locObj:r=null}={}){return(r||oe.create(i,a,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:i=null,numberingSystem:a=null,locObj:r=null}={}){return(r||oe.create(i,a,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return oe.create(e).meridiems()}static eras(e="short",{locale:i=null}={}){return oe.create(i,null,"gregory").eras(e)}static features(){return{relative:Md(),localeWeek:Bd()}}};function zl(t,e){let i=r=>r.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),a=i(e)-i(t);return Math.floor(Oe.fromMillis(a).as("days"))}function $f(t,e,i){let a=[["years",(l,d)=>d.year-l.year],["quarters",(l,d)=>d.quarter-l.quarter+(d.year-l.year)*4],["months",(l,d)=>d.month-l.month+(d.year-l.year)*12],["weeks",(l,d)=>{let p=zl(l,d);return(p-p%7)/7}],["days",zl]],r={},n=t,o,s;for(let[l,d]of a)i.indexOf(l)>=0&&(o=l,r[l]=d(t,e),s=n.plus(r),s>e?(r[l]--,t=n.plus(r),t>e&&(s=t,r[l]--,t=n.plus(r))):t=s);return[t,r,s,o]}function Df(t,e,i,a){let[r,n,o,s]=$f(t,e,i),l=e-r,d=i.filter(u=>["hours","minutes","seconds","milliseconds"].indexOf(u)>=0);d.length===0&&(o<e&&(o=r.plus({[s]:1})),o!==r&&(n[s]=(n[s]||0)+l/(o-r)));let p=Oe.fromObject(n,a);return d.length>0?Oe.fromMillis(l,a).shiftTo(...d).plus(p):p}var Lf="missing Intl.DateTimeFormat.formatToParts support";function te(t,e=i=>i){return{regex:t,deser:([i])=>e(Ih(i))}}var Rf="\xA0",nc=`[ ${Rf}]`,sc=new RegExp(nc,"g");function kf(t){return t.replace(/\./g,"\\.?").replace(sc,nc)}function Ul(t){return t.replace(/\./g,"").replace(sc," ").toLowerCase()}function nt(t,e){return t===null?null:{regex:RegExp(t.map(kf).join("|")),deser:([i])=>t.findIndex(a=>Ul(i)===Ul(a))+e}}function Gl(t,e){return{regex:t,deser:([,i,a])=>la(i,a),groups:e}}function ki(t){return{regex:t,deser:([e])=>e}}function jf(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function Nf(t,e){let i=at(e),a=at(e,"{2}"),r=at(e,"{3}"),n=at(e,"{4}"),o=at(e,"{6}"),s=at(e,"{1,2}"),l=at(e,"{1,3}"),d=at(e,"{1,6}"),p=at(e,"{1,9}"),u=at(e,"{2,4}"),h=at(e,"{4,6}"),c=g=>({regex:RegExp(jf(g.val)),deser:([y])=>y,literal:!0}),m=(g=>{if(t.literal)return c(g);switch(g.val){case"G":return nt(e.eras("short"),0);case"GG":return nt(e.eras("long"),0);case"y":return te(d);case"yy":return te(u,Cn);case"yyyy":return te(n);case"yyyyy":return te(h);case"yyyyyy":return te(o);case"M":return te(s);case"MM":return te(a);case"MMM":return nt(e.months("short",!0),1);case"MMMM":return nt(e.months("long",!0),1);case"L":return te(s);case"LL":return te(a);case"LLL":return nt(e.months("short",!1),1);case"LLLL":return nt(e.months("long",!1),1);case"d":return te(s);case"dd":return te(a);case"o":return te(l);case"ooo":return te(r);case"HH":return te(a);case"H":return te(s);case"hh":return te(a);case"h":return te(s);case"mm":return te(a);case"m":return te(s);case"q":return te(s);case"qq":return te(a);case"s":return te(s);case"ss":return te(a);case"S":return te(l);case"SSS":return te(r);case"u":return ki(p);case"uu":return ki(s);case"uuu":return te(i);case"a":return nt(e.meridiems(),0);case"kkkk":return te(n);case"kk":return te(u,Cn);case"W":return te(s);case"WW":return te(a);case"E":case"c":return te(i);case"EEE":return nt(e.weekdays("short",!1),1);case"EEEE":return nt(e.weekdays("long",!1),1);case"ccc":return nt(e.weekdays("short",!0),1);case"cccc":return nt(e.weekdays("long",!0),1);case"Z":case"ZZ":return Gl(new RegExp(`([+-]${s.source})(?::(${a.source}))?`),2);case"ZZZ":return Gl(new RegExp(`([+-]${s.source})(${a.source})?`),2);case"z":return ki(/[a-z_+-/]{1,256}?/i);case" ":return ki(/[^\S\n\r]/);default:return c(g)}})(t)||{invalidReason:Lf};return m.token=t,m}var qf={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function _f(t,e,i){let{type:a,value:r}=t;if(a==="literal"){let l=/^\s+$/.test(r);return{literal:!l,val:l?" ":r}}let n=e[a],o=a;a==="hour"&&(e.hour12!=null?o=e.hour12?"hour12":"hour24":e.hourCycle!=null?e.hourCycle==="h11"||e.hourCycle==="h12"?o="hour12":o="hour24":o=i.hour12?"hour12":"hour24");let s=qf[o];if(typeof s=="object"&&(s=s[n]),s)return{literal:!1,val:s}}function Mf(t){return[`^${t.map(e=>e.regex).reduce((e,i)=>`${e}(${i.source})`,"")}$`,t]}function Bf(t,e,i){let a=t.match(e);if(a){let r={},n=1;for(let o in i)if($r(i,o)){let s=i[o],l=s.groups?s.groups+1:1;!s.literal&&s.token&&(r[s.token.val[0]]=s.deser(a.slice(n,n+l))),n+=l}return[a,r]}else return[a,{}]}function Wf(t){let e=r=>{switch(r){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}},i=null,a;return V(t.z)||(i=zt.create(t.z)),V(t.Z)||(i||(i=new Xe(t.Z)),a=t.Z),V(t.q)||(t.M=(t.q-1)*3+1),V(t.h)||(t.h<12&&t.a===1?t.h+=12:t.h===12&&t.a===0&&(t.h=0)),t.G===0&&t.y&&(t.y=-t.y),V(t.u)||(t.S=jn(t.u)),[Object.keys(t).reduce((r,n)=>{let o=e(n);return o&&(r[o]=t[n]),r},{}),i,a]}var Ka=null;function Vf(){return Ka||(Ka=ue.fromMillis(1555555555555)),Ka}function zf(t,e){if(t.literal)return t;let i=Ve.macroTokenToFormatOpts(t.val),a=dc(i,e);return a==null||a.includes(void 0)?t:a}function oc(t,e){return Array.prototype.concat(...t.map(i=>zf(i,e)))}var ta=class{constructor(e,i){if(this.locale=e,this.format=i,this.tokens=oc(Ve.parseFormat(i),e),this.units=this.tokens.map(a=>Nf(a,e)),this.disqualifyingUnit=this.units.find(a=>a.invalidReason),!this.disqualifyingUnit){let[a,r]=Mf(this.units);this.regex=RegExp(a,"i"),this.handlers=r}}explainFromTokens(e){if(this.isValid){let[i,a]=Bf(e,this.regex,this.handlers),[r,n,o]=a?Wf(a):[null,null,void 0];if($r(a,"a")&&$r(a,"H"))throw new Wt("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:i,matches:a,result:r,zone:n,specificOffset:o}}else return{input:e,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}};function lc(t,e,i){return new ta(t,i).explainFromTokens(e)}function Uf(t,e,i){let{result:a,zone:r,specificOffset:n,invalidReason:o}=lc(t,e,i);return[a,r,n,o]}function dc(t,e){if(!t)return null;let i=Ve.create(e,t).dtFormatter(Vf()),a=i.formatToParts(),r=i.resolvedOptions();return a.map(n=>_f(n,t,r))}var Xa="Invalid DateTime",Hl=864e13;function Qr(t){return new ze("unsupported zone",`the zone "${t.name}" is not supported`)}function en(t){return t.weekData===null&&(t.weekData=Ki(t.c)),t.weekData}function tn(t){return t.localWeekData===null&&(t.localWeekData=Ki(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function ir(t,e){let i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new ue({...i,...e,old:i})}function cc(t,e,i){let a=t-e*60*1e3,r=i.offset(a);if(e===r)return[a,e];a-=(r-e)*60*1e3;let n=i.offset(a);return r===n?[a,r]:[t-Math.min(r,n)*60*1e3,Math.max(r,n)]}function ji(t,e){t+=e*60*1e3;let i=new Date(t);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function zi(t,e,i){return cc(oa(t),e,i)}function Ql(t,e){let i=t.o,a=t.c.year+Math.trunc(e.years),r=t.c.month+Math.trunc(e.months)+Math.trunc(e.quarters)*3,n={...t.c,year:a,month:r,day:Math.min(t.c.day,Xi(a,r))+Math.trunc(e.days)+Math.trunc(e.weeks)*7},o=Oe.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),s=oa(n),[l,d]=cc(s,i,t.zone);return o!==0&&(l+=o,d=t.zone.offset(l)),{ts:l,o:d}}function xr(t,e,i,a,r,n){let{setZone:o,zone:s}=i;if(t&&Object.keys(t).length!==0||e){let l=e||s,d=ue.fromObject(t,{...i,zone:l,specificOffset:n});return o?d:d.setZone(s)}else return ue.invalid(new ze("unparsable",`the input "${r}" can't be parsed as ${a}`))}function Ni(t,e,i=!0){return t.isValid?Ve.create(oe.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function rn(t,e,i){let a=t.c.year>9999||t.c.year<0,r="";if(a&&t.c.year>=0&&(r+="+"),r+=Ce(t.c.year,a?6:4),i==="year")return r;if(e){if(r+="-",r+=Ce(t.c.month),i==="month")return r;r+="-"}else if(r+=Ce(t.c.month),i==="month")return r;return r+=Ce(t.c.day),r}function Zl(t,e,i,a,r,n,o){let s=!i||t.c.millisecond!==0||t.c.second!==0,l="";switch(o){case"day":case"month":case"year":break;default:if(l+=Ce(t.c.hour),o==="hour")break;if(e){if(l+=":",l+=Ce(t.c.minute),o==="minute")break;s&&(l+=":",l+=Ce(t.c.second))}else{if(l+=Ce(t.c.minute),o==="minute")break;s&&(l+=Ce(t.c.second))}if(o==="second")break;s&&(!a||t.c.millisecond!==0)&&(l+=".",l+=Ce(t.c.millisecond,3))}return r&&(t.isOffsetFixed&&t.offset===0&&!n?l+="Z":t.o<0?(l+="-",l+=Ce(Math.trunc(-t.o/60)),l+=":",l+=Ce(Math.trunc(-t.o%60))):(l+="+",l+=Ce(Math.trunc(t.o/60)),l+=":",l+=Ce(Math.trunc(t.o%60)))),n&&(l+="["+t.zone.ianaName+"]"),l}var pc={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Gf={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},Hf={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Ui=["year","month","day","hour","minute","second","millisecond"],Qf=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Zf=["year","ordinal","hour","minute","second","millisecond"];function Gi(t){let e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Zi(t);return e}function Jl(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return Gi(t)}}function Jf(t){if(Zr===void 0&&(Zr=pe.now()),t.type!=="iana")return t.offset(Zr);let e=t.name,i=Fn.get(e);return i===void 0&&(i=t.offset(Zr),Fn.set(e,i)),i}function Yl(t,e){let i=Bt(e.zone,pe.defaultZone);if(!i.isValid)return ue.invalid(Qr(i));let a=oe.fromObject(e),r,n;if(V(t.year))r=pe.now();else{for(let l of Ui)V(t[l])&&(t[l]=pc[l]);let o=qd(t)||_d(t);if(o)return ue.invalid(o);let s=Jf(i);[r,n]=zi(t,s,i)}return new ue({ts:r,zone:i,loc:a,o:n})}function Kl(t,e,i){let a=V(i.round)?!0:i.round,r=V(i.rounding)?"trunc":i.rounding,n=(s,l)=>(s=Nn(s,a||i.calendary?0:2,i.calendary?"round":r),e.loc.clone(i).relFormatter(i).format(s,l)),o=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(o(i.unit),i.unit);for(let s of i.units){let l=o(s);if(Math.abs(l)>=1)return n(l,s)}return n(t>e?-0:0,i.units[i.units.length-1])}function Xl(t){let e={},i;return t.length>0&&typeof t[t.length-1]=="object"?(e=t[t.length-1],i=Array.from(t).slice(0,t.length-1)):i=Array.from(t),[e,i]}var Zr,Fn=new Map,ue=class t{constructor(e){let i=e.zone||pe.defaultZone,a=e.invalid||(Number.isNaN(e.ts)?new ze("invalid input"):null)||(i.isValid?null:Qr(i));this.ts=V(e.ts)?pe.now():e.ts;let r=null,n=null;if(!a)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(i))[r,n]=[e.old.c,e.old.o];else{let o=Vt(e.o)&&!e.old?e.o:i.offset(this.ts);r=ji(this.ts,o),a=Number.isNaN(r.year)?new ze("invalid input"):null,r=a?null:r,n=a?null:o}this._zone=i,this.loc=e.loc||oe.create(),this.invalid=a,this.weekData=null,this.localWeekData=null,this.c=r,this.o=n,this.isLuxonDateTime=!0}static now(){return new t({})}static local(){let[e,i]=Xl(arguments),[a,r,n,o,s,l,d]=i;return Yl({year:a,month:r,day:n,hour:o,minute:s,second:l,millisecond:d},e)}static utc(){let[e,i]=Xl(arguments),[a,r,n,o,s,l,d]=i;return e.zone=Xe.utcInstance,Yl({year:a,month:r,day:n,hour:o,minute:s,second:l,millisecond:d},e)}static fromJSDate(e,i={}){let a=Ph(e)?e.valueOf():NaN;if(Number.isNaN(a))return t.invalid("invalid input");let r=Bt(i.zone,pe.defaultZone);return r.isValid?new t({ts:a,zone:r,loc:oe.fromObject(i)}):t.invalid(Qr(r))}static fromMillis(e,i={}){if(Vt(e))return e<-Hl||e>Hl?t.invalid("Timestamp out of range"):new t({ts:e,zone:Bt(i.zone,pe.defaultZone),loc:oe.fromObject(i)});throw new Pe(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,i={}){if(Vt(e))return new t({ts:e*1e3,zone:Bt(i.zone,pe.defaultZone),loc:oe.fromObject(i)});throw new Pe("fromSeconds requires a numerical input")}static fromObject(e,i={}){e=e||{};let a=Bt(i.zone,pe.defaultZone);if(!a.isValid)return t.invalid(Qr(a));let r=oe.fromObject(i),n=ea(e,Jl),{minDaysInFirstWeek:o,startOfWeek:s}=jl(n,r),l=pe.now(),d=V(i.specificOffset)?a.offset(l):i.specificOffset,p=!V(n.ordinal),u=!V(n.year),h=!V(n.month)||!V(n.day),c=u||h,m=n.weekYear||n.weekNumber;if((c||p)&&m)throw new Wt("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&p)throw new Wt("Can't mix ordinal dates with month/day");let g=m||n.weekday&&!c,y,S,C=ji(l,d);g?(y=Qf,S=Gf,C=Ki(C,o,s)):p?(y=Zf,S=Hf,C=Ya(C)):(y=Ui,S=pc);let w=!1;for(let D of y){let L=n[D];V(L)?w?n[D]=S[D]:n[D]=C[D]:w=!0}let P=g?Th(n,o,s):p?Ch(n):qd(n),O=P||_d(n);if(O)return t.invalid(O);let A=g?Rl(n,o,s):p?kl(n):n,[q,R]=zi(A,d,a),F=new t({ts:q,zone:a,o:R,loc:r});return n.weekday&&c&&e.weekday!==F.weekday?t.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${F.toISO()}`):F.isValid?F:t.invalid(F.invalid)}static fromISO(e,i={}){let[a,r]=gf(e);return xr(a,r,i,"ISO 8601",e)}static fromRFC2822(e,i={}){let[a,r]=bf(e);return xr(a,r,i,"RFC 2822",e)}static fromHTTP(e,i={}){let[a,r]=vf(e);return xr(a,r,i,"HTTP",i)}static fromFormat(e,i,a={}){if(V(e)||V(i))throw new Pe("fromFormat requires an input string and a format");let{locale:r=null,numberingSystem:n=null}=a,o=oe.fromOpts({locale:r,numberingSystem:n,defaultToEN:!0}),[s,l,d,p]=Uf(o,e,i);return p?t.invalid(p):xr(s,l,a,`format ${i}`,e,d)}static fromString(e,i,a={}){return t.fromFormat(e,i,a)}static fromSQL(e,i={}){let[a,r]=Ff(e);return xr(a,r,i,"SQL",e)}static invalid(e,i=null){if(!e)throw new Pe("need to specify a reason the DateTime is invalid");let a=e instanceof ze?e:new ze(e,i);if(pe.throwOnInvalid)throw new dn(a);return new t({invalid:a})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,i={}){let a=dc(e,oe.fromObject(i));return a?a.map(r=>r?r.val:null).join(""):null}static expandFormat(e,i={}){return oc(Ve.parseFormat(e),oe.fromObject(i)).map(a=>a.val).join("")}static resetCache(){Zr=void 0,Fn.clear()}get(e){return this[e]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?en(this).weekYear:NaN}get weekNumber(){return this.isValid?en(this).weekNumber:NaN}get weekday(){return this.isValid?en(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?tn(this).weekday:NaN}get localWeekNumber(){return this.isValid?tn(this).weekNumber:NaN}get localWeekYear(){return this.isValid?tn(this).weekYear:NaN}get ordinal(){return this.isValid?Ya(this.c).ordinal:NaN}get monthShort(){return this.isValid?Fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Fr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];let e=864e5,i=6e4,a=oa(this.c),r=this.zone.offset(a-e),n=this.zone.offset(a+e),o=this.zone.offset(a-r*i),s=this.zone.offset(a-n*i);if(o===s)return[this];let l=a-o*i,d=a-s*i,p=ji(l,o),u=ji(d,s);return p.hour===u.hour&&p.minute===u.minute&&p.second===u.second&&p.millisecond===u.millisecond?[ir(this,{ts:l}),ir(this,{ts:d})]:[this]}get isInLeapYear(){return ti(this.year)}get daysInMonth(){return Xi(this.year,this.month)}get daysInYear(){return this.isValid?Pr(this.year):NaN}get weeksInWeekYear(){return this.isValid?Yr(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Yr(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){let{locale:i,numberingSystem:a,calendar:r}=Ve.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:i,numberingSystem:a,outputCalendar:r}}toUTC(e=0,i={}){return this.setZone(Xe.instance(e),i)}toLocal(){return this.setZone(pe.defaultZone)}setZone(e,{keepLocalTime:i=!1,keepCalendarTime:a=!1}={}){if(e=Bt(e,pe.defaultZone),e.equals(this.zone))return this;if(e.isValid){let r=this.ts;if(i||a){let n=e.offset(this.ts),o=this.toObject();[r]=zi(o,n,e)}return ir(this,{ts:r,zone:e})}else return t.invalid(Qr(e))}reconfigure({locale:e,numberingSystem:i,outputCalendar:a}={}){let r=this.loc.clone({locale:e,numberingSystem:i,outputCalendar:a});return ir(this,{loc:r})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;let i=ea(e,Jl),{minDaysInFirstWeek:a,startOfWeek:r}=jl(i,this.loc),n=!V(i.weekYear)||!V(i.weekNumber)||!V(i.weekday),o=!V(i.ordinal),s=!V(i.year),l=!V(i.month)||!V(i.day),d=s||l,p=i.weekYear||i.weekNumber;if((d||o)&&p)throw new Wt("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&o)throw new Wt("Can't mix ordinal dates with month/day");let u;n?u=Rl({...Ki(this.c,a,r),...i},a,r):V(i.ordinal)?(u={...this.toObject(),...i},V(i.day)&&(u.day=Math.min(Xi(u.year,u.month),u.day))):u=kl({...Ya(this.c),...i});let[h,c]=zi(u,this.o,this.zone);return ir(this,{ts:h,o:c})}plus(e){if(!this.isValid)return this;let i=Oe.fromDurationLike(e);return ir(this,Ql(this,i))}minus(e){if(!this.isValid)return this;let i=Oe.fromDurationLike(e).negate();return ir(this,Ql(this,i))}startOf(e,{useLocaleWeeks:i=!1}={}){if(!this.isValid)return this;let a={},r=Oe.normalizeUnit(e);switch(r){case"years":a.month=1;case"quarters":case"months":a.day=1;case"weeks":case"days":a.hour=0;case"hours":a.minute=0;case"minutes":a.second=0;case"seconds":a.millisecond=0;break}if(r==="weeks")if(i){let n=this.loc.getStartOfWeek(),{weekday:o}=this;o<n&&(a.weekNumber=this.weekNumber-1),a.weekday=n}else a.weekday=1;if(r==="quarters"){let n=Math.ceil(this.month/3);a.month=(n-1)*3+1}return this.set(a)}endOf(e,i){return this.isValid?this.plus({[e]:1}).startOf(e,i).minus(1):this}toFormat(e,i={}){return this.isValid?Ve.create(this.loc.redefaultToEN(i)).formatDateTimeFromString(this,e):Xa}toLocaleString(e=Ji,i={}){return this.isValid?Ve.create(this.loc.clone(i),e).formatDateTime(this):Xa}toLocaleParts(e={}){return this.isValid?Ve.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:i=!1,suppressMilliseconds:a=!1,includeOffset:r=!0,extendedZone:n=!1,precision:o="milliseconds"}={}){if(!this.isValid)return null;o=Gi(o);let s=e==="extended",l=rn(this,s,o);return Ui.indexOf(o)>=3&&(l+="T"),l+=Zl(this,s,i,a,r,n,o),l}toISODate({format:e="extended",precision:i="day"}={}){return this.isValid?rn(this,e==="extended",Gi(i)):null}toISOWeekDate(){return Ni(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:i=!1,includeOffset:a=!0,includePrefix:r=!1,extendedZone:n=!1,format:o="extended",precision:s="milliseconds"}={}){return this.isValid?(s=Gi(s),(r&&Ui.indexOf(s)>=3?"T":"")+Zl(this,o==="extended",i,e,a,n,s)):null}toRFC2822(){return Ni(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Ni(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?rn(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:i=!1,includeOffsetSpace:a=!0}={}){let r="HH:mm:ss.SSS";return(i||e)&&(a&&(r+=" "),i?r+="z":e&&(r+="ZZ")),Ni(this,r,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():Xa}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};let i={...this.c};return e.includeConfig&&(i.outputCalendar=this.outputCalendar,i.numberingSystem=this.loc.numberingSystem,i.locale=this.loc.locale),i}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,i="milliseconds",a={}){if(!this.isValid||!e.isValid)return Oe.invalid("created by diffing an invalid DateTime");let r={locale:this.locale,numberingSystem:this.numberingSystem,...a},n=Oh(i).map(Oe.normalizeUnit),o=e.valueOf()>this.valueOf(),s=o?this:e,l=o?e:this,d=Df(s,l,n,r);return o?d.negate():d}diffNow(e="milliseconds",i={}){return this.diff(t.now(),e,i)}until(e){return this.isValid?Er.fromDateTimes(this,e):this}hasSame(e,i,a){if(!this.isValid)return!1;let r=e.valueOf(),n=this.setZone(e.zone,{keepLocalTime:!0});return n.startOf(i,a)<=r&&r<=n.endOf(i,a)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;let i=e.base||t.fromObject({},{zone:this.zone}),a=e.padding?this<i?-e.padding:e.padding:0,r=["years","months","days","hours","minutes","seconds"],n=e.unit;return Array.isArray(e.unit)&&(r=e.unit,n=void 0),Kl(i,this.plus(a),{...e,numeric:"always",units:r,unit:n})}toRelativeCalendar(e={}){return this.isValid?Kl(e.base||t.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...e){if(!e.every(t.isDateTime))throw new Pe("min requires all arguments be DateTimes");return Nl(e,i=>i.valueOf(),Math.min)}static max(...e){if(!e.every(t.isDateTime))throw new Pe("max requires all arguments be DateTimes");return Nl(e,i=>i.valueOf(),Math.max)}static fromFormatExplain(e,i,a={}){let{locale:r=null,numberingSystem:n=null}=a,o=oe.fromOpts({locale:r,numberingSystem:n,defaultToEN:!0});return lc(o,e,i)}static fromStringExplain(e,i,a={}){return t.fromFormatExplain(e,i,a)}static buildFormatParser(e,i={}){let{locale:a=null,numberingSystem:r=null}=i,n=oe.fromOpts({locale:a,numberingSystem:r,defaultToEN:!0});return new ta(n,e)}static fromFormatParser(e,i,a={}){if(V(e)||V(i))throw new Pe("fromFormatParser requires an input string and a format parser");let{locale:r=null,numberingSystem:n=null}=a,o=oe.fromOpts({locale:r,numberingSystem:n,defaultToEN:!0});if(!o.equals(i.locale))throw new Pe(`fromFormatParser called with a locale of ${o}, but the format parser was created for ${i.locale}`);let{result:s,zone:l,specificOffset:d,invalidReason:p}=i.explainFromTokens(e);return p?t.invalid(p):xr(s,l,a,`format ${i.format}`,e,d)}static get DATE_SHORT(){return Ji}static get DATE_MED(){return hd}static get DATE_MED_WITH_WEEKDAY(){return nh}static get DATE_FULL(){return fd}static get DATE_HUGE(){return md}static get TIME_SIMPLE(){return yd}static get TIME_WITH_SECONDS(){return gd}static get TIME_WITH_SHORT_OFFSET(){return bd}static get TIME_WITH_LONG_OFFSET(){return vd}static get TIME_24_SIMPLE(){return Sd}static get TIME_24_WITH_SECONDS(){return wd}static get TIME_24_WITH_SHORT_OFFSET(){return Id}static get TIME_24_WITH_LONG_OFFSET(){return xd}static get DATETIME_SHORT(){return Td}static get DATETIME_SHORT_WITH_SECONDS(){return Cd}static get DATETIME_MED(){return Fd}static get DATETIME_MED_WITH_SECONDS(){return Pd}static get DATETIME_MED_WITH_WEEKDAY(){return sh}static get DATETIME_FULL(){return Od}static get DATETIME_FULL_WITH_SECONDS(){return Ed}static get DATETIME_HUGE(){return Ad}static get DATETIME_HUGE_WITH_SECONDS(){return $d}};function Gr(t){if(ue.isDateTime(t))return t;if(t&&t.valueOf&&Vt(t.valueOf()))return ue.fromJSDate(t);if(t&&typeof t=="object")return ue.fromObject(t);throw new Pe(`Unknown datetime argument: ${t}, of type ${typeof t}`)}var ed={Count:"count",Start:"minValue",End:"maxValue"},uc={Reject:"reject",RenderUpToTheLimit:"renderUpToTheLimit"},H={AxisLabels:"axisLabels",GuideLabel:"guideLabel",AxisTitle:"axisTitle",ChartTitle:"chartTitle",ChartSubtitle:"chartSubtitle",DataLabels:"dataLabels",LegendTitle:"legendTitle",LegendText:"legendText",DescriptionText:"descriptionText"},pv=32,uv="arcgis_charts_features_extent",or={maxRecordCountFactor:5,maxParallelRequests:4,maxRecords:2e3,orderByJSAPIDelimiter:" ",outStatistics:{statisticType:ls.statisticType,onStatisticField:"OBJECTID",outStatisticFieldName:"arcgis_charts_outStatisticFieldName_default_key"},uniqueIdsName:"arcgisChartsUniqueIds"},Yf=["EXPR_1","Expr1","expr1","EXPR1"],hv=1,lt=.7,Kf=25,hc=[156,156,156,255],Xf=[156,156,156,255],fv=vr.Solid,mv=2,yv={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"},Bn="arcgis_charts_box_plot_category",em={valueField:"arcgis_charts_heat_chart_value",xField:"arcgis_charts_heat_chart_x",yField:"arcgis_charts_heat_chart_y"},tm=[[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]],rm=[[104,104,104,255],[51,124,235,255],[132,0,168,255],[156,156,156,255]];function mt(t){let{colorIndex:e,opacity:i,histogramOverlays:a}=t,r=Math.max(0,e??0),n=[...a===!0?rm:tm],[o,s,l,d]=n[r%n.length],p=i!==void 0?i*255:d;return[o,s,l,p]}function fc(t){return[0,0,0,(t??lt)*255]}function gv(){return{type:x.CursorCrosshair,verticalLineVisible:!1,horizontalLineVisible:!1,style:{type:Le.SLS,style:vr.Dot,color:[211,211,211,255],width:1}}}function ca(t=1){return[Math.floor(Math.random()*256),Math.floor(Math.random()*256),Math.floor(Math.random()*256),t*255]}function ie(t){let e={family:"Arial, Helvetica, sans-serif",size:10};switch(t){case H.ChartTitle:e.size=18;break;case H.AxisTitle:e.size=14;break;case H.LegendText:e.size=12;break;case H.LegendTitle:e.size=13;break;case H.DescriptionText:e.size=11;break}return e}function mc(t="",e=ie(),i){let a=ui.Center;return(i===H.DataLabels||i===H.GuideLabel)&&(a=void 0),{type:Le.TS,color:fc(),text:t,font:e,horizontalAlignment:a}}function J(t){let{text:e,visible:i,font:a,type:r}=t??{text:"",visible:!0,font:ie()};return{type:x.Text,visible:i,content:mc(e,a,r)}}function ai(t){let e=t?.useRandomColor??!1,i=t?.useRampColor,a=t?.width??1,r=t?.isHistogramOverlay,n=t?.color??fc(1);return e?n=ca():i!==void 0&&(r===!0?n=mt({colorIndex:i.colorIndex,histogramOverlays:r}):n=mt({colorIndex:i.colorIndex})),t?.opacity!==void 0&&(n[3]=t.opacity),{type:Le.SLS,style:vr.Solid,color:n,width:a}}function im(){return{type:x.CategoryAxisFormat,characterLimit:11}}function bv(){return{type:x.DateAxisFormat,intlOptions:{}}}function Pn(){return{type:x.NumberAxisFormat,intlOptions:{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:3,useGrouping:!0}}}function vv(){return{type:x.NumberAxisFormat,intlOptions:{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:2}}}function Sv(){return{type:x.NumberAxisFormat,intlOptions:{style:"percent",minimumFractionDigits:0,maximumFractionDigits:0}}}function an(t="Category Axis"){let e=J({text:t,visible:!0,font:ie(H.AxisTitle)});e.content.horizontalAlignment=ui.Center,e.content.verticalAlignment=Sa.Middle;let i=J({text:t,visible:!0,font:ie(H.AxisLabels)});return{type:x.Axis,visible:!0,title:e,labels:i,valueFormat:im(),lineSymbol:ai({color:hc})}}function Hi(t="Value Axis"){let e=J({text:t,visible:!0,font:ie(H.AxisTitle)}),i=J({text:t,visible:!0,font:ie(H.AxisLabels)});return e.content.verticalAlignment=Sa.Middle,e.content.horizontalAlignment=ui.Center,{type:x.Axis,visible:!0,title:e,labels:i,valueFormat:Pn(),lineSymbol:ai({color:hc})}}function Ut(){return{type:x.Legend,visible:!0,title:J({text:"",visible:!0,font:ie(H.LegendTitle)}),body:mc("",ie(H.LegendText)),position:ba.Right,maxHeight:Number.NaN}}function qi(t){return{type:x.Overlay,visible:!0,created:!1,symbol:ai({useRampColor:{colorIndex:t},isHistogramOverlay:!0})}}function Gt(){return[255,255,255,255]}function Et(t){return t.utilsStrings.chartType.chart}function At(){return`Chart ${Date.now()}`}function wv(t,e=!1){return{type:Le.SFS,style:Sr.Solid,color:e?ca(lt):mt({colorIndex:t??0,opacity:lt})}}function am(t=0){return{type:Le.SMS,style:va.Circle,color:mt({colorIndex:t,opacity:lt}),size:4}}function nm(t){return{type:Le.SLS,style:vr.Solid,color:mt({colorIndex:t,opacity:lt}),width:2}}function sm(t=!1){return{type:Le.SMS,style:va.Circle,color:t?ca(lt):mt({colorIndex:0,opacity:lt}),size:7}}function Iv(){return{type:x.SizePolicy,field:"",scaleType:ps.Linear,minSize:5,maxSize:30}}function om(t=!1){return{type:x.Overlays,trendLine:{type:x.Overlay,created:!1,visible:!0,symbol:{type:Le.SLS,style:vr.Solid,color:t?ca():mt({colorIndex:1}),width:2}}}}function lm(t){let e=t??"ObjectID";return{type:x.HeatSeries,id:x.HeatSeries,name:x.HeatSeries,y:"",x:"",dataLabels:J({text:"",visible:!1,font:ie(H.DataLabels)}),query:{outStatistics:[{statisticType:le.Count,onStatisticField:e,outStatisticFieldName:"coutnt_objectt_id"}]}}}function dm(){return{type:x.ScatterSeries,id:x.ScatterSeries,name:x.ScatterSeries,x:"",y:"",markerSymbol:sm(),overlays:om(),dataLabels:J({text:"",visible:!1,font:ie(H.DataLabels)})}}function lr(t,e){let i=[],a=t.xAxis,r=t.utilsStrings.statistics.count,n,o,s=ai({opacity:Kf});switch(e===x.HeatSeries?o=an(r):(o=Hi(r),o.grid=s),e){case x.BarSeries:case x.HeatSeries:{n=an(a);break}case x.ScatterSeries:{n=Hi(a),n.grid=s;break}case x.RadarSeries:case x.LineSeries:case x.HistogramSeries:{n=Hi(a);break}case x.BoxPlotSeries:{n=an("");break}}return n!==void 0&&i.push(n,o),i}function cm(){return{type:x.GaugeNeedle,symbol:{type:Le.SFS,color:[0,0,0,200]}}}function pm(t){let e=[],i=t.xAxis,a=Hi(i);return a.needle=cm(),e.push(a),e}function um(t){let e=t.commonStrings,i=t.objectIDField??"ObjectID",a=`${le.Count}_${i}_0`.toUpperCase(),r=e.countSeries;return{type:x.LineSeries,id:r,name:r,query:{outStatistics:[{statisticType:le.Count,onStatisticField:i,outStatisticFieldName:a}],groupByFieldsForStatistics:[]},x:"",y:a,lineSymbol:nm(t.seriesIndex),markerSymbol:am(t.seriesIndex),dataLabels:J({text:"",visible:!1,font:ie(H.DataLabels)}),temporalBinning:{unit:me.Day,size:0,timeAggregationType:gr.Start,trimIncompleteTimeInterval:!0,nullPolicy:ds.Interpolate}}}function xv(t){return{...um(t),type:x.RadarSeries}}function hm(t){return{type:Le.SFS,style:Sr.Solid,color:mt({colorIndex:t,opacity:lt})}}function Tv(t){let e=t.objectIDField??"ObjectID",i=t.commonStrings,a=`${le.Count}_${e}_0`.toUpperCase(),r=i.countSeries;return{type:x.BarSeries,id:r,name:r,query:{outStatistics:[{statisticType:le.Count,onStatisticField:e,outStatisticFieldName:a}],groupByFieldsForStatistics:[]},x:"",y:a,fillSymbol:hm(t.seriesIndex),dataLabels:J({text:"",visible:!1,font:ie(H.DataLabels),type:H.DataLabels})}}function Cv(t,e){let i=t.countSeries;return{name:i,type:x.BoxPlotSeries,id:i,fillSymbol:{type:Le.SFS,style:Sr.Solid,color:mt({colorIndex:e,opacity:lt})},query:{},x:Bn,y:""}}function fm(){return{type:x.PieTick,visible:!0,lineSymbol:ai({width:1,color:Xf})}}function mm(){return{type:Le.SFS,style:Sr.Solid}}function Fv(t,e){let i=`${le.Count}_${e}_0`.toUpperCase(),a=t.countSeries;return{type:x.PieSeries,id:a,name:a,query:{outStatistics:[{statisticType:le.Count,onStatisticField:e??"ObjectID",outStatisticFieldName:i}],groupByFieldsForStatistics:[]},x:"",y:i,fillSymbol:mm(),dataLabels:J({text:"",visible:!1,font:ie(H.DataLabels),type:H.DataLabels}),startAngle:-90,endAngle:270,dataLabelsCharacterLimit:11,displayCategoryOnDataLabel:!0,displayNumericValueOnDataLabel:!1,displayPercentageOnDataLabel:!0,numericValueFormat:{...Pn(),intlOptions:{minimumFractionDigits:1,maximumFractionDigits:1}},percentValueFormat:{...Pn(),intlOptions:{minimumFractionDigits:1,maximumFractionDigits:1}},ticks:fm()}}function Pv(t){let e=t.objectIDField??"ObjectID",i=`${le.Count}_${e}_0`.toUpperCase(),a="Series0";return{type:x.GaugeSeries,id:a,name:a,query:{outStatistics:[{statisticType:le.Count,onStatisticField:e,outStatisticFieldName:i}]},x:""}}function Kr(){return!1}function Ov(t,e=At()){return{version:Ot,type:x.Chart,id:e,colorMatch:!0,rotated:Kr(),orderOptions:{data:{orderType:br.Category,orderBy:It.Ascending}},title:J({text:Et(t),visible:!0,font:ie(H.ChartTitle)}),subtitle:J(),footer:J({text:"",visible:!0,font:ie(H.DescriptionText)}),background:Gt(),axes:lr(t,x.BarSeries),series:[],legend:Ut()}}function Ev(t,e=At()){return{version:Ot,type:x.Chart,id:e,rotated:Kr(),colorMatch:!0,orderOptions:{data:{orderType:br.Category,orderBy:It.Ascending}},title:J({text:Et(t),visible:!0,font:ie(H.ChartTitle)}),subtitle:J(),footer:J({text:"",visible:!0,font:ie(H.DescriptionText)}),background:Gt(),series:[],legend:Ut(),axes:lr(t,x.BoxPlotSeries),standardizeValues:!0,showOutliers:!1}}function Av(t,e=At()){return{version:Ot,type:x.Chart,id:e,colorMatch:!0,rotated:Kr(),orderOptions:{data:{orderType:br.Category,orderBy:It.Ascending}},title:J({text:Et(t),visible:!0,font:ie(H.ChartTitle)}),subtitle:J(),footer:J({text:"",visible:!0,font:ie(H.DescriptionText)}),background:Gt(),axes:lr(t,x.LineSeries),series:[],legend:Ut()}}function $v(t,e=At()){return{version:Ot,type:x.Chart,id:e,colorMatch:!0,orderOptions:{data:{orderType:br.Category,orderBy:It.Ascending}},title:J({text:Et(t),visible:!0,font:ie(H.ChartTitle)}),subtitle:J(),footer:J({text:"",visible:!0,font:ie(H.DescriptionText)}),background:Gt(),axes:lr(t,x.RadarSeries),series:[],legend:Ut()}}function Dv(t,e=At()){return{version:Ot,type:x.Chart,id:e,colorMatch:!0,orderOptions:{data:{orderType:br.YValue,orderBy:It.Descending}},title:J({text:Et(t),visible:!0,font:ie(H.ChartTitle)}),subtitle:J(),footer:J({text:"",visible:!0,font:ie(H.DescriptionText)}),background:Gt(),series:[],legend:{...Ut(),displayNumericValue:!1,displayPercentage:!0}}}function Lv(t,e=At()){return{version:Ot,type:x.Chart,id:e,colorMatch:!0,title:J({text:Et(t),visible:!0,font:ie(H.ChartTitle)}),series:[],axes:pm(t)}}function Rv(t,e=At()){return{version:Ot,type:x.Chart,id:e,colorMatch:!0,title:J({text:Et(t),visible:!0,font:ie(H.ChartTitle)}),subtitle:J(),footer:J({text:"",visible:!0,font:ie(H.DescriptionText)}),background:Gt(),axes:lr(t,x.ScatterSeries),series:[dm()],legend:Ut()}}function kv(t,e){return{version:Ot,type:x.Chart,id:At(),title:J({text:Et(t),visible:!0,font:ie(H.ChartTitle)}),background:Gt(),axes:lr(t,x.HeatSeries),series:[lm(e)],legend:{...Ut(),position:ba.Bottom}}}function ym(){return{type:x.Overlays,mean:qi(1),median:qi(2),standardDeviation:qi(3),comparisonDistribution:qi(4)}}function gm(){return{type:Le.SFS,style:Sr.Solid,color:mt({colorIndex:0,opacity:lt})}}function bm(){return{type:x.HistogramSeries,id:x.HistogramSeries,name:x.HistogramSeries,visible:!0,dataTooltipVisible:!0,dataTooltipReverseColor:!1,assignToSecondValueAxis:!1,x:"",binCount:32,overlays:ym(),dataTransformationType:ga.None,fillSymbol:gm(),dataLabels:J({text:"",visible:!1,font:ie(H.DataLabels)})}}function jv(t,e=At()){return{version:Ot,type:x.Chart,id:e,colorMatch:!0,title:J({text:Et(t),visible:!0,font:ie(H.ChartTitle)}),subtitle:J(),footer:J({text:"",visible:!0,font:ie(H.DescriptionText)}),background:Gt(),axes:lr(t,x.HistogramSeries),series:[bm()],legend:Ut()}}var nn={behaviorAfterLimit:uc.Reject,maxCategoryCount:Number.NaN,maxBarChartSeriesCount:100,maxBarUniqueSeriesCountTotal:1e4,maxBarTwoSeriesCountPerSeries:1e3,maxBarTwoSeriesCountTotal:2e3,maxBarThreePlusSeriesCountPerSeries:100,maxBarThreePlusSeriesCountTotal:2e3,maxScatterPointsBeforeAggregation:1e4,maxScatterPointsAfterAggregation:1e4,maxLineChartSeriesCount:100,maxLineUniqueSeriesCountTotal:1e4,maxLineTwoSeriesCountPerSeries:5e3,maxLineTwoSeriesCountTotal:1e4,maxLineThreePlusSeriesCountPerSeries:1e3,maxLineThreePlusSeriesCountTotal:1e4,maxPieChartSliceCountTotal:300,maxGaugeByFeaturesLimit:50,maxBoxPlotSeriesCount:100,maxBoxUniqueSeriesCountTotal:1e4,maxBoxTwoSeriesCountPerSeries:1e3,maxBoxTwoSeriesCountTotal:2e3,maxBoxThreePlusSeriesCountPerSeries:100,maxBoxThreePlusSeriesCountTotal:2e3,maxBoxPlotOutlierLimit:1e4,maxHeatChartCellLimit:1e4};function vm(t){let e={...nn};return t!==void 0&&Object.keys(nn).forEach(i=>{let a=i;e[a]=t[a]??nn[a]}),e}function Nv(){return{maxScatterCellsPerQuery:500,maxScatterCellsPerQueryForStandard:175,maxElementsPerSelectionQuery:25,maxOIDsPerSelectionQuery:2e3,maxOperandsPerWhereClause:200}}function qv(t,e){let 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}function _v(t,e){let i;switch(t){case gr.End:{i=e.timeAggregationTypes.end;break}case gr.Start:{i=e.timeAggregationTypes.start;break}default:i="";break}return i}function Sm(){return Vr.Side}function Mv(t){return t.utilsStrings.notAvailable}var Bv=0,wm="_arcgis_charts_outliers",Im="_arcgis_charts_z_score",Wv=[210,210,210,255*lt],Vv=" percentage ";var ra=function(){return ra=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},ra.apply(this,arguments)},On={exports:{}},ye={},En={exports:{}},dr={};function yc(){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 xm(t,e,i){}function Tm(t,e,i){}var Cm=/javascript\s*\:/img;function Fm(t,e){return Cm.test(e)?"":e}dr.whiteList=yc();dr.getDefaultWhiteList=yc;dr.onAttr=xm;dr.onIgnoreAttr=Tm;dr.safeAttrValue=Fm;var Pm={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,"")}},Hr=Pm;function Om(t,e){t=Hr.trimRight(t),t[t.length-1]!==";"&&(t+=";");var i=t.length,a=!1,r=0,n=0,o="";function s(){if(!a){var p=Hr.trim(t.slice(r,n)),u=p.indexOf(":");if(u!==-1){var h=Hr.trim(p.slice(0,u)),c=Hr.trim(p.slice(u+1));if(h){var m=e(r,o.length,h,c,p);m&&(o+=m+"; ")}}}r=n+1}for(;n<i;n++){var l=t[n];if(l==="/"&&t[n+1]==="*"){var d=t.indexOf("*/",n+2);if(d===-1)break;n=d+1,r=n+1,a=!1}else l==="("?a=!0:l===")"?a=!1:l===";"?a||s():l===`
5
- `&&s()}return Hr.trim(o)}var Em=Om,_i=dr,Am=Em;function td(t){return t==null}function $m(t){var e={};for(var i in t)e[i]=t[i];return e}function gc(t){t=$m(t||{}),t.whiteList=t.whiteList||_i.whiteList,t.onAttr=t.onAttr||_i.onAttr,t.onIgnoreAttr=t.onIgnoreAttr||_i.onIgnoreAttr,t.safeAttrValue=t.safeAttrValue||_i.safeAttrValue,this.options=t}gc.prototype.process=function(t){if(t=t||"",t=t.toString(),!t)return"";var e=this,i=e.options,a=i.whiteList,r=i.onAttr,n=i.onIgnoreAttr,o=i.safeAttrValue,s=Am(t,function(l,d,p,u,h){var c=a[p],m=!1;if(c===!0?m=c:typeof c=="function"?m=c(u):c instanceof RegExp&&(m=c.test(u)),m!==!0&&(m=!1),u=o(p,u),!!u){var g={position:d,sourcePosition:l,source:h,isWhite:m};if(m){var y=r(p,u,g);return td(y)?p+":"+u:y}else{var y=n(p,u,g);if(!td(y))return y}}});return s};var Dm=gc;(function(t,e){var i=dr,a=Dm;function r(o,s){var l=new a(s);return l.process(o)}e=t.exports=r,e.FilterCSS=a;for(var n in i)e[n]=i[n]})(En,En.exports);var Wn=En.exports,Vn={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}},Lm=Wn.FilterCSS,Rm=Wn.getDefaultWhiteList,ia=Vn;function bc(){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 vc=new Lm;function km(t,e,i){}function jm(t,e,i){}function Nm(t,e,i){}function qm(t,e,i){}function Sc(t){return t.replace(Mm,"&lt;").replace(Bm,"&gt;")}function _m(t,e,i,a){if(i=Fc(i),e==="href"||e==="src"){if(i=ia.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(Mi.lastIndex=0,Mi.test(i))return""}else if(e==="style"){if(rd.lastIndex=0,rd.test(i)||(id.lastIndex=0,id.test(i)&&(Mi.lastIndex=0,Mi.test(i))))return"";a!==!1&&(a=a||vc,i=a.process(i))}return i=Pc(i),i}var Mm=/</g,Bm=/>/g,Wm=/"/g,Vm=/&quot;/g,zm=/&#([a-zA-Z0-9]*);?/gim,Um=/&colon;?/gim,Gm=/&newline;?/gim,Mi=/((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,rd=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,id=/u\s*r\s*l\s*\(.*/gi;function wc(t){return t.replace(Wm,"&quot;")}function Ic(t){return t.replace(Vm,'"')}function xc(t){return t.replace(zm,function(e,i){return i[0]==="x"||i[0]==="X"?String.fromCharCode(parseInt(i.substr(1),16)):String.fromCharCode(parseInt(i,10))})}function Tc(t){return t.replace(Um,":").replace(Gm," ")}function Cc(t){for(var e="",i=0,a=t.length;i<a;i++)e+=t.charCodeAt(i)<32?" ":t.charAt(i);return ia.trim(e)}function Fc(t){return t=Ic(t),t=xc(t),t=Tc(t),t=Cc(t),t}function Pc(t){return t=wc(t),t=Sc(t),t}function Hm(){return""}function Qm(t,e){typeof e!="function"&&(e=function(){});var i=!Array.isArray(t);function a(o){return i?!0:ia.indexOf(t,o)!==-1}var r=[],n=!1;return{onIgnoreTag:function(o,s,l){if(a(o))if(l.isClosing){var d="[/removed]",p=l.position+d.length;return r.push([n!==!1?n:l.position,p]),n=!1,d}else return n||(n=l.position),"[removed]";else return e(o,s,l)},remove:function(o){var s="",l=0;return ia.forEach(r,function(d){s+=o.slice(l,d[0]),l=d[1]}),s+=o.slice(l),s}}}function Zm(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 Jm(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("")}ye.whiteList=bc();ye.getDefaultWhiteList=bc;ye.onTag=km;ye.onIgnoreTag=jm;ye.onTagAttr=Nm;ye.onIgnoreTagAttr=qm;ye.safeAttrValue=_m;ye.escapeHtml=Sc;ye.escapeQuote=wc;ye.unescapeQuote=Ic;ye.escapeHtmlEntities=xc;ye.escapeDangerHtml5Entities=Tc;ye.clearNonPrintableCharacter=Cc;ye.friendlyAttrValue=Fc;ye.escapeAttrValue=Pc;ye.onIgnoreTagStripAll=Hm;ye.StripTagBody=Qm;ye.stripCommentTag=Zm;ye.stripBlankChar=Jm;ye.cssFilter=vc;ye.getDefaultCSSWhiteList=Rm;var pa={},Mt=Vn;function Ym(t){var e=Mt.spaceIndex(t),i;return e===-1?i=t.slice(1,-1):i=t.slice(1,e+1),i=Mt.trim(i).toLowerCase(),i.slice(0,1)==="/"&&(i=i.slice(1)),i.slice(-1)==="/"&&(i=i.slice(0,-1)),i}function Km(t){return t.slice(0,2)==="</"}function Xm(t,e,i){var a="",r=0,n=!1,o=!1,s=0,l=t.length,d="",p="";e:for(s=0;s<l;s++){var u=t.charAt(s);if(n===!1){if(u==="<"){n=s;continue}}else if(o===!1){if(u==="<"){a+=i(t.slice(r,s)),n=s,r=s;continue}if(u===">"){a+=i(t.slice(r,n)),p=t.slice(n,s+1),d=Ym(p),a+=e(n,a.length,d,p,Km(p)),r=s+1,n=!1;continue}if(u==='"'||u==="'")for(var h=1,c=t.charAt(s-h);c.trim()===""||c==="=";){if(c==="="){o=u;continue e}c=t.charAt(s-++h)}}else if(u===o){o=!1;continue}}return r<t.length&&(a+=i(t.substr(r))),a}var ey=/[^a-zA-Z0-9\\_:.-]/gim;function ty(t,e){var i=0,a=0,r=[],n=!1,o=t.length;function s(h,c){if(h=Mt.trim(h),h=h.replace(ey,"").toLowerCase(),!(h.length<1)){var m=e(h,c||"");m&&r.push(m)}}for(var l=0;l<o;l++){var d=t.charAt(l),p,u;if(n===!1&&d==="="){n=t.slice(i,l),i=l+1,a=t.charAt(i)==='"'||t.charAt(i)==="'"?i:iy(t,l+1);continue}if(n!==!1&&l===a){if(u=t.indexOf(d,l+1),u===-1)break;p=Mt.trim(t.slice(a+1,u)),s(n,p),n=!1,l=u,i=l+1;continue}if(/\s|\n|\t/.test(d))if(t=t.replace(/\s|\n|\t/g," "),n===!1)if(u=ry(t,l),u===-1){p=Mt.trim(t.slice(i,l)),s(p),n=!1,i=l+1;continue}else{l=u-1;continue}else if(u=ay(t,l-1),u===-1){p=Mt.trim(t.slice(i,l)),p=ad(p),s(n,p),n=!1,i=l+1;continue}else continue}return i<t.length&&(n===!1?s(t.slice(i)):s(n,ad(Mt.trim(t.slice(i))))),Mt.trim(r.join(" "))}function ry(t,e){for(;e<t.length;e++){var i=t[e];if(i!==" ")return i==="="?e:-1}}function iy(t,e){for(;e<t.length;e++){var i=t[e];if(i!==" ")return i==="'"||i==='"'?e:-1}}function ay(t,e){for(;e>0;e--){var i=t[e];if(i!==" ")return i==="="?e:-1}}function ny(t){return t[0]==='"'&&t[t.length-1]==='"'||t[0]==="'"&&t[t.length-1]==="'"}function ad(t){return ny(t)?t.substr(1,t.length-2):t}pa.parseTag=Xm;pa.parseAttr=ty;var sy=Wn.FilterCSS,st=ye,Oc=pa,oy=Oc.parseTag,ly=Oc.parseAttr,Qi=Vn;function Bi(t){return t==null}function dy(t){var e=Qi.spaceIndex(t);if(e===-1)return{html:"",closing:t[t.length-2]==="/"};t=Qi.trim(t.slice(e+1,-1));var i=t[t.length-1]==="/";return i&&(t=Qi.trim(t.slice(0,-1))),{html:t,closing:i}}function cy(t){var e={};for(var i in t)e[i]=t[i];return e}function py(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 Ec(t){t=cy(t||{}),t.stripIgnoreTag&&(t.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),t.onIgnoreTag=st.onIgnoreTagStripAll),t.whiteList||t.allowList?t.whiteList=py(t.whiteList||t.allowList):t.whiteList=st.whiteList,t.onTag=t.onTag||st.onTag,t.onTagAttr=t.onTagAttr||st.onTagAttr,t.onIgnoreTag=t.onIgnoreTag||st.onIgnoreTag,t.onIgnoreTagAttr=t.onIgnoreTagAttr||st.onIgnoreTagAttr,t.safeAttrValue=t.safeAttrValue||st.safeAttrValue,t.escapeHtml=t.escapeHtml||st.escapeHtml,this.options=t,t.css===!1?this.cssFilter=!1:(t.css=t.css||{},this.cssFilter=new sy(t.css))}Ec.prototype.process=function(t){if(t=t||"",t=t.toString(),!t)return"";var e=this,i=e.options,a=i.whiteList,r=i.onTag,n=i.onIgnoreTag,o=i.onTagAttr,s=i.onIgnoreTagAttr,l=i.safeAttrValue,d=i.escapeHtml,p=e.cssFilter;i.stripBlankChar&&(t=st.stripBlankChar(t)),i.allowCommentTag||(t=st.stripCommentTag(t));var u=!1;i.stripIgnoreTagBody&&(u=st.StripTagBody(i.stripIgnoreTagBody,n),n=u.onIgnoreTag);var h=oy(t,function(c,m,g,y,S){var C={sourcePosition:c,position:m,isClosing:S,isWhite:Object.prototype.hasOwnProperty.call(a,g)},w=r(g,y,C);if(!Bi(w))return w;if(C.isWhite){if(C.isClosing)return"</"+g+">";var P=dy(y),O=a[g],A=ly(P.html,function(q,R){var F=Qi.indexOf(O,q)!==-1,D=o(g,q,R,F);return Bi(D)?F?(R=l(g,q,R,p),R?q+'="'+R+'"':q):(D=s(g,q,R,F),Bi(D)?void 0:D):D});return y="<"+g,A&&(y+=" "+A),P.closing&&(y+=" /"),y+=">",y}else return w=n(g,y,C),Bi(w)?d(y):w},d);return u&&(h=u.remove(h)),h};var uy=Ec;(function(t,e){var i=ye,a=pa,r=uy;function n(s,l){var d=new r(l);return d.process(s)}e=t.exports=n,e.filterXSS=n,e.FilterXSS=r,function(){for(var s in i)e[s]=i[s];for(var l in a)e[l]=a[l]}();function o(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}o()&&(self.filterXSS=t.exports)})(On,On.exports);var Tr=On.exports,hy=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},fy=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=ra(ra({},Tr.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(n,o,s,l){return n==="a"&&o==="href"||(n==="img"||n==="source")&&o==="src"?a.sanitizeUrl(s):Tr.safeAttrValue(n,o,s,l)}},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(n){if(n==="whiteList")r.whiteList=a._extendObjectOfArrays([a.arcgisWhiteList,e.whiteList||{}]);else if(n==="css"){var o=e.css.whiteList;o!=null&&e.css instanceof Object&&Object.keys(o).forEach(function(s){return r.css.whiteList[s]=o[s]})}else r[n]=e[n]})):(r=Object.create(this.arcgisFilterOptions),r.whiteList=this.arcgisWhiteList,r.css={whiteList:this.arcgisCSSWhiteList}),this.xssFilterOptions=r,this._xssFilter=new Tr.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,n=this._trim(e.substring(0,e.indexOf(":"))),o=e==="/",s=/^#/.test(e),l=n&&this.allowedProtocols.indexOf(n.toLowerCase())>-1;return o||s||l?Tr.escapeAttrValue(e):!n&&!r?Tr.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):Tr.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,n=void 0;if(Array.isArray(e))n=e.reduce(function(s,l){var d=a.validate(l,i);return d.isValid?s.concat([l]):(r=!0,s.concat([d.sanitized]))},[]);else if(hy(e)){var o=Object.keys(e);n=o.reduce(function(s,l){var d=e[l],p=a.validate(d,i);return p.isValid?s[l]=d:(r=!0,s[l]=p.sanitized),s},{})}else return i.allowUndefined&&typeof e>"u"?void 0:null;return r?n:e}catch{return null}},t.prototype._trim=function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},t}(),M={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"},zv={SelectionByClick:"SelectionByClick",SelectionByRange:"SelectionByRange",ProgrammaticSelection:"ProgrammaticSelection",ClearSelection:"ClearSelection"};function Uv(t){return t?.colorMatch??!1}function Gv(t){let e=Kr();if(t!==void 0){let i=_e(t.series);(i===x.BarSeries||i===x.LineSeries||i===x.ComboLineAndBarSeries||i===x.BoxPlotSeries)&&(e=t.rotated??Kr())}return e}function Hv(t){return t?.map(e=>e.type)??[]}function my(t){let e=t?.stackedType;if(e===void 0&&t!==void 0){let i=_e(t.series);(i===x.BarSeries||i===x.LineSeries||i===x.ComboLineAndBarSeries||i===x.RadarSeries)&&(e=Sm())}return e}function yy(t){let e=t;return e=e.replace(/'/gu,"''"),e=e.replace(/[/\\"|[\]\\]/gu,"\\$&"),e}function gy(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 by(t){let e=t,i="";t.startsWith("'")&&t.endsWith("'")&&(e=t.slice(1,-1),i="'"),e=e.replace(/'/gu,"''");let a="";return gy(e)&&(a="N"),`${a}${i}${e}${i}`}function Ac(t){let{value:e,keepSurroundingQuotes:i,escape:a}=t,r=e?.trim();if(!yt(r)){let n="";r.startsWith("'")&&r.endsWith("'")&&(r=r.slice(1,-1),i&&(n="'")),a!==!1&&(r=yy(r)),r=`${n}${r}${n}`}return r}function Qv(t){let{count:e,seriesCount:i,chartType:a,chartLimits:r}=t,{behaviorAfterLimit:n}=r??{},o=!0;if(n!==uc.RenderUpToTheLimit){let{maxBarChartSeriesCount:s,maxBarUniqueSeriesCountTotal:l,maxBarTwoSeriesCountPerSeries:d,maxBarTwoSeriesCountTotal:p,maxBarThreePlusSeriesCountPerSeries:u,maxBarThreePlusSeriesCountTotal:h,maxLineChartSeriesCount:c,maxLineUniqueSeriesCountTotal:m,maxLineTwoSeriesCountPerSeries:g,maxLineTwoSeriesCountTotal:y,maxLineThreePlusSeriesCountPerSeries:S,maxLineThreePlusSeriesCountTotal:C,maxPieChartSliceCountTotal:w,maxGaugeByFeaturesLimit:P,maxBoxPlotSeriesCount:O,maxBoxUniqueSeriesCountTotal:A,maxBoxTwoSeriesCountTotal:q,maxBoxTwoSeriesCountPerSeries:R,maxBoxThreePlusSeriesCountTotal:F,maxBoxThreePlusSeriesCountPerSeries:D,maxHeatChartCellLimit:L}=vm(r);switch(a){case x.BarSeries:case x.ComboLineAndBarSeries:{let j=e/i;i<=s?i===0?o=!0:i===1?o=e<=l:i===2?o=e<=p&&j<=d:i>2&&(o=e<=h&&j<=u):o=!1}break;case x.LineSeries:case x.RadarSeries:{let j=e/i;i<=c?i===0?o=!0:i===1?o=e<=m:i===2?o=e<=y&&j<=g:i>2&&(o=e<=C&&j<=S):o=!1}break;case x.PieSeries:o=e<=w;break;case x.BoxPlotSeries:{let j=e/i;i<=O?i===0?o=!0:i===1?o=e<=A:i===2?o=e<=q&&j<=R:i>2&&(o=e<=F&&j<=D):o=!1}break;case x.HeatSeries:o=e<=L;break;case x.GaugeSeries:o=e<=P;break}}return o}function Zv(t=[],e){let i=t.find(a=>a.name===e)?.alias;return i!==""?i??e:e}function Jv(t=[],e){let i=t.find(a=>a.alias===e)?.name;return i!==""?i??e:e}function Yv(t){let e=!1;switch(_e(t)){case x.HeatSeries:case x.PieSeries:e=!0;break;case x.BarSeries:case x.LineSeries:case x.RadarSeries:case x.ComboLineAndBarSeries:case x.BoxPlotSeries:e=t.length>1;break;case x.HistogramSeries:case x.ScatterSeries:{let i=t[0];e=i.overlays!==void 0&&Object.values(i.overlays).some(a=>a.created===!0);break}}return e}function vy(t){let e=!0;return _e(t.series)===x.ScatterSeries&&(e=t.series.length===1),e}function Sy(t){let e=!0;return _e(t.series)===x.HistogramSeries&&(e=t.series.length<=1&&t.series[0].type===x.HistogramSeries&&(!("dataTransformationType"in t.series[0])||t.series[0].dataTransformationType!==void 0&&Object.values(ga).includes(t.series[0].dataTransformationType))),e}function wy(t){let e=!0;return _e(t.series)===x.PieSeries&&(e=t.series.length<=1),e}function Kv(t,e){let i=_e(e?.series),a=i!==void 0&&t.includes(i);if(a&&e!==void 0)switch(i){case x.HistogramSeries:a=Sy(e);break;case x.ScatterSeries:a=vy(e);break;case x.PieSeries:a=wy(e);break}return a}function yt(t){return t==null||typeof t=="string"&&t.trim()===""}function Iy(t,e){let i=e.find(a=>a in t);return{isInItem:i!==void 0,expr:i}}function Xv(t){return Iy(t,Yf)}function eS(t,e){let i;switch(t){case me.Second:i=e.seconds??"";break;case me.Minute:i=e.minutes??"";break;case me.Hour:i=e.hours??"";break;case me.Day:i=e.days??"";break;case me.Week:i=e.weeks??"";break;case me.Month:i=e.months??"";break;case me.Year:i=e.years??"";break;default:i="";break}return i}function tS(t){let e;switch(t){case Ct.Mean:e=1;break;case Ct.Median:e=2;break;case Ct.StdDev:e=3;break;case Ct.Normal:default:e=0;break}return e}function rS(t,e){if(e!==void 0){let{seriesId:i,overlayType:a,visible:r}=t.detail,n;switch(a){case Ct.Mean:e.series[0].type===x.HistogramSeries&&(n=e.series[0].overlays?.mean);break;case Ct.Median:e.series[0].type===x.HistogramSeries&&(n=e.series[0].overlays?.median);break;case Ct.StdDev:e.series[0].type===x.HistogramSeries&&(n=e.series[0].overlays?.standardDeviation);break;case Ct.Normal:e.series[0].type===x.HistogramSeries&&(n=e.series[0].overlays?.comparisonDistribution);break;case Ct.Trendline:e.series[0].type===x.ScatterSeries&&(n=e.series[0].overlays?.trendLine);break;default:n=e.series.find(o=>o.id===i);break}n!==void 0&&(n.visible=r)}}function iS(t){return new fy().sanitize(t)}function aS(t){return t!=null&&!Number.isNaN(t)&&Number.isFinite(t)}function nS(t,e){let i;return e!==void 0&&(i={...e,rotated:t}),i}function sS(t,e){let i={fieldToSort:""};if(!yt(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 oS(t){return t===M.BarAndLineSplitBy||t===M.BarAndLineSplitByNoAggregation||t===M.BoxPlotMonoFieldAndSplitBy||t===M.BoxPlotMultiFieldsAndSplitBy||t===M.BoxPlotMonoFieldAndCategoryAndSplitBy}function lS(t){return t?.selectionOIDs===void 0||t.selectionOIDs.length===0}function dS(t={arrayA:[],arrayB:[],getKey:e=>e}){let{arrayA:e,arrayB:i,getKey:a}=t;if(i.length===0||e.length===0)return e;let r=new Map;i.forEach((l,d)=>{let p=a(l);r.set(p,d)});let n=[],o=[];e.forEach((l,d)=>{let p=a(l);r.has(p)&&(n.push(d),o.push(l))}),o.sort((l,d)=>{let p=a(l),u=a(d);return r.get(p)-r.get(u)});let s=[...e];return n.forEach((l,d)=>{s[l]=o[d]}),s}var ar=["1.0.0","1.0.1","2.0.0","3.0.0","3.1.0","3.2.0","3.3.0","3.4.0","3.5.0","3.6.0","3.7.0","3.8.0","3.9.0","3.9.1","3.9.2","3.10.0","3.11.0","4.0.0","4.0.1","5.0.0","6.0.0","6.1.0","6.2.0","6.2.1","6.3.0","6.4.0","7.0.0","7.1.0","7.1.1","7.2.0","7.2.1","7.3.1","7.4.0","7.4.1","7.5.0","7.5.1","7.6.0","8.0.0","8.0.1","9.0.0","9.1.0","9.2.0","9.3.0","9.4.0","9.5.0","9.6.0","9.6.1","9.7.0","10.0.0","11.0.0","12.0.0","13.0.0","14.0.0","14.0.1","15.0.0","16.0.0","16.1.0","16.1.1","17.0.0","17.1.0","17.2.0","17.2.1","18.0.0","18.1.0","18.1.1","18.1.2","18.1.3","19.0.0","20.0.0","20.1.0","20.2.0","21.0.0","21.1.0","22.0.0","23.0.0","23.1.0","23.2.0","23.3.0","24.0.0","24.1.0","24.2.0","24.3.0","24.4.0"],xy="1.0.0",Ty="unrecognized.version",Cy=[x.LineSeries,x.BarSeries,x.ComboLineAndBarSeries,x.RadarSeries];function sn(t,e){let i=0;if(t!==e){let a=t.split("."),r=e.split(".");for(let n=0;n<a.length;n+=1){let o=Number.parseInt(a[n],10),s=Number.parseInt(r[n],10);if(o>s||Number.isNaN(s)){i=1;break}if(o<s){i=-1;break}}}return i}function Fy(t){return t!==void 0?/^([1-9]\d*|0)(\.(([1-9]\d*)|0)){2}$/u.test(t):!1}function Py(t){let e=Lt.Same,i=[];if(Fy(t)&&t!==void 0){ar.sort(sn);let a=sn(t,ar[ar.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=ar.length-2;r>=0;r-=1)if(sn(t,ar[r])>=0){i=ar.slice(r,ar.length);break}i.length===0&&i.push(xy)}}else e=Lt.Unrecognized,i.push(Ty);return{versionStatus:e,versions:i}}function Oy(t){let{series:e}=t,i=("showMean"in t?t.showMean:!1)===!0?e.find(a=>a.type===x.LineSeries):e[0];return i??=e[0],i}function cS(t,e){let i=t!==null?t.toString():null,a=e!=null?e.toString():null;return a!==null&&a!==i?Le.SFS:Le.SLS}function zn(t,e){let i="";return t!==void 0&&t.includes("=")&&(i=e!==!1?Ac({value:t.split("=")[0]}):t.split("=")[0].trim()),i}function ni(t){let{where:e,normalize:i,keepSurroundingQuotes:a,escape:r}=t,n="";return e!==void 0&&e.includes("=")&&(n=e.split("=").slice(1).join("=").trim(),n==="null"?n=null:n.trim()!==""&&!Number.isNaN(Number(n))?n=Number(n):i===!1?r===!0&&(n=by(n)):n=Ac({value:n,keepSurroundingQuotes:a,escape:r})),n}function Ar(t){let e=!1;if(t===void 0||t==="")e=!0;else if(t.includes("=")){let i=zn(t,!1),a=ni({where:t,normalize:!1});e=i===`${a}`}return e}function pS(t){let{where:e,normalize:i,escape:a}=t,r=i===void 0?!0:i,n=zn(e),o=ni({where:e,normalize:r,keepSurroundingQuotes:!0,escape:a}),s=e;return n!==""&&o!==""&&(s=`${n}=${o}`),s}function Ey(t){let e=M.PieFromCategory;return t[0].query?.outStatistics===void 0?e=M.PieNoAggregation:t[0].query?.groupByFieldsForStatistics===void 0&&(e=M.PieFromFields),e}function Ay(t){let e=M.BarAndLineMonoField,i=t[0].query?.where;return t[0].query?.groupByFieldsForStatistics===void 0&&(t[0].query?.outStatistics??[]).length>0?e=M.BarAndLineFromFields:i===void 0&&t[0].query?.outStatistics===void 0?e=M.BarAndLineNoAggregation:Ar(i)?t.length>1&&(e=M.BarAndLineMultiFields):e=t[0].query?.outStatistics===void 0?M.BarAndLineSplitByNoAggregation:M.BarAndLineSplitBy,e}function $y(t){let e=M.BoxPlotMonoField,i=t.length===1,a=t.find(s=>s.type===x.LineSeries)??t[0],{x:r}=a,n="y"in a?a.y:"",o=a.query?.where;switch(r){case Bn:typeof n=="object"&&n.length>1?Ar(o)?i&&(e=M.BoxPlotMultiFields):e=M.BoxPlotMultiFieldsAndSplitBy:i?e=M.BoxPlotMonoField:Ar(o)||(e=M.BoxPlotMonoFieldAndSplitBy);break;default:i?e=M.BoxPlotMonoFieldAndCategory:Ar(o)?e=M.BoxPlotMultiFieldsAndCategory:e=M.BoxPlotMonoFieldAndCategoryAndSplitBy;break}return e}function Pt(t){let e=M.NonSpecific;if(t?.[0]!==void 0)switch(_e(t)){case x.PieSeries:e=Ey(t);break;case x.RadarSeries:case x.BarSeries:case x.LineSeries:case x.ComboLineAndBarSeries:e=Ay(t);break;case x.BoxPlotSeries:e=$y(t);break}return e}function uS(t){let{seriesConfig:e,xAxisValueFormatType:i,setTimeBinningInfoWhenNotProvided:a}=t,r=!1;if(Dy(e)&&e.binTemporalData!==!1&&i===x.DateAxisFormat){let n=Pt([e]);if(e.temporalBinning&&n!==M.BarAndLineNoAggregation&&n!==M.BarAndLineSplitByNoAggregation){let{unit:o,size:s}=e.temporalBinning;r=a===!0||s!==void 0&&s>0&&o!==void 0}}return r}function Dy(t){return Cy.includes(t.type)}function hS(t,e){return JSON.stringify(t.dataFilters)!==JSON.stringify(e.dataFilters)}var de={Min:"min",FirstQuartile:"first_quartile",Median:"median",ThirdQuartile:"third_quartile",Max:"max",IQR:"iqr",Average:"avg",StandardDeviation:"stddev",Outlier:"outlier"};function Ly(t){let e=t===void 0||t==="";return{[de.Average]:`${e?"":`${t}_`}${de.Average}`,[de.Min]:`${e?"":`${t}_`}${de.Min}`,[de.Max]:`${e?"":`${t}_`}${de.Max}`,[de.FirstQuartile]:`${e?"":`${t}_`}${de.FirstQuartile}`,[de.Median]:`${e?"":`${t}_`}${de.Median}`,[de.ThirdQuartile]:`${e?"":`${t}_`}${de.ThirdQuartile}`,[de.IQR]:`${e?"":`${t}_`}${de.IQR}`,[de.Outlier]:`${e?"":`${t}_`}${de.Outlier}`,[de.StandardDeviation]:`${e?"":`${t}_`}${de.StandardDeviation}`}}function Ry(t){return t.subType===cs.FeatureGauge}function fS(t){let e;return t!==void 0&&("bins"in t?e=t.bins:"dataItems"in t&&(e=t.dataItems)),e}function ky(t){return t===M.BoxPlotMultiFields||t===M.BoxPlotMultiFieldsAndCategory||t===M.BoxPlotMultiFieldsAndSplitBy}function aa(t){let{key:e,y:i,chartSubType:a,splitBy:r,splitByValue:n,showOutliers:o,standardizeValues:s}=t,l=n,d=Ly(i)[e];return o===!0&&(e===de.Min||e===de.Max)&&(d=`${d}${wm}`),s===!0&&(ky(a)||e===de.Outlier)&&(d=`${d}${Im}`),(n===void 0||`${n}`.trim()==="")&&(l=ni({where:r,normalize:!0,escape:!1})),l!==void 0&&`${l}`.trim()!==""&&(d=`${l}${d!==""?`_${d}`:""}`),d}function on(t){let{dataItem:e,y:i,splitBy:a,showOutliers:r}=t,n=aa({key:de.FirstQuartile,y:i,splitBy:a,showOutliers:r}),o=aa({key:de.ThirdQuartile,y:i,splitBy:a,showOutliers:r});return Number.isFinite(e[n])||Number.isFinite(e[o])}function jy(t){let{configSeries:e,boxPlotDataItem:i,yList:a,showOutliers:r}=t,n=Pt(e),o=!1;switch(n){case M.BoxPlotMonoField:case M.BoxPlotMultiFields:case M.BoxPlotMonoFieldAndCategory:o=on({dataItem:i,showOutliers:r});break;case M.BoxPlotMultiFieldsAndCategory:o=a.some(s=>on({dataItem:i,y:s,showOutliers:r}));break;case M.BoxPlotMonoFieldAndSplitBy:case M.BoxPlotMultiFieldsAndSplitBy:case M.BoxPlotMonoFieldAndCategoryAndSplitBy:o=e.some(s=>on({dataItem:i,splitBy:s.query?.where,showOutliers:r}));break;default:o=!1;break}return o}function $c(t){return t.map(e=>e.id).filter(e=>e!==void 0)}function na(t,e){let i=[],a=e??$c(t),r=Pt(t);return i=t.filter(n=>a.includes(n.id)).map(n=>{let o="y"in n?n.y:void 0;return o!==void 0&&r===M.BarAndLineSplitByNoAggregation&&(o=`${o.toString()}_${ni({where:n.query?.where})}`),o}).filter(n=>n!==void 0),Array.from(new Set(i.flat()))}function Ny(t){let{seriesConfig:e,filteredSeriesIds:i,showMean:a}=t,r=[];if(a===!0){let n=e.find(o=>o.type===x.BoxPlotSeries);n!==void 0&&"y"in n&&(r=[n.y].flat())}else r=na(e,i);return r}function qt(t,e){return t===null&&e===!0||Number.isFinite(t)}function qy(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]))&&qt(e[a],r)}function mS(t){let{chartConfig:e,nullAsValid:i=!1,dataSet:a}=t,r=!0;if(e!==void 0){let n=_e(e.series);if(a===void 0||a.length===0)r=!0;else{let o=na(e.series);r=!a.some(s=>{let l=!1;switch(n){case x.HistogramSeries:{let d=s;l=qt(d.minValue,i)&&qt(d.maxValue,i)}break;case x.ScatterSeries:{let d=s,{x:p,y:u}=e.series[0];l=qt(d[p],i)&&qt(d[u],i)}break;case x.ComboLineAndBarSeries:case x.RadarSeries:case x.LineSeries:case x.BarSeries:{let d=s,{x:p}=e.series[0];l=o.some(u=>qy({dataItem:d,x:p,y:u,nullAsValid:i}));break}case x.BoxPlotSeries:{let d=e.series,{showOutliers:p}=e;l=jy({configSeries:d,boxPlotDataItem:s,yList:o,showOutliers:p});break}case x.PieSeries:{let d=s,{x:p,y:u}=e.series[0];Pt(e.series)===M.PieFromFields&&(p=Dn,u=ud);let h=d[u];l=d[p]!==void 0&&d[p]!==null&&!os(h)&&qt(Number(h),i)}break;case x.GaugeSeries:{let{x:d}=e.series[0];l=qt(s[d],i)}break;case x.HeatSeries:l=a.some(d=>qt(d[em.valueField],i));break}return l})}}return r}function _y(t,e){let i=new Map,a=e??$c(t);return t.forEach(r=>{if(a.includes(r.id)&&"y"in r){let n=i.get(r.type)??[];n.push(r.y),i.set(r.type,n)}}),i}function My(t){let{seriesConfig:e,filteredSeriesIds:i,filteredData:a}=t,r=_y(e,i),n=e.find(l=>l.type===x.LineSeries||l.type===x.RadarSeries)?.stackNegativeValuesToBaseline??!0,o=Number.MIN_SAFE_INTEGER,s=Number.MAX_SAFE_INTEGER;return a.forEach((l,d)=>{r.forEach(p=>{if(n){let u=[],h=[];for(let c=0;c<p.length;c+=1){let m=l[p[c]];Number.isFinite(m)&&(m<0?h[d]=(h[d]??0)+m:u[d]=(u[d]??0)+m)}u=u.filter(c=>Number.isFinite(c)).sort((c,m)=>c-m),h=h.filter(c=>Number.isFinite(c)).sort((c,m)=>c-m),o=Math.max(o,u.length>0?u[u.length-1]:h[h.length-1]),s=Math.min(s,h.length>0?h[0]:u[0])}else{let u=0;for(let h=0;h<p.length;h+=1){let c=l[p[h]];u+=c,o=Math.max(o,u),s=Math.min(s,u)}}})}),{stackedMinY:s,stackedMaxY:o}}function By(t){let{dataItem:e,...i}=t,a=aa({key:de.Min,...i}),r=aa({key:de.Max,...i}),n=e[a],o=e[r];return{min:n,max:o}}function yS(t){let e=Number.NaN,i=Number.NaN,a,r,{chartConfig:n,chartData:o,filteredSeriesIds:s}=t,{series:l}=n;if(l?.length>0){let{x:d}=l[0],p=o.filter(h=>h[d]!==null);[a,r]=zr(p,h=>h[d]),n.axes?.[1]?.valueFormat.type===x.DateAxisFormat&&a!==void 0&&r!==void 0&&([a,r]=[new Date(a).valueOf(),new Date(r).valueOf()]);let u=_e(n.series);if(u===x.HistogramSeries&&o.length>0){let h=o[0]?.[ed.Start],c=o[o.length-1]?.[ed.End];a=typeof h=="number"?h:a,r=typeof c=="number"?c:r}else if(u===x.BoxPlotSeries){e=Number.MAX_SAFE_INTEGER,i=Number.MIN_SAFE_INTEGER;let h=na(l,s),c=Pt(l),m="standardizeValues"in n?n.standardizeValues===!0:void 0,g=n.series.map(y=>y.visible!==!1?ni({where:y.query?.where}):"");g.length===0&&g.push(" ");for(let y=0;y<p.length;y+=1)for(let S=0;S<h.length;S+=1){let C=c===M.BoxPlotMultiFieldsAndCategory?h[S]:void 0;for(let w=0;w<g.length;w+=1){let{min:P,max:O}=By({y:C,splitByValue:g[w],chartSubType:c,showOutliers:!1,standardizeValues:m,dataItem:p[y]});P!=null&&P<e&&(e=P),O!=null&&O>i&&(i=O)}}}else switch(my(n)){case Vr.Stacked100:{e=Number.NaN,i=Number.NaN;break}case Vr.Stacked:{let{stackedMinY:h,stackedMaxY:c}=My({seriesConfig:l,filteredData:p,filteredSeriesIds:s});e=h,i=c;break}case Vr.Side:default:{e=Number.MAX_SAFE_INTEGER,i=Number.MIN_SAFE_INTEGER;let h=na(l,s);for(let c=0;c<h.length;c+=1){let m=h[c],[g,y]=zr(p,S=>S[m]);g!==void 0&&g<e&&(e=g),y!==void 0&&y>i&&(i=y)}break}}}return{minY:e,maxY:i,minX:a,maxX:r}}function Dc(t){let{outTimeZone:e=Intl.DateTimeFormat().resolvedOptions().timeZone,dataTimeZone:i="UTC",runsOnClientQueryEngine:a}=t,r="",n=ue.now().setZone(e),o=n.offset/60,s=i?n.setZone(i).offset/60:0,l=o-s;return l!==0&&(a?r=`${l>0?"+":"-"}1*INTERVAL '${Math.abs(l)}' HOUR `:r=l>0?`+INTERVAL '${Math.abs(l)}:00:01' HOUR TO SECOND`:`-INTERVAL '${Math.abs(l)-1}:59:59' HOUR TO SECOND`),r}function gS(t,e){let i=Dc({}),a=`EXTRACT(YEAR FROM ${t} ${i})`,r=`EXTRACT(MONTH FROM ${t} ${i})`,n=`EXTRACT(DAY FROM ${t} ${i})`,o=`EXTRACT(HOUR FROM ${t} ${i})`,s=`EXTRACT(MINUTE FROM ${t} ${i})`,l=`EXTRACT(SECOND FROM ${t} ${i})`,d=[];switch(e){case me.Second:d=[a,r,n,o,s,l];break;case me.Minute:d=[a,r,n,o,s];break;case me.Hour:d=[a,r,n,o];break;case me.Day:case me.Week:case me.Month:case me.Year:d=[a,r,n];break}return d}var dt=class extends Error{constructor(e,i,a){super(i),this.name=e,this.details=a}},ct={Default:"defaultError",LayerLoadFailure:"layerLoadFailure",QueryFeaturesError:"queryFeaturesError",ChartDisposed:"ChartDisposeError",LayerFieldsNotFound:"layerFieldsNotFound"};function bS(t){return t!==void 0&&(!("url"in t)||!t.url)}function si(t){return t!==void 0&&"layer"in t}function Wy(t){return t!==void 0&&"type"in t&&t.type==="feature"}function Vy(t){return t!==void 0&&"type"in t&&t.type==="subtype-group"}function Un(t){return t!==void 0&&"type"in t&&t.type==="subtype-sublayer"}function vS(t){return Wy(t)||Un(t)}function Ae(t){return Un(t)?t.parent:t}function Lc(t){return t.capabilities?.query?.supportsDistance||Ae(t).sourceJSON?.advancedQueryCapabilities?.supportsQueryWithDistance===!0}function zy(t,e){return t.capabilities?.queryAttributeBins?.supportsFixedInterval===!0&&t.capabilities?.queryAttributeBins?.supportsStackBy&&!si(e)}function Uy(t,e){return t!==void 0&&(si(t)||"capabilities"in t&&t.capabilities?.queryAttributeBins?.supportsDate===!0&&(yt(e)||t.capabilities?.queryAttributeBins?.supportsStackBy))}function SS(t){let e=!1,i=Ae(Re(t)).sourceJSON;if(i){let a=i.queryBinsCapabilities?.supportsFixedIntervalBin,r=i.queryBinsCapabilities?.supportedStatisticTypes,n=[le.Maximum,le.Count].every(o=>r?.includes(o.toUpperCase())||r?.includes(o.toLowerCase()));e=a&&n}return e}function wS(t){let e;return si(t)?e=t.layer:e=t,e}function Re(t){let e;return si(t)?e=t.layer:e=t,e}function Gy(t){let e=!1,i=Ae(t).sourceJSON?.advancedQueryCapabilities?.supportedSpatialAggregationStatistics??[],a=t.capabilities?.query.supportedSpatialAggregationStatistics??{};return e=i.includes("EnvelopeAggregate")||"envelope"in a&&a.envelope===!0,e}function IS(t){let{chartConfig:e,queryObject:i}=t,a,r=Re(i);return r&&(a={id:r.id,layerType:"ArcGISFeatureLayer"},r.url&&(a.url=r.url)),{...e,iLayer:a}}var Xr=new Map;function Hy(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 xS(t){let{queryObject:e,queryConfig:i,outputFormat:a,dataFormat:r,outAnalytics:n}=t,{where:o,geometry:s,distance:l,units:d,timeExtent:p}=i,u,h=Re(e),c=Ae(h),m={query:{where:ei([o,c.definitionExpression])}},g=Gn(s)?.extent?.toJSON();if(g!==void 0){let S=Hy(d),{xmin:C,ymin:w,xmax:P,ymax:O}=g;m.query={...m.query,geometryType:"esriGeometryEnvelope",geometry:`${C},${w},${P},${O}`,distance:l,units:S,inSR:s?.spatialReference?.wkid}}p&&(m.query.time=`${p[0]},${p[1]}`);let y=`${c.url}/${c.layerId}/queryAnalytic?f=${a}&dataFormat=${r}&outAnalytics=${n}`;try{u=(await ln(y,m)).data?.features?.[0]?.attributes}catch(S){let C=(await rt(it(document.documentElement).t9nLocale,tt("./assets/common/t9n"),"messages.")).errorStrings;throw new dt(ct.QueryFeaturesError,C.errors.queryError,S)}return u}function Qy(t,e){return{lowerBoundaryAlias:`charts_lower_boundary_${t}`,upperBoundaryAlias:`charts_upper_boundary_${t}`,stackAlias:`charts_stack_alias_${e}`}}async function TS(t){let{chartConfig:e,queryObject:i,queryConfig:a,errorStrings:r}=t,n,o=Re(i),s=zy(o,i);if(s&&i&&"queryAttributeBins"in i&&e.series[0].type===x.HeatSeries){let{x:l,y:d,xTemporalBinning:p,yTemporalBinning:u}=e.series[0],{outTimeZone:h,firstDayOfWeek:c}=e,m=await ag({queryObject:i,queryConfig:a,x:l,y:d,xTemporalBinning:p,yTemporalBinning:u,outTimeZone:h,firstDayOfWeek:c});try{n=await i.queryAttributeBins(m)}catch(g){throw new dt(ct.QueryFeaturesError,r.errors.queryError,g)}}if(!s)throw new dt(ct.QueryFeaturesError,r.errors.queryBinsNotSupported,r.errors.queryBinsNotSupported);return n}async function CS(t){let{chartConfig:e,queryObject:i,queryConfig:a,returnFeaturesExtent:r,errorStrings:n,abortKey:o}=t,s=e.series[0],l;if(s.type===x.HeatSeries){let{x:d,y:p}=s;a.groupByFieldsForStatistics=[d],d!==p&&a.groupByFieldsForStatistics.push(p),a&&r===!0&&!a.outStatistics?.some(u=>u.statisticType===le.EnvelopeAggregate)&&a.outStatistics?.push({statisticType:le.EnvelopeAggregate,onStatisticField:"1"});try{l=await kc({queryObject:i,queryConfig:a,abortKey:o})}catch(u){throw new dt(ct.QueryFeaturesError,n.errors.queryError,u)}}return l}async function FS(t){let{queryObject:e,queryConfig:i,xStep:a,xMin:r,xMax:n,x:o,y:s,yStep:l,errorStrings:d}=t,p;if(e&&"queryAttributeBins"in e&&Number.isFinite(a)&&Number.isFinite(l)&&Number.isFinite(r)&&Number.isFinite(n)&&a>0&&l>0){let u=ng({queryObject:e,queryConfig:i,xStep:a,xMin:r,xMax:n,x:o,y:s,yStep:l});try{p=await e.queryAttributeBins(u)}catch(h){throw new dt(ct.QueryFeaturesError,d.errors.queryError,h)}}return p}async function PS(t){let{queryConfig:e,x:i,queryObject:a,chartSubType:r,isGaugeByFeature:n}=t,o=Re(a),s;if(a!==void 0){let l=o.objectIdField,{where:d,gdbVersion:p,timeExtent:u,geometry:h,distance:c,units:m}=e,g=Xy(u),y=Gn(h),S=Ae(o),C=ei([d,S.definitionExpression]),w={returnDistinctValues:!0,outFields:n===!0||r===M.PieNoAggregation||r===M.BarAndLineNoAggregation||r===M.BarAndLineSplitByNoAggregation?[l]:[i],where:C,gdbVersion:p??S.gdbVersion,timeExtent:g??S.timeExtent,geometry:y};jc(w)&&(w.cacheHint=!0),w.geometry!==void 0&&Lc(o)&&(c!==void 0&&(w.distance=c),m!==void 0&&(w.units=m));try{s=await a.queryFeatureCount(w)}catch{s=Number.NaN}}return s}async function OS(t){let{queryObject:e,queryConfig:i,abortKey:a}=t,{outStatistics:r}=i,n=new Map;if(e!==void 0&&r!==void 0&&r.length>0){let o=r.map(p=>{let{statisticType:u,onStatisticField:h,outStatisticFieldName:c}=p;return{statisticType:u,onStatisticField:h,outStatisticFieldName:c?.toUpperCase()}});i.outStatistics=o,delete i.num,delete i.orderByFields;let s=qc({queryObject:e,queryConfig:i}),l;try{l=await e.queryFeatures(s,{signal:a!==void 0?Xr.get(a)?.signal:void 0})}catch(p){if(!$n.isAbortError(p)){let u=(await rt(it(document.documentElement).t9nLocale,tt("./assets/common/t9n"),"messages.")).errorStrings;throw new dt(ct.QueryFeaturesError,u.errors.queryError,p)}}let d=l?.features?.[0]?.attributes;d!==void 0&&r.forEach(p=>{let{outStatisticFieldName:u}=p;if(u!==void 0){let h=d[u.toLowerCase()]??d[u.toUpperCase()]??d[u];h!==void 0&&n.set(u,h)}})}return n}async function Rc(t){let{queryObject:e,queryConfig:i,returnUniqueIdsOnly:a,abortKey:r}=t,n=[],o=Re(e);if(e!==void 0){let s=sg(o),l=qc({queryObject:e,queryConfig:i,maxRecordCountFactor:s});try{a===!0?"queryObjectIds"in e?n=await e.queryObjectIds(l):(l.outFields=[o.objectIdField],n=(await e.queryFeatures(l,{signal:r!==void 0?Xr.get(r)?.signal:void 0})).features.map(d=>d.attributes[o.objectIdField])):n=(await e.queryFeatures(l,{signal:r!==void 0?Xr.get(r)?.signal:void 0})).features}catch(d){if(!$n.isAbortError(d)){let p=(await rt(it(document.documentElement).t9nLocale,tt("./assets/common/t9n"),"messages.")).errorStrings;throw new dt(ct.QueryFeaturesError,p.errors.queryError,d)}}}return n}async function Zy(t){let e=[],{featureCount:i,maxRecords:a,queryConfig:r}=t,n=[],o=0,s=r?.start??0;for(;o<or.maxParallelRequests&&s<i;){let l={...t};l.queryConfig={...r,start:s,num:Math.min(a,i-s)},e.push(Rc(l)),s+=a,o+=1}return n=(await Promise.all(e)).flat(),n}async function kc(t){let{queryObject:e,queryConfig:i,returnUniqueIdsOnly:a,featureCount:r,noBatch:n,abortKey:o}=t,s=[],l=Re(e);if(e!==void 0){let d=r??1,p=Nc(l);if(n!==!0&&d>p&&l.capabilities?.query.supportsPagination){let u=0,h=0,c=Math.ceil(d/p),m=Math.ceil(c/or.maxParallelRequests),g=[];for(;h<m;){u=h*or.maxParallelRequests*p;let y=Zy({queryConfig:{...i,start:u},queryObject:e,maxRecords:p,featureCount:d,returnUniqueIdsOnly:a,abortKey:o});g.push(y),h+=1}s=(await Promise.all(g)).flat()}else(Number.isNaN(d)||d>=0)&&(s=await Rc({queryObject:e,queryConfig:i,returnUniqueIdsOnly:a,abortKey:o}))}return s}async function ES(t){let{queryObject:e,queryConfig:i,uniqueFeature:a,abortKey:r}=t,n={...i,returnDistinctValues:!0};return await kc({queryObject:e,abortKey:r,queryConfig:n,returnUniqueIdsOnly:!0,featureCount:a===!0?1:void 0})}function AS(t){if(t!==void 0){let e=Xr.get(t);e!==void 0&&e.abort(),Xr.set(t,new AbortController)}}function Jy(t){return{lowerBoundaryAlias:`charts_lower_boundary_${t}`,upperBoundaryAlias:`charts_upper_boundary_${t}`}}async function $S(t){let{queryObject:e,dateField:i,splitByField:a,queryConfig:r,temporalBinning:n}=t,o=[],s;if(n){let{unit:l}=n;try{if(l){let d=Ae(Re(e));if(s=Uy(d,a),s&&e&&"queryAttributeBins"in e){let p=await rg({queryObject:e,queryConfig:r,temporalBinning:n,dateField:i,splitByField:a});o=(await e.queryAttributeBins(p)).features}}}catch(d){let p=(await rt(it(document.documentElement).t9nLocale,tt("./assets/common/t9n"),"messages.")).errorStrings;throw new dt(ct.QueryFeaturesError,p.errors.queryError,d)}}if(s===!1){let l=(await rt(it(document.documentElement).t9nLocale,tt("./assets/common/t9n"),"messages.")).errorStrings;throw new dt(ct.QueryFeaturesError,l.errors.queryBinsNotSupported,l.errors.queryBinsNotSupported)}return o}function jc(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 Nc(t){let e=Ae(t)?.sourceJSON,i=e?.maxRecordCount??or.maxRecords;return e?.advancedQueryCapabilities?.supportsMaxRecordCountFactor&&e?.maxRecordCount!==void 0&&(i=e.maxRecordCount*or.maxRecordCountFactor),i}function ei(t,e){let i,a=Array.from(new Set(t)).filter(r=>r!=null&&r!==""&&!Ar(r));return a.sort((r,n)=>n.length-r.length),a.length===1?[i]=a:a?.forEach(r=>{r!==void 0&&(yt(i)?i=`(${r})`:i?.includes(`(${r})`)||(i=`${i} ${e??"AND"} (${r})`))}),i??"1=1"}function Yy(t,e){let i=e;if(t!==void 0){let a=Re(t),r=Ae(a).timeExtent;r?.start!=null&&r?.end!=null&&(i=[r.start.valueOf(),r.end.valueOf()])}return i}function Ky(t){let{queryObject:e,defaultGeometry:i,ignoreViewExtent:a}=t,r=i;if(!a&&si(e)){let n=e.view.extent,{xmin:o,xmax:s,ymin:l,ymax:d,zmin:p,zmax:u,spatialReference:h}=n;r={xmin:o,ymin:l,zmin:p,xmax:s,ymax:d,zmax:u,spatialReference:h}}return r}function Xy(t){let e;return t!==void 0&&(e=new pd({start:new Date(t[0]),end:new Date(t[1])})),e}function Gn(t){let e;return t!==void 0&&(e=An.fromJSON(t)),e}function eg(t){return t===void 0?["*"]:Array.from(new Set(t))}function ua(t){let{queryObject:e,queryConfig:i,queryType:a}=t,{where:r,outStatistics:n,geometry:o,distance:s,units:l,timeExtent:d,returnDistinctValues:p}=i??{},u=a==="Query"?new th({}):new eh({}),h=Re(e),c=Ae(h),m;a==="AttributeBinsQuery"&&i?.objectIds?.[0]!==void 0&&(m=`${h.objectIdField} IN (${i.objectIds.join(",")})`);let g=[r,c.definitionExpression,m];if(u.where=ei(g),u.returnDistinctValues=p??!1,n!==void 0){let C=Gy(h);u.outStatistics=n.filter(w=>w.statisticType!==le.EnvelopeAggregate||C).map(w=>rh.fromJSON(w))}let y=Gn(o);y!==void 0&&(u.geometry=y,i?.spatialRelationship&&(u.spatialRelationship=i.spatialRelationship),Lc(h)&&(s!==void 0&&(u.distance=s),l!==void 0&&(u.units=l)));let S;return d&&(S=new pd({start:d?.[0],end:d?.[1]})),S!==void 0?u.timeExtent=S:c.timeExtent!==void 0&&(u.timeExtent=c.timeExtent),jc(u)&&(u.cacheHint=!0),u}function tg(t){let e;switch(t){case gr.Start:e="first";break;case gr.End:e="last";break}return e}async function rg(t){let{queryObject:e,queryConfig:i,temporalBinning:a,dateField:r,splitByField:n}=t,o=Re(e),s=(await oi(e)).find(S=>S.name===r)?.type,l=ua({queryObject:e,queryConfig:i,queryType:"AttributeBinsQuery"}),{unit:d,size:p,timeAggregationType:u,start:h,end:c,offset:m,outTimeZone:g}=a,y=Jy(r);if(l.lowerBoundaryAlias=y.lowerBoundaryAlias,l.upperBoundaryAlias=y.upperBoundaryAlias,s!==ve.DateOnly&&(l.outTimeZone=g??Intl.DateTimeFormat().resolvedOptions().timeZone),l.binParameters={type:"date",field:r,interval:{unit:d,value:p},start:h,end:c,offset:m?{unit:m.unit,value:m.size}:null},l.binParameters.type==="date"&&(o.capabilities?.queryAttributeBins?.supportsSnapToData&&(l.binParameters.snapToData=tg(u)),o.capabilities?.queryAttributeBins?.supportsReturnFullIntervalBin&&(l.binParameters.returnFullIntervalBin=!0)),!yt(n)){let S=Ae(o).fields.find(C=>C.name===n)?.type;(!S||S==="string"||S==="integer"||S==="small-integer"||S==="big-integer"||S==="double")&&(l.binParameters.stackBy={type:"field",value:n,valueType:S==="string"?"string":"integer"})}return l}function ig(t){let{field:e,fieldType:i,unit:a,outTimeZone:r,dataTimeZone:n,runsOnClientQueryEngine:o,addIntervalStatement:s}=t,l,d,p=1,u=1;switch(a){case xt.MinuteOfDay:i!==ve.DateOnly&&(d="MINUTE",p=0,u=59);break;case xt.HourOfDay:i!==ve.DateOnly&&(d="HOUR",p=0,u=23);break;case xt.DayOfWeek:d="DOW",u=7;break;case xt.DayOfMonth:d="DAY",u=31;break;case xt.DayOfYear:d="DOY",u=366;break;case xt.WeekOfYear:d="WEEK",u=53;break;case xt.MonthOfYear:d="MONTH",u=12;break;case xt.QuarterOfYear:d="QUARTER",u=4;break}if(d){let h=s?` ${Dc({dataTimeZone:n,runsOnClientQueryEngine:o,outTimeZone:r})}`:"";l=`EXTRACT (${d} FROM ${e}${h})`}return{expression:l,start:p,end:u}}function nd(t){let{temporalBinning:e,xOrY:i,xOrYFieldType:a,addIntervalStatement:r,outTimeZone:n,dataTimeZone:o,runsOnClientQueryEngine:s}=t,{unit:l}=e??{},d,p,u,h;return a===ve.Date||a===ve.DateOnly||a===ve.TimestampOffset?{expression:p,start:u,end:h}=ig({field:i,fieldType:a,unit:l,addIntervalStatement:r,outTimeZone:n,dataTimeZone:o,runsOnClientQueryEngine:s}):d=i,{field:d,expression:p,start:u,end:h}}async function ag(t){let{queryObject:e,queryConfig:i,x:a,y:r,xTemporalBinning:n,yTemporalBinning:o,firstDayOfWeek:s,outTimeZone:l}=t,d=await oi(e),p=d.find(w=>w.name===a)?.type,u=d.find(w=>w.name===r)?.type,h=ua({queryObject:e,queryConfig:i,queryType:"AttributeBinsQuery"});h.binParameters={type:"fixed-interval",interval:1},p!==ve.DateOnly&&(h.outTimeZone=l??Intl.DateTimeFormat().resolvedOptions().timeZone),s!==void 0&&(h.binParameters.firstDayOfWeek=s);let c=nd({temporalBinning:n,xOrY:a,xOrYFieldType:p,addIntervalStatement:!1}),{field:m,expression:g,start:y,end:S}=c;m?h.binParameters.field=m:g&&(h.binParameters.expression=g,h.binParameters.expressionValueType="integer",h.binParameters.type==="fixed-interval"&&(y!==void 0&&(h.binParameters.start=y),S!==void 0&&(h.binParameters.end=S)));let C=nd({temporalBinning:o,xOrY:r,xOrYFieldType:u,addIntervalStatement:!1});return C.field?h.binParameters.stackBy={type:"field",value:C.field}:C.expression&&(h.binParameters.stackBy={type:"expression",value:C.expression,valueType:"integer",alias:r}),h}function ng(t){let{queryObject:e,queryConfig:i,xStep:a,xMin:r,xMax:n,x:o,y:s,yStep:l}=t,d=ua({queryObject:e,queryConfig:i,queryType:"AttributeBinsQuery"}),p=Qy(o,s);return d.lowerBoundaryAlias=p.lowerBoundaryAlias,d.upperBoundaryAlias=p.upperBoundaryAlias,d.binParameters={type:"fixed-interval",field:o,interval:a,start:r,end:n,stackBy:{value:`FLOOR(${s} / ${l})`,type:"expression",alias:p.stackAlias,valueType:"integer"}},d}function qc(t){let{queryObject:e,queryConfig:i,maxRecordCountFactor:a}=t,{groupByFieldsForStatistics:r,orderByFields:n,gdbVersion:o,start:s,num:l,outFields:d}=i??{},p=ua({queryObject:e,queryConfig:i,queryType:"Query"});p.returnGeometry=!1;let u=Re(e),h=Ae(u);return p.outFields=eg(d),p.groupByFieldsForStatistics=r??p.groupByFieldsForStatistics,p.orderByFields=n??[],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),l!==void 0&&(p.num=l),s!==void 0&&(p.start=s,p.num=p.num??Nc(u)),p}function sg(t){return Ae(t)?.sourceJSON?.advancedQueryCapabilities?.supportsMaxRecordCountFactor===!0?or.maxRecordCountFactor:void 0}function DS(t){let e,i,a;return t!==void 0&&(e=t.type,(e===hi.UniqueValue||e===hi.ClassBreaks)&&(i=t.field??void 0,e===hi.ClassBreaks&&(a=t.normalizationField??void 0))),{rendererType:e,rendererField:i,rendererNormalizationField:a}}var og=(0,cd.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=Yu.fromJSON(i).features,a?.fields!==void 0&&(r.fields=a.fields.map(o=>Ju.fromJSON(o))),a?.objectIdField!==void 0&&(r.objectIdField=a.objectIdField),a?.geometryType!==void 0){let o=An.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=dd.fromJSON(o.renderer))}let n=new Ku(r);return await n.load(),n});async function LS(t){let{layer:e,view:i,chartConfig:a,filterByExtent:r}=t,n;if(e!==void 0){let o=Re(e),s=Ae(o);if(r&&i!==void 0&&!s.isTable){s.outFields=["*"];let l=p=>"highlight"in p,d=await i.whenLayerView(s);l(d)&&(n=d)}else n=e}else"iLayer"in a&&a.iLayer&&(n=await og(a.iLayer));return n}async function oi(t,e){let i=Re(t),a=[];if(i!==void 0){await i.load();let r=e===!0&&i?.popupTemplate?.fieldInfos!==void 0;a=i.fields.map(n=>{let o=n.toJSON();if(r){let s=i.popupTemplate?.fieldInfos?.find(l=>l.fieldName?.toLowerCase()===n.name.toLowerCase())?.label;s!==void 0&&s!==n.name&&(o.alias=s)}return o})}return a}function Hn(t,e=[]){return e.find(i=>i.name===t)}function RS(t){return t.find(e=>e.type===ve.OID)?.name??""}function _c(t){return[ve.Single,ve.Double,ve.SmallInteger,ve.Integer,ve.BigInteger].includes(t.type)}function kS(t){return t.type===ve.Date}function jS(t){return[ve.SmallInteger,ve.Integer,ve.BigInteger].includes(t.type)}function NS(t){return t.filter(e=>e.type===ve.Date||e.type===ve.DateOnly||e.type===ve.TimestampOffset).map(e=>e.name)}function qS(t){return t.filter(e=>_c(e)).map(e=>e.name)}function lg(t){let{subtypeInfo:e,fieldName:i,fieldValueToMatch:a}=t,r,n=o=>`${o.id}`==`${a}`;return e?.subtypeField===i&&e.subtypes?r=e.subtypes.find(n)?.name:e?.typeIdField===i&&e.types&&(r=e.types.find(n)?.name),r}function sd(t,e){let i=[],a=Vy(t)?t.subtypes:t[e];return a?.[0]!==void 0&&a.forEach(r=>{let{name:n,domains:o}=r,s="id"in r?r.id:void 0;!s&&"code"in r&&(s=r.code);let l=Object.entries(o??{}),d=[],p=l?.filter(([u,h])=>h?.type==="coded-value")?.map(([u,h])=>{let c={fieldName:u,name:n,codedValues:d};if(h&&"codedValues"in h){let m=h.codedValues.map(({code:g,name:y})=>({name:y,code:g}));c={fieldName:u,name:h.name,codedValues:m}}return c});i.push({id:s??"",name:n,domains:p})}),i.length===0?void 0:i}function _S(t){let e;if(t!==void 0){let i=Re(t);if(!Un(i)&&!yt(i?.typeIdField)){let a=sd(i,"types");a!==void 0&&(e={typeIdField:i.typeIdField??void 0,types:a})}if(!yt(i?.subtypeField)){let a=Ae(i),r=sd(a,"subtypes");r!==void 0&&(e={...e,subtypeField:a.subtypeField??void 0,subtypes:r})}}return e}function MS(t){let{fieldName:e,fieldValueToMatch:i,subtypeInfo:a,fieldList:r}=t,n;if((typeof i!="string"||!yt(i))&&!yt(e)&&(n=lg({subtypeInfo:a,fieldName:e,fieldValueToMatch:i}),n===void 0)){let o=Hn(e,r);if(a?.types!==void 0){let s=a?.types;for(let l of s){let d=l.domains?.filter(p=>p.fieldName===o?.name)??[];for(let p of d)if(n=p?.codedValues?.find(u=>`${u.code}`===i)?.name,n!==void 0)break;if(n!==void 0)break}}n===void 0&&o?.domain!==void 0&&o.domain.type==="codedValue"&&(n=o.domain.codedValues?.find(s=>`${s.code}`==`${i}`)?.name)}return n}async function BS(t){let e=[];return!Ae(t).isTable&&t.fieldsIndex&&(e=await ld.getRendererFields(t.renderer,t.fieldsIndex)),e}function dg(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 WS(t){let e=!0,i=".arcgis.com/",a=t.url,r=a?.includes(i);if(a&&r&&Ae(t).sourceJSON.serviceItemId!==void 0){let n=dg(a);try{let o=(await ln(n,{query:{f:"json"}})).data;if(o.owningTenant!==void 0&&o.owningSystemUrl!==void 0){let s=`${o.owningSystemUrl}/sharing/rest/portals/${o.owningTenant}`,l=(await ln(s,{authMode:"auto",query:{f:"json"}})).data,d=new Xu({sourceJSON:l});await d.load(),e=d?.sourceJSON?.subscriptionInfo?.dataStoreLevel===void 0}}catch{}}return e}async function cg(t){let{queryObject:e,fieldToMatch:i,returnUndefinedIfNotFound:a}=t,r=await oi(e),n=r.find(s=>i===s.name);n||(n=r.find(s=>i.toUpperCase()===s.name.toUpperCase()));let o=a?"":i;return n?.name??o}async function VS(t){let{fieldsList:e,queryObject:i,returnUndefinedIfNotFound:a}=t,r=e;return r!==void 0&&(r=await Promise.all(r.map(async n=>await cg({queryObject:i,fieldToMatch:n,returnUndefinedIfNotFound:a})))),r}function zS(t){let{queryObject:e,chartConfig:i,runtimeDataFilters:a,ignoreViewExtent:r}=t,{series:n,dataFilters:o}=i,{where:s,gdbVersion:l,timeExtent:d,geometry:p,distance:u,units:h,objectIds:c,spatialRelationship:m}=o??{},{where:g,gdbVersion:y,timeExtent:S,geometry:C,distance:w,units:P,objectIds:O,spatialRelationship:A}=a??{},q=n[0],{query:R}=q,{where:F}=R??{},D=Pt(n),L={...R};return L.where=ei([s,g]),D!==M.BarAndLineSplitBy&&D!==M.BoxPlotMonoFieldAndSplitBy&&D!==M.BoxPlotMonoFieldAndCategoryAndSplitBy&&D!==M.BoxPlotMultiFieldsAndSplitBy&&D!==M.BarAndLineSplitByNoAggregation&&(L.where=ei([L.where,F])),i.orderOptions?.orderByFields!==void 0&&(L.orderByFields=i.orderOptions.orderByFields),L.gdbVersion=y??l,L.timeExtent=Yy(e,S??d),L.geometry=Ky({queryObject:e,defaultGeometry:C??p,ignoreViewExtent:r}),L.distance=w??u,L.units=P??h,L.objectIds=O??c,L.spatialRelationship=A??m,R?.outStatistics?.[0]?.statisticType===le.Count&&(L.returnDistinctValues=R?.returnDistinctValues??!1),L}var Cr={$schema:"http://json-schema.org/draft-07/schema#",definitions:{ValueConversion:{type:"object",properties:{factor:{type:"number",description:"A numeric value multiplying the value to convert"},offset:{type:"number",description:"A numeric offset to apply to the value to convert"}},description:"Stores information regarding a numeric conversion",title:"ValueConversion"},WebChartAxisScrollBar:{type:"object",properties:{visible:{type:"boolean",description:"Scrollbar visibility",default:!1},width:{type:"number",description:"Scrollbar width in pixels"},color:{$ref:"#/definitions/Color",description:"Scrollbar color"},gripSize:{type:"number",description:"Grip size in pixels"},margin:{type:"number",description:"Margin between the scrollbar and the series container in pixels"}},description:"Describes the properties of an axis scrollbar",title:"WebChartAxisScrollBar"},Color:{type:"array",items:{type:"number"},minItems:4,maxItems:4,title:"Color"},WebChartTextSymbol:{type:"object",properties:{xoffset:{type:["number","string"],description:`Horizontal offset. Can be a number for a fixed value in pixels, or a string as "25%" for a value relative to the label's container width.`},yoffset:{type:["number","string"],description:`Horizontal offset. Can be a number for a fixed value in pixels, or a string as "25%" for a value relative to the label's container height.`},angle:{type:"number",description:"Rotation of the label"},style:{type:"string",description:"Label style"},type:{type:"string",const:"esriTS"},color:{$ref:"#/definitions/Color"},backgroundColor:{$ref:"#/definitions/Color"},borderLineSize:{type:"number"},borderLineColor:{$ref:"#/definitions/Color"},haloSize:{type:"number"},haloColor:{$ref:"#/definitions/Color"},verticalAlignment:{type:"string",enum:["baseline","bottom","middle","top"]},horizontalAlignment:{type:"string",enum:["center","justify","left","right"]},rightToLeft:{type:"boolean"},kerning:{type:"boolean"},font:{$ref:"#/definitions/IFont"},text:{type:"string"}},required:["type"],description:"Represents a text symbol.",title:"WebChartTextSymbol"},'Omit<ITextSymbol,("angle"|"style"|"xoffset"|"yoffset")>':{$ref:"#/definitions/Pick%3CITextSymbol%2CExclude%3C(%22type%22%7C%22color%22%7C%22backgroundColor%22%7C%22borderLineSize%22%7C%22borderLineColor%22%7C%22haloSize%22%7C%22haloColor%22%7C%22verticalAlignment%22%7C%22horizontalAlignment%22%7C%22rightToLeft%22%7C%22kerning%22%7C%22font%22%7C%22text%22%7C%22angle%22%7C%22xoffset%22%7C%22yoffset%22%7C%22style%22%7Cstring)%2C(%22angle%22%7C%22style%22%7C%22xoffset%22%7C%22yoffset%22)%3E%3E",title:'Omit<ITextSymbol,("angle"|"style"|"xoffset"|"yoffset")>'},'Pick<ITextSymbol,Exclude<("type"|"color"|"backgroundColor"|"borderLineSize"|"borderLineColor"|"haloSize"|"haloColor"|"verticalAlignment"|"horizontalAlignment"|"rightToLeft"|"kerning"|"font"|"text"|"angle"|"xoffset"|"yoffset"|"style"|string),("angle"|"style"|"xoffset"|"yoffset")>>':{type:"object",properties:{type:{type:"string",const:"esriTS"},color:{$ref:"#/definitions/Color"},backgroundColor:{$ref:"#/definitions/Color"},borderLineSize:{type:"number"},borderLineColor:{$ref:"#/definitions/Color"},haloSize:{type:"number"},haloColor:{$ref:"#/definitions/Color"},verticalAlignment:{type:"string",enum:["baseline","bottom","middle","top"]},horizontalAlignment:{type:"string",enum:["center","justify","left","right"]},rightToLeft:{type:"boolean"},kerning:{type:"boolean"},font:{$ref:"#/definitions/IFont"},text:{type:"string"}},required:["type"],title:'Pick<ITextSymbol,Exclude<("type"|"color"|"backgroundColor"|"borderLineSize"|"borderLineColor"|"haloSize"|"haloColor"|"verticalAlignment"|"horizontalAlignment"|"rightToLeft"|"kerning"|"font"|"text"|"angle"|"xoffset"|"yoffset"|"style"|string),("angle"|"style"|"xoffset"|"yoffset")>>'},IFont:{type:"object",properties:{family:{type:"string"},size:{type:"number"},style:{type:"string",enum:["italic","normal","oblique"]},weight:{type:"string",enum:["bold","bolder","lighter","normal"]},decoration:{type:"string",enum:["line-through","none","underline"]}},title:"IFont"},WebChartText:{type:"object",properties:{type:{type:"string",const:"chartText",description:'Represents a unique string identifier for the ChartText object. For ChartText object, it is "chartText".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},content:{$ref:"#/definitions/WebChartTextSymbol",description:"Contains the styling info and text content. Details on **esriTS** are [here](https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm)."}},required:["type","content"],description:"Stores info on how some text is rendered on the chart and whether it is visible or not.",title:"WebChartText"},WebChartCursorCrosshair:{type:"object",properties:{type:{type:"string",const:"cursorCrosshair",description:"Represents a unique string identifier for the chart cursor's crosshair."},style:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the chart cursor's crosshair should be rendered."},verticalLineVisible:{type:"boolean",description:"Indicates whether the vertical crosshair line should be displayed",default:!1},horizontalLineVisible:{type:"boolean",description:"Indicates whether the horizontal crosshair line should be displayed",default:!1}},required:["type"],description:"JSON representation of the cursor's crosshair for a chart.",title:"WebChartCursorCrosshair"},ISimpleLineSymbol:{type:"object",properties:{type:{type:"string",const:"esriSLS"},style:{$ref:"#/definitions/SimpleLineSymbolStyle"},color:{$ref:"#/definitions/Color"},width:{type:"number"}},required:["type"],title:"ISimpleLineSymbol"},ISymbol:{type:"object",properties:{type:{$ref:"#/definitions/SymbolType"},style:{type:"string"}},required:["type"],title:"ISymbol"},SymbolType:{type:"string",enum:["esriPFS","esriPMS","esriSFS","esriSLS","esriSMS","esriTS"],title:"SymbolType"},SimpleLineSymbolStyle:{type:"string",enum:["esriSLSDash","esriSLSDashDot","esriSLSDashDotDot","esriSLSDot","esriSLSNull","esriSLSSolid"],title:"SimpleLineSymbolStyle"},WebChartLegend:{type:"object",properties:{type:{type:"string",const:"chartLegend",description:'Represents a unique string identifier for the ChartLegend object. For ChartLegend object, it is "chartLegend".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the legend box should be rendered"},body:{$ref:"#/definitions/WebChartTextSymbol",description:"Contains styling info on how legend body (excluding the **title**) should be rendered. Will use default styling if not provided."},position:{$ref:"#/definitions/WebChartLegendPositions",description:'Positions the legends at `"right"`, `"left"`, `"top"`, or `"bottom"` of the chart.',default:"WebChartLegendPositions.Right"},maxHeight:{type:["number","null"],description:"Legend's maximum height. If not set the legend will occupy the same height as the series container or pie chart.",default:null},roundMarkers:{type:"boolean",description:"Allows the legend markers to be displayed as circles. If the property is to:\n- `false` or `undefined` they will be rounded rectangles\n- `true` they will be circles",default:!1}},required:["type"],description:"JSON representation of the Chart's legend box",title:"WebChartLegend"},WebChartLegendPositions:{type:"string",enum:["left","right","top","bottom"],title:"WebChartLegendPositions"},WebChartNullCategory:{type:"object",properties:{text:{type:"string",description:"Specifies the text to use for the null category. If none is provided, the default `null` text will be used."},symbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the overlay should be rendered If not provided a default style is applied.",default:"1 - symbol.outline.width"}},title:"WebChartNullCategory"},ISimpleFillSymbol:{type:"object",properties:{type:{type:"string",const:"esriSFS"},style:{$ref:"#/definitions/SimpleFillSymbolStyle"},color:{$ref:"#/definitions/Color"},outline:{$ref:"#/definitions/ISimpleLineSymbol"}},required:["type"],title:"ISimpleFillSymbol"},SimpleFillSymbolStyle:{type:"string",enum:["esriSFSBackwardDiagonal","esriSFSCross","esriSFSDiagonalCross","esriSFSForwardDiagonal","esriSFSHorizontal","esriSFSNull","esriSFSSolid","esriSFSVertical"],title:"SimpleFillSymbolStyle"},WebChartPieChartLegend:{type:"object",properties:{type:{type:"string",const:"chartLegend",description:'Represents a unique string identifier for the ChartLegend object. For ChartLegend object, it is "chartLegend".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the legend box should be rendered"},body:{$ref:"#/definitions/WebChartTextSymbol",description:"Contains styling info on how legend body (excluding the **title**) should be rendered. Will use default styling if not provided."},position:{$ref:"#/definitions/WebChartLegendPositions",description:'Positions the legends at `"right"`, `"left"`, `"top"`, or `"bottom"` of the chart.',default:"WebChartLegendPositions.Right"},maxHeight:{type:["number","null"],description:"Legend's maximum height. If not set the legend will occupy the same height as the series container or pie chart.",default:null},roundMarkers:{type:"boolean",description:"Allows the legend markers to be displayed as circles. If the property is to:\n- `false` or `undefined` they will be rounded rectangles\n- `true` they will be circles",default:!1},displayCategory:{type:"boolean",description:"Indicates whether the category associated to a slice is to be displayed in the legend.",default:!0},displayNumericValue:{type:"boolean",description:"Indicates whether the numeric value associated to a slice is to be displayed in the legend. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)`",default:!1},displayPercentage:{type:"boolean",description:"Indicates whether the percentage to a slice is to be displayed in the legend. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)`",default:!1},labelMaxWidth:{type:"number",description:"Maximum width in pixels of the label displaying the slice name. If the label is larger than the maximum width, it will automatically wrap.",default:200},valueLabelMaxWidth:{type:"number",description:"Maximum width in pixels of the label displaying the slice name. If the label is larger than the maximum width, it will automatically wrap.",default:200}},required:["type"],description:"Specific legend for the Pie chart",title:"WebChartPieChartLegend"},WebChartOverlay:{type:"object",properties:{type:{type:"string",const:"chartOverlay",description:'Represents a unique string identifier for the ChartOverlay object. For ChartOverlay object, it is "chartOverlay".'},created:{type:"boolean",description:"Determines whether the overlay is created under the hood. It may or may not be visible.",default:!1},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},symbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the overlay should be rendered If not provided a default style is applied."}},required:["type"],description:"JSON representation of the chart's overlays like trendline scatter plot, and median in histogram",title:"WebChartOverlay"},NumberFormatOptions:{type:"object",properties:{type:{type:"string",const:"number",description:'Represents a unique string identifier for the NumberFormatOptions object. For NumberFormatOptions object, it is "number". It can help us to differentiate numerical (value) axis from other types of axes viz., date-time axis and category axis.'},intlOptions:{$ref:"#/definitions/Intl.NumberFormatOptions",description:"Represents the JS native [Intl.NumberFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat), which is based on [CLDR](http://cldr.unicode.org/translation/numbers-currency/number-patterns) specifications."}},required:["type","intlOptions"],description:"Defines how the numerical(value) axis data should be formatted.",title:"NumberFormatOptions"},"Intl.NumberFormatOptions":{type:"object",properties:{localeMatcher:{type:"string",enum:["lookup","best fit"]},style:{$ref:"#/definitions/Intl.NumberFormatOptionsStyle"},currency:{type:"string"},currencyDisplay:{$ref:"#/definitions/Intl.NumberFormatOptionsCurrencyDisplay"},useGrouping:{$ref:"#/definitions/Intl.NumberFormatOptionsUseGrouping"},minimumIntegerDigits:{type:"number"},minimumFractionDigits:{type:"number"},maximumFractionDigits:{type:"number"},minimumSignificantDigits:{type:"number"},maximumSignificantDigits:{type:"number"}},title:"Intl.NumberFormatOptions"},"Intl.NumberFormatOptionsStyle":{title:"Intl.NumberFormatOptionsStyle"},"Intl.NumberFormatOptionsCurrencyDisplay":{title:"Intl.NumberFormatOptionsCurrencyDisplay"},"Intl.NumberFormatOptionsUseGrouping":{type:"boolean",title:"Intl.NumberFormatOptionsUseGrouping"},WebChartDateTimeUnitFormatOptions:{type:"object",properties:{year:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},month:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},day:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},hour:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},minute:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},second:{$ref:"#/definitions/Intl.DateTimeFormatOptions"}},description:'Interface used by the axis `valueFormat` property to describe how to format specific date and time units when displayed on the axis. For instance: "year": { year: "numeric" } "month": { month: "numeric" } "day": { day: "2-digit" } "hour": { day: "numeric" } "minute": { minute: "numeric" } "second": { second: "numeric" } Reference: https://tc39.es/ecma402/#sec-datetimeformat-abstracts',title:"WebChartDateTimeUnitFormatOptions"},"Intl.DateTimeFormatOptions":{type:"object",properties:{localeMatcher:{type:"string",enum:["best fit","lookup"]},weekday:{type:"string",enum:["long","short","narrow"]},era:{type:"string",enum:["long","short","narrow"]},year:{type:"string",enum:["numeric","2-digit"]},month:{type:"string",enum:["numeric","2-digit","long","short","narrow"]},day:{type:"string",enum:["numeric","2-digit"]},hour:{type:"string",enum:["numeric","2-digit"]},minute:{type:"string",enum:["numeric","2-digit"]},second:{type:"string",enum:["numeric","2-digit"]},timeZoneName:{type:"string",enum:["short","long","shortOffset","longOffset","shortGeneric","longGeneric"]},formatMatcher:{type:"string",enum:["best fit","basic"]},hour12:{type:"boolean"},timeZone:{type:"string"}},title:"Intl.DateTimeFormatOptions"},DateTimeFormatOptions:{type:"object",properties:{type:{type:"string",const:"date",description:'Represents a unique string identifier for the NumberFormatOptions object. For NumberFormatOptions object, it is "date". It can help us to differentiate date-time axis from other types of axes viz., numeric (value) axis and category axis.'},intlOptions:{$ref:"#/definitions/Intl.DateTimeFormatOptions",description:"Represent the JS native [Intl.DateTimeFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat), which is based on [CLDR](http://cldr.unicode.org/translation/date-time-1/date-time-patterns) specifications."},formatPerDateTimeUnit:{$ref:"#/definitions/WebChartDateTimeUnitFormatOptions",description:"Represents how to format specific date and time units when displayed on the axis, independently from the `intlOptions`."}},required:["type","intlOptions"],description:"Defines how the DateTime axis data should be formatted.",title:"DateTimeFormatOptions"},CategoryFormatOptions:{type:"object",properties:{type:{type:"string",const:"category",description:'Represents a unique string identifier for the CategoryFormatOptions object. For CategoryFormatOptions object, it is "category". It can help us to differentiate category axis from other types of axes, viz., date-time axis and numeric (value) axis.'},characterLimit:{type:["number","null"],description:"Represents a positive integer which represents the limit on the number of characters to be displayed for all the category strings. The truncated string are appended with `...`. If property is not present or `null`, no truncation is done.",minimum:1,multipleOf:1}},required:["type"],description:"Defines how the category axis data (Categories) should be formatted.",title:"CategoryFormatOptions"},WebChartGuide:{type:"object",properties:{type:{type:"string",const:"chartGuide",description:'Represents a unique string identifier for the Guide object. For Guide class, it is "chartGuide".'},start:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"Determines the value where the guide should begin."},end:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"Determines the value where the guide should end. If it is not specified, we get a line guide, otherwise we get a fill/rectangular guide."},style:{anyOf:[{$ref:"#/definitions/ISimpleFillSymbol"},{$ref:"#/definitions/ISimpleLineSymbol"}],description:"Determines how the guide should be rendered. Line guide requires [esriSLS](https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm) format, and fill guide requires [esriSFS](https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm) format."},name:{type:"string",description:"A unique string identifier which is used to refer to a particular guide. It is displayed in the Chart Authoring UI to differentiate between different guides."},label:{$ref:"#/definitions/WebChartTextSymbol",description:"Defines a text label for the given guide. It is displayed on the chart next to the concerned guide and is styled using **esriTS** format."},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},above:{type:"boolean",description:"Determines whether the guide should be rendered on top of (overlapping) the series or under the series.",default:!1},tooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the guide's tooltip background (false) or its outline (true).",default:!1}},required:["type","start","style","name"],description:"JSON representation of the chart's guide object. Can be used to represent both line and fill guides.",title:"WebChartGuide"},WebChartAxis:{type:"object",properties:{type:{type:"string",const:"chartAxis",description:'Represents a unique string identifier for the WebChartAxis object. For ChartAxis object, it is "chartAxis".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},isLogarithmic:{type:"boolean",description:"Specifies whether the axis has a logarithmic scale or not.",default:!1},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the axis should be rendered"},valueFormat:{anyOf:[{$ref:"#/definitions/CategoryFormatOptions"},{$ref:"#/definitions/DateTimeFormatOptions"},{$ref:"#/definitions/NumberFormatOptions"}],description:"Specifies how numerical/categorical/date-time values should be formatted."},minimum:{type:["number","null"],description:"The minimum value which the axis should represent, when it is not defined or null, then the minimum value for the corresponding axis is automatically calculated."},maximum:{type:["number","null"],description:"The maximum value which the axis should represent, when it is not defined or null, then the maximum value for the corresponding axis is automatically calculated."},grid:{$ref:"#/definitions/ISimpleLineSymbol",description:"Dictates how the grid lines associated with a particular axis should be rendered."},guides:{type:"array",items:{$ref:"#/definitions/WebChartGuide"},description:"Represent an array of guides that should be rendered onto the axis."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the axis line should be rendered. If not provided a default style is applied."},labels:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the axis labels should be rendered."},scrollbar:{$ref:"#/definitions/WebChartAxisScrollBar",description:"Represents the axis scrollbar style and visibility"},displayZeroLine:{type:"boolean",description:"Represents an option to hide/un-hide the zero line on value axis",default:!1},integerOnlyValues:{type:"boolean",description:"Represents an option to show `integer-only` values for a value axis",default:!1},displayCursorTooltip:{type:"boolean",description:"Specifies whether cursor tooltip should be displayed.",default:!1},buffer:{type:"boolean",description:"Allows setting a buffer to a **value axis** to provide some space around the series.",default:!1},tickSpacing:{type:"number",description:"The desired minimum distance between two adjacent axis ticks. The actual distance may fluctuate depending on the chart's size. When not provided a default value is assigned according to the axis type and axis labels behavior.",minimum:1},dateBaseInterval:{$ref:"#/definitions/TimeIntervalInfo",description:"Specifies the base interval on a date axis. Will be ignored on the other axis types. It will be overridden by the properties from the series `binTemporalData` when provided."}},required:["type","valueFormat","labels"],description:"JSON representation of the chart's axis object",title:"WebChartAxis"},TimeIntervalInfo:{type:"object",properties:{unit:{$ref:"#/definitions/WebChartTemporalBinningUnits"},size:{type:"number"}},title:"TimeIntervalInfo"},WebChartTemporalBinningUnits:{type:"string",enum:["seconds","minutes","hours","days","weeks","months","quarters","years"],description:"The temporal binning units",title:"WebChartTemporalBinningUnits"},WebChartGaugeAxisTick:{type:"object",properties:{type:{type:"string",const:"gaugeAxisTick",description:'Represents a unique string identifier for the GaugeAxisTick object. For WebChartGaugeAxisTick object, it is "gaugeAxisTick".'},visible:{type:"boolean",description:"Determines the visibility of the axis ticks.",default:!0}},required:["type"],description:"JSON representation of the gauge axis ticks. Currently only used by WebChartGaugeAxis.",title:"WebChartGaugeAxisTick"},WebChartNeedle:{type:"object",properties:{type:{type:"string",const:"gaugeNeedle",description:'Represents a unique string identifier for the ChartNeedle object. For WebChartNeedle object, it is "gaugeNeedle".'},visible:{type:"boolean",description:"Hides or shows the needle.",default:!0},symbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the needle should be rendered"},startWidth:{type:["number","null"],description:"Represents the needle's thickness at the bottom (chart's center), in px",minimum:1,default:10},endWidth:{type:["number","null"],description:"Represents the needle's thickness at the top, in px",minimum:1,default:1},innerRadius:{type:["number","null"],description:"Represents the size of the hole in the middle of the chart. Can be visualized when guides are displayed.",minimum:0,maximum:100,default:25},displayPin:{type:"boolean",description:"Hides or shows the needle's pin (centroid circle)",default:!1}},required:["type"],description:"JSON representation of a gauge needle.",title:"WebChartNeedle"},WebChartGaugeAxis:{type:"object",properties:{type:{type:"string",const:"chartAxis",description:'Represents a unique string identifier for the WebChartAxis object. For ChartAxis object, it is "chartAxis".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},isLogarithmic:{type:"boolean",description:"Specifies whether the axis has a logarithmic scale or not.",default:!1},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the axis should be rendered"},valueFormat:{anyOf:[{$ref:"#/definitions/CategoryFormatOptions"},{$ref:"#/definitions/DateTimeFormatOptions"},{$ref:"#/definitions/NumberFormatOptions"}],description:"Specifies how numerical/categorical/date-time values should be formatted."},minimum:{type:["number","null"],description:"The minimum value which the axis should represent, when it is not defined or null, then the minimum value for the corresponding axis is automatically calculated."},maximum:{type:["number","null"],description:"The maximum value which the axis should represent, when it is not defined or null, then the maximum value for the corresponding axis is automatically calculated."},grid:{$ref:"#/definitions/ISimpleLineSymbol",description:"Dictates how the grid lines associated with a particular axis should be rendered."},guides:{type:"array",items:{$ref:"#/definitions/WebChartGuide"},description:"Represent an array of guides that should be rendered onto the axis."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the axis line should be rendered. If not provided a default style is applied."},labels:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the axis labels should be rendered."},scrollbar:{$ref:"#/definitions/WebChartAxisScrollBar",description:"Represents the axis scrollbar style and visibility"},displayZeroLine:{type:"boolean",description:"Represents an option to hide/un-hide the zero line on value axis",default:!1},integerOnlyValues:{type:"boolean",description:"Represents an option to show `integer-only` values for a value axis",default:!1},displayCursorTooltip:{type:"boolean",description:"Specifies whether cursor tooltip should be displayed.",default:!1},buffer:{type:"boolean",description:"Allows setting a buffer to a **value axis** to provide some space around the series.",default:!1},tickSpacing:{type:"number",description:"The desired minimum distance between two adjacent axis ticks. The actual distance may fluctuate depending on the chart's size. When not provided a default value is assigned according to the axis type and axis labels behavior.",minimum:1},dateBaseInterval:{$ref:"#/definitions/TimeIntervalInfo",description:"Specifies the base interval on a date axis. Will be ignored on the other axis types. It will be overridden by the properties from the series `binTemporalData` when provided."},innerLabel:{$ref:"#/definitions/WebChartText",description:"Specifies how the axis' inner label needs to be displayed"},needle:{$ref:"#/definitions/WebChartNeedle",description:"Specifies how the axis' needle needs to be displayed"},ticks:{$ref:"#/definitions/WebChartGaugeAxisTick",description:"Specifies how the axis' ticks need to be displayed"},labelsIncrement:{type:"number",description:"If a label has a value being a multiple of that property, it will be displayed. Otherwise it will be hidden.\n\nIf the property is `undefined` or 0, the chart will be displayed with 6 axis labels distributed evenly along the axis min and max.\n\nIf the property has a value that results in more than a set limit of axis labels (25 as defined in `ChartDefaults.gauge.maximumNumberOfLabelIntervals`) this property value will be ignored and the chart will be displayed with only axis min/max with 4 ticks in between.",default:"undefined"},onlyShowFirstAndLastLabels:{type:"boolean",description:"Specifies if only the first and last labels need to be displayed. If set to `true` all the other labels will be hidden. Their visibility still depends on the axis labels visibility (WebChartAxis.labels.visible).",default:!1},minimumValueConversion:{$ref:"#/definitions/ValueConversion",description:"Defines how to convert the axis minimum"},maximumValueConversion:{$ref:"#/definitions/ValueConversion",description:"Defines how to convert the axis maximum"},minimumFromField:{anyOf:[{$ref:"#/definitions/IStatisticDefinition"},{type:"string"}],description:"If used with a gauge by feature:\n- `minimumFromField` is expected to be a field name. The value from that field for the given feature is mapped to the axis minimum value If used with a statistic gauge:\n- If `minimumFromField` is set to a field name (string), the minimum from that field is mapped to the axis minimum value\n- If it is set to an `IStatisticDefinition` the statistic (min, max, avg...) from the given field is mapped to the axis minimum value When `minimumFromField` is not provided or when it leads to an invalid value, the `minimum` value from the axis config, if provided, or the default value of 0, in that order, will be used."},maximumFromField:{anyOf:[{$ref:"#/definitions/IStatisticDefinition"},{type:"string"}],description:"If used with a gauge by feature:\n- `maximumFromField` is expected to be a field name. The value from that field for the given feature is mapped to the axis maximum value If used with a statistic gauge:\n- If `maximumFromField` is set to a field name (string), the maximum from that field is mapped to the axis maximum value\n- If it is set to an `IStatisticDefinition` the statistic (min, max, avg...) from the given field is mapped to the axis maximum value When `maximumFromField` is not provided or when it leads to an invalid value, the `maximum` value from the axis config, if provided, or the default value of 0, in that order, will be used."}},required:["labels","type","valueFormat"],description:"JSON representation of the gauge chart's axis object. Inherits from the WebChartAxis properties.",title:"WebChartGaugeAxis"},IStatisticDefinition:{type:"object",properties:{statisticType:{type:"string",enum:["avg","centroid-aggregate","convex-hull-aggregate","count","envelope-aggregate","max","min","percentile-continuous","percentile-discrete","stddev","sum","var"],description:"Statistical operation to perform (count, sum, min, max, avg, stddev, var, percentile_cont, percentile_disc, EnvelopeAggregate, CentroidAggregate, ConvexHullAggregate)."},statisticParameters:{type:"object",properties:{value:{type:"number"},orderBy:{type:"string",enum:["asc","desc"]}},required:["value"],description:"Parameters to be used along with statisticType. Currently, only applicable for percentile-continuous (continuous percentile) and percentile-discrete (discrete percentile)."},onStatisticField:{type:"string",description:"Field on which to perform the statistical operation."},outStatisticFieldName:{type:"string",description:"Field name for the returned statistic field. If outStatisticFieldName is empty or missing, the server will assign one. A valid field name can only contain alphanumeric characters and an underscore. If the outStatisticFieldName is a reserved keyword of the underlying DBMS, the operation can fail. Try specifying an alternative outStatisticFieldName."}},required:["statisticType","onStatisticField"],title:"IStatisticDefinition"},WebChartRadarChartAxis:{type:"object",properties:{type:{type:"string",const:"chartAxis",description:'Represents a unique string identifier for the WebChartAxis object. For ChartAxis object, it is "chartAxis".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},isLogarithmic:{type:"boolean",description:"Specifies whether the axis has a logarithmic scale or not.",default:!1},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the axis should be rendered"},valueFormat:{anyOf:[{$ref:"#/definitions/CategoryFormatOptions"},{$ref:"#/definitions/DateTimeFormatOptions"},{$ref:"#/definitions/NumberFormatOptions"}],description:"Specifies how numerical/categorical/date-time values should be formatted."},minimum:{type:["number","null"],description:"The minimum value which the axis should represent, when it is not defined or null, then the minimum value for the corresponding axis is automatically calculated."},maximum:{type:["number","null"],description:"The maximum value which the axis should represent, when it is not defined or null, then the maximum value for the corresponding axis is automatically calculated."},grid:{$ref:"#/definitions/ISimpleLineSymbol",description:"Dictates how the grid lines associated with a particular axis should be rendered."},guides:{type:"array",items:{$ref:"#/definitions/WebChartGuide"},description:"Represent an array of guides that should be rendered onto the axis."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the axis line should be rendered. If not provided a default style is applied."},labels:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the axis labels should be rendered."},scrollbar:{$ref:"#/definitions/WebChartAxisScrollBar",description:"Represents the axis scrollbar style and visibility"},displayZeroLine:{type:"boolean",description:"Represents an option to hide/un-hide the zero line on value axis",default:!1},integerOnlyValues:{type:"boolean",description:"Represents an option to show `integer-only` values for a value axis",default:!1},displayCursorTooltip:{type:"boolean",description:"Specifies whether cursor tooltip should be displayed.",default:!1},buffer:{type:"boolean",description:"Allows setting a buffer to a **value axis** to provide some space around the series.",default:!1},tickSpacing:{type:"number",description:"The desired minimum distance between two adjacent axis ticks. The actual distance may fluctuate depending on the chart's size. When not provided a default value is assigned according to the axis type and axis labels behavior.",minimum:1},dateBaseInterval:{$ref:"#/definitions/TimeIntervalInfo",description:"Specifies the base interval on a date axis. Will be ignored on the other axis types. It will be overridden by the properties from the series `binTemporalData` when provided."},labelsOrientation:{$ref:"#/definitions/WebChartRadarChartAxisLabelsOrientation",description:"Defines the labels orientation",default:"WebChartRadarChartAxisLabelsOrientation.Circular"}},required:["labels","type","valueFormat"],description:"JSON representation of the radar chart's axis object.",title:"WebChartRadarChartAxis"},WebChartRadarChartAxisLabelsOrientation:{type:"string",enum:["radial","circular","horizontal"],description:"Labels orientation for radar chart axes.",title:"WebChartRadarChartAxisLabelsOrientation"},WebChartQuery:{type:"object",properties:{outFields:{type:"array",items:{type:"string"},description:"Attribute fields to include in the FeatureSet. Will have an effect on chart with no aggregation."},where:{type:"string",description:"Acts as a filter on the base data for attribute-based filtering, expect for bar/line charts for which is is used to handle the split-by field values."},groupByFieldsForStatistics:{type:"array",items:{type:"string"},description:"An array of fields which determine how the base data is grouped. Only one **groupBy** Field is supported, but ArcGIS JSAPI [supports multiple groupBy fields](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#groupByFieldsForStatistics). While splitting by multiple group-by fields is possible, it is not being done because of the number of series it will give rise to (equal to the length of the Cartesian product set) possibly making the visualization hard to interpret.",maxItems:1},outStatistics:{type:"array",items:{$ref:"#/definitions/IStatisticDefinition"},description:"Represents an array of statistics definitions which dictate how a particular field should be aggregated. Refer to [JSAPI Statistics Definition class](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-StatisticDefinition.html) for more info."},orderByFields:{type:"array",items:{type:"string"},description:"Represents the sorting order of the output result. More info present in [JSAPI docs](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#orderByFields). The format of any entry in this array is `field_name sorting_order`. When `sorting_order` is not defined, it is assumed to be ascending."},gdbVersion:{type:"string",description:"Specifies the geodatabase version to display for feature service queries."},geometry:{anyOf:[{$ref:"#/definitions/IEnvelope"},{$ref:"#/definitions/IExtent"},{$ref:"#/definitions/IPoint"},{$ref:"#/definitions/IPolygon"},{$ref:"#/definitions/IPolygonWithCurves"},{$ref:"#/definitions/IPolyline"}],description:"The geometry to apply to the spatial filter. A buffer can be applied to it by setting the properties `distance` and `units`."},spatialRelationship:{description:"For spatial filters, this parameter defines the spatial relationship to filter features in the layer view against the filter geometry."},distance:{type:"number",description:"Specifies a search distance for the `geometry`. To be associated with the `units` property. For compatible layers only."},units:{$ref:"#/definitions/RESTUnits",description:"The unit for calculating the buffer distance when `distance` and `geometry` are provided. If not specified, the unit is derived from the geometry spatial reference."},timeExtent:{type:"array",items:{type:"number"},minItems:2,maxItems:2,description:"A time extent ([timestamp, timestamp]) for a temporal query against time-aware layers."},start:{type:"number",description:"The zero-based index indicating where to begin retrieving features."},num:{type:"number",description:"The number of features to retrieve."},returnDistinctValues:{type:"boolean",description:"If true then the query returns distinct values based on the field(s) specified in outFields. Available for count-based aggregations only.",default:!1},fetchNullValues:{type:"boolean",description:"Indicates whether to fetch null values for them to be counted or displayed as categories on the chart.",default:!1},objectIds:{type:"array",items:{type:"number"},description:"An array of objectIds of the features to be filtered."}},description:"Chart query object inspired by [JSAPI Query](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html) class.",title:"WebChartQuery"},IEnvelope:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},xmin:{type:"number"},xmax:{type:"number"},ymin:{type:"number"},ymax:{type:"number"},zmin:{type:"number"},zmax:{type:"number"},mmin:{type:"number"},mmax:{type:"number"}},required:["xmin","xmax","ymin","ymax"],description:"An envelope is a rectangle defined by a range of values for each coordinate and attribute.",title:"IEnvelope"},IGeometry:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"}},description:'a building block for discrete geometries\n\n`IGeometry` can also be imported from the following packages:\n\n```js import { IGeometry } from "@esri/arcgis-rest-feature-layer"; ```',title:"IGeometry"},ISpatialReference:{type:"object",properties:{wkid:{type:["number","null"]},latestWkid:{type:"number"},vcsWkid:{type:"number"},latestVcsWkid:{type:"number"},wkt:{type:["string","null"]},latestWkt:{type:"string"}},description:'Spatial reference systems define mathematical transformations and coordinate systems for displaying spatial information in 2D and 3D.\n\n`ISpatialReference` can also be imported from the following packages:\n\n```js import { ISpatialReference } from "@esri/arcgis-rest-geocoding"; import { ISpatialReference } from "@esri/arcgis-rest-routing"; import { ISpatialReference } from "@esri/arcgis-rest-service-admin"; import { ISpatialReference } from "@esri/arcgis-rest-feature-layer"; ```',title:"ISpatialReference"},IExtent:{type:"object",properties:{xmin:{type:"number"},ymin:{type:"number"},zmin:{type:"number"},xmax:{type:"number"},ymax:{type:"number"},zmax:{type:"number"},spatialReference:{$ref:"#/definitions/ISpatialReference"}},required:["xmin","ymin","xmax","ymax"],description:'Extents are used to define rectangles and bounding boxes.\n\n`IExtent` can also be imported from the following packages:\n\n```js import { IExtent } from "@esri/arcgis-rest-geocoding"; import { IExtent } from "@esri/arcgis-rest-service-admin"; import { IExtent } from "@esri/arcgis-rest-feature-layer"; ```',title:"IExtent"},IPoint:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},x:{type:"number"},y:{type:"number"},z:{type:"number"}},required:["x","y"],description:'A simple point geometry, with spatial reference defined.\n\n`IPoint` can also be imported from the following packages:\n\n```js import { IPoint } from "@esri/arcgis-rest-routing"; import { IPoint } from "@esri/arcgis-rest-geocoding"; ```',title:"IPoint"},IHasZM:{type:"object",properties:{hasZ:{type:"boolean"},hasM:{type:"boolean"}},description:'`IHasZM` can also be imported from the following packages:\n\n```js import { IHasZM } from "@esri/arcgis-rest-feature-layer"; ```',title:"IHasZM"},IPolygon:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},rings:{type:"array",items:{type:"array",items:{$ref:"#/definitions/Position"}}}},required:["rings"],title:"IPolygon"},Position:{anyOf:[{$ref:"#/definitions/Position2D"},{type:"array",items:{type:"number"},minItems:4,maxItems:4},{type:"array",items:{type:"number"},minItems:3,maxItems:3}],title:"Position"},Position2D:{type:"array",items:{type:"number"},minItems:2,maxItems:2,title:"Position2D"},IPolygonWithCurves:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},curveRings:{type:"array",items:{type:"array",items:{anyOf:[{$ref:"#/definitions/JsonCurve"},{$ref:"#/definitions/Position"}]}}}},required:["curveRings"],title:"IPolygonWithCurves"},JsonCurve:{anyOf:[{$ref:"#/definitions/IArc"},{$ref:"#/definitions/IBezierCurve"},{$ref:"#/definitions/ICircularArc"},{$ref:"#/definitions/IOldCircularArc"}],title:"JsonCurve"},IArc:{type:"object",properties:{a:{type:"array",minItems:7,items:[{$ref:"#/definitions/Position"},{$ref:"#/definitions/Position2D"},{type:"number"},{type:"number"},{type:"number"},{type:"number"},{type:"number"}],maxItems:7}},required:["a"],description:"an arc can be represented as a JSON curve object",title:"IArc"},IBezierCurve:{type:"object",properties:{b:{type:"array",minItems:3,items:[{$ref:"#/definitions/Position"},{$ref:"#/definitions/Position2D"},{$ref:"#/definitions/Position2D"}],maxItems:3}},required:["b"],description:"a bezier curve can be represented as a JSON curve object",title:"IBezierCurve"},ICircularArc:{type:"object",properties:{c:{type:"array",minItems:2,items:[{$ref:"#/definitions/Position"},{$ref:"#/definitions/Position2D"}],maxItems:2}},required:["c"],description:"a circular arc can be represented as a JSON curve object",title:"ICircularArc"},IOldCircularArc:{type:"object",properties:{a:{type:"array",minItems:4,items:[{$ref:"#/definitions/Position"},{$ref:"#/definitions/Position2D"},{type:"number"},{type:"number"}],maxItems:4}},required:["a"],title:"IOldCircularArc"},IPolyline:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},paths:{type:"array",items:{type:"array",items:{$ref:"#/definitions/Position"}}}},required:["paths"],title:"IPolyline"},RESTUnits:{type:"string",enum:["feet","miles","nautical-miles","us-nautical-miles","meters","kilometers"],title:"RESTUnits"},WebChartSeriesQuery:{$ref:"#/definitions/Omit%3CWebChartQuery%2C(%22distance%22%7C%22gdbVersion%22%7C%22geometry%22%7C%22num%22%7C%22objectIds%22%7C%22orderByFields%22%7C%22spatialRelationship%22%7C%22start%22%7C%22timeExtent%22%7C%22units%22)%3E",description:"Subset of the WebChartQuery, used at the series level",title:"WebChartSeriesQuery"},'Omit<WebChartQuery,("distance"|"gdbVersion"|"geometry"|"num"|"objectIds"|"orderByFields"|"spatialRelationship"|"start"|"timeExtent"|"units")>':{$ref:"#/definitions/Pick%3CWebChartQuery%2CExclude%3C(%22outFields%22%7C%22where%22%7C%22groupByFieldsForStatistics%22%7C%22outStatistics%22%7C%22orderByFields%22%7C%22gdbVersion%22%7C%22geometry%22%7C%22spatialRelationship%22%7C%22distance%22%7C%22units%22%7C%22timeExtent%22%7C%22start%22%7C%22num%22%7C%22returnDistinctValues%22%7C%22fetchNullValues%22%7C%22objectIds%22%7Cstring)%2C(%22distance%22%7C%22gdbVersion%22%7C%22geometry%22%7C%22num%22%7C%22objectIds%22%7C%22orderByFields%22%7C%22spatialRelationship%22%7C%22start%22%7C%22timeExtent%22%7C%22units%22)%3E%3E",title:'Omit<WebChartQuery,("distance"|"gdbVersion"|"geometry"|"num"|"objectIds"|"orderByFields"|"spatialRelationship"|"start"|"timeExtent"|"units")>'},'Pick<WebChartQuery,Exclude<("outFields"|"where"|"groupByFieldsForStatistics"|"outStatistics"|"orderByFields"|"gdbVersion"|"geometry"|"spatialRelationship"|"distance"|"units"|"timeExtent"|"start"|"num"|"returnDistinctValues"|"fetchNullValues"|"objectIds"|string),("distance"|"gdbVersion"|"geometry"|"num"|"objectIds"|"orderByFields"|"spatialRelationship"|"start"|"timeExtent"|"units")>>':{type:"object",properties:{outFields:{type:"array",items:{type:"string"},description:"Attribute fields to include in the FeatureSet. Will have an effect on chart with no aggregation."},where:{type:"string",description:"Acts as a filter on the base data for attribute-based filtering, expect for bar/line charts for which is is used to handle the split-by field values."},groupByFieldsForStatistics:{type:"array",items:{type:"string"},description:"An array of fields which determine how the base data is grouped. Only one **groupBy** Field is supported, but ArcGIS JSAPI [supports multiple groupBy fields](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#groupByFieldsForStatistics). While splitting by multiple group-by fields is possible, it is not being done because of the number of series it will give rise to (equal to the length of the Cartesian product set) possibly making the visualization hard to interpret.",maxItems:1},outStatistics:{type:"array",items:{$ref:"#/definitions/IStatisticDefinition"},description:"Represents an array of statistics definitions which dictate how a particular field should be aggregated. Refer to [JSAPI Statistics Definition class](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-StatisticDefinition.html) for more info."},returnDistinctValues:{type:"boolean",description:"If true then the query returns distinct values based on the field(s) specified in outFields. Available for count-based aggregations only.",default:!1},fetchNullValues:{type:"boolean",description:"Indicates whether to fetch null values for them to be counted or displayed as categories on the chart.",default:!1}},title:'Pick<WebChartQuery,Exclude<("outFields"|"where"|"groupByFieldsForStatistics"|"outStatistics"|"orderByFields"|"gdbVersion"|"geometry"|"spatialRelationship"|"distance"|"units"|"timeExtent"|"start"|"num"|"returnDistinctValues"|"fetchNullValues"|"objectIds"|string),("distance"|"gdbVersion"|"geometry"|"num"|"objectIds"|"orderByFields"|"spatialRelationship"|"start"|"timeExtent"|"units")>>'},WebChartDataFilters:{$ref:"#/definitions/Pick%3CWebChartQuery%2C(%22distance%22%7C%22gdbVersion%22%7C%22geometry%22%7C%22objectIds%22%7C%22spatialRelationship%22%7C%22timeExtent%22%7C%22units%22%7C%22where%22)%3E",description:"JSON representation of filters applied to the data",title:"WebChartDataFilters"},'Pick<WebChartQuery,("distance"|"gdbVersion"|"geometry"|"objectIds"|"spatialRelationship"|"timeExtent"|"units"|"where")>':{type:"object",properties:{distance:{type:"number",description:"Specifies a search distance for the `geometry`. To be associated with the `units` property. For compatible layers only."},gdbVersion:{type:"string",description:"Specifies the geodatabase version to display for feature service queries."},geometry:{anyOf:[{$ref:"#/definitions/IEnvelope"},{$ref:"#/definitions/IExtent"},{$ref:"#/definitions/IPoint"},{$ref:"#/definitions/IPolygon"},{$ref:"#/definitions/IPolygonWithCurves"},{$ref:"#/definitions/IPolyline"}],description:"The geometry to apply to the spatial filter. A buffer can be applied to it by setting the properties `distance` and `units`."},objectIds:{type:"array",items:{type:"number"},description:"An array of objectIds of the features to be filtered."},spatialRelationship:{description:"For spatial filters, this parameter defines the spatial relationship to filter features in the layer view against the filter geometry."},timeExtent:{type:"array",items:{type:"number"},minItems:2,maxItems:2,description:"A time extent ([timestamp, timestamp]) for a temporal query against time-aware layers."},units:{$ref:"#/definitions/RESTUnits",description:"The unit for calculating the buffer distance when `distance` and `geometry` are provided. If not specified, the unit is derived from the geometry spatial reference."},where:{type:"string",description:"Acts as a filter on the base data for attribute-based filtering, expect for bar/line charts for which is is used to handle the split-by field values."}},title:'Pick<WebChartQuery,("distance"|"gdbVersion"|"geometry"|"objectIds"|"spatialRelationship"|"timeExtent"|"units"|"where")>'},WebChartSeries:{type:"object",properties:{type:{type:"string"},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1}},required:["type","id","name","x"],description:"JSON representation of the chart's series object. All other series extends this interface.",title:"WebChartSeries"},WebChartCalendarDatePartsBinning:{type:"object",properties:{trimIncompleteTimeInterval:{type:"boolean",description:"Determines whether incomplete time intervals at the start or end of the data span (depending on the `timeAggregationType`) will be removed from the chart. Incomplete intervals on a chart can cause misleading results in which the period in question is under- or over reported due to a different amount of time in the interval. Setting `true` indicates to trim these incomplete intervals. Setting `false` does not trim incomplete intervals.",default:!0},start:{type:"number",description:"The binning start date. Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},end:{type:"number",description:"The binning end date Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},offset:{type:"object",properties:{unit:{$ref:"#/definitions/WebChartTemporalBinningUnits"},size:{type:"number"}},required:["unit","size"],description:"Offset to apply to the results Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},unit:{$ref:"#/definitions/WebChartCalendarDatePartsUnits",description:"Represents the unit to use to bin the data."}},required:["unit"],title:"WebChartCalendarDatePartsBinning"},WebChartTemporalBinningBase:{type:"object",properties:{trimIncompleteTimeInterval:{type:"boolean",description:"Determines whether incomplete time intervals at the start or end of the data span (depending on the `timeAggregationType`) will be removed from the chart. Incomplete intervals on a chart can cause misleading results in which the period in question is under- or over reported due to a different amount of time in the interval. Setting `true` indicates to trim these incomplete intervals. Setting `false` does not trim incomplete intervals.",default:!0},start:{type:"number",description:"The binning start date. Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},end:{type:"number",description:"The binning end date Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},offset:{type:"object",properties:{unit:{$ref:"#/definitions/WebChartTemporalBinningUnits"},size:{type:"number"}},required:["unit","size"],description:"Offset to apply to the results Current limitation: this is applied only when the provided layer supports the `queryBins` operation."}},description:"Describes the basic properties available for a temporal binning",title:"WebChartTemporalBinningBase"},WebChartCalendarDatePartsUnits:{type:"string",enum:["dayOfMonth","dayOfWeek","dayOfYear","hourOfDay","monthOfYear","minuteOfDay","weekOfYear","quarterOfYear"],description:"Represents the units that can be used for calendar-based date parts binning.",title:"WebChartCalendarDatePartsUnits"},WebChartTemporalBinning:{type:"object",properties:{outTimeZone:{type:"string",description:"Defines the [IANA time zone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) used for temporal bin calculations Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},firstDayOfWeek:{type:"number",description:"The first day of the week. This property is used to determine the start of the week for date-based bins. The default value depends on the user locale (e.g. 7 as Sunday for a USA user, 1 as Monday for a French one). Current limitation: this is applied only when the provided layer supports the `queryBins` operation.",minimum:1,maximum:7,multipleOf:1},nullPolicy:{$ref:"#/definitions/WebChartNullPolicyTypes",description:"How summarized bins returning a null value are displayed. Supported options are:\n- `null`, `zero`, and `interpolate` for line series\n- `null` and `zero` for bar series",default:"null"},trimIncompleteTimeInterval:{type:"boolean",description:"Determines whether incomplete time intervals at the start or end of the data span (depending on the `timeAggregationType`) will be removed from the chart. Incomplete intervals on a chart can cause misleading results in which the period in question is under- or over reported due to a different amount of time in the interval. Setting `true` indicates to trim these incomplete intervals. Setting `false` does not trim incomplete intervals.",default:!0},start:{type:"number",description:"The binning start date. Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},end:{type:"number",description:"The binning end date Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},offset:{type:"object",properties:{unit:{$ref:"#/definitions/WebChartTemporalBinningUnits"},size:{type:"number"}},required:["unit","size"],description:"Offset to apply to the results Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},unit:{$ref:"#/definitions/WebChartTemporalBinningUnits",description:'The unit of time to use to bin the temporal data. Current limitation: the "quarters" unit is only supported if the provided layer supports the `queryBins` operation.'},size:{type:"number",description:"The span of time that will be binned or aggregated together. Works in coordination with `unit`."},timeAggregationType:{$ref:"#/definitions/WebChartTimeAggregationTypes",description:"The time interval alignment type. Valid options include `equalIntervalsFromStartTime` and `equalIntervalsFromEndTime`. When specific the binning will start at the first or last date of the dataset.",default:"equalIntervalsFromStartTime"}},description:"Describes the properties available for a temporal binning for a bar or line",title:"WebChartTemporalBinning"},WebChartTemporalBinningExtras:{type:"object",properties:{outTimeZone:{type:"string",description:"Defines the [IANA time zone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) used for temporal bin calculations Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},firstDayOfWeek:{type:"number",description:"The first day of the week. This property is used to determine the start of the week for date-based bins. The default value depends on the user locale (e.g. 7 as Sunday for a USA user, 1 as Monday for a French one). Current limitation: this is applied only when the provided layer supports the `queryBins` operation.",minimum:1,maximum:7,multipleOf:1},nullPolicy:{$ref:"#/definitions/WebChartNullPolicyTypes",description:"How summarized bins returning a null value are displayed. Supported options are:\n- `null`, `zero`, and `interpolate` for line series\n- `null` and `zero` for bar series",default:"null"}},description:"Describes the extra properties available for a temporal series and for the heat chart",title:"WebChartTemporalBinningExtras"},WebChartNullPolicyTypes:{type:"string",enum:["null","zero","interpolate"],description:"Represents the different types of null policy that can be applied to a chart using the time binning feature.",title:"WebChartNullPolicyTypes"},WebChartTimeAggregationTypes:{type:"string",enum:["equalIntervalsFromStartTime","equalIntervalsFromEndTime"],description:"Represents the different types of time aggregation that can be applied to a chart using the time binning feature.",title:"WebChartTimeAggregationTypes"},WebChartTemporalSeries:{type:"object",properties:{binTemporalData:{type:"boolean",description:"Whether to use the time properties to bin the temporal data. If set to `false` the `binCount` and `unit` properties can be used to set the date axis base interval.",default:!0},temporalBinning:{$ref:"#/definitions/WebChartTemporalBinning",description:"Describes how to bin the temporal data."}},description:"Describes the properties related to a temporal series",title:"WebChartTemporalSeries"},WebChartBarChartSeries:{type:"object",properties:{binTemporalData:{type:"boolean",description:"Whether to use the time properties to bin the temporal data. If set to `false` the `binCount` and `unit` properties can be used to set the date axis base interval.",default:!0},temporalBinning:{$ref:"#/definitions/WebChartTemporalBinning",description:"Describes how to bin the temporal data."},type:{type:"string",const:"barSeries",description:'Represents a unique string identifier for the BarChartSeries object. For BarSeries object, it is "barSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},y:{type:"string",description:"Specifies which field represents the y-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the columns/bars should be rendered"},hideOversizedStackedLabels:{type:"boolean",description:"When true or undefined (default), the labels displayed within a small stacked column are hidden to avoid cluttering. When false, all the data labels are displayed.",default:!0},hideOversizedSideBySideLabels:{type:"boolean",description:"When true, the labels displayed within a small column for sideBySide bar series are hidden to avoid cluttering. When false or undefined (default), all the data labels are displayed.",default:!1},nullCategory:{$ref:"#/definitions/WebChartNullCategory",description:"Specifies how to display the category with null value Setting this property will ensure that the item with no data is displayed on the chart with the specified text and color."}},required:["id","name","type","x","y"],description:"[Bar chart](https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/charts/bar-chart.htm) shows the categorical distribution of String/DateTime data.",title:"WebChartBarChartSeries"},HistogramOverlays:{type:"object",properties:{type:{type:"string",const:"chartOverlays",description:'Represents a unique string identifier for the HistogramOverlays object. For HistogramOverlays object, it is "chartOverlays".'},mean:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the mean overlay for histogram. If not provided, the mean overlay is not displayed."},median:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the median overlay for histogram. If not provided, the median overlay is not displayed."},standardDeviation:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the standard deviation overlay for histogram. If not provided, the standard deviation overlay is not displayed."},comparisonDistribution:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the comparison distribution overlay for histogram. If not provided, the comparison distribution overlay is not displayed."}},required:["type"],description:"Object containing Histogram overlays",title:"HistogramOverlays"},WebChartHistogramSeries:{type:"object",properties:{type:{type:"string",const:"histogramSeries",description:'Represents a unique string identifier for the HistogramSeries object. For BarSeries object, it is "histogramSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},binCount:{type:["number","null"],description:"Bin count must be a positive integer.",minimum:1,multipleOf:1,default:32},overlays:{$ref:"#/definitions/HistogramOverlays",description:"Specifies the chart overlays. Histogram supports 4 overlays: **mean**, **median**, **standardDeviation** and **comparisonDistribution**. The overlays won't show if the property is not defined."},dataTransformationType:{$ref:"#/definitions/WebChartDataTransformations",description:"Specifies how the data should be transformed (e.g. square root, log, etc.) before binning."},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the columns/bars should be rendered"}},required:["id","name","type","x"],description:"[Histogram](https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/charts/histogram.htm) shows the numerical(frequency) distribution of a numerical field.",title:"WebChartHistogramSeries"},WebChartDataTransformations:{type:"string",enum:["none","logarithmic","squareRoot"],title:"WebChartDataTransformations"},ScatterplotOverlays:{type:"object",properties:{type:{type:"string",const:"chartOverlays",description:'Represents a unique string identifier for the ScatterplotOverlays object. For ScatterplotOverlays object, it is "chartOverlays".'},trendLine:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the trendline overlay for scatter plot. The trendline won't show if the property is not defined."}},required:["type"],description:"Object containing Scatter Plot overlays",title:"ScatterplotOverlays"},SizePolicy:{type:"object",properties:{type:{type:"string",const:"sizeScale",description:'Represents a unique string identifier for the sizePolicy object. For sizePolicy object, it is "sizeScale".'},scaleType:{$ref:"#/definitions/SizePolicyScaleTypes",description:"The type of scale to apply to the markers (linear or logarithmic)",default:"SizePolicyScaleTypes.Linear"},field:{type:"string",description:"The field which determines the markers size"},minSize:{type:"number",description:"The minimum marker size",default:5,multipleOf:1},maxSize:{type:"number",description:"The maximum marker size",default:30,multipleOf:1}},required:["type","field"],title:"SizePolicy"},SizePolicyScaleTypes:{type:"string",enum:["linear","logarithmic"],description:"Represents the types of scales that can be applied to the size policy. Use by bubble charts (scatterplot).",title:"SizePolicyScaleTypes"},WebChartScatterplotSeries:{type:"object",properties:{type:{type:"string",const:"scatterSeries",description:'Represents a unique string identifier for the ScatterSeries object. For ScatterSeries object, it is "scatterSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},y:{type:"string",description:"Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},markerSymbol:{$ref:"#/definitions/ISimpleMarkerSymbol",description:'Specifies how each data point in the scatter plot should be rendered. The type is `"esriSMS"` and it is adopted from the [REST API Types](https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm#GUID-C8D40B32-5F4B-45EB-8048-6D5A8763E13B).'},overlays:{$ref:"#/definitions/ScatterplotOverlays",description:"Specifies all the chart overlays. The scatter plot implements only 1 overlay, **trendLine**. The overlays won't show if the property is not defined."},sizePolicy:{$ref:"#/definitions/SizePolicy",description:"Specifies rules to use the scatter plot as bubble plot, by changing dynamically the markers size according to a specific field value"},additionalTooltipFields:{type:"array",items:{type:"string"},description:"Specifies the additional numeric fields in the tooltip."}},required:["id","name","type","x","y"],description:"[Scatter plot](https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/charts/scatter-plot.htm) shows the relationship between two numerical fields.",title:"WebChartScatterplotSeries"},ISimpleMarkerSymbol:{type:"object",properties:{type:{type:"string",const:"esriSMS"},style:{$ref:"#/definitions/SimpleMarkerSymbolStyle"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"},color:{$ref:"#/definitions/Color"},size:{type:"number"},outline:{$ref:"#/definitions/ISimpleLineSymbol"}},required:["type"],title:"ISimpleMarkerSymbol"},IMarkerSymbol:{type:"object",properties:{type:{$ref:"#/definitions/SymbolType"},style:{type:"string"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"}},required:["type"],title:"IMarkerSymbol"},SimpleMarkerSymbolStyle:{type:"string",enum:["esriSMSCircle","esriSMSCross","esriSMSDiamond","esriSMSSquare","esriSMSTriangle","esriSMSX"],title:"SimpleMarkerSymbolStyle"},WebChartPieChartTick:{type:"object",properties:{type:{type:"string",const:"pieTick",description:'Represents a unique string identifier for the WebChartPieChartTick object. For PieTick object, it is "pieTick".'},visible:{type:"boolean",description:"Determines the visibility of the tick. Assigning the `true` value will only be considered when the data labels are visible (`series.dataLabels.visible`) and when the data label associated to the tick is outside of the chart (`series.dataLabelsOffset` > 0)."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the pie chart ticks should be rendered"}},required:["type"],description:"JSON representation of the pie ticks.",title:"WebChartPieChartTick"},WebChartPieChartSlice:{type:"object",properties:{sliceId:{type:"string",description:"A unique string used identify the slice of a pie chart."},originalLabel:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"The slice's original label."},label:{type:"string",description:"Custom label for the slice. For grouped slice, the default value is `Other`. For regular slice, it will be either the category or field name."},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the slice should be rendered. If not provided, the slice will be styled with default values."}},required:["sliceId"],description:"JSON representation of the pie slices",title:"WebChartPieChartSlice"},WebChartPieChartGroupSlice:{type:"object",properties:{sliceId:{type:"string",description:"A unique string used identify the slice of a pie chart."},originalLabel:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"The slice's original label."},label:{type:"string",description:"Custom label for the slice. For grouped slice, the default value is `Other`. For regular slice, it will be either the category or field name."},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the slice should be rendered. If not provided, the slice will be styled with default values."},percentageThreshold:{type:"number",description:"Slices that have a percent value equal or lesser to this threshold are grouped into a unique slice"},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the grouped slice data labels should be rendered. If the property is not set the `series.dataLabels` will be used instead."}},required:["percentageThreshold","sliceId"],description:"JSON representation of the pie grouped slice",title:"WebChartPieChartGroupSlice"},WebChartPieChartSeries:{type:"object",properties:{type:{type:"string",const:"pieSeries",description:'Represents a unique string identifier for the PieSeries object. For PieSeries object, it is "pieSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},y:{type:"string",description:"Specifies which field represents the y-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},innerRadius:{type:["number","null"],description:"Represents the size of the hole in middle of the chart. The number is used as a percentage rather than a fixed value.",minimum:0,maximum:100,default:50},startAngle:{type:["number","null"],default:-90},endAngle:{type:["number","null"],default:270},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the slices should be rendered"},displayCategoryOnDataLabel:{type:"boolean",description:"Indicates whether the category associated to a slice is to be displayed on its data label. This property will be ignored if the chart options `dataLabelFormatter` is provided.",default:!0},displayNumericValueOnDataLabel:{type:"boolean",description:"Indicates whether the numeric value associated to a slice is to be displayed on its data label. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)`. This property will be ignored if the chart options `dataLabelFormatter` is provided.",default:!0},displayPercentageOnDataLabel:{type:"boolean",description:"Indicates whether the percentage associated to a slice is to be displayed on its data label. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)` This property will be ignored if the chart options `dataLabelFormatter` is provided.",default:!1},displayCategoryOnTooltip:{type:"boolean",description:"Indicates whether the category associated to a slice is to be displayed on its tooltip. This property will be ignored if the chart options `tooltipFormatter` is provided.",default:!0},displayNumericValueOnTooltip:{type:"boolean",description:"Indicates whether the numeric value associated to a slice is to be displayed on its tooltip. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)` This property will be ignored if the chart options `tooltipFormatter` is provided.",default:!0},displayPercentageOnTooltip:{type:"boolean",description:"Indicates whether the percentage associated to a slice is to be displayed on its tooltip. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)` This property will be ignored if the chart options `tooltipFormatter` is provided.",default:!0},numericValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Specifies how the numerical values should be formatted (applied to label, tooltip and legend). Can be overridden for the tooltips by series.dataTooltipValueFormat."},percentValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Specifies how the percent values should be formatted (applied to label, tooltip and legend) Can be overridden for the tooltips by series.dataTooltipPercentFormat."},valuePrefix:{type:"string",description:"Adds a prefix to all the values displayed on the pie chart: data labels, tooltips and legend"},valueSuffix:{type:"string",description:"Adds a suffix to all the values displayed on the pie chart: data labels, tooltips and legend"},percentagePrefix:{type:"string",description:"Adds a prefix to all the percentages displayed on the pie chart: data labels, tooltips and legend"},percentageSuffix:{type:"string",description:"Adds a suffix to all the percentages displayed on the pie chart: data labels, tooltips and legend"},dataLabelsCharacterLimit:{type:["number","null"],description:'If set, the category on the data label is truncated to display only `characterLimit` characters, and an ellipsis ("...") is added to the end of the label. This does not affect the value and percentage part of the labels. Does not apply to tooltips and legend labels.',default:"undefined",minimum:1,multipleOf:1},ticks:{$ref:"#/definitions/WebChartPieChartTick",description:"Specifies how to render the ticks shown on each slide. Ticks will be displayed with default values if not provided."},dataLabelsInside:{type:"boolean",description:`Whether to place the data labels inside the pie slices. When set to \`true\` the following properties will be ignored:
6
- - dataLabelsOffset
7
- - alignDataLabels
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
-
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:{$ref:"#/definitions/WebChartTemporalBinning",description:"Describes how to bin the temporal data."},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},nullCategory:{$ref:"#/definitions/WebChartNullCategory",description:"Specifies how to display the category with null value Setting this property will ensure that the item with no data is displayed on the chart with the specified text and color."}},required:["id","name","type","x","y"],description:"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"},WebChartHeatChartGradient:{type:"object",properties:{colorList:{type:"array",items:{$ref:"#/definitions/Color"},minItems:2,maxItems:2,description:"An array of 2 colors to use for the gradient. The first color represents the minimum value, the second color represents the maximum value."},minValue:{type:"number",description:"Specifies the custom minimum value for the heat chart. If none is provided, the minimum value from the dataset will be used."},maxValue:{type:"number",description:"Specifies the custom maximum value for the heat chart. If none is provided, the maximum value from the dataset will be used."},outsideRangeLowerColor:{$ref:"#/definitions/Color",description:"Specifies the color to use for the items outside the lower range specified by minValue. If none is provided, the default color will be used.",default:"[250, 250, 250, 255] - white"},outsideRangeUpperColor:{$ref:"#/definitions/Color",description:"Specifies the color to use for the items outside the upper range specified by maxValue. If none is provided, the default color will be used.",default:"[0, 0, 255, 255] - blue"}},description:"JSON representation of the Heat chart - gradient type specific",title:"WebChartHeatChartGradient"},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:{$ref:"#/definitions/WebChartCalendarDatePartsBinning",description:"Describes how to bin the temporal data when the x-axis field is a date."},yTemporalBinning:{$ref:"#/definitions/WebChartCalendarDatePartsBinning",description:"Describes how to bin the temporal data when the y-axis field is a date."},gridLine:{$ref:"#/definitions/ISimpleLineSymbol",description:"Defines how the cells outline should render."},heatRulesType:{$ref:"#/definitions/WebChartHeatChartHeatRulesTypes",description:"Defines the type of rule to apply for the heat chart.",default:"WebChartHeatChartHeatRulesTypes.Gradient"},gradientRules:{$ref:"#/definitions/WebChartHeatChartGradient",description:"Specifies the details of the gradient rules for the heat chart."},emptyCells:{type:"object",properties:{text:{type:"string",description:"Specifies the text to use by the empty cells. If none is provided, the default `null` text will be used.",default:"`null`"},symbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Specifies the symbol to use by the empty cells. If none is provided, the default symbol will be used."}},description:"Specifies how to display the empty cells, in terms of text and symbology."}},required:["id","name","type","x","y"],description:"JSON representation of the Heat chart series",title:"WebChartHeatChartSeries"},WebChartHeatChartHeatRulesTypes:{type:"string",const:"gradient",description:"Represents the different types of heat rule that can be applied to a heat chart.",title:"WebChartHeatChartHeatRulesTypes"},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:{$ref:"#/definitions/WebChartTemporalBinning",description:"Describes how to bin the temporal data."},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},nullCategory:{$ref:"#/definitions/WebChartNullCategory",description:"Specifies how to display the category with null value Setting this property will ensure that the item with no data is displayed on the chart with the specified text and color."}},required:["id","name","type","x","y"],description:"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:"24.4.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.
11
-
12
- 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).
13
-
14
- When the value is set to false, we want to order the split-by series based on the series' split-by values.`,default:!0},orderBy:{$ref:"#/definitions/WebChartSortOrderKinds",description:"The direction of the order.",default:"WebChartSortOrderKinds.Ascending"}},description:"Order options for split-by series.",title:"WebChartOrderSeriesBy"},WebChartSortOrderKinds:{type:"string",enum:["ASC","DESC"],title:"WebChartSortOrderKinds"},WebChartDirectionalDataOrder:{type:"object",properties:{orderType:{$ref:"#/definitions/WebChartOrderDataByTypes",description:"The type of order, eg by category, by mean, by median, or by y value."},orderBy:{$ref:"#/definitions/WebChartSortOrderKinds",description:"The direction of the order, either ascending or descending."},preferLabel:{type:"boolean",description:"Indicates whether to order data by the label or the value.\n\nFor example, when a field has domain coded values or supbtypes, setting this property to `false` will order the data by the field value. Otherwise the domain description, subtypes description, or the alias of the field will be used to sort the data.",default:!0}},required:["orderType","orderBy"],description:"A data order option that the items are to be ordered either ascending or descending. It can be used for any type of order, like by category, by mean, by median, etc.",title:"WebChartDirectionalDataOrder"},WebChartOrderDataByTypes:{type:"string",enum:["arcgis-charts-y-value","arcgis-charts-mean","arcgis-charts-median","arcgis-charts-category"],description:"The types of order assocated with chart data.",title:"WebChartOrderDataByTypes"},WebChartPredefinedLabelsDataOrder:{type:"object",properties:{orderType:{type:"string",const:"arcgis-charts-category",description:"The type of order, which is by category."},orderBy:{type:"array",items:{type:"string"},description:"The predefined list of labels to order the data by.\n\nWhen the value of the `preferLabel` property is set to `false`, the `orderBy` list should be a list of coded domain values or field names; otherwise, it should be a list of domain descriptions, subtypes descriptions, or field aliases."},preferLabel:{type:"boolean",description:"Indicates whether to order data by the label or the value.\n\nFor example, when a field has domain coded values or supbtypes, setting this property to `false` will order the data by the field value. Otherwise the domain description, subtypes description, or the alias of the field will be used to sort the data.\n\nWhen the value is set to `true` or undefined, the `orderBy` property should contain a list of labels like domain descriptions, subtypes descriptions, or field aliases. When the value is set to `false`, the `orderBy` property should contain a list of coded domain values or field names, in order for the data to be sorted correctly.",default:!0}},required:["orderType","orderBy"],description:"A data order option for the items to be ordered by `category` based on a predefined list of labels.",title:"WebChartPredefinedLabelsDataOrder"},WebGaugeChart:{type:"object",properties:{version:{type:"string",const:"24.4.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/WebChartGaugeAxis"},minItems:1,maxItems:1,description:"Array of one WebChartGaugeAxis"},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.
15
-
16
- 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)"},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.",default:50},startAngle:{type:["number","null"],description:"Represents where is the chart's starting point",default:-180},endAngle:{type:["number","null"],description:"Represents where is the chart's ending point. To be related with startAngle. If endAngle-startAngle is 360 the chart will render as full circle.",default:180},subType:{$ref:"#/definitions/GaugeChartSubTypes",description:"The type of Gauge, like FeatureGauge and StatisticGauge.\n\nWhen this property is not specified, it will be defaulted to `GaugeChartSubTypes.StatisticGauge`."}},required:["axes","series","type","version"],description:"JSON representation of Gauge chart.",title:"WebGaugeChart"},GaugeChartSubTypes:{type:"string",enum:["featureGauge","statisticGauge"],description:"Represents the different types of gauge charts.",title:"GaugeChartSubTypes"},WebBoxPlot:{type:"object",properties:{version:{type:"string",const:"24.4.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:{anyOf:[{$ref:"#/definitions/WebChartBoxPlotSeries"},{$ref:"#/definitions/WebChartLineChartSeries"}]},description:'The box plot series can be of type "boxPlotSeries" or "lineSeries".'},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.
17
-
18
- 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)"},showOutliers:{type:"boolean",description:"Whether to show the outliers on the chart"},standardizeValues:{type:"boolean",description:"Whether to standardize the values by calculating the series z-score"},showMean:{type:"boolean",description:"Whether to show the mean lines on the chart. Applies only if a split-by field is set. Additionally the chart will render with that option enabled only if the the series array contains one box plot series and N lines series.",default:!1}},required:["series","type","version"],description:"JSON representation of Gauge",title:"WebBoxPlot"},WebRadarChart:{type:"object",properties:{version:{type:"string",const:"24.4.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",minItems:2,items:[{$ref:"#/definitions/WebChartRadarChartAxis"},{$ref:"#/definitions/WebChartAxis"}],maxItems:2,description:"Array of two axes, one specific to the radar chart and the other one common to all charts"},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/WebChartRadarChartSeries"},description:"The radar chart series",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.
19
-
20
- 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:["axes","series","type","version"],description:"Gives a JSON representation of the Radar Chart object.",title:"WebRadarChart"},WebHeatChart:{type:"object",properties:{outTimeZone:{type:"string",description:"Defines the [IANA time zone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) used for temporal bin calculations Current limitation: this is applied only when the provided layer supports the `queryBins` operation."},firstDayOfWeek:{type:"number",description:"The first day of the week. This property is used to determine the start of the week for date-based bins. The default value depends on the user locale (e.g. 7 as Sunday for a USA user, 1 as Monday for a French one). Current limitation: this is applied only when the provided layer supports the `queryBins` operation.",minimum:1,maximum:7,multipleOf:1},nullPolicy:{$ref:"#/definitions/WebChartNullPolicyTypes",description:"How summarized bins returning a null value are displayed. Supported options are:\n- `null`, `zero`, and `interpolate` for line series\n- `null` and `zero` for bar series",default:"null"},version:{type:"string",const:"24.4.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/WebChartHeatChartSeries"},description:"The heat chart series",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.
21
-
22
- 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:["series","type","version"],description:"Gives a JSON representation of the Heat Chart object.",title:"WebHeatChart"},SupportedLayer:{anyOf:[{$ref:"#/definitions/__esri.FeatureLayer"},{$ref:"#/definitions/__esri.SubtypeSublayer"}],description:"Supported layer type for ArcGIS charts.",title:"SupportedLayer"},"__esri.FeatureLayer":{type:"object",properties:{useViewTime:{type:"boolean"},maxScale:{type:"number"},minScale:{type:"number"},publishingInfo:{anyOf:[{$ref:"#/definitions/__esri.PublishingInfo"},{$ref:"#/definitions/nullish"}]},persistenceEnabled:{type:"boolean"},capabilities:{anyOf:[{$ref:"#/definitions/__esri.Capabilities"},{$ref:"#/definitions/nullish"}]},copyright:{anyOf:[{type:"string"},{$ref:"#/definitions/nullish"}]},dateFieldsTimeZone:{anyOf:[{type:"string"},{$ref:"#/definitions/nullish"}]},datesInUnknownTimezone:{type:"boolean"},definitionExpression:{anyOf:[{type:"string"},{$ref:"#/definitions/nullish"}]},displayField:{anyOf:[{type:"string"},{$ref:"#/definitions/nullish"}]},editFieldsInfo:{anyOf:[{$ref:"#/definitions/__esri.EditFieldsInfo"},{$ref:"#/definitions/nullish"}]},editingInfo:{anyOf:[{$ref:"#/definitions/__esri.EditingInfo"},{$ref:"#/definitions/nullish"}]},effectiveCapabilities:{anyOf:[{$ref:"#/definitions/__esri.Capabilities"},{$ref:"#/definitions/nullish"}]},effectiveEditingEnabled:{type:"boolean"},fieldsIndex:{$ref:"#/definitions/__esri.FieldsIndex"},gdbVersion:{anyOf:[{type:"string"},{$ref:"#/definitions/nullish"}]},geometryFieldsInfo:{anyOf:[{$ref:"#/definitions/__esri.GeometryFieldsInfo"},{$ref:"#/definitions/nullish"}]},geometryType:{anyOf:[{type:"string",const:"point"},{type:"string",const:"multipoint"},{type:"string",const:"polyline"},{type:"string",const:"polygon"},{type:"string",const:"multipatch"},{type:"string",const:"mesh"},{$ref:"#/definitions/nullish"}]},globalIdField:{anyOf:[{type:"string"},{$ref:"#/definitions/nullish"}]},hasM:{type:"boolean"},hasZ:{type:"boolean"},isTable:{type:"boolean"},layerId:{anyOf:[{type:"number"},{$ref:"#/definitions/nullish"}]},objectIdField:{type:"string"},preferredTimeZone:{anyOf:[{type:"string"},{$ref:"#/definitions/nullish"}]},relationships:{anyOf:[{type:"array",items:{$ref:"#/definitions/__esri.Relationship"}},{$ref:"#/definitions/nullish"}]},returnM:{anyOf:[{type:"boolean"},{$ref:"#/definitions/nullish"}]},returnZ:{anyOf:[{type:"boolean"},{$ref:"#/definitions/nullish"}]},serviceDefinitionExpression:{anyOf:[{type:"string"},{$ref:"#/definitions/nullish"}]},serviceItemId:{anyOf:[{type:"string"},{$ref:"#/definitions/nullish"}]},sourceJSON:{anyOf:[{},{$ref:"#/definitions/nullish"}]},subtypeField:{anyOf:[{type:"string"},{$ref:"#/definitions/nullish"}]},subtypes:{anyOf:[{type:"array",items:{$ref:"#/definitions/__esri.Subtype"}},{$ref:"#/definitions/nullish"}]},title:{anyOf:[{type:"string"},{$ref:"#/definitions/nullish"}]},url:{anyOf:[{type:"string"},{$ref:"#/definitions/nullish"}]},version:{anyOf:[{type:"number"},{$ref:"#/definitions/nullish"}]},displayFilterEnabled:{type:"boolean"},displayFilterInfo:{anyOf:[{$ref:"#/definitions/__esri.DisplayFilterInfo"},{$ref:"#/definitions/nullish"}]},customParameters:{anyOf:[{},{$ref:"#/definitions/nullish"}]},blendMode:{type:"string",enum:["average","color-burn","color-dodge","color","darken","destination-atop","destination-in","destination-out","destination-over","difference","exclusion","hard-light","hue","invert","lighten","lighter","luminosity","minus","multiply","normal","overlay","plus","reflect","saturation","screen","soft-light","source-atop","source-in","source-out","vivid-light","xor"]},effect:{anyOf:[{$ref:"#/definitions/__esri.Effect"},{$ref:"#/definitions/nullish"}]},apiKey:{anyOf:[{type:"string"},{$ref:"#/definitions/nullish"}]},uid:{type:"string"},loadError:{anyOf:[{$ref:"#/definitions/__esri.Error"},{$ref:"#/definitions/nullish"}]},loadStatus:{type:"string",enum:["not-loaded","loading","failed","loaded"]},loadWarnings:{type:"array",items:{}},destroyed:{type:"boolean"},initialized:{type:"boolean"},declaredClass:{type:"string"}},required:["apiKey","blendMode","capabilities","copyright","customParameters","dateFieldsTimeZone","datesInUnknownTimezone","declaredClass","definitionExpression","destroyed","displayField","displayFilterEnabled","displayFilterInfo","editFieldsInfo","editingInfo","effect","effectiveCapabilities","effectiveEditingEnabled","fieldsIndex","gdbVersion","geometryFieldsInfo","geometryType","globalIdField","hasM","hasZ","initialized","isTable","layerId","loadError","loadStatus","loadWarnings","maxScale","minScale","objectIdField","persistenceEnabled","preferredTimeZone","publishingInfo","relationships","returnM","returnZ","serviceDefinitionExpression","serviceItemId","sourceJSON","subtypeField","subtypes","title","uid","url","useViewTime","version"],title:"__esri.FeatureLayer"},"__esri.Layer":{type:"object",properties:{uid:{type:"string"},loadError:{anyOf:[{$ref:"#/definitions/__esri.Error"},{$ref:"#/definitions/nullish"}]},loadStatus:{type:"string",enum:["not-loaded","loading","failed","loaded"]},loadWarnings:{type:"array",items:{}},destroyed:{type:"boolean"},initialized:{type:"boolean"},declaredClass:{type:"string"}},required:["declaredClass","destroyed","initialized","loadError","loadStatus","loadWarnings","uid"],title:"__esri.Layer"},"__esri.Accessor":{type:"object",properties:{destroyed:{type:"boolean"},initialized:{type:"boolean"},declaredClass:{type:"string"}},required:["destroyed","initialized","declaredClass"],title:"__esri.Accessor"},"__esri.Loadable":{type:"object",properties:{loadError:{anyOf:[{$ref:"#/definitions/__esri.Error"},{$ref:"#/definitions/nullish"}]},loadStatus:{type:"string",enum:["not-loaded","loading","failed","loaded"]},loadWarnings:{type:"array",items:{}}},required:["loadError","loadStatus","loadWarnings"],title:"__esri.Loadable"},"__esri.Error":{type:"object",properties:{details:{anyOf:[{},{$ref:"#/definitions/nullish"}],description:`The details object provides additional details specific to the error, giving more information about why the error was raised.
23
-
24
- {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Error.html#details Read more... }`},message:{type:"string",description:`A message describing the details of the error.
25
-
26
- {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Error.html#message Read more... }`},name:{type:"string",description:`A unique error name.
27
-
28
- {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Error.html#name Read more... }`}},required:["details","message","name"],title:"__esri.Error"},nullish:{anyOf:[{type:"null"},{not:{}}],title:"nullish"},"__esri.Evented":{type:"object",title:"__esri.Evented"},"__esri.Identifiable":{type:"object",properties:{uid:{type:"string"}},required:["uid"],title:"__esri.Identifiable"},"__esri.APIKeyMixin":{type:"object",properties:{apiKey:{anyOf:[{type:"string"},{$ref:"#/definitions/nullish"}]}},required:["apiKey"],title:"__esri.APIKeyMixin"},"__esri.BlendLayer":{type:"object",properties:{blendMode:{type:"string",enum:["average","color-burn","color-dodge","color","darken","destination-atop","destination-in","destination-out","destination-over","difference","exclusion","hard-light","hue","invert","lighten","lighter","luminosity","minus","multiply","normal","overlay","plus","reflect","saturation","screen","soft-light","source-atop","source-in","source-out","vivid-light","xor"]},effect:{anyOf:[{$ref:"#/definitions/__esri.Effect"},{$ref:"#/definitions/nullish"}]}},required:["blendMode","effect"],title:"__esri.BlendLayer"},"__esri.Effect":{anyOf:[{type:"array",items:{}},{type:"string"}],description:`Effect provides various filter functions that can be performed on a layer or a layerView to achieve different visual effects similar to how image filters (photo apps) work.
29
-
30
- {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureEffect.html#Effect Read more... }`,title:"__esri.Effect"},"__esri.Clonable":{type:"object",title:"__esri.Clonable"},"__esri.CustomParametersMixin":{type:"object",properties:{customParameters:{anyOf:[{},{$ref:"#/definitions/nullish"}]}},required:["customParameters"],title:"__esri.CustomParametersMixin"},"__esri.DisplayFilteredLayer":{type:"object",properties:{displayFilterEnabled:{type:"boolean"},displayFilterInfo:{anyOf:[{$ref:"#/definitions/__esri.DisplayFilterInfo"},{$ref:"#/definitions/nullish"}]}},required:["displayFilterEnabled","displayFilterInfo"],title:"__esri.DisplayFilteredLayer"},"__esri.DisplayFilterInfo":{type:"object",properties:{destroyed:{type:"boolean"},initialized:{type:"boolean"},declaredClass:{type:"string"}},required:["declaredClass","destroyed","initialized"],title:"__esri.DisplayFilterInfo"},"__esri.JSONSupport":{type:"object",title:"__esri.JSONSupport"},"__esri.FeatureEffectLayer":{type:"object",title:"__esri.FeatureEffectLayer"},"__esri.FeatureLayerBase":{type:"object",properties:{capabilities:{anyOf:[{$ref:"#/definitions/__esri.Capabilities"},{$ref:"#/definitions/nullish"}]},copyright:{anyOf:[{type:"string"},{$ref:"#/definitions/nullish"}]},dateFieldsTimeZone:{anyOf:[{type:"string"},{$ref:"#/definitions/nullish"}]},datesInUnknownTimezone:{type:"boolean"},definitionExpression:{anyOf:[{type:"string"},{$ref:"#/definitions/nullish"}]},displayField:{anyOf:[{type:"string"},{$ref:"#/definitions/nullish"}]},editFieldsInfo:{anyOf:[{$ref:"#/definitions/__esri.EditFieldsInfo"},{$ref:"#/definitions/nullish"}]},editingInfo:{anyOf:[{$ref:"#/definitions/__esri.EditingInfo"},{$ref:"#/definitions/nullish"}]},effectiveCapabilities:{anyOf:[{$ref:"#/definitions/__esri.Capabilities"},{$ref:"#/definitions/nullish"}]},effectiveEditingEnabled:{type:"boolean"},fieldsIndex:{$ref:"#/definitions/__esri.FieldsIndex"},gdbVersion:{anyOf:[{type:"string"},{$ref:"#/definitions/nullish"}]},geometryFieldsInfo:{anyOf:[{$ref:"#/definitions/__esri.GeometryFieldsInfo"},{$ref:"#/definitions/nullish"}]},geometryType:{anyOf:[{type:"string",const:"point"},{type:"string",const:"multipoint"},{type:"string",const:"polyline"},{type:"string",const:"polygon"},{type:"string",const:"multipatch"},{type:"string",const:"mesh"},{$ref:"#/definitions/nullish"}]},globalIdField:{anyOf:[{type:"string"},{$ref:"#/definitions/nullish"}]},hasM:{type:"boolean"},hasZ:{type:"boolean"},isTable:{type:"boolean"},layerId:{anyOf:[{type:"number"},{$ref:"#/definitions/nullish"}]},objectIdField:{type:"string"},preferredTimeZone:{anyOf:[{type:"string"},{$ref:"#/definitions/nullish"}]},relationships:{anyOf:[{type:"array",items:{$ref:"#/definitions/__esri.Relationship"}},{$ref:"#/definitions/nullish"}]},returnM:{anyOf:[{type:"boolean"},{$ref:"#/definitions/nullish"}]},returnZ:{anyOf:[{type:"boolean"},{$ref:"#/definitions/nullish"}]},serviceDefinitionExpression:{anyOf:[{type:"string"},{$ref:"#/definitions/nullish"}]},serviceItemId:{anyOf:[{type:"string"},{$ref:"#/definitions/nullish"}]},sourceJSON:{anyOf:[{},{$ref:"#/definitions/nullish"}]},subtypeField:{anyOf:[{type:"string"},{$ref:"#/definitions/nullish"}]},subtypes:{anyOf:[{type:"array",items:{$ref:"#/definitions/__esri.Subtype"}},{$ref:"#/definitions/nullish"}]},title:{anyOf:[{type:"string"},{$ref:"#/definitions/nullish"}]},url:{anyOf:[{type:"string"},{$ref:"#/definitions/nullish"}]},version:{anyOf:[{type:"number"},{$ref:"#/definitions/nullish"}]}},required:["capabilities","copyright","dateFieldsTimeZone","datesInUnknownTimezone","definitionExpression","displayField","editFieldsInfo","editingInfo","effectiveCapabilities","effectiveEditingEnabled","fieldsIndex","gdbVersion","geometryFieldsInfo","geometryType","globalIdField","hasM","hasZ","isTable","layerId","objectIdField","preferredTimeZone","relationships","returnM","returnZ","serviceDefinitionExpression","serviceItemId","sourceJSON","subtypeField","subtypes","title","url","version"],title:"__esri.FeatureLayerBase"},"__esri.Capabilities":{type:"object",properties:{analytics:{$ref:"#/definitions/__esri.CapabilitiesAnalytics"},attachment:{anyOf:[{$ref:"#/definitions/__esri.CapabilitiesAttachment"},{$ref:"#/definitions/nullish"}]},data:{$ref:"#/definitions/__esri.CapabilitiesData"},editing:{$ref:"#/definitions/__esri.CapabilitiesEditing"},metadata:{$ref:"#/definitions/__esri.CapabilitiesMetadata"},operations:{$ref:"#/definitions/__esri.CapabilitiesOperations"},query:{$ref:"#/definitions/__esri.CapabilitiesQuery"},queryAttributeBins:{$ref:"#/definitions/__esri.CapabilitiesQueryAttributeBins"},queryRelated:{$ref:"#/definitions/__esri.CapabilitiesQueryRelated"},queryTopFeatures:{$ref:"#/definitions/__esri.CapabilitiesQueryTopFeatures"}},required:["analytics","attachment","data","editing","metadata","operations","query","queryAttributeBins","queryRelated","queryTopFeatures"],description:`Describes the layer's supported capabilities.
31
-
32
- {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#Capabilities Read more... }`,title:"__esri.Capabilities"},"__esri.CapabilitiesAnalytics":{type:"object",properties:{supportsCacheHint:{type:"boolean"}},required:["supportsCacheHint"],title:"__esri.CapabilitiesAnalytics"},"__esri.CapabilitiesAttachment":{type:"object",properties:{supportsCacheHint:{type:"boolean"},supportsContentType:{type:"boolean"},supportsExifInfo:{type:"boolean"},supportsKeywords:{type:"boolean"},supportsOrderByFields:{type:"boolean"},supportsName:{type:"boolean"},supportsSize:{type:"boolean"},supportsResize:{type:"boolean"},supportsTypeWildcard:{type:"boolean"}},required:["supportsCacheHint","supportsContentType","supportsExifInfo","supportsKeywords","supportsOrderByFields","supportsName","supportsSize","supportsResize","supportsTypeWildcard"],title:"__esri.CapabilitiesAttachment"},"__esri.CapabilitiesData":{type:"object",properties:{isVersioned:{type:"boolean"},isBranchVersioned:{type:"boolean"},supportsAttachment:{type:"boolean"},supportsM:{type:"boolean"},supportsZ:{type:"boolean"}},required:["isVersioned","isBranchVersioned","supportsAttachment","supportsM","supportsZ"],title:"__esri.CapabilitiesData"},"__esri.CapabilitiesEditing":{type:"object",properties:{supportsDeleteByAnonymous:{type:"boolean"},supportsDeleteByOthers:{type:"boolean"},supportsGeometryUpdate:{type:"boolean"},supportsGlobalId:{type:"boolean"},supportsRollbackOnFailure:{type:"boolean"},supportsUpdateByAnonymous:{type:"boolean"},supportsUpdateByOthers:{type:"boolean"},supportsUploadWithItemId:{type:"boolean"},supportsUpdateWithoutM:{type:"boolean"}},required:["supportsDeleteByAnonymous","supportsDeleteByOthers","supportsGeometryUpdate","supportsGlobalId","supportsRollbackOnFailure","supportsUpdateByAnonymous","supportsUpdateByOthers","supportsUploadWithItemId","supportsUpdateWithoutM"],title:"__esri.CapabilitiesEditing"},"__esri.CapabilitiesMetadata":{type:"object",properties:{supportsAdvancedFieldProperties:{type:"boolean"}},required:["supportsAdvancedFieldProperties"],title:"__esri.CapabilitiesMetadata"},"__esri.CapabilitiesOperations":{type:"object",properties:{supportsAdd:{type:"boolean"},supportsCalculate:{type:"boolean"},supportsDelete:{type:"boolean"},supportsEditing:{type:"boolean"},supportsQuery:{type:"boolean"},supportsQueryAttachments:{type:"boolean"},supportsResizeAttachments:{type:"boolean"},supportsQueryTopFeatures:{type:"boolean"},supportsUpdate:{type:"boolean"},supportsValidateSql:{type:"boolean"}},required:["supportsAdd","supportsCalculate","supportsDelete","supportsEditing","supportsQuery","supportsQueryAttachments","supportsResizeAttachments","supportsQueryTopFeatures","supportsUpdate","supportsValidateSql"],title:"__esri.CapabilitiesOperations"},"__esri.CapabilitiesQuery":{type:"object",properties:{maxRecordCount:{anyOf:[{type:"number"},{$ref:"#/definitions/nullish"}]},maxUniqueIDCount:{anyOf:[{type:"number"},{$ref:"#/definitions/nullish"}]},supportsCacheHint:{type:"boolean"},supportsCentroid:{type:"boolean"},supportsDisjointSpatialRelationship:{type:"boolean"},supportsDistance:{type:"boolean"},supportsDistinct:{type:"boolean"},supportsExtent:{type:"boolean"},supportsGeometryProperties:{type:"boolean"},supportsHavingClause:{type:"boolean"},supportsHistoricMoment:{type:"boolean"},supportsMaxRecordCountFactor:{type:"boolean"},supportsOrderBy:{type:"boolean"},supportsPagination:{type:"boolean"},supportsPercentileStatistics:{type:"boolean"},supportsQuantization:{type:"boolean"},supportsQuantizationEditMode:{type:"boolean"},supportsQueryGeometry:{type:"boolean"},supportsResultType:{type:"boolean"},supportsReturnMesh:{type:"boolean"},supportsStandardizedQueriesOnly:{type:"boolean"},supportsStatistics:{type:"boolean"},supportsSqlExpression:{type:"boolean"},supportsSpatialAggregationStatistics:{type:"boolean"},supportsTrueCurve:{type:"boolean"},supportedSpatialAggregationStatistics:{$ref:"#/definitions/__esri.CapabilitiesQuerySupportedSpatialAggregationStatistics"}},required:["maxRecordCount","maxUniqueIDCount","supportsCacheHint","supportsCentroid","supportsDisjointSpatialRelationship","supportsDistance","supportsDistinct","supportsExtent","supportsGeometryProperties","supportsHavingClause","supportsHistoricMoment","supportsMaxRecordCountFactor","supportsOrderBy","supportsPagination","supportsPercentileStatistics","supportsQuantization","supportsQuantizationEditMode","supportsQueryGeometry","supportsResultType","supportsReturnMesh","supportsStandardizedQueriesOnly","supportsStatistics","supportsSqlExpression","supportsSpatialAggregationStatistics","supportsTrueCurve","supportedSpatialAggregationStatistics"],title:"__esri.CapabilitiesQuery"},"__esri.CapabilitiesQuerySupportedSpatialAggregationStatistics":{type:"object",properties:{centroid:{type:"boolean"},envelope:{type:"boolean"},convexHull:{type:"boolean"}},required:["centroid","envelope","convexHull"],title:"__esri.CapabilitiesQuerySupportedSpatialAggregationStatistics"},"__esri.CapabilitiesQueryAttributeBins":{type:"object",properties:{supportsDate:{type:"boolean"},supportsFixedInterval:{type:"boolean"},supportsAutoInterval:{type:"boolean"},supportsFixedBoundaries:{type:"boolean"},supportsStackBy:{type:"boolean"},supportsSplitBy:{type:"boolean"},supportsSnapToData:{type:"boolean"},supportsReturnFullIntervalBin:{type:"boolean"},supportsFirstDayOfWeek:{type:"boolean"},supportsNormalization:{type:"boolean"},supportedNormalizationTypes:{anyOf:[{$ref:"#/definitions/__esri.CapabilitiesQueryAttributeBinsSupportedNormalizationTypes"},{$ref:"#/definitions/nullish"}]},supportedStatistics:{anyOf:[{$ref:"#/definitions/__esri.CapabilitiesQueryAttributeBinsSupportedStatistics"},{$ref:"#/definitions/nullish"}]}},required:["supportsDate","supportsFixedInterval","supportsAutoInterval","supportsFixedBoundaries","supportsStackBy","supportsSplitBy","supportsSnapToData","supportsReturnFullIntervalBin","supportsFirstDayOfWeek","supportsNormalization"],title:"__esri.CapabilitiesQueryAttributeBins"},"__esri.CapabilitiesQueryAttributeBinsSupportedNormalizationTypes":{type:"object",properties:{field:{type:"boolean"},log:{type:"boolean"},naturalLog:{type:"boolean"},percentOfTotal:{type:"boolean"},squareRoot:{type:"boolean"}},title:"__esri.CapabilitiesQueryAttributeBinsSupportedNormalizationTypes"},"__esri.CapabilitiesQueryAttributeBinsSupportedStatistics":{type:"object",properties:{count:{type:"boolean"},sum:{type:"boolean"},avg:{type:"boolean"},var:{type:"boolean"},stddev:{type:"boolean"},min:{type:"boolean"},max:{type:"boolean"},percentileContinuous:{type:"boolean"},percentileDiscrete:{type:"boolean"}},title:"__esri.CapabilitiesQueryAttributeBinsSupportedStatistics"},"__esri.CapabilitiesQueryRelated":{type:"object",properties:{supportsCacheHint:{type:"boolean"},supportsCount:{type:"boolean"},supportsOrderBy:{type:"boolean"},supportsPagination:{type:"boolean"}},required:["supportsCacheHint","supportsCount","supportsOrderBy","supportsPagination"],title:"__esri.CapabilitiesQueryRelated"},"__esri.CapabilitiesQueryTopFeatures":{type:"object",properties:{supportsCacheHint:{type:"boolean"}},required:["supportsCacheHint"],title:"__esri.CapabilitiesQueryTopFeatures"},"__esri.EditFieldsInfo":{type:"object",properties:{creatorField:{type:"string"},creationDateField:{type:"string"},editorField:{type:"string"},editDateField:{type:"string"}},required:["creatorField","creationDateField","editorField","editDateField"],description:`The fields that record who adds or edits data in the feature service and when the edit is made.
33
-
34
- {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#EditFieldsInfo Read more... }`,title:"__esri.EditFieldsInfo"},"__esri.EditingInfo":{type:"object",properties:{lastEditDate:{anyOf:[{type:"string",format:"date-time"},{$ref:"#/definitions/nullish"}]}},required:["lastEditDate"],description:`Specifies information about editing.
35
-
36
- {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#EditingInfo Read more... }`,title:"__esri.EditingInfo"},"__esri.FieldsIndex":{type:"object",properties:{dateFields:{anyOf:[{type:"array",items:{$ref:"#/definitions/__esri.Field"}},{type:"array",items:{}}],description:"An array of date fields or field json objects.",default:`[]
37
-
38
- {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FieldsIndex.html#dateFields Read more...}`}},required:["dateFields"],title:"__esri.FieldsIndex"},"__esri.Field":{type:"object",properties:{destroyed:{type:"boolean"},initialized:{type:"boolean"},declaredClass:{type:"string"}},required:["declaredClass","destroyed","initialized"],title:"__esri.Field"},"__esri.GeometryFieldsInfo":{type:"object",properties:{destroyed:{type:"boolean"},initialized:{type:"boolean"},declaredClass:{type:"string"}},required:["declaredClass","destroyed","initialized"],title:"__esri.GeometryFieldsInfo"},"__esri.Relationship":{type:"object",properties:{destroyed:{type:"boolean"},initialized:{type:"boolean"},declaredClass:{type:"string"}},required:["declaredClass","destroyed","initialized"],title:"__esri.Relationship"},"__esri.Subtype":{type:"object",properties:{destroyed:{type:"boolean"},initialized:{type:"boolean"},declaredClass:{type:"string"}},required:["declaredClass","destroyed","initialized"],title:"__esri.Subtype"},"__esri.FeatureReductionLayer":{type:"object",title:"__esri.FeatureReductionLayer"},"__esri.OperationalLayer":{type:"object",properties:{persistenceEnabled:{type:"boolean"}},required:["persistenceEnabled"],title:"__esri.OperationalLayer"},"__esri.OrderedLayer":{type:"object",title:"__esri.OrderedLayer"},"__esri.PortalLayer":{type:"object",title:"__esri.PortalLayer"},"__esri.PublishableLayer":{type:"object",properties:{publishingInfo:{anyOf:[{$ref:"#/definitions/__esri.PublishingInfo"},{$ref:"#/definitions/nullish"}]}},required:["publishingInfo"],title:"__esri.PublishableLayer"},"__esri.PublishingInfo":{type:"object",properties:{destroyed:{type:"boolean"},initialized:{type:"boolean"},declaredClass:{type:"string"},status:{type:"string",enum:["unknown","unavailable","publishing","published"],description:"Layer's publishing status while the layer is being published to the portal.",default:`"unknown"
39
-
40
- {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-PublishingInfo.html#status Read more...}`},updating:{type:"boolean",description:"Indicates if the layer's status is still being updated.",default:`false
41
-
42
- {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-PublishingInfo.html#updating Read more...}`}},required:["declaredClass","destroyed","initialized","status","updating"],title:"__esri.PublishingInfo"},"__esri.ScaleRangeLayer":{type:"object",properties:{maxScale:{type:"number"},minScale:{type:"number"}},required:["maxScale","minScale"],title:"__esri.ScaleRangeLayer"},"__esri.TemporalLayer":{type:"object",properties:{useViewTime:{type:"boolean"}},required:["useViewTime"],title:"__esri.TemporalLayer"},"__esri.TrackableLayer":{type:"object",title:"__esri.TrackableLayer"},"__esri.SubtypeSublayer":{type:"object",properties:{uid:{type:"string"},loadError:{anyOf:[{$ref:"#/definitions/__esri.Error"},{$ref:"#/definitions/nullish"}]},loadStatus:{type:"string",enum:["not-loaded","loading","failed","loaded"]},loadWarnings:{type:"array",items:{}},destroyed:{type:"boolean"},initialized:{type:"boolean"},declaredClass:{type:"string"}},required:["declaredClass","destroyed","initialized","loadError","loadStatus","loadWarnings","uid"],title:"__esri.SubtypeSublayer"},RGBObject:{type:"object",properties:{r:{type:"number"},g:{type:"number"},b:{type:"number"},a:{type:"number",default:1}},required:["r","g","b"],description:"JSON representation of the color object",title:"RGBObject"},IRendererSymbol:{type:"object",properties:{style:{type:"string"},color:{$ref:"#/definitions/Color"},outline:{$ref:"#/definitions/ISimpleLineSymbol"},label:{type:"string"},uniqueValue:{type:"string"},type:{$ref:"#/definitions/SymbolType"}},required:["color","type"],title:"IRendererSymbol"},WebChartDataItemColor:{anyOf:[{$ref:"#/definitions/Color"},{$ref:"#/definitions/RGBArray"},{$ref:"#/definitions/RGBObject"},{type:"string"}],title:"WebChartDataItemColor"},RGBArray:{type:"array",items:{type:"number"},minItems:3,maxItems:3,title:"RGBArray"},WebChartDataItemValue:{anyOf:[{type:"string",format:"date-time"},{$ref:"#/definitions/IExtent"},{$ref:"#/definitions/IRendererSymbol"},{type:"array",items:{type:"number"}},{type:"array",items:{type:"string"}},{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}},{$ref:"#/definitions/WebChartDataItemColor"},{type:"boolean"},{type:"number"},{type:"string"},{type:"null"},{not:{}}],title:"WebChartDataItemValue"},WebChartDataItem:{$ref:"#/definitions/Record%3Cstring%2CWebChartDataItemValue%3E",description:"JSON representation of a typical data item",title:"WebChartDataItem"},"Record<string,WebChartDataItemValue>":{type:"object",additionalProperties:{$ref:"#/definitions/WebChartDataItemValue"},title:"Record<string,WebChartDataItemValue>"},WebChartBoxPlotDataItem:{type:"object",properties:{dataItems:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}},outliers:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}},meanLines:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}}},required:["dataItems"],description:"JSON representation of the processed data for a Box Plot",title:"WebChartBoxPlotDataItem"},ScatterplotTrendLineData:{type:"object",properties:{r2:{type:"number"},trendLinePoints:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"},minItems:2,maxItems:2}},description:"JSON representation of the processed data for a Scatter plot trend line",title:"ScatterplotTrendLineData"},WebChartScatterplotDataItem:{type:"object",properties:{r2:{type:"number"},trendLinePoints:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"},minItems:2,maxItems:2},dataItems:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}},aggregated:{type:"boolean"}},required:["dataItems"],description:"JSON representation of the processed data for a Scatter plot",title:"WebChartScatterplotDataItem"},WebChartGenericDataItem:{type:"object",properties:{dataItems:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}},timeIntervalInfo:{$ref:"#/definitions/TimeIntervalInfo",description:"Time interval information, only for line charts"},serverLimitReached:{type:"boolean",description:"Indicates whether the server limit has been reached when fetching data. Currently applies only to the queries leveraging the /queryBins operation."}},required:["dataItems"],description:"JSON representation of the generic data structure for bar, line bar-line, gauge and pie chart",title:"WebChartGenericDataItem"},WebChartBin:{type:"object",properties:{count:{type:"number"},minValue:{type:"number",description:"Min value in the bin"},maxValue:{type:"number",description:"Max value in the bin"},symbol:{$ref:"#/definitions/WebChartDataItem",description:"Symbol associated with the bin."},isLastBin:{type:"boolean",description:"Whether this is the last bin."}},required:["count","minValue","maxValue"],description:"JSON representation of a Histogram bin",title:"WebChartBin"},WebChartHistogramDataItem:{type:"object",properties:{mean:{type:"number"},median:{type:"number"},stddev:{type:"number"},max:{type:"number"},min:{type:"number"},sum:{type:"number",description:"Sum of the values of all the points"},count:{type:"number",description:"Number of all the points/features in un-binned data (including only non-null entries)"},nulls:{type:"number",description:"Number of null entries in the pool of points"},bins:{type:"array",items:{$ref:"#/definitions/WebChartBin"}}},required:["mean","median","stddev","max","min","bins"],description:"JSON representation of the processed data for a Histogram",title:"WebChartHistogramDataItem"},WebChartDataTypes:{anyOf:[{$ref:"#/definitions/WebChartBoxPlotDataItem"},{$ref:"#/definitions/WebChartGenericDataItem"},{$ref:"#/definitions/WebChartHistogramDataItem"},{$ref:"#/definitions/WebChartScatterplotDataItem"}],title:"WebChartDataTypes"},WebChartTypes:{type:"string",enum:["chart","chartText","chartOverlay","chartOverlays","chartLegend","cursorCrosshair","chartAxis","gaugeAxisTick","gaugeNeedle","category","number","date","chartGuide","scatterSeries","pieSeries","pieTick","gaugeSeries","lineSeries","barSeries","histogramSeries","boxPlotSeries","radarSeries","comboLineAndBarSeries","heatSeries","buffer","sizeScale","calendarDateParts"],title:"WebChartTypes"},WebChartStatisticType:{type:"string",enum:["count","sum","min","max","avg","stddev","var","percentile-continuous","percentile-discrete","envelope-aggregate","centroid-aggregate","convex-hull-aggregate","no_aggregation"],title:"WebChartStatisticType"},WebChartColoringPatterns:{type:"string",enum:["singleColor","colorMatch"],title:"WebChartColoringPatterns"},WebChartBoxPlotMultipleSeriesKinds:{type:"string",enum:["sideBySide","meanLines"],title:"WebChartBoxPlotMultipleSeriesKinds"},WebChartLineSmoothedKinds:{type:"string",enum:["bezier","monotoneX","monotoneY"],description:"Represents the different types of smoothing that can be applied to a line chart when the `lineSmoothed` property is set to `true`.",title:"WebChartLineSmoothedKinds"},WebChartCalendarBinningOffsetUnits:{type:"string",enum:["seconds","minutes","hours","days"],description:"The temporal binning units for the calendar based binning offset",title:"WebChartCalendarBinningOffsetUnits"},WebChartVersionStatus:{type:"string",enum:["same","newer","older","unrecognized"],title:"WebChartVersionStatus"},WebChartAxisTypes:{type:"string",enum:["value","date","category"],description:"Represents the different types of axes that can be used in a chart.",title:"WebChartAxisTypes"},RESTFieldType:{type:"string",enum:["esriFieldTypeBlob","esriFieldTypeDate","esriFieldTypeDateOnly","esriFieldTypeTimestampOffset","esriFieldTypeDouble","esriFieldTypeGeometry","esriFieldTypeGlobalID","esriFieldTypeGUID","esriFieldTypeInteger","esriFieldTypeSmallInteger","esriFieldTypeBigInteger","esriFieldTypeOID","esriFieldTypeRaster","esriFieldTypeSingle","esriFieldTypeString","esriFieldTypeXML"],title:"RESTFieldType"},RESTSimpleLineSymbolStyle:{type:"string",enum:["esriSLSDash","esriSLSDashDot","esriSLSDashDotDot","esriSLSDot","esriSLSNull","esriSLSSolid"],title:"RESTSimpleLineSymbolStyle"},RESTSimpleMarkerSymbolStyle:{type:"string",enum:["esriSMSCircle","esriSMSCross","esriSMSDiamond","esriSMSSquare","esriSMSX","esriSMSTriangle"],title:"RESTSimpleMarkerSymbolStyle"},RESTSimpleFillSymbolStyle:{type:"string",enum:["esriSFSBackwardDiagonal","esriSFSCross","esriSFSDiagonalCross","esriSFSForwardDiagonal","esriSFSHorizontal","esriSFSNull","esriSFSSolid","esriSFSVertical"],title:"RESTSimpleFillSymbolStyle"},RESTHorizontalAlignment:{type:"string",enum:["left","right","center","justify"],title:"RESTHorizontalAlignment"},RESTVerticalAlignment:{type:"string",enum:["baseline","top","middle","bottom"],title:"RESTVerticalAlignment"},RESTSymbolType:{type:"string",enum:["esriSLS","esriSMS","esriSFS","esriPMS","esriPFS","esriTS"],title:"RESTSymbolType"},RESTFontStyle:{type:"string",enum:["italic","normal","oblique"],title:"RESTFontStyle"},RESTFontWeight:{type:"string",enum:["bold","bolder","lighter","normal"],title:"RESTFontWeight"},RESTFontDecoration:{type:"string",enum:["line-through","underline","none"],title:"RESTFontDecoration"},RESTRendererType:{type:"string",enum:["unique-value","simple","class-breaks","heatmap","dot-density","dictionary","pie-chart"],title:"RESTRendererType"},OverlayTerms:{type:"string",enum:["Mean","Median","Standard Deviation","Normal Distribution","Trendline"],title:"OverlayTerms"},CalculatedMinMaxBoundsPayload:{type:"object",properties:{isXAxis:{type:"boolean"},isSecondValueAxis:{type:"boolean"},minimum:{type:["number","null"],description:"The minimum value which the axis should represent, when it is not defined or null, then the minimum value for the corresponding axis is automatically calculated."},maximum:{type:["number","null"],description:"The maximum value which the axis should represent, when it is not defined or null, then the maximum value for the corresponding axis is automatically calculated."}},required:["isXAxis"],description:"Represents a subset of the event payload carrying the chart's axes bounds. See event `arcgisChartsAxesMinMaxChange`.",title:"CalculatedMinMaxBoundsPayload"},ChartDeletePayload:{type:"object",properties:{chartId:{type:"string"}},required:["chartId"],description:"Represents the payload of the event sent when a chart is removed from the chart list (component arcgis-charts-config-view-charts).",title:"ChartDeletePayload"},LegendItemVisibility:{type:"object",properties:{visible:{type:"boolean"},seriesId:{type:"string"},overlayType:{$ref:"#/definitions/OverlayTerms"},sliceId:{type:"string"},sliceData:{$ref:"#/definitions/WebChartDataItem"}},required:["visible"],description:"Represents the payload of the event sent when an item is toggled in the chart's legend (slice or series).",title:"LegendItemVisibility"},IFeatureSet:{type:"object",properties:{hasZ:{type:"boolean"},hasM:{type:"boolean"},objectIdFieldName:{type:"string"},globalIdFieldName:{type:"string"},displayFieldName:{type:"string"},geometryType:{$ref:"#/definitions/GeometryType"},spatialReference:{$ref:"#/definitions/ISpatialReference"},fields:{type:"array",items:{$ref:"#/definitions/IField"}},features:{type:"array",items:{$ref:"#/definitions/IFeature"}},fieldAliases:{$ref:"#/definitions/Record%3Cstring%2Cstring%3E"}},required:["features"],description:'`IFeatureSet` can also be imported from the following packages:\n\n```js import { IFeatureSet } from "@esri/arcgis-rest-feature-layer"; ```',title:"IFeatureSet"},"Record<string,string>":{type:"object",additionalProperties:{type:"string"},title:"Record<string,string>"},ILocation:{type:"object",properties:{latitude:{type:"number"},longitude:{type:"number"},lat:{type:"number"},long:{type:"number"},z:{type:"number"}},description:'`ILocation` can also be imported from the following packages:\n\n```js import { ILocation } from "@esri/arcgis-rest-routing"; import { ILocation } from "@esri/arcgis-rest-geocoding"; ```',title:"ILocation"},IPolylineWithCurves:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},curvePaths:{type:"array",items:{type:"array",items:{anyOf:[{$ref:"#/definitions/JsonCurve"},{$ref:"#/definitions/Position"}]}}}},required:["curvePaths"],title:"IPolylineWithCurves"},ElipticArc:{$ref:"#/definitions/IArc",title:"ElipticArc"},SpatialRelationship:{type:"string",enum:["esriSpatialRelContains","esriSpatialRelCrosses","esriSpatialRelEnvelopeIntersects","esriSpatialRelIndexIntersects","esriSpatialRelIntersects","esriSpatialRelOverlaps","esriSpatialRelTouches","esriSpatialRelWithin"],description:'The spatial relationship used to compare input geometries\n\n`SpatialRelationship` can also be imported from the following packages:\n\n```js import { SpatialRelationship } from "@esri/arcgis-rest-feature-layer"; ```',title:"SpatialRelationship"},IMultipoint:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},points:{type:"array",items:{$ref:"#/definitions/Position"}}},required:["points"],description:"A multipoint contains an array of points.",title:"IMultipoint"},Units:{type:"string",enum:["esriSRUnit_Foot","esriSRUnit_Kilometer","esriSRUnit_Meter","esriSRUnit_NauticalMile","esriSRUnit_StatuteMile","esriSRUnit_USNauticalMile"],description:'`Units` can also be imported from the following packages:\n\n```js import { Units } from "@esri/arcgis-rest-feature-layer"; ```',title:"Units"},GroupMembership:{type:"string",enum:["admin","member","none","owner"],description:'`GroupMembership` can also be imported from the following packages:\n\n```js import { GroupMembership } from "@esri/arcgis-rest-portal"; ```',title:"GroupMembership"},IGroupAdd:{type:"object",properties:{title:{type:"string"},access:{type:"string",enum:["org","private","public"]},owner:{type:"string"},tags:{type:"array",items:{type:"string"}},description:{type:"string"},phone:{type:"string"},sortField:{type:"string",enum:["avgrating","created","modified","numviews","owner","title"]},sortOrder:{type:"string",enum:["asc","desc"]},isViewOnly:{type:"boolean"},isInvitationOnly:{type:"boolean"},thumbnail:{type:"string"},autoJoin:{type:"boolean"},snippet:{type:"string"}},required:["title","access"],description:'A [Group](https://developers.arcgis.com/rest/users-groups-and-items/common-parameters.htm) that has not been created yet.\n\n`IGroupAdd` can also be imported from the following packages:\n\n```js import { IGroupAdd } from "@esri/arcgis-rest-portal"; ```',title:"IGroupAdd"},IGroup:{type:"object",properties:{title:{type:"string"},access:{type:"string",enum:["org","private","public"]},owner:{type:"string"},tags:{type:"array",items:{type:"string"}},description:{type:"string"},phone:{type:"string"},sortField:{type:"string",enum:["avgrating","created","modified","numviews","owner","title"]},sortOrder:{type:"string",enum:["asc","desc"]},isViewOnly:{type:"boolean"},isInvitationOnly:{type:"boolean"},thumbnail:{type:"string"},autoJoin:{type:"boolean"},snippet:{type:"string"},id:{type:"string"},created:{type:"number"},modified:{type:"number"},protected:{type:"boolean"},isOpenData:{type:"boolean"},isFav:{type:"boolean"},userMembership:{type:"object",properties:{username:{type:"string"},memberType:{$ref:"#/definitions/GroupMembership"},applications:{type:"number"}}},hasCategorySchema:{type:"boolean"}},required:["access","autoJoin","created","id","isFav","isInvitationOnly","isViewOnly","modified","owner","protected","tags","title"],description:'Existing Portal [Group](https://developers.arcgis.com/rest/users-groups-and-items/group.htm).\n\n`IGroup` can also be imported from the following packages:\n\n```js import { IGroup } from "@esri/arcgis-rest-portal"; ```',title:"IGroup"},IItemAdd:{type:"object",properties:{title:{type:"string"},type:{type:"string"},owner:{type:"string"},typeKeywords:{type:"array",items:{type:"string"}},description:{type:"string"},snippet:{type:"string"},documentation:{type:"string"},extent:{type:"array",items:{type:"array",items:{type:"number"}}},categories:{type:"array",items:{type:"string"}},spatialReference:{$ref:"#/definitions/ISpatialReference"},culture:{type:"string"},properties:{},url:{type:"string"},tags:{type:"array",items:{type:"string"}}},required:["title","type"],description:'A Portal [Item](https://developers.arcgis.com/rest/users-groups-and-items/common-parameters.htm) that has not been created yet.\n\n`IItemAdd` can also be imported from the following packages:\n\n```js import { IItemAdd } from "@esri/arcgis-rest-portal"; ```',title:"IItemAdd"},IItemUpdate:{type:"object",properties:{id:{type:"string"}},required:["id"],description:'A Portal [Item](https://developers.arcgis.com/rest/users-groups-and-items/common-parameters.htm) to be updated.\n\n`IItemUpdate` can also be imported from the following packages:\n\n```js import { IItemUpdate } from "@esri/arcgis-rest-portal"; ```',title:"IItemUpdate"},IItem:{type:"object",properties:{title:{type:"string"},type:{type:"string"},owner:{type:"string"},typeKeywords:{type:"array",items:{type:"string"}},description:{type:"string"},snippet:{type:"string"},documentation:{type:"string"},extent:{type:"array",items:{type:"array",items:{type:"number"}}},categories:{type:"array",items:{type:"string"}},spatialReference:{$ref:"#/definitions/ISpatialReference"},culture:{type:"string"},properties:{},url:{type:"string"},tags:{type:"array",items:{type:"string"}},id:{type:"string"},created:{type:"number"},modified:{type:"number"},numViews:{type:"number"},size:{type:"number"},protected:{type:"boolean"}},required:["created","id","modified","numViews","owner","size","tags","title","type"],description:'Existing Portal [Item](https://developers.arcgis.com/rest/users-groups-and-items/item.htm).\n\n`IItem` can also be imported from the following packages:\n\n```js import { IItem } from "@esri/arcgis-rest-portal"; ```',title:"IItem"},IFolder:{type:"object",properties:{username:{type:"string"},id:{type:"string"},title:{type:"string"},created:{type:"number"}},required:["username","id","title"],description:'Used for organizing content. See [Create Folder](https://developers.arcgis.com/rest/users-groups-and-items/create-folder.htm) for more details.\n\n`IFolder` can also be imported from the following packages:\n\n```js import { IFolder } from "@esri/arcgis-rest-portal"; ```',title:"IFolder"},IFeatureServiceDefinition:{type:"object",properties:{currentVersion:{type:"number"},serviceDescription:{type:"string"},hasVersionedData:{type:"boolean"},supportsDisconnectedEditing:{type:"boolean"},supportsReturnDeleteResults:{type:"boolean"},hasStaticData:{type:"boolean",description:"Boolean value indicating whether data changes. True if it does not."},maxRecordCount:{type:"number",description:"Numeric value indicating tbe maximum number of records that will be returned at once for a query."},supportedQueryFormats:{type:"string",description:"String value indicating the output formats that are supported in a query."},supportsRelationshipsResource:{type:"boolean"},capabilities:{type:"string",description:"A comma separated list of supported capabilities, e.g. Query,Editing."},description:{type:"string",description:"String value of the layer as defined in the map service."},copyrightText:{type:"string",description:"String value for the copyright text information for the layer."},advancedEditingCapabilities:{$ref:"#/definitions/Record%3Cstring%2Cboolean%3E"},spatialReference:{$ref:"#/definitions/ISpatialReference",description:"An object containing the WKID or WKT identifying the spatial reference of the layer's geometry."},initialExtent:{$ref:"#/definitions/IExtent"},fullExtent:{$ref:"#/definitions/IExtent"},allowGeometryUpdates:{type:"boolean",description:"Boolean value indicating whether the geometry of the features in the layer can be edited."},units:{type:"string"},syncEnabled:{type:"boolean"},returnServiceEditsHaveSR:{type:"boolean"},validationSystemLayers:{type:"object",properties:{validationPointErrorlayerId:{type:"number"},validationLineErrorlayerId:{type:"number"},validationPolygonErrorlayerId:{type:"number"},validationObjectErrortableId:{type:"number"}},required:["validationPointErrorlayerId","validationLineErrorlayerId","validationPolygonErrorlayerId","validationObjectErrortableId"]},extractChangesCapabilities:{type:"object",properties:{supportsReturnIdsOnly:{type:"boolean"},supportsReturnExtentOnly:{type:"boolean"},supportsReturnAttachments:{type:"boolean"},supportsLayerQueries:{type:"boolean"},supportsSpatialFilter:{type:"boolean"},supportsReturnFeature:{type:"boolean"}},required:["supportsReturnIdsOnly","supportsReturnExtentOnly","supportsReturnAttachments","supportsLayerQueries","supportsSpatialFilter","supportsReturnFeature"]},syncCapabilities:{type:"object",properties:{supportsASync:{type:"boolean"},supportsRegisteringExistingData:{type:"boolean"},supportsSyncDirectionControl:{type:"boolean"},supportsPerLayerSync:{type:"boolean"},supportsPerReplicaSync:{type:"boolean"},supportsRollbackOnFailure:{type:"boolean"},supportedSyncDataOptions:{type:"number"}},required:["supportsASync","supportsRegisteringExistingData","supportsSyncDirectionControl","supportsPerLayerSync","supportsPerReplicaSync","supportsRollbackOnFailure","supportedSyncDataOptions"]},editorTrackingInfo:{type:"object",properties:{enableEditorTracking:{type:"boolean"},enableOwnershipAccessControl:{type:"boolean"},allowOthersToUpdate:{type:"boolean"},allowOthersToDelete:{type:"boolean"}},required:["enableEditorTracking","enableOwnershipAccessControl","allowOthersToUpdate","allowOthersToDelete"]},documentInfo:{$ref:"#/definitions/Record%3Cstring%2Cstring%3E"},layers:{type:"array",items:{$ref:"#/definitions/ILayerDefinition"}},tables:{type:"array",items:{$ref:"#/definitions/ITable"}},relationships:{type:"array",items:{type:"object",properties:{id:{type:"number"},name:{type:"string"},backwardPathLabel:{type:"string"},originLayerId:{type:"number"},originPrimaryKey:{type:"string"},forwardPathLabel:{type:"string"},destinationLayerId:{type:"number"},originForeignKey:{type:"string"},relationshipTableId:{type:"number"},destinationPrimaryKey:{type:"string"},destinationForeignKey:{type:"string"},rules:{type:"array",items:{type:"object",properties:{ruleID:{type:"number"},originSubtypeCode:{type:"number"},originMinimumCardinality:{type:"number"},originMaximumCardinality:{type:"number"},destinationSubtypeCode:{type:"number"},destinationMinimumCardinality:{type:"number"},destinationMaximumCardinality:{type:"number"}},required:["ruleID","originSubtypeCode","originMinimumCardinality","originMaximumCardinality","destinationSubtypeCode","destinationMinimumCardinality","destinationMaximumCardinality"]},minItems:1,maxItems:1},cardinality:{type:"string",enum:["esriRelCardinalityManyToMany","esriRelCardinalityOneToMany","esriRelCardinalityOneToOne"]},attributed:{type:"boolean"},composite:{type:"boolean"}},required:["id","name","backwardPathLabel","originLayerId","originPrimaryKey","forwardPathLabel","destinationLayerId","originForeignKey","relationshipTableId","destinationPrimaryKey","destinationForeignKey","rules","cardinality","attributed","composite"]},minItems:1,maxItems:1},enableZDefaults:{type:"boolean"},isLocationTrackingService:{type:"boolean"},isLocationTrackingView:{type:"boolean"},zDefault:{type:"number"}},required:["serviceDescription","hasVersionedData","supportsDisconnectedEditing","supportsReturnDeleteResults","maxRecordCount","supportedQueryFormats","supportsRelationshipsResource","capabilities","description","copyrightText","advancedEditingCapabilities","spatialReference","initialExtent","fullExtent","allowGeometryUpdates","units","syncEnabled","validationSystemLayers","extractChangesCapabilities","syncCapabilities","editorTrackingInfo","layers","tables","relationships","isLocationTrackingService","isLocationTrackingView"],description:'`IFeatureServiceDefinition` can also be imported from the following packages:\n\n```js import { IFeatureServiceDefinition } from "@esri/arcgis-rest-service-admin"; import { IFeatureServiceDefinition } from "@esri/arcgis-rest-feature-layer"; ```',title:"IFeatureServiceDefinition"},"Record<string,boolean>":{type:"object",additionalProperties:{type:"boolean"},title:"Record<string,boolean>"},ITable:{type:"object",properties:{name:{type:"string",description:"Table name"},capabilities:{type:"string",description:"A comma-separated string listing which editing operations are allowed on an editable feature service. Available operations include: 'Create', 'Delete', 'Query', 'Update', and 'Editing'."},definitionEditor:{$ref:"#/definitions/IDefinitionEditor",description:"Object indicating the definitionEditor used as a layer's interactive filter."},id:{type:"number",description:"Unique identifier for the table."},itemId:{type:"string",description:"Unique string value indicating an item registered in ArcGIS Online or your organization's portal."},layerDefinition:{$ref:"#/definitions/ILayerDefinition",description:"A layerDefinition object defining a definition expression for the table."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"An object defining the content of popup windows when you query a record and the sort option for child related records."},title:{type:"string",description:"String value for the title of the table."},url:{type:"string",description:"String value indicating the URL reference of the hosted table."}},description:'Root element in the web map specifying an array of table objects.\n\n`ITable` can also be imported from the following packages:\n\n```js import { ITable } from "@esri-arcgis-rest-service-admin" ```',title:"ITable"},IServiceInfo:{type:"object",properties:{adminServiceInfo:{type:"object",properties:{name:{type:"string"},type:{type:"string"},status:{type:"string"},database:{type:"object",properties:{datasource:{type:"object",properties:{name:{type:"string"}},required:["name"]}},required:["datasource"]}},required:["name","type","status","database"]},layers:{type:"array",items:{$ref:"#/definitions/Record%3Cstring%2Cunknown%3E"}}},required:["adminServiceInfo","layers"],description:"Very generic structure representing the return value from the /arcgis/rest/admin/services/<service-name>/FeatureServer?f=json response",title:"IServiceInfo"},"Record<string,unknown>":{type:"object",additionalProperties:{},title:"Record<string,unknown>"},IViewServiceSource:{type:"object",properties:{name:{type:"string"},type:{type:"string"},url:{type:"string"},serviceItemId:{type:"string"}},required:["name","type","url","serviceItemId"],description:"Individual View Source entry",title:"IViewServiceSource"},IViewServiceSources:{type:"object",properties:{currentVersion:{type:"number"},services:{type:"array",items:{$ref:"#/definitions/IViewServiceSource"}}},required:["currentVersion","services"],description:"Response from the /sources end-point of a view service",title:"IViewServiceSources"},IServiceNameAvailable:{type:"object",properties:{available:{type:"boolean"}},required:["available"],description:"Response from the portals/Self/isServiceNameAvailable request",title:"IServiceNameAvailable"},IPictureSourced:{type:"object",properties:{url:{type:"string"},imageData:{type:"string"},contentType:{type:"string"},width:{type:"number"},height:{type:"number"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"}},title:"IPictureSourced"},IPictureFillSymbol:{type:"object",properties:{url:{type:"string"},imageData:{type:"string"},contentType:{type:"string"},width:{type:"number"},height:{type:"number"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"},type:{type:"string",const:"esriPFS"},style:{type:"string"},outline:{$ref:"#/definitions/ISimpleLineSymbol"},xscale:{type:"number"},yscale:{type:"number"}},required:["type"],title:"IPictureFillSymbol"},IPictureMarkerSymbol:{type:"object",properties:{url:{type:"string"},imageData:{type:"string"},contentType:{type:"string"},width:{type:"number"},height:{type:"number"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"},type:{type:"string",const:"esriPMS"},style:{type:"string"}},required:["type"],title:"IPictureMarkerSymbol"},ITextSymbol:{type:"object",properties:{type:{type:"string",const:"esriTS"},style:{type:"string"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"},color:{$ref:"#/definitions/Color"},backgroundColor:{$ref:"#/definitions/Color"},borderLineSize:{type:"number"},borderLineColor:{$ref:"#/definitions/Color"},haloSize:{type:"number"},haloColor:{$ref:"#/definitions/Color"},verticalAlignment:{type:"string",enum:["baseline","bottom","middle","top"]},horizontalAlignment:{type:"string",enum:["center","justify","left","right"]},rightToLeft:{type:"boolean"},kerning:{type:"boolean"},font:{$ref:"#/definitions/IFont"},text:{type:"string"}},required:["type"],title:"ITextSymbol"},IUser:{type:"object",properties:{username:{type:"string"},fullName:{type:"string"},availableCredits:{type:"number"},assignedCredits:{type:"number"},firstName:{type:"string"},lastName:{type:"string"},preferredView:{},description:{type:"string"},email:{type:"string"},idpUsername:{type:"string"},favGroupId:{type:"string"},lastLogin:{type:"number"},mfaEnabled:{type:"boolean"},access:{type:"string"},storageUsage:{type:"number"},storageQuota:{type:"number"},orgId:{type:"string"},cOrgId:{type:"string"},role:{type:"string",enum:["org_admin","org_publisher","org_user"]},privileges:{type:"array",items:{type:"string"}},roleId:{type:"string"},level:{type:"string"},disabled:{type:"boolean"},units:{type:"string"},tags:{type:"array",items:{type:"string"}},culture:{type:"string"},region:{type:"string"},thumbnail:{type:"string"},created:{type:"number"},modified:{type:"number"},groups:{type:"array",items:{$ref:"#/definitions/IGroup"}},provider:{type:"string",enum:["arcgis","enterprise","facebook","google"]}},description:'An ArcGIS Online or Enterprise user\n\n`IUser` can also be imported from the following packages:\n\n```js import { IUser } from "@esri/arcgis-rest-auth"; import { IUser } from "@esri/arcgis-rest-portal"; ```',title:"IUser"},IPagingParams:{type:"object",properties:{start:{type:"number"},num:{type:"number"}},description:'Params for paging operations\n\n`IPagingParams` can also be imported from the following packages:\n\n```js import { IPagingParams } from "@esri/arcgis-rest-portal"; ```',title:"IPagingParams"},IPagedResponse:{type:"object",properties:{start:{type:"number"},num:{type:"number"},total:{type:"number",description:"total number of object across all pages"},nextStart:{type:"number",description:"next entry index or -1 for the last page"}},required:["total","nextStart"],description:'Paging properties for paged responses.\n\n`IPagedResponse` can also be imported from the following packages:\n\n```js import { IPagedResponse } from "@esri/arcgis-rest-portal"; ```',title:"IPagedResponse"},IWebMapBackground:{type:"object",properties:{color:{$ref:"#/definitions/Color",description:"To define the color of the background of the map (which is shown when no data is shown)."}},required:["color"],description:"Defines the appearance for the background of the map.",examples:[{background:{color:[255,255,255,255]}}],title:"IWebMapBackground"},IBookmark:{type:"object",properties:{extent:{$ref:"#/definitions/IExtent",description:"An extent object containing a spatial reference, a lower left coordinate, and an upper right coordinate defining the rectangular area of the bookmark. The spatial reference must be the same as the map spatial reference. Documentation for the envelope is in the Geometry Objects topic of the ArcGIS REST API help."},name:{type:"string",description:"A string name for the bookmark."}},required:["extent","name"],description:"Predefined bookmarks for use by the application. A bookmark is a saved map extent that allows end users to quickly navigate to a particular area of interest.",title:"IBookmark"},IMapRangeInfo:{type:"object",properties:{activeRangeName:{type:"string",description:"Active range ID that slider/picker acts upon."},currentRangeExtent:{type:"array",items:{type:"number"},description:"Current range for the active range."},fullRangeExtent:{type:"array",items:{type:"number"},description:"Full range extent for the active range to be presented in the UI."}},description:"Map range information",examples:[{mapRangeInfo:{activeRangeName:"floors",currentRangeExtent:[-2,10],fullRangeExtent:[-2,100]}}],title:"IMapRangeInfo"},IMapLocation:{type:"object",properties:{centerPoint:{$ref:"#/definitions/IPoint",description:"The center of the map specified using X/Y coordinates."},spatialReference:{$ref:"#/definitions/ISpatialReference",description:"Well-known ID (WKID) or well-known text (WKT)."}},required:["centerPoint","spatialReference"],description:"Contains location information within a presentation slide.",title:"IMapLocation"},IVisibleLayer:{type:"object",properties:{featureVisibility:{type:"array",items:{type:"array",items:{}},description:"An array of arrays."},id:{type:"number",description:"The id of the layer as listed on the operational layer."},subLayerIds:{type:"array",items:{type:"number"},description:"An array of integers."}},description:"An array of numbers indicating layer visibility.",examples:[{visibleLayer:{featureVisibility:[[1],[],[],[0]],id:"73128eb3-05ee-46a7-8c22-0c385a0b1827"}}],title:"IVisibleLayer"},IVisiblePopup:{type:"object",properties:{anchorPoint:{$ref:"#/definitions/IPoint",description:"Object with spatialReference, x, and y."},featureId:{type:"number",description:"An integer specifying the feature's id."},layerId:{type:"string",description:"A string specifying the layer id."},subLayerId:{type:"number",description:"An integer specifying the sublayer id."}},description:"A presentation slide's visiblePopup which contains anchorPoint, featureId, layerId, and subLayerId.",title:"IVisiblePopup"},ISlide:{type:"object",properties:{baseMap:{$ref:"#/definitions/IBaseMap",description:"Basemaps give the web map a geographic context."},extent:{$ref:"#/definitions/IExtent",description:"The standard Esri extent object with spatialReference, xmax, xmin, ymax and ymin."},hidden:{type:"boolean",description:"Indicates whether the slide should be hidden within the presentation."},mapLocation:{$ref:"#/definitions/IMapLocation",description:"An object with a centerPoint object and sometimes a resolution."},timeExtent:{type:"array",items:{type:"number"},minItems:2,maxItems:2,description:"An array of two numbers. The first one indicates start time and the second one indicates end time."},title:{type:"string",description:"Title including text and formatting for each slide."},visibleLayers:{$ref:"#/definitions/IVisibleLayer",description:"An array of objects used to indicate layer visibility."},visiblePopup:{$ref:"#/definitions/IVisiblePopup",description:"A presentation slide's visiblePopup which contains anchorPoint, featureId, layerId, and subLayerId."}},title:"ISlide"},IBaseMap:{type:"object",properties:{baseMapLayers:{type:"array",items:{$ref:"#/definitions/ILayer"},description:"An array of baseMapLayer objects defining the basemaps used in the web map."},title:{type:"string",description:"Required string title for the basemap that can be used in a table of contents. It takes the title of the first baseMapLayer in the array."}},required:["baseMapLayers","title"],description:"A basemap layer is a layer that provides geographic context to the map. A web map always contains a basemap. The basemap has a title and is the combination of each baseMapLayer. It is required that a baseMap be saved within the web map.",title:"IBaseMap"},IPresentation:{type:"object",properties:{displayTimeSlider:{type:"boolean",description:"Indicates whether to display the time slider (if accessible)."},showLegend:{type:"boolean",description:"Indicates whether to display a legend on all slides."},slideAdvancementInterval:{type:"number",description:"Number of seconds to show slide before proceeding to the next slide."},slides:{type:"array",items:{$ref:"#/definitions/ISlide"},description:"Array of slide objects."},useTimeExtentOfSlide:{type:"boolean",description:"Indicates whether to use the time extent (if applicable) of a slide."}},title:"IPresentation"},IWebmap:{type:"object",properties:{applicationProperties:{$ref:"#/definitions/IApplicationProperties",description:"Viewing and editing properties of the webmap"},authoringApp:{type:"string",description:"String value indicating the application which authored the webmap"},authoringAppVersion:{type:"string",description:"String value indicating the authoring App's version number"},background:{$ref:"#/definitions/IWebMapBackground",description:"Defines the appearance for the background of the map."},baseMap:{$ref:"#/definitions/IBaseMap",description:"[Required] Basemaps give the web map a geographic context"},bookmarks:{type:"array",items:{$ref:"#/definitions/IBookmark"},description:"A bookmark is a saved geographic extent that allows end users to quickly navigate to a particular area of interest"},mapRangeInfo:{$ref:"#/definitions/IMapRangeInfo",description:"Map Range Information"},operationalLayers:{type:"array",items:{$ref:"#/definitions/ILayer"},description:"Operational layers contain business data which are used to make thematic maps"},presentation:{description:"A presentation consists of multiple slides. Each slide has a different title, extent, basemap, layers etc"},spatialReference:{$ref:"#/definitions/ISpatialReference",description:"[Required] An object used to specify the spatial reference of the given geometry."},tables:{type:"array",items:{$ref:"#/definitions/ITable"},description:"Root element in the web map specifying an array of table objects. (optional)"},version:{type:"string",description:"[Required] Root element in the web map specifying a string value indicating the web map version."},widgets:{description:"The widgets object contains widgets that should be exposed to the user"}},required:["baseMap","spatialReference","version"],description:"The web map data lists the basemap, operational layers, and bookmarks to be used in the web map. It also contains information about popup windows and layer styling overrides to be used in the web map. A version property allows you to supply the version of the web map JSON format being used.",title:"IWebmap"},IApplicationProperties:{type:"object",properties:{editing:{anyOf:[{$ref:"#/definitions/IEditingProperties"},{type:"null"}],description:"If locationTracking is set and enabled, the Collector application will update the feature service at the defined interval with the current location of the user logged into the Collector app."},offline:{anyOf:[{$ref:"#/definitions/IOfflineInfo"},{type:"null"}],description:"Use if working with offline maps."},viewing:{anyOf:[{$ref:"#/definitions/IViewingInfo"},{type:"null"}],description:"An object containing all the viewing properties of the web map. If this is null or not defined, the client should assume a logical default."}},description:"The applicationProperties object is one of the objects at the top level of the JSON web map JSON schema. This is responsible for containing the viewing and editing properties of the web map. There are specific objects within this object that are applicable only to Collector and are explained within the property descriptions.",title:"IApplicationProperties"},IEditingProperties:{type:"object",properties:{locationTracking:{$ref:"#/definitions/ILocationTracking",description:"If locationTracking is set and enabled, the collector app will update the feature service at the defined interval with the current location of the user logged into the collector application."}},required:["locationTracking"],description:"An object containing all the editing properties within the web map.",title:"IEditingProperties"},ILocationTracking:{type:"object",properties:{enabled:{type:"boolean",description:"A boolean value indicating whether or not location tracking is enabled on the webmap."},info:{$ref:"#/definitions/ILocationTrackingInfo",description:"An object of additional information specifying layer and update interval time."}},required:["enabled","info"],description:"If locationTracking is set and enabled, the collector app will update the feature service at the defined interval with the current location of the user logged into the collector application.",title:"ILocationTracking"},ILocationTrackingInfo:{type:"object",properties:{layerId:{description:"A string value indicating the given layer id specified in the web map."},updateInterval:{description:"A numeric value indicating the time interval used to update the feature service. Default value is 300 seconds."}},required:["layerId"],description:"An object containing additional information specifying layer and update interval time used in the locationTracking object.",title:"ILocationTrackingInfo"},IOfflineInfo:{type:"object",properties:{editableLayers:{$ref:"#/definitions/IEditableLayers",description:"Object detailing the available offline editing options."},readonlyLayers:{$ref:"#/definitions/IReadOnlyLayers",description:"Object indicating what to do with attachments in read-only layers."}},required:["editableLayers","readonlyLayers"],description:"Use if working with offline maps.",title:"IOfflineInfo"},IEditableLayers:{type:"object",properties:{download:{type:"string",enum:["featuers","featuresAndAttachments","none"],description:"When editing layers, the edits are always sent to the server. This string value indicates which data is retrieved. For example, none indicates that only the schema is written since neither the features nor attachments are retrieved. For a full sync without downloading attachments, indicate features. Lastly, the default behavior is to have a full sync using featuresAndAttachments where both features and attachments are retrieved."},sync:{type:"string",enum:["syncFeaturesAndAttachments","syncFeaturesUploadAttachments","uploadFeaturesAndAttachments"],description:"This string value indicates how the data is synced."}},required:["download","sync"],description:"Object detailing the available offline editing options.",title:"IEditableLayers"},IReadOnlyLayers:{type:"object",properties:{downloadAttachments:{type:"boolean",description:"Indicates whether to include attachments with the read-only data."}},required:["downloadAttachments"],description:"Read-only layers as the features are always retrieved from the server.",title:"IReadOnlyLayers"},IViewingInfo:{type:"object",properties:{basemapGallery:{$ref:"#/definitions/IEnableable",description:"The basemap tool which will use the basemap group defined in the Portal."},measure:{$ref:"#/definitions/IEnableable",description:"Measure tool."},routing:{$ref:"#/definitions/IEnableable",description:"The route tool which will leverage the Portals defined route service."},search:{$ref:"#/definitions/ISearch",description:"An object specifying search parameters within the webmap."}},description:"An object containing all the viewing properties of the web map. If this is null or not defined, the client should assume a logical default.",title:"IViewingInfo"},IEnableable:{type:"object",properties:{enabled:{type:"boolean"}},required:["enabled"],title:"IEnableable"},ISearch:{type:"object",properties:{enabled:{type:"boolean"},disablePlaceFinder:{description:"A boolean value indicating whether or not to disable the place finder."},hintText:{description:"A string value used to indicate the hint provided with the search dialog."},layers:{description:"An array of layer objects defining the styling, geometry, and attribute information for the features."}},required:["enabled"],description:"An object specifying the search parameters set within the web map.",title:"ISearch"},IRange:{type:"object",properties:{interactionMode:{type:"string",enum:["picker","slider"],description:"Indicates the mode in which the active range should be presented to the user. Must be one of the following values: slider, picker"},numberOfStops:{description:"This is used to generate the activeRangeValues if activeRangeValues are not specified."},stopInterval:{type:"number",description:"Interval in which stops should be generated."}},description:"Range object.",title:"IRange"},IWidget:{type:"object",properties:{range:{$ref:"#/definitions/IRange",description:"Active range."},timeSlider:{$ref:"#/definitions/ITimeSliderProperties",description:"Time animation is controlled by a configurable time slider. The time slider widget will act upon all the time aware layers in the map."}},description:"The widgets object contains widgets that should be exposed to the user.",title:"IWidget"},ITimeSliderProperties:{type:"object",properties:{currentTimeExtent:{type:"array",items:{type:"number"},description:"An optional array of numbers indicating the slider's start to end time extent."},endTime:{type:"number",description:"The optional end of the time slider. If not specified, the slider defaults to the full time extent of all time-enabled layers."},numberOfStops:{type:"number",description:"Number of stops within the timeSlider widget."},startTime:{type:"number",description:"The optional start of the time slider. If not specified, the slider defaults to the full time extent of all time-enabled layers."},thumbCount:{type:"number",description:"The default value for the thumbCount is 1."},thumbMovingRate:{type:"number",description:"Rate at which the time animation plays. Units are in milliseconds. Default is 1000."},timeStopInterval:{type:"number",description:"The interval which has been defined for the time slider."}},description:"Configurable properties used within the TimeSlider widget.",title:"ITimeSliderProperties"},ITimeSlider:{type:"object",properties:{properties:{$ref:"#/definitions/ITimeSliderProperties",description:"Configurable properties used within the TimeSlider widget."}},required:["properties"],description:"Time animation is controlled by a configurable time slider. Those configurations are saved to the web map as a timeSlider widget.",title:"ITimeSlider"},IBingLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",enum:["BingMapsAerial","BingMapsHybrid","BingMapsRoad"],description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},bingKey:{type:"string",description:"String value that unlocks the use of Bing layers in a web map."},canShareBingPublic:{type:"boolean",description:"Boolean value indicating whether the Bing key can be shared to the public."},portalUrl:{type:"string",description:"A string value representing the URL to the Portal/organization Self resource. Calls should be made to this property to retrieve the Bing key. If the key is not made accessible to the public or if canShareBingPublic is false, any web maps using Bing layers will not work."}},required:["id","layerType"],title:"IBingLayer"},IImageServiceLayer:{type:"object",properties:{timeAnimation:{type:"boolean",description:"This property is applicable to layers that support time. If 'true', timeAnimation is enabled."},id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISImageServiceLayer",description:"String indicating the layer type. Value of this property must be ArcGISImageServiceLayer"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},bandIds:{type:"array",items:{type:"number"},description:"An array of bandIds that are visible, can specify bands to export or rearrange band order(from image service)."},compressionQuality:{description:"Controls how much loss the image will be subjected to by the compression algorithm (from image service)."},definitionEditor:{description:"Stores interactive filters."},disablePopup:{type:"boolean",description:"Boolean property indicating whether to ignore popups defined by the service item."},format:{type:"string",enum:["bmp","gif","jpg","jpgpng","png","png8","png24","png32","tiff"],description:"String value representing image format."},interpolation:{type:"string",enum:["RSP_BilinearInterpolation","RSP_CubicConvolution","RSP_Majority","RSP_NearestNeighbor"],description:"The algorithm used for interpolation."},isReference:{type:"boolean",description:"This is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},layerDefinition:{description:"A layerDefinition object defining the attribute schema and drawing information for the layer."},mosaicRule:{description:"Specifies the mosaic rule when defining how individual images should be mosaicked."},noData:{description:"The pixel value that represents no information."},noDataInterpretation:{type:"string",enum:["esriNoDataMatchAll","esriNoDataMatchAny"],description:"A string value of interpretation of noData setting. Default is 'esriNoDataMatchAny' when noData is a number, and 'esriNoDataMatchAll' when noData is an array."},pixelType:{type:"string",enum:["C64","C128","F32","F64","S8","S16","S32","U1","U2","U4","U8","U16","U32","UNKNOWN"],description:"Pertains to the type of values stored in the raster, such as signed integer, unsigned integer, or floating point."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the content of popup windows when you click or query a feature."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."},renderingRule:{description:"Specifies the rendering rule for how the requested image should be rendered."}},required:["id","layerType"],title:"IImageServiceLayer"},IImageVectorLayer:{type:"object",properties:{timeAnimation:{type:"boolean",description:"This property is applicable to layers that support time. If 'true', timeAnimation is enabled."},id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISImageServiceVectorLayer",description:"String indicating the layer type. Value of this property must be ArcGISImageServiceVectorLayer"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},definitionEditor:{description:"Stores interactive filters."},disablePopup:{description:"Boolean property indicating whether to ignore popups defined by the service item."},isReference:{type:"boolean",description:"This is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},layerDefinition:{description:"A layerDefinition object defining the attribute schema and drawing information for the layer."},mosaicRule:{description:"Specifies the mosaic rule when defining how individual images should be mosaicked."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the content of popup windows when you click or query a feature."},symbolTileSize:{description:"Number describing the size of the tile."}},required:["id","layerType"],title:"IImageVectorLayer"},IChildLayer:{type:"object",properties:{defaultVisibility:{description:"Default visibility of the layers in the map service."},definitionEditor:{$ref:"#/definitions/IDefinitionEditor",description:"An object that provides interactive filters."},featureSet:{$ref:"#/definitions/IFeatureSet",description:"A featureSet object containing the geometry and attributes of the features in the layer. Used with feature collections only."},field:{type:"array",items:{$ref:"#/definitions/IField"},description:"Information about each field in a layer. Used with feature collections."},id:{type:"string",description:"A string indicating the index position of the layer in the map service or feature collection."},layerDefinition:{description:"The layerDefinition object defines the attribute schema and drawing information for the layer."},layerUrl:{description:"A string URL to a service that should be used for all queries against the layer. Used with hosted tiled map services on ArcGIS Online when there is an associated feature service that allows for queries."},maxScale:{description:"Represents the maximum scale at which the layer definition will be applied."},minScale:{description:"Represents the minimum scale at which the layer definition will be applied."},nextObjectId:{description:"Iterates within a featureset. Number objectId value is incremented +1 based on last Object ID defined for the feature in a featureset. Used with feature collections."},parentLayerId:{description:"If working with nested layers, this is the numeric value indicating the layer id of the next layer (parent) directly above the current referenced layer."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the popup window content for the layer."},showLegend:{description:"Indicates whether to allow map authors the ability to control what layers should be shown in a client's legend."},subLayer:{description:"Array of numeric values indicating the layer index for layers nested directly under the parent layer."},subLayerIds:{description:"If the layer is a parent layer, it will have one or more sub layers included in an array."},title:{description:"A user-friendly string title for the layer that can be used in a table of contents."}},description:"A layer object may allow overrides on popup content and drawing behavior for individual layers of a web service. This object also contains geographic features and their attributes when used in a feature collection.",title:"IChildLayer"},IMapServiceLayer:{type:"object",properties:{timeAnimation:{type:"boolean",description:"This property is applicable to layers that support time. If 'true', timeAnimation is enabled."},id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISMapServiceLayer",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},isReference:{description:"This is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},layers:{type:"array",items:{$ref:"#/definitions/IChildLayer"},description:"An array of layer objects defining the styling, geometry, and attribute information for the features."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."},thematicGroup:{$ref:"#/definitions/IThematicGroup",description:"(Optional) A thematicGroup object used in ArcGISMapServiceLayer layers."},visibleLayers:{type:"array",items:{type:"number"},description:"An array of sublayer ids that should appear visible. Used with map service layers that are not tiled."}},required:["id","layerType"],title:"IMapServiceLayer"},IThematicGroup:{type:"object",properties:{fieldNames:{type:"array",items:{type:"string"},description:"An array of string values indicating all the fields used within the webmap. All other fields can be disregarded and should not display in any field selection list."},layerIds:{type:"array",items:{type:"number"},description:"A zero-based array of integers indicating the layers to be used in the webmap. NOTE: All other layers should not be added to the TOC and may or may not be visible on the map as reference layers."},name:{type:"string",description:"String property indicating the name for the thematic grouping of layers."}},title:"IThematicGroup"},IDrawingInfo:{type:"object",properties:{fixedSymbols:{description:"Only used for feature collections with a renderer. The feature's symbol is defined by the layer's renderer."},labelingInfo:{description:"An object defining the properties used for labeling the layer."},renderer:{description:"An object defined which provides the symbology for the layer."},scaleSymbols:{description:"Boolean property indicating whether symbols should stay the same size in screen units as you zoom in. A value of true means the symbols stay the same size in screen units regardless of the map scale."},showLabels:{type:"boolean",description:"Defines whether labels should be shown or not. This is only valid for sublayers."},transparency:{type:"number",description:"Number value ranging between 0 (no transparency) to 100 (completely transparent)."}},title:"IDrawingInfo"},ITypeInfoDomain:{type:"object",properties:{type:{type:"string"}},required:["type"],title:"ITypeInfoDomain"},ITypeInfo:{type:"object",properties:{domains:{$ref:"#/definitions/Record%3Cstring%2CITypeInfoDomain%3E",description:"A comma-delimited series of domain objects for each domain in the type."},id:{type:["number","string"],description:"A unique string or numerical ID for the type."},name:{type:"string",description:"A user-friendly name for the type."},templates:{type:"array",items:{$ref:"#/definitions/ITemplate"},description:"Defined as a property of the layer definition when there are no types defined; otherwise, templates are defined as properties of the types."}},title:"ITypeInfo"},"Record<string,ITypeInfoDomain>":{type:"object",additionalProperties:{$ref:"#/definitions/ITypeInfoDomain"},title:"Record<string,ITypeInfoDomain>"},IOpenStreetMapLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"OpenStreetMap",description:"String indicating the layer type. Value of this property must be OpenStreetMap"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"OpenStreetMap",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."}},required:["id","layerType"],description:"Allows use of OpenStreetMap data for use in basemaps only.",title:"IOpenStreetMapLayer"},ITiledImageServiceLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISTiledImageServiceLayer",description:"String indicating the layer type. Value of this property must be ArcGISTiledImageServiceLayer"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},isReference:{type:"boolean",description:"Applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."}},required:["id","layerType"],title:"ITiledImageServiceLayer"},IExclusionArea:{type:"object",properties:{geometry:{$ref:"#/definitions/IGeometry",description:"The geometry defining the area where no data will be fetched. Only extent is supported."},maxScale:{type:"number",description:"The zoom level where the exclusion ends."},maxZoom:{type:"number",description:"The zoom level where the exclusion ends."},minScale:{type:"number",description:"The zoom level where the exclusion starts."},minZoom:{type:"number",description:"The zoom level where the exclusion starts."}},description:"Exclusion areas define extent areas where no data will be fetched for a layer.",title:"IExclusionArea"},ITiledMapServiceLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISTiledMapServiceLayer",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},displayLevels:{anyOf:[{type:"array",items:{type:"number"}},{type:"number"}],description:"NOTE: Applicable if used as a baseMapLayer. Integer value(s) indicating the display levels of the basemap layer. Only applicable for TiledMapService layers. All tiled map service layers should share the same tiling scheme. This property cannot be set via the Map Viewer UI."},exclusionAreas:{type:"array",items:{$ref:"#/definitions/IExclusionArea"},description:"NOTE: Applicable if used as a baseMapLayer. An array of exclusionArea objects defining the layer exclusions."},isReference:{description:"This property is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},layers:{type:"array",items:{$ref:"#/definitions/IChildLayer"},description:"An array of layer objects defining a URL for queries and the popup window content."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."}},required:["id","layerType"],description:"An ArcGIS Tiled Map Service layer displays map content from an ArcGIS Server Map service that has been cached (tiled).",title:"ITiledMapServiceLayer"},IVectorTileLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"VectorTileLayer",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"VectorTileLayer",description:"Deprecated. User layerType instead."},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},styleUrl:{type:"string",description:"A url to a JSON file containing the stylesheet information used to render the layer. You may also pass an object containing the stylesheet information identical to the JSON file."}},required:["id","layerType"],description:"A vector tile layer references a set of web-accessible vector tiles and the corresponding style for how those tiles should be drawn.",title:"IVectorTileLayer"},ILod:{type:"object",properties:{level:{type:"number",description:"ID for each level."},levelValue:{type:"string",description:"String to be used when constructing URL to access a tile from this LOD."},resolution:{type:"number",description:"Resolution in map units of each pixel in a tile for each level."},scale:{type:"number",description:"Scale for each level."}},title:"ILod"},ITileInfo:{type:"object",properties:{cols:{description:"Requested tile's column."},compressionQuality:{description:"Compression quality of the tile."},dpi:{description:"The dpi of the tiling scheme."},format:{type:"string",enum:["bmp","emf","gif","jpg","lerc","mixed","pdf","png","png8","png24","png32","ps","svg","svgz"],description:"Image format of the cached tiles."},lods:{type:"array",items:{$ref:"#/definitions/ILod"},description:"An array of levels of detail that define the tiling scheme."},origin:{$ref:"#/definitions/IPoint",description:"The tiling scheme origin."},rows:{description:"Requested tile's row."},spatialReference:{$ref:"#/definitions/ISpatialReference",description:"The spatial reference of the tiling schema."}},description:"Tile information, returned from the WMTS OGC Web Service. The tileInfo will contain the spatial reference of the layer. tileInfo is the same json representation as the ArcGIS Map/Image service tileInfo except that it may contain a levelValue on the lod objects that should be used instead of the level in the templateUrl.",title:"ITileInfo"},IWebMapTileServiceInfo:{type:"object",properties:{customLayerParameters:{description:"A sequence of parameters used to append different custom parameters to a WMTS tile request. These parameters are applied to GetTile. The customLayerParameters property takes precedence if customParameters is also present."},customParameters:{description:"A sequence of parameters used to append custom parameters to all WMTS requests. These parameters are applied to GetCapabilities and GetTile. If used with the customLayerParameters property, customParameters will not take precedence."},layerIdentifier:{type:"string",description:"Identifier for the specific layer used in the WMTS service. Required input by the user."},tileMatrixSet:{description:"Tiling schema, set by the WMTS service."},url:{type:"string",description:"URL to the WMTS web service. Required input by the user."}},required:["layerIdentifier","url"],description:"Object defines and provides information about layers in a WMTSLayer service.",title:"IWebMapTileServiceInfo"},IWebTiledLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"WebTiledLayer",description:"String indicating the layer type. Value of this property must be WebTiledLayer"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"WebTiledLayer",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},copyright:{description:"Attribution to the Web Tiled Layer provider. It is displayed in the attribution on the web map. Input required by the user when the layer is added to the web map."},fullExtent:{$ref:"#/definitions/IExtent",description:"An extent object representing the full extent envelope for the layer."},isReference:{description:"This is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},refreshInterval:{description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."},subDomains:{description:"If subdomains are detected, they must be specified. The map viewer detects if the Web Tiled Layer has subdomains by parsing the templateURL value for {subDomain}."},templateUrl:{description:"URL to the Web Tiled Layer. Input required by the user when the layer is added to the web map. The template URL contains a parameterized URL. The URL can contain the following templated parameters: 'level', 'col', 'row', and 'subDomain'."},tileInfo:{$ref:"#/definitions/ITileInfo",description:"Contains the spatial reference and the tiling scheme of the layer. Typically retrieved from a WMTS OGC Web Service. If missing the layer must be in the WGS 1984 Web Mercator (Auxiliary Sphere) tiling scheme."},wmtsInfo:{$ref:"#/definitions/IWebMapTileServiceInfo",description:"Object containing information about the chosen WMTS service layer and tiling schema."}},required:["id","layerType"],title:"IWebTiledLayer"},ICsvLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"CSV",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"CSV",description:"Deprecated, use layerType instead."},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},columnDelimiter:{type:"string",enum:[" ",",",";"," ","|"],description:"A string defining the character used to separate columns in a CSV file."},layerDefinition:{$ref:"#/definitions/ILayerDefinition",description:"A layerDefinition object defining the attribute schema and drawing information for the layer."},locationInfo:{description:"A locationInfo object defining how location information will be retrieved from a CSV file."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the content of popup windows when you click or query a feature."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."}},required:["id","layerType"],description:"The CSV layer type references a CSV or TXT file from a publically-accessible web server. It then dynamically loads into the map at run time. The CSV layer will maintain a reference to the CSV resource.",title:"ICsvLayer"},IGeoRssLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"GeoRSS",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"GeoRSS",description:"Deprecated, please use layerType.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Defined by the GeoRSS to JSON request service. If the GeoRSS feed does not have lines, this property is not added to the layer JSON."},pointSymbol:{$ref:"#/definitions/IPictureMarkerSymbol",description:"Defined by the GeoRSS to JSON request service. If the GeoRSS feed does not have points, this property is not added to the layer JSON."},polygonSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Defined by the GeoRSS to JSON request service. If the GeoRSS feed does not have polygons, this property is not added to the layer JSON."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."}},required:["id","layerType"],title:"IGeoRssLayer"},IKmlLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"KML",description:"String indicating the layer type."},maxScale:{description:"A number representing the maximum scale at which the layer will be visible. The number is the scale's denominator."},minScale:{description:"A number representing the minimum scale at which the layer will be visible. The number is the scale's denominator."},opacity:{description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{description:"Indicates whether to allow map authors the ability to control what layers should be shown in a client's legend."},title:{description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"KML",description:"Deprecated, use layerType instead.",deprecated:"Use layerType instead."},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},refreshInterval:{description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."},visibleFolders:{type:"array",items:{type:"number"},description:"Array of numeric IDs of folders that will be made visible."}},required:["id","layerType"],title:"IKmlLayer"},IArcGisStreamLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISStreamLayer",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},definitionEditor:{$ref:"#/definitions/IDefinitionEditor",description:"Stores interactive filters."},disablePopup:{type:"boolean",description:"Indicates whether to ignore popups defined by the service item."},layerDefinition:{$ref:"#/definitions/ILayerDefinition",description:"A layerDefinition object defining the attribute schema and drawing information for the layer."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the content of pop-up windows when you click or query a feature."}},required:["id","layerType"],title:"IArcGisStreamLayer"}},$ref:"#/definitions/WebChart"},Mc={NonNumericAggregation:"nonNumericAggregation",DuplicateSeriesID:"duplicateSeriesId"},Nt={Required:"required",MinLength:"minLength",MinItems:"minItems",MaxItems:"maxItems",Pattern:"pattern",AdditionalProperties:"additionalProperties",Enum:"enum",AnyOf:"anyOf"},US={BadData:"badData",EmptyDataSet:"emptyDataSet",HistogramEmptyField:"histogramEmptyField",BarElementExceedsLimit:"barElementExceedsLimit",LineChartExceedsLimit:"lineChartExceedsLimit",BoxPlotExceedsLimit:"boxPlotExceedsLimit",BoxPlotOutliersExceedsLimit:"boxPlotOutliersExceedsLimit",HeatChartExceedsLimit:"heatChartExceedsLimit",PieChartExceedsLimit:"pieChartExceedsLimit",GaugeExceedsLimit:"gaugeExceedsLimit",PieChartMixOfNegativePositiveSlices:"PieChartMixOfNegativePositiveSlices",NegativeValueInSqrtCalculation:"negativeValueInSqrtCalculation",NegativeValueInLogCalculation:"negativeValueInLogCalculation",NegativeValueInXAxisLogScale:"negativeValueInXAxisLogScale",NegativeValueInYAxisLogScale:"negativeValueInYAxisLogScale"};function pg(t){let e=t.lastIndexOf("/");return e!==-1?t.slice(e+1):t}async function ug(t){let e=(await rt(it(document.documentElement).t9nLocale,tt("./assets/common/t9n"),"messages.")).errorStrings;return t.map(i=>{let a=i,r=i.dataPath.startsWith(".")?i.dataPath.substring(1):i.dataPath;switch(i.keyword){case Nt.Required:a={...i,message:Je(e.errors.requiredProperty,{dataPath:r,missingProperty:i.params.missingProperty})};break;case Nt.MinLength:a={...i,message:Je(e.errors.minLength,{dataPath:r,limit:i.params.limit.toString()})};break;case Nt.MinItems:a={...i,message:Je(e.errors.minItems,{dataPath:r,limit:i.params.limit.toString()})};break;case Nt.MaxItems:a={...i,message:Je(e.errors.maxItems,{dataPath:r,limit:i.params.limit.toString()})};break;case Nt.Pattern:i.params.pattern==="\\w+"&&(a={...i,message:Je(e.errors.whiteSpacePattern,{dataPath:r}),params:{}});break;case Nt.AdditionalProperties:a={...i,message:Je(e.errors.additionalProperty,{dataPath:r,additionalProperty:i.params.additionalProperty})};break;case Nt.Enum:a={...i,message:Je(e.errors.enumValues,{dataPath:r,allowedValues:i.params.allowedValues.join(", ")})};break;case Nt.AnyOf:{let n=[];i.schemaPath==="#/properties/legend/anyOf"&&(n=Cr.definitions.WebChart.properties.legend.anyOf.map(o=>pg(o.$ref))),a={...i,params:n,message:Je(e.errors.anyOfValues,{dataPath:r,schemaOptions:n.join(", ")})};break}}return a})}function Wi(t,e){return{...t,$ref:`#/definitions/${e}`}}async function hg(t){let e,i=(await rt(it(document.documentElement).t9nLocale,tt("./assets/common/t9n"),"messages.")).errorStrings,a=Re(t);try{await a.load()}catch{let r=a?.url??"",n=Ae(a)?.portalItem?.id??"";e={keyword:ct.LayerLoadFailure,message:Je(i.errors.layerLoadFailure,{url:r,portalItemId:n}),params:{url:r,portalItemId:n}}}return e}function fg(){let t=new od.default({allErrors:!0});return async e=>{let i=[],a=_e(e?.series),r=Cr;switch(a){case x.GaugeSeries:r=Wi(Cr,"WebGaugeChart");break;case x.BoxPlotSeries:r=Wi(Cr,"WebBoxPlot");break;case x.RadarSeries:r=Wi(Cr,"WebRadarChart");break;default:r=Wi(Cr,"WebChart");break}let n=t.compile(r);return n(e),n.errors!==null&&n.errors!==void 0&&(i=await ug(n.errors)),i}}var mg=fg();async function yg(t){let{seriesConfigs:e,queryObject:i,allowUsingObjectIdStat:a}=t,r=[],n=await oi(i),o=(await rt(it(document.documentElement).t9nLocale,tt("./assets/common/t9n"),"messages.")).errorStrings;for(let s=0;s<e.length;s+=1){let l=e[s].query?.outStatistics;if(l!==void 0)for(let d=0;d<l.length;d+=1){let p=l[d],u=Hn(p.onStatisticField,n);if(u&&!(u.type===ve.OID&&a||_c(u))&&p.statisticType!==le.Count){let h=`series[${s}].query.outStatistics[${d}]`;r.push({keyword:Mc.NonNumericAggregation,message:Je(o.errors.nonNumericAggregation,{dataPath:h}),dataPath:h,params:{fieldName:p.onStatisticField,fieldType:u.type,aggregationRequested:p.statisticType}})}}}return r}async function gg(t){let e=[],i=(await rt(it(document.documentElement).t9nLocale,tt("./assets/common/t9n"),"messages.")).errorStrings;if(t!==void 0&&t.series.length>1){let a=new Set,r=0;t.series.forEach((n,o)=>{if(a.add(n.id),a.size===r){let s=`series[${o}].id`;e.push({keyword:Mc.DuplicateSeriesID,message:Je(i.errors.duplicateSeriesID,{dataPath:s,seriesID:n.id,seriesName:n.name}),dataPath:s,params:{seriesId:n.id,seriesName:n.name}})}else r+=1})}return e}function bg(t){let e=new Set,i=Oy(t);if(i){let a=_e(t.series),r=Pt(t.series);a===x.GaugeSeries&&!Ry(t)||r===M.PieFromFields||r===M.BarAndLineFromFields||r===M.BoxPlotMonoField||r===M.BoxPlotMultiFields||r===M.BoxPlotMonoFieldAndSplitBy||r===M.BoxPlotMultiFieldsAndSplitBy||e.add(i.x);let n=a===x.ScatterSeries||a===x.BoxPlotSeries||r===M.BarAndLineNoAggregation||r===M.BarAndLineSplitByNoAggregation||r===M.PieNoAggregation,o=[Bn,Dn,ih,ud,ah,or.outStatistics.outStatisticFieldName??""],s=[];if(a===x.BoxPlotSeries?s=Ny({showMean:t.showMean,seriesConfig:t.series}):s=t.series.map(l=>"y"in l?l.y:void 0).filter(l=>l!==void 0).flat(),n?s.forEach(l=>e.add(l)):o.push(...s),t.series.forEach(l=>{let{query:d}=l;d&&(Ar(d.where)||e.add(zn(d.where)),d.groupByFieldsForStatistics&&d.groupByFieldsForStatistics.forEach(p=>e.add(p)),d.outStatistics&&d.outStatistics.forEach(p=>e.add(p.onStatisticField)))}),a===x.GaugeSeries&&t.axes?.[0]!==void 0){let l=t.axes?.[0];l&&"minimumFromField"in l&&typeof l.minimumFromField=="string"&&e.add(l.minimumFromField),l&&"maximumFromField"in l&&typeof l.maximumFromField=="string"&&e.add(l.maximumFromField)}o.forEach(l=>{e.delete(l)})}return Array.from(e.values()).filter(a=>!yt(a))}async function vg(t,e){let i,a=(await rt(it(document.documentElement).t9nLocale,tt("./assets/common/t9n"),"messages.")).errorStrings,r=await oi(e),n=bg(t).filter(o=>!Hn(o,r));if(n.length>0){let o=n.join(", ");i={keyword:ct.LayerFieldsNotFound,message:Je(a.errors.layerFieldsNotFound,{fieldNames:o}),params:o}}return i}async function Sg(t){let{input:e,queryObject:i,allowUsingObjectIdStat:a}=t,r=[];if(i!==void 0){let n=await yg({seriesConfigs:e.series,queryObject:i,allowUsingObjectIdStat:a});r=r.concat(n)}return r=r.concat(await gg(e)),r}async function wg(t,e){let i=[];if(t!==void 0){let a=await hg(t);if(a!==void 0)i=i.concat(a);else if(e!==void 0){let r=await vg(e,t);r!==void 0&&(i=i.concat(r))}}return i}async function GS(t){let{input:e,queryObject:i,allowUsingObjectIdStat:a}=t,r;if(Py(e?.version).versionStatus===Lt.Newer)r={valid:!0,schemaErrors:[],customErrors:[],warnings:[]};else{let n=await mg(e),o=[],s=[];e!==void 0&&n.length===0&&(s=await wg(i,e),s.length===0&&(o=await Sg({input:e,queryObject:i,allowUsingObjectIdStat:a}))),r={valid:n.length===0&&o.length===0&&s.length===0,schemaErrors:n,customErrors:s,warnings:o}}return r}function HS(t){let e=_e(t?.series),i=!1;switch(e){case x.HistogramSeries:{i=(t?.series?.[0]?.x?.trim()?.length??0)===0;break}case x.ScatterSeries:{let a=t?.series;i=(a?.[0]?.x?.length??0)===0||(a?.[0]?.y?.length??0)===0;break}case x.PieSeries:{let a=t?.series;Pt(a)===M.PieFromFields?i=(a?.[0]?.query?.outStatistics?.length??0)===0:i=(a?.[0]?.x?.length??0)===0||a?.[0]?.x===Dn;break}case x.BoxPlotSeries:{let a=t?.series;i=[a?.[0]?.y].flat().length===0||a?.[0]?.y==="";break}case x.ComboLineAndBarSeries:case x.RadarSeries:case x.BarSeries:case x.LineSeries:{let a=t?.series;Pt(a)===M.BarAndLineFromFields?i=(a?.[0]?.query?.outStatistics?.length??0)===0:i=(a?.[0]?.x?.trim()?.length??0)===0;break}}return i}var QS=[{unit:me.Second,threshold:6e4,unitMs:1e3,preferredIntervalSize:[1,2,3,5,6,10,12,15,20,30,60]},{unit:me.Minute,threshold:36e5,unitMs:1e3*60,preferredIntervalSize:[1,2,3,5,6,10,12,15,20,30,60]},{unit:me.Hour,threshold:864e5,unitMs:1e3*60*60,preferredIntervalSize:[1,2,3,4,6,8,12,24]},{unit:me.Day,threshold:6048e5,unitMs:1e3*60*60*24,preferredIntervalSize:[1,2,3,4,5,6,7]},{unit:me.Week,threshold:24192e5,unitMs:1e3*60*60*24*7,preferredIntervalSize:[1,2,3,4]},{unit:me.Month,threshold:290304e5,unitMs:1e3*60*60*24*7*4,preferredIntervalSize:[1,2,3,4,6,12]},{unit:me.Year,threshold:Number.MAX_SAFE_INTEGER,unitMs:1e3*60*60*24*7*4*12,preferredIntervalSize:[1,2,4,5,10,25,50,100]}],ZS="{ groupByFieldsForStatistics } WHEN { dateField }>='{ startDate }' AND { dateField }{ endDateOperand }'{ endDate }' THEN '{ y }|{ binIndex}'",JS=[...us,"ar-u-nu-latn","en-AU","en-GB","es-ES","es-MX","de-CH","de-DE","de-AT","fr-CA","it-CH","it-IT"];return{a:zr,b:dp,c:ms,d:ys,e:gs,f:hs,g:bs,h:Ot,i:Dn,j:ud,k:ih,l:ah,m:Ct,n:ue,o:ed,p:uc,q:H,r:pv,s:uv,t:or,u:Yf,v:hv,w:lt,x:Xf,y:fv,z:mv,A:yv,B:Bn,C:em,D:tm,E:mt,F:fc,G:gv,H:ca,I:ie,J:mc,K:J,L:ai,M:im,N:bv,O:Pn,P:vv,Q:Sv,R:Ut,S:qi,T:Et,U:wv,V:am,W:nm,X:sm,Y:Iv,Z:om,_:lr,$:cm,aa:um,ba:xv,ca:hm,da:Tv,ea:Cv,fa:fm,ga:mm,ha:Fv,ia:Pv,ja:Kr,ka:Ov,la:Ev,ma:Av,na:$v,oa:Dv,pa:Lv,qa:Rv,ra:kv,sa:ym,ta:gm,ua:bm,va:jv,wa:vm,xa:Nv,ya:qv,za:_v,Aa:Sm,Ba:Mv,Ca:Bv,Da:wm,Ea:Im,Fa:Wv,Ga:Vv,Ha:M,Ia:zv,Ja:Uv,Ka:Gv,La:Hv,Ma:my,Na:by,Oa:Ac,Pa:Qv,Qa:Zv,Ra:Jv,Sa:Yv,Ta:Kv,Ua:yt,Va:Iy,Wa:Xv,Xa:eS,Ya:tS,Za:rS,_a:iS,$a:aS,ab:nS,bb:sS,cb:oS,db:lS,eb:dS,fb:xy,gb:Ty,hb:Py,ib:Oy,jb:cS,kb:zn,lb:ni,mb:Ar,nb:pS,ob:Pt,pb:uS,qb:Dy,rb:hS,sb:de,tb:Ly,ub:Ry,vb:fS,wb:ky,xb:aa,yb:on,zb:na,Ab:Ny,Bb:qy,Cb:mS,Db:My,Eb:yS,Fb:gS,Gb:dt,Hb:ct,Ib:bS,Jb:si,Kb:Wy,Lb:vS,Mb:Ae,Nb:Lc,Ob:Uy,Pb:SS,Qb:wS,Rb:Re,Sb:IS,Tb:Xr,Ub:xS,Vb:Qy,Wb:TS,Xb:CS,Yb:FS,Zb:PS,_b:OS,$b:kc,ac:ES,bc:AS,cc:Jy,dc:$S,ec:ei,fc:Gn,gc:ig,hc:DS,ic:og,jc:LS,kc:oi,lc:RS,mc:_c,nc:kS,oc:jS,pc:NS,qc:qS,rc:_S,sc:MS,tc:BS,uc:WS,vc:cg,wc:VS,xc:zS,yc:Mc,zc:US,Ac:GS,Bc:HS,Cc:QS,Dc:ZS,Ec:JS}},"intl","geometry/support/jsonUtils","layers/support/fieldUtils","renderers/support/jsonUtils","layers/support/Field","request","rest/support/FeatureSet","layers/FeatureLayer","portal/Portal","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils")