@scalar/api-reference 1.12.0 → 1.12.2
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 +15 -0
- package/dist/browser/standalone.js +4 -4
- package/dist/components/MobileHeader.vue.d.ts +9 -2
- package/dist/components/MobileHeader.vue.d.ts.map +1 -1
- package/dist/components/Sidebar.vue.d.ts.map +1 -1
- package/dist/components/SidebarElement.vue.d.ts.map +1 -1
- package/dist/components/SidebarGroup.vue.d.ts.map +1 -1
- package/dist/{index-6d56309f.js → index-2372d4a4.js} +2 -2
- package/dist/{index-fe900f1b.js → index-d18fc186.js} +785 -783
- package/dist/index.js +2 -2
- package/package.json +3 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Z_ = Object.defineProperty;
|
|
2
2
|
var j_ = (t, e, r) => e in t ? Z_(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
|
|
3
3
|
var Mm = (t, e, r) => (j_(t, typeof e != "symbol" ? e + "" : e, r), r);
|
|
4
|
-
import { computed as Ee, onMounted as Ti, watch as at, reactive as yr, readonly as Op, ref as Xe, defineComponent as fe, openBlock as P, createElementBlock as V, toRaw as Zv, createBlock as le, unref as $, withCtx as D, createElementVNode as R, createVNode as B, normalizeClass as _e, normalizeStyle as fo, createTextVNode as ye, toDisplayString as pe, createCommentVNode as de, renderSlot as ge, Fragment as me, renderList as Ye, createStaticVNode as ho, pushScopeId as
|
|
4
|
+
import { computed as Ee, onMounted as Ti, watch as at, reactive as yr, readonly as Op, ref as Xe, defineComponent as fe, openBlock as P, createElementBlock as V, toRaw as Zv, createBlock as le, unref as $, withCtx as D, createElementVNode as R, createVNode as B, normalizeClass as _e, normalizeStyle as fo, createTextVNode as ye, toDisplayString as pe, createCommentVNode as de, renderSlot as ge, Fragment as me, renderList as Ye, createStaticVNode as ho, pushScopeId as Gr, popScopeId as Fr, withDirectives as ot, withModifiers as Jc, vModelSelect as I_, vModelText as Yt, vModelCheckbox as Xl, vShow as io, withKeys as jv, isRef as Iv, useCssModule as W_, defineAsyncComponent as mp, useAttrs as Wv, mergeProps as hs, h as Vv, useCssVars as Yv, resolveDynamicComponent as Mn, createSlots as Ho, TransitionGroup as V_, normalizeProps as Pr, guardReactiveProps as _r, Teleport as Y_, nextTick as M_, useSlots as z_, onActivated as D_, onDeactivated as N_, toRef as L_ } from "vue";
|
|
5
5
|
import { Dialog as Mv, DialogPanel as zv, DialogTitle as Dv, DialogDescription as Nv, Disclosure as gp, DisclosureButton as yp, DisclosurePanel as vp, TabGroup as Lv, TabList as Bv, Tab as pf, TabPanels as B_, TabPanel as zm, Listbox as Gv, ListboxButton as Fv, ListboxOptions as Hv, ListboxOption as Kv } from "@headlessui/vue";
|
|
6
6
|
import { useMediaQuery as qa, useDebounceFn as G_, useTextareaAutosize as F_, useIntersectionObserver as H_, useElementHover as K_, computedAsync as J_, useResizeObserver as eu } from "@vueuse/core";
|
|
7
7
|
import eQ, { AxiosHeaders as tQ } from "axios";
|
|
@@ -378,7 +378,7 @@ wp.write = function(t, e, r, n, i, o) {
|
|
|
378
378
|
return Ue(this, m, y);
|
|
379
379
|
case "utf8":
|
|
380
380
|
case "utf-8":
|
|
381
|
-
return
|
|
381
|
+
return be(this, m, y);
|
|
382
382
|
case "ascii":
|
|
383
383
|
return Fe(this, m, y);
|
|
384
384
|
case "latin1":
|
|
@@ -425,7 +425,7 @@ wp.write = function(t, e, r, n, i, o) {
|
|
|
425
425
|
return this;
|
|
426
426
|
}, a.prototype.toString = function() {
|
|
427
427
|
const m = this.length;
|
|
428
|
-
return m === 0 ? "" : arguments.length === 0 ?
|
|
428
|
+
return m === 0 ? "" : arguments.length === 0 ? be(this, 0, m) : Q.apply(this, arguments);
|
|
429
429
|
}, a.prototype.toLocaleString = a.prototype.toString, a.prototype.equals = function(m) {
|
|
430
430
|
if (!a.isBuffer(m))
|
|
431
431
|
throw new TypeError("Argument must be a Buffer");
|
|
@@ -590,7 +590,7 @@ wp.write = function(t, e, r, n, i, o) {
|
|
|
590
590
|
function he(_, m, y) {
|
|
591
591
|
return m === 0 && y === _.length ? e.fromByteArray(_) : e.fromByteArray(_.slice(m, y));
|
|
592
592
|
}
|
|
593
|
-
function
|
|
593
|
+
function be(_, m, y) {
|
|
594
594
|
y = Math.min(_.length, y);
|
|
595
595
|
const q = [];
|
|
596
596
|
let L = m;
|
|
@@ -1354,19 +1354,19 @@ function Gm(t, e) {
|
|
|
1354
1354
|
return t && (t[e] || t[cc(e)] || t[ub(cc(e))]);
|
|
1355
1355
|
}
|
|
1356
1356
|
const tx = (t) => t.__isTeleport, vb = Symbol.for("v-fgt"), rx = Symbol.for("v-txt"), gf = Symbol.for("v-cmt"), ql = [];
|
|
1357
|
-
let
|
|
1357
|
+
let zr = null;
|
|
1358
1358
|
function bb(t = !1) {
|
|
1359
|
-
ql.push(
|
|
1359
|
+
ql.push(zr = t ? null : []);
|
|
1360
1360
|
}
|
|
1361
1361
|
function nx() {
|
|
1362
|
-
ql.pop(),
|
|
1362
|
+
ql.pop(), zr = ql[ql.length - 1] || null;
|
|
1363
1363
|
}
|
|
1364
1364
|
let pa = 1;
|
|
1365
1365
|
function Fm(t) {
|
|
1366
1366
|
pa += t;
|
|
1367
1367
|
}
|
|
1368
1368
|
function ix(t) {
|
|
1369
|
-
return t.dynamicChildren = pa > 0 ?
|
|
1369
|
+
return t.dynamicChildren = pa > 0 ? zr || UQ : null, nx(), pa > 0 && zr && zr.push(t), t;
|
|
1370
1370
|
}
|
|
1371
1371
|
function Sb(t, e, r, n, i) {
|
|
1372
1372
|
return ix(
|
|
@@ -1420,13 +1420,13 @@ function sx(t, e = null, r = null, n = 0, i = null, o = t === vb ? 0 : 1, s = !1
|
|
|
1420
1420
|
};
|
|
1421
1421
|
return a ? (Tp(l, r), o & 128 && t.normalize(l)) : r && (l.shapeFlag |= zn(r) ? 8 : 16), pa > 0 && // avoid a block node from tracking itself
|
|
1422
1422
|
!s && // has current parent block
|
|
1423
|
-
|
|
1423
|
+
zr && // presence of a patch flag indicates this node needs patching on updates.
|
|
1424
1424
|
// component nodes also should always be patched, because even if the
|
|
1425
1425
|
// component doesn't need to update, it needs to persist the instance on to
|
|
1426
1426
|
// the next vnode so that it can be properly unmounted later.
|
|
1427
1427
|
(l.patchFlag > 0 || o & 6) && // the EVENTS flag is only for hydration and if it is the only flag, the
|
|
1428
1428
|
// vnode should not be considered dynamic due to handler caching.
|
|
1429
|
-
l.patchFlag !== 32 &&
|
|
1429
|
+
l.patchFlag !== 32 && zr.push(l), l;
|
|
1430
1430
|
}
|
|
1431
1431
|
const kp = ax;
|
|
1432
1432
|
function ax(t, e = null, r = null, n = 0, i = null, o = !1) {
|
|
@@ -1437,7 +1437,7 @@ function ax(t, e = null, r = null, n = 0, i = null, o = !1) {
|
|
|
1437
1437
|
!0
|
|
1438
1438
|
/* mergeRef: true */
|
|
1439
1439
|
);
|
|
1440
|
-
return r && Tp(a, r), pa > 0 && !o &&
|
|
1440
|
+
return r && Tp(a, r), pa > 0 && !o && zr && (a.shapeFlag & 6 ? zr[zr.indexOf(t)] = a : zr.push(a)), a.patchFlag |= -2, a;
|
|
1441
1441
|
}
|
|
1442
1442
|
if (fx(t) && (t = t.__vccOpts), e) {
|
|
1443
1443
|
e = lx(e);
|
|
@@ -2794,7 +2794,7 @@ function qx(t) {
|
|
|
2794
2794
|
return;
|
|
2795
2795
|
} else
|
|
2796
2796
|
throw new RangeError(`Unrecognized record size: ${te}`);
|
|
2797
|
-
let
|
|
2797
|
+
let be = l[J], Ae, qe, Fe = K - Q;
|
|
2798
2798
|
if (ae - K <= i && (qe = v(a.pos - I, G))) {
|
|
2799
2799
|
let Be = new Uint16Array(qe.size - qe.skip), Ue = a.pos - qe.size, H = Be.length;
|
|
2800
2800
|
for (; a.pos > Ue; )
|
|
@@ -2807,10 +2807,10 @@ function qx(t) {
|
|
|
2807
2807
|
for (; a.pos > Be; )
|
|
2808
2808
|
Y >= 0 && a.id == Y && a.size >= 0 ? (a.end <= X - i && (h(Ue, H, K, T, a.end, X, Y, he), T = Ue.length, X = a.end), a.next()) : d(K, Be, Ue, H, Y);
|
|
2809
2809
|
if (Y >= 0 && T > 0 && T < Ue.length && h(Ue, H, K, T, K, X, Y, he), Ue.reverse(), H.reverse(), Y > -1 && T > 0) {
|
|
2810
|
-
let S = f(
|
|
2811
|
-
Ae = Xp(
|
|
2810
|
+
let S = f(be);
|
|
2811
|
+
Ae = Xp(be, Ue, H, 0, Ue.length, 0, ae - K, S, S);
|
|
2812
2812
|
} else
|
|
2813
|
-
Ae = p(
|
|
2813
|
+
Ae = p(be, Ue, H, ae - K, he - ae);
|
|
2814
2814
|
}
|
|
2815
2815
|
E.push(Ae), W.push(Fe);
|
|
2816
2816
|
}
|
|
@@ -2851,11 +2851,11 @@ function qx(t) {
|
|
|
2851
2851
|
ae.size = W, ae.start = G, ae.skip = J, J += 4, W += 4, E.next();
|
|
2852
2852
|
continue;
|
|
2853
2853
|
}
|
|
2854
|
-
let
|
|
2855
|
-
if (he < 0 ||
|
|
2854
|
+
let be = E.pos - he;
|
|
2855
|
+
if (he < 0 || be < te || E.start < K)
|
|
2856
2856
|
break;
|
|
2857
2857
|
let Ae = E.id >= s ? 4 : 0, qe = E.start;
|
|
2858
|
-
for (E.next(); E.pos >
|
|
2858
|
+
for (E.next(); E.pos > be; ) {
|
|
2859
2859
|
if (E.size < 0)
|
|
2860
2860
|
if (E.size == -3)
|
|
2861
2861
|
Ae += 4;
|
|
@@ -4841,7 +4841,7 @@ function ok(t) {
|
|
|
4841
4841
|
e = e.next;
|
|
4842
4842
|
return e || null;
|
|
4843
4843
|
}
|
|
4844
|
-
const
|
|
4844
|
+
const Se = an.define, sl = Se(), fi = Se(), fg = Se(fi), hg = Se(fi), hi = Se(), al = Se(hi), td = Se(hi), nn = Se(), Ii = Se(nn), en = Se(), tn = Se(), Sf = Se(), Xs = Se(Sf), ll = Se(), C = {
|
|
4845
4845
|
/**
|
|
4846
4846
|
A comment.
|
|
4847
4847
|
*/
|
|
@@ -4849,15 +4849,15 @@ const be = an.define, sl = be(), fi = be(), fg = be(fi), hg = be(fi), hi = be(),
|
|
|
4849
4849
|
/**
|
|
4850
4850
|
A line [comment](#highlight.tags.comment).
|
|
4851
4851
|
*/
|
|
4852
|
-
lineComment:
|
|
4852
|
+
lineComment: Se(sl),
|
|
4853
4853
|
/**
|
|
4854
4854
|
A block [comment](#highlight.tags.comment).
|
|
4855
4855
|
*/
|
|
4856
|
-
blockComment:
|
|
4856
|
+
blockComment: Se(sl),
|
|
4857
4857
|
/**
|
|
4858
4858
|
A documentation [comment](#highlight.tags.comment).
|
|
4859
4859
|
*/
|
|
4860
|
-
docComment:
|
|
4860
|
+
docComment: Se(sl),
|
|
4861
4861
|
/**
|
|
4862
4862
|
Any kind of identifier.
|
|
4863
4863
|
*/
|
|
@@ -4865,7 +4865,7 @@ const be = an.define, sl = be(), fi = be(), fg = be(fi), hg = be(fi), hi = be(),
|
|
|
4865
4865
|
/**
|
|
4866
4866
|
The [name](#highlight.tags.name) of a variable.
|
|
4867
4867
|
*/
|
|
4868
|
-
variableName:
|
|
4868
|
+
variableName: Se(fi),
|
|
4869
4869
|
/**
|
|
4870
4870
|
A type [name](#highlight.tags.name).
|
|
4871
4871
|
*/
|
|
@@ -4873,7 +4873,7 @@ const be = an.define, sl = be(), fi = be(), fg = be(fi), hg = be(fi), hi = be(),
|
|
|
4873
4873
|
/**
|
|
4874
4874
|
A tag name (subtag of [`typeName`](#highlight.tags.typeName)).
|
|
4875
4875
|
*/
|
|
4876
|
-
tagName:
|
|
4876
|
+
tagName: Se(fg),
|
|
4877
4877
|
/**
|
|
4878
4878
|
A property or field [name](#highlight.tags.name).
|
|
4879
4879
|
*/
|
|
@@ -4881,23 +4881,23 @@ const be = an.define, sl = be(), fi = be(), fg = be(fi), hg = be(fi), hi = be(),
|
|
|
4881
4881
|
/**
|
|
4882
4882
|
An attribute name (subtag of [`propertyName`](#highlight.tags.propertyName)).
|
|
4883
4883
|
*/
|
|
4884
|
-
attributeName:
|
|
4884
|
+
attributeName: Se(hg),
|
|
4885
4885
|
/**
|
|
4886
4886
|
The [name](#highlight.tags.name) of a class.
|
|
4887
4887
|
*/
|
|
4888
|
-
className:
|
|
4888
|
+
className: Se(fi),
|
|
4889
4889
|
/**
|
|
4890
4890
|
A label [name](#highlight.tags.name).
|
|
4891
4891
|
*/
|
|
4892
|
-
labelName:
|
|
4892
|
+
labelName: Se(fi),
|
|
4893
4893
|
/**
|
|
4894
4894
|
A namespace [name](#highlight.tags.name).
|
|
4895
4895
|
*/
|
|
4896
|
-
namespace:
|
|
4896
|
+
namespace: Se(fi),
|
|
4897
4897
|
/**
|
|
4898
4898
|
The [name](#highlight.tags.name) of a macro.
|
|
4899
4899
|
*/
|
|
4900
|
-
macroName:
|
|
4900
|
+
macroName: Se(fi),
|
|
4901
4901
|
/**
|
|
4902
4902
|
A literal value.
|
|
4903
4903
|
*/
|
|
@@ -4909,15 +4909,15 @@ const be = an.define, sl = be(), fi = be(), fg = be(fi), hg = be(fi), hi = be(),
|
|
|
4909
4909
|
/**
|
|
4910
4910
|
A documentation [string](#highlight.tags.string).
|
|
4911
4911
|
*/
|
|
4912
|
-
docString:
|
|
4912
|
+
docString: Se(al),
|
|
4913
4913
|
/**
|
|
4914
4914
|
A character literal (subtag of [string](#highlight.tags.string)).
|
|
4915
4915
|
*/
|
|
4916
|
-
character:
|
|
4916
|
+
character: Se(al),
|
|
4917
4917
|
/**
|
|
4918
4918
|
An attribute value (subtag of [string](#highlight.tags.string)).
|
|
4919
4919
|
*/
|
|
4920
|
-
attributeValue:
|
|
4920
|
+
attributeValue: Se(al),
|
|
4921
4921
|
/**
|
|
4922
4922
|
A number [literal](#highlight.tags.literal).
|
|
4923
4923
|
*/
|
|
@@ -4925,32 +4925,32 @@ const be = an.define, sl = be(), fi = be(), fg = be(fi), hg = be(fi), hi = be(),
|
|
|
4925
4925
|
/**
|
|
4926
4926
|
An integer [number](#highlight.tags.number) literal.
|
|
4927
4927
|
*/
|
|
4928
|
-
integer:
|
|
4928
|
+
integer: Se(td),
|
|
4929
4929
|
/**
|
|
4930
4930
|
A floating-point [number](#highlight.tags.number) literal.
|
|
4931
4931
|
*/
|
|
4932
|
-
float:
|
|
4932
|
+
float: Se(td),
|
|
4933
4933
|
/**
|
|
4934
4934
|
A boolean [literal](#highlight.tags.literal).
|
|
4935
4935
|
*/
|
|
4936
|
-
bool:
|
|
4936
|
+
bool: Se(hi),
|
|
4937
4937
|
/**
|
|
4938
4938
|
Regular expression [literal](#highlight.tags.literal).
|
|
4939
4939
|
*/
|
|
4940
|
-
regexp:
|
|
4940
|
+
regexp: Se(hi),
|
|
4941
4941
|
/**
|
|
4942
4942
|
An escape [literal](#highlight.tags.literal), for example a
|
|
4943
4943
|
backslash escape in a string.
|
|
4944
4944
|
*/
|
|
4945
|
-
escape:
|
|
4945
|
+
escape: Se(hi),
|
|
4946
4946
|
/**
|
|
4947
4947
|
A color [literal](#highlight.tags.literal).
|
|
4948
4948
|
*/
|
|
4949
|
-
color:
|
|
4949
|
+
color: Se(hi),
|
|
4950
4950
|
/**
|
|
4951
4951
|
A URL [literal](#highlight.tags.literal).
|
|
4952
4952
|
*/
|
|
4953
|
-
url:
|
|
4953
|
+
url: Se(hi),
|
|
4954
4954
|
/**
|
|
4955
4955
|
A language keyword.
|
|
4956
4956
|
*/
|
|
@@ -4959,40 +4959,40 @@ const be = an.define, sl = be(), fi = be(), fg = be(fi), hg = be(fi), hi = be(),
|
|
|
4959
4959
|
The [keyword](#highlight.tags.keyword) for the self or this
|
|
4960
4960
|
object.
|
|
4961
4961
|
*/
|
|
4962
|
-
self:
|
|
4962
|
+
self: Se(en),
|
|
4963
4963
|
/**
|
|
4964
4964
|
The [keyword](#highlight.tags.keyword) for null.
|
|
4965
4965
|
*/
|
|
4966
|
-
null:
|
|
4966
|
+
null: Se(en),
|
|
4967
4967
|
/**
|
|
4968
4968
|
A [keyword](#highlight.tags.keyword) denoting some atomic value.
|
|
4969
4969
|
*/
|
|
4970
|
-
atom:
|
|
4970
|
+
atom: Se(en),
|
|
4971
4971
|
/**
|
|
4972
4972
|
A [keyword](#highlight.tags.keyword) that represents a unit.
|
|
4973
4973
|
*/
|
|
4974
|
-
unit:
|
|
4974
|
+
unit: Se(en),
|
|
4975
4975
|
/**
|
|
4976
4976
|
A modifier [keyword](#highlight.tags.keyword).
|
|
4977
4977
|
*/
|
|
4978
|
-
modifier:
|
|
4978
|
+
modifier: Se(en),
|
|
4979
4979
|
/**
|
|
4980
4980
|
A [keyword](#highlight.tags.keyword) that acts as an operator.
|
|
4981
4981
|
*/
|
|
4982
|
-
operatorKeyword:
|
|
4982
|
+
operatorKeyword: Se(en),
|
|
4983
4983
|
/**
|
|
4984
4984
|
A control-flow related [keyword](#highlight.tags.keyword).
|
|
4985
4985
|
*/
|
|
4986
|
-
controlKeyword:
|
|
4986
|
+
controlKeyword: Se(en),
|
|
4987
4987
|
/**
|
|
4988
4988
|
A [keyword](#highlight.tags.keyword) that defines something.
|
|
4989
4989
|
*/
|
|
4990
|
-
definitionKeyword:
|
|
4990
|
+
definitionKeyword: Se(en),
|
|
4991
4991
|
/**
|
|
4992
4992
|
A [keyword](#highlight.tags.keyword) related to defining or
|
|
4993
4993
|
interfacing with modules.
|
|
4994
4994
|
*/
|
|
4995
|
-
moduleKeyword:
|
|
4995
|
+
moduleKeyword: Se(en),
|
|
4996
4996
|
/**
|
|
4997
4997
|
An operator.
|
|
4998
4998
|
*/
|
|
@@ -5000,39 +5000,39 @@ const be = an.define, sl = be(), fi = be(), fg = be(fi), hg = be(fi), hi = be(),
|
|
|
5000
5000
|
/**
|
|
5001
5001
|
An [operator](#highlight.tags.operator) that dereferences something.
|
|
5002
5002
|
*/
|
|
5003
|
-
derefOperator:
|
|
5003
|
+
derefOperator: Se(tn),
|
|
5004
5004
|
/**
|
|
5005
5005
|
Arithmetic-related [operator](#highlight.tags.operator).
|
|
5006
5006
|
*/
|
|
5007
|
-
arithmeticOperator:
|
|
5007
|
+
arithmeticOperator: Se(tn),
|
|
5008
5008
|
/**
|
|
5009
5009
|
Logical [operator](#highlight.tags.operator).
|
|
5010
5010
|
*/
|
|
5011
|
-
logicOperator:
|
|
5011
|
+
logicOperator: Se(tn),
|
|
5012
5012
|
/**
|
|
5013
5013
|
Bit [operator](#highlight.tags.operator).
|
|
5014
5014
|
*/
|
|
5015
|
-
bitwiseOperator:
|
|
5015
|
+
bitwiseOperator: Se(tn),
|
|
5016
5016
|
/**
|
|
5017
5017
|
Comparison [operator](#highlight.tags.operator).
|
|
5018
5018
|
*/
|
|
5019
|
-
compareOperator:
|
|
5019
|
+
compareOperator: Se(tn),
|
|
5020
5020
|
/**
|
|
5021
5021
|
[Operator](#highlight.tags.operator) that updates its operand.
|
|
5022
5022
|
*/
|
|
5023
|
-
updateOperator:
|
|
5023
|
+
updateOperator: Se(tn),
|
|
5024
5024
|
/**
|
|
5025
5025
|
[Operator](#highlight.tags.operator) that defines something.
|
|
5026
5026
|
*/
|
|
5027
|
-
definitionOperator:
|
|
5027
|
+
definitionOperator: Se(tn),
|
|
5028
5028
|
/**
|
|
5029
5029
|
Type-related [operator](#highlight.tags.operator).
|
|
5030
5030
|
*/
|
|
5031
|
-
typeOperator:
|
|
5031
|
+
typeOperator: Se(tn),
|
|
5032
5032
|
/**
|
|
5033
5033
|
Control-flow [operator](#highlight.tags.operator).
|
|
5034
5034
|
*/
|
|
5035
|
-
controlOperator:
|
|
5035
|
+
controlOperator: Se(tn),
|
|
5036
5036
|
/**
|
|
5037
5037
|
Program or markup punctuation.
|
|
5038
5038
|
*/
|
|
@@ -5041,7 +5041,7 @@ const be = an.define, sl = be(), fi = be(), fg = be(fi), hg = be(fi), hi = be(),
|
|
|
5041
5041
|
[Punctuation](#highlight.tags.punctuation) that separates
|
|
5042
5042
|
things.
|
|
5043
5043
|
*/
|
|
5044
|
-
separator:
|
|
5044
|
+
separator: Se(Sf),
|
|
5045
5045
|
/**
|
|
5046
5046
|
Bracket-style [punctuation](#highlight.tags.punctuation).
|
|
5047
5047
|
*/
|
|
@@ -5050,22 +5050,22 @@ const be = an.define, sl = be(), fi = be(), fg = be(fi), hg = be(fi), hi = be(),
|
|
|
5050
5050
|
Angle [brackets](#highlight.tags.bracket) (usually `<` and `>`
|
|
5051
5051
|
tokens).
|
|
5052
5052
|
*/
|
|
5053
|
-
angleBracket:
|
|
5053
|
+
angleBracket: Se(Xs),
|
|
5054
5054
|
/**
|
|
5055
5055
|
Square [brackets](#highlight.tags.bracket) (usually `[` and `]`
|
|
5056
5056
|
tokens).
|
|
5057
5057
|
*/
|
|
5058
|
-
squareBracket:
|
|
5058
|
+
squareBracket: Se(Xs),
|
|
5059
5059
|
/**
|
|
5060
5060
|
Parentheses (usually `(` and `)` tokens). Subtag of
|
|
5061
5061
|
[bracket](#highlight.tags.bracket).
|
|
5062
5062
|
*/
|
|
5063
|
-
paren:
|
|
5063
|
+
paren: Se(Xs),
|
|
5064
5064
|
/**
|
|
5065
5065
|
Braces (usually `{` and `}` tokens). Subtag of
|
|
5066
5066
|
[bracket](#highlight.tags.bracket).
|
|
5067
5067
|
*/
|
|
5068
|
-
brace:
|
|
5068
|
+
brace: Se(Xs),
|
|
5069
5069
|
/**
|
|
5070
5070
|
Content, for example plain text in XML or markup documents.
|
|
5071
5071
|
*/
|
|
@@ -5077,77 +5077,77 @@ const be = an.define, sl = be(), fi = be(), fg = be(fi), hg = be(fi), hi = be(),
|
|
|
5077
5077
|
/**
|
|
5078
5078
|
A level 1 [heading](#highlight.tags.heading).
|
|
5079
5079
|
*/
|
|
5080
|
-
heading1:
|
|
5080
|
+
heading1: Se(Ii),
|
|
5081
5081
|
/**
|
|
5082
5082
|
A level 2 [heading](#highlight.tags.heading).
|
|
5083
5083
|
*/
|
|
5084
|
-
heading2:
|
|
5084
|
+
heading2: Se(Ii),
|
|
5085
5085
|
/**
|
|
5086
5086
|
A level 3 [heading](#highlight.tags.heading).
|
|
5087
5087
|
*/
|
|
5088
|
-
heading3:
|
|
5088
|
+
heading3: Se(Ii),
|
|
5089
5089
|
/**
|
|
5090
5090
|
A level 4 [heading](#highlight.tags.heading).
|
|
5091
5091
|
*/
|
|
5092
|
-
heading4:
|
|
5092
|
+
heading4: Se(Ii),
|
|
5093
5093
|
/**
|
|
5094
5094
|
A level 5 [heading](#highlight.tags.heading).
|
|
5095
5095
|
*/
|
|
5096
|
-
heading5:
|
|
5096
|
+
heading5: Se(Ii),
|
|
5097
5097
|
/**
|
|
5098
5098
|
A level 6 [heading](#highlight.tags.heading).
|
|
5099
5099
|
*/
|
|
5100
|
-
heading6:
|
|
5100
|
+
heading6: Se(Ii),
|
|
5101
5101
|
/**
|
|
5102
5102
|
A prose separator (such as a horizontal rule).
|
|
5103
5103
|
*/
|
|
5104
|
-
contentSeparator:
|
|
5104
|
+
contentSeparator: Se(nn),
|
|
5105
5105
|
/**
|
|
5106
5106
|
[Content](#highlight.tags.content) that represents a list.
|
|
5107
5107
|
*/
|
|
5108
|
-
list:
|
|
5108
|
+
list: Se(nn),
|
|
5109
5109
|
/**
|
|
5110
5110
|
[Content](#highlight.tags.content) that represents a quote.
|
|
5111
5111
|
*/
|
|
5112
|
-
quote:
|
|
5112
|
+
quote: Se(nn),
|
|
5113
5113
|
/**
|
|
5114
5114
|
[Content](#highlight.tags.content) that is emphasized.
|
|
5115
5115
|
*/
|
|
5116
|
-
emphasis:
|
|
5116
|
+
emphasis: Se(nn),
|
|
5117
5117
|
/**
|
|
5118
5118
|
[Content](#highlight.tags.content) that is styled strong.
|
|
5119
5119
|
*/
|
|
5120
|
-
strong:
|
|
5120
|
+
strong: Se(nn),
|
|
5121
5121
|
/**
|
|
5122
5122
|
[Content](#highlight.tags.content) that is part of a link.
|
|
5123
5123
|
*/
|
|
5124
|
-
link:
|
|
5124
|
+
link: Se(nn),
|
|
5125
5125
|
/**
|
|
5126
5126
|
[Content](#highlight.tags.content) that is styled as code or
|
|
5127
5127
|
monospace.
|
|
5128
5128
|
*/
|
|
5129
|
-
monospace:
|
|
5129
|
+
monospace: Se(nn),
|
|
5130
5130
|
/**
|
|
5131
5131
|
[Content](#highlight.tags.content) that has a strike-through
|
|
5132
5132
|
style.
|
|
5133
5133
|
*/
|
|
5134
|
-
strikethrough:
|
|
5134
|
+
strikethrough: Se(nn),
|
|
5135
5135
|
/**
|
|
5136
5136
|
Inserted text in a change-tracking format.
|
|
5137
5137
|
*/
|
|
5138
|
-
inserted:
|
|
5138
|
+
inserted: Se(),
|
|
5139
5139
|
/**
|
|
5140
5140
|
Deleted text.
|
|
5141
5141
|
*/
|
|
5142
|
-
deleted:
|
|
5142
|
+
deleted: Se(),
|
|
5143
5143
|
/**
|
|
5144
5144
|
Changed text.
|
|
5145
5145
|
*/
|
|
5146
|
-
changed:
|
|
5146
|
+
changed: Se(),
|
|
5147
5147
|
/**
|
|
5148
5148
|
An invalid or unsyntactic element.
|
|
5149
5149
|
*/
|
|
5150
|
-
invalid:
|
|
5150
|
+
invalid: Se(),
|
|
5151
5151
|
/**
|
|
5152
5152
|
Metadata or meta-instruction.
|
|
5153
5153
|
*/
|
|
@@ -5156,17 +5156,17 @@ const be = an.define, sl = be(), fi = be(), fg = be(fi), hg = be(fi), hi = be(),
|
|
|
5156
5156
|
[Metadata](#highlight.tags.meta) that applies to the entire
|
|
5157
5157
|
document.
|
|
5158
5158
|
*/
|
|
5159
|
-
documentMeta:
|
|
5159
|
+
documentMeta: Se(ll),
|
|
5160
5160
|
/**
|
|
5161
5161
|
[Metadata](#highlight.tags.meta) that annotates or adds
|
|
5162
5162
|
attributes to a given syntactic element.
|
|
5163
5163
|
*/
|
|
5164
|
-
annotation:
|
|
5164
|
+
annotation: Se(ll),
|
|
5165
5165
|
/**
|
|
5166
5166
|
Processing instruction or preprocessor directive. Subtag of
|
|
5167
5167
|
[meta](#highlight.tags.meta).
|
|
5168
5168
|
*/
|
|
5169
|
-
processingInstruction:
|
|
5169
|
+
processingInstruction: Se(ll),
|
|
5170
5170
|
/**
|
|
5171
5171
|
[Modifier](#highlight.Tag^defineModifier) that indicates that a
|
|
5172
5172
|
given element is being defined. Expected to be used with the
|
|
@@ -9452,9 +9452,9 @@ class au {
|
|
|
9452
9452
|
destroy(e) {
|
|
9453
9453
|
}
|
|
9454
9454
|
}
|
|
9455
|
-
var
|
|
9455
|
+
var Dr = /* @__PURE__ */ function(t) {
|
|
9456
9456
|
return t[t.Text = 0] = "Text", t[t.WidgetBefore = 1] = "WidgetBefore", t[t.WidgetAfter = 2] = "WidgetAfter", t[t.WidgetRange = 3] = "WidgetRange", t;
|
|
9457
|
-
}(
|
|
9457
|
+
}(Dr || (Dr = {}));
|
|
9458
9458
|
class It extends oo {
|
|
9459
9459
|
constructor(e, r, n, i) {
|
|
9460
9460
|
super(), this.startSide = e, this.endSide = r, this.widget = n, this.spec = i;
|
|
@@ -9559,7 +9559,7 @@ class _i extends It {
|
|
|
9559
9559
|
}
|
|
9560
9560
|
// Only relevant when this.block == true
|
|
9561
9561
|
get type() {
|
|
9562
|
-
return this.startSide != this.endSide ?
|
|
9562
|
+
return this.startSide != this.endSide ? Dr.WidgetRange : this.startSide <= 0 ? Dr.WidgetBefore : Dr.WidgetAfter;
|
|
9563
9563
|
}
|
|
9564
9564
|
get heightRelevant() {
|
|
9565
9565
|
return this.block || !!this.widget && (this.widget.estimatedHeight >= 5 || this.widget.lineBreaks > 0);
|
|
@@ -10681,7 +10681,7 @@ function YS(t, e, r, n = -1) {
|
|
|
10681
10681
|
return 0;
|
|
10682
10682
|
if (f > c)
|
|
10683
10683
|
return t.state.doc.length;
|
|
10684
|
-
for (let Q = t.viewState.heightOracle.textHeight / 2, I = !1; l = t.elementAtHeight(f), l.type !=
|
|
10684
|
+
for (let Q = t.viewState.heightOracle.textHeight / 2, I = !1; l = t.elementAtHeight(f), l.type != Dr.Text; )
|
|
10685
10685
|
for (; f = n > 0 ? l.bottom + Q : l.top - Q, !(f >= 0 && f <= c); ) {
|
|
10686
10686
|
if (I)
|
|
10687
10687
|
return r ? null : 0;
|
|
@@ -10756,13 +10756,13 @@ function uT(t, e) {
|
|
|
10756
10756
|
let r = t.lineBlockAt(e);
|
|
10757
10757
|
if (Array.isArray(r.type)) {
|
|
10758
10758
|
for (let n of r.type)
|
|
10759
|
-
if (n.to > e || n.to == e && (n.to == r.to || n.type ==
|
|
10759
|
+
if (n.to > e || n.to == e && (n.to == r.to || n.type == Dr.Text))
|
|
10760
10760
|
return n;
|
|
10761
10761
|
}
|
|
10762
10762
|
return r;
|
|
10763
10763
|
}
|
|
10764
10764
|
function dT(t, e, r, n) {
|
|
10765
|
-
let i = uT(t, e.head), o = !n || i.type !=
|
|
10765
|
+
let i = uT(t, e.head), o = !n || i.type != Dr.Text || !(t.lineWrapping || i.widgetLineBreaks) ? null : t.coordsAtPos(e.assoc < 0 && e.head > i.from ? e.head - 1 : e.head);
|
|
10766
10766
|
if (o) {
|
|
10767
10767
|
let s = t.dom.getBoundingClientRect(), a = t.textDirectionAt(i.from), l = t.posAtCoords({
|
|
10768
10768
|
x: r == (a == Ht.LTR) ? s.right - 1 : s.left + 1,
|
|
@@ -10936,8 +10936,8 @@ function OT(t) {
|
|
|
10936
10936
|
}
|
|
10937
10937
|
for (let n in bn)
|
|
10938
10938
|
r(n).handlers.push(bn[n]);
|
|
10939
|
-
for (let n in
|
|
10940
|
-
r(n).observers.push(
|
|
10939
|
+
for (let n in Lr)
|
|
10940
|
+
r(n).observers.push(Lr[n]);
|
|
10941
10941
|
return e;
|
|
10942
10942
|
}
|
|
10943
10943
|
const MS = [
|
|
@@ -11044,7 +11044,7 @@ function $T(t, e) {
|
|
|
11044
11044
|
return !1;
|
|
11045
11045
|
return !0;
|
|
11046
11046
|
}
|
|
11047
|
-
const bn = /* @__PURE__ */ Object.create(null),
|
|
11047
|
+
const bn = /* @__PURE__ */ Object.create(null), Lr = /* @__PURE__ */ Object.create(null), DS = ke.ie && ke.ie_version < 15 || ke.ios && ke.webkit_version < 604;
|
|
11048
11048
|
function wT(t) {
|
|
11049
11049
|
let e = t.dom.parentNode;
|
|
11050
11050
|
if (!e)
|
|
@@ -11082,14 +11082,14 @@ function NS(t, e) {
|
|
|
11082
11082
|
scrollIntoView: !0
|
|
11083
11083
|
});
|
|
11084
11084
|
}
|
|
11085
|
-
|
|
11085
|
+
Lr.scroll = (t) => {
|
|
11086
11086
|
t.inputState.lastScrollTop = t.scrollDOM.scrollTop, t.inputState.lastScrollLeft = t.scrollDOM.scrollLeft;
|
|
11087
11087
|
};
|
|
11088
11088
|
bn.keydown = (t, e) => (t.inputState.setSelectionOrigin("select"), e.keyCode == 27 && (t.inputState.lastEscPress = Date.now()), !1);
|
|
11089
|
-
|
|
11089
|
+
Lr.touchstart = (t, e) => {
|
|
11090
11090
|
t.inputState.lastTouchTime = Date.now(), t.inputState.setSelectionOrigin("select.pointer");
|
|
11091
11091
|
};
|
|
11092
|
-
|
|
11092
|
+
Lr.touchmove = (t) => {
|
|
11093
11093
|
t.inputState.setSelectionOrigin("select.pointer");
|
|
11094
11094
|
};
|
|
11095
11095
|
bn.mousedown = (t, e) => {
|
|
@@ -11269,21 +11269,21 @@ function HS(t) {
|
|
|
11269
11269
|
}
|
|
11270
11270
|
}, 10);
|
|
11271
11271
|
}
|
|
11272
|
-
|
|
11272
|
+
Lr.focus = (t) => {
|
|
11273
11273
|
t.inputState.lastFocusTime = Date.now(), !t.scrollDOM.scrollTop && (t.inputState.lastScrollTop || t.inputState.lastScrollLeft) && (t.scrollDOM.scrollTop = t.inputState.lastScrollTop, t.scrollDOM.scrollLeft = t.inputState.lastScrollLeft), HS(t);
|
|
11274
11274
|
};
|
|
11275
|
-
|
|
11275
|
+
Lr.blur = (t) => {
|
|
11276
11276
|
t.observer.clearSelectionRange(), HS(t);
|
|
11277
11277
|
};
|
|
11278
|
-
|
|
11278
|
+
Lr.compositionstart = Lr.compositionupdate = (t) => {
|
|
11279
11279
|
t.inputState.compositionFirstChange == null && (t.inputState.compositionFirstChange = !0), t.inputState.composing < 0 && (t.inputState.composing = 0);
|
|
11280
11280
|
};
|
|
11281
|
-
|
|
11281
|
+
Lr.compositionend = (t) => {
|
|
11282
11282
|
t.inputState.composing = -1, t.inputState.compositionEndedAt = Date.now(), t.inputState.compositionPendingKey = !0, t.inputState.compositionPendingChange = t.observer.pendingRecords().length > 0, t.inputState.compositionFirstChange = null, ke.chrome && ke.android ? t.observer.flushSoon() : t.inputState.compositionPendingChange ? Promise.resolve().then(() => t.observer.flush()) : setTimeout(() => {
|
|
11283
11283
|
t.inputState.composing < 0 && t.docView.hasComposition && t.update([]);
|
|
11284
11284
|
}, 50);
|
|
11285
11285
|
};
|
|
11286
|
-
|
|
11286
|
+
Lr.contextmenu = (t) => {
|
|
11287
11287
|
t.inputState.lastContextMenu = Date.now();
|
|
11288
11288
|
};
|
|
11289
11289
|
bn.beforeinput = (t, e) => {
|
|
@@ -11362,7 +11362,7 @@ class dn {
|
|
|
11362
11362
|
an array of all the blocks that make up the line.
|
|
11363
11363
|
*/
|
|
11364
11364
|
get type() {
|
|
11365
|
-
return typeof this._content == "number" ?
|
|
11365
|
+
return typeof this._content == "number" ? Dr.Text : Array.isArray(this._content) ? this._content : this._content.type;
|
|
11366
11366
|
}
|
|
11367
11367
|
/**
|
|
11368
11368
|
The end of the element as a document position.
|
|
@@ -13769,7 +13769,7 @@ const f3 = /* @__PURE__ */ Bn.fromClass(class {
|
|
|
13769
13769
|
if (n.length && (n = []), Array.isArray(o.type)) {
|
|
13770
13770
|
let s = !0;
|
|
13771
13771
|
for (let a of o.type)
|
|
13772
|
-
if (a.type ==
|
|
13772
|
+
if (a.type == Dr.Text && s) {
|
|
13773
13773
|
Jf(r, n, a.from);
|
|
13774
13774
|
for (let l of i)
|
|
13775
13775
|
l.line(this.view, a, n);
|
|
@@ -13777,7 +13777,7 @@ const f3 = /* @__PURE__ */ Bn.fromClass(class {
|
|
|
13777
13777
|
} else if (a.widget)
|
|
13778
13778
|
for (let l of i)
|
|
13779
13779
|
l.widget(this.view, a);
|
|
13780
|
-
} else if (o.type ==
|
|
13780
|
+
} else if (o.type == Dr.Text) {
|
|
13781
13781
|
Jf(r, n, o.from);
|
|
13782
13782
|
for (let s of i)
|
|
13783
13783
|
s.line(this.view, o, n);
|
|
@@ -17813,17 +17813,17 @@ function br(t) {
|
|
|
17813
17813
|
if (K.eatWhile(b), h)
|
|
17814
17814
|
for (; K.match(h); )
|
|
17815
17815
|
K.eatWhile(b);
|
|
17816
|
-
var
|
|
17817
|
-
return kn(n,
|
|
17816
|
+
var be = K.current();
|
|
17817
|
+
return kn(n, be) ? (kn(s, be) && (Q = "newstatement"), kn(a, be) && (I = !0), "keyword") : kn(i, be) ? "type" : kn(o, be) || w && w(be) ? (kn(s, be) && (Q = "newstatement"), "builtin") : kn(l, be) ? "atom" : "variable";
|
|
17818
17818
|
}
|
|
17819
17819
|
function W(K) {
|
|
17820
17820
|
return function(ae, te) {
|
|
17821
|
-
for (var he = !1,
|
|
17822
|
-
if (
|
|
17821
|
+
for (var he = !1, be, Ae = !1; (be = ae.next()) != null; ) {
|
|
17822
|
+
if (be == K && !he) {
|
|
17823
17823
|
Ae = !0;
|
|
17824
17824
|
break;
|
|
17825
17825
|
}
|
|
17826
|
-
he = !he &&
|
|
17826
|
+
he = !he && be == "\\";
|
|
17827
17827
|
}
|
|
17828
17828
|
return (Ae || !(he || u)) && (te.tokenize = null), "string";
|
|
17829
17829
|
};
|
|
@@ -17877,16 +17877,16 @@ function br(t) {
|
|
|
17877
17877
|
} else
|
|
17878
17878
|
Q == te.type ? Is(ae) : d && ((te.type == "}" || te.type == "top") && Q != ";" || te.type == "statement" && Q == "newstatement") && bl(ae, K.column(), "statement", K.current());
|
|
17879
17879
|
if (he == "variable" && (ae.prevToken == "def" || t.typeFirstDefinitions && z0(K, ae, K.start) && Qd(ae.context) && K.match(/^\s*\(/, !1)) && (he = "def"), c.token) {
|
|
17880
|
-
var
|
|
17881
|
-
|
|
17880
|
+
var be = c.token(K, ae, he);
|
|
17881
|
+
be !== void 0 && (he = be);
|
|
17882
17882
|
}
|
|
17883
17883
|
return he == "def" && t.styleDefs === !1 && (he = "variable"), ae.startOfLine = !1, ae.prevToken = I ? "def" : he || Q, J(K, ae), he;
|
|
17884
17884
|
},
|
|
17885
17885
|
indent: function(K, ae, te) {
|
|
17886
17886
|
if (K.tokenize != E && K.tokenize != null || K.typeAtEndOfLine && Qd(K.context))
|
|
17887
17887
|
return null;
|
|
17888
|
-
var he = K.context,
|
|
17889
|
-
if (he.type == "statement" &&
|
|
17888
|
+
var he = K.context, be = ae && ae.charAt(0), Ae = be == he.type;
|
|
17889
|
+
if (he.type == "statement" && be == "}" && (he = he.prev), t.dontIndentStatements)
|
|
17890
17890
|
for (; he.type == "statement" && t.dontIndentStatements.test(he.info); )
|
|
17891
17891
|
he = he.prev;
|
|
17892
17892
|
if (c.indent) {
|
|
@@ -17895,12 +17895,12 @@ function br(t) {
|
|
|
17895
17895
|
return qe;
|
|
17896
17896
|
}
|
|
17897
17897
|
var Fe = he.prev && he.prev.info == "switch";
|
|
17898
|
-
if (t.allmanIndentation && /[{(]/.test(
|
|
17898
|
+
if (t.allmanIndentation && /[{(]/.test(be)) {
|
|
17899
17899
|
for (; he.type != "top" && he.type != "}"; )
|
|
17900
17900
|
he = he.prev;
|
|
17901
17901
|
return he.indented;
|
|
17902
17902
|
}
|
|
17903
|
-
return he.type == "statement" ? he.indented + (
|
|
17903
|
+
return he.type == "statement" ? he.indented + (be == "{" ? 0 : e || te.unit) : he.align && (!r || he.type != ")") ? he.column + (Ae ? 0 : 1) : he.type == ")" && !Ae ? he.indented + (e || te.unit) : he.indented + (Ae ? 0 : te.unit) + (!Ae && Fe && !/^(?:case|default)\b/.test(ae) ? te.unit : 0);
|
|
17904
17904
|
},
|
|
17905
17905
|
languageData: {
|
|
17906
17906
|
indentOnInput: f ? /^\s*(?:case .*?:|default:|\{\}?|\})$/ : /^\s*[{}]$/,
|
|
@@ -19915,9 +19915,9 @@ function yu(t) {
|
|
|
19915
19915
|
e[t[r]] = !0;
|
|
19916
19916
|
return e;
|
|
19917
19917
|
}
|
|
19918
|
-
var ow = ["NULL", "NA", "Inf", "NaN", "NA_integer_", "NA_real_", "NA_complex_", "NA_character_", "TRUE", "FALSE"], sw = ["list", "quote", "bquote", "eval", "return", "call", "parse", "deparse"], aw = ["if", "else", "repeat", "while", "function", "for", "in", "next", "break"], F7 = ["if", "else", "repeat", "while", "function", "for"], H7 = yu(ow), K7 = yu(sw), J7 = yu(aw), eR = yu(F7), e1 = /[+\-*\/^<>=!&|~$:]/,
|
|
19918
|
+
var ow = ["NULL", "NA", "Inf", "NaN", "NA_integer_", "NA_real_", "NA_complex_", "NA_character_", "TRUE", "FALSE"], sw = ["list", "quote", "bquote", "eval", "return", "call", "parse", "deparse"], aw = ["if", "else", "repeat", "while", "function", "for", "in", "next", "break"], F7 = ["if", "else", "repeat", "while", "function", "for"], H7 = yu(ow), K7 = yu(sw), J7 = yu(aw), eR = yu(F7), e1 = /[+\-*\/^<>=!&|~$:]/, Ir;
|
|
19919
19919
|
function sh(t, e) {
|
|
19920
|
-
|
|
19920
|
+
Ir = null;
|
|
19921
19921
|
var r = t.next();
|
|
19922
19922
|
if (r == "#")
|
|
19923
19923
|
return t.skipToEnd(), "comment";
|
|
@@ -19936,9 +19936,9 @@ function sh(t, e) {
|
|
|
19936
19936
|
if (/[a-zA-Z\.]/.test(r)) {
|
|
19937
19937
|
t.eatWhile(/[\w\.]/);
|
|
19938
19938
|
var n = t.current();
|
|
19939
|
-
return H7.propertyIsEnumerable(n) ? "atom" : J7.propertyIsEnumerable(n) ? (eR.propertyIsEnumerable(n) && !t.match(/\s*if(\s+|$)/, !1) && (
|
|
19939
|
+
return H7.propertyIsEnumerable(n) ? "atom" : J7.propertyIsEnumerable(n) ? (eR.propertyIsEnumerable(n) && !t.match(/\s*if(\s+|$)/, !1) && (Ir = "block"), "keyword") : K7.propertyIsEnumerable(n) ? "builtin" : "variable";
|
|
19940
19940
|
} else
|
|
19941
|
-
return r == "%" ? (t.skipTo("%") && t.next(), "variableName.special") : r == "<" && t.eat("-") || r == "<" && t.match("<-") || r == "-" && t.match(/>>?/) || r == "=" && e.ctx.argList ? "operator" : e1.test(r) ? (r == "$" || t.eatWhile(e1), "operator") : /[\(\){}\[\];]/.test(r) ? (
|
|
19941
|
+
return r == "%" ? (t.skipTo("%") && t.next(), "variableName.special") : r == "<" && t.eat("-") || r == "<" && t.match("<-") || r == "-" && t.match(/>>?/) || r == "=" && e.ctx.argList ? "operator" : e1.test(r) ? (r == "$" || t.eatWhile(e1), "operator") : /[\(\){}\[\];]/.test(r) ? (Ir = r, r == ";" ? "punctuation" : null) : null;
|
|
19942
19942
|
}
|
|
19943
19943
|
function tR(t) {
|
|
19944
19944
|
return function(e, r) {
|
|
@@ -20001,7 +20001,7 @@ const rR = {
|
|
|
20001
20001
|
if (t.sol() && (e.ctx.flags & 3 || (e.ctx.flags |= Td), e.ctx.flags & Rd && Cd(e), e.indent = t.indentation()), t.eatSpace())
|
|
20002
20002
|
return null;
|
|
20003
20003
|
var r = e.tokenize(t, e);
|
|
20004
|
-
return r != "comment" && !(e.ctx.flags & Td) && r1(e, t1), (
|
|
20004
|
+
return r != "comment" && !(e.ctx.flags & Td) && r1(e, t1), (Ir == ";" || Ir == "{" || Ir == "}") && e.ctx.type == "block" && Cd(e), Ir == "{" ? Sl(e, "}", t) : Ir == "(" ? (Sl(e, ")", t), e.afterIdent && (e.ctx.argList = !0)) : Ir == "[" ? Sl(e, "]", t) : Ir == "block" ? Sl(e, "block", t) : Ir == e.ctx.type ? Cd(e) : e.ctx.type == "block" && r != "comment" && r1(e, Rd), e.afterIdent = r == "variable" || r == "keyword", r;
|
|
20005
20005
|
},
|
|
20006
20006
|
indent: function(t, e, r) {
|
|
20007
20007
|
if (t.tokenize != sh)
|
|
@@ -20092,7 +20092,7 @@ var lw = [
|
|
|
20092
20092
|
"loop",
|
|
20093
20093
|
"proc",
|
|
20094
20094
|
"begin"
|
|
20095
|
-
]), oR = lO(["end", "until"]), n1 = { "[": "]", "{": "}", "(": ")" }, sR = { "]": "[", "}": "{", ")": "(" },
|
|
20095
|
+
]), oR = lO(["end", "until"]), n1 = { "[": "]", "{": "}", "(": ")" }, sR = { "]": "[", "}": "{", ")": "(" }, Wr;
|
|
20096
20096
|
function Qo(t, e, r) {
|
|
20097
20097
|
return r.tokenize.push(t), t(e, r);
|
|
20098
20098
|
}
|
|
@@ -20134,14 +20134,14 @@ function Cc(t, e) {
|
|
|
20134
20134
|
if (/[a-zA-Z_\xa1-\uffff]/.test(r))
|
|
20135
20135
|
return t.eatWhile(/[\w\xa1-\uffff]/), t.eat(/[\?\!]/), t.eat(":") ? "atom" : "variable";
|
|
20136
20136
|
if (r == "|" && (e.varList || e.lastTok == "{" || e.lastTok == "do"))
|
|
20137
|
-
return
|
|
20137
|
+
return Wr = "|", null;
|
|
20138
20138
|
if (/[\(\)\[\]{}\\;]/.test(r))
|
|
20139
|
-
return
|
|
20139
|
+
return Wr = r, null;
|
|
20140
20140
|
if (r == "-" && t.eat(">"))
|
|
20141
20141
|
return "operator";
|
|
20142
20142
|
if (/[=+\-\/*:\.^%<>~|]/.test(r)) {
|
|
20143
20143
|
var a = t.eatWhile(/[=+\-\/*:\.^%<>~|]/);
|
|
20144
|
-
return r == "." && !a && (
|
|
20144
|
+
return r == "." && !a && (Wr = "."), "operator";
|
|
20145
20145
|
} else
|
|
20146
20146
|
return null;
|
|
20147
20147
|
}
|
|
@@ -20225,13 +20225,13 @@ const dR = {
|
|
|
20225
20225
|
};
|
|
20226
20226
|
},
|
|
20227
20227
|
token: function(t, e) {
|
|
20228
|
-
|
|
20229
|
-
var r = e.tokenize[e.tokenize.length - 1](t, e), n, i =
|
|
20228
|
+
Wr = null, t.sol() && (e.indented = t.indentation());
|
|
20229
|
+
var r = e.tokenize[e.tokenize.length - 1](t, e), n, i = Wr;
|
|
20230
20230
|
if (r == "variable") {
|
|
20231
20231
|
var o = t.current();
|
|
20232
20232
|
r = e.lastTok == "." ? "property" : nR.propertyIsEnumerable(t.current()) ? "keyword" : /^[A-Z]/.test(o) ? "tag" : e.lastTok == "def" || e.lastTok == "class" || e.varList ? "def" : "variable", r == "keyword" && (i = o, iR.propertyIsEnumerable(o) ? n = "indent" : oR.propertyIsEnumerable(o) ? n = "dedent" : ((o == "if" || o == "unless") && t.column() == t.indentation() || o == "do" && e.context.indented < e.indented) && (n = "indent"));
|
|
20233
20233
|
}
|
|
20234
|
-
return (
|
|
20234
|
+
return (Wr || r && r != "comment") && (e.lastTok = i), Wr == "|" && (e.varList = !e.varList), n == "indent" || /[\(\[\{]/.test(Wr) ? e.context = { prev: e.context, type: Wr || r, indented: e.indented } : (n == "dedent" || /[\)\]\}]/.test(Wr)) && e.context.prev && (e.context = e.context.prev), t.eol() && (e.continuedLine = Wr == "\\" || r == "operator"), r;
|
|
20235
20235
|
},
|
|
20236
20236
|
indent: function(t, e, r) {
|
|
20237
20237
|
if (t.tokenize[t.tokenize.length - 1] != Cc)
|
|
@@ -21030,7 +21030,7 @@ const i1 = pw({
|
|
|
21030
21030
|
}
|
|
21031
21031
|
)
|
|
21032
21032
|
}
|
|
21033
|
-
),
|
|
21033
|
+
), Vr = /* @__PURE__ */ fe({
|
|
21034
21034
|
__name: "CodeMirror",
|
|
21035
21035
|
props: {
|
|
21036
21036
|
name: {},
|
|
@@ -21193,12 +21193,12 @@ const VR = { class: "modal-layout" }, YR = /* @__PURE__ */ fe({
|
|
|
21193
21193
|
}, 8, ["open"]));
|
|
21194
21194
|
}
|
|
21195
21195
|
});
|
|
21196
|
-
const
|
|
21196
|
+
const ve = (t, e) => {
|
|
21197
21197
|
const r = t.__vccOpts || t;
|
|
21198
21198
|
for (const [n, i] of e)
|
|
21199
21199
|
r[n] = i;
|
|
21200
21200
|
return r;
|
|
21201
|
-
}, uO = /* @__PURE__ */
|
|
21201
|
+
}, uO = /* @__PURE__ */ ve(YR, [["__scopeId", "data-v-e6a4a41b"]]), dO = () => yr({
|
|
21202
21202
|
open: !1,
|
|
21203
21203
|
show() {
|
|
21204
21204
|
this.open = !0;
|
|
@@ -24118,8 +24118,9 @@ const dC = (t) => {
|
|
|
24118
24118
|
}, yC = (t, e) => Object.entries(e).reduce((r, [n, i]) => r.replace(`{${n}}`, i.toString()), t);
|
|
24119
24119
|
let pO = (t = 21) => crypto.getRandomValues(new Uint8Array(t)).reduce((e, r) => (r &= 63, r < 36 ? e += r.toString(36) : r < 62 ? e += (r - 26).toString(36).toUpperCase() : r > 62 ? e += "-" : e += "_", e), "");
|
|
24120
24120
|
async function vC(t, e) {
|
|
24121
|
+
var O;
|
|
24121
24122
|
const r = OC(t.type), n = ta(
|
|
24122
|
-
(t.headers ?? []).filter((
|
|
24123
|
+
(t.headers ?? []).filter((b) => b.enabled),
|
|
24123
24124
|
"name",
|
|
24124
24125
|
"value"
|
|
24125
24126
|
), i = mC(t.url), o = dC(t.path), [s, ...a] = cC(
|
|
@@ -24128,16 +24129,16 @@ async function vC(t, e) {
|
|
|
24128
24129
|
).split("?"), l = yC(
|
|
24129
24130
|
s,
|
|
24130
24131
|
ta(
|
|
24131
|
-
(t.variables ?? []).filter((
|
|
24132
|
+
(t.variables ?? []).filter((b) => b.enabled),
|
|
24132
24133
|
"name",
|
|
24133
24134
|
"value"
|
|
24134
24135
|
)
|
|
24135
24136
|
), c = [];
|
|
24136
|
-
a.forEach((
|
|
24137
|
-
new URLSearchParams(
|
|
24137
|
+
a.forEach((b) => {
|
|
24138
|
+
new URLSearchParams(b ?? "").forEach((w, Q) => {
|
|
24138
24139
|
c.push({
|
|
24139
|
-
name:
|
|
24140
|
-
value:
|
|
24140
|
+
name: Q,
|
|
24141
|
+
value: w,
|
|
24141
24142
|
enabled: !0
|
|
24142
24143
|
});
|
|
24143
24144
|
});
|
|
@@ -24146,7 +24147,7 @@ async function vC(t, e) {
|
|
|
24146
24147
|
// TODO: No type-casting
|
|
24147
24148
|
ta(
|
|
24148
24149
|
[
|
|
24149
|
-
...(t.query ?? []).filter((
|
|
24150
|
+
...(t.query ?? []).filter((b) => b.enabled),
|
|
24150
24151
|
...c
|
|
24151
24152
|
],
|
|
24152
24153
|
"name",
|
|
@@ -24155,13 +24156,13 @@ async function vC(t, e) {
|
|
|
24155
24156
|
).toString(), d = `${l}${u ? "?" + u : ""}`, f = {
|
|
24156
24157
|
type: "none"
|
|
24157
24158
|
}, h = Date.now();
|
|
24158
|
-
if (t.cookies) {
|
|
24159
|
-
const
|
|
24160
|
-
(t.cookies ?? []).filter((
|
|
24159
|
+
if (t.cookies && ((O = t.cookies) == null ? void 0 : O.length) > 0) {
|
|
24160
|
+
const b = ta(
|
|
24161
|
+
(t.cookies ?? []).filter((w) => w.enabled),
|
|
24161
24162
|
"name",
|
|
24162
24163
|
"value"
|
|
24163
24164
|
);
|
|
24164
|
-
n.Cookie = Object.keys(
|
|
24165
|
+
n.Cookie = Object.keys(b).map((w) => `${w}=${b[w]}`).join("; ");
|
|
24165
24166
|
}
|
|
24166
24167
|
const p = {
|
|
24167
24168
|
method: r,
|
|
@@ -24179,24 +24180,24 @@ async function vC(t, e) {
|
|
|
24179
24180
|
headers: p.headers,
|
|
24180
24181
|
data: p.data
|
|
24181
24182
|
};
|
|
24182
|
-
console.info(e ? `${p.method} ${e} → ${p.url}` : `${p.method} ${p.url}`);
|
|
24183
|
-
const g = await eQ(v).then((
|
|
24184
|
-
...
|
|
24183
|
+
n.cookies && (v.withCredentials = !0), console.info(e ? `${p.method} ${e} → ${p.url}` : `${p.method} ${p.url}`);
|
|
24184
|
+
const g = await eQ(v).then((b) => e ? {
|
|
24185
|
+
...b.data,
|
|
24185
24186
|
error: !1
|
|
24186
24187
|
} : {
|
|
24187
|
-
...
|
|
24188
|
-
statusCode:
|
|
24189
|
-
data: JSON.stringify(
|
|
24188
|
+
...b,
|
|
24189
|
+
statusCode: b.status,
|
|
24190
|
+
data: JSON.stringify(b.data),
|
|
24190
24191
|
error: !1
|
|
24191
|
-
}).catch((
|
|
24192
|
-
const { response:
|
|
24192
|
+
}).catch((b) => {
|
|
24193
|
+
const { response: w } = b;
|
|
24193
24194
|
return {
|
|
24194
24195
|
headers: {
|
|
24195
24196
|
"content-type": "application/json; charset=utf-8"
|
|
24196
24197
|
},
|
|
24197
|
-
...
|
|
24198
|
-
statusCode: (
|
|
24199
|
-
data: JSON.stringify((
|
|
24198
|
+
...w,
|
|
24199
|
+
statusCode: (w == null ? void 0 : w.status) ?? 0,
|
|
24200
|
+
data: JSON.stringify((w == null ? void 0 : w.data) ?? { error: b.code })
|
|
24200
24201
|
};
|
|
24201
24202
|
});
|
|
24202
24203
|
return {
|
|
@@ -24446,7 +24447,7 @@ const jC = { class: "request-method-select" }, IC = ["disabled", "value"], WC =
|
|
|
24446
24447
|
]));
|
|
24447
24448
|
}
|
|
24448
24449
|
});
|
|
24449
|
-
const YC = /* @__PURE__ */
|
|
24450
|
+
const YC = /* @__PURE__ */ ve(VC, [["__scopeId", "data-v-f4f13406"]]), OO = (t) => (Gr("data-v-3d52ecda"), t = t(), Fr(), t), MC = {
|
|
24450
24451
|
key: 0,
|
|
24451
24452
|
class: "loader"
|
|
24452
24453
|
}, zC = { class: "scalar-api-client__url-form" }, DC = { class: "scalar-api-client__field" }, NC = ["disabled"], LC = /* @__PURE__ */ OO(() => /* @__PURE__ */ R("svg", {
|
|
@@ -24550,7 +24551,7 @@ const YC = /* @__PURE__ */ Se(VC, [["__scopeId", "data-v-f4f13406"]]), OO = (t)
|
|
|
24550
24551
|
requestMethod: v.value,
|
|
24551
24552
|
onChange: I
|
|
24552
24553
|
}, null, 8, ["readOnly", "requestMethod"]),
|
|
24553
|
-
B($(
|
|
24554
|
+
B($(Vr), {
|
|
24554
24555
|
class: "scalar-api-client__url-input",
|
|
24555
24556
|
content: O.value,
|
|
24556
24557
|
disableEnter: "",
|
|
@@ -24599,7 +24600,7 @@ const YC = /* @__PURE__ */ Se(VC, [["__scopeId", "data-v-f4f13406"]]), OO = (t)
|
|
|
24599
24600
|
], 64));
|
|
24600
24601
|
}
|
|
24601
24602
|
});
|
|
24602
|
-
const eE = /* @__PURE__ */
|
|
24603
|
+
const eE = /* @__PURE__ */ ve(JC, [["__scopeId", "data-v-3d52ecda"]]), tE = /* @__PURE__ */ R("svg", {
|
|
24603
24604
|
class: "scalar-api-client__toggle__icon",
|
|
24604
24605
|
height: "10",
|
|
24605
24606
|
viewBox: "0 0 5 10",
|
|
@@ -25105,7 +25106,7 @@ const hX = { class: "navtable simpletable" }, pX = { class: "navtable-table" },
|
|
|
25105
25106
|
i.body && i.body.length === 0 && i.formData && i.formData.length === 0 ? (P(), V("span", vX, "No Body")) : i.formData && i.formData.length > 0 ? (P(), le($(Ma), {
|
|
25106
25107
|
key: 1,
|
|
25107
25108
|
items: i.formData
|
|
25108
|
-
}, null, 8, ["items"])) : (P(), le($(
|
|
25109
|
+
}, null, 8, ["items"])) : (P(), le($(Vr), {
|
|
25109
25110
|
key: 2,
|
|
25110
25111
|
content: $(e).body,
|
|
25111
25112
|
languages: ["json"],
|
|
@@ -25479,7 +25480,7 @@ const BX = {
|
|
|
25479
25480
|
return (i, o) => (P(), le($(ri), { title: "Body" }, {
|
|
25480
25481
|
default: D(() => [
|
|
25481
25482
|
i.active ? (P(), V(me, { key: 0 }, [
|
|
25482
|
-
n.value ? (P(), le($(
|
|
25483
|
+
n.value ? (P(), le($(Vr), {
|
|
25483
25484
|
key: 0,
|
|
25484
25485
|
content: i.data,
|
|
25485
25486
|
languages: n.value,
|
|
@@ -25511,7 +25512,7 @@ const BX = {
|
|
|
25511
25512
|
], 8, HX));
|
|
25512
25513
|
}
|
|
25513
25514
|
});
|
|
25514
|
-
const Xw = /* @__PURE__ */
|
|
25515
|
+
const Xw = /* @__PURE__ */ ve(KX, [["__scopeId", "data-v-d11ff062"]]), JX = /* @__PURE__ */ fe({
|
|
25515
25516
|
__name: "SimpleCell",
|
|
25516
25517
|
props: {
|
|
25517
25518
|
wrap: { type: Boolean, default: !0 },
|
|
@@ -25534,7 +25535,7 @@ const Xw = /* @__PURE__ */ Se(KX, [["__scopeId", "data-v-d11ff062"]]), JX = /* @
|
|
|
25534
25535
|
], 2));
|
|
25535
25536
|
}
|
|
25536
25537
|
});
|
|
25537
|
-
const Ph = /* @__PURE__ */
|
|
25538
|
+
const Ph = /* @__PURE__ */ ve(JX, [["__scopeId", "data-v-01fffd78"]]), e9 = /* @__PURE__ */ fe({
|
|
25538
25539
|
__name: "SimpleHeader",
|
|
25539
25540
|
setup(t) {
|
|
25540
25541
|
return (e, r) => (P(), le(Ph, {
|
|
@@ -25548,21 +25549,21 @@ const Ph = /* @__PURE__ */ Se(JX, [["__scopeId", "data-v-01fffd78"]]), e9 = /* @
|
|
|
25548
25549
|
}));
|
|
25549
25550
|
}
|
|
25550
25551
|
});
|
|
25551
|
-
const D1 = /* @__PURE__ */
|
|
25552
|
+
const D1 = /* @__PURE__ */ ve(e9, [["__scopeId", "data-v-b2232089"]]);
|
|
25552
25553
|
const t9 = {}, r9 = { class: "simple-row" };
|
|
25553
25554
|
function n9(t, e) {
|
|
25554
25555
|
return P(), V("tr", r9, [
|
|
25555
25556
|
ge(t.$slots, "default", {}, void 0, !0)
|
|
25556
25557
|
]);
|
|
25557
25558
|
}
|
|
25558
|
-
const N1 = /* @__PURE__ */
|
|
25559
|
+
const N1 = /* @__PURE__ */ ve(t9, [["render", n9], ["__scopeId", "data-v-0982ade4"]]);
|
|
25559
25560
|
const i9 = {}, o9 = { class: "simple-table" };
|
|
25560
25561
|
function s9(t, e) {
|
|
25561
25562
|
return P(), V("table", o9, [
|
|
25562
25563
|
ge(t.$slots, "default", {}, void 0, !0)
|
|
25563
25564
|
]);
|
|
25564
25565
|
}
|
|
25565
|
-
const a9 = /* @__PURE__ */
|
|
25566
|
+
const a9 = /* @__PURE__ */ ve(i9, [["render", s9], ["__scopeId", "data-v-28fcbcb6"]]), l9 = {
|
|
25566
25567
|
key: 1,
|
|
25567
25568
|
class: "scalar-api-client__empty-state"
|
|
25568
25569
|
}, c9 = /* @__PURE__ */ fe({
|
|
@@ -26173,7 +26174,7 @@ function xh(t) {
|
|
|
26173
26174
|
let e = t.selectedServer === null ? ((n = (r = t == null ? void 0 : t.servers) == null ? void 0 : r[0]) == null ? void 0 : n.url) ?? void 0 : (o = (i = t == null ? void 0 : t.servers) == null ? void 0 : i[t.selectedServer]) == null ? void 0 : o.url;
|
|
26174
26175
|
return e != null && e.startsWith("/") && (e = `${window.location.origin}${e.slice(1)}`), e ? Ww(e, t == null ? void 0 : t.variables) : void 0;
|
|
26175
26176
|
}
|
|
26176
|
-
function
|
|
26177
|
+
function Bte(t) {
|
|
26177
26178
|
const e = /{{?\s*([\w.-]+)\s*}}?/g, r = t == null ? void 0 : t.matchAll(e);
|
|
26178
26179
|
return Array.from(r ?? [], (n) => n[1]);
|
|
26179
26180
|
}
|
|
@@ -26271,7 +26272,7 @@ function V9(t, e = 1) {
|
|
|
26271
26272
|
const r = new RegExp(`^(?=#{${e}} )`, "m");
|
|
26272
26273
|
return t.split(r).map((n) => n.trim()).filter(Boolean);
|
|
26273
26274
|
}
|
|
26274
|
-
const
|
|
26275
|
+
const Gte = (t) => {
|
|
26275
26276
|
try {
|
|
26276
26277
|
return JSON.parse(t), t;
|
|
26277
26278
|
} catch {
|
|
@@ -27091,12 +27092,12 @@ var lq = function(e) {
|
|
|
27091
27092
|
return typeof Map > "u" ? !1 : te.working ? te(ce) : ce instanceof Map;
|
|
27092
27093
|
}
|
|
27093
27094
|
t.isMap = he;
|
|
27094
|
-
function
|
|
27095
|
+
function be(ce) {
|
|
27095
27096
|
return l(ce) === "[object Set]";
|
|
27096
27097
|
}
|
|
27097
|
-
|
|
27098
|
+
be.working = typeof Set < "u" && be(/* @__PURE__ */ new Set());
|
|
27098
27099
|
function Ae(ce) {
|
|
27099
|
-
return typeof Set > "u" ? !1 :
|
|
27100
|
+
return typeof Set > "u" ? !1 : be.working ? be(ce) : ce instanceof Set;
|
|
27100
27101
|
}
|
|
27101
27102
|
t.isSet = Ae;
|
|
27102
27103
|
function qe(ce) {
|
|
@@ -27471,7 +27472,7 @@ var Xi = Ih.exports;
|
|
|
27471
27472
|
}
|
|
27472
27473
|
t.isUndefined = W;
|
|
27473
27474
|
function G(T) {
|
|
27474
|
-
return J(T) &&
|
|
27475
|
+
return J(T) && be(T) === "[object RegExp]";
|
|
27475
27476
|
}
|
|
27476
27477
|
t.isRegExp = G, t.types.isRegExp = G;
|
|
27477
27478
|
function J(T) {
|
|
@@ -27479,11 +27480,11 @@ var Xi = Ih.exports;
|
|
|
27479
27480
|
}
|
|
27480
27481
|
t.isObject = J;
|
|
27481
27482
|
function K(T) {
|
|
27482
|
-
return J(T) &&
|
|
27483
|
+
return J(T) && be(T) === "[object Date]";
|
|
27483
27484
|
}
|
|
27484
27485
|
t.isDate = K, t.types.isDate = K;
|
|
27485
27486
|
function ae(T) {
|
|
27486
|
-
return J(T) && (
|
|
27487
|
+
return J(T) && (be(T) === "[object Error]" || T instanceof Error);
|
|
27487
27488
|
}
|
|
27488
27489
|
t.isError = ae, t.types.isNativeError = ae;
|
|
27489
27490
|
function te(T) {
|
|
@@ -27495,7 +27496,7 @@ var Xi = Ih.exports;
|
|
|
27495
27496
|
typeof T > "u";
|
|
27496
27497
|
}
|
|
27497
27498
|
t.isPrimitive = he, t.isBuffer = fq;
|
|
27498
|
-
function
|
|
27499
|
+
function be(T) {
|
|
27499
27500
|
return Object.prototype.toString.call(T);
|
|
27500
27501
|
}
|
|
27501
27502
|
function Ae(T) {
|
|
@@ -27650,7 +27651,7 @@ Vc.exports;
|
|
|
27650
27651
|
function he(H) {
|
|
27651
27652
|
return H - 48 < 10 ? H - 22 : H - 65 < 26 ? H - 65 : H - 97 < 26 ? H - 97 : l;
|
|
27652
27653
|
}
|
|
27653
|
-
function
|
|
27654
|
+
function be(H, Y) {
|
|
27654
27655
|
return H + 22 + 75 * (H < 26) - ((Y != 0) << 5);
|
|
27655
27656
|
}
|
|
27656
27657
|
function Ae(H, Y, T) {
|
|
@@ -27681,9 +27682,9 @@ Vc.exports;
|
|
|
27681
27682
|
if (k = H[x], k < Y && ++T > a && G("overflow"), k == Y) {
|
|
27682
27683
|
for (z = T, ie = l; ue = ie <= U ? c : ie >= U + u ? u : ie - U, !(z < ue); ie += l)
|
|
27683
27684
|
Qe = z - ue, We = l - ue, A.push(
|
|
27684
|
-
E(
|
|
27685
|
+
E(be(ue + Qe % We, 0))
|
|
27685
27686
|
), z = I(Qe / We);
|
|
27686
|
-
A.push(E(
|
|
27687
|
+
A.push(E(be(z, 0))), U = Ae(T, Oe, X == S), T = 0, ++X;
|
|
27687
27688
|
}
|
|
27688
27689
|
++T, ++Y;
|
|
27689
27690
|
}
|
|
@@ -27898,8 +27899,8 @@ Er.prototype.parse = function(t, e, r) {
|
|
|
27898
27899
|
for (var h = 0, w = Vh.length; h < w; h++) {
|
|
27899
27900
|
var he = Vh[h];
|
|
27900
27901
|
if (a.indexOf(he) !== -1) {
|
|
27901
|
-
var
|
|
27902
|
-
|
|
27902
|
+
var be = encodeURIComponent(he);
|
|
27903
|
+
be === he && (be = escape(he)), a = a.split(he).join(be);
|
|
27903
27904
|
}
|
|
27904
27905
|
}
|
|
27905
27906
|
var Ae = a.indexOf("#");
|
|
@@ -28225,8 +28226,8 @@ const nU = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
28225
28226
|
return d.length <= 1 || d[0] !== "#" || d[1] !== "/" ? [] : d.slice(2).split("/").map((f) => decodeURIComponent(f).replace(s, "/").replace(a, "~"));
|
|
28226
28227
|
};
|
|
28227
28228
|
})(Wh, Wh.exports);
|
|
28228
|
-
var
|
|
28229
|
-
const S2 = za, iU =
|
|
28229
|
+
var Xr = Wh.exports;
|
|
28230
|
+
const S2 = za, iU = Xr;
|
|
28230
28231
|
vo.format = S2.format;
|
|
28231
28232
|
vo.inherits = S2.inherits;
|
|
28232
28233
|
vo.swaggerParamRegExp = /\{([^/}]+)}/g;
|
|
@@ -28388,7 +28389,7 @@ const wU = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
28388
28389
|
default: fy,
|
|
28389
28390
|
ono: fy
|
|
28390
28391
|
}, Symbol.toStringTag, { value: "Module" })), wn = /* @__PURE__ */ $p(wU);
|
|
28391
|
-
var zh = { exports: {} }, Bo = {},
|
|
28392
|
+
var zh = { exports: {} }, Bo = {}, Nr = {}, cs = {}, La = {}, Ve = {}, Ca = {};
|
|
28392
28393
|
(function(t) {
|
|
28393
28394
|
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;
|
|
28394
28395
|
class e {
|
|
@@ -28690,7 +28691,7 @@ var Dh = {};
|
|
|
28690
28691
|
}
|
|
28691
28692
|
optimizeNames(S, U) {
|
|
28692
28693
|
if (S[this.name.str])
|
|
28693
|
-
return this.rhs && (this.rhs =
|
|
28694
|
+
return this.rhs && (this.rhs = be(this.rhs, S, U)), this;
|
|
28694
28695
|
}
|
|
28695
28696
|
get names() {
|
|
28696
28697
|
return this.rhs instanceof e._CodeOrName ? this.rhs.names : {};
|
|
@@ -28705,7 +28706,7 @@ var Dh = {};
|
|
|
28705
28706
|
}
|
|
28706
28707
|
optimizeNames(S, U) {
|
|
28707
28708
|
if (!(this.lhs instanceof e.Name && !S[this.lhs.str] && !this.sideEffects))
|
|
28708
|
-
return this.rhs =
|
|
28709
|
+
return this.rhs = be(this.rhs, S, U), this;
|
|
28709
28710
|
}
|
|
28710
28711
|
get names() {
|
|
28711
28712
|
const S = this.lhs instanceof e.Name ? {} : { ...this.lhs.names };
|
|
@@ -28758,7 +28759,7 @@ var Dh = {};
|
|
|
28758
28759
|
return `${this.code}` ? this : void 0;
|
|
28759
28760
|
}
|
|
28760
28761
|
optimizeNames(S, U) {
|
|
28761
|
-
return this.code =
|
|
28762
|
+
return this.code = be(this.code, S, U), this;
|
|
28762
28763
|
}
|
|
28763
28764
|
get names() {
|
|
28764
28765
|
return this.code instanceof e._CodeOrName ? this.code.names : {};
|
|
@@ -28829,7 +28830,7 @@ var Dh = {};
|
|
|
28829
28830
|
optimizeNames(S, U) {
|
|
28830
28831
|
var x;
|
|
28831
28832
|
if (this.else = (x = this.else) === null || x === void 0 ? void 0 : x.optimizeNames(S, U), !!(super.optimizeNames(S, U) || this.else))
|
|
28832
|
-
return this.condition =
|
|
28833
|
+
return this.condition = be(this.condition, S, U), this;
|
|
28833
28834
|
}
|
|
28834
28835
|
get names() {
|
|
28835
28836
|
const S = super.names;
|
|
@@ -28849,7 +28850,7 @@ var Dh = {};
|
|
|
28849
28850
|
}
|
|
28850
28851
|
optimizeNames(S, U) {
|
|
28851
28852
|
if (super.optimizeNames(S, U))
|
|
28852
|
-
return this.iteration =
|
|
28853
|
+
return this.iteration = be(this.iteration, S, U), this;
|
|
28853
28854
|
}
|
|
28854
28855
|
get names() {
|
|
28855
28856
|
return te(super.names, this.iteration.names);
|
|
@@ -28877,7 +28878,7 @@ var Dh = {};
|
|
|
28877
28878
|
}
|
|
28878
28879
|
optimizeNames(S, U) {
|
|
28879
28880
|
if (super.optimizeNames(S, U))
|
|
28880
|
-
return this.iterable =
|
|
28881
|
+
return this.iterable = be(this.iterable, S, U), this;
|
|
28881
28882
|
}
|
|
28882
28883
|
get names() {
|
|
28883
28884
|
return te(super.names, this.iterable.names);
|
|
@@ -29150,7 +29151,7 @@ var Dh = {};
|
|
|
29150
29151
|
function he(X, S) {
|
|
29151
29152
|
return S instanceof e._CodeOrName ? te(X, S.names) : X;
|
|
29152
29153
|
}
|
|
29153
|
-
function
|
|
29154
|
+
function be(X, S, U) {
|
|
29154
29155
|
if (X instanceof e.Name)
|
|
29155
29156
|
return x(X);
|
|
29156
29157
|
if (!j(X))
|
|
@@ -29267,8 +29268,8 @@ var Ge = {};
|
|
|
29267
29268
|
t.eachItem = h;
|
|
29268
29269
|
function p({ mergeNames: E, mergeToName: W, mergeValues: G, resultToName: J }) {
|
|
29269
29270
|
return (K, ae, te, he) => {
|
|
29270
|
-
const
|
|
29271
|
-
return he === e.Name && !(
|
|
29271
|
+
const be = te === void 0 ? ae : te instanceof e.Name ? (ae instanceof e.Name ? E(K, ae, te) : W(K, ae, te), te) : ae instanceof e.Name ? (W(K, te, ae), ae) : G(ae, te);
|
|
29272
|
+
return he === e.Name && !(be instanceof e.Name) ? J(K, be) : be;
|
|
29272
29273
|
};
|
|
29273
29274
|
}
|
|
29274
29275
|
t.mergeEvaluated = {
|
|
@@ -30127,8 +30128,8 @@ function gZ(t, e) {
|
|
|
30127
30128
|
}
|
|
30128
30129
|
}
|
|
30129
30130
|
Dt.getSchemaRefs = gZ;
|
|
30130
|
-
Object.defineProperty(
|
|
30131
|
-
|
|
30131
|
+
Object.defineProperty(Nr, "__esModule", { value: !0 });
|
|
30132
|
+
Nr.getData = Nr.KeywordCxt = Nr.validateFunctionCode = void 0;
|
|
30132
30133
|
const j2 = cs, Oy = Ba, RO = Wn, Mc = Ba, yZ = wu, la = gn, Yd = Si, Te = Ve, je = Sr, vZ = Dt, Vn = Ge, Ys = La;
|
|
30133
30134
|
function bZ(t) {
|
|
30134
30135
|
if (V2(t) && (Y2(t), W2(t))) {
|
|
@@ -30137,7 +30138,7 @@ function bZ(t) {
|
|
|
30137
30138
|
}
|
|
30138
30139
|
I2(t, () => (0, j2.topBoolOrEmptySchema)(t));
|
|
30139
30140
|
}
|
|
30140
|
-
|
|
30141
|
+
Nr.validateFunctionCode = bZ;
|
|
30141
30142
|
function I2({ gen: t, validateName: e, schema: r, schemaEnv: n, opts: i }, o) {
|
|
30142
30143
|
i.code.es5 ? t.func(e, (0, Te._)`${je.default.data}, ${je.default.valCxt}`, n.$async, () => {
|
|
30143
30144
|
t.code((0, Te._)`"use strict"; ${my(r, i)}`), $Z(t, i), t.code(o);
|
|
@@ -30398,7 +30399,7 @@ class N2 {
|
|
|
30398
30399
|
return i.if(r, () => this.mergeEvaluated(e, Te.Name)), !0;
|
|
30399
30400
|
}
|
|
30400
30401
|
}
|
|
30401
|
-
|
|
30402
|
+
Nr.KeywordCxt = N2;
|
|
30402
30403
|
function L2(t, e, r, n) {
|
|
30403
30404
|
const i = new N2(t, r, e);
|
|
30404
30405
|
"code" in r ? r.code(i, n) : i.$data && r.validate ? (0, la.funcKeywordCode)(i, r) : "macro" in r ? (0, la.macroKeywordCode)(i, r) : (r.compile || r.validate) && (0, la.funcKeywordCode)(i, r);
|
|
@@ -30436,7 +30437,7 @@ function B2(t, { dataLevel: e, dataNames: r, dataPathArr: n }) {
|
|
|
30436
30437
|
return `Cannot access ${c} ${u} levels up, current level is ${e}`;
|
|
30437
30438
|
}
|
|
30438
30439
|
}
|
|
30439
|
-
|
|
30440
|
+
Nr.getData = B2;
|
|
30440
30441
|
var Ga = {};
|
|
30441
30442
|
Object.defineProperty(Ga, "__esModule", { value: !0 });
|
|
30442
30443
|
class VZ extends Error {
|
|
@@ -30457,13 +30458,13 @@ Fa.default = YZ;
|
|
|
30457
30458
|
var ir = {};
|
|
30458
30459
|
Object.defineProperty(ir, "__esModule", { value: !0 });
|
|
30459
30460
|
ir.resolveSchema = ir.getCompilingSchema = ir.resolveRef = ir.compileSchema = ir.SchemaEnv = void 0;
|
|
30460
|
-
const
|
|
30461
|
+
const qr = Ve, MZ = Ga, Wi = Sr, Yr = Dt, vy = Ge, zZ = Nr;
|
|
30461
30462
|
class Pu {
|
|
30462
30463
|
constructor(e) {
|
|
30463
30464
|
var r;
|
|
30464
30465
|
this.refs = {}, this.dynamicAnchors = {};
|
|
30465
30466
|
let n;
|
|
30466
|
-
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,
|
|
30467
|
+
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, Yr.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 = {};
|
|
30467
30468
|
}
|
|
30468
30469
|
}
|
|
30469
30470
|
ir.SchemaEnv = Pu;
|
|
@@ -30471,11 +30472,11 @@ function EO(t) {
|
|
|
30471
30472
|
const e = G2.call(this, t);
|
|
30472
30473
|
if (e)
|
|
30473
30474
|
return e;
|
|
30474
|
-
const r = (0,
|
|
30475
|
+
const r = (0, Yr.getFullPath)(this.opts.uriResolver, t.root.baseId), { es5: n, lines: i } = this.opts.code, { ownProperties: o } = this.opts, s = new qr.CodeGen(this.scope, { es5: n, lines: i, ownProperties: o });
|
|
30475
30476
|
let a;
|
|
30476
30477
|
t.$async && (a = s.scopeValue("Error", {
|
|
30477
30478
|
ref: MZ.default,
|
|
30478
|
-
code: (0,
|
|
30479
|
+
code: (0, qr._)`require("ajv/dist/runtime/validation_error").default`
|
|
30479
30480
|
}));
|
|
30480
30481
|
const l = s.scopeName("validate");
|
|
30481
30482
|
t.validateName = l;
|
|
@@ -30486,20 +30487,20 @@ function EO(t) {
|
|
|
30486
30487
|
parentData: Wi.default.parentData,
|
|
30487
30488
|
parentDataProperty: Wi.default.parentDataProperty,
|
|
30488
30489
|
dataNames: [Wi.default.data],
|
|
30489
|
-
dataPathArr: [
|
|
30490
|
+
dataPathArr: [qr.nil],
|
|
30490
30491
|
dataLevel: 0,
|
|
30491
30492
|
dataTypes: [],
|
|
30492
30493
|
definedProperties: /* @__PURE__ */ new Set(),
|
|
30493
|
-
topSchemaRef: s.scopeValue("schema", this.opts.code.source === !0 ? { ref: t.schema, code: (0,
|
|
30494
|
+
topSchemaRef: s.scopeValue("schema", this.opts.code.source === !0 ? { ref: t.schema, code: (0, qr.stringify)(t.schema) } : { ref: t.schema }),
|
|
30494
30495
|
validateName: l,
|
|
30495
30496
|
ValidationError: a,
|
|
30496
30497
|
schema: t.schema,
|
|
30497
30498
|
schemaEnv: t,
|
|
30498
30499
|
rootId: r,
|
|
30499
30500
|
baseId: t.baseId || r,
|
|
30500
|
-
schemaPath:
|
|
30501
|
+
schemaPath: qr.nil,
|
|
30501
30502
|
errSchemaPath: t.schemaPath || (this.opts.jtd ? "" : "#"),
|
|
30502
|
-
errorPath: (0,
|
|
30503
|
+
errorPath: (0, qr._)`""`,
|
|
30503
30504
|
opts: this.opts,
|
|
30504
30505
|
self: this
|
|
30505
30506
|
};
|
|
@@ -30512,11 +30513,11 @@ function EO(t) {
|
|
|
30512
30513
|
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: s._values }), this.opts.unevaluated) {
|
|
30513
30514
|
const { props: p, items: v } = c;
|
|
30514
30515
|
h.evaluated = {
|
|
30515
|
-
props: p instanceof
|
|
30516
|
-
items: v instanceof
|
|
30517
|
-
dynamicProps: p instanceof
|
|
30518
|
-
dynamicItems: v instanceof
|
|
30519
|
-
}, h.source && (h.source.evaluated = (0,
|
|
30516
|
+
props: p instanceof qr.Name ? void 0 : p,
|
|
30517
|
+
items: v instanceof qr.Name ? void 0 : v,
|
|
30518
|
+
dynamicProps: p instanceof qr.Name,
|
|
30519
|
+
dynamicItems: v instanceof qr.Name
|
|
30520
|
+
}, h.source && (h.source.evaluated = (0, qr.stringify)(h.evaluated));
|
|
30520
30521
|
}
|
|
30521
30522
|
return t.validate = h, t;
|
|
30522
30523
|
} catch (d) {
|
|
@@ -30528,7 +30529,7 @@ function EO(t) {
|
|
|
30528
30529
|
ir.compileSchema = EO;
|
|
30529
30530
|
function DZ(t, e, r) {
|
|
30530
30531
|
var n;
|
|
30531
|
-
r = (0,
|
|
30532
|
+
r = (0, Yr.resolveUrl)(this.opts.uriResolver, e, r);
|
|
30532
30533
|
const i = t.refs[r];
|
|
30533
30534
|
if (i)
|
|
30534
30535
|
return i;
|
|
@@ -30542,7 +30543,7 @@ function DZ(t, e, r) {
|
|
|
30542
30543
|
}
|
|
30543
30544
|
ir.resolveRef = DZ;
|
|
30544
30545
|
function NZ(t) {
|
|
30545
|
-
return (0,
|
|
30546
|
+
return (0, Yr.inlineRef)(t.schema, this.opts.inlineRefs) ? t.schema : t.validate ? t : EO.call(this, t);
|
|
30546
30547
|
}
|
|
30547
30548
|
function G2(t) {
|
|
30548
30549
|
for (const e of this._compilations)
|
|
@@ -30560,19 +30561,19 @@ function BZ(t, e) {
|
|
|
30560
30561
|
return r || this.schemas[e] || _u.call(this, t, e);
|
|
30561
30562
|
}
|
|
30562
30563
|
function _u(t, e) {
|
|
30563
|
-
const r = this.opts.uriResolver.parse(e), n = (0,
|
|
30564
|
-
let i = (0,
|
|
30564
|
+
const r = this.opts.uriResolver.parse(e), n = (0, Yr._getFullPath)(this.opts.uriResolver, r);
|
|
30565
|
+
let i = (0, Yr.getFullPath)(this.opts.uriResolver, t.baseId, void 0);
|
|
30565
30566
|
if (Object.keys(t.schema).length > 0 && n === i)
|
|
30566
30567
|
return zd.call(this, r, t);
|
|
30567
|
-
const o = (0,
|
|
30568
|
+
const o = (0, Yr.normalizeId)(n), s = this.refs[o] || this.schemas[o];
|
|
30568
30569
|
if (typeof s == "string") {
|
|
30569
30570
|
const a = _u.call(this, t, s);
|
|
30570
30571
|
return typeof (a == null ? void 0 : a.schema) != "object" ? void 0 : zd.call(this, r, a);
|
|
30571
30572
|
}
|
|
30572
30573
|
if (typeof (s == null ? void 0 : s.schema) == "object") {
|
|
30573
|
-
if (s.validate || EO.call(this, s), o === (0,
|
|
30574
|
+
if (s.validate || EO.call(this, s), o === (0, Yr.normalizeId)(e)) {
|
|
30574
30575
|
const { schema: a } = s, { schemaId: l } = this.opts, c = a[l];
|
|
30575
|
-
return c && (i = (0,
|
|
30576
|
+
return c && (i = (0, Yr.resolveUrl)(this.opts.uriResolver, i, c)), new Pu({ schema: a, schemaId: l, root: t, baseId: i });
|
|
30576
30577
|
}
|
|
30577
30578
|
return zd.call(this, r, s);
|
|
30578
30579
|
}
|
|
@@ -30597,11 +30598,11 @@ function zd(t, { baseId: e, schema: r, root: n }) {
|
|
|
30597
30598
|
return;
|
|
30598
30599
|
r = l;
|
|
30599
30600
|
const c = typeof r == "object" && r[this.opts.schemaId];
|
|
30600
|
-
!GZ.has(a) && c && (e = (0,
|
|
30601
|
+
!GZ.has(a) && c && (e = (0, Yr.resolveUrl)(this.opts.uriResolver, e, c));
|
|
30601
30602
|
}
|
|
30602
30603
|
let o;
|
|
30603
30604
|
if (typeof r != "boolean" && r.$ref && !(0, vy.schemaHasRulesButRef)(r, this.RULES)) {
|
|
30604
|
-
const a = (0,
|
|
30605
|
+
const a = (0, Yr.resolveUrl)(this.opts.uriResolver, e, r.$ref);
|
|
30605
30606
|
o = _u.call(this, n, a);
|
|
30606
30607
|
}
|
|
30607
30608
|
const { schemaId: s } = this.opts;
|
|
@@ -30726,7 +30727,7 @@ var XO = {}, Lh = { exports: {} };
|
|
|
30726
30727
|
"not-basic": "Illegal input >= 0x80 (not a basic code point)",
|
|
30727
30728
|
"invalid-input": "Invalid input"
|
|
30728
30729
|
}, ae = v - g, te = Math.floor, he = String.fromCharCode;
|
|
30729
|
-
function
|
|
30730
|
+
function be(M) {
|
|
30730
30731
|
throw new RangeError(K[M]);
|
|
30731
30732
|
}
|
|
30732
30733
|
function Ae(M, Z) {
|
|
@@ -30771,7 +30772,7 @@ var XO = {}, Lh = { exports: {} };
|
|
|
30771
30772
|
var N = [], ne = Z.length, re = 0, Re = I, Ce = Q, Je = Z.lastIndexOf(E);
|
|
30772
30773
|
Je < 0 && (Je = 0);
|
|
30773
30774
|
for (var pt = 0; pt < Je; ++pt)
|
|
30774
|
-
Z.charCodeAt(pt) >= 128 &&
|
|
30775
|
+
Z.charCodeAt(pt) >= 128 && be("not-basic"), N.push(Z.charCodeAt(pt));
|
|
30775
30776
|
for (var xt = Je > 0 ? Je + 1 : 0; xt < ne; ) {
|
|
30776
30777
|
for (
|
|
30777
30778
|
var He = re, ht = 1, kt = v;
|
|
@@ -30779,17 +30780,17 @@ var XO = {}, Lh = { exports: {} };
|
|
|
30779
30780
|
/* no condition */
|
|
30780
30781
|
kt += v
|
|
30781
30782
|
) {
|
|
30782
|
-
xt >= ne &&
|
|
30783
|
+
xt >= ne && be("invalid-input");
|
|
30783
30784
|
var Ie = Ue(Z.charCodeAt(xt++));
|
|
30784
|
-
(Ie >= v || Ie > te((p - re) / ht)) &&
|
|
30785
|
+
(Ie >= v || Ie > te((p - re) / ht)) && be("overflow"), re += Ie * ht;
|
|
30785
30786
|
var $t = kt <= Ce ? g : kt >= Ce + O ? O : kt - Ce;
|
|
30786
30787
|
if (Ie < $t)
|
|
30787
30788
|
break;
|
|
30788
30789
|
var Et = v - $t;
|
|
30789
|
-
ht > te(p / Et) &&
|
|
30790
|
+
ht > te(p / Et) && be("overflow"), ht *= Et;
|
|
30790
30791
|
}
|
|
30791
30792
|
var wt = N.length + 1;
|
|
30792
|
-
Ce = Y(re - He, wt, He == 0), te(re / wt) > p - Re &&
|
|
30793
|
+
Ce = Y(re - He, wt, He == 0), te(re / wt) > p - Re && be("overflow"), Re += te(re / wt), re %= wt, N.splice(re++, 0, Re);
|
|
30793
30794
|
}
|
|
30794
30795
|
return String.fromCodePoint.apply(String, N);
|
|
30795
30796
|
}, X = function(Z) {
|
|
@@ -30830,12 +30831,12 @@ var XO = {}, Lh = { exports: {} };
|
|
|
30830
30831
|
}
|
|
30831
30832
|
}
|
|
30832
30833
|
var wr = $t + 1;
|
|
30833
|
-
Et - re > te((p - Re) / wr) &&
|
|
30834
|
+
Et - re > te((p - Re) / wr) && be("overflow"), Re += (Et - re) * wr, re = Et;
|
|
30834
30835
|
var Jr = !0, ji = !1, xn = void 0;
|
|
30835
30836
|
try {
|
|
30836
30837
|
for (var Cs = Z[Symbol.iterator](), Im; !(Jr = (Im = Cs.next()).done); Jr = !0) {
|
|
30837
30838
|
var Wm = Im.value;
|
|
30838
|
-
if (Wm < re && ++Re > p &&
|
|
30839
|
+
if (Wm < re && ++Re > p && be("overflow"), Wm == re) {
|
|
30839
30840
|
for (
|
|
30840
30841
|
var rl = Re, nl = v;
|
|
30841
30842
|
;
|
|
@@ -31191,7 +31192,7 @@ F2.code = 'require("ajv/dist/runtime/uri").default';
|
|
|
31191
31192
|
XO.default = F2;
|
|
31192
31193
|
(function(t) {
|
|
31193
31194
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.CodeGen = t.Name = t.nil = t.stringify = t.str = t._ = t.KeywordCxt = void 0;
|
|
31194
|
-
var e =
|
|
31195
|
+
var e = Nr;
|
|
31195
31196
|
Object.defineProperty(t, "KeywordCxt", { enumerable: !0, get: function() {
|
|
31196
31197
|
return e.KeywordCxt;
|
|
31197
31198
|
} });
|
|
@@ -31437,7 +31438,7 @@ XO.default = F2;
|
|
|
31437
31438
|
throw new Error("addKeywords: keyword must be string or non-empty array");
|
|
31438
31439
|
} else
|
|
31439
31440
|
throw new Error("invalid addKeywords parameters");
|
|
31440
|
-
if (
|
|
31441
|
+
if (be.call(this, X, T), !T)
|
|
31441
31442
|
return (0, u.eachItem)(X, (U) => Ae.call(this, U)), this;
|
|
31442
31443
|
Fe.call(this, T);
|
|
31443
31444
|
const S = {
|
|
@@ -31585,7 +31586,7 @@ XO.default = F2;
|
|
|
31585
31586
|
throw new Error("logger must implement log, warn and error methods");
|
|
31586
31587
|
}
|
|
31587
31588
|
const he = /^[a-z_$][a-z0-9_$:-]*$/i;
|
|
31588
|
-
function
|
|
31589
|
+
function be(H, Y) {
|
|
31589
31590
|
const { RULES: T } = this;
|
|
31590
31591
|
if ((0, u.eachItem)(H, (X) => {
|
|
31591
31592
|
if (T.keywords[X])
|
|
@@ -32312,9 +32313,9 @@ const rP = Ve, dI = Ge, fI = {
|
|
|
32312
32313
|
MO.default = hI;
|
|
32313
32314
|
var Zu = {};
|
|
32314
32315
|
Object.defineProperty(Zu, "__esModule", { value: !0 });
|
|
32315
|
-
const Ql = Le,
|
|
32316
|
+
const Ql = Le, Zr = Ve, pI = Sr, xl = Ge, OI = {
|
|
32316
32317
|
message: "must NOT have additional properties",
|
|
32317
|
-
params: ({ params: t }) => (0,
|
|
32318
|
+
params: ({ params: t }) => (0, Zr._)`{additionalProperty: ${t.additionalProperty}}`
|
|
32318
32319
|
}, mI = {
|
|
32319
32320
|
keyword: "additionalProperties",
|
|
32320
32321
|
type: ["object"],
|
|
@@ -32330,7 +32331,7 @@ const Ql = Le, Ir = Ve, pI = Sr, xl = Ge, OI = {
|
|
|
32330
32331
|
if (s.props = !0, l.removeAdditional !== "all" && (0, xl.alwaysValidSchema)(s, r))
|
|
32331
32332
|
return;
|
|
32332
32333
|
const c = (0, Ql.allSchemaProperties)(n.properties), u = (0, Ql.allSchemaProperties)(n.patternProperties);
|
|
32333
|
-
d(), t.ok((0,
|
|
32334
|
+
d(), t.ok((0, Zr._)`${o} === ${pI.default.errors}`);
|
|
32334
32335
|
function d() {
|
|
32335
32336
|
e.forIn("key", i, (g) => {
|
|
32336
32337
|
!c.length && !u.length ? p(g) : e.if(f(g), () => p(g));
|
|
@@ -32342,11 +32343,11 @@ const Ql = Le, Ir = Ve, pI = Sr, xl = Ge, OI = {
|
|
|
32342
32343
|
const b = (0, xl.schemaRefOrVal)(s, n.properties, "properties");
|
|
32343
32344
|
O = (0, Ql.isOwnProperty)(e, b, g);
|
|
32344
32345
|
} else
|
|
32345
|
-
c.length ? O = (0,
|
|
32346
|
-
return u.length && (O = (0,
|
|
32346
|
+
c.length ? O = (0, Zr.or)(...c.map((b) => (0, Zr._)`${g} === ${b}`)) : O = Zr.nil;
|
|
32347
|
+
return u.length && (O = (0, Zr.or)(O, ...u.map((b) => (0, Zr._)`${(0, Ql.usePattern)(t, b)}.test(${g})`))), (0, Zr.not)(O);
|
|
32347
32348
|
}
|
|
32348
32349
|
function h(g) {
|
|
32349
|
-
e.code((0,
|
|
32350
|
+
e.code((0, Zr._)`delete ${i}[${g}]`);
|
|
32350
32351
|
}
|
|
32351
32352
|
function p(g) {
|
|
32352
32353
|
if (l.removeAdditional === "all" || l.removeAdditional && r === !1) {
|
|
@@ -32359,9 +32360,9 @@ const Ql = Le, Ir = Ve, pI = Sr, xl = Ge, OI = {
|
|
|
32359
32360
|
}
|
|
32360
32361
|
if (typeof r == "object" && !(0, xl.alwaysValidSchema)(s, r)) {
|
|
32361
32362
|
const O = e.name("valid");
|
|
32362
|
-
l.removeAdditional === "failing" ? (v(g, O, !1), e.if((0,
|
|
32363
|
+
l.removeAdditional === "failing" ? (v(g, O, !1), e.if((0, Zr.not)(O), () => {
|
|
32363
32364
|
t.reset(), h(g);
|
|
32364
|
-
})) : (v(g, O), a || e.if((0,
|
|
32365
|
+
})) : (v(g, O), a || e.if((0, Zr.not)(O), () => e.break()));
|
|
32365
32366
|
}
|
|
32366
32367
|
}
|
|
32367
32368
|
function v(g, O, b) {
|
|
@@ -32381,7 +32382,7 @@ const Ql = Le, Ir = Ve, pI = Sr, xl = Ge, OI = {
|
|
|
32381
32382
|
Zu.default = mI;
|
|
32382
32383
|
var zO = {};
|
|
32383
32384
|
Object.defineProperty(zO, "__esModule", { value: !0 });
|
|
32384
|
-
const gI =
|
|
32385
|
+
const gI = Nr, _y = Le, Nd = Ge, Qy = Zu, yI = {
|
|
32385
32386
|
keyword: "properties",
|
|
32386
32387
|
type: "object",
|
|
32387
32388
|
schemaType: "object",
|
|
@@ -33796,7 +33797,7 @@ pm.default = NY;
|
|
|
33796
33797
|
}
|
|
33797
33798
|
}
|
|
33798
33799
|
t.exports = e = a, Object.defineProperty(e, "__esModule", { value: !0 }), e.default = a;
|
|
33799
|
-
var l =
|
|
33800
|
+
var l = Nr;
|
|
33800
33801
|
Object.defineProperty(e, "KeywordCxt", { enumerable: !0, get: function() {
|
|
33801
33802
|
return l.KeywordCxt;
|
|
33802
33803
|
} });
|
|
@@ -38684,7 +38685,7 @@ function uP(t, e) {
|
|
|
38684
38685
|
}
|
|
38685
38686
|
}
|
|
38686
38687
|
var At = {};
|
|
38687
|
-
const { Ono: dP } = wn, { stripHash: fP, toFileSystemPath: GM } =
|
|
38688
|
+
const { Ono: dP } = wn, { stripHash: fP, toFileSystemPath: GM } = Xr, qi = At.JSONParserError = class extends Error {
|
|
38688
38689
|
constructor(e, r) {
|
|
38689
38690
|
super(), this.code = "EUNKNOWN", this.message = e, this.source = r, this.path = null, dP.extend(this);
|
|
38690
38691
|
}
|
|
@@ -38942,7 +38943,7 @@ var dz = {
|
|
|
38942
38943
|
const fz = {}, hz = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
38943
38944
|
__proto__: null,
|
|
38944
38945
|
default: fz
|
|
38945
|
-
}, Symbol.toStringTag, { value: "Module" })), pz = /* @__PURE__ */ $p(hz), Oz = pz, { ono: Fd } = wn, Wy =
|
|
38946
|
+
}, Symbol.toStringTag, { value: "Module" })), pz = /* @__PURE__ */ $p(hz), Oz = pz, { ono: Fd } = wn, Wy = Xr, { ResolverError: Hd } = At;
|
|
38946
38947
|
var mz = {
|
|
38947
38948
|
/**
|
|
38948
38949
|
* The order that this resolver will run, in relation to other resolvers.
|
|
@@ -39448,7 +39449,7 @@ function xz(t, e) {
|
|
|
39448
39449
|
t.prototype = Object.create(e.prototype), t.prototype.constructor = t, t.__proto__ = e;
|
|
39449
39450
|
}
|
|
39450
39451
|
var xP = {};
|
|
39451
|
-
function
|
|
39452
|
+
function Ar(t, e, r) {
|
|
39452
39453
|
r || (r = Error);
|
|
39453
39454
|
function n(o, s, a) {
|
|
39454
39455
|
return typeof e == "string" ? e : e(o, s, a);
|
|
@@ -39480,10 +39481,10 @@ function Tz(t, e, r) {
|
|
|
39480
39481
|
function Rz(t, e, r) {
|
|
39481
39482
|
return typeof r != "number" && (r = 0), r + e.length > t.length ? !1 : t.indexOf(e, r) !== -1;
|
|
39482
39483
|
}
|
|
39483
|
-
|
|
39484
|
+
Ar("ERR_INVALID_OPT_VALUE", function(t, e) {
|
|
39484
39485
|
return 'The value "' + e + '" is invalid for option "' + t + '"';
|
|
39485
39486
|
}, TypeError);
|
|
39486
|
-
|
|
39487
|
+
Ar("ERR_INVALID_ARG_TYPE", function(t, e, r) {
|
|
39487
39488
|
var n;
|
|
39488
39489
|
typeof e == "string" && kz(e, "not ") ? (n = "must not be", e = e.replace(/^not /, "")) : n = "must be";
|
|
39489
39490
|
var i;
|
|
@@ -39495,22 +39496,22 @@ Ur("ERR_INVALID_ARG_TYPE", function(t, e, r) {
|
|
|
39495
39496
|
}
|
|
39496
39497
|
return i += ". Received type ".concat(typeof r), i;
|
|
39497
39498
|
}, TypeError);
|
|
39498
|
-
|
|
39499
|
-
|
|
39499
|
+
Ar("ERR_STREAM_PUSH_AFTER_EOF", "stream.push() after EOF");
|
|
39500
|
+
Ar("ERR_METHOD_NOT_IMPLEMENTED", function(t) {
|
|
39500
39501
|
return "The " + t + " method is not implemented";
|
|
39501
39502
|
});
|
|
39502
|
-
|
|
39503
|
-
|
|
39503
|
+
Ar("ERR_STREAM_PREMATURE_CLOSE", "Premature close");
|
|
39504
|
+
Ar("ERR_STREAM_DESTROYED", function(t) {
|
|
39504
39505
|
return "Cannot call " + t + " after a stream was destroyed";
|
|
39505
39506
|
});
|
|
39506
|
-
|
|
39507
|
-
|
|
39508
|
-
|
|
39509
|
-
|
|
39510
|
-
|
|
39507
|
+
Ar("ERR_MULTIPLE_CALLBACK", "Callback called multiple times");
|
|
39508
|
+
Ar("ERR_STREAM_CANNOT_PIPE", "Cannot pipe, not readable");
|
|
39509
|
+
Ar("ERR_STREAM_WRITE_AFTER_END", "write after end");
|
|
39510
|
+
Ar("ERR_STREAM_NULL_VALUES", "May not write null values to stream", TypeError);
|
|
39511
|
+
Ar("ERR_UNKNOWN_ENCODING", function(t) {
|
|
39511
39512
|
return "Unknown encoding: " + t;
|
|
39512
39513
|
}, TypeError);
|
|
39513
|
-
|
|
39514
|
+
Ar("ERR_STREAM_UNSHIFT_AFTER_END_EVENT", "stream.unshift() after end event");
|
|
39514
39515
|
bo.codes = xP;
|
|
39515
39516
|
var Cz = bo.codes.ERR_INVALID_OPT_VALUE;
|
|
39516
39517
|
function Ez(t, e, r) {
|
|
@@ -39685,7 +39686,7 @@ function TP() {
|
|
|
39685
39686
|
function he(x, j, z, ie, ue, k, A) {
|
|
39686
39687
|
j.writelen = ie, j.writecb = A, j.writing = !0, j.sync = !0, j.destroyed ? j.onwrite(new g("write")) : z ? x._writev(ue, j.onwrite) : x._write(ue, k, j.onwrite), j.sync = !1;
|
|
39687
39688
|
}
|
|
39688
|
-
function
|
|
39689
|
+
function be(x, j, z, ie, ue) {
|
|
39689
39690
|
--j.pendingcb, z ? ($e.process.nextTick(ue, ie), $e.process.nextTick(X, x, j), x._writableState.errorEmitted = !0, Q(x, ie)) : (ue(ie), x._writableState.errorEmitted = !0, Q(x, ie), X(x, j));
|
|
39690
39691
|
}
|
|
39691
39692
|
function Ae(x) {
|
|
@@ -39696,7 +39697,7 @@ function TP() {
|
|
|
39696
39697
|
if (typeof ue != "function")
|
|
39697
39698
|
throw new p();
|
|
39698
39699
|
if (Ae(z), j)
|
|
39699
|
-
|
|
39700
|
+
be(x, z, ie, j, ue);
|
|
39700
39701
|
else {
|
|
39701
39702
|
var k = H(z) || x.destroyed;
|
|
39702
39703
|
!k && !z.corked && !z.bufferProcessing && z.bufferedRequest && Ue(x, z), ie ? $e.process.nextTick(Fe, x, z, k, ue) : Fe(x, z, k, ue);
|
|
@@ -40329,11 +40330,11 @@ function CP() {
|
|
|
40329
40330
|
return this._readableState.buffer.clear(), Oe !== "" && this._readableState.buffer.push(Oe), this._readableState.length = Oe.length, this;
|
|
40330
40331
|
};
|
|
40331
40332
|
var he = 1073741824;
|
|
40332
|
-
function
|
|
40333
|
+
function be(k) {
|
|
40333
40334
|
return k >= he ? k = he : (k--, k |= k >>> 1, k |= k >>> 2, k |= k >>> 4, k |= k >>> 8, k |= k >>> 16, k++), k;
|
|
40334
40335
|
}
|
|
40335
40336
|
function Ae(k, A) {
|
|
40336
|
-
return k <= 0 || A.length === 0 && A.ended ? 0 : A.objectMode ? 1 : k !== k ? A.flowing && A.length ? A.buffer.head.data.length : A.length : (k > A.highWaterMark && (A.highWaterMark =
|
|
40337
|
+
return k <= 0 || A.length === 0 && A.ended ? 0 : A.objectMode ? 1 : k !== k ? A.flowing && A.length ? A.buffer.head.data.length : A.length : (k > A.highWaterMark && (A.highWaterMark = be(k)), k <= A.length ? k : A.ended ? A.length : (A.needReadable = !0, 0));
|
|
40337
40338
|
}
|
|
40338
40339
|
J.prototype.read = function(k) {
|
|
40339
40340
|
l("read", k), k = parseInt(k, 10);
|
|
@@ -41139,7 +41140,7 @@ var jP = { exports: {} };
|
|
|
41139
41140
|
}
|
|
41140
41141
|
})(jP);
|
|
41141
41142
|
var OD = jP.exports;
|
|
41142
|
-
const mD = Om, gD = OD, { ono: Cl } = wn, ha =
|
|
41143
|
+
const mD = Om, gD = OD, { ono: Cl } = wn, ha = Xr, { ResolverError: sv } = At;
|
|
41143
41144
|
var yD = {
|
|
41144
41145
|
/**
|
|
41145
41146
|
* The order that this resolver will run, in relation to other resolvers.
|
|
@@ -41376,7 +41377,7 @@ function Du() {
|
|
|
41376
41377
|
if (uv)
|
|
41377
41378
|
return lf;
|
|
41378
41379
|
uv = 1, lf = u;
|
|
41379
|
-
const t = Ka(), e =
|
|
41380
|
+
const t = Ka(), e = Xr, { JSONParserError: r, InvalidPointerError: n, MissingPointerError: i, isHandledError: o } = At, s = /\//g, a = /~/g, l = /~1/g, c = /~0/g;
|
|
41380
41381
|
function u(p, v, g) {
|
|
41381
41382
|
this.$ref = p, this.path = v, this.originalPath = g || v, this.value = void 0, this.circular = !1, this.indirections = 0;
|
|
41382
41383
|
}
|
|
@@ -41449,7 +41450,7 @@ function Ka() {
|
|
|
41449
41450
|
if (dv)
|
|
41450
41451
|
return cf;
|
|
41451
41452
|
dv = 1, cf = a;
|
|
41452
|
-
const t = Du(), { InvalidPointerError: e, isHandledError: r, normalizeError: n } = At, { safePointerToPath: i, stripHash: o, getHash: s } =
|
|
41453
|
+
const t = Du(), { InvalidPointerError: e, isHandledError: r, normalizeError: n } = At, { safePointerToPath: i, stripHash: o, getHash: s } = Xr;
|
|
41453
41454
|
function a() {
|
|
41454
41455
|
this.path = void 0, this.value = void 0, this.$refs = void 0, this.pathType = void 0, this.errors = void 0;
|
|
41455
41456
|
}
|
|
@@ -41500,48 +41501,48 @@ function Ka() {
|
|
|
41500
41501
|
return c;
|
|
41501
41502
|
}, cf;
|
|
41502
41503
|
}
|
|
41503
|
-
const { ono: MP } = wn, XD = Ka(), ki =
|
|
41504
|
-
var AD =
|
|
41505
|
-
function
|
|
41504
|
+
const { ono: MP } = wn, XD = Ka(), ki = Xr;
|
|
41505
|
+
var AD = Br;
|
|
41506
|
+
function Br() {
|
|
41506
41507
|
this.circular = !1, this._$refs = {}, this._root$Ref = null;
|
|
41507
41508
|
}
|
|
41508
|
-
|
|
41509
|
+
Br.prototype.paths = function(t) {
|
|
41509
41510
|
return zP(this._$refs, arguments).map((r) => r.decoded);
|
|
41510
41511
|
};
|
|
41511
|
-
|
|
41512
|
+
Br.prototype.values = function(t) {
|
|
41512
41513
|
let e = this._$refs;
|
|
41513
41514
|
return zP(e, arguments).reduce((n, i) => (n[i.decoded] = e[i.encoded].value, n), {});
|
|
41514
41515
|
};
|
|
41515
|
-
|
|
41516
|
-
|
|
41516
|
+
Br.prototype.toJSON = Br.prototype.values;
|
|
41517
|
+
Br.prototype.exists = function(t, e) {
|
|
41517
41518
|
try {
|
|
41518
41519
|
return this._resolve(t, "", e), !0;
|
|
41519
41520
|
} catch {
|
|
41520
41521
|
return !1;
|
|
41521
41522
|
}
|
|
41522
41523
|
};
|
|
41523
|
-
|
|
41524
|
+
Br.prototype.get = function(t, e) {
|
|
41524
41525
|
return this._resolve(t, "", e).value;
|
|
41525
41526
|
};
|
|
41526
|
-
|
|
41527
|
+
Br.prototype.set = function(t, e) {
|
|
41527
41528
|
let r = ki.resolve(this._root$Ref.path, t), n = ki.stripHash(r), i = this._$refs[n];
|
|
41528
41529
|
if (!i)
|
|
41529
41530
|
throw MP(`Error resolving $ref pointer "${t}".
|
|
41530
41531
|
"${n}" not found.`);
|
|
41531
41532
|
i.set(r, e);
|
|
41532
41533
|
};
|
|
41533
|
-
|
|
41534
|
+
Br.prototype._add = function(t) {
|
|
41534
41535
|
let e = ki.stripHash(t), r = new XD();
|
|
41535
41536
|
return r.path = e, r.$refs = this, this._$refs[e] = r, this._root$Ref = this._root$Ref || r, r;
|
|
41536
41537
|
};
|
|
41537
|
-
|
|
41538
|
+
Br.prototype._resolve = function(t, e, r) {
|
|
41538
41539
|
let n = ki.resolve(this._root$Ref.path, t), i = ki.stripHash(n), o = this._$refs[i];
|
|
41539
41540
|
if (!o)
|
|
41540
41541
|
throw MP(`Error resolving $ref pointer "${t}".
|
|
41541
41542
|
"${i}" not found.`);
|
|
41542
41543
|
return o.resolve(n, r, t, e);
|
|
41543
41544
|
};
|
|
41544
|
-
|
|
41545
|
+
Br.prototype._get$Ref = function(t) {
|
|
41545
41546
|
t = ki.resolve(this._root$Ref.path, t);
|
|
41546
41547
|
let e = ki.stripHash(t);
|
|
41547
41548
|
return this._$refs[e];
|
|
@@ -41615,7 +41616,7 @@ function DP(t, e, r, n, i) {
|
|
|
41615
41616
|
}
|
|
41616
41617
|
return o;
|
|
41617
41618
|
}
|
|
41618
|
-
const { ono: lp } = wn, fv =
|
|
41619
|
+
const { ono: lp } = wn, fv = Xr, vi = Ja, { ResolverError: hv, ParserError: pv, UnmatchedParserError: qD, UnmatchedResolverError: UD, isHandledError: ZD } = At;
|
|
41619
41620
|
var NP = jD;
|
|
41620
41621
|
async function jD(t, e, r) {
|
|
41621
41622
|
t = fv.stripHash(t);
|
|
@@ -41657,7 +41658,7 @@ Parsed value is empty`)) : n(u);
|
|
|
41657
41658
|
function VD(t) {
|
|
41658
41659
|
return t === void 0 || typeof t == "object" && Object.keys(t).length === 0 || typeof t == "string" && t.trim().length === 0 || $e.Buffer.isBuffer(t) && t.length === 0;
|
|
41659
41660
|
}
|
|
41660
|
-
const Ov = Ka(), YD = Du(), MD = NP, zs =
|
|
41661
|
+
const Ov = Ka(), YD = Du(), MD = NP, zs = Xr, { isHandledError: zD } = At;
|
|
41661
41662
|
var DD = ND;
|
|
41662
41663
|
function ND(t, e) {
|
|
41663
41664
|
if (!e.resolve.external)
|
|
@@ -41695,7 +41696,7 @@ async function mv(t, e, r, n) {
|
|
|
41695
41696
|
return r._$refs[o] && (s.source = zs.stripHash(e), s.path = zs.safePointerToPath(zs.getHash(e))), [];
|
|
41696
41697
|
}
|
|
41697
41698
|
}
|
|
41698
|
-
const Bc = Ka(), Xa = Du(), uf =
|
|
41699
|
+
const Bc = Ka(), Xa = Du(), uf = Xr;
|
|
41699
41700
|
var LD = BD;
|
|
41700
41701
|
function BD(t, e) {
|
|
41701
41702
|
let r = [];
|
|
@@ -41787,7 +41788,7 @@ function HD(t, e) {
|
|
|
41787
41788
|
let r = t.indexOf(e);
|
|
41788
41789
|
t.splice(r, 1);
|
|
41789
41790
|
}
|
|
41790
|
-
const cp = Ka(), yv = Du(), { ono: KD } = wn, JD =
|
|
41791
|
+
const cp = Ka(), yv = Du(), { ono: KD } = wn, JD = Xr;
|
|
41791
41792
|
var LP = eN;
|
|
41792
41793
|
function eN(t, e) {
|
|
41793
41794
|
let r = Pm(t.schema, t.$refs._root$Ref.path, "#", [], [], {}, t.$refs, e);
|
|
@@ -41850,7 +41851,7 @@ function BP(t, e, r) {
|
|
|
41850
41851
|
throw KD.reference(`Circular $ref pointer found at ${t}`);
|
|
41851
41852
|
return !0;
|
|
41852
41853
|
}
|
|
41853
|
-
const GP = AD, tN = NP, Nu = VP, rN = DD, nN = LD, iN = LP, Xo =
|
|
41854
|
+
const GP = AD, tN = NP, Nu = VP, rN = DD, nN = LD, iN = LP, Xo = Xr, { JSONParserError: oN, InvalidPointerError: sN, MissingPointerError: aN, ResolverError: lN, ParserError: cN, UnmatchedParserError: uN, UnmatchedResolverError: dN, isHandledError: fN, JSONParserErrorGroup: bv } = At, Mr = YP, { ono: Sv } = wn;
|
|
41854
41855
|
Pn.exports = _n;
|
|
41855
41856
|
Pn.exports.default = _n;
|
|
41856
41857
|
Pn.exports.JSONParserError = oN;
|
|
@@ -41871,7 +41872,7 @@ _n.prototype.parse = async function(e, r, n, i) {
|
|
|
41871
41872
|
let o = Nu(arguments), s;
|
|
41872
41873
|
if (!o.path && !o.schema) {
|
|
41873
41874
|
let c = Sv(`Expected a file path, URL, or object. Got ${o.path || o.schema}`);
|
|
41874
|
-
return
|
|
41875
|
+
return Mr(o.callback, Promise.reject(c));
|
|
41875
41876
|
}
|
|
41876
41877
|
this.schema = null, this.$refs = new GP();
|
|
41877
41878
|
let a = "http";
|
|
@@ -41884,12 +41885,12 @@ _n.prototype.parse = async function(e, r, n, i) {
|
|
|
41884
41885
|
try {
|
|
41885
41886
|
let c = await s;
|
|
41886
41887
|
if (c !== null && typeof c == "object" && !$e.Buffer.isBuffer(c))
|
|
41887
|
-
return l.schema = c,
|
|
41888
|
+
return l.schema = c, Mr(o.callback, Promise.resolve(l.schema));
|
|
41888
41889
|
if (o.options.continueOnError)
|
|
41889
|
-
return l.schema = null,
|
|
41890
|
+
return l.schema = null, Mr(o.callback, Promise.resolve(l.schema));
|
|
41890
41891
|
throw Sv.syntax(`"${l.$refs._root$Ref.path || c}" is not a valid JSON Schema`);
|
|
41891
41892
|
} catch (c) {
|
|
41892
|
-
return !o.options.continueOnError || !fN(c) ?
|
|
41893
|
+
return !o.options.continueOnError || !fN(c) ? Mr(o.callback, Promise.reject(c)) : (this.$refs._$refs[Xo.stripHash(o.path)] && this.$refs._$refs[Xo.stripHash(o.path)].addError(c), Mr(o.callback, Promise.resolve(null)));
|
|
41893
41894
|
}
|
|
41894
41895
|
};
|
|
41895
41896
|
_n.resolve = function(e, r, n, i) {
|
|
@@ -41899,9 +41900,9 @@ _n.resolve = function(e, r, n, i) {
|
|
|
41899
41900
|
_n.prototype.resolve = async function(e, r, n, i) {
|
|
41900
41901
|
let o = this, s = Nu(arguments);
|
|
41901
41902
|
try {
|
|
41902
|
-
return await this.parse(s.path, s.schema, s.options), await rN(o, s.options), _m(o),
|
|
41903
|
+
return await this.parse(s.path, s.schema, s.options), await rN(o, s.options), _m(o), Mr(s.callback, Promise.resolve(o.$refs));
|
|
41903
41904
|
} catch (a) {
|
|
41904
|
-
return
|
|
41905
|
+
return Mr(s.callback, Promise.reject(a));
|
|
41905
41906
|
}
|
|
41906
41907
|
};
|
|
41907
41908
|
_n.bundle = function(e, r, n, i) {
|
|
@@ -41911,9 +41912,9 @@ _n.bundle = function(e, r, n, i) {
|
|
|
41911
41912
|
_n.prototype.bundle = async function(e, r, n, i) {
|
|
41912
41913
|
let o = this, s = Nu(arguments);
|
|
41913
41914
|
try {
|
|
41914
|
-
return await this.resolve(s.path, s.schema, s.options), nN(o, s.options), _m(o),
|
|
41915
|
+
return await this.resolve(s.path, s.schema, s.options), nN(o, s.options), _m(o), Mr(s.callback, Promise.resolve(o.schema));
|
|
41915
41916
|
} catch (a) {
|
|
41916
|
-
return
|
|
41917
|
+
return Mr(s.callback, Promise.reject(a));
|
|
41917
41918
|
}
|
|
41918
41919
|
};
|
|
41919
41920
|
_n.dereference = function(e, r, n, i) {
|
|
@@ -41923,9 +41924,9 @@ _n.dereference = function(e, r, n, i) {
|
|
|
41923
41924
|
_n.prototype.dereference = async function(e, r, n, i) {
|
|
41924
41925
|
let o = this, s = Nu(arguments);
|
|
41925
41926
|
try {
|
|
41926
|
-
return await this.resolve(s.path, s.schema, s.options), iN(o, s.options), _m(o),
|
|
41927
|
+
return await this.resolve(s.path, s.schema, s.options), iN(o, s.options), _m(o), Mr(s.callback, Promise.resolve(o.schema));
|
|
41927
41928
|
} catch (a) {
|
|
41928
|
-
return
|
|
41929
|
+
return Mr(s.callback, Promise.reject(a));
|
|
41929
41930
|
}
|
|
41930
41931
|
};
|
|
41931
41932
|
function _m(t) {
|
|
@@ -41933,7 +41934,7 @@ function _m(t) {
|
|
|
41933
41934
|
throw new bv(t);
|
|
41934
41935
|
}
|
|
41935
41936
|
var hN = Pn.exports;
|
|
41936
|
-
const pN = aP, ON = cP, FP = VP, HP = vo, KP = RD, Gc = YP, { ono:
|
|
41937
|
+
const pN = aP, ON = cP, FP = VP, HP = vo, KP = RD, Gc = YP, { ono: jr } = wn, So = hN, mN = LP;
|
|
41937
41938
|
var gN = Qn;
|
|
41938
41939
|
function Qn() {
|
|
41939
41940
|
So.apply(this, arguments);
|
|
@@ -41957,30 +41958,30 @@ Qn.prototype.parse = async function(t, e, r, n) {
|
|
|
41957
41958
|
let o = await So.prototype.parse.call(this, i.path, i.schema, i.options);
|
|
41958
41959
|
if (o.swagger) {
|
|
41959
41960
|
if (o.swagger === void 0 || o.info === void 0 || o.paths === void 0)
|
|
41960
|
-
throw
|
|
41961
|
+
throw jr.syntax(`${i.path || i.schema} is not a valid Swagger API definition`);
|
|
41961
41962
|
if (typeof o.swagger == "number")
|
|
41962
|
-
throw
|
|
41963
|
+
throw jr.syntax('Swagger version number must be a string (e.g. "2.0") not a number.');
|
|
41963
41964
|
if (typeof o.info.version == "number")
|
|
41964
|
-
throw
|
|
41965
|
+
throw jr.syntax('API version number must be a string (e.g. "1.0.0") not a number.');
|
|
41965
41966
|
if (o.swagger !== "2.0")
|
|
41966
|
-
throw
|
|
41967
|
+
throw jr.syntax(`Unrecognized Swagger version: ${o.swagger}. Expected 2.0`);
|
|
41967
41968
|
} else {
|
|
41968
41969
|
let s = ["3.0.0", "3.0.1", "3.0.2", "3.0.3", "3.1.0"];
|
|
41969
41970
|
if (o.openapi === void 0 || o.info === void 0)
|
|
41970
|
-
throw
|
|
41971
|
+
throw jr.syntax(`${i.path || i.schema} is not a valid Openapi API definition`);
|
|
41971
41972
|
if (o.paths === void 0)
|
|
41972
41973
|
if (o.openapi === "3.1.0") {
|
|
41973
41974
|
if (o.webhooks === void 0)
|
|
41974
|
-
throw
|
|
41975
|
+
throw jr.syntax(`${i.path || i.schema} is not a valid Openapi API definition`);
|
|
41975
41976
|
} else
|
|
41976
|
-
throw
|
|
41977
|
+
throw jr.syntax(`${i.path || i.schema} is not a valid Openapi API definition`);
|
|
41977
41978
|
else {
|
|
41978
41979
|
if (typeof o.openapi == "number")
|
|
41979
|
-
throw
|
|
41980
|
+
throw jr.syntax('Openapi version number must be a string (e.g. "3.0.0") not a number.');
|
|
41980
41981
|
if (typeof o.info.version == "number")
|
|
41981
|
-
throw
|
|
41982
|
+
throw jr.syntax('API version number must be a string (e.g. "1.0.0") not a number.');
|
|
41982
41983
|
if (s.indexOf(o.openapi) === -1)
|
|
41983
|
-
throw
|
|
41984
|
+
throw jr.syntax(
|
|
41984
41985
|
`Unsupported OpenAPI version: ${o.openapi}. Swagger Parser only supports versions ${s.join(", ")}`
|
|
41985
41986
|
);
|
|
41986
41987
|
}
|
|
@@ -42005,7 +42006,7 @@ Qn.prototype.validate = async function(t, e, r, n) {
|
|
|
42005
42006
|
if (s === !0)
|
|
42006
42007
|
mN(i, o.options);
|
|
42007
42008
|
else if (s === !1)
|
|
42008
|
-
throw
|
|
42009
|
+
throw jr.reference("The API contains circular references");
|
|
42009
42010
|
}
|
|
42010
42011
|
return o.options.validate.spec && ON(i.api), Gc(o.callback, Promise.resolve(i.schema));
|
|
42011
42012
|
} catch (a) {
|
|
@@ -42188,7 +42189,7 @@ const QN = /* @__PURE__ */ fe({
|
|
|
42188
42189
|
reset: xN
|
|
42189
42190
|
}, TN = {
|
|
42190
42191
|
$style: kN
|
|
42191
|
-
}, JP = /* @__PURE__ */
|
|
42192
|
+
}, JP = /* @__PURE__ */ ve(QN, [["__cssModules", TN]]);
|
|
42192
42193
|
function e_(t) {
|
|
42193
42194
|
var e, r, n = "";
|
|
42194
42195
|
if (typeof t == "string" || typeof t == "number")
|
|
@@ -42491,7 +42492,7 @@ function Ot(t) {
|
|
|
42491
42492
|
return e.isThemeGetter = !0, e;
|
|
42492
42493
|
}
|
|
42493
42494
|
const i_ = /^\[(?:([a-z-]+):)?(.+)\]$/i, MN = /^\d+\/\d+$/, zN = /* @__PURE__ */ new Set(["px", "full", "screen"]), DN = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, NN = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, LN = /^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, BN = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
|
|
42494
|
-
function
|
|
42495
|
+
function Ur(t) {
|
|
42495
42496
|
return Hi(t) || zN.has(t) || MN.test(t);
|
|
42496
42497
|
}
|
|
42497
42498
|
function ci(t) {
|
|
@@ -42549,13 +42550,13 @@ function iL(t) {
|
|
|
42549
42550
|
return BN.test(t);
|
|
42550
42551
|
}
|
|
42551
42552
|
function Qv() {
|
|
42552
|
-
const t = Ot("colors"), e = Ot("spacing"), r = Ot("blur"), n = Ot("brightness"), i = Ot("borderColor"), o = Ot("borderRadius"), s = Ot("borderSpacing"), a = Ot("borderWidth"), l = Ot("contrast"), c = Ot("grayscale"), u = Ot("hueRotate"), d = Ot("invert"), f = Ot("gap"), h = Ot("gradientColorStops"), p = Ot("gradientColorStopPositions"), v = Ot("inset"), g = Ot("margin"), O = Ot("opacity"), b = Ot("padding"), w = Ot("saturate"), Q = Ot("scale"), I = Ot("sepia"), E = Ot("skew"), W = Ot("space"), G = Ot("translate"), J = () => ["auto", "contain", "none"], K = () => ["auto", "hidden", "clip", "visible", "scroll"], ae = () => ["auto", De, e], te = () => [De, e], he = () => ["",
|
|
42553
|
+
const t = Ot("colors"), e = Ot("spacing"), r = Ot("blur"), n = Ot("brightness"), i = Ot("borderColor"), o = Ot("borderRadius"), s = Ot("borderSpacing"), a = Ot("borderWidth"), l = Ot("contrast"), c = Ot("grayscale"), u = Ot("hueRotate"), d = Ot("invert"), f = Ot("gap"), h = Ot("gradientColorStops"), p = Ot("gradientColorStopPositions"), v = Ot("inset"), g = Ot("margin"), O = Ot("opacity"), b = Ot("padding"), w = Ot("saturate"), Q = Ot("scale"), I = Ot("sepia"), E = Ot("skew"), W = Ot("space"), G = Ot("translate"), J = () => ["auto", "contain", "none"], K = () => ["auto", "hidden", "clip", "visible", "scroll"], ae = () => ["auto", De, e], te = () => [De, e], he = () => ["", Ur, ci], be = () => ["auto", Hi, De], Ae = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], qe = () => ["solid", "dashed", "dotted", "double", "none"], Fe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity", "plus-lighter"], Be = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], Ue = () => ["", "0", De], H = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], Y = () => [Hi, El], T = () => [Hi, De];
|
|
42553
42554
|
return {
|
|
42554
42555
|
cacheSize: 500,
|
|
42555
42556
|
separator: ":",
|
|
42556
42557
|
theme: {
|
|
42557
42558
|
colors: [Ns],
|
|
42558
|
-
spacing: [
|
|
42559
|
+
spacing: [Ur, ci],
|
|
42559
42560
|
blur: ["none", "", ui, De],
|
|
42560
42561
|
brightness: Y(),
|
|
42561
42562
|
borderColor: [t],
|
|
@@ -42867,14 +42868,14 @@ function Qv() {
|
|
|
42867
42868
|
* @see https://tailwindcss.com/docs/grid-column
|
|
42868
42869
|
*/
|
|
42869
42870
|
"col-start": [{
|
|
42870
|
-
"col-start":
|
|
42871
|
+
"col-start": be()
|
|
42871
42872
|
}],
|
|
42872
42873
|
/**
|
|
42873
42874
|
* Grid Column End
|
|
42874
42875
|
* @see https://tailwindcss.com/docs/grid-column
|
|
42875
42876
|
*/
|
|
42876
42877
|
"col-end": [{
|
|
42877
|
-
"col-end":
|
|
42878
|
+
"col-end": be()
|
|
42878
42879
|
}],
|
|
42879
42880
|
/**
|
|
42880
42881
|
* Grid Template Rows
|
|
@@ -42897,14 +42898,14 @@ function Qv() {
|
|
|
42897
42898
|
* @see https://tailwindcss.com/docs/grid-row
|
|
42898
42899
|
*/
|
|
42899
42900
|
"row-start": [{
|
|
42900
|
-
"row-start":
|
|
42901
|
+
"row-start": be()
|
|
42901
42902
|
}],
|
|
42902
42903
|
/**
|
|
42903
42904
|
* Grid Row End
|
|
42904
42905
|
* @see https://tailwindcss.com/docs/grid-row
|
|
42905
42906
|
*/
|
|
42906
42907
|
"row-end": [{
|
|
42907
|
-
"row-end":
|
|
42908
|
+
"row-end": be()
|
|
42908
42909
|
}],
|
|
42909
42910
|
/**
|
|
42910
42911
|
* Grid Auto Flow
|
|
@@ -43175,7 +43176,7 @@ function Qv() {
|
|
|
43175
43176
|
* @see https://tailwindcss.com/docs/min-width
|
|
43176
43177
|
*/
|
|
43177
43178
|
"min-w": [{
|
|
43178
|
-
"min-w": ["min", "max", "fit", De,
|
|
43179
|
+
"min-w": ["min", "max", "fit", De, Ur]
|
|
43179
43180
|
}],
|
|
43180
43181
|
/**
|
|
43181
43182
|
* Max-Width
|
|
@@ -43198,7 +43199,7 @@ function Qv() {
|
|
|
43198
43199
|
* @see https://tailwindcss.com/docs/min-height
|
|
43199
43200
|
*/
|
|
43200
43201
|
"min-h": [{
|
|
43201
|
-
"min-h": ["min", "max", "fit",
|
|
43202
|
+
"min-h": ["min", "max", "fit", Ur, De]
|
|
43202
43203
|
}],
|
|
43203
43204
|
/**
|
|
43204
43205
|
* Max-Height
|
|
@@ -43288,7 +43289,7 @@ function Qv() {
|
|
|
43288
43289
|
* @see https://tailwindcss.com/docs/line-height
|
|
43289
43290
|
*/
|
|
43290
43291
|
leading: [{
|
|
43291
|
-
leading: ["none", "tight", "snug", "normal", "relaxed", "loose",
|
|
43292
|
+
leading: ["none", "tight", "snug", "normal", "relaxed", "loose", Ur, De]
|
|
43292
43293
|
}],
|
|
43293
43294
|
/**
|
|
43294
43295
|
* List Style Image
|
|
@@ -43364,14 +43365,14 @@ function Qv() {
|
|
|
43364
43365
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
43365
43366
|
*/
|
|
43366
43367
|
"text-decoration-thickness": [{
|
|
43367
|
-
decoration: ["auto", "from-font",
|
|
43368
|
+
decoration: ["auto", "from-font", Ur, ci]
|
|
43368
43369
|
}],
|
|
43369
43370
|
/**
|
|
43370
43371
|
* Text Underline Offset
|
|
43371
43372
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
43372
43373
|
*/
|
|
43373
43374
|
"underline-offset": [{
|
|
43374
|
-
"underline-offset": ["auto",
|
|
43375
|
+
"underline-offset": ["auto", Ur, De]
|
|
43375
43376
|
}],
|
|
43376
43377
|
/**
|
|
43377
43378
|
* Text Decoration Color
|
|
@@ -43832,14 +43833,14 @@ function Qv() {
|
|
|
43832
43833
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
43833
43834
|
*/
|
|
43834
43835
|
"outline-offset": [{
|
|
43835
|
-
"outline-offset": [
|
|
43836
|
+
"outline-offset": [Ur, De]
|
|
43836
43837
|
}],
|
|
43837
43838
|
/**
|
|
43838
43839
|
* Outline Width
|
|
43839
43840
|
* @see https://tailwindcss.com/docs/outline-width
|
|
43840
43841
|
*/
|
|
43841
43842
|
"outline-w": [{
|
|
43842
|
-
outline: [
|
|
43843
|
+
outline: [Ur, ci]
|
|
43843
43844
|
}],
|
|
43844
43845
|
/**
|
|
43845
43846
|
* Outline Color
|
|
@@ -43879,7 +43880,7 @@ function Qv() {
|
|
|
43879
43880
|
* @see https://tailwindcss.com/docs/ring-offset-width
|
|
43880
43881
|
*/
|
|
43881
43882
|
"ring-offset-w": [{
|
|
43882
|
-
"ring-offset": [
|
|
43883
|
+
"ring-offset": [Ur, ci]
|
|
43883
43884
|
}],
|
|
43884
43885
|
/**
|
|
43885
43886
|
* Ring Offset Color
|
|
@@ -44472,7 +44473,7 @@ function Qv() {
|
|
|
44472
44473
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
44473
44474
|
*/
|
|
44474
44475
|
"stroke-w": [{
|
|
44475
|
-
stroke: [
|
|
44476
|
+
stroke: [Ur, ci, El]
|
|
44476
44477
|
}],
|
|
44477
44478
|
/**
|
|
44478
44479
|
* Stroke
|
|
@@ -44578,7 +44579,7 @@ const dp = "scalar-component", cL = lL({
|
|
|
44578
44579
|
[dp]: [dp]
|
|
44579
44580
|
}
|
|
44580
44581
|
}
|
|
44581
|
-
}), { cva: el, cx: Yn, compose:
|
|
44582
|
+
}), { cva: el, cx: Yn, compose: nre } = RN({
|
|
44582
44583
|
hooks: {
|
|
44583
44584
|
onComplete: (t) => `${cL(t, dp)}`
|
|
44584
44585
|
}
|
|
@@ -44871,7 +44872,7 @@ const dp = "scalar-component", cL = lL({
|
|
|
44871
44872
|
R("span", DL, pe(r.label), 1)
|
|
44872
44873
|
], 10, zL));
|
|
44873
44874
|
}
|
|
44874
|
-
}),
|
|
44875
|
+
}), ire = () => yr({
|
|
44875
44876
|
open: !1,
|
|
44876
44877
|
show() {
|
|
44877
44878
|
this.open = !0;
|
|
@@ -44959,7 +44960,7 @@ const dp = "scalar-component", cL = lL({
|
|
|
44959
44960
|
_: 3
|
|
44960
44961
|
}, 8, ["open"]));
|
|
44961
44962
|
}
|
|
44962
|
-
}),
|
|
44963
|
+
}), ore = /* @__PURE__ */ xm(NL, [["__scopeId", "data-v-bc6a9e27"]]), LL = { class: "scalar-input-container relative" }, BL = ["for"], GL = { class: "icon-slot cursor-pointer text-ghost hover:text-fore-1 !empty:flex !empty:w-7 !empty:items-center !empty:pr-3" }, FL = /* @__PURE__ */ fe({
|
|
44963
44964
|
__name: "ScalarTextField",
|
|
44964
44965
|
props: {
|
|
44965
44966
|
modelValue: {},
|
|
@@ -45058,7 +45059,7 @@ const dp = "scalar-component", cL = lL({
|
|
|
45058
45059
|
}, pe(f.helperText), 3)
|
|
45059
45060
|
]));
|
|
45060
45061
|
}
|
|
45061
|
-
}),
|
|
45062
|
+
}), sre = /* @__PURE__ */ xm(FL, [["__scopeId", "data-v-c047336e"]]), Tv = async (t, e) => {
|
|
45062
45063
|
if (e) {
|
|
45063
45064
|
const n = await (e ? await fetch(e, {
|
|
45064
45065
|
method: "POST",
|
|
@@ -45102,9 +45103,9 @@ function JL(t, e) {
|
|
|
45102
45103
|
ge(t.$slots, "default", {}, void 0, !0)
|
|
45103
45104
|
]);
|
|
45104
45105
|
}
|
|
45105
|
-
const eB = /* @__PURE__ */
|
|
45106
|
+
const eB = /* @__PURE__ */ ve(HL, [["render", JL], ["__scopeId", "data-v-5eae54e6"]]);
|
|
45106
45107
|
const Ls = Xe(!1);
|
|
45107
|
-
function
|
|
45108
|
+
function are() {
|
|
45108
45109
|
const t = () => {
|
|
45109
45110
|
var n, i;
|
|
45110
45111
|
const r = typeof window < "u" ? (n = window.localStorage) == null ? void 0 : n.getItem("isDark") : null;
|
|
@@ -45416,7 +45417,7 @@ const HB = {
|
|
|
45416
45417
|
size: "sm",
|
|
45417
45418
|
onClick: s
|
|
45418
45419
|
}, null, 8, ["icon"])) : de("", !0),
|
|
45419
|
-
R("a", hs({ class: "
|
|
45420
|
+
R("a", hs({ class: "sidebar-heading-link" }, i.value), [
|
|
45420
45421
|
(d = (u = l.item) == null ? void 0 : u.icon) != null && d.src ? (P(), le($(Fc), {
|
|
45421
45422
|
key: 0,
|
|
45422
45423
|
class: "sidebar-icon",
|
|
@@ -45445,7 +45446,7 @@ const HB = {
|
|
|
45445
45446
|
};
|
|
45446
45447
|
}
|
|
45447
45448
|
});
|
|
45448
|
-
const Cv = /* @__PURE__ */
|
|
45449
|
+
const Cv = /* @__PURE__ */ ve(tG, [["__scopeId", "data-v-273962ec"]]), rG = /* @__PURE__ */ fe({
|
|
45449
45450
|
__name: "SidebarGroup",
|
|
45450
45451
|
props: {
|
|
45451
45452
|
level: {}
|
|
@@ -45455,10 +45456,11 @@ const Cv = /* @__PURE__ */ Se(tG, [["__scopeId", "data-v-71da806c"]]), Ev = /* @
|
|
|
45455
45456
|
class: "sidebar-group sidebar-indent-nested",
|
|
45456
45457
|
style: fo({ "--sidebar-level": e.level })
|
|
45457
45458
|
}, [
|
|
45458
|
-
ge(e.$slots, "default")
|
|
45459
|
+
ge(e.$slots, "default", {}, void 0, !0)
|
|
45459
45460
|
], 4));
|
|
45460
45461
|
}
|
|
45461
|
-
})
|
|
45462
|
+
});
|
|
45463
|
+
const Ev = /* @__PURE__ */ ve(rG, [["__scopeId", "data-v-1d9641f3"]]), nG = { class: "sidebar" }, iG = -160, oG = /* @__PURE__ */ fe({
|
|
45462
45464
|
__name: "Sidebar",
|
|
45463
45465
|
props: {
|
|
45464
45466
|
parsedSpec: {}
|
|
@@ -45477,18 +45479,18 @@ const Cv = /* @__PURE__ */ Se(tG, [["__scopeId", "data-v-71da806c"]]), Ev = /* @
|
|
|
45477
45479
|
const u = a.value[c];
|
|
45478
45480
|
if (!u || !s.value)
|
|
45479
45481
|
return;
|
|
45480
|
-
let d =
|
|
45482
|
+
let d = iG;
|
|
45481
45483
|
u.getAttribute("data-sidebar-type") === "heading" ? d += u.offsetTop + ((f = u.getElementsByClassName("sidebar-heading")) == null ? void 0 : f[0]).offsetHeight : d += u.offsetTop + (((h = u.parentElement) == null ? void 0 : h.offsetTop) ?? 0) + (((v = (p = u.parentElement) == null ? void 0 : p.parentElement) == null ? void 0 : v.offsetTop) ?? 0), (g = s.value) == null || g.scrollTo({ top: d, behavior: "smooth" });
|
|
45482
45484
|
});
|
|
45483
45485
|
const l = (c, u) => {
|
|
45484
45486
|
c != null && c.el && (a.value[u] = c.el);
|
|
45485
45487
|
};
|
|
45486
|
-
return (c, u) => (P(), V("div",
|
|
45487
|
-
ge(c.$slots, "sidebar-start"),
|
|
45488
|
+
return (c, u) => (P(), V("div", nG, [
|
|
45489
|
+
ge(c.$slots, "sidebar-start", {}, void 0, !0),
|
|
45488
45490
|
R("div", {
|
|
45489
45491
|
ref_key: "scrollerEl",
|
|
45490
45492
|
ref: s,
|
|
45491
|
-
class: "pages custom-scroll custom-scroll-self-contain-overflow"
|
|
45493
|
+
class: "sidebar-pages custom-scroll custom-scroll-self-contain-overflow"
|
|
45492
45494
|
}, [
|
|
45493
45495
|
B(Ev, { level: 0 }, {
|
|
45494
45496
|
default: D(() => [
|
|
@@ -45554,20 +45556,20 @@ const Cv = /* @__PURE__ */ Se(tG, [["__scopeId", "data-v-71da806c"]]), Ev = /* @
|
|
|
45554
45556
|
_: 1
|
|
45555
45557
|
})
|
|
45556
45558
|
], 512),
|
|
45557
|
-
ge(c.$slots, "sidebar-end")
|
|
45559
|
+
ge(c.$slots, "sidebar-end", {}, void 0, !0)
|
|
45558
45560
|
]));
|
|
45559
45561
|
}
|
|
45560
45562
|
});
|
|
45561
|
-
const
|
|
45563
|
+
const hp = /* @__PURE__ */ ve(oG, [["__scopeId", "data-v-1a10e903"]]), sG = {
|
|
45562
45564
|
key: 0,
|
|
45563
45565
|
class: "api-client-drawer"
|
|
45564
|
-
},
|
|
45566
|
+
}, aG = { class: "scalar-api-client__overlay" }, lG = { class: "scalar-api-client__container" }, cG = { class: "scalar-api-client-height" }, uG = {
|
|
45565
45567
|
key: 0,
|
|
45566
45568
|
class: "t-doc__sidebar"
|
|
45567
|
-
},
|
|
45569
|
+
}, dG = {
|
|
45568
45570
|
key: 1,
|
|
45569
45571
|
class: "t-doc__sidebar"
|
|
45570
|
-
},
|
|
45572
|
+
}, fG = /* @__PURE__ */ fe({
|
|
45571
45573
|
__name: "ApiClientModal",
|
|
45572
45574
|
props: {
|
|
45573
45575
|
parsedSpec: {},
|
|
@@ -45580,18 +45582,18 @@ const iG = {
|
|
|
45580
45582
|
setup(t) {
|
|
45581
45583
|
const { hideApiClient: e, state: r } = Os(), n = qa("(max-width: 1000px)");
|
|
45582
45584
|
return (i, o) => (P(), V(me, null, [
|
|
45583
|
-
$(r).showApiClient || i.overloadShow ? (P(), V("div",
|
|
45584
|
-
R("div",
|
|
45585
|
-
R("div",
|
|
45585
|
+
$(r).showApiClient || i.overloadShow ? (P(), V("div", sG, [
|
|
45586
|
+
R("div", aG, [
|
|
45587
|
+
R("div", lG, [
|
|
45586
45588
|
ge(i.$slots, "header", {}, void 0, !0),
|
|
45587
|
-
R("div",
|
|
45589
|
+
R("div", cG, [
|
|
45588
45590
|
i.tabMode ? (P(), V(me, { key: 0 }, [
|
|
45589
|
-
i.activeTab === "sidebar" ? (P(), V("div",
|
|
45591
|
+
i.activeTab === "sidebar" ? (P(), V("div", uG, [
|
|
45590
45592
|
ot(B(hp, { parsedSpec: i.parsedSpec }, null, 8, ["parsedSpec"]), [
|
|
45591
45593
|
[io, !$(n)]
|
|
45592
45594
|
])
|
|
45593
45595
|
])) : ge(i.$slots, "active-tab", { key: 1 }, void 0, !0)
|
|
45594
|
-
], 64)) : (P(), V("div",
|
|
45596
|
+
], 64)) : (P(), V("div", dG, [
|
|
45595
45597
|
ot(B(hp, { parsedSpec: i.parsedSpec }, {
|
|
45596
45598
|
"sidebar-start": D(() => [
|
|
45597
45599
|
ge(i.$slots, "sidebar-start", {}, void 0, !0)
|
|
@@ -45623,8 +45625,8 @@ const iG = {
|
|
|
45623
45625
|
], 64));
|
|
45624
45626
|
}
|
|
45625
45627
|
});
|
|
45626
|
-
const
|
|
45627
|
-
function
|
|
45628
|
+
const hG = /* @__PURE__ */ ve(fG, [["__scopeId", "data-v-388c91f3"]]), uo = yr([]);
|
|
45629
|
+
function pG(t, e) {
|
|
45628
45630
|
const r = pO();
|
|
45629
45631
|
uo.push({ id: r, ...t, options: e });
|
|
45630
45632
|
let n;
|
|
@@ -45634,25 +45636,25 @@ function fG(t, e) {
|
|
|
45634
45636
|
n && clearTimeout(n), pp(r);
|
|
45635
45637
|
}, active: () => uo.some((s) => s.id === r) };
|
|
45636
45638
|
}
|
|
45637
|
-
function
|
|
45638
|
-
return
|
|
45639
|
+
function OG(t, e) {
|
|
45640
|
+
return pG(t, e);
|
|
45639
45641
|
}
|
|
45640
45642
|
function u_() {
|
|
45641
45643
|
return {
|
|
45642
45644
|
toasts: Op(uo),
|
|
45643
|
-
addToast:
|
|
45645
|
+
addToast: OG,
|
|
45644
45646
|
removeToast: pp,
|
|
45645
|
-
clearToasts:
|
|
45647
|
+
clearToasts: mG
|
|
45646
45648
|
};
|
|
45647
45649
|
}
|
|
45648
45650
|
function pp(t) {
|
|
45649
45651
|
const e = uo.findIndex((r) => r.id === t);
|
|
45650
45652
|
e < 0 || uo.splice(e, 1);
|
|
45651
45653
|
}
|
|
45652
|
-
function
|
|
45654
|
+
function mG() {
|
|
45653
45655
|
uo.splice(0, uo.length);
|
|
45654
45656
|
}
|
|
45655
|
-
const
|
|
45657
|
+
const gG = { viewBox: "0 0 24 24" }, yG = ["stroke-dasharray"], Xv = 2, vG = /* @__PURE__ */ fe({
|
|
45656
45658
|
__name: "FlowProgressRing",
|
|
45657
45659
|
props: {
|
|
45658
45660
|
duration: {}
|
|
@@ -45663,7 +45665,7 @@ const OG = { viewBox: "0 0 24 24" }, mG = ["stroke-dasharray"], Xv = 2, gG = /*
|
|
|
45663
45665
|
"399d17d8": n
|
|
45664
45666
|
}));
|
|
45665
45667
|
const r = 12 - Xv * 2, n = r * 2 * Math.PI, i = Ee(() => `${e.duration}ms`);
|
|
45666
|
-
return (o, s) => (P(), V("svg",
|
|
45668
|
+
return (o, s) => (P(), V("svg", gG, [
|
|
45667
45669
|
R("circle", {
|
|
45668
45670
|
class: "progress-ring",
|
|
45669
45671
|
cx: 12,
|
|
@@ -45674,20 +45676,20 @@ const OG = { viewBox: "0 0 24 24" }, mG = ["stroke-dasharray"], Xv = 2, gG = /*
|
|
|
45674
45676
|
"stroke-dasharray": n + " " + n,
|
|
45675
45677
|
"stroke-width": Xv,
|
|
45676
45678
|
style: fo({ animationDuration: i.value })
|
|
45677
|
-
}, null, 12,
|
|
45679
|
+
}, null, 12, yG)
|
|
45678
45680
|
]));
|
|
45679
45681
|
}
|
|
45680
45682
|
});
|
|
45681
|
-
const Av = /* @__PURE__ */
|
|
45683
|
+
const Av = /* @__PURE__ */ ve(vG, [["__scopeId", "data-v-d16794fb"]]), bG = {
|
|
45682
45684
|
key: 0,
|
|
45683
45685
|
class: "toast-icon"
|
|
45684
|
-
},
|
|
45686
|
+
}, SG = { class: "toast-title" }, $G = {
|
|
45685
45687
|
key: 1,
|
|
45686
45688
|
class: "toast-description text-copy-light"
|
|
45687
|
-
},
|
|
45689
|
+
}, wG = {
|
|
45688
45690
|
key: 2,
|
|
45689
45691
|
class: "toast-timeout"
|
|
45690
|
-
},
|
|
45692
|
+
}, PG = /* @__PURE__ */ fe({
|
|
45691
45693
|
__name: "FlowToastLayout",
|
|
45692
45694
|
props: {
|
|
45693
45695
|
status: {}
|
|
@@ -45696,22 +45698,22 @@ const Av = /* @__PURE__ */ Se(gG, [["__scopeId", "data-v-d16794fb"]]), yG = {
|
|
|
45696
45698
|
return (e, r) => (P(), V("div", {
|
|
45697
45699
|
class: _e(["toast-layout", { "toast-error": e.status === "Error" }])
|
|
45698
45700
|
}, [
|
|
45699
|
-
e.$slots.icon ? (P(), V("div",
|
|
45701
|
+
e.$slots.icon ? (P(), V("div", bG, [
|
|
45700
45702
|
ge(e.$slots, "icon", {}, void 0, !0)
|
|
45701
45703
|
])) : de("", !0),
|
|
45702
|
-
R("div",
|
|
45704
|
+
R("div", SG, [
|
|
45703
45705
|
ge(e.$slots, "title", {}, void 0, !0)
|
|
45704
45706
|
]),
|
|
45705
|
-
e.$slots.description ? (P(), V("div",
|
|
45707
|
+
e.$slots.description ? (P(), V("div", $G, [
|
|
45706
45708
|
ge(e.$slots, "description", {}, void 0, !0)
|
|
45707
45709
|
])) : de("", !0),
|
|
45708
|
-
e.$slots.timeout ? (P(), V("div",
|
|
45710
|
+
e.$slots.timeout ? (P(), V("div", wG, [
|
|
45709
45711
|
ge(e.$slots, "timeout", {}, void 0, !0)
|
|
45710
45712
|
])) : de("", !0)
|
|
45711
45713
|
], 2));
|
|
45712
45714
|
}
|
|
45713
45715
|
});
|
|
45714
|
-
const
|
|
45716
|
+
const _G = /* @__PURE__ */ ve(PG, [["__scopeId", "data-v-12493705"]]), QG = { class: "toast" }, xG = /* @__PURE__ */ fe({
|
|
45715
45717
|
__name: "FlowToast",
|
|
45716
45718
|
props: {
|
|
45717
45719
|
toast: {}
|
|
@@ -45720,7 +45722,7 @@ const wG = /* @__PURE__ */ Se($G, [["__scopeId", "data-v-12493705"]]), PG = { cl
|
|
|
45720
45722
|
const e = (r) => r.component !== void 0;
|
|
45721
45723
|
return (r, n) => {
|
|
45722
45724
|
var i, o;
|
|
45723
|
-
return P(), V("div",
|
|
45725
|
+
return P(), V("div", QG, [
|
|
45724
45726
|
e(r.toast) ? (P(), le(Mn(r.toast.component), { key: 0 }, Ho({ _: 2 }, [
|
|
45725
45727
|
(i = r.toast.options) != null && i.timeout ? {
|
|
45726
45728
|
name: "timeout",
|
|
@@ -45732,7 +45734,7 @@ const wG = /* @__PURE__ */ Se($G, [["__scopeId", "data-v-12493705"]]), PG = { cl
|
|
|
45732
45734
|
key: "0"
|
|
45733
45735
|
} : void 0
|
|
45734
45736
|
]), 1024)) : de("", !0),
|
|
45735
|
-
e(r.toast) ? de("", !0) : (P(), le(
|
|
45737
|
+
e(r.toast) ? de("", !0) : (P(), le(_G, {
|
|
45736
45738
|
key: 1,
|
|
45737
45739
|
status: r.toast.status
|
|
45738
45740
|
}, Ho({
|
|
@@ -45764,14 +45766,14 @@ const wG = /* @__PURE__ */ Se($G, [["__scopeId", "data-v-12493705"]]), PG = { cl
|
|
|
45764
45766
|
};
|
|
45765
45767
|
}
|
|
45766
45768
|
});
|
|
45767
|
-
const
|
|
45769
|
+
const kG = /* @__PURE__ */ ve(xG, [["__scopeId", "data-v-4e50f02e"]]), TG = { class: "toast-container" }, RG = /* @__PURE__ */ fe({
|
|
45768
45770
|
__name: "FlowToastContainer",
|
|
45769
45771
|
setup(t) {
|
|
45770
45772
|
const { toasts: e } = u_();
|
|
45771
|
-
return (r, n) => (P(), V("div",
|
|
45773
|
+
return (r, n) => (P(), V("div", TG, [
|
|
45772
45774
|
B(V_, { name: "toasts" }, {
|
|
45773
45775
|
default: D(() => [
|
|
45774
|
-
(P(!0), V(me, null, Ye($(e), (i) => (P(), le(
|
|
45776
|
+
(P(!0), V(me, null, Ye($(e), (i) => (P(), le(kG, {
|
|
45775
45777
|
key: i.id,
|
|
45776
45778
|
toast: i
|
|
45777
45779
|
}, null, 8, ["toast"]))), 128))
|
|
@@ -45781,7 +45783,7 @@ const QG = /* @__PURE__ */ Se(_G, [["__scopeId", "data-v-4e50f02e"]]), xG = { cl
|
|
|
45781
45783
|
]));
|
|
45782
45784
|
}
|
|
45783
45785
|
});
|
|
45784
|
-
const
|
|
45786
|
+
const CG = /* @__PURE__ */ ve(RG, [["__scopeId", "data-v-c018db59"]]), EG = {
|
|
45785
45787
|
spec: {
|
|
45786
45788
|
content: void 0,
|
|
45787
45789
|
url: void 0,
|
|
@@ -45792,13 +45794,13 @@ const TG = /* @__PURE__ */ Se(kG, [["__scopeId", "data-v-c018db59"]]), RG = {
|
|
|
45792
45794
|
showSidebar: !0,
|
|
45793
45795
|
isEditable: !1
|
|
45794
45796
|
};
|
|
45795
|
-
const
|
|
45796
|
-
function
|
|
45797
|
-
return P(), V("div",
|
|
45797
|
+
const XG = {}, AG = { class: "scalar-card" };
|
|
45798
|
+
function qG(t, e) {
|
|
45799
|
+
return P(), V("div", AG, [
|
|
45798
45800
|
ge(t.$slots, "default", {}, void 0, !0)
|
|
45799
45801
|
]);
|
|
45800
45802
|
}
|
|
45801
|
-
const xs = /* @__PURE__ */
|
|
45803
|
+
const xs = /* @__PURE__ */ ve(XG, [["render", qG], ["__scopeId", "data-v-4914667b"]]), UG = /* @__PURE__ */ fe({
|
|
45802
45804
|
__name: "CardContent",
|
|
45803
45805
|
props: {
|
|
45804
45806
|
muted: { type: Boolean },
|
|
@@ -45821,7 +45823,7 @@ const xs = /* @__PURE__ */ Se(CG, [["render", XG], ["__scopeId", "data-v-4914667
|
|
|
45821
45823
|
], 2));
|
|
45822
45824
|
}
|
|
45823
45825
|
});
|
|
45824
|
-
const Jn = /* @__PURE__ */
|
|
45826
|
+
const Jn = /* @__PURE__ */ ve(UG, [["__scopeId", "data-v-47a41f7c"]]), ZG = { class: "scalar-card-header-slots" }, jG = { class: "scalar-card-header-slot scalar-card-header-title" }, IG = { class: "scalar-card-header-slot scalar-card-header-actions" }, WG = /* @__PURE__ */ fe({
|
|
45825
45827
|
__name: "CardHeader",
|
|
45826
45828
|
props: {
|
|
45827
45829
|
muted: { type: Boolean },
|
|
@@ -45834,11 +45836,11 @@ const Jn = /* @__PURE__ */ Se(AG, [["__scopeId", "data-v-47a41f7c"]]), qG = { cl
|
|
|
45834
45836
|
const e = t;
|
|
45835
45837
|
return (r, n) => (P(), le(Jn, hs(e, { class: "scalar-card-header" }), {
|
|
45836
45838
|
default: D(() => [
|
|
45837
|
-
R("div",
|
|
45838
|
-
R("div",
|
|
45839
|
+
R("div", ZG, [
|
|
45840
|
+
R("div", jG, [
|
|
45839
45841
|
ge(r.$slots, "default", {}, void 0, !0)
|
|
45840
45842
|
]),
|
|
45841
|
-
R("div",
|
|
45843
|
+
R("div", IG, [
|
|
45842
45844
|
ge(r.$slots, "actions", {}, void 0, !0)
|
|
45843
45845
|
])
|
|
45844
45846
|
])
|
|
@@ -45847,7 +45849,7 @@ const Jn = /* @__PURE__ */ Se(AG, [["__scopeId", "data-v-47a41f7c"]]), qG = { cl
|
|
|
45847
45849
|
}, 16));
|
|
45848
45850
|
}
|
|
45849
45851
|
});
|
|
45850
|
-
const ks = /* @__PURE__ */
|
|
45852
|
+
const ks = /* @__PURE__ */ ve(WG, [["__scopeId", "data-v-cf3fd893"]]), VG = /* @__PURE__ */ fe({
|
|
45851
45853
|
__name: "CardFooter",
|
|
45852
45854
|
props: {
|
|
45853
45855
|
muted: { type: Boolean },
|
|
@@ -45866,7 +45868,7 @@ const ks = /* @__PURE__ */ Se(jG, [["__scopeId", "data-v-cf3fd893"]]), IG = /* @
|
|
|
45866
45868
|
}, 16));
|
|
45867
45869
|
}
|
|
45868
45870
|
});
|
|
45869
|
-
const Rm = /* @__PURE__ */
|
|
45871
|
+
const Rm = /* @__PURE__ */ ve(VG, [["__scopeId", "data-v-c179b8a4"]]), YG = /* @__PURE__ */ fe({
|
|
45870
45872
|
__name: "CardTabHeader",
|
|
45871
45873
|
emits: ["change"],
|
|
45872
45874
|
setup(t, { emit: e }) {
|
|
@@ -45894,7 +45896,7 @@ const Rm = /* @__PURE__ */ Se(IG, [["__scopeId", "data-v-c179b8a4"]]), WG = /* @
|
|
|
45894
45896
|
}));
|
|
45895
45897
|
}
|
|
45896
45898
|
});
|
|
45897
|
-
const
|
|
45899
|
+
const MG = /* @__PURE__ */ ve(YG, [["__scopeId", "data-v-b81067df"]]), zG = /* @__PURE__ */ fe({
|
|
45898
45900
|
__name: "CardTab",
|
|
45899
45901
|
setup(t) {
|
|
45900
45902
|
return (e, r) => (P(), le($(pf), { as: "template" }, {
|
|
@@ -45912,14 +45914,14 @@ const VG = /* @__PURE__ */ Se(WG, [["__scopeId", "data-v-b81067df"]]), YG = /* @
|
|
|
45912
45914
|
}));
|
|
45913
45915
|
}
|
|
45914
45916
|
});
|
|
45915
|
-
const
|
|
45916
|
-
const
|
|
45917
|
-
function
|
|
45918
|
-
return P(), V("div",
|
|
45917
|
+
const DG = /* @__PURE__ */ ve(zG, [["__scopeId", "data-v-d044c876"]]);
|
|
45918
|
+
const NG = {}, LG = { class: "card-form" };
|
|
45919
|
+
function BG(t, e) {
|
|
45920
|
+
return P(), V("div", LG, [
|
|
45919
45921
|
ge(t.$slots, "default", {}, void 0, !0)
|
|
45920
45922
|
]);
|
|
45921
45923
|
}
|
|
45922
|
-
const
|
|
45924
|
+
const GG = /* @__PURE__ */ ve(NG, [["render", BG], ["__scopeId", "data-v-d0caa558"]]), FG = /* @__PURE__ */ fe({
|
|
45923
45925
|
__name: "CardFormButton",
|
|
45924
45926
|
setup(t, { expose: e }) {
|
|
45925
45927
|
const r = Xe();
|
|
@@ -45933,14 +45935,14 @@ const LG = /* @__PURE__ */ Se(zG, [["render", NG], ["__scopeId", "data-v-d0caa55
|
|
|
45933
45935
|
], 512));
|
|
45934
45936
|
}
|
|
45935
45937
|
});
|
|
45936
|
-
const d_ = /* @__PURE__ */
|
|
45937
|
-
const
|
|
45938
|
-
function
|
|
45939
|
-
return P(), V("div",
|
|
45938
|
+
const d_ = /* @__PURE__ */ ve(FG, [["__scopeId", "data-v-7f52a614"]]);
|
|
45939
|
+
const HG = {}, KG = { class: "card-form-group" };
|
|
45940
|
+
function JG(t, e) {
|
|
45941
|
+
return P(), V("div", KG, [
|
|
45940
45942
|
ge(t.$slots, "default", {}, void 0, !0)
|
|
45941
45943
|
]);
|
|
45942
45944
|
}
|
|
45943
|
-
const qv = /* @__PURE__ */
|
|
45945
|
+
const qv = /* @__PURE__ */ ve(HG, [["render", JG], ["__scopeId", "data-v-cadb0c16"]]), eF = { class: "card-form-input" }, tF = ["for"], rF = ["id", "type"], nF = /* @__PURE__ */ fe({
|
|
45944
45946
|
inheritAttrs: !1,
|
|
45945
45947
|
__name: "CardFormTextInput",
|
|
45946
45948
|
props: {
|
|
@@ -45948,27 +45950,27 @@ const qv = /* @__PURE__ */ Se(GG, [["render", HG], ["__scopeId", "data-v-cadb0c1
|
|
|
45948
45950
|
type: {}
|
|
45949
45951
|
},
|
|
45950
45952
|
setup(t) {
|
|
45951
|
-
return (e, r) => (P(), V("div",
|
|
45953
|
+
return (e, r) => (P(), V("div", eF, [
|
|
45952
45954
|
R("label", { for: e.id }, [
|
|
45953
45955
|
ge(e.$slots, "default", {}, void 0, !0)
|
|
45954
|
-
], 8,
|
|
45956
|
+
], 8, tF),
|
|
45955
45957
|
R("input", hs(e.$attrs, {
|
|
45956
45958
|
id: e.id,
|
|
45957
45959
|
autocomplete: "off",
|
|
45958
45960
|
spellcheck: "false",
|
|
45959
45961
|
type: e.type ?? "text"
|
|
45960
|
-
}), null, 16,
|
|
45962
|
+
}), null, 16, rF)
|
|
45961
45963
|
]));
|
|
45962
45964
|
}
|
|
45963
45965
|
});
|
|
45964
|
-
const Bs = /* @__PURE__ */
|
|
45965
|
-
const
|
|
45966
|
-
function
|
|
45967
|
-
return P(), V("div",
|
|
45966
|
+
const Bs = /* @__PURE__ */ ve(nF, [["__scopeId", "data-v-88939d2d"]]);
|
|
45967
|
+
const iF = {}, oF = { class: "badge" };
|
|
45968
|
+
function sF(t, e) {
|
|
45969
|
+
return P(), V("div", oF, [
|
|
45968
45970
|
ge(t.$slots, "default", {}, void 0, !0)
|
|
45969
45971
|
]);
|
|
45970
45972
|
}
|
|
45971
|
-
const Aa = /* @__PURE__ */
|
|
45973
|
+
const Aa = /* @__PURE__ */ ve(iF, [["render", sF], ["__scopeId", "data-v-08c68ac3"]]), aF = (t) => (Gr("data-v-5ed9242e"), t = t(), Fr(), t), lF = { class: "scopes-label" }, cF = /* @__PURE__ */ aF(() => /* @__PURE__ */ R("em", null, "|", -1)), uF = ["checked"], dF = { class: "dropdown-item-title" }, fF = { class: "dropdown-item-description" }, hF = /* @__PURE__ */ fe({
|
|
45972
45974
|
__name: "SecuritySchemeScopes",
|
|
45973
45975
|
props: {
|
|
45974
45976
|
scopes: {},
|
|
@@ -45997,7 +45999,7 @@ const Aa = /* @__PURE__ */ Se(rF, [["render", iF], ["__scopeId", "data-v-08c68ac
|
|
|
45997
45999
|
}, [
|
|
45998
46000
|
B($(Fv), { as: d_ }, {
|
|
45999
46001
|
default: D(() => [
|
|
46000
|
-
R("div",
|
|
46002
|
+
R("div", lF, [
|
|
46001
46003
|
B($(ar), {
|
|
46002
46004
|
icon: c ? "ChevronUp" : "ChevronDown",
|
|
46003
46005
|
size: "sm"
|
|
@@ -46006,7 +46008,7 @@ const Aa = /* @__PURE__ */ Se(rF, [["render", iF], ["__scopeId", "data-v-08c68ac
|
|
|
46006
46008
|
B($(Aa), { class: "scopes-label-badge" }, {
|
|
46007
46009
|
default: D(() => [
|
|
46008
46010
|
ye(pe(s.value.length), 1),
|
|
46009
|
-
|
|
46011
|
+
cF,
|
|
46010
46012
|
ye(pe(Object.entries(a.scopes).length), 1)
|
|
46011
46013
|
]),
|
|
46012
46014
|
_: 1
|
|
@@ -46042,9 +46044,9 @@ const Aa = /* @__PURE__ */ Se(rF, [["render", iF], ["__scopeId", "data-v-08c68ac
|
|
|
46042
46044
|
class: "dropdown-item-check",
|
|
46043
46045
|
tabindex: "-1",
|
|
46044
46046
|
type: "checkbox"
|
|
46045
|
-
}, null, 8,
|
|
46046
|
-
R("dt",
|
|
46047
|
-
R("dd",
|
|
46047
|
+
}, null, 8, uF),
|
|
46048
|
+
R("dt", dF, pe(d), 1),
|
|
46049
|
+
R("dd", fF, pe(f), 1)
|
|
46048
46050
|
]),
|
|
46049
46051
|
_: 2
|
|
46050
46052
|
}, 1032, ["value"]))), 128))
|
|
@@ -46061,7 +46063,7 @@ const Aa = /* @__PURE__ */ Se(rF, [["render", iF], ["__scopeId", "data-v-08c68ac
|
|
|
46061
46063
|
}, 8, ["modelValue"]));
|
|
46062
46064
|
}
|
|
46063
46065
|
});
|
|
46064
|
-
const
|
|
46066
|
+
const pF = /* @__PURE__ */ ve(hF, [["__scopeId", "data-v-5ed9242e"]]), OF = /* @__PURE__ */ fe({
|
|
46065
46067
|
__name: "SecurityScheme",
|
|
46066
46068
|
props: {
|
|
46067
46069
|
value: {}
|
|
@@ -46123,7 +46125,7 @@ const fF = /* @__PURE__ */ Se(dF, [["__scopeId", "data-v-5ed9242e"]]), hF = /* @
|
|
|
46123
46125
|
};
|
|
46124
46126
|
return (d, f) => {
|
|
46125
46127
|
var h;
|
|
46126
|
-
return d.value && ((h = d.value) != null && h.type) ? (P(), le(
|
|
46128
|
+
return d.value && ((h = d.value) != null && h.type) ? (P(), le(GG, { key: 0 }, {
|
|
46127
46129
|
default: D(() => [
|
|
46128
46130
|
d.value.type === "apiKey" ? (P(), le(Bs, {
|
|
46129
46131
|
key: 0,
|
|
@@ -46189,7 +46191,7 @@ const fF = /* @__PURE__ */ Se(dF, [["__scopeId", "data-v-5ed9242e"]]), hF = /* @
|
|
|
46189
46191
|
]),
|
|
46190
46192
|
_: 1
|
|
46191
46193
|
}, 8, ["value"]),
|
|
46192
|
-
d.value !== void 0 ? (P(), le(
|
|
46194
|
+
d.value !== void 0 ? (P(), le(pF, {
|
|
46193
46195
|
key: 0,
|
|
46194
46196
|
selected: c.value,
|
|
46195
46197
|
"onUpdate:selected": f[0] || (f[0] = (p) => c.value = p),
|
|
@@ -46222,10 +46224,10 @@ const fF = /* @__PURE__ */ Se(dF, [["__scopeId", "data-v-5ed9242e"]]), hF = /* @
|
|
|
46222
46224
|
})) : de("", !0);
|
|
46223
46225
|
};
|
|
46224
46226
|
}
|
|
46225
|
-
}),
|
|
46227
|
+
}), mF = {
|
|
46226
46228
|
key: 1,
|
|
46227
46229
|
class: "security-scheme-selector"
|
|
46228
|
-
},
|
|
46230
|
+
}, gF = ["value"], yF = /* @__PURE__ */ fe({
|
|
46229
46231
|
__name: "SecuritySchemeSelector",
|
|
46230
46232
|
props: {
|
|
46231
46233
|
value: {}
|
|
@@ -46245,7 +46247,7 @@ const fF = /* @__PURE__ */ Se(dF, [["__scopeId", "data-v-5ed9242e"]]), hF = /* @
|
|
|
46245
46247
|
}, a = (p) => !(p != null && p.type), l = (p) => p.type.toLowerCase() === "apikey", c = (p) => p.type === "http" && p.scheme.toLowerCase() === "basic" || p.type.toLowerCase() === "basic", u = (p) => p.type === "http" && p.scheme.toLowerCase() === "bearer", d = (p) => p.type.toLowerCase() === "oauth2", f = (p) => a(p) ? "No Authentication" : l(p) ? "API Key" : c(p) ? "Basic Authentication" : u(p) ? "Bearer Authentication" : d(p) ? "OAuth 2.0" : `${p.type} (not yet supported)`, h = Ee(() => Object.keys(r.value));
|
|
46246
46248
|
return (p, v) => h.value.length === 1 ? (P(), V(me, { key: 0 }, [
|
|
46247
46249
|
ye(pe(f(p.value[h.value[0]])), 1)
|
|
46248
|
-
], 64)) : h.value.length > 1 ? (P(), V("div",
|
|
46250
|
+
], 64)) : h.value.length > 1 ? (P(), V("div", mF, [
|
|
46249
46251
|
R("span", null, pe($(n).securitySchemeKey ? f(p.value[$(n).securitySchemeKey]) : ""), 1),
|
|
46250
46252
|
B($(ar), { icon: "ChevronDown" }),
|
|
46251
46253
|
R("select", {
|
|
@@ -46256,12 +46258,12 @@ const fF = /* @__PURE__ */ Se(dF, [["__scopeId", "data-v-5ed9242e"]]), hF = /* @
|
|
|
46256
46258
|
(P(!0), V(me, null, Ye(h.value, (g) => (P(), V("option", {
|
|
46257
46259
|
key: g,
|
|
46258
46260
|
value: g ?? null
|
|
46259
|
-
}, pe(f(p.value[g])), 9,
|
|
46261
|
+
}, pe(f(p.value[g])), 9, gF))), 128))
|
|
46260
46262
|
], 32)
|
|
46261
46263
|
])) : de("", !0);
|
|
46262
46264
|
}
|
|
46263
46265
|
});
|
|
46264
|
-
const
|
|
46266
|
+
const vF = /* @__PURE__ */ ve(yF, [["__scopeId", "data-v-7452b79e"]]), bF = { class: "selector" }, SF = /* @__PURE__ */ fe({
|
|
46265
46267
|
__name: "Authentication",
|
|
46266
46268
|
props: {
|
|
46267
46269
|
parsedSpec: {}
|
|
@@ -46296,8 +46298,8 @@ const gF = /* @__PURE__ */ Se(mF, [["__scopeId", "data-v-7452b79e"]]), yF = { cl
|
|
|
46296
46298
|
actions: D(() => {
|
|
46297
46299
|
var a, l;
|
|
46298
46300
|
return [
|
|
46299
|
-
R("div",
|
|
46300
|
-
B(
|
|
46301
|
+
R("div", bF, [
|
|
46302
|
+
B(vF, {
|
|
46301
46303
|
value: (l = (a = o.parsedSpec) == null ? void 0 : a.components) == null ? void 0 : l.securitySchemes
|
|
46302
46304
|
}, null, 8, ["value"])
|
|
46303
46305
|
])
|
|
@@ -46316,7 +46318,7 @@ const gF = /* @__PURE__ */ Se(mF, [["__scopeId", "data-v-7452b79e"]]), yF = { cl
|
|
|
46316
46318
|
default: D(() => {
|
|
46317
46319
|
var a, l, c;
|
|
46318
46320
|
return [
|
|
46319
|
-
$(r).securitySchemeKey ? (P(), le(
|
|
46321
|
+
$(r).securitySchemeKey ? (P(), le(OF, {
|
|
46320
46322
|
key: 0,
|
|
46321
46323
|
value: (c = (l = (a = o.parsedSpec) == null ? void 0 : a.components) == null ? void 0 : l.securitySchemes) == null ? void 0 : c[$(r).securitySchemeKey]
|
|
46322
46324
|
}, null, 8, ["value"])) : de("", !0)
|
|
@@ -46329,7 +46331,7 @@ const gF = /* @__PURE__ */ Se(mF, [["__scopeId", "data-v-7452b79e"]]), yF = { cl
|
|
|
46329
46331
|
})) : de("", !0);
|
|
46330
46332
|
}
|
|
46331
46333
|
});
|
|
46332
|
-
const
|
|
46334
|
+
const $F = /* @__PURE__ */ ve(SF, [["__scopeId", "data-v-e7fcffa9"]]), Cm = /* @__PURE__ */ fe({
|
|
46333
46335
|
__name: "IntersectionObserver",
|
|
46334
46336
|
props: {
|
|
46335
46337
|
id: {},
|
|
@@ -46360,7 +46362,7 @@ const bF = /* @__PURE__ */ Se(vF, [["__scopeId", "data-v-e7fcffa9"]]), Cm = /* @
|
|
|
46360
46362
|
_: 3
|
|
46361
46363
|
}, 8, ["id"]));
|
|
46362
46364
|
}
|
|
46363
|
-
}),
|
|
46365
|
+
}), wF = /* @__PURE__ */ fe({
|
|
46364
46366
|
__name: "Section",
|
|
46365
46367
|
props: {
|
|
46366
46368
|
id: {},
|
|
@@ -46384,13 +46386,13 @@ const bF = /* @__PURE__ */ Se(vF, [["__scopeId", "data-v-e7fcffa9"]]), Cm = /* @
|
|
|
46384
46386
|
}, 8, ["id"]));
|
|
46385
46387
|
}
|
|
46386
46388
|
});
|
|
46387
|
-
const Lu = /* @__PURE__ */
|
|
46389
|
+
const Lu = /* @__PURE__ */ ve(wF, [["__scopeId", "data-v-d4cdec58"]]), PF = { class: "section-accordion-button-content" }, _F = {
|
|
46388
46390
|
key: 0,
|
|
46389
46391
|
class: "section-accordion-button-actions"
|
|
46390
|
-
},
|
|
46392
|
+
}, QF = {
|
|
46391
46393
|
key: 0,
|
|
46392
46394
|
class: "section-accordion-description"
|
|
46393
|
-
},
|
|
46395
|
+
}, xF = { class: "section-accordion-content-card" }, kF = /* @__PURE__ */ fe({
|
|
46394
46396
|
__name: "SectionAccordion",
|
|
46395
46397
|
props: {
|
|
46396
46398
|
id: {},
|
|
@@ -46414,10 +46416,10 @@ const Lu = /* @__PURE__ */ Se(SF, [["__scopeId", "data-v-d4cdec58"]]), $F = { cl
|
|
|
46414
46416
|
class: "section-accordion-button"
|
|
46415
46417
|
}, {
|
|
46416
46418
|
default: D(() => [
|
|
46417
|
-
R("div",
|
|
46419
|
+
R("div", PF, [
|
|
46418
46420
|
ge(n.$slots, "title", {}, void 0, !0)
|
|
46419
46421
|
]),
|
|
46420
|
-
n.$slots.actions ? (P(), V("div",
|
|
46422
|
+
n.$slots.actions ? (P(), V("div", _F, [
|
|
46421
46423
|
ge(n.$slots, "actions", {
|
|
46422
46424
|
active: $(r) || o
|
|
46423
46425
|
}, void 0, !0)
|
|
@@ -46431,10 +46433,10 @@ const Lu = /* @__PURE__ */ Se(SF, [["__scopeId", "data-v-d4cdec58"]]), $F = { cl
|
|
|
46431
46433
|
}, 1536),
|
|
46432
46434
|
B($(vp), { class: "section-accordion-content" }, {
|
|
46433
46435
|
default: D(() => [
|
|
46434
|
-
n.$slots.description ? (P(), V("div",
|
|
46436
|
+
n.$slots.description ? (P(), V("div", QF, [
|
|
46435
46437
|
ge(n.$slots, "description", {}, void 0, !0)
|
|
46436
46438
|
])) : de("", !0),
|
|
46437
|
-
R("div",
|
|
46439
|
+
R("div", xF, [
|
|
46438
46440
|
ge(n.$slots, "default", {}, void 0, !0)
|
|
46439
46441
|
])
|
|
46440
46442
|
]),
|
|
@@ -46448,31 +46450,31 @@ const Lu = /* @__PURE__ */ Se(SF, [["__scopeId", "data-v-d4cdec58"]]), $F = { cl
|
|
|
46448
46450
|
}, 8, ["id"]));
|
|
46449
46451
|
}
|
|
46450
46452
|
});
|
|
46451
|
-
const f_ = /* @__PURE__ */
|
|
46452
|
-
const
|
|
46453
|
-
function
|
|
46454
|
-
return P(), V("div",
|
|
46453
|
+
const f_ = /* @__PURE__ */ ve(kF, [["__scopeId", "data-v-41f20bfd"]]);
|
|
46454
|
+
const TF = {}, RF = { class: "section-column" };
|
|
46455
|
+
function CF(t, e) {
|
|
46456
|
+
return P(), V("div", RF, [
|
|
46455
46457
|
ge(t.$slots, "default", {}, void 0, !0)
|
|
46456
46458
|
]);
|
|
46457
46459
|
}
|
|
46458
|
-
const fs = /* @__PURE__ */
|
|
46459
|
-
const
|
|
46460
|
-
function
|
|
46461
|
-
return P(), V("div",
|
|
46460
|
+
const fs = /* @__PURE__ */ ve(TF, [["render", CF], ["__scopeId", "data-v-7e657da0"]]);
|
|
46461
|
+
const EF = {}, XF = { class: "section-columns" };
|
|
46462
|
+
function AF(t, e) {
|
|
46463
|
+
return P(), V("div", XF, [
|
|
46462
46464
|
ge(t.$slots, "default", {}, void 0, !0)
|
|
46463
46465
|
]);
|
|
46464
46466
|
}
|
|
46465
|
-
const Em = /* @__PURE__ */
|
|
46466
|
-
const
|
|
46467
|
-
function
|
|
46468
|
-
return P(), V("div",
|
|
46467
|
+
const Em = /* @__PURE__ */ ve(EF, [["render", AF], ["__scopeId", "data-v-0bd51848"]]);
|
|
46468
|
+
const qF = {}, UF = { class: "section-container" };
|
|
46469
|
+
function ZF(t, e) {
|
|
46470
|
+
return P(), V("div", UF, [
|
|
46469
46471
|
ge(t.$slots, "default", {}, void 0, !0)
|
|
46470
46472
|
]);
|
|
46471
46473
|
}
|
|
46472
|
-
const Xm = /* @__PURE__ */
|
|
46474
|
+
const Xm = /* @__PURE__ */ ve(qF, [["render", ZF], ["__scopeId", "data-v-1a017728"]]), jF = { class: "section-accordion-wrapper" }, IF = { class: "section-accordion-title" }, WF = /* @__PURE__ */ fe({
|
|
46473
46475
|
__name: "SectionContainerAccordion",
|
|
46474
46476
|
setup(t) {
|
|
46475
|
-
return (e, r) => (P(), V("div",
|
|
46477
|
+
return (e, r) => (P(), V("div", jF, [
|
|
46476
46478
|
B($(gp), {
|
|
46477
46479
|
as: "div",
|
|
46478
46480
|
class: "section-accordion",
|
|
@@ -46485,7 +46487,7 @@ const Xm = /* @__PURE__ */ Se(XF, [["render", qF], ["__scopeId", "data-v-1a01772
|
|
|
46485
46487
|
class: "section-accordion-chevron",
|
|
46486
46488
|
icon: n ? "ChevronDown" : "ChevronRight"
|
|
46487
46489
|
}, null, 8, ["icon"]),
|
|
46488
|
-
R("div",
|
|
46490
|
+
R("div", IF, [
|
|
46489
46491
|
ge(e.$slots, "title", {}, void 0, !0)
|
|
46490
46492
|
])
|
|
46491
46493
|
]),
|
|
@@ -46503,7 +46505,7 @@ const Xm = /* @__PURE__ */ Se(XF, [["render", qF], ["__scopeId", "data-v-1a01772
|
|
|
46503
46505
|
]));
|
|
46504
46506
|
}
|
|
46505
46507
|
});
|
|
46506
|
-
const h_ = /* @__PURE__ */
|
|
46508
|
+
const h_ = /* @__PURE__ */ ve(WF, [["__scopeId", "data-v-4d4ce24e"]]), VF = /* @__PURE__ */ fe({
|
|
46507
46509
|
__name: "LoadingSkeleton",
|
|
46508
46510
|
props: {
|
|
46509
46511
|
lines: { default: 1 }
|
|
@@ -46515,13 +46517,13 @@ const h_ = /* @__PURE__ */ Se(jF, [["__scopeId", "data-v-4d4ce24e"]]), IF = /* @
|
|
|
46515
46517
|
}, null, 2))), 128));
|
|
46516
46518
|
}
|
|
46517
46519
|
});
|
|
46518
|
-
const p_ = /* @__PURE__ */
|
|
46520
|
+
const p_ = /* @__PURE__ */ ve(VF, [["__scopeId", "data-v-99d52311"]]), YF = { class: "section-content" }, MF = /* @__PURE__ */ fe({
|
|
46519
46521
|
__name: "SectionContent",
|
|
46520
46522
|
props: {
|
|
46521
46523
|
loading: { type: Boolean, default: !1 }
|
|
46522
46524
|
},
|
|
46523
46525
|
setup(t) {
|
|
46524
|
-
return (e, r) => (P(), V("div",
|
|
46526
|
+
return (e, r) => (P(), V("div", YF, [
|
|
46525
46527
|
e.loading ? (P(), le(p_, {
|
|
46526
46528
|
key: 1,
|
|
46527
46529
|
lines: 8
|
|
@@ -46529,7 +46531,7 @@ const p_ = /* @__PURE__ */ Se(IF, [["__scopeId", "data-v-99d52311"]]), WF = { cl
|
|
|
46529
46531
|
]));
|
|
46530
46532
|
}
|
|
46531
46533
|
});
|
|
46532
|
-
const Bu = /* @__PURE__ */
|
|
46534
|
+
const Bu = /* @__PURE__ */ ve(MF, [["__scopeId", "data-v-bba63beb"]]), zF = /* @__PURE__ */ fe({
|
|
46533
46535
|
__name: "SectionHeader",
|
|
46534
46536
|
props: {
|
|
46535
46537
|
loading: { type: Boolean, default: !1 },
|
|
@@ -46548,7 +46550,7 @@ const Bu = /* @__PURE__ */ Se(VF, [["__scopeId", "data-v-bba63beb"]]), YF = /* @
|
|
|
46548
46550
|
}, 8, ["class"]));
|
|
46549
46551
|
}
|
|
46550
46552
|
});
|
|
46551
|
-
const Ts = /* @__PURE__ */
|
|
46553
|
+
const Ts = /* @__PURE__ */ ve(zF, [["__scopeId", "data-v-566623fe"]]), DF = ["innerHTML"], NF = /* @__PURE__ */ fe({
|
|
46552
46554
|
__name: "MarkdownRenderer",
|
|
46553
46555
|
props: {
|
|
46554
46556
|
value: {}
|
|
@@ -46574,10 +46576,10 @@ const Ts = /* @__PURE__ */ Se(YF, [["__scopeId", "data-v-566623fe"]]), MF = ["in
|
|
|
46574
46576
|
), (n, i) => (P(), V("div", {
|
|
46575
46577
|
class: "markdown",
|
|
46576
46578
|
innerHTML: r.value
|
|
46577
|
-
}, null, 8,
|
|
46579
|
+
}, null, 8, DF));
|
|
46578
46580
|
}
|
|
46579
46581
|
});
|
|
46580
|
-
const ei = /* @__PURE__ */
|
|
46582
|
+
const ei = /* @__PURE__ */ ve(NF, [["__scopeId", "data-v-abeaa595"]]), LF = /* @__PURE__ */ fe({
|
|
46581
46583
|
__name: "Description",
|
|
46582
46584
|
props: {
|
|
46583
46585
|
value: {}
|
|
@@ -46617,10 +46619,10 @@ const ei = /* @__PURE__ */ Se(zF, [["__scopeId", "data-v-abeaa595"]]), DF = /* @
|
|
|
46617
46619
|
}, null, 8, ["value"]))
|
|
46618
46620
|
]))), 128)) : de("", !0);
|
|
46619
46621
|
}
|
|
46620
|
-
}),
|
|
46622
|
+
}), BF = {
|
|
46621
46623
|
key: 0,
|
|
46622
46624
|
class: "download"
|
|
46623
|
-
},
|
|
46625
|
+
}, GF = { class: "download-cta" }, FF = ["download", "href"], HF = /* @__PURE__ */ fe({
|
|
46624
46626
|
__name: "DownloadSpec",
|
|
46625
46627
|
props: {
|
|
46626
46628
|
value: {}
|
|
@@ -46637,17 +46639,17 @@ const ei = /* @__PURE__ */ Se(zF, [["__scopeId", "data-v-abeaa595"]]), DF = /* @
|
|
|
46637
46639
|
function r(n) {
|
|
46638
46640
|
return B1(n) ? "spec.json" : "spec.yaml";
|
|
46639
46641
|
}
|
|
46640
|
-
return (n, i) => n.value ? (P(), V("div",
|
|
46641
|
-
R("div",
|
|
46642
|
+
return (n, i) => n.value ? (P(), V("div", BF, [
|
|
46643
|
+
R("div", GF, [
|
|
46642
46644
|
R("a", {
|
|
46643
46645
|
download: r(n.value),
|
|
46644
46646
|
href: e(n.value)
|
|
46645
|
-
}, " Download OpenAPI Spec ", 8,
|
|
46647
|
+
}, " Download OpenAPI Spec ", 8, FF)
|
|
46646
46648
|
])
|
|
46647
46649
|
])) : de("", !0);
|
|
46648
46650
|
}
|
|
46649
46651
|
});
|
|
46650
|
-
const
|
|
46652
|
+
const KF = /* @__PURE__ */ ve(HF, [["__scopeId", "data-v-751baa3a"]]), JF = { class: "badges" }, eH = { class: "sticky-cards" }, tH = /* @__PURE__ */ fe({
|
|
46651
46653
|
__name: "Introduction",
|
|
46652
46654
|
props: {
|
|
46653
46655
|
info: {},
|
|
@@ -46668,7 +46670,7 @@ const FF = /* @__PURE__ */ Se(GF, [["__scopeId", "data-v-751baa3a"]]), HF = { cl
|
|
|
46668
46670
|
default: D(() => [
|
|
46669
46671
|
B($(fs), null, {
|
|
46670
46672
|
default: D(() => [
|
|
46671
|
-
R("div",
|
|
46673
|
+
R("div", JF, [
|
|
46672
46674
|
n.info.version ? (P(), le($(Aa), { key: 0 }, {
|
|
46673
46675
|
default: D(() => [
|
|
46674
46676
|
ye(pe(n.info.version), 1)
|
|
@@ -46692,8 +46694,8 @@ const FF = /* @__PURE__ */ Se(GF, [["__scopeId", "data-v-751baa3a"]]), HF = { cl
|
|
|
46692
46694
|
]),
|
|
46693
46695
|
_: 1
|
|
46694
46696
|
}, 8, ["loading"]),
|
|
46695
|
-
B(
|
|
46696
|
-
B(
|
|
46697
|
+
B(KF, { value: n.rawSpec }, null, 8, ["value"]),
|
|
46698
|
+
B(LF, {
|
|
46697
46699
|
value: n.info.description
|
|
46698
46700
|
}, null, 8, ["value"])
|
|
46699
46701
|
]),
|
|
@@ -46701,7 +46703,7 @@ const FF = /* @__PURE__ */ Se(GF, [["__scopeId", "data-v-751baa3a"]]), HF = { cl
|
|
|
46701
46703
|
}),
|
|
46702
46704
|
n.$slots.aside ? (P(), le($(fs), { key: 0 }, {
|
|
46703
46705
|
default: D(() => [
|
|
46704
|
-
R("div",
|
|
46706
|
+
R("div", eH, [
|
|
46705
46707
|
ge(n.$slots, "aside", {}, void 0, !0)
|
|
46706
46708
|
])
|
|
46707
46709
|
]),
|
|
@@ -46722,13 +46724,13 @@ const FF = /* @__PURE__ */ Se(GF, [["__scopeId", "data-v-751baa3a"]]), HF = { cl
|
|
|
46722
46724
|
}));
|
|
46723
46725
|
}
|
|
46724
46726
|
});
|
|
46725
|
-
const
|
|
46726
|
-
function
|
|
46727
|
+
const rH = /* @__PURE__ */ ve(tH, [["__scopeId", "data-v-13e24efb"]]);
|
|
46728
|
+
function nH(t) {
|
|
46727
46729
|
return function(r, n) {
|
|
46728
46730
|
t[r] = n;
|
|
46729
46731
|
};
|
|
46730
46732
|
}
|
|
46731
|
-
function
|
|
46733
|
+
function iH(t) {
|
|
46732
46734
|
return function(r) {
|
|
46733
46735
|
typeof t[r] == "boolean" && (t[r] = !t[r]);
|
|
46734
46736
|
};
|
|
@@ -46741,39 +46743,39 @@ const O_ = () => ({
|
|
|
46741
46743
|
clientKey: "curl"
|
|
46742
46744
|
}
|
|
46743
46745
|
}), lc = yr(O_());
|
|
46744
|
-
function
|
|
46746
|
+
function oH() {
|
|
46745
46747
|
C9(lc, O_());
|
|
46746
46748
|
}
|
|
46747
|
-
function
|
|
46749
|
+
function sH(t) {
|
|
46748
46750
|
var e;
|
|
46749
46751
|
return ((e = Su().find((r) => r.key === t.targetKey)) == null ? void 0 : e.title) ?? t.targetKey;
|
|
46750
46752
|
}
|
|
46751
|
-
function
|
|
46753
|
+
function aH(t) {
|
|
46752
46754
|
var e, r;
|
|
46753
46755
|
return ((r = (e = Su().find((n) => n.key === t.targetKey)) == null ? void 0 : e.clients.find((n) => n.key === t.clientKey)) == null ? void 0 : r.title) ?? t.clientKey;
|
|
46754
46756
|
}
|
|
46755
46757
|
const Am = () => ({
|
|
46756
46758
|
state: Op(lc),
|
|
46757
|
-
resetState:
|
|
46758
|
-
setItem:
|
|
46759
|
-
toggleItem:
|
|
46760
|
-
getClientTitle:
|
|
46761
|
-
getTargetTitle:
|
|
46762
|
-
}), m_ = (t) => (
|
|
46759
|
+
resetState: oH,
|
|
46760
|
+
setItem: nH(lc),
|
|
46761
|
+
toggleItem: iH(lc),
|
|
46762
|
+
getClientTitle: aH,
|
|
46763
|
+
getTargetTitle: sH
|
|
46764
|
+
}), m_ = (t) => (Gr("data-v-8d31634f"), t = t(), Fr(), t), lH = ["onClick"], cH = ["value"], uH = ["label"], dH = ["value"], fH = { class: "code-languages-background code-languages-icon__more" }, hH = {
|
|
46763
46765
|
key: 1,
|
|
46764
46766
|
class: "code-languages-icon",
|
|
46765
46767
|
height: "50",
|
|
46766
46768
|
viewBox: "0 0 50 50",
|
|
46767
46769
|
width: "50",
|
|
46768
46770
|
xmlns: "http://www.w3.org/2000/svg"
|
|
46769
|
-
},
|
|
46771
|
+
}, pH = /* @__PURE__ */ m_(() => /* @__PURE__ */ R("g", {
|
|
46770
46772
|
fill: "currentColor",
|
|
46771
46773
|
"fill-rule": "nonzero"
|
|
46772
46774
|
}, [
|
|
46773
46775
|
/* @__PURE__ */ R("path", { d: "M10.71 25.3a3.87 3.87 0 1 0 7.74 0 3.87 3.87 0 0 0-7.74 0M21.13 25.3a3.87 3.87 0 1 0 7.74 0 3.87 3.87 0 0 0-7.74 0M31.55 25.3a3.87 3.87 0 1 0 7.74 0 3.87 3.87 0 0 0-7.74 0" })
|
|
46774
|
-
], -1)),
|
|
46775
|
-
|
|
46776
|
-
],
|
|
46776
|
+
], -1)), OH = [
|
|
46777
|
+
pH
|
|
46778
|
+
], mH = /* @__PURE__ */ m_(() => /* @__PURE__ */ R("span", null, "More", -1)), gH = /* @__PURE__ */ fe({
|
|
46777
46779
|
__name: "ClientSelector",
|
|
46778
46780
|
setup(t) {
|
|
46779
46781
|
const { state: e, setItem: r, getClientTitle: n, getTargetTitle: i } = Am(), o = Xe(!1), s = Xe();
|
|
@@ -46858,7 +46860,7 @@ const Am = () => ({
|
|
|
46858
46860
|
}, null, 8, ["src"])
|
|
46859
46861
|
], 2),
|
|
46860
46862
|
R("span", null, pe($(i)(h)), 1)
|
|
46861
|
-
], 10,
|
|
46863
|
+
], 10, lH))), 128)),
|
|
46862
46864
|
R("div", {
|
|
46863
46865
|
class: _e(["code-languages code-languages__select", {
|
|
46864
46866
|
"code-languages__active": $(e).selectedClient && !u($(e).selectedClient)
|
|
@@ -46885,10 +46887,10 @@ const Am = () => ({
|
|
|
46885
46887
|
}, pe($(n)({
|
|
46886
46888
|
targetKey: h.key,
|
|
46887
46889
|
clientKey: p.key
|
|
46888
|
-
})), 9,
|
|
46889
|
-
], 8,
|
|
46890
|
-
], 40,
|
|
46891
|
-
R("div",
|
|
46890
|
+
})), 9, dH))), 128))
|
|
46891
|
+
], 8, uH))), 128))
|
|
46892
|
+
], 40, cH),
|
|
46893
|
+
R("div", fH, [
|
|
46892
46894
|
$(e).selectedClient && !u($(e).selectedClient) ? (P(), V("div", {
|
|
46893
46895
|
key: 0,
|
|
46894
46896
|
class: _e(["code-languages-background", `code-languages-icon__${$(e).selectedClient.targetKey}`])
|
|
@@ -46897,14 +46899,14 @@ const Am = () => ({
|
|
|
46897
46899
|
class: "code-languages-icon",
|
|
46898
46900
|
src: l($(e).selectedClient.targetKey)
|
|
46899
46901
|
}, null, 8, ["src"])
|
|
46900
|
-
], 2)) : (P(), V("svg",
|
|
46902
|
+
], 2)) : (P(), V("svg", hH, OH))
|
|
46901
46903
|
]),
|
|
46902
|
-
|
|
46904
|
+
mH
|
|
46903
46905
|
], 2)
|
|
46904
46906
|
], 512));
|
|
46905
46907
|
}
|
|
46906
46908
|
});
|
|
46907
|
-
const
|
|
46909
|
+
const yH = /* @__PURE__ */ ve(gH, [["__scopeId", "data-v-8d31634f"]]), vH = /* @__PURE__ */ fe({
|
|
46908
46910
|
__name: "ClientList",
|
|
46909
46911
|
setup(t) {
|
|
46910
46912
|
const { state: e, getClientTitle: r, getTargetTitle: n } = Am();
|
|
@@ -46924,7 +46926,7 @@ const mH = /* @__PURE__ */ Se(OH, [["__scopeId", "data-v-8d31634f"]]), gH = /* @
|
|
|
46924
46926
|
transparent: ""
|
|
46925
46927
|
}, {
|
|
46926
46928
|
default: D(() => [
|
|
46927
|
-
B(
|
|
46929
|
+
B(yH)
|
|
46928
46930
|
]),
|
|
46929
46931
|
_: 1
|
|
46930
46932
|
}),
|
|
@@ -46942,13 +46944,13 @@ const mH = /* @__PURE__ */ Se(OH, [["__scopeId", "data-v-8d31634f"]]), gH = /* @
|
|
|
46942
46944
|
}));
|
|
46943
46945
|
}
|
|
46944
46946
|
});
|
|
46945
|
-
const
|
|
46947
|
+
const bH = /* @__PURE__ */ ve(vH, [["__scopeId", "data-v-98185d68"]]), { addToast: SH } = u_(), tl = () => ({
|
|
46946
46948
|
copyToClipboard: (e) => {
|
|
46947
46949
|
navigator.clipboard.writeText(e).then(() => {
|
|
46948
|
-
|
|
46950
|
+
SH({ title: "Copied to the clipboard" }, { timeout: 2e3 });
|
|
46949
46951
|
});
|
|
46950
46952
|
}
|
|
46951
|
-
}),
|
|
46953
|
+
}), $H = ["title", "innerHTML"], wH = /* @__PURE__ */ fe({
|
|
46952
46954
|
__name: "ServerItem",
|
|
46953
46955
|
props: {
|
|
46954
46956
|
value: {},
|
|
@@ -46972,10 +46974,10 @@ const yH = /* @__PURE__ */ Se(gH, [["__scopeId", "data-v-98185d68"]]), { addToas
|
|
|
46972
46974
|
title: i.value.description,
|
|
46973
46975
|
onClick: o[0] || (o[0] = (s) => $(r)(i.value.url)),
|
|
46974
46976
|
innerHTML: n.value
|
|
46975
|
-
}, null, 8,
|
|
46977
|
+
}, null, 8, $H)) : de("", !0);
|
|
46976
46978
|
}
|
|
46977
46979
|
});
|
|
46978
|
-
const
|
|
46980
|
+
const PH = /* @__PURE__ */ ve(wH, [["__scopeId", "data-v-5ca0a51c"]]), _H = { key: 0 }, QH = ["for"], xH = ["id", "value", "onInput"], kH = ["value"], TH = { class: "input-value" }, RH = ["id", "value", "onInput"], CH = /* @__PURE__ */ fe({
|
|
46979
46981
|
__name: "ServerVariables",
|
|
46980
46982
|
props: {
|
|
46981
46983
|
value: {}
|
|
@@ -46990,7 +46992,7 @@ const $H = /* @__PURE__ */ Se(SH, [["__scopeId", "data-v-5ca0a51c"]]), wH = { ke
|
|
|
46990
46992
|
const s = e.variables.findIndex((a) => a.name === o);
|
|
46991
46993
|
return e.variables[s].value ?? "";
|
|
46992
46994
|
};
|
|
46993
|
-
return (o, s) => o.value ? (P(), V("div",
|
|
46995
|
+
return (o, s) => o.value ? (P(), V("div", _H, [
|
|
46994
46996
|
(P(!0), V(me, null, Ye(o.value, (a) => (P(), V("div", {
|
|
46995
46997
|
key: a.name,
|
|
46996
46998
|
class: "input"
|
|
@@ -46999,7 +47001,7 @@ const $H = /* @__PURE__ */ Se(SH, [["__scopeId", "data-v-5ca0a51c"]]), wH = { ke
|
|
|
46999
47001
|
for: `variable-${a.name}`
|
|
47000
47002
|
}, [
|
|
47001
47003
|
R("code", null, pe(a.name), 1)
|
|
47002
|
-
], 8,
|
|
47004
|
+
], 8, QH),
|
|
47003
47005
|
a.enum ? (P(), V(me, { key: 0 }, [
|
|
47004
47006
|
R("select", {
|
|
47005
47007
|
id: `variable-${a.name}`,
|
|
@@ -47009,9 +47011,9 @@ const $H = /* @__PURE__ */ Se(SH, [["__scopeId", "data-v-5ca0a51c"]]), wH = { ke
|
|
|
47009
47011
|
(P(!0), V(me, null, Ye(a.enum, (l) => (P(), V("option", {
|
|
47010
47012
|
key: l,
|
|
47011
47013
|
value: l
|
|
47012
|
-
}, pe(l), 9,
|
|
47013
|
-
], 40,
|
|
47014
|
-
R("div",
|
|
47014
|
+
}, pe(l), 9, kH))), 128))
|
|
47015
|
+
], 40, xH),
|
|
47016
|
+
R("div", TH, pe(a.default), 1)
|
|
47015
47017
|
], 64)) : (P(), V("input", {
|
|
47016
47018
|
key: 1,
|
|
47017
47019
|
id: `variable-${a.name}`,
|
|
@@ -47021,12 +47023,12 @@ const $H = /* @__PURE__ */ Se(SH, [["__scopeId", "data-v-5ca0a51c"]]), wH = { ke
|
|
|
47021
47023
|
type: "text",
|
|
47022
47024
|
value: i(a.name),
|
|
47023
47025
|
onInput: (l) => n(a.name, l)
|
|
47024
|
-
}, null, 40,
|
|
47026
|
+
}, null, 40, RH))
|
|
47025
47027
|
]))), 128))
|
|
47026
47028
|
])) : de("", !0);
|
|
47027
47029
|
}
|
|
47028
47030
|
});
|
|
47029
|
-
const
|
|
47031
|
+
const EH = /* @__PURE__ */ ve(CH, [["__scopeId", "data-v-dd37047f"]]), XH = { class: "scalar-card-serverlist-container" }, AH = { class: "server-item" }, qH = { class: "server-selector" }, UH = ["value"], ZH = ["value"], jH = { class: "description" }, IH = /* @__PURE__ */ fe({
|
|
47030
47032
|
__name: "ServerList",
|
|
47031
47033
|
props: {
|
|
47032
47034
|
value: {}
|
|
@@ -47081,9 +47083,9 @@ const RH = /* @__PURE__ */ Se(TH, [["__scopeId", "data-v-dd37047f"]]), CH = { cl
|
|
|
47081
47083
|
}),
|
|
47082
47084
|
B($(Jn), { class: "scalar-card-serverlist" }, {
|
|
47083
47085
|
default: D(() => [
|
|
47084
|
-
R("div",
|
|
47085
|
-
R("div",
|
|
47086
|
-
R("div",
|
|
47086
|
+
R("div", XH, [
|
|
47087
|
+
R("div", AH, [
|
|
47088
|
+
R("div", qH, [
|
|
47087
47089
|
o.value.length > 1 ? (P(), V("select", {
|
|
47088
47090
|
key: 0,
|
|
47089
47091
|
value: i.value,
|
|
@@ -47095,9 +47097,9 @@ const RH = /* @__PURE__ */ Se(TH, [["__scopeId", "data-v-dd37047f"]]), CH = { cl
|
|
|
47095
47097
|
(P(!0), V(me, null, Ye(o.value, (a, l) => (P(), V("option", {
|
|
47096
47098
|
key: l,
|
|
47097
47099
|
value: l
|
|
47098
|
-
}, pe(a.url), 9,
|
|
47099
|
-
], 40,
|
|
47100
|
-
B(
|
|
47100
|
+
}, pe(a.url), 9, ZH))), 128))
|
|
47101
|
+
], 40, UH)) : de("", !0),
|
|
47102
|
+
B(PH, {
|
|
47101
47103
|
value: o.value[i.value],
|
|
47102
47104
|
variables: $(r).variables
|
|
47103
47105
|
}, null, 8, ["value", "variables"]),
|
|
@@ -47107,7 +47109,7 @@ const RH = /* @__PURE__ */ Se(TH, [["__scopeId", "data-v-dd37047f"]]), CH = { cl
|
|
|
47107
47109
|
})) : de("", !0)
|
|
47108
47110
|
])
|
|
47109
47111
|
]),
|
|
47110
|
-
B(
|
|
47112
|
+
B(EH, {
|
|
47111
47113
|
value: $(r).variables
|
|
47112
47114
|
}, null, 8, ["value"])
|
|
47113
47115
|
])
|
|
@@ -47119,7 +47121,7 @@ const RH = /* @__PURE__ */ Se(TH, [["__scopeId", "data-v-dd37047f"]]), CH = { cl
|
|
|
47119
47121
|
muted: ""
|
|
47120
47122
|
}, {
|
|
47121
47123
|
default: D(() => [
|
|
47122
|
-
R("div",
|
|
47124
|
+
R("div", jH, [
|
|
47123
47125
|
B(ei, {
|
|
47124
47126
|
value: $(r).description
|
|
47125
47127
|
}, null, 8, ["value"])
|
|
@@ -47132,21 +47134,21 @@ const RH = /* @__PURE__ */ Se(TH, [["__scopeId", "data-v-dd37047f"]]), CH = { cl
|
|
|
47132
47134
|
})) : de("", !0);
|
|
47133
47135
|
}
|
|
47134
47136
|
});
|
|
47135
|
-
const
|
|
47137
|
+
const WH = /* @__PURE__ */ ve(IH, [["__scopeId", "data-v-ddd13e53"]]), VH = {
|
|
47136
47138
|
key: 0,
|
|
47137
47139
|
class: "screenreader-only"
|
|
47138
|
-
},
|
|
47140
|
+
}, YH = /* @__PURE__ */ fe({
|
|
47139
47141
|
__name: "ScreenReader",
|
|
47140
47142
|
props: {
|
|
47141
47143
|
if: { type: Boolean, default: !0 }
|
|
47142
47144
|
},
|
|
47143
47145
|
setup(t) {
|
|
47144
|
-
return (e, r) => e.$props.if ? (P(), V("span",
|
|
47146
|
+
return (e, r) => e.$props.if ? (P(), V("span", VH, [
|
|
47145
47147
|
ge(e.$slots, "default", {}, void 0, !0)
|
|
47146
47148
|
])) : ge(e.$slots, "default", { key: 1 }, void 0, !0);
|
|
47147
47149
|
}
|
|
47148
47150
|
});
|
|
47149
|
-
const g_ = /* @__PURE__ */
|
|
47151
|
+
const g_ = /* @__PURE__ */ ve(YH, [["__scopeId", "data-v-681ebf2c"]]), MH = (t) => (Gr("data-v-932ee9f4"), t = t(), Fr(), t), zH = { class: "label" }, DH = { class: "anchor" }, NH = /* @__PURE__ */ MH(() => /* @__PURE__ */ R("span", null, "", -1)), LH = /* @__PURE__ */ fe({
|
|
47150
47152
|
__name: "Anchor",
|
|
47151
47153
|
props: {
|
|
47152
47154
|
id: {}
|
|
@@ -47156,10 +47158,10 @@ const g_ = /* @__PURE__ */ Se(WH, [["__scopeId", "data-v-681ebf2c"]]), VH = (t)
|
|
|
47156
47158
|
const i = new URL(window.location.href);
|
|
47157
47159
|
return i.hash = n, i.toString();
|
|
47158
47160
|
};
|
|
47159
|
-
return (n, i) => (P(), V("span",
|
|
47161
|
+
return (n, i) => (P(), V("span", zH, [
|
|
47160
47162
|
ge(n.$slots, "default", {}, void 0, !0),
|
|
47161
|
-
R("span",
|
|
47162
|
-
|
|
47163
|
+
R("span", DH, [
|
|
47164
|
+
NH,
|
|
47163
47165
|
R("button", {
|
|
47164
47166
|
class: "anchor-copy",
|
|
47165
47167
|
type: "button",
|
|
@@ -47179,7 +47181,7 @@ const g_ = /* @__PURE__ */ Se(WH, [["__scopeId", "data-v-681ebf2c"]]), VH = (t)
|
|
|
47179
47181
|
]));
|
|
47180
47182
|
}
|
|
47181
47183
|
});
|
|
47182
|
-
const Rs = /* @__PURE__ */
|
|
47184
|
+
const Rs = /* @__PURE__ */ ve(LH, [["__scopeId", "data-v-932ee9f4"]]), BH = { class: "schema-type" }, GH = ["title"], FH = /* @__PURE__ */ fe({
|
|
47183
47185
|
__name: "SchemaHeading",
|
|
47184
47186
|
props: {
|
|
47185
47187
|
value: {},
|
|
@@ -47188,7 +47190,7 @@ const Rs = /* @__PURE__ */ Se(DH, [["__scopeId", "data-v-932ee9f4"]]), NH = { cl
|
|
|
47188
47190
|
setup(t) {
|
|
47189
47191
|
return (e, r) => {
|
|
47190
47192
|
var n, i, o, s, a, l;
|
|
47191
|
-
return P(), V("span",
|
|
47193
|
+
return P(), V("span", BH, [
|
|
47192
47194
|
R("em", {
|
|
47193
47195
|
title: e.value.type
|
|
47194
47196
|
}, [
|
|
@@ -47198,7 +47200,7 @@ const Rs = /* @__PURE__ */ Se(DH, [["__scopeId", "data-v-932ee9f4"]]), NH = { cl
|
|
|
47198
47200
|
e.value.type === "array" ? (P(), V(me, { key: 1 }, [
|
|
47199
47201
|
ye(" [] ")
|
|
47200
47202
|
], 64)) : de("", !0)
|
|
47201
|
-
], 8,
|
|
47203
|
+
], 8, GH),
|
|
47202
47204
|
(i = (n = e.value) == null ? void 0 : n.xml) != null && i.name && ((s = (o = e.value) == null ? void 0 : o.xml) == null ? void 0 : s.name) !== "##default" ? (P(), V(me, { key: 0 }, [
|
|
47203
47205
|
ye(" <" + pe((l = (a = e.value) == null ? void 0 : a.xml) == null ? void 0 : l.name) + " /> ", 1)
|
|
47204
47206
|
], 64)) : e.name ? (P(), V(me, { key: 1 }, [
|
|
@@ -47210,49 +47212,49 @@ const Rs = /* @__PURE__ */ Se(DH, [["__scopeId", "data-v-932ee9f4"]]), NH = { cl
|
|
|
47210
47212
|
};
|
|
47211
47213
|
}
|
|
47212
47214
|
});
|
|
47213
|
-
const y_ = /* @__PURE__ */
|
|
47215
|
+
const y_ = /* @__PURE__ */ ve(FH, [["__scopeId", "data-v-341a8667"]]), HH = { class: "property-information" }, KH = {
|
|
47214
47216
|
key: 0,
|
|
47215
47217
|
class: "property-name"
|
|
47216
|
-
},
|
|
47218
|
+
}, JH = {
|
|
47217
47219
|
key: 1,
|
|
47218
47220
|
class: "required"
|
|
47219
|
-
},
|
|
47221
|
+
}, eK = {
|
|
47220
47222
|
key: 2,
|
|
47221
47223
|
class: "property-type"
|
|
47222
|
-
},
|
|
47224
|
+
}, tK = {
|
|
47223
47225
|
key: 3,
|
|
47224
47226
|
class: "property-example"
|
|
47225
|
-
},
|
|
47227
|
+
}, rK = { class: "property-example-value" }, nK = {
|
|
47226
47228
|
key: 0,
|
|
47227
47229
|
class: "property-rule"
|
|
47228
|
-
},
|
|
47230
|
+
}, iK = {
|
|
47229
47231
|
key: 4,
|
|
47230
47232
|
class: "property-read-only"
|
|
47231
|
-
},
|
|
47233
|
+
}, oK = {
|
|
47232
47234
|
key: 5,
|
|
47233
47235
|
class: "property-nullable"
|
|
47234
|
-
},
|
|
47236
|
+
}, sK = {
|
|
47235
47237
|
key: 0,
|
|
47236
47238
|
class: "property-description"
|
|
47237
|
-
},
|
|
47239
|
+
}, aK = {
|
|
47238
47240
|
key: 1,
|
|
47239
47241
|
class: "property-description"
|
|
47240
|
-
},
|
|
47242
|
+
}, lK = {
|
|
47241
47243
|
key: 2,
|
|
47242
47244
|
class: "property-enum"
|
|
47243
|
-
},
|
|
47245
|
+
}, cK = { class: "property-enum-values" }, uK = {
|
|
47244
47246
|
key: 3,
|
|
47245
47247
|
class: "children"
|
|
47246
|
-
},
|
|
47248
|
+
}, dK = {
|
|
47247
47249
|
key: 0,
|
|
47248
47250
|
class: "children"
|
|
47249
|
-
},
|
|
47251
|
+
}, fK = {
|
|
47250
47252
|
key: 0,
|
|
47251
47253
|
class: "rule"
|
|
47252
|
-
},
|
|
47254
|
+
}, hK = {
|
|
47253
47255
|
key: 1,
|
|
47254
47256
|
class: "rule"
|
|
47255
|
-
},
|
|
47257
|
+
}, pK = /* @__PURE__ */ fe({
|
|
47256
47258
|
__name: "SchemaProperty",
|
|
47257
47259
|
props: {
|
|
47258
47260
|
value: {},
|
|
@@ -47289,10 +47291,10 @@ const y_ = /* @__PURE__ */ Se(BH, [["__scopeId", "data-v-341a8667"]]), GH = { cl
|
|
|
47289
47291
|
return P(), V("div", {
|
|
47290
47292
|
class: _e(["property", `${i.compact ? "property--compact" : ""} property--level-${i.level}`])
|
|
47291
47293
|
}, [
|
|
47292
|
-
R("div",
|
|
47293
|
-
i.name ? (P(), V("div",
|
|
47294
|
-
i.required ? (P(), V("div",
|
|
47295
|
-
(s = i.value) != null && s.type ? (P(), V("div",
|
|
47294
|
+
R("div", HH, [
|
|
47295
|
+
i.name ? (P(), V("div", KH, pe(i.name), 1)) : de("", !0),
|
|
47296
|
+
i.required ? (P(), V("div", JH, " required ")) : de("", !0),
|
|
47297
|
+
(s = i.value) != null && s.type ? (P(), V("div", eK, [
|
|
47296
47298
|
i.value.type !== "object" ? (P(), V(me, { key: 0 }, [
|
|
47297
47299
|
(a = i.value) != null && a.items && !["object"].includes(i.value.items.type) ? (P(), V(me, { key: 0 }, [
|
|
47298
47300
|
ye(pe(i.value.type) + " " + pe(i.value.items.type) + "[] ", 1)
|
|
@@ -47313,13 +47315,13 @@ const y_ = /* @__PURE__ */ Se(BH, [["__scopeId", "data-v-341a8667"]]), GH = { cl
|
|
|
47313
47315
|
ye(" · enum ")
|
|
47314
47316
|
], 64)) : de("", !0)
|
|
47315
47317
|
])) : de("", !0),
|
|
47316
|
-
((l = i.value) == null ? void 0 : l.example) !== void 0 ? (P(), V("div",
|
|
47317
|
-
R("code",
|
|
47318
|
+
((l = i.value) == null ? void 0 : l.example) !== void 0 ? (P(), V("div", tK, [
|
|
47319
|
+
R("code", rK, " example: " + pe(i.value.example), 1)
|
|
47318
47320
|
])) : de("", !0),
|
|
47319
47321
|
(P(), V(me, null, Ye(n, (v) => {
|
|
47320
47322
|
var g, O, b;
|
|
47321
47323
|
return P(), V(me, { key: v }, [
|
|
47322
|
-
(g = i.value) != null && g[v] || (b = (O = i.value) == null ? void 0 : O.items) != null && b[v] ? (P(), V("div",
|
|
47324
|
+
(g = i.value) != null && g[v] || (b = (O = i.value) == null ? void 0 : O.items) != null && b[v] ? (P(), V("div", nK, [
|
|
47323
47325
|
B($(Aa), null, {
|
|
47324
47326
|
default: D(() => [
|
|
47325
47327
|
ye(pe(v), 1)
|
|
@@ -47329,19 +47331,19 @@ const y_ = /* @__PURE__ */ Se(BH, [["__scopeId", "data-v-341a8667"]]), GH = { cl
|
|
|
47329
47331
|
])) : de("", !0)
|
|
47330
47332
|
], 64);
|
|
47331
47333
|
}), 64)),
|
|
47332
|
-
(c = i.value) != null && c.readOnly ? (P(), V("div",
|
|
47333
|
-
(u = i.value) != null && u.readOnly ? (P(), V("div",
|
|
47334
|
+
(c = i.value) != null && c.readOnly ? (P(), V("div", iK, " read-only ")) : de("", !0),
|
|
47335
|
+
(u = i.value) != null && u.readOnly ? (P(), V("div", oK, " nullable ")) : de("", !0)
|
|
47334
47336
|
]),
|
|
47335
|
-
(d = i.value) != null && d.description ? (P(), V("div",
|
|
47336
|
-
(f = i.value) != null && f.enum ? (P(), V("div",
|
|
47337
|
-
R("ul",
|
|
47337
|
+
(d = i.value) != null && d.description ? (P(), V("div", sK, pe(i.value.description), 1)) : r(i.value) ? (P(), V("div", aK, pe(r(i.value)), 1)) : de("", !0),
|
|
47338
|
+
(f = i.value) != null && f.enum ? (P(), V("div", lK, [
|
|
47339
|
+
R("ul", cK, [
|
|
47338
47340
|
(P(!0), V(me, null, Ye(i.value.enum, (v) => (P(), V("li", {
|
|
47339
47341
|
key: v,
|
|
47340
47342
|
class: "property-enum-value"
|
|
47341
47343
|
}, pe(v), 1))), 128))
|
|
47342
47344
|
])
|
|
47343
47345
|
])) : de("", !0),
|
|
47344
|
-
(h = i.value) != null && h.properties ? (P(), V("div",
|
|
47346
|
+
(h = i.value) != null && h.properties ? (P(), V("div", uK, [
|
|
47345
47347
|
B(Ki, {
|
|
47346
47348
|
compact: i.compact,
|
|
47347
47349
|
level: i.level + 1,
|
|
@@ -47350,7 +47352,7 @@ const y_ = /* @__PURE__ */ Se(BH, [["__scopeId", "data-v-341a8667"]]), GH = { cl
|
|
|
47350
47352
|
}, null, 8, ["compact", "level", "toggleVisibility", "value"])
|
|
47351
47353
|
])) : de("", !0),
|
|
47352
47354
|
(p = i.value) != null && p.items ? (P(), V(me, { key: 4 }, [
|
|
47353
|
-
["object"].includes(i.value.items.type) ? (P(), V("div",
|
|
47355
|
+
["object"].includes(i.value.items.type) ? (P(), V("div", dK, [
|
|
47354
47356
|
B(Ki, {
|
|
47355
47357
|
compact: i.compact,
|
|
47356
47358
|
level: i.level + 1,
|
|
@@ -47362,7 +47364,7 @@ const y_ = /* @__PURE__ */ Se(BH, [["__scopeId", "data-v-341a8667"]]), GH = { cl
|
|
|
47362
47364
|
(P(), V(me, null, Ye(n, (v) => {
|
|
47363
47365
|
var g, O, b;
|
|
47364
47366
|
return P(), V(me, { key: v }, [
|
|
47365
|
-
(g = i.value) != null && g[v] ? (P(), V("div",
|
|
47367
|
+
(g = i.value) != null && g[v] ? (P(), V("div", fK, [
|
|
47366
47368
|
(P(!0), V(me, null, Ye(i.value[v], (w, Q) => (P(), le(Ki, {
|
|
47367
47369
|
key: Q,
|
|
47368
47370
|
compact: i.compact,
|
|
@@ -47372,7 +47374,7 @@ const y_ = /* @__PURE__ */ Se(BH, [["__scopeId", "data-v-341a8667"]]), GH = { cl
|
|
|
47372
47374
|
value: w
|
|
47373
47375
|
}, null, 8, ["compact", "level", "toggleVisibility", "value"]))), 128))
|
|
47374
47376
|
])) : de("", !0),
|
|
47375
|
-
(b = (O = i.value) == null ? void 0 : O.items) != null && b[v] && i.level < 3 ? (P(), V("div",
|
|
47377
|
+
(b = (O = i.value) == null ? void 0 : O.items) != null && b[v] && i.level < 3 ? (P(), V("div", hK, [
|
|
47376
47378
|
(P(!0), V(me, null, Ye(i.value.items[v], (w, Q) => (P(), le(Ki, {
|
|
47377
47379
|
key: Q,
|
|
47378
47380
|
compact: i.compact,
|
|
@@ -47387,7 +47389,7 @@ const y_ = /* @__PURE__ */ Se(BH, [["__scopeId", "data-v-341a8667"]]), GH = { cl
|
|
|
47387
47389
|
};
|
|
47388
47390
|
}
|
|
47389
47391
|
});
|
|
47390
|
-
const Hc = /* @__PURE__ */
|
|
47392
|
+
const Hc = /* @__PURE__ */ ve(pK, [["__scopeId", "data-v-5d39f61d"]]), OK = (t) => (Gr("data-v-5c81b960"), t = t(), Fr(), t), mK = /* @__PURE__ */ OK(() => /* @__PURE__ */ R("svg", {
|
|
47391
47393
|
fill: "currentColor",
|
|
47392
47394
|
height: "14",
|
|
47393
47395
|
viewBox: "0 0 14 14",
|
|
@@ -47398,10 +47400,10 @@ const Hc = /* @__PURE__ */ Se(fK, [["__scopeId", "data-v-5d39f61d"]]), hK = (t)
|
|
|
47398
47400
|
"fill-rule": "nonzero",
|
|
47399
47401
|
points: "14 8 8 8 8 14 6 14 6 8 0 8 0 6 6 6 6 0 8 0 8 6 14 6"
|
|
47400
47402
|
})
|
|
47401
|
-
], -1)),
|
|
47403
|
+
], -1)), gK = {
|
|
47402
47404
|
key: 0,
|
|
47403
47405
|
class: "schema-card-title"
|
|
47404
|
-
},
|
|
47406
|
+
}, yK = /* @__PURE__ */ fe({
|
|
47405
47407
|
__name: "Schema",
|
|
47406
47408
|
props: {
|
|
47407
47409
|
value: {},
|
|
@@ -47427,7 +47429,7 @@ const Hc = /* @__PURE__ */ Se(fK, [["__scopeId", "data-v-5d39f61d"]]), hK = (t)
|
|
|
47427
47429
|
type: "button",
|
|
47428
47430
|
onClick: o[0] || (o[0] = (l) => n.value = !n.value)
|
|
47429
47431
|
}, [
|
|
47430
|
-
|
|
47432
|
+
mK,
|
|
47431
47433
|
R("span", null, [
|
|
47432
47434
|
n.value ? (P(), V(me, { key: 0 }, [
|
|
47433
47435
|
ye("Hide Child Attributes")
|
|
@@ -47438,7 +47440,7 @@ const Hc = /* @__PURE__ */ Se(fK, [["__scopeId", "data-v-5d39f61d"]]), hK = (t)
|
|
|
47438
47440
|
], 2)) : de("", !0),
|
|
47439
47441
|
!r.value || n.value ? (P(), V(me, { key: 1 }, [
|
|
47440
47442
|
(s = i.value) != null && s.properties ? (P(), V(me, { key: 0 }, [
|
|
47441
|
-
i.compact ? de("", !0) : (P(), V("div",
|
|
47443
|
+
i.compact ? de("", !0) : (P(), V("div", gK, [
|
|
47442
47444
|
B(y_, {
|
|
47443
47445
|
name: i.name,
|
|
47444
47446
|
value: i.value
|
|
@@ -47467,7 +47469,7 @@ const Hc = /* @__PURE__ */ Se(fK, [["__scopeId", "data-v-5d39f61d"]]), hK = (t)
|
|
|
47467
47469
|
};
|
|
47468
47470
|
}
|
|
47469
47471
|
});
|
|
47470
|
-
const Ki = /* @__PURE__ */
|
|
47472
|
+
const Ki = /* @__PURE__ */ ve(yK, [["__scopeId", "data-v-5c81b960"]]), vK = /* @__PURE__ */ fe({
|
|
47471
47473
|
__name: "ShowMoreButton",
|
|
47472
47474
|
props: {
|
|
47473
47475
|
id: {}
|
|
@@ -47487,7 +47489,7 @@ const Ki = /* @__PURE__ */ Se(mK, [["__scopeId", "data-v-5c81b960"]]), gK = /* @
|
|
|
47487
47489
|
]));
|
|
47488
47490
|
}
|
|
47489
47491
|
});
|
|
47490
|
-
const v_ = /* @__PURE__ */
|
|
47492
|
+
const v_ = /* @__PURE__ */ ve(vK, [["__scopeId", "data-v-28f2925b"]]), bK = /* @__PURE__ */ fe({
|
|
47491
47493
|
__name: "Models",
|
|
47492
47494
|
props: {
|
|
47493
47495
|
components: {}
|
|
@@ -47550,10 +47552,10 @@ const v_ = /* @__PURE__ */ Se(gK, [["__scopeId", "data-v-28f2925b"]]), yK = /* @
|
|
|
47550
47552
|
_: 1
|
|
47551
47553
|
})) : de("", !0);
|
|
47552
47554
|
}
|
|
47553
|
-
}),
|
|
47555
|
+
}), SK = {
|
|
47554
47556
|
key: 0,
|
|
47555
47557
|
class: "properties"
|
|
47556
|
-
},
|
|
47558
|
+
}, $K = { key: 1 }, wK = /* @__PURE__ */ fe({
|
|
47557
47559
|
__name: "ModelsAccordion",
|
|
47558
47560
|
props: {
|
|
47559
47561
|
components: {}
|
|
@@ -47600,14 +47602,14 @@ const v_ = /* @__PURE__ */ Se(gK, [["__scopeId", "data-v-28f2925b"]]), yK = /* @
|
|
|
47600
47602
|
}, 1032, ["id"])
|
|
47601
47603
|
]),
|
|
47602
47604
|
default: D(() => [
|
|
47603
|
-
s != null && s.properties ? (P(), V("div",
|
|
47605
|
+
s != null && s.properties ? (P(), V("div", SK, [
|
|
47604
47606
|
(P(!0), V(me, null, Ye(Object.entries(s.properties), ([a, l]) => (P(), le(Hc, {
|
|
47605
47607
|
key: a,
|
|
47606
47608
|
name: a,
|
|
47607
47609
|
required: s.required && !!s.required.length && s.required.includes(a),
|
|
47608
47610
|
value: l
|
|
47609
47611
|
}, null, 8, ["name", "required", "value"]))), 128))
|
|
47610
|
-
])) : (P(), V("div",
|
|
47612
|
+
])) : (P(), V("div", $K, [
|
|
47611
47613
|
B(Hc, { value: s }, null, 8, ["value"])
|
|
47612
47614
|
]))
|
|
47613
47615
|
]),
|
|
@@ -47618,16 +47620,16 @@ const v_ = /* @__PURE__ */ Se(gK, [["__scopeId", "data-v-28f2925b"]]), yK = /* @
|
|
|
47618
47620
|
})) : de("", !0);
|
|
47619
47621
|
}
|
|
47620
47622
|
});
|
|
47621
|
-
const
|
|
47623
|
+
const PK = /* @__PURE__ */ ve(wK, [["__scopeId", "data-v-3bcdd6fb"]]), _K = { class: "parameter-item" }, QK = { class: "parameter-item-container" }, xK = { class: "parameter-item-name" }, kK = {
|
|
47622
47624
|
key: 0,
|
|
47623
47625
|
class: "parameter-item-required-optional parameter-item--required"
|
|
47624
|
-
},
|
|
47626
|
+
}, TK = {
|
|
47625
47627
|
key: 1,
|
|
47626
47628
|
class: "parameter-item-type"
|
|
47627
|
-
},
|
|
47629
|
+
}, RK = {
|
|
47628
47630
|
key: 0,
|
|
47629
47631
|
class: "parameter-schema"
|
|
47630
|
-
},
|
|
47632
|
+
}, CK = /* @__PURE__ */ fe({
|
|
47631
47633
|
__name: "ParameterItem",
|
|
47632
47634
|
props: {
|
|
47633
47635
|
parameter: {}
|
|
@@ -47635,18 +47637,18 @@ const $K = /* @__PURE__ */ Se(SK, [["__scopeId", "data-v-3bcdd6fb"]]), wK = { cl
|
|
|
47635
47637
|
setup(t) {
|
|
47636
47638
|
return (e, r) => {
|
|
47637
47639
|
var n, i, o, s;
|
|
47638
|
-
return P(), V("li",
|
|
47639
|
-
R("div",
|
|
47640
|
-
R("span",
|
|
47641
|
-
e.parameter.required === !0 ? (P(), V("span",
|
|
47642
|
-
(n = e.parameter.schema) != null && n.type ? (P(), V("span",
|
|
47640
|
+
return P(), V("li", _K, [
|
|
47641
|
+
R("div", QK, [
|
|
47642
|
+
R("span", xK, pe(e.parameter.name), 1),
|
|
47643
|
+
e.parameter.required === !0 ? (P(), V("span", kK, " required ")) : de("", !0),
|
|
47644
|
+
(n = e.parameter.schema) != null && n.type ? (P(), V("span", TK, pe((i = e.parameter.schema) == null ? void 0 : i.type), 1)) : de("", !0),
|
|
47643
47645
|
e.parameter.description || (o = e.parameter.schema) != null && o.description ? (P(), le(ei, {
|
|
47644
47646
|
key: 2,
|
|
47645
47647
|
class: "parameter-item-description",
|
|
47646
47648
|
value: e.parameter.description || ((s = e.parameter.schema) == null ? void 0 : s.description)
|
|
47647
47649
|
}, null, 8, ["value"])) : de("", !0)
|
|
47648
47650
|
]),
|
|
47649
|
-
e.parameter.schema ? (P(), V("div",
|
|
47651
|
+
e.parameter.schema ? (P(), V("div", RK, [
|
|
47650
47652
|
e.parameter.schema ? (P(), le(Ki, {
|
|
47651
47653
|
key: 0,
|
|
47652
47654
|
compact: "",
|
|
@@ -47659,10 +47661,10 @@ const $K = /* @__PURE__ */ Se(SK, [["__scopeId", "data-v-3bcdd6fb"]]), wK = { cl
|
|
|
47659
47661
|
};
|
|
47660
47662
|
}
|
|
47661
47663
|
});
|
|
47662
|
-
const
|
|
47664
|
+
const EK = /* @__PURE__ */ ve(CK, [["__scopeId", "data-v-131b7ad3"]]), XK = {
|
|
47663
47665
|
key: 0,
|
|
47664
47666
|
class: "parameters"
|
|
47665
|
-
},
|
|
47667
|
+
}, AK = { class: "parameters-title" }, qK = { class: "parameter-list" }, UK = /* @__PURE__ */ fe({
|
|
47666
47668
|
__name: "Parameters",
|
|
47667
47669
|
props: {
|
|
47668
47670
|
parameters: {}
|
|
@@ -47670,12 +47672,12 @@ const RK = /* @__PURE__ */ Se(TK, [["__scopeId", "data-v-131b7ad3"]]), CK = {
|
|
|
47670
47672
|
setup(t) {
|
|
47671
47673
|
return (e, r) => {
|
|
47672
47674
|
var n;
|
|
47673
|
-
return (n = e.parameters) != null && n.length ? (P(), V("div",
|
|
47674
|
-
R("div",
|
|
47675
|
+
return (n = e.parameters) != null && n.length ? (P(), V("div", XK, [
|
|
47676
|
+
R("div", AK, [
|
|
47675
47677
|
ge(e.$slots, "title", {}, void 0, !0)
|
|
47676
47678
|
]),
|
|
47677
|
-
R("ul",
|
|
47678
|
-
(P(!0), V(me, null, Ye(e.parameters, (i) => (P(), le(
|
|
47679
|
+
R("ul", qK, [
|
|
47680
|
+
(P(!0), V(me, null, Ye(e.parameters, (i) => (P(), le(EK, {
|
|
47679
47681
|
key: i.name,
|
|
47680
47682
|
parameter: i
|
|
47681
47683
|
}, null, 8, ["parameter"]))), 128))
|
|
@@ -47684,10 +47686,10 @@ const RK = /* @__PURE__ */ Se(TK, [["__scopeId", "data-v-131b7ad3"]]), CK = {
|
|
|
47684
47686
|
};
|
|
47685
47687
|
}
|
|
47686
47688
|
});
|
|
47687
|
-
const bi = /* @__PURE__ */
|
|
47689
|
+
const bi = /* @__PURE__ */ ve(UK, [["__scopeId", "data-v-d0931ff4"]]), ZK = { key: 0 }, jK = { class: "request-body-title" }, IK = {
|
|
47688
47690
|
key: 0,
|
|
47689
47691
|
class: "request-body-schema"
|
|
47690
|
-
},
|
|
47692
|
+
}, WK = /* @__PURE__ */ fe({
|
|
47691
47693
|
__name: "RequestBody",
|
|
47692
47694
|
props: {
|
|
47693
47695
|
requestBody: {}
|
|
@@ -47695,11 +47697,11 @@ const bi = /* @__PURE__ */ Se(AK, [["__scopeId", "data-v-d0931ff4"]]), qK = { ke
|
|
|
47695
47697
|
setup(t) {
|
|
47696
47698
|
return (e, r) => {
|
|
47697
47699
|
var n, i;
|
|
47698
|
-
return e.requestBody && ((n = e.requestBody.content) != null && n["application/json"]) ? (P(), V("div",
|
|
47699
|
-
R("div",
|
|
47700
|
+
return e.requestBody && ((n = e.requestBody.content) != null && n["application/json"]) ? (P(), V("div", ZK, [
|
|
47701
|
+
R("div", jK, [
|
|
47700
47702
|
ge(e.$slots, "title", {}, void 0, !0)
|
|
47701
47703
|
]),
|
|
47702
|
-
(i = e.requestBody.content) != null && i["application/json"] ? (P(), V("div",
|
|
47704
|
+
(i = e.requestBody.content) != null && i["application/json"] ? (P(), V("div", IK, [
|
|
47703
47705
|
B(Ki, {
|
|
47704
47706
|
compact: "",
|
|
47705
47707
|
toggleVisibility: "",
|
|
@@ -47710,7 +47712,7 @@ const bi = /* @__PURE__ */ Se(AK, [["__scopeId", "data-v-d0931ff4"]]), qK = { ke
|
|
|
47710
47712
|
};
|
|
47711
47713
|
}
|
|
47712
47714
|
});
|
|
47713
|
-
const b_ = /* @__PURE__ */
|
|
47715
|
+
const b_ = /* @__PURE__ */ ve(WK, [["__scopeId", "data-v-c47e8460"]]), VK = { class: "endpoint-details" }, YK = { class: "endpoint-description" }, MK = /* @__PURE__ */ fe({
|
|
47714
47716
|
__name: "EndpointDetails",
|
|
47715
47717
|
props: {
|
|
47716
47718
|
operation: {}
|
|
@@ -47719,8 +47721,8 @@ const b_ = /* @__PURE__ */ Se(jK, [["__scopeId", "data-v-c47e8460"]]), IK = { cl
|
|
|
47719
47721
|
const e = t, { parameterMap: r } = vO(e), { responses: n } = Dw(e.operation);
|
|
47720
47722
|
return (i, o) => {
|
|
47721
47723
|
var s;
|
|
47722
|
-
return P(), V("div",
|
|
47723
|
-
R("div",
|
|
47724
|
+
return P(), V("div", VK, [
|
|
47725
|
+
R("div", YK, [
|
|
47724
47726
|
B(ei, {
|
|
47725
47727
|
value: i.operation.description
|
|
47726
47728
|
}, null, 8, ["value"])
|
|
@@ -47766,33 +47768,33 @@ const b_ = /* @__PURE__ */ Se(jK, [["__scopeId", "data-v-c47e8460"]]), IK = { cl
|
|
|
47766
47768
|
]);
|
|
47767
47769
|
};
|
|
47768
47770
|
}
|
|
47769
|
-
}),
|
|
47771
|
+
}), zK = { class: "endpoint-path" }, DK = { key: 0 }, NK = /* @__PURE__ */ fe({
|
|
47770
47772
|
__name: "EndpointPath",
|
|
47771
47773
|
props: {
|
|
47772
47774
|
path: {}
|
|
47773
47775
|
},
|
|
47774
47776
|
setup(t) {
|
|
47775
47777
|
const e = t, r = (i) => i.startsWith("{") && i.endsWith("}"), n = Ee(() => e.path.split(/({[^}]+})/));
|
|
47776
|
-
return (i, o) => (P(), V("span",
|
|
47778
|
+
return (i, o) => (P(), V("span", zK, [
|
|
47777
47779
|
(P(!0), V(me, null, Ye(n.value, (s, a) => (P(), V(me, { key: a }, [
|
|
47778
|
-
r(s) ? (P(), V("em",
|
|
47780
|
+
r(s) ? (P(), V("em", DK, pe(s), 1)) : (P(), V(me, { key: 1 }, [
|
|
47779
47781
|
ye(pe(s), 1)
|
|
47780
47782
|
], 64))
|
|
47781
47783
|
], 64))), 128))
|
|
47782
47784
|
]));
|
|
47783
47785
|
}
|
|
47784
47786
|
});
|
|
47785
|
-
const S_ = /* @__PURE__ */
|
|
47786
|
-
function
|
|
47787
|
+
const S_ = /* @__PURE__ */ ve(NK, [["__scopeId", "data-v-ec5461ce"]]);
|
|
47788
|
+
function LK(t) {
|
|
47787
47789
|
return t.reduce((e, r) => (e[r.name] = r.value, e), {});
|
|
47788
47790
|
}
|
|
47789
|
-
function
|
|
47791
|
+
function BK(t) {
|
|
47790
47792
|
return /\s|-/.test(t);
|
|
47791
47793
|
}
|
|
47792
47794
|
function Kc(t, e = 0) {
|
|
47793
47795
|
let r = [], n = " ".repeat(e), i = " ".repeat(e + 2);
|
|
47794
47796
|
for (const [o, s] of Object.entries(t)) {
|
|
47795
|
-
let a =
|
|
47797
|
+
let a = BK(o) ? `'${o}'` : o;
|
|
47796
47798
|
if (Array.isArray(s)) {
|
|
47797
47799
|
const l = s.map((c) => typeof c == "string" ? `'${c}'` : c && typeof c == "object" ? Kc(c, e + 2) : c).join(`, ${i}`);
|
|
47798
47800
|
r.push(`${i}${a}: [${l}]`);
|
|
@@ -47821,7 +47823,7 @@ ${r.join(`,
|
|
|
47821
47823
|
`)}
|
|
47822
47824
|
${n}}`;
|
|
47823
47825
|
}
|
|
47824
|
-
function
|
|
47826
|
+
function GK(t) {
|
|
47825
47827
|
var e, r;
|
|
47826
47828
|
const n = {
|
|
47827
47829
|
method: "GET",
|
|
@@ -47831,7 +47833,7 @@ function LK(t) {
|
|
|
47831
47833
|
const i = {
|
|
47832
47834
|
method: n.method === "GET" ? void 0 : n.method
|
|
47833
47835
|
}, o = new URLSearchParams(
|
|
47834
|
-
n.queryString ?
|
|
47836
|
+
n.queryString ? LK(n.queryString) : void 0
|
|
47835
47837
|
), s = o.size ? `?${o.toString()}` : "";
|
|
47836
47838
|
(e = n.headers) != null && e.length && (i.headers = {}, n.headers.forEach((l) => {
|
|
47837
47839
|
i.headers[l.name] = l.value;
|
|
@@ -47850,7 +47852,7 @@ const { statusCode, body } = await request('${n.url}${s}'${a})`
|
|
|
47850
47852
|
};
|
|
47851
47853
|
}
|
|
47852
47854
|
function Uv() {
|
|
47853
|
-
const t = [
|
|
47855
|
+
const t = [GK];
|
|
47854
47856
|
return {
|
|
47855
47857
|
get(e, r, n) {
|
|
47856
47858
|
const i = this.findPlugin(e, r);
|
|
@@ -47887,7 +47889,7 @@ function Uv() {
|
|
|
47887
47889
|
}
|
|
47888
47890
|
};
|
|
47889
47891
|
}
|
|
47890
|
-
const
|
|
47892
|
+
const FK = { class: "request-header" }, HK = { class: "language-select" }, KK = ["value"], JK = ["label"], eJ = ["value"], tJ = /* @__PURE__ */ fe({
|
|
47891
47893
|
__name: "ExampleRequest",
|
|
47892
47894
|
props: {
|
|
47893
47895
|
operation: {}
|
|
@@ -47945,7 +47947,7 @@ const BK = { class: "request-header" }, GK = { class: "language-select" }, FK =
|
|
|
47945
47947
|
default: D(() => [
|
|
47946
47948
|
B($(ks), { muted: "" }, {
|
|
47947
47949
|
actions: D(() => [
|
|
47948
|
-
R("div",
|
|
47950
|
+
R("div", HK, [
|
|
47949
47951
|
R("span", null, pe($(a)($(i).selectedClient)) + " " + pe($(s)($(i).selectedClient)), 1),
|
|
47950
47952
|
R("select", {
|
|
47951
47953
|
value: JSON.stringify($(i).selectedClient),
|
|
@@ -47964,9 +47966,9 @@ const BK = { class: "request-header" }, GK = { class: "language-select" }, FK =
|
|
|
47964
47966
|
targetKey: p.key,
|
|
47965
47967
|
clientKey: v.key
|
|
47966
47968
|
})
|
|
47967
|
-
}, pe(v.title), 9,
|
|
47968
|
-
], 8,
|
|
47969
|
-
], 40,
|
|
47969
|
+
}, pe(v.title), 9, eJ))), 128))
|
|
47970
|
+
], 8, JK))), 128))
|
|
47971
|
+
], 40, KK)
|
|
47970
47972
|
]),
|
|
47971
47973
|
R("button", {
|
|
47972
47974
|
class: "copy-button",
|
|
@@ -47980,7 +47982,7 @@ const BK = { class: "request-header" }, GK = { class: "language-select" }, FK =
|
|
|
47980
47982
|
])
|
|
47981
47983
|
]),
|
|
47982
47984
|
default: D(() => [
|
|
47983
|
-
R("div",
|
|
47985
|
+
R("div", FK, [
|
|
47984
47986
|
R("span", {
|
|
47985
47987
|
class: _e(["request-method", `request-method--${f.operation.httpVerb}`])
|
|
47986
47988
|
}, pe(f.operation.httpVerb), 3),
|
|
@@ -47995,7 +47997,7 @@ const BK = { class: "request-header" }, GK = { class: "language-select" }, FK =
|
|
|
47995
47997
|
frameless: ""
|
|
47996
47998
|
}, {
|
|
47997
47999
|
default: D(() => [
|
|
47998
|
-
B($(
|
|
48000
|
+
B($(Vr), {
|
|
47999
48001
|
content: r.value,
|
|
48000
48002
|
forceDarkMode: !0,
|
|
48001
48003
|
languages: u.value,
|
|
@@ -48020,18 +48022,18 @@ const BK = { class: "request-header" }, GK = { class: "language-select" }, FK =
|
|
|
48020
48022
|
}));
|
|
48021
48023
|
}
|
|
48022
48024
|
});
|
|
48023
|
-
const $_ = /* @__PURE__ */
|
|
48025
|
+
const $_ = /* @__PURE__ */ ve(tJ, [["__scopeId", "data-v-8baf3548"]]), rJ = (t) => (Gr("data-v-a88a80af"), t = t(), Fr(), t), nJ = { class: "example-switcher" }, iJ = /* @__PURE__ */ rJ(() => /* @__PURE__ */ R("label", {
|
|
48024
48026
|
class: "listbox-label",
|
|
48025
48027
|
for: "listbox-button"
|
|
48026
|
-
}, " Select Example ", -1)),
|
|
48028
|
+
}, " Select Example ", -1)), oJ = { class: "listbox-button-content" }, sJ = { class: "listbox-button-label" }, aJ = /* @__PURE__ */ fe({
|
|
48027
48029
|
__name: "SelectExample",
|
|
48028
48030
|
props: {
|
|
48029
48031
|
examples: {}
|
|
48030
48032
|
},
|
|
48031
48033
|
setup(t) {
|
|
48032
48034
|
const r = gO(t.examples, "scalarExampleName"), n = Xe(r[0]);
|
|
48033
|
-
return (i, o) => (P(), V("div",
|
|
48034
|
-
|
|
48035
|
+
return (i, o) => (P(), V("div", nJ, [
|
|
48036
|
+
iJ,
|
|
48035
48037
|
B($(Gv), {
|
|
48036
48038
|
modelValue: n.value,
|
|
48037
48039
|
"onUpdate:modelValue": o[0] || (o[0] = (s) => n.value = s)
|
|
@@ -48042,8 +48044,8 @@ const $_ = /* @__PURE__ */ Se(JK, [["__scopeId", "data-v-8baf3548"]]), eJ = (t)
|
|
|
48042
48044
|
class: "listbox-button"
|
|
48043
48045
|
}, {
|
|
48044
48046
|
default: D(() => [
|
|
48045
|
-
R("div",
|
|
48046
|
-
R("div",
|
|
48047
|
+
R("div", oJ, [
|
|
48048
|
+
R("div", sJ, pe(n.value.value.summary ?? n.value.key ?? n.value.scalarExampleName), 1),
|
|
48047
48049
|
R("div", null, [
|
|
48048
48050
|
B($(Fc), {
|
|
48049
48051
|
class: "icon",
|
|
@@ -48072,7 +48074,7 @@ const $_ = /* @__PURE__ */ Se(JK, [["__scopeId", "data-v-8baf3548"]]), eJ = (t)
|
|
|
48072
48074
|
]),
|
|
48073
48075
|
_: 1
|
|
48074
48076
|
}, 8, ["modelValue"]),
|
|
48075
|
-
B($(
|
|
48077
|
+
B($(Vr), {
|
|
48076
48078
|
content: JSON.stringify(n.value.value.value, null, 2),
|
|
48077
48079
|
languages: ["json"],
|
|
48078
48080
|
readOnly: ""
|
|
@@ -48080,13 +48082,13 @@ const $_ = /* @__PURE__ */ Se(JK, [["__scopeId", "data-v-8baf3548"]]), eJ = (t)
|
|
|
48080
48082
|
]));
|
|
48081
48083
|
}
|
|
48082
48084
|
});
|
|
48083
|
-
const
|
|
48085
|
+
const lJ = /* @__PURE__ */ ve(aJ, [["__scopeId", "data-v-a88a80af"]]), cJ = { class: "scalar-card-container custom-scroll" }, uJ = { key: 0 }, dJ = { key: 1 }, fJ = {
|
|
48084
48086
|
key: 0,
|
|
48085
48087
|
class: "rule"
|
|
48086
|
-
},
|
|
48088
|
+
}, hJ = { class: "rule-title" }, pJ = { class: "rule-items" }, OJ = {
|
|
48087
48089
|
key: 2,
|
|
48088
48090
|
class: "scalar-api-reference__empty-state"
|
|
48089
|
-
},
|
|
48091
|
+
}, mJ = { class: "description" }, gJ = /* @__PURE__ */ fe({
|
|
48090
48092
|
__name: "ExampleResponses",
|
|
48091
48093
|
props: {
|
|
48092
48094
|
operation: {}
|
|
@@ -48116,7 +48118,7 @@ const sJ = /* @__PURE__ */ Se(oJ, [["__scopeId", "data-v-a88a80af"]]), aJ = { cl
|
|
|
48116
48118
|
default: D(() => {
|
|
48117
48119
|
var f;
|
|
48118
48120
|
return [
|
|
48119
|
-
B($(
|
|
48121
|
+
B($(MG), {
|
|
48120
48122
|
muted: "",
|
|
48121
48123
|
onChange: a
|
|
48122
48124
|
}, {
|
|
@@ -48140,7 +48142,7 @@ const sJ = /* @__PURE__ */ Se(oJ, [["__scopeId", "data-v-a88a80af"]]), aJ = { cl
|
|
|
48140
48142
|
];
|
|
48141
48143
|
}),
|
|
48142
48144
|
default: D(() => [
|
|
48143
|
-
(P(!0), V(me, null, Ye(n.value, (h) => (P(), le($(
|
|
48145
|
+
(P(!0), V(me, null, Ye(n.value, (h) => (P(), le($(DG), { key: h }, {
|
|
48144
48146
|
default: D(() => [
|
|
48145
48147
|
ye(pe(h), 1)
|
|
48146
48148
|
]),
|
|
@@ -48149,15 +48151,15 @@ const sJ = /* @__PURE__ */ Se(oJ, [["__scopeId", "data-v-a88a80af"]]), aJ = { cl
|
|
|
48149
48151
|
]),
|
|
48150
48152
|
_: 1
|
|
48151
48153
|
}),
|
|
48152
|
-
R("div",
|
|
48154
|
+
R("div", cJ, [
|
|
48153
48155
|
B($(Jn), { muted: "" }, {
|
|
48154
48156
|
default: D(() => {
|
|
48155
48157
|
var h, p, v, g, O, b, w, Q, I, E, W, G, J, K, ae;
|
|
48156
48158
|
return [
|
|
48157
|
-
(h = s.value) != null && h.examples && Object.keys((p = s.value) == null ? void 0 : p.examples).length > 1 ? (P(), le(
|
|
48159
|
+
(h = s.value) != null && h.examples && Object.keys((p = s.value) == null ? void 0 : p.examples).length > 1 ? (P(), le(lJ, {
|
|
48158
48160
|
key: 0,
|
|
48159
48161
|
examples: (v = s.value) == null ? void 0 : v.examples
|
|
48160
|
-
}, null, 8, ["examples"])) : (g = s.value) != null && g.examples && Object.keys((O = s.value) == null ? void 0 : O.examples).length === 1 ? (P(), le($(
|
|
48162
|
+
}, null, 8, ["examples"])) : (g = s.value) != null && g.examples && Object.keys((O = s.value) == null ? void 0 : O.examples).length === 1 ? (P(), le($(Vr), {
|
|
48161
48163
|
key: 1,
|
|
48162
48164
|
content: $(xo)(
|
|
48163
48165
|
$(gO)((b = s.value) == null ? void 0 : b.examples)[0].value.value
|
|
@@ -48165,14 +48167,14 @@ const sJ = /* @__PURE__ */ Se(oJ, [["__scopeId", "data-v-a88a80af"]]), aJ = { cl
|
|
|
48165
48167
|
languages: ["json"],
|
|
48166
48168
|
readOnly: ""
|
|
48167
48169
|
}, null, 8, ["content"])) : (P(), V(me, { key: 2 }, [
|
|
48168
|
-
(w = s.value) != null && w.example ? (P(), V("div",
|
|
48169
|
-
B($(
|
|
48170
|
+
(w = s.value) != null && w.example ? (P(), V("div", uJ, [
|
|
48171
|
+
B($(Vr), {
|
|
48170
48172
|
content: $(xo)((Q = s.value) == null ? void 0 : Q.example),
|
|
48171
48173
|
languages: ["json"],
|
|
48172
48174
|
readOnly: ""
|
|
48173
48175
|
}, null, 8, ["content"])
|
|
48174
|
-
])) : (I = s.value) != null && I.schema ? (P(), V("div",
|
|
48175
|
-
(E = s.value) != null && E.schema.type ? (P(), le($(
|
|
48176
|
+
])) : (I = s.value) != null && I.schema ? (P(), V("div", dJ, [
|
|
48177
|
+
(E = s.value) != null && E.schema.type ? (P(), le($(Vr), {
|
|
48176
48178
|
key: 0,
|
|
48177
48179
|
content: $(xo)(
|
|
48178
48180
|
$(Rr)(
|
|
@@ -48186,16 +48188,16 @@ const sJ = /* @__PURE__ */ Se(oJ, [["__scopeId", "data-v-a88a80af"]]), aJ = { cl
|
|
|
48186
48188
|
readOnly: ""
|
|
48187
48189
|
}, null, 8, ["content"])) : de("", !0),
|
|
48188
48190
|
(P(), V(me, null, Ye(l, (te) => {
|
|
48189
|
-
var he,
|
|
48191
|
+
var he, be, Ae, qe, Fe, Be;
|
|
48190
48192
|
return P(), V(me, { key: te }, [
|
|
48191
|
-
(he = s.value) != null && he.schema[te] && (((
|
|
48192
|
-
R("div",
|
|
48193
|
-
R("ol",
|
|
48193
|
+
(he = s.value) != null && he.schema[te] && (((be = s.value) == null ? void 0 : be.schema[te].length) > 1 || te === "not") ? (P(), V("div", fJ, [
|
|
48194
|
+
R("div", hJ, pe(te), 1),
|
|
48195
|
+
R("ol", pJ, [
|
|
48194
48196
|
(P(!0), V(me, null, Ye((Ae = s.value) == null ? void 0 : Ae.schema[te], (Ue, H) => (P(), V("li", {
|
|
48195
48197
|
key: H,
|
|
48196
48198
|
class: "rule-item"
|
|
48197
48199
|
}, [
|
|
48198
|
-
B($(
|
|
48200
|
+
B($(Vr), {
|
|
48199
48201
|
content: $(xo)(
|
|
48200
48202
|
$(Rr)(Ue, {
|
|
48201
48203
|
emptyString: "…"
|
|
@@ -48206,7 +48208,7 @@ const sJ = /* @__PURE__ */ Se(oJ, [["__scopeId", "data-v-a88a80af"]]), aJ = { cl
|
|
|
48206
48208
|
}, null, 8, ["content"])
|
|
48207
48209
|
]))), 128))
|
|
48208
48210
|
])
|
|
48209
|
-
])) : (qe = s.value) != null && qe.schema[te] && ((Fe = s.value) == null ? void 0 : Fe.schema[te].length) === 1 ? (P(), le($(
|
|
48211
|
+
])) : (qe = s.value) != null && qe.schema[te] && ((Fe = s.value) == null ? void 0 : Fe.schema[te].length) === 1 ? (P(), le($(Vr), {
|
|
48210
48212
|
key: 1,
|
|
48211
48213
|
content: $(xo)(
|
|
48212
48214
|
$(Rr)((Be = s.value) == null ? void 0 : Be.schema[te][0], {
|
|
@@ -48218,7 +48220,7 @@ const sJ = /* @__PURE__ */ Se(oJ, [["__scopeId", "data-v-a88a80af"]]), aJ = { cl
|
|
|
48218
48220
|
}, null, 8, ["content"])) : de("", !0)
|
|
48219
48221
|
], 64);
|
|
48220
48222
|
}), 64)),
|
|
48221
|
-
(G = s.value) != null && G.schema.allOf ? (P(), le($(
|
|
48223
|
+
(G = s.value) != null && G.schema.allOf ? (P(), le($(Vr), {
|
|
48222
48224
|
key: 1,
|
|
48223
48225
|
content: $(xo)(
|
|
48224
48226
|
c(
|
|
@@ -48233,7 +48235,7 @@ const sJ = /* @__PURE__ */ Se(oJ, [["__scopeId", "data-v-a88a80af"]]), aJ = { cl
|
|
|
48233
48235
|
readOnly: ""
|
|
48234
48236
|
}, null, 8, ["content"])) : de("", !0)
|
|
48235
48237
|
])) : de("", !0),
|
|
48236
|
-
!((K = s.value) != null && K.example) && !((ae = s.value) != null && ae.schema) ? (P(), V("div",
|
|
48238
|
+
!((K = s.value) != null && K.example) && !((ae = s.value) != null && ae.schema) ? (P(), V("div", OJ, " No Body ")) : de("", !0)
|
|
48237
48239
|
], 64))
|
|
48238
48240
|
];
|
|
48239
48241
|
}),
|
|
@@ -48246,7 +48248,7 @@ const sJ = /* @__PURE__ */ Se(oJ, [["__scopeId", "data-v-a88a80af"]]), aJ = { cl
|
|
|
48246
48248
|
muted: ""
|
|
48247
48249
|
}, {
|
|
48248
48250
|
default: D(() => [
|
|
48249
|
-
R("div",
|
|
48251
|
+
R("div", mJ, [
|
|
48250
48252
|
B(ei, {
|
|
48251
48253
|
class: "markdown",
|
|
48252
48254
|
value: o.value.description
|
|
@@ -48261,7 +48263,7 @@ const sJ = /* @__PURE__ */ Se(oJ, [["__scopeId", "data-v-a88a80af"]]), aJ = { cl
|
|
|
48261
48263
|
})) : de("", !0);
|
|
48262
48264
|
}
|
|
48263
48265
|
});
|
|
48264
|
-
const w_ = /* @__PURE__ */
|
|
48266
|
+
const w_ = /* @__PURE__ */ ve(gJ, [["__scopeId", "data-v-e325a26a"]]), yJ = (t) => (Gr("data-v-4f8d7a7c"), t = t(), Fr(), t), vJ = /* @__PURE__ */ yJ(() => /* @__PURE__ */ R("span", null, "Test Request", -1)), bJ = /* @__PURE__ */ fe({
|
|
48265
48267
|
__name: "TryRequestButton",
|
|
48266
48268
|
props: {
|
|
48267
48269
|
operation: {}
|
|
@@ -48272,12 +48274,12 @@ const w_ = /* @__PURE__ */ Se(OJ, [["__scopeId", "data-v-e325a26a"]]), mJ = (t)
|
|
|
48272
48274
|
type: "button",
|
|
48273
48275
|
onClick: r[0] || (r[0] = Jc((n) => $(Rh)(e.operation), ["stop"]))
|
|
48274
48276
|
}, [
|
|
48275
|
-
|
|
48277
|
+
vJ,
|
|
48276
48278
|
B($(ar), { icon: "PaperAirplane" })
|
|
48277
48279
|
], 2));
|
|
48278
48280
|
}
|
|
48279
48281
|
});
|
|
48280
|
-
const P_ = /* @__PURE__ */
|
|
48282
|
+
const P_ = /* @__PURE__ */ ve(bJ, [["__scopeId", "data-v-4f8d7a7c"]]), SJ = { class: "examples" }, $J = /* @__PURE__ */ fe({
|
|
48281
48283
|
__name: "ReferenceEndpoint",
|
|
48282
48284
|
props: {
|
|
48283
48285
|
operation: {},
|
|
@@ -48320,14 +48322,14 @@ const P_ = /* @__PURE__ */ Se(yJ, [["__scopeId", "data-v-4f8d7a7c"]]), vJ = { cl
|
|
|
48320
48322
|
_: 1
|
|
48321
48323
|
})
|
|
48322
48324
|
], 2),
|
|
48323
|
-
B(
|
|
48325
|
+
B(MK, { operation: e.operation }, null, 8, ["operation"])
|
|
48324
48326
|
];
|
|
48325
48327
|
}),
|
|
48326
48328
|
_: 1
|
|
48327
48329
|
}),
|
|
48328
48330
|
B($(fs), null, {
|
|
48329
48331
|
default: D(() => [
|
|
48330
|
-
R("div",
|
|
48332
|
+
R("div", SJ, [
|
|
48331
48333
|
B($_, { operation: e.operation }, {
|
|
48332
48334
|
header: D(() => [
|
|
48333
48335
|
B(S_, {
|
|
@@ -48359,7 +48361,7 @@ const P_ = /* @__PURE__ */ Se(yJ, [["__scopeId", "data-v-4f8d7a7c"]]), vJ = { cl
|
|
|
48359
48361
|
}, 8, ["id", "label"]));
|
|
48360
48362
|
}
|
|
48361
48363
|
});
|
|
48362
|
-
const
|
|
48364
|
+
const wJ = /* @__PURE__ */ ve($J, [["__scopeId", "data-v-9c594a35"]]), PJ = { class: "endpoint-details-card" }, _J = /* @__PURE__ */ fe({
|
|
48363
48365
|
__name: "EndpointDetailsCard",
|
|
48364
48366
|
props: {
|
|
48365
48367
|
operation: {}
|
|
@@ -48368,7 +48370,7 @@ const SJ = /* @__PURE__ */ Se(bJ, [["__scopeId", "data-v-9c594a35"]]), $J = { cl
|
|
|
48368
48370
|
const e = t, { parameterMap: r } = vO(e), { responses: n } = Dw(e.operation);
|
|
48369
48371
|
return (i, o) => {
|
|
48370
48372
|
var s;
|
|
48371
|
-
return P(), V("div",
|
|
48373
|
+
return P(), V("div", PJ, [
|
|
48372
48374
|
B(bi, {
|
|
48373
48375
|
class: "endpoint-details-card-item",
|
|
48374
48376
|
parameters: $(r).path
|
|
@@ -48418,7 +48420,7 @@ const SJ = /* @__PURE__ */ Se(bJ, [["__scopeId", "data-v-9c594a35"]]), $J = { cl
|
|
|
48418
48420
|
};
|
|
48419
48421
|
}
|
|
48420
48422
|
});
|
|
48421
|
-
const
|
|
48423
|
+
const QJ = /* @__PURE__ */ ve(_J, [["__scopeId", "data-v-c8ff4dbd"]]), xJ = { class: "endpoint-header" }, kJ = { class: "endpoint-details" }, TJ = { class: "endpoint-type" }, RJ = { class: "endpoint-label" }, CJ = { class: "endpoint-label-path" }, EJ = { class: "endpoint-label-name" }, XJ = { class: "endpoint-content" }, AJ = /* @__PURE__ */ fe({
|
|
48422
48424
|
__name: "ReferenceEndpointAccordion",
|
|
48423
48425
|
props: {
|
|
48424
48426
|
operation: {},
|
|
@@ -48432,21 +48434,21 @@ const PJ = /* @__PURE__ */ Se(wJ, [["__scopeId", "data-v-c8ff4dbd"]]), _J = { cl
|
|
|
48432
48434
|
transparent: ""
|
|
48433
48435
|
}, Ho({
|
|
48434
48436
|
title: D(() => [
|
|
48435
|
-
R("h3",
|
|
48436
|
-
R("div",
|
|
48437
|
-
R("span",
|
|
48437
|
+
R("h3", xJ, [
|
|
48438
|
+
R("div", kJ, [
|
|
48439
|
+
R("span", TJ, pe(r.operation.httpVerb), 1),
|
|
48438
48440
|
B($(Rs), {
|
|
48439
48441
|
id: $(Hn)(r.operation, r.tag),
|
|
48440
48442
|
class: "endpoint-anchor"
|
|
48441
48443
|
}, {
|
|
48442
48444
|
default: D(() => [
|
|
48443
|
-
R("div",
|
|
48444
|
-
R("div",
|
|
48445
|
+
R("div", RJ, [
|
|
48446
|
+
R("div", CJ, [
|
|
48445
48447
|
B(S_, {
|
|
48446
48448
|
path: r.operation.path
|
|
48447
48449
|
}, null, 8, ["path"])
|
|
48448
48450
|
]),
|
|
48449
|
-
R("div",
|
|
48451
|
+
R("div", EJ, pe(r.operation.name), 1)
|
|
48450
48452
|
])
|
|
48451
48453
|
]),
|
|
48452
48454
|
_: 1
|
|
@@ -48473,8 +48475,8 @@ const PJ = /* @__PURE__ */ Se(wJ, [["__scopeId", "data-v-c8ff4dbd"]]), _J = { cl
|
|
|
48473
48475
|
})
|
|
48474
48476
|
]),
|
|
48475
48477
|
default: D(() => [
|
|
48476
|
-
R("div",
|
|
48477
|
-
B(
|
|
48478
|
+
R("div", XJ, [
|
|
48479
|
+
B(QJ, { operation: r.operation }, null, 8, ["operation"]),
|
|
48478
48480
|
B($(w_), { operation: r.operation }, null, 8, ["operation"]),
|
|
48479
48481
|
B($_, { operation: r.operation }, null, 8, ["operation"])
|
|
48480
48482
|
])
|
|
@@ -48493,7 +48495,7 @@ const PJ = /* @__PURE__ */ Se(wJ, [["__scopeId", "data-v-c8ff4dbd"]]), _J = { cl
|
|
|
48493
48495
|
]), 1032, ["id", "class"]));
|
|
48494
48496
|
}
|
|
48495
48497
|
});
|
|
48496
|
-
const
|
|
48498
|
+
const qJ = /* @__PURE__ */ ve(AJ, [["__scopeId", "data-v-a2dd71c6"]]), UJ = { class: "endpoints custom-scroll" }, ZJ = ["onClick"], jJ = /* @__PURE__ */ fe({
|
|
48497
48499
|
__name: "EndpointsOverview",
|
|
48498
48500
|
props: {
|
|
48499
48501
|
tag: {}
|
|
@@ -48550,7 +48552,7 @@ const XJ = /* @__PURE__ */ Se(EJ, [["__scopeId", "data-v-a2dd71c6"]]), AJ = { cl
|
|
|
48550
48552
|
}),
|
|
48551
48553
|
B($(Jn), { muted: "" }, {
|
|
48552
48554
|
default: D(() => [
|
|
48553
|
-
R("div",
|
|
48555
|
+
R("div", UJ, [
|
|
48554
48556
|
(P(!0), V(me, null, Ye(i.tag.operations, (a) => (P(), V("a", {
|
|
48555
48557
|
key: $(Hn)(a, i.tag),
|
|
48556
48558
|
class: "endpoint",
|
|
@@ -48560,7 +48562,7 @@ const XJ = /* @__PURE__ */ Se(EJ, [["__scopeId", "data-v-a2dd71c6"]]), AJ = { cl
|
|
|
48560
48562
|
class: _e(a.httpVerb)
|
|
48561
48563
|
}, pe(a.httpVerb), 3),
|
|
48562
48564
|
R("span", null, pe(a.path), 1)
|
|
48563
|
-
], 8,
|
|
48565
|
+
], 8, ZJ))), 128))
|
|
48564
48566
|
])
|
|
48565
48567
|
]),
|
|
48566
48568
|
_: 1
|
|
@@ -48583,7 +48585,7 @@ const XJ = /* @__PURE__ */ Se(EJ, [["__scopeId", "data-v-a2dd71c6"]]), AJ = { cl
|
|
|
48583
48585
|
}, 8, ["id", "label"]));
|
|
48584
48586
|
}
|
|
48585
48587
|
});
|
|
48586
|
-
const
|
|
48588
|
+
const IJ = /* @__PURE__ */ ve(jJ, [["__scopeId", "data-v-cd158e57"]]), WJ = /* @__PURE__ */ fe({
|
|
48587
48589
|
__name: "ReferenceTag",
|
|
48588
48590
|
props: {
|
|
48589
48591
|
tag: {},
|
|
@@ -48599,7 +48601,7 @@ const ZJ = /* @__PURE__ */ Se(UJ, [["__scopeId", "data-v-cd158e57"]]), jJ = /* @
|
|
|
48599
48601
|
default: D(() => {
|
|
48600
48602
|
var s;
|
|
48601
48603
|
return [
|
|
48602
|
-
n(i.tag) ? (P(), le(
|
|
48604
|
+
n(i.tag) ? (P(), le(IJ, {
|
|
48603
48605
|
key: 0,
|
|
48604
48606
|
tag: i.tag
|
|
48605
48607
|
}, null, 8, ["tag"])) : de("", !0),
|
|
@@ -48613,7 +48615,7 @@ const ZJ = /* @__PURE__ */ Se(UJ, [["__scopeId", "data-v-cd158e57"]]), jJ = /* @
|
|
|
48613
48615
|
}));
|
|
48614
48616
|
}
|
|
48615
48617
|
});
|
|
48616
|
-
const
|
|
48618
|
+
const VJ = /* @__PURE__ */ ve(WJ, [["__scopeId", "data-v-4cbf0ece"]]), YJ = /* @__PURE__ */ fe({
|
|
48617
48619
|
__name: "ReferenceTagAccordion",
|
|
48618
48620
|
props: {
|
|
48619
48621
|
tag: {},
|
|
@@ -48651,7 +48653,7 @@ const IJ = /* @__PURE__ */ Se(jJ, [["__scopeId", "data-v-4cbf0ece"]]), WJ = /* @
|
|
|
48651
48653
|
}));
|
|
48652
48654
|
}
|
|
48653
48655
|
});
|
|
48654
|
-
const
|
|
48656
|
+
const MJ = /* @__PURE__ */ ve(YJ, [["__scopeId", "data-v-86b95588"]]), zJ = /* @__PURE__ */ fe({
|
|
48655
48657
|
__name: "Content",
|
|
48656
48658
|
props: {
|
|
48657
48659
|
parsedSpec: {},
|
|
@@ -48672,9 +48674,9 @@ const VJ = /* @__PURE__ */ Se(WJ, [["__scopeId", "data-v-86b95588"]]), YJ = /* @
|
|
|
48672
48674
|
})), s = Ee(() => e.parsedSpec.servers && e.parsedSpec.servers.length > 0 ? e.parsedSpec.servers : e.parsedSpec.host && e.parsedSpec.schemes && e.parsedSpec.schemes.length > 0 ? [
|
|
48673
48675
|
{ url: `${e.parsedSpec.schemes[0]}://${e.parsedSpec.host}` }
|
|
48674
48676
|
] : o.value ? [o.value] : [{ url: "" }]), a = Ee(
|
|
48675
|
-
() => e.layout === "accordion" ?
|
|
48677
|
+
() => e.layout === "accordion" ? MJ : VJ
|
|
48676
48678
|
), l = Ee(
|
|
48677
|
-
() => e.layout === "accordion" ?
|
|
48679
|
+
() => e.layout === "accordion" ? qJ : wJ
|
|
48678
48680
|
), c = Ee(
|
|
48679
48681
|
() => e.layout === "accordion" ? "after" : "aside"
|
|
48680
48682
|
);
|
|
@@ -48686,7 +48688,7 @@ const VJ = /* @__PURE__ */ Se(WJ, [["__scopeId", "data-v-86b95588"]]), YJ = /* @
|
|
|
48686
48688
|
})
|
|
48687
48689
|
}, [
|
|
48688
48690
|
ge(u.$slots, "start", {}, void 0, !0),
|
|
48689
|
-
u.parsedSpec.info.title || u.parsedSpec.info.description ? (P(), le($(
|
|
48691
|
+
u.parsedSpec.info.title || u.parsedSpec.info.description ? (P(), le($(rH), {
|
|
48690
48692
|
key: 0,
|
|
48691
48693
|
info: u.parsedSpec.info,
|
|
48692
48694
|
parsedSpec: u.parsedSpec,
|
|
@@ -48696,9 +48698,9 @@ const VJ = /* @__PURE__ */ Se(WJ, [["__scopeId", "data-v-86b95588"]]), YJ = /* @
|
|
|
48696
48698
|
R("div", {
|
|
48697
48699
|
class: _e(["introduction-cards", { "introduction-cards-row": u.layout === "accordion" }])
|
|
48698
48700
|
}, [
|
|
48699
|
-
B(
|
|
48700
|
-
B(
|
|
48701
|
-
B($(
|
|
48701
|
+
B(WH, { value: s.value }, null, 8, ["value"]),
|
|
48702
|
+
B(bH),
|
|
48703
|
+
B($($F), { parsedSpec: u.parsedSpec }, null, 8, ["parsedSpec"])
|
|
48702
48704
|
], 2)
|
|
48703
48705
|
]),
|
|
48704
48706
|
_: 2
|
|
@@ -48724,10 +48726,10 @@ const VJ = /* @__PURE__ */ Se(WJ, [["__scopeId", "data-v-86b95588"]]), YJ = /* @
|
|
|
48724
48726
|
}, 1032, ["isFirst", "spec", "tag"])) : de("", !0)
|
|
48725
48727
|
], 64))), 128)),
|
|
48726
48728
|
$(Vw)(u.parsedSpec) ? (P(), V(me, { key: 2 }, [
|
|
48727
|
-
u.layout === "accordion" ? (P(), le(
|
|
48729
|
+
u.layout === "accordion" ? (P(), le(PK, {
|
|
48728
48730
|
key: 0,
|
|
48729
48731
|
components: u.parsedSpec.components
|
|
48730
|
-
}, null, 8, ["components"])) : (P(), le(
|
|
48732
|
+
}, null, 8, ["components"])) : (P(), le(bK, {
|
|
48731
48733
|
key: 1,
|
|
48732
48734
|
components: u.parsedSpec.components
|
|
48733
48735
|
}, null, 8, ["components"]))
|
|
@@ -48736,7 +48738,7 @@ const VJ = /* @__PURE__ */ Se(WJ, [["__scopeId", "data-v-86b95588"]]), YJ = /* @
|
|
|
48736
48738
|
], 2));
|
|
48737
48739
|
}
|
|
48738
48740
|
});
|
|
48739
|
-
const
|
|
48741
|
+
const DJ = /* @__PURE__ */ ve(zJ, [["__scopeId", "data-v-1e34eb72"]]), NJ = "3.0.0", LJ = {
|
|
48740
48742
|
title: "CoinMarketCap",
|
|
48741
48743
|
description: `The CoinMarketCap Professional API is a suite of high-performance RESTful JSON endpoints that are specifically designed to meet the mission-critical demands of application developers, data scientists, and enterprise business platforms.
|
|
48742
48744
|
|
|
@@ -48744,11 +48746,11 @@ Contact Support:
|
|
|
48744
48746
|
Name: No Contact
|
|
48745
48747
|
Email: email@example.com`,
|
|
48746
48748
|
version: "1.0.0"
|
|
48747
|
-
},
|
|
48749
|
+
}, BJ = [
|
|
48748
48750
|
{
|
|
48749
48751
|
url: "http://{{baseurl}}"
|
|
48750
48752
|
}
|
|
48751
|
-
],
|
|
48753
|
+
], GJ = [
|
|
48752
48754
|
{
|
|
48753
48755
|
name: "v1"
|
|
48754
48756
|
},
|
|
@@ -48773,7 +48775,7 @@ Contact Support:
|
|
|
48773
48775
|
{
|
|
48774
48776
|
name: "v1 > global-metrics/quotes"
|
|
48775
48777
|
}
|
|
48776
|
-
],
|
|
48778
|
+
], FJ = {
|
|
48777
48779
|
"/v1/cryptocurrency/listings/historical": {
|
|
48778
48780
|
get: {
|
|
48779
48781
|
tags: [
|
|
@@ -50022,13 +50024,13 @@ At each "interval" period, the historic quote that is closest in time to the req
|
|
|
50022
50024
|
}
|
|
50023
50025
|
}
|
|
50024
50026
|
}
|
|
50025
|
-
},
|
|
50026
|
-
openapi:
|
|
50027
|
-
info:
|
|
50028
|
-
servers:
|
|
50029
|
-
tags:
|
|
50030
|
-
paths:
|
|
50031
|
-
},
|
|
50027
|
+
}, HJ = {
|
|
50028
|
+
openapi: NJ,
|
|
50029
|
+
info: LJ,
|
|
50030
|
+
servers: BJ,
|
|
50031
|
+
tags: GJ,
|
|
50032
|
+
paths: FJ
|
|
50033
|
+
}, KJ = "3.0.2", JJ = {
|
|
50032
50034
|
title: "Swagger Petstore - OpenAPI 3.0",
|
|
50033
50035
|
description: `This is a sample Pet Store Server based on the OpenAPI 3.0 specification. You can find out more about
|
|
50034
50036
|
Swagger at [http://swagger.io](http://swagger.io). In the third iteration of the pet store, we've switched to the design first approach!
|
|
@@ -50047,14 +50049,14 @@ Some useful links:
|
|
|
50047
50049
|
url: "http://www.apache.org/licenses/LICENSE-2.0.html"
|
|
50048
50050
|
},
|
|
50049
50051
|
version: "1.0.11"
|
|
50050
|
-
},
|
|
50052
|
+
}, eee = {
|
|
50051
50053
|
description: "Find out more about Swagger",
|
|
50052
50054
|
url: "http://swagger.io"
|
|
50053
|
-
},
|
|
50055
|
+
}, tee = [
|
|
50054
50056
|
{
|
|
50055
50057
|
url: "https://petstore3.swagger.io/api/v3"
|
|
50056
50058
|
}
|
|
50057
|
-
],
|
|
50059
|
+
], ree = [
|
|
50058
50060
|
{
|
|
50059
50061
|
name: "pet",
|
|
50060
50062
|
description: "Everything about your Pets",
|
|
@@ -50075,7 +50077,7 @@ Some useful links:
|
|
|
50075
50077
|
name: "user",
|
|
50076
50078
|
description: "Operations about user"
|
|
50077
50079
|
}
|
|
50078
|
-
],
|
|
50080
|
+
], nee = {
|
|
50079
50081
|
"/pet": {
|
|
50080
50082
|
put: {
|
|
50081
50083
|
tags: [
|
|
@@ -50961,7 +50963,7 @@ Some useful links:
|
|
|
50961
50963
|
}
|
|
50962
50964
|
}
|
|
50963
50965
|
}
|
|
50964
|
-
},
|
|
50966
|
+
}, iee = {
|
|
50965
50967
|
schemas: {
|
|
50966
50968
|
Order: {
|
|
50967
50969
|
type: "object",
|
|
@@ -51251,15 +51253,15 @@ Some useful links:
|
|
|
51251
51253
|
in: "header"
|
|
51252
51254
|
}
|
|
51253
51255
|
}
|
|
51254
|
-
},
|
|
51255
|
-
openapi:
|
|
51256
|
-
info:
|
|
51257
|
-
externalDocs:
|
|
51258
|
-
servers:
|
|
51259
|
-
tags:
|
|
51260
|
-
paths:
|
|
51261
|
-
components:
|
|
51262
|
-
}, Gu = (t) => (
|
|
51256
|
+
}, oee = {
|
|
51257
|
+
openapi: KJ,
|
|
51258
|
+
info: JJ,
|
|
51259
|
+
externalDocs: eee,
|
|
51260
|
+
servers: tee,
|
|
51261
|
+
tags: ree,
|
|
51262
|
+
paths: nee,
|
|
51263
|
+
components: iee
|
|
51264
|
+
}, Gu = (t) => (Gr("data-v-00bc847e"), t = t(), Fr(), t), see = { class: "start custom-scroll" }, aee = { class: "start-copy" }, lee = /* @__PURE__ */ ho('<div class="start-logo" data-v-00bc847e><svg height="36" viewBox="0 0 36 36" width="36" xmlns="http://www.w3.org/2000/svg" data-v-00bc847e><path d="M18 0a18 18 0 1 1 0 36 18 18 0 0 1 0-36Zm11.2 6.5c-3.3-3.3-11.1-1-17.4 5.3-6.2 6.3-8.6 14-5.3 17.4 3.3 3.3 11 .9 17.3-5.4 6.3-6.2 8.7-14 5.4-17.3ZM17.6 12a6.3 6.3 0 1 1 0 12.7 6.3 6.3 0 0 1 0-12.7Z" fill="currentColor" fill-rule="evenodd" data-v-00bc847e></path></svg></div><h1 class="start-h1" data-v-00bc847e>Swagger Editor</h1><p class="start-p" data-v-00bc847e> Welcome to the Scalar API References + Swagger Editor, a Free & Open-Source tool that takes your Swagger/OAS file and generates Beautiful API references. </p>', 3), cee = { class: "start-cta" }, uee = { class: "start-row" }, dee = { class: "start-section" }, fee = /* @__PURE__ */ Gu(() => /* @__PURE__ */ R("div", { class: "start-h2" }, "EXAMPLES", -1)), hee = /* @__PURE__ */ Gu(() => /* @__PURE__ */ R("svg", {
|
|
51263
51265
|
baseProfile: "tiny",
|
|
51264
51266
|
fill: "currentColor",
|
|
51265
51267
|
height: "800",
|
|
@@ -51270,7 +51272,7 @@ Some useful links:
|
|
|
51270
51272
|
xmlns: "http://www.w3.org/2000/svg"
|
|
51271
51273
|
}, [
|
|
51272
51274
|
/* @__PURE__ */ R("path", { d: "M25 21.5a6 6 0 0 1 5.8 4.4c.9 3.3.7 6.8 4.4 8.6 3.3 1.1 4.5 2.5 4.5 6.3a7 7 0 0 1-5.8 6.5c-3.7.6-6.6-.1-8.9-1.5-2.3 1.4-5.2 2-8.9 1.5a7 7 0 0 1-5.8-6.5c0-3.7 1.3-5.2 4.6-6.3 4-2 3.4-5.6 4.3-8.7a6 6 0 0 1 5.8-4.3zm18.4-2.3c-1-.8-5 2.6-6.4 4.2-.7 1-1.2 2.1-1.2 3.5 0 2.7 2 4.9 4.3 4.9 1.8 0 3.4-1.3 4-3 1.3-3.3 1.3-7.7-.7-9.6zm-36.8 0c-2 1.9-2 6.3-.7 9.5.6 1.8 2.2 3 4 3 2.4 0 4.3-2.1 4.3-4.8 0-1.4-.5-2.6-1.2-3.5-1.3-1.6-5.4-5-6.4-4.2zM30.3 1.5c10.1 1.8 9.4 18.7 1.3 17.4-2.3-.4-4-2.5-4.3-5-.3-2.7-.9-13 3-12.4zm-10.6 0c3.9-.6 3.3 9.7 3 12.3-.3 2.6-2 4.7-4.3 5-8.1 1.4-8.8-15.5 1.3-17.3z" })
|
|
51273
|
-
], -1)),
|
|
51275
|
+
], -1)), pee = /* @__PURE__ */ Gu(() => /* @__PURE__ */ R("svg", {
|
|
51274
51276
|
height: "586",
|
|
51275
51277
|
viewBox: "0 0 577.5 586",
|
|
51276
51278
|
width: "577.5",
|
|
@@ -51281,7 +51283,7 @@ Some useful links:
|
|
|
51281
51283
|
fill: "currentColor",
|
|
51282
51284
|
"fill-rule": "nonzero"
|
|
51283
51285
|
})
|
|
51284
|
-
], -1)),
|
|
51286
|
+
], -1)), Oee = /* @__PURE__ */ ho('<div class="start-section" data-v-00bc847e><div class="start-h2" data-v-00bc847e>INTEGRATIONS</div><a class="start-item" href="https://github.com/scalar/scalar/tree/main/packages/fastify-api-reference#readme" target="_blank" data-v-00bc847e><svg fill="currentColor" height="16" viewBox="0 0 19 16" width="19" xmlns="http://www.w3.org/2000/svg" data-v-00bc847e><path d="m18.2 3.1.8-2V.9l-4.7 1.3C15.2 1 15 0 15 0s-2.5 1.6-4.3 1.5c-2 0-3.6.8-4 1-1.8 1.2-2.5 3.3-3.2 3.8L0 8.9 2.3 8l-2 2.5c.2.3 1.2 1.6 2.1 1.3l.4-.1 1.6.5-.7-1 .2-.2.9.3-.1-.8.9.3-.1-.8.3-.1 1-3.5 3.7-2.6-.3.7A4 4 0 0 1 8 7l-.6.2c-.5.5-.7.7-.8 2.5a2 2 0 0 1 1 0c1.6.4 2.2 2.3 1.7 2.9l-.7.6H8v.6h-.7v.5l-.2.2c-.7 0-1.4-.6-1.4-.6 0 .5.4 1.3.4 1.3s1.7 1.1 2.7.7c1-.4.7-2.3 2.8-3.2l3.3-.9.8-2.2-1.7.5v-2l2.5-.6.9-2.2-3.4.9v-2l4.2-1.1Z" fill="currentColor" fill-rule="nonzero" data-v-00bc847e></path></svg><span data-v-00bc847e>Fastify</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#from-a-cdn" target="_blank" data-v-00bc847e><svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" data-v-00bc847e><g data-v-00bc847e><path d="M22.5 1.5h-21A1.5 1.5 0 0 0 0 3v3a1.5 1.5 0 0 0 1.5 1.5h21A1.5 1.5 0 0 0 24 6V3a1.5 1.5 0 0 0-1.5-1.5Zm-19.25 3A1.25 1.25 0 1 1 4.5 5.75 1.25 1.25 0 0 1 3.25 4.5ZM8.5 5.75A1.25 1.25 0 1 1 9.75 4.5 1.25 1.25 0 0 1 8.5 5.75Z" fill="currentColor" data-v-00bc847e></path><path d="M22.5 9h-21A1.5 1.5 0 0 0 0 10.5v3A1.5 1.5 0 0 0 1.5 15h21a1.5 1.5 0 0 0 1.5-1.5v-3A1.5 1.5 0 0 0 22.5 9ZM3.25 12a1.25 1.25 0 1 1 1.25 1.25A1.25 1.25 0 0 1 3.25 12Zm5.25 1.25A1.25 1.25 0 1 1 9.75 12a1.25 1.25 0 0 1-1.25 1.25Z" fill="currentColor" data-v-00bc847e></path><path d="M22.5 16.5h-21A1.5 1.5 0 0 0 0 18v3a1.5 1.5 0 0 0 1.5 1.5h21A1.5 1.5 0 0 0 24 21v-3a1.5 1.5 0 0 0-1.5-1.5Zm-19.25 3a1.25 1.25 0 1 1 1.25 1.25 1.25 1.25 0 0 1-1.25-1.25Zm5.25 1.25a1.25 1.25 0 1 1 1.25-1.25 1.25 1.25 0 0 1-1.25 1.25Z" fill="currentColor" data-v-00bc847e></path></g></svg><span data-v-00bc847e>CDN</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#with-vuejs" target="_blank" data-v-00bc847e><svg height="170" viewBox="0 0 196.3 170" width="196.3" xmlns="http://www.w3.org/2000/svg" data-v-00bc847e><g fill="currentColor" fill-rule="nonzero" data-v-00bc847e><polygon points="39.23 0 0 0 2.9450761 5.1010782 98.16 170.02 196.32 0 157.06 0 98.16 102.01 42.175701 5.0991171" data-v-00bc847e></polygon><polygon points="75.5 2.009956e-14 0 2.009956e-14 2.94 5.1 78.44871 5.1 98.16 39.26 117.87937 5.1 193.38 5.1 196.325 0 120.82 7.8065636e-15 114.97322 2.009956e-14 98.16 29.037153 81.35 2.009956e-14" data-v-00bc847e></polygon></g></svg><span data-v-00bc847e>Vue</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#with-react" target="_blank" data-v-00bc847e><svg height="23.3" viewBox="0 0 22 23.3" width="22" xmlns="http://www.w3.org/2000/svg" data-v-00bc847e><g fill="none" fill-rule="evenodd" data-v-00bc847e><circle cx="11" cy="11.6" fill="currentColor" fill-rule="nonzero" r="2" data-v-00bc847e></circle><g stroke="currentColor" data-v-00bc847e><ellipse cx="11" cy="11.6" rx="11" ry="4.2" data-v-00bc847e></ellipse><ellipse cx="11" cy="11.6" rx="11" ry="4.2" transform="rotate(60 11 11.6)" data-v-00bc847e></ellipse><ellipse cx="11" cy="11.6" rx="11" ry="4.2" transform="rotate(120 11 11.6)" data-v-00bc847e></ellipse></g></g></svg><span data-v-00bc847e>React</span></a></div>', 1), mee = { class: "start-section start-section-colors" }, gee = /* @__PURE__ */ Gu(() => /* @__PURE__ */ R("p", { class: "start-h2" }, "THEMING", -1)), yee = ["onClick"], vee = /* @__PURE__ */ ho('<p class="start-h1" data-v-00bc847e>Features</p><ul class="start-ul" data-v-00bc847e><li data-v-00bc847e><p class="start-h3" data-v-00bc847e>Customize</p> Bring your typography & color palettes, or use our themes! </li><li data-v-00bc847e><p class="start-h3" data-v-00bc847e>Testing</p> A deeply integrated Rest API Client (Also Free & Open-Source) </li><li data-v-00bc847e><p class="start-h3" data-v-00bc847e>Search</p> Fully integrated Search (Using fuse.js) </li><li data-v-00bc847e><p class="start-h3" data-v-00bc847e>Hosting</p> Free subdomain hosting on https://apidocumentation.com </li><li data-v-00bc847e><p class="start-h3" data-v-00bc847e>Openapi & Swagger</p> Support for OpenAPI 3.1, OpenAPI 3.0, and Swagger 2.0 </li><li data-v-00bc847e><p class="start-h3" data-v-00bc847e>Code Samples</p> Code samples to show off your API in most popular languages </li></ul>', 2), bee = /* @__PURE__ */ fe({
|
|
51285
51287
|
__name: "GettingStarted",
|
|
51286
51288
|
props: {
|
|
51287
51289
|
theme: {},
|
|
@@ -51303,17 +51305,17 @@ Some useful links:
|
|
|
51303
51305
|
return a === null ? !1 : s(a) === r.value;
|
|
51304
51306
|
}
|
|
51305
51307
|
function s(a) {
|
|
51306
|
-
return a === "Petstore" ? JSON.stringify(
|
|
51308
|
+
return a === "Petstore" ? JSON.stringify(oee, null, 2) : a === "CoinMarketCap" ? JSON.stringify(HJ, null, 2) : "";
|
|
51307
51309
|
}
|
|
51308
51310
|
return at(
|
|
51309
51311
|
() => r.value,
|
|
51310
51312
|
() => {
|
|
51311
51313
|
o(i.value) || (i.value = null);
|
|
51312
51314
|
}
|
|
51313
|
-
), (a, l) => (P(), V("div",
|
|
51314
|
-
R("div",
|
|
51315
|
-
|
|
51316
|
-
R("div",
|
|
51315
|
+
), (a, l) => (P(), V("div", see, [
|
|
51316
|
+
R("div", aee, [
|
|
51317
|
+
lee,
|
|
51318
|
+
R("div", cee, [
|
|
51317
51319
|
B($(xv), {
|
|
51318
51320
|
fullWidth: "",
|
|
51319
51321
|
onClick: l[0] || (l[0] = (c) => i.value = "Petstore")
|
|
@@ -51335,27 +51337,27 @@ Some useful links:
|
|
|
51335
51337
|
})
|
|
51336
51338
|
])
|
|
51337
51339
|
]),
|
|
51338
|
-
R("div",
|
|
51339
|
-
R("div",
|
|
51340
|
-
|
|
51340
|
+
R("div", uee, [
|
|
51341
|
+
R("div", dee, [
|
|
51342
|
+
fee,
|
|
51341
51343
|
R("div", {
|
|
51342
51344
|
class: _e(["start-item", { "start-item-active": o("Petstore") }]),
|
|
51343
51345
|
onClick: l[2] || (l[2] = (c) => i.value = "Petstore")
|
|
51344
51346
|
}, [
|
|
51345
|
-
|
|
51347
|
+
hee,
|
|
51346
51348
|
ye(" Petstore ")
|
|
51347
51349
|
], 2),
|
|
51348
51350
|
R("div", {
|
|
51349
51351
|
class: _e(["start-item", { "start-item-active": o("CoinMarketCap") }]),
|
|
51350
51352
|
onClick: l[3] || (l[3] = (c) => i.value = "CoinMarketCap")
|
|
51351
51353
|
}, [
|
|
51352
|
-
|
|
51354
|
+
pee,
|
|
51353
51355
|
ye(" CoinMarketCap ")
|
|
51354
51356
|
], 2)
|
|
51355
51357
|
]),
|
|
51356
|
-
|
|
51357
|
-
R("div",
|
|
51358
|
-
|
|
51358
|
+
Oee,
|
|
51359
|
+
R("div", mee, [
|
|
51360
|
+
gee,
|
|
51359
51361
|
(P(), V(me, null, Ye(n, (c) => R("div", {
|
|
51360
51362
|
key: c,
|
|
51361
51363
|
class: _e(["start-item", { "start-item-active": c === a.theme }]),
|
|
@@ -51365,17 +51367,17 @@ Some useful links:
|
|
|
51365
51367
|
class: _e(["start-item-color", `start-item-color-${c}`])
|
|
51366
51368
|
}, null, 2),
|
|
51367
51369
|
ye(" " + pe(c.toLocaleLowerCase()), 1)
|
|
51368
|
-
], 10,
|
|
51370
|
+
], 10, yee)), 64))
|
|
51369
51371
|
])
|
|
51370
51372
|
]),
|
|
51371
|
-
|
|
51373
|
+
vee
|
|
51372
51374
|
]));
|
|
51373
51375
|
}
|
|
51374
51376
|
});
|
|
51375
|
-
const __ = /* @__PURE__ */
|
|
51377
|
+
const __ = /* @__PURE__ */ ve(bee, [["__scopeId", "data-v-00bc847e"]]), See = { class: "references-header" }, $ee = { class: "references-navigation t-doc__sidebar" }, wee = { class: "references-navigation-list" }, Pee = { class: "references-editor" }, _ee = { class: "references-editor-textarea" }, Qee = { class: "references-rendered" }, xee = {
|
|
51376
51378
|
key: 0,
|
|
51377
51379
|
class: "references-footer"
|
|
51378
|
-
},
|
|
51380
|
+
}, kee = /* @__PURE__ */ fe({
|
|
51379
51381
|
__name: "ApiReferenceLayout",
|
|
51380
51382
|
props: {
|
|
51381
51383
|
configuration: {},
|
|
@@ -51429,11 +51431,11 @@ const __ = /* @__PURE__ */ Se(yee, [["__scopeId", "data-v-00bc847e"]]), vee = {
|
|
|
51429
51431
|
]]),
|
|
51430
51432
|
style: fo({ "--full-height": `${n.value}px` })
|
|
51431
51433
|
}, [
|
|
51432
|
-
R("div",
|
|
51434
|
+
R("div", See, [
|
|
51433
51435
|
ge(f.$slots, "header", Pr(_r(u.value)), void 0, !0)
|
|
51434
51436
|
]),
|
|
51435
|
-
ot(R("aside",
|
|
51436
|
-
R("div",
|
|
51437
|
+
ot(R("aside", $ee, [
|
|
51438
|
+
R("div", wee, [
|
|
51437
51439
|
B(hp, { parsedSpec: f.parsedSpec }, {
|
|
51438
51440
|
"sidebar-start": D(() => [
|
|
51439
51441
|
ge(f.$slots, "sidebar-start", Pr(_r(u.value)), void 0, !0)
|
|
@@ -51447,16 +51449,16 @@ const __ = /* @__PURE__ */ Se(yee, [["__scopeId", "data-v-00bc847e"]]), vee = {
|
|
|
51447
51449
|
], 512), [
|
|
51448
51450
|
[io, f.configuration.showSidebar]
|
|
51449
51451
|
]),
|
|
51450
|
-
ot(R("div",
|
|
51451
|
-
R("div",
|
|
51452
|
+
ot(R("div", Pee, [
|
|
51453
|
+
R("div", _ee, [
|
|
51452
51454
|
ge(f.$slots, "editor", Pr(_r(u.value)), void 0, !0)
|
|
51453
51455
|
])
|
|
51454
51456
|
], 512), [
|
|
51455
51457
|
[io, c.value]
|
|
51456
51458
|
]),
|
|
51457
51459
|
l.value ? (P(), V(me, { key: 0 }, [
|
|
51458
|
-
R("div",
|
|
51459
|
-
B($(
|
|
51460
|
+
R("div", Qee, [
|
|
51461
|
+
B($(DJ), {
|
|
51460
51462
|
layout: f.configuration.layout === "classic" ? "accordion" : "default",
|
|
51461
51463
|
parsedSpec: f.parsedSpec,
|
|
51462
51464
|
rawSpec: f.rawSpec
|
|
@@ -51487,11 +51489,11 @@ const __ = /* @__PURE__ */ Se(yee, [["__scopeId", "data-v-00bc847e"]]), vee = {
|
|
|
51487
51489
|
} : void 0
|
|
51488
51490
|
]), 1032, ["layout", "parsedSpec", "rawSpec"])
|
|
51489
51491
|
]),
|
|
51490
|
-
f.$slots.footer ? (P(), V("div",
|
|
51492
|
+
f.$slots.footer ? (P(), V("div", xee, [
|
|
51491
51493
|
ge(f.$slots, "footer", Pr(_r(u.value)), void 0, !0)
|
|
51492
51494
|
])) : de("", !0)
|
|
51493
51495
|
], 64)) : de("", !0),
|
|
51494
|
-
B(
|
|
51496
|
+
B(hG, {
|
|
51495
51497
|
parsedSpec: f.parsedSpec,
|
|
51496
51498
|
proxyUrl: (v = f.configuration) == null ? void 0 : v.proxy
|
|
51497
51499
|
}, {
|
|
@@ -51507,7 +51509,7 @@ const __ = /* @__PURE__ */ Se(yee, [["__scopeId", "data-v-00bc847e"]]), vee = {
|
|
|
51507
51509
|
};
|
|
51508
51510
|
}
|
|
51509
51511
|
});
|
|
51510
|
-
const
|
|
51512
|
+
const Tee = /* @__PURE__ */ ve(kee, [["__scopeId", "data-v-1e0b2350"]]), Q_ = /* @__PURE__ */ fe({
|
|
51511
51513
|
inheritAttrs: !1,
|
|
51512
51514
|
__name: "ApiReferenceBase",
|
|
51513
51515
|
props: {
|
|
@@ -51516,9 +51518,9 @@ const xee = /* @__PURE__ */ Se(Qee, [["__scopeId", "data-v-1e0b2350"]]), Q_ = /*
|
|
|
51516
51518
|
emits: ["changeTheme", "updateContent"],
|
|
51517
51519
|
setup(t, { emit: e }) {
|
|
51518
51520
|
const r = t, n = z_(), i = mp(
|
|
51519
|
-
() => import("./index-
|
|
51521
|
+
() => import("./index-2372d4a4.js").then((w) => w.SwaggerEditor)
|
|
51520
51522
|
), o = Ee(
|
|
51521
|
-
() => Aw(r.configuration ?? {}, { ...
|
|
51523
|
+
() => Aw(r.configuration ?? {}, { ...EG })
|
|
51522
51524
|
), s = Ee(() => o.value.spec), { rawSpecRef: a, setRawSpecRef: l } = tB({
|
|
51523
51525
|
configuration: s,
|
|
51524
51526
|
proxy: o.value.proxy
|
|
@@ -51563,7 +51565,7 @@ const xee = /* @__PURE__ */ Se(Qee, [["__scopeId", "data-v-1e0b2350"]]), Q_ = /*
|
|
|
51563
51565
|
B($(Qb), {
|
|
51564
51566
|
id: (I = o.value) == null ? void 0 : I.theme
|
|
51565
51567
|
}, null, 8, ["id"]),
|
|
51566
|
-
B($(
|
|
51568
|
+
B($(CG)),
|
|
51567
51569
|
B($(uO), {
|
|
51568
51570
|
state: $(v),
|
|
51569
51571
|
title: "",
|
|
@@ -51585,7 +51587,7 @@ const xee = /* @__PURE__ */ Se(Qee, [["__scopeId", "data-v-1e0b2350"]]), Q_ = /*
|
|
|
51585
51587
|
}, 8, ["state"]),
|
|
51586
51588
|
B($(JP), null, {
|
|
51587
51589
|
default: D(({ styles: E }) => [
|
|
51588
|
-
B(
|
|
51590
|
+
B(Tee, hs(w.$attrs, {
|
|
51589
51591
|
class: E,
|
|
51590
51592
|
configuration: o.value,
|
|
51591
51593
|
parsedSpec: $(c),
|
|
@@ -51639,7 +51641,7 @@ const xee = /* @__PURE__ */ Se(Qee, [["__scopeId", "data-v-1e0b2350"]]), Q_ = /*
|
|
|
51639
51641
|
], 64);
|
|
51640
51642
|
};
|
|
51641
51643
|
}
|
|
51642
|
-
}),
|
|
51644
|
+
}), Ree = /* @__PURE__ */ fe({
|
|
51643
51645
|
__name: "DarkModeIconToggle",
|
|
51644
51646
|
setup(t) {
|
|
51645
51647
|
const { toggleDarkMode: e, isDark: r } = Yw();
|
|
@@ -51661,37 +51663,37 @@ const xee = /* @__PURE__ */ Se(Qee, [["__scopeId", "data-v-1e0b2350"]]), Q_ = /*
|
|
|
51661
51663
|
]));
|
|
51662
51664
|
}
|
|
51663
51665
|
});
|
|
51664
|
-
const
|
|
51666
|
+
const Cee = /* @__PURE__ */ ve(Ree, [["__scopeId", "data-v-9fb3c722"]]), Eee = { class: "references-classic-header-container" }, Xee = { class: "references-classic-header" }, Aee = /* @__PURE__ */ fe({
|
|
51665
51667
|
__name: "ClassicHeader",
|
|
51666
51668
|
setup(t) {
|
|
51667
|
-
return (e, r) => (P(), V("div",
|
|
51668
|
-
R("div",
|
|
51669
|
+
return (e, r) => (P(), V("div", Eee, [
|
|
51670
|
+
R("div", Xee, [
|
|
51669
51671
|
ge(e.$slots, "default", {}, void 0, !0),
|
|
51670
|
-
B(
|
|
51672
|
+
B(Cee)
|
|
51671
51673
|
])
|
|
51672
51674
|
]));
|
|
51673
51675
|
}
|
|
51674
51676
|
});
|
|
51675
|
-
const
|
|
51676
|
-
function
|
|
51677
|
+
const qee = /* @__PURE__ */ ve(Aee, [["__scopeId", "data-v-f283cde8"]]);
|
|
51678
|
+
function Uee() {
|
|
51677
51679
|
return typeof navigator < "u" ? /Mac/.test(navigator.platform) : !1;
|
|
51678
51680
|
}
|
|
51679
|
-
function
|
|
51681
|
+
function Zee() {
|
|
51680
51682
|
const t = Xe(!0);
|
|
51681
51683
|
return Ti(() => t.value = !0), D_(() => t.value = !0), N_(() => t.value = !1), {
|
|
51682
51684
|
isActive: Ee(() => t.value)
|
|
51683
51685
|
};
|
|
51684
51686
|
}
|
|
51685
|
-
function
|
|
51687
|
+
function jee(t, e) {
|
|
51686
51688
|
let r = t;
|
|
51687
51689
|
const n = e.required && e.required.includes(t);
|
|
51688
51690
|
return r += n ? " REQUIRED " : " optional ", e.properties[t] && (r += e.properties[t].type, e.properties[t].description && (r += " " + e.properties[t].description)), r;
|
|
51689
51691
|
}
|
|
51690
|
-
function
|
|
51692
|
+
function Iee(t) {
|
|
51691
51693
|
var n;
|
|
51692
51694
|
const e = ["Body"], r = (n = t == null ? void 0 : t.schema) == null ? void 0 : n.properties;
|
|
51693
51695
|
return r && Object.keys(r).forEach((i) => {
|
|
51694
|
-
e.push(
|
|
51696
|
+
e.push(jee(i, t.schema));
|
|
51695
51697
|
const o = r[i];
|
|
51696
51698
|
o.type === "object" && !!o.properties && o.properties && Object.keys(o.properties).forEach((a) => {
|
|
51697
51699
|
var l, c;
|
|
@@ -51699,42 +51701,40 @@ function Zee(t) {
|
|
|
51699
51701
|
});
|
|
51700
51702
|
}), e;
|
|
51701
51703
|
}
|
|
51702
|
-
function
|
|
51704
|
+
function Wee(t) {
|
|
51703
51705
|
var e, r;
|
|
51704
51706
|
try {
|
|
51705
51707
|
const n = (r = (e = t == null ? void 0 : t.information) == null ? void 0 : e.requestBody) == null ? void 0 : r.content["application/json"];
|
|
51706
51708
|
if (!n)
|
|
51707
51709
|
throw new Error("Body not found");
|
|
51708
|
-
return
|
|
51710
|
+
return Iee(n);
|
|
51709
51711
|
} catch {
|
|
51710
51712
|
return !1;
|
|
51711
51713
|
}
|
|
51712
51714
|
}
|
|
51713
|
-
const
|
|
51715
|
+
const Vee = (t) => (Gr("data-v-007b2a03"), t = t(), Fr(), t), Yee = {
|
|
51714
51716
|
key: 0,
|
|
51715
51717
|
class: "ref-search-list custom-scroll"
|
|
51716
|
-
},
|
|
51718
|
+
}, Mee = ["href", "onFocus", "onMouseover"], zee = {
|
|
51717
51719
|
key: 0,
|
|
51718
51720
|
class: "item-entry-title"
|
|
51719
|
-
},
|
|
51721
|
+
}, Dee = {
|
|
51720
51722
|
key: 1,
|
|
51721
51723
|
class: "item-entry-path"
|
|
51722
|
-
},
|
|
51724
|
+
}, Nee = {
|
|
51723
51725
|
key: 2,
|
|
51724
51726
|
class: "item-entry-description"
|
|
51725
|
-
},
|
|
51727
|
+
}, Lee = /* @__PURE__ */ Vee(() => /* @__PURE__ */ R("div", { class: "ref-search-meta" }, [
|
|
51726
51728
|
/* @__PURE__ */ R("span", null, "↑↓ Navigate"),
|
|
51727
51729
|
/* @__PURE__ */ R("span", null, "⏎ Select")
|
|
51728
|
-
], -1)),
|
|
51730
|
+
], -1)), Bee = /* @__PURE__ */ fe({
|
|
51729
51731
|
__name: "SearchModal",
|
|
51730
51732
|
props: {
|
|
51731
51733
|
parsedSpec: {},
|
|
51732
51734
|
modalState: {}
|
|
51733
51735
|
},
|
|
51734
51736
|
setup(t) {
|
|
51735
|
-
const e = t, r = L_(e, "parsedSpec")
|
|
51736
|
-
let n = [];
|
|
51737
|
-
const i = Xe([]), o = Xe(0), s = Xe(""), a = Xe(null), l = new bQ(n, {
|
|
51737
|
+
const e = t, r = L_(e, "parsedSpec"), n = Xe([]), i = Xe([]), o = Xe(0), s = Xe(""), a = Xe(null), l = new bQ(n.value, {
|
|
51738
51738
|
keys: ["title", "description", "body"]
|
|
51739
51739
|
}), c = () => {
|
|
51740
51740
|
o.value = 0, i.value = l.search(s.value);
|
|
@@ -51750,7 +51750,7 @@ const Iee = (t) => (Xr("data-v-d68ffe90"), t = t(), Ar(), t), Wee = {
|
|
|
51750
51750
|
r.value,
|
|
51751
51751
|
() => {
|
|
51752
51752
|
var p, v, g;
|
|
51753
|
-
if (n = [], !((v = (p = e.parsedSpec) == null ? void 0 : p.tags) != null && v.length)) {
|
|
51753
|
+
if (n.value = [], !((v = (p = e.parsedSpec) == null ? void 0 : p.tags) != null && v.length)) {
|
|
51754
51754
|
l.setCollection([]);
|
|
51755
51755
|
return;
|
|
51756
51756
|
}
|
|
@@ -51763,8 +51763,8 @@ const Iee = (t) => (Xr("data-v-d68ffe90"), t = t(), Ar(), t), Wee = {
|
|
|
51763
51763
|
tag: O.name,
|
|
51764
51764
|
body: ""
|
|
51765
51765
|
};
|
|
51766
|
-
n.push(b), O.operations && O.operations.forEach((w) => {
|
|
51767
|
-
const { parameterMap: Q } = vO({ operation: w }), I =
|
|
51766
|
+
n.value.push(b), O.operations && O.operations.forEach((w) => {
|
|
51767
|
+
const { parameterMap: Q } = vO({ operation: w }), I = Wee(w) || Q.value;
|
|
51768
51768
|
let E = null;
|
|
51769
51769
|
typeof I != "boolean" && (E = I);
|
|
51770
51770
|
const W = {
|
|
@@ -51778,7 +51778,7 @@ const Iee = (t) => (Xr("data-v-d68ffe90"), t = t(), Ar(), t), Wee = {
|
|
|
51778
51778
|
tag: O.name,
|
|
51779
51779
|
operation: w
|
|
51780
51780
|
};
|
|
51781
|
-
E && (W.body = E), n.push(W);
|
|
51781
|
+
E && (W.body = E), n.value.push(W);
|
|
51782
51782
|
});
|
|
51783
51783
|
});
|
|
51784
51784
|
const f = (g = e.parsedSpec.components) == null ? void 0 : g.schemas, h = [];
|
|
@@ -51791,7 +51791,7 @@ const Iee = (t) => (Xr("data-v-d68ffe90"), t = t(), Ar(), t), Wee = {
|
|
|
51791
51791
|
tag: O,
|
|
51792
51792
|
body: ""
|
|
51793
51793
|
});
|
|
51794
|
-
}), n = n.concat(h)), l.setCollection(n);
|
|
51794
|
+
}), n.value = n.value.concat(h)), l.setCollection(n.value);
|
|
51795
51795
|
},
|
|
51796
51796
|
{ immediate: !0 }
|
|
51797
51797
|
), Wo({
|
|
@@ -51817,7 +51817,7 @@ const Iee = (t) => (Xr("data-v-d68ffe90"), t = t(), Ar(), t), Wee = {
|
|
|
51817
51817
|
}
|
|
51818
51818
|
});
|
|
51819
51819
|
const d = Ee(
|
|
51820
|
-
() => s.value.length === 0 ? n.map((f) => ({
|
|
51820
|
+
() => s.value.length === 0 ? n.value.map((f) => ({
|
|
51821
51821
|
item: f
|
|
51822
51822
|
})) : i.value
|
|
51823
51823
|
);
|
|
@@ -51841,7 +51841,7 @@ const Iee = (t) => (Xr("data-v-d68ffe90"), t = t(), Ar(), t), Wee = {
|
|
|
51841
51841
|
[Yt, s.value]
|
|
51842
51842
|
])
|
|
51843
51843
|
], 512),
|
|
51844
|
-
d.value.length ? (P(), V("div",
|
|
51844
|
+
d.value.length ? (P(), V("div", Yee, [
|
|
51845
51845
|
(P(!0), V(me, null, Ye(d.value, (p, v) => (P(), V("a", {
|
|
51846
51846
|
key: p.refIndex,
|
|
51847
51847
|
class: _e(["item-entry", {
|
|
@@ -51857,27 +51857,27 @@ const Iee = (t) => (Xr("data-v-d68ffe90"), t = t(), Ar(), t), Wee = {
|
|
|
51857
51857
|
R("div", {
|
|
51858
51858
|
class: _e(["item-entry-http-verb", `item-entry-http-verb--${p.item.httpVerb}`])
|
|
51859
51859
|
}, pe(p.item.httpVerb), 3),
|
|
51860
|
-
p.item.title ? (P(), V("div",
|
|
51861
|
-
(p.item.httpVerb || p.item.path) && p.item.path !== p.item.title ? (P(), V("div",
|
|
51862
|
-
], 42,
|
|
51860
|
+
p.item.title ? (P(), V("div", zee, pe(p.item.title), 1)) : de("", !0),
|
|
51861
|
+
(p.item.httpVerb || p.item.path) && p.item.path !== p.item.title ? (P(), V("div", Dee, pe(p.item.path), 1)) : p.item.description ? (P(), V("div", Nee, pe(p.item.description), 1)) : de("", !0)
|
|
51862
|
+
], 42, Mee))), 128))
|
|
51863
51863
|
])) : de("", !0),
|
|
51864
|
-
|
|
51864
|
+
Lee
|
|
51865
51865
|
]),
|
|
51866
51866
|
_: 1
|
|
51867
51867
|
}, 8, ["state"]));
|
|
51868
51868
|
}
|
|
51869
51869
|
});
|
|
51870
|
-
const
|
|
51870
|
+
const Gee = /* @__PURE__ */ ve(Bee, [["__scopeId", "data-v-007b2a03"]]), Fee = (t) => (Gr("data-v-4d1f27b5"), t = t(), Fr(), t), Hee = { class: "sidebar-search-input" }, Kee = /* @__PURE__ */ Fee(() => /* @__PURE__ */ R("span", {
|
|
51871
51871
|
class: "sidebar-search-placeholder",
|
|
51872
51872
|
type: "text"
|
|
51873
|
-
}, " Search ", -1)),
|
|
51873
|
+
}, " Search ", -1)), Jee = { class: "sidebar-search-shortcut" }, ete = { class: "sidebar-search-key" }, tte = /* @__PURE__ */ fe({
|
|
51874
51874
|
__name: "SearchButton",
|
|
51875
51875
|
props: {
|
|
51876
51876
|
spec: {},
|
|
51877
51877
|
searchHotKey: { default: "k" }
|
|
51878
51878
|
},
|
|
51879
51879
|
setup(t) {
|
|
51880
|
-
const e = t, { isActive: r } =
|
|
51880
|
+
const e = t, { isActive: r } = Zee(), n = dO();
|
|
51881
51881
|
return Wo({
|
|
51882
51882
|
keyList: [e.searchHotKey],
|
|
51883
51883
|
withCtrlCmd: !0,
|
|
@@ -51894,21 +51894,21 @@ const Lee = /* @__PURE__ */ Se(Nee, [["__scopeId", "data-v-d68ffe90"]]), Bee = (
|
|
|
51894
51894
|
class: "search-icon",
|
|
51895
51895
|
icon: "Search"
|
|
51896
51896
|
}),
|
|
51897
|
-
R("div",
|
|
51898
|
-
|
|
51899
|
-
R("span",
|
|
51900
|
-
R("span",
|
|
51897
|
+
R("div", Hee, [
|
|
51898
|
+
Kee,
|
|
51899
|
+
R("span", Jee, [
|
|
51900
|
+
R("span", ete, pe($(Uee)() ? "⌘" : "⌃") + pe(i.searchHotKey), 1)
|
|
51901
51901
|
])
|
|
51902
51902
|
])
|
|
51903
51903
|
]),
|
|
51904
|
-
B(
|
|
51904
|
+
B(Gee, {
|
|
51905
51905
|
modalState: $(n),
|
|
51906
51906
|
parsedSpec: i.spec
|
|
51907
51907
|
}, null, 8, ["modalState", "parsedSpec"])
|
|
51908
51908
|
], 64));
|
|
51909
51909
|
}
|
|
51910
51910
|
});
|
|
51911
|
-
const x_ = /* @__PURE__ */
|
|
51911
|
+
const x_ = /* @__PURE__ */ ve(tte, [["__scopeId", "data-v-4d1f27b5"]]), rte = /* @__PURE__ */ fe({
|
|
51912
51912
|
__name: "ClassicLayout",
|
|
51913
51913
|
props: {
|
|
51914
51914
|
configuration: {}
|
|
@@ -51917,7 +51917,7 @@ const x_ = /* @__PURE__ */ Se(Jee, [["__scopeId", "data-v-4d1f27b5"]]), ete = /*
|
|
|
51917
51917
|
const e = t, r = Ee(() => ({ ...e.configuration, showSidebar: !1 }));
|
|
51918
51918
|
return (n, i) => (P(), le(Q_, { configuration: r.value }, {
|
|
51919
51919
|
"content-start": D(({ spec: o }) => [
|
|
51920
|
-
B(
|
|
51920
|
+
B(qee, null, {
|
|
51921
51921
|
default: D(() => [
|
|
51922
51922
|
B(x_, {
|
|
51923
51923
|
searchHotKey: r.value.searchHotKey,
|
|
@@ -51933,15 +51933,15 @@ const x_ = /* @__PURE__ */ Se(Jee, [["__scopeId", "data-v-4d1f27b5"]]), ete = /*
|
|
|
51933
51933
|
_: 3
|
|
51934
51934
|
}, 8, ["configuration"]));
|
|
51935
51935
|
}
|
|
51936
|
-
}),
|
|
51936
|
+
}), nte = (t) => (Gr("data-v-f73eeee8"), t = t(), Fr(), t), ite = { class: "darklight-reference" }, ote = { key: 0 }, ste = { key: 1 }, ate = /* @__PURE__ */ nte(() => /* @__PURE__ */ R("a", {
|
|
51937
51937
|
class: "darklight-reference-promo",
|
|
51938
51938
|
href: "https://www.scalar.com",
|
|
51939
51939
|
target: "_blank"
|
|
51940
|
-
}, " Powered by scalar.com ", -1)),
|
|
51940
|
+
}, " Powered by scalar.com ", -1)), lte = /* @__PURE__ */ fe({
|
|
51941
51941
|
__name: "DarkModeToggle",
|
|
51942
51942
|
setup(t) {
|
|
51943
51943
|
const { toggleDarkMode: e, isDark: r } = Yw();
|
|
51944
|
-
return (n, i) => (P(), V("div",
|
|
51944
|
+
return (n, i) => (P(), V("div", ite, [
|
|
51945
51945
|
R("button", {
|
|
51946
51946
|
class: "darklight",
|
|
51947
51947
|
type: "button",
|
|
@@ -51949,13 +51949,13 @@ const x_ = /* @__PURE__ */ Se(Jee, [["__scopeId", "data-v-4d1f27b5"]]), ete = /*
|
|
|
51949
51949
|
(...o) => $(e) && $(e)(...o))
|
|
51950
51950
|
}, [
|
|
51951
51951
|
B($(ar), { icon: "LightDarkModeToggle" }),
|
|
51952
|
-
$(r) ? (P(), V("span",
|
|
51952
|
+
$(r) ? (P(), V("span", ote, "Light Mode")) : (P(), V("span", ste, "Dark Mode"))
|
|
51953
51953
|
]),
|
|
51954
|
-
|
|
51954
|
+
ate
|
|
51955
51955
|
]));
|
|
51956
51956
|
}
|
|
51957
51957
|
});
|
|
51958
|
-
const
|
|
51958
|
+
const cte = /* @__PURE__ */ ve(lte, [["__scopeId", "data-v-f73eeee8"]]), ute = { class: "references-mobile-header t-doc__header" }, dte = { class: "references-mobile-breadcrumbs" }, fte = { class: "references-mobile-header-actions" }, hte = /* @__PURE__ */ fe({
|
|
51959
51959
|
__name: "MobileHeader",
|
|
51960
51960
|
props: {
|
|
51961
51961
|
open: { type: Boolean }
|
|
@@ -51963,19 +51963,21 @@ const ate = /* @__PURE__ */ Se(ste, [["__scopeId", "data-v-f73eeee8"]]), lte = (
|
|
|
51963
51963
|
emits: ["update:open"],
|
|
51964
51964
|
setup(t) {
|
|
51965
51965
|
const { state: e } = Os();
|
|
51966
|
-
return (r, n) => (P(), V("div",
|
|
51966
|
+
return (r, n) => (P(), V("div", ute, [
|
|
51967
51967
|
B($(km), {
|
|
51968
51968
|
icon: r.open ? "Close" : "Menu",
|
|
51969
51969
|
label: r.open ? "Close Menu" : "Open Menu",
|
|
51970
51970
|
size: "md",
|
|
51971
51971
|
onClick: n[0] || (n[0] = (i) => r.$emit("update:open", !r.open))
|
|
51972
51972
|
}, null, 8, ["icon", "label"]),
|
|
51973
|
-
R("span",
|
|
51974
|
-
|
|
51973
|
+
R("span", dte, pe($(e).activeBreadcrumb), 1),
|
|
51974
|
+
R("div", fte, [
|
|
51975
|
+
ge(r.$slots, "actions", {}, void 0, !0)
|
|
51976
|
+
])
|
|
51975
51977
|
]));
|
|
51976
51978
|
}
|
|
51977
51979
|
});
|
|
51978
|
-
const
|
|
51980
|
+
const pte = /* @__PURE__ */ ve(hte, [["__scopeId", "data-v-a04e603b"]]), Ote = { class: "scalar-api-references-standalone-search" }, mte = /* @__PURE__ */ fe({
|
|
51979
51981
|
__name: "ModernLayout",
|
|
51980
51982
|
props: {
|
|
51981
51983
|
configuration: {}
|
|
@@ -51999,7 +52001,7 @@ const hte = /* @__PURE__ */ Se(fte, [["__scopeId", "data-v-faa00a91"]]), pte = {
|
|
|
51999
52001
|
"sidebar-start": D(({ spec: l }) => {
|
|
52000
52002
|
var c;
|
|
52001
52003
|
return [
|
|
52002
|
-
R("div",
|
|
52004
|
+
R("div", Ote, [
|
|
52003
52005
|
B(x_, {
|
|
52004
52006
|
searchHotKey: (c = e.configuration) == null ? void 0 : c.searchHotKey,
|
|
52005
52007
|
spec: l
|
|
@@ -52008,7 +52010,7 @@ const hte = /* @__PURE__ */ Se(fte, [["__scopeId", "data-v-faa00a91"]]), pte = {
|
|
|
52008
52010
|
];
|
|
52009
52011
|
}),
|
|
52010
52012
|
"sidebar-end": D(() => [
|
|
52011
|
-
B(
|
|
52013
|
+
B(cte)
|
|
52012
52014
|
]),
|
|
52013
52015
|
"content-end": D(() => [
|
|
52014
52016
|
ge(s.$slots, "footer", {}, void 0, !0)
|
|
@@ -52018,7 +52020,7 @@ const hte = /* @__PURE__ */ Se(fte, [["__scopeId", "data-v-faa00a91"]]), pte = {
|
|
|
52018
52020
|
$(n) ? {
|
|
52019
52021
|
name: "header",
|
|
52020
52022
|
fn: D(() => [
|
|
52021
|
-
B(
|
|
52023
|
+
B(pte, {
|
|
52022
52024
|
open: r.value,
|
|
52023
52025
|
"onUpdate:open": a[0] || (a[0] = (l) => r.value = l)
|
|
52024
52026
|
}, null, 8, ["open"])
|
|
@@ -52028,10 +52030,10 @@ const hte = /* @__PURE__ */ Se(fte, [["__scopeId", "data-v-faa00a91"]]), pte = {
|
|
|
52028
52030
|
]), 1032, ["class", "configuration"]));
|
|
52029
52031
|
}
|
|
52030
52032
|
});
|
|
52031
|
-
const
|
|
52032
|
-
modern:
|
|
52033
|
-
classic:
|
|
52034
|
-
},
|
|
52033
|
+
const gte = /* @__PURE__ */ ve(mte, [["__scopeId", "data-v-38f803b0"]]), yte = {
|
|
52034
|
+
modern: gte,
|
|
52035
|
+
classic: rte
|
|
52036
|
+
}, lre = /* @__PURE__ */ fe({
|
|
52035
52037
|
__name: "ApiReference",
|
|
52036
52038
|
props: {
|
|
52037
52039
|
configuration: {}
|
|
@@ -52047,7 +52049,7 @@ const mte = /* @__PURE__ */ Se(Ote, [["__scopeId", "data-v-38f803b0"]]), gte = {
|
|
|
52047
52049
|
}
|
|
52048
52050
|
return (o, s) => {
|
|
52049
52051
|
var a;
|
|
52050
|
-
return P(), le(Mn($(
|
|
52052
|
+
return P(), le(Mn($(yte)[((a = o.configuration) == null ? void 0 : a.layout) || "modern"]), {
|
|
52051
52053
|
configuration: o.configuration,
|
|
52052
52054
|
onUpdateContent: n
|
|
52053
52055
|
}, {
|
|
@@ -52061,11 +52063,11 @@ const mte = /* @__PURE__ */ Se(Ote, [["__scopeId", "data-v-38f803b0"]]), gte = {
|
|
|
52061
52063
|
});
|
|
52062
52064
|
export {
|
|
52063
52065
|
Rh as $,
|
|
52064
|
-
|
|
52066
|
+
hG as A,
|
|
52065
52067
|
Zw as B,
|
|
52066
|
-
|
|
52067
|
-
|
|
52068
|
-
|
|
52068
|
+
DJ as C,
|
|
52069
|
+
cte as D,
|
|
52070
|
+
ore as E,
|
|
52069
52071
|
_h as F,
|
|
52070
52072
|
jw as G,
|
|
52071
52073
|
eB as H,
|
|
@@ -52076,41 +52078,41 @@ export {
|
|
|
52076
52078
|
Qh as M,
|
|
52077
52079
|
vn as N,
|
|
52078
52080
|
xh as O,
|
|
52079
|
-
|
|
52081
|
+
Bte as P,
|
|
52080
52082
|
Vw as Q,
|
|
52081
52083
|
JP as R,
|
|
52082
|
-
|
|
52084
|
+
hp as S,
|
|
52083
52085
|
T9 as T,
|
|
52084
|
-
|
|
52086
|
+
sre as U,
|
|
52085
52087
|
B1 as V,
|
|
52086
52088
|
R9 as W,
|
|
52087
52089
|
x9 as X,
|
|
52088
52090
|
gO as Y,
|
|
52089
52091
|
C9 as Z,
|
|
52090
|
-
|
|
52091
|
-
|
|
52092
|
+
ve as _,
|
|
52093
|
+
Vr as a,
|
|
52092
52094
|
xo as a0,
|
|
52093
52095
|
Ww as a1,
|
|
52094
52096
|
Ch as a2,
|
|
52095
52097
|
V9 as a3,
|
|
52096
|
-
|
|
52097
|
-
|
|
52098
|
-
|
|
52098
|
+
Gte as a4,
|
|
52099
|
+
EG as a5,
|
|
52100
|
+
are as b,
|
|
52099
52101
|
Os as c,
|
|
52100
52102
|
Qb as d,
|
|
52101
|
-
|
|
52103
|
+
lre as e,
|
|
52102
52104
|
Tv as f,
|
|
52103
|
-
|
|
52105
|
+
Tee as g,
|
|
52104
52106
|
Q_ as h,
|
|
52105
|
-
|
|
52107
|
+
Gee as i,
|
|
52106
52108
|
x_ as j,
|
|
52107
52109
|
xs as k,
|
|
52108
52110
|
ks as l,
|
|
52109
52111
|
Jn as m,
|
|
52110
52112
|
Rm as n,
|
|
52111
|
-
|
|
52112
|
-
|
|
52113
|
-
|
|
52113
|
+
ire as o,
|
|
52114
|
+
MG as p,
|
|
52115
|
+
DG as q,
|
|
52114
52116
|
E9 as r,
|
|
52115
52117
|
A9 as s,
|
|
52116
52118
|
yo as t,
|