@arcgis/charts-components 4.34.0-next.24 → 4.34.0-next.25

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 (585) hide show
  1. package/dist/cdn/{UHSE367A.js → 23IPJDJQ.js} +2 -2
  2. package/dist/cdn/{K65YAE5V.js → 24AGKOGA.js} +2 -2
  3. package/dist/cdn/{IJ5EZYOA.js → 2B37NVVE.js} +2 -2
  4. package/dist/cdn/{NNHBOSWX.js → 2JPYYQGV.js} +2 -2
  5. package/dist/cdn/{N6DPAXOI.js → 2K62AJWX.js} +2 -2
  6. package/dist/cdn/{SBV53LTQ.js → 2QFFA4KT.js} +2 -2
  7. package/dist/cdn/{ND6OCWC3.js → 2QU6VBU3.js} +2 -2
  8. package/dist/cdn/{KSCEELSX.js → 2TAEW6AI.js} +2 -2
  9. package/dist/cdn/{7CZZH2A3.js → 2U6WB3UC.js} +2 -2
  10. package/dist/cdn/{IH4MVUDF.js → 2X6HHZ6Y.js} +2 -2
  11. package/dist/cdn/{URY23GMB.js → 3BLUZA5H.js} +2 -2
  12. package/dist/cdn/{TURDC26P.js → 3EQVVI7Y.js} +1 -1
  13. package/dist/cdn/{P2XS7KWZ.js → 3JRG2IIY.js} +2 -2
  14. package/dist/cdn/{SWQDWBM3.js → 3NWOZA5B.js} +2 -2
  15. package/dist/cdn/{4HYSJJMF.js → 3OG3BYVG.js} +2 -2
  16. package/dist/cdn/3TVSXIC5.js +4 -0
  17. package/dist/cdn/{2Y4YCQR3.js → 42CJYIPR.js} +2 -2
  18. package/dist/cdn/45IDCKAX.js +4 -0
  19. package/dist/cdn/{FKNJCM5F.js → 4BRDQ7PI.js} +2 -2
  20. package/dist/cdn/{QRL2RNOO.js → 4JGIMWKK.js} +2 -2
  21. package/dist/cdn/{67EJPFRD.js → 4TZIBUHR.js} +1 -1
  22. package/dist/cdn/{H226C3NR.js → 4VKREQE7.js} +2 -2
  23. package/dist/cdn/{MXYO3LLW.js → 4ZT6KSF3.js} +2 -2
  24. package/dist/cdn/{M5X4E5ZN.js → 542JIEOK.js} +2 -2
  25. package/dist/cdn/{Q64DWWQS.js → 5JG7AKAZ.js} +2 -2
  26. package/dist/cdn/{WUUQIWPR.js → 5JQK4GBX.js} +2 -2
  27. package/dist/cdn/{DNSCTV5K.js → 5KXWU7JF.js} +2 -2
  28. package/dist/cdn/{YMOGUX46.js → 5Q7LXZEX.js} +2 -2
  29. package/dist/cdn/{VYXXEW7I.js → 5WJLOWVW.js} +2 -2
  30. package/dist/cdn/{ETNATER5.js → 5XKY7GQS.js} +2 -2
  31. package/dist/cdn/5ZOPGKQI.js +4 -0
  32. package/dist/cdn/{B6UM4XDW.js → 5ZS2ZV5O.js} +2 -2
  33. package/dist/cdn/{NSLIODDX.js → 676FH4Z3.js} +2 -2
  34. package/dist/cdn/{DAXFXIOA.js → 6B3IR25S.js} +2 -2
  35. package/dist/cdn/{BT5USKTC.js → 6ETGQZ6Q.js} +2 -2
  36. package/dist/cdn/{KA4OEK2U.js → 6HHTM2F3.js} +2 -2
  37. package/dist/cdn/6KPD66WS.js +4 -0
  38. package/dist/cdn/{2OOTMZNB.js → 6KR5RH4A.js} +2 -2
  39. package/dist/cdn/{2AEVWIXP.js → 6S7VWZ5U.js} +2 -2
  40. package/dist/cdn/{3AZTL3XZ.js → 6YSRRIIM.js} +2 -2
  41. package/dist/cdn/{DMWK7HQR.js → 73KFRUKK.js} +1 -1
  42. package/dist/cdn/{CBKL72CT.js → 76YORPTB.js} +2 -2
  43. package/dist/cdn/{5G547BRC.js → 7AOQPE6P.js} +2 -2
  44. package/dist/cdn/{E7A2HYZK.js → 7K2QH5E5.js} +2 -2
  45. package/dist/cdn/{CLFDZQ7J.js → 7L2APPK7.js} +2 -2
  46. package/dist/cdn/{YEPO6FJC.js → 7MWN27SY.js} +2 -2
  47. package/dist/cdn/{NIGGRTDY.js → 7T6OHEX7.js} +2 -2
  48. package/dist/cdn/{25WZ3G37.js → 7TMOHHSO.js} +2 -2
  49. package/dist/cdn/{J4GBT7GM.js → 7WBJDIGJ.js} +2 -2
  50. package/dist/cdn/{POTIOTWE.js → 7Y6NDTBB.js} +2 -2
  51. package/dist/cdn/{3U6MRSVH.js → 7YANLWWU.js} +2 -2
  52. package/dist/cdn/{P77S337N.js → 7ZXW5UN6.js} +2 -2
  53. package/dist/cdn/{NAAD2VXP.js → A2QQLCPE.js} +2 -2
  54. package/dist/cdn/{R2XMNZPZ.js → AALS2EW3.js} +2 -2
  55. package/dist/cdn/{AE5JMV24.js → ADZFUFQE.js} +2 -2
  56. package/dist/cdn/{4CE3KDUK.js → AP5H4LQU.js} +2 -2
  57. package/dist/cdn/{2LPHQ3KI.js → APQ2M4EF.js} +2 -2
  58. package/dist/cdn/{COFYSST6.js → AR4V6R5E.js} +2 -2
  59. package/dist/cdn/{PVSNDHQM.js → ARIW6AF7.js} +2 -2
  60. package/dist/cdn/{BYVHQ7NV.js → AW37BUEA.js} +2 -2
  61. package/dist/cdn/{GD6BIIBI.js → AWOK3P7S.js} +2 -2
  62. package/dist/cdn/{2YS3EMYE.js → B23IIHHI.js} +2 -2
  63. package/dist/cdn/{DJXXDSL4.js → B33AXIFY.js} +1 -1
  64. package/dist/cdn/{LMLK77CQ.js → B3OOMXRE.js} +2 -2
  65. package/dist/cdn/{3MSNHKA5.js → B4KD76AY.js} +2 -2
  66. package/dist/cdn/{7MPSTXHL.js → BASSSX6R.js} +2 -2
  67. package/dist/cdn/{IH7WP2OR.js → BF64RYGA.js} +2 -2
  68. package/dist/cdn/{FF4FEAXZ.js → BHZMQT3D.js} +2 -2
  69. package/dist/cdn/{C4EANB4Z.js → BJHGJLA4.js} +2 -2
  70. package/dist/cdn/BMKO7JNF.js +4 -0
  71. package/dist/cdn/{PTKYG3XA.js → BNMX6VG5.js} +2 -2
  72. package/dist/cdn/{R3LJWFI4.js → BPIT25AN.js} +2 -2
  73. package/dist/cdn/{FHTL4XNP.js → BUWD7R2X.js} +2 -2
  74. package/dist/cdn/{PSSX4YOH.js → C3MRSGRN.js} +2 -2
  75. package/dist/cdn/{QGESVYSQ.js → CBHTW5DC.js} +2 -2
  76. package/dist/cdn/{LX6BXZLE.js → CCNOSDG7.js} +2 -2
  77. package/dist/cdn/{DE5VTJZD.js → CDNZ4KN6.js} +2 -2
  78. package/dist/cdn/{MCXYVUPW.js → CHKUJHZS.js} +2 -2
  79. package/dist/cdn/{6YR3VKLQ.js → CIFSKZXT.js} +2 -2
  80. package/dist/cdn/{YZ3UO6RQ.js → CNCOTMAJ.js} +2 -2
  81. package/dist/cdn/{ICCOLXE4.js → CWDGVSNN.js} +2 -2
  82. package/dist/cdn/{JR4V2XJN.js → CYKZYU55.js} +2 -2
  83. package/dist/cdn/{22W6N7QC.js → D36TBEHC.js} +2 -2
  84. package/dist/cdn/{RONP356X.js → DFA2KYTX.js} +2 -2
  85. package/dist/cdn/{6XSI662U.js → DGUULKDX.js} +2 -2
  86. package/dist/cdn/{G6T37H4J.js → DH2XV5NB.js} +2 -2
  87. package/dist/cdn/{L3E4H24C.js → DJRH2PNC.js} +2 -2
  88. package/dist/cdn/{ZQJRMDB6.js → DKSGHJWH.js} +2 -2
  89. package/dist/cdn/{VW43ED7B.js → DN7E7CO6.js} +2 -2
  90. package/dist/cdn/{F7POARQ7.js → DNXEBPQ4.js} +2 -2
  91. package/dist/cdn/{FKMWQAUN.js → EANEPZ53.js} +2 -2
  92. package/dist/cdn/{62D7CNAT.js → EAOT5REN.js} +2 -2
  93. package/dist/cdn/{DLBB6NTJ.js → ECSDFKGI.js} +2 -2
  94. package/dist/cdn/{QZRIQASH.js → EKYJT5MP.js} +2 -2
  95. package/dist/cdn/{3YH3K6UN.js → ENS4CCAL.js} +2 -2
  96. package/dist/cdn/{V7UN4MHS.js → EO7RVH7C.js} +2 -2
  97. package/dist/cdn/{W2XS63VJ.js → EP6DURXD.js} +2 -2
  98. package/dist/cdn/{KHZMCZGL.js → EQGW3V3O.js} +2 -2
  99. package/dist/cdn/{ZHDPODSR.js → ERF77LRM.js} +2 -2
  100. package/dist/cdn/{XOFFTI3R.js → EXCMSRKZ.js} +2 -2
  101. package/dist/cdn/{LWGGVVGB.js → F2Y23AWK.js} +2 -2
  102. package/dist/cdn/{KIABMHDN.js → FJ2J2XOJ.js} +2 -2
  103. package/dist/cdn/{ZAT4T5X3.js → FT4X65WB.js} +2 -2
  104. package/dist/cdn/FTE6IJLY.js +4 -0
  105. package/dist/cdn/{7DQ6FJAP.js → FYAVONNU.js} +2 -2
  106. package/dist/cdn/{EUYIAXUM.js → FZCMUQVS.js} +2 -2
  107. package/dist/cdn/{GNACLP57.js → FZXUDK6N.js} +2 -2
  108. package/dist/cdn/{NMBSFM5M.js → FZZG55OP.js} +2 -2
  109. package/dist/cdn/GE4T2PTL.js +4 -0
  110. package/dist/cdn/{WJNFRD22.js → GNSDGVYO.js} +2 -2
  111. package/dist/cdn/{ASHROIUT.js → GPL74C2Z.js} +2 -2
  112. package/dist/cdn/GR2VHQL5.js +4 -0
  113. package/dist/cdn/{VTNUJQZD.js → GR5PJSLD.js} +2 -2
  114. package/dist/cdn/{QTFFLNVW.js → GSUVZHXT.js} +2 -2
  115. package/dist/cdn/{PVOAAMLJ.js → GWSA34EF.js} +1 -1
  116. package/dist/cdn/{W3GY6EBI.js → H2SITKIB.js} +2 -2
  117. package/dist/cdn/{I3JSNV3I.js → H3UBMI7D.js} +2 -2
  118. package/dist/cdn/{GBTJ7XDZ.js → H5TDDXAO.js} +2 -2
  119. package/dist/cdn/{V6VZWXYJ.js → HAFXUCOJ.js} +2 -2
  120. package/dist/cdn/{X6OTJOZF.js → HBADYJP5.js} +2 -2
  121. package/dist/cdn/{UL4FATBY.js → HILHKNMS.js} +2 -2
  122. package/dist/cdn/{67VKISNH.js → HTC56ZPJ.js} +2 -2
  123. package/dist/cdn/{M2BIAY7S.js → I4S5HBJ4.js} +2 -2
  124. package/dist/cdn/{NCRLWZXF.js → I4VA2SOQ.js} +2 -2
  125. package/dist/cdn/{E37KHJRO.js → I63236TQ.js} +2 -2
  126. package/dist/cdn/{UYWZCUPL.js → IA5PAXVI.js} +2 -2
  127. package/dist/cdn/{WZYUFA75.js → IBUSB6CA.js} +2 -2
  128. package/dist/cdn/{WCFW5ONT.js → IGO6HIBM.js} +2 -2
  129. package/dist/cdn/{3BL5RPNN.js → IO5LAQGR.js} +2 -2
  130. package/dist/cdn/{RN3ZMC6G.js → IOJW7HLL.js} +2 -2
  131. package/dist/cdn/{POWIJFWI.js → IPHYO6J7.js} +4 -4
  132. package/dist/cdn/{7HQZFXEM.js → IPM65CBP.js} +2 -2
  133. package/dist/cdn/{5X4PWNXU.js → IQJKOPHH.js} +2 -2
  134. package/dist/cdn/{HUY6OXXK.js → IRIY4WNO.js} +2 -2
  135. package/dist/cdn/{EJAXAXIT.js → IRNLK4WU.js} +2 -2
  136. package/dist/cdn/{X7JF452W.js → IRRHMMI2.js} +2 -2
  137. package/dist/cdn/{G26FYMZS.js → ITUASPK4.js} +2 -2
  138. package/dist/cdn/IWJETX7C.js +4 -0
  139. package/dist/cdn/{LKK4FWPT.js → IXMT3K7R.js} +2 -2
  140. package/dist/cdn/{RT54RY6I.js → IYWULD3F.js} +2 -2
  141. package/dist/cdn/{OMRULTPW.js → J2GVRVLF.js} +2 -2
  142. package/dist/cdn/{T5DHKQZH.js → J3XFVPY5.js} +2 -2
  143. package/dist/cdn/{O3U6EOEK.js → J6BPO3JT.js} +2 -2
  144. package/dist/cdn/{N2WNUWBI.js → J7GIXIYG.js} +2 -2
  145. package/dist/cdn/{WENNUYJZ.js → J7NRTKTB.js} +2 -2
  146. package/dist/cdn/{3KLFXRNV.js → JEHWISJL.js} +2 -2
  147. package/dist/cdn/{FNFIAL4P.js → JEYVBEXU.js} +2 -2
  148. package/dist/cdn/{YHTV2ALX.js → JGDQMYZC.js} +2 -2
  149. package/dist/cdn/{IISXYFCB.js → JIBYX3E4.js} +2 -2
  150. package/dist/cdn/{QU6JXG5Q.js → JICWKMRA.js} +2 -2
  151. package/dist/cdn/{VPLGAIHJ.js → JJG6OE25.js} +2 -2
  152. package/dist/cdn/JJNBEZNY.js +4 -0
  153. package/dist/cdn/{HBBGYFNX.js → JQ5L7J6H.js} +2 -2
  154. package/dist/cdn/{L4RZUO4V.js → JRNUCPF7.js} +2 -2
  155. package/dist/cdn/{EP4UAMEJ.js → JUSX3B7T.js} +2 -2
  156. package/dist/cdn/{KRZ6N2DQ.js → K3CMJYFB.js} +1 -1
  157. package/dist/cdn/{44JXIJG3.js → K5ZXGWBB.js} +2 -2
  158. package/dist/cdn/{E2X3IWL4.js → K67WAGG5.js} +2 -2
  159. package/dist/cdn/{4RL6YIJP.js → K7SUDIHN.js} +2 -2
  160. package/dist/cdn/{4PWD5GW7.js → KDPKJNGN.js} +2 -2
  161. package/dist/cdn/KEOTF3YG.js +4 -0
  162. package/dist/cdn/{MXI2VC7A.js → KKPB2P3M.js} +2 -2
  163. package/dist/cdn/{4DPWOAJ5.js → KL4MRSEZ.js} +2 -2
  164. package/dist/cdn/{KEN6HBNY.js → KONGATKP.js} +2 -2
  165. package/dist/cdn/{I3GIKLJ2.js → KY6TWKG2.js} +2 -2
  166. package/dist/cdn/{OIBAIK6Q.js → KYGOHWPU.js} +2 -2
  167. package/dist/cdn/{SMPZYPDC.js → LA2CWMSA.js} +2 -2
  168. package/dist/cdn/{OFFPDGAL.js → LFOZXBVK.js} +2 -2
  169. package/dist/cdn/{YQSXICQ6.js → LGOYDCJ6.js} +2 -2
  170. package/dist/cdn/{NOX2Y7BQ.js → LK3PAD7A.js} +2 -2
  171. package/dist/cdn/{G2UV53B5.js → LNCPQUBR.js} +2 -2
  172. package/dist/cdn/{SZJBANSB.js → LQLSYLLF.js} +2 -2
  173. package/dist/cdn/{4IHABKFT.js → LXTXRCKD.js} +2 -2
  174. package/dist/cdn/{EZMECKYQ.js → M2H4NANF.js} +2 -2
  175. package/dist/cdn/{J233VKJS.js → M45SERIR.js} +2 -2
  176. package/dist/cdn/{S3EWMP6R.js → M4CK6ARV.js} +2 -2
  177. package/dist/cdn/{JGXA57OA.js → MD3JQCPB.js} +2 -2
  178. package/dist/cdn/{VWLSA6ZB.js → MEFF6F4U.js} +2 -2
  179. package/dist/cdn/{D2ZWG647.js → MFNJ6IGT.js} +19 -19
  180. package/dist/cdn/{6CJZQERX.js → ML2P5WIJ.js} +2 -2
  181. package/dist/cdn/{NXR5WV4B.js → MQJE6G5E.js} +2 -2
  182. package/dist/cdn/{2OK6BGP5.js → MT5OVWLJ.js} +2 -2
  183. package/dist/cdn/{A47R6ORH.js → MY4NCKMZ.js} +2 -2
  184. package/dist/cdn/{EOQKW7GF.js → MYAC2QYA.js} +2 -2
  185. package/dist/cdn/{TGHYIGYG.js → N3MSZQCT.js} +2 -2
  186. package/dist/cdn/NQNPUBXT.js +4 -0
  187. package/dist/cdn/{YCJTNWLV.js → NUW5BSVI.js} +2 -2
  188. package/dist/cdn/O3HNU5NI.js +4 -0
  189. package/dist/cdn/{UHWFG3DG.js → O3QMSTXU.js} +2 -2
  190. package/dist/cdn/O5XDMMVV.js +4 -0
  191. package/dist/cdn/{XGKPT2ZR.js → O7EE3MJR.js} +2 -2
  192. package/dist/cdn/{O7PBKSCY.js → OEWRQVRC.js} +2 -2
  193. package/dist/cdn/{BZ53DTMW.js → OFH2BA4L.js} +2 -2
  194. package/dist/cdn/{3AAASJTE.js → OFVCYR5H.js} +2 -2
  195. package/dist/cdn/{CYLLTDK5.js → OH7JRLQS.js} +2 -2
  196. package/dist/cdn/{PZDNOPAG.js → OLXMUM2J.js} +2 -2
  197. package/dist/cdn/{3AFOKLHR.js → OPK4EVSJ.js} +2 -2
  198. package/dist/cdn/{UJS2KCC4.js → OSEHFXRE.js} +2 -2
  199. package/dist/cdn/{BFQ7LH5A.js → OVIOHXD4.js} +2 -2
  200. package/dist/cdn/{OYZMDU3A.js → PBJ7WHZT.js} +2 -2
  201. package/dist/cdn/{W2YOHNW7.js → PCXSWKSY.js} +2 -2
  202. package/dist/cdn/{IVDXZT53.js → PD52XCVI.js} +2 -2
  203. package/dist/cdn/{6LQR6QYZ.js → PFJAB4P4.js} +2 -2
  204. package/dist/cdn/{SSOKCODH.js → PJEFFTIL.js} +2 -2
  205. package/dist/cdn/{OBZJ4PPO.js → PJUP7SGT.js} +2 -2
  206. package/dist/cdn/{FR42RCUJ.js → PMWOJOUD.js} +2 -2
  207. package/dist/cdn/{XPHM4VC6.js → PORASUPV.js} +2 -2
  208. package/dist/cdn/{GGPI7KG6.js → PSLHUZ3S.js} +2 -2
  209. package/dist/cdn/{FAFZ5DYD.js → PSXN7BWZ.js} +2 -2
  210. package/dist/cdn/{2RWM6LCO.js → Q4J27K5Q.js} +2 -2
  211. package/dist/cdn/{SHJFUSXJ.js → QA32EN7J.js} +2 -2
  212. package/dist/cdn/{UC4TWRJL.js → QIQRYUP4.js} +2 -2
  213. package/dist/cdn/{AX2ACZ5Q.js → QJDHANS3.js} +2 -2
  214. package/dist/cdn/QKHLVNIM.js +4 -0
  215. package/dist/cdn/{XROEIYRL.js → QM7PCAHU.js} +2 -2
  216. package/dist/cdn/{FJIUXDLB.js → QOSQJ2RZ.js} +2 -2
  217. package/dist/cdn/{LEMDVSSB.js → QPJUVIRH.js} +2 -2
  218. package/dist/cdn/{KJTQO2VY.js → QSMFRNFD.js} +2 -2
  219. package/dist/cdn/{3S4HPKPI.js → QSWHUUR7.js} +2 -2
  220. package/dist/cdn/{G26JZW5X.js → R3EDWKR4.js} +2 -2
  221. package/dist/cdn/{NR2NCGAI.js → RBNOAUQC.js} +2 -2
  222. package/dist/cdn/{MAVVSXIA.js → RFWXW7GM.js} +2 -2
  223. package/dist/cdn/RHY6VQIY.js +4 -0
  224. package/dist/cdn/{WRKM4YTR.js → RJXZL3P3.js} +2 -2
  225. package/dist/cdn/{XBD656K5.js → RMMPKNOK.js} +2 -2
  226. package/dist/cdn/{VE62EAWH.js → RMVW3OCT.js} +2 -2
  227. package/dist/cdn/{WYYL5ROO.js → RZ4DGOZR.js} +2 -2
  228. package/dist/cdn/{S2AMKAQK.js → S4CZT26K.js} +2 -2
  229. package/dist/cdn/S4NU7OQW.js +4 -0
  230. package/dist/cdn/{7N5V7BLH.js → SAYXLK5O.js} +2 -2
  231. package/dist/cdn/{2MBIK5A4.js → SCCFWS6R.js} +2 -2
  232. package/dist/cdn/{FTMXQ7KS.js → SGP3LQTW.js} +2 -2
  233. package/dist/cdn/{P5IY6JTT.js → SGVQJ7HA.js} +2 -2
  234. package/dist/cdn/{QPJIUJA2.js → SRZEIYSF.js} +2 -2
  235. package/dist/cdn/{MQSPV53L.js → SUGZZ2YG.js} +2 -2
  236. package/dist/cdn/{UDWY6VRA.js → T242JXPS.js} +2 -2
  237. package/dist/cdn/{JFP56O4F.js → T3NG52DA.js} +2 -2
  238. package/dist/cdn/{EZCCXPBH.js → T3YHXSTB.js} +2 -2
  239. package/dist/cdn/{QCX257ZI.js → T6JPCYQL.js} +2 -2
  240. package/dist/cdn/{75NIYM2A.js → T7KV5LUN.js} +2 -2
  241. package/dist/cdn/{PTQ457RQ.js → TAN3VTDI.js} +2 -2
  242. package/dist/cdn/{MGYVUIH2.js → TGL3SGYN.js} +2 -2
  243. package/dist/cdn/{VAC5ZZYA.js → TM5MVK4U.js} +2 -2
  244. package/dist/cdn/{SOY6S2ZA.js → TRBKNBW3.js} +2 -2
  245. package/dist/cdn/{OFVHMEGO.js → TUPO3CH5.js} +2 -2
  246. package/dist/cdn/{WPQ277KP.js → TZFCIXS6.js} +2 -2
  247. package/dist/cdn/{VIFCWTGR.js → U6B5QCLY.js} +2 -2
  248. package/dist/cdn/{7U4APXRM.js → UDZTKG5K.js} +2 -2
  249. package/dist/cdn/{KMU3TJYB.js → UG3EEYXZ.js} +2 -2
  250. package/dist/cdn/{JRR4BAE3.js → US7ASCHX.js} +2 -2
  251. package/dist/cdn/{AYWO2T7E.js → UZJZZAD2.js} +2 -2
  252. package/dist/cdn/{3CUAVGFS.js → UZYIZZBQ.js} +2 -2
  253. package/dist/cdn/{F3JSNIEZ.js → V66TP5JR.js} +2 -2
  254. package/dist/cdn/{YI5FZD5L.js → V7MJCCVW.js} +2 -2
  255. package/dist/cdn/{TFSUSYO7.js → VA5U3VPB.js} +2 -2
  256. package/dist/cdn/{AYUKNTW7.js → VDCYOILO.js} +2 -2
  257. package/dist/cdn/{YIG32IC7.js → VEB4BAVF.js} +2 -2
  258. package/dist/cdn/{QT46LXUP.js → VETPE3DR.js} +2 -2
  259. package/dist/cdn/{GNF77E4L.js → VGU5FTXM.js} +2 -2
  260. package/dist/cdn/{BS7MLND5.js → VIV3KS5U.js} +1 -1
  261. package/dist/cdn/{U5F3OYEJ.js → VKL7RQAJ.js} +2 -2
  262. package/dist/cdn/{FAPCH7OU.js → VNXBTZ4H.js} +2 -2
  263. package/dist/cdn/{G2ZMYTZT.js → VPSLR5RD.js} +2 -2
  264. package/dist/cdn/{WFOK632O.js → VUXG6ODF.js} +2 -2
  265. package/dist/cdn/{LUDFPQY6.js → VYMQPOJM.js} +2 -2
  266. package/dist/cdn/{J6RH3W3F.js → W3JTPPRQ.js} +2 -2
  267. package/dist/cdn/{3I6GOQ4X.js → W3LYVGG2.js} +2 -2
  268. package/dist/cdn/{PFN6LECN.js → WMBGTKVY.js} +2 -2
  269. package/dist/cdn/{S446KHXE.js → WOYX7QE3.js} +2 -2
  270. package/dist/cdn/{WJTSUOHD.js → WSGZYPFJ.js} +2 -2
  271. package/dist/cdn/{ITSHBARW.js → WUZZCMYK.js} +2 -2
  272. package/dist/cdn/{3LERC7QF.js → WYBJBOBQ.js} +2 -2
  273. package/dist/cdn/XGT4EQGK.js +5 -0
  274. package/dist/cdn/XUWGUGRW.js +4 -0
  275. package/dist/cdn/{TR2ZHNIV.js → XVLU233Z.js} +2 -2
  276. package/dist/cdn/{QLBYMMXE.js → XWMK6XE4.js} +2 -2
  277. package/dist/cdn/{M2ME53O3.js → XWPYILKB.js} +2 -2
  278. package/dist/cdn/Y4KQPZ5B.js +4 -0
  279. package/dist/cdn/{IWXMN6KJ.js → Y4ONAWEE.js} +2 -2
  280. package/dist/cdn/Y7AJMJ52.js +4 -0
  281. package/dist/cdn/{BGEPLU4A.js → YAYUYGPL.js} +2 -2
  282. package/dist/cdn/{2J4JRX6A.js → YBLHKXHT.js} +2 -2
  283. package/dist/cdn/{K4OIWWOC.js → YBPXIUCN.js} +2 -2
  284. package/dist/cdn/{7YX2MRPB.js → YCMOILLF.js} +2 -2
  285. package/dist/cdn/{D7W4EVLU.js → YEIYCY2V.js} +2 -2
  286. package/dist/cdn/{UUE4OO73.js → YFKFLFEX.js} +2 -2
  287. package/dist/cdn/{M77UX6IQ.js → YIQVXKC2.js} +2 -2
  288. package/dist/cdn/{FJJGJ5XY.js → YRNYQ6FM.js} +2 -2
  289. package/dist/cdn/{ZDGBOL6M.js → YUZ4E5KQ.js} +2 -2
  290. package/dist/cdn/{OKA7RYHD.js → Z3PRJ37A.js} +2 -2
  291. package/dist/cdn/{IHL22FUT.js → ZF2CO4Q5.js} +2 -2
  292. package/dist/cdn/{2ORKQPRC.js → ZJ2RH22E.js} +2 -2
  293. package/dist/cdn/{4P6PVPZE.js → ZJ4PXD24.js} +2 -2
  294. package/dist/cdn/{WDYFO4J4.js → ZK6WIV5A.js} +2 -2
  295. package/dist/cdn/{CEYWB4UW.js → ZL22PGP7.js} +2 -2
  296. package/dist/cdn/{VUJRSPXR.js → ZMPUG3BP.js} +2 -2
  297. package/dist/cdn/{Y3QW3PRM.js → ZOBDZQTA.js} +2 -2
  298. package/dist/cdn/{ZOR7HMIZ.js → ZPLRSEQ6.js} +2 -2
  299. package/dist/cdn/{X3A536IA.js → ZXFRK4BQ.js} +2 -2
  300. package/dist/cdn/index.js +2 -2
  301. package/dist/cdn/model.js +2 -2
  302. package/dist/chart-rendering/common/data/utils/summarize-data/time-binning/index.d.ts +3 -1
  303. package/dist/chunks/action-bar-utils.js +7 -5
  304. package/dist/chunks/axis-model-wrapper.js +1 -1
  305. package/dist/chunks/bar-chart-model.js +2 -2
  306. package/dist/chunks/bar-chart-series.js +1 -1
  307. package/dist/chunks/baseline-stacking.js +2 -2
  308. package/dist/chunks/bg_BG.js +1 -1
  309. package/dist/chunks/bg_BG2.js +1 -1
  310. package/dist/chunks/box-plot-data.js +445 -0
  311. package/dist/chunks/box-plot-model.js +89 -482
  312. package/dist/chunks/chart-ui-utils.js +1 -1
  313. package/dist/chunks/chart-ui-utils2.js +1 -1
  314. package/dist/chunks/combo-bar-line-chart-model.js +1 -1
  315. package/dist/chunks/common.js +1 -1
  316. package/dist/chunks/data.js +859 -0
  317. package/dist/chunks/default.js +1 -1
  318. package/dist/chunks/gauge-model.js +6 -5
  319. package/dist/chunks/histogram-data.js +96 -0
  320. package/dist/chunks/histogram-model.js +57 -108
  321. package/dist/chunks/index.js +1 -1
  322. package/dist/chunks/index2.js +1 -1
  323. package/dist/chunks/index3.js +1 -1
  324. package/dist/chunks/index4.js +5 -5
  325. package/dist/chunks/interfaces.js +12 -14
  326. package/dist/chunks/interfaces2.js +1 -1
  327. package/dist/chunks/line-chart-model.js +3 -2
  328. package/dist/chunks/messages.ar.js +1 -1
  329. package/dist/chunks/messages.ar2.js +1 -1
  330. package/dist/chunks/messages.ar3.js +9 -72
  331. package/dist/chunks/messages.ar4.js +72 -9
  332. package/dist/chunks/messages.bg.js +1 -1
  333. package/dist/chunks/messages.bg2.js +1 -1
  334. package/dist/chunks/messages.bg3.js +9 -72
  335. package/dist/chunks/messages.bg4.js +72 -9
  336. package/dist/chunks/messages.bs.js +1 -1
  337. package/dist/chunks/messages.bs2.js +1 -1
  338. package/dist/chunks/messages.bs3.js +9 -72
  339. package/dist/chunks/messages.bs4.js +72 -9
  340. package/dist/chunks/messages.ca.js +1 -1
  341. package/dist/chunks/messages.ca2.js +1 -1
  342. package/dist/chunks/messages.ca3.js +9 -72
  343. package/dist/chunks/messages.ca4.js +72 -9
  344. package/dist/chunks/messages.cs.js +1 -1
  345. package/dist/chunks/messages.cs2.js +1 -1
  346. package/dist/chunks/messages.cs3.js +9 -72
  347. package/dist/chunks/messages.cs4.js +72 -9
  348. package/dist/chunks/messages.da.js +1 -1
  349. package/dist/chunks/messages.da2.js +1 -1
  350. package/dist/chunks/messages.da3.js +1 -1
  351. package/dist/chunks/messages.de.js +1 -1
  352. package/dist/chunks/messages.de2.js +1 -1
  353. package/dist/chunks/messages.de3.js +9 -72
  354. package/dist/chunks/messages.de4.js +72 -9
  355. package/dist/chunks/messages.el.js +1 -1
  356. package/dist/chunks/messages.el2.js +1 -1
  357. package/dist/chunks/messages.el3.js +9 -72
  358. package/dist/chunks/messages.el4.js +72 -9
  359. package/dist/chunks/messages.en-US.js +1 -1
  360. package/dist/chunks/messages.en-US2.js +1 -1
  361. package/dist/chunks/messages.en-US3.js +9 -72
  362. package/dist/chunks/messages.en-US4.js +72 -9
  363. package/dist/chunks/messages.en.js +1 -1
  364. package/dist/chunks/messages.en2.js +1 -1
  365. package/dist/chunks/messages.en3.js +1 -1
  366. package/dist/chunks/messages.es.js +1 -1
  367. package/dist/chunks/messages.es2.js +1 -1
  368. package/dist/chunks/messages.es3.js +9 -72
  369. package/dist/chunks/messages.es4.js +72 -9
  370. package/dist/chunks/messages.et.js +1 -1
  371. package/dist/chunks/messages.et2.js +1 -1
  372. package/dist/chunks/messages.et3.js +9 -72
  373. package/dist/chunks/messages.et4.js +72 -9
  374. package/dist/chunks/messages.fi.js +1 -1
  375. package/dist/chunks/messages.fi2.js +1 -1
  376. package/dist/chunks/messages.fi3.js +9 -72
  377. package/dist/chunks/messages.fi4.js +72 -9
  378. package/dist/chunks/messages.fr.js +1 -1
  379. package/dist/chunks/messages.fr2.js +1 -1
  380. package/dist/chunks/messages.fr3.js +9 -72
  381. package/dist/chunks/messages.fr4.js +72 -9
  382. package/dist/chunks/messages.he.js +1 -1
  383. package/dist/chunks/messages.he2.js +1 -1
  384. package/dist/chunks/messages.he3.js +9 -72
  385. package/dist/chunks/messages.he4.js +72 -9
  386. package/dist/chunks/messages.hr.js +1 -1
  387. package/dist/chunks/messages.hr2.js +1 -1
  388. package/dist/chunks/messages.hr3.js +9 -72
  389. package/dist/chunks/messages.hr4.js +72 -9
  390. package/dist/chunks/messages.hu.js +1 -1
  391. package/dist/chunks/messages.hu2.js +1 -1
  392. package/dist/chunks/messages.hu3.js +9 -72
  393. package/dist/chunks/messages.hu4.js +72 -9
  394. package/dist/chunks/messages.id.js +1 -1
  395. package/dist/chunks/messages.id2.js +1 -1
  396. package/dist/chunks/messages.id3.js +9 -72
  397. package/dist/chunks/messages.id4.js +72 -9
  398. package/dist/chunks/messages.it.js +1 -1
  399. package/dist/chunks/messages.it2.js +1 -1
  400. package/dist/chunks/messages.it3.js +9 -72
  401. package/dist/chunks/messages.it4.js +72 -9
  402. package/dist/chunks/messages.ja.js +1 -1
  403. package/dist/chunks/messages.ja2.js +1 -1
  404. package/dist/chunks/messages.ja3.js +9 -72
  405. package/dist/chunks/messages.ja4.js +72 -9
  406. package/dist/chunks/messages.ko.js +1 -1
  407. package/dist/chunks/messages.ko2.js +1 -1
  408. package/dist/chunks/messages.ko3.js +9 -72
  409. package/dist/chunks/messages.ko4.js +72 -9
  410. package/dist/chunks/messages.lt.js +1 -1
  411. package/dist/chunks/messages.lt2.js +1 -1
  412. package/dist/chunks/messages.lt3.js +9 -72
  413. package/dist/chunks/messages.lt4.js +72 -9
  414. package/dist/chunks/messages.lv.js +1 -1
  415. package/dist/chunks/messages.lv2.js +1 -1
  416. package/dist/chunks/messages.lv3.js +9 -72
  417. package/dist/chunks/messages.lv4.js +72 -9
  418. package/dist/chunks/messages.nl.js +1 -1
  419. package/dist/chunks/messages.nl2.js +1 -1
  420. package/dist/chunks/messages.nl3.js +9 -72
  421. package/dist/chunks/messages.nl4.js +72 -9
  422. package/dist/chunks/messages.no.js +1 -1
  423. package/dist/chunks/messages.no2.js +1 -1
  424. package/dist/chunks/messages.no3.js +1 -1
  425. package/dist/chunks/messages.pl.js +1 -1
  426. package/dist/chunks/messages.pl2.js +1 -1
  427. package/dist/chunks/messages.pl3.js +9 -72
  428. package/dist/chunks/messages.pl4.js +72 -9
  429. package/dist/chunks/messages.pt-BR.js +1 -1
  430. package/dist/chunks/messages.pt-BR2.js +1 -1
  431. package/dist/chunks/messages.pt-BR3.js +9 -72
  432. package/dist/chunks/messages.pt-BR4.js +72 -9
  433. package/dist/chunks/messages.pt-PT.js +1 -1
  434. package/dist/chunks/messages.pt-PT2.js +1 -1
  435. package/dist/chunks/messages.pt-PT3.js +9 -72
  436. package/dist/chunks/messages.pt-PT4.js +72 -9
  437. package/dist/chunks/messages.ro.js +1 -1
  438. package/dist/chunks/messages.ro2.js +1 -1
  439. package/dist/chunks/messages.ro3.js +9 -72
  440. package/dist/chunks/messages.ro4.js +72 -9
  441. package/dist/chunks/messages.ru.js +1 -1
  442. package/dist/chunks/messages.ru2.js +1 -1
  443. package/dist/chunks/messages.ru3.js +9 -72
  444. package/dist/chunks/messages.ru4.js +72 -9
  445. package/dist/chunks/messages.sk.js +1 -1
  446. package/dist/chunks/messages.sk2.js +1 -1
  447. package/dist/chunks/messages.sk3.js +9 -72
  448. package/dist/chunks/messages.sk4.js +72 -9
  449. package/dist/chunks/messages.sl.js +1 -1
  450. package/dist/chunks/messages.sl2.js +1 -1
  451. package/dist/chunks/messages.sl3.js +9 -72
  452. package/dist/chunks/messages.sl4.js +72 -9
  453. package/dist/chunks/messages.sr.js +1 -1
  454. package/dist/chunks/messages.sr2.js +1 -1
  455. package/dist/chunks/messages.sr3.js +9 -72
  456. package/dist/chunks/messages.sr4.js +72 -9
  457. package/dist/chunks/messages.sv.js +1 -1
  458. package/dist/chunks/messages.sv2.js +1 -1
  459. package/dist/chunks/messages.sv3.js +9 -72
  460. package/dist/chunks/messages.sv4.js +72 -9
  461. package/dist/chunks/messages.th.js +1 -1
  462. package/dist/chunks/messages.th2.js +1 -1
  463. package/dist/chunks/messages.th3.js +9 -72
  464. package/dist/chunks/messages.th4.js +72 -9
  465. package/dist/chunks/messages.tr.js +1 -1
  466. package/dist/chunks/messages.tr2.js +1 -1
  467. package/dist/chunks/messages.tr3.js +1 -1
  468. package/dist/chunks/messages.uk.js +1 -1
  469. package/dist/chunks/messages.uk2.js +1 -1
  470. package/dist/chunks/messages.uk3.js +9 -72
  471. package/dist/chunks/messages.uk4.js +72 -9
  472. package/dist/chunks/messages.vi.js +1 -1
  473. package/dist/chunks/messages.vi2.js +1 -1
  474. package/dist/chunks/messages.vi3.js +9 -72
  475. package/dist/chunks/messages.vi4.js +72 -9
  476. package/dist/chunks/messages.zh-CN.js +1 -1
  477. package/dist/chunks/messages.zh-CN2.js +1 -1
  478. package/dist/chunks/messages.zh-CN3.js +9 -72
  479. package/dist/chunks/messages.zh-CN4.js +72 -9
  480. package/dist/chunks/messages.zh-HK.js +1 -1
  481. package/dist/chunks/messages.zh-HK2.js +1 -1
  482. package/dist/chunks/messages.zh-HK3.js +9 -72
  483. package/dist/chunks/messages.zh-HK4.js +72 -9
  484. package/dist/chunks/messages.zh-TW.js +1 -1
  485. package/dist/chunks/messages.zh-TW2.js +1 -1
  486. package/dist/chunks/messages.zh-TW3.js +9 -72
  487. package/dist/chunks/messages.zh-TW4.js +72 -9
  488. package/dist/chunks/model-with-baseline-stacking.js +2 -2
  489. package/dist/chunks/model-with-data-labels.js +2 -2
  490. package/dist/chunks/model-with-rotation.js +2 -2
  491. package/dist/chunks/model-with-y-guides.js +1428 -0
  492. package/dist/chunks/pie-chart-data.js +227 -0
  493. package/dist/chunks/pie-chart-model.js +174 -370
  494. package/dist/chunks/popover-ui-utils.js +1 -1
  495. package/dist/chunks/radar-chart-model.js +3 -2
  496. package/dist/chunks/resource.js +2 -2
  497. package/dist/chunks/runtime.js +1 -1
  498. package/dist/chunks/scatterplot-model.js +18 -17
  499. package/dist/chunks/serial-chart-model.js +47 -46
  500. package/dist/chunks/series-types.js +1 -1
  501. package/dist/chunks/series.js +3 -3
  502. package/dist/chunks/setup-utils.js +6 -6
  503. package/dist/chunks/sk_SK.js +1 -1
  504. package/dist/chunks/sk_SK2.js +1 -1
  505. package/dist/chunks/store.js +1 -1
  506. package/dist/chunks/type-guards.js +31 -27
  507. package/dist/chunks/useT9n.js +1 -1
  508. package/dist/chunks/web-component-utils.js +310 -3963
  509. package/dist/components/arcgis-chart/customElement.js +3266 -3256
  510. package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
  511. package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
  512. package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
  513. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  514. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
  515. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
  516. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
  517. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
  518. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  519. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
  520. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  521. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
  522. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
  523. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  524. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
  525. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  526. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  527. package/dist/components/arcgis-charts-config-create-flow/customElement.js +2 -2
  528. package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
  529. package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
  530. package/dist/components/arcgis-charts-config-format/customElement.js +5 -5
  531. package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
  532. package/dist/components/arcgis-charts-config-general/customElement.js +2 -2
  533. package/dist/components/arcgis-charts-config-guide/customElement.js +2 -2
  534. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
  535. package/dist/components/arcgis-charts-config-guides/customElement.js +2 -2
  536. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  537. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
  538. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
  539. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  540. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  541. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
  542. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
  543. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
  544. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
  545. package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
  546. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  547. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
  548. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
  549. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
  550. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
  551. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
  552. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  553. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
  554. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
  555. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
  556. package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
  557. package/dist/docs/api.json +2 -2
  558. package/dist/docs/docs.json +2 -2
  559. package/dist/docs/web-types.json +1 -1
  560. package/dist/index.js +1 -1
  561. package/dist/loader.js +1 -1
  562. package/dist/model/chart-model/utils/data.d.ts +6 -0
  563. package/dist/model/shared/type-guards.d.ts +7 -1
  564. package/dist/model.js +15 -14
  565. package/dist/utils/components/web-component-utils.d.ts +48 -2
  566. package/dist/utils/type-guards/index.d.ts +4 -4
  567. package/package.json +4 -4
  568. package/dist/cdn/4X3YU5PF.js +0 -4
  569. package/dist/cdn/7WCJK7LY.js +0 -4
  570. package/dist/cdn/BI3KIJTD.js +0 -4
  571. package/dist/cdn/FRBIK6IO.js +0 -4
  572. package/dist/cdn/HFWJMNGW.js +0 -4
  573. package/dist/cdn/KLAMSALN.js +0 -4
  574. package/dist/cdn/LB27H4VN.js +0 -4
  575. package/dist/cdn/LOU4A2TD.js +0 -24
  576. package/dist/cdn/OHSD3KMF.js +0 -4
  577. package/dist/cdn/QTPOVGTT.js +0 -4
  578. package/dist/cdn/RDXVWOW4.js +0 -4
  579. package/dist/cdn/RXC2REIX.js +0 -4
  580. package/dist/cdn/SZZAODH2.js +0 -4
  581. package/dist/cdn/TYDOROUX.js +0 -4
  582. package/dist/cdn/VANC3OEP.js +0 -4
  583. package/dist/cdn/VJ6MYAXN.js +0 -4
  584. package/dist/cdn/Z36KLYNK.js +0 -4
  585. package/dist/chunks/serial-chart-data.js +0 -2255
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.24 */
4
- import{a as L,b as Ie,c as ta,e as mo,f as Rr,h as vt,i as yo,k as ra,l as _e,o as go,p as ar,r as Tt,t as bo,u as vo,w as or,x as Me}from"./BS7MLND5.js";import{b as oc,d as nc}from"./KRZ6N2DQ.js";export default $arcgis.t(([za,dd,cd,bv,qa,vv,Sv,wv,xv,Iv,Cv,fd,Va])=>{var Ll=oc((a$,wa)=>{function cv(e,r){var i=r&&r.cache?r.cache:gv,t=r&&r.serializer?r.serializer:yv,a=r&&r.strategy?r.strategy:fv;return a(e,{cache:i,serializer:t})}function uv(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Ol(e,r,i,t){var a=uv(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 Sa(e,r,i,t,a){return i.bind(r,e,t,a)}function fv(e,r){var i=e.length===1?Ol:El;return Sa(e,this,i,r.cache.create(),r.serializer)}function hv(e,r){var i=El;return Sa(e,this,i,r.cache.create(),r.serializer)}function mv(e,r){var i=Ol;return Sa(e,this,i,r.cache.create(),r.serializer)}function yv(){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 gv={create:function(){return new _i}};wa.exports=cv;wa.exports.strategies={variadic:hv,monadic:mv}});var ke={Blob:"esriFieldTypeBlob",Date:"esriFieldTypeDate",DateOnly:"esriFieldTypeDateOnly",TimestampOffset:"esriFieldTypeTimestampOffset",Double:"esriFieldTypeDouble",Geometry:"esriFieldTypeGeometry",GlobalID:"esriFieldTypeGlobalID",GUID:"esriFieldTypeGUID",Integer:"esriFieldTypeInteger",SmallInteger:"esriFieldTypeSmallInteger",BigInteger:"esriFieldTypeBigInteger",OID:"esriFieldTypeOID",Raster:"esriFieldTypeRaster",Single:"esriFieldTypeSingle",String:"esriFieldTypeString",XML:"esriFieldTypeXML"},nr={Dash:"esriSLSDash",DashDot:"esriSLSDashDot",DashDotDot:"esriSLSDashDotDot",Dot:"esriSLSDot",Null:"esriSLSNull",Solid:"esriSLSSolid"},ia={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"},Xr={Left:"left",Right:"right",Center:"center",Justify:"justify"},aa={Baseline:"baseline",Top:"top",Middle:"middle",Bottom:"bottom"},Be={SLS:"esriSLS",SMS:"esriSMS",SFS:"esriSFS",PMS:"esriPMS",PFS:"esriPFS",TS:"esriTS"},Gx={Italic:"italic",Normal:"normal",Oblique:"oblique"},Hx={Bold:"bold",Bolder:"bolder",Lighter:"lighter",Normal:"normal"},Qx={LineThrough:"line-through",Underline:"underline",None:"none"},Yr={UniqueValue:"unique-value",Simple:"simple",ClassBreaks:"class-breaks",Heatmap:"heatmap",DotDensity:"dot-density",Dictionary:"dictionary",PieChart:"pie-chart"},Ut={Feet:"feet",Miles:"miles",NauticalMiles:"nautical-miles",USNauticalMiles:"us-nautical-miles",Meters:"meters",Kilometers:"kilometers"};var ei="arcgis_charts_pie_from_fields_name",oa="arcgis_charts_pie_from_fields_value",So="arcgis_charts_bar_line_from_fields_name",wo="arcgis_charts_bar_line_from_fields_value";var lt={Mean:"Mean",Median:"Median",StdDev:"Standard Deviation",Normal:"Normal Distribution",Trendline:"Trendline"};var sc=Array.isArray,se=sc;function lc(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}var we=lc;var pc=/\s/;function dc(e){for(var r=e.length;r--&&pc.test(e.charAt(r)););return r}var xo=dc;var cc=/^\s+/;function uc(e){return e&&e.slice(0,xo(e)+1).replace(cc,"")}var Io=uc;var fc=typeof global=="object"&&global&&global.Object===Object&&global,ti=fc;var hc=typeof self=="object"&&self&&self.Object===Object&&self,mc=ti||hc||Function("return this")(),Ae=mc;var yc=Ae.Symbol,De=yc;var Co=Object.prototype,gc=Co.hasOwnProperty,bc=Co.toString,_r=De?De.toStringTag:void 0;function vc(e){var r=gc.call(e,_r),i=e[_r];try{e[_r]=void 0;var t=!0}catch{}var a=bc.call(e);return t&&(r?e[_r]=i:delete e[_r]),a}var To=vc;var Sc=Object.prototype,wc=Sc.toString;function xc(e){return wc.call(e)}var Ao=xc;var Ic="[object Null]",Cc="[object Undefined]",Po=De?De.toStringTag:void 0;function Tc(e){return e==null?e===void 0?Cc:Ic:Po&&Po in Object(e)?To(e):Ao(e)}var je=Tc;function Ac(e){return e!=null&&typeof e=="object"}var Ce=Ac;var Pc="[object Symbol]";function Fc(e){return typeof e=="symbol"||Ce(e)&&je(e)==Pc}var Ye=Fc;var Fo=NaN,Oc=/^[-+]0x[0-9a-f]+$/i,Ec=/^0b[01]+$/i,Lc=/^0o[0-7]+$/i,Dc=parseInt;function $c(e){if(typeof e=="number")return e;if(Ye(e))return Fo;if(we(e)){var r=typeof e.valueOf=="function"?e.valueOf():e;e=we(r)?r+"":r}if(typeof e!="string")return e===0?e:+e;e=Io(e);var i=Ec.test(e);return i||Lc.test(e)?Dc(e.slice(2),i?2:8):Oc.test(e)?Fo:+e}var ri=$c;var jc="[object AsyncFunction]",Rc="[object Function]",_c="[object GeneratorFunction]",kc="[object Proxy]";function Bc(e){if(!we(e))return!1;var r=je(e);return r==Rc||r==_c||r==jc||r==kc}var lr=Bc;var qc=Ae["__core-js_shared__"],ii=qc;var Oo=function(){var e=/[^.]+$/.exec(ii&&ii.keys&&ii.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Mc(e){return!!Oo&&Oo in e}var Eo=Mc;var Nc=Function.prototype,Wc=Nc.toString;function zc(e){if(e!=null){try{return Wc.call(e)}catch{}try{return e+""}catch{}}return""}var St=zc;var Vc=/[\\^$.*+?()[\]{}|]/g,Uc=/^\[object .+?Constructor\]$/,Gc=Function.prototype,Hc=Object.prototype,Qc=Gc.toString,Kc=Hc.hasOwnProperty,Jc=RegExp("^"+Qc.call(Kc).replace(Vc,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Zc(e){if(!we(e)||Eo(e))return!1;var r=lr(e)?Jc:Uc;return r.test(St(e))}var Lo=Zc;function Xc(e,r){return e?.[r]}var Do=Xc;function Yc(e,r){var i=Do(e,r);return Lo(i)?i:void 0}var Ne=Yc;var eu=Ne(Object,"create"),wt=eu;function tu(){this.__data__=wt?wt(null):{},this.size=0}var $o=tu;function ru(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r}var jo=ru;var iu="__lodash_hash_undefined__",au=Object.prototype,ou=au.hasOwnProperty;function nu(e){var r=this.__data__;if(wt){var i=r[e];return i===iu?void 0:i}return ou.call(r,e)?r[e]:void 0}var Ro=nu;var su=Object.prototype,lu=su.hasOwnProperty;function pu(e){var r=this.__data__;return wt?r[e]!==void 0:lu.call(r,e)}var _o=pu;var du="__lodash_hash_undefined__";function cu(e,r){var i=this.__data__;return this.size+=this.has(e)?0:1,i[e]=wt&&r===void 0?du:r,this}var ko=cu;function pr(e){var r=-1,i=e==null?0:e.length;for(this.clear();++r<i;){var t=e[r];this.set(t[0],t[1])}}pr.prototype.clear=$o;pr.prototype.delete=jo;pr.prototype.get=Ro;pr.prototype.has=_o;pr.prototype.set=ko;var na=pr;function uu(){this.__data__=[],this.size=0}var Bo=uu;function fu(e,r){return e===r||e!==e&&r!==r}var He=fu;function hu(e,r){for(var i=e.length;i--;)if(He(e[i][0],r))return i;return-1}var At=hu;var mu=Array.prototype,yu=mu.splice;function gu(e){var r=this.__data__,i=At(r,e);if(i<0)return!1;var t=r.length-1;return i==t?r.pop():yu.call(r,i,1),--this.size,!0}var qo=gu;function bu(e){var r=this.__data__,i=At(r,e);return i<0?void 0:r[i][1]}var Mo=bu;function vu(e){return At(this.__data__,e)>-1}var No=vu;function Su(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 Wo=Su;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=Bo;dr.prototype.delete=qo;dr.prototype.get=Mo;dr.prototype.has=No;dr.prototype.set=Wo;var Pt=dr;var wu=Ne(Ae,"Map"),Ft=wu;function xu(){this.size=0,this.__data__={hash:new na,map:new(Ft||Pt),string:new na}}var zo=xu;function Iu(e){var r=typeof e;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?e!=="__proto__":e===null}var Vo=Iu;function Cu(e,r){var i=e.__data__;return Vo(r)?i[typeof r=="string"?"string":"hash"]:i.map}var Ot=Cu;function Tu(e){var r=Ot(this,e).delete(e);return this.size-=r?1:0,r}var Uo=Tu;function Au(e){return Ot(this,e).get(e)}var Go=Au;function Pu(e){return Ot(this,e).has(e)}var Ho=Pu;function Fu(e,r){var i=Ot(this,e),t=i.size;return i.set(e,r),this.size+=i.size==t?0:1,this}var Qo=Fu;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=zo;cr.prototype.delete=Uo;cr.prototype.get=Go;cr.prototype.has=Ho;cr.prototype.set=Qo;var Gt=cr;var Ou="Expected a function";function sa(e,r){if(typeof e!="function"||r!=null&&typeof r!="function")throw new TypeError(Ou);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(sa.Cache||Gt),i}sa.Cache=Gt;var la=sa;function Eu(){this.__data__=new Pt,this.size=0}var Ko=Eu;function Lu(e){var r=this.__data__,i=r.delete(e);return this.size=r.size,i}var Jo=Lu;function Du(e){return this.__data__.get(e)}var Zo=Du;function $u(e){return this.__data__.has(e)}var Xo=$u;var ju=200;function Ru(e,r){var i=this.__data__;if(i instanceof Pt){var t=i.__data__;if(!Ft||t.length<ju-1)return t.push([e,r]),this.size=++i.size,this;i=this.__data__=new Gt(t)}return i.set(e,r),this.size=i.size,this}var Yo=Ru;function ur(e){var r=this.__data__=new Pt(e);this.size=r.size}ur.prototype.clear=Ko;ur.prototype.delete=Jo;ur.prototype.get=Zo;ur.prototype.has=Xo;ur.prototype.set=Yo;var pt=ur;function _u(e,r){for(var i=-1,t=e==null?0:e.length;++i<t&&r(e[i],i,e)!==!1;);return e}var en=_u;var ku=function(){try{var e=Ne(Object,"defineProperty");return e({},"",{}),e}catch{}}(),fr=ku;function Bu(e,r,i){r=="__proto__"&&fr?fr(e,r,{configurable:!0,enumerable:!0,value:i,writable:!0}):e[r]=i}var hr=Bu;var qu=Object.prototype,Mu=qu.hasOwnProperty;function Nu(e,r,i){var t=e[r];(!(Mu.call(e,r)&&He(t,i))||i===void 0&&!(r in e))&&hr(e,r,i)}var ai=Nu;function Wu(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=Wu;function zu(e,r){for(var i=-1,t=Array(e);++i<e;)t[i]=r(i);return t}var tn=zu;var Vu="[object Arguments]";function Uu(e){return Ce(e)&&je(e)==Vu}var pa=Uu;var rn=Object.prototype,Gu=rn.hasOwnProperty,Hu=rn.propertyIsEnumerable,Qu=pa(function(){return arguments}())?pa:function(e){return Ce(e)&&Gu.call(e,"callee")&&!Hu.call(e,"callee")},et=Qu;function Ku(){return!1}var an=Ku;var sn=typeof exports=="object"&&exports&&!exports.nodeType&&exports,on=sn&&typeof module=="object"&&module&&!module.nodeType&&module,Ju=on&&on.exports===sn,nn=Ju?Ae.Buffer:void 0,Zu=nn?nn.isBuffer:void 0,Xu=Zu||an,tt=Xu;var Yu=9007199254740991,ef=/^(?:0|[1-9]\d*)$/;function tf(e,r){var i=typeof e;return r=r??Yu,!!r&&(i=="number"||i!="symbol"&&ef.test(e))&&e>-1&&e%1==0&&e<r}var mr=tf;var rf=9007199254740991;function af(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=rf}var yr=af;var of="[object Arguments]",nf="[object Array]",sf="[object Boolean]",lf="[object Date]",pf="[object Error]",df="[object Function]",cf="[object Map]",uf="[object Number]",ff="[object Object]",hf="[object RegExp]",mf="[object Set]",yf="[object String]",gf="[object WeakMap]",bf="[object ArrayBuffer]",vf="[object DataView]",Sf="[object Float32Array]",wf="[object Float64Array]",xf="[object Int8Array]",If="[object Int16Array]",Cf="[object Int32Array]",Tf="[object Uint8Array]",Af="[object Uint8ClampedArray]",Pf="[object Uint16Array]",Ff="[object Uint32Array]",me={};me[Sf]=me[wf]=me[xf]=me[If]=me[Cf]=me[Tf]=me[Af]=me[Pf]=me[Ff]=!0;me[of]=me[nf]=me[bf]=me[sf]=me[vf]=me[lf]=me[pf]=me[df]=me[cf]=me[uf]=me[ff]=me[hf]=me[mf]=me[yf]=me[gf]=!1;function Of(e){return Ce(e)&&yr(e.length)&&!!me[je(e)]}var ln=Of;function Ef(e){return function(r){return e(r)}}var Et=Ef;var pn=typeof exports=="object"&&exports&&!exports.nodeType&&exports,kr=pn&&typeof module=="object"&&module&&!module.nodeType&&module,Lf=kr&&kr.exports===pn,da=Lf&&ti.process,Df=function(){try{var e=kr&&kr.require&&kr.require("util").types;return e||da&&da.binding&&da.binding("util")}catch{}}(),xt=Df;var dn=xt&&xt.isTypedArray,$f=dn?Et(dn):ln,Lt=$f;var jf=Object.prototype,Rf=jf.hasOwnProperty;function _f(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 c in e)(r||Rf.call(e,c))&&!(n&&(c=="length"||a&&(c=="offset"||c=="parent")||o&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||mr(c,l)))&&s.push(c);return s}var oi=_f;var kf=Object.prototype;function Bf(e){var r=e&&e.constructor,i=typeof r=="function"&&r.prototype||kf;return e===i}var Dt=Bf;function qf(e,r){return function(i){return e(r(i))}}var ni=qf;var Mf=ni(Object.keys,Object),cn=Mf;var Nf=Object.prototype,Wf=Nf.hasOwnProperty;function zf(e){if(!Dt(e))return cn(e);var r=[];for(var i in Object(e))Wf.call(e,i)&&i!="constructor"&&r.push(i);return r}var si=zf;function Vf(e){return e!=null&&yr(e.length)&&!lr(e)}var We=Vf;function Uf(e){return We(e)?oi(e):si(e)}var Ke=Uf;function Gf(e,r){return e&&Qe(r,Ke(r),e)}var un=Gf;function Hf(e){var r=[];if(e!=null)for(var i in Object(e))r.push(i);return r}var fn=Hf;var Qf=Object.prototype,Kf=Qf.hasOwnProperty;function Jf(e){if(!we(e))return fn(e);var r=Dt(e),i=[];for(var t in e)t=="constructor"&&(r||!Kf.call(e,t))||i.push(t);return i}var hn=Jf;function Zf(e){return We(e)?oi(e,!0):hn(e)}var Je=Zf;function Xf(e,r){return e&&Qe(r,Je(r),e)}var mn=Xf;var vn=typeof exports=="object"&&exports&&!exports.nodeType&&exports,yn=vn&&typeof module=="object"&&module&&!module.nodeType&&module,Yf=yn&&yn.exports===vn,gn=Yf?Ae.Buffer:void 0,bn=gn?gn.allocUnsafe:void 0;function eh(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=eh;function th(e,r){var i=-1,t=e.length;for(r||(r=Array(t));++i<t;)r[i]=e[i];return r}var pi=th;function rh(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=rh;function ih(){return[]}var di=ih;var ah=Object.prototype,oh=ah.propertyIsEnumerable,wn=Object.getOwnPropertySymbols,nh=wn?function(e){return e==null?[]:(e=Object(e),Sn(wn(e),function(r){return oh.call(e,r)}))}:di,gr=nh;function sh(e,r){return Qe(e,gr(e),r)}var xn=sh;function lh(e,r){for(var i=-1,t=r.length,a=e.length;++i<t;)e[a+i]=r[i];return e}var br=lh;var ph=ni(Object.getPrototypeOf,Object),vr=ph;var dh=Object.getOwnPropertySymbols,ch=dh?function(e){for(var r=[];e;)br(r,gr(e)),e=vr(e);return r}:di,ci=ch;function uh(e,r){return Qe(e,ci(e),r)}var In=uh;function fh(e,r,i){var t=r(e);return se(e)?t:br(t,i(e))}var ui=fh;function hh(e){return ui(e,Ke,gr)}var Br=hh;function mh(e){return ui(e,Je,ci)}var Cn=mh;var yh=Ne(Ae,"DataView"),fi=yh;var gh=Ne(Ae,"Promise"),hi=gh;var bh=Ne(Ae,"Set"),mi=bh;var vh=Ne(Ae,"WeakMap"),yi=vh;var Tn="[object Map]",Sh="[object Object]",An="[object Promise]",Pn="[object Set]",Fn="[object WeakMap]",On="[object DataView]",wh=St(fi),xh=St(Ft),Ih=St(hi),Ch=St(mi),Th=St(yi),Ht=je;(fi&&Ht(new fi(new ArrayBuffer(1)))!=On||Ft&&Ht(new Ft)!=Tn||hi&&Ht(hi.resolve())!=An||mi&&Ht(new mi)!=Pn||yi&&Ht(new yi)!=Fn)&&(Ht=function(e){var r=je(e),i=r==Sh?e.constructor:void 0,t=i?St(i):"";if(t)switch(t){case wh:return On;case xh:return Tn;case Ih:return An;case Ch:return Pn;case Th:return Fn}return r});var rt=Ht;var Ah=Object.prototype,Ph=Ah.hasOwnProperty;function Fh(e){var r=e.length,i=new e.constructor(r);return r&&typeof e[0]=="string"&&Ph.call(e,"index")&&(i.index=e.index,i.input=e.input),i}var En=Fh;var Oh=Ae.Uint8Array,Sr=Oh;function Eh(e){var r=new e.constructor(e.byteLength);return new Sr(r).set(new Sr(e)),r}var wr=Eh;function Lh(e,r){var i=r?wr(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.byteLength)}var Ln=Lh;var Dh=/\w*$/;function $h(e){var r=new e.constructor(e.source,Dh.exec(e));return r.lastIndex=e.lastIndex,r}var Dn=$h;var $n=De?De.prototype:void 0,jn=$n?$n.valueOf:void 0;function jh(e){return jn?Object(jn.call(e)):{}}var Rn=jh;function Rh(e,r){var i=r?wr(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.length)}var gi=Rh;var _h="[object Boolean]",kh="[object Date]",Bh="[object Map]",qh="[object Number]",Mh="[object RegExp]",Nh="[object Set]",Wh="[object String]",zh="[object Symbol]",Vh="[object ArrayBuffer]",Uh="[object DataView]",Gh="[object Float32Array]",Hh="[object Float64Array]",Qh="[object Int8Array]",Kh="[object Int16Array]",Jh="[object Int32Array]",Zh="[object Uint8Array]",Xh="[object Uint8ClampedArray]",Yh="[object Uint16Array]",em="[object Uint32Array]";function tm(e,r,i){var t=e.constructor;switch(r){case Vh:return wr(e);case _h:case kh:return new t(+e);case Uh:return Ln(e,i);case Gh:case Hh:case Qh:case Kh:case Jh:case Zh:case Xh:case Yh:case em:return gi(e,i);case Bh:return new t;case qh:case Wh:return new t(e);case Mh:return Dn(e);case Nh:return new t;case zh:return Rn(e)}}var _n=tm;var kn=Object.create,rm=function(){function e(){}return function(r){if(!we(r))return{};if(kn)return kn(r);e.prototype=r;var i=new e;return e.prototype=void 0,i}}(),Bn=rm;function im(e){return typeof e.constructor=="function"&&!Dt(e)?Bn(vr(e)):{}}var bi=im;var am="[object Map]";function om(e){return Ce(e)&&rt(e)==am}var qn=om;var Mn=xt&&xt.isMap,nm=Mn?Et(Mn):qn,Nn=nm;var sm="[object Set]";function lm(e){return Ce(e)&&rt(e)==sm}var Wn=lm;var zn=xt&&xt.isSet,pm=zn?Et(zn):Wn,Vn=pm;var dm=1,cm=2,um=4,Un="[object Arguments]",fm="[object Array]",hm="[object Boolean]",mm="[object Date]",ym="[object Error]",Gn="[object Function]",gm="[object GeneratorFunction]",bm="[object Map]",vm="[object Number]",Hn="[object Object]",Sm="[object RegExp]",wm="[object Set]",xm="[object String]",Im="[object Symbol]",Cm="[object WeakMap]",Tm="[object ArrayBuffer]",Am="[object DataView]",Pm="[object Float32Array]",Fm="[object Float64Array]",Om="[object Int8Array]",Em="[object Int16Array]",Lm="[object Int32Array]",Dm="[object Uint8Array]",$m="[object Uint8ClampedArray]",jm="[object Uint16Array]",Rm="[object Uint32Array]",ue={};ue[Un]=ue[fm]=ue[Tm]=ue[Am]=ue[hm]=ue[mm]=ue[Pm]=ue[Fm]=ue[Om]=ue[Em]=ue[Lm]=ue[bm]=ue[vm]=ue[Hn]=ue[Sm]=ue[wm]=ue[xm]=ue[Im]=ue[Dm]=ue[$m]=ue[jm]=ue[Rm]=!0;ue[ym]=ue[Gn]=ue[Cm]=!1;function vi(e,r,i,t,a,o){var n,s=r&dm,l=r&cm,c=r&um;if(i&&(n=a?i(e,t,a,o):i(e)),n!==void 0)return n;if(!we(e))return e;var d=se(e);if(d){if(n=En(e),!s)return pi(e,n)}else{var u=rt(e),p=u==Gn||u==gm;if(tt(e))return li(e,s);if(u==Hn||u==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[u])return a?e:{};n=_n(e,u,s)}}o||(o=new pt);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=c?l?Cn:Br:l?Je:Ke,y=d?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 _m=1,km=4;function Bm(e){return Qn(e,_m|km)}var qm=Bm;var Mm=function(){return Ae.Date.now()},Si=Mm;var Nm="Expected a function",Wm=Math.max,zm=Math.min;function Vm(e,r,i){var t,a,o,n,s,l,c=0,d=!1,u=!1,p=!0;if(typeof e!="function")throw new TypeError(Nm);r=ri(r)||0,we(i)&&(d=!!i.leading,u="maxWait"in i,o=u?Wm(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,c=E,n=e.apply(O,P),n}function m(E){return c=E,s=setTimeout(I,r),d?f(E):n}function y(E){var P=E-l,O=E-c,j=r-P;return u?zm(j,o-O):j}function b(E){var P=E-l,O=E-c;return l===void 0||P>=r||P<0||u&&O>=o}function I(){var E=Si();if(b(E))return w(E);s=setTimeout(I,y(E))}function w(E){return s=void 0,p&&t?f(E):(t=a=void 0,n)}function F(){s!==void 0&&clearTimeout(s),c=0,t=l=a=s=void 0}function S(){return s===void 0?n:w(Si())}function C(){var E=Si(),P=b(E);if(t=arguments,a=this,l=E,P){if(s===void 0)return m(l);if(u)return clearTimeout(s),s=setTimeout(I,r),f(l)}return s===void 0&&(s=setTimeout(I,r)),n}return C.cancel=F,C.flush=S,C}var Um=Vm;function Gm(e,r,i){(i!==void 0&&!He(e[r],i)||i===void 0&&!(r in e))&&hr(e,r,i)}var qr=Gm;function Hm(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=Hm;var Qm=Kn(),wi=Qm;function Km(e){return Ce(e)&&We(e)}var Jn=Km;var Jm="[object Object]",Zm=Function.prototype,Xm=Object.prototype,Zn=Zm.toString,Ym=Xm.hasOwnProperty,ey=Zn.call(Object);function ty(e){if(!Ce(e)||je(e)!=Jm)return!1;var r=vr(e);if(r===null)return!0;var i=Ym.call(r,"constructor")&&r.constructor;return typeof i=="function"&&i instanceof i&&Zn.call(i)==ey}var xi=ty;function ry(e,r){if(!(r==="constructor"&&typeof e[r]=="function")&&r!="__proto__")return e[r]}var Mr=ry;function iy(e){return Qe(e,Je(e))}var Xn=iy;function ay(e,r,i,t,a,o,n){var s=Mr(e,i),l=Mr(r,i),c=n.get(l);if(c){qr(e,i,c);return}var d=o?o(s,l,i+"",e,r,n):void 0,u=d===void 0;if(u){var p=se(l),f=!p&&tt(l),m=!p&&!f&&Lt(l);d=l,p||f||m?se(s)?d=s:Jn(s)?d=pi(s):f?(u=!1,d=li(l,!0)):m?(u=!1,d=gi(l,!0)):d=[]:xi(l)||et(l)?(d=s,et(s)?d=Xn(s):(!we(s)||lr(s))&&(d=bi(l))):u=!1}u&&(n.set(l,d),a(d,l,t,o,n),n.delete(l)),qr(e,i,d)}var Yn=ay;function es(e,r,i,t,a){e!==r&&wi(r,function(o,n){if(a||(a=new pt),we(o))Yn(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 oy(e){return e}var $t=oy;function ny(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=ny;var ts=Math.max;function sy(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=sy;function ly(e){return function(){return e}}var is=ly;var py=fr?function(e,r){return fr(e,"toString",{configurable:!0,enumerable:!1,value:is(r),writable:!0})}:$t,as=py;var dy=800,cy=16,uy=Date.now;function fy(e){var r=0,i=0;return function(){var t=uy(),a=cy-(t-i);if(i=t,a>0){if(++r>=dy)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}var os=fy;var hy=os(as),ns=hy;function my(e,r){return ns(rs(e,r,$t),e+"")}var xr=my;function yy(e,r,i){if(!we(i))return!1;var t=typeof r;return(t=="number"?We(i)&&mr(r,i.length):t=="string"&&r in i)?He(i[r],e):!1}var Qt=yy;function gy(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&&Qt(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=gy;var by=Ir(function(e,r,i,t){Ii(e,r,i,t)}),vy=by;var Sy="[object Map]",wy="[object Set]",xy=Object.prototype,Iy=xy.hasOwnProperty;function Cy(e){if(e==null)return!0;if(We(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==Sy||r==wy)return!e.size;if(Dt(e))return!si(e).length;for(var i in e)if(Iy.call(e,i))return!1;return!0}var Ty=Cy;var Ay="__lodash_hash_undefined__";function Py(e){return this.__data__.set(e,Ay),this}var ss=Py;function Fy(e){return this.__data__.has(e)}var ls=Fy;function Ti(e){var r=-1,i=e==null?0:e.length;for(this.__data__=new Gt;++r<i;)this.add(e[r])}Ti.prototype.add=Ti.prototype.push=ss;Ti.prototype.has=ls;var ps=Ti;function Oy(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=Oy;function Ey(e,r){return e.has(r)}var cs=Ey;var Ly=1,Dy=2;function $y(e,r,i,t,a,o){var n=i&Ly,s=e.length,l=r.length;if(s!=l&&!(n&&l>s))return!1;var c=o.get(e),d=o.get(r);if(c&&d)return c==r&&d==e;var u=-1,p=!0,f=i&Dy?new ps:void 0;for(o.set(e,r),o.set(r,e);++u<s;){var m=e[u],y=r[u];if(t)var b=n?t(y,m,u,r,e,o):t(m,y,u,e,r,o);if(b!==void 0){if(b)continue;p=!1;break}if(f){if(!ds(r,function(I,w){if(!cs(f,w)&&(m===I||a(m,I,i,t,o)))return f.push(w)})){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=$y;function jy(e){var r=-1,i=Array(e.size);return e.forEach(function(t,a){i[++r]=[a,t]}),i}var us=jy;function Ry(e){var r=-1,i=Array(e.size);return e.forEach(function(t){i[++r]=t}),i}var fs=Ry;var _y=1,ky=2,By="[object Boolean]",qy="[object Date]",My="[object Error]",Ny="[object Map]",Wy="[object Number]",zy="[object RegExp]",Vy="[object Set]",Uy="[object String]",Gy="[object Symbol]",Hy="[object ArrayBuffer]",Qy="[object DataView]",hs=De?De.prototype:void 0,ca=hs?hs.valueOf:void 0;function Ky(e,r,i,t,a,o,n){switch(i){case Qy:if(e.byteLength!=r.byteLength||e.byteOffset!=r.byteOffset)return!1;e=e.buffer,r=r.buffer;case Hy:return!(e.byteLength!=r.byteLength||!o(new Sr(e),new Sr(r)));case By:case qy:case Wy:return He(+e,+r);case My:return e.name==r.name&&e.message==r.message;case zy:case Uy:return e==r+"";case Ny:var s=us;case Vy:var l=t&_y;if(s||(s=fs),e.size!=r.size&&!l)return!1;var c=n.get(e);if(c)return c==r;t|=ky,n.set(e,r);var d=Ai(s(e),s(r),t,a,o,n);return n.delete(e),d;case Gy:if(ca)return ca.call(e)==ca.call(r)}return!1}var ms=Ky;var Jy=1,Zy=Object.prototype,Xy=Zy.hasOwnProperty;function Yy(e,r,i,t,a,o){var n=i&Jy,s=Br(e),l=s.length,c=Br(r),d=c.length;if(l!=d&&!n)return!1;for(var u=l;u--;){var p=s[u];if(!(n?p in r:Xy.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;++u<l;){p=s[u];var I=e[p],w=r[p];if(t)var F=n?t(w,I,p,r,e,o):t(I,w,p,e,r,o);if(!(F===void 0?I===w||a(I,w,i,t,o):F)){y=!1;break}b||(b=p=="constructor")}if(y&&!b){var S=e.constructor,C=r.constructor;S!=C&&"constructor"in e&&"constructor"in r&&!(typeof S=="function"&&S instanceof S&&typeof C=="function"&&C instanceof C)&&(y=!1)}return o.delete(e),o.delete(r),y}var ys=Yy;var eg=1,gs="[object Arguments]",bs="[object Array]",Pi="[object Object]",tg=Object.prototype,vs=tg.hasOwnProperty;function rg(e,r,i,t,a,o){var n=se(e),s=se(r),l=n?bs:rt(e),c=s?bs:rt(r);l=l==gs?Pi:l,c=c==gs?Pi:c;var d=l==Pi,u=c==Pi,p=l==c;if(p&&tt(e)){if(!tt(r))return!1;n=!0,d=!1}if(p&&!d)return o||(o=new pt),n||Lt(e)?Ai(e,r,i,t,a,o):ms(e,r,l,i,t,a,o);if(!(i&eg)){var f=d&&vs.call(e,"__wrapped__"),m=u&&vs.call(r,"__wrapped__");if(f||m){var y=f?e.value():e,b=m?r.value():r;return o||(o=new pt),a(y,b,i,t,o)}}return p?(o||(o=new pt),ys(e,r,i,t,a,o)):!1}var Ss=rg;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 ig(e,r){return Cr(e,r)}var xs=ig;function ag(e){return e==null}var ua=ag;function og(e){return e===null}var ng=og;var sg=Ir(function(e,r,i){Ii(e,r,i)}),lg=sg;var Is=De?De.isConcatSpreadable:void 0;function pg(e){return se(e)||et(e)||!!(Is&&e&&e[Is])}var Cs=pg;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 dg(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=dg;var cg=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ug=/^\w*$/;function fg(e,r){if(se(e))return!1;var i=typeof e;return i=="number"||i=="symbol"||i=="boolean"||e==null||Ye(e)?!0:ug.test(e)||!cg.test(e)||r!=null&&e in Object(r)}var Tr=fg;var hg=500;function mg(e){var r=la(e,function(t){return i.size===hg&&i.clear(),t}),i=r.cache;return r}var Ps=mg;var yg=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,gg=/\\(\\)?/g,bg=Ps(function(e){var r=[];return e.charCodeAt(0)===46&&r.push(""),e.replace(yg,function(i,t,a,o){r.push(a?o.replace(gg,"$1"):t||i)}),r}),Fs=bg;var vg=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(Ye(e))return Es?Es.call(e):"";var r=e+"";return r=="0"&&1/e==-vg?"-0":r}var Ds=Ls;function Sg(e){return e==null?"":Ds(e)}var dt=Sg;function wg(e,r){return se(e)?e:Tr(e,r)?[e]:Fs(dt(e))}var Fi=wg;var xg=1/0;function Ig(e){if(typeof e=="string"||Ye(e))return e;var r=e+"";return r=="0"&&1/e==-xg?"-0":r}var Rt=Ig;function Cg(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=Cg;var Tg=1,Ag=2;function Pg(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],c=e[l],d=s[1];if(n&&s[2]){if(c===void 0&&!(l in e))return!1}else{var u=new pt;if(t)var p=t(c,d,l,e,r,u);if(!(p===void 0?Cr(d,c,Tg|Ag,t,u):p))return!1}}return!0}var $s=Pg;function Fg(e){return e===e&&!we(e)}var Oi=Fg;function Og(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=Og;function Eg(e,r){return function(i){return i==null?!1:i[e]===r&&(r!==void 0||e in Object(i))}}var Ei=Eg;function Lg(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=Lg;function Dg(e,r,i){var t=e==null?void 0:Ar(e,r);return t===void 0?i:t}var _s=Dg;function $g(e,r){return e!=null&&r in Object(e)}var ks=$g;function jg(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=jg;function Rg(e,r){return e!=null&&Bs(e,r,ks)}var qs=Rg;var _g=1,kg=2;function Bg(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|kg)}}var Ms=Bg;function qg(e){return function(r){return r?.[e]}}var Ns=qg;function Mg(e){return function(r){return Ar(r,e)}}var Ws=Mg;function Ng(e){return Tr(e)?Ns(Rt(e)):Ws(e)}var zs=Ng;function Wg(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=Wg;function zg(e,r){return e&&wi(e,r,Ke)}var Us=zg;function Vg(e,r){return function(i,t){if(i==null)return i;if(!We(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=Vg;var Ug=Gs(Us),Hs=Ug;function Gg(e,r){var i=-1,t=We(e)?Array(e.length):[];return Hs(e,function(a,o,n){t[++i]=r(a,o,n)}),t}var Qs=Gg;function Hg(e,r){var i=e.length;for(e.sort(r);i--;)e[i]=e[i].value;return e}var Ks=Hg;function Qg(e,r){if(e!==r){var i=e!==void 0,t=e===null,a=e===e,o=Ye(e),n=r!==void 0,s=r===null,l=r===r,c=Ye(r);if(!s&&!c&&!o&&e>r||o&&n&&l&&!s&&!c||t&&n&&l||!i&&l||!a)return 1;if(!t&&!o&&!c&&e<r||c&&i&&a&&!t&&!o||s&&i&&a||!n&&a||!l)return-1}return 0}var Js=Qg;function Kg(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 c=i[t];return l*(c=="desc"?-1:1)}}return e.index-r.index}var Zs=Kg;function Jg(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(c){return c(o)});return{criteria:l,index:++t,value:o}});return Ks(a,function(o,n){return Zs(o,n,i)})}var Xs=Jg;var Zg=xr(function(e,r){if(e==null)return[];var i=r.length;return i>1&&Qt(e,r[0],r[1])?r=[]:i>2&&Qt(r[0],r[1],r[2])&&(r=[r[0]]),Xs(e,As(r,1),[])}),Xg=Zg;var Yg=Ir(function(e,r,i,t){Qe(r,Je(r),e,t)}),fa=Yg;var eb="[object DOMException]",tb="[object Error]";function rb(e){if(!Ce(e))return!1;var r=je(e);return r==tb||r==eb||typeof e.message=="string"&&typeof e.name=="string"&&!xi(e)}var Li=rb;var ib=xr(function(e,r){try{return Ci(e,void 0,r)}catch(i){return Li(i)?i:new Error(i)}}),Ys=ib;function ab(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=ab;function ob(e,r,i){var t=e.length;return i=i===void 0?t:i,!r&&i>=t?e:el(e,r,i)}var tl=ob;var nb="\\ud800-\\udfff",sb="\\u0300-\\u036f",lb="\\ufe20-\\ufe2f",pb="\\u20d0-\\u20ff",db=sb+lb+pb,cb="\\ufe0e\\ufe0f",ub="\\u200d",fb=RegExp("["+ub+nb+db+cb+"]");function hb(e){return fb.test(e)}var Di=hb;function mb(e){return e.split("")}var rl=mb;var il="\\ud800-\\udfff",yb="\\u0300-\\u036f",gb="\\ufe20-\\ufe2f",bb="\\u20d0-\\u20ff",vb=yb+gb+bb,Sb="\\ufe0e\\ufe0f",wb="["+il+"]",ha="["+vb+"]",ma="\\ud83c[\\udffb-\\udfff]",xb="(?:"+ha+"|"+ma+")",al="[^"+il+"]",ol="(?:\\ud83c[\\udde6-\\uddff]){2}",nl="[\\ud800-\\udbff][\\udc00-\\udfff]",Ib="\\u200d",sl=xb+"?",ll="["+Sb+"]?",Cb="(?:"+Ib+"(?:"+[al,ol,nl].join("|")+")"+ll+sl+")*",Tb=ll+sl+Cb,Ab="(?:"+[al+ha+"?",ha,ol,nl,wb].join("|")+")",Pb=RegExp(ma+"(?="+ma+")|"+Ab+Tb,"g");function Fb(e){return e.match(Pb)||[]}var pl=Fb;function Ob(e){return Di(e)?pl(e):rl(e)}var dl=Ob;function Eb(e){return function(r){r=dt(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=Eb;var Lb=cl("toUpperCase"),ul=Lb;function Db(e){return ul(dt(e).toLowerCase())}var $b=Db;function jb(e){return function(r){return e?.[r]}}var fl=jb;var Rb={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},_b=fl(Rb),hl=_b;var ml=/[&<>"']/g,kb=RegExp(ml.source);function Bb(e){return e=dt(e),e&&kb.test(e)?e.replace(ml,hl):e}var yl=Bb;function qb(e,r){return jt(r,function(i){return e[i]})}var gl=qb;var Mb="[object Number]";function Nb(e){return typeof e=="number"||Ce(e)&&je(e)==Mb}var Wb=Nb;var bl=Object.prototype,zb=bl.hasOwnProperty;function Vb(e,r,i,t){return e===void 0||He(e,bl[i])&&!zb.call(t,i)?r:e}var ya=Vb;var Ub={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function Gb(e){return"\\"+Ub[e]}var vl=Gb;var Hb=/<%=([\s\S]+?)%>/g,$i=Hb;var Qb=/<%-([\s\S]+?)%>/g,Sl=Qb;var Kb=/<%([\s\S]+?)%>/g,wl=Kb;var Jb={escape:Sl,evaluate:wl,interpolate:$i,variable:"",imports:{_:{escape:yl}}},ga=Jb;var Zb="Invalid `variable` option passed into `_.template`",Xb=/\b__p \+= '';/g,Yb=/\b(__p \+=) '' \+/g,ev=/(__e\(.*?\)|\b__t\)) \+\n'';/g,tv=/[()=,{}\[\]\/\s]/,rv=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ji=/($^)/,iv=/['\n\r\u2028\u2029\\]/g,av=Object.prototype,xl=av.hasOwnProperty;function ov(e,r,i){var t=ga.imports._.templateSettings||ga;i&&Qt(e,r,i)&&(r=void 0),e=dt(e),r=fa({},r,t,ya);var a=fa({},r.imports,t.imports,ya),o=Ke(a),n=gl(a,o),s,l,c=0,d=r.interpolate||ji,u="__p += '",p=RegExp((r.escape||ji).source+"|"+d.source+"|"+(d===$i?rv:ji).source+"|"+(r.evaluate||ji).source+"|$","g"),f=xl.call(r,"sourceURL")?"//# sourceURL="+(r.sourceURL+"").replace(/\s/g," ")+`
3
+ v4.34.0-next.25 */
4
+ import{a as L,b as Ie,c as ta,e as mo,f as Rr,h as vt,i as yo,k as ra,l as _e,o as go,p as ar,r as Tt,t as bo,u as vo,w as or,x as Me}from"./VIV3KS5U.js";import{b as oc,d as nc}from"./K3CMJYFB.js";export default $arcgis.t(([za,dd,cd,bv,qa,vv,Sv,wv,xv,Iv,Cv,fd,Va])=>{var Ll=oc((a$,wa)=>{function cv(e,r){var i=r&&r.cache?r.cache:gv,t=r&&r.serializer?r.serializer:yv,a=r&&r.strategy?r.strategy:fv;return a(e,{cache:i,serializer:t})}function uv(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Ol(e,r,i,t){var a=uv(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 Sa(e,r,i,t,a){return i.bind(r,e,t,a)}function fv(e,r){var i=e.length===1?Ol:El;return Sa(e,this,i,r.cache.create(),r.serializer)}function hv(e,r){var i=El;return Sa(e,this,i,r.cache.create(),r.serializer)}function mv(e,r){var i=Ol;return Sa(e,this,i,r.cache.create(),r.serializer)}function yv(){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 gv={create:function(){return new _i}};wa.exports=cv;wa.exports.strategies={variadic:hv,monadic:mv}});var ke={Blob:"esriFieldTypeBlob",Date:"esriFieldTypeDate",DateOnly:"esriFieldTypeDateOnly",TimestampOffset:"esriFieldTypeTimestampOffset",Double:"esriFieldTypeDouble",Geometry:"esriFieldTypeGeometry",GlobalID:"esriFieldTypeGlobalID",GUID:"esriFieldTypeGUID",Integer:"esriFieldTypeInteger",SmallInteger:"esriFieldTypeSmallInteger",BigInteger:"esriFieldTypeBigInteger",OID:"esriFieldTypeOID",Raster:"esriFieldTypeRaster",Single:"esriFieldTypeSingle",String:"esriFieldTypeString",XML:"esriFieldTypeXML"},nr={Dash:"esriSLSDash",DashDot:"esriSLSDashDot",DashDotDot:"esriSLSDashDotDot",Dot:"esriSLSDot",Null:"esriSLSNull",Solid:"esriSLSSolid"},ia={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"},Xr={Left:"left",Right:"right",Center:"center",Justify:"justify"},aa={Baseline:"baseline",Top:"top",Middle:"middle",Bottom:"bottom"},Be={SLS:"esriSLS",SMS:"esriSMS",SFS:"esriSFS",PMS:"esriPMS",PFS:"esriPFS",TS:"esriTS"},Gx={Italic:"italic",Normal:"normal",Oblique:"oblique"},Hx={Bold:"bold",Bolder:"bolder",Lighter:"lighter",Normal:"normal"},Qx={LineThrough:"line-through",Underline:"underline",None:"none"},Yr={UniqueValue:"unique-value",Simple:"simple",ClassBreaks:"class-breaks",Heatmap:"heatmap",DotDensity:"dot-density",Dictionary:"dictionary",PieChart:"pie-chart"},Ut={Feet:"feet",Miles:"miles",NauticalMiles:"nautical-miles",USNauticalMiles:"us-nautical-miles",Meters:"meters",Kilometers:"kilometers"};var ei="arcgis_charts_pie_from_fields_name",oa="arcgis_charts_pie_from_fields_value",So="arcgis_charts_bar_line_from_fields_name",wo="arcgis_charts_bar_line_from_fields_value";var lt={Mean:"Mean",Median:"Median",StdDev:"Standard Deviation",Normal:"Normal Distribution",Trendline:"Trendline"};var sc=Array.isArray,se=sc;function lc(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}var we=lc;var pc=/\s/;function dc(e){for(var r=e.length;r--&&pc.test(e.charAt(r)););return r}var xo=dc;var cc=/^\s+/;function uc(e){return e&&e.slice(0,xo(e)+1).replace(cc,"")}var Io=uc;var fc=typeof global=="object"&&global&&global.Object===Object&&global,ti=fc;var hc=typeof self=="object"&&self&&self.Object===Object&&self,mc=ti||hc||Function("return this")(),Ae=mc;var yc=Ae.Symbol,De=yc;var Co=Object.prototype,gc=Co.hasOwnProperty,bc=Co.toString,_r=De?De.toStringTag:void 0;function vc(e){var r=gc.call(e,_r),i=e[_r];try{e[_r]=void 0;var t=!0}catch{}var a=bc.call(e);return t&&(r?e[_r]=i:delete e[_r]),a}var To=vc;var Sc=Object.prototype,wc=Sc.toString;function xc(e){return wc.call(e)}var Ao=xc;var Ic="[object Null]",Cc="[object Undefined]",Po=De?De.toStringTag:void 0;function Tc(e){return e==null?e===void 0?Cc:Ic:Po&&Po in Object(e)?To(e):Ao(e)}var je=Tc;function Ac(e){return e!=null&&typeof e=="object"}var Ce=Ac;var Pc="[object Symbol]";function Fc(e){return typeof e=="symbol"||Ce(e)&&je(e)==Pc}var Ye=Fc;var Fo=NaN,Oc=/^[-+]0x[0-9a-f]+$/i,Ec=/^0b[01]+$/i,Lc=/^0o[0-7]+$/i,Dc=parseInt;function $c(e){if(typeof e=="number")return e;if(Ye(e))return Fo;if(we(e)){var r=typeof e.valueOf=="function"?e.valueOf():e;e=we(r)?r+"":r}if(typeof e!="string")return e===0?e:+e;e=Io(e);var i=Ec.test(e);return i||Lc.test(e)?Dc(e.slice(2),i?2:8):Oc.test(e)?Fo:+e}var ri=$c;function jc(){this.__data__=[],this.size=0}var Oo=jc;function Rc(e,r){return e===r||e!==e&&r!==r}var He=Rc;function _c(e,r){for(var i=e.length;i--;)if(He(e[i][0],r))return i;return-1}var At=_c;var kc=Array.prototype,Bc=kc.splice;function qc(e){var r=this.__data__,i=At(r,e);if(i<0)return!1;var t=r.length-1;return i==t?r.pop():Bc.call(r,i,1),--this.size,!0}var Eo=qc;function Mc(e){var r=this.__data__,i=At(r,e);return i<0?void 0:r[i][1]}var Lo=Mc;function Nc(e){return At(this.__data__,e)>-1}var Do=Nc;function Wc(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=Wc;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 zc(){this.__data__=new Pt,this.size=0}var jo=zc;function Vc(e){var r=this.__data__,i=r.delete(e);return this.size=r.size,i}var Ro=Vc;function Uc(e){return this.__data__.get(e)}var _o=Uc;function Gc(e){return this.__data__.has(e)}var ko=Gc;var Hc="[object AsyncFunction]",Qc="[object Function]",Kc="[object GeneratorFunction]",Jc="[object Proxy]";function Zc(e){if(!we(e))return!1;var r=je(e);return r==Qc||r==Kc||r==Hc||r==Jc}var pr=Zc;var Xc=Ae["__core-js_shared__"],ii=Xc;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 eu=Function.prototype,tu=eu.toString;function ru(e){if(e!=null){try{return tu.call(e)}catch{}try{return e+""}catch{}}return""}var St=ru;var iu=/[\\^$.*+?()[\]{}|]/g,au=/^\[object .+?Constructor\]$/,ou=Function.prototype,nu=Object.prototype,su=ou.toString,lu=nu.hasOwnProperty,pu=RegExp("^"+su.call(lu).replace(iu,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function du(e){if(!we(e)||qo(e))return!1;var r=pr(e)?pu:au;return r.test(St(e))}var Mo=du;function cu(e,r){return e?.[r]}var No=cu;function uu(e,r){var i=No(e,r);return Mo(i)?i:void 0}var Ne=uu;var fu=Ne(Ae,"Map"),Ft=fu;var hu=Ne(Object,"create"),wt=hu;function mu(){this.__data__=wt?wt(null):{},this.size=0}var Wo=mu;function yu(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r}var zo=yu;var gu="__lodash_hash_undefined__",bu=Object.prototype,vu=bu.hasOwnProperty;function Su(e){var r=this.__data__;if(wt){var i=r[e];return i===gu?void 0:i}return vu.call(r,e)?r[e]:void 0}var Vo=Su;var wu=Object.prototype,xu=wu.hasOwnProperty;function Iu(e){var r=this.__data__;return wt?r[e]!==void 0:xu.call(r,e)}var Uo=Iu;var Cu="__lodash_hash_undefined__";function Tu(e,r){var i=this.__data__;return this.size+=this.has(e)?0:1,i[e]=wt&&r===void 0?Cu:r,this}var Go=Tu;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 na=dr;function Au(){this.size=0,this.__data__={hash:new na,map:new(Ft||Pt),string:new na}}var Ho=Au;function Pu(e){var r=typeof e;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?e!=="__proto__":e===null}var Qo=Pu;function Fu(e,r){var i=e.__data__;return Qo(r)?i[typeof r=="string"?"string":"hash"]:i.map}var Ot=Fu;function Ou(e){var r=Ot(this,e).delete(e);return this.size-=r?1:0,r}var Ko=Ou;function Eu(e){return Ot(this,e).get(e)}var Jo=Eu;function Lu(e){return Ot(this,e).has(e)}var Zo=Lu;function Du(e,r){var i=Ot(this,e),t=i.size;return i.set(e,r),this.size+=i.size==t?0:1,this}var Xo=Du;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=Xo;var Gt=cr;var $u=200;function ju(e,r){var i=this.__data__;if(i instanceof Pt){var t=i.__data__;if(!Ft||t.length<$u-1)return t.push([e,r]),this.size=++i.size,this;i=this.__data__=new Gt(t)}return i.set(e,r),this.size=i.size,this}var Yo=ju;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=Yo;var pt=ur;function Ru(e,r){for(var i=-1,t=e==null?0:e.length;++i<t&&r(e[i],i,e)!==!1;);return e}var en=Ru;var _u=function(){try{var e=Ne(Object,"defineProperty");return e({},"",{}),e}catch{}}(),fr=_u;function ku(e,r,i){r=="__proto__"&&fr?fr(e,r,{configurable:!0,enumerable:!0,value:i,writable:!0}):e[r]=i}var hr=ku;var Bu=Object.prototype,qu=Bu.hasOwnProperty;function Mu(e,r,i){var t=e[r];(!(qu.call(e,r)&&He(t,i))||i===void 0&&!(r in e))&&hr(e,r,i)}var ai=Mu;function Nu(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=Nu;function Wu(e,r){for(var i=-1,t=Array(e);++i<e;)t[i]=r(i);return t}var tn=Wu;var zu="[object Arguments]";function Vu(e){return Ce(e)&&je(e)==zu}var sa=Vu;var rn=Object.prototype,Uu=rn.hasOwnProperty,Gu=rn.propertyIsEnumerable,Hu=sa(function(){return arguments}())?sa:function(e){return Ce(e)&&Uu.call(e,"callee")&&!Gu.call(e,"callee")},et=Hu;function Qu(){return!1}var an=Qu;var sn=typeof exports=="object"&&exports&&!exports.nodeType&&exports,on=sn&&typeof module=="object"&&module&&!module.nodeType&&module,Ku=on&&on.exports===sn,nn=Ku?Ae.Buffer:void 0,Ju=nn?nn.isBuffer:void 0,Zu=Ju||an,tt=Zu;var Xu=9007199254740991,Yu=/^(?:0|[1-9]\d*)$/;function ef(e,r){var i=typeof e;return r=r??Xu,!!r&&(i=="number"||i!="symbol"&&Yu.test(e))&&e>-1&&e%1==0&&e<r}var mr=ef;var tf=9007199254740991;function rf(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=tf}var yr=rf;var af="[object Arguments]",of="[object Array]",nf="[object Boolean]",sf="[object Date]",lf="[object Error]",pf="[object Function]",df="[object Map]",cf="[object Number]",uf="[object Object]",ff="[object RegExp]",hf="[object Set]",mf="[object String]",yf="[object WeakMap]",gf="[object ArrayBuffer]",bf="[object DataView]",vf="[object Float32Array]",Sf="[object Float64Array]",wf="[object Int8Array]",xf="[object Int16Array]",If="[object Int32Array]",Cf="[object Uint8Array]",Tf="[object Uint8ClampedArray]",Af="[object Uint16Array]",Pf="[object Uint32Array]",me={};me[vf]=me[Sf]=me[wf]=me[xf]=me[If]=me[Cf]=me[Tf]=me[Af]=me[Pf]=!0;me[af]=me[of]=me[gf]=me[nf]=me[bf]=me[sf]=me[lf]=me[pf]=me[df]=me[cf]=me[uf]=me[ff]=me[hf]=me[mf]=me[yf]=!1;function Ff(e){return Ce(e)&&yr(e.length)&&!!me[je(e)]}var ln=Ff;function Of(e){return function(r){return e(r)}}var Et=Of;var pn=typeof exports=="object"&&exports&&!exports.nodeType&&exports,kr=pn&&typeof module=="object"&&module&&!module.nodeType&&module,Ef=kr&&kr.exports===pn,la=Ef&&ti.process,Lf=function(){try{var e=kr&&kr.require&&kr.require("util").types;return e||la&&la.binding&&la.binding("util")}catch{}}(),xt=Lf;var dn=xt&&xt.isTypedArray,Df=dn?Et(dn):ln,Lt=Df;var $f=Object.prototype,jf=$f.hasOwnProperty;function Rf(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 c in e)(r||jf.call(e,c))&&!(n&&(c=="length"||a&&(c=="offset"||c=="parent")||o&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||mr(c,l)))&&s.push(c);return s}var oi=Rf;var _f=Object.prototype;function kf(e){var r=e&&e.constructor,i=typeof r=="function"&&r.prototype||_f;return e===i}var Dt=kf;function Bf(e,r){return function(i){return e(r(i))}}var ni=Bf;var qf=ni(Object.keys,Object),cn=qf;var Mf=Object.prototype,Nf=Mf.hasOwnProperty;function Wf(e){if(!Dt(e))return cn(e);var r=[];for(var i in Object(e))Nf.call(e,i)&&i!="constructor"&&r.push(i);return r}var si=Wf;function zf(e){return e!=null&&yr(e.length)&&!pr(e)}var We=zf;function Vf(e){return We(e)?oi(e):si(e)}var Ke=Vf;function Uf(e,r){return e&&Qe(r,Ke(r),e)}var un=Uf;function Gf(e){var r=[];if(e!=null)for(var i in Object(e))r.push(i);return r}var fn=Gf;var Hf=Object.prototype,Qf=Hf.hasOwnProperty;function Kf(e){if(!we(e))return fn(e);var r=Dt(e),i=[];for(var t in e)t=="constructor"&&(r||!Qf.call(e,t))||i.push(t);return i}var hn=Kf;function Jf(e){return We(e)?oi(e,!0):hn(e)}var Je=Jf;function Zf(e,r){return e&&Qe(r,Je(r),e)}var mn=Zf;var vn=typeof exports=="object"&&exports&&!exports.nodeType&&exports,yn=vn&&typeof module=="object"&&module&&!module.nodeType&&module,Xf=yn&&yn.exports===vn,gn=Xf?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 eh(e,r){var i=-1,t=e.length;for(r||(r=Array(t));++i<t;)r[i]=e[i];return r}var pi=eh;function th(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=th;function rh(){return[]}var di=rh;var ih=Object.prototype,ah=ih.propertyIsEnumerable,wn=Object.getOwnPropertySymbols,oh=wn?function(e){return e==null?[]:(e=Object(e),Sn(wn(e),function(r){return ah.call(e,r)}))}:di,gr=oh;function nh(e,r){return Qe(e,gr(e),r)}var xn=nh;function sh(e,r){for(var i=-1,t=r.length,a=e.length;++i<t;)e[a+i]=r[i];return e}var br=sh;var lh=ni(Object.getPrototypeOf,Object),vr=lh;var ph=Object.getOwnPropertySymbols,dh=ph?function(e){for(var r=[];e;)br(r,gr(e)),e=vr(e);return r}:di,ci=dh;function ch(e,r){return Qe(e,ci(e),r)}var In=ch;function uh(e,r,i){var t=r(e);return se(e)?t:br(t,i(e))}var ui=uh;function fh(e){return ui(e,Ke,gr)}var Br=fh;function hh(e){return ui(e,Je,ci)}var Cn=hh;var mh=Ne(Ae,"DataView"),fi=mh;var yh=Ne(Ae,"Promise"),hi=yh;var gh=Ne(Ae,"Set"),mi=gh;var bh=Ne(Ae,"WeakMap"),yi=bh;var Tn="[object Map]",vh="[object Object]",An="[object Promise]",Pn="[object Set]",Fn="[object WeakMap]",On="[object DataView]",Sh=St(fi),wh=St(Ft),xh=St(hi),Ih=St(mi),Ch=St(yi),Ht=je;(fi&&Ht(new fi(new ArrayBuffer(1)))!=On||Ft&&Ht(new Ft)!=Tn||hi&&Ht(hi.resolve())!=An||mi&&Ht(new mi)!=Pn||yi&&Ht(new yi)!=Fn)&&(Ht=function(e){var r=je(e),i=r==vh?e.constructor:void 0,t=i?St(i):"";if(t)switch(t){case Sh:return On;case wh:return Tn;case xh:return An;case Ih:return Pn;case Ch:return Fn}return r});var rt=Ht;var Th=Object.prototype,Ah=Th.hasOwnProperty;function Ph(e){var r=e.length,i=new e.constructor(r);return r&&typeof e[0]=="string"&&Ah.call(e,"index")&&(i.index=e.index,i.input=e.input),i}var En=Ph;var Fh=Ae.Uint8Array,Sr=Fh;function Oh(e){var r=new e.constructor(e.byteLength);return new Sr(r).set(new Sr(e)),r}var wr=Oh;function Eh(e,r){var i=r?wr(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.byteLength)}var Ln=Eh;var Lh=/\w*$/;function Dh(e){var r=new e.constructor(e.source,Lh.exec(e));return r.lastIndex=e.lastIndex,r}var Dn=Dh;var $n=De?De.prototype:void 0,jn=$n?$n.valueOf:void 0;function $h(e){return jn?Object(jn.call(e)):{}}var Rn=$h;function jh(e,r){var i=r?wr(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.length)}var gi=jh;var Rh="[object Boolean]",_h="[object Date]",kh="[object Map]",Bh="[object Number]",qh="[object RegExp]",Mh="[object Set]",Nh="[object String]",Wh="[object Symbol]",zh="[object ArrayBuffer]",Vh="[object DataView]",Uh="[object Float32Array]",Gh="[object Float64Array]",Hh="[object Int8Array]",Qh="[object Int16Array]",Kh="[object Int32Array]",Jh="[object Uint8Array]",Zh="[object Uint8ClampedArray]",Xh="[object Uint16Array]",Yh="[object Uint32Array]";function em(e,r,i){var t=e.constructor;switch(r){case zh:return wr(e);case Rh:case _h:return new t(+e);case Vh:return Ln(e,i);case Uh:case Gh:case Hh:case Qh:case Kh:case Jh:case Zh:case Xh:case Yh:return gi(e,i);case kh:return new t;case Bh:case Nh:return new t(e);case qh:return Dn(e);case Mh:return new t;case Wh:return Rn(e)}}var _n=em;var kn=Object.create,tm=function(){function e(){}return function(r){if(!we(r))return{};if(kn)return kn(r);e.prototype=r;var i=new e;return e.prototype=void 0,i}}(),Bn=tm;function rm(e){return typeof e.constructor=="function"&&!Dt(e)?Bn(vr(e)):{}}var bi=rm;var im="[object Map]";function am(e){return Ce(e)&&rt(e)==im}var qn=am;var Mn=xt&&xt.isMap,om=Mn?Et(Mn):qn,Nn=om;var nm="[object Set]";function sm(e){return Ce(e)&&rt(e)==nm}var Wn=sm;var zn=xt&&xt.isSet,lm=zn?Et(zn):Wn,Vn=lm;var pm=1,dm=2,cm=4,Un="[object Arguments]",um="[object Array]",fm="[object Boolean]",hm="[object Date]",mm="[object Error]",Gn="[object Function]",ym="[object GeneratorFunction]",gm="[object Map]",bm="[object Number]",Hn="[object Object]",vm="[object RegExp]",Sm="[object Set]",wm="[object String]",xm="[object Symbol]",Im="[object WeakMap]",Cm="[object ArrayBuffer]",Tm="[object DataView]",Am="[object Float32Array]",Pm="[object Float64Array]",Fm="[object Int8Array]",Om="[object Int16Array]",Em="[object Int32Array]",Lm="[object Uint8Array]",Dm="[object Uint8ClampedArray]",$m="[object Uint16Array]",jm="[object Uint32Array]",ue={};ue[Un]=ue[um]=ue[Cm]=ue[Tm]=ue[fm]=ue[hm]=ue[Am]=ue[Pm]=ue[Fm]=ue[Om]=ue[Em]=ue[gm]=ue[bm]=ue[Hn]=ue[vm]=ue[Sm]=ue[wm]=ue[xm]=ue[Lm]=ue[Dm]=ue[$m]=ue[jm]=!0;ue[mm]=ue[Gn]=ue[Im]=!1;function vi(e,r,i,t,a,o){var n,s=r&pm,l=r&dm,c=r&cm;if(i&&(n=a?i(e,t,a,o):i(e)),n!==void 0)return n;if(!we(e))return e;var d=se(e);if(d){if(n=En(e),!s)return pi(e,n)}else{var u=rt(e),p=u==Gn||u==ym;if(tt(e))return li(e,s);if(u==Hn||u==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[u])return a?e:{};n=_n(e,u,s)}}o||(o=new pt);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=c?l?Cn:Br:l?Je:Ke,y=d?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 Rm=1,_m=4;function km(e){return Qn(e,Rm|_m)}var Bm=km;var qm=function(){return Ae.Date.now()},Si=qm;var Mm="Expected a function",Nm=Math.max,Wm=Math.min;function zm(e,r,i){var t,a,o,n,s,l,c=0,d=!1,u=!1,p=!0;if(typeof e!="function")throw new TypeError(Mm);r=ri(r)||0,we(i)&&(d=!!i.leading,u="maxWait"in i,o=u?Nm(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,c=E,n=e.apply(O,P),n}function m(E){return c=E,s=setTimeout(I,r),d?f(E):n}function y(E){var P=E-l,O=E-c,j=r-P;return u?Wm(j,o-O):j}function b(E){var P=E-l,O=E-c;return l===void 0||P>=r||P<0||u&&O>=o}function I(){var E=Si();if(b(E))return w(E);s=setTimeout(I,y(E))}function w(E){return s=void 0,p&&t?f(E):(t=a=void 0,n)}function F(){s!==void 0&&clearTimeout(s),c=0,t=l=a=s=void 0}function S(){return s===void 0?n:w(Si())}function C(){var E=Si(),P=b(E);if(t=arguments,a=this,l=E,P){if(s===void 0)return m(l);if(u)return clearTimeout(s),s=setTimeout(I,r),f(l)}return s===void 0&&(s=setTimeout(I,r)),n}return C.cancel=F,C.flush=S,C}var Vm=zm;function Um(e,r,i){(i!==void 0&&!He(e[r],i)||i===void 0&&!(r in e))&&hr(e,r,i)}var qr=Um;function Gm(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=Gm;var Hm=Kn(),wi=Hm;function Qm(e){return Ce(e)&&We(e)}var Jn=Qm;var Km="[object Object]",Jm=Function.prototype,Zm=Object.prototype,Zn=Jm.toString,Xm=Zm.hasOwnProperty,Ym=Zn.call(Object);function ey(e){if(!Ce(e)||je(e)!=Km)return!1;var r=vr(e);if(r===null)return!0;var i=Xm.call(r,"constructor")&&r.constructor;return typeof i=="function"&&i instanceof i&&Zn.call(i)==Ym}var xi=ey;function ty(e,r){if(!(r==="constructor"&&typeof e[r]=="function")&&r!="__proto__")return e[r]}var Mr=ty;function ry(e){return Qe(e,Je(e))}var Xn=ry;function iy(e,r,i,t,a,o,n){var s=Mr(e,i),l=Mr(r,i),c=n.get(l);if(c){qr(e,i,c);return}var d=o?o(s,l,i+"",e,r,n):void 0,u=d===void 0;if(u){var p=se(l),f=!p&&tt(l),m=!p&&!f&&Lt(l);d=l,p||f||m?se(s)?d=s:Jn(s)?d=pi(s):f?(u=!1,d=li(l,!0)):m?(u=!1,d=gi(l,!0)):d=[]:xi(l)||et(l)?(d=s,et(s)?d=Xn(s):(!we(s)||pr(s))&&(d=bi(l))):u=!1}u&&(n.set(l,d),a(d,l,t,o,n),n.delete(l)),qr(e,i,d)}var Yn=iy;function es(e,r,i,t,a){e!==r&&wi(r,function(o,n){if(a||(a=new pt),we(o))Yn(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 ay(e){return e}var $t=ay;function oy(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=oy;var ts=Math.max;function ny(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=ny;function sy(e){return function(){return e}}var is=sy;var ly=fr?function(e,r){return fr(e,"toString",{configurable:!0,enumerable:!1,value:is(r),writable:!0})}:$t,as=ly;var py=800,dy=16,cy=Date.now;function uy(e){var r=0,i=0;return function(){var t=cy(),a=dy-(t-i);if(i=t,a>0){if(++r>=py)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}var os=uy;var fy=os(as),ns=fy;function hy(e,r){return ns(rs(e,r,$t),e+"")}var xr=hy;function my(e,r,i){if(!we(i))return!1;var t=typeof r;return(t=="number"?We(i)&&mr(r,i.length):t=="string"&&r in i)?He(i[r],e):!1}var Qt=my;function yy(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&&Qt(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=yy;var gy=Ir(function(e,r,i,t){Ii(e,r,i,t)}),by=gy;var vy="[object Map]",Sy="[object Set]",wy=Object.prototype,xy=wy.hasOwnProperty;function Iy(e){if(e==null)return!0;if(We(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==vy||r==Sy)return!e.size;if(Dt(e))return!si(e).length;for(var i in e)if(xy.call(e,i))return!1;return!0}var Cy=Iy;var Ty="__lodash_hash_undefined__";function Ay(e){return this.__data__.set(e,Ty),this}var ss=Ay;function Py(e){return this.__data__.has(e)}var ls=Py;function Ti(e){var r=-1,i=e==null?0:e.length;for(this.__data__=new Gt;++r<i;)this.add(e[r])}Ti.prototype.add=Ti.prototype.push=ss;Ti.prototype.has=ls;var ps=Ti;function Fy(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=Fy;function Oy(e,r){return e.has(r)}var cs=Oy;var Ey=1,Ly=2;function Dy(e,r,i,t,a,o){var n=i&Ey,s=e.length,l=r.length;if(s!=l&&!(n&&l>s))return!1;var c=o.get(e),d=o.get(r);if(c&&d)return c==r&&d==e;var u=-1,p=!0,f=i&Ly?new ps:void 0;for(o.set(e,r),o.set(r,e);++u<s;){var m=e[u],y=r[u];if(t)var b=n?t(y,m,u,r,e,o):t(m,y,u,e,r,o);if(b!==void 0){if(b)continue;p=!1;break}if(f){if(!ds(r,function(I,w){if(!cs(f,w)&&(m===I||a(m,I,i,t,o)))return f.push(w)})){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=Dy;function $y(e){var r=-1,i=Array(e.size);return e.forEach(function(t,a){i[++r]=[a,t]}),i}var us=$y;function jy(e){var r=-1,i=Array(e.size);return e.forEach(function(t){i[++r]=t}),i}var fs=jy;var Ry=1,_y=2,ky="[object Boolean]",By="[object Date]",qy="[object Error]",My="[object Map]",Ny="[object Number]",Wy="[object RegExp]",zy="[object Set]",Vy="[object String]",Uy="[object Symbol]",Gy="[object ArrayBuffer]",Hy="[object DataView]",hs=De?De.prototype:void 0,pa=hs?hs.valueOf:void 0;function Qy(e,r,i,t,a,o,n){switch(i){case Hy:if(e.byteLength!=r.byteLength||e.byteOffset!=r.byteOffset)return!1;e=e.buffer,r=r.buffer;case Gy:return!(e.byteLength!=r.byteLength||!o(new Sr(e),new Sr(r)));case ky:case By:case Ny:return He(+e,+r);case qy:return e.name==r.name&&e.message==r.message;case Wy:case Vy:return e==r+"";case My:var s=us;case zy:var l=t&Ry;if(s||(s=fs),e.size!=r.size&&!l)return!1;var c=n.get(e);if(c)return c==r;t|=_y,n.set(e,r);var d=Ai(s(e),s(r),t,a,o,n);return n.delete(e),d;case Uy:if(pa)return pa.call(e)==pa.call(r)}return!1}var ms=Qy;var Ky=1,Jy=Object.prototype,Zy=Jy.hasOwnProperty;function Xy(e,r,i,t,a,o){var n=i&Ky,s=Br(e),l=s.length,c=Br(r),d=c.length;if(l!=d&&!n)return!1;for(var u=l;u--;){var p=s[u];if(!(n?p in r:Zy.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;++u<l;){p=s[u];var I=e[p],w=r[p];if(t)var F=n?t(w,I,p,r,e,o):t(I,w,p,e,r,o);if(!(F===void 0?I===w||a(I,w,i,t,o):F)){y=!1;break}b||(b=p=="constructor")}if(y&&!b){var S=e.constructor,C=r.constructor;S!=C&&"constructor"in e&&"constructor"in r&&!(typeof S=="function"&&S instanceof S&&typeof C=="function"&&C instanceof C)&&(y=!1)}return o.delete(e),o.delete(r),y}var ys=Xy;var Yy=1,gs="[object Arguments]",bs="[object Array]",Pi="[object Object]",eg=Object.prototype,vs=eg.hasOwnProperty;function tg(e,r,i,t,a,o){var n=se(e),s=se(r),l=n?bs:rt(e),c=s?bs:rt(r);l=l==gs?Pi:l,c=c==gs?Pi:c;var d=l==Pi,u=c==Pi,p=l==c;if(p&&tt(e)){if(!tt(r))return!1;n=!0,d=!1}if(p&&!d)return o||(o=new pt),n||Lt(e)?Ai(e,r,i,t,a,o):ms(e,r,l,i,t,a,o);if(!(i&Yy)){var f=d&&vs.call(e,"__wrapped__"),m=u&&vs.call(r,"__wrapped__");if(f||m){var y=f?e.value():e,b=m?r.value():r;return o||(o=new pt),a(y,b,i,t,o)}}return p?(o||(o=new pt),ys(e,r,i,t,a,o)):!1}var Ss=tg;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 rg(e,r){return Cr(e,r)}var xs=rg;function ig(e){return e==null}var da=ig;var ag=Ir(function(e,r,i){Ii(e,r,i)}),og=ag;var Is=De?De.isConcatSpreadable:void 0;function ng(e){return se(e)||et(e)||!!(Is&&e&&e[Is])}var Cs=ng;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 sg(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=sg;var lg=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,pg=/^\w*$/;function dg(e,r){if(se(e))return!1;var i=typeof e;return i=="number"||i=="symbol"||i=="boolean"||e==null||Ye(e)?!0:pg.test(e)||!lg.test(e)||r!=null&&e in Object(r)}var Tr=dg;var cg="Expected a function";function ca(e,r){if(typeof e!="function"||r!=null&&typeof r!="function")throw new TypeError(cg);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(ca.Cache||Gt),i}ca.Cache=Gt;var ua=ca;var ug=500;function fg(e){var r=ua(e,function(t){return i.size===ug&&i.clear(),t}),i=r.cache;return r}var Ps=fg;var hg=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,mg=/\\(\\)?/g,yg=Ps(function(e){var r=[];return e.charCodeAt(0)===46&&r.push(""),e.replace(hg,function(i,t,a,o){r.push(a?o.replace(mg,"$1"):t||i)}),r}),Fs=yg;var gg=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(Ye(e))return Es?Es.call(e):"";var r=e+"";return r=="0"&&1/e==-gg?"-0":r}var Ds=Ls;function bg(e){return e==null?"":Ds(e)}var dt=bg;function vg(e,r){return se(e)?e:Tr(e,r)?[e]:Fs(dt(e))}var Fi=vg;var Sg=1/0;function wg(e){if(typeof e=="string"||Ye(e))return e;var r=e+"";return r=="0"&&1/e==-Sg?"-0":r}var Rt=wg;function xg(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=xg;var Ig=1,Cg=2;function Tg(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],c=e[l],d=s[1];if(n&&s[2]){if(c===void 0&&!(l in e))return!1}else{var u=new pt;if(t)var p=t(c,d,l,e,r,u);if(!(p===void 0?Cr(d,c,Ig|Cg,t,u):p))return!1}}return!0}var $s=Tg;function Ag(e){return e===e&&!we(e)}var Oi=Ag;function Pg(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=Pg;function Fg(e,r){return function(i){return i==null?!1:i[e]===r&&(r!==void 0||e in Object(i))}}var Ei=Fg;function Og(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=Og;function Eg(e,r,i){var t=e==null?void 0:Ar(e,r);return t===void 0?i:t}var _s=Eg;function Lg(e,r){return e!=null&&r in Object(e)}var ks=Lg;function Dg(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=Dg;function $g(e,r){return e!=null&&Bs(e,r,ks)}var qs=$g;var jg=1,Rg=2;function _g(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,jg|Rg)}}var Ms=_g;function kg(e){return function(r){return r?.[e]}}var Ns=kg;function Bg(e){return function(r){return Ar(r,e)}}var Ws=Bg;function qg(e){return Tr(e)?Ns(Rt(e)):Ws(e)}var zs=qg;function Mg(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=Mg;function Ng(e,r){return e&&wi(e,r,Ke)}var Us=Ng;function Wg(e,r){return function(i,t){if(i==null)return i;if(!We(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=Wg;var zg=Gs(Us),Hs=zg;function Vg(e,r){var i=-1,t=We(e)?Array(e.length):[];return Hs(e,function(a,o,n){t[++i]=r(a,o,n)}),t}var Qs=Vg;function Ug(e,r){var i=e.length;for(e.sort(r);i--;)e[i]=e[i].value;return e}var Ks=Ug;function Gg(e,r){if(e!==r){var i=e!==void 0,t=e===null,a=e===e,o=Ye(e),n=r!==void 0,s=r===null,l=r===r,c=Ye(r);if(!s&&!c&&!o&&e>r||o&&n&&l&&!s&&!c||t&&n&&l||!i&&l||!a)return 1;if(!t&&!o&&!c&&e<r||c&&i&&a&&!t&&!o||s&&i&&a||!n&&a||!l)return-1}return 0}var Js=Gg;function Hg(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 c=i[t];return l*(c=="desc"?-1:1)}}return e.index-r.index}var Zs=Hg;function Qg(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(c){return c(o)});return{criteria:l,index:++t,value:o}});return Ks(a,function(o,n){return Zs(o,n,i)})}var Xs=Qg;var Kg=xr(function(e,r){if(e==null)return[];var i=r.length;return i>1&&Qt(e,r[0],r[1])?r=[]:i>2&&Qt(r[0],r[1],r[2])&&(r=[r[0]]),Xs(e,As(r,1),[])}),Jg=Kg;var Zg=Ir(function(e,r,i,t){Qe(r,Je(r),e,t)}),fa=Zg;var Xg="[object DOMException]",Yg="[object Error]";function eb(e){if(!Ce(e))return!1;var r=je(e);return r==Yg||r==Xg||typeof e.message=="string"&&typeof e.name=="string"&&!xi(e)}var Li=eb;var tb=xr(function(e,r){try{return Ci(e,void 0,r)}catch(i){return Li(i)?i:new Error(i)}}),Ys=tb;function rb(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=rb;function ib(e,r,i){var t=e.length;return i=i===void 0?t:i,!r&&i>=t?e:el(e,r,i)}var tl=ib;var ab="\\ud800-\\udfff",ob="\\u0300-\\u036f",nb="\\ufe20-\\ufe2f",sb="\\u20d0-\\u20ff",lb=ob+nb+sb,pb="\\ufe0e\\ufe0f",db="\\u200d",cb=RegExp("["+db+ab+lb+pb+"]");function ub(e){return cb.test(e)}var Di=ub;function fb(e){return e.split("")}var rl=fb;var il="\\ud800-\\udfff",hb="\\u0300-\\u036f",mb="\\ufe20-\\ufe2f",yb="\\u20d0-\\u20ff",gb=hb+mb+yb,bb="\\ufe0e\\ufe0f",vb="["+il+"]",ha="["+gb+"]",ma="\\ud83c[\\udffb-\\udfff]",Sb="(?:"+ha+"|"+ma+")",al="[^"+il+"]",ol="(?:\\ud83c[\\udde6-\\uddff]){2}",nl="[\\ud800-\\udbff][\\udc00-\\udfff]",wb="\\u200d",sl=Sb+"?",ll="["+bb+"]?",xb="(?:"+wb+"(?:"+[al,ol,nl].join("|")+")"+ll+sl+")*",Ib=ll+sl+xb,Cb="(?:"+[al+ha+"?",ha,ol,nl,vb].join("|")+")",Tb=RegExp(ma+"(?="+ma+")|"+Cb+Ib,"g");function Ab(e){return e.match(Tb)||[]}var pl=Ab;function Pb(e){return Di(e)?pl(e):rl(e)}var dl=Pb;function Fb(e){return function(r){r=dt(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=Fb;var Ob=cl("toUpperCase"),ul=Ob;function Eb(e){return ul(dt(e).toLowerCase())}var Lb=Eb;function Db(e){return function(r){return e?.[r]}}var fl=Db;var $b={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},jb=fl($b),hl=jb;var ml=/[&<>"']/g,Rb=RegExp(ml.source);function _b(e){return e=dt(e),e&&Rb.test(e)?e.replace(ml,hl):e}var yl=_b;function kb(e,r){return jt(r,function(i){return e[i]})}var gl=kb;var Bb="[object Number]";function qb(e){return typeof e=="number"||Ce(e)&&je(e)==Bb}var Mb=qb;function Nb(e){return e===null}var Wb=Nb;var bl=Object.prototype,zb=bl.hasOwnProperty;function Vb(e,r,i,t){return e===void 0||He(e,bl[i])&&!zb.call(t,i)?r:e}var ya=Vb;var Ub={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function Gb(e){return"\\"+Ub[e]}var vl=Gb;var Hb=/<%=([\s\S]+?)%>/g,$i=Hb;var Qb=/<%-([\s\S]+?)%>/g,Sl=Qb;var Kb=/<%([\s\S]+?)%>/g,wl=Kb;var Jb={escape:Sl,evaluate:wl,interpolate:$i,variable:"",imports:{_:{escape:yl}}},ga=Jb;var Zb="Invalid `variable` option passed into `_.template`",Xb=/\b__p \+= '';/g,Yb=/\b(__p \+=) '' \+/g,ev=/(__e\(.*?\)|\b__t\)) \+\n'';/g,tv=/[()=,{}\[\]\/\s]/,rv=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ji=/($^)/,iv=/['\n\r\u2028\u2029\\]/g,av=Object.prototype,xl=av.hasOwnProperty;function ov(e,r,i){var t=ga.imports._.templateSettings||ga;i&&Qt(e,r,i)&&(r=void 0),e=dt(e),r=fa({},r,t,ya);var a=fa({},r.imports,t.imports,ya),o=Ke(a),n=gl(a,o),s,l,c=0,d=r.interpolate||ji,u="__p += '",p=RegExp((r.escape||ji).source+"|"+d.source+"|"+(d===$i?rv: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,w,F,S,C){return w||(w=F),u+=e.slice(c,C).replace(iv,vl),I&&(s=!0,u+=`' +
6
6
  __e(`+I+`) +
7
7
  '`),S&&(l=!0,u+=`';
@@ -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",description:"Symbol associated with the bin."},isLastBin:{type:"boolean",description:"Whether this is the last bin."}},required:["count","minValue","maxValue"],description:"JSON representation of a Histogram bin",title:"WebChartBin"},WebChartHistogramDataItem:{type:"object",properties:{mean:{type:"number"},median:{type:"number"},stddev:{type:"number"},max:{type:"number"},min:{type:"number"},sum:{type:"number",description:"Sum of the values of all the points"},count:{type:"number",description:"Number of all the points/features in un-binned data (including only non-null entries)"},nulls:{type:"number",description:"Number of null entries in the pool of points"},bins:{type:"array",items:{$ref:"#/definitions/WebChartBin"}}},required:["mean","median","stddev","max","min","bins"],description:"JSON representation of the processed data for a Histogram",title:"WebChartHistogramDataItem"},WebChartDataTypes:{anyOf:[{$ref:"#/definitions/WebChartBoxPlotDataItem"},{$ref:"#/definitions/WebChartGenericDataItem"},{$ref:"#/definitions/WebChartHistogramDataItem"},{$ref:"#/definitions/WebChartScatterplotDataItem"}],title:"WebChartDataTypes"},WebChartTypes:{type:"string",enum:["chart","chartText","chartOverlay","chartOverlays","chartLegend","cursorCrosshair","chartAxis","gaugeAxisTick","gaugeNeedle","category","number","date","chartGuide","scatterSeries","pieSeries","pieTick","gaugeSeries","lineSeries","barSeries","histogramSeries","boxPlotSeries","radarSeries","comboLineAndBarSeries","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 ud=nc(Ll(),1);var Dl={Count:"count",Start:"minValue",End:"maxValue"},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"},Tv=[...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 ba(e)(r)}function Av(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 Pv(e){let r=e;if(e!==void 0&&e.includes("-")){let[i,t]=e.split("-");r=`${i}-${t.toUpperCase()}`}return r}function $l(e,r){let i=q.English,t=Pv(e);if(t!==void 0)if(r.includes(t))i=t;else{let a=Av(t);r.includes(a)?i=a:a==="nb"&&(i="no")}return i}function jl(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 hd(e=document.documentElement){let r=jl("[lang]",e)?.lang??window.navigator.language,i=Object.values(q),t=Object.values(Tv),a=$l(r,i),o=$l(r,t);return o=o==="ar"?"ar-u-nu-latn":o,{locale:a,rtl:jl("[dir]",e)?.getAttribute("dir")==="rtl",formatLocale:o}}function v$(e){let r;return e==="unknown"?r="UTC":e!==void 0&&e!=="system"&&(r=e),r}function S$(e,r){let i={year:"numeric",month:"2-digit",day:"2-digit",timeZone:r};return new Intl.DateTimeFormat("en-CA",i).format(e)}function w$(e,r){let i={hour:"2-digit",minute:"2-digit",hour12:!1,timeZone:r};return new Intl.DateTimeFormat("en-US",i).format(e)}function x$(e,r){let[,i,,,,t]=1111.1.toLocaleString(r),a=e.replace(i,"").replace(t,".");return Number.parseFloat(a)}async function ht(e=hd().locale){let r=await import("./P77S337N.js");switch(e){case q.Arabic:r=await import("./25WZ3G37.js");break;case q.Bosnian:r=await import("./QZRIQASH.js");break;case q.Bulgarian:r=await import("./7U4APXRM.js");break;case q.Catalan:r=await import("./YEPO6FJC.js");break;case q.Czech:r=await import("./JGXA57OA.js");break;case q.Danish:r=await import("./UHWFG3DG.js");break;case q.German:r=await import("./IWXMN6KJ.js");break;case q.Greek:r=await import("./V7UN4MHS.js");break;case q.EnglishUSA:r=await import("./G26JZW5X.js");break;case q.Spanish:r=await import("./VUJRSPXR.js");break;case q.Estonian:r=await import("./ZHDPODSR.js");break;case q.Finnish:r=await import("./QCX257ZI.js");break;case q.French:r=await import("./QU6JXG5Q.js");break;case q.Hebrew:r=await import("./F7POARQ7.js");break;case q.Croatian:r=await import("./XOFFTI3R.js");break;case q.Hungarian:r=await import("./44JXIJG3.js");break;case q.Indonesian:r=await import("./FAFZ5DYD.js");break;case q.Italian:r=await import("./R3LJWFI4.js");break;case q.Japanese:r=await import("./URY23GMB.js");break;case q.Korean:r=await import("./UC4TWRJL.js");break;case q.Lithuanian:r=await import("./Q64DWWQS.js");break;case q.Latvian:r=await import("./GD6BIIBI.js");break;case q.NorwegianBokml:r=await import("./W2YOHNW7.js");break;case q.Dutch:r=await import("./EJAXAXIT.js");break;case q.Polish:r=await import("./BYVHQ7NV.js");break;case q.PortugueseBrazil:r=await import("./QTFFLNVW.js");break;case q.PortuguesePortugal:r=await import("./L4RZUO4V.js");break;case q.Romanian:r=await import("./7MPSTXHL.js");break;case q.Russian:r=await import("./YQSXICQ6.js");break;case q.Serbian:r=await import("./K65YAE5V.js");break;case q.Slovak:r=await import("./KSCEELSX.js");break;case q.Slovenian:r=await import("./VWLSA6ZB.js");break;case q.Swedish:r=await import("./SMPZYPDC.js");break;case q.Thai:r=await import("./UHSE367A.js");break;case q.Turkish:r=await import("./UJS2KCC4.js");break;case q.Ukrainian:r=await import("./TFSUSYO7.js");break;case q.Vietnamese:r=await import("./PTKYG3XA.js");break;case q.ChineseChina:r=await import("./6XSI662U.js");break;case q.ChineseHongKong:r=await import("./4P6PVPZE.js");break;case q.ChineseTaiwan:r=await import("./M5X4E5ZN.js");break;case q.English:}return r}var md={Reject:"reject",RenderUpToTheLimit:"renderUpToTheLimit"},te={AxisLabels:"axisLabels",GuideLabel:"guideLabel",AxisTitle:"axisTitle",ChartTitle:"chartTitle",ChartSubtitle:"chartSubtitle",DataLabels:"dataLabels",LegendTitle:"legendTitle",LegendText:"legendText",DescriptionText:"descriptionText"},I$=32,C$="arcgis_charts_features_extent",Xt={maxRecordCountFactor:5,maxParallelRequests:4,maxRecords:2e3,orderByJSAPIDelimiter:" ",outStatistics:{statisticType:yo.statisticType,onStatisticField:"OBJECTID",outStatisticFieldName:"arcgis_charts_outStatisticFieldName_default_key"},uniqueIdsName:"arcgisChartsUniqueIds"},Fv=["EXPR_1","Expr1","expr1","EXPR1"],T$=1,at=.7,Ov=25,yd=[156,156,156,255],Ev=[156,156,156,255],A$=nr.Solid,P$=2,F$={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"},Ua="arcgis_charts_box_plot_category",Lv=[[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]],Dv=[[104,104,104,255],[51,124,235,255],[132,0,168,255],[156,156,156,255]];function ct(e){let{colorIndex:r,opacity:i,histogramOverlays:t}=e,a=Math.max(0,r??0),o=[...t===!0?Dv:Lv],[n,s,l,c]=o[a%o.length],d=i!==void 0?i*255:c;return[n,s,l,d]}function gd(e){return[0,0,0,(e??at)*255]}function O$(){return{type:L.CursorCrosshair,verticalLineVisible:!1,horizontalLineVisible:!1,style:{type:Be.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 bd(e="",r=pe(),i){let t=Xr.Center;return(i===te.DataLabels||i===te.GuideLabel)&&(t=void 0),{type:Be.TS,color:gd(),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:bd(r,t,a)}}function Gr(e){let r=e?.useRandomColor??!1,i=e?.useRampColor,t=e?.width??1,a=e?.isHistogramOverlay,o=e?.color??gd(1);return r?o=Ki():i!==void 0&&(a===!0?o=ct({colorIndex:i.colorIndex,histogramOverlays:a}):o=ct({colorIndex:i.colorIndex})),e?.opacity!==void 0&&(o[3]=e.opacity),{type:Be.SLS,style:nr.Solid,color:o,width:t}}function $v(){return{type:L.CategoryAxisFormat,characterLimit:11}}function E$(){return{type:L.DateAxisFormat,intlOptions:{}}}function Ma(){return{type:L.NumberAxisFormat,intlOptions:{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:3,useGrouping:!0}}}function L$(){return{type:L.NumberAxisFormat,intlOptions:{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:2}}}function D$(){return{type:L.NumberAxisFormat,intlOptions:{style:"percent",minimumFractionDigits:0,maximumFractionDigits:0}}}function Rl(e="Category Axis"){let r=ie({text:e,visible:!0,font:pe(te.AxisTitle)});r.content.horizontalAlignment=Xr.Center,r.content.verticalAlignment=aa.Middle;let i=ie({text:e,visible:!0,font:pe(te.AxisLabels)});return{type:L.Axis,visible:!0,title:r,labels:i,valueFormat:$v(),lineSymbol:Gr({color:yd})}}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=aa.Middle,r.content.horizontalAlignment=Xr.Center,{type:L.Axis,visible:!0,title:r,labels:i,valueFormat:Ma(),lineSymbol:Gr({color:yd})}}function Yt(){return{type:L.Legend,visible:!0,title:ie({text:"",visible:!0,font:pe(te.LegendTitle)}),body:bd("",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 er(){return[255,255,255,255]}async function Mt(){return(await ht()).defaultTitle}function Nt(){return`Chart ${Date.now()}`}function $$(e,r=!1){return{type:Be.SFS,style:sr.Solid,color:r?Ki(at):ct({colorIndex:e??0,opacity:at})}}function jv(e=0){return{type:Be.SMS,style:ia.Circle,color:ct({colorIndex:e,opacity:at}),size:4}}function Rv(e){return{type:Be.SLS,style:nr.Solid,color:ct({colorIndex:e,opacity:at}),width:2}}function _v(e=!1){return{type:Be.SMS,style:ia.Circle,color:e?Ki(at):ct({colorIndex:0,opacity:at}),size:7}}function j$(){return{type:L.SizePolicy,field:"",scaleType:vo.Linear,minSize:5,maxSize:30}}function kv(e=!1){return{type:L.Overlays,trendLine:{type:L.Overlay,created:!1,visible:!0,symbol:{type:Be.SLS,style:nr.Solid,color:e?Ki():ct({colorIndex:1}),width:2}}}}function Bv(){return{type:L.ScatterSeries,id:L.ScatterSeries,name:L.ScatterSeries,x:"",y:"",markerSymbol:_v(),overlays:kv(),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:Ov});switch(n.grid=s,e){case L.BarSeries:{o=Rl(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=Rl("");break}}return o!==void 0&&i.push(o,n),i}function qv(){return{type:L.GaugeNeedle,symbol:{type:Be.SFS,color:[0,0,0,200]}}}async function Mv(){let e=await ht(),r=[],i=e.xAxis,t=Wi(i);return t.needle=qv(),r.push(t),r}async function Nv(e){let r=e.objectIDField??"ObjectID",i=`${Ie.Count}_${r}_0`.toUpperCase(),t=(await ht()).countSeries;return{type:L.LineSeries,id:t,name:t,query:{outStatistics:[{statisticType:Ie.Count,onStatisticField:r,outStatisticFieldName:i}],groupByFieldsForStatistics:[]},x:"",y:i,lineSymbol:Rv(e.seriesIndex),markerSymbol:jv(e.seriesIndex),dataLabels:ie({text:"",visible:!1,font:pe(te.DataLabels)}),temporalBinning:{type:ra.FixedDateBased,unit:_e.Day,size:0,timeAggregationType:ar.Start,trimIncompleteTimeInterval:!0,nullPolicy:go.Interpolate}}}async function R$(e){return{...await Nv(e),type:L.RadarSeries}}function Wv(e){return{type:Be.SFS,style:sr.Solid,color:ct({colorIndex:e,opacity:at})}}async function _$(e){let r=e.objectIDField??"ObjectID",i=`${Ie.Count}_${r}_0`.toUpperCase(),t=(await ht()).countSeries;return{type:L.BarSeries,id:t,name:t,query:{outStatistics:[{statisticType:Ie.Count,onStatisticField:r,outStatisticFieldName:i}],groupByFieldsForStatistics:[]},x:"",y:i,fillSymbol:Wv(e.seriesIndex),dataLabels:ie({text:"",visible:!1,font:pe(te.DataLabels),type:te.DataLabels})}}async function k$(e){let r=(await ht()).countSeries;return{name:r,type:L.BoxPlotSeries,id:r,fillSymbol:{type:Be.SFS,style:sr.Solid,color:ct({colorIndex:e,opacity:at})},query:{},x:Ua,y:""}}function zv(){return{type:L.PieTick,visible:!0,lineSymbol:Gr({width:1,color:Ev})}}function Vv(){return{type:Be.SFS,style:sr.Solid}}async function B$(e){let r=`${Ie.Count}_${e}_0`.toUpperCase(),i=(await ht()).countSeries;return{type:L.PieSeries,id:i,name:i,query:{outStatistics:[{statisticType:Ie.Count,onStatisticField:e??"ObjectID",outStatisticFieldName:r}],groupByFieldsForStatistics:[]},x:"",y:r,fillSymbol:Vv(),dataLabels:ie({text:"",visible:!1,font:pe(te.DataLabels),type:te.DataLabels}),startAngle:-90,endAngle:270,dataLabelsCharacterLimit:11,displayCategoryOnDataLabel:!0,displayNumericValueOnDataLabel:!1,displayPercentageOnDataLabel:!0,numericValueFormat:{...Ma(),intlOptions:{minimumFractionDigits:1,maximumFractionDigits:1}},percentValueFormat:{...Ma(),intlOptions:{minimumFractionDigits:1,maximumFractionDigits:1}},ticks:zv()}}function q$(e){let r=e.objectIDField??"ObjectID",i=`${Ie.Count}_${r}_0`.toUpperCase(),t="Series0";return{type:L.GaugeSeries,id:t,name:t,query:{outStatistics:[{statisticType:Ie.Count,onStatisticField:r,outStatisticFieldName:i}]},x:""}}function zr(){return!1}async function M$(e=Nt()){return{version:It,type:L.Chart,id:e,colorMatch:!0,rotated:zr(),orderOptions:{data:{orderType:or.Category,orderBy:vt.Ascending}},title:ie({text:await Mt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:er(),axes:await Or(L.BarSeries),series:[],legend:Yt()}}async function N$(e=Nt()){return{version:It,type:L.Chart,id:e,rotated:zr(),colorMatch:!0,orderOptions:{data:{orderType:or.Category,orderBy:vt.Ascending}},title:ie({text:await Mt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:er(),series:[],legend:Yt(),axes:await Or(L.BoxPlotSeries),standardizeValues:!0,showOutliers:!1}}async function W$(e=Nt()){return{version:It,type:L.Chart,id:e,colorMatch:!0,rotated:zr(),orderOptions:{data:{orderType:or.Category,orderBy:vt.Ascending}},title:ie({text:await Mt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:er(),axes:await Or(L.LineSeries),series:[],legend:Yt()}}async function z$(e=Nt()){return{version:It,type:L.Chart,id:e,colorMatch:!0,orderOptions:{data:{orderType:or.Category,orderBy:vt.Ascending}},title:ie({text:await Mt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:er(),axes:await Or(L.RadarSeries),series:[],legend:Yt()}}async function V$(e=Nt()){return{version:It,type:L.Chart,id:e,colorMatch:!0,orderOptions:{data:{orderType:or.YValue,orderBy:vt.Descending}},title:ie({text:await Mt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:er(),series:[],legend:{...Yt(),displayNumericValue:!1,displayPercentage:!0}}}async function U$(e=Nt()){return{version:It,type:L.Chart,id:e,colorMatch:!0,title:ie({text:await Mt(),visible:!0,font:pe(te.ChartTitle)}),series:[],axes:await Mv()}}async function G$(e=Nt()){return{version:It,type:L.Chart,id:e,colorMatch:!0,title:ie({text:await Mt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:er(),axes:await Or(L.ScatterSeries),series:[Bv()],legend:Yt()}}function Uv(){return{type:L.Overlays,mean:ki(1),median:ki(2),standardDeviation:ki(3),comparisonDistribution:ki(4)}}function Gv(){return{type:Be.SFS,style:sr.Solid,color:ct({colorIndex:0,opacity:at})}}function Hv(){return{type:L.HistogramSeries,id:L.HistogramSeries,name:L.HistogramSeries,visible:!0,dataTooltipVisible:!0,dataTooltipReverseColor:!1,assignToSecondValueAxis:!1,x:"",binCount:32,overlays:Uv(),dataTransformationType:ta.None,fillSymbol:Gv(),dataLabels:ie({text:"",visible:!1,font:pe(te.DataLabels)})}}async function H$(e=Nt()){return{version:It,type:L.Chart,id:e,colorMatch:!0,title:ie({text:await Mt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:er(),axes:await Or(L.HistogramSeries),series:[Hv()],legend:Yt()}}var xa={behaviorAfterLimit:md.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 Qv(e){let r={...xa};return e!==void 0&&Object.keys(xa).forEach(i=>{let t=i;r[t]=e[t]??xa[t]}),r}function Q$(){return{maxScatterCellsPerQuery:500,maxScatterCellsPerQueryForStandard:175,maxElementsPerSelectionQuery:25,maxOIDsPerSelectionQuery:2e3,maxOperandsPerWhereClause:200}}async function K$(e){let r=await ht(),i;switch(e){case Ie.Average:{i=r.statistics.mean;break}case Ie.ContinuousPercentile:{i=r.statistics.median;break}case Ie.Sum:{i=r.statistics.sum;break}case Ie.Minimum:{i=r.statistics.minimum;break}case Ie.Maximum:{i=r.statistics.maximum;break}case Ie.Variance:{i=r.statistics.variance;break}case Ie.DiscretePercentile:{i=r.statistics.discretePercentile;break}case Ie.NoAggregation:{i=r.statistics.noAggregation;break}case Ie.Count:default:{i=r.statistics.count;break}}return i}async function J$(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 Kv(){return Rr.Side}async function Z$(){return(await ht()).notAvailable}var X$=0,Jv="_arcgis_charts_outliers",Zv="_arcgis_charts_z_score",Y$=[210,210,210,255*at],ej=" 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)},Na={exports:{}},Te={},Wa={exports:{}},tr={};function vd(){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 Xv(e,r,i){}function Yv(e,r,i){}var eS=/javascript\s*\:/img;function tS(e,r){return eS.test(r)?"":r}tr.whiteList=vd();tr.getDefaultWhiteList=vd;tr.onAttr=Xv;tr.onIgnoreAttr=Yv;tr.safeAttrValue=tS;var rS={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=rS;function iS(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 d=Wr.trim(e.slice(a,o)),u=d.indexOf(":");if(u!==-1){var p=Wr.trim(d.slice(0,u)),f=Wr.trim(d.slice(u+1));if(p){var m=r(a,n.length,p,f,d);m&&(n+=m+"; ")}}}a=o+1}for(;o<i;o++){var l=e[o];if(l==="/"&&e[o+1]==="*"){var c=e.indexOf("*/",o+2);if(c===-1)break;o=c+1,a=o+1,t=!1}else l==="("?t=!0:l===")"?t=!1:l===";"?t||s():l===`
57
- `&&s()}return Wr.trim(n)}var aS=iS,Bi=tr,oS=aS;function _l(e){return e==null}function nS(e){var r={};for(var i in e)r[i]=e[i];return r}function Sd(e){e=nS(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}Sd.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=oS(e,function(l,c,d,u,p){var f=t[d],m=!1;if(f===!0?m=f:typeof f=="function"?m=f(u):f instanceof RegExp&&(m=f.test(u)),m!==!0&&(m=!1),u=n(d,u),!!u){var y={position:c,sourcePosition:l,source:p,isWhite:m};if(m){var b=a(d,u,y);return _l(b)?d+":"+u:b}else{var b=o(d,u,y);if(!_l(b))return b}}});return s};var sS=Sd;(function(e,r){var i=tr,t=sS;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]})(Wa,Wa.exports);var Ga=Wa.exports,Ha={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}},lS=Ga.FilterCSS,pS=Ga.getDefaultWhiteList,Gi=Ha;function wd(){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 xd=new lS;function dS(e,r,i){}function cS(e,r,i){}function uS(e,r,i){}function fS(e,r,i){}function Id(e){return e.replace(mS,"&lt;").replace(yS,"&gt;")}function hS(e,r,i,t){if(i=Od(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(kl.lastIndex=0,kl.test(i)||(Bl.lastIndex=0,Bl.test(i)&&(qi.lastIndex=0,qi.test(i))))return"";t!==!1&&(t=t||xd,i=t.process(i))}return i=Ed(i),i}var mS=/</g,yS=/>/g,gS=/"/g,bS=/&quot;/g,vS=/&#([a-zA-Z0-9]*);?/gim,SS=/&colon;?/gim,wS=/&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,kl=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,Bl=/u\s*r\s*l\s*\(.*/gi;function Cd(e){return e.replace(gS,"&quot;")}function Td(e){return e.replace(bS,'"')}function Ad(e){return e.replace(vS,function(r,i){return i[0]==="x"||i[0]==="X"?String.fromCharCode(parseInt(i.substr(1),16)):String.fromCharCode(parseInt(i,10))})}function Pd(e){return e.replace(SS,":").replace(wS," ")}function Fd(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 Od(e){return e=Td(e),e=Ad(e),e=Pd(e),e=Fd(e),e}function Ed(e){return e=Cd(e),e=Id(e),e}function xS(){return""}function IS(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 c="[/removed]",d=l.position+c.length;return a.push([o!==!1?o:l.position,d]),o=!1,c}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(c){s+=n.slice(l,c[0]),l=c[1]}),s+=n.slice(l),s}}}function CS(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 TS(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=wd();Te.getDefaultWhiteList=wd;Te.onTag=dS;Te.onIgnoreTag=cS;Te.onTagAttr=uS;Te.onIgnoreTagAttr=fS;Te.safeAttrValue=hS;Te.escapeHtml=Id;Te.escapeQuote=Cd;Te.unescapeQuote=Td;Te.escapeHtmlEntities=Ad;Te.escapeDangerHtml5Entities=Pd;Te.clearNonPrintableCharacter=Fd;Te.friendlyAttrValue=Od;Te.escapeAttrValue=Ed;Te.onIgnoreTagStripAll=xS;Te.StripTagBody=IS;Te.stripCommentTag=CS;Te.stripBlankChar=TS;Te.cssFilter=xd;Te.getDefaultCSSWhiteList=pS;var Ji={},kt=Ha;function AS(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 PS(e){return e.slice(0,2)==="</"}function FS(e,r,i){var t="",a=0,o=!1,n=!1,s=0,l=e.length,c="",d="";e:for(s=0;s<l;s++){var u=e.charAt(s);if(o===!1){if(u==="<"){o=s;continue}}else if(n===!1){if(u==="<"){t+=i(e.slice(a,s)),o=s,a=s;continue}if(u===">"){t+=i(e.slice(a,o)),d=e.slice(o,s+1),c=AS(d),t+=r(o,t.length,c,d,PS(d)),a=s+1,o=!1;continue}if(u==='"'||u==="'")for(var p=1,f=e.charAt(s-p);f.trim()===""||f==="=";){if(f==="="){n=u;continue e}f=e.charAt(s-++p)}}else if(u===n){n=!1;continue}}return a<e.length&&(t+=i(e.substr(a))),t}var OS=/[^a-zA-Z0-9\\_:.-]/gim;function ES(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(OS,"").toLowerCase(),!(p.length<1)){var m=r(p,f||"");m&&a.push(m)}}for(var l=0;l<n;l++){var c=e.charAt(l),d,u;if(o===!1&&c==="="){o=e.slice(i,l),i=l+1,t=e.charAt(i)==='"'||e.charAt(i)==="'"?i:DS(e,l+1);continue}if(o!==!1&&l===t){if(u=e.indexOf(c,l+1),u===-1)break;d=kt.trim(e.slice(t+1,u)),s(o,d),o=!1,l=u,i=l+1;continue}if(/\s|\n|\t/.test(c))if(e=e.replace(/\s|\n|\t/g," "),o===!1)if(u=LS(e,l),u===-1){d=kt.trim(e.slice(i,l)),s(d),o=!1,i=l+1;continue}else{l=u-1;continue}else if(u=$S(e,l-1),u===-1){d=kt.trim(e.slice(i,l)),d=ql(d),s(o,d),o=!1,i=l+1;continue}else continue}return i<e.length&&(o===!1?s(e.slice(i)):s(o,ql(kt.trim(e.slice(i))))),kt.trim(a.join(" "))}function LS(e,r){for(;r<e.length;r++){var i=e[r];if(i!==" ")return i==="="?r:-1}}function DS(e,r){for(;r<e.length;r++){var i=e[r];if(i!==" ")return i==="'"||i==='"'?r:-1}}function $S(e,r){for(;r>0;r--){var i=e[r];if(i!==" ")return i==="="?r:-1}}function jS(e){return e[0]==='"'&&e[e.length-1]==='"'||e[0]==="'"&&e[e.length-1]==="'"}function ql(e){return jS(e)?e.substr(1,e.length-2):e}Ji.parseTag=FS;Ji.parseAttr=ES;var RS=Ga.FilterCSS,it=Te,Ld=Ji,_S=Ld.parseTag,kS=Ld.parseAttr,zi=Ha;function Mi(e){return e==null}function BS(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 qS(e){var r={};for(var i in e)r[i]=e[i];return r}function MS(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 Dd(e){e=qS(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=MS(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 RS(e.css))}Dd.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,c=i.escapeHtml,d=r.cssFilter;i.stripBlankChar&&(e=it.stripBlankChar(e)),i.allowCommentTag||(e=it.stripCommentTag(e));var u=!1;i.stripIgnoreTagBody&&(u=it.StripTagBody(i.stripIgnoreTagBody,o),o=u.onIgnoreTag);var p=_S(e,function(f,m,y,b,I){var w={sourcePosition:f,position:m,isClosing:I,isWhite:Object.prototype.hasOwnProperty.call(t,y)},F=a(y,b,w);if(!Mi(F))return F;if(w.isWhite){if(w.isClosing)return"</"+y+">";var S=BS(b),C=t[y],E=kS(S.html,function(P,O){var j=zi.indexOf(C,P)!==-1,x=n(y,P,O,j);return Mi(x)?j?(O=l(y,P,O,d),O?P+'="'+O+'"':P):(x=s(y,P,O,j),Mi(x)?void 0:x):x});return b="<"+y,E&&(b+=" "+E),S.closing&&(b+=" /"),b+=">",b}else return F=o(y,b,w),Mi(F)?c(b):F},c);return u&&(p=u.remove(p)),p};var NS=Dd;(function(e,r){var i=Te,t=Ji,a=NS;function o(s,l){var c=new a(l);return c.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)})(Na,Na.exports);var Pr=Na.exports,WS=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},zS=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 c=t.validate(l,i);return c.isValid?s.concat([l]):(a=!0,s.concat([c.sanitized]))},[]);else if(WS(r)){var n=Object.keys(r);o=n.reduce(function(s,l){var c=r[l],d=t.validate(c,i);return d.isValid?s[l]=c:(a=!0,s[l]=d.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"},tj={SelectionByClick:"SelectionByClick",SelectionByRange:"SelectionByRange",ProgrammaticSelection:"ProgrammaticSelection",ClearSelection:"ClearSelection"};function rj(e){return e?.colorMatch??!1}function ij(e){let r=zr();if(e!==void 0){let i=Me(e.series);(i===L.BarSeries||i===L.LineSeries||i===L.ComboLineAndBarSeries||i===L.BoxPlotSeries)&&(r=e.rotated??zr())}return r}function aj(e){return e?.map(r=>r.type)??[]}function VS(e){let r=e?.stackedType;if(r===void 0&&e!==void 0){let i=Me(e.series);(i===L.BarSeries||i===L.LineSeries||i===L.ComboLineAndBarSeries||i===L.RadarSeries)&&(r=Kv())}return r}function US(e){let r=e;return r=r.replace(/'/gu,"''"),r=r.replace(/[/\\"|[\]\\]/gu,"\\$&"),r}function GS(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 HS(e){let r=e,i="";e.startsWith("'")&&e.endsWith("'")&&(r=e.slice(1,-1),i="'"),r=r.replace(/'/gu,"''");let t="";return GS(r)&&(t="N"),`${t}${i}${r}${i}`}function $d(e){let{value:r,keepSurroundingQuotes:i,escape:t}=e,a=r?.trim();if(!ut(a)){let o="";a.startsWith("'")&&a.endsWith("'")&&(a=a.slice(1,-1),i&&(o="'")),t!==!1&&(a=US(a)),a=`${o}${a}${o}`}return a}function oj(e){let{count:r,seriesCount:i,chartType:t,chartLimits:a}=e,{behaviorAfterLimit:o}=a??{},n=!0;if(o!==md.RenderUpToTheLimit){let{maxBarChartSeriesCount:s,maxBarUniqueSeriesCountTotal:l,maxBarTwoSeriesCountPerSeries:c,maxBarTwoSeriesCountTotal:d,maxBarThreePlusSeriesCountPerSeries:u,maxBarThreePlusSeriesCountTotal:p,maxLineChartSeriesCount:f,maxLineUniqueSeriesCountTotal:m,maxLineTwoSeriesCountPerSeries:y,maxLineTwoSeriesCountTotal:b,maxLineThreePlusSeriesCountPerSeries:I,maxLineThreePlusSeriesCountTotal:w,maxPieChartSliceCountTotal:F,maxGaugeByFeaturesLimit:S,maxBoxPlotSeriesCount:C,maxBoxUniqueSeriesCountTotal:E,maxBoxTwoSeriesCountTotal:P,maxBoxTwoSeriesCountPerSeries:O,maxBoxThreePlusSeriesCountTotal:j,maxBoxThreePlusSeriesCountPerSeries:x}=Qv(a);switch(t){case L.BarSeries:case L.ComboLineAndBarSeries:{let T=r/i;i<=s?i===0?n=!0:i===1?n=r<=l:i===2?n=r<=d&&T<=c:i>2&&(n=r<=p&&T<=u):n=!1}break;case L.LineSeries:case L.RadarSeries:{let T=r/i;i<=f?i===0?n=!0:i===1?n=r<=m:i===2?n=r<=b&&T<=y:i>2&&(n=r<=w&&T<=I):n=!1}break;case L.PieSeries:n=r<=F;break;case L.BoxPlotSeries:{let T=r/i;i<=C?i===0?n=!0:i===1?n=r<=E:i===2?n=r<=P&&T<=O:i>2&&(n=r<=j&&T<=x):n=!1}break;case L.GaugeSeries:n=r<=S;break}}return n}function nj(e=[],r){let i=e.find(t=>t.name===r)?.alias;return i!==""?i??r:r}function sj(e=[],r){let i=e.find(t=>t.alias===r)?.name;return i!==""?i??r:r}function lj(e){let r=!1;switch(Me(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 QS(e){let r=!0;return Me(e.series)===L.ScatterSeries&&(r=e.series.length===1),r}function KS(e){let r=!0;return Me(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(ta).includes(e.series[0].dataTransformationType))),r}function JS(e){let r=!0;return Me(e.series)===L.PieSeries&&(r=e.series.length<=1),r}function pj(e,r){let i=Me(r?.series),t=e.includes(i);if(t&&r!==void 0)switch(i){case L.HistogramSeries:t=KS(r);break;case L.ScatterSeries:t=QS(r);break;case L.PieSeries:t=JS(r);break}return t}function ut(e){return e==null||typeof e=="string"&&e.trim()===""}function ZS(e,r){let i=r.find(t=>t in e);return{isInItem:i!==void 0,expr:i}}function dj(e){return ZS(e,Fv)}function cj(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 uj(e){let r;switch(e){case lt.Mean:r=1;break;case lt.Median:r=2;break;case lt.StdDev:r=3;break;case lt.Normal:default:r=0;break}return r}function fj(e,r){if(r!==void 0){let{seriesId:i,overlayType:t,visible:a}=e.detail,o;switch(t){case lt.Mean:r.series[0].type===L.HistogramSeries&&(o=r.series[0].overlays?.mean);break;case lt.Median:r.series[0].type===L.HistogramSeries&&(o=r.series[0].overlays?.median);break;case lt.StdDev:r.series[0].type===L.HistogramSeries&&(o=r.series[0].overlays?.standardDeviation);break;case lt.Normal:r.series[0].type===L.HistogramSeries&&(o=r.series[0].overlays?.comparisonDistribution);break;case lt.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 hj(e){return new zS().sanitize(e)}function mj(e){return e!=null&&!Number.isNaN(e)&&Number.isFinite(e)}function yj(e,r){let i;return r!==void 0&&(i={...r,rotated:e}),i}function gj(e,r){let i={fieldToSort:""};if(!ut(e)){let t=e.trim(),a=t.split(" ").at(-1)?.toUpperCase();a===vt.Ascending||a===vt.Descending?i={fieldToSort:t.substring(0,t.lastIndexOf(" ")),orderBy:a}:(i={fieldToSort:t},r!==!1&&(i.orderBy=vt.Ascending))}return i}function bj(e){return e===V.BarAndLineSplitBy||e===V.BarAndLineSplitByNoAggregation||e===V.BoxPlotMonoFieldAndSplitBy||e===V.BoxPlotMultiFieldsAndSplitBy||e===V.BoxPlotMonoFieldAndCategoryAndSplitBy}function vj(e){return e?.selectionOIDs===void 0||e.selectionOIDs.length===0}function Sj(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,c)=>{let d=t(l);a.set(d,c)});let o=[],n=[];r.forEach((l,c)=>{let d=t(l);a.has(d)&&(o.push(c),n.push(l))}),n.sort((l,c)=>{let d=t(l),u=t(c);return a.get(d)-a.get(u)});let s=[...r];return o.forEach((l,c)=>{s[l]=n[c]}),s}var Jt=["1.0.0","1.0.1","2.0.0","3.0.0","3.1.0","3.2.0","3.3.0","3.4.0","3.5.0","3.6.0","3.7.0","3.8.0","3.9.0","3.9.1","3.9.2","3.10.0","3.11.0","4.0.0","4.0.1","5.0.0","6.0.0","6.1.0","6.2.0","6.2.1","6.3.0","6.4.0","7.0.0","7.1.0","7.1.1","7.2.0","7.2.1","7.3.1","7.4.0","7.4.1","7.5.0","7.5.1","7.6.0","8.0.0","8.0.1","9.0.0","9.1.0","9.2.0","9.3.0","9.4.0","9.5.0","9.6.0","9.6.1","9.7.0","10.0.0","11.0.0","12.0.0","13.0.0","14.0.0","14.0.1","15.0.0","16.0.0","16.1.0","16.1.1","17.0.0","17.1.0","17.2.0","17.2.1","18.0.0","18.1.0","18.1.1","18.1.2","18.1.3","19.0.0","20.0.0","20.1.0","20.2.0","21.0.0","21.1.0","22.0.0","23.0.0","23.1.0","23.2.0"],XS="1.0.0",YS="unrecognized.version",ew=[L.LineSeries,L.BarSeries,L.ComboLineAndBarSeries,L.RadarSeries];function Ia(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 tw(e){return e!==void 0?/^([1-9]\d*|0)(\.(([1-9]\d*)|0)){2}$/u.test(e):!1}function rw(e){let r=Tt.Same,i=[];if(tw(e)&&e!==void 0){Jt.sort(Ia);let t=Ia(e,Jt[Jt.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=Jt.length-2;a>=0;a-=1)if(Ia(e,Jt[a])>=0){i=Jt.slice(a,Jt.length);break}i.length===0&&i.push(XS)}}else r=Tt.Unrecognized,i.push(YS);return{versionStatus:r,versions:i}}function iw(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 wj(e,r){let i=e!==null?e.toString():null,t=r!=null?r.toString():null;return t!==null&&t!==i?Be.SFS:Be.SLS}function Qa(e,r){let i="";return e!==void 0&&e.includes("=")&&(i=r!==!1?$d({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=HS(o)):o=$d({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=Qa(e,!1),t=Hr({where:e,normalize:!1});r=i===`${t}`}return r}function xj(e){let{where:r,normalize:i,escape:t}=e,a=i===void 0?!0:i,o=Qa(r),n=Hr({where:r,normalize:a,keepSurroundingQuotes:!0,escape:t}),s=r;return o!==""&&n!==""&&(s=`${o}=${n}`),s}function aw(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 ow(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 nw(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 Ua: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 Ct(e){let r=V.NonSpecific;if(e?.[0]!==void 0)switch(Me(e)){case L.PieSeries:r=aw(e);break;case L.RadarSeries:case L.BarSeries:case L.LineSeries:case L.ComboLineAndBarSeries:r=ow(e);break;case L.BoxPlotSeries:r=nw(e);break}return r}function Ij(e){let{seriesConfig:r,xAxisValueFormatType:i,setTimeBinningInfoWhenNotProvided:t}=e,a=!1;if(sw(r)&&r.binTemporalData!==!1&&i===L.DateAxisFormat){let o=Ct([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 sw(e){return ew.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 lw(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 pw(e){return e.subType===bo.FeatureGauge}function Cj(e){let r;return e!==void 0&&("bins"in e?r=e.bins:"dataItems"in e&&(r=e.dataItems)),r}function dw(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,c=lw(i)[r];return n===!0&&(r===ye.Min||r===ye.Max)&&(c=`${c}${Jv}`),s===!0&&(dw(t)||r===ye.Outlier)&&(c=`${c}${Zv}`),(o===void 0||`${o}`.trim()==="")&&(l=Hr({where:a,normalize:!0,escape:!1})),l!==void 0&&`${l}`.trim()!==""&&(c=`${l}${c!==""?`_${c}`:""}`),c}function Ca(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 cw(e){let{configSeries:r,boxPlotDataItem:i,yList:t,showOutliers:a}=e,o=Ct(r),n=!1;switch(o){case V.BoxPlotMonoField:case V.BoxPlotMultiFields:case V.BoxPlotMonoFieldAndCategory:n=Ca({dataItem:i,showOutliers:a});break;case V.BoxPlotMultiFieldsAndCategory:n=t.some(s=>Ca({dataItem:i,y:s,showOutliers:a}));break;case V.BoxPlotMonoFieldAndSplitBy:case V.BoxPlotMultiFieldsAndSplitBy:case V.BoxPlotMonoFieldAndCategoryAndSplitBy:n=r.some(s=>Ca({dataItem:i,splitBy:s.query?.where,showOutliers:a}));break;default:n=!1;break}return n}function jd(e){return e.map(r=>r.id).filter(r=>r!=="undefined")}function Qi(e,r){let i=[],t=r??jd(e),a=Ct(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 uw(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 Zt(e,r){return e===null&&r===!0||Number.isFinite(e)}function fw(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]))&&Zt(r[t],a)}function Tj(e){let{chartConfig:r,nullAsValid:i=!1,dataSet:t}=e,a=!0;if(r!==void 0){let o=Me(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 c=s;l=Zt(c.minValue,i)&&Zt(c.maxValue,i)}break;case L.ScatterSeries:{let c=s,{x:d,y:u}=r.series[0];l=Zt(c[d],i)&&Zt(c[u],i)}break;case L.ComboLineAndBarSeries:case L.RadarSeries:case L.LineSeries:case L.BarSeries:{let c=s,{x:d}=r.series[0];l=n.some(u=>fw({dataItem:c,x:d,y:u,nullAsValid:i}));break}case L.BoxPlotSeries:{let c=r.series,{showOutliers:d}=r;l=cw({configSeries:c,boxPlotDataItem:s,yList:n,showOutliers:d});break}case L.PieSeries:{let c=s,{x:d,y:u}=r.series[0];Ct(r.series)===V.PieFromFields&&(d=ei,u=oa);let p=c[u];l=c[d]!==void 0&&c[d]!==null&&!ua(p)&&Zt(Number(p),i)}break;case L.GaugeSeries:{let{x:c}=r.series[0];l=Zt(s[c],i)}break}return l})}}return a}function hw(e,r){let i=new Map,t=r??jd(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 mw(e){let{seriesConfig:r,filteredSeriesIds:i,filteredData:t}=e,a=hw(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,c)=>{a.forEach(d=>{if(o){let u=[],p=[];for(let f=0;f<d.length;f+=1){let m=l[d[f]];m<0?p[c]=(p[c]??0)+m:u[c]=(u[c]??0)+m}u=u.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,u.length>0?u[u.length-1]:p[p.length-1]),s=Math.min(s,p.length>0?p[0]:u[0])}else{let u=0;for(let p=0;p<d.length;p+=1){let f=l[d[p]];u+=f,n=Math.max(n,u),s=Math.min(s,u)}}})}),{stackedMinY:s,stackedMaxY:n}}function yw(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 Aj(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:c}=l[0],d=n.filter(p=>p[c]!==null);[t,a]=Nr(d,p=>p[c]),o.axes?.[1]?.valueFormat.type===L.DateAxisFormat&&t!==void 0&&a!==void 0&&([t,a]=[new Date(t).valueOf(),new Date(a).valueOf()]);let u=Me(o.series);if(u===L.HistogramSeries&&n.length>0){let p=n[0]?.[Dl.Start],f=n[n.length-1]?.[Dl.End];t=typeof p=="number"?p:t,a=typeof f=="number"?f:a}else if(u===L.BoxPlotSeries){r=Number.MAX_SAFE_INTEGER,i=Number.MIN_SAFE_INTEGER;let p=Qi(l,s),f=Ct(l),m="standardizeValues"in o?o.standardizeValues===!0:void 0,y=o.series.map(b=>b.visible!==!1?Hr({where:b.query?.where}):"");y.length===0&&y.push(" ");for(let b=0;b<d.length;b+=1)for(let I=0;I<p.length;I+=1){let w=f===V.BoxPlotMultiFieldsAndCategory?p[I]:void 0;for(let F=0;F<y.length;F+=1){let{min:S,max:C}=yw({y:w,splitByValue:y[F],chartSubType:f,showOutliers:!1,standardizeValues:m,dataItem:d[b]});S!=null&&S<r&&(r=S),C!=null&&C>i&&(i=C)}}}else switch(VS(o)){case Rr.Stacked100:{r=Number.NaN,i=Number.NaN;break}case Rr.Stacked:{let{stackedMinY:p,stackedMaxY:f}=mw({seriesConfig:l,filteredData:d,filteredSeriesIds:s});r=p,i=f;break}case Rr.Side:default:{r=Number.MAX_SAFE_INTEGER,i=Number.MIN_SAFE_INTEGER;let p=Qi(l,s);for(let f=0;f<p.length;f+=1){let m=p[f],[y,b]=Nr(d,I=>I[m]);y!==void 0&&y<r&&(r=y),b!==void 0&&b>i&&(i=b)}break}}}return{minY:r,maxY:i,minX:t,maxX:a}}async function ft(e=hd().locale){let r=await import("./FHTL4XNP.js");switch(e){case q.Arabic:r=await import("./GNF77E4L.js");break;case q.Bosnian:r=await import("./FNFIAL4P.js");break;case q.Bulgarian:r=await import("./QLBYMMXE.js");break;case q.Catalan:r=await import("./U5F3OYEJ.js");break;case q.Czech:r=await import("./JR4V2XJN.js");break;case q.Danish:r=await import("./ZOR7HMIZ.js");break;case q.German:r=await import("./K4OIWWOC.js");break;case q.Greek:r=await import("./VTNUJQZD.js");break;case q.EnglishUSA:r=await import("./ETNATER5.js");break;case q.Spanish:r=await import("./2ORKQPRC.js");break;case q.Estonian:r=await import("./IISXYFCB.js");break;case q.Finnish:r=await import("./5G547BRC.js");break;case q.French:r=await import("./J6RH3W3F.js");break;case q.Hebrew:r=await import("./N2WNUWBI.js");break;case q.Croatian:r=await import("./B6UM4XDW.js");break;case q.Hungarian:r=await import("./G2UV53B5.js");break;case q.Indonesian:r=await import("./PTQ457RQ.js");break;case q.Italian:r=await import("./FTMXQ7KS.js");break;case q.Japanese:r=await import("./MGYVUIH2.js");break;case q.Korean:r=await import("./22W6N7QC.js");break;case q.Lithuanian:r=await import("./2OOTMZNB.js");break;case q.Latvian:r=await import("./3KLFXRNV.js");break;case q.NorwegianBokml:r=await import("./OBZJ4PPO.js");break;case q.Dutch:r=await import("./UL4FATBY.js");break;case q.Polish:r=await import("./NXR5WV4B.js");break;case q.PortugueseBrazil:r=await import("./MAVVSXIA.js");break;case q.PortuguesePortugal:r=await import("./3AFOKLHR.js");break;case q.Romanian:r=await import("./CEYWB4UW.js");break;case q.Russian:r=await import("./EZMECKYQ.js");break;case q.Serbian:r=await import("./FKMWQAUN.js");break;case q.Slovak:r=await import("./MQSPV53L.js");break;case q.Slovenian:r=await import("./AX2ACZ5Q.js");break;case q.Swedish:r=await import("./R2XMNZPZ.js");break;case q.Thai:r=await import("./4DPWOAJ5.js");break;case q.Turkish:r=await import("./XBD656K5.js");break;case q.Ukrainian:r=await import("./MCXYVUPW.js");break;case q.Vietnamese:r=await import("./FKNJCM5F.js");break;case q.ChineseChina:r=await import("./QRL2RNOO.js");break;case q.ChineseHongKong:r=await import("./WUUQIWPR.js");break;case q.ChineseTaiwan:r=await import("./WPQ277KP.js");break;case q.English:}return r}var Bt=class extends Error{constructor(r,i,t){super(i),this.name=r,this.details=t}},qt={Default:"defaultError",LayerLoadFailure:"layerLoadFailure",QueryFeaturesError:"queryFeaturesError",ChartDisposed:"ChartDisposeError",LayerFieldsNotFound:"layerFieldsNotFound"};function Pj(e){return e!==void 0&&(!("url"in e)||!e.url)}function Ka(e){return e!==void 0&&"layer"in e}function gw(e){return e!==void 0&&"type"in e&&e.type==="feature"}function bw(e){return e!==void 0&&"type"in e&&e.type==="subtype-group"}function Ja(e){return e!==void 0&&"type"in e&&e.type==="subtype-sublayer"}function Fj(e){return gw(e)||Ja(e)}function Re(e){return Ja(e)?e.parent:e}function Rd(e){return e.capabilities?.query?.supportsDistance||Re(e).sourceJSON?.advancedQueryCapabilities?.supportsQueryWithDistance===!0}function vw(e,r){return e.capabilities?.queryAttributeBins?.supportsDate===!0&&(ut(r)||e.capabilities?.queryAttributeBins?.supportsStackBy)}function Oj(e){let r=!1,i=Re(qe(e)).sourceJSON;if(i){let t=i.queryBinsCapabilities?.supportsFixedIntervalBin,a=i.queryBinsCapabilities?.supportedStatisticTypes,o=[Ie.Maximum,Ie.Count].every(n=>a?.includes(n.toUpperCase())||a?.includes(n.toLowerCase()));r=t&&o}return r}function Ej(e){let r;return Ka(e)?r=e.layer:r=e,r}function qe(e){let r;return Ka(e)?r=e.layer:r=e,r}function Sw(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 Lj(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 ww(e){let r;switch(e){case Ut.Feet:r="esriSRUnit_Foot";break;case Ut.Miles:r="esriSRUnit_StatuteMile";break;case Ut.NauticalMiles:r="esriSRUnit_NauticalMile";break;case Ut.USNauticalMiles:r="esriSRUnit_USNauticalMile";break;case Ut.Meters:r="esriSRUnit_Meter";break;case Ut.Kilometers:r="esriSRUnit_Kilometer";break}return r}async function Dj(e){let{queryObject:r,queryConfig:i,outputFormat:t,dataFormat:a,outAnalytics:o}=e,{where:n,geometry:s,distance:l,units:c,timeExtent:d}=i,u,p=qe(r),f=Re(p),m={query:{where:Ur([n,f.definitionExpression])}},y=Za(s)?.extent?.toJSON();if(y!==void 0){let I=ww(c),{xmin:w,ymin:F,xmax:S,ymax:C}=y;m.query={...m.query,geometryType:"esriGeometryEnvelope",geometry:`${w},${F},${S},${C}`,distance:l,units:I,inSR:s?.spatialReference?.wkid}}d&&(m.query.time=`${d[0]},${d[1]}`);let b=`${f.url}/${f.layerId}/queryAnalytic?f=${t}&dataFormat=${a}&outAnalytics=${o}`;try{u=(await qa(b,m)).data?.features?.[0]?.attributes}catch(I){let w=await ft();throw new Bt(qt.QueryFeaturesError,w.queryError,I)}return u}function xw(e,r){return{lowerBoundaryAlias:`charts_lower_boundary_${e}`,upperBoundaryAlias:`charts_upper_boundary_${e}`,stackAlias:`charts_stack_alias_${r}`}}async function $j(e){let{queryObject:r,queryConfig:i,xStep:t,xMin:a,xMax:o,x:n,y:s,yStep:l,errorStrings:c}=e,d;if(r&&"queryAttributeBins"in r&&Number.isFinite(t)&&Number.isFinite(l)&&Number.isFinite(a)&&Number.isFinite(o)&&t>0&&l>0){let u=Dw({queryObject:r,queryConfig:i,xStep:t,xMin:a,xMax:o,x:n,y:s,yStep:l});try{d=await r.queryAttributeBins(u)}catch(p){throw new Bt(qt.QueryFeaturesError,c.errors.queryError,p)}}return d}async function jj(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:c,gdbVersion:d,timeExtent:u,geometry:p,distance:f,units:m}=r,y=Fw(u),b=Za(p),I=Re(n),w=Ur([c,I.definitionExpression]),F={returnDistinctValues:!0,outFields:o===!0||a===V.PieNoAggregation||a===V.BarAndLineNoAggregation||a===V.BarAndLineSplitByNoAggregation?[l]:[i],where:w,gdbVersion:d??I.gdbVersion,timeExtent:y??I.timeExtent,geometry:b};kd(F)&&(F.cacheHint=!0),F.geometry!==void 0&&Rd(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 Rj(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(d=>{let{statisticType:u,onStatisticField:p,outStatisticFieldName:f}=d;return{statisticType:u,onStatisticField:p,outStatisticFieldName:f?.toUpperCase()}});i.outStatistics=n,delete i.num,delete i.orderByFields;let s=qd({queryObject:r,queryConfig:i}),l;try{l=await r.queryFeatures(s,{signal:t!==void 0?Vr.get(t)?.signal:void 0})}catch(d){if(!Va.isAbortError(d)){let u=await ft();throw new Bt(qt.QueryFeaturesError,u.queryError,d)}}let c=l?.features?.[0]?.attributes;c!==void 0&&a.forEach(d=>{let{outStatisticFieldName:u}=d;if(u!==void 0){let p=c[u.toLowerCase()]??c[u.toUpperCase()]??c[u];p!==void 0&&o.set(u,p)}})}return o}async function _d(e){let{queryObject:r,queryConfig:i,returnUniqueIdsOnly:t,abortKey:a}=e,o=[],n=qe(r);if(r!==void 0){let s=$w(n),l=qd({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(c=>c.attributes[n.objectIdField])):o=(await r.queryFeatures(l,{signal:a!==void 0?Vr.get(a)?.signal:void 0})).features}catch(c){if(!Va.isAbortError(c)){let d=await ft();throw new Bt(qt.QueryFeaturesError,d.queryError,c)}}}return o}async function Iw(e){let r=[],{featureCount:i,maxRecords:t,queryConfig:a}=e,o=[],n=0,s=a?.start??0;for(;n<Xt.maxParallelRequests&&s<i;){let l={...e};l.queryConfig={...a,start:s,num:Math.min(t,i-s)},r.push(_d(l)),s+=t,n+=1}return o=(await Promise.all(r)).flat(),o}async function Cw(e){let{queryObject:r,queryConfig:i,returnUniqueIdsOnly:t,featureCount:a,noBatch:o,abortKey:n}=e,s=[],l=qe(r);if(r!==void 0){let c=a??1,d=Bd(l);if(o!==!0&&c>d&&l.capabilities?.query.supportsPagination){let u=0,p=0,f=Math.ceil(c/d),m=Math.ceil(f/Xt.maxParallelRequests),y=[];for(;p<m;){u=p*Xt.maxParallelRequests*d;let b=Iw({queryConfig:{...i,start:u},queryObject:r,maxRecords:d,featureCount:c,returnUniqueIdsOnly:t,abortKey:n});y.push(b),p+=1}s=(await Promise.all(y)).flat()}else(Number.isNaN(c)||c>=0)&&(s=await _d({queryObject:r,queryConfig:i,returnUniqueIdsOnly:t,abortKey:n}))}return s}async function _j(e){let{queryObject:r,queryConfig:i,uniqueFeature:t,abortKey:a}=e,o={...i,returnDistinctValues:!0};return await Cw({queryObject:r,abortKey:a,queryConfig:o,returnUniqueIdsOnly:!0,featureCount:t===!0?1:void 0})}function kj(e){if(e!==void 0){let r=Vr.get(e);r!==void 0&&r.abort(),Vr.set(e,new AbortController)}}function Tw(e){return{lowerBoundaryAlias:`charts_lower_boundary_${e}`,upperBoundaryAlias:`charts_upper_boundary_${e}`}}async function Bj(e){let{queryObject:r,dateField:i,splitByField:t,queryConfig:a,temporalBinning:o}=e,n=[],s;if(o){let{unit:l}=o;try{if(l){let c=Re(qe(r));if(s=vw(c,t),s&&r&&"queryAttributeBins"in r){let d=await Lw({queryObject:r,queryConfig:a,temporalBinning:o,dateField:i,splitByField:t});n=(await r.queryAttributeBins(d)).features}}}catch(c){let d=await ft();throw new Bt(qt.QueryFeaturesError,d.queryError,c)}}if(s===!1){let l=await ft();throw new Bt(qt.QueryFeaturesError,l.queryBinsNotSupported,l.queryBinsNotSupported)}return n}function kd(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 Bd(e){let r=Re(e)?.sourceJSON,i=r?.maxRecordCount??Xt.maxRecords;return r?.advancedQueryCapabilities?.supportsMaxRecordCountFactor&&r?.maxRecordCount!==void 0&&(i=r.maxRecordCount*Xt.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&&(ut(i)?i=`(${a})`:i?.includes(`(${a})`)||(i=`${i} ${r??"AND"} (${a})`))}),i??"1=1"}function Aw(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 Pw(e){let{queryObject:r,defaultGeometry:i,ignoreViewExtent:t}=e,a=i;if(!t&&Ka(r)){let o=r.view.extent,{xmin:n,xmax:s,ymin:l,ymax:c,zmin:d,zmax:u,spatialReference:p}=o;a={xmin:n,ymin:l,zmin:d,xmax:s,ymax:c,zmax:u,spatialReference:p}}return a}function Fw(e){let r;return e!==void 0&&(r=new fd({start:new Date(e[0]),end:new Date(e[1])})),r}function Za(e){let r;return e!==void 0&&(r=za.fromJSON(e)),r}function Ow(e){return e===void 0?["*"]:Array.from(new Set(e))}function Xa(e){let{queryObject:r,queryConfig:i,queryType:t}=e,{where:a,outStatistics:o,geometry:n,distance:s,units:l,timeExtent:c,returnDistinctValues:d}=i??{},u=t==="Query"?new Iv({}):new xv({}),p=qe(r),f=Re(p),m=[a,f.definitionExpression];if(u.where=Ur(m),u.returnDistinctValues=d??!1,o!==void 0){let I=Sw(p);u.outStatistics=o.filter(w=>w.statisticType!==Ie.EnvelopeAggregate||I).map(w=>Cv.fromJSON(w))}let y=Za(n);y!==void 0&&(u.geometry=y,i?.spatialRelationship&&(u.spatialRelationship=i.spatialRelationship),Rd(p)&&(s!==void 0&&(u.distance=s),l!==void 0&&(u.units=l)));let b;return c&&(b=new fd({start:c?.[0],end:c?.[1]})),b!==void 0?u.timeExtent=b:f.timeExtent!==void 0&&(u.timeExtent=f.timeExtent),kd(u)&&(u.cacheHint=!0),u}function Ew(e){let r;switch(e){case ar.Start:r="first";break;case ar.End:r="last";break}return r}async function Lw(e){let{queryObject:r,queryConfig:i,temporalBinning:t,dateField:a,splitByField:o}=e,n=qe(r),s=(await Zi(r)).find(F=>F.name===a)?.type,l=Xa({queryObject:r,queryConfig:i,queryType:"AttributeBinsQuery"}),{type:c,unit:d,size:u,trimIncompleteTimeInterval:p,timeAggregationType:f}=t,{start:m,end:y,offset:b,outTimeZone:I}=c===ra.CalendarBased?t:{},w=Tw(a);if(l.lowerBoundaryAlias=w.lowerBoundaryAlias,l.upperBoundaryAlias=w.upperBoundaryAlias,s!==ke.DateOnly&&(l.outTimeZone=I??Intl.DateTimeFormat().resolvedOptions().timeZone),l.binParameters={type:"date",field:a,interval:{unit:d,value:u},start:m,end:y,offset:b?{unit:b.unit,value:b.size}:null},l.binParameters.type==="date"&&(n.capabilities?.queryAttributeBins?.supportsSnapToData&&(l.binParameters.snapToData=Ew(f)),n.capabilities?.queryAttributeBins?.supportsReturnFullIntervalBin&&(l.binParameters.returnFullIntervalBin=p===!1)),!ut(o)){let F=Re(n).fields.find(S=>S.name===o)?.type;(!F||F==="string"||F==="integer"||F==="small-integer"||F==="big-integer"||F==="double")&&(l.binParameters.stackBy={type:"field",value:o,valueType:F==="string"?"string":"integer"})}return l}function Dw(e){let{queryObject:r,queryConfig:i,xStep:t,xMin:a,xMax:o,x:n,y:s,yStep:l}=e,c=Xa({queryObject:r,queryConfig:i,queryType:"AttributeBinsQuery"}),d=xw(n,s);return c.lowerBoundaryAlias=d.lowerBoundaryAlias,c.upperBoundaryAlias=d.upperBoundaryAlias,c.binParameters={type:"fixed-interval",field:n,interval:t,start:a,end:o,stackBy:{value:`FLOOR(${s} / ${l})`,type:"expression",alias:d.stackAlias,valueType:"integer"}},c}function qd(e){let{queryObject:r,queryConfig:i,maxRecordCountFactor:t}=e,{groupByFieldsForStatistics:a,orderByFields:o,gdbVersion:n,start:s,num:l,outFields:c}=i??{},d=Xa({queryObject:r,queryConfig:i,queryType:"Query"});d.returnGeometry=!1;let u=qe(r),p=Re(u);return d.outFields=Ow(c),d.groupByFieldsForStatistics=a??d.groupByFieldsForStatistics,d.orderByFields=o??[],d.objectIds=i?.objectIds,t!==void 0&&(d.maxRecordCountFactor=t),n!==void 0&&n!==""?d.gdbVersion=n:p.gdbVersion!==void 0&&p.gdbVersion!==""&&(d.gdbVersion=p.gdbVersion),l!==void 0&&(d.num=l),s!==void 0&&(d.start=s,d.num=d.num??Bd(u)),d}function $w(e){return Re(e)?.sourceJSON?.advancedQueryCapabilities?.supportsMaxRecordCountFactor===!0?Xt.maxRecordCountFactor:void 0}function qj(e){let r,i,t;return e!==void 0&&(r=e.type,(r===Yr.UniqueValue||r===Yr.ClassBreaks)&&(i=e.field??void 0,r===Yr.ClassBreaks&&(t=e.normalizationField??void 0))),{rendererType:r,rendererField:i,rendererNormalizationField:t}}var jw=(0,ud.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=vv.fromJSON(i).features,t?.fields!==void 0&&(a.fields=t.fields.map(n=>bv.fromJSON(n))),t?.objectIdField!==void 0&&(a.objectIdField=t.objectIdField),t?.geometryType!==void 0){let n=za.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=cd.fromJSON(n.renderer))}let o=new Sv(a);return await o.load(),o});async function Mj(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=c=>"highlight"in c,l=await i.whenLayerView(n);s(l)&&(a=l)}else a=r}else"iLayer"in t&&t.iLayer&&(a=await jw(t.iLayer));return a}async function Zi(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 Ya(e,r=[]){return r.find(i=>i.name===e)}function Nj(e){return e.find(r=>r.type===ke.OID)?.name??""}function Md(e){return[ke.Single,ke.Double,ke.SmallInteger,ke.Integer,ke.BigInteger].includes(e.type)}function Wj(e){return e.type===ke.Date}function zj(e){return[ke.SmallInteger,ke.Integer,ke.BigInteger].includes(e.type)}function Vj(e){return e.filter(r=>r.type===ke.Date||r.type===ke.DateOnly||r.type===ke.TimestampOffset).map(r=>r.name)}function Uj(e){return e.filter(r=>Md(r)).map(r=>r.name)}function Rw(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 Ml(e,r){let i=[],t=bw(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??{}),c=[],d=l?.filter(([u,p])=>p?.type==="coded-value")?.map(([u,p])=>{let f={fieldName:u,name:o,codedValues:c};if(p&&"codedValues"in p){let m=p.codedValues.map(({code:y,name:b})=>({name:b,code:y}));f={fieldName:u,name:p.name,codedValues:m}}return f});i.push({id:s??"",name:o,domains:d})}),i.length===0?void 0:i}function Gj(e){let r;if(e!==void 0){let i=qe(e);if(!Ja(i)&&!ut(i?.typeIdField)){let t=Ml(i,"types");t!==void 0&&(r={typeIdField:i.typeIdField??void 0,types:t})}if(!ut(i?.subtypeField)){let t=Re(i),a=Ml(t,"subtypes");a!==void 0&&(r={...r,subtypeField:t.subtypeField??void 0,subtypes:a})}}return r}function Hj(e){let{fieldName:r,fieldValueToMatch:i,subtypeInfo:t,fieldList:a}=e,o;if((typeof i!="string"||!ut(i))&&!ut(r)&&(o=Rw({subtypeInfo:t,fieldName:r,fieldValueToMatch:i}),o===void 0)){let n=Ya(r,a);if(t?.types!==void 0){let s=t?.types;for(let l of s){let c=l.domains?.filter(d=>d.fieldName===n?.name)??[];for(let d of c)if(o=d?.codedValues?.find(u=>`${u.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 Qj(e){let r=[];return!Re(e).isTable&&e.fieldsIndex&&(r=await dd.getRendererFields(e.renderer,e.fieldsIndex)),r}function _w(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 Kj(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=_w(t);try{let n=(await qa(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 qa(s,{authMode:"auto",query:{f:"json"}})).data,c=new wv({sourceJSON:l});await c.load(),r=c?.sourceJSON?.subscriptionInfo?.dataStoreLevel===void 0}}catch{}}return r}async function kw(e){let{queryObject:r,fieldToMatch:i,returnUndefinedIfNotFound:t}=e,a=await Zi(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 Jj(e){let{fieldsList:r,queryObject:i,returnUndefinedIfNotFound:t}=e,a=r;return a!==void 0&&(a=await Promise.all(a.map(async o=>await kw({queryObject:i,fieldToMatch:o,returnUndefinedIfNotFound:t})))),a}function Zj(e){let{queryObject:r,chartConfig:i,runtimeDataFilters:t,ignoreViewExtent:a}=e,{series:o,dataFilters:n}=i,{where:s,gdbVersion:l,timeExtent:c,geometry:d,distance:u,units:p,objectIds:f,spatialRelationship:m}=n??{},{where:y,gdbVersion:b,timeExtent:I,geometry:w,distance:F,units:S,objectIds:C,spatialRelationship:E}=t??{},P=o[0],{query:O}=P,{where:j}=O??{},x=Ct(o),T={...O};return T.where=Ur([s,y]),x!==V.BarAndLineSplitBy&&x!==V.BoxPlotMonoFieldAndSplitBy&&x!==V.BoxPlotMonoFieldAndCategoryAndSplitBy&&x!==V.BoxPlotMultiFieldsAndSplitBy&&x!==V.BarAndLineSplitByNoAggregation&&(T.where=Ur([T.where,j])),i.orderOptions?.orderByFields!==void 0&&(T.orderByFields=i.orderOptions.orderByFields),T.gdbVersion=b??l,T.timeExtent=Aw(r,I??c),T.geometry=Pw({queryObject:r,defaultGeometry:w??d,ignoreViewExtent:a}),T.distance=F??u,T.units=S??p,T.objectIds=C??f,T.spatialRelationship=E??m,O?.outStatistics?.[0]?.statisticType===Ie.Count&&(T.returnDistinctValues=O?.returnDistinctValues??!1),T}var Xj=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Bw(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Vi={exports:{}};var qw=Vi.exports,Nl;function Mw(){return Nl||(Nl=1,function(e,r){(function(i,t){t(r)})(qw,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 c(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),Xe=a(a(a(ee+"\\:")+"{0,1}"+ee)+"?\\:\\:"+a(ee+"\\:")+"{3}"+Oe),gt=a(a(a(ee+"\\:")+"{0,2}"+ee)+"?\\:\\:"+a(ee+"\\:")+"{2}"+Oe),Wt=a(a(a(ee+"\\:")+"{0,3}"+ee)+"?\\:\\:"+ee+"\\:"+Oe),zt=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)+"?\\:\\:"),Vt=a([ce,Ue,ir,Xe,gt,Wt,zt,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("^\\[?("+Vt+")"+a(a("\\%25|\\%(?!"+D+"{2})")+"("+st+")")+"?\\]?$")}}var d=c(!1),u=c(!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,w=38,F=700,S=72,C=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"},T=y-b,k=Math.floor,B=String.fromCharCode;function M(h){throw new RangeError(x[h])}function J(h,g){for(var v=[],D=h.length;D--;)v[D]=g(h[D]);return v}function Z(h,g){var v=h.split("@"),D="";v.length>1&&(D=v[0]+"@",h=v[1]),h=h.replace(j,".");var $=h.split("."),G=J($,g).join(".");return D+G}function K(h){for(var g=[],v=0,D=h.length;v<D;){var $=h.charCodeAt(v++);if($>=55296&&$<=56319&&v<D){var G=h.charCodeAt(v++);(G&64512)==56320?g.push((($&1023)<<10)+(G&1023)+65536):(g.push($),v--)}else g.push($)}return g}var X=function(h){return String.fromCodePoint.apply(String,f(h))},Q=function(h){return h-48<10?h-22:h-65<26?h-65:h-97<26?h-97:y},fe=function(h,g){return h+22+75*(h<26)-((g!=0)<<5)},$e=function(h,g,v){var D=0;for(h=v?k(h/F):h>>1,h+=k(h/g);h>T*I>>1;D+=y)h=k(h/T);return k(D+(T+1)*h/(h+w))},Ee=function(h){var g=[],v=h.length,D=0,$=C,G=S,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)},xe=function(h){var g=[];h=K(h);var v=h.length,D=C,$=0,G=S,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 Xe=h[Symbol.iterator](),gt;!(ce=(gt=Xe.next()).done);ce=!0){var Wt=gt.value;Wt>=D&&Wt<Oe&&(Oe=Wt)}}catch(jr){Ue=!0,ir=jr}finally{try{!ce&&Xe.return&&Xe.return()}finally{if(Ue)throw ir}}var zt=ee+1;Oe-D>k((m-$)/zt)&&M("overflow"),$+=(Oe-D)*zt,D=Oe;var Ge=!0,bt=!1,Vt=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($,zt,ee==Pe),$=0,++ee}}}catch(jr){bt=!0,Vt=jr}finally{try{!Ge&&st.return&&st.return()}finally{if(bt)throw Vt}}++$,++D}return g.join("")},ot=function(h){return Z(h,function(g){return P.test(g)?Ee(g.slice(4).toLowerCase()):g})},ze=function(h){return Z(h,function(g){return O.test(g)?"xn--"+xe(g):g})},A={version:"2.1.0",ucs2:{decode:K,encode:X},decode:Ee,encode:xe,toASCII:ze,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 Y(h,g){var v=h.match(g.IPV6ADDRESS)||[],D=p(v,3),$=D[1],G=D[2];if($){for(var U=$.toLowerCase().split("::").reverse(),oe=p(U,2),Fe=oe[0],de=oe[1],re=de?de.split(":").map(W):[],he=Fe.split(":").map(W),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,Vt){if(!bt||bt==="0"){var st=Ge[Ge.length-1];st&&st.index+st.length===Vt?st.length++:Ge.push({index:Vt,length:1})}return Ge},[]),Xe=ir.sort(function(Ge,bt){return bt.length-Ge.length})[0],gt=void 0;if(Xe&&Xe.length>1){var Wt=ce.slice(0,Xe.index),zt=ce.slice(Xe.index+Xe.length);gt=Wt.join(":")+"::"+zt.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?u:d;g.reference==="suffix"&&(h=(g.scheme?g.scheme+":":"")+"//"+h);var $=h.match(ge);if($){be?(v.scheme=$[1],v.userinfo=$[3],v.host=$[4],v.port=parseInt($[5],10),v.path=$[6]||"",v.query=$[7],v.fragment=$[8],isNaN(v.port)&&(v.port=$[5])):(v.scheme=$[1]||void 0,v.userinfo=h.indexOf("@")!==-1?$[3]:void 0,v.host=h.indexOf("//")!==-1?$[4]:void 0,v.port=parseInt($[5],10),v.path=$[6]||"",v.query=h.indexOf("?")!==-1?$[7]:void 0,v.fragment=h.indexOf("#")!==-1?$[8]:void 0,isNaN(v.port)&&(v.port=h.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?$[4]:void 0)),v.host&&(v.host=Y(H(v.host,D),D)),v.scheme===void 0&&v.userinfo===void 0&&v.host===void 0&&v.port===void 0&&!v.path&&v.query===void 0?v.reference="same-document":v.scheme===void 0?v.reference="relative":v.fragment===void 0?v.reference="absolute":v.reference="uri",g.reference&&g.reference!=="suffix"&&g.reference!==v.reference&&(v.error=v.error||"URI is not a "+g.reference+" reference.");var G=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,d)}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?u:d,D=[];return h.userinfo!==void 0&&(D.push(h.userinfo),D.push("@")),h.host!==void 0&&D.push(Y(H(String(h.host),v),v).replace(v.IPV6ADDRESS,function($,G,U){return"["+G+(U?"%25"+U:"")+"]"})),(typeof h.port=="number"||typeof h.port=="string")&&(D.push(":"),D.push(String(h.port))),D.length?D.join(""):void 0}var le=/^\.\.?\//,Ve=/^\/\.(\/|$)/,mt=/^\/\.\.(\/|$)/,ve=/^\/?(?:.|\n)*?(?=\/|$)/;function Le(h){for(var g=[];h.length;)if(h.match(le))h=h.replace(le,"");else if(h.match(Ve))h=h.replace(Ve,"/");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?u:d,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 Xi(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 Gd(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 Hd(h,g){return h&&h.toString().replace(!g||!g.iri?d.ESCAPE:u.ESCAPE,N)}function yt(h,g){return h&&h.toString().replace(!g||!g.iri?d.PCT_ENCODED:u.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},Qd={},no="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",nt="[0-9A-Fa-f]",Kd=a(a("%[EFef]"+nt+"%"+nt+nt+"%"+nt+nt)+"|"+a("%[89A-Fa-f]"+nt+"%"+nt+nt)+"|"+a("%"+nt+nt)),Jd="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",Zd="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",Xd=t(Zd,'[\\"\\\\]'),Yd="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",ec=new RegExp(no,"g"),rr=new RegExp(Kd,"g"),tc=new RegExp(t("[^]",Jd,"[\\.]",'[\\"]',Xd),"g"),so=new RegExp(t("[^]",no,Yd),"g"),rc=so;function ea(h){var g=z(h);return g.match(ec)?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,ea).replace(rr,n).replace(tc,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]!==Qd[Pe]&&he.push(Pe.replace(rr,ea).replace(rr,n).replace(so,N)+"="+re[Pe].replace(rr,ea).replace(rr,n).replace(rc,N));return he.length&&(v.query=he.join("&")),v}},ic=/^([^\:]+)\:(.*)/,po={scheme:"urn",parse:function(h,g){var v=h.path&&h.path.match(ic),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}},ac=/^[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(ac))&&(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=Xi,i.normalize=Yi,i.equal=Gd,i.escapeComponent=Hd,i.unescapeComponent=yt,Object.defineProperty(i,"__esModule",{value:!0})})}(Vi,Vi.exports)),Vi.exports}var Wl,zl;function eo(){return zl||(zl=1,Wl=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}),Wl}var Vl,Ul;function Nw(){return Ul||(Ul=1,Vl=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}),Vl}var Ta,Gl;function Er(){if(Gl)return Ta;Gl=1,Ta={copy:e,checkDataType:r,checkDataTypes:i,coerceToTypes:a,toHash:o,getProperty:l,escapeQuotes:c,equal:eo(),ucs2length:Nw(),varOccurences:d,varReplace:u,schemaHasRules:p,schemaHasRulesExcept:f,schemaUnknownRules:m,toQuotedString:y,getPathExpr:b,getPath:I,getData:S,unescapeFragment:E,unescapeJsonPointer:j,escapeFragment:P,escapeJsonPointer:O};function e(x,T){T=T||{};for(var k in x)T[k]=x[k];return T}function r(x,T,k,B){var M=B?" !== ":" === ",J=B?" || ":" && ",Z=B?"!":"",K=B?"":"!";switch(x){case"null":return T+M+"null";case"array":return Z+"Array.isArray("+T+")";case"object":return"("+Z+T+J+"typeof "+T+M+'"object"'+J+K+"Array.isArray("+T+"))";case"integer":return"(typeof "+T+M+'"number"'+J+K+"("+T+" % 1)"+J+T+M+T+(k?J+Z+"isFinite("+T+")":"")+")";case"number":return"(typeof "+T+M+'"'+x+'"'+(k?J+Z+"isFinite("+T+")":"")+")";default:return"typeof "+T+M+'"'+x+'"'}}function i(x,T,k){switch(x.length){case 1:return r(x[0],T,k,!0);default:var B="",M=o(x);M.array&&M.object&&(B=M.null?"(":"(!"+T+" || ",B+="typeof "+T+' !== "object")',delete M.null,delete M.array,delete M.object),M.number&&delete M.integer;for(var J in M)B+=(B?" && ":"")+r(J,T,k,!0);return B}}var t=o(["string","number","integer","boolean","null"]);function a(x,T){if(Array.isArray(T)){for(var k=[],B=0;B<T.length;B++){var M=T[B];(t[M]||x==="array"&&M==="array")&&(k[k.length]=M)}if(k.length)return k}else{if(t[T])return[T];if(x==="array"&&T==="array")return["array"]}}function o(x){for(var T={},k=0;k<x.length;k++)T[x[k]]=!0;return T}var n=/^[a-z$_][a-z$_0-9]*$/i,s=/'|\\/g;function l(x){return typeof x=="number"?"["+x+"]":n.test(x)?"."+x:"['"+c(x)+"']"}function c(x){return x.replace(s,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function d(x,T){T+="[^0-9]";var k=x.match(new RegExp(T,"g"));return k?k.length:0}function u(x,T,k){return T+="([^0-9])",k=k.replace(/\$/g,"$$$$"),x.replace(new RegExp(T,"g"),k+"$1")}function p(x,T){if(typeof x=="boolean")return!x;for(var k in x)if(T[k])return!0}function f(x,T,k){if(typeof x=="boolean")return!x&&k!="not";for(var B in x)if(B!=k&&T[B])return!0}function m(x,T){if(typeof x!="boolean"){for(var k in x)if(!T[k])return k}}function y(x){return"'"+c(x)+"'"}function b(x,T,k,B){var M=k?"'/' + "+T+(B?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):B?"'[' + "+T+" + ']'":"'[\\'' + "+T+" + '\\']'";return C(x,M)}function I(x,T,k){var B=y(k?"/"+O(T):l(T));return C(x,B)}var w=/^\/(?:[^~]|~0|~1)*$/,F=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function S(x,T,k){var B,M,J,Z;if(x==="")return"rootData";if(x[0]=="/"){if(!w.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>=T)throw new Error("Cannot access property/index "+B+" levels up, current level is "+T);return k[T-B]}if(B>T)throw new Error("Cannot access data "+B+" levels up, current level is "+T);if(J="data"+(T-B||""),!M)return J}for(var K=J,X=M.split("/"),Q=0;Q<X.length;Q++){var fe=X[Q];fe&&(J+=l(j(fe)),K+=" && "+J)}return K}function C(x,T){return x=='""'?T:(x+" + "+T).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 Ta}var Aa,Hl;function Nd(){if(Hl)return Aa;Hl=1;var e=Er();Aa=r;function r(i){e.copy(i,this)}return Aa}var Pa={exports:{}},Ql;function Ww(){if(Ql)return Pa.exports;Ql=1;var e=Pa.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,c,d,u,p){if(n&&typeof n=="object"&&!Array.isArray(n)){a(n,s,l,c,d,u,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,c,d,u,p)}}function i(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}return Pa.exports}var Fa,Kl;function to(){if(Kl)return Fa;Kl=1;var e=Mw(),r=eo(),i=Er(),t=Nd(),a=Ww();Fa=o,o.normalizeId=I,o.fullPath=m,o.url=w,o.ids=F,o.inlineRef=u,o.schema=n;function o(S,C,E){var P=this._refs[E];if(typeof P=="string")if(this._refs[P])P=this._refs[P];else return o.call(this,S,C,P);if(P=P||this._schemas[E],P instanceof t)return u(P.schema,this._opts.inlineRefs)?P.schema:P.validate||this._compile(P);var O=n.call(this,C,E),j,x,T;return O&&(j=O.schema,C=O.root,T=O.baseId),j instanceof t?x=j.validate||S.call(this,j.schema,C,void 0,T):j!==void 0&&(x=u(j,this._opts.inlineRefs)?j:S.call(this,j,C,void 0,T)),x}function n(S,C){var E=e.parse(C),P=y(E),O=m(this._getId(S.schema));if(Object.keys(S.schema).length===0||P!==O){var j=I(P),x=this._refs[j];if(typeof x=="string")return s.call(this,S,x,E);if(x instanceof t)x.validate||this._compile(x),S=x;else if(x=this._schemas[j],x instanceof t){if(x.validate||this._compile(x),j==I(C))return{schema:x,root:S,baseId:O};S=x}else return;if(!S.schema)return;O=m(this._getId(S.schema))}return c.call(this,E,O,S.schema,S)}function s(S,C,E){var P=n.call(this,S,C);if(P){var O=P.schema,j=P.baseId;S=P.root;var x=this._getId(O);return x&&(j=w(j,x)),c.call(this,E,j,O,S)}}var l=i.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function c(S,C,E,P){if(S.fragment=S.fragment||"",S.fragment.slice(0,1)=="/"){for(var O=S.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 T;if(!l[x]&&(T=this._getId(E),T&&(C=w(C,T)),E.$ref)){var k=w(C,E.$ref),B=n.call(this,P,k);B&&(E=B.schema,P=B.root,C=B.baseId)}}}if(E!==void 0&&E!==P.schema)return{schema:E,root:P,baseId:C}}}var d=i.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function u(S,C){if(C===!1)return!1;if(C===void 0||C===!0)return p(S);if(C)return f(S)<=C}function p(S){var C;if(Array.isArray(S)){for(var E=0;E<S.length;E++)if(C=S[E],typeof C=="object"&&!p(C))return!1}else for(var P in S)if(P=="$ref"||(C=S[P],typeof C=="object"&&!p(C)))return!1;return!0}function f(S){var C=0,E;if(Array.isArray(S)){for(var P=0;P<S.length;P++)if(E=S[P],typeof E=="object"&&(C+=f(E)),C==1/0)return 1/0}else for(var O in S){if(O=="$ref")return 1/0;if(d[O])C++;else if(E=S[O],typeof E=="object"&&(C+=f(E)+1),C==1/0)return 1/0}return C}function m(S,C){C!==!1&&(S=I(S));var E=e.parse(S);return y(E)}function y(S){return e.serialize(S).split("#")[0]+"#"}var b=/#\/?$/;function I(S){return S?S.replace(b,""):""}function w(S,C){return C=I(C),e.resolve(S,C)}function F(S){var C=I(this._getId(S)),E={"":C},P={"":m(C,!1)},O={},j=this;return a(S,{allKeys:!0},function(x,T,k,B,M,J,Z){if(T!==""){var K=j._getId(x),X=E[B],Q=P[B]+"/"+M;if(Z!==void 0&&(Q+="/"+(typeof Z=="number"?Z:i.escapeFragment(Z))),typeof K=="string"){K=X=I(X?e.resolve(X,K):K);var fe=j._refs[K];if(typeof fe=="string"&&(fe=j._refs[fe]),fe&&fe.schema){if(!r(x,fe.schema))throw new Error('id "'+K+'" resolves to more than one schema')}else if(K!=I(Q))if(K[0]=="#"){if(O[K]&&!r(x,O[K]))throw new Error('id "'+K+'" resolves to more than one schema');O[K]=x}else j._refs[K]=Q}E[T]=X,P[T]=Q}}),O}return Fa}var Oa,Jl;function ro(){if(Jl)return Oa;Jl=1;var e=to();Oa={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 Oa}var Zl,Xl;function Wd(){return Xl||(Xl=1,Zl=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 c={key:s,value:n[s]},d={key:l,value:n[l]};return o(c,d)}}}(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 c=a.push(n)-1,d=Object.keys(n).sort(t&&t(n));for(l="",s=0;s<d.length;s++){var u=d[s],p=o(n[u]);p&&(l&&(l+=","),l+=JSON.stringify(u)+":"+p)}return a.splice(c,1),"{"+l+"}"}}(e)}),Zl}var Yl,ep;function zd(){return ep||(ep=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",c=e.level,d=e.dataLevel,u=e.schema[r],p=e.schemaPath+e.util.getProperty(r),f=e.errSchemaPath+"/"+r,S=!e.opts.allErrors,P,m="data"+(d||""),F="valid"+c;if(e.schema===!1){e.isTop?S=!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&&S?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,c=e.level=0,d=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 w="default is ignored in the schema root";if(e.opts.strictDefaults==="log")e.logger.warn(w);else throw new Error(w)}t+=" var vErrors = null; ",t+=" var errors = 0; ",t+=" if (rootData === undefined) rootData = data; "}else{var c=e.level,d=e.dataLevel,m="data"+(d||"");if(n&&(e.baseId=e.resolve.url(e.baseId,n)),a&&!e.async)throw new Error("async schema in sync schema");t+=" var errs_"+c+" = errors;"}var F="valid"+c,S=!e.opts.allErrors,C="",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 T=e.RULES.types[O];if(x||j||T===!0||T&&!le(T)){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"+c,M="coerced"+c;t+=" var "+B+" = typeof "+m+"; var "+M+" = undefined; ",e.opts.coerceTypes=="array"&&(t+=" if ("+B+" == 'object' && Array.isArray("+m+") && "+m+".length == 1) { "+m+" = "+m+"[0]; "+B+" = typeof "+m+"; if ("+e.util.checkDataType(e.schema.type,m,e.opts.strictNumbers)+") "+M+" = "+m+"; } "),t+=" if ("+M+" !== undefined) ; ";var J=x;if(J)for(var Z,K=-1,X=J.length-1;K<X;)Z=J[K+=1],Z=="string"?t+=" else if ("+B+" == 'number' || "+B+" == 'boolean') "+M+" = '' + "+m+"; else if ("+m+" === null) "+M+" = ''; ":Z=="number"||Z=="integer"?(t+=" else if ("+B+" == 'boolean' || "+m+" === null || ("+B+" == 'string' && "+m+" && "+m+" == +"+m+" ",Z=="integer"&&(t+=" && !("+m+" % 1)"),t+=")) "+M+" = +"+m+"; "):Z=="boolean"?t+=" else if ("+m+" === 'false' || "+m+" === 0 || "+m+" === null) "+M+" = false; else if ("+m+" === 'true' || "+m+" === 1) "+M+" = true; ":Z=="null"?t+=" else if ("+m+" === '' || "+m+" === 0 || "+m+" === false) "+M+" = null; ":e.opts.coerceTypes=="array"&&Z=="array"&&(t+=" else if ("+B+" == 'string' || "+B+" == 'number' || "+B+" == 'boolean' || "+m+" == null) "+M+" = ["+m+"]; ");t+=" else { ";var y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(P||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(f)+" , params: { type: '",j?t+=""+O.join(","):t+=""+O,t+="' } ",e.opts.messages!==!1&&(t+=" , message: 'should be ",j?t+=""+O.join(","):t+=""+O,t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+p+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),t+=" } "):t+=" {} ";var b=t;t=y.pop(),!e.compositeRule&&S?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=d?"data"+(d-1||""):"parentData",fe=d?e.dataPathArr[d]:"parentDataProperty";t+=" "+m+" = "+M+"; ",d||(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&&S?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")+" ",S&&(t+=" } if (errors === ",I?t+="0":t+="errs_"+c,t+=") { ",E+="}");else{var $e=e.RULES;if($e){for(var T,Ee=-1,xe=$e.length-1;Ee<xe;)if(T=$e[Ee+=1],le(T)){if(T.type&&(t+=" if ("+e.util.checkDataType(T.type,m,e.opts.strictNumbers)+") { "),e.opts.useDefaults){if(T.type=="object"&&e.schema.properties){var u=e.schema.properties,ot=Object.keys(u),ze=ot;if(ze)for(var A,R=-1,N=ze.length-1;R<N;){A=ze[R+=1];var z=u[A];if(z.default!==void 0){var _=m+e.util.getProperty(A);if(e.compositeRule){if(e.opts.strictDefaults){var w="default is ignored for: "+_;if(e.opts.strictDefaults==="log")e.logger.warn(w);else throw new Error(w)}}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(T.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 w="default is ignored for: "+_;if(e.opts.strictDefaults==="log")e.logger.warn(w);else throw new Error(w)}}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 Y=T.rules;if(Y){for(var ge,be=-1,ne=Y.length-1;be<ne;)if(ge=Y[be+=1],Ve(ge)){var ae=ge.code(e,ge.keyword,T.type);ae&&(t+=" "+ae+" ",S&&(C+="}"))}}if(S&&(t+=" "+C+" ",C=""),T.type&&(t+=" } ",O&&O===T.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&&S?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+=" } "}S&&(t+=" if (errors === ",I?t+="0":t+="errs_"+c,t+=") { ",E+="}")}}}S&&(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_"+c+";";function le(ve){for(var Le=ve.rules,Se=0;Se<Le.length;Se++)if(Ve(Le[Se]))return!0}function Ve(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 Ea,tp;function zw(){if(tp)return Ea;tp=1;var e=to(),r=Er(),i=ro(),t=Wd(),a=zd(),o=r.ucs2length,n=eo(),s=i.Validation;Ea=l;function l(I,w,F,S){var C=this,E=this._opts,P=[void 0],O={},j=[],x={},T=[],k={},B=[];w=w||{schema:I,refVal:P,refs:O};var M=c.call(this,I,w,S),J=this._compilations[M.index];if(M.compiling)return J.callValidate=fe;var Z=this._formats,K=this.RULES;try{var X=$e(I,w,F,S);J.validate=X;var Q=J.callValidate;return Q&&(Q.schema=X.schema,Q.errors=null,Q.refs=X.refs,Q.refVal=X.refVal,Q.root=X.root,Q.$async=X.$async,E.sourceCode&&(Q.source=X.source)),X}finally{d.call(this,I,w,S)}function fe(){var _=J.validate,W=_.apply(this,arguments);return fe.errors=_.errors,W}function $e(_,W,H,Y){var ge=!W||W&&W.schema==_;if(W.schema!=w.schema)return l.call(C,_,W,H,Y);var be=_.$async===!0,ne=a({isTop:!0,schema:_,isRoot:ge,baseId:Y,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:C.logger,self:C});ne=b(P,m)+b(j,p)+b(T,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(C,K,Z,w,P,T,B,n,o,s),P[0]=ae}catch(Ve){throw C.logger.error("Error compiling schema, function code:",ne),Ve}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:T}),ae}function Ee(_,W,H){W=e.url(_,W);var Y=O[W],ge,be;if(Y!==void 0)return ge=P[Y],be="refVal["+Y+"]",A(ge,be);if(!H&&w.refs){var ne=w.refs[W];if(ne!==void 0)return ge=w.refVal[ne],be=xe(W,ge),A(ge,be)}be=xe(W);var ae=e.call(C,$e,w,W);if(ae===void 0){var le=F&&F[W];le&&(ae=e.inlineRef(le,E.inlineRefs)?le:l.call(C,le,w,F,_))}if(ae===void 0)ot(W);else return ze(W,ae),A(ae,be)}function xe(_,W){var H=P.length;return P[H]=W,O[_]=H,"refVal"+H}function ot(_){delete O[_]}function ze(_,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]=T.length,T[H]=_),"default"+H}}function z(_,W,H,Y){if(C._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: "+C.errorsText(be.errors);if(C._opts.validateSchema=="log")C.logger.error(ae);else throw new Error(ae)}}}var le=_.definition.compile,Ve=_.definition.inline,mt=_.definition.macro,ve;if(le)ve=le.call(C,W,H,Y);else if(mt)ve=mt.call(C,W,H,Y),E.validateSchema!==!1&&C.validateSchema(ve,!0);else if(Ve)ve=Ve.call(C,Y,_.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 c(I,w,F){var S=u.call(this,I,w,F);return S>=0?{index:S,compiling:!0}:(S=this._compilations.length,this._compilations[S]={schema:I,root:w,baseId:F},{index:S,compiling:!1})}function d(I,w,F){var S=u.call(this,I,w,F);S>=0&&this._compilations.splice(S,1)}function u(I,w,F){for(var S=0;S<this._compilations.length;S++){var C=this._compilations[S];if(C.schema==I&&C.root==w&&C.baseId==F)return S}return-1}function p(I,w){return"var pattern"+I+" = new RegExp("+r.toQuotedString(w[I])+");"}function f(I){return"var default"+I+" = defaults["+I+"];"}function m(I,w){return w[I]===void 0?"":"var refVal"+I+" = refVal["+I+"];"}function y(I){return"var customRule"+I+" = customRules["+I+"];"}function b(I,w){if(!I.length)return"";for(var F="",S=0;S<I.length;S++)F+=w(S,I);return F}return Ea}var La={exports:{}},rp;function Vw(){if(rp)return La.exports;rp=1;var e=La.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={}},La.exports}var Da,ip;function Uw(){if(ip)return Da;ip=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,c=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,d=/^(?:\/(?:[^~/]|~0|~1)*)*$/,u=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,p=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;Da=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:c,"json-pointer":d,"json-pointer-uri-fragment":u,"relative-json-pointer":p},f.full={date:y,time:b,"date-time":w,uri:S,"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:c,"json-pointer":d,"json-pointer-uri-fragment":u,"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],T=+O[3];return x>=1&&x<=12&&T>=1&&T<=(x==2&&m(j)?29:i[x])}function b(P,O){var j=P.match(t);if(!j)return!1;var x=j[1],T=j[2],k=j[3],B=j[5];return(x<=23&&T<=59&&k<=59||x==23&&T==59&&k==60)&&(!O||B)}var I=/t|\s/i;function w(P){var O=P.split(I);return O.length==2&&y(O[0])&&b(O[1],!0)}var F=/\/|:/;function S(P){return F.test(P)&&o.test(P)}var C=/[^\\]\\Z/;function E(P){if(C.test(P))return!1;try{return new RegExp(P),!0}catch{return!1}}return Da}var ap,op;function Gw(){return op||(op=1,ap=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.errSchemaPath+"/"+r,l=!e.opts.allErrors,c="data"+(o||""),d="valid"+a,u,p;if(n=="#"||n=="#/")e.isRoot?(u=e.async,p="validate"):(u=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: "+c+" "),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 w="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 ("+w+") { ")}else u=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+=" "+c+", (dataPath || '')",e.errorPath!='""'&&(t+=" + "+e.errorPath);var S=o?"data"+(o-1||""):"parentData",C=o?e.dataPathArr[o]:"parentDataProperty";t+=" , "+S+" , "+C+", rootData) ";var E=t;if(t=y.pop(),u){if(!e.async)throw new Error("async schema referenced by sync schema");l&&(t+=" var "+d+"; "),t+=" try { await "+E+"; ",l&&(t+=" "+d+" = 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+=" "+d+" = false; "),t+=" } ",l&&(t+=" if ("+d+") { ")}else t+=" if (!"+E+") { if (vErrors === null) vErrors = "+p+".errors; else vErrors = vErrors.concat("+p+".errors); errors = vErrors.length; } ",l&&(t+=" else { ")}return t}),ap}var np,sp;function Hw(){return sp||(sp=1,np=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),c="";l.level++;var d="valid"+l.level,u=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=u,s&&(t+=" if ("+d+") { ",c+="}"));return s&&(p?t+=" if (true) { ":t+=" "+c.slice(0,-1)+" "),t}),np}var lp,pp;function Qw(){return pp||(pp=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,c=!e.opts.allErrors,d="data"+(o||""),u="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 "+u+" = false; ";var w=e.compositeRule;e.compositeRule=f.compositeRule=!0;var F=n;if(F)for(var S,C=-1,E=F.length-1;C<E;)S=F[C+=1],f.schema=S,f.schemaPath=s+"["+C+"]",f.errSchemaPath=l+"/"+C,t+=" "+e.validate(f)+" ",f.baseId=I,t+=" "+u+" = "+u+" || "+y+"; if (!"+u+") { ",m+="}";e.compositeRule=f.compositeRule=w,t+=" "+m+" if (!"+u+") { 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: "+d+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&c&&(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 c&&(t+=" if (true) { ");return t}),lp}var dp,cp;function Kw(){return cp||(cp=1,dp=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}),dp}var up,fp;function Jw(){return fp||(fp=1,up=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,c=!e.opts.allErrors,d="data"+(o||""),u="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 "+u+" = equal("+d+", schema"+a+"); if (!"+u+") { ";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: "+d+" "),t+=" } "):t+=" {} ";var m=t;return t=f.pop(),!e.compositeRule&&c?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+=" }",c&&(t+=" else { "),t}),up}var hp,mp;function Zw(){return mp||(mp=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,c=!e.opts.allErrors,d="data"+(o||""),u="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,w="data"+I,F=e.baseId,S=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 "+u+";",S){var C=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+" < "+d+".length; "+b+"++) { ",f.errorPath=e.util.getPathExpr(e.errorPath,b,e.opts.jsonPointers,!0);var E=d+"["+b+"]";f.dataPathArr[I]=b;var P=e.validate(f);f.baseId=F,e.util.varOccurences(P,w)<2?t+=" "+e.util.varReplace(P,w,E)+" ":t+=" var "+w+" = "+E+"; "+P+" ",t+=" if ("+y+") break; } ",e.compositeRule=f.compositeRule=C,t+=" "+m+" if (!"+y+") {"}else t+=" if ("+d+".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: "+d+" "),t+=" } "):t+=" {} ";var j=t;return t=O.pop(),!e.compositeRule&&c?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 { ",S&&(t+=" errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } "),e.opts.allErrors&&(t+=" } "),t}),hp}var yp,gp;function Xw(){return gp||(gp=1,yp=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,c=!e.opts.allErrors,d="data"+(o||""),u="errs__"+a,p=e.util.copy(e),f="";p.level++;var m="valid"+p.level,y={},b={},I=e.opts.ownProperties;for(C in n)if(C!="__proto__"){var w=n[C],F=Array.isArray(w)?b:y;F[C]=w}t+="var "+u+" = errors;";var S=e.errorPath;t+="var missing"+a+";";for(var C in b)if(F=b[C],F.length){if(t+=" if ( "+d+e.util.getProperty(C)+" !== undefined ",I&&(t+=" && Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(C)+"') "),c){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),T=d+x;t+=" ( ( "+T+" === undefined ",I&&(t+=" || ! Object.prototype.hasOwnProperty.call("+d+", '"+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(S,k,!0):S+" + "+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(C)+"', 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(C)+" is present' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var J=t;t=M.pop(),!e.compositeRule&&c?e.async?t+=" throw new ValidationError(["+J+"]); ":t+=" validate.errors = ["+J+"]; return false; ":t+=" var err = "+J+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else{t+=" ) { ";var Z=F;if(Z)for(var P,K=-1,X=Z.length-1;K<X;){P=Z[K+=1];var x=e.util.getProperty(P),B=e.util.escapeQuotes(P),T=d+x;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(S,P,e.opts.jsonPointers)),t+=" if ( "+T+" === undefined ",I&&(t+=" || ! Object.prototype.hasOwnProperty.call("+d+", '"+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(C)+"', 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(C)+" is present' "),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++; } "}}t+=" } ",c&&(f+="}",t+=" else { ")}e.errorPath=S;var Q=p.baseId;for(var C in y){var w=y[C];(e.opts.strictKeywords?typeof w=="object"&&Object.keys(w).length>0||w===!1:e.util.schemaHasRules(w,e.RULES.all))&&(t+=" "+m+" = true; if ( "+d+e.util.getProperty(C)+" !== undefined ",I&&(t+=" && Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(C)+"') "),t+=") { ",p.schema=w,p.schemaPath=s+e.util.getProperty(C),p.errSchemaPath=l+"/"+e.util.escapeFragment(C),t+=" "+e.validate(p)+" ",p.baseId=Q,t+=" } ",c&&(t+=" if ("+m+") { ",f+="}"))}return c&&(t+=" "+f+" if ("+u+" == errors) {"),t}),yp}var bp,vp;function Yw(){return vp||(vp=1,bp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,c=!e.opts.allErrors,d="data"+(o||""),u="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 "+u+";",p&&(t+=" if (schema"+a+" === undefined) "+u+" = true; else if (!Array.isArray(schema"+a+")) "+u+" = false; else {"),t+=""+u+" = false;for (var "+f+"=0; "+f+"<"+m+".length; "+f+"++) if (equal("+d+", "+m+"["+f+"])) { "+u+" = true; break; }",p&&(t+=" } "),t+=" if (!"+u+") { ";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: "+d+" "),t+=" } "):t+=" {} ";var b=t;return t=y.pop(),!e.compositeRule&&c?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+=" }",c&&(t+=" else { "),t}),bp}var Sp,wp;function ex(){return wp||(wp=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,c=!e.opts.allErrors,d="data"+(o||"");if(e.opts.format===!1)return c&&(t+=" if (true) { "),t;var u=e.opts.$data&&n&&n.$data,p;u?(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(u){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 ( ",u&&(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+"("+d+") : "+y+"("+d+")) ":t+=" "+y+"("+d+") ",t+=" : "+y+".test("+d+"))))) {"}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+'"'),c&&(t+=" if (true) { "),t;if(m&&f.indexOf(n)>=0)return c&&(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 w=y.async===!0;y=y.validate}if(I!=i)return c&&(t+=" if (true) { "),t;if(w){if(!e.async)throw new Error("async format in sync schema");var F="formats"+e.util.getProperty(n)+".validate";t+=" if (!(await "+F+"("+d+"))) { "}else{t+=" if (! ";var F="formats"+e.util.getProperty(n);b&&(F+=".validate"),typeof y=="function"?t+=" "+F+"("+d+") ":t+=" "+F+".test("+d+") ",t+=") { "}}var S=S||[];S.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'format' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { format: ",u?t+=""+p:t+=""+e.util.toQuotedString(n),t+=" } ",e.opts.messages!==!1&&(t+=` , message: 'should match format "`,u?t+="' + "+p+" + '":t+=""+e.util.escapeQuotes(n),t+=`"' `),e.opts.verbose&&(t+=" , schema: ",u?t+="validate.schema"+s:t+=""+e.util.toQuotedString(n),t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var C=t;return t=S.pop(),!e.compositeRule&&c?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+=" } ",c&&(t+=" else { "),t}),Sp}var xp,Ip;function tx(){return Ip||(Ip=1,xp=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,c=!e.opts.allErrors,d="data"+(o||""),u="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)),w=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||w){var S;f.createErrors=!1,f.schema=n,f.schemaPath=s,f.errSchemaPath=l,t+=" var "+p+" = errors; var "+u+" = true; ";var C=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=C,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+=" "+u+" = "+m+"; ",I&&w?(S="ifClause"+a,t+=" var "+S+" = 'then'; "):S="'then'",t+=" } ",w&&(t+=" else { ")):t+=" if (!"+m+") { ",w&&(f.schema=e.schema.else,f.schemaPath=e.schemaPath+".else",f.errSchemaPath=e.errSchemaPath+"/else",t+=" "+e.validate(f)+" ",f.baseId=F,t+=" "+u+" = "+m+"; ",I&&w?(S="ifClause"+a,t+=" var "+S+" = 'else'; "):S="'else'",t+=" } "),t+=" if (!"+u+") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'if' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { failingKeyword: "+S+" } ",e.opts.messages!==!1&&(t+=` , message: 'should match "' + `+S+` + '" schema' `),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&&c&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; "),t+=" } ",c&&(t+=" else { ")}else c&&(t+=" if (true) { ");return t}),xp}var Cp,Tp;function rx(){return Tp||(Tp=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,c=!e.opts.allErrors,d="data"+(o||""),u="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,w="data"+I,F=e.baseId;if(t+="var "+p+" = errors;var "+u+";",Array.isArray(n)){var S=e.schema.additionalItems;if(S===!1){t+=" "+u+" = "+d+".length <= "+n.length+"; ";var C=l;l=e.errSchemaPath+"/additionalItems",t+=" if (!"+u+") { ";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: "+d+" "),t+=" } "):t+=" {} ";var P=t;t=E.pop(),!e.compositeRule&&c?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=C,c&&(m+="}",t+=" else { ")}var O=n;if(O){for(var j,x=-1,T=O.length-1;x<T;)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 ("+d+".length > "+x+") { ";var k=d+"["+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,w)<2?t+=" "+e.util.varReplace(B,w,k)+" ":t+=" var "+w+" = "+k+"; "+B+" ",t+=" } ",c&&(t+=" if ("+y+") { ",m+="}")}}if(typeof S=="object"&&(e.opts.strictKeywords?typeof S=="object"&&Object.keys(S).length>0||S===!1:e.util.schemaHasRules(S,e.RULES.all))){f.schema=S,f.schemaPath=e.schemaPath+".additionalItems",f.errSchemaPath=e.errSchemaPath+"/additionalItems",t+=" "+y+" = true; if ("+d+".length > "+n.length+") { for (var "+b+" = "+n.length+"; "+b+" < "+d+".length; "+b+"++) { ",f.errorPath=e.util.getPathExpr(e.errorPath,b,e.opts.jsonPointers,!0);var k=d+"["+b+"]";f.dataPathArr[I]=b;var B=e.validate(f);f.baseId=F,e.util.varOccurences(B,w)<2?t+=" "+e.util.varReplace(B,w,k)+" ":t+=" var "+w+" = "+k+"; "+B+" ",c&&(t+=" if (!"+y+") break; "),t+=" } } ",c&&(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+" < "+d+".length; "+b+"++) { ",f.errorPath=e.util.getPathExpr(e.errorPath,b,e.opts.jsonPointers,!0);var k=d+"["+b+"]";f.dataPathArr[I]=b;var B=e.validate(f);f.baseId=F,e.util.varOccurences(B,w)<2?t+=" "+e.util.varReplace(B,w,k)+" ":t+=" var "+w+" = "+k+"; "+B+" ",c&&(t+=" if (!"+y+") break; "),t+=" }"}return c&&(t+=" "+m+" if ("+p+" == errors) {"),t}),Cp}var Ap,Pp;function Fp(){return Pp||(Pp=1,Ap=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,c=!e.opts.allErrors,F,d="data"+(o||""),u=e.opts.$data&&n&&n.$data,p;u?(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?"<":">",w=f?">":"<",F=void 0;if(!(u||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 S=e.util.getData(y.$data,o,e.dataPathArr),C="exclusive"+a,E="exclType"+a,P="exclIsNumber"+a,O="op"+a,j="' + "+O+" + '";t+=" var schemaExcl"+a+" = "+S+"; ",S="schemaExcl"+a,t+=" var "+C+"; var "+E+" = typeof "+S+"; 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: "+d+" "),t+=" } "):t+=" {} ";var T=t;t=x.pop(),!e.compositeRule&&c?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+=" } else if ( ",u&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),t+=" "+E+" == 'number' ? ( ("+C+" = "+p+" === undefined || "+S+" "+I+"= "+p+") ? "+d+" "+w+"= "+S+" : "+d+" "+w+" "+p+" ) : ( ("+C+" = "+S+" === true) ? "+d+" "+w+"= "+p+" : "+d+" "+w+" "+p+" ) || "+d+" !== "+d+") { var op"+a+" = "+C+" ? '"+I+"' : '"+I+"='; ",n===void 0&&(F=m,l=e.errSchemaPath+"/"+m,p=S,u=b)}else{var P=typeof y=="number",j=I;if(P&&u){var O="'"+j+"'";t+=" if ( ",u&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),t+=" ( "+p+" === undefined || "+y+" "+I+"= "+p+" ? "+d+" "+w+"= "+y+" : "+d+" "+w+" "+p+" ) || "+d+" !== "+d+") { "}else{P&&n===void 0?(C=!0,F=m,l=e.errSchemaPath+"/"+m,p=y,w+="="):(P&&(p=Math[f?"min":"max"](y,n)),y===(P?p:!0)?(C=!0,F=m,l=e.errSchemaPath+"/"+m,w+="="):(C=!1,j+="="));var O="'"+j+"'";t+=" if ( ",u&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),t+=" "+d+" "+w+" "+p+" || "+d+" !== "+d+") { "}}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: "+C+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be "+j+" ",u?t+="' + "+p:t+=""+p+"'"),e.opts.verbose&&(t+=" , schema: ",u?t+="validate.schema"+s:t+=""+n,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var T=t;return t=x.pop(),!e.compositeRule&&c?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+=" } ",c&&(t+=" else { "),t}),Ap}var Op,Ep;function Lp(){return Ep||(Ep=1,Op=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,c=!e.opts.allErrors,m,d="data"+(o||""),u=e.opts.$data&&n&&n.$data,p;if(u?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n,!(u||typeof n=="number"))throw new Error(r+" must be number");var f=r=="maxItems"?">":"<";t+="if ( ",u&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),t+=" "+d+".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 ",u?t+="' + "+p+" + '":t+=""+n,t+=" items' "),e.opts.verbose&&(t+=" , schema: ",u?t+="validate.schema"+s:t+=""+n,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var b=t;return t=y.pop(),!e.compositeRule&&c?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+="} ",c&&(t+=" else { "),t}),Op}var Dp,$p;function jp(){return $p||($p=1,Dp=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,c=!e.opts.allErrors,m,d="data"+(o||""),u=e.opts.$data&&n&&n.$data,p;if(u?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n,!(u||typeof n=="number"))throw new Error(r+" must be number");var f=r=="maxLength"?">":"<";t+="if ( ",u&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),e.opts.unicode===!1?t+=" "+d+".length ":t+=" ucs2length("+d+") ",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 ",u?t+="' + "+p+" + '":t+=""+n,t+=" characters' "),e.opts.verbose&&(t+=" , schema: ",u?t+="validate.schema"+s:t+=""+n,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var b=t;return t=y.pop(),!e.compositeRule&&c?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+="} ",c&&(t+=" else { "),t}),Dp}var Rp,_p;function kp(){return _p||(_p=1,Rp=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,c=!e.opts.allErrors,m,d="data"+(o||""),u=e.opts.$data&&n&&n.$data,p;if(u?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n,!(u||typeof n=="number"))throw new Error(r+" must be number");var f=r=="maxProperties"?">":"<";t+="if ( ",u&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),t+=" Object.keys("+d+").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 ",u?t+="' + "+p+" + '":t+=""+n,t+=" properties' "),e.opts.verbose&&(t+=" , schema: ",u?t+="validate.schema"+s:t+=""+n,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var b=t;return t=y.pop(),!e.compositeRule&&c?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+="} ",c&&(t+=" else { "),t}),Rp}var Bp,qp;function ix(){return qp||(qp=1,Bp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,c=!e.opts.allErrors,d="data"+(o||""),u=e.opts.$data&&n&&n.$data,p;if(u?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n,!(u||typeof n=="number"))throw new Error(r+" must be number");t+="var division"+a+";if (",u&&(t+=" "+p+" !== undefined && ( typeof "+p+" != 'number' || "),t+=" (division"+a+" = "+d+" / "+p+", ",e.opts.multipleOfPrecision?t+=" Math.abs(Math.round(division"+a+") - division"+a+") > 1e-"+e.opts.multipleOfPrecision+" ":t+=" division"+a+" !== parseInt(division"+a+") ",t+=" ) ",u&&(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 ",u?t+="' + "+p:t+=""+p+"'"),e.opts.verbose&&(t+=" , schema: ",u?t+="validate.schema"+s:t+=""+n,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var m=t;return t=f.pop(),!e.compositeRule&&c?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+="} ",c&&(t+=" else { "),t}),Bp}var Mp,Np;function ax(){return Np||(Np=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,c=!e.opts.allErrors,d="data"+(o||""),u="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 "+u+" = 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: "+d+" "),t+=" } "):t+=" {} ";var I=t;t=b.pop(),!e.compositeRule&&c?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 = "+u+"; if (vErrors !== null) { if ("+u+") vErrors.length = "+u+"; 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: "+d+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",c&&(t+=" if (false) { ");return t}),Mp}var Wp,zp;function ox(){return zp||(zp=1,Wp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,c=!e.opts.allErrors,d="data"+(o||""),u="valid"+a,p="errs__"+a,f=e.util.copy(e),m="";f.level++;var y="valid"+f.level,b=f.baseId,I="prevValid"+a,w="passingSchemas"+a;t+="var "+p+" = errors , "+I+" = false , "+u+" = false , "+w+" = null; ";var F=e.compositeRule;e.compositeRule=f.compositeRule=!0;var S=n;if(S)for(var C,E=-1,P=S.length-1;E<P;)C=S[E+=1],(e.opts.strictKeywords?typeof C=="object"&&Object.keys(C).length>0||C===!1:e.util.schemaHasRules(C,e.RULES.all))?(f.schema=C,f.schemaPath=s+"["+E+"]",f.errSchemaPath=l+"/"+E,t+=" "+e.validate(f)+" ",f.baseId=b):t+=" var "+y+" = true; ",E&&(t+=" if ("+y+" && "+I+") { "+u+" = false; "+w+" = ["+w+", "+E+"]; } else { ",m+="}"),t+=" if ("+y+") { "+u+" = "+I+" = true; "+w+" = "+E+"; }";return e.compositeRule=f.compositeRule=F,t+=""+m+"if (!"+u+") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { passingSchemas: "+w+" } ",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: "+d+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&c&&(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}),Wp}var Vp,Up;function nx(){return Up||(Up=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,c=!e.opts.allErrors,d="data"+(o||""),u=e.opts.$data&&n&&n.$data,p;u?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n;var f=u?"(new RegExp("+p+"))":e.usePattern(n);t+="if ( ",u&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'string') || "),t+=" !"+f+".test("+d+") ) { ";var m=m||[];m.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'pattern' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { pattern: ",u?t+=""+p:t+=""+e.util.toQuotedString(n),t+=" } ",e.opts.messages!==!1&&(t+=` , message: 'should match pattern "`,u?t+="' + "+p+" + '":t+=""+e.util.escapeQuotes(n),t+=`"' `),e.opts.verbose&&(t+=" , schema: ",u?t+="validate.schema"+s:t+=""+e.util.toQuotedString(n),t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var y=t;return t=m.pop(),!e.compositeRule&&c?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+="} ",c&&(t+=" else { "),t}),Vp}var Gp,Hp;function sx(){return Hp||(Hp=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,c=!e.opts.allErrors,d="data"+(o||""),u="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,w="data"+I,F="dataProperties"+a,S=Object.keys(n||{}).filter(K),C=e.schema.patternProperties||{},E=Object.keys(C).filter(K),P=e.schema.additionalProperties,O=S.length||E.length,j=P===!1,x=typeof P=="object"&&Object.keys(P).length,T=e.opts.removeAdditional,k=j||x||T,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 "+u+" = errors;var "+m+" = true;",B&&(t+=" var "+F+" = undefined;"),k){if(B?t+=" "+F+" = "+F+" || Object.keys("+d+"); for (var "+b+"=0; "+b+"<"+F+".length; "+b+"++) { var "+y+" = "+F+"["+b+"]; ":t+=" for (var "+y+" in "+d+") { ",O){if(t+=" var isAdditional"+a+" = !(false ",S.length)if(S.length>8)t+=" || validate.schema"+s+".hasOwnProperty("+y+") ";else{var X=S;if(X)for(var Q,fe=-1,$e=X.length-1;fe<$e;)Q=X[fe+=1],t+=" || "+y+" == "+e.util.toQuotedString(Q)+" "}if(E.length){var Ee=E;if(Ee)for(var xe,ot=-1,ze=Ee.length-1;ot<ze;)xe=Ee[ot+=1],t+=" || "+e.usePattern(xe)+".test("+y+") "}t+=" ); if (isAdditional"+a+") { "}if(T=="all")t+=" delete "+d+"["+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(T)t+=" delete "+d+"["+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: "+d+" "),t+=" } "):t+=" {} ";var _=t;t=z.pop(),!e.compositeRule&&c?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,c&&(t+=" break; ")}else if(x)if(T=="failing"){t+=" var "+u+" = 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=d+"["+y+"]";p.dataPathArr[I]=y;var Y=e.validate(p);p.baseId=M,e.util.varOccurences(Y,w)<2?t+=" "+e.util.varReplace(Y,w,H)+" ":t+=" var "+w+" = "+H+"; "+Y+" ",t+=" if (!"+m+") { errors = "+u+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+d+"["+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=d+"["+y+"]";p.dataPathArr[I]=y;var Y=e.validate(p);p.baseId=M,e.util.varOccurences(Y,w)<2?t+=" "+e.util.varReplace(Y,w,H)+" ":t+=" var "+w+" = "+H+"; "+Y+" ",c&&(t+=" if (!"+m+") break; ")}e.errorPath=A}O&&(t+=" } "),t+=" } ",c&&(t+=" if ("+m+") { ",f+="}")}var ge=e.opts.useDefaults&&!e.compositeRule;if(S.length){var be=S;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 Ve=e.util.getProperty(Q),H=d+Ve,mt=ge&&le.default!==void 0;p.schema=le,p.schemaPath=s+Ve,p.errSchemaPath=l+"/"+e.util.escapeFragment(Q),p.errorPath=e.util.getPath(e.errorPath,Q,e.opts.jsonPointers),p.dataPathArr[I]=e.util.toQuotedString(Q);var Y=e.validate(p);if(p.baseId=M,e.util.varOccurences(Y,w)<2){Y=e.util.varReplace(Y,w,H);var ve=H}else{var ve=w;t+=" var "+w+" = "+H+"; "}if(mt)t+=" "+Y+" ";else{if(Z&&Z[Q]){t+=" if ( "+ve+" === undefined ",B&&(t+=" || ! Object.prototype.hasOwnProperty.call("+d+", '"+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: "+d+" "),t+=" } "):t+=" {} ";var _=t;t=z.pop(),!e.compositeRule&&c?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 c?(t+=" if ( "+ve+" === undefined ",B&&(t+=" || ! Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(Q)+"') "),t+=") { "+m+" = true; } else { "):(t+=" if ("+ve+" !== undefined ",B&&(t+=" && Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(Q)+"') "),t+=" ) { ");t+=" "+Y+" } "}}c&&(t+=" if ("+m+") { ",f+="}")}}if(E.length){var Se=E;if(Se)for(var xe,Lr=-1,Xi=Se.length-1;Lr<Xi;){xe=Se[Lr+=1];var le=C[xe];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(xe),p.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(xe),B?t+=" "+F+" = "+F+" || Object.keys("+d+"); for (var "+b+"=0; "+b+"<"+F+".length; "+b+"++) { var "+y+" = "+F+"["+b+"]; ":t+=" for (var "+y+" in "+d+") { ",t+=" if ("+e.usePattern(xe)+".test("+y+")) { ",p.errorPath=e.util.getPathExpr(e.errorPath,y,e.opts.jsonPointers);var H=d+"["+y+"]";p.dataPathArr[I]=y;var Y=e.validate(p);p.baseId=M,e.util.varOccurences(Y,w)<2?t+=" "+e.util.varReplace(Y,w,H)+" ":t+=" var "+w+" = "+H+"; "+Y+" ",c&&(t+=" if (!"+m+") break; "),t+=" } ",c&&(t+=" else "+m+" = true; "),t+=" } ",c&&(t+=" if ("+m+") { ",f+="}")}}}return c&&(t+=" "+f+" if ("+u+" == errors) {"),t}),Gp}var Qp,Kp;function lx(){return Kp||(Kp=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,c=!e.opts.allErrors,d="data"+(o||""),u="errs__"+a,p=e.util.copy(e),f="";p.level++;var m="valid"+p.level;if(t+="var "+u+" = 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,w="' + "+y+" + '",F=p.dataLevel=e.dataLevel+1,S="data"+F,C="dataProperties"+a,E=e.opts.ownProperties,P=e.baseId;E&&(t+=" var "+C+" = undefined; "),E?t+=" "+C+" = "+C+" || Object.keys("+d+"); for (var "+b+"=0; "+b+"<"+C+".length; "+b+"++) { var "+y+" = "+C+"["+b+"]; ":t+=" for (var "+y+" in "+d+") { ",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,S)<2?t+=" "+e.util.varReplace(x,S,O)+" ":t+=" var "+S+" = "+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: '"+w+"' } ",e.opts.messages!==!1&&(t+=" , message: 'property name \\'"+w+"\\' is invalid' "),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&&c&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; "),c&&(t+=" break; "),t+=" } }"}return c&&(t+=" "+f+" if ("+u+" == errors) {"),t}),Qp}var Jp,Zp;function px(){return Zp||(Zp=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,c=!e.opts.allErrors,d="data"+(o||""),u="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 w=e.schema.properties[y];w&&(e.opts.strictKeywords?typeof w=="object"&&Object.keys(w).length>0||w===!1:e.util.schemaHasRules(w,e.RULES.all))||(F[F.length]=y)}}else var F=n;if(p||F.length){var S=e.errorPath,C=p||F.length>=e.opts.loopRequired,E=e.opts.ownProperties;if(c)if(t+=" var missing"+a+"; ",C){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(S,O,e.opts.jsonPointers)),t+=" var "+u+" = true; ",p&&(t+=" if (schema"+a+" === undefined) "+u+" = true; else if (!Array.isArray(schema"+a+")) "+u+" = false; else {"),t+=" for (var "+P+" = 0; "+P+" < "+f+".length; "+P+"++) { "+u+" = "+d+"["+f+"["+P+"]] !== undefined ",E&&(t+=" && Object.prototype.hasOwnProperty.call("+d+", "+f+"["+P+"]) "),t+="; if (!"+u+") break; } ",p&&(t+=" } "),t+=" if (!"+u+") { ";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: "+d+" "),t+=" } "):t+=" {} ";var T=t;t=x.pop(),!e.compositeRule&&c?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+=" } 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=d+J;t+=" ( ( "+Z+" === undefined ",E&&(t+=" || ! Object.prototype.hasOwnProperty.call("+d+", '"+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(S,O,!0):S+" + "+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: "+d+" "),t+=" } "):t+=" {} ";var T=t;t=x.pop(),!e.compositeRule&&c?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+=" } else { "}else if(C){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(S,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: "+d+" "),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 ("+d+"["+f+"["+P+"]] === undefined ",E&&(t+=" || ! Object.prototype.hasOwnProperty.call("+d+", "+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: "+d+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ",p&&(t+=" } ")}else{var K=F;if(K)for(var B,X=-1,Q=K.length-1;X<Q;){B=K[X+=1];var J=e.util.getProperty(B),j=e.util.escapeQuotes(B),Z=d+J;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(S,B,e.opts.jsonPointers)),t+=" if ( "+Z+" === undefined ",E&&(t+=" || ! Object.prototype.hasOwnProperty.call("+d+", '"+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: "+d+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}e.errorPath=S}else c&&(t+=" if (true) {");return t}),Jp}var Xp,Yp;function dx(){return Yp||(Yp=1,Xp=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,c=!e.opts.allErrors,d="data"+(o||""),u="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 "+u+"; if ("+f+" === false || "+f+" === undefined) "+u+" = true; else if (typeof "+f+" != 'boolean') "+u+" = false; else { "),t+=" var i = "+d+".length , "+u+" = 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("+d+"[i], "+d+"[j])) { "+u+" = false; break outer; } } } ";else{t+=" var itemIndices = {}, item; for (;i--;) { var item = "+d+"[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') { "+u+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}t+=" } ",p&&(t+=" } "),t+=" if (!"+u+") { ";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: "+d+" "),t+=" } "):t+=" {} ";var w=t;t=I.pop(),!e.compositeRule&&c?e.async?t+=" throw new ValidationError(["+w+"]); ":t+=" validate.errors = ["+w+"]; return false; ":t+=" var err = "+w+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",c&&(t+=" else { ")}else c&&(t+=" if (true) { ");return t}),Xp}var ed,td;function cx(){return td||(td=1,ed={$ref:Gw(),allOf:Hw(),anyOf:Qw(),$comment:Kw(),const:Jw(),contains:Zw(),dependencies:Xw(),enum:Yw(),format:ex(),if:tx(),items:rx(),maximum:Fp(),minimum:Fp(),maxItems:Lp(),minItems:Lp(),maxLength:jp(),minLength:jp(),maxProperties:kp(),minProperties:kp(),multipleOf:ix(),not:ax(),oneOf:ox(),pattern:nx(),properties:sx(),propertyNames:lx(),required:px(),uniqueItems:dx(),validate:zd()}),ed}var $a,rd;function ux(){if(rd)return $a;rd=1;var e=cx(),r=Er().toHash;return $a=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 c=Object.keys(s)[0];l=s[c],s=c,l.forEach(function(u){t.push(u),i.all[u]=!0})}t.push(s);var d=i.all[s]={keyword:s,code:e[s],implements:l};return d}),i.all.$comment={keyword:"$comment",code:e.$comment},n.type&&(i.types[n.type]=n)}),i.keywords=r(t.concat(a)),i.custom={},i},$a}var ja,id;function fx(){if(id)return ja;id=1;var e=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];return ja=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},ja}var Ra,ad;function hx(){if(ad)return Ra;ad=1;var e=ro().MissingRef;Ra=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 c=o._addSchema(i,void 0,t);return c.validate||l(c)});return a&&n.then(function(c){a(null,c)},a),n;function s(c){var d=c.$schema;return d&&!o.getSchema(d)?r.call(o,{$ref:d},!0):Promise.resolve()}function l(c){try{return o._compile(c)}catch(u){if(u instanceof e)return d(u);throw u}function d(u){var p=u.missingSchema;if(y(p))throw new Error("Schema "+p+" is loaded but "+u.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(c)});function m(){delete o._loadingSchemas[p]}function y(b){return o._refs[b]||o._schemas[b]}}}}return Ra}var od,nd;function mx(){return nd||(nd=1,od=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,c=!e.opts.allErrors,d,u="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,w=b.definition,F="",S,C,E,P,O;if(m&&w.$data){O="keywordValidate"+a;var j=w.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,S=w.compile,C=w.inline,E=w.macro}var x=O+".errors",T="i"+a,k="ruleErr"+a,B=w.async;if(B&&!e.async)throw new Error("async keyword in sync schema");if(C||E||(t+=""+x+" = null;"),t+="var "+f+" = errors;var "+p+";",m&&w.$data&&(F+="}",t+=" if ("+y+" === undefined) { "+p+" = true; } else { ",j&&(F+="}",t+=" "+p+" = "+I+".validateSchema("+y+"); if ("+p+") { ")),C)w.statements?t+=" "+P.validate+" ":t+=" "+p+" = "+P.validate+"; ";else if(E){var M=e.util.copy(e),F="";M.level++;var J="valid"+M.level;M.schema=P.validate,M.schemaPath="";var Z=e.compositeRule;e.compositeRule=M.compositeRule=!0;var K=e.validate(M).replace(/validate\.schema/g,O);e.compositeRule=M.compositeRule=Z,t+=" "+K}else{var X=X||[];X.push(t),t="",t+=" "+O+".call( ",e.opts.passContext?t+="this":t+="self",S||w.schema===!1?t+=" , "+u+" ":t+=" , "+y+" , "+u+" , validate.schema"+e.schemaPath+" ",t+=" , (dataPath || '')",e.errorPath!='""'&&(t+=" + "+e.errorPath);var Q=o?"data"+(o-1||""):"parentData",fe=o?e.dataPathArr[o]:"parentDataProperty";t+=" , "+Q+" , "+fe+" , rootData ) ";var $e=t;t=X.pop(),w.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(w.modifying&&(t+=" if ("+Q+") "+u+" = "+Q+"["+fe+"];"),t+=""+F,w.valid)c&&(t+=" if (true) { ");else{t+=" if ( ",w.valid===void 0?(t+=" !",E?t+=""+J:t+=""+p):t+=" "+!w.valid+" ",t+=") { ",d=b.keyword;var X=X||[];X.push(t),t="";var X=X||[];X.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(d||"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: "+u+" "),t+=" } "):t+=" {} ";var Ee=t;t=X.pop(),!e.compositeRule&&c?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 xe=t;t=X.pop(),C?w.errors?w.errors!="full"&&(t+=" for (var "+T+"="+f+"; "+T+"<errors; "+T+"++) { var "+k+" = vErrors["+T+"]; 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 = "+u+"; "),t+=" } "):w.errors===!1?t+=" "+xe+" ":(t+=" if ("+f+" == errors) { "+xe+" } else { for (var "+T+"="+f+"; "+T+"<errors; "+T+"++) { var "+k+" = vErrors["+T+"]; 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 = "+u+"; "),t+=" } } "):E?(t+=" var err = ",e.createErrors!==!1?(t+=" { keyword: '"+(d||"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: "+u+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&c&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; ")):w.errors===!1?t+=" "+xe+" ":(t+=" if (Array.isArray("+x+")) { if (vErrors === null) vErrors = "+x+"; else vErrors = vErrors.concat("+x+"); errors = vErrors.length; for (var "+T+"="+f+"; "+T+"<errors; "+T+"++) { var "+k+" = vErrors["+T+"]; if ("+k+".dataPath === undefined) "+k+".dataPath = (dataPath || '') + "+e.errorPath+"; "+k+'.schemaPath = "'+l+'"; ',e.opts.verbose&&(t+=" "+k+".schema = "+y+"; "+k+".data = "+u+"; "),t+=" } } else { "+xe+" } "),t+=" } ",c&&(t+=" else { ")}return t}),od}var yx="http://json-schema.org/draft-07/schema#",gx="http://json-schema.org/draft-07/schema#",bx="Core schema meta-schema",vx={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:[]}},Sx=["object","boolean"],wx={$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:"#"}},Vd={$schema:yx,$id:gx,title:bx,definitions:vx,type:Sx,properties:wx,default:!0},_a,sd;function xx(){if(sd)return _a;sd=1;var e=Vd;return _a={$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"}]}}},_a}var ka,ld;function Ix(){if(ld)return ka;ld=1;var e=/^[a-z_$][a-z0-9_$-]*$/i,r=mx(),i=xx();ka={add:t,get:a,remove:o,validate:n};function t(s,l){var c=this.RULES;if(c.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 d=l.type;if(Array.isArray(d))for(var u=0;u<d.length;u++)f(s,d[u],l);else f(s,d,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))}c.keywords[s]=c.all[s]=!0;function f(m,y,b){for(var I,w=0;w<c.length;w++){var F=c[w];if(F.type==y){I=F;break}}I||(I={type:y,rules:[]},c.push(I));var S={keyword:m,definition:b,custom:!0,code:r,implements:b.implements};I.rules.push(S),c.custom[m]=S}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 c=0;c<l.length;c++)for(var d=l[c].rules,u=0;u<d.length;u++)if(d[u].keyword==s){d.splice(u,1);break}return this}function n(s,l){n.errors=null;var c=this._validateKeyword=this._validateKeyword||this.compile(i,!0);if(c(s))return!0;if(n.errors=c.errors,l)throw new Error("custom keyword definition is invalid: "+this.errorsText(c.errors));return!1}return ka}var Cx="http://json-schema.org/draft-07/schema#",Tx="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",Ax="Meta-schema for $data reference (JSON Schema extension proposal)",Px="object",Fx=["$data"],Ox={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},Ex=!1,Lx={$schema:Cx,$id:Tx,description:Ax,type:Px,required:Fx,properties:Ox,additionalProperties:Ex},Ba,pd;function Dx(){if(pd)return Ba;pd=1;var e=zw(),r=to(),i=Vw(),t=Nd(),a=Wd(),o=Uw(),n=ux(),s=fx(),l=Er();Ba=m,m.prototype.validate=y,m.prototype.compile=b,m.prototype.addSchema=I,m.prototype.addMetaSchema=w,m.prototype.validateSchema=F,m.prototype.getSchema=C,m.prototype.removeSchema=O,m.prototype.addFormat=K,m.prototype.errorsText=Z,m.prototype._addSchema=x,m.prototype._compile=T,m.prototype.compileAsync=hx();var c=Ix();m.prototype.addKeyword=c.add,m.prototype.getKeyword=c.get,m.prototype.removeKeyword=c.remove,m.prototype.validateKeyword=c.validate;var d=ro();m.ValidationError=d.Validation,m.MissingRefError=d.MissingRef,m.$dataMetaSchema=s;var u="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=xe(this),A.formats&&fe(this),A.keywords&&$e(this),X(this),typeof A.meta=="object"&&this.addMetaSchema(A.meta),A.nullable&&this.addKeyword("nullable",{metaSchema:{type:"boolean"}}),Q(this)}function y(A,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 w(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||S(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 S(A){var R=A._opts.meta;return A._opts.defaultMeta=typeof R=="object"?A._getId(R)||R:A.getSchema(u)?u:void 0,A._opts.defaultMeta}function C(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 Y=r.normalizeId(this._getId(A));Y&&z&&Ee(this,Y);var ge=this._opts.validateSchema!==!1&&!R,be;ge&&!(be=Y&&Y==r.normalizeId(A.$schema))&&this.validateSchema(A,!0);var ne=r.ids.call(this,A),ae=new t({id:Y,schema:A,localRefs:ne,cacheKey:W,meta:N});return Y[0]!="#"&&z&&(this._refs[Y]=ae),this._cache.put(W,ae),ge&&be&&this.validateSchema(A,!0),ae}function T(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 X(A){var R;if(A._opts.$data&&(R=Lx,A.addMetaSchema(R,R.$id,!0)),A._opts.meta!==!1){var N=Vd;A._opts.$data&&(N=s(N,f)),A.addMetaSchema(N,u,!0),A._refs["http://json-schema.org/schema"]=u}}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 xe(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:ze,warn:ze,error:ze};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 ze(){}return Ba}var $x=Dx(),jx=Bw($x),Ud={NonNumericAggregation:"nonNumericAggregation",DuplicateSeriesID:"duplicateSeriesId"},_t={Required:"required",MinLength:"minLength",MinItems:"minItems",MaxItems:"maxItems",Pattern:"pattern",AdditionalProperties:"additionalProperties",Enum:"enum",AnyOf:"anyOf"},Yj={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 Rx(e){let r=e.lastIndexOf("/");return r!==-1?e.slice(r+1):e}async function _x(e){let r=await ft();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=Kt.definitions.WebChart.properties.legend.anyOf.map(n=>Rx(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 kx(e){let r,i=await ft(),t=qe(e);try{await t.load()}catch{let a=t?.url??"",o=Re(t)?.portalItem?.id??"";r={keyword:qt.LayerLoadFailure,message:Ze(i.layerLoadFailure,{url:a,portalItemId:o}),params:{url:a,portalItemId:o}}}return r}function Bx(){let e=new jx({allErrors:!0});return async r=>{let i=[],t=Me(r?.series),a=Kt;switch(t){case L.GaugeSeries:a=Ni(Kt,"WebGaugeChart");break;case L.BoxPlotSeries:a=Ni(Kt,"WebBoxPlot");break;case L.RadarSeries:a=Ni(Kt,"WebRadarChart");break;default:a=Ni(Kt,"WebChart");break}let o=e.compile(a);return o(r),o.errors!==null&&o.errors!==void 0&&(i=await _x(o.errors)),i}}var qx=Bx();async function Mx(e){let{seriesConfigs:r,queryObject:i,allowUsingObjectIdStat:t}=e,a=[],o=await Zi(i),n=await ft();for(let s=0;s<r.length;s+=1){let l=r[s].query?.outStatistics;if(l!==void 0)for(let c=0;c<l.length;c+=1){let d=l[c],u=Ya(d.onStatisticField,o);if(u&&!(u.type===ke.OID&&t||Md(u))&&d.statisticType!==Ie.Count){let p=`series[${s}].query.outStatistics[${c}]`;a.push({keyword:Ud.NonNumericAggregation,message:Ze(n.nonNumericAggregation,{dataPath:p}),dataPath:p,params:{fieldName:d.onStatisticField,fieldType:u.type,aggregationRequested:d.statisticType}})}}}return a}async function Nx(e){let r=[],i=await ft();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:Ud.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 Wx(e){let r=new Set,i=iw(e);if(i){let t=Me(e.series),a=Ct(e.series);t===L.GaugeSeries&&!pw(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=[Ua,ei,So,oa,wo,Xt.outStatistics.outStatisticFieldName??""],s=[];if(t===L.BoxPlotSeries?s=uw({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:c}=l;c&&(Fr(c.where)||r.add(Qa(c.where)),c.groupByFieldsForStatistics&&c.groupByFieldsForStatistics.forEach(d=>r.add(d)),c.outStatistics&&c.outStatistics.forEach(d=>r.add(d.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=>!ut(t))}async function zx(e,r){let i,t=await ft(),a=await Zi(r),o=Wx(e).filter(n=>!Ya(n,a));if(o.length>0){let n=o.join(", ");i={keyword:qt.LayerFieldsNotFound,message:Ze(t.layerFieldsNotFound,{fieldNames:n}),params:n}}return i}async function Vx(e){let{input:r,queryObject:i,allowUsingObjectIdStat:t}=e,a=[];if(i!==void 0){let o=await Mx({seriesConfigs:r.series,queryObject:i,allowUsingObjectIdStat:t});a=a.concat(o)}return a=a.concat(await Nx(r)),a}async function Ux(e,r){let i=[];if(e!==void 0){let t=await kx(e);if(t!==void 0)i=i.concat(t);else if(r!==void 0){let a=await zx(r,e);a!==void 0&&(i=i.concat(a))}}return i}async function eR(e){let{input:r,queryObject:i,allowUsingObjectIdStat:t}=e,a;if(rw(r?.version).versionStatus===Tt.Newer)a={valid:!0,schemaErrors:[],customErrors:[],warnings:[]};else{let o=await qx(r),n=[],s=[];r!==void 0&&o.length===0&&(s=await Ux(i,r),s.length===0&&(n=await Vx({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 tR(e){let r=Me(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;Ct(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;Ct(t)===V.BarAndLineFromFields?i=(t?.[0]?.query?.outStatistics?.length??0)===0:i=(t?.[0]?.x?.trim()?.length??0)===0;break}}return i}var rR=[{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]}],iR="${ groupByFieldsForStatistics } WHEN ${ dateField }>='${ startDate }' AND ${ dateField }${ endDateOperand }'${ endDate }' THEN '${ y }|${ binIndex}'";return{a:It,b:ke,c:nr,d:ia,e:sr,f:Xr,g:aa,h:Be,i:Gx,j:Hx,k:Qx,l:Yr,m:ei,n:oa,o:So,p:wo,q:lt,r:se,s:we,t:ri,u:la,v:$b,w:qm,x:Um,y:vy,z:Ty,A:xs,B:Wb,C:ua,D:ng,E:lg,F:Xg,G:Nr,H:pv,I:Cl,J:Tl,K:Al,L:Pl,M:Fl,N:Dl,O:q,P:Ze,Q:hd,R:v$,S:S$,T:w$,U:x$,V:ht,W:md,X:te,Y:I$,Z:C$,_:Xt,$:Fv,aa:T$,ba:at,ca:Ev,da:A$,ea:P$,fa:F$,ga:Ua,ha:Lv,ia:ct,ja:gd,ka:O$,la:Ki,ma:pe,na:bd,oa:ie,pa:Gr,qa:$v,ra:E$,sa:Ma,ta:L$,ua:D$,va:Yt,wa:ki,xa:$$,ya:jv,za:Rv,Aa:_v,Ba:j$,Ca:kv,Da:Or,Ea:qv,Fa:Nv,Ga:R$,Ha:Wv,Ia:_$,Ja:k$,Ka:zv,La:Vv,Ma:B$,Na:q$,Oa:zr,Pa:M$,Qa:N$,Ra:W$,Sa:z$,Ta:V$,Ua:U$,Va:G$,Wa:Uv,Xa:Gv,Ya:Hv,Za:H$,_a:Qv,$a:Q$,ab:K$,bb:J$,cb:Kv,db:Z$,eb:X$,fb:Jv,gb:Zv,hb:Y$,ib:ej,jb:V,kb:tj,lb:rj,mb:ij,nb:aj,ob:VS,pb:HS,qb:$d,rb:oj,sb:nj,tb:sj,ub:lj,vb:pj,wb:ut,xb:ZS,yb:dj,zb:cj,Ab:uj,Bb:fj,Cb:hj,Db:mj,Eb:yj,Fb:gj,Gb:bj,Hb:vj,Ib:Sj,Jb:XS,Kb:YS,Lb:rw,Mb:iw,Nb:wj,Ob:Qa,Pb:Hr,Qb:Fr,Rb:xj,Sb:Ct,Tb:Ij,Ub:sw,Vb:ye,Wb:lw,Xb:pw,Yb:Cj,Zb:dw,_b:Hi,$b:Ca,ac:Qi,bc:uw,cc:fw,dc:Tj,ec:mw,fc:Aj,gc:Bt,hc:qt,ic:Pj,jc:Ka,kc:Fj,lc:Re,mc:Rd,nc:Oj,oc:Ej,pc:qe,qc:Lj,rc:Vr,sc:Dj,tc:xw,uc:$j,vc:jj,wc:Rj,xc:Cw,yc:_j,zc:kj,Ac:Tw,Bc:Bj,Cc:Ur,Dc:Za,Ec:qj,Fc:jw,Gc:Mj,Hc:Zi,Ic:Nj,Jc:Md,Kc:Wj,Lc:zj,Mc:Vj,Nc:Uj,Oc:Gj,Pc:Hj,Qc:Qj,Rc:Kj,Sc:kw,Tc:Jj,Uc:Zj,Vc:Xj,Wc:Ud,Xc:Yj,Yc:eR,Zc:tR,_c:rR,$c:iR}},"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",description:"Symbol associated with the bin."},isLastBin:{type:"boolean",description:"Whether this is the last bin."}},required:["count","minValue","maxValue"],description:"JSON representation of a Histogram bin",title:"WebChartBin"},WebChartHistogramDataItem:{type:"object",properties:{mean:{type:"number"},median:{type:"number"},stddev:{type:"number"},max:{type:"number"},min:{type:"number"},sum:{type:"number",description:"Sum of the values of all the points"},count:{type:"number",description:"Number of all the points/features in un-binned data (including only non-null entries)"},nulls:{type:"number",description:"Number of null entries in the pool of points"},bins:{type:"array",items:{$ref:"#/definitions/WebChartBin"}}},required:["mean","median","stddev","max","min","bins"],description:"JSON representation of the processed data for a Histogram",title:"WebChartHistogramDataItem"},WebChartDataTypes:{anyOf:[{$ref:"#/definitions/WebChartBoxPlotDataItem"},{$ref:"#/definitions/WebChartGenericDataItem"},{$ref:"#/definitions/WebChartHistogramDataItem"},{$ref:"#/definitions/WebChartScatterplotDataItem"}],title:"WebChartDataTypes"},WebChartTypes:{type:"string",enum:["chart","chartText","chartOverlay","chartOverlays","chartLegend","cursorCrosshair","chartAxis","gaugeAxisTick","gaugeNeedle","category","number","date","chartGuide","scatterSeries","pieSeries","pieTick","gaugeSeries","lineSeries","barSeries","histogramSeries","boxPlotSeries","radarSeries","comboLineAndBarSeries","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 ud=nc(Ll(),1);var Dl={Count:"count",Start:"minValue",End:"maxValue"},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"},Tv=[...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 ba(e)(r)}function Av(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 Pv(e){let r=e;if(e!==void 0&&e.includes("-")){let[i,t]=e.split("-");r=`${i}-${t.toUpperCase()}`}return r}function $l(e,r){let i=q.English,t=Pv(e);if(t!==void 0)if(r.includes(t))i=t;else{let a=Av(t);r.includes(a)?i=a:a==="nb"&&(i="no")}return i}function jl(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 hd(e=document.documentElement){let r=jl("[lang]",e)?.lang??window.navigator.language,i=Object.values(q),t=Object.values(Tv),a=$l(r,i),o=$l(r,t);return o=o==="ar"?"ar-u-nu-latn":o,{locale:a,rtl:jl("[dir]",e)?.getAttribute("dir")==="rtl",formatLocale:o}}function v$(e){let r;return e==="unknown"?r="UTC":e!==void 0&&e!=="system"&&(r=e),r}function S$(e,r){let i={year:"numeric",month:"2-digit",day:"2-digit",timeZone:r};return new Intl.DateTimeFormat("en-CA",i).format(e)}function w$(e,r){let i={hour:"2-digit",minute:"2-digit",hour12:!1,timeZone:r};return new Intl.DateTimeFormat("en-US",i).format(e)}function x$(e,r){let[,i,,,,t]=1111.1.toLocaleString(r),a=e.replace(i,"").replace(t,".");return Number.parseFloat(a)}async function ht(e=hd().locale){let r=await import("./7ZXW5UN6.js");switch(e){case q.Arabic:r=await import("./7TMOHHSO.js");break;case q.Bosnian:r=await import("./EKYJT5MP.js");break;case q.Bulgarian:r=await import("./UDZTKG5K.js");break;case q.Catalan:r=await import("./7MWN27SY.js");break;case q.Czech:r=await import("./MD3JQCPB.js");break;case q.Danish:r=await import("./O3QMSTXU.js");break;case q.German:r=await import("./Y4ONAWEE.js");break;case q.Greek:r=await import("./EO7RVH7C.js");break;case q.EnglishUSA:r=await import("./R3EDWKR4.js");break;case q.Spanish:r=await import("./ZMPUG3BP.js");break;case q.Estonian:r=await import("./ERF77LRM.js");break;case q.Finnish:r=await import("./T6JPCYQL.js");break;case q.French:r=await import("./JICWKMRA.js");break;case q.Hebrew:r=await import("./DNXEBPQ4.js");break;case q.Croatian:r=await import("./EXCMSRKZ.js");break;case q.Hungarian:r=await import("./K5ZXGWBB.js");break;case q.Indonesian:r=await import("./PSXN7BWZ.js");break;case q.Italian:r=await import("./BPIT25AN.js");break;case q.Japanese:r=await import("./3BLUZA5H.js");break;case q.Korean:r=await import("./QIQRYUP4.js");break;case q.Lithuanian:r=await import("./5JG7AKAZ.js");break;case q.Latvian:r=await import("./AWOK3P7S.js");break;case q.NorwegianBokml:r=await import("./PCXSWKSY.js");break;case q.Dutch:r=await import("./IRNLK4WU.js");break;case q.Polish:r=await import("./AW37BUEA.js");break;case q.PortugueseBrazil:r=await import("./GSUVZHXT.js");break;case q.PortuguesePortugal:r=await import("./JRNUCPF7.js");break;case q.Romanian:r=await import("./BASSSX6R.js");break;case q.Russian:r=await import("./LGOYDCJ6.js");break;case q.Serbian:r=await import("./24AGKOGA.js");break;case q.Slovak:r=await import("./2TAEW6AI.js");break;case q.Slovenian:r=await import("./MEFF6F4U.js");break;case q.Swedish:r=await import("./LA2CWMSA.js");break;case q.Thai:r=await import("./23IPJDJQ.js");break;case q.Turkish:r=await import("./OSEHFXRE.js");break;case q.Ukrainian:r=await import("./VA5U3VPB.js");break;case q.Vietnamese:r=await import("./BNMX6VG5.js");break;case q.ChineseChina:r=await import("./DGUULKDX.js");break;case q.ChineseHongKong:r=await import("./ZJ4PXD24.js");break;case q.ChineseTaiwan:r=await import("./542JIEOK.js");break;case q.English:}return r}var md={Reject:"reject",RenderUpToTheLimit:"renderUpToTheLimit"},te={AxisLabels:"axisLabels",GuideLabel:"guideLabel",AxisTitle:"axisTitle",ChartTitle:"chartTitle",ChartSubtitle:"chartSubtitle",DataLabels:"dataLabels",LegendTitle:"legendTitle",LegendText:"legendText",DescriptionText:"descriptionText"},I$=32,C$="arcgis_charts_features_extent",Xt={maxRecordCountFactor:5,maxParallelRequests:4,maxRecords:2e3,orderByJSAPIDelimiter:" ",outStatistics:{statisticType:yo.statisticType,onStatisticField:"OBJECTID",outStatisticFieldName:"arcgis_charts_outStatisticFieldName_default_key"},uniqueIdsName:"arcgisChartsUniqueIds"},Fv=["EXPR_1","Expr1","expr1","EXPR1"],T$=1,at=.7,Ov=25,yd=[156,156,156,255],Ev=[156,156,156,255],A$=nr.Solid,P$=2,F$={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"},Ua="arcgis_charts_box_plot_category",Lv=[[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]],Dv=[[104,104,104,255],[51,124,235,255],[132,0,168,255],[156,156,156,255]];function ct(e){let{colorIndex:r,opacity:i,histogramOverlays:t}=e,a=Math.max(0,r??0),o=[...t===!0?Dv:Lv],[n,s,l,c]=o[a%o.length],d=i!==void 0?i*255:c;return[n,s,l,d]}function gd(e){return[0,0,0,(e??at)*255]}function O$(){return{type:L.CursorCrosshair,verticalLineVisible:!1,horizontalLineVisible:!1,style:{type:Be.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 bd(e="",r=pe(),i){let t=Xr.Center;return(i===te.DataLabels||i===te.GuideLabel)&&(t=void 0),{type:Be.TS,color:gd(),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:bd(r,t,a)}}function Gr(e){let r=e?.useRandomColor??!1,i=e?.useRampColor,t=e?.width??1,a=e?.isHistogramOverlay,o=e?.color??gd(1);return r?o=Ki():i!==void 0&&(a===!0?o=ct({colorIndex:i.colorIndex,histogramOverlays:a}):o=ct({colorIndex:i.colorIndex})),e?.opacity!==void 0&&(o[3]=e.opacity),{type:Be.SLS,style:nr.Solid,color:o,width:t}}function $v(){return{type:L.CategoryAxisFormat,characterLimit:11}}function E$(){return{type:L.DateAxisFormat,intlOptions:{}}}function Ma(){return{type:L.NumberAxisFormat,intlOptions:{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:3,useGrouping:!0}}}function L$(){return{type:L.NumberAxisFormat,intlOptions:{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:2}}}function D$(){return{type:L.NumberAxisFormat,intlOptions:{style:"percent",minimumFractionDigits:0,maximumFractionDigits:0}}}function Rl(e="Category Axis"){let r=ie({text:e,visible:!0,font:pe(te.AxisTitle)});r.content.horizontalAlignment=Xr.Center,r.content.verticalAlignment=aa.Middle;let i=ie({text:e,visible:!0,font:pe(te.AxisLabels)});return{type:L.Axis,visible:!0,title:r,labels:i,valueFormat:$v(),lineSymbol:Gr({color:yd})}}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=aa.Middle,r.content.horizontalAlignment=Xr.Center,{type:L.Axis,visible:!0,title:r,labels:i,valueFormat:Ma(),lineSymbol:Gr({color:yd})}}function Yt(){return{type:L.Legend,visible:!0,title:ie({text:"",visible:!0,font:pe(te.LegendTitle)}),body:bd("",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 er(){return[255,255,255,255]}async function Mt(){return(await ht()).defaultTitle}function Nt(){return`Chart ${Date.now()}`}function $$(e,r=!1){return{type:Be.SFS,style:sr.Solid,color:r?Ki(at):ct({colorIndex:e??0,opacity:at})}}function jv(e=0){return{type:Be.SMS,style:ia.Circle,color:ct({colorIndex:e,opacity:at}),size:4}}function Rv(e){return{type:Be.SLS,style:nr.Solid,color:ct({colorIndex:e,opacity:at}),width:2}}function _v(e=!1){return{type:Be.SMS,style:ia.Circle,color:e?Ki(at):ct({colorIndex:0,opacity:at}),size:7}}function j$(){return{type:L.SizePolicy,field:"",scaleType:vo.Linear,minSize:5,maxSize:30}}function kv(e=!1){return{type:L.Overlays,trendLine:{type:L.Overlay,created:!1,visible:!0,symbol:{type:Be.SLS,style:nr.Solid,color:e?Ki():ct({colorIndex:1}),width:2}}}}function Bv(){return{type:L.ScatterSeries,id:L.ScatterSeries,name:L.ScatterSeries,x:"",y:"",markerSymbol:_v(),overlays:kv(),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:Ov});switch(n.grid=s,e){case L.BarSeries:{o=Rl(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=Rl("");break}}return o!==void 0&&i.push(o,n),i}function qv(){return{type:L.GaugeNeedle,symbol:{type:Be.SFS,color:[0,0,0,200]}}}async function Mv(){let e=await ht(),r=[],i=e.xAxis,t=Wi(i);return t.needle=qv(),r.push(t),r}async function Nv(e){let r=e.objectIDField??"ObjectID",i=`${Ie.Count}_${r}_0`.toUpperCase(),t=(await ht()).countSeries;return{type:L.LineSeries,id:t,name:t,query:{outStatistics:[{statisticType:Ie.Count,onStatisticField:r,outStatisticFieldName:i}],groupByFieldsForStatistics:[]},x:"",y:i,lineSymbol:Rv(e.seriesIndex),markerSymbol:jv(e.seriesIndex),dataLabels:ie({text:"",visible:!1,font:pe(te.DataLabels)}),temporalBinning:{type:ra.FixedDateBased,unit:_e.Day,size:0,timeAggregationType:ar.Start,trimIncompleteTimeInterval:!0,nullPolicy:go.Interpolate}}}async function R$(e){return{...await Nv(e),type:L.RadarSeries}}function Wv(e){return{type:Be.SFS,style:sr.Solid,color:ct({colorIndex:e,opacity:at})}}async function _$(e){let r=e.objectIDField??"ObjectID",i=`${Ie.Count}_${r}_0`.toUpperCase(),t=(await ht()).countSeries;return{type:L.BarSeries,id:t,name:t,query:{outStatistics:[{statisticType:Ie.Count,onStatisticField:r,outStatisticFieldName:i}],groupByFieldsForStatistics:[]},x:"",y:i,fillSymbol:Wv(e.seriesIndex),dataLabels:ie({text:"",visible:!1,font:pe(te.DataLabels),type:te.DataLabels})}}async function k$(e){let r=(await ht()).countSeries;return{name:r,type:L.BoxPlotSeries,id:r,fillSymbol:{type:Be.SFS,style:sr.Solid,color:ct({colorIndex:e,opacity:at})},query:{},x:Ua,y:""}}function zv(){return{type:L.PieTick,visible:!0,lineSymbol:Gr({width:1,color:Ev})}}function Vv(){return{type:Be.SFS,style:sr.Solid}}async function B$(e){let r=`${Ie.Count}_${e}_0`.toUpperCase(),i=(await ht()).countSeries;return{type:L.PieSeries,id:i,name:i,query:{outStatistics:[{statisticType:Ie.Count,onStatisticField:e??"ObjectID",outStatisticFieldName:r}],groupByFieldsForStatistics:[]},x:"",y:r,fillSymbol:Vv(),dataLabels:ie({text:"",visible:!1,font:pe(te.DataLabels),type:te.DataLabels}),startAngle:-90,endAngle:270,dataLabelsCharacterLimit:11,displayCategoryOnDataLabel:!0,displayNumericValueOnDataLabel:!1,displayPercentageOnDataLabel:!0,numericValueFormat:{...Ma(),intlOptions:{minimumFractionDigits:1,maximumFractionDigits:1}},percentValueFormat:{...Ma(),intlOptions:{minimumFractionDigits:1,maximumFractionDigits:1}},ticks:zv()}}function q$(e){let r=e.objectIDField??"ObjectID",i=`${Ie.Count}_${r}_0`.toUpperCase(),t="Series0";return{type:L.GaugeSeries,id:t,name:t,query:{outStatistics:[{statisticType:Ie.Count,onStatisticField:r,outStatisticFieldName:i}]},x:""}}function zr(){return!1}async function M$(e=Nt()){return{version:It,type:L.Chart,id:e,colorMatch:!0,rotated:zr(),orderOptions:{data:{orderType:or.Category,orderBy:vt.Ascending}},title:ie({text:await Mt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:er(),axes:await Or(L.BarSeries),series:[],legend:Yt()}}async function N$(e=Nt()){return{version:It,type:L.Chart,id:e,rotated:zr(),colorMatch:!0,orderOptions:{data:{orderType:or.Category,orderBy:vt.Ascending}},title:ie({text:await Mt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:er(),series:[],legend:Yt(),axes:await Or(L.BoxPlotSeries),standardizeValues:!0,showOutliers:!1}}async function W$(e=Nt()){return{version:It,type:L.Chart,id:e,colorMatch:!0,rotated:zr(),orderOptions:{data:{orderType:or.Category,orderBy:vt.Ascending}},title:ie({text:await Mt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:er(),axes:await Or(L.LineSeries),series:[],legend:Yt()}}async function z$(e=Nt()){return{version:It,type:L.Chart,id:e,colorMatch:!0,orderOptions:{data:{orderType:or.Category,orderBy:vt.Ascending}},title:ie({text:await Mt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:er(),axes:await Or(L.RadarSeries),series:[],legend:Yt()}}async function V$(e=Nt()){return{version:It,type:L.Chart,id:e,colorMatch:!0,orderOptions:{data:{orderType:or.YValue,orderBy:vt.Descending}},title:ie({text:await Mt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:er(),series:[],legend:{...Yt(),displayNumericValue:!1,displayPercentage:!0}}}async function U$(e=Nt()){return{version:It,type:L.Chart,id:e,colorMatch:!0,title:ie({text:await Mt(),visible:!0,font:pe(te.ChartTitle)}),series:[],axes:await Mv()}}async function G$(e=Nt()){return{version:It,type:L.Chart,id:e,colorMatch:!0,title:ie({text:await Mt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:er(),axes:await Or(L.ScatterSeries),series:[Bv()],legend:Yt()}}function Uv(){return{type:L.Overlays,mean:ki(1),median:ki(2),standardDeviation:ki(3),comparisonDistribution:ki(4)}}function Gv(){return{type:Be.SFS,style:sr.Solid,color:ct({colorIndex:0,opacity:at})}}function Hv(){return{type:L.HistogramSeries,id:L.HistogramSeries,name:L.HistogramSeries,visible:!0,dataTooltipVisible:!0,dataTooltipReverseColor:!1,assignToSecondValueAxis:!1,x:"",binCount:32,overlays:Uv(),dataTransformationType:ta.None,fillSymbol:Gv(),dataLabels:ie({text:"",visible:!1,font:pe(te.DataLabels)})}}async function H$(e=Nt()){return{version:It,type:L.Chart,id:e,colorMatch:!0,title:ie({text:await Mt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:er(),axes:await Or(L.HistogramSeries),series:[Hv()],legend:Yt()}}var xa={behaviorAfterLimit:md.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 Qv(e){let r={...xa};return e!==void 0&&Object.keys(xa).forEach(i=>{let t=i;r[t]=e[t]??xa[t]}),r}function Q$(){return{maxScatterCellsPerQuery:500,maxScatterCellsPerQueryForStandard:175,maxElementsPerSelectionQuery:25,maxOIDsPerSelectionQuery:2e3,maxOperandsPerWhereClause:200}}async function K$(e){let r=await ht(),i;switch(e){case Ie.Average:{i=r.statistics.mean;break}case Ie.ContinuousPercentile:{i=r.statistics.median;break}case Ie.Sum:{i=r.statistics.sum;break}case Ie.Minimum:{i=r.statistics.minimum;break}case Ie.Maximum:{i=r.statistics.maximum;break}case Ie.Variance:{i=r.statistics.variance;break}case Ie.DiscretePercentile:{i=r.statistics.discretePercentile;break}case Ie.NoAggregation:{i=r.statistics.noAggregation;break}case Ie.Count:default:{i=r.statistics.count;break}}return i}async function J$(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 Kv(){return Rr.Side}async function Z$(){return(await ht()).notAvailable}var X$=0,Jv="_arcgis_charts_outliers",Zv="_arcgis_charts_z_score",Y$=[210,210,210,255*at],ej=" 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)},Na={exports:{}},Te={},Wa={exports:{}},tr={};function vd(){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 Xv(e,r,i){}function Yv(e,r,i){}var eS=/javascript\s*\:/img;function tS(e,r){return eS.test(r)?"":r}tr.whiteList=vd();tr.getDefaultWhiteList=vd;tr.onAttr=Xv;tr.onIgnoreAttr=Yv;tr.safeAttrValue=tS;var rS={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=rS;function iS(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 d=Wr.trim(e.slice(a,o)),u=d.indexOf(":");if(u!==-1){var p=Wr.trim(d.slice(0,u)),f=Wr.trim(d.slice(u+1));if(p){var m=r(a,n.length,p,f,d);m&&(n+=m+"; ")}}}a=o+1}for(;o<i;o++){var l=e[o];if(l==="/"&&e[o+1]==="*"){var c=e.indexOf("*/",o+2);if(c===-1)break;o=c+1,a=o+1,t=!1}else l==="("?t=!0:l===")"?t=!1:l===";"?t||s():l===`
57
+ `&&s()}return Wr.trim(n)}var aS=iS,Bi=tr,oS=aS;function _l(e){return e==null}function nS(e){var r={};for(var i in e)r[i]=e[i];return r}function Sd(e){e=nS(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}Sd.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=oS(e,function(l,c,d,u,p){var f=t[d],m=!1;if(f===!0?m=f:typeof f=="function"?m=f(u):f instanceof RegExp&&(m=f.test(u)),m!==!0&&(m=!1),u=n(d,u),!!u){var y={position:c,sourcePosition:l,source:p,isWhite:m};if(m){var b=a(d,u,y);return _l(b)?d+":"+u:b}else{var b=o(d,u,y);if(!_l(b))return b}}});return s};var sS=Sd;(function(e,r){var i=tr,t=sS;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]})(Wa,Wa.exports);var Ga=Wa.exports,Ha={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}},lS=Ga.FilterCSS,pS=Ga.getDefaultWhiteList,Gi=Ha;function wd(){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 xd=new lS;function dS(e,r,i){}function cS(e,r,i){}function uS(e,r,i){}function fS(e,r,i){}function Id(e){return e.replace(mS,"&lt;").replace(yS,"&gt;")}function hS(e,r,i,t){if(i=Od(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(kl.lastIndex=0,kl.test(i)||(Bl.lastIndex=0,Bl.test(i)&&(qi.lastIndex=0,qi.test(i))))return"";t!==!1&&(t=t||xd,i=t.process(i))}return i=Ed(i),i}var mS=/</g,yS=/>/g,gS=/"/g,bS=/&quot;/g,vS=/&#([a-zA-Z0-9]*);?/gim,SS=/&colon;?/gim,wS=/&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,kl=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,Bl=/u\s*r\s*l\s*\(.*/gi;function Cd(e){return e.replace(gS,"&quot;")}function Td(e){return e.replace(bS,'"')}function Ad(e){return e.replace(vS,function(r,i){return i[0]==="x"||i[0]==="X"?String.fromCharCode(parseInt(i.substr(1),16)):String.fromCharCode(parseInt(i,10))})}function Pd(e){return e.replace(SS,":").replace(wS," ")}function Fd(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 Od(e){return e=Td(e),e=Ad(e),e=Pd(e),e=Fd(e),e}function Ed(e){return e=Cd(e),e=Id(e),e}function xS(){return""}function IS(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 c="[/removed]",d=l.position+c.length;return a.push([o!==!1?o:l.position,d]),o=!1,c}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(c){s+=n.slice(l,c[0]),l=c[1]}),s+=n.slice(l),s}}}function CS(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 TS(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=wd();Te.getDefaultWhiteList=wd;Te.onTag=dS;Te.onIgnoreTag=cS;Te.onTagAttr=uS;Te.onIgnoreTagAttr=fS;Te.safeAttrValue=hS;Te.escapeHtml=Id;Te.escapeQuote=Cd;Te.unescapeQuote=Td;Te.escapeHtmlEntities=Ad;Te.escapeDangerHtml5Entities=Pd;Te.clearNonPrintableCharacter=Fd;Te.friendlyAttrValue=Od;Te.escapeAttrValue=Ed;Te.onIgnoreTagStripAll=xS;Te.StripTagBody=IS;Te.stripCommentTag=CS;Te.stripBlankChar=TS;Te.cssFilter=xd;Te.getDefaultCSSWhiteList=pS;var Ji={},kt=Ha;function AS(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 PS(e){return e.slice(0,2)==="</"}function FS(e,r,i){var t="",a=0,o=!1,n=!1,s=0,l=e.length,c="",d="";e:for(s=0;s<l;s++){var u=e.charAt(s);if(o===!1){if(u==="<"){o=s;continue}}else if(n===!1){if(u==="<"){t+=i(e.slice(a,s)),o=s,a=s;continue}if(u===">"){t+=i(e.slice(a,o)),d=e.slice(o,s+1),c=AS(d),t+=r(o,t.length,c,d,PS(d)),a=s+1,o=!1;continue}if(u==='"'||u==="'")for(var p=1,f=e.charAt(s-p);f.trim()===""||f==="=";){if(f==="="){n=u;continue e}f=e.charAt(s-++p)}}else if(u===n){n=!1;continue}}return a<e.length&&(t+=i(e.substr(a))),t}var OS=/[^a-zA-Z0-9\\_:.-]/gim;function ES(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(OS,"").toLowerCase(),!(p.length<1)){var m=r(p,f||"");m&&a.push(m)}}for(var l=0;l<n;l++){var c=e.charAt(l),d,u;if(o===!1&&c==="="){o=e.slice(i,l),i=l+1,t=e.charAt(i)==='"'||e.charAt(i)==="'"?i:DS(e,l+1);continue}if(o!==!1&&l===t){if(u=e.indexOf(c,l+1),u===-1)break;d=kt.trim(e.slice(t+1,u)),s(o,d),o=!1,l=u,i=l+1;continue}if(/\s|\n|\t/.test(c))if(e=e.replace(/\s|\n|\t/g," "),o===!1)if(u=LS(e,l),u===-1){d=kt.trim(e.slice(i,l)),s(d),o=!1,i=l+1;continue}else{l=u-1;continue}else if(u=$S(e,l-1),u===-1){d=kt.trim(e.slice(i,l)),d=ql(d),s(o,d),o=!1,i=l+1;continue}else continue}return i<e.length&&(o===!1?s(e.slice(i)):s(o,ql(kt.trim(e.slice(i))))),kt.trim(a.join(" "))}function LS(e,r){for(;r<e.length;r++){var i=e[r];if(i!==" ")return i==="="?r:-1}}function DS(e,r){for(;r<e.length;r++){var i=e[r];if(i!==" ")return i==="'"||i==='"'?r:-1}}function $S(e,r){for(;r>0;r--){var i=e[r];if(i!==" ")return i==="="?r:-1}}function jS(e){return e[0]==='"'&&e[e.length-1]==='"'||e[0]==="'"&&e[e.length-1]==="'"}function ql(e){return jS(e)?e.substr(1,e.length-2):e}Ji.parseTag=FS;Ji.parseAttr=ES;var RS=Ga.FilterCSS,it=Te,Ld=Ji,_S=Ld.parseTag,kS=Ld.parseAttr,zi=Ha;function Mi(e){return e==null}function BS(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 qS(e){var r={};for(var i in e)r[i]=e[i];return r}function MS(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 Dd(e){e=qS(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=MS(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 RS(e.css))}Dd.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,c=i.escapeHtml,d=r.cssFilter;i.stripBlankChar&&(e=it.stripBlankChar(e)),i.allowCommentTag||(e=it.stripCommentTag(e));var u=!1;i.stripIgnoreTagBody&&(u=it.StripTagBody(i.stripIgnoreTagBody,o),o=u.onIgnoreTag);var p=_S(e,function(f,m,y,b,I){var w={sourcePosition:f,position:m,isClosing:I,isWhite:Object.prototype.hasOwnProperty.call(t,y)},F=a(y,b,w);if(!Mi(F))return F;if(w.isWhite){if(w.isClosing)return"</"+y+">";var S=BS(b),C=t[y],E=kS(S.html,function(P,O){var j=zi.indexOf(C,P)!==-1,x=n(y,P,O,j);return Mi(x)?j?(O=l(y,P,O,d),O?P+'="'+O+'"':P):(x=s(y,P,O,j),Mi(x)?void 0:x):x});return b="<"+y,E&&(b+=" "+E),S.closing&&(b+=" /"),b+=">",b}else return F=o(y,b,w),Mi(F)?c(b):F},c);return u&&(p=u.remove(p)),p};var NS=Dd;(function(e,r){var i=Te,t=Ji,a=NS;function o(s,l){var c=new a(l);return c.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)})(Na,Na.exports);var Pr=Na.exports,WS=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},zS=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 c=t.validate(l,i);return c.isValid?s.concat([l]):(a=!0,s.concat([c.sanitized]))},[]);else if(WS(r)){var n=Object.keys(r);o=n.reduce(function(s,l){var c=r[l],d=t.validate(c,i);return d.isValid?s[l]=c:(a=!0,s[l]=d.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"},tj={SelectionByClick:"SelectionByClick",SelectionByRange:"SelectionByRange",ProgrammaticSelection:"ProgrammaticSelection",ClearSelection:"ClearSelection"};function rj(e){return e?.colorMatch??!1}function ij(e){let r=zr();if(e!==void 0){let i=Me(e.series);(i===L.BarSeries||i===L.LineSeries||i===L.ComboLineAndBarSeries||i===L.BoxPlotSeries)&&(r=e.rotated??zr())}return r}function aj(e){return e?.map(r=>r.type)??[]}function VS(e){let r=e?.stackedType;if(r===void 0&&e!==void 0){let i=Me(e.series);(i===L.BarSeries||i===L.LineSeries||i===L.ComboLineAndBarSeries||i===L.RadarSeries)&&(r=Kv())}return r}function US(e){let r=e;return r=r.replace(/'/gu,"''"),r=r.replace(/[/\\"|[\]\\]/gu,"\\$&"),r}function GS(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 HS(e){let r=e,i="";e.startsWith("'")&&e.endsWith("'")&&(r=e.slice(1,-1),i="'"),r=r.replace(/'/gu,"''");let t="";return GS(r)&&(t="N"),`${t}${i}${r}${i}`}function $d(e){let{value:r,keepSurroundingQuotes:i,escape:t}=e,a=r?.trim();if(!ut(a)){let o="";a.startsWith("'")&&a.endsWith("'")&&(a=a.slice(1,-1),i&&(o="'")),t!==!1&&(a=US(a)),a=`${o}${a}${o}`}return a}function oj(e){let{count:r,seriesCount:i,chartType:t,chartLimits:a}=e,{behaviorAfterLimit:o}=a??{},n=!0;if(o!==md.RenderUpToTheLimit){let{maxBarChartSeriesCount:s,maxBarUniqueSeriesCountTotal:l,maxBarTwoSeriesCountPerSeries:c,maxBarTwoSeriesCountTotal:d,maxBarThreePlusSeriesCountPerSeries:u,maxBarThreePlusSeriesCountTotal:p,maxLineChartSeriesCount:f,maxLineUniqueSeriesCountTotal:m,maxLineTwoSeriesCountPerSeries:y,maxLineTwoSeriesCountTotal:b,maxLineThreePlusSeriesCountPerSeries:I,maxLineThreePlusSeriesCountTotal:w,maxPieChartSliceCountTotal:F,maxGaugeByFeaturesLimit:S,maxBoxPlotSeriesCount:C,maxBoxUniqueSeriesCountTotal:E,maxBoxTwoSeriesCountTotal:P,maxBoxTwoSeriesCountPerSeries:O,maxBoxThreePlusSeriesCountTotal:j,maxBoxThreePlusSeriesCountPerSeries:x}=Qv(a);switch(t){case L.BarSeries:case L.ComboLineAndBarSeries:{let T=r/i;i<=s?i===0?n=!0:i===1?n=r<=l:i===2?n=r<=d&&T<=c:i>2&&(n=r<=p&&T<=u):n=!1}break;case L.LineSeries:case L.RadarSeries:{let T=r/i;i<=f?i===0?n=!0:i===1?n=r<=m:i===2?n=r<=b&&T<=y:i>2&&(n=r<=w&&T<=I):n=!1}break;case L.PieSeries:n=r<=F;break;case L.BoxPlotSeries:{let T=r/i;i<=C?i===0?n=!0:i===1?n=r<=E:i===2?n=r<=P&&T<=O:i>2&&(n=r<=j&&T<=x):n=!1}break;case L.GaugeSeries:n=r<=S;break}}return n}function nj(e=[],r){let i=e.find(t=>t.name===r)?.alias;return i!==""?i??r:r}function sj(e=[],r){let i=e.find(t=>t.alias===r)?.name;return i!==""?i??r:r}function lj(e){let r=!1;switch(Me(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 QS(e){let r=!0;return Me(e.series)===L.ScatterSeries&&(r=e.series.length===1),r}function KS(e){let r=!0;return Me(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(ta).includes(e.series[0].dataTransformationType))),r}function JS(e){let r=!0;return Me(e.series)===L.PieSeries&&(r=e.series.length<=1),r}function pj(e,r){let i=Me(r?.series),t=e.includes(i);if(t&&r!==void 0)switch(i){case L.HistogramSeries:t=KS(r);break;case L.ScatterSeries:t=QS(r);break;case L.PieSeries:t=JS(r);break}return t}function ut(e){return e==null||typeof e=="string"&&e.trim()===""}function ZS(e,r){let i=r.find(t=>t in e);return{isInItem:i!==void 0,expr:i}}function dj(e){return ZS(e,Fv)}function cj(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 uj(e){let r;switch(e){case lt.Mean:r=1;break;case lt.Median:r=2;break;case lt.StdDev:r=3;break;case lt.Normal:default:r=0;break}return r}function fj(e,r){if(r!==void 0){let{seriesId:i,overlayType:t,visible:a}=e.detail,o;switch(t){case lt.Mean:r.series[0].type===L.HistogramSeries&&(o=r.series[0].overlays?.mean);break;case lt.Median:r.series[0].type===L.HistogramSeries&&(o=r.series[0].overlays?.median);break;case lt.StdDev:r.series[0].type===L.HistogramSeries&&(o=r.series[0].overlays?.standardDeviation);break;case lt.Normal:r.series[0].type===L.HistogramSeries&&(o=r.series[0].overlays?.comparisonDistribution);break;case lt.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 hj(e){return new zS().sanitize(e)}function mj(e){return e!=null&&!Number.isNaN(e)&&Number.isFinite(e)}function yj(e,r){let i;return r!==void 0&&(i={...r,rotated:e}),i}function gj(e,r){let i={fieldToSort:""};if(!ut(e)){let t=e.trim(),a=t.split(" ").at(-1)?.toUpperCase();a===vt.Ascending||a===vt.Descending?i={fieldToSort:t.substring(0,t.lastIndexOf(" ")),orderBy:a}:(i={fieldToSort:t},r!==!1&&(i.orderBy=vt.Ascending))}return i}function bj(e){return e===V.BarAndLineSplitBy||e===V.BarAndLineSplitByNoAggregation||e===V.BoxPlotMonoFieldAndSplitBy||e===V.BoxPlotMultiFieldsAndSplitBy||e===V.BoxPlotMonoFieldAndCategoryAndSplitBy}function vj(e){return e?.selectionOIDs===void 0||e.selectionOIDs.length===0}function Sj(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,c)=>{let d=t(l);a.set(d,c)});let o=[],n=[];r.forEach((l,c)=>{let d=t(l);a.has(d)&&(o.push(c),n.push(l))}),n.sort((l,c)=>{let d=t(l),u=t(c);return a.get(d)-a.get(u)});let s=[...r];return o.forEach((l,c)=>{s[l]=n[c]}),s}var Jt=["1.0.0","1.0.1","2.0.0","3.0.0","3.1.0","3.2.0","3.3.0","3.4.0","3.5.0","3.6.0","3.7.0","3.8.0","3.9.0","3.9.1","3.9.2","3.10.0","3.11.0","4.0.0","4.0.1","5.0.0","6.0.0","6.1.0","6.2.0","6.2.1","6.3.0","6.4.0","7.0.0","7.1.0","7.1.1","7.2.0","7.2.1","7.3.1","7.4.0","7.4.1","7.5.0","7.5.1","7.6.0","8.0.0","8.0.1","9.0.0","9.1.0","9.2.0","9.3.0","9.4.0","9.5.0","9.6.0","9.6.1","9.7.0","10.0.0","11.0.0","12.0.0","13.0.0","14.0.0","14.0.1","15.0.0","16.0.0","16.1.0","16.1.1","17.0.0","17.1.0","17.2.0","17.2.1","18.0.0","18.1.0","18.1.1","18.1.2","18.1.3","19.0.0","20.0.0","20.1.0","20.2.0","21.0.0","21.1.0","22.0.0","23.0.0","23.1.0","23.2.0"],XS="1.0.0",YS="unrecognized.version",ew=[L.LineSeries,L.BarSeries,L.ComboLineAndBarSeries,L.RadarSeries];function Ia(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 tw(e){return e!==void 0?/^([1-9]\d*|0)(\.(([1-9]\d*)|0)){2}$/u.test(e):!1}function rw(e){let r=Tt.Same,i=[];if(tw(e)&&e!==void 0){Jt.sort(Ia);let t=Ia(e,Jt[Jt.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=Jt.length-2;a>=0;a-=1)if(Ia(e,Jt[a])>=0){i=Jt.slice(a,Jt.length);break}i.length===0&&i.push(XS)}}else r=Tt.Unrecognized,i.push(YS);return{versionStatus:r,versions:i}}function iw(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 wj(e,r){let i=e!==null?e.toString():null,t=r!=null?r.toString():null;return t!==null&&t!==i?Be.SFS:Be.SLS}function Qa(e,r){let i="";return e!==void 0&&e.includes("=")&&(i=r!==!1?$d({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=HS(o)):o=$d({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=Qa(e,!1),t=Hr({where:e,normalize:!1});r=i===`${t}`}return r}function xj(e){let{where:r,normalize:i,escape:t}=e,a=i===void 0?!0:i,o=Qa(r),n=Hr({where:r,normalize:a,keepSurroundingQuotes:!0,escape:t}),s=r;return o!==""&&n!==""&&(s=`${o}=${n}`),s}function aw(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 ow(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 nw(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 Ua: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 Ct(e){let r=V.NonSpecific;if(e?.[0]!==void 0)switch(Me(e)){case L.PieSeries:r=aw(e);break;case L.RadarSeries:case L.BarSeries:case L.LineSeries:case L.ComboLineAndBarSeries:r=ow(e);break;case L.BoxPlotSeries:r=nw(e);break}return r}function Ij(e){let{seriesConfig:r,xAxisValueFormatType:i,setTimeBinningInfoWhenNotProvided:t}=e,a=!1;if(sw(r)&&r.binTemporalData!==!1&&i===L.DateAxisFormat){let o=Ct([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 sw(e){return ew.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 lw(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 pw(e){return e.subType===bo.FeatureGauge}function Cj(e){let r;return e!==void 0&&("bins"in e?r=e.bins:"dataItems"in e&&(r=e.dataItems)),r}function dw(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,c=lw(i)[r];return n===!0&&(r===ye.Min||r===ye.Max)&&(c=`${c}${Jv}`),s===!0&&(dw(t)||r===ye.Outlier)&&(c=`${c}${Zv}`),(o===void 0||`${o}`.trim()==="")&&(l=Hr({where:a,normalize:!0,escape:!1})),l!==void 0&&`${l}`.trim()!==""&&(c=`${l}${c!==""?`_${c}`:""}`),c}function Ca(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 cw(e){let{configSeries:r,boxPlotDataItem:i,yList:t,showOutliers:a}=e,o=Ct(r),n=!1;switch(o){case V.BoxPlotMonoField:case V.BoxPlotMultiFields:case V.BoxPlotMonoFieldAndCategory:n=Ca({dataItem:i,showOutliers:a});break;case V.BoxPlotMultiFieldsAndCategory:n=t.some(s=>Ca({dataItem:i,y:s,showOutliers:a}));break;case V.BoxPlotMonoFieldAndSplitBy:case V.BoxPlotMultiFieldsAndSplitBy:case V.BoxPlotMonoFieldAndCategoryAndSplitBy:n=r.some(s=>Ca({dataItem:i,splitBy:s.query?.where,showOutliers:a}));break;default:n=!1;break}return n}function jd(e){return e.map(r=>r.id).filter(r=>r!=="undefined")}function Qi(e,r){let i=[],t=r??jd(e),a=Ct(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 uw(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 Zt(e,r){return e===null&&r===!0||Number.isFinite(e)}function fw(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]))&&Zt(r[t],a)}function Tj(e){let{chartConfig:r,nullAsValid:i=!1,dataSet:t}=e,a=!0;if(r!==void 0){let o=Me(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 c=s;l=Zt(c.minValue,i)&&Zt(c.maxValue,i)}break;case L.ScatterSeries:{let c=s,{x:d,y:u}=r.series[0];l=Zt(c[d],i)&&Zt(c[u],i)}break;case L.ComboLineAndBarSeries:case L.RadarSeries:case L.LineSeries:case L.BarSeries:{let c=s,{x:d}=r.series[0];l=n.some(u=>fw({dataItem:c,x:d,y:u,nullAsValid:i}));break}case L.BoxPlotSeries:{let c=r.series,{showOutliers:d}=r;l=cw({configSeries:c,boxPlotDataItem:s,yList:n,showOutliers:d});break}case L.PieSeries:{let c=s,{x:d,y:u}=r.series[0];Ct(r.series)===V.PieFromFields&&(d=ei,u=oa);let p=c[u];l=c[d]!==void 0&&c[d]!==null&&!da(p)&&Zt(Number(p),i)}break;case L.GaugeSeries:{let{x:c}=r.series[0];l=Zt(s[c],i)}break}return l})}}return a}function hw(e,r){let i=new Map,t=r??jd(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 mw(e){let{seriesConfig:r,filteredSeriesIds:i,filteredData:t}=e,a=hw(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,c)=>{a.forEach(d=>{if(o){let u=[],p=[];for(let f=0;f<d.length;f+=1){let m=l[d[f]];m<0?p[c]=(p[c]??0)+m:u[c]=(u[c]??0)+m}u=u.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,u.length>0?u[u.length-1]:p[p.length-1]),s=Math.min(s,p.length>0?p[0]:u[0])}else{let u=0;for(let p=0;p<d.length;p+=1){let f=l[d[p]];u+=f,n=Math.max(n,u),s=Math.min(s,u)}}})}),{stackedMinY:s,stackedMaxY:n}}function yw(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 Aj(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:c}=l[0],d=n.filter(p=>p[c]!==null);[t,a]=Nr(d,p=>p[c]),o.axes?.[1]?.valueFormat.type===L.DateAxisFormat&&t!==void 0&&a!==void 0&&([t,a]=[new Date(t).valueOf(),new Date(a).valueOf()]);let u=Me(o.series);if(u===L.HistogramSeries&&n.length>0){let p=n[0]?.[Dl.Start],f=n[n.length-1]?.[Dl.End];t=typeof p=="number"?p:t,a=typeof f=="number"?f:a}else if(u===L.BoxPlotSeries){r=Number.MAX_SAFE_INTEGER,i=Number.MIN_SAFE_INTEGER;let p=Qi(l,s),f=Ct(l),m="standardizeValues"in o?o.standardizeValues===!0:void 0,y=o.series.map(b=>b.visible!==!1?Hr({where:b.query?.where}):"");y.length===0&&y.push(" ");for(let b=0;b<d.length;b+=1)for(let I=0;I<p.length;I+=1){let w=f===V.BoxPlotMultiFieldsAndCategory?p[I]:void 0;for(let F=0;F<y.length;F+=1){let{min:S,max:C}=yw({y:w,splitByValue:y[F],chartSubType:f,showOutliers:!1,standardizeValues:m,dataItem:d[b]});S!=null&&S<r&&(r=S),C!=null&&C>i&&(i=C)}}}else switch(VS(o)){case Rr.Stacked100:{r=Number.NaN,i=Number.NaN;break}case Rr.Stacked:{let{stackedMinY:p,stackedMaxY:f}=mw({seriesConfig:l,filteredData:d,filteredSeriesIds:s});r=p,i=f;break}case Rr.Side:default:{r=Number.MAX_SAFE_INTEGER,i=Number.MIN_SAFE_INTEGER;let p=Qi(l,s);for(let f=0;f<p.length;f+=1){let m=p[f],[y,b]=Nr(d,I=>I[m]);y!==void 0&&y<r&&(r=y),b!==void 0&&b>i&&(i=b)}break}}}return{minY:r,maxY:i,minX:t,maxX:a}}async function ft(e=hd().locale){let r=await import("./5XKY7GQS.js");switch(e){case q.Arabic:r=await import("./VGU5FTXM.js");break;case q.Bosnian:r=await import("./JEYVBEXU.js");break;case q.Bulgarian:r=await import("./XWMK6XE4.js");break;case q.Catalan:r=await import("./VKL7RQAJ.js");break;case q.Czech:r=await import("./CYKZYU55.js");break;case q.Danish:r=await import("./ZPLRSEQ6.js");break;case q.German:r=await import("./YBPXIUCN.js");break;case q.Greek:r=await import("./GR5PJSLD.js");break;case q.EnglishUSA:r=await import("./BUWD7R2X.js");break;case q.Spanish:r=await import("./ZJ2RH22E.js");break;case q.Estonian:r=await import("./JIBYX3E4.js");break;case q.Finnish:r=await import("./7AOQPE6P.js");break;case q.French:r=await import("./W3JTPPRQ.js");break;case q.Hebrew:r=await import("./J7GIXIYG.js");break;case q.Croatian:r=await import("./5ZS2ZV5O.js");break;case q.Hungarian:r=await import("./LNCPQUBR.js");break;case q.Indonesian:r=await import("./TAN3VTDI.js");break;case q.Italian:r=await import("./SGP3LQTW.js");break;case q.Japanese:r=await import("./TGL3SGYN.js");break;case q.Korean:r=await import("./D36TBEHC.js");break;case q.Lithuanian:r=await import("./6KR5RH4A.js");break;case q.Latvian:r=await import("./JEHWISJL.js");break;case q.NorwegianBokml:r=await import("./PJUP7SGT.js");break;case q.Dutch:r=await import("./HILHKNMS.js");break;case q.Polish:r=await import("./MQJE6G5E.js");break;case q.PortugueseBrazil:r=await import("./RFWXW7GM.js");break;case q.PortuguesePortugal:r=await import("./OPK4EVSJ.js");break;case q.Romanian:r=await import("./ZL22PGP7.js");break;case q.Russian:r=await import("./M2H4NANF.js");break;case q.Serbian:r=await import("./EANEPZ53.js");break;case q.Slovak:r=await import("./SUGZZ2YG.js");break;case q.Slovenian:r=await import("./QJDHANS3.js");break;case q.Swedish:r=await import("./AALS2EW3.js");break;case q.Thai:r=await import("./KL4MRSEZ.js");break;case q.Turkish:r=await import("./RMMPKNOK.js");break;case q.Ukrainian:r=await import("./CHKUJHZS.js");break;case q.Vietnamese:r=await import("./4BRDQ7PI.js");break;case q.ChineseChina:r=await import("./4JGIMWKK.js");break;case q.ChineseHongKong:r=await import("./5JQK4GBX.js");break;case q.ChineseTaiwan:r=await import("./TZFCIXS6.js");break;case q.English:}return r}var Bt=class extends Error{constructor(r,i,t){super(i),this.name=r,this.details=t}},qt={Default:"defaultError",LayerLoadFailure:"layerLoadFailure",QueryFeaturesError:"queryFeaturesError",ChartDisposed:"ChartDisposeError",LayerFieldsNotFound:"layerFieldsNotFound"};function Pj(e){return e!==void 0&&(!("url"in e)||!e.url)}function Ka(e){return e!==void 0&&"layer"in e}function gw(e){return e!==void 0&&"type"in e&&e.type==="feature"}function bw(e){return e!==void 0&&"type"in e&&e.type==="subtype-group"}function Ja(e){return e!==void 0&&"type"in e&&e.type==="subtype-sublayer"}function Fj(e){return gw(e)||Ja(e)}function Re(e){return Ja(e)?e.parent:e}function Rd(e){return e.capabilities?.query?.supportsDistance||Re(e).sourceJSON?.advancedQueryCapabilities?.supportsQueryWithDistance===!0}function vw(e,r){return e.capabilities?.queryAttributeBins?.supportsDate===!0&&(ut(r)||e.capabilities?.queryAttributeBins?.supportsStackBy)}function Oj(e){let r=!1,i=Re(qe(e)).sourceJSON;if(i){let t=i.queryBinsCapabilities?.supportsFixedIntervalBin,a=i.queryBinsCapabilities?.supportedStatisticTypes,o=[Ie.Maximum,Ie.Count].every(n=>a?.includes(n.toUpperCase())||a?.includes(n.toLowerCase()));r=t&&o}return r}function Ej(e){let r;return Ka(e)?r=e.layer:r=e,r}function qe(e){let r;return Ka(e)?r=e.layer:r=e,r}function Sw(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 Lj(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 ww(e){let r;switch(e){case Ut.Feet:r="esriSRUnit_Foot";break;case Ut.Miles:r="esriSRUnit_StatuteMile";break;case Ut.NauticalMiles:r="esriSRUnit_NauticalMile";break;case Ut.USNauticalMiles:r="esriSRUnit_USNauticalMile";break;case Ut.Meters:r="esriSRUnit_Meter";break;case Ut.Kilometers:r="esriSRUnit_Kilometer";break}return r}async function Dj(e){let{queryObject:r,queryConfig:i,outputFormat:t,dataFormat:a,outAnalytics:o}=e,{where:n,geometry:s,distance:l,units:c,timeExtent:d}=i,u,p=qe(r),f=Re(p),m={query:{where:Ur([n,f.definitionExpression])}},y=Za(s)?.extent?.toJSON();if(y!==void 0){let I=ww(c),{xmin:w,ymin:F,xmax:S,ymax:C}=y;m.query={...m.query,geometryType:"esriGeometryEnvelope",geometry:`${w},${F},${S},${C}`,distance:l,units:I,inSR:s?.spatialReference?.wkid}}d&&(m.query.time=`${d[0]},${d[1]}`);let b=`${f.url}/${f.layerId}/queryAnalytic?f=${t}&dataFormat=${a}&outAnalytics=${o}`;try{u=(await qa(b,m)).data?.features?.[0]?.attributes}catch(I){let w=await ft();throw new Bt(qt.QueryFeaturesError,w.queryError,I)}return u}function xw(e,r){return{lowerBoundaryAlias:`charts_lower_boundary_${e}`,upperBoundaryAlias:`charts_upper_boundary_${e}`,stackAlias:`charts_stack_alias_${r}`}}async function $j(e){let{queryObject:r,queryConfig:i,xStep:t,xMin:a,xMax:o,x:n,y:s,yStep:l,errorStrings:c}=e,d;if(r&&"queryAttributeBins"in r&&Number.isFinite(t)&&Number.isFinite(l)&&Number.isFinite(a)&&Number.isFinite(o)&&t>0&&l>0){let u=Dw({queryObject:r,queryConfig:i,xStep:t,xMin:a,xMax:o,x:n,y:s,yStep:l});try{d=await r.queryAttributeBins(u)}catch(p){throw new Bt(qt.QueryFeaturesError,c.errors.queryError,p)}}return d}async function jj(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:c,gdbVersion:d,timeExtent:u,geometry:p,distance:f,units:m}=r,y=Fw(u),b=Za(p),I=Re(n),w=Ur([c,I.definitionExpression]),F={returnDistinctValues:!0,outFields:o===!0||a===V.PieNoAggregation||a===V.BarAndLineNoAggregation||a===V.BarAndLineSplitByNoAggregation?[l]:[i],where:w,gdbVersion:d??I.gdbVersion,timeExtent:y??I.timeExtent,geometry:b};kd(F)&&(F.cacheHint=!0),F.geometry!==void 0&&Rd(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 Rj(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(d=>{let{statisticType:u,onStatisticField:p,outStatisticFieldName:f}=d;return{statisticType:u,onStatisticField:p,outStatisticFieldName:f?.toUpperCase()}});i.outStatistics=n,delete i.num,delete i.orderByFields;let s=qd({queryObject:r,queryConfig:i}),l;try{l=await r.queryFeatures(s,{signal:t!==void 0?Vr.get(t)?.signal:void 0})}catch(d){if(!Va.isAbortError(d)){let u=await ft();throw new Bt(qt.QueryFeaturesError,u.queryError,d)}}let c=l?.features?.[0]?.attributes;c!==void 0&&a.forEach(d=>{let{outStatisticFieldName:u}=d;if(u!==void 0){let p=c[u.toLowerCase()]??c[u.toUpperCase()]??c[u];p!==void 0&&o.set(u,p)}})}return o}async function _d(e){let{queryObject:r,queryConfig:i,returnUniqueIdsOnly:t,abortKey:a}=e,o=[],n=qe(r);if(r!==void 0){let s=$w(n),l=qd({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(c=>c.attributes[n.objectIdField])):o=(await r.queryFeatures(l,{signal:a!==void 0?Vr.get(a)?.signal:void 0})).features}catch(c){if(!Va.isAbortError(c)){let d=await ft();throw new Bt(qt.QueryFeaturesError,d.queryError,c)}}}return o}async function Iw(e){let r=[],{featureCount:i,maxRecords:t,queryConfig:a}=e,o=[],n=0,s=a?.start??0;for(;n<Xt.maxParallelRequests&&s<i;){let l={...e};l.queryConfig={...a,start:s,num:Math.min(t,i-s)},r.push(_d(l)),s+=t,n+=1}return o=(await Promise.all(r)).flat(),o}async function Cw(e){let{queryObject:r,queryConfig:i,returnUniqueIdsOnly:t,featureCount:a,noBatch:o,abortKey:n}=e,s=[],l=qe(r);if(r!==void 0){let c=a??1,d=Bd(l);if(o!==!0&&c>d&&l.capabilities?.query.supportsPagination){let u=0,p=0,f=Math.ceil(c/d),m=Math.ceil(f/Xt.maxParallelRequests),y=[];for(;p<m;){u=p*Xt.maxParallelRequests*d;let b=Iw({queryConfig:{...i,start:u},queryObject:r,maxRecords:d,featureCount:c,returnUniqueIdsOnly:t,abortKey:n});y.push(b),p+=1}s=(await Promise.all(y)).flat()}else(Number.isNaN(c)||c>=0)&&(s=await _d({queryObject:r,queryConfig:i,returnUniqueIdsOnly:t,abortKey:n}))}return s}async function _j(e){let{queryObject:r,queryConfig:i,uniqueFeature:t,abortKey:a}=e,o={...i,returnDistinctValues:!0};return await Cw({queryObject:r,abortKey:a,queryConfig:o,returnUniqueIdsOnly:!0,featureCount:t===!0?1:void 0})}function kj(e){if(e!==void 0){let r=Vr.get(e);r!==void 0&&r.abort(),Vr.set(e,new AbortController)}}function Tw(e){return{lowerBoundaryAlias:`charts_lower_boundary_${e}`,upperBoundaryAlias:`charts_upper_boundary_${e}`}}async function Bj(e){let{queryObject:r,dateField:i,splitByField:t,queryConfig:a,temporalBinning:o}=e,n=[],s;if(o){let{unit:l}=o;try{if(l){let c=Re(qe(r));if(s=vw(c,t),s&&r&&"queryAttributeBins"in r){let d=await Lw({queryObject:r,queryConfig:a,temporalBinning:o,dateField:i,splitByField:t});n=(await r.queryAttributeBins(d)).features}}}catch(c){let d=await ft();throw new Bt(qt.QueryFeaturesError,d.queryError,c)}}if(s===!1){let l=await ft();throw new Bt(qt.QueryFeaturesError,l.queryBinsNotSupported,l.queryBinsNotSupported)}return n}function kd(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 Bd(e){let r=Re(e)?.sourceJSON,i=r?.maxRecordCount??Xt.maxRecords;return r?.advancedQueryCapabilities?.supportsMaxRecordCountFactor&&r?.maxRecordCount!==void 0&&(i=r.maxRecordCount*Xt.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&&(ut(i)?i=`(${a})`:i?.includes(`(${a})`)||(i=`${i} ${r??"AND"} (${a})`))}),i??"1=1"}function Aw(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 Pw(e){let{queryObject:r,defaultGeometry:i,ignoreViewExtent:t}=e,a=i;if(!t&&Ka(r)){let o=r.view.extent,{xmin:n,xmax:s,ymin:l,ymax:c,zmin:d,zmax:u,spatialReference:p}=o;a={xmin:n,ymin:l,zmin:d,xmax:s,ymax:c,zmax:u,spatialReference:p}}return a}function Fw(e){let r;return e!==void 0&&(r=new fd({start:new Date(e[0]),end:new Date(e[1])})),r}function Za(e){let r;return e!==void 0&&(r=za.fromJSON(e)),r}function Ow(e){return e===void 0?["*"]:Array.from(new Set(e))}function Xa(e){let{queryObject:r,queryConfig:i,queryType:t}=e,{where:a,outStatistics:o,geometry:n,distance:s,units:l,timeExtent:c,returnDistinctValues:d}=i??{},u=t==="Query"?new Iv({}):new xv({}),p=qe(r),f=Re(p),m=[a,f.definitionExpression];if(u.where=Ur(m),u.returnDistinctValues=d??!1,o!==void 0){let I=Sw(p);u.outStatistics=o.filter(w=>w.statisticType!==Ie.EnvelopeAggregate||I).map(w=>Cv.fromJSON(w))}let y=Za(n);y!==void 0&&(u.geometry=y,i?.spatialRelationship&&(u.spatialRelationship=i.spatialRelationship),Rd(p)&&(s!==void 0&&(u.distance=s),l!==void 0&&(u.units=l)));let b;return c&&(b=new fd({start:c?.[0],end:c?.[1]})),b!==void 0?u.timeExtent=b:f.timeExtent!==void 0&&(u.timeExtent=f.timeExtent),kd(u)&&(u.cacheHint=!0),u}function Ew(e){let r;switch(e){case ar.Start:r="first";break;case ar.End:r="last";break}return r}async function Lw(e){let{queryObject:r,queryConfig:i,temporalBinning:t,dateField:a,splitByField:o}=e,n=qe(r),s=(await Zi(r)).find(F=>F.name===a)?.type,l=Xa({queryObject:r,queryConfig:i,queryType:"AttributeBinsQuery"}),{type:c,unit:d,size:u,trimIncompleteTimeInterval:p,timeAggregationType:f}=t,{start:m,end:y,offset:b,outTimeZone:I}=c===ra.CalendarBased?t:{},w=Tw(a);if(l.lowerBoundaryAlias=w.lowerBoundaryAlias,l.upperBoundaryAlias=w.upperBoundaryAlias,s!==ke.DateOnly&&(l.outTimeZone=I??Intl.DateTimeFormat().resolvedOptions().timeZone),l.binParameters={type:"date",field:a,interval:{unit:d,value:u},start:m,end:y,offset:b?{unit:b.unit,value:b.size}:null},l.binParameters.type==="date"&&(n.capabilities?.queryAttributeBins?.supportsSnapToData&&(l.binParameters.snapToData=Ew(f)),n.capabilities?.queryAttributeBins?.supportsReturnFullIntervalBin&&(l.binParameters.returnFullIntervalBin=p===!1)),!ut(o)){let F=Re(n).fields.find(S=>S.name===o)?.type;(!F||F==="string"||F==="integer"||F==="small-integer"||F==="big-integer"||F==="double")&&(l.binParameters.stackBy={type:"field",value:o,valueType:F==="string"?"string":"integer"})}return l}function Dw(e){let{queryObject:r,queryConfig:i,xStep:t,xMin:a,xMax:o,x:n,y:s,yStep:l}=e,c=Xa({queryObject:r,queryConfig:i,queryType:"AttributeBinsQuery"}),d=xw(n,s);return c.lowerBoundaryAlias=d.lowerBoundaryAlias,c.upperBoundaryAlias=d.upperBoundaryAlias,c.binParameters={type:"fixed-interval",field:n,interval:t,start:a,end:o,stackBy:{value:`FLOOR(${s} / ${l})`,type:"expression",alias:d.stackAlias,valueType:"integer"}},c}function qd(e){let{queryObject:r,queryConfig:i,maxRecordCountFactor:t}=e,{groupByFieldsForStatistics:a,orderByFields:o,gdbVersion:n,start:s,num:l,outFields:c}=i??{},d=Xa({queryObject:r,queryConfig:i,queryType:"Query"});d.returnGeometry=!1;let u=qe(r),p=Re(u);return d.outFields=Ow(c),d.groupByFieldsForStatistics=a??d.groupByFieldsForStatistics,d.orderByFields=o??[],d.objectIds=i?.objectIds,t!==void 0&&(d.maxRecordCountFactor=t),n!==void 0&&n!==""?d.gdbVersion=n:p.gdbVersion!==void 0&&p.gdbVersion!==""&&(d.gdbVersion=p.gdbVersion),l!==void 0&&(d.num=l),s!==void 0&&(d.start=s,d.num=d.num??Bd(u)),d}function $w(e){return Re(e)?.sourceJSON?.advancedQueryCapabilities?.supportsMaxRecordCountFactor===!0?Xt.maxRecordCountFactor:void 0}function qj(e){let r,i,t;return e!==void 0&&(r=e.type,(r===Yr.UniqueValue||r===Yr.ClassBreaks)&&(i=e.field??void 0,r===Yr.ClassBreaks&&(t=e.normalizationField??void 0))),{rendererType:r,rendererField:i,rendererNormalizationField:t}}var jw=(0,ud.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=vv.fromJSON(i).features,t?.fields!==void 0&&(a.fields=t.fields.map(n=>bv.fromJSON(n))),t?.objectIdField!==void 0&&(a.objectIdField=t.objectIdField),t?.geometryType!==void 0){let n=za.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=cd.fromJSON(n.renderer))}let o=new Sv(a);return await o.load(),o});async function Mj(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=c=>"highlight"in c,l=await i.whenLayerView(n);s(l)&&(a=l)}else a=r}else"iLayer"in t&&t.iLayer&&(a=await jw(t.iLayer));return a}async function Zi(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 Ya(e,r=[]){return r.find(i=>i.name===e)}function Nj(e){return e.find(r=>r.type===ke.OID)?.name??""}function Md(e){return[ke.Single,ke.Double,ke.SmallInteger,ke.Integer,ke.BigInteger].includes(e.type)}function Wj(e){return e.type===ke.Date}function zj(e){return[ke.SmallInteger,ke.Integer,ke.BigInteger].includes(e.type)}function Vj(e){return e.filter(r=>r.type===ke.Date||r.type===ke.DateOnly||r.type===ke.TimestampOffset).map(r=>r.name)}function Uj(e){return e.filter(r=>Md(r)).map(r=>r.name)}function Rw(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 Ml(e,r){let i=[],t=bw(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??{}),c=[],d=l?.filter(([u,p])=>p?.type==="coded-value")?.map(([u,p])=>{let f={fieldName:u,name:o,codedValues:c};if(p&&"codedValues"in p){let m=p.codedValues.map(({code:y,name:b})=>({name:b,code:y}));f={fieldName:u,name:p.name,codedValues:m}}return f});i.push({id:s??"",name:o,domains:d})}),i.length===0?void 0:i}function Gj(e){let r;if(e!==void 0){let i=qe(e);if(!Ja(i)&&!ut(i?.typeIdField)){let t=Ml(i,"types");t!==void 0&&(r={typeIdField:i.typeIdField??void 0,types:t})}if(!ut(i?.subtypeField)){let t=Re(i),a=Ml(t,"subtypes");a!==void 0&&(r={...r,subtypeField:t.subtypeField??void 0,subtypes:a})}}return r}function Hj(e){let{fieldName:r,fieldValueToMatch:i,subtypeInfo:t,fieldList:a}=e,o;if((typeof i!="string"||!ut(i))&&!ut(r)&&(o=Rw({subtypeInfo:t,fieldName:r,fieldValueToMatch:i}),o===void 0)){let n=Ya(r,a);if(t?.types!==void 0){let s=t?.types;for(let l of s){let c=l.domains?.filter(d=>d.fieldName===n?.name)??[];for(let d of c)if(o=d?.codedValues?.find(u=>`${u.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 Qj(e){let r=[];return!Re(e).isTable&&e.fieldsIndex&&(r=await dd.getRendererFields(e.renderer,e.fieldsIndex)),r}function _w(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 Kj(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=_w(t);try{let n=(await qa(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 qa(s,{authMode:"auto",query:{f:"json"}})).data,c=new wv({sourceJSON:l});await c.load(),r=c?.sourceJSON?.subscriptionInfo?.dataStoreLevel===void 0}}catch{}}return r}async function kw(e){let{queryObject:r,fieldToMatch:i,returnUndefinedIfNotFound:t}=e,a=await Zi(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 Jj(e){let{fieldsList:r,queryObject:i,returnUndefinedIfNotFound:t}=e,a=r;return a!==void 0&&(a=await Promise.all(a.map(async o=>await kw({queryObject:i,fieldToMatch:o,returnUndefinedIfNotFound:t})))),a}function Zj(e){let{queryObject:r,chartConfig:i,runtimeDataFilters:t,ignoreViewExtent:a}=e,{series:o,dataFilters:n}=i,{where:s,gdbVersion:l,timeExtent:c,geometry:d,distance:u,units:p,objectIds:f,spatialRelationship:m}=n??{},{where:y,gdbVersion:b,timeExtent:I,geometry:w,distance:F,units:S,objectIds:C,spatialRelationship:E}=t??{},P=o[0],{query:O}=P,{where:j}=O??{},x=Ct(o),T={...O};return T.where=Ur([s,y]),x!==V.BarAndLineSplitBy&&x!==V.BoxPlotMonoFieldAndSplitBy&&x!==V.BoxPlotMonoFieldAndCategoryAndSplitBy&&x!==V.BoxPlotMultiFieldsAndSplitBy&&x!==V.BarAndLineSplitByNoAggregation&&(T.where=Ur([T.where,j])),i.orderOptions?.orderByFields!==void 0&&(T.orderByFields=i.orderOptions.orderByFields),T.gdbVersion=b??l,T.timeExtent=Aw(r,I??c),T.geometry=Pw({queryObject:r,defaultGeometry:w??d,ignoreViewExtent:a}),T.distance=F??u,T.units=S??p,T.objectIds=C??f,T.spatialRelationship=E??m,O?.outStatistics?.[0]?.statisticType===Ie.Count&&(T.returnDistinctValues=O?.returnDistinctValues??!1),T}function Bw(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Vi={exports:{}};var qw=Vi.exports,Nl;function Mw(){return Nl||(Nl=1,function(e,r){(function(i,t){t(r)})(qw,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 c(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),Xe=a(a(a(ee+"\\:")+"{0,1}"+ee)+"?\\:\\:"+a(ee+"\\:")+"{3}"+Oe),gt=a(a(a(ee+"\\:")+"{0,2}"+ee)+"?\\:\\:"+a(ee+"\\:")+"{2}"+Oe),Wt=a(a(a(ee+"\\:")+"{0,3}"+ee)+"?\\:\\:"+ee+"\\:"+Oe),zt=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)+"?\\:\\:"),Vt=a([ce,Ue,ir,Xe,gt,Wt,zt,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("^\\[?("+Vt+")"+a(a("\\%25|\\%(?!"+D+"{2})")+"("+st+")")+"?\\]?$")}}var d=c(!1),u=c(!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,w=38,F=700,S=72,C=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"},T=y-b,k=Math.floor,B=String.fromCharCode;function M(h){throw new RangeError(x[h])}function J(h,g){for(var v=[],D=h.length;D--;)v[D]=g(h[D]);return v}function Z(h,g){var v=h.split("@"),D="";v.length>1&&(D=v[0]+"@",h=v[1]),h=h.replace(j,".");var $=h.split("."),G=J($,g).join(".");return D+G}function K(h){for(var g=[],v=0,D=h.length;v<D;){var $=h.charCodeAt(v++);if($>=55296&&$<=56319&&v<D){var G=h.charCodeAt(v++);(G&64512)==56320?g.push((($&1023)<<10)+(G&1023)+65536):(g.push($),v--)}else g.push($)}return g}var X=function(h){return String.fromCodePoint.apply(String,f(h))},Q=function(h){return h-48<10?h-22:h-65<26?h-65:h-97<26?h-97:y},fe=function(h,g){return h+22+75*(h<26)-((g!=0)<<5)},$e=function(h,g,v){var D=0;for(h=v?k(h/F):h>>1,h+=k(h/g);h>T*I>>1;D+=y)h=k(h/T);return k(D+(T+1)*h/(h+w))},Ee=function(h){var g=[],v=h.length,D=0,$=C,G=S,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)},xe=function(h){var g=[];h=K(h);var v=h.length,D=C,$=0,G=S,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 Xe=h[Symbol.iterator](),gt;!(ce=(gt=Xe.next()).done);ce=!0){var Wt=gt.value;Wt>=D&&Wt<Oe&&(Oe=Wt)}}catch(jr){Ue=!0,ir=jr}finally{try{!ce&&Xe.return&&Xe.return()}finally{if(Ue)throw ir}}var zt=ee+1;Oe-D>k((m-$)/zt)&&M("overflow"),$+=(Oe-D)*zt,D=Oe;var Ge=!0,bt=!1,Vt=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($,zt,ee==Pe),$=0,++ee}}}catch(jr){bt=!0,Vt=jr}finally{try{!Ge&&st.return&&st.return()}finally{if(bt)throw Vt}}++$,++D}return g.join("")},ot=function(h){return Z(h,function(g){return P.test(g)?Ee(g.slice(4).toLowerCase()):g})},ze=function(h){return Z(h,function(g){return O.test(g)?"xn--"+xe(g):g})},A={version:"2.1.0",ucs2:{decode:K,encode:X},decode:Ee,encode:xe,toASCII:ze,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 Y(h,g){var v=h.match(g.IPV6ADDRESS)||[],D=p(v,3),$=D[1],G=D[2];if($){for(var U=$.toLowerCase().split("::").reverse(),oe=p(U,2),Fe=oe[0],de=oe[1],re=de?de.split(":").map(W):[],he=Fe.split(":").map(W),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,Vt){if(!bt||bt==="0"){var st=Ge[Ge.length-1];st&&st.index+st.length===Vt?st.length++:Ge.push({index:Vt,length:1})}return Ge},[]),Xe=ir.sort(function(Ge,bt){return bt.length-Ge.length})[0],gt=void 0;if(Xe&&Xe.length>1){var Wt=ce.slice(0,Xe.index),zt=ce.slice(Xe.index+Xe.length);gt=Wt.join(":")+"::"+zt.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?u:d;g.reference==="suffix"&&(h=(g.scheme?g.scheme+":":"")+"//"+h);var $=h.match(ge);if($){be?(v.scheme=$[1],v.userinfo=$[3],v.host=$[4],v.port=parseInt($[5],10),v.path=$[6]||"",v.query=$[7],v.fragment=$[8],isNaN(v.port)&&(v.port=$[5])):(v.scheme=$[1]||void 0,v.userinfo=h.indexOf("@")!==-1?$[3]:void 0,v.host=h.indexOf("//")!==-1?$[4]:void 0,v.port=parseInt($[5],10),v.path=$[6]||"",v.query=h.indexOf("?")!==-1?$[7]:void 0,v.fragment=h.indexOf("#")!==-1?$[8]:void 0,isNaN(v.port)&&(v.port=h.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?$[4]:void 0)),v.host&&(v.host=Y(H(v.host,D),D)),v.scheme===void 0&&v.userinfo===void 0&&v.host===void 0&&v.port===void 0&&!v.path&&v.query===void 0?v.reference="same-document":v.scheme===void 0?v.reference="relative":v.fragment===void 0?v.reference="absolute":v.reference="uri",g.reference&&g.reference!=="suffix"&&g.reference!==v.reference&&(v.error=v.error||"URI is not a "+g.reference+" reference.");var G=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,d)}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?u:d,D=[];return h.userinfo!==void 0&&(D.push(h.userinfo),D.push("@")),h.host!==void 0&&D.push(Y(H(String(h.host),v),v).replace(v.IPV6ADDRESS,function($,G,U){return"["+G+(U?"%25"+U:"")+"]"})),(typeof h.port=="number"||typeof h.port=="string")&&(D.push(":"),D.push(String(h.port))),D.length?D.join(""):void 0}var le=/^\.\.?\//,Ve=/^\/\.(\/|$)/,mt=/^\/\.\.(\/|$)/,ve=/^\/?(?:.|\n)*?(?=\/|$)/;function Le(h){for(var g=[];h.length;)if(h.match(le))h=h.replace(le,"");else if(h.match(Ve))h=h.replace(Ve,"/");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?u:d,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 Xi(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 Gd(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 Hd(h,g){return h&&h.toString().replace(!g||!g.iri?d.ESCAPE:u.ESCAPE,N)}function yt(h,g){return h&&h.toString().replace(!g||!g.iri?d.PCT_ENCODED:u.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},Qd={},no="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",nt="[0-9A-Fa-f]",Kd=a(a("%[EFef]"+nt+"%"+nt+nt+"%"+nt+nt)+"|"+a("%[89A-Fa-f]"+nt+"%"+nt+nt)+"|"+a("%"+nt+nt)),Jd="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",Zd="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",Xd=t(Zd,'[\\"\\\\]'),Yd="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",ec=new RegExp(no,"g"),rr=new RegExp(Kd,"g"),tc=new RegExp(t("[^]",Jd,"[\\.]",'[\\"]',Xd),"g"),so=new RegExp(t("[^]",no,Yd),"g"),rc=so;function ea(h){var g=z(h);return g.match(ec)?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,ea).replace(rr,n).replace(tc,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]!==Qd[Pe]&&he.push(Pe.replace(rr,ea).replace(rr,n).replace(so,N)+"="+re[Pe].replace(rr,ea).replace(rr,n).replace(rc,N));return he.length&&(v.query=he.join("&")),v}},ic=/^([^\:]+)\:(.*)/,po={scheme:"urn",parse:function(h,g){var v=h.path&&h.path.match(ic),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}},ac=/^[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(ac))&&(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=Xi,i.normalize=Yi,i.equal=Gd,i.escapeComponent=Hd,i.unescapeComponent=yt,Object.defineProperty(i,"__esModule",{value:!0})})}(Vi,Vi.exports)),Vi.exports}var Wl,zl;function eo(){return zl||(zl=1,Wl=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}),Wl}var Vl,Ul;function Nw(){return Ul||(Ul=1,Vl=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}),Vl}var Ta,Gl;function Er(){if(Gl)return Ta;Gl=1,Ta={copy:e,checkDataType:r,checkDataTypes:i,coerceToTypes:a,toHash:o,getProperty:l,escapeQuotes:c,equal:eo(),ucs2length:Nw(),varOccurences:d,varReplace:u,schemaHasRules:p,schemaHasRulesExcept:f,schemaUnknownRules:m,toQuotedString:y,getPathExpr:b,getPath:I,getData:S,unescapeFragment:E,unescapeJsonPointer:j,escapeFragment:P,escapeJsonPointer:O};function e(x,T){T=T||{};for(var k in x)T[k]=x[k];return T}function r(x,T,k,B){var M=B?" !== ":" === ",J=B?" || ":" && ",Z=B?"!":"",K=B?"":"!";switch(x){case"null":return T+M+"null";case"array":return Z+"Array.isArray("+T+")";case"object":return"("+Z+T+J+"typeof "+T+M+'"object"'+J+K+"Array.isArray("+T+"))";case"integer":return"(typeof "+T+M+'"number"'+J+K+"("+T+" % 1)"+J+T+M+T+(k?J+Z+"isFinite("+T+")":"")+")";case"number":return"(typeof "+T+M+'"'+x+'"'+(k?J+Z+"isFinite("+T+")":"")+")";default:return"typeof "+T+M+'"'+x+'"'}}function i(x,T,k){switch(x.length){case 1:return r(x[0],T,k,!0);default:var B="",M=o(x);M.array&&M.object&&(B=M.null?"(":"(!"+T+" || ",B+="typeof "+T+' !== "object")',delete M.null,delete M.array,delete M.object),M.number&&delete M.integer;for(var J in M)B+=(B?" && ":"")+r(J,T,k,!0);return B}}var t=o(["string","number","integer","boolean","null"]);function a(x,T){if(Array.isArray(T)){for(var k=[],B=0;B<T.length;B++){var M=T[B];(t[M]||x==="array"&&M==="array")&&(k[k.length]=M)}if(k.length)return k}else{if(t[T])return[T];if(x==="array"&&T==="array")return["array"]}}function o(x){for(var T={},k=0;k<x.length;k++)T[x[k]]=!0;return T}var n=/^[a-z$_][a-z$_0-9]*$/i,s=/'|\\/g;function l(x){return typeof x=="number"?"["+x+"]":n.test(x)?"."+x:"['"+c(x)+"']"}function c(x){return x.replace(s,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function d(x,T){T+="[^0-9]";var k=x.match(new RegExp(T,"g"));return k?k.length:0}function u(x,T,k){return T+="([^0-9])",k=k.replace(/\$/g,"$$$$"),x.replace(new RegExp(T,"g"),k+"$1")}function p(x,T){if(typeof x=="boolean")return!x;for(var k in x)if(T[k])return!0}function f(x,T,k){if(typeof x=="boolean")return!x&&k!="not";for(var B in x)if(B!=k&&T[B])return!0}function m(x,T){if(typeof x!="boolean"){for(var k in x)if(!T[k])return k}}function y(x){return"'"+c(x)+"'"}function b(x,T,k,B){var M=k?"'/' + "+T+(B?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):B?"'[' + "+T+" + ']'":"'[\\'' + "+T+" + '\\']'";return C(x,M)}function I(x,T,k){var B=y(k?"/"+O(T):l(T));return C(x,B)}var w=/^\/(?:[^~]|~0|~1)*$/,F=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function S(x,T,k){var B,M,J,Z;if(x==="")return"rootData";if(x[0]=="/"){if(!w.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>=T)throw new Error("Cannot access property/index "+B+" levels up, current level is "+T);return k[T-B]}if(B>T)throw new Error("Cannot access data "+B+" levels up, current level is "+T);if(J="data"+(T-B||""),!M)return J}for(var K=J,X=M.split("/"),Q=0;Q<X.length;Q++){var fe=X[Q];fe&&(J+=l(j(fe)),K+=" && "+J)}return K}function C(x,T){return x=='""'?T:(x+" + "+T).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 Ta}var Aa,Hl;function Nd(){if(Hl)return Aa;Hl=1;var e=Er();Aa=r;function r(i){e.copy(i,this)}return Aa}var Pa={exports:{}},Ql;function Ww(){if(Ql)return Pa.exports;Ql=1;var e=Pa.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,c,d,u,p){if(n&&typeof n=="object"&&!Array.isArray(n)){a(n,s,l,c,d,u,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,c,d,u,p)}}function i(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}return Pa.exports}var Fa,Kl;function to(){if(Kl)return Fa;Kl=1;var e=Mw(),r=eo(),i=Er(),t=Nd(),a=Ww();Fa=o,o.normalizeId=I,o.fullPath=m,o.url=w,o.ids=F,o.inlineRef=u,o.schema=n;function o(S,C,E){var P=this._refs[E];if(typeof P=="string")if(this._refs[P])P=this._refs[P];else return o.call(this,S,C,P);if(P=P||this._schemas[E],P instanceof t)return u(P.schema,this._opts.inlineRefs)?P.schema:P.validate||this._compile(P);var O=n.call(this,C,E),j,x,T;return O&&(j=O.schema,C=O.root,T=O.baseId),j instanceof t?x=j.validate||S.call(this,j.schema,C,void 0,T):j!==void 0&&(x=u(j,this._opts.inlineRefs)?j:S.call(this,j,C,void 0,T)),x}function n(S,C){var E=e.parse(C),P=y(E),O=m(this._getId(S.schema));if(Object.keys(S.schema).length===0||P!==O){var j=I(P),x=this._refs[j];if(typeof x=="string")return s.call(this,S,x,E);if(x instanceof t)x.validate||this._compile(x),S=x;else if(x=this._schemas[j],x instanceof t){if(x.validate||this._compile(x),j==I(C))return{schema:x,root:S,baseId:O};S=x}else return;if(!S.schema)return;O=m(this._getId(S.schema))}return c.call(this,E,O,S.schema,S)}function s(S,C,E){var P=n.call(this,S,C);if(P){var O=P.schema,j=P.baseId;S=P.root;var x=this._getId(O);return x&&(j=w(j,x)),c.call(this,E,j,O,S)}}var l=i.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function c(S,C,E,P){if(S.fragment=S.fragment||"",S.fragment.slice(0,1)=="/"){for(var O=S.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 T;if(!l[x]&&(T=this._getId(E),T&&(C=w(C,T)),E.$ref)){var k=w(C,E.$ref),B=n.call(this,P,k);B&&(E=B.schema,P=B.root,C=B.baseId)}}}if(E!==void 0&&E!==P.schema)return{schema:E,root:P,baseId:C}}}var d=i.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function u(S,C){if(C===!1)return!1;if(C===void 0||C===!0)return p(S);if(C)return f(S)<=C}function p(S){var C;if(Array.isArray(S)){for(var E=0;E<S.length;E++)if(C=S[E],typeof C=="object"&&!p(C))return!1}else for(var P in S)if(P=="$ref"||(C=S[P],typeof C=="object"&&!p(C)))return!1;return!0}function f(S){var C=0,E;if(Array.isArray(S)){for(var P=0;P<S.length;P++)if(E=S[P],typeof E=="object"&&(C+=f(E)),C==1/0)return 1/0}else for(var O in S){if(O=="$ref")return 1/0;if(d[O])C++;else if(E=S[O],typeof E=="object"&&(C+=f(E)+1),C==1/0)return 1/0}return C}function m(S,C){C!==!1&&(S=I(S));var E=e.parse(S);return y(E)}function y(S){return e.serialize(S).split("#")[0]+"#"}var b=/#\/?$/;function I(S){return S?S.replace(b,""):""}function w(S,C){return C=I(C),e.resolve(S,C)}function F(S){var C=I(this._getId(S)),E={"":C},P={"":m(C,!1)},O={},j=this;return a(S,{allKeys:!0},function(x,T,k,B,M,J,Z){if(T!==""){var K=j._getId(x),X=E[B],Q=P[B]+"/"+M;if(Z!==void 0&&(Q+="/"+(typeof Z=="number"?Z:i.escapeFragment(Z))),typeof K=="string"){K=X=I(X?e.resolve(X,K):K);var fe=j._refs[K];if(typeof fe=="string"&&(fe=j._refs[fe]),fe&&fe.schema){if(!r(x,fe.schema))throw new Error('id "'+K+'" resolves to more than one schema')}else if(K!=I(Q))if(K[0]=="#"){if(O[K]&&!r(x,O[K]))throw new Error('id "'+K+'" resolves to more than one schema');O[K]=x}else j._refs[K]=Q}E[T]=X,P[T]=Q}}),O}return Fa}var Oa,Jl;function ro(){if(Jl)return Oa;Jl=1;var e=to();Oa={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 Oa}var Zl,Xl;function Wd(){return Xl||(Xl=1,Zl=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 c={key:s,value:n[s]},d={key:l,value:n[l]};return o(c,d)}}}(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 c=a.push(n)-1,d=Object.keys(n).sort(t&&t(n));for(l="",s=0;s<d.length;s++){var u=d[s],p=o(n[u]);p&&(l&&(l+=","),l+=JSON.stringify(u)+":"+p)}return a.splice(c,1),"{"+l+"}"}}(e)}),Zl}var Yl,ep;function zd(){return ep||(ep=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",c=e.level,d=e.dataLevel,u=e.schema[r],p=e.schemaPath+e.util.getProperty(r),f=e.errSchemaPath+"/"+r,S=!e.opts.allErrors,P,m="data"+(d||""),F="valid"+c;if(e.schema===!1){e.isTop?S=!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&&S?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,c=e.level=0,d=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 w="default is ignored in the schema root";if(e.opts.strictDefaults==="log")e.logger.warn(w);else throw new Error(w)}t+=" var vErrors = null; ",t+=" var errors = 0; ",t+=" if (rootData === undefined) rootData = data; "}else{var c=e.level,d=e.dataLevel,m="data"+(d||"");if(n&&(e.baseId=e.resolve.url(e.baseId,n)),a&&!e.async)throw new Error("async schema in sync schema");t+=" var errs_"+c+" = errors;"}var F="valid"+c,S=!e.opts.allErrors,C="",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 T=e.RULES.types[O];if(x||j||T===!0||T&&!le(T)){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"+c,M="coerced"+c;t+=" var "+B+" = typeof "+m+"; var "+M+" = undefined; ",e.opts.coerceTypes=="array"&&(t+=" if ("+B+" == 'object' && Array.isArray("+m+") && "+m+".length == 1) { "+m+" = "+m+"[0]; "+B+" = typeof "+m+"; if ("+e.util.checkDataType(e.schema.type,m,e.opts.strictNumbers)+") "+M+" = "+m+"; } "),t+=" if ("+M+" !== undefined) ; ";var J=x;if(J)for(var Z,K=-1,X=J.length-1;K<X;)Z=J[K+=1],Z=="string"?t+=" else if ("+B+" == 'number' || "+B+" == 'boolean') "+M+" = '' + "+m+"; else if ("+m+" === null) "+M+" = ''; ":Z=="number"||Z=="integer"?(t+=" else if ("+B+" == 'boolean' || "+m+" === null || ("+B+" == 'string' && "+m+" && "+m+" == +"+m+" ",Z=="integer"&&(t+=" && !("+m+" % 1)"),t+=")) "+M+" = +"+m+"; "):Z=="boolean"?t+=" else if ("+m+" === 'false' || "+m+" === 0 || "+m+" === null) "+M+" = false; else if ("+m+" === 'true' || "+m+" === 1) "+M+" = true; ":Z=="null"?t+=" else if ("+m+" === '' || "+m+" === 0 || "+m+" === false) "+M+" = null; ":e.opts.coerceTypes=="array"&&Z=="array"&&(t+=" else if ("+B+" == 'string' || "+B+" == 'number' || "+B+" == 'boolean' || "+m+" == null) "+M+" = ["+m+"]; ");t+=" else { ";var y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(P||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(f)+" , params: { type: '",j?t+=""+O.join(","):t+=""+O,t+="' } ",e.opts.messages!==!1&&(t+=" , message: 'should be ",j?t+=""+O.join(","):t+=""+O,t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+p+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),t+=" } "):t+=" {} ";var b=t;t=y.pop(),!e.compositeRule&&S?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=d?"data"+(d-1||""):"parentData",fe=d?e.dataPathArr[d]:"parentDataProperty";t+=" "+m+" = "+M+"; ",d||(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&&S?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")+" ",S&&(t+=" } if (errors === ",I?t+="0":t+="errs_"+c,t+=") { ",E+="}");else{var $e=e.RULES;if($e){for(var T,Ee=-1,xe=$e.length-1;Ee<xe;)if(T=$e[Ee+=1],le(T)){if(T.type&&(t+=" if ("+e.util.checkDataType(T.type,m,e.opts.strictNumbers)+") { "),e.opts.useDefaults){if(T.type=="object"&&e.schema.properties){var u=e.schema.properties,ot=Object.keys(u),ze=ot;if(ze)for(var A,R=-1,N=ze.length-1;R<N;){A=ze[R+=1];var z=u[A];if(z.default!==void 0){var _=m+e.util.getProperty(A);if(e.compositeRule){if(e.opts.strictDefaults){var w="default is ignored for: "+_;if(e.opts.strictDefaults==="log")e.logger.warn(w);else throw new Error(w)}}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(T.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 w="default is ignored for: "+_;if(e.opts.strictDefaults==="log")e.logger.warn(w);else throw new Error(w)}}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 Y=T.rules;if(Y){for(var ge,be=-1,ne=Y.length-1;be<ne;)if(ge=Y[be+=1],Ve(ge)){var ae=ge.code(e,ge.keyword,T.type);ae&&(t+=" "+ae+" ",S&&(C+="}"))}}if(S&&(t+=" "+C+" ",C=""),T.type&&(t+=" } ",O&&O===T.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&&S?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+=" } "}S&&(t+=" if (errors === ",I?t+="0":t+="errs_"+c,t+=") { ",E+="}")}}}S&&(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_"+c+";";function le(ve){for(var Le=ve.rules,Se=0;Se<Le.length;Se++)if(Ve(Le[Se]))return!0}function Ve(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 Ea,tp;function zw(){if(tp)return Ea;tp=1;var e=to(),r=Er(),i=ro(),t=Wd(),a=zd(),o=r.ucs2length,n=eo(),s=i.Validation;Ea=l;function l(I,w,F,S){var C=this,E=this._opts,P=[void 0],O={},j=[],x={},T=[],k={},B=[];w=w||{schema:I,refVal:P,refs:O};var M=c.call(this,I,w,S),J=this._compilations[M.index];if(M.compiling)return J.callValidate=fe;var Z=this._formats,K=this.RULES;try{var X=$e(I,w,F,S);J.validate=X;var Q=J.callValidate;return Q&&(Q.schema=X.schema,Q.errors=null,Q.refs=X.refs,Q.refVal=X.refVal,Q.root=X.root,Q.$async=X.$async,E.sourceCode&&(Q.source=X.source)),X}finally{d.call(this,I,w,S)}function fe(){var _=J.validate,W=_.apply(this,arguments);return fe.errors=_.errors,W}function $e(_,W,H,Y){var ge=!W||W&&W.schema==_;if(W.schema!=w.schema)return l.call(C,_,W,H,Y);var be=_.$async===!0,ne=a({isTop:!0,schema:_,isRoot:ge,baseId:Y,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:C.logger,self:C});ne=b(P,m)+b(j,p)+b(T,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(C,K,Z,w,P,T,B,n,o,s),P[0]=ae}catch(Ve){throw C.logger.error("Error compiling schema, function code:",ne),Ve}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:T}),ae}function Ee(_,W,H){W=e.url(_,W);var Y=O[W],ge,be;if(Y!==void 0)return ge=P[Y],be="refVal["+Y+"]",A(ge,be);if(!H&&w.refs){var ne=w.refs[W];if(ne!==void 0)return ge=w.refVal[ne],be=xe(W,ge),A(ge,be)}be=xe(W);var ae=e.call(C,$e,w,W);if(ae===void 0){var le=F&&F[W];le&&(ae=e.inlineRef(le,E.inlineRefs)?le:l.call(C,le,w,F,_))}if(ae===void 0)ot(W);else return ze(W,ae),A(ae,be)}function xe(_,W){var H=P.length;return P[H]=W,O[_]=H,"refVal"+H}function ot(_){delete O[_]}function ze(_,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]=T.length,T[H]=_),"default"+H}}function z(_,W,H,Y){if(C._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: "+C.errorsText(be.errors);if(C._opts.validateSchema=="log")C.logger.error(ae);else throw new Error(ae)}}}var le=_.definition.compile,Ve=_.definition.inline,mt=_.definition.macro,ve;if(le)ve=le.call(C,W,H,Y);else if(mt)ve=mt.call(C,W,H,Y),E.validateSchema!==!1&&C.validateSchema(ve,!0);else if(Ve)ve=Ve.call(C,Y,_.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 c(I,w,F){var S=u.call(this,I,w,F);return S>=0?{index:S,compiling:!0}:(S=this._compilations.length,this._compilations[S]={schema:I,root:w,baseId:F},{index:S,compiling:!1})}function d(I,w,F){var S=u.call(this,I,w,F);S>=0&&this._compilations.splice(S,1)}function u(I,w,F){for(var S=0;S<this._compilations.length;S++){var C=this._compilations[S];if(C.schema==I&&C.root==w&&C.baseId==F)return S}return-1}function p(I,w){return"var pattern"+I+" = new RegExp("+r.toQuotedString(w[I])+");"}function f(I){return"var default"+I+" = defaults["+I+"];"}function m(I,w){return w[I]===void 0?"":"var refVal"+I+" = refVal["+I+"];"}function y(I){return"var customRule"+I+" = customRules["+I+"];"}function b(I,w){if(!I.length)return"";for(var F="",S=0;S<I.length;S++)F+=w(S,I);return F}return Ea}var La={exports:{}},rp;function Vw(){if(rp)return La.exports;rp=1;var e=La.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={}},La.exports}var Da,ip;function Uw(){if(ip)return Da;ip=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,c=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,d=/^(?:\/(?:[^~/]|~0|~1)*)*$/,u=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,p=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;Da=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:c,"json-pointer":d,"json-pointer-uri-fragment":u,"relative-json-pointer":p},f.full={date:y,time:b,"date-time":w,uri:S,"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:c,"json-pointer":d,"json-pointer-uri-fragment":u,"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],T=+O[3];return x>=1&&x<=12&&T>=1&&T<=(x==2&&m(j)?29:i[x])}function b(P,O){var j=P.match(t);if(!j)return!1;var x=j[1],T=j[2],k=j[3],B=j[5];return(x<=23&&T<=59&&k<=59||x==23&&T==59&&k==60)&&(!O||B)}var I=/t|\s/i;function w(P){var O=P.split(I);return O.length==2&&y(O[0])&&b(O[1],!0)}var F=/\/|:/;function S(P){return F.test(P)&&o.test(P)}var C=/[^\\]\\Z/;function E(P){if(C.test(P))return!1;try{return new RegExp(P),!0}catch{return!1}}return Da}var ap,op;function Gw(){return op||(op=1,ap=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.errSchemaPath+"/"+r,l=!e.opts.allErrors,c="data"+(o||""),d="valid"+a,u,p;if(n=="#"||n=="#/")e.isRoot?(u=e.async,p="validate"):(u=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: "+c+" "),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 w="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 ("+w+") { ")}else u=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+=" "+c+", (dataPath || '')",e.errorPath!='""'&&(t+=" + "+e.errorPath);var S=o?"data"+(o-1||""):"parentData",C=o?e.dataPathArr[o]:"parentDataProperty";t+=" , "+S+" , "+C+", rootData) ";var E=t;if(t=y.pop(),u){if(!e.async)throw new Error("async schema referenced by sync schema");l&&(t+=" var "+d+"; "),t+=" try { await "+E+"; ",l&&(t+=" "+d+" = 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+=" "+d+" = false; "),t+=" } ",l&&(t+=" if ("+d+") { ")}else t+=" if (!"+E+") { if (vErrors === null) vErrors = "+p+".errors; else vErrors = vErrors.concat("+p+".errors); errors = vErrors.length; } ",l&&(t+=" else { ")}return t}),ap}var np,sp;function Hw(){return sp||(sp=1,np=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),c="";l.level++;var d="valid"+l.level,u=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=u,s&&(t+=" if ("+d+") { ",c+="}"));return s&&(p?t+=" if (true) { ":t+=" "+c.slice(0,-1)+" "),t}),np}var lp,pp;function Qw(){return pp||(pp=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,c=!e.opts.allErrors,d="data"+(o||""),u="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 "+u+" = false; ";var w=e.compositeRule;e.compositeRule=f.compositeRule=!0;var F=n;if(F)for(var S,C=-1,E=F.length-1;C<E;)S=F[C+=1],f.schema=S,f.schemaPath=s+"["+C+"]",f.errSchemaPath=l+"/"+C,t+=" "+e.validate(f)+" ",f.baseId=I,t+=" "+u+" = "+u+" || "+y+"; if (!"+u+") { ",m+="}";e.compositeRule=f.compositeRule=w,t+=" "+m+" if (!"+u+") { 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: "+d+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&c&&(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 c&&(t+=" if (true) { ");return t}),lp}var dp,cp;function Kw(){return cp||(cp=1,dp=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}),dp}var up,fp;function Jw(){return fp||(fp=1,up=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,c=!e.opts.allErrors,d="data"+(o||""),u="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 "+u+" = equal("+d+", schema"+a+"); if (!"+u+") { ";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: "+d+" "),t+=" } "):t+=" {} ";var m=t;return t=f.pop(),!e.compositeRule&&c?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+=" }",c&&(t+=" else { "),t}),up}var hp,mp;function Zw(){return mp||(mp=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,c=!e.opts.allErrors,d="data"+(o||""),u="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,w="data"+I,F=e.baseId,S=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 "+u+";",S){var C=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+" < "+d+".length; "+b+"++) { ",f.errorPath=e.util.getPathExpr(e.errorPath,b,e.opts.jsonPointers,!0);var E=d+"["+b+"]";f.dataPathArr[I]=b;var P=e.validate(f);f.baseId=F,e.util.varOccurences(P,w)<2?t+=" "+e.util.varReplace(P,w,E)+" ":t+=" var "+w+" = "+E+"; "+P+" ",t+=" if ("+y+") break; } ",e.compositeRule=f.compositeRule=C,t+=" "+m+" if (!"+y+") {"}else t+=" if ("+d+".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: "+d+" "),t+=" } "):t+=" {} ";var j=t;return t=O.pop(),!e.compositeRule&&c?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 { ",S&&(t+=" errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } "),e.opts.allErrors&&(t+=" } "),t}),hp}var yp,gp;function Xw(){return gp||(gp=1,yp=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,c=!e.opts.allErrors,d="data"+(o||""),u="errs__"+a,p=e.util.copy(e),f="";p.level++;var m="valid"+p.level,y={},b={},I=e.opts.ownProperties;for(C in n)if(C!="__proto__"){var w=n[C],F=Array.isArray(w)?b:y;F[C]=w}t+="var "+u+" = errors;";var S=e.errorPath;t+="var missing"+a+";";for(var C in b)if(F=b[C],F.length){if(t+=" if ( "+d+e.util.getProperty(C)+" !== undefined ",I&&(t+=" && Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(C)+"') "),c){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),T=d+x;t+=" ( ( "+T+" === undefined ",I&&(t+=" || ! Object.prototype.hasOwnProperty.call("+d+", '"+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(S,k,!0):S+" + "+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(C)+"', 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(C)+" is present' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var J=t;t=M.pop(),!e.compositeRule&&c?e.async?t+=" throw new ValidationError(["+J+"]); ":t+=" validate.errors = ["+J+"]; return false; ":t+=" var err = "+J+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else{t+=" ) { ";var Z=F;if(Z)for(var P,K=-1,X=Z.length-1;K<X;){P=Z[K+=1];var x=e.util.getProperty(P),B=e.util.escapeQuotes(P),T=d+x;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(S,P,e.opts.jsonPointers)),t+=" if ( "+T+" === undefined ",I&&(t+=" || ! Object.prototype.hasOwnProperty.call("+d+", '"+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(C)+"', 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(C)+" is present' "),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++; } "}}t+=" } ",c&&(f+="}",t+=" else { ")}e.errorPath=S;var Q=p.baseId;for(var C in y){var w=y[C];(e.opts.strictKeywords?typeof w=="object"&&Object.keys(w).length>0||w===!1:e.util.schemaHasRules(w,e.RULES.all))&&(t+=" "+m+" = true; if ( "+d+e.util.getProperty(C)+" !== undefined ",I&&(t+=" && Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(C)+"') "),t+=") { ",p.schema=w,p.schemaPath=s+e.util.getProperty(C),p.errSchemaPath=l+"/"+e.util.escapeFragment(C),t+=" "+e.validate(p)+" ",p.baseId=Q,t+=" } ",c&&(t+=" if ("+m+") { ",f+="}"))}return c&&(t+=" "+f+" if ("+u+" == errors) {"),t}),yp}var bp,vp;function Yw(){return vp||(vp=1,bp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,c=!e.opts.allErrors,d="data"+(o||""),u="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 "+u+";",p&&(t+=" if (schema"+a+" === undefined) "+u+" = true; else if (!Array.isArray(schema"+a+")) "+u+" = false; else {"),t+=""+u+" = false;for (var "+f+"=0; "+f+"<"+m+".length; "+f+"++) if (equal("+d+", "+m+"["+f+"])) { "+u+" = true; break; }",p&&(t+=" } "),t+=" if (!"+u+") { ";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: "+d+" "),t+=" } "):t+=" {} ";var b=t;return t=y.pop(),!e.compositeRule&&c?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+=" }",c&&(t+=" else { "),t}),bp}var Sp,wp;function ex(){return wp||(wp=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,c=!e.opts.allErrors,d="data"+(o||"");if(e.opts.format===!1)return c&&(t+=" if (true) { "),t;var u=e.opts.$data&&n&&n.$data,p;u?(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(u){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 ( ",u&&(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+"("+d+") : "+y+"("+d+")) ":t+=" "+y+"("+d+") ",t+=" : "+y+".test("+d+"))))) {"}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+'"'),c&&(t+=" if (true) { "),t;if(m&&f.indexOf(n)>=0)return c&&(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 w=y.async===!0;y=y.validate}if(I!=i)return c&&(t+=" if (true) { "),t;if(w){if(!e.async)throw new Error("async format in sync schema");var F="formats"+e.util.getProperty(n)+".validate";t+=" if (!(await "+F+"("+d+"))) { "}else{t+=" if (! ";var F="formats"+e.util.getProperty(n);b&&(F+=".validate"),typeof y=="function"?t+=" "+F+"("+d+") ":t+=" "+F+".test("+d+") ",t+=") { "}}var S=S||[];S.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'format' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { format: ",u?t+=""+p:t+=""+e.util.toQuotedString(n),t+=" } ",e.opts.messages!==!1&&(t+=` , message: 'should match format "`,u?t+="' + "+p+" + '":t+=""+e.util.escapeQuotes(n),t+=`"' `),e.opts.verbose&&(t+=" , schema: ",u?t+="validate.schema"+s:t+=""+e.util.toQuotedString(n),t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var C=t;return t=S.pop(),!e.compositeRule&&c?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+=" } ",c&&(t+=" else { "),t}),Sp}var xp,Ip;function tx(){return Ip||(Ip=1,xp=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,c=!e.opts.allErrors,d="data"+(o||""),u="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)),w=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||w){var S;f.createErrors=!1,f.schema=n,f.schemaPath=s,f.errSchemaPath=l,t+=" var "+p+" = errors; var "+u+" = true; ";var C=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=C,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+=" "+u+" = "+m+"; ",I&&w?(S="ifClause"+a,t+=" var "+S+" = 'then'; "):S="'then'",t+=" } ",w&&(t+=" else { ")):t+=" if (!"+m+") { ",w&&(f.schema=e.schema.else,f.schemaPath=e.schemaPath+".else",f.errSchemaPath=e.errSchemaPath+"/else",t+=" "+e.validate(f)+" ",f.baseId=F,t+=" "+u+" = "+m+"; ",I&&w?(S="ifClause"+a,t+=" var "+S+" = 'else'; "):S="'else'",t+=" } "),t+=" if (!"+u+") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'if' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { failingKeyword: "+S+" } ",e.opts.messages!==!1&&(t+=` , message: 'should match "' + `+S+` + '" schema' `),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&&c&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; "),t+=" } ",c&&(t+=" else { ")}else c&&(t+=" if (true) { ");return t}),xp}var Cp,Tp;function rx(){return Tp||(Tp=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,c=!e.opts.allErrors,d="data"+(o||""),u="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,w="data"+I,F=e.baseId;if(t+="var "+p+" = errors;var "+u+";",Array.isArray(n)){var S=e.schema.additionalItems;if(S===!1){t+=" "+u+" = "+d+".length <= "+n.length+"; ";var C=l;l=e.errSchemaPath+"/additionalItems",t+=" if (!"+u+") { ";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: "+d+" "),t+=" } "):t+=" {} ";var P=t;t=E.pop(),!e.compositeRule&&c?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=C,c&&(m+="}",t+=" else { ")}var O=n;if(O){for(var j,x=-1,T=O.length-1;x<T;)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 ("+d+".length > "+x+") { ";var k=d+"["+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,w)<2?t+=" "+e.util.varReplace(B,w,k)+" ":t+=" var "+w+" = "+k+"; "+B+" ",t+=" } ",c&&(t+=" if ("+y+") { ",m+="}")}}if(typeof S=="object"&&(e.opts.strictKeywords?typeof S=="object"&&Object.keys(S).length>0||S===!1:e.util.schemaHasRules(S,e.RULES.all))){f.schema=S,f.schemaPath=e.schemaPath+".additionalItems",f.errSchemaPath=e.errSchemaPath+"/additionalItems",t+=" "+y+" = true; if ("+d+".length > "+n.length+") { for (var "+b+" = "+n.length+"; "+b+" < "+d+".length; "+b+"++) { ",f.errorPath=e.util.getPathExpr(e.errorPath,b,e.opts.jsonPointers,!0);var k=d+"["+b+"]";f.dataPathArr[I]=b;var B=e.validate(f);f.baseId=F,e.util.varOccurences(B,w)<2?t+=" "+e.util.varReplace(B,w,k)+" ":t+=" var "+w+" = "+k+"; "+B+" ",c&&(t+=" if (!"+y+") break; "),t+=" } } ",c&&(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+" < "+d+".length; "+b+"++) { ",f.errorPath=e.util.getPathExpr(e.errorPath,b,e.opts.jsonPointers,!0);var k=d+"["+b+"]";f.dataPathArr[I]=b;var B=e.validate(f);f.baseId=F,e.util.varOccurences(B,w)<2?t+=" "+e.util.varReplace(B,w,k)+" ":t+=" var "+w+" = "+k+"; "+B+" ",c&&(t+=" if (!"+y+") break; "),t+=" }"}return c&&(t+=" "+m+" if ("+p+" == errors) {"),t}),Cp}var Ap,Pp;function Fp(){return Pp||(Pp=1,Ap=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,c=!e.opts.allErrors,F,d="data"+(o||""),u=e.opts.$data&&n&&n.$data,p;u?(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?"<":">",w=f?">":"<",F=void 0;if(!(u||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 S=e.util.getData(y.$data,o,e.dataPathArr),C="exclusive"+a,E="exclType"+a,P="exclIsNumber"+a,O="op"+a,j="' + "+O+" + '";t+=" var schemaExcl"+a+" = "+S+"; ",S="schemaExcl"+a,t+=" var "+C+"; var "+E+" = typeof "+S+"; 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: "+d+" "),t+=" } "):t+=" {} ";var T=t;t=x.pop(),!e.compositeRule&&c?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+=" } else if ( ",u&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),t+=" "+E+" == 'number' ? ( ("+C+" = "+p+" === undefined || "+S+" "+I+"= "+p+") ? "+d+" "+w+"= "+S+" : "+d+" "+w+" "+p+" ) : ( ("+C+" = "+S+" === true) ? "+d+" "+w+"= "+p+" : "+d+" "+w+" "+p+" ) || "+d+" !== "+d+") { var op"+a+" = "+C+" ? '"+I+"' : '"+I+"='; ",n===void 0&&(F=m,l=e.errSchemaPath+"/"+m,p=S,u=b)}else{var P=typeof y=="number",j=I;if(P&&u){var O="'"+j+"'";t+=" if ( ",u&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),t+=" ( "+p+" === undefined || "+y+" "+I+"= "+p+" ? "+d+" "+w+"= "+y+" : "+d+" "+w+" "+p+" ) || "+d+" !== "+d+") { "}else{P&&n===void 0?(C=!0,F=m,l=e.errSchemaPath+"/"+m,p=y,w+="="):(P&&(p=Math[f?"min":"max"](y,n)),y===(P?p:!0)?(C=!0,F=m,l=e.errSchemaPath+"/"+m,w+="="):(C=!1,j+="="));var O="'"+j+"'";t+=" if ( ",u&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),t+=" "+d+" "+w+" "+p+" || "+d+" !== "+d+") { "}}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: "+C+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be "+j+" ",u?t+="' + "+p:t+=""+p+"'"),e.opts.verbose&&(t+=" , schema: ",u?t+="validate.schema"+s:t+=""+n,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var T=t;return t=x.pop(),!e.compositeRule&&c?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+=" } ",c&&(t+=" else { "),t}),Ap}var Op,Ep;function Lp(){return Ep||(Ep=1,Op=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,c=!e.opts.allErrors,m,d="data"+(o||""),u=e.opts.$data&&n&&n.$data,p;if(u?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n,!(u||typeof n=="number"))throw new Error(r+" must be number");var f=r=="maxItems"?">":"<";t+="if ( ",u&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),t+=" "+d+".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 ",u?t+="' + "+p+" + '":t+=""+n,t+=" items' "),e.opts.verbose&&(t+=" , schema: ",u?t+="validate.schema"+s:t+=""+n,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var b=t;return t=y.pop(),!e.compositeRule&&c?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+="} ",c&&(t+=" else { "),t}),Op}var Dp,$p;function jp(){return $p||($p=1,Dp=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,c=!e.opts.allErrors,m,d="data"+(o||""),u=e.opts.$data&&n&&n.$data,p;if(u?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n,!(u||typeof n=="number"))throw new Error(r+" must be number");var f=r=="maxLength"?">":"<";t+="if ( ",u&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),e.opts.unicode===!1?t+=" "+d+".length ":t+=" ucs2length("+d+") ",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 ",u?t+="' + "+p+" + '":t+=""+n,t+=" characters' "),e.opts.verbose&&(t+=" , schema: ",u?t+="validate.schema"+s:t+=""+n,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var b=t;return t=y.pop(),!e.compositeRule&&c?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+="} ",c&&(t+=" else { "),t}),Dp}var Rp,_p;function kp(){return _p||(_p=1,Rp=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,c=!e.opts.allErrors,m,d="data"+(o||""),u=e.opts.$data&&n&&n.$data,p;if(u?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n,!(u||typeof n=="number"))throw new Error(r+" must be number");var f=r=="maxProperties"?">":"<";t+="if ( ",u&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),t+=" Object.keys("+d+").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 ",u?t+="' + "+p+" + '":t+=""+n,t+=" properties' "),e.opts.verbose&&(t+=" , schema: ",u?t+="validate.schema"+s:t+=""+n,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var b=t;return t=y.pop(),!e.compositeRule&&c?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+="} ",c&&(t+=" else { "),t}),Rp}var Bp,qp;function ix(){return qp||(qp=1,Bp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,c=!e.opts.allErrors,d="data"+(o||""),u=e.opts.$data&&n&&n.$data,p;if(u?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n,!(u||typeof n=="number"))throw new Error(r+" must be number");t+="var division"+a+";if (",u&&(t+=" "+p+" !== undefined && ( typeof "+p+" != 'number' || "),t+=" (division"+a+" = "+d+" / "+p+", ",e.opts.multipleOfPrecision?t+=" Math.abs(Math.round(division"+a+") - division"+a+") > 1e-"+e.opts.multipleOfPrecision+" ":t+=" division"+a+" !== parseInt(division"+a+") ",t+=" ) ",u&&(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 ",u?t+="' + "+p:t+=""+p+"'"),e.opts.verbose&&(t+=" , schema: ",u?t+="validate.schema"+s:t+=""+n,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var m=t;return t=f.pop(),!e.compositeRule&&c?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+="} ",c&&(t+=" else { "),t}),Bp}var Mp,Np;function ax(){return Np||(Np=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,c=!e.opts.allErrors,d="data"+(o||""),u="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 "+u+" = 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: "+d+" "),t+=" } "):t+=" {} ";var I=t;t=b.pop(),!e.compositeRule&&c?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 = "+u+"; if (vErrors !== null) { if ("+u+") vErrors.length = "+u+"; 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: "+d+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",c&&(t+=" if (false) { ");return t}),Mp}var Wp,zp;function ox(){return zp||(zp=1,Wp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,c=!e.opts.allErrors,d="data"+(o||""),u="valid"+a,p="errs__"+a,f=e.util.copy(e),m="";f.level++;var y="valid"+f.level,b=f.baseId,I="prevValid"+a,w="passingSchemas"+a;t+="var "+p+" = errors , "+I+" = false , "+u+" = false , "+w+" = null; ";var F=e.compositeRule;e.compositeRule=f.compositeRule=!0;var S=n;if(S)for(var C,E=-1,P=S.length-1;E<P;)C=S[E+=1],(e.opts.strictKeywords?typeof C=="object"&&Object.keys(C).length>0||C===!1:e.util.schemaHasRules(C,e.RULES.all))?(f.schema=C,f.schemaPath=s+"["+E+"]",f.errSchemaPath=l+"/"+E,t+=" "+e.validate(f)+" ",f.baseId=b):t+=" var "+y+" = true; ",E&&(t+=" if ("+y+" && "+I+") { "+u+" = false; "+w+" = ["+w+", "+E+"]; } else { ",m+="}"),t+=" if ("+y+") { "+u+" = "+I+" = true; "+w+" = "+E+"; }";return e.compositeRule=f.compositeRule=F,t+=""+m+"if (!"+u+") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { passingSchemas: "+w+" } ",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: "+d+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&c&&(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}),Wp}var Vp,Up;function nx(){return Up||(Up=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,c=!e.opts.allErrors,d="data"+(o||""),u=e.opts.$data&&n&&n.$data,p;u?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n;var f=u?"(new RegExp("+p+"))":e.usePattern(n);t+="if ( ",u&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'string') || "),t+=" !"+f+".test("+d+") ) { ";var m=m||[];m.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'pattern' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { pattern: ",u?t+=""+p:t+=""+e.util.toQuotedString(n),t+=" } ",e.opts.messages!==!1&&(t+=` , message: 'should match pattern "`,u?t+="' + "+p+" + '":t+=""+e.util.escapeQuotes(n),t+=`"' `),e.opts.verbose&&(t+=" , schema: ",u?t+="validate.schema"+s:t+=""+e.util.toQuotedString(n),t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var y=t;return t=m.pop(),!e.compositeRule&&c?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+="} ",c&&(t+=" else { "),t}),Vp}var Gp,Hp;function sx(){return Hp||(Hp=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,c=!e.opts.allErrors,d="data"+(o||""),u="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,w="data"+I,F="dataProperties"+a,S=Object.keys(n||{}).filter(K),C=e.schema.patternProperties||{},E=Object.keys(C).filter(K),P=e.schema.additionalProperties,O=S.length||E.length,j=P===!1,x=typeof P=="object"&&Object.keys(P).length,T=e.opts.removeAdditional,k=j||x||T,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 "+u+" = errors;var "+m+" = true;",B&&(t+=" var "+F+" = undefined;"),k){if(B?t+=" "+F+" = "+F+" || Object.keys("+d+"); for (var "+b+"=0; "+b+"<"+F+".length; "+b+"++) { var "+y+" = "+F+"["+b+"]; ":t+=" for (var "+y+" in "+d+") { ",O){if(t+=" var isAdditional"+a+" = !(false ",S.length)if(S.length>8)t+=" || validate.schema"+s+".hasOwnProperty("+y+") ";else{var X=S;if(X)for(var Q,fe=-1,$e=X.length-1;fe<$e;)Q=X[fe+=1],t+=" || "+y+" == "+e.util.toQuotedString(Q)+" "}if(E.length){var Ee=E;if(Ee)for(var xe,ot=-1,ze=Ee.length-1;ot<ze;)xe=Ee[ot+=1],t+=" || "+e.usePattern(xe)+".test("+y+") "}t+=" ); if (isAdditional"+a+") { "}if(T=="all")t+=" delete "+d+"["+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(T)t+=" delete "+d+"["+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: "+d+" "),t+=" } "):t+=" {} ";var _=t;t=z.pop(),!e.compositeRule&&c?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,c&&(t+=" break; ")}else if(x)if(T=="failing"){t+=" var "+u+" = 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=d+"["+y+"]";p.dataPathArr[I]=y;var Y=e.validate(p);p.baseId=M,e.util.varOccurences(Y,w)<2?t+=" "+e.util.varReplace(Y,w,H)+" ":t+=" var "+w+" = "+H+"; "+Y+" ",t+=" if (!"+m+") { errors = "+u+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+d+"["+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=d+"["+y+"]";p.dataPathArr[I]=y;var Y=e.validate(p);p.baseId=M,e.util.varOccurences(Y,w)<2?t+=" "+e.util.varReplace(Y,w,H)+" ":t+=" var "+w+" = "+H+"; "+Y+" ",c&&(t+=" if (!"+m+") break; ")}e.errorPath=A}O&&(t+=" } "),t+=" } ",c&&(t+=" if ("+m+") { ",f+="}")}var ge=e.opts.useDefaults&&!e.compositeRule;if(S.length){var be=S;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 Ve=e.util.getProperty(Q),H=d+Ve,mt=ge&&le.default!==void 0;p.schema=le,p.schemaPath=s+Ve,p.errSchemaPath=l+"/"+e.util.escapeFragment(Q),p.errorPath=e.util.getPath(e.errorPath,Q,e.opts.jsonPointers),p.dataPathArr[I]=e.util.toQuotedString(Q);var Y=e.validate(p);if(p.baseId=M,e.util.varOccurences(Y,w)<2){Y=e.util.varReplace(Y,w,H);var ve=H}else{var ve=w;t+=" var "+w+" = "+H+"; "}if(mt)t+=" "+Y+" ";else{if(Z&&Z[Q]){t+=" if ( "+ve+" === undefined ",B&&(t+=" || ! Object.prototype.hasOwnProperty.call("+d+", '"+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: "+d+" "),t+=" } "):t+=" {} ";var _=t;t=z.pop(),!e.compositeRule&&c?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 c?(t+=" if ( "+ve+" === undefined ",B&&(t+=" || ! Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(Q)+"') "),t+=") { "+m+" = true; } else { "):(t+=" if ("+ve+" !== undefined ",B&&(t+=" && Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(Q)+"') "),t+=" ) { ");t+=" "+Y+" } "}}c&&(t+=" if ("+m+") { ",f+="}")}}if(E.length){var Se=E;if(Se)for(var xe,Lr=-1,Xi=Se.length-1;Lr<Xi;){xe=Se[Lr+=1];var le=C[xe];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(xe),p.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(xe),B?t+=" "+F+" = "+F+" || Object.keys("+d+"); for (var "+b+"=0; "+b+"<"+F+".length; "+b+"++) { var "+y+" = "+F+"["+b+"]; ":t+=" for (var "+y+" in "+d+") { ",t+=" if ("+e.usePattern(xe)+".test("+y+")) { ",p.errorPath=e.util.getPathExpr(e.errorPath,y,e.opts.jsonPointers);var H=d+"["+y+"]";p.dataPathArr[I]=y;var Y=e.validate(p);p.baseId=M,e.util.varOccurences(Y,w)<2?t+=" "+e.util.varReplace(Y,w,H)+" ":t+=" var "+w+" = "+H+"; "+Y+" ",c&&(t+=" if (!"+m+") break; "),t+=" } ",c&&(t+=" else "+m+" = true; "),t+=" } ",c&&(t+=" if ("+m+") { ",f+="}")}}}return c&&(t+=" "+f+" if ("+u+" == errors) {"),t}),Gp}var Qp,Kp;function lx(){return Kp||(Kp=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,c=!e.opts.allErrors,d="data"+(o||""),u="errs__"+a,p=e.util.copy(e),f="";p.level++;var m="valid"+p.level;if(t+="var "+u+" = 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,w="' + "+y+" + '",F=p.dataLevel=e.dataLevel+1,S="data"+F,C="dataProperties"+a,E=e.opts.ownProperties,P=e.baseId;E&&(t+=" var "+C+" = undefined; "),E?t+=" "+C+" = "+C+" || Object.keys("+d+"); for (var "+b+"=0; "+b+"<"+C+".length; "+b+"++) { var "+y+" = "+C+"["+b+"]; ":t+=" for (var "+y+" in "+d+") { ",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,S)<2?t+=" "+e.util.varReplace(x,S,O)+" ":t+=" var "+S+" = "+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: '"+w+"' } ",e.opts.messages!==!1&&(t+=" , message: 'property name \\'"+w+"\\' is invalid' "),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&&c&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; "),c&&(t+=" break; "),t+=" } }"}return c&&(t+=" "+f+" if ("+u+" == errors) {"),t}),Qp}var Jp,Zp;function px(){return Zp||(Zp=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,c=!e.opts.allErrors,d="data"+(o||""),u="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 w=e.schema.properties[y];w&&(e.opts.strictKeywords?typeof w=="object"&&Object.keys(w).length>0||w===!1:e.util.schemaHasRules(w,e.RULES.all))||(F[F.length]=y)}}else var F=n;if(p||F.length){var S=e.errorPath,C=p||F.length>=e.opts.loopRequired,E=e.opts.ownProperties;if(c)if(t+=" var missing"+a+"; ",C){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(S,O,e.opts.jsonPointers)),t+=" var "+u+" = true; ",p&&(t+=" if (schema"+a+" === undefined) "+u+" = true; else if (!Array.isArray(schema"+a+")) "+u+" = false; else {"),t+=" for (var "+P+" = 0; "+P+" < "+f+".length; "+P+"++) { "+u+" = "+d+"["+f+"["+P+"]] !== undefined ",E&&(t+=" && Object.prototype.hasOwnProperty.call("+d+", "+f+"["+P+"]) "),t+="; if (!"+u+") break; } ",p&&(t+=" } "),t+=" if (!"+u+") { ";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: "+d+" "),t+=" } "):t+=" {} ";var T=t;t=x.pop(),!e.compositeRule&&c?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+=" } 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=d+J;t+=" ( ( "+Z+" === undefined ",E&&(t+=" || ! Object.prototype.hasOwnProperty.call("+d+", '"+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(S,O,!0):S+" + "+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: "+d+" "),t+=" } "):t+=" {} ";var T=t;t=x.pop(),!e.compositeRule&&c?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+=" } else { "}else if(C){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(S,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: "+d+" "),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 ("+d+"["+f+"["+P+"]] === undefined ",E&&(t+=" || ! Object.prototype.hasOwnProperty.call("+d+", "+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: "+d+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ",p&&(t+=" } ")}else{var K=F;if(K)for(var B,X=-1,Q=K.length-1;X<Q;){B=K[X+=1];var J=e.util.getProperty(B),j=e.util.escapeQuotes(B),Z=d+J;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(S,B,e.opts.jsonPointers)),t+=" if ( "+Z+" === undefined ",E&&(t+=" || ! Object.prototype.hasOwnProperty.call("+d+", '"+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: "+d+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}e.errorPath=S}else c&&(t+=" if (true) {");return t}),Jp}var Xp,Yp;function dx(){return Yp||(Yp=1,Xp=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,c=!e.opts.allErrors,d="data"+(o||""),u="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 "+u+"; if ("+f+" === false || "+f+" === undefined) "+u+" = true; else if (typeof "+f+" != 'boolean') "+u+" = false; else { "),t+=" var i = "+d+".length , "+u+" = 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("+d+"[i], "+d+"[j])) { "+u+" = false; break outer; } } } ";else{t+=" var itemIndices = {}, item; for (;i--;) { var item = "+d+"[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') { "+u+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}t+=" } ",p&&(t+=" } "),t+=" if (!"+u+") { ";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: "+d+" "),t+=" } "):t+=" {} ";var w=t;t=I.pop(),!e.compositeRule&&c?e.async?t+=" throw new ValidationError(["+w+"]); ":t+=" validate.errors = ["+w+"]; return false; ":t+=" var err = "+w+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",c&&(t+=" else { ")}else c&&(t+=" if (true) { ");return t}),Xp}var ed,td;function cx(){return td||(td=1,ed={$ref:Gw(),allOf:Hw(),anyOf:Qw(),$comment:Kw(),const:Jw(),contains:Zw(),dependencies:Xw(),enum:Yw(),format:ex(),if:tx(),items:rx(),maximum:Fp(),minimum:Fp(),maxItems:Lp(),minItems:Lp(),maxLength:jp(),minLength:jp(),maxProperties:kp(),minProperties:kp(),multipleOf:ix(),not:ax(),oneOf:ox(),pattern:nx(),properties:sx(),propertyNames:lx(),required:px(),uniqueItems:dx(),validate:zd()}),ed}var $a,rd;function ux(){if(rd)return $a;rd=1;var e=cx(),r=Er().toHash;return $a=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 c=Object.keys(s)[0];l=s[c],s=c,l.forEach(function(u){t.push(u),i.all[u]=!0})}t.push(s);var d=i.all[s]={keyword:s,code:e[s],implements:l};return d}),i.all.$comment={keyword:"$comment",code:e.$comment},n.type&&(i.types[n.type]=n)}),i.keywords=r(t.concat(a)),i.custom={},i},$a}var ja,id;function fx(){if(id)return ja;id=1;var e=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];return ja=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},ja}var Ra,ad;function hx(){if(ad)return Ra;ad=1;var e=ro().MissingRef;Ra=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 c=o._addSchema(i,void 0,t);return c.validate||l(c)});return a&&n.then(function(c){a(null,c)},a),n;function s(c){var d=c.$schema;return d&&!o.getSchema(d)?r.call(o,{$ref:d},!0):Promise.resolve()}function l(c){try{return o._compile(c)}catch(u){if(u instanceof e)return d(u);throw u}function d(u){var p=u.missingSchema;if(y(p))throw new Error("Schema "+p+" is loaded but "+u.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(c)});function m(){delete o._loadingSchemas[p]}function y(b){return o._refs[b]||o._schemas[b]}}}}return Ra}var od,nd;function mx(){return nd||(nd=1,od=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,c=!e.opts.allErrors,d,u="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,w=b.definition,F="",S,C,E,P,O;if(m&&w.$data){O="keywordValidate"+a;var j=w.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,S=w.compile,C=w.inline,E=w.macro}var x=O+".errors",T="i"+a,k="ruleErr"+a,B=w.async;if(B&&!e.async)throw new Error("async keyword in sync schema");if(C||E||(t+=""+x+" = null;"),t+="var "+f+" = errors;var "+p+";",m&&w.$data&&(F+="}",t+=" if ("+y+" === undefined) { "+p+" = true; } else { ",j&&(F+="}",t+=" "+p+" = "+I+".validateSchema("+y+"); if ("+p+") { ")),C)w.statements?t+=" "+P.validate+" ":t+=" "+p+" = "+P.validate+"; ";else if(E){var M=e.util.copy(e),F="";M.level++;var J="valid"+M.level;M.schema=P.validate,M.schemaPath="";var Z=e.compositeRule;e.compositeRule=M.compositeRule=!0;var K=e.validate(M).replace(/validate\.schema/g,O);e.compositeRule=M.compositeRule=Z,t+=" "+K}else{var X=X||[];X.push(t),t="",t+=" "+O+".call( ",e.opts.passContext?t+="this":t+="self",S||w.schema===!1?t+=" , "+u+" ":t+=" , "+y+" , "+u+" , validate.schema"+e.schemaPath+" ",t+=" , (dataPath || '')",e.errorPath!='""'&&(t+=" + "+e.errorPath);var Q=o?"data"+(o-1||""):"parentData",fe=o?e.dataPathArr[o]:"parentDataProperty";t+=" , "+Q+" , "+fe+" , rootData ) ";var $e=t;t=X.pop(),w.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(w.modifying&&(t+=" if ("+Q+") "+u+" = "+Q+"["+fe+"];"),t+=""+F,w.valid)c&&(t+=" if (true) { ");else{t+=" if ( ",w.valid===void 0?(t+=" !",E?t+=""+J:t+=""+p):t+=" "+!w.valid+" ",t+=") { ",d=b.keyword;var X=X||[];X.push(t),t="";var X=X||[];X.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(d||"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: "+u+" "),t+=" } "):t+=" {} ";var Ee=t;t=X.pop(),!e.compositeRule&&c?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 xe=t;t=X.pop(),C?w.errors?w.errors!="full"&&(t+=" for (var "+T+"="+f+"; "+T+"<errors; "+T+"++) { var "+k+" = vErrors["+T+"]; 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 = "+u+"; "),t+=" } "):w.errors===!1?t+=" "+xe+" ":(t+=" if ("+f+" == errors) { "+xe+" } else { for (var "+T+"="+f+"; "+T+"<errors; "+T+"++) { var "+k+" = vErrors["+T+"]; 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 = "+u+"; "),t+=" } } "):E?(t+=" var err = ",e.createErrors!==!1?(t+=" { keyword: '"+(d||"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: "+u+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&c&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; ")):w.errors===!1?t+=" "+xe+" ":(t+=" if (Array.isArray("+x+")) { if (vErrors === null) vErrors = "+x+"; else vErrors = vErrors.concat("+x+"); errors = vErrors.length; for (var "+T+"="+f+"; "+T+"<errors; "+T+"++) { var "+k+" = vErrors["+T+"]; if ("+k+".dataPath === undefined) "+k+".dataPath = (dataPath || '') + "+e.errorPath+"; "+k+'.schemaPath = "'+l+'"; ',e.opts.verbose&&(t+=" "+k+".schema = "+y+"; "+k+".data = "+u+"; "),t+=" } } else { "+xe+" } "),t+=" } ",c&&(t+=" else { ")}return t}),od}var yx="http://json-schema.org/draft-07/schema#",gx="http://json-schema.org/draft-07/schema#",bx="Core schema meta-schema",vx={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:[]}},Sx=["object","boolean"],wx={$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:"#"}},Vd={$schema:yx,$id:gx,title:bx,definitions:vx,type:Sx,properties:wx,default:!0},_a,sd;function xx(){if(sd)return _a;sd=1;var e=Vd;return _a={$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"}]}}},_a}var ka,ld;function Ix(){if(ld)return ka;ld=1;var e=/^[a-z_$][a-z0-9_$-]*$/i,r=mx(),i=xx();ka={add:t,get:a,remove:o,validate:n};function t(s,l){var c=this.RULES;if(c.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 d=l.type;if(Array.isArray(d))for(var u=0;u<d.length;u++)f(s,d[u],l);else f(s,d,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))}c.keywords[s]=c.all[s]=!0;function f(m,y,b){for(var I,w=0;w<c.length;w++){var F=c[w];if(F.type==y){I=F;break}}I||(I={type:y,rules:[]},c.push(I));var S={keyword:m,definition:b,custom:!0,code:r,implements:b.implements};I.rules.push(S),c.custom[m]=S}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 c=0;c<l.length;c++)for(var d=l[c].rules,u=0;u<d.length;u++)if(d[u].keyword==s){d.splice(u,1);break}return this}function n(s,l){n.errors=null;var c=this._validateKeyword=this._validateKeyword||this.compile(i,!0);if(c(s))return!0;if(n.errors=c.errors,l)throw new Error("custom keyword definition is invalid: "+this.errorsText(c.errors));return!1}return ka}var Cx="http://json-schema.org/draft-07/schema#",Tx="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",Ax="Meta-schema for $data reference (JSON Schema extension proposal)",Px="object",Fx=["$data"],Ox={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},Ex=!1,Lx={$schema:Cx,$id:Tx,description:Ax,type:Px,required:Fx,properties:Ox,additionalProperties:Ex},Ba,pd;function Dx(){if(pd)return Ba;pd=1;var e=zw(),r=to(),i=Vw(),t=Nd(),a=Wd(),o=Uw(),n=ux(),s=fx(),l=Er();Ba=m,m.prototype.validate=y,m.prototype.compile=b,m.prototype.addSchema=I,m.prototype.addMetaSchema=w,m.prototype.validateSchema=F,m.prototype.getSchema=C,m.prototype.removeSchema=O,m.prototype.addFormat=K,m.prototype.errorsText=Z,m.prototype._addSchema=x,m.prototype._compile=T,m.prototype.compileAsync=hx();var c=Ix();m.prototype.addKeyword=c.add,m.prototype.getKeyword=c.get,m.prototype.removeKeyword=c.remove,m.prototype.validateKeyword=c.validate;var d=ro();m.ValidationError=d.Validation,m.MissingRefError=d.MissingRef,m.$dataMetaSchema=s;var u="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=xe(this),A.formats&&fe(this),A.keywords&&$e(this),X(this),typeof A.meta=="object"&&this.addMetaSchema(A.meta),A.nullable&&this.addKeyword("nullable",{metaSchema:{type:"boolean"}}),Q(this)}function y(A,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 w(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||S(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 S(A){var R=A._opts.meta;return A._opts.defaultMeta=typeof R=="object"?A._getId(R)||R:A.getSchema(u)?u:void 0,A._opts.defaultMeta}function C(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 Y=r.normalizeId(this._getId(A));Y&&z&&Ee(this,Y);var ge=this._opts.validateSchema!==!1&&!R,be;ge&&!(be=Y&&Y==r.normalizeId(A.$schema))&&this.validateSchema(A,!0);var ne=r.ids.call(this,A),ae=new t({id:Y,schema:A,localRefs:ne,cacheKey:W,meta:N});return Y[0]!="#"&&z&&(this._refs[Y]=ae),this._cache.put(W,ae),ge&&be&&this.validateSchema(A,!0),ae}function T(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 X(A){var R;if(A._opts.$data&&(R=Lx,A.addMetaSchema(R,R.$id,!0)),A._opts.meta!==!1){var N=Vd;A._opts.$data&&(N=s(N,f)),A.addMetaSchema(N,u,!0),A._refs["http://json-schema.org/schema"]=u}}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 xe(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:ze,warn:ze,error:ze};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 ze(){}return Ba}var $x=Dx(),jx=Bw($x),Ud={NonNumericAggregation:"nonNumericAggregation",DuplicateSeriesID:"duplicateSeriesId"},_t={Required:"required",MinLength:"minLength",MinItems:"minItems",MaxItems:"maxItems",Pattern:"pattern",AdditionalProperties:"additionalProperties",Enum:"enum",AnyOf:"anyOf"},Xj={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 Rx(e){let r=e.lastIndexOf("/");return r!==-1?e.slice(r+1):e}async function _x(e){let r=await ft();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=Kt.definitions.WebChart.properties.legend.anyOf.map(n=>Rx(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 kx(e){let r,i=await ft(),t=qe(e);try{await t.load()}catch{let a=t?.url??"",o=Re(t)?.portalItem?.id??"";r={keyword:qt.LayerLoadFailure,message:Ze(i.layerLoadFailure,{url:a,portalItemId:o}),params:{url:a,portalItemId:o}}}return r}function Bx(){let e=new jx({allErrors:!0});return async r=>{let i=[],t=Me(r?.series),a=Kt;switch(t){case L.GaugeSeries:a=Ni(Kt,"WebGaugeChart");break;case L.BoxPlotSeries:a=Ni(Kt,"WebBoxPlot");break;case L.RadarSeries:a=Ni(Kt,"WebRadarChart");break;default:a=Ni(Kt,"WebChart");break}let o=e.compile(a);return o(r),o.errors!==null&&o.errors!==void 0&&(i=await _x(o.errors)),i}}var qx=Bx();async function Mx(e){let{seriesConfigs:r,queryObject:i,allowUsingObjectIdStat:t}=e,a=[],o=await Zi(i),n=await ft();for(let s=0;s<r.length;s+=1){let l=r[s].query?.outStatistics;if(l!==void 0)for(let c=0;c<l.length;c+=1){let d=l[c],u=Ya(d.onStatisticField,o);if(u&&!(u.type===ke.OID&&t||Md(u))&&d.statisticType!==Ie.Count){let p=`series[${s}].query.outStatistics[${c}]`;a.push({keyword:Ud.NonNumericAggregation,message:Ze(n.nonNumericAggregation,{dataPath:p}),dataPath:p,params:{fieldName:d.onStatisticField,fieldType:u.type,aggregationRequested:d.statisticType}})}}}return a}async function Nx(e){let r=[],i=await ft();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:Ud.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 Wx(e){let r=new Set,i=iw(e);if(i){let t=Me(e.series),a=Ct(e.series);t===L.GaugeSeries&&!pw(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=[Ua,ei,So,oa,wo,Xt.outStatistics.outStatisticFieldName??""],s=[];if(t===L.BoxPlotSeries?s=uw({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:c}=l;c&&(Fr(c.where)||r.add(Qa(c.where)),c.groupByFieldsForStatistics&&c.groupByFieldsForStatistics.forEach(d=>r.add(d)),c.outStatistics&&c.outStatistics.forEach(d=>r.add(d.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=>!ut(t))}async function zx(e,r){let i,t=await ft(),a=await Zi(r),o=Wx(e).filter(n=>!Ya(n,a));if(o.length>0){let n=o.join(", ");i={keyword:qt.LayerFieldsNotFound,message:Ze(t.layerFieldsNotFound,{fieldNames:n}),params:n}}return i}async function Vx(e){let{input:r,queryObject:i,allowUsingObjectIdStat:t}=e,a=[];if(i!==void 0){let o=await Mx({seriesConfigs:r.series,queryObject:i,allowUsingObjectIdStat:t});a=a.concat(o)}return a=a.concat(await Nx(r)),a}async function Ux(e,r){let i=[];if(e!==void 0){let t=await kx(e);if(t!==void 0)i=i.concat(t);else if(r!==void 0){let a=await zx(r,e);a!==void 0&&(i=i.concat(a))}}return i}async function Yj(e){let{input:r,queryObject:i,allowUsingObjectIdStat:t}=e,a;if(rw(r?.version).versionStatus===Tt.Newer)a={valid:!0,schemaErrors:[],customErrors:[],warnings:[]};else{let o=await qx(r),n=[],s=[];r!==void 0&&o.length===0&&(s=await Ux(i,r),s.length===0&&(n=await Vx({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 eR(e){let r=Me(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;Ct(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;Ct(t)===V.BarAndLineFromFields?i=(t?.[0]?.query?.outStatistics?.length??0)===0:i=(t?.[0]?.x?.trim()?.length??0)===0;break}}return i}var tR=[{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]}],rR="${ groupByFieldsForStatistics } WHEN ${ dateField }>='${ startDate }' AND ${ dateField }${ endDateOperand }'${ endDate }' THEN '${ y }|${ binIndex}'";return{a:It,b:ke,c:nr,d:ia,e:sr,f:Xr,g:aa,h:Be,i:Gx,j:Hx,k:Qx,l:Yr,m:ei,n:oa,o:So,p:wo,q:lt,r:se,s:we,t:ri,u:ua,v:Lb,w:Bm,x:Vm,y:by,z:Cy,A:xs,B:Mb,C:da,D:Wb,E:og,F:Jg,G:Nr,H:pv,I:Cl,J:Tl,K:Al,L:Pl,M:Fl,N:Dl,O:q,P:Ze,Q:hd,R:v$,S:S$,T:w$,U:x$,V:ht,W:md,X:te,Y:I$,Z:C$,_:Xt,$:Fv,aa:T$,ba:at,ca:Ev,da:A$,ea:P$,fa:F$,ga:Ua,ha:Lv,ia:ct,ja:gd,ka:O$,la:Ki,ma:pe,na:bd,oa:ie,pa:Gr,qa:$v,ra:E$,sa:Ma,ta:L$,ua:D$,va:Yt,wa:ki,xa:$$,ya:jv,za:Rv,Aa:_v,Ba:j$,Ca:kv,Da:Or,Ea:qv,Fa:Nv,Ga:R$,Ha:Wv,Ia:_$,Ja:k$,Ka:zv,La:Vv,Ma:B$,Na:q$,Oa:zr,Pa:M$,Qa:N$,Ra:W$,Sa:z$,Ta:V$,Ua:U$,Va:G$,Wa:Uv,Xa:Gv,Ya:Hv,Za:H$,_a:Qv,$a:Q$,ab:K$,bb:J$,cb:Kv,db:Z$,eb:X$,fb:Jv,gb:Zv,hb:Y$,ib:ej,jb:V,kb:tj,lb:rj,mb:ij,nb:aj,ob:VS,pb:HS,qb:$d,rb:oj,sb:nj,tb:sj,ub:lj,vb:pj,wb:ut,xb:ZS,yb:dj,zb:cj,Ab:uj,Bb:fj,Cb:hj,Db:mj,Eb:yj,Fb:gj,Gb:bj,Hb:vj,Ib:Sj,Jb:XS,Kb:YS,Lb:rw,Mb:iw,Nb:wj,Ob:Qa,Pb:Hr,Qb:Fr,Rb:xj,Sb:Ct,Tb:Ij,Ub:sw,Vb:ye,Wb:lw,Xb:pw,Yb:Cj,Zb:dw,_b:Hi,$b:Ca,ac:Qi,bc:uw,cc:fw,dc:Tj,ec:mw,fc:Aj,gc:Bt,hc:qt,ic:Pj,jc:Ka,kc:Fj,lc:Re,mc:Rd,nc:Oj,oc:Ej,pc:qe,qc:Lj,rc:Vr,sc:Dj,tc:xw,uc:$j,vc:jj,wc:Rj,xc:Cw,yc:_j,zc:kj,Ac:Tw,Bc:Bj,Cc:Ur,Dc:Za,Ec:qj,Fc:jw,Gc:Mj,Hc:Zi,Ic:Nj,Jc:Md,Kc:Wj,Lc:zj,Mc:Vj,Nc:Uj,Oc:Gj,Pc:Hj,Qc:Qj,Rc:Kj,Sc:kw,Tc:Jj,Uc:Zj,Vc:Ud,Wc:Xj,Xc:Yj,Yc:eR,Zc:tR,_c:rR}},"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")