@arcgis/charts-components 4.33.0-next.135 → 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 (556) hide show
  1. package/dist/cdn/{TPVTKJF6.js → 22JFTFRX.js} +2 -2
  2. package/dist/cdn/{TYSDALHI.js → 22LS3IEP.js} +2 -2
  3. package/dist/cdn/{4PC5PUVB.js → 233EGFPQ.js} +2 -2
  4. package/dist/cdn/{JXMFNFJV.js → 24JD53YX.js} +2 -2
  5. package/dist/cdn/{BOAWW5L6.js → 26AE7Q6V.js} +2 -2
  6. package/dist/cdn/{6MS7W2HF.js → 2G2DMUXW.js} +2 -2
  7. package/dist/cdn/{FEGIDZVJ.js → 2QP6CHK5.js} +2 -2
  8. package/dist/cdn/{OAON3MSR.js → 3ACA2QXG.js} +2 -2
  9. package/dist/cdn/{H5Z6D3TL.js → 3P2RW7YA.js} +2 -2
  10. package/dist/cdn/{WDZH4FKZ.js → 47PH3KP5.js} +2 -2
  11. package/dist/cdn/{FY3NIDWA.js → 47WBJRSX.js} +2 -2
  12. package/dist/cdn/{PLJMNPYK.js → 4EVP3S22.js} +2 -2
  13. package/dist/cdn/{Y2TU5O2Q.js → 4HYY4YX5.js} +2 -2
  14. package/dist/cdn/{U3QPDPCU.js → 4J4EOSSF.js} +2 -2
  15. package/dist/cdn/{DBXLTGFF.js → 4L6IFERS.js} +2 -2
  16. package/dist/cdn/{CTNLIIVX.js → 4LDFRUBP.js} +2 -2
  17. package/dist/cdn/{RJAVK3TD.js → 4MWZWSPT.js} +2 -2
  18. package/dist/cdn/{OFXALTKW.js → 4NMJ2TN2.js} +2 -2
  19. package/dist/cdn/{HOIU554Y.js → 4T7MWQTK.js} +2 -2
  20. package/dist/cdn/{BJWU2EN5.js → 4WQPY7JQ.js} +2 -2
  21. package/dist/cdn/{3H52W6XY.js → 4YO7VKCZ.js} +2 -2
  22. package/dist/cdn/{VBUPAUMM.js → 5M2BGZTA.js} +2 -2
  23. package/dist/cdn/{6D2YUWMX.js → 5MQVRMDO.js} +2 -2
  24. package/dist/cdn/{DHGMZEO6.js → 5QCSSKMW.js} +2 -2
  25. package/dist/cdn/{LHCMYKS7.js → 5RV4IK5S.js} +2 -2
  26. package/dist/cdn/{BQG77NUZ.js → 5SOBNPSF.js} +2 -2
  27. package/dist/cdn/{23AEL2RQ.js → 66R3TWCY.js} +2 -2
  28. package/dist/cdn/{T7SDKTY2.js → 6CAY2CN7.js} +2 -2
  29. package/dist/cdn/{OEPJHJIM.js → 6CBMZ7QQ.js} +2 -2
  30. package/dist/cdn/{J3AD63YH.js → 6FWYOSK4.js} +2 -2
  31. package/dist/cdn/{L3HKINYS.js → 6IPUT5OS.js} +2 -2
  32. package/dist/cdn/{LPD5634N.js → 6JVPCJ2Z.js} +2 -2
  33. package/dist/cdn/{EIML2H3C.js → 6RJH47E5.js} +2 -2
  34. package/dist/cdn/{525PZ666.js → 6YCMKPVI.js} +2 -2
  35. package/dist/cdn/{YA34NBKQ.js → 6ZXKC4ZW.js} +2 -2
  36. package/dist/cdn/{2ROEGIC4.js → 755ALIJL.js} +2 -2
  37. package/dist/cdn/{FFSAZNPD.js → 75SYVJYF.js} +2 -2
  38. package/dist/cdn/{JTCOIMR6.js → 7DDALVPM.js} +2 -2
  39. package/dist/cdn/{JAO4VURF.js → 7EISVMLE.js} +2 -2
  40. package/dist/cdn/{U4VFGVY3.js → 7IZ6MR6Q.js} +2 -2
  41. package/dist/cdn/{QDYTIUDW.js → 7LNY3KSW.js} +2 -2
  42. package/dist/cdn/{777XB5S5.js → 7THOITII.js} +2 -2
  43. package/dist/cdn/{3AE3DWPS.js → AADZIJTM.js} +2 -2
  44. package/dist/cdn/{AZSVHRTS.js → AD5PBFVT.js} +2 -2
  45. package/dist/cdn/{UPBBTE3X.js → AD6Y6GKR.js} +2 -2
  46. package/dist/cdn/{XPNZKULM.js → AHR7F6FZ.js} +2 -2
  47. package/dist/cdn/{HRIGZQY3.js → AJNAJWCY.js} +2 -2
  48. package/dist/cdn/{MNRTMBHL.js → AKLTS7NT.js} +2 -2
  49. package/dist/cdn/{IATYQOFH.js → AKSKHBZY.js} +2 -2
  50. package/dist/cdn/{EKI5P37E.js → AOGBQSGX.js} +2 -2
  51. package/dist/cdn/{U7XLFVAJ.js → AYK3LI4U.js} +2 -2
  52. package/dist/cdn/{SHZ3FDXD.js → BJHFSXGX.js} +2 -2
  53. package/dist/cdn/{6TNT3HAX.js → BJVWCZXF.js} +2 -2
  54. package/dist/cdn/{QIDP4I3N.js → BLI2WVAS.js} +2 -2
  55. package/dist/cdn/{C52H2Y2E.js → BPDGYXUU.js} +2 -2
  56. package/dist/cdn/{GJHNRTLQ.js → BX6BJ7JF.js} +2 -2
  57. package/dist/cdn/{AJJP2FMT.js → BYJUWLXC.js} +2 -2
  58. package/dist/cdn/{K3GRGGA3.js → C4CYZ5SL.js} +2 -2
  59. package/dist/cdn/{EKFVZZNO.js → C6ISQRRL.js} +2 -2
  60. package/dist/cdn/{W53EEKOD.js → CFM6RBSB.js} +2 -2
  61. package/dist/cdn/{POC2EYNH.js → CHEYPD47.js} +2 -2
  62. package/dist/cdn/{SBHEPTW3.js → CMGOILES.js} +2 -2
  63. package/dist/cdn/{WTZXGZEK.js → CMQ4LSYI.js} +2 -2
  64. package/dist/cdn/{XTKK7EN5.js → CN7C773M.js} +2 -2
  65. package/dist/cdn/{4NXS5AXI.js → CUFALZ62.js} +2 -2
  66. package/dist/cdn/{VFBEDPNU.js → CXOJYTSH.js} +2 -2
  67. package/dist/cdn/{5PY53ADJ.js → D4FT7JNX.js} +2 -2
  68. package/dist/cdn/{TRFBP35H.js → DH4CKNSI.js} +2 -2
  69. package/dist/cdn/{22MM7QZU.js → DIV5JPJV.js} +2 -2
  70. package/dist/cdn/{SXEAKDNE.js → DJH4TTZE.js} +2 -2
  71. package/dist/cdn/{KUKGKGAM.js → DM5Y6XD5.js} +2 -2
  72. package/dist/cdn/{YMRZBGM6.js → DNMGLAOW.js} +4 -4
  73. package/dist/cdn/{BXZOMHBL.js → DOITTPK3.js} +2 -2
  74. package/dist/cdn/{RJ75KC6G.js → DVPHDANW.js} +2 -2
  75. package/dist/cdn/{SCJUB6KI.js → DWXIS37W.js} +2 -2
  76. package/dist/cdn/{SMIMPNBR.js → E3PNUIDD.js} +2 -2
  77. package/dist/cdn/{4GVCSDVB.js → E5JXYLYT.js} +2 -2
  78. package/dist/cdn/{27LEC66D.js → EDJMOOTU.js} +2 -2
  79. package/dist/cdn/{HR57SW7I.js → EENLW3DU.js} +2 -2
  80. package/dist/cdn/{NV77VRQD.js → EF7ULYWM.js} +2 -2
  81. package/dist/cdn/{LN4JCHHL.js → EN3LGEEG.js} +2 -2
  82. package/dist/cdn/{6LOR5G2M.js → EOJFU3TC.js} +2 -2
  83. package/dist/cdn/{QAULDUDZ.js → EPOZCGUH.js} +2 -2
  84. package/dist/cdn/{LKUOONVY.js → EQNM2OHJ.js} +2 -2
  85. package/dist/cdn/{HNNKOTKL.js → EWXHDJ5Z.js} +1 -1
  86. package/dist/cdn/{AQ6MMMIZ.js → EX6G36TK.js} +2 -2
  87. package/dist/cdn/{AINZGXKP.js → FBMIZOLQ.js} +2 -2
  88. package/dist/cdn/{TQY4CAWM.js → FCGMI34F.js} +2 -2
  89. package/dist/cdn/{EIYPO4V2.js → FDI5SZUY.js} +2 -2
  90. package/dist/cdn/{YQJUBS5L.js → FH23NG4N.js} +2 -2
  91. package/dist/cdn/{RI4A5SRC.js → FNK4BCNL.js} +2 -2
  92. package/dist/cdn/{NQGOVPZ3.js → FNOLS2RY.js} +2 -2
  93. package/dist/cdn/{7SIL6CLS.js → FODFZCP2.js} +2 -2
  94. package/dist/cdn/{2ULVQGGO.js → FTVOKTFA.js} +2 -2
  95. package/dist/cdn/{7L36YTKL.js → FXB22ZAB.js} +2 -2
  96. package/dist/cdn/{ESDLJEN2.js → FXE6ZG3E.js} +2 -2
  97. package/dist/cdn/{M6OGSR3I.js → G3UJPHYB.js} +2 -2
  98. package/dist/cdn/{YXAYQU5Q.js → G4LOA7F6.js} +2 -2
  99. package/dist/cdn/{M6HDZIU4.js → G77ERQEA.js} +2 -2
  100. package/dist/cdn/{BDM7XKEG.js → G7LU3DII.js} +2 -2
  101. package/dist/cdn/{6SIQEUMX.js → GGEPOWVP.js} +2 -2
  102. package/dist/cdn/{RVS7UP4L.js → GH2NGRGC.js} +2 -2
  103. package/dist/cdn/{4XSZ3VPH.js → GIQZCG63.js} +2 -2
  104. package/dist/cdn/{UXUQUTJL.js → GL4KYVZS.js} +2 -2
  105. package/dist/cdn/{IWMJTU5M.js → GMHJOY6T.js} +2 -2
  106. package/dist/cdn/{KULJUHZN.js → GMMHWZDO.js} +2 -2
  107. package/dist/cdn/{AT7FHTQM.js → GOT7VCYL.js} +2 -2
  108. package/dist/cdn/{GF6OATYN.js → GPBWKBWM.js} +2 -2
  109. package/dist/cdn/{MQ5KX4G5.js → GSRHTTUY.js} +2 -2
  110. package/dist/cdn/{G3KLHIDV.js → GTUAA3DE.js} +2 -2
  111. package/dist/cdn/{2S5K3RUV.js → GXZ7WDHO.js} +2 -2
  112. package/dist/cdn/{MQITOTAZ.js → GY3OB5OD.js} +2 -2
  113. package/dist/cdn/{2PHVIBRR.js → GYA2HTYX.js} +2 -2
  114. package/dist/cdn/{CFUPGW27.js → H472XGVZ.js} +2 -2
  115. package/dist/cdn/{CZMZVL7T.js → HJBKFWOR.js} +2 -2
  116. package/dist/cdn/{4E33G75X.js → HMDIBYXD.js} +2 -2
  117. package/dist/cdn/{K5QEWVFU.js → HTK73SCS.js} +2 -2
  118. package/dist/cdn/{FHBCGKVG.js → HVHAXLYD.js} +2 -2
  119. package/dist/cdn/{6VAOPQBM.js → HWALTAHZ.js} +2 -2
  120. package/dist/cdn/{6SEU4SCK.js → HZSJWBUM.js} +2 -2
  121. package/dist/cdn/{D564K3P2.js → I6YDHDXS.js} +2 -2
  122. package/dist/cdn/{NGMZ7WCC.js → ICMMBQLT.js} +2 -2
  123. package/dist/cdn/{JQ3XVR3B.js → IFBFMAK6.js} +2 -2
  124. package/dist/cdn/{TFLGTCZW.js → IGOWSQ2O.js} +2 -2
  125. package/dist/cdn/{SSPGQU3F.js → IL3GXOJW.js} +2 -2
  126. package/dist/cdn/{QGVEDSE7.js → IPNUWNB3.js} +2 -2
  127. package/dist/cdn/{OSLH3ZHT.js → IS6VWGAQ.js} +2 -2
  128. package/dist/cdn/{DRWDBQVB.js → ISY2AYU4.js} +2 -2
  129. package/dist/cdn/{N3RZSJ2S.js → ITMFWQXV.js} +2 -2
  130. package/dist/cdn/{XU3464NF.js → IV3VV547.js} +2 -2
  131. package/dist/cdn/{UGD5OLGY.js → IYHIO5F5.js} +2 -2
  132. package/dist/cdn/{RI7EZCJS.js → J23DJPYL.js} +2 -2
  133. package/dist/cdn/{EWN6PKEO.js → J626FMAE.js} +2 -2
  134. package/dist/cdn/{DAP4ZF2N.js → J634NKXD.js} +2 -2
  135. package/dist/cdn/{4YKDYP3P.js → JANHJW62.js} +2 -2
  136. package/dist/cdn/{PLOH4MYT.js → JCRTHSUB.js} +2 -2
  137. package/dist/cdn/{YLQEKFEV.js → JGIDWFTA.js} +2 -2
  138. package/dist/cdn/{7VBXLLZ7.js → JIFWSBBO.js} +2 -2
  139. package/dist/cdn/{GXYQCXYA.js → JJV3DQPZ.js} +2 -2
  140. package/dist/cdn/{GVASXNWW.js → JNRH64ZN.js} +2 -2
  141. package/dist/cdn/{AMKIXM4O.js → JTUK3G72.js} +2 -2
  142. package/dist/cdn/{5KTYPY46.js → JU2YDF4C.js} +2 -2
  143. package/dist/cdn/{EH5XCN5T.js → JVXQWUV4.js} +2 -2
  144. package/dist/cdn/{DVCDO4XB.js → JX54HHON.js} +2 -2
  145. package/dist/cdn/{I7ZEOOGS.js → K6RRZXIP.js} +2 -2
  146. package/dist/cdn/{PGK4I3HB.js → KLE42LBA.js} +2 -2
  147. package/dist/cdn/{RHJBMKD6.js → KMTJGYJR.js} +2 -2
  148. package/dist/cdn/{4UQ2FDXQ.js → KRZD2UIB.js} +2 -2
  149. package/dist/cdn/{HXNX3422.js → KUXFFDJO.js} +2 -2
  150. package/dist/cdn/{ZE3UIMVE.js → L3REU4LD.js} +2 -2
  151. package/dist/cdn/{KXHOOIBA.js → LA3LUM2V.js} +2 -2
  152. package/dist/cdn/{MXXEURCR.js → LBKR5ZJX.js} +2 -2
  153. package/dist/cdn/{OTAJYE5L.js → LDU3B3MP.js} +2 -2
  154. package/dist/cdn/{ZWDDOLE4.js → LGAM5S4Y.js} +2 -2
  155. package/dist/cdn/{T6Z2CKYQ.js → LIWGK645.js} +2 -2
  156. package/dist/cdn/{DJXWNMYK.js → LOPUWDDW.js} +2 -2
  157. package/dist/cdn/{5Z4YNZD4.js → LWRI5HWC.js} +2 -2
  158. package/dist/cdn/{Z3YO3Z4U.js → LYNUP6UG.js} +2 -2
  159. package/dist/cdn/{3JCPKOSG.js → LYYEE72K.js} +2 -2
  160. package/dist/cdn/{VZ3JXHMN.js → M6WZKUDU.js} +2 -2
  161. package/dist/cdn/{34C4MMVH.js → MCUAVJEE.js} +2 -2
  162. package/dist/cdn/{66DTHEST.js → MMRIXO37.js} +2 -2
  163. package/dist/cdn/{3Z44OBEJ.js → MXENTHHF.js} +2 -2
  164. package/dist/cdn/{RFOFR2BW.js → N6CILEVW.js} +2 -2
  165. package/dist/cdn/{657UJRHF.js → NRT7QFHW.js} +2 -2
  166. package/dist/cdn/{LRFC4SEA.js → NWZNOYS3.js} +2 -2
  167. package/dist/cdn/{CBYKF2WP.js → NXLYTLL7.js} +2 -2
  168. package/dist/cdn/{IL2OHFXN.js → NXTG6HP5.js} +2 -2
  169. package/dist/cdn/{ASO6V4QV.js → O23OBC4O.js} +2 -2
  170. package/dist/cdn/{R7PQBMKH.js → O7QKERC3.js} +2 -2
  171. package/dist/cdn/{FCBSXHZT.js → OC3ZPQVU.js} +2 -2
  172. package/dist/cdn/{44WNQGI5.js → OMOIIUYP.js} +2 -2
  173. package/dist/cdn/{QIUARS7Y.js → OQAMK3YH.js} +2 -2
  174. package/dist/cdn/{C53FMV4Y.js → P6DSFWPS.js} +1 -1
  175. package/dist/cdn/{JTTXO66E.js → PEOAREK6.js} +2 -2
  176. package/dist/cdn/{I65N6KYY.js → PFU64OSO.js} +2 -2
  177. package/dist/cdn/{FEHDS723.js → PHGZQNPV.js} +2 -2
  178. package/dist/cdn/{FXEO6A3I.js → PIYO7GK7.js} +2 -2
  179. package/dist/cdn/{2ASHO5HY.js → PNKF7JL7.js} +2 -2
  180. package/dist/cdn/{NNKHBXVG.js → QH42VE55.js} +2 -2
  181. package/dist/cdn/{FW4F7C43.js → QJU4BQFI.js} +2 -2
  182. package/dist/cdn/{NM5IQUQJ.js → QMIP2M46.js} +2 -2
  183. package/dist/cdn/{VLXKM2YQ.js → QSMTO3UV.js} +2 -2
  184. package/dist/cdn/{PG53KXS2.js → R7KGDSP6.js} +2 -2
  185. package/dist/cdn/{XS625SVU.js → RAHNL3FK.js} +2 -2
  186. package/dist/cdn/{YBLET2DG.js → RHAT65PA.js} +2 -2
  187. package/dist/cdn/{PM2IJO3G.js → RICH3QOU.js} +2 -2
  188. package/dist/cdn/{4HCHRX52.js → ROCQOV6L.js} +2 -2
  189. package/dist/cdn/{VRDFGAIY.js → RORSWRV6.js} +2 -2
  190. package/dist/cdn/{GFMQI2K2.js → RPBYRD5X.js} +2 -2
  191. package/dist/cdn/{7LBBHQCF.js → RRGS33NP.js} +2 -2
  192. package/dist/cdn/{YPP5ZDH7.js → RRGZSTUW.js} +1 -1
  193. package/dist/cdn/{DJKEAGWB.js → RWVDXPOT.js} +2 -2
  194. package/dist/cdn/{552LU2JW.js → RXHFQF37.js} +2 -2
  195. package/dist/cdn/{4BRSEFHY.js → S2SCMGSI.js} +2 -2
  196. package/dist/cdn/{UI7UU6WZ.js → S3CUSAB3.js} +2 -2
  197. package/dist/cdn/{2XMJ7WMA.js → S4DHQSIH.js} +2 -2
  198. package/dist/cdn/{L766IVKH.js → SF4ESJ5G.js} +2 -2
  199. package/dist/cdn/{NANEWL2B.js → SKTRQZI4.js} +2 -2
  200. package/dist/cdn/{7EJV22JK.js → SR42DTA7.js} +2 -2
  201. package/dist/cdn/{R5FWDWLT.js → STJNXDD7.js} +2 -2
  202. package/dist/cdn/{IYYONHNT.js → T2HI3PDD.js} +2 -2
  203. package/dist/cdn/{DV2J7BBY.js → T4GTWZHU.js} +2 -2
  204. package/dist/cdn/{BBQENVFX.js → TFJ3GGST.js} +2 -2
  205. package/dist/cdn/{7PWGVIDT.js → TFVZPQZQ.js} +2 -2
  206. package/dist/cdn/{KDSDZCSW.js → TGLDSY4E.js} +7 -7
  207. package/dist/cdn/{KGUAU3J4.js → TGQX3KZT.js} +2 -2
  208. package/dist/cdn/{FCFSO6DW.js → TJ3IT2GL.js} +2 -2
  209. package/dist/cdn/{A3BIODXS.js → TLMNAVVB.js} +2 -2
  210. package/dist/cdn/{OBEUAKAW.js → TO7P66RQ.js} +2 -2
  211. package/dist/cdn/{7EL6QW7T.js → TOOPS4EG.js} +2 -2
  212. package/dist/cdn/{P2O3ZHRN.js → TQVF2LC7.js} +2 -2
  213. package/dist/cdn/{ANEJO25Y.js → TT2QWNOF.js} +2 -2
  214. package/dist/cdn/{DVPDKGN6.js → TV64YPS2.js} +2 -2
  215. package/dist/cdn/{4XGFPAAW.js → U6VJHL45.js} +2 -2
  216. package/dist/cdn/{K4GQJMRN.js → UADIA5K4.js} +2 -2
  217. package/dist/cdn/{VYI6U4DI.js → UAXC76TJ.js} +2 -2
  218. package/dist/cdn/{66QWTTLY.js → UGQ5OZSL.js} +2 -2
  219. package/dist/cdn/{P7QZZSFN.js → UGXTDAY6.js} +2 -2
  220. package/dist/cdn/{TCDYPHON.js → UGZM7XLM.js} +2 -2
  221. package/dist/cdn/{N2CS4LQZ.js → ULWZFWDT.js} +2 -2
  222. package/dist/cdn/{4NEO6HR3.js → UMBFXUD7.js} +2 -2
  223. package/dist/cdn/{DVCJLU3O.js → UNAZJPAU.js} +2 -2
  224. package/dist/cdn/{FD3EIS5H.js → UNRASYLZ.js} +2 -2
  225. package/dist/cdn/{7A4TW6ML.js → UOR4LSHE.js} +2 -2
  226. package/dist/cdn/{COU5PBKH.js → UPT3V4F7.js} +2 -2
  227. package/dist/cdn/{VBQBQZTR.js → USNVN4ZK.js} +2 -2
  228. package/dist/cdn/{NHCNOLVY.js → UUOCQKDU.js} +2 -2
  229. package/dist/cdn/{ZET36T3O.js → UZVBK2IH.js} +2 -2
  230. package/dist/cdn/{ZYRSZLRP.js → V37MLXRK.js} +2 -2
  231. package/dist/cdn/{FWGXGSWC.js → V526EMCZ.js} +2 -2
  232. package/dist/cdn/{U74VARMZ.js → V6NYHJDD.js} +2 -2
  233. package/dist/cdn/{DBD3JRWQ.js → VAOW5KYP.js} +2 -2
  234. package/dist/cdn/{Q7OXNXCR.js → VENJT36V.js} +1 -1
  235. package/dist/cdn/{3FRAJ37H.js → VIO42PIM.js} +2 -2
  236. package/dist/cdn/{KAQ4CQS3.js → VKQKH2OQ.js} +2 -2
  237. package/dist/cdn/{6IM7CI5L.js → VPLECF5H.js} +2 -2
  238. package/dist/cdn/{LKWDC4MU.js → VQEQDJDY.js} +2 -2
  239. package/dist/cdn/{JA2LMDRS.js → VUMZ5CLO.js} +2 -2
  240. package/dist/cdn/{3PKLWBQA.js → VVOMBFLV.js} +2 -2
  241. package/dist/cdn/{EBAH3LNE.js → VYJWMYO3.js} +2 -2
  242. package/dist/cdn/{FFDBORCF.js → W57BODQO.js} +2 -2
  243. package/dist/cdn/{MW5RLD3P.js → W5J56HRP.js} +2 -2
  244. package/dist/cdn/{SEIUJ3SK.js → W7JWVST3.js} +2 -2
  245. package/dist/cdn/{HIJIFIPX.js → WGBCSG4J.js} +2 -2
  246. package/dist/cdn/{FG7NROBU.js → WOSPM26B.js} +2 -2
  247. package/dist/cdn/{WDZ57HQL.js → WZG556QN.js} +2 -2
  248. package/dist/cdn/{PLDFSYB6.js → WZTV3V3C.js} +2 -2
  249. package/dist/cdn/{DACZWMRP.js → X4772BRM.js} +2 -2
  250. package/dist/cdn/{OVOZ3N4Q.js → X7PISVVF.js} +2 -2
  251. package/dist/cdn/{KL44Q4UZ.js → XE2KNJZB.js} +2 -2
  252. package/dist/cdn/{D63O5VNC.js → XEGTGWPE.js} +2 -2
  253. package/dist/cdn/{OCKI7GSF.js → XNEGWZTH.js} +2 -2
  254. package/dist/cdn/{PUJBSU7O.js → XRSO66S2.js} +2 -2
  255. package/dist/cdn/{AIILCAIV.js → XS4QASSB.js} +2 -2
  256. package/dist/cdn/{WSKY3LP4.js → XU62XTG7.js} +2 -2
  257. package/dist/cdn/{AJ72RUQO.js → XUR26ZCM.js} +2 -2
  258. package/dist/cdn/{EUDOBBPZ.js → XUZGEJME.js} +2 -2
  259. package/dist/cdn/{VFVSFYNK.js → Y5FD3DHM.js} +2 -2
  260. package/dist/cdn/{VURNXUFB.js → Y5WN5MAM.js} +2 -2
  261. package/dist/cdn/{X5G5JVHY.js → Y7S4XA6Q.js} +2 -2
  262. package/dist/cdn/{LQJF2M7M.js → YCF3HL7J.js} +2 -2
  263. package/dist/cdn/{JKHPSSP2.js → YDYVEKCM.js} +2 -2
  264. package/dist/cdn/{BXEZ6ZMB.js → YECITZ5A.js} +2 -2
  265. package/dist/cdn/{UFD4ZZQ3.js → YK5M6B42.js} +1 -1
  266. package/dist/cdn/{EMSY4ZIK.js → YKDNAAHW.js} +2 -2
  267. package/dist/cdn/{JLC6QMSC.js → YQP55AWA.js} +2 -2
  268. package/dist/cdn/{WIJ72QGL.js → YR7OZMBC.js} +2 -2
  269. package/dist/cdn/{E3Q23AP4.js → YWQVRBGO.js} +2 -2
  270. package/dist/cdn/{63VBLTAY.js → YXJML252.js} +2 -2
  271. package/dist/cdn/{ARR5E3R3.js → Z77LQLHS.js} +2 -2
  272. package/dist/cdn/{RE4EPXMD.js → ZEDTW6JQ.js} +2 -2
  273. package/dist/cdn/{6VLTICGH.js → ZJF7NCI4.js} +2 -2
  274. package/dist/cdn/{T5TFDBM4.js → ZO7D6SFR.js} +2 -2
  275. package/dist/cdn/{EV7A4QVH.js → ZS7NMHUY.js} +2 -2
  276. package/dist/cdn/{RECYNBDU.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.es.json +1 -1
  286. package/dist/cdn/assets/charts-action-bar/t9n/messages.et.json +1 -1
  287. package/dist/cdn/assets/charts-action-bar/t9n/messages.fi.json +1 -1
  288. package/dist/cdn/assets/charts-action-bar/t9n/messages.fr.json +1 -1
  289. package/dist/cdn/assets/charts-action-bar/t9n/messages.he.json +1 -1
  290. package/dist/cdn/assets/charts-action-bar/t9n/messages.hr.json +1 -1
  291. package/dist/cdn/assets/charts-action-bar/t9n/messages.hu.json +1 -1
  292. package/dist/cdn/assets/charts-action-bar/t9n/messages.id.json +1 -1
  293. package/dist/cdn/assets/charts-action-bar/t9n/messages.it.json +1 -1
  294. package/dist/cdn/assets/charts-action-bar/t9n/messages.ja.json +1 -1
  295. package/dist/cdn/assets/charts-action-bar/t9n/messages.ko.json +1 -1
  296. package/dist/cdn/assets/charts-action-bar/t9n/messages.lt.json +1 -1
  297. package/dist/cdn/assets/charts-action-bar/t9n/messages.lv.json +1 -1
  298. package/dist/cdn/assets/charts-action-bar/t9n/messages.nl.json +1 -1
  299. package/dist/cdn/assets/charts-action-bar/t9n/messages.no.json +1 -1
  300. package/dist/cdn/assets/charts-action-bar/t9n/messages.pl.json +1 -1
  301. package/dist/cdn/assets/charts-action-bar/t9n/messages.pt-BR.json +1 -1
  302. package/dist/cdn/assets/charts-action-bar/t9n/messages.pt-PT.json +1 -1
  303. package/dist/cdn/assets/charts-action-bar/t9n/messages.ro.json +1 -1
  304. package/dist/cdn/assets/charts-action-bar/t9n/messages.ru.json +1 -1
  305. package/dist/cdn/assets/charts-action-bar/t9n/messages.sk.json +1 -1
  306. package/dist/cdn/assets/charts-action-bar/t9n/messages.sl.json +1 -1
  307. package/dist/cdn/assets/charts-action-bar/t9n/messages.sr.json +1 -1
  308. package/dist/cdn/assets/charts-action-bar/t9n/messages.sv.json +1 -1
  309. package/dist/cdn/assets/charts-action-bar/t9n/messages.th.json +1 -1
  310. package/dist/cdn/assets/charts-action-bar/t9n/messages.tr.json +1 -1
  311. package/dist/cdn/assets/charts-action-bar/t9n/messages.uk.json +1 -1
  312. package/dist/cdn/assets/charts-action-bar/t9n/messages.vi.json +1 -1
  313. package/dist/cdn/assets/charts-action-bar/t9n/messages.zh-CN.json +1 -1
  314. package/dist/cdn/assets/charts-action-bar/t9n/messages.zh-HK.json +1 -1
  315. package/dist/cdn/assets/charts-action-bar/t9n/messages.zh-TW.json +1 -1
  316. package/dist/cdn/index.js +2 -2
  317. package/dist/cdn/model.js +2 -2
  318. package/dist/chunks/action-bar-utils.js +1 -1
  319. package/dist/chunks/axis-model-wrapper.js +1 -1
  320. package/dist/chunks/bg_BG.js +1 -1
  321. package/dist/chunks/bg_BG2.js +1 -1
  322. package/dist/chunks/chart-ui-utils.js +1 -1
  323. package/dist/chunks/chart-ui-utils2.js +1 -1
  324. package/dist/chunks/default.js +1 -1
  325. package/dist/chunks/index.js +1 -1
  326. package/dist/chunks/index2.js +1 -1
  327. package/dist/chunks/index3.js +1 -1
  328. package/dist/chunks/interfaces.js +1 -1
  329. package/dist/chunks/interfaces2.js +1 -1
  330. package/dist/chunks/messages.ar.js +1 -1
  331. package/dist/chunks/messages.ar2.js +1 -1
  332. package/dist/chunks/messages.ar3.js +1 -1
  333. package/dist/chunks/messages.ar4.js +1 -1
  334. package/dist/chunks/messages.bg.js +1 -1
  335. package/dist/chunks/messages.bg2.js +1 -1
  336. package/dist/chunks/messages.bg3.js +1 -1
  337. package/dist/chunks/messages.bg4.js +1 -1
  338. package/dist/chunks/messages.bs.js +1 -1
  339. package/dist/chunks/messages.bs2.js +1 -1
  340. package/dist/chunks/messages.bs3.js +1 -1
  341. package/dist/chunks/messages.bs4.js +1 -1
  342. package/dist/chunks/messages.ca.js +1 -1
  343. package/dist/chunks/messages.ca2.js +1 -1
  344. package/dist/chunks/messages.ca3.js +1 -1
  345. package/dist/chunks/messages.ca4.js +1 -1
  346. package/dist/chunks/messages.cs.js +1 -1
  347. package/dist/chunks/messages.cs2.js +1 -1
  348. package/dist/chunks/messages.cs3.js +1 -1
  349. package/dist/chunks/messages.cs4.js +1 -1
  350. package/dist/chunks/messages.da.js +1 -1
  351. package/dist/chunks/messages.da2.js +1 -1
  352. package/dist/chunks/messages.da3.js +1 -1
  353. package/dist/chunks/messages.de.js +1 -1
  354. package/dist/chunks/messages.de2.js +1 -1
  355. package/dist/chunks/messages.de3.js +1 -1
  356. package/dist/chunks/messages.de4.js +1 -1
  357. package/dist/chunks/messages.el.js +1 -1
  358. package/dist/chunks/messages.el2.js +1 -1
  359. package/dist/chunks/messages.el3.js +1 -1
  360. package/dist/chunks/messages.el4.js +1 -1
  361. package/dist/chunks/messages.en-US.js +1 -1
  362. package/dist/chunks/messages.en-US2.js +1 -1
  363. package/dist/chunks/messages.en-US3.js +1 -1
  364. package/dist/chunks/messages.en-US4.js +1 -1
  365. package/dist/chunks/messages.en.js +1 -1
  366. package/dist/chunks/messages.en2.js +1 -1
  367. package/dist/chunks/messages.en3.js +1 -1
  368. package/dist/chunks/messages.es.js +1 -1
  369. package/dist/chunks/messages.es2.js +1 -1
  370. package/dist/chunks/messages.es3.js +1 -1
  371. package/dist/chunks/messages.es4.js +1 -1
  372. package/dist/chunks/messages.et.js +1 -1
  373. package/dist/chunks/messages.et2.js +1 -1
  374. package/dist/chunks/messages.et3.js +1 -1
  375. package/dist/chunks/messages.et4.js +1 -1
  376. package/dist/chunks/messages.fi.js +1 -1
  377. package/dist/chunks/messages.fi2.js +1 -1
  378. package/dist/chunks/messages.fi3.js +1 -1
  379. package/dist/chunks/messages.fi4.js +1 -1
  380. package/dist/chunks/messages.fr.js +1 -1
  381. package/dist/chunks/messages.fr2.js +1 -1
  382. package/dist/chunks/messages.fr3.js +1 -1
  383. package/dist/chunks/messages.fr4.js +1 -1
  384. package/dist/chunks/messages.he.js +1 -1
  385. package/dist/chunks/messages.he2.js +1 -1
  386. package/dist/chunks/messages.he3.js +1 -1
  387. package/dist/chunks/messages.he4.js +1 -1
  388. package/dist/chunks/messages.hr.js +1 -1
  389. package/dist/chunks/messages.hr2.js +1 -1
  390. package/dist/chunks/messages.hr3.js +1 -1
  391. package/dist/chunks/messages.hr4.js +1 -1
  392. package/dist/chunks/messages.hu.js +1 -1
  393. package/dist/chunks/messages.hu2.js +1 -1
  394. package/dist/chunks/messages.hu3.js +1 -1
  395. package/dist/chunks/messages.hu4.js +1 -1
  396. package/dist/chunks/messages.id.js +1 -1
  397. package/dist/chunks/messages.id2.js +1 -1
  398. package/dist/chunks/messages.id3.js +1 -1
  399. package/dist/chunks/messages.id4.js +1 -1
  400. package/dist/chunks/messages.it.js +1 -1
  401. package/dist/chunks/messages.it2.js +1 -1
  402. package/dist/chunks/messages.it3.js +1 -1
  403. package/dist/chunks/messages.it4.js +1 -1
  404. package/dist/chunks/messages.ja.js +1 -1
  405. package/dist/chunks/messages.ja2.js +1 -1
  406. package/dist/chunks/messages.ja3.js +1 -1
  407. package/dist/chunks/messages.ja4.js +1 -1
  408. package/dist/chunks/messages.ko.js +1 -1
  409. package/dist/chunks/messages.ko2.js +1 -1
  410. package/dist/chunks/messages.ko3.js +1 -1
  411. package/dist/chunks/messages.ko4.js +1 -1
  412. package/dist/chunks/messages.lt.js +1 -1
  413. package/dist/chunks/messages.lt2.js +1 -1
  414. package/dist/chunks/messages.lt3.js +1 -1
  415. package/dist/chunks/messages.lt4.js +1 -1
  416. package/dist/chunks/messages.lv.js +1 -1
  417. package/dist/chunks/messages.lv2.js +1 -1
  418. package/dist/chunks/messages.lv3.js +1 -1
  419. package/dist/chunks/messages.lv4.js +1 -1
  420. package/dist/chunks/messages.nl.js +1 -1
  421. package/dist/chunks/messages.nl2.js +1 -1
  422. package/dist/chunks/messages.nl3.js +1 -1
  423. package/dist/chunks/messages.nl4.js +1 -1
  424. package/dist/chunks/messages.no.js +1 -1
  425. package/dist/chunks/messages.no2.js +1 -1
  426. package/dist/chunks/messages.no3.js +1 -1
  427. package/dist/chunks/messages.pl.js +1 -1
  428. package/dist/chunks/messages.pl2.js +1 -1
  429. package/dist/chunks/messages.pl3.js +1 -1
  430. package/dist/chunks/messages.pl4.js +1 -1
  431. package/dist/chunks/messages.pt-BR.js +1 -1
  432. package/dist/chunks/messages.pt-BR2.js +1 -1
  433. package/dist/chunks/messages.pt-BR3.js +1 -1
  434. package/dist/chunks/messages.pt-BR4.js +1 -1
  435. package/dist/chunks/messages.pt-PT.js +1 -1
  436. package/dist/chunks/messages.pt-PT2.js +1 -1
  437. package/dist/chunks/messages.pt-PT3.js +1 -1
  438. package/dist/chunks/messages.pt-PT4.js +1 -1
  439. package/dist/chunks/messages.ro.js +1 -1
  440. package/dist/chunks/messages.ro2.js +1 -1
  441. package/dist/chunks/messages.ro3.js +1 -1
  442. package/dist/chunks/messages.ro4.js +1 -1
  443. package/dist/chunks/messages.ru.js +1 -1
  444. package/dist/chunks/messages.ru2.js +1 -1
  445. package/dist/chunks/messages.ru3.js +1 -1
  446. package/dist/chunks/messages.ru4.js +1 -1
  447. package/dist/chunks/messages.sk.js +1 -1
  448. package/dist/chunks/messages.sk2.js +1 -1
  449. package/dist/chunks/messages.sk3.js +1 -1
  450. package/dist/chunks/messages.sk4.js +1 -1
  451. package/dist/chunks/messages.sl.js +1 -1
  452. package/dist/chunks/messages.sl2.js +1 -1
  453. package/dist/chunks/messages.sl3.js +1 -1
  454. package/dist/chunks/messages.sl4.js +1 -1
  455. package/dist/chunks/messages.sr.js +1 -1
  456. package/dist/chunks/messages.sr2.js +1 -1
  457. package/dist/chunks/messages.sr3.js +1 -1
  458. package/dist/chunks/messages.sr4.js +1 -1
  459. package/dist/chunks/messages.sv.js +1 -1
  460. package/dist/chunks/messages.sv2.js +1 -1
  461. package/dist/chunks/messages.sv3.js +1 -1
  462. package/dist/chunks/messages.sv4.js +1 -1
  463. package/dist/chunks/messages.th.js +1 -1
  464. package/dist/chunks/messages.th2.js +1 -1
  465. package/dist/chunks/messages.th3.js +1 -1
  466. package/dist/chunks/messages.th4.js +1 -1
  467. package/dist/chunks/messages.tr.js +1 -1
  468. package/dist/chunks/messages.tr2.js +1 -1
  469. package/dist/chunks/messages.tr3.js +1 -1
  470. package/dist/chunks/messages.uk.js +1 -1
  471. package/dist/chunks/messages.uk2.js +1 -1
  472. package/dist/chunks/messages.uk3.js +1 -1
  473. package/dist/chunks/messages.uk4.js +1 -1
  474. package/dist/chunks/messages.vi.js +1 -1
  475. package/dist/chunks/messages.vi2.js +1 -1
  476. package/dist/chunks/messages.vi3.js +1 -1
  477. package/dist/chunks/messages.vi4.js +1 -1
  478. package/dist/chunks/messages.zh-CN.js +1 -1
  479. package/dist/chunks/messages.zh-CN2.js +1 -1
  480. package/dist/chunks/messages.zh-CN3.js +1 -1
  481. package/dist/chunks/messages.zh-CN4.js +1 -1
  482. package/dist/chunks/messages.zh-HK.js +1 -1
  483. package/dist/chunks/messages.zh-HK2.js +1 -1
  484. package/dist/chunks/messages.zh-HK3.js +1 -1
  485. package/dist/chunks/messages.zh-HK4.js +1 -1
  486. package/dist/chunks/messages.zh-TW.js +1 -1
  487. package/dist/chunks/messages.zh-TW2.js +1 -1
  488. package/dist/chunks/messages.zh-TW3.js +1 -1
  489. package/dist/chunks/messages.zh-TW4.js +1 -1
  490. package/dist/chunks/popover-ui-utils.js +1 -1
  491. package/dist/chunks/resource.js +1 -1
  492. package/dist/chunks/runtime.js +1 -1
  493. package/dist/chunks/scatter-plot-model.js +1 -1
  494. package/dist/chunks/setup-utils.js +1 -1
  495. package/dist/chunks/sk_SK.js +1 -1
  496. package/dist/chunks/sk_SK2.js +1 -1
  497. package/dist/chunks/store.js +1 -1
  498. package/dist/chunks/type-guards.js +1 -1
  499. package/dist/chunks/useT9n.js +1 -1
  500. package/dist/chunks/web-component-utils.js +1 -1
  501. package/dist/components/arcgis-chart/customElement.js +1 -1
  502. package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
  503. package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
  504. package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
  505. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  506. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
  507. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
  508. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
  509. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
  510. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  511. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
  512. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  513. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
  514. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
  515. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  516. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
  517. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  518. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  519. package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
  520. package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
  521. package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
  522. package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
  523. package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
  524. package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
  525. package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
  526. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
  527. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  528. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  529. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
  530. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
  531. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  532. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  533. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
  534. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
  535. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
  536. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
  537. package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
  538. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  539. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
  540. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
  541. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
  542. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
  543. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
  544. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  545. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
  546. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
  547. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
  548. package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
  549. package/dist/docs/api.json +2 -2
  550. package/dist/docs/docs.json +2 -2
  551. package/dist/docs/web-types.json +1 -1
  552. package/dist/index.js +1 -1
  553. package/dist/loader.js +1 -1
  554. package/dist/model.js +1 -1
  555. package/package.json +7 -7
  556. /package/dist/{main.css → cdn/main.css} +0 -0
@@ -1,7 +1,7 @@
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.135 */
4
- import{b as ac,d as oc}from"./C53FMV4Y.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," ")+`
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
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+=`';
@@ -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 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("./KL44Q4UZ.js");switch(e){case q.Arabic:r=await import("./YQJUBS5L.js");break;case q.Bosnian:r=await import("./3Z44OBEJ.js");break;case q.Bulgarian:r=await import("./TCDYPHON.js");break;case q.Catalan:r=await import("./4PC5PUVB.js");break;case q.Czech:r=await import("./FCFSO6DW.js");break;case q.Danish:r=await import("./XPNZKULM.js");break;case q.German:r=await import("./4XGFPAAW.js");break;case q.Greek:r=await import("./WIJ72QGL.js");break;case q.EnglishUSA:r=await import("./FEHDS723.js");break;case q.Spanish:r=await import("./DJKEAGWB.js");break;case q.Estonian:r=await import("./X5G5JVHY.js");break;case q.Finnish:r=await import("./6SIQEUMX.js");break;case q.French:r=await import("./FHBCGKVG.js");break;case q.Hebrew:r=await import("./L766IVKH.js");break;case q.Croatian:r=await import("./EKI5P37E.js");break;case q.Hungarian:r=await import("./JA2LMDRS.js");break;case q.Indonesian:r=await import("./22MM7QZU.js");break;case q.Italian:r=await import("./AIILCAIV.js");break;case q.Japanese:r=await import("./KXHOOIBA.js");break;case q.Korean:r=await import("./LHCMYKS7.js");break;case q.Lithuanian:r=await import("./6MS7W2HF.js");break;case q.Latvian:r=await import("./JQ3XVR3B.js");break;case q.NorwegianBokml:r=await import("./GF6OATYN.js");break;case q.Dutch:r=await import("./PM2IJO3G.js");break;case q.Polish:r=await import("./HIJIFIPX.js");break;case q.PortugueseBrazil:r=await import("./7VBXLLZ7.js");break;case q.PortuguesePortugal:r=await import("./T6Z2CKYQ.js");break;case q.Romanian:r=await import("./525PZ666.js");break;case q.Russian:r=await import("./RHJBMKD6.js");break;case q.Serbian:r=await import("./QIUARS7Y.js");break;case q.Slovak:r=await import("./AMKIXM4O.js");break;case q.Slovenian:r=await import("./OVOZ3N4Q.js");break;case q.Swedish:r=await import("./EBAH3LNE.js");break;case q.Thai:r=await import("./NHCNOLVY.js");break;case q.Turkish:r=await import("./RJAVK3TD.js");break;case q.Ukrainian:r=await import("./DVPDKGN6.js");break;case q.Vietnamese:r=await import("./XU3464NF.js");break;case q.ChineseChina:r=await import("./EUDOBBPZ.js");break;case q.ChineseHongKong:r=await import("./VURNXUFB.js");break;case q.ChineseTaiwan:r=await import("./R5FWDWLT.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("./FG7NROBU.js");switch(e){case q.Arabic:r=await import("./DHGMZEO6.js");break;case q.Bosnian:r=await import("./VBQBQZTR.js");break;case q.Bulgarian:r=await import("./LRFC4SEA.js");break;case q.Catalan:r=await import("./2PHVIBRR.js");break;case q.Czech:r=await import("./OTAJYE5L.js");break;case q.Danish:r=await import("./PG53KXS2.js");break;case q.German:r=await import("./DVCJLU3O.js");break;case q.Greek:r=await import("./SCJUB6KI.js");break;case q.EnglishUSA:r=await import("./CFUPGW27.js");break;case q.Spanish:r=await import("./MNRTMBHL.js");break;case q.Estonian:r=await import("./SBHEPTW3.js");break;case q.Finnish:r=await import("./QGVEDSE7.js");break;case q.French:r=await import("./POC2EYNH.js");break;case q.Hebrew:r=await import("./HOIU554Y.js");break;case q.Croatian:r=await import("./I65N6KYY.js");break;case q.Hungarian:r=await import("./U74VARMZ.js");break;case q.Indonesian:r=await import("./7EL6QW7T.js");break;case q.Italian:r=await import("./N3RZSJ2S.js");break;case q.Japanese:r=await import("./AZSVHRTS.js");break;case q.Korean:r=await import("./D564K3P2.js");break;case q.Lithuanian:r=await import("./2S5K3RUV.js");break;case q.Latvian:r=await import("./34C4MMVH.js");break;case q.NorwegianBokml:r=await import("./6LOR5G2M.js");break;case q.Dutch:r=await import("./BDM7XKEG.js");break;case q.Polish:r=await import("./RI7EZCJS.js");break;case q.PortugueseBrazil:r=await import("./WDZ57HQL.js");break;case q.PortuguesePortugal:r=await import("./EMSY4ZIK.js");break;case q.Romanian:r=await import("./PGK4I3HB.js");break;case q.Russian:r=await import("./EH5XCN5T.js");break;case q.Serbian:r=await import("./FD3EIS5H.js");break;case q.Slovak:r=await import("./W53EEKOD.js");break;case q.Slovenian:r=await import("./7EJV22JK.js");break;case q.Swedish:r=await import("./AINZGXKP.js");break;case q.Thai:r=await import("./GFMQI2K2.js");break;case q.Turkish:r=await import("./6IM7CI5L.js");break;case q.Ukrainian:r=await import("./ASO6V4QV.js");break;case q.Vietnamese:r=await import("./OEPJHJIM.js");break;case q.ChineseChina:r=await import("./K3GRGGA3.js");break;case q.ChineseHongKong:r=await import("./AJJP2FMT.js");break;case q.ChineseTaiwan:r=await import("./BBQENVFX.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")
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")