@spotlightjs/spotlight 4.11.2 → 4.11.4

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 (94) hide show
  1. package/dist/_virtual/index.js +3 -3
  2. package/dist/_virtual/index2.js +3 -3
  3. package/dist/_virtual/index3.js +3 -3
  4. package/dist/_virtual/index4.js +3 -3
  5. package/dist/_virtual/index5.js +3 -3
  6. package/dist/_virtual/index6.js +3 -3
  7. package/dist/_virtual/index7.js +3 -3
  8. package/dist/_virtual/index8.js +3 -3
  9. package/dist/_virtual/index9.js +3 -3
  10. package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/index.js +3 -3
  11. package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/limit.js +2 -2
  12. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/ajv.js +7 -9
  13. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/ajv.js.map +1 -1
  14. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/index.js +2 -2
  15. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/errors.js +2 -2
  16. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/index.js +18 -20
  17. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/index.js.map +1 -1
  18. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/names.js +2 -2
  19. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/util.js +2 -2
  20. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -44
  21. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -1
  22. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/dataType.js +2 -2
  23. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js +35 -29
  24. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -1
  25. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/index.js +467 -465
  26. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/index.js.map +1 -1
  27. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/keyword.js +110 -104
  28. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -1
  29. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/subschema.js +80 -74
  30. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -1
  31. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/core.js +7 -9
  32. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/core.js.map +1 -1
  33. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/uri.js +2 -2
  34. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/validation_error.js +17 -8
  35. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/validation_error.js.map +1 -1
  36. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +2 -2
  37. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +2 -2
  38. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/contains.js +2 -2
  39. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +2 -2
  40. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/if.js +2 -2
  41. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/index.js +2 -2
  42. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items.js +2 -2
  43. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js +2 -2
  44. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +2 -2
  45. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +2 -2
  46. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/properties.js +3 -4
  47. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -1
  48. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +2 -2
  49. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/code.js +2 -2
  50. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/index.js +2 -2
  51. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/ref.js +3 -3
  52. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/index.js +4 -4
  53. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/draft7.js +5 -5
  54. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/format.js +2 -2
  55. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/index.js +2 -2
  56. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/const.js +2 -2
  57. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js +2 -2
  58. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js +2 -2
  59. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js +2 -2
  60. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js +2 -2
  61. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +2 -2
  62. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +2 -2
  63. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +2 -2
  64. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/pattern.js +2 -2
  65. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/required.js +2 -2
  66. package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +2 -2
  67. package/dist/node_modules/.pnpm/{fast-uri@3.1.0 → fast-uri@3.1.2}/node_modules/fast-uri/index.js +54 -23
  68. package/dist/node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/index.js.map +1 -0
  69. package/dist/node_modules/.pnpm/{fast-uri@3.1.0 → fast-uri@3.1.2}/node_modules/fast-uri/lib/schemes.js.map +1 -1
  70. package/dist/node_modules/.pnpm/{fast-uri@3.1.0 → fast-uri@3.1.2}/node_modules/fast-uri/lib/utils.js +76 -20
  71. package/dist/node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/lib/utils.js.map +1 -0
  72. package/dist/node_modules/.pnpm/hono@4.12.18/node_modules/hono/dist/helper/streaming/sse.js.map +1 -0
  73. package/dist/node_modules/.pnpm/{hono@4.12.8 → hono@4.12.18}/node_modules/hono/dist/middleware/cors/index.js +8 -8
  74. package/dist/node_modules/.pnpm/hono@4.12.18/node_modules/hono/dist/middleware/cors/index.js.map +1 -0
  75. package/dist/node_modules/.pnpm/hono@4.12.18/node_modules/hono/dist/utils/html.js.map +1 -0
  76. package/dist/node_modules/.pnpm/hono@4.12.18/node_modules/hono/dist/utils/stream.js.map +1 -0
  77. package/dist/sentry-config.js +2 -2
  78. package/dist/server/cli/run.js +2 -2
  79. package/dist/server/cli.js +2 -2
  80. package/dist/server/main.js +2 -2
  81. package/dist/server/mcp/mcp.js +2 -2
  82. package/dist/server/routes/stream/streaming.js +2 -2
  83. package/dist/ui/assets/instrumentation.js +2 -2
  84. package/package.json +6 -6
  85. package/dist/node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/index.js.map +0 -1
  86. package/dist/node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/lib/utils.js.map +0 -1
  87. package/dist/node_modules/.pnpm/hono@4.12.8/node_modules/hono/dist/helper/streaming/sse.js.map +0 -1
  88. package/dist/node_modules/.pnpm/hono@4.12.8/node_modules/hono/dist/middleware/cors/index.js.map +0 -1
  89. package/dist/node_modules/.pnpm/hono@4.12.8/node_modules/hono/dist/utils/html.js.map +0 -1
  90. package/dist/node_modules/.pnpm/hono@4.12.8/node_modules/hono/dist/utils/stream.js.map +0 -1
  91. /package/dist/node_modules/.pnpm/{fast-uri@3.1.0 → fast-uri@3.1.2}/node_modules/fast-uri/lib/schemes.js +0 -0
  92. /package/dist/node_modules/.pnpm/{hono@4.12.8 → hono@4.12.18}/node_modules/hono/dist/helper/streaming/sse.js +0 -0
  93. /package/dist/node_modules/.pnpm/{hono@4.12.8 → hono@4.12.18}/node_modules/hono/dist/utils/html.js +0 -0
  94. /package/dist/node_modules/.pnpm/{hono@4.12.8 → hono@4.12.18}/node_modules/hono/dist/utils/stream.js +0 -0
@@ -2,7 +2,7 @@
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] = "b9aefc71-f383-48e9-b178-9f6be1ed4fc5", e._sentryDebugIdIdentifier = "sentry-dbid-b9aefc71-f383-48e9-b178-9f6be1ed4fc5");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6e8026d9-d192-460f-bd92-6d263502bec1", e._sentryDebugIdIdentifier = "sentry-dbid-6e8026d9-d192-460f-bd92-6d263502bec1");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
@@ -11,53 +11,59 @@ import "../errors.js";
11
11
  import "../codegen/index.js";
12
12
  import "../names.js";
13
13
  import { __exports as names } from "../../../../../../../../_virtual/names.js";
14
- import { __exports as codegen } from "../../../../../../../../_virtual/index2.js";
14
+ import { __exports as codegen } from "../../../../../../../../_virtual/index.js";
15
15
  import { __exports as errors } from "../../../../../../../../_virtual/errors.js";
16
- Object.defineProperty(boolSchema, "__esModule", { value: true });
17
- boolSchema.boolOrEmptySchema = boolSchema.topBoolOrEmptySchema = void 0;
18
- const errors_1 = errors;
19
- const codegen_1 = codegen;
20
- const names_1 = names;
21
- const boolError = {
22
- message: "boolean schema is false"
23
- };
24
- function topBoolOrEmptySchema(it) {
25
- const { gen, schema, validateName } = it;
26
- if (schema === false) {
27
- falseSchemaError(it, false);
28
- } else if (typeof schema == "object" && schema.$async === true) {
29
- gen.return(names_1.default.data);
30
- } else {
31
- gen.assign((0, codegen_1._)`${validateName}.errors`, null);
32
- gen.return(true);
16
+ var hasRequiredBoolSchema;
17
+ function requireBoolSchema() {
18
+ if (hasRequiredBoolSchema) return boolSchema;
19
+ hasRequiredBoolSchema = 1;
20
+ Object.defineProperty(boolSchema, "__esModule", { value: true });
21
+ boolSchema.boolOrEmptySchema = boolSchema.topBoolOrEmptySchema = void 0;
22
+ const errors_1 = errors;
23
+ const codegen_1 = codegen;
24
+ const names_1 = names;
25
+ const boolError = {
26
+ message: "boolean schema is false"
27
+ };
28
+ function topBoolOrEmptySchema(it) {
29
+ const { gen, schema, validateName } = it;
30
+ if (schema === false) {
31
+ falseSchemaError(it, false);
32
+ } else if (typeof schema == "object" && schema.$async === true) {
33
+ gen.return(names_1.default.data);
34
+ } else {
35
+ gen.assign((0, codegen_1._)`${validateName}.errors`, null);
36
+ gen.return(true);
37
+ }
33
38
  }
34
- }
35
- boolSchema.topBoolOrEmptySchema = topBoolOrEmptySchema;
36
- function boolOrEmptySchema(it, valid) {
37
- const { gen, schema } = it;
38
- if (schema === false) {
39
- gen.var(valid, false);
40
- falseSchemaError(it);
41
- } else {
42
- gen.var(valid, true);
39
+ boolSchema.topBoolOrEmptySchema = topBoolOrEmptySchema;
40
+ function boolOrEmptySchema(it, valid) {
41
+ const { gen, schema } = it;
42
+ if (schema === false) {
43
+ gen.var(valid, false);
44
+ falseSchemaError(it);
45
+ } else {
46
+ gen.var(valid, true);
47
+ }
43
48
  }
44
- }
45
- boolSchema.boolOrEmptySchema = boolOrEmptySchema;
46
- function falseSchemaError(it, overrideAllErrors) {
47
- const { gen, data } = it;
48
- const cxt = {
49
- gen,
50
- keyword: "false schema",
51
- data,
52
- schema: false,
53
- schemaCode: false,
54
- schemaValue: false,
55
- params: {},
56
- it
57
- };
58
- (0, errors_1.reportError)(cxt, boolError, void 0, overrideAllErrors);
49
+ boolSchema.boolOrEmptySchema = boolOrEmptySchema;
50
+ function falseSchemaError(it, overrideAllErrors) {
51
+ const { gen, data } = it;
52
+ const cxt = {
53
+ gen,
54
+ keyword: "false schema",
55
+ data,
56
+ schema: false,
57
+ schemaCode: false,
58
+ schemaValue: false,
59
+ params: {},
60
+ it
61
+ };
62
+ (0, errors_1.reportError)(cxt, boolError, void 0, overrideAllErrors);
63
+ }
64
+ return boolSchema;
59
65
  }
60
66
  export {
61
- boolSchema as default
67
+ requireBoolSchema as __require
62
68
  };
63
69
  //# sourceMappingURL=boolSchema.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"boolSchema.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.boolOrEmptySchema = exports.topBoolOrEmptySchema = void 0;\nconst errors_1 = require(\"../errors\");\nconst codegen_1 = require(\"../codegen\");\nconst names_1 = require(\"../names\");\nconst boolError = {\n message: \"boolean schema is false\",\n};\nfunction topBoolOrEmptySchema(it) {\n const { gen, schema, validateName } = it;\n if (schema === false) {\n falseSchemaError(it, false);\n }\n else if (typeof schema == \"object\" && schema.$async === true) {\n gen.return(names_1.default.data);\n }\n else {\n gen.assign((0, codegen_1._) `${validateName}.errors`, null);\n gen.return(true);\n }\n}\nexports.topBoolOrEmptySchema = topBoolOrEmptySchema;\nfunction boolOrEmptySchema(it, valid) {\n const { gen, schema } = it;\n if (schema === false) {\n gen.var(valid, false); // TODO var\n falseSchemaError(it);\n }\n else {\n gen.var(valid, true); // TODO var\n }\n}\nexports.boolOrEmptySchema = boolOrEmptySchema;\nfunction falseSchemaError(it, overrideAllErrors) {\n const { gen, data } = it;\n // TODO maybe some other interface should be used for non-keyword validation errors...\n const cxt = {\n gen,\n keyword: \"false schema\",\n data,\n schema: false,\n schemaCode: false,\n schemaValue: false,\n params: {},\n it,\n };\n (0, errors_1.reportError)(cxt, boolError, undefined, overrideAllErrors);\n}\n//# sourceMappingURL=boolSchema.js.map"],"names":["require$$0","require$$1","require$$2"],"mappings":";;;;;;;;;;;;;;;AACA,OAAO,eAAe,YAAS,cAAc,EAAE,OAAO,KAAI,CAAE;AAC5D,WAAA,oBAA4B,WAAA,uBAA+B;AAC3D,MAAM,WAAWA;AACjB,MAAM,YAAYC;AAClB,MAAM,UAAUC;AAChB,MAAM,YAAY;AAAA,EACd,SAAS;AACb;AACA,SAAS,qBAAqB,IAAI;AAC9B,QAAM,EAAE,KAAK,QAAQ,aAAY,IAAK;AACtC,MAAI,WAAW,OAAO;AAClB,qBAAiB,IAAI,KAAK;AAAA,EAClC,WACa,OAAO,UAAU,YAAY,OAAO,WAAW,MAAM;AAC1D,QAAI,OAAO,QAAQ,QAAQ,IAAI;AAAA,EACvC,OACS;AACD,QAAI,QAAO,GAAI,UAAU,KAAM,YAAY,WAAW,IAAI;AAC1D,QAAI,OAAO,IAAI;AAAA,EACvB;AACA;AACA,WAAA,uBAA+B;AAC/B,SAAS,kBAAkB,IAAI,OAAO;AAClC,QAAM,EAAE,KAAK,OAAM,IAAK;AACxB,MAAI,WAAW,OAAO;AAClB,QAAI,IAAI,OAAO,KAAK;AACpB,qBAAiB,EAAE;AAAA,EAC3B,OACS;AACD,QAAI,IAAI,OAAO,IAAI;AAAA,EAC3B;AACA;AACA,WAAA,oBAA4B;AAC5B,SAAS,iBAAiB,IAAI,mBAAmB;AAC7C,QAAM,EAAE,KAAK,KAAI,IAAK;AAEtB,QAAM,MAAM;AAAA,IACR;AAAA,IACA,SAAS;AAAA,IACT;AAAA,IACA,QAAQ;AAAA,IACR,YAAY;AAAA,IACZ,aAAa;AAAA,IACb,QAAQ,CAAA;AAAA,IACR;AAAA,EACR;AACI,GAAA,GAAI,SAAS,aAAa,KAAK,WAAW,QAAW,iBAAiB;AAC1E;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"boolSchema.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.boolOrEmptySchema = exports.topBoolOrEmptySchema = void 0;\nconst errors_1 = require(\"../errors\");\nconst codegen_1 = require(\"../codegen\");\nconst names_1 = require(\"../names\");\nconst boolError = {\n message: \"boolean schema is false\",\n};\nfunction topBoolOrEmptySchema(it) {\n const { gen, schema, validateName } = it;\n if (schema === false) {\n falseSchemaError(it, false);\n }\n else if (typeof schema == \"object\" && schema.$async === true) {\n gen.return(names_1.default.data);\n }\n else {\n gen.assign((0, codegen_1._) `${validateName}.errors`, null);\n gen.return(true);\n }\n}\nexports.topBoolOrEmptySchema = topBoolOrEmptySchema;\nfunction boolOrEmptySchema(it, valid) {\n const { gen, schema } = it;\n if (schema === false) {\n gen.var(valid, false); // TODO var\n falseSchemaError(it);\n }\n else {\n gen.var(valid, true); // TODO var\n }\n}\nexports.boolOrEmptySchema = boolOrEmptySchema;\nfunction falseSchemaError(it, overrideAllErrors) {\n const { gen, data } = it;\n // TODO maybe some other interface should be used for non-keyword validation errors...\n const cxt = {\n gen,\n keyword: \"false schema\",\n data,\n schema: false,\n schemaCode: false,\n schemaValue: false,\n params: {},\n it,\n };\n (0, errors_1.reportError)(cxt, boolError, undefined, overrideAllErrors);\n}\n//# sourceMappingURL=boolSchema.js.map"],"names":["require$$0","require$$1","require$$2"],"mappings":";;;;;;;;;;;;;;;;;;;AACA,SAAO,eAAe,YAAS,cAAc,EAAE,OAAO,MAAM;AAC5D,aAAA,oBAA4B,WAAA,uBAA+B;AAC3D,QAAM,WAAWA;AACjB,QAAM,YAAYC;AAClB,QAAM,UAAUC;AAChB,QAAM,YAAY;AAAA,IACd,SAAS;AAAA,EACb;AACA,WAAS,qBAAqB,IAAI;AAC9B,UAAM,EAAE,KAAK,QAAQ,aAAY,IAAK;AACtC,QAAI,WAAW,OAAO;AAClB,uBAAiB,IAAI,KAAK;AAAA,IAClC,WACa,OAAO,UAAU,YAAY,OAAO,WAAW,MAAM;AAC1D,UAAI,OAAO,QAAQ,QAAQ,IAAI;AAAA,IACvC,OACS;AACD,UAAI,QAAO,GAAI,UAAU,KAAM,YAAY,WAAW,IAAI;AAC1D,UAAI,OAAO,IAAI;AAAA,IACvB;AAAA,EACA;AACA,aAAA,uBAA+B;AAC/B,WAAS,kBAAkB,IAAI,OAAO;AAClC,UAAM,EAAE,KAAK,OAAM,IAAK;AACxB,QAAI,WAAW,OAAO;AAClB,UAAI,IAAI,OAAO,KAAK;AACpB,uBAAiB,EAAE;AAAA,IAC3B,OACS;AACD,UAAI,IAAI,OAAO,IAAI;AAAA,IAC3B;AAAA,EACA;AACA,aAAA,oBAA4B;AAC5B,WAAS,iBAAiB,IAAI,mBAAmB;AAC7C,UAAM,EAAE,KAAK,KAAI,IAAK;AAEtB,UAAM,MAAM;AAAA,MACR;AAAA,MACA,SAAS;AAAA,MACT;AAAA,MACA,QAAQ;AAAA,MACR,YAAY;AAAA,MACZ,aAAa;AAAA,MACb,QAAQ,CAAA;AAAA,MACR;AAAA,IACR;AACI,KAAA,GAAI,SAAS,aAAa,KAAK,WAAW,QAAW,iBAAiB;AAAA,EAC1E;;;","x_google_ignoreList":[0]}
@@ -2,7 +2,7 @@
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] = "fc4e669d-0b67-4ae9-87d6-46410a45398b", e._sentryDebugIdIdentifier = "sentry-dbid-fc4e669d-0b67-4ae9-87d6-46410a45398b");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ffe13390-f361-43d1-aa07-37f7fb213dac", e._sentryDebugIdIdentifier = "sentry-dbid-ffe13390-f361-43d1-aa07-37f7fb213dac");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
@@ -14,7 +14,7 @@ import "../codegen/index.js";
14
14
  import "../util.js";
15
15
  import { __exports as rules } from "../../../../../../../../_virtual/rules.js";
16
16
  import { __exports as applicability } from "../../../../../../../../_virtual/applicability.js";
17
- import { __exports as codegen } from "../../../../../../../../_virtual/index2.js";
17
+ import { __exports as codegen } from "../../../../../../../../_virtual/index.js";
18
18
  import { __exports as util } from "../../../../../../../../_virtual/util.js";
19
19
  import { __exports as errors } from "../../../../../../../../_virtual/errors.js";
20
20
  Object.defineProperty(dataType, "__esModule", { value: true });
@@ -2,46 +2,52 @@
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] = "f3314bea-8021-4b52-8b00-51e01e49d0c3", e._sentryDebugIdIdentifier = "sentry-dbid-f3314bea-8021-4b52-8b00-51e01e49d0c3");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6005baff-8cd7-4928-a78c-fc21054c26fc", e._sentryDebugIdIdentifier = "sentry-dbid-6005baff-8cd7-4928-a78c-fc21054c26fc");
6
6
  } catch (e2) {
7
7
  }
8
8
  })();
9
9
  import { __exports as defaults } from "../../../../../../../../_virtual/defaults.js";
10
10
  import "../codegen/index.js";
11
11
  import "../util.js";
12
- import { __exports as codegen } from "../../../../../../../../_virtual/index2.js";
12
+ import { __exports as codegen } from "../../../../../../../../_virtual/index.js";
13
13
  import { __exports as util } from "../../../../../../../../_virtual/util.js";
14
- Object.defineProperty(defaults, "__esModule", { value: true });
15
- defaults.assignDefaults = void 0;
16
- const codegen_1 = codegen;
17
- const util_1 = util;
18
- function assignDefaults(it, ty) {
19
- const { properties, items } = it.schema;
20
- if (ty === "object" && properties) {
21
- for (const key in properties) {
22
- assignDefault(it, key, properties[key].default);
14
+ var hasRequiredDefaults;
15
+ function requireDefaults() {
16
+ if (hasRequiredDefaults) return defaults;
17
+ hasRequiredDefaults = 1;
18
+ Object.defineProperty(defaults, "__esModule", { value: true });
19
+ defaults.assignDefaults = void 0;
20
+ const codegen_1 = codegen;
21
+ const util_1 = util;
22
+ function assignDefaults(it, ty) {
23
+ const { properties, items } = it.schema;
24
+ if (ty === "object" && properties) {
25
+ for (const key in properties) {
26
+ assignDefault(it, key, properties[key].default);
27
+ }
28
+ } else if (ty === "array" && Array.isArray(items)) {
29
+ items.forEach((sch, i) => assignDefault(it, i, sch.default));
23
30
  }
24
- } else if (ty === "array" && Array.isArray(items)) {
25
- items.forEach((sch, i) => assignDefault(it, i, sch.default));
26
31
  }
27
- }
28
- defaults.assignDefaults = assignDefaults;
29
- function assignDefault(it, prop, defaultValue) {
30
- const { gen, compositeRule, data, opts } = it;
31
- if (defaultValue === void 0)
32
- return;
33
- const childData = (0, codegen_1._)`${data}${(0, codegen_1.getProperty)(prop)}`;
34
- if (compositeRule) {
35
- (0, util_1.checkStrictMode)(it, `default is ignored for: ${childData}`);
36
- return;
37
- }
38
- let condition = (0, codegen_1._)`${childData} === undefined`;
39
- if (opts.useDefaults === "empty") {
40
- condition = (0, codegen_1._)`${condition} || ${childData} === null || ${childData} === ""`;
32
+ defaults.assignDefaults = assignDefaults;
33
+ function assignDefault(it, prop, defaultValue) {
34
+ const { gen, compositeRule, data, opts } = it;
35
+ if (defaultValue === void 0)
36
+ return;
37
+ const childData = (0, codegen_1._)`${data}${(0, codegen_1.getProperty)(prop)}`;
38
+ if (compositeRule) {
39
+ (0, util_1.checkStrictMode)(it, `default is ignored for: ${childData}`);
40
+ return;
41
+ }
42
+ let condition = (0, codegen_1._)`${childData} === undefined`;
43
+ if (opts.useDefaults === "empty") {
44
+ condition = (0, codegen_1._)`${condition} || ${childData} === null || ${childData} === ""`;
45
+ }
46
+ gen.if(condition, (0, codegen_1._)`${childData} = ${(0, codegen_1.stringify)(defaultValue)}`);
41
47
  }
42
- gen.if(condition, (0, codegen_1._)`${childData} = ${(0, codegen_1.stringify)(defaultValue)}`);
48
+ return defaults;
43
49
  }
44
50
  export {
45
- defaults as default
51
+ requireDefaults as __require
46
52
  };
47
53
  //# sourceMappingURL=defaults.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"defaults.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.assignDefaults = void 0;\nconst codegen_1 = require(\"../codegen\");\nconst util_1 = require(\"../util\");\nfunction assignDefaults(it, ty) {\n const { properties, items } = it.schema;\n if (ty === \"object\" && properties) {\n for (const key in properties) {\n assignDefault(it, key, properties[key].default);\n }\n }\n else if (ty === \"array\" && Array.isArray(items)) {\n items.forEach((sch, i) => assignDefault(it, i, sch.default));\n }\n}\nexports.assignDefaults = assignDefaults;\nfunction assignDefault(it, prop, defaultValue) {\n const { gen, compositeRule, data, opts } = it;\n if (defaultValue === undefined)\n return;\n const childData = (0, codegen_1._) `${data}${(0, codegen_1.getProperty)(prop)}`;\n if (compositeRule) {\n (0, util_1.checkStrictMode)(it, `default is ignored for: ${childData}`);\n return;\n }\n let condition = (0, codegen_1._) `${childData} === undefined`;\n if (opts.useDefaults === \"empty\") {\n condition = (0, codegen_1._) `${condition} || ${childData} === null || ${childData} === \"\"`;\n }\n // `${childData} === undefined` +\n // (opts.useDefaults === \"empty\" ? ` || ${childData} === null || ${childData} === \"\"` : \"\")\n gen.if(condition, (0, codegen_1._) `${childData} = ${(0, codegen_1.stringify)(defaultValue)}`);\n}\n//# sourceMappingURL=defaults.js.map"],"names":["require$$0","require$$1"],"mappings":";;;;;;;;;;;;;AACA,OAAO,eAAe,UAAS,cAAc,EAAE,OAAO,KAAI,CAAE;AAC5D,SAAA,iBAAyB;AACzB,MAAM,YAAYA;AAClB,MAAM,SAASC;AACf,SAAS,eAAe,IAAI,IAAI;AAC5B,QAAM,EAAE,YAAY,MAAK,IAAK,GAAG;AACjC,MAAI,OAAO,YAAY,YAAY;AAC/B,eAAW,OAAO,YAAY;AAC1B,oBAAc,IAAI,KAAK,WAAW,GAAG,EAAE,OAAO;AAAA,IAC1D;AAAA,EACA,WACa,OAAO,WAAW,MAAM,QAAQ,KAAK,GAAG;AAC7C,UAAM,QAAQ,CAAC,KAAK,MAAM,cAAc,IAAI,GAAG,IAAI,OAAO,CAAC;AAAA,EACnE;AACA;AACA,SAAA,iBAAyB;AACzB,SAAS,cAAc,IAAI,MAAM,cAAc;AAC3C,QAAM,EAAE,KAAK,eAAe,MAAM,KAAI,IAAK;AAC3C,MAAI,iBAAiB;AACjB;AACJ,QAAM,aAAY,GAAI,UAAU,KAAM,IAAI,OAAO,UAAU,aAAa,IAAI,CAAC;AAC7E,MAAI,eAAe;AACf,KAAA,GAAI,OAAO,iBAAiB,IAAI,2BAA2B,SAAS,EAAE;AACtE;AAAA,EACR;AACI,MAAI,aAAY,GAAI,UAAU,KAAM,SAAS;AAC7C,MAAI,KAAK,gBAAgB,SAAS;AAC9B,iBAAY,GAAI,UAAU,KAAM,SAAS,OAAO,SAAS,gBAAgB,SAAS;AAAA,EAC1F;AAGI,MAAI,GAAG,YAAW,GAAI,UAAU,KAAM,SAAS,OAAM,GAAI,UAAU,WAAW,YAAY,CAAC,EAAE;AACjG;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"defaults.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.assignDefaults = void 0;\nconst codegen_1 = require(\"../codegen\");\nconst util_1 = require(\"../util\");\nfunction assignDefaults(it, ty) {\n const { properties, items } = it.schema;\n if (ty === \"object\" && properties) {\n for (const key in properties) {\n assignDefault(it, key, properties[key].default);\n }\n }\n else if (ty === \"array\" && Array.isArray(items)) {\n items.forEach((sch, i) => assignDefault(it, i, sch.default));\n }\n}\nexports.assignDefaults = assignDefaults;\nfunction assignDefault(it, prop, defaultValue) {\n const { gen, compositeRule, data, opts } = it;\n if (defaultValue === undefined)\n return;\n const childData = (0, codegen_1._) `${data}${(0, codegen_1.getProperty)(prop)}`;\n if (compositeRule) {\n (0, util_1.checkStrictMode)(it, `default is ignored for: ${childData}`);\n return;\n }\n let condition = (0, codegen_1._) `${childData} === undefined`;\n if (opts.useDefaults === \"empty\") {\n condition = (0, codegen_1._) `${condition} || ${childData} === null || ${childData} === \"\"`;\n }\n // `${childData} === undefined` +\n // (opts.useDefaults === \"empty\" ? ` || ${childData} === null || ${childData} === \"\"` : \"\")\n gen.if(condition, (0, codegen_1._) `${childData} = ${(0, codegen_1.stringify)(defaultValue)}`);\n}\n//# sourceMappingURL=defaults.js.map"],"names":["require$$0","require$$1"],"mappings":";;;;;;;;;;;;;;;;;AACA,SAAO,eAAe,UAAS,cAAc,EAAE,OAAO,MAAM;AAC5D,WAAA,iBAAyB;AACzB,QAAM,YAAYA;AAClB,QAAM,SAASC;AACf,WAAS,eAAe,IAAI,IAAI;AAC5B,UAAM,EAAE,YAAY,MAAK,IAAK,GAAG;AACjC,QAAI,OAAO,YAAY,YAAY;AAC/B,iBAAW,OAAO,YAAY;AAC1B,sBAAc,IAAI,KAAK,WAAW,GAAG,EAAE,OAAO;AAAA,MAC1D;AAAA,IACA,WACa,OAAO,WAAW,MAAM,QAAQ,KAAK,GAAG;AAC7C,YAAM,QAAQ,CAAC,KAAK,MAAM,cAAc,IAAI,GAAG,IAAI,OAAO,CAAC;AAAA,IACnE;AAAA,EACA;AACA,WAAA,iBAAyB;AACzB,WAAS,cAAc,IAAI,MAAM,cAAc;AAC3C,UAAM,EAAE,KAAK,eAAe,MAAM,KAAI,IAAK;AAC3C,QAAI,iBAAiB;AACjB;AACJ,UAAM,aAAY,GAAI,UAAU,KAAM,IAAI,OAAO,UAAU,aAAa,IAAI,CAAC;AAC7E,QAAI,eAAe;AACf,OAAA,GAAI,OAAO,iBAAiB,IAAI,2BAA2B,SAAS,EAAE;AACtE;AAAA,IACR;AACI,QAAI,aAAY,GAAI,UAAU,KAAM,SAAS;AAC7C,QAAI,KAAK,gBAAgB,SAAS;AAC9B,mBAAY,GAAI,UAAU,KAAM,SAAS,OAAO,SAAS,gBAAgB,SAAS;AAAA,IAC1F;AAGI,QAAI,GAAG,YAAW,GAAI,UAAU,KAAM,SAAS,OAAM,GAAI,UAAU,WAAW,YAAY,CAAC,EAAE;AAAA,EACjG;;;","x_google_ignoreList":[0]}