@scalar/api-reference-react 0.2.5 → 0.3.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/CHANGELOG.md +23 -0
- package/dist/index.js +666 -2
- package/dist/style.css +1 -1
- package/package.json +3 -4
- package/dist/Add-yNxGpRcH-i9lEuw9B-Cj78_rbb.js +0 -21
- package/dist/ArrowLeft-D7tW1xQo-BjB3hnI2-CM_KTJ3G.js +0 -20
- package/dist/ArrowRight-DmO-sdb2-H1bq-qXL-1ZUQXvZt.js +0 -20
- package/dist/Background-CU9VIbfN-xKhyTRz6-CSYgQq9C.js +0 -17
- package/dist/Brackets-CI207-BL-BbcUG0IL-BaS6Ymnl.js +0 -21
- package/dist/Branch-CXwj8YuG-CvPS_xP0-B8MoVWx3.js +0 -34
- package/dist/CallToAction-XLYRSI1h-Dk1vrnxq-DojGwivj.js +0 -20
- package/dist/Checkmark-DhbrPM0P-CFDz_1Nm-B_HGPKjB.js +0 -21
- package/dist/ChevronDown-Co7EAKAv-Dw2u19C4-D0DRGr1L.js +0 -21
- package/dist/ChevronLeft-DYt0idAu-4ItgPaSH-DFo8CS8y.js +0 -21
- package/dist/ChevronRight-ylxToVWl-DMyZ2Rmi-G5nBTSMQ.js +0 -21
- package/dist/ChevronUp-xAnukIfj-DYWzMh-o-DMVcOHJA.js +0 -21
- package/dist/Clipboard-CU_KxGEv-DuOPrhqK-Bfi7qv0t.js +0 -16
- package/dist/Close-xHiYwS8Q-DaTuBpAM-BMRyQmTe.js +0 -21
- package/dist/CodeFolder-Cv_igzJE-POyxhw77-CAoMZd6A.js +0 -27
- package/dist/Cookie-CEHvXpqB-Bu1-nQ4L-B7znTyC0.js +0 -37
- package/dist/DarkMode-BMR457PH-CsW2G1Ro-TmQtjGwC.js +0 -16
- package/dist/Delete-BCZmxrDD-RGj_5vHb-Dug2GAN0.js +0 -21
- package/dist/Discord-BHYOFBB2-BKiLx0Gp-BoUUB9gV.js +0 -16
- package/dist/DocsPage-Dwx7ZMU9-DKxfVlkW-Bp_8SS8o.js +0 -27
- package/dist/Duplicate-DRWEv4R_-_bYPzpGJ-y3DsPfBQ.js +0 -17
- package/dist/Edit-Br04RNYb-DB3yOiz_-BSg15Apy.js +0 -19
- package/dist/Ellipses-Bo_X36Hx-D4ayuQAy-BoTaC9hD.js +0 -16
- package/dist/Error-C5LiISnw-IKDSjs2b-BZS7r-Lx.js +0 -16
- package/dist/ExternalLink-DK8L-EH7-CnaH9txm-rytFKfg6.js +0 -21
- package/dist/FilterList-CS8Il7NE-DP4JzPbN-oKSD1Vtq.js +0 -21
- package/dist/Folder-CTvnVSEo-tyPfoogp-l_Tqruin.js +0 -16
- package/dist/GitHub-NdE6Zs9k-CxmMd7Ky-0q0xdqlv.js +0 -16
- package/dist/Hide-BgcCtErz-YdhS0s7w-BFYl9a2Y.js +0 -27
- package/dist/History-D9nmhNIn-Bg9VGGKO-DdM7kBGh.js +0 -27
- package/dist/JsonObject-hGdHUQ4M-JVzShx7P-Djg0KzK2.js +0 -21
- package/dist/Key-CWXJqX28-CVsMvoNb-DIXwwyZn.js +0 -21
- package/dist/Leave-K1J3uwoG-6WpXSkaE-DOqh5kFP.js +0 -21
- package/dist/LightDarkModeToggle-De3vO47x-D8h5xBww-tQtxn_g6.js +0 -16
- package/dist/LightMode-BeoMphBY-Bbi5XCzQ-BAR4gho_.js +0 -16
- package/dist/Link-Bzuc__Nc-Bopu3OCd-C04xGNj1.js +0 -21
- package/dist/Lock-xhiH1mKz-j1VwEotb-CHeSLa8b.js +0 -21
- package/dist/Logo-DwEDtgj--CRDrhASr-DzS2ZGlj.js +0 -19
- package/dist/LogoAPI-CohCfL3L-DgS67ep--BbvX6RKx.js +0 -19
- package/dist/LogoClient-Bq5O2QL2-BqHqCFAv-g0OvSYrQ.js +0 -16
- package/dist/LogoMarket-DwlApcab-BpTQzqp5-amufYKLM.js +0 -16
- package/dist/LogoSwagger-CH60H5qW--whYwExv-D-sfrpl7.js +0 -16
- package/dist/Magic-Dsi9_bEc-BSsgSxL9-B-3PZ1id.js +0 -21
- package/dist/Menu-CFK5cOsm-Bt89Z42K-D55y9YJI.js +0 -21
- package/dist/Page-DA7CO5gc-D_LbSKiY-CewbzhGK.js +0 -17
- package/dist/PaperAirplane-BC-4mGEB-CC_xr_GF-CrXfqhG6.js +0 -21
- package/dist/Payment-hzcXP1Xb-DwRM2zOI-D9SXfG3N.js +0 -21
- package/dist/Play-Cd4-o7Ji-W8fYdYxD-geD9FHZa.js +0 -16
- package/dist/Refresh-BHRzzQ8P-CAKdmF9h-Phozvo8b.js +0 -27
- package/dist/Response-DsTlT4S--CiyBwPLY-B13YajL_.js +0 -20
- package/dist/Search-DqtlswRG-C2Pti_ld-otcqrvJR.js +0 -19
- package/dist/Show-CbiiMLUa-BCfT7JXE-CyAkCZkd.js +0 -27
- package/dist/SideBarClosed-K53-CtXh-D5UXDtJk-CxcmC89r.js +0 -17
- package/dist/SideBarOpen-C7UgT82P-jT5NeYXy-DhVU187n.js +0 -21
- package/dist/Sort-CaVMT7jM-KsvCed7U-Bm9s48hv.js +0 -16
- package/dist/Terminal-DJ7x2McL-BTmQzliq-BC4dAeCt.js +0 -27
- package/dist/ThumbsDown-BMgnsASL-B1FsmbXx-Dnt4Xuf4.js +0 -21
- package/dist/ThumbsUp-C1j6zY2j-Ca8-bvgl-BnYZgLWv.js +0 -21
- package/dist/Trash-BpA3zWPD-RGj_5vHb-BPl1nGM9.js +0 -21
- package/dist/Unlock-HVYHMLxl-CsSSru63-iNFn9Eyu.js +0 -16
- package/dist/Upload-D_pwqBDY-DlTMOwHN-D1WDOYaB.js +0 -16
- package/dist/User-BLGkPc5I-D-da3lPk-BMqoSt8R.js +0 -16
- package/dist/index-CKiQQBFv-d2dow1VK.js +0 -8069
- package/dist/index-Dh_733Ag.js +0 -81758
- package/dist/prism-autoloader-Dlh8Vzlw-C7VXQ4L8-C9C3_e56.js +0 -370
- package/dist/programming-framework-angular-DD4Vjgbk-CUF3ZYYB-AKlDNBDb.js +0 -16
- package/dist/programming-framework-astro-CLfrRt19-CH6OCtd8-mKDUgM-w.js +0 -16
- package/dist/programming-framework-laravel-kAy2wVLy-kXRM5aCd-ClcbOpWA.js +0 -21
- package/dist/programming-framework-nextdotjs-BKdd_DY_-DF9m888v-B92Drwlo.js +0 -16
- package/dist/programming-framework-react-PDgmtZuN-DZjob66N-DxaeXPSf.js +0 -16
- package/dist/programming-framework-vuedotjs-Cim7D5tw-CxkKqgPk-D3ZsYp5m.js +0 -17
- package/dist/programming-language-c-hPGu2Zvg-BesPZa4K-BLhZalkg.js +0 -16
- package/dist/programming-language-clojure-uqYXn7U6-BhlaJXXC-F9vhZrcN.js +0 -16
- package/dist/programming-language-csharp-CGxYkVA6-BJwUA9TV-CB-F4dap.js +0 -16
- package/dist/programming-language-css3-Dpp4Cr6b-Dpx1zlAe-86PmYWFZ.js +0 -16
- package/dist/programming-language-go-CuKo8iD9-BpDx-Uk5-BFBxVdwC.js +0 -16
- package/dist/programming-language-html5-DlqJK4EL-DfQp7LQz-BHhn66AO.js +0 -16
- package/dist/programming-language-http-f3NXC-Ae-CBKA8Rw2-BeCAhUtt.js +0 -16
- package/dist/programming-language-java-BBodetdf-Do7Uo0sg-DO_aq8i8.js +0 -18
- package/dist/programming-language-javascript-VxLvi1QG-qbgoUfZ8-C6toJ3H0.js +0 -16
- package/dist/programming-language-json-Dq_K-q5f-CD7uIR91-CXR8X1KI.js +0 -17
- package/dist/programming-language-kotlin-eTASnmL3-OG0Z7YBS-BEOlvAgc.js +0 -16
- package/dist/programming-language-node-oucaVOgY-BvGMDoeB-GQRPFlXT.js +0 -17
- package/dist/programming-language-objc-CPgQxmNi-D44rlWUI-wor6Xa06.js +0 -17
- package/dist/programming-language-ocaml-Q1-Jv5Q5-QKB_Bc7i-CxbgmbfS.js +0 -16
- package/dist/programming-language-php-GY38f8r4-jRMN5AZX-cxuPW4rZ.js +0 -16
- package/dist/programming-language-powershell-xLOxAYP_-Ck82ebOe-dvQAFK-H.js +0 -20
- package/dist/programming-language-python-Ct-_kNjo-DsKRdoNg-Bg2h15N7.js +0 -16
- package/dist/programming-language-r-Ch3T1qiC-BO-CjZZM-B1F9AS53.js +0 -20
- package/dist/programming-language-ruby-DhdM4d7g-BuT1i5is-Bv7yMxtr.js +0 -16
- package/dist/programming-language-scala-BVg0dToJ-p_n-G2sI-ZJSaNZHX.js +0 -16
- package/dist/programming-language-shell-uj1zoCVW-BZSmYs-C-C6CrZLDo.js +0 -16
- package/dist/programming-language-swift-Dn72xPjg-D-JnfNts-HTXAio1-.js +0 -16
- package/dist/programming-language-typescript-CdF-HuRi-ocSQSwHb-7HKqXnt4.js +0 -16
- package/dist/programming-script-code-CUHv6qR8-DMwI7fYl-KZslKwti.js +0 -21
- package/dist/programming-tool-git-C-BMJCAo-DUuF7AA--DLyIa4Yi.js +0 -16
- package/dist/programming-tool-tailwindcss-xjXi0E6g-r5YhtCAf-BIkMnEEO.js +0 -16
- package/dist/schema-BQQoKgNw-DQKLRVph-DQKLRVph.js +0 -1619
- package/dist/schema-BjykgtPd-D3b7mB1v-D3b7mB1v.js +0 -1633
- package/dist/schema-ZROhtp0X-ZROhtp0X-ZROhtp0X.js +0 -1453
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @scalar/api-reference-react
|
|
2
2
|
|
|
3
|
+
## 0.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 7f8ef74: chore: remove aliasing
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 8494349: Migrate to highlightjs based syntax highlighting
|
|
12
|
+
- 6fbb57e: feat: release all the packages
|
|
13
|
+
- Updated dependencies [7f8ef74]
|
|
14
|
+
- Updated dependencies [689677a]
|
|
15
|
+
- Updated dependencies [326dcfb]
|
|
16
|
+
- Updated dependencies [b4db5da]
|
|
17
|
+
- Updated dependencies [d54eb42]
|
|
18
|
+
- Updated dependencies [68eede9]
|
|
19
|
+
- Updated dependencies [96347a1]
|
|
20
|
+
- Updated dependencies [8494349]
|
|
21
|
+
- Updated dependencies [b38c7ed]
|
|
22
|
+
- Updated dependencies [6fbb57e]
|
|
23
|
+
- Updated dependencies [6d11a8a]
|
|
24
|
+
- @scalar/api-reference@1.24.0
|
|
25
|
+
|
|
3
26
|
## 0.2.5
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,668 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import Ce, { useRef as cr, useState as dr, useEffect as Oe } from "react";
|
|
2
|
+
import { createScalarReferences as vr } from "@scalar/api-reference";
|
|
3
|
+
var Z = { exports: {} }, I = {};
|
|
4
|
+
/**
|
|
5
|
+
* @license React
|
|
6
|
+
* react-jsx-runtime.production.min.js
|
|
7
|
+
*
|
|
8
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
9
|
+
*
|
|
10
|
+
* This source code is licensed under the MIT license found in the
|
|
11
|
+
* LICENSE file in the root directory of this source tree.
|
|
12
|
+
*/
|
|
13
|
+
var Se;
|
|
14
|
+
function pr() {
|
|
15
|
+
if (Se)
|
|
16
|
+
return I;
|
|
17
|
+
Se = 1;
|
|
18
|
+
var E = Ce, g = Symbol.for("react.element"), b = Symbol.for("react.fragment"), h = Object.prototype.hasOwnProperty, m = E.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, $ = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
19
|
+
function k(T, c, C) {
|
|
20
|
+
var p, R = {}, O = null, Y = null;
|
|
21
|
+
C !== void 0 && (O = "" + C), c.key !== void 0 && (O = "" + c.key), c.ref !== void 0 && (Y = c.ref);
|
|
22
|
+
for (p in c)
|
|
23
|
+
h.call(c, p) && !$.hasOwnProperty(p) && (R[p] = c[p]);
|
|
24
|
+
if (T && T.defaultProps)
|
|
25
|
+
for (p in c = T.defaultProps, c)
|
|
26
|
+
R[p] === void 0 && (R[p] = c[p]);
|
|
27
|
+
return { $$typeof: g, type: T, key: O, ref: Y, props: R, _owner: m.current };
|
|
28
|
+
}
|
|
29
|
+
return I.Fragment = b, I.jsx = k, I.jsxs = k, I;
|
|
30
|
+
}
|
|
31
|
+
var W = {};
|
|
32
|
+
/**
|
|
33
|
+
* @license React
|
|
34
|
+
* react-jsx-runtime.development.js
|
|
35
|
+
*
|
|
36
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
37
|
+
*
|
|
38
|
+
* This source code is licensed under the MIT license found in the
|
|
39
|
+
* LICENSE file in the root directory of this source tree.
|
|
40
|
+
*/
|
|
41
|
+
var Pe;
|
|
42
|
+
function _r() {
|
|
43
|
+
return Pe || (Pe = 1, process.env.NODE_ENV !== "production" && function() {
|
|
44
|
+
var E = Ce, g = Symbol.for("react.element"), b = Symbol.for("react.portal"), h = Symbol.for("react.fragment"), m = Symbol.for("react.strict_mode"), $ = Symbol.for("react.profiler"), k = Symbol.for("react.provider"), T = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), C = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), R = Symbol.for("react.memo"), O = Symbol.for("react.lazy"), Y = Symbol.for("react.offscreen"), Q = Symbol.iterator, we = "@@iterator";
|
|
45
|
+
function je(e) {
|
|
46
|
+
if (e === null || typeof e != "object")
|
|
47
|
+
return null;
|
|
48
|
+
var r = Q && e[Q] || e[we];
|
|
49
|
+
return typeof r == "function" ? r : null;
|
|
50
|
+
}
|
|
51
|
+
var w = E.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
52
|
+
function l(e) {
|
|
53
|
+
{
|
|
54
|
+
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
|
|
55
|
+
t[n - 1] = arguments[n];
|
|
56
|
+
xe("error", e, t);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
function xe(e, r, t) {
|
|
60
|
+
{
|
|
61
|
+
var n = w.ReactDebugCurrentFrame, o = n.getStackAddendum();
|
|
62
|
+
o !== "" && (r += "%s", t = t.concat([o]));
|
|
63
|
+
var u = t.map(function(i) {
|
|
64
|
+
return String(i);
|
|
65
|
+
});
|
|
66
|
+
u.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, u);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
var ke = !1, De = !1, Ae = !1, Fe = !1, Ie = !1, ee;
|
|
70
|
+
ee = Symbol.for("react.module.reference");
|
|
71
|
+
function We(e) {
|
|
72
|
+
return !!(typeof e == "string" || typeof e == "function" || e === h || e === $ || Ie || e === m || e === C || e === p || Fe || e === Y || ke || De || Ae || typeof e == "object" && e !== null && (e.$$typeof === O || e.$$typeof === R || e.$$typeof === k || e.$$typeof === T || e.$$typeof === c || // This needs to include all possible module reference object
|
|
73
|
+
// types supported by any Flight configuration anywhere since
|
|
74
|
+
// we don't know which Flight build this will end up being used
|
|
75
|
+
// with.
|
|
76
|
+
e.$$typeof === ee || e.getModuleId !== void 0));
|
|
77
|
+
}
|
|
78
|
+
function $e(e, r, t) {
|
|
79
|
+
var n = e.displayName;
|
|
80
|
+
if (n)
|
|
81
|
+
return n;
|
|
82
|
+
var o = r.displayName || r.name || "";
|
|
83
|
+
return o !== "" ? t + "(" + o + ")" : t;
|
|
84
|
+
}
|
|
85
|
+
function re(e) {
|
|
86
|
+
return e.displayName || "Context";
|
|
87
|
+
}
|
|
88
|
+
function y(e) {
|
|
89
|
+
if (e == null)
|
|
90
|
+
return null;
|
|
91
|
+
if (typeof e.tag == "number" && l("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
92
|
+
return e.displayName || e.name || null;
|
|
93
|
+
if (typeof e == "string")
|
|
94
|
+
return e;
|
|
95
|
+
switch (e) {
|
|
96
|
+
case h:
|
|
97
|
+
return "Fragment";
|
|
98
|
+
case b:
|
|
99
|
+
return "Portal";
|
|
100
|
+
case $:
|
|
101
|
+
return "Profiler";
|
|
102
|
+
case m:
|
|
103
|
+
return "StrictMode";
|
|
104
|
+
case C:
|
|
105
|
+
return "Suspense";
|
|
106
|
+
case p:
|
|
107
|
+
return "SuspenseList";
|
|
108
|
+
}
|
|
109
|
+
if (typeof e == "object")
|
|
110
|
+
switch (e.$$typeof) {
|
|
111
|
+
case T:
|
|
112
|
+
var r = e;
|
|
113
|
+
return re(r) + ".Consumer";
|
|
114
|
+
case k:
|
|
115
|
+
var t = e;
|
|
116
|
+
return re(t._context) + ".Provider";
|
|
117
|
+
case c:
|
|
118
|
+
return $e(e, e.render, "ForwardRef");
|
|
119
|
+
case R:
|
|
120
|
+
var n = e.displayName || null;
|
|
121
|
+
return n !== null ? n : y(e.type) || "Memo";
|
|
122
|
+
case O: {
|
|
123
|
+
var o = e, u = o._payload, i = o._init;
|
|
124
|
+
try {
|
|
125
|
+
return y(i(u));
|
|
126
|
+
} catch {
|
|
127
|
+
return null;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
return null;
|
|
132
|
+
}
|
|
133
|
+
var S = Object.assign, D = 0, te, ne, ae, ie, oe, ue, se;
|
|
134
|
+
function fe() {
|
|
135
|
+
}
|
|
136
|
+
fe.__reactDisabledLog = !0;
|
|
137
|
+
function Ye() {
|
|
138
|
+
{
|
|
139
|
+
if (D === 0) {
|
|
140
|
+
te = console.log, ne = console.info, ae = console.warn, ie = console.error, oe = console.group, ue = console.groupCollapsed, se = console.groupEnd;
|
|
141
|
+
var e = {
|
|
142
|
+
configurable: !0,
|
|
143
|
+
enumerable: !0,
|
|
144
|
+
value: fe,
|
|
145
|
+
writable: !0
|
|
146
|
+
};
|
|
147
|
+
Object.defineProperties(console, {
|
|
148
|
+
info: e,
|
|
149
|
+
log: e,
|
|
150
|
+
warn: e,
|
|
151
|
+
error: e,
|
|
152
|
+
group: e,
|
|
153
|
+
groupCollapsed: e,
|
|
154
|
+
groupEnd: e
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
D++;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
function Ve() {
|
|
161
|
+
{
|
|
162
|
+
if (D--, D === 0) {
|
|
163
|
+
var e = {
|
|
164
|
+
configurable: !0,
|
|
165
|
+
enumerable: !0,
|
|
166
|
+
writable: !0
|
|
167
|
+
};
|
|
168
|
+
Object.defineProperties(console, {
|
|
169
|
+
log: S({}, e, {
|
|
170
|
+
value: te
|
|
171
|
+
}),
|
|
172
|
+
info: S({}, e, {
|
|
173
|
+
value: ne
|
|
174
|
+
}),
|
|
175
|
+
warn: S({}, e, {
|
|
176
|
+
value: ae
|
|
177
|
+
}),
|
|
178
|
+
error: S({}, e, {
|
|
179
|
+
value: ie
|
|
180
|
+
}),
|
|
181
|
+
group: S({}, e, {
|
|
182
|
+
value: oe
|
|
183
|
+
}),
|
|
184
|
+
groupCollapsed: S({}, e, {
|
|
185
|
+
value: ue
|
|
186
|
+
}),
|
|
187
|
+
groupEnd: S({}, e, {
|
|
188
|
+
value: se
|
|
189
|
+
})
|
|
190
|
+
});
|
|
191
|
+
}
|
|
192
|
+
D < 0 && l("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
var N = w.ReactCurrentDispatcher, B;
|
|
196
|
+
function V(e, r, t) {
|
|
197
|
+
{
|
|
198
|
+
if (B === void 0)
|
|
199
|
+
try {
|
|
200
|
+
throw Error();
|
|
201
|
+
} catch (o) {
|
|
202
|
+
var n = o.stack.trim().match(/\n( *(at )?)/);
|
|
203
|
+
B = n && n[1] || "";
|
|
204
|
+
}
|
|
205
|
+
return `
|
|
206
|
+
` + B + e;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
var J = !1, L;
|
|
210
|
+
{
|
|
211
|
+
var Le = typeof WeakMap == "function" ? WeakMap : Map;
|
|
212
|
+
L = new Le();
|
|
213
|
+
}
|
|
214
|
+
function le(e, r) {
|
|
215
|
+
if (!e || J)
|
|
216
|
+
return "";
|
|
217
|
+
{
|
|
218
|
+
var t = L.get(e);
|
|
219
|
+
if (t !== void 0)
|
|
220
|
+
return t;
|
|
221
|
+
}
|
|
222
|
+
var n;
|
|
223
|
+
J = !0;
|
|
224
|
+
var o = Error.prepareStackTrace;
|
|
225
|
+
Error.prepareStackTrace = void 0;
|
|
226
|
+
var u;
|
|
227
|
+
u = N.current, N.current = null, Ye();
|
|
228
|
+
try {
|
|
229
|
+
if (r) {
|
|
230
|
+
var i = function() {
|
|
231
|
+
throw Error();
|
|
232
|
+
};
|
|
233
|
+
if (Object.defineProperty(i.prototype, "props", {
|
|
234
|
+
set: function() {
|
|
235
|
+
throw Error();
|
|
236
|
+
}
|
|
237
|
+
}), typeof Reflect == "object" && Reflect.construct) {
|
|
238
|
+
try {
|
|
239
|
+
Reflect.construct(i, []);
|
|
240
|
+
} catch (v) {
|
|
241
|
+
n = v;
|
|
242
|
+
}
|
|
243
|
+
Reflect.construct(e, [], i);
|
|
244
|
+
} else {
|
|
245
|
+
try {
|
|
246
|
+
i.call();
|
|
247
|
+
} catch (v) {
|
|
248
|
+
n = v;
|
|
249
|
+
}
|
|
250
|
+
e.call(i.prototype);
|
|
251
|
+
}
|
|
252
|
+
} else {
|
|
253
|
+
try {
|
|
254
|
+
throw Error();
|
|
255
|
+
} catch (v) {
|
|
256
|
+
n = v;
|
|
257
|
+
}
|
|
258
|
+
e();
|
|
259
|
+
}
|
|
260
|
+
} catch (v) {
|
|
261
|
+
if (v && n && typeof v.stack == "string") {
|
|
262
|
+
for (var a = v.stack.split(`
|
|
263
|
+
`), d = n.stack.split(`
|
|
264
|
+
`), s = a.length - 1, f = d.length - 1; s >= 1 && f >= 0 && a[s] !== d[f]; )
|
|
265
|
+
f--;
|
|
266
|
+
for (; s >= 1 && f >= 0; s--, f--)
|
|
267
|
+
if (a[s] !== d[f]) {
|
|
268
|
+
if (s !== 1 || f !== 1)
|
|
269
|
+
do
|
|
270
|
+
if (s--, f--, f < 0 || a[s] !== d[f]) {
|
|
271
|
+
var _ = `
|
|
272
|
+
` + a[s].replace(" at new ", " at ");
|
|
273
|
+
return e.displayName && _.includes("<anonymous>") && (_ = _.replace("<anonymous>", e.displayName)), typeof e == "function" && L.set(e, _), _;
|
|
274
|
+
}
|
|
275
|
+
while (s >= 1 && f >= 0);
|
|
276
|
+
break;
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
} finally {
|
|
280
|
+
J = !1, N.current = u, Ve(), Error.prepareStackTrace = o;
|
|
281
|
+
}
|
|
282
|
+
var x = e ? e.displayName || e.name : "", P = x ? V(x) : "";
|
|
283
|
+
return typeof e == "function" && L.set(e, P), P;
|
|
284
|
+
}
|
|
285
|
+
function Ue(e, r, t) {
|
|
286
|
+
return le(e, !1);
|
|
287
|
+
}
|
|
288
|
+
function Me(e) {
|
|
289
|
+
var r = e.prototype;
|
|
290
|
+
return !!(r && r.isReactComponent);
|
|
291
|
+
}
|
|
292
|
+
function U(e, r, t) {
|
|
293
|
+
if (e == null)
|
|
294
|
+
return "";
|
|
295
|
+
if (typeof e == "function")
|
|
296
|
+
return le(e, Me(e));
|
|
297
|
+
if (typeof e == "string")
|
|
298
|
+
return V(e);
|
|
299
|
+
switch (e) {
|
|
300
|
+
case C:
|
|
301
|
+
return V("Suspense");
|
|
302
|
+
case p:
|
|
303
|
+
return V("SuspenseList");
|
|
304
|
+
}
|
|
305
|
+
if (typeof e == "object")
|
|
306
|
+
switch (e.$$typeof) {
|
|
307
|
+
case c:
|
|
308
|
+
return Ue(e.render);
|
|
309
|
+
case R:
|
|
310
|
+
return U(e.type, r, t);
|
|
311
|
+
case O: {
|
|
312
|
+
var n = e, o = n._payload, u = n._init;
|
|
313
|
+
try {
|
|
314
|
+
return U(u(o), r, t);
|
|
315
|
+
} catch {
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
return "";
|
|
320
|
+
}
|
|
321
|
+
var A = Object.prototype.hasOwnProperty, ce = {}, de = w.ReactDebugCurrentFrame;
|
|
322
|
+
function M(e) {
|
|
323
|
+
if (e) {
|
|
324
|
+
var r = e._owner, t = U(e.type, e._source, r ? r.type : null);
|
|
325
|
+
de.setExtraStackFrame(t);
|
|
326
|
+
} else
|
|
327
|
+
de.setExtraStackFrame(null);
|
|
328
|
+
}
|
|
329
|
+
function Ne(e, r, t, n, o) {
|
|
330
|
+
{
|
|
331
|
+
var u = Function.call.bind(A);
|
|
332
|
+
for (var i in e)
|
|
333
|
+
if (u(e, i)) {
|
|
334
|
+
var a = void 0;
|
|
335
|
+
try {
|
|
336
|
+
if (typeof e[i] != "function") {
|
|
337
|
+
var d = Error((n || "React class") + ": " + t + " type `" + i + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[i] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
338
|
+
throw d.name = "Invariant Violation", d;
|
|
339
|
+
}
|
|
340
|
+
a = e[i](r, i, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
341
|
+
} catch (s) {
|
|
342
|
+
a = s;
|
|
343
|
+
}
|
|
344
|
+
a && !(a instanceof Error) && (M(o), l("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", t, i, typeof a), M(null)), a instanceof Error && !(a.message in ce) && (ce[a.message] = !0, M(o), l("Failed %s type: %s", t, a.message), M(null));
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
var Be = Array.isArray;
|
|
349
|
+
function q(e) {
|
|
350
|
+
return Be(e);
|
|
351
|
+
}
|
|
352
|
+
function Je(e) {
|
|
353
|
+
{
|
|
354
|
+
var r = typeof Symbol == "function" && Symbol.toStringTag, t = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
355
|
+
return t;
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
function qe(e) {
|
|
359
|
+
try {
|
|
360
|
+
return ve(e), !1;
|
|
361
|
+
} catch {
|
|
362
|
+
return !0;
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
function ve(e) {
|
|
366
|
+
return "" + e;
|
|
367
|
+
}
|
|
368
|
+
function pe(e) {
|
|
369
|
+
if (qe(e))
|
|
370
|
+
return l("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Je(e)), ve(e);
|
|
371
|
+
}
|
|
372
|
+
var F = w.ReactCurrentOwner, Ke = {
|
|
373
|
+
key: !0,
|
|
374
|
+
ref: !0,
|
|
375
|
+
__self: !0,
|
|
376
|
+
__source: !0
|
|
377
|
+
}, _e, ge, K;
|
|
378
|
+
K = {};
|
|
379
|
+
function Ge(e) {
|
|
380
|
+
if (A.call(e, "ref")) {
|
|
381
|
+
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
382
|
+
if (r && r.isReactWarning)
|
|
383
|
+
return !1;
|
|
384
|
+
}
|
|
385
|
+
return e.ref !== void 0;
|
|
386
|
+
}
|
|
387
|
+
function ze(e) {
|
|
388
|
+
if (A.call(e, "key")) {
|
|
389
|
+
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
390
|
+
if (r && r.isReactWarning)
|
|
391
|
+
return !1;
|
|
392
|
+
}
|
|
393
|
+
return e.key !== void 0;
|
|
394
|
+
}
|
|
395
|
+
function He(e, r) {
|
|
396
|
+
if (typeof e.ref == "string" && F.current && r && F.current.stateNode !== r) {
|
|
397
|
+
var t = y(F.current.type);
|
|
398
|
+
K[t] || (l('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', y(F.current.type), e.ref), K[t] = !0);
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
function Xe(e, r) {
|
|
402
|
+
{
|
|
403
|
+
var t = function() {
|
|
404
|
+
_e || (_e = !0, l("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
405
|
+
};
|
|
406
|
+
t.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
407
|
+
get: t,
|
|
408
|
+
configurable: !0
|
|
409
|
+
});
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
function Ze(e, r) {
|
|
413
|
+
{
|
|
414
|
+
var t = function() {
|
|
415
|
+
ge || (ge = !0, l("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
416
|
+
};
|
|
417
|
+
t.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
418
|
+
get: t,
|
|
419
|
+
configurable: !0
|
|
420
|
+
});
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
var Qe = function(e, r, t, n, o, u, i) {
|
|
424
|
+
var a = {
|
|
425
|
+
// This tag allows us to uniquely identify this as a React Element
|
|
426
|
+
$$typeof: g,
|
|
427
|
+
// Built-in properties that belong on the element
|
|
428
|
+
type: e,
|
|
429
|
+
key: r,
|
|
430
|
+
ref: t,
|
|
431
|
+
props: i,
|
|
432
|
+
// Record the component responsible for creating this element.
|
|
433
|
+
_owner: u
|
|
434
|
+
};
|
|
435
|
+
return a._store = {}, Object.defineProperty(a._store, "validated", {
|
|
436
|
+
configurable: !1,
|
|
437
|
+
enumerable: !1,
|
|
438
|
+
writable: !0,
|
|
439
|
+
value: !1
|
|
440
|
+
}), Object.defineProperty(a, "_self", {
|
|
441
|
+
configurable: !1,
|
|
442
|
+
enumerable: !1,
|
|
443
|
+
writable: !1,
|
|
444
|
+
value: n
|
|
445
|
+
}), Object.defineProperty(a, "_source", {
|
|
446
|
+
configurable: !1,
|
|
447
|
+
enumerable: !1,
|
|
448
|
+
writable: !1,
|
|
449
|
+
value: o
|
|
450
|
+
}), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
|
|
451
|
+
};
|
|
452
|
+
function er(e, r, t, n, o) {
|
|
453
|
+
{
|
|
454
|
+
var u, i = {}, a = null, d = null;
|
|
455
|
+
t !== void 0 && (pe(t), a = "" + t), ze(r) && (pe(r.key), a = "" + r.key), Ge(r) && (d = r.ref, He(r, o));
|
|
456
|
+
for (u in r)
|
|
457
|
+
A.call(r, u) && !Ke.hasOwnProperty(u) && (i[u] = r[u]);
|
|
458
|
+
if (e && e.defaultProps) {
|
|
459
|
+
var s = e.defaultProps;
|
|
460
|
+
for (u in s)
|
|
461
|
+
i[u] === void 0 && (i[u] = s[u]);
|
|
462
|
+
}
|
|
463
|
+
if (a || d) {
|
|
464
|
+
var f = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
465
|
+
a && Xe(i, f), d && Ze(i, f);
|
|
466
|
+
}
|
|
467
|
+
return Qe(e, a, d, o, n, F.current, i);
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
var G = w.ReactCurrentOwner, be = w.ReactDebugCurrentFrame;
|
|
471
|
+
function j(e) {
|
|
472
|
+
if (e) {
|
|
473
|
+
var r = e._owner, t = U(e.type, e._source, r ? r.type : null);
|
|
474
|
+
be.setExtraStackFrame(t);
|
|
475
|
+
} else
|
|
476
|
+
be.setExtraStackFrame(null);
|
|
477
|
+
}
|
|
478
|
+
var z;
|
|
479
|
+
z = !1;
|
|
480
|
+
function H(e) {
|
|
481
|
+
return typeof e == "object" && e !== null && e.$$typeof === g;
|
|
482
|
+
}
|
|
483
|
+
function ye() {
|
|
484
|
+
{
|
|
485
|
+
if (G.current) {
|
|
486
|
+
var e = y(G.current.type);
|
|
487
|
+
if (e)
|
|
488
|
+
return `
|
|
489
|
+
|
|
490
|
+
Check the render method of \`` + e + "`.";
|
|
491
|
+
}
|
|
492
|
+
return "";
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
function rr(e) {
|
|
496
|
+
{
|
|
497
|
+
if (e !== void 0) {
|
|
498
|
+
var r = e.fileName.replace(/^.*[\\\/]/, ""), t = e.lineNumber;
|
|
499
|
+
return `
|
|
500
|
+
|
|
501
|
+
Check your code at ` + r + ":" + t + ".";
|
|
502
|
+
}
|
|
503
|
+
return "";
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
var Re = {};
|
|
507
|
+
function tr(e) {
|
|
508
|
+
{
|
|
509
|
+
var r = ye();
|
|
510
|
+
if (!r) {
|
|
511
|
+
var t = typeof e == "string" ? e : e.displayName || e.name;
|
|
512
|
+
t && (r = `
|
|
513
|
+
|
|
514
|
+
Check the top-level render call using <` + t + ">.");
|
|
515
|
+
}
|
|
516
|
+
return r;
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
function he(e, r) {
|
|
520
|
+
{
|
|
521
|
+
if (!e._store || e._store.validated || e.key != null)
|
|
522
|
+
return;
|
|
523
|
+
e._store.validated = !0;
|
|
524
|
+
var t = tr(r);
|
|
525
|
+
if (Re[t])
|
|
526
|
+
return;
|
|
527
|
+
Re[t] = !0;
|
|
528
|
+
var n = "";
|
|
529
|
+
e && e._owner && e._owner !== G.current && (n = " It was passed a child from " + y(e._owner.type) + "."), j(e), l('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), j(null);
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
function Ee(e, r) {
|
|
533
|
+
{
|
|
534
|
+
if (typeof e != "object")
|
|
535
|
+
return;
|
|
536
|
+
if (q(e))
|
|
537
|
+
for (var t = 0; t < e.length; t++) {
|
|
538
|
+
var n = e[t];
|
|
539
|
+
H(n) && he(n, r);
|
|
540
|
+
}
|
|
541
|
+
else if (H(e))
|
|
542
|
+
e._store && (e._store.validated = !0);
|
|
543
|
+
else if (e) {
|
|
544
|
+
var o = je(e);
|
|
545
|
+
if (typeof o == "function" && o !== e.entries)
|
|
546
|
+
for (var u = o.call(e), i; !(i = u.next()).done; )
|
|
547
|
+
H(i.value) && he(i.value, r);
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
function nr(e) {
|
|
552
|
+
{
|
|
553
|
+
var r = e.type;
|
|
554
|
+
if (r == null || typeof r == "string")
|
|
555
|
+
return;
|
|
556
|
+
var t;
|
|
557
|
+
if (typeof r == "function")
|
|
558
|
+
t = r.propTypes;
|
|
559
|
+
else if (typeof r == "object" && (r.$$typeof === c || // Note: Memo only checks outer props here.
|
|
560
|
+
// Inner props are checked in the reconciler.
|
|
561
|
+
r.$$typeof === R))
|
|
562
|
+
t = r.propTypes;
|
|
563
|
+
else
|
|
564
|
+
return;
|
|
565
|
+
if (t) {
|
|
566
|
+
var n = y(r);
|
|
567
|
+
Ne(t, e.props, "prop", n, e);
|
|
568
|
+
} else if (r.PropTypes !== void 0 && !z) {
|
|
569
|
+
z = !0;
|
|
570
|
+
var o = y(r);
|
|
571
|
+
l("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", o || "Unknown");
|
|
572
|
+
}
|
|
573
|
+
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && l("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
function ar(e) {
|
|
577
|
+
{
|
|
578
|
+
for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
|
|
579
|
+
var n = r[t];
|
|
580
|
+
if (n !== "children" && n !== "key") {
|
|
581
|
+
j(e), l("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), j(null);
|
|
582
|
+
break;
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
e.ref !== null && (j(e), l("Invalid attribute `ref` supplied to `React.Fragment`."), j(null));
|
|
586
|
+
}
|
|
587
|
+
}
|
|
588
|
+
var me = {};
|
|
589
|
+
function Te(e, r, t, n, o, u) {
|
|
590
|
+
{
|
|
591
|
+
var i = We(e);
|
|
592
|
+
if (!i) {
|
|
593
|
+
var a = "";
|
|
594
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
595
|
+
var d = rr(o);
|
|
596
|
+
d ? a += d : a += ye();
|
|
597
|
+
var s;
|
|
598
|
+
e === null ? s = "null" : q(e) ? s = "array" : e !== void 0 && e.$$typeof === g ? (s = "<" + (y(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : s = typeof e, l("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", s, a);
|
|
599
|
+
}
|
|
600
|
+
var f = er(e, r, t, o, u);
|
|
601
|
+
if (f == null)
|
|
602
|
+
return f;
|
|
603
|
+
if (i) {
|
|
604
|
+
var _ = r.children;
|
|
605
|
+
if (_ !== void 0)
|
|
606
|
+
if (n)
|
|
607
|
+
if (q(_)) {
|
|
608
|
+
for (var x = 0; x < _.length; x++)
|
|
609
|
+
Ee(_[x], e);
|
|
610
|
+
Object.freeze && Object.freeze(_);
|
|
611
|
+
} else
|
|
612
|
+
l("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
613
|
+
else
|
|
614
|
+
Ee(_, e);
|
|
615
|
+
}
|
|
616
|
+
if (A.call(r, "key")) {
|
|
617
|
+
var P = y(e), v = Object.keys(r).filter(function(lr) {
|
|
618
|
+
return lr !== "key";
|
|
619
|
+
}), X = v.length > 0 ? "{key: someKey, " + v.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
620
|
+
if (!me[P + X]) {
|
|
621
|
+
var fr = v.length > 0 ? "{" + v.join(": ..., ") + ": ...}" : "{}";
|
|
622
|
+
l(`A props object containing a "key" prop is being spread into JSX:
|
|
623
|
+
let props = %s;
|
|
624
|
+
<%s {...props} />
|
|
625
|
+
React keys must be passed directly to JSX without using spread:
|
|
626
|
+
let props = %s;
|
|
627
|
+
<%s key={someKey} {...props} />`, X, P, fr, P), me[P + X] = !0;
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
return e === h ? ar(f) : nr(f), f;
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
function ir(e, r, t) {
|
|
634
|
+
return Te(e, r, t, !0);
|
|
635
|
+
}
|
|
636
|
+
function or(e, r, t) {
|
|
637
|
+
return Te(e, r, t, !1);
|
|
638
|
+
}
|
|
639
|
+
var ur = or, sr = ir;
|
|
640
|
+
W.Fragment = h, W.jsx = ur, W.jsxs = sr;
|
|
641
|
+
}()), W;
|
|
642
|
+
}
|
|
643
|
+
process.env.NODE_ENV === "production" ? Z.exports = pr() : Z.exports = _r();
|
|
644
|
+
var gr = Z.exports;
|
|
645
|
+
globalThis.__VUE_OPTIONS_API__ = !0;
|
|
646
|
+
globalThis.__VUE_PROD_HYDRATION_MISMATCH_DETAILS__ = !0;
|
|
647
|
+
globalThis.__VUE_PROD_DEVTOOLS__ = !1;
|
|
648
|
+
const Rr = (E) => {
|
|
649
|
+
const g = cr(null), [b, h] = dr(null);
|
|
650
|
+
return Oe(() => {
|
|
651
|
+
if (!g.current)
|
|
652
|
+
return b == null ? void 0 : b.unmount;
|
|
653
|
+
const m = vr(
|
|
654
|
+
g.current,
|
|
655
|
+
E.configuration ?? {}
|
|
656
|
+
);
|
|
657
|
+
return h(m), m.unmount;
|
|
658
|
+
}, [g]), Oe(() => {
|
|
659
|
+
b == null || b.updateConfig(
|
|
660
|
+
E.configuration ?? {},
|
|
661
|
+
/** For React we will just replace the config if it changes */
|
|
662
|
+
!1
|
|
663
|
+
);
|
|
664
|
+
}, [E.configuration]), /* @__PURE__ */ gr.jsx("div", { ref: g });
|
|
665
|
+
};
|
|
2
666
|
export {
|
|
3
|
-
|
|
667
|
+
Rr as ApiReferenceReact
|
|
4
668
|
};
|