@opentiny/next-sdk 0.2.4 → 0.2.6
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.
- package/dist/index.es.dev.js +987 -336
- package/dist/index.es.js +11753 -11150
- package/dist/index.js +2 -2
- package/dist/index.umd.dev.js +987 -336
- package/dist/index.umd.js +55 -55
- package/dist/mcpsdk@1.25.3.dev.js +190 -181
- package/dist/mcpsdk@1.25.3.es.dev.js +190 -181
- package/dist/mcpsdk@1.25.3.es.js +1111 -1105
- package/dist/mcpsdk@1.25.3.js +14 -14
- package/dist/skills/index.d.ts +2 -2
- package/dist/webagent.dev.js +985 -334
- package/dist/webagent.es.dev.js +985 -334
- package/dist/webagent.es.js +11294 -10691
- package/dist/webagent.js +58 -58
- package/dist/webmcp-full.dev.js +190 -181
- package/dist/webmcp-full.es.dev.js +190 -181
- package/dist/webmcp-full.es.js +74 -68
- package/dist/webmcp-full.js +1 -1
- package/package.json +1 -1
- package/skills/index.ts +4 -4
package/dist/webmcp-full.es.js
CHANGED
|
@@ -128,7 +128,7 @@ var _a = {}, _i;
|
|
|
128
128
|
function gi() {
|
|
129
129
|
return _i || (_i = 1, (function(t) {
|
|
130
130
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ValueScope = t.ValueScopeName = t.Scope = t.varKinds = t.UsedValueState = void 0;
|
|
131
|
-
const e = ys();
|
|
131
|
+
const e = /* @__PURE__ */ ys();
|
|
132
132
|
class r extends Error {
|
|
133
133
|
constructor(u) {
|
|
134
134
|
super(`CodeGen: "code" for ${u} not defined`), this.value = u.value;
|
|
@@ -251,8 +251,8 @@ var yi;
|
|
|
251
251
|
function ce() {
|
|
252
252
|
return yi || (yi = 1, (function(t) {
|
|
253
253
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.or = t.and = t.not = t.CodeGen = t.operators = t.varKinds = t.ValueScopeName = t.ValueScope = t.Scope = t.Name = t.regexpCode = t.stringify = t.getProperty = t.nil = t.strConcat = t.str = t._ = void 0;
|
|
254
|
-
const e = ys(), r = gi();
|
|
255
|
-
var n = ys();
|
|
254
|
+
const e = /* @__PURE__ */ ys(), r = /* @__PURE__ */ gi();
|
|
255
|
+
var n = /* @__PURE__ */ ys();
|
|
256
256
|
Object.defineProperty(t, "_", { enumerable: !0, get: function() {
|
|
257
257
|
return n._;
|
|
258
258
|
} }), Object.defineProperty(t, "str", { enumerable: !0, get: function() {
|
|
@@ -270,7 +270,7 @@ function ce() {
|
|
|
270
270
|
} }), Object.defineProperty(t, "Name", { enumerable: !0, get: function() {
|
|
271
271
|
return n.Name;
|
|
272
272
|
} });
|
|
273
|
-
var s = gi();
|
|
273
|
+
var s = /* @__PURE__ */ gi();
|
|
274
274
|
Object.defineProperty(t, "Scope", { enumerable: !0, get: function() {
|
|
275
275
|
return s.Scope;
|
|
276
276
|
} }), Object.defineProperty(t, "ValueScope", { enumerable: !0, get: function() {
|
|
@@ -813,7 +813,7 @@ var ie = {}, vi;
|
|
|
813
813
|
function he() {
|
|
814
814
|
if (vi) return ie;
|
|
815
815
|
vi = 1, Object.defineProperty(ie, "__esModule", { value: !0 }), ie.checkStrictMode = ie.getErrorPath = ie.Type = ie.useFunc = ie.setEvaluated = ie.evaluatedPropsToName = ie.mergeEvaluated = ie.eachItem = ie.unescapeJsonPointer = ie.escapeJsonPointer = ie.escapeFragment = ie.unescapeFragment = ie.schemaRefOrVal = ie.schemaHasRulesButRef = ie.schemaHasRules = ie.checkUnknownRules = ie.alwaysValidSchema = ie.toHash = void 0;
|
|
816
|
-
const t = ce(), e = ys();
|
|
816
|
+
const t = /* @__PURE__ */ ce(), e = /* @__PURE__ */ ys();
|
|
817
817
|
function r(w) {
|
|
818
818
|
const k = {};
|
|
819
819
|
for (const S of w)
|
|
@@ -954,7 +954,7 @@ var Rn = {}, wi;
|
|
|
954
954
|
function Yt() {
|
|
955
955
|
if (wi) return Rn;
|
|
956
956
|
wi = 1, Object.defineProperty(Rn, "__esModule", { value: !0 });
|
|
957
|
-
const t = ce(), e = {
|
|
957
|
+
const t = /* @__PURE__ */ ce(), e = {
|
|
958
958
|
// validation function arguments
|
|
959
959
|
data: new t.Name("data"),
|
|
960
960
|
// data passed to validation function
|
|
@@ -989,7 +989,7 @@ var bi;
|
|
|
989
989
|
function Ys() {
|
|
990
990
|
return bi || (bi = 1, (function(t) {
|
|
991
991
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.extendErrors = t.resetErrorsCount = t.reportExtraError = t.reportError = t.keyword$DataError = t.keywordError = void 0;
|
|
992
|
-
const e = ce(), r = he(), n = Yt();
|
|
992
|
+
const e = /* @__PURE__ */ ce(), r = /* @__PURE__ */ he(), n = /* @__PURE__ */ Yt();
|
|
993
993
|
t.keywordError = {
|
|
994
994
|
message: ({ keyword: h }) => (0, e.str)`must pass "${h}" keyword validation`
|
|
995
995
|
}, t.keyword$DataError = {
|
|
@@ -1065,7 +1065,7 @@ var ki;
|
|
|
1065
1065
|
function yd() {
|
|
1066
1066
|
if (ki) return Qt;
|
|
1067
1067
|
ki = 1, Object.defineProperty(Qt, "__esModule", { value: !0 }), Qt.boolOrEmptySchema = Qt.topBoolOrEmptySchema = void 0;
|
|
1068
|
-
const t = Ys(), e = ce(), r = Yt(), n = {
|
|
1068
|
+
const t = /* @__PURE__ */ Ys(), e = /* @__PURE__ */ ce(), r = /* @__PURE__ */ Yt(), n = {
|
|
1069
1069
|
message: "boolean schema is false"
|
|
1070
1070
|
};
|
|
1071
1071
|
function s(i) {
|
|
@@ -1142,7 +1142,7 @@ var Ti;
|
|
|
1142
1142
|
function vs() {
|
|
1143
1143
|
if (Ti) return Ze;
|
|
1144
1144
|
Ti = 1, Object.defineProperty(Ze, "__esModule", { value: !0 }), Ze.reportTypeError = Ze.checkDataTypes = Ze.checkDataType = Ze.coerceAndCheckDataType = Ze.getJSONTypes = Ze.getSchemaTypes = Ze.DataType = void 0;
|
|
1145
|
-
const t = bu(), e = ku(), r = Ys(), n = ce(), s = he();
|
|
1145
|
+
const t = /* @__PURE__ */ bu(), e = /* @__PURE__ */ ku(), r = /* @__PURE__ */ Ys(), n = /* @__PURE__ */ ce(), s = /* @__PURE__ */ he();
|
|
1146
1146
|
var a;
|
|
1147
1147
|
(function(f) {
|
|
1148
1148
|
f[f.Correct = 0] = "Correct", f[f.Wrong = 1] = "Wrong";
|
|
@@ -1290,7 +1290,7 @@ var jr = {}, Ei;
|
|
|
1290
1290
|
function vd() {
|
|
1291
1291
|
if (Ei) return jr;
|
|
1292
1292
|
Ei = 1, Object.defineProperty(jr, "__esModule", { value: !0 }), jr.assignDefaults = void 0;
|
|
1293
|
-
const t = ce(), e = he();
|
|
1293
|
+
const t = /* @__PURE__ */ ce(), e = /* @__PURE__ */ he();
|
|
1294
1294
|
function r(s, a) {
|
|
1295
1295
|
const { properties: o, items: i } = s.schema;
|
|
1296
1296
|
if (a === "object" && o)
|
|
@@ -1317,7 +1317,7 @@ var ht = {}, ye = {}, Ri;
|
|
|
1317
1317
|
function Tt() {
|
|
1318
1318
|
if (Ri) return ye;
|
|
1319
1319
|
Ri = 1, Object.defineProperty(ye, "__esModule", { value: !0 }), ye.validateUnion = ye.validateArray = ye.usePattern = ye.callValidateCode = ye.schemaProperties = ye.allSchemaProperties = ye.noPropertyInData = ye.propertyInData = ye.isOwnProperty = ye.hasPropFunc = ye.reportMissingProp = ye.checkMissingProp = ye.checkReportMissingProp = void 0;
|
|
1320
|
-
const t = ce(), e = he(), r = Yt(), n = he();
|
|
1320
|
+
const t = /* @__PURE__ */ ce(), e = /* @__PURE__ */ he(), r = /* @__PURE__ */ Yt(), n = /* @__PURE__ */ he();
|
|
1321
1321
|
function s(f, g) {
|
|
1322
1322
|
const { gen: b, data: w, it: k } = f;
|
|
1323
1323
|
b.if(l(b, w, g, k.opts.ownProperties), () => {
|
|
@@ -1426,7 +1426,7 @@ var Pi;
|
|
|
1426
1426
|
function wd() {
|
|
1427
1427
|
if (Pi) return ht;
|
|
1428
1428
|
Pi = 1, Object.defineProperty(ht, "__esModule", { value: !0 }), ht.validateKeywordUsage = ht.validSchemaType = ht.funcKeywordCode = ht.macroKeywordCode = void 0;
|
|
1429
|
-
const t = ce(), e = Yt(), r = Tt(), n = Ys();
|
|
1429
|
+
const t = /* @__PURE__ */ ce(), e = /* @__PURE__ */ Yt(), r = /* @__PURE__ */ Tt(), n = /* @__PURE__ */ Ys();
|
|
1430
1430
|
function s(m, _) {
|
|
1431
1431
|
const { gen: p, keyword: y, schema: h, parentSchema: v, it: f } = m, g = _.macro.call(f.self, h, v, f), b = u(p, y, g);
|
|
1432
1432
|
f.opts.validateSchema !== !1 && f.self.validateSchema(g, !0);
|
|
@@ -1515,7 +1515,7 @@ var It = {}, xi;
|
|
|
1515
1515
|
function bd() {
|
|
1516
1516
|
if (xi) return It;
|
|
1517
1517
|
xi = 1, Object.defineProperty(It, "__esModule", { value: !0 }), It.extendSubschemaMode = It.extendSubschemaData = It.getSubschema = void 0;
|
|
1518
|
-
const t = ce(), e = he();
|
|
1518
|
+
const t = /* @__PURE__ */ ce(), e = /* @__PURE__ */ he();
|
|
1519
1519
|
function r(a, { keyword: o, schemaProp: i, schema: c, schemaPath: u, errSchemaPath: l, topSchemaRef: d }) {
|
|
1520
1520
|
if (o !== void 0 && c !== void 0)
|
|
1521
1521
|
throw new Error('both "keyword" and "schema" passed, only one allowed');
|
|
@@ -1674,7 +1674,7 @@ var Oi;
|
|
|
1674
1674
|
function Xs() {
|
|
1675
1675
|
if (Oi) return Be;
|
|
1676
1676
|
Oi = 1, Object.defineProperty(Be, "__esModule", { value: !0 }), Be.getSchemaRefs = Be.resolveUrl = Be.normalizeId = Be._getFullPath = Be.getFullPath = Be.inlineRef = void 0;
|
|
1677
|
-
const t = he(), e = $u(), r = kd(), n = /* @__PURE__ */ new Set([
|
|
1677
|
+
const t = /* @__PURE__ */ he(), e = $u(), r = kd(), n = /* @__PURE__ */ new Set([
|
|
1678
1678
|
"type",
|
|
1679
1679
|
"format",
|
|
1680
1680
|
"pattern",
|
|
@@ -1783,7 +1783,7 @@ var Ni;
|
|
|
1783
1783
|
function Qs() {
|
|
1784
1784
|
if (Ni) return Pt;
|
|
1785
1785
|
Ni = 1, Object.defineProperty(Pt, "__esModule", { value: !0 }), Pt.getData = Pt.KeywordCxt = Pt.validateFunctionCode = void 0;
|
|
1786
|
-
const t = yd(), e = vs(), r = ku(), n = vs(), s = vd(), a = wd(), o = bd(), i = ce(), c = Yt(), u = Xs(), l = he(), d = Ys();
|
|
1786
|
+
const t = /* @__PURE__ */ yd(), e = /* @__PURE__ */ vs(), r = /* @__PURE__ */ ku(), n = /* @__PURE__ */ vs(), s = /* @__PURE__ */ vd(), a = /* @__PURE__ */ wd(), o = /* @__PURE__ */ bd(), i = /* @__PURE__ */ ce(), c = /* @__PURE__ */ Yt(), u = /* @__PURE__ */ Xs(), l = /* @__PURE__ */ he(), d = /* @__PURE__ */ Ys();
|
|
1787
1787
|
function m(R) {
|
|
1788
1788
|
if (w(R) && (S(R), b(R))) {
|
|
1789
1789
|
h(R);
|
|
@@ -2107,7 +2107,7 @@ var xn = {}, ji;
|
|
|
2107
2107
|
function ea() {
|
|
2108
2108
|
if (ji) return xn;
|
|
2109
2109
|
ji = 1, Object.defineProperty(xn, "__esModule", { value: !0 });
|
|
2110
|
-
const t = Xs();
|
|
2110
|
+
const t = /* @__PURE__ */ Xs();
|
|
2111
2111
|
class e extends Error {
|
|
2112
2112
|
constructor(n, s, a, o) {
|
|
2113
2113
|
super(o || `can't resolve reference ${a} from id ${s}`), this.missingRef = (0, t.resolveUrl)(n, s, a), this.missingSchema = (0, t.normalizeId)((0, t.getFullPath)(n, this.missingRef));
|
|
@@ -2119,7 +2119,7 @@ var rt = {}, zi;
|
|
|
2119
2119
|
function bo() {
|
|
2120
2120
|
if (zi) return rt;
|
|
2121
2121
|
zi = 1, Object.defineProperty(rt, "__esModule", { value: !0 }), rt.resolveSchema = rt.getCompilingSchema = rt.resolveRef = rt.compileSchema = rt.SchemaEnv = void 0;
|
|
2122
|
-
const t = ce(), e = wo(), r = Yt(), n = Xs(), s = he(), a = Qs();
|
|
2122
|
+
const t = /* @__PURE__ */ ce(), e = /* @__PURE__ */ wo(), r = /* @__PURE__ */ Yt(), n = /* @__PURE__ */ Xs(), s = /* @__PURE__ */ he(), a = /* @__PURE__ */ Qs();
|
|
2123
2123
|
class o {
|
|
2124
2124
|
constructor(v) {
|
|
2125
2125
|
var f;
|
|
@@ -2694,11 +2694,11 @@ var Ui;
|
|
|
2694
2694
|
function Nd() {
|
|
2695
2695
|
return Ui || (Ui = 1, (function(t) {
|
|
2696
2696
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.CodeGen = t.Name = t.nil = t.stringify = t.str = t._ = t.KeywordCxt = void 0;
|
|
2697
|
-
var e = Qs();
|
|
2697
|
+
var e = /* @__PURE__ */ Qs();
|
|
2698
2698
|
Object.defineProperty(t, "KeywordCxt", { enumerable: !0, get: function() {
|
|
2699
2699
|
return e.KeywordCxt;
|
|
2700
2700
|
} });
|
|
2701
|
-
var r = ce();
|
|
2701
|
+
var r = /* @__PURE__ */ ce();
|
|
2702
2702
|
Object.defineProperty(t, "_", { enumerable: !0, get: function() {
|
|
2703
2703
|
return r._;
|
|
2704
2704
|
} }), Object.defineProperty(t, "str", { enumerable: !0, get: function() {
|
|
@@ -2712,7 +2712,7 @@ function Nd() {
|
|
|
2712
2712
|
} }), Object.defineProperty(t, "CodeGen", { enumerable: !0, get: function() {
|
|
2713
2713
|
return r.CodeGen;
|
|
2714
2714
|
} });
|
|
2715
|
-
const n = wo(), s = ea(), a = bu(), o = bo(), i = ce(), c = Xs(), u = vs(), l = he(), d = xd, m = Od(), _ = (L, P) => new RegExp(L, P);
|
|
2715
|
+
const n = /* @__PURE__ */ wo(), s = /* @__PURE__ */ ea(), a = /* @__PURE__ */ bu(), o = /* @__PURE__ */ bo(), i = /* @__PURE__ */ ce(), c = /* @__PURE__ */ Xs(), u = /* @__PURE__ */ vs(), l = /* @__PURE__ */ he(), d = xd, m = /* @__PURE__ */ Od(), _ = (L, P) => new RegExp(L, P);
|
|
2716
2716
|
_.code = "new RegExp";
|
|
2717
2717
|
const p = ["removeAdditional", "useDefaults", "coerceTypes"], y = /* @__PURE__ */ new Set([
|
|
2718
2718
|
"validate",
|
|
@@ -3149,7 +3149,7 @@ var Mt = {}, Vi;
|
|
|
3149
3149
|
function jd() {
|
|
3150
3150
|
if (Vi) return Mt;
|
|
3151
3151
|
Vi = 1, Object.defineProperty(Mt, "__esModule", { value: !0 }), Mt.callRef = Mt.getValidate = void 0;
|
|
3152
|
-
const t = ea(), e = Tt(), r = ce(), n = Yt(), s = bo(), a = he(), o = {
|
|
3152
|
+
const t = /* @__PURE__ */ ea(), e = /* @__PURE__ */ Tt(), r = /* @__PURE__ */ ce(), n = /* @__PURE__ */ Yt(), s = /* @__PURE__ */ bo(), a = /* @__PURE__ */ he(), o = {
|
|
3153
3153
|
keyword: "$ref",
|
|
3154
3154
|
schemaType: "string",
|
|
3155
3155
|
code(u) {
|
|
@@ -3236,7 +3236,7 @@ var Fi;
|
|
|
3236
3236
|
function zd() {
|
|
3237
3237
|
if (Fi) return On;
|
|
3238
3238
|
Fi = 1, Object.defineProperty(On, "__esModule", { value: !0 });
|
|
3239
|
-
const t = Ad(), e = jd(), r = [
|
|
3239
|
+
const t = /* @__PURE__ */ Ad(), e = /* @__PURE__ */ jd(), r = [
|
|
3240
3240
|
"$schema",
|
|
3241
3241
|
"$id",
|
|
3242
3242
|
"$defs",
|
|
@@ -3252,7 +3252,7 @@ var An = {}, jn = {}, Hi;
|
|
|
3252
3252
|
function Md() {
|
|
3253
3253
|
if (Hi) return jn;
|
|
3254
3254
|
Hi = 1, Object.defineProperty(jn, "__esModule", { value: !0 });
|
|
3255
|
-
const t = ce(), e = t.operators, r = {
|
|
3255
|
+
const t = /* @__PURE__ */ ce(), e = t.operators, r = {
|
|
3256
3256
|
maximum: { okStr: "<=", ok: e.LTE, fail: e.GT },
|
|
3257
3257
|
minimum: { okStr: ">=", ok: e.GTE, fail: e.LT },
|
|
3258
3258
|
exclusiveMaximum: { okStr: "<", ok: e.LT, fail: e.GTE },
|
|
@@ -3277,7 +3277,7 @@ var zn = {}, Wi;
|
|
|
3277
3277
|
function qd() {
|
|
3278
3278
|
if (Wi) return zn;
|
|
3279
3279
|
Wi = 1, Object.defineProperty(zn, "__esModule", { value: !0 });
|
|
3280
|
-
const t = ce(), r = {
|
|
3280
|
+
const t = /* @__PURE__ */ ce(), r = {
|
|
3281
3281
|
keyword: "multipleOf",
|
|
3282
3282
|
type: "number",
|
|
3283
3283
|
schemaType: "number",
|
|
@@ -3310,7 +3310,7 @@ var Bi;
|
|
|
3310
3310
|
function Ld() {
|
|
3311
3311
|
if (Bi) return Mn;
|
|
3312
3312
|
Bi = 1, Object.defineProperty(Mn, "__esModule", { value: !0 });
|
|
3313
|
-
const t = ce(), e = he(), r = Zd(), s = {
|
|
3313
|
+
const t = /* @__PURE__ */ ce(), e = /* @__PURE__ */ he(), r = /* @__PURE__ */ Zd(), s = {
|
|
3314
3314
|
keyword: ["maxLength", "minLength"],
|
|
3315
3315
|
type: "string",
|
|
3316
3316
|
schemaType: "number",
|
|
@@ -3333,27 +3333,33 @@ var Zn = {}, Ji;
|
|
|
3333
3333
|
function Ud() {
|
|
3334
3334
|
if (Ji) return Zn;
|
|
3335
3335
|
Ji = 1, Object.defineProperty(Zn, "__esModule", { value: !0 });
|
|
3336
|
-
const t = Tt(), e = ce(),
|
|
3336
|
+
const t = /* @__PURE__ */ Tt(), e = /* @__PURE__ */ he(), r = /* @__PURE__ */ ce(), s = {
|
|
3337
3337
|
keyword: "pattern",
|
|
3338
3338
|
type: "string",
|
|
3339
3339
|
schemaType: "string",
|
|
3340
3340
|
$data: !0,
|
|
3341
3341
|
error: {
|
|
3342
|
-
message: ({ schemaCode:
|
|
3343
|
-
params: ({ schemaCode:
|
|
3342
|
+
message: ({ schemaCode: a }) => (0, r.str)`must match pattern "${a}"`,
|
|
3343
|
+
params: ({ schemaCode: a }) => (0, r._)`{pattern: ${a}}`
|
|
3344
3344
|
},
|
|
3345
|
-
code(
|
|
3346
|
-
const { data:
|
|
3347
|
-
|
|
3345
|
+
code(a) {
|
|
3346
|
+
const { gen: o, data: i, $data: c, schema: u, schemaCode: l, it: d } = a, m = d.opts.unicodeRegExp ? "u" : "";
|
|
3347
|
+
if (c) {
|
|
3348
|
+
const { regExp: _ } = d.opts.code, p = _.code === "new RegExp" ? (0, r._)`new RegExp` : (0, e.useFunc)(o, _), y = o.let("valid");
|
|
3349
|
+
o.try(() => o.assign(y, (0, r._)`${p}(${l}, ${m}).test(${i})`), () => o.assign(y, !1)), a.fail$data((0, r._)`!${y}`);
|
|
3350
|
+
} else {
|
|
3351
|
+
const _ = (0, t.usePattern)(a, u);
|
|
3352
|
+
a.fail$data((0, r._)`!${_}.test(${i})`);
|
|
3353
|
+
}
|
|
3348
3354
|
}
|
|
3349
3355
|
};
|
|
3350
|
-
return Zn.default =
|
|
3356
|
+
return Zn.default = s, Zn;
|
|
3351
3357
|
}
|
|
3352
3358
|
var Ln = {}, Gi;
|
|
3353
3359
|
function Dd() {
|
|
3354
3360
|
if (Gi) return Ln;
|
|
3355
3361
|
Gi = 1, Object.defineProperty(Ln, "__esModule", { value: !0 });
|
|
3356
|
-
const t = ce(), r = {
|
|
3362
|
+
const t = /* @__PURE__ */ ce(), r = {
|
|
3357
3363
|
keyword: ["maxProperties", "minProperties"],
|
|
3358
3364
|
type: "object",
|
|
3359
3365
|
schemaType: "number",
|
|
@@ -3376,7 +3382,7 @@ var Un = {}, Yi;
|
|
|
3376
3382
|
function Vd() {
|
|
3377
3383
|
if (Yi) return Un;
|
|
3378
3384
|
Yi = 1, Object.defineProperty(Un, "__esModule", { value: !0 });
|
|
3379
|
-
const t = Tt(), e = ce(), r = he(), s = {
|
|
3385
|
+
const t = /* @__PURE__ */ Tt(), e = /* @__PURE__ */ ce(), r = /* @__PURE__ */ he(), s = {
|
|
3380
3386
|
keyword: "required",
|
|
3381
3387
|
type: "object",
|
|
3382
3388
|
schemaType: "array",
|
|
@@ -3433,7 +3439,7 @@ var Dn = {}, Xi;
|
|
|
3433
3439
|
function Fd() {
|
|
3434
3440
|
if (Xi) return Dn;
|
|
3435
3441
|
Xi = 1, Object.defineProperty(Dn, "__esModule", { value: !0 });
|
|
3436
|
-
const t = ce(), r = {
|
|
3442
|
+
const t = /* @__PURE__ */ ce(), r = {
|
|
3437
3443
|
keyword: ["maxItems", "minItems"],
|
|
3438
3444
|
type: "array",
|
|
3439
3445
|
schemaType: "number",
|
|
@@ -3463,7 +3469,7 @@ var ec;
|
|
|
3463
3469
|
function Hd() {
|
|
3464
3470
|
if (ec) return Vn;
|
|
3465
3471
|
ec = 1, Object.defineProperty(Vn, "__esModule", { value: !0 });
|
|
3466
|
-
const t = vs(), e = ce(), r = he(), n = ko(), a = {
|
|
3472
|
+
const t = /* @__PURE__ */ vs(), e = /* @__PURE__ */ ce(), r = /* @__PURE__ */ he(), n = /* @__PURE__ */ ko(), a = {
|
|
3467
3473
|
keyword: "uniqueItems",
|
|
3468
3474
|
type: "array",
|
|
3469
3475
|
schemaType: "boolean",
|
|
@@ -3507,7 +3513,7 @@ var Hn = {}, tc;
|
|
|
3507
3513
|
function Wd() {
|
|
3508
3514
|
if (tc) return Hn;
|
|
3509
3515
|
tc = 1, Object.defineProperty(Hn, "__esModule", { value: !0 });
|
|
3510
|
-
const t = ce(), e = he(), r = ko(), s = {
|
|
3516
|
+
const t = /* @__PURE__ */ ce(), e = /* @__PURE__ */ he(), r = /* @__PURE__ */ ko(), s = {
|
|
3511
3517
|
keyword: "const",
|
|
3512
3518
|
$data: !0,
|
|
3513
3519
|
error: {
|
|
@@ -3525,7 +3531,7 @@ var Wn = {}, rc;
|
|
|
3525
3531
|
function Kd() {
|
|
3526
3532
|
if (rc) return Wn;
|
|
3527
3533
|
rc = 1, Object.defineProperty(Wn, "__esModule", { value: !0 });
|
|
3528
|
-
const t = ce(), e = he(), r = ko(), s = {
|
|
3534
|
+
const t = /* @__PURE__ */ ce(), e = /* @__PURE__ */ he(), r = /* @__PURE__ */ ko(), s = {
|
|
3529
3535
|
keyword: "enum",
|
|
3530
3536
|
schemaType: "array",
|
|
3531
3537
|
$data: !0,
|
|
@@ -3565,7 +3571,7 @@ var nc;
|
|
|
3565
3571
|
function Bd() {
|
|
3566
3572
|
if (nc) return An;
|
|
3567
3573
|
nc = 1, Object.defineProperty(An, "__esModule", { value: !0 });
|
|
3568
|
-
const t = Md(), e = qd(), r = Ld(), n = Ud(), s = Dd(), a = Vd(), o = Fd(), i = Hd(), c = Wd(), u = Kd(), l = [
|
|
3574
|
+
const t = /* @__PURE__ */ Md(), e = /* @__PURE__ */ qd(), r = /* @__PURE__ */ Ld(), n = /* @__PURE__ */ Ud(), s = /* @__PURE__ */ Dd(), a = /* @__PURE__ */ Vd(), o = /* @__PURE__ */ Fd(), i = /* @__PURE__ */ Hd(), c = /* @__PURE__ */ Wd(), u = /* @__PURE__ */ Kd(), l = [
|
|
3569
3575
|
// number
|
|
3570
3576
|
t.default,
|
|
3571
3577
|
e.default,
|
|
@@ -3590,7 +3596,7 @@ var Kn = {}, hr = {}, sc;
|
|
|
3590
3596
|
function Tu() {
|
|
3591
3597
|
if (sc) return hr;
|
|
3592
3598
|
sc = 1, Object.defineProperty(hr, "__esModule", { value: !0 }), hr.validateAdditionalItems = void 0;
|
|
3593
|
-
const t = ce(), e = he(), n = {
|
|
3599
|
+
const t = /* @__PURE__ */ ce(), e = /* @__PURE__ */ he(), n = {
|
|
3594
3600
|
keyword: "additionalItems",
|
|
3595
3601
|
type: "array",
|
|
3596
3602
|
schemaType: ["boolean", "object"],
|
|
@@ -3630,7 +3636,7 @@ var Bn = {}, pr = {}, ac;
|
|
|
3630
3636
|
function Eu() {
|
|
3631
3637
|
if (ac) return pr;
|
|
3632
3638
|
ac = 1, Object.defineProperty(pr, "__esModule", { value: !0 }), pr.validateTuple = void 0;
|
|
3633
|
-
const t = ce(), e = he(), r = Tt(), n = {
|
|
3639
|
+
const t = /* @__PURE__ */ ce(), e = /* @__PURE__ */ he(), r = /* @__PURE__ */ Tt(), n = {
|
|
3634
3640
|
keyword: "items",
|
|
3635
3641
|
type: "array",
|
|
3636
3642
|
schemaType: ["object", "array", "boolean"],
|
|
@@ -3667,7 +3673,7 @@ var oc;
|
|
|
3667
3673
|
function Jd() {
|
|
3668
3674
|
if (oc) return Bn;
|
|
3669
3675
|
oc = 1, Object.defineProperty(Bn, "__esModule", { value: !0 });
|
|
3670
|
-
const t = Eu(), e = {
|
|
3676
|
+
const t = /* @__PURE__ */ Eu(), e = {
|
|
3671
3677
|
keyword: "prefixItems",
|
|
3672
3678
|
type: "array",
|
|
3673
3679
|
schemaType: ["array"],
|
|
@@ -3680,7 +3686,7 @@ var Jn = {}, ic;
|
|
|
3680
3686
|
function Gd() {
|
|
3681
3687
|
if (ic) return Jn;
|
|
3682
3688
|
ic = 1, Object.defineProperty(Jn, "__esModule", { value: !0 });
|
|
3683
|
-
const t = ce(), e = he(), r = Tt(), n = Tu(), a = {
|
|
3689
|
+
const t = /* @__PURE__ */ ce(), e = /* @__PURE__ */ he(), r = /* @__PURE__ */ Tt(), n = /* @__PURE__ */ Tu(), a = {
|
|
3684
3690
|
keyword: "items",
|
|
3685
3691
|
type: "array",
|
|
3686
3692
|
schemaType: ["object", "boolean"],
|
|
@@ -3700,7 +3706,7 @@ var Gn = {}, cc;
|
|
|
3700
3706
|
function Yd() {
|
|
3701
3707
|
if (cc) return Gn;
|
|
3702
3708
|
cc = 1, Object.defineProperty(Gn, "__esModule", { value: !0 });
|
|
3703
|
-
const t = ce(), e = he(), n = {
|
|
3709
|
+
const t = /* @__PURE__ */ ce(), e = /* @__PURE__ */ he(), n = {
|
|
3704
3710
|
keyword: "contains",
|
|
3705
3711
|
type: "array",
|
|
3706
3712
|
schemaType: ["object", "boolean"],
|
|
@@ -3757,7 +3763,7 @@ var ba = {}, uc;
|
|
|
3757
3763
|
function Xd() {
|
|
3758
3764
|
return uc || (uc = 1, (function(t) {
|
|
3759
3765
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.validateSchemaDeps = t.validatePropertyDeps = t.error = void 0;
|
|
3760
|
-
const e = ce(), r = he(), n = Tt();
|
|
3766
|
+
const e = /* @__PURE__ */ ce(), r = /* @__PURE__ */ he(), n = /* @__PURE__ */ Tt();
|
|
3761
3767
|
t.error = {
|
|
3762
3768
|
message: ({ params: { property: c, depsCount: u, deps: l } }) => {
|
|
3763
3769
|
const d = u === 1 ? "property" : "properties";
|
|
@@ -3830,7 +3836,7 @@ var Yn = {}, lc;
|
|
|
3830
3836
|
function Qd() {
|
|
3831
3837
|
if (lc) return Yn;
|
|
3832
3838
|
lc = 1, Object.defineProperty(Yn, "__esModule", { value: !0 });
|
|
3833
|
-
const t = ce(), e = he(), n = {
|
|
3839
|
+
const t = /* @__PURE__ */ ce(), e = /* @__PURE__ */ he(), n = {
|
|
3834
3840
|
keyword: "propertyNames",
|
|
3835
3841
|
type: "object",
|
|
3836
3842
|
schemaType: ["object", "boolean"],
|
|
@@ -3862,7 +3868,7 @@ var Xn = {}, dc;
|
|
|
3862
3868
|
function Ru() {
|
|
3863
3869
|
if (dc) return Xn;
|
|
3864
3870
|
dc = 1, Object.defineProperty(Xn, "__esModule", { value: !0 });
|
|
3865
|
-
const t = Tt(), e = ce(), r = Yt(), n = he(), a = {
|
|
3871
|
+
const t = /* @__PURE__ */ Tt(), e = /* @__PURE__ */ ce(), r = /* @__PURE__ */ Yt(), n = /* @__PURE__ */ he(), a = {
|
|
3866
3872
|
keyword: "additionalProperties",
|
|
3867
3873
|
type: ["object"],
|
|
3868
3874
|
schemaType: ["boolean", "object"],
|
|
@@ -3933,7 +3939,7 @@ var Qn = {}, fc;
|
|
|
3933
3939
|
function ef() {
|
|
3934
3940
|
if (fc) return Qn;
|
|
3935
3941
|
fc = 1, Object.defineProperty(Qn, "__esModule", { value: !0 });
|
|
3936
|
-
const t = Qs(), e = Tt(), r = he(), n = Ru(), s = {
|
|
3942
|
+
const t = /* @__PURE__ */ Qs(), e = /* @__PURE__ */ Tt(), r = /* @__PURE__ */ he(), n = /* @__PURE__ */ Ru(), s = {
|
|
3937
3943
|
keyword: "properties",
|
|
3938
3944
|
type: "object",
|
|
3939
3945
|
schemaType: "object",
|
|
@@ -3968,7 +3974,7 @@ var es = {}, hc;
|
|
|
3968
3974
|
function tf() {
|
|
3969
3975
|
if (hc) return es;
|
|
3970
3976
|
hc = 1, Object.defineProperty(es, "__esModule", { value: !0 });
|
|
3971
|
-
const t = Tt(), e = ce(), r = he(), n = he(), s = {
|
|
3977
|
+
const t = /* @__PURE__ */ Tt(), e = /* @__PURE__ */ ce(), r = /* @__PURE__ */ he(), n = /* @__PURE__ */ he(), s = {
|
|
3972
3978
|
keyword: "patternProperties",
|
|
3973
3979
|
type: "object",
|
|
3974
3980
|
schemaType: "object",
|
|
@@ -4009,7 +4015,7 @@ var ts = {}, pc;
|
|
|
4009
4015
|
function rf() {
|
|
4010
4016
|
if (pc) return ts;
|
|
4011
4017
|
pc = 1, Object.defineProperty(ts, "__esModule", { value: !0 });
|
|
4012
|
-
const t = he(), e = {
|
|
4018
|
+
const t = /* @__PURE__ */ he(), e = {
|
|
4013
4019
|
keyword: "not",
|
|
4014
4020
|
schemaType: ["object", "boolean"],
|
|
4015
4021
|
trackErrors: !0,
|
|
@@ -4039,7 +4045,7 @@ function nf() {
|
|
|
4039
4045
|
keyword: "anyOf",
|
|
4040
4046
|
schemaType: "array",
|
|
4041
4047
|
trackErrors: !0,
|
|
4042
|
-
code: Tt().validateUnion,
|
|
4048
|
+
code: (/* @__PURE__ */ Tt()).validateUnion,
|
|
4043
4049
|
error: { message: "must match a schema in anyOf" }
|
|
4044
4050
|
};
|
|
4045
4051
|
return rs.default = e, rs;
|
|
@@ -4048,7 +4054,7 @@ var ns = {}, _c;
|
|
|
4048
4054
|
function sf() {
|
|
4049
4055
|
if (_c) return ns;
|
|
4050
4056
|
_c = 1, Object.defineProperty(ns, "__esModule", { value: !0 });
|
|
4051
|
-
const t = ce(), e = he(), n = {
|
|
4057
|
+
const t = /* @__PURE__ */ ce(), e = /* @__PURE__ */ he(), n = {
|
|
4052
4058
|
keyword: "oneOf",
|
|
4053
4059
|
schemaType: "array",
|
|
4054
4060
|
trackErrors: !0,
|
|
@@ -4084,7 +4090,7 @@ var ss = {}, gc;
|
|
|
4084
4090
|
function af() {
|
|
4085
4091
|
if (gc) return ss;
|
|
4086
4092
|
gc = 1, Object.defineProperty(ss, "__esModule", { value: !0 });
|
|
4087
|
-
const t = he(), e = {
|
|
4093
|
+
const t = /* @__PURE__ */ he(), e = {
|
|
4088
4094
|
keyword: "allOf",
|
|
4089
4095
|
schemaType: "array",
|
|
4090
4096
|
code(r) {
|
|
@@ -4106,7 +4112,7 @@ var as = {}, yc;
|
|
|
4106
4112
|
function of() {
|
|
4107
4113
|
if (yc) return as;
|
|
4108
4114
|
yc = 1, Object.defineProperty(as, "__esModule", { value: !0 });
|
|
4109
|
-
const t = ce(), e = he(), n = {
|
|
4115
|
+
const t = /* @__PURE__ */ ce(), e = /* @__PURE__ */ he(), n = {
|
|
4110
4116
|
keyword: "if",
|
|
4111
4117
|
schemaType: ["object", "boolean"],
|
|
4112
4118
|
trackErrors: !0,
|
|
@@ -4153,7 +4159,7 @@ var os = {}, vc;
|
|
|
4153
4159
|
function cf() {
|
|
4154
4160
|
if (vc) return os;
|
|
4155
4161
|
vc = 1, Object.defineProperty(os, "__esModule", { value: !0 });
|
|
4156
|
-
const t = he(), e = {
|
|
4162
|
+
const t = /* @__PURE__ */ he(), e = {
|
|
4157
4163
|
keyword: ["then", "else"],
|
|
4158
4164
|
schemaType: ["object", "boolean"],
|
|
4159
4165
|
code({ keyword: r, parentSchema: n, it: s }) {
|
|
@@ -4166,7 +4172,7 @@ var wc;
|
|
|
4166
4172
|
function uf() {
|
|
4167
4173
|
if (wc) return Kn;
|
|
4168
4174
|
wc = 1, Object.defineProperty(Kn, "__esModule", { value: !0 });
|
|
4169
|
-
const t = Tu(), e = Jd(), r = Eu(), n = Gd(), s = Yd(), a = Xd(), o = Qd(), i = Ru(), c = ef(), u = tf(), l = rf(), d = nf(), m = sf(), _ = af(), p = of(), y = cf();
|
|
4175
|
+
const t = /* @__PURE__ */ Tu(), e = /* @__PURE__ */ Jd(), r = /* @__PURE__ */ Eu(), n = /* @__PURE__ */ Gd(), s = /* @__PURE__ */ Yd(), a = /* @__PURE__ */ Xd(), o = /* @__PURE__ */ Qd(), i = /* @__PURE__ */ Ru(), c = /* @__PURE__ */ ef(), u = /* @__PURE__ */ tf(), l = /* @__PURE__ */ rf(), d = /* @__PURE__ */ nf(), m = /* @__PURE__ */ sf(), _ = /* @__PURE__ */ af(), p = /* @__PURE__ */ of(), y = /* @__PURE__ */ cf();
|
|
4170
4176
|
function h(v = !1) {
|
|
4171
4177
|
const f = [
|
|
4172
4178
|
// any
|
|
@@ -4191,7 +4197,7 @@ var is = {}, cs = {}, bc;
|
|
|
4191
4197
|
function lf() {
|
|
4192
4198
|
if (bc) return cs;
|
|
4193
4199
|
bc = 1, Object.defineProperty(cs, "__esModule", { value: !0 });
|
|
4194
|
-
const t = ce(), r = {
|
|
4200
|
+
const t = /* @__PURE__ */ ce(), r = {
|
|
4195
4201
|
keyword: "format",
|
|
4196
4202
|
type: ["number", "string"],
|
|
4197
4203
|
schemaType: "string",
|
|
@@ -4260,7 +4266,7 @@ var kc;
|
|
|
4260
4266
|
function df() {
|
|
4261
4267
|
if (kc) return is;
|
|
4262
4268
|
kc = 1, Object.defineProperty(is, "__esModule", { value: !0 });
|
|
4263
|
-
const e = [lf().default];
|
|
4269
|
+
const e = [(/* @__PURE__ */ lf()).default];
|
|
4264
4270
|
return is.default = e, is;
|
|
4265
4271
|
}
|
|
4266
4272
|
var tr = {}, $c;
|
|
@@ -4283,7 +4289,7 @@ var Sc;
|
|
|
4283
4289
|
function hf() {
|
|
4284
4290
|
if (Sc) return Cn;
|
|
4285
4291
|
Sc = 1, Object.defineProperty(Cn, "__esModule", { value: !0 });
|
|
4286
|
-
const t = zd(), e = Bd(), r = uf(), n = df(), s = ff(), a = [
|
|
4292
|
+
const t = /* @__PURE__ */ zd(), e = /* @__PURE__ */ Bd(), r = /* @__PURE__ */ uf(), n = /* @__PURE__ */ df(), s = /* @__PURE__ */ ff(), a = [
|
|
4287
4293
|
t.default,
|
|
4288
4294
|
e.default,
|
|
4289
4295
|
(0, r.default)(),
|
|
@@ -4306,7 +4312,7 @@ var Ec;
|
|
|
4306
4312
|
function mf() {
|
|
4307
4313
|
if (Ec) return us;
|
|
4308
4314
|
Ec = 1, Object.defineProperty(us, "__esModule", { value: !0 });
|
|
4309
|
-
const t = ce(), e = pf(), r = bo(), n = ea(), s = he(), o = {
|
|
4315
|
+
const t = /* @__PURE__ */ ce(), e = /* @__PURE__ */ pf(), r = /* @__PURE__ */ bo(), n = /* @__PURE__ */ ea(), s = /* @__PURE__ */ he(), o = {
|
|
4310
4316
|
keyword: "discriminator",
|
|
4311
4317
|
type: "object",
|
|
4312
4318
|
schemaType: "object",
|
|
@@ -4392,7 +4398,7 @@ var Rc;
|
|
|
4392
4398
|
function Pu() {
|
|
4393
4399
|
return Rc || (Rc = 1, (function(t, e) {
|
|
4394
4400
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.MissingRefError = e.ValidationError = e.CodeGen = e.Name = e.nil = e.stringify = e.str = e._ = e.KeywordCxt = e.Ajv = void 0;
|
|
4395
|
-
const r = Nd(), n = hf(), s = mf(), a = kf, o = ["/properties"], i = "http://json-schema.org/draft-07/schema";
|
|
4401
|
+
const r = /* @__PURE__ */ Nd(), n = /* @__PURE__ */ hf(), s = /* @__PURE__ */ mf(), a = kf, o = ["/properties"], i = "http://json-schema.org/draft-07/schema";
|
|
4396
4402
|
class c extends r.default {
|
|
4397
4403
|
_addVocabularies() {
|
|
4398
4404
|
super._addVocabularies(), n.default.forEach((p) => this.addVocabulary(p)), this.opts.discriminator && this.addKeyword(s.default);
|
|
@@ -4408,11 +4414,11 @@ function Pu() {
|
|
|
4408
4414
|
}
|
|
4409
4415
|
}
|
|
4410
4416
|
e.Ajv = c, t.exports = e = c, t.exports.Ajv = c, Object.defineProperty(e, "__esModule", { value: !0 }), e.default = c;
|
|
4411
|
-
var u = Qs();
|
|
4417
|
+
var u = /* @__PURE__ */ Qs();
|
|
4412
4418
|
Object.defineProperty(e, "KeywordCxt", { enumerable: !0, get: function() {
|
|
4413
4419
|
return u.KeywordCxt;
|
|
4414
4420
|
} });
|
|
4415
|
-
var l = ce();
|
|
4421
|
+
var l = /* @__PURE__ */ ce();
|
|
4416
4422
|
Object.defineProperty(e, "_", { enumerable: !0, get: function() {
|
|
4417
4423
|
return l._;
|
|
4418
4424
|
} }), Object.defineProperty(e, "str", { enumerable: !0, get: function() {
|
|
@@ -4426,17 +4432,17 @@ function Pu() {
|
|
|
4426
4432
|
} }), Object.defineProperty(e, "CodeGen", { enumerable: !0, get: function() {
|
|
4427
4433
|
return l.CodeGen;
|
|
4428
4434
|
} });
|
|
4429
|
-
var d = wo();
|
|
4435
|
+
var d = /* @__PURE__ */ wo();
|
|
4430
4436
|
Object.defineProperty(e, "ValidationError", { enumerable: !0, get: function() {
|
|
4431
4437
|
return d.default;
|
|
4432
4438
|
} });
|
|
4433
|
-
var m = ea();
|
|
4439
|
+
var m = /* @__PURE__ */ ea();
|
|
4434
4440
|
Object.defineProperty(e, "MissingRefError", { enumerable: !0, get: function() {
|
|
4435
4441
|
return m.default;
|
|
4436
4442
|
} });
|
|
4437
4443
|
})(En, En.exports)), En.exports;
|
|
4438
4444
|
}
|
|
4439
|
-
var $f = Pu();
|
|
4445
|
+
var $f = /* @__PURE__ */ Pu();
|
|
4440
4446
|
const Sf = /* @__PURE__ */ wu($f), Tf = Object.freeze({
|
|
4441
4447
|
status: "aborted"
|
|
4442
4448
|
});
|
|
@@ -13609,7 +13615,7 @@ var Ia = {}, su;
|
|
|
13609
13615
|
function qv() {
|
|
13610
13616
|
return su || (su = 1, (function(t) {
|
|
13611
13617
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.formatLimitDefinition = void 0;
|
|
13612
|
-
const e = Pu(), r = ce(), n = r.operators, s = {
|
|
13618
|
+
const e = /* @__PURE__ */ Pu(), r = /* @__PURE__ */ ce(), n = r.operators, s = {
|
|
13613
13619
|
formatMaximum: { okStr: "<=", ok: n.LTE, fail: n.GT },
|
|
13614
13620
|
formatMinimum: { okStr: ">=", ok: n.GTE, fail: n.LT },
|
|
13615
13621
|
formatExclusiveMaximum: { okStr: "<", ok: n.LT, fail: n.GTE },
|
|
@@ -13664,7 +13670,7 @@ var au;
|
|
|
13664
13670
|
function Zv() {
|
|
13665
13671
|
return au || (au = 1, (function(t, e) {
|
|
13666
13672
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
13667
|
-
const r = Mv(), n = qv(), s = ce(), a = new s.Name("fullFormats"), o = new s.Name("fastFormats"), i = (u, l = { keywords: !0 }) => {
|
|
13673
|
+
const r = Mv(), n = qv(), s = /* @__PURE__ */ ce(), a = new s.Name("fullFormats"), o = new s.Name("fastFormats"), i = (u, l = { keywords: !0 }) => {
|
|
13668
13674
|
if (Array.isArray(l))
|
|
13669
13675
|
return c(u, l, r.fullFormats, a), u;
|
|
13670
13676
|
const [d, m] = l.mode === "fast" ? [r.fastFormats, o] : [r.fullFormats, a], _ = l.formats || r.formatNames;
|