zudoku 0.34.4 → 0.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config/config.d.ts +13 -8
- package/dist/config/validators/common.d.ts +977 -111
- package/dist/config/validators/common.js +26 -1
- package/dist/config/validators/common.js.map +1 -1
- package/dist/config/validators/validate.d.ts +357 -42
- package/dist/lib/authentication/providers/clerk.d.ts +2 -2
- package/dist/lib/authentication/providers/supabase.d.ts +4 -0
- package/dist/lib/authentication/providers/supabase.js +112 -0
- package/dist/lib/authentication/providers/supabase.js.map +1 -0
- package/dist/lib/components/Header.js +3 -3
- package/dist/lib/components/Header.js.map +1 -1
- package/dist/lib/components/InlineCode.js +1 -1
- package/dist/lib/components/InlineCode.js.map +1 -1
- package/dist/lib/components/Layout.js +4 -10
- package/dist/lib/components/Layout.js.map +1 -1
- package/dist/lib/components/Main.d.ts +2 -0
- package/dist/lib/components/Main.js +15 -0
- package/dist/lib/components/Main.js.map +1 -0
- package/dist/lib/components/context/ViewportAnchorContext.d.ts +2 -4
- package/dist/lib/components/context/ViewportAnchorContext.js +2 -4
- package/dist/lib/components/context/ViewportAnchorContext.js.map +1 -1
- package/dist/lib/components/index.d.ts +2 -1
- package/dist/lib/components/navigation/Sidebar.d.ts +3 -1
- package/dist/lib/components/navigation/Sidebar.js +2 -4
- package/dist/lib/components/navigation/Sidebar.js.map +1 -1
- package/dist/lib/components/navigation/SidebarWrapper.d.ts +8 -6
- package/dist/lib/components/navigation/SidebarWrapper.js +1 -2
- package/dist/lib/components/navigation/SidebarWrapper.js.map +1 -1
- package/dist/lib/core/RouteGuard.js +2 -1
- package/dist/lib/core/RouteGuard.js.map +1 -1
- package/dist/lib/oas/graphql/index.js +34 -0
- package/dist/lib/oas/graphql/index.js.map +1 -1
- package/dist/lib/plugins/markdown/MdxPage.d.ts +1 -1
- package/dist/lib/plugins/markdown/MdxPage.js +1 -1
- package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationList.js +2 -1
- package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
- package/dist/lib/plugins/openapi/Sidecar.js +9 -4
- package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
- package/dist/lib/plugins/openapi/SimpleSelect.js +1 -1
- package/dist/lib/plugins/openapi/SimpleSelect.js.map +1 -1
- package/dist/lib/plugins/openapi/graphql/gql.d.ts +1 -1
- package/dist/lib/plugins/openapi/graphql/gql.js +1 -1
- package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
- package/dist/lib/plugins/openapi/graphql/graphql.d.ts +6 -0
- package/dist/lib/plugins/openapi/graphql/graphql.js +2 -0
- package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
- package/dist/lib/plugins/openapi/index.d.ts +1 -1
- package/dist/lib/plugins/openapi/index.js +8 -8
- package/dist/lib/plugins/openapi/index.js.map +1 -1
- package/dist/lib/plugins/openapi/interfaces.d.ts +7 -10
- package/dist/lib/ui/Callout.d.ts +2 -1
- package/dist/lib/ui/Callout.js +3 -2
- package/dist/lib/ui/Callout.js.map +1 -1
- package/dist/lib/util/MdxComponents.d.ts +2 -1
- package/dist/vite/plugin-api.js +5 -9
- package/dist/vite/plugin-api.js.map +1 -1
- package/lib/{Callout-B_sEhkYd.js → Callout-B2vsR09t.js} +70 -52
- package/lib/{Callout-B_sEhkYd.js.map → Callout-B2vsR09t.js.map} +1 -1
- package/lib/Drawer-kDAfOq_2.js +1133 -0
- package/lib/Drawer-kDAfOq_2.js.map +1 -0
- package/lib/{Markdown-DZXjQjpH.js → Markdown-D1Y3cd9l.js} +4471 -3315
- package/lib/Markdown-D1Y3cd9l.js.map +1 -0
- package/lib/{MdxPage-52vRwa_7.js → MdxPage-CUL_SQzW.js} +9 -9
- package/lib/MdxPage-CUL_SQzW.js.map +1 -0
- package/lib/{OasProvider-CDyf845G.js → OasProvider-DEL8ulKm.js} +2 -2
- package/lib/{OasProvider-CDyf845G.js.map → OasProvider-DEL8ulKm.js.map} +1 -1
- package/lib/{OperationList-DdCWaqeE.js → OperationList-D6goKbzX.js} +179 -179
- package/lib/OperationList-D6goKbzX.js.map +1 -0
- package/lib/{SlotletProvider-TydSHROc.js → SlotletProvider-iDmNlxD5.js} +2 -2
- package/lib/{SlotletProvider-TydSHROc.js.map → SlotletProvider-iDmNlxD5.js.map} +1 -1
- package/lib/{createServer-DmusVVsi.js → createServer-BNBGpbLa.js} +1764 -1734
- package/lib/{createServer-DmusVVsi.js.map → createServer-BNBGpbLa.js.map} +1 -1
- package/lib/{index-BO-sA1cw.js → index-PKytqmuw.js} +348 -346
- package/lib/index-PKytqmuw.js.map +1 -0
- package/lib/prism-bash.min-HHIMdNJ_.js.map +1 -1
- package/lib/prism-csharp.min-bQAo2pmx.js.map +1 -1
- package/lib/prism-java.min-BpvsOuIa.js.map +1 -1
- package/lib/prism-javascript.min-CEqHqgbm.js.map +1 -1
- package/lib/prism-json.min-B1GJqK1k.js.map +1 -1
- package/lib/prism-markdown.min-C0Qn0m-5.js.map +1 -1
- package/lib/prism-markup-BNGj0Tvm.js.map +1 -1
- package/lib/prism-objectivec.min-BXSWqpJJ.js.map +1 -1
- package/lib/prism-ruby.min-Dx9KO9ds.js.map +1 -1
- package/lib/prism-typescript.min-CD7H2IYQ.js.map +1 -1
- package/lib/ui/Callout.js +39 -21
- package/lib/ui/Callout.js.map +1 -1
- package/lib/ui/Drawer.js +14 -1129
- package/lib/ui/Drawer.js.map +1 -1
- package/lib/zudoku.auth-clerk.js.map +1 -1
- package/lib/zudoku.components.js +675 -621
- package/lib/zudoku.components.js.map +1 -1
- package/lib/zudoku.plugin-api-catalog.js +1 -1
- package/lib/zudoku.plugin-api-keys.js +1 -1
- package/lib/zudoku.plugin-custom-pages.js +1 -1
- package/lib/zudoku.plugin-markdown.js +1 -1
- package/lib/zudoku.plugin-openapi.js +1 -1
- package/lib/zudoku.plugin-search-pagefind.js +1 -1
- package/package.json +11 -6
- package/src/app/main.css +5 -3
- package/src/lib/authentication/providers/clerk.tsx +2 -2
- package/src/lib/authentication/providers/supabase.tsx +151 -0
- package/src/lib/components/Header.tsx +10 -6
- package/src/lib/components/InlineCode.tsx +1 -1
- package/src/lib/components/Layout.tsx +5 -40
- package/src/lib/components/Main.tsx +47 -0
- package/src/lib/components/context/ViewportAnchorContext.tsx +3 -9
- package/src/lib/components/navigation/Sidebar.tsx +7 -9
- package/src/lib/components/navigation/SidebarWrapper.tsx +13 -15
- package/src/lib/core/RouteGuard.tsx +2 -1
- package/src/lib/oas/graphql/index.ts +35 -0
- package/src/lib/plugins/markdown/MdxPage.tsx +2 -2
- package/src/lib/plugins/openapi/OperationList.tsx +3 -2
- package/src/lib/plugins/openapi/Sidecar.tsx +11 -4
- package/src/lib/plugins/openapi/SimpleSelect.tsx +1 -1
- package/src/lib/plugins/openapi/graphql/gql.ts +3 -3
- package/src/lib/plugins/openapi/graphql/graphql.ts +8 -0
- package/src/lib/plugins/openapi/index.tsx +10 -11
- package/src/lib/plugins/openapi/interfaces.ts +11 -15
- package/src/lib/ui/Callout.tsx +28 -10
- package/lib/Markdown-DZXjQjpH.js.map +0 -1
- package/lib/MdxPage-52vRwa_7.js.map +0 -1
- package/lib/OperationList-DdCWaqeE.js.map +0 -1
- package/lib/index-BO-sA1cw.js.map +0 -1
|
@@ -3,10 +3,10 @@ import { b as xr, k as jr, l as Ao } from "./hook-CfCFKZ-2.js";
|
|
|
3
3
|
import { H as Io } from "./index.esm-CltAN0Tf.js";
|
|
4
4
|
import { ChevronsUpDownIcon as ro, CheckIcon as Lo, CopyIcon as Uo, UnfoldVerticalIcon as Fo, FoldVerticalIcon as _o, ChevronDownIcon as Bo, CircleIcon as Ho, CircleDotIcon as Mo, CircleFadingPlusIcon as zo, SquareMinusIcon as Go, SquarePlusIcon as Wo, ListPlusIcon as Jo, RefreshCcwDotIcon as Vo, ChevronsDownUpIcon as Do } from "lucide-react";
|
|
5
5
|
import { b as Qo, a as Ko } from "./chunk-HA7DTUK3-ZGg2W6yV.js";
|
|
6
|
-
import { a as rt, C as no, b as oo, c as ao, d as yr, P as Yo, m as io, e as Xo } from "./index-
|
|
6
|
+
import { a as rt, C as no, b as oo, c as ao, d as yr, P as Yo, m as io, e as Xo } from "./index-PKytqmuw.js";
|
|
7
7
|
import { S as Zo, a as ea, b as ta, c as ra, e as na } from "./Select-FAYHOYTy.js";
|
|
8
8
|
import { C as oa } from "./CategoryHeading-DpB47wvk.js";
|
|
9
|
-
import { I as aa, M as Se, H as Be, P as Re } from "./Markdown-
|
|
9
|
+
import { I as aa, M as Se, H as Be, P as Re } from "./Markdown-D1Y3cd9l.js";
|
|
10
10
|
import { c as se } from "./cn-qaFjX9_3.js";
|
|
11
11
|
import { useContext as ia, useTransition as so, useState as ge, useRef as $r, useEffect as wr, useLayoutEffect as sa, useMemo as lo, useCallback as la } from "react";
|
|
12
12
|
import { Button as co } from "./ui/Button.js";
|
|
@@ -45,7 +45,7 @@ const Or = (e, ...r) => {
|
|
|
45
45
|
"select",
|
|
46
46
|
{
|
|
47
47
|
className: se(
|
|
48
|
-
"row-start-1 col-start-1 border border-input text-foreground px-2 py-1 pe-6",
|
|
48
|
+
"w-full row-start-1 col-start-1 border border-input text-foreground px-2 py-1 pe-6",
|
|
49
49
|
"rounded-md appearance-none bg-zinc-50 hover:bg-white dark:bg-zinc-800 hover:dark:bg-zinc-800/75",
|
|
50
50
|
t
|
|
51
51
|
),
|
|
@@ -1508,8 +1508,8 @@ ${t}]`;
|
|
|
1508
1508
|
v("curl_setopt_array($curl, [");
|
|
1509
1509
|
const w = new V({ indent: c, join: `
|
|
1510
1510
|
${c}` });
|
|
1511
|
-
g.forEach(({ value: O, name: x, escape:
|
|
1512
|
-
O != null && w.push(`${x} => ${
|
|
1511
|
+
g.forEach(({ value: O, name: x, escape: N }) => {
|
|
1512
|
+
O != null && w.push(`${x} => ${N ? JSON.stringify(O) : O},`);
|
|
1513
1513
|
});
|
|
1514
1514
|
const T = l.map((O) => `${encodeURIComponent(O.name)}=${encodeURIComponent(O.value)}`);
|
|
1515
1515
|
T.length && w.push(`CURLOPT_COOKIE => "${T.join("; ")}",`);
|
|
@@ -2180,80 +2180,80 @@ function Vi() {
|
|
|
2180
2180
|
"not-basic": "Illegal input >= 0x80 (not a basic code point)",
|
|
2181
2181
|
"invalid-input": "Invalid input"
|
|
2182
2182
|
}, T = i - c, d = Math.floor, O = String.fromCharCode, x;
|
|
2183
|
-
function R
|
|
2184
|
-
throw new RangeError(w[
|
|
2183
|
+
function N(R) {
|
|
2184
|
+
throw new RangeError(w[R]);
|
|
2185
2185
|
}
|
|
2186
|
-
function
|
|
2187
|
-
for (var U =
|
|
2188
|
-
C[U] = q(
|
|
2186
|
+
function A(R, q) {
|
|
2187
|
+
for (var U = R.length, C = []; U--; )
|
|
2188
|
+
C[U] = q(R[U]);
|
|
2189
2189
|
return C;
|
|
2190
2190
|
}
|
|
2191
|
-
function E(
|
|
2192
|
-
var U =
|
|
2193
|
-
U.length > 1 && (C = U[0] + "@",
|
|
2194
|
-
var
|
|
2191
|
+
function E(R, q) {
|
|
2192
|
+
var U = R.split("@"), C = "";
|
|
2193
|
+
U.length > 1 && (C = U[0] + "@", R = U[1]), R = R.replace(g, ".");
|
|
2194
|
+
var L = R.split("."), W = A(L, q).join(".");
|
|
2195
2195
|
return C + W;
|
|
2196
2196
|
}
|
|
2197
|
-
function B(
|
|
2198
|
-
for (var q = [], U = 0, C =
|
|
2199
|
-
|
|
2197
|
+
function B(R) {
|
|
2198
|
+
for (var q = [], U = 0, C = R.length, L, W; U < C; )
|
|
2199
|
+
L = R.charCodeAt(U++), L >= 55296 && L <= 56319 && U < C ? (W = R.charCodeAt(U++), (W & 64512) == 56320 ? q.push(((L & 1023) << 10) + (W & 1023) + 65536) : (q.push(L), U--)) : q.push(L);
|
|
2200
2200
|
return q;
|
|
2201
2201
|
}
|
|
2202
|
-
function P(
|
|
2203
|
-
return
|
|
2202
|
+
function P(R) {
|
|
2203
|
+
return A(R, function(q) {
|
|
2204
2204
|
var U = "";
|
|
2205
2205
|
return q > 65535 && (q -= 65536, U += O(q >>> 10 & 1023 | 55296), q = 56320 | q & 1023), U += O(q), U;
|
|
2206
2206
|
}).join("");
|
|
2207
2207
|
}
|
|
2208
|
-
function ae(
|
|
2209
|
-
return
|
|
2208
|
+
function ae(R) {
|
|
2209
|
+
return R - 48 < 10 ? R - 22 : R - 65 < 26 ? R - 65 : R - 97 < 26 ? R - 97 : i;
|
|
2210
2210
|
}
|
|
2211
|
-
function H(
|
|
2212
|
-
return
|
|
2211
|
+
function H(R, q) {
|
|
2212
|
+
return R + 22 + 75 * (R < 26) - ((q != 0) << 5);
|
|
2213
2213
|
}
|
|
2214
|
-
function D(
|
|
2214
|
+
function D(R, q, U) {
|
|
2215
2215
|
var C = 0;
|
|
2216
|
-
for (
|
|
2217
|
-
|
|
2218
|
-
return d(C + (T + 1) *
|
|
2216
|
+
for (R = U ? d(R / m) : R >> 1, R += d(R / q); R > T * h >> 1; C += i)
|
|
2217
|
+
R = d(R / T);
|
|
2218
|
+
return d(C + (T + 1) * R / (R + p));
|
|
2219
2219
|
}
|
|
2220
|
-
function le(
|
|
2221
|
-
var q = [], U =
|
|
2222
|
-
for (K =
|
|
2223
|
-
|
|
2220
|
+
function le(R) {
|
|
2221
|
+
var q = [], U = R.length, C, L = 0, W = j, z = b, K, ne, J, I, F, _, Q, G, Y;
|
|
2222
|
+
for (K = R.lastIndexOf(v), K < 0 && (K = 0), ne = 0; ne < K; ++ne)
|
|
2223
|
+
R.charCodeAt(ne) >= 128 && N("not-basic"), q.push(R.charCodeAt(ne));
|
|
2224
2224
|
for (J = K > 0 ? K + 1 : 0; J < U; ) {
|
|
2225
|
-
for (
|
|
2226
|
-
Y = i - G, F > d(a / Y) &&
|
|
2227
|
-
C = q.length + 1, z = D(
|
|
2225
|
+
for (I = L, F = 1, _ = i; J >= U && N("invalid-input"), Q = ae(R.charCodeAt(J++)), (Q >= i || Q > d((a - L) / F)) && N("overflow"), L += Q * F, G = _ <= z ? c : _ >= z + h ? h : _ - z, !(Q < G); _ += i)
|
|
2226
|
+
Y = i - G, F > d(a / Y) && N("overflow"), F *= Y;
|
|
2227
|
+
C = q.length + 1, z = D(L - I, C, I == 0), d(L / C) > a - W && N("overflow"), W += d(L / C), L %= C, q.splice(L++, 0, W);
|
|
2228
2228
|
}
|
|
2229
2229
|
return P(q);
|
|
2230
2230
|
}
|
|
2231
|
-
function Z(
|
|
2232
|
-
var q, U, C,
|
|
2233
|
-
for (
|
|
2234
|
-
F =
|
|
2235
|
-
for (C =
|
|
2231
|
+
function Z(R) {
|
|
2232
|
+
var q, U, C, L, W, z, K, ne, J, I, F, _ = [], Q, G, Y, oe;
|
|
2233
|
+
for (R = B(R), Q = R.length, q = j, U = 0, W = b, z = 0; z < Q; ++z)
|
|
2234
|
+
F = R[z], F < 128 && _.push(O(F));
|
|
2235
|
+
for (C = L = _.length, L && _.push(v); C < Q; ) {
|
|
2236
2236
|
for (K = a, z = 0; z < Q; ++z)
|
|
2237
|
-
F =
|
|
2238
|
-
for (G = C + 1, K - q > d((a - U) / G) &&
|
|
2239
|
-
if (F =
|
|
2240
|
-
for (ne = U, J = i;
|
|
2241
|
-
oe = ne -
|
|
2242
|
-
O(H(
|
|
2237
|
+
F = R[z], F >= q && F < K && (K = F);
|
|
2238
|
+
for (G = C + 1, K - q > d((a - U) / G) && N("overflow"), U += (K - q) * G, q = K, z = 0; z < Q; ++z)
|
|
2239
|
+
if (F = R[z], F < q && ++U > a && N("overflow"), F == q) {
|
|
2240
|
+
for (ne = U, J = i; I = J <= W ? c : J >= W + h ? h : J - W, !(ne < I); J += i)
|
|
2241
|
+
oe = ne - I, Y = i - I, _.push(
|
|
2242
|
+
O(H(I + oe % Y, 0))
|
|
2243
2243
|
), ne = d(oe / Y);
|
|
2244
|
-
_.push(O(H(ne, 0))), W = D(U, G, C ==
|
|
2244
|
+
_.push(O(H(ne, 0))), W = D(U, G, C == L), U = 0, ++C;
|
|
2245
2245
|
}
|
|
2246
2246
|
++U, ++q;
|
|
2247
2247
|
}
|
|
2248
2248
|
return _.join("");
|
|
2249
2249
|
}
|
|
2250
|
-
function k(
|
|
2251
|
-
return E(
|
|
2250
|
+
function k(R) {
|
|
2251
|
+
return E(R, function(q) {
|
|
2252
2252
|
return u.test(q) ? le(q.slice(4).toLowerCase()) : q;
|
|
2253
2253
|
});
|
|
2254
2254
|
}
|
|
2255
|
-
function re(
|
|
2256
|
-
return E(
|
|
2255
|
+
function re(R) {
|
|
2256
|
+
return E(R, function(q) {
|
|
2257
2257
|
return y.test(q) ? "xn--" + Z(q) : q;
|
|
2258
2258
|
});
|
|
2259
2259
|
}
|
|
@@ -2590,7 +2590,7 @@ function Cr() {
|
|
|
2590
2590
|
return T;
|
|
2591
2591
|
}
|
|
2592
2592
|
}
|
|
2593
|
-
}() : T, O = cs()(), x = ds(),
|
|
2593
|
+
}() : T, O = cs()(), x = ds(), N = bo(), A = vo(), E = Pr(), B = Tr(), P = {}, ae = typeof Uint8Array > "u" || !x ? e : x(Uint8Array), H = {
|
|
2594
2594
|
__proto__: null,
|
|
2595
2595
|
"%AggregateError%": typeof AggregateError > "u" ? e : AggregateError,
|
|
2596
2596
|
"%Array%": Array,
|
|
@@ -2663,7 +2663,7 @@ function Cr() {
|
|
|
2663
2663
|
"%Function.prototype.call%": B,
|
|
2664
2664
|
"%Function.prototype.apply%": E,
|
|
2665
2665
|
"%Object.defineProperty%": w,
|
|
2666
|
-
"%Object.getPrototypeOf%":
|
|
2666
|
+
"%Object.getPrototypeOf%": N,
|
|
2667
2667
|
"%Math.abs%": c,
|
|
2668
2668
|
"%Math.floor%": h,
|
|
2669
2669
|
"%Math.max%": p,
|
|
@@ -2671,7 +2671,7 @@ function Cr() {
|
|
|
2671
2671
|
"%Math.pow%": b,
|
|
2672
2672
|
"%Math.round%": j,
|
|
2673
2673
|
"%Math.sign%": v,
|
|
2674
|
-
"%Reflect.getPrototypeOf%":
|
|
2674
|
+
"%Reflect.getPrototypeOf%": A
|
|
2675
2675
|
};
|
|
2676
2676
|
if (x)
|
|
2677
2677
|
try {
|
|
@@ -2680,22 +2680,22 @@ function Cr() {
|
|
|
2680
2680
|
var D = x(x(J));
|
|
2681
2681
|
H["%Error.prototype%"] = D;
|
|
2682
2682
|
}
|
|
2683
|
-
var le = function J(
|
|
2683
|
+
var le = function J(I) {
|
|
2684
2684
|
var F;
|
|
2685
|
-
if (
|
|
2685
|
+
if (I === "%AsyncFunction%")
|
|
2686
2686
|
F = y("async function () {}");
|
|
2687
|
-
else if (
|
|
2687
|
+
else if (I === "%GeneratorFunction%")
|
|
2688
2688
|
F = y("function* () {}");
|
|
2689
|
-
else if (
|
|
2689
|
+
else if (I === "%AsyncGeneratorFunction%")
|
|
2690
2690
|
F = y("async function* () {}");
|
|
2691
|
-
else if (
|
|
2691
|
+
else if (I === "%AsyncGenerator%") {
|
|
2692
2692
|
var _ = J("%AsyncGeneratorFunction%");
|
|
2693
2693
|
_ && (F = _.prototype);
|
|
2694
|
-
} else if (
|
|
2694
|
+
} else if (I === "%AsyncIteratorPrototype%") {
|
|
2695
2695
|
var Q = J("%AsyncGenerator%");
|
|
2696
2696
|
Q && x && (F = x(Q.prototype));
|
|
2697
2697
|
}
|
|
2698
|
-
return H[
|
|
2698
|
+
return H[I] = F, F;
|
|
2699
2699
|
}, Z = {
|
|
2700
2700
|
__proto__: null,
|
|
2701
2701
|
"%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
|
|
@@ -2749,39 +2749,39 @@ function Cr() {
|
|
|
2749
2749
|
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
2750
2750
|
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
2751
2751
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
2752
|
-
}, k = Je(), re = /* @__PURE__ */ hs(),
|
|
2753
|
-
var F = C(
|
|
2752
|
+
}, k = Je(), re = /* @__PURE__ */ hs(), R = k.call(B, Array.prototype.concat), q = k.call(E, Array.prototype.splice), U = k.call(B, String.prototype.replace), C = k.call(B, String.prototype.slice), L = k.call(B, RegExp.prototype.exec), W = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, z = /\\(\\)?/g, K = function(I) {
|
|
2753
|
+
var F = C(I, 0, 1), _ = C(I, -1);
|
|
2754
2754
|
if (F === "%" && _ !== "%")
|
|
2755
2755
|
throw new n("invalid intrinsic syntax, expected closing `%`");
|
|
2756
2756
|
if (_ === "%" && F !== "%")
|
|
2757
2757
|
throw new n("invalid intrinsic syntax, expected opening `%`");
|
|
2758
2758
|
var Q = [];
|
|
2759
|
-
return U(
|
|
2759
|
+
return U(I, W, function(G, Y, oe, he) {
|
|
2760
2760
|
Q[Q.length] = oe ? U(he, z, "$1") : Y || G;
|
|
2761
2761
|
}), Q;
|
|
2762
|
-
}, ne = function(
|
|
2763
|
-
var _ =
|
|
2762
|
+
}, ne = function(I, F) {
|
|
2763
|
+
var _ = I, Q;
|
|
2764
2764
|
if (re(Z, _) && (Q = Z[_], _ = "%" + Q[0] + "%"), re(H, _)) {
|
|
2765
2765
|
var G = H[_];
|
|
2766
2766
|
if (G === P && (G = le(_)), typeof G > "u" && !F)
|
|
2767
|
-
throw new a("intrinsic " +
|
|
2767
|
+
throw new a("intrinsic " + I + " exists, but is not available. Please file an issue!");
|
|
2768
2768
|
return {
|
|
2769
2769
|
alias: Q,
|
|
2770
2770
|
name: _,
|
|
2771
2771
|
value: G
|
|
2772
2772
|
};
|
|
2773
2773
|
}
|
|
2774
|
-
throw new n("intrinsic " +
|
|
2774
|
+
throw new n("intrinsic " + I + " does not exist!");
|
|
2775
2775
|
};
|
|
2776
|
-
return Xt = function(
|
|
2777
|
-
if (typeof
|
|
2776
|
+
return Xt = function(I, F) {
|
|
2777
|
+
if (typeof I != "string" || I.length === 0)
|
|
2778
2778
|
throw new a("intrinsic name must be a non-empty string");
|
|
2779
2779
|
if (arguments.length > 1 && typeof F != "boolean")
|
|
2780
2780
|
throw new a('"allowMissing" argument must be a boolean');
|
|
2781
|
-
if (
|
|
2781
|
+
if (L(/^%?[^%]*%?$/, I) === null)
|
|
2782
2782
|
throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
2783
|
-
var _ = K(
|
|
2784
|
-
Oe && (Q = Oe[0], q(_,
|
|
2783
|
+
var _ = K(I), Q = _.length > 0 ? _[0] : "", G = ne("%" + Q + "%", F), Y = G.name, oe = G.value, he = !1, Oe = G.alias;
|
|
2784
|
+
Oe && (Q = Oe[0], q(_, R([0, 1], Oe)));
|
|
2785
2785
|
for (var qe = 1, Te = !0; qe < _.length; qe += 1) {
|
|
2786
2786
|
var ye = _[qe], ke = C(ye, 0, 1), Ee = C(ye, -1);
|
|
2787
2787
|
if ((ke === '"' || ke === "'" || ke === "`" || Ee === '"' || Ee === "'" || Ee === "`") && ke !== Ee)
|
|
@@ -2791,7 +2791,7 @@ function Cr() {
|
|
|
2791
2791
|
else if (oe != null) {
|
|
2792
2792
|
if (!(ye in oe)) {
|
|
2793
2793
|
if (!F)
|
|
2794
|
-
throw new a("base intrinsic for " +
|
|
2794
|
+
throw new a("base intrinsic for " + I + " exists, but the property is not available.");
|
|
2795
2795
|
return;
|
|
2796
2796
|
}
|
|
2797
2797
|
if (g && qe + 1 >= _.length) {
|
|
@@ -2925,7 +2925,7 @@ var ar, Jn;
|
|
|
2925
2925
|
function Ss() {
|
|
2926
2926
|
if (Jn) return ar;
|
|
2927
2927
|
Jn = 1;
|
|
2928
|
-
var e = typeof Map == "function" && Map.prototype, r = Object.getOwnPropertyDescriptor && e ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, t = e && r && typeof r.get == "function" ? r.get : null, o = e && Map.prototype.forEach, s = typeof Set == "function" && Set.prototype, l = Object.getOwnPropertyDescriptor && s ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, n = s && l && typeof l.get == "function" ? l.get : null, a = s && Set.prototype.forEach, i = typeof WeakMap == "function" && WeakMap.prototype, c = i ? WeakMap.prototype.has : null, h = typeof WeakSet == "function" && WeakSet.prototype, p = h ? WeakSet.prototype.has : null, m = typeof WeakRef == "function" && WeakRef.prototype, b = m ? WeakRef.prototype.deref : null, j = Boolean.prototype.valueOf, v = Object.prototype.toString, u = Function.prototype.toString, y = String.prototype.match, g = String.prototype.slice, w = String.prototype.replace, T = String.prototype.toUpperCase, d = String.prototype.toLowerCase, O = RegExp.prototype.test, x = Array.prototype.concat,
|
|
2928
|
+
var e = typeof Map == "function" && Map.prototype, r = Object.getOwnPropertyDescriptor && e ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, t = e && r && typeof r.get == "function" ? r.get : null, o = e && Map.prototype.forEach, s = typeof Set == "function" && Set.prototype, l = Object.getOwnPropertyDescriptor && s ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, n = s && l && typeof l.get == "function" ? l.get : null, a = s && Set.prototype.forEach, i = typeof WeakMap == "function" && WeakMap.prototype, c = i ? WeakMap.prototype.has : null, h = typeof WeakSet == "function" && WeakSet.prototype, p = h ? WeakSet.prototype.has : null, m = typeof WeakRef == "function" && WeakRef.prototype, b = m ? WeakRef.prototype.deref : null, j = Boolean.prototype.valueOf, v = Object.prototype.toString, u = Function.prototype.toString, y = String.prototype.match, g = String.prototype.slice, w = String.prototype.replace, T = String.prototype.toUpperCase, d = String.prototype.toLowerCase, O = RegExp.prototype.test, x = Array.prototype.concat, N = Array.prototype.join, A = Array.prototype.slice, E = Math.floor, B = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, P = Object.getOwnPropertySymbols, ae = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, H = typeof Symbol == "function" && typeof Symbol.iterator == "object", D = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === H || !0) ? Symbol.toStringTag : null, le = Object.prototype.propertyIsEnumerable, Z = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function($) {
|
|
2929
2929
|
return $.__proto__;
|
|
2930
2930
|
} : null);
|
|
2931
2931
|
function k($, S) {
|
|
@@ -2941,7 +2941,7 @@ function Ss() {
|
|
|
2941
2941
|
}
|
|
2942
2942
|
return w.call(S, X, "$&_");
|
|
2943
2943
|
}
|
|
2944
|
-
var re = ws,
|
|
2944
|
+
var re = ws, R = re.custom, q = F(R) ? R : null;
|
|
2945
2945
|
ar = function $(S, X, ee, ie) {
|
|
2946
2946
|
var M = X || {};
|
|
2947
2947
|
if (G(M, "quoteStyle") && M.quoteStyle !== "single" && M.quoteStyle !== "double")
|
|
@@ -2976,14 +2976,14 @@ function Ss() {
|
|
|
2976
2976
|
}
|
|
2977
2977
|
var lt = typeof M.depth > "u" ? 5 : M.depth;
|
|
2978
2978
|
if (typeof ee > "u" && (ee = 0), ee >= lt && lt > 0 && typeof S == "object")
|
|
2979
|
-
return
|
|
2979
|
+
return L(S) ? "[Array]" : "[Object]";
|
|
2980
2980
|
var Ae = qo(M, ee);
|
|
2981
2981
|
if (typeof ie > "u")
|
|
2982
2982
|
ie = [];
|
|
2983
2983
|
else if (he(ie, S) >= 0)
|
|
2984
2984
|
return "[Circular]";
|
|
2985
2985
|
function me(Ie, Qe, Eo) {
|
|
2986
|
-
if (Qe && (ie =
|
|
2986
|
+
if (Qe && (ie = A.call(ie), ie.push(Qe)), Eo) {
|
|
2987
2987
|
var Br = {
|
|
2988
2988
|
depth: M.depth
|
|
2989
2989
|
};
|
|
@@ -2993,7 +2993,7 @@ function Ss() {
|
|
|
2993
2993
|
}
|
|
2994
2994
|
if (typeof S == "function" && !z(S)) {
|
|
2995
2995
|
var Er = oe(S), Ar = Ve(S, me);
|
|
2996
|
-
return "[Function" + (Er ? ": " + Er : " (anonymous)") + "]" + (Ar.length > 0 ? " { " +
|
|
2996
|
+
return "[Function" + (Er ? ": " + Er : " (anonymous)") + "]" + (Ar.length > 0 ? " { " + N.call(Ar, ", ") + " }" : "");
|
|
2997
2997
|
}
|
|
2998
2998
|
if (F(S)) {
|
|
2999
2999
|
var Ir = H ? w.call(String(S), /^(Symbol\(.*\))_[^)]*$/, "$1") : ae.call(S);
|
|
@@ -3004,15 +3004,15 @@ function Ss() {
|
|
|
3004
3004
|
Fe += " " + ct[De].name + "=" + U(C(ct[De].value), "double", M);
|
|
3005
3005
|
return Fe += ">", S.childNodes && S.childNodes.length && (Fe += "..."), Fe += "</" + d.call(String(S.nodeName)) + ">", Fe;
|
|
3006
3006
|
}
|
|
3007
|
-
if (
|
|
3007
|
+
if (L(S)) {
|
|
3008
3008
|
if (S.length === 0)
|
|
3009
3009
|
return "[]";
|
|
3010
3010
|
var ut = Ve(S, me);
|
|
3011
|
-
return Ae && !Ro(ut) ? "[" + st(ut, Ae) + "]" : "[ " +
|
|
3011
|
+
return Ae && !Ro(ut) ? "[" + st(ut, Ae) + "]" : "[ " + N.call(ut, ", ") + " ]";
|
|
3012
3012
|
}
|
|
3013
3013
|
if (K(S)) {
|
|
3014
3014
|
var ft = Ve(S, me);
|
|
3015
|
-
return !("cause" in Error.prototype) && "cause" in S && !le.call(S, "cause") ? "{ [" + String(S) + "] " +
|
|
3015
|
+
return !("cause" in Error.prototype) && "cause" in S && !le.call(S, "cause") ? "{ [" + String(S) + "] " + N.call(x.call("[cause]: " + me(S.cause), ft), ", ") + " }" : ft.length === 0 ? "[" + String(S) + "]" : "{ [" + String(S) + "] " + N.call(ft, ", ") + " }";
|
|
3016
3016
|
}
|
|
3017
3017
|
if (typeof S == "object" && je) {
|
|
3018
3018
|
if (q && typeof S[q] == "function" && re)
|
|
@@ -3042,7 +3042,7 @@ function Ss() {
|
|
|
3042
3042
|
return Ue(me(Number(S)));
|
|
3043
3043
|
if (_(S))
|
|
3044
3044
|
return Ue(me(B.call(S)));
|
|
3045
|
-
if (
|
|
3045
|
+
if (I(S))
|
|
3046
3046
|
return Ue(j.call(S));
|
|
3047
3047
|
if (ne(S))
|
|
3048
3048
|
return Ue(me(String(S)));
|
|
@@ -3051,8 +3051,8 @@ function Ss() {
|
|
|
3051
3051
|
if (typeof globalThis < "u" && S === globalThis || typeof Ze < "u" && S === Ze)
|
|
3052
3052
|
return "{ [object globalThis] }";
|
|
3053
3053
|
if (!W(S) && !z(S)) {
|
|
3054
|
-
var pt = Ve(S, me), Fr = Z ? Z(S) === Object.prototype : S instanceof Object || S.constructor === Object, dt = S instanceof Object ? "" : "null prototype", _r = !Fr && D && Object(S) === S && D in S ? g.call(Y(S), 8, -1) : dt ? "Object" : "", ko = Fr || typeof S.constructor != "function" ? "" : S.constructor.name ? S.constructor.name + " " : "", ht = ko + (_r || dt ? "[" +
|
|
3055
|
-
return pt.length === 0 ? ht + "{}" : Ae ? ht + "{" + st(pt, Ae) + "}" : ht + "{ " +
|
|
3054
|
+
var pt = Ve(S, me), Fr = Z ? Z(S) === Object.prototype : S instanceof Object || S.constructor === Object, dt = S instanceof Object ? "" : "null prototype", _r = !Fr && D && Object(S) === S && D in S ? g.call(Y(S), 8, -1) : dt ? "Object" : "", ko = Fr || typeof S.constructor != "function" ? "" : S.constructor.name ? S.constructor.name + " " : "", ht = ko + (_r || dt ? "[" + N.call(x.call([], _r || [], dt || []), ": ") + "] " : "");
|
|
3055
|
+
return pt.length === 0 ? ht + "{}" : Ae ? ht + "{" + st(pt, Ae) + "}" : ht + "{ " + N.call(pt, ", ") + " }";
|
|
3056
3056
|
}
|
|
3057
3057
|
return String(S);
|
|
3058
3058
|
};
|
|
@@ -3063,7 +3063,7 @@ function Ss() {
|
|
|
3063
3063
|
function C($) {
|
|
3064
3064
|
return w.call(String($), /"/g, """);
|
|
3065
3065
|
}
|
|
3066
|
-
function
|
|
3066
|
+
function L($) {
|
|
3067
3067
|
return Y($) === "[object Array]" && (!D || !(typeof $ == "object" && D in $));
|
|
3068
3068
|
}
|
|
3069
3069
|
function W($) {
|
|
@@ -3081,7 +3081,7 @@ function Ss() {
|
|
|
3081
3081
|
function J($) {
|
|
3082
3082
|
return Y($) === "[object Number]" && (!D || !(typeof $ == "object" && D in $));
|
|
3083
3083
|
}
|
|
3084
|
-
function
|
|
3084
|
+
function I($) {
|
|
3085
3085
|
return Y($) === "[object Boolean]" && (!D || !(typeof $ == "object" && D in $));
|
|
3086
3086
|
}
|
|
3087
3087
|
function F($) {
|
|
@@ -3226,7 +3226,7 @@ function Ss() {
|
|
|
3226
3226
|
return $ + " { ? }";
|
|
3227
3227
|
}
|
|
3228
3228
|
function kr($, S, X, ee) {
|
|
3229
|
-
var ie = ee ? st(X, ee) :
|
|
3229
|
+
var ie = ee ? st(X, ee) : N.call(X, ", ");
|
|
3230
3230
|
return $ + " (" + S + ") {" + ie + "}";
|
|
3231
3231
|
}
|
|
3232
3232
|
function Ro($) {
|
|
@@ -3241,12 +3241,12 @@ function Ss() {
|
|
|
3241
3241
|
if ($.indent === " ")
|
|
3242
3242
|
X = " ";
|
|
3243
3243
|
else if (typeof $.indent == "number" && $.indent > 0)
|
|
3244
|
-
X =
|
|
3244
|
+
X = N.call(Array($.indent + 1), " ");
|
|
3245
3245
|
else
|
|
3246
3246
|
return null;
|
|
3247
3247
|
return {
|
|
3248
3248
|
base: X,
|
|
3249
|
-
prev:
|
|
3249
|
+
prev: N.call(Array(S + 1), X)
|
|
3250
3250
|
};
|
|
3251
3251
|
}
|
|
3252
3252
|
function st($, S) {
|
|
@@ -3254,11 +3254,11 @@ function Ss() {
|
|
|
3254
3254
|
return "";
|
|
3255
3255
|
var X = `
|
|
3256
3256
|
` + S.prev + S.base;
|
|
3257
|
-
return X +
|
|
3257
|
+
return X + N.call($, "," + X) + `
|
|
3258
3258
|
` + S.prev;
|
|
3259
3259
|
}
|
|
3260
3260
|
function Ve($, S) {
|
|
3261
|
-
var X =
|
|
3261
|
+
var X = L($), ee = [];
|
|
3262
3262
|
if (X) {
|
|
3263
3263
|
ee.length = $.length;
|
|
3264
3264
|
for (var ie = 0; ie < $.length; ie++)
|
|
@@ -3426,11 +3426,11 @@ function $o() {
|
|
|
3426
3426
|
return escape(O).replace(/%u[0-9a-f]{4}/gi, function(ae) {
|
|
3427
3427
|
return "%26%23" + parseInt(ae.slice(2), 16) + "%3B";
|
|
3428
3428
|
});
|
|
3429
|
-
for (var x = "",
|
|
3430
|
-
for (var
|
|
3431
|
-
var P =
|
|
3429
|
+
for (var x = "", N = 0; N < O.length; N += c) {
|
|
3430
|
+
for (var A = O.length >= c ? O.slice(N, N + c) : O, E = [], B = 0; B < A.length; ++B) {
|
|
3431
|
+
var P = A.charCodeAt(B);
|
|
3432
3432
|
if (P === 45 || P === 46 || P === 95 || P === 126 || P >= 48 && P <= 57 || P >= 65 && P <= 90 || P >= 97 && P <= 122 || d === e.RFC1738 && (P === 40 || P === 41)) {
|
|
3433
|
-
E[E.length] =
|
|
3433
|
+
E[E.length] = A.charAt(B);
|
|
3434
3434
|
continue;
|
|
3435
3435
|
}
|
|
3436
3436
|
if (P < 128) {
|
|
@@ -3445,16 +3445,16 @@ function $o() {
|
|
|
3445
3445
|
E[E.length] = o[224 | P >> 12] + o[128 | P >> 6 & 63] + o[128 | P & 63];
|
|
3446
3446
|
continue;
|
|
3447
3447
|
}
|
|
3448
|
-
B += 1, P = 65536 + ((P & 1023) << 10 |
|
|
3448
|
+
B += 1, P = 65536 + ((P & 1023) << 10 | A.charCodeAt(B) & 1023), E[E.length] = o[240 | P >> 18] + o[128 | P >> 12 & 63] + o[128 | P >> 6 & 63] + o[128 | P & 63];
|
|
3449
3449
|
}
|
|
3450
3450
|
x += E.join("");
|
|
3451
3451
|
}
|
|
3452
3452
|
return x;
|
|
3453
3453
|
}, p = function(y) {
|
|
3454
3454
|
for (var g = [{ obj: { o: y }, prop: "o" }], w = [], T = 0; T < g.length; ++T)
|
|
3455
|
-
for (var d = g[T], O = d.obj[d.prop], x = Object.keys(O),
|
|
3456
|
-
var
|
|
3457
|
-
typeof E == "object" && E !== null && w.indexOf(E) === -1 && (g.push({ obj: O, prop:
|
|
3455
|
+
for (var d = g[T], O = d.obj[d.prop], x = Object.keys(O), N = 0; N < x.length; ++N) {
|
|
3456
|
+
var A = x[N], E = O[A];
|
|
3457
|
+
typeof E == "object" && E !== null && w.indexOf(E) === -1 && (g.push({ obj: O, prop: A }), w.push(E));
|
|
3458
3458
|
}
|
|
3459
3459
|
return s(g), y;
|
|
3460
3460
|
}, m = function(y) {
|
|
@@ -3524,38 +3524,38 @@ function Ts() {
|
|
|
3524
3524
|
strictNullHandling: !1
|
|
3525
3525
|
}, p = function(u) {
|
|
3526
3526
|
return typeof u == "string" || typeof u == "number" || typeof u == "boolean" || typeof u == "symbol" || typeof u == "bigint";
|
|
3527
|
-
}, m = {}, b = function v(u, y, g, w, T, d, O, x,
|
|
3528
|
-
for (var k = u, re = Z,
|
|
3527
|
+
}, m = {}, b = function v(u, y, g, w, T, d, O, x, N, A, E, B, P, ae, H, D, le, Z) {
|
|
3528
|
+
for (var k = u, re = Z, R = 0, q = !1; (re = re.get(m)) !== void 0 && !q; ) {
|
|
3529
3529
|
var U = re.get(u);
|
|
3530
|
-
if (
|
|
3531
|
-
if (U ===
|
|
3530
|
+
if (R += 1, typeof U < "u") {
|
|
3531
|
+
if (U === R)
|
|
3532
3532
|
throw new RangeError("Cyclic object value");
|
|
3533
3533
|
q = !0;
|
|
3534
3534
|
}
|
|
3535
|
-
typeof re.get(m) > "u" && (
|
|
3535
|
+
typeof re.get(m) > "u" && (R = 0);
|
|
3536
3536
|
}
|
|
3537
|
-
if (typeof
|
|
3537
|
+
if (typeof A == "function" ? k = A(y, k) : k instanceof Date ? k = P(k) : g === "comma" && l(k) && (k = r.maybeMap(k, function(Y) {
|
|
3538
3538
|
return Y instanceof Date ? P(Y) : Y;
|
|
3539
3539
|
})), k === null) {
|
|
3540
3540
|
if (d)
|
|
3541
|
-
return
|
|
3541
|
+
return N && !D ? N(y, h.encoder, le, "key", ae) : y;
|
|
3542
3542
|
k = "";
|
|
3543
3543
|
}
|
|
3544
3544
|
if (p(k) || r.isBuffer(k)) {
|
|
3545
|
-
if (
|
|
3546
|
-
var C = D ? y :
|
|
3547
|
-
return [H(C) + "=" + H(
|
|
3545
|
+
if (N) {
|
|
3546
|
+
var C = D ? y : N(y, h.encoder, le, "key", ae);
|
|
3547
|
+
return [H(C) + "=" + H(N(k, h.encoder, le, "value", ae))];
|
|
3548
3548
|
}
|
|
3549
3549
|
return [H(y) + "=" + H(String(k))];
|
|
3550
3550
|
}
|
|
3551
|
-
var
|
|
3551
|
+
var L = [];
|
|
3552
3552
|
if (typeof k > "u")
|
|
3553
|
-
return
|
|
3553
|
+
return L;
|
|
3554
3554
|
var W;
|
|
3555
3555
|
if (g === "comma" && l(k))
|
|
3556
|
-
D &&
|
|
3557
|
-
else if (l(
|
|
3558
|
-
W =
|
|
3556
|
+
D && N && (k = r.maybeMap(k, N)), W = [{ value: k.length > 0 ? k.join(",") || null : void 0 }];
|
|
3557
|
+
else if (l(A))
|
|
3558
|
+
W = A;
|
|
3559
3559
|
else {
|
|
3560
3560
|
var z = Object.keys(k);
|
|
3561
3561
|
W = E ? z.sort(E) : z;
|
|
@@ -3564,12 +3564,12 @@ function Ts() {
|
|
|
3564
3564
|
if (T && l(k) && k.length === 0)
|
|
3565
3565
|
return ne + "[]";
|
|
3566
3566
|
for (var J = 0; J < W.length; ++J) {
|
|
3567
|
-
var
|
|
3567
|
+
var I = W[J], F = typeof I == "object" && typeof I.value < "u" ? I.value : k[I];
|
|
3568
3568
|
if (!(O && F === null)) {
|
|
3569
|
-
var _ = B && x ?
|
|
3570
|
-
Z.set(u,
|
|
3569
|
+
var _ = B && x ? I.replace(/\./g, "%2E") : I, Q = l(k) ? typeof g == "function" ? g(ne, _) : ne : ne + (B ? "." + _ : "[" + _ + "]");
|
|
3570
|
+
Z.set(u, R);
|
|
3571
3571
|
var G = e();
|
|
3572
|
-
G.set(m, Z), a(
|
|
3572
|
+
G.set(m, Z), a(L, v(
|
|
3573
3573
|
F,
|
|
3574
3574
|
Q,
|
|
3575
3575
|
g,
|
|
@@ -3578,8 +3578,8 @@ function Ts() {
|
|
|
3578
3578
|
d,
|
|
3579
3579
|
O,
|
|
3580
3580
|
x,
|
|
3581
|
-
g === "comma" && D && l(k) ? null :
|
|
3582
|
-
|
|
3581
|
+
g === "comma" && D && l(k) ? null : N,
|
|
3582
|
+
A,
|
|
3583
3583
|
E,
|
|
3584
3584
|
B,
|
|
3585
3585
|
P,
|
|
@@ -3591,7 +3591,7 @@ function Ts() {
|
|
|
3591
3591
|
));
|
|
3592
3592
|
}
|
|
3593
3593
|
}
|
|
3594
|
-
return
|
|
3594
|
+
return L;
|
|
3595
3595
|
}, j = function(u) {
|
|
3596
3596
|
if (!u)
|
|
3597
3597
|
return h;
|
|
@@ -3646,8 +3646,8 @@ function Ts() {
|
|
|
3646
3646
|
return "";
|
|
3647
3647
|
var O = s[g.arrayFormat], x = O === "comma" && g.commaRoundTrip;
|
|
3648
3648
|
w || (w = Object.keys(y)), g.sort && w.sort(g.sort);
|
|
3649
|
-
for (var
|
|
3650
|
-
var E = w[
|
|
3649
|
+
for (var N = e(), A = 0; A < w.length; ++A) {
|
|
3650
|
+
var E = w[A];
|
|
3651
3651
|
g.skipNulls && y[E] === null || a(d, b(
|
|
3652
3652
|
y[E],
|
|
3653
3653
|
E,
|
|
@@ -3666,7 +3666,7 @@ function Ts() {
|
|
|
3666
3666
|
g.formatter,
|
|
3667
3667
|
g.encodeValuesOnly,
|
|
3668
3668
|
g.charset,
|
|
3669
|
-
|
|
3669
|
+
N
|
|
3670
3670
|
));
|
|
3671
3671
|
}
|
|
3672
3672
|
var B = d.join(g.delimiter), P = g.addQueryPrefix === !0 ? "?" : "";
|
|
@@ -3713,15 +3713,15 @@ function Ps() {
|
|
|
3713
3713
|
g[T].indexOf("utf8=") === 0 && (g[T] === a ? d = "utf-8" : g[T] === n && (d = "iso-8859-1"), w = T, T = g.length);
|
|
3714
3714
|
for (T = 0; T < g.length; ++T)
|
|
3715
3715
|
if (T !== w) {
|
|
3716
|
-
var O = g[T], x = O.indexOf("]="),
|
|
3717
|
-
|
|
3718
|
-
l(O.slice(
|
|
3716
|
+
var O = g[T], x = O.indexOf("]="), N = x === -1 ? O.indexOf("=") : x + 1, A, E;
|
|
3717
|
+
N === -1 ? (A = j.decoder(O, o.decoder, d, "key"), E = j.strictNullHandling ? null : "") : (A = j.decoder(O.slice(0, N), o.decoder, d, "key"), E = e.maybeMap(
|
|
3718
|
+
l(O.slice(N + 1), j),
|
|
3719
3719
|
function(P) {
|
|
3720
3720
|
return j.decoder(P, o.decoder, d, "value");
|
|
3721
3721
|
}
|
|
3722
3722
|
)), E && j.interpretNumericEntities && d === "iso-8859-1" && (E = s(E)), O.indexOf("[]=") > -1 && (E = t(E) ? [E] : E);
|
|
3723
|
-
var B = r.call(v,
|
|
3724
|
-
B && j.duplicates === "combine" ? v[
|
|
3723
|
+
var B = r.call(v, A);
|
|
3724
|
+
B && j.duplicates === "combine" ? v[A] = e.combine(v[A], E) : (!B || j.duplicates === "last") && (v[A] = E);
|
|
3725
3725
|
}
|
|
3726
3726
|
return v;
|
|
3727
3727
|
}, c = function(m, b, j, v) {
|
|
@@ -3874,14 +3874,14 @@ function Cs() {
|
|
|
3874
3874
|
function y(d, O, x) {
|
|
3875
3875
|
if (d && typeof d == "object" && d instanceof r)
|
|
3876
3876
|
return d;
|
|
3877
|
-
var
|
|
3878
|
-
return
|
|
3877
|
+
var N = new r();
|
|
3878
|
+
return N.parse(d, O, x), N;
|
|
3879
3879
|
}
|
|
3880
3880
|
r.prototype.parse = function(d, O, x) {
|
|
3881
3881
|
if (typeof d != "string")
|
|
3882
3882
|
throw new TypeError("Parameter 'url' must be a string, not " + typeof d);
|
|
3883
|
-
var
|
|
3884
|
-
E[0] = E[0].replace(B, "/"), d = E.join(
|
|
3883
|
+
var N = d.indexOf("?"), A = N !== -1 && N < d.indexOf("#") ? "?" : "#", E = d.split(A), B = /\\/g;
|
|
3884
|
+
E[0] = E[0].replace(B, "/"), d = E.join(A);
|
|
3885
3885
|
var P = d;
|
|
3886
3886
|
if (P = P.trim(), !x && d.split("#").length === 1) {
|
|
3887
3887
|
var ae = s.exec(P);
|
|
@@ -3903,8 +3903,8 @@ function Cs() {
|
|
|
3903
3903
|
var re = P.indexOf(c[k]);
|
|
3904
3904
|
re !== -1 && (Z === -1 || re < Z) && (Z = re);
|
|
3905
3905
|
}
|
|
3906
|
-
var
|
|
3907
|
-
Z === -1 ? q = P.lastIndexOf("@") : q = P.lastIndexOf("@", Z), q !== -1 && (
|
|
3906
|
+
var R, q;
|
|
3907
|
+
Z === -1 ? q = P.lastIndexOf("@") : q = P.lastIndexOf("@", Z), q !== -1 && (R = P.slice(0, q), P = P.slice(q + 1), this.auth = decodeURIComponent(R)), Z = -1;
|
|
3908
3908
|
for (var k = 0; k < i.length; k++) {
|
|
3909
3909
|
var re = P.indexOf(i[k]);
|
|
3910
3910
|
re !== -1 && (Z === -1 || re < Z) && (Z = re);
|
|
@@ -3912,14 +3912,14 @@ function Cs() {
|
|
|
3912
3912
|
Z === -1 && (Z = P.length), this.host = P.slice(0, Z), P = P.slice(Z), this.parseHost(), this.hostname = this.hostname || "";
|
|
3913
3913
|
var U = this.hostname[0] === "[" && this.hostname[this.hostname.length - 1] === "]";
|
|
3914
3914
|
if (!U)
|
|
3915
|
-
for (var C = this.hostname.split(/\./), k = 0,
|
|
3915
|
+
for (var C = this.hostname.split(/\./), k = 0, L = C.length; k < L; k++) {
|
|
3916
3916
|
var W = C[k];
|
|
3917
3917
|
if (W && !W.match(p)) {
|
|
3918
3918
|
for (var z = "", K = 0, ne = W.length; K < ne; K++)
|
|
3919
3919
|
W.charCodeAt(K) > 127 ? z += "x" : z += W[K];
|
|
3920
3920
|
if (!z.match(p)) {
|
|
3921
|
-
var J = C.slice(0, k),
|
|
3922
|
-
F && (J.push(F[1]),
|
|
3921
|
+
var J = C.slice(0, k), I = C.slice(k + 1), F = W.match(m);
|
|
3922
|
+
F && (J.push(F[1]), I.unshift(F[2])), I.length && (P = "/" + I.join(".") + P), this.hostname = J.join(".");
|
|
3923
3923
|
break;
|
|
3924
3924
|
}
|
|
3925
3925
|
}
|
|
@@ -3929,7 +3929,7 @@ function Cs() {
|
|
|
3929
3929
|
this.host = Q + _, this.href += this.host, U && (this.hostname = this.hostname.substr(1, this.hostname.length - 2), P[0] !== "/" && (P = "/" + P));
|
|
3930
3930
|
}
|
|
3931
3931
|
if (!b[D])
|
|
3932
|
-
for (var k = 0,
|
|
3932
|
+
for (var k = 0, L = a.length; k < L; k++) {
|
|
3933
3933
|
var G = a[k];
|
|
3934
3934
|
if (P.indexOf(G) !== -1) {
|
|
3935
3935
|
var Y = encodeURIComponent(G);
|
|
@@ -3951,15 +3951,15 @@ function Cs() {
|
|
|
3951
3951
|
r.prototype.format = function() {
|
|
3952
3952
|
var d = this.auth || "";
|
|
3953
3953
|
d && (d = encodeURIComponent(d), d = d.replace(/%3A/i, ":"), d += "@");
|
|
3954
|
-
var O = this.protocol || "", x = this.pathname || "",
|
|
3955
|
-
this.host ?
|
|
3954
|
+
var O = this.protocol || "", x = this.pathname || "", N = this.hash || "", A = !1, E = "";
|
|
3955
|
+
this.host ? A = d + this.host : this.hostname && (A = d + (this.hostname.indexOf(":") === -1 ? this.hostname : "[" + this.hostname + "]"), this.port && (A += ":" + this.port)), this.query && typeof this.query == "object" && Object.keys(this.query).length && (E = u.stringify(this.query, {
|
|
3956
3956
|
arrayFormat: "repeat",
|
|
3957
3957
|
addQueryPrefix: !1
|
|
3958
3958
|
}));
|
|
3959
3959
|
var B = this.search || E && "?" + E || "";
|
|
3960
|
-
return O && O.substr(-1) !== ":" && (O += ":"), this.slashes || (!O || v[O]) &&
|
|
3960
|
+
return O && O.substr(-1) !== ":" && (O += ":"), this.slashes || (!O || v[O]) && A !== !1 ? (A = "//" + (A || ""), x && x.charAt(0) !== "/" && (x = "/" + x)) : A || (A = ""), N && N.charAt(0) !== "#" && (N = "#" + N), B && B.charAt(0) !== "?" && (B = "?" + B), x = x.replace(/[?#]/g, function(P) {
|
|
3961
3961
|
return encodeURIComponent(P);
|
|
3962
|
-
}), B = B.replace("#", "%23"), O +
|
|
3962
|
+
}), B = B.replace("#", "%23"), O + A + x + B + N;
|
|
3963
3963
|
};
|
|
3964
3964
|
function w(d, O) {
|
|
3965
3965
|
return y(d, !1, !0).resolve(O);
|
|
@@ -3975,8 +3975,8 @@ function Cs() {
|
|
|
3975
3975
|
var O = new r();
|
|
3976
3976
|
O.parse(d, !1, !0), d = O;
|
|
3977
3977
|
}
|
|
3978
|
-
for (var x = new r(),
|
|
3979
|
-
var E =
|
|
3978
|
+
for (var x = new r(), N = Object.keys(this), A = 0; A < N.length; A++) {
|
|
3979
|
+
var E = N[A];
|
|
3980
3980
|
x[E] = this[E];
|
|
3981
3981
|
}
|
|
3982
3982
|
if (x.hash = d.hash, d.href === "")
|
|
@@ -3997,9 +3997,9 @@ function Cs() {
|
|
|
3997
3997
|
return x.href = x.format(), x;
|
|
3998
3998
|
}
|
|
3999
3999
|
if (x.protocol = d.protocol, !d.host && !j[d.protocol]) {
|
|
4000
|
-
for (var
|
|
4000
|
+
for (var L = (d.pathname || "").split("/"); L.length && !(d.host = L.shift()); )
|
|
4001
4001
|
;
|
|
4002
|
-
d.host || (d.host = ""), d.hostname || (d.hostname = ""),
|
|
4002
|
+
d.host || (d.host = ""), d.hostname || (d.hostname = ""), L[0] !== "" && L.unshift(""), L.length < 2 && L.unshift(""), x.pathname = L.join("/");
|
|
4003
4003
|
} else
|
|
4004
4004
|
x.pathname = d.pathname;
|
|
4005
4005
|
if (x.search = d.search, x.query = d.query, x.host = d.host || "", x.auth = d.auth, x.hostname = d.hostname || d.host, x.port = d.port, x.pathname || x.search) {
|
|
@@ -4008,11 +4008,11 @@ function Cs() {
|
|
|
4008
4008
|
}
|
|
4009
4009
|
return x.slashes = x.slashes || d.slashes, x.href = x.format(), x;
|
|
4010
4010
|
}
|
|
4011
|
-
var re = x.pathname && x.pathname.charAt(0) === "/",
|
|
4012
|
-
if (W && (x.hostname = "", x.port = null, x.host && (C[0] === "" ? C[0] = x.host : C.unshift(x.host)), x.host = "", d.protocol && (d.hostname = null, d.port = null, d.host && (
|
|
4013
|
-
x.host = d.host || d.host === "" ? d.host : x.host, x.hostname = d.hostname || d.hostname === "" ? d.hostname : x.hostname, x.search = d.search, x.query = d.query, C =
|
|
4014
|
-
else if (
|
|
4015
|
-
C || (C = []), C.pop(), C = C.concat(
|
|
4011
|
+
var re = x.pathname && x.pathname.charAt(0) === "/", R = d.host || d.pathname && d.pathname.charAt(0) === "/", q = R || re || x.host && d.pathname, U = q, C = x.pathname && x.pathname.split("/") || [], L = d.pathname && d.pathname.split("/") || [], W = x.protocol && !v[x.protocol];
|
|
4012
|
+
if (W && (x.hostname = "", x.port = null, x.host && (C[0] === "" ? C[0] = x.host : C.unshift(x.host)), x.host = "", d.protocol && (d.hostname = null, d.port = null, d.host && (L[0] === "" ? L[0] = d.host : L.unshift(d.host)), d.host = null), q = q && (L[0] === "" || C[0] === "")), R)
|
|
4013
|
+
x.host = d.host || d.host === "" ? d.host : x.host, x.hostname = d.hostname || d.hostname === "" ? d.hostname : x.hostname, x.search = d.search, x.query = d.query, C = L;
|
|
4014
|
+
else if (L.length)
|
|
4015
|
+
C || (C = []), C.pop(), C = C.concat(L), x.search = d.search, x.query = d.query;
|
|
4016
4016
|
else if (d.search != null) {
|
|
4017
4017
|
if (W) {
|
|
4018
4018
|
x.host = C.shift(), x.hostname = x.host;
|
|
@@ -4023,8 +4023,8 @@ function Cs() {
|
|
|
4023
4023
|
}
|
|
4024
4024
|
if (!C.length)
|
|
4025
4025
|
return x.pathname = null, x.search ? x.path = "/" + x.search : x.path = null, x.href = x.format(), x;
|
|
4026
|
-
for (var K = C.slice(-1)[0], ne = (x.host || d.host || C.length > 1) && (K === "." || K === "..") || K === "", J = 0,
|
|
4027
|
-
K = C[
|
|
4026
|
+
for (var K = C.slice(-1)[0], ne = (x.host || d.host || C.length > 1) && (K === "." || K === "..") || K === "", J = 0, I = C.length; I >= 0; I--)
|
|
4027
|
+
K = C[I], K === "." ? C.splice(I, 1) : K === ".." ? (C.splice(I, 1), J++) : J && (C.splice(I, 1), J--);
|
|
4028
4028
|
if (!q && !U)
|
|
4029
4029
|
for (; J--; J)
|
|
4030
4030
|
C.unshift("..");
|
|
@@ -4109,10 +4109,10 @@ var pr = Cs(), dr = /* @__PURE__ */ wo(), Ns = (e) => typeof e == "object" && "l
|
|
|
4109
4109
|
`, u = (T) => T.replace(/\n/g, "%0A").replace(/\r/g, "%0D").replace(/"/g, "%22"), y = (T) => T.replace(/\r?\n|\r/g, `\r
|
|
4110
4110
|
`), g = [`--${b}`];
|
|
4111
4111
|
(m = t.postData) == null || m.params.forEach((T, d) => {
|
|
4112
|
-
const O = T.name, x = T.value || "",
|
|
4113
|
-
|
|
4114
|
-
`Content-Disposition: form-data; name="${u(y(O))}"; filename="${
|
|
4115
|
-
), g.push(`Content-Type: ${
|
|
4112
|
+
const O = T.name, x = T.value || "", N = T.fileName || null, A = T.contentType || "application/octet-stream";
|
|
4113
|
+
N ? (g.push(
|
|
4114
|
+
`Content-Disposition: form-data; name="${u(y(O))}"; filename="${N}"`
|
|
4115
|
+
), g.push(`Content-Type: ${A}`)) : g.push(`Content-Disposition: form-data; name="${u(y(O))}"`), g.push(""), g.push(y(x)), d !== t.postData.params.length - 1 && g.push(`--${b}`);
|
|
4116
4116
|
}), g.push(`--${j}`), t.postData.boundary = b, t.postData.text = g.join(v);
|
|
4117
4117
|
const w = pe(t.headersObj, "content-type") || "content-type";
|
|
4118
4118
|
t.headersObj[w] = `multipart/form-data; boundary=${b}`;
|
|
@@ -4263,7 +4263,7 @@ const qs = ({
|
|
|
4263
4263
|
var u, y, g, w, T, d, O, x;
|
|
4264
4264
|
return {
|
|
4265
4265
|
name: v.name,
|
|
4266
|
-
defaultValue: ((u = v.schema) == null ? void 0 : u.default) ?? ((g = (y = v.examples) == null ? void 0 : y.find((
|
|
4266
|
+
defaultValue: ((u = v.schema) == null ? void 0 : u.default) ?? ((g = (y = v.examples) == null ? void 0 : y.find((N) => N.value)) == null ? void 0 : g.value) ?? "",
|
|
4267
4267
|
defaultActive: v.required ?? !1,
|
|
4268
4268
|
isRequired: v.required ?? !1,
|
|
4269
4269
|
enum: ((w = v.schema) == null ? void 0 : w.type) == "array" ? (d = (T = v.schema) == null ? void 0 : T.items) == null ? void 0 : d.enum : (O = v.schema) == null ? void 0 : O.enum,
|
|
@@ -4536,47 +4536,46 @@ const qs = ({
|
|
|
4536
4536
|
selectedResponse: r,
|
|
4537
4537
|
onSelectResponse: t
|
|
4538
4538
|
}) => {
|
|
4539
|
-
var
|
|
4540
|
-
const { input: o, type: s, options: l } = Sr(), n = Or(Bs, { input: o, type: s }), a = xr(n), i = io(e.method), [c, h] = Qo(), [, p] = so(), [m, b] = ge(), j = c.get("lang") ?? (l == null ? void 0 : l.
|
|
4539
|
+
var O;
|
|
4540
|
+
const { input: o, type: s, options: l } = Sr(), n = Or(Bs, { input: o, type: s }), a = xr(n), i = io(e.method), [c, h] = Qo(), [, p] = so(), [m, b] = ge(), j = c.get("lang") ?? (l == null ? void 0 : l.examplesLanguage) ?? "shell", v = (O = e.requestBody) == null ? void 0 : O.content, u = /* @__PURE__ */ f.jsx(
|
|
4541
4541
|
Xo,
|
|
4542
4542
|
{
|
|
4543
4543
|
path: e.path,
|
|
4544
|
-
renderParam: ({ name:
|
|
4544
|
+
renderParam: ({ name: x }) => /* @__PURE__ */ f.jsx(
|
|
4545
4545
|
no,
|
|
4546
4546
|
{
|
|
4547
|
-
name:
|
|
4547
|
+
name: x,
|
|
4548
4548
|
backgroundOpacity: "0",
|
|
4549
|
-
slug: `${e.slug}-${
|
|
4550
|
-
children: `{${
|
|
4549
|
+
slug: `${e.slug}-${x}`,
|
|
4550
|
+
children: `{${x}}`
|
|
4551
4551
|
}
|
|
4552
4552
|
)
|
|
4553
4553
|
}
|
|
4554
4554
|
), { selectedServer: y } = jr(a.data.schema.servers), g = lo(() => {
|
|
4555
|
-
var
|
|
4556
|
-
const
|
|
4555
|
+
var A;
|
|
4556
|
+
const x = m ?? ((A = v == null ? void 0 : v[0]) != null && A.schema ? He(v[0].schema) : void 0), N = new Rs({
|
|
4557
4557
|
method: e.method.toLocaleUpperCase(),
|
|
4558
4558
|
url: y + e.path.replaceAll("{", ":").replaceAll("}", ""),
|
|
4559
|
-
postData:
|
|
4560
|
-
text: JSON.stringify(
|
|
4559
|
+
postData: x ? {
|
|
4560
|
+
text: JSON.stringify(x, null, 2),
|
|
4561
4561
|
mimeType: "application/json"
|
|
4562
4562
|
} : {},
|
|
4563
|
-
headers: [],
|
|
4563
|
+
headers: [{ name: "Content-Type", value: "application/json" }],
|
|
4564
4564
|
queryString: [],
|
|
4565
4565
|
httpVersion: "",
|
|
4566
4566
|
cookies: [],
|
|
4567
4567
|
headersSize: 0,
|
|
4568
4568
|
bodySize: 0
|
|
4569
4569
|
});
|
|
4570
|
-
return _s(
|
|
4570
|
+
return _s(N, j);
|
|
4571
4571
|
}, [
|
|
4572
4572
|
m,
|
|
4573
4573
|
v,
|
|
4574
4574
|
e.method,
|
|
4575
4575
|
e.path,
|
|
4576
4576
|
y,
|
|
4577
|
-
a.data.schema.url,
|
|
4578
4577
|
j
|
|
4579
|
-
]), [w, T] = qs({ rootMargin: "200px 0px 200px 0px" });
|
|
4578
|
+
]), [w, T] = qs({ rootMargin: "200px 0px 200px 0px" }), d = T && (e.extensions["x-explorer-enabled"] === !0 || e.extensions["x-playground-enabled"] === !0 || e.extensions["x-explorer-enabled"] === void 0 && e.extensions["x-playground-enabled"] === void 0 && !(l != null && l.disablePlayground));
|
|
4580
4579
|
return /* @__PURE__ */ f.jsxs(
|
|
4581
4580
|
"aside",
|
|
4582
4581
|
{
|
|
@@ -4591,10 +4590,10 @@ const qs = ({
|
|
|
4591
4590
|
" ",
|
|
4592
4591
|
u
|
|
4593
4592
|
] }),
|
|
4594
|
-
|
|
4593
|
+
d && /* @__PURE__ */ f.jsx(
|
|
4595
4594
|
Es,
|
|
4596
4595
|
{
|
|
4597
|
-
servers: a.data.schema.servers.map((
|
|
4596
|
+
servers: a.data.schema.servers.map((x) => x.url),
|
|
4598
4597
|
operation: e,
|
|
4599
4598
|
examples: v ?? void 0
|
|
4600
4599
|
}
|
|
@@ -4617,9 +4616,9 @@ const qs = ({
|
|
|
4617
4616
|
{
|
|
4618
4617
|
className: "self-start max-w-[150px]",
|
|
4619
4618
|
value: j,
|
|
4620
|
-
onChange: (
|
|
4619
|
+
onChange: (x) => {
|
|
4621
4620
|
p(() => {
|
|
4622
|
-
h((
|
|
4621
|
+
h((N) => (N.set("lang", x.target.value), N));
|
|
4623
4622
|
});
|
|
4624
4623
|
},
|
|
4625
4624
|
options: Hs
|
|
@@ -5065,6 +5064,7 @@ const el = rt(
|
|
|
5065
5064
|
contentTypes
|
|
5066
5065
|
path
|
|
5067
5066
|
deprecated
|
|
5067
|
+
extensions
|
|
5068
5068
|
parameters {
|
|
5069
5069
|
name
|
|
5070
5070
|
in
|
|
@@ -5247,7 +5247,7 @@ const el = rt(
|
|
|
5247
5247
|
) })
|
|
5248
5248
|
] }),
|
|
5249
5249
|
v && /* @__PURE__ */ f.jsx(
|
|
5250
|
-
"
|
|
5250
|
+
"div",
|
|
5251
5251
|
{
|
|
5252
5252
|
className: se(
|
|
5253
5253
|
Re,
|
|
@@ -5275,4 +5275,4 @@ export {
|
|
|
5275
5275
|
Ol as OperationList,
|
|
5276
5276
|
el as OperationsFragment
|
|
5277
5277
|
};
|
|
5278
|
-
//# sourceMappingURL=OperationList-
|
|
5278
|
+
//# sourceMappingURL=OperationList-D6goKbzX.js.map
|