@kosdev-code/kos-ui-plugin 2.1.17 → 2.1.19
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/documentation-generator-CAlVz5vA.cjs +266 -0
- package/documentation-generator-CAlVz5vA.cjs.map +1 -0
- package/documentation-generator-Di4c9D9P.js +2337 -0
- package/documentation-generator-Di4c9D9P.js.map +1 -0
- package/index.cjs +69 -69
- package/index.cjs.map +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +817 -753
- package/index.js.map +1 -1
- package/lib/components/dynamic-component/dynamic-component.d.ts +69 -0
- package/lib/components/dynamic-component/dynamic-component.d.ts.map +1 -1
- package/lib/contexts/index.d.ts +1 -0
- package/lib/contexts/index.d.ts.map +1 -1
- package/lib/contexts/plugins-provider/plugins-provider.d.ts.map +1 -1
- package/lib/contexts/reactive-extension-registry-context.d.ts +10 -0
- package/lib/contexts/reactive-extension-registry-context.d.ts.map +1 -0
- package/lib/hooks/index.d.ts +4 -2
- package/lib/hooks/index.d.ts.map +1 -1
- package/lib/hooks/use-dynamic-component.d.ts +12 -1
- package/lib/hooks/use-dynamic-component.d.ts.map +1 -1
- package/lib/hooks/use-extension-point.d.ts +95 -0
- package/lib/hooks/use-extension-point.d.ts.map +1 -0
- package/lib/hooks/use-reactive-extension-registry.d.ts +20 -0
- package/lib/hooks/use-reactive-extension-registry.d.ts.map +1 -0
- package/lib/hooks/use-typed-extensions.d.ts.map +1 -1
- package/lib/utils/contribution-registry.d.ts +170 -0
- package/lib/utils/contribution-registry.d.ts.map +1 -0
- package/lib/utils/extension-points/extension-point-registry.d.ts.map +1 -1
- package/lib/utils/extension-points/extension-point-schemas.d.ts +4 -4
- package/lib/utils/index.d.ts +3 -0
- package/lib/utils/index.d.ts.map +1 -1
- package/lib/utils/plugin-system/plugin-extension-manager.d.ts.map +1 -1
- package/lib/utils/processors/initialize-plugins.d.ts.map +1 -1
- package/lib/utils/reactive-extension-registry.d.ts +140 -0
- package/lib/utils/reactive-extension-registry.d.ts.map +1 -0
- package/lib/webpack/index.d.ts +2 -0
- package/lib/webpack/index.d.ts.map +1 -1
- package/lib/webpack/with-plugin-dev-aggregator.d.ts +94 -0
- package/lib/webpack/with-plugin-dev-aggregator.d.ts.map +1 -0
- package/lib/webpack/with-plugin-dev-server.d.ts +113 -0
- package/lib/webpack/with-plugin-dev-server.d.ts.map +1 -0
- package/package.json +2 -2
- package/types/contribution-enablement.d.ts +293 -0
- package/types/contribution-enablement.d.ts.map +1 -0
- package/types/plugins.d.ts +8 -0
- package/utils.cjs +1 -1
- package/utils.cjs.map +1 -1
- package/utils.js +29 -291
- package/utils.js.map +1 -1
- package/webpack.cjs +3 -12
- package/webpack.cjs.map +1 -1
- package/webpack.js +455 -727
- package/webpack.js.map +1 -1
- package/documentation-generator-DFaIDo0E.cjs +0 -266
- package/documentation-generator-DFaIDo0E.cjs.map +0 -1
- package/documentation-generator-auruIa_o.js +0 -1560
- package/documentation-generator-auruIa_o.js.map +0 -1
package/index.js
CHANGED
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
3
|
-
import Y, { forwardRef as
|
|
1
|
+
import * as te from "react/jsx-runtime";
|
|
2
|
+
import * as j from "react";
|
|
3
|
+
import Y, { forwardRef as Vt, useContext as Re, createContext as Je, useState as B, useEffect as W, useMemo as O, Suspense as jt } from "react";
|
|
4
4
|
import h from "@emotion/styled";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { r as ne, m as Bt, R as Kt, a as Yt, b as Wt, P as re, g as Ht, c as _e, D as Ut } from "./documentation-generator-Di4c9D9P.js";
|
|
6
|
+
import { C as go, f as xo, h as yo, e as bo, d as vo, l as Eo } from "./documentation-generator-Di4c9D9P.js";
|
|
7
|
+
import { useKosTranslation as Gt } from "@kosdev-code/kos-ui-sdk";
|
|
7
8
|
import "zod";
|
|
8
|
-
function
|
|
9
|
+
function qt(e) {
|
|
9
10
|
if (e.sheet)
|
|
10
11
|
return e.sheet;
|
|
11
12
|
for (var t = 0; t < document.styleSheets.length; t++)
|
|
12
13
|
if (document.styleSheets[t].ownerNode === e)
|
|
13
14
|
return document.styleSheets[t];
|
|
14
15
|
}
|
|
15
|
-
function
|
|
16
|
+
function Zt(e) {
|
|
16
17
|
var t = document.createElement("style");
|
|
17
18
|
return t.setAttribute("data-emotion", e.key), e.nonce !== void 0 && t.setAttribute("nonce", e.nonce), t.appendChild(document.createTextNode("")), t.setAttribute("data-s", ""), t;
|
|
18
19
|
}
|
|
19
|
-
var
|
|
20
|
+
var Xt = /* @__PURE__ */ function() {
|
|
20
21
|
function e(n) {
|
|
21
22
|
var r = this;
|
|
22
23
|
this._insertTag = function(o) {
|
|
@@ -28,10 +29,10 @@ var Gt = /* @__PURE__ */ function() {
|
|
|
28
29
|
return t.hydrate = function(r) {
|
|
29
30
|
r.forEach(this._insertTag);
|
|
30
31
|
}, t.insert = function(r) {
|
|
31
|
-
this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(
|
|
32
|
+
this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(Zt(this));
|
|
32
33
|
var o = this.tags[this.tags.length - 1];
|
|
33
34
|
if (this.isSpeedy) {
|
|
34
|
-
var i =
|
|
35
|
+
var i = qt(o);
|
|
35
36
|
try {
|
|
36
37
|
i.insertRule(r, i.cssRules.length);
|
|
37
38
|
} catch {
|
|
@@ -45,14 +46,14 @@ var Gt = /* @__PURE__ */ function() {
|
|
|
45
46
|
return (o = r.parentNode) == null ? void 0 : o.removeChild(r);
|
|
46
47
|
}), this.tags = [], this.ctr = 0;
|
|
47
48
|
}, e;
|
|
48
|
-
}(), z = "-ms-", he = "-moz-",
|
|
49
|
-
function
|
|
49
|
+
}(), z = "-ms-", he = "-moz-", E = "-webkit-", Qe = "comm", Te = "rule", Me = "decl", Jt = "@import", et = "@keyframes", Qt = "@layer", en = Math.abs, me = String.fromCharCode, tn = Object.assign;
|
|
50
|
+
function nn(e, t) {
|
|
50
51
|
return A(e, 0) ^ 45 ? (((t << 2 ^ A(e, 0)) << 2 ^ A(e, 1)) << 2 ^ A(e, 2)) << 2 ^ A(e, 3) : 0;
|
|
51
52
|
}
|
|
52
|
-
function
|
|
53
|
+
function tt(e) {
|
|
53
54
|
return e.trim();
|
|
54
55
|
}
|
|
55
|
-
function
|
|
56
|
+
function rn(e, t) {
|
|
56
57
|
return (e = t.exec(e)) ? e[0] : e;
|
|
57
58
|
}
|
|
58
59
|
function w(e, t, n) {
|
|
@@ -64,10 +65,10 @@ function Ce(e, t) {
|
|
|
64
65
|
function A(e, t) {
|
|
65
66
|
return e.charCodeAt(t) | 0;
|
|
66
67
|
}
|
|
67
|
-
function
|
|
68
|
+
function oe(e, t, n) {
|
|
68
69
|
return e.slice(t, n);
|
|
69
70
|
}
|
|
70
|
-
function
|
|
71
|
+
function D(e) {
|
|
71
72
|
return e.length;
|
|
72
73
|
}
|
|
73
74
|
function Ae(e) {
|
|
@@ -76,35 +77,35 @@ function Ae(e) {
|
|
|
76
77
|
function le(e, t) {
|
|
77
78
|
return t.push(e), e;
|
|
78
79
|
}
|
|
79
|
-
function
|
|
80
|
+
function on(e, t) {
|
|
80
81
|
return e.map(t).join("");
|
|
81
82
|
}
|
|
82
|
-
var ge = 1,
|
|
83
|
-
function xe(e, t, n, r, o, i,
|
|
84
|
-
return { value: e, root: t, parent: n, type: r, props: o, children: i, line: ge, column:
|
|
83
|
+
var ge = 1, q = 1, nt = 0, F = 0, T = 0, Z = "";
|
|
84
|
+
function xe(e, t, n, r, o, i, s) {
|
|
85
|
+
return { value: e, root: t, parent: n, type: r, props: o, children: i, line: ge, column: q, length: s, return: "" };
|
|
85
86
|
}
|
|
86
|
-
function
|
|
87
|
-
return
|
|
87
|
+
function J(e, t) {
|
|
88
|
+
return tn(xe("", null, null, "", null, null, 0), e, { length: -e.length }, t);
|
|
88
89
|
}
|
|
89
|
-
function
|
|
90
|
-
return
|
|
90
|
+
function sn() {
|
|
91
|
+
return T;
|
|
91
92
|
}
|
|
92
|
-
function
|
|
93
|
-
return
|
|
93
|
+
function an() {
|
|
94
|
+
return T = F > 0 ? A(Z, --F) : 0, q--, T === 10 && (q = 1, ge--), T;
|
|
94
95
|
}
|
|
95
96
|
function L() {
|
|
96
|
-
return
|
|
97
|
+
return T = F < nt ? A(Z, F++) : 0, q++, T === 10 && (q = 1, ge++), T;
|
|
97
98
|
}
|
|
98
|
-
function
|
|
99
|
-
return A(
|
|
99
|
+
function V() {
|
|
100
|
+
return A(Z, F);
|
|
100
101
|
}
|
|
101
102
|
function fe() {
|
|
102
103
|
return F;
|
|
103
104
|
}
|
|
104
105
|
function ae(e, t) {
|
|
105
|
-
return
|
|
106
|
+
return oe(Z, e, t);
|
|
106
107
|
}
|
|
107
|
-
function
|
|
108
|
+
function ie(e) {
|
|
108
109
|
switch (e) {
|
|
109
110
|
case 0:
|
|
110
111
|
case 9:
|
|
@@ -136,36 +137,36 @@ function oe(e) {
|
|
|
136
137
|
}
|
|
137
138
|
return 0;
|
|
138
139
|
}
|
|
139
|
-
function nt(e) {
|
|
140
|
-
return ge = G = 1, tt = O(q = e), F = 0, [];
|
|
141
|
-
}
|
|
142
140
|
function rt(e) {
|
|
143
|
-
return q =
|
|
141
|
+
return ge = q = 1, nt = D(Z = e), F = 0, [];
|
|
142
|
+
}
|
|
143
|
+
function ot(e) {
|
|
144
|
+
return Z = "", e;
|
|
144
145
|
}
|
|
145
146
|
function ue(e) {
|
|
146
|
-
return
|
|
147
|
+
return tt(ae(F - 1, Se(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
147
148
|
}
|
|
148
|
-
function
|
|
149
|
-
for (; (
|
|
149
|
+
function cn(e) {
|
|
150
|
+
for (; (T = V()) && T < 33; )
|
|
150
151
|
L();
|
|
151
|
-
return
|
|
152
|
+
return ie(e) > 2 || ie(T) > 3 ? "" : " ";
|
|
152
153
|
}
|
|
153
|
-
function
|
|
154
|
-
for (; --t && L() && !(
|
|
154
|
+
function ln(e, t) {
|
|
155
|
+
for (; --t && L() && !(T < 48 || T > 102 || T > 57 && T < 65 || T > 70 && T < 97); )
|
|
155
156
|
;
|
|
156
|
-
return ae(e, fe() + (t < 6 &&
|
|
157
|
+
return ae(e, fe() + (t < 6 && V() == 32 && L() == 32));
|
|
157
158
|
}
|
|
158
|
-
function
|
|
159
|
+
function Se(e) {
|
|
159
160
|
for (; L(); )
|
|
160
|
-
switch (
|
|
161
|
+
switch (T) {
|
|
161
162
|
case e:
|
|
162
163
|
return F;
|
|
163
164
|
case 34:
|
|
164
165
|
case 39:
|
|
165
|
-
e !== 34 && e !== 39 &&
|
|
166
|
+
e !== 34 && e !== 39 && Se(T);
|
|
166
167
|
break;
|
|
167
168
|
case 40:
|
|
168
|
-
e === 41 &&
|
|
169
|
+
e === 41 && Se(e);
|
|
169
170
|
break;
|
|
170
171
|
case 92:
|
|
171
172
|
L();
|
|
@@ -173,173 +174,173 @@ function Pe(e) {
|
|
|
173
174
|
}
|
|
174
175
|
return F;
|
|
175
176
|
}
|
|
176
|
-
function
|
|
177
|
-
for (; L() && e +
|
|
178
|
-
if (e +
|
|
177
|
+
function dn(e, t) {
|
|
178
|
+
for (; L() && e + T !== 57; )
|
|
179
|
+
if (e + T === 84 && V() === 47)
|
|
179
180
|
break;
|
|
180
181
|
return "/*" + ae(t, F - 1) + "*" + me(e === 47 ? e : L());
|
|
181
182
|
}
|
|
182
|
-
function
|
|
183
|
-
for (; !
|
|
183
|
+
function fn(e) {
|
|
184
|
+
for (; !ie(V()); )
|
|
184
185
|
L();
|
|
185
186
|
return ae(e, F);
|
|
186
187
|
}
|
|
187
|
-
function
|
|
188
|
-
return
|
|
188
|
+
function un(e) {
|
|
189
|
+
return ot(pe("", null, null, null, [""], e = rt(e), 0, [0], e));
|
|
189
190
|
}
|
|
190
|
-
function pe(e, t, n, r, o, i,
|
|
191
|
-
for (var u = 0,
|
|
192
|
-
switch (y =
|
|
191
|
+
function pe(e, t, n, r, o, i, s, c, f) {
|
|
192
|
+
for (var u = 0, d = 0, a = s, x = 0, b = 0, y = 0, v = 1, M = 1, $ = 1, _ = 0, k = "", R = o, p = i, N = r, P = k; M; )
|
|
193
|
+
switch (y = _, _ = L()) {
|
|
193
194
|
case 40:
|
|
194
|
-
if (y != 108 && A(P,
|
|
195
|
-
Ce(P += w(ue(
|
|
195
|
+
if (y != 108 && A(P, a - 1) == 58) {
|
|
196
|
+
Ce(P += w(ue(_), "&", "&\f"), "&\f") != -1 && ($ = -1);
|
|
196
197
|
break;
|
|
197
198
|
}
|
|
198
199
|
case 34:
|
|
199
200
|
case 39:
|
|
200
201
|
case 91:
|
|
201
|
-
P += ue(
|
|
202
|
+
P += ue(_);
|
|
202
203
|
break;
|
|
203
204
|
case 9:
|
|
204
205
|
case 10:
|
|
205
206
|
case 13:
|
|
206
207
|
case 32:
|
|
207
|
-
P +=
|
|
208
|
+
P += cn(y);
|
|
208
209
|
break;
|
|
209
210
|
case 92:
|
|
210
|
-
P +=
|
|
211
|
+
P += ln(fe() - 1, 7);
|
|
211
212
|
continue;
|
|
212
213
|
case 47:
|
|
213
|
-
switch (
|
|
214
|
+
switch (V()) {
|
|
214
215
|
case 42:
|
|
215
216
|
case 47:
|
|
216
|
-
le(dn(
|
|
217
|
+
le(pn(dn(L(), fe()), t, n), f);
|
|
217
218
|
break;
|
|
218
219
|
default:
|
|
219
220
|
P += "/";
|
|
220
221
|
}
|
|
221
222
|
break;
|
|
222
|
-
case 123 *
|
|
223
|
-
|
|
224
|
-
case 125 *
|
|
223
|
+
case 123 * v:
|
|
224
|
+
c[u++] = D(P) * $;
|
|
225
|
+
case 125 * v:
|
|
225
226
|
case 59:
|
|
226
227
|
case 0:
|
|
227
|
-
switch (
|
|
228
|
+
switch (_) {
|
|
228
229
|
case 0:
|
|
229
230
|
case 125:
|
|
230
231
|
M = 0;
|
|
231
|
-
case 59 +
|
|
232
|
-
$ == -1 && (P = w(P, /\f/g, "")), b > 0 &&
|
|
232
|
+
case 59 + d:
|
|
233
|
+
$ == -1 && (P = w(P, /\f/g, "")), b > 0 && D(P) - a && le(b > 32 ? Ve(P + ";", r, n, a - 1) : Ve(w(P, " ", "") + ";", r, n, a - 2), f);
|
|
233
234
|
break;
|
|
234
235
|
case 59:
|
|
235
236
|
P += ";";
|
|
236
237
|
default:
|
|
237
|
-
if (le(N = Ie(P, t, n, u,
|
|
238
|
-
if (
|
|
239
|
-
pe(P, t, N, N,
|
|
238
|
+
if (le(N = Ie(P, t, n, u, d, o, c, k, R = [], p = [], a), i), _ === 123)
|
|
239
|
+
if (d === 0)
|
|
240
|
+
pe(P, t, N, N, R, i, a, c, p);
|
|
240
241
|
else
|
|
241
242
|
switch (x === 99 && A(P, 3) === 110 ? 100 : x) {
|
|
242
243
|
case 100:
|
|
243
244
|
case 108:
|
|
244
245
|
case 109:
|
|
245
246
|
case 115:
|
|
246
|
-
pe(e, N, N, r && le(Ie(e, N, N, 0, 0, o,
|
|
247
|
+
pe(e, N, N, r && le(Ie(e, N, N, 0, 0, o, c, k, o, R = [], a), p), o, p, a, c, r ? R : p);
|
|
247
248
|
break;
|
|
248
249
|
default:
|
|
249
|
-
pe(P, N, N, N, [""], p, 0,
|
|
250
|
+
pe(P, N, N, N, [""], p, 0, c, p);
|
|
250
251
|
}
|
|
251
252
|
}
|
|
252
|
-
u =
|
|
253
|
+
u = d = b = 0, v = $ = 1, k = P = "", a = s;
|
|
253
254
|
break;
|
|
254
255
|
case 58:
|
|
255
|
-
|
|
256
|
+
a = 1 + D(P), b = y;
|
|
256
257
|
default:
|
|
257
|
-
if (
|
|
258
|
-
if (
|
|
259
|
-
--
|
|
260
|
-
else if (
|
|
258
|
+
if (v < 1) {
|
|
259
|
+
if (_ == 123)
|
|
260
|
+
--v;
|
|
261
|
+
else if (_ == 125 && v++ == 0 && an() == 125)
|
|
261
262
|
continue;
|
|
262
263
|
}
|
|
263
|
-
switch (P += me(
|
|
264
|
+
switch (P += me(_), _ * v) {
|
|
264
265
|
case 38:
|
|
265
|
-
$ =
|
|
266
|
+
$ = d > 0 ? 1 : (P += "\f", -1);
|
|
266
267
|
break;
|
|
267
268
|
case 44:
|
|
268
|
-
|
|
269
|
+
c[u++] = (D(P) - 1) * $, $ = 1;
|
|
269
270
|
break;
|
|
270
271
|
case 64:
|
|
271
|
-
|
|
272
|
+
V() === 45 && (P += ue(L())), x = V(), d = a = D(k = P += fn(fe())), _++;
|
|
272
273
|
break;
|
|
273
274
|
case 45:
|
|
274
|
-
y === 45 &&
|
|
275
|
+
y === 45 && D(P) == 2 && (v = 0);
|
|
275
276
|
}
|
|
276
277
|
}
|
|
277
278
|
return i;
|
|
278
279
|
}
|
|
279
|
-
function Ie(e, t, n, r, o, i,
|
|
280
|
-
for (var
|
|
281
|
-
for (var $ = 0,
|
|
282
|
-
(k =
|
|
283
|
-
return xe(e, t, n, o === 0 ?
|
|
280
|
+
function Ie(e, t, n, r, o, i, s, c, f, u, d) {
|
|
281
|
+
for (var a = o - 1, x = o === 0 ? i : [""], b = Ae(x), y = 0, v = 0, M = 0; y < r; ++y)
|
|
282
|
+
for (var $ = 0, _ = oe(e, a + 1, a = en(v = s[y])), k = e; $ < b; ++$)
|
|
283
|
+
(k = tt(v > 0 ? x[$] + " " + _ : w(_, /&\f/g, x[$]))) && (f[M++] = k);
|
|
284
|
+
return xe(e, t, n, o === 0 ? Te : c, f, u, d);
|
|
284
285
|
}
|
|
285
|
-
function
|
|
286
|
-
return xe(e, t, n,
|
|
286
|
+
function pn(e, t, n) {
|
|
287
|
+
return xe(e, t, n, Qe, me(sn()), oe(e, 2, -2), 0);
|
|
287
288
|
}
|
|
288
|
-
function
|
|
289
|
-
return xe(e, t, n, Me,
|
|
289
|
+
function Ve(e, t, n, r) {
|
|
290
|
+
return xe(e, t, n, Me, oe(e, 0, r), oe(e, r + 1, -1), r);
|
|
290
291
|
}
|
|
291
|
-
function
|
|
292
|
+
function G(e, t) {
|
|
292
293
|
for (var n = "", r = Ae(e), o = 0; o < r; o++)
|
|
293
294
|
n += t(e[o], o, e, t) || "";
|
|
294
295
|
return n;
|
|
295
296
|
}
|
|
296
|
-
function
|
|
297
|
+
function hn(e, t, n, r) {
|
|
297
298
|
switch (e.type) {
|
|
298
|
-
case
|
|
299
|
+
case Qt:
|
|
299
300
|
if (e.children.length)
|
|
300
301
|
break;
|
|
301
|
-
case
|
|
302
|
+
case Jt:
|
|
302
303
|
case Me:
|
|
303
304
|
return e.return = e.return || e.value;
|
|
304
|
-
case Je:
|
|
305
|
-
return "";
|
|
306
305
|
case Qe:
|
|
307
|
-
return
|
|
308
|
-
case
|
|
306
|
+
return "";
|
|
307
|
+
case et:
|
|
308
|
+
return e.return = e.value + "{" + G(e.children, r) + "}";
|
|
309
|
+
case Te:
|
|
309
310
|
e.value = e.props.join(",");
|
|
310
311
|
}
|
|
311
|
-
return
|
|
312
|
+
return D(n = G(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
|
|
312
313
|
}
|
|
313
|
-
function
|
|
314
|
+
function mn(e) {
|
|
314
315
|
var t = Ae(e);
|
|
315
316
|
return function(n, r, o, i) {
|
|
316
|
-
for (var
|
|
317
|
-
|
|
318
|
-
return
|
|
317
|
+
for (var s = "", c = 0; c < t; c++)
|
|
318
|
+
s += e[c](n, r, o, i) || "";
|
|
319
|
+
return s;
|
|
319
320
|
};
|
|
320
321
|
}
|
|
321
|
-
function
|
|
322
|
+
function gn(e) {
|
|
322
323
|
return function(t) {
|
|
323
324
|
t.root || (t = t.return) && e(t);
|
|
324
325
|
};
|
|
325
326
|
}
|
|
326
|
-
var
|
|
327
|
-
for (var o = 0, i = 0; o = i, i =
|
|
327
|
+
var xn = function(t, n, r) {
|
|
328
|
+
for (var o = 0, i = 0; o = i, i = V(), o === 38 && i === 12 && (n[r] = 1), !ie(i); )
|
|
328
329
|
L();
|
|
329
330
|
return ae(t, F);
|
|
330
|
-
},
|
|
331
|
+
}, yn = function(t, n) {
|
|
331
332
|
var r = -1, o = 44;
|
|
332
333
|
do
|
|
333
|
-
switch (
|
|
334
|
+
switch (ie(o)) {
|
|
334
335
|
case 0:
|
|
335
|
-
o === 38 &&
|
|
336
|
+
o === 38 && V() === 12 && (n[r] = 1), t[r] += xn(F - 1, n, r);
|
|
336
337
|
break;
|
|
337
338
|
case 2:
|
|
338
339
|
t[r] += ue(o);
|
|
339
340
|
break;
|
|
340
341
|
case 4:
|
|
341
342
|
if (o === 44) {
|
|
342
|
-
t[++r] =
|
|
343
|
+
t[++r] = V() === 58 ? "&\f" : "", n[r] = t[r].length;
|
|
343
344
|
break;
|
|
344
345
|
}
|
|
345
346
|
default:
|
|
@@ -347,23 +348,23 @@ var hn = function(t, n, r) {
|
|
|
347
348
|
}
|
|
348
349
|
while (o = L());
|
|
349
350
|
return t;
|
|
350
|
-
},
|
|
351
|
-
return
|
|
352
|
-
},
|
|
351
|
+
}, bn = function(t, n) {
|
|
352
|
+
return ot(yn(rt(t), n));
|
|
353
|
+
}, je = /* @__PURE__ */ new WeakMap(), vn = function(t) {
|
|
353
354
|
if (!(t.type !== "rule" || !t.parent || // positive .length indicates that this rule contains pseudo
|
|
354
355
|
// negative .length indicates that this rule has been already prefixed
|
|
355
356
|
t.length < 1)) {
|
|
356
357
|
for (var n = t.value, r = t.parent, o = t.column === r.column && t.line === r.line; r.type !== "rule"; )
|
|
357
358
|
if (r = r.parent, !r)
|
|
358
359
|
return;
|
|
359
|
-
if (!(t.props.length === 1 && n.charCodeAt(0) !== 58 && !
|
|
360
|
-
|
|
361
|
-
for (var i = [],
|
|
362
|
-
for (var
|
|
363
|
-
t.props[u] = i[f] ?
|
|
360
|
+
if (!(t.props.length === 1 && n.charCodeAt(0) !== 58 && !je.get(r)) && !o) {
|
|
361
|
+
je.set(t, !0);
|
|
362
|
+
for (var i = [], s = bn(n, i), c = r.props, f = 0, u = 0; f < s.length; f++)
|
|
363
|
+
for (var d = 0; d < c.length; d++, u++)
|
|
364
|
+
t.props[u] = i[f] ? s[f].replace(/&\f/g, c[d]) : c[d] + " " + s[f];
|
|
364
365
|
}
|
|
365
366
|
}
|
|
366
|
-
},
|
|
367
|
+
}, En = function(t) {
|
|
367
368
|
if (t.type === "decl") {
|
|
368
369
|
var n = t.value;
|
|
369
370
|
// charcode for l
|
|
@@ -371,10 +372,10 @@ var hn = function(t, n, r) {
|
|
|
371
372
|
n.charCodeAt(2) === 98 && (t.return = "", t.value = "");
|
|
372
373
|
}
|
|
373
374
|
};
|
|
374
|
-
function
|
|
375
|
-
switch (
|
|
375
|
+
function it(e, t) {
|
|
376
|
+
switch (nn(e, t)) {
|
|
376
377
|
case 5103:
|
|
377
|
-
return
|
|
378
|
+
return E + "print-" + e + e;
|
|
378
379
|
case 5737:
|
|
379
380
|
case 4201:
|
|
380
381
|
case 3177:
|
|
@@ -400,44 +401,44 @@ function ot(e, t) {
|
|
|
400
401
|
case 5365:
|
|
401
402
|
case 5621:
|
|
402
403
|
case 3829:
|
|
403
|
-
return
|
|
404
|
+
return E + e + e;
|
|
404
405
|
case 5349:
|
|
405
406
|
case 4246:
|
|
406
407
|
case 4810:
|
|
407
408
|
case 6968:
|
|
408
409
|
case 2756:
|
|
409
|
-
return
|
|
410
|
+
return E + e + he + e + z + e + e;
|
|
410
411
|
case 6828:
|
|
411
412
|
case 4268:
|
|
412
|
-
return
|
|
413
|
+
return E + e + z + e + e;
|
|
413
414
|
case 6165:
|
|
414
|
-
return
|
|
415
|
+
return E + e + z + "flex-" + e + e;
|
|
415
416
|
case 5187:
|
|
416
|
-
return
|
|
417
|
+
return E + e + w(e, /(\w+).+(:[^]+)/, E + "box-$1$2" + z + "flex-$1$2") + e;
|
|
417
418
|
case 5443:
|
|
418
|
-
return
|
|
419
|
+
return E + e + z + "flex-item-" + w(e, /flex-|-self/, "") + e;
|
|
419
420
|
case 4675:
|
|
420
|
-
return
|
|
421
|
+
return E + e + z + "flex-line-pack" + w(e, /align-content|flex-|-self/, "") + e;
|
|
421
422
|
case 5548:
|
|
422
|
-
return
|
|
423
|
+
return E + e + z + w(e, "shrink", "negative") + e;
|
|
423
424
|
case 5292:
|
|
424
|
-
return
|
|
425
|
+
return E + e + z + w(e, "basis", "preferred-size") + e;
|
|
425
426
|
case 6060:
|
|
426
|
-
return
|
|
427
|
+
return E + "box-" + w(e, "-grow", "") + E + e + z + w(e, "grow", "positive") + e;
|
|
427
428
|
case 4554:
|
|
428
|
-
return
|
|
429
|
+
return E + w(e, /([^-])(transform)/g, "$1" + E + "$2") + e;
|
|
429
430
|
case 6187:
|
|
430
|
-
return w(w(w(e, /(zoom-|grab)/,
|
|
431
|
+
return w(w(w(e, /(zoom-|grab)/, E + "$1"), /(image-set)/, E + "$1"), e, "") + e;
|
|
431
432
|
case 5495:
|
|
432
433
|
case 3959:
|
|
433
|
-
return w(e, /(image-set\([^]*)/,
|
|
434
|
+
return w(e, /(image-set\([^]*)/, E + "$1$`$1");
|
|
434
435
|
case 4968:
|
|
435
|
-
return w(w(e, /(.+:)(flex-)?(.*)/,
|
|
436
|
+
return w(w(e, /(.+:)(flex-)?(.*)/, E + "box-pack:$3" + z + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + E + e + e;
|
|
436
437
|
case 4095:
|
|
437
438
|
case 3583:
|
|
438
439
|
case 4068:
|
|
439
440
|
case 2532:
|
|
440
|
-
return w(e, /(.+)-inline(.+)/,
|
|
441
|
+
return w(e, /(.+)-inline(.+)/, E + "$1$2") + e;
|
|
441
442
|
case 8116:
|
|
442
443
|
case 7059:
|
|
443
444
|
case 5753:
|
|
@@ -450,108 +451,108 @@ function ot(e, t) {
|
|
|
450
451
|
case 5789:
|
|
451
452
|
case 5021:
|
|
452
453
|
case 4765:
|
|
453
|
-
if (
|
|
454
|
+
if (D(e) - 1 - t > 6)
|
|
454
455
|
switch (A(e, t + 1)) {
|
|
455
456
|
case 109:
|
|
456
457
|
if (A(e, t + 4) !== 45)
|
|
457
458
|
break;
|
|
458
459
|
case 102:
|
|
459
|
-
return w(e, /(.+:)(.+)-([^]+)/, "$1" +
|
|
460
|
+
return w(e, /(.+:)(.+)-([^]+)/, "$1" + E + "$2-$3$1" + he + (A(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
460
461
|
case 115:
|
|
461
|
-
return ~Ce(e, "stretch") ?
|
|
462
|
+
return ~Ce(e, "stretch") ? it(w(e, "stretch", "fill-available"), t) + e : e;
|
|
462
463
|
}
|
|
463
464
|
break;
|
|
464
465
|
case 4949:
|
|
465
466
|
if (A(e, t + 1) !== 115)
|
|
466
467
|
break;
|
|
467
468
|
case 6444:
|
|
468
|
-
switch (A(e,
|
|
469
|
+
switch (A(e, D(e) - 3 - (~Ce(e, "!important") && 10))) {
|
|
469
470
|
case 107:
|
|
470
|
-
return w(e, ":", ":" +
|
|
471
|
+
return w(e, ":", ":" + E) + e;
|
|
471
472
|
case 101:
|
|
472
|
-
return w(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" +
|
|
473
|
+
return w(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + E + (A(e, 14) === 45 ? "inline-" : "") + "box$3$1" + E + "$2$3$1" + z + "$2box$3") + e;
|
|
473
474
|
}
|
|
474
475
|
break;
|
|
475
476
|
case 5936:
|
|
476
477
|
switch (A(e, t + 11)) {
|
|
477
478
|
case 114:
|
|
478
|
-
return
|
|
479
|
+
return E + e + z + w(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
|
|
479
480
|
case 108:
|
|
480
|
-
return
|
|
481
|
+
return E + e + z + w(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
|
|
481
482
|
case 45:
|
|
482
|
-
return
|
|
483
|
+
return E + e + z + w(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
|
|
483
484
|
}
|
|
484
|
-
return
|
|
485
|
+
return E + e + z + e + e;
|
|
485
486
|
}
|
|
486
487
|
return e;
|
|
487
488
|
}
|
|
488
|
-
var
|
|
489
|
+
var wn = function(t, n, r, o) {
|
|
489
490
|
if (t.length > -1 && !t.return)
|
|
490
491
|
switch (t.type) {
|
|
491
492
|
case Me:
|
|
492
|
-
t.return =
|
|
493
|
+
t.return = it(t.value, t.length);
|
|
493
494
|
break;
|
|
494
|
-
case
|
|
495
|
-
return
|
|
496
|
-
value: w(t.value, "@", "@" +
|
|
495
|
+
case et:
|
|
496
|
+
return G([J(t, {
|
|
497
|
+
value: w(t.value, "@", "@" + E)
|
|
497
498
|
})], o);
|
|
498
|
-
case
|
|
499
|
+
case Te:
|
|
499
500
|
if (t.length)
|
|
500
|
-
return
|
|
501
|
-
switch (
|
|
501
|
+
return on(t.props, function(i) {
|
|
502
|
+
switch (rn(i, /(::plac\w+|:read-\w+)/)) {
|
|
502
503
|
case ":read-only":
|
|
503
504
|
case ":read-write":
|
|
504
|
-
return
|
|
505
|
+
return G([J(t, {
|
|
505
506
|
props: [w(i, /:(read-\w+)/, ":" + he + "$1")]
|
|
506
507
|
})], o);
|
|
507
508
|
case "::placeholder":
|
|
508
|
-
return
|
|
509
|
-
props: [w(i, /:(plac\w+)/, ":" +
|
|
510
|
-
}),
|
|
509
|
+
return G([J(t, {
|
|
510
|
+
props: [w(i, /:(plac\w+)/, ":" + E + "input-$1")]
|
|
511
|
+
}), J(t, {
|
|
511
512
|
props: [w(i, /:(plac\w+)/, ":" + he + "$1")]
|
|
512
|
-
}),
|
|
513
|
+
}), J(t, {
|
|
513
514
|
props: [w(i, /:(plac\w+)/, z + "input-$1")]
|
|
514
515
|
})], o);
|
|
515
516
|
}
|
|
516
517
|
return "";
|
|
517
518
|
});
|
|
518
519
|
}
|
|
519
|
-
},
|
|
520
|
+
}, Cn = [wn], Sn = function(t) {
|
|
520
521
|
var n = t.key;
|
|
521
522
|
if (n === "css") {
|
|
522
523
|
var r = document.querySelectorAll("style[data-emotion]:not([data-s])");
|
|
523
|
-
Array.prototype.forEach.call(r, function(
|
|
524
|
-
var M =
|
|
525
|
-
M.indexOf(" ") !== -1 && (document.head.appendChild(
|
|
524
|
+
Array.prototype.forEach.call(r, function(v) {
|
|
525
|
+
var M = v.getAttribute("data-emotion");
|
|
526
|
+
M.indexOf(" ") !== -1 && (document.head.appendChild(v), v.setAttribute("data-s", ""));
|
|
526
527
|
});
|
|
527
528
|
}
|
|
528
|
-
var o = t.stylisPlugins ||
|
|
529
|
-
|
|
529
|
+
var o = t.stylisPlugins || Cn, i = {}, s, c = [];
|
|
530
|
+
s = t.container || document.head, Array.prototype.forEach.call(
|
|
530
531
|
// this means we will ignore elements which don't have a space in them which
|
|
531
532
|
// means that the style elements we're looking at are only Emotion 11 server-rendered style elements
|
|
532
533
|
document.querySelectorAll('style[data-emotion^="' + n + ' "]'),
|
|
533
|
-
function(
|
|
534
|
-
for (var M =
|
|
534
|
+
function(v) {
|
|
535
|
+
for (var M = v.getAttribute("data-emotion").split(" "), $ = 1; $ < M.length; $++)
|
|
535
536
|
i[M[$]] = !0;
|
|
536
|
-
|
|
537
|
+
c.push(v);
|
|
537
538
|
}
|
|
538
539
|
);
|
|
539
|
-
var f, u = [
|
|
540
|
+
var f, u = [vn, En];
|
|
540
541
|
{
|
|
541
|
-
var
|
|
542
|
-
|
|
543
|
-
})], x =
|
|
544
|
-
return
|
|
542
|
+
var d, a = [hn, gn(function(v) {
|
|
543
|
+
d.insert(v);
|
|
544
|
+
})], x = mn(u.concat(o, a)), b = function(M) {
|
|
545
|
+
return G(un(M), x);
|
|
545
546
|
};
|
|
546
|
-
f = function(M, $,
|
|
547
|
-
|
|
547
|
+
f = function(M, $, _, k) {
|
|
548
|
+
d = _, b(M ? M + "{" + $.styles + "}" : $.styles), k && (y.inserted[$.name] = !0);
|
|
548
549
|
};
|
|
549
550
|
}
|
|
550
551
|
var y = {
|
|
551
552
|
key: n,
|
|
552
|
-
sheet: new
|
|
553
|
+
sheet: new Xt({
|
|
553
554
|
key: n,
|
|
554
|
-
container:
|
|
555
|
+
container: s,
|
|
555
556
|
nonce: t.nonce,
|
|
556
557
|
speedy: t.speedy,
|
|
557
558
|
prepend: t.prepend,
|
|
@@ -562,8 +563,8 @@ var bn = function(t, n, r, o) {
|
|
|
562
563
|
registered: {},
|
|
563
564
|
insert: f
|
|
564
565
|
};
|
|
565
|
-
return y.sheet.hydrate(
|
|
566
|
-
},
|
|
566
|
+
return y.sheet.hydrate(c), y;
|
|
567
|
+
}, Pe = { exports: {} }, C = {};
|
|
567
568
|
/** @license React v16.13.1
|
|
568
569
|
* react-is.production.min.js
|
|
569
570
|
*
|
|
@@ -572,12 +573,12 @@ var bn = function(t, n, r, o) {
|
|
|
572
573
|
* This source code is licensed under the MIT license found in the
|
|
573
574
|
* LICENSE file in the root directory of this source tree.
|
|
574
575
|
*/
|
|
575
|
-
var
|
|
576
|
-
function
|
|
577
|
-
if (
|
|
578
|
-
return
|
|
579
|
-
|
|
580
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114,
|
|
576
|
+
var Be;
|
|
577
|
+
function Pn() {
|
|
578
|
+
if (Be)
|
|
579
|
+
return C;
|
|
580
|
+
Be = 1;
|
|
581
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, a = e ? Symbol.for("react.suspense") : 60113, x = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, v = e ? Symbol.for("react.block") : 60121, M = e ? Symbol.for("react.fundamental") : 60117, $ = e ? Symbol.for("react.responder") : 60118, _ = e ? Symbol.for("react.scope") : 60119;
|
|
581
582
|
function k(p) {
|
|
582
583
|
if (typeof p == "object" && p !== null) {
|
|
583
584
|
var N = p.$$typeof;
|
|
@@ -589,15 +590,15 @@ function En() {
|
|
|
589
590
|
case r:
|
|
590
591
|
case i:
|
|
591
592
|
case o:
|
|
592
|
-
case
|
|
593
|
+
case a:
|
|
593
594
|
return p;
|
|
594
595
|
default:
|
|
595
596
|
switch (p = p && p.$$typeof, p) {
|
|
597
|
+
case c:
|
|
596
598
|
case d:
|
|
597
|
-
case l:
|
|
598
599
|
case y:
|
|
599
600
|
case b:
|
|
600
|
-
case
|
|
601
|
+
case s:
|
|
601
602
|
return p;
|
|
602
603
|
default:
|
|
603
604
|
return N;
|
|
@@ -608,38 +609,38 @@ function En() {
|
|
|
608
609
|
}
|
|
609
610
|
}
|
|
610
611
|
}
|
|
611
|
-
function
|
|
612
|
+
function R(p) {
|
|
612
613
|
return k(p) === u;
|
|
613
614
|
}
|
|
614
|
-
return
|
|
615
|
-
return
|
|
616
|
-
},
|
|
617
|
-
return k(p) ===
|
|
618
|
-
},
|
|
619
|
-
return k(p) ===
|
|
620
|
-
},
|
|
615
|
+
return C.AsyncMode = f, C.ConcurrentMode = u, C.ContextConsumer = c, C.ContextProvider = s, C.Element = t, C.ForwardRef = d, C.Fragment = r, C.Lazy = y, C.Memo = b, C.Portal = n, C.Profiler = i, C.StrictMode = o, C.Suspense = a, C.isAsyncMode = function(p) {
|
|
616
|
+
return R(p) || k(p) === f;
|
|
617
|
+
}, C.isConcurrentMode = R, C.isContextConsumer = function(p) {
|
|
618
|
+
return k(p) === c;
|
|
619
|
+
}, C.isContextProvider = function(p) {
|
|
620
|
+
return k(p) === s;
|
|
621
|
+
}, C.isElement = function(p) {
|
|
621
622
|
return typeof p == "object" && p !== null && p.$$typeof === t;
|
|
622
|
-
},
|
|
623
|
-
return k(p) ===
|
|
624
|
-
},
|
|
623
|
+
}, C.isForwardRef = function(p) {
|
|
624
|
+
return k(p) === d;
|
|
625
|
+
}, C.isFragment = function(p) {
|
|
625
626
|
return k(p) === r;
|
|
626
|
-
},
|
|
627
|
+
}, C.isLazy = function(p) {
|
|
627
628
|
return k(p) === y;
|
|
628
|
-
},
|
|
629
|
+
}, C.isMemo = function(p) {
|
|
629
630
|
return k(p) === b;
|
|
630
|
-
},
|
|
631
|
+
}, C.isPortal = function(p) {
|
|
631
632
|
return k(p) === n;
|
|
632
|
-
},
|
|
633
|
+
}, C.isProfiler = function(p) {
|
|
633
634
|
return k(p) === i;
|
|
634
|
-
},
|
|
635
|
+
}, C.isStrictMode = function(p) {
|
|
635
636
|
return k(p) === o;
|
|
636
|
-
},
|
|
637
|
-
return k(p) ===
|
|
638
|
-
},
|
|
639
|
-
return typeof p == "string" || typeof p == "function" || p === r || p === u || p === i || p === o || p ===
|
|
640
|
-
},
|
|
637
|
+
}, C.isSuspense = function(p) {
|
|
638
|
+
return k(p) === a;
|
|
639
|
+
}, C.isValidElementType = function(p) {
|
|
640
|
+
return typeof p == "string" || typeof p == "function" || p === r || p === u || p === i || p === o || p === a || p === x || typeof p == "object" && p !== null && (p.$$typeof === y || p.$$typeof === b || p.$$typeof === s || p.$$typeof === c || p.$$typeof === d || p.$$typeof === M || p.$$typeof === $ || p.$$typeof === _ || p.$$typeof === v);
|
|
641
|
+
}, C.typeOf = k, C;
|
|
641
642
|
}
|
|
642
|
-
var
|
|
643
|
+
var S = {};
|
|
643
644
|
/** @license React v16.13.1
|
|
644
645
|
* react-is.development.js
|
|
645
646
|
*
|
|
@@ -648,15 +649,15 @@ var C = {};
|
|
|
648
649
|
* This source code is licensed under the MIT license found in the
|
|
649
650
|
* LICENSE file in the root directory of this source tree.
|
|
650
651
|
*/
|
|
651
|
-
var
|
|
652
|
-
function
|
|
653
|
-
return
|
|
654
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114,
|
|
652
|
+
var Ke;
|
|
653
|
+
function kn() {
|
|
654
|
+
return Ke || (Ke = 1, process.env.NODE_ENV !== "production" && function() {
|
|
655
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, a = e ? Symbol.for("react.suspense") : 60113, x = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, v = e ? Symbol.for("react.block") : 60121, M = e ? Symbol.for("react.fundamental") : 60117, $ = e ? Symbol.for("react.responder") : 60118, _ = e ? Symbol.for("react.scope") : 60119;
|
|
655
656
|
function k(m) {
|
|
656
657
|
return typeof m == "string" || typeof m == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
657
|
-
m === r || m === u || m === i || m === o || m ===
|
|
658
|
+
m === r || m === u || m === i || m === o || m === a || m === x || typeof m == "object" && m !== null && (m.$$typeof === y || m.$$typeof === b || m.$$typeof === s || m.$$typeof === c || m.$$typeof === d || m.$$typeof === M || m.$$typeof === $ || m.$$typeof === _ || m.$$typeof === v);
|
|
658
659
|
}
|
|
659
|
-
function
|
|
660
|
+
function R(m) {
|
|
660
661
|
if (typeof m == "object" && m !== null) {
|
|
661
662
|
var be = m.$$typeof;
|
|
662
663
|
switch (be) {
|
|
@@ -668,17 +669,17 @@ function Sn() {
|
|
|
668
669
|
case r:
|
|
669
670
|
case i:
|
|
670
671
|
case o:
|
|
671
|
-
case
|
|
672
|
+
case a:
|
|
672
673
|
return ce;
|
|
673
674
|
default:
|
|
674
|
-
var
|
|
675
|
-
switch (
|
|
675
|
+
var De = ce && ce.$$typeof;
|
|
676
|
+
switch (De) {
|
|
677
|
+
case c:
|
|
676
678
|
case d:
|
|
677
|
-
case l:
|
|
678
679
|
case y:
|
|
679
680
|
case b:
|
|
680
|
-
case
|
|
681
|
-
return
|
|
681
|
+
case s:
|
|
682
|
+
return De;
|
|
682
683
|
default:
|
|
683
684
|
return be;
|
|
684
685
|
}
|
|
@@ -688,57 +689,57 @@ function Sn() {
|
|
|
688
689
|
}
|
|
689
690
|
}
|
|
690
691
|
}
|
|
691
|
-
var p = f, N = u, P =
|
|
692
|
-
function
|
|
693
|
-
return
|
|
694
|
-
}
|
|
695
|
-
function Le(m) {
|
|
696
|
-
return _(m) === u;
|
|
697
|
-
}
|
|
698
|
-
function kt(m) {
|
|
699
|
-
return _(m) === d;
|
|
692
|
+
var p = f, N = u, P = c, yt = s, bt = t, vt = d, Et = r, wt = y, Ct = b, St = n, Pt = i, kt = o, $t = a, Le = !1;
|
|
693
|
+
function Rt(m) {
|
|
694
|
+
return Le || (Le = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), Oe(m) || R(m) === f;
|
|
700
695
|
}
|
|
701
|
-
function
|
|
702
|
-
return
|
|
696
|
+
function Oe(m) {
|
|
697
|
+
return R(m) === u;
|
|
703
698
|
}
|
|
704
699
|
function _t(m) {
|
|
705
|
-
return
|
|
700
|
+
return R(m) === c;
|
|
706
701
|
}
|
|
707
702
|
function Tt(m) {
|
|
708
|
-
return
|
|
709
|
-
}
|
|
710
|
-
function Rt(m) {
|
|
711
|
-
return _(m) === r;
|
|
703
|
+
return R(m) === s;
|
|
712
704
|
}
|
|
713
705
|
function Mt(m) {
|
|
714
|
-
return
|
|
706
|
+
return typeof m == "object" && m !== null && m.$$typeof === t;
|
|
715
707
|
}
|
|
716
708
|
function At(m) {
|
|
717
|
-
return
|
|
709
|
+
return R(m) === d;
|
|
718
710
|
}
|
|
719
711
|
function Nt(m) {
|
|
720
|
-
return
|
|
712
|
+
return R(m) === r;
|
|
721
713
|
}
|
|
722
714
|
function zt(m) {
|
|
723
|
-
return
|
|
715
|
+
return R(m) === y;
|
|
724
716
|
}
|
|
725
717
|
function Ft(m) {
|
|
726
|
-
return
|
|
718
|
+
return R(m) === b;
|
|
727
719
|
}
|
|
728
720
|
function Lt(m) {
|
|
729
|
-
return
|
|
721
|
+
return R(m) === n;
|
|
722
|
+
}
|
|
723
|
+
function Ot(m) {
|
|
724
|
+
return R(m) === i;
|
|
730
725
|
}
|
|
731
|
-
|
|
732
|
-
|
|
726
|
+
function Dt(m) {
|
|
727
|
+
return R(m) === o;
|
|
728
|
+
}
|
|
729
|
+
function It(m) {
|
|
730
|
+
return R(m) === a;
|
|
731
|
+
}
|
|
732
|
+
S.AsyncMode = p, S.ConcurrentMode = N, S.ContextConsumer = P, S.ContextProvider = yt, S.Element = bt, S.ForwardRef = vt, S.Fragment = Et, S.Lazy = wt, S.Memo = Ct, S.Portal = St, S.Profiler = Pt, S.StrictMode = kt, S.Suspense = $t, S.isAsyncMode = Rt, S.isConcurrentMode = Oe, S.isContextConsumer = _t, S.isContextProvider = Tt, S.isElement = Mt, S.isForwardRef = At, S.isFragment = Nt, S.isLazy = zt, S.isMemo = Ft, S.isPortal = Lt, S.isProfiler = Ot, S.isStrictMode = Dt, S.isSuspense = It, S.isValidElementType = k, S.typeOf = R;
|
|
733
|
+
}()), S;
|
|
733
734
|
}
|
|
734
|
-
process.env.NODE_ENV === "production" ?
|
|
735
|
-
var
|
|
735
|
+
process.env.NODE_ENV === "production" ? Pe.exports = Pn() : Pe.exports = kn();
|
|
736
|
+
var $n = Pe.exports, st = $n, Rn = {
|
|
736
737
|
$$typeof: !0,
|
|
737
738
|
render: !0,
|
|
738
739
|
defaultProps: !0,
|
|
739
740
|
displayName: !0,
|
|
740
741
|
propTypes: !0
|
|
741
|
-
},
|
|
742
|
+
}, _n = {
|
|
742
743
|
$$typeof: !0,
|
|
743
744
|
compare: !0,
|
|
744
745
|
defaultProps: !0,
|
|
@@ -746,16 +747,16 @@ var Cn = ke.exports, it = Cn, Pn = {
|
|
|
746
747
|
propTypes: !0,
|
|
747
748
|
type: !0
|
|
748
749
|
}, at = {};
|
|
749
|
-
at[
|
|
750
|
-
at[
|
|
751
|
-
var
|
|
752
|
-
function
|
|
750
|
+
at[st.ForwardRef] = Rn;
|
|
751
|
+
at[st.Memo] = _n;
|
|
752
|
+
var Tn = !0;
|
|
753
|
+
function Mn(e, t, n) {
|
|
753
754
|
var r = "";
|
|
754
755
|
return n.split(" ").forEach(function(o) {
|
|
755
756
|
e[o] !== void 0 ? t.push(e[o] + ";") : o && (r += o + " ");
|
|
756
757
|
}), r;
|
|
757
758
|
}
|
|
758
|
-
var
|
|
759
|
+
var ct = function(t, n, r) {
|
|
759
760
|
var o = t.key + "-" + n.name;
|
|
760
761
|
// we only need to add the styles to the registered cache if the
|
|
761
762
|
// class name could be used further down
|
|
@@ -766,9 +767,9 @@ var st = function(t, n, r) {
|
|
|
766
767
|
// in node since emotion-server relies on whether a style is in
|
|
767
768
|
// the registered cache to know whether a style is global or not
|
|
768
769
|
// also, note that this check will be dead code eliminated in the browser
|
|
769
|
-
|
|
770
|
-
},
|
|
771
|
-
|
|
770
|
+
Tn === !1) && t.registered[o] === void 0 && (t.registered[o] = n.styles);
|
|
771
|
+
}, An = function(t, n, r) {
|
|
772
|
+
ct(t, n, r);
|
|
772
773
|
var o = t.key + "-" + n.name;
|
|
773
774
|
if (t.inserted[n.name] === void 0) {
|
|
774
775
|
var i = n;
|
|
@@ -777,7 +778,7 @@ var st = function(t, n, r) {
|
|
|
777
778
|
while (i !== void 0);
|
|
778
779
|
}
|
|
779
780
|
};
|
|
780
|
-
function
|
|
781
|
+
function Nn(e) {
|
|
781
782
|
for (var t = 0, n, r = 0, o = e.length; o >= 4; ++r, o -= 4)
|
|
782
783
|
n = e.charCodeAt(r) & 255 | (e.charCodeAt(++r) & 255) << 8 | (e.charCodeAt(++r) & 255) << 16 | (e.charCodeAt(++r) & 255) << 24, n = /* Math.imul(k, m): */
|
|
783
784
|
(n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), n ^= /* k >>> r: */
|
|
@@ -796,7 +797,7 @@ function Rn(e) {
|
|
|
796
797
|
return t ^= t >>> 13, t = /* Math.imul(h, m): */
|
|
797
798
|
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
|
|
798
799
|
}
|
|
799
|
-
var
|
|
800
|
+
var zn = {
|
|
800
801
|
animationIterationCount: 1,
|
|
801
802
|
aspectRatio: 1,
|
|
802
803
|
borderImageOutset: 1,
|
|
@@ -846,24 +847,24 @@ var Mn = {
|
|
|
846
847
|
strokeOpacity: 1,
|
|
847
848
|
strokeWidth: 1
|
|
848
849
|
};
|
|
849
|
-
function
|
|
850
|
+
function Fn(e) {
|
|
850
851
|
var t = /* @__PURE__ */ Object.create(null);
|
|
851
852
|
return function(n) {
|
|
852
853
|
return t[n] === void 0 && (t[n] = e(n)), t[n];
|
|
853
854
|
};
|
|
854
855
|
}
|
|
855
|
-
var
|
|
856
|
+
var Ln = /[A-Z]|^ms/g, On = /_EMO_([^_]+?)_([^]*?)_EMO_/g, lt = function(t) {
|
|
856
857
|
return t.charCodeAt(1) === 45;
|
|
857
|
-
},
|
|
858
|
+
}, Ye = function(t) {
|
|
858
859
|
return t != null && typeof t != "boolean";
|
|
859
|
-
}, ve = /* @__PURE__ */
|
|
860
|
-
return
|
|
861
|
-
}),
|
|
860
|
+
}, ve = /* @__PURE__ */ Fn(function(e) {
|
|
861
|
+
return lt(e) ? e : e.replace(Ln, "-$&").toLowerCase();
|
|
862
|
+
}), We = function(t, n) {
|
|
862
863
|
switch (t) {
|
|
863
864
|
case "animation":
|
|
864
865
|
case "animationName":
|
|
865
866
|
if (typeof n == "string")
|
|
866
|
-
return n.replace(
|
|
867
|
+
return n.replace(On, function(r, o, i) {
|
|
867
868
|
return I = {
|
|
868
869
|
name: o,
|
|
869
870
|
styles: i,
|
|
@@ -871,9 +872,9 @@ var Nn = /[A-Z]|^ms/g, zn = /_EMO_([^_]+?)_([^]*?)_EMO_/g, ct = function(t) {
|
|
|
871
872
|
}, o;
|
|
872
873
|
});
|
|
873
874
|
}
|
|
874
|
-
return
|
|
875
|
+
return zn[t] !== 1 && !lt(t) && typeof n == "number" && n !== 0 ? n + "px" : n;
|
|
875
876
|
};
|
|
876
|
-
function
|
|
877
|
+
function se(e, t, n) {
|
|
877
878
|
if (n == null)
|
|
878
879
|
return "";
|
|
879
880
|
var r = n;
|
|
@@ -892,46 +893,46 @@ function ie(e, t, n) {
|
|
|
892
893
|
}, o.name;
|
|
893
894
|
var i = n;
|
|
894
895
|
if (i.styles !== void 0) {
|
|
895
|
-
var
|
|
896
|
-
if (
|
|
897
|
-
for (;
|
|
896
|
+
var s = i.next;
|
|
897
|
+
if (s !== void 0)
|
|
898
|
+
for (; s !== void 0; )
|
|
898
899
|
I = {
|
|
899
|
-
name:
|
|
900
|
-
styles:
|
|
900
|
+
name: s.name,
|
|
901
|
+
styles: s.styles,
|
|
901
902
|
next: I
|
|
902
|
-
},
|
|
903
|
-
var
|
|
904
|
-
return
|
|
903
|
+
}, s = s.next;
|
|
904
|
+
var c = i.styles + ";";
|
|
905
|
+
return c;
|
|
905
906
|
}
|
|
906
|
-
return
|
|
907
|
+
return Dn(e, t, n);
|
|
907
908
|
}
|
|
908
909
|
case "function": {
|
|
909
910
|
if (e !== void 0) {
|
|
910
911
|
var f = I, u = n(e);
|
|
911
|
-
return I = f,
|
|
912
|
+
return I = f, se(e, t, u);
|
|
912
913
|
}
|
|
913
914
|
break;
|
|
914
915
|
}
|
|
915
916
|
}
|
|
916
|
-
var
|
|
917
|
-
return
|
|
917
|
+
var d = n;
|
|
918
|
+
return d;
|
|
918
919
|
}
|
|
919
|
-
function
|
|
920
|
+
function Dn(e, t, n) {
|
|
920
921
|
var r = "";
|
|
921
922
|
if (Array.isArray(n))
|
|
922
923
|
for (var o = 0; o < n.length; o++)
|
|
923
|
-
r +=
|
|
924
|
+
r += se(e, t, n[o]) + ";";
|
|
924
925
|
else
|
|
925
926
|
for (var i in n) {
|
|
926
|
-
var
|
|
927
|
-
if (typeof
|
|
928
|
-
var
|
|
929
|
-
|
|
930
|
-
} else if (Array.isArray(
|
|
931
|
-
for (var f = 0; f <
|
|
932
|
-
|
|
927
|
+
var s = n[i];
|
|
928
|
+
if (typeof s != "object") {
|
|
929
|
+
var c = s;
|
|
930
|
+
Ye(c) && (r += ve(i) + ":" + We(i, c) + ";");
|
|
931
|
+
} else if (Array.isArray(s) && typeof s[0] == "string" && t == null)
|
|
932
|
+
for (var f = 0; f < s.length; f++)
|
|
933
|
+
Ye(s[f]) && (r += ve(i) + ":" + We(i, s[f]) + ";");
|
|
933
934
|
else {
|
|
934
|
-
var u =
|
|
935
|
+
var u = se(e, t, s);
|
|
935
936
|
switch (i) {
|
|
936
937
|
case "animation":
|
|
937
938
|
case "animationName": {
|
|
@@ -945,190 +946,182 @@ function Fn(e, t, n) {
|
|
|
945
946
|
}
|
|
946
947
|
return r;
|
|
947
948
|
}
|
|
948
|
-
var
|
|
949
|
-
function
|
|
949
|
+
var He = /label:\s*([^\s;{]+)\s*(;|$)/g, I;
|
|
950
|
+
function Ue(e, t, n) {
|
|
950
951
|
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
|
|
951
952
|
return e[0];
|
|
952
953
|
var r = !0, o = "";
|
|
953
954
|
I = void 0;
|
|
954
955
|
var i = e[0];
|
|
955
956
|
if (i == null || i.raw === void 0)
|
|
956
|
-
r = !1, o +=
|
|
957
|
+
r = !1, o += se(n, t, i);
|
|
957
958
|
else {
|
|
958
|
-
var
|
|
959
|
-
o +=
|
|
959
|
+
var s = i;
|
|
960
|
+
o += s[0];
|
|
960
961
|
}
|
|
961
|
-
for (var
|
|
962
|
-
if (o +=
|
|
962
|
+
for (var c = 1; c < e.length; c++)
|
|
963
|
+
if (o += se(n, t, e[c]), r) {
|
|
963
964
|
var f = i;
|
|
964
|
-
o += f[
|
|
965
|
+
o += f[c];
|
|
965
966
|
}
|
|
966
|
-
|
|
967
|
-
for (var u = "",
|
|
968
|
-
u += "-" +
|
|
969
|
-
var
|
|
967
|
+
He.lastIndex = 0;
|
|
968
|
+
for (var u = "", d; (d = He.exec(o)) !== null; )
|
|
969
|
+
u += "-" + d[1];
|
|
970
|
+
var a = Nn(o) + u;
|
|
970
971
|
return {
|
|
971
|
-
name:
|
|
972
|
+
name: a,
|
|
972
973
|
styles: o,
|
|
973
974
|
next: I
|
|
974
975
|
};
|
|
975
976
|
}
|
|
976
|
-
var
|
|
977
|
+
var In = function(t) {
|
|
977
978
|
return t();
|
|
978
|
-
},
|
|
979
|
+
}, Vn = j.useInsertionEffect ? j.useInsertionEffect : !1, jn = Vn || In, ye = {}.hasOwnProperty, Ne = /* @__PURE__ */ j.createContext(
|
|
979
980
|
// we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
980
981
|
// because this module is primarily intended for the browser and node
|
|
981
982
|
// but it's also required in react native and similar environments sometimes
|
|
982
983
|
// and we could have a special build just for that
|
|
983
984
|
// but this is much easier and the native packages
|
|
984
985
|
// might use a different theme context in the future anyway
|
|
985
|
-
typeof HTMLElement < "u" ? /* @__PURE__ */
|
|
986
|
+
typeof HTMLElement < "u" ? /* @__PURE__ */ Sn({
|
|
986
987
|
key: "css"
|
|
987
988
|
}) : null
|
|
988
989
|
);
|
|
989
990
|
process.env.NODE_ENV !== "production" && (Ne.displayName = "EmotionCacheContext");
|
|
990
991
|
Ne.Provider;
|
|
991
|
-
var
|
|
992
|
-
return /* @__PURE__ */
|
|
993
|
-
var o =
|
|
992
|
+
var Bn = function(t) {
|
|
993
|
+
return /* @__PURE__ */ Vt(function(n, r) {
|
|
994
|
+
var o = Re(Ne);
|
|
994
995
|
return t(n, o, r);
|
|
995
996
|
});
|
|
996
|
-
},
|
|
997
|
-
process.env.NODE_ENV !== "production" && (
|
|
998
|
-
var
|
|
997
|
+
}, dt = /* @__PURE__ */ j.createContext({});
|
|
998
|
+
process.env.NODE_ENV !== "production" && (dt.displayName = "EmotionThemeContext");
|
|
999
|
+
var Ge = function(t) {
|
|
999
1000
|
var n = t.split(".");
|
|
1000
1001
|
return n[n.length - 1];
|
|
1001
|
-
},
|
|
1002
|
+
}, Kn = function(t) {
|
|
1002
1003
|
var n = /^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(t);
|
|
1003
1004
|
if (n || (n = /^([A-Za-z0-9$.]+)@/.exec(t), n))
|
|
1004
|
-
return
|
|
1005
|
-
},
|
|
1005
|
+
return Ge(n[1]);
|
|
1006
|
+
}, Yn = /* @__PURE__ */ new Set(["renderWithHooks", "processChild", "finishClassComponent", "renderToString"]), Wn = function(t) {
|
|
1006
1007
|
return t.replace(/\$/g, "-");
|
|
1007
|
-
},
|
|
1008
|
+
}, Hn = function(t) {
|
|
1008
1009
|
if (t)
|
|
1009
1010
|
for (var n = t.split(`
|
|
1010
1011
|
`), r = 0; r < n.length; r++) {
|
|
1011
|
-
var o =
|
|
1012
|
+
var o = Kn(n[r]);
|
|
1012
1013
|
if (o) {
|
|
1013
|
-
if (
|
|
1014
|
+
if (Yn.has(o))
|
|
1014
1015
|
break;
|
|
1015
1016
|
if (/^[A-Z]/.test(o))
|
|
1016
|
-
return
|
|
1017
|
+
return Wn(o);
|
|
1017
1018
|
}
|
|
1018
1019
|
}
|
|
1019
|
-
},
|
|
1020
|
+
}, ke = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", $e = "__EMOTION_LABEL_PLEASE_DO_NOT_USE__", ft = function(t, n) {
|
|
1020
1021
|
if (process.env.NODE_ENV !== "production" && typeof n.css == "string" && // check if there is a css declaration
|
|
1021
1022
|
n.css.indexOf(":") !== -1)
|
|
1022
1023
|
throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`" + n.css + "`");
|
|
1023
1024
|
var r = {};
|
|
1024
1025
|
for (var o in n)
|
|
1025
1026
|
ye.call(n, o) && (r[o] = n[o]);
|
|
1026
|
-
if (r[
|
|
1027
|
-
var i =
|
|
1028
|
-
i && (r[
|
|
1027
|
+
if (r[ke] = t, process.env.NODE_ENV !== "production" && n.css && (typeof n.css != "object" || typeof n.css.name != "string" || n.css.name.indexOf("-") === -1)) {
|
|
1028
|
+
var i = Hn(new Error().stack);
|
|
1029
|
+
i && (r[$e] = i);
|
|
1029
1030
|
}
|
|
1030
1031
|
return r;
|
|
1031
|
-
},
|
|
1032
|
+
}, Un = function(t) {
|
|
1032
1033
|
var n = t.cache, r = t.serialized, o = t.isStringTag;
|
|
1033
|
-
return
|
|
1034
|
-
return
|
|
1034
|
+
return ct(n, r, o), jn(function() {
|
|
1035
|
+
return An(n, r, o);
|
|
1035
1036
|
}), null;
|
|
1036
|
-
},
|
|
1037
|
+
}, ut = /* @__PURE__ */ Bn(function(e, t, n) {
|
|
1037
1038
|
var r = e.css;
|
|
1038
1039
|
typeof r == "string" && t.registered[r] !== void 0 && (r = t.registered[r]);
|
|
1039
|
-
var o = e[
|
|
1040
|
-
typeof e.className == "string" ?
|
|
1041
|
-
var
|
|
1042
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
1043
|
-
var f = e[
|
|
1044
|
-
f && (
|
|
1040
|
+
var o = e[ke], i = [r], s = "";
|
|
1041
|
+
typeof e.className == "string" ? s = Mn(t.registered, i, e.className) : e.className != null && (s = e.className + " ");
|
|
1042
|
+
var c = Ue(i, void 0, j.useContext(dt));
|
|
1043
|
+
if (process.env.NODE_ENV !== "production" && c.name.indexOf("-") === -1) {
|
|
1044
|
+
var f = e[$e];
|
|
1045
|
+
f && (c = Ue([c, "label:" + f + ";"]));
|
|
1045
1046
|
}
|
|
1046
|
-
|
|
1047
|
+
s += t.key + "-" + c.name;
|
|
1047
1048
|
var u = {};
|
|
1048
|
-
for (var
|
|
1049
|
-
ye.call(e,
|
|
1050
|
-
return u.ref = n, u.className =
|
|
1049
|
+
for (var d in e)
|
|
1050
|
+
ye.call(e, d) && d !== "css" && d !== ke && (process.env.NODE_ENV === "production" || d !== $e) && (u[d] = e[d]);
|
|
1051
|
+
return u.ref = n, u.className = s, /* @__PURE__ */ j.createElement(j.Fragment, null, /* @__PURE__ */ j.createElement(Un, {
|
|
1051
1052
|
cache: t,
|
|
1052
|
-
serialized:
|
|
1053
|
+
serialized: c,
|
|
1053
1054
|
isStringTag: typeof o == "string"
|
|
1054
|
-
}), /* @__PURE__ */
|
|
1055
|
+
}), /* @__PURE__ */ j.createElement(o, u));
|
|
1055
1056
|
});
|
|
1056
|
-
process.env.NODE_ENV !== "production" && (
|
|
1057
|
-
var
|
|
1058
|
-
function
|
|
1059
|
-
return ye.call(t, "css") ?
|
|
1057
|
+
process.env.NODE_ENV !== "production" && (ut.displayName = "EmotionCssPropInternal");
|
|
1058
|
+
var pt = ut, K = te.Fragment;
|
|
1059
|
+
function l(e, t, n) {
|
|
1060
|
+
return ye.call(t, "css") ? te.jsx(pt, ft(e, t), n) : te.jsx(e, t, n);
|
|
1060
1061
|
}
|
|
1061
1062
|
function g(e, t, n) {
|
|
1062
|
-
return ye.call(t, "css") ?
|
|
1063
|
+
return ye.call(t, "css") ? te.jsxs(pt, ft(e, t), n) : te.jsxs(e, t, n);
|
|
1063
1064
|
}
|
|
1064
|
-
const
|
|
1065
|
-
|
|
1066
|
-
width: 100%;
|
|
1067
|
-
height: 100vh;
|
|
1068
|
-
display: flex;
|
|
1069
|
-
flex-direction: column;
|
|
1070
|
-
align-items: center;
|
|
1071
|
-
justify-content: center;
|
|
1072
|
-
position: fixed;
|
|
1073
|
-
font-size: 14px;
|
|
1074
|
-
top: 0;
|
|
1075
|
-
left: 0;
|
|
1076
|
-
z-index: 10000;
|
|
1077
|
-
`, Jr = ({ remotesOverride: e, onBeforeInitialize: t, pluginConfig: n, children: r }) => {
|
|
1078
|
-
const [o, i] = B(), [a, d] = B(null);
|
|
1079
|
-
return te(() => {
|
|
1080
|
-
(async () => {
|
|
1081
|
-
var u, l;
|
|
1082
|
-
try {
|
|
1083
|
-
t && (console.log(
|
|
1084
|
-
"KosPluginProvider: Waiting for pre-initialization conditions..."
|
|
1085
|
-
), await t(), console.log("KosPluginProvider: Pre-initialization complete"));
|
|
1086
|
-
let s = e;
|
|
1087
|
-
const x = (u = window.KosPlugins) == null ? void 0 : u.__dynamicRemotes;
|
|
1088
|
-
s || (x && Object.keys(x).length > 0 ? (console.log(
|
|
1089
|
-
"KosPluginProvider: Using existing plugin initialization"
|
|
1090
|
-
), s = x) : (console.log("KosPluginProvider: Initializing plugins..."), await Vt(n), s = (l = window.KosPlugins) == null ? void 0 : l.__dynamicRemotes));
|
|
1091
|
-
const b = await jt(s);
|
|
1092
|
-
i(b);
|
|
1093
|
-
} catch (s) {
|
|
1094
|
-
console.error("KosPluginProvider: Failed to initialize plugins", s), d(s);
|
|
1095
|
-
}
|
|
1096
|
-
})();
|
|
1097
|
-
}, [e, t, n]), a ? /* @__PURE__ */ g(Ge, { children: [
|
|
1098
|
-
/* @__PURE__ */ c("div", { children: "Failed to load plugins" }),
|
|
1099
|
-
/* @__PURE__ */ c("div", { style: { fontSize: "12px", marginTop: "10px", opacity: 0.8 }, children: a.message })
|
|
1100
|
-
] }) : /* @__PURE__ */ c(pt.Provider, { value: o, children: o ? r : /* @__PURE__ */ c(Ge, { children: "Loading remote plugins..." }) });
|
|
1101
|
-
}, se = () => {
|
|
1102
|
-
const e = Xe(pt);
|
|
1065
|
+
const ht = Je(null), Gn = () => {
|
|
1066
|
+
const e = Re(ht);
|
|
1103
1067
|
if (!e)
|
|
1104
1068
|
throw new Error(
|
|
1105
|
-
"
|
|
1069
|
+
"useReactiveExtensionRegistry must be used within a component that has access to ReactiveExtensionRegistryContext"
|
|
1106
1070
|
);
|
|
1107
1071
|
return e;
|
|
1108
|
-
}
|
|
1072
|
+
};
|
|
1073
|
+
function mt(e, t) {
|
|
1074
|
+
const n = Gn(), r = (t == null ? void 0 : t.includeDisabled) ?? !1, o = (t == null ? void 0 : t.autoResolve) ?? !1, [i, s] = B(
|
|
1075
|
+
() => n.getExtensions(e, r)
|
|
1076
|
+
);
|
|
1077
|
+
W(() => (s(n.getExtensions(e, r)), n.subscribe(e, () => {
|
|
1078
|
+
s(n.getExtensions(e, r));
|
|
1079
|
+
})), [n, e, r]);
|
|
1080
|
+
const c = O(() => o ? ne(i) : null, [i, o]);
|
|
1081
|
+
return {
|
|
1082
|
+
extensions: i,
|
|
1083
|
+
best: c,
|
|
1084
|
+
isLoading: !1
|
|
1085
|
+
// Not async, so never loading
|
|
1086
|
+
};
|
|
1087
|
+
}
|
|
1088
|
+
const qn = (e) => {
|
|
1109
1089
|
var t;
|
|
1110
1090
|
return ((t = e == null ? void 0 : e.view) == null ? void 0 : t.component) !== void 0;
|
|
1111
|
-
},
|
|
1091
|
+
}, Zn = ({
|
|
1112
1092
|
extension: e,
|
|
1113
|
-
module: t
|
|
1093
|
+
module: t,
|
|
1094
|
+
fallbackOnDisabled: n = !0,
|
|
1095
|
+
autoSwitchOnDisabled: r = !1
|
|
1114
1096
|
}) => {
|
|
1115
|
-
const { extensions:
|
|
1097
|
+
const { extensions: o } = mt(e, {
|
|
1098
|
+
includeDisabled: !1,
|
|
1099
|
+
// Only get enabled contributions
|
|
1100
|
+
autoResolve: !1
|
|
1101
|
+
// We'll resolve manually based on module prop
|
|
1102
|
+
}), [i, s] = B(
|
|
1116
1103
|
null
|
|
1117
|
-
), [
|
|
1118
|
-
|
|
1104
|
+
), [c, f] = B(null), u = O(() => {
|
|
1105
|
+
if (t) {
|
|
1106
|
+
const d = o[t];
|
|
1107
|
+
return d || (r && !n ? ne(o) : null);
|
|
1108
|
+
}
|
|
1109
|
+
return ne(o);
|
|
1110
|
+
}, [o, t, n, r]);
|
|
1111
|
+
return W(() => {
|
|
1119
1112
|
async function d() {
|
|
1120
|
-
const
|
|
1121
|
-
a
|
|
1122
|
-
const
|
|
1123
|
-
if (!
|
|
1113
|
+
const a = u;
|
|
1114
|
+
f(a ?? null);
|
|
1115
|
+
const x = (a == null ? void 0 : a.remote) || "", b = qn(a) ? a.view.component : a == null ? void 0 : a.component, y = b ? `./${b}` : "";
|
|
1116
|
+
if (!x)
|
|
1124
1117
|
return;
|
|
1125
|
-
const
|
|
1126
|
-
|
|
1118
|
+
const v = Y.lazy(() => Bt.loadRemoteModule(x, y));
|
|
1119
|
+
s(v);
|
|
1127
1120
|
}
|
|
1128
1121
|
d();
|
|
1129
|
-
}, [
|
|
1122
|
+
}, [u]), [i, c];
|
|
1130
1123
|
};
|
|
1131
|
-
class
|
|
1124
|
+
class Xn extends Y.Component {
|
|
1132
1125
|
constructor(t) {
|
|
1133
1126
|
super(t), this.state = { hasError: !1 };
|
|
1134
1127
|
}
|
|
@@ -1142,13 +1135,13 @@ class Un extends Y.Component {
|
|
|
1142
1135
|
return this.state.hasError ? this.props.fallback : this.props.children;
|
|
1143
1136
|
}
|
|
1144
1137
|
}
|
|
1145
|
-
const
|
|
1138
|
+
const Jn = h.div`
|
|
1146
1139
|
align-items: center;
|
|
1147
1140
|
display: flex;
|
|
1148
1141
|
height: 100%;
|
|
1149
1142
|
justify-content: center;
|
|
1150
1143
|
width: 100%;
|
|
1151
|
-
`,
|
|
1144
|
+
`, Qn = h.div`
|
|
1152
1145
|
align-items: center;
|
|
1153
1146
|
background-color: transparent;
|
|
1154
1147
|
display: flex;
|
|
@@ -1160,44 +1153,45 @@ const Gn = h.div`
|
|
|
1160
1153
|
extension: e,
|
|
1161
1154
|
fallback: t,
|
|
1162
1155
|
module: n,
|
|
1163
|
-
props: r
|
|
1156
|
+
props: r,
|
|
1157
|
+
fallbackOnDisabled: o = !0,
|
|
1158
|
+
autoSwitchOnDisabled: i = !1
|
|
1164
1159
|
}) => {
|
|
1165
|
-
const [
|
|
1160
|
+
const [s, c] = Zn({
|
|
1166
1161
|
extension: e,
|
|
1167
|
-
module: n
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
Dt,
|
|
1162
|
+
module: n,
|
|
1163
|
+
fallbackOnDisabled: o,
|
|
1164
|
+
autoSwitchOnDisabled: i
|
|
1165
|
+
}), f = !s, u = t || /* @__PURE__ */ l(Jn, { children: `Dynamic component, ${e}, not found...` });
|
|
1166
|
+
return f ? /* @__PURE__ */ l(K, { children: u }) : /* @__PURE__ */ l(Xn, { fallback: u, children: /* @__PURE__ */ l(
|
|
1167
|
+
jt,
|
|
1174
1168
|
{
|
|
1175
|
-
fallback:
|
|
1176
|
-
|
|
1169
|
+
fallback: c != null && c.size ? /* @__PURE__ */ l(
|
|
1170
|
+
Qn,
|
|
1177
1171
|
{
|
|
1178
|
-
width:
|
|
1179
|
-
height:
|
|
1172
|
+
width: c.size.width,
|
|
1173
|
+
height: c.size.height
|
|
1180
1174
|
}
|
|
1181
1175
|
) : null,
|
|
1182
|
-
children: /* @__PURE__ */
|
|
1176
|
+
children: /* @__PURE__ */ l(s, { ...r })
|
|
1183
1177
|
}
|
|
1184
1178
|
) });
|
|
1185
|
-
},
|
|
1179
|
+
}, er = h.div`
|
|
1186
1180
|
display: flex;
|
|
1187
1181
|
flex-direction: column;
|
|
1188
1182
|
height: 100%;
|
|
1189
1183
|
min-height: 0; /* Important for flexbox children to shrink */
|
|
1190
|
-
`,
|
|
1184
|
+
`, tr = h.div`
|
|
1191
1185
|
padding: 16px;
|
|
1192
1186
|
border-bottom: 1px solid #e1e5e9;
|
|
1193
1187
|
background: #f6f8fa;
|
|
1194
1188
|
flex-shrink: 0; /* Prevent header from shrinking */
|
|
1195
|
-
`,
|
|
1189
|
+
`, nr = h.h3`
|
|
1196
1190
|
margin: 0 0 8px 0;
|
|
1197
1191
|
font-size: 16px;
|
|
1198
1192
|
font-weight: 600;
|
|
1199
1193
|
color: #24292f;
|
|
1200
|
-
`,
|
|
1194
|
+
`, rr = h.input`
|
|
1201
1195
|
width: 100%;
|
|
1202
1196
|
padding: 8px 12px;
|
|
1203
1197
|
border: 1px solid #d0d7de;
|
|
@@ -1210,11 +1204,11 @@ const Gn = h.div`
|
|
|
1210
1204
|
border-color: #0969da;
|
|
1211
1205
|
box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.1);
|
|
1212
1206
|
}
|
|
1213
|
-
`,
|
|
1207
|
+
`, or = h.div`
|
|
1214
1208
|
flex: 1;
|
|
1215
1209
|
overflow-y: auto;
|
|
1216
1210
|
min-height: 0; /* Critical for making overflow work in flexbox */
|
|
1217
|
-
`,
|
|
1211
|
+
`, ir = h.div`
|
|
1218
1212
|
padding: 12px 16px;
|
|
1219
1213
|
border-bottom: 1px solid #f0f0f0;
|
|
1220
1214
|
cursor: pointer;
|
|
@@ -1225,12 +1219,12 @@ const Gn = h.div`
|
|
|
1225
1219
|
&:hover {
|
|
1226
1220
|
background: #f6f8fa;
|
|
1227
1221
|
}
|
|
1228
|
-
`,
|
|
1222
|
+
`, sr = h.div`
|
|
1229
1223
|
font-weight: 500;
|
|
1230
1224
|
font-size: 14px;
|
|
1231
1225
|
color: #24292f;
|
|
1232
1226
|
margin-bottom: 4px;
|
|
1233
|
-
`,
|
|
1227
|
+
`, ar = h.div`
|
|
1234
1228
|
font-size: 12px;
|
|
1235
1229
|
color: #656d76;
|
|
1236
1230
|
display: flex;
|
|
@@ -1254,64 +1248,113 @@ const Gn = h.div`
|
|
|
1254
1248
|
return "background: #f6f8fa; color: #656d76;";
|
|
1255
1249
|
}
|
|
1256
1250
|
}}
|
|
1257
|
-
`,
|
|
1251
|
+
`, cr = h.div`
|
|
1258
1252
|
padding: 40px 16px;
|
|
1259
1253
|
text-align: center;
|
|
1260
1254
|
color: #656d76;
|
|
1261
1255
|
font-size: 14px;
|
|
1262
|
-
`,
|
|
1256
|
+
`, lr = ({
|
|
1263
1257
|
extensionPoints: e,
|
|
1264
1258
|
selectedExtensionId: t,
|
|
1265
1259
|
onExtensionSelect: n,
|
|
1266
1260
|
searchTerm: r,
|
|
1267
1261
|
onSearchChange: o,
|
|
1268
1262
|
className: i
|
|
1269
|
-
}) => /* @__PURE__ */ g(
|
|
1270
|
-
/* @__PURE__ */ g(
|
|
1271
|
-
/* @__PURE__ */
|
|
1272
|
-
/* @__PURE__ */
|
|
1273
|
-
|
|
1263
|
+
}) => /* @__PURE__ */ g(er, { className: i, children: [
|
|
1264
|
+
/* @__PURE__ */ g(tr, { children: [
|
|
1265
|
+
/* @__PURE__ */ l(nr, { children: "Extension Points" }),
|
|
1266
|
+
/* @__PURE__ */ l(
|
|
1267
|
+
rr,
|
|
1274
1268
|
{
|
|
1275
1269
|
placeholder: "Search extension points...",
|
|
1276
1270
|
value: r,
|
|
1277
|
-
onChange: (
|
|
1271
|
+
onChange: (s) => o(s.target.value)
|
|
1278
1272
|
}
|
|
1279
1273
|
)
|
|
1280
1274
|
] }),
|
|
1281
|
-
/* @__PURE__ */
|
|
1282
|
-
var
|
|
1275
|
+
/* @__PURE__ */ l(or, { children: e.length > 0 ? e.map((s) => {
|
|
1276
|
+
var c;
|
|
1283
1277
|
return /* @__PURE__ */ g(
|
|
1284
|
-
|
|
1278
|
+
ir,
|
|
1285
1279
|
{
|
|
1286
|
-
selected:
|
|
1287
|
-
onClick: () => n(
|
|
1280
|
+
selected: s.id === t,
|
|
1281
|
+
onClick: () => n(s.id),
|
|
1288
1282
|
children: [
|
|
1289
|
-
/* @__PURE__ */
|
|
1290
|
-
/* @__PURE__ */ g(
|
|
1283
|
+
/* @__PURE__ */ l(sr, { children: s.displayName || s.id }),
|
|
1284
|
+
/* @__PURE__ */ g(ar, { children: [
|
|
1291
1285
|
/* @__PURE__ */ g("div", { children: [
|
|
1292
|
-
/* @__PURE__ */
|
|
1293
|
-
((
|
|
1286
|
+
/* @__PURE__ */ l(qe, { variant: s.source, children: s.source }),
|
|
1287
|
+
((c = s.metadata) == null ? void 0 : c.deprecated) && /* @__PURE__ */ l(qe, { variant: "deprecated", style: { marginLeft: 4 }, children: "deprecated" })
|
|
1294
1288
|
] }),
|
|
1295
1289
|
/* @__PURE__ */ g("div", { children: [
|
|
1296
|
-
|
|
1290
|
+
s.pluginCount,
|
|
1297
1291
|
" plugin",
|
|
1298
|
-
|
|
1292
|
+
s.pluginCount !== 1 ? "s" : ""
|
|
1299
1293
|
] })
|
|
1300
1294
|
] })
|
|
1301
1295
|
]
|
|
1302
1296
|
},
|
|
1303
|
-
|
|
1297
|
+
s.id
|
|
1298
|
+
);
|
|
1299
|
+
}) : /* @__PURE__ */ l(cr, { children: r ? `No extension points match "${r}"` : "No extension points available" }) })
|
|
1300
|
+
] }), gt = Je(void 0), Ze = h.div`
|
|
1301
|
+
padding-inline: 20px;
|
|
1302
|
+
width: 100%;
|
|
1303
|
+
height: 100vh;
|
|
1304
|
+
display: flex;
|
|
1305
|
+
flex-direction: column;
|
|
1306
|
+
align-items: center;
|
|
1307
|
+
justify-content: center;
|
|
1308
|
+
position: fixed;
|
|
1309
|
+
font-size: 14px;
|
|
1310
|
+
top: 0;
|
|
1311
|
+
left: 0;
|
|
1312
|
+
z-index: 10000;
|
|
1313
|
+
`, no = ({ remotesOverride: e, onBeforeInitialize: t, pluginConfig: n, children: r }) => {
|
|
1314
|
+
const [o, i] = B(), [s, c] = B(null), f = O(() => o != null && o.extensions ? new Kt(o.extensions) : null, [o == null ? void 0 : o.extensions]);
|
|
1315
|
+
return W(
|
|
1316
|
+
() => () => {
|
|
1317
|
+
f == null || f.destroy();
|
|
1318
|
+
},
|
|
1319
|
+
[f]
|
|
1320
|
+
), W(() => {
|
|
1321
|
+
(async () => {
|
|
1322
|
+
var d, a;
|
|
1323
|
+
try {
|
|
1324
|
+
t && (console.log(
|
|
1325
|
+
"KosPluginProvider: Waiting for pre-initialization conditions..."
|
|
1326
|
+
), await t(), console.log("KosPluginProvider: Pre-initialization complete"));
|
|
1327
|
+
let x = e;
|
|
1328
|
+
const b = (d = window.KosPlugins) == null ? void 0 : d.__dynamicRemotes;
|
|
1329
|
+
x || (b && Object.keys(b).length > 0 ? (console.log(
|
|
1330
|
+
"KosPluginProvider: Using existing plugin initialization"
|
|
1331
|
+
), x = b) : (console.log("KosPluginProvider: Initializing plugins..."), await Yt(n), x = (a = window.KosPlugins) == null ? void 0 : a.__dynamicRemotes));
|
|
1332
|
+
const y = await Wt(x);
|
|
1333
|
+
i(y);
|
|
1334
|
+
} catch (x) {
|
|
1335
|
+
console.error("KosPluginProvider: Failed to initialize plugins", x), c(x);
|
|
1336
|
+
}
|
|
1337
|
+
})();
|
|
1338
|
+
}, [e, t, n]), s ? /* @__PURE__ */ g(Ze, { children: [
|
|
1339
|
+
/* @__PURE__ */ l("div", { children: "Failed to load plugins" }),
|
|
1340
|
+
/* @__PURE__ */ l("div", { style: { fontSize: "12px", marginTop: "10px", opacity: 0.8 }, children: s.message })
|
|
1341
|
+
] }) : /* @__PURE__ */ l(gt.Provider, { value: o, children: /* @__PURE__ */ l(ht.Provider, { value: f, children: o ? r : /* @__PURE__ */ l(Ze, { children: "Loading remote plugins..." }) }) });
|
|
1342
|
+
}, Fe = () => {
|
|
1343
|
+
const e = Re(gt);
|
|
1344
|
+
if (!e)
|
|
1345
|
+
throw new Error(
|
|
1346
|
+
"useKosPluginsContext must be used within a KosPluginProvider"
|
|
1304
1347
|
);
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
function
|
|
1308
|
-
const { extensions: t } =
|
|
1309
|
-
return
|
|
1348
|
+
return e;
|
|
1349
|
+
};
|
|
1350
|
+
function xt(e) {
|
|
1351
|
+
const { extensions: t } = Fe();
|
|
1352
|
+
return O(() => {
|
|
1310
1353
|
try {
|
|
1311
|
-
const r =
|
|
1354
|
+
const r = re.getExtensionPoints(
|
|
1312
1355
|
t,
|
|
1313
1356
|
e
|
|
1314
|
-
), o =
|
|
1357
|
+
), o = re.calculateHealthStats(r);
|
|
1315
1358
|
return {
|
|
1316
1359
|
extensionPoints: r,
|
|
1317
1360
|
healthStats: o,
|
|
@@ -1335,9 +1378,9 @@ function ht(e) {
|
|
|
1335
1378
|
}
|
|
1336
1379
|
}, [t, e]);
|
|
1337
1380
|
}
|
|
1338
|
-
function
|
|
1339
|
-
const n =
|
|
1340
|
-
() =>
|
|
1381
|
+
function dr(e, t) {
|
|
1382
|
+
const n = xt(t), r = O(
|
|
1383
|
+
() => re.filterExtensionPoints(
|
|
1341
1384
|
n.extensionPoints,
|
|
1342
1385
|
e
|
|
1343
1386
|
),
|
|
@@ -1348,31 +1391,31 @@ function ar(e, t) {
|
|
|
1348
1391
|
filteredExtensionPoints: r
|
|
1349
1392
|
};
|
|
1350
1393
|
}
|
|
1351
|
-
function
|
|
1352
|
-
const { extensionPoints: t } =
|
|
1353
|
-
return
|
|
1354
|
-
() =>
|
|
1394
|
+
function ro(e) {
|
|
1395
|
+
const { extensionPoints: t } = xt();
|
|
1396
|
+
return O(
|
|
1397
|
+
() => re.getExtensionPointById(
|
|
1355
1398
|
t,
|
|
1356
1399
|
e
|
|
1357
1400
|
),
|
|
1358
1401
|
[t, e]
|
|
1359
1402
|
);
|
|
1360
1403
|
}
|
|
1361
|
-
const
|
|
1404
|
+
const fr = h.div`
|
|
1362
1405
|
border: 1px solid #e1e5e9;
|
|
1363
1406
|
border-radius: 6px;
|
|
1364
1407
|
padding: 12px;
|
|
1365
1408
|
background: white;
|
|
1366
1409
|
transition: all 0.2s ease;
|
|
1367
|
-
`,
|
|
1410
|
+
`, ur = h.div`
|
|
1368
1411
|
display: flex;
|
|
1369
1412
|
align-items: center;
|
|
1370
1413
|
justify-content: space-between;
|
|
1371
1414
|
margin-bottom: 8px;
|
|
1372
|
-
`,
|
|
1415
|
+
`, pr = h.div`
|
|
1373
1416
|
display: flex;
|
|
1374
1417
|
align-items: center;
|
|
1375
|
-
`,
|
|
1418
|
+
`, hr = h.div`
|
|
1376
1419
|
display: inline-block;
|
|
1377
1420
|
width: 8px;
|
|
1378
1421
|
height: 8px;
|
|
@@ -1391,18 +1434,18 @@ const sr = h.div`
|
|
|
1391
1434
|
return "background: #656d76;";
|
|
1392
1435
|
}
|
|
1393
1436
|
}}
|
|
1394
|
-
`,
|
|
1437
|
+
`, mr = h.h5`
|
|
1395
1438
|
margin: 0;
|
|
1396
1439
|
font-size: 14px;
|
|
1397
1440
|
font-weight: 600;
|
|
1398
1441
|
color: #24292f;
|
|
1399
|
-
`,
|
|
1442
|
+
`, gr = h.div`
|
|
1400
1443
|
font-size: 12px;
|
|
1401
1444
|
color: #656d76;
|
|
1402
1445
|
line-height: 1.4;
|
|
1403
1446
|
display: grid;
|
|
1404
1447
|
gap: 2px;
|
|
1405
|
-
`,
|
|
1448
|
+
`, Q = h.div`
|
|
1406
1449
|
display: grid;
|
|
1407
1450
|
grid-template-columns: 80px 1fr; /* Fixed label width, flexible value */
|
|
1408
1451
|
gap: 8px;
|
|
@@ -1418,28 +1461,28 @@ const sr = h.div`
|
|
|
1418
1461
|
text-overflow: ellipsis;
|
|
1419
1462
|
white-space: nowrap;
|
|
1420
1463
|
}
|
|
1421
|
-
`,
|
|
1464
|
+
`, xr = h.div`
|
|
1422
1465
|
color: #656d76;
|
|
1423
1466
|
font-style: italic;
|
|
1424
1467
|
margin-top: 4px;
|
|
1425
1468
|
font-size: 12px;
|
|
1426
|
-
`,
|
|
1469
|
+
`, yr = h.div`
|
|
1427
1470
|
margin-top: 6px;
|
|
1428
1471
|
display: flex;
|
|
1429
1472
|
flex-wrap: wrap;
|
|
1430
1473
|
gap: 4px;
|
|
1431
|
-
`,
|
|
1474
|
+
`, br = h.span`
|
|
1432
1475
|
background: #f6f8fa;
|
|
1433
1476
|
border: 1px solid #d0d7de;
|
|
1434
1477
|
border-radius: 12px;
|
|
1435
1478
|
padding: 2px 6px;
|
|
1436
1479
|
font-size: 10px;
|
|
1437
1480
|
color: #24292f;
|
|
1438
|
-
`,
|
|
1481
|
+
`, vr = h.div`
|
|
1439
1482
|
margin-top: 8px;
|
|
1440
1483
|
padding-top: 8px;
|
|
1441
1484
|
border-top: 1px solid #f0f0f0;
|
|
1442
|
-
`,
|
|
1485
|
+
`, Er = h.div`
|
|
1443
1486
|
display: flex;
|
|
1444
1487
|
align-items: flex-start;
|
|
1445
1488
|
gap: 6px;
|
|
@@ -1461,7 +1504,7 @@ const sr = h.div`
|
|
|
1461
1504
|
return "background: #f6f8fa; color: #656d76;";
|
|
1462
1505
|
}
|
|
1463
1506
|
}}
|
|
1464
|
-
`,
|
|
1507
|
+
`, wr = h.span`
|
|
1465
1508
|
font-size: 12px;
|
|
1466
1509
|
font-weight: bold;
|
|
1467
1510
|
flex-shrink: 0;
|
|
@@ -1481,80 +1524,80 @@ const sr = h.div`
|
|
|
1481
1524
|
}
|
|
1482
1525
|
}}";
|
|
1483
1526
|
}
|
|
1484
|
-
`,
|
|
1527
|
+
`, Cr = h.div`
|
|
1485
1528
|
flex: 1;
|
|
1486
1529
|
`;
|
|
1487
|
-
function
|
|
1488
|
-
if (
|
|
1530
|
+
function Sr(e, t) {
|
|
1531
|
+
if (_e().getExtensionPoint(t) && e.data)
|
|
1489
1532
|
return e.data;
|
|
1490
1533
|
}
|
|
1491
|
-
function
|
|
1492
|
-
const n =
|
|
1534
|
+
function Pr(e) {
|
|
1535
|
+
const n = _e().getExtensionPoint(e);
|
|
1493
1536
|
return n != null && n.getSchemaFieldInfo ? n.getSchemaFieldInfo().map((r) => r.name) : [];
|
|
1494
1537
|
}
|
|
1495
|
-
const
|
|
1538
|
+
const kr = ({
|
|
1496
1539
|
plugin: e,
|
|
1497
1540
|
extensionPointId: t,
|
|
1498
1541
|
className: n
|
|
1499
1542
|
}) => {
|
|
1500
|
-
const r =
|
|
1501
|
-
return /* @__PURE__ */ g(
|
|
1502
|
-
/* @__PURE__ */
|
|
1503
|
-
/* @__PURE__ */
|
|
1504
|
-
/* @__PURE__ */
|
|
1543
|
+
const r = re.analyzePlugin(e), { hasComponent: o, healthStatus: i, capabilities: s } = r, c = Ht(e.id), f = Sr(e, t), u = Pr(t);
|
|
1544
|
+
return /* @__PURE__ */ g(fr, { className: n, children: [
|
|
1545
|
+
/* @__PURE__ */ l(ur, { children: /* @__PURE__ */ g(pr, { children: [
|
|
1546
|
+
/* @__PURE__ */ l(hr, { status: i }),
|
|
1547
|
+
/* @__PURE__ */ l(mr, { children: e.id })
|
|
1505
1548
|
] }) }),
|
|
1506
|
-
/* @__PURE__ */ g(
|
|
1507
|
-
/* @__PURE__ */ g(
|
|
1508
|
-
/* @__PURE__ */
|
|
1509
|
-
/* @__PURE__ */
|
|
1549
|
+
/* @__PURE__ */ g(gr, { children: [
|
|
1550
|
+
/* @__PURE__ */ g(Q, { children: [
|
|
1551
|
+
/* @__PURE__ */ l("strong", { children: "Source:" }),
|
|
1552
|
+
/* @__PURE__ */ l("span", { children: e.remote ? `${e.remote} plugin` : "Local" })
|
|
1510
1553
|
] }),
|
|
1511
|
-
/* @__PURE__ */ g(
|
|
1512
|
-
/* @__PURE__ */
|
|
1513
|
-
/* @__PURE__ */
|
|
1554
|
+
/* @__PURE__ */ g(Q, { children: [
|
|
1555
|
+
/* @__PURE__ */ l("strong", { children: "Type:" }),
|
|
1556
|
+
/* @__PURE__ */ l("span", { children: e.type })
|
|
1514
1557
|
] }),
|
|
1515
|
-
typeof e.rank == "number" && /* @__PURE__ */ g(
|
|
1516
|
-
/* @__PURE__ */
|
|
1558
|
+
typeof e.rank == "number" && /* @__PURE__ */ g(Q, { children: [
|
|
1559
|
+
/* @__PURE__ */ l("strong", { children: "Priority:" }),
|
|
1517
1560
|
/* @__PURE__ */ g("span", { children: [
|
|
1518
1561
|
e.rank,
|
|
1519
1562
|
" (higher = preferred)"
|
|
1520
1563
|
] })
|
|
1521
1564
|
] }),
|
|
1522
|
-
e.component && /* @__PURE__ */ g(
|
|
1523
|
-
/* @__PURE__ */
|
|
1524
|
-
/* @__PURE__ */
|
|
1565
|
+
e.component && /* @__PURE__ */ g(Q, { children: [
|
|
1566
|
+
/* @__PURE__ */ l("strong", { children: "Component:" }),
|
|
1567
|
+
/* @__PURE__ */ l("span", { children: e.component })
|
|
1525
1568
|
] }),
|
|
1526
|
-
f && u.map((
|
|
1527
|
-
const
|
|
1528
|
-
if (
|
|
1569
|
+
f && u.map((d) => {
|
|
1570
|
+
const a = f[d];
|
|
1571
|
+
if (a == null)
|
|
1529
1572
|
return null;
|
|
1530
|
-
const x =
|
|
1531
|
-
return /* @__PURE__ */ g(
|
|
1573
|
+
const x = d.replace(/([A-Z])/g, " $1").replace(/^./, (b) => b.toUpperCase()).trim();
|
|
1574
|
+
return /* @__PURE__ */ g(Q, { children: [
|
|
1532
1575
|
/* @__PURE__ */ g("strong", { children: [
|
|
1533
1576
|
x,
|
|
1534
1577
|
":"
|
|
1535
1578
|
] }),
|
|
1536
|
-
/* @__PURE__ */
|
|
1537
|
-
] },
|
|
1579
|
+
/* @__PURE__ */ l("span", { children: String(a) })
|
|
1580
|
+
] }, d);
|
|
1538
1581
|
}),
|
|
1539
|
-
!o && /* @__PURE__ */
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
/* @__PURE__ */
|
|
1543
|
-
/* @__PURE__ */
|
|
1544
|
-
] },
|
|
1582
|
+
!o && /* @__PURE__ */ l(xr, { children: "No UI component (data/utility plugin)" }),
|
|
1583
|
+
s.length > 0 && /* @__PURE__ */ l(yr, { children: s.map((d) => /* @__PURE__ */ l(br, { children: d }, d)) }),
|
|
1584
|
+
c.length > 0 && /* @__PURE__ */ l(vr, { children: c.map((d, a) => /* @__PURE__ */ g(Er, { type: d.type, children: [
|
|
1585
|
+
/* @__PURE__ */ l(wr, { type: d.type }),
|
|
1586
|
+
/* @__PURE__ */ l(Cr, { children: d.message })
|
|
1587
|
+
] }, a)) })
|
|
1545
1588
|
] })
|
|
1546
1589
|
] });
|
|
1547
|
-
},
|
|
1590
|
+
}, $r = h.div`
|
|
1548
1591
|
padding: 12px 16px;
|
|
1549
1592
|
border-bottom: 1px solid #e1e5e9;
|
|
1550
1593
|
background: #f9f9f9;
|
|
1551
1594
|
font-size: 12px;
|
|
1552
1595
|
flex-shrink: 0; /* Prevent from shrinking */
|
|
1553
|
-
`,
|
|
1596
|
+
`, Rr = h.div`
|
|
1554
1597
|
font-weight: 600;
|
|
1555
1598
|
margin-bottom: 8px;
|
|
1556
1599
|
color: #24292f;
|
|
1557
|
-
`,
|
|
1600
|
+
`, Xe = h.div`
|
|
1558
1601
|
display: flex;
|
|
1559
1602
|
gap: 12px;
|
|
1560
1603
|
align-items: center;
|
|
@@ -1562,11 +1605,11 @@ const Er = ({
|
|
|
1562
1605
|
&:not(:last-child) {
|
|
1563
1606
|
margin-bottom: 4px;
|
|
1564
1607
|
}
|
|
1565
|
-
`,
|
|
1608
|
+
`, ee = h.div`
|
|
1566
1609
|
display: flex;
|
|
1567
1610
|
align-items: center;
|
|
1568
1611
|
gap: 4px;
|
|
1569
|
-
`,
|
|
1612
|
+
`, _r = h.div`
|
|
1570
1613
|
display: inline-block;
|
|
1571
1614
|
width: 8px;
|
|
1572
1615
|
height: 8px;
|
|
@@ -1585,7 +1628,7 @@ const Er = ({
|
|
|
1585
1628
|
return "background: #656d76;";
|
|
1586
1629
|
}
|
|
1587
1630
|
}}
|
|
1588
|
-
`,
|
|
1631
|
+
`, Ee = h.span`
|
|
1589
1632
|
display: inline-block;
|
|
1590
1633
|
padding: 2px 6px;
|
|
1591
1634
|
border-radius: 12px;
|
|
@@ -1604,7 +1647,7 @@ const Er = ({
|
|
|
1604
1647
|
return "background: #f6f8fa; color: #656d76;";
|
|
1605
1648
|
}
|
|
1606
1649
|
}}
|
|
1607
|
-
`,
|
|
1650
|
+
`, Tr = h.button`
|
|
1608
1651
|
background: #0969da;
|
|
1609
1652
|
border: 1px solid #0969da;
|
|
1610
1653
|
border-radius: 4px;
|
|
@@ -1623,20 +1666,20 @@ const Er = ({
|
|
|
1623
1666
|
&:active {
|
|
1624
1667
|
background: #0757ba;
|
|
1625
1668
|
}
|
|
1626
|
-
`,
|
|
1669
|
+
`, Mr = ({
|
|
1627
1670
|
healthStats: e,
|
|
1628
1671
|
className: t
|
|
1629
1672
|
}) => {
|
|
1630
|
-
const { extensions: n } =
|
|
1673
|
+
const { extensions: n } = Fe(), {
|
|
1631
1674
|
totalPlugins: r,
|
|
1632
1675
|
extensionPointsWithPlugins: o,
|
|
1633
1676
|
totalExtensionPoints: i,
|
|
1634
|
-
simplifiedExtensionPoints:
|
|
1635
|
-
legacyExtensionPoints:
|
|
1677
|
+
simplifiedExtensionPoints: s,
|
|
1678
|
+
legacyExtensionPoints: c,
|
|
1636
1679
|
deprecatedExtensionPoints: f
|
|
1637
1680
|
} = e, u = () => {
|
|
1638
1681
|
try {
|
|
1639
|
-
const
|
|
1682
|
+
const d = Ut.generateFullDocumentation(
|
|
1640
1683
|
n,
|
|
1641
1684
|
{
|
|
1642
1685
|
includeUsageExamples: !0,
|
|
@@ -1644,46 +1687,46 @@ const Er = ({
|
|
|
1644
1687
|
includeLegacyExtensions: !0,
|
|
1645
1688
|
includePluginHealth: !0
|
|
1646
1689
|
}
|
|
1647
|
-
),
|
|
1690
|
+
), a = new Blob([d.content], { type: "text/markdown" }), x = URL.createObjectURL(a), b = document.createElement("a");
|
|
1648
1691
|
b.href = x, b.download = `kos-extension-points-${(/* @__PURE__ */ new Date()).toISOString().split("T")[0]}.md`, document.body.appendChild(b), b.click(), document.body.removeChild(b), URL.revokeObjectURL(x);
|
|
1649
|
-
} catch (
|
|
1650
|
-
console.error("Failed to generate documentation:",
|
|
1692
|
+
} catch (d) {
|
|
1693
|
+
console.error("Failed to generate documentation:", d);
|
|
1651
1694
|
}
|
|
1652
1695
|
};
|
|
1653
|
-
return /* @__PURE__ */ g(
|
|
1654
|
-
/* @__PURE__ */
|
|
1655
|
-
/* @__PURE__ */ g(
|
|
1656
|
-
/* @__PURE__ */ g(
|
|
1657
|
-
/* @__PURE__ */
|
|
1696
|
+
return /* @__PURE__ */ g($r, { className: t, children: [
|
|
1697
|
+
/* @__PURE__ */ l(Rr, { children: "System Health" }),
|
|
1698
|
+
/* @__PURE__ */ g(Xe, { children: [
|
|
1699
|
+
/* @__PURE__ */ g(ee, { children: [
|
|
1700
|
+
/* @__PURE__ */ l(_r, { status: "healthy" }),
|
|
1658
1701
|
/* @__PURE__ */ g("span", { children: [
|
|
1659
1702
|
r,
|
|
1660
1703
|
" plugins"
|
|
1661
1704
|
] })
|
|
1662
1705
|
] }),
|
|
1663
|
-
/* @__PURE__ */
|
|
1706
|
+
/* @__PURE__ */ l(ee, { children: /* @__PURE__ */ g("span", { children: [
|
|
1664
1707
|
o,
|
|
1665
1708
|
"/",
|
|
1666
1709
|
i,
|
|
1667
1710
|
" active"
|
|
1668
1711
|
] }) })
|
|
1669
1712
|
] }),
|
|
1670
|
-
/* @__PURE__ */ g(
|
|
1671
|
-
/* @__PURE__ */ g(
|
|
1672
|
-
/* @__PURE__ */
|
|
1673
|
-
/* @__PURE__ */
|
|
1713
|
+
/* @__PURE__ */ g(Xe, { children: [
|
|
1714
|
+
/* @__PURE__ */ g(ee, { children: [
|
|
1715
|
+
/* @__PURE__ */ l(Ee, { variant: "simplified", children: s }),
|
|
1716
|
+
/* @__PURE__ */ l("span", { children: "simplified" })
|
|
1674
1717
|
] }),
|
|
1675
|
-
/* @__PURE__ */ g(
|
|
1676
|
-
/* @__PURE__ */
|
|
1677
|
-
/* @__PURE__ */
|
|
1718
|
+
/* @__PURE__ */ g(ee, { children: [
|
|
1719
|
+
/* @__PURE__ */ l(Ee, { variant: "legacy", children: c }),
|
|
1720
|
+
/* @__PURE__ */ l("span", { children: "legacy" })
|
|
1678
1721
|
] }),
|
|
1679
|
-
f > 0 && /* @__PURE__ */ g(
|
|
1680
|
-
/* @__PURE__ */
|
|
1681
|
-
/* @__PURE__ */
|
|
1722
|
+
f > 0 && /* @__PURE__ */ g(ee, { children: [
|
|
1723
|
+
/* @__PURE__ */ l(Ee, { variant: "deprecated", children: f }),
|
|
1724
|
+
/* @__PURE__ */ l("span", { children: "deprecated" })
|
|
1682
1725
|
] })
|
|
1683
1726
|
] }),
|
|
1684
|
-
/* @__PURE__ */
|
|
1727
|
+
/* @__PURE__ */ l(Tr, { onClick: u, children: "Export Documentation" })
|
|
1685
1728
|
] });
|
|
1686
|
-
},
|
|
1729
|
+
}, we = h.div`
|
|
1687
1730
|
display: flex;
|
|
1688
1731
|
width: 100%;
|
|
1689
1732
|
height: 100%;
|
|
@@ -1695,7 +1738,7 @@ const Er = ({
|
|
|
1695
1738
|
sans-serif;
|
|
1696
1739
|
background: white;
|
|
1697
1740
|
container-type: inline-size; /* Enable container queries */
|
|
1698
|
-
`,
|
|
1741
|
+
`, Ar = h.div`
|
|
1699
1742
|
flex: 0 0 35%; /* Take 35% of container width */
|
|
1700
1743
|
min-width: 280px; /* Minimum usable width */
|
|
1701
1744
|
max-width: 400px; /* Maximum width to prevent too wide */
|
|
@@ -1710,7 +1753,7 @@ const Er = ({
|
|
|
1710
1753
|
max-width: 100%;
|
|
1711
1754
|
border-right: none;
|
|
1712
1755
|
}
|
|
1713
|
-
`,
|
|
1756
|
+
`, Nr = h.div`
|
|
1714
1757
|
flex: 1;
|
|
1715
1758
|
min-width: 0; /* Allows flex child to shrink below content size */
|
|
1716
1759
|
display: flex;
|
|
@@ -1721,24 +1764,24 @@ const Er = ({
|
|
|
1721
1764
|
@media (max-width: 768px) {
|
|
1722
1765
|
display: none; /* We'll add mobile navigation later if needed */
|
|
1723
1766
|
}
|
|
1724
|
-
`,
|
|
1767
|
+
`, zr = h.div`
|
|
1725
1768
|
padding: 16px;
|
|
1726
1769
|
border-bottom: 1px solid #e1e5e9;
|
|
1727
1770
|
background: #f6f8fa;
|
|
1728
|
-
`,
|
|
1771
|
+
`, Fr = h.h4`
|
|
1729
1772
|
margin: 0 0 8px 0;
|
|
1730
1773
|
font-size: 16px;
|
|
1731
1774
|
font-weight: 600;
|
|
1732
1775
|
color: #24292f;
|
|
1733
|
-
`,
|
|
1776
|
+
`, Lr = h.p`
|
|
1734
1777
|
margin: 0;
|
|
1735
1778
|
font-size: 14px;
|
|
1736
1779
|
color: #656d76;
|
|
1737
|
-
`,
|
|
1780
|
+
`, Or = h.div`
|
|
1738
1781
|
flex: 1;
|
|
1739
1782
|
padding: 16px;
|
|
1740
1783
|
overflow-y: auto;
|
|
1741
|
-
`,
|
|
1784
|
+
`, Dr = h.div`
|
|
1742
1785
|
display: flex;
|
|
1743
1786
|
flex-direction: column;
|
|
1744
1787
|
gap: 12px;
|
|
@@ -1751,51 +1794,51 @@ const Er = ({
|
|
|
1751
1794
|
height: 100%;
|
|
1752
1795
|
color: #656d76;
|
|
1753
1796
|
text-align: center;
|
|
1754
|
-
`,
|
|
1797
|
+
`, Ir = h.div`
|
|
1755
1798
|
margin-top: 16px;
|
|
1756
1799
|
padding-top: 16px;
|
|
1757
1800
|
border-top: 1px solid #e1e5e9;
|
|
1758
|
-
`,
|
|
1801
|
+
`, Vr = h.h5`
|
|
1759
1802
|
margin: 0 0 8px 0;
|
|
1760
1803
|
font-size: 14px;
|
|
1761
1804
|
font-weight: 600;
|
|
1762
1805
|
color: #24292f;
|
|
1763
|
-
`,
|
|
1806
|
+
`, jr = h.div`
|
|
1764
1807
|
display: grid;
|
|
1765
1808
|
grid-template-columns: auto 1fr;
|
|
1766
1809
|
gap: 8px 16px;
|
|
1767
1810
|
font-size: 12px;
|
|
1768
|
-
`,
|
|
1811
|
+
`, H = h.div`
|
|
1769
1812
|
color: #656d76;
|
|
1770
1813
|
font-weight: 500;
|
|
1771
|
-
`,
|
|
1814
|
+
`, U = h.div`
|
|
1772
1815
|
color: #24292f;
|
|
1773
|
-
`,
|
|
1816
|
+
`, Br = ({
|
|
1774
1817
|
className: e,
|
|
1775
1818
|
showLegacyExtensions: t = !0,
|
|
1776
1819
|
extensionFilter: n = ""
|
|
1777
1820
|
}) => {
|
|
1778
1821
|
const [r, o] = B(
|
|
1779
1822
|
null
|
|
1780
|
-
), [i,
|
|
1823
|
+
), [i, s] = B(n), { filteredExtensionPoints: c, healthStats: f, isLoading: u, error: d } = dr(i, {
|
|
1781
1824
|
includeLegacyExtensions: t
|
|
1782
|
-
}),
|
|
1825
|
+
}), a = c.find(
|
|
1783
1826
|
(y) => y.id === r
|
|
1784
1827
|
), x = (y) => {
|
|
1785
1828
|
o(y);
|
|
1786
1829
|
}, b = (y) => {
|
|
1787
|
-
|
|
1830
|
+
s(y);
|
|
1788
1831
|
};
|
|
1789
|
-
return
|
|
1832
|
+
return d ? /* @__PURE__ */ l(we, { className: e, children: /* @__PURE__ */ l(de, { children: /* @__PURE__ */ g("div", { children: [
|
|
1790
1833
|
"Error loading plugins: ",
|
|
1791
|
-
|
|
1792
|
-
] }) }) }) : u ? /* @__PURE__ */
|
|
1793
|
-
/* @__PURE__ */ g(
|
|
1794
|
-
/* @__PURE__ */
|
|
1795
|
-
/* @__PURE__ */
|
|
1796
|
-
|
|
1834
|
+
d.message
|
|
1835
|
+
] }) }) }) : u ? /* @__PURE__ */ l(we, { className: e, children: /* @__PURE__ */ l(de, { children: /* @__PURE__ */ l("div", { children: "Loading plugins..." }) }) }) : /* @__PURE__ */ g(we, { className: e, children: [
|
|
1836
|
+
/* @__PURE__ */ g(Ar, { children: [
|
|
1837
|
+
/* @__PURE__ */ l(Mr, { healthStats: f }),
|
|
1838
|
+
/* @__PURE__ */ l(
|
|
1839
|
+
lr,
|
|
1797
1840
|
{
|
|
1798
|
-
extensionPoints:
|
|
1841
|
+
extensionPoints: c,
|
|
1799
1842
|
selectedExtensionId: r,
|
|
1800
1843
|
onExtensionSelect: x,
|
|
1801
1844
|
searchTerm: i,
|
|
@@ -1803,13 +1846,13 @@ const Er = ({
|
|
|
1803
1846
|
}
|
|
1804
1847
|
)
|
|
1805
1848
|
] }),
|
|
1806
|
-
/* @__PURE__ */
|
|
1807
|
-
/* @__PURE__ */ g(
|
|
1808
|
-
/* @__PURE__ */
|
|
1809
|
-
|
|
1849
|
+
/* @__PURE__ */ l(Nr, { children: a ? /* @__PURE__ */ g(K, { children: [
|
|
1850
|
+
/* @__PURE__ */ g(zr, { children: [
|
|
1851
|
+
/* @__PURE__ */ l(Fr, { children: a.displayName || a.id }),
|
|
1852
|
+
a.description && /* @__PURE__ */ l(Lr, { children: a.description })
|
|
1810
1853
|
] }),
|
|
1811
|
-
/* @__PURE__ */ g(
|
|
1812
|
-
|
|
1854
|
+
/* @__PURE__ */ g(Or, { children: [
|
|
1855
|
+
a.plugins.length > 0 ? /* @__PURE__ */ g(K, { children: [
|
|
1813
1856
|
/* @__PURE__ */ g(
|
|
1814
1857
|
"h5",
|
|
1815
1858
|
{
|
|
@@ -1820,22 +1863,22 @@ const Er = ({
|
|
|
1820
1863
|
},
|
|
1821
1864
|
children: [
|
|
1822
1865
|
"Active Plugins (",
|
|
1823
|
-
|
|
1866
|
+
a.pluginCount,
|
|
1824
1867
|
")"
|
|
1825
1868
|
]
|
|
1826
1869
|
}
|
|
1827
1870
|
),
|
|
1828
|
-
/* @__PURE__ */
|
|
1829
|
-
|
|
1871
|
+
/* @__PURE__ */ l(Dr, { children: a.plugins.map((y) => /* @__PURE__ */ l(
|
|
1872
|
+
kr,
|
|
1830
1873
|
{
|
|
1831
1874
|
plugin: y,
|
|
1832
|
-
extensionPointId:
|
|
1875
|
+
extensionPointId: a.id
|
|
1833
1876
|
},
|
|
1834
1877
|
y.id
|
|
1835
1878
|
)) })
|
|
1836
1879
|
] }) : /* @__PURE__ */ g(de, { children: [
|
|
1837
|
-
/* @__PURE__ */
|
|
1838
|
-
/* @__PURE__ */
|
|
1880
|
+
/* @__PURE__ */ l("div", { style: { fontSize: "48px", marginBottom: "12px" }, children: "🔌" }),
|
|
1881
|
+
/* @__PURE__ */ l(
|
|
1839
1882
|
"div",
|
|
1840
1883
|
{
|
|
1841
1884
|
style: {
|
|
@@ -1846,47 +1889,47 @@ const Er = ({
|
|
|
1846
1889
|
children: "No plugins registered"
|
|
1847
1890
|
}
|
|
1848
1891
|
),
|
|
1849
|
-
/* @__PURE__ */
|
|
1892
|
+
/* @__PURE__ */ l("div", { style: { fontSize: "14px" }, children: "This extension point is available but no plugins are currently contributing to it." })
|
|
1850
1893
|
] }),
|
|
1851
|
-
|
|
1852
|
-
/* @__PURE__ */
|
|
1853
|
-
/* @__PURE__ */ g(
|
|
1854
|
-
/* @__PURE__ */
|
|
1855
|
-
/* @__PURE__ */
|
|
1856
|
-
/* @__PURE__ */
|
|
1857
|
-
/* @__PURE__ */
|
|
1858
|
-
|
|
1859
|
-
/* @__PURE__ */
|
|
1860
|
-
/* @__PURE__ */
|
|
1894
|
+
a.metadata && /* @__PURE__ */ g(Ir, { children: [
|
|
1895
|
+
/* @__PURE__ */ l(Vr, { children: "Extension Point Details" }),
|
|
1896
|
+
/* @__PURE__ */ g(jr, { children: [
|
|
1897
|
+
/* @__PURE__ */ l(H, { children: "ID:" }),
|
|
1898
|
+
/* @__PURE__ */ l(U, { children: a.id }),
|
|
1899
|
+
/* @__PURE__ */ l(H, { children: "Source:" }),
|
|
1900
|
+
/* @__PURE__ */ l(U, { children: a.source }),
|
|
1901
|
+
a.metadata.category && /* @__PURE__ */ g(K, { children: [
|
|
1902
|
+
/* @__PURE__ */ l(H, { children: "Category:" }),
|
|
1903
|
+
/* @__PURE__ */ l(U, { children: a.metadata.category })
|
|
1861
1904
|
] }),
|
|
1862
|
-
|
|
1863
|
-
/* @__PURE__ */
|
|
1864
|
-
/* @__PURE__ */
|
|
1905
|
+
a.metadata.owner && /* @__PURE__ */ g(K, { children: [
|
|
1906
|
+
/* @__PURE__ */ l(H, { children: "Owner:" }),
|
|
1907
|
+
/* @__PURE__ */ l(U, { children: a.metadata.owner })
|
|
1865
1908
|
] }),
|
|
1866
|
-
|
|
1867
|
-
/* @__PURE__ */
|
|
1868
|
-
/* @__PURE__ */
|
|
1909
|
+
a.metadata.since && /* @__PURE__ */ g(K, { children: [
|
|
1910
|
+
/* @__PURE__ */ l(H, { children: "Since:" }),
|
|
1911
|
+
/* @__PURE__ */ l(U, { children: a.metadata.since })
|
|
1869
1912
|
] }),
|
|
1870
|
-
|
|
1871
|
-
/* @__PURE__ */
|
|
1872
|
-
/* @__PURE__ */
|
|
1913
|
+
a.metadata.tags && a.metadata.tags.length > 0 && /* @__PURE__ */ g(K, { children: [
|
|
1914
|
+
/* @__PURE__ */ l(H, { children: "Tags:" }),
|
|
1915
|
+
/* @__PURE__ */ l(U, { children: a.metadata.tags.join(", ") })
|
|
1873
1916
|
] })
|
|
1874
1917
|
] })
|
|
1875
1918
|
] })
|
|
1876
1919
|
] })
|
|
1877
1920
|
] }) : /* @__PURE__ */ g(de, { children: [
|
|
1878
|
-
/* @__PURE__ */
|
|
1879
|
-
/* @__PURE__ */
|
|
1921
|
+
/* @__PURE__ */ l("div", { style: { fontSize: "48px", marginBottom: "12px" }, children: "🔍" }),
|
|
1922
|
+
/* @__PURE__ */ l(
|
|
1880
1923
|
"div",
|
|
1881
1924
|
{
|
|
1882
1925
|
style: { fontSize: "16px", fontWeight: 500, marginBottom: "8px" },
|
|
1883
1926
|
children: "Select an extension point"
|
|
1884
1927
|
}
|
|
1885
1928
|
),
|
|
1886
|
-
/* @__PURE__ */
|
|
1929
|
+
/* @__PURE__ */ l("div", { style: { fontSize: "14px" }, children: "Choose an extension point from the sidebar to view its plugins and details." })
|
|
1887
1930
|
] }) })
|
|
1888
1931
|
] });
|
|
1889
|
-
},
|
|
1932
|
+
}, Kr = h.div`
|
|
1890
1933
|
position: fixed;
|
|
1891
1934
|
top: 0;
|
|
1892
1935
|
left: 0;
|
|
@@ -1899,7 +1942,7 @@ const Er = ({
|
|
|
1899
1942
|
justify-content: center;
|
|
1900
1943
|
padding: 20px;
|
|
1901
1944
|
box-sizing: border-box;
|
|
1902
|
-
`,
|
|
1945
|
+
`, Yr = h.div`
|
|
1903
1946
|
background: white;
|
|
1904
1947
|
border-radius: 12px;
|
|
1905
1948
|
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
|
|
@@ -1909,19 +1952,19 @@ const Er = ({
|
|
|
1909
1952
|
position: relative;
|
|
1910
1953
|
display: flex;
|
|
1911
1954
|
flex-direction: column;
|
|
1912
|
-
`,
|
|
1955
|
+
`, Wr = h.div`
|
|
1913
1956
|
display: flex;
|
|
1914
1957
|
align-items: center;
|
|
1915
1958
|
justify-content: space-between;
|
|
1916
1959
|
padding: 16px 20px;
|
|
1917
1960
|
border-bottom: 1px solid #e1e5e9;
|
|
1918
1961
|
background: #f6f8fa;
|
|
1919
|
-
`,
|
|
1962
|
+
`, Hr = h.h3`
|
|
1920
1963
|
margin: 0;
|
|
1921
1964
|
font-size: 18px;
|
|
1922
1965
|
font-weight: 600;
|
|
1923
1966
|
color: #24292f;
|
|
1924
|
-
`,
|
|
1967
|
+
`, Ur = h.button`
|
|
1925
1968
|
background: none;
|
|
1926
1969
|
border: none;
|
|
1927
1970
|
font-size: 20px;
|
|
@@ -1934,7 +1977,7 @@ const Er = ({
|
|
|
1934
1977
|
background: #f0f0f0;
|
|
1935
1978
|
color: #24292f;
|
|
1936
1979
|
}
|
|
1937
|
-
`,
|
|
1980
|
+
`, Gr = h.button`
|
|
1938
1981
|
position: fixed;
|
|
1939
1982
|
${(e) => {
|
|
1940
1983
|
switch (e.position) {
|
|
@@ -1975,47 +2018,47 @@ const Er = ({
|
|
|
1975
2018
|
&:active {
|
|
1976
2019
|
transform: scale(0.95);
|
|
1977
2020
|
}
|
|
1978
|
-
`,
|
|
2021
|
+
`, qr = h.div`
|
|
1979
2022
|
font-size: 12px;
|
|
1980
2023
|
color: #656d76;
|
|
1981
2024
|
margin-left: 8px;
|
|
1982
|
-
`,
|
|
2025
|
+
`, oo = ({
|
|
1983
2026
|
keyboardShortcut: e = "ctrl+shift+p",
|
|
1984
2027
|
showToggleButton: t = !0,
|
|
1985
2028
|
toggleButtonPosition: n = "bottom-right",
|
|
1986
2029
|
...r
|
|
1987
2030
|
}) => {
|
|
1988
2031
|
const [o, i] = B(!1);
|
|
1989
|
-
|
|
2032
|
+
W(() => {
|
|
1990
2033
|
const f = (u) => {
|
|
1991
|
-
const
|
|
2034
|
+
const a = e.toLowerCase().split("+").map((y) => y.trim());
|
|
1992
2035
|
let x = !0;
|
|
1993
|
-
|
|
1994
|
-
const b =
|
|
2036
|
+
a.includes("ctrl") && !u.ctrlKey && (x = !1), a.includes("shift") && !u.shiftKey && (x = !1), a.includes("alt") && !u.altKey && (x = !1), a.includes("meta") && !u.metaKey && (x = !1);
|
|
2037
|
+
const b = a.find(
|
|
1995
2038
|
(y) => !["ctrl", "shift", "alt", "meta"].includes(y)
|
|
1996
2039
|
);
|
|
1997
2040
|
b && u.key.toLowerCase() !== b.toLowerCase() && (x = !1), x && (u.preventDefault(), i((y) => !y));
|
|
1998
2041
|
};
|
|
1999
2042
|
return document.addEventListener("keydown", f), () => document.removeEventListener("keydown", f);
|
|
2000
|
-
}, [e]),
|
|
2043
|
+
}, [e]), W(() => {
|
|
2001
2044
|
const f = (u) => {
|
|
2002
2045
|
u.key === "Escape" && o && i(!1);
|
|
2003
2046
|
};
|
|
2004
2047
|
return document.addEventListener("keydown", f), () => document.removeEventListener("keydown", f);
|
|
2005
2048
|
}, [o]);
|
|
2006
|
-
const
|
|
2049
|
+
const s = () => {
|
|
2007
2050
|
i((f) => !f);
|
|
2008
|
-
},
|
|
2051
|
+
}, c = (f) => {
|
|
2009
2052
|
f.target === f.currentTarget && i(!1);
|
|
2010
2053
|
};
|
|
2011
2054
|
return process.env.NODE_ENV !== "development" ? null : /* @__PURE__ */ g(K, { children: [
|
|
2012
|
-
t && /* @__PURE__ */
|
|
2013
|
-
|
|
2055
|
+
t && /* @__PURE__ */ l(
|
|
2056
|
+
Gr,
|
|
2014
2057
|
{
|
|
2015
2058
|
position: n,
|
|
2016
|
-
onClick:
|
|
2059
|
+
onClick: s,
|
|
2017
2060
|
title: `Plugin Explorer (${e})`,
|
|
2018
|
-
children: /* @__PURE__ */
|
|
2061
|
+
children: /* @__PURE__ */ l(
|
|
2019
2062
|
"svg",
|
|
2020
2063
|
{
|
|
2021
2064
|
fill: "#ffffff",
|
|
@@ -2026,7 +2069,7 @@ const Er = ({
|
|
|
2026
2069
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2027
2070
|
viewBox: "0 0 512 512",
|
|
2028
2071
|
style: { display: "block" },
|
|
2029
|
-
children: /* @__PURE__ */
|
|
2072
|
+
children: /* @__PURE__ */ l("g", { children: /* @__PURE__ */ l(
|
|
2030
2073
|
"path",
|
|
2031
2074
|
{
|
|
2032
2075
|
fill: "#ffffff",
|
|
@@ -2048,115 +2091,172 @@ const Er = ({
|
|
|
2048
2091
|
)
|
|
2049
2092
|
}
|
|
2050
2093
|
),
|
|
2051
|
-
/* @__PURE__ */
|
|
2052
|
-
/* @__PURE__ */ g(
|
|
2094
|
+
/* @__PURE__ */ l(Kr, { visible: o, onClick: c, children: /* @__PURE__ */ g(Yr, { children: [
|
|
2095
|
+
/* @__PURE__ */ g(Wr, { children: [
|
|
2053
2096
|
/* @__PURE__ */ g("div", { style: { display: "flex", alignItems: "center" }, children: [
|
|
2054
|
-
/* @__PURE__ */
|
|
2055
|
-
/* @__PURE__ */ g(
|
|
2097
|
+
/* @__PURE__ */ l(Hr, { children: "KOS Plugin Explorer" }),
|
|
2098
|
+
/* @__PURE__ */ g(qr, { children: [
|
|
2056
2099
|
e,
|
|
2057
2100
|
" to toggle"
|
|
2058
2101
|
] })
|
|
2059
2102
|
] }),
|
|
2060
|
-
/* @__PURE__ */
|
|
2103
|
+
/* @__PURE__ */ l(Ur, { onClick: () => i(!1), "aria-label": "Close", children: "×" })
|
|
2061
2104
|
] }),
|
|
2062
|
-
/* @__PURE__ */
|
|
2105
|
+
/* @__PURE__ */ l(Br, { ...r })
|
|
2063
2106
|
] }) })
|
|
2064
2107
|
] });
|
|
2065
2108
|
};
|
|
2066
|
-
function
|
|
2067
|
-
|
|
2068
|
-
|
|
2109
|
+
function io(e) {
|
|
2110
|
+
return Y.useMemo(() => {
|
|
2111
|
+
if (!e.config.hasView)
|
|
2112
|
+
return null;
|
|
2113
|
+
const t = (n) => {
|
|
2114
|
+
const { module: r, fallback: o, ...i } = n;
|
|
2115
|
+
return Y.createElement(ze, {
|
|
2116
|
+
extension: e.id,
|
|
2117
|
+
module: r,
|
|
2118
|
+
fallback: o,
|
|
2119
|
+
props: i
|
|
2120
|
+
});
|
|
2121
|
+
};
|
|
2122
|
+
return t.displayName = `${e.config.displayName || e.id}.Component`, t;
|
|
2123
|
+
}, [e]);
|
|
2124
|
+
}
|
|
2125
|
+
function so(e) {
|
|
2126
|
+
if (!e.config.hasView)
|
|
2127
|
+
return null;
|
|
2128
|
+
const t = (n) => {
|
|
2129
|
+
const { module: r, fallback: o, ...i } = n;
|
|
2130
|
+
return Y.createElement(ze, {
|
|
2131
|
+
extension: e.id,
|
|
2132
|
+
module: r,
|
|
2133
|
+
fallback: o,
|
|
2134
|
+
props: i
|
|
2135
|
+
});
|
|
2136
|
+
};
|
|
2137
|
+
return t.displayName = `${e.config.displayName || e.id}.Component`, t;
|
|
2138
|
+
}
|
|
2139
|
+
function Zr(e) {
|
|
2140
|
+
return Y.useMemo(() => {
|
|
2141
|
+
const n = _e().getExtensionPoint(e);
|
|
2142
|
+
if (!n)
|
|
2143
|
+
return console.warn(`Extension point not found: ${e}`), null;
|
|
2144
|
+
if (!n.config.hasView)
|
|
2145
|
+
return null;
|
|
2146
|
+
const r = (o) => {
|
|
2147
|
+
const { module: i, fallback: s, ...c } = o;
|
|
2148
|
+
return Y.createElement(ze, {
|
|
2149
|
+
extension: e,
|
|
2150
|
+
module: i,
|
|
2151
|
+
fallback: s,
|
|
2152
|
+
props: c
|
|
2153
|
+
});
|
|
2154
|
+
};
|
|
2155
|
+
return r.displayName = `${n.config.displayName || e}.Component`, r;
|
|
2156
|
+
}, [e]);
|
|
2157
|
+
}
|
|
2158
|
+
function X(e) {
|
|
2159
|
+
const t = typeof e == "object" ? e.id : e, { extensions: n } = mt(
|
|
2160
|
+
t,
|
|
2161
|
+
{
|
|
2162
|
+
includeDisabled: !1,
|
|
2163
|
+
// Only get enabled contributions
|
|
2164
|
+
autoResolve: !1
|
|
2165
|
+
}
|
|
2166
|
+
);
|
|
2167
|
+
return O(() => {
|
|
2069
2168
|
if (typeof e == "object" && e.id) {
|
|
2070
|
-
const
|
|
2071
|
-
if (
|
|
2072
|
-
const
|
|
2073
|
-
|
|
2169
|
+
const r = e;
|
|
2170
|
+
if (r.getExtensions) {
|
|
2171
|
+
const o = r.getExtensions({
|
|
2172
|
+
[r.id]: n
|
|
2173
|
+
});
|
|
2174
|
+
return Object.values(o);
|
|
2074
2175
|
}
|
|
2075
|
-
const i = (t == null ? void 0 : t[o.id]) || {};
|
|
2076
2176
|
return Object.values(
|
|
2077
|
-
|
|
2177
|
+
n
|
|
2078
2178
|
);
|
|
2079
2179
|
}
|
|
2080
|
-
return n
|
|
2081
|
-
}, [e,
|
|
2180
|
+
return Object.values(n);
|
|
2181
|
+
}, [e, n]);
|
|
2082
2182
|
}
|
|
2083
|
-
function
|
|
2084
|
-
const { extensions: n } =
|
|
2085
|
-
return
|
|
2183
|
+
function ao(e, t) {
|
|
2184
|
+
const { extensions: n } = Fe(), r = X(e);
|
|
2185
|
+
return O(() => {
|
|
2086
2186
|
if (!r || r.length === 0)
|
|
2087
2187
|
return null;
|
|
2088
2188
|
if (t != null && t.customRanker)
|
|
2089
2189
|
return t.customRanker(r);
|
|
2090
2190
|
if (typeof e == "object" && t) {
|
|
2091
|
-
let
|
|
2092
|
-
if (t.propertyMatches && (
|
|
2191
|
+
let c = r;
|
|
2192
|
+
if (t.propertyMatches && (c = c.filter(
|
|
2093
2193
|
(u) => Object.entries(t.propertyMatches).every(
|
|
2094
|
-
([
|
|
2194
|
+
([d, a]) => {
|
|
2095
2195
|
var x;
|
|
2096
|
-
return ((x = u.data) == null ? void 0 : x[
|
|
2196
|
+
return ((x = u.data) == null ? void 0 : x[d]) === a;
|
|
2097
2197
|
}
|
|
2098
2198
|
)
|
|
2099
2199
|
)), t.preferredModule) {
|
|
2100
|
-
const u =
|
|
2101
|
-
(
|
|
2200
|
+
const u = c.find(
|
|
2201
|
+
(d) => d.sectionId === t.preferredModule
|
|
2102
2202
|
);
|
|
2103
2203
|
if (u)
|
|
2104
2204
|
return u;
|
|
2105
2205
|
}
|
|
2106
|
-
const f =
|
|
2107
|
-
return
|
|
2206
|
+
const f = c.reduce((u, d) => (u[d.id] = d, u), {});
|
|
2207
|
+
return ne(f);
|
|
2108
2208
|
}
|
|
2109
2209
|
const o = typeof e == "string" ? e : e.id, i = (n == null ? void 0 : n[o]) || {};
|
|
2110
|
-
return
|
|
2210
|
+
return ne(i, t == null ? void 0 : t.preferredModule);
|
|
2111
2211
|
}, [e, r, n, t]);
|
|
2112
2212
|
}
|
|
2113
|
-
function
|
|
2114
|
-
return
|
|
2213
|
+
function co(e) {
|
|
2214
|
+
return X(e).length > 0;
|
|
2115
2215
|
}
|
|
2116
|
-
function
|
|
2117
|
-
return
|
|
2216
|
+
function lo(e) {
|
|
2217
|
+
return X(e).length;
|
|
2118
2218
|
}
|
|
2119
|
-
function
|
|
2120
|
-
const n =
|
|
2121
|
-
return
|
|
2219
|
+
function fo(e, t) {
|
|
2220
|
+
const n = X(e);
|
|
2221
|
+
return O(() => {
|
|
2122
2222
|
let r = n.filter(t.filter);
|
|
2123
2223
|
return t.sort && (r = r.sort(t.sort)), r;
|
|
2124
2224
|
}, [n, t.filter, t.sort]);
|
|
2125
2225
|
}
|
|
2126
|
-
function
|
|
2127
|
-
const n =
|
|
2226
|
+
function uo(e, t) {
|
|
2227
|
+
const n = X(e), [r, o] = B(/* @__PURE__ */ new Map()), i = O(
|
|
2128
2228
|
() => t != null && t.filter ? n.filter(t.filter) : n,
|
|
2129
2229
|
[n, t == null ? void 0 : t.filter]
|
|
2130
|
-
),
|
|
2131
|
-
return
|
|
2230
|
+
), s = (t == null ? void 0 : t.moduleProperty) || "module";
|
|
2231
|
+
return W(() => {
|
|
2132
2232
|
(async () => {
|
|
2133
2233
|
var f;
|
|
2134
2234
|
for (const u of i) {
|
|
2135
|
-
const
|
|
2136
|
-
if (!r.has(
|
|
2235
|
+
const d = u.id;
|
|
2236
|
+
if (!r.has(d)) {
|
|
2137
2237
|
o(
|
|
2138
|
-
(
|
|
2238
|
+
(a) => new Map(a).set(d, {
|
|
2139
2239
|
module: null,
|
|
2140
2240
|
loading: !0,
|
|
2141
2241
|
error: null
|
|
2142
2242
|
})
|
|
2143
2243
|
);
|
|
2144
2244
|
try {
|
|
2145
|
-
const
|
|
2245
|
+
const a = ((f = u.data) == null ? void 0 : f[s]) || u[s] || `./${u.id}`, x = u.remote;
|
|
2146
2246
|
if (!x)
|
|
2147
|
-
throw new Error(`No remote specified for extension ${
|
|
2148
|
-
const { loadRemoteModule: b } = await import("./documentation-generator-
|
|
2247
|
+
throw new Error(`No remote specified for extension ${d}`);
|
|
2248
|
+
const { loadRemoteModule: b } = await import("./documentation-generator-Di4c9D9P.js").then((v) => v.i), y = await b(x, a);
|
|
2149
2249
|
o(
|
|
2150
|
-
(
|
|
2250
|
+
(v) => new Map(v).set(d, {
|
|
2151
2251
|
module: y,
|
|
2152
2252
|
loading: !1,
|
|
2153
2253
|
error: null
|
|
2154
2254
|
})
|
|
2155
2255
|
);
|
|
2156
|
-
} catch (
|
|
2157
|
-
const x =
|
|
2256
|
+
} catch (a) {
|
|
2257
|
+
const x = a instanceof Error ? a.message : "Unknown error";
|
|
2158
2258
|
o(
|
|
2159
|
-
(b) => new Map(b).set(
|
|
2259
|
+
(b) => new Map(b).set(d, {
|
|
2160
2260
|
module: null,
|
|
2161
2261
|
loading: !1,
|
|
2162
2262
|
error: x
|
|
@@ -2166,15 +2266,15 @@ function io(e, t) {
|
|
|
2166
2266
|
}
|
|
2167
2267
|
}
|
|
2168
2268
|
})();
|
|
2169
|
-
}, [i,
|
|
2170
|
-
() => i.map((
|
|
2171
|
-
const f = r.get(
|
|
2269
|
+
}, [i, s, r]), O(
|
|
2270
|
+
() => i.map((c) => {
|
|
2271
|
+
const f = r.get(c.id) || {
|
|
2172
2272
|
module: null,
|
|
2173
2273
|
loading: !0,
|
|
2174
2274
|
error: null
|
|
2175
2275
|
};
|
|
2176
2276
|
return {
|
|
2177
|
-
extension:
|
|
2277
|
+
extension: c,
|
|
2178
2278
|
module: f.module,
|
|
2179
2279
|
loading: f.loading,
|
|
2180
2280
|
error: f.error
|
|
@@ -2183,94 +2283,58 @@ function io(e, t) {
|
|
|
2183
2283
|
[i, r]
|
|
2184
2284
|
);
|
|
2185
2285
|
}
|
|
2186
|
-
function
|
|
2187
|
-
|
|
2188
|
-
if (!e.config.hasView)
|
|
2189
|
-
return null;
|
|
2190
|
-
const t = (n) => {
|
|
2191
|
-
const { module: r, fallback: o, ...i } = n;
|
|
2192
|
-
return Y.createElement(ze, {
|
|
2193
|
-
extension: e.id,
|
|
2194
|
-
module: r,
|
|
2195
|
-
fallback: o,
|
|
2196
|
-
props: i
|
|
2197
|
-
});
|
|
2198
|
-
};
|
|
2199
|
-
return t.displayName = `${e.config.displayName || e.id}.Component`, t;
|
|
2200
|
-
}, [e]);
|
|
2201
|
-
}
|
|
2202
|
-
function so(e) {
|
|
2203
|
-
if (!e.config.hasView)
|
|
2204
|
-
return null;
|
|
2205
|
-
const t = (n) => {
|
|
2206
|
-
const { module: r, fallback: o, ...i } = n;
|
|
2207
|
-
return Y.createElement(ze, {
|
|
2208
|
-
extension: e.id,
|
|
2209
|
-
module: r,
|
|
2210
|
-
fallback: o,
|
|
2211
|
-
props: i
|
|
2212
|
-
});
|
|
2213
|
-
};
|
|
2214
|
-
return t.displayName = `${e.config.displayName || e.id}.Component`, t;
|
|
2215
|
-
}
|
|
2216
|
-
function Hr(e) {
|
|
2217
|
-
return Y.useMemo(() => {
|
|
2218
|
-
const n = Te().getExtensionPoint(e);
|
|
2219
|
-
if (!n)
|
|
2220
|
-
return console.warn(`Extension point not found: ${e}`), null;
|
|
2221
|
-
if (!n.config.hasView)
|
|
2222
|
-
return null;
|
|
2223
|
-
const r = (o) => {
|
|
2224
|
-
const { module: i, fallback: a, ...d } = o;
|
|
2225
|
-
return Y.createElement(ze, {
|
|
2226
|
-
extension: e,
|
|
2227
|
-
module: i,
|
|
2228
|
-
fallback: a,
|
|
2229
|
-
props: d
|
|
2230
|
-
});
|
|
2231
|
-
};
|
|
2232
|
-
return r.displayName = `${n.config.displayName || e}.Component`, r;
|
|
2233
|
-
}, [e]);
|
|
2234
|
-
}
|
|
2235
|
-
function co(e, t) {
|
|
2236
|
-
const n = Z(e), r = Hr(e), o = (t == null ? void 0 : t.namespaceProperty) || "namespace", i = j(() => {
|
|
2286
|
+
function po(e, t) {
|
|
2287
|
+
const n = X(e), r = Zr(e), o = (t == null ? void 0 : t.namespaceProperty) || "namespace", i = O(() => {
|
|
2237
2288
|
const f = n.map((u) => {
|
|
2238
|
-
var
|
|
2239
|
-
return (
|
|
2289
|
+
var d;
|
|
2290
|
+
return (d = u.data) == null ? void 0 : d[o];
|
|
2240
2291
|
}).filter(Boolean);
|
|
2241
2292
|
return Array.from(new Set(f));
|
|
2242
|
-
}, [n, o]), { t:
|
|
2293
|
+
}, [n, o]), { t: s, i18n: c } = Gt(i);
|
|
2243
2294
|
return {
|
|
2244
2295
|
extensions: n,
|
|
2245
|
-
t:
|
|
2246
|
-
i18n:
|
|
2296
|
+
t: s,
|
|
2297
|
+
i18n: c,
|
|
2247
2298
|
Component: r,
|
|
2248
2299
|
namespaces: i
|
|
2249
2300
|
};
|
|
2250
2301
|
}
|
|
2251
2302
|
export {
|
|
2303
|
+
go as ContributionRegistry,
|
|
2252
2304
|
ze as DynamicComponent,
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2305
|
+
lr as ExtensionPointList,
|
|
2306
|
+
oo as FloatingPluginExplorer,
|
|
2307
|
+
no as KosPluginProvider,
|
|
2308
|
+
kr as PluginCard,
|
|
2309
|
+
Br as PluginExplorer,
|
|
2310
|
+
Mr as PluginHealthDashboard,
|
|
2311
|
+
Kt as ReactiveExtensionRegistry,
|
|
2312
|
+
ht as ReactiveExtensionRegistryContext,
|
|
2313
|
+
gt as RemotesContext,
|
|
2260
2314
|
so as createExtensionComponent,
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2315
|
+
xo as defineExtensionPoint,
|
|
2316
|
+
yo as generatePluginConfiguration,
|
|
2317
|
+
bo as getContributions,
|
|
2318
|
+
vo as getExtensions,
|
|
2319
|
+
Wt as initPluginManager,
|
|
2320
|
+
Yt as initializeKosPlugins,
|
|
2321
|
+
Eo as loadExtensions,
|
|
2322
|
+
ne as resolveBestExtension,
|
|
2323
|
+
ao as useBest,
|
|
2324
|
+
Zn as useDynamicComponent,
|
|
2325
|
+
io as useExtensionComponent,
|
|
2326
|
+
Zr as useExtensionComponentById,
|
|
2327
|
+
lo as useExtensionCount,
|
|
2328
|
+
po as useExtensionI18n,
|
|
2329
|
+
ro as useExtensionPoint,
|
|
2330
|
+
X as useExtensions,
|
|
2331
|
+
dr as useFilteredExtensionPoints,
|
|
2332
|
+
fo as useFilteredExtensions,
|
|
2333
|
+
co as useHasExtensions,
|
|
2334
|
+
Fe as useKosPluginsContext,
|
|
2335
|
+
uo as useModules,
|
|
2336
|
+
xt as usePluginDiscovery,
|
|
2337
|
+
Gn as useReactiveExtensionRegistry,
|
|
2338
|
+
mt as useReactiveExtensions
|
|
2275
2339
|
};
|
|
2276
2340
|
//# sourceMappingURL=index.js.map
|