@infinilabs/entity-ui 0.0.4 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/entity-ui.cjs +8 -8
- package/dist/entity-ui.js +416 -393
- package/dist/index.d.ts +4 -1
- package/package.json +5 -1
package/dist/entity-ui.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode("._entityCard_1xtgw_1{width:400px;padding:16px;overflow:auto;border-radius:5px;background-color:#fff;color:#101010;font-size:14px;text-align:center;box-shadow:0 0 10px #0000004d;font-family:-regular}._pcCover_1xtgw_15{display:flex;align-items:center;justify-content:center;margin-bottom:25px;overflow:hidden;border-radius:3px;background-color:#bbbbbbb0}._pcCover_1xtgw_15 img{width:100%;height:auto;display:block}._pcSection_1xtgw_31{width:100%;padding-bottom:16px;display:flex;align-items:center}._pcBreadcrumbSep_1xtgw_38{font-size:12px;color:#999}._pcBasic_1xtgw_43{display:flex;gap:8px;flex-wrap:wrap}._pcBasicRow_1xtgw_49{width:100%;display:flex;align-items:center;justify-content:space-between}._pcBasicRowLeft_1xtgw_56{display:flex;align-items:center;gap:8px}._pcLinkIconRight_1xtgw_61{display:flex;align-items:center;justify-content:center;width:30px;height:20px;text-decoration:none;background-color:#fafafa;border-radius:4px}._pcColorSwatch_1xtgw_72{width:7px;height:16px}._pcIconDot_1xtgw_77{width:18px;height:18px}._pcTitleLink_1xtgw_82{display:inline-flex;align-items:center;gap:8px;padding:2px 8px;border:2px solid #027ffe;border-radius:4px;color:#027ffe;font-weight:500;text-decoration:none;line-height:1.6}._pcTitleLink_1xtgw_82:hover{background:#1677ff0f}._pcTitleText_1xtgw_99{display:inline-flex;align-items:center;color:#027ffe;font-size:16px}._pcSubTitleText_1xtgw_106{display:inline-flex;align-items:center;color:#999;font-size:16px}._pcExternalIcon_1xtgw_113{font-size:12px;color:#027ffe;margin-left:2px}._pcProperties_1xtgw_119{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:8px;row-gap:12px;align-items:start}._pcProperty_1xtgw_127{display:flex;align-items:center;gap:4px;min-height:24px;min-width:0;box-sizing:border-box;font-size:12px;color:#999}._pcTagsRow_1xtgw_138{display:inline-flex;flex-wrap:wrap;gap:4px}._pcTag_1xtgw_138{padding:2px 6px;border-radius:4px;background:#f2f3f5;color:#555;font-size:12px}._pcDetails_1xtgw_151{width:100%;display:flex;flex-direction:column;gap:12px}._pcRow_1xtgw_157{display:grid;column-gap:8px;row-gap:12px;width:100%}._pcCol_1xtgw_72{width:100%;padding:10px 8px;box-sizing:border-box;display:flex;flex-direction:column;gap:4px;min-width:0;text-align:left;border-radius:5px;background-color:#fafafa;color:#101010;font-size:14px;font-family:-regular;border:1px solid rgba(245,245,245,1)}._pcColLabel_1xtgw_179{color:#999;font-size:12px}._pcColValue_1xtgw_183{font-size:16px;color:#027ffe}._pcProgressText_1xtgw_188{font-size:10px;color:#027ffe}._entityLabel_1xtgw_194{width:100%;overflow:hidden}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
-
import
|
|
3
|
-
import { Breadcrumb as
|
|
4
|
-
import * as
|
|
5
|
-
import { ExternalLink as
|
|
6
|
-
var
|
|
2
|
+
import Me, { useState as dr, useRef as _r } from "react";
|
|
3
|
+
import { Breadcrumb as br, Tag as Ue, Progress as wr, Button as Rr, Popover as jr, Skeleton as Er, Avatar as Ne } from "antd";
|
|
4
|
+
import * as Ve from "lucide-react";
|
|
5
|
+
import { ExternalLink as Cr, Tags as Tr } from "lucide-react";
|
|
6
|
+
var de = { exports: {} }, H = {};
|
|
7
7
|
/**
|
|
8
8
|
* @license React
|
|
9
9
|
* react-jsx-runtime.production.min.js
|
|
@@ -13,21 +13,21 @@ var be = { exports: {} }, X = {};
|
|
|
13
13
|
* This source code is licensed under the MIT license found in the
|
|
14
14
|
* LICENSE file in the root directory of this source tree.
|
|
15
15
|
*/
|
|
16
|
-
var
|
|
17
|
-
function
|
|
18
|
-
if (
|
|
19
|
-
|
|
20
|
-
var
|
|
21
|
-
function m(w, u,
|
|
22
|
-
var _,
|
|
23
|
-
|
|
24
|
-
for (_ in u) c.call(u, _) && !g.hasOwnProperty(_) && (
|
|
25
|
-
if (w && w.defaultProps) for (_ in u = w.defaultProps, u)
|
|
26
|
-
return { $$typeof: v, type: w, key:
|
|
16
|
+
var Le;
|
|
17
|
+
function Sr() {
|
|
18
|
+
if (Le) return H;
|
|
19
|
+
Le = 1;
|
|
20
|
+
var r = Me, v = Symbol.for("react.element"), f = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, s = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
21
|
+
function m(w, u, j) {
|
|
22
|
+
var _, T = {}, S = null, O = null;
|
|
23
|
+
j !== void 0 && (S = "" + j), u.key !== void 0 && (S = "" + u.key), u.ref !== void 0 && (O = u.ref);
|
|
24
|
+
for (_ in u) c.call(u, _) && !g.hasOwnProperty(_) && (T[_] = u[_]);
|
|
25
|
+
if (w && w.defaultProps) for (_ in u = w.defaultProps, u) T[_] === void 0 && (T[_] = u[_]);
|
|
26
|
+
return { $$typeof: v, type: w, key: S, ref: O, props: T, _owner: s.current };
|
|
27
27
|
}
|
|
28
|
-
return
|
|
28
|
+
return H.Fragment = f, H.jsx = m, H.jsxs = m, H;
|
|
29
29
|
}
|
|
30
|
-
var
|
|
30
|
+
var G = {};
|
|
31
31
|
/**
|
|
32
32
|
* @license React
|
|
33
33
|
* react-jsx-runtime.development.js
|
|
@@ -37,57 +37,57 @@ var Z = {};
|
|
|
37
37
|
* This source code is licensed under the MIT license found in the
|
|
38
38
|
* LICENSE file in the root directory of this source tree.
|
|
39
39
|
*/
|
|
40
|
-
var
|
|
41
|
-
function
|
|
42
|
-
return
|
|
43
|
-
var
|
|
44
|
-
function
|
|
40
|
+
var We;
|
|
41
|
+
function Pr() {
|
|
42
|
+
return We || (We = 1, process.env.NODE_ENV !== "production" && function() {
|
|
43
|
+
var r = Me, v = Symbol.for("react.element"), f = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), w = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), j = Symbol.for("react.suspense"), _ = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), O = Symbol.for("react.offscreen"), W = Symbol.iterator, te = "@@iterator";
|
|
44
|
+
function ne(e) {
|
|
45
45
|
if (e === null || typeof e != "object")
|
|
46
46
|
return null;
|
|
47
|
-
var
|
|
48
|
-
return typeof
|
|
47
|
+
var t = W && e[W] || e[te];
|
|
48
|
+
return typeof t == "function" ? t : null;
|
|
49
49
|
}
|
|
50
|
-
var
|
|
51
|
-
function
|
|
50
|
+
var F = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
51
|
+
function R(e) {
|
|
52
52
|
{
|
|
53
|
-
for (var
|
|
53
|
+
for (var t = arguments.length, i = new Array(t > 1 ? t - 1 : 0), o = 1; o < t; o++)
|
|
54
54
|
i[o - 1] = arguments[o];
|
|
55
|
-
|
|
55
|
+
_e("error", e, i);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function _e(e, t, i) {
|
|
59
59
|
{
|
|
60
|
-
var o =
|
|
61
|
-
p !== "" && (
|
|
60
|
+
var o = F.ReactDebugCurrentFrame, p = o.getStackAddendum();
|
|
61
|
+
p !== "" && (t += "%s", i = i.concat([p]));
|
|
62
62
|
var y = i.map(function(a) {
|
|
63
63
|
return String(a);
|
|
64
64
|
});
|
|
65
|
-
y.unshift("Warning: " +
|
|
65
|
+
y.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, y);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
var
|
|
69
|
-
|
|
70
|
-
function
|
|
71
|
-
return !!(typeof e == "string" || typeof e == "function" || e === c || e === g ||
|
|
68
|
+
var ie = !1, M = !1, oe = !1, se = !1, le = !1, U;
|
|
69
|
+
U = Symbol.for("react.module.reference");
|
|
70
|
+
function ae(e) {
|
|
71
|
+
return !!(typeof e == "string" || typeof e == "function" || e === c || e === g || le || e === s || e === j || e === _ || se || e === O || ie || M || oe || typeof e == "object" && e !== null && (e.$$typeof === S || e.$$typeof === T || e.$$typeof === m || e.$$typeof === w || e.$$typeof === u || // This needs to include all possible module reference object
|
|
72
72
|
// types supported by any Flight configuration anywhere since
|
|
73
73
|
// we don't know which Flight build this will end up being used
|
|
74
74
|
// with.
|
|
75
|
-
e.$$typeof ===
|
|
75
|
+
e.$$typeof === U || e.getModuleId !== void 0));
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function ce(e, t, i) {
|
|
78
78
|
var o = e.displayName;
|
|
79
79
|
if (o)
|
|
80
80
|
return o;
|
|
81
|
-
var p =
|
|
81
|
+
var p = t.displayName || t.name || "";
|
|
82
82
|
return p !== "" ? i + "(" + p + ")" : i;
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function x(e) {
|
|
85
85
|
return e.displayName || "Context";
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function P(e) {
|
|
88
88
|
if (e == null)
|
|
89
89
|
return null;
|
|
90
|
-
if (typeof e.tag == "number" &&
|
|
90
|
+
if (typeof e.tag == "number" && R("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
91
91
|
return e.displayName || e.name || null;
|
|
92
92
|
if (typeof e == "string")
|
|
93
93
|
return e;
|
|
@@ -100,7 +100,7 @@ function St() {
|
|
|
100
100
|
return "Profiler";
|
|
101
101
|
case s:
|
|
102
102
|
return "StrictMode";
|
|
103
|
-
case
|
|
103
|
+
case j:
|
|
104
104
|
return "Suspense";
|
|
105
105
|
case _:
|
|
106
106
|
return "SuspenseList";
|
|
@@ -108,20 +108,20 @@ function St() {
|
|
|
108
108
|
if (typeof e == "object")
|
|
109
109
|
switch (e.$$typeof) {
|
|
110
110
|
case w:
|
|
111
|
-
var
|
|
112
|
-
return
|
|
111
|
+
var t = e;
|
|
112
|
+
return x(t) + ".Consumer";
|
|
113
113
|
case m:
|
|
114
114
|
var i = e;
|
|
115
|
-
return
|
|
115
|
+
return x(i._context) + ".Provider";
|
|
116
116
|
case u:
|
|
117
|
-
return
|
|
118
|
-
case
|
|
117
|
+
return ce(e, e.render, "ForwardRef");
|
|
118
|
+
case T:
|
|
119
119
|
var o = e.displayName || null;
|
|
120
|
-
return o !== null ? o :
|
|
121
|
-
case
|
|
120
|
+
return o !== null ? o : P(e.type) || "Memo";
|
|
121
|
+
case S: {
|
|
122
122
|
var p = e, y = p._payload, a = p._init;
|
|
123
123
|
try {
|
|
124
|
-
return
|
|
124
|
+
return P(a(y));
|
|
125
125
|
} catch {
|
|
126
126
|
return null;
|
|
127
127
|
}
|
|
@@ -129,18 +129,18 @@ function St() {
|
|
|
129
129
|
}
|
|
130
130
|
return null;
|
|
131
131
|
}
|
|
132
|
-
var
|
|
133
|
-
function
|
|
132
|
+
var I = Object.assign, D = 0, X, V, Y, z, J, A, N;
|
|
133
|
+
function be() {
|
|
134
134
|
}
|
|
135
|
-
|
|
136
|
-
function
|
|
135
|
+
be.__reactDisabledLog = !0;
|
|
136
|
+
function Je() {
|
|
137
137
|
{
|
|
138
|
-
if (
|
|
139
|
-
|
|
138
|
+
if (D === 0) {
|
|
139
|
+
X = console.log, V = console.info, Y = console.warn, z = console.error, J = console.group, A = console.groupCollapsed, N = console.groupEnd;
|
|
140
140
|
var e = {
|
|
141
141
|
configurable: !0,
|
|
142
142
|
enumerable: !0,
|
|
143
|
-
value:
|
|
143
|
+
value: be,
|
|
144
144
|
writable: !0
|
|
145
145
|
};
|
|
146
146
|
Object.defineProperties(console, {
|
|
@@ -153,79 +153,79 @@ function St() {
|
|
|
153
153
|
groupEnd: e
|
|
154
154
|
});
|
|
155
155
|
}
|
|
156
|
-
|
|
156
|
+
D++;
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function qe() {
|
|
160
160
|
{
|
|
161
|
-
if (
|
|
161
|
+
if (D--, D === 0) {
|
|
162
162
|
var e = {
|
|
163
163
|
configurable: !0,
|
|
164
164
|
enumerable: !0,
|
|
165
165
|
writable: !0
|
|
166
166
|
};
|
|
167
167
|
Object.defineProperties(console, {
|
|
168
|
-
log:
|
|
169
|
-
value:
|
|
168
|
+
log: I({}, e, {
|
|
169
|
+
value: X
|
|
170
170
|
}),
|
|
171
|
-
info:
|
|
171
|
+
info: I({}, e, {
|
|
172
|
+
value: V
|
|
173
|
+
}),
|
|
174
|
+
warn: I({}, e, {
|
|
172
175
|
value: Y
|
|
173
176
|
}),
|
|
174
|
-
|
|
177
|
+
error: I({}, e, {
|
|
175
178
|
value: z
|
|
176
179
|
}),
|
|
177
|
-
|
|
180
|
+
group: I({}, e, {
|
|
178
181
|
value: J
|
|
179
182
|
}),
|
|
180
|
-
|
|
181
|
-
value:
|
|
182
|
-
}),
|
|
183
|
-
groupCollapsed: F({}, e, {
|
|
184
|
-
value: P
|
|
183
|
+
groupCollapsed: I({}, e, {
|
|
184
|
+
value: A
|
|
185
185
|
}),
|
|
186
|
-
groupEnd:
|
|
187
|
-
value:
|
|
186
|
+
groupEnd: I({}, e, {
|
|
187
|
+
value: N
|
|
188
188
|
})
|
|
189
189
|
});
|
|
190
190
|
}
|
|
191
|
-
|
|
191
|
+
D < 0 && R("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
|
-
var
|
|
195
|
-
function
|
|
194
|
+
var ue = F.ReactCurrentDispatcher, fe;
|
|
195
|
+
function Z(e, t, i) {
|
|
196
196
|
{
|
|
197
|
-
if (
|
|
197
|
+
if (fe === void 0)
|
|
198
198
|
try {
|
|
199
199
|
throw Error();
|
|
200
200
|
} catch (p) {
|
|
201
201
|
var o = p.stack.trim().match(/\n( *(at )?)/);
|
|
202
|
-
|
|
202
|
+
fe = o && o[1] || "";
|
|
203
203
|
}
|
|
204
204
|
return `
|
|
205
|
-
` +
|
|
205
|
+
` + fe + e;
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
|
-
var
|
|
208
|
+
var pe = !1, Q;
|
|
209
209
|
{
|
|
210
|
-
var
|
|
211
|
-
|
|
210
|
+
var Ke = typeof WeakMap == "function" ? WeakMap : Map;
|
|
211
|
+
Q = new Ke();
|
|
212
212
|
}
|
|
213
|
-
function
|
|
214
|
-
if (!e ||
|
|
213
|
+
function we(e, t) {
|
|
214
|
+
if (!e || pe)
|
|
215
215
|
return "";
|
|
216
216
|
{
|
|
217
|
-
var i =
|
|
217
|
+
var i = Q.get(e);
|
|
218
218
|
if (i !== void 0)
|
|
219
219
|
return i;
|
|
220
220
|
}
|
|
221
221
|
var o;
|
|
222
|
-
|
|
222
|
+
pe = !0;
|
|
223
223
|
var p = Error.prepareStackTrace;
|
|
224
224
|
Error.prepareStackTrace = void 0;
|
|
225
225
|
var y;
|
|
226
|
-
y =
|
|
226
|
+
y = ue.current, ue.current = null, Je();
|
|
227
227
|
try {
|
|
228
|
-
if (
|
|
228
|
+
if (t) {
|
|
229
229
|
var a = function() {
|
|
230
230
|
throw Error();
|
|
231
231
|
};
|
|
@@ -236,98 +236,98 @@ function St() {
|
|
|
236
236
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
237
237
|
try {
|
|
238
238
|
Reflect.construct(a, []);
|
|
239
|
-
} catch (
|
|
240
|
-
o =
|
|
239
|
+
} catch (C) {
|
|
240
|
+
o = C;
|
|
241
241
|
}
|
|
242
242
|
Reflect.construct(e, [], a);
|
|
243
243
|
} else {
|
|
244
244
|
try {
|
|
245
245
|
a.call();
|
|
246
|
-
} catch (
|
|
247
|
-
o =
|
|
246
|
+
} catch (C) {
|
|
247
|
+
o = C;
|
|
248
248
|
}
|
|
249
249
|
e.call(a.prototype);
|
|
250
250
|
}
|
|
251
251
|
} else {
|
|
252
252
|
try {
|
|
253
253
|
throw Error();
|
|
254
|
-
} catch (
|
|
255
|
-
o =
|
|
254
|
+
} catch (C) {
|
|
255
|
+
o = C;
|
|
256
256
|
}
|
|
257
257
|
e();
|
|
258
258
|
}
|
|
259
|
-
} catch (
|
|
260
|
-
if (
|
|
261
|
-
for (var l =
|
|
259
|
+
} catch (C) {
|
|
260
|
+
if (C && o && typeof C.stack == "string") {
|
|
261
|
+
for (var l = C.stack.split(`
|
|
262
262
|
`), E = o.stack.split(`
|
|
263
|
-
`),
|
|
263
|
+
`), d = l.length - 1, b = E.length - 1; d >= 1 && b >= 0 && l[d] !== E[b]; )
|
|
264
264
|
b--;
|
|
265
|
-
for (;
|
|
266
|
-
if (l[
|
|
267
|
-
if (
|
|
265
|
+
for (; d >= 1 && b >= 0; d--, b--)
|
|
266
|
+
if (l[d] !== E[b]) {
|
|
267
|
+
if (d !== 1 || b !== 1)
|
|
268
268
|
do
|
|
269
|
-
if (
|
|
269
|
+
if (d--, b--, b < 0 || l[d] !== E[b]) {
|
|
270
270
|
var k = `
|
|
271
|
-
` + l[
|
|
272
|
-
return e.displayName && k.includes("<anonymous>") && (k = k.replace("<anonymous>", e.displayName)), typeof e == "function" &&
|
|
271
|
+
` + l[d].replace(" at new ", " at ");
|
|
272
|
+
return e.displayName && k.includes("<anonymous>") && (k = k.replace("<anonymous>", e.displayName)), typeof e == "function" && Q.set(e, k), k;
|
|
273
273
|
}
|
|
274
|
-
while (
|
|
274
|
+
while (d >= 1 && b >= 0);
|
|
275
275
|
break;
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
278
|
} finally {
|
|
279
|
-
|
|
279
|
+
pe = !1, ue.current = y, qe(), Error.prepareStackTrace = p;
|
|
280
280
|
}
|
|
281
|
-
var
|
|
282
|
-
return typeof e == "function" &&
|
|
281
|
+
var B = e ? e.displayName || e.name : "", L = B ? Z(B) : "";
|
|
282
|
+
return typeof e == "function" && Q.set(e, L), L;
|
|
283
283
|
}
|
|
284
|
-
function
|
|
285
|
-
return
|
|
284
|
+
function He(e, t, i) {
|
|
285
|
+
return we(e, !1);
|
|
286
286
|
}
|
|
287
287
|
function Ge(e) {
|
|
288
|
-
var
|
|
289
|
-
return !!(
|
|
288
|
+
var t = e.prototype;
|
|
289
|
+
return !!(t && t.isReactComponent);
|
|
290
290
|
}
|
|
291
|
-
function
|
|
291
|
+
function ee(e, t, i) {
|
|
292
292
|
if (e == null)
|
|
293
293
|
return "";
|
|
294
294
|
if (typeof e == "function")
|
|
295
|
-
return
|
|
295
|
+
return we(e, Ge(e));
|
|
296
296
|
if (typeof e == "string")
|
|
297
|
-
return
|
|
297
|
+
return Z(e);
|
|
298
298
|
switch (e) {
|
|
299
|
-
case
|
|
300
|
-
return
|
|
299
|
+
case j:
|
|
300
|
+
return Z("Suspense");
|
|
301
301
|
case _:
|
|
302
|
-
return
|
|
302
|
+
return Z("SuspenseList");
|
|
303
303
|
}
|
|
304
304
|
if (typeof e == "object")
|
|
305
305
|
switch (e.$$typeof) {
|
|
306
306
|
case u:
|
|
307
|
-
return
|
|
308
|
-
case
|
|
309
|
-
return
|
|
310
|
-
case
|
|
307
|
+
return He(e.render);
|
|
308
|
+
case T:
|
|
309
|
+
return ee(e.type, t, i);
|
|
310
|
+
case S: {
|
|
311
311
|
var o = e, p = o._payload, y = o._init;
|
|
312
312
|
try {
|
|
313
|
-
return
|
|
313
|
+
return ee(y(p), t, i);
|
|
314
314
|
} catch {
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
return "";
|
|
319
319
|
}
|
|
320
|
-
var
|
|
321
|
-
function
|
|
320
|
+
var q = Object.prototype.hasOwnProperty, Re = {}, je = F.ReactDebugCurrentFrame;
|
|
321
|
+
function re(e) {
|
|
322
322
|
if (e) {
|
|
323
|
-
var
|
|
324
|
-
|
|
323
|
+
var t = e._owner, i = ee(e.type, e._source, t ? t.type : null);
|
|
324
|
+
je.setExtraStackFrame(i);
|
|
325
325
|
} else
|
|
326
|
-
|
|
326
|
+
je.setExtraStackFrame(null);
|
|
327
327
|
}
|
|
328
|
-
function Xe(e,
|
|
328
|
+
function Xe(e, t, i, o, p) {
|
|
329
329
|
{
|
|
330
|
-
var y = Function.call.bind(
|
|
330
|
+
var y = Function.call.bind(q);
|
|
331
331
|
for (var a in e)
|
|
332
332
|
if (y(e, a)) {
|
|
333
333
|
var l = void 0;
|
|
@@ -336,67 +336,71 @@ function St() {
|
|
|
336
336
|
var E = Error((o || "React class") + ": " + i + " type `" + a + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[a] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
337
337
|
throw E.name = "Invariant Violation", E;
|
|
338
338
|
}
|
|
339
|
-
l = e[a](
|
|
340
|
-
} catch (
|
|
341
|
-
l =
|
|
339
|
+
l = e[a](t, a, o, i, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
340
|
+
} catch (d) {
|
|
341
|
+
l = d;
|
|
342
342
|
}
|
|
343
|
-
l && !(l instanceof Error) && (
|
|
343
|
+
l && !(l instanceof Error) && (re(p), R("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", o || "React class", i, a, typeof l), re(null)), l instanceof Error && !(l.message in Re) && (Re[l.message] = !0, re(p), R("Failed %s type: %s", i, l.message), re(null));
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
var Ze = Array.isArray;
|
|
348
|
-
function
|
|
348
|
+
function he(e) {
|
|
349
349
|
return Ze(e);
|
|
350
350
|
}
|
|
351
351
|
function Qe(e) {
|
|
352
352
|
{
|
|
353
|
-
var
|
|
353
|
+
var t = typeof Symbol == "function" && Symbol.toStringTag, i = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
354
354
|
return i;
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
|
-
function
|
|
357
|
+
function er(e) {
|
|
358
358
|
try {
|
|
359
|
-
return
|
|
359
|
+
return Ee(e), !1;
|
|
360
360
|
} catch {
|
|
361
361
|
return !0;
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
|
-
function
|
|
364
|
+
function Ee(e) {
|
|
365
365
|
return "" + e;
|
|
366
366
|
}
|
|
367
|
-
function
|
|
368
|
-
if (
|
|
369
|
-
return
|
|
367
|
+
function Ce(e) {
|
|
368
|
+
if (er(e))
|
|
369
|
+
return R("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Qe(e)), Ee(e);
|
|
370
370
|
}
|
|
371
|
-
var
|
|
371
|
+
var K = F.ReactCurrentOwner, rr = {
|
|
372
372
|
key: !0,
|
|
373
373
|
ref: !0,
|
|
374
374
|
__self: !0,
|
|
375
375
|
__source: !0
|
|
376
|
-
},
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
376
|
+
}, Te, Se, ve;
|
|
377
|
+
ve = {};
|
|
378
|
+
function tr(e) {
|
|
379
|
+
if (q.call(e, "ref")) {
|
|
380
|
+
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
381
|
+
if (t && t.isReactWarning)
|
|
381
382
|
return !1;
|
|
382
383
|
}
|
|
383
384
|
return e.ref !== void 0;
|
|
384
385
|
}
|
|
385
|
-
function
|
|
386
|
-
if (
|
|
387
|
-
var
|
|
388
|
-
if (
|
|
386
|
+
function nr(e) {
|
|
387
|
+
if (q.call(e, "key")) {
|
|
388
|
+
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
389
|
+
if (t && t.isReactWarning)
|
|
389
390
|
return !1;
|
|
390
391
|
}
|
|
391
392
|
return e.key !== void 0;
|
|
392
393
|
}
|
|
393
|
-
function
|
|
394
|
-
typeof e.ref == "string" &&
|
|
394
|
+
function ir(e, t) {
|
|
395
|
+
if (typeof e.ref == "string" && K.current && t && K.current.stateNode !== t) {
|
|
396
|
+
var i = P(K.current.type);
|
|
397
|
+
ve[i] || (R('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', P(K.current.type), e.ref), ve[i] = !0);
|
|
398
|
+
}
|
|
395
399
|
}
|
|
396
|
-
function
|
|
400
|
+
function or(e, t) {
|
|
397
401
|
{
|
|
398
402
|
var i = function() {
|
|
399
|
-
|
|
403
|
+
Te || (Te = !0, R("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
400
404
|
};
|
|
401
405
|
i.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
402
406
|
get: i,
|
|
@@ -404,10 +408,10 @@ function St() {
|
|
|
404
408
|
});
|
|
405
409
|
}
|
|
406
410
|
}
|
|
407
|
-
function
|
|
411
|
+
function sr(e, t) {
|
|
408
412
|
{
|
|
409
413
|
var i = function() {
|
|
410
|
-
|
|
414
|
+
Se || (Se = !0, R("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
411
415
|
};
|
|
412
416
|
i.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
413
417
|
get: i,
|
|
@@ -415,13 +419,13 @@ function St() {
|
|
|
415
419
|
});
|
|
416
420
|
}
|
|
417
421
|
}
|
|
418
|
-
var
|
|
422
|
+
var lr = function(e, t, i, o, p, y, a) {
|
|
419
423
|
var l = {
|
|
420
424
|
// This tag allows us to uniquely identify this as a React Element
|
|
421
425
|
$$typeof: v,
|
|
422
426
|
// Built-in properties that belong on the element
|
|
423
427
|
type: e,
|
|
424
|
-
key:
|
|
428
|
+
key: t,
|
|
425
429
|
ref: i,
|
|
426
430
|
props: a,
|
|
427
431
|
// Record the component responsible for creating this element.
|
|
@@ -444,41 +448,41 @@ function St() {
|
|
|
444
448
|
value: p
|
|
445
449
|
}), Object.freeze && (Object.freeze(l.props), Object.freeze(l)), l;
|
|
446
450
|
};
|
|
447
|
-
function
|
|
451
|
+
function ar(e, t, i, o, p) {
|
|
448
452
|
{
|
|
449
453
|
var y, a = {}, l = null, E = null;
|
|
450
|
-
i !== void 0 && (
|
|
451
|
-
for (y in
|
|
452
|
-
|
|
454
|
+
i !== void 0 && (Ce(i), l = "" + i), nr(t) && (Ce(t.key), l = "" + t.key), tr(t) && (E = t.ref, ir(t, p));
|
|
455
|
+
for (y in t)
|
|
456
|
+
q.call(t, y) && !rr.hasOwnProperty(y) && (a[y] = t[y]);
|
|
453
457
|
if (e && e.defaultProps) {
|
|
454
|
-
var
|
|
455
|
-
for (y in
|
|
456
|
-
a[y] === void 0 && (a[y] =
|
|
458
|
+
var d = e.defaultProps;
|
|
459
|
+
for (y in d)
|
|
460
|
+
a[y] === void 0 && (a[y] = d[y]);
|
|
457
461
|
}
|
|
458
462
|
if (l || E) {
|
|
459
463
|
var b = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
460
|
-
l &&
|
|
464
|
+
l && or(a, b), E && sr(a, b);
|
|
461
465
|
}
|
|
462
|
-
return
|
|
466
|
+
return lr(e, l, E, p, o, K.current, a);
|
|
463
467
|
}
|
|
464
468
|
}
|
|
465
|
-
var
|
|
466
|
-
function
|
|
469
|
+
var ge = F.ReactCurrentOwner, Pe = F.ReactDebugCurrentFrame;
|
|
470
|
+
function $(e) {
|
|
467
471
|
if (e) {
|
|
468
|
-
var
|
|
469
|
-
|
|
472
|
+
var t = e._owner, i = ee(e.type, e._source, t ? t.type : null);
|
|
473
|
+
Pe.setExtraStackFrame(i);
|
|
470
474
|
} else
|
|
471
|
-
|
|
475
|
+
Pe.setExtraStackFrame(null);
|
|
472
476
|
}
|
|
473
|
-
var
|
|
474
|
-
|
|
475
|
-
function
|
|
477
|
+
var me;
|
|
478
|
+
me = !1;
|
|
479
|
+
function ye(e) {
|
|
476
480
|
return typeof e == "object" && e !== null && e.$$typeof === v;
|
|
477
481
|
}
|
|
478
|
-
function
|
|
482
|
+
function ke() {
|
|
479
483
|
{
|
|
480
|
-
if (
|
|
481
|
-
var e =
|
|
484
|
+
if (ge.current) {
|
|
485
|
+
var e = P(ge.current.type);
|
|
482
486
|
if (e)
|
|
483
487
|
return `
|
|
484
488
|
|
|
@@ -487,173 +491,177 @@ Check the render method of \`` + e + "`.";
|
|
|
487
491
|
return "";
|
|
488
492
|
}
|
|
489
493
|
}
|
|
490
|
-
function
|
|
494
|
+
function cr(e) {
|
|
491
495
|
return "";
|
|
492
496
|
}
|
|
493
|
-
var
|
|
494
|
-
function
|
|
497
|
+
var Oe = {};
|
|
498
|
+
function ur(e) {
|
|
495
499
|
{
|
|
496
|
-
var
|
|
497
|
-
if (!
|
|
500
|
+
var t = ke();
|
|
501
|
+
if (!t) {
|
|
498
502
|
var i = typeof e == "string" ? e : e.displayName || e.name;
|
|
499
|
-
i && (
|
|
503
|
+
i && (t = `
|
|
500
504
|
|
|
501
505
|
Check the top-level render call using <` + i + ">.");
|
|
502
506
|
}
|
|
503
|
-
return
|
|
507
|
+
return t;
|
|
504
508
|
}
|
|
505
509
|
}
|
|
506
|
-
function
|
|
510
|
+
function Ie(e, t) {
|
|
507
511
|
{
|
|
508
512
|
if (!e._store || e._store.validated || e.key != null)
|
|
509
513
|
return;
|
|
510
514
|
e._store.validated = !0;
|
|
511
|
-
var i =
|
|
512
|
-
if (
|
|
515
|
+
var i = ur(t);
|
|
516
|
+
if (Oe[i])
|
|
513
517
|
return;
|
|
514
|
-
|
|
518
|
+
Oe[i] = !0;
|
|
515
519
|
var o = "";
|
|
516
|
-
e && e._owner && e._owner !==
|
|
520
|
+
e && e._owner && e._owner !== ge.current && (o = " It was passed a child from " + P(e._owner.type) + "."), $(e), R('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', i, o), $(null);
|
|
517
521
|
}
|
|
518
522
|
}
|
|
519
|
-
function
|
|
523
|
+
function Ae(e, t) {
|
|
520
524
|
{
|
|
521
525
|
if (typeof e != "object")
|
|
522
526
|
return;
|
|
523
|
-
if (
|
|
527
|
+
if (he(e))
|
|
524
528
|
for (var i = 0; i < e.length; i++) {
|
|
525
529
|
var o = e[i];
|
|
526
|
-
|
|
530
|
+
ye(o) && Ie(o, t);
|
|
527
531
|
}
|
|
528
|
-
else if (
|
|
532
|
+
else if (ye(e))
|
|
529
533
|
e._store && (e._store.validated = !0);
|
|
530
534
|
else if (e) {
|
|
531
|
-
var p =
|
|
535
|
+
var p = ne(e);
|
|
532
536
|
if (typeof p == "function" && p !== e.entries)
|
|
533
537
|
for (var y = p.call(e), a; !(a = y.next()).done; )
|
|
534
|
-
|
|
538
|
+
ye(a.value) && Ie(a.value, t);
|
|
535
539
|
}
|
|
536
540
|
}
|
|
537
541
|
}
|
|
538
|
-
function
|
|
542
|
+
function fr(e) {
|
|
539
543
|
{
|
|
540
|
-
var
|
|
541
|
-
if (
|
|
544
|
+
var t = e.type;
|
|
545
|
+
if (t == null || typeof t == "string")
|
|
542
546
|
return;
|
|
543
547
|
var i;
|
|
544
|
-
if (typeof
|
|
545
|
-
i =
|
|
546
|
-
else if (typeof
|
|
548
|
+
if (typeof t == "function")
|
|
549
|
+
i = t.propTypes;
|
|
550
|
+
else if (typeof t == "object" && (t.$$typeof === u || // Note: Memo only checks outer props here.
|
|
547
551
|
// Inner props are checked in the reconciler.
|
|
548
|
-
|
|
549
|
-
i =
|
|
552
|
+
t.$$typeof === T))
|
|
553
|
+
i = t.propTypes;
|
|
550
554
|
else
|
|
551
555
|
return;
|
|
552
556
|
if (i) {
|
|
553
|
-
var o =
|
|
557
|
+
var o = P(t);
|
|
554
558
|
Xe(i, e.props, "prop", o, e);
|
|
555
|
-
} else if (
|
|
556
|
-
|
|
557
|
-
var p =
|
|
558
|
-
|
|
559
|
+
} else if (t.PropTypes !== void 0 && !me) {
|
|
560
|
+
me = !0;
|
|
561
|
+
var p = P(t);
|
|
562
|
+
R("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", p || "Unknown");
|
|
559
563
|
}
|
|
560
|
-
typeof
|
|
564
|
+
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && R("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
561
565
|
}
|
|
562
566
|
}
|
|
563
|
-
function
|
|
567
|
+
function pr(e) {
|
|
564
568
|
{
|
|
565
|
-
for (var
|
|
566
|
-
var o =
|
|
569
|
+
for (var t = Object.keys(e.props), i = 0; i < t.length; i++) {
|
|
570
|
+
var o = t[i];
|
|
567
571
|
if (o !== "children" && o !== "key") {
|
|
568
|
-
|
|
572
|
+
$(e), R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), $(null);
|
|
569
573
|
break;
|
|
570
574
|
}
|
|
571
575
|
}
|
|
572
|
-
e.ref !== null && (
|
|
576
|
+
e.ref !== null && ($(e), R("Invalid attribute `ref` supplied to `React.Fragment`."), $(null));
|
|
573
577
|
}
|
|
574
578
|
}
|
|
575
|
-
var
|
|
576
|
-
function
|
|
579
|
+
var Fe = {};
|
|
580
|
+
function De(e, t, i, o, p, y) {
|
|
577
581
|
{
|
|
578
|
-
var a =
|
|
582
|
+
var a = ae(e);
|
|
579
583
|
if (!a) {
|
|
580
584
|
var l = "";
|
|
581
585
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (l += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
582
|
-
var E =
|
|
583
|
-
E ? l += E : l +=
|
|
584
|
-
var
|
|
585
|
-
e === null ?
|
|
586
|
+
var E = cr();
|
|
587
|
+
E ? l += E : l += ke();
|
|
588
|
+
var d;
|
|
589
|
+
e === null ? d = "null" : he(e) ? d = "array" : e !== void 0 && e.$$typeof === v ? (d = "<" + (P(e.type) || "Unknown") + " />", l = " Did you accidentally export a JSX literal instead of a component?") : d = typeof e, R("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", d, l);
|
|
586
590
|
}
|
|
587
|
-
var b =
|
|
591
|
+
var b = ar(e, t, i, p, y);
|
|
588
592
|
if (b == null)
|
|
589
593
|
return b;
|
|
590
594
|
if (a) {
|
|
591
|
-
var k =
|
|
595
|
+
var k = t.children;
|
|
592
596
|
if (k !== void 0)
|
|
593
597
|
if (o)
|
|
594
|
-
if (
|
|
595
|
-
for (var
|
|
596
|
-
|
|
598
|
+
if (he(k)) {
|
|
599
|
+
for (var B = 0; B < k.length; B++)
|
|
600
|
+
Ae(k[B], e);
|
|
597
601
|
Object.freeze && Object.freeze(k);
|
|
598
602
|
} else
|
|
599
|
-
|
|
603
|
+
R("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
600
604
|
else
|
|
601
|
-
|
|
605
|
+
Ae(k, e);
|
|
602
606
|
}
|
|
603
|
-
if (
|
|
604
|
-
var
|
|
605
|
-
return
|
|
606
|
-
}),
|
|
607
|
-
if (!
|
|
608
|
-
var
|
|
609
|
-
|
|
607
|
+
if (q.call(t, "key")) {
|
|
608
|
+
var L = P(e), C = Object.keys(t).filter(function(xr) {
|
|
609
|
+
return xr !== "key";
|
|
610
|
+
}), xe = C.length > 0 ? "{key: someKey, " + C.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
611
|
+
if (!Fe[L + xe]) {
|
|
612
|
+
var yr = C.length > 0 ? "{" + C.join(": ..., ") + ": ...}" : "{}";
|
|
613
|
+
R(`A props object containing a "key" prop is being spread into JSX:
|
|
610
614
|
let props = %s;
|
|
611
615
|
<%s {...props} />
|
|
612
616
|
React keys must be passed directly to JSX without using spread:
|
|
613
617
|
let props = %s;
|
|
614
|
-
<%s key={someKey} {...props} />`,
|
|
618
|
+
<%s key={someKey} {...props} />`, xe, L, yr, L), Fe[L + xe] = !0;
|
|
615
619
|
}
|
|
616
620
|
}
|
|
617
|
-
return e === c ?
|
|
621
|
+
return e === c ? pr(b) : fr(b), b;
|
|
618
622
|
}
|
|
619
623
|
}
|
|
620
|
-
function
|
|
621
|
-
return
|
|
624
|
+
function hr(e, t, i) {
|
|
625
|
+
return De(e, t, i, !0);
|
|
622
626
|
}
|
|
623
|
-
function
|
|
624
|
-
return
|
|
627
|
+
function vr(e, t, i) {
|
|
628
|
+
return De(e, t, i, !1);
|
|
625
629
|
}
|
|
626
|
-
var
|
|
627
|
-
|
|
628
|
-
}()),
|
|
630
|
+
var gr = vr, mr = hr;
|
|
631
|
+
G.Fragment = c, G.jsx = gr, G.jsxs = mr;
|
|
632
|
+
}()), G;
|
|
629
633
|
}
|
|
630
|
-
process.env.NODE_ENV === "production" ?
|
|
631
|
-
var n =
|
|
632
|
-
const
|
|
633
|
-
entityCard:
|
|
634
|
-
pcCover:
|
|
635
|
-
pcSection:
|
|
636
|
-
pcBreadcrumbSep:
|
|
637
|
-
pcBasic:
|
|
638
|
-
pcBasicRow:
|
|
639
|
-
pcBasicRowLeft:
|
|
640
|
-
pcLinkIconRight:
|
|
641
|
-
pcColorSwatch:
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
634
|
+
process.env.NODE_ENV === "production" ? de.exports = Sr() : de.exports = Pr();
|
|
635
|
+
var n = de.exports;
|
|
636
|
+
const kr = "_entityCard_1xtgw_1", Or = "_pcCover_1xtgw_15", Ir = "_pcSection_1xtgw_31", Ar = "_pcBreadcrumbSep_1xtgw_38", Fr = "_pcBasic_1xtgw_43", Dr = "_pcBasicRow_1xtgw_49", Nr = "_pcBasicRowLeft_1xtgw_56", Lr = "_pcLinkIconRight_1xtgw_61", Wr = "_pcColorSwatch_1xtgw_72", $r = "_pcIconDot_1xtgw_77", Br = "_pcTitleLink_1xtgw_82", Mr = "_pcTitleText_1xtgw_99", Ur = "_pcSubTitleText_1xtgw_106", Vr = "_pcExternalIcon_1xtgw_113", Yr = "_pcProperties_1xtgw_119", zr = "_pcProperty_1xtgw_127", Jr = "_pcTagsRow_1xtgw_138", qr = "_pcTag_1xtgw_138", Kr = "_pcDetails_1xtgw_151", Hr = "_pcRow_1xtgw_157", Gr = "_pcCol_1xtgw_72", Xr = "_pcColLabel_1xtgw_179", Zr = "_pcColValue_1xtgw_183", Qr = "_pcProgressText_1xtgw_188", et = "_entityLabel_1xtgw_194", h = {
|
|
637
|
+
entityCard: kr,
|
|
638
|
+
pcCover: Or,
|
|
639
|
+
pcSection: Ir,
|
|
640
|
+
pcBreadcrumbSep: Ar,
|
|
641
|
+
pcBasic: Fr,
|
|
642
|
+
pcBasicRow: Dr,
|
|
643
|
+
pcBasicRowLeft: Nr,
|
|
644
|
+
pcLinkIconRight: Lr,
|
|
645
|
+
pcColorSwatch: Wr,
|
|
646
|
+
pcIconDot: $r,
|
|
647
|
+
pcTitleLink: Br,
|
|
648
|
+
pcTitleText: Mr,
|
|
649
|
+
pcSubTitleText: Ur,
|
|
650
|
+
pcExternalIcon: Vr,
|
|
651
|
+
pcProperties: Yr,
|
|
652
|
+
pcProperty: zr,
|
|
653
|
+
pcTagsRow: Jr,
|
|
654
|
+
pcTag: qr,
|
|
655
|
+
pcDetails: Kr,
|
|
656
|
+
pcRow: Hr,
|
|
657
|
+
pcCol: Gr,
|
|
658
|
+
pcColLabel: Xr,
|
|
659
|
+
pcColValue: Zr,
|
|
660
|
+
pcProgressText: Qr,
|
|
661
|
+
entityLabel: et
|
|
662
|
+
}, $e = (r) => {
|
|
663
|
+
if (!r) return null;
|
|
664
|
+
const v = r.trim(), s = {
|
|
657
665
|
user: "User",
|
|
658
666
|
email: "Mail",
|
|
659
667
|
mail: "Mail",
|
|
@@ -663,12 +671,12 @@ const Pt = "_entityCard_1xtgw_1", kt = "_pcCover_1xtgw_15", Ot = "_pcSection_1xt
|
|
|
663
671
|
time: "Clock",
|
|
664
672
|
tags: "Tag"
|
|
665
673
|
}[v] ?? v.replace(/(^\w|-\w)/g, (m) => m.replace("-", "").toUpperCase());
|
|
666
|
-
return
|
|
667
|
-
},
|
|
668
|
-
const f = typeof
|
|
674
|
+
return Ve[s] || null;
|
|
675
|
+
}, rt = (r, v) => {
|
|
676
|
+
const f = typeof r == "number" ? r : typeof r == "string" ? parseFloat(r) : NaN, c = isFinite(f) ? f <= 1 ? Math.max(0, Math.min(1, f)) * 100 : Math.max(0, Math.min(100, f)) : 0;
|
|
669
677
|
return /* @__PURE__ */ n.jsxs("div", { className: h.pcProgress, children: [
|
|
670
678
|
/* @__PURE__ */ n.jsx(
|
|
671
|
-
|
|
679
|
+
wr,
|
|
672
680
|
{
|
|
673
681
|
percent: c,
|
|
674
682
|
showInfo: !1,
|
|
@@ -678,8 +686,8 @@ const Pt = "_entityCard_1xtgw_1", kt = "_pcCover_1xtgw_15", Ot = "_pcSection_1xt
|
|
|
678
686
|
),
|
|
679
687
|
(v == null ? void 0 : v.text) && /* @__PURE__ */ n.jsx("div", { className: h.pcProgressText, children: v.text })
|
|
680
688
|
] });
|
|
681
|
-
},
|
|
682
|
-
|
|
689
|
+
}, Ye = (r) => !Array.isArray(r) || r.length === 0 ? null : /* @__PURE__ */ n.jsx("div", { className: h.pcTagsRow, children: r.map((v, f) => /* @__PURE__ */ n.jsx(
|
|
690
|
+
Ue,
|
|
683
691
|
{
|
|
684
692
|
color: "default",
|
|
685
693
|
style: {
|
|
@@ -692,46 +700,46 @@ const Pt = "_entityCard_1xtgw_1", kt = "_pcCover_1xtgw_15", Ot = "_pcSection_1xt
|
|
|
692
700
|
children: String(v)
|
|
693
701
|
},
|
|
694
702
|
`${v}-${f}`
|
|
695
|
-
)) }),
|
|
696
|
-
const { view: v, value: f, payload: c } =
|
|
697
|
-
return v === "percent_bar" ?
|
|
698
|
-
},
|
|
699
|
-
data:
|
|
703
|
+
)) }), tt = (r) => {
|
|
704
|
+
const { view: v, value: f, payload: c } = r;
|
|
705
|
+
return v === "percent_bar" ? rt(f, c) : v === "tags" ? Ye(Array.isArray(f) ? f : []) : /* @__PURE__ */ n.jsx("div", { className: h.pcColValue, children: String(f ?? "") });
|
|
706
|
+
}, ze = ({
|
|
707
|
+
data: r
|
|
700
708
|
}) => {
|
|
701
709
|
var v, f, c;
|
|
702
710
|
return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
703
|
-
(
|
|
711
|
+
(r == null ? void 0 : r.cover) && /* @__PURE__ */ n.jsx(
|
|
704
712
|
"div",
|
|
705
713
|
{
|
|
706
714
|
className: h.pcCover,
|
|
707
|
-
style: { height: (v =
|
|
708
|
-
children: /* @__PURE__ */ n.jsx("img", { src:
|
|
715
|
+
style: { height: (v = r == null ? void 0 : r.style) == null ? void 0 : v.cover_max_height },
|
|
716
|
+
children: /* @__PURE__ */ n.jsx("img", { src: r.cover, alt: "cover" })
|
|
709
717
|
}
|
|
710
718
|
),
|
|
711
|
-
Array.isArray(
|
|
712
|
-
|
|
719
|
+
Array.isArray(r == null ? void 0 : r.categories) && r.categories.length > 0 && /* @__PURE__ */ n.jsx("div", { className: h.pcSection, children: /* @__PURE__ */ n.jsx(
|
|
720
|
+
br,
|
|
713
721
|
{
|
|
714
|
-
items:
|
|
722
|
+
items: r.categories.map((s, g) => ({
|
|
715
723
|
key: `${s}-${g}`,
|
|
716
724
|
title: s
|
|
717
725
|
})),
|
|
718
726
|
separator: /* @__PURE__ */ n.jsx("span", { className: h.pcBreadcrumbSep, children: "/" })
|
|
719
727
|
}
|
|
720
728
|
) }),
|
|
721
|
-
((
|
|
729
|
+
((r == null ? void 0 : r.color) || (r == null ? void 0 : r.icon) || (r == null ? void 0 : r.title) || (r == null ? void 0 : r.subtitle) || (r == null ? void 0 : r.url)) && /* @__PURE__ */ n.jsx("div", { className: h.pcBasic, children: /* @__PURE__ */ n.jsxs("div", { className: h.pcBasicRow, children: [
|
|
722
730
|
/* @__PURE__ */ n.jsxs("div", { className: h.pcBasicRowLeft, children: [
|
|
723
|
-
(
|
|
731
|
+
(r == null ? void 0 : r.color) && /* @__PURE__ */ n.jsx(
|
|
724
732
|
"span",
|
|
725
733
|
{
|
|
726
734
|
className: h.pcColorSwatch,
|
|
727
|
-
style: { backgroundColor:
|
|
728
|
-
"aria-label": `color ${
|
|
729
|
-
title: `color: ${
|
|
735
|
+
style: { backgroundColor: r.color },
|
|
736
|
+
"aria-label": `color ${r.color}`,
|
|
737
|
+
title: `color: ${r.color}`
|
|
730
738
|
}
|
|
731
739
|
),
|
|
732
740
|
(() => {
|
|
733
741
|
var m;
|
|
734
|
-
const s = (m =
|
|
742
|
+
const s = (m = r == null ? void 0 : r.icon) == null ? void 0 : m.trim();
|
|
735
743
|
if (s && /^https?:\/\/+/i.test(s))
|
|
736
744
|
return /* @__PURE__ */ n.jsx(
|
|
737
745
|
"img",
|
|
@@ -744,26 +752,26 @@ const Pt = "_entityCard_1xtgw_1", kt = "_pcCover_1xtgw_15", Ot = "_pcSection_1xt
|
|
|
744
752
|
style: { objectFit: "contain" }
|
|
745
753
|
}
|
|
746
754
|
);
|
|
747
|
-
const g =
|
|
755
|
+
const g = $e(s);
|
|
748
756
|
return g ? /* @__PURE__ */ n.jsx(g, { className: h.pcIcon, size: 18, strokeWidth: 2 }) : null;
|
|
749
757
|
})(),
|
|
750
|
-
(
|
|
751
|
-
(
|
|
758
|
+
(r == null ? void 0 : r.title) && /* @__PURE__ */ n.jsx("span", { className: h.pcTitleText, title: r.title, children: r.title }),
|
|
759
|
+
(r == null ? void 0 : r.subtitle) && /* @__PURE__ */ n.jsxs("span", { className: h.pcSubTitleText, title: r.subtitle, children: [
|
|
752
760
|
"| ",
|
|
753
|
-
|
|
761
|
+
r.subtitle
|
|
754
762
|
] })
|
|
755
763
|
] }),
|
|
756
|
-
(
|
|
764
|
+
(r == null ? void 0 : r.url) && /* @__PURE__ */ n.jsx(
|
|
757
765
|
"a",
|
|
758
766
|
{
|
|
759
|
-
href:
|
|
767
|
+
href: r.url,
|
|
760
768
|
target: "_blank",
|
|
761
769
|
rel: "noreferrer",
|
|
762
770
|
"aria-label": "open link",
|
|
763
|
-
title:
|
|
771
|
+
title: r.url,
|
|
764
772
|
className: h.pcLinkIconRight,
|
|
765
773
|
children: /* @__PURE__ */ n.jsx(
|
|
766
|
-
|
|
774
|
+
Cr,
|
|
767
775
|
{
|
|
768
776
|
style: { width: 12, height: 12, color: "#027FFE" }
|
|
769
777
|
}
|
|
@@ -771,10 +779,10 @@ const Pt = "_entityCard_1xtgw_1", kt = "_pcCover_1xtgw_15", Ot = "_pcSection_1xt
|
|
|
771
779
|
}
|
|
772
780
|
)
|
|
773
781
|
] }) }),
|
|
774
|
-
Array.isArray(
|
|
775
|
-
const m =
|
|
782
|
+
Array.isArray(r == null ? void 0 : r.properties) && r.properties.length > 0 && /* @__PURE__ */ n.jsx("div", { className: h.pcSection, style: { paddingTop: 25 }, children: /* @__PURE__ */ n.jsx("div", { className: h.pcProperties, children: r.properties.map((s, g) => {
|
|
783
|
+
const m = $e(s.icon), w = () => {
|
|
776
784
|
if (s.view === "tags")
|
|
777
|
-
return
|
|
785
|
+
return Ye(Array.isArray(s.value) ? s.value : []);
|
|
778
786
|
if (s.view === "datetime_with_time_zone") {
|
|
779
787
|
const u = String(s.value ?? "");
|
|
780
788
|
return /* @__PURE__ */ n.jsx("span", { className: h.pcPropertyValue, children: u });
|
|
@@ -793,7 +801,7 @@ const Pt = "_entityCard_1xtgw_1", kt = "_pcCover_1xtgw_15", Ot = "_pcSection_1xt
|
|
|
793
801
|
w()
|
|
794
802
|
] }, g);
|
|
795
803
|
}) }) }),
|
|
796
|
-
Array.isArray((c = (f =
|
|
804
|
+
Array.isArray((c = (f = r == null ? void 0 : r.details) == null ? void 0 : f.table) == null ? void 0 : c.rows) && r.details.table.rows.length > 0 && /* @__PURE__ */ n.jsx("div", { className: h.pcSection, children: /* @__PURE__ */ n.jsx("div", { className: h.pcDetails, children: r.details.table.rows.map((s, g) => {
|
|
797
805
|
const m = Array.isArray(s.columns) ? s.columns.filter(
|
|
798
806
|
(u) => u && (u.label !== void 0 || u.value !== void 0)
|
|
799
807
|
) : [], w = m.length;
|
|
@@ -804,16 +812,16 @@ const Pt = "_entityCard_1xtgw_1", kt = "_pcCover_1xtgw_15", Ot = "_pcSection_1xt
|
|
|
804
812
|
style: {
|
|
805
813
|
gridTemplateColumns: w <= 1 ? "1fr" : "repeat(2, minmax(0, 1fr))"
|
|
806
814
|
},
|
|
807
|
-
children: m.map((u,
|
|
808
|
-
|
|
815
|
+
children: m.map((u, j) => /* @__PURE__ */ n.jsxs("div", { className: h.pcCol, children: [
|
|
816
|
+
tt(u),
|
|
809
817
|
u.label && /* @__PURE__ */ n.jsx("div", { className: h.pcColLabel, children: u.label })
|
|
810
|
-
] },
|
|
818
|
+
] }, j))
|
|
811
819
|
},
|
|
812
820
|
g
|
|
813
821
|
);
|
|
814
822
|
}) }) }),
|
|
815
|
-
Array.isArray(
|
|
816
|
-
|
|
823
|
+
Array.isArray(r == null ? void 0 : r.tags) && r.tags.length > 0 && /* @__PURE__ */ n.jsx("div", { className: h.pcSection, children: r.tags.map((s, g) => /* @__PURE__ */ n.jsx(
|
|
824
|
+
Ue,
|
|
817
825
|
{
|
|
818
826
|
style: {
|
|
819
827
|
display: "inline-flex",
|
|
@@ -822,15 +830,15 @@ const Pt = "_entityCard_1xtgw_1", kt = "_pcCover_1xtgw_15", Ot = "_pcSection_1xt
|
|
|
822
830
|
color: "#027FFE",
|
|
823
831
|
border: "none"
|
|
824
832
|
},
|
|
825
|
-
icon: /* @__PURE__ */ n.jsx(
|
|
833
|
+
icon: /* @__PURE__ */ n.jsx(Tr, { style: { width: 12, height: 12 } }),
|
|
826
834
|
color: "default",
|
|
827
835
|
children: s
|
|
828
836
|
},
|
|
829
837
|
g
|
|
830
838
|
)) })
|
|
831
839
|
] });
|
|
832
|
-
},
|
|
833
|
-
title:
|
|
840
|
+
}, ct = ({
|
|
841
|
+
title: r,
|
|
834
842
|
subtitle: v,
|
|
835
843
|
description: f,
|
|
836
844
|
imageUrl: c,
|
|
@@ -839,46 +847,39 @@ const Pt = "_entityCard_1xtgw_1", kt = "_pcCover_1xtgw_15", Ot = "_pcSection_1xt
|
|
|
839
847
|
triggerType: m = "hover",
|
|
840
848
|
popupMode: w = "modal",
|
|
841
849
|
trigger: u,
|
|
842
|
-
open:
|
|
850
|
+
open: j,
|
|
843
851
|
onOpenChange: _,
|
|
844
|
-
modalTitle:
|
|
845
|
-
width:
|
|
852
|
+
modalTitle: T,
|
|
853
|
+
width: S,
|
|
846
854
|
placement: O = "right",
|
|
847
|
-
data:
|
|
848
|
-
hoverOpenDelay:
|
|
849
|
-
closeDelay:
|
|
850
|
-
autoPlacement:
|
|
851
|
-
hoverAutoClose:
|
|
852
|
-
hoverAutoCloseDelay:
|
|
855
|
+
data: W,
|
|
856
|
+
hoverOpenDelay: te = 500,
|
|
857
|
+
closeDelay: ne = 200,
|
|
858
|
+
autoPlacement: F = !1,
|
|
859
|
+
hoverAutoClose: R = !1,
|
|
860
|
+
hoverAutoCloseDelay: _e = 2e3,
|
|
861
|
+
getPopupContainer: ie,
|
|
862
|
+
viewportPadding: M = 16,
|
|
863
|
+
zIndex: oe
|
|
853
864
|
}) => {
|
|
854
|
-
var Y, z, J
|
|
855
|
-
const [
|
|
856
|
-
|
|
857
|
-
},
|
|
858
|
-
|
|
859
|
-
const P = B.current.getBoundingClientRect(), re = window.innerWidth, ne = window.innerHeight, ie = (() => {
|
|
860
|
-
var oe;
|
|
861
|
-
const D = (typeof C == "number" ? C : void 0) ?? ((oe = d == null ? void 0 : d.style) == null ? void 0 : oe.width);
|
|
862
|
-
return D ? typeof D == "string" ? parseInt(D, 10) || 376 : D : 376;
|
|
863
|
-
})(), ge = 300, H = re - P.right, K = P.left, M = ne - P.bottom;
|
|
864
|
-
P.top;
|
|
865
|
-
let N = O;
|
|
866
|
-
H >= ie ? N = "right" : K >= ie ? N = "left" : M >= ge ? N = "bottom" : N = "top", ee(N);
|
|
867
|
-
}, F = /* @__PURE__ */ n.jsx(wt, { type: "default", children: `打开:${(d == null ? void 0 : d.title) ?? t ?? "详情"}` }), L = /* @__PURE__ */ n.jsx("span", { ref: B, style: { display: "inline-block" }, children: u ?? F }), te = /* @__PURE__ */ n.jsx(
|
|
868
|
-
Rt,
|
|
865
|
+
var V, Y, z, J;
|
|
866
|
+
const [se, le] = dr(!1), U = typeof j == "boolean", ae = U ? j : se, ce = (A) => {
|
|
867
|
+
U ? _ == null || _(A) : le(A);
|
|
868
|
+
}, x = W, P = _r(null), I = /* @__PURE__ */ n.jsx(Rr, { type: "default", children: `打开:${(x == null ? void 0 : x.title) ?? r ?? "详情"}` }), D = /* @__PURE__ */ n.jsx("span", { ref: P, style: { display: "inline-block" }, children: u ?? I }), X = /* @__PURE__ */ n.jsx(
|
|
869
|
+
jr,
|
|
869
870
|
{
|
|
870
871
|
content: /* @__PURE__ */ n.jsx(
|
|
871
872
|
"div",
|
|
872
873
|
{
|
|
873
874
|
className: h.entityCard,
|
|
874
875
|
style: {
|
|
875
|
-
width: (
|
|
876
|
-
height: (
|
|
877
|
-
maxWidth: (
|
|
878
|
-
maxHeight: (
|
|
876
|
+
width: (V = x == null ? void 0 : x.style) == null ? void 0 : V.width,
|
|
877
|
+
height: (Y = x == null ? void 0 : x.style) == null ? void 0 : Y.height,
|
|
878
|
+
maxWidth: (z = x == null ? void 0 : x.style) == null ? void 0 : z.max_width,
|
|
879
|
+
maxHeight: (J = x == null ? void 0 : x.style) == null ? void 0 : J.max_height
|
|
879
880
|
},
|
|
880
|
-
children:
|
|
881
|
-
|
|
881
|
+
children: x != null && x.id ? /* @__PURE__ */ n.jsx(ze, { data: x }) : /* @__PURE__ */ n.jsx(
|
|
882
|
+
Er,
|
|
882
883
|
{
|
|
883
884
|
active: !0,
|
|
884
885
|
title: !1,
|
|
@@ -888,23 +889,45 @@ const Pt = "_entityCard_1xtgw_1", kt = "_pcCover_1xtgw_15", Ot = "_pcSection_1xt
|
|
|
888
889
|
)
|
|
889
890
|
}
|
|
890
891
|
),
|
|
891
|
-
open:
|
|
892
|
-
onOpenChange: (
|
|
893
|
-
|
|
892
|
+
open: ae,
|
|
893
|
+
onOpenChange: (A) => {
|
|
894
|
+
ce(!!A);
|
|
894
895
|
},
|
|
895
896
|
trigger: m,
|
|
896
|
-
placement:
|
|
897
|
-
|
|
898
|
-
|
|
897
|
+
placement: O,
|
|
898
|
+
align: function() {
|
|
899
|
+
const A = O, N = M;
|
|
900
|
+
switch (A) {
|
|
901
|
+
case "top":
|
|
902
|
+
return { offset: [0, N] };
|
|
903
|
+
case "bottom":
|
|
904
|
+
return { offset: [0, -N] };
|
|
905
|
+
case "left":
|
|
906
|
+
return { offset: [N, 0] };
|
|
907
|
+
case "right":
|
|
908
|
+
return { offset: [-N, 0] };
|
|
909
|
+
default:
|
|
910
|
+
return;
|
|
911
|
+
}
|
|
912
|
+
}(),
|
|
913
|
+
mouseEnterDelay: m === "hover" ? te / 1e3 : 0,
|
|
914
|
+
mouseLeaveDelay: m === "hover" ? ne / 1e3 : 0,
|
|
899
915
|
autoAdjustOverflow: !0,
|
|
900
|
-
|
|
916
|
+
zIndex: oe,
|
|
917
|
+
getPopupContainer: ie ?? (() => document.body),
|
|
918
|
+
overlayStyle: {
|
|
919
|
+
maxHeight: `calc(100vh - 24px - ${M * 2}px)`,
|
|
920
|
+
overflowY: "auto",
|
|
921
|
+
margin: M
|
|
922
|
+
},
|
|
901
923
|
overlayInnerStyle: { padding: 0 },
|
|
902
|
-
children:
|
|
924
|
+
children: D
|
|
903
925
|
}
|
|
904
926
|
);
|
|
905
|
-
return /* @__PURE__ */ n.jsx(n.Fragment, { children:
|
|
906
|
-
},
|
|
907
|
-
|
|
927
|
+
return /* @__PURE__ */ n.jsx(n.Fragment, { children: X });
|
|
928
|
+
}, nt = (r) => {
|
|
929
|
+
if (!r) return null;
|
|
930
|
+
const v = r.trim(), c = {
|
|
908
931
|
user: "User",
|
|
909
932
|
email: "Mail",
|
|
910
933
|
mail: "Mail",
|
|
@@ -914,18 +937,18 @@ const Pt = "_entityCard_1xtgw_1", kt = "_pcCover_1xtgw_15", Ot = "_pcSection_1xt
|
|
|
914
937
|
time: "Clock",
|
|
915
938
|
tags: "Tag"
|
|
916
939
|
}[v] ?? v.replace(/(^\w|-\w)/g, (g) => g.replace("-", "").toUpperCase());
|
|
917
|
-
return
|
|
918
|
-
},
|
|
919
|
-
if (
|
|
920
|
-
if (/^mailto:/i.test(
|
|
940
|
+
return Ve[c] || null;
|
|
941
|
+
}, it = (r) => {
|
|
942
|
+
if (r) {
|
|
943
|
+
if (/^mailto:/i.test(r))
|
|
921
944
|
try {
|
|
922
|
-
return decodeURIComponent(
|
|
945
|
+
return decodeURIComponent(r.slice(7));
|
|
923
946
|
} catch {
|
|
924
|
-
return
|
|
947
|
+
return r.slice(7);
|
|
925
948
|
}
|
|
926
|
-
return
|
|
949
|
+
return r;
|
|
927
950
|
}
|
|
928
|
-
},
|
|
951
|
+
}, Be = () => /* @__PURE__ */ n.jsxs(
|
|
929
952
|
"span",
|
|
930
953
|
{
|
|
931
954
|
style: {
|
|
@@ -962,19 +985,19 @@ const Pt = "_entityCard_1xtgw_1", kt = "_pcCover_1xtgw_15", Ot = "_pcSection_1xt
|
|
|
962
985
|
)
|
|
963
986
|
]
|
|
964
987
|
}
|
|
965
|
-
),
|
|
966
|
-
var _,
|
|
967
|
-
if (!
|
|
968
|
-
const f = (_ =
|
|
988
|
+
), ot = ({ data: r }) => {
|
|
989
|
+
var _, T;
|
|
990
|
+
if (!r || !r.title && !r.icon && !r.subtitle && !r.color && !r.url) return /* @__PURE__ */ n.jsx(Be, {});
|
|
991
|
+
const f = (_ = r == null ? void 0 : r.icon) == null ? void 0 : _.trim(), c = (T = r == null ? void 0 : r.title) == null ? void 0 : T.trim(), s = it(r == null ? void 0 : r.url), g = !!f, m = !!c, w = !!s, u = !!(r != null && r.color) || !!(r != null && r.subtitle), j = (S = 20) => {
|
|
969
992
|
if (f && /^https?:\/\//i.test(f))
|
|
970
|
-
return /* @__PURE__ */ n.jsx(
|
|
971
|
-
const O =
|
|
972
|
-
return /* @__PURE__ */ n.jsx(
|
|
993
|
+
return /* @__PURE__ */ n.jsx(Ne, { size: S, src: f });
|
|
994
|
+
const O = nt(f || "user"), W = Math.max(8, S - 4);
|
|
995
|
+
return /* @__PURE__ */ n.jsx(Ne, { size: S, icon: O ? /* @__PURE__ */ n.jsx(O, { size: W }) : void 0 });
|
|
973
996
|
};
|
|
974
997
|
return g && m && !w && !u ? /* @__PURE__ */ n.jsxs("span", { style: { display: "inline-flex", alignItems: "center", gap: 8 }, children: [
|
|
975
|
-
|
|
998
|
+
j(),
|
|
976
999
|
/* @__PURE__ */ n.jsx("span", { style: { color: "#027FFE", fontWeight: 500, lineHeight: "20px" }, title: c, children: c })
|
|
977
|
-
] }) : g && !m && !w && !u ? /* @__PURE__ */ n.jsx("span", { style: { display: "inline-flex" }, children:
|
|
1000
|
+
] }) : g && !m && !w && !u ? /* @__PURE__ */ n.jsx("span", { style: { display: "inline-flex" }, children: j() }) : !g && m && !w && !u ? /* @__PURE__ */ n.jsx(
|
|
978
1001
|
"span",
|
|
979
1002
|
{
|
|
980
1003
|
style: { display: "inline-block", color: "#027FFE", fontWeight: 500 },
|
|
@@ -982,13 +1005,13 @@ const Pt = "_entityCard_1xtgw_1", kt = "_pcCover_1xtgw_15", Ot = "_pcSection_1xt
|
|
|
982
1005
|
children: c
|
|
983
1006
|
}
|
|
984
1007
|
) : g && m && w ? /* @__PURE__ */ n.jsxs("span", { style: { display: "inline-flex", alignItems: "center", gap: 8 }, children: [
|
|
985
|
-
|
|
1008
|
+
j(40),
|
|
986
1009
|
/* @__PURE__ */ n.jsxs("span", { style: { display: "inline-flex", flexDirection: "column", justifyContent: "space-between" }, children: [
|
|
987
1010
|
/* @__PURE__ */ n.jsx("span", { style: { color: "#027FFE", fontWeight: 500 }, title: c, children: c }),
|
|
988
1011
|
/* @__PURE__ */ n.jsx("span", { style: { color: "#888", fontSize: 12 }, title: s, children: s })
|
|
989
1012
|
] })
|
|
990
1013
|
] }) : g && m && u ? /* @__PURE__ */ n.jsxs("span", { style: { display: "inline-flex", alignItems: "center", gap: 8 }, children: [
|
|
991
|
-
|
|
1014
|
+
j(40),
|
|
992
1015
|
/* @__PURE__ */ n.jsxs("span", { style: { display: "inline-flex", flexDirection: "column", justifyContent: "space-between" }, children: [
|
|
993
1016
|
/* @__PURE__ */ n.jsx("span", { style: { color: "#027FFE", fontWeight: 500 }, title: c, children: c }),
|
|
994
1017
|
/* @__PURE__ */ n.jsxs(
|
|
@@ -1002,40 +1025,40 @@ const Pt = "_entityCard_1xtgw_1", kt = "_pcCover_1xtgw_15", Ot = "_pcSection_1xt
|
|
|
1002
1025
|
fontSize: 12,
|
|
1003
1026
|
color: "#666"
|
|
1004
1027
|
},
|
|
1005
|
-
title:
|
|
1028
|
+
title: r == null ? void 0 : r.subtitle,
|
|
1006
1029
|
children: [
|
|
1007
|
-
(
|
|
1030
|
+
(r == null ? void 0 : r.color) && /* @__PURE__ */ n.jsx(
|
|
1008
1031
|
"span",
|
|
1009
1032
|
{
|
|
1010
1033
|
style: {
|
|
1011
1034
|
width: 12,
|
|
1012
1035
|
height: 12,
|
|
1013
1036
|
borderRadius: "50%",
|
|
1014
|
-
backgroundColor:
|
|
1037
|
+
backgroundColor: r.color
|
|
1015
1038
|
}
|
|
1016
1039
|
}
|
|
1017
1040
|
),
|
|
1018
|
-
|
|
1041
|
+
r == null ? void 0 : r.subtitle
|
|
1019
1042
|
]
|
|
1020
1043
|
}
|
|
1021
1044
|
)
|
|
1022
1045
|
] })
|
|
1023
|
-
] }) : m ? /* @__PURE__ */ n.jsx("span", { style: { color: "#027FFE", fontWeight: 500 }, title: c, children: c }) : /* @__PURE__ */ n.jsx(
|
|
1046
|
+
] }) : m ? /* @__PURE__ */ n.jsx("span", { style: { color: "#027FFE", fontWeight: 500 }, title: c, children: c }) : /* @__PURE__ */ n.jsx(Be, {});
|
|
1024
1047
|
};
|
|
1025
|
-
function
|
|
1048
|
+
function ut({ data: r }) {
|
|
1026
1049
|
var f, c, s, g;
|
|
1027
|
-
const v = ((
|
|
1050
|
+
const v = ((r == null ? void 0 : r.type) ?? "").toLowerCase() === "user";
|
|
1028
1051
|
return /* @__PURE__ */ n.jsx(
|
|
1029
1052
|
"div",
|
|
1030
1053
|
{
|
|
1031
1054
|
className: h.entityLabel,
|
|
1032
1055
|
style: {
|
|
1033
|
-
width: (f =
|
|
1034
|
-
height: (c =
|
|
1035
|
-
maxWidth: (s =
|
|
1036
|
-
maxHeight: (g =
|
|
1056
|
+
width: (f = r == null ? void 0 : r.style) == null ? void 0 : f.width,
|
|
1057
|
+
height: (c = r == null ? void 0 : r.style) == null ? void 0 : c.height,
|
|
1058
|
+
maxWidth: (s = r == null ? void 0 : r.style) == null ? void 0 : s.max_width,
|
|
1059
|
+
maxHeight: (g = r == null ? void 0 : r.style) == null ? void 0 : g.max_height
|
|
1037
1060
|
},
|
|
1038
|
-
children:
|
|
1061
|
+
children: r != null && r.id ? v ? /* @__PURE__ */ n.jsx(ot, { data: r }) : /* @__PURE__ */ n.jsx(ze, { data: r }) : /* @__PURE__ */ n.jsxs(
|
|
1039
1062
|
"span",
|
|
1040
1063
|
{
|
|
1041
1064
|
style: {
|
|
@@ -1077,7 +1100,7 @@ function or({ data: t }) {
|
|
|
1077
1100
|
);
|
|
1078
1101
|
}
|
|
1079
1102
|
export {
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1103
|
+
ct as EntityCard,
|
|
1104
|
+
ut as EntityLabel,
|
|
1105
|
+
ot as EntityUser
|
|
1083
1106
|
};
|