@scalar/fastify-api-reference 0.6.4 → 0.6.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.
- package/CHANGELOG.md +6 -0
- package/dist/templates/fastify-api-reference.js +416 -417
- package/package.json +2 -2
|
@@ -2551,7 +2551,7 @@ var Rdt = UJ((tpt, yl) => {
|
|
|
2551
2551
|
try {
|
|
2552
2552
|
if (r.shapeFlag & 4) {
|
|
2553
2553
|
const P = i || n;
|
|
2554
|
-
g =
|
|
2554
|
+
g = Qo(
|
|
2555
2555
|
u.call(
|
|
2556
2556
|
P,
|
|
2557
2557
|
P,
|
|
@@ -2564,7 +2564,7 @@ var Rdt = UJ((tpt, yl) => {
|
|
|
2564
2564
|
), v = l;
|
|
2565
2565
|
} else {
|
|
2566
2566
|
const P = e;
|
|
2567
|
-
Z.process.env.NODE_ENV !== "production" && l === o && R2(), g =
|
|
2567
|
+
Z.process.env.NODE_ENV !== "production" && l === o && R2(), g = Qo(
|
|
2568
2568
|
P.length > 1 ? P(
|
|
2569
2569
|
o,
|
|
2570
2570
|
Z.process.env.NODE_ENV !== "production" ? {
|
|
@@ -2592,7 +2592,7 @@ var Rdt = UJ((tpt, yl) => {
|
|
|
2592
2592
|
a && P.some(k2) && (v = xte(
|
|
2593
2593
|
v,
|
|
2594
2594
|
a
|
|
2595
|
-
)), S =
|
|
2595
|
+
)), S = Vo(S, v);
|
|
2596
2596
|
else if (Z.process.env.NODE_ENV !== "production" && !U3 && S.type !== di) {
|
|
2597
2597
|
const A = Object.keys(l), M = [], L = [];
|
|
2598
2598
|
for (let T = 0, W = A.length; T < W; T++) {
|
|
@@ -2609,7 +2609,7 @@ var Rdt = UJ((tpt, yl) => {
|
|
|
2609
2609
|
}
|
|
2610
2610
|
return r.dirs && (Z.process.env.NODE_ENV !== "production" && !iQ(S) && Ee(
|
|
2611
2611
|
"Runtime directive used on component with non-element root node. The directives will not function as intended."
|
|
2612
|
-
), S =
|
|
2612
|
+
), S = Vo(S), S.dirs = S.dirs ? S.dirs.concat(r.dirs) : r.dirs), r.transition && (Z.process.env.NODE_ENV !== "production" && !iQ(S) && Ee(
|
|
2613
2613
|
"Component inside <Transition> renders non-element root node that cannot be animated."
|
|
2614
2614
|
), S.transition = r.transition), Z.process.env.NODE_ENV !== "production" && x ? x(S) : g = S, E2(w), g;
|
|
2615
2615
|
}
|
|
@@ -2620,7 +2620,7 @@ var Rdt = UJ((tpt, yl) => {
|
|
|
2620
2620
|
const i = e.indexOf(n), o = r ? r.indexOf(n) : -1, a = (s) => {
|
|
2621
2621
|
e[i] = s, r && (o > -1 ? r[o] = s : s.patchFlag > 0 && (t.dynamicChildren = [...r, s]));
|
|
2622
2622
|
};
|
|
2623
|
-
return [
|
|
2623
|
+
return [Qo(n), a];
|
|
2624
2624
|
};
|
|
2625
2625
|
function SU(t) {
|
|
2626
2626
|
let e;
|
|
@@ -2821,7 +2821,7 @@ var Rdt = UJ((tpt, yl) => {
|
|
|
2821
2821
|
function kU(t) {
|
|
2822
2822
|
KJ(t) && Ee("Do not use built-in directive ids as custom directive id: " + t);
|
|
2823
2823
|
}
|
|
2824
|
-
function
|
|
2824
|
+
function Ft(t, e) {
|
|
2825
2825
|
const r = rn;
|
|
2826
2826
|
if (r === null)
|
|
2827
2827
|
return Z.process.env.NODE_ENV !== "production" && Ee("withDirectives can only be used inside render functions."), t;
|
|
@@ -2981,7 +2981,7 @@ var Rdt = UJ((tpt, yl) => {
|
|
|
2981
2981
|
const s = r == null ? a.key : String(r) + String(a.key != null ? a.key : o);
|
|
2982
2982
|
a.type === Ye ? (a.patchFlag & 128 && i++, n = n.concat(
|
|
2983
2983
|
_U(a.children, e, s)
|
|
2984
|
-
)) : (e || a.type !== di) && n.push(s != null ?
|
|
2984
|
+
)) : (e || a.type !== di) && n.push(s != null ? Vo(a, { key: s }) : a);
|
|
2985
2985
|
}
|
|
2986
2986
|
if (i > 1)
|
|
2987
2987
|
for (let o = 0; o < n.length; o++)
|
|
@@ -3767,7 +3767,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
3767
3767
|
i
|
|
3768
3768
|
);
|
|
3769
3769
|
return p.appContext = o, Z.process.env.NODE_ENV !== "production" && (o.reload = () => {
|
|
3770
|
-
t(
|
|
3770
|
+
t(Vo(p), c, d);
|
|
3771
3771
|
}), u && e ? e(p, c) : t(p, c, d), s = !0, l._container = c, c.__vue_app__ = l, Z.process.env.NODE_ENV !== "production" && (l._instance = p.component, pte(l, SQ)), Zv(p.component) || p.component.proxy;
|
|
3772
3772
|
}
|
|
3773
3773
|
},
|
|
@@ -4063,7 +4063,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
4063
4063
|
function cre(...t) {
|
|
4064
4064
|
return t.some((e) => e.toLowerCase() === "boolean");
|
|
4065
4065
|
}
|
|
4066
|
-
const UU = (t) => t[0] === "_" || t === "$stable", b_ = (t) => ze(t) ? t.map(
|
|
4066
|
+
const UU = (t) => t[0] === "_" || t === "$stable", b_ = (t) => ze(t) ? t.map(Qo) : [Qo(t)], ure = (t, e, r) => {
|
|
4067
4067
|
if (e._n)
|
|
4068
4068
|
return e;
|
|
4069
4069
|
const n = Re((...i) => (Z.process.env.NODE_ENV !== "production" && zr && Ee(
|
|
@@ -4395,7 +4395,7 @@ For more details, see https://link.vuejs.org/feature-flags.`
|
|
|
4395
4395
|
}
|
|
4396
4396
|
}, L = (E, Y, le, ce, he, Pe, ie, Qe, Ce = 0) => {
|
|
4397
4397
|
for (let be = Ce; be < E.length; be++) {
|
|
4398
|
-
const Xe = E[be] = Qe ? Sl(E[be]) :
|
|
4398
|
+
const Xe = E[be] = Qe ? Sl(E[be]) : Qo(E[be]);
|
|
4399
4399
|
O(
|
|
4400
4400
|
null,
|
|
4401
4401
|
Xe,
|
|
@@ -4761,7 +4761,7 @@ For more details, see https://link.vuejs.org/feature-flags.`
|
|
|
4761
4761
|
const be = E.length, Xe = Y.length, Ue = Math.min(be, Xe);
|
|
4762
4762
|
let oe;
|
|
4763
4763
|
for (oe = 0; oe < Ue; oe++) {
|
|
4764
|
-
const Oe = Y[oe] = Ce ? Sl(Y[oe]) :
|
|
4764
|
+
const Oe = Y[oe] = Ce ? Sl(Y[oe]) : Qo(Y[oe]);
|
|
4765
4765
|
O(
|
|
4766
4766
|
E[oe],
|
|
4767
4767
|
Oe,
|
|
@@ -4797,7 +4797,7 @@ For more details, see https://link.vuejs.org/feature-flags.`
|
|
|
4797
4797
|
const Xe = Y.length;
|
|
4798
4798
|
let Ue = E.length - 1, oe = Xe - 1;
|
|
4799
4799
|
for (; be <= Ue && be <= oe; ) {
|
|
4800
|
-
const Oe = E[be], b = Y[be] = Ce ? Sl(Y[be]) :
|
|
4800
|
+
const Oe = E[be], b = Y[be] = Ce ? Sl(Y[be]) : Qo(Y[be]);
|
|
4801
4801
|
if (Ud(Oe, b))
|
|
4802
4802
|
O(
|
|
4803
4803
|
Oe,
|
|
@@ -4815,7 +4815,7 @@ For more details, see https://link.vuejs.org/feature-flags.`
|
|
|
4815
4815
|
be++;
|
|
4816
4816
|
}
|
|
4817
4817
|
for (; be <= Ue && be <= oe; ) {
|
|
4818
|
-
const Oe = E[Ue], b = Y[oe] = Ce ? Sl(Y[oe]) :
|
|
4818
|
+
const Oe = E[Ue], b = Y[oe] = Ce ? Sl(Y[oe]) : Qo(Y[oe]);
|
|
4819
4819
|
if (Ud(Oe, b))
|
|
4820
4820
|
O(
|
|
4821
4821
|
Oe,
|
|
@@ -4838,7 +4838,7 @@ For more details, see https://link.vuejs.org/feature-flags.`
|
|
|
4838
4838
|
for (; be <= oe; )
|
|
4839
4839
|
O(
|
|
4840
4840
|
null,
|
|
4841
|
-
Y[be] = Ce ? Sl(Y[be]) :
|
|
4841
|
+
Y[be] = Ce ? Sl(Y[be]) : Qo(Y[be]),
|
|
4842
4842
|
le,
|
|
4843
4843
|
b,
|
|
4844
4844
|
he,
|
|
@@ -4854,7 +4854,7 @@ For more details, see https://link.vuejs.org/feature-flags.`
|
|
|
4854
4854
|
else {
|
|
4855
4855
|
const Oe = be, b = be, m = /* @__PURE__ */ new Map();
|
|
4856
4856
|
for (be = b; be <= oe; be++) {
|
|
4857
|
-
const Ne = Y[be] = Ce ? Sl(Y[be]) :
|
|
4857
|
+
const Ne = Y[be] = Ce ? Sl(Y[be]) : Qo(Y[be]);
|
|
4858
4858
|
Ne.key != null && (Z.process.env.NODE_ENV !== "production" && m.has(Ne.key) && Ee(
|
|
4859
4859
|
"Duplicate keys found during update:",
|
|
4860
4860
|
JSON.stringify(Ne.key),
|
|
@@ -5261,19 +5261,19 @@ For more details, see https://link.vuejs.org/feature-flags.`
|
|
|
5261
5261
|
}
|
|
5262
5262
|
}
|
|
5263
5263
|
const Ye = Symbol.for("v-fgt"), r1 = Symbol.for("v-txt"), di = Symbol.for("v-cmt"), sp = Symbol.for("v-stc"), om = [];
|
|
5264
|
-
let
|
|
5264
|
+
let Eo = null;
|
|
5265
5265
|
function J(t = !1) {
|
|
5266
|
-
om.push(
|
|
5266
|
+
om.push(Eo = t ? null : []);
|
|
5267
5267
|
}
|
|
5268
5268
|
function yre() {
|
|
5269
|
-
om.pop(),
|
|
5269
|
+
om.pop(), Eo = om[om.length - 1] || null;
|
|
5270
5270
|
}
|
|
5271
5271
|
let jm = 1;
|
|
5272
5272
|
function bQ(t) {
|
|
5273
5273
|
jm += t;
|
|
5274
5274
|
}
|
|
5275
5275
|
function NU(t) {
|
|
5276
|
-
return t.dynamicChildren = jm > 0 ?
|
|
5276
|
+
return t.dynamicChildren = jm > 0 ? Eo || ip : null, yre(), jm > 0 && Eo && Eo.push(t), t;
|
|
5277
5277
|
}
|
|
5278
5278
|
function de(t, e, r, n, i, o) {
|
|
5279
5279
|
return NU(
|
|
@@ -5346,24 +5346,24 @@ For more details, see https://link.vuejs.org/feature-flags.`
|
|
|
5346
5346
|
};
|
|
5347
5347
|
return s ? (v_(l, r), o & 128 && t.normalize(l)) : r && (l.shapeFlag |= xr(r) ? 8 : 16), Z.process.env.NODE_ENV !== "production" && l.key !== l.key && Ee("VNode created with invalid key (NaN). VNode type:", l.type), jm > 0 && // avoid a block node from tracking itself
|
|
5348
5348
|
!a && // has current parent block
|
|
5349
|
-
|
|
5349
|
+
Eo && // presence of a patch flag indicates this node needs patching on updates.
|
|
5350
5350
|
// component nodes also should always be patched, because even if the
|
|
5351
5351
|
// component doesn't need to update, it needs to persist the instance on to
|
|
5352
5352
|
// the next vnode so that it can be properly unmounted later.
|
|
5353
5353
|
(l.patchFlag > 0 || o & 6) && // the EVENTS flag is only for hydration and if it is the only flag, the
|
|
5354
5354
|
// vnode should not be considered dynamic due to handler caching.
|
|
5355
|
-
l.patchFlag !== 32 &&
|
|
5355
|
+
l.patchFlag !== 32 && Eo.push(l), l;
|
|
5356
5356
|
}
|
|
5357
5357
|
const we = Z.process.env.NODE_ENV !== "production" ? wre : WU;
|
|
5358
5358
|
function WU(t, e = null, r = null, n = 0, i = null, o = !1) {
|
|
5359
5359
|
if ((!t || t === CU) && (Z.process.env.NODE_ENV !== "production" && !t && Ee(`Invalid vnode type when creating vnode: ${t}.`), t = di), Rp(t)) {
|
|
5360
|
-
const s =
|
|
5360
|
+
const s = Vo(
|
|
5361
5361
|
t,
|
|
5362
5362
|
e,
|
|
5363
5363
|
!0
|
|
5364
5364
|
/* mergeRef: true */
|
|
5365
5365
|
);
|
|
5366
|
-
return r && v_(s, r), jm > 0 && !o &&
|
|
5366
|
+
return r && v_(s, r), jm > 0 && !o && Eo && (s.shapeFlag & 6 ? Eo[Eo.indexOf(t)] = s : Eo.push(s)), s.patchFlag |= -2, s;
|
|
5367
5367
|
}
|
|
5368
5368
|
if (GU(t) && (t = t.__vccOpts), e) {
|
|
5369
5369
|
e = Sre(e);
|
|
@@ -5390,7 +5390,7 @@ Component that was made reactive: `,
|
|
|
5390
5390
|
function Sre(t) {
|
|
5391
5391
|
return t ? X3(t) || jv in t ? er({}, t) : t : null;
|
|
5392
5392
|
}
|
|
5393
|
-
function
|
|
5393
|
+
function Vo(t, e, r = !1) {
|
|
5394
5394
|
const { props: n, ref: i, patchFlag: o, children: a } = t, s = e ? y_(n || {}, e) : n;
|
|
5395
5395
|
return {
|
|
5396
5396
|
__v_isVNode: !0,
|
|
@@ -5427,8 +5427,8 @@ Component that was made reactive: `,
|
|
|
5427
5427
|
// they will simply be overwritten.
|
|
5428
5428
|
component: t.component,
|
|
5429
5429
|
suspense: t.suspense,
|
|
5430
|
-
ssContent: t.ssContent &&
|
|
5431
|
-
ssFallback: t.ssFallback &&
|
|
5430
|
+
ssContent: t.ssContent && Vo(t.ssContent),
|
|
5431
|
+
ssFallback: t.ssFallback && Vo(t.ssFallback),
|
|
5432
5432
|
el: t.el,
|
|
5433
5433
|
anchor: t.anchor,
|
|
5434
5434
|
ctx: t.ctx,
|
|
@@ -5436,7 +5436,7 @@ Component that was made reactive: `,
|
|
|
5436
5436
|
};
|
|
5437
5437
|
}
|
|
5438
5438
|
function LU(t) {
|
|
5439
|
-
const e =
|
|
5439
|
+
const e = Vo(t);
|
|
5440
5440
|
return ze(t.children) && (e.children = t.children.map(LU)), e;
|
|
5441
5441
|
}
|
|
5442
5442
|
function vt(t = " ", e = 0) {
|
|
@@ -5449,7 +5449,7 @@ Component that was made reactive: `,
|
|
|
5449
5449
|
function We(t = "", e = !1) {
|
|
5450
5450
|
return e ? (J(), De(di, null, t)) : we(di, null, t);
|
|
5451
5451
|
}
|
|
5452
|
-
function
|
|
5452
|
+
function Qo(t) {
|
|
5453
5453
|
return t == null || typeof t == "boolean" ? we(di) : ze(t) ? we(
|
|
5454
5454
|
Ye,
|
|
5455
5455
|
null,
|
|
@@ -5458,7 +5458,7 @@ Component that was made reactive: `,
|
|
|
5458
5458
|
) : typeof t == "object" ? Sl(t) : we(r1, null, String(t));
|
|
5459
5459
|
}
|
|
5460
5460
|
function Sl(t) {
|
|
5461
|
-
return t.el === null && t.patchFlag !== -1 || t.memo ? t :
|
|
5461
|
+
return t.el === null && t.patchFlag !== -1 || t.memo ? t : Vo(t);
|
|
5462
5462
|
}
|
|
5463
5463
|
function v_(t, e) {
|
|
5464
5464
|
let r = 0;
|
|
@@ -6559,7 +6559,7 @@ Component that was made reactive: `,
|
|
|
6559
6559
|
const n = Zs(r.key);
|
|
6560
6560
|
if (e.some((i) => i === n || fne[i] === n))
|
|
6561
6561
|
return t(r);
|
|
6562
|
-
},
|
|
6562
|
+
}, Mo = {
|
|
6563
6563
|
beforeMount(t, { value: e }, { transition: r }) {
|
|
6564
6564
|
t._vod = t.style.display === "none" ? "" : t.style.display, r && e ? r.beforeEnter(t) : tf(t, e);
|
|
6565
6565
|
},
|
|
@@ -6666,7 +6666,7 @@ Component that was made reactive: `,
|
|
|
6666
6666
|
function Um(t) {
|
|
6667
6667
|
return t.toLowerCase();
|
|
6668
6668
|
}
|
|
6669
|
-
class
|
|
6669
|
+
class Oo {
|
|
6670
6670
|
/**
|
|
6671
6671
|
* @constructor
|
|
6672
6672
|
* @param {string} property
|
|
@@ -6676,16 +6676,16 @@ Component that was made reactive: `,
|
|
|
6676
6676
|
this.property = e, this.attribute = r;
|
|
6677
6677
|
}
|
|
6678
6678
|
}
|
|
6679
|
-
|
|
6680
|
-
|
|
6681
|
-
|
|
6682
|
-
|
|
6683
|
-
|
|
6684
|
-
|
|
6685
|
-
|
|
6686
|
-
|
|
6687
|
-
|
|
6688
|
-
|
|
6679
|
+
Oo.prototype.space = null;
|
|
6680
|
+
Oo.prototype.boolean = !1;
|
|
6681
|
+
Oo.prototype.booleanish = !1;
|
|
6682
|
+
Oo.prototype.overloadedBoolean = !1;
|
|
6683
|
+
Oo.prototype.number = !1;
|
|
6684
|
+
Oo.prototype.commaSeparated = !1;
|
|
6685
|
+
Oo.prototype.spaceSeparated = !1;
|
|
6686
|
+
Oo.prototype.commaOrSpaceSeparated = !1;
|
|
6687
|
+
Oo.prototype.mustUseProperty = !1;
|
|
6688
|
+
Oo.prototype.defined = !1;
|
|
6689
6689
|
let wne = 0;
|
|
6690
6690
|
const kt = rd(), Yr = rd(), aV = rd(), qe = rd(), dr = rd(), lp = rd(), Ai = rd();
|
|
6691
6691
|
function rd() {
|
|
@@ -6701,7 +6701,7 @@ Component that was made reactive: `,
|
|
|
6701
6701
|
overloadedBoolean: aV,
|
|
6702
6702
|
spaceSeparated: dr
|
|
6703
6703
|
}, Symbol.toStringTag, { value: "Module" })), D5 = Object.keys(ex);
|
|
6704
|
-
class k_ extends
|
|
6704
|
+
class k_ extends Oo {
|
|
6705
6705
|
/**
|
|
6706
6706
|
* @constructor
|
|
6707
6707
|
* @param {string} property
|
|
@@ -7743,7 +7743,7 @@ Component that was made reactive: `,
|
|
|
7743
7743
|
}), _ne = /^data[-\w.:]+$/i, MQ = /-[a-z]/g, $ne = /[A-Z]/g;
|
|
7744
7744
|
function hV(t, e) {
|
|
7745
7745
|
const r = Um(e);
|
|
7746
|
-
let n = e, i =
|
|
7746
|
+
let n = e, i = Oo;
|
|
7747
7747
|
if (r in t.normal)
|
|
7748
7748
|
return t.property[t.normal[r]];
|
|
7749
7749
|
if (r.length > 4 && r.slice(0, 4) === "data" && _ne.test(e)) {
|
|
@@ -7942,7 +7942,7 @@ Component that was made reactive: `,
|
|
|
7942
7942
|
"solidColor",
|
|
7943
7943
|
"textArea",
|
|
7944
7944
|
"textPath"
|
|
7945
|
-
],
|
|
7945
|
+
], yo = mV(fV, "div");
|
|
7946
7946
|
mV(__, "g", Zne);
|
|
7947
7947
|
const Une = {};
|
|
7948
7948
|
function Vne(t) {
|
|
@@ -7955,32 +7955,32 @@ Component that was made reactive: `,
|
|
|
7955
7955
|
]), function(d, p) {
|
|
7956
7956
|
var v, w;
|
|
7957
7957
|
const h = ((v = p.data.meta) == null ? void 0 : v.title) || ((w = p.data.matter) == null ? void 0 : w.title) || u || p.stem, f = d.type === "root" ? [...d.children] : [d], O = [{ type: "text", value: `
|
|
7958
|
-
` },
|
|
7958
|
+
` }, yo("meta", { charSet: "utf-8" })];
|
|
7959
7959
|
let g = -1;
|
|
7960
7960
|
for (f.length > 0 && f.unshift({ type: "text", value: `
|
|
7961
7961
|
` }), h && O.push({ type: "text", value: `
|
|
7962
|
-
` },
|
|
7962
|
+
` }, yo("title", h)); ++g < s.length; )
|
|
7963
7963
|
O.push({ type: "text", value: `
|
|
7964
|
-
` },
|
|
7964
|
+
` }, yo("meta", s[g]));
|
|
7965
7965
|
for (g = -1; ++g < a.length; )
|
|
7966
7966
|
O.push({ type: "text", value: `
|
|
7967
|
-
` },
|
|
7967
|
+
` }, yo("link", a[g]));
|
|
7968
7968
|
for (g = -1; ++g < c.length; )
|
|
7969
7969
|
O.push({ type: "text", value: `
|
|
7970
|
-
` },
|
|
7970
|
+
` }, yo("style", c[g]));
|
|
7971
7971
|
for (g = -1; ++g < r.length; )
|
|
7972
7972
|
O.push(
|
|
7973
7973
|
{ type: "text", value: `
|
|
7974
7974
|
` },
|
|
7975
|
-
|
|
7975
|
+
yo("link", { href: r[g], rel: "stylesheet" })
|
|
7976
7976
|
);
|
|
7977
7977
|
for (O.push({ type: "text", value: `
|
|
7978
7978
|
` }), g = -1; ++g < l.length; )
|
|
7979
7979
|
f.push({ type: "text", value: `
|
|
7980
|
-
` },
|
|
7980
|
+
` }, yo("script", l[g]));
|
|
7981
7981
|
for (g = -1; ++g < i.length; )
|
|
7982
7982
|
f.push({ type: "text", value: `
|
|
7983
|
-
` },
|
|
7983
|
+
` }, yo("script", { src: i[g] }));
|
|
7984
7984
|
return f.push({ type: "text", value: `
|
|
7985
7985
|
` }), {
|
|
7986
7986
|
type: "root",
|
|
@@ -7988,13 +7988,13 @@ Component that was made reactive: `,
|
|
|
7988
7988
|
{ type: "doctype" },
|
|
7989
7989
|
{ type: "text", value: `
|
|
7990
7990
|
` },
|
|
7991
|
-
|
|
7991
|
+
yo("html", { dir: n, lang: o }, [
|
|
7992
7992
|
{ type: "text", value: `
|
|
7993
7993
|
` },
|
|
7994
|
-
|
|
7994
|
+
yo("head", O),
|
|
7995
7995
|
{ type: "text", value: `
|
|
7996
7996
|
` },
|
|
7997
|
-
|
|
7997
|
+
yo("body", f),
|
|
7998
7998
|
{ type: "text", value: `
|
|
7999
7999
|
` }
|
|
8000
8000
|
]),
|
|
@@ -10196,7 +10196,7 @@ Component that was made reactive: `,
|
|
|
10196
10196
|
const r = t.input.charCodeAt(t.index - 1);
|
|
10197
10197
|
return (t.index === 0 || Xu(r) || Iv(r)) && (!e || r !== 47);
|
|
10198
10198
|
}
|
|
10199
|
-
function
|
|
10199
|
+
function Ao(t) {
|
|
10200
10200
|
return t.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
|
|
10201
10201
|
}
|
|
10202
10202
|
MV.peek = iae;
|
|
@@ -10234,7 +10234,7 @@ Component that was made reactive: `,
|
|
|
10234
10234
|
}
|
|
10235
10235
|
function Koe(t) {
|
|
10236
10236
|
const e = this.resume(), r = this.stack[this.stack.length - 1];
|
|
10237
|
-
r.type, r.label = e, r.identifier =
|
|
10237
|
+
r.type, r.label = e, r.identifier = Ao(
|
|
10238
10238
|
this.sliceSerialize(t)
|
|
10239
10239
|
).toLowerCase();
|
|
10240
10240
|
}
|
|
@@ -10249,7 +10249,7 @@ Component that was made reactive: `,
|
|
|
10249
10249
|
}
|
|
10250
10250
|
function rae(t) {
|
|
10251
10251
|
const e = this.resume(), r = this.stack[this.stack.length - 1];
|
|
10252
|
-
r.type, r.label = e, r.identifier =
|
|
10252
|
+
r.type, r.label = e, r.identifier = Ao(
|
|
10253
10253
|
this.sliceSerialize(t)
|
|
10254
10254
|
).toLowerCase();
|
|
10255
10255
|
}
|
|
@@ -12071,7 +12071,7 @@ Component that was made reactive: `,
|
|
|
12071
12071
|
)(h);
|
|
12072
12072
|
}
|
|
12073
12073
|
function s(h) {
|
|
12074
|
-
return i =
|
|
12074
|
+
return i = Ao(
|
|
12075
12075
|
n.sliceSerialize(n.events[n.events.length - 1][1]).slice(1, -1)
|
|
12076
12076
|
), h === 58 ? (t.enter("definitionMarker"), t.consume(h), t.exit("definitionMarker"), l) : r(h);
|
|
12077
12077
|
}
|
|
@@ -12567,7 +12567,7 @@ Component that was made reactive: `,
|
|
|
12567
12567
|
return s;
|
|
12568
12568
|
function s(p) {
|
|
12569
12569
|
return o ? o._inactive ? d(p) : (a = n.parser.defined.includes(
|
|
12570
|
-
|
|
12570
|
+
Ao(
|
|
12571
12571
|
n.sliceSerialize({
|
|
12572
12572
|
start: o.end,
|
|
12573
12573
|
end: n.now()
|
|
@@ -12660,7 +12660,7 @@ Component that was made reactive: `,
|
|
|
12660
12660
|
}
|
|
12661
12661
|
function o(s) {
|
|
12662
12662
|
return n.parser.defined.includes(
|
|
12663
|
-
|
|
12663
|
+
Ao(
|
|
12664
12664
|
n.sliceSerialize(n.events[n.events.length - 1][1]).slice(1, -1)
|
|
12665
12665
|
)
|
|
12666
12666
|
) ? e(s) : r(s);
|
|
@@ -12939,7 +12939,7 @@ Component that was made reactive: `,
|
|
|
12939
12939
|
function s(l) {
|
|
12940
12940
|
if (!a || !a._balanced)
|
|
12941
12941
|
return r(l);
|
|
12942
|
-
const c =
|
|
12942
|
+
const c = Ao(
|
|
12943
12943
|
n.sliceSerialize({
|
|
12944
12944
|
start: a.end,
|
|
12945
12945
|
end: n.now()
|
|
@@ -13020,7 +13020,7 @@ Component that was made reactive: `,
|
|
|
13020
13020
|
if (d === 93) {
|
|
13021
13021
|
t.exit("chunkString");
|
|
13022
13022
|
const p = t.exit("gfmFootnoteCallString");
|
|
13023
|
-
return i.includes(
|
|
13023
|
+
return i.includes(Ao(n.sliceSerialize(p))) ? (t.enter("gfmFootnoteCallLabelMarker"), t.consume(d), t.exit("gfmFootnoteCallLabelMarker"), t.exit("gfmFootnoteCall"), e) : r(d);
|
|
13024
13024
|
}
|
|
13025
13025
|
return cr(d) || (a = !0), o++, t.consume(d), d === 92 ? u : c;
|
|
13026
13026
|
}
|
|
@@ -13050,7 +13050,7 @@ Component that was made reactive: `,
|
|
|
13050
13050
|
if (f === 93) {
|
|
13051
13051
|
t.exit("chunkString");
|
|
13052
13052
|
const O = t.exit("gfmFootnoteDefinitionLabelString");
|
|
13053
|
-
return o =
|
|
13053
|
+
return o = Ao(n.sliceSerialize(O)), t.enter("gfmFootnoteDefinitionLabelMarker"), t.consume(f), t.exit("gfmFootnoteDefinitionLabelMarker"), t.exit("gfmFootnoteDefinitionLabel"), p;
|
|
13054
13054
|
}
|
|
13055
13055
|
return cr(f) || (s = !0), a++, t.consume(f), f === 92 ? d : u;
|
|
13056
13056
|
}
|
|
@@ -14438,7 +14438,7 @@ Component that was made reactive: `,
|
|
|
14438
14438
|
}
|
|
14439
14439
|
function w(oe) {
|
|
14440
14440
|
const Oe = this.resume(), b = this.stack[this.stack.length - 1];
|
|
14441
|
-
b.label = Oe, b.identifier =
|
|
14441
|
+
b.label = Oe, b.identifier = Ao(
|
|
14442
14442
|
this.sliceSerialize(oe)
|
|
14443
14443
|
).toLowerCase();
|
|
14444
14444
|
}
|
|
@@ -14524,7 +14524,7 @@ Component that was made reactive: `,
|
|
|
14524
14524
|
}
|
|
14525
14525
|
function Se(oe) {
|
|
14526
14526
|
const Oe = this.sliceSerialize(oe), b = this.stack[this.stack.length - 2];
|
|
14527
|
-
b.label = Hae(Oe), b.identifier =
|
|
14527
|
+
b.label = Hae(Oe), b.identifier = Ao(Oe).toLowerCase();
|
|
14528
14528
|
}
|
|
14529
14529
|
function Ae() {
|
|
14530
14530
|
const oe = this.stack[this.stack.length - 1], Oe = this.resume(), b = this.stack[this.stack.length - 1];
|
|
@@ -14550,7 +14550,7 @@ Component that was made reactive: `,
|
|
|
14550
14550
|
}
|
|
14551
14551
|
function Q(oe) {
|
|
14552
14552
|
const Oe = this.resume(), b = this.stack[this.stack.length - 1];
|
|
14553
|
-
b.label = Oe, b.identifier =
|
|
14553
|
+
b.label = Oe, b.identifier = Ao(
|
|
14554
14554
|
this.sliceSerialize(oe)
|
|
14555
14555
|
).toLowerCase(), this.data.referenceType = "full";
|
|
14556
14556
|
}
|
|
@@ -16989,7 +16989,7 @@ Component that was made reactive: `,
|
|
|
16989
16989
|
`), "", "You can apply a few solutions:", ['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".', "Render a single element as the child so that we can forward the props onto that element."].map((O) => ` - ${O}`).join(`
|
|
16990
16990
|
`)].join(`
|
|
16991
16991
|
`));
|
|
16992
|
-
let h = $M((a = d.props) != null ? a : {}, l), f =
|
|
16992
|
+
let h = $M((a = d.props) != null ? a : {}, l), f = Vo(d, h);
|
|
16993
16993
|
for (let O in h)
|
|
16994
16994
|
O.startsWith("on") && (f.props || (f.props = {}), f.props[O] = h[O]);
|
|
16995
16995
|
return f;
|
|
@@ -20010,7 +20010,7 @@ Component that was made reactive: `,
|
|
|
20010
20010
|
(function(t) {
|
|
20011
20011
|
t[t.ExcludeBuffers = 1] = "ExcludeBuffers", t[t.IncludeAnonymous = 2] = "IncludeAnonymous", t[t.IgnoreMounts = 4] = "IgnoreMounts", t[t.IgnoreOverlays = 8] = "IgnoreOverlays";
|
|
20012
20012
|
})(ar || (ar = {}));
|
|
20013
|
-
class
|
|
20013
|
+
class zt {
|
|
20014
20014
|
/**
|
|
20015
20015
|
Construct a new tree. See also [`Tree.build`](#common.Tree^build).
|
|
20016
20016
|
*/
|
|
@@ -20143,7 +20143,7 @@ Component that was made reactive: `,
|
|
|
20143
20143
|
[`NodeType.none`](#common.NodeType^none).
|
|
20144
20144
|
*/
|
|
20145
20145
|
balance(e = {}) {
|
|
20146
|
-
return this.children.length <= 8 ? this : a$(Ln.none, this.children, this.positions, 0, this.children.length, 0, this.length, (r, n, i) => new
|
|
20146
|
+
return this.children.length <= 8 ? this : a$(Ln.none, this.children, this.positions, 0, this.children.length, 0, this.length, (r, n, i) => new zt(this.type, r, n, i, this.propValues), e.makeTree || ((r, n, i) => new zt(Ln.none, r, n, i)));
|
|
20147
20147
|
}
|
|
20148
20148
|
/**
|
|
20149
20149
|
Build a tree from a postfix-ordered buffer of node information,
|
|
@@ -20153,7 +20153,7 @@ Component that was made reactive: `,
|
|
|
20153
20153
|
return Ohe(e);
|
|
20154
20154
|
}
|
|
20155
20155
|
}
|
|
20156
|
-
|
|
20156
|
+
zt.empty = new zt(Ln.none, [], [], 0);
|
|
20157
20157
|
class i$ {
|
|
20158
20158
|
constructor(e, r) {
|
|
20159
20159
|
this.buffer = e, this.index = r;
|
|
@@ -20554,7 +20554,7 @@ Component that was made reactive: `,
|
|
|
20554
20554
|
let a = n.buffer[this.index + 1];
|
|
20555
20555
|
e.push(n.slice(i, o, a)), r.push(0);
|
|
20556
20556
|
}
|
|
20557
|
-
return new
|
|
20557
|
+
return new zt(this.type, e, r, this.to - this.from);
|
|
20558
20558
|
}
|
|
20559
20559
|
/**
|
|
20560
20560
|
@internal
|
|
@@ -20937,7 +20937,7 @@ Component that was made reactive: `,
|
|
|
20937
20937
|
function p(x) {
|
|
20938
20938
|
return (P, k, A) => {
|
|
20939
20939
|
let M = 0, L = P.length - 1, T, W;
|
|
20940
|
-
if (L >= 0 && (T = P[L]) instanceof
|
|
20940
|
+
if (L >= 0 && (T = P[L]) instanceof zt) {
|
|
20941
20941
|
if (!L && T.type == x && T.length == A)
|
|
20942
20942
|
return T;
|
|
20943
20943
|
(W = T.prop(Nt.lookAhead)) && (M = k[L] + T.length + W);
|
|
@@ -20960,7 +20960,7 @@ Component that was made reactive: `,
|
|
|
20960
20960
|
let T = [Nt.lookAhead, M];
|
|
20961
20961
|
L = L ? [T].concat(L) : [T];
|
|
20962
20962
|
}
|
|
20963
|
-
return new
|
|
20963
|
+
return new zt(x, P, k, A, L);
|
|
20964
20964
|
}
|
|
20965
20965
|
function O(x, P) {
|
|
20966
20966
|
let k = s.fork(), A = 0, M = 0, L = 0, T = k.end - i, W = { size: 0, start: 0, skip: 0 };
|
|
@@ -21007,7 +21007,7 @@ Component that was made reactive: `,
|
|
|
21007
21007
|
for (; s.pos > 0; )
|
|
21008
21008
|
d(t.start || 0, t.bufferStart || 0, v, w, -1);
|
|
21009
21009
|
let S = (e = t.length) !== null && e !== void 0 ? e : v.length ? w[0] + v[0].length : 0;
|
|
21010
|
-
return new
|
|
21010
|
+
return new zt(l[t.topID], v.reverse(), w.reverse(), S);
|
|
21011
21011
|
}
|
|
21012
21012
|
const W9 = /* @__PURE__ */ new WeakMap();
|
|
21013
21013
|
function _g(t, e) {
|
|
@@ -21017,7 +21017,7 @@ Component that was made reactive: `,
|
|
|
21017
21017
|
if (r == null) {
|
|
21018
21018
|
r = 1;
|
|
21019
21019
|
for (let n of e.children) {
|
|
21020
|
-
if (n.type != t || !(n instanceof
|
|
21020
|
+
if (n.type != t || !(n instanceof zt)) {
|
|
21021
21021
|
r = 1;
|
|
21022
21022
|
break;
|
|
21023
21023
|
}
|
|
@@ -21240,7 +21240,7 @@ Component that was made reactive: `,
|
|
|
21240
21240
|
}
|
|
21241
21241
|
if (this.innerDone == this.inner.length) {
|
|
21242
21242
|
let n = this.baseTree;
|
|
21243
|
-
return this.stoppedAt != null && (n = new
|
|
21243
|
+
return this.stoppedAt != null && (n = new zt(n.type, n.children, n.positions, n.length, n.propValues.concat([[Px, this.stoppedAt]]))), n;
|
|
21244
21244
|
}
|
|
21245
21245
|
let e = this.inner[this.innerDone], r = e.parse.advance();
|
|
21246
21246
|
if (r) {
|
|
@@ -21339,7 +21339,7 @@ Component that was made reactive: `,
|
|
|
21339
21339
|
let O = [], g = [];
|
|
21340
21340
|
z9(a, c, f, O, g, p);
|
|
21341
21341
|
let v = s[f + 1], w = s[f + 2], S = v + o == e.from && w + o == e.to && s[f] == e.type.id;
|
|
21342
|
-
return O.push(S ? e.toTree() : l(f + 4, s[f + 3], a.set.types[s[f]], v, w - v)), g.push(v - p), z9(a, s[f + 3], u, O, g, p), new
|
|
21342
|
+
return O.push(S ? e.toTree() : l(f + 4, s[f + 3], a.set.types[s[f]], v, w - v)), g.push(v - p), z9(a, s[f + 3], u, O, g, p), new zt(d, O, g, h);
|
|
21343
21343
|
}
|
|
21344
21344
|
i.children[n] = l(0, s.length, Ln.none, 0, a.length);
|
|
21345
21345
|
for (let c = 0; c <= r; c++)
|
|
@@ -21360,7 +21360,7 @@ Component that was made reactive: `,
|
|
|
21360
21360
|
for (let r = this.cursor.tree; ; ) {
|
|
21361
21361
|
if (r == e.tree)
|
|
21362
21362
|
return !0;
|
|
21363
|
-
if (r.children.length && r.positions[0] == 0 && r.children[0] instanceof
|
|
21363
|
+
if (r.children.length && r.positions[0] == 0 && r.children[0] instanceof zt)
|
|
21364
21364
|
r = r.children[0];
|
|
21365
21365
|
else
|
|
21366
21366
|
break;
|
|
@@ -22178,7 +22178,7 @@ Component that was made reactive: `,
|
|
|
22178
22178
|
let o = n.children[i], a = this.start[r] + n.positions[i];
|
|
22179
22179
|
if (a > e)
|
|
22180
22180
|
return this.nextStart = a, null;
|
|
22181
|
-
if (o instanceof
|
|
22181
|
+
if (o instanceof zt) {
|
|
22182
22182
|
if (a == e) {
|
|
22183
22183
|
if (a < this.safeFrom)
|
|
22184
22184
|
return null;
|
|
@@ -22370,10 +22370,10 @@ Component that was made reactive: `,
|
|
|
22370
22370
|
let d = this.parser.nodeSet.types[u.type.id] == u.type ? i.getGoto(t.state, u.type.id) : -1;
|
|
22371
22371
|
if (d > -1 && u.length && (!l || (u.prop(Nt.contextHash) || 0) == c))
|
|
22372
22372
|
return t.useNode(u, d), Ti && console.log(o + this.stackID(t) + ` (via reuse of ${i.getName(u.type.id)})`), !0;
|
|
22373
|
-
if (!(u instanceof
|
|
22373
|
+
if (!(u instanceof zt) || u.children.length == 0 || u.positions[0] > 0)
|
|
22374
22374
|
break;
|
|
22375
22375
|
let p = u.children[0];
|
|
22376
|
-
if (p instanceof
|
|
22376
|
+
if (p instanceof zt && u.positions[0] == 0)
|
|
22377
22377
|
u = p;
|
|
22378
22378
|
else
|
|
22379
22379
|
break;
|
|
@@ -22433,7 +22433,7 @@ Component that was made reactive: `,
|
|
|
22433
22433
|
}
|
|
22434
22434
|
// Convert the stack's buffer to a syntax tree.
|
|
22435
22435
|
stackToTree(t) {
|
|
22436
|
-
return t.close(),
|
|
22436
|
+
return t.close(), zt.build({
|
|
22437
22437
|
buffer: Y2.create(t),
|
|
22438
22438
|
nodeSet: this.parser.nodeSet,
|
|
22439
22439
|
topID: this.topTerm,
|
|
@@ -23775,7 +23775,7 @@ Component that was made reactive: `,
|
|
|
23775
23775
|
specialized: [{ term: 97, get: (t) => Ufe[t] || -1 }, { term: 56, get: (t) => Vfe[t] || -1 }, { term: 98, get: (t) => Mfe[t] || -1 }],
|
|
23776
23776
|
tokenPrec: 1169
|
|
23777
23777
|
});
|
|
23778
|
-
class
|
|
23778
|
+
class Wt {
|
|
23779
23779
|
/**
|
|
23780
23780
|
Get the line description around the given position.
|
|
23781
23781
|
*/
|
|
@@ -23905,10 +23905,10 @@ Component that was made reactive: `,
|
|
|
23905
23905
|
static of(e) {
|
|
23906
23906
|
if (e.length == 0)
|
|
23907
23907
|
throw new RangeError("A document must have at least one line");
|
|
23908
|
-
return e.length == 1 && !e[0] ?
|
|
23908
|
+
return e.length == 1 && !e[0] ? Wt.empty : e.length <= 32 ? new Xr(e) : _a.from(Xr.split(e, []));
|
|
23909
23909
|
}
|
|
23910
23910
|
}
|
|
23911
|
-
class Xr extends
|
|
23911
|
+
class Xr extends Wt {
|
|
23912
23912
|
constructor(e, r = Dfe(e)) {
|
|
23913
23913
|
super(), this.text = e, this.length = r;
|
|
23914
23914
|
}
|
|
@@ -23968,7 +23968,7 @@ Component that was made reactive: `,
|
|
|
23968
23968
|
return i > -1 && r.push(new Xr(n, i)), r;
|
|
23969
23969
|
}
|
|
23970
23970
|
}
|
|
23971
|
-
class _a extends
|
|
23971
|
+
class _a extends Wt {
|
|
23972
23972
|
constructor(e, r) {
|
|
23973
23973
|
super(), this.children = e, this.length = r, this.lines = 0;
|
|
23974
23974
|
for (let n of e)
|
|
@@ -24065,7 +24065,7 @@ Component that was made reactive: `,
|
|
|
24065
24065
|
return p(), s.length == 1 ? s[0] : new _a(s, r);
|
|
24066
24066
|
}
|
|
24067
24067
|
}
|
|
24068
|
-
|
|
24068
|
+
Wt.empty = /* @__PURE__ */ new Xr([""], 0);
|
|
24069
24069
|
function Dfe(t) {
|
|
24070
24070
|
let e = -1;
|
|
24071
24071
|
for (let r of t)
|
|
@@ -24145,7 +24145,7 @@ Component that was made reactive: `,
|
|
|
24145
24145
|
return !1;
|
|
24146
24146
|
}
|
|
24147
24147
|
}
|
|
24148
|
-
typeof Symbol < "u" && (
|
|
24148
|
+
typeof Symbol < "u" && (Wt.prototype[Symbol.iterator] = function() {
|
|
24149
24149
|
return this.iter();
|
|
24150
24150
|
}, cm.prototype[Symbol.iterator] = $I.prototype[Symbol.iterator] = PI.prototype[Symbol.iterator] = function() {
|
|
24151
24151
|
return this;
|
|
@@ -24420,8 +24420,8 @@ Component that was made reactive: `,
|
|
|
24420
24420
|
r[i] = s, r[i + 1] = a;
|
|
24421
24421
|
let l = i >> 1;
|
|
24422
24422
|
for (; n.length < l; )
|
|
24423
|
-
n.push(
|
|
24424
|
-
n.push(a ? e.slice(o, o + a) :
|
|
24423
|
+
n.push(Wt.empty);
|
|
24424
|
+
n.push(a ? e.slice(o, o + a) : Wt.empty);
|
|
24425
24425
|
}
|
|
24426
24426
|
o += a;
|
|
24427
24427
|
}
|
|
@@ -24536,7 +24536,7 @@ Component that was made reactive: `,
|
|
|
24536
24536
|
let { from: d, to: p = d, insert: h } = u;
|
|
24537
24537
|
if (d > p || d < 0 || p > r)
|
|
24538
24538
|
throw new RangeError(`Invalid change range ${d} to ${p} (in doc of length ${r})`);
|
|
24539
|
-
let f = h ? typeof h == "string" ?
|
|
24539
|
+
let f = h ? typeof h == "string" ? Wt.of(h.split(n || Rx)) : h : Wt.empty, O = f.length;
|
|
24540
24540
|
if (d == p && O == 0)
|
|
24541
24541
|
return;
|
|
24542
24542
|
d < a && l(), d > a && An(i, d - a, -1), An(i, p - d, O), ql(o, i, f), a = p;
|
|
@@ -24569,8 +24569,8 @@ Component that was made reactive: `,
|
|
|
24569
24569
|
r.push(o[0], 0);
|
|
24570
24570
|
else {
|
|
24571
24571
|
for (; n.length < i; )
|
|
24572
|
-
n.push(
|
|
24573
|
-
n[i] =
|
|
24572
|
+
n.push(Wt.empty);
|
|
24573
|
+
n[i] = Wt.of(o.slice(1)), r.push(o[0], n[i].length);
|
|
24574
24574
|
}
|
|
24575
24575
|
}
|
|
24576
24576
|
}
|
|
@@ -24597,7 +24597,7 @@ Component that was made reactive: `,
|
|
|
24597
24597
|
t[t.length - 1] = t[t.length - 1].append(r);
|
|
24598
24598
|
else {
|
|
24599
24599
|
for (; t.length < n; )
|
|
24600
|
-
t.push(
|
|
24600
|
+
t.push(Wt.empty);
|
|
24601
24601
|
t.push(r);
|
|
24602
24602
|
}
|
|
24603
24603
|
}
|
|
@@ -24608,7 +24608,7 @@ Component that was made reactive: `,
|
|
|
24608
24608
|
if (l < 0)
|
|
24609
24609
|
i += s, o += s;
|
|
24610
24610
|
else {
|
|
24611
|
-
let c = i, u = o, d =
|
|
24611
|
+
let c = i, u = o, d = Wt.empty;
|
|
24612
24612
|
for (; c += s, u += l, l && n && (d = d.append(n[a - 2 >> 1])), !(r || a == t.sections.length || t.sections[a + 1] < 0); )
|
|
24613
24613
|
s = t.sections[a++], l = t.sections[a++];
|
|
24614
24614
|
e(i, c, o, u, d), i = c, o = u;
|
|
@@ -24685,11 +24685,11 @@ Component that was made reactive: `,
|
|
|
24685
24685
|
}
|
|
24686
24686
|
get text() {
|
|
24687
24687
|
let { inserted: e } = this.set, r = this.i - 2 >> 1;
|
|
24688
|
-
return r >= e.length ?
|
|
24688
|
+
return r >= e.length ? Wt.empty : e[r];
|
|
24689
24689
|
}
|
|
24690
24690
|
textBit(e) {
|
|
24691
24691
|
let { inserted: r } = this.set, n = this.i - 2 >> 1;
|
|
24692
|
-
return n >= r.length && !e ?
|
|
24692
|
+
return n >= r.length && !e ? Wt.empty : r[n].slice(this.off, e == null ? void 0 : this.off + e);
|
|
24693
24693
|
}
|
|
24694
24694
|
forward(e) {
|
|
24695
24695
|
e == this.len ? this.next() : (this.len -= e, this.off += e);
|
|
@@ -25627,7 +25627,7 @@ Component that was made reactive: `,
|
|
|
25627
25627
|
[`Text`](https://codemirror.net/6/docs/ref/#state.Text) instance from the given string.
|
|
25628
25628
|
*/
|
|
25629
25629
|
toText(e) {
|
|
25630
|
-
return
|
|
25630
|
+
return Wt.of(e.split(this.facet(Gt.lineSeparator) || Rx));
|
|
25631
25631
|
}
|
|
25632
25632
|
/**
|
|
25633
25633
|
Return the given range of the document as a string.
|
|
@@ -25689,7 +25689,7 @@ Component that was made reactive: `,
|
|
|
25689
25689
|
transactions.
|
|
25690
25690
|
*/
|
|
25691
25691
|
static create(e = {}) {
|
|
25692
|
-
let r = H2.resolve(e.extensions || [], /* @__PURE__ */ new Map()), n = e.doc instanceof
|
|
25692
|
+
let r = H2.resolve(e.extensions || [], /* @__PURE__ */ new Map()), n = e.doc instanceof Wt ? e.doc : Wt.of((e.doc || "").split(r.staticFacet(Gt.lineSeparator) || Rx)), i = e.selection ? e.selection instanceof Ge ? e.selection : Ge.single(e.selection.anchor, e.selection.head) : Ge.single(0);
|
|
25693
25693
|
return RI(i, n.length), r.staticFacet(XI) || (i = i.asSingle()), new Gt(r, n, i, r.dynamicSlots.map(() => null), (o, a) => a.create(o), null);
|
|
25694
25694
|
}
|
|
25695
25695
|
/**
|
|
@@ -27169,12 +27169,12 @@ Component that was made reactive: `,
|
|
|
27169
27169
|
}
|
|
27170
27170
|
get overrideDOMText() {
|
|
27171
27171
|
if (this.length == 0)
|
|
27172
|
-
return
|
|
27172
|
+
return Wt.empty;
|
|
27173
27173
|
let e = this;
|
|
27174
27174
|
for (; e.parent; )
|
|
27175
27175
|
e = e.parent;
|
|
27176
27176
|
let { view: r } = e, n = r && r.state.doc, i = this.posAtStart;
|
|
27177
|
-
return n ? n.slice(i, i + this.length) :
|
|
27177
|
+
return n ? n.slice(i, i + this.length) : Wt.empty;
|
|
27178
27178
|
}
|
|
27179
27179
|
domAtPos(e) {
|
|
27180
27180
|
return (this.length ? e == 0 : this.side > 0) ? jn.before(this.dom) : jn.after(this.dom, e == this.length);
|
|
@@ -27245,7 +27245,7 @@ Component that was made reactive: `,
|
|
|
27245
27245
|
return this.dom.getBoundingClientRect();
|
|
27246
27246
|
}
|
|
27247
27247
|
get overrideDOMText() {
|
|
27248
|
-
return
|
|
27248
|
+
return Wt.empty;
|
|
27249
27249
|
}
|
|
27250
27250
|
get isHidden() {
|
|
27251
27251
|
return !0;
|
|
@@ -27463,7 +27463,7 @@ Component that was made reactive: `,
|
|
|
27463
27463
|
(!this.dom || !this.widget.updateDOM(this.dom, e)) && (this.dom && this.prevWidget && this.prevWidget.destroy(this.dom), this.prevWidget = null, this.setDOM(this.widget.toDOM(e)), this.dom.contentEditable = "false");
|
|
27464
27464
|
}
|
|
27465
27465
|
get overrideDOMText() {
|
|
27466
|
-
return this.parent ? this.parent.view.state.doc.slice(this.posAtStart, this.posAtEnd) :
|
|
27466
|
+
return this.parent ? this.parent.view.state.doc.slice(this.posAtStart, this.posAtEnd) : Wt.empty;
|
|
27467
27467
|
}
|
|
27468
27468
|
domBoundsAround() {
|
|
27469
27469
|
return null;
|
|
@@ -27572,9 +27572,9 @@ Component that was made reactive: `,
|
|
|
27572
27572
|
destroy(e) {
|
|
27573
27573
|
}
|
|
27574
27574
|
}
|
|
27575
|
-
var
|
|
27575
|
+
var qo = /* @__PURE__ */ function(t) {
|
|
27576
27576
|
return t[t.Text = 0] = "Text", t[t.WidgetBefore = 1] = "WidgetBefore", t[t.WidgetAfter = 2] = "WidgetAfter", t[t.WidgetRange = 3] = "WidgetRange", t;
|
|
27577
|
-
}(
|
|
27577
|
+
}(qo || (qo = {}));
|
|
27578
27578
|
class On extends Zu {
|
|
27579
27579
|
constructor(e, r, n, i) {
|
|
27580
27580
|
super(), this.startSide = e, this.endSide = r, this.widget = n, this.spec = i;
|
|
@@ -27679,7 +27679,7 @@ Component that was made reactive: `,
|
|
|
27679
27679
|
}
|
|
27680
27680
|
// Only relevant when this.block == true
|
|
27681
27681
|
get type() {
|
|
27682
|
-
return this.startSide != this.endSide ?
|
|
27682
|
+
return this.startSide != this.endSide ? qo.WidgetRange : this.startSide <= 0 ? qo.WidgetBefore : qo.WidgetAfter;
|
|
27683
27683
|
}
|
|
27684
27684
|
get heightRelevant() {
|
|
27685
27685
|
return this.block || !!this.widget && (this.widget.estimatedHeight >= 5 || this.widget.lineBreaks > 0);
|
|
@@ -28801,7 +28801,7 @@ Component that was made reactive: `,
|
|
|
28801
28801
|
return 0;
|
|
28802
28802
|
if (p > c)
|
|
28803
28803
|
return t.state.doc.length;
|
|
28804
|
-
for (let x = t.viewState.heightOracle.textHeight / 2, P = !1; l = t.elementAtHeight(p), l.type !=
|
|
28804
|
+
for (let x = t.viewState.heightOracle.textHeight / 2, P = !1; l = t.elementAtHeight(p), l.type != qo.Text; )
|
|
28805
28805
|
for (; p = n > 0 ? l.bottom + x : l.top - x, !(p >= 0 && p <= c); ) {
|
|
28806
28806
|
if (P)
|
|
28807
28807
|
return r ? null : 0;
|
|
@@ -28876,13 +28876,13 @@ Component that was made reactive: `,
|
|
|
28876
28876
|
let r = t.lineBlockAt(e);
|
|
28877
28877
|
if (Array.isArray(r.type)) {
|
|
28878
28878
|
for (let n of r.type)
|
|
28879
|
-
if (n.to > e || n.to == e && (n.to == r.to || n.type ==
|
|
28879
|
+
if (n.to > e || n.to == e && (n.to == r.to || n.type == qo.Text))
|
|
28880
28880
|
return n;
|
|
28881
28881
|
}
|
|
28882
28882
|
return r;
|
|
28883
28883
|
}
|
|
28884
28884
|
function Lme(t, e, r, n) {
|
|
28885
|
-
let i = Wme(t, e.head), o = !n || i.type !=
|
|
28885
|
+
let i = Wme(t, e.head), o = !n || i.type != qo.Text || !(t.lineWrapping || i.widgetLineBreaks) ? null : t.coordsAtPos(e.assoc < 0 && e.head > i.from ? e.head - 1 : e.head);
|
|
28886
28886
|
if (o) {
|
|
28887
28887
|
let a = t.dom.getBoundingClientRect(), s = t.textDirectionAt(i.from), l = t.posAtCoords({
|
|
28888
28888
|
x: r == (s == In.LTR) ? a.right - 1 : a.left + 1,
|
|
@@ -29427,7 +29427,7 @@ Component that was made reactive: `,
|
|
|
29427
29427
|
const KT = ["pre-wrap", "normal", "pre-line", "break-spaces"];
|
|
29428
29428
|
class p0e {
|
|
29429
29429
|
constructor(e) {
|
|
29430
|
-
this.lineWrapping = e, this.doc =
|
|
29430
|
+
this.lineWrapping = e, this.doc = Wt.empty, this.heightSamples = {}, this.lineHeight = 14, this.charWidth = 7, this.textHeight = 14, this.lineLength = 30, this.heightChanged = !1;
|
|
29431
29431
|
}
|
|
29432
29432
|
heightForGap(e, r) {
|
|
29433
29433
|
let n = this.doc.lineAt(r).number - this.doc.lineAt(e).number + 1;
|
|
@@ -29482,7 +29482,7 @@ Component that was made reactive: `,
|
|
|
29482
29482
|
an array of all the blocks that make up the line.
|
|
29483
29483
|
*/
|
|
29484
29484
|
get type() {
|
|
29485
|
-
return typeof this._content == "number" ?
|
|
29485
|
+
return typeof this._content == "number" ? qo.Text : Array.isArray(this._content) ? this._content : this._content.type;
|
|
29486
29486
|
}
|
|
29487
29487
|
/**
|
|
29488
29488
|
The end of the element as a document position.
|
|
@@ -29942,7 +29942,7 @@ Component that was made reactive: `,
|
|
|
29942
29942
|
constructor(e) {
|
|
29943
29943
|
this.state = e, this.pixelViewport = { left: 0, right: window.innerWidth, top: 0, bottom: 0 }, this.inView = !0, this.paddingTop = 0, this.paddingBottom = 0, this.contentDOMWidth = 0, this.contentDOMHeight = 0, this.editorHeight = 0, this.editorWidth = 0, this.scrollTop = 0, this.scrolledToBottom = !0, this.scaleX = 1, this.scaleY = 1, this.scrollAnchorPos = 0, this.scrollAnchorHeight = -1, this.scaler = tC, this.scrollTarget = null, this.printing = !1, this.mustMeasureContent = !0, this.defaultTextDirection = In.LTR, this.visibleRanges = [], this.mustEnforceCursorAssoc = !1;
|
|
29944
29944
|
let r = e.facet(v$).some((n) => typeof n != "function" && n.class == "cm-lineWrapping");
|
|
29945
|
-
this.heightOracle = new p0e(r), this.stateDeco = e.facet(Bm).filter((n) => typeof n != "function"), this.heightMap = hi.empty().applyChanges(this.stateDeco,
|
|
29945
|
+
this.heightOracle = new p0e(r), this.stateDeco = e.facet(Bm).filter((n) => typeof n != "function"), this.heightMap = hi.empty().applyChanges(this.stateDeco, Wt.empty, this.heightOracle.setDoc(e.doc), [new uo(0, 0, 0, e.doc.length)]), this.viewport = this.getViewport(0, null), this.updateViewportLines(), this.updateForViewport(), this.lineGaps = this.ensureLineGaps([]), this.lineGapDeco = On.set(this.lineGaps.map((n) => n.draw(this, !1))), this.computeVisibleRanges();
|
|
29946
29946
|
}
|
|
29947
29947
|
updateForViewport() {
|
|
29948
29948
|
let e = [this.viewport], { main: r } = this.state.selection;
|
|
@@ -30000,7 +30000,7 @@ Component that was made reactive: `,
|
|
|
30000
30000
|
O > 0 && g > 0 ? u = Math.max(O, g) : O < 0 && g < 0 && (u = Math.min(O, g)), i.heightChanged = !1;
|
|
30001
30001
|
for (let P of this.viewports) {
|
|
30002
30002
|
let k = P.from == this.viewport.from ? x : e.docView.measureVisibleLineHeights(P);
|
|
30003
|
-
this.heightMap = (a ? hi.empty().applyChanges(this.stateDeco,
|
|
30003
|
+
this.heightMap = (a ? hi.empty().applyChanges(this.stateDeco, Wt.empty, this.heightOracle, [new uo(0, 0, 0, e.state.doc.length)]) : this.heightMap).updateHeight(i, 0, a, new h0e(P.from, k));
|
|
30004
30004
|
}
|
|
30005
30005
|
i.heightChanged && (c |= 2);
|
|
30006
30006
|
}
|
|
@@ -30583,7 +30583,7 @@ Component that was made reactive: `,
|
|
|
30583
30583
|
u && (rt.chrome && o == 13 && u.toB == u.from + 2 && e.text.slice(u.from, u.toB) == Nf + Nf && u.toB--, r = {
|
|
30584
30584
|
from: a + u.from,
|
|
30585
30585
|
to: a + u.toA,
|
|
30586
|
-
insert:
|
|
30586
|
+
insert: Wt.of(e.text.slice(u.from, u.toB).split(Nf))
|
|
30587
30587
|
});
|
|
30588
30588
|
} else
|
|
30589
30589
|
n && (!t.hasFocus && t.state.facet(Jv) || n.main.eq(i)) && (n = null);
|
|
@@ -30593,8 +30593,8 @@ Component that was made reactive: `,
|
|
|
30593
30593
|
from: i.from,
|
|
30594
30594
|
to: i.to,
|
|
30595
30595
|
insert: t.state.doc.slice(i.from, r.from).append(r.insert).append(t.state.doc.slice(r.to, i.to))
|
|
30596
|
-
} : (rt.mac || rt.android) && r && r.from == r.to && r.from == i.head - 1 && /^\. ?$/.test(r.insert.toString()) && t.contentDOM.getAttribute("autocorrect") == "off" ? (n && r.insert.length == 2 && (n = Ge.single(n.main.anchor - 1, n.main.head - 1)), r = { from: i.from, to: i.to, insert:
|
|
30597
|
-
` && t.lineWrapping && (n && (n = Ge.single(n.main.anchor - 1, n.main.head - 1)), r = { from: i.from, to: i.to, insert:
|
|
30596
|
+
} : (rt.mac || rt.android) && r && r.from == r.to && r.from == i.head - 1 && /^\. ?$/.test(r.insert.toString()) && t.contentDOM.getAttribute("autocorrect") == "off" ? (n && r.insert.length == 2 && (n = Ge.single(n.main.anchor - 1, n.main.head - 1)), r = { from: i.from, to: i.to, insert: Wt.of([" "]) }) : rt.chrome && r && r.from == r.to && r.from == i.head && r.insert.toString() == `
|
|
30597
|
+
` && t.lineWrapping && (n && (n = Ge.single(n.main.anchor - 1, n.main.head - 1)), r = { from: i.from, to: i.to, insert: Wt.of([" "]) }), r) {
|
|
30598
30598
|
if (rt.ios && t.inputState.flushIOSKey() || rt.android && (r.from == i.from && r.to == i.to && r.insert.length == 1 && r.insert.lines == 2 && Op(t.contentDOM, "Enter", 13) || (r.from == i.from - 1 && r.to == i.to && r.insert.length == 0 || o == 8 && r.insert.length < r.to - r.from && r.to > i.head) && Op(t.contentDOM, "Backspace", 8) || r.from == i.from && r.to == i.to + 1 && r.insert.length == 0 && Op(t.contentDOM, "Delete", 46)))
|
|
30599
30599
|
return !0;
|
|
30600
30600
|
let a = r.insert.toString();
|
|
@@ -31882,7 +31882,7 @@ Component that was made reactive: `,
|
|
|
31882
31882
|
if (n.length && (n = []), Array.isArray(o.type)) {
|
|
31883
31883
|
let a = !0;
|
|
31884
31884
|
for (let s of o.type)
|
|
31885
|
-
if (s.type ==
|
|
31885
|
+
if (s.type == qo.Text && a) {
|
|
31886
31886
|
a4(r, n, s.from);
|
|
31887
31887
|
for (let l of i)
|
|
31888
31888
|
l.line(this.view, s, n);
|
|
@@ -31890,7 +31890,7 @@ Component that was made reactive: `,
|
|
|
31890
31890
|
} else if (s.widget)
|
|
31891
31891
|
for (let l of i)
|
|
31892
31892
|
l.widget(this.view, s);
|
|
31893
|
-
} else if (o.type ==
|
|
31893
|
+
} else if (o.type == qo.Text) {
|
|
31894
31894
|
a4(r, n, o.from);
|
|
31895
31895
|
for (let a of i)
|
|
31896
31896
|
a.line(this.view, o, n);
|
|
@@ -32189,7 +32189,7 @@ Component that was made reactive: `,
|
|
|
32189
32189
|
}
|
|
32190
32190
|
for (let l = 0; l < o.children.length; l++) {
|
|
32191
32191
|
let c = o.children[l];
|
|
32192
|
-
c instanceof
|
|
32192
|
+
c instanceof zt && i(c, o.positions[l] + a);
|
|
32193
32193
|
}
|
|
32194
32194
|
};
|
|
32195
32195
|
return i(Li(e), 0), n;
|
|
@@ -32236,7 +32236,7 @@ Component that was made reactive: `,
|
|
|
32236
32236
|
}
|
|
32237
32237
|
function Li(t) {
|
|
32238
32238
|
let e = t.field(ao.state, !1);
|
|
32239
|
-
return e ? e.tree :
|
|
32239
|
+
return e ? e.tree : zt.empty;
|
|
32240
32240
|
}
|
|
32241
32241
|
class H0e {
|
|
32242
32242
|
/**
|
|
@@ -32271,7 +32271,7 @@ Component that was made reactive: `,
|
|
|
32271
32271
|
@internal
|
|
32272
32272
|
*/
|
|
32273
32273
|
static create(e, r, n) {
|
|
32274
|
-
return new Mp(e, r, [],
|
|
32274
|
+
return new Mp(e, r, [], zt.empty, 0, n, [], null);
|
|
32275
32275
|
}
|
|
32276
32276
|
startParse() {
|
|
32277
32277
|
return this.parser.startParse(new H0e(this.state.doc), this.fragments);
|
|
@@ -32280,7 +32280,7 @@ Component that was made reactive: `,
|
|
|
32280
32280
|
@internal
|
|
32281
32281
|
*/
|
|
32282
32282
|
work(e, r) {
|
|
32283
|
-
return r != null && r >= this.state.doc.length && (r = void 0), this.tree !=
|
|
32283
|
+
return r != null && r >= this.state.doc.length && (r = void 0), this.tree != zt.empty && this.isDone(r ?? this.state.doc.length) ? (this.takeTree(), !0) : this.withContext(() => {
|
|
32284
32284
|
var n;
|
|
32285
32285
|
if (typeof e == "number") {
|
|
32286
32286
|
let i = Date.now() + e;
|
|
@@ -32329,7 +32329,7 @@ Component that was made reactive: `,
|
|
|
32329
32329
|
let { fragments: n, tree: i, treeLen: o, viewport: a, skipped: s } = this;
|
|
32330
32330
|
if (this.takeTree(), !e.empty) {
|
|
32331
32331
|
let l = [];
|
|
32332
|
-
if (e.iterChangedRanges((c, u, d, p) => l.push({ fromA: c, toA: u, fromB: d, toB: p })), n = Ps.applyChanges(n, l), i =
|
|
32332
|
+
if (e.iterChangedRanges((c, u, d, p) => l.push({ fromA: c, toA: u, fromB: d, toB: p })), n = Ps.applyChanges(n, l), i = zt.empty, o = 0, a = { from: e.mapPos(a.from, -1), to: e.mapPos(a.to, 1) }, this.skipped.length) {
|
|
32333
32333
|
s = [];
|
|
32334
32334
|
for (let c of this.skipped) {
|
|
32335
32335
|
let u = e.mapPos(c.from, 1), d = e.mapPos(c.to, -1);
|
|
@@ -32389,7 +32389,7 @@ Component that was made reactive: `,
|
|
|
32389
32389
|
s.tempSkipped.push(l);
|
|
32390
32390
|
e && (s.scheduleOn = s.scheduleOn ? Promise.all([s.scheduleOn, e]) : e);
|
|
32391
32391
|
}
|
|
32392
|
-
return this.parsedPos = a, new
|
|
32392
|
+
return this.parsedPos = a, new zt(Ln.none, [], [], a - o);
|
|
32393
32393
|
},
|
|
32394
32394
|
stoppedAt: null,
|
|
32395
32395
|
stopAt() {
|
|
@@ -32847,7 +32847,7 @@ Component that was made reactive: `,
|
|
|
32847
32847
|
if (o)
|
|
32848
32848
|
return { state: t.streamParser.copyState(o), pos: r + e.length };
|
|
32849
32849
|
for (let a = e.children.length - 1; a >= 0; a--) {
|
|
32850
|
-
let s = e.children[a], l = r + e.positions[a], c = s instanceof
|
|
32850
|
+
let s = e.children[a], l = r + e.positions[a], c = s instanceof zt && l < i && _$(t, s, l, n, i);
|
|
32851
32851
|
if (c)
|
|
32852
32852
|
return c;
|
|
32853
32853
|
}
|
|
@@ -32859,10 +32859,10 @@ Component that was made reactive: `,
|
|
|
32859
32859
|
!i && e.type == t.topNode && (i = !0);
|
|
32860
32860
|
for (let o = e.children.length - 1; o >= 0; o--) {
|
|
32861
32861
|
let a = e.positions[o], s = e.children[o], l;
|
|
32862
|
-
if (a < n && s instanceof
|
|
32862
|
+
if (a < n && s instanceof zt) {
|
|
32863
32863
|
if (!(l = DD(t, s, r - a, n - a, i)))
|
|
32864
32864
|
break;
|
|
32865
|
-
return i ? new
|
|
32865
|
+
return i ? new zt(e.type, e.children.slice(0, o).concat(l), e.positions.slice(0, o + 1), a + l.length) : l;
|
|
32866
32866
|
}
|
|
32867
32867
|
}
|
|
32868
32868
|
return null;
|
|
@@ -32873,7 +32873,7 @@ Component that was made reactive: `,
|
|
|
32873
32873
|
if (s && (l = DD(t, i.tree, r + i.offset, s.pos + i.offset, !1)))
|
|
32874
32874
|
return { state: s.state, tree: l };
|
|
32875
32875
|
}
|
|
32876
|
-
return { state: t.streamParser.startState(n ? s4(n) : 4), tree:
|
|
32876
|
+
return { state: t.streamParser.startState(n ? s4(n) : 4), tree: zt.empty };
|
|
32877
32877
|
}
|
|
32878
32878
|
class c1e {
|
|
32879
32879
|
constructor(e, r, n, i) {
|
|
@@ -32955,7 +32955,7 @@ Component that was made reactive: `,
|
|
|
32955
32955
|
this.parsedPos = n, this.moveRangeIndex(), this.parsedPos < this.to && this.parsedPos++;
|
|
32956
32956
|
}
|
|
32957
32957
|
finishChunk() {
|
|
32958
|
-
let e =
|
|
32958
|
+
let e = zt.build({
|
|
32959
32959
|
buffer: this.chunk,
|
|
32960
32960
|
start: this.chunkStart,
|
|
32961
32961
|
length: this.parsedPos - this.chunkStart,
|
|
@@ -32964,10 +32964,10 @@ Component that was made reactive: `,
|
|
|
32964
32964
|
maxBufferLength: 2048,
|
|
32965
32965
|
reused: this.chunkReused
|
|
32966
32966
|
});
|
|
32967
|
-
e = new
|
|
32967
|
+
e = new zt(e.type, e.children, e.positions, e.length, [[this.lang.stateAfter, this.lang.streamParser.copyState(this.state)]]), this.chunks.push(e), this.chunkPos.push(this.chunkStart - this.ranges[0].from), this.chunk = [], this.chunkReused = void 0, this.chunkStart = this.parsedPos;
|
|
32968
32968
|
}
|
|
32969
32969
|
finish() {
|
|
32970
|
-
return new
|
|
32970
|
+
return new zt(this.lang.topNode, this.chunks, this.chunkPos, this.parsedPos - this.ranges[0].from).balance();
|
|
32971
32971
|
}
|
|
32972
32972
|
}
|
|
32973
32973
|
function ND(t, e, r) {
|
|
@@ -34219,7 +34219,7 @@ Component that was made reactive: `,
|
|
|
34219
34219
|
let e = Q$.parse(t);
|
|
34220
34220
|
return (r, n, i, o) => {
|
|
34221
34221
|
let { text: a, ranges: s } = e.instantiate(r.state, i), l = {
|
|
34222
|
-
changes: { from: i, to: o, insert:
|
|
34222
|
+
changes: { from: i, to: o, insert: Wt.of(a) },
|
|
34223
34223
|
scrollIntoView: !0,
|
|
34224
34224
|
annotations: n ? N1e.of(n) : void 0
|
|
34225
34225
|
};
|
|
@@ -38028,9 +38028,9 @@ Component that was made reactive: `,
|
|
|
38028
38028
|
e[t[r]] = !0;
|
|
38029
38029
|
return e;
|
|
38030
38030
|
}
|
|
38031
|
-
var UN = ["NULL", "NA", "Inf", "NaN", "NA_integer_", "NA_real_", "NA_complex_", "NA_character_", "TRUE", "FALSE"], VN = ["list", "quote", "bquote", "eval", "return", "call", "parse", "deparse"], MN = ["if", "else", "repeat", "while", "function", "for", "in", "next", "break"], C2e = ["if", "else", "repeat", "while", "function", "for"], E2e = ly(UN), R2e = ly(VN), A2e = ly(MN), q2e = ly(C2e), YC = /[+\-*\/^<>=!&|~$:]/,
|
|
38031
|
+
var UN = ["NULL", "NA", "Inf", "NaN", "NA_integer_", "NA_real_", "NA_complex_", "NA_character_", "TRUE", "FALSE"], VN = ["list", "quote", "bquote", "eval", "return", "call", "parse", "deparse"], MN = ["if", "else", "repeat", "while", "function", "for", "in", "next", "break"], C2e = ["if", "else", "repeat", "while", "function", "for"], E2e = ly(UN), R2e = ly(VN), A2e = ly(MN), q2e = ly(C2e), YC = /[+\-*\/^<>=!&|~$:]/, ko;
|
|
38032
38032
|
function p4(t, e) {
|
|
38033
|
-
|
|
38033
|
+
ko = null;
|
|
38034
38034
|
var r = t.next();
|
|
38035
38035
|
if (r == "#")
|
|
38036
38036
|
return t.skipToEnd(), "comment";
|
|
@@ -38049,9 +38049,9 @@ Component that was made reactive: `,
|
|
|
38049
38049
|
if (/[a-zA-Z\.]/.test(r)) {
|
|
38050
38050
|
t.eatWhile(/[\w\.]/);
|
|
38051
38051
|
var n = t.current();
|
|
38052
|
-
return E2e.propertyIsEnumerable(n) ? "atom" : A2e.propertyIsEnumerable(n) ? (q2e.propertyIsEnumerable(n) && !t.match(/\s*if(\s+|$)/, !1) && (
|
|
38052
|
+
return E2e.propertyIsEnumerable(n) ? "atom" : A2e.propertyIsEnumerable(n) ? (q2e.propertyIsEnumerable(n) && !t.match(/\s*if(\s+|$)/, !1) && (ko = "block"), "keyword") : R2e.propertyIsEnumerable(n) ? "builtin" : "variable";
|
|
38053
38053
|
} else
|
|
38054
|
-
return r == "%" ? (t.skipTo("%") && t.next(), "variableName.special") : r == "<" && t.eat("-") || r == "<" && t.match("<-") || r == "-" && t.match(/>>?/) || r == "=" && e.ctx.argList ? "operator" : YC.test(r) ? (r == "$" || t.eatWhile(YC), "operator") : /[\(\){}\[\];]/.test(r) ? (
|
|
38054
|
+
return r == "%" ? (t.skipTo("%") && t.next(), "variableName.special") : r == "<" && t.eat("-") || r == "<" && t.match("<-") || r == "-" && t.match(/>>?/) || r == "=" && e.ctx.argList ? "operator" : YC.test(r) ? (r == "$" || t.eatWhile(YC), "operator") : /[\(\){}\[\];]/.test(r) ? (ko = r, r == ";" ? "punctuation" : null) : null;
|
|
38055
38055
|
}
|
|
38056
38056
|
function X2e(t) {
|
|
38057
38057
|
return function(e, r) {
|
|
@@ -38114,7 +38114,7 @@ Component that was made reactive: `,
|
|
|
38114
38114
|
if (t.sol() && (e.ctx.flags & 3 || (e.ctx.flags |= Vw), e.ctx.flags & Mw && Iw(e), e.indent = t.indentation()), t.eatSpace())
|
|
38115
38115
|
return null;
|
|
38116
38116
|
var r = e.tokenize(t, e);
|
|
38117
|
-
return r != "comment" && !(e.ctx.flags & Vw) && LC(e, WC), (
|
|
38117
|
+
return r != "comment" && !(e.ctx.flags & Vw) && LC(e, WC), (ko == ";" || ko == "{" || ko == "}") && e.ctx.type == "block" && Iw(e), ko == "{" ? EO(e, "}", t) : ko == "(" ? (EO(e, ")", t), e.afterIdent && (e.ctx.argList = !0)) : ko == "[" ? EO(e, "]", t) : ko == "block" ? EO(e, "block", t) : ko == e.ctx.type ? Iw(e) : e.ctx.type == "block" && r != "comment" && LC(e, Mw), e.afterIdent = r == "variable" || r == "keyword", r;
|
|
38118
38118
|
},
|
|
38119
38119
|
indent: function(t, e, r) {
|
|
38120
38120
|
if (t.tokenize != p4)
|
|
@@ -38205,7 +38205,7 @@ Component that was made reactive: `,
|
|
|
38205
38205
|
"loop",
|
|
38206
38206
|
"proc",
|
|
38207
38207
|
"begin"
|
|
38208
|
-
]), V2e = Z$(["end", "until"]), zC = { "[": "]", "{": "}", "(": ")" }, M2e = { "]": "[", "}": "{", ")": "(" },
|
|
38208
|
+
]), V2e = Z$(["end", "until"]), zC = { "[": "]", "{": "}", "(": ")" }, M2e = { "]": "[", "}": "{", ")": "(" }, _o;
|
|
38209
38209
|
function Sd(t, e, r) {
|
|
38210
38210
|
return r.tokenize.push(t), t(e, r);
|
|
38211
38211
|
}
|
|
@@ -38247,14 +38247,14 @@ Component that was made reactive: `,
|
|
|
38247
38247
|
if (/[a-zA-Z_\xa1-\uffff]/.test(r))
|
|
38248
38248
|
return t.eatWhile(/[\w\xa1-\uffff]/), t.eat(/[\?\!]/), t.eat(":") ? "atom" : "variable";
|
|
38249
38249
|
if (r == "|" && (e.varList || e.lastTok == "{" || e.lastTok == "do"))
|
|
38250
|
-
return
|
|
38250
|
+
return _o = "|", null;
|
|
38251
38251
|
if (/[\(\)\[\]{}\\;]/.test(r))
|
|
38252
|
-
return
|
|
38252
|
+
return _o = r, null;
|
|
38253
38253
|
if (r == "-" && t.eat(">"))
|
|
38254
38254
|
return "operator";
|
|
38255
38255
|
if (/[=+\-\/*:\.^%<>~|]/.test(r)) {
|
|
38256
38256
|
var s = t.eatWhile(/[=+\-\/*:\.^%<>~|]/);
|
|
38257
|
-
return r == "." && !s && (
|
|
38257
|
+
return r == "." && !s && (_o = "."), "operator";
|
|
38258
38258
|
} else
|
|
38259
38259
|
return null;
|
|
38260
38260
|
}
|
|
@@ -38338,13 +38338,13 @@ Component that was made reactive: `,
|
|
|
38338
38338
|
};
|
|
38339
38339
|
},
|
|
38340
38340
|
token: function(t, e) {
|
|
38341
|
-
|
|
38342
|
-
var r = e.tokenize[e.tokenize.length - 1](t, e), n, i =
|
|
38341
|
+
_o = null, t.sol() && (e.indented = t.indentation());
|
|
38342
|
+
var r = e.tokenize[e.tokenize.length - 1](t, e), n, i = _o;
|
|
38343
38343
|
if (r == "variable") {
|
|
38344
38344
|
var o = t.current();
|
|
38345
38345
|
r = e.lastTok == "." ? "property" : Z2e.propertyIsEnumerable(t.current()) ? "keyword" : /^[A-Z]/.test(o) ? "tag" : e.lastTok == "def" || e.lastTok == "class" || e.varList ? "def" : "variable", r == "keyword" && (i = o, U2e.propertyIsEnumerable(o) ? n = "indent" : V2e.propertyIsEnumerable(o) ? n = "dedent" : ((o == "if" || o == "unless") && t.column() == t.indentation() || o == "do" && e.context.indented < e.indented) && (n = "indent"));
|
|
38346
38346
|
}
|
|
38347
|
-
return (
|
|
38347
|
+
return (_o || r && r != "comment") && (e.lastTok = i), _o == "|" && (e.varList = !e.varList), n == "indent" || /[\(\[\{]/.test(_o) ? e.context = { prev: e.context, type: _o || r, indented: e.indented } : (n == "dedent" || /[\)\]\}]/.test(_o)) && e.context.prev && (e.context = e.context.prev), t.eol() && (e.continuedLine = _o == "\\" || r == "operator"), r;
|
|
38348
38348
|
},
|
|
38349
38349
|
indent: function(t, e, r) {
|
|
38350
38350
|
if (t.tokenize[t.tokenize.length - 1] != cb)
|
|
@@ -41687,7 +41687,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
41687
41687
|
let t;
|
|
41688
41688
|
return typeof navigator < "u" && ((t = navigator.product) === "ReactNative" || t === "NativeScript" || t === "NS") ? !1 : typeof window < "u" && typeof document < "u";
|
|
41689
41689
|
})(), Tye = (() => typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
41690
|
-
self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(),
|
|
41690
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(), Ro = {
|
|
41691
41691
|
isBrowser: !0,
|
|
41692
41692
|
classes: {
|
|
41693
41693
|
URLSearchParams: _ye,
|
|
@@ -41699,9 +41699,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
41699
41699
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
41700
41700
|
};
|
|
41701
41701
|
function Cye(t, e) {
|
|
41702
|
-
return fy(t, new
|
|
41702
|
+
return fy(t, new Ro.classes.URLSearchParams(), Object.assign({
|
|
41703
41703
|
visitor: function(r, n, i, o) {
|
|
41704
|
-
return
|
|
41704
|
+
return Ro.isNode && $e.isBuffer(r) ? (this.append(n, r.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
|
|
41705
41705
|
}
|
|
41706
41706
|
}, e));
|
|
41707
41707
|
}
|
|
@@ -41743,7 +41743,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
41743
41743
|
}
|
|
41744
41744
|
const N$ = {
|
|
41745
41745
|
transitional: kY,
|
|
41746
|
-
adapter:
|
|
41746
|
+
adapter: Ro.isNode ? "http" : "xhr",
|
|
41747
41747
|
transformRequest: [function(t, e) {
|
|
41748
41748
|
const r = e.getContentType() || "", n = r.indexOf("application/json") > -1, i = $e.isObject(t);
|
|
41749
41749
|
if (i && $e.isHTMLForm(t) && (t = new FormData(t)), $e.isFormData(t))
|
|
@@ -41792,8 +41792,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
41792
41792
|
maxContentLength: -1,
|
|
41793
41793
|
maxBodyLength: -1,
|
|
41794
41794
|
env: {
|
|
41795
|
-
FormData:
|
|
41796
|
-
Blob:
|
|
41795
|
+
FormData: Ro.classes.FormData,
|
|
41796
|
+
Blob: Ro.classes.Blob
|
|
41797
41797
|
},
|
|
41798
41798
|
validateStatus: function(t) {
|
|
41799
41799
|
return t >= 200 && t < 300;
|
|
@@ -42019,7 +42019,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
42019
42019
|
r
|
|
42020
42020
|
));
|
|
42021
42021
|
}
|
|
42022
|
-
const Iye =
|
|
42022
|
+
const Iye = Ro.isStandardBrowserEnv ? (
|
|
42023
42023
|
// Standard browser envs support document.cookie
|
|
42024
42024
|
function() {
|
|
42025
42025
|
return {
|
|
@@ -42059,7 +42059,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
42059
42059
|
function PY(t, e) {
|
|
42060
42060
|
return t && !Dye(e) ? Nye(t, e) : e;
|
|
42061
42061
|
}
|
|
42062
|
-
const Yye =
|
|
42062
|
+
const Yye = Ro.isStandardBrowserEnv ? (
|
|
42063
42063
|
// Standard browser envs have full support of the APIs needed to test
|
|
42064
42064
|
// whether the request URL is of the same origin as current location.
|
|
42065
42065
|
function() {
|
|
@@ -42137,7 +42137,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
42137
42137
|
function s() {
|
|
42138
42138
|
t.cancelToken && t.cancelToken.unsubscribe(a), t.signal && t.signal.removeEventListener("abort", a);
|
|
42139
42139
|
}
|
|
42140
|
-
$e.isFormData(n) && (
|
|
42140
|
+
$e.isFormData(n) && (Ro.isStandardBrowserEnv || Ro.isStandardBrowserWebWorkerEnv ? i.setContentType(!1) : i.setContentType("multipart/form-data;", !1));
|
|
42141
42141
|
let l = new XMLHttpRequest();
|
|
42142
42142
|
if (t.auth) {
|
|
42143
42143
|
const p = t.auth.username || "", h = t.auth.password ? unescape(encodeURIComponent(t.auth.password)) : "";
|
|
@@ -42179,7 +42179,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
42179
42179
|
t,
|
|
42180
42180
|
l
|
|
42181
42181
|
)), l = null;
|
|
42182
|
-
},
|
|
42182
|
+
}, Ro.isStandardBrowserEnv) {
|
|
42183
42183
|
const p = (t.withCredentials || Yye(c)) && t.xsrfCookieName && Iye.read(t.xsrfCookieName);
|
|
42184
42184
|
p && i.set(t.xsrfHeaderName, p);
|
|
42185
42185
|
}
|
|
@@ -42189,7 +42189,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
42189
42189
|
l && (r(!p || p.type ? new b1(null, t, l) : p), l.abort(), l = null);
|
|
42190
42190
|
}, t.cancelToken && t.cancelToken.subscribe(a), t.signal && (t.signal.aborted ? a() : t.signal.addEventListener("abort", a)));
|
|
42191
42191
|
const d = Wye(c);
|
|
42192
|
-
if (d &&
|
|
42192
|
+
if (d && Ro.protocols.indexOf(d) === -1) {
|
|
42193
42193
|
r(new It("Unsupported protocol " + d + ":", It.ERR_BAD_REQUEST, t));
|
|
42194
42194
|
return;
|
|
42195
42195
|
}
|
|
@@ -43210,7 +43210,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
43210
43210
|
vt(Ie(i[K(r).type]) + " ", 1),
|
|
43211
43211
|
I5e
|
|
43212
43212
|
]),
|
|
43213
|
-
|
|
43213
|
+
Ft(U("select", {
|
|
43214
43214
|
"onUpdate:modelValue": s[0] || (s[0] = (l) => K(r).type = l),
|
|
43215
43215
|
onClick: s[1] || (s[1] = hne(() => {
|
|
43216
43216
|
}, ["prevent"]))
|
|
@@ -43220,7 +43220,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
43220
43220
|
value: l.type
|
|
43221
43221
|
}, Ie(l.text), 9, D5e)), 64))
|
|
43222
43222
|
], 512), [
|
|
43223
|
-
[
|
|
43223
|
+
[Mo, n.value],
|
|
43224
43224
|
[une, K(r).type]
|
|
43225
43225
|
])
|
|
43226
43226
|
])
|
|
@@ -43229,7 +43229,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
43229
43229
|
K(r).type === "none" ? (J(), de("div", N5e, "No Authentication")) : (J(), de(Ye, { key: 1 }, [
|
|
43230
43230
|
K(r).type === "basic" ? (J(), de(Ye, { key: 0 }, [
|
|
43231
43231
|
U("div", Y5e, [
|
|
43232
|
-
|
|
43232
|
+
Ft(U("input", {
|
|
43233
43233
|
"onUpdate:modelValue": s[2] || (s[2] = (l) => K(r).basic.userName = l),
|
|
43234
43234
|
autocomplete: "off",
|
|
43235
43235
|
placeholder: "Username",
|
|
@@ -43241,7 +43241,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
43241
43241
|
W5e
|
|
43242
43242
|
]),
|
|
43243
43243
|
U("div", L5e, [
|
|
43244
|
-
|
|
43244
|
+
Ft(U("input", {
|
|
43245
43245
|
"onUpdate:modelValue": s[3] || (s[3] = (l) => K(r).basic.password = l),
|
|
43246
43246
|
autocomplete: "off",
|
|
43247
43247
|
placeholder: "Username",
|
|
@@ -43253,7 +43253,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
43253
43253
|
z5e
|
|
43254
43254
|
]),
|
|
43255
43255
|
U("label", B5e, [
|
|
43256
|
-
|
|
43256
|
+
Ft(U("input", {
|
|
43257
43257
|
"onUpdate:modelValue": s[4] || (s[4] = (l) => K(r).basic.active = l),
|
|
43258
43258
|
type: "checkbox"
|
|
43259
43259
|
}, null, 512), [
|
|
@@ -43264,7 +43264,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
43264
43264
|
])
|
|
43265
43265
|
], 64)) : K(r).type === "digest" ? (J(), de(Ye, { key: 1 }, [
|
|
43266
43266
|
U("div", H5e, [
|
|
43267
|
-
|
|
43267
|
+
Ft(U("input", {
|
|
43268
43268
|
"onUpdate:modelValue": s[5] || (s[5] = (l) => K(r).digest.userName = l),
|
|
43269
43269
|
autocomplete: "off",
|
|
43270
43270
|
placeholder: "Username",
|
|
@@ -43276,7 +43276,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
43276
43276
|
K5e
|
|
43277
43277
|
]),
|
|
43278
43278
|
U("div", J5e, [
|
|
43279
|
-
|
|
43279
|
+
Ft(U("input", {
|
|
43280
43280
|
"onUpdate:modelValue": s[6] || (s[6] = (l) => K(r).digest.password = l),
|
|
43281
43281
|
autocomplete: "off",
|
|
43282
43282
|
placeholder: "Password",
|
|
@@ -43288,7 +43288,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
43288
43288
|
ewe
|
|
43289
43289
|
]),
|
|
43290
43290
|
U("label", twe, [
|
|
43291
|
-
|
|
43291
|
+
Ft(U("input", {
|
|
43292
43292
|
"onUpdate:modelValue": s[7] || (s[7] = (l) => K(r).digest.active = l),
|
|
43293
43293
|
type: "checkbox"
|
|
43294
43294
|
}, null, 512), [
|
|
@@ -43299,7 +43299,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
43299
43299
|
])
|
|
43300
43300
|
], 64)) : K(r).type === "oauthTwo" ? (J(), de(Ye, { key: 2 }, [
|
|
43301
43301
|
U("div", iwe, [
|
|
43302
|
-
|
|
43302
|
+
Ft(U("input", {
|
|
43303
43303
|
"onUpdate:modelValue": s[8] || (s[8] = (l) => K(r).oauthTwo.generatedToken = l),
|
|
43304
43304
|
autocomplete: "off",
|
|
43305
43305
|
placeholder: "Generated Token",
|
|
@@ -43311,7 +43311,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
43311
43311
|
owe
|
|
43312
43312
|
]),
|
|
43313
43313
|
U("div", awe, [
|
|
43314
|
-
|
|
43314
|
+
Ft(U("input", {
|
|
43315
43315
|
"onUpdate:modelValue": s[9] || (s[9] = (l) => K(r).oauthTwo.discoveryURL = l),
|
|
43316
43316
|
autocomplete: "off",
|
|
43317
43317
|
placeholder: "Discovery URL",
|
|
@@ -43323,7 +43323,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
43323
43323
|
swe
|
|
43324
43324
|
]),
|
|
43325
43325
|
U("div", lwe, [
|
|
43326
|
-
|
|
43326
|
+
Ft(U("input", {
|
|
43327
43327
|
"onUpdate:modelValue": s[10] || (s[10] = (l) => K(r).oauthTwo.authURL = l),
|
|
43328
43328
|
autocomplete: "off",
|
|
43329
43329
|
placeholder: "Auth URL",
|
|
@@ -43335,7 +43335,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
43335
43335
|
cwe
|
|
43336
43336
|
]),
|
|
43337
43337
|
U("div", uwe, [
|
|
43338
|
-
|
|
43338
|
+
Ft(U("input", {
|
|
43339
43339
|
"onUpdate:modelValue": s[11] || (s[11] = (l) => K(r).oauthTwo.accessTokenURL = l),
|
|
43340
43340
|
autocomplete: "off",
|
|
43341
43341
|
placeholder: "Access Token URL",
|
|
@@ -43347,7 +43347,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
43347
43347
|
dwe
|
|
43348
43348
|
]),
|
|
43349
43349
|
U("div", pwe, [
|
|
43350
|
-
|
|
43350
|
+
Ft(U("input", {
|
|
43351
43351
|
"onUpdate:modelValue": s[12] || (s[12] = (l) => K(r).oauthTwo.clientID = l),
|
|
43352
43352
|
autocomplete: "off",
|
|
43353
43353
|
placeholder: "Client ID",
|
|
@@ -43359,7 +43359,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
43359
43359
|
hwe
|
|
43360
43360
|
]),
|
|
43361
43361
|
U("div", fwe, [
|
|
43362
|
-
|
|
43362
|
+
Ft(U("input", {
|
|
43363
43363
|
"onUpdate:modelValue": s[13] || (s[13] = (l) => K(r).oauthTwo.clientSecret = l),
|
|
43364
43364
|
autocomplete: "off",
|
|
43365
43365
|
placeholder: "Client Secret",
|
|
@@ -43371,7 +43371,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
43371
43371
|
mwe
|
|
43372
43372
|
]),
|
|
43373
43373
|
U("div", Owe, [
|
|
43374
|
-
|
|
43374
|
+
Ft(U("input", {
|
|
43375
43375
|
"onUpdate:modelValue": s[14] || (s[14] = (l) => K(r).oauthTwo.scope = l),
|
|
43376
43376
|
autocomplete: "off",
|
|
43377
43377
|
placeholder: "Scope",
|
|
@@ -43385,7 +43385,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
43385
43385
|
bwe
|
|
43386
43386
|
], 64)) : K(r).type === "bearer" ? (J(), de(Ye, { key: 3 }, [
|
|
43387
43387
|
U("div", vwe, [
|
|
43388
|
-
|
|
43388
|
+
Ft(U("input", {
|
|
43389
43389
|
"onUpdate:modelValue": s[15] || (s[15] = (l) => K(r).bearer.token = l),
|
|
43390
43390
|
autocomplete: "off",
|
|
43391
43391
|
placeholder: "Username",
|
|
@@ -43397,7 +43397,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
43397
43397
|
ywe
|
|
43398
43398
|
]),
|
|
43399
43399
|
U("label", wwe, [
|
|
43400
|
-
|
|
43400
|
+
Ft(U("input", {
|
|
43401
43401
|
"onUpdate:modelValue": s[16] || (s[16] = (l) => K(r).bearer.active = l),
|
|
43402
43402
|
type: "checkbox"
|
|
43403
43403
|
}, null, 512), [
|
|
@@ -43459,8 +43459,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
43459
43459
|
U("div", $we, [
|
|
43460
43460
|
Pwe,
|
|
43461
43461
|
Qwe,
|
|
43462
|
-
|
|
43463
|
-
[
|
|
43462
|
+
Ft(U("div", Twe, Ewe, 512), [
|
|
43463
|
+
[Mo, e.value]
|
|
43464
43464
|
]),
|
|
43465
43465
|
U("div", {
|
|
43466
43466
|
class: "table-row-meta",
|
|
@@ -43478,7 +43478,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
43478
43478
|
}, null, 8, Xwe)
|
|
43479
43479
|
]),
|
|
43480
43480
|
U("div", jwe, [
|
|
43481
|
-
|
|
43481
|
+
Ft(U("input", {
|
|
43482
43482
|
"onUpdate:modelValue": (o) => i.value = o,
|
|
43483
43483
|
placeholder: "value"
|
|
43484
43484
|
}, null, 8, Zwe), [
|
|
@@ -43486,8 +43486,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
43486
43486
|
]),
|
|
43487
43487
|
Uwe
|
|
43488
43488
|
]),
|
|
43489
|
-
|
|
43490
|
-
[
|
|
43489
|
+
Ft(U("div", Vwe, null, 512), [
|
|
43490
|
+
[Mo, e.value]
|
|
43491
43491
|
]),
|
|
43492
43492
|
Mwe
|
|
43493
43493
|
], 2))), 128))
|
|
@@ -43611,7 +43611,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
43611
43611
|
nSe,
|
|
43612
43612
|
U("div", iSe, [
|
|
43613
43613
|
U("div", oSe, [
|
|
43614
|
-
|
|
43614
|
+
Ft(U("input", {
|
|
43615
43615
|
"onUpdate:modelValue": i[0] || (i[0] = (o) => K(e).name = o),
|
|
43616
43616
|
class: "scalar-api-client__request-name",
|
|
43617
43617
|
disabled: K(r),
|
|
@@ -44756,8 +44756,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
44756
44756
|
we(RSe, { headers: n.value }, null, 8, ["headers"]),
|
|
44757
44757
|
we(K(vc), { title: "Cookies" }, {
|
|
44758
44758
|
default: Re(() => [
|
|
44759
|
-
|
|
44760
|
-
[
|
|
44759
|
+
Ft(we(K(Lwe), { items: i.value }, null, 8, ["items"]), [
|
|
44760
|
+
[Mo, i.value.length > 0]
|
|
44761
44761
|
]),
|
|
44762
44762
|
i.value.length === 0 ? (J(), de("div", YSe, "No Cookies")) : We("", !0)
|
|
44763
44763
|
]),
|
|
@@ -48056,17 +48056,17 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
48056
48056
|
yt(i.$slots, "header", {}, void 0, !0),
|
|
48057
48057
|
U("div", OPe, [
|
|
48058
48058
|
i.tabMode ? (J(), de(Ye, { key: 0 }, [
|
|
48059
|
-
i.activeTab === "sidebar" ?
|
|
48059
|
+
i.activeTab === "sidebar" ? Ft((J(), De(U4, {
|
|
48060
48060
|
key: 0,
|
|
48061
48061
|
spec: i.spec
|
|
48062
48062
|
}, null, 8, ["spec"])), [
|
|
48063
|
-
[
|
|
48063
|
+
[Mo, !K(n)]
|
|
48064
48064
|
]) : yt(i.$slots, "active-tab", { key: 1 }, void 0, !0)
|
|
48065
|
-
], 64)) :
|
|
48065
|
+
], 64)) : Ft((J(), De(U4, {
|
|
48066
48066
|
key: 1,
|
|
48067
48067
|
spec: i.spec
|
|
48068
48068
|
}, null, 8, ["spec"])), [
|
|
48069
|
-
[
|
|
48069
|
+
[Mo, !K(n)]
|
|
48070
48070
|
]),
|
|
48071
48071
|
we(K(zSe), {
|
|
48072
48072
|
proxyUrl: i.proxyUrl,
|
|
@@ -48832,12 +48832,12 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
48832
48832
|
class: "parameter-child-trigger",
|
|
48833
48833
|
onClick: n[0] || (n[0] = (s) => e.value = !e.value)
|
|
48834
48834
|
}, JQe),
|
|
48835
|
-
|
|
48835
|
+
Ft(U("ul", e9e, [
|
|
48836
48836
|
we(zQe, {
|
|
48837
48837
|
contentProperties: r.contentProperties[i].properties || {}
|
|
48838
48838
|
}, null, 8, ["contentProperties"])
|
|
48839
48839
|
], 512), [
|
|
48840
|
-
[
|
|
48840
|
+
[Mo, e.value]
|
|
48841
48841
|
])
|
|
48842
48842
|
], 2)) : We("", !0)
|
|
48843
48843
|
]);
|
|
@@ -49896,12 +49896,12 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
49896
49896
|
key: 0,
|
|
49897
49897
|
examples: a.value
|
|
49898
49898
|
}, null, 8, ["examples"])) : (J(), de(Ye, { key: 1 }, [
|
|
49899
|
-
|
|
49899
|
+
Ft(we(K(Eh), {
|
|
49900
49900
|
content: s.value,
|
|
49901
49901
|
languages: ["json"],
|
|
49902
49902
|
readOnly: ""
|
|
49903
49903
|
}, null, 8, ["content"]), [
|
|
49904
|
-
[
|
|
49904
|
+
[Mo, s.value]
|
|
49905
49905
|
]),
|
|
49906
49906
|
s.value ? We("", !0) : (J(), de("div", oCe, " No Body "))
|
|
49907
49907
|
], 64))
|
|
@@ -51174,7 +51174,7 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
51174
51174
|
ref_key: "searchModalRef",
|
|
51175
51175
|
ref: l
|
|
51176
51176
|
}, [
|
|
51177
|
-
|
|
51177
|
+
Ft(U("input", {
|
|
51178
51178
|
"onUpdate:modelValue": v[0] || (v[0] = (w) => s.value = w),
|
|
51179
51179
|
class: "ref-search-input",
|
|
51180
51180
|
placeholder: "Search …",
|
|
@@ -51326,7 +51326,7 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
51326
51326
|
we(U4, { spec: p }, null, 8, ["spec"])
|
|
51327
51327
|
])) : We("", !0)
|
|
51328
51328
|
]),
|
|
51329
|
-
|
|
51329
|
+
Ft(U("div", $Ee, [
|
|
51330
51330
|
we(K(r), {
|
|
51331
51331
|
hocuspocusConfiguration: v.hocuspocusConfiguration,
|
|
51332
51332
|
theme: v.theme,
|
|
@@ -51335,7 +51335,7 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
51335
51335
|
onSpecUpdate: h
|
|
51336
51336
|
}, null, 8, ["hocuspocusConfiguration", "theme", "value"])
|
|
51337
51337
|
], 512), [
|
|
51338
|
-
[
|
|
51338
|
+
[Mo, O.value]
|
|
51339
51339
|
]),
|
|
51340
51340
|
f.value ? (J(), de("div", PEe, [
|
|
51341
51341
|
we(K(_Ce), {
|
|
@@ -51981,7 +51981,7 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
51981
51981
|
}
|
|
51982
51982
|
r.constructor != t && (typeof t != "function" && console.error("unknow Class:" + t), r.constructor = t);
|
|
51983
51983
|
}
|
|
51984
|
-
var jEe = "http://www.w3.org/1999/xhtml", Pi = {},
|
|
51984
|
+
var jEe = "http://www.w3.org/1999/xhtml", Pi = {}, Xo = Pi.ELEMENT_NODE = 1, Bp = Pi.ATTRIBUTE_NODE = 2, bb = Pi.TEXT_NODE = 3, dW = Pi.CDATA_SECTION_NODE = 4, pW = Pi.ENTITY_REFERENCE_NODE = 5, ZEe = Pi.ENTITY_NODE = 6, hW = Pi.PROCESSING_INSTRUCTION_NODE = 7, fW = Pi.COMMENT_NODE = 8, mW = Pi.DOCUMENT_NODE = 9, OW = Pi.DOCUMENT_TYPE_NODE = 10, Ls = Pi.DOCUMENT_FRAGMENT_NODE = 11, UEe = Pi.NOTATION_NODE = 12, Fn = {}, gn = {};
|
|
51985
51985
|
Fn.INDEX_SIZE_ERR = (gn[1] = "Index size error", 1);
|
|
51986
51986
|
Fn.DOMSTRING_SIZE_ERR = (gn[2] = "DOMString size error", 2);
|
|
51987
51987
|
var VEe = Fn.HIERARCHY_REQUEST_ERR = (gn[3] = "Hierarchy request error", 3);
|
|
@@ -52301,7 +52301,7 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
52301
52301
|
}
|
|
52302
52302
|
return t;
|
|
52303
52303
|
}
|
|
52304
|
-
return this.documentElement == null && t.nodeType ==
|
|
52304
|
+
return this.documentElement == null && t.nodeType == Xo && (this.documentElement = t), wW(this, t, e), t.ownerDocument = this, t;
|
|
52305
52305
|
},
|
|
52306
52306
|
removeChild: function(t) {
|
|
52307
52307
|
return this.documentElement == t && (this.documentElement = null), yW(this, t);
|
|
@@ -52314,7 +52314,7 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
52314
52314
|
getElementById: function(t) {
|
|
52315
52315
|
var e = null;
|
|
52316
52316
|
return c0(this.documentElement, function(r) {
|
|
52317
|
-
if (r.nodeType ==
|
|
52317
|
+
if (r.nodeType == Xo && r.getAttribute("id") == t)
|
|
52318
52318
|
return e = r, !0;
|
|
52319
52319
|
}), e;
|
|
52320
52320
|
},
|
|
@@ -52323,7 +52323,7 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
52323
52323
|
return new Fp(this, function(r) {
|
|
52324
52324
|
var n = [];
|
|
52325
52325
|
return c0(r.documentElement, function(i) {
|
|
52326
|
-
i !== r && i.nodeType ==
|
|
52326
|
+
i !== r && i.nodeType == Xo && e.test(i.getAttribute("class")) && n.push(i);
|
|
52327
52327
|
}), n;
|
|
52328
52328
|
});
|
|
52329
52329
|
},
|
|
@@ -52378,7 +52378,7 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
52378
52378
|
this._nsMap = {};
|
|
52379
52379
|
}
|
|
52380
52380
|
Gp.prototype = {
|
|
52381
|
-
nodeType:
|
|
52381
|
+
nodeType: Xo,
|
|
52382
52382
|
hasAttribute: function(t) {
|
|
52383
52383
|
return this.getAttributeNode(t) != null;
|
|
52384
52384
|
},
|
|
@@ -52433,7 +52433,7 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
52433
52433
|
return new Fp(this, function(e) {
|
|
52434
52434
|
var r = [];
|
|
52435
52435
|
return c0(e, function(n) {
|
|
52436
|
-
n !== e && n.nodeType ==
|
|
52436
|
+
n !== e && n.nodeType == Xo && (t === "*" || n.tagName == t) && r.push(n);
|
|
52437
52437
|
}), r;
|
|
52438
52438
|
});
|
|
52439
52439
|
},
|
|
@@ -52441,7 +52441,7 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
52441
52441
|
return new Fp(this, function(r) {
|
|
52442
52442
|
var n = [];
|
|
52443
52443
|
return c0(r, function(i) {
|
|
52444
|
-
i !== r && i.nodeType ===
|
|
52444
|
+
i !== r && i.nodeType === Xo && (t === "*" || i.namespaceURI === t) && (e === "*" || i.localName == e) && n.push(i);
|
|
52445
52445
|
}), n;
|
|
52446
52446
|
});
|
|
52447
52447
|
}
|
|
@@ -52569,7 +52569,7 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
52569
52569
|
} else
|
|
52570
52570
|
return;
|
|
52571
52571
|
switch (t.nodeType) {
|
|
52572
|
-
case
|
|
52572
|
+
case Xo:
|
|
52573
52573
|
i || (i = []), i.length;
|
|
52574
52574
|
var o = t.attributes, a = o.length, h = t.firstChild, s = t.tagName;
|
|
52575
52575
|
r = jEe === t.namespaceURI || r, e.push("<", s);
|
|
@@ -52640,7 +52640,7 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
52640
52640
|
function $W(t, e, r) {
|
|
52641
52641
|
var n;
|
|
52642
52642
|
switch (e.nodeType) {
|
|
52643
|
-
case
|
|
52643
|
+
case Xo:
|
|
52644
52644
|
n = e.cloneNode(!1), n.ownerDocument = t;
|
|
52645
52645
|
case Ls:
|
|
52646
52646
|
break;
|
|
@@ -52660,7 +52660,7 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
52660
52660
|
typeof o != "object" && o != n[i] && (n[i] = o);
|
|
52661
52661
|
}
|
|
52662
52662
|
switch (e.childNodes && (n.childNodes = new Wl()), n.ownerDocument = t, n.nodeType) {
|
|
52663
|
-
case
|
|
52663
|
+
case Xo:
|
|
52664
52664
|
var a = e.attributes, s = n.attributes = new vb(), l = a.length;
|
|
52665
52665
|
s._ownerElement = n;
|
|
52666
52666
|
for (var c = 0; c < l; c++)
|
|
@@ -52681,7 +52681,7 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
52681
52681
|
if (Object.defineProperty) {
|
|
52682
52682
|
let t = function(e) {
|
|
52683
52683
|
switch (e.nodeType) {
|
|
52684
|
-
case
|
|
52684
|
+
case Xo:
|
|
52685
52685
|
case Ls:
|
|
52686
52686
|
var r = [];
|
|
52687
52687
|
for (e = e.firstChild; e; )
|
|
@@ -52702,7 +52702,7 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
52702
52702
|
},
|
|
52703
52703
|
set: function(e) {
|
|
52704
52704
|
switch (this.nodeType) {
|
|
52705
|
-
case
|
|
52705
|
+
case Xo:
|
|
52706
52706
|
case Ls:
|
|
52707
52707
|
for (; this.firstChild; )
|
|
52708
52708
|
this.removeChild(this.firstChild);
|
|
@@ -54555,8 +54555,8 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
54555
54555
|
return d.length <= 1 || d[0] !== "#" || d[1] !== "/" ? [] : d.slice(2).split("/").map((p) => decodeURIComponent(p).replace(a, "/").replace(s, "~"));
|
|
54556
54556
|
};
|
|
54557
54557
|
})(nk, nk.exports);
|
|
54558
|
-
var
|
|
54559
|
-
const nL = x1, HAe =
|
|
54558
|
+
var go = nk.exports;
|
|
54559
|
+
const nL = x1, HAe = go;
|
|
54560
54560
|
sd.format = nL.format;
|
|
54561
54561
|
sd.inherits = nL.inherits;
|
|
54562
54562
|
sd.swaggerParamRegExp = /\{([^/}]+)}/g;
|
|
@@ -54718,7 +54718,7 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
54718
54718
|
default: IR,
|
|
54719
54719
|
ono: IR
|
|
54720
54720
|
}, Symbol.toStringTag, { value: "Module" })), Ja = /* @__PURE__ */ kv(Oqe);
|
|
54721
|
-
var sk = { exports: {} }, yp = {},
|
|
54721
|
+
var sk = { exports: {} }, yp = {}, jo = {}, Kp = {}, $1 = {}, wt = {}, u0 = {};
|
|
54722
54722
|
(function(t) {
|
|
54723
54723
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.regexpCode = t.getEsmExportName = t.getProperty = t.safeStringify = t.stringify = t.strConcat = t.addCodeArg = t.str = t._ = t.nil = t._Code = t.Name = t.IDENTIFIER = t._CodeOrName = void 0;
|
|
54724
54724
|
class e {
|
|
@@ -56457,8 +56457,8 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
56457
56457
|
}
|
|
56458
56458
|
}
|
|
56459
56459
|
_n.getSchemaRefs = uXe;
|
|
56460
|
-
Object.defineProperty(
|
|
56461
|
-
|
|
56460
|
+
Object.defineProperty(jo, "__esModule", { value: !0 });
|
|
56461
|
+
jo.getData = jo.KeywordCxt = jo.validateFunctionCode = void 0;
|
|
56462
56462
|
const yL = Kp, YR = P1, v8 = Es, Pb = P1, dXe = $y, fm = Aa, cS = Ll, et = wt, mt = Fi, pXe = _n, Rs = At, vf = $1;
|
|
56463
56463
|
function hXe(t) {
|
|
56464
56464
|
if (xL(t) && (kL(t), SL(t))) {
|
|
@@ -56467,7 +56467,7 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
56467
56467
|
}
|
|
56468
56468
|
wL(t, () => (0, yL.topBoolOrEmptySchema)(t));
|
|
56469
56469
|
}
|
|
56470
|
-
|
|
56470
|
+
jo.validateFunctionCode = hXe;
|
|
56471
56471
|
function wL({ gen: t, validateName: e, schema: r, schemaEnv: n, opts: i }, o) {
|
|
56472
56472
|
i.code.es5 ? t.func(e, (0, et._)`${mt.default.data}, ${mt.default.valCxt}`, n.$async, () => {
|
|
56473
56473
|
t.code((0, et._)`"use strict"; ${WR(r, i)}`), mXe(t, i), t.code(o);
|
|
@@ -56728,7 +56728,7 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
56728
56728
|
return i.if(r, () => this.mergeEvaluated(e, et.Name)), !0;
|
|
56729
56729
|
}
|
|
56730
56730
|
}
|
|
56731
|
-
|
|
56731
|
+
jo.KeywordCxt = QL;
|
|
56732
56732
|
function TL(t, e, r, n) {
|
|
56733
56733
|
const i = new QL(t, r, e);
|
|
56734
56734
|
"code" in r ? r.code(i, n) : i.$data && r.validate ? (0, fm.funcKeywordCode)(i, r) : "macro" in r ? (0, fm.macroKeywordCode)(i, r) : (r.compile || r.validate) && (0, fm.funcKeywordCode)(i, r);
|
|
@@ -56766,7 +56766,7 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
56766
56766
|
return `Cannot access ${c} ${u} levels up, current level is ${e}`;
|
|
56767
56767
|
}
|
|
56768
56768
|
}
|
|
56769
|
-
|
|
56769
|
+
jo.getData = CL;
|
|
56770
56770
|
var Q1 = {};
|
|
56771
56771
|
Object.defineProperty(Q1, "__esModule", { value: !0 });
|
|
56772
56772
|
class qXe extends Error {
|
|
@@ -56787,13 +56787,13 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
56787
56787
|
var li = {};
|
|
56788
56788
|
Object.defineProperty(li, "__esModule", { value: !0 });
|
|
56789
56789
|
li.resolveSchema = li.getCompilingSchema = li.resolveRef = li.compileSchema = li.SchemaEnv = void 0;
|
|
56790
|
-
const
|
|
56790
|
+
const wo = wt, jXe = Q1, Zc = Fi, To = _n, BR = At, ZXe = jo;
|
|
56791
56791
|
class Py {
|
|
56792
56792
|
constructor(e) {
|
|
56793
56793
|
var r;
|
|
56794
56794
|
this.refs = {}, this.dynamicAnchors = {};
|
|
56795
56795
|
let n;
|
|
56796
|
-
typeof e.schema == "object" && (n = e.schema), this.schema = e.schema, this.schemaId = e.schemaId, this.root = e.root || this, this.baseId = (r = e.baseId) !== null && r !== void 0 ? r : (0,
|
|
56796
|
+
typeof e.schema == "object" && (n = e.schema), this.schema = e.schema, this.schemaId = e.schemaId, this.root = e.root || this, this.baseId = (r = e.baseId) !== null && r !== void 0 ? r : (0, To.normalizeId)(n == null ? void 0 : n[e.schemaId || "$id"]), this.schemaPath = e.schemaPath, this.localRefs = e.localRefs, this.meta = e.meta, this.$async = n == null ? void 0 : n.$async, this.refs = {};
|
|
56797
56797
|
}
|
|
56798
56798
|
}
|
|
56799
56799
|
li.SchemaEnv = Py;
|
|
@@ -56801,11 +56801,11 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
56801
56801
|
const e = EL.call(this, t);
|
|
56802
56802
|
if (e)
|
|
56803
56803
|
return e;
|
|
56804
|
-
const r = (0,
|
|
56804
|
+
const r = (0, To.getFullPath)(this.opts.uriResolver, t.root.baseId), { es5: n, lines: i } = this.opts.code, { ownProperties: o } = this.opts, a = new wo.CodeGen(this.scope, { es5: n, lines: i, ownProperties: o });
|
|
56805
56805
|
let s;
|
|
56806
56806
|
t.$async && (s = a.scopeValue("Error", {
|
|
56807
56807
|
ref: jXe.default,
|
|
56808
|
-
code: (0,
|
|
56808
|
+
code: (0, wo._)`require("ajv/dist/runtime/validation_error").default`
|
|
56809
56809
|
}));
|
|
56810
56810
|
const l = a.scopeName("validate");
|
|
56811
56811
|
t.validateName = l;
|
|
@@ -56816,20 +56816,20 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
56816
56816
|
parentData: Zc.default.parentData,
|
|
56817
56817
|
parentDataProperty: Zc.default.parentDataProperty,
|
|
56818
56818
|
dataNames: [Zc.default.data],
|
|
56819
|
-
dataPathArr: [
|
|
56819
|
+
dataPathArr: [wo.nil],
|
|
56820
56820
|
dataLevel: 0,
|
|
56821
56821
|
dataTypes: [],
|
|
56822
56822
|
definedProperties: /* @__PURE__ */ new Set(),
|
|
56823
|
-
topSchemaRef: a.scopeValue("schema", this.opts.code.source === !0 ? { ref: t.schema, code: (0,
|
|
56823
|
+
topSchemaRef: a.scopeValue("schema", this.opts.code.source === !0 ? { ref: t.schema, code: (0, wo.stringify)(t.schema) } : { ref: t.schema }),
|
|
56824
56824
|
validateName: l,
|
|
56825
56825
|
ValidationError: s,
|
|
56826
56826
|
schema: t.schema,
|
|
56827
56827
|
schemaEnv: t,
|
|
56828
56828
|
rootId: r,
|
|
56829
56829
|
baseId: t.baseId || r,
|
|
56830
|
-
schemaPath:
|
|
56830
|
+
schemaPath: wo.nil,
|
|
56831
56831
|
errSchemaPath: t.schemaPath || (this.opts.jtd ? "" : "#"),
|
|
56832
|
-
errorPath: (0,
|
|
56832
|
+
errorPath: (0, wo._)`""`,
|
|
56833
56833
|
opts: this.opts,
|
|
56834
56834
|
self: this
|
|
56835
56835
|
};
|
|
@@ -56842,11 +56842,11 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
56842
56842
|
if (this.scope.value(l, { ref: h }), h.errors = null, h.schema = t.schema, h.schemaEnv = t, t.$async && (h.$async = !0), this.opts.code.source === !0 && (h.source = { validateName: l, validateCode: d, scopeValues: a._values }), this.opts.unevaluated) {
|
|
56843
56843
|
const { props: f, items: O } = c;
|
|
56844
56844
|
h.evaluated = {
|
|
56845
|
-
props: f instanceof
|
|
56846
|
-
items: O instanceof
|
|
56847
|
-
dynamicProps: f instanceof
|
|
56848
|
-
dynamicItems: O instanceof
|
|
56849
|
-
}, h.source && (h.source.evaluated = (0,
|
|
56845
|
+
props: f instanceof wo.Name ? void 0 : f,
|
|
56846
|
+
items: O instanceof wo.Name ? void 0 : O,
|
|
56847
|
+
dynamicProps: f instanceof wo.Name,
|
|
56848
|
+
dynamicItems: O instanceof wo.Name
|
|
56849
|
+
}, h.source && (h.source.evaluated = (0, wo.stringify)(h.evaluated));
|
|
56850
56850
|
}
|
|
56851
56851
|
return t.validate = h, t;
|
|
56852
56852
|
} catch (d) {
|
|
@@ -56858,7 +56858,7 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
56858
56858
|
li.compileSchema = w8;
|
|
56859
56859
|
function UXe(t, e, r) {
|
|
56860
56860
|
var n;
|
|
56861
|
-
r = (0,
|
|
56861
|
+
r = (0, To.resolveUrl)(this.opts.uriResolver, e, r);
|
|
56862
56862
|
const i = t.refs[r];
|
|
56863
56863
|
if (i)
|
|
56864
56864
|
return i;
|
|
@@ -56872,7 +56872,7 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
56872
56872
|
}
|
|
56873
56873
|
li.resolveRef = UXe;
|
|
56874
56874
|
function VXe(t) {
|
|
56875
|
-
return (0,
|
|
56875
|
+
return (0, To.inlineRef)(t.schema, this.opts.inlineRefs) ? t.schema : t.validate ? t : w8.call(this, t);
|
|
56876
56876
|
}
|
|
56877
56877
|
function EL(t) {
|
|
56878
56878
|
for (const e of this._compilations)
|
|
@@ -56890,19 +56890,19 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
56890
56890
|
return r || this.schemas[e] || Qy.call(this, t, e);
|
|
56891
56891
|
}
|
|
56892
56892
|
function Qy(t, e) {
|
|
56893
|
-
const r = this.opts.uriResolver.parse(e), n = (0,
|
|
56894
|
-
let i = (0,
|
|
56893
|
+
const r = this.opts.uriResolver.parse(e), n = (0, To._getFullPath)(this.opts.uriResolver, r);
|
|
56894
|
+
let i = (0, To.getFullPath)(this.opts.uriResolver, t.baseId, void 0);
|
|
56895
56895
|
if (Object.keys(t.schema).length > 0 && n === i)
|
|
56896
56896
|
return dS.call(this, r, t);
|
|
56897
|
-
const o = (0,
|
|
56897
|
+
const o = (0, To.normalizeId)(n), a = this.refs[o] || this.schemas[o];
|
|
56898
56898
|
if (typeof a == "string") {
|
|
56899
56899
|
const s = Qy.call(this, t, a);
|
|
56900
56900
|
return typeof (s == null ? void 0 : s.schema) != "object" ? void 0 : dS.call(this, r, s);
|
|
56901
56901
|
}
|
|
56902
56902
|
if (typeof (a == null ? void 0 : a.schema) == "object") {
|
|
56903
|
-
if (a.validate || w8.call(this, a), o === (0,
|
|
56903
|
+
if (a.validate || w8.call(this, a), o === (0, To.normalizeId)(e)) {
|
|
56904
56904
|
const { schema: s } = a, { schemaId: l } = this.opts, c = s[l];
|
|
56905
|
-
return c && (i = (0,
|
|
56905
|
+
return c && (i = (0, To.resolveUrl)(this.opts.uriResolver, i, c)), new Py({ schema: s, schemaId: l, root: t, baseId: i });
|
|
56906
56906
|
}
|
|
56907
56907
|
return dS.call(this, r, a);
|
|
56908
56908
|
}
|
|
@@ -56927,11 +56927,11 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
56927
56927
|
return;
|
|
56928
56928
|
r = l;
|
|
56929
56929
|
const c = typeof r == "object" && r[this.opts.schemaId];
|
|
56930
|
-
!DXe.has(s) && c && (e = (0,
|
|
56930
|
+
!DXe.has(s) && c && (e = (0, To.resolveUrl)(this.opts.uriResolver, e, c));
|
|
56931
56931
|
}
|
|
56932
56932
|
let o;
|
|
56933
56933
|
if (typeof r != "boolean" && r.$ref && !(0, BR.schemaHasRulesButRef)(r, this.RULES)) {
|
|
56934
|
-
const s = (0,
|
|
56934
|
+
const s = (0, To.resolveUrl)(this.opts.uriResolver, e, r.$ref);
|
|
56935
56935
|
o = Qy.call(this, n, s);
|
|
56936
56936
|
}
|
|
56937
56937
|
const { schemaId: a } = this.opts;
|
|
@@ -57521,7 +57521,7 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
57521
57521
|
S8.default = RL;
|
|
57522
57522
|
(function(t) {
|
|
57523
57523
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.CodeGen = t.Name = t.nil = t.stringify = t.str = t._ = t.KeywordCxt = void 0;
|
|
57524
|
-
var e =
|
|
57524
|
+
var e = jo;
|
|
57525
57525
|
Object.defineProperty(t, "KeywordCxt", { enumerable: !0, get: function() {
|
|
57526
57526
|
return e.KeywordCxt;
|
|
57527
57527
|
} });
|
|
@@ -58642,9 +58642,9 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
58642
58642
|
R8.default = aZe;
|
|
58643
58643
|
var My = {};
|
|
58644
58644
|
Object.defineProperty(My, "__esModule", { value: !0 });
|
|
58645
|
-
const MO = Pt,
|
|
58645
|
+
const MO = Pt, So = wt, sZe = Fi, IO = At, lZe = {
|
|
58646
58646
|
message: "must NOT have additional properties",
|
|
58647
|
-
params: ({ params: t }) => (0,
|
|
58647
|
+
params: ({ params: t }) => (0, So._)`{additionalProperty: ${t.additionalProperty}}`
|
|
58648
58648
|
}, cZe = {
|
|
58649
58649
|
keyword: "additionalProperties",
|
|
58650
58650
|
type: ["object"],
|
|
@@ -58660,7 +58660,7 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
58660
58660
|
if (a.props = !0, l.removeAdditional !== "all" && (0, IO.alwaysValidSchema)(a, r))
|
|
58661
58661
|
return;
|
|
58662
58662
|
const c = (0, MO.allSchemaProperties)(n.properties), u = (0, MO.allSchemaProperties)(n.patternProperties);
|
|
58663
|
-
d(), t.ok((0,
|
|
58663
|
+
d(), t.ok((0, So._)`${o} === ${sZe.default.errors}`);
|
|
58664
58664
|
function d() {
|
|
58665
58665
|
e.forIn("key", i, (g) => {
|
|
58666
58666
|
!c.length && !u.length ? f(g) : e.if(p(g), () => f(g));
|
|
@@ -58672,11 +58672,11 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
58672
58672
|
const w = (0, IO.schemaRefOrVal)(a, n.properties, "properties");
|
|
58673
58673
|
v = (0, MO.isOwnProperty)(e, w, g);
|
|
58674
58674
|
} else
|
|
58675
|
-
c.length ? v = (0,
|
|
58676
|
-
return u.length && (v = (0,
|
|
58675
|
+
c.length ? v = (0, So.or)(...c.map((w) => (0, So._)`${g} === ${w}`)) : v = So.nil;
|
|
58676
|
+
return u.length && (v = (0, So.or)(v, ...u.map((w) => (0, So._)`${(0, MO.usePattern)(t, w)}.test(${g})`))), (0, So.not)(v);
|
|
58677
58677
|
}
|
|
58678
58678
|
function h(g) {
|
|
58679
|
-
e.code((0,
|
|
58679
|
+
e.code((0, So._)`delete ${i}[${g}]`);
|
|
58680
58680
|
}
|
|
58681
58681
|
function f(g) {
|
|
58682
58682
|
if (l.removeAdditional === "all" || l.removeAdditional && r === !1) {
|
|
@@ -58689,9 +58689,9 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
58689
58689
|
}
|
|
58690
58690
|
if (typeof r == "object" && !(0, IO.alwaysValidSchema)(a, r)) {
|
|
58691
58691
|
const v = e.name("valid");
|
|
58692
|
-
l.removeAdditional === "failing" ? (O(g, v, !1), e.if((0,
|
|
58692
|
+
l.removeAdditional === "failing" ? (O(g, v, !1), e.if((0, So.not)(v), () => {
|
|
58693
58693
|
t.reset(), h(g);
|
|
58694
|
-
})) : (O(g, v), s || e.if((0,
|
|
58694
|
+
})) : (O(g, v), s || e.if((0, So.not)(v), () => e.break()));
|
|
58695
58695
|
}
|
|
58696
58696
|
}
|
|
58697
58697
|
function O(g, v, w) {
|
|
@@ -58711,7 +58711,7 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
58711
58711
|
My.default = cZe;
|
|
58712
58712
|
var A8 = {};
|
|
58713
58713
|
Object.defineProperty(A8, "__esModule", { value: !0 });
|
|
58714
|
-
const uZe =
|
|
58714
|
+
const uZe = jo, eA = Pt, hS = At, tA = My, dZe = {
|
|
58715
58715
|
keyword: "properties",
|
|
58716
58716
|
type: "object",
|
|
58717
58717
|
schemaType: "object",
|
|
@@ -60126,7 +60126,7 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
60126
60126
|
}
|
|
60127
60127
|
}
|
|
60128
60128
|
t.exports = e = s, Object.defineProperty(e, "__esModule", { value: !0 }), e.default = s;
|
|
60129
|
-
var l =
|
|
60129
|
+
var l = jo;
|
|
60130
60130
|
Object.defineProperty(e, "KeywordCxt", { enumerable: !0, get: function() {
|
|
60131
60131
|
return l.KeywordCxt;
|
|
60132
60132
|
} });
|
|
@@ -65014,7 +65014,7 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
65014
65014
|
}
|
|
65015
65015
|
}
|
|
65016
65016
|
var Kr = {};
|
|
65017
|
-
const { Ono: zL } = Ja, { stripHash: BL, toFileSystemPath: DIe } =
|
|
65017
|
+
const { Ono: zL } = Ja, { stripHash: BL, toFileSystemPath: DIe } = go, xc = Kr.JSONParserError = class extends Error {
|
|
65018
65018
|
constructor(e, r) {
|
|
65019
65019
|
super(), this.code = "EUNKNOWN", this.message = e, this.source = r, this.path = null, zL.extend(this);
|
|
65020
65020
|
}
|
|
@@ -65128,7 +65128,7 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
65128
65128
|
} else
|
|
65129
65129
|
return e;
|
|
65130
65130
|
}
|
|
65131
|
-
}, Er = {}, E1 = {},
|
|
65131
|
+
}, Er = {}, E1 = {}, bo = {};
|
|
65132
65132
|
function HL(t) {
|
|
65133
65133
|
return typeof t > "u" || t === null;
|
|
65134
65134
|
}
|
|
@@ -65154,12 +65154,12 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
65154
65154
|
function tDe(t) {
|
|
65155
65155
|
return t === 0 && Number.NEGATIVE_INFINITY === 1 / t;
|
|
65156
65156
|
}
|
|
65157
|
-
|
|
65158
|
-
|
|
65159
|
-
|
|
65160
|
-
|
|
65161
|
-
|
|
65162
|
-
|
|
65157
|
+
bo.isNothing = HL;
|
|
65158
|
+
bo.isObject = HIe;
|
|
65159
|
+
bo.toArray = KIe;
|
|
65160
|
+
bo.repeat = eDe;
|
|
65161
|
+
bo.isNegativeZero = tDe;
|
|
65162
|
+
bo.extend = JIe;
|
|
65163
65163
|
function d0(t, e) {
|
|
65164
65164
|
Error.call(this), this.name = "YAMLException", this.reason = t, this.mark = e, this.message = (this.reason || "(unknown reason)") + (this.mark ? " " + this.mark.toString() : ""), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
|
|
65165
65165
|
}
|
|
@@ -65169,7 +65169,7 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
65169
65169
|
var r = this.name + ": ";
|
|
65170
65170
|
return r += this.reason || "(unknown reason)", !e && this.mark && (r += " " + this.mark.toString()), r;
|
|
65171
65171
|
};
|
|
65172
|
-
var R1 = d0, mA =
|
|
65172
|
+
var R1 = d0, mA = bo;
|
|
65173
65173
|
function i6(t, e, r, n, i) {
|
|
65174
65174
|
this.name = t, this.buffer = e, this.position = r, this.line = n, this.column = i;
|
|
65175
65175
|
}
|
|
@@ -65230,7 +65230,7 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
65230
65230
|
}, this.instanceOf = e.instanceOf || null, this.predicate = e.predicate || null, this.represent = e.represent || null, this.defaultStyle = e.defaultStyle || null, this.styleAliases = oDe(e.styleAliases || null), iDe.indexOf(this.kind) === -1)
|
|
65231
65231
|
throw new OA('Unknown kind "' + this.kind + '" is specified for "' + t + '" YAML type.');
|
|
65232
65232
|
}
|
|
65233
|
-
var bn = aDe, gA =
|
|
65233
|
+
var bn = aDe, gA = bo, Jg = R1, sDe = bn;
|
|
65234
65234
|
function wk(t, e, r) {
|
|
65235
65235
|
var n = [];
|
|
65236
65236
|
return t.include.forEach(function(i) {
|
|
@@ -65373,7 +65373,7 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
65373
65373
|
}
|
|
65374
65374
|
},
|
|
65375
65375
|
defaultStyle: "lowercase"
|
|
65376
|
-
}), $De =
|
|
65376
|
+
}), $De = bo, PDe = bn;
|
|
65377
65377
|
function QDe(t) {
|
|
65378
65378
|
return 48 <= t && t <= 57 || 65 <= t && t <= 70 || 97 <= t && t <= 102;
|
|
65379
65379
|
}
|
|
@@ -65468,7 +65468,7 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
65468
65468
|
decimal: [10, "dec"],
|
|
65469
65469
|
hexadecimal: [16, "hex"]
|
|
65470
65470
|
}
|
|
65471
|
-
}), KL =
|
|
65471
|
+
}), KL = bo, XDe = bn, jDe = new RegExp(
|
|
65472
65472
|
// 2.5e4, 2.5 and integers
|
|
65473
65473
|
"^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"
|
|
65474
65474
|
);
|
|
@@ -65799,7 +65799,7 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
65799
65799
|
qNe,
|
|
65800
65800
|
INe
|
|
65801
65801
|
]
|
|
65802
|
-
}), bs =
|
|
65802
|
+
}), bs = bo, iz = R1, DNe = rDe, oz = A1, NNe = Ny, ic = Object.prototype.hasOwnProperty, Ab = 1, az = 2, sz = 3, qb = 4, gS = 1, YNe = 2, vA = 3, WNe = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, LNe = /[\x85\u2028\u2029]/, zNe = /[,\[\]\{\}]/, lz = /^(?:!|!!|![a-z\-]+!)$/i, cz = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
|
|
65803
65803
|
function yA(t) {
|
|
65804
65804
|
return Object.prototype.toString.call(t);
|
|
65805
65805
|
}
|
|
@@ -66206,7 +66206,7 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
66206
66206
|
E1.load = mz;
|
|
66207
66207
|
E1.safeLoadAll = cYe;
|
|
66208
66208
|
E1.safeLoad = uYe;
|
|
66209
|
-
var c6 = {}, q1 =
|
|
66209
|
+
var c6 = {}, q1 = bo, X1 = R1, dYe = Ny, pYe = A1, Oz = Object.prototype.toString, gz = Object.prototype.hasOwnProperty, hYe = 9, p0 = 10, fYe = 13, mYe = 32, OYe = 33, gYe = 34, bz = 35, bYe = 37, vYe = 38, yYe = 39, wYe = 42, vz = 44, SYe = 45, yz = 58, xYe = 61, kYe = 62, _Ye = 63, $Ye = 64, wz = 91, Sz = 93, PYe = 96, xz = 123, QYe = 124, kz = 125, Hn = {};
|
|
66210
66210
|
Hn[0] = "\\0";
|
|
66211
66211
|
Hn[7] = "\\a";
|
|
66212
66212
|
Hn[8] = "\\b";
|
|
@@ -66664,7 +66664,7 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
66664
66664
|
const tWe = {}, rWe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
66665
66665
|
__proto__: null,
|
|
66666
66666
|
default: tWe
|
|
66667
|
-
}, Symbol.toStringTag, { value: "Module" })), nWe = /* @__PURE__ */ kv(rWe), iWe = nWe, { ono: bS } = Ja, RA =
|
|
66667
|
+
}, Symbol.toStringTag, { value: "Module" })), nWe = /* @__PURE__ */ kv(rWe), iWe = nWe, { ono: bS } = Ja, RA = go, { ResolverError: vS } = Kr;
|
|
66668
66668
|
var oWe = {
|
|
66669
66669
|
/**
|
|
66670
66670
|
* The order that this resolver will run, in relation to other resolvers.
|
|
@@ -67170,7 +67170,7 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
67170
67170
|
t.prototype = Object.create(e.prototype), t.prototype.constructor = t, t.__proto__ = e;
|
|
67171
67171
|
}
|
|
67172
67172
|
var Yz = {};
|
|
67173
|
-
function
|
|
67173
|
+
function vo(t, e, r) {
|
|
67174
67174
|
r || (r = Error);
|
|
67175
67175
|
function n(o, a, s) {
|
|
67176
67176
|
return typeof e == "string" ? e : e(o, a, s);
|
|
@@ -67202,10 +67202,10 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
67202
67202
|
function vWe(t, e, r) {
|
|
67203
67203
|
return typeof r != "number" && (r = 0), r + e.length > t.length ? !1 : t.indexOf(e, r) !== -1;
|
|
67204
67204
|
}
|
|
67205
|
-
|
|
67205
|
+
vo("ERR_INVALID_OPT_VALUE", function(t, e) {
|
|
67206
67206
|
return 'The value "' + e + '" is invalid for option "' + t + '"';
|
|
67207
67207
|
}, TypeError);
|
|
67208
|
-
|
|
67208
|
+
vo("ERR_INVALID_ARG_TYPE", function(t, e, r) {
|
|
67209
67209
|
var n;
|
|
67210
67210
|
typeof e == "string" && gWe(e, "not ") ? (n = "must not be", e = e.replace(/^not /, "")) : n = "must be";
|
|
67211
67211
|
var i;
|
|
@@ -67217,22 +67217,22 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
67217
67217
|
}
|
|
67218
67218
|
return i += ". Received type ".concat(typeof r), i;
|
|
67219
67219
|
}, TypeError);
|
|
67220
|
-
|
|
67221
|
-
|
|
67220
|
+
vo("ERR_STREAM_PUSH_AFTER_EOF", "stream.push() after EOF");
|
|
67221
|
+
vo("ERR_METHOD_NOT_IMPLEMENTED", function(t) {
|
|
67222
67222
|
return "The " + t + " method is not implemented";
|
|
67223
67223
|
});
|
|
67224
|
-
|
|
67225
|
-
|
|
67224
|
+
vo("ERR_STREAM_PREMATURE_CLOSE", "Premature close");
|
|
67225
|
+
vo("ERR_STREAM_DESTROYED", function(t) {
|
|
67226
67226
|
return "Cannot call " + t + " after a stream was destroyed";
|
|
67227
67227
|
});
|
|
67228
|
-
|
|
67229
|
-
|
|
67230
|
-
|
|
67231
|
-
|
|
67232
|
-
|
|
67228
|
+
vo("ERR_MULTIPLE_CALLBACK", "Callback called multiple times");
|
|
67229
|
+
vo("ERR_STREAM_CANNOT_PIPE", "Cannot pipe, not readable");
|
|
67230
|
+
vo("ERR_STREAM_WRITE_AFTER_END", "write after end");
|
|
67231
|
+
vo("ERR_STREAM_NULL_VALUES", "May not write null values to stream", TypeError);
|
|
67232
|
+
vo("ERR_UNKNOWN_ENCODING", function(t) {
|
|
67233
67233
|
return "Unknown encoding: " + t;
|
|
67234
67234
|
}, TypeError);
|
|
67235
|
-
|
|
67235
|
+
vo("ERR_STREAM_UNSHIFT_AFTER_END_EVENT", "stream.unshift() after end event");
|
|
67236
67236
|
ld.codes = Yz;
|
|
67237
67237
|
var yWe = ld.codes.ERR_INVALID_OPT_VALUE;
|
|
67238
67238
|
function wWe(t, e, r) {
|
|
@@ -68862,7 +68862,7 @@ ${o}]` : `[${t.join(a)}]`;
|
|
|
68862
68862
|
}
|
|
68863
68863
|
})(tB);
|
|
68864
68864
|
var iLe = tB.exports;
|
|
68865
|
-
const oLe = d6, aLe = iLe, { ono: WO } = Ja, vm =
|
|
68865
|
+
const oLe = d6, aLe = iLe, { ono: WO } = Ja, vm = go, { ResolverError: KA } = Kr;
|
|
68866
68866
|
var sLe = {
|
|
68867
68867
|
/**
|
|
68868
68868
|
* The order that this resolver will run, in relation to other resolvers.
|
|
@@ -69099,7 +69099,7 @@ Too many redirects:
|
|
|
69099
69099
|
if (rq)
|
|
69100
69100
|
return TS;
|
|
69101
69101
|
rq = 1, TS = u;
|
|
69102
|
-
const t = j1(), e =
|
|
69102
|
+
const t = j1(), e = go, { JSONParserError: r, InvalidPointerError: n, MissingPointerError: i, isHandledError: o } = Kr, a = /\//g, s = /~/g, l = /~1/g, c = /~0/g;
|
|
69103
69103
|
function u(f, O, g) {
|
|
69104
69104
|
this.$ref = f, this.path = O, this.originalPath = g || O, this.value = void 0, this.circular = !1, this.indirections = 0;
|
|
69105
69105
|
}
|
|
@@ -69172,7 +69172,7 @@ Cannot set "${O}" of a non-object.`);
|
|
|
69172
69172
|
if (nq)
|
|
69173
69173
|
return CS;
|
|
69174
69174
|
nq = 1, CS = s;
|
|
69175
|
-
const t = Ky(), { InvalidPointerError: e, isHandledError: r, normalizeError: n } = Kr, { safePointerToPath: i, stripHash: o, getHash: a } =
|
|
69175
|
+
const t = Ky(), { InvalidPointerError: e, isHandledError: r, normalizeError: n } = Kr, { safePointerToPath: i, stripHash: o, getHash: a } = go;
|
|
69176
69176
|
function s() {
|
|
69177
69177
|
this.path = void 0, this.value = void 0, this.$refs = void 0, this.pathType = void 0, this.errors = void 0;
|
|
69178
69178
|
}
|
|
@@ -69223,7 +69223,7 @@ Cannot set "${O}" of a non-object.`);
|
|
|
69223
69223
|
return c;
|
|
69224
69224
|
}, CS;
|
|
69225
69225
|
}
|
|
69226
|
-
const { ono: aB } = Ja, SLe = j1(), oc =
|
|
69226
|
+
const { ono: aB } = Ja, SLe = j1(), oc = go;
|
|
69227
69227
|
var xLe = Yo;
|
|
69228
69228
|
function Yo() {
|
|
69229
69229
|
this.circular = !1, this._$refs = {}, this._root$Ref = null;
|
|
@@ -69338,7 +69338,7 @@ Cannot set "${O}" of a non-object.`);
|
|
|
69338
69338
|
}
|
|
69339
69339
|
return o;
|
|
69340
69340
|
}
|
|
69341
|
-
const { ono: Qk } = Ja, iq =
|
|
69341
|
+
const { ono: Qk } = Ja, iq = go, Ul = Z1, { ResolverError: oq, ParserError: aq, UnmatchedParserError: kLe, UnmatchedResolverError: _Le, isHandledError: $Le } = Kr;
|
|
69342
69342
|
var cB = PLe;
|
|
69343
69343
|
async function PLe(t, e, r) {
|
|
69344
69344
|
t = iq.stripHash(t);
|
|
@@ -69380,7 +69380,7 @@ Parsed value is empty`)) : n(u);
|
|
|
69380
69380
|
function CLe(t) {
|
|
69381
69381
|
return t === void 0 || typeof t == "object" && Object.keys(t).length === 0 || typeof t == "string" && t.trim().length === 0 || Z.Buffer.isBuffer(t) && t.length === 0;
|
|
69382
69382
|
}
|
|
69383
|
-
const sq = j1(), ELe = Ky(), RLe = cB, wf =
|
|
69383
|
+
const sq = j1(), ELe = Ky(), RLe = cB, wf = go, { isHandledError: ALe } = Kr;
|
|
69384
69384
|
var qLe = XLe;
|
|
69385
69385
|
function XLe(t, e) {
|
|
69386
69386
|
if (!e.resolve.external)
|
|
@@ -69418,7 +69418,7 @@ Parsed value is empty`)) : n(u);
|
|
|
69418
69418
|
return r._$refs[o] && (a.source = wf.stripHash(e), a.path = wf.safePointerToPath(wf.getHash(e))), [];
|
|
69419
69419
|
}
|
|
69420
69420
|
}
|
|
69421
|
-
const jb = j1(), f0 = Ky(), ES =
|
|
69421
|
+
const jb = j1(), f0 = Ky(), ES = go;
|
|
69422
69422
|
var jLe = ZLe;
|
|
69423
69423
|
function ZLe(t, e) {
|
|
69424
69424
|
let r = [];
|
|
@@ -69510,7 +69510,7 @@ Parsed value is empty`)) : n(u);
|
|
|
69510
69510
|
let r = t.indexOf(e);
|
|
69511
69511
|
t.splice(r, 1);
|
|
69512
69512
|
}
|
|
69513
|
-
const Tk = j1(), uq = Ky(), { ono: ILe } = Ja, DLe =
|
|
69513
|
+
const Tk = j1(), uq = Ky(), { ono: ILe } = Ja, DLe = go;
|
|
69514
69514
|
var uB = NLe;
|
|
69515
69515
|
function NLe(t, e) {
|
|
69516
69516
|
let r = y6(t.schema, t.$refs._root$Ref.path, "#", [], t.$refs, e);
|
|
@@ -69557,7 +69557,7 @@ Parsed value is empty`)) : n(u);
|
|
|
69557
69557
|
throw ILe.reference(`Circular $ref pointer found at ${t}`);
|
|
69558
69558
|
return !0;
|
|
69559
69559
|
}
|
|
69560
|
-
const pB = xLe, YLe = cB, Jy = iB, WLe = qLe, LLe = jLe, zLe = uB, Rd =
|
|
69560
|
+
const pB = xLe, YLe = cB, Jy = iB, WLe = qLe, LLe = jLe, zLe = uB, Rd = go, { JSONParserError: BLe, InvalidPointerError: FLe, MissingPointerError: GLe, ResolverError: HLe, ParserError: KLe, UnmatchedParserError: JLe, UnmatchedResolverError: eze, isHandledError: tze, JSONParserErrorGroup: pq } = Kr, Co = oB, { ono: hq } = Ja;
|
|
69561
69561
|
es.exports = ts;
|
|
69562
69562
|
es.exports.default = ts;
|
|
69563
69563
|
es.exports.JSONParserError = BLe;
|
|
@@ -69578,7 +69578,7 @@ Parsed value is empty`)) : n(u);
|
|
|
69578
69578
|
let o = Jy(arguments), a;
|
|
69579
69579
|
if (!o.path && !o.schema) {
|
|
69580
69580
|
let c = hq(`Expected a file path, URL, or object. Got ${o.path || o.schema}`);
|
|
69581
|
-
return
|
|
69581
|
+
return Co(o.callback, Promise.reject(c));
|
|
69582
69582
|
}
|
|
69583
69583
|
this.schema = null, this.$refs = new pB();
|
|
69584
69584
|
let s = "http";
|
|
@@ -69591,12 +69591,12 @@ Parsed value is empty`)) : n(u);
|
|
|
69591
69591
|
try {
|
|
69592
69592
|
let c = await a;
|
|
69593
69593
|
if (c !== null && typeof c == "object" && !Z.Buffer.isBuffer(c))
|
|
69594
|
-
return l.schema = c,
|
|
69594
|
+
return l.schema = c, Co(o.callback, Promise.resolve(l.schema));
|
|
69595
69595
|
if (o.options.continueOnError)
|
|
69596
|
-
return l.schema = null,
|
|
69596
|
+
return l.schema = null, Co(o.callback, Promise.resolve(l.schema));
|
|
69597
69597
|
throw hq.syntax(`"${l.$refs._root$Ref.path || c}" is not a valid JSON Schema`);
|
|
69598
69598
|
} catch (c) {
|
|
69599
|
-
return !o.options.continueOnError || !tze(c) ?
|
|
69599
|
+
return !o.options.continueOnError || !tze(c) ? Co(o.callback, Promise.reject(c)) : (this.$refs._$refs[Rd.stripHash(o.path)] && this.$refs._$refs[Rd.stripHash(o.path)].addError(c), Co(o.callback, Promise.resolve(null)));
|
|
69600
69600
|
}
|
|
69601
69601
|
};
|
|
69602
69602
|
ts.resolve = function(e, r, n, i) {
|
|
@@ -69606,9 +69606,9 @@ Parsed value is empty`)) : n(u);
|
|
|
69606
69606
|
ts.prototype.resolve = async function(e, r, n, i) {
|
|
69607
69607
|
let o = this, a = Jy(arguments);
|
|
69608
69608
|
try {
|
|
69609
|
-
return await this.parse(a.path, a.schema, a.options), await WLe(o, a.options), w6(o),
|
|
69609
|
+
return await this.parse(a.path, a.schema, a.options), await WLe(o, a.options), w6(o), Co(a.callback, Promise.resolve(o.$refs));
|
|
69610
69610
|
} catch (s) {
|
|
69611
|
-
return
|
|
69611
|
+
return Co(a.callback, Promise.reject(s));
|
|
69612
69612
|
}
|
|
69613
69613
|
};
|
|
69614
69614
|
ts.bundle = function(e, r, n, i) {
|
|
@@ -69618,9 +69618,9 @@ Parsed value is empty`)) : n(u);
|
|
|
69618
69618
|
ts.prototype.bundle = async function(e, r, n, i) {
|
|
69619
69619
|
let o = this, a = Jy(arguments);
|
|
69620
69620
|
try {
|
|
69621
|
-
return await this.resolve(a.path, a.schema, a.options), LLe(o, a.options), w6(o),
|
|
69621
|
+
return await this.resolve(a.path, a.schema, a.options), LLe(o, a.options), w6(o), Co(a.callback, Promise.resolve(o.schema));
|
|
69622
69622
|
} catch (s) {
|
|
69623
|
-
return
|
|
69623
|
+
return Co(a.callback, Promise.reject(s));
|
|
69624
69624
|
}
|
|
69625
69625
|
};
|
|
69626
69626
|
ts.dereference = function(e, r, n, i) {
|
|
@@ -69630,9 +69630,9 @@ Parsed value is empty`)) : n(u);
|
|
|
69630
69630
|
ts.prototype.dereference = async function(e, r, n, i) {
|
|
69631
69631
|
let o = this, a = Jy(arguments);
|
|
69632
69632
|
try {
|
|
69633
|
-
return await this.resolve(a.path, a.schema, a.options), zLe(o, a.options), w6(o),
|
|
69633
|
+
return await this.resolve(a.path, a.schema, a.options), zLe(o, a.options), w6(o), Co(a.callback, Promise.resolve(o.schema));
|
|
69634
69634
|
} catch (s) {
|
|
69635
|
-
return
|
|
69635
|
+
return Co(a.callback, Promise.reject(s));
|
|
69636
69636
|
}
|
|
69637
69637
|
};
|
|
69638
69638
|
function w6(t) {
|
|
@@ -69640,7 +69640,7 @@ Parsed value is empty`)) : n(u);
|
|
|
69640
69640
|
throw new pq(t);
|
|
69641
69641
|
}
|
|
69642
69642
|
var rze = es.exports;
|
|
69643
|
-
const nze = NL, ize = WL, hB = iB, fB = sd, mB = vLe, Zb = oB, { ono:
|
|
69643
|
+
const nze = NL, ize = WL, hB = iB, fB = sd, mB = vLe, Zb = oB, { ono: xo } = Ja, cd = rze, oze = uB;
|
|
69644
69644
|
var aze = rs;
|
|
69645
69645
|
function rs() {
|
|
69646
69646
|
cd.apply(this, arguments);
|
|
@@ -69664,30 +69664,30 @@ Parsed value is empty`)) : n(u);
|
|
|
69664
69664
|
let o = await cd.prototype.parse.call(this, i.path, i.schema, i.options);
|
|
69665
69665
|
if (o.swagger) {
|
|
69666
69666
|
if (o.swagger === void 0 || o.info === void 0 || o.paths === void 0)
|
|
69667
|
-
throw
|
|
69667
|
+
throw xo.syntax(`${i.path || i.schema} is not a valid Swagger API definition`);
|
|
69668
69668
|
if (typeof o.swagger == "number")
|
|
69669
|
-
throw
|
|
69669
|
+
throw xo.syntax('Swagger version number must be a string (e.g. "2.0") not a number.');
|
|
69670
69670
|
if (typeof o.info.version == "number")
|
|
69671
|
-
throw
|
|
69671
|
+
throw xo.syntax('API version number must be a string (e.g. "1.0.0") not a number.');
|
|
69672
69672
|
if (o.swagger !== "2.0")
|
|
69673
|
-
throw
|
|
69673
|
+
throw xo.syntax(`Unrecognized Swagger version: ${o.swagger}. Expected 2.0`);
|
|
69674
69674
|
} else {
|
|
69675
69675
|
let a = ["3.0.0", "3.0.1", "3.0.2", "3.0.3", "3.1.0"];
|
|
69676
69676
|
if (o.openapi === void 0 || o.info === void 0)
|
|
69677
|
-
throw
|
|
69677
|
+
throw xo.syntax(`${i.path || i.schema} is not a valid Openapi API definition`);
|
|
69678
69678
|
if (o.paths === void 0)
|
|
69679
69679
|
if (o.openapi === "3.1.0") {
|
|
69680
69680
|
if (o.webhooks === void 0)
|
|
69681
|
-
throw
|
|
69681
|
+
throw xo.syntax(`${i.path || i.schema} is not a valid Openapi API definition`);
|
|
69682
69682
|
} else
|
|
69683
|
-
throw
|
|
69683
|
+
throw xo.syntax(`${i.path || i.schema} is not a valid Openapi API definition`);
|
|
69684
69684
|
else {
|
|
69685
69685
|
if (typeof o.openapi == "number")
|
|
69686
|
-
throw
|
|
69686
|
+
throw xo.syntax('Openapi version number must be a string (e.g. "3.0.0") not a number.');
|
|
69687
69687
|
if (typeof o.info.version == "number")
|
|
69688
|
-
throw
|
|
69688
|
+
throw xo.syntax('API version number must be a string (e.g. "1.0.0") not a number.');
|
|
69689
69689
|
if (a.indexOf(o.openapi) === -1)
|
|
69690
|
-
throw
|
|
69690
|
+
throw xo.syntax(
|
|
69691
69691
|
`Unsupported OpenAPI version: ${o.openapi}. Swagger Parser only supports versions ${a.join(", ")}`
|
|
69692
69692
|
);
|
|
69693
69693
|
}
|
|
@@ -69712,7 +69712,7 @@ Parsed value is empty`)) : n(u);
|
|
|
69712
69712
|
if (a === !0)
|
|
69713
69713
|
oze(i, o.options);
|
|
69714
69714
|
else if (a === !1)
|
|
69715
|
-
throw
|
|
69715
|
+
throw xo.reference("The API contains circular references");
|
|
69716
69716
|
}
|
|
69717
69717
|
return o.options.validate.spec && ize(i.api), Zb(o.callback, Promise.resolve(i.schema));
|
|
69718
69718
|
} catch (s) {
|
|
@@ -71209,8 +71209,8 @@ Parsed value is empty`)) : n(u);
|
|
|
71209
71209
|
return PFe.load(t);
|
|
71210
71210
|
}
|
|
71211
71211
|
return t;
|
|
71212
|
-
},
|
|
71213
|
-
const e =
|
|
71212
|
+
}, Zo = () => /* @__PURE__ */ new Map(), jk = (t) => {
|
|
71213
|
+
const e = Zo();
|
|
71214
71214
|
return t.forEach((r, n) => {
|
|
71215
71215
|
e.set(n, r);
|
|
71216
71216
|
}), e;
|
|
@@ -71238,7 +71238,7 @@ Parsed value is empty`)) : n(u);
|
|
|
71238
71238
|
}, Zk = Array.isArray;
|
|
71239
71239
|
let nF = class {
|
|
71240
71240
|
constructor() {
|
|
71241
|
-
this._observers =
|
|
71241
|
+
this._observers = Zo();
|
|
71242
71242
|
}
|
|
71243
71243
|
/**
|
|
71244
71244
|
* @param {N} name
|
|
@@ -71275,10 +71275,10 @@ Parsed value is empty`)) : n(u);
|
|
|
71275
71275
|
* @param {Array<any>} args The arguments that are applied to the event listener.
|
|
71276
71276
|
*/
|
|
71277
71277
|
emit(e, r) {
|
|
71278
|
-
return sc((this._observers.get(e) ||
|
|
71278
|
+
return sc((this._observers.get(e) || Zo()).values()).forEach((n) => n(...r));
|
|
71279
71279
|
}
|
|
71280
71280
|
destroy() {
|
|
71281
|
-
this._observers =
|
|
71281
|
+
this._observers = Zo();
|
|
71282
71282
|
}
|
|
71283
71283
|
};
|
|
71284
71284
|
const lc = Math.floor, n2 = Math.abs, iF = (t, e) => t < e ? t : e, ud = (t, e) => t > e ? t : e, oF = (t) => t !== 0 ? t < 0 : 1 / t < 0, jFe = (t) => t.toLowerCase(), ZFe = /^\s*/g, UFe = (t) => t.replace(ZFe, ""), VFe = /([A-Z])/g, Tq = (t, e) => UFe(t.replace(VFe, (r) => `${e}${jFe(r)}`)), MFe = (t) => {
|
|
@@ -71341,7 +71341,7 @@ Parsed value is empty`)) : n(u);
|
|
|
71341
71341
|
const tGe = () => {
|
|
71342
71342
|
if (ra === void 0)
|
|
71343
71343
|
if (y0) {
|
|
71344
|
-
ra =
|
|
71344
|
+
ra = Zo();
|
|
71345
71345
|
const t = Z.process.argv;
|
|
71346
71346
|
let e = null;
|
|
71347
71347
|
for (let r = 0; r < t.length; r++) {
|
|
@@ -71350,12 +71350,12 @@ Parsed value is empty`)) : n(u);
|
|
|
71350
71350
|
}
|
|
71351
71351
|
e !== null && ra.set(e, "");
|
|
71352
71352
|
} else
|
|
71353
|
-
typeof location == "object" ? (ra =
|
|
71353
|
+
typeof location == "object" ? (ra = Zo(), (location.search || "?").slice(1).split("&").forEach((t) => {
|
|
71354
71354
|
if (t.length !== 0) {
|
|
71355
71355
|
const [e, r] = t.split("=");
|
|
71356
71356
|
ra.set(`--${Tq(e, "-")}`, r), ra.set(`-${Tq(e, "-")}`, r);
|
|
71357
71357
|
}
|
|
71358
|
-
})) : ra =
|
|
71358
|
+
})) : ra = Zo();
|
|
71359
71359
|
return ra;
|
|
71360
71360
|
}, Uk = (t) => tGe().has(t), Vk = (t) => Cq(y0 ? Z.process.env[t.toUpperCase()] : WFe.getItem(t)), rGe = (t) => Uk("--" + t) || Vk(t) !== null;
|
|
71361
71361
|
rGe("production");
|
|
@@ -71737,7 +71737,7 @@ Parsed value is empty`)) : n(u);
|
|
|
71737
71737
|
// not well supported in chrome when debugging node with inspector - TODO: deprecate
|
|
71738
71738
|
[ZGe]: ss("color", "black")
|
|
71739
71739
|
}, MGe = (t) => {
|
|
71740
|
-
const e = [], r = [], n =
|
|
71740
|
+
const e = [], r = [], n = Zo();
|
|
71741
71741
|
let i = [], o = 0;
|
|
71742
71742
|
for (; o < t.length; o++) {
|
|
71743
71743
|
const a = t[o], s = VGe[a];
|
|
@@ -72568,7 +72568,7 @@ Parsed value is empty`)) : n(u);
|
|
|
72568
72568
|
);
|
|
72569
72569
|
});
|
|
72570
72570
|
}, FGe = (t, e) => {
|
|
72571
|
-
const r =
|
|
72571
|
+
const r = Zo(), n = Qt(t.restDecoder);
|
|
72572
72572
|
for (let i = 0; i < n; i++) {
|
|
72573
72573
|
const o = Qt(t.restDecoder), a = new Array(o), s = t.readClient();
|
|
72574
72574
|
let l = Qt(t.restDecoder);
|
|
@@ -74548,7 +74548,7 @@ Parsed value is empty`)) : n(u);
|
|
|
74548
74548
|
YF(t, e, r, s);
|
|
74549
74549
|
}, zF = (t, e, r, n, i) => {
|
|
74550
74550
|
let o = e;
|
|
74551
|
-
const a =
|
|
74551
|
+
const a = Zo();
|
|
74552
74552
|
for (; o && (!o.countable || o.deleted); ) {
|
|
74553
74553
|
if (!o.deleted && o.content.constructor === on) {
|
|
74554
74554
|
const c = (
|
|
@@ -74605,7 +74605,7 @@ Parsed value is empty`)) : n(u);
|
|
|
74605
74605
|
let n = (
|
|
74606
74606
|
/** @type {Item} */
|
|
74607
74607
|
t._start
|
|
74608
|
-
), i = t._start, o =
|
|
74608
|
+
), i = t._start, o = Zo();
|
|
74609
74609
|
const a = jk(o);
|
|
74610
74610
|
for (; i; ) {
|
|
74611
74611
|
if (i.deleted === !1)
|
|
@@ -76976,7 +76976,7 @@ Parsed value is empty`)) : n(u);
|
|
|
76976
76976
|
), KF = "__ $YJS$ __";
|
|
76977
76977
|
HF[KF] === !0 && console.error("Yjs was already imported. This breaks constructor checks and will lead to issues! - https://github.com/yjs/yjs/issues/438");
|
|
76978
76978
|
HF[KF] = !0;
|
|
76979
|
-
class
|
|
76979
|
+
class Lt {
|
|
76980
76980
|
/**
|
|
76981
76981
|
Get the line description around the given position.
|
|
76982
76982
|
*/
|
|
@@ -77106,10 +77106,10 @@ Parsed value is empty`)) : n(u);
|
|
|
77106
77106
|
static of(e) {
|
|
77107
77107
|
if (e.length == 0)
|
|
77108
77108
|
throw new RangeError("A document must have at least one line");
|
|
77109
|
-
return e.length == 1 && !e[0] ?
|
|
77109
|
+
return e.length == 1 && !e[0] ? Lt.empty : e.length <= 32 ? new jr(e) : Ta.from(jr.split(e, []));
|
|
77110
77110
|
}
|
|
77111
77111
|
}
|
|
77112
|
-
class jr extends
|
|
77112
|
+
class jr extends Lt {
|
|
77113
77113
|
constructor(e, r = lKe(e)) {
|
|
77114
77114
|
super(), this.text = e, this.length = r;
|
|
77115
77115
|
}
|
|
@@ -77169,7 +77169,7 @@ Parsed value is empty`)) : n(u);
|
|
|
77169
77169
|
return i > -1 && r.push(new jr(n, i)), r;
|
|
77170
77170
|
}
|
|
77171
77171
|
}
|
|
77172
|
-
class Ta extends
|
|
77172
|
+
class Ta extends Lt {
|
|
77173
77173
|
constructor(e, r) {
|
|
77174
77174
|
super(), this.children = e, this.length = r, this.lines = 0;
|
|
77175
77175
|
for (let n of e)
|
|
@@ -77266,7 +77266,7 @@ Parsed value is empty`)) : n(u);
|
|
|
77266
77266
|
return p(), s.length == 1 ? s[0] : new Ta(s, r);
|
|
77267
77267
|
}
|
|
77268
77268
|
}
|
|
77269
|
-
|
|
77269
|
+
Lt.empty = /* @__PURE__ */ new jr([""], 0);
|
|
77270
77270
|
function lKe(t) {
|
|
77271
77271
|
let e = -1;
|
|
77272
77272
|
for (let r of t)
|
|
@@ -77346,7 +77346,7 @@ Parsed value is empty`)) : n(u);
|
|
|
77346
77346
|
return !1;
|
|
77347
77347
|
}
|
|
77348
77348
|
}
|
|
77349
|
-
typeof Symbol < "u" && (
|
|
77349
|
+
typeof Symbol < "u" && (Lt.prototype[Symbol.iterator] = function() {
|
|
77350
77350
|
return this.iter();
|
|
77351
77351
|
}, wm.prototype[Symbol.iterator] = JF.prototype[Symbol.iterator] = eG.prototype[Symbol.iterator] = function() {
|
|
77352
77352
|
return this;
|
|
@@ -77621,8 +77621,8 @@ Parsed value is empty`)) : n(u);
|
|
|
77621
77621
|
r[i] = s, r[i + 1] = a;
|
|
77622
77622
|
let l = i >> 1;
|
|
77623
77623
|
for (; n.length < l; )
|
|
77624
|
-
n.push(
|
|
77625
|
-
n.push(a ? e.slice(o, o + a) :
|
|
77624
|
+
n.push(Lt.empty);
|
|
77625
|
+
n.push(a ? e.slice(o, o + a) : Lt.empty);
|
|
77626
77626
|
}
|
|
77627
77627
|
o += a;
|
|
77628
77628
|
}
|
|
@@ -77737,7 +77737,7 @@ Parsed value is empty`)) : n(u);
|
|
|
77737
77737
|
let { from: d, to: p = d, insert: h } = u;
|
|
77738
77738
|
if (d > p || d < 0 || p > r)
|
|
77739
77739
|
throw new RangeError(`Invalid change range ${d} to ${p} (in doc of length ${r})`);
|
|
77740
|
-
let f = h ? typeof h == "string" ?
|
|
77740
|
+
let f = h ? typeof h == "string" ? Lt.of(h.split(n || Hk)) : h : Lt.empty, O = f.length;
|
|
77741
77741
|
if (d == p && O == 0)
|
|
77742
77742
|
return;
|
|
77743
77743
|
d < a && l(), d > a && qn(i, d - a, -1), qn(i, p - d, O), Ml(o, i, f), a = p;
|
|
@@ -77770,8 +77770,8 @@ Parsed value is empty`)) : n(u);
|
|
|
77770
77770
|
r.push(o[0], 0);
|
|
77771
77771
|
else {
|
|
77772
77772
|
for (; n.length < i; )
|
|
77773
|
-
n.push(
|
|
77774
|
-
n[i] =
|
|
77773
|
+
n.push(Lt.empty);
|
|
77774
|
+
n[i] = Lt.of(o.slice(1)), r.push(o[0], n[i].length);
|
|
77775
77775
|
}
|
|
77776
77776
|
}
|
|
77777
77777
|
}
|
|
@@ -77798,7 +77798,7 @@ Parsed value is empty`)) : n(u);
|
|
|
77798
77798
|
t[t.length - 1] = t[t.length - 1].append(r);
|
|
77799
77799
|
else {
|
|
77800
77800
|
for (; t.length < n; )
|
|
77801
|
-
t.push(
|
|
77801
|
+
t.push(Lt.empty);
|
|
77802
77802
|
t.push(r);
|
|
77803
77803
|
}
|
|
77804
77804
|
}
|
|
@@ -77809,7 +77809,7 @@ Parsed value is empty`)) : n(u);
|
|
|
77809
77809
|
if (l < 0)
|
|
77810
77810
|
i += s, o += s;
|
|
77811
77811
|
else {
|
|
77812
|
-
let c = i, u = o, d =
|
|
77812
|
+
let c = i, u = o, d = Lt.empty;
|
|
77813
77813
|
for (; c += s, u += l, l && n && (d = d.append(n[a - 2 >> 1])), !(r || a == t.sections.length || t.sections[a + 1] < 0); )
|
|
77814
77814
|
s = t.sections[a++], l = t.sections[a++];
|
|
77815
77815
|
e(i, c, o, u, d), i = c, o = u;
|
|
@@ -77886,11 +77886,11 @@ Parsed value is empty`)) : n(u);
|
|
|
77886
77886
|
}
|
|
77887
77887
|
get text() {
|
|
77888
77888
|
let { inserted: e } = this.set, r = this.i - 2 >> 1;
|
|
77889
|
-
return r >= e.length ?
|
|
77889
|
+
return r >= e.length ? Lt.empty : e[r];
|
|
77890
77890
|
}
|
|
77891
77891
|
textBit(e) {
|
|
77892
77892
|
let { inserted: r } = this.set, n = this.i - 2 >> 1;
|
|
77893
|
-
return n >= r.length && !e ?
|
|
77893
|
+
return n >= r.length && !e ? Lt.empty : r[n].slice(this.off, e == null ? void 0 : this.off + e);
|
|
77894
77894
|
}
|
|
77895
77895
|
forward(e) {
|
|
77896
77896
|
e == this.len ? this.next() : (this.len -= e, this.off += e);
|
|
@@ -78828,7 +78828,7 @@ Parsed value is empty`)) : n(u);
|
|
|
78828
78828
|
[`Text`](https://codemirror.net/6/docs/ref/#state.Text) instance from the given string.
|
|
78829
78829
|
*/
|
|
78830
78830
|
toText(e) {
|
|
78831
|
-
return
|
|
78831
|
+
return Lt.of(e.split(this.facet(Ht.lineSeparator) || Hk));
|
|
78832
78832
|
}
|
|
78833
78833
|
/**
|
|
78834
78834
|
Return the given range of the document as a string.
|
|
@@ -78890,7 +78890,7 @@ Parsed value is empty`)) : n(u);
|
|
|
78890
78890
|
transactions.
|
|
78891
78891
|
*/
|
|
78892
78892
|
static create(e = {}) {
|
|
78893
|
-
let r = Hb.resolve(e.extensions || [], /* @__PURE__ */ new Map()), n = e.doc instanceof
|
|
78893
|
+
let r = Hb.resolve(e.extensions || [], /* @__PURE__ */ new Map()), n = e.doc instanceof Lt ? e.doc : Lt.of((e.doc || "").split(r.staticFacet(Ht.lineSeparator) || Hk)), i = e.selection ? e.selection instanceof Le ? e.selection : Le.single(e.selection.anchor, e.selection.head) : Le.single(0);
|
|
78894
78894
|
return oG(i, n.length), r.staticFacet(lG) || (i = i.asSingle()), new Ht(r, n, i, r.dynamicSlots.map(() => null), (o, a) => a.create(o), null);
|
|
78895
78895
|
}
|
|
78896
78896
|
/**
|
|
@@ -80977,7 +80977,7 @@ ul,
|
|
|
80977
80977
|
}
|
|
80978
80978
|
}
|
|
80979
80979
|
|
|
80980
|
-
.swagger-editor[data-v-
|
|
80980
|
+
.swagger-editor[data-v-a561208c] {
|
|
80981
80981
|
min-width: 0;
|
|
80982
80982
|
min-height: 0;
|
|
80983
80983
|
|
|
@@ -98457,7 +98457,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
98457
98457
|
`), "", "You can apply a few solutions:", ['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".', "Render a single element as the child so that we can forward the props onto that element."].map((O) => ` - ${O}`).join(`
|
|
98458
98458
|
`)].join(`
|
|
98459
98459
|
`));
|
|
98460
|
-
let h = xG((a = d.props) != null ? a : {}, l), f =
|
|
98460
|
+
let h = xG((a = d.props) != null ? a : {}, l), f = Vo(d, h);
|
|
98461
98461
|
for (let O in h)
|
|
98462
98462
|
O.startsWith("on") && (f.props || (f.props = {}), f.props[O] = h[O]);
|
|
98463
98463
|
return f;
|
|
@@ -99517,7 +99517,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
99517
99517
|
onClick: u[1] || (u[1] = (d) => e("updateActiveTab", "Swagger Editor"))
|
|
99518
99518
|
}, ntt, 2)
|
|
99519
99519
|
]),
|
|
99520
|
-
|
|
99520
|
+
Ft(U("div", itt, [
|
|
99521
99521
|
ott,
|
|
99522
99522
|
U("div", null, [
|
|
99523
99523
|
U("button", {
|
|
@@ -99541,7 +99541,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
99541
99541
|
}, " Example ")
|
|
99542
99542
|
])
|
|
99543
99543
|
], 512), [
|
|
99544
|
-
[
|
|
99544
|
+
[Mo, c.activeTab === "Swagger Editor"]
|
|
99545
99545
|
]),
|
|
99546
99546
|
we(K(qet), {
|
|
99547
99547
|
state: K(o),
|
|
@@ -101054,7 +101054,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
101054
101054
|
(function(t) {
|
|
101055
101055
|
t[t.ExcludeBuffers = 1] = "ExcludeBuffers", t[t.IncludeAnonymous = 2] = "IncludeAnonymous", t[t.IgnoreMounts = 4] = "IgnoreMounts", t[t.IgnoreOverlays = 8] = "IgnoreOverlays";
|
|
101056
101056
|
})(sr || (sr = {}));
|
|
101057
|
-
class
|
|
101057
|
+
class Bt {
|
|
101058
101058
|
/**
|
|
101059
101059
|
Construct a new tree. See also [`Tree.build`](#common.Tree^build).
|
|
101060
101060
|
*/
|
|
@@ -101187,7 +101187,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
101187
101187
|
[`NodeType.none`](#common.NodeType^none).
|
|
101188
101188
|
*/
|
|
101189
101189
|
balance(e = {}) {
|
|
101190
|
-
return this.children.length <= 8 ? this : cP(Bn.none, this.children, this.positions, 0, this.children.length, 0, this.length, (r, n, i) => new
|
|
101190
|
+
return this.children.length <= 8 ? this : cP(Bn.none, this.children, this.positions, 0, this.children.length, 0, this.length, (r, n, i) => new Bt(this.type, r, n, i, this.propValues), e.makeTree || ((r, n, i) => new Bt(Bn.none, r, n, i)));
|
|
101191
101191
|
}
|
|
101192
101192
|
/**
|
|
101193
101193
|
Build a tree from a postfix-ordered buffer of node information,
|
|
@@ -101197,7 +101197,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
101197
101197
|
return cnt(e);
|
|
101198
101198
|
}
|
|
101199
101199
|
}
|
|
101200
|
-
|
|
101200
|
+
Bt.empty = new Bt(Bn.none, [], [], 0);
|
|
101201
101201
|
class sP {
|
|
101202
101202
|
constructor(e, r) {
|
|
101203
101203
|
this.buffer = e, this.index = r;
|
|
@@ -101598,7 +101598,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
101598
101598
|
let a = n.buffer[this.index + 1];
|
|
101599
101599
|
e.push(n.slice(i, o, a)), r.push(0);
|
|
101600
101600
|
}
|
|
101601
|
-
return new
|
|
101601
|
+
return new Bt(this.type, e, r, this.to - this.from);
|
|
101602
101602
|
}
|
|
101603
101603
|
/**
|
|
101604
101604
|
@internal
|
|
@@ -101981,7 +101981,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
101981
101981
|
function p(x) {
|
|
101982
101982
|
return (P, k, A) => {
|
|
101983
101983
|
let M = 0, L = P.length - 1, T, W;
|
|
101984
|
-
if (L >= 0 && (T = P[L]) instanceof
|
|
101984
|
+
if (L >= 0 && (T = P[L]) instanceof Bt) {
|
|
101985
101985
|
if (!L && T.type == x && T.length == A)
|
|
101986
101986
|
return T;
|
|
101987
101987
|
(W = T.prop(Yt.lookAhead)) && (M = k[L] + T.length + W);
|
|
@@ -102004,7 +102004,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
102004
102004
|
let T = [Yt.lookAhead, M];
|
|
102005
102005
|
L = L ? [T].concat(L) : [T];
|
|
102006
102006
|
}
|
|
102007
|
-
return new
|
|
102007
|
+
return new Bt(x, P, k, A, L);
|
|
102008
102008
|
}
|
|
102009
102009
|
function O(x, P) {
|
|
102010
102010
|
let k = s.fork(), A = 0, M = 0, L = 0, T = k.end - i, W = { size: 0, start: 0, skip: 0 };
|
|
@@ -102051,7 +102051,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
102051
102051
|
for (; s.pos > 0; )
|
|
102052
102052
|
d(t.start || 0, t.bufferStart || 0, v, w, -1);
|
|
102053
102053
|
let S = (e = t.length) !== null && e !== void 0 ? e : v.length ? w[0] + v[0].length : 0;
|
|
102054
|
-
return new
|
|
102054
|
+
return new Bt(l[t.topID], v.reverse(), w.reverse(), S);
|
|
102055
102055
|
}
|
|
102056
102056
|
const qX = /* @__PURE__ */ new WeakMap();
|
|
102057
102057
|
function f2(t, e) {
|
|
@@ -102061,7 +102061,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
102061
102061
|
if (r == null) {
|
|
102062
102062
|
r = 1;
|
|
102063
102063
|
for (let n of e.children) {
|
|
102064
|
-
if (n.type != t || !(n instanceof
|
|
102064
|
+
if (n.type != t || !(n instanceof Bt)) {
|
|
102065
102065
|
r = 1;
|
|
102066
102066
|
break;
|
|
102067
102067
|
}
|
|
@@ -102284,7 +102284,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
102284
102284
|
}
|
|
102285
102285
|
if (this.innerDone == this.inner.length) {
|
|
102286
102286
|
let n = this.baseTree;
|
|
102287
|
-
return this.stoppedAt != null && (n = new
|
|
102287
|
+
return this.stoppedAt != null && (n = new Bt(n.type, n.children, n.positions, n.length, n.propValues.concat([[S7, this.stoppedAt]]))), n;
|
|
102288
102288
|
}
|
|
102289
102289
|
let e = this.inner[this.innerDone], r = e.parse.advance();
|
|
102290
102290
|
if (r) {
|
|
@@ -102383,7 +102383,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
102383
102383
|
let O = [], g = [];
|
|
102384
102384
|
jX(a, c, f, O, g, p);
|
|
102385
102385
|
let v = s[f + 1], w = s[f + 2], S = v + o == e.from && w + o == e.to && s[f] == e.type.id;
|
|
102386
|
-
return O.push(S ? e.toTree() : l(f + 4, s[f + 3], a.set.types[s[f]], v, w - v)), g.push(v - p), jX(a, s[f + 3], u, O, g, p), new
|
|
102386
|
+
return O.push(S ? e.toTree() : l(f + 4, s[f + 3], a.set.types[s[f]], v, w - v)), g.push(v - p), jX(a, s[f + 3], u, O, g, p), new Bt(d, O, g, h);
|
|
102387
102387
|
}
|
|
102388
102388
|
i.children[n] = l(0, s.length, Bn.none, 0, a.length);
|
|
102389
102389
|
for (let c = 0; c <= r; c++)
|
|
@@ -102404,7 +102404,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
102404
102404
|
for (let r = this.cursor.tree; ; ) {
|
|
102405
102405
|
if (r == e.tree)
|
|
102406
102406
|
return !0;
|
|
102407
|
-
if (r.children.length && r.positions[0] == 0 && r.children[0] instanceof
|
|
102407
|
+
if (r.children.length && r.positions[0] == 0 && r.children[0] instanceof Bt)
|
|
102408
102408
|
r = r.children[0];
|
|
102409
102409
|
else
|
|
102410
102410
|
break;
|
|
@@ -103222,7 +103222,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
103222
103222
|
let o = n.children[i], a = this.start[r] + n.positions[i];
|
|
103223
103223
|
if (a > e)
|
|
103224
103224
|
return this.nextStart = a, null;
|
|
103225
|
-
if (o instanceof
|
|
103225
|
+
if (o instanceof Bt) {
|
|
103226
103226
|
if (a == e) {
|
|
103227
103227
|
if (a < this.safeFrom)
|
|
103228
103228
|
return null;
|
|
@@ -103414,10 +103414,10 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
103414
103414
|
let p = this.parser.nodeSet.types[d.type.id] == d.type ? o.getGoto(e.state, d.type.id) : -1;
|
|
103415
103415
|
if (p > -1 && d.length && (!c || (d.prop(Yt.contextHash) || 0) == u))
|
|
103416
103416
|
return e.useNode(d, p), Ei && console.log(a + this.stackID(e) + ` (via reuse of ${o.getName(d.type.id)})`), !0;
|
|
103417
|
-
if (!(d instanceof
|
|
103417
|
+
if (!(d instanceof Bt) || d.children.length == 0 || d.positions[0] > 0)
|
|
103418
103418
|
break;
|
|
103419
103419
|
let h = d.children[0];
|
|
103420
|
-
if (h instanceof
|
|
103420
|
+
if (h instanceof Bt && d.positions[0] == 0)
|
|
103421
103421
|
d = h;
|
|
103422
103422
|
else
|
|
103423
103423
|
break;
|
|
@@ -103477,7 +103477,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
103477
103477
|
}
|
|
103478
103478
|
// Convert the stack's buffer to a syntax tree.
|
|
103479
103479
|
stackToTree(e) {
|
|
103480
|
-
return e.close(),
|
|
103480
|
+
return e.close(), Bt.build({
|
|
103481
103481
|
buffer: av.create(e),
|
|
103482
103482
|
nodeSet: this.parser.nodeSet,
|
|
103483
103483
|
topID: this.topTerm,
|
|
@@ -105603,12 +105603,12 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
105603
105603
|
}
|
|
105604
105604
|
get overrideDOMText() {
|
|
105605
105605
|
if (this.length == 0)
|
|
105606
|
-
return
|
|
105606
|
+
return Lt.empty;
|
|
105607
105607
|
let e = this;
|
|
105608
105608
|
for (; e.parent; )
|
|
105609
105609
|
e = e.parent;
|
|
105610
105610
|
let { view: r } = e, n = r && r.state.doc, i = this.posAtStart;
|
|
105611
|
-
return n ? n.slice(i, i + this.length) :
|
|
105611
|
+
return n ? n.slice(i, i + this.length) : Lt.empty;
|
|
105612
105612
|
}
|
|
105613
105613
|
domAtPos(e) {
|
|
105614
105614
|
return (this.length ? e == 0 : this.side > 0) ? Un.before(this.dom) : Un.after(this.dom, e == this.length);
|
|
@@ -105679,7 +105679,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
105679
105679
|
return this.dom.getBoundingClientRect();
|
|
105680
105680
|
}
|
|
105681
105681
|
get overrideDOMText() {
|
|
105682
|
-
return
|
|
105682
|
+
return Lt.empty;
|
|
105683
105683
|
}
|
|
105684
105684
|
get isHidden() {
|
|
105685
105685
|
return !0;
|
|
@@ -105897,7 +105897,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
105897
105897
|
(!this.dom || !this.widget.updateDOM(this.dom, e)) && (this.dom && this.prevWidget && this.prevWidget.destroy(this.dom), this.prevWidget = null, this.setDOM(this.widget.toDOM(e)), this.dom.contentEditable = "false");
|
|
105898
105898
|
}
|
|
105899
105899
|
get overrideDOMText() {
|
|
105900
|
-
return this.parent ? this.parent.view.state.doc.slice(this.posAtStart, this.posAtEnd) :
|
|
105900
|
+
return this.parent ? this.parent.view.state.doc.slice(this.posAtStart, this.posAtEnd) : Lt.empty;
|
|
105901
105901
|
}
|
|
105902
105902
|
domBoundsAround() {
|
|
105903
105903
|
return null;
|
|
@@ -106006,9 +106006,9 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
106006
106006
|
destroy(e) {
|
|
106007
106007
|
}
|
|
106008
106008
|
}
|
|
106009
|
-
var
|
|
106009
|
+
var Uo = /* @__PURE__ */ function(t) {
|
|
106010
106010
|
return t[t.Text = 0] = "Text", t[t.WidgetBefore = 1] = "WidgetBefore", t[t.WidgetAfter = 2] = "WidgetAfter", t[t.WidgetRange = 3] = "WidgetRange", t;
|
|
106011
|
-
}(
|
|
106011
|
+
}(Uo || (Uo = {}));
|
|
106012
106012
|
class $r extends Fu {
|
|
106013
106013
|
constructor(e, r, n, i) {
|
|
106014
106014
|
super(), this.startSide = e, this.endSide = r, this.widget = n, this.spec = i;
|
|
@@ -106113,7 +106113,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
106113
106113
|
}
|
|
106114
106114
|
// Only relevant when this.block == true
|
|
106115
106115
|
get type() {
|
|
106116
|
-
return this.startSide != this.endSide ?
|
|
106116
|
+
return this.startSide != this.endSide ? Uo.WidgetRange : this.startSide <= 0 ? Uo.WidgetBefore : Uo.WidgetAfter;
|
|
106117
106117
|
}
|
|
106118
106118
|
get heightRelevant() {
|
|
106119
106119
|
return this.block || !!this.widget && (this.widget.estimatedHeight >= 5 || this.widget.lineBreaks > 0);
|
|
@@ -106254,7 +106254,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
106254
106254
|
const g5 = /* @__PURE__ */ ht.define({ combine: (t) => t.length ? t[0] : !0 });
|
|
106255
106255
|
let Kit = 0;
|
|
106256
106256
|
const Hf = /* @__PURE__ */ ht.define();
|
|
106257
|
-
class
|
|
106257
|
+
class mo {
|
|
106258
106258
|
constructor(e, r, n, i, o) {
|
|
106259
106259
|
this.id = e, this.create = r, this.domEventHandlers = n, this.domEventObservers = i, this.extension = o(this);
|
|
106260
106260
|
}
|
|
@@ -106264,7 +106264,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
106264
106264
|
*/
|
|
106265
106265
|
static define(e, r) {
|
|
106266
106266
|
const { eventHandlers: n, eventObservers: i, provide: o, decorations: a } = r || {};
|
|
106267
|
-
return new
|
|
106267
|
+
return new mo(Kit++, e, n, i, (s) => {
|
|
106268
106268
|
let l = [Hf.of(s)];
|
|
106269
106269
|
return a && l.push(M0.of((c) => {
|
|
106270
106270
|
let u = c.plugin(s);
|
|
@@ -106277,7 +106277,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
106277
106277
|
editor view as argument.
|
|
106278
106278
|
*/
|
|
106279
106279
|
static fromClass(e, r) {
|
|
106280
|
-
return
|
|
106280
|
+
return mo.define((n) => new e(n), r);
|
|
106281
106281
|
}
|
|
106282
106282
|
}
|
|
106283
106283
|
class n3 {
|
|
@@ -107235,7 +107235,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
107235
107235
|
return 0;
|
|
107236
107236
|
if (p > c)
|
|
107237
107237
|
return t.state.doc.length;
|
|
107238
|
-
for (let x = t.viewState.heightOracle.textHeight / 2, P = !1; l = t.elementAtHeight(p), l.type !=
|
|
107238
|
+
for (let x = t.viewState.heightOracle.textHeight / 2, P = !1; l = t.elementAtHeight(p), l.type != Uo.Text; )
|
|
107239
107239
|
for (; p = n > 0 ? l.bottom + x : l.top - x, !(p >= 0 && p <= c); ) {
|
|
107240
107240
|
if (P)
|
|
107241
107241
|
return r ? null : 0;
|
|
@@ -107310,13 +107310,13 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
107310
107310
|
let r = t.lineBlockAt(e);
|
|
107311
107311
|
if (Array.isArray(r.type)) {
|
|
107312
107312
|
for (let n of r.type)
|
|
107313
|
-
if (n.to > e || n.to == e && (n.to == r.to || n.type ==
|
|
107313
|
+
if (n.to > e || n.to == e && (n.to == r.to || n.type == Uo.Text))
|
|
107314
107314
|
return n;
|
|
107315
107315
|
}
|
|
107316
107316
|
return r;
|
|
107317
107317
|
}
|
|
107318
107318
|
function wot(t, e, r, n) {
|
|
107319
|
-
let i = yot(t, e.head), o = !n || i.type !=
|
|
107319
|
+
let i = yot(t, e.head), o = !n || i.type != Uo.Text || !(t.lineWrapping || i.widgetLineBreaks) ? null : t.coordsAtPos(e.assoc < 0 && e.head > i.from ? e.head - 1 : e.head);
|
|
107320
107320
|
if (o) {
|
|
107321
107321
|
let a = t.dom.getBoundingClientRect(), s = t.textDirectionAt(i.from), l = t.posAtCoords({
|
|
107322
107322
|
x: r == (s == Yn.LTR) ? a.right - 1 : a.left + 1,
|
|
@@ -107861,7 +107861,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
107861
107861
|
const Aj = ["pre-wrap", "normal", "pre-line", "break-spaces"];
|
|
107862
107862
|
class Iot {
|
|
107863
107863
|
constructor(e) {
|
|
107864
|
-
this.lineWrapping = e, this.doc =
|
|
107864
|
+
this.lineWrapping = e, this.doc = Lt.empty, this.heightSamples = {}, this.lineHeight = 14, this.charWidth = 7, this.textHeight = 14, this.lineLength = 30, this.heightChanged = !1;
|
|
107865
107865
|
}
|
|
107866
107866
|
heightForGap(e, r) {
|
|
107867
107867
|
let n = this.doc.lineAt(r).number - this.doc.lineAt(e).number + 1;
|
|
@@ -107916,7 +107916,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
107916
107916
|
an array of all the blocks that make up the line.
|
|
107917
107917
|
*/
|
|
107918
107918
|
get type() {
|
|
107919
|
-
return typeof this._content == "number" ?
|
|
107919
|
+
return typeof this._content == "number" ? Uo.Text : Array.isArray(this._content) ? this._content : this._content.type;
|
|
107920
107920
|
}
|
|
107921
107921
|
/**
|
|
107922
107922
|
The end of the element as a document position.
|
|
@@ -108376,7 +108376,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
108376
108376
|
constructor(e) {
|
|
108377
108377
|
this.state = e, this.pixelViewport = { left: 0, right: window.innerWidth, top: 0, bottom: 0 }, this.inView = !0, this.paddingTop = 0, this.paddingBottom = 0, this.contentDOMWidth = 0, this.contentDOMHeight = 0, this.editorHeight = 0, this.editorWidth = 0, this.scrollTop = 0, this.scrolledToBottom = !0, this.scaleX = 1, this.scaleY = 1, this.scrollAnchorPos = 0, this.scrollAnchorHeight = -1, this.scaler = jj, this.scrollTarget = null, this.printing = !1, this.mustMeasureContent = !0, this.defaultTextDirection = Yn.LTR, this.visibleRanges = [], this.mustEnforceCursorAssoc = !1;
|
|
108378
108378
|
let r = e.facet(bP).some((n) => typeof n != "function" && n.class == "cm-lineWrapping");
|
|
108379
|
-
this.heightOracle = new Iot(r), this.stateDeco = e.facet(M0).filter((n) => typeof n != "function"), this.heightMap = mi.empty().applyChanges(this.stateDeco,
|
|
108379
|
+
this.heightOracle = new Iot(r), this.stateDeco = e.facet(M0).filter((n) => typeof n != "function"), this.heightMap = mi.empty().applyChanges(this.stateDeco, Lt.empty, this.heightOracle.setDoc(e.doc), [new fo(0, 0, 0, e.doc.length)]), this.viewport = this.getViewport(0, null), this.updateViewportLines(), this.updateForViewport(), this.lineGaps = this.ensureLineGaps([]), this.lineGapDeco = $r.set(this.lineGaps.map((n) => n.draw(this, !1))), this.computeVisibleRanges();
|
|
108380
108380
|
}
|
|
108381
108381
|
updateForViewport() {
|
|
108382
108382
|
let e = [this.viewport], { main: r } = this.state.selection;
|
|
@@ -108434,7 +108434,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
108434
108434
|
O > 0 && g > 0 ? u = Math.max(O, g) : O < 0 && g < 0 && (u = Math.min(O, g)), i.heightChanged = !1;
|
|
108435
108435
|
for (let P of this.viewports) {
|
|
108436
108436
|
let k = P.from == this.viewport.from ? x : e.docView.measureVisibleLineHeights(P);
|
|
108437
|
-
this.heightMap = (a ? mi.empty().applyChanges(this.stateDeco,
|
|
108437
|
+
this.heightMap = (a ? mi.empty().applyChanges(this.stateDeco, Lt.empty, this.heightOracle, [new fo(0, 0, 0, e.state.doc.length)]) : this.heightMap).updateHeight(i, 0, a, new Dot(P.from, k));
|
|
108438
108438
|
}
|
|
108439
108439
|
i.heightChanged && (c |= 2);
|
|
108440
108440
|
}
|
|
@@ -109017,7 +109017,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
109017
109017
|
u && (nt.chrome && o == 13 && u.toB == u.from + 2 && e.text.slice(u.from, u.toB) == em + em && u.toB--, r = {
|
|
109018
109018
|
from: a + u.from,
|
|
109019
109019
|
to: a + u.toA,
|
|
109020
|
-
insert:
|
|
109020
|
+
insert: Lt.of(e.text.slice(u.from, u.toB).split(em))
|
|
109021
109021
|
});
|
|
109022
109022
|
} else
|
|
109023
109023
|
n && (!t.hasFocus && t.state.facet(g5) || n.main.eq(i)) && (n = null);
|
|
@@ -109027,8 +109027,8 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
109027
109027
|
from: i.from,
|
|
109028
109028
|
to: i.to,
|
|
109029
109029
|
insert: t.state.doc.slice(i.from, r.from).append(r.insert).append(t.state.doc.slice(r.to, i.to))
|
|
109030
|
-
} : (nt.mac || nt.android) && r && r.from == r.to && r.from == i.head - 1 && /^\. ?$/.test(r.insert.toString()) && t.contentDOM.getAttribute("autocorrect") == "off" ? (n && r.insert.length == 2 && (n = Le.single(n.main.anchor - 1, n.main.head - 1)), r = { from: i.from, to: i.to, insert:
|
|
109031
|
-
` && t.lineWrapping && (n && (n = Le.single(n.main.anchor - 1, n.main.head - 1)), r = { from: i.from, to: i.to, insert:
|
|
109030
|
+
} : (nt.mac || nt.android) && r && r.from == r.to && r.from == i.head - 1 && /^\. ?$/.test(r.insert.toString()) && t.contentDOM.getAttribute("autocorrect") == "off" ? (n && r.insert.length == 2 && (n = Le.single(n.main.anchor - 1, n.main.head - 1)), r = { from: i.from, to: i.to, insert: Lt.of([" "]) }) : nt.chrome && r && r.from == r.to && r.from == i.head && r.insert.toString() == `
|
|
109031
|
+
` && t.lineWrapping && (n && (n = Le.single(n.main.anchor - 1, n.main.head - 1)), r = { from: i.from, to: i.to, insert: Lt.of([" "]) }), r) {
|
|
109032
109032
|
if (nt.ios && t.inputState.flushIOSKey() || nt.android && (r.from == i.from && r.to == i.to && r.insert.length == 1 && r.insert.lines == 2 && Ep(t.contentDOM, "Enter", 13) || (r.from == i.from - 1 && r.to == i.to && r.insert.length == 0 || o == 8 && r.insert.length < r.to - r.from && r.to > i.head) && Ep(t.contentDOM, "Backspace", 8) || r.from == i.from && r.to == i.to + 1 && r.insert.length == 0 && Ep(t.contentDOM, "Delete", 46)))
|
|
109033
109033
|
return !0;
|
|
109034
109034
|
let a = r.insert.toString();
|
|
@@ -109974,7 +109974,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
109974
109974
|
its parent nodes is scrolled.
|
|
109975
109975
|
*/
|
|
109976
109976
|
static domEventHandlers(e) {
|
|
109977
|
-
return
|
|
109977
|
+
return mo.define(() => ({}), { eventHandlers: e });
|
|
109978
109978
|
}
|
|
109979
109979
|
/**
|
|
109980
109980
|
Create an extension that registers DOM event observers. Contrary
|
|
@@ -109985,7 +109985,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
109985
109985
|
call `preventDefault`.
|
|
109986
109986
|
*/
|
|
109987
109987
|
static domEventObservers(e) {
|
|
109988
|
-
return
|
|
109988
|
+
return mo.define(() => ({}), { eventObservers: e });
|
|
109989
109989
|
}
|
|
109990
109990
|
/**
|
|
109991
109991
|
Create a theme extension. The first argument can be a
|
|
@@ -110294,7 +110294,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
110294
110294
|
];
|
|
110295
110295
|
return t && t.fixed === !1 && e.push(Y7.of(!0)), e;
|
|
110296
110296
|
}
|
|
110297
|
-
const yat = /* @__PURE__ */
|
|
110297
|
+
const yat = /* @__PURE__ */ mo.fromClass(class {
|
|
110298
110298
|
constructor(t) {
|
|
110299
110299
|
this.view = t, this.prevViewport = t.viewport, this.dom = document.createElement("div"), this.dom.className = "cm-gutters", this.dom.setAttribute("aria-hidden", "true"), this.dom.style.minHeight = this.view.contentHeight / this.view.scaleY + "px", this.gutters = t.state.facet(y2).map((e) => new Wj(t, e));
|
|
110300
110300
|
for (let e of this.gutters)
|
|
@@ -110316,7 +110316,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
110316
110316
|
if (n.length && (n = []), Array.isArray(o.type)) {
|
|
110317
110317
|
let a = !0;
|
|
110318
110318
|
for (let s of o.type)
|
|
110319
|
-
if (s.type ==
|
|
110319
|
+
if (s.type == Uo.Text && a) {
|
|
110320
110320
|
W7(r, n, s.from);
|
|
110321
110321
|
for (let l of i)
|
|
110322
110322
|
l.line(this.view, s, n);
|
|
@@ -110324,7 +110324,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
110324
110324
|
} else if (s.widget)
|
|
110325
110325
|
for (let l of i)
|
|
110326
110326
|
l.widget(this.view, s);
|
|
110327
|
-
} else if (o.type ==
|
|
110327
|
+
} else if (o.type == Uo.Text) {
|
|
110328
110328
|
W7(r, n, o.from);
|
|
110329
110329
|
for (let a of i)
|
|
110330
110330
|
a.line(this.view, o, n);
|
|
@@ -110623,7 +110623,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
110623
110623
|
}
|
|
110624
110624
|
for (let l = 0; l < o.children.length; l++) {
|
|
110625
110625
|
let c = o.children[l];
|
|
110626
|
-
c instanceof
|
|
110626
|
+
c instanceof Bt && i(c, o.positions[l] + a);
|
|
110627
110627
|
}
|
|
110628
110628
|
};
|
|
110629
110629
|
return i(zi(e), 0), n;
|
|
@@ -110670,7 +110670,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
110670
110670
|
}
|
|
110671
110671
|
function zi(t) {
|
|
110672
110672
|
let e = t.field(lo.state, !1);
|
|
110673
|
-
return e ? e.tree :
|
|
110673
|
+
return e ? e.tree : Bt.empty;
|
|
110674
110674
|
}
|
|
110675
110675
|
class $at {
|
|
110676
110676
|
/**
|
|
@@ -110705,7 +110705,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
110705
110705
|
@internal
|
|
110706
110706
|
*/
|
|
110707
110707
|
static create(e, r, n) {
|
|
110708
|
-
return new fh(e, r, [],
|
|
110708
|
+
return new fh(e, r, [], Bt.empty, 0, n, [], null);
|
|
110709
110709
|
}
|
|
110710
110710
|
startParse() {
|
|
110711
110711
|
return this.parser.startParse(new $at(this.state.doc), this.fragments);
|
|
@@ -110714,7 +110714,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
110714
110714
|
@internal
|
|
110715
110715
|
*/
|
|
110716
110716
|
work(e, r) {
|
|
110717
|
-
return r != null && r >= this.state.doc.length && (r = void 0), this.tree !=
|
|
110717
|
+
return r != null && r >= this.state.doc.length && (r = void 0), this.tree != Bt.empty && this.isDone(r ?? this.state.doc.length) ? (this.takeTree(), !0) : this.withContext(() => {
|
|
110718
110718
|
var n;
|
|
110719
110719
|
if (typeof e == "number") {
|
|
110720
110720
|
let i = Date.now() + e;
|
|
@@ -110763,7 +110763,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
110763
110763
|
let { fragments: n, tree: i, treeLen: o, viewport: a, skipped: s } = this;
|
|
110764
110764
|
if (this.takeTree(), !e.empty) {
|
|
110765
110765
|
let l = [];
|
|
110766
|
-
if (e.iterChangedRanges((c, u, d, p) => l.push({ fromA: c, toA: u, fromB: d, toB: p })), n = Xs.applyChanges(n, l), i =
|
|
110766
|
+
if (e.iterChangedRanges((c, u, d, p) => l.push({ fromA: c, toA: u, fromB: d, toB: p })), n = Xs.applyChanges(n, l), i = Bt.empty, o = 0, a = { from: e.mapPos(a.from, -1), to: e.mapPos(a.to, 1) }, this.skipped.length) {
|
|
110767
110767
|
s = [];
|
|
110768
110768
|
for (let c of this.skipped) {
|
|
110769
110769
|
let u = e.mapPos(c.from, 1), d = e.mapPos(c.to, -1);
|
|
@@ -110823,7 +110823,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
110823
110823
|
l.tempSkipped.push(c);
|
|
110824
110824
|
e && (l.scheduleOn = l.scheduleOn ? Promise.all([l.scheduleOn, e]) : e);
|
|
110825
110825
|
}
|
|
110826
|
-
return this.parsedPos = a, new
|
|
110826
|
+
return this.parsedPos = a, new Bt(Bn.none, [], [], a - o);
|
|
110827
110827
|
},
|
|
110828
110828
|
stoppedAt: null,
|
|
110829
110829
|
stopAt() {
|
|
@@ -110896,7 +110896,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
110896
110896
|
);
|
|
110897
110897
|
return () => e < 0 ? clearTimeout(r) : cancelIdleCallback(e);
|
|
110898
110898
|
});
|
|
110899
|
-
const p3 = typeof navigator < "u" && (!((d3 = navigator.scheduling) === null || d3 === void 0) && d3.isInputPending) ? () => navigator.scheduling.isInputPending() : null, Pat = /* @__PURE__ */
|
|
110899
|
+
const p3 = typeof navigator < "u" && (!((d3 = navigator.scheduling) === null || d3 === void 0) && d3.isInputPending) ? () => navigator.scheduling.isInputPending() : null, Pat = /* @__PURE__ */ mo.fromClass(class {
|
|
110900
110900
|
constructor(e) {
|
|
110901
110901
|
this.view = e, this.working = null, this.workScheduled = 0, this.chunkEnd = -1, this.chunkBudget = -1, this.work = this.work.bind(this), this.scheduleWork();
|
|
110902
110902
|
}
|
|
@@ -111073,7 +111073,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
111073
111073
|
return n.finish();
|
|
111074
111074
|
}
|
|
111075
111075
|
}
|
|
111076
|
-
const Aat = /* @__PURE__ */ c5.high(/* @__PURE__ */
|
|
111076
|
+
const Aat = /* @__PURE__ */ c5.high(/* @__PURE__ */ mo.fromClass(Rat, {
|
|
111077
111077
|
decorations: (t) => t.decorations
|
|
111078
111078
|
})), qat = /* @__PURE__ */ new Yt();
|
|
111079
111079
|
function Fj(t, e, r, n = 0, i = 0) {
|
|
@@ -111281,7 +111281,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
111281
111281
|
if (o)
|
|
111282
111282
|
return { state: t.streamParser.copyState(o), pos: r + e.length };
|
|
111283
111283
|
for (let a = e.children.length - 1; a >= 0; a--) {
|
|
111284
|
-
let s = e.children[a], l = r + e.positions[a], c = s instanceof
|
|
111284
|
+
let s = e.children[a], l = r + e.positions[a], c = s instanceof Bt && l < i && kP(t, s, l, n, i);
|
|
111285
111285
|
if (c)
|
|
111286
111286
|
return c;
|
|
111287
111287
|
}
|
|
@@ -111293,10 +111293,10 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
111293
111293
|
!i && e.type == t.topNode && (i = !0);
|
|
111294
111294
|
for (let o = e.children.length - 1; o >= 0; o--) {
|
|
111295
111295
|
let a = e.positions[o], s = e.children[o], l;
|
|
111296
|
-
if (a < n && s instanceof
|
|
111296
|
+
if (a < n && s instanceof Bt) {
|
|
111297
111297
|
if (!(l = SK(t, s, r - a, n - a, i)))
|
|
111298
111298
|
break;
|
|
111299
|
-
return i ? new
|
|
111299
|
+
return i ? new Bt(e.type, e.children.slice(0, o).concat(l), e.positions.slice(0, o + 1), a + l.length) : l;
|
|
111300
111300
|
}
|
|
111301
111301
|
}
|
|
111302
111302
|
return null;
|
|
@@ -111307,7 +111307,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
111307
111307
|
if (s && (l = SK(t, i.tree, r + i.offset, s.pos + i.offset, !1)))
|
|
111308
111308
|
return { state: s.state, tree: l };
|
|
111309
111309
|
}
|
|
111310
|
-
return { state: t.streamParser.startState(n ? L7(n) : 4), tree:
|
|
111310
|
+
return { state: t.streamParser.startState(n ? L7(n) : 4), tree: Bt.empty };
|
|
111311
111311
|
}
|
|
111312
111312
|
class Uat {
|
|
111313
111313
|
constructor(e, r, n, i) {
|
|
@@ -111389,7 +111389,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
111389
111389
|
this.parsedPos = n, this.moveRangeIndex(), this.parsedPos < this.to && this.parsedPos++;
|
|
111390
111390
|
}
|
|
111391
111391
|
finishChunk() {
|
|
111392
|
-
let e =
|
|
111392
|
+
let e = Bt.build({
|
|
111393
111393
|
buffer: this.chunk,
|
|
111394
111394
|
start: this.chunkStart,
|
|
111395
111395
|
length: this.parsedPos - this.chunkStart,
|
|
@@ -111398,10 +111398,10 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
111398
111398
|
maxBufferLength: 2048,
|
|
111399
111399
|
reused: this.chunkReused
|
|
111400
111400
|
});
|
|
111401
|
-
e = new
|
|
111401
|
+
e = new Bt(e.type, e.children, e.positions, e.length, [[this.lang.stateAfter, this.lang.streamParser.copyState(this.state)]]), this.chunks.push(e), this.chunkPos.push(this.chunkStart - this.ranges[0].from), this.chunk = [], this.chunkReused = void 0, this.chunkStart = this.parsedPos;
|
|
111402
111402
|
}
|
|
111403
111403
|
finish() {
|
|
111404
|
-
return new
|
|
111404
|
+
return new Bt(this.lang.topNode, this.chunks, this.chunkPos, this.parsedPos - this.ranges[0].from).balance();
|
|
111405
111405
|
}
|
|
111406
111406
|
}
|
|
111407
111407
|
function xK(t, e, r) {
|
|
@@ -112653,7 +112653,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
112653
112653
|
let e = PP.parse(t);
|
|
112654
112654
|
return (r, n, i, o) => {
|
|
112655
112655
|
let { text: a, ranges: s } = e.instantiate(r.state, i), l = {
|
|
112656
|
-
changes: { from: i, to: o, insert:
|
|
112656
|
+
changes: { from: i, to: o, insert: Lt.of(a) },
|
|
112657
112657
|
scrollIntoView: !0,
|
|
112658
112658
|
annotations: n ? bst.of(n) : void 0
|
|
112659
112659
|
};
|
|
@@ -116462,9 +116462,9 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
116462
116462
|
e[t[r]] = !0;
|
|
116463
116463
|
return e;
|
|
116464
116464
|
}
|
|
116465
|
-
var bJ = ["NULL", "NA", "Inf", "NaN", "NA_integer_", "NA_real_", "NA_complex_", "NA_character_", "TRUE", "FALSE"], vJ = ["list", "quote", "bquote", "eval", "return", "call", "parse", "deparse"], yJ = ["if", "else", "repeat", "while", "function", "for", "in", "next", "break"], iut = ["if", "else", "repeat", "while", "function", "for"], out = $5(bJ), aut = $5(vJ), sut = $5(yJ), lut = $5(iut), $Z = /[+\-*\/^<>=!&|~$:]/,
|
|
116465
|
+
var bJ = ["NULL", "NA", "Inf", "NaN", "NA_integer_", "NA_real_", "NA_complex_", "NA_character_", "TRUE", "FALSE"], vJ = ["list", "quote", "bquote", "eval", "return", "call", "parse", "deparse"], yJ = ["if", "else", "repeat", "while", "function", "for", "in", "next", "break"], iut = ["if", "else", "repeat", "while", "function", "for"], out = $5(bJ), aut = $5(vJ), sut = $5(yJ), lut = $5(iut), $Z = /[+\-*\/^<>=!&|~$:]/, $o;
|
|
116466
116466
|
function H7(t, e) {
|
|
116467
|
-
|
|
116467
|
+
$o = null;
|
|
116468
116468
|
var r = t.next();
|
|
116469
116469
|
if (r == "#")
|
|
116470
116470
|
return t.skipToEnd(), "comment";
|
|
@@ -116483,9 +116483,9 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
116483
116483
|
if (/[a-zA-Z\.]/.test(r)) {
|
|
116484
116484
|
t.eatWhile(/[\w\.]/);
|
|
116485
116485
|
var n = t.current();
|
|
116486
|
-
return out.propertyIsEnumerable(n) ? "atom" : sut.propertyIsEnumerable(n) ? (lut.propertyIsEnumerable(n) && !t.match(/\s*if(\s+|$)/, !1) && (
|
|
116486
|
+
return out.propertyIsEnumerable(n) ? "atom" : sut.propertyIsEnumerable(n) ? (lut.propertyIsEnumerable(n) && !t.match(/\s*if(\s+|$)/, !1) && ($o = "block"), "keyword") : aut.propertyIsEnumerable(n) ? "builtin" : "variable";
|
|
116487
116487
|
} else
|
|
116488
|
-
return r == "%" ? (t.skipTo("%") && t.next(), "variableName.special") : r == "<" && t.eat("-") || r == "<" && t.match("<-") || r == "-" && t.match(/>>?/) || r == "=" && e.ctx.argList ? "operator" : $Z.test(r) ? (r == "$" || t.eatWhile($Z), "operator") : /[\(\){}\[\];]/.test(r) ? (
|
|
116488
|
+
return r == "%" ? (t.skipTo("%") && t.next(), "variableName.special") : r == "<" && t.eat("-") || r == "<" && t.match("<-") || r == "-" && t.match(/>>?/) || r == "=" && e.ctx.argList ? "operator" : $Z.test(r) ? (r == "$" || t.eatWhile($Z), "operator") : /[\(\){}\[\];]/.test(r) ? ($o = r, r == ";" ? "punctuation" : null) : null;
|
|
116489
116489
|
}
|
|
116490
116490
|
function cut(t) {
|
|
116491
116491
|
return function(e, r) {
|
|
@@ -116548,7 +116548,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
116548
116548
|
if (t.sol() && (e.ctx.flags & 3 || (e.ctx.flags |= _3), e.ctx.flags & $3 && P3(e), e.indent = t.indentation()), t.eatSpace())
|
|
116549
116549
|
return null;
|
|
116550
116550
|
var r = e.tokenize(t, e);
|
|
116551
|
-
return r != "comment" && !(e.ctx.flags & _3) && QZ(e, PZ), (
|
|
116551
|
+
return r != "comment" && !(e.ctx.flags & _3) && QZ(e, PZ), ($o == ";" || $o == "{" || $o == "}") && e.ctx.type == "block" && P3(e), $o == "{" ? fg(e, "}", t) : $o == "(" ? (fg(e, ")", t), e.afterIdent && (e.ctx.argList = !0)) : $o == "[" ? fg(e, "]", t) : $o == "block" ? fg(e, "block", t) : $o == e.ctx.type ? P3(e) : e.ctx.type == "block" && r != "comment" && QZ(e, $3), e.afterIdent = r == "variable" || r == "keyword", r;
|
|
116552
116552
|
},
|
|
116553
116553
|
indent: function(t, e, r) {
|
|
116554
116554
|
if (t.tokenize != H7)
|
|
@@ -116639,7 +116639,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
116639
116639
|
"loop",
|
|
116640
116640
|
"proc",
|
|
116641
116641
|
"begin"
|
|
116642
|
-
]), hut = jP(["end", "until"]), TZ = { "[": "]", "{": "}", "(": ")" }, fut = { "]": "[", "}": "{", ")": "(" },
|
|
116642
|
+
]), hut = jP(["end", "until"]), TZ = { "[": "]", "{": "}", "(": ")" }, fut = { "]": "[", "}": "{", ")": "(" }, Po;
|
|
116643
116643
|
function Xd(t, e, r) {
|
|
116644
116644
|
return r.tokenize.push(t), t(e, r);
|
|
116645
116645
|
}
|
|
@@ -116681,14 +116681,14 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
116681
116681
|
if (/[a-zA-Z_\xa1-\uffff]/.test(r))
|
|
116682
116682
|
return t.eatWhile(/[\w\xa1-\uffff]/), t.eat(/[\?\!]/), t.eat(":") ? "atom" : "variable";
|
|
116683
116683
|
if (r == "|" && (e.varList || e.lastTok == "{" || e.lastTok == "do"))
|
|
116684
|
-
return
|
|
116684
|
+
return Po = "|", null;
|
|
116685
116685
|
if (/[\(\)\[\]{}\\;]/.test(r))
|
|
116686
|
-
return
|
|
116686
|
+
return Po = r, null;
|
|
116687
116687
|
if (r == "-" && t.eat(">"))
|
|
116688
116688
|
return "operator";
|
|
116689
116689
|
if (/[=+\-\/*:\.^%<>~|]/.test(r)) {
|
|
116690
116690
|
var s = t.eatWhile(/[=+\-\/*:\.^%<>~|]/);
|
|
116691
|
-
return r == "." && !s && (
|
|
116691
|
+
return r == "." && !s && (Po = "."), "operator";
|
|
116692
116692
|
} else
|
|
116693
116693
|
return null;
|
|
116694
116694
|
}
|
|
@@ -116772,13 +116772,13 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
116772
116772
|
};
|
|
116773
116773
|
},
|
|
116774
116774
|
token: function(t, e) {
|
|
116775
|
-
|
|
116776
|
-
var r = e.tokenize[e.tokenize.length - 1](t, e), n, i =
|
|
116775
|
+
Po = null, t.sol() && (e.indented = t.indentation());
|
|
116776
|
+
var r = e.tokenize[e.tokenize.length - 1](t, e), n, i = Po;
|
|
116777
116777
|
if (r == "variable") {
|
|
116778
116778
|
var o = t.current();
|
|
116779
116779
|
r = e.lastTok == "." ? "property" : dut.propertyIsEnumerable(t.current()) ? "keyword" : /^[A-Z]/.test(o) ? "tag" : e.lastTok == "def" || e.lastTok == "class" || e.varList ? "def" : "variable", r == "keyword" && (i = o, put.propertyIsEnumerable(o) ? n = "indent" : hut.propertyIsEnumerable(o) ? n = "dedent" : ((o == "if" || o == "unless") && t.column() == t.indentation() || o == "do" && e.context.indented < e.indented) && (n = "indent"));
|
|
116780
116780
|
}
|
|
116781
|
-
return (
|
|
116781
|
+
return (Po || r && r != "comment") && (e.lastTok = i), Po == "|" && (e.varList = !e.varList), n == "indent" || /[\(\[\{]/.test(Po) ? e.context = { prev: e.context, type: Po || r, indented: e.indented } : (n == "dedent" || /[\)\]\}]/.test(Po)) && e.context.prev && (e.context = e.context.prev), t.eol() && (e.continuedLine = Po == "\\" || r == "operator"), r;
|
|
116782
116782
|
},
|
|
116783
116783
|
indent: function(t, e, r) {
|
|
116784
116784
|
if (t.tokenize[t.tokenize.length - 1] != xv)
|
|
@@ -117439,7 +117439,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
117439
117439
|
class: "scalar-api-client__variable"
|
|
117440
117440
|
}
|
|
117441
117441
|
})
|
|
117442
|
-
}), Wut = () =>
|
|
117442
|
+
}), Wut = () => mo.fromClass(
|
|
117443
117443
|
class {
|
|
117444
117444
|
constructor(t) {
|
|
117445
117445
|
QKe(this, "variables"), this.variables = RZ.createDeco(t);
|
|
@@ -117681,7 +117681,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
117681
117681
|
this._ytext.unobserve(this._observer);
|
|
117682
117682
|
}
|
|
117683
117683
|
}
|
|
117684
|
-
const Fut =
|
|
117684
|
+
const Fut = mo.fromClass(But);
|
|
117685
117685
|
class Gut {
|
|
117686
117686
|
/**
|
|
117687
117687
|
* @param {L} left
|
|
@@ -117899,7 +117899,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
117899
117899
|
}), this.decorations = $r.set(o, !0);
|
|
117900
117900
|
}
|
|
117901
117901
|
}
|
|
117902
|
-
const udt =
|
|
117902
|
+
const udt = mo.fromClass(cdt, {
|
|
117903
117903
|
decorations: (t) => t.decorations
|
|
117904
117904
|
}), ddt = () => {
|
|
117905
117905
|
let t = !0;
|
|
@@ -117980,7 +117980,7 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
117980
117980
|
this._undoManager.off("stack-item-added", this._onStackItemAdded), this._undoManager.off("stack-item-popped", this._onStackItemPopped), this._undoManager.removeTrackedOrigin(this.syncConf);
|
|
117981
117981
|
}
|
|
117982
117982
|
}
|
|
117983
|
-
const fdt =
|
|
117983
|
+
const fdt = mo.fromClass(hdt), mdt = ({ state: t, dispatch: e }) => t.facet(C5).undo() || !0, Odt = ({ state: t, dispatch: e }) => t.facet(C5).redo() || !0, gdt = (t, e, { undoManager: r = new V6(t) } = {}) => {
|
|
117984
117984
|
const n = new zut(t, e), i = [
|
|
117985
117985
|
T5.of(n),
|
|
117986
117986
|
Fut
|
|
@@ -118137,33 +118137,32 @@ Downloads a flow in .tfl or .tflx format.`,
|
|
|
118137
118137
|
]),
|
|
118138
118138
|
_: 1
|
|
118139
118139
|
})) : We("", !0),
|
|
118140
|
-
|
|
118140
|
+
p.value === "Swagger Editor" ? (J(), De(vdt, {
|
|
118141
|
+
key: 1,
|
|
118141
118142
|
ref_key: "codeMirrorReference",
|
|
118142
118143
|
ref: c,
|
|
118143
118144
|
hocuspocusConfiguration: h.hocuspocusConfiguration,
|
|
118144
118145
|
onAwarenessUpdate: s,
|
|
118145
118146
|
onContentUpdate: a
|
|
118146
|
-
}, null, 8, ["hocuspocusConfiguration"]),
|
|
118147
|
-
|
|
118148
|
-
]),
|
|
118149
|
-
p.value === "Swagger Editor" && n.value.length ? (J(), De(Pdt, { key: 1 }, {
|
|
118147
|
+
}, null, 8, ["hocuspocusConfiguration"])) : We("", !0),
|
|
118148
|
+
p.value === "Swagger Editor" && n.value.length ? (J(), De(Pdt, { key: 2 }, {
|
|
118150
118149
|
default: Re(() => [
|
|
118151
118150
|
vt(Ie(n.value.length) + " user" + Ie(n.value.length === 1 ? "" : "s") + " online ", 1)
|
|
118152
118151
|
]),
|
|
118153
118152
|
_: 1
|
|
118154
118153
|
})) : We("", !0),
|
|
118155
|
-
|
|
118154
|
+
Ft(we(XJe, {
|
|
118156
118155
|
theme: !h.theme || h.theme === "none" ? "default" : h.theme,
|
|
118157
118156
|
onChangeExample: d,
|
|
118158
118157
|
onChangeTheme: f[1] || (f[1] = (O) => e("changeTheme", O)),
|
|
118159
118158
|
onOpenEditor: f[2] || (f[2] = (O) => p.value = "Swagger Editor")
|
|
118160
118159
|
}, null, 8, ["theme"]), [
|
|
118161
|
-
[
|
|
118160
|
+
[Mo, p.value === "Getting Started"]
|
|
118162
118161
|
])
|
|
118163
118162
|
])
|
|
118164
118163
|
], 64));
|
|
118165
118164
|
}
|
|
118166
|
-
}), AZ = /* @__PURE__ */ Pc(Tdt, [["__scopeId", "data-v-
|
|
118165
|
+
}), AZ = /* @__PURE__ */ Pc(Tdt, [["__scopeId", "data-v-a561208c"]]), Af = ve(!1);
|
|
118167
118166
|
function Cdt() {
|
|
118168
118167
|
const t = () => {
|
|
118169
118168
|
var r, n;
|