@scalar/api-reference 1.22.13 → 1.22.15
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 +19 -0
- package/dist/Add-ngyZgYXx-CWPoroGU.cjs +1 -0
- package/dist/Add-ngyZgYXx-DoqFEwg6.js +21 -0
- package/dist/Brackets-4I8OKomf-C2VxZ6iW.cjs +1 -0
- package/dist/Brackets-4I8OKomf-DWpQfvXD.js +21 -0
- package/dist/Branch-CXwj8YuG-CvPS_xP0.js +34 -0
- package/dist/Branch-CXwj8YuG-xolS1YAY.cjs +1 -0
- package/dist/Checkmark-De7nq6cG-I65LWhZ2.js +21 -0
- package/dist/Checkmark-De7nq6cG-tp1nTP9w.cjs +1 -0
- package/dist/ChevronDown-Co7EAKAv-BMVIms1W.cjs +1 -0
- package/dist/{interface-add-Bthe4y9O-Cdr7NyPT.js → ChevronDown-Co7EAKAv-Dw2u19C4.js} +3 -4
- package/dist/ChevronLeft-DYt0idAu-4ItgPaSH.js +21 -0
- package/dist/ChevronLeft-DYt0idAu-DgJ680do.cjs +1 -0
- package/dist/ChevronRight-ylxToVWl-BVcmudpo.cjs +1 -0
- package/dist/ChevronRight-ylxToVWl-DMyZ2Rmi.js +21 -0
- package/dist/ChevronUp-xAnukIfj-BRXM2fAN.cjs +1 -0
- package/dist/ChevronUp-xAnukIfj-DYWzMh-o.js +21 -0
- package/dist/{Close-DFM1qMQH-DKJrvjUb.js → Close-CW3z42qZ-C-nzSJmV.js} +6 -5
- package/dist/Close-CW3z42qZ-CAmO5dZ5.cjs +1 -0
- package/dist/CodeFolder-Cv_igzJE-Dl4HVTRL.cjs +1 -0
- package/dist/CodeFolder-Cv_igzJE-POyxhw77.js +27 -0
- package/dist/Cookie-CEHvXpqB-BCUOR3DZ.cjs +1 -0
- package/dist/Cookie-CEHvXpqB-Bu1-nQ4L.js +37 -0
- package/dist/DocsPage-rh2xwxKN-DGM8iLwe.js +28 -0
- package/dist/DocsPage-rh2xwxKN-EMPYZ-u6.cjs +1 -0
- package/dist/ExternalLink-DK8L-EH7-BZtIWcdg.cjs +1 -0
- package/dist/ExternalLink-DK8L-EH7-CnaH9txm.js +21 -0
- package/dist/JsonObject-hGdHUQ4M-DEiEsxEM.cjs +1 -0
- package/dist/JsonObject-hGdHUQ4M-JVzShx7P.js +21 -0
- package/dist/Menu-CFK5cOsm-B_mqCQj6.cjs +1 -0
- package/dist/Menu-CFK5cOsm-Bt89Z42K.js +21 -0
- package/dist/browser/standalone.js +4 -4
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/Content/Schema/SchemaProperty.spec.d.ts +2 -0
- package/dist/components/Content/Schema/SchemaProperty.spec.d.ts.map +1 -0
- package/dist/components/MarkdownRenderer/MarkdownRenderer.vue.d.ts.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.css +1 -1
- package/dist/index.js +195 -193
- package/package.json +6 -5
- package/dist/Add-MwmVL5-v-BeXmeac3.js +0 -22
- package/dist/Add-MwmVL5-v-Cpy9xzNt.cjs +0 -1
- package/dist/Brackets-BcvH-CzZ-EHjsm1OA.cjs +0 -1
- package/dist/Brackets-BcvH-CzZ-nFXEjj81.js +0 -21
- package/dist/Branch-H5HxSfdF-DEntXp0J.cjs +0 -1
- package/dist/Branch-H5HxSfdF-F54Kv9Hs.js +0 -42
- package/dist/CheckMark-t0gl4N9U-BSJdmSYZ.cjs +0 -1
- package/dist/CheckMark-t0gl4N9U-BtMLa6Qj.js +0 -16
- package/dist/ChevronDown-BfsntkAH-C9zcr0qR.js +0 -24
- package/dist/ChevronDown-BfsntkAH-UyVhbh6W.cjs +0 -1
- package/dist/ChevronLeft-gsLd5xOQ-CqwkBaut.js +0 -24
- package/dist/ChevronLeft-gsLd5xOQ-Dsh3h4WW.cjs +0 -1
- package/dist/ChevronRight-CI_7n_av-CoZdhgFT.js +0 -24
- package/dist/ChevronRight-CI_7n_av-DLXhSyjz.cjs +0 -1
- package/dist/ChevronUp-CjHRmG59-Bdzral9D.cjs +0 -1
- package/dist/ChevronUp-CjHRmG59-DZusC0Dg.js +0 -24
- package/dist/Close-DFM1qMQH-DcOjuJhp.cjs +0 -1
- package/dist/CodeFolder-Cf9f6-KB-BF2rUBy2.js +0 -16
- package/dist/CodeFolder-Cf9f6-KB-jp2DyhGy.cjs +0 -1
- package/dist/Cookie-Bza3NN_O-9PzPbpn7.js +0 -39
- package/dist/Cookie-Bza3NN_O-C1JR2kUK.cjs +0 -1
- package/dist/DocsPage-Do-Ol9Hb-BdttSpZW.js +0 -27
- package/dist/DocsPage-Do-Ol9Hb-DFFeN4WT.cjs +0 -1
- package/dist/ExternalLink-D5zCsWas-D3-z4Da9.js +0 -28
- package/dist/ExternalLink-D5zCsWas-DtcGwFBe.cjs +0 -1
- package/dist/JsonObject-BvFDNssB-74uvq_tI.js +0 -27
- package/dist/JsonObject-BvFDNssB-CJ91xshz.cjs +0 -1
- package/dist/Menu-DFi9Laso-B_NYiSYW.cjs +0 -1
- package/dist/Menu-DFi9Laso-OUE38Mf8.js +0 -20
- package/dist/arrow-chevron-down-C8nXK33Q-BtMvOXx3.cjs +0 -1
- package/dist/arrow-chevron-down-C8nXK33Q-DvHEaiAC.js +0 -22
- package/dist/arrow-chevron-left-BXUhHSEc-CG6_PPJr.cjs +0 -1
- package/dist/arrow-chevron-left-BXUhHSEc-Dzn2e6R2.js +0 -22
- package/dist/arrow-chevron-right-CSqjaNKG-BwiP6haQ.cjs +0 -1
- package/dist/arrow-chevron-right-CSqjaNKG-D7eGkKfY.js +0 -22
- package/dist/arrow-chevron-up-Dr-W1IfM-BEO6dQ2V.js +0 -22
- package/dist/arrow-chevron-up-Dr-W1IfM-DWkrxiTC.cjs +0 -1
- package/dist/arrow-down-rfW-r_qd-7uVIv8Xj.js +0 -22
- package/dist/arrow-down-rfW-r_qd-CB4QKvc5.cjs +0 -1
- package/dist/arrow-left-DDkHt-xN-CHt49uCP.cjs +0 -1
- package/dist/arrow-left-DDkHt-xN-CrsVkvcK.js +0 -22
- package/dist/arrow-right-17dZkGZR-BhtMoPY2.js +0 -22
- package/dist/arrow-right-17dZkGZR-HKHoEiUe.cjs +0 -1
- package/dist/arrow-up-CexG2Ble-CEDM0GGI.js +0 -22
- package/dist/arrow-up-CexG2Ble-H6c2u01D.cjs +0 -1
- package/dist/brand-software-development-github-ZQnPxpDg-D7aX_GtH.cjs +0 -1
- package/dist/brand-software-development-github-ZQnPxpDg-DmL-9cU6.js +0 -16
- package/dist/interface-add-Bthe4y9O-BJ01MrNG.cjs +0 -1
- package/dist/interface-close-WpJOu-2h-BqME0WlY.cjs +0 -1
- package/dist/interface-close-WpJOu-2h-DN9XGInZ.js +0 -22
package/dist/index.js
CHANGED
|
@@ -26506,7 +26506,7 @@ const KZ = ["innerHTML"], gn = /* @__PURE__ */ F({
|
|
|
26506
26506
|
}, ee(S(Fl)(u.content)), 3))
|
|
26507
26507
|
], 2));
|
|
26508
26508
|
}
|
|
26509
|
-
}), dy = /* @__PURE__ */ Object.assign({ "./Add.svg": () => import("./Add-
|
|
26509
|
+
}), dy = /* @__PURE__ */ Object.assign({ "./Add.svg": () => import("./Add-ngyZgYXx-DoqFEwg6.js"), "./Brackets.svg": () => import("./Brackets-4I8OKomf-DWpQfvXD.js"), "./Branch.svg": () => import("./Branch-CXwj8YuG-CvPS_xP0.js"), "./Checkmark.svg": () => import("./Checkmark-De7nq6cG-I65LWhZ2.js"), "./ChevronDown.svg": () => import("./ChevronDown-Co7EAKAv-Dw2u19C4.js"), "./ChevronLeft.svg": () => import("./ChevronLeft-DYt0idAu-4ItgPaSH.js"), "./ChevronRight.svg": () => import("./ChevronRight-ylxToVWl-DMyZ2Rmi.js"), "./ChevronUp.svg": () => import("./ChevronUp-xAnukIfj-DYWzMh-o.js"), "./Clipboard.svg": () => import("./Clipboard-CU_KxGEv-DuOPrhqK.js"), "./Close.svg": () => import("./Close-CW3z42qZ-C-nzSJmV.js"), "./CodeFolder.svg": () => import("./CodeFolder-Cv_igzJE-POyxhw77.js"), "./Cookie.svg": () => import("./Cookie-CEHvXpqB-Bu1-nQ4L.js"), "./DarkMode.svg": () => import("./DarkMode-CBsV8Q_I-C-P5vpQi.js"), "./DocsPage.svg": () => import("./DocsPage-rh2xwxKN-DGM8iLwe.js"), "./Ellipses.svg": () => import("./Ellipses-Bo_X36Hx-D4ayuQAy.js"), "./ExternalLink.svg": () => import("./ExternalLink-DK8L-EH7-CnaH9txm.js"), "./GitHub.svg": () => import("./GitHub-NdE6Zs9k-CxmMd7Ky.js"), "./JsonObject.svg": () => import("./JsonObject-hGdHUQ4M-JVzShx7P.js"), "./LightDarkModeToggle.svg": () => import("./LightDarkModeToggle-BkvMimDa-CCZGR9vi.js"), "./LightMode.svg": () => import("./LightMode-Btz6vyT_-D8lhPTNZ.js"), "./Logo.svg": () => import("./Logo-mtzeKD8M-_nfcd_3S.js"), "./LogoAPI.svg": () => import("./LogoAPI-CaU5E6FK-BIDyFPeR.js"), "./LogoClient.svg": () => import("./LogoClient-DdC-t_7P-BJVLusot.js"), "./LogoMarket.svg": () => import("./LogoMarket-DwlApcab-BpTQzqp5.js"), "./LogoSwagger.svg": () => import("./LogoSwagger-CH60H5qW--whYwExv.js"), "./Menu.svg": () => import("./Menu-CFK5cOsm-Bt89Z42K.js"), "./PaperAirplane.svg": () => import("./PaperAirplane-BC-4mGEB-CC_xr_GF.js"), "./Search.svg": () => import("./Search-DqtlswRG-C2Pti_ld.js"), "./Terminal.svg": () => import("./Terminal-CKp--su5-DBOGXF1p.js"), "./programming-framework-angular.svg": () => import("./programming-framework-angular-DD4Vjgbk-CUF3ZYYB.js"), "./programming-framework-astro.svg": () => import("./programming-framework-astro-CLfrRt19-CH6OCtd8.js"), "./programming-framework-laravel.svg": () => import("./programming-framework-laravel-kAy2wVLy-kXRM5aCd.js"), "./programming-framework-nextdotjs.svg": () => import("./programming-framework-nextdotjs-BKdd_DY_-DF9m888v.js"), "./programming-framework-react.svg": () => import("./programming-framework-react-PDgmtZuN-DZjob66N.js"), "./programming-framework-vuedotjs.svg": () => import("./programming-framework-vuedotjs-Cv46W2aB-5jp2dhVz.js"), "./programming-language-c.svg": () => import("./programming-language-c-hPGu2Zvg-BesPZa4K.js"), "./programming-language-clojure.svg": () => import("./programming-language-clojure-Cvmzky8x-BfidiK-3.js"), "./programming-language-csharp.svg": () => import("./programming-language-csharp-lqX1oWgb-D-Mz5PM1.js"), "./programming-language-css3.svg": () => import("./programming-language-css3-Dpp4Cr6b-Dpx1zlAe.js"), "./programming-language-go.svg": () => import("./programming-language-go-DoJxWwT6-Bayz8oGO.js"), "./programming-language-html5.svg": () => import("./programming-language-html5-DlqJK4EL-DfQp7LQz.js"), "./programming-language-http.svg": () => import("./programming-language-http-wMYwFS1I-nvzm47LE.js"), "./programming-language-java.svg": () => import("./programming-language-java-BCxG2T_w-01jrBctS.js"), "./programming-language-javascript.svg": () => import("./programming-language-javascript-VxLvi1QG-qbgoUfZ8.js"), "./programming-language-json.svg": () => import("./programming-language-json-vEX_g7Zi-D-_9dDj_.js"), "./programming-language-kotlin.svg": () => import("./programming-language-kotlin-DKV8vP9h-C-cTXwXu.js"), "./programming-language-node.svg": () => import("./programming-language-node-Xsgx38lm-Be410R9Y.js"), "./programming-language-objc.svg": () => import("./programming-language-objc-BQXSOBsX-UyJQMZSh.js"), "./programming-language-ocaml.svg": () => import("./programming-language-ocaml-BEz7gGv7-L9a3ID8U.js"), "./programming-language-php.svg": () => import("./programming-language-php-GY38f8r4-jRMN5AZX.js"), "./programming-language-powershell.svg": () => import("./programming-language-powershell-C9DkSp36-C7fZCJBW.js"), "./programming-language-python.svg": () => import("./programming-language-python-Ct-_kNjo-DsKRdoNg.js"), "./programming-language-r.svg": () => import("./programming-language-r-BGoKwua9-BguWvgpu.js"), "./programming-language-ruby.svg": () => import("./programming-language-ruby-DhdM4d7g-BuT1i5is.js"), "./programming-language-scala.svg": () => import("./programming-language-scala-BVg0dToJ-p_n-G2sI.js"), "./programming-language-shell.svg": () => import("./programming-language-shell-BsTa1xI7-Mbhl6UDK.js"), "./programming-language-swift.svg": () => import("./programming-language-swift-Dn72xPjg-D-JnfNts.js"), "./programming-language-typescript.svg": () => import("./programming-language-typescript-CdF-HuRi-ocSQSwHb.js"), "./programming-script-code.svg": () => import("./programming-script-code-DQN1veb2-CcjBWaNF.js"), "./programming-tool-git.svg": () => import("./programming-tool-git-DDnQ1zGD-CGHot6Y8.js"), "./programming-tool-tailwindcss.svg": () => import("./programming-tool-tailwindcss-xjXi0E6g-r5YhtCAf.js") }), uy = (r) => {
|
|
26510
26510
|
const e = `./${r}.svg`;
|
|
26511
26511
|
return dy[e] ? L$(dy[e]) : (console.warn(`Could not find icon: ${r}`), null);
|
|
26512
26512
|
}, JZ = ["src"], rt = /* @__PURE__ */ F({
|
|
@@ -26519,11 +26519,13 @@ const KZ = ["innerHTML"], gn = /* @__PURE__ */ F({
|
|
|
26519
26519
|
const e = r, t = cm({
|
|
26520
26520
|
variants: {
|
|
26521
26521
|
size: {
|
|
26522
|
-
xs: "h-3 w-3",
|
|
26523
|
-
sm: "h-3.5 w-3.5",
|
|
26524
|
-
md: "h-4 w-4",
|
|
26522
|
+
xs: "h-3 w-3 stroke-[1.4]",
|
|
26523
|
+
sm: "h-3.5 w-3.5 stroke-[1.2]",
|
|
26524
|
+
md: "h-4 w-4 stroke-[1.1]",
|
|
26525
26525
|
lg: "h-5 w-5",
|
|
26526
|
-
xl: "h-6 w-6",
|
|
26526
|
+
xl: "h-6 w-6 stroke-[0.96]",
|
|
26527
|
+
"2xl": "h-8 w-8 stroke-[0.92]",
|
|
26528
|
+
"3xl": "h-10 w-10 stroke-[0.9]",
|
|
26527
26529
|
full: "h-full w-full"
|
|
26528
26530
|
}
|
|
26529
26531
|
},
|
|
@@ -35864,7 +35866,7 @@ const fk = {
|
|
|
35864
35866
|
test: /^0x[0-9a-fA-F]+$/,
|
|
35865
35867
|
resolve: (r, e, t) => og(r, 2, 16, t),
|
|
35866
35868
|
stringify: (r) => hk(r, 16, "0x")
|
|
35867
|
-
},
|
|
35869
|
+
}, e9 = [
|
|
35868
35870
|
xo,
|
|
35869
35871
|
Qo,
|
|
35870
35872
|
Ou,
|
|
@@ -35880,7 +35882,7 @@ const fk = {
|
|
|
35880
35882
|
function Ly(r) {
|
|
35881
35883
|
return typeof r == "bigint" || Number.isInteger(r);
|
|
35882
35884
|
}
|
|
35883
|
-
const sc = ({ value: r }) => JSON.stringify(r),
|
|
35885
|
+
const sc = ({ value: r }) => JSON.stringify(r), t9 = [
|
|
35884
35886
|
{
|
|
35885
35887
|
identify: (r) => typeof r == "string",
|
|
35886
35888
|
default: !0,
|
|
@@ -35921,14 +35923,14 @@ const sc = ({ value: r }) => JSON.stringify(r), tq = [
|
|
|
35921
35923
|
resolve: (r) => parseFloat(r),
|
|
35922
35924
|
stringify: sc
|
|
35923
35925
|
}
|
|
35924
|
-
],
|
|
35926
|
+
], r9 = {
|
|
35925
35927
|
default: !0,
|
|
35926
35928
|
tag: "",
|
|
35927
35929
|
test: /^/,
|
|
35928
35930
|
resolve(r, e) {
|
|
35929
35931
|
return e(`Unresolved plain scalar ${JSON.stringify(r)}`), r;
|
|
35930
35932
|
}
|
|
35931
|
-
},
|
|
35933
|
+
}, n9 = [xo, Qo].concat(t9, r9), ag = {
|
|
35932
35934
|
identify: (r) => r instanceof Uint8Array,
|
|
35933
35935
|
// Buffer inherits from Uint8Array
|
|
35934
35936
|
default: !1,
|
|
@@ -36087,14 +36089,14 @@ const bk = {
|
|
|
36087
36089
|
test: /^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,
|
|
36088
36090
|
resolve: () => new ke(!1),
|
|
36089
36091
|
stringify: yk
|
|
36090
|
-
},
|
|
36092
|
+
}, s9 = {
|
|
36091
36093
|
identify: (r) => typeof r == "number",
|
|
36092
36094
|
default: !0,
|
|
36093
36095
|
tag: "tag:yaml.org,2002:float",
|
|
36094
36096
|
test: /^[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN)$/,
|
|
36095
36097
|
resolve: (r) => r.slice(-3).toLowerCase() === "nan" ? NaN : r[0] === "-" ? Number.NEGATIVE_INFINITY : Number.POSITIVE_INFINITY,
|
|
36096
36098
|
stringify: Nr
|
|
36097
|
-
},
|
|
36099
|
+
}, i9 = {
|
|
36098
36100
|
identify: (r) => typeof r == "number",
|
|
36099
36101
|
default: !0,
|
|
36100
36102
|
tag: "tag:yaml.org,2002:float",
|
|
@@ -36105,7 +36107,7 @@ const bk = {
|
|
|
36105
36107
|
const e = Number(r.value);
|
|
36106
36108
|
return isFinite(e) ? e.toExponential() : Nr(r);
|
|
36107
36109
|
}
|
|
36108
|
-
},
|
|
36110
|
+
}, o9 = {
|
|
36109
36111
|
identify: (r) => typeof r == "number",
|
|
36110
36112
|
default: !0,
|
|
36111
36113
|
tag: "tag:yaml.org,2002:float",
|
|
@@ -36148,7 +36150,7 @@ function dg(r, e, t) {
|
|
|
36148
36150
|
}
|
|
36149
36151
|
return Nr(r);
|
|
36150
36152
|
}
|
|
36151
|
-
const
|
|
36153
|
+
const a9 = {
|
|
36152
36154
|
identify: ml,
|
|
36153
36155
|
default: !0,
|
|
36154
36156
|
tag: "tag:yaml.org,2002:int",
|
|
@@ -36156,7 +36158,7 @@ const aq = {
|
|
|
36156
36158
|
test: /^[-+]?0b[0-1_]+$/,
|
|
36157
36159
|
resolve: (r, e, t) => vu(r, 2, 2, t),
|
|
36158
36160
|
stringify: (r) => dg(r, 2, "0b")
|
|
36159
|
-
},
|
|
36161
|
+
}, l9 = {
|
|
36160
36162
|
identify: ml,
|
|
36161
36163
|
default: !0,
|
|
36162
36164
|
tag: "tag:yaml.org,2002:int",
|
|
@@ -36164,14 +36166,14 @@ const aq = {
|
|
|
36164
36166
|
test: /^[-+]?0[0-7_]+$/,
|
|
36165
36167
|
resolve: (r, e, t) => vu(r, 1, 8, t),
|
|
36166
36168
|
stringify: (r) => dg(r, 8, "0")
|
|
36167
|
-
},
|
|
36169
|
+
}, c9 = {
|
|
36168
36170
|
identify: ml,
|
|
36169
36171
|
default: !0,
|
|
36170
36172
|
tag: "tag:yaml.org,2002:int",
|
|
36171
36173
|
test: /^[-+]?[0-9][0-9_]*$/,
|
|
36172
36174
|
resolve: (r, e, t) => vu(r, 0, 10, t),
|
|
36173
36175
|
stringify: Nr
|
|
36174
|
-
},
|
|
36176
|
+
}, d9 = {
|
|
36175
36177
|
identify: ml,
|
|
36176
36178
|
default: !0,
|
|
36177
36179
|
tag: "tag:yaml.org,2002:int",
|
|
@@ -36298,13 +36300,13 @@ const Sk = {
|
|
|
36298
36300
|
yu,
|
|
36299
36301
|
bk,
|
|
36300
36302
|
vk,
|
|
36301
|
-
|
|
36302
|
-
|
|
36303
|
-
|
|
36304
|
-
|
|
36305
|
-
|
|
36306
|
-
|
|
36307
|
-
|
|
36303
|
+
a9,
|
|
36304
|
+
l9,
|
|
36305
|
+
c9,
|
|
36306
|
+
d9,
|
|
36307
|
+
s9,
|
|
36308
|
+
i9,
|
|
36309
|
+
o9,
|
|
36308
36310
|
ag,
|
|
36309
36311
|
cg,
|
|
36310
36312
|
lg,
|
|
@@ -36313,9 +36315,9 @@ const Sk = {
|
|
|
36313
36315
|
kk,
|
|
36314
36316
|
wu
|
|
36315
36317
|
], Hy = /* @__PURE__ */ new Map([
|
|
36316
|
-
["core",
|
|
36318
|
+
["core", e9],
|
|
36317
36319
|
["failsafe", [xo, Qo, Ou]],
|
|
36318
|
-
["json",
|
|
36320
|
+
["json", n9],
|
|
36319
36321
|
["yaml11", By],
|
|
36320
36322
|
["yaml-1.1", By]
|
|
36321
36323
|
]), Gy = {
|
|
@@ -36336,7 +36338,7 @@ const Sk = {
|
|
|
36336
36338
|
seq: Qo,
|
|
36337
36339
|
set: ug,
|
|
36338
36340
|
timestamp: wu
|
|
36339
|
-
},
|
|
36341
|
+
}, u9 = {
|
|
36340
36342
|
"tag:yaml.org,2002:binary": ag,
|
|
36341
36343
|
"tag:yaml.org,2002:omap": cg,
|
|
36342
36344
|
"tag:yaml.org,2002:pairs": lg,
|
|
@@ -36367,17 +36369,17 @@ function yh(r, e) {
|
|
|
36367
36369
|
throw new Error(`Unknown custom tag "${n}"; use one of ${i}`);
|
|
36368
36370
|
});
|
|
36369
36371
|
}
|
|
36370
|
-
const
|
|
36372
|
+
const h9 = (r, e) => r.key < e.key ? -1 : r.key > e.key ? 1 : 0;
|
|
36371
36373
|
class Su {
|
|
36372
36374
|
constructor({ compat: e, customTags: t, merge: n, resolveKnownTags: s, schema: i, sortMapEntries: o, toStringDefaults: a }) {
|
|
36373
|
-
this.compat = Array.isArray(e) ? yh(e, "compat") : e ? yh(null, e) : null, this.merge = !!n, this.name = typeof i == "string" && i || "core", this.knownTags = s ?
|
|
36375
|
+
this.compat = Array.isArray(e) ? yh(e, "compat") : e ? yh(null, e) : null, this.merge = !!n, this.name = typeof i == "string" && i || "core", this.knownTags = s ? u9 : {}, this.tags = yh(t, this.name), this.toStringOptions = a ?? null, Object.defineProperty(this, es, { value: xo }), Object.defineProperty(this, Tn, { value: Ou }), Object.defineProperty(this, ko, { value: Qo }), this.sortMapEntries = typeof o == "function" ? o : o === !0 ? h9 : null;
|
|
36374
36376
|
}
|
|
36375
36377
|
clone() {
|
|
36376
36378
|
const e = Object.create(Su.prototype, Object.getOwnPropertyDescriptors(this));
|
|
36377
36379
|
return e.tags = this.tags.slice(), e;
|
|
36378
36380
|
}
|
|
36379
36381
|
}
|
|
36380
|
-
function
|
|
36382
|
+
function f9(r, e) {
|
|
36381
36383
|
var t;
|
|
36382
36384
|
const n = [];
|
|
36383
36385
|
let s = e.directives === !0;
|
|
@@ -36628,7 +36630,7 @@ class To {
|
|
|
36628
36630
|
const t = JSON.stringify(e.indent);
|
|
36629
36631
|
throw new Error(`"indent" option must be a positive integer, not ${t}`);
|
|
36630
36632
|
}
|
|
36631
|
-
return
|
|
36633
|
+
return f9(this, e);
|
|
36632
36634
|
}
|
|
36633
36635
|
}
|
|
36634
36636
|
function yi(r) {
|
|
@@ -36776,7 +36778,7 @@ function Pk(r, e, t) {
|
|
|
36776
36778
|
return e.some((i) => s(i.key, t));
|
|
36777
36779
|
}
|
|
36778
36780
|
const Fy = "All mapping items must start at the same column";
|
|
36779
|
-
function
|
|
36781
|
+
function p9({ composeNode: r, composeEmptyNode: e }, t, n, s, i) {
|
|
36780
36782
|
var o;
|
|
36781
36783
|
const a = (i == null ? void 0 : i.nodeClass) ?? tr, l = new a(t.schema);
|
|
36782
36784
|
t.atRoot && (t.atRoot = !1);
|
|
@@ -36822,7 +36824,7 @@ function pq({ composeNode: r, composeEmptyNode: e }, t, n, s, i) {
|
|
|
36822
36824
|
}
|
|
36823
36825
|
return d && d < c && s(d, "IMPOSSIBLE", "Map comment with trailing content"), l.range = [n.offset, c, d ?? c], l;
|
|
36824
36826
|
}
|
|
36825
|
-
function
|
|
36827
|
+
function m9({ composeNode: r, composeEmptyNode: e }, t, n, s, i) {
|
|
36826
36828
|
const o = (i == null ? void 0 : i.nodeClass) ?? cs, a = new o(t.schema);
|
|
36827
36829
|
t.atRoot && (t.atRoot = !1);
|
|
36828
36830
|
let l = n.offset, c = null;
|
|
@@ -36874,7 +36876,7 @@ function gl(r, e, t, n) {
|
|
|
36874
36876
|
return { comment: s, offset: e };
|
|
36875
36877
|
}
|
|
36876
36878
|
const bh = "Block collections are not allowed within flow collections", vh = (r) => r && (r.type === "block-map" || r.type === "block-seq");
|
|
36877
|
-
function
|
|
36879
|
+
function g9({ composeNode: r, composeEmptyNode: e }, t, n, s, i) {
|
|
36878
36880
|
const o = n.start.source === "{", a = o ? "flow map" : "flow sequence", l = (i == null ? void 0 : i.nodeClass) ?? (o ? tr : cs), c = new l(t.schema);
|
|
36879
36881
|
c.flow = !0;
|
|
36880
36882
|
const d = t.atRoot;
|
|
@@ -36984,10 +36986,10 @@ function gq({ composeNode: r, composeEmptyNode: e }, t, n, s, i) {
|
|
|
36984
36986
|
return c;
|
|
36985
36987
|
}
|
|
36986
36988
|
function wh(r, e, t, n, s, i) {
|
|
36987
|
-
const o = t.type === "block-map" ?
|
|
36989
|
+
const o = t.type === "block-map" ? p9(r, e, t, n, i) : t.type === "block-seq" ? m9(r, e, t, n, i) : g9(r, e, t, n, i), a = o.constructor;
|
|
36988
36990
|
return s === "!" || s === a.tagName ? (o.tag = a.tagName, o) : (s && (o.tag = s), o);
|
|
36989
36991
|
}
|
|
36990
|
-
function
|
|
36992
|
+
function O9(r, e, t, n, s) {
|
|
36991
36993
|
var i;
|
|
36992
36994
|
const o = n ? e.directives.tagName(n.source, (h) => s(n, "TAG_RESOLVE_FAILED", h)) : null, a = t.type === "block-map" ? "map" : t.type === "block-seq" ? "seq" : t.start.source === "{" ? "map" : "seq";
|
|
36993
36995
|
if (!n || !o || o === "!" || o === tr.tagName && a === "map" || o === cs.tagName && a === "seq" || !a)
|
|
@@ -37004,10 +37006,10 @@ function Oq(r, e, t, n, s) {
|
|
|
37004
37006
|
return u.range = c.range, u.tag = o, l != null && l.format && (u.format = l.format), u;
|
|
37005
37007
|
}
|
|
37006
37008
|
function _k(r, e, t) {
|
|
37007
|
-
const n = r.offset, s =
|
|
37009
|
+
const n = r.offset, s = y9(r, e, t);
|
|
37008
37010
|
if (!s)
|
|
37009
37011
|
return { value: "", type: null, comment: "", range: [n, n, n] };
|
|
37010
|
-
const i = s.mode === ">" ? ke.BLOCK_FOLDED : ke.BLOCK_LITERAL, o = r.source ?
|
|
37012
|
+
const i = s.mode === ">" ? ke.BLOCK_FOLDED : ke.BLOCK_LITERAL, o = r.source ? b9(r.source) : [];
|
|
37011
37013
|
let a = o.length;
|
|
37012
37014
|
for (let m = o.length - 1; m >= 0; --m) {
|
|
37013
37015
|
const g = o[m][1];
|
|
@@ -37076,7 +37078,7 @@ function _k(r, e, t) {
|
|
|
37076
37078
|
const p = n + s.length + r.source.length;
|
|
37077
37079
|
return { value: u, type: i, comment: s.comment, range: [n, p, p] };
|
|
37078
37080
|
}
|
|
37079
|
-
function
|
|
37081
|
+
function y9({ offset: r, props: e }, t, n) {
|
|
37080
37082
|
if (e[0].type !== "block-scalar-header")
|
|
37081
37083
|
return n(e[0], "IMPOSSIBLE", "Block scalar header not found"), null;
|
|
37082
37084
|
const { source: s } = e[0], i = s[0];
|
|
@@ -37116,7 +37118,7 @@ function yq({ offset: r, props: e }, t, n) {
|
|
|
37116
37118
|
}
|
|
37117
37119
|
return { mode: i, indent: o, chomp: a, comment: d, length: u };
|
|
37118
37120
|
}
|
|
37119
|
-
function
|
|
37121
|
+
function b9(r) {
|
|
37120
37122
|
const e = r.split(/\n( *)/), t = e[0], n = t.match(/^( *)/), s = [n != null && n[1] ? [n[1], t.slice(n[1].length)] : ["", t]];
|
|
37121
37123
|
for (let i = 1; i < e.length; i += 2)
|
|
37122
37124
|
s.push([e[i], e[i + 1]]);
|
|
@@ -37128,13 +37130,13 @@ function xk(r, e, t) {
|
|
|
37128
37130
|
const c = (h, f, p) => t(n + h, f, p);
|
|
37129
37131
|
switch (s) {
|
|
37130
37132
|
case "scalar":
|
|
37131
|
-
a = ke.PLAIN, l =
|
|
37133
|
+
a = ke.PLAIN, l = v9(i, c);
|
|
37132
37134
|
break;
|
|
37133
37135
|
case "single-quoted-scalar":
|
|
37134
|
-
a = ke.QUOTE_SINGLE, l =
|
|
37136
|
+
a = ke.QUOTE_SINGLE, l = w9(i, c);
|
|
37135
37137
|
break;
|
|
37136
37138
|
case "double-quoted-scalar":
|
|
37137
|
-
a = ke.QUOTE_DOUBLE, l =
|
|
37139
|
+
a = ke.QUOTE_DOUBLE, l = S9(i, c);
|
|
37138
37140
|
break;
|
|
37139
37141
|
default:
|
|
37140
37142
|
return t(r, "UNEXPECTED_TOKEN", `Expected a flow scalar value, but found: ${s}`), {
|
|
@@ -37152,7 +37154,7 @@ function xk(r, e, t) {
|
|
|
37152
37154
|
range: [n, d, u.offset]
|
|
37153
37155
|
};
|
|
37154
37156
|
}
|
|
37155
|
-
function
|
|
37157
|
+
function v9(r, e) {
|
|
37156
37158
|
let t = "";
|
|
37157
37159
|
switch (r[0]) {
|
|
37158
37160
|
case " ":
|
|
@@ -37177,7 +37179,7 @@ function vq(r, e) {
|
|
|
37177
37179
|
}
|
|
37178
37180
|
return t && e(0, "BAD_SCALAR_START", `Plain value cannot start with ${t}`), Qk(r);
|
|
37179
37181
|
}
|
|
37180
|
-
function
|
|
37182
|
+
function w9(r, e) {
|
|
37181
37183
|
return (r[r.length - 1] !== "'" || r.length === 1) && e(r.length, "MISSING_CHAR", "Missing closing 'quote"), Qk(r.slice(1, -1)).replace(/''/g, "'");
|
|
37182
37184
|
}
|
|
37183
37185
|
function Qk(r) {
|
|
@@ -37200,7 +37202,7 @@ function Qk(r) {
|
|
|
37200
37202
|
const a = /[ \t]*(.*)/sy;
|
|
37201
37203
|
return a.lastIndex = o, n = a.exec(r), s + i + ((n == null ? void 0 : n[1]) ?? "");
|
|
37202
37204
|
}
|
|
37203
|
-
function
|
|
37205
|
+
function S9(r, e) {
|
|
37204
37206
|
let t = "";
|
|
37205
37207
|
for (let n = 1; n < r.length - 1; ++n) {
|
|
37206
37208
|
const s = r[n];
|
|
@@ -37208,11 +37210,11 @@ function Sq(r, e) {
|
|
|
37208
37210
|
`))
|
|
37209
37211
|
if (s === `
|
|
37210
37212
|
`) {
|
|
37211
|
-
const { fold: i, offset: o } =
|
|
37213
|
+
const { fold: i, offset: o } = k9(r, n);
|
|
37212
37214
|
t += i, n = o;
|
|
37213
37215
|
} else if (s === "\\") {
|
|
37214
37216
|
let i = r[++n];
|
|
37215
|
-
const o = $
|
|
37217
|
+
const o = $9[i];
|
|
37216
37218
|
if (o)
|
|
37217
37219
|
t += o;
|
|
37218
37220
|
else if (i === `
|
|
@@ -37225,7 +37227,7 @@ function Sq(r, e) {
|
|
|
37225
37227
|
i = r[++n + 1];
|
|
37226
37228
|
else if (i === "x" || i === "u" || i === "U") {
|
|
37227
37229
|
const a = { x: 2, u: 4, U: 8 }[i];
|
|
37228
|
-
t +=
|
|
37230
|
+
t += P9(r, n + 1, a, e), n += a;
|
|
37229
37231
|
} else {
|
|
37230
37232
|
const a = r.substr(n - 1, 2);
|
|
37231
37233
|
e(n - 1, "BAD_DQ_ESCAPE", `Invalid escape sequence ${a}`), t += a;
|
|
@@ -37243,7 +37245,7 @@ function Sq(r, e) {
|
|
|
37243
37245
|
}
|
|
37244
37246
|
return (r[r.length - 1] !== '"' || r.length === 1) && e(r.length, "MISSING_CHAR", 'Missing closing "quote'), t;
|
|
37245
37247
|
}
|
|
37246
|
-
function
|
|
37248
|
+
function k9(r, e) {
|
|
37247
37249
|
let t = "", n = r[e + 1];
|
|
37248
37250
|
for (; (n === " " || n === " " || n === `
|
|
37249
37251
|
` || n === "\r") && !(n === "\r" && r[e + 2] !== `
|
|
@@ -37253,7 +37255,7 @@ function kq(r, e) {
|
|
|
37253
37255
|
`), e += 1, n = r[e + 1];
|
|
37254
37256
|
return t || (t = " "), { fold: t, offset: e };
|
|
37255
37257
|
}
|
|
37256
|
-
const $
|
|
37258
|
+
const $9 = {
|
|
37257
37259
|
0: "\0",
|
|
37258
37260
|
// null character
|
|
37259
37261
|
a: "\x07",
|
|
@@ -37287,7 +37289,7 @@ const $q = {
|
|
|
37287
37289
|
"\\": "\\",
|
|
37288
37290
|
" ": " "
|
|
37289
37291
|
};
|
|
37290
|
-
function
|
|
37292
|
+
function P9(r, e, t, n) {
|
|
37291
37293
|
const s = r.substr(e, t), i = s.length === t && /^[0-9a-fA-F]+$/.test(s) ? parseInt(s, 16) : NaN;
|
|
37292
37294
|
if (isNaN(i)) {
|
|
37293
37295
|
const o = r.substr(e - 2, t + 2);
|
|
@@ -37296,7 +37298,7 @@ function Pq(r, e, t, n) {
|
|
|
37296
37298
|
return String.fromCodePoint(i);
|
|
37297
37299
|
}
|
|
37298
37300
|
function Tk(r, e, t, n) {
|
|
37299
|
-
const { value: s, type: i, comment: o, range: a } = e.type === "block-scalar" ? _k(e, r.options.strict, n) : xk(e, r.options.strict, n), l = t ? r.directives.tagName(t.source, (u) => n(t, "TAG_RESOLVE_FAILED", u)) : null, c = t && l ?
|
|
37301
|
+
const { value: s, type: i, comment: o, range: a } = e.type === "block-scalar" ? _k(e, r.options.strict, n) : xk(e, r.options.strict, n), l = t ? r.directives.tagName(t.source, (u) => n(t, "TAG_RESOLVE_FAILED", u)) : null, c = t && l ? _9(r.schema, s, l, t, n) : e.type === "scalar" ? x9(r, s, e, n) : r.schema[Tn];
|
|
37300
37302
|
let d;
|
|
37301
37303
|
try {
|
|
37302
37304
|
const u = c.resolve(s, (h) => n(t ?? e, "TAG_RESOLVE_FAILED", h), r.options);
|
|
@@ -37307,7 +37309,7 @@ function Tk(r, e, t, n) {
|
|
|
37307
37309
|
}
|
|
37308
37310
|
return d.range = a, d.source = s, i && (d.type = i), l && (d.tag = l), c.format && (d.format = c.format), o && (d.comment = o), d;
|
|
37309
37311
|
}
|
|
37310
|
-
function
|
|
37312
|
+
function _9(r, e, t, n, s) {
|
|
37311
37313
|
var i;
|
|
37312
37314
|
if (t === "!")
|
|
37313
37315
|
return r[Tn];
|
|
@@ -37324,7 +37326,7 @@ function _q(r, e, t, n, s) {
|
|
|
37324
37326
|
const a = r.knownTags[t];
|
|
37325
37327
|
return a && !a.collection ? (r.tags.push(Object.assign({}, a, { default: !1, test: void 0 })), a) : (s(n, "TAG_RESOLVE_FAILED", `Unresolved tag: ${t}`, t !== "tag:yaml.org,2002:str"), r[Tn]);
|
|
37326
37328
|
}
|
|
37327
|
-
function
|
|
37329
|
+
function x9({ directives: r, schema: e }, t, n, s) {
|
|
37328
37330
|
const i = e.tags.find((o) => {
|
|
37329
37331
|
var a;
|
|
37330
37332
|
return o.default && ((a = o.test) == null ? void 0 : a.test(t));
|
|
@@ -37341,7 +37343,7 @@ function xq({ directives: r, schema: e }, t, n, s) {
|
|
|
37341
37343
|
}
|
|
37342
37344
|
return i;
|
|
37343
37345
|
}
|
|
37344
|
-
function
|
|
37346
|
+
function Q9(r, e, t) {
|
|
37345
37347
|
if (e) {
|
|
37346
37348
|
t === null && (t = e.length);
|
|
37347
37349
|
for (let n = t - 1; n >= 0; --n) {
|
|
@@ -37360,13 +37362,13 @@ function Qq(r, e, t) {
|
|
|
37360
37362
|
}
|
|
37361
37363
|
return r;
|
|
37362
37364
|
}
|
|
37363
|
-
const
|
|
37365
|
+
const T9 = { composeNode: Ck, composeEmptyNode: pg };
|
|
37364
37366
|
function Ck(r, e, t, n) {
|
|
37365
37367
|
const { spaceBefore: s, comment: i, anchor: o, tag: a } = t;
|
|
37366
37368
|
let l, c = !0;
|
|
37367
37369
|
switch (e.type) {
|
|
37368
37370
|
case "alias":
|
|
37369
|
-
l =
|
|
37371
|
+
l = C9(r, e, n), (o || a) && n(e, "ALIAS_PROPS", "An alias node must not specify any properties");
|
|
37370
37372
|
break;
|
|
37371
37373
|
case "scalar":
|
|
37372
37374
|
case "single-quoted-scalar":
|
|
@@ -37377,7 +37379,7 @@ function Ck(r, e, t, n) {
|
|
|
37377
37379
|
case "block-map":
|
|
37378
37380
|
case "block-seq":
|
|
37379
37381
|
case "flow-collection":
|
|
37380
|
-
l =
|
|
37382
|
+
l = O9(T9, r, e, a, n), o && (l.anchor = o.source.substring(1));
|
|
37381
37383
|
break;
|
|
37382
37384
|
default: {
|
|
37383
37385
|
const d = e.type === "error" ? e.message : `Unsupported token (type: ${e.type})`;
|
|
@@ -37389,19 +37391,19 @@ function Ck(r, e, t, n) {
|
|
|
37389
37391
|
function pg(r, e, t, n, { spaceBefore: s, comment: i, anchor: o, tag: a, end: l }, c) {
|
|
37390
37392
|
const d = {
|
|
37391
37393
|
type: "scalar",
|
|
37392
|
-
offset:
|
|
37394
|
+
offset: Q9(e, t, n),
|
|
37393
37395
|
indent: -1,
|
|
37394
37396
|
source: ""
|
|
37395
37397
|
}, u = Tk(r, d, a, c);
|
|
37396
37398
|
return o && (u.anchor = o.source.substring(1), u.anchor === "" && c(o, "BAD_ALIAS", "Anchor cannot be an empty string")), s && (u.spaceBefore = !0), i && (u.comment = i, u.range[2] = l), u;
|
|
37397
37399
|
}
|
|
37398
|
-
function
|
|
37400
|
+
function C9({ options: r }, { offset: e, source: t, end: n }, s) {
|
|
37399
37401
|
const i = new fu(t.substring(1));
|
|
37400
37402
|
i.source === "" && s(e, "BAD_ALIAS", "Alias cannot be an empty string"), i.source.endsWith(":") && s(e + t.length - 1, "BAD_ALIAS", "Alias ending in : is ambiguous", !0);
|
|
37401
37403
|
const o = e + t.length, a = gl(n, o, r.strict, s);
|
|
37402
37404
|
return i.range = [e, o, a.offset], a.comment && (i.comment = a.comment), i;
|
|
37403
37405
|
}
|
|
37404
|
-
function
|
|
37406
|
+
function A9(r, e, { offset: t, start: n, value: s, end: i }, o) {
|
|
37405
37407
|
const a = Object.assign({ _directives: e }, r), l = new To(void 0, a), c = {
|
|
37406
37408
|
atRoot: !0,
|
|
37407
37409
|
directives: l.directives,
|
|
@@ -37511,7 +37513,7 @@ ${o}` : n;
|
|
|
37511
37513
|
}), this.prelude.push(e.source), this.atDirectives = !0;
|
|
37512
37514
|
break;
|
|
37513
37515
|
case "document": {
|
|
37514
|
-
const t =
|
|
37516
|
+
const t = A9(this.options, this.directives, e, this.onError);
|
|
37515
37517
|
this.atDirectives && !t.directives.docStart && this.onError(e, "MISSING_CHAR", "Missing directives-end/doc-start indicator line"), this.decorate(t, !1), this.doc && (yield this.doc), this.doc = t, this.atDirectives = !1;
|
|
37516
37518
|
break;
|
|
37517
37519
|
}
|
|
@@ -37562,7 +37564,7 @@ ${t.comment}` : t.comment;
|
|
|
37562
37564
|
}
|
|
37563
37565
|
}
|
|
37564
37566
|
}
|
|
37565
|
-
function
|
|
37567
|
+
function E9(r, e = !0, t) {
|
|
37566
37568
|
if (r) {
|
|
37567
37569
|
const n = (s, i, o) => {
|
|
37568
37570
|
const a = typeof s == "number" ? s : Array.isArray(s) ? s[0] : s.offset;
|
|
@@ -37582,7 +37584,7 @@ function Eq(r, e = !0, t) {
|
|
|
37582
37584
|
}
|
|
37583
37585
|
return null;
|
|
37584
37586
|
}
|
|
37585
|
-
function
|
|
37587
|
+
function R9(r, e) {
|
|
37586
37588
|
const { implicitKey: t = !1, indent: n, inFlow: s = !1, offset: i = -1, type: o = "PLAIN" } = e, a = pl({ type: o, value: r }, {
|
|
37587
37589
|
implicitKey: t,
|
|
37588
37590
|
indent: n > 0 ? " ".repeat(n) : "",
|
|
@@ -37611,7 +37613,7 @@ function Rq(r, e) {
|
|
|
37611
37613
|
return { type: "scalar", offset: i, indent: n, source: a, end: l };
|
|
37612
37614
|
}
|
|
37613
37615
|
}
|
|
37614
|
-
function
|
|
37616
|
+
function Z9(r, e, t = {}) {
|
|
37615
37617
|
let { afterKey: n = !1, implicitKey: s = !1, inFlow: i = !1, type: o } = t, a = "indent" in r ? r.indent : null;
|
|
37616
37618
|
if (n && typeof a == "number" && (a += 2), !o)
|
|
37617
37619
|
switch (r.type) {
|
|
@@ -37640,7 +37642,7 @@ function Zq(r, e, t = {}) {
|
|
|
37640
37642
|
switch (l[0]) {
|
|
37641
37643
|
case "|":
|
|
37642
37644
|
case ">":
|
|
37643
|
-
|
|
37645
|
+
I9(r, l);
|
|
37644
37646
|
break;
|
|
37645
37647
|
case '"':
|
|
37646
37648
|
Sh(r, l, "double-quoted-scalar");
|
|
@@ -37652,7 +37654,7 @@ function Zq(r, e, t = {}) {
|
|
|
37652
37654
|
Sh(r, l, "scalar");
|
|
37653
37655
|
}
|
|
37654
37656
|
}
|
|
37655
|
-
function
|
|
37657
|
+
function I9(r, e) {
|
|
37656
37658
|
const t = e.indexOf(`
|
|
37657
37659
|
`), n = e.substring(0, t), s = e.substring(t + 1) + `
|
|
37658
37660
|
`;
|
|
@@ -37716,7 +37718,7 @@ function Sh(r, e, t) {
|
|
|
37716
37718
|
}
|
|
37717
37719
|
}
|
|
37718
37720
|
}
|
|
37719
|
-
const
|
|
37721
|
+
const j9 = (r) => "type" in r ? yd(r) : Ec(r);
|
|
37720
37722
|
function yd(r) {
|
|
37721
37723
|
switch (r.type) {
|
|
37722
37724
|
case "block-scalar": {
|
|
@@ -37765,12 +37767,12 @@ function Ec({ start: r, key: e, sep: t, value: n }) {
|
|
|
37765
37767
|
s += i.source;
|
|
37766
37768
|
return n && (s += yd(n)), s;
|
|
37767
37769
|
}
|
|
37768
|
-
const ap = Symbol("break visit"),
|
|
37770
|
+
const ap = Symbol("break visit"), N9 = Symbol("skip children"), Ek = Symbol("remove item");
|
|
37769
37771
|
function Ks(r, e) {
|
|
37770
37772
|
"type" in r && r.type === "document" && (r = { start: r.start, value: r.value }), Rk(Object.freeze([]), r, e);
|
|
37771
37773
|
}
|
|
37772
37774
|
Ks.BREAK = ap;
|
|
37773
|
-
Ks.SKIP =
|
|
37775
|
+
Ks.SKIP = N9;
|
|
37774
37776
|
Ks.REMOVE = Ek;
|
|
37775
37777
|
Ks.itemAtPath = (r, e) => {
|
|
37776
37778
|
let t = r;
|
|
@@ -37811,8 +37813,8 @@ function Rk(r, e, t) {
|
|
|
37811
37813
|
}
|
|
37812
37814
|
return typeof n == "function" ? n(e, r) : n;
|
|
37813
37815
|
}
|
|
37814
|
-
const ku = "\uFEFF", $u = "", Pu = "", Ua = "",
|
|
37815
|
-
function
|
|
37816
|
+
const ku = "\uFEFF", $u = "", Pu = "", Ua = "", D9 = (r) => !!r && "items" in r, M9 = (r) => !!r && (r.type === "scalar" || r.type === "single-quoted-scalar" || r.type === "double-quoted-scalar" || r.type === "block-scalar");
|
|
37817
|
+
function X9(r) {
|
|
37816
37818
|
switch (r) {
|
|
37817
37819
|
case ku:
|
|
37818
37820
|
return "<BOM>";
|
|
@@ -37887,19 +37889,19 @@ function Zk(r) {
|
|
|
37887
37889
|
}
|
|
37888
37890
|
return null;
|
|
37889
37891
|
}
|
|
37890
|
-
const
|
|
37892
|
+
const W9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
37891
37893
|
__proto__: null,
|
|
37892
37894
|
BOM: ku,
|
|
37893
37895
|
DOCUMENT: $u,
|
|
37894
37896
|
FLOW_END: Pu,
|
|
37895
37897
|
SCALAR: Ua,
|
|
37896
|
-
createScalarToken:
|
|
37897
|
-
isCollection:
|
|
37898
|
-
isScalar:
|
|
37899
|
-
prettyToken:
|
|
37900
|
-
resolveAsScalar:
|
|
37901
|
-
setScalarValue:
|
|
37902
|
-
stringify:
|
|
37898
|
+
createScalarToken: R9,
|
|
37899
|
+
isCollection: D9,
|
|
37900
|
+
isScalar: M9,
|
|
37901
|
+
prettyToken: X9,
|
|
37902
|
+
resolveAsScalar: E9,
|
|
37903
|
+
setScalarValue: Z9,
|
|
37904
|
+
stringify: j9,
|
|
37903
37905
|
tokenType: Zk,
|
|
37904
37906
|
visit: Ks
|
|
37905
37907
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -37916,8 +37918,8 @@ function lr(r) {
|
|
|
37916
37918
|
return !1;
|
|
37917
37919
|
}
|
|
37918
37920
|
}
|
|
37919
|
-
const Jy = "0123456789ABCDEFabcdef".split(""),
|
|
37920
|
-
\r `.split(""), $h = (r) => !r ||
|
|
37921
|
+
const Jy = "0123456789ABCDEFabcdef".split(""), q9 = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()".split(""), kh = ",[]{}".split(""), V9 = ` ,[]{}
|
|
37922
|
+
\r `.split(""), $h = (r) => !r || V9.includes(r);
|
|
37921
37923
|
class Ik {
|
|
37922
37924
|
constructor() {
|
|
37923
37925
|
this.atEnd = !1, this.blockScalarIndent = -1, this.blockScalarKeep = !1, this.buffer = "", this.flowKey = !1, this.flowLevel = 0, this.indentNext = 0, this.indentValue = 0, this.lineEndPos = null, this.next = null, this.pos = 0;
|
|
@@ -38285,7 +38287,7 @@ class Ik {
|
|
|
38285
38287
|
} else {
|
|
38286
38288
|
let e = this.pos + 1, t = this.buffer[e];
|
|
38287
38289
|
for (; t; )
|
|
38288
|
-
if (
|
|
38290
|
+
if (q9.includes(t))
|
|
38289
38291
|
t = this.buffer[++e];
|
|
38290
38292
|
else if (t === "%" && Jy.includes(this.buffer[e + 1]) && Jy.includes(this.buffer[e + 2]))
|
|
38291
38293
|
t = this.buffer[e += 3];
|
|
@@ -38976,7 +38978,7 @@ function Dk(r) {
|
|
|
38976
38978
|
const e = r.prettyErrors !== !1;
|
|
38977
38979
|
return { lineCounter: r.lineCounter || e && new jk() || null, prettyErrors: e };
|
|
38978
38980
|
}
|
|
38979
|
-
function
|
|
38981
|
+
function z9(r, e = {}) {
|
|
38980
38982
|
const { lineCounter: t, prettyErrors: n } = Dk(e), s = new gg(t == null ? void 0 : t.addNewLine), i = new mg(e), o = Array.from(i.compose(s.parse(r)));
|
|
38981
38983
|
if (n && t)
|
|
38982
38984
|
for (const a of o)
|
|
@@ -38995,7 +38997,7 @@ function Mk(r, e = {}) {
|
|
|
38995
38997
|
}
|
|
38996
38998
|
return n && t && (o.errors.forEach(Od(r, t)), o.warnings.forEach(Od(r, t))), o;
|
|
38997
38999
|
}
|
|
38998
|
-
function
|
|
39000
|
+
function U9(r, e, t) {
|
|
38999
39001
|
let n;
|
|
39000
39002
|
typeof e == "function" ? n = e : t === void 0 && e && typeof e == "object" && (t = e);
|
|
39001
39003
|
const s = Mk(r, t);
|
|
@@ -39008,7 +39010,7 @@ function Uq(r, e, t) {
|
|
|
39008
39010
|
}
|
|
39009
39011
|
return s.toJS(Object.assign({ reviver: n }, t));
|
|
39010
39012
|
}
|
|
39011
|
-
function
|
|
39013
|
+
function Y9(r, e, t) {
|
|
39012
39014
|
let n = null;
|
|
39013
39015
|
if (typeof e == "function" || Array.isArray(e) ? n = e : t === void 0 && e && (t = e), typeof t == "string" && (t = t.length), typeof t == "number") {
|
|
39014
39016
|
const s = Math.round(t);
|
|
@@ -39024,7 +39026,7 @@ function Yq(r, e, t) {
|
|
|
39024
39026
|
const Xk = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
39025
39027
|
__proto__: null,
|
|
39026
39028
|
Alias: fu,
|
|
39027
|
-
CST:
|
|
39029
|
+
CST: W9,
|
|
39028
39030
|
Composer: mg,
|
|
39029
39031
|
Document: To,
|
|
39030
39032
|
Lexer: Ik,
|
|
@@ -39046,10 +39048,10 @@ const Xk = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39046
39048
|
isPair: Je,
|
|
39047
39049
|
isScalar: Le,
|
|
39048
39050
|
isSeq: _o,
|
|
39049
|
-
parse:
|
|
39050
|
-
parseAllDocuments:
|
|
39051
|
+
parse: U9,
|
|
39052
|
+
parseAllDocuments: z9,
|
|
39051
39053
|
parseDocument: Mk,
|
|
39052
|
-
stringify:
|
|
39054
|
+
stringify: Y9,
|
|
39053
39055
|
visit: ls,
|
|
39054
39056
|
visitAsync: hu
|
|
39055
39057
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -39078,7 +39080,7 @@ function qk(r) {
|
|
|
39078
39080
|
}
|
|
39079
39081
|
];
|
|
39080
39082
|
}
|
|
39081
|
-
async function
|
|
39083
|
+
async function L9(r) {
|
|
39082
39084
|
const e = new bg(), t = qk(r), n = await e.validate(t), s = structuredClone(
|
|
39083
39085
|
e.specification
|
|
39084
39086
|
), i = e.resolveReferences(t);
|
|
@@ -39090,8 +39092,8 @@ async function Lq(r) {
|
|
|
39090
39092
|
schema: i
|
|
39091
39093
|
};
|
|
39092
39094
|
}
|
|
39093
|
-
const
|
|
39094
|
-
function
|
|
39095
|
+
const B9 = (r) => JSON.stringify(r, null, 2), H9 = (r) => Xk.stringify(r);
|
|
39096
|
+
function G9(r) {
|
|
39095
39097
|
var e;
|
|
39096
39098
|
if ((e = r.openapi) != null && e.startsWith("3.0"))
|
|
39097
39099
|
r.openapi = "3.1.0";
|
|
@@ -39114,16 +39116,16 @@ function Gq(r) {
|
|
|
39114
39116
|
contentEncoding: "base64"
|
|
39115
39117
|
} : t), r;
|
|
39116
39118
|
}
|
|
39117
|
-
function
|
|
39119
|
+
function F9(r) {
|
|
39118
39120
|
return r;
|
|
39119
39121
|
}
|
|
39120
|
-
function
|
|
39121
|
-
return [
|
|
39122
|
+
function K9(r) {
|
|
39123
|
+
return [F9, G9].reduce(
|
|
39122
39124
|
(e, t) => t(e),
|
|
39123
39125
|
r
|
|
39124
39126
|
);
|
|
39125
39127
|
}
|
|
39126
|
-
async function
|
|
39128
|
+
async function J9(r) {
|
|
39127
39129
|
const e = new bg(), t = qk(r);
|
|
39128
39130
|
return {
|
|
39129
39131
|
...await e.validate(t),
|
|
@@ -39147,7 +39149,7 @@ function Vk(r) {
|
|
|
39147
39149
|
specificationVersion: void 0
|
|
39148
39150
|
};
|
|
39149
39151
|
}
|
|
39150
|
-
function
|
|
39152
|
+
function eq(r) {
|
|
39151
39153
|
return decodeURI(r.replace(/~1/g, "/").replace(/~0/g, "~"));
|
|
39152
39154
|
}
|
|
39153
39155
|
function zk(r) {
|
|
@@ -39156,31 +39158,31 @@ function zk(r) {
|
|
|
39156
39158
|
function t(n) {
|
|
39157
39159
|
Object.entries(n ?? {}).forEach(([s, i]) => {
|
|
39158
39160
|
if (n.$ref !== void 0) {
|
|
39159
|
-
const o =
|
|
39161
|
+
const o = rq(e, n.$ref);
|
|
39160
39162
|
delete n.$ref, typeof o == "object" && Object.keys(o).forEach((a) => {
|
|
39161
39163
|
n[a] === void 0 && (n[a] = o[a]);
|
|
39162
39164
|
});
|
|
39163
39165
|
}
|
|
39164
|
-
typeof i == "object" && !
|
|
39166
|
+
typeof i == "object" && !tq(i) && t(i);
|
|
39165
39167
|
});
|
|
39166
39168
|
}
|
|
39167
39169
|
}
|
|
39168
|
-
function
|
|
39170
|
+
function tq(r) {
|
|
39169
39171
|
try {
|
|
39170
39172
|
return JSON.stringify(r), !1;
|
|
39171
39173
|
} catch {
|
|
39172
39174
|
return !0;
|
|
39173
39175
|
}
|
|
39174
39176
|
}
|
|
39175
|
-
function
|
|
39177
|
+
function rq(r, e) {
|
|
39176
39178
|
if (typeof e != "string")
|
|
39177
39179
|
return;
|
|
39178
39180
|
const [t, n] = e.split("#", 2);
|
|
39179
39181
|
if (t)
|
|
39180
39182
|
throw new Error(tp.EXTERNAL_REFERENCE_NOT_SUPPORTED.replace("%s", e));
|
|
39181
|
-
return
|
|
39183
|
+
return eq(n).split("/").slice(1).reduce((s, i) => s[i], r);
|
|
39182
39184
|
}
|
|
39183
|
-
const
|
|
39185
|
+
const nq = "[", sq = "]", iq = "{", oq = "}", aq = ":", lq = ",", Uk = "true", Yk = "false", Lk = "null", rb = '"', cq = /* @__PURE__ */ new Map([
|
|
39184
39186
|
["t", Uk],
|
|
39185
39187
|
["f", Yk],
|
|
39186
39188
|
["n", Lk]
|
|
@@ -39195,12 +39197,12 @@ const n9 = "[", s9 = "]", i9 = "{", o9 = "}", a9 = ":", l9 = ",", Uk = "true", Y
|
|
|
39195
39197
|
["r", "\r"],
|
|
39196
39198
|
["t", " "]
|
|
39197
39199
|
]), Ph = /* @__PURE__ */ new Map([
|
|
39198
|
-
[
|
|
39199
|
-
[
|
|
39200
|
-
[
|
|
39201
|
-
[
|
|
39202
|
-
[
|
|
39203
|
-
[
|
|
39200
|
+
[nq, "LBracket"],
|
|
39201
|
+
[sq, "RBracket"],
|
|
39202
|
+
[iq, "LBrace"],
|
|
39203
|
+
[oq, "RBrace"],
|
|
39204
|
+
[aq, "Colon"],
|
|
39205
|
+
[lq, "Comma"],
|
|
39204
39206
|
[Uk, "Boolean"],
|
|
39205
39207
|
[Yk, "Boolean"],
|
|
39206
39208
|
[Lk, "Null"]
|
|
@@ -39215,7 +39217,7 @@ class Ya extends Error {
|
|
|
39215
39217
|
super(`${e} (${t}:${n})`), this.line = t, this.column = n, this.offset = s;
|
|
39216
39218
|
}
|
|
39217
39219
|
}
|
|
39218
|
-
class
|
|
39220
|
+
class dq extends Ya {
|
|
39219
39221
|
/**
|
|
39220
39222
|
* Creates a new instance.
|
|
39221
39223
|
* @param {string} unexpected The character that was found.
|
|
@@ -39234,7 +39236,7 @@ class _h extends Ya {
|
|
|
39234
39236
|
super(`Unexpected token ${e.type} found.`, e.loc.start);
|
|
39235
39237
|
}
|
|
39236
39238
|
}
|
|
39237
|
-
class
|
|
39239
|
+
class uq extends Ya {
|
|
39238
39240
|
/**
|
|
39239
39241
|
* Creates a new instance.
|
|
39240
39242
|
* @param {Location} loc The location information for the found character.
|
|
@@ -39243,31 +39245,31 @@ class u9 extends Ya {
|
|
|
39243
39245
|
super("Unexpected end of input found.", e);
|
|
39244
39246
|
}
|
|
39245
39247
|
}
|
|
39246
|
-
const nb = '"', sb = "/", ib = "*",
|
|
39248
|
+
const nb = '"', sb = "/", ib = "*", hq = {
|
|
39247
39249
|
mode: "json",
|
|
39248
39250
|
ranges: !1
|
|
39249
39251
|
};
|
|
39250
|
-
function
|
|
39252
|
+
function fq(r) {
|
|
39251
39253
|
return /[\s\n]/.test(r);
|
|
39252
39254
|
}
|
|
39253
39255
|
function Un(r) {
|
|
39254
39256
|
return r >= "0" && r <= "9";
|
|
39255
39257
|
}
|
|
39256
|
-
function
|
|
39258
|
+
function pq(r) {
|
|
39257
39259
|
return Un(r) || /[a-f]/i.test(r);
|
|
39258
39260
|
}
|
|
39259
|
-
function
|
|
39261
|
+
function mq(r) {
|
|
39260
39262
|
return r >= "1" && r <= "9";
|
|
39261
39263
|
}
|
|
39262
|
-
function
|
|
39264
|
+
function gq(r) {
|
|
39263
39265
|
return /[tfn]/.test(r);
|
|
39264
39266
|
}
|
|
39265
|
-
function
|
|
39267
|
+
function Oq(r) {
|
|
39266
39268
|
return Un(r) || r === "." || r === "-";
|
|
39267
39269
|
}
|
|
39268
|
-
function
|
|
39270
|
+
function yq(r, e) {
|
|
39269
39271
|
e = Object.freeze({
|
|
39270
|
-
...
|
|
39272
|
+
...hq,
|
|
39271
39273
|
...e
|
|
39272
39274
|
});
|
|
39273
39275
|
let t = -1, n = 1, s = 0, i = !1;
|
|
@@ -39304,7 +39306,7 @@ function y9(r, e) {
|
|
|
39304
39306
|
};
|
|
39305
39307
|
}
|
|
39306
39308
|
function d(O) {
|
|
39307
|
-
let y =
|
|
39309
|
+
let y = cq.get(O);
|
|
39308
39310
|
if (r.slice(t, t + y.length) === y)
|
|
39309
39311
|
return t += y.length - 1, s += y.length - 1, { value: y, c: l() };
|
|
39310
39312
|
for (let b = 1; b < y.length; b++)
|
|
@@ -39319,7 +39321,7 @@ function y9(r, e) {
|
|
|
39319
39321
|
else if (O === "u") {
|
|
39320
39322
|
y += O;
|
|
39321
39323
|
for (let b = 0; b < 4; b++)
|
|
39322
|
-
O = l(),
|
|
39324
|
+
O = l(), pq(O) ? y += O : p(O);
|
|
39323
39325
|
} else
|
|
39324
39326
|
p(O);
|
|
39325
39327
|
else
|
|
@@ -39333,7 +39335,7 @@ function y9(r, e) {
|
|
|
39333
39335
|
if (O === "-" && (y += O, O = l(), Un(O) || p(O)), O === "0")
|
|
39334
39336
|
y += O, O = l(), Un(O) && p(O);
|
|
39335
39337
|
else {
|
|
39336
|
-
|
|
39338
|
+
mq(O) || p(O);
|
|
39337
39339
|
do
|
|
39338
39340
|
y += O, O = l();
|
|
39339
39341
|
while (Un(O));
|
|
@@ -39365,25 +39367,25 @@ function y9(r, e) {
|
|
|
39365
39367
|
p(O);
|
|
39366
39368
|
}
|
|
39367
39369
|
function p(O) {
|
|
39368
|
-
throw new
|
|
39370
|
+
throw new dq(O, c());
|
|
39369
39371
|
}
|
|
39370
39372
|
function m() {
|
|
39371
|
-
throw new
|
|
39373
|
+
throw new uq(c());
|
|
39372
39374
|
}
|
|
39373
39375
|
let g = l();
|
|
39374
39376
|
for (; t < r.length; ) {
|
|
39375
|
-
for (;
|
|
39377
|
+
for (; fq(g); )
|
|
39376
39378
|
g = l();
|
|
39377
39379
|
if (!g)
|
|
39378
39380
|
break;
|
|
39379
39381
|
const O = c();
|
|
39380
39382
|
if (Ph.has(g))
|
|
39381
39383
|
o.push(a(Ph.get(g), g, O)), g = l();
|
|
39382
|
-
else if (
|
|
39384
|
+
else if (gq(g)) {
|
|
39383
39385
|
const y = d(g);
|
|
39384
39386
|
let b = y.value;
|
|
39385
39387
|
g = y.c, o.push(a(Ph.get(b), b, O));
|
|
39386
|
-
} else if (
|
|
39388
|
+
} else if (Oq(g)) {
|
|
39387
39389
|
const y = h(g);
|
|
39388
39390
|
let b = y.value;
|
|
39389
39391
|
g = y.c, o.push(a("Number", b, O));
|
|
@@ -39518,12 +39520,12 @@ const pn = {
|
|
|
39518
39520
|
...t
|
|
39519
39521
|
};
|
|
39520
39522
|
}
|
|
39521
|
-
},
|
|
39523
|
+
}, bq = {
|
|
39522
39524
|
mode: "json",
|
|
39523
39525
|
ranges: !1,
|
|
39524
39526
|
tokens: !1
|
|
39525
39527
|
};
|
|
39526
|
-
function
|
|
39528
|
+
function vq(r, e) {
|
|
39527
39529
|
let t = "", n = r.indexOf("\\"), s = 0;
|
|
39528
39530
|
for (; n >= 0; ) {
|
|
39529
39531
|
t += r.slice(s, n);
|
|
@@ -39555,24 +39557,24 @@ function v9(r, e) {
|
|
|
39555
39557
|
}
|
|
39556
39558
|
return t += r.slice(s), t;
|
|
39557
39559
|
}
|
|
39558
|
-
function
|
|
39560
|
+
function wq(r, e) {
|
|
39559
39561
|
switch (e.type) {
|
|
39560
39562
|
case "Boolean":
|
|
39561
39563
|
return r === "true";
|
|
39562
39564
|
case "Number":
|
|
39563
39565
|
return Number(r);
|
|
39564
39566
|
case "String":
|
|
39565
|
-
return
|
|
39567
|
+
return vq(r.slice(1, -1), e);
|
|
39566
39568
|
default:
|
|
39567
39569
|
throw new TypeError(`Unknown token type "${e.type}.`);
|
|
39568
39570
|
}
|
|
39569
39571
|
}
|
|
39570
|
-
function
|
|
39572
|
+
function Sq(r, e) {
|
|
39571
39573
|
e = Object.freeze({
|
|
39572
|
-
...
|
|
39574
|
+
...bq,
|
|
39573
39575
|
...e
|
|
39574
39576
|
});
|
|
39575
|
-
const t =
|
|
39577
|
+
const t = yq(r, {
|
|
39576
39578
|
mode: e.mode,
|
|
39577
39579
|
ranges: e.ranges
|
|
39578
39580
|
});
|
|
@@ -39595,7 +39597,7 @@ function S9(r, e) {
|
|
|
39595
39597
|
} : void 0;
|
|
39596
39598
|
}
|
|
39597
39599
|
function c(y) {
|
|
39598
|
-
const b = l(y.loc.start, y.loc.end), w =
|
|
39600
|
+
const b = l(y.loc.start, y.loc.end), w = wq(
|
|
39599
39601
|
r.slice(y.loc.start.offset, y.loc.end.offset),
|
|
39600
39602
|
y
|
|
39601
39603
|
), P = { loc: {
|
|
@@ -39755,7 +39757,7 @@ function S9(r, e) {
|
|
|
39755
39757
|
O.loc.end.offset
|
|
39756
39758
|
]), pn.document(m, O);
|
|
39757
39759
|
}
|
|
39758
|
-
const
|
|
39760
|
+
const kq = (r) => (e) => r === e, $q = (r) => (e) => !r(e), Pq = (r) => Object.values(r), _q = (r) => r !== void 0, Og = (r) => (e) => e.keyword === r, xq = Og("required"), Qq = Og("anyOf"), Bk = Og("enum"), ca = (r) => r && r.errors || [], Hk = (r) => r && Pq(r.children) || [], Tq = (r) => (e) => Hk(r).filter($q(kq(e))), ob = (
|
|
39759
39761
|
/* ::<T> */
|
|
39760
39762
|
(r) => (e) => e.reduce((t, n) => t.concat(n), r)
|
|
39761
39763
|
), Gk = (r) => {
|
|
@@ -39764,7 +39766,7 @@ const k9 = (r) => (e) => r === e, $9 = (r) => (e) => !r(e), P9 = (r) => Object.v
|
|
|
39764
39766
|
e[t] = e[t].split("~1").join("/").split("~0").join("~");
|
|
39765
39767
|
return e;
|
|
39766
39768
|
};
|
|
39767
|
-
function
|
|
39769
|
+
function Cq(r, e, t) {
|
|
39768
39770
|
const n = Gk(e), s = n.length - 1;
|
|
39769
39771
|
return n.reduce((i, o, a) => {
|
|
39770
39772
|
switch (i == null ? void 0 : i.type) {
|
|
@@ -39785,7 +39787,7 @@ function C9(r, e, t) {
|
|
|
39785
39787
|
}
|
|
39786
39788
|
}, r.body);
|
|
39787
39789
|
}
|
|
39788
|
-
function
|
|
39790
|
+
function Aq(r) {
|
|
39789
39791
|
if (!r || !r.elements)
|
|
39790
39792
|
return "";
|
|
39791
39793
|
const e = r.elements.filter(
|
|
@@ -39793,7 +39795,7 @@ function A9(r) {
|
|
|
39793
39795
|
);
|
|
39794
39796
|
return e.length && e[0].value && `:${e[0].value.value}` || "";
|
|
39795
39797
|
}
|
|
39796
|
-
function
|
|
39798
|
+
function Eq(r, e) {
|
|
39797
39799
|
let t = "";
|
|
39798
39800
|
return Gk(e).reduce((n, s) => {
|
|
39799
39801
|
switch (n == null ? void 0 : n.type) {
|
|
@@ -39807,7 +39809,7 @@ function E9(r, e) {
|
|
|
39807
39809
|
return i[0].value;
|
|
39808
39810
|
}
|
|
39809
39811
|
case "Array":
|
|
39810
|
-
return t += `/${s}${
|
|
39812
|
+
return t += `/${s}${Aq(n.elements[s])}`, n.elements[s];
|
|
39811
39813
|
}
|
|
39812
39814
|
}, r.body), t;
|
|
39813
39815
|
}
|
|
@@ -39820,7 +39822,7 @@ class Co {
|
|
|
39820
39822
|
return this.colorize ? chalk : new chalk.Instance({ level: 0 });
|
|
39821
39823
|
}
|
|
39822
39824
|
getLocation(e = this.instancePath) {
|
|
39823
|
-
const { isIdentifierLocation: t, isSkipEndLocation: n } = this.options, { loc: s } =
|
|
39825
|
+
const { isIdentifierLocation: t, isSkipEndLocation: n } = this.options, { loc: s } = Cq(
|
|
39824
39826
|
this.jsonAst,
|
|
39825
39827
|
e,
|
|
39826
39828
|
t
|
|
@@ -39831,7 +39833,7 @@ class Co {
|
|
|
39831
39833
|
};
|
|
39832
39834
|
}
|
|
39833
39835
|
getDecoratedPath(e = this.instancePath) {
|
|
39834
|
-
return
|
|
39836
|
+
return Eq(this.jsonAst, e);
|
|
39835
39837
|
}
|
|
39836
39838
|
getCodeFrame(e, t = this.instancePath) {
|
|
39837
39839
|
return codeFrameColumns(this.jsonRaw, this.getLocation(t), {
|
|
@@ -39868,7 +39870,7 @@ class Co {
|
|
|
39868
39870
|
);
|
|
39869
39871
|
}
|
|
39870
39872
|
}
|
|
39871
|
-
class
|
|
39873
|
+
class Rq extends Co {
|
|
39872
39874
|
constructor(...e) {
|
|
39873
39875
|
super(...e), this.name = "AdditionalPropValidationError", this.options.isIdentifierLocation = !0;
|
|
39874
39876
|
}
|
|
@@ -39890,7 +39892,7 @@ class R9 extends Co {
|
|
|
39890
39892
|
};
|
|
39891
39893
|
}
|
|
39892
39894
|
}
|
|
39893
|
-
class
|
|
39895
|
+
class Zq extends Co {
|
|
39894
39896
|
constructor(...e) {
|
|
39895
39897
|
super(...e), this.name = "DefaultValidationError", this.options.isSkipEndLocation = !0;
|
|
39896
39898
|
}
|
|
@@ -39909,8 +39911,8 @@ class Z9 extends Co {
|
|
|
39909
39911
|
};
|
|
39910
39912
|
}
|
|
39911
39913
|
}
|
|
39912
|
-
var _u = {},
|
|
39913
|
-
function
|
|
39914
|
+
var _u = {}, Iq = /~/, jq = /~[01]/g;
|
|
39915
|
+
function Nq(r) {
|
|
39914
39916
|
switch (r) {
|
|
39915
39917
|
case "~1":
|
|
39916
39918
|
return "/";
|
|
@@ -39920,9 +39922,9 @@ function N9(r) {
|
|
|
39920
39922
|
throw new Error("Invalid tilde escape: " + r);
|
|
39921
39923
|
}
|
|
39922
39924
|
function Fk(r) {
|
|
39923
|
-
return
|
|
39925
|
+
return Iq.test(r) ? r.replace(jq, Nq) : r;
|
|
39924
39926
|
}
|
|
39925
|
-
function
|
|
39927
|
+
function Dq(r, e, t) {
|
|
39926
39928
|
for (var n, s, i = 1, o = e.length; i < o; ) {
|
|
39927
39929
|
if (e[i] === "constructor" || e[i] === "prototype" || e[i] === "__proto__")
|
|
39928
39930
|
return r;
|
|
@@ -39965,9 +39967,9 @@ function Jk(r, e, t) {
|
|
|
39965
39967
|
throw new Error("Invalid input object.");
|
|
39966
39968
|
if (e = yg(e), e.length === 0)
|
|
39967
39969
|
throw new Error("Invalid JSON pointer for set.");
|
|
39968
|
-
return
|
|
39970
|
+
return Dq(r, e, t);
|
|
39969
39971
|
}
|
|
39970
|
-
function
|
|
39972
|
+
function Mq(r) {
|
|
39971
39973
|
var e = yg(r);
|
|
39972
39974
|
return {
|
|
39973
39975
|
get: function(t) {
|
|
@@ -39980,9 +39982,9 @@ function M9(r) {
|
|
|
39980
39982
|
}
|
|
39981
39983
|
_u.get = Kk;
|
|
39982
39984
|
_u.set = Jk;
|
|
39983
|
-
_u.compile =
|
|
39985
|
+
_u.compile = Mq;
|
|
39984
39986
|
const xh = [], ab = [];
|
|
39985
|
-
function
|
|
39987
|
+
function Xq(r, e) {
|
|
39986
39988
|
if (r === e)
|
|
39987
39989
|
return 0;
|
|
39988
39990
|
const t = r;
|
|
@@ -40003,7 +40005,7 @@ function X9(r, e) {
|
|
|
40003
40005
|
c = o === ab[d] ? l : l + 1, l = xh[d], a = xh[d] = l > a ? c > a ? a + 1 : c : c > l ? l + 1 : c;
|
|
40004
40006
|
return a;
|
|
40005
40007
|
}
|
|
40006
|
-
class
|
|
40008
|
+
class Wq extends Co {
|
|
40007
40009
|
constructor(...e) {
|
|
40008
40010
|
super(...e), this.name = "EnumValidationError";
|
|
40009
40011
|
}
|
|
@@ -40037,14 +40039,14 @@ class W9 extends Co {
|
|
|
40037
40039
|
return null;
|
|
40038
40040
|
const n = e.map((s) => ({
|
|
40039
40041
|
value: s,
|
|
40040
|
-
weight:
|
|
40042
|
+
weight: Xq(s, t.toString())
|
|
40041
40043
|
})).sort(
|
|
40042
40044
|
(s, i) => s.weight > i.weight ? 1 : s.weight < i.weight ? -1 : 0
|
|
40043
40045
|
)[0];
|
|
40044
40046
|
return e.length === 1 || n.weight < n.value.length ? n.value : null;
|
|
40045
40047
|
}
|
|
40046
40048
|
}
|
|
40047
|
-
class
|
|
40049
|
+
class qq extends Co {
|
|
40048
40050
|
constructor(...e) {
|
|
40049
40051
|
super(...e), this.name = "PatternValidationError", this.options.isIdentifierLocation = !0;
|
|
40050
40052
|
}
|
|
@@ -40067,7 +40069,7 @@ class q9 extends Co {
|
|
|
40067
40069
|
};
|
|
40068
40070
|
}
|
|
40069
40071
|
}
|
|
40070
|
-
class
|
|
40072
|
+
class Vq extends Co {
|
|
40071
40073
|
constructor(...e) {
|
|
40072
40074
|
super(...e), this.name = "RequiredValidationError";
|
|
40073
40075
|
}
|
|
@@ -40092,7 +40094,7 @@ class V9 extends Co {
|
|
|
40092
40094
|
};
|
|
40093
40095
|
}
|
|
40094
40096
|
}
|
|
40095
|
-
class
|
|
40097
|
+
class zq extends Co {
|
|
40096
40098
|
constructor(...e) {
|
|
40097
40099
|
super(...e), this.name = "UnevaluatedPropValidationError", this.options.isIdentifierLocation = !0;
|
|
40098
40100
|
}
|
|
@@ -40114,18 +40116,18 @@ class z9 extends Co {
|
|
|
40114
40116
|
};
|
|
40115
40117
|
}
|
|
40116
40118
|
}
|
|
40117
|
-
const
|
|
40118
|
-
function
|
|
40119
|
+
const Uq = /\/[\w_-]+(\/\d+)?/g;
|
|
40120
|
+
function Yq(r = []) {
|
|
40119
40121
|
const e = { children: {} };
|
|
40120
40122
|
return r.forEach((t) => {
|
|
40121
|
-
const n = typeof t.instancePath < "u" ? t.instancePath : t.dataPath, s = n === "" ? [""] : n.match(
|
|
40123
|
+
const n = typeof t.instancePath < "u" ? t.instancePath : t.dataPath, s = n === "" ? [""] : n.match(Uq);
|
|
40122
40124
|
s && s.reduce((i, o, a) => (i.children[o] = i.children[o] || { children: {}, errors: [] }, a === s.length - 1 && i.children[o].errors.push(t), i.children[o]), e);
|
|
40123
40125
|
}), e;
|
|
40124
40126
|
}
|
|
40125
40127
|
function e$(r, e, t) {
|
|
40126
40128
|
ca(r).forEach((n) => {
|
|
40127
|
-
|
|
40128
|
-
}), ca(r).some(
|
|
40129
|
+
xq(n) && (r.errors = [n], r.children = {});
|
|
40130
|
+
}), ca(r).some(Qq) && Object.keys(r.children).length > 0 && delete r.errors, r.errors && r.errors.length && ca(r).every(Bk) && Tq(e)(r).filter(_q).some(ca) && delete e.children[t], Object.entries(r.children).forEach(
|
|
40129
40131
|
([n, s]) => e$(s, r, n)
|
|
40130
40132
|
);
|
|
40131
40133
|
}
|
|
@@ -40136,7 +40138,7 @@ function t$(r, e) {
|
|
|
40136
40138
|
ob([])(t.map((i) => i.params.allowedValues))
|
|
40137
40139
|
)], s = t[0];
|
|
40138
40140
|
return [
|
|
40139
|
-
new
|
|
40141
|
+
new Wq(
|
|
40140
40142
|
{
|
|
40141
40143
|
...s,
|
|
40142
40144
|
params: { allowedValues: n }
|
|
@@ -40149,31 +40151,31 @@ function t$(r, e) {
|
|
|
40149
40151
|
t.reduce((n, s) => {
|
|
40150
40152
|
switch (s.keyword) {
|
|
40151
40153
|
case "additionalProperties":
|
|
40152
|
-
return n.concat(new
|
|
40154
|
+
return n.concat(new Rq(s, e));
|
|
40153
40155
|
case "pattern":
|
|
40154
|
-
return n.concat(new
|
|
40156
|
+
return n.concat(new qq(s, e));
|
|
40155
40157
|
case "required":
|
|
40156
|
-
return n.concat(new
|
|
40158
|
+
return n.concat(new Vq(s, e));
|
|
40157
40159
|
case "unevaluatedProperties":
|
|
40158
|
-
return n.concat(new
|
|
40160
|
+
return n.concat(new zq(s, e));
|
|
40159
40161
|
default:
|
|
40160
|
-
return n.concat(new
|
|
40162
|
+
return n.concat(new Zq(s, e));
|
|
40161
40163
|
}
|
|
40162
40164
|
}, [])
|
|
40163
40165
|
)(Hk(r).map((n) => t$(n, e)));
|
|
40164
40166
|
}
|
|
40165
|
-
function
|
|
40166
|
-
const t =
|
|
40167
|
+
function Lq(r, e) {
|
|
40168
|
+
const t = Yq(r || []);
|
|
40167
40169
|
return e$(t), t$(t, e);
|
|
40168
40170
|
}
|
|
40169
|
-
function
|
|
40171
|
+
function Bq(r, e, t, n = {}) {
|
|
40170
40172
|
const {
|
|
40171
40173
|
colorize: s = !0,
|
|
40172
40174
|
format: i = "cli",
|
|
40173
40175
|
indent: o = null,
|
|
40174
40176
|
json: a = null
|
|
40175
|
-
} = n, l = a || JSON.stringify(e, null, o), c =
|
|
40176
|
-
`), u = (f) => f.getError(), h =
|
|
40177
|
+
} = n, l = a || JSON.stringify(e, null, o), c = Sq(l), d = (f) => f.print().join(`
|
|
40178
|
+
`), u = (f) => f.getError(), h = Lq(t, {
|
|
40177
40179
|
colorize: s,
|
|
40178
40180
|
data: e,
|
|
40179
40181
|
schema: r,
|
|
@@ -40195,13 +40197,13 @@ function da(r, e) {
|
|
|
40195
40197
|
error: e,
|
|
40196
40198
|
path: ""
|
|
40197
40199
|
}
|
|
40198
|
-
] :
|
|
40200
|
+
] : Bq(r, null, e, {
|
|
40199
40201
|
format: "js",
|
|
40200
40202
|
indent: 2,
|
|
40201
40203
|
colorize: !1
|
|
40202
40204
|
}).map((t) => (t.error = t.error.trim(), t));
|
|
40203
40205
|
}
|
|
40204
|
-
function
|
|
40206
|
+
function Hq(r) {
|
|
40205
40207
|
try {
|
|
40206
40208
|
return zk(r), {
|
|
40207
40209
|
valid: !0
|
|
@@ -40246,7 +40248,7 @@ class bg {
|
|
|
40246
40248
|
)
|
|
40247
40249
|
};
|
|
40248
40250
|
const l = await this.getAjvValidator(i);
|
|
40249
|
-
return l(s) ?
|
|
40251
|
+
return l(s) ? Hq(n.specification) : l.errors && l.errors.length > 0 ? {
|
|
40250
40252
|
valid: !1,
|
|
40251
40253
|
errors: da(n, l.errors)
|
|
40252
40254
|
} : {
|
|
@@ -40274,12 +40276,12 @@ class bg {
|
|
|
40274
40276
|
}
|
|
40275
40277
|
}
|
|
40276
40278
|
Xn(bg, "supportedVersions", LS);
|
|
40277
|
-
function
|
|
40279
|
+
function Gq() {
|
|
40278
40280
|
return {
|
|
40279
|
-
load:
|
|
40281
|
+
load: Fq
|
|
40280
40282
|
};
|
|
40281
40283
|
}
|
|
40282
|
-
function
|
|
40284
|
+
function Fq(r) {
|
|
40283
40285
|
const e = Wk(r);
|
|
40284
40286
|
return {
|
|
40285
40287
|
get: () => e,
|
|
@@ -40293,7 +40295,7 @@ function F9(r) {
|
|
|
40293
40295
|
};
|
|
40294
40296
|
}
|
|
40295
40297
|
function r$(r) {
|
|
40296
|
-
const e =
|
|
40298
|
+
const e = K9(r);
|
|
40297
40299
|
return {
|
|
40298
40300
|
get: () => e,
|
|
40299
40301
|
details: () => Qu(e),
|
|
@@ -40306,7 +40308,7 @@ function r$(r) {
|
|
|
40306
40308
|
}
|
|
40307
40309
|
async function vg(r) {
|
|
40308
40310
|
return {
|
|
40309
|
-
...await
|
|
40311
|
+
...await J9(r),
|
|
40310
40312
|
filter: (e) => Ol(r, e),
|
|
40311
40313
|
get: () => r,
|
|
40312
40314
|
details: () => Qu(r),
|
|
@@ -40317,7 +40319,7 @@ async function vg(r) {
|
|
|
40317
40319
|
}
|
|
40318
40320
|
async function xu(r) {
|
|
40319
40321
|
return {
|
|
40320
|
-
...await
|
|
40322
|
+
...await L9(r),
|
|
40321
40323
|
filter: (e) => Ol(r, e),
|
|
40322
40324
|
toJson: () => yl(r),
|
|
40323
40325
|
toYaml: () => bl(r)
|
|
@@ -40340,15 +40342,15 @@ function Qu(r) {
|
|
|
40340
40342
|
return Vk(r);
|
|
40341
40343
|
}
|
|
40342
40344
|
function yl(r) {
|
|
40343
|
-
return
|
|
40345
|
+
return B9(r);
|
|
40344
40346
|
}
|
|
40345
40347
|
function bl(r) {
|
|
40346
|
-
return
|
|
40348
|
+
return H9(r);
|
|
40347
40349
|
}
|
|
40348
|
-
const
|
|
40350
|
+
const Kq = (r) => new Promise(async (e, t) => {
|
|
40349
40351
|
var n;
|
|
40350
40352
|
try {
|
|
40351
|
-
const { schema: s, errors: i } = await
|
|
40353
|
+
const { schema: s, errors: i } = await Gq().load(r).resolve();
|
|
40352
40354
|
if (i != null && i.length && console.warn(
|
|
40353
40355
|
`Please open an issue on https://github.com/scalar/scalar
|
|
40354
40356
|
`,
|
|
@@ -40359,11 +40361,11 @@ const K9 = (r) => new Promise(async (e, t) => {
|
|
|
40359
40361
|
t(((n = i == null ? void 0 : i[0]) == null ? void 0 : n.error) ?? "Failed to parse the OpenAPI file.");
|
|
40360
40362
|
return;
|
|
40361
40363
|
}
|
|
40362
|
-
e(
|
|
40364
|
+
e(Jq(structuredClone(s)));
|
|
40363
40365
|
} catch (s) {
|
|
40364
40366
|
t(s);
|
|
40365
40367
|
}
|
|
40366
|
-
}),
|
|
40368
|
+
}), Jq = (r) => {
|
|
40367
40369
|
r.tags || (r.tags = []), r.paths || (r.paths = {});
|
|
40368
40370
|
const e = {};
|
|
40369
40371
|
return Object.keys(r.webhooks ?? {}).forEach((n) => {
|
|
@@ -40619,7 +40621,7 @@ function m8({
|
|
|
40619
40621
|
}) {
|
|
40620
40622
|
const t = le(""), n = cn(lb()), s = le(null);
|
|
40621
40623
|
function i(o) {
|
|
40622
|
-
return o ?
|
|
40624
|
+
return o ? Kq(o).then((a) => {
|
|
40623
40625
|
s.value = null, Object.assign(n, {
|
|
40624
40626
|
servers: [],
|
|
40625
40627
|
...a
|
|
@@ -41396,7 +41398,7 @@ const si = /* @__PURE__ */ te(Y8, [["render", B8], ["__scopeId", "data-v-dcabb13
|
|
|
41396
41398
|
innerHTML: t.value
|
|
41397
41399
|
}, null, 8, lV));
|
|
41398
41400
|
}
|
|
41399
|
-
}), yr = /* @__PURE__ */ te(cV, [["__scopeId", "data-v-
|
|
41401
|
+
}), yr = /* @__PURE__ */ te(cV, [["__scopeId", "data-v-a00e4bdd"]]), dV = ["title", "innerHTML"], uV = /* @__PURE__ */ F({
|
|
41400
41402
|
__name: "ServerItem",
|
|
41401
41403
|
props: {
|
|
41402
41404
|
value: {},
|
|
@@ -41846,7 +41848,7 @@ const La = /* @__PURE__ */ te(qV, [["render", zV], ["__scopeId", "data-v-190574a
|
|
|
41846
41848
|
_: 3
|
|
41847
41849
|
}, 8, ["id"]));
|
|
41848
41850
|
}
|
|
41849
|
-
}), O$ = /* @__PURE__ */ te(GV, [["__scopeId", "data-v-
|
|
41851
|
+
}), O$ = /* @__PURE__ */ te(GV, [["__scopeId", "data-v-07cabcb0"]]), FV = {}, KV = { class: "section-column" };
|
|
41850
41852
|
function JV(r, e) {
|
|
41851
41853
|
return k(), T("div", KV, [
|
|
41852
41854
|
J(r.$slots, "default", {}, void 0, !0)
|
|
@@ -46158,7 +46160,7 @@ export {
|
|
|
46158
46160
|
CB as mergeAllObjects,
|
|
46159
46161
|
Z3 as objectMerge,
|
|
46160
46162
|
Wf as openClientFor,
|
|
46161
|
-
|
|
46163
|
+
Kq as parse,
|
|
46162
46164
|
aS as replaceVariables,
|
|
46163
46165
|
cd as scrollToId,
|
|
46164
46166
|
Cn as sleep,
|