@spotlightjs/spotlight 4.11.4 → 4.11.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 (173) hide show
  1. package/dist/_virtual/ajv.js +6 -3
  2. package/dist/_virtual/ajv2.js +13 -0
  3. package/dist/_virtual/index.js +6 -3
  4. package/dist/_virtual/index10.js +3 -3
  5. package/dist/_virtual/index11.js +3 -3
  6. package/dist/_virtual/index12.js +13 -0
  7. package/dist/_virtual/index2.js +3 -3
  8. package/dist/_virtual/index3.js +3 -3
  9. package/dist/_virtual/index4.js +3 -3
  10. package/dist/_virtual/index5.js +3 -3
  11. package/dist/_virtual/index6.js +3 -3
  12. package/dist/_virtual/index7.js +3 -3
  13. package/dist/_virtual/index8.js +3 -3
  14. package/dist/_virtual/index9.js +3 -3
  15. package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@4.1.13/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js +1 -1
  16. package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@4.1.13/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js.map +1 -1
  17. package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@4.1.13/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js +3 -3
  18. package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/formats.js +203 -194
  19. package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/formats.js.map +1 -1
  20. package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/index.js +47 -47
  21. package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/index.js.map +1 -1
  22. package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/limit.js +77 -69
  23. package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/limit.js.map +1 -1
  24. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/ajv.js +78 -81
  25. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/ajv.js.map +1 -1
  26. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/code.js +145 -136
  27. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/code.js.map +1 -1
  28. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/index.js +692 -685
  29. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/index.js.map +1 -1
  30. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/scope.js +143 -135
  31. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -1
  32. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/errors.js +122 -116
  33. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/errors.js.map +1 -1
  34. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/index.js +216 -214
  35. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/index.js.map +1 -1
  36. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/names.js +43 -35
  37. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/names.js.map +1 -1
  38. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/ref_error.js +19 -11
  39. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/ref_error.js.map +1 -1
  40. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/resolve.js +149 -144
  41. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/resolve.js.map +1 -1
  42. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/rules.js +31 -25
  43. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/rules.js.map +1 -1
  44. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/util.js +164 -160
  45. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/util.js.map +1 -1
  46. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/applicability.js +23 -17
  47. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -1
  48. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js +7 -10
  49. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -1
  50. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/dataType.js +174 -173
  51. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -1
  52. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js +5 -7
  53. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -1
  54. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/index.js +21 -28
  55. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/index.js.map +1 -1
  56. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/keyword.js +11 -15
  57. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -1
  58. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/subschema.js +5 -7
  59. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -1
  60. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/core.js +571 -570
  61. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/core.js.map +1 -1
  62. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/data.json.js +3 -17
  63. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/data.json.js.map +1 -1
  64. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-draft-07.json.js +4 -236
  65. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-draft-07.json.js.map +1 -1
  66. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/equal.js +16 -7
  67. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/equal.js.map +1 -1
  68. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/ucs2length.js +27 -18
  69. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -1
  70. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/uri.js +16 -7
  71. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/uri.js.map +1 -1
  72. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/validation_error.js.map +1 -1
  73. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +55 -48
  74. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -1
  75. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +104 -99
  76. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -1
  77. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js +30 -22
  78. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -1
  79. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +20 -12
  80. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -1
  81. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -88
  82. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -1
  83. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +94 -88
  84. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -1
  85. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/if.js +71 -64
  86. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -1
  87. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/index.js +67 -74
  88. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -1
  89. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items.js +60 -54
  90. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -1
  91. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js +41 -36
  92. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -1
  93. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/not.js +34 -26
  94. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -1
  95. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -53
  96. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -1
  97. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +73 -67
  98. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -1
  99. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +20 -12
  100. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -1
  101. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/properties.js +61 -55
  102. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -1
  103. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +46 -39
  104. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -1
  105. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +21 -13
  106. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -1
  107. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/code.js +132 -129
  108. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/code.js.map +1 -1
  109. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/id.js +17 -8
  110. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -1
  111. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/index.js +27 -20
  112. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -1
  113. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/ref.js +121 -118
  114. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -1
  115. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -100
  116. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -1
  117. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/types.js +15 -9
  118. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -1
  119. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/draft7.js +30 -26
  120. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -1
  121. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/format.js +84 -76
  122. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -1
  123. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/index.js +16 -8
  124. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -1
  125. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/metadata.js +24 -18
  126. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -1
  127. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/const.js +33 -27
  128. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -1
  129. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js +53 -47
  130. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -1
  131. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js +52 -53
  132. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -1
  133. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js +32 -24
  134. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -1
  135. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js +37 -31
  136. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -1
  137. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +35 -27
  138. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -1
  139. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +32 -24
  140. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -1
  141. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +31 -23
  142. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -1
  143. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/pattern.js +41 -35
  144. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -1
  145. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/required.js +80 -74
  146. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -1
  147. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +71 -66
  148. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -1
  149. package/dist/node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js +34 -27
  150. package/dist/node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js.map +1 -1
  151. package/dist/node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/index.js +250 -245
  152. package/dist/node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/index.js.map +1 -1
  153. package/dist/node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/lib/schemes.js +201 -175
  154. package/dist/node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/lib/schemes.js.map +1 -1
  155. package/dist/node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/lib/utils.js +267 -259
  156. package/dist/node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/lib/utils.js.map +1 -1
  157. package/dist/node_modules/.pnpm/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js +83 -78
  158. package/dist/node_modules/.pnpm/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js.map +1 -1
  159. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.1.13/node_modules/zod-to-json-schema/dist/esm/Options.js +1 -1
  160. package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.1.13/node_modules/zod-to-json-schema/dist/esm/Options.js.map +1 -1
  161. package/dist/node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/core/util.js +1 -1
  162. package/dist/node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/core/util.js.map +1 -1
  163. package/dist/sentry-config.js +2 -2
  164. package/dist/server/cli/run.js +2 -2
  165. package/dist/server/cli.js +2 -2
  166. package/dist/server/mcp/mcp.js +2 -2
  167. package/dist/ui/assets/index.js +61 -70
  168. package/dist/ui/assets/index2.js +1 -1
  169. package/dist/ui/assets/instrumentation.js +18 -18
  170. package/dist/ui/assets/main.css +1 -1
  171. package/dist/ui/assets/main.js +1 -1
  172. package/dist/ui/assets/serverTimingMeta.js +23 -30
  173. package/package.json +4 -4
@@ -1 +1 @@
1
- {"version":3,"file":"enum.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst codegen_1 = require(\"../../compile/codegen\");\nconst util_1 = require(\"../../compile/util\");\nconst equal_1 = require(\"../../runtime/equal\");\nconst error = {\n message: \"must be equal to one of the allowed values\",\n params: ({ schemaCode }) => (0, codegen_1._) `{allowedValues: ${schemaCode}}`,\n};\nconst def = {\n keyword: \"enum\",\n schemaType: \"array\",\n $data: true,\n error,\n code(cxt) {\n const { gen, data, $data, schema, schemaCode, it } = cxt;\n if (!$data && schema.length === 0)\n throw new Error(\"enum must have non-empty array\");\n const useLoop = schema.length >= it.opts.loopEnum;\n let eql;\n const getEql = () => (eql !== null && eql !== void 0 ? eql : (eql = (0, util_1.useFunc)(gen, equal_1.default)));\n let valid;\n if (useLoop || $data) {\n valid = gen.let(\"valid\");\n cxt.block$data(valid, loopEnum);\n }\n else {\n /* istanbul ignore if */\n if (!Array.isArray(schema))\n throw new Error(\"ajv implementation error\");\n const vSchema = gen.const(\"vSchema\", schemaCode);\n valid = (0, codegen_1.or)(...schema.map((_x, i) => equalCode(vSchema, i)));\n }\n cxt.pass(valid);\n function loopEnum() {\n gen.assign(valid, false);\n gen.forOf(\"v\", schemaCode, (v) => gen.if((0, codegen_1._) `${getEql()}(${data}, ${v})`, () => gen.assign(valid, true).break()));\n }\n function equalCode(vSchema, i) {\n const sch = schema[i];\n return typeof sch === \"object\" && sch !== null\n ? (0, codegen_1._) `${getEql()}(${data}, ${vSchema}[${i}])`\n : (0, codegen_1._) `${data} === ${sch}`;\n }\n },\n};\nexports.default = def;\n//# sourceMappingURL=enum.js.map"],"names":["require$$0","require$$1","require$$2"],"mappings":";;;;;;;;;;;;;;;AACA,OAAO,eAAe,OAAS,cAAc,EAAE,OAAO,KAAI,CAAE;AAC5D,MAAM,YAAYA;AAClB,MAAM,SAASC;AACf,MAAM,UAAUC;AAChB,MAAM,QAAQ;AAAA,EACV,SAAS;AAAA,EACT,QAAQ,CAAC,EAAE,WAAU,OAAO,GAAI,UAAU,qBAAsB,UAAU;AAC9E;AACA,MAAM,MAAM;AAAA,EACR,SAAS;AAAA,EACT,YAAY;AAAA,EACZ,OAAO;AAAA,EACP;AAAA,EACA,KAAK,KAAK;AACN,UAAM,EAAE,KAAK,MAAM,OAAO,QAAQ,YAAY,GAAE,IAAK;AACrD,QAAI,CAAC,SAAS,OAAO,WAAW;AAC5B,YAAM,IAAI,MAAM,gCAAgC;AACpD,UAAM,UAAU,OAAO,UAAU,GAAG,KAAK;AACzC,QAAI;AACJ,UAAM,SAAS,MAAO,QAAQ,QAAQ,QAAQ,SAAS,MAAO,OAAM,GAAI,OAAO,SAAS,KAAK,QAAQ,OAAO;AAC5G,QAAI;AACJ,QAAI,WAAW,OAAO;AAClB,cAAQ,IAAI,IAAI,OAAO;AACvB,UAAI,WAAW,OAAO,QAAQ;AAAA,IAC1C,OACa;AAED,UAAI,CAAC,MAAM,QAAQ,MAAM;AACrB,cAAM,IAAI,MAAM,0BAA0B;AAC9C,YAAM,UAAU,IAAI,MAAM,WAAW,UAAU;AAC/C,eAAQ,GAAI,UAAU,IAAI,GAAG,OAAO,IAAI,CAAC,IAAI,MAAM,UAAU,SAAS,CAAC,CAAC,CAAC;AAAA,IACrF;AACQ,QAAI,KAAK,KAAK;AACd,aAAS,WAAW;AAChB,UAAI,OAAO,OAAO,KAAK;AACvB,UAAI,MAAM,KAAK,YAAY,CAAC,MAAM,IAAI,IAAG,GAAI,UAAU,KAAM,OAAM,CAAE,IAAI,IAAI,KAAK,CAAC,KAAK,MAAM,IAAI,OAAO,OAAO,IAAI,EAAE,MAAK,CAAE,CAAC;AAAA,IAC1I;AACQ,aAAS,UAAU,SAAS,GAAG;AAC3B,YAAM,MAAM,OAAO,CAAC;AACpB,aAAO,OAAO,QAAQ,YAAY,QAAQ,QACpC,GAAI,UAAU,KAAM,OAAM,CAAE,IAAI,IAAI,KAAK,OAAO,IAAI,CAAC,QACrD,GAAI,UAAU,KAAM,IAAI,QAAQ,GAAG;AAAA,IACrD;AAAA,EACA;AACA;AACA,MAAA,UAAkB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"enum.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst codegen_1 = require(\"../../compile/codegen\");\nconst util_1 = require(\"../../compile/util\");\nconst equal_1 = require(\"../../runtime/equal\");\nconst error = {\n message: \"must be equal to one of the allowed values\",\n params: ({ schemaCode }) => (0, codegen_1._) `{allowedValues: ${schemaCode}}`,\n};\nconst def = {\n keyword: \"enum\",\n schemaType: \"array\",\n $data: true,\n error,\n code(cxt) {\n const { gen, data, $data, schema, schemaCode, it } = cxt;\n if (!$data && schema.length === 0)\n throw new Error(\"enum must have non-empty array\");\n const useLoop = schema.length >= it.opts.loopEnum;\n let eql;\n const getEql = () => (eql !== null && eql !== void 0 ? eql : (eql = (0, util_1.useFunc)(gen, equal_1.default)));\n let valid;\n if (useLoop || $data) {\n valid = gen.let(\"valid\");\n cxt.block$data(valid, loopEnum);\n }\n else {\n /* istanbul ignore if */\n if (!Array.isArray(schema))\n throw new Error(\"ajv implementation error\");\n const vSchema = gen.const(\"vSchema\", schemaCode);\n valid = (0, codegen_1.or)(...schema.map((_x, i) => equalCode(vSchema, i)));\n }\n cxt.pass(valid);\n function loopEnum() {\n gen.assign(valid, false);\n gen.forOf(\"v\", schemaCode, (v) => gen.if((0, codegen_1._) `${getEql()}(${data}, ${v})`, () => gen.assign(valid, true).break()));\n }\n function equalCode(vSchema, i) {\n const sch = schema[i];\n return typeof sch === \"object\" && sch !== null\n ? (0, codegen_1._) `${getEql()}(${data}, ${vSchema}[${i}])`\n : (0, codegen_1._) `${data} === ${sch}`;\n }\n },\n};\nexports.default = def;\n//# sourceMappingURL=enum.js.map"],"names":["require$$0","require$$1","require$$2"],"mappings":";;;;;;;;;;;;;;;;AACA,SAAO,eAAe,OAAS,cAAc,EAAE,OAAO,MAAM;AAC5D,QAAM,YAAYA,+BAAA;AAClB,QAAM,SAASC,4BAAA;AACf,QAAM,UAAUC,6BAAA;AAChB,QAAM,QAAQ;AAAA,IACV,SAAS;AAAA,IACT,QAAQ,CAAC,EAAE,WAAU,OAAO,GAAI,UAAU,qBAAsB,UAAU;AAAA;AAE9E,QAAM,MAAM;AAAA,IACR,SAAS;AAAA,IACT,YAAY;AAAA,IACZ,OAAO;AAAA,IACP;AAAA,IACA,KAAK,KAAK;AACN,YAAM,EAAE,KAAK,MAAM,OAAO,QAAQ,YAAY,GAAE,IAAK;AACrD,UAAI,CAAC,SAAS,OAAO,WAAW;AAC5B,cAAM,IAAI,MAAM,gCAAgC;AACpD,YAAM,UAAU,OAAO,UAAU,GAAG,KAAK;AACzC,UAAI;AACJ,YAAM,SAAS,MAAO,QAAQ,QAAQ,QAAQ,SAAS,MAAO,OAAM,GAAI,OAAO,SAAS,KAAK,QAAQ,OAAO;AAC5G,UAAI;AACJ,UAAI,WAAW,OAAO;AAClB,gBAAQ,IAAI,IAAI,OAAO;AACvB,YAAI,WAAW,OAAO,QAAQ;AAAA,MAC1C,OACa;AAED,YAAI,CAAC,MAAM,QAAQ,MAAM;AACrB,gBAAM,IAAI,MAAM,0BAA0B;AAC9C,cAAM,UAAU,IAAI,MAAM,WAAW,UAAU;AAC/C,iBAAQ,GAAI,UAAU,IAAI,GAAG,OAAO,IAAI,CAAC,IAAI,MAAM,UAAU,SAAS,CAAC,CAAC,CAAC;AAAA,MACrF;AACQ,UAAI,KAAK,KAAK;AACd,eAAS,WAAW;AAChB,YAAI,OAAO,OAAO,KAAK;AACvB,YAAI,MAAM,KAAK,YAAY,CAAC,MAAM,IAAI,IAAG,GAAI,UAAU,KAAM,OAAM,CAAE,IAAI,IAAI,KAAK,CAAC,KAAK,MAAM,IAAI,OAAO,OAAO,IAAI,EAAE,MAAK,CAAE,CAAC;AAAA,MAC1I;AACQ,eAAS,UAAU,SAAS,GAAG;AAC3B,cAAM,MAAM,OAAO,CAAC;AACpB,eAAO,OAAO,QAAQ,YAAY,QAAQ,QACpC,GAAI,UAAU,KAAM,OAAM,CAAE,IAAI,IAAI,KAAK,OAAO,IAAI,CAAC,QACrD,GAAI,UAAU,KAAM,IAAI,QAAQ,GAAG;AAAA,MACrD;AAAA,IACA;AAAA;AAEA,QAAA,UAAkB;;;","x_google_ignoreList":[0]}
@@ -2,60 +2,59 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3592b291-5a94-4824-b7fa-f5e491cc1ab8", e._sentryDebugIdIdentifier = "sentry-dbid-3592b291-5a94-4824-b7fa-f5e491cc1ab8");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f7afebe9-06b2-40af-9358-f41e771e7a83", e._sentryDebugIdIdentifier = "sentry-dbid-f7afebe9-06b2-40af-9358-f41e771e7a83");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
9
- import { __exports as validation$1 } from "../../../../../../../../_virtual/index6.js";
10
- import "./limitNumber.js";
11
- import "./multipleOf.js";
12
- import "./limitLength.js";
13
- import "./pattern.js";
14
- import "./limitProperties.js";
15
- import "./required.js";
16
- import "./limitItems.js";
17
- import "./uniqueItems.js";
18
- import "./const.js";
19
- import "./enum.js";
20
- import { __exports as limitNumber } from "../../../../../../../../_virtual/limitNumber.js";
21
- import { __exports as multipleOf } from "../../../../../../../../_virtual/multipleOf.js";
22
- import { __exports as limitLength } from "../../../../../../../../_virtual/limitLength.js";
23
- import { __exports as pattern } from "../../../../../../../../_virtual/pattern.js";
24
- import { __exports as limitProperties } from "../../../../../../../../_virtual/limitProperties.js";
25
- import { __exports as required } from "../../../../../../../../_virtual/required.js";
26
- import { __exports as limitItems } from "../../../../../../../../_virtual/limitItems.js";
27
- import { __exports as uniqueItems } from "../../../../../../../../_virtual/uniqueItems.js";
28
- import { __exports as _const } from "../../../../../../../../_virtual/const.js";
29
- import { __exports as _enum } from "../../../../../../../../_virtual/enum.js";
30
- Object.defineProperty(validation$1, "__esModule", { value: true });
31
- const limitNumber_1 = limitNumber;
32
- const multipleOf_1 = multipleOf;
33
- const limitLength_1 = limitLength;
34
- const pattern_1 = pattern;
35
- const limitProperties_1 = limitProperties;
36
- const required_1 = required;
37
- const limitItems_1 = limitItems;
38
- const uniqueItems_1 = uniqueItems;
39
- const const_1 = _const;
40
- const enum_1 = _enum;
41
- const validation = [
42
- // number
43
- limitNumber_1.default,
44
- multipleOf_1.default,
45
- // string
46
- limitLength_1.default,
47
- pattern_1.default,
48
- // object
49
- limitProperties_1.default,
50
- required_1.default,
51
- // array
52
- limitItems_1.default,
53
- uniqueItems_1.default,
54
- // any
55
- { keyword: "type", schemaType: ["string", "array"] },
56
- { keyword: "nullable", schemaType: "boolean" },
57
- const_1.default,
58
- enum_1.default
59
- ];
60
- validation$1.default = validation;
9
+ import { __exports as validation } from "../../../../../../../../_virtual/index8.js";
10
+ import { __require as requireLimitNumber } from "./limitNumber.js";
11
+ import { __require as requireMultipleOf } from "./multipleOf.js";
12
+ import { __require as requireLimitLength } from "./limitLength.js";
13
+ import { __require as requirePattern } from "./pattern.js";
14
+ import { __require as requireLimitProperties } from "./limitProperties.js";
15
+ import { __require as requireRequired } from "./required.js";
16
+ import { __require as requireLimitItems } from "./limitItems.js";
17
+ import { __require as requireUniqueItems } from "./uniqueItems.js";
18
+ import { __require as require_const } from "./const.js";
19
+ import { __require as require_enum } from "./enum.js";
20
+ var hasRequiredValidation;
21
+ function requireValidation() {
22
+ if (hasRequiredValidation) return validation;
23
+ hasRequiredValidation = 1;
24
+ Object.defineProperty(validation, "__esModule", { value: true });
25
+ const limitNumber_1 = /* @__PURE__ */ requireLimitNumber();
26
+ const multipleOf_1 = /* @__PURE__ */ requireMultipleOf();
27
+ const limitLength_1 = /* @__PURE__ */ requireLimitLength();
28
+ const pattern_1 = /* @__PURE__ */ requirePattern();
29
+ const limitProperties_1 = /* @__PURE__ */ requireLimitProperties();
30
+ const required_1 = /* @__PURE__ */ requireRequired();
31
+ const limitItems_1 = /* @__PURE__ */ requireLimitItems();
32
+ const uniqueItems_1 = /* @__PURE__ */ requireUniqueItems();
33
+ const const_1 = /* @__PURE__ */ require_const();
34
+ const enum_1 = /* @__PURE__ */ require_enum();
35
+ const validation$1 = [
36
+ // number
37
+ limitNumber_1.default,
38
+ multipleOf_1.default,
39
+ // string
40
+ limitLength_1.default,
41
+ pattern_1.default,
42
+ // object
43
+ limitProperties_1.default,
44
+ required_1.default,
45
+ // array
46
+ limitItems_1.default,
47
+ uniqueItems_1.default,
48
+ // any
49
+ { keyword: "type", schemaType: ["string", "array"] },
50
+ { keyword: "nullable", schemaType: "boolean" },
51
+ const_1.default,
52
+ enum_1.default
53
+ ];
54
+ validation.default = validation$1;
55
+ return validation;
56
+ }
57
+ export {
58
+ requireValidation as __require
59
+ };
61
60
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst limitNumber_1 = require(\"./limitNumber\");\nconst multipleOf_1 = require(\"./multipleOf\");\nconst limitLength_1 = require(\"./limitLength\");\nconst pattern_1 = require(\"./pattern\");\nconst limitProperties_1 = require(\"./limitProperties\");\nconst required_1 = require(\"./required\");\nconst limitItems_1 = require(\"./limitItems\");\nconst uniqueItems_1 = require(\"./uniqueItems\");\nconst const_1 = require(\"./const\");\nconst enum_1 = require(\"./enum\");\nconst validation = [\n // number\n limitNumber_1.default,\n multipleOf_1.default,\n // string\n limitLength_1.default,\n pattern_1.default,\n // object\n limitProperties_1.default,\n required_1.default,\n // array\n limitItems_1.default,\n uniqueItems_1.default,\n // any\n { keyword: \"type\", schemaType: [\"string\", \"array\"] },\n { keyword: \"nullable\", schemaType: \"boolean\" },\n const_1.default,\n enum_1.default,\n];\nexports.default = validation;\n//# sourceMappingURL=index.js.map"],"names":["validation_1","require$$0","require$$1","require$$2","require$$3","require$$4","require$$5","require$$6","require$$7","require$$8","require$$9"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,OAAO,eAAeA,cAAS,cAAc,EAAE,OAAO,KAAI,CAAE;AAC5D,MAAM,gBAAgBC;AACtB,MAAM,eAAeC;AACrB,MAAM,gBAAgBC;AACtB,MAAM,YAAYC;AAClB,MAAM,oBAAoBC;AAC1B,MAAM,aAAaC;AACnB,MAAM,eAAeC;AACrB,MAAM,gBAAgBC;AACtB,MAAM,UAAUC;AAChB,MAAM,SAASC;AACf,MAAM,aAAa;AAAA;AAAA,EAEf,cAAc;AAAA,EACd,aAAa;AAAA;AAAA,EAEb,cAAc;AAAA,EACd,UAAU;AAAA;AAAA,EAEV,kBAAkB;AAAA,EAClB,WAAW;AAAA;AAAA,EAEX,aAAa;AAAA,EACb,cAAc;AAAA;AAAA,EAEd,EAAE,SAAS,QAAQ,YAAY,CAAC,UAAU,OAAO,EAAC;AAAA,EAClD,EAAE,SAAS,YAAY,YAAY,UAAS;AAAA,EAC5C,QAAQ;AAAA,EACR,OAAO;AACX;AACAV,aAAA,UAAkB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst limitNumber_1 = require(\"./limitNumber\");\nconst multipleOf_1 = require(\"./multipleOf\");\nconst limitLength_1 = require(\"./limitLength\");\nconst pattern_1 = require(\"./pattern\");\nconst limitProperties_1 = require(\"./limitProperties\");\nconst required_1 = require(\"./required\");\nconst limitItems_1 = require(\"./limitItems\");\nconst uniqueItems_1 = require(\"./uniqueItems\");\nconst const_1 = require(\"./const\");\nconst enum_1 = require(\"./enum\");\nconst validation = [\n // number\n limitNumber_1.default,\n multipleOf_1.default,\n // string\n limitLength_1.default,\n pattern_1.default,\n // object\n limitProperties_1.default,\n required_1.default,\n // array\n limitItems_1.default,\n uniqueItems_1.default,\n // any\n { keyword: \"type\", schemaType: [\"string\", \"array\"] },\n { keyword: \"nullable\", schemaType: \"boolean\" },\n const_1.default,\n enum_1.default,\n];\nexports.default = validation;\n//# sourceMappingURL=index.js.map"],"names":["validation_1","require$$0","require$$1","require$$2","require$$3","require$$4","require$$5","require$$6","require$$7","require$$8","require$$9","validation"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AACA,SAAO,eAAeA,YAAS,cAAc,EAAE,OAAO,MAAM;AAC5D,QAAM,gBAAgBC,mCAAA;AACtB,QAAM,eAAeC,kCAAA;AACrB,QAAM,gBAAgBC,mCAAA;AACtB,QAAM,YAAYC,+BAAA;AAClB,QAAM,oBAAoBC,uCAAA;AAC1B,QAAM,aAAaC,gCAAA;AACnB,QAAM,eAAeC,kCAAA;AACrB,QAAM,gBAAgBC,mCAAA;AACtB,QAAM,UAAUC,8BAAA;AAChB,QAAM,SAASC,6BAAA;AACf,QAAMC,eAAa;AAAA;AAAA,IAEf,cAAc;AAAA,IACd,aAAa;AAAA;AAAA,IAEb,cAAc;AAAA,IACd,UAAU;AAAA;AAAA,IAEV,kBAAkB;AAAA,IAClB,WAAW;AAAA;AAAA,IAEX,aAAa;AAAA,IACb,cAAc;AAAA;AAAA,IAEd,EAAE,SAAS,QAAQ,YAAY,CAAC,UAAU,OAAO,EAAC;AAAA,IAClD,EAAE,SAAS,YAAY,YAAY,UAAS;AAAA,IAC5C,QAAQ;AAAA,IACR,OAAO;AAAA;AAEXX,aAAA,UAAkBW;;;","x_google_ignoreList":[0]}
@@ -2,33 +2,41 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "4abe140c-83a2-4883-8aec-d545e1347b32", e._sentryDebugIdIdentifier = "sentry-dbid-4abe140c-83a2-4883-8aec-d545e1347b32");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "668352e2-1baa-4440-83ff-3745aaddab23", e._sentryDebugIdIdentifier = "sentry-dbid-668352e2-1baa-4440-83ff-3745aaddab23");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
9
9
  import { __exports as limitItems } from "../../../../../../../../_virtual/limitItems.js";
10
- import "../../compile/codegen/index.js";
11
- import { __exports as codegen } from "../../../../../../../../_virtual/index.js";
12
- Object.defineProperty(limitItems, "__esModule", { value: true });
13
- const codegen_1 = codegen;
14
- const error = {
15
- message({ keyword, schemaCode }) {
16
- const comp = keyword === "maxItems" ? "more" : "fewer";
17
- return (0, codegen_1.str)`must NOT have ${comp} than ${schemaCode} items`;
18
- },
19
- params: ({ schemaCode }) => (0, codegen_1._)`{limit: ${schemaCode}}`
10
+ import { __require as requireCodegen } from "../../compile/codegen/index.js";
11
+ var hasRequiredLimitItems;
12
+ function requireLimitItems() {
13
+ if (hasRequiredLimitItems) return limitItems;
14
+ hasRequiredLimitItems = 1;
15
+ Object.defineProperty(limitItems, "__esModule", { value: true });
16
+ const codegen_1 = /* @__PURE__ */ requireCodegen();
17
+ const error = {
18
+ message({ keyword, schemaCode }) {
19
+ const comp = keyword === "maxItems" ? "more" : "fewer";
20
+ return (0, codegen_1.str)`must NOT have ${comp} than ${schemaCode} items`;
21
+ },
22
+ params: ({ schemaCode }) => (0, codegen_1._)`{limit: ${schemaCode}}`
23
+ };
24
+ const def = {
25
+ keyword: ["maxItems", "minItems"],
26
+ type: "array",
27
+ schemaType: "number",
28
+ $data: true,
29
+ error,
30
+ code(cxt) {
31
+ const { keyword, data, schemaCode } = cxt;
32
+ const op = keyword === "maxItems" ? codegen_1.operators.GT : codegen_1.operators.LT;
33
+ cxt.fail$data((0, codegen_1._)`${data}.length ${op} ${schemaCode}`);
34
+ }
35
+ };
36
+ limitItems.default = def;
37
+ return limitItems;
38
+ }
39
+ export {
40
+ requireLimitItems as __require
20
41
  };
21
- const def = {
22
- keyword: ["maxItems", "minItems"],
23
- type: "array",
24
- schemaType: "number",
25
- $data: true,
26
- error,
27
- code(cxt) {
28
- const { keyword, data, schemaCode } = cxt;
29
- const op = keyword === "maxItems" ? codegen_1.operators.GT : codegen_1.operators.LT;
30
- cxt.fail$data((0, codegen_1._)`${data}.length ${op} ${schemaCode}`);
31
- }
32
- };
33
- limitItems.default = def;
34
42
  //# sourceMappingURL=limitItems.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"limitItems.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst codegen_1 = require(\"../../compile/codegen\");\nconst error = {\n message({ keyword, schemaCode }) {\n const comp = keyword === \"maxItems\" ? \"more\" : \"fewer\";\n return (0, codegen_1.str) `must NOT have ${comp} than ${schemaCode} items`;\n },\n params: ({ schemaCode }) => (0, codegen_1._) `{limit: ${schemaCode}}`,\n};\nconst def = {\n keyword: [\"maxItems\", \"minItems\"],\n type: \"array\",\n schemaType: \"number\",\n $data: true,\n error,\n code(cxt) {\n const { keyword, data, schemaCode } = cxt;\n const op = keyword === \"maxItems\" ? codegen_1.operators.GT : codegen_1.operators.LT;\n cxt.fail$data((0, codegen_1._) `${data}.length ${op} ${schemaCode}`);\n },\n};\nexports.default = def;\n//# sourceMappingURL=limitItems.js.map"],"names":["require$$0"],"mappings":";;;;;;;;;;;AACA,OAAO,eAAe,YAAS,cAAc,EAAE,OAAO,KAAI,CAAE;AAC5D,MAAM,YAAYA;AAClB,MAAM,QAAQ;AAAA,EACV,QAAQ,EAAE,SAAS,cAAc;AAC7B,UAAM,OAAO,YAAY,aAAa,SAAS;AAC/C,YAAO,GAAI,UAAU,qBAAsB,IAAI,SAAS,UAAU;AAAA,EAC1E;AAAA,EACI,QAAQ,CAAC,EAAE,WAAU,OAAO,GAAI,UAAU,aAAc,UAAU;AACtE;AACA,MAAM,MAAM;AAAA,EACR,SAAS,CAAC,YAAY,UAAU;AAAA,EAChC,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,OAAO;AAAA,EACP;AAAA,EACA,KAAK,KAAK;AACN,UAAM,EAAE,SAAS,MAAM,WAAU,IAAK;AACtC,UAAM,KAAK,YAAY,aAAa,UAAU,UAAU,KAAK,UAAU,UAAU;AACjF,QAAI,cAAc,UAAU,KAAM,IAAI,WAAW,EAAE,IAAI,UAAU,EAAE;AAAA,EAC3E;AACA;AACA,WAAA,UAAkB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"limitItems.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst codegen_1 = require(\"../../compile/codegen\");\nconst error = {\n message({ keyword, schemaCode }) {\n const comp = keyword === \"maxItems\" ? \"more\" : \"fewer\";\n return (0, codegen_1.str) `must NOT have ${comp} than ${schemaCode} items`;\n },\n params: ({ schemaCode }) => (0, codegen_1._) `{limit: ${schemaCode}}`,\n};\nconst def = {\n keyword: [\"maxItems\", \"minItems\"],\n type: \"array\",\n schemaType: \"number\",\n $data: true,\n error,\n code(cxt) {\n const { keyword, data, schemaCode } = cxt;\n const op = keyword === \"maxItems\" ? codegen_1.operators.GT : codegen_1.operators.LT;\n cxt.fail$data((0, codegen_1._) `${data}.length ${op} ${schemaCode}`);\n },\n};\nexports.default = def;\n//# sourceMappingURL=limitItems.js.map"],"names":["require$$0"],"mappings":";;;;;;;;;;;;;;AACA,SAAO,eAAe,YAAS,cAAc,EAAE,OAAO,MAAM;AAC5D,QAAM,YAAYA,+BAAA;AAClB,QAAM,QAAQ;AAAA,IACV,QAAQ,EAAE,SAAS,cAAc;AAC7B,YAAM,OAAO,YAAY,aAAa,SAAS;AAC/C,cAAO,GAAI,UAAU,qBAAsB,IAAI,SAAS,UAAU;AAAA,IAC1E;AAAA,IACI,QAAQ,CAAC,EAAE,WAAU,OAAO,GAAI,UAAU,aAAc,UAAU;AAAA;AAEtE,QAAM,MAAM;AAAA,IACR,SAAS,CAAC,YAAY,UAAU;AAAA,IAChC,MAAM;AAAA,IACN,YAAY;AAAA,IACZ,OAAO;AAAA,IACP;AAAA,IACA,KAAK,KAAK;AACN,YAAM,EAAE,SAAS,MAAM,WAAU,IAAK;AACtC,YAAM,KAAK,YAAY,aAAa,UAAU,UAAU,KAAK,UAAU,UAAU;AACjF,UAAI,cAAc,UAAU,KAAM,IAAI,WAAW,EAAE,IAAI,UAAU,EAAE;AAAA,IAC3E;AAAA;AAEA,aAAA,UAAkB;;;","x_google_ignoreList":[0]}
@@ -2,40 +2,46 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f83e6633-4434-49ff-9ee6-f202ce2f503f", e._sentryDebugIdIdentifier = "sentry-dbid-f83e6633-4434-49ff-9ee6-f202ce2f503f");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7aa57f03-400a-461f-a189-994b8ee224b3", e._sentryDebugIdIdentifier = "sentry-dbid-7aa57f03-400a-461f-a189-994b8ee224b3");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
9
9
  import { __exports as limitLength } from "../../../../../../../../_virtual/limitLength.js";
10
- import "../../compile/codegen/index.js";
11
- import "../../compile/util.js";
12
- import "../../runtime/ucs2length.js";
13
- import { __exports as codegen } from "../../../../../../../../_virtual/index.js";
14
- import { __exports as util } from "../../../../../../../../_virtual/util.js";
15
- import { __exports as ucs2length } from "../../../../../../../../_virtual/ucs2length.js";
16
- Object.defineProperty(limitLength, "__esModule", { value: true });
17
- const codegen_1 = codegen;
18
- const util_1 = util;
19
- const ucs2length_1 = ucs2length;
20
- const error = {
21
- message({ keyword, schemaCode }) {
22
- const comp = keyword === "maxLength" ? "more" : "fewer";
23
- return (0, codegen_1.str)`must NOT have ${comp} than ${schemaCode} characters`;
24
- },
25
- params: ({ schemaCode }) => (0, codegen_1._)`{limit: ${schemaCode}}`
10
+ import { __require as requireCodegen } from "../../compile/codegen/index.js";
11
+ import { __require as requireUtil } from "../../compile/util.js";
12
+ import { __require as requireUcs2length } from "../../runtime/ucs2length.js";
13
+ var hasRequiredLimitLength;
14
+ function requireLimitLength() {
15
+ if (hasRequiredLimitLength) return limitLength;
16
+ hasRequiredLimitLength = 1;
17
+ Object.defineProperty(limitLength, "__esModule", { value: true });
18
+ const codegen_1 = /* @__PURE__ */ requireCodegen();
19
+ const util_1 = /* @__PURE__ */ requireUtil();
20
+ const ucs2length_1 = /* @__PURE__ */ requireUcs2length();
21
+ const error = {
22
+ message({ keyword, schemaCode }) {
23
+ const comp = keyword === "maxLength" ? "more" : "fewer";
24
+ return (0, codegen_1.str)`must NOT have ${comp} than ${schemaCode} characters`;
25
+ },
26
+ params: ({ schemaCode }) => (0, codegen_1._)`{limit: ${schemaCode}}`
27
+ };
28
+ const def = {
29
+ keyword: ["maxLength", "minLength"],
30
+ type: "string",
31
+ schemaType: "number",
32
+ $data: true,
33
+ error,
34
+ code(cxt) {
35
+ const { keyword, data, schemaCode, it } = cxt;
36
+ const op = keyword === "maxLength" ? codegen_1.operators.GT : codegen_1.operators.LT;
37
+ const len = it.opts.unicode === false ? (0, codegen_1._)`${data}.length` : (0, codegen_1._)`${(0, util_1.useFunc)(cxt.gen, ucs2length_1.default)}(${data})`;
38
+ cxt.fail$data((0, codegen_1._)`${len} ${op} ${schemaCode}`);
39
+ }
40
+ };
41
+ limitLength.default = def;
42
+ return limitLength;
43
+ }
44
+ export {
45
+ requireLimitLength as __require
26
46
  };
27
- const def = {
28
- keyword: ["maxLength", "minLength"],
29
- type: "string",
30
- schemaType: "number",
31
- $data: true,
32
- error,
33
- code(cxt) {
34
- const { keyword, data, schemaCode, it } = cxt;
35
- const op = keyword === "maxLength" ? codegen_1.operators.GT : codegen_1.operators.LT;
36
- const len = it.opts.unicode === false ? (0, codegen_1._)`${data}.length` : (0, codegen_1._)`${(0, util_1.useFunc)(cxt.gen, ucs2length_1.default)}(${data})`;
37
- cxt.fail$data((0, codegen_1._)`${len} ${op} ${schemaCode}`);
38
- }
39
- };
40
- limitLength.default = def;
41
47
  //# sourceMappingURL=limitLength.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"limitLength.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst codegen_1 = require(\"../../compile/codegen\");\nconst util_1 = require(\"../../compile/util\");\nconst ucs2length_1 = require(\"../../runtime/ucs2length\");\nconst error = {\n message({ keyword, schemaCode }) {\n const comp = keyword === \"maxLength\" ? \"more\" : \"fewer\";\n return (0, codegen_1.str) `must NOT have ${comp} than ${schemaCode} characters`;\n },\n params: ({ schemaCode }) => (0, codegen_1._) `{limit: ${schemaCode}}`,\n};\nconst def = {\n keyword: [\"maxLength\", \"minLength\"],\n type: \"string\",\n schemaType: \"number\",\n $data: true,\n error,\n code(cxt) {\n const { keyword, data, schemaCode, it } = cxt;\n const op = keyword === \"maxLength\" ? codegen_1.operators.GT : codegen_1.operators.LT;\n const len = it.opts.unicode === false ? (0, codegen_1._) `${data}.length` : (0, codegen_1._) `${(0, util_1.useFunc)(cxt.gen, ucs2length_1.default)}(${data})`;\n cxt.fail$data((0, codegen_1._) `${len} ${op} ${schemaCode}`);\n },\n};\nexports.default = def;\n//# sourceMappingURL=limitLength.js.map"],"names":["require$$0","require$$1","require$$2"],"mappings":";;;;;;;;;;;;;;;AACA,OAAO,eAAe,aAAS,cAAc,EAAE,OAAO,KAAI,CAAE;AAC5D,MAAM,YAAYA;AAClB,MAAM,SAASC;AACf,MAAM,eAAeC;AACrB,MAAM,QAAQ;AAAA,EACV,QAAQ,EAAE,SAAS,cAAc;AAC7B,UAAM,OAAO,YAAY,cAAc,SAAS;AAChD,YAAO,GAAI,UAAU,qBAAsB,IAAI,SAAS,UAAU;AAAA,EAC1E;AAAA,EACI,QAAQ,CAAC,EAAE,WAAU,OAAO,GAAI,UAAU,aAAc,UAAU;AACtE;AACA,MAAM,MAAM;AAAA,EACR,SAAS,CAAC,aAAa,WAAW;AAAA,EAClC,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,OAAO;AAAA,EACP;AAAA,EACA,KAAK,KAAK;AACN,UAAM,EAAE,SAAS,MAAM,YAAY,GAAE,IAAK;AAC1C,UAAM,KAAK,YAAY,cAAc,UAAU,UAAU,KAAK,UAAU,UAAU;AAClF,UAAM,MAAM,GAAG,KAAK,YAAY,YAAY,UAAU,KAAM,IAAI,aAAY,GAAI,UAAU,SAAU,OAAO,SAAS,IAAI,KAAK,aAAa,OAAO,CAAC,IAAI,IAAI;AAC1J,QAAI,cAAc,UAAU,KAAM,GAAG,IAAI,EAAE,IAAI,UAAU,EAAE;AAAA,EACnE;AACA;AACA,YAAA,UAAkB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"limitLength.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst codegen_1 = require(\"../../compile/codegen\");\nconst util_1 = require(\"../../compile/util\");\nconst ucs2length_1 = require(\"../../runtime/ucs2length\");\nconst error = {\n message({ keyword, schemaCode }) {\n const comp = keyword === \"maxLength\" ? \"more\" : \"fewer\";\n return (0, codegen_1.str) `must NOT have ${comp} than ${schemaCode} characters`;\n },\n params: ({ schemaCode }) => (0, codegen_1._) `{limit: ${schemaCode}}`,\n};\nconst def = {\n keyword: [\"maxLength\", \"minLength\"],\n type: \"string\",\n schemaType: \"number\",\n $data: true,\n error,\n code(cxt) {\n const { keyword, data, schemaCode, it } = cxt;\n const op = keyword === \"maxLength\" ? codegen_1.operators.GT : codegen_1.operators.LT;\n const len = it.opts.unicode === false ? (0, codegen_1._) `${data}.length` : (0, codegen_1._) `${(0, util_1.useFunc)(cxt.gen, ucs2length_1.default)}(${data})`;\n cxt.fail$data((0, codegen_1._) `${len} ${op} ${schemaCode}`);\n },\n};\nexports.default = def;\n//# sourceMappingURL=limitLength.js.map"],"names":["require$$0","require$$1","require$$2"],"mappings":";;;;;;;;;;;;;;;;AACA,SAAO,eAAe,aAAS,cAAc,EAAE,OAAO,MAAM;AAC5D,QAAM,YAAYA,+BAAA;AAClB,QAAM,SAASC,4BAAA;AACf,QAAM,eAAeC,kCAAA;AACrB,QAAM,QAAQ;AAAA,IACV,QAAQ,EAAE,SAAS,cAAc;AAC7B,YAAM,OAAO,YAAY,cAAc,SAAS;AAChD,cAAO,GAAI,UAAU,qBAAsB,IAAI,SAAS,UAAU;AAAA,IAC1E;AAAA,IACI,QAAQ,CAAC,EAAE,WAAU,OAAO,GAAI,UAAU,aAAc,UAAU;AAAA;AAEtE,QAAM,MAAM;AAAA,IACR,SAAS,CAAC,aAAa,WAAW;AAAA,IAClC,MAAM;AAAA,IACN,YAAY;AAAA,IACZ,OAAO;AAAA,IACP;AAAA,IACA,KAAK,KAAK;AACN,YAAM,EAAE,SAAS,MAAM,YAAY,GAAE,IAAK;AAC1C,YAAM,KAAK,YAAY,cAAc,UAAU,UAAU,KAAK,UAAU,UAAU;AAClF,YAAM,MAAM,GAAG,KAAK,YAAY,YAAY,UAAU,KAAM,IAAI,aAAY,GAAI,UAAU,SAAU,OAAO,SAAS,IAAI,KAAK,aAAa,OAAO,CAAC,IAAI,IAAI;AAC1J,UAAI,cAAc,UAAU,KAAM,GAAG,IAAI,EAAE,IAAI,UAAU,EAAE;AAAA,IACnE;AAAA;AAEA,cAAA,UAAkB;;;","x_google_ignoreList":[0]}
@@ -2,36 +2,44 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "29022df1-63a5-4b25-bcc1-b913345520dd", e._sentryDebugIdIdentifier = "sentry-dbid-29022df1-63a5-4b25-bcc1-b913345520dd");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "1b67d892-a317-47f8-8aa3-c5e52cb38f4d", e._sentryDebugIdIdentifier = "sentry-dbid-1b67d892-a317-47f8-8aa3-c5e52cb38f4d");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
9
9
  import { __exports as limitNumber } from "../../../../../../../../_virtual/limitNumber.js";
10
- import "../../compile/codegen/index.js";
11
- import { __exports as codegen } from "../../../../../../../../_virtual/index.js";
12
- Object.defineProperty(limitNumber, "__esModule", { value: true });
13
- const codegen_1 = codegen;
14
- const ops = codegen_1.operators;
15
- const KWDs = {
16
- maximum: { okStr: "<=", ok: ops.LTE, fail: ops.GT },
17
- minimum: { okStr: ">=", ok: ops.GTE, fail: ops.LT },
18
- exclusiveMaximum: { okStr: "<", ok: ops.LT, fail: ops.GTE },
19
- exclusiveMinimum: { okStr: ">", ok: ops.GT, fail: ops.LTE }
10
+ import { __require as requireCodegen } from "../../compile/codegen/index.js";
11
+ var hasRequiredLimitNumber;
12
+ function requireLimitNumber() {
13
+ if (hasRequiredLimitNumber) return limitNumber;
14
+ hasRequiredLimitNumber = 1;
15
+ Object.defineProperty(limitNumber, "__esModule", { value: true });
16
+ const codegen_1 = /* @__PURE__ */ requireCodegen();
17
+ const ops = codegen_1.operators;
18
+ const KWDs = {
19
+ maximum: { okStr: "<=", ok: ops.LTE, fail: ops.GT },
20
+ minimum: { okStr: ">=", ok: ops.GTE, fail: ops.LT },
21
+ exclusiveMaximum: { okStr: "<", ok: ops.LT, fail: ops.GTE },
22
+ exclusiveMinimum: { okStr: ">", ok: ops.GT, fail: ops.LTE }
23
+ };
24
+ const error = {
25
+ message: ({ keyword, schemaCode }) => (0, codegen_1.str)`must be ${KWDs[keyword].okStr} ${schemaCode}`,
26
+ params: ({ keyword, schemaCode }) => (0, codegen_1._)`{comparison: ${KWDs[keyword].okStr}, limit: ${schemaCode}}`
27
+ };
28
+ const def = {
29
+ keyword: Object.keys(KWDs),
30
+ type: "number",
31
+ schemaType: "number",
32
+ $data: true,
33
+ error,
34
+ code(cxt) {
35
+ const { keyword, data, schemaCode } = cxt;
36
+ cxt.fail$data((0, codegen_1._)`${data} ${KWDs[keyword].fail} ${schemaCode} || isNaN(${data})`);
37
+ }
38
+ };
39
+ limitNumber.default = def;
40
+ return limitNumber;
41
+ }
42
+ export {
43
+ requireLimitNumber as __require
20
44
  };
21
- const error = {
22
- message: ({ keyword, schemaCode }) => (0, codegen_1.str)`must be ${KWDs[keyword].okStr} ${schemaCode}`,
23
- params: ({ keyword, schemaCode }) => (0, codegen_1._)`{comparison: ${KWDs[keyword].okStr}, limit: ${schemaCode}}`
24
- };
25
- const def = {
26
- keyword: Object.keys(KWDs),
27
- type: "number",
28
- schemaType: "number",
29
- $data: true,
30
- error,
31
- code(cxt) {
32
- const { keyword, data, schemaCode } = cxt;
33
- cxt.fail$data((0, codegen_1._)`${data} ${KWDs[keyword].fail} ${schemaCode} || isNaN(${data})`);
34
- }
35
- };
36
- limitNumber.default = def;
37
45
  //# sourceMappingURL=limitNumber.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"limitNumber.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst codegen_1 = require(\"../../compile/codegen\");\nconst ops = codegen_1.operators;\nconst KWDs = {\n maximum: { okStr: \"<=\", ok: ops.LTE, fail: ops.GT },\n minimum: { okStr: \">=\", ok: ops.GTE, fail: ops.LT },\n exclusiveMaximum: { okStr: \"<\", ok: ops.LT, fail: ops.GTE },\n exclusiveMinimum: { okStr: \">\", ok: ops.GT, fail: ops.LTE },\n};\nconst error = {\n message: ({ keyword, schemaCode }) => (0, codegen_1.str) `must be ${KWDs[keyword].okStr} ${schemaCode}`,\n params: ({ keyword, schemaCode }) => (0, codegen_1._) `{comparison: ${KWDs[keyword].okStr}, limit: ${schemaCode}}`,\n};\nconst def = {\n keyword: Object.keys(KWDs),\n type: \"number\",\n schemaType: \"number\",\n $data: true,\n error,\n code(cxt) {\n const { keyword, data, schemaCode } = cxt;\n cxt.fail$data((0, codegen_1._) `${data} ${KWDs[keyword].fail} ${schemaCode} || isNaN(${data})`);\n },\n};\nexports.default = def;\n//# sourceMappingURL=limitNumber.js.map"],"names":["require$$0"],"mappings":";;;;;;;;;;;AACA,OAAO,eAAe,aAAS,cAAc,EAAE,OAAO,KAAI,CAAE;AAC5D,MAAM,YAAYA;AAClB,MAAM,MAAM,UAAU;AACtB,MAAM,OAAO;AAAA,EACT,SAAS,EAAE,OAAO,MAAM,IAAI,IAAI,KAAK,MAAM,IAAI,GAAE;AAAA,EACjD,SAAS,EAAE,OAAO,MAAM,IAAI,IAAI,KAAK,MAAM,IAAI,GAAE;AAAA,EACjD,kBAAkB,EAAE,OAAO,KAAK,IAAI,IAAI,IAAI,MAAM,IAAI,IAAG;AAAA,EACzD,kBAAkB,EAAE,OAAO,KAAK,IAAI,IAAI,IAAI,MAAM,IAAI,IAAG;AAC7D;AACA,MAAM,QAAQ;AAAA,EACV,SAAS,CAAC,EAAE,SAAS,WAAU,OAAO,GAAI,UAAU,eAAgB,KAAK,OAAO,EAAE,KAAK,IAAI,UAAU;AAAA,EACrG,QAAQ,CAAC,EAAE,SAAS,WAAU,OAAO,GAAI,UAAU,kBAAmB,KAAK,OAAO,EAAE,KAAK,YAAY,UAAU;AACnH;AACA,MAAM,MAAM;AAAA,EACR,SAAS,OAAO,KAAK,IAAI;AAAA,EACzB,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,OAAO;AAAA,EACP;AAAA,EACA,KAAK,KAAK;AACN,UAAM,EAAE,SAAS,MAAM,WAAU,IAAK;AACtC,QAAI,cAAc,UAAU,KAAM,IAAI,IAAI,KAAK,OAAO,EAAE,IAAI,IAAI,UAAU,aAAa,IAAI,GAAG;AAAA,EACtG;AACA;AACA,YAAA,UAAkB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"limitNumber.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst codegen_1 = require(\"../../compile/codegen\");\nconst ops = codegen_1.operators;\nconst KWDs = {\n maximum: { okStr: \"<=\", ok: ops.LTE, fail: ops.GT },\n minimum: { okStr: \">=\", ok: ops.GTE, fail: ops.LT },\n exclusiveMaximum: { okStr: \"<\", ok: ops.LT, fail: ops.GTE },\n exclusiveMinimum: { okStr: \">\", ok: ops.GT, fail: ops.LTE },\n};\nconst error = {\n message: ({ keyword, schemaCode }) => (0, codegen_1.str) `must be ${KWDs[keyword].okStr} ${schemaCode}`,\n params: ({ keyword, schemaCode }) => (0, codegen_1._) `{comparison: ${KWDs[keyword].okStr}, limit: ${schemaCode}}`,\n};\nconst def = {\n keyword: Object.keys(KWDs),\n type: \"number\",\n schemaType: \"number\",\n $data: true,\n error,\n code(cxt) {\n const { keyword, data, schemaCode } = cxt;\n cxt.fail$data((0, codegen_1._) `${data} ${KWDs[keyword].fail} ${schemaCode} || isNaN(${data})`);\n },\n};\nexports.default = def;\n//# sourceMappingURL=limitNumber.js.map"],"names":["require$$0"],"mappings":";;;;;;;;;;;;;;AACA,SAAO,eAAe,aAAS,cAAc,EAAE,OAAO,MAAM;AAC5D,QAAM,YAAYA,+BAAA;AAClB,QAAM,MAAM,UAAU;AACtB,QAAM,OAAO;AAAA,IACT,SAAS,EAAE,OAAO,MAAM,IAAI,IAAI,KAAK,MAAM,IAAI,GAAE;AAAA,IACjD,SAAS,EAAE,OAAO,MAAM,IAAI,IAAI,KAAK,MAAM,IAAI,GAAE;AAAA,IACjD,kBAAkB,EAAE,OAAO,KAAK,IAAI,IAAI,IAAI,MAAM,IAAI,IAAG;AAAA,IACzD,kBAAkB,EAAE,OAAO,KAAK,IAAI,IAAI,IAAI,MAAM,IAAI,IAAG;AAAA;AAE7D,QAAM,QAAQ;AAAA,IACV,SAAS,CAAC,EAAE,SAAS,WAAU,OAAO,GAAI,UAAU,eAAgB,KAAK,OAAO,EAAE,KAAK,IAAI,UAAU;AAAA,IACrG,QAAQ,CAAC,EAAE,SAAS,WAAU,OAAO,GAAI,UAAU,kBAAmB,KAAK,OAAO,EAAE,KAAK,YAAY,UAAU;AAAA;AAEnH,QAAM,MAAM;AAAA,IACR,SAAS,OAAO,KAAK,IAAI;AAAA,IACzB,MAAM;AAAA,IACN,YAAY;AAAA,IACZ,OAAO;AAAA,IACP;AAAA,IACA,KAAK,KAAK;AACN,YAAM,EAAE,SAAS,MAAM,WAAU,IAAK;AACtC,UAAI,cAAc,UAAU,KAAM,IAAI,IAAI,KAAK,OAAO,EAAE,IAAI,IAAI,UAAU,aAAa,IAAI,GAAG;AAAA,IACtG;AAAA;AAEA,cAAA,UAAkB;;;","x_google_ignoreList":[0]}
@@ -2,33 +2,41 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5b09e392-c71b-4253-9abb-bdf502b5d1ef", e._sentryDebugIdIdentifier = "sentry-dbid-5b09e392-c71b-4253-9abb-bdf502b5d1ef");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c507be50-57b1-4ea7-81d6-6e29043b2f74", e._sentryDebugIdIdentifier = "sentry-dbid-c507be50-57b1-4ea7-81d6-6e29043b2f74");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
9
9
  import { __exports as limitProperties } from "../../../../../../../../_virtual/limitProperties.js";
10
- import "../../compile/codegen/index.js";
11
- import { __exports as codegen } from "../../../../../../../../_virtual/index.js";
12
- Object.defineProperty(limitProperties, "__esModule", { value: true });
13
- const codegen_1 = codegen;
14
- const error = {
15
- message({ keyword, schemaCode }) {
16
- const comp = keyword === "maxProperties" ? "more" : "fewer";
17
- return (0, codegen_1.str)`must NOT have ${comp} than ${schemaCode} properties`;
18
- },
19
- params: ({ schemaCode }) => (0, codegen_1._)`{limit: ${schemaCode}}`
10
+ import { __require as requireCodegen } from "../../compile/codegen/index.js";
11
+ var hasRequiredLimitProperties;
12
+ function requireLimitProperties() {
13
+ if (hasRequiredLimitProperties) return limitProperties;
14
+ hasRequiredLimitProperties = 1;
15
+ Object.defineProperty(limitProperties, "__esModule", { value: true });
16
+ const codegen_1 = /* @__PURE__ */ requireCodegen();
17
+ const error = {
18
+ message({ keyword, schemaCode }) {
19
+ const comp = keyword === "maxProperties" ? "more" : "fewer";
20
+ return (0, codegen_1.str)`must NOT have ${comp} than ${schemaCode} properties`;
21
+ },
22
+ params: ({ schemaCode }) => (0, codegen_1._)`{limit: ${schemaCode}}`
23
+ };
24
+ const def = {
25
+ keyword: ["maxProperties", "minProperties"],
26
+ type: "object",
27
+ schemaType: "number",
28
+ $data: true,
29
+ error,
30
+ code(cxt) {
31
+ const { keyword, data, schemaCode } = cxt;
32
+ const op = keyword === "maxProperties" ? codegen_1.operators.GT : codegen_1.operators.LT;
33
+ cxt.fail$data((0, codegen_1._)`Object.keys(${data}).length ${op} ${schemaCode}`);
34
+ }
35
+ };
36
+ limitProperties.default = def;
37
+ return limitProperties;
38
+ }
39
+ export {
40
+ requireLimitProperties as __require
20
41
  };
21
- const def = {
22
- keyword: ["maxProperties", "minProperties"],
23
- type: "object",
24
- schemaType: "number",
25
- $data: true,
26
- error,
27
- code(cxt) {
28
- const { keyword, data, schemaCode } = cxt;
29
- const op = keyword === "maxProperties" ? codegen_1.operators.GT : codegen_1.operators.LT;
30
- cxt.fail$data((0, codegen_1._)`Object.keys(${data}).length ${op} ${schemaCode}`);
31
- }
32
- };
33
- limitProperties.default = def;
34
42
  //# sourceMappingURL=limitProperties.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"limitProperties.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst codegen_1 = require(\"../../compile/codegen\");\nconst error = {\n message({ keyword, schemaCode }) {\n const comp = keyword === \"maxProperties\" ? \"more\" : \"fewer\";\n return (0, codegen_1.str) `must NOT have ${comp} than ${schemaCode} properties`;\n },\n params: ({ schemaCode }) => (0, codegen_1._) `{limit: ${schemaCode}}`,\n};\nconst def = {\n keyword: [\"maxProperties\", \"minProperties\"],\n type: \"object\",\n schemaType: \"number\",\n $data: true,\n error,\n code(cxt) {\n const { keyword, data, schemaCode } = cxt;\n const op = keyword === \"maxProperties\" ? codegen_1.operators.GT : codegen_1.operators.LT;\n cxt.fail$data((0, codegen_1._) `Object.keys(${data}).length ${op} ${schemaCode}`);\n },\n};\nexports.default = def;\n//# sourceMappingURL=limitProperties.js.map"],"names":["require$$0"],"mappings":";;;;;;;;;;;AACA,OAAO,eAAe,iBAAS,cAAc,EAAE,OAAO,KAAI,CAAE;AAC5D,MAAM,YAAYA;AAClB,MAAM,QAAQ;AAAA,EACV,QAAQ,EAAE,SAAS,cAAc;AAC7B,UAAM,OAAO,YAAY,kBAAkB,SAAS;AACpD,YAAO,GAAI,UAAU,qBAAsB,IAAI,SAAS,UAAU;AAAA,EAC1E;AAAA,EACI,QAAQ,CAAC,EAAE,WAAU,OAAO,GAAI,UAAU,aAAc,UAAU;AACtE;AACA,MAAM,MAAM;AAAA,EACR,SAAS,CAAC,iBAAiB,eAAe;AAAA,EAC1C,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,OAAO;AAAA,EACP;AAAA,EACA,KAAK,KAAK;AACN,UAAM,EAAE,SAAS,MAAM,WAAU,IAAK;AACtC,UAAM,KAAK,YAAY,kBAAkB,UAAU,UAAU,KAAK,UAAU,UAAU;AACtF,QAAI,cAAc,UAAU,iBAAkB,IAAI,YAAY,EAAE,IAAI,UAAU,EAAE;AAAA,EACxF;AACA;AACA,gBAAA,UAAkB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"limitProperties.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst codegen_1 = require(\"../../compile/codegen\");\nconst error = {\n message({ keyword, schemaCode }) {\n const comp = keyword === \"maxProperties\" ? \"more\" : \"fewer\";\n return (0, codegen_1.str) `must NOT have ${comp} than ${schemaCode} properties`;\n },\n params: ({ schemaCode }) => (0, codegen_1._) `{limit: ${schemaCode}}`,\n};\nconst def = {\n keyword: [\"maxProperties\", \"minProperties\"],\n type: \"object\",\n schemaType: \"number\",\n $data: true,\n error,\n code(cxt) {\n const { keyword, data, schemaCode } = cxt;\n const op = keyword === \"maxProperties\" ? codegen_1.operators.GT : codegen_1.operators.LT;\n cxt.fail$data((0, codegen_1._) `Object.keys(${data}).length ${op} ${schemaCode}`);\n },\n};\nexports.default = def;\n//# sourceMappingURL=limitProperties.js.map"],"names":["require$$0"],"mappings":";;;;;;;;;;;;;;AACA,SAAO,eAAe,iBAAS,cAAc,EAAE,OAAO,MAAM;AAC5D,QAAM,YAAYA,+BAAA;AAClB,QAAM,QAAQ;AAAA,IACV,QAAQ,EAAE,SAAS,cAAc;AAC7B,YAAM,OAAO,YAAY,kBAAkB,SAAS;AACpD,cAAO,GAAI,UAAU,qBAAsB,IAAI,SAAS,UAAU;AAAA,IAC1E;AAAA,IACI,QAAQ,CAAC,EAAE,WAAU,OAAO,GAAI,UAAU,aAAc,UAAU;AAAA;AAEtE,QAAM,MAAM;AAAA,IACR,SAAS,CAAC,iBAAiB,eAAe;AAAA,IAC1C,MAAM;AAAA,IACN,YAAY;AAAA,IACZ,OAAO;AAAA,IACP;AAAA,IACA,KAAK,KAAK;AACN,YAAM,EAAE,SAAS,MAAM,WAAU,IAAK;AACtC,YAAM,KAAK,YAAY,kBAAkB,UAAU,UAAU,KAAK,UAAU,UAAU;AACtF,UAAI,cAAc,UAAU,iBAAkB,IAAI,YAAY,EAAE,IAAI,UAAU,EAAE;AAAA,IACxF;AAAA;AAEA,kBAAA,UAAkB;;;","x_google_ignoreList":[0]}
@@ -2,32 +2,40 @@
2
2
  !(function() {
3
3
  try {
4
4
  var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "380e0408-311a-40d2-b22d-a997f6b3b6f7", e._sentryDebugIdIdentifier = "sentry-dbid-380e0408-311a-40d2-b22d-a997f6b3b6f7");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "4242dda1-77fc-4a17-80b9-575e271661fd", e._sentryDebugIdIdentifier = "sentry-dbid-4242dda1-77fc-4a17-80b9-575e271661fd");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
9
9
  import { __exports as multipleOf } from "../../../../../../../../_virtual/multipleOf.js";
10
- import "../../compile/codegen/index.js";
11
- import { __exports as codegen } from "../../../../../../../../_virtual/index.js";
12
- Object.defineProperty(multipleOf, "__esModule", { value: true });
13
- const codegen_1 = codegen;
14
- const error = {
15
- message: ({ schemaCode }) => (0, codegen_1.str)`must be multiple of ${schemaCode}`,
16
- params: ({ schemaCode }) => (0, codegen_1._)`{multipleOf: ${schemaCode}}`
10
+ import { __require as requireCodegen } from "../../compile/codegen/index.js";
11
+ var hasRequiredMultipleOf;
12
+ function requireMultipleOf() {
13
+ if (hasRequiredMultipleOf) return multipleOf;
14
+ hasRequiredMultipleOf = 1;
15
+ Object.defineProperty(multipleOf, "__esModule", { value: true });
16
+ const codegen_1 = /* @__PURE__ */ requireCodegen();
17
+ const error = {
18
+ message: ({ schemaCode }) => (0, codegen_1.str)`must be multiple of ${schemaCode}`,
19
+ params: ({ schemaCode }) => (0, codegen_1._)`{multipleOf: ${schemaCode}}`
20
+ };
21
+ const def = {
22
+ keyword: "multipleOf",
23
+ type: "number",
24
+ schemaType: "number",
25
+ $data: true,
26
+ error,
27
+ code(cxt) {
28
+ const { gen, data, schemaCode, it } = cxt;
29
+ const prec = it.opts.multipleOfPrecision;
30
+ const res = gen.let("res");
31
+ const invalid = prec ? (0, codegen_1._)`Math.abs(Math.round(${res}) - ${res}) > 1e-${prec}` : (0, codegen_1._)`${res} !== parseInt(${res})`;
32
+ cxt.fail$data((0, codegen_1._)`(${schemaCode} === 0 || (${res} = ${data}/${schemaCode}, ${invalid}))`);
33
+ }
34
+ };
35
+ multipleOf.default = def;
36
+ return multipleOf;
37
+ }
38
+ export {
39
+ requireMultipleOf as __require
17
40
  };
18
- const def = {
19
- keyword: "multipleOf",
20
- type: "number",
21
- schemaType: "number",
22
- $data: true,
23
- error,
24
- code(cxt) {
25
- const { gen, data, schemaCode, it } = cxt;
26
- const prec = it.opts.multipleOfPrecision;
27
- const res = gen.let("res");
28
- const invalid = prec ? (0, codegen_1._)`Math.abs(Math.round(${res}) - ${res}) > 1e-${prec}` : (0, codegen_1._)`${res} !== parseInt(${res})`;
29
- cxt.fail$data((0, codegen_1._)`(${schemaCode} === 0 || (${res} = ${data}/${schemaCode}, ${invalid}))`);
30
- }
31
- };
32
- multipleOf.default = def;
33
41
  //# sourceMappingURL=multipleOf.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"multipleOf.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst codegen_1 = require(\"../../compile/codegen\");\nconst error = {\n message: ({ schemaCode }) => (0, codegen_1.str) `must be multiple of ${schemaCode}`,\n params: ({ schemaCode }) => (0, codegen_1._) `{multipleOf: ${schemaCode}}`,\n};\nconst def = {\n keyword: \"multipleOf\",\n type: \"number\",\n schemaType: \"number\",\n $data: true,\n error,\n code(cxt) {\n const { gen, data, schemaCode, it } = cxt;\n // const bdt = bad$DataType(schemaCode, <string>def.schemaType, $data)\n const prec = it.opts.multipleOfPrecision;\n const res = gen.let(\"res\");\n const invalid = prec\n ? (0, codegen_1._) `Math.abs(Math.round(${res}) - ${res}) > 1e-${prec}`\n : (0, codegen_1._) `${res} !== parseInt(${res})`;\n cxt.fail$data((0, codegen_1._) `(${schemaCode} === 0 || (${res} = ${data}/${schemaCode}, ${invalid}))`);\n },\n};\nexports.default = def;\n//# sourceMappingURL=multipleOf.js.map"],"names":["require$$0"],"mappings":";;;;;;;;;;;AACA,OAAO,eAAe,YAAS,cAAc,EAAE,OAAO,KAAI,CAAE;AAC5D,MAAM,YAAYA;AAClB,MAAM,QAAQ;AAAA,EACV,SAAS,CAAC,EAAE,kBAAiB,GAAI,UAAU,2BAA4B,UAAU;AAAA,EACjF,QAAQ,CAAC,EAAE,WAAU,OAAO,GAAI,UAAU,kBAAmB,UAAU;AAC3E;AACA,MAAM,MAAM;AAAA,EACR,SAAS;AAAA,EACT,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,OAAO;AAAA,EACP;AAAA,EACA,KAAK,KAAK;AACN,UAAM,EAAE,KAAK,MAAM,YAAY,GAAE,IAAK;AAEtC,UAAM,OAAO,GAAG,KAAK;AACrB,UAAM,MAAM,IAAI,IAAI,KAAK;AACzB,UAAM,UAAU,WACN,UAAU,yBAA0B,GAAG,OAAO,GAAG,UAAU,IAAI,MACnE,GAAI,UAAU,KAAM,GAAG,iBAAiB,GAAG;AACjD,QAAI,cAAc,UAAU,MAAO,UAAU,cAAc,GAAG,MAAM,IAAI,IAAI,UAAU,KAAK,OAAO,IAAI;AAAA,EAC9G;AACA;AACA,WAAA,UAAkB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"multipleOf.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst codegen_1 = require(\"../../compile/codegen\");\nconst error = {\n message: ({ schemaCode }) => (0, codegen_1.str) `must be multiple of ${schemaCode}`,\n params: ({ schemaCode }) => (0, codegen_1._) `{multipleOf: ${schemaCode}}`,\n};\nconst def = {\n keyword: \"multipleOf\",\n type: \"number\",\n schemaType: \"number\",\n $data: true,\n error,\n code(cxt) {\n const { gen, data, schemaCode, it } = cxt;\n // const bdt = bad$DataType(schemaCode, <string>def.schemaType, $data)\n const prec = it.opts.multipleOfPrecision;\n const res = gen.let(\"res\");\n const invalid = prec\n ? (0, codegen_1._) `Math.abs(Math.round(${res}) - ${res}) > 1e-${prec}`\n : (0, codegen_1._) `${res} !== parseInt(${res})`;\n cxt.fail$data((0, codegen_1._) `(${schemaCode} === 0 || (${res} = ${data}/${schemaCode}, ${invalid}))`);\n },\n};\nexports.default = def;\n//# sourceMappingURL=multipleOf.js.map"],"names":["require$$0"],"mappings":";;;;;;;;;;;;;;AACA,SAAO,eAAe,YAAS,cAAc,EAAE,OAAO,MAAM;AAC5D,QAAM,YAAYA,+BAAA;AAClB,QAAM,QAAQ;AAAA,IACV,SAAS,CAAC,EAAE,kBAAiB,GAAI,UAAU,2BAA4B,UAAU;AAAA,IACjF,QAAQ,CAAC,EAAE,WAAU,OAAO,GAAI,UAAU,kBAAmB,UAAU;AAAA;AAE3E,QAAM,MAAM;AAAA,IACR,SAAS;AAAA,IACT,MAAM;AAAA,IACN,YAAY;AAAA,IACZ,OAAO;AAAA,IACP;AAAA,IACA,KAAK,KAAK;AACN,YAAM,EAAE,KAAK,MAAM,YAAY,GAAE,IAAK;AAEtC,YAAM,OAAO,GAAG,KAAK;AACrB,YAAM,MAAM,IAAI,IAAI,KAAK;AACzB,YAAM,UAAU,WACN,UAAU,yBAA0B,GAAG,OAAO,GAAG,UAAU,IAAI,MACnE,GAAI,UAAU,KAAM,GAAG,iBAAiB,GAAG;AACjD,UAAI,cAAc,UAAU,MAAO,UAAU,cAAc,GAAG,MAAM,IAAI,IAAI,UAAU,KAAK,OAAO,IAAI;AAAA,IAC9G;AAAA;AAEA,aAAA,UAAkB;;;","x_google_ignoreList":[0]}