@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.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 Ye, { useState as We, useRef as xt } from "react";
3
- import { Breadcrumb as _t, Tag as ze, Progress as bt, Button as wt, Popover as Rt, Skeleton as jt, Avatar as $e } from "antd";
4
- import * as Je from "lucide-react";
5
- import { ExternalLink as Et, Tags as Ct } from "lucide-react";
6
- var be = { exports: {} }, X = {};
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 Be;
17
- function Tt() {
18
- if (Be) return X;
19
- Be = 1;
20
- var t = Ye, v = Symbol.for("react.element"), f = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, s = t.__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, R) {
22
- var _, S = {}, C = null, O = null;
23
- R !== void 0 && (C = "" + R), u.key !== void 0 && (C = "" + u.key), u.ref !== void 0 && (O = u.ref);
24
- for (_ in u) c.call(u, _) && !g.hasOwnProperty(_) && (S[_] = u[_]);
25
- if (w && w.defaultProps) for (_ in u = w.defaultProps, u) S[_] === void 0 && (S[_] = u[_]);
26
- return { $$typeof: v, type: w, key: C, ref: O, props: S, _owner: s.current };
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 X.Fragment = f, X.jsx = m, X.jsxs = m, X;
28
+ return H.Fragment = f, H.jsx = m, H.jsxs = m, H;
29
29
  }
30
- var Z = {};
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 Me;
41
- function St() {
42
- return Me || (Me = 1, process.env.NODE_ENV !== "production" && function() {
43
- var t = Ye, 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"), R = Symbol.for("react.suspense"), _ = Symbol.for("react.suspense_list"), S = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), O = Symbol.for("react.offscreen"), $ = Symbol.iterator, ae = "@@iterator";
44
- function ce(e) {
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 r = $ && e[$] || e[ae];
48
- return typeof r == "function" ? r : null;
47
+ var t = W && e[W] || e[te];
48
+ return typeof t == "function" ? t : null;
49
49
  }
50
- var A = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
51
- function j(e) {
50
+ var F = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
51
+ function R(e) {
52
52
  {
53
- for (var r = arguments.length, i = new Array(r > 1 ? r - 1 : 0), o = 1; o < r; o++)
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
- we("error", e, i);
55
+ _e("error", e, i);
56
56
  }
57
57
  }
58
- function we(e, r, i) {
58
+ function _e(e, t, i) {
59
59
  {
60
- var o = A.ReactDebugCurrentFrame, p = o.getStackAddendum();
61
- p !== "" && (r += "%s", i = i.concat([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: " + r), Function.prototype.apply.call(console[e], console, y);
65
+ y.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, y);
66
66
  }
67
67
  }
68
- var ue = !1, fe = !1, Q = !1, pe = !1, he = !1, d;
69
- d = Symbol.for("react.module.reference");
70
- function B(e) {
71
- return !!(typeof e == "string" || typeof e == "function" || e === c || e === g || he || e === s || e === R || e === _ || pe || e === O || ue || fe || Q || typeof e == "object" && e !== null && (e.$$typeof === C || e.$$typeof === S || e.$$typeof === m || e.$$typeof === w || e.$$typeof === u || // This needs to include all possible module reference object
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 === d || e.getModuleId !== void 0));
75
+ e.$$typeof === U || e.getModuleId !== void 0));
76
76
  }
77
- function ve(e, r, i) {
77
+ function ce(e, t, i) {
78
78
  var o = e.displayName;
79
79
  if (o)
80
80
  return o;
81
- var p = r.displayName || r.name || "";
81
+ var p = t.displayName || t.name || "";
82
82
  return p !== "" ? i + "(" + p + ")" : i;
83
83
  }
84
- function ee(e) {
84
+ function x(e) {
85
85
  return e.displayName || "Context";
86
86
  }
87
- function I(e) {
87
+ function P(e) {
88
88
  if (e == null)
89
89
  return null;
90
- if (typeof e.tag == "number" && j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
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 R:
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 r = e;
112
- return ee(r) + ".Consumer";
111
+ var t = e;
112
+ return x(t) + ".Consumer";
113
113
  case m:
114
114
  var i = e;
115
- return ee(i._context) + ".Provider";
115
+ return x(i._context) + ".Provider";
116
116
  case u:
117
- return ve(e, e.render, "ForwardRef");
118
- case S:
117
+ return ce(e, e.render, "ForwardRef");
118
+ case T:
119
119
  var o = e.displayName || null;
120
- return o !== null ? o : I(e.type) || "Memo";
121
- case C: {
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 I(a(y));
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 F = Object.assign, L = 0, te, Y, z, J, q, P, re;
133
- function ne() {
132
+ var I = Object.assign, D = 0, X, V, Y, z, J, A, N;
133
+ function be() {
134
134
  }
135
- ne.__reactDisabledLog = !0;
136
- function ie() {
135
+ be.__reactDisabledLog = !0;
136
+ function Je() {
137
137
  {
138
- if (L === 0) {
139
- te = console.log, Y = console.info, z = console.warn, J = console.error, q = console.group, P = console.groupCollapsed, re = console.groupEnd;
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: ne,
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
- L++;
156
+ D++;
157
157
  }
158
158
  }
159
- function ge() {
159
+ function qe() {
160
160
  {
161
- if (L--, L === 0) {
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: F({}, e, {
169
- value: te
168
+ log: I({}, e, {
169
+ value: X
170
170
  }),
171
- info: F({}, e, {
171
+ info: I({}, e, {
172
+ value: V
173
+ }),
174
+ warn: I({}, e, {
172
175
  value: Y
173
176
  }),
174
- warn: F({}, e, {
177
+ error: I({}, e, {
175
178
  value: z
176
179
  }),
177
- error: F({}, e, {
180
+ group: I({}, e, {
178
181
  value: J
179
182
  }),
180
- group: F({}, e, {
181
- value: q
182
- }),
183
- groupCollapsed: F({}, e, {
184
- value: P
183
+ groupCollapsed: I({}, e, {
184
+ value: A
185
185
  }),
186
- groupEnd: F({}, e, {
187
- value: re
186
+ groupEnd: I({}, e, {
187
+ value: N
188
188
  })
189
189
  });
190
190
  }
191
- L < 0 && j("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
191
+ D < 0 && R("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
192
192
  }
193
193
  }
194
- var H = A.ReactCurrentDispatcher, K;
195
- function M(e, r, i) {
194
+ var ue = F.ReactCurrentDispatcher, fe;
195
+ function Z(e, t, i) {
196
196
  {
197
- if (K === void 0)
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
- K = o && o[1] || "";
202
+ fe = o && o[1] || "";
203
203
  }
204
204
  return `
205
- ` + K + e;
205
+ ` + fe + e;
206
206
  }
207
207
  }
208
- var N = !1, D;
208
+ var pe = !1, Q;
209
209
  {
210
- var oe = typeof WeakMap == "function" ? WeakMap : Map;
211
- D = new oe();
210
+ var Ke = typeof WeakMap == "function" ? WeakMap : Map;
211
+ Q = new Ke();
212
212
  }
213
- function Re(e, r) {
214
- if (!e || N)
213
+ function we(e, t) {
214
+ if (!e || pe)
215
215
  return "";
216
216
  {
217
- var i = D.get(e);
217
+ var i = Q.get(e);
218
218
  if (i !== void 0)
219
219
  return i;
220
220
  }
221
221
  var o;
222
- N = !0;
222
+ pe = !0;
223
223
  var p = Error.prepareStackTrace;
224
224
  Error.prepareStackTrace = void 0;
225
225
  var y;
226
- y = H.current, H.current = null, ie();
226
+ y = ue.current, ue.current = null, Je();
227
227
  try {
228
- if (r) {
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 (T) {
240
- o = T;
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 (T) {
247
- o = T;
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 (T) {
255
- o = T;
254
+ } catch (C) {
255
+ o = C;
256
256
  }
257
257
  e();
258
258
  }
259
- } catch (T) {
260
- if (T && o && typeof T.stack == "string") {
261
- for (var l = T.stack.split(`
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
- `), x = l.length - 1, b = E.length - 1; x >= 1 && b >= 0 && l[x] !== E[b]; )
263
+ `), d = l.length - 1, b = E.length - 1; d >= 1 && b >= 0 && l[d] !== E[b]; )
264
264
  b--;
265
- for (; x >= 1 && b >= 0; x--, b--)
266
- if (l[x] !== E[b]) {
267
- if (x !== 1 || b !== 1)
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 (x--, b--, b < 0 || l[x] !== E[b]) {
269
+ if (d--, b--, b < 0 || l[d] !== E[b]) {
270
270
  var k = `
271
- ` + l[x].replace(" at new ", " at ");
272
- return e.displayName && k.includes("<anonymous>") && (k = k.replace("<anonymous>", e.displayName)), typeof e == "function" && D.set(e, k), k;
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 (x >= 1 && b >= 0);
274
+ while (d >= 1 && b >= 0);
275
275
  break;
276
276
  }
277
277
  }
278
278
  } finally {
279
- N = !1, H.current = y, ge(), Error.prepareStackTrace = p;
279
+ pe = !1, ue.current = y, qe(), Error.prepareStackTrace = p;
280
280
  }
281
- var V = e ? e.displayName || e.name : "", W = V ? M(V) : "";
282
- return typeof e == "function" && D.set(e, W), W;
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 Ke(e, r, i) {
285
- return Re(e, !1);
284
+ function He(e, t, i) {
285
+ return we(e, !1);
286
286
  }
287
287
  function Ge(e) {
288
- var r = e.prototype;
289
- return !!(r && r.isReactComponent);
288
+ var t = e.prototype;
289
+ return !!(t && t.isReactComponent);
290
290
  }
291
- function se(e, r, i) {
291
+ function ee(e, t, i) {
292
292
  if (e == null)
293
293
  return "";
294
294
  if (typeof e == "function")
295
- return Re(e, Ge(e));
295
+ return we(e, Ge(e));
296
296
  if (typeof e == "string")
297
- return M(e);
297
+ return Z(e);
298
298
  switch (e) {
299
- case R:
300
- return M("Suspense");
299
+ case j:
300
+ return Z("Suspense");
301
301
  case _:
302
- return M("SuspenseList");
302
+ return Z("SuspenseList");
303
303
  }
304
304
  if (typeof e == "object")
305
305
  switch (e.$$typeof) {
306
306
  case u:
307
- return Ke(e.render);
308
- case S:
309
- return se(e.type, r, i);
310
- case C: {
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 se(y(p), r, i);
313
+ return ee(y(p), t, i);
314
314
  } catch {
315
315
  }
316
316
  }
317
317
  }
318
318
  return "";
319
319
  }
320
- var G = Object.prototype.hasOwnProperty, je = {}, Ee = A.ReactDebugCurrentFrame;
321
- function le(e) {
320
+ var q = Object.prototype.hasOwnProperty, Re = {}, je = F.ReactDebugCurrentFrame;
321
+ function re(e) {
322
322
  if (e) {
323
- var r = e._owner, i = se(e.type, e._source, r ? r.type : null);
324
- Ee.setExtraStackFrame(i);
323
+ var t = e._owner, i = ee(e.type, e._source, t ? t.type : null);
324
+ je.setExtraStackFrame(i);
325
325
  } else
326
- Ee.setExtraStackFrame(null);
326
+ je.setExtraStackFrame(null);
327
327
  }
328
- function Xe(e, r, i, o, p) {
328
+ function Xe(e, t, i, o, p) {
329
329
  {
330
- var y = Function.call.bind(G);
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](r, a, o, i, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
340
- } catch (x) {
341
- l = x;
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) && (le(p), j("%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), le(null)), l instanceof Error && !(l.message in je) && (je[l.message] = !0, le(p), j("Failed %s type: %s", i, l.message), le(null));
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 me(e) {
348
+ function he(e) {
349
349
  return Ze(e);
350
350
  }
351
351
  function Qe(e) {
352
352
  {
353
- var r = typeof Symbol == "function" && Symbol.toStringTag, i = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
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 et(e) {
357
+ function er(e) {
358
358
  try {
359
- return Ce(e), !1;
359
+ return Ee(e), !1;
360
360
  } catch {
361
361
  return !0;
362
362
  }
363
363
  }
364
- function Ce(e) {
364
+ function Ee(e) {
365
365
  return "" + e;
366
366
  }
367
- function Te(e) {
368
- if (et(e))
369
- return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Qe(e)), Ce(e);
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 Se = A.ReactCurrentOwner, tt = {
371
+ var K = F.ReactCurrentOwner, rr = {
372
372
  key: !0,
373
373
  ref: !0,
374
374
  __self: !0,
375
375
  __source: !0
376
- }, Pe, ke;
377
- function rt(e) {
378
- if (G.call(e, "ref")) {
379
- var r = Object.getOwnPropertyDescriptor(e, "ref").get;
380
- if (r && r.isReactWarning)
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 nt(e) {
386
- if (G.call(e, "key")) {
387
- var r = Object.getOwnPropertyDescriptor(e, "key").get;
388
- if (r && r.isReactWarning)
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 it(e, r) {
394
- typeof e.ref == "string" && Se.current;
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 ot(e, r) {
400
+ function or(e, t) {
397
401
  {
398
402
  var i = function() {
399
- Pe || (Pe = !0, j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
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 st(e, r) {
411
+ function sr(e, t) {
408
412
  {
409
413
  var i = function() {
410
- ke || (ke = !0, j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
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 lt = function(e, r, i, o, p, y, a) {
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: r,
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 at(e, r, i, o, p) {
451
+ function ar(e, t, i, o, p) {
448
452
  {
449
453
  var y, a = {}, l = null, E = null;
450
- i !== void 0 && (Te(i), l = "" + i), nt(r) && (Te(r.key), l = "" + r.key), rt(r) && (E = r.ref, it(r, p));
451
- for (y in r)
452
- G.call(r, y) && !tt.hasOwnProperty(y) && (a[y] = r[y]);
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 x = e.defaultProps;
455
- for (y in x)
456
- a[y] === void 0 && (a[y] = x[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 && ot(a, b), E && st(a, b);
464
+ l && or(a, b), E && sr(a, b);
461
465
  }
462
- return lt(e, l, E, p, o, Se.current, a);
466
+ return lr(e, l, E, p, o, K.current, a);
463
467
  }
464
468
  }
465
- var ye = A.ReactCurrentOwner, Oe = A.ReactDebugCurrentFrame;
466
- function U(e) {
469
+ var ge = F.ReactCurrentOwner, Pe = F.ReactDebugCurrentFrame;
470
+ function $(e) {
467
471
  if (e) {
468
- var r = e._owner, i = se(e.type, e._source, r ? r.type : null);
469
- Oe.setExtraStackFrame(i);
472
+ var t = e._owner, i = ee(e.type, e._source, t ? t.type : null);
473
+ Pe.setExtraStackFrame(i);
470
474
  } else
471
- Oe.setExtraStackFrame(null);
475
+ Pe.setExtraStackFrame(null);
472
476
  }
473
- var de;
474
- de = !1;
475
- function xe(e) {
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 Ie() {
482
+ function ke() {
479
483
  {
480
- if (ye.current) {
481
- var e = I(ye.current.type);
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 ct(e) {
494
+ function cr(e) {
491
495
  return "";
492
496
  }
493
- var Ae = {};
494
- function ut(e) {
497
+ var Oe = {};
498
+ function ur(e) {
495
499
  {
496
- var r = Ie();
497
- if (!r) {
500
+ var t = ke();
501
+ if (!t) {
498
502
  var i = typeof e == "string" ? e : e.displayName || e.name;
499
- i && (r = `
503
+ i && (t = `
500
504
 
501
505
  Check the top-level render call using <` + i + ">.");
502
506
  }
503
- return r;
507
+ return t;
504
508
  }
505
509
  }
506
- function Fe(e, r) {
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 = ut(r);
512
- if (Ae[i])
515
+ var i = ur(t);
516
+ if (Oe[i])
513
517
  return;
514
- Ae[i] = !0;
518
+ Oe[i] = !0;
515
519
  var o = "";
516
- e && e._owner && e._owner !== ye.current && (o = " It was passed a child from " + I(e._owner.type) + "."), U(e), j('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), U(null);
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 Ne(e, r) {
523
+ function Ae(e, t) {
520
524
  {
521
525
  if (typeof e != "object")
522
526
  return;
523
- if (me(e))
527
+ if (he(e))
524
528
  for (var i = 0; i < e.length; i++) {
525
529
  var o = e[i];
526
- xe(o) && Fe(o, r);
530
+ ye(o) && Ie(o, t);
527
531
  }
528
- else if (xe(e))
532
+ else if (ye(e))
529
533
  e._store && (e._store.validated = !0);
530
534
  else if (e) {
531
- var p = ce(e);
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
- xe(a.value) && Fe(a.value, r);
538
+ ye(a.value) && Ie(a.value, t);
535
539
  }
536
540
  }
537
541
  }
538
- function ft(e) {
542
+ function fr(e) {
539
543
  {
540
- var r = e.type;
541
- if (r == null || typeof r == "string")
544
+ var t = e.type;
545
+ if (t == null || typeof t == "string")
542
546
  return;
543
547
  var i;
544
- if (typeof r == "function")
545
- i = r.propTypes;
546
- else if (typeof r == "object" && (r.$$typeof === u || // Note: Memo only checks outer props here.
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
- r.$$typeof === S))
549
- i = r.propTypes;
552
+ t.$$typeof === T))
553
+ i = t.propTypes;
550
554
  else
551
555
  return;
552
556
  if (i) {
553
- var o = I(r);
557
+ var o = P(t);
554
558
  Xe(i, e.props, "prop", o, e);
555
- } else if (r.PropTypes !== void 0 && !de) {
556
- de = !0;
557
- var p = I(r);
558
- j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", p || "Unknown");
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 r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
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 pt(e) {
567
+ function pr(e) {
564
568
  {
565
- for (var r = Object.keys(e.props), i = 0; i < r.length; i++) {
566
- var o = r[i];
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
- U(e), j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), U(null);
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 && (U(e), j("Invalid attribute `ref` supplied to `React.Fragment`."), U(null));
576
+ e.ref !== null && ($(e), R("Invalid attribute `ref` supplied to `React.Fragment`."), $(null));
573
577
  }
574
578
  }
575
- var De = {};
576
- function Le(e, r, i, o, p, y) {
579
+ var Fe = {};
580
+ function De(e, t, i, o, p, y) {
577
581
  {
578
- var a = B(e);
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 = ct();
583
- E ? l += E : l += Ie();
584
- var x;
585
- e === null ? x = "null" : me(e) ? x = "array" : e !== void 0 && e.$$typeof === v ? (x = "<" + (I(e.type) || "Unknown") + " />", l = " Did you accidentally export a JSX literal instead of a component?") : x = typeof e, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", x, l);
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 = at(e, r, i, p, y);
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 = r.children;
595
+ var k = t.children;
592
596
  if (k !== void 0)
593
597
  if (o)
594
- if (me(k)) {
595
- for (var V = 0; V < k.length; V++)
596
- Ne(k[V], e);
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
- j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
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
- Ne(k, e);
605
+ Ae(k, e);
602
606
  }
603
- if (G.call(r, "key")) {
604
- var W = I(e), T = Object.keys(r).filter(function(dt) {
605
- return dt !== "key";
606
- }), _e = T.length > 0 ? "{key: someKey, " + T.join(": ..., ") + ": ...}" : "{key: someKey}";
607
- if (!De[W + _e]) {
608
- var yt = T.length > 0 ? "{" + T.join(": ..., ") + ": ...}" : "{}";
609
- j(`A props object containing a "key" prop is being spread into JSX:
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} />`, _e, W, yt, W), De[W + _e] = !0;
618
+ <%s key={someKey} {...props} />`, xe, L, yr, L), Fe[L + xe] = !0;
615
619
  }
616
620
  }
617
- return e === c ? pt(b) : ft(b), b;
621
+ return e === c ? pr(b) : fr(b), b;
618
622
  }
619
623
  }
620
- function ht(e, r, i) {
621
- return Le(e, r, i, !0);
624
+ function hr(e, t, i) {
625
+ return De(e, t, i, !0);
622
626
  }
623
- function vt(e, r, i) {
624
- return Le(e, r, i, !1);
627
+ function vr(e, t, i) {
628
+ return De(e, t, i, !1);
625
629
  }
626
- var gt = vt, mt = ht;
627
- Z.Fragment = c, Z.jsx = gt, Z.jsxs = mt;
628
- }()), Z;
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" ? be.exports = Tt() : be.exports = St();
631
- var n = be.exports;
632
- const Pt = "_entityCard_1xtgw_1", kt = "_pcCover_1xtgw_15", Ot = "_pcSection_1xtgw_31", It = "_pcBreadcrumbSep_1xtgw_38", At = "_pcBasic_1xtgw_43", Ft = "_pcBasicRow_1xtgw_49", Nt = "_pcBasicRowLeft_1xtgw_56", Dt = "_pcLinkIconRight_1xtgw_61", Lt = "_pcColorSwatch_1xtgw_72", Wt = "_pcTitleText_1xtgw_99", $t = "_pcSubTitleText_1xtgw_106", Bt = "_pcProperties_1xtgw_119", Mt = "_pcProperty_1xtgw_127", Ut = "_pcTagsRow_1xtgw_138", Vt = "_pcDetails_1xtgw_151", Yt = "_pcRow_1xtgw_157", zt = "_pcCol_1xtgw_72", Jt = "_pcColLabel_1xtgw_179", qt = "_pcColValue_1xtgw_183", Ht = "_pcProgressText_1xtgw_188", Kt = "_entityLabel_1xtgw_194", h = {
633
- entityCard: Pt,
634
- pcCover: kt,
635
- pcSection: Ot,
636
- pcBreadcrumbSep: It,
637
- pcBasic: At,
638
- pcBasicRow: Ft,
639
- pcBasicRowLeft: Nt,
640
- pcLinkIconRight: Dt,
641
- pcColorSwatch: Lt,
642
- pcTitleText: Wt,
643
- pcSubTitleText: $t,
644
- pcProperties: Bt,
645
- pcProperty: Mt,
646
- pcTagsRow: Ut,
647
- pcDetails: Vt,
648
- pcRow: Yt,
649
- pcCol: zt,
650
- pcColLabel: Jt,
651
- pcColValue: qt,
652
- pcProgressText: Ht,
653
- entityLabel: Kt
654
- }, Ue = (t) => {
655
- if (!t) return null;
656
- const v = t.trim(), s = {
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 Je[s] || null;
667
- }, Gt = (t, v) => {
668
- const f = typeof t == "number" ? t : typeof t == "string" ? parseFloat(t) : NaN, c = isFinite(f) ? f <= 1 ? Math.max(0, Math.min(1, f)) * 100 : Math.max(0, Math.min(100, f)) : 0;
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
- bt,
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
- }, qe = (t) => !Array.isArray(t) || t.length === 0 ? null : /* @__PURE__ */ n.jsx("div", { className: h.pcTagsRow, children: t.map((v, f) => /* @__PURE__ */ n.jsx(
682
- ze,
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
- )) }), Xt = (t) => {
696
- const { view: v, value: f, payload: c } = t;
697
- return v === "percent_bar" ? Gt(f, c) : v === "tags" ? qe(Array.isArray(f) ? f : []) : /* @__PURE__ */ n.jsx("div", { className: h.pcColValue, children: String(f ?? "") });
698
- }, He = ({
699
- data: t
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
- (t == null ? void 0 : t.cover) && /* @__PURE__ */ n.jsx(
711
+ (r == null ? void 0 : r.cover) && /* @__PURE__ */ n.jsx(
704
712
  "div",
705
713
  {
706
714
  className: h.pcCover,
707
- style: { height: (v = t == null ? void 0 : t.style) == null ? void 0 : v.cover_max_height },
708
- children: /* @__PURE__ */ n.jsx("img", { src: t.cover, alt: "cover" })
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(t == null ? void 0 : t.categories) && t.categories.length > 0 && /* @__PURE__ */ n.jsx("div", { className: h.pcSection, children: /* @__PURE__ */ n.jsx(
712
- _t,
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: t.categories.map((s, g) => ({
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
- ((t == null ? void 0 : t.color) || (t == null ? void 0 : t.icon) || (t == null ? void 0 : t.title) || (t == null ? void 0 : t.subtitle) || (t == null ? void 0 : t.url)) && /* @__PURE__ */ n.jsx("div", { className: h.pcBasic, children: /* @__PURE__ */ n.jsxs("div", { className: h.pcBasicRow, children: [
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
- (t == null ? void 0 : t.color) && /* @__PURE__ */ n.jsx(
731
+ (r == null ? void 0 : r.color) && /* @__PURE__ */ n.jsx(
724
732
  "span",
725
733
  {
726
734
  className: h.pcColorSwatch,
727
- style: { backgroundColor: t.color },
728
- "aria-label": `color ${t.color}`,
729
- title: `color: ${t.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 = t == null ? void 0 : t.icon) == null ? void 0 : m.trim();
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 = Ue(s);
755
+ const g = $e(s);
748
756
  return g ? /* @__PURE__ */ n.jsx(g, { className: h.pcIcon, size: 18, strokeWidth: 2 }) : null;
749
757
  })(),
750
- (t == null ? void 0 : t.title) && /* @__PURE__ */ n.jsx("span", { className: h.pcTitleText, title: t.title, children: t.title }),
751
- (t == null ? void 0 : t.subtitle) && /* @__PURE__ */ n.jsxs("span", { className: h.pcSubTitleText, title: t.subtitle, children: [
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
- t.subtitle
761
+ r.subtitle
754
762
  ] })
755
763
  ] }),
756
- (t == null ? void 0 : t.url) && /* @__PURE__ */ n.jsx(
764
+ (r == null ? void 0 : r.url) && /* @__PURE__ */ n.jsx(
757
765
  "a",
758
766
  {
759
- href: t.url,
767
+ href: r.url,
760
768
  target: "_blank",
761
769
  rel: "noreferrer",
762
770
  "aria-label": "open link",
763
- title: t.url,
771
+ title: r.url,
764
772
  className: h.pcLinkIconRight,
765
773
  children: /* @__PURE__ */ n.jsx(
766
- Et,
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(t == null ? void 0 : t.properties) && t.properties.length > 0 && /* @__PURE__ */ n.jsx("div", { className: h.pcSection, style: { paddingTop: 25 }, children: /* @__PURE__ */ n.jsx("div", { className: h.pcProperties, children: t.properties.map((s, g) => {
775
- const m = Ue(s.icon), w = () => {
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 qe(Array.isArray(s.value) ? s.value : []);
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 = t == null ? void 0 : t.details) == null ? void 0 : f.table) == null ? void 0 : c.rows) && t.details.table.rows.length > 0 && /* @__PURE__ */ n.jsx("div", { className: h.pcSection, children: /* @__PURE__ */ n.jsx("div", { className: h.pcDetails, children: t.details.table.rows.map((s, g) => {
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, R) => /* @__PURE__ */ n.jsxs("div", { className: h.pcCol, children: [
808
- Xt(u),
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
- ] }, R))
818
+ ] }, j))
811
819
  },
812
820
  g
813
821
  );
814
822
  }) }) }),
815
- Array.isArray(t == null ? void 0 : t.tags) && t.tags.length > 0 && /* @__PURE__ */ n.jsx("div", { className: h.pcSection, children: t.tags.map((s, g) => /* @__PURE__ */ n.jsx(
816
- ze,
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(Ct, { style: { width: 12, height: 12 } }),
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
- }, ir = ({
833
- title: t,
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: R,
850
+ open: j,
843
851
  onOpenChange: _,
844
- modalTitle: S,
845
- width: C,
852
+ modalTitle: T,
853
+ width: S,
846
854
  placement: O = "right",
847
- data: $,
848
- hoverOpenDelay: ae = 500,
849
- closeDelay: ce = 200,
850
- autoPlacement: A = !1,
851
- hoverAutoClose: j = !1,
852
- hoverAutoCloseDelay: we = 2e3
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, q;
855
- const [ue, fe] = We(!1), Q = typeof R == "boolean", pe = Q ? R : ue, he = (P) => {
856
- Q ? _ == null || _(P) : fe(P);
857
- }, d = $, B = xt(null), [ve, ee] = We(O), I = () => {
858
- if (!B.current) return;
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: (Y = d == null ? void 0 : d.style) == null ? void 0 : Y.width,
876
- height: (z = d == null ? void 0 : d.style) == null ? void 0 : z.height,
877
- maxWidth: (J = d == null ? void 0 : d.style) == null ? void 0 : J.max_width,
878
- maxHeight: (q = d == null ? void 0 : d.style) == null ? void 0 : q.max_height
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: d != null && d.id ? /* @__PURE__ */ n.jsx(He, { data: d }) : /* @__PURE__ */ n.jsx(
881
- jt,
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: pe,
892
- onOpenChange: (P) => {
893
- P && A && I(), he(!!P);
892
+ open: ae,
893
+ onOpenChange: (A) => {
894
+ ce(!!A);
894
895
  },
895
896
  trigger: m,
896
- placement: A ? ve : O,
897
- mouseEnterDelay: m === "hover" ? ae / 1e3 : 0,
898
- mouseLeaveDelay: m === "hover" ? ce / 1e3 : 0,
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
- getPopupContainer: () => B.current || document.body,
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: L
924
+ children: D
903
925
  }
904
926
  );
905
- return /* @__PURE__ */ n.jsx(n.Fragment, { children: te });
906
- }, Zt = (t) => {
907
- const v = t.trim(), c = {
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 Je[c] || null;
918
- }, Qt = (t) => {
919
- if (t) {
920
- if (/^mailto:/i.test(t))
940
+ return Ve[c] || null;
941
+ }, it = (r) => {
942
+ if (r) {
943
+ if (/^mailto:/i.test(r))
921
944
  try {
922
- return decodeURIComponent(t.slice(7));
945
+ return decodeURIComponent(r.slice(7));
923
946
  } catch {
924
- return t.slice(7);
947
+ return r.slice(7);
925
948
  }
926
- return t;
949
+ return r;
927
950
  }
928
- }, Ve = () => /* @__PURE__ */ n.jsxs(
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
- ), er = ({ data: t }) => {
966
- var _, S;
967
- if (!t || !t.title && !t.icon && !t.subtitle && !t.color && !t.url) return /* @__PURE__ */ n.jsx(Ve, {});
968
- const f = (_ = t == null ? void 0 : t.icon) == null ? void 0 : _.trim(), c = (S = t == null ? void 0 : t.title) == null ? void 0 : S.trim(), s = Qt(t == null ? void 0 : t.url), g = !!f, m = !!c, w = !!s, u = !!(t != null && t.color) || !!(t != null && t.subtitle), R = (C = 20) => {
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($e, { size: C, src: f });
971
- const O = Zt(f || "user"), $ = Math.max(8, C - 4);
972
- return /* @__PURE__ */ n.jsx($e, { size: C, icon: O ? /* @__PURE__ */ n.jsx(O, { size: $ }) : void 0 });
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
- R(),
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: R() }) : !g && m && !w && !u ? /* @__PURE__ */ n.jsx(
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
- R(40),
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
- R(40),
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: t == null ? void 0 : t.subtitle,
1028
+ title: r == null ? void 0 : r.subtitle,
1006
1029
  children: [
1007
- (t == null ? void 0 : t.color) && /* @__PURE__ */ n.jsx(
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: t.color
1037
+ backgroundColor: r.color
1015
1038
  }
1016
1039
  }
1017
1040
  ),
1018
- t == null ? void 0 : t.subtitle
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(Ve, {});
1046
+ ] }) : m ? /* @__PURE__ */ n.jsx("span", { style: { color: "#027FFE", fontWeight: 500 }, title: c, children: c }) : /* @__PURE__ */ n.jsx(Be, {});
1024
1047
  };
1025
- function or({ data: t }) {
1048
+ function ut({ data: r }) {
1026
1049
  var f, c, s, g;
1027
- const v = ((t == null ? void 0 : t.type) ?? "").toLowerCase() === "user";
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 = t == null ? void 0 : t.style) == null ? void 0 : f.width,
1034
- height: (c = t == null ? void 0 : t.style) == null ? void 0 : c.height,
1035
- maxWidth: (s = t == null ? void 0 : t.style) == null ? void 0 : s.max_width,
1036
- maxHeight: (g = t == null ? void 0 : t.style) == null ? void 0 : g.max_height
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: t != null && t.id ? v ? /* @__PURE__ */ n.jsx(er, { data: t }) : /* @__PURE__ */ n.jsx(He, { data: t }) : /* @__PURE__ */ n.jsxs(
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
- ir as EntityCard,
1081
- or as EntityLabel,
1082
- er as EntityUser
1103
+ ct as EntityCard,
1104
+ ut as EntityLabel,
1105
+ ot as EntityUser
1083
1106
  };