@arcgis/charts-components 4.33.0-next.134 → 4.33.0-next.136

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 (583) hide show
  1. package/dist/cdn/{SIXG6XJ7.js → 22JFTFRX.js} +2 -2
  2. package/dist/cdn/{NIQC5X52.js → 22LS3IEP.js} +2 -2
  3. package/dist/cdn/{WESRUIOV.js → 233EGFPQ.js} +2 -2
  4. package/dist/cdn/{H6D3AEPA.js → 24JD53YX.js} +2 -2
  5. package/dist/cdn/{5Y7YYTPF.js → 26AE7Q6V.js} +2 -2
  6. package/dist/cdn/{PDZSR3EI.js → 2G2DMUXW.js} +2 -2
  7. package/dist/cdn/{4JECKWCG.js → 2QP6CHK5.js} +2 -2
  8. package/dist/cdn/{BQKPNK37.js → 3ACA2QXG.js} +2 -2
  9. package/dist/cdn/{GRCEQXMF.js → 3P2RW7YA.js} +2 -2
  10. package/dist/cdn/{FEHGRCRU.js → 47PH3KP5.js} +2 -2
  11. package/dist/cdn/{6DG6763L.js → 47WBJRSX.js} +2 -2
  12. package/dist/cdn/{V2SVGMJJ.js → 4EVP3S22.js} +2 -2
  13. package/dist/cdn/{5PJWZDXK.js → 4HYY4YX5.js} +2 -2
  14. package/dist/cdn/{MBMYAS6T.js → 4J4EOSSF.js} +2 -2
  15. package/dist/cdn/{TCD4E4JW.js → 4L6IFERS.js} +2 -2
  16. package/dist/cdn/{3B3E536Q.js → 4LDFRUBP.js} +2 -2
  17. package/dist/cdn/{4I4NEOEU.js → 4MWZWSPT.js} +2 -2
  18. package/dist/cdn/{LKQUGBMV.js → 4NMJ2TN2.js} +2 -2
  19. package/dist/cdn/{5RAPOWPA.js → 4T7MWQTK.js} +2 -2
  20. package/dist/cdn/{DQUSC2YQ.js → 4WQPY7JQ.js} +2 -2
  21. package/dist/cdn/{UJOCZEG6.js → 4YO7VKCZ.js} +2 -2
  22. package/dist/cdn/{GRMYLCXI.js → 5M2BGZTA.js} +2 -2
  23. package/dist/cdn/{5V2WZFSD.js → 5MQVRMDO.js} +2 -2
  24. package/dist/cdn/{5KYDIGZX.js → 5QCSSKMW.js} +2 -2
  25. package/dist/cdn/{LGQRB6XA.js → 5RV4IK5S.js} +2 -2
  26. package/dist/cdn/{5W6NQ7MW.js → 5SOBNPSF.js} +2 -2
  27. package/dist/cdn/{GTSOPHXE.js → 66R3TWCY.js} +2 -2
  28. package/dist/cdn/{AED3E5ZC.js → 6CAY2CN7.js} +2 -2
  29. package/dist/cdn/{LNMY4UHI.js → 6CBMZ7QQ.js} +2 -2
  30. package/dist/cdn/{AYXW6WID.js → 6FWYOSK4.js} +2 -2
  31. package/dist/cdn/{JBTB42Y4.js → 6IPUT5OS.js} +2 -2
  32. package/dist/cdn/{S43GOL2T.js → 6JVPCJ2Z.js} +2 -2
  33. package/dist/cdn/{DXS2U6BJ.js → 6RJH47E5.js} +2 -2
  34. package/dist/cdn/{JOLIOPXY.js → 6YCMKPVI.js} +2 -2
  35. package/dist/cdn/{M5QNSURW.js → 6ZXKC4ZW.js} +2 -2
  36. package/dist/cdn/{V226E6CP.js → 755ALIJL.js} +2 -2
  37. package/dist/cdn/{3NSHG3CB.js → 75SYVJYF.js} +2 -2
  38. package/dist/cdn/{HPFBGBXW.js → 7DDALVPM.js} +2 -2
  39. package/dist/cdn/{PQCSYJOZ.js → 7EISVMLE.js} +2 -2
  40. package/dist/cdn/{YZCWFECE.js → 7IZ6MR6Q.js} +2 -2
  41. package/dist/cdn/{W6JBBHFI.js → 7LNY3KSW.js} +2 -2
  42. package/dist/cdn/{OSSQT3UC.js → 7THOITII.js} +2 -2
  43. package/dist/cdn/{QAY25BYT.js → AADZIJTM.js} +2 -2
  44. package/dist/cdn/{QVNCBPIG.js → AD5PBFVT.js} +2 -2
  45. package/dist/cdn/{46I4KF6S.js → AD6Y6GKR.js} +2 -2
  46. package/dist/cdn/{UMX2O7SZ.js → AHR7F6FZ.js} +2 -2
  47. package/dist/cdn/{BXY6VDP6.js → AJNAJWCY.js} +2 -2
  48. package/dist/cdn/{6NU5OYJX.js → AKLTS7NT.js} +2 -2
  49. package/dist/cdn/{6V6OKO3Y.js → AKSKHBZY.js} +2 -2
  50. package/dist/cdn/{7BSUIDNO.js → AOGBQSGX.js} +2 -2
  51. package/dist/cdn/{ZMR5MB7J.js → AYK3LI4U.js} +2 -2
  52. package/dist/cdn/{5BOKEADJ.js → BJHFSXGX.js} +2 -2
  53. package/dist/cdn/{QI5M6TH4.js → BJVWCZXF.js} +2 -2
  54. package/dist/cdn/{N7R6HXHJ.js → BLI2WVAS.js} +2 -2
  55. package/dist/cdn/BPDGYXUU.js +4 -0
  56. package/dist/cdn/{IRHLR5BZ.js → BX6BJ7JF.js} +2 -2
  57. package/dist/cdn/{R4ECR7WT.js → BYJUWLXC.js} +2 -2
  58. package/dist/cdn/{4C4Y2JZZ.js → C4CYZ5SL.js} +2 -2
  59. package/dist/cdn/{7NMGAXFJ.js → C6ISQRRL.js} +2 -2
  60. package/dist/cdn/{WCSHPL4G.js → CFM6RBSB.js} +2 -2
  61. package/dist/cdn/{MA5LPFDM.js → CHEYPD47.js} +2 -2
  62. package/dist/cdn/{5DH5IBUS.js → CMGOILES.js} +2 -2
  63. package/dist/cdn/{W63APKBA.js → CMQ4LSYI.js} +2 -2
  64. package/dist/cdn/{AJXW3F2U.js → CN7C773M.js} +2 -2
  65. package/dist/cdn/CUFALZ62.js +4 -0
  66. package/dist/cdn/{SQQ3RYRO.js → CXOJYTSH.js} +2 -2
  67. package/dist/cdn/{UM56P4RR.js → D4FT7JNX.js} +2 -2
  68. package/dist/cdn/{JGBA2MBC.js → DH4CKNSI.js} +2 -2
  69. package/dist/cdn/{LFVAGR34.js → DIV5JPJV.js} +2 -2
  70. package/dist/cdn/{47TCVKNM.js → DJH4TTZE.js} +2 -2
  71. package/dist/cdn/{WW2LRRSX.js → DM5Y6XD5.js} +2 -2
  72. package/dist/cdn/{3MTFM5TO.js → DNMGLAOW.js} +8 -8
  73. package/dist/cdn/{XS3BOIL7.js → DOITTPK3.js} +2 -2
  74. package/dist/cdn/{H74Z74VX.js → DVPHDANW.js} +2 -2
  75. package/dist/cdn/{LG5ZUBK7.js → DWXIS37W.js} +2 -2
  76. package/dist/cdn/{WEZQZMB3.js → E3PNUIDD.js} +2 -2
  77. package/dist/cdn/{XQ5JWUAW.js → E5JXYLYT.js} +2 -2
  78. package/dist/cdn/{4NUHQJRJ.js → EDJMOOTU.js} +2 -2
  79. package/dist/cdn/{XLFRCTVT.js → EENLW3DU.js} +2 -2
  80. package/dist/cdn/{G4VVNNTW.js → EF7ULYWM.js} +2 -2
  81. package/dist/cdn/{O2DUVY3S.js → EN3LGEEG.js} +2 -2
  82. package/dist/cdn/{HKMKRTVT.js → EOJFU3TC.js} +2 -2
  83. package/dist/cdn/{RTZLFKYI.js → EPOZCGUH.js} +2 -2
  84. package/dist/cdn/{4FRW3YTR.js → EQNM2OHJ.js} +2 -2
  85. package/dist/cdn/EWXHDJ5Z.js +4 -0
  86. package/dist/cdn/{G4QN4YIR.js → EX6G36TK.js} +2 -2
  87. package/dist/cdn/{WOWIEGPX.js → FBMIZOLQ.js} +2 -2
  88. package/dist/cdn/{BVAUHZZ5.js → FCGMI34F.js} +2 -2
  89. package/dist/cdn/{PYTDL44U.js → FDI5SZUY.js} +2 -2
  90. package/dist/cdn/{EC645ABQ.js → FH23NG4N.js} +2 -2
  91. package/dist/cdn/{W5FINWPH.js → FNK4BCNL.js} +2 -2
  92. package/dist/cdn/{26YUY5QM.js → FNOLS2RY.js} +2 -2
  93. package/dist/cdn/{QNWAEUJ6.js → FODFZCP2.js} +2 -2
  94. package/dist/cdn/{EAZHSJX4.js → FTVOKTFA.js} +2 -2
  95. package/dist/cdn/{J3ZNOUP6.js → FXB22ZAB.js} +2 -2
  96. package/dist/cdn/{BXJHW5KB.js → FXE6ZG3E.js} +2 -2
  97. package/dist/cdn/{ISVIFLID.js → G3UJPHYB.js} +2 -2
  98. package/dist/cdn/{4B7V4SFZ.js → G4LOA7F6.js} +2 -2
  99. package/dist/cdn/{4BYOCIYH.js → G77ERQEA.js} +2 -2
  100. package/dist/cdn/{DW4IUVAJ.js → G7LU3DII.js} +2 -2
  101. package/dist/cdn/{N45TGZMN.js → GGEPOWVP.js} +2 -2
  102. package/dist/cdn/{5VWLMYW5.js → GH2NGRGC.js} +2 -2
  103. package/dist/cdn/{5XYNSADS.js → GIQZCG63.js} +2 -2
  104. package/dist/cdn/{OF732Y7O.js → GL4KYVZS.js} +2 -2
  105. package/dist/cdn/{2LRKGHND.js → GMHJOY6T.js} +2 -2
  106. package/dist/cdn/{GXH2ZZXI.js → GMMHWZDO.js} +2 -2
  107. package/dist/cdn/{LWYAOTX5.js → GOT7VCYL.js} +2 -2
  108. package/dist/cdn/{JIBGEXPI.js → GPBWKBWM.js} +2 -2
  109. package/dist/cdn/{SHWMJET4.js → GSRHTTUY.js} +2 -2
  110. package/dist/cdn/{4GBWUN5V.js → GTUAA3DE.js} +2 -2
  111. package/dist/cdn/{N2KT5IOZ.js → GXZ7WDHO.js} +2 -2
  112. package/dist/cdn/{LYZ7OGNK.js → GY3OB5OD.js} +2 -2
  113. package/dist/cdn/{GUPXRDDE.js → GYA2HTYX.js} +2 -2
  114. package/dist/cdn/{FXINPSUC.js → H472XGVZ.js} +2 -2
  115. package/dist/cdn/{3SGLCBTY.js → HJBKFWOR.js} +2 -2
  116. package/dist/cdn/{QQI4QEKW.js → HMDIBYXD.js} +2 -2
  117. package/dist/cdn/{QD5YW3UU.js → HTK73SCS.js} +2 -2
  118. package/dist/cdn/{NRY5EJYW.js → HVHAXLYD.js} +2 -2
  119. package/dist/cdn/{3GVFXI72.js → HWALTAHZ.js} +2 -2
  120. package/dist/cdn/{M5HPFQCO.js → HZSJWBUM.js} +2 -2
  121. package/dist/cdn/{SB6SGERJ.js → I6YDHDXS.js} +2 -2
  122. package/dist/cdn/{PYJXWARK.js → ICMMBQLT.js} +2 -2
  123. package/dist/cdn/{7MHDQCVJ.js → IFBFMAK6.js} +2 -2
  124. package/dist/cdn/{TKBFKVXE.js → IGOWSQ2O.js} +2 -2
  125. package/dist/cdn/{SIS3UR4S.js → IL3GXOJW.js} +2 -2
  126. package/dist/cdn/{3UWOQLQI.js → IPNUWNB3.js} +2 -2
  127. package/dist/cdn/{R6VDPTXA.js → IS6VWGAQ.js} +2 -2
  128. package/dist/cdn/{4BDBI6Z3.js → ISY2AYU4.js} +2 -2
  129. package/dist/cdn/{B54ZIHJZ.js → ITMFWQXV.js} +2 -2
  130. package/dist/cdn/{WAMQP4K3.js → IV3VV547.js} +2 -2
  131. package/dist/cdn/IYHIO5F5.js +4 -0
  132. package/dist/cdn/{I5F7BQUM.js → J23DJPYL.js} +2 -2
  133. package/dist/cdn/{PIJMLVIB.js → J626FMAE.js} +2 -2
  134. package/dist/cdn/{3GFJWI5Q.js → J634NKXD.js} +2 -2
  135. package/dist/cdn/{73KYWR6C.js → JANHJW62.js} +2 -2
  136. package/dist/cdn/{BW5FZYG4.js → JCRTHSUB.js} +2 -2
  137. package/dist/cdn/{IJCZFM4I.js → JGIDWFTA.js} +2 -2
  138. package/dist/cdn/{6B4CN5RF.js → JIFWSBBO.js} +2 -2
  139. package/dist/cdn/{CNEW2XBG.js → JJV3DQPZ.js} +2 -2
  140. package/dist/cdn/{VSEGL6FI.js → JNRH64ZN.js} +2 -2
  141. package/dist/cdn/{D7HHWGFZ.js → JTUK3G72.js} +2 -2
  142. package/dist/cdn/{AY5XTTRB.js → JU2YDF4C.js} +2 -2
  143. package/dist/cdn/{3WBLFLUB.js → JVXQWUV4.js} +2 -2
  144. package/dist/cdn/JX54HHON.js +4 -0
  145. package/dist/cdn/{X5PCRP4J.js → K6RRZXIP.js} +2 -2
  146. package/dist/cdn/{OQDP6VEO.js → KLE42LBA.js} +2 -2
  147. package/dist/cdn/{TGR3J5E7.js → KMTJGYJR.js} +2 -2
  148. package/dist/cdn/{QL56Q7TH.js → KRZD2UIB.js} +2 -2
  149. package/dist/cdn/{GBQRSCL3.js → KUXFFDJO.js} +2 -2
  150. package/dist/cdn/{6HRFI3XO.js → L3REU4LD.js} +2 -2
  151. package/dist/cdn/{QJWXFK7I.js → LA3LUM2V.js} +2 -2
  152. package/dist/cdn/{PM3HAR4P.js → LBKR5ZJX.js} +2 -2
  153. package/dist/cdn/{SFFDUSDE.js → LDU3B3MP.js} +2 -2
  154. package/dist/cdn/{VNRPAZWB.js → LGAM5S4Y.js} +2 -2
  155. package/dist/cdn/{6L35LIS4.js → LIWGK645.js} +2 -2
  156. package/dist/cdn/{PL5K43PS.js → LOPUWDDW.js} +2 -2
  157. package/dist/cdn/{XJDXXLLY.js → LWRI5HWC.js} +2 -2
  158. package/dist/cdn/{DIXPV7JR.js → LYNUP6UG.js} +2 -2
  159. package/dist/cdn/{IMRO2LE3.js → LYYEE72K.js} +2 -2
  160. package/dist/cdn/{LW5PAP67.js → M6WZKUDU.js} +2 -2
  161. package/dist/cdn/{46ITJCKQ.js → MCUAVJEE.js} +2 -2
  162. package/dist/cdn/{JM7ZPJPY.js → MMRIXO37.js} +2 -2
  163. package/dist/cdn/{D3MQGH3X.js → MXENTHHF.js} +2 -2
  164. package/dist/cdn/{Y722MKRW.js → N6CILEVW.js} +2 -2
  165. package/dist/cdn/{XNHHKG6S.js → NRT7QFHW.js} +2 -2
  166. package/dist/cdn/{YA23EN3T.js → NWZNOYS3.js} +2 -2
  167. package/dist/cdn/{W7AFIDJF.js → NXLYTLL7.js} +2 -2
  168. package/dist/cdn/{GIUN6MBY.js → NXTG6HP5.js} +2 -2
  169. package/dist/cdn/{RKLW3RQM.js → O23OBC4O.js} +2 -2
  170. package/dist/cdn/{IXWUPGAH.js → O7QKERC3.js} +2 -2
  171. package/dist/cdn/{KHSCS7T4.js → OC3ZPQVU.js} +2 -2
  172. package/dist/cdn/{WMQGRNSW.js → OMOIIUYP.js} +2 -2
  173. package/dist/cdn/{ILT32P6D.js → OQAMK3YH.js} +2 -2
  174. package/dist/cdn/P6DSFWPS.js +4 -0
  175. package/dist/cdn/{CCOBKLKR.js → PEOAREK6.js} +2 -2
  176. package/dist/cdn/{AZ42MN6W.js → PFU64OSO.js} +2 -2
  177. package/dist/cdn/{663QTWLO.js → PHGZQNPV.js} +2 -2
  178. package/dist/cdn/{E6HFKAIJ.js → PIYO7GK7.js} +2 -2
  179. package/dist/cdn/{HWYHU3GY.js → PNKF7JL7.js} +2 -2
  180. package/dist/cdn/{T5CP2KX7.js → QH42VE55.js} +2 -2
  181. package/dist/cdn/{ZXRXDWWV.js → QJU4BQFI.js} +2 -2
  182. package/dist/cdn/{H5TEGNI4.js → QMIP2M46.js} +2 -2
  183. package/dist/cdn/{WPTXKL3A.js → QSMTO3UV.js} +2 -2
  184. package/dist/cdn/{S7NJ6T7B.js → R7KGDSP6.js} +2 -2
  185. package/dist/cdn/{HOUU4H2K.js → RAHNL3FK.js} +2 -2
  186. package/dist/cdn/{GCSKNCO3.js → RHAT65PA.js} +2 -2
  187. package/dist/cdn/{O2JPHZHP.js → RICH3QOU.js} +2 -2
  188. package/dist/cdn/{UTSMSZOW.js → ROCQOV6L.js} +2 -2
  189. package/dist/cdn/{HKLR73CT.js → RORSWRV6.js} +2 -2
  190. package/dist/cdn/{DUOLE5YR.js → RPBYRD5X.js} +2 -2
  191. package/dist/cdn/{EGWXNPLG.js → RRGS33NP.js} +2 -2
  192. package/dist/cdn/{UR7OPD2E.js → RRGZSTUW.js} +1 -1
  193. package/dist/cdn/{LQGHHGTI.js → RWVDXPOT.js} +2 -2
  194. package/dist/cdn/{LSEC7UGV.js → RXHFQF37.js} +2 -2
  195. package/dist/cdn/{CYAMIXSP.js → S2SCMGSI.js} +2 -2
  196. package/dist/cdn/{76SYUN2X.js → S3CUSAB3.js} +2 -2
  197. package/dist/cdn/{DM24X7P7.js → S4DHQSIH.js} +2 -2
  198. package/dist/cdn/{HRFWSLAW.js → SF4ESJ5G.js} +2 -2
  199. package/dist/cdn/{DPZW4VYL.js → SKTRQZI4.js} +2 -2
  200. package/dist/cdn/{77EOS7K4.js → SR42DTA7.js} +2 -2
  201. package/dist/cdn/{KUNCOX66.js → STJNXDD7.js} +2 -2
  202. package/dist/cdn/{4H6D3WKC.js → T2HI3PDD.js} +2 -2
  203. package/dist/cdn/{Q2WZECLS.js → T4GTWZHU.js} +2 -2
  204. package/dist/cdn/{RSB3IPO6.js → TFJ3GGST.js} +2 -2
  205. package/dist/cdn/{46CFSZJC.js → TFVZPQZQ.js} +2 -2
  206. package/dist/cdn/TGLDSY4E.js +53 -0
  207. package/dist/cdn/{KYSOT5Q2.js → TGQX3KZT.js} +2 -2
  208. package/dist/cdn/{5CQWXZYS.js → TJ3IT2GL.js} +2 -2
  209. package/dist/cdn/{IMNW34HS.js → TLMNAVVB.js} +2 -2
  210. package/dist/cdn/{CU2QWI7U.js → TO7P66RQ.js} +2 -2
  211. package/dist/cdn/{CTFFHX2K.js → TOOPS4EG.js} +2 -2
  212. package/dist/cdn/{UKVJ2INZ.js → TQVF2LC7.js} +2 -2
  213. package/dist/cdn/{WVYGCCJ3.js → TT2QWNOF.js} +2 -2
  214. package/dist/cdn/{P6OPXTYO.js → TV64YPS2.js} +2 -2
  215. package/dist/cdn/{UOEHGVYV.js → U6VJHL45.js} +2 -2
  216. package/dist/cdn/{4ZKNI25G.js → UADIA5K4.js} +2 -2
  217. package/dist/cdn/{L74VNULC.js → UAXC76TJ.js} +2 -2
  218. package/dist/cdn/{XWXLNFIM.js → UGQ5OZSL.js} +2 -2
  219. package/dist/cdn/{EQM7HRQB.js → UGXTDAY6.js} +2 -2
  220. package/dist/cdn/{IGCT7B2F.js → UGZM7XLM.js} +2 -2
  221. package/dist/cdn/{L4FZSLRN.js → ULWZFWDT.js} +2 -2
  222. package/dist/cdn/{AJY7LJQM.js → UMBFXUD7.js} +2 -2
  223. package/dist/cdn/{7QRHEWBO.js → UNAZJPAU.js} +2 -2
  224. package/dist/cdn/{M2UWPJQU.js → UNRASYLZ.js} +2 -2
  225. package/dist/cdn/{UXLZWTYQ.js → UOR4LSHE.js} +2 -2
  226. package/dist/cdn/{6ENKSYE4.js → UPT3V4F7.js} +2 -2
  227. package/dist/cdn/{VNOU6H73.js → USNVN4ZK.js} +2 -2
  228. package/dist/cdn/{HFS6PNSO.js → UUOCQKDU.js} +2 -2
  229. package/dist/cdn/{MWHN2P2M.js → UZVBK2IH.js} +2 -2
  230. package/dist/cdn/{7ZRGEG2J.js → V37MLXRK.js} +2 -2
  231. package/dist/cdn/{2VQ6NYUG.js → V526EMCZ.js} +2 -2
  232. package/dist/cdn/{KSL26OEI.js → V6NYHJDD.js} +2 -2
  233. package/dist/cdn/{JUGLHQBJ.js → VAOW5KYP.js} +2 -2
  234. package/dist/cdn/{WKGGFUTT.js → VENJT36V.js} +1 -1
  235. package/dist/cdn/{QDPYLB5I.js → VIO42PIM.js} +2 -2
  236. package/dist/cdn/{NU2UZHQQ.js → VKQKH2OQ.js} +2 -2
  237. package/dist/cdn/{C5TFBKHO.js → VPLECF5H.js} +2 -2
  238. package/dist/cdn/{RBXHDB7T.js → VQEQDJDY.js} +2 -2
  239. package/dist/cdn/{S5IFNRA6.js → VUMZ5CLO.js} +2 -2
  240. package/dist/cdn/{RNMRU3LN.js → VVOMBFLV.js} +2 -2
  241. package/dist/cdn/{2PZ57I6Z.js → VYJWMYO3.js} +2 -2
  242. package/dist/cdn/{VOV7XSZN.js → W57BODQO.js} +2 -2
  243. package/dist/cdn/{NK7UOBS5.js → W5J56HRP.js} +2 -2
  244. package/dist/cdn/W7JWVST3.js +24 -0
  245. package/dist/cdn/{FAT5XS5J.js → WGBCSG4J.js} +2 -2
  246. package/dist/cdn/{PGZZVXXX.js → WOSPM26B.js} +2 -2
  247. package/dist/cdn/{L4BACAIE.js → WZG556QN.js} +2 -2
  248. package/dist/cdn/{43YIILRZ.js → WZTV3V3C.js} +2 -2
  249. package/dist/cdn/{MW5DOOUD.js → X4772BRM.js} +2 -2
  250. package/dist/cdn/{G3P3EJSD.js → X7PISVVF.js} +2 -2
  251. package/dist/cdn/{HJK7XIYI.js → XE2KNJZB.js} +2 -2
  252. package/dist/cdn/{KM3NP2EJ.js → XEGTGWPE.js} +2 -2
  253. package/dist/cdn/{CT4YFGKC.js → XNEGWZTH.js} +2 -2
  254. package/dist/cdn/{PTKX636U.js → XRSO66S2.js} +2 -2
  255. package/dist/cdn/{BWZHZSWR.js → XS4QASSB.js} +2 -2
  256. package/dist/cdn/XU62XTG7.js +4 -0
  257. package/dist/cdn/XUR26ZCM.js +4 -0
  258. package/dist/cdn/{EPH6FJXG.js → XUZGEJME.js} +2 -2
  259. package/dist/cdn/{3GHVYPPW.js → Y5FD3DHM.js} +2 -2
  260. package/dist/cdn/{THL3EO5D.js → Y5WN5MAM.js} +2 -2
  261. package/dist/cdn/{YFI3TANY.js → Y7S4XA6Q.js} +2 -2
  262. package/dist/cdn/{YNN65AGZ.js → YCF3HL7J.js} +2 -2
  263. package/dist/cdn/{HGAIMFND.js → YDYVEKCM.js} +2 -2
  264. package/dist/cdn/{NGWE57LY.js → YECITZ5A.js} +2 -2
  265. package/dist/cdn/{HCHRE5IY.js → YK5M6B42.js} +1 -1
  266. package/dist/cdn/{SG7GCPNF.js → YKDNAAHW.js} +2 -2
  267. package/dist/cdn/{ZCHTBD7V.js → YQP55AWA.js} +2 -2
  268. package/dist/cdn/{CEEUOPGT.js → YR7OZMBC.js} +2 -2
  269. package/dist/cdn/{B42BXBUJ.js → YWQVRBGO.js} +2 -2
  270. package/dist/cdn/{UONRIEF6.js → YXJML252.js} +2 -2
  271. package/dist/cdn/{DDSPDFZT.js → Z77LQLHS.js} +2 -2
  272. package/dist/cdn/{OX6US4QZ.js → ZEDTW6JQ.js} +2 -2
  273. package/dist/cdn/{5K4SQX77.js → ZJF7NCI4.js} +2 -2
  274. package/dist/cdn/{EXVGVRB5.js → ZO7D6SFR.js} +2 -2
  275. package/dist/cdn/{X2VFY7HX.js → ZS7NMHUY.js} +2 -2
  276. package/dist/cdn/{YX7YTK2M.js → ZVEP25HL.js} +2 -2
  277. package/dist/cdn/assets/charts-action-bar/t9n/messages.ar.json +1 -1
  278. package/dist/cdn/assets/charts-action-bar/t9n/messages.bg.json +1 -1
  279. package/dist/cdn/assets/charts-action-bar/t9n/messages.bs.json +1 -1
  280. package/dist/cdn/assets/charts-action-bar/t9n/messages.ca.json +1 -1
  281. package/dist/cdn/assets/charts-action-bar/t9n/messages.cs.json +1 -1
  282. package/dist/cdn/assets/charts-action-bar/t9n/messages.da.json +1 -1
  283. package/dist/cdn/assets/charts-action-bar/t9n/messages.de.json +1 -1
  284. package/dist/cdn/assets/charts-action-bar/t9n/messages.el.json +1 -1
  285. package/dist/cdn/assets/charts-action-bar/t9n/messages.en.json +1 -1
  286. package/dist/cdn/assets/charts-action-bar/t9n/messages.es.json +1 -1
  287. package/dist/cdn/assets/charts-action-bar/t9n/messages.et.json +1 -1
  288. package/dist/cdn/assets/charts-action-bar/t9n/messages.fi.json +1 -1
  289. package/dist/cdn/assets/charts-action-bar/t9n/messages.fr.json +1 -1
  290. package/dist/cdn/assets/charts-action-bar/t9n/messages.he.json +1 -1
  291. package/dist/cdn/assets/charts-action-bar/t9n/messages.hr.json +1 -1
  292. package/dist/cdn/assets/charts-action-bar/t9n/messages.hu.json +1 -1
  293. package/dist/cdn/assets/charts-action-bar/t9n/messages.id.json +1 -1
  294. package/dist/cdn/assets/charts-action-bar/t9n/messages.it.json +1 -1
  295. package/dist/cdn/assets/charts-action-bar/t9n/messages.ja.json +1 -1
  296. package/dist/cdn/assets/charts-action-bar/t9n/messages.ko.json +1 -1
  297. package/dist/cdn/assets/charts-action-bar/t9n/messages.lt.json +1 -1
  298. package/dist/cdn/assets/charts-action-bar/t9n/messages.lv.json +1 -1
  299. package/dist/cdn/assets/charts-action-bar/t9n/messages.nl.json +1 -1
  300. package/dist/cdn/assets/charts-action-bar/t9n/messages.no.json +1 -1
  301. package/dist/cdn/assets/charts-action-bar/t9n/messages.pl.json +1 -1
  302. package/dist/cdn/assets/charts-action-bar/t9n/messages.pt-BR.json +1 -1
  303. package/dist/cdn/assets/charts-action-bar/t9n/messages.pt-PT.json +1 -1
  304. package/dist/cdn/assets/charts-action-bar/t9n/messages.ro.json +1 -1
  305. package/dist/cdn/assets/charts-action-bar/t9n/messages.ru.json +1 -1
  306. package/dist/cdn/assets/charts-action-bar/t9n/messages.sk.json +1 -1
  307. package/dist/cdn/assets/charts-action-bar/t9n/messages.sl.json +1 -1
  308. package/dist/cdn/assets/charts-action-bar/t9n/messages.sr.json +1 -1
  309. package/dist/cdn/assets/charts-action-bar/t9n/messages.sv.json +1 -1
  310. package/dist/cdn/assets/charts-action-bar/t9n/messages.th.json +1 -1
  311. package/dist/cdn/assets/charts-action-bar/t9n/messages.tr.json +1 -1
  312. package/dist/cdn/assets/charts-action-bar/t9n/messages.uk.json +1 -1
  313. package/dist/cdn/assets/charts-action-bar/t9n/messages.vi.json +1 -1
  314. package/dist/cdn/assets/charts-action-bar/t9n/messages.zh-CN.json +1 -1
  315. package/dist/cdn/assets/charts-action-bar/t9n/messages.zh-HK.json +1 -1
  316. package/dist/cdn/assets/charts-action-bar/t9n/messages.zh-TW.json +1 -1
  317. package/dist/cdn/index.js +2 -2
  318. package/dist/cdn/model.js +2 -2
  319. package/dist/chunks/action-bar-utils.js +33 -27
  320. package/dist/chunks/axis-model-wrapper.js +1 -1
  321. package/dist/chunks/bg_BG.js +1 -1
  322. package/dist/chunks/bg_BG2.js +1 -1
  323. package/dist/chunks/chart-ui-utils.js +2 -2
  324. package/dist/chunks/chart-ui-utils2.js +9 -9
  325. package/dist/chunks/default.js +1 -1
  326. package/dist/chunks/index.js +3 -3
  327. package/dist/chunks/index2.js +74 -91
  328. package/dist/chunks/index3.js +91 -61
  329. package/dist/chunks/interfaces.js +1332 -1329
  330. package/dist/chunks/interfaces2.js +88 -13
  331. package/dist/chunks/messages.ar.js +1 -1
  332. package/dist/chunks/messages.ar2.js +1 -1
  333. package/dist/chunks/messages.ar3.js +1 -1
  334. package/dist/chunks/messages.ar4.js +1 -1
  335. package/dist/chunks/messages.bg.js +1 -1
  336. package/dist/chunks/messages.bg2.js +1 -1
  337. package/dist/chunks/messages.bg3.js +1 -1
  338. package/dist/chunks/messages.bg4.js +1 -1
  339. package/dist/chunks/messages.bs.js +1 -1
  340. package/dist/chunks/messages.bs2.js +1 -1
  341. package/dist/chunks/messages.bs3.js +1 -1
  342. package/dist/chunks/messages.bs4.js +1 -1
  343. package/dist/chunks/messages.ca.js +1 -1
  344. package/dist/chunks/messages.ca2.js +1 -1
  345. package/dist/chunks/messages.ca3.js +1 -1
  346. package/dist/chunks/messages.ca4.js +1 -1
  347. package/dist/chunks/messages.cs.js +1 -1
  348. package/dist/chunks/messages.cs2.js +1 -1
  349. package/dist/chunks/messages.cs3.js +1 -1
  350. package/dist/chunks/messages.cs4.js +1 -1
  351. package/dist/chunks/messages.da.js +1 -1
  352. package/dist/chunks/messages.da2.js +1 -1
  353. package/dist/chunks/messages.da3.js +1 -1
  354. package/dist/chunks/messages.de.js +1 -1
  355. package/dist/chunks/messages.de2.js +1 -1
  356. package/dist/chunks/messages.de3.js +1 -1
  357. package/dist/chunks/messages.de4.js +1 -1
  358. package/dist/chunks/messages.el.js +1 -1
  359. package/dist/chunks/messages.el2.js +1 -1
  360. package/dist/chunks/messages.el3.js +1 -1
  361. package/dist/chunks/messages.el4.js +1 -1
  362. package/dist/chunks/messages.en-US.js +1 -1
  363. package/dist/chunks/messages.en-US2.js +1 -1
  364. package/dist/chunks/messages.en-US3.js +1 -1
  365. package/dist/chunks/messages.en-US4.js +1 -1
  366. package/dist/chunks/messages.en.js +1 -1
  367. package/dist/chunks/messages.en2.js +1 -1
  368. package/dist/chunks/messages.en3.js +1 -1
  369. package/dist/chunks/messages.es.js +1 -1
  370. package/dist/chunks/messages.es2.js +1 -1
  371. package/dist/chunks/messages.es3.js +1 -1
  372. package/dist/chunks/messages.es4.js +1 -1
  373. package/dist/chunks/messages.et.js +1 -1
  374. package/dist/chunks/messages.et2.js +1 -1
  375. package/dist/chunks/messages.et3.js +1 -1
  376. package/dist/chunks/messages.et4.js +1 -1
  377. package/dist/chunks/messages.fi.js +1 -1
  378. package/dist/chunks/messages.fi2.js +1 -1
  379. package/dist/chunks/messages.fi3.js +1 -1
  380. package/dist/chunks/messages.fi4.js +1 -1
  381. package/dist/chunks/messages.fr.js +1 -1
  382. package/dist/chunks/messages.fr2.js +1 -1
  383. package/dist/chunks/messages.fr3.js +1 -1
  384. package/dist/chunks/messages.fr4.js +1 -1
  385. package/dist/chunks/messages.he.js +1 -1
  386. package/dist/chunks/messages.he2.js +1 -1
  387. package/dist/chunks/messages.he3.js +1 -1
  388. package/dist/chunks/messages.he4.js +1 -1
  389. package/dist/chunks/messages.hr.js +1 -1
  390. package/dist/chunks/messages.hr2.js +1 -1
  391. package/dist/chunks/messages.hr3.js +1 -1
  392. package/dist/chunks/messages.hr4.js +1 -1
  393. package/dist/chunks/messages.hu.js +1 -1
  394. package/dist/chunks/messages.hu2.js +1 -1
  395. package/dist/chunks/messages.hu3.js +1 -1
  396. package/dist/chunks/messages.hu4.js +1 -1
  397. package/dist/chunks/messages.id.js +1 -1
  398. package/dist/chunks/messages.id2.js +1 -1
  399. package/dist/chunks/messages.id3.js +1 -1
  400. package/dist/chunks/messages.id4.js +1 -1
  401. package/dist/chunks/messages.it.js +1 -1
  402. package/dist/chunks/messages.it2.js +1 -1
  403. package/dist/chunks/messages.it3.js +1 -1
  404. package/dist/chunks/messages.it4.js +1 -1
  405. package/dist/chunks/messages.ja.js +1 -1
  406. package/dist/chunks/messages.ja2.js +1 -1
  407. package/dist/chunks/messages.ja3.js +1 -1
  408. package/dist/chunks/messages.ja4.js +1 -1
  409. package/dist/chunks/messages.ko.js +1 -1
  410. package/dist/chunks/messages.ko2.js +1 -1
  411. package/dist/chunks/messages.ko3.js +1 -1
  412. package/dist/chunks/messages.ko4.js +1 -1
  413. package/dist/chunks/messages.lt.js +1 -1
  414. package/dist/chunks/messages.lt2.js +1 -1
  415. package/dist/chunks/messages.lt3.js +1 -1
  416. package/dist/chunks/messages.lt4.js +1 -1
  417. package/dist/chunks/messages.lv.js +1 -1
  418. package/dist/chunks/messages.lv2.js +1 -1
  419. package/dist/chunks/messages.lv3.js +1 -1
  420. package/dist/chunks/messages.lv4.js +1 -1
  421. package/dist/chunks/messages.nl.js +1 -1
  422. package/dist/chunks/messages.nl2.js +1 -1
  423. package/dist/chunks/messages.nl3.js +1 -1
  424. package/dist/chunks/messages.nl4.js +1 -1
  425. package/dist/chunks/messages.no.js +1 -1
  426. package/dist/chunks/messages.no2.js +1 -1
  427. package/dist/chunks/messages.no3.js +1 -1
  428. package/dist/chunks/messages.pl.js +1 -1
  429. package/dist/chunks/messages.pl2.js +1 -1
  430. package/dist/chunks/messages.pl3.js +1 -1
  431. package/dist/chunks/messages.pl4.js +1 -1
  432. package/dist/chunks/messages.pt-BR.js +1 -1
  433. package/dist/chunks/messages.pt-BR2.js +1 -1
  434. package/dist/chunks/messages.pt-BR3.js +1 -1
  435. package/dist/chunks/messages.pt-BR4.js +1 -1
  436. package/dist/chunks/messages.pt-PT.js +1 -1
  437. package/dist/chunks/messages.pt-PT2.js +1 -1
  438. package/dist/chunks/messages.pt-PT3.js +1 -1
  439. package/dist/chunks/messages.pt-PT4.js +1 -1
  440. package/dist/chunks/messages.ro.js +1 -1
  441. package/dist/chunks/messages.ro2.js +1 -1
  442. package/dist/chunks/messages.ro3.js +1 -1
  443. package/dist/chunks/messages.ro4.js +1 -1
  444. package/dist/chunks/messages.ru.js +1 -1
  445. package/dist/chunks/messages.ru2.js +1 -1
  446. package/dist/chunks/messages.ru3.js +1 -1
  447. package/dist/chunks/messages.ru4.js +1 -1
  448. package/dist/chunks/messages.sk.js +1 -1
  449. package/dist/chunks/messages.sk2.js +1 -1
  450. package/dist/chunks/messages.sk3.js +1 -1
  451. package/dist/chunks/messages.sk4.js +1 -1
  452. package/dist/chunks/messages.sl.js +1 -1
  453. package/dist/chunks/messages.sl2.js +1 -1
  454. package/dist/chunks/messages.sl3.js +1 -1
  455. package/dist/chunks/messages.sl4.js +1 -1
  456. package/dist/chunks/messages.sr.js +1 -1
  457. package/dist/chunks/messages.sr2.js +1 -1
  458. package/dist/chunks/messages.sr3.js +1 -1
  459. package/dist/chunks/messages.sr4.js +1 -1
  460. package/dist/chunks/messages.sv.js +1 -1
  461. package/dist/chunks/messages.sv2.js +1 -1
  462. package/dist/chunks/messages.sv3.js +1 -1
  463. package/dist/chunks/messages.sv4.js +1 -1
  464. package/dist/chunks/messages.th.js +1 -1
  465. package/dist/chunks/messages.th2.js +1 -1
  466. package/dist/chunks/messages.th3.js +1 -1
  467. package/dist/chunks/messages.th4.js +1 -1
  468. package/dist/chunks/messages.tr.js +1 -1
  469. package/dist/chunks/messages.tr2.js +1 -1
  470. package/dist/chunks/messages.tr3.js +1 -1
  471. package/dist/chunks/messages.uk.js +1 -1
  472. package/dist/chunks/messages.uk2.js +1 -1
  473. package/dist/chunks/messages.uk3.js +1 -1
  474. package/dist/chunks/messages.uk4.js +1 -1
  475. package/dist/chunks/messages.vi.js +1 -1
  476. package/dist/chunks/messages.vi2.js +1 -1
  477. package/dist/chunks/messages.vi3.js +1 -1
  478. package/dist/chunks/messages.vi4.js +1 -1
  479. package/dist/chunks/messages.zh-CN.js +1 -1
  480. package/dist/chunks/messages.zh-CN2.js +1 -1
  481. package/dist/chunks/messages.zh-CN3.js +1 -1
  482. package/dist/chunks/messages.zh-CN4.js +1 -1
  483. package/dist/chunks/messages.zh-HK.js +1 -1
  484. package/dist/chunks/messages.zh-HK2.js +1 -1
  485. package/dist/chunks/messages.zh-HK3.js +1 -1
  486. package/dist/chunks/messages.zh-HK4.js +1 -1
  487. package/dist/chunks/messages.zh-TW.js +1 -1
  488. package/dist/chunks/messages.zh-TW2.js +1 -1
  489. package/dist/chunks/messages.zh-TW3.js +1 -1
  490. package/dist/chunks/messages.zh-TW4.js +1 -1
  491. package/dist/chunks/popover-ui-utils.js +1 -1
  492. package/dist/chunks/resource.js +4 -4
  493. package/dist/chunks/runtime.js +1 -1
  494. package/dist/chunks/scatter-plot-model.js +189 -182
  495. package/dist/chunks/setup-utils.js +10 -10
  496. package/dist/chunks/sk_SK.js +1 -1
  497. package/dist/chunks/sk_SK2.js +1 -1
  498. package/dist/chunks/store.js +1 -1
  499. package/dist/chunks/type-guards.js +22 -18
  500. package/dist/chunks/useT9n.js +1 -1
  501. package/dist/chunks/web-component-utils.js +4434 -0
  502. package/dist/components/arcgis-chart/customElement.d.ts +15 -19
  503. package/dist/components/arcgis-chart/customElement.js +7463 -7892
  504. package/dist/components/arcgis-charts-action-bar/customElement.d.ts +16 -0
  505. package/dist/components/arcgis-charts-action-bar/customElement.js +41 -39
  506. package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
  507. package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
  508. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +4 -4
  509. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +3 -3
  510. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +3 -3
  511. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +2 -2
  512. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
  513. package/dist/components/arcgis-charts-config-box-plot/customElement.js +4 -4
  514. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +3 -3
  515. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +7 -7
  516. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +2 -2
  517. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
  518. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  519. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
  520. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  521. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  522. package/dist/components/arcgis-charts-config-create-flow/customElement.js +32 -35
  523. package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
  524. package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
  525. package/dist/components/arcgis-charts-config-format/customElement.js +6 -6
  526. package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
  527. package/dist/components/arcgis-charts-config-general/customElement.js +2 -2
  528. package/dist/components/arcgis-charts-config-guide/customElement.js +6 -6
  529. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
  530. package/dist/components/arcgis-charts-config-guides/customElement.js +2 -2
  531. package/dist/components/arcgis-charts-config-histogram/customElement.js +4 -4
  532. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +3 -3
  533. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +3 -3
  534. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  535. package/dist/components/arcgis-charts-config-line-chart/customElement.js +4 -4
  536. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +3 -3
  537. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +3 -3
  538. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -2
  539. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
  540. package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
  541. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  542. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +4 -4
  543. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +3 -3
  544. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +3 -3
  545. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
  546. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
  547. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +4 -4
  548. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +3 -3
  549. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +3 -3
  550. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
  551. package/dist/components/arcgis-charts-config-view-charts/customElement.js +2 -2
  552. package/dist/docs/api.json +138 -58
  553. package/dist/docs/docs.json +102 -54
  554. package/dist/docs/vscode.html-custom-data.json +18 -1
  555. package/dist/docs/web-types.json +33 -4
  556. package/dist/index.js +79 -79
  557. package/dist/interfaces.d.ts +27 -0
  558. package/dist/loader.js +3 -3
  559. package/dist/model/chart-model/chart-model.d.ts +5 -0
  560. package/dist/model/shared/type-guards.d.ts +7 -2
  561. package/dist/model.js +21 -20
  562. package/dist/types/lumina.d.ts +1 -1
  563. package/dist/types/preact.d.ts +1 -1
  564. package/dist/types/react.d.ts +1 -1
  565. package/dist/types/stencil.d.ts +1 -1
  566. package/dist/utils/components/web-component-utils.d.ts +25 -0
  567. package/dist/utils/defaults/index.d.ts +1 -0
  568. package/dist/utils/layer/utils/index.d.ts +6 -3
  569. package/dist/utils/types/index.d.ts +1 -0
  570. package/package.json +8 -7
  571. package/dist/cdn/3I266XY6.js +0 -4
  572. package/dist/cdn/DPS75ZNW.js +0 -4
  573. package/dist/cdn/HJCRFGTK.js +0 -4
  574. package/dist/cdn/I7LGDMC5.js +0 -4
  575. package/dist/cdn/M7MJFIAV.js +0 -4
  576. package/dist/cdn/NCQTXRCH.js +0 -52
  577. package/dist/cdn/ODFGHZBY.js +0 -4
  578. package/dist/cdn/OIZDRKJP.js +0 -4
  579. package/dist/cdn/OVONNBQR.js +0 -4
  580. package/dist/cdn/RKADS6Q4.js +0 -4
  581. package/dist/chunks/interfaces3.js +0 -93
  582. package/dist/chunks/interfaces4.js +0 -17
  583. /package/dist/{main.css → cdn/main.css} +0 -0
@@ -1,24 +1,24 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.33/esri/copyright.txt for details.
3
- v4.33.0-next.134 */
4
- import{a as Wd,c as zd}from"./RKADS6Q4.js";export default $arcgis.t(([qa,Hp,Qp,xb,_a,Ib,Cb,Tb,Ab,Pb,Fb,Jp,Ma])=>{var ml=Wd((QL,ga)=>{function mb(e,r){var i=r&&r.cache?r.cache:wb,t=r&&r.serializer?r.serializer:Sb,a=r&&r.strategy?r.strategy:gb;return a(e,{cache:i,serializer:t})}function yb(e){return e==null||typeof e=="number"||typeof e=="boolean"}function fl(e,r,i,t){var a=yb(t)?t:i(t),o=r.get(a);return typeof o>"u"&&(o=e.call(this,t),r.set(a,o)),o}function hl(e,r,i){var t=Array.prototype.slice.call(arguments,3),a=i(t),o=r.get(a);return typeof o>"u"&&(o=e.apply(this,t),r.set(a,o)),o}function ya(e,r,i,t,a){return i.bind(r,e,t,a)}function gb(e,r){var i=e.length===1?fl:hl;return ya(e,this,i,r.cache.create(),r.serializer)}function bb(e,r){var i=hl;return ya(e,this,i,r.cache.create(),r.serializer)}function vb(e,r){var i=fl;return ya(e,this,i,r.cache.create(),r.serializer)}function Sb(){return JSON.stringify(arguments)}function _i(){this.cache=Object.create(null)}_i.prototype.has=function(e){return e in this.cache};_i.prototype.get=function(e){return this.cache[e]};_i.prototype.set=function(e,r){this.cache[e]=r};var wb={create:function(){return new _i}};ga.exports=mb;ga.exports.strategies={variadic:bb,monadic:vb}});var L={Chart:"chart",Text:"chartText",Overlay:"chartOverlay",Overlays:"chartOverlays",Legend:"chartLegend",CursorCrosshair:"cursorCrosshair",Axis:"chartAxis",GaugeAxisTick:"gaugeAxisTick",GaugeNeedle:"gaugeNeedle",CategoryAxisFormat:"category",NumberAxisFormat:"number",DateAxisFormat:"date",Guide:"chartGuide",ScatterSeries:"scatterSeries",PieSeries:"pieSeries",PieTick:"pieTick",GaugeSeries:"gaugeSeries",LineSeries:"lineSeries",BarSeries:"barSeries",HistogramSeries:"histogramSeries",BoxPlotSeries:"boxPlotSeries",RadarSeries:"radarSeries",ComboLineAndBarSeries:"comboLineAndBarSeries",Buffer:"buffer",SizePolicy:"sizeScale"},we={Count:"count",Sum:"sum",Minimum:"min",Maximum:"max",Average:"avg",StandardDeviation:"stddev",Variance:"var",ContinuousPercentile:"percentile-continuous",DiscretePercentile:"percentile-discrete",EnvelopeAggregate:"envelope-aggregate",CentroidAggregate:"centroid-aggregate",ConvexHullAggregate:"convex-hull-aggregate",NoAggregation:"no_aggregation"},Yi={None:"none",Log:"logarithmic",Sqrt:"squareRoot"},Xw={Single:"singleColor",Match:"colorMatch"},uo={Left:"left",Right:"right",Top:"top",Bottom:"bottom"},_r={Side:"sideBySide",Stacked:"stacked",Stacked100:"stacked100"},Yw={Side:"sideBySide",MeanLines:"meanLines"},lt={Ascending:"ASC",Descending:"DESC"},fo={statisticType:we.Count,sortingOrder:lt.Ascending},ex={Bezier:"bezier",MonotoneX:"monotoneX",MonotoneY:"monotoneY"},ea={FixedDateBased:"fixedDateBased",CalendarBased:"calendarBased"},_e={Second:"seconds",Minute:"minutes",Hour:"hours",Day:"days",Week:"weeks",Month:"months",Quarter:"quarters",Year:"years"},tx={Second:"seconds",Minute:"minutes",Hour:"hours",Day:"days",Week:"weeks",Month:"months",Year:"years"},rx={Second:"seconds",Minute:"minutes",Hour:"hours",Day:"days",Week:"weeks",Month:"months",Quarter:"quarters",Year:"years"};var ho={Null:"null",Zero:"zero",Interpolate:"interpolate"},ir={Start:"equalIntervalsFromStartTime",End:"equalIntervalsFromEndTime"},ix={Hide:"hide",Rotate:"rotate",Stagger:"stagger",Wrap:"wrap"},Ct={Same:"same",Newer:"newer",Older:"older",Unrecognized:"unrecognized"},ax={Value:"value",Date:"date",Category:"category"},mo={FeatureGauge:"featureGauge",StatisticGauge:"statisticGauge"},yo={Linear:"linear",Logarithmic:"logarithmic"},ox={Radial:"radial",Circular:"circular",Horizontal:"horizontal"},ar={YValue:"arcgis-charts-y-value",Mean:"arcgis-charts-mean",Median:"arcgis-charts-median",Category:"arcgis-charts-category"};var ke={Blob:"esriFieldTypeBlob",Date:"esriFieldTypeDate",DateOnly:"esriFieldTypeDateOnly",TimestampOffset:"esriFieldTypeTimestampOffset",Double:"esriFieldTypeDouble",Geometry:"esriFieldTypeGeometry",GlobalID:"esriFieldTypeGlobalID",GUID:"esriFieldTypeGUID",Integer:"esriFieldTypeInteger",SmallInteger:"esriFieldTypeSmallInteger",BigInteger:"esriFieldTypeBigInteger",OID:"esriFieldTypeOID",Raster:"esriFieldTypeRaster",Single:"esriFieldTypeSingle",String:"esriFieldTypeString",XML:"esriFieldTypeXML"},or={Dash:"esriSLSDash",DashDot:"esriSLSDashDot",DashDotDot:"esriSLSDashDotDot",Dot:"esriSLSDot",Null:"esriSLSNull",Solid:"esriSLSSolid"},ta={Circle:"esriSMSCircle",Cross:"esriSMSCross",Diamond:"esriSMSDiamond",Square:"esriSMSSquare",X:"esriSMSX",Triangle:"esriSMSTriangle"},nr={BackwardDiagonal:"esriSFSBackwardDiagonal",Cross:"esriSFSCross",DiagonalCross:"esriSFSDiagonalCross",ForwardDiagonal:"esriSFSForwardDiagonal",Horizontal:"esriSFSHorizontal",Null:"esriSFSNull",Solid:"esriSFSSolid",Vertical:"esriSFSVertical"},Xr={Left:"left",Right:"right",Center:"center",Justify:"justify"},ra={Baseline:"baseline",Top:"top",Middle:"middle",Bottom:"bottom"},Re={SLS:"esriSLS",SMS:"esriSMS",SFS:"esriSFS",PMS:"esriPMS",PFS:"esriPFS",TS:"esriTS"},sx={Italic:"italic",Normal:"normal",Oblique:"oblique"},lx={Bold:"bold",Bolder:"bolder",Lighter:"lighter",Normal:"normal"},px={LineThrough:"line-through",Underline:"underline",None:"none"},Yr={UniqueValue:"unique-value",Simple:"simple",ClassBreaks:"class-breaks",Heatmap:"heatmap",DotDensity:"dot-density",Dictionary:"dictionary",PieChart:"pie-chart"},Wt={Feet:"feet",Miles:"miles",NauticalMiles:"nautical-miles",USNauticalMiles:"us-nautical-miles",Meters:"meters",Kilometers:"kilometers"};var ei="arcgis_charts_pie_from_fields_name",ia="arcgis_charts_pie_from_fields_value",go="arcgis_charts_bar_line_from_fields_name",bo="arcgis_charts_bar_line_from_fields_value";var pt={Mean:"Mean",Median:"Median",StdDev:"Standard Deviation",Normal:"Normal Distribution",Trendline:"Trendline"};var Vd=Array.isArray,se=Vd;function Ud(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}var xe=Ud;var Gd=/\s/;function Hd(e){for(var r=e.length;r--&&Gd.test(e.charAt(r)););return r}var vo=Hd;var Qd=/^\s+/;function Kd(e){return e&&e.slice(0,vo(e)+1).replace(Qd,"")}var So=Kd;var Jd=typeof global=="object"&&global&&global.Object===Object&&global,ti=Jd;var Zd=typeof self=="object"&&self&&self.Object===Object&&self,Xd=ti||Zd||Function("return this")(),Te=Xd;var Yd=Te.Symbol,De=Yd;var wo=Object.prototype,ec=wo.hasOwnProperty,tc=wo.toString,Rr=De?De.toStringTag:void 0;function rc(e){var r=ec.call(e,Rr),i=e[Rr];try{e[Rr]=void 0;var t=!0}catch{}var a=tc.call(e);return t&&(r?e[Rr]=i:delete e[Rr]),a}var xo=rc;var ic=Object.prototype,ac=ic.toString;function oc(e){return ac.call(e)}var Io=oc;var nc="[object Null]",sc="[object Undefined]",Co=De?De.toStringTag:void 0;function lc(e){return e==null?e===void 0?sc:nc:Co&&Co in Object(e)?xo(e):Io(e)}var Be=lc;function pc(e){return e!=null&&typeof e=="object"}var Pe=pc;var dc="[object Symbol]";function cc(e){return typeof e=="symbol"||Pe(e)&&Be(e)==dc}var Ye=cc;var To=NaN,uc=/^[-+]0x[0-9a-f]+$/i,fc=/^0b[01]+$/i,hc=/^0o[0-7]+$/i,mc=parseInt;function yc(e){if(typeof e=="number")return e;if(Ye(e))return To;if(xe(e)){var r=typeof e.valueOf=="function"?e.valueOf():e;e=xe(r)?r+"":r}if(typeof e!="string")return e===0?e:+e;e=So(e);var i=fc.test(e);return i||hc.test(e)?mc(e.slice(2),i?2:8):uc.test(e)?To:+e}var ri=yc;function gc(){this.__data__=[],this.size=0}var Ao=gc;function bc(e,r){return e===r||e!==e&&r!==r}var He=bc;function vc(e,r){for(var i=e.length;i--;)if(He(e[i][0],r))return i;return-1}var Tt=vc;var Sc=Array.prototype,wc=Sc.splice;function xc(e){var r=this.__data__,i=Tt(r,e);if(i<0)return!1;var t=r.length-1;return i==t?r.pop():wc.call(r,i,1),--this.size,!0}var Po=xc;function Ic(e){var r=this.__data__,i=Tt(r,e);return i<0?void 0:r[i][1]}var Fo=Ic;function Cc(e){return Tt(this.__data__,e)>-1}var Oo=Cc;function Tc(e,r){var i=this.__data__,t=Tt(i,e);return t<0?(++this.size,i.push([e,r])):i[t][1]=r,this}var Eo=Tc;function sr(e){var r=-1,i=e==null?0:e.length;for(this.clear();++r<i;){var t=e[r];this.set(t[0],t[1])}}sr.prototype.clear=Ao;sr.prototype.delete=Po;sr.prototype.get=Fo;sr.prototype.has=Oo;sr.prototype.set=Eo;var At=sr;function Ac(){this.__data__=new At,this.size=0}var Lo=Ac;function Pc(e){var r=this.__data__,i=r.delete(e);return this.size=r.size,i}var Do=Pc;function Fc(e){return this.__data__.get(e)}var $o=Fc;function Oc(e){return this.__data__.has(e)}var jo=Oc;var Ec="[object AsyncFunction]",Lc="[object Function]",Dc="[object GeneratorFunction]",$c="[object Proxy]";function jc(e){if(!xe(e))return!1;var r=Be(e);return r==Lc||r==Dc||r==Ec||r==$c}var lr=jc;var _c=Te["__core-js_shared__"],ii=_c;var _o=function(){var e=/[^.]+$/.exec(ii&&ii.keys&&ii.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Rc(e){return!!_o&&_o in e}var Ro=Rc;var kc=Function.prototype,Bc=kc.toString;function qc(e){if(e!=null){try{return Bc.call(e)}catch{}try{return e+""}catch{}}return""}var gt=qc;var Mc=/[\\^$.*+?()[\]{}|]/g,Nc=/^\[object .+?Constructor\]$/,Wc=Function.prototype,zc=Object.prototype,Vc=Wc.toString,Uc=zc.hasOwnProperty,Gc=RegExp("^"+Vc.call(Uc).replace(Mc,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Hc(e){if(!xe(e)||Ro(e))return!1;var r=lr(e)?Gc:Nc;return r.test(gt(e))}var ko=Hc;function Qc(e,r){return e?.[r]}var Bo=Qc;function Kc(e,r){var i=Bo(e,r);return ko(i)?i:void 0}var Me=Kc;var Jc=Me(Te,"Map"),Pt=Jc;var Zc=Me(Object,"create"),bt=Zc;function Xc(){this.__data__=bt?bt(null):{},this.size=0}var qo=Xc;function Yc(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r}var Mo=Yc;var eu="__lodash_hash_undefined__",tu=Object.prototype,ru=tu.hasOwnProperty;function iu(e){var r=this.__data__;if(bt){var i=r[e];return i===eu?void 0:i}return ru.call(r,e)?r[e]:void 0}var No=iu;var au=Object.prototype,ou=au.hasOwnProperty;function nu(e){var r=this.__data__;return bt?r[e]!==void 0:ou.call(r,e)}var Wo=nu;var su="__lodash_hash_undefined__";function lu(e,r){var i=this.__data__;return this.size+=this.has(e)?0:1,i[e]=bt&&r===void 0?su:r,this}var zo=lu;function pr(e){var r=-1,i=e==null?0:e.length;for(this.clear();++r<i;){var t=e[r];this.set(t[0],t[1])}}pr.prototype.clear=qo;pr.prototype.delete=Mo;pr.prototype.get=No;pr.prototype.has=Wo;pr.prototype.set=zo;var aa=pr;function pu(){this.size=0,this.__data__={hash:new aa,map:new(Pt||At),string:new aa}}var Vo=pu;function du(e){var r=typeof e;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?e!=="__proto__":e===null}var Uo=du;function cu(e,r){var i=e.__data__;return Uo(r)?i[typeof r=="string"?"string":"hash"]:i.map}var Ft=cu;function uu(e){var r=Ft(this,e).delete(e);return this.size-=r?1:0,r}var Go=uu;function fu(e){return Ft(this,e).get(e)}var Ho=fu;function hu(e){return Ft(this,e).has(e)}var Qo=hu;function mu(e,r){var i=Ft(this,e),t=i.size;return i.set(e,r),this.size+=i.size==t?0:1,this}var Ko=mu;function dr(e){var r=-1,i=e==null?0:e.length;for(this.clear();++r<i;){var t=e[r];this.set(t[0],t[1])}}dr.prototype.clear=Vo;dr.prototype.delete=Go;dr.prototype.get=Ho;dr.prototype.has=Qo;dr.prototype.set=Ko;var zt=dr;var yu=200;function gu(e,r){var i=this.__data__;if(i instanceof At){var t=i.__data__;if(!Pt||t.length<yu-1)return t.push([e,r]),this.size=++i.size,this;i=this.__data__=new zt(t)}return i.set(e,r),this.size=i.size,this}var Jo=gu;function cr(e){var r=this.__data__=new At(e);this.size=r.size}cr.prototype.clear=Lo;cr.prototype.delete=Do;cr.prototype.get=$o;cr.prototype.has=jo;cr.prototype.set=Jo;var dt=cr;function bu(e,r){for(var i=-1,t=e==null?0:e.length;++i<t&&r(e[i],i,e)!==!1;);return e}var Zo=bu;var vu=function(){try{var e=Me(Object,"defineProperty");return e({},"",{}),e}catch{}}(),ur=vu;function Su(e,r,i){r=="__proto__"&&ur?ur(e,r,{configurable:!0,enumerable:!0,value:i,writable:!0}):e[r]=i}var fr=Su;var wu=Object.prototype,xu=wu.hasOwnProperty;function Iu(e,r,i){var t=e[r];(!(xu.call(e,r)&&He(t,i))||i===void 0&&!(r in e))&&fr(e,r,i)}var ai=Iu;function Cu(e,r,i,t){var a=!i;i||(i={});for(var o=-1,n=r.length;++o<n;){var s=r[o],l=t?t(i[s],e[s],s,i,e):void 0;l===void 0&&(l=e[s]),a?fr(i,s,l):ai(i,s,l)}return i}var Qe=Cu;function Tu(e,r){for(var i=-1,t=Array(e);++i<e;)t[i]=r(i);return t}var Xo=Tu;var Au="[object Arguments]";function Pu(e){return Pe(e)&&Be(e)==Au}var oa=Pu;var Yo=Object.prototype,Fu=Yo.hasOwnProperty,Ou=Yo.propertyIsEnumerable,Eu=oa(function(){return arguments}())?oa:function(e){return Pe(e)&&Fu.call(e,"callee")&&!Ou.call(e,"callee")},et=Eu;function Lu(){return!1}var en=Lu;var an=typeof exports=="object"&&exports&&!exports.nodeType&&exports,tn=an&&typeof module=="object"&&module&&!module.nodeType&&module,Du=tn&&tn.exports===an,rn=Du?Te.Buffer:void 0,$u=rn?rn.isBuffer:void 0,ju=$u||en,tt=ju;var _u=9007199254740991,Ru=/^(?:0|[1-9]\d*)$/;function ku(e,r){var i=typeof e;return r=r??_u,!!r&&(i=="number"||i!="symbol"&&Ru.test(e))&&e>-1&&e%1==0&&e<r}var hr=ku;var Bu=9007199254740991;function qu(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Bu}var mr=qu;var Mu="[object Arguments]",Nu="[object Array]",Wu="[object Boolean]",zu="[object Date]",Vu="[object Error]",Uu="[object Function]",Gu="[object Map]",Hu="[object Number]",Qu="[object Object]",Ku="[object RegExp]",Ju="[object Set]",Zu="[object String]",Xu="[object WeakMap]",Yu="[object ArrayBuffer]",ef="[object DataView]",tf="[object Float32Array]",rf="[object Float64Array]",af="[object Int8Array]",of="[object Int16Array]",nf="[object Int32Array]",sf="[object Uint8Array]",lf="[object Uint8ClampedArray]",pf="[object Uint16Array]",df="[object Uint32Array]",me={};me[tf]=me[rf]=me[af]=me[of]=me[nf]=me[sf]=me[lf]=me[pf]=me[df]=!0;me[Mu]=me[Nu]=me[Yu]=me[Wu]=me[ef]=me[zu]=me[Vu]=me[Uu]=me[Gu]=me[Hu]=me[Qu]=me[Ku]=me[Ju]=me[Zu]=me[Xu]=!1;function cf(e){return Pe(e)&&mr(e.length)&&!!me[Be(e)]}var on=cf;function uf(e){return function(r){return e(r)}}var Ot=uf;var nn=typeof exports=="object"&&exports&&!exports.nodeType&&exports,kr=nn&&typeof module=="object"&&module&&!module.nodeType&&module,ff=kr&&kr.exports===nn,na=ff&&ti.process,hf=function(){try{var e=kr&&kr.require&&kr.require("util").types;return e||na&&na.binding&&na.binding("util")}catch{}}(),vt=hf;var sn=vt&&vt.isTypedArray,mf=sn?Ot(sn):on,Et=mf;var yf=Object.prototype,gf=yf.hasOwnProperty;function bf(e,r){var i=se(e),t=!i&&et(e),a=!i&&!t&&tt(e),o=!i&&!t&&!a&&Et(e),n=i||t||a||o,s=n?Xo(e.length,String):[],l=s.length;for(var u in e)(r||gf.call(e,u))&&!(n&&(u=="length"||a&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||hr(u,l)))&&s.push(u);return s}var oi=bf;var vf=Object.prototype;function Sf(e){var r=e&&e.constructor,i=typeof r=="function"&&r.prototype||vf;return e===i}var Lt=Sf;function wf(e,r){return function(i){return e(r(i))}}var ni=wf;var xf=ni(Object.keys,Object),ln=xf;var If=Object.prototype,Cf=If.hasOwnProperty;function Tf(e){if(!Lt(e))return ln(e);var r=[];for(var i in Object(e))Cf.call(e,i)&&i!="constructor"&&r.push(i);return r}var si=Tf;function Af(e){return e!=null&&mr(e.length)&&!lr(e)}var Ne=Af;function Pf(e){return Ne(e)?oi(e):si(e)}var Ke=Pf;function Ff(e,r){return e&&Qe(r,Ke(r),e)}var pn=Ff;function Of(e){var r=[];if(e!=null)for(var i in Object(e))r.push(i);return r}var dn=Of;var Ef=Object.prototype,Lf=Ef.hasOwnProperty;function Df(e){if(!xe(e))return dn(e);var r=Lt(e),i=[];for(var t in e)t=="constructor"&&(r||!Lf.call(e,t))||i.push(t);return i}var cn=Df;function $f(e){return Ne(e)?oi(e,!0):cn(e)}var Je=$f;function jf(e,r){return e&&Qe(r,Je(r),e)}var un=jf;var yn=typeof exports=="object"&&exports&&!exports.nodeType&&exports,fn=yn&&typeof module=="object"&&module&&!module.nodeType&&module,_f=fn&&fn.exports===yn,hn=_f?Te.Buffer:void 0,mn=hn?hn.allocUnsafe:void 0;function Rf(e,r){if(r)return e.slice();var i=e.length,t=mn?mn(i):new e.constructor(i);return e.copy(t),t}var li=Rf;function kf(e,r){var i=-1,t=e.length;for(r||(r=Array(t));++i<t;)r[i]=e[i];return r}var pi=kf;function Bf(e,r){for(var i=-1,t=e==null?0:e.length,a=0,o=[];++i<t;){var n=e[i];r(n,i,e)&&(o[a++]=n)}return o}var gn=Bf;function qf(){return[]}var di=qf;var Mf=Object.prototype,Nf=Mf.propertyIsEnumerable,bn=Object.getOwnPropertySymbols,Wf=bn?function(e){return e==null?[]:(e=Object(e),gn(bn(e),function(r){return Nf.call(e,r)}))}:di,yr=Wf;function zf(e,r){return Qe(e,yr(e),r)}var vn=zf;function Vf(e,r){for(var i=-1,t=r.length,a=e.length;++i<t;)e[a+i]=r[i];return e}var gr=Vf;var Uf=ni(Object.getPrototypeOf,Object),br=Uf;var Gf=Object.getOwnPropertySymbols,Hf=Gf?function(e){for(var r=[];e;)gr(r,yr(e)),e=br(e);return r}:di,ci=Hf;function Qf(e,r){return Qe(e,ci(e),r)}var Sn=Qf;function Kf(e,r,i){var t=r(e);return se(e)?t:gr(t,i(e))}var ui=Kf;function Jf(e){return ui(e,Ke,yr)}var Br=Jf;function Zf(e){return ui(e,Je,ci)}var wn=Zf;var Xf=Me(Te,"DataView"),fi=Xf;var Yf=Me(Te,"Promise"),hi=Yf;var eh=Me(Te,"Set"),mi=eh;var th=Me(Te,"WeakMap"),yi=th;var xn="[object Map]",rh="[object Object]",In="[object Promise]",Cn="[object Set]",Tn="[object WeakMap]",An="[object DataView]",ih=gt(fi),ah=gt(Pt),oh=gt(hi),nh=gt(mi),sh=gt(yi),Vt=Be;(fi&&Vt(new fi(new ArrayBuffer(1)))!=An||Pt&&Vt(new Pt)!=xn||hi&&Vt(hi.resolve())!=In||mi&&Vt(new mi)!=Cn||yi&&Vt(new yi)!=Tn)&&(Vt=function(e){var r=Be(e),i=r==rh?e.constructor:void 0,t=i?gt(i):"";if(t)switch(t){case ih:return An;case ah:return xn;case oh:return In;case nh:return Cn;case sh:return Tn}return r});var rt=Vt;var lh=Object.prototype,ph=lh.hasOwnProperty;function dh(e){var r=e.length,i=new e.constructor(r);return r&&typeof e[0]=="string"&&ph.call(e,"index")&&(i.index=e.index,i.input=e.input),i}var Pn=dh;var ch=Te.Uint8Array,vr=ch;function uh(e){var r=new e.constructor(e.byteLength);return new vr(r).set(new vr(e)),r}var Sr=uh;function fh(e,r){var i=r?Sr(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.byteLength)}var Fn=fh;var hh=/\w*$/;function mh(e){var r=new e.constructor(e.source,hh.exec(e));return r.lastIndex=e.lastIndex,r}var On=mh;var En=De?De.prototype:void 0,Ln=En?En.valueOf:void 0;function yh(e){return Ln?Object(Ln.call(e)):{}}var Dn=yh;function gh(e,r){var i=r?Sr(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.length)}var gi=gh;var bh="[object Boolean]",vh="[object Date]",Sh="[object Map]",wh="[object Number]",xh="[object RegExp]",Ih="[object Set]",Ch="[object String]",Th="[object Symbol]",Ah="[object ArrayBuffer]",Ph="[object DataView]",Fh="[object Float32Array]",Oh="[object Float64Array]",Eh="[object Int8Array]",Lh="[object Int16Array]",Dh="[object Int32Array]",$h="[object Uint8Array]",jh="[object Uint8ClampedArray]",_h="[object Uint16Array]",Rh="[object Uint32Array]";function kh(e,r,i){var t=e.constructor;switch(r){case Ah:return Sr(e);case bh:case vh:return new t(+e);case Ph:return Fn(e,i);case Fh:case Oh:case Eh:case Lh:case Dh:case $h:case jh:case _h:case Rh:return gi(e,i);case Sh:return new t;case wh:case Ch:return new t(e);case xh:return On(e);case Ih:return new t;case Th:return Dn(e)}}var $n=kh;var jn=Object.create,Bh=function(){function e(){}return function(r){if(!xe(r))return{};if(jn)return jn(r);e.prototype=r;var i=new e;return e.prototype=void 0,i}}(),_n=Bh;function qh(e){return typeof e.constructor=="function"&&!Lt(e)?_n(br(e)):{}}var bi=qh;var Mh="[object Map]";function Nh(e){return Pe(e)&&rt(e)==Mh}var Rn=Nh;var kn=vt&&vt.isMap,Wh=kn?Ot(kn):Rn,Bn=Wh;var zh="[object Set]";function Vh(e){return Pe(e)&&rt(e)==zh}var qn=Vh;var Mn=vt&&vt.isSet,Uh=Mn?Ot(Mn):qn,Nn=Uh;var Gh=1,Hh=2,Qh=4,Wn="[object Arguments]",Kh="[object Array]",Jh="[object Boolean]",Zh="[object Date]",Xh="[object Error]",zn="[object Function]",Yh="[object GeneratorFunction]",em="[object Map]",tm="[object Number]",Vn="[object Object]",rm="[object RegExp]",im="[object Set]",am="[object String]",om="[object Symbol]",nm="[object WeakMap]",sm="[object ArrayBuffer]",lm="[object DataView]",pm="[object Float32Array]",dm="[object Float64Array]",cm="[object Int8Array]",um="[object Int16Array]",fm="[object Int32Array]",hm="[object Uint8Array]",mm="[object Uint8ClampedArray]",ym="[object Uint16Array]",gm="[object Uint32Array]",ue={};ue[Wn]=ue[Kh]=ue[sm]=ue[lm]=ue[Jh]=ue[Zh]=ue[pm]=ue[dm]=ue[cm]=ue[um]=ue[fm]=ue[em]=ue[tm]=ue[Vn]=ue[rm]=ue[im]=ue[am]=ue[om]=ue[hm]=ue[mm]=ue[ym]=ue[gm]=!0;ue[Xh]=ue[zn]=ue[nm]=!1;function vi(e,r,i,t,a,o){var n,s=r&Gh,l=r&Hh,u=r&Qh;if(i&&(n=a?i(e,t,a,o):i(e)),n!==void 0)return n;if(!xe(e))return e;var c=se(e);if(c){if(n=Pn(e),!s)return pi(e,n)}else{var d=rt(e),p=d==zn||d==Yh;if(tt(e))return li(e,s);if(d==Vn||d==Wn||p&&!a){if(n=l||p?{}:bi(e),!s)return l?Sn(e,un(n,e)):vn(e,pn(n,e))}else{if(!ue[d])return a?e:{};n=$n(e,d,s)}}o||(o=new dt);var f=o.get(e);if(f)return f;o.set(e,n),Nn(e)?e.forEach(function(b){n.add(vi(b,r,i,b,e,o))}):Bn(e)&&e.forEach(function(b,I){n.set(I,vi(b,r,i,I,e,o))});var m=u?l?wn:Br:l?Je:Ke,y=c?void 0:m(e);return Zo(y||e,function(b,I){y&&(I=b,b=e[I]),ai(n,I,vi(b,r,i,I,e,o))}),n}var Un=vi;var bm=1,vm=4;function Sm(e){return Un(e,bm|vm)}var wm=Sm;var xm=function(){return Te.Date.now()},Si=xm;var Im="Expected a function",Cm=Math.max,Tm=Math.min;function Am(e,r,i){var t,a,o,n,s,l,u=0,c=!1,d=!1,p=!0;if(typeof e!="function")throw new TypeError(Im);r=ri(r)||0,xe(i)&&(c=!!i.leading,d="maxWait"in i,o=d?Cm(ri(i.maxWait)||0,r):o,p="trailing"in i?!!i.trailing:p);function f(E){var P=t,O=a;return t=a=void 0,u=E,n=e.apply(O,P),n}function m(E){return u=E,s=setTimeout(I,r),c?f(E):n}function y(E){var P=E-l,O=E-u,j=r-P;return d?Tm(j,o-O):j}function b(E){var P=E-l,O=E-u;return l===void 0||P>=r||P<0||d&&O>=o}function I(){var E=Si();if(b(E))return S(E);s=setTimeout(I,y(E))}function S(E){return s=void 0,p&&t?f(E):(t=a=void 0,n)}function F(){s!==void 0&&clearTimeout(s),u=0,t=l=a=s=void 0}function w(){return s===void 0?n:S(Si())}function T(){var E=Si(),P=b(E);if(t=arguments,a=this,l=E,P){if(s===void 0)return m(l);if(d)return clearTimeout(s),s=setTimeout(I,r),f(l)}return s===void 0&&(s=setTimeout(I,r)),n}return T.cancel=F,T.flush=w,T}var Pm=Am;function Fm(e,r,i){(i!==void 0&&!He(e[r],i)||i===void 0&&!(r in e))&&fr(e,r,i)}var qr=Fm;function Om(e){return function(r,i,t){for(var a=-1,o=Object(r),n=t(r),s=n.length;s--;){var l=n[e?s:++a];if(i(o[l],l,o)===!1)break}return r}}var Gn=Om;var Em=Gn(),wi=Em;function Lm(e){return Pe(e)&&Ne(e)}var Hn=Lm;var Dm="[object Object]",$m=Function.prototype,jm=Object.prototype,Qn=$m.toString,_m=jm.hasOwnProperty,Rm=Qn.call(Object);function km(e){if(!Pe(e)||Be(e)!=Dm)return!1;var r=br(e);if(r===null)return!0;var i=_m.call(r,"constructor")&&r.constructor;return typeof i=="function"&&i instanceof i&&Qn.call(i)==Rm}var xi=km;function Bm(e,r){if(!(r==="constructor"&&typeof e[r]=="function")&&r!="__proto__")return e[r]}var Mr=Bm;function qm(e){return Qe(e,Je(e))}var Kn=qm;function Mm(e,r,i,t,a,o,n){var s=Mr(e,i),l=Mr(r,i),u=n.get(l);if(u){qr(e,i,u);return}var c=o?o(s,l,i+"",e,r,n):void 0,d=c===void 0;if(d){var p=se(l),f=!p&&tt(l),m=!p&&!f&&Et(l);c=l,p||f||m?se(s)?c=s:Hn(s)?c=pi(s):f?(d=!1,c=li(l,!0)):m?(d=!1,c=gi(l,!0)):c=[]:xi(l)||et(l)?(c=s,et(s)?c=Kn(s):(!xe(s)||lr(s))&&(c=bi(l))):d=!1}d&&(n.set(l,c),a(c,l,t,o,n),n.delete(l)),qr(e,i,c)}var Jn=Mm;function Zn(e,r,i,t,a){e!==r&&wi(r,function(o,n){if(a||(a=new dt),xe(o))Jn(e,r,n,i,Zn,t,a);else{var s=t?t(Mr(e,n),o,n+"",e,r,a):void 0;s===void 0&&(s=o),qr(e,n,s)}},Je)}var Ii=Zn;function Nm(e){return e}var Dt=Nm;function Wm(e,r,i){switch(i.length){case 0:return e.call(r);case 1:return e.call(r,i[0]);case 2:return e.call(r,i[0],i[1]);case 3:return e.call(r,i[0],i[1],i[2])}return e.apply(r,i)}var Ci=Wm;var Xn=Math.max;function zm(e,r,i){return r=Xn(r===void 0?e.length-1:r,0),function(){for(var t=arguments,a=-1,o=Xn(t.length-r,0),n=Array(o);++a<o;)n[a]=t[r+a];a=-1;for(var s=Array(r+1);++a<r;)s[a]=t[a];return s[r]=i(n),Ci(e,this,s)}}var Yn=zm;function Vm(e){return function(){return e}}var es=Vm;var Um=ur?function(e,r){return ur(e,"toString",{configurable:!0,enumerable:!1,value:es(r),writable:!0})}:Dt,ts=Um;var Gm=800,Hm=16,Qm=Date.now;function Km(e){var r=0,i=0;return function(){var t=Qm(),a=Hm-(t-i);if(i=t,a>0){if(++r>=Gm)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}var rs=Km;var Jm=rs(ts),is=Jm;function Zm(e,r){return is(Yn(e,r,Dt),e+"")}var wr=Zm;function Xm(e,r,i){if(!xe(i))return!1;var t=typeof r;return(t=="number"?Ne(i)&&hr(r,i.length):t=="string"&&r in i)?He(i[r],e):!1}var Ut=Xm;function Ym(e){return wr(function(r,i){var t=-1,a=i.length,o=a>1?i[a-1]:void 0,n=a>2?i[2]:void 0;for(o=e.length>3&&typeof o=="function"?(a--,o):void 0,n&&Ut(i[0],i[1],n)&&(o=a<3?void 0:o,a=1),r=Object(r);++t<a;){var s=i[t];s&&e(r,s,t,o)}return r})}var xr=Ym;var ey=xr(function(e,r,i,t){Ii(e,r,i,t)}),ty=ey;var ry="[object Map]",iy="[object Set]",ay=Object.prototype,oy=ay.hasOwnProperty;function ny(e){if(e==null)return!0;if(Ne(e)&&(se(e)||typeof e=="string"||typeof e.splice=="function"||tt(e)||Et(e)||et(e)))return!e.length;var r=rt(e);if(r==ry||r==iy)return!e.size;if(Lt(e))return!si(e).length;for(var i in e)if(oy.call(e,i))return!1;return!0}var sy=ny;var ly="__lodash_hash_undefined__";function py(e){return this.__data__.set(e,ly),this}var as=py;function dy(e){return this.__data__.has(e)}var os=dy;function Ti(e){var r=-1,i=e==null?0:e.length;for(this.__data__=new zt;++r<i;)this.add(e[r])}Ti.prototype.add=Ti.prototype.push=as;Ti.prototype.has=os;var ns=Ti;function cy(e,r){for(var i=-1,t=e==null?0:e.length;++i<t;)if(r(e[i],i,e))return!0;return!1}var ss=cy;function uy(e,r){return e.has(r)}var ls=uy;var fy=1,hy=2;function my(e,r,i,t,a,o){var n=i&fy,s=e.length,l=r.length;if(s!=l&&!(n&&l>s))return!1;var u=o.get(e),c=o.get(r);if(u&&c)return u==r&&c==e;var d=-1,p=!0,f=i&hy?new ns:void 0;for(o.set(e,r),o.set(r,e);++d<s;){var m=e[d],y=r[d];if(t)var b=n?t(y,m,d,r,e,o):t(m,y,d,e,r,o);if(b!==void 0){if(b)continue;p=!1;break}if(f){if(!ss(r,function(I,S){if(!ls(f,S)&&(m===I||a(m,I,i,t,o)))return f.push(S)})){p=!1;break}}else if(!(m===y||a(m,y,i,t,o))){p=!1;break}}return o.delete(e),o.delete(r),p}var Ai=my;function yy(e){var r=-1,i=Array(e.size);return e.forEach(function(t,a){i[++r]=[a,t]}),i}var ps=yy;function gy(e){var r=-1,i=Array(e.size);return e.forEach(function(t){i[++r]=t}),i}var ds=gy;var by=1,vy=2,Sy="[object Boolean]",wy="[object Date]",xy="[object Error]",Iy="[object Map]",Cy="[object Number]",Ty="[object RegExp]",Ay="[object Set]",Py="[object String]",Fy="[object Symbol]",Oy="[object ArrayBuffer]",Ey="[object DataView]",cs=De?De.prototype:void 0,sa=cs?cs.valueOf:void 0;function Ly(e,r,i,t,a,o,n){switch(i){case Ey:if(e.byteLength!=r.byteLength||e.byteOffset!=r.byteOffset)return!1;e=e.buffer,r=r.buffer;case Oy:return!(e.byteLength!=r.byteLength||!o(new vr(e),new vr(r)));case Sy:case wy:case Cy:return He(+e,+r);case xy:return e.name==r.name&&e.message==r.message;case Ty:case Py:return e==r+"";case Iy:var s=ps;case Ay:var l=t&by;if(s||(s=ds),e.size!=r.size&&!l)return!1;var u=n.get(e);if(u)return u==r;t|=vy,n.set(e,r);var c=Ai(s(e),s(r),t,a,o,n);return n.delete(e),c;case Fy:if(sa)return sa.call(e)==sa.call(r)}return!1}var us=Ly;var Dy=1,$y=Object.prototype,jy=$y.hasOwnProperty;function _y(e,r,i,t,a,o){var n=i&Dy,s=Br(e),l=s.length,u=Br(r),c=u.length;if(l!=c&&!n)return!1;for(var d=l;d--;){var p=s[d];if(!(n?p in r:jy.call(r,p)))return!1}var f=o.get(e),m=o.get(r);if(f&&m)return f==r&&m==e;var y=!0;o.set(e,r),o.set(r,e);for(var b=n;++d<l;){p=s[d];var I=e[p],S=r[p];if(t)var F=n?t(S,I,p,r,e,o):t(I,S,p,e,r,o);if(!(F===void 0?I===S||a(I,S,i,t,o):F)){y=!1;break}b||(b=p=="constructor")}if(y&&!b){var w=e.constructor,T=r.constructor;w!=T&&"constructor"in e&&"constructor"in r&&!(typeof w=="function"&&w instanceof w&&typeof T=="function"&&T instanceof T)&&(y=!1)}return o.delete(e),o.delete(r),y}var fs=_y;var Ry=1,hs="[object Arguments]",ms="[object Array]",Pi="[object Object]",ky=Object.prototype,ys=ky.hasOwnProperty;function By(e,r,i,t,a,o){var n=se(e),s=se(r),l=n?ms:rt(e),u=s?ms:rt(r);l=l==hs?Pi:l,u=u==hs?Pi:u;var c=l==Pi,d=u==Pi,p=l==u;if(p&&tt(e)){if(!tt(r))return!1;n=!0,c=!1}if(p&&!c)return o||(o=new dt),n||Et(e)?Ai(e,r,i,t,a,o):us(e,r,l,i,t,a,o);if(!(i&Ry)){var f=c&&ys.call(e,"__wrapped__"),m=d&&ys.call(r,"__wrapped__");if(f||m){var y=f?e.value():e,b=m?r.value():r;return o||(o=new dt),a(y,b,i,t,o)}}return p?(o||(o=new dt),fs(e,r,i,t,a,o)):!1}var gs=By;function bs(e,r,i,t,a){return e===r?!0:e==null||r==null||!Pe(e)&&!Pe(r)?e!==e&&r!==r:gs(e,r,i,t,bs,a)}var Ir=bs;function qy(e,r){return Ir(e,r)}var vs=qy;function My(e){return e==null}var la=My;var Ny=xr(function(e,r,i){Ii(e,r,i)}),Wy=Ny;var Ss=De?De.isConcatSpreadable:void 0;function zy(e){return se(e)||et(e)||!!(Ss&&e&&e[Ss])}var ws=zy;function xs(e,r,i,t,a){var o=-1,n=e.length;for(i||(i=ws),a||(a=[]);++o<n;){var s=e[o];r>0&&i(s)?r>1?xs(s,r-1,i,t,a):gr(a,s):t||(a[a.length]=s)}return a}var Is=xs;function Vy(e,r){for(var i=-1,t=e==null?0:e.length,a=Array(t);++i<t;)a[i]=r(e[i],i,e);return a}var $t=Vy;var Uy=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Gy=/^\w*$/;function Hy(e,r){if(se(e))return!1;var i=typeof e;return i=="number"||i=="symbol"||i=="boolean"||e==null||Ye(e)?!0:Gy.test(e)||!Uy.test(e)||r!=null&&e in Object(r)}var Cr=Hy;var Qy="Expected a function";function pa(e,r){if(typeof e!="function"||r!=null&&typeof r!="function")throw new TypeError(Qy);var i=function(){var t=arguments,a=r?r.apply(this,t):t[0],o=i.cache;if(o.has(a))return o.get(a);var n=e.apply(this,t);return i.cache=o.set(a,n)||o,n};return i.cache=new(pa.Cache||zt),i}pa.Cache=zt;var da=pa;var Ky=500;function Jy(e){var r=da(e,function(t){return i.size===Ky&&i.clear(),t}),i=r.cache;return r}var Cs=Jy;var Zy=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Xy=/\\(\\)?/g,Yy=Cs(function(e){var r=[];return e.charCodeAt(0)===46&&r.push(""),e.replace(Zy,function(i,t,a,o){r.push(a?o.replace(Xy,"$1"):t||i)}),r}),Ts=Yy;var eg=1/0,As=De?De.prototype:void 0,Ps=As?As.toString:void 0;function Fs(e){if(typeof e=="string")return e;if(se(e))return $t(e,Fs)+"";if(Ye(e))return Ps?Ps.call(e):"";var r=e+"";return r=="0"&&1/e==-eg?"-0":r}var Os=Fs;function tg(e){return e==null?"":Os(e)}var Tr=tg;function rg(e,r){return se(e)?e:Cr(e,r)?[e]:Ts(Tr(e))}var Fi=rg;var ig=1/0;function ag(e){if(typeof e=="string"||Ye(e))return e;var r=e+"";return r=="0"&&1/e==-ig?"-0":r}var jt=ag;function og(e,r){r=Fi(r,e);for(var i=0,t=r.length;e!=null&&i<t;)e=e[jt(r[i++])];return i&&i==t?e:void 0}var Ar=og;var ng=1,sg=2;function lg(e,r,i,t){var a=i.length,o=a,n=!t;if(e==null)return!o;for(e=Object(e);a--;){var s=i[a];if(n&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++a<o;){s=i[a];var l=s[0],u=e[l],c=s[1];if(n&&s[2]){if(u===void 0&&!(l in e))return!1}else{var d=new dt;if(t)var p=t(u,c,l,e,r,d);if(!(p===void 0?Ir(c,u,ng|sg,t,d):p))return!1}}return!0}var Es=lg;function pg(e){return e===e&&!xe(e)}var Oi=pg;function dg(e){for(var r=Ke(e),i=r.length;i--;){var t=r[i],a=e[t];r[i]=[t,a,Oi(a)]}return r}var Ls=dg;function cg(e,r){return function(i){return i==null?!1:i[e]===r&&(r!==void 0||e in Object(i))}}var Ei=cg;function ug(e){var r=Ls(e);return r.length==1&&r[0][2]?Ei(r[0][0],r[0][1]):function(i){return i===e||Es(i,e,r)}}var Ds=ug;function fg(e,r,i){var t=e==null?void 0:Ar(e,r);return t===void 0?i:t}var $s=fg;function hg(e,r){return e!=null&&r in Object(e)}var js=hg;function mg(e,r,i){r=Fi(r,e);for(var t=-1,a=r.length,o=!1;++t<a;){var n=jt(r[t]);if(!(o=e!=null&&i(e,n)))break;e=e[n]}return o||++t!=a?o:(a=e==null?0:e.length,!!a&&mr(a)&&hr(n,a)&&(se(e)||et(e)))}var _s=mg;function yg(e,r){return e!=null&&_s(e,r,js)}var Rs=yg;var gg=1,bg=2;function vg(e,r){return Cr(e)&&Oi(r)?Ei(jt(e),r):function(i){var t=$s(i,e);return t===void 0&&t===r?Rs(i,e):Ir(r,t,gg|bg)}}var ks=vg;function Sg(e){return function(r){return r?.[e]}}var Bs=Sg;function wg(e){return function(r){return Ar(r,e)}}var qs=wg;function xg(e){return Cr(e)?Bs(jt(e)):qs(e)}var Ms=xg;function Ig(e){return typeof e=="function"?e:e==null?Dt:typeof e=="object"?se(e)?ks(e[0],e[1]):Ds(e):Ms(e)}var Ns=Ig;function Cg(e,r){return e&&wi(e,r,Ke)}var Ws=Cg;function Tg(e,r){return function(i,t){if(i==null)return i;if(!Ne(i))return e(i,t);for(var a=i.length,o=r?a:-1,n=Object(i);(r?o--:++o<a)&&t(n[o],o,n)!==!1;);return i}}var zs=Tg;var Ag=zs(Ws),Vs=Ag;function Pg(e,r){var i=-1,t=Ne(e)?Array(e.length):[];return Vs(e,function(a,o,n){t[++i]=r(a,o,n)}),t}var Us=Pg;function Fg(e,r){var i=e.length;for(e.sort(r);i--;)e[i]=e[i].value;return e}var Gs=Fg;function Og(e,r){if(e!==r){var i=e!==void 0,t=e===null,a=e===e,o=Ye(e),n=r!==void 0,s=r===null,l=r===r,u=Ye(r);if(!s&&!u&&!o&&e>r||o&&n&&l&&!s&&!u||t&&n&&l||!i&&l||!a)return 1;if(!t&&!o&&!u&&e<r||u&&i&&a&&!t&&!o||s&&i&&a||!n&&a||!l)return-1}return 0}var Hs=Og;function Eg(e,r,i){for(var t=-1,a=e.criteria,o=r.criteria,n=a.length,s=i.length;++t<n;){var l=Hs(a[t],o[t]);if(l){if(t>=s)return l;var u=i[t];return l*(u=="desc"?-1:1)}}return e.index-r.index}var Qs=Eg;function Lg(e,r,i){r.length?r=$t(r,function(o){return se(o)?function(n){return Ar(n,o.length===1?o[0]:o)}:o}):r=[Dt];var t=-1;r=$t(r,Ot(Ns));var a=Us(e,function(o,n,s){var l=$t(r,function(u){return u(o)});return{criteria:l,index:++t,value:o}});return Gs(a,function(o,n){return Qs(o,n,i)})}var Ks=Lg;var Dg=wr(function(e,r){if(e==null)return[];var i=r.length;return i>1&&Ut(e,r[0],r[1])?r=[]:i>2&&Ut(r[0],r[1],r[2])&&(r=[r[0]]),Ks(e,Is(r,1),[])}),$g=Dg;var jg=xr(function(e,r,i,t){Qe(r,Je(r),e,t)}),ca=jg;var _g="[object DOMException]",Rg="[object Error]";function kg(e){if(!Pe(e))return!1;var r=Be(e);return r==Rg||r==_g||typeof e.message=="string"&&typeof e.name=="string"&&!xi(e)}var Li=kg;var Bg=wr(function(e,r){try{return Ci(e,void 0,r)}catch(i){return Li(i)?i:new Error(i)}}),Js=Bg;function qg(e){return function(r){return e?.[r]}}var Zs=qg;var Mg={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Ng=Zs(Mg),Xs=Ng;var Ys=/[&<>"']/g,Wg=RegExp(Ys.source);function zg(e){return e=Tr(e),e&&Wg.test(e)?e.replace(Ys,Xs):e}var el=zg;function Vg(e,r){return $t(r,function(i){return e[i]})}var tl=Vg;function Ug(e){return e===null}var Gg=Ug;var rl=Object.prototype,Hg=rl.hasOwnProperty;function Qg(e,r,i,t){return e===void 0||He(e,rl[i])&&!Hg.call(t,i)?r:e}var ua=Qg;var Kg={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function Jg(e){return"\\"+Kg[e]}var il=Jg;var Zg=/<%=([\s\S]+?)%>/g,Di=Zg;var Xg=/<%-([\s\S]+?)%>/g,al=Xg;var Yg=/<%([\s\S]+?)%>/g,ol=Yg;var eb={escape:al,evaluate:ol,interpolate:Di,variable:"",imports:{_:{escape:el}}},fa=eb;var tb="Invalid `variable` option passed into `_.template`",rb=/\b__p \+= '';/g,ib=/\b(__p \+=) '' \+/g,ab=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ob=/[()=,{}\[\]\/\s]/,nb=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,$i=/($^)/,sb=/['\n\r\u2028\u2029\\]/g,lb=Object.prototype,nl=lb.hasOwnProperty;function pb(e,r,i){var t=fa.imports._.templateSettings||fa;i&&Ut(e,r,i)&&(r=void 0),e=Tr(e),r=ca({},r,t,ua);var a=ca({},r.imports,t.imports,ua),o=Ke(a),n=tl(a,o),s,l,u=0,c=r.interpolate||$i,d="__p += '",p=RegExp((r.escape||$i).source+"|"+c.source+"|"+(c===Di?nb:$i).source+"|"+(r.evaluate||$i).source+"|$","g"),f=nl.call(r,"sourceURL")?"//# sourceURL="+(r.sourceURL+"").replace(/\s/g," ")+`
5
- `:"";e.replace(p,function(b,I,S,F,w,T){return S||(S=F),d+=e.slice(u,T).replace(sb,il),I&&(s=!0,d+=`' +
3
+ v4.33.0-next.136 */
4
+ import{b as ac,d as oc}from"./P6DSFWPS.js";export default $arcgis.t(([Wa,pd,dd,gv,Ba,bv,vv,Sv,wv,xv,Iv,ud,za])=>{var Ll=ac((h$,Sa)=>{function dv(e,r){var i=r&&r.cache?r.cache:yv,t=r&&r.serializer?r.serializer:mv,a=r&&r.strategy?r.strategy:uv;return a(e,{cache:i,serializer:t})}function cv(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Ol(e,r,i,t){var a=cv(t)?t:i(t),o=r.get(a);return typeof o>"u"&&(o=e.call(this,t),r.set(a,o)),o}function El(e,r,i){var t=Array.prototype.slice.call(arguments,3),a=i(t),o=r.get(a);return typeof o>"u"&&(o=e.apply(this,t),r.set(a,o)),o}function va(e,r,i,t,a){return i.bind(r,e,t,a)}function uv(e,r){var i=e.length===1?Ol:El;return va(e,this,i,r.cache.create(),r.serializer)}function fv(e,r){var i=El;return va(e,this,i,r.cache.create(),r.serializer)}function hv(e,r){var i=Ol;return va(e,this,i,r.cache.create(),r.serializer)}function mv(){return JSON.stringify(arguments)}function _i(){this.cache=Object.create(null)}_i.prototype.has=function(e){return e in this.cache};_i.prototype.get=function(e){return this.cache[e]};_i.prototype.set=function(e,r){this.cache[e]=r};var yv={create:function(){return new _i}};Sa.exports=dv;Sa.exports.strategies={variadic:fv,monadic:hv}});var L={Chart:"chart",Text:"chartText",Overlay:"chartOverlay",Overlays:"chartOverlays",Legend:"chartLegend",CursorCrosshair:"cursorCrosshair",Axis:"chartAxis",GaugeAxisTick:"gaugeAxisTick",GaugeNeedle:"gaugeNeedle",CategoryAxisFormat:"category",NumberAxisFormat:"number",DateAxisFormat:"date",Guide:"chartGuide",ScatterSeries:"scatterSeries",PieSeries:"pieSeries",PieTick:"pieTick",GaugeSeries:"gaugeSeries",LineSeries:"lineSeries",BarSeries:"barSeries",HistogramSeries:"histogramSeries",BoxPlotSeries:"boxPlotSeries",RadarSeries:"radarSeries",ComboLineAndBarSeries:"comboLineAndBarSeries",Buffer:"buffer",SizePolicy:"sizeScale"},we={Count:"count",Sum:"sum",Minimum:"min",Maximum:"max",Average:"avg",StandardDeviation:"stddev",Variance:"var",ContinuousPercentile:"percentile-continuous",DiscretePercentile:"percentile-discrete",EnvelopeAggregate:"envelope-aggregate",CentroidAggregate:"centroid-aggregate",ConvexHullAggregate:"convex-hull-aggregate",NoAggregation:"no_aggregation"},ea={None:"none",Log:"logarithmic",Sqrt:"squareRoot"},Hx={Single:"singleColor",Match:"colorMatch"},mo={Left:"left",Right:"right",Top:"top",Bottom:"bottom"},Rr={Side:"sideBySide",Stacked:"stacked",Stacked100:"stacked100"},Qx={Side:"sideBySide",MeanLines:"meanLines"},lt={Ascending:"ASC",Descending:"DESC"},yo={statisticType:we.Count,sortingOrder:lt.Ascending},Kx={Bezier:"bezier",MonotoneX:"monotoneX",MonotoneY:"monotoneY"},ta={FixedDateBased:"fixedDateBased",CalendarBased:"calendarBased"},_e={Second:"seconds",Minute:"minutes",Hour:"hours",Day:"days",Week:"weeks",Month:"months",Quarter:"quarters",Year:"years"},Jx={Second:"seconds",Minute:"minutes",Hour:"hours",Day:"days",Week:"weeks",Month:"months",Year:"years"},Zx={Second:"seconds",Minute:"minutes",Hour:"hours",Day:"days",Week:"weeks",Month:"months",Quarter:"quarters",Year:"years"};var go={Null:"null",Zero:"zero",Interpolate:"interpolate"},ar={Start:"equalIntervalsFromStartTime",End:"equalIntervalsFromEndTime"},Yx={Hide:"hide",Rotate:"rotate",Stagger:"stagger",Wrap:"wrap"},Tt={Same:"same",Newer:"newer",Older:"older",Unrecognized:"unrecognized"},Xx={Value:"value",Date:"date",Category:"category"},bo={FeatureGauge:"featureGauge",StatisticGauge:"statisticGauge"},vo={Linear:"linear",Logarithmic:"logarithmic"},e0={Radial:"radial",Circular:"circular",Horizontal:"horizontal"},or={YValue:"arcgis-charts-y-value",Mean:"arcgis-charts-mean",Median:"arcgis-charts-median",Category:"arcgis-charts-category"};var Be={Blob:"esriFieldTypeBlob",Date:"esriFieldTypeDate",DateOnly:"esriFieldTypeDateOnly",TimestampOffset:"esriFieldTypeTimestampOffset",Double:"esriFieldTypeDouble",Geometry:"esriFieldTypeGeometry",GlobalID:"esriFieldTypeGlobalID",GUID:"esriFieldTypeGUID",Integer:"esriFieldTypeInteger",SmallInteger:"esriFieldTypeSmallInteger",BigInteger:"esriFieldTypeBigInteger",OID:"esriFieldTypeOID",Raster:"esriFieldTypeRaster",Single:"esriFieldTypeSingle",String:"esriFieldTypeString",XML:"esriFieldTypeXML"},nr={Dash:"esriSLSDash",DashDot:"esriSLSDashDot",DashDotDot:"esriSLSDashDotDot",Dot:"esriSLSDot",Null:"esriSLSNull",Solid:"esriSLSSolid"},ra={Circle:"esriSMSCircle",Cross:"esriSMSCross",Diamond:"esriSMSDiamond",Square:"esriSMSSquare",X:"esriSMSX",Triangle:"esriSMSTriangle"},sr={BackwardDiagonal:"esriSFSBackwardDiagonal",Cross:"esriSFSCross",DiagonalCross:"esriSFSDiagonalCross",ForwardDiagonal:"esriSFSForwardDiagonal",Horizontal:"esriSFSHorizontal",Null:"esriSFSNull",Solid:"esriSFSSolid",Vertical:"esriSFSVertical"},Yr={Left:"left",Right:"right",Center:"center",Justify:"justify"},ia={Baseline:"baseline",Top:"top",Middle:"middle",Bottom:"bottom"},ke={SLS:"esriSLS",SMS:"esriSMS",SFS:"esriSFS",PMS:"esriPMS",PFS:"esriPFS",TS:"esriTS"},r0={Italic:"italic",Normal:"normal",Oblique:"oblique"},i0={Bold:"bold",Bolder:"bolder",Lighter:"lighter",Normal:"normal"},a0={LineThrough:"line-through",Underline:"underline",None:"none"},Xr={UniqueValue:"unique-value",Simple:"simple",ClassBreaks:"class-breaks",Heatmap:"heatmap",DotDensity:"dot-density",Dictionary:"dictionary",PieChart:"pie-chart"},zt={Feet:"feet",Miles:"miles",NauticalMiles:"nautical-miles",USNauticalMiles:"us-nautical-miles",Meters:"meters",Kilometers:"kilometers"};var ei="arcgis_charts_pie_from_fields_name",aa="arcgis_charts_pie_from_fields_value",So="arcgis_charts_bar_line_from_fields_name",wo="arcgis_charts_bar_line_from_fields_value";var pt={Mean:"Mean",Median:"Median",StdDev:"Standard Deviation",Normal:"Normal Distribution",Trendline:"Trendline"};var nc=Array.isArray,se=nc;function sc(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}var xe=sc;var lc=/\s/;function pc(e){for(var r=e.length;r--&&lc.test(e.charAt(r)););return r}var xo=pc;var dc=/^\s+/;function cc(e){return e&&e.slice(0,xo(e)+1).replace(dc,"")}var Io=cc;var uc=typeof global=="object"&&global&&global.Object===Object&&global,ti=uc;var fc=typeof self=="object"&&self&&self.Object===Object&&self,hc=ti||fc||Function("return this")(),Ae=hc;var mc=Ae.Symbol,De=mc;var Co=Object.prototype,yc=Co.hasOwnProperty,gc=Co.toString,_r=De?De.toStringTag:void 0;function bc(e){var r=yc.call(e,_r),i=e[_r];try{e[_r]=void 0;var t=!0}catch{}var a=gc.call(e);return t&&(r?e[_r]=i:delete e[_r]),a}var To=bc;var vc=Object.prototype,Sc=vc.toString;function wc(e){return Sc.call(e)}var Ao=wc;var xc="[object Null]",Ic="[object Undefined]",Po=De?De.toStringTag:void 0;function Cc(e){return e==null?e===void 0?Ic:xc:Po&&Po in Object(e)?To(e):Ao(e)}var je=Cc;function Tc(e){return e!=null&&typeof e=="object"}var Ce=Tc;var Ac="[object Symbol]";function Pc(e){return typeof e=="symbol"||Ce(e)&&je(e)==Ac}var Xe=Pc;var Fo=NaN,Fc=/^[-+]0x[0-9a-f]+$/i,Oc=/^0b[01]+$/i,Ec=/^0o[0-7]+$/i,Lc=parseInt;function Dc(e){if(typeof e=="number")return e;if(Xe(e))return Fo;if(xe(e)){var r=typeof e.valueOf=="function"?e.valueOf():e;e=xe(r)?r+"":r}if(typeof e!="string")return e===0?e:+e;e=Io(e);var i=Oc.test(e);return i||Ec.test(e)?Lc(e.slice(2),i?2:8):Fc.test(e)?Fo:+e}var ri=Dc;function $c(){this.__data__=[],this.size=0}var Oo=$c;function jc(e,r){return e===r||e!==e&&r!==r}var He=jc;function Rc(e,r){for(var i=e.length;i--;)if(He(e[i][0],r))return i;return-1}var At=Rc;var _c=Array.prototype,kc=_c.splice;function Bc(e){var r=this.__data__,i=At(r,e);if(i<0)return!1;var t=r.length-1;return i==t?r.pop():kc.call(r,i,1),--this.size,!0}var Eo=Bc;function qc(e){var r=this.__data__,i=At(r,e);return i<0?void 0:r[i][1]}var Lo=qc;function Mc(e){return At(this.__data__,e)>-1}var Do=Mc;function Nc(e,r){var i=this.__data__,t=At(i,e);return t<0?(++this.size,i.push([e,r])):i[t][1]=r,this}var $o=Nc;function lr(e){var r=-1,i=e==null?0:e.length;for(this.clear();++r<i;){var t=e[r];this.set(t[0],t[1])}}lr.prototype.clear=Oo;lr.prototype.delete=Eo;lr.prototype.get=Lo;lr.prototype.has=Do;lr.prototype.set=$o;var Pt=lr;function Wc(){this.__data__=new Pt,this.size=0}var jo=Wc;function zc(e){var r=this.__data__,i=r.delete(e);return this.size=r.size,i}var Ro=zc;function Vc(e){return this.__data__.get(e)}var _o=Vc;function Uc(e){return this.__data__.has(e)}var ko=Uc;var Gc="[object AsyncFunction]",Hc="[object Function]",Qc="[object GeneratorFunction]",Kc="[object Proxy]";function Jc(e){if(!xe(e))return!1;var r=je(e);return r==Hc||r==Qc||r==Gc||r==Kc}var pr=Jc;var Zc=Ae["__core-js_shared__"],ii=Zc;var Bo=function(){var e=/[^.]+$/.exec(ii&&ii.keys&&ii.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Yc(e){return!!Bo&&Bo in e}var qo=Yc;var Xc=Function.prototype,eu=Xc.toString;function tu(e){if(e!=null){try{return eu.call(e)}catch{}try{return e+""}catch{}}return""}var vt=tu;var ru=/[\\^$.*+?()[\]{}|]/g,iu=/^\[object .+?Constructor\]$/,au=Function.prototype,ou=Object.prototype,nu=au.toString,su=ou.hasOwnProperty,lu=RegExp("^"+nu.call(su).replace(ru,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function pu(e){if(!xe(e)||qo(e))return!1;var r=pr(e)?lu:iu;return r.test(vt(e))}var Mo=pu;function du(e,r){return e?.[r]}var No=du;function cu(e,r){var i=No(e,r);return Mo(i)?i:void 0}var Me=cu;var uu=Me(Ae,"Map"),Ft=uu;var fu=Me(Object,"create"),St=fu;function hu(){this.__data__=St?St(null):{},this.size=0}var Wo=hu;function mu(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r}var zo=mu;var yu="__lodash_hash_undefined__",gu=Object.prototype,bu=gu.hasOwnProperty;function vu(e){var r=this.__data__;if(St){var i=r[e];return i===yu?void 0:i}return bu.call(r,e)?r[e]:void 0}var Vo=vu;var Su=Object.prototype,wu=Su.hasOwnProperty;function xu(e){var r=this.__data__;return St?r[e]!==void 0:wu.call(r,e)}var Uo=xu;var Iu="__lodash_hash_undefined__";function Cu(e,r){var i=this.__data__;return this.size+=this.has(e)?0:1,i[e]=St&&r===void 0?Iu:r,this}var Go=Cu;function dr(e){var r=-1,i=e==null?0:e.length;for(this.clear();++r<i;){var t=e[r];this.set(t[0],t[1])}}dr.prototype.clear=Wo;dr.prototype.delete=zo;dr.prototype.get=Vo;dr.prototype.has=Uo;dr.prototype.set=Go;var oa=dr;function Tu(){this.size=0,this.__data__={hash:new oa,map:new(Ft||Pt),string:new oa}}var Ho=Tu;function Au(e){var r=typeof e;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?e!=="__proto__":e===null}var Qo=Au;function Pu(e,r){var i=e.__data__;return Qo(r)?i[typeof r=="string"?"string":"hash"]:i.map}var Ot=Pu;function Fu(e){var r=Ot(this,e).delete(e);return this.size-=r?1:0,r}var Ko=Fu;function Ou(e){return Ot(this,e).get(e)}var Jo=Ou;function Eu(e){return Ot(this,e).has(e)}var Zo=Eu;function Lu(e,r){var i=Ot(this,e),t=i.size;return i.set(e,r),this.size+=i.size==t?0:1,this}var Yo=Lu;function cr(e){var r=-1,i=e==null?0:e.length;for(this.clear();++r<i;){var t=e[r];this.set(t[0],t[1])}}cr.prototype.clear=Ho;cr.prototype.delete=Ko;cr.prototype.get=Jo;cr.prototype.has=Zo;cr.prototype.set=Yo;var Vt=cr;var Du=200;function $u(e,r){var i=this.__data__;if(i instanceof Pt){var t=i.__data__;if(!Ft||t.length<Du-1)return t.push([e,r]),this.size=++i.size,this;i=this.__data__=new Vt(t)}return i.set(e,r),this.size=i.size,this}var Xo=$u;function ur(e){var r=this.__data__=new Pt(e);this.size=r.size}ur.prototype.clear=jo;ur.prototype.delete=Ro;ur.prototype.get=_o;ur.prototype.has=ko;ur.prototype.set=Xo;var dt=ur;function ju(e,r){for(var i=-1,t=e==null?0:e.length;++i<t&&r(e[i],i,e)!==!1;);return e}var en=ju;var Ru=function(){try{var e=Me(Object,"defineProperty");return e({},"",{}),e}catch{}}(),fr=Ru;function _u(e,r,i){r=="__proto__"&&fr?fr(e,r,{configurable:!0,enumerable:!0,value:i,writable:!0}):e[r]=i}var hr=_u;var ku=Object.prototype,Bu=ku.hasOwnProperty;function qu(e,r,i){var t=e[r];(!(Bu.call(e,r)&&He(t,i))||i===void 0&&!(r in e))&&hr(e,r,i)}var ai=qu;function Mu(e,r,i,t){var a=!i;i||(i={});for(var o=-1,n=r.length;++o<n;){var s=r[o],l=t?t(i[s],e[s],s,i,e):void 0;l===void 0&&(l=e[s]),a?hr(i,s,l):ai(i,s,l)}return i}var Qe=Mu;function Nu(e,r){for(var i=-1,t=Array(e);++i<e;)t[i]=r(i);return t}var tn=Nu;var Wu="[object Arguments]";function zu(e){return Ce(e)&&je(e)==Wu}var na=zu;var rn=Object.prototype,Vu=rn.hasOwnProperty,Uu=rn.propertyIsEnumerable,Gu=na(function(){return arguments}())?na:function(e){return Ce(e)&&Vu.call(e,"callee")&&!Uu.call(e,"callee")},et=Gu;function Hu(){return!1}var an=Hu;var sn=typeof exports=="object"&&exports&&!exports.nodeType&&exports,on=sn&&typeof module=="object"&&module&&!module.nodeType&&module,Qu=on&&on.exports===sn,nn=Qu?Ae.Buffer:void 0,Ku=nn?nn.isBuffer:void 0,Ju=Ku||an,tt=Ju;var Zu=9007199254740991,Yu=/^(?:0|[1-9]\d*)$/;function Xu(e,r){var i=typeof e;return r=r??Zu,!!r&&(i=="number"||i!="symbol"&&Yu.test(e))&&e>-1&&e%1==0&&e<r}var mr=Xu;var ef=9007199254740991;function tf(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ef}var yr=tf;var rf="[object Arguments]",af="[object Array]",of="[object Boolean]",nf="[object Date]",sf="[object Error]",lf="[object Function]",pf="[object Map]",df="[object Number]",cf="[object Object]",uf="[object RegExp]",ff="[object Set]",hf="[object String]",mf="[object WeakMap]",yf="[object ArrayBuffer]",gf="[object DataView]",bf="[object Float32Array]",vf="[object Float64Array]",Sf="[object Int8Array]",wf="[object Int16Array]",xf="[object Int32Array]",If="[object Uint8Array]",Cf="[object Uint8ClampedArray]",Tf="[object Uint16Array]",Af="[object Uint32Array]",me={};me[bf]=me[vf]=me[Sf]=me[wf]=me[xf]=me[If]=me[Cf]=me[Tf]=me[Af]=!0;me[rf]=me[af]=me[yf]=me[of]=me[gf]=me[nf]=me[sf]=me[lf]=me[pf]=me[df]=me[cf]=me[uf]=me[ff]=me[hf]=me[mf]=!1;function Pf(e){return Ce(e)&&yr(e.length)&&!!me[je(e)]}var ln=Pf;function Ff(e){return function(r){return e(r)}}var Et=Ff;var pn=typeof exports=="object"&&exports&&!exports.nodeType&&exports,kr=pn&&typeof module=="object"&&module&&!module.nodeType&&module,Of=kr&&kr.exports===pn,sa=Of&&ti.process,Ef=function(){try{var e=kr&&kr.require&&kr.require("util").types;return e||sa&&sa.binding&&sa.binding("util")}catch{}}(),wt=Ef;var dn=wt&&wt.isTypedArray,Lf=dn?Et(dn):ln,Lt=Lf;var Df=Object.prototype,$f=Df.hasOwnProperty;function jf(e,r){var i=se(e),t=!i&&et(e),a=!i&&!t&&tt(e),o=!i&&!t&&!a&&Lt(e),n=i||t||a||o,s=n?tn(e.length,String):[],l=s.length;for(var u in e)(r||$f.call(e,u))&&!(n&&(u=="length"||a&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||mr(u,l)))&&s.push(u);return s}var oi=jf;var Rf=Object.prototype;function _f(e){var r=e&&e.constructor,i=typeof r=="function"&&r.prototype||Rf;return e===i}var Dt=_f;function kf(e,r){return function(i){return e(r(i))}}var ni=kf;var Bf=ni(Object.keys,Object),cn=Bf;var qf=Object.prototype,Mf=qf.hasOwnProperty;function Nf(e){if(!Dt(e))return cn(e);var r=[];for(var i in Object(e))Mf.call(e,i)&&i!="constructor"&&r.push(i);return r}var si=Nf;function Wf(e){return e!=null&&yr(e.length)&&!pr(e)}var Ne=Wf;function zf(e){return Ne(e)?oi(e):si(e)}var Ke=zf;function Vf(e,r){return e&&Qe(r,Ke(r),e)}var un=Vf;function Uf(e){var r=[];if(e!=null)for(var i in Object(e))r.push(i);return r}var fn=Uf;var Gf=Object.prototype,Hf=Gf.hasOwnProperty;function Qf(e){if(!xe(e))return fn(e);var r=Dt(e),i=[];for(var t in e)t=="constructor"&&(r||!Hf.call(e,t))||i.push(t);return i}var hn=Qf;function Kf(e){return Ne(e)?oi(e,!0):hn(e)}var Je=Kf;function Jf(e,r){return e&&Qe(r,Je(r),e)}var mn=Jf;var vn=typeof exports=="object"&&exports&&!exports.nodeType&&exports,yn=vn&&typeof module=="object"&&module&&!module.nodeType&&module,Zf=yn&&yn.exports===vn,gn=Zf?Ae.Buffer:void 0,bn=gn?gn.allocUnsafe:void 0;function Yf(e,r){if(r)return e.slice();var i=e.length,t=bn?bn(i):new e.constructor(i);return e.copy(t),t}var li=Yf;function Xf(e,r){var i=-1,t=e.length;for(r||(r=Array(t));++i<t;)r[i]=e[i];return r}var pi=Xf;function eh(e,r){for(var i=-1,t=e==null?0:e.length,a=0,o=[];++i<t;){var n=e[i];r(n,i,e)&&(o[a++]=n)}return o}var Sn=eh;function th(){return[]}var di=th;var rh=Object.prototype,ih=rh.propertyIsEnumerable,wn=Object.getOwnPropertySymbols,ah=wn?function(e){return e==null?[]:(e=Object(e),Sn(wn(e),function(r){return ih.call(e,r)}))}:di,gr=ah;function oh(e,r){return Qe(e,gr(e),r)}var xn=oh;function nh(e,r){for(var i=-1,t=r.length,a=e.length;++i<t;)e[a+i]=r[i];return e}var br=nh;var sh=ni(Object.getPrototypeOf,Object),vr=sh;var lh=Object.getOwnPropertySymbols,ph=lh?function(e){for(var r=[];e;)br(r,gr(e)),e=vr(e);return r}:di,ci=ph;function dh(e,r){return Qe(e,ci(e),r)}var In=dh;function ch(e,r,i){var t=r(e);return se(e)?t:br(t,i(e))}var ui=ch;function uh(e){return ui(e,Ke,gr)}var Br=uh;function fh(e){return ui(e,Je,ci)}var Cn=fh;var hh=Me(Ae,"DataView"),fi=hh;var mh=Me(Ae,"Promise"),hi=mh;var yh=Me(Ae,"Set"),mi=yh;var gh=Me(Ae,"WeakMap"),yi=gh;var Tn="[object Map]",bh="[object Object]",An="[object Promise]",Pn="[object Set]",Fn="[object WeakMap]",On="[object DataView]",vh=vt(fi),Sh=vt(Ft),wh=vt(hi),xh=vt(mi),Ih=vt(yi),Ut=je;(fi&&Ut(new fi(new ArrayBuffer(1)))!=On||Ft&&Ut(new Ft)!=Tn||hi&&Ut(hi.resolve())!=An||mi&&Ut(new mi)!=Pn||yi&&Ut(new yi)!=Fn)&&(Ut=function(e){var r=je(e),i=r==bh?e.constructor:void 0,t=i?vt(i):"";if(t)switch(t){case vh:return On;case Sh:return Tn;case wh:return An;case xh:return Pn;case Ih:return Fn}return r});var rt=Ut;var Ch=Object.prototype,Th=Ch.hasOwnProperty;function Ah(e){var r=e.length,i=new e.constructor(r);return r&&typeof e[0]=="string"&&Th.call(e,"index")&&(i.index=e.index,i.input=e.input),i}var En=Ah;var Ph=Ae.Uint8Array,Sr=Ph;function Fh(e){var r=new e.constructor(e.byteLength);return new Sr(r).set(new Sr(e)),r}var wr=Fh;function Oh(e,r){var i=r?wr(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.byteLength)}var Ln=Oh;var Eh=/\w*$/;function Lh(e){var r=new e.constructor(e.source,Eh.exec(e));return r.lastIndex=e.lastIndex,r}var Dn=Lh;var $n=De?De.prototype:void 0,jn=$n?$n.valueOf:void 0;function Dh(e){return jn?Object(jn.call(e)):{}}var Rn=Dh;function $h(e,r){var i=r?wr(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.length)}var gi=$h;var jh="[object Boolean]",Rh="[object Date]",_h="[object Map]",kh="[object Number]",Bh="[object RegExp]",qh="[object Set]",Mh="[object String]",Nh="[object Symbol]",Wh="[object ArrayBuffer]",zh="[object DataView]",Vh="[object Float32Array]",Uh="[object Float64Array]",Gh="[object Int8Array]",Hh="[object Int16Array]",Qh="[object Int32Array]",Kh="[object Uint8Array]",Jh="[object Uint8ClampedArray]",Zh="[object Uint16Array]",Yh="[object Uint32Array]";function Xh(e,r,i){var t=e.constructor;switch(r){case Wh:return wr(e);case jh:case Rh:return new t(+e);case zh:return Ln(e,i);case Vh:case Uh:case Gh:case Hh:case Qh:case Kh:case Jh:case Zh:case Yh:return gi(e,i);case _h:return new t;case kh:case Mh:return new t(e);case Bh:return Dn(e);case qh:return new t;case Nh:return Rn(e)}}var _n=Xh;var kn=Object.create,em=function(){function e(){}return function(r){if(!xe(r))return{};if(kn)return kn(r);e.prototype=r;var i=new e;return e.prototype=void 0,i}}(),Bn=em;function tm(e){return typeof e.constructor=="function"&&!Dt(e)?Bn(vr(e)):{}}var bi=tm;var rm="[object Map]";function im(e){return Ce(e)&&rt(e)==rm}var qn=im;var Mn=wt&&wt.isMap,am=Mn?Et(Mn):qn,Nn=am;var om="[object Set]";function nm(e){return Ce(e)&&rt(e)==om}var Wn=nm;var zn=wt&&wt.isSet,sm=zn?Et(zn):Wn,Vn=sm;var lm=1,pm=2,dm=4,Un="[object Arguments]",cm="[object Array]",um="[object Boolean]",fm="[object Date]",hm="[object Error]",Gn="[object Function]",mm="[object GeneratorFunction]",ym="[object Map]",gm="[object Number]",Hn="[object Object]",bm="[object RegExp]",vm="[object Set]",Sm="[object String]",wm="[object Symbol]",xm="[object WeakMap]",Im="[object ArrayBuffer]",Cm="[object DataView]",Tm="[object Float32Array]",Am="[object Float64Array]",Pm="[object Int8Array]",Fm="[object Int16Array]",Om="[object Int32Array]",Em="[object Uint8Array]",Lm="[object Uint8ClampedArray]",Dm="[object Uint16Array]",$m="[object Uint32Array]",ue={};ue[Un]=ue[cm]=ue[Im]=ue[Cm]=ue[um]=ue[fm]=ue[Tm]=ue[Am]=ue[Pm]=ue[Fm]=ue[Om]=ue[ym]=ue[gm]=ue[Hn]=ue[bm]=ue[vm]=ue[Sm]=ue[wm]=ue[Em]=ue[Lm]=ue[Dm]=ue[$m]=!0;ue[hm]=ue[Gn]=ue[xm]=!1;function vi(e,r,i,t,a,o){var n,s=r&lm,l=r&pm,u=r&dm;if(i&&(n=a?i(e,t,a,o):i(e)),n!==void 0)return n;if(!xe(e))return e;var c=se(e);if(c){if(n=En(e),!s)return pi(e,n)}else{var d=rt(e),p=d==Gn||d==mm;if(tt(e))return li(e,s);if(d==Hn||d==Un||p&&!a){if(n=l||p?{}:bi(e),!s)return l?In(e,mn(n,e)):xn(e,un(n,e))}else{if(!ue[d])return a?e:{};n=_n(e,d,s)}}o||(o=new dt);var f=o.get(e);if(f)return f;o.set(e,n),Vn(e)?e.forEach(function(b){n.add(vi(b,r,i,b,e,o))}):Nn(e)&&e.forEach(function(b,I){n.set(I,vi(b,r,i,I,e,o))});var m=u?l?Cn:Br:l?Je:Ke,y=c?void 0:m(e);return en(y||e,function(b,I){y&&(I=b,b=e[I]),ai(n,I,vi(b,r,i,I,e,o))}),n}var Qn=vi;var jm=1,Rm=4;function _m(e){return Qn(e,jm|Rm)}var km=_m;var Bm=function(){return Ae.Date.now()},Si=Bm;var qm="Expected a function",Mm=Math.max,Nm=Math.min;function Wm(e,r,i){var t,a,o,n,s,l,u=0,c=!1,d=!1,p=!0;if(typeof e!="function")throw new TypeError(qm);r=ri(r)||0,xe(i)&&(c=!!i.leading,d="maxWait"in i,o=d?Mm(ri(i.maxWait)||0,r):o,p="trailing"in i?!!i.trailing:p);function f(E){var P=t,O=a;return t=a=void 0,u=E,n=e.apply(O,P),n}function m(E){return u=E,s=setTimeout(I,r),c?f(E):n}function y(E){var P=E-l,O=E-u,j=r-P;return d?Nm(j,o-O):j}function b(E){var P=E-l,O=E-u;return l===void 0||P>=r||P<0||d&&O>=o}function I(){var E=Si();if(b(E))return S(E);s=setTimeout(I,y(E))}function S(E){return s=void 0,p&&t?f(E):(t=a=void 0,n)}function F(){s!==void 0&&clearTimeout(s),u=0,t=l=a=s=void 0}function w(){return s===void 0?n:S(Si())}function T(){var E=Si(),P=b(E);if(t=arguments,a=this,l=E,P){if(s===void 0)return m(l);if(d)return clearTimeout(s),s=setTimeout(I,r),f(l)}return s===void 0&&(s=setTimeout(I,r)),n}return T.cancel=F,T.flush=w,T}var zm=Wm;function Vm(e,r,i){(i!==void 0&&!He(e[r],i)||i===void 0&&!(r in e))&&hr(e,r,i)}var qr=Vm;function Um(e){return function(r,i,t){for(var a=-1,o=Object(r),n=t(r),s=n.length;s--;){var l=n[e?s:++a];if(i(o[l],l,o)===!1)break}return r}}var Kn=Um;var Gm=Kn(),wi=Gm;function Hm(e){return Ce(e)&&Ne(e)}var Jn=Hm;var Qm="[object Object]",Km=Function.prototype,Jm=Object.prototype,Zn=Km.toString,Zm=Jm.hasOwnProperty,Ym=Zn.call(Object);function Xm(e){if(!Ce(e)||je(e)!=Qm)return!1;var r=vr(e);if(r===null)return!0;var i=Zm.call(r,"constructor")&&r.constructor;return typeof i=="function"&&i instanceof i&&Zn.call(i)==Ym}var xi=Xm;function ey(e,r){if(!(r==="constructor"&&typeof e[r]=="function")&&r!="__proto__")return e[r]}var Mr=ey;function ty(e){return Qe(e,Je(e))}var Yn=ty;function ry(e,r,i,t,a,o,n){var s=Mr(e,i),l=Mr(r,i),u=n.get(l);if(u){qr(e,i,u);return}var c=o?o(s,l,i+"",e,r,n):void 0,d=c===void 0;if(d){var p=se(l),f=!p&&tt(l),m=!p&&!f&&Lt(l);c=l,p||f||m?se(s)?c=s:Jn(s)?c=pi(s):f?(d=!1,c=li(l,!0)):m?(d=!1,c=gi(l,!0)):c=[]:xi(l)||et(l)?(c=s,et(s)?c=Yn(s):(!xe(s)||pr(s))&&(c=bi(l))):d=!1}d&&(n.set(l,c),a(c,l,t,o,n),n.delete(l)),qr(e,i,c)}var Xn=ry;function es(e,r,i,t,a){e!==r&&wi(r,function(o,n){if(a||(a=new dt),xe(o))Xn(e,r,n,i,es,t,a);else{var s=t?t(Mr(e,n),o,n+"",e,r,a):void 0;s===void 0&&(s=o),qr(e,n,s)}},Je)}var Ii=es;function iy(e){return e}var $t=iy;function ay(e,r,i){switch(i.length){case 0:return e.call(r);case 1:return e.call(r,i[0]);case 2:return e.call(r,i[0],i[1]);case 3:return e.call(r,i[0],i[1],i[2])}return e.apply(r,i)}var Ci=ay;var ts=Math.max;function oy(e,r,i){return r=ts(r===void 0?e.length-1:r,0),function(){for(var t=arguments,a=-1,o=ts(t.length-r,0),n=Array(o);++a<o;)n[a]=t[r+a];a=-1;for(var s=Array(r+1);++a<r;)s[a]=t[a];return s[r]=i(n),Ci(e,this,s)}}var rs=oy;function ny(e){return function(){return e}}var is=ny;var sy=fr?function(e,r){return fr(e,"toString",{configurable:!0,enumerable:!1,value:is(r),writable:!0})}:$t,as=sy;var ly=800,py=16,dy=Date.now;function cy(e){var r=0,i=0;return function(){var t=dy(),a=py-(t-i);if(i=t,a>0){if(++r>=ly)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}var os=cy;var uy=os(as),ns=uy;function fy(e,r){return ns(rs(e,r,$t),e+"")}var xr=fy;function hy(e,r,i){if(!xe(i))return!1;var t=typeof r;return(t=="number"?Ne(i)&&mr(r,i.length):t=="string"&&r in i)?He(i[r],e):!1}var Gt=hy;function my(e){return xr(function(r,i){var t=-1,a=i.length,o=a>1?i[a-1]:void 0,n=a>2?i[2]:void 0;for(o=e.length>3&&typeof o=="function"?(a--,o):void 0,n&&Gt(i[0],i[1],n)&&(o=a<3?void 0:o,a=1),r=Object(r);++t<a;){var s=i[t];s&&e(r,s,t,o)}return r})}var Ir=my;var yy=Ir(function(e,r,i,t){Ii(e,r,i,t)}),gy=yy;var by="[object Map]",vy="[object Set]",Sy=Object.prototype,wy=Sy.hasOwnProperty;function xy(e){if(e==null)return!0;if(Ne(e)&&(se(e)||typeof e=="string"||typeof e.splice=="function"||tt(e)||Lt(e)||et(e)))return!e.length;var r=rt(e);if(r==by||r==vy)return!e.size;if(Dt(e))return!si(e).length;for(var i in e)if(wy.call(e,i))return!1;return!0}var Iy=xy;var Cy="__lodash_hash_undefined__";function Ty(e){return this.__data__.set(e,Cy),this}var ss=Ty;function Ay(e){return this.__data__.has(e)}var ls=Ay;function Ti(e){var r=-1,i=e==null?0:e.length;for(this.__data__=new Vt;++r<i;)this.add(e[r])}Ti.prototype.add=Ti.prototype.push=ss;Ti.prototype.has=ls;var ps=Ti;function Py(e,r){for(var i=-1,t=e==null?0:e.length;++i<t;)if(r(e[i],i,e))return!0;return!1}var ds=Py;function Fy(e,r){return e.has(r)}var cs=Fy;var Oy=1,Ey=2;function Ly(e,r,i,t,a,o){var n=i&Oy,s=e.length,l=r.length;if(s!=l&&!(n&&l>s))return!1;var u=o.get(e),c=o.get(r);if(u&&c)return u==r&&c==e;var d=-1,p=!0,f=i&Ey?new ps:void 0;for(o.set(e,r),o.set(r,e);++d<s;){var m=e[d],y=r[d];if(t)var b=n?t(y,m,d,r,e,o):t(m,y,d,e,r,o);if(b!==void 0){if(b)continue;p=!1;break}if(f){if(!ds(r,function(I,S){if(!cs(f,S)&&(m===I||a(m,I,i,t,o)))return f.push(S)})){p=!1;break}}else if(!(m===y||a(m,y,i,t,o))){p=!1;break}}return o.delete(e),o.delete(r),p}var Ai=Ly;function Dy(e){var r=-1,i=Array(e.size);return e.forEach(function(t,a){i[++r]=[a,t]}),i}var us=Dy;function $y(e){var r=-1,i=Array(e.size);return e.forEach(function(t){i[++r]=t}),i}var fs=$y;var jy=1,Ry=2,_y="[object Boolean]",ky="[object Date]",By="[object Error]",qy="[object Map]",My="[object Number]",Ny="[object RegExp]",Wy="[object Set]",zy="[object String]",Vy="[object Symbol]",Uy="[object ArrayBuffer]",Gy="[object DataView]",hs=De?De.prototype:void 0,la=hs?hs.valueOf:void 0;function Hy(e,r,i,t,a,o,n){switch(i){case Gy:if(e.byteLength!=r.byteLength||e.byteOffset!=r.byteOffset)return!1;e=e.buffer,r=r.buffer;case Uy:return!(e.byteLength!=r.byteLength||!o(new Sr(e),new Sr(r)));case _y:case ky:case My:return He(+e,+r);case By:return e.name==r.name&&e.message==r.message;case Ny:case zy:return e==r+"";case qy:var s=us;case Wy:var l=t&jy;if(s||(s=fs),e.size!=r.size&&!l)return!1;var u=n.get(e);if(u)return u==r;t|=Ry,n.set(e,r);var c=Ai(s(e),s(r),t,a,o,n);return n.delete(e),c;case Vy:if(la)return la.call(e)==la.call(r)}return!1}var ms=Hy;var Qy=1,Ky=Object.prototype,Jy=Ky.hasOwnProperty;function Zy(e,r,i,t,a,o){var n=i&Qy,s=Br(e),l=s.length,u=Br(r),c=u.length;if(l!=c&&!n)return!1;for(var d=l;d--;){var p=s[d];if(!(n?p in r:Jy.call(r,p)))return!1}var f=o.get(e),m=o.get(r);if(f&&m)return f==r&&m==e;var y=!0;o.set(e,r),o.set(r,e);for(var b=n;++d<l;){p=s[d];var I=e[p],S=r[p];if(t)var F=n?t(S,I,p,r,e,o):t(I,S,p,e,r,o);if(!(F===void 0?I===S||a(I,S,i,t,o):F)){y=!1;break}b||(b=p=="constructor")}if(y&&!b){var w=e.constructor,T=r.constructor;w!=T&&"constructor"in e&&"constructor"in r&&!(typeof w=="function"&&w instanceof w&&typeof T=="function"&&T instanceof T)&&(y=!1)}return o.delete(e),o.delete(r),y}var ys=Zy;var Yy=1,gs="[object Arguments]",bs="[object Array]",Pi="[object Object]",Xy=Object.prototype,vs=Xy.hasOwnProperty;function eg(e,r,i,t,a,o){var n=se(e),s=se(r),l=n?bs:rt(e),u=s?bs:rt(r);l=l==gs?Pi:l,u=u==gs?Pi:u;var c=l==Pi,d=u==Pi,p=l==u;if(p&&tt(e)){if(!tt(r))return!1;n=!0,c=!1}if(p&&!c)return o||(o=new dt),n||Lt(e)?Ai(e,r,i,t,a,o):ms(e,r,l,i,t,a,o);if(!(i&Yy)){var f=c&&vs.call(e,"__wrapped__"),m=d&&vs.call(r,"__wrapped__");if(f||m){var y=f?e.value():e,b=m?r.value():r;return o||(o=new dt),a(y,b,i,t,o)}}return p?(o||(o=new dt),ys(e,r,i,t,a,o)):!1}var Ss=eg;function ws(e,r,i,t,a){return e===r?!0:e==null||r==null||!Ce(e)&&!Ce(r)?e!==e&&r!==r:Ss(e,r,i,t,ws,a)}var Cr=ws;function tg(e,r){return Cr(e,r)}var xs=tg;function rg(e){return e==null}var pa=rg;var ig=Ir(function(e,r,i){Ii(e,r,i)}),ag=ig;var Is=De?De.isConcatSpreadable:void 0;function og(e){return se(e)||et(e)||!!(Is&&e&&e[Is])}var Cs=og;function Ts(e,r,i,t,a){var o=-1,n=e.length;for(i||(i=Cs),a||(a=[]);++o<n;){var s=e[o];r>0&&i(s)?r>1?Ts(s,r-1,i,t,a):br(a,s):t||(a[a.length]=s)}return a}var As=Ts;function ng(e,r){for(var i=-1,t=e==null?0:e.length,a=Array(t);++i<t;)a[i]=r(e[i],i,e);return a}var jt=ng;var sg=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,lg=/^\w*$/;function pg(e,r){if(se(e))return!1;var i=typeof e;return i=="number"||i=="symbol"||i=="boolean"||e==null||Xe(e)?!0:lg.test(e)||!sg.test(e)||r!=null&&e in Object(r)}var Tr=pg;var dg="Expected a function";function da(e,r){if(typeof e!="function"||r!=null&&typeof r!="function")throw new TypeError(dg);var i=function(){var t=arguments,a=r?r.apply(this,t):t[0],o=i.cache;if(o.has(a))return o.get(a);var n=e.apply(this,t);return i.cache=o.set(a,n)||o,n};return i.cache=new(da.Cache||Vt),i}da.Cache=Vt;var ca=da;var cg=500;function ug(e){var r=ca(e,function(t){return i.size===cg&&i.clear(),t}),i=r.cache;return r}var Ps=ug;var fg=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,hg=/\\(\\)?/g,mg=Ps(function(e){var r=[];return e.charCodeAt(0)===46&&r.push(""),e.replace(fg,function(i,t,a,o){r.push(a?o.replace(hg,"$1"):t||i)}),r}),Fs=mg;var yg=1/0,Os=De?De.prototype:void 0,Es=Os?Os.toString:void 0;function Ls(e){if(typeof e=="string")return e;if(se(e))return jt(e,Ls)+"";if(Xe(e))return Es?Es.call(e):"";var r=e+"";return r=="0"&&1/e==-yg?"-0":r}var Ds=Ls;function gg(e){return e==null?"":Ds(e)}var ct=gg;function bg(e,r){return se(e)?e:Tr(e,r)?[e]:Fs(ct(e))}var Fi=bg;var vg=1/0;function Sg(e){if(typeof e=="string"||Xe(e))return e;var r=e+"";return r=="0"&&1/e==-vg?"-0":r}var Rt=Sg;function wg(e,r){r=Fi(r,e);for(var i=0,t=r.length;e!=null&&i<t;)e=e[Rt(r[i++])];return i&&i==t?e:void 0}var Ar=wg;var xg=1,Ig=2;function Cg(e,r,i,t){var a=i.length,o=a,n=!t;if(e==null)return!o;for(e=Object(e);a--;){var s=i[a];if(n&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++a<o;){s=i[a];var l=s[0],u=e[l],c=s[1];if(n&&s[2]){if(u===void 0&&!(l in e))return!1}else{var d=new dt;if(t)var p=t(u,c,l,e,r,d);if(!(p===void 0?Cr(c,u,xg|Ig,t,d):p))return!1}}return!0}var $s=Cg;function Tg(e){return e===e&&!xe(e)}var Oi=Tg;function Ag(e){for(var r=Ke(e),i=r.length;i--;){var t=r[i],a=e[t];r[i]=[t,a,Oi(a)]}return r}var js=Ag;function Pg(e,r){return function(i){return i==null?!1:i[e]===r&&(r!==void 0||e in Object(i))}}var Ei=Pg;function Fg(e){var r=js(e);return r.length==1&&r[0][2]?Ei(r[0][0],r[0][1]):function(i){return i===e||$s(i,e,r)}}var Rs=Fg;function Og(e,r,i){var t=e==null?void 0:Ar(e,r);return t===void 0?i:t}var _s=Og;function Eg(e,r){return e!=null&&r in Object(e)}var ks=Eg;function Lg(e,r,i){r=Fi(r,e);for(var t=-1,a=r.length,o=!1;++t<a;){var n=Rt(r[t]);if(!(o=e!=null&&i(e,n)))break;e=e[n]}return o||++t!=a?o:(a=e==null?0:e.length,!!a&&yr(a)&&mr(n,a)&&(se(e)||et(e)))}var Bs=Lg;function Dg(e,r){return e!=null&&Bs(e,r,ks)}var qs=Dg;var $g=1,jg=2;function Rg(e,r){return Tr(e)&&Oi(r)?Ei(Rt(e),r):function(i){var t=_s(i,e);return t===void 0&&t===r?qs(i,e):Cr(r,t,$g|jg)}}var Ms=Rg;function _g(e){return function(r){return r?.[e]}}var Ns=_g;function kg(e){return function(r){return Ar(r,e)}}var Ws=kg;function Bg(e){return Tr(e)?Ns(Rt(e)):Ws(e)}var zs=Bg;function qg(e){return typeof e=="function"?e:e==null?$t:typeof e=="object"?se(e)?Ms(e[0],e[1]):Rs(e):zs(e)}var Vs=qg;function Mg(e,r){return e&&wi(e,r,Ke)}var Us=Mg;function Ng(e,r){return function(i,t){if(i==null)return i;if(!Ne(i))return e(i,t);for(var a=i.length,o=r?a:-1,n=Object(i);(r?o--:++o<a)&&t(n[o],o,n)!==!1;);return i}}var Gs=Ng;var Wg=Gs(Us),Hs=Wg;function zg(e,r){var i=-1,t=Ne(e)?Array(e.length):[];return Hs(e,function(a,o,n){t[++i]=r(a,o,n)}),t}var Qs=zg;function Vg(e,r){var i=e.length;for(e.sort(r);i--;)e[i]=e[i].value;return e}var Ks=Vg;function Ug(e,r){if(e!==r){var i=e!==void 0,t=e===null,a=e===e,o=Xe(e),n=r!==void 0,s=r===null,l=r===r,u=Xe(r);if(!s&&!u&&!o&&e>r||o&&n&&l&&!s&&!u||t&&n&&l||!i&&l||!a)return 1;if(!t&&!o&&!u&&e<r||u&&i&&a&&!t&&!o||s&&i&&a||!n&&a||!l)return-1}return 0}var Js=Ug;function Gg(e,r,i){for(var t=-1,a=e.criteria,o=r.criteria,n=a.length,s=i.length;++t<n;){var l=Js(a[t],o[t]);if(l){if(t>=s)return l;var u=i[t];return l*(u=="desc"?-1:1)}}return e.index-r.index}var Zs=Gg;function Hg(e,r,i){r.length?r=jt(r,function(o){return se(o)?function(n){return Ar(n,o.length===1?o[0]:o)}:o}):r=[$t];var t=-1;r=jt(r,Et(Vs));var a=Qs(e,function(o,n,s){var l=jt(r,function(u){return u(o)});return{criteria:l,index:++t,value:o}});return Ks(a,function(o,n){return Zs(o,n,i)})}var Ys=Hg;var Qg=xr(function(e,r){if(e==null)return[];var i=r.length;return i>1&&Gt(e,r[0],r[1])?r=[]:i>2&&Gt(r[0],r[1],r[2])&&(r=[r[0]]),Ys(e,As(r,1),[])}),Kg=Qg;var Jg=Ir(function(e,r,i,t){Qe(r,Je(r),e,t)}),ua=Jg;var Zg="[object DOMException]",Yg="[object Error]";function Xg(e){if(!Ce(e))return!1;var r=je(e);return r==Yg||r==Zg||typeof e.message=="string"&&typeof e.name=="string"&&!xi(e)}var Li=Xg;var eb=xr(function(e,r){try{return Ci(e,void 0,r)}catch(i){return Li(i)?i:new Error(i)}}),Xs=eb;function tb(e,r,i){var t=-1,a=e.length;r<0&&(r=-r>a?0:a+r),i=i>a?a:i,i<0&&(i+=a),a=r>i?0:i-r>>>0,r>>>=0;for(var o=Array(a);++t<a;)o[t]=e[t+r];return o}var el=tb;function rb(e,r,i){var t=e.length;return i=i===void 0?t:i,!r&&i>=t?e:el(e,r,i)}var tl=rb;var ib="\\ud800-\\udfff",ab="\\u0300-\\u036f",ob="\\ufe20-\\ufe2f",nb="\\u20d0-\\u20ff",sb=ab+ob+nb,lb="\\ufe0e\\ufe0f",pb="\\u200d",db=RegExp("["+pb+ib+sb+lb+"]");function cb(e){return db.test(e)}var Di=cb;function ub(e){return e.split("")}var rl=ub;var il="\\ud800-\\udfff",fb="\\u0300-\\u036f",hb="\\ufe20-\\ufe2f",mb="\\u20d0-\\u20ff",yb=fb+hb+mb,gb="\\ufe0e\\ufe0f",bb="["+il+"]",fa="["+yb+"]",ha="\\ud83c[\\udffb-\\udfff]",vb="(?:"+fa+"|"+ha+")",al="[^"+il+"]",ol="(?:\\ud83c[\\udde6-\\uddff]){2}",nl="[\\ud800-\\udbff][\\udc00-\\udfff]",Sb="\\u200d",sl=vb+"?",ll="["+gb+"]?",wb="(?:"+Sb+"(?:"+[al,ol,nl].join("|")+")"+ll+sl+")*",xb=ll+sl+wb,Ib="(?:"+[al+fa+"?",fa,ol,nl,bb].join("|")+")",Cb=RegExp(ha+"(?="+ha+")|"+Ib+xb,"g");function Tb(e){return e.match(Cb)||[]}var pl=Tb;function Ab(e){return Di(e)?pl(e):rl(e)}var dl=Ab;function Pb(e){return function(r){r=ct(r);var i=Di(r)?dl(r):void 0,t=i?i[0]:r.charAt(0),a=i?tl(i,1).join(""):r.slice(1);return t[e]()+a}}var cl=Pb;var Fb=cl("toUpperCase"),ul=Fb;function Ob(e){return ul(ct(e).toLowerCase())}var Eb=Ob;function Lb(e){return function(r){return e?.[r]}}var fl=Lb;var Db={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},$b=fl(Db),hl=$b;var ml=/[&<>"']/g,jb=RegExp(ml.source);function Rb(e){return e=ct(e),e&&jb.test(e)?e.replace(ml,hl):e}var yl=Rb;function _b(e,r){return jt(r,function(i){return e[i]})}var gl=_b;var kb="[object Number]";function Bb(e){return typeof e=="number"||Ce(e)&&je(e)==kb}var qb=Bb;function Mb(e){return e===null}var Nb=Mb;var bl=Object.prototype,Wb=bl.hasOwnProperty;function zb(e,r,i,t){return e===void 0||He(e,bl[i])&&!Wb.call(t,i)?r:e}var ma=zb;var Vb={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function Ub(e){return"\\"+Vb[e]}var vl=Ub;var Gb=/<%=([\s\S]+?)%>/g,$i=Gb;var Hb=/<%-([\s\S]+?)%>/g,Sl=Hb;var Qb=/<%([\s\S]+?)%>/g,wl=Qb;var Kb={escape:Sl,evaluate:wl,interpolate:$i,variable:"",imports:{_:{escape:yl}}},ya=Kb;var Jb="Invalid `variable` option passed into `_.template`",Zb=/\b__p \+= '';/g,Yb=/\b(__p \+=) '' \+/g,Xb=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ev=/[()=,{}\[\]\/\s]/,tv=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ji=/($^)/,rv=/['\n\r\u2028\u2029\\]/g,iv=Object.prototype,xl=iv.hasOwnProperty;function av(e,r,i){var t=ya.imports._.templateSettings||ya;i&&Gt(e,r,i)&&(r=void 0),e=ct(e),r=ua({},r,t,ma);var a=ua({},r.imports,t.imports,ma),o=Ke(a),n=gl(a,o),s,l,u=0,c=r.interpolate||ji,d="__p += '",p=RegExp((r.escape||ji).source+"|"+c.source+"|"+(c===$i?tv:ji).source+"|"+(r.evaluate||ji).source+"|$","g"),f=xl.call(r,"sourceURL")?"//# sourceURL="+(r.sourceURL+"").replace(/\s/g," ")+`
5
+ `:"";e.replace(p,function(b,I,S,F,w,T){return S||(S=F),d+=e.slice(u,T).replace(rv,vl),I&&(s=!0,d+=`' +
6
6
  __e(`+I+`) +
7
7
  '`),w&&(l=!0,d+=`';
8
8
  `+w+`;
9
9
  __p += '`),S&&(d+=`' +
10
10
  ((__t = (`+S+`)) == null ? '' : __t) +
11
11
  '`),u=T+b.length,b}),d+=`';
12
- `;var m=nl.call(r,"variable")&&r.variable;if(!m)d=`with (obj) {
12
+ `;var m=xl.call(r,"variable")&&r.variable;if(!m)d=`with (obj) {
13
13
  `+d+`
14
14
  }
15
- `;else if(ob.test(m))throw new Error(tb);d=(l?d.replace(rb,""):d).replace(ib,"$1").replace(ab,"$1;"),d="function("+(m||"obj")+`) {
15
+ `;else if(ev.test(m))throw new Error(Jb);d=(l?d.replace(Zb,""):d).replace(Yb,"$1").replace(Xb,"$1;"),d="function("+(m||"obj")+`) {
16
16
  `+(m?"":`obj || (obj = {});
17
17
  `)+"var __t, __p = ''"+(s?", __e = _.escape":"")+(l?`, __j = Array.prototype.join;
18
18
  function print() { __p += __j.call(arguments, '') }
19
19
  `:`;
20
20
  `)+d+`return __p
21
- }`;var y=Js(function(){return Function(o,f+"return "+d).apply(void 0,n)});if(y.source=d,Li(y))throw y;return y}var ha=pb;var ji=class extends Map{constructor(r,i=ub){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:i}}),r!=null)for(let[t,a]of r)this.set(t,a)}get(r){return super.get(sl(this,r))}has(r){return super.has(sl(this,r))}set(r,i){return super.set(db(this,r),i)}delete(r){return super.delete(cb(this,r))}};function sl({_intern:e,_key:r},i){let t=r(i);return e.has(t)?e.get(t):i}function db({_intern:e,_key:r},i){let t=r(i);return e.has(t)?e.get(t):(e.set(t,i),i)}function cb({_intern:e,_key:r},i){let t=r(i);return e.has(t)&&(i=e.get(t),e.delete(t)),i}function ub(e){return e!==null&&typeof e=="object"?e.valueOf():e}function ma(e){return e}function fb(e,r,...i){return hb(e,ma,r,i)}function hb(e,r,i,t){return function a(o,n){if(n>=t.length)return i(o);let s=new ji,l=t[n++],u=-1;for(let c of o){let d=l(c,++u,o),p=s.get(d);p?p.push(c):s.set(d,[c])}for(let[c,d]of s)s.set(c,a(d,n));return r(s)}(e,0)}function ll(e,r){let i;if(r===void 0)for(let t of e)t!=null&&(i<t||i===void 0&&t>=t)&&(i=t);else{let t=-1;for(let a of e)(a=r(a,++t,e))!=null&&(i<a||i===void 0&&a>=a)&&(i=a)}return i}function pl(e,r){let i;if(r===void 0)for(let t of e)t!=null&&(i>t||i===void 0&&t>=t)&&(i=t);else{let t=-1;for(let a of e)(a=r(a,++t,e))!=null&&(i>a||i===void 0&&a>=a)&&(i=a)}return i}function dl(e,r){let i=0,t=0;if(r===void 0)for(let a of e)a!=null&&(a=+a)>=a&&(++i,t+=a);else{let a=-1;for(let o of e)(o=r(o,++a,e))!=null&&(o=+o)>=o&&(++i,t+=o)}if(i)return t/i}function cl(e,r,i){e=+e,r=+r,i=(a=arguments.length)<2?(r=e,e=0,1):a<3?1:+i;for(var t=-1,a=Math.max(0,Math.ceil((r-e)/i))|0,o=new Array(a);++t<a;)o[t]=e+t*i;return o}function ul(e,r){let i=0;if(r===void 0)for(let t of e)(t=+t)&&(i+=t);else{let t=-1;for(let a of e)(a=+r(a,++t,e))&&(i+=a)}return i}function Nr(e,r){let i,t;if(r===void 0)for(let a of e)a!=null&&(i===void 0?a>=a&&(i=t=a):(i>a&&(i=a),t<a&&(t=a)));else{let a=-1;for(let o of e)(o=r(o,++a,e))!=null&&(i===void 0?o>=o&&(i=t=o):(i>o&&(i=o),t<o&&(t=o)))}return[i,t]}var St="22.0.0";var Gt={$schema:"http://json-schema.org/draft-07/schema#",definitions:{ValueConversion:{type:"object",properties:{factor:{type:"number",description:"A numeric value multiplying the value to convert"},offset:{type:"number",description:"A numeric offset to apply to the value to convert"}},description:"Stores information regarding a numeric conversion",title:"ValueConversion"},WebChartAxisScrollBar:{type:"object",properties:{visible:{type:"boolean",description:"Scrollbar visibility",default:!1},width:{type:"number",description:"Scrollbar width in pixels"},color:{$ref:"#/definitions/Color",description:"Scrollbar color"},gripSize:{type:"number",description:"Grip size in pixels"},margin:{type:"number",description:"Margin between the scrollbar and the series container in pixels"}},description:"Describes the properties of an axis scrollbar",title:"WebChartAxisScrollBar"},Color:{type:"array",items:{type:"number"},minItems:4,maxItems:4,title:"Color"},WebChartTextSymbol:{type:"object",properties:{xoffset:{type:["number","string"],description:`Horizontal offset. Can be a number for a fixed value in pixels, or a string as "25%" for a value relative to the label's container width.`},yoffset:{type:["number","string"],description:`Horizontal offset. Can be a number for a fixed value in pixels, or a string as "25%" for a value relative to the label's container height.`},angle:{type:"number",description:"Rotation of the label"},style:{type:"string",description:"Label style"},type:{type:"string",const:"esriTS"},color:{$ref:"#/definitions/Color"},backgroundColor:{$ref:"#/definitions/Color"},borderLineSize:{type:"number"},borderLineColor:{$ref:"#/definitions/Color"},haloSize:{type:"number"},haloColor:{$ref:"#/definitions/Color"},verticalAlignment:{type:"string",enum:["baseline","bottom","middle","top"]},horizontalAlignment:{type:"string",enum:["center","justify","left","right"]},rightToLeft:{type:"boolean"},kerning:{type:"boolean"},font:{$ref:"#/definitions/IFont"},text:{type:"string"}},required:["type"],description:"Represents a text symbol.",title:"WebChartTextSymbol"},'Omit<ITextSymbol,("angle"|"style"|"xoffset"|"yoffset")>':{$ref:"#/definitions/Pick%3CITextSymbol%2CExclude%3C(%22type%22%7C%22color%22%7C%22backgroundColor%22%7C%22borderLineSize%22%7C%22borderLineColor%22%7C%22haloSize%22%7C%22haloColor%22%7C%22verticalAlignment%22%7C%22horizontalAlignment%22%7C%22rightToLeft%22%7C%22kerning%22%7C%22font%22%7C%22text%22%7C%22angle%22%7C%22xoffset%22%7C%22yoffset%22%7C%22style%22%7Cstring)%2C(%22angle%22%7C%22style%22%7C%22xoffset%22%7C%22yoffset%22)%3E%3E",title:'Omit<ITextSymbol,("angle"|"style"|"xoffset"|"yoffset")>'},'Pick<ITextSymbol,Exclude<("type"|"color"|"backgroundColor"|"borderLineSize"|"borderLineColor"|"haloSize"|"haloColor"|"verticalAlignment"|"horizontalAlignment"|"rightToLeft"|"kerning"|"font"|"text"|"angle"|"xoffset"|"yoffset"|"style"|string),("angle"|"style"|"xoffset"|"yoffset")>>':{type:"object",properties:{type:{type:"string",const:"esriTS"},color:{$ref:"#/definitions/Color"},backgroundColor:{$ref:"#/definitions/Color"},borderLineSize:{type:"number"},borderLineColor:{$ref:"#/definitions/Color"},haloSize:{type:"number"},haloColor:{$ref:"#/definitions/Color"},verticalAlignment:{type:"string",enum:["baseline","bottom","middle","top"]},horizontalAlignment:{type:"string",enum:["center","justify","left","right"]},rightToLeft:{type:"boolean"},kerning:{type:"boolean"},font:{$ref:"#/definitions/IFont"},text:{type:"string"}},required:["type"],title:'Pick<ITextSymbol,Exclude<("type"|"color"|"backgroundColor"|"borderLineSize"|"borderLineColor"|"haloSize"|"haloColor"|"verticalAlignment"|"horizontalAlignment"|"rightToLeft"|"kerning"|"font"|"text"|"angle"|"xoffset"|"yoffset"|"style"|string),("angle"|"style"|"xoffset"|"yoffset")>>'},IFont:{type:"object",properties:{family:{type:"string"},size:{type:"number"},style:{type:"string",enum:["italic","normal","oblique"]},weight:{type:"string",enum:["bold","bolder","lighter","normal"]},decoration:{type:"string",enum:["line-through","none","underline"]}},title:"IFont"},WebChartText:{type:"object",properties:{type:{type:"string",const:"chartText",description:'Represents a unique string identifier for the ChartText object. For ChartText object, it is "chartText".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},content:{$ref:"#/definitions/WebChartTextSymbol",description:"Contains the styling info and text content. Details on **esriTS** are [here](https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm)."}},required:["type","content"],description:"Stores info on how some text is rendered on the chart and whether it is visible or not.",title:"WebChartText"},WebChartCursorCrosshair:{type:"object",properties:{type:{type:"string",const:"cursorCrosshair",description:"Represents a unique string identifier for the chart cursor's crosshair."},style:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the chart cursor's crosshair should be rendered."},verticalLineVisible:{type:"boolean",description:"Indicates whether the vertical crosshair line should be displayed",default:!1},horizontalLineVisible:{type:"boolean",description:"Indicates whether the horizontal crosshair line should be displayed",default:!1}},required:["type"],description:"JSON representation of the cursor's crosshair for a chart.",title:"WebChartCursorCrosshair"},ISimpleLineSymbol:{type:"object",properties:{type:{type:"string",const:"esriSLS"},style:{$ref:"#/definitions/SimpleLineSymbolStyle"},color:{$ref:"#/definitions/Color"},width:{type:"number"}},required:["type"],title:"ISimpleLineSymbol"},ISymbol:{type:"object",properties:{type:{$ref:"#/definitions/SymbolType"},style:{type:"string"}},required:["type"],title:"ISymbol"},SymbolType:{type:"string",enum:["esriPFS","esriPMS","esriSFS","esriSLS","esriSMS","esriTS"],title:"SymbolType"},SimpleLineSymbolStyle:{type:"string",enum:["esriSLSDash","esriSLSDashDot","esriSLSDashDotDot","esriSLSDot","esriSLSNull","esriSLSSolid"],title:"SimpleLineSymbolStyle"},WebChartLegend:{type:"object",properties:{type:{type:"string",const:"chartLegend",description:'Represents a unique string identifier for the ChartLegend object. For ChartLegend object, it is "chartLegend".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the legend box should be rendered"},body:{$ref:"#/definitions/WebChartTextSymbol",description:"Contains styling info on how legend body (excluding the **title**) should be rendered. Will use default styling if not provided."},position:{$ref:"#/definitions/WebChartLegendPositions",description:'Positions the legends at `"right"`, `"left"`, `"top"`, or `"bottom"` of the chart.',default:"WebChartLegendPositions.Right"},maxHeight:{type:["number","null"],description:"Legend's maximum height. If not set the legend will occupy the same height as the series container or pie chart.",default:null},roundMarkers:{type:"boolean",description:"Allows the legend markers to be displayed as circles. If the property is to:\n- `false` or `undefined` they will be rounded rectangles\n- `true` they will be circles",default:!1}},required:["type"],description:"JSON representation of the Chart's legend box",title:"WebChartLegend"},WebChartLegendPositions:{type:"string",enum:["left","right","top","bottom"],title:"WebChartLegendPositions"},WebChartPieChartLegend:{type:"object",properties:{type:{type:"string",const:"chartLegend",description:'Represents a unique string identifier for the ChartLegend object. For ChartLegend object, it is "chartLegend".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the legend box should be rendered"},body:{$ref:"#/definitions/WebChartTextSymbol",description:"Contains styling info on how legend body (excluding the **title**) should be rendered. Will use default styling if not provided."},position:{$ref:"#/definitions/WebChartLegendPositions",description:'Positions the legends at `"right"`, `"left"`, `"top"`, or `"bottom"` of the chart.',default:"WebChartLegendPositions.Right"},maxHeight:{type:["number","null"],description:"Legend's maximum height. If not set the legend will occupy the same height as the series container or pie chart.",default:null},roundMarkers:{type:"boolean",description:"Allows the legend markers to be displayed as circles. If the property is to:\n- `false` or `undefined` they will be rounded rectangles\n- `true` they will be circles",default:!1},displayNumericValue:{type:"boolean",description:"Indicates whether the numeric value associated to a slice is to be displayed in the legend. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)`",default:!1},displayPercentage:{type:"boolean",description:"Indicates whether the percentage to a slice is to be displayed in the legend. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)`",default:!1},labelMaxWidth:{type:"number",description:"Maximum width in pixels of the label displaying the slice name. If the label is larger than the maximum width, it will automatically wrap.",default:200},valueLabelMaxWidth:{type:"number",description:"Maximum width in pixels of the label displaying the slice name. If the label is larger than the maximum width, it will automatically wrap.",default:200}},required:["type"],description:"Specific legend for the Pie chart",title:"WebChartPieChartLegend"},WebChartOverlay:{type:"object",properties:{type:{type:"string",const:"chartOverlay",description:'Represents a unique string identifier for the ChartOverlay object. For ChartOverlay object, it is "chartOverlay".'},created:{type:"boolean",description:"Determines whether the overlay is created under the hood. It may or may not be visible.",default:!1},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},symbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the overlay should be rendered If not provided a default style is applied."}},required:["type"],description:"JSON representation of the chart's overlays like trendline scatter plot, and median in histogram",title:"WebChartOverlay"},NumberFormatOptions:{type:"object",properties:{type:{type:"string",const:"number",description:'Represents a unique string identifier for the NumberFormatOptions object. For NumberFormatOptions object, it is "number". It can help us to differentiate numerical (value) axis from other types of axes viz., date-time axis and category axis.'},intlOptions:{$ref:"#/definitions/Intl.NumberFormatOptions",description:"Represents the JS native [Intl.NumberFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat), which is based on [CLDR](http://cldr.unicode.org/translation/numbers-currency/number-patterns) specifications."}},required:["type","intlOptions"],description:"Defines how the numerical(value) axis data should be formatted.",title:"NumberFormatOptions"},"Intl.NumberFormatOptions":{type:"object",properties:{localeMatcher:{type:"string",enum:["lookup","best fit"]},style:{$ref:"#/definitions/Intl.NumberFormatOptionsStyle"},currency:{type:"string"},currencyDisplay:{$ref:"#/definitions/Intl.NumberFormatOptionsCurrencyDisplay"},useGrouping:{$ref:"#/definitions/Intl.NumberFormatOptionsUseGrouping"},minimumIntegerDigits:{type:"number"},minimumFractionDigits:{type:"number"},maximumFractionDigits:{type:"number"},minimumSignificantDigits:{type:"number"},maximumSignificantDigits:{type:"number"}},title:"Intl.NumberFormatOptions"},"Intl.NumberFormatOptionsStyle":{title:"Intl.NumberFormatOptionsStyle"},"Intl.NumberFormatOptionsCurrencyDisplay":{title:"Intl.NumberFormatOptionsCurrencyDisplay"},"Intl.NumberFormatOptionsUseGrouping":{type:"boolean",title:"Intl.NumberFormatOptionsUseGrouping"},WebChartDateTimeUnitFormatOptions:{type:"object",properties:{year:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},month:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},day:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},hour:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},minute:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},second:{$ref:"#/definitions/Intl.DateTimeFormatOptions"}},description:'Interface used by the axis `valueFormat` property to describe how to format specific date and time units when displayed on the axis. For instance: "year": { year: "numeric" } "month": { month: "numeric" } "day": { day: "2-digit" } "hour": { day: "numeric" } "minute": { minute: "numeric" } "second": { second: "numeric" } Reference: https://tc39.es/ecma402/#sec-datetimeformat-abstracts',title:"WebChartDateTimeUnitFormatOptions"},"Intl.DateTimeFormatOptions":{type:"object",properties:{localeMatcher:{type:"string",enum:["best fit","lookup"]},weekday:{type:"string",enum:["long","short","narrow"]},era:{type:"string",enum:["long","short","narrow"]},year:{type:"string",enum:["numeric","2-digit"]},month:{type:"string",enum:["numeric","2-digit","long","short","narrow"]},day:{type:"string",enum:["numeric","2-digit"]},hour:{type:"string",enum:["numeric","2-digit"]},minute:{type:"string",enum:["numeric","2-digit"]},second:{type:"string",enum:["numeric","2-digit"]},timeZoneName:{type:"string",enum:["short","long","shortOffset","longOffset","shortGeneric","longGeneric"]},formatMatcher:{type:"string",enum:["best fit","basic"]},hour12:{type:"boolean"},timeZone:{type:"string"}},title:"Intl.DateTimeFormatOptions"},DateTimeFormatOptions:{type:"object",properties:{type:{type:"string",const:"date",description:'Represents a unique string identifier for the NumberFormatOptions object. For NumberFormatOptions object, it is "date". It can help us to differentiate date-time axis from other types of axes viz., numeric (value) axis and category axis.'},intlOptions:{$ref:"#/definitions/Intl.DateTimeFormatOptions",description:"Represent the JS native [Intl.DateTimeFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormatt), which is based on [CLDR](http://cldr.unicode.org/translation/date-time-1/date-time-patterns) specifications."},formatPerDateTimeUnit:{$ref:"#/definitions/WebChartDateTimeUnitFormatOptions",description:"Represents how to format specific date and time units when displayed on the axis, independently from the `intlOptions`."}},required:["type","intlOptions"],description:"Defines how the DateTime axis data should be formatted.",title:"DateTimeFormatOptions"},CategoryFormatOptions:{type:"object",properties:{type:{type:"string",const:"category",description:'Represents a unique string identifier for the CategoryFormatOptions object. For CategoryFormatOptions object, it is "category". It can help us to differentiate category axis from other types of axes, viz., date-time axis and numeric (value) axis.'},characterLimit:{type:["number","null"],description:"Represents a positive integer which represents the limit on the number of characters to be displayed for all the category strings. The truncated string are appended with `...`. If property is not present or `null`, no truncation is done.",minimum:1,multipleOf:1}},required:["type"],description:"Defines how the category axis data (Categories) should be formatted.",title:"CategoryFormatOptions"},WebChartGuide:{type:"object",properties:{type:{type:"string",const:"chartGuide",description:'Represents a unique string identifier for the Guide object. For Guide class, it is "chartGuide".'},start:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"Determines the value where the guide should begin."},end:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"Determines the value where the guide should end. If it is not specified, we get a line guide, otherwise we get a fill/rectangular guide."},style:{anyOf:[{$ref:"#/definitions/ISimpleFillSymbol"},{$ref:"#/definitions/ISimpleLineSymbol"}],description:"Determines how the guide should be rendered. Line guide requires [esriSLS](https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm) format, and fill guide requires [esriSFS](https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm) format."},name:{type:"string",description:"A unique string identifier which is used to refer to a particular guide. It is displayed in the Chart Authoring UI to differentiate between different guides."},label:{$ref:"#/definitions/WebChartTextSymbol",description:"Defines a text label for the given guide. It is displayed on the chart next to the concerned guide and is styled using **esriTS** format."},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},above:{type:"boolean",description:"Determines whether the guide should be rendered on top of (overlapping) the series or under the series.",default:!1},tooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the guide's tooltip background (false) or its outline (true).",default:!1}},required:["type","start","style","name"],description:"JSON representation of the chart's guide object. Can be used to represent both line and fill guides.",title:"WebChartGuide"},ISimpleFillSymbol:{type:"object",properties:{type:{type:"string",const:"esriSFS"},style:{$ref:"#/definitions/SimpleFillSymbolStyle"},color:{$ref:"#/definitions/Color"},outline:{$ref:"#/definitions/ISimpleLineSymbol"}},required:["type"],title:"ISimpleFillSymbol"},SimpleFillSymbolStyle:{type:"string",enum:["esriSFSBackwardDiagonal","esriSFSCross","esriSFSDiagonalCross","esriSFSForwardDiagonal","esriSFSHorizontal","esriSFSNull","esriSFSSolid","esriSFSVertical"],title:"SimpleFillSymbolStyle"},WebChartAxis:{type:"object",properties:{type:{type:"string",const:"chartAxis",description:'Represents a unique string identifier for the WebChartAxis object. For ChartAxis object, it is "chartAxis".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},isLogarithmic:{type:"boolean",description:"Specifies whether the axis has a logarithmic scale or not.",default:!1},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the axis should be rendered"},valueFormat:{anyOf:[{$ref:"#/definitions/CategoryFormatOptions"},{$ref:"#/definitions/DateTimeFormatOptions"},{$ref:"#/definitions/NumberFormatOptions"}],description:"Specifies how numerical/categorical/date-time values should be formatted."},minimum:{type:["number","null"],description:"The minimum value which the axis should represent, when it is not defined or null, then the minimum value for the corresponding axis is automatically calculated."},maximum:{type:["number","null"],description:"The maximum value which the axis should represent, when it is not defined or null, then the maximum value for the corresponding axis is automatically calculated."},grid:{$ref:"#/definitions/ISimpleLineSymbol",description:"Dictates how the grid lines associated with a particular axis should be rendered."},guides:{type:"array",items:{$ref:"#/definitions/WebChartGuide"},description:"Represent an array of guides that should be rendered onto the axis."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the axis line should be rendered. If not provided a default style is applied."},labels:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the axis labels should be rendered."},scrollbar:{$ref:"#/definitions/WebChartAxisScrollBar",description:"Represents the axis scrollbar style and visibility"},displayZeroLine:{type:"boolean",description:"Represents an option to hide/un-hide the zero line on value axis",default:!1},integerOnlyValues:{type:"boolean",description:"Represents an option to show `integer-only` values for a value axis",default:!1},displayCursorTooltip:{type:"boolean",description:"Specifies whether cursor tooltip should be displayed.",default:!1},buffer:{type:"boolean",description:"Allows setting a buffer to a **value axis** to provide some space around the series.",default:!1},tickSpacing:{type:"number",description:"The desired minimum distance between two adjacent axis ticks. The actual distance may fluctuate depending on the chart's size. When not provided a default value is assigned according to the axis type and axis labels behavior.",minimum:1},dateBaseInterval:{$ref:"#/definitions/TimeIntervalInfo",description:"Specifies the base interval on a date axis. Will be ignored on the other axis types. It will be overridden by the properties from the series `binTemporalData` when provided."}},required:["type","valueFormat","labels"],description:"JSON representation of the chart's axis object",title:"WebChartAxis"},TimeIntervalInfo:{type:"object",properties:{unit:{$ref:"#/definitions/WebChartTemporalBinningUnits"},size:{type:"number"}},title:"TimeIntervalInfo"},WebChartTemporalBinningUnits:{type:"string",enum:["seconds","minutes","hours","days","weeks","months","quarters","years"],description:"The temporal binning units",title:"WebChartTemporalBinningUnits"},WebChartGaugeAxisTick:{type:"object",properties:{type:{type:"string",const:"gaugeAxisTick",description:'Represents a unique string identifier for the GaugeAxisTick object. For WebChartGaugeAxisTick object, it is "gaugeAxisTick".'},visible:{type:"boolean",description:"Determines the visibility of the axis ticks.",default:!0}},required:["type"],description:"JSON representation of the gauge axis ticks. Currently only used by WebChartGaugeAxis.",title:"WebChartGaugeAxisTick"},WebChartNeedle:{type:"object",properties:{type:{type:"string",const:"gaugeNeedle",description:'Represents a unique string identifier for the ChartNeedle object. For WebChartNeedle object, it is "gaugeNeedle".'},visible:{type:"boolean",description:"Hides or shows the needle.",default:!0},symbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the needle should be rendered"},startWidth:{type:["number","null"],description:"Represents the needle's thickness at the bottom (chart's center), in px",minimum:1,default:10},endWidth:{type:["number","null"],description:"Represents the needle's thickness at the top, in px",minimum:1,default:1},innerRadius:{type:["number","null"],description:"Represents the size of the hole in the middle of the chart. Can be visualized when guides are displayed.",minimum:0,maximum:100,default:25},displayPin:{type:"boolean",description:"Hides or shows the needle's pin (centroid circle)",default:!1}},required:["type"],description:"JSON representation of a gauge needle.",title:"WebChartNeedle"},WebChartGaugeAxis:{type:"object",properties:{type:{type:"string",const:"chartAxis",description:'Represents a unique string identifier for the WebChartAxis object. For ChartAxis object, it is "chartAxis".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},isLogarithmic:{type:"boolean",description:"Specifies whether the axis has a logarithmic scale or not.",default:!1},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the axis should be rendered"},valueFormat:{anyOf:[{$ref:"#/definitions/CategoryFormatOptions"},{$ref:"#/definitions/DateTimeFormatOptions"},{$ref:"#/definitions/NumberFormatOptions"}],description:"Specifies how numerical/categorical/date-time values should be formatted."},minimum:{type:["number","null"],description:"The minimum value which the axis should represent, when it is not defined or null, then the minimum value for the corresponding axis is automatically calculated."},maximum:{type:["number","null"],description:"The maximum value which the axis should represent, when it is not defined or null, then the maximum value for the corresponding axis is automatically calculated."},grid:{$ref:"#/definitions/ISimpleLineSymbol",description:"Dictates how the grid lines associated with a particular axis should be rendered."},guides:{type:"array",items:{$ref:"#/definitions/WebChartGuide"},description:"Represent an array of guides that should be rendered onto the axis."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the axis line should be rendered. If not provided a default style is applied."},labels:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the axis labels should be rendered."},scrollbar:{$ref:"#/definitions/WebChartAxisScrollBar",description:"Represents the axis scrollbar style and visibility"},displayZeroLine:{type:"boolean",description:"Represents an option to hide/un-hide the zero line on value axis",default:!1},integerOnlyValues:{type:"boolean",description:"Represents an option to show `integer-only` values for a value axis",default:!1},displayCursorTooltip:{type:"boolean",description:"Specifies whether cursor tooltip should be displayed.",default:!1},buffer:{type:"boolean",description:"Allows setting a buffer to a **value axis** to provide some space around the series.",default:!1},tickSpacing:{type:"number",description:"The desired minimum distance between two adjacent axis ticks. The actual distance may fluctuate depending on the chart's size. When not provided a default value is assigned according to the axis type and axis labels behavior.",minimum:1},dateBaseInterval:{$ref:"#/definitions/TimeIntervalInfo",description:"Specifies the base interval on a date axis. Will be ignored on the other axis types. It will be overridden by the properties from the series `binTemporalData` when provided."},innerLabel:{$ref:"#/definitions/WebChartText",description:"Specifies how the axis' inner label needs to be displayed"},needle:{$ref:"#/definitions/WebChartNeedle",description:"Specifies how the axis' needle needs to be displayed"},ticks:{$ref:"#/definitions/WebChartGaugeAxisTick",description:"Specifies how the axis' ticks need to be displayed"},labelsIncrement:{type:"number",description:"If a label has a value being a multiple of that property, it will be displayed. Otherwise it will be hidden.\n\nIf the property is `undefined` or 0, the chart will be displayed with 6 axis labels distributed evenly along the axis min and max.\n\nIf the property has a value that results in more than a set limit of axis labels (25 as defined in `ChartDefaults.gauge.maximumNumberOfLabelIntervals`) this property value will be ignored and the chart will be displayed with only axis min/max with 4 ticks in between.",default:"undefined"},onlyShowFirstAndLastLabels:{type:"boolean",description:"Specifies if only the first and last labels need to be displayed. If set to `true` all the other labels will be hidden. Their visibility still depends on the axis labels visibility (WebChartAxis.labels.visible).",default:!1},minimumValueConversion:{$ref:"#/definitions/ValueConversion",description:"Defines how to convert the axis minimum"},maximumValueConversion:{$ref:"#/definitions/ValueConversion",description:"Defines how to convert the axis maximum"},minimumFromField:{anyOf:[{$ref:"#/definitions/IStatisticDefinition"},{type:"string"}],description:"If used with a gauge by feature:\n- `minimumFromField` is expected to be a field name. The value from that field for the given feature is mapped to the axis minimum value If used with a statistic gauge:\n- If `minimumFromField` is set to a field name (string), the minimum from that field is mapped to the axis minimum value\n- If it is set to an `IStatisticDefinition` the statistic (min, max, avg...) from the given field is mapped to the axis minimum value When `minimumFromField` is not provided or when it leads to an invalid value, the `minimum` value from the axis config, if provided, or the default value of 0, in that order, will be used."},maximumFromField:{anyOf:[{$ref:"#/definitions/IStatisticDefinition"},{type:"string"}],description:"If used with a gauge by feature:\n- `maximumFromField` is expected to be a field name. The value from that field for the given feature is mapped to the axis maximum value If used with a statistic gauge:\n- If `maximumFromField` is set to a field name (string), the maximum from that field is mapped to the axis maximum value\n- If it is set to an `IStatisticDefinition` the statistic (min, max, avg...) from the given field is mapped to the axis maximum value When `maximumFromField` is not provided or when it leads to an invalid value, the `maximum` value from the axis config, if provided, or the default value of 0, in that order, will be used."}},required:["labels","type","valueFormat"],description:"JSON representation of the gauge chart's axis object. Inherits from the WebChartAxis properties.",title:"WebChartGaugeAxis"},IStatisticDefinition:{type:"object",properties:{statisticType:{type:"string",enum:["avg","centroid-aggregate","convex-hull-aggregate","count","envelope-aggregate","max","min","percentile-continuous","percentile-discrete","stddev","sum","var"],description:"Statistical operation to perform (count, sum, min, max, avg, stddev, var, percentile_cont, percentile_disc, EnvelopeAggregate, CentroidAggregate, ConvexHullAggregate)."},statisticParameters:{type:"object",properties:{value:{type:"number"},orderBy:{type:"string",enum:["asc","desc"]}},required:["value"],description:"Parameters to be used along with statisticType. Currently, only applicable for percentile-continuous (continuous percentile) and percentile-discrete (discrete percentile)."},onStatisticField:{type:"string",description:"Field on which to perform the statistical operation."},outStatisticFieldName:{type:"string",description:"Field name for the returned statistic field. If outStatisticFieldName is empty or missing, the server will assign one. A valid field name can only contain alphanumeric characters and an underscore. If the outStatisticFieldName is a reserved keyword of the underlying DBMS, the operation can fail. Try specifying an alternative outStatisticFieldName."}},required:["statisticType","onStatisticField"],title:"IStatisticDefinition"},WebChartRadarChartAxis:{type:"object",properties:{type:{type:"string",const:"chartAxis",description:'Represents a unique string identifier for the WebChartAxis object. For ChartAxis object, it is "chartAxis".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},isLogarithmic:{type:"boolean",description:"Specifies whether the axis has a logarithmic scale or not.",default:!1},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the axis should be rendered"},valueFormat:{anyOf:[{$ref:"#/definitions/CategoryFormatOptions"},{$ref:"#/definitions/DateTimeFormatOptions"},{$ref:"#/definitions/NumberFormatOptions"}],description:"Specifies how numerical/categorical/date-time values should be formatted."},minimum:{type:["number","null"],description:"The minimum value which the axis should represent, when it is not defined or null, then the minimum value for the corresponding axis is automatically calculated."},maximum:{type:["number","null"],description:"The maximum value which the axis should represent, when it is not defined or null, then the maximum value for the corresponding axis is automatically calculated."},grid:{$ref:"#/definitions/ISimpleLineSymbol",description:"Dictates how the grid lines associated with a particular axis should be rendered."},guides:{type:"array",items:{$ref:"#/definitions/WebChartGuide"},description:"Represent an array of guides that should be rendered onto the axis."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the axis line should be rendered. If not provided a default style is applied."},labels:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the axis labels should be rendered."},scrollbar:{$ref:"#/definitions/WebChartAxisScrollBar",description:"Represents the axis scrollbar style and visibility"},displayZeroLine:{type:"boolean",description:"Represents an option to hide/un-hide the zero line on value axis",default:!1},integerOnlyValues:{type:"boolean",description:"Represents an option to show `integer-only` values for a value axis",default:!1},displayCursorTooltip:{type:"boolean",description:"Specifies whether cursor tooltip should be displayed.",default:!1},buffer:{type:"boolean",description:"Allows setting a buffer to a **value axis** to provide some space around the series.",default:!1},tickSpacing:{type:"number",description:"The desired minimum distance between two adjacent axis ticks. The actual distance may fluctuate depending on the chart's size. When not provided a default value is assigned according to the axis type and axis labels behavior.",minimum:1},dateBaseInterval:{$ref:"#/definitions/TimeIntervalInfo",description:"Specifies the base interval on a date axis. Will be ignored on the other axis types. It will be overridden by the properties from the series `binTemporalData` when provided."},labelsOrientation:{$ref:"#/definitions/WebChartRadarChartAxisLabelsOrientation",description:"Defines the labels orientation",default:"WebChartRadarChartAxisLabelsOrientation.Circular"}},required:["labels","type","valueFormat"],description:"JSON representation of the radar chart's axis object.",title:"WebChartRadarChartAxis"},WebChartRadarChartAxisLabelsOrientation:{type:"string",enum:["radial","circular","horizontal"],description:"Labels orientation for radar chart axes.",title:"WebChartRadarChartAxisLabelsOrientation"},WebChartQuery:{type:"object",properties:{outFields:{type:"array",items:{type:"string"},description:"Attribute fields to include in the FeatureSet. Will have an effect on chart with no aggregation."},where:{type:"string",description:"Acts as a filter on the base data for attribute-based filtering, expect for bar/line charts for which is is used to handle the split-by field values."},groupByFieldsForStatistics:{type:"array",items:{type:"string"},description:"An array of fields which determine how the base data is grouped. Only one **groupBy** Field is supported, but ArcGIS JSAPI [supports multiple groupBy fields](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#groupByFieldsForStatistics). While splitting by multiple group-by fields is possible, it is not being done because of the number of series it will give rise to (equal to the length of the Cartesian product set) possibly making the visualization hard to interpret.",maxItems:1},outStatistics:{type:"array",items:{$ref:"#/definitions/IStatisticDefinition"},description:"Represents an array of statistics definitions which dictate how a particular field should be aggregated. Refer to [JSAPI Statistics Definition class](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-StatisticDefinition.html) for more info."},orderByFields:{type:"array",items:{type:"string"},description:"Represents the sorting order of the output result. More info present in [JSAPI docs](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#orderByFields). The format of any entry in this array is `field_name sorting_order`. When `sorting_order` is not defined, it is assumed to be ascending."},gdbVersion:{type:"string",description:"Specifies the geodatabase version to display for feature service queries."},geometry:{anyOf:[{$ref:"#/definitions/IEnvelope"},{$ref:"#/definitions/IExtent"},{$ref:"#/definitions/IPoint"},{$ref:"#/definitions/IPolygon"},{$ref:"#/definitions/IPolygonWithCurves"},{$ref:"#/definitions/IPolyline"}],description:"The geometry to apply to the spatial filter. A buffer can be applied to it by setting the properties `distance` and `units`."},spatialRelationship:{description:"For spatial filters, this parameter defines the spatial relationship to filter features in the layer view against the filter geometry."},distance:{type:"number",description:"Specifies a search distance for the `geometry`. To be associated with the `units` property. For compatible layers only."},units:{$ref:"#/definitions/RESTUnits",description:"The unit for calculating the buffer distance when `distance` and `geometry` are provided. If not specified, the unit is derived from the geometry spatial reference."},timeExtent:{type:"array",items:{type:"number"},minItems:2,maxItems:2,description:"A time extent ([timestamp, timestamp]) for a temporal query against time-aware layers."},start:{type:"number",description:"The zero-based index indicating where to begin retrieving features."},num:{type:"number",description:"The number of features to retrieve."},returnDistinctValues:{type:"boolean",description:"If true then the query returns distinct values based on the field(s) specified in outFields. Available for count-based aggregations only.",default:!1},fetchNullValues:{type:"boolean",description:"Indicates whether to fetch null values for them to be counted or displayed as categories on the chart.",default:!1},objectIds:{type:"array",items:{type:"number"},description:"An array of objectIds of the features to be filtered."}},description:"Chart query object inspired by [JSAPI Query](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html) class.",title:"WebChartQuery"},IEnvelope:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},xmin:{type:"number"},xmax:{type:"number"},ymin:{type:"number"},ymax:{type:"number"},zmin:{type:"number"},zmax:{type:"number"},mmin:{type:"number"},mmax:{type:"number"}},required:["xmin","xmax","ymin","ymax"],description:"An envelope is a rectangle defined by a range of values for each coordinate and attribute.",title:"IEnvelope"},IGeometry:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"}},description:'a building block for discrete geometries\n\n`IGeometry` can also be imported from the following packages:\n\n```js import { IGeometry } from "@esri/arcgis-rest-feature-layer"; ```',title:"IGeometry"},ISpatialReference:{type:"object",properties:{wkid:{type:["number","null"]},latestWkid:{type:"number"},vcsWkid:{type:"number"},latestVcsWkid:{type:"number"},wkt:{type:["string","null"]},latestWkt:{type:"string"}},description:'Spatial reference systems define mathematical transformations and coordinate systems for displaying spatial information in 2D and 3D.\n\n`ISpatialReference` can also be imported from the following packages:\n\n```js import { ISpatialReference } from "@esri/arcgis-rest-geocoding"; import { ISpatialReference } from "@esri/arcgis-rest-routing"; import { ISpatialReference } from "@esri/arcgis-rest-service-admin"; import { ISpatialReference } from "@esri/arcgis-rest-feature-layer"; ```',title:"ISpatialReference"},IExtent:{type:"object",properties:{xmin:{type:"number"},ymin:{type:"number"},zmin:{type:"number"},xmax:{type:"number"},ymax:{type:"number"},zmax:{type:"number"},spatialReference:{$ref:"#/definitions/ISpatialReference"}},required:["xmin","ymin","xmax","ymax"],description:'Extents are used to define rectangles and bounding boxes.\n\n`IExtent` can also be imported from the following packages:\n\n```js import { IExtent } from "@esri/arcgis-rest-geocoding"; import { IExtent } from "@esri/arcgis-rest-service-admin"; import { IExtent } from "@esri/arcgis-rest-feature-layer"; ```',title:"IExtent"},IPoint:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},x:{type:"number"},y:{type:"number"},z:{type:"number"}},required:["x","y"],description:'A simple point geometry, with spatial reference defined.\n\n`IPoint` can also be imported from the following packages:\n\n```js import { IPoint } from "@esri/arcgis-rest-routing"; import { IPoint } from "@esri/arcgis-rest-geocoding"; ```',title:"IPoint"},IHasZM:{type:"object",properties:{hasZ:{type:"boolean"},hasM:{type:"boolean"}},description:'`IHasZM` can also be imported from the following packages:\n\n```js import { IHasZM } from "@esri/arcgis-rest-feature-layer"; ```',title:"IHasZM"},IPolygon:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},rings:{type:"array",items:{type:"array",items:{$ref:"#/definitions/Position"}}}},required:["rings"],title:"IPolygon"},Position:{anyOf:[{$ref:"#/definitions/Position2D"},{type:"array",items:{type:"number"},minItems:4,maxItems:4},{type:"array",items:{type:"number"},minItems:3,maxItems:3}],title:"Position"},Position2D:{type:"array",items:{type:"number"},minItems:2,maxItems:2,title:"Position2D"},IPolygonWithCurves:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},curveRings:{type:"array",items:{type:"array",items:{anyOf:[{$ref:"#/definitions/JsonCurve"},{$ref:"#/definitions/Position"}]}}}},required:["curveRings"],title:"IPolygonWithCurves"},JsonCurve:{anyOf:[{$ref:"#/definitions/IArc"},{$ref:"#/definitions/IBezierCurve"},{$ref:"#/definitions/ICircularArc"},{$ref:"#/definitions/IOldCircularArc"}],title:"JsonCurve"},IArc:{type:"object",properties:{a:{type:"array",minItems:7,items:[{$ref:"#/definitions/Position"},{$ref:"#/definitions/Position2D"},{type:"number"},{type:"number"},{type:"number"},{type:"number"},{type:"number"}],maxItems:7}},required:["a"],description:"an arc can be represented as a JSON curve object",title:"IArc"},IBezierCurve:{type:"object",properties:{b:{type:"array",minItems:3,items:[{$ref:"#/definitions/Position"},{$ref:"#/definitions/Position2D"},{$ref:"#/definitions/Position2D"}],maxItems:3}},required:["b"],description:"a bezier curve can be represented as a JSON curve object",title:"IBezierCurve"},ICircularArc:{type:"object",properties:{c:{type:"array",minItems:2,items:[{$ref:"#/definitions/Position"},{$ref:"#/definitions/Position2D"}],maxItems:2}},required:["c"],description:"a circular arc can be represented as a JSON curve object",title:"ICircularArc"},IOldCircularArc:{type:"object",properties:{a:{type:"array",minItems:4,items:[{$ref:"#/definitions/Position"},{$ref:"#/definitions/Position2D"},{type:"number"},{type:"number"}],maxItems:4}},required:["a"],title:"IOldCircularArc"},IPolyline:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},paths:{type:"array",items:{type:"array",items:{$ref:"#/definitions/Position"}}}},required:["paths"],title:"IPolyline"},RESTUnits:{type:"string",enum:["feet","miles","nautical-miles","us-nautical-miles","meters","kilometers"],title:"RESTUnits"},WebChartSeriesQuery:{$ref:"#/definitions/Omit%3CWebChartQuery%2C(%22distance%22%7C%22gdbVersion%22%7C%22geometry%22%7C%22num%22%7C%22objectIds%22%7C%22orderByFields%22%7C%22spatialRelationship%22%7C%22start%22%7C%22timeExtent%22%7C%22units%22)%3E",description:"Subset of the WebChartQuery, used at the series level",title:"WebChartSeriesQuery"},'Omit<WebChartQuery,("distance"|"gdbVersion"|"geometry"|"num"|"objectIds"|"orderByFields"|"spatialRelationship"|"start"|"timeExtent"|"units")>':{$ref:"#/definitions/Pick%3CWebChartQuery%2CExclude%3C(%22outFields%22%7C%22where%22%7C%22groupByFieldsForStatistics%22%7C%22outStatistics%22%7C%22orderByFields%22%7C%22gdbVersion%22%7C%22geometry%22%7C%22spatialRelationship%22%7C%22distance%22%7C%22units%22%7C%22timeExtent%22%7C%22start%22%7C%22num%22%7C%22returnDistinctValues%22%7C%22fetchNullValues%22%7C%22objectIds%22%7Cstring)%2C(%22distance%22%7C%22gdbVersion%22%7C%22geometry%22%7C%22num%22%7C%22objectIds%22%7C%22orderByFields%22%7C%22spatialRelationship%22%7C%22start%22%7C%22timeExtent%22%7C%22units%22)%3E%3E",title:'Omit<WebChartQuery,("distance"|"gdbVersion"|"geometry"|"num"|"objectIds"|"orderByFields"|"spatialRelationship"|"start"|"timeExtent"|"units")>'},'Pick<WebChartQuery,Exclude<("outFields"|"where"|"groupByFieldsForStatistics"|"outStatistics"|"orderByFields"|"gdbVersion"|"geometry"|"spatialRelationship"|"distance"|"units"|"timeExtent"|"start"|"num"|"returnDistinctValues"|"fetchNullValues"|"objectIds"|string),("distance"|"gdbVersion"|"geometry"|"num"|"objectIds"|"orderByFields"|"spatialRelationship"|"start"|"timeExtent"|"units")>>':{type:"object",properties:{outFields:{type:"array",items:{type:"string"},description:"Attribute fields to include in the FeatureSet. Will have an effect on chart with no aggregation."},where:{type:"string",description:"Acts as a filter on the base data for attribute-based filtering, expect for bar/line charts for which is is used to handle the split-by field values."},groupByFieldsForStatistics:{type:"array",items:{type:"string"},description:"An array of fields which determine how the base data is grouped. Only one **groupBy** Field is supported, but ArcGIS JSAPI [supports multiple groupBy fields](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#groupByFieldsForStatistics). While splitting by multiple group-by fields is possible, it is not being done because of the number of series it will give rise to (equal to the length of the Cartesian product set) possibly making the visualization hard to interpret.",maxItems:1},outStatistics:{type:"array",items:{$ref:"#/definitions/IStatisticDefinition"},description:"Represents an array of statistics definitions which dictate how a particular field should be aggregated. Refer to [JSAPI Statistics Definition class](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-StatisticDefinition.html) for more info."},returnDistinctValues:{type:"boolean",description:"If true then the query returns distinct values based on the field(s) specified in outFields. Available for count-based aggregations only.",default:!1},fetchNullValues:{type:"boolean",description:"Indicates whether to fetch null values for them to be counted or displayed as categories on the chart.",default:!1}},title:'Pick<WebChartQuery,Exclude<("outFields"|"where"|"groupByFieldsForStatistics"|"outStatistics"|"orderByFields"|"gdbVersion"|"geometry"|"spatialRelationship"|"distance"|"units"|"timeExtent"|"start"|"num"|"returnDistinctValues"|"fetchNullValues"|"objectIds"|string),("distance"|"gdbVersion"|"geometry"|"num"|"objectIds"|"orderByFields"|"spatialRelationship"|"start"|"timeExtent"|"units")>>'},WebChartDataFilters:{$ref:"#/definitions/Pick%3CWebChartQuery%2C(%22distance%22%7C%22gdbVersion%22%7C%22geometry%22%7C%22objectIds%22%7C%22spatialRelationship%22%7C%22timeExtent%22%7C%22units%22%7C%22where%22)%3E",description:"JSON representation of filters applied to the data",title:"WebChartDataFilters"},'Pick<WebChartQuery,("distance"|"gdbVersion"|"geometry"|"objectIds"|"spatialRelationship"|"timeExtent"|"units"|"where")>':{type:"object",properties:{distance:{type:"number",description:"Specifies a search distance for the `geometry`. To be associated with the `units` property. For compatible layers only."},gdbVersion:{type:"string",description:"Specifies the geodatabase version to display for feature service queries."},geometry:{anyOf:[{$ref:"#/definitions/IEnvelope"},{$ref:"#/definitions/IExtent"},{$ref:"#/definitions/IPoint"},{$ref:"#/definitions/IPolygon"},{$ref:"#/definitions/IPolygonWithCurves"},{$ref:"#/definitions/IPolyline"}],description:"The geometry to apply to the spatial filter. A buffer can be applied to it by setting the properties `distance` and `units`."},objectIds:{type:"array",items:{type:"number"},description:"An array of objectIds of the features to be filtered."},spatialRelationship:{description:"For spatial filters, this parameter defines the spatial relationship to filter features in the layer view against the filter geometry."},timeExtent:{type:"array",items:{type:"number"},minItems:2,maxItems:2,description:"A time extent ([timestamp, timestamp]) for a temporal query against time-aware layers."},units:{$ref:"#/definitions/RESTUnits",description:"The unit for calculating the buffer distance when `distance` and `geometry` are provided. If not specified, the unit is derived from the geometry spatial reference."},where:{type:"string",description:"Acts as a filter on the base data for attribute-based filtering, expect for bar/line charts for which is is used to handle the split-by field values."}},title:'Pick<WebChartQuery,("distance"|"gdbVersion"|"geometry"|"objectIds"|"spatialRelationship"|"timeExtent"|"units"|"where")>'},WebChartSeries:{type:"object",properties:{type:{type:"string"},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1}},required:["type","id","name","x"],description:"JSON representation of the chart's series object. All other series extends this interface.",title:"WebChartSeries"},WebChartFixedDateBinning:{type:"object",properties:{size:{type:"number",description:"The span of time that will be binned or aggregated together. Works in coordination with `unit`."},trimIncompleteTimeInterval:{type:"boolean",description:"Determines whether incomplete time intervals at the start or end of the data span (depending on the `timeAggregationType`) will be removed from the chart. Incomplete intervals on a chart can cause misleading results in which the period in question is under- or over reported due to a different amount of time in the interval. Setting `true` indicates to trim these incomplete intervals. Setting `false` does not trim incomplete intervals.",default:!0},timeAggregationType:{$ref:"#/definitions/WebChartTimeAggregationTypes",description:"The time interval alignment type. Valid options include `equalIntervalsFromStartTime` and `equalIntervalsFromEndTime`.",default:"equalIntervalsFromStartTime"},nullPolicy:{$ref:"#/definitions/WebChartNullPolicyTypes",description:"How summarized bins returning a null value are displayed. Supported options are:\n- `null`, `zero`, and `interpolate` for line series\n- `null` and `zero` for bar series",default:"null"},type:{type:"string",const:"fixedDateBased"},unit:{$ref:"#/definitions/WebChartFixedDateBinningUnits",description:"The unit of time to use to bin the temporal data."}},required:["type"],description:"Represents the properties related to the the fixed-date temporal binning. It currently covers the same scope as `WebChartDateBinning`.",title:"WebChartFixedDateBinning"},WebChartDateBinning:{type:"object",properties:{size:{type:"number",description:"The span of time that will be binned or aggregated together. Works in coordination with `unit`."},trimIncompleteTimeInterval:{type:"boolean",description:"Determines whether incomplete time intervals at the start or end of the data span (depending on the `timeAggregationType`) will be removed from the chart. Incomplete intervals on a chart can cause misleading results in which the period in question is under- or over reported due to a different amount of time in the interval. Setting `true` indicates to trim these incomplete intervals. Setting `false` does not trim incomplete intervals.",default:!0},timeAggregationType:{$ref:"#/definitions/WebChartTimeAggregationTypes",description:"The time interval alignment type. Valid options include `equalIntervalsFromStartTime` and `equalIntervalsFromEndTime`.",default:"equalIntervalsFromStartTime"},nullPolicy:{$ref:"#/definitions/WebChartNullPolicyTypes",description:"How summarized bins returning a null value are displayed. Supported options are:\n- `null`, `zero`, and `interpolate` for line series\n- `null` and `zero` for bar series",default:"null"}},title:"WebChartDateBinning"},WebChartTimeAggregationTypes:{type:"string",enum:["equalIntervalsFromStartTime","equalIntervalsFromEndTime"],description:"Represents the different types of time aggregation that can be applied to a chart using the time binning feature.",title:"WebChartTimeAggregationTypes"},WebChartNullPolicyTypes:{type:"string",enum:["null","zero","interpolate"],description:"Represents the different types of null policy that can be applied to a chart using the time binning feature.",title:"WebChartNullPolicyTypes"},WebChartFixedDateBinningUnits:{type:"string",enum:["seconds","minutes","hours","days","weeks","months","years"],description:"The temporal binning units for fixed-date based binning",title:"WebChartFixedDateBinningUnits"},WebChartCalendarBasedBinning:{type:"object",properties:{size:{type:"number",description:"The span of time that will be binned or aggregated together. Works in coordination with `unit`."},trimIncompleteTimeInterval:{type:"boolean",description:"Determines whether incomplete time intervals at the start or end of the data span (depending on the `timeAggregationType`) will be removed from the chart. Incomplete intervals on a chart can cause misleading results in which the period in question is under- or over reported due to a different amount of time in the interval. Setting `true` indicates to trim these incomplete intervals. Setting `false` does not trim incomplete intervals.",default:!0},timeAggregationType:{$ref:"#/definitions/WebChartTimeAggregationTypes",description:"The time interval alignment type. Valid options include `equalIntervalsFromStartTime` and `equalIntervalsFromEndTime`.",default:"equalIntervalsFromStartTime"},nullPolicy:{$ref:"#/definitions/WebChartNullPolicyTypes",description:"How summarized bins returning a null value are displayed. Supported options are:\n- `null`, `zero`, and `interpolate` for line series\n- `null` and `zero` for bar series",default:"null"},type:{type:"string",const:"calendarBased"},unit:{$ref:"#/definitions/WebChartCalendarBinningUnits",description:"The unit of time to use to bin the temporal data."},start:{type:"number",description:"The binning start date"},end:{type:"number",description:"The binning end date"},offset:{type:"object",properties:{unit:{$ref:"#/definitions/WebChartCalendarBinningOffsetUnits"},size:{type:"number"}},required:["unit","size"],description:"Offset to apply to the results"},outTimeZone:{type:"string",description:"Defines the [IANA time zone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) used for temporal bin calculations"}},required:["type"],description:"Represents the properties related to the calendar-based temporal binning. It supports the same properties as `WebChartDateBinning` and adds some.",title:"WebChartCalendarBasedBinning"},WebChartCalendarBinningUnits:{type:"string",enum:["seconds","minutes","hours","days","weeks","months","quarters","years"],description:"The temporal binning units for calendar based binning",title:"WebChartCalendarBinningUnits"},WebChartCalendarBinningOffsetUnits:{type:"string",enum:["seconds","minutes","hours","days"],description:"The temporal binning units for the calendar based binning offset",title:"WebChartCalendarBinningOffsetUnits"},WebChartTemporalSeries:{type:"object",properties:{binTemporalData:{type:"boolean",description:"Whether to use the time properties to bin the temporal data. If set to `false` the `binCount` and `unit` properties can be used to set the date axis base interval.",default:!0},temporalBinning:{anyOf:[{$ref:"#/definitions/WebChartCalendarBasedBinning"},{$ref:"#/definitions/WebChartFixedDateBinning"}],description:'Defines the pattern to apply to bin the data. The "fixedDateBased" type will make the bins start at the beginning of the given period (1st of the week, 1st of the month, 1st or the day, etc.) The "calendarBased" type will make the bins start at the data set first entry (e.g. it the first date is 1/18/20 and the binning is done by month, the bins will go from the 18th to a month to the 17th of the next month).'}},description:"Describes the properties related to a temporal series",title:"WebChartTemporalSeries"},WebChartBarChartSeries:{type:"object",properties:{binTemporalData:{type:"boolean",description:"Whether to use the time properties to bin the temporal data. If set to `false` the `binCount` and `unit` properties can be used to set the date axis base interval.",default:!0},temporalBinning:{anyOf:[{$ref:"#/definitions/WebChartCalendarBasedBinning"},{$ref:"#/definitions/WebChartFixedDateBinning"}],description:'Defines the pattern to apply to bin the data. The "fixedDateBased" type will make the bins start at the beginning of the given period (1st of the week, 1st of the month, 1st or the day, etc.) The "calendarBased" type will make the bins start at the data set first entry (e.g. it the first date is 1/18/20 and the binning is done by month, the bins will go from the 18th to a month to the 17th of the next month).'},type:{type:"string",const:"barSeries",description:'Represents a unique string identifier for the BarChartSeries object. For BarSeries object, it is "barSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},y:{type:"string",description:"Specifies which field represents the y-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the columns/bars should be rendered"},hideOversizedStackedLabels:{type:"boolean",description:"When true or undefined (default), the labels displayed within a small column or stack are hidden to avoid cluttering. When false, all the data labels are displayed.",default:!0}},required:["id","name","type","x","y"],description:"[Bar chart](https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/charts/bar-chart.htm) shows the categorical distribution of String/DateTime data.",title:"WebChartBarChartSeries"},HistogramOverlays:{type:"object",properties:{type:{type:"string",const:"chartOverlays",description:'Represents a unique string identifier for the HistogramOverlays object. For HistogramOverlays object, it is "chartOverlays".'},mean:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the mean overlay for histogram. If not provided, the mean overlay is not displayed."},median:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the median overlay for histogram. If not provided, the median overlay is not displayed."},standardDeviation:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the standard deviation overlay for histogram. If not provided, the standard deviation overlay is not displayed."},comparisonDistribution:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the comparison distribution overlay for histogram. If not provided, the comparison distribution overlay is not displayed."}},required:["type"],description:"Object containing Histogram overlays",title:"HistogramOverlays"},WebChartHistogramSeries:{type:"object",properties:{type:{type:"string",const:"histogramSeries",description:'Represents a unique string identifier for the HistogramSeries object. For BarSeries object, it is "histogramSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},binCount:{type:["number","null"],description:"Bin count must be a positive integer.",minimum:1,multipleOf:1,default:32},overlays:{$ref:"#/definitions/HistogramOverlays",description:"Specifies the chart overlays. Histogram supports 4 overlays: **mean**, **median**, **standardDeviation** and **comparisonDistribution**. The overlays won't show if the property is not defined."},dataTransformationType:{$ref:"#/definitions/WebChartDataTransformations",description:"Specifies how the data should be transformed (e.g. square root, log, etc.) before binning."},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the columns/bars should be rendered"}},required:["id","name","type","x"],description:"[Histogram](https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/charts/histogram.htm) shows the numerical(frequency) distribution of a numerical field.",title:"WebChartHistogramSeries"},WebChartDataTransformations:{type:"string",enum:["none","logarithmic","squareRoot"],title:"WebChartDataTransformations"},ScatterPlotOverlays:{type:"object",properties:{type:{type:"string",const:"chartOverlays",description:'Represents a unique string identifier for the ScatterPlotOverlays object. For ScatterPlotOverlays object, it is "chartOverlays".'},trendLine:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the trendline overlay for scatter plot. The trendline won't show if the property is not defined."}},required:["type"],description:"Object containing Scatter Plot overlays",title:"ScatterPlotOverlays"},SizePolicy:{type:"object",properties:{type:{type:"string",const:"sizeScale",description:'Represents a unique string identifier for the sizePolicy object. For sizePolicy object, it is "sizeScale".'},scaleType:{$ref:"#/definitions/SizePolicyScaleTypes",description:"The type of scale to apply to the markers (linear or logarithmic)",default:"SizePolicyScaleTypes.Linear"},field:{type:"string",description:"The field which determines the markers size"},minSize:{type:"number",description:"The minimum marker size",default:5,multipleOf:1},maxSize:{type:"number",description:"The maximum marker size",default:30,multipleOf:1}},required:["type","field"],title:"SizePolicy"},SizePolicyScaleTypes:{type:"string",enum:["linear","logarithmic"],description:"Represents the types of scales that can be applied to the size policy. Use by bubble charts (scatterplot).",title:"SizePolicyScaleTypes"},WebChartScatterPlotSeries:{type:"object",properties:{type:{type:"string",const:"scatterSeries",description:'Represents a unique string identifier for the ScatterSeries object. For ScatterSeries object, it is "scatterSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},y:{type:"string",description:"Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},markerSymbol:{$ref:"#/definitions/ISimpleMarkerSymbol",description:'Specifies how each data point in the scatter plot should be rendered. The type is `"esriSMS"` and it is adopted from the [REST API Types](https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm#GUID-C8D40B32-5F4B-45EB-8048-6D5A8763E13B).'},overlays:{$ref:"#/definitions/ScatterPlotOverlays",description:"Specifies all the chart overlays. The scatter plot implements only 1 overlay, **trendLine**. The overlays won't show if the property is not defined."},sizePolicy:{$ref:"#/definitions/SizePolicy",description:"Specifies rules to use the scatter plot as bubble plot, by changing dynamically the markers size according to a specific field value"}},required:["id","name","type","x","y"],description:"[Scatter plot](https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/charts/scatter-plot.htm) shows the relationship between two numerical fields.",title:"WebChartScatterPlotSeries"},ISimpleMarkerSymbol:{type:"object",properties:{type:{type:"string",const:"esriSMS"},style:{$ref:"#/definitions/SimpleMarkerSymbolStyle"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"},color:{$ref:"#/definitions/Color"},size:{type:"number"},outline:{$ref:"#/definitions/ISimpleLineSymbol"}},required:["type"],title:"ISimpleMarkerSymbol"},IMarkerSymbol:{type:"object",properties:{type:{$ref:"#/definitions/SymbolType"},style:{type:"string"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"}},required:["type"],title:"IMarkerSymbol"},SimpleMarkerSymbolStyle:{type:"string",enum:["esriSMSCircle","esriSMSCross","esriSMSDiamond","esriSMSSquare","esriSMSTriangle","esriSMSX"],title:"SimpleMarkerSymbolStyle"},WebChartPieChartTick:{type:"object",properties:{type:{type:"string",const:"pieTick",description:'Represents a unique string identifier for the WebChartPieChartTick object. For PieTick object, it is "pieTick".'},visible:{type:"boolean",description:"Determines the visibility of the tick. Assigning the `true` value will only be considered when the data labels are visible (`series.dataLabels.visible`) and when the data label associated to the tick is outside of the chart (`series.dataLabelsOffset` > 0)."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the pie chart ticks should be rendered"}},required:["type"],description:"JSON representation of the pie ticks.",title:"WebChartPieChartTick"},WebChartPieChartSlice:{type:"object",properties:{sliceId:{type:"string",description:"A unique string used identify the slice of a pie chart."},originalLabel:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"The slice's original label."},label:{type:"string",description:"Custom label for the slice. For grouped slice, the default value is `Other`. For regular slice, it will be either the category or field name."},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the slice should be rendered. If not provided, the slice will be styled with default values."}},required:["sliceId"],description:"JSON representation of the pie slices",title:"WebChartPieChartSlice"},WebChartPieChartGroupSlice:{type:"object",properties:{sliceId:{type:"string",description:"A unique string used identify the slice of a pie chart."},originalLabel:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"The slice's original label."},label:{type:"string",description:"Custom label for the slice. For grouped slice, the default value is `Other`. For regular slice, it will be either the category or field name."},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the slice should be rendered. If not provided, the slice will be styled with default values."},percentageThreshold:{type:"number",description:"Slices that have a percent value equal or lesser to this threshold are grouped into a unique slice"},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the grouped slice data labels should be rendered. If the property is not set the `series.dataLabels` will be used instead."}},required:["percentageThreshold","sliceId"],description:"JSON representation of the pie grouped slice",title:"WebChartPieChartGroupSlice"},WebChartPieChartSeries:{type:"object",properties:{type:{type:"string",const:"pieSeries",description:'Represents a unique string identifier for the PieSeries object. For PieSeries object, it is "pieSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},y:{type:"string",description:"Specifies which field represents the y-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},innerRadius:{type:["number","null"],description:"Represents the size of the hole in middle of the chart. The number is used as a percentage rather than a fixed value.",minimum:0,maximum:100,default:50},startAngle:{type:["number","null"],default:-90},endAngle:{type:["number","null"],default:270},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the slices should be rendered"},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},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:
21
+ }`;var y=Xs(function(){return Function(o,f+"return "+d).apply(void 0,n)});if(y.source=d,Li(y))throw y;return y}var ga=av;var Ri=class extends Map{constructor(r,i=sv){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:i}}),r!=null)for(let[t,a]of r)this.set(t,a)}get(r){return super.get(Il(this,r))}has(r){return super.has(Il(this,r))}set(r,i){return super.set(ov(this,r),i)}delete(r){return super.delete(nv(this,r))}};function Il({_intern:e,_key:r},i){let t=r(i);return e.has(t)?e.get(t):i}function ov({_intern:e,_key:r},i){let t=r(i);return e.has(t)?e.get(t):(e.set(t,i),i)}function nv({_intern:e,_key:r},i){let t=r(i);return e.has(t)&&(i=e.get(t),e.delete(t)),i}function sv(e){return e!==null&&typeof e=="object"?e.valueOf():e}function ba(e){return e}function lv(e,r,...i){return pv(e,ba,r,i)}function pv(e,r,i,t){return function a(o,n){if(n>=t.length)return i(o);let s=new Ri,l=t[n++],u=-1;for(let c of o){let d=l(c,++u,o),p=s.get(d);p?p.push(c):s.set(d,[c])}for(let[c,d]of s)s.set(c,a(d,n));return r(s)}(e,0)}function Cl(e,r){let i;if(r===void 0)for(let t of e)t!=null&&(i<t||i===void 0&&t>=t)&&(i=t);else{let t=-1;for(let a of e)(a=r(a,++t,e))!=null&&(i<a||i===void 0&&a>=a)&&(i=a)}return i}function Tl(e,r){let i;if(r===void 0)for(let t of e)t!=null&&(i>t||i===void 0&&t>=t)&&(i=t);else{let t=-1;for(let a of e)(a=r(a,++t,e))!=null&&(i>a||i===void 0&&a>=a)&&(i=a)}return i}function Al(e,r){let i=0,t=0;if(r===void 0)for(let a of e)a!=null&&(a=+a)>=a&&(++i,t+=a);else{let a=-1;for(let o of e)(o=r(o,++a,e))!=null&&(o=+o)>=o&&(++i,t+=o)}if(i)return t/i}function Pl(e,r,i){e=+e,r=+r,i=(a=arguments.length)<2?(r=e,e=0,1):a<3?1:+i;for(var t=-1,a=Math.max(0,Math.ceil((r-e)/i))|0,o=new Array(a);++t<a;)o[t]=e+t*i;return o}function Fl(e,r){let i=0;if(r===void 0)for(let t of e)(t=+t)&&(i+=t);else{let t=-1;for(let a of e)(a=+r(a,++t,e))&&(i+=a)}return i}function Nr(e,r){let i,t;if(r===void 0)for(let a of e)a!=null&&(i===void 0?a>=a&&(i=t=a):(i>a&&(i=a),t<a&&(t=a)));else{let a=-1;for(let o of e)(o=r(o,++a,e))!=null&&(i===void 0?o>=o&&(i=t=o):(i>o&&(i=o),t<o&&(t=o)))}return[i,t]}var xt="22.0.0";var Ht={$schema:"http://json-schema.org/draft-07/schema#",definitions:{ValueConversion:{type:"object",properties:{factor:{type:"number",description:"A numeric value multiplying the value to convert"},offset:{type:"number",description:"A numeric offset to apply to the value to convert"}},description:"Stores information regarding a numeric conversion",title:"ValueConversion"},WebChartAxisScrollBar:{type:"object",properties:{visible:{type:"boolean",description:"Scrollbar visibility",default:!1},width:{type:"number",description:"Scrollbar width in pixels"},color:{$ref:"#/definitions/Color",description:"Scrollbar color"},gripSize:{type:"number",description:"Grip size in pixels"},margin:{type:"number",description:"Margin between the scrollbar and the series container in pixels"}},description:"Describes the properties of an axis scrollbar",title:"WebChartAxisScrollBar"},Color:{type:"array",items:{type:"number"},minItems:4,maxItems:4,title:"Color"},WebChartTextSymbol:{type:"object",properties:{xoffset:{type:["number","string"],description:`Horizontal offset. Can be a number for a fixed value in pixels, or a string as "25%" for a value relative to the label's container width.`},yoffset:{type:["number","string"],description:`Horizontal offset. Can be a number for a fixed value in pixels, or a string as "25%" for a value relative to the label's container height.`},angle:{type:"number",description:"Rotation of the label"},style:{type:"string",description:"Label style"},type:{type:"string",const:"esriTS"},color:{$ref:"#/definitions/Color"},backgroundColor:{$ref:"#/definitions/Color"},borderLineSize:{type:"number"},borderLineColor:{$ref:"#/definitions/Color"},haloSize:{type:"number"},haloColor:{$ref:"#/definitions/Color"},verticalAlignment:{type:"string",enum:["baseline","bottom","middle","top"]},horizontalAlignment:{type:"string",enum:["center","justify","left","right"]},rightToLeft:{type:"boolean"},kerning:{type:"boolean"},font:{$ref:"#/definitions/IFont"},text:{type:"string"}},required:["type"],description:"Represents a text symbol.",title:"WebChartTextSymbol"},'Omit<ITextSymbol,("angle"|"style"|"xoffset"|"yoffset")>':{$ref:"#/definitions/Pick%3CITextSymbol%2CExclude%3C(%22type%22%7C%22color%22%7C%22backgroundColor%22%7C%22borderLineSize%22%7C%22borderLineColor%22%7C%22haloSize%22%7C%22haloColor%22%7C%22verticalAlignment%22%7C%22horizontalAlignment%22%7C%22rightToLeft%22%7C%22kerning%22%7C%22font%22%7C%22text%22%7C%22angle%22%7C%22xoffset%22%7C%22yoffset%22%7C%22style%22%7Cstring)%2C(%22angle%22%7C%22style%22%7C%22xoffset%22%7C%22yoffset%22)%3E%3E",title:'Omit<ITextSymbol,("angle"|"style"|"xoffset"|"yoffset")>'},'Pick<ITextSymbol,Exclude<("type"|"color"|"backgroundColor"|"borderLineSize"|"borderLineColor"|"haloSize"|"haloColor"|"verticalAlignment"|"horizontalAlignment"|"rightToLeft"|"kerning"|"font"|"text"|"angle"|"xoffset"|"yoffset"|"style"|string),("angle"|"style"|"xoffset"|"yoffset")>>':{type:"object",properties:{type:{type:"string",const:"esriTS"},color:{$ref:"#/definitions/Color"},backgroundColor:{$ref:"#/definitions/Color"},borderLineSize:{type:"number"},borderLineColor:{$ref:"#/definitions/Color"},haloSize:{type:"number"},haloColor:{$ref:"#/definitions/Color"},verticalAlignment:{type:"string",enum:["baseline","bottom","middle","top"]},horizontalAlignment:{type:"string",enum:["center","justify","left","right"]},rightToLeft:{type:"boolean"},kerning:{type:"boolean"},font:{$ref:"#/definitions/IFont"},text:{type:"string"}},required:["type"],title:'Pick<ITextSymbol,Exclude<("type"|"color"|"backgroundColor"|"borderLineSize"|"borderLineColor"|"haloSize"|"haloColor"|"verticalAlignment"|"horizontalAlignment"|"rightToLeft"|"kerning"|"font"|"text"|"angle"|"xoffset"|"yoffset"|"style"|string),("angle"|"style"|"xoffset"|"yoffset")>>'},IFont:{type:"object",properties:{family:{type:"string"},size:{type:"number"},style:{type:"string",enum:["italic","normal","oblique"]},weight:{type:"string",enum:["bold","bolder","lighter","normal"]},decoration:{type:"string",enum:["line-through","none","underline"]}},title:"IFont"},WebChartText:{type:"object",properties:{type:{type:"string",const:"chartText",description:'Represents a unique string identifier for the ChartText object. For ChartText object, it is "chartText".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},content:{$ref:"#/definitions/WebChartTextSymbol",description:"Contains the styling info and text content. Details on **esriTS** are [here](https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm)."}},required:["type","content"],description:"Stores info on how some text is rendered on the chart and whether it is visible or not.",title:"WebChartText"},WebChartCursorCrosshair:{type:"object",properties:{type:{type:"string",const:"cursorCrosshair",description:"Represents a unique string identifier for the chart cursor's crosshair."},style:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the chart cursor's crosshair should be rendered."},verticalLineVisible:{type:"boolean",description:"Indicates whether the vertical crosshair line should be displayed",default:!1},horizontalLineVisible:{type:"boolean",description:"Indicates whether the horizontal crosshair line should be displayed",default:!1}},required:["type"],description:"JSON representation of the cursor's crosshair for a chart.",title:"WebChartCursorCrosshair"},ISimpleLineSymbol:{type:"object",properties:{type:{type:"string",const:"esriSLS"},style:{$ref:"#/definitions/SimpleLineSymbolStyle"},color:{$ref:"#/definitions/Color"},width:{type:"number"}},required:["type"],title:"ISimpleLineSymbol"},ISymbol:{type:"object",properties:{type:{$ref:"#/definitions/SymbolType"},style:{type:"string"}},required:["type"],title:"ISymbol"},SymbolType:{type:"string",enum:["esriPFS","esriPMS","esriSFS","esriSLS","esriSMS","esriTS"],title:"SymbolType"},SimpleLineSymbolStyle:{type:"string",enum:["esriSLSDash","esriSLSDashDot","esriSLSDashDotDot","esriSLSDot","esriSLSNull","esriSLSSolid"],title:"SimpleLineSymbolStyle"},WebChartLegend:{type:"object",properties:{type:{type:"string",const:"chartLegend",description:'Represents a unique string identifier for the ChartLegend object. For ChartLegend object, it is "chartLegend".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the legend box should be rendered"},body:{$ref:"#/definitions/WebChartTextSymbol",description:"Contains styling info on how legend body (excluding the **title**) should be rendered. Will use default styling if not provided."},position:{$ref:"#/definitions/WebChartLegendPositions",description:'Positions the legends at `"right"`, `"left"`, `"top"`, or `"bottom"` of the chart.',default:"WebChartLegendPositions.Right"},maxHeight:{type:["number","null"],description:"Legend's maximum height. If not set the legend will occupy the same height as the series container or pie chart.",default:null},roundMarkers:{type:"boolean",description:"Allows the legend markers to be displayed as circles. If the property is to:\n- `false` or `undefined` they will be rounded rectangles\n- `true` they will be circles",default:!1}},required:["type"],description:"JSON representation of the Chart's legend box",title:"WebChartLegend"},WebChartLegendPositions:{type:"string",enum:["left","right","top","bottom"],title:"WebChartLegendPositions"},WebChartPieChartLegend:{type:"object",properties:{type:{type:"string",const:"chartLegend",description:'Represents a unique string identifier for the ChartLegend object. For ChartLegend object, it is "chartLegend".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the legend box should be rendered"},body:{$ref:"#/definitions/WebChartTextSymbol",description:"Contains styling info on how legend body (excluding the **title**) should be rendered. Will use default styling if not provided."},position:{$ref:"#/definitions/WebChartLegendPositions",description:'Positions the legends at `"right"`, `"left"`, `"top"`, or `"bottom"` of the chart.',default:"WebChartLegendPositions.Right"},maxHeight:{type:["number","null"],description:"Legend's maximum height. If not set the legend will occupy the same height as the series container or pie chart.",default:null},roundMarkers:{type:"boolean",description:"Allows the legend markers to be displayed as circles. If the property is to:\n- `false` or `undefined` they will be rounded rectangles\n- `true` they will be circles",default:!1},displayNumericValue:{type:"boolean",description:"Indicates whether the numeric value associated to a slice is to be displayed in the legend. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)`",default:!1},displayPercentage:{type:"boolean",description:"Indicates whether the percentage to a slice is to be displayed in the legend. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)`",default:!1},labelMaxWidth:{type:"number",description:"Maximum width in pixels of the label displaying the slice name. If the label is larger than the maximum width, it will automatically wrap.",default:200},valueLabelMaxWidth:{type:"number",description:"Maximum width in pixels of the label displaying the slice name. If the label is larger than the maximum width, it will automatically wrap.",default:200}},required:["type"],description:"Specific legend for the Pie chart",title:"WebChartPieChartLegend"},WebChartOverlay:{type:"object",properties:{type:{type:"string",const:"chartOverlay",description:'Represents a unique string identifier for the ChartOverlay object. For ChartOverlay object, it is "chartOverlay".'},created:{type:"boolean",description:"Determines whether the overlay is created under the hood. It may or may not be visible.",default:!1},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},symbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the overlay should be rendered If not provided a default style is applied."}},required:["type"],description:"JSON representation of the chart's overlays like trendline scatter plot, and median in histogram",title:"WebChartOverlay"},NumberFormatOptions:{type:"object",properties:{type:{type:"string",const:"number",description:'Represents a unique string identifier for the NumberFormatOptions object. For NumberFormatOptions object, it is "number". It can help us to differentiate numerical (value) axis from other types of axes viz., date-time axis and category axis.'},intlOptions:{$ref:"#/definitions/Intl.NumberFormatOptions",description:"Represents the JS native [Intl.NumberFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat), which is based on [CLDR](http://cldr.unicode.org/translation/numbers-currency/number-patterns) specifications."}},required:["type","intlOptions"],description:"Defines how the numerical(value) axis data should be formatted.",title:"NumberFormatOptions"},"Intl.NumberFormatOptions":{type:"object",properties:{localeMatcher:{type:"string",enum:["lookup","best fit"]},style:{$ref:"#/definitions/Intl.NumberFormatOptionsStyle"},currency:{type:"string"},currencyDisplay:{$ref:"#/definitions/Intl.NumberFormatOptionsCurrencyDisplay"},useGrouping:{$ref:"#/definitions/Intl.NumberFormatOptionsUseGrouping"},minimumIntegerDigits:{type:"number"},minimumFractionDigits:{type:"number"},maximumFractionDigits:{type:"number"},minimumSignificantDigits:{type:"number"},maximumSignificantDigits:{type:"number"}},title:"Intl.NumberFormatOptions"},"Intl.NumberFormatOptionsStyle":{title:"Intl.NumberFormatOptionsStyle"},"Intl.NumberFormatOptionsCurrencyDisplay":{title:"Intl.NumberFormatOptionsCurrencyDisplay"},"Intl.NumberFormatOptionsUseGrouping":{type:"boolean",title:"Intl.NumberFormatOptionsUseGrouping"},WebChartDateTimeUnitFormatOptions:{type:"object",properties:{year:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},month:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},day:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},hour:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},minute:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},second:{$ref:"#/definitions/Intl.DateTimeFormatOptions"}},description:'Interface used by the axis `valueFormat` property to describe how to format specific date and time units when displayed on the axis. For instance: "year": { year: "numeric" } "month": { month: "numeric" } "day": { day: "2-digit" } "hour": { day: "numeric" } "minute": { minute: "numeric" } "second": { second: "numeric" } Reference: https://tc39.es/ecma402/#sec-datetimeformat-abstracts',title:"WebChartDateTimeUnitFormatOptions"},"Intl.DateTimeFormatOptions":{type:"object",properties:{localeMatcher:{type:"string",enum:["best fit","lookup"]},weekday:{type:"string",enum:["long","short","narrow"]},era:{type:"string",enum:["long","short","narrow"]},year:{type:"string",enum:["numeric","2-digit"]},month:{type:"string",enum:["numeric","2-digit","long","short","narrow"]},day:{type:"string",enum:["numeric","2-digit"]},hour:{type:"string",enum:["numeric","2-digit"]},minute:{type:"string",enum:["numeric","2-digit"]},second:{type:"string",enum:["numeric","2-digit"]},timeZoneName:{type:"string",enum:["short","long","shortOffset","longOffset","shortGeneric","longGeneric"]},formatMatcher:{type:"string",enum:["best fit","basic"]},hour12:{type:"boolean"},timeZone:{type:"string"}},title:"Intl.DateTimeFormatOptions"},DateTimeFormatOptions:{type:"object",properties:{type:{type:"string",const:"date",description:'Represents a unique string identifier for the NumberFormatOptions object. For NumberFormatOptions object, it is "date". It can help us to differentiate date-time axis from other types of axes viz., numeric (value) axis and category axis.'},intlOptions:{$ref:"#/definitions/Intl.DateTimeFormatOptions",description:"Represent the JS native [Intl.DateTimeFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormatt), which is based on [CLDR](http://cldr.unicode.org/translation/date-time-1/date-time-patterns) specifications."},formatPerDateTimeUnit:{$ref:"#/definitions/WebChartDateTimeUnitFormatOptions",description:"Represents how to format specific date and time units when displayed on the axis, independently from the `intlOptions`."}},required:["type","intlOptions"],description:"Defines how the DateTime axis data should be formatted.",title:"DateTimeFormatOptions"},CategoryFormatOptions:{type:"object",properties:{type:{type:"string",const:"category",description:'Represents a unique string identifier for the CategoryFormatOptions object. For CategoryFormatOptions object, it is "category". It can help us to differentiate category axis from other types of axes, viz., date-time axis and numeric (value) axis.'},characterLimit:{type:["number","null"],description:"Represents a positive integer which represents the limit on the number of characters to be displayed for all the category strings. The truncated string are appended with `...`. If property is not present or `null`, no truncation is done.",minimum:1,multipleOf:1}},required:["type"],description:"Defines how the category axis data (Categories) should be formatted.",title:"CategoryFormatOptions"},WebChartGuide:{type:"object",properties:{type:{type:"string",const:"chartGuide",description:'Represents a unique string identifier for the Guide object. For Guide class, it is "chartGuide".'},start:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"Determines the value where the guide should begin."},end:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"Determines the value where the guide should end. If it is not specified, we get a line guide, otherwise we get a fill/rectangular guide."},style:{anyOf:[{$ref:"#/definitions/ISimpleFillSymbol"},{$ref:"#/definitions/ISimpleLineSymbol"}],description:"Determines how the guide should be rendered. Line guide requires [esriSLS](https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm) format, and fill guide requires [esriSFS](https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm) format."},name:{type:"string",description:"A unique string identifier which is used to refer to a particular guide. It is displayed in the Chart Authoring UI to differentiate between different guides."},label:{$ref:"#/definitions/WebChartTextSymbol",description:"Defines a text label for the given guide. It is displayed on the chart next to the concerned guide and is styled using **esriTS** format."},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},above:{type:"boolean",description:"Determines whether the guide should be rendered on top of (overlapping) the series or under the series.",default:!1},tooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the guide's tooltip background (false) or its outline (true).",default:!1}},required:["type","start","style","name"],description:"JSON representation of the chart's guide object. Can be used to represent both line and fill guides.",title:"WebChartGuide"},ISimpleFillSymbol:{type:"object",properties:{type:{type:"string",const:"esriSFS"},style:{$ref:"#/definitions/SimpleFillSymbolStyle"},color:{$ref:"#/definitions/Color"},outline:{$ref:"#/definitions/ISimpleLineSymbol"}},required:["type"],title:"ISimpleFillSymbol"},SimpleFillSymbolStyle:{type:"string",enum:["esriSFSBackwardDiagonal","esriSFSCross","esriSFSDiagonalCross","esriSFSForwardDiagonal","esriSFSHorizontal","esriSFSNull","esriSFSSolid","esriSFSVertical"],title:"SimpleFillSymbolStyle"},WebChartAxis:{type:"object",properties:{type:{type:"string",const:"chartAxis",description:'Represents a unique string identifier for the WebChartAxis object. For ChartAxis object, it is "chartAxis".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},isLogarithmic:{type:"boolean",description:"Specifies whether the axis has a logarithmic scale or not.",default:!1},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the axis should be rendered"},valueFormat:{anyOf:[{$ref:"#/definitions/CategoryFormatOptions"},{$ref:"#/definitions/DateTimeFormatOptions"},{$ref:"#/definitions/NumberFormatOptions"}],description:"Specifies how numerical/categorical/date-time values should be formatted."},minimum:{type:["number","null"],description:"The minimum value which the axis should represent, when it is not defined or null, then the minimum value for the corresponding axis is automatically calculated."},maximum:{type:["number","null"],description:"The maximum value which the axis should represent, when it is not defined or null, then the maximum value for the corresponding axis is automatically calculated."},grid:{$ref:"#/definitions/ISimpleLineSymbol",description:"Dictates how the grid lines associated with a particular axis should be rendered."},guides:{type:"array",items:{$ref:"#/definitions/WebChartGuide"},description:"Represent an array of guides that should be rendered onto the axis."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the axis line should be rendered. If not provided a default style is applied."},labels:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the axis labels should be rendered."},scrollbar:{$ref:"#/definitions/WebChartAxisScrollBar",description:"Represents the axis scrollbar style and visibility"},displayZeroLine:{type:"boolean",description:"Represents an option to hide/un-hide the zero line on value axis",default:!1},integerOnlyValues:{type:"boolean",description:"Represents an option to show `integer-only` values for a value axis",default:!1},displayCursorTooltip:{type:"boolean",description:"Specifies whether cursor tooltip should be displayed.",default:!1},buffer:{type:"boolean",description:"Allows setting a buffer to a **value axis** to provide some space around the series.",default:!1},tickSpacing:{type:"number",description:"The desired minimum distance between two adjacent axis ticks. The actual distance may fluctuate depending on the chart's size. When not provided a default value is assigned according to the axis type and axis labels behavior.",minimum:1},dateBaseInterval:{$ref:"#/definitions/TimeIntervalInfo",description:"Specifies the base interval on a date axis. Will be ignored on the other axis types. It will be overridden by the properties from the series `binTemporalData` when provided."}},required:["type","valueFormat","labels"],description:"JSON representation of the chart's axis object",title:"WebChartAxis"},TimeIntervalInfo:{type:"object",properties:{unit:{$ref:"#/definitions/WebChartTemporalBinningUnits"},size:{type:"number"}},title:"TimeIntervalInfo"},WebChartTemporalBinningUnits:{type:"string",enum:["seconds","minutes","hours","days","weeks","months","quarters","years"],description:"The temporal binning units",title:"WebChartTemporalBinningUnits"},WebChartGaugeAxisTick:{type:"object",properties:{type:{type:"string",const:"gaugeAxisTick",description:'Represents a unique string identifier for the GaugeAxisTick object. For WebChartGaugeAxisTick object, it is "gaugeAxisTick".'},visible:{type:"boolean",description:"Determines the visibility of the axis ticks.",default:!0}},required:["type"],description:"JSON representation of the gauge axis ticks. Currently only used by WebChartGaugeAxis.",title:"WebChartGaugeAxisTick"},WebChartNeedle:{type:"object",properties:{type:{type:"string",const:"gaugeNeedle",description:'Represents a unique string identifier for the ChartNeedle object. For WebChartNeedle object, it is "gaugeNeedle".'},visible:{type:"boolean",description:"Hides or shows the needle.",default:!0},symbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the needle should be rendered"},startWidth:{type:["number","null"],description:"Represents the needle's thickness at the bottom (chart's center), in px",minimum:1,default:10},endWidth:{type:["number","null"],description:"Represents the needle's thickness at the top, in px",minimum:1,default:1},innerRadius:{type:["number","null"],description:"Represents the size of the hole in the middle of the chart. Can be visualized when guides are displayed.",minimum:0,maximum:100,default:25},displayPin:{type:"boolean",description:"Hides or shows the needle's pin (centroid circle)",default:!1}},required:["type"],description:"JSON representation of a gauge needle.",title:"WebChartNeedle"},WebChartGaugeAxis:{type:"object",properties:{type:{type:"string",const:"chartAxis",description:'Represents a unique string identifier for the WebChartAxis object. For ChartAxis object, it is "chartAxis".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},isLogarithmic:{type:"boolean",description:"Specifies whether the axis has a logarithmic scale or not.",default:!1},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the axis should be rendered"},valueFormat:{anyOf:[{$ref:"#/definitions/CategoryFormatOptions"},{$ref:"#/definitions/DateTimeFormatOptions"},{$ref:"#/definitions/NumberFormatOptions"}],description:"Specifies how numerical/categorical/date-time values should be formatted."},minimum:{type:["number","null"],description:"The minimum value which the axis should represent, when it is not defined or null, then the minimum value for the corresponding axis is automatically calculated."},maximum:{type:["number","null"],description:"The maximum value which the axis should represent, when it is not defined or null, then the maximum value for the corresponding axis is automatically calculated."},grid:{$ref:"#/definitions/ISimpleLineSymbol",description:"Dictates how the grid lines associated with a particular axis should be rendered."},guides:{type:"array",items:{$ref:"#/definitions/WebChartGuide"},description:"Represent an array of guides that should be rendered onto the axis."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the axis line should be rendered. If not provided a default style is applied."},labels:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the axis labels should be rendered."},scrollbar:{$ref:"#/definitions/WebChartAxisScrollBar",description:"Represents the axis scrollbar style and visibility"},displayZeroLine:{type:"boolean",description:"Represents an option to hide/un-hide the zero line on value axis",default:!1},integerOnlyValues:{type:"boolean",description:"Represents an option to show `integer-only` values for a value axis",default:!1},displayCursorTooltip:{type:"boolean",description:"Specifies whether cursor tooltip should be displayed.",default:!1},buffer:{type:"boolean",description:"Allows setting a buffer to a **value axis** to provide some space around the series.",default:!1},tickSpacing:{type:"number",description:"The desired minimum distance between two adjacent axis ticks. The actual distance may fluctuate depending on the chart's size. When not provided a default value is assigned according to the axis type and axis labels behavior.",minimum:1},dateBaseInterval:{$ref:"#/definitions/TimeIntervalInfo",description:"Specifies the base interval on a date axis. Will be ignored on the other axis types. It will be overridden by the properties from the series `binTemporalData` when provided."},innerLabel:{$ref:"#/definitions/WebChartText",description:"Specifies how the axis' inner label needs to be displayed"},needle:{$ref:"#/definitions/WebChartNeedle",description:"Specifies how the axis' needle needs to be displayed"},ticks:{$ref:"#/definitions/WebChartGaugeAxisTick",description:"Specifies how the axis' ticks need to be displayed"},labelsIncrement:{type:"number",description:"If a label has a value being a multiple of that property, it will be displayed. Otherwise it will be hidden.\n\nIf the property is `undefined` or 0, the chart will be displayed with 6 axis labels distributed evenly along the axis min and max.\n\nIf the property has a value that results in more than a set limit of axis labels (25 as defined in `ChartDefaults.gauge.maximumNumberOfLabelIntervals`) this property value will be ignored and the chart will be displayed with only axis min/max with 4 ticks in between.",default:"undefined"},onlyShowFirstAndLastLabels:{type:"boolean",description:"Specifies if only the first and last labels need to be displayed. If set to `true` all the other labels will be hidden. Their visibility still depends on the axis labels visibility (WebChartAxis.labels.visible).",default:!1},minimumValueConversion:{$ref:"#/definitions/ValueConversion",description:"Defines how to convert the axis minimum"},maximumValueConversion:{$ref:"#/definitions/ValueConversion",description:"Defines how to convert the axis maximum"},minimumFromField:{anyOf:[{$ref:"#/definitions/IStatisticDefinition"},{type:"string"}],description:"If used with a gauge by feature:\n- `minimumFromField` is expected to be a field name. The value from that field for the given feature is mapped to the axis minimum value If used with a statistic gauge:\n- If `minimumFromField` is set to a field name (string), the minimum from that field is mapped to the axis minimum value\n- If it is set to an `IStatisticDefinition` the statistic (min, max, avg...) from the given field is mapped to the axis minimum value When `minimumFromField` is not provided or when it leads to an invalid value, the `minimum` value from the axis config, if provided, or the default value of 0, in that order, will be used."},maximumFromField:{anyOf:[{$ref:"#/definitions/IStatisticDefinition"},{type:"string"}],description:"If used with a gauge by feature:\n- `maximumFromField` is expected to be a field name. The value from that field for the given feature is mapped to the axis maximum value If used with a statistic gauge:\n- If `maximumFromField` is set to a field name (string), the maximum from that field is mapped to the axis maximum value\n- If it is set to an `IStatisticDefinition` the statistic (min, max, avg...) from the given field is mapped to the axis maximum value When `maximumFromField` is not provided or when it leads to an invalid value, the `maximum` value from the axis config, if provided, or the default value of 0, in that order, will be used."}},required:["labels","type","valueFormat"],description:"JSON representation of the gauge chart's axis object. Inherits from the WebChartAxis properties.",title:"WebChartGaugeAxis"},IStatisticDefinition:{type:"object",properties:{statisticType:{type:"string",enum:["avg","centroid-aggregate","convex-hull-aggregate","count","envelope-aggregate","max","min","percentile-continuous","percentile-discrete","stddev","sum","var"],description:"Statistical operation to perform (count, sum, min, max, avg, stddev, var, percentile_cont, percentile_disc, EnvelopeAggregate, CentroidAggregate, ConvexHullAggregate)."},statisticParameters:{type:"object",properties:{value:{type:"number"},orderBy:{type:"string",enum:["asc","desc"]}},required:["value"],description:"Parameters to be used along with statisticType. Currently, only applicable for percentile-continuous (continuous percentile) and percentile-discrete (discrete percentile)."},onStatisticField:{type:"string",description:"Field on which to perform the statistical operation."},outStatisticFieldName:{type:"string",description:"Field name for the returned statistic field. If outStatisticFieldName is empty or missing, the server will assign one. A valid field name can only contain alphanumeric characters and an underscore. If the outStatisticFieldName is a reserved keyword of the underlying DBMS, the operation can fail. Try specifying an alternative outStatisticFieldName."}},required:["statisticType","onStatisticField"],title:"IStatisticDefinition"},WebChartRadarChartAxis:{type:"object",properties:{type:{type:"string",const:"chartAxis",description:'Represents a unique string identifier for the WebChartAxis object. For ChartAxis object, it is "chartAxis".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},isLogarithmic:{type:"boolean",description:"Specifies whether the axis has a logarithmic scale or not.",default:!1},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the axis should be rendered"},valueFormat:{anyOf:[{$ref:"#/definitions/CategoryFormatOptions"},{$ref:"#/definitions/DateTimeFormatOptions"},{$ref:"#/definitions/NumberFormatOptions"}],description:"Specifies how numerical/categorical/date-time values should be formatted."},minimum:{type:["number","null"],description:"The minimum value which the axis should represent, when it is not defined or null, then the minimum value for the corresponding axis is automatically calculated."},maximum:{type:["number","null"],description:"The maximum value which the axis should represent, when it is not defined or null, then the maximum value for the corresponding axis is automatically calculated."},grid:{$ref:"#/definitions/ISimpleLineSymbol",description:"Dictates how the grid lines associated with a particular axis should be rendered."},guides:{type:"array",items:{$ref:"#/definitions/WebChartGuide"},description:"Represent an array of guides that should be rendered onto the axis."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the axis line should be rendered. If not provided a default style is applied."},labels:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the axis labels should be rendered."},scrollbar:{$ref:"#/definitions/WebChartAxisScrollBar",description:"Represents the axis scrollbar style and visibility"},displayZeroLine:{type:"boolean",description:"Represents an option to hide/un-hide the zero line on value axis",default:!1},integerOnlyValues:{type:"boolean",description:"Represents an option to show `integer-only` values for a value axis",default:!1},displayCursorTooltip:{type:"boolean",description:"Specifies whether cursor tooltip should be displayed.",default:!1},buffer:{type:"boolean",description:"Allows setting a buffer to a **value axis** to provide some space around the series.",default:!1},tickSpacing:{type:"number",description:"The desired minimum distance between two adjacent axis ticks. The actual distance may fluctuate depending on the chart's size. When not provided a default value is assigned according to the axis type and axis labels behavior.",minimum:1},dateBaseInterval:{$ref:"#/definitions/TimeIntervalInfo",description:"Specifies the base interval on a date axis. Will be ignored on the other axis types. It will be overridden by the properties from the series `binTemporalData` when provided."},labelsOrientation:{$ref:"#/definitions/WebChartRadarChartAxisLabelsOrientation",description:"Defines the labels orientation",default:"WebChartRadarChartAxisLabelsOrientation.Circular"}},required:["labels","type","valueFormat"],description:"JSON representation of the radar chart's axis object.",title:"WebChartRadarChartAxis"},WebChartRadarChartAxisLabelsOrientation:{type:"string",enum:["radial","circular","horizontal"],description:"Labels orientation for radar chart axes.",title:"WebChartRadarChartAxisLabelsOrientation"},WebChartQuery:{type:"object",properties:{outFields:{type:"array",items:{type:"string"},description:"Attribute fields to include in the FeatureSet. Will have an effect on chart with no aggregation."},where:{type:"string",description:"Acts as a filter on the base data for attribute-based filtering, expect for bar/line charts for which is is used to handle the split-by field values."},groupByFieldsForStatistics:{type:"array",items:{type:"string"},description:"An array of fields which determine how the base data is grouped. Only one **groupBy** Field is supported, but ArcGIS JSAPI [supports multiple groupBy fields](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#groupByFieldsForStatistics). While splitting by multiple group-by fields is possible, it is not being done because of the number of series it will give rise to (equal to the length of the Cartesian product set) possibly making the visualization hard to interpret.",maxItems:1},outStatistics:{type:"array",items:{$ref:"#/definitions/IStatisticDefinition"},description:"Represents an array of statistics definitions which dictate how a particular field should be aggregated. Refer to [JSAPI Statistics Definition class](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-StatisticDefinition.html) for more info."},orderByFields:{type:"array",items:{type:"string"},description:"Represents the sorting order of the output result. More info present in [JSAPI docs](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#orderByFields). The format of any entry in this array is `field_name sorting_order`. When `sorting_order` is not defined, it is assumed to be ascending."},gdbVersion:{type:"string",description:"Specifies the geodatabase version to display for feature service queries."},geometry:{anyOf:[{$ref:"#/definitions/IEnvelope"},{$ref:"#/definitions/IExtent"},{$ref:"#/definitions/IPoint"},{$ref:"#/definitions/IPolygon"},{$ref:"#/definitions/IPolygonWithCurves"},{$ref:"#/definitions/IPolyline"}],description:"The geometry to apply to the spatial filter. A buffer can be applied to it by setting the properties `distance` and `units`."},spatialRelationship:{description:"For spatial filters, this parameter defines the spatial relationship to filter features in the layer view against the filter geometry."},distance:{type:"number",description:"Specifies a search distance for the `geometry`. To be associated with the `units` property. For compatible layers only."},units:{$ref:"#/definitions/RESTUnits",description:"The unit for calculating the buffer distance when `distance` and `geometry` are provided. If not specified, the unit is derived from the geometry spatial reference."},timeExtent:{type:"array",items:{type:"number"},minItems:2,maxItems:2,description:"A time extent ([timestamp, timestamp]) for a temporal query against time-aware layers."},start:{type:"number",description:"The zero-based index indicating where to begin retrieving features."},num:{type:"number",description:"The number of features to retrieve."},returnDistinctValues:{type:"boolean",description:"If true then the query returns distinct values based on the field(s) specified in outFields. Available for count-based aggregations only.",default:!1},fetchNullValues:{type:"boolean",description:"Indicates whether to fetch null values for them to be counted or displayed as categories on the chart.",default:!1},objectIds:{type:"array",items:{type:"number"},description:"An array of objectIds of the features to be filtered."}},description:"Chart query object inspired by [JSAPI Query](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html) class.",title:"WebChartQuery"},IEnvelope:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},xmin:{type:"number"},xmax:{type:"number"},ymin:{type:"number"},ymax:{type:"number"},zmin:{type:"number"},zmax:{type:"number"},mmin:{type:"number"},mmax:{type:"number"}},required:["xmin","xmax","ymin","ymax"],description:"An envelope is a rectangle defined by a range of values for each coordinate and attribute.",title:"IEnvelope"},IGeometry:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"}},description:'a building block for discrete geometries\n\n`IGeometry` can also be imported from the following packages:\n\n```js import { IGeometry } from "@esri/arcgis-rest-feature-layer"; ```',title:"IGeometry"},ISpatialReference:{type:"object",properties:{wkid:{type:["number","null"]},latestWkid:{type:"number"},vcsWkid:{type:"number"},latestVcsWkid:{type:"number"},wkt:{type:["string","null"]},latestWkt:{type:"string"}},description:'Spatial reference systems define mathematical transformations and coordinate systems for displaying spatial information in 2D and 3D.\n\n`ISpatialReference` can also be imported from the following packages:\n\n```js import { ISpatialReference } from "@esri/arcgis-rest-geocoding"; import { ISpatialReference } from "@esri/arcgis-rest-routing"; import { ISpatialReference } from "@esri/arcgis-rest-service-admin"; import { ISpatialReference } from "@esri/arcgis-rest-feature-layer"; ```',title:"ISpatialReference"},IExtent:{type:"object",properties:{xmin:{type:"number"},ymin:{type:"number"},zmin:{type:"number"},xmax:{type:"number"},ymax:{type:"number"},zmax:{type:"number"},spatialReference:{$ref:"#/definitions/ISpatialReference"}},required:["xmin","ymin","xmax","ymax"],description:'Extents are used to define rectangles and bounding boxes.\n\n`IExtent` can also be imported from the following packages:\n\n```js import { IExtent } from "@esri/arcgis-rest-geocoding"; import { IExtent } from "@esri/arcgis-rest-service-admin"; import { IExtent } from "@esri/arcgis-rest-feature-layer"; ```',title:"IExtent"},IPoint:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},x:{type:"number"},y:{type:"number"},z:{type:"number"}},required:["x","y"],description:'A simple point geometry, with spatial reference defined.\n\n`IPoint` can also be imported from the following packages:\n\n```js import { IPoint } from "@esri/arcgis-rest-routing"; import { IPoint } from "@esri/arcgis-rest-geocoding"; ```',title:"IPoint"},IHasZM:{type:"object",properties:{hasZ:{type:"boolean"},hasM:{type:"boolean"}},description:'`IHasZM` can also be imported from the following packages:\n\n```js import { IHasZM } from "@esri/arcgis-rest-feature-layer"; ```',title:"IHasZM"},IPolygon:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},rings:{type:"array",items:{type:"array",items:{$ref:"#/definitions/Position"}}}},required:["rings"],title:"IPolygon"},Position:{anyOf:[{$ref:"#/definitions/Position2D"},{type:"array",items:{type:"number"},minItems:4,maxItems:4},{type:"array",items:{type:"number"},minItems:3,maxItems:3}],title:"Position"},Position2D:{type:"array",items:{type:"number"},minItems:2,maxItems:2,title:"Position2D"},IPolygonWithCurves:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},curveRings:{type:"array",items:{type:"array",items:{anyOf:[{$ref:"#/definitions/JsonCurve"},{$ref:"#/definitions/Position"}]}}}},required:["curveRings"],title:"IPolygonWithCurves"},JsonCurve:{anyOf:[{$ref:"#/definitions/IArc"},{$ref:"#/definitions/IBezierCurve"},{$ref:"#/definitions/ICircularArc"},{$ref:"#/definitions/IOldCircularArc"}],title:"JsonCurve"},IArc:{type:"object",properties:{a:{type:"array",minItems:7,items:[{$ref:"#/definitions/Position"},{$ref:"#/definitions/Position2D"},{type:"number"},{type:"number"},{type:"number"},{type:"number"},{type:"number"}],maxItems:7}},required:["a"],description:"an arc can be represented as a JSON curve object",title:"IArc"},IBezierCurve:{type:"object",properties:{b:{type:"array",minItems:3,items:[{$ref:"#/definitions/Position"},{$ref:"#/definitions/Position2D"},{$ref:"#/definitions/Position2D"}],maxItems:3}},required:["b"],description:"a bezier curve can be represented as a JSON curve object",title:"IBezierCurve"},ICircularArc:{type:"object",properties:{c:{type:"array",minItems:2,items:[{$ref:"#/definitions/Position"},{$ref:"#/definitions/Position2D"}],maxItems:2}},required:["c"],description:"a circular arc can be represented as a JSON curve object",title:"ICircularArc"},IOldCircularArc:{type:"object",properties:{a:{type:"array",minItems:4,items:[{$ref:"#/definitions/Position"},{$ref:"#/definitions/Position2D"},{type:"number"},{type:"number"}],maxItems:4}},required:["a"],title:"IOldCircularArc"},IPolyline:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},paths:{type:"array",items:{type:"array",items:{$ref:"#/definitions/Position"}}}},required:["paths"],title:"IPolyline"},RESTUnits:{type:"string",enum:["feet","miles","nautical-miles","us-nautical-miles","meters","kilometers"],title:"RESTUnits"},WebChartSeriesQuery:{$ref:"#/definitions/Omit%3CWebChartQuery%2C(%22distance%22%7C%22gdbVersion%22%7C%22geometry%22%7C%22num%22%7C%22objectIds%22%7C%22orderByFields%22%7C%22spatialRelationship%22%7C%22start%22%7C%22timeExtent%22%7C%22units%22)%3E",description:"Subset of the WebChartQuery, used at the series level",title:"WebChartSeriesQuery"},'Omit<WebChartQuery,("distance"|"gdbVersion"|"geometry"|"num"|"objectIds"|"orderByFields"|"spatialRelationship"|"start"|"timeExtent"|"units")>':{$ref:"#/definitions/Pick%3CWebChartQuery%2CExclude%3C(%22outFields%22%7C%22where%22%7C%22groupByFieldsForStatistics%22%7C%22outStatistics%22%7C%22orderByFields%22%7C%22gdbVersion%22%7C%22geometry%22%7C%22spatialRelationship%22%7C%22distance%22%7C%22units%22%7C%22timeExtent%22%7C%22start%22%7C%22num%22%7C%22returnDistinctValues%22%7C%22fetchNullValues%22%7C%22objectIds%22%7Cstring)%2C(%22distance%22%7C%22gdbVersion%22%7C%22geometry%22%7C%22num%22%7C%22objectIds%22%7C%22orderByFields%22%7C%22spatialRelationship%22%7C%22start%22%7C%22timeExtent%22%7C%22units%22)%3E%3E",title:'Omit<WebChartQuery,("distance"|"gdbVersion"|"geometry"|"num"|"objectIds"|"orderByFields"|"spatialRelationship"|"start"|"timeExtent"|"units")>'},'Pick<WebChartQuery,Exclude<("outFields"|"where"|"groupByFieldsForStatistics"|"outStatistics"|"orderByFields"|"gdbVersion"|"geometry"|"spatialRelationship"|"distance"|"units"|"timeExtent"|"start"|"num"|"returnDistinctValues"|"fetchNullValues"|"objectIds"|string),("distance"|"gdbVersion"|"geometry"|"num"|"objectIds"|"orderByFields"|"spatialRelationship"|"start"|"timeExtent"|"units")>>':{type:"object",properties:{outFields:{type:"array",items:{type:"string"},description:"Attribute fields to include in the FeatureSet. Will have an effect on chart with no aggregation."},where:{type:"string",description:"Acts as a filter on the base data for attribute-based filtering, expect for bar/line charts for which is is used to handle the split-by field values."},groupByFieldsForStatistics:{type:"array",items:{type:"string"},description:"An array of fields which determine how the base data is grouped. Only one **groupBy** Field is supported, but ArcGIS JSAPI [supports multiple groupBy fields](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#groupByFieldsForStatistics). While splitting by multiple group-by fields is possible, it is not being done because of the number of series it will give rise to (equal to the length of the Cartesian product set) possibly making the visualization hard to interpret.",maxItems:1},outStatistics:{type:"array",items:{$ref:"#/definitions/IStatisticDefinition"},description:"Represents an array of statistics definitions which dictate how a particular field should be aggregated. Refer to [JSAPI Statistics Definition class](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-StatisticDefinition.html) for more info."},returnDistinctValues:{type:"boolean",description:"If true then the query returns distinct values based on the field(s) specified in outFields. Available for count-based aggregations only.",default:!1},fetchNullValues:{type:"boolean",description:"Indicates whether to fetch null values for them to be counted or displayed as categories on the chart.",default:!1}},title:'Pick<WebChartQuery,Exclude<("outFields"|"where"|"groupByFieldsForStatistics"|"outStatistics"|"orderByFields"|"gdbVersion"|"geometry"|"spatialRelationship"|"distance"|"units"|"timeExtent"|"start"|"num"|"returnDistinctValues"|"fetchNullValues"|"objectIds"|string),("distance"|"gdbVersion"|"geometry"|"num"|"objectIds"|"orderByFields"|"spatialRelationship"|"start"|"timeExtent"|"units")>>'},WebChartDataFilters:{$ref:"#/definitions/Pick%3CWebChartQuery%2C(%22distance%22%7C%22gdbVersion%22%7C%22geometry%22%7C%22objectIds%22%7C%22spatialRelationship%22%7C%22timeExtent%22%7C%22units%22%7C%22where%22)%3E",description:"JSON representation of filters applied to the data",title:"WebChartDataFilters"},'Pick<WebChartQuery,("distance"|"gdbVersion"|"geometry"|"objectIds"|"spatialRelationship"|"timeExtent"|"units"|"where")>':{type:"object",properties:{distance:{type:"number",description:"Specifies a search distance for the `geometry`. To be associated with the `units` property. For compatible layers only."},gdbVersion:{type:"string",description:"Specifies the geodatabase version to display for feature service queries."},geometry:{anyOf:[{$ref:"#/definitions/IEnvelope"},{$ref:"#/definitions/IExtent"},{$ref:"#/definitions/IPoint"},{$ref:"#/definitions/IPolygon"},{$ref:"#/definitions/IPolygonWithCurves"},{$ref:"#/definitions/IPolyline"}],description:"The geometry to apply to the spatial filter. A buffer can be applied to it by setting the properties `distance` and `units`."},objectIds:{type:"array",items:{type:"number"},description:"An array of objectIds of the features to be filtered."},spatialRelationship:{description:"For spatial filters, this parameter defines the spatial relationship to filter features in the layer view against the filter geometry."},timeExtent:{type:"array",items:{type:"number"},minItems:2,maxItems:2,description:"A time extent ([timestamp, timestamp]) for a temporal query against time-aware layers."},units:{$ref:"#/definitions/RESTUnits",description:"The unit for calculating the buffer distance when `distance` and `geometry` are provided. If not specified, the unit is derived from the geometry spatial reference."},where:{type:"string",description:"Acts as a filter on the base data for attribute-based filtering, expect for bar/line charts for which is is used to handle the split-by field values."}},title:'Pick<WebChartQuery,("distance"|"gdbVersion"|"geometry"|"objectIds"|"spatialRelationship"|"timeExtent"|"units"|"where")>'},WebChartSeries:{type:"object",properties:{type:{type:"string"},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1}},required:["type","id","name","x"],description:"JSON representation of the chart's series object. All other series extends this interface.",title:"WebChartSeries"},WebChartFixedDateBinning:{type:"object",properties:{size:{type:"number",description:"The span of time that will be binned or aggregated together. Works in coordination with `unit`."},trimIncompleteTimeInterval:{type:"boolean",description:"Determines whether incomplete time intervals at the start or end of the data span (depending on the `timeAggregationType`) will be removed from the chart. Incomplete intervals on a chart can cause misleading results in which the period in question is under- or over reported due to a different amount of time in the interval. Setting `true` indicates to trim these incomplete intervals. Setting `false` does not trim incomplete intervals.",default:!0},timeAggregationType:{$ref:"#/definitions/WebChartTimeAggregationTypes",description:"The time interval alignment type. Valid options include `equalIntervalsFromStartTime` and `equalIntervalsFromEndTime`.",default:"equalIntervalsFromStartTime"},nullPolicy:{$ref:"#/definitions/WebChartNullPolicyTypes",description:"How summarized bins returning a null value are displayed. Supported options are:\n- `null`, `zero`, and `interpolate` for line series\n- `null` and `zero` for bar series",default:"null"},type:{type:"string",const:"fixedDateBased"},unit:{$ref:"#/definitions/WebChartFixedDateBinningUnits",description:"The unit of time to use to bin the temporal data."}},required:["type"],description:"Represents the properties related to the the fixed-date temporal binning. It currently covers the same scope as `WebChartDateBinning`.",title:"WebChartFixedDateBinning"},WebChartDateBinning:{type:"object",properties:{size:{type:"number",description:"The span of time that will be binned or aggregated together. Works in coordination with `unit`."},trimIncompleteTimeInterval:{type:"boolean",description:"Determines whether incomplete time intervals at the start or end of the data span (depending on the `timeAggregationType`) will be removed from the chart. Incomplete intervals on a chart can cause misleading results in which the period in question is under- or over reported due to a different amount of time in the interval. Setting `true` indicates to trim these incomplete intervals. Setting `false` does not trim incomplete intervals.",default:!0},timeAggregationType:{$ref:"#/definitions/WebChartTimeAggregationTypes",description:"The time interval alignment type. Valid options include `equalIntervalsFromStartTime` and `equalIntervalsFromEndTime`.",default:"equalIntervalsFromStartTime"},nullPolicy:{$ref:"#/definitions/WebChartNullPolicyTypes",description:"How summarized bins returning a null value are displayed. Supported options are:\n- `null`, `zero`, and `interpolate` for line series\n- `null` and `zero` for bar series",default:"null"}},title:"WebChartDateBinning"},WebChartTimeAggregationTypes:{type:"string",enum:["equalIntervalsFromStartTime","equalIntervalsFromEndTime"],description:"Represents the different types of time aggregation that can be applied to a chart using the time binning feature.",title:"WebChartTimeAggregationTypes"},WebChartNullPolicyTypes:{type:"string",enum:["null","zero","interpolate"],description:"Represents the different types of null policy that can be applied to a chart using the time binning feature.",title:"WebChartNullPolicyTypes"},WebChartFixedDateBinningUnits:{type:"string",enum:["seconds","minutes","hours","days","weeks","months","years"],description:"The temporal binning units for fixed-date based binning",title:"WebChartFixedDateBinningUnits"},WebChartCalendarBasedBinning:{type:"object",properties:{size:{type:"number",description:"The span of time that will be binned or aggregated together. Works in coordination with `unit`."},trimIncompleteTimeInterval:{type:"boolean",description:"Determines whether incomplete time intervals at the start or end of the data span (depending on the `timeAggregationType`) will be removed from the chart. Incomplete intervals on a chart can cause misleading results in which the period in question is under- or over reported due to a different amount of time in the interval. Setting `true` indicates to trim these incomplete intervals. Setting `false` does not trim incomplete intervals.",default:!0},timeAggregationType:{$ref:"#/definitions/WebChartTimeAggregationTypes",description:"The time interval alignment type. Valid options include `equalIntervalsFromStartTime` and `equalIntervalsFromEndTime`.",default:"equalIntervalsFromStartTime"},nullPolicy:{$ref:"#/definitions/WebChartNullPolicyTypes",description:"How summarized bins returning a null value are displayed. Supported options are:\n- `null`, `zero`, and `interpolate` for line series\n- `null` and `zero` for bar series",default:"null"},type:{type:"string",const:"calendarBased"},unit:{$ref:"#/definitions/WebChartCalendarBinningUnits",description:"The unit of time to use to bin the temporal data."},start:{type:"number",description:"The binning start date"},end:{type:"number",description:"The binning end date"},offset:{type:"object",properties:{unit:{$ref:"#/definitions/WebChartCalendarBinningOffsetUnits"},size:{type:"number"}},required:["unit","size"],description:"Offset to apply to the results"},outTimeZone:{type:"string",description:"Defines the [IANA time zone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) used for temporal bin calculations"}},required:["type"],description:"Represents the properties related to the calendar-based temporal binning. It supports the same properties as `WebChartDateBinning` and adds some.",title:"WebChartCalendarBasedBinning"},WebChartCalendarBinningUnits:{type:"string",enum:["seconds","minutes","hours","days","weeks","months","quarters","years"],description:"The temporal binning units for calendar based binning",title:"WebChartCalendarBinningUnits"},WebChartCalendarBinningOffsetUnits:{type:"string",enum:["seconds","minutes","hours","days"],description:"The temporal binning units for the calendar based binning offset",title:"WebChartCalendarBinningOffsetUnits"},WebChartTemporalSeries:{type:"object",properties:{binTemporalData:{type:"boolean",description:"Whether to use the time properties to bin the temporal data. If set to `false` the `binCount` and `unit` properties can be used to set the date axis base interval.",default:!0},temporalBinning:{anyOf:[{$ref:"#/definitions/WebChartCalendarBasedBinning"},{$ref:"#/definitions/WebChartFixedDateBinning"}],description:'Defines the pattern to apply to bin the data. The "fixedDateBased" type will make the bins start at the beginning of the given period (1st of the week, 1st of the month, 1st or the day, etc.) The "calendarBased" type will make the bins start at the data set first entry (e.g. it the first date is 1/18/20 and the binning is done by month, the bins will go from the 18th to a month to the 17th of the next month).'}},description:"Describes the properties related to a temporal series",title:"WebChartTemporalSeries"},WebChartBarChartSeries:{type:"object",properties:{binTemporalData:{type:"boolean",description:"Whether to use the time properties to bin the temporal data. If set to `false` the `binCount` and `unit` properties can be used to set the date axis base interval.",default:!0},temporalBinning:{anyOf:[{$ref:"#/definitions/WebChartCalendarBasedBinning"},{$ref:"#/definitions/WebChartFixedDateBinning"}],description:'Defines the pattern to apply to bin the data. The "fixedDateBased" type will make the bins start at the beginning of the given period (1st of the week, 1st of the month, 1st or the day, etc.) The "calendarBased" type will make the bins start at the data set first entry (e.g. it the first date is 1/18/20 and the binning is done by month, the bins will go from the 18th to a month to the 17th of the next month).'},type:{type:"string",const:"barSeries",description:'Represents a unique string identifier for the BarChartSeries object. For BarSeries object, it is "barSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},y:{type:"string",description:"Specifies which field represents the y-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the columns/bars should be rendered"},hideOversizedStackedLabels:{type:"boolean",description:"When true or undefined (default), the labels displayed within a small column or stack are hidden to avoid cluttering. When false, all the data labels are displayed.",default:!0}},required:["id","name","type","x","y"],description:"[Bar chart](https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/charts/bar-chart.htm) shows the categorical distribution of String/DateTime data.",title:"WebChartBarChartSeries"},HistogramOverlays:{type:"object",properties:{type:{type:"string",const:"chartOverlays",description:'Represents a unique string identifier for the HistogramOverlays object. For HistogramOverlays object, it is "chartOverlays".'},mean:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the mean overlay for histogram. If not provided, the mean overlay is not displayed."},median:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the median overlay for histogram. If not provided, the median overlay is not displayed."},standardDeviation:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the standard deviation overlay for histogram. If not provided, the standard deviation overlay is not displayed."},comparisonDistribution:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the comparison distribution overlay for histogram. If not provided, the comparison distribution overlay is not displayed."}},required:["type"],description:"Object containing Histogram overlays",title:"HistogramOverlays"},WebChartHistogramSeries:{type:"object",properties:{type:{type:"string",const:"histogramSeries",description:'Represents a unique string identifier for the HistogramSeries object. For BarSeries object, it is "histogramSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},binCount:{type:["number","null"],description:"Bin count must be a positive integer.",minimum:1,multipleOf:1,default:32},overlays:{$ref:"#/definitions/HistogramOverlays",description:"Specifies the chart overlays. Histogram supports 4 overlays: **mean**, **median**, **standardDeviation** and **comparisonDistribution**. The overlays won't show if the property is not defined."},dataTransformationType:{$ref:"#/definitions/WebChartDataTransformations",description:"Specifies how the data should be transformed (e.g. square root, log, etc.) before binning."},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the columns/bars should be rendered"}},required:["id","name","type","x"],description:"[Histogram](https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/charts/histogram.htm) shows the numerical(frequency) distribution of a numerical field.",title:"WebChartHistogramSeries"},WebChartDataTransformations:{type:"string",enum:["none","logarithmic","squareRoot"],title:"WebChartDataTransformations"},ScatterPlotOverlays:{type:"object",properties:{type:{type:"string",const:"chartOverlays",description:'Represents a unique string identifier for the ScatterPlotOverlays object. For ScatterPlotOverlays object, it is "chartOverlays".'},trendLine:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the trendline overlay for scatter plot. The trendline won't show if the property is not defined."}},required:["type"],description:"Object containing Scatter Plot overlays",title:"ScatterPlotOverlays"},SizePolicy:{type:"object",properties:{type:{type:"string",const:"sizeScale",description:'Represents a unique string identifier for the sizePolicy object. For sizePolicy object, it is "sizeScale".'},scaleType:{$ref:"#/definitions/SizePolicyScaleTypes",description:"The type of scale to apply to the markers (linear or logarithmic)",default:"SizePolicyScaleTypes.Linear"},field:{type:"string",description:"The field which determines the markers size"},minSize:{type:"number",description:"The minimum marker size",default:5,multipleOf:1},maxSize:{type:"number",description:"The maximum marker size",default:30,multipleOf:1}},required:["type","field"],title:"SizePolicy"},SizePolicyScaleTypes:{type:"string",enum:["linear","logarithmic"],description:"Represents the types of scales that can be applied to the size policy. Use by bubble charts (scatterplot).",title:"SizePolicyScaleTypes"},WebChartScatterPlotSeries:{type:"object",properties:{type:{type:"string",const:"scatterSeries",description:'Represents a unique string identifier for the ScatterSeries object. For ScatterSeries object, it is "scatterSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},y:{type:"string",description:"Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},markerSymbol:{$ref:"#/definitions/ISimpleMarkerSymbol",description:'Specifies how each data point in the scatter plot should be rendered. The type is `"esriSMS"` and it is adopted from the [REST API Types](https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm#GUID-C8D40B32-5F4B-45EB-8048-6D5A8763E13B).'},overlays:{$ref:"#/definitions/ScatterPlotOverlays",description:"Specifies all the chart overlays. The scatter plot implements only 1 overlay, **trendLine**. The overlays won't show if the property is not defined."},sizePolicy:{$ref:"#/definitions/SizePolicy",description:"Specifies rules to use the scatter plot as bubble plot, by changing dynamically the markers size according to a specific field value"}},required:["id","name","type","x","y"],description:"[Scatter plot](https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/charts/scatter-plot.htm) shows the relationship between two numerical fields.",title:"WebChartScatterPlotSeries"},ISimpleMarkerSymbol:{type:"object",properties:{type:{type:"string",const:"esriSMS"},style:{$ref:"#/definitions/SimpleMarkerSymbolStyle"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"},color:{$ref:"#/definitions/Color"},size:{type:"number"},outline:{$ref:"#/definitions/ISimpleLineSymbol"}},required:["type"],title:"ISimpleMarkerSymbol"},IMarkerSymbol:{type:"object",properties:{type:{$ref:"#/definitions/SymbolType"},style:{type:"string"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"}},required:["type"],title:"IMarkerSymbol"},SimpleMarkerSymbolStyle:{type:"string",enum:["esriSMSCircle","esriSMSCross","esriSMSDiamond","esriSMSSquare","esriSMSTriangle","esriSMSX"],title:"SimpleMarkerSymbolStyle"},WebChartPieChartTick:{type:"object",properties:{type:{type:"string",const:"pieTick",description:'Represents a unique string identifier for the WebChartPieChartTick object. For PieTick object, it is "pieTick".'},visible:{type:"boolean",description:"Determines the visibility of the tick. Assigning the `true` value will only be considered when the data labels are visible (`series.dataLabels.visible`) and when the data label associated to the tick is outside of the chart (`series.dataLabelsOffset` > 0)."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the pie chart ticks should be rendered"}},required:["type"],description:"JSON representation of the pie ticks.",title:"WebChartPieChartTick"},WebChartPieChartSlice:{type:"object",properties:{sliceId:{type:"string",description:"A unique string used identify the slice of a pie chart."},originalLabel:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"The slice's original label."},label:{type:"string",description:"Custom label for the slice. For grouped slice, the default value is `Other`. For regular slice, it will be either the category or field name."},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the slice should be rendered. If not provided, the slice will be styled with default values."}},required:["sliceId"],description:"JSON representation of the pie slices",title:"WebChartPieChartSlice"},WebChartPieChartGroupSlice:{type:"object",properties:{sliceId:{type:"string",description:"A unique string used identify the slice of a pie chart."},originalLabel:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"The slice's original label."},label:{type:"string",description:"Custom label for the slice. For grouped slice, the default value is `Other`. For regular slice, it will be either the category or field name."},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the slice should be rendered. If not provided, the slice will be styled with default values."},percentageThreshold:{type:"number",description:"Slices that have a percent value equal or lesser to this threshold are grouped into a unique slice"},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the grouped slice data labels should be rendered. If the property is not set the `series.dataLabels` will be used instead."}},required:["percentageThreshold","sliceId"],description:"JSON representation of the pie grouped slice",title:"WebChartPieChartGroupSlice"},WebChartPieChartSeries:{type:"object",properties:{type:{type:"string",const:"pieSeries",description:'Represents a unique string identifier for the PieSeries object. For PieSeries object, it is "pieSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},y:{type:"string",description:"Specifies which field represents the y-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},innerRadius:{type:["number","null"],description:"Represents the size of the hole in middle of the chart. The number is used as a percentage rather than a fixed value.",minimum:0,maximum:100,default:50},startAngle:{type:["number","null"],default:-90},endAngle:{type:["number","null"],default:270},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the slices should be rendered"},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},displayNumericValueOnTooltip:{type:"boolean",description:"Indicates whether the numeric value associated to a slice is to be displayed on its tooltip. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)` This property will be ignored if the chart options `tooltipFormatter` is provided.",default:!0},displayPercentageOnTooltip:{type:"boolean",description:"Indicates whether the percentage associated to a slice is to be displayed on its tooltip. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)` This property will be ignored if the chart options `tooltipFormatter` is provided.",default:!0},numericValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Specifies how the numerical values should be formatted (applied to label, tooltip and legend). Can be overridden for the tooltips by series.dataTooltipValueFormat."},percentValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Specifies how the percent values should be formatted (applied to label, tooltip and legend) Can be overridden for the tooltips by series.dataTooltipPercentFormat."},valuePrefix:{type:"string",description:"Adds a prefix to all the values displayed on the pie chart: data labels, tooltips and legend"},valueSuffix:{type:"string",description:"Adds a suffix to all the values displayed on the pie chart: data labels, tooltips and legend"},percentagePrefix:{type:"string",description:"Adds a prefix to all the percentages displayed on the pie chart: data labels, tooltips and legend"},percentageSuffix:{type:"string",description:"Adds a suffix to all the percentages displayed on the pie chart: data labels, tooltips and legend"},dataLabelsCharacterLimit:{type:["number","null"],description:'If set, the category on the data label is truncated to display only `characterLimit` characters, and an ellipsis ("...") is added to the end of the label. This does not affect the value and percentage part of the labels. Does not apply to tooltips and legend labels.',default:"undefined",minimum:1,multipleOf:1},ticks:{$ref:"#/definitions/WebChartPieChartTick",description:"Specifies how to render the ticks shown on each slide. Ticks will be displayed with default values if not provided."},dataLabelsInside:{type:"boolean",description:`Whether to place the data labels inside the pie slices. When set to \`true\` the following properties will be ignored:
22
22
  - dataLabelsOffset
23
23
  - alignDataLabels
24
24
  - optimizeDataLabelsOverlapping`,default:!1},dataLabelsOffset:{type:"number",description:"Determines in pixel how far the data labels should be placed from their slice. If a negative value is provided the label will be placed inside of the chart. Ignored when `dataLabelsInside` is set to `true`.",default:10},alignDataLabels:{type:"boolean",description:"Aligns labels into columns to make them more readable and avoid them to overlap each other. Ignored when `dataLabelsInside` is set to `true`.",default:!1},optimizeDataLabelsOverlapping:{type:"boolean",description:"Optimizes the data labels rendering to avoid them to be cut off on the edges or to overlap the legend by wrapping them and adding padding to the chart. Ignored when `dataLabelsInside` is set to `true`.",default:!1},sliceGrouping:{$ref:"#/definitions/WebChartPieChartGroupSlice",description:"Specifies if and how the slices under a given percentage threshold are grouped into a unique slice"},slices:{type:"array",items:{$ref:"#/definitions/WebChartPieChartSlice"},description:`An array of WebChartPieChartSlice representing the ids, labels and styles of the pie slices.
@@ -53,5 +53,5 @@ Currently this property is only used for bar and line series.`,default:"sideBySi
53
53
 
54
54
  {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-PublishingInfo.html#status Read more...}`},updating:{type:"boolean",description:"Indicates if the layer's status is still being updated.",default:`false
55
55
 
56
- {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-PublishingInfo.html#updating Read more...}`}},required:["declaredClass","destroyed","initialized","status","updating"],title:"__esri.PublishingInfo"},"__esri.ScaleRangeLayer":{type:"object",properties:{maxScale:{type:"number"},minScale:{type:"number"}},required:["maxScale","minScale"],title:"__esri.ScaleRangeLayer"},"__esri.TemporalLayer":{type:"object",properties:{useViewTime:{type:"boolean"}},required:["useViewTime"],title:"__esri.TemporalLayer"},"__esri.TrackableLayer":{type:"object",title:"__esri.TrackableLayer"},"__esri.SubtypeSublayer":{type:"object",properties:{uid:{type:"string"},loadError:{anyOf:[{$ref:"#/definitions/__esri.Error"},{$ref:"#/definitions/nullish"}]},loadStatus:{type:"string",enum:["not-loaded","loading","failed","loaded"]},loadWarnings:{type:"array",items:{}},destroyed:{type:"boolean"},initialized:{type:"boolean"},declaredClass:{type:"string"}},required:["declaredClass","destroyed","initialized","loadError","loadStatus","loadWarnings","uid"],title:"__esri.SubtypeSublayer"},RGBObject:{type:"object",properties:{r:{type:"number"},g:{type:"number"},b:{type:"number"},a:{type:"number",default:1}},required:["r","g","b"],description:"JSON representation of the color object",title:"RGBObject"},IRendererSymbol:{type:"object",properties:{style:{type:"string"},color:{$ref:"#/definitions/Color"},outline:{$ref:"#/definitions/ISimpleLineSymbol"},label:{type:"string"},uniqueValue:{type:"string"},type:{$ref:"#/definitions/SymbolType"}},required:["color","type"],title:"IRendererSymbol"},WebChartDataItemColor:{anyOf:[{$ref:"#/definitions/Color"},{$ref:"#/definitions/RGBArray"},{$ref:"#/definitions/RGBObject"},{type:"string"}],title:"WebChartDataItemColor"},RGBArray:{type:"array",items:{type:"number"},minItems:3,maxItems:3,title:"RGBArray"},WebChartDataItemValue:{anyOf:[{type:"string",format:"date-time"},{$ref:"#/definitions/IExtent"},{$ref:"#/definitions/IRendererSymbol"},{type:"array",items:{type:"number"}},{type:"array",items:{type:"string"}},{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}},{$ref:"#/definitions/WebChartDataItemColor"},{type:"boolean"},{type:"number"},{type:"string"},{type:"null"},{not:{}}],title:"WebChartDataItemValue"},WebChartDataItem:{$ref:"#/definitions/Record%3Cstring%2CWebChartDataItemValue%3E",description:"JSON representation of a typical data item",title:"WebChartDataItem"},"Record<string,WebChartDataItemValue>":{type:"object",additionalProperties:{$ref:"#/definitions/WebChartDataItemValue"},title:"Record<string,WebChartDataItemValue>"},WebChartBoxPlotDataItem:{type:"object",properties:{dataItems:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}},outliers:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}},meanLines:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}}},required:["dataItems"],description:"JSON representation of the processed data for a Box Plot",title:"WebChartBoxPlotDataItem"},ScatterplotTrendLineData:{type:"object",properties:{r2:{type:"number"},trendLinePoints:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"},minItems:2,maxItems:2}},description:"JSON representation of the processed data for a Scatter plot trend line",title:"ScatterplotTrendLineData"},WebChartScatterPlotDataItem:{type:"object",properties:{r2:{type:"number"},trendLinePoints:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"},minItems:2,maxItems:2},dataItems:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}}},required:["dataItems"],description:"JSON representation of the processed data for a Scatter plot",title:"WebChartScatterPlotDataItem"},WebChartGenericDataItem:{type:"object",properties:{dataItems:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}},timeIntervalInfo:{$ref:"#/definitions/TimeIntervalInfo",description:"Time interval information, only for line charts"}},required:["dataItems"],description:"JSON representation of the generic data structure for bar, line bar-line, gauge and pie chart",title:"WebChartGenericDataItem"},WebChartBin:{type:"object",properties:{count:{type:"number"},minValue:{type:"number",description:"Min value in the bin"},maxValue:{type:"number",description:"Max value in the bin"},symbol:{$ref:"#/definitions/WebChartDataItem"}},required:["count","minValue","maxValue"],description:"JSON representation of a Histogram bin",title:"WebChartBin"},WebChartHistogramDataItem:{type:"object",properties:{mean:{type:"number"},median:{type:"number"},stddev:{type:"number"},max:{type:"number"},min:{type:"number"},sum:{type:"number",description:"Sum of the values of all the points"},count:{type:"number",description:"Number of all the points/features in un-binned data (including only non-null entries)"},nulls:{type:"number",description:"Number of null entries in the pool of points"},bins:{type:"array",items:{$ref:"#/definitions/WebChartBin"}}},required:["mean","median","stddev","max","min","bins"],description:"JSON representation of the processed data for a Histogram",title:"WebChartHistogramDataItem"},WebChartDataTypes:{anyOf:[{$ref:"#/definitions/WebChartBoxPlotDataItem"},{$ref:"#/definitions/WebChartGenericDataItem"},{$ref:"#/definitions/WebChartHistogramDataItem"},{$ref:"#/definitions/WebChartScatterPlotDataItem"}],title:"WebChartDataTypes"},WebChartTypes:{type:"string",enum:["chart","chartText","chartOverlay","chartOverlays","chartLegend","cursorCrosshair","chartAxis","gaugeAxisTick","gaugeNeedle","category","number","date","chartGuide","scatterSeries","pieSeries","pieTick","gaugeSeries","lineSeries","barSeries","histogramSeries","boxPlotSeries","radarSeries","comboLineAndBarSeries","buffer","sizeScale"],title:"WebChartTypes"},WebChartStatisticType:{type:"string",enum:["count","sum","min","max","avg","stddev","var","percentile-continuous","percentile-discrete","envelope-aggregate","centroid-aggregate","convex-hull-aggregate","no_aggregation"],title:"WebChartStatisticType"},WebChartColoringPatterns:{type:"string",enum:["singleColor","colorMatch"],title:"WebChartColoringPatterns"},WebChartBoxPlotMultipleSeriesKinds:{type:"string",enum:["sideBySide","meanLines"],title:"WebChartBoxPlotMultipleSeriesKinds"},WebChartLineSmoothedKinds:{type:"string",enum:["bezier","monotoneX","monotoneY"],description:"Represents the different types of smoothing that can be applied to a line chart when the `lineSmoothed` property is set to `true`.",title:"WebChartLineSmoothedKinds"},WebChartTemporalBinningTypes:{type:"string",enum:["fixedDateBased","calendarBased"],description:"Represents the different types of temporal binning that can be applied to a chart.",title:"WebChartTemporalBinningTypes"},WebChartVersionStatus:{type:"string",enum:["same","newer","older","unrecognized"],title:"WebChartVersionStatus"},WebChartAxisTypes:{type:"string",enum:["value","date","category"],description:"Represents the different types of axes that can be used in a chart.",title:"WebChartAxisTypes"},RESTFieldType:{type:"string",enum:["esriFieldTypeBlob","esriFieldTypeDate","esriFieldTypeDateOnly","esriFieldTypeTimestampOffset","esriFieldTypeDouble","esriFieldTypeGeometry","esriFieldTypeGlobalID","esriFieldTypeGUID","esriFieldTypeInteger","esriFieldTypeSmallInteger","esriFieldTypeBigInteger","esriFieldTypeOID","esriFieldTypeRaster","esriFieldTypeSingle","esriFieldTypeString","esriFieldTypeXML"],title:"RESTFieldType"},RESTSimpleLineSymbolStyle:{type:"string",enum:["esriSLSDash","esriSLSDashDot","esriSLSDashDotDot","esriSLSDot","esriSLSNull","esriSLSSolid"],title:"RESTSimpleLineSymbolStyle"},RESTSimpleMarkerSymbolStyle:{type:"string",enum:["esriSMSCircle","esriSMSCross","esriSMSDiamond","esriSMSSquare","esriSMSX","esriSMSTriangle"],title:"RESTSimpleMarkerSymbolStyle"},RESTSimpleFillSymbolStyle:{type:"string",enum:["esriSFSBackwardDiagonal","esriSFSCross","esriSFSDiagonalCross","esriSFSForwardDiagonal","esriSFSHorizontal","esriSFSNull","esriSFSSolid","esriSFSVertical"],title:"RESTSimpleFillSymbolStyle"},RESTHorizontalAlignment:{type:"string",enum:["left","right","center","justify"],title:"RESTHorizontalAlignment"},RESTVerticalAlignment:{type:"string",enum:["baseline","top","middle","bottom"],title:"RESTVerticalAlignment"},RESTSymbolType:{type:"string",enum:["esriSLS","esriSMS","esriSFS","esriPMS","esriPFS","esriTS"],title:"RESTSymbolType"},RESTFontStyle:{type:"string",enum:["italic","normal","oblique"],title:"RESTFontStyle"},RESTFontWeight:{type:"string",enum:["bold","bolder","lighter","normal"],title:"RESTFontWeight"},RESTFontDecoration:{type:"string",enum:["line-through","underline","none"],title:"RESTFontDecoration"},RESTRendererType:{type:"string",enum:["unique-value","simple","class-breaks","heatmap","dot-density","dictionary","pie-chart"],title:"RESTRendererType"},OverlayTerms:{type:"string",enum:["Mean","Median","Standard Deviation","Normal Distribution","Trendline"],title:"OverlayTerms"},CalculatedMinMaxBoundsPayload:{type:"object",properties:{isXAxis:{type:"boolean"},isSecondValueAxis:{type:"boolean"},minimum:{type:["number","null"],description:"The minimum value which the axis should represent, when it is not defined or null, then the minimum value for the corresponding axis is automatically calculated."},maximum:{type:["number","null"],description:"The maximum value which the axis should represent, when it is not defined or null, then the maximum value for the corresponding axis is automatically calculated."}},required:["isXAxis"],description:"+ Represents a subset of the event payload carrying the chart's axes bounds. See event `arcgisChartsAxesMinMaxChange`.",title:"CalculatedMinMaxBoundsPayload"},ChartDeletePayload:{type:"object",properties:{chartId:{type:"string"}},required:["chartId"],description:"Represents the payload of the event sent when a chart is removed from the chart list (component arcgis-charts-config-view-charts).",title:"ChartDeletePayload"},LegendItemVisibility:{type:"object",properties:{visible:{type:"boolean"},seriesId:{type:"string"},overlayType:{$ref:"#/definitions/OverlayTerms"},sliceId:{type:"string"},sliceData:{$ref:"#/definitions/WebChartDataItem"}},required:["visible"],description:"Represents the payload of the event sent when an item is toggled in the chart's legend (slice or series).",title:"LegendItemVisibility"},IFeatureSet:{type:"object",properties:{hasZ:{type:"boolean"},hasM:{type:"boolean"},objectIdFieldName:{type:"string"},globalIdFieldName:{type:"string"},displayFieldName:{type:"string"},geometryType:{$ref:"#/definitions/GeometryType"},spatialReference:{$ref:"#/definitions/ISpatialReference"},fields:{type:"array",items:{$ref:"#/definitions/IField"}},features:{type:"array",items:{$ref:"#/definitions/IFeature"}},fieldAliases:{$ref:"#/definitions/Record%3Cstring%2Cstring%3E"}},required:["features"],description:'`IFeatureSet` can also be imported from the following packages:\n\n```js import { IFeatureSet } from "@esri/arcgis-rest-feature-layer"; ```',title:"IFeatureSet"},"Record<string,string>":{type:"object",additionalProperties:{type:"string"},title:"Record<string,string>"},ILocation:{type:"object",properties:{latitude:{type:"number"},longitude:{type:"number"},lat:{type:"number"},long:{type:"number"},z:{type:"number"}},description:'`ILocation` can also be imported from the following packages:\n\n```js import { ILocation } from "@esri/arcgis-rest-routing"; import { ILocation } from "@esri/arcgis-rest-geocoding"; ```',title:"ILocation"},IPolylineWithCurves:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},curvePaths:{type:"array",items:{type:"array",items:{anyOf:[{$ref:"#/definitions/JsonCurve"},{$ref:"#/definitions/Position"}]}}}},required:["curvePaths"],title:"IPolylineWithCurves"},ElipticArc:{$ref:"#/definitions/IArc",title:"ElipticArc"},SpatialRelationship:{type:"string",enum:["esriSpatialRelContains","esriSpatialRelCrosses","esriSpatialRelEnvelopeIntersects","esriSpatialRelIndexIntersects","esriSpatialRelIntersects","esriSpatialRelOverlaps","esriSpatialRelTouches","esriSpatialRelWithin"],description:'The spatial relationship used to compare input geometries\n\n`SpatialRelationship` can also be imported from the following packages:\n\n```js import { SpatialRelationship } from "@esri/arcgis-rest-feature-layer"; ```',title:"SpatialRelationship"},IMultipoint:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},points:{type:"array",items:{$ref:"#/definitions/Position"}}},required:["points"],description:"A multipoint contains an array of points.",title:"IMultipoint"},Units:{type:"string",enum:["esriSRUnit_Foot","esriSRUnit_Kilometer","esriSRUnit_Meter","esriSRUnit_NauticalMile","esriSRUnit_StatuteMile","esriSRUnit_USNauticalMile"],description:'`Units` can also be imported from the following packages:\n\n```js import { Units } from "@esri/arcgis-rest-feature-layer"; ```',title:"Units"},GroupMembership:{type:"string",enum:["admin","member","none","owner"],description:'`GroupMembership` can also be imported from the following packages:\n\n```js import { GroupMembership } from "@esri/arcgis-rest-portal"; ```',title:"GroupMembership"},IGroupAdd:{type:"object",properties:{title:{type:"string"},access:{type:"string",enum:["org","private","public"]},owner:{type:"string"},tags:{type:"array",items:{type:"string"}},description:{type:"string"},phone:{type:"string"},sortField:{type:"string",enum:["avgrating","created","modified","numviews","owner","title"]},sortOrder:{type:"string",enum:["asc","desc"]},isViewOnly:{type:"boolean"},isInvitationOnly:{type:"boolean"},thumbnail:{type:"string"},autoJoin:{type:"boolean"},snippet:{type:"string"}},required:["title","access"],description:'A [Group](https://developers.arcgis.com/rest/users-groups-and-items/common-parameters.htm) that has not been created yet.\n\n`IGroupAdd` can also be imported from the following packages:\n\n```js import { IGroupAdd } from "@esri/arcgis-rest-portal"; ```',title:"IGroupAdd"},IGroup:{type:"object",properties:{title:{type:"string"},access:{type:"string",enum:["org","private","public"]},owner:{type:"string"},tags:{type:"array",items:{type:"string"}},description:{type:"string"},phone:{type:"string"},sortField:{type:"string",enum:["avgrating","created","modified","numviews","owner","title"]},sortOrder:{type:"string",enum:["asc","desc"]},isViewOnly:{type:"boolean"},isInvitationOnly:{type:"boolean"},thumbnail:{type:"string"},autoJoin:{type:"boolean"},snippet:{type:"string"},id:{type:"string"},created:{type:"number"},modified:{type:"number"},protected:{type:"boolean"},isOpenData:{type:"boolean"},isFav:{type:"boolean"},userMembership:{type:"object",properties:{username:{type:"string"},memberType:{$ref:"#/definitions/GroupMembership"},applications:{type:"number"}}},hasCategorySchema:{type:"boolean"}},required:["access","autoJoin","created","id","isFav","isInvitationOnly","isViewOnly","modified","owner","protected","tags","title"],description:'Existing Portal [Group](https://developers.arcgis.com/rest/users-groups-and-items/group.htm).\n\n`IGroup` can also be imported from the following packages:\n\n```js import { IGroup } from "@esri/arcgis-rest-portal"; ```',title:"IGroup"},IItemAdd:{type:"object",properties:{title:{type:"string"},type:{type:"string"},owner:{type:"string"},typeKeywords:{type:"array",items:{type:"string"}},description:{type:"string"},snippet:{type:"string"},documentation:{type:"string"},extent:{type:"array",items:{type:"array",items:{type:"number"}}},categories:{type:"array",items:{type:"string"}},spatialReference:{$ref:"#/definitions/ISpatialReference"},culture:{type:"string"},properties:{},url:{type:"string"},tags:{type:"array",items:{type:"string"}}},required:["title","type"],description:'A Portal [Item](https://developers.arcgis.com/rest/users-groups-and-items/common-parameters.htm) that has not been created yet.\n\n`IItemAdd` can also be imported from the following packages:\n\n```js import { IItemAdd } from "@esri/arcgis-rest-portal"; ```',title:"IItemAdd"},IItemUpdate:{type:"object",properties:{id:{type:"string"}},required:["id"],description:'A Portal [Item](https://developers.arcgis.com/rest/users-groups-and-items/common-parameters.htm) to be updated.\n\n`IItemUpdate` can also be imported from the following packages:\n\n```js import { IItemUpdate } from "@esri/arcgis-rest-portal"; ```',title:"IItemUpdate"},IItem:{type:"object",properties:{title:{type:"string"},type:{type:"string"},owner:{type:"string"},typeKeywords:{type:"array",items:{type:"string"}},description:{type:"string"},snippet:{type:"string"},documentation:{type:"string"},extent:{type:"array",items:{type:"array",items:{type:"number"}}},categories:{type:"array",items:{type:"string"}},spatialReference:{$ref:"#/definitions/ISpatialReference"},culture:{type:"string"},properties:{},url:{type:"string"},tags:{type:"array",items:{type:"string"}},id:{type:"string"},created:{type:"number"},modified:{type:"number"},numViews:{type:"number"},size:{type:"number"},protected:{type:"boolean"}},required:["created","id","modified","numViews","owner","size","tags","title","type"],description:'Existing Portal [Item](https://developers.arcgis.com/rest/users-groups-and-items/item.htm).\n\n`IItem` can also be imported from the following packages:\n\n```js import { IItem } from "@esri/arcgis-rest-portal"; ```',title:"IItem"},IFolder:{type:"object",properties:{username:{type:"string"},id:{type:"string"},title:{type:"string"},created:{type:"number"}},required:["username","id","title"],description:'Used for organizing content. See [Create Folder](https://developers.arcgis.com/rest/users-groups-and-items/create-folder.htm) for more details.\n\n`IFolder` can also be imported from the following packages:\n\n```js import { IFolder } from "@esri/arcgis-rest-portal"; ```',title:"IFolder"},IFeatureServiceDefinition:{type:"object",properties:{currentVersion:{type:"number"},serviceDescription:{type:"string"},hasVersionedData:{type:"boolean"},supportsDisconnectedEditing:{type:"boolean"},supportsReturnDeleteResults:{type:"boolean"},hasStaticData:{type:"boolean",description:"Boolean value indicating whether data changes. True if it does not."},maxRecordCount:{type:"number",description:"Numeric value indicating tbe maximum number of records that will be returned at once for a query."},supportedQueryFormats:{type:"string",description:"String value indicating the output formats that are supported in a query."},supportsRelationshipsResource:{type:"boolean"},capabilities:{type:"string",description:"A comma separated list of supported capabilities, e.g. Query,Editing."},description:{type:"string",description:"String value of the layer as defined in the map service."},copyrightText:{type:"string",description:"String value for the copyright text information for the layer."},advancedEditingCapabilities:{$ref:"#/definitions/Record%3Cstring%2Cboolean%3E"},spatialReference:{$ref:"#/definitions/ISpatialReference",description:"An object containing the WKID or WKT identifying the spatial reference of the layer's geometry."},initialExtent:{$ref:"#/definitions/IExtent"},fullExtent:{$ref:"#/definitions/IExtent"},allowGeometryUpdates:{type:"boolean",description:"Boolean value indicating whether the geometry of the features in the layer can be edited."},units:{type:"string"},syncEnabled:{type:"boolean"},returnServiceEditsHaveSR:{type:"boolean"},validationSystemLayers:{type:"object",properties:{validationPointErrorlayerId:{type:"number"},validationLineErrorlayerId:{type:"number"},validationPolygonErrorlayerId:{type:"number"},validationObjectErrortableId:{type:"number"}},required:["validationPointErrorlayerId","validationLineErrorlayerId","validationPolygonErrorlayerId","validationObjectErrortableId"]},extractChangesCapabilities:{type:"object",properties:{supportsReturnIdsOnly:{type:"boolean"},supportsReturnExtentOnly:{type:"boolean"},supportsReturnAttachments:{type:"boolean"},supportsLayerQueries:{type:"boolean"},supportsSpatialFilter:{type:"boolean"},supportsReturnFeature:{type:"boolean"}},required:["supportsReturnIdsOnly","supportsReturnExtentOnly","supportsReturnAttachments","supportsLayerQueries","supportsSpatialFilter","supportsReturnFeature"]},syncCapabilities:{type:"object",properties:{supportsASync:{type:"boolean"},supportsRegisteringExistingData:{type:"boolean"},supportsSyncDirectionControl:{type:"boolean"},supportsPerLayerSync:{type:"boolean"},supportsPerReplicaSync:{type:"boolean"},supportsRollbackOnFailure:{type:"boolean"},supportedSyncDataOptions:{type:"number"}},required:["supportsASync","supportsRegisteringExistingData","supportsSyncDirectionControl","supportsPerLayerSync","supportsPerReplicaSync","supportsRollbackOnFailure","supportedSyncDataOptions"]},editorTrackingInfo:{type:"object",properties:{enableEditorTracking:{type:"boolean"},enableOwnershipAccessControl:{type:"boolean"},allowOthersToUpdate:{type:"boolean"},allowOthersToDelete:{type:"boolean"}},required:["enableEditorTracking","enableOwnershipAccessControl","allowOthersToUpdate","allowOthersToDelete"]},documentInfo:{$ref:"#/definitions/Record%3Cstring%2Cstring%3E"},layers:{type:"array",items:{$ref:"#/definitions/ILayerDefinition"}},tables:{type:"array",items:{$ref:"#/definitions/ITable"}},relationships:{type:"array",items:{type:"object",properties:{id:{type:"number"},name:{type:"string"},backwardPathLabel:{type:"string"},originLayerId:{type:"number"},originPrimaryKey:{type:"string"},forwardPathLabel:{type:"string"},destinationLayerId:{type:"number"},originForeignKey:{type:"string"},relationshipTableId:{type:"number"},destinationPrimaryKey:{type:"string"},destinationForeignKey:{type:"string"},rules:{type:"array",items:{type:"object",properties:{ruleID:{type:"number"},originSubtypeCode:{type:"number"},originMinimumCardinality:{type:"number"},originMaximumCardinality:{type:"number"},destinationSubtypeCode:{type:"number"},destinationMinimumCardinality:{type:"number"},destinationMaximumCardinality:{type:"number"}},required:["ruleID","originSubtypeCode","originMinimumCardinality","originMaximumCardinality","destinationSubtypeCode","destinationMinimumCardinality","destinationMaximumCardinality"]},minItems:1,maxItems:1},cardinality:{type:"string",enum:["esriRelCardinalityManyToMany","esriRelCardinalityOneToMany","esriRelCardinalityOneToOne"]},attributed:{type:"boolean"},composite:{type:"boolean"}},required:["id","name","backwardPathLabel","originLayerId","originPrimaryKey","forwardPathLabel","destinationLayerId","originForeignKey","relationshipTableId","destinationPrimaryKey","destinationForeignKey","rules","cardinality","attributed","composite"]},minItems:1,maxItems:1},enableZDefaults:{type:"boolean"},isLocationTrackingService:{type:"boolean"},isLocationTrackingView:{type:"boolean"},zDefault:{type:"number"}},required:["serviceDescription","hasVersionedData","supportsDisconnectedEditing","supportsReturnDeleteResults","maxRecordCount","supportedQueryFormats","supportsRelationshipsResource","capabilities","description","copyrightText","advancedEditingCapabilities","spatialReference","initialExtent","fullExtent","allowGeometryUpdates","units","syncEnabled","validationSystemLayers","extractChangesCapabilities","syncCapabilities","editorTrackingInfo","layers","tables","relationships","isLocationTrackingService","isLocationTrackingView"],description:'`IFeatureServiceDefinition` can also be imported from the following packages:\n\n```js import { IFeatureServiceDefinition } from "@esri/arcgis-rest-service-admin"; import { IFeatureServiceDefinition } from "@esri/arcgis-rest-feature-layer"; ```',title:"IFeatureServiceDefinition"},"Record<string,boolean>":{type:"object",additionalProperties:{type:"boolean"},title:"Record<string,boolean>"},ITable:{type:"object",properties:{name:{type:"string",description:"Table name"},capabilities:{type:"string",description:"A comma-separated string listing which editing operations are allowed on an editable feature service. Available operations include: 'Create', 'Delete', 'Query', 'Update', and 'Editing'."},definitionEditor:{$ref:"#/definitions/IDefinitionEditor",description:"Object indicating the definitionEditor used as a layer's interactive filter."},id:{type:"number",description:"Unique identifier for the table."},itemId:{type:"string",description:"Unique string value indicating an item registered in ArcGIS Online or your organization's portal."},layerDefinition:{$ref:"#/definitions/ILayerDefinition",description:"A layerDefinition object defining a definition expression for the table."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"An object defining the content of popup windows when you query a record and the sort option for child related records."},title:{type:"string",description:"String value for the title of the table."},url:{type:"string",description:"String value indicating the URL reference of the hosted table."}},description:'Root element in the web map specifying an array of table objects.\n\n`ITable` can also be imported from the following packages:\n\n```js import { ITable } from "@esri-arcgis-rest-service-admin" ```',title:"ITable"},IServiceInfo:{type:"object",properties:{adminServiceInfo:{type:"object",properties:{name:{type:"string"},type:{type:"string"},status:{type:"string"},database:{type:"object",properties:{datasource:{type:"object",properties:{name:{type:"string"}},required:["name"]}},required:["datasource"]}},required:["name","type","status","database"]},layers:{type:"array",items:{$ref:"#/definitions/Record%3Cstring%2Cunknown%3E"}}},required:["adminServiceInfo","layers"],description:"Very generic structure representing the return value from the /arcgis/rest/admin/services/<service-name>/FeatureServer?f=json response",title:"IServiceInfo"},"Record<string,unknown>":{type:"object",additionalProperties:{},title:"Record<string,unknown>"},IViewServiceSource:{type:"object",properties:{name:{type:"string"},type:{type:"string"},url:{type:"string"},serviceItemId:{type:"string"}},required:["name","type","url","serviceItemId"],description:"Individual View Source entry",title:"IViewServiceSource"},IViewServiceSources:{type:"object",properties:{currentVersion:{type:"number"},services:{type:"array",items:{$ref:"#/definitions/IViewServiceSource"}}},required:["currentVersion","services"],description:"Response from the /sources end-point of a view service",title:"IViewServiceSources"},IServiceNameAvailable:{type:"object",properties:{available:{type:"boolean"}},required:["available"],description:"Response from the portals/Self/isServiceNameAvailable request",title:"IServiceNameAvailable"},IPictureSourced:{type:"object",properties:{url:{type:"string"},imageData:{type:"string"},contentType:{type:"string"},width:{type:"number"},height:{type:"number"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"}},title:"IPictureSourced"},IPictureFillSymbol:{type:"object",properties:{url:{type:"string"},imageData:{type:"string"},contentType:{type:"string"},width:{type:"number"},height:{type:"number"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"},type:{type:"string",const:"esriPFS"},style:{type:"string"},outline:{$ref:"#/definitions/ISimpleLineSymbol"},xscale:{type:"number"},yscale:{type:"number"}},required:["type"],title:"IPictureFillSymbol"},IPictureMarkerSymbol:{type:"object",properties:{url:{type:"string"},imageData:{type:"string"},contentType:{type:"string"},width:{type:"number"},height:{type:"number"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"},type:{type:"string",const:"esriPMS"},style:{type:"string"}},required:["type"],title:"IPictureMarkerSymbol"},ITextSymbol:{type:"object",properties:{type:{type:"string",const:"esriTS"},style:{type:"string"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"},color:{$ref:"#/definitions/Color"},backgroundColor:{$ref:"#/definitions/Color"},borderLineSize:{type:"number"},borderLineColor:{$ref:"#/definitions/Color"},haloSize:{type:"number"},haloColor:{$ref:"#/definitions/Color"},verticalAlignment:{type:"string",enum:["baseline","bottom","middle","top"]},horizontalAlignment:{type:"string",enum:["center","justify","left","right"]},rightToLeft:{type:"boolean"},kerning:{type:"boolean"},font:{$ref:"#/definitions/IFont"},text:{type:"string"}},required:["type"],title:"ITextSymbol"},IUser:{type:"object",properties:{username:{type:"string"},fullName:{type:"string"},availableCredits:{type:"number"},assignedCredits:{type:"number"},firstName:{type:"string"},lastName:{type:"string"},preferredView:{},description:{type:"string"},email:{type:"string"},idpUsername:{type:"string"},favGroupId:{type:"string"},lastLogin:{type:"number"},mfaEnabled:{type:"boolean"},access:{type:"string"},storageUsage:{type:"number"},storageQuota:{type:"number"},orgId:{type:"string"},cOrgId:{type:"string"},role:{type:"string",enum:["org_admin","org_publisher","org_user"]},privileges:{type:"array",items:{type:"string"}},roleId:{type:"string"},level:{type:"string"},disabled:{type:"boolean"},units:{type:"string"},tags:{type:"array",items:{type:"string"}},culture:{type:"string"},region:{type:"string"},thumbnail:{type:"string"},created:{type:"number"},modified:{type:"number"},groups:{type:"array",items:{$ref:"#/definitions/IGroup"}},provider:{type:"string",enum:["arcgis","enterprise","facebook","google"]}},description:'An ArcGIS Online or Enterprise user\n\n`IUser` can also be imported from the following packages:\n\n```js import { IUser } from "@esri/arcgis-rest-auth"; import { IUser } from "@esri/arcgis-rest-portal"; ```',title:"IUser"},IPagingParams:{type:"object",properties:{start:{type:"number"},num:{type:"number"}},description:'Params for paging operations\n\n`IPagingParams` can also be imported from the following packages:\n\n```js import { IPagingParams } from "@esri/arcgis-rest-portal"; ```',title:"IPagingParams"},IPagedResponse:{type:"object",properties:{start:{type:"number"},num:{type:"number"},total:{type:"number",description:"total number of object across all pages"},nextStart:{type:"number",description:"next entry index or -1 for the last page"}},required:["total","nextStart"],description:'Paging properties for paged responses.\n\n`IPagedResponse` can also be imported from the following packages:\n\n```js import { IPagedResponse } from "@esri/arcgis-rest-portal"; ```',title:"IPagedResponse"},IWebMapBackground:{type:"object",properties:{color:{$ref:"#/definitions/Color",description:"To define the color of the background of the map (which is shown when no data is shown)."}},required:["color"],description:"Defines the appearance for the background of the map.",examples:[{background:{color:[255,255,255,255]}}],title:"IWebMapBackground"},IBookmark:{type:"object",properties:{extent:{$ref:"#/definitions/IExtent",description:"An extent object containing a spatial reference, a lower left coordinate, and an upper right coordinate defining the rectangular area of the bookmark. The spatial reference must be the same as the map spatial reference. Documentation for the envelope is in the Geometry Objects topic of the ArcGIS REST API help."},name:{type:"string",description:"A string name for the bookmark."}},required:["extent","name"],description:"Predefined bookmarks for use by the application. A bookmark is a saved map extent that allows end users to quickly navigate to a particular area of interest.",title:"IBookmark"},IMapRangeInfo:{type:"object",properties:{activeRangeName:{type:"string",description:"Active range ID that slider/picker acts upon."},currentRangeExtent:{type:"array",items:{type:"number"},description:"Current range for the active range."},fullRangeExtent:{type:"array",items:{type:"number"},description:"Full range extent for the active range to be presented in the UI."}},description:"Map range information",examples:[{mapRangeInfo:{activeRangeName:"floors",currentRangeExtent:[-2,10],fullRangeExtent:[-2,100]}}],title:"IMapRangeInfo"},IMapLocation:{type:"object",properties:{centerPoint:{$ref:"#/definitions/IPoint",description:"The center of the map specified using X/Y coordinates."},spatialReference:{$ref:"#/definitions/ISpatialReference",description:"Well-known ID (WKID) or well-known text (WKT)."}},required:["centerPoint","spatialReference"],description:"Contains location information within a presentation slide.",title:"IMapLocation"},IVisibleLayer:{type:"object",properties:{featureVisibility:{type:"array",items:{type:"array",items:{}},description:"An array of arrays."},id:{type:"number",description:"The id of the layer as listed on the operational layer."},subLayerIds:{type:"array",items:{type:"number"},description:"An array of integers."}},description:"An array of numbers indicating layer visibility.",examples:[{visibleLayer:{featureVisibility:[[1],[],[],[0]],id:"73128eb3-05ee-46a7-8c22-0c385a0b1827"}}],title:"IVisibleLayer"},IVisiblePopup:{type:"object",properties:{anchorPoint:{$ref:"#/definitions/IPoint",description:"Object with spatialReference, x, and y."},featureId:{type:"number",description:"An integer specifying the feature's id."},layerId:{type:"string",description:"A string specifying the layer id."},subLayerId:{type:"number",description:"An integer specifying the sublayer id."}},description:"A presentation slide's visiblePopup which contains anchorPoint, featureId, layerId, and subLayerId.",title:"IVisiblePopup"},ISlide:{type:"object",properties:{baseMap:{$ref:"#/definitions/IBaseMap",description:"Basemaps give the web map a geographic context."},extent:{$ref:"#/definitions/IExtent",description:"The standard Esri extent object with spatialReference, xmax, xmin, ymax and ymin."},hidden:{type:"boolean",description:"Indicates whether the slide should be hidden within the presentation."},mapLocation:{$ref:"#/definitions/IMapLocation",description:"An object with a centerPoint object and sometimes a resolution."},timeExtent:{type:"array",items:{type:"number"},minItems:2,maxItems:2,description:"An array of two numbers. The first one indicates start time and the second one indicates end time."},title:{type:"string",description:"Title including text and formatting for each slide."},visibleLayers:{$ref:"#/definitions/IVisibleLayer",description:"An array of objects used to indicate layer visibility."},visiblePopup:{$ref:"#/definitions/IVisiblePopup",description:"A presentation slide's visiblePopup which contains anchorPoint, featureId, layerId, and subLayerId."}},title:"ISlide"},IBaseMap:{type:"object",properties:{baseMapLayers:{type:"array",items:{$ref:"#/definitions/ILayer"},description:"An array of baseMapLayer objects defining the basemaps used in the web map."},title:{type:"string",description:"Required string title for the basemap that can be used in a table of contents. It takes the title of the first baseMapLayer in the array."}},required:["baseMapLayers","title"],description:"A basemap layer is a layer that provides geographic context to the map. A web map always contains a basemap. The basemap has a title and is the combination of each baseMapLayer. It is required that a baseMap be saved within the web map.",title:"IBaseMap"},IPresentation:{type:"object",properties:{displayTimeSlider:{type:"boolean",description:"Indicates whether to display the time slider (if accessible)."},showLegend:{type:"boolean",description:"Indicates whether to display a legend on all slides."},slideAdvancementInterval:{type:"number",description:"Number of seconds to show slide before proceeding to the next slide."},slides:{type:"array",items:{$ref:"#/definitions/ISlide"},description:"Array of slide objects."},useTimeExtentOfSlide:{type:"boolean",description:"Indicates whether to use the time extent (if applicable) of a slide."}},title:"IPresentation"},IWebmap:{type:"object",properties:{applicationProperties:{$ref:"#/definitions/IApplicationProperties",description:"Viewing and editing properties of the webmap"},authoringApp:{type:"string",description:"String value indicating the application which authored the webmap"},authoringAppVersion:{type:"string",description:"String value indicating the authoring App's version number"},background:{$ref:"#/definitions/IWebMapBackground",description:"Defines the appearance for the background of the map."},baseMap:{$ref:"#/definitions/IBaseMap",description:"[Required] Basemaps give the web map a geographic context"},bookmarks:{type:"array",items:{$ref:"#/definitions/IBookmark"},description:"A bookmark is a saved geographic extent that allows end users to quickly navigate to a particular area of interest"},mapRangeInfo:{$ref:"#/definitions/IMapRangeInfo",description:"Map Range Information"},operationalLayers:{type:"array",items:{$ref:"#/definitions/ILayer"},description:"Operational layers contain business data which are used to make thematic maps"},presentation:{description:"A presentation consists of multiple slides. Each slide has a different title, extent, basemap, layers etc"},spatialReference:{$ref:"#/definitions/ISpatialReference",description:"[Required] An object used to specify the spatial reference of the given geometry."},tables:{type:"array",items:{$ref:"#/definitions/ITable"},description:"Root element in the web map specifying an array of table objects. (optional)"},version:{type:"string",description:"[Required] Root element in the web map specifying a string value indicating the web map version."},widgets:{description:"The widgets object contains widgets that should be exposed to the user"}},required:["baseMap","spatialReference","version"],description:"The web map data lists the basemap, operational layers, and bookmarks to be used in the web map. It also contains information about popup windows and layer styling overrides to be used in the web map. A version property allows you to supply the version of the web map JSON format being used.",title:"IWebmap"},IApplicationProperties:{type:"object",properties:{editing:{anyOf:[{$ref:"#/definitions/IEditingProperties"},{type:"null"}],description:"If locationTracking is set and enabled, the Collector application will update the feature service at the defined interval with the current location of the user logged into the Collector app."},offline:{anyOf:[{$ref:"#/definitions/IOfflineInfo"},{type:"null"}],description:"Use if working with offline maps."},viewing:{anyOf:[{$ref:"#/definitions/IViewingInfo"},{type:"null"}],description:"An object containing all the viewing properties of the web map. If this is null or not defined, the client should assume a logical default."}},description:"The applicationProperties object is one of the objects at the top level of the JSON web map JSON schema. This is responsible for containing the viewing and editing properties of the web map. There are specific objects within this object that are applicable only to Collector and are explained within the property descriptions.",title:"IApplicationProperties"},IEditingProperties:{type:"object",properties:{locationTracking:{$ref:"#/definitions/ILocationTracking",description:"If locationTracking is set and enabled, the collector app will update the feature service at the defined interval with the current location of the user logged into the collector application."}},required:["locationTracking"],description:"An object containing all the editing properties within the web map.",title:"IEditingProperties"},ILocationTracking:{type:"object",properties:{enabled:{type:"boolean",description:"A boolean value indicating whether or not location tracking is enabled on the webmap."},info:{$ref:"#/definitions/ILocationTrackingInfo",description:"An object of additional information specifying layer and update interval time."}},required:["enabled","info"],description:"If locationTracking is set and enabled, the collector app will update the feature service at the defined interval with the current location of the user logged into the collector application.",title:"ILocationTracking"},ILocationTrackingInfo:{type:"object",properties:{layerId:{description:"A string value indicating the given layer id specified in the web map."},updateInterval:{description:"A numeric value indicating the time interval used to update the feature service. Default value is 300 seconds."}},required:["layerId"],description:"An object containing additional information specifying layer and update interval time used in the locationTracking object.",title:"ILocationTrackingInfo"},IOfflineInfo:{type:"object",properties:{editableLayers:{$ref:"#/definitions/IEditableLayers",description:"Object detailing the available offline editing options."},readonlyLayers:{$ref:"#/definitions/IReadOnlyLayers",description:"Object indicating what to do with attachments in read-only layers."}},required:["editableLayers","readonlyLayers"],description:"Use if working with offline maps.",title:"IOfflineInfo"},IEditableLayers:{type:"object",properties:{download:{type:"string",enum:["featuers","featuresAndAttachments","none"],description:"When editing layers, the edits are always sent to the server. This string value indicates which data is retrieved. For example, none indicates that only the schema is written since neither the features nor attachments are retrieved. For a full sync without downloading attachments, indicate features. Lastly, the default behavior is to have a full sync using featuresAndAttachments where both features and attachments are retrieved."},sync:{type:"string",enum:["syncFeaturesAndAttachments","syncFeaturesUploadAttachments","uploadFeaturesAndAttachments"],description:"This string value indicates how the data is synced."}},required:["download","sync"],description:"Object detailing the available offline editing options.",title:"IEditableLayers"},IReadOnlyLayers:{type:"object",properties:{downloadAttachments:{type:"boolean",description:"Indicates whether to include attachments with the read-only data."}},required:["downloadAttachments"],description:"Read-only layers as the features are always retrieved from the server.",title:"IReadOnlyLayers"},IViewingInfo:{type:"object",properties:{basemapGallery:{$ref:"#/definitions/IEnableable",description:"The basemap tool which will use the basemap group defined in the Portal."},measure:{$ref:"#/definitions/IEnableable",description:"Measure tool."},routing:{$ref:"#/definitions/IEnableable",description:"The route tool which will leverage the Portals defined route service."},search:{$ref:"#/definitions/ISearch",description:"An object specifying search parameters within the webmap."}},description:"An object containing all the viewing properties of the web map. If this is null or not defined, the client should assume a logical default.",title:"IViewingInfo"},IEnableable:{type:"object",properties:{enabled:{type:"boolean"}},required:["enabled"],title:"IEnableable"},ISearch:{type:"object",properties:{enabled:{type:"boolean"},disablePlaceFinder:{description:"A boolean value indicating whether or not to disable the place finder."},hintText:{description:"A string value used to indicate the hint provided with the search dialog."},layers:{description:"An array of layer objects defining the styling, geometry, and attribute information for the features."}},required:["enabled"],description:"An object specifying the search parameters set within the web map.",title:"ISearch"},IRange:{type:"object",properties:{interactionMode:{type:"string",enum:["picker","slider"],description:"Indicates the mode in which the active range should be presented to the user. Must be one of the following values: slider, picker"},numberOfStops:{description:"This is used to generate the activeRangeValues if activeRangeValues are not specified."},stopInterval:{type:"number",description:"Interval in which stops should be generated."}},description:"Range object.",title:"IRange"},IWidget:{type:"object",properties:{range:{$ref:"#/definitions/IRange",description:"Active range."},timeSlider:{$ref:"#/definitions/ITimeSliderProperties",description:"Time animation is controlled by a configurable time slider. The time slider widget will act upon all the time aware layers in the map."}},description:"The widgets object contains widgets that should be exposed to the user.",title:"IWidget"},ITimeSliderProperties:{type:"object",properties:{currentTimeExtent:{type:"array",items:{type:"number"},description:"An optional array of numbers indicating the slider's start to end time extent."},endTime:{type:"number",description:"The optional end of the time slider. If not specified, the slider defaults to the full time extent of all time-enabled layers."},numberOfStops:{type:"number",description:"Number of stops within the timeSlider widget."},startTime:{type:"number",description:"The optional start of the time slider. If not specified, the slider defaults to the full time extent of all time-enabled layers."},thumbCount:{type:"number",description:"The default value for the thumbCount is 1."},thumbMovingRate:{type:"number",description:"Rate at which the time animation plays. Units are in milliseconds. Default is 1000."},timeStopInterval:{type:"number",description:"The interval which has been defined for the time slider."}},description:"Configurable properties used within the TimeSlider widget.",title:"ITimeSliderProperties"},ITimeSlider:{type:"object",properties:{properties:{$ref:"#/definitions/ITimeSliderProperties",description:"Configurable properties used within the TimeSlider widget."}},required:["properties"],description:"Time animation is controlled by a configurable time slider. Those configurations are saved to the web map as a timeSlider widget.",title:"ITimeSlider"},IBingLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",enum:["BingMapsAerial","BingMapsHybrid","BingMapsRoad"],description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},bingKey:{type:"string",description:"String value that unlocks the use of Bing layers in a web map."},canShareBingPublic:{type:"boolean",description:"Boolean value indicating whether the Bing key can be shared to the public."},portalUrl:{type:"string",description:"A string value representing the URL to the Portal/organization Self resource. Calls should be made to this property to retrieve the Bing key. If the key is not made accessible to the public or if canShareBingPublic is false, any web maps using Bing layers will not work."}},required:["id","layerType"],title:"IBingLayer"},IImageServiceLayer:{type:"object",properties:{timeAnimation:{type:"boolean",description:"This property is applicable to layers that support time. If 'true', timeAnimation is enabled."},id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISImageServiceLayer",description:"String indicating the layer type. Value of this property must be ArcGISImageServiceLayer"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},bandIds:{type:"array",items:{type:"number"},description:"An array of bandIds that are visible, can specify bands to export or rearrange band order(from image service)."},compressionQuality:{description:"Controls how much loss the image will be subjected to by the compression algorithm (from image service)."},definitionEditor:{description:"Stores interactive filters."},disablePopup:{type:"boolean",description:"Boolean property indicating whether to ignore popups defined by the service item."},format:{type:"string",enum:["bmp","gif","jpg","jpgpng","png","png8","png24","png32","tiff"],description:"String value representing image format."},interpolation:{type:"string",enum:["RSP_BilinearInterpolation","RSP_CubicConvolution","RSP_Majority","RSP_NearestNeighbor"],description:"The algorithm used for interpolation."},isReference:{type:"boolean",description:"This is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},layerDefinition:{description:"A layerDefinition object defining the attribute schema and drawing information for the layer."},mosaicRule:{description:"Specifies the mosaic rule when defining how individual images should be mosaicked."},noData:{description:"The pixel value that represents no information."},noDataInterpretation:{type:"string",enum:["esriNoDataMatchAll","esriNoDataMatchAny"],description:"A string value of interpretation of noData setting. Default is 'esriNoDataMatchAny' when noData is a number, and 'esriNoDataMatchAll' when noData is an array."},pixelType:{type:"string",enum:["C64","C128","F32","F64","S8","S16","S32","U1","U2","U4","U8","U16","U32","UNKNOWN"],description:"Pertains to the type of values stored in the raster, such as signed integer, unsigned integer, or floating point."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the content of popup windows when you click or query a feature."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."},renderingRule:{description:"Specifies the rendering rule for how the requested image should be rendered."}},required:["id","layerType"],title:"IImageServiceLayer"},IImageVectorLayer:{type:"object",properties:{timeAnimation:{type:"boolean",description:"This property is applicable to layers that support time. If 'true', timeAnimation is enabled."},id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISImageServiceVectorLayer",description:"String indicating the layer type. Value of this property must be ArcGISImageServiceVectorLayer"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},definitionEditor:{description:"Stores interactive filters."},disablePopup:{description:"Boolean property indicating whether to ignore popups defined by the service item."},isReference:{type:"boolean",description:"This is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},layerDefinition:{description:"A layerDefinition object defining the attribute schema and drawing information for the layer."},mosaicRule:{description:"Specifies the mosaic rule when defining how individual images should be mosaicked."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the content of popup windows when you click or query a feature."},symbolTileSize:{description:"Number describing the size of the tile."}},required:["id","layerType"],title:"IImageVectorLayer"},IChildLayer:{type:"object",properties:{defaultVisibility:{description:"Default visibility of the layers in the map service."},definitionEditor:{$ref:"#/definitions/IDefinitionEditor",description:"An object that provides interactive filters."},featureSet:{$ref:"#/definitions/IFeatureSet",description:"A featureSet object containing the geometry and attributes of the features in the layer. Used with feature collections only."},field:{type:"array",items:{$ref:"#/definitions/IField"},description:"Information about each field in a layer. Used with feature collections."},id:{type:"string",description:"A string indicating the index position of the layer in the map service or feature collection."},layerDefinition:{description:"The layerDefinition object defines the attribute schema and drawing information for the layer."},layerUrl:{description:"A string URL to a service that should be used for all queries against the layer. Used with hosted tiled map services on ArcGIS Online when there is an associated feature service that allows for queries."},maxScale:{description:"Represents the maximum scale at which the layer definition will be applied."},minScale:{description:"Represents the minimum scale at which the layer definition will be applied."},nextObjectId:{description:"Iterates within a featureset. Number objectId value is incremented +1 based on last Object ID defined for the feature in a featureset. Used with feature collections."},parentLayerId:{description:"If working with nested layers, this is the numeric value indicating the layer id of the next layer (parent) directly above the current referenced layer."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the popup window content for the layer."},showLegend:{description:"Indicates whether to allow map authors the ability to control what layers should be shown in a client's legend."},subLayer:{description:"Array of numeric values indicating the layer index for layers nested directly under the parent layer."},subLayerIds:{description:"If the layer is a parent layer, it will have one or more sub layers included in an array."},title:{description:"A user-friendly string title for the layer that can be used in a table of contents."}},description:"A layer object may allow overrides on popup content and drawing behavior for individual layers of a web service. This object also contains geographic features and their attributes when used in a feature collection.",title:"IChildLayer"},IMapServiceLayer:{type:"object",properties:{timeAnimation:{type:"boolean",description:"This property is applicable to layers that support time. If 'true', timeAnimation is enabled."},id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISMapServiceLayer",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},isReference:{description:"This is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},layers:{type:"array",items:{$ref:"#/definitions/IChildLayer"},description:"An array of layer objects defining the styling, geometry, and attribute information for the features."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."},thematicGroup:{$ref:"#/definitions/IThematicGroup",description:"(Optional) A thematicGroup object used in ArcGISMapServiceLayer layers."},visibleLayers:{type:"array",items:{type:"number"},description:"An array of sublayer ids that should appear visible. Used with map service layers that are not tiled."}},required:["id","layerType"],title:"IMapServiceLayer"},IThematicGroup:{type:"object",properties:{fieldNames:{type:"array",items:{type:"string"},description:"An array of string values indicating all the fields used within the webmap. All other fields can be disregarded and should not display in any field selection list."},layerIds:{type:"array",items:{type:"number"},description:"A zero-based array of integers indicating the layers to be used in the webmap. NOTE: All other layers should not be added to the TOC and may or may not be visible on the map as reference layers."},name:{type:"string",description:"String property indicating the name for the thematic grouping of layers."}},title:"IThematicGroup"},IDrawingInfo:{type:"object",properties:{fixedSymbols:{description:"Only used for feature collections with a renderer. The feature's symbol is defined by the layer's renderer."},labelingInfo:{description:"An object defining the properties used for labeling the layer."},renderer:{description:"An object defined which provides the symbology for the layer."},scaleSymbols:{description:"Boolean property indicating whether symbols should stay the same size in screen units as you zoom in. A value of true means the symbols stay the same size in screen units regardless of the map scale."},showLabels:{type:"boolean",description:"Defines whether labels should be shown or not. This is only valid for sublayers."},transparency:{type:"number",description:"Number value ranging between 0 (no transparency) to 100 (completely transparent)."}},title:"IDrawingInfo"},ITypeInfoDomain:{type:"object",properties:{type:{type:"string"}},required:["type"],title:"ITypeInfoDomain"},ITypeInfo:{type:"object",properties:{domains:{$ref:"#/definitions/Record%3Cstring%2CITypeInfoDomain%3E",description:"A comma-delimited series of domain objects for each domain in the type."},id:{type:["number","string"],description:"A unique string or numerical ID for the type."},name:{type:"string",description:"A user-friendly name for the type."},templates:{type:"array",items:{$ref:"#/definitions/ITemplate"},description:"Defined as a property of the layer definition when there are no types defined; otherwise, templates are defined as properties of the types."}},title:"ITypeInfo"},"Record<string,ITypeInfoDomain>":{type:"object",additionalProperties:{$ref:"#/definitions/ITypeInfoDomain"},title:"Record<string,ITypeInfoDomain>"},IOpenStreetMapLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"OpenStreetMap",description:"String indicating the layer type. Value of this property must be OpenStreetMap"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"OpenStreetMap",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."}},required:["id","layerType"],description:"Allows use of OpenStreetMap data for use in basemaps only.",title:"IOpenStreetMapLayer"},ITiledImageServiceLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISTiledImageServiceLayer",description:"String indicating the layer type. Value of this property must be ArcGISTiledImageServiceLayer"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},isReference:{type:"boolean",description:"Applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."}},required:["id","layerType"],title:"ITiledImageServiceLayer"},IExclusionArea:{type:"object",properties:{geometry:{$ref:"#/definitions/IGeometry",description:"The geometry defining the area where no data will be fetched. Only extent is supported."},maxScale:{type:"number",description:"The zoom level where the exclusion ends."},maxZoom:{type:"number",description:"The zoom level where the exclusion ends."},minScale:{type:"number",description:"The zoom level where the exclusion starts."},minZoom:{type:"number",description:"The zoom level where the exclusion starts."}},description:"Exclusion areas define extent areas where no data will be fetched for a layer.",title:"IExclusionArea"},ITiledMapServiceLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISTiledMapServiceLayer",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},displayLevels:{anyOf:[{type:"array",items:{type:"number"}},{type:"number"}],description:"NOTE: Applicable if used as a baseMapLayer. Integer value(s) indicating the display levels of the basemap layer. Only applicable for TiledMapService layers. All tiled map service layers should share the same tiling scheme. This property cannot be set via the Map Viewer UI."},exclusionAreas:{type:"array",items:{$ref:"#/definitions/IExclusionArea"},description:"NOTE: Applicable if used as a baseMapLayer. An array of exclusionArea objects defining the layer exclusions."},isReference:{description:"This property is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},layers:{type:"array",items:{$ref:"#/definitions/IChildLayer"},description:"An array of layer objects defining a URL for queries and the popup window content."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."}},required:["id","layerType"],description:"An ArcGIS Tiled Map Service layer displays map content from an ArcGIS Server Map service that has been cached (tiled).",title:"ITiledMapServiceLayer"},IVectorTileLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"VectorTileLayer",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"VectorTileLayer",description:"Deprecated. User layerType instead."},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},styleUrl:{type:"string",description:"A url to a JSON file containing the stylesheet information used to render the layer. You may also pass an object containing the stylesheet information identical to the JSON file."}},required:["id","layerType"],description:"A vector tile layer references a set of web-accessible vector tiles and the corresponding style for how those tiles should be drawn.",title:"IVectorTileLayer"},ILod:{type:"object",properties:{level:{type:"number",description:"ID for each level."},levelValue:{type:"string",description:"String to be used when constructing URL to access a tile from this LOD."},resolution:{type:"number",description:"Resolution in map units of each pixel in a tile for each level."},scale:{type:"number",description:"Scale for each level."}},title:"ILod"},ITileInfo:{type:"object",properties:{cols:{description:"Requested tile's column."},compressionQuality:{description:"Compression quality of the tile."},dpi:{description:"The dpi of the tiling scheme."},format:{type:"string",enum:["bmp","emf","gif","jpg","lerc","mixed","pdf","png","png8","png24","png32","ps","svg","svgz"],description:"Image format of the cached tiles."},lods:{type:"array",items:{$ref:"#/definitions/ILod"},description:"An array of levels of detail that define the tiling scheme."},origin:{$ref:"#/definitions/IPoint",description:"The tiling scheme origin."},rows:{description:"Requested tile's row."},spatialReference:{$ref:"#/definitions/ISpatialReference",description:"The spatial reference of the tiling schema."}},description:"Tile information, returned from the WMTS OGC Web Service. The tileInfo will contain the spatial reference of the layer. tileInfo is the same json representation as the ArcGIS Map/Image service tileInfo except that it may contain a levelValue on the lod objects that should be used instead of the level in the templateUrl.",title:"ITileInfo"},IWebMapTileServiceInfo:{type:"object",properties:{customLayerParameters:{description:"A sequence of parameters used to append different custom parameters to a WMTS tile request. These parameters are applied to GetTile. The customLayerParameters property takes precedence if customParameters is also present."},customParameters:{description:"A sequence of parameters used to append custom parameters to all WMTS requests. These parameters are applied to GetCapabilities and GetTile. If used with the customLayerParameters property, customParameters will not take precedence."},layerIdentifier:{type:"string",description:"Identifier for the specific layer used in the WMTS service. Required input by the user."},tileMatrixSet:{description:"Tiling schema, set by the WMTS service."},url:{type:"string",description:"URL to the WMTS web service. Required input by the user."}},required:["layerIdentifier","url"],description:"Object defines and provides information about layers in a WMTSLayer service.",title:"IWebMapTileServiceInfo"},IWebTiledLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"WebTiledLayer",description:"String indicating the layer type. Value of this property must be WebTiledLayer"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"WebTiledLayer",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},copyright:{description:"Attribution to the Web Tiled Layer provider. It is displayed in the attribution on the web map. Input required by the user when the layer is added to the web map."},fullExtent:{$ref:"#/definitions/IExtent",description:"An extent object representing the full extent envelope for the layer."},isReference:{description:"This is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},refreshInterval:{description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."},subDomains:{description:"If subdomains are detected, they must be specified. The map viewer detects if the Web Tiled Layer has subdomains by parsing the templateURL value for {subDomain}."},templateUrl:{description:"URL to the Web Tiled Layer. Input required by the user when the layer is added to the web map. The template URL contains a parameterized URL. The URL can contain the following templated parameters: 'level', 'col', 'row', and 'subDomain'."},tileInfo:{$ref:"#/definitions/ITileInfo",description:"Contains the spatial reference and the tiling scheme of the layer. Typically retrieved from a WMTS OGC Web Service. If missing the layer must be in the WGS 1984 Web Mercator (Auxiliary Sphere) tiling scheme."},wmtsInfo:{$ref:"#/definitions/IWebMapTileServiceInfo",description:"Object containing information about the chosen WMTS service layer and tiling schema."}},required:["id","layerType"],title:"IWebTiledLayer"},ICsvLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"CSV",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"CSV",description:"Deprecated, use layerType instead."},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},columnDelimiter:{type:"string",enum:[" ",",",";"," ","|"],description:"A string defining the character used to separate columns in a CSV file."},layerDefinition:{$ref:"#/definitions/ILayerDefinition",description:"A layerDefinition object defining the attribute schema and drawing information for the layer."},locationInfo:{description:"A locationInfo object defining how location information will be retrieved from a CSV file."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the content of popup windows when you click or query a feature."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."}},required:["id","layerType"],description:"The CSV layer type references a CSV or TXT file from a publically-accessible web server. It then dynamically loads into the map at run time. The CSV layer will maintain a reference to the CSV resource.",title:"ICsvLayer"},IGeoRssLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"GeoRSS",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"GeoRSS",description:"Deprecated, please use layerType.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Defined by the GeoRSS to JSON request service. If the GeoRSS feed does not have lines, this property is not added to the layer JSON."},pointSymbol:{$ref:"#/definitions/IPictureMarkerSymbol",description:"Defined by the GeoRSS to JSON request service. If the GeoRSS feed does not have points, this property is not added to the layer JSON."},polygonSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Defined by the GeoRSS to JSON request service. If the GeoRSS feed does not have polygons, this property is not added to the layer JSON."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."}},required:["id","layerType"],title:"IGeoRssLayer"},IKmlLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"KML",description:"String indicating the layer type."},maxScale:{description:"A number representing the maximum scale at which the layer will be visible. The number is the scale's denominator."},minScale:{description:"A number representing the minimum scale at which the layer will be visible. The number is the scale's denominator."},opacity:{description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{description:"Indicates whether to allow map authors the ability to control what layers should be shown in a client's legend."},title:{description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"KML",description:"Deprecated, use layerType instead.",deprecated:"Use layerType instead."},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},refreshInterval:{description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."},visibleFolders:{type:"array",items:{type:"number"},description:"Array of numeric IDs of folders that will be made visible."}},required:["id","layerType"],title:"IKmlLayer"},IArcGisStreamLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISStreamLayer",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},definitionEditor:{$ref:"#/definitions/IDefinitionEditor",description:"Stores interactive filters."},disablePopup:{type:"boolean",description:"Indicates whether to ignore popups defined by the service item."},layerDefinition:{$ref:"#/definitions/ILayerDefinition",description:"A layerDefinition object defining the attribute schema and drawing information for the layer."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the content of pop-up windows when you click or query a feature."}},required:["id","layerType"],title:"IArcGisStreamLayer"}},$ref:"#/definitions/WebChart"};var Kp=zd(ml(),1);var q={Arabic:"ar",ArabicLatin:"ar-u-nu-latn",Bosnian:"bs",Bulgarian:"bg",Catalan:"ca",Czech:"cs",Danish:"da",German:"de",Greek:"el",English:"en",EnglishUSA:"en-US",Spanish:"es",Estonian:"et",Finnish:"fi",French:"fr",Hebrew:"he",Croatian:"hr",Hungarian:"hu",Indonesian:"id",Italian:"it",Japanese:"ja",Korean:"ko",Lithuanian:"lt",Latvian:"lv",NorwegianBokml:"no",Dutch:"nl",Polish:"pl",PortugueseBrazil:"pt-BR",PortuguesePortugal:"pt-PT",Romanian:"ro",Russian:"ru",Serbian:"sr",Slovenian:"sl",Slovak:"sk",Swedish:"sv",Thai:"th",Turkish:"tr",Ukrainian:"uk",Vietnamese:"vi",ChineseChina:"zh-CN",ChineseHongKong:"zh-HK",ChineseTaiwan:"zh-TW"},Ob=[...Object.values(q),"en-AU","en-GB","es-ES","es-MX","de-CH","de-DE","de-AT","it-CH","it-IT"];function Ze(e,r){return ha(e)(r)}function Eb(e){let r=/^([a-z]{2})-([A-Z]{2})$/u,i=e?.match(r),t=q.English;return i!=null&&i?.length>1?t=i[1]:e?.length===2&&e.toLowerCase()===e&&(t=e),t}function Lb(e){let r=e;if(e!==void 0&&e.includes("-")){let[i,t]=e.split("-");r=`${i}-${t.toUpperCase()}`}return r}function yl(e,r){let i=q.English,t=Lb(e);if(t!==void 0)if(r.includes(t))i=t;else{let a=Eb(t);r.includes(a)?i=a:a==="nb"&&(i="no")}return i}function gl(e,r){function i(t){let a;return t===void 0||t===document||t===window?a=null:a=t.closest(e)||i(t.getRootNode().host),a}return i(r)}function Zp(e=document.documentElement){let r=gl("[lang]",e)?.lang??window.navigator.language,i=Object.values(q),t=Object.values(Ob),a=yl(r,i),o=yl(r,t);return o=o==="ar"?"ar-u-nu-latn":o,{locale:a,rtl:gl("[dir]",e)?.getAttribute("dir")==="rtl",formatLocale:o}}function lD(e){let r;return e==="unknown"?r="UTC":e!==void 0&&e!=="system"&&(r=e),r}function pD(e,r){let i={year:"numeric",month:"2-digit",day:"2-digit",timeZone:r};return new Intl.DateTimeFormat("en-CA",i).format(e)}function dD(e,r){let i={hour:"2-digit",minute:"2-digit",hour12:!1,timeZone:r};return new Intl.DateTimeFormat("en-US",i).format(e)}function cD(e,r){let[,i,,,,t]=1111.1.toLocaleString(r),a=e.replace(i,"").replace(t,".");return Number.parseFloat(a)}async function ut(e=Zp().locale){let r=await import("./HJK7XIYI.js");switch(e){case q.Arabic:r=await import("./EC645ABQ.js");break;case q.Bosnian:r=await import("./7BSUIDNO.js");break;case q.Bulgarian:r=await import("./IGCT7B2F.js");break;case q.Catalan:r=await import("./WESRUIOV.js");break;case q.Czech:r=await import("./5CQWXZYS.js");break;case q.Danish:r=await import("./UMX2O7SZ.js");break;case q.German:r=await import("./UOEHGVYV.js");break;case q.Greek:r=await import("./CEEUOPGT.js");break;case q.EnglishUSA:r=await import("./663QTWLO.js");break;case q.Spanish:r=await import("./LQGHHGTI.js");break;case q.Estonian:r=await import("./YFI3TANY.js");break;case q.Finnish:r=await import("./N45TGZMN.js");break;case q.French:r=await import("./NRY5EJYW.js");break;case q.Hebrew:r=await import("./HRFWSLAW.js");break;case q.Croatian:r=await import("./D3MQGH3X.js");break;case q.Hungarian:r=await import("./S5IFNRA6.js");break;case q.Indonesian:r=await import("./LFVAGR34.js");break;case q.Italian:r=await import("./BWZHZSWR.js");break;case q.Japanese:r=await import("./QJWXFK7I.js");break;case q.Korean:r=await import("./LGQRB6XA.js");break;case q.Lithuanian:r=await import("./PDZSR3EI.js");break;case q.Latvian:r=await import("./7MHDQCVJ.js");break;case q.NorwegianBokml:r=await import("./JIBGEXPI.js");break;case q.Dutch:r=await import("./O2JPHZHP.js");break;case q.Polish:r=await import("./FAT5XS5J.js");break;case q.PortugueseBrazil:r=await import("./6B4CN5RF.js");break;case q.PortuguesePortugal:r=await import("./6L35LIS4.js");break;case q.Romanian:r=await import("./JOLIOPXY.js");break;case q.Russian:r=await import("./TGR3J5E7.js");break;case q.Serbian:r=await import("./ILT32P6D.js");break;case q.Slovak:r=await import("./D7HHWGFZ.js");break;case q.Slovenian:r=await import("./G3P3EJSD.js");break;case q.Swedish:r=await import("./2PZ57I6Z.js");break;case q.Thai:r=await import("./HFS6PNSO.js");break;case q.Turkish:r=await import("./4I4NEOEU.js");break;case q.Ukrainian:r=await import("./P6OPXTYO.js");break;case q.Vietnamese:r=await import("./WAMQP4K3.js");break;case q.ChineseChina:r=await import("./EPH6FJXG.js");break;case q.ChineseHongKong:r=await import("./KUNCOX66.js");break;case q.ChineseTaiwan:r=await import("./THL3EO5D.js");break;case q.English:}return r}var Xp={Reject:"reject",RenderUpToTheLimit:"renderUpToTheLimit"},te={AxisLabels:"axisLabels",GuideLabel:"guideLabel",AxisTitle:"axisTitle",ChartTitle:"chartTitle",ChartSubtitle:"chartSubtitle",DataLabels:"dataLabels",LegendTitle:"legendTitle",LegendText:"legendText",DescriptionText:"descriptionText"},uD=32,fD="arcgis_charts_features_extent",Kt={maxRecordCountFactor:5,maxParallelRequests:4,maxRecords:2e3,orderByJSAPIDelimiter:" ",outStatistics:{statisticType:fo.statisticType,onStatisticField:"OBJECTID",outStatisticFieldName:"arcgis_charts_outStatisticFieldName_default_key"},uniqueIdsName:"arcgisChartsUniqueIds"},Db=["EXPR_1","Expr1","expr1","EXPR1"],hD=1,at=.7,$b=25,Yp=[156,156,156,255],jb=[156,156,156,255],mD=or.Solid,yD=2,gD={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"},Na="arcgis_charts_box_plot_category",_b=[[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]],Rb=[[104,104,104,255],[51,124,235,255],[132,0,168,255],[156,156,156,255]];function ct(e){let{colorIndex:r,opacity:i,histogramOverlays:t}=e,a=Math.max(0,r??0),o=[...t===!0?Rb:_b],[n,s,l,u]=o[a%o.length],c=i!==void 0?i*255:u;return[n,s,l,c]}function ed(e){return[0,0,0,(e??at)*255]}function bD(){return{type:L.CursorCrosshair,verticalLineVisible:!1,horizontalLineVisible:!1,style:{type:Re.SLS,style:or.Dot,color:[211,211,211,255],width:1}}}function Qi(e=1){return[Math.floor(Math.random()*256),Math.floor(Math.random()*256),Math.floor(Math.random()*256),e*255]}function pe(e){let r={family:"Arial, Helvetica, sans-serif",size:10};switch(e){case te.ChartTitle:r.size=18;break;case te.AxisTitle:r.size=14;break;case te.LegendText:r.size=12;break;case te.LegendTitle:r.size=13;break;case te.DescriptionText:r.size=11;break}return r}function td(e="",r=pe(),i){let t=Xr.Center;return(i===te.DataLabels||i===te.GuideLabel)&&(t=void 0),{type:Re.TS,color:ed(),text:e,font:r,horizontalAlignment:t}}function ie(e){let{text:r,visible:i,font:t,type:a}=e??{text:"",visible:!0,font:pe()};return{type:L.Text,visible:i,content:td(r,t,a)}}function Gr(e){let r=e?.useRandomColor??!1,i=e?.useRampColor,t=e?.width??1,a=e?.isHistogramOverlay,o=e?.color??ed(1);return r?o=Qi():i!==void 0&&(a===!0?o=ct({colorIndex:i.colorIndex,histogramOverlays:a}):o=ct({colorIndex:i.colorIndex})),e?.opacity!==void 0&&(o[3]=e.opacity),{type:Re.SLS,style:or.Solid,color:o,width:t}}function kb(){return{type:L.CategoryAxisFormat,characterLimit:11}}function vD(){return{type:L.DateAxisFormat,intlOptions:{}}}function Ra(){return{type:L.NumberAxisFormat,intlOptions:{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:3,useGrouping:!0}}}function SD(){return{type:L.NumberAxisFormat,intlOptions:{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:2}}}function wD(){return{type:L.NumberAxisFormat,intlOptions:{style:"percent",minimumFractionDigits:0,maximumFractionDigits:0}}}function bl(e="Category Axis"){let r=ie({text:e,visible:!0,font:pe(te.AxisTitle)});r.content.horizontalAlignment=Xr.Center,r.content.verticalAlignment=ra.Middle;let i=ie({text:e,visible:!0,font:pe(te.AxisLabels)});return{type:L.Axis,visible:!0,title:r,labels:i,valueFormat:kb(),lineSymbol:Gr({color:Yp})}}function Ni(e="Value Axis"){let r=ie({text:e,visible:!0,font:pe(te.AxisTitle)}),i=ie({text:e,visible:!0,font:pe(te.AxisLabels)});return r.content.verticalAlignment=ra.Middle,r.content.horizontalAlignment=Xr.Center,{type:L.Axis,visible:!0,title:r,labels:i,valueFormat:Ra(),lineSymbol:Gr({color:Yp})}}function Zt(){return{type:L.Legend,visible:!0,title:ie({text:"",visible:!0,font:pe(te.LegendTitle)}),body:td("",pe(te.LegendText)),position:uo.Right,maxHeight:Number.NaN}}function Ri(e){return{type:L.Overlay,visible:!0,created:!1,symbol:Gr({useRampColor:{colorIndex:e},isHistogramOverlay:!0})}}function Xt(){return[255,255,255,255]}async function kt(){return(await ut()).defaultTitle}function Bt(){return`Chart ${Date.now()}`}function xD(e,r=!1){return{type:Re.SFS,style:nr.Solid,color:r?Qi(at):ct({colorIndex:e??0,opacity:at})}}function Bb(e=0){return{type:Re.SMS,style:ta.Circle,color:ct({colorIndex:e,opacity:at}),size:4}}function qb(e){return{type:Re.SLS,style:or.Solid,color:ct({colorIndex:e,opacity:at}),width:2}}function Mb(e=!1){return{type:Re.SMS,style:ta.Circle,color:e?Qi(at):ct({colorIndex:0,opacity:at}),size:7}}function ID(){return{type:L.SizePolicy,field:"",scaleType:yo.Linear,minSize:5,maxSize:30}}function Nb(e=!1){return{type:L.Overlays,trendLine:{type:L.Overlay,created:!1,visible:!0,symbol:{type:Re.SLS,style:or.Solid,color:e?Qi():ct({colorIndex:1}),width:2}}}}function Wb(){return{type:L.ScatterSeries,id:L.ScatterSeries,name:L.ScatterSeries,x:"",y:"",markerSymbol:Mb(),overlays:Nb(),dataLabels:ie({text:"",visible:!1,font:pe(te.DataLabels)})}}async function Or(e){let r=await ut(),i=[],t=r.xAxis,a=r.statistics.count,o,n=Ni(a),s=Gr({opacity:$b});switch(n.grid=s,e){case L.BarSeries:{o=bl(t);break}case L.ScatterSeries:{o=Ni(t),o.grid=s;break}case L.RadarSeries:case L.LineSeries:case L.HistogramSeries:{o=Ni(t);break}case L.BoxPlotSeries:{o=bl("");break}}return o!==void 0&&i.push(o,n),i}function zb(){return{type:L.GaugeNeedle,symbol:{type:Re.SFS,color:[0,0,0,200]}}}async function Vb(){let e=await ut(),r=[],i=e.xAxis,t=Ni(i);return t.needle=zb(),r.push(t),r}async function Ub(e){let r=e.objectIDField??"ObjectID",i=`${we.Count}_${r}_0`.toUpperCase(),t=(await ut()).countSeries;return{type:L.LineSeries,id:t,name:t,query:{outStatistics:[{statisticType:we.Count,onStatisticField:r,outStatisticFieldName:i}],groupByFieldsForStatistics:[]},x:"",y:i,lineSymbol:qb(e.seriesIndex),markerSymbol:Bb(e.seriesIndex),dataLabels:ie({text:"",visible:!1,font:pe(te.DataLabels)}),temporalBinning:{type:ea.FixedDateBased,unit:_e.Day,size:0,timeAggregationType:ir.Start,trimIncompleteTimeInterval:!0,nullPolicy:ho.Interpolate}}}async function CD(e){return{...await Ub(e),type:L.RadarSeries}}function Gb(e){return{type:Re.SFS,style:nr.Solid,color:ct({colorIndex:e,opacity:at})}}async function TD(e){let r=e.objectIDField??"ObjectID",i=`${we.Count}_${r}_0`.toUpperCase(),t=(await ut()).countSeries;return{type:L.BarSeries,id:t,name:t,query:{outStatistics:[{statisticType:we.Count,onStatisticField:r,outStatisticFieldName:i}],groupByFieldsForStatistics:[]},x:"",y:i,fillSymbol:Gb(e.seriesIndex),dataLabels:ie({text:"",visible:!1,font:pe(te.DataLabels),type:te.DataLabels})}}async function AD(e){let r=(await ut()).countSeries;return{name:r,type:L.BoxPlotSeries,id:r,fillSymbol:{type:Re.SFS,style:nr.Solid,color:ct({colorIndex:e,opacity:at})},query:{},x:Na,y:""}}function Hb(){return{type:L.PieTick,visible:!0,lineSymbol:Gr({width:1,color:jb})}}function Qb(){return{type:Re.SFS,style:nr.Solid}}async function PD(e){let r=`${we.Count}_${e}_0`.toUpperCase(),i=(await ut()).countSeries;return{type:L.PieSeries,id:i,name:i,query:{outStatistics:[{statisticType:we.Count,onStatisticField:e??"ObjectID",outStatisticFieldName:r}],groupByFieldsForStatistics:[]},x:"",y:r,fillSymbol:Qb(),dataLabels:ie({text:"",visible:!1,font:pe(te.DataLabels),type:te.DataLabels}),startAngle:-90,endAngle:270,dataLabelsCharacterLimit:11,displayNumericValueOnDataLabel:!1,displayPercentageOnDataLabel:!0,numericValueFormat:{...Ra(),intlOptions:{minimumFractionDigits:1,maximumFractionDigits:1}},percentValueFormat:{...Ra(),intlOptions:{minimumFractionDigits:1,maximumFractionDigits:1}},ticks:Hb()}}function FD(e){let r=e.objectIDField??"ObjectID",i=`${we.Count}_${r}_0`.toUpperCase(),t="Series0";return{type:L.GaugeSeries,id:t,name:t,query:{outStatistics:[{statisticType:we.Count,onStatisticField:r,outStatisticFieldName:i}]},x:""}}function zr(){return!1}async function OD(e=Bt()){return{version:St,type:L.Chart,id:e,colorMatch:!0,rotated:zr(),orderOptions:{data:{orderType:ar.Category,orderBy:lt.Ascending}},title:ie({text:await kt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:Xt(),axes:await Or(L.BarSeries),series:[],legend:Zt()}}async function ED(e=Bt()){return{version:St,type:L.Chart,id:e,rotated:zr(),colorMatch:!0,orderOptions:{data:{orderType:ar.Category,orderBy:lt.Ascending}},title:ie({text:await kt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:Xt(),series:[],legend:Zt(),axes:await Or(L.BoxPlotSeries),standardizeValues:!0,showOutliers:!1}}async function LD(e=Bt()){return{version:St,type:L.Chart,id:e,colorMatch:!0,rotated:zr(),orderOptions:{data:{orderType:ar.Category,orderBy:lt.Ascending}},title:ie({text:await kt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:Xt(),axes:await Or(L.LineSeries),series:[],legend:Zt()}}async function DD(e=Bt()){return{version:St,type:L.Chart,id:e,colorMatch:!0,orderOptions:{data:{orderType:ar.Category,orderBy:lt.Ascending}},title:ie({text:await kt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:Xt(),axes:await Or(L.RadarSeries),series:[],legend:Zt()}}async function $D(e=Bt()){return{version:St,type:L.Chart,id:e,colorMatch:!0,orderOptions:{data:{orderType:ar.YValue,orderBy:lt.Descending}},title:ie({text:await kt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:Xt(),series:[],legend:{...Zt(),displayNumericValue:!1,displayPercentage:!0}}}async function jD(e=Bt()){return{version:St,type:L.Chart,id:e,colorMatch:!0,title:ie({text:await kt(),visible:!0,font:pe(te.ChartTitle)}),series:[],axes:await Vb()}}async function _D(e=Bt()){return{version:St,type:L.Chart,id:e,colorMatch:!0,title:ie({text:await kt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:Xt(),axes:await Or(L.ScatterSeries),series:[Wb()],legend:Zt()}}function Kb(){return{type:L.Overlays,mean:Ri(1),median:Ri(2),standardDeviation:Ri(3),comparisonDistribution:Ri(4)}}function Jb(){return{type:Re.SFS,style:nr.Solid,color:ct({colorIndex:0,opacity:at})}}function Zb(){return{type:L.HistogramSeries,id:L.HistogramSeries,name:L.HistogramSeries,visible:!0,dataTooltipVisible:!0,dataTooltipReverseColor:!1,assignToSecondValueAxis:!1,x:"",binCount:32,overlays:Kb(),dataTransformationType:Yi.None,fillSymbol:Jb(),dataLabels:ie({text:"",visible:!1,font:pe(te.DataLabels)})}}async function RD(e=Bt()){return{version:St,type:L.Chart,id:e,colorMatch:!0,title:ie({text:await kt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:Xt(),axes:await Or(L.HistogramSeries),series:[Zb()],legend:Zt()}}var ba={behaviorAfterLimit:Xp.Reject,maxCategoryCount:Number.NaN,maxBarChartSeriesCount:100,maxBarUniqueSeriesCountTotal:1e4,maxBarTwoSeriesCountPerSeries:1e3,maxBarTwoSeriesCountTotal:2e3,maxBarThreePlusSeriesCountPerSeries:100,maxBarThreePlusSeriesCountTotal:2e3,maxScatterPointsBeforeAggregation:1e4,maxScatterPointsAfterAggregation:1e4,maxLineChartSeriesCount:100,maxLineUniqueSeriesCountTotal:1e4,maxLineTwoSeriesCountPerSeries:5e3,maxLineTwoSeriesCountTotal:1e4,maxLineThreePlusSeriesCountPerSeries:1e3,maxLineThreePlusSeriesCountTotal:1e4,maxPieChartSliceCountTotal:300,maxGaugeByFeaturesLimit:50,maxBoxPlotSeriesCount:100,maxBoxUniqueSeriesCountTotal:1e4,maxBoxTwoSeriesCountPerSeries:1e3,maxBoxTwoSeriesCountTotal:2e3,maxBoxThreePlusSeriesCountPerSeries:100,maxBoxThreePlusSeriesCountTotal:2e3,maxBoxPlotOutlierLimit:1e4};function Xb(e){let r={...ba};return e!==void 0&&Object.keys(ba).forEach(i=>{let t=i;r[t]=e[t]??ba[t]}),r}function kD(){return{maxScatterCellsPerQuery:500,maxScatterCellsPerQueryForStandard:175,maxElementsPerSelectionQuery:25,maxOIDsPerSelectionQuery:2e3,maxOperandsPerWhereClause:200}}async function BD(e){let r=await ut(),i;switch(e){case we.Average:{i=r.statistics.mean;break}case we.ContinuousPercentile:{i=r.statistics.median;break}case we.Sum:{i=r.statistics.sum;break}case we.Minimum:{i=r.statistics.minimum;break}case we.Maximum:{i=r.statistics.maximum;break}case we.Variance:{i=r.statistics.variance;break}case we.DiscretePercentile:{i=r.statistics.discretePercentile;break}case we.NoAggregation:{i=r.statistics.noAggregation;break}case we.Count:default:{i=r.statistics.count;break}}return i}async function qD(e){let r=await ut(),i;switch(e){case ir.End:{i=r.timeAggregationTypes.end;break}case ir.Start:{i=r.timeAggregationTypes.start;break}default:i="";break}return i}function Yb(){return _r.Side}async function MD(){return(await ut()).notAvailable}var ND=0,ev="_arcgis_charts_outliers",tv="_arcgis_charts_z_score",WD=[210,210,210,255*at];var Vi=function(){return Vi=Object.assign||function(e){for(var r,i=1,t=arguments.length;i<t;i++){r=arguments[i];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},Vi.apply(this,arguments)},ka={exports:{}},Ce={},Ba={exports:{}},Yt={};function rd(){var e={};return e["align-content"]=!1,e["align-items"]=!1,e["align-self"]=!1,e["alignment-adjust"]=!1,e["alignment-baseline"]=!1,e.all=!1,e["anchor-point"]=!1,e.animation=!1,e["animation-delay"]=!1,e["animation-direction"]=!1,e["animation-duration"]=!1,e["animation-fill-mode"]=!1,e["animation-iteration-count"]=!1,e["animation-name"]=!1,e["animation-play-state"]=!1,e["animation-timing-function"]=!1,e.azimuth=!1,e["backface-visibility"]=!1,e.background=!0,e["background-attachment"]=!0,e["background-clip"]=!0,e["background-color"]=!0,e["background-image"]=!0,e["background-origin"]=!0,e["background-position"]=!0,e["background-repeat"]=!0,e["background-size"]=!0,e["baseline-shift"]=!1,e.binding=!1,e.bleed=!1,e["bookmark-label"]=!1,e["bookmark-level"]=!1,e["bookmark-state"]=!1,e.border=!0,e["border-bottom"]=!0,e["border-bottom-color"]=!0,e["border-bottom-left-radius"]=!0,e["border-bottom-right-radius"]=!0,e["border-bottom-style"]=!0,e["border-bottom-width"]=!0,e["border-collapse"]=!0,e["border-color"]=!0,e["border-image"]=!0,e["border-image-outset"]=!0,e["border-image-repeat"]=!0,e["border-image-slice"]=!0,e["border-image-source"]=!0,e["border-image-width"]=!0,e["border-left"]=!0,e["border-left-color"]=!0,e["border-left-style"]=!0,e["border-left-width"]=!0,e["border-radius"]=!0,e["border-right"]=!0,e["border-right-color"]=!0,e["border-right-style"]=!0,e["border-right-width"]=!0,e["border-spacing"]=!0,e["border-style"]=!0,e["border-top"]=!0,e["border-top-color"]=!0,e["border-top-left-radius"]=!0,e["border-top-right-radius"]=!0,e["border-top-style"]=!0,e["border-top-width"]=!0,e["border-width"]=!0,e.bottom=!1,e["box-decoration-break"]=!0,e["box-shadow"]=!0,e["box-sizing"]=!0,e["box-snap"]=!0,e["box-suppress"]=!0,e["break-after"]=!0,e["break-before"]=!0,e["break-inside"]=!0,e["caption-side"]=!1,e.chains=!1,e.clear=!0,e.clip=!1,e["clip-path"]=!1,e["clip-rule"]=!1,e.color=!0,e["color-interpolation-filters"]=!0,e["column-count"]=!1,e["column-fill"]=!1,e["column-gap"]=!1,e["column-rule"]=!1,e["column-rule-color"]=!1,e["column-rule-style"]=!1,e["column-rule-width"]=!1,e["column-span"]=!1,e["column-width"]=!1,e.columns=!1,e.contain=!1,e.content=!1,e["counter-increment"]=!1,e["counter-reset"]=!1,e["counter-set"]=!1,e.crop=!1,e.cue=!1,e["cue-after"]=!1,e["cue-before"]=!1,e.cursor=!1,e.direction=!1,e.display=!0,e["display-inside"]=!0,e["display-list"]=!0,e["display-outside"]=!0,e["dominant-baseline"]=!1,e.elevation=!1,e["empty-cells"]=!1,e.filter=!1,e.flex=!1,e["flex-basis"]=!1,e["flex-direction"]=!1,e["flex-flow"]=!1,e["flex-grow"]=!1,e["flex-shrink"]=!1,e["flex-wrap"]=!1,e.float=!1,e["float-offset"]=!1,e["flood-color"]=!1,e["flood-opacity"]=!1,e["flow-from"]=!1,e["flow-into"]=!1,e.font=!0,e["font-family"]=!0,e["font-feature-settings"]=!0,e["font-kerning"]=!0,e["font-language-override"]=!0,e["font-size"]=!0,e["font-size-adjust"]=!0,e["font-stretch"]=!0,e["font-style"]=!0,e["font-synthesis"]=!0,e["font-variant"]=!0,e["font-variant-alternates"]=!0,e["font-variant-caps"]=!0,e["font-variant-east-asian"]=!0,e["font-variant-ligatures"]=!0,e["font-variant-numeric"]=!0,e["font-variant-position"]=!0,e["font-weight"]=!0,e.grid=!1,e["grid-area"]=!1,e["grid-auto-columns"]=!1,e["grid-auto-flow"]=!1,e["grid-auto-rows"]=!1,e["grid-column"]=!1,e["grid-column-end"]=!1,e["grid-column-start"]=!1,e["grid-row"]=!1,e["grid-row-end"]=!1,e["grid-row-start"]=!1,e["grid-template"]=!1,e["grid-template-areas"]=!1,e["grid-template-columns"]=!1,e["grid-template-rows"]=!1,e["hanging-punctuation"]=!1,e.height=!0,e.hyphens=!1,e.icon=!1,e["image-orientation"]=!1,e["image-resolution"]=!1,e["ime-mode"]=!1,e["initial-letters"]=!1,e["inline-box-align"]=!1,e["justify-content"]=!1,e["justify-items"]=!1,e["justify-self"]=!1,e.left=!1,e["letter-spacing"]=!0,e["lighting-color"]=!0,e["line-box-contain"]=!1,e["line-break"]=!1,e["line-grid"]=!1,e["line-height"]=!1,e["line-snap"]=!1,e["line-stacking"]=!1,e["line-stacking-ruby"]=!1,e["line-stacking-shift"]=!1,e["line-stacking-strategy"]=!1,e["list-style"]=!0,e["list-style-image"]=!0,e["list-style-position"]=!0,e["list-style-type"]=!0,e.margin=!0,e["margin-bottom"]=!0,e["margin-left"]=!0,e["margin-right"]=!0,e["margin-top"]=!0,e["marker-offset"]=!1,e["marker-side"]=!1,e.marks=!1,e.mask=!1,e["mask-box"]=!1,e["mask-box-outset"]=!1,e["mask-box-repeat"]=!1,e["mask-box-slice"]=!1,e["mask-box-source"]=!1,e["mask-box-width"]=!1,e["mask-clip"]=!1,e["mask-image"]=!1,e["mask-origin"]=!1,e["mask-position"]=!1,e["mask-repeat"]=!1,e["mask-size"]=!1,e["mask-source-type"]=!1,e["mask-type"]=!1,e["max-height"]=!0,e["max-lines"]=!1,e["max-width"]=!0,e["min-height"]=!0,e["min-width"]=!0,e["move-to"]=!1,e["nav-down"]=!1,e["nav-index"]=!1,e["nav-left"]=!1,e["nav-right"]=!1,e["nav-up"]=!1,e["object-fit"]=!1,e["object-position"]=!1,e.opacity=!1,e.order=!1,e.orphans=!1,e.outline=!1,e["outline-color"]=!1,e["outline-offset"]=!1,e["outline-style"]=!1,e["outline-width"]=!1,e.overflow=!1,e["overflow-wrap"]=!1,e["overflow-x"]=!1,e["overflow-y"]=!1,e.padding=!0,e["padding-bottom"]=!0,e["padding-left"]=!0,e["padding-right"]=!0,e["padding-top"]=!0,e.page=!1,e["page-break-after"]=!1,e["page-break-before"]=!1,e["page-break-inside"]=!1,e["page-policy"]=!1,e.pause=!1,e["pause-after"]=!1,e["pause-before"]=!1,e.perspective=!1,e["perspective-origin"]=!1,e.pitch=!1,e["pitch-range"]=!1,e["play-during"]=!1,e.position=!1,e["presentation-level"]=!1,e.quotes=!1,e["region-fragment"]=!1,e.resize=!1,e.rest=!1,e["rest-after"]=!1,e["rest-before"]=!1,e.richness=!1,e.right=!1,e.rotation=!1,e["rotation-point"]=!1,e["ruby-align"]=!1,e["ruby-merge"]=!1,e["ruby-position"]=!1,e["shape-image-threshold"]=!1,e["shape-outside"]=!1,e["shape-margin"]=!1,e.size=!1,e.speak=!1,e["speak-as"]=!1,e["speak-header"]=!1,e["speak-numeral"]=!1,e["speak-punctuation"]=!1,e["speech-rate"]=!1,e.stress=!1,e["string-set"]=!1,e["tab-size"]=!1,e["table-layout"]=!1,e["text-align"]=!0,e["text-align-last"]=!0,e["text-combine-upright"]=!0,e["text-decoration"]=!0,e["text-decoration-color"]=!0,e["text-decoration-line"]=!0,e["text-decoration-skip"]=!0,e["text-decoration-style"]=!0,e["text-emphasis"]=!0,e["text-emphasis-color"]=!0,e["text-emphasis-position"]=!0,e["text-emphasis-style"]=!0,e["text-height"]=!0,e["text-indent"]=!0,e["text-justify"]=!0,e["text-orientation"]=!0,e["text-overflow"]=!0,e["text-shadow"]=!0,e["text-space-collapse"]=!0,e["text-transform"]=!0,e["text-underline-position"]=!0,e["text-wrap"]=!0,e.top=!1,e.transform=!1,e["transform-origin"]=!1,e["transform-style"]=!1,e.transition=!1,e["transition-delay"]=!1,e["transition-duration"]=!1,e["transition-property"]=!1,e["transition-timing-function"]=!1,e["unicode-bidi"]=!1,e["vertical-align"]=!1,e.visibility=!1,e["voice-balance"]=!1,e["voice-duration"]=!1,e["voice-family"]=!1,e["voice-pitch"]=!1,e["voice-range"]=!1,e["voice-rate"]=!1,e["voice-stress"]=!1,e["voice-volume"]=!1,e.volume=!1,e["white-space"]=!1,e.widows=!1,e.width=!0,e["will-change"]=!1,e["word-break"]=!0,e["word-spacing"]=!0,e["word-wrap"]=!0,e["wrap-flow"]=!1,e["wrap-through"]=!1,e["writing-mode"]=!1,e["z-index"]=!1,e}function rv(e,r,i){}function iv(e,r,i){}var av=/javascript\s*\:/img;function ov(e,r){return av.test(r)?"":r}Yt.whiteList=rd();Yt.getDefaultWhiteList=rd;Yt.onAttr=rv;Yt.onIgnoreAttr=iv;Yt.safeAttrValue=ov;var nv={indexOf:function(e,r){var i,t;if(Array.prototype.indexOf)return e.indexOf(r);for(i=0,t=e.length;i<t;i++)if(e[i]===r)return i;return-1},forEach:function(e,r,i){var t,a;if(Array.prototype.forEach)return e.forEach(r,i);for(t=0,a=e.length;t<a;t++)r.call(i,e[t],t,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(e){return String.prototype.trimRight?e.trimRight():e.replace(/(\s*$)/g,"")}},Wr=nv;function sv(e,r){e=Wr.trimRight(e),e[e.length-1]!==";"&&(e+=";");var i=e.length,t=!1,a=0,o=0,n="";function s(){if(!t){var c=Wr.trim(e.slice(a,o)),d=c.indexOf(":");if(d!==-1){var p=Wr.trim(c.slice(0,d)),f=Wr.trim(c.slice(d+1));if(p){var m=r(a,n.length,p,f,c);m&&(n+=m+"; ")}}}a=o+1}for(;o<i;o++){var l=e[o];if(l==="/"&&e[o+1]==="*"){var u=e.indexOf("*/",o+2);if(u===-1)break;o=u+1,a=o+1,t=!1}else l==="("?t=!0:l===")"?t=!1:l===";"?t||s():l===`
57
- `&&s()}return Wr.trim(n)}var lv=sv,ki=Yt,pv=lv;function vl(e){return e==null}function dv(e){var r={};for(var i in e)r[i]=e[i];return r}function id(e){e=dv(e||{}),e.whiteList=e.whiteList||ki.whiteList,e.onAttr=e.onAttr||ki.onAttr,e.onIgnoreAttr=e.onIgnoreAttr||ki.onIgnoreAttr,e.safeAttrValue=e.safeAttrValue||ki.safeAttrValue,this.options=e}id.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var r=this,i=r.options,t=i.whiteList,a=i.onAttr,o=i.onIgnoreAttr,n=i.safeAttrValue,s=pv(e,function(l,u,c,d,p){var f=t[c],m=!1;if(f===!0?m=f:typeof f=="function"?m=f(d):f instanceof RegExp&&(m=f.test(d)),m!==!0&&(m=!1),d=n(c,d),!!d){var y={position:u,sourcePosition:l,source:p,isWhite:m};if(m){var b=a(c,d,y);return vl(b)?c+":"+d:b}else{var b=o(c,d,y);if(!vl(b))return b}}});return s};var cv=id;(function(e,r){var i=Yt,t=cv;function a(n,s){var l=new t(s);return l.process(n)}r=e.exports=a,r.FilterCSS=t;for(var o in i)r[o]=i[o]})(Ba,Ba.exports);var Wa=Ba.exports,za={indexOf:function(e,r){var i,t;if(Array.prototype.indexOf)return e.indexOf(r);for(i=0,t=e.length;i<t;i++)if(e[i]===r)return i;return-1},forEach:function(e,r,i){var t,a;if(Array.prototype.forEach)return e.forEach(r,i);for(t=0,a=e.length;t<a;t++)r.call(i,e[t],t,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(e){var r=/\s|\n|\t/,i=r.exec(e);return i?i.index:-1}},uv=Wa.FilterCSS,fv=Wa.getDefaultWhiteList,Ui=za;function ad(){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 od=new uv;function hv(e,r,i){}function mv(e,r,i){}function yv(e,r,i){}function gv(e,r,i){}function nd(e){return e.replace(vv,"&lt;").replace(Sv,"&gt;")}function bv(e,r,i,t){if(i=ud(i),r==="href"||r==="src"){if(i=Ui.trim(i),i==="#")return"#";if(!(i.substr(0,7)==="http://"||i.substr(0,8)==="https://"||i.substr(0,7)==="mailto:"||i.substr(0,4)==="tel:"||i.substr(0,11)==="data:image/"||i.substr(0,6)==="ftp://"||i.substr(0,2)==="./"||i.substr(0,3)==="../"||i[0]==="#"||i[0]==="/"))return""}else if(r==="background"){if(Bi.lastIndex=0,Bi.test(i))return""}else if(r==="style"){if(Sl.lastIndex=0,Sl.test(i)||(wl.lastIndex=0,wl.test(i)&&(Bi.lastIndex=0,Bi.test(i))))return"";t!==!1&&(t=t||od,i=t.process(i))}return i=fd(i),i}var vv=/</g,Sv=/>/g,wv=/"/g,xv=/&quot;/g,Iv=/&#([a-zA-Z0-9]*);?/gim,Cv=/&colon;?/gim,Tv=/&newline;?/gim,Bi=/((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,Sl=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,wl=/u\s*r\s*l\s*\(.*/gi;function sd(e){return e.replace(wv,"&quot;")}function ld(e){return e.replace(xv,'"')}function pd(e){return e.replace(Iv,function(r,i){return i[0]==="x"||i[0]==="X"?String.fromCharCode(parseInt(i.substr(1),16)):String.fromCharCode(parseInt(i,10))})}function dd(e){return e.replace(Cv,":").replace(Tv," ")}function cd(e){for(var r="",i=0,t=e.length;i<t;i++)r+=e.charCodeAt(i)<32?" ":e.charAt(i);return Ui.trim(r)}function ud(e){return e=ld(e),e=pd(e),e=dd(e),e=cd(e),e}function fd(e){return e=sd(e),e=nd(e),e}function Av(){return""}function Pv(e,r){typeof r!="function"&&(r=function(){});var i=!Array.isArray(e);function t(n){return i?!0:Ui.indexOf(e,n)!==-1}var a=[],o=!1;return{onIgnoreTag:function(n,s,l){if(t(n))if(l.isClosing){var u="[/removed]",c=l.position+u.length;return a.push([o!==!1?o:l.position,c]),o=!1,u}else return o||(o=l.position),"[removed]";else return r(n,s,l)},remove:function(n){var s="",l=0;return Ui.forEach(a,function(u){s+=n.slice(l,u[0]),l=u[1]}),s+=n.slice(l),s}}}function Fv(e){for(var r="",i=0;i<e.length;){var t=e.indexOf("<!--",i);if(t===-1){r+=e.slice(i);break}r+=e.slice(i,t);var a=e.indexOf("-->",t);if(a===-1)break;i=a+3}return r}function Ov(e){var r=e.split("");return r=r.filter(function(i){var t=i.charCodeAt(0);return t===127?!1:t<=31?t===10||t===13:!0}),r.join("")}Ce.whiteList=ad();Ce.getDefaultWhiteList=ad;Ce.onTag=hv;Ce.onIgnoreTag=mv;Ce.onTagAttr=yv;Ce.onIgnoreTagAttr=gv;Ce.safeAttrValue=bv;Ce.escapeHtml=nd;Ce.escapeQuote=sd;Ce.unescapeQuote=ld;Ce.escapeHtmlEntities=pd;Ce.escapeDangerHtml5Entities=dd;Ce.clearNonPrintableCharacter=cd;Ce.friendlyAttrValue=ud;Ce.escapeAttrValue=fd;Ce.onIgnoreTagStripAll=Av;Ce.StripTagBody=Pv;Ce.stripCommentTag=Fv;Ce.stripBlankChar=Ov;Ce.cssFilter=od;Ce.getDefaultCSSWhiteList=fv;var Ki={},Rt=za;function Ev(e){var r=Rt.spaceIndex(e),i;return r===-1?i=e.slice(1,-1):i=e.slice(1,r+1),i=Rt.trim(i).toLowerCase(),i.slice(0,1)==="/"&&(i=i.slice(1)),i.slice(-1)==="/"&&(i=i.slice(0,-1)),i}function Lv(e){return e.slice(0,2)==="</"}function Dv(e,r,i){var t="",a=0,o=!1,n=!1,s=0,l=e.length,u="",c="";e:for(s=0;s<l;s++){var d=e.charAt(s);if(o===!1){if(d==="<"){o=s;continue}}else if(n===!1){if(d==="<"){t+=i(e.slice(a,s)),o=s,a=s;continue}if(d===">"){t+=i(e.slice(a,o)),c=e.slice(o,s+1),u=Ev(c),t+=r(o,t.length,u,c,Lv(c)),a=s+1,o=!1;continue}if(d==='"'||d==="'")for(var p=1,f=e.charAt(s-p);f.trim()===""||f==="=";){if(f==="="){n=d;continue e}f=e.charAt(s-++p)}}else if(d===n){n=!1;continue}}return a<e.length&&(t+=i(e.substr(a))),t}var $v=/[^a-zA-Z0-9\\_:.-]/gim;function jv(e,r){var i=0,t=0,a=[],o=!1,n=e.length;function s(p,f){if(p=Rt.trim(p),p=p.replace($v,"").toLowerCase(),!(p.length<1)){var m=r(p,f||"");m&&a.push(m)}}for(var l=0;l<n;l++){var u=e.charAt(l),c,d;if(o===!1&&u==="="){o=e.slice(i,l),i=l+1,t=e.charAt(i)==='"'||e.charAt(i)==="'"?i:Rv(e,l+1);continue}if(o!==!1&&l===t){if(d=e.indexOf(u,l+1),d===-1)break;c=Rt.trim(e.slice(t+1,d)),s(o,c),o=!1,l=d,i=l+1;continue}if(/\s|\n|\t/.test(u))if(e=e.replace(/\s|\n|\t/g," "),o===!1)if(d=_v(e,l),d===-1){c=Rt.trim(e.slice(i,l)),s(c),o=!1,i=l+1;continue}else{l=d-1;continue}else if(d=kv(e,l-1),d===-1){c=Rt.trim(e.slice(i,l)),c=xl(c),s(o,c),o=!1,i=l+1;continue}else continue}return i<e.length&&(o===!1?s(e.slice(i)):s(o,xl(Rt.trim(e.slice(i))))),Rt.trim(a.join(" "))}function _v(e,r){for(;r<e.length;r++){var i=e[r];if(i!==" ")return i==="="?r:-1}}function Rv(e,r){for(;r<e.length;r++){var i=e[r];if(i!==" ")return i==="'"||i==='"'?r:-1}}function kv(e,r){for(;r>0;r--){var i=e[r];if(i!==" ")return i==="="?r:-1}}function Bv(e){return e[0]==='"'&&e[e.length-1]==='"'||e[0]==="'"&&e[e.length-1]==="'"}function xl(e){return Bv(e)?e.substr(1,e.length-2):e}Ki.parseTag=Dv;Ki.parseAttr=jv;var qv=Wa.FilterCSS,it=Ce,hd=Ki,Mv=hd.parseTag,Nv=hd.parseAttr,Wi=za;function qi(e){return e==null}function Wv(e){var r=Wi.spaceIndex(e);if(r===-1)return{html:"",closing:e[e.length-2]==="/"};e=Wi.trim(e.slice(r+1,-1));var i=e[e.length-1]==="/";return i&&(e=Wi.trim(e.slice(0,-1))),{html:e,closing:i}}function zv(e){var r={};for(var i in e)r[i]=e[i];return r}function Vv(e){var r={};for(var i in e)Array.isArray(e[i])?r[i.toLowerCase()]=e[i].map(function(t){return t.toLowerCase()}):r[i.toLowerCase()]=e[i];return r}function md(e){e=zv(e||{}),e.stripIgnoreTag&&(e.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),e.onIgnoreTag=it.onIgnoreTagStripAll),e.whiteList||e.allowList?e.whiteList=Vv(e.whiteList||e.allowList):e.whiteList=it.whiteList,e.onTag=e.onTag||it.onTag,e.onTagAttr=e.onTagAttr||it.onTagAttr,e.onIgnoreTag=e.onIgnoreTag||it.onIgnoreTag,e.onIgnoreTagAttr=e.onIgnoreTagAttr||it.onIgnoreTagAttr,e.safeAttrValue=e.safeAttrValue||it.safeAttrValue,e.escapeHtml=e.escapeHtml||it.escapeHtml,this.options=e,e.css===!1?this.cssFilter=!1:(e.css=e.css||{},this.cssFilter=new qv(e.css))}md.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var r=this,i=r.options,t=i.whiteList,a=i.onTag,o=i.onIgnoreTag,n=i.onTagAttr,s=i.onIgnoreTagAttr,l=i.safeAttrValue,u=i.escapeHtml,c=r.cssFilter;i.stripBlankChar&&(e=it.stripBlankChar(e)),i.allowCommentTag||(e=it.stripCommentTag(e));var d=!1;i.stripIgnoreTagBody&&(d=it.StripTagBody(i.stripIgnoreTagBody,o),o=d.onIgnoreTag);var p=Mv(e,function(f,m,y,b,I){var S={sourcePosition:f,position:m,isClosing:I,isWhite:Object.prototype.hasOwnProperty.call(t,y)},F=a(y,b,S);if(!qi(F))return F;if(S.isWhite){if(S.isClosing)return"</"+y+">";var w=Wv(b),T=t[y],E=Nv(w.html,function(P,O){var j=Wi.indexOf(T,P)!==-1,x=n(y,P,O,j);return qi(x)?j?(O=l(y,P,O,c),O?P+'="'+O+'"':P):(x=s(y,P,O,j),qi(x)?void 0:x):x});return b="<"+y,E&&(b+=" "+E),w.closing&&(b+=" /"),b+=">",b}else return F=o(y,b,S),qi(F)?u(b):F},u);return d&&(p=d.remove(p)),p};var Uv=md;(function(e,r){var i=Ce,t=Ki,a=Uv;function o(s,l){var u=new a(l);return u.process(s)}r=e.exports=o,r.filterXSS=o,r.FilterXSS=a,function(){for(var s in i)r[s]=i[s];for(var l in t)r[l]=t[l]}();function n(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}n()&&(self.filterXSS=e.exports)})(ka,ka.exports);var Pr=ka.exports,Gv=function(e){if(typeof e!="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]")return!1;var r=Object.getPrototypeOf(e);if(r===null)return!0;for(;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(e)===r},Hv=function(){function e(r,i){var t=this;this.arcgisWhiteList={a:["href","style","target"],abbr:["title"],article:["style"],aside:["style"],audio:["autoplay","controls","loop","muted","preload"],b:[],blockquote:["style"],br:[],code:["style"],dd:["style"],del:["style"],details:["open","style"],div:["align","aria-hidden","aria-label","style"],dl:["style"],dt:["style"],em:[],figcaption:["style"],figure:["style"],font:["color","face","size","style"],footer:["style"],h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],header:["style"],hr:[],i:[],img:["alt","border","height","src","style","width"],li:[],main:["style"],mark:["style"],nav:["style"],ol:[],p:["style"],pre:["style"],section:["style"],source:["media","src","type"],span:["aria-hidden","aria-label","style"],strong:[],sub:["style"],summary:["style"],sup:["style"],table:["border","cellpadding","cellspacing","height","style","width"],tbody:[],tr:["align","height","style","valign"],td:["align","colspan","height","nowrap","rowspan","style","valign","width"],th:["align","colspan","height","nowrap","rowspan","style","valign","width"],time:["style"],u:[],ul:[],video:["autoplay","controls","height","loop","muted","poster","preload","width"]},this.arcgisCSSWhiteList=Vi(Vi({},Pr.getDefaultCSSWhiteList()),{"align-items":!0,"align-self":!0,flex:!0,"flex-basis":!0,"flex-direction":!0,"flex-flow":!0,"flex-grow":!0,"flex-shrink":!0,"flex-wrap":!0,float:!0,gap:!0,grid:!0,"grid-area":!0,"grid-auto-columns":!0,"grid-auto-flow":!0,"grid-auto-rows":!0,"grid-column":!0,"grid-column-end":!0,"grid-column-start":!0,"grid-row":!0,"grid-row-end":!0,"grid-row-start":!0,"grid-template":!0,"grid-template-areas":!0,"grid-template-columns":!0,"grid-template-rows":!0,"justify-content":!0,"justify-items":!0,"justify-self":!0,"line-height":!0,overflow:!0}),this.allowedProtocols=["http","https","mailto","iform","tel","flow","lfmobile","arcgis-navigator","arcgis-appstudio-player","arcgis-survey123","arcgis-collector","arcgis-workforce","arcgis-explorer","arcgis-trek2there","arcgis-quickcapture","mspbi","comgooglemaps","pdfefile","pdfehttp","pdfehttps","boxapp","boxemm","awb","awbs","gropen","radarscope"],this.arcgisFilterOptions={allowCommentTag:!0,safeAttrValue:function(o,n,s,l){return o==="a"&&n==="href"||(o==="img"||o==="source")&&n==="src"?t.sanitizeUrl(s):Pr.safeAttrValue(o,n,s,l)}},this._entityMap={"&":"&#x38;","<":"&#x3C;",">":"&#x3E;",'"':"&#x22;","'":"&#x27;","/":"&#x2F;"};var a;r&&!i?a=r:r&&i?(a=Object.create(this.arcgisFilterOptions),a.css={whiteList:this.arcgisCSSWhiteList},Object.keys(r).forEach(function(o){if(o==="whiteList")a.whiteList=t._extendObjectOfArrays([t.arcgisWhiteList,r.whiteList||{}]);else if(o==="css"){var n=r.css.whiteList;n!=null&&r.css instanceof Object&&Object.keys(n).forEach(function(s){return a.css.whiteList[s]=n[s]})}else a[o]=r[o]})):(a=Object.create(this.arcgisFilterOptions),a.whiteList=this.arcgisWhiteList,a.css={whiteList:this.arcgisCSSWhiteList}),this.xssFilterOptions=a,this._xssFilter=new Pr.FilterXSS(a)}return e.prototype.sanitize=function(r,i){switch(i===void 0&&(i={}),typeof r){case"number":return isNaN(r)||!isFinite(r)?null:r;case"boolean":return r;case"string":return this._xssFilter.process(r);case"object":return this._iterateOverObject(r,i);default:return i.allowUndefined&&typeof r>"u"?void 0:null}},e.prototype.sanitizeUrl=function(r,i){var t=(i??{}).isProtocolRequired,a=t===void 0?!0:t,o=this._trim(r.substring(0,r.indexOf(":"))),n=r==="/",s=/^#/.test(r),l=o&&this.allowedProtocols.indexOf(o.toLowerCase())>-1;return n||s||l?Pr.escapeAttrValue(r):!o&&!a?Pr.escapeAttrValue("https://".concat(r)):""},e.prototype.sanitizeHTMLAttribute=function(r,i,t,a){return typeof this.xssFilterOptions.safeAttrValue=="function"?this.xssFilterOptions.safeAttrValue(r,i,t,a):Pr.safeAttrValue(r,i,t,a)},e.prototype.validate=function(r,i){i===void 0&&(i={});var t=this.sanitize(r,i);return{isValid:r===t,sanitized:t}},e.prototype.encodeHTML=function(r){var i=this;return String(r).replace(/[&<>"'\/]/g,function(t){return i._entityMap[t]})},e.prototype.encodeAttrValue=function(r){var i=/^[a-zA-Z0-9]$/;return String(r).replace(/[\x00-\xFF]/g,function(t,a){return i.test(t)?t:"&#x".concat(Number(r.charCodeAt(a)).toString(16),";")})},e.prototype._extendObjectOfArrays=function(r){var i={};return r.forEach(function(t){Object.keys(t).forEach(function(a){Array.isArray(t[a])&&Array.isArray(i[a])?i[a]=i[a].concat(t[a]):i[a]=t[a]})}),i},e.prototype._iterateOverObject=function(r,i){var t=this;i===void 0&&(i={});try{var a=!1,o=void 0;if(Array.isArray(r))o=r.reduce(function(s,l){var u=t.validate(l,i);return u.isValid?s.concat([l]):(a=!0,s.concat([u.sanitized]))},[]);else if(Gv(r)){var n=Object.keys(r);o=n.reduce(function(s,l){var u=r[l],c=t.validate(u,i);return c.isValid?s[l]=u:(a=!0,s[l]=c.sanitized),s},{})}else return i.allowUndefined&&typeof r>"u"?void 0:null;return a?o:r}catch{return null}},e.prototype._trim=function(r){return String.prototype.trim?r.trim():r.replace(/(^\s*)|(\s*$)/g,"")},e}(),V={NonSpecific:"nonSpecific",BarAndLineNoAggregation:"barAndLineNoAggregation",BarAndLineMonoField:"barAndLineMonoField",BarAndLineMultiFields:"barAndLineMultiFields",BarAndLineFromFields:"barAndLineFromFields",BarAndLineSplitBy:"barAndLineSplitBy",BarAndLineSplitByNoAggregation:"barAndLineSplitByNoAggregation",PieNoAggregation:"pieNoAggregation",PieFromCategory:"pieFromCategory",PieFromFields:"pieFromFields",BoxPlotMonoField:"boxPlotMonoField",BoxPlotMultiFields:"boxPlotMultiFields",BoxPlotMonoFieldAndCategory:"boxPlotMonoFieldAndCategory",BoxPlotMultiFieldsAndCategory:"boxPlotMultiFieldsAndCategory",BoxPlotMonoFieldAndSplitBy:"boxPlotMonoFieldAndSplitBy",BoxPlotMultiFieldsAndSplitBy:"boxPlotMultiFieldsAndSplitBy",BoxPlotMonoFieldAndCategoryAndSplitBy:"boxPlotMonoFieldAndCategoryAndSplitBy"},zD={SelectionByClick:"SelectionByClick",SelectionByRange:"SelectionByRange",ProgrammaticSelection:"ProgrammaticSelection",ClearSelection:"ClearSelection"};function VD(e){return e?.colorMatch??!1}function Qv(e){return e.size===2&&e.has(L.LineSeries)&&e.has(L.BarSeries)}function Kv(e){return e.size===2&&e.has(L.LineSeries)&&e.has(L.BoxPlotSeries)||e.size===1&&e.has(L.BoxPlotSeries)}function Ve(e,r){let i;if(e!==void 0&&e.length>0)if(r!==void 0&&r>=0&&r<e.length)i=e[r].type;else{let t=new Set(e.map(n=>n.type)),a=Qv(t),o=Kv(t);a===!0?i=L.ComboLineAndBarSeries:o?i=L.BoxPlotSeries:t.size>=2?i=void 0:i=e[0].type}return i}function UD(e){let r=zr();if(e!==void 0){let i=Ve(e.series);(i===L.BarSeries||i===L.LineSeries||i===L.ComboLineAndBarSeries||i===L.BoxPlotSeries)&&(r=e.rotated??zr())}return r}function GD(e){return e?.map(r=>r.type)??[]}function Jv(e){let r=e?.stackedType;if(r===void 0&&e!==void 0){let i=Ve(e.series);(i===L.BarSeries||i===L.LineSeries||i===L.ComboLineAndBarSeries||i===L.RadarSeries)&&(r=Yb())}return r}function Zv(e){let r=e;return r=r.replace(/'/gu,"''"),r=r.replace(/[/\\"|[\]\\]/gu,"\\$&"),r}function Xv(e){let r=!1;if(typeof e!="number"){let i=new Intl.Segmenter;r=Array.from(i.segment(e),t=>t.segment).some(t=>t.charCodeAt(0)>255)}return r}function Yv(e){let r=e,i="";e.startsWith("'")&&e.endsWith("'")&&(r=e.slice(1,-1),i="'"),r=r.replace(/'/gu,"''");let t="";return Xv(r)&&(t="N"),`${t}${i}${r}${i}`}function yd(e){let{value:r,keepSurroundingQuotes:i,escape:t}=e,a=r?.trim();if(!wt(a)){let o="";a.startsWith("'")&&a.endsWith("'")&&(a=a.slice(1,-1),i&&(o="'")),t!==!1&&(a=Zv(a)),a=`${o}${a}${o}`}return a}function HD(e){let{count:r,seriesCount:i,chartType:t,chartLimits:a}=e,{behaviorAfterLimit:o}=a??{},n=!0;if(o!==Xp.RenderUpToTheLimit){let{maxBarChartSeriesCount:s,maxBarUniqueSeriesCountTotal:l,maxBarTwoSeriesCountPerSeries:u,maxBarTwoSeriesCountTotal:c,maxBarThreePlusSeriesCountPerSeries:d,maxBarThreePlusSeriesCountTotal:p,maxLineChartSeriesCount:f,maxLineUniqueSeriesCountTotal:m,maxLineTwoSeriesCountPerSeries:y,maxLineTwoSeriesCountTotal:b,maxLineThreePlusSeriesCountPerSeries:I,maxLineThreePlusSeriesCountTotal:S,maxPieChartSliceCountTotal:F,maxGaugeByFeaturesLimit:w,maxBoxPlotSeriesCount:T,maxBoxUniqueSeriesCountTotal:E,maxBoxTwoSeriesCountTotal:P,maxBoxTwoSeriesCountPerSeries:O,maxBoxThreePlusSeriesCountTotal:j,maxBoxThreePlusSeriesCountPerSeries:x}=Xb(a);switch(t){case L.BarSeries:case L.ComboLineAndBarSeries:{let C=r/i;i<=s?i===0?n=!0:i===1?n=r<=l:i===2?n=r<=c&&C<=u:i>2&&(n=r<=p&&C<=d):n=!1}break;case L.LineSeries:case L.RadarSeries:{let C=r/i;i<=f?i===0?n=!0:i===1?n=r<=m:i===2?n=r<=b&&C<=y:i>2&&(n=r<=S&&C<=I):n=!1}break;case L.PieSeries:n=r<=F;break;case L.BoxPlotSeries:{let C=r/i;i<=T?i===0?n=!0:i===1?n=r<=E:i===2?n=r<=P&&C<=O:i>2&&(n=r<=j&&C<=x):n=!1}break;case L.GaugeSeries:n=r<=w;break}}return n}function QD(e=[],r){let i=e.find(t=>t.name===r)?.alias;return i!==""?i??r:r}function KD(e=[],r){let i=e.find(t=>t.alias===r)?.name;return i!==""?i??r:r}function JD(e){let r=!1;switch(Ve(e)){case L.PieSeries:r=!0;break;case L.BarSeries:case L.LineSeries:case L.RadarSeries:case L.ComboLineAndBarSeries:case L.BoxPlotSeries:r=e.length>1;break;case L.HistogramSeries:case L.ScatterSeries:{let i=e[0];r=i.overlays!==void 0&&Object.values(i.overlays).some(t=>t.created===!0);break}}return r}function eS(e){let r=!0;return Ve(e.series)===L.ScatterSeries&&(r=e.series.length===1),r}function tS(e){let r=!0;return Ve(e.series)===L.HistogramSeries&&(r=e.series.length<=1&&e.series[0].type===L.HistogramSeries&&(!("dataTransformationType"in e.series[0])||e.series[0].dataTransformationType!==void 0&&Object.values(Yi).includes(e.series[0].dataTransformationType))),r}function rS(e){let r=!0;return Ve(e.series)===L.PieSeries&&(r=e.series.length<=1),r}function ZD(e,r){let i=Ve(r?.series),t=e.includes(i);if(t&&r!==void 0)switch(i){case L.HistogramSeries:t=tS(r);break;case L.ScatterSeries:t=eS(r);break;case L.PieSeries:t=rS(r);break}return t}function wt(e){return e==null||typeof e=="string"&&e.trim()===""}function iS(e,r){let i=r.find(t=>t in e);return{isInItem:i!==void 0,expr:i}}function XD(e){return iS(e,Db)}function YD(e,r){let i;switch(e){case _e.Second:i=r.seconds??"";break;case _e.Minute:i=r.minutes??"";break;case _e.Hour:i=r.hours??"";break;case _e.Day:i=r.days??"";break;case _e.Week:i=r.weeks??"";break;case _e.Month:i=r.months??"";break;case _e.Year:i=r.years??"";break;default:i="";break}return i}function e$(e){let r;switch(e){case pt.Mean:r=1;break;case pt.Median:r=2;break;case pt.StdDev:r=3;break;case pt.Normal:default:r=0;break}return r}function t$(e,r){if(r!==void 0){let{seriesId:i,overlayType:t,visible:a}=e.detail,o;switch(t){case pt.Mean:r.series[0].type===L.HistogramSeries&&(o=r.series[0].overlays?.mean);break;case pt.Median:r.series[0].type===L.HistogramSeries&&(o=r.series[0].overlays?.median);break;case pt.StdDev:r.series[0].type===L.HistogramSeries&&(o=r.series[0].overlays?.standardDeviation);break;case pt.Normal:r.series[0].type===L.HistogramSeries&&(o=r.series[0].overlays?.comparisonDistribution);break;case pt.Trendline:r.series[0].type===L.ScatterSeries&&(o=r.series[0].overlays?.trendLine);break;default:o=r.series.find(n=>n.id===i);break}o!==void 0&&(o.visible=a)}}function r$(e){return new Hv().sanitize(e)}function i$(e){return e!=null&&!Number.isNaN(e)&&Number.isFinite(e)}function a$(e,r){let i;return r!==void 0&&(i={...r,rotated:e}),i}function o$(e,r){let i={fieldToSort:""};if(!wt(e)){let t=e.trim(),a=t.split(" ").at(-1)?.toUpperCase();a===lt.Ascending||a===lt.Descending?i={fieldToSort:t.substring(0,t.lastIndexOf(" ")),orderBy:a}:(i={fieldToSort:t},r!==!1&&(i.orderBy=lt.Ascending))}return i}function n$(e){return e===V.BarAndLineSplitBy||e===V.BarAndLineSplitByNoAggregation||e===V.BoxPlotMonoFieldAndSplitBy||e===V.BoxPlotMultiFieldsAndSplitBy||e===V.BoxPlotMonoFieldAndCategoryAndSplitBy}function s$(e){return e?.selectionOIDs===void 0||e.selectionOIDs.length===0}function l$(e={arrayA:[],arrayB:[],getKey:r=>r}){let{arrayA:r,arrayB:i,getKey:t}=e;if(i.length===0||r.length===0)return r;let a=new Map;i.forEach((l,u)=>{let c=t(l);a.set(c,u)});let o=[],n=[];r.forEach((l,u)=>{let c=t(l);a.has(c)&&(o.push(u),n.push(l))}),n.sort((l,u)=>{let c=t(l),d=t(u);return a.get(c)-a.get(d)});let s=[...r];return o.forEach((l,u)=>{s[l]=n[u]}),s}var Ht=["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"],aS="1.0.0",oS="unrecognized.version",nS=[L.LineSeries,L.BarSeries,L.ComboLineAndBarSeries,L.RadarSeries];function va(e,r){let i=0;if(e!==r){let t=e.split("."),a=r.split(".");for(let o=0;o<t.length;o+=1){let n=Number.parseInt(t[o],10),s=Number.parseInt(a[o],10);if(n>s||Number.isNaN(s)){i=1;break}if(n<s){i=-1;break}}}return i}function sS(e){return e!==void 0?/^([1-9]\d*|0)(\.(([1-9]\d*)|0)){2}$/u.test(e):!1}function lS(e){let r=Ct.Same,i=[];if(sS(e)&&e!==void 0){Ht.sort(va);let t=va(e,Ht[Ht.length-1]);if(t===1?r=Ct.Newer:t===-1&&(r=Ct.Older),r===Ct.Newer||r===Ct.Same)i.push(e);else{for(let a=Ht.length-2;a>=0;a-=1)if(va(e,Ht[a])>=0){i=Ht.slice(a,Ht.length);break}i.length===0&&i.push(aS)}}else r=Ct.Unrecognized,i.push(oS);return{versionStatus:r,versions:i}}function pS(e){let{series:r}=e,i=("showMean"in e?e.showMean:!1)===!0?r.find(t=>t.type===L.LineSeries):r[0];return i??=r[0],i}function p$(e,r){let i=e!==null?e.toString():null,t=r!=null?r.toString():null;return t!==null&&t!==i?Re.SFS:Re.SLS}function Va(e,r){let i="";return e!==void 0&&e.includes("=")&&(i=r!==!1?yd({value:e.split("=")[0]}):e.split("=")[0].trim()),i}function Hr(e){let{where:r,normalize:i,keepSurroundingQuotes:t,escape:a}=e,o="";return r!==void 0&&r.includes("=")&&(o=r.split("=").slice(1).join("=").trim(),o==="null"?o=null:o.trim()!==""&&!Number.isNaN(Number(o))?o=Number(o):i===!1?a===!0&&(o=Yv(o)):o=yd({value:o,keepSurroundingQuotes:t,escape:a})),o}function Fr(e){let r=!1;if(e===void 0||e==="")r=!0;else if(e.includes("=")){let i=Va(e,!1),t=Hr({where:e,normalize:!1});r=i===`${t}`}return r}function d$(e){let{where:r,normalize:i,escape:t}=e,a=i===void 0?!0:i,o=Va(r),n=Hr({where:r,normalize:a,keepSurroundingQuotes:!0,escape:t}),s=r;return o!==""&&n!==""&&(s=`${o}=${n}`),s}function dS(e){let r=V.PieFromCategory;return e[0].query?.outStatistics===void 0?r=V.PieNoAggregation:e[0].query?.groupByFieldsForStatistics===void 0&&(r=V.PieFromFields),r}function cS(e){let r=V.BarAndLineMonoField,i=e[0].query?.where;return e[0].query?.groupByFieldsForStatistics===void 0&&(e[0].query?.outStatistics??[]).length>0?r=V.BarAndLineFromFields:i===void 0&&e[0].query?.outStatistics===void 0?r=V.BarAndLineNoAggregation:Fr(i)?e.length>1&&(r=V.BarAndLineMultiFields):r=e[0].query?.outStatistics===void 0?V.BarAndLineSplitByNoAggregation:V.BarAndLineSplitBy,r}function uS(e){let r=V.BoxPlotMonoField,i=e.length===1,t=e.find(s=>s.type===L.LineSeries)??e[0],{x:a}=t,o="y"in t?t.y:"",n=t.query?.where;switch(a){case Na:typeof o=="object"&&o.length>1?Fr(n)?i&&(r=V.BoxPlotMultiFields):r=V.BoxPlotMultiFieldsAndSplitBy:i?r=V.BoxPlotMonoField:Fr(n)||(r=V.BoxPlotMonoFieldAndSplitBy);break;default:i?r=V.BoxPlotMonoFieldAndCategory:Fr(n)?r=V.BoxPlotMultiFieldsAndCategory:r=V.BoxPlotMonoFieldAndCategoryAndSplitBy;break}return r}function xt(e){let r=V.NonSpecific;if(e?.[0]!==void 0)switch(Ve(e)){case L.PieSeries:r=dS(e);break;case L.RadarSeries:case L.BarSeries:case L.LineSeries:case L.ComboLineAndBarSeries:r=cS(e);break;case L.BoxPlotSeries:r=uS(e);break}return r}function c$(e){let{seriesConfig:r,xAxisValueFormatType:i,setTimeBinningInfoWhenNotProvided:t}=e,a=!1;if(fS(r)&&r.binTemporalData!==!1&&i===L.DateAxisFormat){let o=xt([r]);if(r.temporalBinning&&o!==V.BarAndLineNoAggregation&&o!==V.BarAndLineSplitByNoAggregation){let{unit:n,size:s}=r.temporalBinning;a=t===!0||s!==void 0&&s>0&&n!==void 0}}return a}function fS(e){return nS.includes(e.type)}var ye={Min:"min",FirstQuartile:"first_quartile",Median:"median",ThirdQuartile:"third_quartile",Max:"max",IQR:"iqr",Average:"avg",StandardDeviation:"stddev",Outlier:"outlier"};function hS(e){let r=e===void 0||e==="";return{[ye.Average]:`${r?"":`${e}_`}${ye.Average}`,[ye.Min]:`${r?"":`${e}_`}${ye.Min}`,[ye.Max]:`${r?"":`${e}_`}${ye.Max}`,[ye.FirstQuartile]:`${r?"":`${e}_`}${ye.FirstQuartile}`,[ye.Median]:`${r?"":`${e}_`}${ye.Median}`,[ye.ThirdQuartile]:`${r?"":`${e}_`}${ye.ThirdQuartile}`,[ye.IQR]:`${r?"":`${e}_`}${ye.IQR}`,[ye.Outlier]:`${r?"":`${e}_`}${ye.Outlier}`,[ye.StandardDeviation]:`${r?"":`${e}_`}${ye.StandardDeviation}`}}function mS(e){return e.subType===mo.FeatureGauge}function u$(e){let r;return e!==void 0&&("bins"in e?r=e.bins:"dataItems"in e&&(r=e.dataItems)),r}function yS(e){return e===V.BoxPlotMultiFields||e===V.BoxPlotMultiFieldsAndCategory||e===V.BoxPlotMultiFieldsAndSplitBy}function Gi(e){let{key:r,y:i,chartSubType:t,splitBy:a,splitByValue:o,showOutliers:n,standardizeValues:s}=e,l=o,u=hS(i)[r];return n===!0&&(r===ye.Min||r===ye.Max)&&(u=`${u}${ev}`),s===!0&&(yS(t)||r===ye.Outlier)&&(u=`${u}${tv}`),(o===void 0||`${o}`.trim()==="")&&(l=Hr({where:a,normalize:!0,escape:!1})),l!==void 0&&`${l}`.trim()!==""&&(u=`${l}${u!==""?`_${u}`:""}`),u}function Sa(e){let{dataItem:r,y:i,splitBy:t,showOutliers:a}=e,o=Gi({key:ye.FirstQuartile,y:i,splitBy:t,showOutliers:a}),n=Gi({key:ye.ThirdQuartile,y:i,splitBy:t,showOutliers:a});return Number.isFinite(r[o])||Number.isFinite(r[n])}function gS(e){let{configSeries:r,boxPlotDataItem:i,yList:t,showOutliers:a}=e,o=xt(r),n=!1;switch(o){case V.BoxPlotMonoField:case V.BoxPlotMultiFields:case V.BoxPlotMonoFieldAndCategory:n=Sa({dataItem:i,showOutliers:a});break;case V.BoxPlotMultiFieldsAndCategory:n=t.some(s=>Sa({dataItem:i,y:s,showOutliers:a}));break;case V.BoxPlotMonoFieldAndSplitBy:case V.BoxPlotMultiFieldsAndSplitBy:case V.BoxPlotMonoFieldAndCategoryAndSplitBy:n=r.some(s=>Sa({dataItem:i,splitBy:s.query?.where,showOutliers:a}));break;default:n=!1;break}return n}function gd(e){return e.map(r=>r.id).filter(r=>r!=="undefined")}function Hi(e,r){let i=[],t=r??gd(e),a=xt(e);return i=e.filter(o=>t.includes(o.id)).map(o=>{let n="y"in o?o.y:void 0;return n!==void 0&&a===V.BarAndLineSplitByNoAggregation&&(n=`${n.toString()}_${Hr({where:o.query?.where})}`),n}).filter(o=>o!==void 0),Array.from(new Set(i.flat()))}function bS(e){let{seriesConfig:r,filteredSeriesIds:i,showMean:t}=e,a=[];if(t===!0){let o=r.find(n=>n.type===L.BoxPlotSeries);o!==void 0&&"y"in o&&(a=[o.y].flat())}else a=Hi(r,i);return a}function Qt(e,r){return e===null&&r===!0||Number.isFinite(e)}function vS(e){let{dataItem:r,x:i,y:t,nullAsValid:a=!1}=e;return r[i]!==void 0&&(typeof r[i]!="number"||Number.isFinite(r[i]))&&Qt(r[t],a)}function f$(e){let{chartConfig:r,nullAsValid:i=!1,dataSet:t}=e,a=!0;if(r!==void 0){let o=Ve(r.series);if(t===void 0||t.length===0)a=!0;else{let n=Hi(r.series);a=!t.some(s=>{let l=!1;switch(o){case L.HistogramSeries:{let u=s;l=Qt(u.minValue,i)&&Qt(u.maxValue,i)}break;case L.ScatterSeries:{let u=s,{x:c,y:d}=r.series[0];l=Qt(u[c],i)&&Qt(u[d],i)}break;case L.ComboLineAndBarSeries:case L.RadarSeries:case L.LineSeries:case L.BarSeries:{let u=s,{x:c}=r.series[0];l=n.some(d=>vS({dataItem:u,x:c,y:d,nullAsValid:i}));break}case L.BoxPlotSeries:{let u=r.series,{showOutliers:c}=r;l=gS({configSeries:u,boxPlotDataItem:s,yList:n,showOutliers:c});break}case L.PieSeries:{let u=s,{x:c,y:d}=r.series[0];xt(r.series)===V.PieFromFields&&(c=ei,d=ia);let p=u[d];l=u[c]!==void 0&&u[c]!==null&&!la(p)&&Qt(Number(p),i)}break;case L.GaugeSeries:{let{x:u}=r.series[0];l=Qt(s[u],i)}break}return l})}}return a}function SS(e,r){let i=new Map,t=r??gd(e);return e.forEach(a=>{if(t.includes(a.id)&&"y"in a){let o=i.get(a.type)??[];o.push(a.y),i.set(a.type,o)}}),i}function wS(e){let{seriesConfig:r,filteredSeriesIds:i,filteredData:t}=e,a=SS(r,i),o=r.find(l=>l.type===L.LineSeries||l.type===L.RadarSeries)?.stackNegativeValuesToBaseline??!0,n=Number.MIN_SAFE_INTEGER,s=Number.MAX_SAFE_INTEGER;return t.forEach((l,u)=>{a.forEach(c=>{if(o){let d=[],p=[];for(let f=0;f<c.length;f+=1){let m=l[c[f]];m<0?p[u]=(p[u]??0)+m:d[u]=(d[u]??0)+m}d=d.filter(f=>Number.isFinite(f)).sort((f,m)=>f-m),p=p.filter(f=>Number.isFinite(f)).sort((f,m)=>f-m),n=Math.max(n,d.length>0?d[d.length-1]:p[p.length-1]),s=Math.min(s,p.length>0?p[0]:d[0])}else{let d=0;for(let p=0;p<c.length;p+=1){let f=l[c[p]];d+=f,n=Math.max(n,d),s=Math.min(s,d)}}})}),{stackedMinY:s,stackedMaxY:n}}function xS(e){let{dataItem:r,...i}=e,t=Gi({key:ye.Min,...i}),a=Gi({key:ye.Max,...i}),o=r[t],n=r[a];return{min:o,max:n}}function h$(e){let r=Number.NaN,i=Number.NaN,t,a,{chartConfig:o,chartData:n,filteredSeriesIds:s}=e,{series:l}=o;if(l?.length>0){let{x:u}=l[0],c=n.filter(d=>d[u]!==null);if([t,a]=Nr(c,d=>d[u]),o.axes?.[1]?.valueFormat.type===L.DateAxisFormat&&t!==void 0&&a!==void 0&&([t,a]=[new Date(t).valueOf(),new Date(a).valueOf()]),Ve(o.series)===L.BoxPlotSeries){r=Number.MAX_SAFE_INTEGER,i=Number.MIN_SAFE_INTEGER;let d=Hi(l,s),p=xt(l),f="standardizeValues"in o?o.standardizeValues===!0:void 0,m=o.series.map(y=>y.visible!==!1?Hr({where:y.query?.where}):"");m.length===0&&m.push(" ");for(let y=0;y<c.length;y+=1)for(let b=0;b<d.length;b+=1){let I=p===V.BoxPlotMultiFieldsAndCategory?d[b]:void 0;for(let S=0;S<m.length;S+=1){let{min:F,max:w}=xS({y:I,splitByValue:m[S],chartSubType:p,showOutliers:!1,standardizeValues:f,dataItem:c[y]});F!=null&&F<r&&(r=F),w!=null&&w>i&&(i=w)}}}else switch(Jv(o)){case _r.Stacked100:{r=Number.NaN,i=Number.NaN;break}case _r.Stacked:{let{stackedMinY:d,stackedMaxY:p}=wS({seriesConfig:l,filteredData:c,filteredSeriesIds:s});r=d,i=p;break}case _r.Side:default:{r=Number.MAX_SAFE_INTEGER,i=Number.MIN_SAFE_INTEGER;let d=Hi(l,s);for(let p=0;p<d.length;p+=1){let f=d[p],[m,y]=Nr(c,b=>b[f]);m!==void 0&&m<r&&(r=m),y!==void 0&&y>i&&(i=y)}break}}}return{minY:r,maxY:i,minX:t,maxX:a}}async function It(e=Zp().locale){let r=await import("./FXINPSUC.js");switch(e){case q.Arabic:r=await import("./5KYDIGZX.js");break;case q.Bosnian:r=await import("./AZ42MN6W.js");break;case q.Bulgarian:r=await import("./YA23EN3T.js");break;case q.Catalan:r=await import("./GUPXRDDE.js");break;case q.Czech:r=await import("./SFFDUSDE.js");break;case q.Danish:r=await import("./S7NJ6T7B.js");break;case q.German:r=await import("./7QRHEWBO.js");break;case q.Greek:r=await import("./LG5ZUBK7.js");break;case q.EnglishUSA:r=await import("./PGZZVXXX.js");break;case q.Spanish:r=await import("./6NU5OYJX.js");break;case q.Estonian:r=await import("./5DH5IBUS.js");break;case q.Finnish:r=await import("./3UWOQLQI.js");break;case q.French:r=await import("./MA5LPFDM.js");break;case q.Hebrew:r=await import("./5RAPOWPA.js");break;case q.Croatian:r=await import("./VNOU6H73.js");break;case q.Hungarian:r=await import("./KSL26OEI.js");break;case q.Indonesian:r=await import("./CTFFHX2K.js");break;case q.Italian:r=await import("./B54ZIHJZ.js");break;case q.Japanese:r=await import("./QVNCBPIG.js");break;case q.Korean:r=await import("./SB6SGERJ.js");break;case q.Lithuanian:r=await import("./N2KT5IOZ.js");break;case q.Latvian:r=await import("./46ITJCKQ.js");break;case q.NorwegianBokml:r=await import("./HKMKRTVT.js");break;case q.Dutch:r=await import("./DW4IUVAJ.js");break;case q.Polish:r=await import("./I5F7BQUM.js");break;case q.PortugueseBrazil:r=await import("./L4BACAIE.js");break;case q.PortuguesePortugal:r=await import("./SG7GCPNF.js");break;case q.Romanian:r=await import("./OQDP6VEO.js");break;case q.Russian:r=await import("./3WBLFLUB.js");break;case q.Serbian:r=await import("./M2UWPJQU.js");break;case q.Slovak:r=await import("./WCSHPL4G.js");break;case q.Slovenian:r=await import("./77EOS7K4.js");break;case q.Swedish:r=await import("./WOWIEGPX.js");break;case q.Thai:r=await import("./DUOLE5YR.js");break;case q.Turkish:r=await import("./C5TFBKHO.js");break;case q.Ukrainian:r=await import("./RKLW3RQM.js");break;case q.Vietnamese:r=await import("./LNMY4UHI.js");break;case q.ChineseChina:r=await import("./4C4Y2JZZ.js");break;case q.ChineseHongKong:r=await import("./R4ECR7WT.js");break;case q.ChineseTaiwan:r=await import("./RSB3IPO6.js");break;case q.English:}return r}var Jt=class extends Error{constructor(r,i,t){super(i),this.name=r,this.details=t}},er={Default:"defaultError",LayerLoadFailure:"layerLoadFailure",QueryFeaturesError:"queryFeaturesError",ChartDisposed:"ChartDisposeError",LayerFieldsNotFound:"layerFieldsNotFound"};function m$(e){return e!==void 0&&(!("url"in e)||!e.url)}function Ua(e){return e!==void 0&&"layer"in e}function IS(e){return e!==void 0&&"type"in e&&e.type==="feature"}function CS(e){return e!==void 0&&"type"in e&&e.type==="subtype-group"}function Ga(e){return e!==void 0&&"type"in e&&e.type==="subtype-sublayer"}function y$(e){return IS(e)||Ga(e)}function je(e){return Ga(e)?e.parent:e}function bd(e){return e.capabilities?.query?.supportsDistance||je(e).sourceJSON?.advancedQueryCapabilities?.supportsQueryWithDistance===!0}function TS(e){return e.sourceJSON?.advancedQueryCapabilities?.supportsQueryBins}function g$(e){let r=!1,i=je(qe(e)).sourceJSON;if(i){let t=i.queryBinsCapabilities?.supportsFixedIntervalBin,a=i.queryBinsCapabilities?.supportedStatisticTypes,o=[we.Maximum,we.Count].every(n=>a?.includes(n.toUpperCase())||a?.includes(n.toLowerCase()));r=t&&o}return r}function b$(e){let r;return Ua(e)?r=e.layer:r=e,r}function qe(e){let r;return Ua(e)?r=e.layer:r=e,r}function AS(e){let r=!1,i=je(e).sourceJSON?.advancedQueryCapabilities?.supportedSpatialAggregationStatistics??[],t=e.capabilities?.query.supportedSpatialAggregationStatistics??{};return r=i.includes("EnvelopeAggregate")||"envelope"in t&&t.envelope===!0,r}function v$(e){let{chartConfig:r,queryObject:i}=e,t,a=qe(i);return a&&(t={id:a.id,layerType:"ArcGISFeatureLayer"},a.url&&(t.url=a.url)),{...r,iLayer:t}}var Vr=new Map;function PS(e){let r;switch(e){case Wt.Feet:r="esriSRUnit_Foot";break;case Wt.Miles:r="esriSRUnit_StatuteMile";break;case Wt.NauticalMiles:r="esriSRUnit_NauticalMile";break;case Wt.USNauticalMiles:r="esriSRUnit_USNauticalMile";break;case Wt.Meters:r="esriSRUnit_Meter";break;case Wt.Kilometers:r="esriSRUnit_Kilometer";break}return r}async function S$(e){let{queryObject:r,queryConfig:i,outputFormat:t,dataFormat:a,outAnalytics:o}=e,{where:n,geometry:s,distance:l,units:u,timeExtent:c}=i,d,p=qe(r),f=je(p),m={query:{where:Ur([n,f.definitionExpression])}},y=Ha(s)?.extent?.toJSON();if(y!==void 0){let I=PS(u),{xmin:S,ymin:F,xmax:w,ymax:T}=y;m.query={...m.query,geometryType:"esriGeometryEnvelope",geometry:`${S},${F},${w},${T}`,distance:l,units:I,inSR:s?.spatialReference?.wkid}}c&&(m.query.time=`${c[0]},${c[1]}`);let b=`${f.url}/${f.layerId}/queryAnalytic?f=${t}&dataFormat=${a}&outAnalytics=${o}`;try{d=(await _a(b,m)).data?.features?.[0]?.attributes}catch(I){let S=await It();throw new Jt(er.QueryFeaturesError,S.queryError,I)}return d}function FS(e,r){return{lowerBoundaryAlias:`charts_lower_boundary_${e}`,upperBoundaryAlias:`charts_upper_boundary_${e}`,stackAlias:`charts_stack_alias_${r}`}}async function w$(e){let{queryObject:r,queryConfig:i,xStep:t,xMin:a,xMax:o,x:n,y:s,yStep:l,errorStrings:u}=e,c;if(r&&"queryAttributeBins"in r&&Number.isFinite(t)&&Number.isFinite(l)&&Number.isFinite(a)&&Number.isFinite(o)&&t>0&&l>0){let d=BS({queryObject:r,queryConfig:i,xStep:t,xMin:a,xMax:o,x:n,y:s,yStep:l});try{c=await r.queryAttributeBins(d)}catch(p){throw new Jt(er.QueryFeaturesError,u.errors.queryError,p)}}return c}async function x$(e){let{queryConfig:r,x:i,queryObject:t,chartSubType:a,isGaugeByFeature:o}=e,n=qe(t),s;if(t!==void 0){let l=n.objectIdField,{where:u,gdbVersion:c,timeExtent:d,geometry:p,distance:f,units:m}=r,y=jS(d),b=Ha(p),I=je(n),S=Ur([u,I.definitionExpression]),F={returnDistinctValues:!0,outFields:o===!0||a===V.PieNoAggregation||a===V.BarAndLineNoAggregation||a===V.BarAndLineSplitByNoAggregation?[l]:[i],where:S,gdbVersion:c??I.gdbVersion,timeExtent:y??I.timeExtent,geometry:b};Sd(F)&&(F.cacheHint=!0),F.geometry!==void 0&&bd(n)&&(f!==void 0&&(F.distance=f),m!==void 0&&(F.units=m));try{s=await t.queryFeatureCount(F)}catch{s=Number.NaN}}return s}async function I$(e){let{queryObject:r,queryConfig:i,abortKey:t}=e,{outStatistics:a}=i,o=new Map;if(r!==void 0&&a!==void 0&&a.length>0){let n=a.map(c=>{let{statisticType:d,onStatisticField:p,outStatisticFieldName:f}=c;return{statisticType:d,onStatisticField:p,outStatisticFieldName:f?.toUpperCase()}});i.outStatistics=n,delete i.num,delete i.orderByFields;let s=xd({queryObject:r,queryConfig:i}),l;try{l=await r.queryFeatures(s,{signal:t!==void 0?Vr.get(t)?.signal:void 0})}catch(c){if(!Ma.isAbortError(c)){let d=await It();throw new Jt(er.QueryFeaturesError,d.queryError,c)}}let u=l?.features?.[0]?.attributes;u!==void 0&&a.forEach(c=>{let{outStatisticFieldName:d}=c;if(d!==void 0){let p=u[d.toLowerCase()]??u[d.toUpperCase()]??u[d];p!==void 0&&o.set(d,p)}})}return o}async function vd(e){let{queryObject:r,queryConfig:i,returnUniqueIdsOnly:t,abortKey:a}=e,o=[],n=qe(r);if(r!==void 0){let s=qS(n),l=xd({queryObject:r,queryConfig:i,maxRecordCountFactor:s});try{t===!0?"queryObjectIds"in r?o=await r.queryObjectIds(l):(l.outFields=[n.objectIdField],o=(await r.queryFeatures(l,{signal:a!==void 0?Vr.get(a)?.signal:void 0})).features.map(u=>u.attributes[n.objectIdField])):o=(await r.queryFeatures(l,{signal:a!==void 0?Vr.get(a)?.signal:void 0})).features}catch(u){if(!Ma.isAbortError(u)){let c=await It();throw new Jt(er.QueryFeaturesError,c.queryError,u)}}}return o}async function OS(e){let r=[],{featureCount:i,maxRecords:t,queryConfig:a}=e,o=[],n=0,s=a?.start??0;for(;n<Kt.maxParallelRequests&&s<i;){let l={...e};l.queryConfig={...a,start:s,num:Math.min(t,i-s)},r.push(vd(l)),s+=t,n+=1}return o=(await Promise.all(r)).flat(),o}async function ES(e){let{queryObject:r,queryConfig:i,returnUniqueIdsOnly:t,featureCount:a,noBatch:o,abortKey:n}=e,s=[],l=qe(r);if(r!==void 0){let u=a??1,c=wd(l);if(o!==!0&&u>c&&l.capabilities?.query.supportsPagination){let d=0,p=0,f=Math.ceil(u/c),m=Math.ceil(f/Kt.maxParallelRequests),y=[];for(;p<m;){d=p*Kt.maxParallelRequests*c;let b=OS({queryConfig:{...i,start:d},queryObject:r,maxRecords:c,featureCount:u,returnUniqueIdsOnly:t,abortKey:n});y.push(b),p+=1}s=(await Promise.all(y)).flat()}else(Number.isNaN(u)||u>=0)&&(s=await vd({queryObject:r,queryConfig:i,returnUniqueIdsOnly:t,abortKey:n}))}return s}async function C$(e){let{queryObject:r,queryConfig:i,uniqueFeature:t,abortKey:a}=e,o={...i,returnDistinctValues:!0};return await ES({queryObject:r,abortKey:a,queryConfig:o,returnUniqueIdsOnly:!0,featureCount:t===!0?1:void 0})}function T$(e){if(e!==void 0){let r=Vr.get(e);r!==void 0&&r.abort(),Vr.set(e,new AbortController)}}function LS(e){return{lowerBoundaryAlias:`charts_lower_boundary_${e}`,upperBoundaryAlias:`charts_upper_boundary_${e}`}}async function A$(e){let{queryObject:r,dateField:i,splitByField:t,queryConfig:a,temporalBinning:o}=e,n=[];if(o){let{unit:s}=o;try{if(s){let l=je(qe(r));if(TS(l)&&r&&"queryAttributeBins"in r){let u=kS({queryObject:r,queryConfig:a,temporalBinning:o,dateField:i,splitByField:t});n=(await r.queryAttributeBins(u)).features}}}catch(l){let u=await It();throw new Jt(er.QueryFeaturesError,u.queryError,l)}}return n}function Sd(e){let r=!e.geometry||e.geometry.type==="extent",i=(e.where??"").toUpperCase(),t=!i.includes("CURRENT_TIMESTAMP")&&!i.includes("CURRENT_DATE")&&!i.includes("CURRENT_TIME");return r&&t}function wd(e){let r=je(e)?.sourceJSON,i=r?.maxRecordCount??Kt.maxRecords;return r?.advancedQueryCapabilities?.supportsMaxRecordCountFactor&&r?.maxRecordCount!==void 0&&(i=r.maxRecordCount*Kt.maxRecordCountFactor),i}function Ur(e,r){let i,t=Array.from(new Set(e)).filter(a=>a!=null&&a!==""&&!Fr(a));return t.sort((a,o)=>o.length-a.length),t.length===1?[i]=t:t?.forEach(a=>{a!==void 0&&(wt(i)?i=`(${a})`:i?.includes(`(${a})`)||(i=`${i} ${r??"AND"} (${a})`))}),i??"1=1"}function DS(e,r){let i=r;if(e!==void 0){let t=qe(e),a=je(t).timeExtent;a?.start!=null&&a?.end!=null&&(i=[a.start.valueOf(),a.end.valueOf()])}return i}function $S(e){let{queryObject:r,defaultGeometry:i,ignoreViewExtent:t}=e,a=i;if(!t&&Ua(r)){let o=r.view.extent,{xmin:n,xmax:s,ymin:l,ymax:u,zmin:c,zmax:d,spatialReference:p}=o;a={xmin:n,ymin:l,zmin:c,xmax:s,ymax:u,zmax:d,spatialReference:p}}return a}function jS(e){let r;return e!==void 0&&(r=new Jp({start:new Date(e[0]),end:new Date(e[1])})),r}function Ha(e){let r;return e!==void 0&&(r=qa.fromJSON(e)),r}function _S(e){return e===void 0?["*"]:Array.from(new Set(e))}function Qa(e){let{queryObject:r,queryConfig:i,queryType:t}=e,{where:a,outStatistics:o,geometry:n,distance:s,units:l,timeExtent:u,returnDistinctValues:c}=i??{},d=t==="Query"?new Pb({}):new Ab({}),p=qe(r),f=je(p),m=[a,f.definitionExpression];if(d.where=Ur(m),d.returnDistinctValues=c??!1,o!==void 0){let I=AS(p);d.outStatistics=o.filter(S=>S.statisticType!==we.EnvelopeAggregate||I).map(S=>Fb.fromJSON(S))}let y=Ha(n);y!==void 0&&(d.geometry=y,i?.spatialRelationship&&(d.spatialRelationship=i.spatialRelationship),bd(p)&&(s!==void 0&&(d.distance=s),l!==void 0&&(d.units=l)));let b;return u&&(b=new Jp({start:u?.[0],end:u?.[1]})),b!==void 0?d.timeExtent=b:f.timeExtent!==void 0&&(d.timeExtent=f.timeExtent),Sd(d)&&(d.cacheHint=!0),d}function RS(e){let r;switch(e){case ir.Start:r="first";break;case ir.End:r="last";break}return r}function kS(e){let{queryObject:r,queryConfig:i,temporalBinning:t,dateField:a,splitByField:o}=e,n=Qa({queryObject:r,queryConfig:i,queryType:"AttributeBinsQuery"}),{type:s,unit:l,size:u,trimIncompleteTimeInterval:c,timeAggregationType:d}=t,{start:p,end:f,offset:m,outTimeZone:y}=s===ea.CalendarBased?t:{},b=LS(a);if(n.lowerBoundaryAlias=b.lowerBoundaryAlias,n.upperBoundaryAlias=b.upperBoundaryAlias,n.outTimeZone=y??Intl.DateTimeFormat().resolvedOptions().timeZone,n.binParameters={type:"date",field:a,interval:{unit:l,value:u},returnFullIntervalBin:c===!1,snapToData:RS(d),start:p,end:f,offset:m?{unit:m.unit,value:m.size}:null},!wt(o)){let I=qe(r),S=je(I).fields.find(F=>F.name===o)?.type;(!S||S==="string"||S==="integer"||S==="double")&&(n.binParameters.stackBy={type:"field",value:o,valueType:S==="string"?"string":"integer"})}return n}function BS(e){let{queryObject:r,queryConfig:i,xStep:t,xMin:a,xMax:o,x:n,y:s,yStep:l}=e,u=Qa({queryObject:r,queryConfig:i,queryType:"AttributeBinsQuery"}),c=FS(n,s);return u.lowerBoundaryAlias=c.lowerBoundaryAlias,u.upperBoundaryAlias=c.upperBoundaryAlias,u.binParameters={type:"fixed-interval",field:n,interval:t,start:a,end:o,stackBy:{value:`FLOOR(${s} / ${l})`,type:"expression",alias:c.stackAlias,valueType:"integer"}},u}function xd(e){let{queryObject:r,queryConfig:i,maxRecordCountFactor:t}=e,{groupByFieldsForStatistics:a,orderByFields:o,gdbVersion:n,start:s,num:l,outFields:u}=i??{},c=Qa({queryObject:r,queryConfig:i,queryType:"Query"});c.returnGeometry=!1;let d=qe(r),p=je(d);return c.outFields=_S(u),c.groupByFieldsForStatistics=a??c.groupByFieldsForStatistics,c.orderByFields=o??[],c.objectIds=i?.objectIds,t!==void 0&&(c.maxRecordCountFactor=t),n!==void 0&&n!==""?c.gdbVersion=n:p.gdbVersion!==void 0&&p.gdbVersion!==""&&(c.gdbVersion=p.gdbVersion),l!==void 0&&(c.num=l),s!==void 0&&(c.start=s,c.num=c.num??wd(d)),c}function qS(e){return je(e)?.sourceJSON?.advancedQueryCapabilities?.supportsMaxRecordCountFactor===!0?Kt.maxRecordCountFactor:void 0}function P$(e){let r,i,t;return e!==void 0&&(r=e.type,(r===Yr.UniqueValue||r===Yr.ClassBreaks)&&(i=e.field??void 0,r===Yr.ClassBreaks&&(t=e.normalizationField??void 0))),{rendererType:r,rendererField:i,rendererNormalizationField:t}}var MS=(0,Kp.default)(async e=>{let r=e.featureCollection,i,t;if(r?.layers?.[0]!==void 0){let n=r.layers[0];i=n.featureSet,t=n.layerDefinition}else t=e.layerDefinition;let a={};if(i!==void 0){if(a.source=Ib.fromJSON(i).features,t?.fields!==void 0&&(a.fields=t.fields.map(n=>xb.fromJSON(n))),t?.objectIdField!==void 0&&(a.objectIdField=t.objectIdField),t?.geometryType!==void 0){let n=qa.fromJSON({geometryType:t.geometryType});n?.type!==void 0&&n?.type!=="extent"&&(a.geometryType=n.type)}t?.spatialReference!==void 0&&(a.spatialReference=t.spatialReference)}else a.id=e.id,t?.id!==void 0&&(a.layerId=t.id),e.url!==void 0&&(a.url=e.url),e.itemId!==void 0&&t?.id!==void 0&&(a.portalItem={id:e.itemId});if(t!==void 0){let n=t.drawingInfo;n?.renderer!==void 0&&(a.renderer=Qp.fromJSON(n.renderer))}let o=new Cb(a);return await o.load(),o});async function F$(e){let{layer:r,view:i,chartConfig:t}=e,a;if(r!==void 0){let o=qe(r),n=je(o);if(i!==void 0&&!n.isTable){n.outFields=["*"];let s=u=>"highlight"in u,l=await i.whenLayerView(n);s(l)&&(a=l)}else a=r}else"iLayer"in t&&t.iLayer&&(a=await MS(t.iLayer));return a}async function Ka(e,r){let i=qe(e),t=[];if(i!==void 0){await i.load();let a=r===!0&&i?.popupTemplate?.fieldInfos!==void 0;t=i.fields.map(o=>{let n=o.toJSON();if(a){let s=i.popupTemplate?.fieldInfos?.find(l=>l.fieldName?.toLowerCase()===o.name.toLowerCase())?.label;s!==void 0&&s!==o.name&&(n.alias=s)}return n})}return t}function Ja(e,r=[]){return r.find(i=>i.name===e)}function O$(e){return e.find(r=>r.type===ke.OID)?.name??""}function Id(e){return[ke.Single,ke.Double,ke.SmallInteger,ke.Integer,ke.BigInteger].includes(e.type)}function E$(e){return e.type===ke.Date}function L$(e){return[ke.SmallInteger,ke.Integer,ke.BigInteger].includes(e.type)}function D$(e){return e.filter(r=>r.type===ke.Date||r.type===ke.DateOnly||r.type===ke.TimestampOffset).map(r=>r.name)}function $$(e){return e.filter(r=>Id(r)).map(r=>r.name)}function NS(e){let{subtypeInfo:r,fieldName:i,fieldValueToMatch:t}=e,a,o=n=>`${n.id}`==`${t}`;return r?.subtypeField===i&&r.subtypes?a=r.subtypes.find(o)?.name:r?.typeIdField===i&&r.types&&(a=r.types.find(o)?.name),a}function Il(e,r){let i=[],t=CS(e)?e.subtypes:e[r];return t?.[0]!==void 0&&t.forEach(a=>{let{name:o,domains:n}=a,s="id"in a?a.id:void 0;!s&&"code"in a&&(s=a.code);let l=Object.entries(n??{}),u=[],c=l?.filter(([d,p])=>p?.type==="coded-value")?.map(([d,p])=>{let f={fieldName:d,name:o,codedValues:u};if(p&&"codedValues"in p){let m=p.codedValues.map(({code:y,name:b})=>({name:b,code:y}));f={fieldName:d,name:p.name,codedValues:m}}return f});i.push({id:s??"",name:o,domains:c})}),i.length===0?void 0:i}function j$(e){let r;if(e!==void 0){let i=qe(e);if(!Ga(i)&&!wt(i?.typeIdField)){let t=Il(i,"types");t!==void 0&&(r={typeIdField:i.typeIdField??void 0,types:t})}if(!wt(i?.subtypeField)){let t=je(i),a=Il(t,"subtypes");a!==void 0&&(r={...r,subtypeField:t.subtypeField??void 0,subtypes:a})}}return r}function _$(e){let{fieldName:r,fieldValueToMatch:i,subtypeInfo:t,fieldList:a}=e,o;if((typeof i!="string"||!wt(i))&&!wt(r)&&(o=NS({subtypeInfo:t,fieldName:r,fieldValueToMatch:i}),o===void 0)){let n=Ja(r,a);if(t?.types!==void 0){let s=t?.types;for(let l of s){let u=l.domains?.filter(c=>c.fieldName===n?.name)??[];for(let c of u)if(o=c?.codedValues?.find(d=>`${d.code}`===i)?.name,o!==void 0)break;if(o!==void 0)break}}o===void 0&&n?.domain!==void 0&&n.domain.type==="codedValue"&&(o=n.domain.codedValues?.find(s=>`${s.code}`==`${i}`)?.name)}return o}async function R$(e){let r=[];return!je(e).isTable&&e.fieldsIndex&&(r=await Hp.getRendererFields(e.renderer,e.fieldsIndex)),r}function WS(e){let r="/rest/services",i=e.toLowerCase(),t=i.indexOf(r);return i=t>-1?e.substring(0,t):e,`${i}/rest/info`}async function k$(e){let r=!0,i=".arcgis.com/",t=e.url,a=t?.includes(i);if(t&&a&&je(e).sourceJSON.serviceItemId!==void 0){let o=WS(t);try{let n=(await _a(o,{query:{f:"json"}})).data;if(n.owningTenant!==void 0&&n.owningSystemUrl!==void 0){let s=`${n.owningSystemUrl}/sharing/rest/portals/${n.owningTenant}`,l=(await _a(s,{authMode:"auto",query:{f:"json"}})).data,u=new Tb({sourceJSON:l});await u.load(),r=u?.sourceJSON?.subscriptionInfo?.dataStoreLevel===void 0}}catch{}}return r}async function zS(e){let{queryObject:r,fieldToMatch:i,returnUndefinedIfNotFound:t}=e,a=await Ka(r),o=a.find(s=>i===s.name);o||(o=a.find(s=>i.toUpperCase()===s.name.toUpperCase()));let n=t?"":i;return o?.name??n}async function B$(e){let{fieldsList:r,queryObject:i,returnUndefinedIfNotFound:t}=e,a=r;return a!==void 0&&(a=await Promise.all(a.map(async o=>await zS({queryObject:i,fieldToMatch:o,returnUndefinedIfNotFound:t})))),a}function q$(e){let{queryObject:r,chartConfig:i,runtimeDataFilters:t,ignoreViewExtent:a}=e,{series:o,dataFilters:n}=i,{where:s,gdbVersion:l,timeExtent:u,geometry:c,distance:d,units:p,objectIds:f,spatialRelationship:m}=n??{},{where:y,gdbVersion:b,timeExtent:I,geometry:S,distance:F,units:w,objectIds:T,spatialRelationship:E}=t??{},P=o[0],{query:O}=P,{where:j}=O??{},x=xt(o),C={...O};return C.where=Ur([s,y]),x!==V.BarAndLineSplitBy&&x!==V.BoxPlotMonoFieldAndSplitBy&&x!==V.BoxPlotMonoFieldAndCategoryAndSplitBy&&x!==V.BoxPlotMultiFieldsAndSplitBy&&x!==V.BarAndLineSplitByNoAggregation&&(C.where=Ur([C.where,j])),i.orderOptions?.orderByFields!==void 0&&(C.orderByFields=i.orderOptions.orderByFields),C.gdbVersion=b??l,C.timeExtent=DS(r,I??u),C.geometry=$S({queryObject:r,defaultGeometry:S??c,ignoreViewExtent:a}),C.distance=F??d,C.units=w??p,C.objectIds=T??f,C.spatialRelationship=E??m,O?.outStatistics?.[0]?.statisticType===we.Count&&(C.returnDistinctValues=O?.returnDistinctValues??!1),C}function VS(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var zi={exports:{}};var US=zi.exports,Cl;function GS(){return Cl||(Cl=1,function(e,r){(function(i,t){t(r)})(US,function(i){function t(){for(var h=arguments.length,g=Array(h),v=0;v<h;v++)g[v]=arguments[v];if(g.length>1){g[0]=g[0].slice(0,-1);for(var D=g.length-1,$=1;$<D;++$)g[$]=g[$].slice(1,-1);return g[D]=g[D].slice(1),g.join("")}else return g[0]}function a(h){return"(?:"+h+")"}function o(h){return h===void 0?"undefined":h===null?"null":Object.prototype.toString.call(h).split(" ").pop().split("]").shift().toLowerCase()}function n(h){return h.toUpperCase()}function s(h){return h!=null?h instanceof Array?h:typeof h.length!="number"||h.split||h.setInterval||h.call?[h]:Array.prototype.slice.call(h):[]}function l(h,g){var v=h;if(g)for(var D in g)v[D]=g[D];return v}function u(h){var g="[A-Za-z]",v="[0-9]",D=t(v,"[A-Fa-f]"),$=a(a("%[EFef]"+D+"%"+D+D+"%"+D+D)+"|"+a("%[89A-Fa-f]"+D+"%"+D+D)+"|"+a("%"+D+D)),G="[\\:\\/\\?\\#\\[\\]\\@]",U="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",oe=t(G,U),Fe=h?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",de=h?"[\\uE000-\\uF8FF]":"[]",re=t(g,v,"[\\-\\.\\_\\~]",Fe);a(g+t(g,v,"[\\+\\-\\.]")+"*"),a(a($+"|"+t(re,U,"[\\:]"))+"*");var he=a(a("25[0-5]")+"|"+a("2[0-4]"+v)+"|"+a("1"+v+v)+"|"+a("0?[1-9]"+v)+"|0?0?"+v),Ae=a(he+"\\."+he+"\\."+he+"\\."+he),ee=a(D+"{1,4}"),Oe=a(a(ee+"\\:"+ee)+"|"+Ae),ce=a(a(ee+"\\:")+"{6}"+Oe),Ue=a("\\:\\:"+a(ee+"\\:")+"{5}"+Oe),rr=a(a(ee)+"?\\:\\:"+a(ee+"\\:")+"{4}"+Oe),Xe=a(a(a(ee+"\\:")+"{0,1}"+ee)+"?\\:\\:"+a(ee+"\\:")+"{3}"+Oe),mt=a(a(a(ee+"\\:")+"{0,2}"+ee)+"?\\:\\:"+a(ee+"\\:")+"{2}"+Oe),qt=a(a(a(ee+"\\:")+"{0,3}"+ee)+"?\\:\\:"+ee+"\\:"+Oe),Mt=a(a(a(ee+"\\:")+"{0,4}"+ee)+"?\\:\\:"+Oe),Ge=a(a(a(ee+"\\:")+"{0,5}"+ee)+"?\\:\\:"+ee),yt=a(a(a(ee+"\\:")+"{0,6}"+ee)+"?\\:\\:"),Nt=a([ce,Ue,rr,Xe,mt,qt,Mt,Ge,yt].join("|")),st=a(a(re+"|"+$)+"+");a("[vV]"+D+"+\\."+t(re,U,"[\\:]")+"+"),a(a($+"|"+t(re,U))+"*");var Qr=a($+"|"+t(re,U,"[\\:\\@]"));return a(a($+"|"+t(re,U,"[\\@]"))+"+"),a(a(Qr+"|"+t("[\\/\\?]",de))+"*"),{NOT_SCHEME:new RegExp(t("[^]",g,v,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",re,U),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",re,U),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",re,U),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",re,U),"g"),NOT_QUERY:new RegExp(t("[^\\%]",re,U,"[\\:\\@\\/\\?]",de),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",re,U,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",re,U),"g"),UNRESERVED:new RegExp(re,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",re,oe),"g"),PCT_ENCODED:new RegExp($,"g"),IPV4ADDRESS:new RegExp("^("+Ae+")$"),IPV6ADDRESS:new RegExp("^\\[?("+Nt+")"+a(a("\\%25|\\%(?!"+D+"{2})")+"("+st+")")+"?\\]?$")}}var c=u(!1),d=u(!0),p=function(){function h(g,v){var D=[],$=!0,G=!1,U=void 0;try{for(var oe=g[Symbol.iterator](),Fe;!($=(Fe=oe.next()).done)&&(D.push(Fe.value),!(v&&D.length===v));$=!0);}catch(de){G=!0,U=de}finally{try{!$&&oe.return&&oe.return()}finally{if(G)throw U}}return D}return function(g,v){if(Array.isArray(g))return g;if(Symbol.iterator in Object(g))return h(g,v);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),f=function(h){if(Array.isArray(h)){for(var g=0,v=Array(h.length);g<h.length;g++)v[g]=h[g];return v}else return Array.from(h)},m=2147483647,y=36,b=1,I=26,S=38,F=700,w=72,T=128,E="-",P=/^xn--/,O=/[^\0-\x7E]/,j=/[\x2E\u3002\uFF0E\uFF61]/g,x={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},C=y-b,k=Math.floor,B=String.fromCharCode;function M(h){throw new RangeError(x[h])}function J(h,g){for(var v=[],D=h.length;D--;)v[D]=g(h[D]);return v}function Z(h,g){var v=h.split("@"),D="";v.length>1&&(D=v[0]+"@",h=v[1]),h=h.replace(j,".");var $=h.split("."),G=J($,g).join(".");return D+G}function K(h){for(var g=[],v=0,D=h.length;v<D;){var $=h.charCodeAt(v++);if($>=55296&&$<=56319&&v<D){var G=h.charCodeAt(v++);(G&64512)==56320?g.push((($&1023)<<10)+(G&1023)+65536):(g.push($),v--)}else g.push($)}return g}var X=function(h){return String.fromCodePoint.apply(String,f(h))},Q=function(h){return h-48<10?h-22:h-65<26?h-65:h-97<26?h-97:y},fe=function(h,g){return h+22+75*(h<26)-((g!=0)<<5)},$e=function(h,g,v){var D=0;for(h=v?k(h/F):h>>1,h+=k(h/g);h>C*I>>1;D+=y)h=k(h/C);return k(D+(C+1)*h/(h+S))},Ee=function(h){var g=[],v=h.length,D=0,$=T,G=w,U=h.lastIndexOf(E);U<0&&(U=0);for(var oe=0;oe<U;++oe)h.charCodeAt(oe)>=128&&M("not-basic"),g.push(h.charCodeAt(oe));for(var Fe=U>0?U+1:0;Fe<v;){for(var de=D,re=1,he=y;;he+=y){Fe>=v&&M("invalid-input");var Ae=Q(h.charCodeAt(Fe++));(Ae>=y||Ae>k((m-D)/re))&&M("overflow"),D+=Ae*re;var ee=he<=G?b:he>=G+I?I:he-G;if(Ae<ee)break;var Oe=y-ee;re>k(m/Oe)&&M("overflow"),re*=Oe}var ce=g.length+1;G=$e(D-de,ce,de==0),k(D/ce)>m-$&&M("overflow"),$+=k(D/ce),D%=ce,g.splice(D++,0,$)}return String.fromCodePoint.apply(String,g)},Ie=function(h){var g=[];h=K(h);var v=h.length,D=T,$=0,G=w,U=!0,oe=!1,Fe=void 0;try{for(var de=h[Symbol.iterator](),re;!(U=(re=de.next()).done);U=!0){var he=re.value;he<128&&g.push(B(he))}}catch(jr){oe=!0,Fe=jr}finally{try{!U&&de.return&&de.return()}finally{if(oe)throw Fe}}var Ae=g.length,ee=Ae;for(Ae&&g.push(E);ee<v;){var Oe=m,ce=!0,Ue=!1,rr=void 0;try{for(var Xe=h[Symbol.iterator](),mt;!(ce=(mt=Xe.next()).done);ce=!0){var qt=mt.value;qt>=D&&qt<Oe&&(Oe=qt)}}catch(jr){Ue=!0,rr=jr}finally{try{!ce&&Xe.return&&Xe.return()}finally{if(Ue)throw rr}}var Mt=ee+1;Oe-D>k((m-$)/Mt)&&M("overflow"),$+=(Oe-D)*Mt,D=Oe;var Ge=!0,yt=!1,Nt=void 0;try{for(var st=h[Symbol.iterator](),Qr;!(Ge=(Qr=st.next()).done);Ge=!0){var lo=Qr.value;if(lo<D&&++$>m&&M("overflow"),lo==D){for(var Kr=$,Jr=y;;Jr+=y){var Zr=Jr<=G?b:Jr>=G+I?I:Jr-G;if(Kr<Zr)break;var po=Kr-Zr,co=y-Zr;g.push(B(fe(Zr+po%co,0))),Kr=k(po/co)}g.push(B(fe(Kr,0))),G=$e($,Mt,ee==Ae),$=0,++ee}}}catch(jr){yt=!0,Nt=jr}finally{try{!Ge&&st.return&&st.return()}finally{if(yt)throw Nt}}++$,++D}return g.join("")},ot=function(h){return Z(h,function(g){return P.test(g)?Ee(g.slice(4).toLowerCase()):g})},We=function(h){return Z(h,function(g){return O.test(g)?"xn--"+Ie(g):g})},A={version:"2.1.0",ucs2:{decode:K,encode:X},decode:Ee,encode:Ie,toASCII:We,toUnicode:ot},_={};function N(h){var g=h.charCodeAt(0),v=void 0;return g<16?v="%0"+g.toString(16).toUpperCase():g<128?v="%"+g.toString(16).toUpperCase():g<2048?v="%"+(g>>6|192).toString(16).toUpperCase()+"%"+(g&63|128).toString(16).toUpperCase():v="%"+(g>>12|224).toString(16).toUpperCase()+"%"+(g>>6&63|128).toString(16).toUpperCase()+"%"+(g&63|128).toString(16).toUpperCase(),v}function z(h){for(var g="",v=0,D=h.length;v<D;){var $=parseInt(h.substr(v+1,2),16);if($<128)g+=String.fromCharCode($),v+=3;else if($>=194&&$<224){if(D-v>=6){var G=parseInt(h.substr(v+4,2),16);g+=String.fromCharCode(($&31)<<6|G&63)}else g+=h.substr(v,6);v+=6}else if($>=224){if(D-v>=9){var U=parseInt(h.substr(v+4,2),16),oe=parseInt(h.substr(v+7,2),16);g+=String.fromCharCode(($&15)<<12|(U&63)<<6|oe&63)}else g+=h.substr(v,9);v+=9}else g+=h.substr(v,3),v+=3}return g}function R(h,g){function v(D){var $=z(D);return $.match(g.UNRESERVED)?$:D}return h.scheme&&(h.scheme=String(h.scheme).replace(g.PCT_ENCODED,v).toLowerCase().replace(g.NOT_SCHEME,"")),h.userinfo!==void 0&&(h.userinfo=String(h.userinfo).replace(g.PCT_ENCODED,v).replace(g.NOT_USERINFO,N).replace(g.PCT_ENCODED,n)),h.host!==void 0&&(h.host=String(h.host).replace(g.PCT_ENCODED,v).toLowerCase().replace(g.NOT_HOST,N).replace(g.PCT_ENCODED,n)),h.path!==void 0&&(h.path=String(h.path).replace(g.PCT_ENCODED,v).replace(h.scheme?g.NOT_PATH:g.NOT_PATH_NOSCHEME,N).replace(g.PCT_ENCODED,n)),h.query!==void 0&&(h.query=String(h.query).replace(g.PCT_ENCODED,v).replace(g.NOT_QUERY,N).replace(g.PCT_ENCODED,n)),h.fragment!==void 0&&(h.fragment=String(h.fragment).replace(g.PCT_ENCODED,v).replace(g.NOT_FRAGMENT,N).replace(g.PCT_ENCODED,n)),h}function W(h){return h.replace(/^0*(.*)/,"$1")||"0"}function H(h,g){var v=h.match(g.IPV4ADDRESS)||[],D=p(v,2),$=D[1];return $?$.split(".").map(W).join("."):h}function Y(h,g){var v=h.match(g.IPV6ADDRESS)||[],D=p(v,3),$=D[1],G=D[2];if($){for(var U=$.toLowerCase().split("::").reverse(),oe=p(U,2),Fe=oe[0],de=oe[1],re=de?de.split(":").map(W):[],he=Fe.split(":").map(W),Ae=g.IPV4ADDRESS.test(he[he.length-1]),ee=Ae?7:8,Oe=he.length-ee,ce=Array(ee),Ue=0;Ue<ee;++Ue)ce[Ue]=re[Ue]||he[Oe+Ue]||"";Ae&&(ce[ee-1]=H(ce[ee-1],g));var rr=ce.reduce(function(Ge,yt,Nt){if(!yt||yt==="0"){var st=Ge[Ge.length-1];st&&st.index+st.length===Nt?st.length++:Ge.push({index:Nt,length:1})}return Ge},[]),Xe=rr.sort(function(Ge,yt){return yt.length-Ge.length})[0],mt=void 0;if(Xe&&Xe.length>1){var qt=ce.slice(0,Xe.index),Mt=ce.slice(Xe.index+Xe.length);mt=qt.join(":")+"::"+Mt.join(":")}else mt=ce.join(":");return G&&(mt+="%"+G),mt}else return h}var ge=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,be="".match(/(){0}/)[1]===void 0;function ne(h){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v={},D=g.iri!==!1?d:c;g.reference==="suffix"&&(h=(g.scheme?g.scheme+":":"")+"//"+h);var $=h.match(ge);if($){be?(v.scheme=$[1],v.userinfo=$[3],v.host=$[4],v.port=parseInt($[5],10),v.path=$[6]||"",v.query=$[7],v.fragment=$[8],isNaN(v.port)&&(v.port=$[5])):(v.scheme=$[1]||void 0,v.userinfo=h.indexOf("@")!==-1?$[3]:void 0,v.host=h.indexOf("//")!==-1?$[4]:void 0,v.port=parseInt($[5],10),v.path=$[6]||"",v.query=h.indexOf("?")!==-1?$[7]:void 0,v.fragment=h.indexOf("#")!==-1?$[8]:void 0,isNaN(v.port)&&(v.port=h.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?$[4]:void 0)),v.host&&(v.host=Y(H(v.host,D),D)),v.scheme===void 0&&v.userinfo===void 0&&v.host===void 0&&v.port===void 0&&!v.path&&v.query===void 0?v.reference="same-document":v.scheme===void 0?v.reference="relative":v.fragment===void 0?v.reference="absolute":v.reference="uri",g.reference&&g.reference!=="suffix"&&g.reference!==v.reference&&(v.error=v.error||"URI is not a "+g.reference+" reference.");var G=_[(g.scheme||v.scheme||"").toLowerCase()];if(!g.unicodeSupport&&(!G||!G.unicodeSupport)){if(v.host&&(g.domainHost||G&&G.domainHost))try{v.host=A.toASCII(v.host.replace(D.PCT_ENCODED,z).toLowerCase())}catch(U){v.error=v.error||"Host's domain name can not be converted to ASCII via punycode: "+U}R(v,c)}else R(v,D);G&&G.parse&&G.parse(v,g)}else v.error=v.error||"URI can not be parsed.";return v}function ae(h,g){var v=g.iri!==!1?d:c,D=[];return h.userinfo!==void 0&&(D.push(h.userinfo),D.push("@")),h.host!==void 0&&D.push(Y(H(String(h.host),v),v).replace(v.IPV6ADDRESS,function($,G,U){return"["+G+(U?"%25"+U:"")+"]"})),(typeof h.port=="number"||typeof h.port=="string")&&(D.push(":"),D.push(String(h.port))),D.length?D.join(""):void 0}var le=/^\.\.?\//,ze=/^\/\.(\/|$)/,ft=/^\/\.\.(\/|$)/,ve=/^\/?(?:.|\n)*?(?=\/|$)/;function Le(h){for(var g=[];h.length;)if(h.match(le))h=h.replace(le,"");else if(h.match(ze))h=h.replace(ze,"/");else if(h.match(ft))h=h.replace(ft,"/"),g.pop();else if(h==="."||h==="..")h="";else{var v=h.match(ve);if(v){var D=v[0];h=h.slice(D.length),g.push(D)}else throw new Error("Unexpected dot segment condition")}return g.join("")}function Se(h){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=g.iri?d:c,D=[],$=_[(g.scheme||h.scheme||"").toLowerCase()];if($&&$.serialize&&$.serialize(h,g),h.host&&!v.IPV6ADDRESS.test(h.host)&&(g.domainHost||$&&$.domainHost))try{h.host=g.iri?A.toUnicode(h.host):A.toASCII(h.host.replace(v.PCT_ENCODED,z).toLowerCase())}catch(oe){h.error=h.error||"Host's domain name can not be converted to "+(g.iri?"Unicode":"ASCII")+" via punycode: "+oe}R(h,v),g.reference!=="suffix"&&h.scheme&&(D.push(h.scheme),D.push(":"));var G=ae(h,g);if(G!==void 0&&(g.reference!=="suffix"&&D.push("//"),D.push(G),h.path&&h.path.charAt(0)!=="/"&&D.push("/")),h.path!==void 0){var U=h.path;!g.absolutePath&&(!$||!$.absolutePath)&&(U=Le(U)),G===void 0&&(U=U.replace(/^\/\//,"/%2F")),D.push(U)}return h.query!==void 0&&(D.push("?"),D.push(h.query)),h.fragment!==void 0&&(D.push("#"),D.push(h.fragment)),D.join("")}function Lr(h,g){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},D=arguments[3],$={};return D||(h=ne(Se(h,v),v),g=ne(Se(g,v),v)),v=v||{},!v.tolerant&&g.scheme?($.scheme=g.scheme,$.userinfo=g.userinfo,$.host=g.host,$.port=g.port,$.path=Le(g.path||""),$.query=g.query):(g.userinfo!==void 0||g.host!==void 0||g.port!==void 0?($.userinfo=g.userinfo,$.host=g.host,$.port=g.port,$.path=Le(g.path||""),$.query=g.query):(g.path?(g.path.charAt(0)==="/"?$.path=Le(g.path):((h.userinfo!==void 0||h.host!==void 0||h.port!==void 0)&&!h.path?$.path="/"+g.path:h.path?$.path=h.path.slice(0,h.path.lastIndexOf("/")+1)+g.path:$.path=g.path,$.path=Le($.path)),$.query=g.query):($.path=h.path,g.query!==void 0?$.query=g.query:$.query=h.query),$.userinfo=h.userinfo,$.host=h.host,$.port=h.port),$.scheme=h.scheme),$.fragment=g.fragment,$}function Ji(h,g,v){var D=l({scheme:"null"},v);return Se(Lr(ne(h,D),ne(g,D),D,!0),D)}function Zi(h,g){return typeof h=="string"?h=Se(ne(h,g),g):o(h)==="object"&&(h=ne(Se(h,g),g)),h}function Od(h,g,v){return typeof h=="string"?h=Se(ne(h,v),v):o(h)==="object"&&(h=Se(h,v)),typeof g=="string"?g=Se(ne(g,v),v):o(g)==="object"&&(g=Se(g,v)),h===g}function Ed(h,g){return h&&h.toString().replace(!g||!g.iri?c.ESCAPE:d.ESCAPE,N)}function ht(h,g){return h&&h.toString().replace(!g||!g.iri?c.PCT_ENCODED:d.PCT_ENCODED,z)}var Dr={scheme:"http",domainHost:!0,parse:function(h,g){return h.host||(h.error=h.error||"HTTP URIs must have a host."),h},serialize:function(h,g){var v=String(h.scheme).toLowerCase()==="https";return(h.port===(v?443:80)||h.port==="")&&(h.port=void 0),h.path||(h.path="/"),h}},eo={scheme:"https",domainHost:Dr.domainHost,parse:Dr.parse,serialize:Dr.serialize};function to(h){return typeof h.secure=="boolean"?h.secure:String(h.scheme).toLowerCase()==="wss"}var $r={scheme:"ws",domainHost:!0,parse:function(h,g){var v=h;return v.secure=to(v),v.resourceName=(v.path||"/")+(v.query?"?"+v.query:""),v.path=void 0,v.query=void 0,v},serialize:function(h,g){if((h.port===(to(h)?443:80)||h.port==="")&&(h.port=void 0),typeof h.secure=="boolean"&&(h.scheme=h.secure?"wss":"ws",h.secure=void 0),h.resourceName){var v=h.resourceName.split("?"),D=p(v,2),$=D[0],G=D[1];h.path=$&&$!=="/"?$:void 0,h.query=G,h.resourceName=void 0}return h.fragment=void 0,h}},ro={scheme:"wss",domainHost:$r.domainHost,parse:$r.parse,serialize:$r.serialize},Ld={},io="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",nt="[0-9A-Fa-f]",Dd=a(a("%[EFef]"+nt+"%"+nt+nt+"%"+nt+nt)+"|"+a("%[89A-Fa-f]"+nt+"%"+nt+nt)+"|"+a("%"+nt+nt)),$d="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",jd="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",_d=t(jd,'[\\"\\\\]'),Rd="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",kd=new RegExp(io,"g"),tr=new RegExp(Dd,"g"),Bd=new RegExp(t("[^]",$d,"[\\.]",'[\\"]',_d),"g"),ao=new RegExp(t("[^]",io,Rd),"g"),qd=ao;function Xi(h){var g=z(h);return g.match(kd)?g:h}var oo={scheme:"mailto",parse:function(h,g){var v=h,D=v.to=v.path?v.path.split(","):[];if(v.path=void 0,v.query){for(var $=!1,G={},U=v.query.split("&"),oe=0,Fe=U.length;oe<Fe;++oe){var de=U[oe].split("=");switch(de[0]){case"to":for(var re=de[1].split(","),he=0,Ae=re.length;he<Ae;++he)D.push(re[he]);break;case"subject":v.subject=ht(de[1],g);break;case"body":v.body=ht(de[1],g);break;default:$=!0,G[ht(de[0],g)]=ht(de[1],g);break}}$&&(v.headers=G)}v.query=void 0;for(var ee=0,Oe=D.length;ee<Oe;++ee){var ce=D[ee].split("@");if(ce[0]=ht(ce[0]),g.unicodeSupport)ce[1]=ht(ce[1],g).toLowerCase();else try{ce[1]=A.toASCII(ht(ce[1],g).toLowerCase())}catch(Ue){v.error=v.error||"Email address's domain name can not be converted to ASCII via punycode: "+Ue}D[ee]=ce.join("@")}return v},serialize:function(h,g){var v=h,D=s(h.to);if(D){for(var $=0,G=D.length;$<G;++$){var U=String(D[$]),oe=U.lastIndexOf("@"),Fe=U.slice(0,oe).replace(tr,Xi).replace(tr,n).replace(Bd,N),de=U.slice(oe+1);try{de=g.iri?A.toUnicode(de):A.toASCII(ht(de,g).toLowerCase())}catch(ee){v.error=v.error||"Email address's domain name can not be converted to "+(g.iri?"Unicode":"ASCII")+" via punycode: "+ee}D[$]=Fe+"@"+de}v.path=D.join(",")}var re=h.headers=h.headers||{};h.subject&&(re.subject=h.subject),h.body&&(re.body=h.body);var he=[];for(var Ae in re)re[Ae]!==Ld[Ae]&&he.push(Ae.replace(tr,Xi).replace(tr,n).replace(ao,N)+"="+re[Ae].replace(tr,Xi).replace(tr,n).replace(qd,N));return he.length&&(v.query=he.join("&")),v}},Md=/^([^\:]+)\:(.*)/,no={scheme:"urn",parse:function(h,g){var v=h.path&&h.path.match(Md),D=h;if(v){var $=g.scheme||D.scheme||"urn",G=v[1].toLowerCase(),U=v[2],oe=$+":"+(g.nid||G),Fe=_[oe];D.nid=G,D.nss=U,D.path=void 0,Fe&&(D=Fe.parse(D,g))}else D.error=D.error||"URN can not be parsed.";return D},serialize:function(h,g){var v=g.scheme||h.scheme||"urn",D=h.nid,$=v+":"+(g.nid||D),G=_[$];G&&(h=G.serialize(h,g));var U=h,oe=h.nss;return U.path=(D||g.nid)+":"+oe,U}},Nd=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,so={scheme:"urn:uuid",parse:function(h,g){var v=h;return v.uuid=v.nss,v.nss=void 0,!g.tolerant&&(!v.uuid||!v.uuid.match(Nd))&&(v.error=v.error||"UUID is not valid."),v},serialize:function(h,g){var v=h;return v.nss=(h.uuid||"").toLowerCase(),v}};_[Dr.scheme]=Dr,_[eo.scheme]=eo,_[$r.scheme]=$r,_[ro.scheme]=ro,_[oo.scheme]=oo,_[no.scheme]=no,_[so.scheme]=so,i.SCHEMES=_,i.pctEncChar=N,i.pctDecChars=z,i.parse=ne,i.removeDotSegments=Le,i.serialize=Se,i.resolveComponents=Lr,i.resolve=Ji,i.normalize=Zi,i.equal=Od,i.escapeComponent=Ed,i.unescapeComponent=ht,Object.defineProperty(i,"__esModule",{value:!0})})}(zi,zi.exports)),zi.exports}var Tl,Al;function Za(){return Al||(Al=1,Tl=function e(r,i){if(r===i)return!0;if(r&&i&&typeof r=="object"&&typeof i=="object"){if(r.constructor!==i.constructor)return!1;var t,a,o;if(Array.isArray(r)){if(t=r.length,t!=i.length)return!1;for(a=t;a--!==0;)if(!e(r[a],i[a]))return!1;return!0}if(r.constructor===RegExp)return r.source===i.source&&r.flags===i.flags;if(r.valueOf!==Object.prototype.valueOf)return r.valueOf()===i.valueOf();if(r.toString!==Object.prototype.toString)return r.toString()===i.toString();if(o=Object.keys(r),t=o.length,t!==Object.keys(i).length)return!1;for(a=t;a--!==0;)if(!Object.prototype.hasOwnProperty.call(i,o[a]))return!1;for(a=t;a--!==0;){var n=o[a];if(!e(r[n],i[n]))return!1}return!0}return r!==r&&i!==i}),Tl}var Pl,Fl;function HS(){return Fl||(Fl=1,Pl=function(e){for(var r=0,i=e.length,t=0,a;t<i;)r++,a=e.charCodeAt(t++),a>=55296&&a<=56319&&t<i&&(a=e.charCodeAt(t),(a&64512)==56320&&t++);return r}),Pl}var wa,Ol;function Er(){if(Ol)return wa;Ol=1,wa={copy:e,checkDataType:r,checkDataTypes:i,coerceToTypes:a,toHash:o,getProperty:l,escapeQuotes:u,equal:Za(),ucs2length:HS(),varOccurences:c,varReplace:d,schemaHasRules:p,schemaHasRulesExcept:f,schemaUnknownRules:m,toQuotedString:y,getPathExpr:b,getPath:I,getData:w,unescapeFragment:E,unescapeJsonPointer:j,escapeFragment:P,escapeJsonPointer:O};function e(x,C){C=C||{};for(var k in x)C[k]=x[k];return C}function r(x,C,k,B){var M=B?" !== ":" === ",J=B?" || ":" && ",Z=B?"!":"",K=B?"":"!";switch(x){case"null":return C+M+"null";case"array":return Z+"Array.isArray("+C+")";case"object":return"("+Z+C+J+"typeof "+C+M+'"object"'+J+K+"Array.isArray("+C+"))";case"integer":return"(typeof "+C+M+'"number"'+J+K+"("+C+" % 1)"+J+C+M+C+(k?J+Z+"isFinite("+C+")":"")+")";case"number":return"(typeof "+C+M+'"'+x+'"'+(k?J+Z+"isFinite("+C+")":"")+")";default:return"typeof "+C+M+'"'+x+'"'}}function i(x,C,k){switch(x.length){case 1:return r(x[0],C,k,!0);default:var B="",M=o(x);M.array&&M.object&&(B=M.null?"(":"(!"+C+" || ",B+="typeof "+C+' !== "object")',delete M.null,delete M.array,delete M.object),M.number&&delete M.integer;for(var J in M)B+=(B?" && ":"")+r(J,C,k,!0);return B}}var t=o(["string","number","integer","boolean","null"]);function a(x,C){if(Array.isArray(C)){for(var k=[],B=0;B<C.length;B++){var M=C[B];(t[M]||x==="array"&&M==="array")&&(k[k.length]=M)}if(k.length)return k}else{if(t[C])return[C];if(x==="array"&&C==="array")return["array"]}}function o(x){for(var C={},k=0;k<x.length;k++)C[x[k]]=!0;return C}var n=/^[a-z$_][a-z$_0-9]*$/i,s=/'|\\/g;function l(x){return typeof x=="number"?"["+x+"]":n.test(x)?"."+x:"['"+u(x)+"']"}function u(x){return x.replace(s,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function c(x,C){C+="[^0-9]";var k=x.match(new RegExp(C,"g"));return k?k.length:0}function d(x,C,k){return C+="([^0-9])",k=k.replace(/\$/g,"$$$$"),x.replace(new RegExp(C,"g"),k+"$1")}function p(x,C){if(typeof x=="boolean")return!x;for(var k in x)if(C[k])return!0}function f(x,C,k){if(typeof x=="boolean")return!x&&k!="not";for(var B in x)if(B!=k&&C[B])return!0}function m(x,C){if(typeof x!="boolean"){for(var k in x)if(!C[k])return k}}function y(x){return"'"+u(x)+"'"}function b(x,C,k,B){var M=k?"'/' + "+C+(B?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):B?"'[' + "+C+" + ']'":"'[\\'' + "+C+" + '\\']'";return T(x,M)}function I(x,C,k){var B=y(k?"/"+O(C):l(C));return T(x,B)}var S=/^\/(?:[^~]|~0|~1)*$/,F=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function w(x,C,k){var B,M,J,Z;if(x==="")return"rootData";if(x[0]=="/"){if(!S.test(x))throw new Error("Invalid JSON-pointer: "+x);M=x,J="rootData"}else{if(Z=x.match(F),!Z)throw new Error("Invalid JSON-pointer: "+x);if(B=+Z[1],M=Z[2],M=="#"){if(B>=C)throw new Error("Cannot access property/index "+B+" levels up, current level is "+C);return k[C-B]}if(B>C)throw new Error("Cannot access data "+B+" levels up, current level is "+C);if(J="data"+(C-B||""),!M)return J}for(var K=J,X=M.split("/"),Q=0;Q<X.length;Q++){var fe=X[Q];fe&&(J+=l(j(fe)),K+=" && "+J)}return K}function T(x,C){return x=='""'?C:(x+" + "+C).replace(/([^\\])' \+ '/g,"$1")}function E(x){return j(decodeURIComponent(x))}function P(x){return encodeURIComponent(O(x))}function O(x){return x.replace(/~/g,"~0").replace(/\//g,"~1")}function j(x){return x.replace(/~1/g,"/").replace(/~0/g,"~")}return wa}var xa,El;function Cd(){if(El)return xa;El=1;var e=Er();xa=r;function r(i){e.copy(i,this)}return xa}var Ia={exports:{}},Ll;function QS(){if(Ll)return Ia.exports;Ll=1;var e=Ia.exports=function(t,a,o){typeof a=="function"&&(o=a,a={}),o=a.cb||o;var n=typeof o=="function"?o:o.pre||function(){},s=o.post||function(){};r(a,n,s,t,"",t)};e.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0},e.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},e.propsKeywords={definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},e.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function r(t,a,o,n,s,l,u,c,d,p){if(n&&typeof n=="object"&&!Array.isArray(n)){a(n,s,l,u,c,d,p);for(var f in n){var m=n[f];if(Array.isArray(m)){if(f in e.arrayKeywords)for(var y=0;y<m.length;y++)r(t,a,o,m[y],s+"/"+f+"/"+y,l,s,f,n,y)}else if(f in e.propsKeywords){if(m&&typeof m=="object")for(var b in m)r(t,a,o,m[b],s+"/"+f+"/"+i(b),l,s,f,n,b)}else(f in e.keywords||t.allKeys&&!(f in e.skipKeywords))&&r(t,a,o,m,s+"/"+f,l,s,f,n)}o(n,s,l,u,c,d,p)}}function i(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}return Ia.exports}var Ca,Dl;function Xa(){if(Dl)return Ca;Dl=1;var e=GS(),r=Za(),i=Er(),t=Cd(),a=QS();Ca=o,o.normalizeId=I,o.fullPath=m,o.url=S,o.ids=F,o.inlineRef=d,o.schema=n;function o(w,T,E){var P=this._refs[E];if(typeof P=="string")if(this._refs[P])P=this._refs[P];else return o.call(this,w,T,P);if(P=P||this._schemas[E],P instanceof t)return d(P.schema,this._opts.inlineRefs)?P.schema:P.validate||this._compile(P);var O=n.call(this,T,E),j,x,C;return O&&(j=O.schema,T=O.root,C=O.baseId),j instanceof t?x=j.validate||w.call(this,j.schema,T,void 0,C):j!==void 0&&(x=d(j,this._opts.inlineRefs)?j:w.call(this,j,T,void 0,C)),x}function n(w,T){var E=e.parse(T),P=y(E),O=m(this._getId(w.schema));if(Object.keys(w.schema).length===0||P!==O){var j=I(P),x=this._refs[j];if(typeof x=="string")return s.call(this,w,x,E);if(x instanceof t)x.validate||this._compile(x),w=x;else if(x=this._schemas[j],x instanceof t){if(x.validate||this._compile(x),j==I(T))return{schema:x,root:w,baseId:O};w=x}else return;if(!w.schema)return;O=m(this._getId(w.schema))}return u.call(this,E,O,w.schema,w)}function s(w,T,E){var P=n.call(this,w,T);if(P){var O=P.schema,j=P.baseId;w=P.root;var x=this._getId(O);return x&&(j=S(j,x)),u.call(this,E,j,O,w)}}var l=i.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function u(w,T,E,P){if(w.fragment=w.fragment||"",w.fragment.slice(0,1)=="/"){for(var O=w.fragment.split("/"),j=1;j<O.length;j++){var x=O[j];if(x){if(x=i.unescapeFragment(x),E=E[x],E===void 0)break;var C;if(!l[x]&&(C=this._getId(E),C&&(T=S(T,C)),E.$ref)){var k=S(T,E.$ref),B=n.call(this,P,k);B&&(E=B.schema,P=B.root,T=B.baseId)}}}if(E!==void 0&&E!==P.schema)return{schema:E,root:P,baseId:T}}}var c=i.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function d(w,T){if(T===!1)return!1;if(T===void 0||T===!0)return p(w);if(T)return f(w)<=T}function p(w){var T;if(Array.isArray(w)){for(var E=0;E<w.length;E++)if(T=w[E],typeof T=="object"&&!p(T))return!1}else for(var P in w)if(P=="$ref"||(T=w[P],typeof T=="object"&&!p(T)))return!1;return!0}function f(w){var T=0,E;if(Array.isArray(w)){for(var P=0;P<w.length;P++)if(E=w[P],typeof E=="object"&&(T+=f(E)),T==1/0)return 1/0}else for(var O in w){if(O=="$ref")return 1/0;if(c[O])T++;else if(E=w[O],typeof E=="object"&&(T+=f(E)+1),T==1/0)return 1/0}return T}function m(w,T){T!==!1&&(w=I(w));var E=e.parse(w);return y(E)}function y(w){return e.serialize(w).split("#")[0]+"#"}var b=/#\/?$/;function I(w){return w?w.replace(b,""):""}function S(w,T){return T=I(T),e.resolve(w,T)}function F(w){var T=I(this._getId(w)),E={"":T},P={"":m(T,!1)},O={},j=this;return a(w,{allKeys:!0},function(x,C,k,B,M,J,Z){if(C!==""){var K=j._getId(x),X=E[B],Q=P[B]+"/"+M;if(Z!==void 0&&(Q+="/"+(typeof Z=="number"?Z:i.escapeFragment(Z))),typeof K=="string"){K=X=I(X?e.resolve(X,K):K);var fe=j._refs[K];if(typeof fe=="string"&&(fe=j._refs[fe]),fe&&fe.schema){if(!r(x,fe.schema))throw new Error('id "'+K+'" resolves to more than one schema')}else if(K!=I(Q))if(K[0]=="#"){if(O[K]&&!r(x,O[K]))throw new Error('id "'+K+'" resolves to more than one schema');O[K]=x}else j._refs[K]=Q}E[C]=X,P[C]=Q}}),O}return Ca}var Ta,$l;function Ya(){if($l)return Ta;$l=1;var e=Xa();Ta={Validation:t(r),MissingRef:t(i)};function r(a){this.message="validation failed",this.errors=a,this.ajv=this.validation=!0}i.message=function(a,o){return"can't resolve reference "+o+" from id "+a};function i(a,o,n){this.message=n||i.message(a,o),this.missingRef=e.url(a,o),this.missingSchema=e.normalizeId(e.fullPath(this.missingRef))}function t(a){return a.prototype=Object.create(Error.prototype),a.prototype.constructor=a,a}return Ta}var jl,_l;function Td(){return _l||(_l=1,jl=function(e,r){r||(r={}),typeof r=="function"&&(r={cmp:r});var i=typeof r.cycles=="boolean"?r.cycles:!1,t=r.cmp&&function(o){return function(n){return function(s,l){var u={key:s,value:n[s]},c={key:l,value:n[l]};return o(u,c)}}}(r.cmp),a=[];return function o(n){if(n&&n.toJSON&&typeof n.toJSON=="function"&&(n=n.toJSON()),n!==void 0){if(typeof n=="number")return isFinite(n)?""+n:"null";if(typeof n!="object")return JSON.stringify(n);var s,l;if(Array.isArray(n)){for(l="[",s=0;s<n.length;s++)s&&(l+=","),l+=o(n[s])||"null";return l+"]"}if(n===null)return"null";if(a.indexOf(n)!==-1){if(i)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var u=a.push(n)-1,c=Object.keys(n).sort(t&&t(n));for(l="",s=0;s<c.length;s++){var d=c[s],p=o(n[d]);p&&(l&&(l+=","),l+=JSON.stringify(d)+":"+p)}return a.splice(u,1),"{"+l+"}"}}(e)}),jl}var Rl,kl;function Ad(){return kl||(kl=1,Rl=function(e,r,i){var t="",a=e.schema.$async===!0,o=e.util.schemaHasRulesExcept(e.schema,e.RULES.all,"$ref"),n=e.self._getId(e.schema);if(e.opts.strictKeywords){var s=e.util.schemaUnknownRules(e.schema,e.RULES.keywords);if(s){var l="unknown keyword: "+s;if(e.opts.strictKeywords==="log")e.logger.warn(l);else throw new Error(l)}}if(e.isTop&&(t+=" var validate = ",a&&(e.async=!0,t+="async "),t+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ",n&&(e.opts.sourceCode||e.opts.processCode)&&(t+=" "+("/*# sourceURL="+n+" */")+" ")),typeof e.schema=="boolean"||!(o||e.schema.$ref)){var r="false schema",u=e.level,c=e.dataLevel,d=e.schema[r],p=e.schemaPath+e.util.getProperty(r),f=e.errSchemaPath+"/"+r,w=!e.opts.allErrors,P,m="data"+(c||""),F="valid"+u;if(e.schema===!1){e.isTop?w=!0:t+=" var "+F+" = false; ";var y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(P||"false schema")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(f)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'boolean schema is false' "),e.opts.verbose&&(t+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),t+=" } "):t+=" {} ";var b=t;t=y.pop(),!e.compositeRule&&w?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else e.isTop?a?t+=" return data; ":t+=" validate.errors = null; return true; ":t+=" var "+F+" = true; ";return e.isTop&&(t+=" }; return validate; "),t}if(e.isTop){var I=e.isTop,u=e.level=0,c=e.dataLevel=0,m="data";if(e.rootId=e.resolve.fullPath(e.self._getId(e.root.schema)),e.baseId=e.baseId||e.rootId,delete e.isTop,e.dataPathArr=[""],e.schema.default!==void 0&&e.opts.useDefaults&&e.opts.strictDefaults){var S="default is ignored in the schema root";if(e.opts.strictDefaults==="log")e.logger.warn(S);else throw new Error(S)}t+=" var vErrors = null; ",t+=" var errors = 0; ",t+=" if (rootData === undefined) rootData = data; "}else{var u=e.level,c=e.dataLevel,m="data"+(c||"");if(n&&(e.baseId=e.resolve.url(e.baseId,n)),a&&!e.async)throw new Error("async schema in sync schema");t+=" var errs_"+u+" = errors;"}var F="valid"+u,w=!e.opts.allErrors,T="",E="",P,O=e.schema.type,j=Array.isArray(O);if(O&&e.opts.nullable&&e.schema.nullable===!0&&(j?O.indexOf("null")==-1&&(O=O.concat("null")):O!="null"&&(O=[O,"null"],j=!0)),j&&O.length==1&&(O=O[0],j=!1),e.schema.$ref&&o){if(e.opts.extendRefs=="fail")throw new Error('$ref: validation keywords used in schema at path "'+e.errSchemaPath+'" (see option extendRefs)');e.opts.extendRefs!==!0&&(o=!1,e.logger.warn('$ref: keywords ignored in schema at path "'+e.errSchemaPath+'"'))}if(e.schema.$comment&&e.opts.$comment&&(t+=" "+e.RULES.all.$comment.code(e,"$comment")),O){if(e.opts.coerceTypes)var x=e.util.coerceToTypes(e.opts.coerceTypes,O);var C=e.RULES.types[O];if(x||j||C===!0||C&&!le(C)){var p=e.schemaPath+".type",f=e.errSchemaPath+"/type",p=e.schemaPath+".type",f=e.errSchemaPath+"/type",k=j?"checkDataTypes":"checkDataType";if(t+=" if ("+e.util[k](O,m,e.opts.strictNumbers,!0)+") { ",x){var B="dataType"+u,M="coerced"+u;t+=" var "+B+" = typeof "+m+"; var "+M+" = undefined; ",e.opts.coerceTypes=="array"&&(t+=" if ("+B+" == 'object' && Array.isArray("+m+") && "+m+".length == 1) { "+m+" = "+m+"[0]; "+B+" = typeof "+m+"; if ("+e.util.checkDataType(e.schema.type,m,e.opts.strictNumbers)+") "+M+" = "+m+"; } "),t+=" if ("+M+" !== undefined) ; ";var J=x;if(J)for(var Z,K=-1,X=J.length-1;K<X;)Z=J[K+=1],Z=="string"?t+=" else if ("+B+" == 'number' || "+B+" == 'boolean') "+M+" = '' + "+m+"; else if ("+m+" === null) "+M+" = ''; ":Z=="number"||Z=="integer"?(t+=" else if ("+B+" == 'boolean' || "+m+" === null || ("+B+" == 'string' && "+m+" && "+m+" == +"+m+" ",Z=="integer"&&(t+=" && !("+m+" % 1)"),t+=")) "+M+" = +"+m+"; "):Z=="boolean"?t+=" else if ("+m+" === 'false' || "+m+" === 0 || "+m+" === null) "+M+" = false; else if ("+m+" === 'true' || "+m+" === 1) "+M+" = true; ":Z=="null"?t+=" else if ("+m+" === '' || "+m+" === 0 || "+m+" === false) "+M+" = null; ":e.opts.coerceTypes=="array"&&Z=="array"&&(t+=" else if ("+B+" == 'string' || "+B+" == 'number' || "+B+" == 'boolean' || "+m+" == null) "+M+" = ["+m+"]; ");t+=" else { ";var y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(P||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(f)+" , params: { type: '",j?t+=""+O.join(","):t+=""+O,t+="' } ",e.opts.messages!==!1&&(t+=" , message: 'should be ",j?t+=""+O.join(","):t+=""+O,t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+p+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),t+=" } "):t+=" {} ";var b=t;t=y.pop(),!e.compositeRule&&w?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } if ("+M+" !== undefined) { ";var Q=c?"data"+(c-1||""):"parentData",fe=c?e.dataPathArr[c]:"parentDataProperty";t+=" "+m+" = "+M+"; ",c||(t+="if ("+Q+" !== undefined)"),t+=" "+Q+"["+fe+"] = "+M+"; } "}else{var y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(P||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(f)+" , params: { type: '",j?t+=""+O.join(","):t+=""+O,t+="' } ",e.opts.messages!==!1&&(t+=" , message: 'should be ",j?t+=""+O.join(","):t+=""+O,t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+p+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),t+=" } "):t+=" {} ";var b=t;t=y.pop(),!e.compositeRule&&w?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}t+=" } "}}if(e.schema.$ref&&!o)t+=" "+e.RULES.all.$ref.code(e,"$ref")+" ",w&&(t+=" } if (errors === ",I?t+="0":t+="errs_"+u,t+=") { ",E+="}");else{var $e=e.RULES;if($e){for(var C,Ee=-1,Ie=$e.length-1;Ee<Ie;)if(C=$e[Ee+=1],le(C)){if(C.type&&(t+=" if ("+e.util.checkDataType(C.type,m,e.opts.strictNumbers)+") { "),e.opts.useDefaults){if(C.type=="object"&&e.schema.properties){var d=e.schema.properties,ot=Object.keys(d),We=ot;if(We)for(var A,_=-1,N=We.length-1;_<N;){A=We[_+=1];var z=d[A];if(z.default!==void 0){var R=m+e.util.getProperty(A);if(e.compositeRule){if(e.opts.strictDefaults){var S="default is ignored for: "+R;if(e.opts.strictDefaults==="log")e.logger.warn(S);else throw new Error(S)}}else t+=" if ("+R+" === undefined ",e.opts.useDefaults=="empty"&&(t+=" || "+R+" === null || "+R+" === '' "),t+=" ) "+R+" = ",e.opts.useDefaults=="shared"?t+=" "+e.useDefault(z.default)+" ":t+=" "+JSON.stringify(z.default)+" ",t+="; "}}}else if(C.type=="array"&&Array.isArray(e.schema.items)){var W=e.schema.items;if(W){for(var z,K=-1,H=W.length-1;K<H;)if(z=W[K+=1],z.default!==void 0){var R=m+"["+K+"]";if(e.compositeRule){if(e.opts.strictDefaults){var S="default is ignored for: "+R;if(e.opts.strictDefaults==="log")e.logger.warn(S);else throw new Error(S)}}else t+=" if ("+R+" === undefined ",e.opts.useDefaults=="empty"&&(t+=" || "+R+" === null || "+R+" === '' "),t+=" ) "+R+" = ",e.opts.useDefaults=="shared"?t+=" "+e.useDefault(z.default)+" ":t+=" "+JSON.stringify(z.default)+" ",t+="; "}}}}var Y=C.rules;if(Y){for(var ge,be=-1,ne=Y.length-1;be<ne;)if(ge=Y[be+=1],ze(ge)){var ae=ge.code(e,ge.keyword,C.type);ae&&(t+=" "+ae+" ",w&&(T+="}"))}}if(w&&(t+=" "+T+" ",T=""),C.type&&(t+=" } ",O&&O===C.type&&!x)){t+=" else { ";var p=e.schemaPath+".type",f=e.errSchemaPath+"/type",y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(P||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(f)+" , params: { type: '",j?t+=""+O.join(","):t+=""+O,t+="' } ",e.opts.messages!==!1&&(t+=" , message: 'should be ",j?t+=""+O.join(","):t+=""+O,t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+p+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),t+=" } "):t+=" {} ";var b=t;t=y.pop(),!e.compositeRule&&w?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } "}w&&(t+=" if (errors === ",I?t+="0":t+="errs_"+u,t+=") { ",E+="}")}}}w&&(t+=" "+E+" "),I?(a?(t+=" if (errors === 0) return data; ",t+=" else throw new ValidationError(vErrors); "):(t+=" validate.errors = vErrors; ",t+=" return errors === 0; "),t+=" }; return validate;"):t+=" var "+F+" = errors === errs_"+u+";";function le(ve){for(var Le=ve.rules,Se=0;Se<Le.length;Se++)if(ze(Le[Se]))return!0}function ze(ve){return e.schema[ve.keyword]!==void 0||ve.implements&&ft(ve)}function ft(ve){for(var Le=ve.implements,Se=0;Se<Le.length;Se++)if(e.schema[Le[Se]]!==void 0)return!0}return t}),Rl}var Aa,Bl;function KS(){if(Bl)return Aa;Bl=1;var e=Xa(),r=Er(),i=Ya(),t=Td(),a=Ad(),o=r.ucs2length,n=Za(),s=i.Validation;Aa=l;function l(I,S,F,w){var T=this,E=this._opts,P=[void 0],O={},j=[],x={},C=[],k={},B=[];S=S||{schema:I,refVal:P,refs:O};var M=u.call(this,I,S,w),J=this._compilations[M.index];if(M.compiling)return J.callValidate=fe;var Z=this._formats,K=this.RULES;try{var X=$e(I,S,F,w);J.validate=X;var Q=J.callValidate;return Q&&(Q.schema=X.schema,Q.errors=null,Q.refs=X.refs,Q.refVal=X.refVal,Q.root=X.root,Q.$async=X.$async,E.sourceCode&&(Q.source=X.source)),X}finally{c.call(this,I,S,w)}function fe(){var R=J.validate,W=R.apply(this,arguments);return fe.errors=R.errors,W}function $e(R,W,H,Y){var ge=!W||W&&W.schema==R;if(W.schema!=S.schema)return l.call(T,R,W,H,Y);var be=R.$async===!0,ne=a({isTop:!0,schema:R,isRoot:ge,baseId:Y,root:W,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:i.MissingRef,RULES:K,validate:a,util:r,resolve:e,resolveRef:Ee,usePattern:_,useDefault:N,useCustomRule:z,opts:E,formats:Z,logger:T.logger,self:T});ne=b(P,m)+b(j,p)+b(C,f)+b(B,y)+ne,E.processCode&&(ne=E.processCode(ne,R));var ae;try{var le=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",ne);ae=le(T,K,Z,S,P,C,B,n,o,s),P[0]=ae}catch(ze){throw T.logger.error("Error compiling schema, function code:",ne),ze}return ae.schema=R,ae.errors=null,ae.refs=O,ae.refVal=P,ae.root=ge?ae:W,be&&(ae.$async=!0),E.sourceCode===!0&&(ae.source={code:ne,patterns:j,defaults:C}),ae}function Ee(R,W,H){W=e.url(R,W);var Y=O[W],ge,be;if(Y!==void 0)return ge=P[Y],be="refVal["+Y+"]",A(ge,be);if(!H&&S.refs){var ne=S.refs[W];if(ne!==void 0)return ge=S.refVal[ne],be=Ie(W,ge),A(ge,be)}be=Ie(W);var ae=e.call(T,$e,S,W);if(ae===void 0){var le=F&&F[W];le&&(ae=e.inlineRef(le,E.inlineRefs)?le:l.call(T,le,S,F,R))}if(ae===void 0)ot(W);else return We(W,ae),A(ae,be)}function Ie(R,W){var H=P.length;return P[H]=W,O[R]=H,"refVal"+H}function ot(R){delete O[R]}function We(R,W){var H=O[R];P[H]=W}function A(R,W){return typeof R=="object"||typeof R=="boolean"?{code:W,schema:R,inline:!0}:{code:W,$async:R&&!!R.$async}}function _(R){var W=x[R];return W===void 0&&(W=x[R]=j.length,j[W]=R),"pattern"+W}function N(R){switch(typeof R){case"boolean":case"number":return""+R;case"string":return r.toQuotedString(R);case"object":if(R===null)return"null";var W=t(R),H=k[W];return H===void 0&&(H=k[W]=C.length,C[H]=R),"default"+H}}function z(R,W,H,Y){if(T._opts.validateSchema!==!1){var ge=R.definition.dependencies;if(ge&&!ge.every(function(Se){return Object.prototype.hasOwnProperty.call(H,Se)}))throw new Error("parent schema must have all required keywords: "+ge.join(","));var be=R.definition.validateSchema;if(be){var ne=be(W);if(!ne){var ae="keyword schema is invalid: "+T.errorsText(be.errors);if(T._opts.validateSchema=="log")T.logger.error(ae);else throw new Error(ae)}}}var le=R.definition.compile,ze=R.definition.inline,ft=R.definition.macro,ve;if(le)ve=le.call(T,W,H,Y);else if(ft)ve=ft.call(T,W,H,Y),E.validateSchema!==!1&&T.validateSchema(ve,!0);else if(ze)ve=ze.call(T,Y,R.keyword,W,H);else if(ve=R.definition.validate,!ve)return;if(ve===void 0)throw new Error('custom keyword "'+R.keyword+'"failed to compile');var Le=B.length;return B[Le]=ve,{code:"customRule"+Le,validate:ve}}}function u(I,S,F){var w=d.call(this,I,S,F);return w>=0?{index:w,compiling:!0}:(w=this._compilations.length,this._compilations[w]={schema:I,root:S,baseId:F},{index:w,compiling:!1})}function c(I,S,F){var w=d.call(this,I,S,F);w>=0&&this._compilations.splice(w,1)}function d(I,S,F){for(var w=0;w<this._compilations.length;w++){var T=this._compilations[w];if(T.schema==I&&T.root==S&&T.baseId==F)return w}return-1}function p(I,S){return"var pattern"+I+" = new RegExp("+r.toQuotedString(S[I])+");"}function f(I){return"var default"+I+" = defaults["+I+"];"}function m(I,S){return S[I]===void 0?"":"var refVal"+I+" = refVal["+I+"];"}function y(I){return"var customRule"+I+" = customRules["+I+"];"}function b(I,S){if(!I.length)return"";for(var F="",w=0;w<I.length;w++)F+=S(w,I);return F}return Aa}var Pa={exports:{}},ql;function JS(){if(ql)return Pa.exports;ql=1;var e=Pa.exports=function(){this._cache={}};return e.prototype.put=function(r,i){this._cache[r]=i},e.prototype.get=function(r){return this._cache[r]},e.prototype.del=function(r){delete this._cache[r]},e.prototype.clear=function(){this._cache={}},Pa.exports}var Fa,Ml;function ZS(){if(Ml)return Fa;Ml=1;var e=Er(),r=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,i=[0,31,28,31,30,31,30,31,31,30,31,30,31],t=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i,a=/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,o=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,n=/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,s=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,l=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i,u=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,c=/^(?:\/(?:[^~/]|~0|~1)*)*$/,d=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,p=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;Fa=f;function f(P){return P=P=="full"?"full":"fast",e.copy(f[P])}f.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":s,url:l,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:a,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:E,uuid:u,"json-pointer":c,"json-pointer-uri-fragment":d,"relative-json-pointer":p},f.full={date:y,time:b,"date-time":S,uri:w,"uri-reference":n,"uri-template":s,url:l,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:a,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:E,uuid:u,"json-pointer":c,"json-pointer-uri-fragment":d,"relative-json-pointer":p};function m(P){return P%4===0&&(P%100!==0||P%400===0)}function y(P){var O=P.match(r);if(!O)return!1;var j=+O[1],x=+O[2],C=+O[3];return x>=1&&x<=12&&C>=1&&C<=(x==2&&m(j)?29:i[x])}function b(P,O){var j=P.match(t);if(!j)return!1;var x=j[1],C=j[2],k=j[3],B=j[5];return(x<=23&&C<=59&&k<=59||x==23&&C==59&&k==60)&&(!O||B)}var I=/t|\s/i;function S(P){var O=P.split(I);return O.length==2&&y(O[0])&&b(O[1],!0)}var F=/\/|:/;function w(P){return F.test(P)&&o.test(P)}var T=/[^\\]\\Z/;function E(P){if(T.test(P))return!1;try{return new RegExp(P),!0}catch{return!1}}return Fa}var Nl,Wl;function XS(){return Wl||(Wl=1,Nl=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.errSchemaPath+"/"+r,l=!e.opts.allErrors,u="data"+(o||""),c="valid"+a,d,p;if(n=="#"||n=="#/")e.isRoot?(d=e.async,p="validate"):(d=e.root.schema.$async===!0,p="root.refVal[0]");else{var f=e.resolveRef(e.baseId,n,e.isRoot);if(f===void 0){var m=e.MissingRefError.message(e.baseId,n);if(e.opts.missingRefs=="fail"){e.logger.error(m);var y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '$ref' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(s)+" , params: { ref: '"+e.util.escapeQuotes(n)+"' } ",e.opts.messages!==!1&&(t+=" , message: 'can\\'t resolve reference "+e.util.escapeQuotes(n)+"' "),e.opts.verbose&&(t+=" , schema: "+e.util.toQuotedString(n)+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),t+=" } "):t+=" {} ";var b=t;t=y.pop(),!e.compositeRule&&l?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",l&&(t+=" if (false) { ")}else if(e.opts.missingRefs=="ignore")e.logger.warn(m),l&&(t+=" if (true) { ");else throw new e.MissingRefError(e.baseId,n,m)}else if(f.inline){var I=e.util.copy(e);I.level++;var S="valid"+I.level;I.schema=f.schema,I.schemaPath="",I.errSchemaPath=n;var F=e.validate(I).replace(/validate\.schema/g,f.code);t+=" "+F+" ",l&&(t+=" if ("+S+") { ")}else d=f.$async===!0||e.async&&f.$async!==!1,p=f.code}if(p){var y=y||[];y.push(t),t="",e.opts.passContext?t+=" "+p+".call(this, ":t+=" "+p+"( ",t+=" "+u+", (dataPath || '')",e.errorPath!='""'&&(t+=" + "+e.errorPath);var w=o?"data"+(o-1||""):"parentData",T=o?e.dataPathArr[o]:"parentDataProperty";t+=" , "+w+" , "+T+", rootData) ";var E=t;if(t=y.pop(),d){if(!e.async)throw new Error("async schema referenced by sync schema");l&&(t+=" var "+c+"; "),t+=" try { await "+E+"; ",l&&(t+=" "+c+" = true; "),t+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ",l&&(t+=" "+c+" = false; "),t+=" } ",l&&(t+=" if ("+c+") { ")}else t+=" if (!"+E+") { if (vErrors === null) vErrors = "+p+".errors; else vErrors = vErrors.concat("+p+".errors); errors = vErrors.length; } ",l&&(t+=" else { ")}return t}),Nl}var zl,Vl;function YS(){return Vl||(Vl=1,zl=function(e,r,i){var t=" ",a=e.schema[r],o=e.schemaPath+e.util.getProperty(r),n=e.errSchemaPath+"/"+r,s=!e.opts.allErrors,l=e.util.copy(e),u="";l.level++;var c="valid"+l.level,d=l.baseId,p=!0,f=a;if(f)for(var m,y=-1,b=f.length-1;y<b;)m=f[y+=1],(e.opts.strictKeywords?typeof m=="object"&&Object.keys(m).length>0||m===!1:e.util.schemaHasRules(m,e.RULES.all))&&(p=!1,l.schema=m,l.schemaPath=o+"["+y+"]",l.errSchemaPath=n+"/"+y,t+=" "+e.validate(l)+" ",l.baseId=d,s&&(t+=" if ("+c+") { ",u+="}"));return s&&(p?t+=" if (true) { ":t+=" "+u.slice(0,-1)+" "),t}),zl}var Ul,Gl;function ew(){return Gl||(Gl=1,Ul=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,c="data"+(o||""),d="valid"+a,p="errs__"+a,f=e.util.copy(e),m="";f.level++;var y="valid"+f.level,b=n.every(function(P){return e.opts.strictKeywords?typeof P=="object"&&Object.keys(P).length>0||P===!1:e.util.schemaHasRules(P,e.RULES.all)});if(b){var I=f.baseId;t+=" var "+p+" = errors; var "+d+" = false; ";var S=e.compositeRule;e.compositeRule=f.compositeRule=!0;var F=n;if(F)for(var w,T=-1,E=F.length-1;T<E;)w=F[T+=1],f.schema=w,f.schemaPath=s+"["+T+"]",f.errSchemaPath=l+"/"+T,t+=" "+e.validate(f)+" ",f.baseId=I,t+=" "+d+" = "+d+" || "+y+"; if (!"+d+") { ",m+="}";e.compositeRule=f.compositeRule=S,t+=" "+m+" if (!"+d+") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'anyOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should match some schema in anyOf' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&u&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; "),t+=" } else { errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } ",e.opts.allErrors&&(t+=" } ")}else u&&(t+=" if (true) { ");return t}),Ul}var Hl,Ql;function tw(){return Ql||(Ql=1,Hl=function(e,r,i){var t=" ",a=e.schema[r],o=e.errSchemaPath+"/"+r;e.opts.allErrors;var n=e.util.toQuotedString(a);return e.opts.$comment===!0?t+=" console.log("+n+");":typeof e.opts.$comment=="function"&&(t+=" self._opts.$comment("+n+", "+e.util.toQuotedString(o)+", validate.root.schema);"),t}),Hl}var Kl,Jl;function rw(){return Jl||(Jl=1,Kl=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,c="data"+(o||""),d="valid"+a,p=e.opts.$data&&n&&n.$data;p&&(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; "),p||(t+=" var schema"+a+" = validate.schema"+s+";"),t+="var "+d+" = equal("+c+", schema"+a+"); if (!"+d+") { ";var f=f||[];f.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'const' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { allowedValue: schema"+a+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be equal to constant' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var m=t;return t=f.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+m+"]); ":t+=" validate.errors = ["+m+"]; return false; ":t+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" }",u&&(t+=" else { "),t}),Kl}var Zl,Xl;function iw(){return Xl||(Xl=1,Zl=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,c="data"+(o||""),d="valid"+a,p="errs__"+a,f=e.util.copy(e),m="";f.level++;var y="valid"+f.level,b="i"+a,I=f.dataLevel=e.dataLevel+1,S="data"+I,F=e.baseId,w=e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all);if(t+="var "+p+" = errors;var "+d+";",w){var T=e.compositeRule;e.compositeRule=f.compositeRule=!0,f.schema=n,f.schemaPath=s,f.errSchemaPath=l,t+=" var "+y+" = false; for (var "+b+" = 0; "+b+" < "+c+".length; "+b+"++) { ",f.errorPath=e.util.getPathExpr(e.errorPath,b,e.opts.jsonPointers,!0);var E=c+"["+b+"]";f.dataPathArr[I]=b;var P=e.validate(f);f.baseId=F,e.util.varOccurences(P,S)<2?t+=" "+e.util.varReplace(P,S,E)+" ":t+=" var "+S+" = "+E+"; "+P+" ",t+=" if ("+y+") break; } ",e.compositeRule=f.compositeRule=T,t+=" "+m+" if (!"+y+") {"}else t+=" if ("+c+".length == 0) {";var O=O||[];O.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'contains' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should contain a valid item' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var j=t;return t=O.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+j+"]); ":t+=" validate.errors = ["+j+"]; return false; ":t+=" var err = "+j+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else { ",w&&(t+=" errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } "),e.opts.allErrors&&(t+=" } "),t}),Zl}var Yl,ep;function aw(){return ep||(ep=1,Yl=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,c="data"+(o||""),d="errs__"+a,p=e.util.copy(e),f="";p.level++;var m="valid"+p.level,y={},b={},I=e.opts.ownProperties;for(T in n)if(T!="__proto__"){var S=n[T],F=Array.isArray(S)?b:y;F[T]=S}t+="var "+d+" = errors;";var w=e.errorPath;t+="var missing"+a+";";for(var T in b)if(F=b[T],F.length){if(t+=" if ( "+c+e.util.getProperty(T)+" !== undefined ",I&&(t+=" && Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(T)+"') "),u){t+=" && ( ";var E=F;if(E)for(var P,O=-1,j=E.length-1;O<j;){P=E[O+=1],O&&(t+=" || ");var x=e.util.getProperty(P),C=c+x;t+=" ( ( "+C+" === undefined ",I&&(t+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(P)+"') "),t+=") && (missing"+a+" = "+e.util.toQuotedString(e.opts.jsonPointers?P:x)+") ) "}t+=")) { ";var k="missing"+a,B="' + "+k+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(w,k,!0):w+" + "+k);var M=M||[];M.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { property: '"+e.util.escapeQuotes(T)+"', missingProperty: '"+B+"', depsCount: "+F.length+", deps: '"+e.util.escapeQuotes(F.length==1?F[0]:F.join(", "))+"' } ",e.opts.messages!==!1&&(t+=" , message: 'should have ",F.length==1?t+="property "+e.util.escapeQuotes(F[0]):t+="properties "+e.util.escapeQuotes(F.join(", ")),t+=" when property "+e.util.escapeQuotes(T)+" is present' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var J=t;t=M.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+J+"]); ":t+=" validate.errors = ["+J+"]; return false; ":t+=" var err = "+J+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else{t+=" ) { ";var Z=F;if(Z)for(var P,K=-1,X=Z.length-1;K<X;){P=Z[K+=1];var x=e.util.getProperty(P),B=e.util.escapeQuotes(P),C=c+x;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(w,P,e.opts.jsonPointers)),t+=" if ( "+C+" === undefined ",I&&(t+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(P)+"') "),t+=") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { property: '"+e.util.escapeQuotes(T)+"', missingProperty: '"+B+"', depsCount: "+F.length+", deps: '"+e.util.escapeQuotes(F.length==1?F[0]:F.join(", "))+"' } ",e.opts.messages!==!1&&(t+=" , message: 'should have ",F.length==1?t+="property "+e.util.escapeQuotes(F[0]):t+="properties "+e.util.escapeQuotes(F.join(", ")),t+=" when property "+e.util.escapeQuotes(T)+" is present' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}t+=" } ",u&&(f+="}",t+=" else { ")}e.errorPath=w;var Q=p.baseId;for(var T in y){var S=y[T];(e.opts.strictKeywords?typeof S=="object"&&Object.keys(S).length>0||S===!1:e.util.schemaHasRules(S,e.RULES.all))&&(t+=" "+m+" = true; if ( "+c+e.util.getProperty(T)+" !== undefined ",I&&(t+=" && Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(T)+"') "),t+=") { ",p.schema=S,p.schemaPath=s+e.util.getProperty(T),p.errSchemaPath=l+"/"+e.util.escapeFragment(T),t+=" "+e.validate(p)+" ",p.baseId=Q,t+=" } ",u&&(t+=" if ("+m+") { ",f+="}"))}return u&&(t+=" "+f+" if ("+d+" == errors) {"),t}),Yl}var tp,rp;function ow(){return rp||(rp=1,tp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,c="data"+(o||""),d="valid"+a,p=e.opts.$data&&n&&n.$data;p&&(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ");var f="i"+a,m="schema"+a;p||(t+=" var "+m+" = validate.schema"+s+";"),t+="var "+d+";",p&&(t+=" if (schema"+a+" === undefined) "+d+" = true; else if (!Array.isArray(schema"+a+")) "+d+" = false; else {"),t+=""+d+" = false;for (var "+f+"=0; "+f+"<"+m+".length; "+f+"++) if (equal("+c+", "+m+"["+f+"])) { "+d+" = true; break; }",p&&(t+=" } "),t+=" if (!"+d+") { ";var y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'enum' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { allowedValues: schema"+a+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be equal to one of the allowed values' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var b=t;return t=y.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" }",u&&(t+=" else { "),t}),tp}var ip,ap;function nw(){return ap||(ap=1,ip=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,c="data"+(o||"");if(e.opts.format===!1)return u&&(t+=" if (true) { "),t;var d=e.opts.$data&&n&&n.$data,p;d?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n;var f=e.opts.unknownFormats,m=Array.isArray(f);if(d){var y="format"+a,b="isObject"+a,I="formatType"+a;t+=" var "+y+" = formats["+p+"]; var "+b+" = typeof "+y+" == 'object' && !("+y+" instanceof RegExp) && "+y+".validate; var "+I+" = "+b+" && "+y+".type || 'string'; if ("+b+") { ",e.async&&(t+=" var async"+a+" = "+y+".async; "),t+=" "+y+" = "+y+".validate; } if ( ",d&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'string') || "),t+=" (",f!="ignore"&&(t+=" ("+p+" && !"+y+" ",m&&(t+=" && self._opts.unknownFormats.indexOf("+p+") == -1 "),t+=") || "),t+=" ("+y+" && "+I+" == '"+i+"' && !(typeof "+y+" == 'function' ? ",e.async?t+=" (async"+a+" ? await "+y+"("+c+") : "+y+"("+c+")) ":t+=" "+y+"("+c+") ",t+=" : "+y+".test("+c+"))))) {"}else{var y=e.formats[n];if(!y){if(f=="ignore")return e.logger.warn('unknown format "'+n+'" ignored in schema at path "'+e.errSchemaPath+'"'),u&&(t+=" if (true) { "),t;if(m&&f.indexOf(n)>=0)return u&&(t+=" if (true) { "),t;throw new Error('unknown format "'+n+'" is used in schema at path "'+e.errSchemaPath+'"')}var b=typeof y=="object"&&!(y instanceof RegExp)&&y.validate,I=b&&y.type||"string";if(b){var S=y.async===!0;y=y.validate}if(I!=i)return u&&(t+=" if (true) { "),t;if(S){if(!e.async)throw new Error("async format in sync schema");var F="formats"+e.util.getProperty(n)+".validate";t+=" if (!(await "+F+"("+c+"))) { "}else{t+=" if (! ";var F="formats"+e.util.getProperty(n);b&&(F+=".validate"),typeof y=="function"?t+=" "+F+"("+c+") ":t+=" "+F+".test("+c+") ",t+=") { "}}var w=w||[];w.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'format' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { format: ",d?t+=""+p:t+=""+e.util.toQuotedString(n),t+=" } ",e.opts.messages!==!1&&(t+=` , message: 'should match format "`,d?t+="' + "+p+" + '":t+=""+e.util.escapeQuotes(n),t+=`"' `),e.opts.verbose&&(t+=" , schema: ",d?t+="validate.schema"+s:t+=""+e.util.toQuotedString(n),t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var T=t;return t=w.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+T+"]); ":t+=" validate.errors = ["+T+"]; return false; ":t+=" var err = "+T+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",u&&(t+=" else { "),t}),ip}var op,np;function sw(){return np||(np=1,op=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,c="data"+(o||""),d="valid"+a,p="errs__"+a,f=e.util.copy(e);f.level++;var m="valid"+f.level,y=e.schema.then,b=e.schema.else,I=y!==void 0&&(e.opts.strictKeywords?typeof y=="object"&&Object.keys(y).length>0||y===!1:e.util.schemaHasRules(y,e.RULES.all)),S=b!==void 0&&(e.opts.strictKeywords?typeof b=="object"&&Object.keys(b).length>0||b===!1:e.util.schemaHasRules(b,e.RULES.all)),F=f.baseId;if(I||S){var w;f.createErrors=!1,f.schema=n,f.schemaPath=s,f.errSchemaPath=l,t+=" var "+p+" = errors; var "+d+" = true; ";var T=e.compositeRule;e.compositeRule=f.compositeRule=!0,t+=" "+e.validate(f)+" ",f.baseId=F,f.createErrors=!0,t+=" errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } ",e.compositeRule=f.compositeRule=T,I?(t+=" if ("+m+") { ",f.schema=e.schema.then,f.schemaPath=e.schemaPath+".then",f.errSchemaPath=e.errSchemaPath+"/then",t+=" "+e.validate(f)+" ",f.baseId=F,t+=" "+d+" = "+m+"; ",I&&S?(w="ifClause"+a,t+=" var "+w+" = 'then'; "):w="'then'",t+=" } ",S&&(t+=" else { ")):t+=" if (!"+m+") { ",S&&(f.schema=e.schema.else,f.schemaPath=e.schemaPath+".else",f.errSchemaPath=e.errSchemaPath+"/else",t+=" "+e.validate(f)+" ",f.baseId=F,t+=" "+d+" = "+m+"; ",I&&S?(w="ifClause"+a,t+=" var "+w+" = 'else'; "):w="'else'",t+=" } "),t+=" if (!"+d+") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'if' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { failingKeyword: "+w+" } ",e.opts.messages!==!1&&(t+=` , message: 'should match "' + `+w+` + '" schema' `),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&u&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; "),t+=" } ",u&&(t+=" else { ")}else u&&(t+=" if (true) { ");return t}),op}var sp,lp;function lw(){return lp||(lp=1,sp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,c="data"+(o||""),d="valid"+a,p="errs__"+a,f=e.util.copy(e),m="";f.level++;var y="valid"+f.level,b="i"+a,I=f.dataLevel=e.dataLevel+1,S="data"+I,F=e.baseId;if(t+="var "+p+" = errors;var "+d+";",Array.isArray(n)){var w=e.schema.additionalItems;if(w===!1){t+=" "+d+" = "+c+".length <= "+n.length+"; ";var T=l;l=e.errSchemaPath+"/additionalItems",t+=" if (!"+d+") { ";var E=E||[];E.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+n.length+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have more than "+n.length+" items' "),e.opts.verbose&&(t+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var P=t;t=E.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+P+"]); ":t+=" validate.errors = ["+P+"]; return false; ":t+=" var err = "+P+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",l=T,u&&(m+="}",t+=" else { ")}var O=n;if(O){for(var j,x=-1,C=O.length-1;x<C;)if(j=O[x+=1],e.opts.strictKeywords?typeof j=="object"&&Object.keys(j).length>0||j===!1:e.util.schemaHasRules(j,e.RULES.all)){t+=" "+y+" = true; if ("+c+".length > "+x+") { ";var k=c+"["+x+"]";f.schema=j,f.schemaPath=s+"["+x+"]",f.errSchemaPath=l+"/"+x,f.errorPath=e.util.getPathExpr(e.errorPath,x,e.opts.jsonPointers,!0),f.dataPathArr[I]=x;var B=e.validate(f);f.baseId=F,e.util.varOccurences(B,S)<2?t+=" "+e.util.varReplace(B,S,k)+" ":t+=" var "+S+" = "+k+"; "+B+" ",t+=" } ",u&&(t+=" if ("+y+") { ",m+="}")}}if(typeof w=="object"&&(e.opts.strictKeywords?typeof w=="object"&&Object.keys(w).length>0||w===!1:e.util.schemaHasRules(w,e.RULES.all))){f.schema=w,f.schemaPath=e.schemaPath+".additionalItems",f.errSchemaPath=e.errSchemaPath+"/additionalItems",t+=" "+y+" = true; if ("+c+".length > "+n.length+") { for (var "+b+" = "+n.length+"; "+b+" < "+c+".length; "+b+"++) { ",f.errorPath=e.util.getPathExpr(e.errorPath,b,e.opts.jsonPointers,!0);var k=c+"["+b+"]";f.dataPathArr[I]=b;var B=e.validate(f);f.baseId=F,e.util.varOccurences(B,S)<2?t+=" "+e.util.varReplace(B,S,k)+" ":t+=" var "+S+" = "+k+"; "+B+" ",u&&(t+=" if (!"+y+") break; "),t+=" } } ",u&&(t+=" if ("+y+") { ",m+="}")}}else if(e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all)){f.schema=n,f.schemaPath=s,f.errSchemaPath=l,t+=" for (var "+b+" = 0; "+b+" < "+c+".length; "+b+"++) { ",f.errorPath=e.util.getPathExpr(e.errorPath,b,e.opts.jsonPointers,!0);var k=c+"["+b+"]";f.dataPathArr[I]=b;var B=e.validate(f);f.baseId=F,e.util.varOccurences(B,S)<2?t+=" "+e.util.varReplace(B,S,k)+" ":t+=" var "+S+" = "+k+"; "+B+" ",u&&(t+=" if (!"+y+") break; "),t+=" }"}return u&&(t+=" "+m+" if ("+p+" == errors) {"),t}),sp}var pp,dp;function cp(){return dp||(dp=1,pp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,F,c="data"+(o||""),d=e.opts.$data&&n&&n.$data,p;d?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n;var f=r=="maximum",m=f?"exclusiveMaximum":"exclusiveMinimum",y=e.schema[m],b=e.opts.$data&&y&&y.$data,I=f?"<":">",S=f?">":"<",F=void 0;if(!(d||typeof n=="number"||n===void 0))throw new Error(r+" must be number");if(!(b||y===void 0||typeof y=="number"||typeof y=="boolean"))throw new Error(m+" must be number or boolean");if(b){var w=e.util.getData(y.$data,o,e.dataPathArr),T="exclusive"+a,E="exclType"+a,P="exclIsNumber"+a,O="op"+a,j="' + "+O+" + '";t+=" var schemaExcl"+a+" = "+w+"; ",w="schemaExcl"+a,t+=" var "+T+"; var "+E+" = typeof "+w+"; if ("+E+" != 'boolean' && "+E+" != 'undefined' && "+E+" != 'number') { ";var F=m,x=x||[];x.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(F||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: '"+m+" should be boolean' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var C=t;t=x.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+C+"]); ":t+=" validate.errors = ["+C+"]; return false; ":t+=" var err = "+C+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else if ( ",d&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),t+=" "+E+" == 'number' ? ( ("+T+" = "+p+" === undefined || "+w+" "+I+"= "+p+") ? "+c+" "+S+"= "+w+" : "+c+" "+S+" "+p+" ) : ( ("+T+" = "+w+" === true) ? "+c+" "+S+"= "+p+" : "+c+" "+S+" "+p+" ) || "+c+" !== "+c+") { var op"+a+" = "+T+" ? '"+I+"' : '"+I+"='; ",n===void 0&&(F=m,l=e.errSchemaPath+"/"+m,p=w,d=b)}else{var P=typeof y=="number",j=I;if(P&&d){var O="'"+j+"'";t+=" if ( ",d&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),t+=" ( "+p+" === undefined || "+y+" "+I+"= "+p+" ? "+c+" "+S+"= "+y+" : "+c+" "+S+" "+p+" ) || "+c+" !== "+c+") { "}else{P&&n===void 0?(T=!0,F=m,l=e.errSchemaPath+"/"+m,p=y,S+="="):(P&&(p=Math[f?"min":"max"](y,n)),y===(P?p:!0)?(T=!0,F=m,l=e.errSchemaPath+"/"+m,S+="="):(T=!1,j+="="));var O="'"+j+"'";t+=" if ( ",d&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),t+=" "+c+" "+S+" "+p+" || "+c+" !== "+c+") { "}}F=F||r;var x=x||[];x.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(F||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { comparison: "+O+", limit: "+p+", exclusive: "+T+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be "+j+" ",d?t+="' + "+p:t+=""+p+"'"),e.opts.verbose&&(t+=" , schema: ",d?t+="validate.schema"+s:t+=""+n,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var C=t;return t=x.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+C+"]); ":t+=" validate.errors = ["+C+"]; return false; ":t+=" var err = "+C+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",u&&(t+=" else { "),t}),pp}var up,fp;function hp(){return fp||(fp=1,up=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,m,c="data"+(o||""),d=e.opts.$data&&n&&n.$data,p;if(d?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n,!(d||typeof n=="number"))throw new Error(r+" must be number");var f=r=="maxItems"?">":"<";t+="if ( ",d&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),t+=" "+c+".length "+f+" "+p+") { ";var m=r,y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(m||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+p+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have ",r=="maxItems"?t+="more":t+="fewer",t+=" than ",d?t+="' + "+p+" + '":t+=""+n,t+=" items' "),e.opts.verbose&&(t+=" , schema: ",d?t+="validate.schema"+s:t+=""+n,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var b=t;return t=y.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",u&&(t+=" else { "),t}),up}var mp,yp;function gp(){return yp||(yp=1,mp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,m,c="data"+(o||""),d=e.opts.$data&&n&&n.$data,p;if(d?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n,!(d||typeof n=="number"))throw new Error(r+" must be number");var f=r=="maxLength"?">":"<";t+="if ( ",d&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),e.opts.unicode===!1?t+=" "+c+".length ":t+=" ucs2length("+c+") ",t+=" "+f+" "+p+") { ";var m=r,y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(m||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+p+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT be ",r=="maxLength"?t+="longer":t+="shorter",t+=" than ",d?t+="' + "+p+" + '":t+=""+n,t+=" characters' "),e.opts.verbose&&(t+=" , schema: ",d?t+="validate.schema"+s:t+=""+n,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var b=t;return t=y.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",u&&(t+=" else { "),t}),mp}var bp,vp;function Sp(){return vp||(vp=1,bp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,m,c="data"+(o||""),d=e.opts.$data&&n&&n.$data,p;if(d?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n,!(d||typeof n=="number"))throw new Error(r+" must be number");var f=r=="maxProperties"?">":"<";t+="if ( ",d&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),t+=" Object.keys("+c+").length "+f+" "+p+") { ";var m=r,y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(m||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+p+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have ",r=="maxProperties"?t+="more":t+="fewer",t+=" than ",d?t+="' + "+p+" + '":t+=""+n,t+=" properties' "),e.opts.verbose&&(t+=" , schema: ",d?t+="validate.schema"+s:t+=""+n,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var b=t;return t=y.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",u&&(t+=" else { "),t}),bp}var wp,xp;function pw(){return xp||(xp=1,wp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,c="data"+(o||""),d=e.opts.$data&&n&&n.$data,p;if(d?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n,!(d||typeof n=="number"))throw new Error(r+" must be number");t+="var division"+a+";if (",d&&(t+=" "+p+" !== undefined && ( typeof "+p+" != 'number' || "),t+=" (division"+a+" = "+c+" / "+p+", ",e.opts.multipleOfPrecision?t+=" Math.abs(Math.round(division"+a+") - division"+a+") > 1e-"+e.opts.multipleOfPrecision+" ":t+=" division"+a+" !== parseInt(division"+a+") ",t+=" ) ",d&&(t+=" ) "),t+=" ) { ";var f=f||[];f.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { multipleOf: "+p+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be multiple of ",d?t+="' + "+p:t+=""+p+"'"),e.opts.verbose&&(t+=" , schema: ",d?t+="validate.schema"+s:t+=""+n,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var m=t;return t=f.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+m+"]); ":t+=" validate.errors = ["+m+"]; return false; ":t+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",u&&(t+=" else { "),t}),wp}var Ip,Cp;function dw(){return Cp||(Cp=1,Ip=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,c="data"+(o||""),d="errs__"+a,p=e.util.copy(e);p.level++;var f="valid"+p.level;if(e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all)){p.schema=n,p.schemaPath=s,p.errSchemaPath=l,t+=" var "+d+" = errors; ";var m=e.compositeRule;e.compositeRule=p.compositeRule=!0,p.createErrors=!1;var y;p.opts.allErrors&&(y=p.opts.allErrors,p.opts.allErrors=!1),t+=" "+e.validate(p)+" ",p.createErrors=!0,y&&(p.opts.allErrors=y),e.compositeRule=p.compositeRule=m,t+=" if ("+f+") { ";var b=b||[];b.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should NOT be valid' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var I=t;t=b.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+I+"]); ":t+=" validate.errors = ["+I+"]; return false; ":t+=" var err = "+I+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else { errors = "+d+"; if (vErrors !== null) { if ("+d+") vErrors.length = "+d+"; else vErrors = null; } ",e.opts.allErrors&&(t+=" } ")}else t+=" var err = ",e.createErrors!==!1?(t+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should NOT be valid' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u&&(t+=" if (false) { ");return t}),Ip}var Tp,Ap;function cw(){return Ap||(Ap=1,Tp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,c="data"+(o||""),d="valid"+a,p="errs__"+a,f=e.util.copy(e),m="";f.level++;var y="valid"+f.level,b=f.baseId,I="prevValid"+a,S="passingSchemas"+a;t+="var "+p+" = errors , "+I+" = false , "+d+" = false , "+S+" = null; ";var F=e.compositeRule;e.compositeRule=f.compositeRule=!0;var w=n;if(w)for(var T,E=-1,P=w.length-1;E<P;)T=w[E+=1],(e.opts.strictKeywords?typeof T=="object"&&Object.keys(T).length>0||T===!1:e.util.schemaHasRules(T,e.RULES.all))?(f.schema=T,f.schemaPath=s+"["+E+"]",f.errSchemaPath=l+"/"+E,t+=" "+e.validate(f)+" ",f.baseId=b):t+=" var "+y+" = true; ",E&&(t+=" if ("+y+" && "+I+") { "+d+" = false; "+S+" = ["+S+", "+E+"]; } else { ",m+="}"),t+=" if ("+y+") { "+d+" = "+I+" = true; "+S+" = "+E+"; }";return e.compositeRule=f.compositeRule=F,t+=""+m+"if (!"+d+") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { passingSchemas: "+S+" } ",e.opts.messages!==!1&&(t+=" , message: 'should match exactly one schema in oneOf' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&u&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; "),t+="} else { errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; }",e.opts.allErrors&&(t+=" } "),t}),Tp}var Pp,Fp;function uw(){return Fp||(Fp=1,Pp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,c="data"+(o||""),d=e.opts.$data&&n&&n.$data,p;d?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n;var f=d?"(new RegExp("+p+"))":e.usePattern(n);t+="if ( ",d&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'string') || "),t+=" !"+f+".test("+c+") ) { ";var m=m||[];m.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'pattern' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { pattern: ",d?t+=""+p:t+=""+e.util.toQuotedString(n),t+=" } ",e.opts.messages!==!1&&(t+=` , message: 'should match pattern "`,d?t+="' + "+p+" + '":t+=""+e.util.escapeQuotes(n),t+=`"' `),e.opts.verbose&&(t+=" , schema: ",d?t+="validate.schema"+s:t+=""+e.util.toQuotedString(n),t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var y=t;return t=m.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+y+"]); ":t+=" validate.errors = ["+y+"]; return false; ":t+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",u&&(t+=" else { "),t}),Pp}var Op,Ep;function fw(){return Ep||(Ep=1,Op=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,c="data"+(o||""),d="errs__"+a,p=e.util.copy(e),f="";p.level++;var m="valid"+p.level,y="key"+a,b="idx"+a,I=p.dataLevel=e.dataLevel+1,S="data"+I,F="dataProperties"+a,w=Object.keys(n||{}).filter(K),T=e.schema.patternProperties||{},E=Object.keys(T).filter(K),P=e.schema.additionalProperties,O=w.length||E.length,j=P===!1,x=typeof P=="object"&&Object.keys(P).length,C=e.opts.removeAdditional,k=j||x||C,B=e.opts.ownProperties,M=e.baseId,J=e.schema.required;if(J&&!(e.opts.$data&&J.$data)&&J.length<e.opts.loopRequired)var Z=e.util.toHash(J);function K(Zi){return Zi!=="__proto__"}if(t+="var "+d+" = errors;var "+m+" = true;",B&&(t+=" var "+F+" = undefined;"),k){if(B?t+=" "+F+" = "+F+" || Object.keys("+c+"); for (var "+b+"=0; "+b+"<"+F+".length; "+b+"++) { var "+y+" = "+F+"["+b+"]; ":t+=" for (var "+y+" in "+c+") { ",O){if(t+=" var isAdditional"+a+" = !(false ",w.length)if(w.length>8)t+=" || validate.schema"+s+".hasOwnProperty("+y+") ";else{var X=w;if(X)for(var Q,fe=-1,$e=X.length-1;fe<$e;)Q=X[fe+=1],t+=" || "+y+" == "+e.util.toQuotedString(Q)+" "}if(E.length){var Ee=E;if(Ee)for(var Ie,ot=-1,We=Ee.length-1;ot<We;)Ie=Ee[ot+=1],t+=" || "+e.usePattern(Ie)+".test("+y+") "}t+=" ); if (isAdditional"+a+") { "}if(C=="all")t+=" delete "+c+"["+y+"]; ";else{var A=e.errorPath,_="' + "+y+" + '";if(e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(e.errorPath,y,e.opts.jsonPointers)),j)if(C)t+=" delete "+c+"["+y+"]; ";else{t+=" "+m+" = false; ";var N=l;l=e.errSchemaPath+"/additionalProperties";var z=z||[];z.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'additionalProperties' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { additionalProperty: '"+_+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is an invalid additional property":t+="should NOT have additional properties",t+="' "),e.opts.verbose&&(t+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var R=t;t=z.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+R+"]); ":t+=" validate.errors = ["+R+"]; return false; ":t+=" var err = "+R+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",l=N,u&&(t+=" break; ")}else if(x)if(C=="failing"){t+=" var "+d+" = errors; ";var W=e.compositeRule;e.compositeRule=p.compositeRule=!0,p.schema=P,p.schemaPath=e.schemaPath+".additionalProperties",p.errSchemaPath=e.errSchemaPath+"/additionalProperties",p.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,y,e.opts.jsonPointers);var H=c+"["+y+"]";p.dataPathArr[I]=y;var Y=e.validate(p);p.baseId=M,e.util.varOccurences(Y,S)<2?t+=" "+e.util.varReplace(Y,S,H)+" ":t+=" var "+S+" = "+H+"; "+Y+" ",t+=" if (!"+m+") { errors = "+d+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+c+"["+y+"]; } ",e.compositeRule=p.compositeRule=W}else{p.schema=P,p.schemaPath=e.schemaPath+".additionalProperties",p.errSchemaPath=e.errSchemaPath+"/additionalProperties",p.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,y,e.opts.jsonPointers);var H=c+"["+y+"]";p.dataPathArr[I]=y;var Y=e.validate(p);p.baseId=M,e.util.varOccurences(Y,S)<2?t+=" "+e.util.varReplace(Y,S,H)+" ":t+=" var "+S+" = "+H+"; "+Y+" ",u&&(t+=" if (!"+m+") break; ")}e.errorPath=A}O&&(t+=" } "),t+=" } ",u&&(t+=" if ("+m+") { ",f+="}")}var ge=e.opts.useDefaults&&!e.compositeRule;if(w.length){var be=w;if(be)for(var Q,ne=-1,ae=be.length-1;ne<ae;){Q=be[ne+=1];var le=n[Q];if(e.opts.strictKeywords?typeof le=="object"&&Object.keys(le).length>0||le===!1:e.util.schemaHasRules(le,e.RULES.all)){var ze=e.util.getProperty(Q),H=c+ze,ft=ge&&le.default!==void 0;p.schema=le,p.schemaPath=s+ze,p.errSchemaPath=l+"/"+e.util.escapeFragment(Q),p.errorPath=e.util.getPath(e.errorPath,Q,e.opts.jsonPointers),p.dataPathArr[I]=e.util.toQuotedString(Q);var Y=e.validate(p);if(p.baseId=M,e.util.varOccurences(Y,S)<2){Y=e.util.varReplace(Y,S,H);var ve=H}else{var ve=S;t+=" var "+S+" = "+H+"; "}if(ft)t+=" "+Y+" ";else{if(Z&&Z[Q]){t+=" if ( "+ve+" === undefined ",B&&(t+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(Q)+"') "),t+=") { "+m+" = false; ";var A=e.errorPath,N=l,Le=e.util.escapeQuotes(Q);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(A,Q,e.opts.jsonPointers)),l=e.errSchemaPath+"/required";var z=z||[];z.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+Le+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+Le+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var R=t;t=z.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+R+"]); ":t+=" validate.errors = ["+R+"]; return false; ":t+=" var err = "+R+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",l=N,e.errorPath=A,t+=" } else { "}else u?(t+=" if ( "+ve+" === undefined ",B&&(t+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(Q)+"') "),t+=") { "+m+" = true; } else { "):(t+=" if ("+ve+" !== undefined ",B&&(t+=" && Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(Q)+"') "),t+=" ) { ");t+=" "+Y+" } "}}u&&(t+=" if ("+m+") { ",f+="}")}}if(E.length){var Se=E;if(Se)for(var Ie,Lr=-1,Ji=Se.length-1;Lr<Ji;){Ie=Se[Lr+=1];var le=T[Ie];if(e.opts.strictKeywords?typeof le=="object"&&Object.keys(le).length>0||le===!1:e.util.schemaHasRules(le,e.RULES.all)){p.schema=le,p.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(Ie),p.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(Ie),B?t+=" "+F+" = "+F+" || Object.keys("+c+"); for (var "+b+"=0; "+b+"<"+F+".length; "+b+"++) { var "+y+" = "+F+"["+b+"]; ":t+=" for (var "+y+" in "+c+") { ",t+=" if ("+e.usePattern(Ie)+".test("+y+")) { ",p.errorPath=e.util.getPathExpr(e.errorPath,y,e.opts.jsonPointers);var H=c+"["+y+"]";p.dataPathArr[I]=y;var Y=e.validate(p);p.baseId=M,e.util.varOccurences(Y,S)<2?t+=" "+e.util.varReplace(Y,S,H)+" ":t+=" var "+S+" = "+H+"; "+Y+" ",u&&(t+=" if (!"+m+") break; "),t+=" } ",u&&(t+=" else "+m+" = true; "),t+=" } ",u&&(t+=" if ("+m+") { ",f+="}")}}}return u&&(t+=" "+f+" if ("+d+" == errors) {"),t}),Op}var Lp,Dp;function hw(){return Dp||(Dp=1,Lp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,c="data"+(o||""),d="errs__"+a,p=e.util.copy(e),f="";p.level++;var m="valid"+p.level;if(t+="var "+d+" = errors;",e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all)){p.schema=n,p.schemaPath=s,p.errSchemaPath=l;var y="key"+a,b="idx"+a,I="i"+a,S="' + "+y+" + '",F=p.dataLevel=e.dataLevel+1,w="data"+F,T="dataProperties"+a,E=e.opts.ownProperties,P=e.baseId;E&&(t+=" var "+T+" = undefined; "),E?t+=" "+T+" = "+T+" || Object.keys("+c+"); for (var "+b+"=0; "+b+"<"+T+".length; "+b+"++) { var "+y+" = "+T+"["+b+"]; ":t+=" for (var "+y+" in "+c+") { ",t+=" var startErrs"+a+" = errors; ";var O=y,j=e.compositeRule;e.compositeRule=p.compositeRule=!0;var x=e.validate(p);p.baseId=P,e.util.varOccurences(x,w)<2?t+=" "+e.util.varReplace(x,w,O)+" ":t+=" var "+w+" = "+O+"; "+x+" ",e.compositeRule=p.compositeRule=j,t+=" if (!"+m+") { for (var "+I+"=startErrs"+a+"; "+I+"<errors; "+I+"++) { vErrors["+I+"].propertyName = "+y+"; } var err = ",e.createErrors!==!1?(t+=" { keyword: 'propertyNames' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { propertyName: '"+S+"' } ",e.opts.messages!==!1&&(t+=" , message: 'property name \\'"+S+"\\' is invalid' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&u&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; "),u&&(t+=" break; "),t+=" } }"}return u&&(t+=" "+f+" if ("+d+" == errors) {"),t}),Lp}var $p,jp;function mw(){return jp||(jp=1,$p=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,c="data"+(o||""),d="valid"+a,p=e.opts.$data&&n&&n.$data;p&&(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ");var f="schema"+a;if(!p)if(n.length<e.opts.loopRequired&&e.schema.properties&&Object.keys(e.schema.properties).length){var F=[],m=n;if(m)for(var y,b=-1,I=m.length-1;b<I;){y=m[b+=1];var S=e.schema.properties[y];S&&(e.opts.strictKeywords?typeof S=="object"&&Object.keys(S).length>0||S===!1:e.util.schemaHasRules(S,e.RULES.all))||(F[F.length]=y)}}else var F=n;if(p||F.length){var w=e.errorPath,T=p||F.length>=e.opts.loopRequired,E=e.opts.ownProperties;if(u)if(t+=" var missing"+a+"; ",T){p||(t+=" var "+f+" = validate.schema"+s+"; ");var P="i"+a,O="schema"+a+"["+P+"]",j="' + "+O+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(w,O,e.opts.jsonPointers)),t+=" var "+d+" = true; ",p&&(t+=" if (schema"+a+" === undefined) "+d+" = true; else if (!Array.isArray(schema"+a+")) "+d+" = false; else {"),t+=" for (var "+P+" = 0; "+P+" < "+f+".length; "+P+"++) { "+d+" = "+c+"["+f+"["+P+"]] !== undefined ",E&&(t+=" && Object.prototype.hasOwnProperty.call("+c+", "+f+"["+P+"]) "),t+="; if (!"+d+") break; } ",p&&(t+=" } "),t+=" if (!"+d+") { ";var x=x||[];x.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+j+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+j+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var C=t;t=x.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+C+"]); ":t+=" validate.errors = ["+C+"]; return false; ":t+=" var err = "+C+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else { "}else{t+=" if ( ";var k=F;if(k)for(var B,P=-1,M=k.length-1;P<M;){B=k[P+=1],P&&(t+=" || ");var J=e.util.getProperty(B),Z=c+J;t+=" ( ( "+Z+" === undefined ",E&&(t+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(B)+"') "),t+=") && (missing"+a+" = "+e.util.toQuotedString(e.opts.jsonPointers?B:J)+") ) "}t+=") { ";var O="missing"+a,j="' + "+O+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(w,O,!0):w+" + "+O);var x=x||[];x.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+j+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+j+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var C=t;t=x.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+C+"]); ":t+=" validate.errors = ["+C+"]; return false; ":t+=" var err = "+C+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else { "}else if(T){p||(t+=" var "+f+" = validate.schema"+s+"; ");var P="i"+a,O="schema"+a+"["+P+"]",j="' + "+O+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(w,O,e.opts.jsonPointers)),p&&(t+=" if ("+f+" && !Array.isArray("+f+")) { var err = ",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+j+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+j+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if ("+f+" !== undefined) { "),t+=" for (var "+P+" = 0; "+P+" < "+f+".length; "+P+"++) { if ("+c+"["+f+"["+P+"]] === undefined ",E&&(t+=" || ! Object.prototype.hasOwnProperty.call("+c+", "+f+"["+P+"]) "),t+=") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+j+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+j+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ",p&&(t+=" } ")}else{var K=F;if(K)for(var B,X=-1,Q=K.length-1;X<Q;){B=K[X+=1];var J=e.util.getProperty(B),j=e.util.escapeQuotes(B),Z=c+J;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(w,B,e.opts.jsonPointers)),t+=" if ( "+Z+" === undefined ",E&&(t+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(B)+"') "),t+=") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+j+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+j+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}e.errorPath=w}else u&&(t+=" if (true) {");return t}),$p}var _p,Rp;function yw(){return Rp||(Rp=1,_p=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,c="data"+(o||""),d="valid"+a,p=e.opts.$data&&n&&n.$data,f;if(p?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",f="schema"+a):f=n,(n||p)&&e.opts.uniqueItems!==!1){p&&(t+=" var "+d+"; if ("+f+" === false || "+f+" === undefined) "+d+" = true; else if (typeof "+f+" != 'boolean') "+d+" = false; else { "),t+=" var i = "+c+".length , "+d+" = true , j; if (i > 1) { ";var m=e.schema.items&&e.schema.items.type,y=Array.isArray(m);if(!m||m=="object"||m=="array"||y&&(m.indexOf("object")>=0||m.indexOf("array")>=0))t+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+c+"[i], "+c+"[j])) { "+d+" = false; break outer; } } } ";else{t+=" var itemIndices = {}, item; for (;i--;) { var item = "+c+"[i]; ";var b="checkDataType"+(y?"s":"");t+=" if ("+e.util[b](m,"item",e.opts.strictNumbers,!0)+") continue; ",y&&(t+=` if (typeof item == 'string') item = '"' + item; `),t+=" if (typeof itemIndices[item] == 'number') { "+d+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}t+=" } ",p&&(t+=" } "),t+=" if (!"+d+") { ";var I=I||[];I.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { i: i, j: j } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),e.opts.verbose&&(t+=" , schema: ",p?t+="validate.schema"+s:t+=""+n,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var S=t;t=I.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+S+"]); ":t+=" validate.errors = ["+S+"]; return false; ":t+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",u&&(t+=" else { ")}else u&&(t+=" if (true) { ");return t}),_p}var kp,Bp;function gw(){return Bp||(Bp=1,kp={$ref:XS(),allOf:YS(),anyOf:ew(),$comment:tw(),const:rw(),contains:iw(),dependencies:aw(),enum:ow(),format:nw(),if:sw(),items:lw(),maximum:cp(),minimum:cp(),maxItems:hp(),minItems:hp(),maxLength:gp(),minLength:gp(),maxProperties:Sp(),minProperties:Sp(),multipleOf:pw(),not:dw(),oneOf:cw(),pattern:uw(),properties:fw(),propertyNames:hw(),required:mw(),uniqueItems:yw(),validate:Ad()}),kp}var Oa,qp;function bw(){if(qp)return Oa;qp=1;var e=gw(),r=Er().toHash;return Oa=function(){var i=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}],t=["type","$comment"],a=["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"],o=["number","integer","string","array","object","boolean","null"];return i.all=r(t),i.types=r(o),i.forEach(function(n){n.rules=n.rules.map(function(s){var l;if(typeof s=="object"){var u=Object.keys(s)[0];l=s[u],s=u,l.forEach(function(d){t.push(d),i.all[d]=!0})}t.push(s);var c=i.all[s]={keyword:s,code:e[s],implements:l};return c}),i.all.$comment={keyword:"$comment",code:e.$comment},n.type&&(i.types[n.type]=n)}),i.keywords=r(t.concat(a)),i.custom={},i},Oa}var Ea,Mp;function vw(){if(Mp)return Ea;Mp=1;var e=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];return Ea=function(r,i){for(var t=0;t<i.length;t++){r=JSON.parse(JSON.stringify(r));var a=i[t].split("/"),o=r,n;for(n=1;n<a.length;n++)o=o[a[n]];for(n=0;n<e.length;n++){var s=e[n],l=o[s];l&&(o[s]={anyOf:[l,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]})}}return r},Ea}var La,Np;function Sw(){if(Np)return La;Np=1;var e=Ya().MissingRef;La=r;function r(i,t,a){var o=this;if(typeof this._opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");typeof t=="function"&&(a=t,t=void 0);var n=s(i).then(function(){var u=o._addSchema(i,void 0,t);return u.validate||l(u)});return a&&n.then(function(u){a(null,u)},a),n;function s(u){var c=u.$schema;return c&&!o.getSchema(c)?r.call(o,{$ref:c},!0):Promise.resolve()}function l(u){try{return o._compile(u)}catch(d){if(d instanceof e)return c(d);throw d}function c(d){var p=d.missingSchema;if(y(p))throw new Error("Schema "+p+" is loaded but "+d.missingRef+" cannot be resolved");var f=o._loadingSchemas[p];return f||(f=o._loadingSchemas[p]=o._opts.loadSchema(p),f.then(m,m)),f.then(function(b){if(!y(p))return s(b).then(function(){y(p)||o.addSchema(b,p,void 0,t)})}).then(function(){return l(u)});function m(){delete o._loadingSchemas[p]}function y(b){return o._refs[b]||o._schemas[b]}}}}return La}var Wp,zp;function ww(){return zp||(zp=1,Wp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,c,d="data"+(o||""),p="valid"+a,f="errs__"+a,m=e.opts.$data&&n&&n.$data,y;m?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",y="schema"+a):y=n;var b=this,I="definition"+a,S=b.definition,F="",w,T,E,P,O;if(m&&S.$data){O="keywordValidate"+a;var j=S.validateSchema;t+=" var "+I+" = RULES.custom['"+r+"'].definition; var "+O+" = "+I+".validate;"}else{if(P=e.useCustomRule(b,n,e.schema,e),!P)return;y="validate.schema"+s,O=P.code,w=S.compile,T=S.inline,E=S.macro}var x=O+".errors",C="i"+a,k="ruleErr"+a,B=S.async;if(B&&!e.async)throw new Error("async keyword in sync schema");if(T||E||(t+=""+x+" = null;"),t+="var "+f+" = errors;var "+p+";",m&&S.$data&&(F+="}",t+=" if ("+y+" === undefined) { "+p+" = true; } else { ",j&&(F+="}",t+=" "+p+" = "+I+".validateSchema("+y+"); if ("+p+") { ")),T)S.statements?t+=" "+P.validate+" ":t+=" "+p+" = "+P.validate+"; ";else if(E){var M=e.util.copy(e),F="";M.level++;var J="valid"+M.level;M.schema=P.validate,M.schemaPath="";var Z=e.compositeRule;e.compositeRule=M.compositeRule=!0;var K=e.validate(M).replace(/validate\.schema/g,O);e.compositeRule=M.compositeRule=Z,t+=" "+K}else{var X=X||[];X.push(t),t="",t+=" "+O+".call( ",e.opts.passContext?t+="this":t+="self",w||S.schema===!1?t+=" , "+d+" ":t+=" , "+y+" , "+d+" , validate.schema"+e.schemaPath+" ",t+=" , (dataPath || '')",e.errorPath!='""'&&(t+=" + "+e.errorPath);var Q=o?"data"+(o-1||""):"parentData",fe=o?e.dataPathArr[o]:"parentDataProperty";t+=" , "+Q+" , "+fe+" , rootData ) ";var $e=t;t=X.pop(),S.errors===!1?(t+=" "+p+" = ",B&&(t+="await "),t+=""+$e+"; "):B?(x="customErrors"+a,t+=" var "+x+" = null; try { "+p+" = await "+$e+"; } catch (e) { "+p+" = false; if (e instanceof ValidationError) "+x+" = e.errors; else throw e; } "):t+=" "+x+" = null; "+p+" = "+$e+"; "}if(S.modifying&&(t+=" if ("+Q+") "+d+" = "+Q+"["+fe+"];"),t+=""+F,S.valid)u&&(t+=" if (true) { ");else{t+=" if ( ",S.valid===void 0?(t+=" !",E?t+=""+J:t+=""+p):t+=" "+!S.valid+" ",t+=") { ",c=b.keyword;var X=X||[];X.push(t),t="";var X=X||[];X.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(c||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { keyword: '"+b.keyword+"' } ",e.opts.messages!==!1&&(t+=` , message: 'should pass "`+b.keyword+`" keyword validation' `),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var Ee=t;t=X.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+Ee+"]); ":t+=" validate.errors = ["+Ee+"]; return false; ":t+=" var err = "+Ee+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";var Ie=t;t=X.pop(),T?S.errors?S.errors!="full"&&(t+=" for (var "+C+"="+f+"; "+C+"<errors; "+C+"++) { var "+k+" = vErrors["+C+"]; if ("+k+".dataPath === undefined) "+k+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+k+".schemaPath === undefined) { "+k+'.schemaPath = "'+l+'"; } ',e.opts.verbose&&(t+=" "+k+".schema = "+y+"; "+k+".data = "+d+"; "),t+=" } "):S.errors===!1?t+=" "+Ie+" ":(t+=" if ("+f+" == errors) { "+Ie+" } else { for (var "+C+"="+f+"; "+C+"<errors; "+C+"++) { var "+k+" = vErrors["+C+"]; if ("+k+".dataPath === undefined) "+k+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+k+".schemaPath === undefined) { "+k+'.schemaPath = "'+l+'"; } ',e.opts.verbose&&(t+=" "+k+".schema = "+y+"; "+k+".data = "+d+"; "),t+=" } } "):E?(t+=" var err = ",e.createErrors!==!1?(t+=" { keyword: '"+(c||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { keyword: '"+b.keyword+"' } ",e.opts.messages!==!1&&(t+=` , message: 'should pass "`+b.keyword+`" keyword validation' `),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&u&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; ")):S.errors===!1?t+=" "+Ie+" ":(t+=" if (Array.isArray("+x+")) { if (vErrors === null) vErrors = "+x+"; else vErrors = vErrors.concat("+x+"); errors = vErrors.length; for (var "+C+"="+f+"; "+C+"<errors; "+C+"++) { var "+k+" = vErrors["+C+"]; if ("+k+".dataPath === undefined) "+k+".dataPath = (dataPath || '') + "+e.errorPath+"; "+k+'.schemaPath = "'+l+'"; ',e.opts.verbose&&(t+=" "+k+".schema = "+y+"; "+k+".data = "+d+"; "),t+=" } } else { "+Ie+" } "),t+=" } ",u&&(t+=" else { ")}return t}),Wp}var xw="http://json-schema.org/draft-07/schema#",Iw="http://json-schema.org/draft-07/schema#",Cw="Core schema meta-schema",Tw={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:[]}},Aw=["object","boolean"],Pw={$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:"#"}},Pd={$schema:xw,$id:Iw,title:Cw,definitions:Tw,type:Aw,properties:Pw,default:!0},Da,Vp;function Fw(){if(Vp)return Da;Vp=1;var e=Pd;return Da={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:e.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:e.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}},Da}var $a,Up;function Ow(){if(Up)return $a;Up=1;var e=/^[a-z_$][a-z0-9_$-]*$/i,r=ww(),i=Fw();$a={add:t,get:a,remove:o,validate:n};function t(s,l){var u=this.RULES;if(u.keywords[s])throw new Error("Keyword "+s+" is already defined");if(!e.test(s))throw new Error("Keyword "+s+" is not a valid identifier");if(l){this.validateKeyword(l,!0);var c=l.type;if(Array.isArray(c))for(var d=0;d<c.length;d++)f(s,c[d],l);else f(s,c,l);var p=l.metaSchema;p&&(l.$data&&this._opts.$data&&(p={anyOf:[p,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]}),l.validateSchema=this.compile(p,!0))}u.keywords[s]=u.all[s]=!0;function f(m,y,b){for(var I,S=0;S<u.length;S++){var F=u[S];if(F.type==y){I=F;break}}I||(I={type:y,rules:[]},u.push(I));var w={keyword:m,definition:b,custom:!0,code:r,implements:b.implements};I.rules.push(w),u.custom[m]=w}return this}function a(s){var l=this.RULES.custom[s];return l?l.definition:this.RULES.keywords[s]||!1}function o(s){var l=this.RULES;delete l.keywords[s],delete l.all[s],delete l.custom[s];for(var u=0;u<l.length;u++)for(var c=l[u].rules,d=0;d<c.length;d++)if(c[d].keyword==s){c.splice(d,1);break}return this}function n(s,l){n.errors=null;var u=this._validateKeyword=this._validateKeyword||this.compile(i,!0);if(u(s))return!0;if(n.errors=u.errors,l)throw new Error("custom keyword definition is invalid: "+this.errorsText(u.errors));return!1}return $a}var Ew="http://json-schema.org/draft-07/schema#",Lw="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",Dw="Meta-schema for $data reference (JSON Schema extension proposal)",$w="object",jw=["$data"],_w={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},Rw=!1,kw={$schema:Ew,$id:Lw,description:Dw,type:$w,required:jw,properties:_w,additionalProperties:Rw},ja,Gp;function Bw(){if(Gp)return ja;Gp=1;var e=KS(),r=Xa(),i=JS(),t=Cd(),a=Td(),o=ZS(),n=bw(),s=vw(),l=Er();ja=m,m.prototype.validate=y,m.prototype.compile=b,m.prototype.addSchema=I,m.prototype.addMetaSchema=S,m.prototype.validateSchema=F,m.prototype.getSchema=T,m.prototype.removeSchema=O,m.prototype.addFormat=K,m.prototype.errorsText=Z,m.prototype._addSchema=x,m.prototype._compile=C,m.prototype.compileAsync=Sw();var u=Ow();m.prototype.addKeyword=u.add,m.prototype.getKeyword=u.get,m.prototype.removeKeyword=u.remove,m.prototype.validateKeyword=u.validate;var c=Ya();m.ValidationError=c.Validation,m.MissingRefError=c.MissingRef,m.$dataMetaSchema=s;var d="http://json-schema.org/draft-07/schema",p=["removeAdditional","useDefaults","coerceTypes","strictDefaults"],f=["/properties"];function m(A){if(!(this instanceof m))return new m(A);A=this._opts=l.copy(A)||{},ot(this),this._schemas={},this._refs={},this._fragments={},this._formats=o(A.format),this._cache=A.cache||new i,this._loadingSchemas={},this._compilations=[],this.RULES=n(),this._getId=k(A),A.loopRequired=A.loopRequired||1/0,A.errorDataPath=="property"&&(A._errorDataPathProperty=!0),A.serialize===void 0&&(A.serialize=a),this._metaOpts=Ie(this),A.formats&&fe(this),A.keywords&&$e(this),X(this),typeof A.meta=="object"&&this.addMetaSchema(A.meta),A.nullable&&this.addKeyword("nullable",{metaSchema:{type:"boolean"}}),Q(this)}function y(A,_){var N;if(typeof A=="string"){if(N=this.getSchema(A),!N)throw new Error('no schema with key or ref "'+A+'"')}else{var z=this._addSchema(A);N=z.validate||this._compile(z)}var R=N(_);return N.$async!==!0&&(this.errors=N.errors),R}function b(A,_){var N=this._addSchema(A,void 0,_);return N.validate||this._compile(N)}function I(A,_,N,z){if(Array.isArray(A)){for(var R=0;R<A.length;R++)this.addSchema(A[R],void 0,N,z);return this}var W=this._getId(A);if(W!==void 0&&typeof W!="string")throw new Error("schema id must be string");return _=r.normalizeId(_||W),Ee(this,_),this._schemas[_]=this._addSchema(A,N,z,!0),this}function S(A,_,N){return this.addSchema(A,_,N,!0),this}function F(A,_){var N=A.$schema;if(N!==void 0&&typeof N!="string")throw new Error("$schema must be a string");if(N=N||this._opts.defaultMeta||w(this),!N)return this.logger.warn("meta-schema not available"),this.errors=null,!0;var z=this.validate(N,A);if(!z&&_){var R="schema is invalid: "+this.errorsText();if(this._opts.validateSchema=="log")this.logger.error(R);else throw new Error(R)}return z}function w(A){var _=A._opts.meta;return A._opts.defaultMeta=typeof _=="object"?A._getId(_)||_:A.getSchema(d)?d:void 0,A._opts.defaultMeta}function T(A){var _=P(this,A);switch(typeof _){case"object":return _.validate||this._compile(_);case"string":return this.getSchema(_);case"undefined":return E(this,A)}}function E(A,_){var N=r.schema.call(A,{schema:{}},_);if(N){var z=N.schema,R=N.root,W=N.baseId,H=e.call(A,z,R,void 0,W);return A._fragments[_]=new t({ref:_,fragment:!0,schema:z,root:R,baseId:W,validate:H}),H}}function P(A,_){return _=r.normalizeId(_),A._schemas[_]||A._refs[_]||A._fragments[_]}function O(A){if(A instanceof RegExp)return j(this,this._schemas,A),j(this,this._refs,A),this;switch(typeof A){case"undefined":return j(this,this._schemas),j(this,this._refs),this._cache.clear(),this;case"string":var _=P(this,A);return _&&this._cache.del(_.cacheKey),delete this._schemas[A],delete this._refs[A],this;case"object":var N=this._opts.serialize,z=N?N(A):A;this._cache.del(z);var R=this._getId(A);R&&(R=r.normalizeId(R),delete this._schemas[R],delete this._refs[R])}return this}function j(A,_,N){for(var z in _){var R=_[z];!R.meta&&(!N||N.test(z))&&(A._cache.del(R.cacheKey),delete _[z])}}function x(A,_,N,z){if(typeof A!="object"&&typeof A!="boolean")throw new Error("schema should be object or boolean");var R=this._opts.serialize,W=R?R(A):A,H=this._cache.get(W);if(H)return H;z=z||this._opts.addUsedSchema!==!1;var Y=r.normalizeId(this._getId(A));Y&&z&&Ee(this,Y);var ge=this._opts.validateSchema!==!1&&!_,be;ge&&!(be=Y&&Y==r.normalizeId(A.$schema))&&this.validateSchema(A,!0);var ne=r.ids.call(this,A),ae=new t({id:Y,schema:A,localRefs:ne,cacheKey:W,meta:N});return Y[0]!="#"&&z&&(this._refs[Y]=ae),this._cache.put(W,ae),ge&&be&&this.validateSchema(A,!0),ae}function C(A,_){if(A.compiling)return A.validate=R,R.schema=A.schema,R.errors=null,R.root=_||R,A.schema.$async===!0&&(R.$async=!0),R;A.compiling=!0;var N;A.meta&&(N=this._opts,this._opts=this._metaOpts);var z;try{z=e.call(this,A.schema,_,A.localRefs)}catch(W){throw delete A.validate,W}finally{A.compiling=!1,A.meta&&(this._opts=N)}return A.validate=z,A.refs=z.refs,A.refVal=z.refVal,A.root=z.root,z;function R(){var W=A.validate,H=W.apply(this,arguments);return R.errors=W.errors,H}}function k(A){switch(A.schemaId){case"auto":return J;case"id":return B;default:return M}}function B(A){return A.$id&&this.logger.warn("schema $id ignored",A.$id),A.id}function M(A){return A.id&&this.logger.warn("schema id ignored",A.id),A.$id}function J(A){if(A.$id&&A.id&&A.$id!=A.id)throw new Error("schema $id is different from id");return A.$id||A.id}function Z(A,_){if(A=A||this.errors,!A)return"No errors";_=_||{};for(var N=_.separator===void 0?", ":_.separator,z=_.dataVar===void 0?"data":_.dataVar,R="",W=0;W<A.length;W++){var H=A[W];H&&(R+=z+H.dataPath+" "+H.message+N)}return R.slice(0,-N.length)}function K(A,_){return typeof _=="string"&&(_=new RegExp(_)),this._formats[A]=_,this}function X(A){var _;if(A._opts.$data&&(_=kw,A.addMetaSchema(_,_.$id,!0)),A._opts.meta!==!1){var N=Pd;A._opts.$data&&(N=s(N,f)),A.addMetaSchema(N,d,!0),A._refs["http://json-schema.org/schema"]=d}}function Q(A){var _=A._opts.schemas;if(_)if(Array.isArray(_))A.addSchema(_);else for(var N in _)A.addSchema(_[N],N)}function fe(A){for(var _ in A._opts.formats){var N=A._opts.formats[_];A.addFormat(_,N)}}function $e(A){for(var _ in A._opts.keywords){var N=A._opts.keywords[_];A.addKeyword(_,N)}}function Ee(A,_){if(A._schemas[_]||A._refs[_])throw new Error('schema with key or id "'+_+'" already exists')}function Ie(A){for(var _=l.copy(A._opts),N=0;N<p.length;N++)delete _[p[N]];return _}function ot(A){var _=A._opts.logger;if(_===!1)A.logger={log:We,warn:We,error:We};else{if(_===void 0&&(_=console),!(typeof _=="object"&&_.log&&_.warn&&_.error))throw new Error("logger must implement log, warn and error methods");A.logger=_}}function We(){}return ja}var qw=Bw(),Mw=VS(qw),Fd={NonNumericAggregation:"nonNumericAggregation",DuplicateSeriesID:"duplicateSeriesId"},_t={Required:"required",MinLength:"minLength",MinItems:"minItems",MaxItems:"maxItems",Pattern:"pattern",AdditionalProperties:"additionalProperties",Enum:"enum",AnyOf:"anyOf"},M$={BadData:"badData",EmptyDataSet:"emptyDataSet",HistogramEmptyField:"histogramEmptyField",BarElementExceedsLimit:"barElementExceedsLimit",LineChartExceedsLimit:"lineChartExceedsLimit",BoxPlotExceedsLimit:"boxPlotExceedsLimit",BoxPlotOutliersExceedsLimit:"boxPlotOutliersExceedsLimit",PieChartExceedsLimit:"pieChartExceedsLimit",GaugeExceedsLimit:"gaugeExceedsLimit",PieChartMixOfNegativePositiveSlices:"PieChartMixOfNegativePositiveSlices",NegativeValueInSqrtCalculation:"negativeValueInSqrtCalculation",NegativeValueInLogCalculation:"negativeValueInLogCalculation",NegativeValueInXAxisLogScale:"negativeValueInXAxisLogScale",NegativeValueInYAxisLogScale:"negativeValueInYAxisLogScale"};function Nw(e){let r=e.lastIndexOf("/");return r!==-1?e.slice(r+1):e}async function Ww(e){let r=await It();return e.map(i=>{let t=i,a=i.dataPath.startsWith(".")?i.dataPath.substring(1):i.dataPath;switch(i.keyword){case _t.Required:t={...i,message:Ze(r.requiredProperty,{dataPath:a,missingProperty:i.params.missingProperty})};break;case _t.MinLength:t={...i,message:Ze(r.minLength,{dataPath:a,limit:i.params.limit.toString()})};break;case _t.MinItems:t={...i,message:Ze(r.minItems,{dataPath:a,limit:i.params.limit.toString()})};break;case _t.MaxItems:t={...i,message:Ze(r.maxItems,{dataPath:a,limit:i.params.limit.toString()})};break;case _t.Pattern:i.params.pattern==="\\w+"&&(t={...i,message:Ze(r.whiteSpacePattern,{dataPath:a}),params:{}});break;case _t.AdditionalProperties:t={...i,message:Ze(r.additionalProperty,{dataPath:a,additionalProperty:i.params.additionalProperty})};break;case _t.Enum:t={...i,message:Ze(r.enumValues,{dataPath:a,allowedValues:i.params.allowedValues.join(", ")})};break;case _t.AnyOf:{let o=[];i.schemaPath==="#/properties/legend/anyOf"&&(o=Gt.definitions.WebChart.properties.legend.anyOf.map(n=>Nw(n.$ref))),t={...i,params:o,message:Ze(r.anyOfValues,{dataPath:a,schemaOptions:o.join(", ")})};break}}return t})}function Mi(e,r){return{...e,$ref:`#/definitions/${r}`}}async function zw(e){let r,i=await It(),t=qe(e);try{await t.load()}catch{let a=t?.url??"",o=je(t)?.portalItem?.id??"";r={keyword:er.LayerLoadFailure,message:Ze(i.layerLoadFailure,{url:a,portalItemId:o}),params:{url:a,portalItemId:o}}}return r}function Vw(){let e=new Mw({allErrors:!0});return async r=>{let i=[],t=Ve(r?.series),a=Gt;switch(t){case L.GaugeSeries:a=Mi(Gt,"WebGaugeChart");break;case L.BoxPlotSeries:a=Mi(Gt,"WebBoxPlot");break;case L.RadarSeries:a=Mi(Gt,"WebRadarChart");break;default:a=Mi(Gt,"WebChart");break}let o=e.compile(a);return o(r),o.errors!==null&&o.errors!==void 0&&(i=await Ww(o.errors)),i}}var Uw=Vw();async function Gw(e){let{seriesConfigs:r,queryObject:i,allowUsingObjectIdStat:t}=e,a=[],o=await Ka(i),n=await It();for(let s=0;s<r.length;s+=1){let l=r[s].query?.outStatistics;if(l!==void 0)for(let u=0;u<l.length;u+=1){let c=l[u],d=Ja(c.onStatisticField,o);if(d&&!(d.type===ke.OID&&t||Id(d))&&c.statisticType!==we.Count){let p=`series[${s}].query.outStatistics[${u}]`;a.push({keyword:Fd.NonNumericAggregation,message:Ze(n.nonNumericAggregation,{dataPath:p}),dataPath:p,params:{fieldName:c.onStatisticField,fieldType:d.type,aggregationRequested:c.statisticType}})}}}return a}async function Hw(e){let r=[],i=await It();if(e!==void 0&&e.series.length>1){let t=new Set,a=0;e.series.forEach((o,n)=>{if(t.add(o.id),t.size===a){let s=`series[${n}].id`;r.push({keyword:Fd.DuplicateSeriesID,message:Ze(i.duplicateSeriesID,{dataPath:s,seriesID:o.id,seriesName:o.name}),dataPath:s,params:{seriesId:o.id,seriesName:o.name}})}else a+=1})}return r}function Qw(e){let r=new Set,i=pS(e);if(i){let t=Ve(e.series),a=xt(e.series);t===L.GaugeSeries&&!mS(e)||a===V.PieFromFields||a===V.BarAndLineFromFields||a===V.BoxPlotMonoField||a===V.BoxPlotMultiFields||a===V.BoxPlotMonoFieldAndSplitBy||a===V.BoxPlotMultiFieldsAndSplitBy||r.add(i.x);let o=t===L.ScatterSeries||t===L.BoxPlotSeries||a===V.BarAndLineNoAggregation||a===V.BarAndLineSplitByNoAggregation||a===V.PieNoAggregation,n=[Na,ei,go,ia,bo,Kt.outStatistics.outStatisticFieldName??""],s=[];if(t===L.BoxPlotSeries?s=bS({showMean:e.showMean,seriesConfig:e.series}):s=e.series.map(l=>"y"in l?l.y:void 0).filter(l=>l!==void 0).flat(),o?s.forEach(l=>r.add(l)):n.push(...s),e.series.forEach(l=>{let{query:u}=l;u&&(Fr(u.where)||r.add(Va(u.where)),u.groupByFieldsForStatistics&&u.groupByFieldsForStatistics.forEach(c=>r.add(c)),u.outStatistics&&u.outStatistics.forEach(c=>r.add(c.onStatisticField)))}),t===L.GaugeSeries&&e.axes?.[0]!==void 0){let l=e.axes?.[0];l&&"minimumFromField"in l&&typeof l.minimumFromField=="string"&&r.add(l.minimumFromField),l&&"maximumFromField"in l&&typeof l.maximumFromField=="string"&&r.add(l.maximumFromField)}n.forEach(l=>{r.delete(l)})}return Array.from(r.values()).filter(t=>!wt(t))}async function Kw(e,r){let i,t=await It(),a=await Ka(r),o=Qw(e).filter(n=>!Ja(n,a));if(o.length>0){let n=o.join(", ");i={keyword:er.LayerFieldsNotFound,message:Ze(t.layerFieldsNotFound,{fieldNames:n}),params:n}}return i}async function Jw(e){let{input:r,queryObject:i,allowUsingObjectIdStat:t}=e,a=[];if(i!==void 0){let o=await Gw({seriesConfigs:r.series,queryObject:i,allowUsingObjectIdStat:t});a=a.concat(o)}return a=a.concat(await Hw(r)),a}async function Zw(e,r){let i=[];if(e!==void 0){let t=await zw(e);if(t!==void 0)i=i.concat(t);else if(r!==void 0){let a=await Kw(r,e);a!==void 0&&(i=i.concat(a))}}return i}async function N$(e){let{input:r,queryObject:i,allowUsingObjectIdStat:t}=e,a;if(lS(r?.version).versionStatus===Ct.Newer)a={valid:!0,schemaErrors:[],customErrors:[],warnings:[]};else{let o=await Uw(r),n=[],s=[];r!==void 0&&o.length===0&&(s=await Zw(i,r),s.length===0&&(n=await Jw({input:r,queryObject:i,allowUsingObjectIdStat:t}))),a={valid:o.length===0&&n.length===0&&s.length===0,schemaErrors:o,customErrors:s,warnings:n}}return a}function W$(e){let r=Ve(e?.series),i=!1;switch(r){case L.HistogramSeries:{i=(e?.series?.[0]?.x?.trim()?.length??0)===0;break}case L.ScatterSeries:{let t=e?.series;i=(t?.[0]?.x?.length??0)===0||(t?.[0]?.y?.length??0)===0;break}case L.PieSeries:{let t=e?.series;xt(t)===V.PieFromFields?i=(t?.[0]?.query?.outStatistics?.length??0)===0:i=(t?.[0]?.x?.length??0)===0||t?.[0]?.x===ei;break}case L.BoxPlotSeries:{let t=e?.series;i=[t?.[0]?.y].flat().length===0||t?.[0]?.y==="";break}case L.ComboLineAndBarSeries:case L.RadarSeries:case L.BarSeries:case L.LineSeries:{let t=e?.series;xt(t)===V.BarAndLineFromFields?i=(t?.[0]?.query?.outStatistics?.length??0)===0:i=(t?.[0]?.x?.trim()?.length??0)===0;break}}return i}var z$=[{unit:_e.Second,threshold:6e4,unitMs:1e3,preferredIntervalSize:[1,2,3,5,6,10,12,15,20,30,60]},{unit:_e.Minute,threshold:36e5,unitMs:1e3*60,preferredIntervalSize:[1,2,3,5,6,10,12,15,20,30,60]},{unit:_e.Hour,threshold:864e5,unitMs:1e3*60*60,preferredIntervalSize:[1,2,3,4,6,8,12,24]},{unit:_e.Day,threshold:6048e5,unitMs:1e3*60*60*24,preferredIntervalSize:[1,2,3,4,5,6,7]},{unit:_e.Week,threshold:24192e5,unitMs:1e3*60*60*24*7,preferredIntervalSize:[1,2,3,4]},{unit:_e.Month,threshold:290304e5,unitMs:1e3*60*60*24*7*4,preferredIntervalSize:[1,2,3,4,6,12]},{unit:_e.Year,threshold:Number.MAX_SAFE_INTEGER,unitMs:1e3*60*60*24*7*4*12,preferredIntervalSize:[1,2,4,5,10,25,50,100]}],V$="${ groupByFieldsForStatistics } WHEN ${ dateField }>='${ startDate }' AND ${ dateField }${ endDateOperand }'${ endDate }' THEN '${ y }|${ binIndex}'";return{a:St,b:L,c:we,d:Yi,e:Xw,f:uo,g:_r,h:Yw,i:lt,j:fo,k:ex,l:ea,m:_e,n:tx,o:rx,p:ho,q:ir,r:ix,s:Ct,t:ax,u:mo,v:yo,w:ox,x:ar,y:ke,z:or,A:ta,B:nr,C:Xr,D:ra,E:Re,F:sx,G:lx,H:px,I:Yr,J:ei,K:ia,L:go,M:bo,N:pt,O:se,P:xe,Q:ri,R:da,S:wm,T:Pm,U:ty,V:sy,W:vs,X:la,Y:Gg,Z:Wy,_:$g,$:fb,aa:ll,ba:pl,ca:dl,da:cl,ea:ul,fa:q,ga:Ze,ha:Zp,ia:lD,ja:pD,ka:dD,la:cD,ma:ut,na:Xp,oa:te,pa:uD,qa:fD,ra:Kt,sa:Db,ta:hD,ua:at,va:jb,wa:mD,xa:yD,ya:gD,za:Na,Aa:ct,Ba:ed,Ca:bD,Da:Qi,Ea:pe,Fa:td,Ga:ie,Ha:Gr,Ia:kb,Ja:vD,Ka:Ra,La:SD,Ma:wD,Na:Zt,Oa:Ri,Pa:xD,Qa:Bb,Ra:qb,Sa:Mb,Ta:ID,Ua:Nb,Va:Or,Wa:zb,Xa:Ub,Ya:CD,Za:Gb,_a:TD,$a:AD,ab:Hb,bb:Qb,cb:PD,db:FD,eb:zr,fb:OD,gb:ED,hb:LD,ib:DD,jb:$D,kb:jD,lb:_D,mb:Kb,nb:Jb,ob:Zb,pb:RD,qb:Xb,rb:kD,sb:BD,tb:qD,ub:Yb,vb:MD,wb:ND,xb:WD,yb:V,zb:zD,Ab:VD,Bb:Ve,Cb:UD,Db:GD,Eb:Jv,Fb:Yv,Gb:yd,Hb:HD,Ib:QD,Jb:KD,Kb:JD,Lb:ZD,Mb:wt,Nb:iS,Ob:XD,Pb:YD,Qb:e$,Rb:t$,Sb:r$,Tb:i$,Ub:a$,Vb:o$,Wb:n$,Xb:s$,Yb:l$,Zb:aS,_b:oS,$b:lS,ac:pS,bc:p$,cc:Va,dc:Hr,ec:Fr,fc:d$,gc:xt,hc:c$,ic:fS,jc:ye,kc:hS,lc:mS,mc:u$,nc:yS,oc:Gi,pc:Sa,qc:Hi,rc:bS,sc:vS,tc:f$,uc:wS,vc:h$,wc:Jt,xc:er,yc:m$,zc:Ua,Ac:y$,Bc:je,Cc:bd,Dc:g$,Ec:b$,Fc:qe,Gc:v$,Hc:Vr,Ic:S$,Jc:FS,Kc:w$,Lc:x$,Mc:I$,Nc:ES,Oc:C$,Pc:T$,Qc:LS,Rc:A$,Sc:Ur,Tc:Ha,Uc:P$,Vc:MS,Wc:F$,Xc:Ka,Yc:O$,Zc:Id,_c:E$,$c:L$,ad:D$,bd:$$,cd:j$,dd:_$,ed:R$,fd:k$,gd:zS,hd:B$,id:q$,jd:Fd,kd:M$,ld:N$,md:W$,nd:z$,od:V$}},"geometry/support/jsonUtils","layers/support/fieldUtils","renderers/support/jsonUtils","layers/support/Field","request","rest/support/FeatureSet","layers/FeatureLayer","portal/Portal","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils")
56
+ {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-PublishingInfo.html#updating Read more...}`}},required:["declaredClass","destroyed","initialized","status","updating"],title:"__esri.PublishingInfo"},"__esri.ScaleRangeLayer":{type:"object",properties:{maxScale:{type:"number"},minScale:{type:"number"}},required:["maxScale","minScale"],title:"__esri.ScaleRangeLayer"},"__esri.TemporalLayer":{type:"object",properties:{useViewTime:{type:"boolean"}},required:["useViewTime"],title:"__esri.TemporalLayer"},"__esri.TrackableLayer":{type:"object",title:"__esri.TrackableLayer"},"__esri.SubtypeSublayer":{type:"object",properties:{uid:{type:"string"},loadError:{anyOf:[{$ref:"#/definitions/__esri.Error"},{$ref:"#/definitions/nullish"}]},loadStatus:{type:"string",enum:["not-loaded","loading","failed","loaded"]},loadWarnings:{type:"array",items:{}},destroyed:{type:"boolean"},initialized:{type:"boolean"},declaredClass:{type:"string"}},required:["declaredClass","destroyed","initialized","loadError","loadStatus","loadWarnings","uid"],title:"__esri.SubtypeSublayer"},RGBObject:{type:"object",properties:{r:{type:"number"},g:{type:"number"},b:{type:"number"},a:{type:"number",default:1}},required:["r","g","b"],description:"JSON representation of the color object",title:"RGBObject"},IRendererSymbol:{type:"object",properties:{style:{type:"string"},color:{$ref:"#/definitions/Color"},outline:{$ref:"#/definitions/ISimpleLineSymbol"},label:{type:"string"},uniqueValue:{type:"string"},type:{$ref:"#/definitions/SymbolType"}},required:["color","type"],title:"IRendererSymbol"},WebChartDataItemColor:{anyOf:[{$ref:"#/definitions/Color"},{$ref:"#/definitions/RGBArray"},{$ref:"#/definitions/RGBObject"},{type:"string"}],title:"WebChartDataItemColor"},RGBArray:{type:"array",items:{type:"number"},minItems:3,maxItems:3,title:"RGBArray"},WebChartDataItemValue:{anyOf:[{type:"string",format:"date-time"},{$ref:"#/definitions/IExtent"},{$ref:"#/definitions/IRendererSymbol"},{type:"array",items:{type:"number"}},{type:"array",items:{type:"string"}},{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}},{$ref:"#/definitions/WebChartDataItemColor"},{type:"boolean"},{type:"number"},{type:"string"},{type:"null"},{not:{}}],title:"WebChartDataItemValue"},WebChartDataItem:{$ref:"#/definitions/Record%3Cstring%2CWebChartDataItemValue%3E",description:"JSON representation of a typical data item",title:"WebChartDataItem"},"Record<string,WebChartDataItemValue>":{type:"object",additionalProperties:{$ref:"#/definitions/WebChartDataItemValue"},title:"Record<string,WebChartDataItemValue>"},WebChartBoxPlotDataItem:{type:"object",properties:{dataItems:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}},outliers:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}},meanLines:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}}},required:["dataItems"],description:"JSON representation of the processed data for a Box Plot",title:"WebChartBoxPlotDataItem"},ScatterplotTrendLineData:{type:"object",properties:{r2:{type:"number"},trendLinePoints:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"},minItems:2,maxItems:2}},description:"JSON representation of the processed data for a Scatter plot trend line",title:"ScatterplotTrendLineData"},WebChartScatterPlotDataItem:{type:"object",properties:{r2:{type:"number"},trendLinePoints:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"},minItems:2,maxItems:2},dataItems:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}}},required:["dataItems"],description:"JSON representation of the processed data for a Scatter plot",title:"WebChartScatterPlotDataItem"},WebChartGenericDataItem:{type:"object",properties:{dataItems:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}},timeIntervalInfo:{$ref:"#/definitions/TimeIntervalInfo",description:"Time interval information, only for line charts"}},required:["dataItems"],description:"JSON representation of the generic data structure for bar, line bar-line, gauge and pie chart",title:"WebChartGenericDataItem"},WebChartBin:{type:"object",properties:{count:{type:"number"},minValue:{type:"number",description:"Min value in the bin"},maxValue:{type:"number",description:"Max value in the bin"},symbol:{$ref:"#/definitions/WebChartDataItem"}},required:["count","minValue","maxValue"],description:"JSON representation of a Histogram bin",title:"WebChartBin"},WebChartHistogramDataItem:{type:"object",properties:{mean:{type:"number"},median:{type:"number"},stddev:{type:"number"},max:{type:"number"},min:{type:"number"},sum:{type:"number",description:"Sum of the values of all the points"},count:{type:"number",description:"Number of all the points/features in un-binned data (including only non-null entries)"},nulls:{type:"number",description:"Number of null entries in the pool of points"},bins:{type:"array",items:{$ref:"#/definitions/WebChartBin"}}},required:["mean","median","stddev","max","min","bins"],description:"JSON representation of the processed data for a Histogram",title:"WebChartHistogramDataItem"},WebChartDataTypes:{anyOf:[{$ref:"#/definitions/WebChartBoxPlotDataItem"},{$ref:"#/definitions/WebChartGenericDataItem"},{$ref:"#/definitions/WebChartHistogramDataItem"},{$ref:"#/definitions/WebChartScatterPlotDataItem"}],title:"WebChartDataTypes"},WebChartTypes:{type:"string",enum:["chart","chartText","chartOverlay","chartOverlays","chartLegend","cursorCrosshair","chartAxis","gaugeAxisTick","gaugeNeedle","category","number","date","chartGuide","scatterSeries","pieSeries","pieTick","gaugeSeries","lineSeries","barSeries","histogramSeries","boxPlotSeries","radarSeries","comboLineAndBarSeries","buffer","sizeScale"],title:"WebChartTypes"},WebChartStatisticType:{type:"string",enum:["count","sum","min","max","avg","stddev","var","percentile-continuous","percentile-discrete","envelope-aggregate","centroid-aggregate","convex-hull-aggregate","no_aggregation"],title:"WebChartStatisticType"},WebChartColoringPatterns:{type:"string",enum:["singleColor","colorMatch"],title:"WebChartColoringPatterns"},WebChartBoxPlotMultipleSeriesKinds:{type:"string",enum:["sideBySide","meanLines"],title:"WebChartBoxPlotMultipleSeriesKinds"},WebChartLineSmoothedKinds:{type:"string",enum:["bezier","monotoneX","monotoneY"],description:"Represents the different types of smoothing that can be applied to a line chart when the `lineSmoothed` property is set to `true`.",title:"WebChartLineSmoothedKinds"},WebChartTemporalBinningTypes:{type:"string",enum:["fixedDateBased","calendarBased"],description:"Represents the different types of temporal binning that can be applied to a chart.",title:"WebChartTemporalBinningTypes"},WebChartVersionStatus:{type:"string",enum:["same","newer","older","unrecognized"],title:"WebChartVersionStatus"},WebChartAxisTypes:{type:"string",enum:["value","date","category"],description:"Represents the different types of axes that can be used in a chart.",title:"WebChartAxisTypes"},RESTFieldType:{type:"string",enum:["esriFieldTypeBlob","esriFieldTypeDate","esriFieldTypeDateOnly","esriFieldTypeTimestampOffset","esriFieldTypeDouble","esriFieldTypeGeometry","esriFieldTypeGlobalID","esriFieldTypeGUID","esriFieldTypeInteger","esriFieldTypeSmallInteger","esriFieldTypeBigInteger","esriFieldTypeOID","esriFieldTypeRaster","esriFieldTypeSingle","esriFieldTypeString","esriFieldTypeXML"],title:"RESTFieldType"},RESTSimpleLineSymbolStyle:{type:"string",enum:["esriSLSDash","esriSLSDashDot","esriSLSDashDotDot","esriSLSDot","esriSLSNull","esriSLSSolid"],title:"RESTSimpleLineSymbolStyle"},RESTSimpleMarkerSymbolStyle:{type:"string",enum:["esriSMSCircle","esriSMSCross","esriSMSDiamond","esriSMSSquare","esriSMSX","esriSMSTriangle"],title:"RESTSimpleMarkerSymbolStyle"},RESTSimpleFillSymbolStyle:{type:"string",enum:["esriSFSBackwardDiagonal","esriSFSCross","esriSFSDiagonalCross","esriSFSForwardDiagonal","esriSFSHorizontal","esriSFSNull","esriSFSSolid","esriSFSVertical"],title:"RESTSimpleFillSymbolStyle"},RESTHorizontalAlignment:{type:"string",enum:["left","right","center","justify"],title:"RESTHorizontalAlignment"},RESTVerticalAlignment:{type:"string",enum:["baseline","top","middle","bottom"],title:"RESTVerticalAlignment"},RESTSymbolType:{type:"string",enum:["esriSLS","esriSMS","esriSFS","esriPMS","esriPFS","esriTS"],title:"RESTSymbolType"},RESTFontStyle:{type:"string",enum:["italic","normal","oblique"],title:"RESTFontStyle"},RESTFontWeight:{type:"string",enum:["bold","bolder","lighter","normal"],title:"RESTFontWeight"},RESTFontDecoration:{type:"string",enum:["line-through","underline","none"],title:"RESTFontDecoration"},RESTRendererType:{type:"string",enum:["unique-value","simple","class-breaks","heatmap","dot-density","dictionary","pie-chart"],title:"RESTRendererType"},OverlayTerms:{type:"string",enum:["Mean","Median","Standard Deviation","Normal Distribution","Trendline"],title:"OverlayTerms"},CalculatedMinMaxBoundsPayload:{type:"object",properties:{isXAxis:{type:"boolean"},isSecondValueAxis:{type:"boolean"},minimum:{type:["number","null"],description:"The minimum value which the axis should represent, when it is not defined or null, then the minimum value for the corresponding axis is automatically calculated."},maximum:{type:["number","null"],description:"The maximum value which the axis should represent, when it is not defined or null, then the maximum value for the corresponding axis is automatically calculated."}},required:["isXAxis"],description:"+ Represents a subset of the event payload carrying the chart's axes bounds. See event `arcgisChartsAxesMinMaxChange`.",title:"CalculatedMinMaxBoundsPayload"},ChartDeletePayload:{type:"object",properties:{chartId:{type:"string"}},required:["chartId"],description:"Represents the payload of the event sent when a chart is removed from the chart list (component arcgis-charts-config-view-charts).",title:"ChartDeletePayload"},LegendItemVisibility:{type:"object",properties:{visible:{type:"boolean"},seriesId:{type:"string"},overlayType:{$ref:"#/definitions/OverlayTerms"},sliceId:{type:"string"},sliceData:{$ref:"#/definitions/WebChartDataItem"}},required:["visible"],description:"Represents the payload of the event sent when an item is toggled in the chart's legend (slice or series).",title:"LegendItemVisibility"},IFeatureSet:{type:"object",properties:{hasZ:{type:"boolean"},hasM:{type:"boolean"},objectIdFieldName:{type:"string"},globalIdFieldName:{type:"string"},displayFieldName:{type:"string"},geometryType:{$ref:"#/definitions/GeometryType"},spatialReference:{$ref:"#/definitions/ISpatialReference"},fields:{type:"array",items:{$ref:"#/definitions/IField"}},features:{type:"array",items:{$ref:"#/definitions/IFeature"}},fieldAliases:{$ref:"#/definitions/Record%3Cstring%2Cstring%3E"}},required:["features"],description:'`IFeatureSet` can also be imported from the following packages:\n\n```js import { IFeatureSet } from "@esri/arcgis-rest-feature-layer"; ```',title:"IFeatureSet"},"Record<string,string>":{type:"object",additionalProperties:{type:"string"},title:"Record<string,string>"},ILocation:{type:"object",properties:{latitude:{type:"number"},longitude:{type:"number"},lat:{type:"number"},long:{type:"number"},z:{type:"number"}},description:'`ILocation` can also be imported from the following packages:\n\n```js import { ILocation } from "@esri/arcgis-rest-routing"; import { ILocation } from "@esri/arcgis-rest-geocoding"; ```',title:"ILocation"},IPolylineWithCurves:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},curvePaths:{type:"array",items:{type:"array",items:{anyOf:[{$ref:"#/definitions/JsonCurve"},{$ref:"#/definitions/Position"}]}}}},required:["curvePaths"],title:"IPolylineWithCurves"},ElipticArc:{$ref:"#/definitions/IArc",title:"ElipticArc"},SpatialRelationship:{type:"string",enum:["esriSpatialRelContains","esriSpatialRelCrosses","esriSpatialRelEnvelopeIntersects","esriSpatialRelIndexIntersects","esriSpatialRelIntersects","esriSpatialRelOverlaps","esriSpatialRelTouches","esriSpatialRelWithin"],description:'The spatial relationship used to compare input geometries\n\n`SpatialRelationship` can also be imported from the following packages:\n\n```js import { SpatialRelationship } from "@esri/arcgis-rest-feature-layer"; ```',title:"SpatialRelationship"},IMultipoint:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},points:{type:"array",items:{$ref:"#/definitions/Position"}}},required:["points"],description:"A multipoint contains an array of points.",title:"IMultipoint"},Units:{type:"string",enum:["esriSRUnit_Foot","esriSRUnit_Kilometer","esriSRUnit_Meter","esriSRUnit_NauticalMile","esriSRUnit_StatuteMile","esriSRUnit_USNauticalMile"],description:'`Units` can also be imported from the following packages:\n\n```js import { Units } from "@esri/arcgis-rest-feature-layer"; ```',title:"Units"},GroupMembership:{type:"string",enum:["admin","member","none","owner"],description:'`GroupMembership` can also be imported from the following packages:\n\n```js import { GroupMembership } from "@esri/arcgis-rest-portal"; ```',title:"GroupMembership"},IGroupAdd:{type:"object",properties:{title:{type:"string"},access:{type:"string",enum:["org","private","public"]},owner:{type:"string"},tags:{type:"array",items:{type:"string"}},description:{type:"string"},phone:{type:"string"},sortField:{type:"string",enum:["avgrating","created","modified","numviews","owner","title"]},sortOrder:{type:"string",enum:["asc","desc"]},isViewOnly:{type:"boolean"},isInvitationOnly:{type:"boolean"},thumbnail:{type:"string"},autoJoin:{type:"boolean"},snippet:{type:"string"}},required:["title","access"],description:'A [Group](https://developers.arcgis.com/rest/users-groups-and-items/common-parameters.htm) that has not been created yet.\n\n`IGroupAdd` can also be imported from the following packages:\n\n```js import { IGroupAdd } from "@esri/arcgis-rest-portal"; ```',title:"IGroupAdd"},IGroup:{type:"object",properties:{title:{type:"string"},access:{type:"string",enum:["org","private","public"]},owner:{type:"string"},tags:{type:"array",items:{type:"string"}},description:{type:"string"},phone:{type:"string"},sortField:{type:"string",enum:["avgrating","created","modified","numviews","owner","title"]},sortOrder:{type:"string",enum:["asc","desc"]},isViewOnly:{type:"boolean"},isInvitationOnly:{type:"boolean"},thumbnail:{type:"string"},autoJoin:{type:"boolean"},snippet:{type:"string"},id:{type:"string"},created:{type:"number"},modified:{type:"number"},protected:{type:"boolean"},isOpenData:{type:"boolean"},isFav:{type:"boolean"},userMembership:{type:"object",properties:{username:{type:"string"},memberType:{$ref:"#/definitions/GroupMembership"},applications:{type:"number"}}},hasCategorySchema:{type:"boolean"}},required:["access","autoJoin","created","id","isFav","isInvitationOnly","isViewOnly","modified","owner","protected","tags","title"],description:'Existing Portal [Group](https://developers.arcgis.com/rest/users-groups-and-items/group.htm).\n\n`IGroup` can also be imported from the following packages:\n\n```js import { IGroup } from "@esri/arcgis-rest-portal"; ```',title:"IGroup"},IItemAdd:{type:"object",properties:{title:{type:"string"},type:{type:"string"},owner:{type:"string"},typeKeywords:{type:"array",items:{type:"string"}},description:{type:"string"},snippet:{type:"string"},documentation:{type:"string"},extent:{type:"array",items:{type:"array",items:{type:"number"}}},categories:{type:"array",items:{type:"string"}},spatialReference:{$ref:"#/definitions/ISpatialReference"},culture:{type:"string"},properties:{},url:{type:"string"},tags:{type:"array",items:{type:"string"}}},required:["title","type"],description:'A Portal [Item](https://developers.arcgis.com/rest/users-groups-and-items/common-parameters.htm) that has not been created yet.\n\n`IItemAdd` can also be imported from the following packages:\n\n```js import { IItemAdd } from "@esri/arcgis-rest-portal"; ```',title:"IItemAdd"},IItemUpdate:{type:"object",properties:{id:{type:"string"}},required:["id"],description:'A Portal [Item](https://developers.arcgis.com/rest/users-groups-and-items/common-parameters.htm) to be updated.\n\n`IItemUpdate` can also be imported from the following packages:\n\n```js import { IItemUpdate } from "@esri/arcgis-rest-portal"; ```',title:"IItemUpdate"},IItem:{type:"object",properties:{title:{type:"string"},type:{type:"string"},owner:{type:"string"},typeKeywords:{type:"array",items:{type:"string"}},description:{type:"string"},snippet:{type:"string"},documentation:{type:"string"},extent:{type:"array",items:{type:"array",items:{type:"number"}}},categories:{type:"array",items:{type:"string"}},spatialReference:{$ref:"#/definitions/ISpatialReference"},culture:{type:"string"},properties:{},url:{type:"string"},tags:{type:"array",items:{type:"string"}},id:{type:"string"},created:{type:"number"},modified:{type:"number"},numViews:{type:"number"},size:{type:"number"},protected:{type:"boolean"}},required:["created","id","modified","numViews","owner","size","tags","title","type"],description:'Existing Portal [Item](https://developers.arcgis.com/rest/users-groups-and-items/item.htm).\n\n`IItem` can also be imported from the following packages:\n\n```js import { IItem } from "@esri/arcgis-rest-portal"; ```',title:"IItem"},IFolder:{type:"object",properties:{username:{type:"string"},id:{type:"string"},title:{type:"string"},created:{type:"number"}},required:["username","id","title"],description:'Used for organizing content. See [Create Folder](https://developers.arcgis.com/rest/users-groups-and-items/create-folder.htm) for more details.\n\n`IFolder` can also be imported from the following packages:\n\n```js import { IFolder } from "@esri/arcgis-rest-portal"; ```',title:"IFolder"},IFeatureServiceDefinition:{type:"object",properties:{currentVersion:{type:"number"},serviceDescription:{type:"string"},hasVersionedData:{type:"boolean"},supportsDisconnectedEditing:{type:"boolean"},supportsReturnDeleteResults:{type:"boolean"},hasStaticData:{type:"boolean",description:"Boolean value indicating whether data changes. True if it does not."},maxRecordCount:{type:"number",description:"Numeric value indicating tbe maximum number of records that will be returned at once for a query."},supportedQueryFormats:{type:"string",description:"String value indicating the output formats that are supported in a query."},supportsRelationshipsResource:{type:"boolean"},capabilities:{type:"string",description:"A comma separated list of supported capabilities, e.g. Query,Editing."},description:{type:"string",description:"String value of the layer as defined in the map service."},copyrightText:{type:"string",description:"String value for the copyright text information for the layer."},advancedEditingCapabilities:{$ref:"#/definitions/Record%3Cstring%2Cboolean%3E"},spatialReference:{$ref:"#/definitions/ISpatialReference",description:"An object containing the WKID or WKT identifying the spatial reference of the layer's geometry."},initialExtent:{$ref:"#/definitions/IExtent"},fullExtent:{$ref:"#/definitions/IExtent"},allowGeometryUpdates:{type:"boolean",description:"Boolean value indicating whether the geometry of the features in the layer can be edited."},units:{type:"string"},syncEnabled:{type:"boolean"},returnServiceEditsHaveSR:{type:"boolean"},validationSystemLayers:{type:"object",properties:{validationPointErrorlayerId:{type:"number"},validationLineErrorlayerId:{type:"number"},validationPolygonErrorlayerId:{type:"number"},validationObjectErrortableId:{type:"number"}},required:["validationPointErrorlayerId","validationLineErrorlayerId","validationPolygonErrorlayerId","validationObjectErrortableId"]},extractChangesCapabilities:{type:"object",properties:{supportsReturnIdsOnly:{type:"boolean"},supportsReturnExtentOnly:{type:"boolean"},supportsReturnAttachments:{type:"boolean"},supportsLayerQueries:{type:"boolean"},supportsSpatialFilter:{type:"boolean"},supportsReturnFeature:{type:"boolean"}},required:["supportsReturnIdsOnly","supportsReturnExtentOnly","supportsReturnAttachments","supportsLayerQueries","supportsSpatialFilter","supportsReturnFeature"]},syncCapabilities:{type:"object",properties:{supportsASync:{type:"boolean"},supportsRegisteringExistingData:{type:"boolean"},supportsSyncDirectionControl:{type:"boolean"},supportsPerLayerSync:{type:"boolean"},supportsPerReplicaSync:{type:"boolean"},supportsRollbackOnFailure:{type:"boolean"},supportedSyncDataOptions:{type:"number"}},required:["supportsASync","supportsRegisteringExistingData","supportsSyncDirectionControl","supportsPerLayerSync","supportsPerReplicaSync","supportsRollbackOnFailure","supportedSyncDataOptions"]},editorTrackingInfo:{type:"object",properties:{enableEditorTracking:{type:"boolean"},enableOwnershipAccessControl:{type:"boolean"},allowOthersToUpdate:{type:"boolean"},allowOthersToDelete:{type:"boolean"}},required:["enableEditorTracking","enableOwnershipAccessControl","allowOthersToUpdate","allowOthersToDelete"]},documentInfo:{$ref:"#/definitions/Record%3Cstring%2Cstring%3E"},layers:{type:"array",items:{$ref:"#/definitions/ILayerDefinition"}},tables:{type:"array",items:{$ref:"#/definitions/ITable"}},relationships:{type:"array",items:{type:"object",properties:{id:{type:"number"},name:{type:"string"},backwardPathLabel:{type:"string"},originLayerId:{type:"number"},originPrimaryKey:{type:"string"},forwardPathLabel:{type:"string"},destinationLayerId:{type:"number"},originForeignKey:{type:"string"},relationshipTableId:{type:"number"},destinationPrimaryKey:{type:"string"},destinationForeignKey:{type:"string"},rules:{type:"array",items:{type:"object",properties:{ruleID:{type:"number"},originSubtypeCode:{type:"number"},originMinimumCardinality:{type:"number"},originMaximumCardinality:{type:"number"},destinationSubtypeCode:{type:"number"},destinationMinimumCardinality:{type:"number"},destinationMaximumCardinality:{type:"number"}},required:["ruleID","originSubtypeCode","originMinimumCardinality","originMaximumCardinality","destinationSubtypeCode","destinationMinimumCardinality","destinationMaximumCardinality"]},minItems:1,maxItems:1},cardinality:{type:"string",enum:["esriRelCardinalityManyToMany","esriRelCardinalityOneToMany","esriRelCardinalityOneToOne"]},attributed:{type:"boolean"},composite:{type:"boolean"}},required:["id","name","backwardPathLabel","originLayerId","originPrimaryKey","forwardPathLabel","destinationLayerId","originForeignKey","relationshipTableId","destinationPrimaryKey","destinationForeignKey","rules","cardinality","attributed","composite"]},minItems:1,maxItems:1},enableZDefaults:{type:"boolean"},isLocationTrackingService:{type:"boolean"},isLocationTrackingView:{type:"boolean"},zDefault:{type:"number"}},required:["serviceDescription","hasVersionedData","supportsDisconnectedEditing","supportsReturnDeleteResults","maxRecordCount","supportedQueryFormats","supportsRelationshipsResource","capabilities","description","copyrightText","advancedEditingCapabilities","spatialReference","initialExtent","fullExtent","allowGeometryUpdates","units","syncEnabled","validationSystemLayers","extractChangesCapabilities","syncCapabilities","editorTrackingInfo","layers","tables","relationships","isLocationTrackingService","isLocationTrackingView"],description:'`IFeatureServiceDefinition` can also be imported from the following packages:\n\n```js import { IFeatureServiceDefinition } from "@esri/arcgis-rest-service-admin"; import { IFeatureServiceDefinition } from "@esri/arcgis-rest-feature-layer"; ```',title:"IFeatureServiceDefinition"},"Record<string,boolean>":{type:"object",additionalProperties:{type:"boolean"},title:"Record<string,boolean>"},ITable:{type:"object",properties:{name:{type:"string",description:"Table name"},capabilities:{type:"string",description:"A comma-separated string listing which editing operations are allowed on an editable feature service. Available operations include: 'Create', 'Delete', 'Query', 'Update', and 'Editing'."},definitionEditor:{$ref:"#/definitions/IDefinitionEditor",description:"Object indicating the definitionEditor used as a layer's interactive filter."},id:{type:"number",description:"Unique identifier for the table."},itemId:{type:"string",description:"Unique string value indicating an item registered in ArcGIS Online or your organization's portal."},layerDefinition:{$ref:"#/definitions/ILayerDefinition",description:"A layerDefinition object defining a definition expression for the table."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"An object defining the content of popup windows when you query a record and the sort option for child related records."},title:{type:"string",description:"String value for the title of the table."},url:{type:"string",description:"String value indicating the URL reference of the hosted table."}},description:'Root element in the web map specifying an array of table objects.\n\n`ITable` can also be imported from the following packages:\n\n```js import { ITable } from "@esri-arcgis-rest-service-admin" ```',title:"ITable"},IServiceInfo:{type:"object",properties:{adminServiceInfo:{type:"object",properties:{name:{type:"string"},type:{type:"string"},status:{type:"string"},database:{type:"object",properties:{datasource:{type:"object",properties:{name:{type:"string"}},required:["name"]}},required:["datasource"]}},required:["name","type","status","database"]},layers:{type:"array",items:{$ref:"#/definitions/Record%3Cstring%2Cunknown%3E"}}},required:["adminServiceInfo","layers"],description:"Very generic structure representing the return value from the /arcgis/rest/admin/services/<service-name>/FeatureServer?f=json response",title:"IServiceInfo"},"Record<string,unknown>":{type:"object",additionalProperties:{},title:"Record<string,unknown>"},IViewServiceSource:{type:"object",properties:{name:{type:"string"},type:{type:"string"},url:{type:"string"},serviceItemId:{type:"string"}},required:["name","type","url","serviceItemId"],description:"Individual View Source entry",title:"IViewServiceSource"},IViewServiceSources:{type:"object",properties:{currentVersion:{type:"number"},services:{type:"array",items:{$ref:"#/definitions/IViewServiceSource"}}},required:["currentVersion","services"],description:"Response from the /sources end-point of a view service",title:"IViewServiceSources"},IServiceNameAvailable:{type:"object",properties:{available:{type:"boolean"}},required:["available"],description:"Response from the portals/Self/isServiceNameAvailable request",title:"IServiceNameAvailable"},IPictureSourced:{type:"object",properties:{url:{type:"string"},imageData:{type:"string"},contentType:{type:"string"},width:{type:"number"},height:{type:"number"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"}},title:"IPictureSourced"},IPictureFillSymbol:{type:"object",properties:{url:{type:"string"},imageData:{type:"string"},contentType:{type:"string"},width:{type:"number"},height:{type:"number"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"},type:{type:"string",const:"esriPFS"},style:{type:"string"},outline:{$ref:"#/definitions/ISimpleLineSymbol"},xscale:{type:"number"},yscale:{type:"number"}},required:["type"],title:"IPictureFillSymbol"},IPictureMarkerSymbol:{type:"object",properties:{url:{type:"string"},imageData:{type:"string"},contentType:{type:"string"},width:{type:"number"},height:{type:"number"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"},type:{type:"string",const:"esriPMS"},style:{type:"string"}},required:["type"],title:"IPictureMarkerSymbol"},ITextSymbol:{type:"object",properties:{type:{type:"string",const:"esriTS"},style:{type:"string"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"},color:{$ref:"#/definitions/Color"},backgroundColor:{$ref:"#/definitions/Color"},borderLineSize:{type:"number"},borderLineColor:{$ref:"#/definitions/Color"},haloSize:{type:"number"},haloColor:{$ref:"#/definitions/Color"},verticalAlignment:{type:"string",enum:["baseline","bottom","middle","top"]},horizontalAlignment:{type:"string",enum:["center","justify","left","right"]},rightToLeft:{type:"boolean"},kerning:{type:"boolean"},font:{$ref:"#/definitions/IFont"},text:{type:"string"}},required:["type"],title:"ITextSymbol"},IUser:{type:"object",properties:{username:{type:"string"},fullName:{type:"string"},availableCredits:{type:"number"},assignedCredits:{type:"number"},firstName:{type:"string"},lastName:{type:"string"},preferredView:{},description:{type:"string"},email:{type:"string"},idpUsername:{type:"string"},favGroupId:{type:"string"},lastLogin:{type:"number"},mfaEnabled:{type:"boolean"},access:{type:"string"},storageUsage:{type:"number"},storageQuota:{type:"number"},orgId:{type:"string"},cOrgId:{type:"string"},role:{type:"string",enum:["org_admin","org_publisher","org_user"]},privileges:{type:"array",items:{type:"string"}},roleId:{type:"string"},level:{type:"string"},disabled:{type:"boolean"},units:{type:"string"},tags:{type:"array",items:{type:"string"}},culture:{type:"string"},region:{type:"string"},thumbnail:{type:"string"},created:{type:"number"},modified:{type:"number"},groups:{type:"array",items:{$ref:"#/definitions/IGroup"}},provider:{type:"string",enum:["arcgis","enterprise","facebook","google"]}},description:'An ArcGIS Online or Enterprise user\n\n`IUser` can also be imported from the following packages:\n\n```js import { IUser } from "@esri/arcgis-rest-auth"; import { IUser } from "@esri/arcgis-rest-portal"; ```',title:"IUser"},IPagingParams:{type:"object",properties:{start:{type:"number"},num:{type:"number"}},description:'Params for paging operations\n\n`IPagingParams` can also be imported from the following packages:\n\n```js import { IPagingParams } from "@esri/arcgis-rest-portal"; ```',title:"IPagingParams"},IPagedResponse:{type:"object",properties:{start:{type:"number"},num:{type:"number"},total:{type:"number",description:"total number of object across all pages"},nextStart:{type:"number",description:"next entry index or -1 for the last page"}},required:["total","nextStart"],description:'Paging properties for paged responses.\n\n`IPagedResponse` can also be imported from the following packages:\n\n```js import { IPagedResponse } from "@esri/arcgis-rest-portal"; ```',title:"IPagedResponse"},IWebMapBackground:{type:"object",properties:{color:{$ref:"#/definitions/Color",description:"To define the color of the background of the map (which is shown when no data is shown)."}},required:["color"],description:"Defines the appearance for the background of the map.",examples:[{background:{color:[255,255,255,255]}}],title:"IWebMapBackground"},IBookmark:{type:"object",properties:{extent:{$ref:"#/definitions/IExtent",description:"An extent object containing a spatial reference, a lower left coordinate, and an upper right coordinate defining the rectangular area of the bookmark. The spatial reference must be the same as the map spatial reference. Documentation for the envelope is in the Geometry Objects topic of the ArcGIS REST API help."},name:{type:"string",description:"A string name for the bookmark."}},required:["extent","name"],description:"Predefined bookmarks for use by the application. A bookmark is a saved map extent that allows end users to quickly navigate to a particular area of interest.",title:"IBookmark"},IMapRangeInfo:{type:"object",properties:{activeRangeName:{type:"string",description:"Active range ID that slider/picker acts upon."},currentRangeExtent:{type:"array",items:{type:"number"},description:"Current range for the active range."},fullRangeExtent:{type:"array",items:{type:"number"},description:"Full range extent for the active range to be presented in the UI."}},description:"Map range information",examples:[{mapRangeInfo:{activeRangeName:"floors",currentRangeExtent:[-2,10],fullRangeExtent:[-2,100]}}],title:"IMapRangeInfo"},IMapLocation:{type:"object",properties:{centerPoint:{$ref:"#/definitions/IPoint",description:"The center of the map specified using X/Y coordinates."},spatialReference:{$ref:"#/definitions/ISpatialReference",description:"Well-known ID (WKID) or well-known text (WKT)."}},required:["centerPoint","spatialReference"],description:"Contains location information within a presentation slide.",title:"IMapLocation"},IVisibleLayer:{type:"object",properties:{featureVisibility:{type:"array",items:{type:"array",items:{}},description:"An array of arrays."},id:{type:"number",description:"The id of the layer as listed on the operational layer."},subLayerIds:{type:"array",items:{type:"number"},description:"An array of integers."}},description:"An array of numbers indicating layer visibility.",examples:[{visibleLayer:{featureVisibility:[[1],[],[],[0]],id:"73128eb3-05ee-46a7-8c22-0c385a0b1827"}}],title:"IVisibleLayer"},IVisiblePopup:{type:"object",properties:{anchorPoint:{$ref:"#/definitions/IPoint",description:"Object with spatialReference, x, and y."},featureId:{type:"number",description:"An integer specifying the feature's id."},layerId:{type:"string",description:"A string specifying the layer id."},subLayerId:{type:"number",description:"An integer specifying the sublayer id."}},description:"A presentation slide's visiblePopup which contains anchorPoint, featureId, layerId, and subLayerId.",title:"IVisiblePopup"},ISlide:{type:"object",properties:{baseMap:{$ref:"#/definitions/IBaseMap",description:"Basemaps give the web map a geographic context."},extent:{$ref:"#/definitions/IExtent",description:"The standard Esri extent object with spatialReference, xmax, xmin, ymax and ymin."},hidden:{type:"boolean",description:"Indicates whether the slide should be hidden within the presentation."},mapLocation:{$ref:"#/definitions/IMapLocation",description:"An object with a centerPoint object and sometimes a resolution."},timeExtent:{type:"array",items:{type:"number"},minItems:2,maxItems:2,description:"An array of two numbers. The first one indicates start time and the second one indicates end time."},title:{type:"string",description:"Title including text and formatting for each slide."},visibleLayers:{$ref:"#/definitions/IVisibleLayer",description:"An array of objects used to indicate layer visibility."},visiblePopup:{$ref:"#/definitions/IVisiblePopup",description:"A presentation slide's visiblePopup which contains anchorPoint, featureId, layerId, and subLayerId."}},title:"ISlide"},IBaseMap:{type:"object",properties:{baseMapLayers:{type:"array",items:{$ref:"#/definitions/ILayer"},description:"An array of baseMapLayer objects defining the basemaps used in the web map."},title:{type:"string",description:"Required string title for the basemap that can be used in a table of contents. It takes the title of the first baseMapLayer in the array."}},required:["baseMapLayers","title"],description:"A basemap layer is a layer that provides geographic context to the map. A web map always contains a basemap. The basemap has a title and is the combination of each baseMapLayer. It is required that a baseMap be saved within the web map.",title:"IBaseMap"},IPresentation:{type:"object",properties:{displayTimeSlider:{type:"boolean",description:"Indicates whether to display the time slider (if accessible)."},showLegend:{type:"boolean",description:"Indicates whether to display a legend on all slides."},slideAdvancementInterval:{type:"number",description:"Number of seconds to show slide before proceeding to the next slide."},slides:{type:"array",items:{$ref:"#/definitions/ISlide"},description:"Array of slide objects."},useTimeExtentOfSlide:{type:"boolean",description:"Indicates whether to use the time extent (if applicable) of a slide."}},title:"IPresentation"},IWebmap:{type:"object",properties:{applicationProperties:{$ref:"#/definitions/IApplicationProperties",description:"Viewing and editing properties of the webmap"},authoringApp:{type:"string",description:"String value indicating the application which authored the webmap"},authoringAppVersion:{type:"string",description:"String value indicating the authoring App's version number"},background:{$ref:"#/definitions/IWebMapBackground",description:"Defines the appearance for the background of the map."},baseMap:{$ref:"#/definitions/IBaseMap",description:"[Required] Basemaps give the web map a geographic context"},bookmarks:{type:"array",items:{$ref:"#/definitions/IBookmark"},description:"A bookmark is a saved geographic extent that allows end users to quickly navigate to a particular area of interest"},mapRangeInfo:{$ref:"#/definitions/IMapRangeInfo",description:"Map Range Information"},operationalLayers:{type:"array",items:{$ref:"#/definitions/ILayer"},description:"Operational layers contain business data which are used to make thematic maps"},presentation:{description:"A presentation consists of multiple slides. Each slide has a different title, extent, basemap, layers etc"},spatialReference:{$ref:"#/definitions/ISpatialReference",description:"[Required] An object used to specify the spatial reference of the given geometry."},tables:{type:"array",items:{$ref:"#/definitions/ITable"},description:"Root element in the web map specifying an array of table objects. (optional)"},version:{type:"string",description:"[Required] Root element in the web map specifying a string value indicating the web map version."},widgets:{description:"The widgets object contains widgets that should be exposed to the user"}},required:["baseMap","spatialReference","version"],description:"The web map data lists the basemap, operational layers, and bookmarks to be used in the web map. It also contains information about popup windows and layer styling overrides to be used in the web map. A version property allows you to supply the version of the web map JSON format being used.",title:"IWebmap"},IApplicationProperties:{type:"object",properties:{editing:{anyOf:[{$ref:"#/definitions/IEditingProperties"},{type:"null"}],description:"If locationTracking is set and enabled, the Collector application will update the feature service at the defined interval with the current location of the user logged into the Collector app."},offline:{anyOf:[{$ref:"#/definitions/IOfflineInfo"},{type:"null"}],description:"Use if working with offline maps."},viewing:{anyOf:[{$ref:"#/definitions/IViewingInfo"},{type:"null"}],description:"An object containing all the viewing properties of the web map. If this is null or not defined, the client should assume a logical default."}},description:"The applicationProperties object is one of the objects at the top level of the JSON web map JSON schema. This is responsible for containing the viewing and editing properties of the web map. There are specific objects within this object that are applicable only to Collector and are explained within the property descriptions.",title:"IApplicationProperties"},IEditingProperties:{type:"object",properties:{locationTracking:{$ref:"#/definitions/ILocationTracking",description:"If locationTracking is set and enabled, the collector app will update the feature service at the defined interval with the current location of the user logged into the collector application."}},required:["locationTracking"],description:"An object containing all the editing properties within the web map.",title:"IEditingProperties"},ILocationTracking:{type:"object",properties:{enabled:{type:"boolean",description:"A boolean value indicating whether or not location tracking is enabled on the webmap."},info:{$ref:"#/definitions/ILocationTrackingInfo",description:"An object of additional information specifying layer and update interval time."}},required:["enabled","info"],description:"If locationTracking is set and enabled, the collector app will update the feature service at the defined interval with the current location of the user logged into the collector application.",title:"ILocationTracking"},ILocationTrackingInfo:{type:"object",properties:{layerId:{description:"A string value indicating the given layer id specified in the web map."},updateInterval:{description:"A numeric value indicating the time interval used to update the feature service. Default value is 300 seconds."}},required:["layerId"],description:"An object containing additional information specifying layer and update interval time used in the locationTracking object.",title:"ILocationTrackingInfo"},IOfflineInfo:{type:"object",properties:{editableLayers:{$ref:"#/definitions/IEditableLayers",description:"Object detailing the available offline editing options."},readonlyLayers:{$ref:"#/definitions/IReadOnlyLayers",description:"Object indicating what to do with attachments in read-only layers."}},required:["editableLayers","readonlyLayers"],description:"Use if working with offline maps.",title:"IOfflineInfo"},IEditableLayers:{type:"object",properties:{download:{type:"string",enum:["featuers","featuresAndAttachments","none"],description:"When editing layers, the edits are always sent to the server. This string value indicates which data is retrieved. For example, none indicates that only the schema is written since neither the features nor attachments are retrieved. For a full sync without downloading attachments, indicate features. Lastly, the default behavior is to have a full sync using featuresAndAttachments where both features and attachments are retrieved."},sync:{type:"string",enum:["syncFeaturesAndAttachments","syncFeaturesUploadAttachments","uploadFeaturesAndAttachments"],description:"This string value indicates how the data is synced."}},required:["download","sync"],description:"Object detailing the available offline editing options.",title:"IEditableLayers"},IReadOnlyLayers:{type:"object",properties:{downloadAttachments:{type:"boolean",description:"Indicates whether to include attachments with the read-only data."}},required:["downloadAttachments"],description:"Read-only layers as the features are always retrieved from the server.",title:"IReadOnlyLayers"},IViewingInfo:{type:"object",properties:{basemapGallery:{$ref:"#/definitions/IEnableable",description:"The basemap tool which will use the basemap group defined in the Portal."},measure:{$ref:"#/definitions/IEnableable",description:"Measure tool."},routing:{$ref:"#/definitions/IEnableable",description:"The route tool which will leverage the Portals defined route service."},search:{$ref:"#/definitions/ISearch",description:"An object specifying search parameters within the webmap."}},description:"An object containing all the viewing properties of the web map. If this is null or not defined, the client should assume a logical default.",title:"IViewingInfo"},IEnableable:{type:"object",properties:{enabled:{type:"boolean"}},required:["enabled"],title:"IEnableable"},ISearch:{type:"object",properties:{enabled:{type:"boolean"},disablePlaceFinder:{description:"A boolean value indicating whether or not to disable the place finder."},hintText:{description:"A string value used to indicate the hint provided with the search dialog."},layers:{description:"An array of layer objects defining the styling, geometry, and attribute information for the features."}},required:["enabled"],description:"An object specifying the search parameters set within the web map.",title:"ISearch"},IRange:{type:"object",properties:{interactionMode:{type:"string",enum:["picker","slider"],description:"Indicates the mode in which the active range should be presented to the user. Must be one of the following values: slider, picker"},numberOfStops:{description:"This is used to generate the activeRangeValues if activeRangeValues are not specified."},stopInterval:{type:"number",description:"Interval in which stops should be generated."}},description:"Range object.",title:"IRange"},IWidget:{type:"object",properties:{range:{$ref:"#/definitions/IRange",description:"Active range."},timeSlider:{$ref:"#/definitions/ITimeSliderProperties",description:"Time animation is controlled by a configurable time slider. The time slider widget will act upon all the time aware layers in the map."}},description:"The widgets object contains widgets that should be exposed to the user.",title:"IWidget"},ITimeSliderProperties:{type:"object",properties:{currentTimeExtent:{type:"array",items:{type:"number"},description:"An optional array of numbers indicating the slider's start to end time extent."},endTime:{type:"number",description:"The optional end of the time slider. If not specified, the slider defaults to the full time extent of all time-enabled layers."},numberOfStops:{type:"number",description:"Number of stops within the timeSlider widget."},startTime:{type:"number",description:"The optional start of the time slider. If not specified, the slider defaults to the full time extent of all time-enabled layers."},thumbCount:{type:"number",description:"The default value for the thumbCount is 1."},thumbMovingRate:{type:"number",description:"Rate at which the time animation plays. Units are in milliseconds. Default is 1000."},timeStopInterval:{type:"number",description:"The interval which has been defined for the time slider."}},description:"Configurable properties used within the TimeSlider widget.",title:"ITimeSliderProperties"},ITimeSlider:{type:"object",properties:{properties:{$ref:"#/definitions/ITimeSliderProperties",description:"Configurable properties used within the TimeSlider widget."}},required:["properties"],description:"Time animation is controlled by a configurable time slider. Those configurations are saved to the web map as a timeSlider widget.",title:"ITimeSlider"},IBingLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",enum:["BingMapsAerial","BingMapsHybrid","BingMapsRoad"],description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},bingKey:{type:"string",description:"String value that unlocks the use of Bing layers in a web map."},canShareBingPublic:{type:"boolean",description:"Boolean value indicating whether the Bing key can be shared to the public."},portalUrl:{type:"string",description:"A string value representing the URL to the Portal/organization Self resource. Calls should be made to this property to retrieve the Bing key. If the key is not made accessible to the public or if canShareBingPublic is false, any web maps using Bing layers will not work."}},required:["id","layerType"],title:"IBingLayer"},IImageServiceLayer:{type:"object",properties:{timeAnimation:{type:"boolean",description:"This property is applicable to layers that support time. If 'true', timeAnimation is enabled."},id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISImageServiceLayer",description:"String indicating the layer type. Value of this property must be ArcGISImageServiceLayer"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},bandIds:{type:"array",items:{type:"number"},description:"An array of bandIds that are visible, can specify bands to export or rearrange band order(from image service)."},compressionQuality:{description:"Controls how much loss the image will be subjected to by the compression algorithm (from image service)."},definitionEditor:{description:"Stores interactive filters."},disablePopup:{type:"boolean",description:"Boolean property indicating whether to ignore popups defined by the service item."},format:{type:"string",enum:["bmp","gif","jpg","jpgpng","png","png8","png24","png32","tiff"],description:"String value representing image format."},interpolation:{type:"string",enum:["RSP_BilinearInterpolation","RSP_CubicConvolution","RSP_Majority","RSP_NearestNeighbor"],description:"The algorithm used for interpolation."},isReference:{type:"boolean",description:"This is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},layerDefinition:{description:"A layerDefinition object defining the attribute schema and drawing information for the layer."},mosaicRule:{description:"Specifies the mosaic rule when defining how individual images should be mosaicked."},noData:{description:"The pixel value that represents no information."},noDataInterpretation:{type:"string",enum:["esriNoDataMatchAll","esriNoDataMatchAny"],description:"A string value of interpretation of noData setting. Default is 'esriNoDataMatchAny' when noData is a number, and 'esriNoDataMatchAll' when noData is an array."},pixelType:{type:"string",enum:["C64","C128","F32","F64","S8","S16","S32","U1","U2","U4","U8","U16","U32","UNKNOWN"],description:"Pertains to the type of values stored in the raster, such as signed integer, unsigned integer, or floating point."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the content of popup windows when you click or query a feature."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."},renderingRule:{description:"Specifies the rendering rule for how the requested image should be rendered."}},required:["id","layerType"],title:"IImageServiceLayer"},IImageVectorLayer:{type:"object",properties:{timeAnimation:{type:"boolean",description:"This property is applicable to layers that support time. If 'true', timeAnimation is enabled."},id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISImageServiceVectorLayer",description:"String indicating the layer type. Value of this property must be ArcGISImageServiceVectorLayer"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},definitionEditor:{description:"Stores interactive filters."},disablePopup:{description:"Boolean property indicating whether to ignore popups defined by the service item."},isReference:{type:"boolean",description:"This is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},layerDefinition:{description:"A layerDefinition object defining the attribute schema and drawing information for the layer."},mosaicRule:{description:"Specifies the mosaic rule when defining how individual images should be mosaicked."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the content of popup windows when you click or query a feature."},symbolTileSize:{description:"Number describing the size of the tile."}},required:["id","layerType"],title:"IImageVectorLayer"},IChildLayer:{type:"object",properties:{defaultVisibility:{description:"Default visibility of the layers in the map service."},definitionEditor:{$ref:"#/definitions/IDefinitionEditor",description:"An object that provides interactive filters."},featureSet:{$ref:"#/definitions/IFeatureSet",description:"A featureSet object containing the geometry and attributes of the features in the layer. Used with feature collections only."},field:{type:"array",items:{$ref:"#/definitions/IField"},description:"Information about each field in a layer. Used with feature collections."},id:{type:"string",description:"A string indicating the index position of the layer in the map service or feature collection."},layerDefinition:{description:"The layerDefinition object defines the attribute schema and drawing information for the layer."},layerUrl:{description:"A string URL to a service that should be used for all queries against the layer. Used with hosted tiled map services on ArcGIS Online when there is an associated feature service that allows for queries."},maxScale:{description:"Represents the maximum scale at which the layer definition will be applied."},minScale:{description:"Represents the minimum scale at which the layer definition will be applied."},nextObjectId:{description:"Iterates within a featureset. Number objectId value is incremented +1 based on last Object ID defined for the feature in a featureset. Used with feature collections."},parentLayerId:{description:"If working with nested layers, this is the numeric value indicating the layer id of the next layer (parent) directly above the current referenced layer."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the popup window content for the layer."},showLegend:{description:"Indicates whether to allow map authors the ability to control what layers should be shown in a client's legend."},subLayer:{description:"Array of numeric values indicating the layer index for layers nested directly under the parent layer."},subLayerIds:{description:"If the layer is a parent layer, it will have one or more sub layers included in an array."},title:{description:"A user-friendly string title for the layer that can be used in a table of contents."}},description:"A layer object may allow overrides on popup content and drawing behavior for individual layers of a web service. This object also contains geographic features and their attributes when used in a feature collection.",title:"IChildLayer"},IMapServiceLayer:{type:"object",properties:{timeAnimation:{type:"boolean",description:"This property is applicable to layers that support time. If 'true', timeAnimation is enabled."},id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISMapServiceLayer",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},isReference:{description:"This is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},layers:{type:"array",items:{$ref:"#/definitions/IChildLayer"},description:"An array of layer objects defining the styling, geometry, and attribute information for the features."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."},thematicGroup:{$ref:"#/definitions/IThematicGroup",description:"(Optional) A thematicGroup object used in ArcGISMapServiceLayer layers."},visibleLayers:{type:"array",items:{type:"number"},description:"An array of sublayer ids that should appear visible. Used with map service layers that are not tiled."}},required:["id","layerType"],title:"IMapServiceLayer"},IThematicGroup:{type:"object",properties:{fieldNames:{type:"array",items:{type:"string"},description:"An array of string values indicating all the fields used within the webmap. All other fields can be disregarded and should not display in any field selection list."},layerIds:{type:"array",items:{type:"number"},description:"A zero-based array of integers indicating the layers to be used in the webmap. NOTE: All other layers should not be added to the TOC and may or may not be visible on the map as reference layers."},name:{type:"string",description:"String property indicating the name for the thematic grouping of layers."}},title:"IThematicGroup"},IDrawingInfo:{type:"object",properties:{fixedSymbols:{description:"Only used for feature collections with a renderer. The feature's symbol is defined by the layer's renderer."},labelingInfo:{description:"An object defining the properties used for labeling the layer."},renderer:{description:"An object defined which provides the symbology for the layer."},scaleSymbols:{description:"Boolean property indicating whether symbols should stay the same size in screen units as you zoom in. A value of true means the symbols stay the same size in screen units regardless of the map scale."},showLabels:{type:"boolean",description:"Defines whether labels should be shown or not. This is only valid for sublayers."},transparency:{type:"number",description:"Number value ranging between 0 (no transparency) to 100 (completely transparent)."}},title:"IDrawingInfo"},ITypeInfoDomain:{type:"object",properties:{type:{type:"string"}},required:["type"],title:"ITypeInfoDomain"},ITypeInfo:{type:"object",properties:{domains:{$ref:"#/definitions/Record%3Cstring%2CITypeInfoDomain%3E",description:"A comma-delimited series of domain objects for each domain in the type."},id:{type:["number","string"],description:"A unique string or numerical ID for the type."},name:{type:"string",description:"A user-friendly name for the type."},templates:{type:"array",items:{$ref:"#/definitions/ITemplate"},description:"Defined as a property of the layer definition when there are no types defined; otherwise, templates are defined as properties of the types."}},title:"ITypeInfo"},"Record<string,ITypeInfoDomain>":{type:"object",additionalProperties:{$ref:"#/definitions/ITypeInfoDomain"},title:"Record<string,ITypeInfoDomain>"},IOpenStreetMapLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"OpenStreetMap",description:"String indicating the layer type. Value of this property must be OpenStreetMap"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"OpenStreetMap",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."}},required:["id","layerType"],description:"Allows use of OpenStreetMap data for use in basemaps only.",title:"IOpenStreetMapLayer"},ITiledImageServiceLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISTiledImageServiceLayer",description:"String indicating the layer type. Value of this property must be ArcGISTiledImageServiceLayer"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},isReference:{type:"boolean",description:"Applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."}},required:["id","layerType"],title:"ITiledImageServiceLayer"},IExclusionArea:{type:"object",properties:{geometry:{$ref:"#/definitions/IGeometry",description:"The geometry defining the area where no data will be fetched. Only extent is supported."},maxScale:{type:"number",description:"The zoom level where the exclusion ends."},maxZoom:{type:"number",description:"The zoom level where the exclusion ends."},minScale:{type:"number",description:"The zoom level where the exclusion starts."},minZoom:{type:"number",description:"The zoom level where the exclusion starts."}},description:"Exclusion areas define extent areas where no data will be fetched for a layer.",title:"IExclusionArea"},ITiledMapServiceLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISTiledMapServiceLayer",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},displayLevels:{anyOf:[{type:"array",items:{type:"number"}},{type:"number"}],description:"NOTE: Applicable if used as a baseMapLayer. Integer value(s) indicating the display levels of the basemap layer. Only applicable for TiledMapService layers. All tiled map service layers should share the same tiling scheme. This property cannot be set via the Map Viewer UI."},exclusionAreas:{type:"array",items:{$ref:"#/definitions/IExclusionArea"},description:"NOTE: Applicable if used as a baseMapLayer. An array of exclusionArea objects defining the layer exclusions."},isReference:{description:"This property is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},layers:{type:"array",items:{$ref:"#/definitions/IChildLayer"},description:"An array of layer objects defining a URL for queries and the popup window content."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."}},required:["id","layerType"],description:"An ArcGIS Tiled Map Service layer displays map content from an ArcGIS Server Map service that has been cached (tiled).",title:"ITiledMapServiceLayer"},IVectorTileLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"VectorTileLayer",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"VectorTileLayer",description:"Deprecated. User layerType instead."},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},styleUrl:{type:"string",description:"A url to a JSON file containing the stylesheet information used to render the layer. You may also pass an object containing the stylesheet information identical to the JSON file."}},required:["id","layerType"],description:"A vector tile layer references a set of web-accessible vector tiles and the corresponding style for how those tiles should be drawn.",title:"IVectorTileLayer"},ILod:{type:"object",properties:{level:{type:"number",description:"ID for each level."},levelValue:{type:"string",description:"String to be used when constructing URL to access a tile from this LOD."},resolution:{type:"number",description:"Resolution in map units of each pixel in a tile for each level."},scale:{type:"number",description:"Scale for each level."}},title:"ILod"},ITileInfo:{type:"object",properties:{cols:{description:"Requested tile's column."},compressionQuality:{description:"Compression quality of the tile."},dpi:{description:"The dpi of the tiling scheme."},format:{type:"string",enum:["bmp","emf","gif","jpg","lerc","mixed","pdf","png","png8","png24","png32","ps","svg","svgz"],description:"Image format of the cached tiles."},lods:{type:"array",items:{$ref:"#/definitions/ILod"},description:"An array of levels of detail that define the tiling scheme."},origin:{$ref:"#/definitions/IPoint",description:"The tiling scheme origin."},rows:{description:"Requested tile's row."},spatialReference:{$ref:"#/definitions/ISpatialReference",description:"The spatial reference of the tiling schema."}},description:"Tile information, returned from the WMTS OGC Web Service. The tileInfo will contain the spatial reference of the layer. tileInfo is the same json representation as the ArcGIS Map/Image service tileInfo except that it may contain a levelValue on the lod objects that should be used instead of the level in the templateUrl.",title:"ITileInfo"},IWebMapTileServiceInfo:{type:"object",properties:{customLayerParameters:{description:"A sequence of parameters used to append different custom parameters to a WMTS tile request. These parameters are applied to GetTile. The customLayerParameters property takes precedence if customParameters is also present."},customParameters:{description:"A sequence of parameters used to append custom parameters to all WMTS requests. These parameters are applied to GetCapabilities and GetTile. If used with the customLayerParameters property, customParameters will not take precedence."},layerIdentifier:{type:"string",description:"Identifier for the specific layer used in the WMTS service. Required input by the user."},tileMatrixSet:{description:"Tiling schema, set by the WMTS service."},url:{type:"string",description:"URL to the WMTS web service. Required input by the user."}},required:["layerIdentifier","url"],description:"Object defines and provides information about layers in a WMTSLayer service.",title:"IWebMapTileServiceInfo"},IWebTiledLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"WebTiledLayer",description:"String indicating the layer type. Value of this property must be WebTiledLayer"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"WebTiledLayer",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},copyright:{description:"Attribution to the Web Tiled Layer provider. It is displayed in the attribution on the web map. Input required by the user when the layer is added to the web map."},fullExtent:{$ref:"#/definitions/IExtent",description:"An extent object representing the full extent envelope for the layer."},isReference:{description:"This is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},refreshInterval:{description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."},subDomains:{description:"If subdomains are detected, they must be specified. The map viewer detects if the Web Tiled Layer has subdomains by parsing the templateURL value for {subDomain}."},templateUrl:{description:"URL to the Web Tiled Layer. Input required by the user when the layer is added to the web map. The template URL contains a parameterized URL. The URL can contain the following templated parameters: 'level', 'col', 'row', and 'subDomain'."},tileInfo:{$ref:"#/definitions/ITileInfo",description:"Contains the spatial reference and the tiling scheme of the layer. Typically retrieved from a WMTS OGC Web Service. If missing the layer must be in the WGS 1984 Web Mercator (Auxiliary Sphere) tiling scheme."},wmtsInfo:{$ref:"#/definitions/IWebMapTileServiceInfo",description:"Object containing information about the chosen WMTS service layer and tiling schema."}},required:["id","layerType"],title:"IWebTiledLayer"},ICsvLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"CSV",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"CSV",description:"Deprecated, use layerType instead."},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},columnDelimiter:{type:"string",enum:[" ",",",";"," ","|"],description:"A string defining the character used to separate columns in a CSV file."},layerDefinition:{$ref:"#/definitions/ILayerDefinition",description:"A layerDefinition object defining the attribute schema and drawing information for the layer."},locationInfo:{description:"A locationInfo object defining how location information will be retrieved from a CSV file."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the content of popup windows when you click or query a feature."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."}},required:["id","layerType"],description:"The CSV layer type references a CSV or TXT file from a publically-accessible web server. It then dynamically loads into the map at run time. The CSV layer will maintain a reference to the CSV resource.",title:"ICsvLayer"},IGeoRssLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"GeoRSS",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"GeoRSS",description:"Deprecated, please use layerType.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Defined by the GeoRSS to JSON request service. If the GeoRSS feed does not have lines, this property is not added to the layer JSON."},pointSymbol:{$ref:"#/definitions/IPictureMarkerSymbol",description:"Defined by the GeoRSS to JSON request service. If the GeoRSS feed does not have points, this property is not added to the layer JSON."},polygonSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Defined by the GeoRSS to JSON request service. If the GeoRSS feed does not have polygons, this property is not added to the layer JSON."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."}},required:["id","layerType"],title:"IGeoRssLayer"},IKmlLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"KML",description:"String indicating the layer type."},maxScale:{description:"A number representing the maximum scale at which the layer will be visible. The number is the scale's denominator."},minScale:{description:"A number representing the minimum scale at which the layer will be visible. The number is the scale's denominator."},opacity:{description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{description:"Indicates whether to allow map authors the ability to control what layers should be shown in a client's legend."},title:{description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"KML",description:"Deprecated, use layerType instead.",deprecated:"Use layerType instead."},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},refreshInterval:{description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."},visibleFolders:{type:"array",items:{type:"number"},description:"Array of numeric IDs of folders that will be made visible."}},required:["id","layerType"],title:"IKmlLayer"},IArcGisStreamLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISStreamLayer",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},definitionEditor:{$ref:"#/definitions/IDefinitionEditor",description:"Stores interactive filters."},disablePopup:{type:"boolean",description:"Indicates whether to ignore popups defined by the service item."},layerDefinition:{$ref:"#/definitions/ILayerDefinition",description:"A layerDefinition object defining the attribute schema and drawing information for the layer."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the content of pop-up windows when you click or query a feature."}},required:["id","layerType"],title:"IArcGisStreamLayer"}},$ref:"#/definitions/WebChart"};var cd=oc(Ll(),1);var q={Arabic:"ar",ArabicLatin:"ar-u-nu-latn",Bosnian:"bs",Bulgarian:"bg",Catalan:"ca",Czech:"cs",Danish:"da",German:"de",Greek:"el",English:"en",EnglishUSA:"en-US",Spanish:"es",Estonian:"et",Finnish:"fi",French:"fr",Hebrew:"he",Croatian:"hr",Hungarian:"hu",Indonesian:"id",Italian:"it",Japanese:"ja",Korean:"ko",Lithuanian:"lt",Latvian:"lv",NorwegianBokml:"no",Dutch:"nl",Polish:"pl",PortugueseBrazil:"pt-BR",PortuguesePortugal:"pt-PT",Romanian:"ro",Russian:"ru",Serbian:"sr",Slovenian:"sl",Slovak:"sk",Swedish:"sv",Thai:"th",Turkish:"tr",Ukrainian:"uk",Vietnamese:"vi",ChineseChina:"zh-CN",ChineseHongKong:"zh-HK",ChineseTaiwan:"zh-TW"},Cv=[...Object.values(q),"en-AU","en-GB","es-ES","es-MX","de-CH","de-DE","de-AT","it-CH","it-IT"];function Ze(e,r){return ga(e)(r)}function Tv(e){let r=/^([a-z]{2})-([A-Z]{2})$/u,i=e?.match(r),t=q.English;return i!=null&&i?.length>1?t=i[1]:e?.length===2&&e.toLowerCase()===e&&(t=e),t}function Av(e){let r=e;if(e!==void 0&&e.includes("-")){let[i,t]=e.split("-");r=`${i}-${t.toUpperCase()}`}return r}function Dl(e,r){let i=q.English,t=Av(e);if(t!==void 0)if(r.includes(t))i=t;else{let a=Tv(t);r.includes(a)?i=a:a==="nb"&&(i="no")}return i}function $l(e,r){function i(t){let a;return t===void 0||t===document||t===window?a=null:a=t.closest(e)||i(t.getRootNode().host),a}return i(r)}function fd(e=document.documentElement){let r=$l("[lang]",e)?.lang??window.navigator.language,i=Object.values(q),t=Object.values(Cv),a=Dl(r,i),o=Dl(r,t);return o=o==="ar"?"ar-u-nu-latn":o,{locale:a,rtl:$l("[dir]",e)?.getAttribute("dir")==="rtl",formatLocale:o}}function F$(e){let r;return e==="unknown"?r="UTC":e!==void 0&&e!=="system"&&(r=e),r}function O$(e,r){let i={year:"numeric",month:"2-digit",day:"2-digit",timeZone:r};return new Intl.DateTimeFormat("en-CA",i).format(e)}function E$(e,r){let i={hour:"2-digit",minute:"2-digit",hour12:!1,timeZone:r};return new Intl.DateTimeFormat("en-US",i).format(e)}function L$(e,r){let[,i,,,,t]=1111.1.toLocaleString(r),a=e.replace(i,"").replace(t,".");return Number.parseFloat(a)}async function ht(e=fd().locale){let r=await import("./XE2KNJZB.js");switch(e){case q.Arabic:r=await import("./FH23NG4N.js");break;case q.Bosnian:r=await import("./MXENTHHF.js");break;case q.Bulgarian:r=await import("./UGZM7XLM.js");break;case q.Catalan:r=await import("./233EGFPQ.js");break;case q.Czech:r=await import("./TJ3IT2GL.js");break;case q.Danish:r=await import("./AHR7F6FZ.js");break;case q.German:r=await import("./U6VJHL45.js");break;case q.Greek:r=await import("./YR7OZMBC.js");break;case q.EnglishUSA:r=await import("./PHGZQNPV.js");break;case q.Spanish:r=await import("./RWVDXPOT.js");break;case q.Estonian:r=await import("./Y7S4XA6Q.js");break;case q.Finnish:r=await import("./GGEPOWVP.js");break;case q.French:r=await import("./HVHAXLYD.js");break;case q.Hebrew:r=await import("./SF4ESJ5G.js");break;case q.Croatian:r=await import("./AOGBQSGX.js");break;case q.Hungarian:r=await import("./VUMZ5CLO.js");break;case q.Indonesian:r=await import("./DIV5JPJV.js");break;case q.Italian:r=await import("./XS4QASSB.js");break;case q.Japanese:r=await import("./LA3LUM2V.js");break;case q.Korean:r=await import("./5RV4IK5S.js");break;case q.Lithuanian:r=await import("./2G2DMUXW.js");break;case q.Latvian:r=await import("./IFBFMAK6.js");break;case q.NorwegianBokml:r=await import("./GPBWKBWM.js");break;case q.Dutch:r=await import("./RICH3QOU.js");break;case q.Polish:r=await import("./WGBCSG4J.js");break;case q.PortugueseBrazil:r=await import("./JIFWSBBO.js");break;case q.PortuguesePortugal:r=await import("./LIWGK645.js");break;case q.Romanian:r=await import("./6YCMKPVI.js");break;case q.Russian:r=await import("./KMTJGYJR.js");break;case q.Serbian:r=await import("./OQAMK3YH.js");break;case q.Slovak:r=await import("./JTUK3G72.js");break;case q.Slovenian:r=await import("./X7PISVVF.js");break;case q.Swedish:r=await import("./VYJWMYO3.js");break;case q.Thai:r=await import("./UUOCQKDU.js");break;case q.Turkish:r=await import("./4MWZWSPT.js");break;case q.Ukrainian:r=await import("./TV64YPS2.js");break;case q.Vietnamese:r=await import("./IV3VV547.js");break;case q.ChineseChina:r=await import("./XUZGEJME.js");break;case q.ChineseHongKong:r=await import("./Y5WN5MAM.js");break;case q.ChineseTaiwan:r=await import("./STJNXDD7.js");break;case q.English:}return r}var hd={Reject:"reject",RenderUpToTheLimit:"renderUpToTheLimit"},te={AxisLabels:"axisLabels",GuideLabel:"guideLabel",AxisTitle:"axisTitle",ChartTitle:"chartTitle",ChartSubtitle:"chartSubtitle",DataLabels:"dataLabels",LegendTitle:"legendTitle",LegendText:"legendText",DescriptionText:"descriptionText"},D$=32,$$="arcgis_charts_features_extent",Jt={maxRecordCountFactor:5,maxParallelRequests:4,maxRecords:2e3,orderByJSAPIDelimiter:" ",outStatistics:{statisticType:yo.statisticType,onStatisticField:"OBJECTID",outStatisticFieldName:"arcgis_charts_outStatisticFieldName_default_key"},uniqueIdsName:"arcgisChartsUniqueIds"},Pv=["EXPR_1","Expr1","expr1","EXPR1"],j$=1,at=.7,Fv=25,md=[156,156,156,255],Ov=[156,156,156,255],R$=nr.Solid,_$=2,k$={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"},Va="arcgis_charts_box_plot_category",Ev=[[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]],Lv=[[104,104,104,255],[51,124,235,255],[132,0,168,255],[156,156,156,255]];function ut(e){let{colorIndex:r,opacity:i,histogramOverlays:t}=e,a=Math.max(0,r??0),o=[...t===!0?Lv:Ev],[n,s,l,u]=o[a%o.length],c=i!==void 0?i*255:u;return[n,s,l,c]}function yd(e){return[0,0,0,(e??at)*255]}function B$(){return{type:L.CursorCrosshair,verticalLineVisible:!1,horizontalLineVisible:!1,style:{type:ke.SLS,style:nr.Dot,color:[211,211,211,255],width:1}}}function Ki(e=1){return[Math.floor(Math.random()*256),Math.floor(Math.random()*256),Math.floor(Math.random()*256),e*255]}function pe(e){let r={family:"Arial, Helvetica, sans-serif",size:10};switch(e){case te.ChartTitle:r.size=18;break;case te.AxisTitle:r.size=14;break;case te.LegendText:r.size=12;break;case te.LegendTitle:r.size=13;break;case te.DescriptionText:r.size=11;break}return r}function gd(e="",r=pe(),i){let t=Yr.Center;return(i===te.DataLabels||i===te.GuideLabel)&&(t=void 0),{type:ke.TS,color:yd(),text:e,font:r,horizontalAlignment:t}}function ie(e){let{text:r,visible:i,font:t,type:a}=e??{text:"",visible:!0,font:pe()};return{type:L.Text,visible:i,content:gd(r,t,a)}}function Gr(e){let r=e?.useRandomColor??!1,i=e?.useRampColor,t=e?.width??1,a=e?.isHistogramOverlay,o=e?.color??yd(1);return r?o=Ki():i!==void 0&&(a===!0?o=ut({colorIndex:i.colorIndex,histogramOverlays:a}):o=ut({colorIndex:i.colorIndex})),e?.opacity!==void 0&&(o[3]=e.opacity),{type:ke.SLS,style:nr.Solid,color:o,width:t}}function Dv(){return{type:L.CategoryAxisFormat,characterLimit:11}}function q$(){return{type:L.DateAxisFormat,intlOptions:{}}}function qa(){return{type:L.NumberAxisFormat,intlOptions:{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:3,useGrouping:!0}}}function M$(){return{type:L.NumberAxisFormat,intlOptions:{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:2}}}function N$(){return{type:L.NumberAxisFormat,intlOptions:{style:"percent",minimumFractionDigits:0,maximumFractionDigits:0}}}function jl(e="Category Axis"){let r=ie({text:e,visible:!0,font:pe(te.AxisTitle)});r.content.horizontalAlignment=Yr.Center,r.content.verticalAlignment=ia.Middle;let i=ie({text:e,visible:!0,font:pe(te.AxisLabels)});return{type:L.Axis,visible:!0,title:r,labels:i,valueFormat:Dv(),lineSymbol:Gr({color:md})}}function Wi(e="Value Axis"){let r=ie({text:e,visible:!0,font:pe(te.AxisTitle)}),i=ie({text:e,visible:!0,font:pe(te.AxisLabels)});return r.content.verticalAlignment=ia.Middle,r.content.horizontalAlignment=Yr.Center,{type:L.Axis,visible:!0,title:r,labels:i,valueFormat:qa(),lineSymbol:Gr({color:md})}}function Yt(){return{type:L.Legend,visible:!0,title:ie({text:"",visible:!0,font:pe(te.LegendTitle)}),body:gd("",pe(te.LegendText)),position:mo.Right,maxHeight:Number.NaN}}function ki(e){return{type:L.Overlay,visible:!0,created:!1,symbol:Gr({useRampColor:{colorIndex:e},isHistogramOverlay:!0})}}function Xt(){return[255,255,255,255]}async function Bt(){return(await ht()).defaultTitle}function qt(){return`Chart ${Date.now()}`}function W$(e,r=!1){return{type:ke.SFS,style:sr.Solid,color:r?Ki(at):ut({colorIndex:e??0,opacity:at})}}function $v(e=0){return{type:ke.SMS,style:ra.Circle,color:ut({colorIndex:e,opacity:at}),size:4}}function jv(e){return{type:ke.SLS,style:nr.Solid,color:ut({colorIndex:e,opacity:at}),width:2}}function Rv(e=!1){return{type:ke.SMS,style:ra.Circle,color:e?Ki(at):ut({colorIndex:0,opacity:at}),size:7}}function z$(){return{type:L.SizePolicy,field:"",scaleType:vo.Linear,minSize:5,maxSize:30}}function _v(e=!1){return{type:L.Overlays,trendLine:{type:L.Overlay,created:!1,visible:!0,symbol:{type:ke.SLS,style:nr.Solid,color:e?Ki():ut({colorIndex:1}),width:2}}}}function kv(){return{type:L.ScatterSeries,id:L.ScatterSeries,name:L.ScatterSeries,x:"",y:"",markerSymbol:Rv(),overlays:_v(),dataLabels:ie({text:"",visible:!1,font:pe(te.DataLabels)})}}async function Or(e){let r=await ht(),i=[],t=r.xAxis,a=r.statistics.count,o,n=Wi(a),s=Gr({opacity:Fv});switch(n.grid=s,e){case L.BarSeries:{o=jl(t);break}case L.ScatterSeries:{o=Wi(t),o.grid=s;break}case L.RadarSeries:case L.LineSeries:case L.HistogramSeries:{o=Wi(t);break}case L.BoxPlotSeries:{o=jl("");break}}return o!==void 0&&i.push(o,n),i}function Bv(){return{type:L.GaugeNeedle,symbol:{type:ke.SFS,color:[0,0,0,200]}}}async function qv(){let e=await ht(),r=[],i=e.xAxis,t=Wi(i);return t.needle=Bv(),r.push(t),r}async function Mv(e){let r=e.objectIDField??"ObjectID",i=`${we.Count}_${r}_0`.toUpperCase(),t=(await ht()).countSeries;return{type:L.LineSeries,id:t,name:t,query:{outStatistics:[{statisticType:we.Count,onStatisticField:r,outStatisticFieldName:i}],groupByFieldsForStatistics:[]},x:"",y:i,lineSymbol:jv(e.seriesIndex),markerSymbol:$v(e.seriesIndex),dataLabels:ie({text:"",visible:!1,font:pe(te.DataLabels)}),temporalBinning:{type:ta.FixedDateBased,unit:_e.Day,size:0,timeAggregationType:ar.Start,trimIncompleteTimeInterval:!0,nullPolicy:go.Interpolate}}}async function V$(e){return{...await Mv(e),type:L.RadarSeries}}function Nv(e){return{type:ke.SFS,style:sr.Solid,color:ut({colorIndex:e,opacity:at})}}async function U$(e){let r=e.objectIDField??"ObjectID",i=`${we.Count}_${r}_0`.toUpperCase(),t=(await ht()).countSeries;return{type:L.BarSeries,id:t,name:t,query:{outStatistics:[{statisticType:we.Count,onStatisticField:r,outStatisticFieldName:i}],groupByFieldsForStatistics:[]},x:"",y:i,fillSymbol:Nv(e.seriesIndex),dataLabels:ie({text:"",visible:!1,font:pe(te.DataLabels),type:te.DataLabels})}}async function G$(e){let r=(await ht()).countSeries;return{name:r,type:L.BoxPlotSeries,id:r,fillSymbol:{type:ke.SFS,style:sr.Solid,color:ut({colorIndex:e,opacity:at})},query:{},x:Va,y:""}}function Wv(){return{type:L.PieTick,visible:!0,lineSymbol:Gr({width:1,color:Ov})}}function zv(){return{type:ke.SFS,style:sr.Solid}}async function H$(e){let r=`${we.Count}_${e}_0`.toUpperCase(),i=(await ht()).countSeries;return{type:L.PieSeries,id:i,name:i,query:{outStatistics:[{statisticType:we.Count,onStatisticField:e??"ObjectID",outStatisticFieldName:r}],groupByFieldsForStatistics:[]},x:"",y:r,fillSymbol:zv(),dataLabels:ie({text:"",visible:!1,font:pe(te.DataLabels),type:te.DataLabels}),startAngle:-90,endAngle:270,dataLabelsCharacterLimit:11,displayNumericValueOnDataLabel:!1,displayPercentageOnDataLabel:!0,numericValueFormat:{...qa(),intlOptions:{minimumFractionDigits:1,maximumFractionDigits:1}},percentValueFormat:{...qa(),intlOptions:{minimumFractionDigits:1,maximumFractionDigits:1}},ticks:Wv()}}function Q$(e){let r=e.objectIDField??"ObjectID",i=`${we.Count}_${r}_0`.toUpperCase(),t="Series0";return{type:L.GaugeSeries,id:t,name:t,query:{outStatistics:[{statisticType:we.Count,onStatisticField:r,outStatisticFieldName:i}]},x:""}}function zr(){return!1}async function K$(e=qt()){return{version:xt,type:L.Chart,id:e,colorMatch:!0,rotated:zr(),orderOptions:{data:{orderType:or.Category,orderBy:lt.Ascending}},title:ie({text:await Bt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:Xt(),axes:await Or(L.BarSeries),series:[],legend:Yt()}}async function J$(e=qt()){return{version:xt,type:L.Chart,id:e,rotated:zr(),colorMatch:!0,orderOptions:{data:{orderType:or.Category,orderBy:lt.Ascending}},title:ie({text:await Bt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:Xt(),series:[],legend:Yt(),axes:await Or(L.BoxPlotSeries),standardizeValues:!0,showOutliers:!1}}async function Z$(e=qt()){return{version:xt,type:L.Chart,id:e,colorMatch:!0,rotated:zr(),orderOptions:{data:{orderType:or.Category,orderBy:lt.Ascending}},title:ie({text:await Bt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:Xt(),axes:await Or(L.LineSeries),series:[],legend:Yt()}}async function Y$(e=qt()){return{version:xt,type:L.Chart,id:e,colorMatch:!0,orderOptions:{data:{orderType:or.Category,orderBy:lt.Ascending}},title:ie({text:await Bt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:Xt(),axes:await Or(L.RadarSeries),series:[],legend:Yt()}}async function X$(e=qt()){return{version:xt,type:L.Chart,id:e,colorMatch:!0,orderOptions:{data:{orderType:or.YValue,orderBy:lt.Descending}},title:ie({text:await Bt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:Xt(),series:[],legend:{...Yt(),displayNumericValue:!1,displayPercentage:!0}}}async function ej(e=qt()){return{version:xt,type:L.Chart,id:e,colorMatch:!0,title:ie({text:await Bt(),visible:!0,font:pe(te.ChartTitle)}),series:[],axes:await qv()}}async function tj(e=qt()){return{version:xt,type:L.Chart,id:e,colorMatch:!0,title:ie({text:await Bt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:Xt(),axes:await Or(L.ScatterSeries),series:[kv()],legend:Yt()}}function Vv(){return{type:L.Overlays,mean:ki(1),median:ki(2),standardDeviation:ki(3),comparisonDistribution:ki(4)}}function Uv(){return{type:ke.SFS,style:sr.Solid,color:ut({colorIndex:0,opacity:at})}}function Gv(){return{type:L.HistogramSeries,id:L.HistogramSeries,name:L.HistogramSeries,visible:!0,dataTooltipVisible:!0,dataTooltipReverseColor:!1,assignToSecondValueAxis:!1,x:"",binCount:32,overlays:Vv(),dataTransformationType:ea.None,fillSymbol:Uv(),dataLabels:ie({text:"",visible:!1,font:pe(te.DataLabels)})}}async function rj(e=qt()){return{version:xt,type:L.Chart,id:e,colorMatch:!0,title:ie({text:await Bt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:Xt(),axes:await Or(L.HistogramSeries),series:[Gv()],legend:Yt()}}var wa={behaviorAfterLimit:hd.Reject,maxCategoryCount:Number.NaN,maxBarChartSeriesCount:100,maxBarUniqueSeriesCountTotal:1e4,maxBarTwoSeriesCountPerSeries:1e3,maxBarTwoSeriesCountTotal:2e3,maxBarThreePlusSeriesCountPerSeries:100,maxBarThreePlusSeriesCountTotal:2e3,maxScatterPointsBeforeAggregation:1e4,maxScatterPointsAfterAggregation:1e4,maxLineChartSeriesCount:100,maxLineUniqueSeriesCountTotal:1e4,maxLineTwoSeriesCountPerSeries:5e3,maxLineTwoSeriesCountTotal:1e4,maxLineThreePlusSeriesCountPerSeries:1e3,maxLineThreePlusSeriesCountTotal:1e4,maxPieChartSliceCountTotal:300,maxGaugeByFeaturesLimit:50,maxBoxPlotSeriesCount:100,maxBoxUniqueSeriesCountTotal:1e4,maxBoxTwoSeriesCountPerSeries:1e3,maxBoxTwoSeriesCountTotal:2e3,maxBoxThreePlusSeriesCountPerSeries:100,maxBoxThreePlusSeriesCountTotal:2e3,maxBoxPlotOutlierLimit:1e4};function Hv(e){let r={...wa};return e!==void 0&&Object.keys(wa).forEach(i=>{let t=i;r[t]=e[t]??wa[t]}),r}function ij(){return{maxScatterCellsPerQuery:500,maxScatterCellsPerQueryForStandard:175,maxElementsPerSelectionQuery:25,maxOIDsPerSelectionQuery:2e3,maxOperandsPerWhereClause:200}}async function aj(e){let r=await ht(),i;switch(e){case we.Average:{i=r.statistics.mean;break}case we.ContinuousPercentile:{i=r.statistics.median;break}case we.Sum:{i=r.statistics.sum;break}case we.Minimum:{i=r.statistics.minimum;break}case we.Maximum:{i=r.statistics.maximum;break}case we.Variance:{i=r.statistics.variance;break}case we.DiscretePercentile:{i=r.statistics.discretePercentile;break}case we.NoAggregation:{i=r.statistics.noAggregation;break}case we.Count:default:{i=r.statistics.count;break}}return i}async function oj(e){let r=await ht(),i;switch(e){case ar.End:{i=r.timeAggregationTypes.end;break}case ar.Start:{i=r.timeAggregationTypes.start;break}default:i="";break}return i}function Qv(){return Rr.Side}async function nj(){return(await ht()).notAvailable}var sj=0,Kv="_arcgis_charts_outliers",Jv="_arcgis_charts_z_score",lj=[210,210,210,255*at],pj=" percentage ";var Ui=function(){return Ui=Object.assign||function(e){for(var r,i=1,t=arguments.length;i<t;i++){r=arguments[i];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},Ui.apply(this,arguments)},Ma={exports:{}},Te={},Na={exports:{}},er={};function bd(){var e={};return e["align-content"]=!1,e["align-items"]=!1,e["align-self"]=!1,e["alignment-adjust"]=!1,e["alignment-baseline"]=!1,e.all=!1,e["anchor-point"]=!1,e.animation=!1,e["animation-delay"]=!1,e["animation-direction"]=!1,e["animation-duration"]=!1,e["animation-fill-mode"]=!1,e["animation-iteration-count"]=!1,e["animation-name"]=!1,e["animation-play-state"]=!1,e["animation-timing-function"]=!1,e.azimuth=!1,e["backface-visibility"]=!1,e.background=!0,e["background-attachment"]=!0,e["background-clip"]=!0,e["background-color"]=!0,e["background-image"]=!0,e["background-origin"]=!0,e["background-position"]=!0,e["background-repeat"]=!0,e["background-size"]=!0,e["baseline-shift"]=!1,e.binding=!1,e.bleed=!1,e["bookmark-label"]=!1,e["bookmark-level"]=!1,e["bookmark-state"]=!1,e.border=!0,e["border-bottom"]=!0,e["border-bottom-color"]=!0,e["border-bottom-left-radius"]=!0,e["border-bottom-right-radius"]=!0,e["border-bottom-style"]=!0,e["border-bottom-width"]=!0,e["border-collapse"]=!0,e["border-color"]=!0,e["border-image"]=!0,e["border-image-outset"]=!0,e["border-image-repeat"]=!0,e["border-image-slice"]=!0,e["border-image-source"]=!0,e["border-image-width"]=!0,e["border-left"]=!0,e["border-left-color"]=!0,e["border-left-style"]=!0,e["border-left-width"]=!0,e["border-radius"]=!0,e["border-right"]=!0,e["border-right-color"]=!0,e["border-right-style"]=!0,e["border-right-width"]=!0,e["border-spacing"]=!0,e["border-style"]=!0,e["border-top"]=!0,e["border-top-color"]=!0,e["border-top-left-radius"]=!0,e["border-top-right-radius"]=!0,e["border-top-style"]=!0,e["border-top-width"]=!0,e["border-width"]=!0,e.bottom=!1,e["box-decoration-break"]=!0,e["box-shadow"]=!0,e["box-sizing"]=!0,e["box-snap"]=!0,e["box-suppress"]=!0,e["break-after"]=!0,e["break-before"]=!0,e["break-inside"]=!0,e["caption-side"]=!1,e.chains=!1,e.clear=!0,e.clip=!1,e["clip-path"]=!1,e["clip-rule"]=!1,e.color=!0,e["color-interpolation-filters"]=!0,e["column-count"]=!1,e["column-fill"]=!1,e["column-gap"]=!1,e["column-rule"]=!1,e["column-rule-color"]=!1,e["column-rule-style"]=!1,e["column-rule-width"]=!1,e["column-span"]=!1,e["column-width"]=!1,e.columns=!1,e.contain=!1,e.content=!1,e["counter-increment"]=!1,e["counter-reset"]=!1,e["counter-set"]=!1,e.crop=!1,e.cue=!1,e["cue-after"]=!1,e["cue-before"]=!1,e.cursor=!1,e.direction=!1,e.display=!0,e["display-inside"]=!0,e["display-list"]=!0,e["display-outside"]=!0,e["dominant-baseline"]=!1,e.elevation=!1,e["empty-cells"]=!1,e.filter=!1,e.flex=!1,e["flex-basis"]=!1,e["flex-direction"]=!1,e["flex-flow"]=!1,e["flex-grow"]=!1,e["flex-shrink"]=!1,e["flex-wrap"]=!1,e.float=!1,e["float-offset"]=!1,e["flood-color"]=!1,e["flood-opacity"]=!1,e["flow-from"]=!1,e["flow-into"]=!1,e.font=!0,e["font-family"]=!0,e["font-feature-settings"]=!0,e["font-kerning"]=!0,e["font-language-override"]=!0,e["font-size"]=!0,e["font-size-adjust"]=!0,e["font-stretch"]=!0,e["font-style"]=!0,e["font-synthesis"]=!0,e["font-variant"]=!0,e["font-variant-alternates"]=!0,e["font-variant-caps"]=!0,e["font-variant-east-asian"]=!0,e["font-variant-ligatures"]=!0,e["font-variant-numeric"]=!0,e["font-variant-position"]=!0,e["font-weight"]=!0,e.grid=!1,e["grid-area"]=!1,e["grid-auto-columns"]=!1,e["grid-auto-flow"]=!1,e["grid-auto-rows"]=!1,e["grid-column"]=!1,e["grid-column-end"]=!1,e["grid-column-start"]=!1,e["grid-row"]=!1,e["grid-row-end"]=!1,e["grid-row-start"]=!1,e["grid-template"]=!1,e["grid-template-areas"]=!1,e["grid-template-columns"]=!1,e["grid-template-rows"]=!1,e["hanging-punctuation"]=!1,e.height=!0,e.hyphens=!1,e.icon=!1,e["image-orientation"]=!1,e["image-resolution"]=!1,e["ime-mode"]=!1,e["initial-letters"]=!1,e["inline-box-align"]=!1,e["justify-content"]=!1,e["justify-items"]=!1,e["justify-self"]=!1,e.left=!1,e["letter-spacing"]=!0,e["lighting-color"]=!0,e["line-box-contain"]=!1,e["line-break"]=!1,e["line-grid"]=!1,e["line-height"]=!1,e["line-snap"]=!1,e["line-stacking"]=!1,e["line-stacking-ruby"]=!1,e["line-stacking-shift"]=!1,e["line-stacking-strategy"]=!1,e["list-style"]=!0,e["list-style-image"]=!0,e["list-style-position"]=!0,e["list-style-type"]=!0,e.margin=!0,e["margin-bottom"]=!0,e["margin-left"]=!0,e["margin-right"]=!0,e["margin-top"]=!0,e["marker-offset"]=!1,e["marker-side"]=!1,e.marks=!1,e.mask=!1,e["mask-box"]=!1,e["mask-box-outset"]=!1,e["mask-box-repeat"]=!1,e["mask-box-slice"]=!1,e["mask-box-source"]=!1,e["mask-box-width"]=!1,e["mask-clip"]=!1,e["mask-image"]=!1,e["mask-origin"]=!1,e["mask-position"]=!1,e["mask-repeat"]=!1,e["mask-size"]=!1,e["mask-source-type"]=!1,e["mask-type"]=!1,e["max-height"]=!0,e["max-lines"]=!1,e["max-width"]=!0,e["min-height"]=!0,e["min-width"]=!0,e["move-to"]=!1,e["nav-down"]=!1,e["nav-index"]=!1,e["nav-left"]=!1,e["nav-right"]=!1,e["nav-up"]=!1,e["object-fit"]=!1,e["object-position"]=!1,e.opacity=!1,e.order=!1,e.orphans=!1,e.outline=!1,e["outline-color"]=!1,e["outline-offset"]=!1,e["outline-style"]=!1,e["outline-width"]=!1,e.overflow=!1,e["overflow-wrap"]=!1,e["overflow-x"]=!1,e["overflow-y"]=!1,e.padding=!0,e["padding-bottom"]=!0,e["padding-left"]=!0,e["padding-right"]=!0,e["padding-top"]=!0,e.page=!1,e["page-break-after"]=!1,e["page-break-before"]=!1,e["page-break-inside"]=!1,e["page-policy"]=!1,e.pause=!1,e["pause-after"]=!1,e["pause-before"]=!1,e.perspective=!1,e["perspective-origin"]=!1,e.pitch=!1,e["pitch-range"]=!1,e["play-during"]=!1,e.position=!1,e["presentation-level"]=!1,e.quotes=!1,e["region-fragment"]=!1,e.resize=!1,e.rest=!1,e["rest-after"]=!1,e["rest-before"]=!1,e.richness=!1,e.right=!1,e.rotation=!1,e["rotation-point"]=!1,e["ruby-align"]=!1,e["ruby-merge"]=!1,e["ruby-position"]=!1,e["shape-image-threshold"]=!1,e["shape-outside"]=!1,e["shape-margin"]=!1,e.size=!1,e.speak=!1,e["speak-as"]=!1,e["speak-header"]=!1,e["speak-numeral"]=!1,e["speak-punctuation"]=!1,e["speech-rate"]=!1,e.stress=!1,e["string-set"]=!1,e["tab-size"]=!1,e["table-layout"]=!1,e["text-align"]=!0,e["text-align-last"]=!0,e["text-combine-upright"]=!0,e["text-decoration"]=!0,e["text-decoration-color"]=!0,e["text-decoration-line"]=!0,e["text-decoration-skip"]=!0,e["text-decoration-style"]=!0,e["text-emphasis"]=!0,e["text-emphasis-color"]=!0,e["text-emphasis-position"]=!0,e["text-emphasis-style"]=!0,e["text-height"]=!0,e["text-indent"]=!0,e["text-justify"]=!0,e["text-orientation"]=!0,e["text-overflow"]=!0,e["text-shadow"]=!0,e["text-space-collapse"]=!0,e["text-transform"]=!0,e["text-underline-position"]=!0,e["text-wrap"]=!0,e.top=!1,e.transform=!1,e["transform-origin"]=!1,e["transform-style"]=!1,e.transition=!1,e["transition-delay"]=!1,e["transition-duration"]=!1,e["transition-property"]=!1,e["transition-timing-function"]=!1,e["unicode-bidi"]=!1,e["vertical-align"]=!1,e.visibility=!1,e["voice-balance"]=!1,e["voice-duration"]=!1,e["voice-family"]=!1,e["voice-pitch"]=!1,e["voice-range"]=!1,e["voice-rate"]=!1,e["voice-stress"]=!1,e["voice-volume"]=!1,e.volume=!1,e["white-space"]=!1,e.widows=!1,e.width=!0,e["will-change"]=!1,e["word-break"]=!0,e["word-spacing"]=!0,e["word-wrap"]=!0,e["wrap-flow"]=!1,e["wrap-through"]=!1,e["writing-mode"]=!1,e["z-index"]=!1,e}function Zv(e,r,i){}function Yv(e,r,i){}var Xv=/javascript\s*\:/img;function eS(e,r){return Xv.test(r)?"":r}er.whiteList=bd();er.getDefaultWhiteList=bd;er.onAttr=Zv;er.onIgnoreAttr=Yv;er.safeAttrValue=eS;var tS={indexOf:function(e,r){var i,t;if(Array.prototype.indexOf)return e.indexOf(r);for(i=0,t=e.length;i<t;i++)if(e[i]===r)return i;return-1},forEach:function(e,r,i){var t,a;if(Array.prototype.forEach)return e.forEach(r,i);for(t=0,a=e.length;t<a;t++)r.call(i,e[t],t,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(e){return String.prototype.trimRight?e.trimRight():e.replace(/(\s*$)/g,"")}},Wr=tS;function rS(e,r){e=Wr.trimRight(e),e[e.length-1]!==";"&&(e+=";");var i=e.length,t=!1,a=0,o=0,n="";function s(){if(!t){var c=Wr.trim(e.slice(a,o)),d=c.indexOf(":");if(d!==-1){var p=Wr.trim(c.slice(0,d)),f=Wr.trim(c.slice(d+1));if(p){var m=r(a,n.length,p,f,c);m&&(n+=m+"; ")}}}a=o+1}for(;o<i;o++){var l=e[o];if(l==="/"&&e[o+1]==="*"){var u=e.indexOf("*/",o+2);if(u===-1)break;o=u+1,a=o+1,t=!1}else l==="("?t=!0:l===")"?t=!1:l===";"?t||s():l===`
57
+ `&&s()}return Wr.trim(n)}var iS=rS,Bi=er,aS=iS;function Rl(e){return e==null}function oS(e){var r={};for(var i in e)r[i]=e[i];return r}function vd(e){e=oS(e||{}),e.whiteList=e.whiteList||Bi.whiteList,e.onAttr=e.onAttr||Bi.onAttr,e.onIgnoreAttr=e.onIgnoreAttr||Bi.onIgnoreAttr,e.safeAttrValue=e.safeAttrValue||Bi.safeAttrValue,this.options=e}vd.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var r=this,i=r.options,t=i.whiteList,a=i.onAttr,o=i.onIgnoreAttr,n=i.safeAttrValue,s=aS(e,function(l,u,c,d,p){var f=t[c],m=!1;if(f===!0?m=f:typeof f=="function"?m=f(d):f instanceof RegExp&&(m=f.test(d)),m!==!0&&(m=!1),d=n(c,d),!!d){var y={position:u,sourcePosition:l,source:p,isWhite:m};if(m){var b=a(c,d,y);return Rl(b)?c+":"+d:b}else{var b=o(c,d,y);if(!Rl(b))return b}}});return s};var nS=vd;(function(e,r){var i=er,t=nS;function a(n,s){var l=new t(s);return l.process(n)}r=e.exports=a,r.FilterCSS=t;for(var o in i)r[o]=i[o]})(Na,Na.exports);var Ua=Na.exports,Ga={indexOf:function(e,r){var i,t;if(Array.prototype.indexOf)return e.indexOf(r);for(i=0,t=e.length;i<t;i++)if(e[i]===r)return i;return-1},forEach:function(e,r,i){var t,a;if(Array.prototype.forEach)return e.forEach(r,i);for(t=0,a=e.length;t<a;t++)r.call(i,e[t],t,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(e){var r=/\s|\n|\t/,i=r.exec(e);return i?i.index:-1}},sS=Ua.FilterCSS,lS=Ua.getDefaultWhiteList,Gi=Ga;function Sd(){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 wd=new sS;function pS(e,r,i){}function dS(e,r,i){}function cS(e,r,i){}function uS(e,r,i){}function xd(e){return e.replace(hS,"&lt;").replace(mS,"&gt;")}function fS(e,r,i,t){if(i=Fd(i),r==="href"||r==="src"){if(i=Gi.trim(i),i==="#")return"#";if(!(i.substr(0,7)==="http://"||i.substr(0,8)==="https://"||i.substr(0,7)==="mailto:"||i.substr(0,4)==="tel:"||i.substr(0,11)==="data:image/"||i.substr(0,6)==="ftp://"||i.substr(0,2)==="./"||i.substr(0,3)==="../"||i[0]==="#"||i[0]==="/"))return""}else if(r==="background"){if(qi.lastIndex=0,qi.test(i))return""}else if(r==="style"){if(_l.lastIndex=0,_l.test(i)||(kl.lastIndex=0,kl.test(i)&&(qi.lastIndex=0,qi.test(i))))return"";t!==!1&&(t=t||wd,i=t.process(i))}return i=Od(i),i}var hS=/</g,mS=/>/g,yS=/"/g,gS=/&quot;/g,bS=/&#([a-zA-Z0-9]*);?/gim,vS=/&colon;?/gim,SS=/&newline;?/gim,qi=/((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,_l=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,kl=/u\s*r\s*l\s*\(.*/gi;function Id(e){return e.replace(yS,"&quot;")}function Cd(e){return e.replace(gS,'"')}function Td(e){return e.replace(bS,function(r,i){return i[0]==="x"||i[0]==="X"?String.fromCharCode(parseInt(i.substr(1),16)):String.fromCharCode(parseInt(i,10))})}function Ad(e){return e.replace(vS,":").replace(SS," ")}function Pd(e){for(var r="",i=0,t=e.length;i<t;i++)r+=e.charCodeAt(i)<32?" ":e.charAt(i);return Gi.trim(r)}function Fd(e){return e=Cd(e),e=Td(e),e=Ad(e),e=Pd(e),e}function Od(e){return e=Id(e),e=xd(e),e}function wS(){return""}function xS(e,r){typeof r!="function"&&(r=function(){});var i=!Array.isArray(e);function t(n){return i?!0:Gi.indexOf(e,n)!==-1}var a=[],o=!1;return{onIgnoreTag:function(n,s,l){if(t(n))if(l.isClosing){var u="[/removed]",c=l.position+u.length;return a.push([o!==!1?o:l.position,c]),o=!1,u}else return o||(o=l.position),"[removed]";else return r(n,s,l)},remove:function(n){var s="",l=0;return Gi.forEach(a,function(u){s+=n.slice(l,u[0]),l=u[1]}),s+=n.slice(l),s}}}function IS(e){for(var r="",i=0;i<e.length;){var t=e.indexOf("<!--",i);if(t===-1){r+=e.slice(i);break}r+=e.slice(i,t);var a=e.indexOf("-->",t);if(a===-1)break;i=a+3}return r}function CS(e){var r=e.split("");return r=r.filter(function(i){var t=i.charCodeAt(0);return t===127?!1:t<=31?t===10||t===13:!0}),r.join("")}Te.whiteList=Sd();Te.getDefaultWhiteList=Sd;Te.onTag=pS;Te.onIgnoreTag=dS;Te.onTagAttr=cS;Te.onIgnoreTagAttr=uS;Te.safeAttrValue=fS;Te.escapeHtml=xd;Te.escapeQuote=Id;Te.unescapeQuote=Cd;Te.escapeHtmlEntities=Td;Te.escapeDangerHtml5Entities=Ad;Te.clearNonPrintableCharacter=Pd;Te.friendlyAttrValue=Fd;Te.escapeAttrValue=Od;Te.onIgnoreTagStripAll=wS;Te.StripTagBody=xS;Te.stripCommentTag=IS;Te.stripBlankChar=CS;Te.cssFilter=wd;Te.getDefaultCSSWhiteList=lS;var Ji={},kt=Ga;function TS(e){var r=kt.spaceIndex(e),i;return r===-1?i=e.slice(1,-1):i=e.slice(1,r+1),i=kt.trim(i).toLowerCase(),i.slice(0,1)==="/"&&(i=i.slice(1)),i.slice(-1)==="/"&&(i=i.slice(0,-1)),i}function AS(e){return e.slice(0,2)==="</"}function PS(e,r,i){var t="",a=0,o=!1,n=!1,s=0,l=e.length,u="",c="";e:for(s=0;s<l;s++){var d=e.charAt(s);if(o===!1){if(d==="<"){o=s;continue}}else if(n===!1){if(d==="<"){t+=i(e.slice(a,s)),o=s,a=s;continue}if(d===">"){t+=i(e.slice(a,o)),c=e.slice(o,s+1),u=TS(c),t+=r(o,t.length,u,c,AS(c)),a=s+1,o=!1;continue}if(d==='"'||d==="'")for(var p=1,f=e.charAt(s-p);f.trim()===""||f==="=";){if(f==="="){n=d;continue e}f=e.charAt(s-++p)}}else if(d===n){n=!1;continue}}return a<e.length&&(t+=i(e.substr(a))),t}var FS=/[^a-zA-Z0-9\\_:.-]/gim;function OS(e,r){var i=0,t=0,a=[],o=!1,n=e.length;function s(p,f){if(p=kt.trim(p),p=p.replace(FS,"").toLowerCase(),!(p.length<1)){var m=r(p,f||"");m&&a.push(m)}}for(var l=0;l<n;l++){var u=e.charAt(l),c,d;if(o===!1&&u==="="){o=e.slice(i,l),i=l+1,t=e.charAt(i)==='"'||e.charAt(i)==="'"?i:LS(e,l+1);continue}if(o!==!1&&l===t){if(d=e.indexOf(u,l+1),d===-1)break;c=kt.trim(e.slice(t+1,d)),s(o,c),o=!1,l=d,i=l+1;continue}if(/\s|\n|\t/.test(u))if(e=e.replace(/\s|\n|\t/g," "),o===!1)if(d=ES(e,l),d===-1){c=kt.trim(e.slice(i,l)),s(c),o=!1,i=l+1;continue}else{l=d-1;continue}else if(d=DS(e,l-1),d===-1){c=kt.trim(e.slice(i,l)),c=Bl(c),s(o,c),o=!1,i=l+1;continue}else continue}return i<e.length&&(o===!1?s(e.slice(i)):s(o,Bl(kt.trim(e.slice(i))))),kt.trim(a.join(" "))}function ES(e,r){for(;r<e.length;r++){var i=e[r];if(i!==" ")return i==="="?r:-1}}function LS(e,r){for(;r<e.length;r++){var i=e[r];if(i!==" ")return i==="'"||i==='"'?r:-1}}function DS(e,r){for(;r>0;r--){var i=e[r];if(i!==" ")return i==="="?r:-1}}function $S(e){return e[0]==='"'&&e[e.length-1]==='"'||e[0]==="'"&&e[e.length-1]==="'"}function Bl(e){return $S(e)?e.substr(1,e.length-2):e}Ji.parseTag=PS;Ji.parseAttr=OS;var jS=Ua.FilterCSS,it=Te,Ed=Ji,RS=Ed.parseTag,_S=Ed.parseAttr,zi=Ga;function Mi(e){return e==null}function kS(e){var r=zi.spaceIndex(e);if(r===-1)return{html:"",closing:e[e.length-2]==="/"};e=zi.trim(e.slice(r+1,-1));var i=e[e.length-1]==="/";return i&&(e=zi.trim(e.slice(0,-1))),{html:e,closing:i}}function BS(e){var r={};for(var i in e)r[i]=e[i];return r}function qS(e){var r={};for(var i in e)Array.isArray(e[i])?r[i.toLowerCase()]=e[i].map(function(t){return t.toLowerCase()}):r[i.toLowerCase()]=e[i];return r}function Ld(e){e=BS(e||{}),e.stripIgnoreTag&&(e.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),e.onIgnoreTag=it.onIgnoreTagStripAll),e.whiteList||e.allowList?e.whiteList=qS(e.whiteList||e.allowList):e.whiteList=it.whiteList,e.onTag=e.onTag||it.onTag,e.onTagAttr=e.onTagAttr||it.onTagAttr,e.onIgnoreTag=e.onIgnoreTag||it.onIgnoreTag,e.onIgnoreTagAttr=e.onIgnoreTagAttr||it.onIgnoreTagAttr,e.safeAttrValue=e.safeAttrValue||it.safeAttrValue,e.escapeHtml=e.escapeHtml||it.escapeHtml,this.options=e,e.css===!1?this.cssFilter=!1:(e.css=e.css||{},this.cssFilter=new jS(e.css))}Ld.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var r=this,i=r.options,t=i.whiteList,a=i.onTag,o=i.onIgnoreTag,n=i.onTagAttr,s=i.onIgnoreTagAttr,l=i.safeAttrValue,u=i.escapeHtml,c=r.cssFilter;i.stripBlankChar&&(e=it.stripBlankChar(e)),i.allowCommentTag||(e=it.stripCommentTag(e));var d=!1;i.stripIgnoreTagBody&&(d=it.StripTagBody(i.stripIgnoreTagBody,o),o=d.onIgnoreTag);var p=RS(e,function(f,m,y,b,I){var S={sourcePosition:f,position:m,isClosing:I,isWhite:Object.prototype.hasOwnProperty.call(t,y)},F=a(y,b,S);if(!Mi(F))return F;if(S.isWhite){if(S.isClosing)return"</"+y+">";var w=kS(b),T=t[y],E=_S(w.html,function(P,O){var j=zi.indexOf(T,P)!==-1,x=n(y,P,O,j);return Mi(x)?j?(O=l(y,P,O,c),O?P+'="'+O+'"':P):(x=s(y,P,O,j),Mi(x)?void 0:x):x});return b="<"+y,E&&(b+=" "+E),w.closing&&(b+=" /"),b+=">",b}else return F=o(y,b,S),Mi(F)?u(b):F},u);return d&&(p=d.remove(p)),p};var MS=Ld;(function(e,r){var i=Te,t=Ji,a=MS;function o(s,l){var u=new a(l);return u.process(s)}r=e.exports=o,r.filterXSS=o,r.FilterXSS=a,function(){for(var s in i)r[s]=i[s];for(var l in t)r[l]=t[l]}();function n(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}n()&&(self.filterXSS=e.exports)})(Ma,Ma.exports);var Pr=Ma.exports,NS=function(e){if(typeof e!="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]")return!1;var r=Object.getPrototypeOf(e);if(r===null)return!0;for(;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(e)===r},WS=function(){function e(r,i){var t=this;this.arcgisWhiteList={a:["href","style","target"],abbr:["title"],article:["style"],aside:["style"],audio:["autoplay","controls","loop","muted","preload"],b:[],blockquote:["style"],br:[],code:["style"],dd:["style"],del:["style"],details:["open","style"],div:["align","aria-hidden","aria-label","style"],dl:["style"],dt:["style"],em:[],figcaption:["style"],figure:["style"],font:["color","face","size","style"],footer:["style"],h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],header:["style"],hr:[],i:[],img:["alt","border","height","src","style","width"],li:[],main:["style"],mark:["style"],nav:["style"],ol:[],p:["style"],pre:["style"],section:["style"],source:["media","src","type"],span:["aria-hidden","aria-label","style"],strong:[],sub:["style"],summary:["style"],sup:["style"],table:["border","cellpadding","cellspacing","height","style","width"],tbody:[],tr:["align","height","style","valign"],td:["align","colspan","height","nowrap","rowspan","style","valign","width"],th:["align","colspan","height","nowrap","rowspan","style","valign","width"],time:["style"],u:[],ul:[],video:["autoplay","controls","height","loop","muted","poster","preload","width"]},this.arcgisCSSWhiteList=Ui(Ui({},Pr.getDefaultCSSWhiteList()),{"align-items":!0,"align-self":!0,flex:!0,"flex-basis":!0,"flex-direction":!0,"flex-flow":!0,"flex-grow":!0,"flex-shrink":!0,"flex-wrap":!0,float:!0,gap:!0,grid:!0,"grid-area":!0,"grid-auto-columns":!0,"grid-auto-flow":!0,"grid-auto-rows":!0,"grid-column":!0,"grid-column-end":!0,"grid-column-start":!0,"grid-row":!0,"grid-row-end":!0,"grid-row-start":!0,"grid-template":!0,"grid-template-areas":!0,"grid-template-columns":!0,"grid-template-rows":!0,"justify-content":!0,"justify-items":!0,"justify-self":!0,"line-height":!0,overflow:!0}),this.allowedProtocols=["http","https","mailto","iform","tel","flow","lfmobile","arcgis-navigator","arcgis-appstudio-player","arcgis-survey123","arcgis-collector","arcgis-workforce","arcgis-explorer","arcgis-trek2there","arcgis-quickcapture","mspbi","comgooglemaps","pdfefile","pdfehttp","pdfehttps","boxapp","boxemm","awb","awbs","gropen","radarscope"],this.arcgisFilterOptions={allowCommentTag:!0,safeAttrValue:function(o,n,s,l){return o==="a"&&n==="href"||(o==="img"||o==="source")&&n==="src"?t.sanitizeUrl(s):Pr.safeAttrValue(o,n,s,l)}},this._entityMap={"&":"&#x38;","<":"&#x3C;",">":"&#x3E;",'"':"&#x22;","'":"&#x27;","/":"&#x2F;"};var a;r&&!i?a=r:r&&i?(a=Object.create(this.arcgisFilterOptions),a.css={whiteList:this.arcgisCSSWhiteList},Object.keys(r).forEach(function(o){if(o==="whiteList")a.whiteList=t._extendObjectOfArrays([t.arcgisWhiteList,r.whiteList||{}]);else if(o==="css"){var n=r.css.whiteList;n!=null&&r.css instanceof Object&&Object.keys(n).forEach(function(s){return a.css.whiteList[s]=n[s]})}else a[o]=r[o]})):(a=Object.create(this.arcgisFilterOptions),a.whiteList=this.arcgisWhiteList,a.css={whiteList:this.arcgisCSSWhiteList}),this.xssFilterOptions=a,this._xssFilter=new Pr.FilterXSS(a)}return e.prototype.sanitize=function(r,i){switch(i===void 0&&(i={}),typeof r){case"number":return isNaN(r)||!isFinite(r)?null:r;case"boolean":return r;case"string":return this._xssFilter.process(r);case"object":return this._iterateOverObject(r,i);default:return i.allowUndefined&&typeof r>"u"?void 0:null}},e.prototype.sanitizeUrl=function(r,i){var t=(i??{}).isProtocolRequired,a=t===void 0?!0:t,o=this._trim(r.substring(0,r.indexOf(":"))),n=r==="/",s=/^#/.test(r),l=o&&this.allowedProtocols.indexOf(o.toLowerCase())>-1;return n||s||l?Pr.escapeAttrValue(r):!o&&!a?Pr.escapeAttrValue("https://".concat(r)):""},e.prototype.sanitizeHTMLAttribute=function(r,i,t,a){return typeof this.xssFilterOptions.safeAttrValue=="function"?this.xssFilterOptions.safeAttrValue(r,i,t,a):Pr.safeAttrValue(r,i,t,a)},e.prototype.validate=function(r,i){i===void 0&&(i={});var t=this.sanitize(r,i);return{isValid:r===t,sanitized:t}},e.prototype.encodeHTML=function(r){var i=this;return String(r).replace(/[&<>"'\/]/g,function(t){return i._entityMap[t]})},e.prototype.encodeAttrValue=function(r){var i=/^[a-zA-Z0-9]$/;return String(r).replace(/[\x00-\xFF]/g,function(t,a){return i.test(t)?t:"&#x".concat(Number(r.charCodeAt(a)).toString(16),";")})},e.prototype._extendObjectOfArrays=function(r){var i={};return r.forEach(function(t){Object.keys(t).forEach(function(a){Array.isArray(t[a])&&Array.isArray(i[a])?i[a]=i[a].concat(t[a]):i[a]=t[a]})}),i},e.prototype._iterateOverObject=function(r,i){var t=this;i===void 0&&(i={});try{var a=!1,o=void 0;if(Array.isArray(r))o=r.reduce(function(s,l){var u=t.validate(l,i);return u.isValid?s.concat([l]):(a=!0,s.concat([u.sanitized]))},[]);else if(NS(r)){var n=Object.keys(r);o=n.reduce(function(s,l){var u=r[l],c=t.validate(u,i);return c.isValid?s[l]=u:(a=!0,s[l]=c.sanitized),s},{})}else return i.allowUndefined&&typeof r>"u"?void 0:null;return a?o:r}catch{return null}},e.prototype._trim=function(r){return String.prototype.trim?r.trim():r.replace(/(^\s*)|(\s*$)/g,"")},e}(),V={NonSpecific:"nonSpecific",BarAndLineNoAggregation:"barAndLineNoAggregation",BarAndLineMonoField:"barAndLineMonoField",BarAndLineMultiFields:"barAndLineMultiFields",BarAndLineFromFields:"barAndLineFromFields",BarAndLineSplitBy:"barAndLineSplitBy",BarAndLineSplitByNoAggregation:"barAndLineSplitByNoAggregation",PieNoAggregation:"pieNoAggregation",PieFromCategory:"pieFromCategory",PieFromFields:"pieFromFields",BoxPlotMonoField:"boxPlotMonoField",BoxPlotMultiFields:"boxPlotMultiFields",BoxPlotMonoFieldAndCategory:"boxPlotMonoFieldAndCategory",BoxPlotMultiFieldsAndCategory:"boxPlotMultiFieldsAndCategory",BoxPlotMonoFieldAndSplitBy:"boxPlotMonoFieldAndSplitBy",BoxPlotMultiFieldsAndSplitBy:"boxPlotMultiFieldsAndSplitBy",BoxPlotMonoFieldAndCategoryAndSplitBy:"boxPlotMonoFieldAndCategoryAndSplitBy"},dj={SelectionByClick:"SelectionByClick",SelectionByRange:"SelectionByRange",ProgrammaticSelection:"ProgrammaticSelection",ClearSelection:"ClearSelection"};function cj(e){return e?.colorMatch??!1}function zS(e){return e.size===2&&e.has(L.LineSeries)&&e.has(L.BarSeries)}function VS(e){return e.size===2&&e.has(L.LineSeries)&&e.has(L.BoxPlotSeries)||e.size===1&&e.has(L.BoxPlotSeries)}function Ve(e,r){let i;if(e!==void 0&&e.length>0)if(r!==void 0&&r>=0&&r<e.length)i=e[r].type;else{let t=new Set(e.map(n=>n.type)),a=zS(t),o=VS(t);a===!0?i=L.ComboLineAndBarSeries:o?i=L.BoxPlotSeries:t.size>=2?i=void 0:i=e[0].type}return i}function uj(e){let r=zr();if(e!==void 0){let i=Ve(e.series);(i===L.BarSeries||i===L.LineSeries||i===L.ComboLineAndBarSeries||i===L.BoxPlotSeries)&&(r=e.rotated??zr())}return r}function fj(e){return e?.map(r=>r.type)??[]}function US(e){let r=e?.stackedType;if(r===void 0&&e!==void 0){let i=Ve(e.series);(i===L.BarSeries||i===L.LineSeries||i===L.ComboLineAndBarSeries||i===L.RadarSeries)&&(r=Qv())}return r}function GS(e){let r=e;return r=r.replace(/'/gu,"''"),r=r.replace(/[/\\"|[\]\\]/gu,"\\$&"),r}function HS(e){let r=!1;if(typeof e!="number"){let i=new Intl.Segmenter;r=Array.from(i.segment(e),t=>t.segment).some(t=>t.charCodeAt(0)>255)}return r}function QS(e){let r=e,i="";e.startsWith("'")&&e.endsWith("'")&&(r=e.slice(1,-1),i="'"),r=r.replace(/'/gu,"''");let t="";return HS(r)&&(t="N"),`${t}${i}${r}${i}`}function Dd(e){let{value:r,keepSurroundingQuotes:i,escape:t}=e,a=r?.trim();if(!ft(a)){let o="";a.startsWith("'")&&a.endsWith("'")&&(a=a.slice(1,-1),i&&(o="'")),t!==!1&&(a=GS(a)),a=`${o}${a}${o}`}return a}function hj(e){let{count:r,seriesCount:i,chartType:t,chartLimits:a}=e,{behaviorAfterLimit:o}=a??{},n=!0;if(o!==hd.RenderUpToTheLimit){let{maxBarChartSeriesCount:s,maxBarUniqueSeriesCountTotal:l,maxBarTwoSeriesCountPerSeries:u,maxBarTwoSeriesCountTotal:c,maxBarThreePlusSeriesCountPerSeries:d,maxBarThreePlusSeriesCountTotal:p,maxLineChartSeriesCount:f,maxLineUniqueSeriesCountTotal:m,maxLineTwoSeriesCountPerSeries:y,maxLineTwoSeriesCountTotal:b,maxLineThreePlusSeriesCountPerSeries:I,maxLineThreePlusSeriesCountTotal:S,maxPieChartSliceCountTotal:F,maxGaugeByFeaturesLimit:w,maxBoxPlotSeriesCount:T,maxBoxUniqueSeriesCountTotal:E,maxBoxTwoSeriesCountTotal:P,maxBoxTwoSeriesCountPerSeries:O,maxBoxThreePlusSeriesCountTotal:j,maxBoxThreePlusSeriesCountPerSeries:x}=Hv(a);switch(t){case L.BarSeries:case L.ComboLineAndBarSeries:{let C=r/i;i<=s?i===0?n=!0:i===1?n=r<=l:i===2?n=r<=c&&C<=u:i>2&&(n=r<=p&&C<=d):n=!1}break;case L.LineSeries:case L.RadarSeries:{let C=r/i;i<=f?i===0?n=!0:i===1?n=r<=m:i===2?n=r<=b&&C<=y:i>2&&(n=r<=S&&C<=I):n=!1}break;case L.PieSeries:n=r<=F;break;case L.BoxPlotSeries:{let C=r/i;i<=T?i===0?n=!0:i===1?n=r<=E:i===2?n=r<=P&&C<=O:i>2&&(n=r<=j&&C<=x):n=!1}break;case L.GaugeSeries:n=r<=w;break}}return n}function mj(e=[],r){let i=e.find(t=>t.name===r)?.alias;return i!==""?i??r:r}function yj(e=[],r){let i=e.find(t=>t.alias===r)?.name;return i!==""?i??r:r}function gj(e){let r=!1;switch(Ve(e)){case L.PieSeries:r=!0;break;case L.BarSeries:case L.LineSeries:case L.RadarSeries:case L.ComboLineAndBarSeries:case L.BoxPlotSeries:r=e.length>1;break;case L.HistogramSeries:case L.ScatterSeries:{let i=e[0];r=i.overlays!==void 0&&Object.values(i.overlays).some(t=>t.created===!0);break}}return r}function KS(e){let r=!0;return Ve(e.series)===L.ScatterSeries&&(r=e.series.length===1),r}function JS(e){let r=!0;return Ve(e.series)===L.HistogramSeries&&(r=e.series.length<=1&&e.series[0].type===L.HistogramSeries&&(!("dataTransformationType"in e.series[0])||e.series[0].dataTransformationType!==void 0&&Object.values(ea).includes(e.series[0].dataTransformationType))),r}function ZS(e){let r=!0;return Ve(e.series)===L.PieSeries&&(r=e.series.length<=1),r}function bj(e,r){let i=Ve(r?.series),t=e.includes(i);if(t&&r!==void 0)switch(i){case L.HistogramSeries:t=JS(r);break;case L.ScatterSeries:t=KS(r);break;case L.PieSeries:t=ZS(r);break}return t}function ft(e){return e==null||typeof e=="string"&&e.trim()===""}function YS(e,r){let i=r.find(t=>t in e);return{isInItem:i!==void 0,expr:i}}function vj(e){return YS(e,Pv)}function Sj(e,r){let i;switch(e){case _e.Second:i=r.seconds??"";break;case _e.Minute:i=r.minutes??"";break;case _e.Hour:i=r.hours??"";break;case _e.Day:i=r.days??"";break;case _e.Week:i=r.weeks??"";break;case _e.Month:i=r.months??"";break;case _e.Year:i=r.years??"";break;default:i="";break}return i}function wj(e){let r;switch(e){case pt.Mean:r=1;break;case pt.Median:r=2;break;case pt.StdDev:r=3;break;case pt.Normal:default:r=0;break}return r}function xj(e,r){if(r!==void 0){let{seriesId:i,overlayType:t,visible:a}=e.detail,o;switch(t){case pt.Mean:r.series[0].type===L.HistogramSeries&&(o=r.series[0].overlays?.mean);break;case pt.Median:r.series[0].type===L.HistogramSeries&&(o=r.series[0].overlays?.median);break;case pt.StdDev:r.series[0].type===L.HistogramSeries&&(o=r.series[0].overlays?.standardDeviation);break;case pt.Normal:r.series[0].type===L.HistogramSeries&&(o=r.series[0].overlays?.comparisonDistribution);break;case pt.Trendline:r.series[0].type===L.ScatterSeries&&(o=r.series[0].overlays?.trendLine);break;default:o=r.series.find(n=>n.id===i);break}o!==void 0&&(o.visible=a)}}function Ij(e){return new WS().sanitize(e)}function Cj(e){return e!=null&&!Number.isNaN(e)&&Number.isFinite(e)}function Tj(e,r){let i;return r!==void 0&&(i={...r,rotated:e}),i}function Aj(e,r){let i={fieldToSort:""};if(!ft(e)){let t=e.trim(),a=t.split(" ").at(-1)?.toUpperCase();a===lt.Ascending||a===lt.Descending?i={fieldToSort:t.substring(0,t.lastIndexOf(" ")),orderBy:a}:(i={fieldToSort:t},r!==!1&&(i.orderBy=lt.Ascending))}return i}function Pj(e){return e===V.BarAndLineSplitBy||e===V.BarAndLineSplitByNoAggregation||e===V.BoxPlotMonoFieldAndSplitBy||e===V.BoxPlotMultiFieldsAndSplitBy||e===V.BoxPlotMonoFieldAndCategoryAndSplitBy}function Fj(e){return e?.selectionOIDs===void 0||e.selectionOIDs.length===0}function Oj(e={arrayA:[],arrayB:[],getKey:r=>r}){let{arrayA:r,arrayB:i,getKey:t}=e;if(i.length===0||r.length===0)return r;let a=new Map;i.forEach((l,u)=>{let c=t(l);a.set(c,u)});let o=[],n=[];r.forEach((l,u)=>{let c=t(l);a.has(c)&&(o.push(u),n.push(l))}),n.sort((l,u)=>{let c=t(l),d=t(u);return a.get(c)-a.get(d)});let s=[...r];return o.forEach((l,u)=>{s[l]=n[u]}),s}var Qt=["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"],XS="1.0.0",ew="unrecognized.version",tw=[L.LineSeries,L.BarSeries,L.ComboLineAndBarSeries,L.RadarSeries];function xa(e,r){let i=0;if(e!==r){let t=e.split("."),a=r.split(".");for(let o=0;o<t.length;o+=1){let n=Number.parseInt(t[o],10),s=Number.parseInt(a[o],10);if(n>s||Number.isNaN(s)){i=1;break}if(n<s){i=-1;break}}}return i}function rw(e){return e!==void 0?/^([1-9]\d*|0)(\.(([1-9]\d*)|0)){2}$/u.test(e):!1}function iw(e){let r=Tt.Same,i=[];if(rw(e)&&e!==void 0){Qt.sort(xa);let t=xa(e,Qt[Qt.length-1]);if(t===1?r=Tt.Newer:t===-1&&(r=Tt.Older),r===Tt.Newer||r===Tt.Same)i.push(e);else{for(let a=Qt.length-2;a>=0;a-=1)if(xa(e,Qt[a])>=0){i=Qt.slice(a,Qt.length);break}i.length===0&&i.push(XS)}}else r=Tt.Unrecognized,i.push(ew);return{versionStatus:r,versions:i}}function aw(e){let{series:r}=e,i=("showMean"in e?e.showMean:!1)===!0?r.find(t=>t.type===L.LineSeries):r[0];return i??=r[0],i}function Ej(e,r){let i=e!==null?e.toString():null,t=r!=null?r.toString():null;return t!==null&&t!==i?ke.SFS:ke.SLS}function Ha(e,r){let i="";return e!==void 0&&e.includes("=")&&(i=r!==!1?Dd({value:e.split("=")[0]}):e.split("=")[0].trim()),i}function Hr(e){let{where:r,normalize:i,keepSurroundingQuotes:t,escape:a}=e,o="";return r!==void 0&&r.includes("=")&&(o=r.split("=").slice(1).join("=").trim(),o==="null"?o=null:o.trim()!==""&&!Number.isNaN(Number(o))?o=Number(o):i===!1?a===!0&&(o=QS(o)):o=Dd({value:o,keepSurroundingQuotes:t,escape:a})),o}function Fr(e){let r=!1;if(e===void 0||e==="")r=!0;else if(e.includes("=")){let i=Ha(e,!1),t=Hr({where:e,normalize:!1});r=i===`${t}`}return r}function Lj(e){let{where:r,normalize:i,escape:t}=e,a=i===void 0?!0:i,o=Ha(r),n=Hr({where:r,normalize:a,keepSurroundingQuotes:!0,escape:t}),s=r;return o!==""&&n!==""&&(s=`${o}=${n}`),s}function ow(e){let r=V.PieFromCategory;return e[0].query?.outStatistics===void 0?r=V.PieNoAggregation:e[0].query?.groupByFieldsForStatistics===void 0&&(r=V.PieFromFields),r}function nw(e){let r=V.BarAndLineMonoField,i=e[0].query?.where;return e[0].query?.groupByFieldsForStatistics===void 0&&(e[0].query?.outStatistics??[]).length>0?r=V.BarAndLineFromFields:i===void 0&&e[0].query?.outStatistics===void 0?r=V.BarAndLineNoAggregation:Fr(i)?e.length>1&&(r=V.BarAndLineMultiFields):r=e[0].query?.outStatistics===void 0?V.BarAndLineSplitByNoAggregation:V.BarAndLineSplitBy,r}function sw(e){let r=V.BoxPlotMonoField,i=e.length===1,t=e.find(s=>s.type===L.LineSeries)??e[0],{x:a}=t,o="y"in t?t.y:"",n=t.query?.where;switch(a){case Va:typeof o=="object"&&o.length>1?Fr(n)?i&&(r=V.BoxPlotMultiFields):r=V.BoxPlotMultiFieldsAndSplitBy:i?r=V.BoxPlotMonoField:Fr(n)||(r=V.BoxPlotMonoFieldAndSplitBy);break;default:i?r=V.BoxPlotMonoFieldAndCategory:Fr(n)?r=V.BoxPlotMultiFieldsAndCategory:r=V.BoxPlotMonoFieldAndCategoryAndSplitBy;break}return r}function It(e){let r=V.NonSpecific;if(e?.[0]!==void 0)switch(Ve(e)){case L.PieSeries:r=ow(e);break;case L.RadarSeries:case L.BarSeries:case L.LineSeries:case L.ComboLineAndBarSeries:r=nw(e);break;case L.BoxPlotSeries:r=sw(e);break}return r}function Dj(e){let{seriesConfig:r,xAxisValueFormatType:i,setTimeBinningInfoWhenNotProvided:t}=e,a=!1;if(lw(r)&&r.binTemporalData!==!1&&i===L.DateAxisFormat){let o=It([r]);if(r.temporalBinning&&o!==V.BarAndLineNoAggregation&&o!==V.BarAndLineSplitByNoAggregation){let{unit:n,size:s}=r.temporalBinning;a=t===!0||s!==void 0&&s>0&&n!==void 0}}return a}function lw(e){return tw.includes(e.type)}var ye={Min:"min",FirstQuartile:"first_quartile",Median:"median",ThirdQuartile:"third_quartile",Max:"max",IQR:"iqr",Average:"avg",StandardDeviation:"stddev",Outlier:"outlier"};function pw(e){let r=e===void 0||e==="";return{[ye.Average]:`${r?"":`${e}_`}${ye.Average}`,[ye.Min]:`${r?"":`${e}_`}${ye.Min}`,[ye.Max]:`${r?"":`${e}_`}${ye.Max}`,[ye.FirstQuartile]:`${r?"":`${e}_`}${ye.FirstQuartile}`,[ye.Median]:`${r?"":`${e}_`}${ye.Median}`,[ye.ThirdQuartile]:`${r?"":`${e}_`}${ye.ThirdQuartile}`,[ye.IQR]:`${r?"":`${e}_`}${ye.IQR}`,[ye.Outlier]:`${r?"":`${e}_`}${ye.Outlier}`,[ye.StandardDeviation]:`${r?"":`${e}_`}${ye.StandardDeviation}`}}function dw(e){return e.subType===bo.FeatureGauge}function $j(e){let r;return e!==void 0&&("bins"in e?r=e.bins:"dataItems"in e&&(r=e.dataItems)),r}function cw(e){return e===V.BoxPlotMultiFields||e===V.BoxPlotMultiFieldsAndCategory||e===V.BoxPlotMultiFieldsAndSplitBy}function Hi(e){let{key:r,y:i,chartSubType:t,splitBy:a,splitByValue:o,showOutliers:n,standardizeValues:s}=e,l=o,u=pw(i)[r];return n===!0&&(r===ye.Min||r===ye.Max)&&(u=`${u}${Kv}`),s===!0&&(cw(t)||r===ye.Outlier)&&(u=`${u}${Jv}`),(o===void 0||`${o}`.trim()==="")&&(l=Hr({where:a,normalize:!0,escape:!1})),l!==void 0&&`${l}`.trim()!==""&&(u=`${l}${u!==""?`_${u}`:""}`),u}function Ia(e){let{dataItem:r,y:i,splitBy:t,showOutliers:a}=e,o=Hi({key:ye.FirstQuartile,y:i,splitBy:t,showOutliers:a}),n=Hi({key:ye.ThirdQuartile,y:i,splitBy:t,showOutliers:a});return Number.isFinite(r[o])||Number.isFinite(r[n])}function uw(e){let{configSeries:r,boxPlotDataItem:i,yList:t,showOutliers:a}=e,o=It(r),n=!1;switch(o){case V.BoxPlotMonoField:case V.BoxPlotMultiFields:case V.BoxPlotMonoFieldAndCategory:n=Ia({dataItem:i,showOutliers:a});break;case V.BoxPlotMultiFieldsAndCategory:n=t.some(s=>Ia({dataItem:i,y:s,showOutliers:a}));break;case V.BoxPlotMonoFieldAndSplitBy:case V.BoxPlotMultiFieldsAndSplitBy:case V.BoxPlotMonoFieldAndCategoryAndSplitBy:n=r.some(s=>Ia({dataItem:i,splitBy:s.query?.where,showOutliers:a}));break;default:n=!1;break}return n}function $d(e){return e.map(r=>r.id).filter(r=>r!=="undefined")}function Qi(e,r){let i=[],t=r??$d(e),a=It(e);return i=e.filter(o=>t.includes(o.id)).map(o=>{let n="y"in o?o.y:void 0;return n!==void 0&&a===V.BarAndLineSplitByNoAggregation&&(n=`${n.toString()}_${Hr({where:o.query?.where})}`),n}).filter(o=>o!==void 0),Array.from(new Set(i.flat()))}function fw(e){let{seriesConfig:r,filteredSeriesIds:i,showMean:t}=e,a=[];if(t===!0){let o=r.find(n=>n.type===L.BoxPlotSeries);o!==void 0&&"y"in o&&(a=[o.y].flat())}else a=Qi(r,i);return a}function Kt(e,r){return e===null&&r===!0||Number.isFinite(e)}function hw(e){let{dataItem:r,x:i,y:t,nullAsValid:a=!1}=e;return r[i]!==void 0&&(typeof r[i]!="number"||Number.isFinite(r[i]))&&Kt(r[t],a)}function jj(e){let{chartConfig:r,nullAsValid:i=!1,dataSet:t}=e,a=!0;if(r!==void 0){let o=Ve(r.series);if(t===void 0||t.length===0)a=!0;else{let n=Qi(r.series);a=!t.some(s=>{let l=!1;switch(o){case L.HistogramSeries:{let u=s;l=Kt(u.minValue,i)&&Kt(u.maxValue,i)}break;case L.ScatterSeries:{let u=s,{x:c,y:d}=r.series[0];l=Kt(u[c],i)&&Kt(u[d],i)}break;case L.ComboLineAndBarSeries:case L.RadarSeries:case L.LineSeries:case L.BarSeries:{let u=s,{x:c}=r.series[0];l=n.some(d=>hw({dataItem:u,x:c,y:d,nullAsValid:i}));break}case L.BoxPlotSeries:{let u=r.series,{showOutliers:c}=r;l=uw({configSeries:u,boxPlotDataItem:s,yList:n,showOutliers:c});break}case L.PieSeries:{let u=s,{x:c,y:d}=r.series[0];It(r.series)===V.PieFromFields&&(c=ei,d=aa);let p=u[d];l=u[c]!==void 0&&u[c]!==null&&!pa(p)&&Kt(Number(p),i)}break;case L.GaugeSeries:{let{x:u}=r.series[0];l=Kt(s[u],i)}break}return l})}}return a}function mw(e,r){let i=new Map,t=r??$d(e);return e.forEach(a=>{if(t.includes(a.id)&&"y"in a){let o=i.get(a.type)??[];o.push(a.y),i.set(a.type,o)}}),i}function yw(e){let{seriesConfig:r,filteredSeriesIds:i,filteredData:t}=e,a=mw(r,i),o=r.find(l=>l.type===L.LineSeries||l.type===L.RadarSeries)?.stackNegativeValuesToBaseline??!0,n=Number.MIN_SAFE_INTEGER,s=Number.MAX_SAFE_INTEGER;return t.forEach((l,u)=>{a.forEach(c=>{if(o){let d=[],p=[];for(let f=0;f<c.length;f+=1){let m=l[c[f]];m<0?p[u]=(p[u]??0)+m:d[u]=(d[u]??0)+m}d=d.filter(f=>Number.isFinite(f)).sort((f,m)=>f-m),p=p.filter(f=>Number.isFinite(f)).sort((f,m)=>f-m),n=Math.max(n,d.length>0?d[d.length-1]:p[p.length-1]),s=Math.min(s,p.length>0?p[0]:d[0])}else{let d=0;for(let p=0;p<c.length;p+=1){let f=l[c[p]];d+=f,n=Math.max(n,d),s=Math.min(s,d)}}})}),{stackedMinY:s,stackedMaxY:n}}function gw(e){let{dataItem:r,...i}=e,t=Hi({key:ye.Min,...i}),a=Hi({key:ye.Max,...i}),o=r[t],n=r[a];return{min:o,max:n}}function Rj(e){let r=Number.NaN,i=Number.NaN,t,a,{chartConfig:o,chartData:n,filteredSeriesIds:s}=e,{series:l}=o;if(l?.length>0){let{x:u}=l[0],c=n.filter(d=>d[u]!==null);if([t,a]=Nr(c,d=>d[u]),o.axes?.[1]?.valueFormat.type===L.DateAxisFormat&&t!==void 0&&a!==void 0&&([t,a]=[new Date(t).valueOf(),new Date(a).valueOf()]),Ve(o.series)===L.BoxPlotSeries){r=Number.MAX_SAFE_INTEGER,i=Number.MIN_SAFE_INTEGER;let d=Qi(l,s),p=It(l),f="standardizeValues"in o?o.standardizeValues===!0:void 0,m=o.series.map(y=>y.visible!==!1?Hr({where:y.query?.where}):"");m.length===0&&m.push(" ");for(let y=0;y<c.length;y+=1)for(let b=0;b<d.length;b+=1){let I=p===V.BoxPlotMultiFieldsAndCategory?d[b]:void 0;for(let S=0;S<m.length;S+=1){let{min:F,max:w}=gw({y:I,splitByValue:m[S],chartSubType:p,showOutliers:!1,standardizeValues:f,dataItem:c[y]});F!=null&&F<r&&(r=F),w!=null&&w>i&&(i=w)}}}else switch(US(o)){case Rr.Stacked100:{r=Number.NaN,i=Number.NaN;break}case Rr.Stacked:{let{stackedMinY:d,stackedMaxY:p}=yw({seriesConfig:l,filteredData:c,filteredSeriesIds:s});r=d,i=p;break}case Rr.Side:default:{r=Number.MAX_SAFE_INTEGER,i=Number.MIN_SAFE_INTEGER;let d=Qi(l,s);for(let p=0;p<d.length;p+=1){let f=d[p],[m,y]=Nr(c,b=>b[f]);m!==void 0&&m<r&&(r=m),y!==void 0&&y>i&&(i=y)}break}}}return{minY:r,maxY:i,minX:t,maxX:a}}async function Ct(e=fd().locale){let r=await import("./WOSPM26B.js");switch(e){case q.Arabic:r=await import("./5QCSSKMW.js");break;case q.Bosnian:r=await import("./USNVN4ZK.js");break;case q.Bulgarian:r=await import("./NWZNOYS3.js");break;case q.Catalan:r=await import("./GYA2HTYX.js");break;case q.Czech:r=await import("./LDU3B3MP.js");break;case q.Danish:r=await import("./R7KGDSP6.js");break;case q.German:r=await import("./UNAZJPAU.js");break;case q.Greek:r=await import("./DWXIS37W.js");break;case q.EnglishUSA:r=await import("./H472XGVZ.js");break;case q.Spanish:r=await import("./AKLTS7NT.js");break;case q.Estonian:r=await import("./CMGOILES.js");break;case q.Finnish:r=await import("./IPNUWNB3.js");break;case q.French:r=await import("./CHEYPD47.js");break;case q.Hebrew:r=await import("./4T7MWQTK.js");break;case q.Croatian:r=await import("./PFU64OSO.js");break;case q.Hungarian:r=await import("./V6NYHJDD.js");break;case q.Indonesian:r=await import("./TOOPS4EG.js");break;case q.Italian:r=await import("./ITMFWQXV.js");break;case q.Japanese:r=await import("./AD5PBFVT.js");break;case q.Korean:r=await import("./I6YDHDXS.js");break;case q.Lithuanian:r=await import("./GXZ7WDHO.js");break;case q.Latvian:r=await import("./MCUAVJEE.js");break;case q.NorwegianBokml:r=await import("./EOJFU3TC.js");break;case q.Dutch:r=await import("./G7LU3DII.js");break;case q.Polish:r=await import("./J23DJPYL.js");break;case q.PortugueseBrazil:r=await import("./WZG556QN.js");break;case q.PortuguesePortugal:r=await import("./YKDNAAHW.js");break;case q.Romanian:r=await import("./KLE42LBA.js");break;case q.Russian:r=await import("./JVXQWUV4.js");break;case q.Serbian:r=await import("./UNRASYLZ.js");break;case q.Slovak:r=await import("./CFM6RBSB.js");break;case q.Slovenian:r=await import("./SR42DTA7.js");break;case q.Swedish:r=await import("./FBMIZOLQ.js");break;case q.Thai:r=await import("./RPBYRD5X.js");break;case q.Turkish:r=await import("./VPLECF5H.js");break;case q.Ukrainian:r=await import("./O23OBC4O.js");break;case q.Vietnamese:r=await import("./6CBMZ7QQ.js");break;case q.ChineseChina:r=await import("./C4CYZ5SL.js");break;case q.ChineseHongKong:r=await import("./BYJUWLXC.js");break;case q.ChineseTaiwan:r=await import("./TFJ3GGST.js");break;case q.English:}return r}var Zt=class extends Error{constructor(r,i,t){super(i),this.name=r,this.details=t}},tr={Default:"defaultError",LayerLoadFailure:"layerLoadFailure",QueryFeaturesError:"queryFeaturesError",ChartDisposed:"ChartDisposeError",LayerFieldsNotFound:"layerFieldsNotFound"};function _j(e){return e!==void 0&&(!("url"in e)||!e.url)}function Qa(e){return e!==void 0&&"layer"in e}function bw(e){return e!==void 0&&"type"in e&&e.type==="feature"}function vw(e){return e!==void 0&&"type"in e&&e.type==="subtype-group"}function Ka(e){return e!==void 0&&"type"in e&&e.type==="subtype-sublayer"}function kj(e){return bw(e)||Ka(e)}function Re(e){return Ka(e)?e.parent:e}function jd(e){return e.capabilities?.query?.supportsDistance||Re(e).sourceJSON?.advancedQueryCapabilities?.supportsQueryWithDistance===!0}function Sw(e,r){return e.capabilities?.queryAttributeBins?.supportsDate===!0&&(ft(r)||e.capabilities?.queryAttributeBins?.supportsStackBy)}function Bj(e){let r=!1,i=Re(qe(e)).sourceJSON;if(i){let t=i.queryBinsCapabilities?.supportsFixedIntervalBin,a=i.queryBinsCapabilities?.supportedStatisticTypes,o=[we.Maximum,we.Count].every(n=>a?.includes(n.toUpperCase())||a?.includes(n.toLowerCase()));r=t&&o}return r}function qj(e){let r;return Qa(e)?r=e.layer:r=e,r}function qe(e){let r;return Qa(e)?r=e.layer:r=e,r}function ww(e){let r=!1,i=Re(e).sourceJSON?.advancedQueryCapabilities?.supportedSpatialAggregationStatistics??[],t=e.capabilities?.query.supportedSpatialAggregationStatistics??{};return r=i.includes("EnvelopeAggregate")||"envelope"in t&&t.envelope===!0,r}function Mj(e){let{chartConfig:r,queryObject:i}=e,t,a=qe(i);return a&&(t={id:a.id,layerType:"ArcGISFeatureLayer"},a.url&&(t.url=a.url)),{...r,iLayer:t}}var Vr=new Map;function xw(e){let r;switch(e){case zt.Feet:r="esriSRUnit_Foot";break;case zt.Miles:r="esriSRUnit_StatuteMile";break;case zt.NauticalMiles:r="esriSRUnit_NauticalMile";break;case zt.USNauticalMiles:r="esriSRUnit_USNauticalMile";break;case zt.Meters:r="esriSRUnit_Meter";break;case zt.Kilometers:r="esriSRUnit_Kilometer";break}return r}async function Nj(e){let{queryObject:r,queryConfig:i,outputFormat:t,dataFormat:a,outAnalytics:o}=e,{where:n,geometry:s,distance:l,units:u,timeExtent:c}=i,d,p=qe(r),f=Re(p),m={query:{where:Ur([n,f.definitionExpression])}},y=Ja(s)?.extent?.toJSON();if(y!==void 0){let I=xw(u),{xmin:S,ymin:F,xmax:w,ymax:T}=y;m.query={...m.query,geometryType:"esriGeometryEnvelope",geometry:`${S},${F},${w},${T}`,distance:l,units:I,inSR:s?.spatialReference?.wkid}}c&&(m.query.time=`${c[0]},${c[1]}`);let b=`${f.url}/${f.layerId}/queryAnalytic?f=${t}&dataFormat=${a}&outAnalytics=${o}`;try{d=(await Ba(b,m)).data?.features?.[0]?.attributes}catch(I){let S=await Ct();throw new Zt(tr.QueryFeaturesError,S.queryError,I)}return d}function Iw(e,r){return{lowerBoundaryAlias:`charts_lower_boundary_${e}`,upperBoundaryAlias:`charts_upper_boundary_${e}`,stackAlias:`charts_stack_alias_${r}`}}async function Wj(e){let{queryObject:r,queryConfig:i,xStep:t,xMin:a,xMax:o,x:n,y:s,yStep:l,errorStrings:u}=e,c;if(r&&"queryAttributeBins"in r&&Number.isFinite(t)&&Number.isFinite(l)&&Number.isFinite(a)&&Number.isFinite(o)&&t>0&&l>0){let d=$w({queryObject:r,queryConfig:i,xStep:t,xMin:a,xMax:o,x:n,y:s,yStep:l});try{c=await r.queryAttributeBins(d)}catch(p){throw new Zt(tr.QueryFeaturesError,u.errors.queryError,p)}}return c}async function zj(e){let{queryConfig:r,x:i,queryObject:t,chartSubType:a,isGaugeByFeature:o}=e,n=qe(t),s;if(t!==void 0){let l=n.objectIdField,{where:u,gdbVersion:c,timeExtent:d,geometry:p,distance:f,units:m}=r,y=Ow(d),b=Ja(p),I=Re(n),S=Ur([u,I.definitionExpression]),F={returnDistinctValues:!0,outFields:o===!0||a===V.PieNoAggregation||a===V.BarAndLineNoAggregation||a===V.BarAndLineSplitByNoAggregation?[l]:[i],where:S,gdbVersion:c??I.gdbVersion,timeExtent:y??I.timeExtent,geometry:b};_d(F)&&(F.cacheHint=!0),F.geometry!==void 0&&jd(n)&&(f!==void 0&&(F.distance=f),m!==void 0&&(F.units=m));try{s=await t.queryFeatureCount(F)}catch{s=Number.NaN}}return s}async function Vj(e){let{queryObject:r,queryConfig:i,abortKey:t}=e,{outStatistics:a}=i,o=new Map;if(r!==void 0&&a!==void 0&&a.length>0){let n=a.map(c=>{let{statisticType:d,onStatisticField:p,outStatisticFieldName:f}=c;return{statisticType:d,onStatisticField:p,outStatisticFieldName:f?.toUpperCase()}});i.outStatistics=n,delete i.num,delete i.orderByFields;let s=Bd({queryObject:r,queryConfig:i}),l;try{l=await r.queryFeatures(s,{signal:t!==void 0?Vr.get(t)?.signal:void 0})}catch(c){if(!za.isAbortError(c)){let d=await Ct();throw new Zt(tr.QueryFeaturesError,d.queryError,c)}}let u=l?.features?.[0]?.attributes;u!==void 0&&a.forEach(c=>{let{outStatisticFieldName:d}=c;if(d!==void 0){let p=u[d.toLowerCase()]??u[d.toUpperCase()]??u[d];p!==void 0&&o.set(d,p)}})}return o}async function Rd(e){let{queryObject:r,queryConfig:i,returnUniqueIdsOnly:t,abortKey:a}=e,o=[],n=qe(r);if(r!==void 0){let s=jw(n),l=Bd({queryObject:r,queryConfig:i,maxRecordCountFactor:s});try{t===!0?"queryObjectIds"in r?o=await r.queryObjectIds(l):(l.outFields=[n.objectIdField],o=(await r.queryFeatures(l,{signal:a!==void 0?Vr.get(a)?.signal:void 0})).features.map(u=>u.attributes[n.objectIdField])):o=(await r.queryFeatures(l,{signal:a!==void 0?Vr.get(a)?.signal:void 0})).features}catch(u){if(!za.isAbortError(u)){let c=await Ct();throw new Zt(tr.QueryFeaturesError,c.queryError,u)}}}return o}async function Cw(e){let r=[],{featureCount:i,maxRecords:t,queryConfig:a}=e,o=[],n=0,s=a?.start??0;for(;n<Jt.maxParallelRequests&&s<i;){let l={...e};l.queryConfig={...a,start:s,num:Math.min(t,i-s)},r.push(Rd(l)),s+=t,n+=1}return o=(await Promise.all(r)).flat(),o}async function Tw(e){let{queryObject:r,queryConfig:i,returnUniqueIdsOnly:t,featureCount:a,noBatch:o,abortKey:n}=e,s=[],l=qe(r);if(r!==void 0){let u=a??1,c=kd(l);if(o!==!0&&u>c&&l.capabilities?.query.supportsPagination){let d=0,p=0,f=Math.ceil(u/c),m=Math.ceil(f/Jt.maxParallelRequests),y=[];for(;p<m;){d=p*Jt.maxParallelRequests*c;let b=Cw({queryConfig:{...i,start:d},queryObject:r,maxRecords:c,featureCount:u,returnUniqueIdsOnly:t,abortKey:n});y.push(b),p+=1}s=(await Promise.all(y)).flat()}else(Number.isNaN(u)||u>=0)&&(s=await Rd({queryObject:r,queryConfig:i,returnUniqueIdsOnly:t,abortKey:n}))}return s}async function Uj(e){let{queryObject:r,queryConfig:i,uniqueFeature:t,abortKey:a}=e,o={...i,returnDistinctValues:!0};return await Tw({queryObject:r,abortKey:a,queryConfig:o,returnUniqueIdsOnly:!0,featureCount:t===!0?1:void 0})}function Gj(e){if(e!==void 0){let r=Vr.get(e);r!==void 0&&r.abort(),Vr.set(e,new AbortController)}}function Aw(e){return{lowerBoundaryAlias:`charts_lower_boundary_${e}`,upperBoundaryAlias:`charts_upper_boundary_${e}`}}async function Hj(e){let{queryObject:r,dateField:i,splitByField:t,queryConfig:a,temporalBinning:o}=e,n=[];if(o){let{unit:s}=o;try{if(s){let l=Re(qe(r));if(Sw(l)&&r&&"queryAttributeBins"in r){let u=Dw({queryObject:r,queryConfig:a,temporalBinning:o,dateField:i,splitByField:t});n=(await r.queryAttributeBins(u)).features}}}catch(l){let u=await Ct();throw new Zt(tr.QueryFeaturesError,u.queryError,l)}}return n}function _d(e){let r=!e.geometry||e.geometry.type==="extent",i=(e.where??"").toUpperCase(),t=!i.includes("CURRENT_TIMESTAMP")&&!i.includes("CURRENT_DATE")&&!i.includes("CURRENT_TIME");return r&&t}function kd(e){let r=Re(e)?.sourceJSON,i=r?.maxRecordCount??Jt.maxRecords;return r?.advancedQueryCapabilities?.supportsMaxRecordCountFactor&&r?.maxRecordCount!==void 0&&(i=r.maxRecordCount*Jt.maxRecordCountFactor),i}function Ur(e,r){let i,t=Array.from(new Set(e)).filter(a=>a!=null&&a!==""&&!Fr(a));return t.sort((a,o)=>o.length-a.length),t.length===1?[i]=t:t?.forEach(a=>{a!==void 0&&(ft(i)?i=`(${a})`:i?.includes(`(${a})`)||(i=`${i} ${r??"AND"} (${a})`))}),i??"1=1"}function Pw(e,r){let i=r;if(e!==void 0){let t=qe(e),a=Re(t).timeExtent;a?.start!=null&&a?.end!=null&&(i=[a.start.valueOf(),a.end.valueOf()])}return i}function Fw(e){let{queryObject:r,defaultGeometry:i,ignoreViewExtent:t}=e,a=i;if(!t&&Qa(r)){let o=r.view.extent,{xmin:n,xmax:s,ymin:l,ymax:u,zmin:c,zmax:d,spatialReference:p}=o;a={xmin:n,ymin:l,zmin:c,xmax:s,ymax:u,zmax:d,spatialReference:p}}return a}function Ow(e){let r;return e!==void 0&&(r=new ud({start:new Date(e[0]),end:new Date(e[1])})),r}function Ja(e){let r;return e!==void 0&&(r=Wa.fromJSON(e)),r}function Ew(e){return e===void 0?["*"]:Array.from(new Set(e))}function Za(e){let{queryObject:r,queryConfig:i,queryType:t}=e,{where:a,outStatistics:o,geometry:n,distance:s,units:l,timeExtent:u,returnDistinctValues:c}=i??{},d=t==="Query"?new xv({}):new wv({}),p=qe(r),f=Re(p),m=[a,f.definitionExpression];if(d.where=Ur(m),d.returnDistinctValues=c??!1,o!==void 0){let I=ww(p);d.outStatistics=o.filter(S=>S.statisticType!==we.EnvelopeAggregate||I).map(S=>Iv.fromJSON(S))}let y=Ja(n);y!==void 0&&(d.geometry=y,i?.spatialRelationship&&(d.spatialRelationship=i.spatialRelationship),jd(p)&&(s!==void 0&&(d.distance=s),l!==void 0&&(d.units=l)));let b;return u&&(b=new ud({start:u?.[0],end:u?.[1]})),b!==void 0?d.timeExtent=b:f.timeExtent!==void 0&&(d.timeExtent=f.timeExtent),_d(d)&&(d.cacheHint=!0),d}function Lw(e){let r;switch(e){case ar.Start:r="first";break;case ar.End:r="last";break}return r}function Dw(e){let{queryObject:r,queryConfig:i,temporalBinning:t,dateField:a,splitByField:o}=e,n=Za({queryObject:r,queryConfig:i,queryType:"AttributeBinsQuery"}),{type:s,unit:l,size:u,trimIncompleteTimeInterval:c,timeAggregationType:d}=t,{start:p,end:f,offset:m,outTimeZone:y}=s===ta.CalendarBased?t:{},b=Aw(a);if(n.lowerBoundaryAlias=b.lowerBoundaryAlias,n.upperBoundaryAlias=b.upperBoundaryAlias,n.outTimeZone=y??Intl.DateTimeFormat().resolvedOptions().timeZone,n.binParameters={type:"date",field:a,interval:{unit:l,value:u},returnFullIntervalBin:c===!1,snapToData:Lw(d),start:p,end:f,offset:m?{unit:m.unit,value:m.size}:null},!ft(o)){let I=qe(r),S=Re(I).fields.find(F=>F.name===o)?.type;(!S||S==="string"||S==="integer"||S==="double")&&(n.binParameters.stackBy={type:"field",value:o,valueType:S==="string"?"string":"integer"})}return n}function $w(e){let{queryObject:r,queryConfig:i,xStep:t,xMin:a,xMax:o,x:n,y:s,yStep:l}=e,u=Za({queryObject:r,queryConfig:i,queryType:"AttributeBinsQuery"}),c=Iw(n,s);return u.lowerBoundaryAlias=c.lowerBoundaryAlias,u.upperBoundaryAlias=c.upperBoundaryAlias,u.binParameters={type:"fixed-interval",field:n,interval:t,start:a,end:o,stackBy:{value:`FLOOR(${s} / ${l})`,type:"expression",alias:c.stackAlias,valueType:"integer"}},u}function Bd(e){let{queryObject:r,queryConfig:i,maxRecordCountFactor:t}=e,{groupByFieldsForStatistics:a,orderByFields:o,gdbVersion:n,start:s,num:l,outFields:u}=i??{},c=Za({queryObject:r,queryConfig:i,queryType:"Query"});c.returnGeometry=!1;let d=qe(r),p=Re(d);return c.outFields=Ew(u),c.groupByFieldsForStatistics=a??c.groupByFieldsForStatistics,c.orderByFields=o??[],c.objectIds=i?.objectIds,t!==void 0&&(c.maxRecordCountFactor=t),n!==void 0&&n!==""?c.gdbVersion=n:p.gdbVersion!==void 0&&p.gdbVersion!==""&&(c.gdbVersion=p.gdbVersion),l!==void 0&&(c.num=l),s!==void 0&&(c.start=s,c.num=c.num??kd(d)),c}function jw(e){return Re(e)?.sourceJSON?.advancedQueryCapabilities?.supportsMaxRecordCountFactor===!0?Jt.maxRecordCountFactor:void 0}function Qj(e){let r,i,t;return e!==void 0&&(r=e.type,(r===Xr.UniqueValue||r===Xr.ClassBreaks)&&(i=e.field??void 0,r===Xr.ClassBreaks&&(t=e.normalizationField??void 0))),{rendererType:r,rendererField:i,rendererNormalizationField:t}}var Rw=(0,cd.default)(async e=>{let r=e.featureCollection,i,t;if(r?.layers?.[0]!==void 0){let n=r.layers[0];i=n.featureSet,t=n.layerDefinition}else t=e.layerDefinition;let a={};if(i!==void 0){if(a.source=bv.fromJSON(i).features,t?.fields!==void 0&&(a.fields=t.fields.map(n=>gv.fromJSON(n))),t?.objectIdField!==void 0&&(a.objectIdField=t.objectIdField),t?.geometryType!==void 0){let n=Wa.fromJSON({geometryType:t.geometryType});n?.type!==void 0&&n?.type!=="extent"&&(a.geometryType=n.type)}t?.spatialReference!==void 0&&(a.spatialReference=t.spatialReference)}else a.id=e.id,t?.id!==void 0&&(a.layerId=t.id),e.url!==void 0&&(a.url=e.url),e.itemId!==void 0&&t?.id!==void 0&&(a.portalItem={id:e.itemId});if(t!==void 0){let n=t.drawingInfo;n?.renderer!==void 0&&(a.renderer=dd.fromJSON(n.renderer))}let o=new vv(a);return await o.load(),o});async function Kj(e){let{layer:r,view:i,chartConfig:t}=e,a;if(r!==void 0){let o=qe(r),n=Re(o);if(i!==void 0&&!n.isTable){n.outFields=["*"];let s=u=>"highlight"in u,l=await i.whenLayerView(n);s(l)&&(a=l)}else a=r}else"iLayer"in t&&t.iLayer&&(a=await Rw(t.iLayer));return a}async function Ya(e,r){let i=qe(e),t=[];if(i!==void 0){await i.load();let a=r===!0&&i?.popupTemplate?.fieldInfos!==void 0;t=i.fields.map(o=>{let n=o.toJSON();if(a){let s=i.popupTemplate?.fieldInfos?.find(l=>l.fieldName?.toLowerCase()===o.name.toLowerCase())?.label;s!==void 0&&s!==o.name&&(n.alias=s)}return n})}return t}function Xa(e,r=[]){return r.find(i=>i.name===e)}function Jj(e){return e.find(r=>r.type===Be.OID)?.name??""}function qd(e){return[Be.Single,Be.Double,Be.SmallInteger,Be.Integer,Be.BigInteger].includes(e.type)}function Zj(e){return e.type===Be.Date}function Yj(e){return[Be.SmallInteger,Be.Integer,Be.BigInteger].includes(e.type)}function Xj(e){return e.filter(r=>r.type===Be.Date||r.type===Be.DateOnly||r.type===Be.TimestampOffset).map(r=>r.name)}function eR(e){return e.filter(r=>qd(r)).map(r=>r.name)}function _w(e){let{subtypeInfo:r,fieldName:i,fieldValueToMatch:t}=e,a,o=n=>`${n.id}`==`${t}`;return r?.subtypeField===i&&r.subtypes?a=r.subtypes.find(o)?.name:r?.typeIdField===i&&r.types&&(a=r.types.find(o)?.name),a}function ql(e,r){let i=[],t=vw(e)?e.subtypes:e[r];return t?.[0]!==void 0&&t.forEach(a=>{let{name:o,domains:n}=a,s="id"in a?a.id:void 0;!s&&"code"in a&&(s=a.code);let l=Object.entries(n??{}),u=[],c=l?.filter(([d,p])=>p?.type==="coded-value")?.map(([d,p])=>{let f={fieldName:d,name:o,codedValues:u};if(p&&"codedValues"in p){let m=p.codedValues.map(({code:y,name:b})=>({name:b,code:y}));f={fieldName:d,name:p.name,codedValues:m}}return f});i.push({id:s??"",name:o,domains:c})}),i.length===0?void 0:i}function tR(e){let r;if(e!==void 0){let i=qe(e);if(!Ka(i)&&!ft(i?.typeIdField)){let t=ql(i,"types");t!==void 0&&(r={typeIdField:i.typeIdField??void 0,types:t})}if(!ft(i?.subtypeField)){let t=Re(i),a=ql(t,"subtypes");a!==void 0&&(r={...r,subtypeField:t.subtypeField??void 0,subtypes:a})}}return r}function rR(e){let{fieldName:r,fieldValueToMatch:i,subtypeInfo:t,fieldList:a}=e,o;if((typeof i!="string"||!ft(i))&&!ft(r)&&(o=_w({subtypeInfo:t,fieldName:r,fieldValueToMatch:i}),o===void 0)){let n=Xa(r,a);if(t?.types!==void 0){let s=t?.types;for(let l of s){let u=l.domains?.filter(c=>c.fieldName===n?.name)??[];for(let c of u)if(o=c?.codedValues?.find(d=>`${d.code}`===i)?.name,o!==void 0)break;if(o!==void 0)break}}o===void 0&&n?.domain!==void 0&&n.domain.type==="codedValue"&&(o=n.domain.codedValues?.find(s=>`${s.code}`==`${i}`)?.name)}return o}async function iR(e){let r=[];return!Re(e).isTable&&e.fieldsIndex&&(r=await pd.getRendererFields(e.renderer,e.fieldsIndex)),r}function kw(e){let r="/rest/services",i=e.toLowerCase(),t=i.indexOf(r);return i=t>-1?e.substring(0,t):e,`${i}/rest/info`}async function aR(e){let r=!0,i=".arcgis.com/",t=e.url,a=t?.includes(i);if(t&&a&&Re(e).sourceJSON.serviceItemId!==void 0){let o=kw(t);try{let n=(await Ba(o,{query:{f:"json"}})).data;if(n.owningTenant!==void 0&&n.owningSystemUrl!==void 0){let s=`${n.owningSystemUrl}/sharing/rest/portals/${n.owningTenant}`,l=(await Ba(s,{authMode:"auto",query:{f:"json"}})).data,u=new Sv({sourceJSON:l});await u.load(),r=u?.sourceJSON?.subscriptionInfo?.dataStoreLevel===void 0}}catch{}}return r}async function Bw(e){let{queryObject:r,fieldToMatch:i,returnUndefinedIfNotFound:t}=e,a=await Ya(r),o=a.find(s=>i===s.name);o||(o=a.find(s=>i.toUpperCase()===s.name.toUpperCase()));let n=t?"":i;return o?.name??n}async function oR(e){let{fieldsList:r,queryObject:i,returnUndefinedIfNotFound:t}=e,a=r;return a!==void 0&&(a=await Promise.all(a.map(async o=>await Bw({queryObject:i,fieldToMatch:o,returnUndefinedIfNotFound:t})))),a}function nR(e){let{queryObject:r,chartConfig:i,runtimeDataFilters:t,ignoreViewExtent:a}=e,{series:o,dataFilters:n}=i,{where:s,gdbVersion:l,timeExtent:u,geometry:c,distance:d,units:p,objectIds:f,spatialRelationship:m}=n??{},{where:y,gdbVersion:b,timeExtent:I,geometry:S,distance:F,units:w,objectIds:T,spatialRelationship:E}=t??{},P=o[0],{query:O}=P,{where:j}=O??{},x=It(o),C={...O};return C.where=Ur([s,y]),x!==V.BarAndLineSplitBy&&x!==V.BoxPlotMonoFieldAndSplitBy&&x!==V.BoxPlotMonoFieldAndCategoryAndSplitBy&&x!==V.BoxPlotMultiFieldsAndSplitBy&&x!==V.BarAndLineSplitByNoAggregation&&(C.where=Ur([C.where,j])),i.orderOptions?.orderByFields!==void 0&&(C.orderByFields=i.orderOptions.orderByFields),C.gdbVersion=b??l,C.timeExtent=Pw(r,I??u),C.geometry=Fw({queryObject:r,defaultGeometry:S??c,ignoreViewExtent:a}),C.distance=F??d,C.units=w??p,C.objectIds=T??f,C.spatialRelationship=E??m,O?.outStatistics?.[0]?.statisticType===we.Count&&(C.returnDistinctValues=O?.returnDistinctValues??!1),C}var sR=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function qw(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Vi={exports:{}};var Mw=Vi.exports,Ml;function Nw(){return Ml||(Ml=1,function(e,r){(function(i,t){t(r)})(Mw,function(i){function t(){for(var h=arguments.length,g=Array(h),v=0;v<h;v++)g[v]=arguments[v];if(g.length>1){g[0]=g[0].slice(0,-1);for(var D=g.length-1,$=1;$<D;++$)g[$]=g[$].slice(1,-1);return g[D]=g[D].slice(1),g.join("")}else return g[0]}function a(h){return"(?:"+h+")"}function o(h){return h===void 0?"undefined":h===null?"null":Object.prototype.toString.call(h).split(" ").pop().split("]").shift().toLowerCase()}function n(h){return h.toUpperCase()}function s(h){return h!=null?h instanceof Array?h:typeof h.length!="number"||h.split||h.setInterval||h.call?[h]:Array.prototype.slice.call(h):[]}function l(h,g){var v=h;if(g)for(var D in g)v[D]=g[D];return v}function u(h){var g="[A-Za-z]",v="[0-9]",D=t(v,"[A-Fa-f]"),$=a(a("%[EFef]"+D+"%"+D+D+"%"+D+D)+"|"+a("%[89A-Fa-f]"+D+"%"+D+D)+"|"+a("%"+D+D)),G="[\\:\\/\\?\\#\\[\\]\\@]",U="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",oe=t(G,U),Fe=h?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",de=h?"[\\uE000-\\uF8FF]":"[]",re=t(g,v,"[\\-\\.\\_\\~]",Fe);a(g+t(g,v,"[\\+\\-\\.]")+"*"),a(a($+"|"+t(re,U,"[\\:]"))+"*");var he=a(a("25[0-5]")+"|"+a("2[0-4]"+v)+"|"+a("1"+v+v)+"|"+a("0?[1-9]"+v)+"|0?0?"+v),Pe=a(he+"\\."+he+"\\."+he+"\\."+he),ee=a(D+"{1,4}"),Oe=a(a(ee+"\\:"+ee)+"|"+Pe),ce=a(a(ee+"\\:")+"{6}"+Oe),Ue=a("\\:\\:"+a(ee+"\\:")+"{5}"+Oe),ir=a(a(ee)+"?\\:\\:"+a(ee+"\\:")+"{4}"+Oe),Ye=a(a(a(ee+"\\:")+"{0,1}"+ee)+"?\\:\\:"+a(ee+"\\:")+"{3}"+Oe),gt=a(a(a(ee+"\\:")+"{0,2}"+ee)+"?\\:\\:"+a(ee+"\\:")+"{2}"+Oe),Mt=a(a(a(ee+"\\:")+"{0,3}"+ee)+"?\\:\\:"+ee+"\\:"+Oe),Nt=a(a(a(ee+"\\:")+"{0,4}"+ee)+"?\\:\\:"+Oe),Ge=a(a(a(ee+"\\:")+"{0,5}"+ee)+"?\\:\\:"+ee),bt=a(a(a(ee+"\\:")+"{0,6}"+ee)+"?\\:\\:"),Wt=a([ce,Ue,ir,Ye,gt,Mt,Nt,Ge,bt].join("|")),st=a(a(re+"|"+$)+"+");a("[vV]"+D+"+\\."+t(re,U,"[\\:]")+"+"),a(a($+"|"+t(re,U))+"*");var Qr=a($+"|"+t(re,U,"[\\:\\@]"));return a(a($+"|"+t(re,U,"[\\@]"))+"+"),a(a(Qr+"|"+t("[\\/\\?]",de))+"*"),{NOT_SCHEME:new RegExp(t("[^]",g,v,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",re,U),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",re,U),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",re,U),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",re,U),"g"),NOT_QUERY:new RegExp(t("[^\\%]",re,U,"[\\:\\@\\/\\?]",de),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",re,U,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",re,U),"g"),UNRESERVED:new RegExp(re,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",re,oe),"g"),PCT_ENCODED:new RegExp($,"g"),IPV4ADDRESS:new RegExp("^("+Pe+")$"),IPV6ADDRESS:new RegExp("^\\[?("+Wt+")"+a(a("\\%25|\\%(?!"+D+"{2})")+"("+st+")")+"?\\]?$")}}var c=u(!1),d=u(!0),p=function(){function h(g,v){var D=[],$=!0,G=!1,U=void 0;try{for(var oe=g[Symbol.iterator](),Fe;!($=(Fe=oe.next()).done)&&(D.push(Fe.value),!(v&&D.length===v));$=!0);}catch(de){G=!0,U=de}finally{try{!$&&oe.return&&oe.return()}finally{if(G)throw U}}return D}return function(g,v){if(Array.isArray(g))return g;if(Symbol.iterator in Object(g))return h(g,v);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),f=function(h){if(Array.isArray(h)){for(var g=0,v=Array(h.length);g<h.length;g++)v[g]=h[g];return v}else return Array.from(h)},m=2147483647,y=36,b=1,I=26,S=38,F=700,w=72,T=128,E="-",P=/^xn--/,O=/[^\0-\x7E]/,j=/[\x2E\u3002\uFF0E\uFF61]/g,x={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},C=y-b,k=Math.floor,B=String.fromCharCode;function M(h){throw new RangeError(x[h])}function J(h,g){for(var v=[],D=h.length;D--;)v[D]=g(h[D]);return v}function Z(h,g){var v=h.split("@"),D="";v.length>1&&(D=v[0]+"@",h=v[1]),h=h.replace(j,".");var $=h.split("."),G=J($,g).join(".");return D+G}function K(h){for(var g=[],v=0,D=h.length;v<D;){var $=h.charCodeAt(v++);if($>=55296&&$<=56319&&v<D){var G=h.charCodeAt(v++);(G&64512)==56320?g.push((($&1023)<<10)+(G&1023)+65536):(g.push($),v--)}else g.push($)}return g}var Y=function(h){return String.fromCodePoint.apply(String,f(h))},Q=function(h){return h-48<10?h-22:h-65<26?h-65:h-97<26?h-97:y},fe=function(h,g){return h+22+75*(h<26)-((g!=0)<<5)},$e=function(h,g,v){var D=0;for(h=v?k(h/F):h>>1,h+=k(h/g);h>C*I>>1;D+=y)h=k(h/C);return k(D+(C+1)*h/(h+S))},Ee=function(h){var g=[],v=h.length,D=0,$=T,G=w,U=h.lastIndexOf(E);U<0&&(U=0);for(var oe=0;oe<U;++oe)h.charCodeAt(oe)>=128&&M("not-basic"),g.push(h.charCodeAt(oe));for(var Fe=U>0?U+1:0;Fe<v;){for(var de=D,re=1,he=y;;he+=y){Fe>=v&&M("invalid-input");var Pe=Q(h.charCodeAt(Fe++));(Pe>=y||Pe>k((m-D)/re))&&M("overflow"),D+=Pe*re;var ee=he<=G?b:he>=G+I?I:he-G;if(Pe<ee)break;var Oe=y-ee;re>k(m/Oe)&&M("overflow"),re*=Oe}var ce=g.length+1;G=$e(D-de,ce,de==0),k(D/ce)>m-$&&M("overflow"),$+=k(D/ce),D%=ce,g.splice(D++,0,$)}return String.fromCodePoint.apply(String,g)},Ie=function(h){var g=[];h=K(h);var v=h.length,D=T,$=0,G=w,U=!0,oe=!1,Fe=void 0;try{for(var de=h[Symbol.iterator](),re;!(U=(re=de.next()).done);U=!0){var he=re.value;he<128&&g.push(B(he))}}catch(jr){oe=!0,Fe=jr}finally{try{!U&&de.return&&de.return()}finally{if(oe)throw Fe}}var Pe=g.length,ee=Pe;for(Pe&&g.push(E);ee<v;){var Oe=m,ce=!0,Ue=!1,ir=void 0;try{for(var Ye=h[Symbol.iterator](),gt;!(ce=(gt=Ye.next()).done);ce=!0){var Mt=gt.value;Mt>=D&&Mt<Oe&&(Oe=Mt)}}catch(jr){Ue=!0,ir=jr}finally{try{!ce&&Ye.return&&Ye.return()}finally{if(Ue)throw ir}}var Nt=ee+1;Oe-D>k((m-$)/Nt)&&M("overflow"),$+=(Oe-D)*Nt,D=Oe;var Ge=!0,bt=!1,Wt=void 0;try{for(var st=h[Symbol.iterator](),Qr;!(Ge=(Qr=st.next()).done);Ge=!0){var uo=Qr.value;if(uo<D&&++$>m&&M("overflow"),uo==D){for(var Kr=$,Jr=y;;Jr+=y){var Zr=Jr<=G?b:Jr>=G+I?I:Jr-G;if(Kr<Zr)break;var fo=Kr-Zr,ho=y-Zr;g.push(B(fe(Zr+fo%ho,0))),Kr=k(fo/ho)}g.push(B(fe(Kr,0))),G=$e($,Nt,ee==Pe),$=0,++ee}}}catch(jr){bt=!0,Wt=jr}finally{try{!Ge&&st.return&&st.return()}finally{if(bt)throw Wt}}++$,++D}return g.join("")},ot=function(h){return Z(h,function(g){return P.test(g)?Ee(g.slice(4).toLowerCase()):g})},We=function(h){return Z(h,function(g){return O.test(g)?"xn--"+Ie(g):g})},A={version:"2.1.0",ucs2:{decode:K,encode:Y},decode:Ee,encode:Ie,toASCII:We,toUnicode:ot},R={};function N(h){var g=h.charCodeAt(0),v=void 0;return g<16?v="%0"+g.toString(16).toUpperCase():g<128?v="%"+g.toString(16).toUpperCase():g<2048?v="%"+(g>>6|192).toString(16).toUpperCase()+"%"+(g&63|128).toString(16).toUpperCase():v="%"+(g>>12|224).toString(16).toUpperCase()+"%"+(g>>6&63|128).toString(16).toUpperCase()+"%"+(g&63|128).toString(16).toUpperCase(),v}function z(h){for(var g="",v=0,D=h.length;v<D;){var $=parseInt(h.substr(v+1,2),16);if($<128)g+=String.fromCharCode($),v+=3;else if($>=194&&$<224){if(D-v>=6){var G=parseInt(h.substr(v+4,2),16);g+=String.fromCharCode(($&31)<<6|G&63)}else g+=h.substr(v,6);v+=6}else if($>=224){if(D-v>=9){var U=parseInt(h.substr(v+4,2),16),oe=parseInt(h.substr(v+7,2),16);g+=String.fromCharCode(($&15)<<12|(U&63)<<6|oe&63)}else g+=h.substr(v,9);v+=9}else g+=h.substr(v,3),v+=3}return g}function _(h,g){function v(D){var $=z(D);return $.match(g.UNRESERVED)?$:D}return h.scheme&&(h.scheme=String(h.scheme).replace(g.PCT_ENCODED,v).toLowerCase().replace(g.NOT_SCHEME,"")),h.userinfo!==void 0&&(h.userinfo=String(h.userinfo).replace(g.PCT_ENCODED,v).replace(g.NOT_USERINFO,N).replace(g.PCT_ENCODED,n)),h.host!==void 0&&(h.host=String(h.host).replace(g.PCT_ENCODED,v).toLowerCase().replace(g.NOT_HOST,N).replace(g.PCT_ENCODED,n)),h.path!==void 0&&(h.path=String(h.path).replace(g.PCT_ENCODED,v).replace(h.scheme?g.NOT_PATH:g.NOT_PATH_NOSCHEME,N).replace(g.PCT_ENCODED,n)),h.query!==void 0&&(h.query=String(h.query).replace(g.PCT_ENCODED,v).replace(g.NOT_QUERY,N).replace(g.PCT_ENCODED,n)),h.fragment!==void 0&&(h.fragment=String(h.fragment).replace(g.PCT_ENCODED,v).replace(g.NOT_FRAGMENT,N).replace(g.PCT_ENCODED,n)),h}function W(h){return h.replace(/^0*(.*)/,"$1")||"0"}function H(h,g){var v=h.match(g.IPV4ADDRESS)||[],D=p(v,2),$=D[1];return $?$.split(".").map(W).join("."):h}function X(h,g){var v=h.match(g.IPV6ADDRESS)||[],D=p(v,3),$=D[1],G=D[2];if($){for(var U=$.toLowerCase().split("::").reverse(),oe=p(U,2),Fe=oe[0],de=oe[1],re=de?de.split(":").map(W):[],he=Fe.split(":").map(W),Pe=g.IPV4ADDRESS.test(he[he.length-1]),ee=Pe?7:8,Oe=he.length-ee,ce=Array(ee),Ue=0;Ue<ee;++Ue)ce[Ue]=re[Ue]||he[Oe+Ue]||"";Pe&&(ce[ee-1]=H(ce[ee-1],g));var ir=ce.reduce(function(Ge,bt,Wt){if(!bt||bt==="0"){var st=Ge[Ge.length-1];st&&st.index+st.length===Wt?st.length++:Ge.push({index:Wt,length:1})}return Ge},[]),Ye=ir.sort(function(Ge,bt){return bt.length-Ge.length})[0],gt=void 0;if(Ye&&Ye.length>1){var Mt=ce.slice(0,Ye.index),Nt=ce.slice(Ye.index+Ye.length);gt=Mt.join(":")+"::"+Nt.join(":")}else gt=ce.join(":");return G&&(gt+="%"+G),gt}else return h}var ge=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,be="".match(/(){0}/)[1]===void 0;function ne(h){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v={},D=g.iri!==!1?d:c;g.reference==="suffix"&&(h=(g.scheme?g.scheme+":":"")+"//"+h);var $=h.match(ge);if($){be?(v.scheme=$[1],v.userinfo=$[3],v.host=$[4],v.port=parseInt($[5],10),v.path=$[6]||"",v.query=$[7],v.fragment=$[8],isNaN(v.port)&&(v.port=$[5])):(v.scheme=$[1]||void 0,v.userinfo=h.indexOf("@")!==-1?$[3]:void 0,v.host=h.indexOf("//")!==-1?$[4]:void 0,v.port=parseInt($[5],10),v.path=$[6]||"",v.query=h.indexOf("?")!==-1?$[7]:void 0,v.fragment=h.indexOf("#")!==-1?$[8]:void 0,isNaN(v.port)&&(v.port=h.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?$[4]:void 0)),v.host&&(v.host=X(H(v.host,D),D)),v.scheme===void 0&&v.userinfo===void 0&&v.host===void 0&&v.port===void 0&&!v.path&&v.query===void 0?v.reference="same-document":v.scheme===void 0?v.reference="relative":v.fragment===void 0?v.reference="absolute":v.reference="uri",g.reference&&g.reference!=="suffix"&&g.reference!==v.reference&&(v.error=v.error||"URI is not a "+g.reference+" reference.");var G=R[(g.scheme||v.scheme||"").toLowerCase()];if(!g.unicodeSupport&&(!G||!G.unicodeSupport)){if(v.host&&(g.domainHost||G&&G.domainHost))try{v.host=A.toASCII(v.host.replace(D.PCT_ENCODED,z).toLowerCase())}catch(U){v.error=v.error||"Host's domain name can not be converted to ASCII via punycode: "+U}_(v,c)}else _(v,D);G&&G.parse&&G.parse(v,g)}else v.error=v.error||"URI can not be parsed.";return v}function ae(h,g){var v=g.iri!==!1?d:c,D=[];return h.userinfo!==void 0&&(D.push(h.userinfo),D.push("@")),h.host!==void 0&&D.push(X(H(String(h.host),v),v).replace(v.IPV6ADDRESS,function($,G,U){return"["+G+(U?"%25"+U:"")+"]"})),(typeof h.port=="number"||typeof h.port=="string")&&(D.push(":"),D.push(String(h.port))),D.length?D.join(""):void 0}var le=/^\.\.?\//,ze=/^\/\.(\/|$)/,mt=/^\/\.\.(\/|$)/,ve=/^\/?(?:.|\n)*?(?=\/|$)/;function Le(h){for(var g=[];h.length;)if(h.match(le))h=h.replace(le,"");else if(h.match(ze))h=h.replace(ze,"/");else if(h.match(mt))h=h.replace(mt,"/"),g.pop();else if(h==="."||h==="..")h="";else{var v=h.match(ve);if(v){var D=v[0];h=h.slice(D.length),g.push(D)}else throw new Error("Unexpected dot segment condition")}return g.join("")}function Se(h){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=g.iri?d:c,D=[],$=R[(g.scheme||h.scheme||"").toLowerCase()];if($&&$.serialize&&$.serialize(h,g),h.host&&!v.IPV6ADDRESS.test(h.host)&&(g.domainHost||$&&$.domainHost))try{h.host=g.iri?A.toUnicode(h.host):A.toASCII(h.host.replace(v.PCT_ENCODED,z).toLowerCase())}catch(oe){h.error=h.error||"Host's domain name can not be converted to "+(g.iri?"Unicode":"ASCII")+" via punycode: "+oe}_(h,v),g.reference!=="suffix"&&h.scheme&&(D.push(h.scheme),D.push(":"));var G=ae(h,g);if(G!==void 0&&(g.reference!=="suffix"&&D.push("//"),D.push(G),h.path&&h.path.charAt(0)!=="/"&&D.push("/")),h.path!==void 0){var U=h.path;!g.absolutePath&&(!$||!$.absolutePath)&&(U=Le(U)),G===void 0&&(U=U.replace(/^\/\//,"/%2F")),D.push(U)}return h.query!==void 0&&(D.push("?"),D.push(h.query)),h.fragment!==void 0&&(D.push("#"),D.push(h.fragment)),D.join("")}function Lr(h,g){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},D=arguments[3],$={};return D||(h=ne(Se(h,v),v),g=ne(Se(g,v),v)),v=v||{},!v.tolerant&&g.scheme?($.scheme=g.scheme,$.userinfo=g.userinfo,$.host=g.host,$.port=g.port,$.path=Le(g.path||""),$.query=g.query):(g.userinfo!==void 0||g.host!==void 0||g.port!==void 0?($.userinfo=g.userinfo,$.host=g.host,$.port=g.port,$.path=Le(g.path||""),$.query=g.query):(g.path?(g.path.charAt(0)==="/"?$.path=Le(g.path):((h.userinfo!==void 0||h.host!==void 0||h.port!==void 0)&&!h.path?$.path="/"+g.path:h.path?$.path=h.path.slice(0,h.path.lastIndexOf("/")+1)+g.path:$.path=g.path,$.path=Le($.path)),$.query=g.query):($.path=h.path,g.query!==void 0?$.query=g.query:$.query=h.query),$.userinfo=h.userinfo,$.host=h.host,$.port=h.port),$.scheme=h.scheme),$.fragment=g.fragment,$}function Zi(h,g,v){var D=l({scheme:"null"},v);return Se(Lr(ne(h,D),ne(g,D),D,!0),D)}function Yi(h,g){return typeof h=="string"?h=Se(ne(h,g),g):o(h)==="object"&&(h=ne(Se(h,g),g)),h}function Ud(h,g,v){return typeof h=="string"?h=Se(ne(h,v),v):o(h)==="object"&&(h=Se(h,v)),typeof g=="string"?g=Se(ne(g,v),v):o(g)==="object"&&(g=Se(g,v)),h===g}function Gd(h,g){return h&&h.toString().replace(!g||!g.iri?c.ESCAPE:d.ESCAPE,N)}function yt(h,g){return h&&h.toString().replace(!g||!g.iri?c.PCT_ENCODED:d.PCT_ENCODED,z)}var Dr={scheme:"http",domainHost:!0,parse:function(h,g){return h.host||(h.error=h.error||"HTTP URIs must have a host."),h},serialize:function(h,g){var v=String(h.scheme).toLowerCase()==="https";return(h.port===(v?443:80)||h.port==="")&&(h.port=void 0),h.path||(h.path="/"),h}},io={scheme:"https",domainHost:Dr.domainHost,parse:Dr.parse,serialize:Dr.serialize};function ao(h){return typeof h.secure=="boolean"?h.secure:String(h.scheme).toLowerCase()==="wss"}var $r={scheme:"ws",domainHost:!0,parse:function(h,g){var v=h;return v.secure=ao(v),v.resourceName=(v.path||"/")+(v.query?"?"+v.query:""),v.path=void 0,v.query=void 0,v},serialize:function(h,g){if((h.port===(ao(h)?443:80)||h.port==="")&&(h.port=void 0),typeof h.secure=="boolean"&&(h.scheme=h.secure?"wss":"ws",h.secure=void 0),h.resourceName){var v=h.resourceName.split("?"),D=p(v,2),$=D[0],G=D[1];h.path=$&&$!=="/"?$:void 0,h.query=G,h.resourceName=void 0}return h.fragment=void 0,h}},oo={scheme:"wss",domainHost:$r.domainHost,parse:$r.parse,serialize:$r.serialize},Hd={},no="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",nt="[0-9A-Fa-f]",Qd=a(a("%[EFef]"+nt+"%"+nt+nt+"%"+nt+nt)+"|"+a("%[89A-Fa-f]"+nt+"%"+nt+nt)+"|"+a("%"+nt+nt)),Kd="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",Jd="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",Zd=t(Jd,'[\\"\\\\]'),Yd="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",Xd=new RegExp(no,"g"),rr=new RegExp(Qd,"g"),ec=new RegExp(t("[^]",Kd,"[\\.]",'[\\"]',Zd),"g"),so=new RegExp(t("[^]",no,Yd),"g"),tc=so;function Xi(h){var g=z(h);return g.match(Xd)?g:h}var lo={scheme:"mailto",parse:function(h,g){var v=h,D=v.to=v.path?v.path.split(","):[];if(v.path=void 0,v.query){for(var $=!1,G={},U=v.query.split("&"),oe=0,Fe=U.length;oe<Fe;++oe){var de=U[oe].split("=");switch(de[0]){case"to":for(var re=de[1].split(","),he=0,Pe=re.length;he<Pe;++he)D.push(re[he]);break;case"subject":v.subject=yt(de[1],g);break;case"body":v.body=yt(de[1],g);break;default:$=!0,G[yt(de[0],g)]=yt(de[1],g);break}}$&&(v.headers=G)}v.query=void 0;for(var ee=0,Oe=D.length;ee<Oe;++ee){var ce=D[ee].split("@");if(ce[0]=yt(ce[0]),g.unicodeSupport)ce[1]=yt(ce[1],g).toLowerCase();else try{ce[1]=A.toASCII(yt(ce[1],g).toLowerCase())}catch(Ue){v.error=v.error||"Email address's domain name can not be converted to ASCII via punycode: "+Ue}D[ee]=ce.join("@")}return v},serialize:function(h,g){var v=h,D=s(h.to);if(D){for(var $=0,G=D.length;$<G;++$){var U=String(D[$]),oe=U.lastIndexOf("@"),Fe=U.slice(0,oe).replace(rr,Xi).replace(rr,n).replace(ec,N),de=U.slice(oe+1);try{de=g.iri?A.toUnicode(de):A.toASCII(yt(de,g).toLowerCase())}catch(ee){v.error=v.error||"Email address's domain name can not be converted to "+(g.iri?"Unicode":"ASCII")+" via punycode: "+ee}D[$]=Fe+"@"+de}v.path=D.join(",")}var re=h.headers=h.headers||{};h.subject&&(re.subject=h.subject),h.body&&(re.body=h.body);var he=[];for(var Pe in re)re[Pe]!==Hd[Pe]&&he.push(Pe.replace(rr,Xi).replace(rr,n).replace(so,N)+"="+re[Pe].replace(rr,Xi).replace(rr,n).replace(tc,N));return he.length&&(v.query=he.join("&")),v}},rc=/^([^\:]+)\:(.*)/,po={scheme:"urn",parse:function(h,g){var v=h.path&&h.path.match(rc),D=h;if(v){var $=g.scheme||D.scheme||"urn",G=v[1].toLowerCase(),U=v[2],oe=$+":"+(g.nid||G),Fe=R[oe];D.nid=G,D.nss=U,D.path=void 0,Fe&&(D=Fe.parse(D,g))}else D.error=D.error||"URN can not be parsed.";return D},serialize:function(h,g){var v=g.scheme||h.scheme||"urn",D=h.nid,$=v+":"+(g.nid||D),G=R[$];G&&(h=G.serialize(h,g));var U=h,oe=h.nss;return U.path=(D||g.nid)+":"+oe,U}},ic=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,co={scheme:"urn:uuid",parse:function(h,g){var v=h;return v.uuid=v.nss,v.nss=void 0,!g.tolerant&&(!v.uuid||!v.uuid.match(ic))&&(v.error=v.error||"UUID is not valid."),v},serialize:function(h,g){var v=h;return v.nss=(h.uuid||"").toLowerCase(),v}};R[Dr.scheme]=Dr,R[io.scheme]=io,R[$r.scheme]=$r,R[oo.scheme]=oo,R[lo.scheme]=lo,R[po.scheme]=po,R[co.scheme]=co,i.SCHEMES=R,i.pctEncChar=N,i.pctDecChars=z,i.parse=ne,i.removeDotSegments=Le,i.serialize=Se,i.resolveComponents=Lr,i.resolve=Zi,i.normalize=Yi,i.equal=Ud,i.escapeComponent=Gd,i.unescapeComponent=yt,Object.defineProperty(i,"__esModule",{value:!0})})}(Vi,Vi.exports)),Vi.exports}var Nl,Wl;function eo(){return Wl||(Wl=1,Nl=function e(r,i){if(r===i)return!0;if(r&&i&&typeof r=="object"&&typeof i=="object"){if(r.constructor!==i.constructor)return!1;var t,a,o;if(Array.isArray(r)){if(t=r.length,t!=i.length)return!1;for(a=t;a--!==0;)if(!e(r[a],i[a]))return!1;return!0}if(r.constructor===RegExp)return r.source===i.source&&r.flags===i.flags;if(r.valueOf!==Object.prototype.valueOf)return r.valueOf()===i.valueOf();if(r.toString!==Object.prototype.toString)return r.toString()===i.toString();if(o=Object.keys(r),t=o.length,t!==Object.keys(i).length)return!1;for(a=t;a--!==0;)if(!Object.prototype.hasOwnProperty.call(i,o[a]))return!1;for(a=t;a--!==0;){var n=o[a];if(!e(r[n],i[n]))return!1}return!0}return r!==r&&i!==i}),Nl}var zl,Vl;function Ww(){return Vl||(Vl=1,zl=function(e){for(var r=0,i=e.length,t=0,a;t<i;)r++,a=e.charCodeAt(t++),a>=55296&&a<=56319&&t<i&&(a=e.charCodeAt(t),(a&64512)==56320&&t++);return r}),zl}var Ca,Ul;function Er(){if(Ul)return Ca;Ul=1,Ca={copy:e,checkDataType:r,checkDataTypes:i,coerceToTypes:a,toHash:o,getProperty:l,escapeQuotes:u,equal:eo(),ucs2length:Ww(),varOccurences:c,varReplace:d,schemaHasRules:p,schemaHasRulesExcept:f,schemaUnknownRules:m,toQuotedString:y,getPathExpr:b,getPath:I,getData:w,unescapeFragment:E,unescapeJsonPointer:j,escapeFragment:P,escapeJsonPointer:O};function e(x,C){C=C||{};for(var k in x)C[k]=x[k];return C}function r(x,C,k,B){var M=B?" !== ":" === ",J=B?" || ":" && ",Z=B?"!":"",K=B?"":"!";switch(x){case"null":return C+M+"null";case"array":return Z+"Array.isArray("+C+")";case"object":return"("+Z+C+J+"typeof "+C+M+'"object"'+J+K+"Array.isArray("+C+"))";case"integer":return"(typeof "+C+M+'"number"'+J+K+"("+C+" % 1)"+J+C+M+C+(k?J+Z+"isFinite("+C+")":"")+")";case"number":return"(typeof "+C+M+'"'+x+'"'+(k?J+Z+"isFinite("+C+")":"")+")";default:return"typeof "+C+M+'"'+x+'"'}}function i(x,C,k){switch(x.length){case 1:return r(x[0],C,k,!0);default:var B="",M=o(x);M.array&&M.object&&(B=M.null?"(":"(!"+C+" || ",B+="typeof "+C+' !== "object")',delete M.null,delete M.array,delete M.object),M.number&&delete M.integer;for(var J in M)B+=(B?" && ":"")+r(J,C,k,!0);return B}}var t=o(["string","number","integer","boolean","null"]);function a(x,C){if(Array.isArray(C)){for(var k=[],B=0;B<C.length;B++){var M=C[B];(t[M]||x==="array"&&M==="array")&&(k[k.length]=M)}if(k.length)return k}else{if(t[C])return[C];if(x==="array"&&C==="array")return["array"]}}function o(x){for(var C={},k=0;k<x.length;k++)C[x[k]]=!0;return C}var n=/^[a-z$_][a-z$_0-9]*$/i,s=/'|\\/g;function l(x){return typeof x=="number"?"["+x+"]":n.test(x)?"."+x:"['"+u(x)+"']"}function u(x){return x.replace(s,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function c(x,C){C+="[^0-9]";var k=x.match(new RegExp(C,"g"));return k?k.length:0}function d(x,C,k){return C+="([^0-9])",k=k.replace(/\$/g,"$$$$"),x.replace(new RegExp(C,"g"),k+"$1")}function p(x,C){if(typeof x=="boolean")return!x;for(var k in x)if(C[k])return!0}function f(x,C,k){if(typeof x=="boolean")return!x&&k!="not";for(var B in x)if(B!=k&&C[B])return!0}function m(x,C){if(typeof x!="boolean"){for(var k in x)if(!C[k])return k}}function y(x){return"'"+u(x)+"'"}function b(x,C,k,B){var M=k?"'/' + "+C+(B?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):B?"'[' + "+C+" + ']'":"'[\\'' + "+C+" + '\\']'";return T(x,M)}function I(x,C,k){var B=y(k?"/"+O(C):l(C));return T(x,B)}var S=/^\/(?:[^~]|~0|~1)*$/,F=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function w(x,C,k){var B,M,J,Z;if(x==="")return"rootData";if(x[0]=="/"){if(!S.test(x))throw new Error("Invalid JSON-pointer: "+x);M=x,J="rootData"}else{if(Z=x.match(F),!Z)throw new Error("Invalid JSON-pointer: "+x);if(B=+Z[1],M=Z[2],M=="#"){if(B>=C)throw new Error("Cannot access property/index "+B+" levels up, current level is "+C);return k[C-B]}if(B>C)throw new Error("Cannot access data "+B+" levels up, current level is "+C);if(J="data"+(C-B||""),!M)return J}for(var K=J,Y=M.split("/"),Q=0;Q<Y.length;Q++){var fe=Y[Q];fe&&(J+=l(j(fe)),K+=" && "+J)}return K}function T(x,C){return x=='""'?C:(x+" + "+C).replace(/([^\\])' \+ '/g,"$1")}function E(x){return j(decodeURIComponent(x))}function P(x){return encodeURIComponent(O(x))}function O(x){return x.replace(/~/g,"~0").replace(/\//g,"~1")}function j(x){return x.replace(/~1/g,"/").replace(/~0/g,"~")}return Ca}var Ta,Gl;function Md(){if(Gl)return Ta;Gl=1;var e=Er();Ta=r;function r(i){e.copy(i,this)}return Ta}var Aa={exports:{}},Hl;function zw(){if(Hl)return Aa.exports;Hl=1;var e=Aa.exports=function(t,a,o){typeof a=="function"&&(o=a,a={}),o=a.cb||o;var n=typeof o=="function"?o:o.pre||function(){},s=o.post||function(){};r(a,n,s,t,"",t)};e.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0},e.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},e.propsKeywords={definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},e.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function r(t,a,o,n,s,l,u,c,d,p){if(n&&typeof n=="object"&&!Array.isArray(n)){a(n,s,l,u,c,d,p);for(var f in n){var m=n[f];if(Array.isArray(m)){if(f in e.arrayKeywords)for(var y=0;y<m.length;y++)r(t,a,o,m[y],s+"/"+f+"/"+y,l,s,f,n,y)}else if(f in e.propsKeywords){if(m&&typeof m=="object")for(var b in m)r(t,a,o,m[b],s+"/"+f+"/"+i(b),l,s,f,n,b)}else(f in e.keywords||t.allKeys&&!(f in e.skipKeywords))&&r(t,a,o,m,s+"/"+f,l,s,f,n)}o(n,s,l,u,c,d,p)}}function i(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}return Aa.exports}var Pa,Ql;function to(){if(Ql)return Pa;Ql=1;var e=Nw(),r=eo(),i=Er(),t=Md(),a=zw();Pa=o,o.normalizeId=I,o.fullPath=m,o.url=S,o.ids=F,o.inlineRef=d,o.schema=n;function o(w,T,E){var P=this._refs[E];if(typeof P=="string")if(this._refs[P])P=this._refs[P];else return o.call(this,w,T,P);if(P=P||this._schemas[E],P instanceof t)return d(P.schema,this._opts.inlineRefs)?P.schema:P.validate||this._compile(P);var O=n.call(this,T,E),j,x,C;return O&&(j=O.schema,T=O.root,C=O.baseId),j instanceof t?x=j.validate||w.call(this,j.schema,T,void 0,C):j!==void 0&&(x=d(j,this._opts.inlineRefs)?j:w.call(this,j,T,void 0,C)),x}function n(w,T){var E=e.parse(T),P=y(E),O=m(this._getId(w.schema));if(Object.keys(w.schema).length===0||P!==O){var j=I(P),x=this._refs[j];if(typeof x=="string")return s.call(this,w,x,E);if(x instanceof t)x.validate||this._compile(x),w=x;else if(x=this._schemas[j],x instanceof t){if(x.validate||this._compile(x),j==I(T))return{schema:x,root:w,baseId:O};w=x}else return;if(!w.schema)return;O=m(this._getId(w.schema))}return u.call(this,E,O,w.schema,w)}function s(w,T,E){var P=n.call(this,w,T);if(P){var O=P.schema,j=P.baseId;w=P.root;var x=this._getId(O);return x&&(j=S(j,x)),u.call(this,E,j,O,w)}}var l=i.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function u(w,T,E,P){if(w.fragment=w.fragment||"",w.fragment.slice(0,1)=="/"){for(var O=w.fragment.split("/"),j=1;j<O.length;j++){var x=O[j];if(x){if(x=i.unescapeFragment(x),E=E[x],E===void 0)break;var C;if(!l[x]&&(C=this._getId(E),C&&(T=S(T,C)),E.$ref)){var k=S(T,E.$ref),B=n.call(this,P,k);B&&(E=B.schema,P=B.root,T=B.baseId)}}}if(E!==void 0&&E!==P.schema)return{schema:E,root:P,baseId:T}}}var c=i.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function d(w,T){if(T===!1)return!1;if(T===void 0||T===!0)return p(w);if(T)return f(w)<=T}function p(w){var T;if(Array.isArray(w)){for(var E=0;E<w.length;E++)if(T=w[E],typeof T=="object"&&!p(T))return!1}else for(var P in w)if(P=="$ref"||(T=w[P],typeof T=="object"&&!p(T)))return!1;return!0}function f(w){var T=0,E;if(Array.isArray(w)){for(var P=0;P<w.length;P++)if(E=w[P],typeof E=="object"&&(T+=f(E)),T==1/0)return 1/0}else for(var O in w){if(O=="$ref")return 1/0;if(c[O])T++;else if(E=w[O],typeof E=="object"&&(T+=f(E)+1),T==1/0)return 1/0}return T}function m(w,T){T!==!1&&(w=I(w));var E=e.parse(w);return y(E)}function y(w){return e.serialize(w).split("#")[0]+"#"}var b=/#\/?$/;function I(w){return w?w.replace(b,""):""}function S(w,T){return T=I(T),e.resolve(w,T)}function F(w){var T=I(this._getId(w)),E={"":T},P={"":m(T,!1)},O={},j=this;return a(w,{allKeys:!0},function(x,C,k,B,M,J,Z){if(C!==""){var K=j._getId(x),Y=E[B],Q=P[B]+"/"+M;if(Z!==void 0&&(Q+="/"+(typeof Z=="number"?Z:i.escapeFragment(Z))),typeof K=="string"){K=Y=I(Y?e.resolve(Y,K):K);var fe=j._refs[K];if(typeof fe=="string"&&(fe=j._refs[fe]),fe&&fe.schema){if(!r(x,fe.schema))throw new Error('id "'+K+'" resolves to more than one schema')}else if(K!=I(Q))if(K[0]=="#"){if(O[K]&&!r(x,O[K]))throw new Error('id "'+K+'" resolves to more than one schema');O[K]=x}else j._refs[K]=Q}E[C]=Y,P[C]=Q}}),O}return Pa}var Fa,Kl;function ro(){if(Kl)return Fa;Kl=1;var e=to();Fa={Validation:t(r),MissingRef:t(i)};function r(a){this.message="validation failed",this.errors=a,this.ajv=this.validation=!0}i.message=function(a,o){return"can't resolve reference "+o+" from id "+a};function i(a,o,n){this.message=n||i.message(a,o),this.missingRef=e.url(a,o),this.missingSchema=e.normalizeId(e.fullPath(this.missingRef))}function t(a){return a.prototype=Object.create(Error.prototype),a.prototype.constructor=a,a}return Fa}var Jl,Zl;function Nd(){return Zl||(Zl=1,Jl=function(e,r){r||(r={}),typeof r=="function"&&(r={cmp:r});var i=typeof r.cycles=="boolean"?r.cycles:!1,t=r.cmp&&function(o){return function(n){return function(s,l){var u={key:s,value:n[s]},c={key:l,value:n[l]};return o(u,c)}}}(r.cmp),a=[];return function o(n){if(n&&n.toJSON&&typeof n.toJSON=="function"&&(n=n.toJSON()),n!==void 0){if(typeof n=="number")return isFinite(n)?""+n:"null";if(typeof n!="object")return JSON.stringify(n);var s,l;if(Array.isArray(n)){for(l="[",s=0;s<n.length;s++)s&&(l+=","),l+=o(n[s])||"null";return l+"]"}if(n===null)return"null";if(a.indexOf(n)!==-1){if(i)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var u=a.push(n)-1,c=Object.keys(n).sort(t&&t(n));for(l="",s=0;s<c.length;s++){var d=c[s],p=o(n[d]);p&&(l&&(l+=","),l+=JSON.stringify(d)+":"+p)}return a.splice(u,1),"{"+l+"}"}}(e)}),Jl}var Yl,Xl;function Wd(){return Xl||(Xl=1,Yl=function(e,r,i){var t="",a=e.schema.$async===!0,o=e.util.schemaHasRulesExcept(e.schema,e.RULES.all,"$ref"),n=e.self._getId(e.schema);if(e.opts.strictKeywords){var s=e.util.schemaUnknownRules(e.schema,e.RULES.keywords);if(s){var l="unknown keyword: "+s;if(e.opts.strictKeywords==="log")e.logger.warn(l);else throw new Error(l)}}if(e.isTop&&(t+=" var validate = ",a&&(e.async=!0,t+="async "),t+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ",n&&(e.opts.sourceCode||e.opts.processCode)&&(t+=" "+("/*# sourceURL="+n+" */")+" ")),typeof e.schema=="boolean"||!(o||e.schema.$ref)){var r="false schema",u=e.level,c=e.dataLevel,d=e.schema[r],p=e.schemaPath+e.util.getProperty(r),f=e.errSchemaPath+"/"+r,w=!e.opts.allErrors,P,m="data"+(c||""),F="valid"+u;if(e.schema===!1){e.isTop?w=!0:t+=" var "+F+" = false; ";var y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(P||"false schema")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(f)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'boolean schema is false' "),e.opts.verbose&&(t+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),t+=" } "):t+=" {} ";var b=t;t=y.pop(),!e.compositeRule&&w?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else e.isTop?a?t+=" return data; ":t+=" validate.errors = null; return true; ":t+=" var "+F+" = true; ";return e.isTop&&(t+=" }; return validate; "),t}if(e.isTop){var I=e.isTop,u=e.level=0,c=e.dataLevel=0,m="data";if(e.rootId=e.resolve.fullPath(e.self._getId(e.root.schema)),e.baseId=e.baseId||e.rootId,delete e.isTop,e.dataPathArr=[""],e.schema.default!==void 0&&e.opts.useDefaults&&e.opts.strictDefaults){var S="default is ignored in the schema root";if(e.opts.strictDefaults==="log")e.logger.warn(S);else throw new Error(S)}t+=" var vErrors = null; ",t+=" var errors = 0; ",t+=" if (rootData === undefined) rootData = data; "}else{var u=e.level,c=e.dataLevel,m="data"+(c||"");if(n&&(e.baseId=e.resolve.url(e.baseId,n)),a&&!e.async)throw new Error("async schema in sync schema");t+=" var errs_"+u+" = errors;"}var F="valid"+u,w=!e.opts.allErrors,T="",E="",P,O=e.schema.type,j=Array.isArray(O);if(O&&e.opts.nullable&&e.schema.nullable===!0&&(j?O.indexOf("null")==-1&&(O=O.concat("null")):O!="null"&&(O=[O,"null"],j=!0)),j&&O.length==1&&(O=O[0],j=!1),e.schema.$ref&&o){if(e.opts.extendRefs=="fail")throw new Error('$ref: validation keywords used in schema at path "'+e.errSchemaPath+'" (see option extendRefs)');e.opts.extendRefs!==!0&&(o=!1,e.logger.warn('$ref: keywords ignored in schema at path "'+e.errSchemaPath+'"'))}if(e.schema.$comment&&e.opts.$comment&&(t+=" "+e.RULES.all.$comment.code(e,"$comment")),O){if(e.opts.coerceTypes)var x=e.util.coerceToTypes(e.opts.coerceTypes,O);var C=e.RULES.types[O];if(x||j||C===!0||C&&!le(C)){var p=e.schemaPath+".type",f=e.errSchemaPath+"/type",p=e.schemaPath+".type",f=e.errSchemaPath+"/type",k=j?"checkDataTypes":"checkDataType";if(t+=" if ("+e.util[k](O,m,e.opts.strictNumbers,!0)+") { ",x){var B="dataType"+u,M="coerced"+u;t+=" var "+B+" = typeof "+m+"; var "+M+" = undefined; ",e.opts.coerceTypes=="array"&&(t+=" if ("+B+" == 'object' && Array.isArray("+m+") && "+m+".length == 1) { "+m+" = "+m+"[0]; "+B+" = typeof "+m+"; if ("+e.util.checkDataType(e.schema.type,m,e.opts.strictNumbers)+") "+M+" = "+m+"; } "),t+=" if ("+M+" !== undefined) ; ";var J=x;if(J)for(var Z,K=-1,Y=J.length-1;K<Y;)Z=J[K+=1],Z=="string"?t+=" else if ("+B+" == 'number' || "+B+" == 'boolean') "+M+" = '' + "+m+"; else if ("+m+" === null) "+M+" = ''; ":Z=="number"||Z=="integer"?(t+=" else if ("+B+" == 'boolean' || "+m+" === null || ("+B+" == 'string' && "+m+" && "+m+" == +"+m+" ",Z=="integer"&&(t+=" && !("+m+" % 1)"),t+=")) "+M+" = +"+m+"; "):Z=="boolean"?t+=" else if ("+m+" === 'false' || "+m+" === 0 || "+m+" === null) "+M+" = false; else if ("+m+" === 'true' || "+m+" === 1) "+M+" = true; ":Z=="null"?t+=" else if ("+m+" === '' || "+m+" === 0 || "+m+" === false) "+M+" = null; ":e.opts.coerceTypes=="array"&&Z=="array"&&(t+=" else if ("+B+" == 'string' || "+B+" == 'number' || "+B+" == 'boolean' || "+m+" == null) "+M+" = ["+m+"]; ");t+=" else { ";var y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(P||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(f)+" , params: { type: '",j?t+=""+O.join(","):t+=""+O,t+="' } ",e.opts.messages!==!1&&(t+=" , message: 'should be ",j?t+=""+O.join(","):t+=""+O,t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+p+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),t+=" } "):t+=" {} ";var b=t;t=y.pop(),!e.compositeRule&&w?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } if ("+M+" !== undefined) { ";var Q=c?"data"+(c-1||""):"parentData",fe=c?e.dataPathArr[c]:"parentDataProperty";t+=" "+m+" = "+M+"; ",c||(t+="if ("+Q+" !== undefined)"),t+=" "+Q+"["+fe+"] = "+M+"; } "}else{var y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(P||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(f)+" , params: { type: '",j?t+=""+O.join(","):t+=""+O,t+="' } ",e.opts.messages!==!1&&(t+=" , message: 'should be ",j?t+=""+O.join(","):t+=""+O,t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+p+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),t+=" } "):t+=" {} ";var b=t;t=y.pop(),!e.compositeRule&&w?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}t+=" } "}}if(e.schema.$ref&&!o)t+=" "+e.RULES.all.$ref.code(e,"$ref")+" ",w&&(t+=" } if (errors === ",I?t+="0":t+="errs_"+u,t+=") { ",E+="}");else{var $e=e.RULES;if($e){for(var C,Ee=-1,Ie=$e.length-1;Ee<Ie;)if(C=$e[Ee+=1],le(C)){if(C.type&&(t+=" if ("+e.util.checkDataType(C.type,m,e.opts.strictNumbers)+") { "),e.opts.useDefaults){if(C.type=="object"&&e.schema.properties){var d=e.schema.properties,ot=Object.keys(d),We=ot;if(We)for(var A,R=-1,N=We.length-1;R<N;){A=We[R+=1];var z=d[A];if(z.default!==void 0){var _=m+e.util.getProperty(A);if(e.compositeRule){if(e.opts.strictDefaults){var S="default is ignored for: "+_;if(e.opts.strictDefaults==="log")e.logger.warn(S);else throw new Error(S)}}else t+=" if ("+_+" === undefined ",e.opts.useDefaults=="empty"&&(t+=" || "+_+" === null || "+_+" === '' "),t+=" ) "+_+" = ",e.opts.useDefaults=="shared"?t+=" "+e.useDefault(z.default)+" ":t+=" "+JSON.stringify(z.default)+" ",t+="; "}}}else if(C.type=="array"&&Array.isArray(e.schema.items)){var W=e.schema.items;if(W){for(var z,K=-1,H=W.length-1;K<H;)if(z=W[K+=1],z.default!==void 0){var _=m+"["+K+"]";if(e.compositeRule){if(e.opts.strictDefaults){var S="default is ignored for: "+_;if(e.opts.strictDefaults==="log")e.logger.warn(S);else throw new Error(S)}}else t+=" if ("+_+" === undefined ",e.opts.useDefaults=="empty"&&(t+=" || "+_+" === null || "+_+" === '' "),t+=" ) "+_+" = ",e.opts.useDefaults=="shared"?t+=" "+e.useDefault(z.default)+" ":t+=" "+JSON.stringify(z.default)+" ",t+="; "}}}}var X=C.rules;if(X){for(var ge,be=-1,ne=X.length-1;be<ne;)if(ge=X[be+=1],ze(ge)){var ae=ge.code(e,ge.keyword,C.type);ae&&(t+=" "+ae+" ",w&&(T+="}"))}}if(w&&(t+=" "+T+" ",T=""),C.type&&(t+=" } ",O&&O===C.type&&!x)){t+=" else { ";var p=e.schemaPath+".type",f=e.errSchemaPath+"/type",y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(P||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(f)+" , params: { type: '",j?t+=""+O.join(","):t+=""+O,t+="' } ",e.opts.messages!==!1&&(t+=" , message: 'should be ",j?t+=""+O.join(","):t+=""+O,t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+p+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),t+=" } "):t+=" {} ";var b=t;t=y.pop(),!e.compositeRule&&w?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } "}w&&(t+=" if (errors === ",I?t+="0":t+="errs_"+u,t+=") { ",E+="}")}}}w&&(t+=" "+E+" "),I?(a?(t+=" if (errors === 0) return data; ",t+=" else throw new ValidationError(vErrors); "):(t+=" validate.errors = vErrors; ",t+=" return errors === 0; "),t+=" }; return validate;"):t+=" var "+F+" = errors === errs_"+u+";";function le(ve){for(var Le=ve.rules,Se=0;Se<Le.length;Se++)if(ze(Le[Se]))return!0}function ze(ve){return e.schema[ve.keyword]!==void 0||ve.implements&&mt(ve)}function mt(ve){for(var Le=ve.implements,Se=0;Se<Le.length;Se++)if(e.schema[Le[Se]]!==void 0)return!0}return t}),Yl}var Oa,ep;function Vw(){if(ep)return Oa;ep=1;var e=to(),r=Er(),i=ro(),t=Nd(),a=Wd(),o=r.ucs2length,n=eo(),s=i.Validation;Oa=l;function l(I,S,F,w){var T=this,E=this._opts,P=[void 0],O={},j=[],x={},C=[],k={},B=[];S=S||{schema:I,refVal:P,refs:O};var M=u.call(this,I,S,w),J=this._compilations[M.index];if(M.compiling)return J.callValidate=fe;var Z=this._formats,K=this.RULES;try{var Y=$e(I,S,F,w);J.validate=Y;var Q=J.callValidate;return Q&&(Q.schema=Y.schema,Q.errors=null,Q.refs=Y.refs,Q.refVal=Y.refVal,Q.root=Y.root,Q.$async=Y.$async,E.sourceCode&&(Q.source=Y.source)),Y}finally{c.call(this,I,S,w)}function fe(){var _=J.validate,W=_.apply(this,arguments);return fe.errors=_.errors,W}function $e(_,W,H,X){var ge=!W||W&&W.schema==_;if(W.schema!=S.schema)return l.call(T,_,W,H,X);var be=_.$async===!0,ne=a({isTop:!0,schema:_,isRoot:ge,baseId:X,root:W,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:i.MissingRef,RULES:K,validate:a,util:r,resolve:e,resolveRef:Ee,usePattern:R,useDefault:N,useCustomRule:z,opts:E,formats:Z,logger:T.logger,self:T});ne=b(P,m)+b(j,p)+b(C,f)+b(B,y)+ne,E.processCode&&(ne=E.processCode(ne,_));var ae;try{var le=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",ne);ae=le(T,K,Z,S,P,C,B,n,o,s),P[0]=ae}catch(ze){throw T.logger.error("Error compiling schema, function code:",ne),ze}return ae.schema=_,ae.errors=null,ae.refs=O,ae.refVal=P,ae.root=ge?ae:W,be&&(ae.$async=!0),E.sourceCode===!0&&(ae.source={code:ne,patterns:j,defaults:C}),ae}function Ee(_,W,H){W=e.url(_,W);var X=O[W],ge,be;if(X!==void 0)return ge=P[X],be="refVal["+X+"]",A(ge,be);if(!H&&S.refs){var ne=S.refs[W];if(ne!==void 0)return ge=S.refVal[ne],be=Ie(W,ge),A(ge,be)}be=Ie(W);var ae=e.call(T,$e,S,W);if(ae===void 0){var le=F&&F[W];le&&(ae=e.inlineRef(le,E.inlineRefs)?le:l.call(T,le,S,F,_))}if(ae===void 0)ot(W);else return We(W,ae),A(ae,be)}function Ie(_,W){var H=P.length;return P[H]=W,O[_]=H,"refVal"+H}function ot(_){delete O[_]}function We(_,W){var H=O[_];P[H]=W}function A(_,W){return typeof _=="object"||typeof _=="boolean"?{code:W,schema:_,inline:!0}:{code:W,$async:_&&!!_.$async}}function R(_){var W=x[_];return W===void 0&&(W=x[_]=j.length,j[W]=_),"pattern"+W}function N(_){switch(typeof _){case"boolean":case"number":return""+_;case"string":return r.toQuotedString(_);case"object":if(_===null)return"null";var W=t(_),H=k[W];return H===void 0&&(H=k[W]=C.length,C[H]=_),"default"+H}}function z(_,W,H,X){if(T._opts.validateSchema!==!1){var ge=_.definition.dependencies;if(ge&&!ge.every(function(Se){return Object.prototype.hasOwnProperty.call(H,Se)}))throw new Error("parent schema must have all required keywords: "+ge.join(","));var be=_.definition.validateSchema;if(be){var ne=be(W);if(!ne){var ae="keyword schema is invalid: "+T.errorsText(be.errors);if(T._opts.validateSchema=="log")T.logger.error(ae);else throw new Error(ae)}}}var le=_.definition.compile,ze=_.definition.inline,mt=_.definition.macro,ve;if(le)ve=le.call(T,W,H,X);else if(mt)ve=mt.call(T,W,H,X),E.validateSchema!==!1&&T.validateSchema(ve,!0);else if(ze)ve=ze.call(T,X,_.keyword,W,H);else if(ve=_.definition.validate,!ve)return;if(ve===void 0)throw new Error('custom keyword "'+_.keyword+'"failed to compile');var Le=B.length;return B[Le]=ve,{code:"customRule"+Le,validate:ve}}}function u(I,S,F){var w=d.call(this,I,S,F);return w>=0?{index:w,compiling:!0}:(w=this._compilations.length,this._compilations[w]={schema:I,root:S,baseId:F},{index:w,compiling:!1})}function c(I,S,F){var w=d.call(this,I,S,F);w>=0&&this._compilations.splice(w,1)}function d(I,S,F){for(var w=0;w<this._compilations.length;w++){var T=this._compilations[w];if(T.schema==I&&T.root==S&&T.baseId==F)return w}return-1}function p(I,S){return"var pattern"+I+" = new RegExp("+r.toQuotedString(S[I])+");"}function f(I){return"var default"+I+" = defaults["+I+"];"}function m(I,S){return S[I]===void 0?"":"var refVal"+I+" = refVal["+I+"];"}function y(I){return"var customRule"+I+" = customRules["+I+"];"}function b(I,S){if(!I.length)return"";for(var F="",w=0;w<I.length;w++)F+=S(w,I);return F}return Oa}var Ea={exports:{}},tp;function Uw(){if(tp)return Ea.exports;tp=1;var e=Ea.exports=function(){this._cache={}};return e.prototype.put=function(r,i){this._cache[r]=i},e.prototype.get=function(r){return this._cache[r]},e.prototype.del=function(r){delete this._cache[r]},e.prototype.clear=function(){this._cache={}},Ea.exports}var La,rp;function Gw(){if(rp)return La;rp=1;var e=Er(),r=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,i=[0,31,28,31,30,31,30,31,31,30,31,30,31],t=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i,a=/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,o=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,n=/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,s=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,l=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i,u=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,c=/^(?:\/(?:[^~/]|~0|~1)*)*$/,d=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,p=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;La=f;function f(P){return P=P=="full"?"full":"fast",e.copy(f[P])}f.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":s,url:l,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:a,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:E,uuid:u,"json-pointer":c,"json-pointer-uri-fragment":d,"relative-json-pointer":p},f.full={date:y,time:b,"date-time":S,uri:w,"uri-reference":n,"uri-template":s,url:l,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:a,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:E,uuid:u,"json-pointer":c,"json-pointer-uri-fragment":d,"relative-json-pointer":p};function m(P){return P%4===0&&(P%100!==0||P%400===0)}function y(P){var O=P.match(r);if(!O)return!1;var j=+O[1],x=+O[2],C=+O[3];return x>=1&&x<=12&&C>=1&&C<=(x==2&&m(j)?29:i[x])}function b(P,O){var j=P.match(t);if(!j)return!1;var x=j[1],C=j[2],k=j[3],B=j[5];return(x<=23&&C<=59&&k<=59||x==23&&C==59&&k==60)&&(!O||B)}var I=/t|\s/i;function S(P){var O=P.split(I);return O.length==2&&y(O[0])&&b(O[1],!0)}var F=/\/|:/;function w(P){return F.test(P)&&o.test(P)}var T=/[^\\]\\Z/;function E(P){if(T.test(P))return!1;try{return new RegExp(P),!0}catch{return!1}}return La}var ip,ap;function Hw(){return ap||(ap=1,ip=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.errSchemaPath+"/"+r,l=!e.opts.allErrors,u="data"+(o||""),c="valid"+a,d,p;if(n=="#"||n=="#/")e.isRoot?(d=e.async,p="validate"):(d=e.root.schema.$async===!0,p="root.refVal[0]");else{var f=e.resolveRef(e.baseId,n,e.isRoot);if(f===void 0){var m=e.MissingRefError.message(e.baseId,n);if(e.opts.missingRefs=="fail"){e.logger.error(m);var y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '$ref' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(s)+" , params: { ref: '"+e.util.escapeQuotes(n)+"' } ",e.opts.messages!==!1&&(t+=" , message: 'can\\'t resolve reference "+e.util.escapeQuotes(n)+"' "),e.opts.verbose&&(t+=" , schema: "+e.util.toQuotedString(n)+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),t+=" } "):t+=" {} ";var b=t;t=y.pop(),!e.compositeRule&&l?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",l&&(t+=" if (false) { ")}else if(e.opts.missingRefs=="ignore")e.logger.warn(m),l&&(t+=" if (true) { ");else throw new e.MissingRefError(e.baseId,n,m)}else if(f.inline){var I=e.util.copy(e);I.level++;var S="valid"+I.level;I.schema=f.schema,I.schemaPath="",I.errSchemaPath=n;var F=e.validate(I).replace(/validate\.schema/g,f.code);t+=" "+F+" ",l&&(t+=" if ("+S+") { ")}else d=f.$async===!0||e.async&&f.$async!==!1,p=f.code}if(p){var y=y||[];y.push(t),t="",e.opts.passContext?t+=" "+p+".call(this, ":t+=" "+p+"( ",t+=" "+u+", (dataPath || '')",e.errorPath!='""'&&(t+=" + "+e.errorPath);var w=o?"data"+(o-1||""):"parentData",T=o?e.dataPathArr[o]:"parentDataProperty";t+=" , "+w+" , "+T+", rootData) ";var E=t;if(t=y.pop(),d){if(!e.async)throw new Error("async schema referenced by sync schema");l&&(t+=" var "+c+"; "),t+=" try { await "+E+"; ",l&&(t+=" "+c+" = true; "),t+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ",l&&(t+=" "+c+" = false; "),t+=" } ",l&&(t+=" if ("+c+") { ")}else t+=" if (!"+E+") { if (vErrors === null) vErrors = "+p+".errors; else vErrors = vErrors.concat("+p+".errors); errors = vErrors.length; } ",l&&(t+=" else { ")}return t}),ip}var op,np;function Qw(){return np||(np=1,op=function(e,r,i){var t=" ",a=e.schema[r],o=e.schemaPath+e.util.getProperty(r),n=e.errSchemaPath+"/"+r,s=!e.opts.allErrors,l=e.util.copy(e),u="";l.level++;var c="valid"+l.level,d=l.baseId,p=!0,f=a;if(f)for(var m,y=-1,b=f.length-1;y<b;)m=f[y+=1],(e.opts.strictKeywords?typeof m=="object"&&Object.keys(m).length>0||m===!1:e.util.schemaHasRules(m,e.RULES.all))&&(p=!1,l.schema=m,l.schemaPath=o+"["+y+"]",l.errSchemaPath=n+"/"+y,t+=" "+e.validate(l)+" ",l.baseId=d,s&&(t+=" if ("+c+") { ",u+="}"));return s&&(p?t+=" if (true) { ":t+=" "+u.slice(0,-1)+" "),t}),op}var sp,lp;function Kw(){return lp||(lp=1,sp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,c="data"+(o||""),d="valid"+a,p="errs__"+a,f=e.util.copy(e),m="";f.level++;var y="valid"+f.level,b=n.every(function(P){return e.opts.strictKeywords?typeof P=="object"&&Object.keys(P).length>0||P===!1:e.util.schemaHasRules(P,e.RULES.all)});if(b){var I=f.baseId;t+=" var "+p+" = errors; var "+d+" = false; ";var S=e.compositeRule;e.compositeRule=f.compositeRule=!0;var F=n;if(F)for(var w,T=-1,E=F.length-1;T<E;)w=F[T+=1],f.schema=w,f.schemaPath=s+"["+T+"]",f.errSchemaPath=l+"/"+T,t+=" "+e.validate(f)+" ",f.baseId=I,t+=" "+d+" = "+d+" || "+y+"; if (!"+d+") { ",m+="}";e.compositeRule=f.compositeRule=S,t+=" "+m+" if (!"+d+") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'anyOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should match some schema in anyOf' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&u&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; "),t+=" } else { errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } ",e.opts.allErrors&&(t+=" } ")}else u&&(t+=" if (true) { ");return t}),sp}var pp,dp;function Jw(){return dp||(dp=1,pp=function(e,r,i){var t=" ",a=e.schema[r],o=e.errSchemaPath+"/"+r;e.opts.allErrors;var n=e.util.toQuotedString(a);return e.opts.$comment===!0?t+=" console.log("+n+");":typeof e.opts.$comment=="function"&&(t+=" self._opts.$comment("+n+", "+e.util.toQuotedString(o)+", validate.root.schema);"),t}),pp}var cp,up;function Zw(){return up||(up=1,cp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,c="data"+(o||""),d="valid"+a,p=e.opts.$data&&n&&n.$data;p&&(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; "),p||(t+=" var schema"+a+" = validate.schema"+s+";"),t+="var "+d+" = equal("+c+", schema"+a+"); if (!"+d+") { ";var f=f||[];f.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'const' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { allowedValue: schema"+a+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be equal to constant' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var m=t;return t=f.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+m+"]); ":t+=" validate.errors = ["+m+"]; return false; ":t+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" }",u&&(t+=" else { "),t}),cp}var fp,hp;function Yw(){return hp||(hp=1,fp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,c="data"+(o||""),d="valid"+a,p="errs__"+a,f=e.util.copy(e),m="";f.level++;var y="valid"+f.level,b="i"+a,I=f.dataLevel=e.dataLevel+1,S="data"+I,F=e.baseId,w=e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all);if(t+="var "+p+" = errors;var "+d+";",w){var T=e.compositeRule;e.compositeRule=f.compositeRule=!0,f.schema=n,f.schemaPath=s,f.errSchemaPath=l,t+=" var "+y+" = false; for (var "+b+" = 0; "+b+" < "+c+".length; "+b+"++) { ",f.errorPath=e.util.getPathExpr(e.errorPath,b,e.opts.jsonPointers,!0);var E=c+"["+b+"]";f.dataPathArr[I]=b;var P=e.validate(f);f.baseId=F,e.util.varOccurences(P,S)<2?t+=" "+e.util.varReplace(P,S,E)+" ":t+=" var "+S+" = "+E+"; "+P+" ",t+=" if ("+y+") break; } ",e.compositeRule=f.compositeRule=T,t+=" "+m+" if (!"+y+") {"}else t+=" if ("+c+".length == 0) {";var O=O||[];O.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'contains' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should contain a valid item' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var j=t;return t=O.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+j+"]); ":t+=" validate.errors = ["+j+"]; return false; ":t+=" var err = "+j+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else { ",w&&(t+=" errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } "),e.opts.allErrors&&(t+=" } "),t}),fp}var mp,yp;function Xw(){return yp||(yp=1,mp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,c="data"+(o||""),d="errs__"+a,p=e.util.copy(e),f="";p.level++;var m="valid"+p.level,y={},b={},I=e.opts.ownProperties;for(T in n)if(T!="__proto__"){var S=n[T],F=Array.isArray(S)?b:y;F[T]=S}t+="var "+d+" = errors;";var w=e.errorPath;t+="var missing"+a+";";for(var T in b)if(F=b[T],F.length){if(t+=" if ( "+c+e.util.getProperty(T)+" !== undefined ",I&&(t+=" && Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(T)+"') "),u){t+=" && ( ";var E=F;if(E)for(var P,O=-1,j=E.length-1;O<j;){P=E[O+=1],O&&(t+=" || ");var x=e.util.getProperty(P),C=c+x;t+=" ( ( "+C+" === undefined ",I&&(t+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(P)+"') "),t+=") && (missing"+a+" = "+e.util.toQuotedString(e.opts.jsonPointers?P:x)+") ) "}t+=")) { ";var k="missing"+a,B="' + "+k+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(w,k,!0):w+" + "+k);var M=M||[];M.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { property: '"+e.util.escapeQuotes(T)+"', missingProperty: '"+B+"', depsCount: "+F.length+", deps: '"+e.util.escapeQuotes(F.length==1?F[0]:F.join(", "))+"' } ",e.opts.messages!==!1&&(t+=" , message: 'should have ",F.length==1?t+="property "+e.util.escapeQuotes(F[0]):t+="properties "+e.util.escapeQuotes(F.join(", ")),t+=" when property "+e.util.escapeQuotes(T)+" is present' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var J=t;t=M.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+J+"]); ":t+=" validate.errors = ["+J+"]; return false; ":t+=" var err = "+J+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else{t+=" ) { ";var Z=F;if(Z)for(var P,K=-1,Y=Z.length-1;K<Y;){P=Z[K+=1];var x=e.util.getProperty(P),B=e.util.escapeQuotes(P),C=c+x;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(w,P,e.opts.jsonPointers)),t+=" if ( "+C+" === undefined ",I&&(t+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(P)+"') "),t+=") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { property: '"+e.util.escapeQuotes(T)+"', missingProperty: '"+B+"', depsCount: "+F.length+", deps: '"+e.util.escapeQuotes(F.length==1?F[0]:F.join(", "))+"' } ",e.opts.messages!==!1&&(t+=" , message: 'should have ",F.length==1?t+="property "+e.util.escapeQuotes(F[0]):t+="properties "+e.util.escapeQuotes(F.join(", ")),t+=" when property "+e.util.escapeQuotes(T)+" is present' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}t+=" } ",u&&(f+="}",t+=" else { ")}e.errorPath=w;var Q=p.baseId;for(var T in y){var S=y[T];(e.opts.strictKeywords?typeof S=="object"&&Object.keys(S).length>0||S===!1:e.util.schemaHasRules(S,e.RULES.all))&&(t+=" "+m+" = true; if ( "+c+e.util.getProperty(T)+" !== undefined ",I&&(t+=" && Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(T)+"') "),t+=") { ",p.schema=S,p.schemaPath=s+e.util.getProperty(T),p.errSchemaPath=l+"/"+e.util.escapeFragment(T),t+=" "+e.validate(p)+" ",p.baseId=Q,t+=" } ",u&&(t+=" if ("+m+") { ",f+="}"))}return u&&(t+=" "+f+" if ("+d+" == errors) {"),t}),mp}var gp,bp;function ex(){return bp||(bp=1,gp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,c="data"+(o||""),d="valid"+a,p=e.opts.$data&&n&&n.$data;p&&(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ");var f="i"+a,m="schema"+a;p||(t+=" var "+m+" = validate.schema"+s+";"),t+="var "+d+";",p&&(t+=" if (schema"+a+" === undefined) "+d+" = true; else if (!Array.isArray(schema"+a+")) "+d+" = false; else {"),t+=""+d+" = false;for (var "+f+"=0; "+f+"<"+m+".length; "+f+"++) if (equal("+c+", "+m+"["+f+"])) { "+d+" = true; break; }",p&&(t+=" } "),t+=" if (!"+d+") { ";var y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'enum' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { allowedValues: schema"+a+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be equal to one of the allowed values' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var b=t;return t=y.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" }",u&&(t+=" else { "),t}),gp}var vp,Sp;function tx(){return Sp||(Sp=1,vp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,c="data"+(o||"");if(e.opts.format===!1)return u&&(t+=" if (true) { "),t;var d=e.opts.$data&&n&&n.$data,p;d?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n;var f=e.opts.unknownFormats,m=Array.isArray(f);if(d){var y="format"+a,b="isObject"+a,I="formatType"+a;t+=" var "+y+" = formats["+p+"]; var "+b+" = typeof "+y+" == 'object' && !("+y+" instanceof RegExp) && "+y+".validate; var "+I+" = "+b+" && "+y+".type || 'string'; if ("+b+") { ",e.async&&(t+=" var async"+a+" = "+y+".async; "),t+=" "+y+" = "+y+".validate; } if ( ",d&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'string') || "),t+=" (",f!="ignore"&&(t+=" ("+p+" && !"+y+" ",m&&(t+=" && self._opts.unknownFormats.indexOf("+p+") == -1 "),t+=") || "),t+=" ("+y+" && "+I+" == '"+i+"' && !(typeof "+y+" == 'function' ? ",e.async?t+=" (async"+a+" ? await "+y+"("+c+") : "+y+"("+c+")) ":t+=" "+y+"("+c+") ",t+=" : "+y+".test("+c+"))))) {"}else{var y=e.formats[n];if(!y){if(f=="ignore")return e.logger.warn('unknown format "'+n+'" ignored in schema at path "'+e.errSchemaPath+'"'),u&&(t+=" if (true) { "),t;if(m&&f.indexOf(n)>=0)return u&&(t+=" if (true) { "),t;throw new Error('unknown format "'+n+'" is used in schema at path "'+e.errSchemaPath+'"')}var b=typeof y=="object"&&!(y instanceof RegExp)&&y.validate,I=b&&y.type||"string";if(b){var S=y.async===!0;y=y.validate}if(I!=i)return u&&(t+=" if (true) { "),t;if(S){if(!e.async)throw new Error("async format in sync schema");var F="formats"+e.util.getProperty(n)+".validate";t+=" if (!(await "+F+"("+c+"))) { "}else{t+=" if (! ";var F="formats"+e.util.getProperty(n);b&&(F+=".validate"),typeof y=="function"?t+=" "+F+"("+c+") ":t+=" "+F+".test("+c+") ",t+=") { "}}var w=w||[];w.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'format' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { format: ",d?t+=""+p:t+=""+e.util.toQuotedString(n),t+=" } ",e.opts.messages!==!1&&(t+=` , message: 'should match format "`,d?t+="' + "+p+" + '":t+=""+e.util.escapeQuotes(n),t+=`"' `),e.opts.verbose&&(t+=" , schema: ",d?t+="validate.schema"+s:t+=""+e.util.toQuotedString(n),t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var T=t;return t=w.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+T+"]); ":t+=" validate.errors = ["+T+"]; return false; ":t+=" var err = "+T+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",u&&(t+=" else { "),t}),vp}var wp,xp;function rx(){return xp||(xp=1,wp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,c="data"+(o||""),d="valid"+a,p="errs__"+a,f=e.util.copy(e);f.level++;var m="valid"+f.level,y=e.schema.then,b=e.schema.else,I=y!==void 0&&(e.opts.strictKeywords?typeof y=="object"&&Object.keys(y).length>0||y===!1:e.util.schemaHasRules(y,e.RULES.all)),S=b!==void 0&&(e.opts.strictKeywords?typeof b=="object"&&Object.keys(b).length>0||b===!1:e.util.schemaHasRules(b,e.RULES.all)),F=f.baseId;if(I||S){var w;f.createErrors=!1,f.schema=n,f.schemaPath=s,f.errSchemaPath=l,t+=" var "+p+" = errors; var "+d+" = true; ";var T=e.compositeRule;e.compositeRule=f.compositeRule=!0,t+=" "+e.validate(f)+" ",f.baseId=F,f.createErrors=!0,t+=" errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } ",e.compositeRule=f.compositeRule=T,I?(t+=" if ("+m+") { ",f.schema=e.schema.then,f.schemaPath=e.schemaPath+".then",f.errSchemaPath=e.errSchemaPath+"/then",t+=" "+e.validate(f)+" ",f.baseId=F,t+=" "+d+" = "+m+"; ",I&&S?(w="ifClause"+a,t+=" var "+w+" = 'then'; "):w="'then'",t+=" } ",S&&(t+=" else { ")):t+=" if (!"+m+") { ",S&&(f.schema=e.schema.else,f.schemaPath=e.schemaPath+".else",f.errSchemaPath=e.errSchemaPath+"/else",t+=" "+e.validate(f)+" ",f.baseId=F,t+=" "+d+" = "+m+"; ",I&&S?(w="ifClause"+a,t+=" var "+w+" = 'else'; "):w="'else'",t+=" } "),t+=" if (!"+d+") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'if' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { failingKeyword: "+w+" } ",e.opts.messages!==!1&&(t+=` , message: 'should match "' + `+w+` + '" schema' `),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&u&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; "),t+=" } ",u&&(t+=" else { ")}else u&&(t+=" if (true) { ");return t}),wp}var Ip,Cp;function ix(){return Cp||(Cp=1,Ip=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,c="data"+(o||""),d="valid"+a,p="errs__"+a,f=e.util.copy(e),m="";f.level++;var y="valid"+f.level,b="i"+a,I=f.dataLevel=e.dataLevel+1,S="data"+I,F=e.baseId;if(t+="var "+p+" = errors;var "+d+";",Array.isArray(n)){var w=e.schema.additionalItems;if(w===!1){t+=" "+d+" = "+c+".length <= "+n.length+"; ";var T=l;l=e.errSchemaPath+"/additionalItems",t+=" if (!"+d+") { ";var E=E||[];E.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+n.length+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have more than "+n.length+" items' "),e.opts.verbose&&(t+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var P=t;t=E.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+P+"]); ":t+=" validate.errors = ["+P+"]; return false; ":t+=" var err = "+P+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",l=T,u&&(m+="}",t+=" else { ")}var O=n;if(O){for(var j,x=-1,C=O.length-1;x<C;)if(j=O[x+=1],e.opts.strictKeywords?typeof j=="object"&&Object.keys(j).length>0||j===!1:e.util.schemaHasRules(j,e.RULES.all)){t+=" "+y+" = true; if ("+c+".length > "+x+") { ";var k=c+"["+x+"]";f.schema=j,f.schemaPath=s+"["+x+"]",f.errSchemaPath=l+"/"+x,f.errorPath=e.util.getPathExpr(e.errorPath,x,e.opts.jsonPointers,!0),f.dataPathArr[I]=x;var B=e.validate(f);f.baseId=F,e.util.varOccurences(B,S)<2?t+=" "+e.util.varReplace(B,S,k)+" ":t+=" var "+S+" = "+k+"; "+B+" ",t+=" } ",u&&(t+=" if ("+y+") { ",m+="}")}}if(typeof w=="object"&&(e.opts.strictKeywords?typeof w=="object"&&Object.keys(w).length>0||w===!1:e.util.schemaHasRules(w,e.RULES.all))){f.schema=w,f.schemaPath=e.schemaPath+".additionalItems",f.errSchemaPath=e.errSchemaPath+"/additionalItems",t+=" "+y+" = true; if ("+c+".length > "+n.length+") { for (var "+b+" = "+n.length+"; "+b+" < "+c+".length; "+b+"++) { ",f.errorPath=e.util.getPathExpr(e.errorPath,b,e.opts.jsonPointers,!0);var k=c+"["+b+"]";f.dataPathArr[I]=b;var B=e.validate(f);f.baseId=F,e.util.varOccurences(B,S)<2?t+=" "+e.util.varReplace(B,S,k)+" ":t+=" var "+S+" = "+k+"; "+B+" ",u&&(t+=" if (!"+y+") break; "),t+=" } } ",u&&(t+=" if ("+y+") { ",m+="}")}}else if(e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all)){f.schema=n,f.schemaPath=s,f.errSchemaPath=l,t+=" for (var "+b+" = 0; "+b+" < "+c+".length; "+b+"++) { ",f.errorPath=e.util.getPathExpr(e.errorPath,b,e.opts.jsonPointers,!0);var k=c+"["+b+"]";f.dataPathArr[I]=b;var B=e.validate(f);f.baseId=F,e.util.varOccurences(B,S)<2?t+=" "+e.util.varReplace(B,S,k)+" ":t+=" var "+S+" = "+k+"; "+B+" ",u&&(t+=" if (!"+y+") break; "),t+=" }"}return u&&(t+=" "+m+" if ("+p+" == errors) {"),t}),Ip}var Tp,Ap;function Pp(){return Ap||(Ap=1,Tp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,F,c="data"+(o||""),d=e.opts.$data&&n&&n.$data,p;d?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n;var f=r=="maximum",m=f?"exclusiveMaximum":"exclusiveMinimum",y=e.schema[m],b=e.opts.$data&&y&&y.$data,I=f?"<":">",S=f?">":"<",F=void 0;if(!(d||typeof n=="number"||n===void 0))throw new Error(r+" must be number");if(!(b||y===void 0||typeof y=="number"||typeof y=="boolean"))throw new Error(m+" must be number or boolean");if(b){var w=e.util.getData(y.$data,o,e.dataPathArr),T="exclusive"+a,E="exclType"+a,P="exclIsNumber"+a,O="op"+a,j="' + "+O+" + '";t+=" var schemaExcl"+a+" = "+w+"; ",w="schemaExcl"+a,t+=" var "+T+"; var "+E+" = typeof "+w+"; if ("+E+" != 'boolean' && "+E+" != 'undefined' && "+E+" != 'number') { ";var F=m,x=x||[];x.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(F||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: '"+m+" should be boolean' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var C=t;t=x.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+C+"]); ":t+=" validate.errors = ["+C+"]; return false; ":t+=" var err = "+C+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else if ( ",d&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),t+=" "+E+" == 'number' ? ( ("+T+" = "+p+" === undefined || "+w+" "+I+"= "+p+") ? "+c+" "+S+"= "+w+" : "+c+" "+S+" "+p+" ) : ( ("+T+" = "+w+" === true) ? "+c+" "+S+"= "+p+" : "+c+" "+S+" "+p+" ) || "+c+" !== "+c+") { var op"+a+" = "+T+" ? '"+I+"' : '"+I+"='; ",n===void 0&&(F=m,l=e.errSchemaPath+"/"+m,p=w,d=b)}else{var P=typeof y=="number",j=I;if(P&&d){var O="'"+j+"'";t+=" if ( ",d&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),t+=" ( "+p+" === undefined || "+y+" "+I+"= "+p+" ? "+c+" "+S+"= "+y+" : "+c+" "+S+" "+p+" ) || "+c+" !== "+c+") { "}else{P&&n===void 0?(T=!0,F=m,l=e.errSchemaPath+"/"+m,p=y,S+="="):(P&&(p=Math[f?"min":"max"](y,n)),y===(P?p:!0)?(T=!0,F=m,l=e.errSchemaPath+"/"+m,S+="="):(T=!1,j+="="));var O="'"+j+"'";t+=" if ( ",d&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),t+=" "+c+" "+S+" "+p+" || "+c+" !== "+c+") { "}}F=F||r;var x=x||[];x.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(F||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { comparison: "+O+", limit: "+p+", exclusive: "+T+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be "+j+" ",d?t+="' + "+p:t+=""+p+"'"),e.opts.verbose&&(t+=" , schema: ",d?t+="validate.schema"+s:t+=""+n,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var C=t;return t=x.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+C+"]); ":t+=" validate.errors = ["+C+"]; return false; ":t+=" var err = "+C+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",u&&(t+=" else { "),t}),Tp}var Fp,Op;function Ep(){return Op||(Op=1,Fp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,m,c="data"+(o||""),d=e.opts.$data&&n&&n.$data,p;if(d?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n,!(d||typeof n=="number"))throw new Error(r+" must be number");var f=r=="maxItems"?">":"<";t+="if ( ",d&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),t+=" "+c+".length "+f+" "+p+") { ";var m=r,y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(m||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+p+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have ",r=="maxItems"?t+="more":t+="fewer",t+=" than ",d?t+="' + "+p+" + '":t+=""+n,t+=" items' "),e.opts.verbose&&(t+=" , schema: ",d?t+="validate.schema"+s:t+=""+n,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var b=t;return t=y.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",u&&(t+=" else { "),t}),Fp}var Lp,Dp;function $p(){return Dp||(Dp=1,Lp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,m,c="data"+(o||""),d=e.opts.$data&&n&&n.$data,p;if(d?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n,!(d||typeof n=="number"))throw new Error(r+" must be number");var f=r=="maxLength"?">":"<";t+="if ( ",d&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),e.opts.unicode===!1?t+=" "+c+".length ":t+=" ucs2length("+c+") ",t+=" "+f+" "+p+") { ";var m=r,y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(m||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+p+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT be ",r=="maxLength"?t+="longer":t+="shorter",t+=" than ",d?t+="' + "+p+" + '":t+=""+n,t+=" characters' "),e.opts.verbose&&(t+=" , schema: ",d?t+="validate.schema"+s:t+=""+n,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var b=t;return t=y.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",u&&(t+=" else { "),t}),Lp}var jp,Rp;function _p(){return Rp||(Rp=1,jp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,m,c="data"+(o||""),d=e.opts.$data&&n&&n.$data,p;if(d?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n,!(d||typeof n=="number"))throw new Error(r+" must be number");var f=r=="maxProperties"?">":"<";t+="if ( ",d&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),t+=" Object.keys("+c+").length "+f+" "+p+") { ";var m=r,y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(m||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+p+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have ",r=="maxProperties"?t+="more":t+="fewer",t+=" than ",d?t+="' + "+p+" + '":t+=""+n,t+=" properties' "),e.opts.verbose&&(t+=" , schema: ",d?t+="validate.schema"+s:t+=""+n,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var b=t;return t=y.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",u&&(t+=" else { "),t}),jp}var kp,Bp;function ax(){return Bp||(Bp=1,kp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,c="data"+(o||""),d=e.opts.$data&&n&&n.$data,p;if(d?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n,!(d||typeof n=="number"))throw new Error(r+" must be number");t+="var division"+a+";if (",d&&(t+=" "+p+" !== undefined && ( typeof "+p+" != 'number' || "),t+=" (division"+a+" = "+c+" / "+p+", ",e.opts.multipleOfPrecision?t+=" Math.abs(Math.round(division"+a+") - division"+a+") > 1e-"+e.opts.multipleOfPrecision+" ":t+=" division"+a+" !== parseInt(division"+a+") ",t+=" ) ",d&&(t+=" ) "),t+=" ) { ";var f=f||[];f.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { multipleOf: "+p+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be multiple of ",d?t+="' + "+p:t+=""+p+"'"),e.opts.verbose&&(t+=" , schema: ",d?t+="validate.schema"+s:t+=""+n,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var m=t;return t=f.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+m+"]); ":t+=" validate.errors = ["+m+"]; return false; ":t+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",u&&(t+=" else { "),t}),kp}var qp,Mp;function ox(){return Mp||(Mp=1,qp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,c="data"+(o||""),d="errs__"+a,p=e.util.copy(e);p.level++;var f="valid"+p.level;if(e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all)){p.schema=n,p.schemaPath=s,p.errSchemaPath=l,t+=" var "+d+" = errors; ";var m=e.compositeRule;e.compositeRule=p.compositeRule=!0,p.createErrors=!1;var y;p.opts.allErrors&&(y=p.opts.allErrors,p.opts.allErrors=!1),t+=" "+e.validate(p)+" ",p.createErrors=!0,y&&(p.opts.allErrors=y),e.compositeRule=p.compositeRule=m,t+=" if ("+f+") { ";var b=b||[];b.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should NOT be valid' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var I=t;t=b.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+I+"]); ":t+=" validate.errors = ["+I+"]; return false; ":t+=" var err = "+I+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else { errors = "+d+"; if (vErrors !== null) { if ("+d+") vErrors.length = "+d+"; else vErrors = null; } ",e.opts.allErrors&&(t+=" } ")}else t+=" var err = ",e.createErrors!==!1?(t+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should NOT be valid' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u&&(t+=" if (false) { ");return t}),qp}var Np,Wp;function nx(){return Wp||(Wp=1,Np=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,c="data"+(o||""),d="valid"+a,p="errs__"+a,f=e.util.copy(e),m="";f.level++;var y="valid"+f.level,b=f.baseId,I="prevValid"+a,S="passingSchemas"+a;t+="var "+p+" = errors , "+I+" = false , "+d+" = false , "+S+" = null; ";var F=e.compositeRule;e.compositeRule=f.compositeRule=!0;var w=n;if(w)for(var T,E=-1,P=w.length-1;E<P;)T=w[E+=1],(e.opts.strictKeywords?typeof T=="object"&&Object.keys(T).length>0||T===!1:e.util.schemaHasRules(T,e.RULES.all))?(f.schema=T,f.schemaPath=s+"["+E+"]",f.errSchemaPath=l+"/"+E,t+=" "+e.validate(f)+" ",f.baseId=b):t+=" var "+y+" = true; ",E&&(t+=" if ("+y+" && "+I+") { "+d+" = false; "+S+" = ["+S+", "+E+"]; } else { ",m+="}"),t+=" if ("+y+") { "+d+" = "+I+" = true; "+S+" = "+E+"; }";return e.compositeRule=f.compositeRule=F,t+=""+m+"if (!"+d+") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { passingSchemas: "+S+" } ",e.opts.messages!==!1&&(t+=" , message: 'should match exactly one schema in oneOf' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&u&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; "),t+="} else { errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; }",e.opts.allErrors&&(t+=" } "),t}),Np}var zp,Vp;function sx(){return Vp||(Vp=1,zp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,c="data"+(o||""),d=e.opts.$data&&n&&n.$data,p;d?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n;var f=d?"(new RegExp("+p+"))":e.usePattern(n);t+="if ( ",d&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'string') || "),t+=" !"+f+".test("+c+") ) { ";var m=m||[];m.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'pattern' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { pattern: ",d?t+=""+p:t+=""+e.util.toQuotedString(n),t+=" } ",e.opts.messages!==!1&&(t+=` , message: 'should match pattern "`,d?t+="' + "+p+" + '":t+=""+e.util.escapeQuotes(n),t+=`"' `),e.opts.verbose&&(t+=" , schema: ",d?t+="validate.schema"+s:t+=""+e.util.toQuotedString(n),t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var y=t;return t=m.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+y+"]); ":t+=" validate.errors = ["+y+"]; return false; ":t+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",u&&(t+=" else { "),t}),zp}var Up,Gp;function lx(){return Gp||(Gp=1,Up=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,c="data"+(o||""),d="errs__"+a,p=e.util.copy(e),f="";p.level++;var m="valid"+p.level,y="key"+a,b="idx"+a,I=p.dataLevel=e.dataLevel+1,S="data"+I,F="dataProperties"+a,w=Object.keys(n||{}).filter(K),T=e.schema.patternProperties||{},E=Object.keys(T).filter(K),P=e.schema.additionalProperties,O=w.length||E.length,j=P===!1,x=typeof P=="object"&&Object.keys(P).length,C=e.opts.removeAdditional,k=j||x||C,B=e.opts.ownProperties,M=e.baseId,J=e.schema.required;if(J&&!(e.opts.$data&&J.$data)&&J.length<e.opts.loopRequired)var Z=e.util.toHash(J);function K(Yi){return Yi!=="__proto__"}if(t+="var "+d+" = errors;var "+m+" = true;",B&&(t+=" var "+F+" = undefined;"),k){if(B?t+=" "+F+" = "+F+" || Object.keys("+c+"); for (var "+b+"=0; "+b+"<"+F+".length; "+b+"++) { var "+y+" = "+F+"["+b+"]; ":t+=" for (var "+y+" in "+c+") { ",O){if(t+=" var isAdditional"+a+" = !(false ",w.length)if(w.length>8)t+=" || validate.schema"+s+".hasOwnProperty("+y+") ";else{var Y=w;if(Y)for(var Q,fe=-1,$e=Y.length-1;fe<$e;)Q=Y[fe+=1],t+=" || "+y+" == "+e.util.toQuotedString(Q)+" "}if(E.length){var Ee=E;if(Ee)for(var Ie,ot=-1,We=Ee.length-1;ot<We;)Ie=Ee[ot+=1],t+=" || "+e.usePattern(Ie)+".test("+y+") "}t+=" ); if (isAdditional"+a+") { "}if(C=="all")t+=" delete "+c+"["+y+"]; ";else{var A=e.errorPath,R="' + "+y+" + '";if(e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(e.errorPath,y,e.opts.jsonPointers)),j)if(C)t+=" delete "+c+"["+y+"]; ";else{t+=" "+m+" = false; ";var N=l;l=e.errSchemaPath+"/additionalProperties";var z=z||[];z.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'additionalProperties' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { additionalProperty: '"+R+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is an invalid additional property":t+="should NOT have additional properties",t+="' "),e.opts.verbose&&(t+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var _=t;t=z.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+_+"]); ":t+=" validate.errors = ["+_+"]; return false; ":t+=" var err = "+_+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",l=N,u&&(t+=" break; ")}else if(x)if(C=="failing"){t+=" var "+d+" = errors; ";var W=e.compositeRule;e.compositeRule=p.compositeRule=!0,p.schema=P,p.schemaPath=e.schemaPath+".additionalProperties",p.errSchemaPath=e.errSchemaPath+"/additionalProperties",p.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,y,e.opts.jsonPointers);var H=c+"["+y+"]";p.dataPathArr[I]=y;var X=e.validate(p);p.baseId=M,e.util.varOccurences(X,S)<2?t+=" "+e.util.varReplace(X,S,H)+" ":t+=" var "+S+" = "+H+"; "+X+" ",t+=" if (!"+m+") { errors = "+d+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+c+"["+y+"]; } ",e.compositeRule=p.compositeRule=W}else{p.schema=P,p.schemaPath=e.schemaPath+".additionalProperties",p.errSchemaPath=e.errSchemaPath+"/additionalProperties",p.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,y,e.opts.jsonPointers);var H=c+"["+y+"]";p.dataPathArr[I]=y;var X=e.validate(p);p.baseId=M,e.util.varOccurences(X,S)<2?t+=" "+e.util.varReplace(X,S,H)+" ":t+=" var "+S+" = "+H+"; "+X+" ",u&&(t+=" if (!"+m+") break; ")}e.errorPath=A}O&&(t+=" } "),t+=" } ",u&&(t+=" if ("+m+") { ",f+="}")}var ge=e.opts.useDefaults&&!e.compositeRule;if(w.length){var be=w;if(be)for(var Q,ne=-1,ae=be.length-1;ne<ae;){Q=be[ne+=1];var le=n[Q];if(e.opts.strictKeywords?typeof le=="object"&&Object.keys(le).length>0||le===!1:e.util.schemaHasRules(le,e.RULES.all)){var ze=e.util.getProperty(Q),H=c+ze,mt=ge&&le.default!==void 0;p.schema=le,p.schemaPath=s+ze,p.errSchemaPath=l+"/"+e.util.escapeFragment(Q),p.errorPath=e.util.getPath(e.errorPath,Q,e.opts.jsonPointers),p.dataPathArr[I]=e.util.toQuotedString(Q);var X=e.validate(p);if(p.baseId=M,e.util.varOccurences(X,S)<2){X=e.util.varReplace(X,S,H);var ve=H}else{var ve=S;t+=" var "+S+" = "+H+"; "}if(mt)t+=" "+X+" ";else{if(Z&&Z[Q]){t+=" if ( "+ve+" === undefined ",B&&(t+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(Q)+"') "),t+=") { "+m+" = false; ";var A=e.errorPath,N=l,Le=e.util.escapeQuotes(Q);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(A,Q,e.opts.jsonPointers)),l=e.errSchemaPath+"/required";var z=z||[];z.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+Le+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+Le+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var _=t;t=z.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+_+"]); ":t+=" validate.errors = ["+_+"]; return false; ":t+=" var err = "+_+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",l=N,e.errorPath=A,t+=" } else { "}else u?(t+=" if ( "+ve+" === undefined ",B&&(t+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(Q)+"') "),t+=") { "+m+" = true; } else { "):(t+=" if ("+ve+" !== undefined ",B&&(t+=" && Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(Q)+"') "),t+=" ) { ");t+=" "+X+" } "}}u&&(t+=" if ("+m+") { ",f+="}")}}if(E.length){var Se=E;if(Se)for(var Ie,Lr=-1,Zi=Se.length-1;Lr<Zi;){Ie=Se[Lr+=1];var le=T[Ie];if(e.opts.strictKeywords?typeof le=="object"&&Object.keys(le).length>0||le===!1:e.util.schemaHasRules(le,e.RULES.all)){p.schema=le,p.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(Ie),p.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(Ie),B?t+=" "+F+" = "+F+" || Object.keys("+c+"); for (var "+b+"=0; "+b+"<"+F+".length; "+b+"++) { var "+y+" = "+F+"["+b+"]; ":t+=" for (var "+y+" in "+c+") { ",t+=" if ("+e.usePattern(Ie)+".test("+y+")) { ",p.errorPath=e.util.getPathExpr(e.errorPath,y,e.opts.jsonPointers);var H=c+"["+y+"]";p.dataPathArr[I]=y;var X=e.validate(p);p.baseId=M,e.util.varOccurences(X,S)<2?t+=" "+e.util.varReplace(X,S,H)+" ":t+=" var "+S+" = "+H+"; "+X+" ",u&&(t+=" if (!"+m+") break; "),t+=" } ",u&&(t+=" else "+m+" = true; "),t+=" } ",u&&(t+=" if ("+m+") { ",f+="}")}}}return u&&(t+=" "+f+" if ("+d+" == errors) {"),t}),Up}var Hp,Qp;function px(){return Qp||(Qp=1,Hp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,c="data"+(o||""),d="errs__"+a,p=e.util.copy(e),f="";p.level++;var m="valid"+p.level;if(t+="var "+d+" = errors;",e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all)){p.schema=n,p.schemaPath=s,p.errSchemaPath=l;var y="key"+a,b="idx"+a,I="i"+a,S="' + "+y+" + '",F=p.dataLevel=e.dataLevel+1,w="data"+F,T="dataProperties"+a,E=e.opts.ownProperties,P=e.baseId;E&&(t+=" var "+T+" = undefined; "),E?t+=" "+T+" = "+T+" || Object.keys("+c+"); for (var "+b+"=0; "+b+"<"+T+".length; "+b+"++) { var "+y+" = "+T+"["+b+"]; ":t+=" for (var "+y+" in "+c+") { ",t+=" var startErrs"+a+" = errors; ";var O=y,j=e.compositeRule;e.compositeRule=p.compositeRule=!0;var x=e.validate(p);p.baseId=P,e.util.varOccurences(x,w)<2?t+=" "+e.util.varReplace(x,w,O)+" ":t+=" var "+w+" = "+O+"; "+x+" ",e.compositeRule=p.compositeRule=j,t+=" if (!"+m+") { for (var "+I+"=startErrs"+a+"; "+I+"<errors; "+I+"++) { vErrors["+I+"].propertyName = "+y+"; } var err = ",e.createErrors!==!1?(t+=" { keyword: 'propertyNames' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { propertyName: '"+S+"' } ",e.opts.messages!==!1&&(t+=" , message: 'property name \\'"+S+"\\' is invalid' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&u&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; "),u&&(t+=" break; "),t+=" } }"}return u&&(t+=" "+f+" if ("+d+" == errors) {"),t}),Hp}var Kp,Jp;function dx(){return Jp||(Jp=1,Kp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,c="data"+(o||""),d="valid"+a,p=e.opts.$data&&n&&n.$data;p&&(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ");var f="schema"+a;if(!p)if(n.length<e.opts.loopRequired&&e.schema.properties&&Object.keys(e.schema.properties).length){var F=[],m=n;if(m)for(var y,b=-1,I=m.length-1;b<I;){y=m[b+=1];var S=e.schema.properties[y];S&&(e.opts.strictKeywords?typeof S=="object"&&Object.keys(S).length>0||S===!1:e.util.schemaHasRules(S,e.RULES.all))||(F[F.length]=y)}}else var F=n;if(p||F.length){var w=e.errorPath,T=p||F.length>=e.opts.loopRequired,E=e.opts.ownProperties;if(u)if(t+=" var missing"+a+"; ",T){p||(t+=" var "+f+" = validate.schema"+s+"; ");var P="i"+a,O="schema"+a+"["+P+"]",j="' + "+O+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(w,O,e.opts.jsonPointers)),t+=" var "+d+" = true; ",p&&(t+=" if (schema"+a+" === undefined) "+d+" = true; else if (!Array.isArray(schema"+a+")) "+d+" = false; else {"),t+=" for (var "+P+" = 0; "+P+" < "+f+".length; "+P+"++) { "+d+" = "+c+"["+f+"["+P+"]] !== undefined ",E&&(t+=" && Object.prototype.hasOwnProperty.call("+c+", "+f+"["+P+"]) "),t+="; if (!"+d+") break; } ",p&&(t+=" } "),t+=" if (!"+d+") { ";var x=x||[];x.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+j+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+j+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var C=t;t=x.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+C+"]); ":t+=" validate.errors = ["+C+"]; return false; ":t+=" var err = "+C+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else { "}else{t+=" if ( ";var k=F;if(k)for(var B,P=-1,M=k.length-1;P<M;){B=k[P+=1],P&&(t+=" || ");var J=e.util.getProperty(B),Z=c+J;t+=" ( ( "+Z+" === undefined ",E&&(t+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(B)+"') "),t+=") && (missing"+a+" = "+e.util.toQuotedString(e.opts.jsonPointers?B:J)+") ) "}t+=") { ";var O="missing"+a,j="' + "+O+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(w,O,!0):w+" + "+O);var x=x||[];x.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+j+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+j+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var C=t;t=x.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+C+"]); ":t+=" validate.errors = ["+C+"]; return false; ":t+=" var err = "+C+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else { "}else if(T){p||(t+=" var "+f+" = validate.schema"+s+"; ");var P="i"+a,O="schema"+a+"["+P+"]",j="' + "+O+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(w,O,e.opts.jsonPointers)),p&&(t+=" if ("+f+" && !Array.isArray("+f+")) { var err = ",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+j+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+j+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if ("+f+" !== undefined) { "),t+=" for (var "+P+" = 0; "+P+" < "+f+".length; "+P+"++) { if ("+c+"["+f+"["+P+"]] === undefined ",E&&(t+=" || ! Object.prototype.hasOwnProperty.call("+c+", "+f+"["+P+"]) "),t+=") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+j+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+j+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ",p&&(t+=" } ")}else{var K=F;if(K)for(var B,Y=-1,Q=K.length-1;Y<Q;){B=K[Y+=1];var J=e.util.getProperty(B),j=e.util.escapeQuotes(B),Z=c+J;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(w,B,e.opts.jsonPointers)),t+=" if ( "+Z+" === undefined ",E&&(t+=" || ! Object.prototype.hasOwnProperty.call("+c+", '"+e.util.escapeQuotes(B)+"') "),t+=") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+j+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+j+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}e.errorPath=w}else u&&(t+=" if (true) {");return t}),Kp}var Zp,Yp;function cx(){return Yp||(Yp=1,Zp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,c="data"+(o||""),d="valid"+a,p=e.opts.$data&&n&&n.$data,f;if(p?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",f="schema"+a):f=n,(n||p)&&e.opts.uniqueItems!==!1){p&&(t+=" var "+d+"; if ("+f+" === false || "+f+" === undefined) "+d+" = true; else if (typeof "+f+" != 'boolean') "+d+" = false; else { "),t+=" var i = "+c+".length , "+d+" = true , j; if (i > 1) { ";var m=e.schema.items&&e.schema.items.type,y=Array.isArray(m);if(!m||m=="object"||m=="array"||y&&(m.indexOf("object")>=0||m.indexOf("array")>=0))t+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+c+"[i], "+c+"[j])) { "+d+" = false; break outer; } } } ";else{t+=" var itemIndices = {}, item; for (;i--;) { var item = "+c+"[i]; ";var b="checkDataType"+(y?"s":"");t+=" if ("+e.util[b](m,"item",e.opts.strictNumbers,!0)+") continue; ",y&&(t+=` if (typeof item == 'string') item = '"' + item; `),t+=" if (typeof itemIndices[item] == 'number') { "+d+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}t+=" } ",p&&(t+=" } "),t+=" if (!"+d+") { ";var I=I||[];I.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { i: i, j: j } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),e.opts.verbose&&(t+=" , schema: ",p?t+="validate.schema"+s:t+=""+n,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var S=t;t=I.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+S+"]); ":t+=" validate.errors = ["+S+"]; return false; ":t+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",u&&(t+=" else { ")}else u&&(t+=" if (true) { ");return t}),Zp}var Xp,ed;function ux(){return ed||(ed=1,Xp={$ref:Hw(),allOf:Qw(),anyOf:Kw(),$comment:Jw(),const:Zw(),contains:Yw(),dependencies:Xw(),enum:ex(),format:tx(),if:rx(),items:ix(),maximum:Pp(),minimum:Pp(),maxItems:Ep(),minItems:Ep(),maxLength:$p(),minLength:$p(),maxProperties:_p(),minProperties:_p(),multipleOf:ax(),not:ox(),oneOf:nx(),pattern:sx(),properties:lx(),propertyNames:px(),required:dx(),uniqueItems:cx(),validate:Wd()}),Xp}var Da,td;function fx(){if(td)return Da;td=1;var e=ux(),r=Er().toHash;return Da=function(){var i=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}],t=["type","$comment"],a=["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"],o=["number","integer","string","array","object","boolean","null"];return i.all=r(t),i.types=r(o),i.forEach(function(n){n.rules=n.rules.map(function(s){var l;if(typeof s=="object"){var u=Object.keys(s)[0];l=s[u],s=u,l.forEach(function(d){t.push(d),i.all[d]=!0})}t.push(s);var c=i.all[s]={keyword:s,code:e[s],implements:l};return c}),i.all.$comment={keyword:"$comment",code:e.$comment},n.type&&(i.types[n.type]=n)}),i.keywords=r(t.concat(a)),i.custom={},i},Da}var $a,rd;function hx(){if(rd)return $a;rd=1;var e=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];return $a=function(r,i){for(var t=0;t<i.length;t++){r=JSON.parse(JSON.stringify(r));var a=i[t].split("/"),o=r,n;for(n=1;n<a.length;n++)o=o[a[n]];for(n=0;n<e.length;n++){var s=e[n],l=o[s];l&&(o[s]={anyOf:[l,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]})}}return r},$a}var ja,id;function mx(){if(id)return ja;id=1;var e=ro().MissingRef;ja=r;function r(i,t,a){var o=this;if(typeof this._opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");typeof t=="function"&&(a=t,t=void 0);var n=s(i).then(function(){var u=o._addSchema(i,void 0,t);return u.validate||l(u)});return a&&n.then(function(u){a(null,u)},a),n;function s(u){var c=u.$schema;return c&&!o.getSchema(c)?r.call(o,{$ref:c},!0):Promise.resolve()}function l(u){try{return o._compile(u)}catch(d){if(d instanceof e)return c(d);throw d}function c(d){var p=d.missingSchema;if(y(p))throw new Error("Schema "+p+" is loaded but "+d.missingRef+" cannot be resolved");var f=o._loadingSchemas[p];return f||(f=o._loadingSchemas[p]=o._opts.loadSchema(p),f.then(m,m)),f.then(function(b){if(!y(p))return s(b).then(function(){y(p)||o.addSchema(b,p,void 0,t)})}).then(function(){return l(u)});function m(){delete o._loadingSchemas[p]}function y(b){return o._refs[b]||o._schemas[b]}}}}return ja}var ad,od;function yx(){return od||(od=1,ad=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,c,d="data"+(o||""),p="valid"+a,f="errs__"+a,m=e.opts.$data&&n&&n.$data,y;m?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",y="schema"+a):y=n;var b=this,I="definition"+a,S=b.definition,F="",w,T,E,P,O;if(m&&S.$data){O="keywordValidate"+a;var j=S.validateSchema;t+=" var "+I+" = RULES.custom['"+r+"'].definition; var "+O+" = "+I+".validate;"}else{if(P=e.useCustomRule(b,n,e.schema,e),!P)return;y="validate.schema"+s,O=P.code,w=S.compile,T=S.inline,E=S.macro}var x=O+".errors",C="i"+a,k="ruleErr"+a,B=S.async;if(B&&!e.async)throw new Error("async keyword in sync schema");if(T||E||(t+=""+x+" = null;"),t+="var "+f+" = errors;var "+p+";",m&&S.$data&&(F+="}",t+=" if ("+y+" === undefined) { "+p+" = true; } else { ",j&&(F+="}",t+=" "+p+" = "+I+".validateSchema("+y+"); if ("+p+") { ")),T)S.statements?t+=" "+P.validate+" ":t+=" "+p+" = "+P.validate+"; ";else if(E){var M=e.util.copy(e),F="";M.level++;var J="valid"+M.level;M.schema=P.validate,M.schemaPath="";var Z=e.compositeRule;e.compositeRule=M.compositeRule=!0;var K=e.validate(M).replace(/validate\.schema/g,O);e.compositeRule=M.compositeRule=Z,t+=" "+K}else{var Y=Y||[];Y.push(t),t="",t+=" "+O+".call( ",e.opts.passContext?t+="this":t+="self",w||S.schema===!1?t+=" , "+d+" ":t+=" , "+y+" , "+d+" , validate.schema"+e.schemaPath+" ",t+=" , (dataPath || '')",e.errorPath!='""'&&(t+=" + "+e.errorPath);var Q=o?"data"+(o-1||""):"parentData",fe=o?e.dataPathArr[o]:"parentDataProperty";t+=" , "+Q+" , "+fe+" , rootData ) ";var $e=t;t=Y.pop(),S.errors===!1?(t+=" "+p+" = ",B&&(t+="await "),t+=""+$e+"; "):B?(x="customErrors"+a,t+=" var "+x+" = null; try { "+p+" = await "+$e+"; } catch (e) { "+p+" = false; if (e instanceof ValidationError) "+x+" = e.errors; else throw e; } "):t+=" "+x+" = null; "+p+" = "+$e+"; "}if(S.modifying&&(t+=" if ("+Q+") "+d+" = "+Q+"["+fe+"];"),t+=""+F,S.valid)u&&(t+=" if (true) { ");else{t+=" if ( ",S.valid===void 0?(t+=" !",E?t+=""+J:t+=""+p):t+=" "+!S.valid+" ",t+=") { ",c=b.keyword;var Y=Y||[];Y.push(t),t="";var Y=Y||[];Y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(c||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { keyword: '"+b.keyword+"' } ",e.opts.messages!==!1&&(t+=` , message: 'should pass "`+b.keyword+`" keyword validation' `),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var Ee=t;t=Y.pop(),!e.compositeRule&&u?e.async?t+=" throw new ValidationError(["+Ee+"]); ":t+=" validate.errors = ["+Ee+"]; return false; ":t+=" var err = "+Ee+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";var Ie=t;t=Y.pop(),T?S.errors?S.errors!="full"&&(t+=" for (var "+C+"="+f+"; "+C+"<errors; "+C+"++) { var "+k+" = vErrors["+C+"]; if ("+k+".dataPath === undefined) "+k+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+k+".schemaPath === undefined) { "+k+'.schemaPath = "'+l+'"; } ',e.opts.verbose&&(t+=" "+k+".schema = "+y+"; "+k+".data = "+d+"; "),t+=" } "):S.errors===!1?t+=" "+Ie+" ":(t+=" if ("+f+" == errors) { "+Ie+" } else { for (var "+C+"="+f+"; "+C+"<errors; "+C+"++) { var "+k+" = vErrors["+C+"]; if ("+k+".dataPath === undefined) "+k+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+k+".schemaPath === undefined) { "+k+'.schemaPath = "'+l+'"; } ',e.opts.verbose&&(t+=" "+k+".schema = "+y+"; "+k+".data = "+d+"; "),t+=" } } "):E?(t+=" var err = ",e.createErrors!==!1?(t+=" { keyword: '"+(c||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { keyword: '"+b.keyword+"' } ",e.opts.messages!==!1&&(t+=` , message: 'should pass "`+b.keyword+`" keyword validation' `),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&u&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; ")):S.errors===!1?t+=" "+Ie+" ":(t+=" if (Array.isArray("+x+")) { if (vErrors === null) vErrors = "+x+"; else vErrors = vErrors.concat("+x+"); errors = vErrors.length; for (var "+C+"="+f+"; "+C+"<errors; "+C+"++) { var "+k+" = vErrors["+C+"]; if ("+k+".dataPath === undefined) "+k+".dataPath = (dataPath || '') + "+e.errorPath+"; "+k+'.schemaPath = "'+l+'"; ',e.opts.verbose&&(t+=" "+k+".schema = "+y+"; "+k+".data = "+d+"; "),t+=" } } else { "+Ie+" } "),t+=" } ",u&&(t+=" else { ")}return t}),ad}var gx="http://json-schema.org/draft-07/schema#",bx="http://json-schema.org/draft-07/schema#",vx="Core schema meta-schema",Sx={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:[]}},wx=["object","boolean"],xx={$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:"#"}},zd={$schema:gx,$id:bx,title:vx,definitions:Sx,type:wx,properties:xx,default:!0},Ra,nd;function Ix(){if(nd)return Ra;nd=1;var e=zd;return Ra={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:e.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:e.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}},Ra}var _a,sd;function Cx(){if(sd)return _a;sd=1;var e=/^[a-z_$][a-z0-9_$-]*$/i,r=yx(),i=Ix();_a={add:t,get:a,remove:o,validate:n};function t(s,l){var u=this.RULES;if(u.keywords[s])throw new Error("Keyword "+s+" is already defined");if(!e.test(s))throw new Error("Keyword "+s+" is not a valid identifier");if(l){this.validateKeyword(l,!0);var c=l.type;if(Array.isArray(c))for(var d=0;d<c.length;d++)f(s,c[d],l);else f(s,c,l);var p=l.metaSchema;p&&(l.$data&&this._opts.$data&&(p={anyOf:[p,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]}),l.validateSchema=this.compile(p,!0))}u.keywords[s]=u.all[s]=!0;function f(m,y,b){for(var I,S=0;S<u.length;S++){var F=u[S];if(F.type==y){I=F;break}}I||(I={type:y,rules:[]},u.push(I));var w={keyword:m,definition:b,custom:!0,code:r,implements:b.implements};I.rules.push(w),u.custom[m]=w}return this}function a(s){var l=this.RULES.custom[s];return l?l.definition:this.RULES.keywords[s]||!1}function o(s){var l=this.RULES;delete l.keywords[s],delete l.all[s],delete l.custom[s];for(var u=0;u<l.length;u++)for(var c=l[u].rules,d=0;d<c.length;d++)if(c[d].keyword==s){c.splice(d,1);break}return this}function n(s,l){n.errors=null;var u=this._validateKeyword=this._validateKeyword||this.compile(i,!0);if(u(s))return!0;if(n.errors=u.errors,l)throw new Error("custom keyword definition is invalid: "+this.errorsText(u.errors));return!1}return _a}var Tx="http://json-schema.org/draft-07/schema#",Ax="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",Px="Meta-schema for $data reference (JSON Schema extension proposal)",Fx="object",Ox=["$data"],Ex={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},Lx=!1,Dx={$schema:Tx,$id:Ax,description:Px,type:Fx,required:Ox,properties:Ex,additionalProperties:Lx},ka,ld;function $x(){if(ld)return ka;ld=1;var e=Vw(),r=to(),i=Uw(),t=Md(),a=Nd(),o=Gw(),n=fx(),s=hx(),l=Er();ka=m,m.prototype.validate=y,m.prototype.compile=b,m.prototype.addSchema=I,m.prototype.addMetaSchema=S,m.prototype.validateSchema=F,m.prototype.getSchema=T,m.prototype.removeSchema=O,m.prototype.addFormat=K,m.prototype.errorsText=Z,m.prototype._addSchema=x,m.prototype._compile=C,m.prototype.compileAsync=mx();var u=Cx();m.prototype.addKeyword=u.add,m.prototype.getKeyword=u.get,m.prototype.removeKeyword=u.remove,m.prototype.validateKeyword=u.validate;var c=ro();m.ValidationError=c.Validation,m.MissingRefError=c.MissingRef,m.$dataMetaSchema=s;var d="http://json-schema.org/draft-07/schema",p=["removeAdditional","useDefaults","coerceTypes","strictDefaults"],f=["/properties"];function m(A){if(!(this instanceof m))return new m(A);A=this._opts=l.copy(A)||{},ot(this),this._schemas={},this._refs={},this._fragments={},this._formats=o(A.format),this._cache=A.cache||new i,this._loadingSchemas={},this._compilations=[],this.RULES=n(),this._getId=k(A),A.loopRequired=A.loopRequired||1/0,A.errorDataPath=="property"&&(A._errorDataPathProperty=!0),A.serialize===void 0&&(A.serialize=a),this._metaOpts=Ie(this),A.formats&&fe(this),A.keywords&&$e(this),Y(this),typeof A.meta=="object"&&this.addMetaSchema(A.meta),A.nullable&&this.addKeyword("nullable",{metaSchema:{type:"boolean"}}),Q(this)}function y(A,R){var N;if(typeof A=="string"){if(N=this.getSchema(A),!N)throw new Error('no schema with key or ref "'+A+'"')}else{var z=this._addSchema(A);N=z.validate||this._compile(z)}var _=N(R);return N.$async!==!0&&(this.errors=N.errors),_}function b(A,R){var N=this._addSchema(A,void 0,R);return N.validate||this._compile(N)}function I(A,R,N,z){if(Array.isArray(A)){for(var _=0;_<A.length;_++)this.addSchema(A[_],void 0,N,z);return this}var W=this._getId(A);if(W!==void 0&&typeof W!="string")throw new Error("schema id must be string");return R=r.normalizeId(R||W),Ee(this,R),this._schemas[R]=this._addSchema(A,N,z,!0),this}function S(A,R,N){return this.addSchema(A,R,N,!0),this}function F(A,R){var N=A.$schema;if(N!==void 0&&typeof N!="string")throw new Error("$schema must be a string");if(N=N||this._opts.defaultMeta||w(this),!N)return this.logger.warn("meta-schema not available"),this.errors=null,!0;var z=this.validate(N,A);if(!z&&R){var _="schema is invalid: "+this.errorsText();if(this._opts.validateSchema=="log")this.logger.error(_);else throw new Error(_)}return z}function w(A){var R=A._opts.meta;return A._opts.defaultMeta=typeof R=="object"?A._getId(R)||R:A.getSchema(d)?d:void 0,A._opts.defaultMeta}function T(A){var R=P(this,A);switch(typeof R){case"object":return R.validate||this._compile(R);case"string":return this.getSchema(R);case"undefined":return E(this,A)}}function E(A,R){var N=r.schema.call(A,{schema:{}},R);if(N){var z=N.schema,_=N.root,W=N.baseId,H=e.call(A,z,_,void 0,W);return A._fragments[R]=new t({ref:R,fragment:!0,schema:z,root:_,baseId:W,validate:H}),H}}function P(A,R){return R=r.normalizeId(R),A._schemas[R]||A._refs[R]||A._fragments[R]}function O(A){if(A instanceof RegExp)return j(this,this._schemas,A),j(this,this._refs,A),this;switch(typeof A){case"undefined":return j(this,this._schemas),j(this,this._refs),this._cache.clear(),this;case"string":var R=P(this,A);return R&&this._cache.del(R.cacheKey),delete this._schemas[A],delete this._refs[A],this;case"object":var N=this._opts.serialize,z=N?N(A):A;this._cache.del(z);var _=this._getId(A);_&&(_=r.normalizeId(_),delete this._schemas[_],delete this._refs[_])}return this}function j(A,R,N){for(var z in R){var _=R[z];!_.meta&&(!N||N.test(z))&&(A._cache.del(_.cacheKey),delete R[z])}}function x(A,R,N,z){if(typeof A!="object"&&typeof A!="boolean")throw new Error("schema should be object or boolean");var _=this._opts.serialize,W=_?_(A):A,H=this._cache.get(W);if(H)return H;z=z||this._opts.addUsedSchema!==!1;var X=r.normalizeId(this._getId(A));X&&z&&Ee(this,X);var ge=this._opts.validateSchema!==!1&&!R,be;ge&&!(be=X&&X==r.normalizeId(A.$schema))&&this.validateSchema(A,!0);var ne=r.ids.call(this,A),ae=new t({id:X,schema:A,localRefs:ne,cacheKey:W,meta:N});return X[0]!="#"&&z&&(this._refs[X]=ae),this._cache.put(W,ae),ge&&be&&this.validateSchema(A,!0),ae}function C(A,R){if(A.compiling)return A.validate=_,_.schema=A.schema,_.errors=null,_.root=R||_,A.schema.$async===!0&&(_.$async=!0),_;A.compiling=!0;var N;A.meta&&(N=this._opts,this._opts=this._metaOpts);var z;try{z=e.call(this,A.schema,R,A.localRefs)}catch(W){throw delete A.validate,W}finally{A.compiling=!1,A.meta&&(this._opts=N)}return A.validate=z,A.refs=z.refs,A.refVal=z.refVal,A.root=z.root,z;function _(){var W=A.validate,H=W.apply(this,arguments);return _.errors=W.errors,H}}function k(A){switch(A.schemaId){case"auto":return J;case"id":return B;default:return M}}function B(A){return A.$id&&this.logger.warn("schema $id ignored",A.$id),A.id}function M(A){return A.id&&this.logger.warn("schema id ignored",A.id),A.$id}function J(A){if(A.$id&&A.id&&A.$id!=A.id)throw new Error("schema $id is different from id");return A.$id||A.id}function Z(A,R){if(A=A||this.errors,!A)return"No errors";R=R||{};for(var N=R.separator===void 0?", ":R.separator,z=R.dataVar===void 0?"data":R.dataVar,_="",W=0;W<A.length;W++){var H=A[W];H&&(_+=z+H.dataPath+" "+H.message+N)}return _.slice(0,-N.length)}function K(A,R){return typeof R=="string"&&(R=new RegExp(R)),this._formats[A]=R,this}function Y(A){var R;if(A._opts.$data&&(R=Dx,A.addMetaSchema(R,R.$id,!0)),A._opts.meta!==!1){var N=zd;A._opts.$data&&(N=s(N,f)),A.addMetaSchema(N,d,!0),A._refs["http://json-schema.org/schema"]=d}}function Q(A){var R=A._opts.schemas;if(R)if(Array.isArray(R))A.addSchema(R);else for(var N in R)A.addSchema(R[N],N)}function fe(A){for(var R in A._opts.formats){var N=A._opts.formats[R];A.addFormat(R,N)}}function $e(A){for(var R in A._opts.keywords){var N=A._opts.keywords[R];A.addKeyword(R,N)}}function Ee(A,R){if(A._schemas[R]||A._refs[R])throw new Error('schema with key or id "'+R+'" already exists')}function Ie(A){for(var R=l.copy(A._opts),N=0;N<p.length;N++)delete R[p[N]];return R}function ot(A){var R=A._opts.logger;if(R===!1)A.logger={log:We,warn:We,error:We};else{if(R===void 0&&(R=console),!(typeof R=="object"&&R.log&&R.warn&&R.error))throw new Error("logger must implement log, warn and error methods");A.logger=R}}function We(){}return ka}var jx=$x(),Rx=qw(jx),Vd={NonNumericAggregation:"nonNumericAggregation",DuplicateSeriesID:"duplicateSeriesId"},_t={Required:"required",MinLength:"minLength",MinItems:"minItems",MaxItems:"maxItems",Pattern:"pattern",AdditionalProperties:"additionalProperties",Enum:"enum",AnyOf:"anyOf"},lR={BadData:"badData",EmptyDataSet:"emptyDataSet",HistogramEmptyField:"histogramEmptyField",BarElementExceedsLimit:"barElementExceedsLimit",LineChartExceedsLimit:"lineChartExceedsLimit",BoxPlotExceedsLimit:"boxPlotExceedsLimit",BoxPlotOutliersExceedsLimit:"boxPlotOutliersExceedsLimit",PieChartExceedsLimit:"pieChartExceedsLimit",GaugeExceedsLimit:"gaugeExceedsLimit",PieChartMixOfNegativePositiveSlices:"PieChartMixOfNegativePositiveSlices",NegativeValueInSqrtCalculation:"negativeValueInSqrtCalculation",NegativeValueInLogCalculation:"negativeValueInLogCalculation",NegativeValueInXAxisLogScale:"negativeValueInXAxisLogScale",NegativeValueInYAxisLogScale:"negativeValueInYAxisLogScale"};function _x(e){let r=e.lastIndexOf("/");return r!==-1?e.slice(r+1):e}async function kx(e){let r=await Ct();return e.map(i=>{let t=i,a=i.dataPath.startsWith(".")?i.dataPath.substring(1):i.dataPath;switch(i.keyword){case _t.Required:t={...i,message:Ze(r.requiredProperty,{dataPath:a,missingProperty:i.params.missingProperty})};break;case _t.MinLength:t={...i,message:Ze(r.minLength,{dataPath:a,limit:i.params.limit.toString()})};break;case _t.MinItems:t={...i,message:Ze(r.minItems,{dataPath:a,limit:i.params.limit.toString()})};break;case _t.MaxItems:t={...i,message:Ze(r.maxItems,{dataPath:a,limit:i.params.limit.toString()})};break;case _t.Pattern:i.params.pattern==="\\w+"&&(t={...i,message:Ze(r.whiteSpacePattern,{dataPath:a}),params:{}});break;case _t.AdditionalProperties:t={...i,message:Ze(r.additionalProperty,{dataPath:a,additionalProperty:i.params.additionalProperty})};break;case _t.Enum:t={...i,message:Ze(r.enumValues,{dataPath:a,allowedValues:i.params.allowedValues.join(", ")})};break;case _t.AnyOf:{let o=[];i.schemaPath==="#/properties/legend/anyOf"&&(o=Ht.definitions.WebChart.properties.legend.anyOf.map(n=>_x(n.$ref))),t={...i,params:o,message:Ze(r.anyOfValues,{dataPath:a,schemaOptions:o.join(", ")})};break}}return t})}function Ni(e,r){return{...e,$ref:`#/definitions/${r}`}}async function Bx(e){let r,i=await Ct(),t=qe(e);try{await t.load()}catch{let a=t?.url??"",o=Re(t)?.portalItem?.id??"";r={keyword:tr.LayerLoadFailure,message:Ze(i.layerLoadFailure,{url:a,portalItemId:o}),params:{url:a,portalItemId:o}}}return r}function qx(){let e=new Rx({allErrors:!0});return async r=>{let i=[],t=Ve(r?.series),a=Ht;switch(t){case L.GaugeSeries:a=Ni(Ht,"WebGaugeChart");break;case L.BoxPlotSeries:a=Ni(Ht,"WebBoxPlot");break;case L.RadarSeries:a=Ni(Ht,"WebRadarChart");break;default:a=Ni(Ht,"WebChart");break}let o=e.compile(a);return o(r),o.errors!==null&&o.errors!==void 0&&(i=await kx(o.errors)),i}}var Mx=qx();async function Nx(e){let{seriesConfigs:r,queryObject:i,allowUsingObjectIdStat:t}=e,a=[],o=await Ya(i),n=await Ct();for(let s=0;s<r.length;s+=1){let l=r[s].query?.outStatistics;if(l!==void 0)for(let u=0;u<l.length;u+=1){let c=l[u],d=Xa(c.onStatisticField,o);if(d&&!(d.type===Be.OID&&t||qd(d))&&c.statisticType!==we.Count){let p=`series[${s}].query.outStatistics[${u}]`;a.push({keyword:Vd.NonNumericAggregation,message:Ze(n.nonNumericAggregation,{dataPath:p}),dataPath:p,params:{fieldName:c.onStatisticField,fieldType:d.type,aggregationRequested:c.statisticType}})}}}return a}async function Wx(e){let r=[],i=await Ct();if(e!==void 0&&e.series.length>1){let t=new Set,a=0;e.series.forEach((o,n)=>{if(t.add(o.id),t.size===a){let s=`series[${n}].id`;r.push({keyword:Vd.DuplicateSeriesID,message:Ze(i.duplicateSeriesID,{dataPath:s,seriesID:o.id,seriesName:o.name}),dataPath:s,params:{seriesId:o.id,seriesName:o.name}})}else a+=1})}return r}function zx(e){let r=new Set,i=aw(e);if(i){let t=Ve(e.series),a=It(e.series);t===L.GaugeSeries&&!dw(e)||a===V.PieFromFields||a===V.BarAndLineFromFields||a===V.BoxPlotMonoField||a===V.BoxPlotMultiFields||a===V.BoxPlotMonoFieldAndSplitBy||a===V.BoxPlotMultiFieldsAndSplitBy||r.add(i.x);let o=t===L.ScatterSeries||t===L.BoxPlotSeries||a===V.BarAndLineNoAggregation||a===V.BarAndLineSplitByNoAggregation||a===V.PieNoAggregation,n=[Va,ei,So,aa,wo,Jt.outStatistics.outStatisticFieldName??""],s=[];if(t===L.BoxPlotSeries?s=fw({showMean:e.showMean,seriesConfig:e.series}):s=e.series.map(l=>"y"in l?l.y:void 0).filter(l=>l!==void 0).flat(),o?s.forEach(l=>r.add(l)):n.push(...s),e.series.forEach(l=>{let{query:u}=l;u&&(Fr(u.where)||r.add(Ha(u.where)),u.groupByFieldsForStatistics&&u.groupByFieldsForStatistics.forEach(c=>r.add(c)),u.outStatistics&&u.outStatistics.forEach(c=>r.add(c.onStatisticField)))}),t===L.GaugeSeries&&e.axes?.[0]!==void 0){let l=e.axes?.[0];l&&"minimumFromField"in l&&typeof l.minimumFromField=="string"&&r.add(l.minimumFromField),l&&"maximumFromField"in l&&typeof l.maximumFromField=="string"&&r.add(l.maximumFromField)}n.forEach(l=>{r.delete(l)})}return Array.from(r.values()).filter(t=>!ft(t))}async function Vx(e,r){let i,t=await Ct(),a=await Ya(r),o=zx(e).filter(n=>!Xa(n,a));if(o.length>0){let n=o.join(", ");i={keyword:tr.LayerFieldsNotFound,message:Ze(t.layerFieldsNotFound,{fieldNames:n}),params:n}}return i}async function Ux(e){let{input:r,queryObject:i,allowUsingObjectIdStat:t}=e,a=[];if(i!==void 0){let o=await Nx({seriesConfigs:r.series,queryObject:i,allowUsingObjectIdStat:t});a=a.concat(o)}return a=a.concat(await Wx(r)),a}async function Gx(e,r){let i=[];if(e!==void 0){let t=await Bx(e);if(t!==void 0)i=i.concat(t);else if(r!==void 0){let a=await Vx(r,e);a!==void 0&&(i=i.concat(a))}}return i}async function pR(e){let{input:r,queryObject:i,allowUsingObjectIdStat:t}=e,a;if(iw(r?.version).versionStatus===Tt.Newer)a={valid:!0,schemaErrors:[],customErrors:[],warnings:[]};else{let o=await Mx(r),n=[],s=[];r!==void 0&&o.length===0&&(s=await Gx(i,r),s.length===0&&(n=await Ux({input:r,queryObject:i,allowUsingObjectIdStat:t}))),a={valid:o.length===0&&n.length===0&&s.length===0,schemaErrors:o,customErrors:s,warnings:n}}return a}function dR(e){let r=Ve(e?.series),i=!1;switch(r){case L.HistogramSeries:{i=(e?.series?.[0]?.x?.trim()?.length??0)===0;break}case L.ScatterSeries:{let t=e?.series;i=(t?.[0]?.x?.length??0)===0||(t?.[0]?.y?.length??0)===0;break}case L.PieSeries:{let t=e?.series;It(t)===V.PieFromFields?i=(t?.[0]?.query?.outStatistics?.length??0)===0:i=(t?.[0]?.x?.length??0)===0||t?.[0]?.x===ei;break}case L.BoxPlotSeries:{let t=e?.series;i=[t?.[0]?.y].flat().length===0||t?.[0]?.y==="";break}case L.ComboLineAndBarSeries:case L.RadarSeries:case L.BarSeries:case L.LineSeries:{let t=e?.series;It(t)===V.BarAndLineFromFields?i=(t?.[0]?.query?.outStatistics?.length??0)===0:i=(t?.[0]?.x?.trim()?.length??0)===0;break}}return i}var cR=[{unit:_e.Second,threshold:6e4,unitMs:1e3,preferredIntervalSize:[1,2,3,5,6,10,12,15,20,30,60]},{unit:_e.Minute,threshold:36e5,unitMs:1e3*60,preferredIntervalSize:[1,2,3,5,6,10,12,15,20,30,60]},{unit:_e.Hour,threshold:864e5,unitMs:1e3*60*60,preferredIntervalSize:[1,2,3,4,6,8,12,24]},{unit:_e.Day,threshold:6048e5,unitMs:1e3*60*60*24,preferredIntervalSize:[1,2,3,4,5,6,7]},{unit:_e.Week,threshold:24192e5,unitMs:1e3*60*60*24*7,preferredIntervalSize:[1,2,3,4]},{unit:_e.Month,threshold:290304e5,unitMs:1e3*60*60*24*7*4,preferredIntervalSize:[1,2,3,4,6,12]},{unit:_e.Year,threshold:Number.MAX_SAFE_INTEGER,unitMs:1e3*60*60*24*7*4*12,preferredIntervalSize:[1,2,4,5,10,25,50,100]}],uR="${ groupByFieldsForStatistics } WHEN ${ dateField }>='${ startDate }' AND ${ dateField }${ endDateOperand }'${ endDate }' THEN '${ y }|${ binIndex}'";return{a:xt,b:L,c:we,d:ea,e:Hx,f:mo,g:Rr,h:Qx,i:lt,j:yo,k:Kx,l:ta,m:_e,n:Jx,o:Zx,p:go,q:ar,r:Yx,s:Tt,t:Xx,u:bo,v:vo,w:e0,x:or,y:Be,z:nr,A:ra,B:sr,C:Yr,D:ia,E:ke,F:r0,G:i0,H:a0,I:Xr,J:ei,K:aa,L:So,M:wo,N:pt,O:se,P:xe,Q:ri,R:ca,S:Eb,T:km,U:zm,V:gy,W:Iy,X:xs,Y:qb,Z:pa,_:Nb,$:ag,aa:Kg,ba:lv,ca:Cl,da:Tl,ea:Al,fa:Pl,ga:Fl,ha:q,ia:Ze,ja:fd,ka:F$,la:O$,ma:E$,na:L$,oa:ht,pa:hd,qa:te,ra:D$,sa:$$,ta:Jt,ua:Pv,va:j$,wa:at,xa:Ov,ya:R$,za:_$,Aa:k$,Ba:Va,Ca:ut,Da:yd,Ea:B$,Fa:Ki,Ga:pe,Ha:gd,Ia:ie,Ja:Gr,Ka:Dv,La:q$,Ma:qa,Na:M$,Oa:N$,Pa:Yt,Qa:ki,Ra:W$,Sa:$v,Ta:jv,Ua:Rv,Va:z$,Wa:_v,Xa:Or,Ya:Bv,Za:Mv,_a:V$,$a:Nv,ab:U$,bb:G$,cb:Wv,db:zv,eb:H$,fb:Q$,gb:zr,hb:K$,ib:J$,jb:Z$,kb:Y$,lb:X$,mb:ej,nb:tj,ob:Vv,pb:Uv,qb:Gv,rb:rj,sb:Hv,tb:ij,ub:aj,vb:oj,wb:Qv,xb:nj,yb:sj,zb:Kv,Ab:Jv,Bb:lj,Cb:pj,Db:V,Eb:dj,Fb:cj,Gb:Ve,Hb:uj,Ib:fj,Jb:US,Kb:QS,Lb:Dd,Mb:hj,Nb:mj,Ob:yj,Pb:gj,Qb:bj,Rb:ft,Sb:YS,Tb:vj,Ub:Sj,Vb:wj,Wb:xj,Xb:Ij,Yb:Cj,Zb:Tj,_b:Aj,$b:Pj,ac:Fj,bc:Oj,cc:XS,dc:ew,ec:iw,fc:aw,gc:Ej,hc:Ha,ic:Hr,jc:Fr,kc:Lj,lc:It,mc:Dj,nc:lw,oc:ye,pc:pw,qc:dw,rc:$j,sc:cw,tc:Hi,uc:Ia,vc:Qi,wc:fw,xc:hw,yc:jj,zc:yw,Ac:Rj,Bc:Zt,Cc:tr,Dc:_j,Ec:Qa,Fc:kj,Gc:Re,Hc:jd,Ic:Bj,Jc:qj,Kc:qe,Lc:Mj,Mc:Vr,Nc:Nj,Oc:Iw,Pc:Wj,Qc:zj,Rc:Vj,Sc:Tw,Tc:Uj,Uc:Gj,Vc:Aw,Wc:Hj,Xc:Ur,Yc:Ja,Zc:Qj,_c:Rw,$c:Kj,ad:Ya,bd:Jj,cd:qd,dd:Zj,ed:Yj,fd:Xj,gd:eR,hd:tR,id:rR,jd:iR,kd:aR,ld:Bw,md:oR,nd:nR,od:sR,pd:Vd,qd:lR,rd:pR,sd:dR,td:cR,ud:uR}},"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")