@atxp/client 0.10.3 → 0.10.5

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 (722) hide show
  1. package/dist/_virtual/additionalItems.js +4 -0
  2. package/dist/_virtual/additionalItems.js.map +1 -0
  3. package/dist/_virtual/additionalItems2.js +4 -0
  4. package/dist/_virtual/additionalItems2.js.map +1 -0
  5. package/dist/_virtual/additionalProperties.js +4 -0
  6. package/dist/_virtual/additionalProperties.js.map +1 -0
  7. package/dist/_virtual/additionalProperties2.js +4 -0
  8. package/dist/_virtual/additionalProperties2.js.map +1 -0
  9. package/dist/_virtual/ajv.js +1 -1
  10. package/dist/_virtual/ajv2.js +4 -0
  11. package/dist/_virtual/ajv2.js.map +1 -0
  12. package/dist/_virtual/ajv3.js +4 -0
  13. package/dist/_virtual/ajv3.js.map +1 -0
  14. package/dist/_virtual/allOf.js +4 -0
  15. package/dist/_virtual/allOf.js.map +1 -0
  16. package/dist/_virtual/allOf2.js +4 -0
  17. package/dist/_virtual/allOf2.js.map +1 -0
  18. package/dist/_virtual/anyOf.js +4 -0
  19. package/dist/_virtual/anyOf.js.map +1 -0
  20. package/dist/_virtual/anyOf2.js +4 -0
  21. package/dist/_virtual/anyOf2.js.map +1 -0
  22. package/dist/_virtual/applicability.js +4 -0
  23. package/dist/_virtual/applicability.js.map +1 -0
  24. package/dist/_virtual/applicability2.js +4 -0
  25. package/dist/_virtual/applicability2.js.map +1 -0
  26. package/dist/_virtual/boolSchema.js +4 -0
  27. package/dist/_virtual/boolSchema.js.map +1 -0
  28. package/dist/_virtual/boolSchema2.js +4 -0
  29. package/dist/_virtual/boolSchema2.js.map +1 -0
  30. package/dist/_virtual/code.js +4 -0
  31. package/dist/_virtual/code.js.map +1 -0
  32. package/dist/_virtual/code2.js +4 -0
  33. package/dist/_virtual/code2.js.map +1 -0
  34. package/dist/_virtual/code3.js +4 -0
  35. package/dist/_virtual/code3.js.map +1 -0
  36. package/dist/_virtual/code4.js +4 -0
  37. package/dist/_virtual/code4.js.map +1 -0
  38. package/dist/_virtual/const.js +4 -0
  39. package/dist/_virtual/const.js.map +1 -0
  40. package/dist/_virtual/const2.js +4 -0
  41. package/dist/_virtual/const2.js.map +1 -0
  42. package/dist/_virtual/contains.js +4 -0
  43. package/dist/_virtual/contains.js.map +1 -0
  44. package/dist/_virtual/contains2.js +4 -0
  45. package/dist/_virtual/contains2.js.map +1 -0
  46. package/dist/_virtual/core.js +4 -0
  47. package/dist/_virtual/core.js.map +1 -0
  48. package/dist/_virtual/core2.js +4 -0
  49. package/dist/_virtual/core2.js.map +1 -0
  50. package/dist/_virtual/dataType.js +4 -0
  51. package/dist/_virtual/dataType.js.map +1 -0
  52. package/dist/_virtual/dataType2.js +4 -0
  53. package/dist/_virtual/dataType2.js.map +1 -0
  54. package/dist/_virtual/defaults.js +4 -0
  55. package/dist/_virtual/defaults.js.map +1 -0
  56. package/dist/_virtual/defaults2.js +4 -0
  57. package/dist/_virtual/defaults2.js.map +1 -0
  58. package/dist/_virtual/dependencies.js +4 -0
  59. package/dist/_virtual/dependencies.js.map +1 -0
  60. package/dist/_virtual/dependencies2.js +4 -0
  61. package/dist/_virtual/dependencies2.js.map +1 -0
  62. package/dist/_virtual/draft7.js +4 -0
  63. package/dist/_virtual/draft7.js.map +1 -0
  64. package/dist/_virtual/draft72.js +4 -0
  65. package/dist/_virtual/draft72.js.map +1 -0
  66. package/dist/_virtual/enum.js +4 -0
  67. package/dist/_virtual/enum.js.map +1 -0
  68. package/dist/_virtual/enum2.js +4 -0
  69. package/dist/_virtual/enum2.js.map +1 -0
  70. package/dist/_virtual/equal.js +4 -0
  71. package/dist/_virtual/equal.js.map +1 -0
  72. package/dist/_virtual/equal2.js +4 -0
  73. package/dist/_virtual/equal2.js.map +1 -0
  74. package/dist/_virtual/errors.js +4 -0
  75. package/dist/_virtual/errors.js.map +1 -0
  76. package/dist/_virtual/errors2.js +4 -0
  77. package/dist/_virtual/errors2.js.map +1 -0
  78. package/dist/_virtual/format.js +4 -0
  79. package/dist/_virtual/format.js.map +1 -0
  80. package/dist/_virtual/format2.js +4 -0
  81. package/dist/_virtual/format2.js.map +1 -0
  82. package/dist/_virtual/formats.js +4 -0
  83. package/dist/_virtual/formats.js.map +1 -0
  84. package/dist/_virtual/id.js +4 -0
  85. package/dist/_virtual/id.js.map +1 -0
  86. package/dist/_virtual/id2.js +4 -0
  87. package/dist/_virtual/id2.js.map +1 -0
  88. package/dist/_virtual/if.js +4 -0
  89. package/dist/_virtual/if.js.map +1 -0
  90. package/dist/_virtual/if2.js +4 -0
  91. package/dist/_virtual/if2.js.map +1 -0
  92. package/dist/_virtual/index.js +6 -2
  93. package/dist/_virtual/index.js.map +1 -1
  94. package/dist/_virtual/index10.js +4 -0
  95. package/dist/_virtual/index10.js.map +1 -0
  96. package/dist/_virtual/index11.js +4 -0
  97. package/dist/_virtual/index11.js.map +1 -0
  98. package/dist/_virtual/index12.js +4 -0
  99. package/dist/_virtual/index12.js.map +1 -0
  100. package/dist/_virtual/index13.js +4 -0
  101. package/dist/_virtual/index13.js.map +1 -0
  102. package/dist/_virtual/index14.js +4 -0
  103. package/dist/_virtual/index14.js.map +1 -0
  104. package/dist/_virtual/index15.js +4 -0
  105. package/dist/_virtual/index15.js.map +1 -0
  106. package/dist/_virtual/index16.js +4 -0
  107. package/dist/_virtual/index16.js.map +1 -0
  108. package/dist/_virtual/index17.js +4 -0
  109. package/dist/_virtual/index17.js.map +1 -0
  110. package/dist/_virtual/index18.js +4 -0
  111. package/dist/_virtual/index18.js.map +1 -0
  112. package/dist/_virtual/index19.js +4 -0
  113. package/dist/_virtual/index19.js.map +1 -0
  114. package/dist/_virtual/index2.js +4 -0
  115. package/dist/_virtual/index2.js.map +1 -0
  116. package/dist/_virtual/index20.js +4 -0
  117. package/dist/_virtual/index20.js.map +1 -0
  118. package/dist/_virtual/index21.js +4 -0
  119. package/dist/_virtual/index21.js.map +1 -0
  120. package/dist/_virtual/index3.js +4 -0
  121. package/dist/_virtual/index3.js.map +1 -0
  122. package/dist/_virtual/index4.js +4 -0
  123. package/dist/_virtual/index4.js.map +1 -0
  124. package/dist/_virtual/index5.js +4 -0
  125. package/dist/_virtual/index5.js.map +1 -0
  126. package/dist/_virtual/index6.js +4 -0
  127. package/dist/_virtual/index6.js.map +1 -0
  128. package/dist/_virtual/index7.js +4 -0
  129. package/dist/_virtual/index7.js.map +1 -0
  130. package/dist/_virtual/index8.js +4 -0
  131. package/dist/_virtual/index8.js.map +1 -0
  132. package/dist/_virtual/index9.js +4 -0
  133. package/dist/_virtual/index9.js.map +1 -0
  134. package/dist/_virtual/items.js +4 -0
  135. package/dist/_virtual/items.js.map +1 -0
  136. package/dist/_virtual/items2.js +4 -0
  137. package/dist/_virtual/items2.js.map +1 -0
  138. package/dist/_virtual/items2020.js +4 -0
  139. package/dist/_virtual/items2020.js.map +1 -0
  140. package/dist/_virtual/items20202.js +4 -0
  141. package/dist/_virtual/items20202.js.map +1 -0
  142. package/dist/_virtual/keyword.js +4 -0
  143. package/dist/_virtual/keyword.js.map +1 -0
  144. package/dist/_virtual/keyword2.js +4 -0
  145. package/dist/_virtual/keyword2.js.map +1 -0
  146. package/dist/_virtual/limit.js +4 -0
  147. package/dist/_virtual/limit.js.map +1 -0
  148. package/dist/_virtual/limitItems.js +4 -0
  149. package/dist/_virtual/limitItems.js.map +1 -0
  150. package/dist/_virtual/limitItems2.js +4 -0
  151. package/dist/_virtual/limitItems2.js.map +1 -0
  152. package/dist/_virtual/limitLength.js +4 -0
  153. package/dist/_virtual/limitLength.js.map +1 -0
  154. package/dist/_virtual/limitLength2.js +4 -0
  155. package/dist/_virtual/limitLength2.js.map +1 -0
  156. package/dist/_virtual/limitNumber.js +4 -0
  157. package/dist/_virtual/limitNumber.js.map +1 -0
  158. package/dist/_virtual/limitNumber2.js +4 -0
  159. package/dist/_virtual/limitNumber2.js.map +1 -0
  160. package/dist/_virtual/limitProperties.js +4 -0
  161. package/dist/_virtual/limitProperties.js.map +1 -0
  162. package/dist/_virtual/limitProperties2.js +4 -0
  163. package/dist/_virtual/limitProperties2.js.map +1 -0
  164. package/dist/_virtual/metadata.js +4 -0
  165. package/dist/_virtual/metadata.js.map +1 -0
  166. package/dist/_virtual/metadata2.js +4 -0
  167. package/dist/_virtual/metadata2.js.map +1 -0
  168. package/dist/_virtual/multipleOf.js +4 -0
  169. package/dist/_virtual/multipleOf.js.map +1 -0
  170. package/dist/_virtual/multipleOf2.js +4 -0
  171. package/dist/_virtual/multipleOf2.js.map +1 -0
  172. package/dist/_virtual/names.js +4 -0
  173. package/dist/_virtual/names.js.map +1 -0
  174. package/dist/_virtual/names2.js +4 -0
  175. package/dist/_virtual/names2.js.map +1 -0
  176. package/dist/_virtual/not.js +4 -0
  177. package/dist/_virtual/not.js.map +1 -0
  178. package/dist/_virtual/not2.js +4 -0
  179. package/dist/_virtual/not2.js.map +1 -0
  180. package/dist/_virtual/oneOf.js +4 -0
  181. package/dist/_virtual/oneOf.js.map +1 -0
  182. package/dist/_virtual/oneOf2.js +4 -0
  183. package/dist/_virtual/oneOf2.js.map +1 -0
  184. package/dist/_virtual/pattern.js +4 -0
  185. package/dist/_virtual/pattern.js.map +1 -0
  186. package/dist/_virtual/pattern2.js +4 -0
  187. package/dist/_virtual/pattern2.js.map +1 -0
  188. package/dist/_virtual/patternProperties.js +4 -0
  189. package/dist/_virtual/patternProperties.js.map +1 -0
  190. package/dist/_virtual/patternProperties2.js +4 -0
  191. package/dist/_virtual/patternProperties2.js.map +1 -0
  192. package/dist/_virtual/prefixItems.js +4 -0
  193. package/dist/_virtual/prefixItems.js.map +1 -0
  194. package/dist/_virtual/prefixItems2.js +4 -0
  195. package/dist/_virtual/prefixItems2.js.map +1 -0
  196. package/dist/_virtual/properties.js +4 -0
  197. package/dist/_virtual/properties.js.map +1 -0
  198. package/dist/_virtual/properties2.js +4 -0
  199. package/dist/_virtual/properties2.js.map +1 -0
  200. package/dist/_virtual/propertyNames.js +4 -0
  201. package/dist/_virtual/propertyNames.js.map +1 -0
  202. package/dist/_virtual/propertyNames2.js +4 -0
  203. package/dist/_virtual/propertyNames2.js.map +1 -0
  204. package/dist/_virtual/ref.js +4 -0
  205. package/dist/_virtual/ref.js.map +1 -0
  206. package/dist/_virtual/ref2.js +4 -0
  207. package/dist/_virtual/ref2.js.map +1 -0
  208. package/dist/_virtual/ref_error.js +4 -0
  209. package/dist/_virtual/ref_error.js.map +1 -0
  210. package/dist/_virtual/ref_error2.js +4 -0
  211. package/dist/_virtual/ref_error2.js.map +1 -0
  212. package/dist/_virtual/required.js +4 -0
  213. package/dist/_virtual/required.js.map +1 -0
  214. package/dist/_virtual/required2.js +4 -0
  215. package/dist/_virtual/required2.js.map +1 -0
  216. package/dist/_virtual/resolve.js +4 -0
  217. package/dist/_virtual/resolve.js.map +1 -0
  218. package/dist/_virtual/resolve2.js +4 -0
  219. package/dist/_virtual/resolve2.js.map +1 -0
  220. package/dist/_virtual/rules.js +4 -0
  221. package/dist/_virtual/rules.js.map +1 -0
  222. package/dist/_virtual/rules2.js +4 -0
  223. package/dist/_virtual/rules2.js.map +1 -0
  224. package/dist/_virtual/scope.js +4 -0
  225. package/dist/_virtual/scope.js.map +1 -0
  226. package/dist/_virtual/scope2.js +4 -0
  227. package/dist/_virtual/scope2.js.map +1 -0
  228. package/dist/_virtual/subschema.js +4 -0
  229. package/dist/_virtual/subschema.js.map +1 -0
  230. package/dist/_virtual/subschema2.js +4 -0
  231. package/dist/_virtual/subschema2.js.map +1 -0
  232. package/dist/_virtual/thenElse.js +4 -0
  233. package/dist/_virtual/thenElse.js.map +1 -0
  234. package/dist/_virtual/thenElse2.js +4 -0
  235. package/dist/_virtual/thenElse2.js.map +1 -0
  236. package/dist/_virtual/types.js +4 -0
  237. package/dist/_virtual/types.js.map +1 -0
  238. package/dist/_virtual/types2.js +4 -0
  239. package/dist/_virtual/types2.js.map +1 -0
  240. package/dist/_virtual/ucs2length.js +4 -0
  241. package/dist/_virtual/ucs2length.js.map +1 -0
  242. package/dist/_virtual/ucs2length2.js +4 -0
  243. package/dist/_virtual/ucs2length2.js.map +1 -0
  244. package/dist/_virtual/uniqueItems.js +4 -0
  245. package/dist/_virtual/uniqueItems.js.map +1 -0
  246. package/dist/_virtual/uniqueItems2.js +4 -0
  247. package/dist/_virtual/uniqueItems2.js.map +1 -0
  248. package/dist/_virtual/uri.js +4 -0
  249. package/dist/_virtual/uri.js.map +1 -0
  250. package/dist/_virtual/uri2.js +4 -0
  251. package/dist/_virtual/uri2.js.map +1 -0
  252. package/dist/_virtual/util.js +4 -0
  253. package/dist/_virtual/util.js.map +1 -0
  254. package/dist/_virtual/util2.js +4 -0
  255. package/dist/_virtual/util2.js.map +1 -0
  256. package/dist/_virtual/validation_error.js +4 -0
  257. package/dist/_virtual/validation_error.js.map +1 -0
  258. package/dist/_virtual/validation_error2.js +4 -0
  259. package/dist/_virtual/validation_error2.js.map +1 -0
  260. package/dist/atxpFetcher.d.ts.map +1 -1
  261. package/dist/atxpFetcher.js +19 -3
  262. package/dist/atxpFetcher.js.map +1 -1
  263. package/dist/index.cjs +20003 -11644
  264. package/dist/index.cjs.map +1 -1
  265. package/dist/index.d.ts +3 -1
  266. package/dist/index.js +20003 -11644
  267. package/dist/index.js.map +1 -1
  268. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth.js +277 -202
  269. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth.js.map +1 -1
  270. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/client/index.js +399 -65
  271. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/client/index.js.map +1 -1
  272. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/client/streamableHttp.js +195 -93
  273. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/client/streamableHttp.js.map +1 -1
  274. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/client.js +187 -0
  275. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/client.js.map +1 -0
  276. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js +60 -0
  277. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js.map +1 -0
  278. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js +18 -0
  279. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js.map +1 -0
  280. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/errors.js +25 -17
  281. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/errors.js.map +1 -1
  282. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js +85 -0
  283. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js.map +1 -0
  284. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js +30 -0
  285. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js.map +1 -0
  286. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth-utils.js +3 -3
  287. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth-utils.js.map +1 -1
  288. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth.js +129 -123
  289. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth.js.map +1 -1
  290. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js +785 -114
  291. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js.map +1 -1
  292. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/transport.js +41 -0
  293. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/transport.js.map +1 -0
  294. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js +1207 -513
  295. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js.map +1 -1
  296. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js +90 -0
  297. package/dist/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js.map +1 -0
  298. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/ajv.js +71 -0
  299. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/ajv.js.map +1 -0
  300. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/codegen/code.js +169 -0
  301. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/codegen/code.js.map +1 -0
  302. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/codegen/index.js +712 -0
  303. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/codegen/index.js.map +1 -0
  304. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/codegen/scope.js +157 -0
  305. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -0
  306. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/errors.js +139 -0
  307. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/errors.js.map +1 -0
  308. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/index.js +259 -0
  309. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/index.js.map +1 -0
  310. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/names.js +40 -0
  311. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/names.js.map +1 -0
  312. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/ref_error.js +24 -0
  313. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/ref_error.js.map +1 -0
  314. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/resolve.js +169 -0
  315. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/resolve.js.map +1 -0
  316. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/rules.js +37 -0
  317. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/rules.js.map +1 -0
  318. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/util.js +191 -0
  319. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/util.js.map +1 -0
  320. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/applicability.js +30 -0
  321. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -0
  322. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/boolSchema.js +64 -0
  323. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -0
  324. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/dataType.js +219 -0
  325. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -0
  326. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/defaults.js +48 -0
  327. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -0
  328. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/index.js +541 -0
  329. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/index.js.map +1 -0
  330. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/keyword.js +139 -0
  331. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -0
  332. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/subschema.js +94 -0
  333. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -0
  334. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/core.js +642 -0
  335. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/core.js.map +1 -0
  336. package/dist/node_modules/{ajv/lib → @modelcontextprotocol/sdk/node_modules/ajv/dist}/refs/data.json.js +3 -5
  337. package/dist/node_modules/{ajv/lib → @modelcontextprotocol/sdk/node_modules/ajv/dist}/refs/data.json.js.map +1 -1
  338. package/dist/node_modules/{ajv/lib → @modelcontextprotocol/sdk/node_modules/ajv/dist}/refs/json-schema-draft-07.json.js +2 -2
  339. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/runtime/equal.js +19 -0
  340. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/runtime/equal.js.map +1 -0
  341. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/runtime/ucs2length.js +35 -0
  342. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -0
  343. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/runtime/uri.js +18 -0
  344. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/runtime/uri.js.map +1 -0
  345. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/runtime/validation_error.js +22 -0
  346. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/runtime/validation_error.js.map +1 -0
  347. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +62 -0
  348. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -0
  349. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +121 -0
  350. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -0
  351. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/allOf.js +35 -0
  352. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -0
  353. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +24 -0
  354. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -0
  355. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/contains.js +108 -0
  356. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -0
  357. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +101 -0
  358. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -0
  359. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/if.js +79 -0
  360. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -0
  361. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/index.js +71 -0
  362. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -0
  363. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/items.js +66 -0
  364. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -0
  365. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/items2020.js +45 -0
  366. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -0
  367. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/not.js +38 -0
  368. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -0
  369. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +73 -0
  370. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -0
  371. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +89 -0
  372. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -0
  373. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +24 -0
  374. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -0
  375. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/properties.js +69 -0
  376. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -0
  377. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +51 -0
  378. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -0
  379. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +25 -0
  380. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -0
  381. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/code.js +145 -0
  382. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/code.js.map +1 -0
  383. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/core/id.js +21 -0
  384. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -0
  385. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/core/index.js +29 -0
  386. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -0
  387. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/core/ref.js +139 -0
  388. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -0
  389. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/discriminator/index.js +120 -0
  390. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -0
  391. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/discriminator/types.js +20 -0
  392. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -0
  393. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/draft7.js +33 -0
  394. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -0
  395. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/format/format.js +104 -0
  396. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -0
  397. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/format/index.js +18 -0
  398. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -0
  399. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/metadata.js +29 -0
  400. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -0
  401. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/const.js +39 -0
  402. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -0
  403. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/enum.js +62 -0
  404. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -0
  405. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/index.js +54 -0
  406. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -0
  407. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/limitItems.js +36 -0
  408. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -0
  409. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/limitLength.js +41 -0
  410. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -0
  411. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +39 -0
  412. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -0
  413. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +36 -0
  414. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -0
  415. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +38 -0
  416. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -0
  417. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/pattern.js +37 -0
  418. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -0
  419. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/required.js +93 -0
  420. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -0
  421. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +79 -0
  422. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -0
  423. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/json-schema-traverse/index.js +104 -0
  424. package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/json-schema-traverse/index.js.map +1 -0
  425. package/dist/node_modules/ajv-formats/dist/formats.js +221 -0
  426. package/dist/node_modules/ajv-formats/dist/formats.js.map +1 -0
  427. package/dist/node_modules/ajv-formats/dist/index.js +53 -0
  428. package/dist/node_modules/ajv-formats/dist/index.js.map +1 -0
  429. package/dist/node_modules/ajv-formats/dist/limit.js +84 -0
  430. package/dist/node_modules/ajv-formats/dist/limit.js.map +1 -0
  431. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/ajv.js +71 -0
  432. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/ajv.js.map +1 -0
  433. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.js +169 -0
  434. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.js.map +1 -0
  435. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/index.js +712 -0
  436. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/index.js.map +1 -0
  437. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/scope.js +157 -0
  438. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -0
  439. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/errors.js +139 -0
  440. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/errors.js.map +1 -0
  441. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/index.js +259 -0
  442. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/index.js.map +1 -0
  443. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/names.js +40 -0
  444. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/names.js.map +1 -0
  445. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/ref_error.js +24 -0
  446. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/ref_error.js.map +1 -0
  447. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.js +169 -0
  448. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.js.map +1 -0
  449. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/rules.js +37 -0
  450. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/rules.js.map +1 -0
  451. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/util.js +191 -0
  452. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/util.js.map +1 -0
  453. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/applicability.js +30 -0
  454. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -0
  455. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/boolSchema.js +64 -0
  456. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -0
  457. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/dataType.js +219 -0
  458. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -0
  459. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/defaults.js +48 -0
  460. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -0
  461. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/index.js +541 -0
  462. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/index.js.map +1 -0
  463. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/keyword.js +139 -0
  464. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -0
  465. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/subschema.js +94 -0
  466. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -0
  467. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/core.js +642 -0
  468. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/core.js.map +1 -0
  469. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/data.json.js +31 -0
  470. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/data.json.js.map +1 -0
  471. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-draft-07.json.js +254 -0
  472. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/refs/json-schema-draft-07.json.js.map +1 -0
  473. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/equal.js +19 -0
  474. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/equal.js.map +1 -0
  475. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/ucs2length.js +35 -0
  476. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -0
  477. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/uri.js +18 -0
  478. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/uri.js.map +1 -0
  479. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/validation_error.js +22 -0
  480. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/validation_error.js.map +1 -0
  481. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +62 -0
  482. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -0
  483. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +121 -0
  484. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -0
  485. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/allOf.js +35 -0
  486. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -0
  487. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +24 -0
  488. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -0
  489. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/contains.js +108 -0
  490. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -0
  491. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +101 -0
  492. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -0
  493. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/if.js +79 -0
  494. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -0
  495. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/index.js +71 -0
  496. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -0
  497. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items.js +66 -0
  498. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -0
  499. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items2020.js +45 -0
  500. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -0
  501. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/not.js +38 -0
  502. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -0
  503. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +73 -0
  504. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -0
  505. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +89 -0
  506. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -0
  507. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +24 -0
  508. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -0
  509. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/properties.js +69 -0
  510. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -0
  511. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +51 -0
  512. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -0
  513. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +25 -0
  514. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -0
  515. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/code.js +145 -0
  516. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/code.js.map +1 -0
  517. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/id.js +21 -0
  518. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -0
  519. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/index.js +29 -0
  520. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -0
  521. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/ref.js +139 -0
  522. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -0
  523. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/index.js +120 -0
  524. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -0
  525. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/types.js +20 -0
  526. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -0
  527. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/draft7.js +33 -0
  528. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -0
  529. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/format.js +104 -0
  530. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -0
  531. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/index.js +18 -0
  532. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -0
  533. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/metadata.js +29 -0
  534. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -0
  535. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/const.js +39 -0
  536. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -0
  537. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/enum.js +62 -0
  538. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -0
  539. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/index.js +54 -0
  540. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -0
  541. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitItems.js +36 -0
  542. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -0
  543. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitLength.js +41 -0
  544. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -0
  545. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +39 -0
  546. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -0
  547. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +36 -0
  548. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -0
  549. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +38 -0
  550. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -0
  551. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/pattern.js +37 -0
  552. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -0
  553. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/required.js +93 -0
  554. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -0
  555. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +79 -0
  556. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -0
  557. package/dist/node_modules/{json-schema-traverse → ajv-formats/node_modules/json-schema-traverse}/index.js +6 -2
  558. package/dist/node_modules/ajv-formats/node_modules/json-schema-traverse/index.js.map +1 -0
  559. package/dist/node_modules/fast-uri/index.js +353 -0
  560. package/dist/node_modules/fast-uri/index.js.map +1 -0
  561. package/dist/node_modules/fast-uri/lib/schemes.js +279 -0
  562. package/dist/node_modules/fast-uri/lib/schemes.js.map +1 -0
  563. package/dist/node_modules/fast-uri/lib/utils.js +345 -0
  564. package/dist/node_modules/fast-uri/lib/utils.js.map +1 -0
  565. package/dist/node_modules/pkce-challenge/dist/index.browser.js +8 -5
  566. package/dist/node_modules/pkce-challenge/dist/index.browser.js.map +1 -1
  567. package/dist/node_modules/zod/v4/classic/coerce.js +9 -0
  568. package/dist/node_modules/zod/v4/classic/coerce.js.map +1 -0
  569. package/dist/node_modules/zod/v4/classic/compat.js +8 -0
  570. package/dist/node_modules/zod/v4/classic/compat.js.map +1 -0
  571. package/dist/node_modules/zod/v4/classic/errors.js +44 -0
  572. package/dist/node_modules/zod/v4/classic/errors.js.map +1 -0
  573. package/dist/node_modules/zod/v4/classic/iso.js +36 -0
  574. package/dist/node_modules/zod/v4/classic/iso.js.map +1 -0
  575. package/dist/node_modules/zod/v4/classic/parse.js +10 -0
  576. package/dist/node_modules/zod/v4/classic/parse.js.map +1 -0
  577. package/dist/node_modules/zod/v4/classic/schemas.js +674 -0
  578. package/dist/node_modules/zod/v4/classic/schemas.js.map +1 -0
  579. package/dist/node_modules/zod/v4/core/api.js +468 -0
  580. package/dist/node_modules/zod/v4/core/api.js.map +1 -0
  581. package/dist/node_modules/zod/v4/core/checks.js +413 -0
  582. package/dist/node_modules/zod/v4/core/checks.js.map +1 -0
  583. package/dist/node_modules/zod/v4/core/core.js +60 -0
  584. package/dist/node_modules/zod/v4/core/core.js.map +1 -0
  585. package/dist/node_modules/zod/v4/core/doc.js +38 -0
  586. package/dist/node_modules/zod/v4/core/doc.js.map +1 -0
  587. package/dist/node_modules/zod/v4/core/errors.js +86 -0
  588. package/dist/node_modules/zod/v4/core/errors.js.map +1 -0
  589. package/dist/node_modules/zod/v4/core/parse.js +59 -0
  590. package/dist/node_modules/zod/v4/core/parse.js.map +1 -0
  591. package/dist/node_modules/zod/v4/core/regexes.js +81 -0
  592. package/dist/node_modules/zod/v4/core/regexes.js.map +1 -0
  593. package/dist/node_modules/zod/v4/core/registries.js +52 -0
  594. package/dist/node_modules/zod/v4/core/registries.js.map +1 -0
  595. package/dist/node_modules/zod/v4/core/schemas.js +1328 -0
  596. package/dist/node_modules/zod/v4/core/schemas.js.map +1 -0
  597. package/dist/node_modules/zod/v4/core/util.js +335 -0
  598. package/dist/node_modules/zod/v4/core/util.js.map +1 -0
  599. package/dist/node_modules/zod/v4/core/versions.js +8 -0
  600. package/dist/node_modules/zod/v4/core/versions.js.map +1 -0
  601. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/string.js +2 -0
  602. package/dist/node_modules/zod-to-json-schema/dist/esm/parsers/string.js.map +1 -0
  603. package/dist/oAuth.d.ts +3 -1
  604. package/dist/oAuth.d.ts.map +1 -1
  605. package/dist/oAuth.js +7 -1
  606. package/dist/oAuth.js.map +1 -1
  607. package/package.json +9 -9
  608. package/dist/_virtual/cache.js +0 -4
  609. package/dist/_virtual/cache.js.map +0 -1
  610. package/dist/_virtual/uri.all.js +0 -4
  611. package/dist/_virtual/uri.all.js.map +0 -1
  612. package/dist/atxpClient.d.ts +0 -12
  613. package/dist/atxpLocalAccount.d.ts +0 -50
  614. package/dist/clientTestHelpers.d.ts +0 -6
  615. package/dist/destinationMakers/atxpDestinationMaker.d.ts +0 -15
  616. package/dist/destinationMakers/index.d.ts +0 -9
  617. package/dist/destinationMakers/passthroughDestinationMaker.d.ts +0 -8
  618. package/dist/errors.d.ts +0 -117
  619. package/dist/node_modules/ajv/lib/ajv.js +0 -531
  620. package/dist/node_modules/ajv/lib/ajv.js.map +0 -1
  621. package/dist/node_modules/ajv/lib/cache.js +0 -37
  622. package/dist/node_modules/ajv/lib/cache.js.map +0 -1
  623. package/dist/node_modules/ajv/lib/compile/async.js +0 -102
  624. package/dist/node_modules/ajv/lib/compile/async.js.map +0 -1
  625. package/dist/node_modules/ajv/lib/compile/error_classes.js +0 -46
  626. package/dist/node_modules/ajv/lib/compile/error_classes.js.map +0 -1
  627. package/dist/node_modules/ajv/lib/compile/formats.js +0 -154
  628. package/dist/node_modules/ajv/lib/compile/formats.js.map +0 -1
  629. package/dist/node_modules/ajv/lib/compile/index.js +0 -404
  630. package/dist/node_modules/ajv/lib/compile/index.js.map +0 -1
  631. package/dist/node_modules/ajv/lib/compile/resolve.js +0 -286
  632. package/dist/node_modules/ajv/lib/compile/resolve.js.map +0 -1
  633. package/dist/node_modules/ajv/lib/compile/rules.js +0 -79
  634. package/dist/node_modules/ajv/lib/compile/rules.js.map +0 -1
  635. package/dist/node_modules/ajv/lib/compile/schema_obj.js +0 -21
  636. package/dist/node_modules/ajv/lib/compile/schema_obj.js.map +0 -1
  637. package/dist/node_modules/ajv/lib/compile/ucs2length.js +0 -30
  638. package/dist/node_modules/ajv/lib/compile/ucs2length.js.map +0 -1
  639. package/dist/node_modules/ajv/lib/compile/util.js +0 -252
  640. package/dist/node_modules/ajv/lib/compile/util.js.map +0 -1
  641. package/dist/node_modules/ajv/lib/data.js +0 -59
  642. package/dist/node_modules/ajv/lib/data.js.map +0 -1
  643. package/dist/node_modules/ajv/lib/definition_schema.js +0 -49
  644. package/dist/node_modules/ajv/lib/definition_schema.js.map +0 -1
  645. package/dist/node_modules/ajv/lib/dotjs/_limit.js +0 -173
  646. package/dist/node_modules/ajv/lib/dotjs/_limit.js.map +0 -1
  647. package/dist/node_modules/ajv/lib/dotjs/_limitItems.js +0 -90
  648. package/dist/node_modules/ajv/lib/dotjs/_limitItems.js.map +0 -1
  649. package/dist/node_modules/ajv/lib/dotjs/_limitLength.js +0 -95
  650. package/dist/node_modules/ajv/lib/dotjs/_limitLength.js.map +0 -1
  651. package/dist/node_modules/ajv/lib/dotjs/_limitProperties.js +0 -90
  652. package/dist/node_modules/ajv/lib/dotjs/_limitProperties.js.map +0 -1
  653. package/dist/node_modules/ajv/lib/dotjs/allOf.js +0 -52
  654. package/dist/node_modules/ajv/lib/dotjs/allOf.js.map +0 -1
  655. package/dist/node_modules/ajv/lib/dotjs/anyOf.js +0 -83
  656. package/dist/node_modules/ajv/lib/dotjs/anyOf.js.map +0 -1
  657. package/dist/node_modules/ajv/lib/dotjs/comment.js +0 -24
  658. package/dist/node_modules/ajv/lib/dotjs/comment.js.map +0 -1
  659. package/dist/node_modules/ajv/lib/dotjs/const.js +0 -62
  660. package/dist/node_modules/ajv/lib/dotjs/const.js.map +0 -1
  661. package/dist/node_modules/ajv/lib/dotjs/contains.js +0 -91
  662. package/dist/node_modules/ajv/lib/dotjs/contains.js.map +0 -1
  663. package/dist/node_modules/ajv/lib/dotjs/custom.js +0 -238
  664. package/dist/node_modules/ajv/lib/dotjs/custom.js.map +0 -1
  665. package/dist/node_modules/ajv/lib/dotjs/dependencies.js +0 -178
  666. package/dist/node_modules/ajv/lib/dotjs/dependencies.js.map +0 -1
  667. package/dist/node_modules/ajv/lib/dotjs/enum.js +0 -72
  668. package/dist/node_modules/ajv/lib/dotjs/enum.js.map +0 -1
  669. package/dist/node_modules/ajv/lib/dotjs/format.js +0 -160
  670. package/dist/node_modules/ajv/lib/dotjs/format.js.map +0 -1
  671. package/dist/node_modules/ajv/lib/dotjs/if.js +0 -113
  672. package/dist/node_modules/ajv/lib/dotjs/if.js.map +0 -1
  673. package/dist/node_modules/ajv/lib/dotjs/index.js +0 -68
  674. package/dist/node_modules/ajv/lib/dotjs/index.js.map +0 -1
  675. package/dist/node_modules/ajv/lib/dotjs/items.js +0 -150
  676. package/dist/node_modules/ajv/lib/dotjs/items.js.map +0 -1
  677. package/dist/node_modules/ajv/lib/dotjs/multipleOf.js +0 -90
  678. package/dist/node_modules/ajv/lib/dotjs/multipleOf.js.map +0 -1
  679. package/dist/node_modules/ajv/lib/dotjs/not.js +0 -94
  680. package/dist/node_modules/ajv/lib/dotjs/not.js.map +0 -1
  681. package/dist/node_modules/ajv/lib/dotjs/oneOf.js +0 -83
  682. package/dist/node_modules/ajv/lib/dotjs/oneOf.js.map +0 -1
  683. package/dist/node_modules/ajv/lib/dotjs/pattern.js +0 -85
  684. package/dist/node_modules/ajv/lib/dotjs/pattern.js.map +0 -1
  685. package/dist/node_modules/ajv/lib/dotjs/properties.js +0 -345
  686. package/dist/node_modules/ajv/lib/dotjs/properties.js.map +0 -1
  687. package/dist/node_modules/ajv/lib/dotjs/propertyNames.js +0 -91
  688. package/dist/node_modules/ajv/lib/dotjs/propertyNames.js.map +0 -1
  689. package/dist/node_modules/ajv/lib/dotjs/ref.js +0 -134
  690. package/dist/node_modules/ajv/lib/dotjs/ref.js.map +0 -1
  691. package/dist/node_modules/ajv/lib/dotjs/required.js +0 -276
  692. package/dist/node_modules/ajv/lib/dotjs/required.js.map +0 -1
  693. package/dist/node_modules/ajv/lib/dotjs/uniqueItems.js +0 -96
  694. package/dist/node_modules/ajv/lib/dotjs/uniqueItems.js.map +0 -1
  695. package/dist/node_modules/ajv/lib/dotjs/validate.js +0 -492
  696. package/dist/node_modules/ajv/lib/dotjs/validate.js.map +0 -1
  697. package/dist/node_modules/ajv/lib/keyword.js +0 -159
  698. package/dist/node_modules/ajv/lib/keyword.js.map +0 -1
  699. package/dist/node_modules/fast-json-stable-stringify/index.js +0 -69
  700. package/dist/node_modules/fast-json-stable-stringify/index.js.map +0 -1
  701. package/dist/node_modules/json-schema-traverse/index.js.map +0 -1
  702. package/dist/node_modules/uri-js/dist/es5/uri.all.js +0 -1418
  703. package/dist/node_modules/uri-js/dist/es5/uri.all.js.map +0 -1
  704. package/dist/node_modules/zod/v3/ZodError.js +0 -133
  705. package/dist/node_modules/zod/v3/ZodError.js.map +0 -1
  706. package/dist/node_modules/zod/v3/errors.js +0 -9
  707. package/dist/node_modules/zod/v3/errors.js.map +0 -1
  708. package/dist/node_modules/zod/v3/helpers/errorUtil.js +0 -9
  709. package/dist/node_modules/zod/v3/helpers/errorUtil.js.map +0 -1
  710. package/dist/node_modules/zod/v3/helpers/parseUtil.js +0 -112
  711. package/dist/node_modules/zod/v3/helpers/parseUtil.js.map +0 -1
  712. package/dist/node_modules/zod/v3/helpers/util.js +0 -136
  713. package/dist/node_modules/zod/v3/helpers/util.js.map +0 -1
  714. package/dist/node_modules/zod/v3/locales/en.js +0 -112
  715. package/dist/node_modules/zod/v3/locales/en.js.map +0 -1
  716. package/dist/node_modules/zod/v3/types.js +0 -3491
  717. package/dist/node_modules/zod/v3/types.js.map +0 -1
  718. package/dist/polygonConstants.d.ts +0 -53
  719. package/dist/setup.expo.d.ts +0 -2
  720. package/dist/types.d.ts +0 -75
  721. package/dist/worldConstants.d.ts +0 -53
  722. /package/dist/node_modules/{ajv/lib → @modelcontextprotocol/sdk/node_modules/ajv/dist}/refs/json-schema-draft-07.json.js.map +0 -0
@@ -1,91 +0,0 @@
1
- var contains;
2
- var hasRequiredContains;
3
-
4
- function requireContains () {
5
- if (hasRequiredContains) return contains;
6
- hasRequiredContains = 1;
7
- contains = function generate_contains(it, $keyword, $ruleType) {
8
- var out = ' ';
9
- var $lvl = it.level;
10
- var $dataLvl = it.dataLevel;
11
- var $schema = it.schema[$keyword];
12
- var $schemaPath = it.schemaPath + it.util.getProperty($keyword);
13
- var $errSchemaPath = it.errSchemaPath + '/' + $keyword;
14
- var $breakOnError = !it.opts.allErrors;
15
- var $data = 'data' + ($dataLvl || '');
16
- var $valid = 'valid' + $lvl;
17
- var $errs = 'errs__' + $lvl;
18
- var $it = it.util.copy(it);
19
- var $closingBraces = '';
20
- $it.level++;
21
- var $nextValid = 'valid' + $it.level;
22
- var $idx = 'i' + $lvl,
23
- $dataNxt = $it.dataLevel = it.dataLevel + 1,
24
- $nextData = 'data' + $dataNxt,
25
- $currentBaseId = it.baseId,
26
- $nonEmptySchema = (it.opts.strictKeywords ? (typeof $schema == 'object' && Object.keys($schema).length > 0) || $schema === false : it.util.schemaHasRules($schema, it.RULES.all));
27
- out += 'var ' + ($errs) + ' = errors;var ' + ($valid) + ';';
28
- if ($nonEmptySchema) {
29
- var $wasComposite = it.compositeRule;
30
- it.compositeRule = $it.compositeRule = true;
31
- $it.schema = $schema;
32
- $it.schemaPath = $schemaPath;
33
- $it.errSchemaPath = $errSchemaPath;
34
- out += ' var ' + ($nextValid) + ' = false; for (var ' + ($idx) + ' = 0; ' + ($idx) + ' < ' + ($data) + '.length; ' + ($idx) + '++) { ';
35
- $it.errorPath = it.util.getPathExpr(it.errorPath, $idx, it.opts.jsonPointers, true);
36
- var $passData = $data + '[' + $idx + ']';
37
- $it.dataPathArr[$dataNxt] = $idx;
38
- var $code = it.validate($it);
39
- $it.baseId = $currentBaseId;
40
- if (it.util.varOccurences($code, $nextData) < 2) {
41
- out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' ';
42
- } else {
43
- out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' ';
44
- }
45
- out += ' if (' + ($nextValid) + ') break; } ';
46
- it.compositeRule = $it.compositeRule = $wasComposite;
47
- out += ' ' + ($closingBraces) + ' if (!' + ($nextValid) + ') {';
48
- } else {
49
- out += ' if (' + ($data) + '.length == 0) {';
50
- }
51
- var $$outStack = $$outStack || [];
52
- $$outStack.push(out);
53
- out = ''; /* istanbul ignore else */
54
- if (it.createErrors !== false) {
55
- out += ' { keyword: \'' + ('contains') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: {} ';
56
- if (it.opts.messages !== false) {
57
- out += ' , message: \'should contain a valid item\' ';
58
- }
59
- if (it.opts.verbose) {
60
- out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';
61
- }
62
- out += ' } ';
63
- } else {
64
- out += ' {} ';
65
- }
66
- var __err = out;
67
- out = $$outStack.pop();
68
- if (!it.compositeRule && $breakOnError) {
69
- /* istanbul ignore if */
70
- if (it.async) {
71
- out += ' throw new ValidationError([' + (__err) + ']); ';
72
- } else {
73
- out += ' validate.errors = [' + (__err) + ']; return false; ';
74
- }
75
- } else {
76
- out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';
77
- }
78
- out += ' } else { ';
79
- if ($nonEmptySchema) {
80
- out += ' errors = ' + ($errs) + '; if (vErrors !== null) { if (' + ($errs) + ') vErrors.length = ' + ($errs) + '; else vErrors = null; } ';
81
- }
82
- if (it.opts.allErrors) {
83
- out += ' } ';
84
- }
85
- return out;
86
- };
87
- return contains;
88
- }
89
-
90
- export { requireContains as __require };
91
- //# sourceMappingURL=contains.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"contains.js","sources":["../../../../../../../node_modules/ajv/lib/dotjs/contains.js"],"sourcesContent":["'use strict';\nmodule.exports = function generate_contains(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $valid = 'valid' + $lvl;\n var $errs = 'errs__' + $lvl;\n var $it = it.util.copy(it);\n var $closingBraces = '';\n $it.level++;\n var $nextValid = 'valid' + $it.level;\n var $idx = 'i' + $lvl,\n $dataNxt = $it.dataLevel = it.dataLevel + 1,\n $nextData = 'data' + $dataNxt,\n $currentBaseId = it.baseId,\n $nonEmptySchema = (it.opts.strictKeywords ? (typeof $schema == 'object' && Object.keys($schema).length > 0) || $schema === false : it.util.schemaHasRules($schema, it.RULES.all));\n out += 'var ' + ($errs) + ' = errors;var ' + ($valid) + ';';\n if ($nonEmptySchema) {\n var $wasComposite = it.compositeRule;\n it.compositeRule = $it.compositeRule = true;\n $it.schema = $schema;\n $it.schemaPath = $schemaPath;\n $it.errSchemaPath = $errSchemaPath;\n out += ' var ' + ($nextValid) + ' = false; for (var ' + ($idx) + ' = 0; ' + ($idx) + ' < ' + ($data) + '.length; ' + ($idx) + '++) { ';\n $it.errorPath = it.util.getPathExpr(it.errorPath, $idx, it.opts.jsonPointers, true);\n var $passData = $data + '[' + $idx + ']';\n $it.dataPathArr[$dataNxt] = $idx;\n var $code = it.validate($it);\n $it.baseId = $currentBaseId;\n if (it.util.varOccurences($code, $nextData) < 2) {\n out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' ';\n } else {\n out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' ';\n }\n out += ' if (' + ($nextValid) + ') break; } ';\n it.compositeRule = $it.compositeRule = $wasComposite;\n out += ' ' + ($closingBraces) + ' if (!' + ($nextValid) + ') {';\n } else {\n out += ' if (' + ($data) + '.length == 0) {';\n }\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('contains') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: {} ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should contain a valid item\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n out += ' } else { ';\n if ($nonEmptySchema) {\n out += ' errors = ' + ($errs) + '; if (vErrors !== null) { if (' + ($errs) + ') vErrors.length = ' + ($errs) + '; else vErrors = null; } ';\n }\n if (it.opts.allErrors) {\n out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,MAAM;KACL,GAAG,IAAI,MAAM;AACjB,GAAA;GACE,IAAI,KAAK,GAAG,GAAG;AACjB,GAAE,GAAG,GAAG,UAAU,CAAC,GAAG,EAAE;AACxB,GAAE,IAAI,CAAC,EAAE,CAAC,aAAa,IAAI,aAAa,EAAE;AAC1C;AACA,KAAI,IAAI,EAAE,CAAC,KAAK,EAAE;AAClB,OAAM,GAAG,IAAI,8BAA8B,IAAI,KAAK,CAAC,GAAG,MAAM;AAC9D,KAAA,CAAK,MAAM;AACX,OAAM,GAAG,IAAI,sBAAsB,IAAI,KAAK,CAAC,GAAG,mBAAmB;AACnE,KAAA;AACA,GAAA,CAAG,MAAM;AACT,KAAI,GAAG,IAAI,aAAa,IAAI,KAAK,CAAC,GAAG,8EAA8E;AACnH,GAAA;GACE,GAAG,IAAI,YAAY;GACnB,IAAI,eAAe,EAAE;AACvB,KAAI,GAAG,IAAI,aAAa,IAAI,KAAK,CAAC,GAAG,gCAAgC,IAAI,KAAK,CAAC,GAAG,qBAAqB,IAAI,KAAK,CAAC,GAAG,2BAA2B;AAC/I,GAAA;AACA,GAAE,IAAI,EAAE,CAAC,IAAI,CAAC,SAAS,EAAE;KACrB,GAAG,IAAI,KAAK;AAChB,GAAA;AACA,GAAE,OAAO,GAAG;AACZ,CAAA;;;;;;","x_google_ignoreList":[0]}
@@ -1,238 +0,0 @@
1
- var custom;
2
- var hasRequiredCustom;
3
-
4
- function requireCustom () {
5
- if (hasRequiredCustom) return custom;
6
- hasRequiredCustom = 1;
7
- custom = function generate_custom(it, $keyword, $ruleType) {
8
- var out = ' ';
9
- var $lvl = it.level;
10
- var $dataLvl = it.dataLevel;
11
- var $schema = it.schema[$keyword];
12
- var $schemaPath = it.schemaPath + it.util.getProperty($keyword);
13
- var $errSchemaPath = it.errSchemaPath + '/' + $keyword;
14
- var $breakOnError = !it.opts.allErrors;
15
- var $errorKeyword;
16
- var $data = 'data' + ($dataLvl || '');
17
- var $valid = 'valid' + $lvl;
18
- var $errs = 'errs__' + $lvl;
19
- var $isData = it.opts.$data && $schema && $schema.$data,
20
- $schemaValue;
21
- if ($isData) {
22
- out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; ';
23
- $schemaValue = 'schema' + $lvl;
24
- } else {
25
- $schemaValue = $schema;
26
- }
27
- var $rule = this,
28
- $definition = 'definition' + $lvl,
29
- $rDef = $rule.definition,
30
- $closingBraces = '';
31
- var $compile, $inline, $macro, $ruleValidate, $validateCode;
32
- if ($isData && $rDef.$data) {
33
- $validateCode = 'keywordValidate' + $lvl;
34
- var $validateSchema = $rDef.validateSchema;
35
- out += ' var ' + ($definition) + ' = RULES.custom[\'' + ($keyword) + '\'].definition; var ' + ($validateCode) + ' = ' + ($definition) + '.validate;';
36
- } else {
37
- $ruleValidate = it.useCustomRule($rule, $schema, it.schema, it);
38
- if (!$ruleValidate) return;
39
- $schemaValue = 'validate.schema' + $schemaPath;
40
- $validateCode = $ruleValidate.code;
41
- $compile = $rDef.compile;
42
- $inline = $rDef.inline;
43
- $macro = $rDef.macro;
44
- }
45
- var $ruleErrs = $validateCode + '.errors',
46
- $i = 'i' + $lvl,
47
- $ruleErr = 'ruleErr' + $lvl,
48
- $asyncKeyword = $rDef.async;
49
- if ($asyncKeyword && !it.async) throw new Error('async keyword in sync schema');
50
- if (!($inline || $macro)) {
51
- out += '' + ($ruleErrs) + ' = null;';
52
- }
53
- out += 'var ' + ($errs) + ' = errors;var ' + ($valid) + ';';
54
- if ($isData && $rDef.$data) {
55
- $closingBraces += '}';
56
- out += ' if (' + ($schemaValue) + ' === undefined) { ' + ($valid) + ' = true; } else { ';
57
- if ($validateSchema) {
58
- $closingBraces += '}';
59
- out += ' ' + ($valid) + ' = ' + ($definition) + '.validateSchema(' + ($schemaValue) + '); if (' + ($valid) + ') { ';
60
- }
61
- }
62
- if ($inline) {
63
- if ($rDef.statements) {
64
- out += ' ' + ($ruleValidate.validate) + ' ';
65
- } else {
66
- out += ' ' + ($valid) + ' = ' + ($ruleValidate.validate) + '; ';
67
- }
68
- } else if ($macro) {
69
- var $it = it.util.copy(it);
70
- var $closingBraces = '';
71
- $it.level++;
72
- var $nextValid = 'valid' + $it.level;
73
- $it.schema = $ruleValidate.validate;
74
- $it.schemaPath = '';
75
- var $wasComposite = it.compositeRule;
76
- it.compositeRule = $it.compositeRule = true;
77
- var $code = it.validate($it).replace(/validate\.schema/g, $validateCode);
78
- it.compositeRule = $it.compositeRule = $wasComposite;
79
- out += ' ' + ($code);
80
- } else {
81
- var $$outStack = $$outStack || [];
82
- $$outStack.push(out);
83
- out = '';
84
- out += ' ' + ($validateCode) + '.call( ';
85
- if (it.opts.passContext) {
86
- out += 'this';
87
- } else {
88
- out += 'self';
89
- }
90
- if ($compile || $rDef.schema === false) {
91
- out += ' , ' + ($data) + ' ';
92
- } else {
93
- out += ' , ' + ($schemaValue) + ' , ' + ($data) + ' , validate.schema' + (it.schemaPath) + ' ';
94
- }
95
- out += ' , (dataPath || \'\')';
96
- if (it.errorPath != '""') {
97
- out += ' + ' + (it.errorPath);
98
- }
99
- var $parentData = $dataLvl ? 'data' + (($dataLvl - 1) || '') : 'parentData',
100
- $parentDataProperty = $dataLvl ? it.dataPathArr[$dataLvl] : 'parentDataProperty';
101
- out += ' , ' + ($parentData) + ' , ' + ($parentDataProperty) + ' , rootData ) ';
102
- var def_callRuleValidate = out;
103
- out = $$outStack.pop();
104
- if ($rDef.errors === false) {
105
- out += ' ' + ($valid) + ' = ';
106
- if ($asyncKeyword) {
107
- out += 'await ';
108
- }
109
- out += '' + (def_callRuleValidate) + '; ';
110
- } else {
111
- if ($asyncKeyword) {
112
- $ruleErrs = 'customErrors' + $lvl;
113
- out += ' var ' + ($ruleErrs) + ' = null; try { ' + ($valid) + ' = await ' + (def_callRuleValidate) + '; } catch (e) { ' + ($valid) + ' = false; if (e instanceof ValidationError) ' + ($ruleErrs) + ' = e.errors; else throw e; } ';
114
- } else {
115
- out += ' ' + ($ruleErrs) + ' = null; ' + ($valid) + ' = ' + (def_callRuleValidate) + '; ';
116
- }
117
- }
118
- }
119
- if ($rDef.modifying) {
120
- out += ' if (' + ($parentData) + ') ' + ($data) + ' = ' + ($parentData) + '[' + ($parentDataProperty) + '];';
121
- }
122
- out += '' + ($closingBraces);
123
- if ($rDef.valid) {
124
- if ($breakOnError) {
125
- out += ' if (true) { ';
126
- }
127
- } else {
128
- out += ' if ( ';
129
- if ($rDef.valid === undefined) {
130
- out += ' !';
131
- if ($macro) {
132
- out += '' + ($nextValid);
133
- } else {
134
- out += '' + ($valid);
135
- }
136
- } else {
137
- out += ' ' + (!$rDef.valid) + ' ';
138
- }
139
- out += ') { ';
140
- $errorKeyword = $rule.keyword;
141
- var $$outStack = $$outStack || [];
142
- $$outStack.push(out);
143
- out = '';
144
- var $$outStack = $$outStack || [];
145
- $$outStack.push(out);
146
- out = ''; /* istanbul ignore else */
147
- if (it.createErrors !== false) {
148
- out += ' { keyword: \'' + ($errorKeyword || 'custom') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { keyword: \'' + ($rule.keyword) + '\' } ';
149
- if (it.opts.messages !== false) {
150
- out += ' , message: \'should pass "' + ($rule.keyword) + '" keyword validation\' ';
151
- }
152
- if (it.opts.verbose) {
153
- out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';
154
- }
155
- out += ' } ';
156
- } else {
157
- out += ' {} ';
158
- }
159
- var __err = out;
160
- out = $$outStack.pop();
161
- if (!it.compositeRule && $breakOnError) {
162
- /* istanbul ignore if */
163
- if (it.async) {
164
- out += ' throw new ValidationError([' + (__err) + ']); ';
165
- } else {
166
- out += ' validate.errors = [' + (__err) + ']; return false; ';
167
- }
168
- } else {
169
- out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';
170
- }
171
- var def_customError = out;
172
- out = $$outStack.pop();
173
- if ($inline) {
174
- if ($rDef.errors) {
175
- if ($rDef.errors != 'full') {
176
- out += ' for (var ' + ($i) + '=' + ($errs) + '; ' + ($i) + '<errors; ' + ($i) + '++) { var ' + ($ruleErr) + ' = vErrors[' + ($i) + ']; if (' + ($ruleErr) + '.dataPath === undefined) ' + ($ruleErr) + '.dataPath = (dataPath || \'\') + ' + (it.errorPath) + '; if (' + ($ruleErr) + '.schemaPath === undefined) { ' + ($ruleErr) + '.schemaPath = "' + ($errSchemaPath) + '"; } ';
177
- if (it.opts.verbose) {
178
- out += ' ' + ($ruleErr) + '.schema = ' + ($schemaValue) + '; ' + ($ruleErr) + '.data = ' + ($data) + '; ';
179
- }
180
- out += ' } ';
181
- }
182
- } else {
183
- if ($rDef.errors === false) {
184
- out += ' ' + (def_customError) + ' ';
185
- } else {
186
- out += ' if (' + ($errs) + ' == errors) { ' + (def_customError) + ' } else { for (var ' + ($i) + '=' + ($errs) + '; ' + ($i) + '<errors; ' + ($i) + '++) { var ' + ($ruleErr) + ' = vErrors[' + ($i) + ']; if (' + ($ruleErr) + '.dataPath === undefined) ' + ($ruleErr) + '.dataPath = (dataPath || \'\') + ' + (it.errorPath) + '; if (' + ($ruleErr) + '.schemaPath === undefined) { ' + ($ruleErr) + '.schemaPath = "' + ($errSchemaPath) + '"; } ';
187
- if (it.opts.verbose) {
188
- out += ' ' + ($ruleErr) + '.schema = ' + ($schemaValue) + '; ' + ($ruleErr) + '.data = ' + ($data) + '; ';
189
- }
190
- out += ' } } ';
191
- }
192
- }
193
- } else if ($macro) {
194
- out += ' var err = '; /* istanbul ignore else */
195
- if (it.createErrors !== false) {
196
- out += ' { keyword: \'' + ($errorKeyword || 'custom') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { keyword: \'' + ($rule.keyword) + '\' } ';
197
- if (it.opts.messages !== false) {
198
- out += ' , message: \'should pass "' + ($rule.keyword) + '" keyword validation\' ';
199
- }
200
- if (it.opts.verbose) {
201
- out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';
202
- }
203
- out += ' } ';
204
- } else {
205
- out += ' {} ';
206
- }
207
- out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';
208
- if (!it.compositeRule && $breakOnError) {
209
- /* istanbul ignore if */
210
- if (it.async) {
211
- out += ' throw new ValidationError(vErrors); ';
212
- } else {
213
- out += ' validate.errors = vErrors; return false; ';
214
- }
215
- }
216
- } else {
217
- if ($rDef.errors === false) {
218
- out += ' ' + (def_customError) + ' ';
219
- } else {
220
- out += ' if (Array.isArray(' + ($ruleErrs) + ')) { if (vErrors === null) vErrors = ' + ($ruleErrs) + '; else vErrors = vErrors.concat(' + ($ruleErrs) + '); errors = vErrors.length; for (var ' + ($i) + '=' + ($errs) + '; ' + ($i) + '<errors; ' + ($i) + '++) { var ' + ($ruleErr) + ' = vErrors[' + ($i) + ']; if (' + ($ruleErr) + '.dataPath === undefined) ' + ($ruleErr) + '.dataPath = (dataPath || \'\') + ' + (it.errorPath) + '; ' + ($ruleErr) + '.schemaPath = "' + ($errSchemaPath) + '"; ';
221
- if (it.opts.verbose) {
222
- out += ' ' + ($ruleErr) + '.schema = ' + ($schemaValue) + '; ' + ($ruleErr) + '.data = ' + ($data) + '; ';
223
- }
224
- out += ' } } else { ' + (def_customError) + ' } ';
225
- }
226
- }
227
- out += ' } ';
228
- if ($breakOnError) {
229
- out += ' else { ';
230
- }
231
- }
232
- return out;
233
- };
234
- return custom;
235
- }
236
-
237
- export { requireCustom as __require };
238
- //# sourceMappingURL=custom.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"custom.js","sources":["../../../../../../../node_modules/ajv/lib/dotjs/custom.js"],"sourcesContent":["'use strict';\nmodule.exports = function generate_custom(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $errorKeyword;\n var $data = 'data' + ($dataLvl || '');\n var $valid = 'valid' + $lvl;\n var $errs = 'errs__' + $lvl;\n var $isData = it.opts.$data && $schema && $schema.$data,\n $schemaValue;\n if ($isData) {\n out += ' var schema' + ($lvl) + ' = ' + (it.util.getData($schema.$data, $dataLvl, it.dataPathArr)) + '; ';\n $schemaValue = 'schema' + $lvl;\n } else {\n $schemaValue = $schema;\n }\n var $rule = this,\n $definition = 'definition' + $lvl,\n $rDef = $rule.definition,\n $closingBraces = '';\n var $compile, $inline, $macro, $ruleValidate, $validateCode;\n if ($isData && $rDef.$data) {\n $validateCode = 'keywordValidate' + $lvl;\n var $validateSchema = $rDef.validateSchema;\n out += ' var ' + ($definition) + ' = RULES.custom[\\'' + ($keyword) + '\\'].definition; var ' + ($validateCode) + ' = ' + ($definition) + '.validate;';\n } else {\n $ruleValidate = it.useCustomRule($rule, $schema, it.schema, it);\n if (!$ruleValidate) return;\n $schemaValue = 'validate.schema' + $schemaPath;\n $validateCode = $ruleValidate.code;\n $compile = $rDef.compile;\n $inline = $rDef.inline;\n $macro = $rDef.macro;\n }\n var $ruleErrs = $validateCode + '.errors',\n $i = 'i' + $lvl,\n $ruleErr = 'ruleErr' + $lvl,\n $asyncKeyword = $rDef.async;\n if ($asyncKeyword && !it.async) throw new Error('async keyword in sync schema');\n if (!($inline || $macro)) {\n out += '' + ($ruleErrs) + ' = null;';\n }\n out += 'var ' + ($errs) + ' = errors;var ' + ($valid) + ';';\n if ($isData && $rDef.$data) {\n $closingBraces += '}';\n out += ' if (' + ($schemaValue) + ' === undefined) { ' + ($valid) + ' = true; } else { ';\n if ($validateSchema) {\n $closingBraces += '}';\n out += ' ' + ($valid) + ' = ' + ($definition) + '.validateSchema(' + ($schemaValue) + '); if (' + ($valid) + ') { ';\n }\n }\n if ($inline) {\n if ($rDef.statements) {\n out += ' ' + ($ruleValidate.validate) + ' ';\n } else {\n out += ' ' + ($valid) + ' = ' + ($ruleValidate.validate) + '; ';\n }\n } else if ($macro) {\n var $it = it.util.copy(it);\n var $closingBraces = '';\n $it.level++;\n var $nextValid = 'valid' + $it.level;\n $it.schema = $ruleValidate.validate;\n $it.schemaPath = '';\n var $wasComposite = it.compositeRule;\n it.compositeRule = $it.compositeRule = true;\n var $code = it.validate($it).replace(/validate\\.schema/g, $validateCode);\n it.compositeRule = $it.compositeRule = $wasComposite;\n out += ' ' + ($code);\n } else {\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = '';\n out += ' ' + ($validateCode) + '.call( ';\n if (it.opts.passContext) {\n out += 'this';\n } else {\n out += 'self';\n }\n if ($compile || $rDef.schema === false) {\n out += ' , ' + ($data) + ' ';\n } else {\n out += ' , ' + ($schemaValue) + ' , ' + ($data) + ' , validate.schema' + (it.schemaPath) + ' ';\n }\n out += ' , (dataPath || \\'\\')';\n if (it.errorPath != '\"\"') {\n out += ' + ' + (it.errorPath);\n }\n var $parentData = $dataLvl ? 'data' + (($dataLvl - 1) || '') : 'parentData',\n $parentDataProperty = $dataLvl ? it.dataPathArr[$dataLvl] : 'parentDataProperty';\n out += ' , ' + ($parentData) + ' , ' + ($parentDataProperty) + ' , rootData ) ';\n var def_callRuleValidate = out;\n out = $$outStack.pop();\n if ($rDef.errors === false) {\n out += ' ' + ($valid) + ' = ';\n if ($asyncKeyword) {\n out += 'await ';\n }\n out += '' + (def_callRuleValidate) + '; ';\n } else {\n if ($asyncKeyword) {\n $ruleErrs = 'customErrors' + $lvl;\n out += ' var ' + ($ruleErrs) + ' = null; try { ' + ($valid) + ' = await ' + (def_callRuleValidate) + '; } catch (e) { ' + ($valid) + ' = false; if (e instanceof ValidationError) ' + ($ruleErrs) + ' = e.errors; else throw e; } ';\n } else {\n out += ' ' + ($ruleErrs) + ' = null; ' + ($valid) + ' = ' + (def_callRuleValidate) + '; ';\n }\n }\n }\n if ($rDef.modifying) {\n out += ' if (' + ($parentData) + ') ' + ($data) + ' = ' + ($parentData) + '[' + ($parentDataProperty) + '];';\n }\n out += '' + ($closingBraces);\n if ($rDef.valid) {\n if ($breakOnError) {\n out += ' if (true) { ';\n }\n } else {\n out += ' if ( ';\n if ($rDef.valid === undefined) {\n out += ' !';\n if ($macro) {\n out += '' + ($nextValid);\n } else {\n out += '' + ($valid);\n }\n } else {\n out += ' ' + (!$rDef.valid) + ' ';\n }\n out += ') { ';\n $errorKeyword = $rule.keyword;\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = '';\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ($errorKeyword || 'custom') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { keyword: \\'' + ($rule.keyword) + '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should pass \"' + ($rule.keyword) + '\" keyword validation\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n var def_customError = out;\n out = $$outStack.pop();\n if ($inline) {\n if ($rDef.errors) {\n if ($rDef.errors != 'full') {\n out += ' for (var ' + ($i) + '=' + ($errs) + '; ' + ($i) + '<errors; ' + ($i) + '++) { var ' + ($ruleErr) + ' = vErrors[' + ($i) + ']; if (' + ($ruleErr) + '.dataPath === undefined) ' + ($ruleErr) + '.dataPath = (dataPath || \\'\\') + ' + (it.errorPath) + '; if (' + ($ruleErr) + '.schemaPath === undefined) { ' + ($ruleErr) + '.schemaPath = \"' + ($errSchemaPath) + '\"; } ';\n if (it.opts.verbose) {\n out += ' ' + ($ruleErr) + '.schema = ' + ($schemaValue) + '; ' + ($ruleErr) + '.data = ' + ($data) + '; ';\n }\n out += ' } ';\n }\n } else {\n if ($rDef.errors === false) {\n out += ' ' + (def_customError) + ' ';\n } else {\n out += ' if (' + ($errs) + ' == errors) { ' + (def_customError) + ' } else { for (var ' + ($i) + '=' + ($errs) + '; ' + ($i) + '<errors; ' + ($i) + '++) { var ' + ($ruleErr) + ' = vErrors[' + ($i) + ']; if (' + ($ruleErr) + '.dataPath === undefined) ' + ($ruleErr) + '.dataPath = (dataPath || \\'\\') + ' + (it.errorPath) + '; if (' + ($ruleErr) + '.schemaPath === undefined) { ' + ($ruleErr) + '.schemaPath = \"' + ($errSchemaPath) + '\"; } ';\n if (it.opts.verbose) {\n out += ' ' + ($ruleErr) + '.schema = ' + ($schemaValue) + '; ' + ($ruleErr) + '.data = ' + ($data) + '; ';\n }\n out += ' } } ';\n }\n }\n } else if ($macro) {\n out += ' var err = '; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ($errorKeyword || 'custom') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { keyword: \\'' + ($rule.keyword) + '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should pass \"' + ($rule.keyword) + '\" keyword validation\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError(vErrors); ';\n } else {\n out += ' validate.errors = vErrors; return false; ';\n }\n }\n } else {\n if ($rDef.errors === false) {\n out += ' ' + (def_customError) + ' ';\n } else {\n out += ' if (Array.isArray(' + ($ruleErrs) + ')) { if (vErrors === null) vErrors = ' + ($ruleErrs) + '; else vErrors = vErrors.concat(' + ($ruleErrs) + '); errors = vErrors.length; for (var ' + ($i) + '=' + ($errs) + '; ' + ($i) + '<errors; ' + ($i) + '++) { var ' + ($ruleErr) + ' = vErrors[' + ($i) + ']; if (' + ($ruleErr) + '.dataPath === undefined) ' + ($ruleErr) + '.dataPath = (dataPath || \\'\\') + ' + (it.errorPath) + '; ' + ($ruleErr) + '.schemaPath = \"' + ($errSchemaPath) + '\"; ';\n if (it.opts.verbose) {\n out += ' ' + ($ruleErr) + '.schema = ' + ($schemaValue) + '; ' + ($ruleErr) + '.data = ' + ($data) + '; ';\n }\n out += ' } } else { ' + (def_customError) + ' } ';\n }\n }\n out += ' } ';\n if ($breakOnError) {\n out += ' else { ';\n }\n }\n return out;\n}\n"],"names":[],"mappings":";;;;;;AACA,CAAA,MAAc,GAAG,SAAS,eAAe,CAAC,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE;GACjE,IAAI,GAAG,GAAG,GAAG;AACf,GAAE,IAAI,IAAI,GAAG,EAAE,CAAC,KAAK;AACrB,GAAE,IAAI,QAAQ,GAAG,EAAE,CAAC,SAAS;GAC3B,IAAI,OAAO,GAAG,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC;AACnC,GAAE,IAAI,WAAW,GAAG,EAAE,CAAC,UAAU,GAAG,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC;GAC/D,IAAI,cAAc,GAAG,EAAE,CAAC,aAAa,GAAG,GAAG,GAAG,QAAQ;GACtD,IAAI,aAAa,GAAG,CAAC,EAAE,CAAC,IAAI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,GAAG,IAAI,cAAc,IAAI,eAAe,CAAC,GAAG,KAAK;AACzD,OAAA;AACA,KAAA;KACI,GAAG,IAAI,KAAK;KACZ,IAAI,aAAa,EAAE;OACjB,GAAG,IAAI,UAAU;AACvB,KAAA;AACA,GAAA;AACA,GAAE,OAAO,GAAG;AACZ,CAAA;;;;;;","x_google_ignoreList":[0]}
@@ -1,178 +0,0 @@
1
- var dependencies;
2
- var hasRequiredDependencies;
3
-
4
- function requireDependencies () {
5
- if (hasRequiredDependencies) return dependencies;
6
- hasRequiredDependencies = 1;
7
- dependencies = function generate_dependencies(it, $keyword, $ruleType) {
8
- var out = ' ';
9
- var $lvl = it.level;
10
- var $dataLvl = it.dataLevel;
11
- var $schema = it.schema[$keyword];
12
- var $schemaPath = it.schemaPath + it.util.getProperty($keyword);
13
- var $errSchemaPath = it.errSchemaPath + '/' + $keyword;
14
- var $breakOnError = !it.opts.allErrors;
15
- var $data = 'data' + ($dataLvl || '');
16
- var $errs = 'errs__' + $lvl;
17
- var $it = it.util.copy(it);
18
- var $closingBraces = '';
19
- $it.level++;
20
- var $nextValid = 'valid' + $it.level;
21
- var $schemaDeps = {},
22
- $propertyDeps = {},
23
- $ownProperties = it.opts.ownProperties;
24
- for ($property in $schema) {
25
- if ($property == '__proto__') continue;
26
- var $sch = $schema[$property];
27
- var $deps = Array.isArray($sch) ? $propertyDeps : $schemaDeps;
28
- $deps[$property] = $sch;
29
- }
30
- out += 'var ' + ($errs) + ' = errors;';
31
- var $currentErrorPath = it.errorPath;
32
- out += 'var missing' + ($lvl) + ';';
33
- for (var $property in $propertyDeps) {
34
- $deps = $propertyDeps[$property];
35
- if ($deps.length) {
36
- out += ' if ( ' + ($data) + (it.util.getProperty($property)) + ' !== undefined ';
37
- if ($ownProperties) {
38
- out += ' && Object.prototype.hasOwnProperty.call(' + ($data) + ', \'' + (it.util.escapeQuotes($property)) + '\') ';
39
- }
40
- if ($breakOnError) {
41
- out += ' && ( ';
42
- var arr1 = $deps;
43
- if (arr1) {
44
- var $propertyKey, $i = -1,
45
- l1 = arr1.length - 1;
46
- while ($i < l1) {
47
- $propertyKey = arr1[$i += 1];
48
- if ($i) {
49
- out += ' || ';
50
- }
51
- var $prop = it.util.getProperty($propertyKey),
52
- $useData = $data + $prop;
53
- out += ' ( ( ' + ($useData) + ' === undefined ';
54
- if ($ownProperties) {
55
- out += ' || ! Object.prototype.hasOwnProperty.call(' + ($data) + ', \'' + (it.util.escapeQuotes($propertyKey)) + '\') ';
56
- }
57
- out += ') && (missing' + ($lvl) + ' = ' + (it.util.toQuotedString(it.opts.jsonPointers ? $propertyKey : $prop)) + ') ) ';
58
- }
59
- }
60
- out += ')) { ';
61
- var $propertyPath = 'missing' + $lvl,
62
- $missingProperty = '\' + ' + $propertyPath + ' + \'';
63
- if (it.opts._errorDataPathProperty) {
64
- it.errorPath = it.opts.jsonPointers ? it.util.getPathExpr($currentErrorPath, $propertyPath, true) : $currentErrorPath + ' + ' + $propertyPath;
65
- }
66
- var $$outStack = $$outStack || [];
67
- $$outStack.push(out);
68
- out = ''; /* istanbul ignore else */
69
- if (it.createErrors !== false) {
70
- out += ' { keyword: \'' + ('dependencies') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { property: \'' + (it.util.escapeQuotes($property)) + '\', missingProperty: \'' + ($missingProperty) + '\', depsCount: ' + ($deps.length) + ', deps: \'' + (it.util.escapeQuotes($deps.length == 1 ? $deps[0] : $deps.join(", "))) + '\' } ';
71
- if (it.opts.messages !== false) {
72
- out += ' , message: \'should have ';
73
- if ($deps.length == 1) {
74
- out += 'property ' + (it.util.escapeQuotes($deps[0]));
75
- } else {
76
- out += 'properties ' + (it.util.escapeQuotes($deps.join(", ")));
77
- }
78
- out += ' when property ' + (it.util.escapeQuotes($property)) + ' is present\' ';
79
- }
80
- if (it.opts.verbose) {
81
- out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';
82
- }
83
- out += ' } ';
84
- } else {
85
- out += ' {} ';
86
- }
87
- var __err = out;
88
- out = $$outStack.pop();
89
- if (!it.compositeRule && $breakOnError) {
90
- /* istanbul ignore if */
91
- if (it.async) {
92
- out += ' throw new ValidationError([' + (__err) + ']); ';
93
- } else {
94
- out += ' validate.errors = [' + (__err) + ']; return false; ';
95
- }
96
- } else {
97
- out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';
98
- }
99
- } else {
100
- out += ' ) { ';
101
- var arr2 = $deps;
102
- if (arr2) {
103
- var $propertyKey, i2 = -1,
104
- l2 = arr2.length - 1;
105
- while (i2 < l2) {
106
- $propertyKey = arr2[i2 += 1];
107
- var $prop = it.util.getProperty($propertyKey),
108
- $missingProperty = it.util.escapeQuotes($propertyKey),
109
- $useData = $data + $prop;
110
- if (it.opts._errorDataPathProperty) {
111
- it.errorPath = it.util.getPath($currentErrorPath, $propertyKey, it.opts.jsonPointers);
112
- }
113
- out += ' if ( ' + ($useData) + ' === undefined ';
114
- if ($ownProperties) {
115
- out += ' || ! Object.prototype.hasOwnProperty.call(' + ($data) + ', \'' + (it.util.escapeQuotes($propertyKey)) + '\') ';
116
- }
117
- out += ') { var err = '; /* istanbul ignore else */
118
- if (it.createErrors !== false) {
119
- out += ' { keyword: \'' + ('dependencies') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { property: \'' + (it.util.escapeQuotes($property)) + '\', missingProperty: \'' + ($missingProperty) + '\', depsCount: ' + ($deps.length) + ', deps: \'' + (it.util.escapeQuotes($deps.length == 1 ? $deps[0] : $deps.join(", "))) + '\' } ';
120
- if (it.opts.messages !== false) {
121
- out += ' , message: \'should have ';
122
- if ($deps.length == 1) {
123
- out += 'property ' + (it.util.escapeQuotes($deps[0]));
124
- } else {
125
- out += 'properties ' + (it.util.escapeQuotes($deps.join(", ")));
126
- }
127
- out += ' when property ' + (it.util.escapeQuotes($property)) + ' is present\' ';
128
- }
129
- if (it.opts.verbose) {
130
- out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';
131
- }
132
- out += ' } ';
133
- } else {
134
- out += ' {} ';
135
- }
136
- out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } ';
137
- }
138
- }
139
- }
140
- out += ' } ';
141
- if ($breakOnError) {
142
- $closingBraces += '}';
143
- out += ' else { ';
144
- }
145
- }
146
- }
147
- it.errorPath = $currentErrorPath;
148
- var $currentBaseId = $it.baseId;
149
- for (var $property in $schemaDeps) {
150
- var $sch = $schemaDeps[$property];
151
- if ((it.opts.strictKeywords ? (typeof $sch == 'object' && Object.keys($sch).length > 0) || $sch === false : it.util.schemaHasRules($sch, it.RULES.all))) {
152
- out += ' ' + ($nextValid) + ' = true; if ( ' + ($data) + (it.util.getProperty($property)) + ' !== undefined ';
153
- if ($ownProperties) {
154
- out += ' && Object.prototype.hasOwnProperty.call(' + ($data) + ', \'' + (it.util.escapeQuotes($property)) + '\') ';
155
- }
156
- out += ') { ';
157
- $it.schema = $sch;
158
- $it.schemaPath = $schemaPath + it.util.getProperty($property);
159
- $it.errSchemaPath = $errSchemaPath + '/' + it.util.escapeFragment($property);
160
- out += ' ' + (it.validate($it)) + ' ';
161
- $it.baseId = $currentBaseId;
162
- out += ' } ';
163
- if ($breakOnError) {
164
- out += ' if (' + ($nextValid) + ') { ';
165
- $closingBraces += '}';
166
- }
167
- }
168
- }
169
- if ($breakOnError) {
170
- out += ' ' + ($closingBraces) + ' if (' + ($errs) + ' == errors) {';
171
- }
172
- return out;
173
- };
174
- return dependencies;
175
- }
176
-
177
- export { requireDependencies as __require };
178
- //# sourceMappingURL=dependencies.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dependencies.js","sources":["../../../../../../../node_modules/ajv/lib/dotjs/dependencies.js"],"sourcesContent":["'use strict';\nmodule.exports = function generate_dependencies(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $errs = 'errs__' + $lvl;\n var $it = it.util.copy(it);\n var $closingBraces = '';\n $it.level++;\n var $nextValid = 'valid' + $it.level;\n var $schemaDeps = {},\n $propertyDeps = {},\n $ownProperties = it.opts.ownProperties;\n for ($property in $schema) {\n if ($property == '__proto__') continue;\n var $sch = $schema[$property];\n var $deps = Array.isArray($sch) ? $propertyDeps : $schemaDeps;\n $deps[$property] = $sch;\n }\n out += 'var ' + ($errs) + ' = errors;';\n var $currentErrorPath = it.errorPath;\n out += 'var missing' + ($lvl) + ';';\n for (var $property in $propertyDeps) {\n $deps = $propertyDeps[$property];\n if ($deps.length) {\n out += ' if ( ' + ($data) + (it.util.getProperty($property)) + ' !== undefined ';\n if ($ownProperties) {\n out += ' && Object.prototype.hasOwnProperty.call(' + ($data) + ', \\'' + (it.util.escapeQuotes($property)) + '\\') ';\n }\n if ($breakOnError) {\n out += ' && ( ';\n var arr1 = $deps;\n if (arr1) {\n var $propertyKey, $i = -1,\n l1 = arr1.length - 1;\n while ($i < l1) {\n $propertyKey = arr1[$i += 1];\n if ($i) {\n out += ' || ';\n }\n var $prop = it.util.getProperty($propertyKey),\n $useData = $data + $prop;\n out += ' ( ( ' + ($useData) + ' === undefined ';\n if ($ownProperties) {\n out += ' || ! Object.prototype.hasOwnProperty.call(' + ($data) + ', \\'' + (it.util.escapeQuotes($propertyKey)) + '\\') ';\n }\n out += ') && (missing' + ($lvl) + ' = ' + (it.util.toQuotedString(it.opts.jsonPointers ? $propertyKey : $prop)) + ') ) ';\n }\n }\n out += ')) { ';\n var $propertyPath = 'missing' + $lvl,\n $missingProperty = '\\' + ' + $propertyPath + ' + \\'';\n if (it.opts._errorDataPathProperty) {\n it.errorPath = it.opts.jsonPointers ? it.util.getPathExpr($currentErrorPath, $propertyPath, true) : $currentErrorPath + ' + ' + $propertyPath;\n }\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('dependencies') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { property: \\'' + (it.util.escapeQuotes($property)) + '\\', missingProperty: \\'' + ($missingProperty) + '\\', depsCount: ' + ($deps.length) + ', deps: \\'' + (it.util.escapeQuotes($deps.length == 1 ? $deps[0] : $deps.join(\", \"))) + '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should have ';\n if ($deps.length == 1) {\n out += 'property ' + (it.util.escapeQuotes($deps[0]));\n } else {\n out += 'properties ' + (it.util.escapeQuotes($deps.join(\", \")));\n }\n out += ' when property ' + (it.util.escapeQuotes($property)) + ' is present\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n } else {\n out += ' ) { ';\n var arr2 = $deps;\n if (arr2) {\n var $propertyKey, i2 = -1,\n l2 = arr2.length - 1;\n while (i2 < l2) {\n $propertyKey = arr2[i2 += 1];\n var $prop = it.util.getProperty($propertyKey),\n $missingProperty = it.util.escapeQuotes($propertyKey),\n $useData = $data + $prop;\n if (it.opts._errorDataPathProperty) {\n it.errorPath = it.util.getPath($currentErrorPath, $propertyKey, it.opts.jsonPointers);\n }\n out += ' if ( ' + ($useData) + ' === undefined ';\n if ($ownProperties) {\n out += ' || ! Object.prototype.hasOwnProperty.call(' + ($data) + ', \\'' + (it.util.escapeQuotes($propertyKey)) + '\\') ';\n }\n out += ') { var err = '; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('dependencies') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { property: \\'' + (it.util.escapeQuotes($property)) + '\\', missingProperty: \\'' + ($missingProperty) + '\\', depsCount: ' + ($deps.length) + ', deps: \\'' + (it.util.escapeQuotes($deps.length == 1 ? $deps[0] : $deps.join(\", \"))) + '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'should have ';\n if ($deps.length == 1) {\n out += 'property ' + (it.util.escapeQuotes($deps[0]));\n } else {\n out += 'properties ' + (it.util.escapeQuotes($deps.join(\", \")));\n }\n out += ' when property ' + (it.util.escapeQuotes($property)) + ' is present\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } ';\n }\n }\n }\n out += ' } ';\n if ($breakOnError) {\n $closingBraces += '}';\n out += ' else { ';\n }\n }\n }\n it.errorPath = $currentErrorPath;\n var $currentBaseId = $it.baseId;\n for (var $property in $schemaDeps) {\n var $sch = $schemaDeps[$property];\n if ((it.opts.strictKeywords ? (typeof $sch == 'object' && Object.keys($sch).length > 0) || $sch === false : it.util.schemaHasRules($sch, it.RULES.all))) {\n out += ' ' + ($nextValid) + ' = true; if ( ' + ($data) + (it.util.getProperty($property)) + ' !== undefined ';\n if ($ownProperties) {\n out += ' && Object.prototype.hasOwnProperty.call(' + ($data) + ', \\'' + (it.util.escapeQuotes($property)) + '\\') ';\n }\n out += ') { ';\n $it.schema = $sch;\n $it.schemaPath = $schemaPath + it.util.getProperty($property);\n $it.errSchemaPath = $errSchemaPath + '/' + it.util.escapeFragment($property);\n out += ' ' + (it.validate($it)) + ' ';\n $it.baseId = $currentBaseId;\n out += ' } ';\n if ($breakOnError) {\n out += ' if (' + ($nextValid) + ') { ';\n $closingBraces += '}';\n }\n }\n }\n if ($breakOnError) {\n out += ' ' + ($closingBraces) + ' if (' + ($errs) + ' == errors) {';\n }\n return out;\n}\n"],"names":[],"mappings":";;;;;;AACA,CAAA,YAAc,GAAG,SAAS,qBAAqB,CAAC,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE;GACvE,IAAI,GAAG,GAAG,GAAG;AACf,GAAE,IAAI,IAAI,GAAG,EAAE,CAAC,KAAK;AACrB,GAAE,IAAI,QAAQ,GAAG,EAAE,CAAC,SAAS;GAC3B,IAAI,OAAO,GAAG,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC;AACnC,GAAE,IAAI,WAAW,GAAG,EAAE,CAAC,UAAU,GAAG,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC;GAC/D,IAAI,cAAc,GAAG,EAAE,CAAC,aAAa,GAAG,GAAG,GAAG,QAAQ;GACtD,IAAI,aAAa,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,SAAS;GACtC,IAAI,KAAK,GAAG,MAAM,IAAI,QAAQ,IAAI,EAAE,CAAC;AACvC,GAAE,IAAI,KAAK,GAAG,QAAQ,GAAG,IAAI;GAC3B,IAAI,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;GAC1B,IAAI,cAAc,GAAG,EAAE;GACvB,GAAG,CAAC,KAAK,EAAE;AACb,GAAE,IAAI,UAAU,GAAG,OAAO,GAAG,GAAG,CAAC,K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