@mxmweb/rtext 1.6.8 → 1.6.9
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/index.js +690 -694
- package/package.json +1 -1
- package/stats.html +1 -1
package/index.js
CHANGED
|
@@ -48,57 +48,57 @@ var xu;
|
|
|
48
48
|
function Kh() {
|
|
49
49
|
return xu || (xu = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
50
50
|
var e = rt, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), d = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), y = Symbol.for("react.suspense_list"), C = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"), O = Symbol.iterator, N = "@@iterator";
|
|
51
|
-
function g(
|
|
52
|
-
if (
|
|
51
|
+
function g(x) {
|
|
52
|
+
if (x === null || typeof x != "object")
|
|
53
53
|
return null;
|
|
54
|
-
var we = O &&
|
|
54
|
+
var we = O && x[O] || x[N];
|
|
55
55
|
return typeof we == "function" ? we : null;
|
|
56
56
|
}
|
|
57
57
|
var I = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
58
|
-
function q(
|
|
58
|
+
function q(x) {
|
|
59
59
|
{
|
|
60
60
|
for (var we = arguments.length, se = new Array(we > 1 ? we - 1 : 0), Xe = 1; Xe < we; Xe++)
|
|
61
61
|
se[Xe - 1] = arguments[Xe];
|
|
62
|
-
H("error",
|
|
62
|
+
H("error", x, se);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
function H(
|
|
65
|
+
function H(x, we, se) {
|
|
66
66
|
{
|
|
67
67
|
var Xe = I.ReactDebugCurrentFrame, bt = Xe.getStackAddendum();
|
|
68
68
|
bt !== "" && (we += "%s", se = se.concat([bt]));
|
|
69
69
|
var _e = se.map(function(nt) {
|
|
70
70
|
return String(nt);
|
|
71
71
|
});
|
|
72
|
-
_e.unshift("Warning: " + we), Function.prototype.apply.call(console[
|
|
72
|
+
_e.unshift("Warning: " + we), Function.prototype.apply.call(console[x], console, _e);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
var L = !1, z = !1, V = !1, G = !1, ve = !1, xe;
|
|
76
76
|
xe = Symbol.for("react.module.reference");
|
|
77
|
-
function oe(
|
|
78
|
-
return !!(typeof
|
|
77
|
+
function oe(x) {
|
|
78
|
+
return !!(typeof x == "string" || typeof x == "function" || x === n || x === l || ve || x === a || x === p || x === y || G || x === T || L || z || V || typeof x == "object" && x !== null && (x.$$typeof === E || x.$$typeof === C || x.$$typeof === c || x.$$typeof === d || x.$$typeof === m || // This needs to include all possible module reference object
|
|
79
79
|
// types supported by any Flight configuration anywhere since
|
|
80
80
|
// we don't know which Flight build this will end up being used
|
|
81
81
|
// with.
|
|
82
|
-
|
|
82
|
+
x.$$typeof === xe || x.getModuleId !== void 0));
|
|
83
83
|
}
|
|
84
|
-
function he(
|
|
85
|
-
var Xe =
|
|
84
|
+
function he(x, we, se) {
|
|
85
|
+
var Xe = x.displayName;
|
|
86
86
|
if (Xe)
|
|
87
87
|
return Xe;
|
|
88
88
|
var bt = we.displayName || we.name || "";
|
|
89
89
|
return bt !== "" ? se + "(" + bt + ")" : se;
|
|
90
90
|
}
|
|
91
|
-
function ee(
|
|
92
|
-
return
|
|
91
|
+
function ee(x) {
|
|
92
|
+
return x.displayName || "Context";
|
|
93
93
|
}
|
|
94
|
-
function R(
|
|
95
|
-
if (
|
|
94
|
+
function R(x) {
|
|
95
|
+
if (x == null)
|
|
96
96
|
return null;
|
|
97
|
-
if (typeof
|
|
98
|
-
return
|
|
99
|
-
if (typeof
|
|
100
|
-
return
|
|
101
|
-
switch (
|
|
97
|
+
if (typeof x.tag == "number" && q("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof x == "function")
|
|
98
|
+
return x.displayName || x.name || null;
|
|
99
|
+
if (typeof x == "string")
|
|
100
|
+
return x;
|
|
101
|
+
switch (x) {
|
|
102
102
|
case n:
|
|
103
103
|
return "Fragment";
|
|
104
104
|
case r:
|
|
@@ -112,21 +112,21 @@ function Kh() {
|
|
|
112
112
|
case y:
|
|
113
113
|
return "SuspenseList";
|
|
114
114
|
}
|
|
115
|
-
if (typeof
|
|
116
|
-
switch (
|
|
115
|
+
if (typeof x == "object")
|
|
116
|
+
switch (x.$$typeof) {
|
|
117
117
|
case d:
|
|
118
|
-
var we =
|
|
118
|
+
var we = x;
|
|
119
119
|
return ee(we) + ".Consumer";
|
|
120
120
|
case c:
|
|
121
|
-
var se =
|
|
121
|
+
var se = x;
|
|
122
122
|
return ee(se._context) + ".Provider";
|
|
123
123
|
case m:
|
|
124
|
-
return he(
|
|
124
|
+
return he(x, x.render, "ForwardRef");
|
|
125
125
|
case C:
|
|
126
|
-
var Xe =
|
|
127
|
-
return Xe !== null ? Xe : R(
|
|
126
|
+
var Xe = x.displayName || null;
|
|
127
|
+
return Xe !== null ? Xe : R(x.type) || "Memo";
|
|
128
128
|
case E: {
|
|
129
|
-
var bt =
|
|
129
|
+
var bt = x, _e = bt._payload, nt = bt._init;
|
|
130
130
|
try {
|
|
131
131
|
return R(nt(_e));
|
|
132
132
|
} catch {
|
|
@@ -144,20 +144,20 @@ function Kh() {
|
|
|
144
144
|
{
|
|
145
145
|
if (Y === 0) {
|
|
146
146
|
le = console.log, ne = console.info, ye = console.warn, pe = console.error, $ = console.group, de = console.groupCollapsed, Ee = console.groupEnd;
|
|
147
|
-
var
|
|
147
|
+
var x = {
|
|
148
148
|
configurable: !0,
|
|
149
149
|
enumerable: !0,
|
|
150
150
|
value: Ae,
|
|
151
151
|
writable: !0
|
|
152
152
|
};
|
|
153
153
|
Object.defineProperties(console, {
|
|
154
|
-
info:
|
|
155
|
-
log:
|
|
156
|
-
warn:
|
|
157
|
-
error:
|
|
158
|
-
group:
|
|
159
|
-
groupCollapsed:
|
|
160
|
-
groupEnd:
|
|
154
|
+
info: x,
|
|
155
|
+
log: x,
|
|
156
|
+
warn: x,
|
|
157
|
+
error: x,
|
|
158
|
+
group: x,
|
|
159
|
+
groupCollapsed: x,
|
|
160
|
+
groupEnd: x
|
|
161
161
|
});
|
|
162
162
|
}
|
|
163
163
|
Y++;
|
|
@@ -166,31 +166,31 @@ function Kh() {
|
|
|
166
166
|
function me() {
|
|
167
167
|
{
|
|
168
168
|
if (Y--, Y === 0) {
|
|
169
|
-
var
|
|
169
|
+
var x = {
|
|
170
170
|
configurable: !0,
|
|
171
171
|
enumerable: !0,
|
|
172
172
|
writable: !0
|
|
173
173
|
};
|
|
174
174
|
Object.defineProperties(console, {
|
|
175
|
-
log: J({},
|
|
175
|
+
log: J({}, x, {
|
|
176
176
|
value: le
|
|
177
177
|
}),
|
|
178
|
-
info: J({},
|
|
178
|
+
info: J({}, x, {
|
|
179
179
|
value: ne
|
|
180
180
|
}),
|
|
181
|
-
warn: J({},
|
|
181
|
+
warn: J({}, x, {
|
|
182
182
|
value: ye
|
|
183
183
|
}),
|
|
184
|
-
error: J({},
|
|
184
|
+
error: J({}, x, {
|
|
185
185
|
value: pe
|
|
186
186
|
}),
|
|
187
|
-
group: J({},
|
|
187
|
+
group: J({}, x, {
|
|
188
188
|
value: $
|
|
189
189
|
}),
|
|
190
|
-
groupCollapsed: J({},
|
|
190
|
+
groupCollapsed: J({}, x, {
|
|
191
191
|
value: de
|
|
192
192
|
}),
|
|
193
|
-
groupEnd: J({},
|
|
193
|
+
groupEnd: J({}, x, {
|
|
194
194
|
value: Ee
|
|
195
195
|
})
|
|
196
196
|
});
|
|
@@ -199,7 +199,7 @@ function Kh() {
|
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
201
|
var P = I.ReactCurrentDispatcher, W;
|
|
202
|
-
function re(
|
|
202
|
+
function re(x, we, se) {
|
|
203
203
|
{
|
|
204
204
|
if (W === void 0)
|
|
205
205
|
try {
|
|
@@ -209,7 +209,7 @@ function Kh() {
|
|
|
209
209
|
W = Xe && Xe[1] || "";
|
|
210
210
|
}
|
|
211
211
|
return `
|
|
212
|
-
` + W +
|
|
212
|
+
` + W + x;
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
215
|
var Q = !1, ue;
|
|
@@ -217,11 +217,11 @@ function Kh() {
|
|
|
217
217
|
var Be = typeof WeakMap == "function" ? WeakMap : Map;
|
|
218
218
|
ue = new Be();
|
|
219
219
|
}
|
|
220
|
-
function Le(
|
|
221
|
-
if (!
|
|
220
|
+
function Le(x, we) {
|
|
221
|
+
if (!x || Q)
|
|
222
222
|
return "";
|
|
223
223
|
{
|
|
224
|
-
var se = ue.get(
|
|
224
|
+
var se = ue.get(x);
|
|
225
225
|
if (se !== void 0)
|
|
226
226
|
return se;
|
|
227
227
|
}
|
|
@@ -246,14 +246,14 @@ function Kh() {
|
|
|
246
246
|
} catch (ke) {
|
|
247
247
|
Xe = ke;
|
|
248
248
|
}
|
|
249
|
-
Reflect.construct(
|
|
249
|
+
Reflect.construct(x, [], nt);
|
|
250
250
|
} else {
|
|
251
251
|
try {
|
|
252
252
|
nt.call();
|
|
253
253
|
} catch (ke) {
|
|
254
254
|
Xe = ke;
|
|
255
255
|
}
|
|
256
|
-
|
|
256
|
+
x.call(nt.prototype);
|
|
257
257
|
}
|
|
258
258
|
} else {
|
|
259
259
|
try {
|
|
@@ -261,7 +261,7 @@ function Kh() {
|
|
|
261
261
|
} catch (ke) {
|
|
262
262
|
Xe = ke;
|
|
263
263
|
}
|
|
264
|
-
|
|
264
|
+
x();
|
|
265
265
|
}
|
|
266
266
|
} catch (ke) {
|
|
267
267
|
if (ke && Xe && typeof ke.stack == "string") {
|
|
@@ -276,7 +276,7 @@ function Kh() {
|
|
|
276
276
|
if (j--, Nt--, Nt < 0 || st[j] !== sr[Nt]) {
|
|
277
277
|
var B = `
|
|
278
278
|
` + st[j].replace(" at new ", " at ");
|
|
279
|
-
return
|
|
279
|
+
return x.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", x.displayName)), typeof x == "function" && ue.set(x, B), B;
|
|
280
280
|
}
|
|
281
281
|
while (j >= 1 && Nt >= 0);
|
|
282
282
|
break;
|
|
@@ -285,37 +285,37 @@ function Kh() {
|
|
|
285
285
|
} finally {
|
|
286
286
|
Q = !1, P.current = _e, me(), Error.prepareStackTrace = bt;
|
|
287
287
|
}
|
|
288
|
-
var Se =
|
|
289
|
-
return typeof
|
|
288
|
+
var Se = x ? x.displayName || x.name : "", Pe = Se ? re(Se) : "";
|
|
289
|
+
return typeof x == "function" && ue.set(x, Pe), Pe;
|
|
290
290
|
}
|
|
291
|
-
function Je(
|
|
292
|
-
return Le(
|
|
291
|
+
function Je(x, we, se) {
|
|
292
|
+
return Le(x, !1);
|
|
293
293
|
}
|
|
294
|
-
function K(
|
|
295
|
-
var we =
|
|
294
|
+
function K(x) {
|
|
295
|
+
var we = x.prototype;
|
|
296
296
|
return !!(we && we.isReactComponent);
|
|
297
297
|
}
|
|
298
|
-
function Te(
|
|
299
|
-
if (
|
|
298
|
+
function Te(x, we, se) {
|
|
299
|
+
if (x == null)
|
|
300
300
|
return "";
|
|
301
|
-
if (typeof
|
|
302
|
-
return Le(
|
|
303
|
-
if (typeof
|
|
304
|
-
return re(
|
|
305
|
-
switch (
|
|
301
|
+
if (typeof x == "function")
|
|
302
|
+
return Le(x, K(x));
|
|
303
|
+
if (typeof x == "string")
|
|
304
|
+
return re(x);
|
|
305
|
+
switch (x) {
|
|
306
306
|
case p:
|
|
307
307
|
return re("Suspense");
|
|
308
308
|
case y:
|
|
309
309
|
return re("SuspenseList");
|
|
310
310
|
}
|
|
311
|
-
if (typeof
|
|
312
|
-
switch (
|
|
311
|
+
if (typeof x == "object")
|
|
312
|
+
switch (x.$$typeof) {
|
|
313
313
|
case m:
|
|
314
|
-
return Je(
|
|
314
|
+
return Je(x.render);
|
|
315
315
|
case C:
|
|
316
|
-
return Te(
|
|
316
|
+
return Te(x.type, we, se);
|
|
317
317
|
case E: {
|
|
318
|
-
var Xe =
|
|
318
|
+
var Xe = x, bt = Xe._payload, _e = Xe._init;
|
|
319
319
|
try {
|
|
320
320
|
return Te(_e(bt), we, se);
|
|
321
321
|
} catch {
|
|
@@ -325,25 +325,25 @@ function Kh() {
|
|
|
325
325
|
return "";
|
|
326
326
|
}
|
|
327
327
|
var Ie = Object.prototype.hasOwnProperty, Ye = {}, at = I.ReactDebugCurrentFrame;
|
|
328
|
-
function lt(
|
|
329
|
-
if (
|
|
330
|
-
var we =
|
|
328
|
+
function lt(x) {
|
|
329
|
+
if (x) {
|
|
330
|
+
var we = x._owner, se = Te(x.type, x._source, we ? we.type : null);
|
|
331
331
|
at.setExtraStackFrame(se);
|
|
332
332
|
} else
|
|
333
333
|
at.setExtraStackFrame(null);
|
|
334
334
|
}
|
|
335
|
-
function dt(
|
|
335
|
+
function dt(x, we, se, Xe, bt) {
|
|
336
336
|
{
|
|
337
337
|
var _e = Function.call.bind(Ie);
|
|
338
|
-
for (var nt in
|
|
339
|
-
if (_e(
|
|
338
|
+
for (var nt in x)
|
|
339
|
+
if (_e(x, nt)) {
|
|
340
340
|
var st = void 0;
|
|
341
341
|
try {
|
|
342
|
-
if (typeof
|
|
343
|
-
var sr = Error((Xe || "React class") + ": " + se + " type `" + nt + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof
|
|
342
|
+
if (typeof x[nt] != "function") {
|
|
343
|
+
var sr = Error((Xe || "React class") + ": " + se + " type `" + nt + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof x[nt] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
344
344
|
throw sr.name = "Invariant Violation", sr;
|
|
345
345
|
}
|
|
346
|
-
st =
|
|
346
|
+
st = x[nt](we, nt, Xe, se, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
347
347
|
} catch (j) {
|
|
348
348
|
st = j;
|
|
349
349
|
}
|
|
@@ -352,28 +352,28 @@ function Kh() {
|
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
354
|
var Dt = Array.isArray;
|
|
355
|
-
function We(
|
|
356
|
-
return Dt(
|
|
355
|
+
function We(x) {
|
|
356
|
+
return Dt(x);
|
|
357
357
|
}
|
|
358
|
-
function mt(
|
|
358
|
+
function mt(x) {
|
|
359
359
|
{
|
|
360
|
-
var we = typeof Symbol == "function" && Symbol.toStringTag, se = we &&
|
|
360
|
+
var we = typeof Symbol == "function" && Symbol.toStringTag, se = we && x[Symbol.toStringTag] || x.constructor.name || "Object";
|
|
361
361
|
return se;
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
|
-
function kt(
|
|
364
|
+
function kt(x) {
|
|
365
365
|
try {
|
|
366
|
-
return ut(
|
|
366
|
+
return ut(x), !1;
|
|
367
367
|
} catch {
|
|
368
368
|
return !0;
|
|
369
369
|
}
|
|
370
370
|
}
|
|
371
|
-
function ut(
|
|
372
|
-
return "" +
|
|
371
|
+
function ut(x) {
|
|
372
|
+
return "" + x;
|
|
373
373
|
}
|
|
374
|
-
function vt(
|
|
375
|
-
if (kt(
|
|
376
|
-
return q("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", mt(
|
|
374
|
+
function vt(x) {
|
|
375
|
+
if (kt(x))
|
|
376
|
+
return q("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", mt(x)), ut(x);
|
|
377
377
|
}
|
|
378
378
|
var Kt = I.ReactCurrentOwner, ot = {
|
|
379
379
|
key: !0,
|
|
@@ -381,53 +381,53 @@ function Kh() {
|
|
|
381
381
|
__self: !0,
|
|
382
382
|
__source: !0
|
|
383
383
|
}, Et, Ot;
|
|
384
|
-
function Ht(
|
|
385
|
-
if (Ie.call(
|
|
386
|
-
var we = Object.getOwnPropertyDescriptor(
|
|
384
|
+
function Ht(x) {
|
|
385
|
+
if (Ie.call(x, "ref")) {
|
|
386
|
+
var we = Object.getOwnPropertyDescriptor(x, "ref").get;
|
|
387
387
|
if (we && we.isReactWarning)
|
|
388
388
|
return !1;
|
|
389
389
|
}
|
|
390
|
-
return
|
|
390
|
+
return x.ref !== void 0;
|
|
391
391
|
}
|
|
392
|
-
function Bt(
|
|
393
|
-
if (Ie.call(
|
|
394
|
-
var we = Object.getOwnPropertyDescriptor(
|
|
392
|
+
function Bt(x) {
|
|
393
|
+
if (Ie.call(x, "key")) {
|
|
394
|
+
var we = Object.getOwnPropertyDescriptor(x, "key").get;
|
|
395
395
|
if (we && we.isReactWarning)
|
|
396
396
|
return !1;
|
|
397
397
|
}
|
|
398
|
-
return
|
|
398
|
+
return x.key !== void 0;
|
|
399
399
|
}
|
|
400
|
-
function je(
|
|
401
|
-
typeof
|
|
400
|
+
function je(x, we) {
|
|
401
|
+
typeof x.ref == "string" && Kt.current;
|
|
402
402
|
}
|
|
403
|
-
function ur(
|
|
403
|
+
function ur(x, we) {
|
|
404
404
|
{
|
|
405
405
|
var se = function() {
|
|
406
406
|
Et || (Et = !0, q("%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)", we));
|
|
407
407
|
};
|
|
408
|
-
se.isReactWarning = !0, Object.defineProperty(
|
|
408
|
+
se.isReactWarning = !0, Object.defineProperty(x, "key", {
|
|
409
409
|
get: se,
|
|
410
410
|
configurable: !0
|
|
411
411
|
});
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
|
-
function an(
|
|
414
|
+
function an(x, we) {
|
|
415
415
|
{
|
|
416
416
|
var se = function() {
|
|
417
417
|
Ot || (Ot = !0, q("%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)", we));
|
|
418
418
|
};
|
|
419
|
-
se.isReactWarning = !0, Object.defineProperty(
|
|
419
|
+
se.isReactWarning = !0, Object.defineProperty(x, "ref", {
|
|
420
420
|
get: se,
|
|
421
421
|
configurable: !0
|
|
422
422
|
});
|
|
423
423
|
}
|
|
424
424
|
}
|
|
425
|
-
var bn = function(
|
|
425
|
+
var bn = function(x, we, se, Xe, bt, _e, nt) {
|
|
426
426
|
var st = {
|
|
427
427
|
// This tag allows us to uniquely identify this as a React Element
|
|
428
428
|
$$typeof: t,
|
|
429
429
|
// Built-in properties that belong on the element
|
|
430
|
-
type:
|
|
430
|
+
type: x,
|
|
431
431
|
key: we,
|
|
432
432
|
ref: se,
|
|
433
433
|
props: nt,
|
|
@@ -451,58 +451,58 @@ function Kh() {
|
|
|
451
451
|
value: bt
|
|
452
452
|
}), Object.freeze && (Object.freeze(st.props), Object.freeze(st)), st;
|
|
453
453
|
};
|
|
454
|
-
function jn(
|
|
454
|
+
function jn(x, we, se, Xe, bt) {
|
|
455
455
|
{
|
|
456
456
|
var _e, nt = {}, st = null, sr = null;
|
|
457
457
|
se !== void 0 && (vt(se), st = "" + se), Bt(we) && (vt(we.key), st = "" + we.key), Ht(we) && (sr = we.ref, je(we, bt));
|
|
458
458
|
for (_e in we)
|
|
459
459
|
Ie.call(we, _e) && !ot.hasOwnProperty(_e) && (nt[_e] = we[_e]);
|
|
460
|
-
if (
|
|
461
|
-
var j =
|
|
460
|
+
if (x && x.defaultProps) {
|
|
461
|
+
var j = x.defaultProps;
|
|
462
462
|
for (_e in j)
|
|
463
463
|
nt[_e] === void 0 && (nt[_e] = j[_e]);
|
|
464
464
|
}
|
|
465
465
|
if (st || sr) {
|
|
466
|
-
var Nt = typeof
|
|
466
|
+
var Nt = typeof x == "function" ? x.displayName || x.name || "Unknown" : x;
|
|
467
467
|
st && ur(nt, Nt), sr && an(nt, Nt);
|
|
468
468
|
}
|
|
469
|
-
return bn(
|
|
469
|
+
return bn(x, st, sr, bt, Xe, Kt.current, nt);
|
|
470
470
|
}
|
|
471
471
|
}
|
|
472
472
|
var Yr = I.ReactCurrentOwner, wr = I.ReactDebugCurrentFrame;
|
|
473
|
-
function
|
|
474
|
-
if (
|
|
475
|
-
var we =
|
|
473
|
+
function Br(x) {
|
|
474
|
+
if (x) {
|
|
475
|
+
var we = x._owner, se = Te(x.type, x._source, we ? we.type : null);
|
|
476
476
|
wr.setExtraStackFrame(se);
|
|
477
477
|
} else
|
|
478
478
|
wr.setExtraStackFrame(null);
|
|
479
479
|
}
|
|
480
480
|
var yn;
|
|
481
481
|
yn = !1;
|
|
482
|
-
function sn(
|
|
483
|
-
return typeof
|
|
482
|
+
function sn(x) {
|
|
483
|
+
return typeof x == "object" && x !== null && x.$$typeof === t;
|
|
484
484
|
}
|
|
485
485
|
function Ct() {
|
|
486
486
|
{
|
|
487
487
|
if (Yr.current) {
|
|
488
|
-
var
|
|
489
|
-
if (
|
|
488
|
+
var x = R(Yr.current.type);
|
|
489
|
+
if (x)
|
|
490
490
|
return `
|
|
491
491
|
|
|
492
|
-
Check the render method of \`` +
|
|
492
|
+
Check the render method of \`` + x + "`.";
|
|
493
493
|
}
|
|
494
494
|
return "";
|
|
495
495
|
}
|
|
496
496
|
}
|
|
497
|
-
function _t(
|
|
497
|
+
function _t(x) {
|
|
498
498
|
return "";
|
|
499
499
|
}
|
|
500
500
|
var ar = {};
|
|
501
|
-
function xn(
|
|
501
|
+
function xn(x) {
|
|
502
502
|
{
|
|
503
503
|
var we = Ct();
|
|
504
504
|
if (!we) {
|
|
505
|
-
var se = typeof
|
|
505
|
+
var se = typeof x == "string" ? x : x.displayName || x.name;
|
|
506
506
|
se && (we = `
|
|
507
507
|
|
|
508
508
|
Check the top-level render call using <` + se + ">.");
|
|
@@ -510,41 +510,41 @@ Check the top-level render call using <` + se + ">.");
|
|
|
510
510
|
return we;
|
|
511
511
|
}
|
|
512
512
|
}
|
|
513
|
-
function wn(
|
|
513
|
+
function wn(x, we) {
|
|
514
514
|
{
|
|
515
|
-
if (!
|
|
515
|
+
if (!x._store || x._store.validated || x.key != null)
|
|
516
516
|
return;
|
|
517
|
-
|
|
517
|
+
x._store.validated = !0;
|
|
518
518
|
var se = xn(we);
|
|
519
519
|
if (ar[se])
|
|
520
520
|
return;
|
|
521
521
|
ar[se] = !0;
|
|
522
522
|
var Xe = "";
|
|
523
|
-
|
|
523
|
+
x && x._owner && x._owner !== Yr.current && (Xe = " It was passed a child from " + R(x._owner.type) + "."), Br(x), q('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', se, Xe), Br(null);
|
|
524
524
|
}
|
|
525
525
|
}
|
|
526
|
-
function Dn(
|
|
526
|
+
function Dn(x, we) {
|
|
527
527
|
{
|
|
528
|
-
if (typeof
|
|
528
|
+
if (typeof x != "object")
|
|
529
529
|
return;
|
|
530
|
-
if (We(
|
|
531
|
-
for (var se = 0; se <
|
|
532
|
-
var Xe =
|
|
530
|
+
if (We(x))
|
|
531
|
+
for (var se = 0; se < x.length; se++) {
|
|
532
|
+
var Xe = x[se];
|
|
533
533
|
sn(Xe) && wn(Xe, we);
|
|
534
534
|
}
|
|
535
|
-
else if (sn(
|
|
536
|
-
|
|
537
|
-
else if (
|
|
538
|
-
var bt = g(
|
|
539
|
-
if (typeof bt == "function" && bt !==
|
|
540
|
-
for (var _e = bt.call(
|
|
535
|
+
else if (sn(x))
|
|
536
|
+
x._store && (x._store.validated = !0);
|
|
537
|
+
else if (x) {
|
|
538
|
+
var bt = g(x);
|
|
539
|
+
if (typeof bt == "function" && bt !== x.entries)
|
|
540
|
+
for (var _e = bt.call(x), nt; !(nt = _e.next()).done; )
|
|
541
541
|
sn(nt.value) && wn(nt.value, we);
|
|
542
542
|
}
|
|
543
543
|
}
|
|
544
544
|
}
|
|
545
|
-
function Aa(
|
|
545
|
+
function Aa(x) {
|
|
546
546
|
{
|
|
547
|
-
var we =
|
|
547
|
+
var we = x.type;
|
|
548
548
|
if (we == null || typeof we == "string")
|
|
549
549
|
return;
|
|
550
550
|
var se;
|
|
@@ -558,7 +558,7 @@ Check the top-level render call using <` + se + ">.");
|
|
|
558
558
|
return;
|
|
559
559
|
if (se) {
|
|
560
560
|
var Xe = R(we);
|
|
561
|
-
dt(se,
|
|
561
|
+
dt(se, x.props, "prop", Xe, x);
|
|
562
562
|
} else if (we.PropTypes !== void 0 && !yn) {
|
|
563
563
|
yn = !0;
|
|
564
564
|
var bt = R(we);
|
|
@@ -567,31 +567,31 @@ Check the top-level render call using <` + se + ">.");
|
|
|
567
567
|
typeof we.getDefaultProps == "function" && !we.getDefaultProps.isReactClassApproved && q("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
|
-
function Ba(
|
|
570
|
+
function Ba(x) {
|
|
571
571
|
{
|
|
572
|
-
for (var we = Object.keys(
|
|
572
|
+
for (var we = Object.keys(x.props), se = 0; se < we.length; se++) {
|
|
573
573
|
var Xe = we[se];
|
|
574
574
|
if (Xe !== "children" && Xe !== "key") {
|
|
575
|
-
|
|
575
|
+
Br(x), q("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", Xe), Br(null);
|
|
576
576
|
break;
|
|
577
577
|
}
|
|
578
578
|
}
|
|
579
|
-
|
|
579
|
+
x.ref !== null && (Br(x), q("Invalid attribute `ref` supplied to `React.Fragment`."), Br(null));
|
|
580
580
|
}
|
|
581
581
|
}
|
|
582
582
|
var $r = {};
|
|
583
|
-
function qt(
|
|
583
|
+
function qt(x, we, se, Xe, bt, _e) {
|
|
584
584
|
{
|
|
585
|
-
var nt = oe(
|
|
585
|
+
var nt = oe(x);
|
|
586
586
|
if (!nt) {
|
|
587
587
|
var st = "";
|
|
588
|
-
(
|
|
588
|
+
(x === void 0 || typeof x == "object" && x !== null && Object.keys(x).length === 0) && (st += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
589
589
|
var sr = _t();
|
|
590
590
|
sr ? st += sr : st += Ct();
|
|
591
591
|
var j;
|
|
592
|
-
|
|
592
|
+
x === null ? j = "null" : We(x) ? j = "array" : x !== void 0 && x.$$typeof === t ? (j = "<" + (R(x.type) || "Unknown") + " />", st = " Did you accidentally export a JSX literal instead of a component?") : j = typeof x, q("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", j, st);
|
|
593
593
|
}
|
|
594
|
-
var Nt = jn(
|
|
594
|
+
var Nt = jn(x, we, se, bt, _e);
|
|
595
595
|
if (Nt == null)
|
|
596
596
|
return Nt;
|
|
597
597
|
if (nt) {
|
|
@@ -600,15 +600,15 @@ Check the top-level render call using <` + se + ">.");
|
|
|
600
600
|
if (Xe)
|
|
601
601
|
if (We(B)) {
|
|
602
602
|
for (var Se = 0; Se < B.length; Se++)
|
|
603
|
-
Dn(B[Se],
|
|
603
|
+
Dn(B[Se], x);
|
|
604
604
|
Object.freeze && Object.freeze(B);
|
|
605
605
|
} else
|
|
606
606
|
q("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
607
607
|
else
|
|
608
|
-
Dn(B,
|
|
608
|
+
Dn(B, x);
|
|
609
609
|
}
|
|
610
610
|
if (Ie.call(we, "key")) {
|
|
611
|
-
var Pe = R(
|
|
611
|
+
var Pe = R(x), ke = Object.keys(we).filter(function(ze) {
|
|
612
612
|
return ze !== "key";
|
|
613
613
|
}), be = ke.length > 0 ? "{key: someKey, " + ke.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
614
614
|
if (!$r[Pe + be]) {
|
|
@@ -621,14 +621,14 @@ React keys must be passed directly to JSX without using spread:
|
|
|
621
621
|
<%s key={someKey} {...props} />`, be, Pe, Ce, Pe), $r[Pe + be] = !0;
|
|
622
622
|
}
|
|
623
623
|
}
|
|
624
|
-
return
|
|
624
|
+
return x === n ? Ba(Nt) : Aa(Nt), Nt;
|
|
625
625
|
}
|
|
626
626
|
}
|
|
627
|
-
function h(
|
|
628
|
-
return qt(
|
|
627
|
+
function h(x, we, se) {
|
|
628
|
+
return qt(x, we, se, !0);
|
|
629
629
|
}
|
|
630
|
-
function v(
|
|
631
|
-
return qt(
|
|
630
|
+
function v(x, we, se) {
|
|
631
|
+
return qt(x, we, se, !1);
|
|
632
632
|
}
|
|
633
633
|
var Fe = v, k = h;
|
|
634
634
|
Ma.Fragment = n, Ma.jsx = Fe, Ma.jsxs = k;
|
|
@@ -638,7 +638,7 @@ var wu;
|
|
|
638
638
|
function Xh() {
|
|
639
639
|
return wu || (wu = 1, process.env.NODE_ENV === "production" ? Cs.exports = Yh() : Cs.exports = Kh()), Cs.exports;
|
|
640
640
|
}
|
|
641
|
-
var
|
|
641
|
+
var w = Xh();
|
|
642
642
|
/*!
|
|
643
643
|
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
|
644
644
|
*
|
|
@@ -1384,7 +1384,7 @@ function fp(e) {
|
|
|
1384
1384
|
var t = dp(e, "string");
|
|
1385
1385
|
return Za(t) === "symbol" ? t : String(t);
|
|
1386
1386
|
}
|
|
1387
|
-
function
|
|
1387
|
+
function Ar(e, t, r) {
|
|
1388
1388
|
return t = fp(t), t in e ? Object.defineProperty(e, t, {
|
|
1389
1389
|
value: r,
|
|
1390
1390
|
enumerable: !0,
|
|
@@ -1406,7 +1406,7 @@ function Ra(e) {
|
|
|
1406
1406
|
for (var t = 1; t < arguments.length; t++) {
|
|
1407
1407
|
var r = arguments[t] != null ? arguments[t] : {};
|
|
1408
1408
|
t % 2 ? Ru(Object(r), !0).forEach(function(n) {
|
|
1409
|
-
|
|
1409
|
+
Ar(e, n, r[n]);
|
|
1410
1410
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Ru(Object(r)).forEach(function(n) {
|
|
1411
1411
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
|
|
1412
1412
|
});
|
|
@@ -1449,7 +1449,7 @@ var hp = (e, t, r) => {
|
|
|
1449
1449
|
else if (!Ke.isText(q) && !Ke.isText(L))
|
|
1450
1450
|
L.children.push(...q.children);
|
|
1451
1451
|
else
|
|
1452
|
-
throw new Error('Cannot apply a "merge_node" operation at path ['.concat(I, "] to nodes of different interfaces: ").concat(
|
|
1452
|
+
throw new Error('Cannot apply a "merge_node" operation at path ['.concat(I, "] to nodes of different interfaces: ").concat(vr.stringify(q), " ").concat(vr.stringify(L)));
|
|
1453
1453
|
if (z.children.splice(V, 1), t)
|
|
1454
1454
|
for (var [G, ve] of ge.points(t))
|
|
1455
1455
|
t[ve] = yt.transform(G, r);
|
|
@@ -1535,7 +1535,7 @@ var hp = (e, t, r) => {
|
|
|
1535
1535
|
else {
|
|
1536
1536
|
if (t == null) {
|
|
1537
1537
|
if (!ge.isRange(ut))
|
|
1538
|
-
throw new Error('Cannot apply an incomplete "set_selection" operation properties '.concat(
|
|
1538
|
+
throw new Error('Cannot apply an incomplete "set_selection" operation properties '.concat(vr.stringify(ut), " when there is no current selection."));
|
|
1539
1539
|
t = Ra({}, ut);
|
|
1540
1540
|
}
|
|
1541
1541
|
for (var vt in ut) {
|
|
@@ -1571,8 +1571,8 @@ var hp = (e, t, r) => {
|
|
|
1571
1571
|
});
|
|
1572
1572
|
}
|
|
1573
1573
|
if (Bt.children.splice(je + 1, 0, ur), t)
|
|
1574
|
-
for (var [wr,
|
|
1575
|
-
t[
|
|
1574
|
+
for (var [wr, Br] of ge.points(t))
|
|
1575
|
+
t[Br] = yt.transform(wr, r);
|
|
1576
1576
|
break;
|
|
1577
1577
|
}
|
|
1578
1578
|
}
|
|
@@ -1686,7 +1686,7 @@ function yp(e) {
|
|
|
1686
1686
|
for (var t = 1; t < arguments.length; t++) {
|
|
1687
1687
|
var r = arguments[t] != null ? arguments[t] : {};
|
|
1688
1688
|
t % 2 ? ju(Object(r), !0).forEach(function(n) {
|
|
1689
|
-
|
|
1689
|
+
Ar(e, n, r[n]);
|
|
1690
1690
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : ju(Object(r)).forEach(function(n) {
|
|
1691
1691
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
|
|
1692
1692
|
});
|
|
@@ -1804,7 +1804,7 @@ var ge = {
|
|
|
1804
1804
|
ancestor(e, t) {
|
|
1805
1805
|
var r = $e.get(e, t);
|
|
1806
1806
|
if (Ke.isText(r))
|
|
1807
|
-
throw new Error("Cannot get the ancestor node at path [".concat(t, "] because it refers to a text node instead: ").concat(
|
|
1807
|
+
throw new Error("Cannot get the ancestor node at path [".concat(t, "] because it refers to a text node instead: ").concat(vr.stringify(r)));
|
|
1808
1808
|
return r;
|
|
1809
1809
|
},
|
|
1810
1810
|
ancestors(e, t) {
|
|
@@ -1818,10 +1818,10 @@ var ge = {
|
|
|
1818
1818
|
},
|
|
1819
1819
|
child(e, t) {
|
|
1820
1820
|
if (Ke.isText(e))
|
|
1821
|
-
throw new Error("Cannot get the child of a text node: ".concat(
|
|
1821
|
+
throw new Error("Cannot get the child of a text node: ".concat(vr.stringify(e)));
|
|
1822
1822
|
var r = e.children[t];
|
|
1823
1823
|
if (r == null)
|
|
1824
|
-
throw new Error("Cannot get child at index `".concat(t, "` in node: ").concat(
|
|
1824
|
+
throw new Error("Cannot get child at index `".concat(t, "` in node: ").concat(vr.stringify(e)));
|
|
1825
1825
|
return r;
|
|
1826
1826
|
},
|
|
1827
1827
|
children(e, t) {
|
|
@@ -1844,7 +1844,7 @@ var ge = {
|
|
|
1844
1844
|
descendant(e, t) {
|
|
1845
1845
|
var r = $e.get(e, t);
|
|
1846
1846
|
if (A.isEditor(r))
|
|
1847
|
-
throw new Error("Cannot get the descendant node at path [".concat(t, "] because it refers to the root editor node instead: ").concat(
|
|
1847
|
+
throw new Error("Cannot get the descendant node at path [".concat(t, "] because it refers to the root editor node instead: ").concat(vr.stringify(r)));
|
|
1848
1848
|
return r;
|
|
1849
1849
|
},
|
|
1850
1850
|
descendants(e) {
|
|
@@ -1877,7 +1877,7 @@ var ge = {
|
|
|
1877
1877
|
},
|
|
1878
1878
|
fragment(e, t) {
|
|
1879
1879
|
if (Ke.isText(e))
|
|
1880
|
-
throw new Error("Cannot get a fragment starting from a root text node: ".concat(
|
|
1880
|
+
throw new Error("Cannot get a fragment starting from a root text node: ".concat(vr.stringify(e)));
|
|
1881
1881
|
var r = O0({
|
|
1882
1882
|
children: e.children
|
|
1883
1883
|
}, (n) => {
|
|
@@ -1910,7 +1910,7 @@ var ge = {
|
|
|
1910
1910
|
for (var r = e, n = 0; n < t.length; n++) {
|
|
1911
1911
|
var a = t[n];
|
|
1912
1912
|
if (Ke.isText(r) || !r.children[a])
|
|
1913
|
-
throw new Error("Cannot find a descendant at path [".concat(t, "] in node: ").concat(
|
|
1913
|
+
throw new Error("Cannot find a descendant at path [".concat(t, "] in node: ").concat(vr.stringify(e)));
|
|
1914
1914
|
r = r.children[a];
|
|
1915
1915
|
}
|
|
1916
1916
|
return r;
|
|
@@ -1946,7 +1946,7 @@ var ge = {
|
|
|
1946
1946
|
leaf(e, t) {
|
|
1947
1947
|
var r = $e.get(e, t);
|
|
1948
1948
|
if (!Ke.isText(r))
|
|
1949
|
-
throw new Error("Cannot get the leaf node at path [".concat(t, "] because it refers to a non-leaf node: ").concat(
|
|
1949
|
+
throw new Error("Cannot get the leaf node at path [".concat(t, "] because it refers to a non-leaf node: ").concat(vr.stringify(r)));
|
|
1950
1950
|
return r;
|
|
1951
1951
|
},
|
|
1952
1952
|
levels(e, t) {
|
|
@@ -2026,7 +2026,7 @@ function Qt(e) {
|
|
|
2026
2026
|
for (var t = 1; t < arguments.length; t++) {
|
|
2027
2027
|
var r = arguments[t] != null ? arguments[t] : {};
|
|
2028
2028
|
t % 2 ? $u(Object(r), !0).forEach(function(n) {
|
|
2029
|
-
|
|
2029
|
+
Ar(e, n, r[n]);
|
|
2030
2030
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : $u(Object(r)).forEach(function(n) {
|
|
2031
2031
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
|
|
2032
2032
|
});
|
|
@@ -2359,7 +2359,7 @@ function _u(e) {
|
|
|
2359
2359
|
for (var t = 1; t < arguments.length; t++) {
|
|
2360
2360
|
var r = arguments[t] != null ? arguments[t] : {};
|
|
2361
2361
|
t % 2 ? Lu(Object(r), !0).forEach(function(n) {
|
|
2362
|
-
|
|
2362
|
+
Ar(e, n, r[n]);
|
|
2363
2363
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Lu(Object(r)).forEach(function(n) {
|
|
2364
2364
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
|
|
2365
2365
|
});
|
|
@@ -2432,7 +2432,7 @@ var yt = {
|
|
|
2432
2432
|
}
|
|
2433
2433
|
});
|
|
2434
2434
|
}
|
|
2435
|
-
}, qu = void 0,
|
|
2435
|
+
}, qu = void 0, vr = {
|
|
2436
2436
|
setScrubber(e) {
|
|
2437
2437
|
qu = e;
|
|
2438
2438
|
},
|
|
@@ -2454,7 +2454,7 @@ function dn(e) {
|
|
|
2454
2454
|
for (var t = 1; t < arguments.length; t++) {
|
|
2455
2455
|
var r = arguments[t] != null ? arguments[t] : {};
|
|
2456
2456
|
t % 2 ? Hu(Object(r), !0).forEach(function(n) {
|
|
2457
|
-
|
|
2457
|
+
Ar(e, n, r[n]);
|
|
2458
2458
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Hu(Object(r)).forEach(function(n) {
|
|
2459
2459
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
|
|
2460
2460
|
});
|
|
@@ -2686,7 +2686,7 @@ function Es(e) {
|
|
|
2686
2686
|
for (var t = 1; t < arguments.length; t++) {
|
|
2687
2687
|
var r = arguments[t] != null ? arguments[t] : {};
|
|
2688
2688
|
t % 2 ? Uu(Object(r), !0).forEach(function(n) {
|
|
2689
|
-
|
|
2689
|
+
Ar(e, n, r[n]);
|
|
2690
2690
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Uu(Object(r)).forEach(function(n) {
|
|
2691
2691
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
|
|
2692
2692
|
});
|
|
@@ -2913,7 +2913,7 @@ function Gu(e) {
|
|
|
2913
2913
|
for (var t = 1; t < arguments.length; t++) {
|
|
2914
2914
|
var r = arguments[t] != null ? arguments[t] : {};
|
|
2915
2915
|
t % 2 ? Vu(Object(r), !0).forEach(function(n) {
|
|
2916
|
-
|
|
2916
|
+
Ar(e, n, r[n]);
|
|
2917
2917
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Vu(Object(r)).forEach(function(n) {
|
|
2918
2918
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
|
|
2919
2919
|
});
|
|
@@ -2968,7 +2968,7 @@ function Ku(e) {
|
|
|
2968
2968
|
for (var t = 1; t < arguments.length; t++) {
|
|
2969
2969
|
var r = arguments[t] != null ? arguments[t] : {};
|
|
2970
2970
|
t % 2 ? Yu(Object(r), !0).forEach(function(n) {
|
|
2971
|
-
|
|
2971
|
+
Ar(e, n, r[n]);
|
|
2972
2972
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Yu(Object(r)).forEach(function(n) {
|
|
2973
2973
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
|
|
2974
2974
|
});
|
|
@@ -3007,7 +3007,7 @@ function Ju(e) {
|
|
|
3007
3007
|
for (var t = 1; t < arguments.length; t++) {
|
|
3008
3008
|
var r = arguments[t] != null ? arguments[t] : {};
|
|
3009
3009
|
t % 2 ? Xu(Object(r), !0).forEach(function(n) {
|
|
3010
|
-
|
|
3010
|
+
Ar(e, n, r[n]);
|
|
3011
3011
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Xu(Object(r)).forEach(function(n) {
|
|
3012
3012
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
|
|
3013
3013
|
});
|
|
@@ -3071,7 +3071,7 @@ function Qu(e) {
|
|
|
3071
3071
|
for (var t = 1; t < arguments.length; t++) {
|
|
3072
3072
|
var r = arguments[t] != null ? arguments[t] : {};
|
|
3073
3073
|
t % 2 ? Zu(Object(r), !0).forEach(function(n) {
|
|
3074
|
-
|
|
3074
|
+
Ar(e, n, r[n]);
|
|
3075
3075
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Zu(Object(r)).forEach(function(n) {
|
|
3076
3076
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
|
|
3077
3077
|
});
|
|
@@ -3108,7 +3108,7 @@ function tc(e) {
|
|
|
3108
3108
|
for (var t = 1; t < arguments.length; t++) {
|
|
3109
3109
|
var r = arguments[t] != null ? arguments[t] : {};
|
|
3110
3110
|
t % 2 ? ec(Object(r), !0).forEach(function(n) {
|
|
3111
|
-
|
|
3111
|
+
Ar(e, n, r[n]);
|
|
3112
3112
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : ec(Object(r)).forEach(function(n) {
|
|
3113
3113
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
|
|
3114
3114
|
});
|
|
@@ -3145,7 +3145,7 @@ function Cm(e) {
|
|
|
3145
3145
|
for (var t = 1; t < arguments.length; t++) {
|
|
3146
3146
|
var r = arguments[t] != null ? arguments[t] : {};
|
|
3147
3147
|
t % 2 ? rc(Object(r), !0).forEach(function(n) {
|
|
3148
|
-
|
|
3148
|
+
Ar(e, n, r[n]);
|
|
3149
3149
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : rc(Object(r)).forEach(function(n) {
|
|
3150
3150
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
|
|
3151
3151
|
});
|
|
@@ -3613,7 +3613,7 @@ function Qm(e) {
|
|
|
3613
3613
|
for (var t = 1; t < arguments.length; t++) {
|
|
3614
3614
|
var r = arguments[t] != null ? arguments[t] : {};
|
|
3615
3615
|
t % 2 ? nc(Object(r), !0).forEach(function(n) {
|
|
3616
|
-
|
|
3616
|
+
Ar(e, n, r[n]);
|
|
3617
3617
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : nc(Object(r)).forEach(function(n) {
|
|
3618
3618
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
|
|
3619
3619
|
});
|
|
@@ -4020,7 +4020,7 @@ var e4 = (e, t) => {
|
|
|
4020
4020
|
return;
|
|
4021
4021
|
}
|
|
4022
4022
|
if (!ge.isRange(t))
|
|
4023
|
-
throw new Error("When setting the selection and the current selection is `null` you must provide at least an `anchor` and `focus`, but you passed: ".concat(
|
|
4023
|
+
throw new Error("When setting the selection and the current selection is `null` you must provide at least an `anchor` and `focus`, but you passed: ".concat(vr.stringify(t)));
|
|
4024
4024
|
e.apply({
|
|
4025
4025
|
type: "set_selection",
|
|
4026
4026
|
properties: r,
|
|
@@ -4041,7 +4041,7 @@ function sc(e) {
|
|
|
4041
4041
|
for (var t = 1; t < arguments.length; t++) {
|
|
4042
4042
|
var r = arguments[t] != null ? arguments[t] : {};
|
|
4043
4043
|
t % 2 ? ac(Object(r), !0).forEach(function(n) {
|
|
4044
|
-
|
|
4044
|
+
Ar(e, n, r[n]);
|
|
4045
4045
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : ac(Object(r)).forEach(function(n) {
|
|
4046
4046
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
|
|
4047
4047
|
});
|
|
@@ -4300,7 +4300,7 @@ var h4 = function(t, r) {
|
|
|
4300
4300
|
var xe = vn(T, b4);
|
|
4301
4301
|
ve = N.children.length, G = xe;
|
|
4302
4302
|
} else
|
|
4303
|
-
throw new Error("Cannot merge the node at path [".concat(O, "] with the previous sibling because it is not the same kind: ").concat(
|
|
4303
|
+
throw new Error("Cannot merge the node at path [".concat(O, "] with the previous sibling because it is not the same kind: ").concat(vr.stringify(T), " ").concat(vr.stringify(N)));
|
|
4304
4304
|
H || Ne.moveNodes(t, {
|
|
4305
4305
|
at: O,
|
|
4306
4306
|
to: I,
|
|
@@ -4604,7 +4604,7 @@ function oc(e) {
|
|
|
4604
4604
|
for (var t = 1; t < arguments.length; t++) {
|
|
4605
4605
|
var r = arguments[t] != null ? arguments[t] : {};
|
|
4606
4606
|
t % 2 ? ic(Object(r), !0).forEach(function(n) {
|
|
4607
|
-
|
|
4607
|
+
Ar(e, n, r[n]);
|
|
4608
4608
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : ic(Object(r)).forEach(function(n) {
|
|
4609
4609
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
|
|
4610
4610
|
});
|
|
@@ -5846,7 +5846,7 @@ var z0 = /* @__PURE__ */ Mn(null), Rn = () => {
|
|
|
5846
5846
|
if (!e)
|
|
5847
5847
|
throw new Error("The `useSlateStatic` hook must be used inside the <Slate> component's context.");
|
|
5848
5848
|
return e;
|
|
5849
|
-
}, No, Mo, gf = parseInt(rt.version.split(".")[0], 10), vf = typeof navigator < "u" && typeof window < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream, zc = typeof navigator < "u" && /Mac OS X/.test(navigator.userAgent),
|
|
5849
|
+
}, No, Mo, gf = parseInt(rt.version.split(".")[0], 10), vf = typeof navigator < "u" && typeof window < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream, zc = typeof navigator < "u" && /Mac OS X/.test(navigator.userAgent), kr = typeof navigator < "u" && /Android/.test(navigator.userAgent), ca = typeof navigator < "u" && /^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent), In = typeof navigator < "u" && /AppleWebKit(?!.*Chrome)/i.test(navigator.userAgent), xg = typeof navigator < "u" && /Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent), bf = typeof navigator < "u" && /Chrome/i.test(navigator.userAgent), wg = typeof navigator < "u" && /Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent), Dg = kr && typeof navigator < "u" && /Chrome?\/(?:[0-5]?\d)(?:\.)/i.test(navigator.userAgent), Cg = typeof navigator < "u" && /^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent), kg = typeof navigator < "u" && /.*UCBrowser/.test(navigator.userAgent), Eg = typeof navigator < "u" && /.*Wechat/.test(navigator.userAgent) && !/.*MacWechat/.test(navigator.userAgent), Ys = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u";
|
|
5850
5850
|
typeof navigator < "u" && /Safari/.test(navigator.userAgent) && /Version\/(\d+)/.test(navigator.userAgent) && ((No = navigator.userAgent.match(/Version\/(\d+)/)) !== null && No !== void 0 && No[1] && parseInt((Mo = navigator.userAgent.match(/Version\/(\d+)/)) === null || Mo === void 0 ? void 0 : Mo[1], 10) < 17);
|
|
5851
5851
|
var Bn = (!wg || !Dg) && !xg && // globalThis is undefined in older browsers
|
|
5852
5852
|
typeof globalThis < "u" && globalThis.InputEvent && // @ts-ignore The `getTargetRanges` property isn't recognized.
|
|
@@ -6018,7 +6018,7 @@ var De = {
|
|
|
6018
6018
|
break;
|
|
6019
6019
|
r.unshift(l), n = a;
|
|
6020
6020
|
}
|
|
6021
|
-
throw new Error("Unable to find the path for Slate node: ".concat(
|
|
6021
|
+
throw new Error("Unable to find the path for Slate node: ".concat(vr.stringify(t)));
|
|
6022
6022
|
},
|
|
6023
6023
|
focus: function(t) {
|
|
6024
6024
|
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
@@ -6096,7 +6096,7 @@ var De = {
|
|
|
6096
6096
|
toDOMNode: (e, t) => {
|
|
6097
6097
|
var r = Di.get(e), n = A.isEditor(t) ? Ks.get(e) : r?.get(De.findKey(e, t));
|
|
6098
6098
|
if (!n)
|
|
6099
|
-
throw new Error("Cannot resolve a DOM node from Slate node: ".concat(
|
|
6099
|
+
throw new Error("Cannot resolve a DOM node from Slate node: ".concat(vr.stringify(t)));
|
|
6100
6100
|
return n;
|
|
6101
6101
|
},
|
|
6102
6102
|
toDOMPoint: (e, t) => {
|
|
@@ -6135,7 +6135,7 @@ var De = {
|
|
|
6135
6135
|
}
|
|
6136
6136
|
}
|
|
6137
6137
|
if (!a)
|
|
6138
|
-
throw new Error("Cannot resolve a DOM point from Slate point: ".concat(
|
|
6138
|
+
throw new Error("Cannot resolve a DOM point from Slate point: ".concat(vr.stringify(t)));
|
|
6139
6139
|
return a;
|
|
6140
6140
|
},
|
|
6141
6141
|
toDOMRange: (e, t) => {
|
|
@@ -6167,7 +6167,7 @@ var De = {
|
|
|
6167
6167
|
z.setStart(p, 0), z.setEnd(c, d);
|
|
6168
6168
|
var V = z.cloneContents(), G = [...Array.prototype.slice.call(V.querySelectorAll("[data-slate-zero-width]")), ...Array.prototype.slice.call(V.querySelectorAll("[contenteditable=false]"))];
|
|
6169
6169
|
G.forEach((Ae) => {
|
|
6170
|
-
if (
|
|
6170
|
+
if (kr && !n && Ae.hasAttribute("data-slate-zero-width") && Ae.textContent.length > 0 && Ae.textContext !== "\uFEFF") {
|
|
6171
6171
|
Ae.textContent.startsWith("\uFEFF") && (Ae.textContent = Ae.textContent.slice(1));
|
|
6172
6172
|
return;
|
|
6173
6173
|
}
|
|
@@ -6203,7 +6203,7 @@ var De = {
|
|
|
6203
6203
|
}
|
|
6204
6204
|
H && y === H.textContent.length && // COMPAT: Android IMEs might remove the zero width space while composing,
|
|
6205
6205
|
// and we don't add it for line-breaks.
|
|
6206
|
-
|
|
6206
|
+
kr && H.getAttribute("data-slate-zero-width") === "z" && (C = H.textContent) !== null && C !== void 0 && C.startsWith("\uFEFF") && // COMPAT: If the parent node is a Slate zero-width space, editor is
|
|
6207
6207
|
// because the text node should have no characters. However, during IME
|
|
6208
6208
|
// composition the ASCII characters will be prepended to the zero-width
|
|
6209
6209
|
// space, so subtract 1 from the offset to account for the zero-width
|
|
@@ -6215,7 +6215,7 @@ var De = {
|
|
|
6215
6215
|
|
|
6216
6216
|
`)) && y--;
|
|
6217
6217
|
}
|
|
6218
|
-
if (
|
|
6218
|
+
if (kr && !p && !n) {
|
|
6219
6219
|
var ne = m.hasAttribute("data-slate-node") ? m : m.closest("[data-slate-node]");
|
|
6220
6220
|
if (ne && De.hasDOMNode(e, ne, {
|
|
6221
6221
|
editable: !0
|
|
@@ -6952,11 +6952,11 @@ var Qg = {
|
|
|
6952
6952
|
subtree: !0,
|
|
6953
6953
|
childList: !0,
|
|
6954
6954
|
characterData: !0
|
|
6955
|
-
}, e2 =
|
|
6955
|
+
}, e2 = kr ? (e) => {
|
|
6956
6956
|
var {
|
|
6957
6957
|
node: t
|
|
6958
6958
|
} = e, r = ma(e, Jg);
|
|
6959
|
-
if (!
|
|
6959
|
+
if (!kr)
|
|
6960
6960
|
return null;
|
|
6961
6961
|
var n = Rn(), a = Kg(), [l] = wt(() => Yg(Zg({
|
|
6962
6962
|
editor: n
|
|
@@ -7050,7 +7050,7 @@ var o2 = (e) => {
|
|
|
7050
7050
|
"data-slate-zero-width": r ? "n" : "z",
|
|
7051
7051
|
"data-slate-length": t
|
|
7052
7052
|
};
|
|
7053
|
-
return n && (a["data-slate-mark-placeholder"] = !0), /* @__PURE__ */ rt.createElement("span", i2({}, a), !(
|
|
7053
|
+
return n && (a["data-slate-mark-placeholder"] = !0), /* @__PURE__ */ rt.createElement("span", i2({}, a), !(kr || vf) || !r ? "\uFEFF" : null, r ? /* @__PURE__ */ rt.createElement("br", null) : null);
|
|
7054
7054
|
};
|
|
7055
7055
|
function Uc(e, t) {
|
|
7056
7056
|
var r = Object.keys(e);
|
|
@@ -7073,7 +7073,7 @@ function Ff(e) {
|
|
|
7073
7073
|
}
|
|
7074
7074
|
return e;
|
|
7075
7075
|
}
|
|
7076
|
-
var u2 =
|
|
7076
|
+
var u2 = kr ? 300 : 0;
|
|
7077
7077
|
function c2(e, t) {
|
|
7078
7078
|
e.current && (e.current.disconnect(), t && (e.current = null));
|
|
7079
7079
|
}
|
|
@@ -7452,7 +7452,7 @@ class Pf extends Ih {
|
|
|
7452
7452
|
}
|
|
7453
7453
|
}
|
|
7454
7454
|
Hr(Pf, "contextType", z0);
|
|
7455
|
-
var S2 =
|
|
7455
|
+
var S2 = kr ? Pf : (e) => {
|
|
7456
7456
|
var {
|
|
7457
7457
|
children: t
|
|
7458
7458
|
} = e;
|
|
@@ -7520,7 +7520,7 @@ var N2 = (e) => /* @__PURE__ */ rt.createElement(rt.Fragment, null, Nf(e)), jo =
|
|
|
7520
7520
|
return;
|
|
7521
7521
|
}
|
|
7522
7522
|
var Q = ee.current;
|
|
7523
|
-
if ((
|
|
7523
|
+
if ((kr || !De.isComposing(g)) && (!he.isUpdatingSelection || Q != null && Q.isFlushing()) && !he.isDraggingInternally) {
|
|
7524
7524
|
var ue = De.findDocumentOrShadowRoot(g), {
|
|
7525
7525
|
activeElement: Be
|
|
7526
7526
|
} = ue, Le = De.toDOMNode(g, g), Je = Ua(ue);
|
|
@@ -7583,12 +7583,12 @@ var N2 = (e) => /* @__PURE__ */ rt.createElement(rt.Fragment, null, Nf(e)), jo =
|
|
|
7583
7583
|
}
|
|
7584
7584
|
he.isUpdatingSelection = !0;
|
|
7585
7585
|
var vt = Q && De.toDOMRange(g, Q);
|
|
7586
|
-
return vt ? (De.isComposing(g) && !
|
|
7586
|
+
return vt ? (De.isComposing(g) && !kr ? Be.collapseToEnd() : ge.isBackward(Q) ? Be.setBaseAndExtent(vt.endContainer, vt.endOffset, vt.startContainer, vt.startOffset) : Be.setBaseAndExtent(vt.startContainer, vt.startOffset, vt.endContainer, vt.endOffset), C(g, vt)) : Be.removeAllRanges(), vt;
|
|
7587
7587
|
}
|
|
7588
7588
|
};
|
|
7589
7589
|
Be.rangeCount <= 1 && Le();
|
|
7590
7590
|
var Je = ((W = ee.current) === null || W === void 0 ? void 0 : W.isFlushing()) === "action";
|
|
7591
|
-
if (!
|
|
7591
|
+
if (!kr || !Je) {
|
|
7592
7592
|
setTimeout(() => {
|
|
7593
7593
|
he.isUpdatingSelection = !1;
|
|
7594
7594
|
});
|
|
@@ -7957,7 +7957,7 @@ var N2 = (e) => /* @__PURE__ */ rt.createElement(rt.Fragment, null, Nf(e)), jo =
|
|
|
7957
7957
|
var W;
|
|
7958
7958
|
if (De.isComposing(g) && Promise.resolve().then(() => {
|
|
7959
7959
|
q(!1), _n.set(g, !1);
|
|
7960
|
-
}), (W = ee.current) === null || W === void 0 || W.handleCompositionEnd(P), Cr(P, N.onCompositionEnd) ||
|
|
7960
|
+
}), (W = ee.current) === null || W === void 0 || W.handleCompositionEnd(P), Cr(P, N.onCompositionEnd) || kr)
|
|
7961
7961
|
return;
|
|
7962
7962
|
if (!In && !Cg && !vf && !Eg && !kg && P.data) {
|
|
7963
7963
|
var re = Vr.get(g);
|
|
@@ -7973,7 +7973,7 @@ var N2 = (e) => /* @__PURE__ */ rt.createElement(rt.Fragment, null, Nf(e)), jo =
|
|
|
7973
7973
|
onCompositionStart: ct((P) => {
|
|
7974
7974
|
if (De.hasSelectableTarget(g, P.target)) {
|
|
7975
7975
|
var W;
|
|
7976
|
-
if ((W = ee.current) === null || W === void 0 || W.handleCompositionStart(P), Cr(P, N.onCompositionStart) ||
|
|
7976
|
+
if ((W = ee.current) === null || W === void 0 || W.handleCompositionStart(P), Cr(P, N.onCompositionStart) || kr)
|
|
7977
7977
|
return;
|
|
7978
7978
|
q(!0);
|
|
7979
7979
|
var {
|
|
@@ -8222,7 +8222,7 @@ var N2 = (e) => /* @__PURE__ */ rt.createElement(rt.Fragment, null, Nf(e)), jo =
|
|
|
8222
8222
|
return (
|
|
8223
8223
|
// COMPAT: Artificially add a line-break to the end on the placeholder element
|
|
8224
8224
|
// to prevent Android IMEs to pick up its content in autocorrect and to auto-capitalize the first letter
|
|
8225
|
-
/* @__PURE__ */ rt.createElement("span", tn({}, t), r,
|
|
8225
|
+
/* @__PURE__ */ rt.createElement("span", tn({}, t), r, kr && /* @__PURE__ */ rt.createElement("br", null))
|
|
8226
8226
|
);
|
|
8227
8227
|
}, R2 = () => [], j2 = (e, t) => {
|
|
8228
8228
|
if (t.getBoundingClientRect && (!e.selection || e.selection && ge.isCollapsed(e.selection))) {
|
|
@@ -8268,9 +8268,9 @@ var L2 = ["editor", "children", "onChange", "onSelectionChange", "onValueChange"
|
|
|
8268
8268
|
initialValue: c
|
|
8269
8269
|
} = e, d = ma(e, L2), [m, p] = rt.useState(() => {
|
|
8270
8270
|
if (!$e.isNodeList(c))
|
|
8271
|
-
throw new Error("[Slate] initialValue is invalid! Expected a list of elements but got: ".concat(
|
|
8271
|
+
throw new Error("[Slate] initialValue is invalid! Expected a list of elements but got: ".concat(vr.stringify(c)));
|
|
8272
8272
|
if (!A.isEditor(t))
|
|
8273
|
-
throw new Error("[Slate] editor is invalid! You passed: ".concat(
|
|
8273
|
+
throw new Error("[Slate] editor is invalid! You passed: ".concat(vr.stringify(t)));
|
|
8274
8274
|
return t.children = c, Object.assign(t, d), {
|
|
8275
8275
|
v: 0,
|
|
8276
8276
|
editor: t
|
|
@@ -8543,13 +8543,13 @@ function It(e, t = "") {
|
|
|
8543
8543
|
const n = {
|
|
8544
8544
|
replace: (a, l) => {
|
|
8545
8545
|
let c = typeof l == "string" ? l : l.source;
|
|
8546
|
-
return c = c.replace(
|
|
8546
|
+
return c = c.replace(Er.caret, "$1"), r = r.replace(a, c), n;
|
|
8547
8547
|
},
|
|
8548
8548
|
getRegex: () => new RegExp(r, t)
|
|
8549
8549
|
};
|
|
8550
8550
|
return n;
|
|
8551
8551
|
}
|
|
8552
|
-
var
|
|
8552
|
+
var Er = {
|
|
8553
8553
|
codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm,
|
|
8554
8554
|
outputLinkReplace: /\\([\[\]])/g,
|
|
8555
8555
|
indentCodeCompensation: /^(\s+)(?:```)/,
|
|
@@ -8702,26 +8702,26 @@ var Ar = {
|
|
|
8702
8702
|
}, td = (e) => w5[e];
|
|
8703
8703
|
function rn(e, t) {
|
|
8704
8704
|
if (t) {
|
|
8705
|
-
if (
|
|
8706
|
-
return e.replace(
|
|
8707
|
-
} else if (
|
|
8708
|
-
return e.replace(
|
|
8705
|
+
if (Er.escapeTest.test(e))
|
|
8706
|
+
return e.replace(Er.escapeReplace, td);
|
|
8707
|
+
} else if (Er.escapeTestNoEncode.test(e))
|
|
8708
|
+
return e.replace(Er.escapeReplaceNoEncode, td);
|
|
8709
8709
|
return e;
|
|
8710
8710
|
}
|
|
8711
8711
|
function rd(e) {
|
|
8712
8712
|
try {
|
|
8713
|
-
e = encodeURI(e).replace(
|
|
8713
|
+
e = encodeURI(e).replace(Er.percentDecode, "%");
|
|
8714
8714
|
} catch {
|
|
8715
8715
|
return null;
|
|
8716
8716
|
}
|
|
8717
8717
|
return e;
|
|
8718
8718
|
}
|
|
8719
8719
|
function nd(e, t) {
|
|
8720
|
-
const r = e.replace(
|
|
8720
|
+
const r = e.replace(Er.findPipe, (l, c, d) => {
|
|
8721
8721
|
let m = !1, p = c;
|
|
8722
8722
|
for (; --p >= 0 && d[p] === "\\"; ) m = !m;
|
|
8723
8723
|
return m ? "|" : " |";
|
|
8724
|
-
}), n = r.split(
|
|
8724
|
+
}), n = r.split(Er.splitPipe);
|
|
8725
8725
|
let a = 0;
|
|
8726
8726
|
if (n[0].trim() || n.shift(), n.length > 0 && !n.at(-1)?.trim() && n.pop(), t)
|
|
8727
8727
|
if (n.length > t)
|
|
@@ -8729,7 +8729,7 @@ function nd(e, t) {
|
|
|
8729
8729
|
else
|
|
8730
8730
|
for (; n.length < t; ) n.push("");
|
|
8731
8731
|
for (; a < n.length; a++)
|
|
8732
|
-
n[a] = n[a].trim().replace(
|
|
8732
|
+
n[a] = n[a].trim().replace(Er.slashPipe, "|");
|
|
8733
8733
|
return n;
|
|
8734
8734
|
}
|
|
8735
8735
|
function Pa(e, t, r) {
|
|
@@ -9275,7 +9275,7 @@ ${y}` : y;
|
|
|
9275
9275
|
top: !0
|
|
9276
9276
|
};
|
|
9277
9277
|
const r = {
|
|
9278
|
-
other:
|
|
9278
|
+
other: Er,
|
|
9279
9279
|
block: Ns.normal,
|
|
9280
9280
|
inline: ja.normal
|
|
9281
9281
|
};
|
|
@@ -9306,7 +9306,7 @@ ${y}` : y;
|
|
|
9306
9306
|
* Preprocessing
|
|
9307
9307
|
*/
|
|
9308
9308
|
lex(t) {
|
|
9309
|
-
t = t.replace(
|
|
9309
|
+
t = t.replace(Er.carriageReturn, `
|
|
9310
9310
|
`), this.blockTokens(t, this.tokens);
|
|
9311
9311
|
for (let r = 0; r < this.inlineQueue.length; r++) {
|
|
9312
9312
|
const n = this.inlineQueue[r];
|
|
@@ -9315,7 +9315,7 @@ ${y}` : y;
|
|
|
9315
9315
|
return this.inlineQueue = [], this.tokens;
|
|
9316
9316
|
}
|
|
9317
9317
|
blockTokens(t, r = [], n = !1) {
|
|
9318
|
-
for (this.options.pedantic && (t = t.replace(
|
|
9318
|
+
for (this.options.pedantic && (t = t.replace(Er.tabCharGlobal, " ").replace(Er.spaceLine, "")); t; ) {
|
|
9319
9319
|
let a;
|
|
9320
9320
|
if (this.options.extensions?.block?.some((c) => (a = c.call({ lexer: this }, t, r)) ? (t = t.substring(a.raw.length), r.push(a), !0) : !1))
|
|
9321
9321
|
continue;
|
|
@@ -9515,7 +9515,7 @@ ${y}` : y;
|
|
|
9515
9515
|
return "";
|
|
9516
9516
|
}
|
|
9517
9517
|
code({ text: e, lang: t, escaped: r }) {
|
|
9518
|
-
const n = (t || "").match(
|
|
9518
|
+
const n = (t || "").match(Er.notSpaceStart)?.[0], a = e.replace(Er.endingNewline, "") + `
|
|
9519
9519
|
`;
|
|
9520
9520
|
return n ? '<pre><code class="language-' + rn(n) + '">' + (r ? a : rn(a, !0)) + `</code></pre>
|
|
9521
9521
|
` : "<pre><code>" + (r ? a : rn(a, !0)) + `</code></pre>
|
|
@@ -10096,7 +10096,7 @@ var A5 = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
|
|
|
10096
10096
|
/* Z+1 */
|
|
10097
10097
|
), Jt = "-ms-", Ga = "-moz-", zt = "-webkit-", Yf = "comm", Ei = "rule", Z0 = "decl", S5 = "@import", Kf = "@keyframes", F5 = "@layer", Xf = Math.abs, Q0 = String.fromCharCode, y0 = Object.assign;
|
|
10098
10098
|
function T5(e, t) {
|
|
10099
|
-
return
|
|
10099
|
+
return gr(e, 0) ^ 45 ? (((t << 2 ^ gr(e, 0)) << 2 ^ gr(e, 1)) << 2 ^ gr(e, 2)) << 2 ^ gr(e, 3) : 0;
|
|
10100
10100
|
}
|
|
10101
10101
|
function Jf(e) {
|
|
10102
10102
|
return e.trim();
|
|
@@ -10110,7 +10110,7 @@ function gt(e, t, r) {
|
|
|
10110
10110
|
function Js(e, t, r) {
|
|
10111
10111
|
return e.indexOf(t, r);
|
|
10112
10112
|
}
|
|
10113
|
-
function
|
|
10113
|
+
function gr(e, t) {
|
|
10114
10114
|
return e.charCodeAt(t) | 0;
|
|
10115
10115
|
}
|
|
10116
10116
|
function va(e, t, r) {
|
|
@@ -10149,13 +10149,13 @@ function N5() {
|
|
|
10149
10149
|
return cr;
|
|
10150
10150
|
}
|
|
10151
10151
|
function M5() {
|
|
10152
|
-
return cr = Wr > 0 ?
|
|
10152
|
+
return cr = Wr > 0 ? gr(ka, --Wr) : 0, ba--, cr === 10 && (ba = 1, Ai--), cr;
|
|
10153
10153
|
}
|
|
10154
10154
|
function Gr() {
|
|
10155
|
-
return cr = Wr < Qf ?
|
|
10155
|
+
return cr = Wr < Qf ? gr(ka, Wr++) : 0, ba++, cr === 10 && (ba = 1, Ai++), cr;
|
|
10156
10156
|
}
|
|
10157
10157
|
function Vn() {
|
|
10158
|
-
return
|
|
10158
|
+
return gr(ka, Wr);
|
|
10159
10159
|
}
|
|
10160
10160
|
function Zs() {
|
|
10161
10161
|
return Wr;
|
|
@@ -10261,7 +10261,7 @@ function Qs(e, t, r, n, a, l, c, d, m) {
|
|
|
10261
10261
|
switch (O = q, q = Gr()) {
|
|
10262
10262
|
// (
|
|
10263
10263
|
case 40:
|
|
10264
|
-
if (O != 108 &&
|
|
10264
|
+
if (O != 108 && gr(G, C - 1) == 58) {
|
|
10265
10265
|
Js(G += gt(zo(q), "&", "&\f"), "&\f", Xf(p ? d[p - 1] : 0)) != -1 && (I = -1);
|
|
10266
10266
|
break;
|
|
10267
10267
|
}
|
|
@@ -10318,7 +10318,7 @@ function Qs(e, t, r, n, a, l, c, d, m) {
|
|
|
10318
10318
|
if (y === 0)
|
|
10319
10319
|
Qs(G, t, V, V, L, l, C, d, z);
|
|
10320
10320
|
else
|
|
10321
|
-
switch (E === 99 &&
|
|
10321
|
+
switch (E === 99 && gr(G, 3) === 110 ? 100 : E) {
|
|
10322
10322
|
// d l m s
|
|
10323
10323
|
case 100:
|
|
10324
10324
|
case 108:
|
|
@@ -10421,7 +10421,7 @@ function e1(e, t, r) {
|
|
|
10421
10421
|
return zt + e + Ga + e + Jt + e + e;
|
|
10422
10422
|
// writing-mode
|
|
10423
10423
|
case 5936:
|
|
10424
|
-
switch (
|
|
10424
|
+
switch (gr(e, t + 11)) {
|
|
10425
10425
|
// vertical-l(r)
|
|
10426
10426
|
case 114:
|
|
10427
10427
|
return zt + e + Jt + gt(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
|
|
@@ -10511,14 +10511,14 @@ function e1(e, t, r) {
|
|
|
10511
10511
|
case 5021:
|
|
10512
10512
|
case 4765:
|
|
10513
10513
|
if (nn(e) - 1 - t > 6)
|
|
10514
|
-
switch (
|
|
10514
|
+
switch (gr(e, t + 1)) {
|
|
10515
10515
|
// (m)ax-content, (m)in-content
|
|
10516
10516
|
case 109:
|
|
10517
|
-
if (
|
|
10517
|
+
if (gr(e, t + 4) !== 45)
|
|
10518
10518
|
break;
|
|
10519
10519
|
// (f)ill-available, (f)it-content
|
|
10520
10520
|
case 102:
|
|
10521
|
-
return gt(e, /(.+:)(.+)-([^]+)/, "$1" + zt + "$2-$3$1" + Ga + (
|
|
10521
|
+
return gt(e, /(.+:)(.+)-([^]+)/, "$1" + zt + "$2-$3$1" + Ga + (gr(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
10522
10522
|
// (s)tretch
|
|
10523
10523
|
case 115:
|
|
10524
10524
|
return ~Js(e, "stretch", 0) ? e1(gt(e, "stretch", "fill-available"), t, r) + e : e;
|
|
@@ -10532,15 +10532,15 @@ function e1(e, t, r) {
|
|
|
10532
10532
|
});
|
|
10533
10533
|
// position: sticky
|
|
10534
10534
|
case 4949:
|
|
10535
|
-
if (
|
|
10535
|
+
if (gr(e, t + 6) === 121)
|
|
10536
10536
|
return gt(e, ":", ":" + zt) + e;
|
|
10537
10537
|
break;
|
|
10538
10538
|
// display: (flex|inline-flex|grid|inline-grid)
|
|
10539
10539
|
case 6444:
|
|
10540
|
-
switch (
|
|
10540
|
+
switch (gr(e, gr(e, 14) === 45 ? 18 : 11)) {
|
|
10541
10541
|
// (inline-)?fle(x)
|
|
10542
10542
|
case 120:
|
|
10543
|
-
return gt(e, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, "$1" + zt + (
|
|
10543
|
+
return gt(e, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, "$1" + zt + (gr(e, 14) === 45 ? "inline-" : "") + "box$3$1" + zt + "$2$3$1" + Jt + "$2box$3") + e;
|
|
10544
10544
|
// (inline-)?gri(d)
|
|
10545
10545
|
case 100:
|
|
10546
10546
|
return gt(e, ":", ":" + Jt) + e;
|
|
@@ -11368,7 +11368,7 @@ const T3 = Me.span.attrs({
|
|
|
11368
11368
|
}, [H]), z = ct((V) => {
|
|
11369
11369
|
V.key === "Enter" ? (V.preventDefault(), H()) : V.key === "Escape" && (V.preventDefault(), y(e.value || ""), m(!1));
|
|
11370
11370
|
}, [H, e.value]);
|
|
11371
|
-
return d ? /* @__PURE__ */
|
|
11371
|
+
return d ? /* @__PURE__ */ w.jsxs(
|
|
11372
11372
|
"span",
|
|
11373
11373
|
{
|
|
11374
11374
|
...t,
|
|
@@ -11377,7 +11377,7 @@ const T3 = Me.span.attrs({
|
|
|
11377
11377
|
"data-slate-length": "0",
|
|
11378
11378
|
contentEditable: !1,
|
|
11379
11379
|
children: [
|
|
11380
|
-
/* @__PURE__ */
|
|
11380
|
+
/* @__PURE__ */ w.jsx(
|
|
11381
11381
|
O3,
|
|
11382
11382
|
{
|
|
11383
11383
|
ref: N,
|
|
@@ -11400,7 +11400,7 @@ const T3 = Me.span.attrs({
|
|
|
11400
11400
|
r
|
|
11401
11401
|
]
|
|
11402
11402
|
}
|
|
11403
|
-
) : /* @__PURE__ */
|
|
11403
|
+
) : /* @__PURE__ */ w.jsxs(
|
|
11404
11404
|
"span",
|
|
11405
11405
|
{
|
|
11406
11406
|
...t,
|
|
@@ -11409,7 +11409,7 @@ const T3 = Me.span.attrs({
|
|
|
11409
11409
|
"data-slate-length": "0",
|
|
11410
11410
|
contentEditable: !1,
|
|
11411
11411
|
children: [
|
|
11412
|
-
/* @__PURE__ */
|
|
11412
|
+
/* @__PURE__ */ w.jsxs(
|
|
11413
11413
|
T3,
|
|
11414
11414
|
{
|
|
11415
11415
|
ref: l,
|
|
@@ -11447,7 +11447,7 @@ const T3 = Me.span.attrs({
|
|
|
11447
11447
|
]
|
|
11448
11448
|
}
|
|
11449
11449
|
),
|
|
11450
|
-
/* @__PURE__ */
|
|
11450
|
+
/* @__PURE__ */ w.jsx("span", { contentEditable: !1, style: { display: "none" }, children: r })
|
|
11451
11451
|
]
|
|
11452
11452
|
}
|
|
11453
11453
|
);
|
|
@@ -11455,9 +11455,9 @@ const T3 = Me.span.attrs({
|
|
|
11455
11455
|
x1.displayName = "TemplateField";
|
|
11456
11456
|
const N3 = ({ children: e, attributes: t, styles: r, extraProps: n }) => {
|
|
11457
11457
|
const a = !!n?.isCollapsed;
|
|
11458
|
-
return /* @__PURE__ */
|
|
11459
|
-
/* @__PURE__ */
|
|
11460
|
-
/* @__PURE__ */
|
|
11458
|
+
return /* @__PURE__ */ w.jsxs("div", { ...t, className: "think-container", children: [
|
|
11459
|
+
/* @__PURE__ */ w.jsx("div", { className: "think-indicator" }),
|
|
11460
|
+
/* @__PURE__ */ w.jsx("div", { className: "think-content py-2", children: /* @__PURE__ */ w.jsx(
|
|
11461
11461
|
"div",
|
|
11462
11462
|
{
|
|
11463
11463
|
className: "think-text text-[#86909C] pl-5 my-3 border border-[#ECECEE] border-solid border-l-3 border-t-0 border-b-0 border-r-0",
|
|
@@ -11632,7 +11632,7 @@ const N3 = ({ children: e, attributes: t, styles: r, extraProps: n }) => {
|
|
|
11632
11632
|
// 单列场景:占满整行并允许换行;多列保持原有渲染
|
|
11633
11633
|
render: (V) => {
|
|
11634
11634
|
const G = V == null || V === "" ? "-" : V;
|
|
11635
|
-
return I ? /* @__PURE__ */
|
|
11635
|
+
return I ? /* @__PURE__ */ w.jsx(
|
|
11636
11636
|
"div",
|
|
11637
11637
|
{
|
|
11638
11638
|
style: {
|
|
@@ -11651,15 +11651,15 @@ const N3 = ({ children: e, attributes: t, styles: r, extraProps: n }) => {
|
|
|
11651
11651
|
key: z,
|
|
11652
11652
|
...L
|
|
11653
11653
|
})) || [];
|
|
11654
|
-
return /* @__PURE__ */
|
|
11655
|
-
/* @__PURE__ */
|
|
11656
|
-
/* @__PURE__ */
|
|
11657
|
-
] }) : c ? /* @__PURE__ */
|
|
11654
|
+
return /* @__PURE__ */ w.jsx("div", { ...e, ref: l, className: "retrieve-sql-data-container my-4", children: m ? /* @__PURE__ */ w.jsxs("div", { className: "flex items-center justify-center py-8", children: [
|
|
11655
|
+
/* @__PURE__ */ w.jsx(Hh, { size: "large" }),
|
|
11656
|
+
/* @__PURE__ */ w.jsx("span", { className: "ml-2 text-gray-500", children: "\u52A0\u8F7D\u6570\u636E\u4E2D..." })
|
|
11657
|
+
] }) : c ? /* @__PURE__ */ w.jsxs("div", { className: "retrieve-sql-data-content", children: [
|
|
11658
11658
|
a !== null && (() => {
|
|
11659
11659
|
const L = String(a).length;
|
|
11660
11660
|
let z = "12px", V = "24px", G = "24px";
|
|
11661
|
-
return L === 2 ? (z = "9px", V = "22px", G = "24px") : L === 3 ? (z = "8px", V = "24px", G = "24px") : L >= 4 && (z = "8px", V = "24px", G = "30px"), /* @__PURE__ */
|
|
11662
|
-
/* @__PURE__ */
|
|
11661
|
+
return L === 2 ? (z = "9px", V = "22px", G = "24px") : L === 3 ? (z = "8px", V = "24px", G = "24px") : L >= 4 && (z = "8px", V = "24px", G = "30px"), /* @__PURE__ */ w.jsxs("div", { className: "mb-2 flex items-center", children: [
|
|
11662
|
+
/* @__PURE__ */ w.jsx(
|
|
11663
11663
|
"span",
|
|
11664
11664
|
{
|
|
11665
11665
|
className: "bg-orange-100 text-orange-600 rounded font-medium flex items-center justify-center",
|
|
@@ -11673,14 +11673,14 @@ const N3 = ({ children: e, attributes: t, styles: r, extraProps: n }) => {
|
|
|
11673
11673
|
children: a
|
|
11674
11674
|
}
|
|
11675
11675
|
),
|
|
11676
|
-
/* @__PURE__ */
|
|
11676
|
+
/* @__PURE__ */ w.jsx("span", { children: " \u6570\u636E\u8868\u67E5\u8BE2\u7ED3\u679C\uFF1A" })
|
|
11677
11677
|
] });
|
|
11678
11678
|
})(),
|
|
11679
|
-
/* @__PURE__ */
|
|
11679
|
+
/* @__PURE__ */ w.jsx("div", { className: "table-container", style: {
|
|
11680
11680
|
border: "1px solid #d9d9d9",
|
|
11681
11681
|
borderRadius: "6px",
|
|
11682
11682
|
position: "relative"
|
|
11683
|
-
}, children: /* @__PURE__ */
|
|
11683
|
+
}, children: /* @__PURE__ */ w.jsx(
|
|
11684
11684
|
Wh,
|
|
11685
11685
|
{
|
|
11686
11686
|
columns: q.map((L, z) => ({
|
|
@@ -11705,7 +11705,7 @@ const N3 = ({ children: e, attributes: t, styles: r, extraProps: n }) => {
|
|
|
11705
11705
|
if (V == null) return "-";
|
|
11706
11706
|
const G = String(V);
|
|
11707
11707
|
if (I)
|
|
11708
|
-
return /* @__PURE__ */
|
|
11708
|
+
return /* @__PURE__ */ w.jsx(
|
|
11709
11709
|
"div",
|
|
11710
11710
|
{
|
|
11711
11711
|
style: {
|
|
@@ -11721,7 +11721,7 @@ const N3 = ({ children: e, attributes: t, styles: r, extraProps: n }) => {
|
|
|
11721
11721
|
);
|
|
11722
11722
|
const ve = g(L.key);
|
|
11723
11723
|
let xe = "200px";
|
|
11724
|
-
return z === 0 ? xe = "80px" : ve <= 8 ? xe = "100px" : ve <= 15 ? xe = "150px" : ve <= 25 ? xe = "200px" : ve <= 40 ? xe = "250px" : xe = "300px", /* @__PURE__ */
|
|
11724
|
+
return z === 0 ? xe = "80px" : ve <= 8 ? xe = "100px" : ve <= 15 ? xe = "150px" : ve <= 25 ? xe = "200px" : ve <= 40 ? xe = "250px" : xe = "300px", /* @__PURE__ */ w.jsx(
|
|
11725
11725
|
"div",
|
|
11726
11726
|
{
|
|
11727
11727
|
style: {
|
|
@@ -11756,7 +11756,7 @@ const N3 = ({ children: e, attributes: t, styles: r, extraProps: n }) => {
|
|
|
11756
11756
|
}
|
|
11757
11757
|
}
|
|
11758
11758
|
) }),
|
|
11759
|
-
c.total > E && /* @__PURE__ */
|
|
11759
|
+
c.total > E && /* @__PURE__ */ w.jsx("div", { className: "flex justify-center mt-3", children: /* @__PURE__ */ w.jsx(
|
|
11760
11760
|
Uh,
|
|
11761
11761
|
{
|
|
11762
11762
|
current: y,
|
|
@@ -11769,7 +11769,7 @@ const N3 = ({ children: e, attributes: t, styles: r, extraProps: n }) => {
|
|
|
11769
11769
|
size: "small"
|
|
11770
11770
|
}
|
|
11771
11771
|
) })
|
|
11772
|
-
] }) : /* @__PURE__ */
|
|
11772
|
+
] }) : /* @__PURE__ */ w.jsx("div", { className: "text-center py-4 text-gray-500", children: "\u6682\u65E0\u6570\u636E" }) });
|
|
11773
11773
|
});
|
|
11774
11774
|
w1.displayName = "RetrieveSqlDataElement";
|
|
11775
11775
|
var La = { exports: {} }, zs = { exports: {} }, $s = { exports: {} }, jt = {};
|
|
@@ -15835,7 +15835,7 @@ l0,-` + (s + 144) + `c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
15835
15835
|
return Yr.call(this, "span");
|
|
15836
15836
|
}
|
|
15837
15837
|
}
|
|
15838
|
-
class
|
|
15838
|
+
class Br {
|
|
15839
15839
|
constructor(s, o, u, f) {
|
|
15840
15840
|
this.children = void 0, this.attributes = void 0, this.classes = void 0, this.height = void 0, this.depth = void 0, this.maxFontSize = void 0, this.style = void 0, an.call(this, o, f), this.children = u || [], this.setAttribute("href", s);
|
|
15841
15841
|
}
|
|
@@ -16002,15 +16002,15 @@ l0,-` + (s + 144) + `c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
16002
16002
|
replace: u
|
|
16003
16003
|
}, b && u && ($r[i][u] = $r[i][f]);
|
|
16004
16004
|
}
|
|
16005
|
-
const v = "math", Fe = "text", k = "main",
|
|
16006
|
-
h(v, k, j, "\u2261", "\\equiv", !0), h(v, k, j, "\u227A", "\\prec", !0), h(v, k, j, "\u227B", "\\succ", !0), h(v, k, j, "\u223C", "\\sim", !0), h(v, k, j, "\u22A5", "\\perp"), h(v, k, j, "\u2AAF", "\\preceq", !0), h(v, k, j, "\u2AB0", "\\succeq", !0), h(v, k, j, "\u2243", "\\simeq", !0), h(v, k, j, "\u2223", "\\mid", !0), h(v, k, j, "\u226A", "\\ll", !0), h(v, k, j, "\u226B", "\\gg", !0), h(v, k, j, "\u224D", "\\asymp", !0), h(v, k, j, "\u2225", "\\parallel"), h(v, k, j, "\u22C8", "\\bowtie", !0), h(v, k, j, "\u2323", "\\smile", !0), h(v, k, j, "\u2291", "\\sqsubseteq", !0), h(v, k, j, "\u2292", "\\sqsupseteq", !0), h(v, k, j, "\u2250", "\\doteq", !0), h(v, k, j, "\u2322", "\\frown", !0), h(v, k, j, "\u220B", "\\ni", !0), h(v, k, j, "\u221D", "\\propto", !0), h(v, k, j, "\u22A2", "\\vdash", !0), h(v, k, j, "\u22A3", "\\dashv", !0), h(v, k, j, "\u220B", "\\owns"), h(v, k, sr, ".", "\\ldotp"), h(v, k, sr, "\u22C5", "\\cdotp"), h(v, k, B, "#", "\\#"), h(Fe, k, B, "#", "\\#"), h(v, k, B, "&", "\\&"), h(Fe, k, B, "&", "\\&"), h(v, k, B, "\u2135", "\\aleph", !0), h(v, k, B, "\u2200", "\\forall", !0), h(v, k, B, "\u210F", "\\hbar", !0), h(v, k, B, "\u2203", "\\exists", !0), h(v, k, B, "\u2207", "\\nabla", !0), h(v, k, B, "\u266D", "\\flat", !0), h(v, k, B, "\u2113", "\\ell", !0), h(v, k, B, "\u266E", "\\natural", !0), h(v, k, B, "\u2663", "\\clubsuit", !0), h(v, k, B, "\u2118", "\\wp", !0), h(v, k, B, "\u266F", "\\sharp", !0), h(v, k, B, "\u2662", "\\diamondsuit", !0), h(v, k, B, "\u211C", "\\Re", !0), h(v, k, B, "\u2661", "\\heartsuit", !0), h(v, k, B, "\u2111", "\\Im", !0), h(v, k, B, "\u2660", "\\spadesuit", !0), h(v, k, B, "\xA7", "\\S", !0), h(Fe, k, B, "\xA7", "\\S"), h(v, k, B, "\xB6", "\\P", !0), h(Fe, k, B, "\xB6", "\\P"), h(v, k, B, "\u2020", "\\dag"), h(Fe, k, B, "\u2020", "\\dag"), h(Fe, k, B, "\u2020", "\\textdagger"), h(v, k, B, "\u2021", "\\ddag"), h(Fe, k, B, "\u2021", "\\ddag"), h(Fe, k, B, "\u2021", "\\textdaggerdbl"), h(v, k, Xe, "\u23B1", "\\rmoustache", !0), h(v, k, st, "\u23B0", "\\lmoustache", !0), h(v, k, Xe, "\u27EF", "\\rgroup", !0), h(v, k, st, "\u27EE", "\\lgroup", !0), h(v, k, se, "\u2213", "\\mp", !0), h(v, k, se, "\u2296", "\\ominus", !0), h(v, k, se, "\u228E", "\\uplus", !0), h(v, k, se, "\u2293", "\\sqcap", !0), h(v, k, se, "\u2217", "\\ast"), h(v, k, se, "\u2294", "\\sqcup", !0), h(v, k, se, "\u25EF", "\\bigcirc", !0), h(v, k, se, "\u2219", "\\bullet", !0), h(v, k, se, "\u2021", "\\ddagger"), h(v, k, se, "\u2240", "\\wr", !0), h(v, k, se, "\u2A3F", "\\amalg"), h(v, k, se, "&", "\\And"), h(v, k, j, "\u27F5", "\\longleftarrow", !0), h(v, k, j, "\u21D0", "\\Leftarrow", !0), h(v, k, j, "\u27F8", "\\Longleftarrow", !0), h(v, k, j, "\u27F6", "\\longrightarrow", !0), h(v, k, j, "\u21D2", "\\Rightarrow", !0), h(v, k, j, "\u27F9", "\\Longrightarrow", !0), h(v, k, j, "\u2194", "\\leftrightarrow", !0), h(v, k, j, "\u27F7", "\\longleftrightarrow", !0), h(v, k, j, "\u21D4", "\\Leftrightarrow", !0), h(v, k, j, "\u27FA", "\\Longleftrightarrow", !0), h(v, k, j, "\u21A6", "\\mapsto", !0), h(v, k, j, "\u27FC", "\\longmapsto", !0), h(v, k, j, "\u2197", "\\nearrow", !0), h(v, k, j, "\u21A9", "\\hookleftarrow", !0), h(v, k, j, "\u21AA", "\\hookrightarrow", !0), h(v, k, j, "\u2198", "\\searrow", !0), h(v, k, j, "\u21BC", "\\leftharpoonup", !0), h(v, k, j, "\u21C0", "\\rightharpoonup", !0), h(v, k, j, "\u2199", "\\swarrow", !0), h(v, k, j, "\u21BD", "\\leftharpoondown", !0), h(v, k, j, "\u21C1", "\\rightharpoondown", !0), h(v, k, j, "\u2196", "\\nwarrow", !0), h(v, k, j, "\u21CC", "\\rightleftharpoons", !0), h(v, w, j, "\u226E", "\\nless", !0), h(v, w, j, "\uE010", "\\@nleqslant"), h(v, w, j, "\uE011", "\\@nleqq"), h(v, w, j, "\u2A87", "\\lneq", !0), h(v, w, j, "\u2268", "\\lneqq", !0), h(v, w, j, "\uE00C", "\\@lvertneqq"), h(v, w, j, "\u22E6", "\\lnsim", !0), h(v, w, j, "\u2A89", "\\lnapprox", !0), h(v, w, j, "\u2280", "\\nprec", !0), h(v, w, j, "\u22E0", "\\npreceq", !0), h(v, w, j, "\u22E8", "\\precnsim", !0), h(v, w, j, "\u2AB9", "\\precnapprox", !0), h(v, w, j, "\u2241", "\\nsim", !0), h(v, w, j, "\uE006", "\\@nshortmid"), h(v, w, j, "\u2224", "\\nmid", !0), h(v, w, j, "\u22AC", "\\nvdash", !0), h(v, w, j, "\u22AD", "\\nvDash", !0), h(v, w, j, "\u22EA", "\\ntriangleleft"), h(v, w, j, "\u22EC", "\\ntrianglelefteq", !0), h(v, w, j, "\u228A", "\\subsetneq", !0), h(v, w, j, "\uE01A", "\\@varsubsetneq"), h(v, w, j, "\u2ACB", "\\subsetneqq", !0), h(v, w, j, "\uE017", "\\@varsubsetneqq"), h(v, w, j, "\u226F", "\\ngtr", !0), h(v, w, j, "\uE00F", "\\@ngeqslant"), h(v, w, j, "\uE00E", "\\@ngeqq"), h(v, w, j, "\u2A88", "\\gneq", !0), h(v, w, j, "\u2269", "\\gneqq", !0), h(v, w, j, "\uE00D", "\\@gvertneqq"), h(v, w, j, "\u22E7", "\\gnsim", !0), h(v, w, j, "\u2A8A", "\\gnapprox", !0), h(v, w, j, "\u2281", "\\nsucc", !0), h(v, w, j, "\u22E1", "\\nsucceq", !0), h(v, w, j, "\u22E9", "\\succnsim", !0), h(v, w, j, "\u2ABA", "\\succnapprox", !0), h(v, w, j, "\u2246", "\\ncong", !0), h(v, w, j, "\uE007", "\\@nshortparallel"), h(v, w, j, "\u2226", "\\nparallel", !0), h(v, w, j, "\u22AF", "\\nVDash", !0), h(v, w, j, "\u22EB", "\\ntriangleright"), h(v, w, j, "\u22ED", "\\ntrianglerighteq", !0), h(v, w, j, "\uE018", "\\@nsupseteqq"), h(v, w, j, "\u228B", "\\supsetneq", !0), h(v, w, j, "\uE01B", "\\@varsupsetneq"), h(v, w, j, "\u2ACC", "\\supsetneqq", !0), h(v, w, j, "\uE019", "\\@varsupsetneqq"), h(v, w, j, "\u22AE", "\\nVdash", !0), h(v, w, j, "\u2AB5", "\\precneqq", !0), h(v, w, j, "\u2AB6", "\\succneqq", !0), h(v, w, j, "\uE016", "\\@nsubseteqq"), h(v, w, se, "\u22B4", "\\unlhd"), h(v, w, se, "\u22B5", "\\unrhd"), h(v, w, j, "\u219A", "\\nleftarrow", !0), h(v, w, j, "\u219B", "\\nrightarrow", !0), h(v, w, j, "\u21CD", "\\nLeftarrow", !0), h(v, w, j, "\u21CF", "\\nRightarrow", !0), h(v, w, j, "\u21AE", "\\nleftrightarrow", !0), h(v, w, j, "\u21CE", "\\nLeftrightarrow", !0), h(v, w, j, "\u25B3", "\\vartriangle"), h(v, w, B, "\u210F", "\\hslash"), h(v, w, B, "\u25BD", "\\triangledown"), h(v, w, B, "\u25CA", "\\lozenge"), h(v, w, B, "\u24C8", "\\circledS"), h(v, w, B, "\xAE", "\\circledR"), h(Fe, w, B, "\xAE", "\\circledR"), h(v, w, B, "\u2221", "\\measuredangle", !0), h(v, w, B, "\u2204", "\\nexists"), h(v, w, B, "\u2127", "\\mho"), h(v, w, B, "\u2132", "\\Finv", !0), h(v, w, B, "\u2141", "\\Game", !0), h(v, w, B, "\u2035", "\\backprime"), h(v, w, B, "\u25B2", "\\blacktriangle"), h(v, w, B, "\u25BC", "\\blacktriangledown"), h(v, w, B, "\u25A0", "\\blacksquare"), h(v, w, B, "\u29EB", "\\blacklozenge"), h(v, w, B, "\u2605", "\\bigstar"), h(v, w, B, "\u2222", "\\sphericalangle", !0), h(v, w, B, "\u2201", "\\complement", !0), h(v, w, B, "\xF0", "\\eth", !0), h(Fe, k, B, "\xF0", "\xF0"), h(v, w, B, "\u2571", "\\diagup"), h(v, w, B, "\u2572", "\\diagdown"), h(v, w, B, "\u25A1", "\\square"), h(v, w, B, "\u25A1", "\\Box"), h(v, w, B, "\u25CA", "\\Diamond"), h(v, w, B, "\xA5", "\\yen", !0), h(Fe, w, B, "\xA5", "\\yen", !0), h(v, w, B, "\u2713", "\\checkmark", !0), h(Fe, w, B, "\u2713", "\\checkmark"), h(v, w, B, "\u2136", "\\beth", !0), h(v, w, B, "\u2138", "\\daleth", !0), h(v, w, B, "\u2137", "\\gimel", !0), h(v, w, B, "\u03DD", "\\digamma", !0), h(v, w, B, "\u03F0", "\\varkappa"), h(v, w, st, "\u250C", "\\@ulcorner", !0), h(v, w, Xe, "\u2510", "\\@urcorner", !0), h(v, w, st, "\u2514", "\\@llcorner", !0), h(v, w, Xe, "\u2518", "\\@lrcorner", !0), h(v, w, j, "\u2266", "\\leqq", !0), h(v, w, j, "\u2A7D", "\\leqslant", !0), h(v, w, j, "\u2A95", "\\eqslantless", !0), h(v, w, j, "\u2272", "\\lesssim", !0), h(v, w, j, "\u2A85", "\\lessapprox", !0), h(v, w, j, "\u224A", "\\approxeq", !0), h(v, w, se, "\u22D6", "\\lessdot"), h(v, w, j, "\u22D8", "\\lll", !0), h(v, w, j, "\u2276", "\\lessgtr", !0), h(v, w, j, "\u22DA", "\\lesseqgtr", !0), h(v, w, j, "\u2A8B", "\\lesseqqgtr", !0), h(v, w, j, "\u2251", "\\doteqdot"), h(v, w, j, "\u2253", "\\risingdotseq", !0), h(v, w, j, "\u2252", "\\fallingdotseq", !0), h(v, w, j, "\u223D", "\\backsim", !0), h(v, w, j, "\u22CD", "\\backsimeq", !0), h(v, w, j, "\u2AC5", "\\subseteqq", !0), h(v, w, j, "\u22D0", "\\Subset", !0), h(v, w, j, "\u228F", "\\sqsubset", !0), h(v, w, j, "\u227C", "\\preccurlyeq", !0), h(v, w, j, "\u22DE", "\\curlyeqprec", !0), h(v, w, j, "\u227E", "\\precsim", !0), h(v, w, j, "\u2AB7", "\\precapprox", !0), h(v, w, j, "\u22B2", "\\vartriangleleft"), h(v, w, j, "\u22B4", "\\trianglelefteq"), h(v, w, j, "\u22A8", "\\vDash", !0), h(v, w, j, "\u22AA", "\\Vvdash", !0), h(v, w, j, "\u2323", "\\smallsmile"), h(v, w, j, "\u2322", "\\smallfrown"), h(v, w, j, "\u224F", "\\bumpeq", !0), h(v, w, j, "\u224E", "\\Bumpeq", !0), h(v, w, j, "\u2267", "\\geqq", !0), h(v, w, j, "\u2A7E", "\\geqslant", !0), h(v, w, j, "\u2A96", "\\eqslantgtr", !0), h(v, w, j, "\u2273", "\\gtrsim", !0), h(v, w, j, "\u2A86", "\\gtrapprox", !0), h(v, w, se, "\u22D7", "\\gtrdot"), h(v, w, j, "\u22D9", "\\ggg", !0), h(v, w, j, "\u2277", "\\gtrless", !0), h(v, w, j, "\u22DB", "\\gtreqless", !0), h(v, w, j, "\u2A8C", "\\gtreqqless", !0), h(v, w, j, "\u2256", "\\eqcirc", !0), h(v, w, j, "\u2257", "\\circeq", !0), h(v, w, j, "\u225C", "\\triangleq", !0), h(v, w, j, "\u223C", "\\thicksim"), h(v, w, j, "\u2248", "\\thickapprox"), h(v, w, j, "\u2AC6", "\\supseteqq", !0), h(v, w, j, "\u22D1", "\\Supset", !0), h(v, w, j, "\u2290", "\\sqsupset", !0), h(v, w, j, "\u227D", "\\succcurlyeq", !0), h(v, w, j, "\u22DF", "\\curlyeqsucc", !0), h(v, w, j, "\u227F", "\\succsim", !0), h(v, w, j, "\u2AB8", "\\succapprox", !0), h(v, w, j, "\u22B3", "\\vartriangleright"), h(v, w, j, "\u22B5", "\\trianglerighteq"), h(v, w, j, "\u22A9", "\\Vdash", !0), h(v, w, j, "\u2223", "\\shortmid"), h(v, w, j, "\u2225", "\\shortparallel"), h(v, w, j, "\u226C", "\\between", !0), h(v, w, j, "\u22D4", "\\pitchfork", !0), h(v, w, j, "\u221D", "\\varpropto"), h(v, w, j, "\u25C0", "\\blacktriangleleft"), h(v, w, j, "\u2234", "\\therefore", !0), h(v, w, j, "\u220D", "\\backepsilon"), h(v, w, j, "\u25B6", "\\blacktriangleright"), h(v, w, j, "\u2235", "\\because", !0), h(v, w, j, "\u22D8", "\\llless"), h(v, w, j, "\u22D9", "\\gggtr"), h(v, w, se, "\u22B2", "\\lhd"), h(v, w, se, "\u22B3", "\\rhd"), h(v, w, j, "\u2242", "\\eqsim", !0), h(v, k, j, "\u22C8", "\\Join"), h(v, w, j, "\u2251", "\\Doteq", !0), h(v, w, se, "\u2214", "\\dotplus", !0), h(v, w, se, "\u2216", "\\smallsetminus"), h(v, w, se, "\u22D2", "\\Cap", !0), h(v, w, se, "\u22D3", "\\Cup", !0), h(v, w, se, "\u2A5E", "\\doublebarwedge", !0), h(v, w, se, "\u229F", "\\boxminus", !0), h(v, w, se, "\u229E", "\\boxplus", !0), h(v, w, se, "\u22C7", "\\divideontimes", !0), h(v, w, se, "\u22C9", "\\ltimes", !0), h(v, w, se, "\u22CA", "\\rtimes", !0), h(v, w, se, "\u22CB", "\\leftthreetimes", !0), h(v, w, se, "\u22CC", "\\rightthreetimes", !0), h(v, w, se, "\u22CF", "\\curlywedge", !0), h(v, w, se, "\u22CE", "\\curlyvee", !0), h(v, w, se, "\u229D", "\\circleddash", !0), h(v, w, se, "\u229B", "\\circledast", !0), h(v, w, se, "\u22C5", "\\centerdot"), h(v, w, se, "\u22BA", "\\intercal", !0), h(v, w, se, "\u22D2", "\\doublecap"), h(v, w, se, "\u22D3", "\\doublecup"), h(v, w, se, "\u22A0", "\\boxtimes", !0), h(v, w, j, "\u21E2", "\\dashrightarrow", !0), h(v, w, j, "\u21E0", "\\dashleftarrow", !0), h(v, w, j, "\u21C7", "\\leftleftarrows", !0), h(v, w, j, "\u21C6", "\\leftrightarrows", !0), h(v, w, j, "\u21DA", "\\Lleftarrow", !0), h(v, w, j, "\u219E", "\\twoheadleftarrow", !0), h(v, w, j, "\u21A2", "\\leftarrowtail", !0), h(v, w, j, "\u21AB", "\\looparrowleft", !0), h(v, w, j, "\u21CB", "\\leftrightharpoons", !0), h(v, w, j, "\u21B6", "\\curvearrowleft", !0), h(v, w, j, "\u21BA", "\\circlearrowleft", !0), h(v, w, j, "\u21B0", "\\Lsh", !0), h(v, w, j, "\u21C8", "\\upuparrows", !0), h(v, w, j, "\u21BF", "\\upharpoonleft", !0), h(v, w, j, "\u21C3", "\\downharpoonleft", !0), h(v, k, j, "\u22B6", "\\origof", !0), h(v, k, j, "\u22B7", "\\imageof", !0), h(v, w, j, "\u22B8", "\\multimap", !0), h(v, w, j, "\u21AD", "\\leftrightsquigarrow", !0), h(v, w, j, "\u21C9", "\\rightrightarrows", !0), h(v, w, j, "\u21C4", "\\rightleftarrows", !0), h(v, w, j, "\u21A0", "\\twoheadrightarrow", !0), h(v, w, j, "\u21A3", "\\rightarrowtail", !0), h(v, w, j, "\u21AC", "\\looparrowright", !0), h(v, w, j, "\u21B7", "\\curvearrowright", !0), h(v, w, j, "\u21BB", "\\circlearrowright", !0), h(v, w, j, "\u21B1", "\\Rsh", !0), h(v, w, j, "\u21CA", "\\downdownarrows", !0), h(v, w, j, "\u21BE", "\\upharpoonright", !0), h(v, w, j, "\u21C2", "\\downharpoonright", !0), h(v, w, j, "\u21DD", "\\rightsquigarrow", !0), h(v, w, j, "\u21DD", "\\leadsto"), h(v, w, j, "\u21DB", "\\Rrightarrow", !0), h(v, w, j, "\u21BE", "\\restriction"), h(v, k, B, "\u2018", "`"), h(v, k, B, "$", "\\$"), h(Fe, k, B, "$", "\\$"), h(Fe, k, B, "$", "\\textdollar"), h(v, k, B, "%", "\\%"), h(Fe, k, B, "%", "\\%"), h(v, k, B, "_", "\\_"), h(Fe, k, B, "_", "\\_"), h(Fe, k, B, "_", "\\textunderscore"), h(v, k, B, "\u2220", "\\angle", !0), h(v, k, B, "\u221E", "\\infty", !0), h(v, k, B, "\u2032", "\\prime"), h(v, k, B, "\u25B3", "\\triangle"), h(v, k, B, "\u0393", "\\Gamma", !0), h(v, k, B, "\u0394", "\\Delta", !0), h(v, k, B, "\u0398", "\\Theta", !0), h(v, k, B, "\u039B", "\\Lambda", !0), h(v, k, B, "\u039E", "\\Xi", !0), h(v, k, B, "\u03A0", "\\Pi", !0), h(v, k, B, "\u03A3", "\\Sigma", !0), h(v, k, B, "\u03A5", "\\Upsilon", !0), h(v, k, B, "\u03A6", "\\Phi", !0), h(v, k, B, "\u03A8", "\\Psi", !0), h(v, k, B, "\u03A9", "\\Omega", !0), h(v, k, B, "A", "\u0391"), h(v, k, B, "B", "\u0392"), h(v, k, B, "E", "\u0395"), h(v, k, B, "Z", "\u0396"), h(v, k, B, "H", "\u0397"), h(v, k, B, "I", "\u0399"), h(v, k, B, "K", "\u039A"), h(v, k, B, "M", "\u039C"), h(v, k, B, "N", "\u039D"), h(v, k, B, "O", "\u039F"), h(v, k, B, "P", "\u03A1"), h(v, k, B, "T", "\u03A4"), h(v, k, B, "X", "\u03A7"), h(v, k, B, "\xAC", "\\neg", !0), h(v, k, B, "\xAC", "\\lnot"), h(v, k, B, "\u22A4", "\\top"), h(v, k, B, "\u22A5", "\\bot"), h(v, k, B, "\u2205", "\\emptyset"), h(v, w, B, "\u2205", "\\varnothing"), h(v, k, _e, "\u03B1", "\\alpha", !0), h(v, k, _e, "\u03B2", "\\beta", !0), h(v, k, _e, "\u03B3", "\\gamma", !0), h(v, k, _e, "\u03B4", "\\delta", !0), h(v, k, _e, "\u03F5", "\\epsilon", !0), h(v, k, _e, "\u03B6", "\\zeta", !0), h(v, k, _e, "\u03B7", "\\eta", !0), h(v, k, _e, "\u03B8", "\\theta", !0), h(v, k, _e, "\u03B9", "\\iota", !0), h(v, k, _e, "\u03BA", "\\kappa", !0), h(v, k, _e, "\u03BB", "\\lambda", !0), h(v, k, _e, "\u03BC", "\\mu", !0), h(v, k, _e, "\u03BD", "\\nu", !0), h(v, k, _e, "\u03BE", "\\xi", !0), h(v, k, _e, "\u03BF", "\\omicron", !0), h(v, k, _e, "\u03C0", "\\pi", !0), h(v, k, _e, "\u03C1", "\\rho", !0), h(v, k, _e, "\u03C3", "\\sigma", !0), h(v, k, _e, "\u03C4", "\\tau", !0), h(v, k, _e, "\u03C5", "\\upsilon", !0), h(v, k, _e, "\u03D5", "\\phi", !0), h(v, k, _e, "\u03C7", "\\chi", !0), h(v, k, _e, "\u03C8", "\\psi", !0), h(v, k, _e, "\u03C9", "\\omega", !0), h(v, k, _e, "\u03B5", "\\varepsilon", !0), h(v, k, _e, "\u03D1", "\\vartheta", !0), h(v, k, _e, "\u03D6", "\\varpi", !0), h(v, k, _e, "\u03F1", "\\varrho", !0), h(v, k, _e, "\u03C2", "\\varsigma", !0), h(v, k, _e, "\u03C6", "\\varphi", !0), h(v, k, se, "\u2217", "*", !0), h(v, k, se, "+", "+"), h(v, k, se, "\u2212", "-", !0), h(v, k, se, "\u22C5", "\\cdot", !0), h(v, k, se, "\u2218", "\\circ", !0), h(v, k, se, "\xF7", "\\div", !0), h(v, k, se, "\xB1", "\\pm", !0), h(v, k, se, "\xD7", "\\times", !0), h(v, k, se, "\u2229", "\\cap", !0), h(v, k, se, "\u222A", "\\cup", !0), h(v, k, se, "\u2216", "\\setminus", !0), h(v, k, se, "\u2227", "\\land"), h(v, k, se, "\u2228", "\\lor"), h(v, k, se, "\u2227", "\\wedge", !0), h(v, k, se, "\u2228", "\\vee", !0), h(v, k, B, "\u221A", "\\surd"), h(v, k, st, "\u27E8", "\\langle", !0), h(v, k, st, "\u2223", "\\lvert"), h(v, k, st, "\u2225", "\\lVert"), h(v, k, Xe, "?", "?"), h(v, k, Xe, "!", "!"), h(v, k, Xe, "\u27E9", "\\rangle", !0), h(v, k, Xe, "\u2223", "\\rvert"), h(v, k, Xe, "\u2225", "\\rVert"), h(v, k, j, "=", "="), h(v, k, j, ":", ":"), h(v, k, j, "\u2248", "\\approx", !0), h(v, k, j, "\u2245", "\\cong", !0), h(v, k, j, "\u2265", "\\ge"), h(v, k, j, "\u2265", "\\geq", !0), h(v, k, j, "\u2190", "\\gets"), h(v, k, j, ">", "\\gt", !0), h(v, k, j, "\u2208", "\\in", !0), h(v, k, j, "\uE020", "\\@not"), h(v, k, j, "\u2282", "\\subset", !0), h(v, k, j, "\u2283", "\\supset", !0), h(v, k, j, "\u2286", "\\subseteq", !0), h(v, k, j, "\u2287", "\\supseteq", !0), h(v, w, j, "\u2288", "\\nsubseteq", !0), h(v, w, j, "\u2289", "\\nsupseteq", !0), h(v, k, j, "\u22A8", "\\models"), h(v, k, j, "\u2190", "\\leftarrow", !0), h(v, k, j, "\u2264", "\\le"), h(v, k, j, "\u2264", "\\leq", !0), h(v, k, j, "<", "\\lt", !0), h(v, k, j, "\u2192", "\\rightarrow", !0), h(v, k, j, "\u2192", "\\to"), h(v, w, j, "\u2271", "\\ngeq", !0), h(v, w, j, "\u2270", "\\nleq", !0), h(v, k, Nt, "\xA0", "\\ "), h(v, k, Nt, "\xA0", "\\space"), h(v, k, Nt, "\xA0", "\\nobreakspace"), h(Fe, k, Nt, "\xA0", "\\ "), h(Fe, k, Nt, "\xA0", " "), h(Fe, k, Nt, "\xA0", "\\space"), h(Fe, k, Nt, "\xA0", "\\nobreakspace"), h(v, k, Nt, null, "\\nobreak"), h(v, k, Nt, null, "\\allowbreak"), h(v, k, sr, ",", ","), h(v, k, sr, ";", ";"), h(v, w, se, "\u22BC", "\\barwedge", !0), h(v, w, se, "\u22BB", "\\veebar", !0), h(v, k, se, "\u2299", "\\odot", !0), h(v, k, se, "\u2295", "\\oplus", !0), h(v, k, se, "\u2297", "\\otimes", !0), h(v, k, B, "\u2202", "\\partial", !0), h(v, k, se, "\u2298", "\\oslash", !0), h(v, w, se, "\u229A", "\\circledcirc", !0), h(v, w, se, "\u22A1", "\\boxdot", !0), h(v, k, se, "\u25B3", "\\bigtriangleup"), h(v, k, se, "\u25BD", "\\bigtriangledown"), h(v, k, se, "\u2020", "\\dagger"), h(v, k, se, "\u22C4", "\\diamond"), h(v, k, se, "\u22C6", "\\star"), h(v, k, se, "\u25C3", "\\triangleleft"), h(v, k, se, "\u25B9", "\\triangleright"), h(v, k, st, "{", "\\{"), h(Fe, k, B, "{", "\\{"), h(Fe, k, B, "{", "\\textbraceleft"), h(v, k, Xe, "}", "\\}"), h(Fe, k, B, "}", "\\}"), h(Fe, k, B, "}", "\\textbraceright"), h(v, k, st, "{", "\\lbrace"), h(v, k, Xe, "}", "\\rbrace"), h(v, k, st, "[", "\\lbrack", !0), h(Fe, k, B, "[", "\\lbrack", !0), h(v, k, Xe, "]", "\\rbrack", !0), h(Fe, k, B, "]", "\\rbrack", !0), h(v, k, st, "(", "\\lparen", !0), h(v, k, Xe, ")", "\\rparen", !0), h(Fe, k, B, "<", "\\textless", !0), h(Fe, k, B, ">", "\\textgreater", !0), h(v, k, st, "\u230A", "\\lfloor", !0), h(v, k, Xe, "\u230B", "\\rfloor", !0), h(v, k, st, "\u2308", "\\lceil", !0), h(v, k, Xe, "\u2309", "\\rceil", !0), h(v, k, B, "\\", "\\backslash"), h(v, k, B, "\u2223", "|"), h(v, k, B, "\u2223", "\\vert"), h(Fe, k, B, "|", "\\textbar", !0), h(v, k, B, "\u2225", "\\|"), h(v, k, B, "\u2225", "\\Vert"), h(Fe, k, B, "\u2225", "\\textbardbl"), h(Fe, k, B, "~", "\\textasciitilde"), h(Fe, k, B, "\\", "\\textbackslash"), h(Fe, k, B, "^", "\\textasciicircum"), h(v, k, j, "\u2191", "\\uparrow", !0), h(v, k, j, "\u21D1", "\\Uparrow", !0), h(v, k, j, "\u2193", "\\downarrow", !0), h(v, k, j, "\u21D3", "\\Downarrow", !0), h(v, k, j, "\u2195", "\\updownarrow", !0), h(v, k, j, "\u21D5", "\\Updownarrow", !0), h(v, k, nt, "\u2210", "\\coprod"), h(v, k, nt, "\u22C1", "\\bigvee"), h(v, k, nt, "\u22C0", "\\bigwedge"), h(v, k, nt, "\u2A04", "\\biguplus"), h(v, k, nt, "\u22C2", "\\bigcap"), h(v, k, nt, "\u22C3", "\\bigcup"), h(v, k, nt, "\u222B", "\\int"), h(v, k, nt, "\u222B", "\\intop"), h(v, k, nt, "\u222C", "\\iint"), h(v, k, nt, "\u222D", "\\iiint"), h(v, k, nt, "\u220F", "\\prod"), h(v, k, nt, "\u2211", "\\sum"), h(v, k, nt, "\u2A02", "\\bigotimes"), h(v, k, nt, "\u2A01", "\\bigoplus"), h(v, k, nt, "\u2A00", "\\bigodot"), h(v, k, nt, "\u222E", "\\oint"), h(v, k, nt, "\u222F", "\\oiint"), h(v, k, nt, "\u2230", "\\oiiint"), h(v, k, nt, "\u2A06", "\\bigsqcup"), h(v, k, nt, "\u222B", "\\smallint"), h(Fe, k, bt, "\u2026", "\\textellipsis"), h(v, k, bt, "\u2026", "\\mathellipsis"), h(Fe, k, bt, "\u2026", "\\ldots", !0), h(v, k, bt, "\u2026", "\\ldots", !0), h(v, k, bt, "\u22EF", "\\@cdots", !0), h(v, k, bt, "\u22F1", "\\ddots", !0), h(v, k, B, "\u22EE", "\\varvdots"), h(Fe, k, B, "\u22EE", "\\varvdots"), h(v, k, we, "\u02CA", "\\acute"), h(v, k, we, "\u02CB", "\\grave"), h(v, k, we, "\xA8", "\\ddot"), h(v, k, we, "~", "\\tilde"), h(v, k, we, "\u02C9", "\\bar"), h(v, k, we, "\u02D8", "\\breve"), h(v, k, we, "\u02C7", "\\check"), h(v, k, we, "^", "\\hat"), h(v, k, we, "\u20D7", "\\vec"), h(v, k, we, "\u02D9", "\\dot"), h(v, k, we, "\u02DA", "\\mathring"), h(v, k, _e, "\uE131", "\\@imath"), h(v, k, _e, "\uE237", "\\@jmath"), h(v, k, B, "\u0131", "\u0131"), h(v, k, B, "\u0237", "\u0237"), h(Fe, k, B, "\u0131", "\\i", !0), h(Fe, k, B, "\u0237", "\\j", !0), h(Fe, k, B, "\xDF", "\\ss", !0), h(Fe, k, B, "\xE6", "\\ae", !0), h(Fe, k, B, "\u0153", "\\oe", !0), h(Fe, k, B, "\xF8", "\\o", !0), h(Fe, k, B, "\xC6", "\\AE", !0), h(Fe, k, B, "\u0152", "\\OE", !0), h(Fe, k, B, "\xD8", "\\O", !0), h(Fe, k, we, "\u02CA", "\\'"), h(Fe, k, we, "\u02CB", "\\`"), h(Fe, k, we, "\u02C6", "\\^"), h(Fe, k, we, "\u02DC", "\\~"), h(Fe, k, we, "\u02C9", "\\="), h(Fe, k, we, "\u02D8", "\\u"), h(Fe, k, we, "\u02D9", "\\."), h(Fe, k, we, "\xB8", "\\c"), h(Fe, k, we, "\u02DA", "\\r"), h(Fe, k, we, "\u02C7", "\\v"), h(Fe, k, we, "\xA8", '\\"'), h(Fe, k, we, "\u02DD", "\\H"), h(Fe, k, we, "\u25EF", "\\textcircled");
|
|
16005
|
+
const v = "math", Fe = "text", k = "main", x = "ams", we = "accent-token", se = "bin", Xe = "close", bt = "inner", _e = "mathord", nt = "op-token", st = "open", sr = "punct", j = "rel", Nt = "spacing", B = "textord";
|
|
16006
|
+
h(v, k, j, "\u2261", "\\equiv", !0), h(v, k, j, "\u227A", "\\prec", !0), h(v, k, j, "\u227B", "\\succ", !0), h(v, k, j, "\u223C", "\\sim", !0), h(v, k, j, "\u22A5", "\\perp"), h(v, k, j, "\u2AAF", "\\preceq", !0), h(v, k, j, "\u2AB0", "\\succeq", !0), h(v, k, j, "\u2243", "\\simeq", !0), h(v, k, j, "\u2223", "\\mid", !0), h(v, k, j, "\u226A", "\\ll", !0), h(v, k, j, "\u226B", "\\gg", !0), h(v, k, j, "\u224D", "\\asymp", !0), h(v, k, j, "\u2225", "\\parallel"), h(v, k, j, "\u22C8", "\\bowtie", !0), h(v, k, j, "\u2323", "\\smile", !0), h(v, k, j, "\u2291", "\\sqsubseteq", !0), h(v, k, j, "\u2292", "\\sqsupseteq", !0), h(v, k, j, "\u2250", "\\doteq", !0), h(v, k, j, "\u2322", "\\frown", !0), h(v, k, j, "\u220B", "\\ni", !0), h(v, k, j, "\u221D", "\\propto", !0), h(v, k, j, "\u22A2", "\\vdash", !0), h(v, k, j, "\u22A3", "\\dashv", !0), h(v, k, j, "\u220B", "\\owns"), h(v, k, sr, ".", "\\ldotp"), h(v, k, sr, "\u22C5", "\\cdotp"), h(v, k, B, "#", "\\#"), h(Fe, k, B, "#", "\\#"), h(v, k, B, "&", "\\&"), h(Fe, k, B, "&", "\\&"), h(v, k, B, "\u2135", "\\aleph", !0), h(v, k, B, "\u2200", "\\forall", !0), h(v, k, B, "\u210F", "\\hbar", !0), h(v, k, B, "\u2203", "\\exists", !0), h(v, k, B, "\u2207", "\\nabla", !0), h(v, k, B, "\u266D", "\\flat", !0), h(v, k, B, "\u2113", "\\ell", !0), h(v, k, B, "\u266E", "\\natural", !0), h(v, k, B, "\u2663", "\\clubsuit", !0), h(v, k, B, "\u2118", "\\wp", !0), h(v, k, B, "\u266F", "\\sharp", !0), h(v, k, B, "\u2662", "\\diamondsuit", !0), h(v, k, B, "\u211C", "\\Re", !0), h(v, k, B, "\u2661", "\\heartsuit", !0), h(v, k, B, "\u2111", "\\Im", !0), h(v, k, B, "\u2660", "\\spadesuit", !0), h(v, k, B, "\xA7", "\\S", !0), h(Fe, k, B, "\xA7", "\\S"), h(v, k, B, "\xB6", "\\P", !0), h(Fe, k, B, "\xB6", "\\P"), h(v, k, B, "\u2020", "\\dag"), h(Fe, k, B, "\u2020", "\\dag"), h(Fe, k, B, "\u2020", "\\textdagger"), h(v, k, B, "\u2021", "\\ddag"), h(Fe, k, B, "\u2021", "\\ddag"), h(Fe, k, B, "\u2021", "\\textdaggerdbl"), h(v, k, Xe, "\u23B1", "\\rmoustache", !0), h(v, k, st, "\u23B0", "\\lmoustache", !0), h(v, k, Xe, "\u27EF", "\\rgroup", !0), h(v, k, st, "\u27EE", "\\lgroup", !0), h(v, k, se, "\u2213", "\\mp", !0), h(v, k, se, "\u2296", "\\ominus", !0), h(v, k, se, "\u228E", "\\uplus", !0), h(v, k, se, "\u2293", "\\sqcap", !0), h(v, k, se, "\u2217", "\\ast"), h(v, k, se, "\u2294", "\\sqcup", !0), h(v, k, se, "\u25EF", "\\bigcirc", !0), h(v, k, se, "\u2219", "\\bullet", !0), h(v, k, se, "\u2021", "\\ddagger"), h(v, k, se, "\u2240", "\\wr", !0), h(v, k, se, "\u2A3F", "\\amalg"), h(v, k, se, "&", "\\And"), h(v, k, j, "\u27F5", "\\longleftarrow", !0), h(v, k, j, "\u21D0", "\\Leftarrow", !0), h(v, k, j, "\u27F8", "\\Longleftarrow", !0), h(v, k, j, "\u27F6", "\\longrightarrow", !0), h(v, k, j, "\u21D2", "\\Rightarrow", !0), h(v, k, j, "\u27F9", "\\Longrightarrow", !0), h(v, k, j, "\u2194", "\\leftrightarrow", !0), h(v, k, j, "\u27F7", "\\longleftrightarrow", !0), h(v, k, j, "\u21D4", "\\Leftrightarrow", !0), h(v, k, j, "\u27FA", "\\Longleftrightarrow", !0), h(v, k, j, "\u21A6", "\\mapsto", !0), h(v, k, j, "\u27FC", "\\longmapsto", !0), h(v, k, j, "\u2197", "\\nearrow", !0), h(v, k, j, "\u21A9", "\\hookleftarrow", !0), h(v, k, j, "\u21AA", "\\hookrightarrow", !0), h(v, k, j, "\u2198", "\\searrow", !0), h(v, k, j, "\u21BC", "\\leftharpoonup", !0), h(v, k, j, "\u21C0", "\\rightharpoonup", !0), h(v, k, j, "\u2199", "\\swarrow", !0), h(v, k, j, "\u21BD", "\\leftharpoondown", !0), h(v, k, j, "\u21C1", "\\rightharpoondown", !0), h(v, k, j, "\u2196", "\\nwarrow", !0), h(v, k, j, "\u21CC", "\\rightleftharpoons", !0), h(v, x, j, "\u226E", "\\nless", !0), h(v, x, j, "\uE010", "\\@nleqslant"), h(v, x, j, "\uE011", "\\@nleqq"), h(v, x, j, "\u2A87", "\\lneq", !0), h(v, x, j, "\u2268", "\\lneqq", !0), h(v, x, j, "\uE00C", "\\@lvertneqq"), h(v, x, j, "\u22E6", "\\lnsim", !0), h(v, x, j, "\u2A89", "\\lnapprox", !0), h(v, x, j, "\u2280", "\\nprec", !0), h(v, x, j, "\u22E0", "\\npreceq", !0), h(v, x, j, "\u22E8", "\\precnsim", !0), h(v, x, j, "\u2AB9", "\\precnapprox", !0), h(v, x, j, "\u2241", "\\nsim", !0), h(v, x, j, "\uE006", "\\@nshortmid"), h(v, x, j, "\u2224", "\\nmid", !0), h(v, x, j, "\u22AC", "\\nvdash", !0), h(v, x, j, "\u22AD", "\\nvDash", !0), h(v, x, j, "\u22EA", "\\ntriangleleft"), h(v, x, j, "\u22EC", "\\ntrianglelefteq", !0), h(v, x, j, "\u228A", "\\subsetneq", !0), h(v, x, j, "\uE01A", "\\@varsubsetneq"), h(v, x, j, "\u2ACB", "\\subsetneqq", !0), h(v, x, j, "\uE017", "\\@varsubsetneqq"), h(v, x, j, "\u226F", "\\ngtr", !0), h(v, x, j, "\uE00F", "\\@ngeqslant"), h(v, x, j, "\uE00E", "\\@ngeqq"), h(v, x, j, "\u2A88", "\\gneq", !0), h(v, x, j, "\u2269", "\\gneqq", !0), h(v, x, j, "\uE00D", "\\@gvertneqq"), h(v, x, j, "\u22E7", "\\gnsim", !0), h(v, x, j, "\u2A8A", "\\gnapprox", !0), h(v, x, j, "\u2281", "\\nsucc", !0), h(v, x, j, "\u22E1", "\\nsucceq", !0), h(v, x, j, "\u22E9", "\\succnsim", !0), h(v, x, j, "\u2ABA", "\\succnapprox", !0), h(v, x, j, "\u2246", "\\ncong", !0), h(v, x, j, "\uE007", "\\@nshortparallel"), h(v, x, j, "\u2226", "\\nparallel", !0), h(v, x, j, "\u22AF", "\\nVDash", !0), h(v, x, j, "\u22EB", "\\ntriangleright"), h(v, x, j, "\u22ED", "\\ntrianglerighteq", !0), h(v, x, j, "\uE018", "\\@nsupseteqq"), h(v, x, j, "\u228B", "\\supsetneq", !0), h(v, x, j, "\uE01B", "\\@varsupsetneq"), h(v, x, j, "\u2ACC", "\\supsetneqq", !0), h(v, x, j, "\uE019", "\\@varsupsetneqq"), h(v, x, j, "\u22AE", "\\nVdash", !0), h(v, x, j, "\u2AB5", "\\precneqq", !0), h(v, x, j, "\u2AB6", "\\succneqq", !0), h(v, x, j, "\uE016", "\\@nsubseteqq"), h(v, x, se, "\u22B4", "\\unlhd"), h(v, x, se, "\u22B5", "\\unrhd"), h(v, x, j, "\u219A", "\\nleftarrow", !0), h(v, x, j, "\u219B", "\\nrightarrow", !0), h(v, x, j, "\u21CD", "\\nLeftarrow", !0), h(v, x, j, "\u21CF", "\\nRightarrow", !0), h(v, x, j, "\u21AE", "\\nleftrightarrow", !0), h(v, x, j, "\u21CE", "\\nLeftrightarrow", !0), h(v, x, j, "\u25B3", "\\vartriangle"), h(v, x, B, "\u210F", "\\hslash"), h(v, x, B, "\u25BD", "\\triangledown"), h(v, x, B, "\u25CA", "\\lozenge"), h(v, x, B, "\u24C8", "\\circledS"), h(v, x, B, "\xAE", "\\circledR"), h(Fe, x, B, "\xAE", "\\circledR"), h(v, x, B, "\u2221", "\\measuredangle", !0), h(v, x, B, "\u2204", "\\nexists"), h(v, x, B, "\u2127", "\\mho"), h(v, x, B, "\u2132", "\\Finv", !0), h(v, x, B, "\u2141", "\\Game", !0), h(v, x, B, "\u2035", "\\backprime"), h(v, x, B, "\u25B2", "\\blacktriangle"), h(v, x, B, "\u25BC", "\\blacktriangledown"), h(v, x, B, "\u25A0", "\\blacksquare"), h(v, x, B, "\u29EB", "\\blacklozenge"), h(v, x, B, "\u2605", "\\bigstar"), h(v, x, B, "\u2222", "\\sphericalangle", !0), h(v, x, B, "\u2201", "\\complement", !0), h(v, x, B, "\xF0", "\\eth", !0), h(Fe, k, B, "\xF0", "\xF0"), h(v, x, B, "\u2571", "\\diagup"), h(v, x, B, "\u2572", "\\diagdown"), h(v, x, B, "\u25A1", "\\square"), h(v, x, B, "\u25A1", "\\Box"), h(v, x, B, "\u25CA", "\\Diamond"), h(v, x, B, "\xA5", "\\yen", !0), h(Fe, x, B, "\xA5", "\\yen", !0), h(v, x, B, "\u2713", "\\checkmark", !0), h(Fe, x, B, "\u2713", "\\checkmark"), h(v, x, B, "\u2136", "\\beth", !0), h(v, x, B, "\u2138", "\\daleth", !0), h(v, x, B, "\u2137", "\\gimel", !0), h(v, x, B, "\u03DD", "\\digamma", !0), h(v, x, B, "\u03F0", "\\varkappa"), h(v, x, st, "\u250C", "\\@ulcorner", !0), h(v, x, Xe, "\u2510", "\\@urcorner", !0), h(v, x, st, "\u2514", "\\@llcorner", !0), h(v, x, Xe, "\u2518", "\\@lrcorner", !0), h(v, x, j, "\u2266", "\\leqq", !0), h(v, x, j, "\u2A7D", "\\leqslant", !0), h(v, x, j, "\u2A95", "\\eqslantless", !0), h(v, x, j, "\u2272", "\\lesssim", !0), h(v, x, j, "\u2A85", "\\lessapprox", !0), h(v, x, j, "\u224A", "\\approxeq", !0), h(v, x, se, "\u22D6", "\\lessdot"), h(v, x, j, "\u22D8", "\\lll", !0), h(v, x, j, "\u2276", "\\lessgtr", !0), h(v, x, j, "\u22DA", "\\lesseqgtr", !0), h(v, x, j, "\u2A8B", "\\lesseqqgtr", !0), h(v, x, j, "\u2251", "\\doteqdot"), h(v, x, j, "\u2253", "\\risingdotseq", !0), h(v, x, j, "\u2252", "\\fallingdotseq", !0), h(v, x, j, "\u223D", "\\backsim", !0), h(v, x, j, "\u22CD", "\\backsimeq", !0), h(v, x, j, "\u2AC5", "\\subseteqq", !0), h(v, x, j, "\u22D0", "\\Subset", !0), h(v, x, j, "\u228F", "\\sqsubset", !0), h(v, x, j, "\u227C", "\\preccurlyeq", !0), h(v, x, j, "\u22DE", "\\curlyeqprec", !0), h(v, x, j, "\u227E", "\\precsim", !0), h(v, x, j, "\u2AB7", "\\precapprox", !0), h(v, x, j, "\u22B2", "\\vartriangleleft"), h(v, x, j, "\u22B4", "\\trianglelefteq"), h(v, x, j, "\u22A8", "\\vDash", !0), h(v, x, j, "\u22AA", "\\Vvdash", !0), h(v, x, j, "\u2323", "\\smallsmile"), h(v, x, j, "\u2322", "\\smallfrown"), h(v, x, j, "\u224F", "\\bumpeq", !0), h(v, x, j, "\u224E", "\\Bumpeq", !0), h(v, x, j, "\u2267", "\\geqq", !0), h(v, x, j, "\u2A7E", "\\geqslant", !0), h(v, x, j, "\u2A96", "\\eqslantgtr", !0), h(v, x, j, "\u2273", "\\gtrsim", !0), h(v, x, j, "\u2A86", "\\gtrapprox", !0), h(v, x, se, "\u22D7", "\\gtrdot"), h(v, x, j, "\u22D9", "\\ggg", !0), h(v, x, j, "\u2277", "\\gtrless", !0), h(v, x, j, "\u22DB", "\\gtreqless", !0), h(v, x, j, "\u2A8C", "\\gtreqqless", !0), h(v, x, j, "\u2256", "\\eqcirc", !0), h(v, x, j, "\u2257", "\\circeq", !0), h(v, x, j, "\u225C", "\\triangleq", !0), h(v, x, j, "\u223C", "\\thicksim"), h(v, x, j, "\u2248", "\\thickapprox"), h(v, x, j, "\u2AC6", "\\supseteqq", !0), h(v, x, j, "\u22D1", "\\Supset", !0), h(v, x, j, "\u2290", "\\sqsupset", !0), h(v, x, j, "\u227D", "\\succcurlyeq", !0), h(v, x, j, "\u22DF", "\\curlyeqsucc", !0), h(v, x, j, "\u227F", "\\succsim", !0), h(v, x, j, "\u2AB8", "\\succapprox", !0), h(v, x, j, "\u22B3", "\\vartriangleright"), h(v, x, j, "\u22B5", "\\trianglerighteq"), h(v, x, j, "\u22A9", "\\Vdash", !0), h(v, x, j, "\u2223", "\\shortmid"), h(v, x, j, "\u2225", "\\shortparallel"), h(v, x, j, "\u226C", "\\between", !0), h(v, x, j, "\u22D4", "\\pitchfork", !0), h(v, x, j, "\u221D", "\\varpropto"), h(v, x, j, "\u25C0", "\\blacktriangleleft"), h(v, x, j, "\u2234", "\\therefore", !0), h(v, x, j, "\u220D", "\\backepsilon"), h(v, x, j, "\u25B6", "\\blacktriangleright"), h(v, x, j, "\u2235", "\\because", !0), h(v, x, j, "\u22D8", "\\llless"), h(v, x, j, "\u22D9", "\\gggtr"), h(v, x, se, "\u22B2", "\\lhd"), h(v, x, se, "\u22B3", "\\rhd"), h(v, x, j, "\u2242", "\\eqsim", !0), h(v, k, j, "\u22C8", "\\Join"), h(v, x, j, "\u2251", "\\Doteq", !0), h(v, x, se, "\u2214", "\\dotplus", !0), h(v, x, se, "\u2216", "\\smallsetminus"), h(v, x, se, "\u22D2", "\\Cap", !0), h(v, x, se, "\u22D3", "\\Cup", !0), h(v, x, se, "\u2A5E", "\\doublebarwedge", !0), h(v, x, se, "\u229F", "\\boxminus", !0), h(v, x, se, "\u229E", "\\boxplus", !0), h(v, x, se, "\u22C7", "\\divideontimes", !0), h(v, x, se, "\u22C9", "\\ltimes", !0), h(v, x, se, "\u22CA", "\\rtimes", !0), h(v, x, se, "\u22CB", "\\leftthreetimes", !0), h(v, x, se, "\u22CC", "\\rightthreetimes", !0), h(v, x, se, "\u22CF", "\\curlywedge", !0), h(v, x, se, "\u22CE", "\\curlyvee", !0), h(v, x, se, "\u229D", "\\circleddash", !0), h(v, x, se, "\u229B", "\\circledast", !0), h(v, x, se, "\u22C5", "\\centerdot"), h(v, x, se, "\u22BA", "\\intercal", !0), h(v, x, se, "\u22D2", "\\doublecap"), h(v, x, se, "\u22D3", "\\doublecup"), h(v, x, se, "\u22A0", "\\boxtimes", !0), h(v, x, j, "\u21E2", "\\dashrightarrow", !0), h(v, x, j, "\u21E0", "\\dashleftarrow", !0), h(v, x, j, "\u21C7", "\\leftleftarrows", !0), h(v, x, j, "\u21C6", "\\leftrightarrows", !0), h(v, x, j, "\u21DA", "\\Lleftarrow", !0), h(v, x, j, "\u219E", "\\twoheadleftarrow", !0), h(v, x, j, "\u21A2", "\\leftarrowtail", !0), h(v, x, j, "\u21AB", "\\looparrowleft", !0), h(v, x, j, "\u21CB", "\\leftrightharpoons", !0), h(v, x, j, "\u21B6", "\\curvearrowleft", !0), h(v, x, j, "\u21BA", "\\circlearrowleft", !0), h(v, x, j, "\u21B0", "\\Lsh", !0), h(v, x, j, "\u21C8", "\\upuparrows", !0), h(v, x, j, "\u21BF", "\\upharpoonleft", !0), h(v, x, j, "\u21C3", "\\downharpoonleft", !0), h(v, k, j, "\u22B6", "\\origof", !0), h(v, k, j, "\u22B7", "\\imageof", !0), h(v, x, j, "\u22B8", "\\multimap", !0), h(v, x, j, "\u21AD", "\\leftrightsquigarrow", !0), h(v, x, j, "\u21C9", "\\rightrightarrows", !0), h(v, x, j, "\u21C4", "\\rightleftarrows", !0), h(v, x, j, "\u21A0", "\\twoheadrightarrow", !0), h(v, x, j, "\u21A3", "\\rightarrowtail", !0), h(v, x, j, "\u21AC", "\\looparrowright", !0), h(v, x, j, "\u21B7", "\\curvearrowright", !0), h(v, x, j, "\u21BB", "\\circlearrowright", !0), h(v, x, j, "\u21B1", "\\Rsh", !0), h(v, x, j, "\u21CA", "\\downdownarrows", !0), h(v, x, j, "\u21BE", "\\upharpoonright", !0), h(v, x, j, "\u21C2", "\\downharpoonright", !0), h(v, x, j, "\u21DD", "\\rightsquigarrow", !0), h(v, x, j, "\u21DD", "\\leadsto"), h(v, x, j, "\u21DB", "\\Rrightarrow", !0), h(v, x, j, "\u21BE", "\\restriction"), h(v, k, B, "\u2018", "`"), h(v, k, B, "$", "\\$"), h(Fe, k, B, "$", "\\$"), h(Fe, k, B, "$", "\\textdollar"), h(v, k, B, "%", "\\%"), h(Fe, k, B, "%", "\\%"), h(v, k, B, "_", "\\_"), h(Fe, k, B, "_", "\\_"), h(Fe, k, B, "_", "\\textunderscore"), h(v, k, B, "\u2220", "\\angle", !0), h(v, k, B, "\u221E", "\\infty", !0), h(v, k, B, "\u2032", "\\prime"), h(v, k, B, "\u25B3", "\\triangle"), h(v, k, B, "\u0393", "\\Gamma", !0), h(v, k, B, "\u0394", "\\Delta", !0), h(v, k, B, "\u0398", "\\Theta", !0), h(v, k, B, "\u039B", "\\Lambda", !0), h(v, k, B, "\u039E", "\\Xi", !0), h(v, k, B, "\u03A0", "\\Pi", !0), h(v, k, B, "\u03A3", "\\Sigma", !0), h(v, k, B, "\u03A5", "\\Upsilon", !0), h(v, k, B, "\u03A6", "\\Phi", !0), h(v, k, B, "\u03A8", "\\Psi", !0), h(v, k, B, "\u03A9", "\\Omega", !0), h(v, k, B, "A", "\u0391"), h(v, k, B, "B", "\u0392"), h(v, k, B, "E", "\u0395"), h(v, k, B, "Z", "\u0396"), h(v, k, B, "H", "\u0397"), h(v, k, B, "I", "\u0399"), h(v, k, B, "K", "\u039A"), h(v, k, B, "M", "\u039C"), h(v, k, B, "N", "\u039D"), h(v, k, B, "O", "\u039F"), h(v, k, B, "P", "\u03A1"), h(v, k, B, "T", "\u03A4"), h(v, k, B, "X", "\u03A7"), h(v, k, B, "\xAC", "\\neg", !0), h(v, k, B, "\xAC", "\\lnot"), h(v, k, B, "\u22A4", "\\top"), h(v, k, B, "\u22A5", "\\bot"), h(v, k, B, "\u2205", "\\emptyset"), h(v, x, B, "\u2205", "\\varnothing"), h(v, k, _e, "\u03B1", "\\alpha", !0), h(v, k, _e, "\u03B2", "\\beta", !0), h(v, k, _e, "\u03B3", "\\gamma", !0), h(v, k, _e, "\u03B4", "\\delta", !0), h(v, k, _e, "\u03F5", "\\epsilon", !0), h(v, k, _e, "\u03B6", "\\zeta", !0), h(v, k, _e, "\u03B7", "\\eta", !0), h(v, k, _e, "\u03B8", "\\theta", !0), h(v, k, _e, "\u03B9", "\\iota", !0), h(v, k, _e, "\u03BA", "\\kappa", !0), h(v, k, _e, "\u03BB", "\\lambda", !0), h(v, k, _e, "\u03BC", "\\mu", !0), h(v, k, _e, "\u03BD", "\\nu", !0), h(v, k, _e, "\u03BE", "\\xi", !0), h(v, k, _e, "\u03BF", "\\omicron", !0), h(v, k, _e, "\u03C0", "\\pi", !0), h(v, k, _e, "\u03C1", "\\rho", !0), h(v, k, _e, "\u03C3", "\\sigma", !0), h(v, k, _e, "\u03C4", "\\tau", !0), h(v, k, _e, "\u03C5", "\\upsilon", !0), h(v, k, _e, "\u03D5", "\\phi", !0), h(v, k, _e, "\u03C7", "\\chi", !0), h(v, k, _e, "\u03C8", "\\psi", !0), h(v, k, _e, "\u03C9", "\\omega", !0), h(v, k, _e, "\u03B5", "\\varepsilon", !0), h(v, k, _e, "\u03D1", "\\vartheta", !0), h(v, k, _e, "\u03D6", "\\varpi", !0), h(v, k, _e, "\u03F1", "\\varrho", !0), h(v, k, _e, "\u03C2", "\\varsigma", !0), h(v, k, _e, "\u03C6", "\\varphi", !0), h(v, k, se, "\u2217", "*", !0), h(v, k, se, "+", "+"), h(v, k, se, "\u2212", "-", !0), h(v, k, se, "\u22C5", "\\cdot", !0), h(v, k, se, "\u2218", "\\circ", !0), h(v, k, se, "\xF7", "\\div", !0), h(v, k, se, "\xB1", "\\pm", !0), h(v, k, se, "\xD7", "\\times", !0), h(v, k, se, "\u2229", "\\cap", !0), h(v, k, se, "\u222A", "\\cup", !0), h(v, k, se, "\u2216", "\\setminus", !0), h(v, k, se, "\u2227", "\\land"), h(v, k, se, "\u2228", "\\lor"), h(v, k, se, "\u2227", "\\wedge", !0), h(v, k, se, "\u2228", "\\vee", !0), h(v, k, B, "\u221A", "\\surd"), h(v, k, st, "\u27E8", "\\langle", !0), h(v, k, st, "\u2223", "\\lvert"), h(v, k, st, "\u2225", "\\lVert"), h(v, k, Xe, "?", "?"), h(v, k, Xe, "!", "!"), h(v, k, Xe, "\u27E9", "\\rangle", !0), h(v, k, Xe, "\u2223", "\\rvert"), h(v, k, Xe, "\u2225", "\\rVert"), h(v, k, j, "=", "="), h(v, k, j, ":", ":"), h(v, k, j, "\u2248", "\\approx", !0), h(v, k, j, "\u2245", "\\cong", !0), h(v, k, j, "\u2265", "\\ge"), h(v, k, j, "\u2265", "\\geq", !0), h(v, k, j, "\u2190", "\\gets"), h(v, k, j, ">", "\\gt", !0), h(v, k, j, "\u2208", "\\in", !0), h(v, k, j, "\uE020", "\\@not"), h(v, k, j, "\u2282", "\\subset", !0), h(v, k, j, "\u2283", "\\supset", !0), h(v, k, j, "\u2286", "\\subseteq", !0), h(v, k, j, "\u2287", "\\supseteq", !0), h(v, x, j, "\u2288", "\\nsubseteq", !0), h(v, x, j, "\u2289", "\\nsupseteq", !0), h(v, k, j, "\u22A8", "\\models"), h(v, k, j, "\u2190", "\\leftarrow", !0), h(v, k, j, "\u2264", "\\le"), h(v, k, j, "\u2264", "\\leq", !0), h(v, k, j, "<", "\\lt", !0), h(v, k, j, "\u2192", "\\rightarrow", !0), h(v, k, j, "\u2192", "\\to"), h(v, x, j, "\u2271", "\\ngeq", !0), h(v, x, j, "\u2270", "\\nleq", !0), h(v, k, Nt, "\xA0", "\\ "), h(v, k, Nt, "\xA0", "\\space"), h(v, k, Nt, "\xA0", "\\nobreakspace"), h(Fe, k, Nt, "\xA0", "\\ "), h(Fe, k, Nt, "\xA0", " "), h(Fe, k, Nt, "\xA0", "\\space"), h(Fe, k, Nt, "\xA0", "\\nobreakspace"), h(v, k, Nt, null, "\\nobreak"), h(v, k, Nt, null, "\\allowbreak"), h(v, k, sr, ",", ","), h(v, k, sr, ";", ";"), h(v, x, se, "\u22BC", "\\barwedge", !0), h(v, x, se, "\u22BB", "\\veebar", !0), h(v, k, se, "\u2299", "\\odot", !0), h(v, k, se, "\u2295", "\\oplus", !0), h(v, k, se, "\u2297", "\\otimes", !0), h(v, k, B, "\u2202", "\\partial", !0), h(v, k, se, "\u2298", "\\oslash", !0), h(v, x, se, "\u229A", "\\circledcirc", !0), h(v, x, se, "\u22A1", "\\boxdot", !0), h(v, k, se, "\u25B3", "\\bigtriangleup"), h(v, k, se, "\u25BD", "\\bigtriangledown"), h(v, k, se, "\u2020", "\\dagger"), h(v, k, se, "\u22C4", "\\diamond"), h(v, k, se, "\u22C6", "\\star"), h(v, k, se, "\u25C3", "\\triangleleft"), h(v, k, se, "\u25B9", "\\triangleright"), h(v, k, st, "{", "\\{"), h(Fe, k, B, "{", "\\{"), h(Fe, k, B, "{", "\\textbraceleft"), h(v, k, Xe, "}", "\\}"), h(Fe, k, B, "}", "\\}"), h(Fe, k, B, "}", "\\textbraceright"), h(v, k, st, "{", "\\lbrace"), h(v, k, Xe, "}", "\\rbrace"), h(v, k, st, "[", "\\lbrack", !0), h(Fe, k, B, "[", "\\lbrack", !0), h(v, k, Xe, "]", "\\rbrack", !0), h(Fe, k, B, "]", "\\rbrack", !0), h(v, k, st, "(", "\\lparen", !0), h(v, k, Xe, ")", "\\rparen", !0), h(Fe, k, B, "<", "\\textless", !0), h(Fe, k, B, ">", "\\textgreater", !0), h(v, k, st, "\u230A", "\\lfloor", !0), h(v, k, Xe, "\u230B", "\\rfloor", !0), h(v, k, st, "\u2308", "\\lceil", !0), h(v, k, Xe, "\u2309", "\\rceil", !0), h(v, k, B, "\\", "\\backslash"), h(v, k, B, "\u2223", "|"), h(v, k, B, "\u2223", "\\vert"), h(Fe, k, B, "|", "\\textbar", !0), h(v, k, B, "\u2225", "\\|"), h(v, k, B, "\u2225", "\\Vert"), h(Fe, k, B, "\u2225", "\\textbardbl"), h(Fe, k, B, "~", "\\textasciitilde"), h(Fe, k, B, "\\", "\\textbackslash"), h(Fe, k, B, "^", "\\textasciicircum"), h(v, k, j, "\u2191", "\\uparrow", !0), h(v, k, j, "\u21D1", "\\Uparrow", !0), h(v, k, j, "\u2193", "\\downarrow", !0), h(v, k, j, "\u21D3", "\\Downarrow", !0), h(v, k, j, "\u2195", "\\updownarrow", !0), h(v, k, j, "\u21D5", "\\Updownarrow", !0), h(v, k, nt, "\u2210", "\\coprod"), h(v, k, nt, "\u22C1", "\\bigvee"), h(v, k, nt, "\u22C0", "\\bigwedge"), h(v, k, nt, "\u2A04", "\\biguplus"), h(v, k, nt, "\u22C2", "\\bigcap"), h(v, k, nt, "\u22C3", "\\bigcup"), h(v, k, nt, "\u222B", "\\int"), h(v, k, nt, "\u222B", "\\intop"), h(v, k, nt, "\u222C", "\\iint"), h(v, k, nt, "\u222D", "\\iiint"), h(v, k, nt, "\u220F", "\\prod"), h(v, k, nt, "\u2211", "\\sum"), h(v, k, nt, "\u2A02", "\\bigotimes"), h(v, k, nt, "\u2A01", "\\bigoplus"), h(v, k, nt, "\u2A00", "\\bigodot"), h(v, k, nt, "\u222E", "\\oint"), h(v, k, nt, "\u222F", "\\oiint"), h(v, k, nt, "\u2230", "\\oiiint"), h(v, k, nt, "\u2A06", "\\bigsqcup"), h(v, k, nt, "\u222B", "\\smallint"), h(Fe, k, bt, "\u2026", "\\textellipsis"), h(v, k, bt, "\u2026", "\\mathellipsis"), h(Fe, k, bt, "\u2026", "\\ldots", !0), h(v, k, bt, "\u2026", "\\ldots", !0), h(v, k, bt, "\u22EF", "\\@cdots", !0), h(v, k, bt, "\u22F1", "\\ddots", !0), h(v, k, B, "\u22EE", "\\varvdots"), h(Fe, k, B, "\u22EE", "\\varvdots"), h(v, k, we, "\u02CA", "\\acute"), h(v, k, we, "\u02CB", "\\grave"), h(v, k, we, "\xA8", "\\ddot"), h(v, k, we, "~", "\\tilde"), h(v, k, we, "\u02C9", "\\bar"), h(v, k, we, "\u02D8", "\\breve"), h(v, k, we, "\u02C7", "\\check"), h(v, k, we, "^", "\\hat"), h(v, k, we, "\u20D7", "\\vec"), h(v, k, we, "\u02D9", "\\dot"), h(v, k, we, "\u02DA", "\\mathring"), h(v, k, _e, "\uE131", "\\@imath"), h(v, k, _e, "\uE237", "\\@jmath"), h(v, k, B, "\u0131", "\u0131"), h(v, k, B, "\u0237", "\u0237"), h(Fe, k, B, "\u0131", "\\i", !0), h(Fe, k, B, "\u0237", "\\j", !0), h(Fe, k, B, "\xDF", "\\ss", !0), h(Fe, k, B, "\xE6", "\\ae", !0), h(Fe, k, B, "\u0153", "\\oe", !0), h(Fe, k, B, "\xF8", "\\o", !0), h(Fe, k, B, "\xC6", "\\AE", !0), h(Fe, k, B, "\u0152", "\\OE", !0), h(Fe, k, B, "\xD8", "\\O", !0), h(Fe, k, we, "\u02CA", "\\'"), h(Fe, k, we, "\u02CB", "\\`"), h(Fe, k, we, "\u02C6", "\\^"), h(Fe, k, we, "\u02DC", "\\~"), h(Fe, k, we, "\u02C9", "\\="), h(Fe, k, we, "\u02D8", "\\u"), h(Fe, k, we, "\u02D9", "\\."), h(Fe, k, we, "\xB8", "\\c"), h(Fe, k, we, "\u02DA", "\\r"), h(Fe, k, we, "\u02C7", "\\v"), h(Fe, k, we, "\xA8", '\\"'), h(Fe, k, we, "\u02DD", "\\H"), h(Fe, k, we, "\u25EF", "\\textcircled");
|
|
16007
16007
|
const Se = {
|
|
16008
16008
|
"--": !0,
|
|
16009
16009
|
"---": !0,
|
|
16010
16010
|
"``": !0,
|
|
16011
16011
|
"''": !0
|
|
16012
16012
|
};
|
|
16013
|
-
h(Fe, k, B, "\u2013", "--", !0), h(Fe, k, B, "\u2013", "\\textendash"), h(Fe, k, B, "\u2014", "---", !0), h(Fe, k, B, "\u2014", "\\textemdash"), h(Fe, k, B, "\u2018", "`", !0), h(Fe, k, B, "\u2018", "\\textquoteleft"), h(Fe, k, B, "\u2019", "'", !0), h(Fe, k, B, "\u2019", "\\textquoteright"), h(Fe, k, B, "\u201C", "``", !0), h(Fe, k, B, "\u201C", "\\textquotedblleft"), h(Fe, k, B, "\u201D", "''", !0), h(Fe, k, B, "\u201D", "\\textquotedblright"), h(v, k, B, "\xB0", "\\degree", !0), h(Fe, k, B, "\xB0", "\\degree"), h(Fe, k, B, "\xB0", "\\textdegree", !0), h(v, k, B, "\xA3", "\\pounds"), h(v, k, B, "\xA3", "\\mathsterling", !0), h(Fe, k, B, "\xA3", "\\pounds"), h(Fe, k, B, "\xA3", "\\textsterling", !0), h(v,
|
|
16013
|
+
h(Fe, k, B, "\u2013", "--", !0), h(Fe, k, B, "\u2013", "\\textendash"), h(Fe, k, B, "\u2014", "---", !0), h(Fe, k, B, "\u2014", "\\textemdash"), h(Fe, k, B, "\u2018", "`", !0), h(Fe, k, B, "\u2018", "\\textquoteleft"), h(Fe, k, B, "\u2019", "'", !0), h(Fe, k, B, "\u2019", "\\textquoteright"), h(Fe, k, B, "\u201C", "``", !0), h(Fe, k, B, "\u201C", "\\textquotedblleft"), h(Fe, k, B, "\u201D", "''", !0), h(Fe, k, B, "\u201D", "\\textquotedblright"), h(v, k, B, "\xB0", "\\degree", !0), h(Fe, k, B, "\xB0", "\\degree"), h(Fe, k, B, "\xB0", "\\textdegree", !0), h(v, k, B, "\xA3", "\\pounds"), h(v, k, B, "\xA3", "\\mathsterling", !0), h(Fe, k, B, "\xA3", "\\pounds"), h(Fe, k, B, "\xA3", "\\textsterling", !0), h(v, x, B, "\u2720", "\\maltese"), h(Fe, x, B, "\u2720", "\\maltese");
|
|
16014
16014
|
const Pe = '0123456789/@."';
|
|
16015
16015
|
for (let i = 0; i < Pe.length; i++) {
|
|
16016
16016
|
const s = Pe.charAt(i);
|
|
@@ -16026,7 +16026,7 @@ l0,-` + (s + 144) + `c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
16026
16026
|
const s = be.charAt(i);
|
|
16027
16027
|
h(v, k, _e, s, s), h(Fe, k, B, s, s);
|
|
16028
16028
|
}
|
|
16029
|
-
h(v,
|
|
16029
|
+
h(v, x, B, "C", "\u2102"), h(Fe, x, B, "C", "\u2102"), h(v, x, B, "H", "\u210D"), h(Fe, x, B, "H", "\u210D"), h(v, x, B, "N", "\u2115"), h(Fe, x, B, "N", "\u2115"), h(v, x, B, "P", "\u2119"), h(Fe, x, B, "P", "\u2119"), h(v, x, B, "Q", "\u211A"), h(Fe, x, B, "Q", "\u211A"), h(v, x, B, "R", "\u211D"), h(Fe, x, B, "R", "\u211D"), h(v, x, B, "Z", "\u2124"), h(Fe, x, B, "Z", "\u2124"), h(v, k, _e, "h", "\u210E"), h(Fe, k, _e, "h", "\u210E");
|
|
16030
16030
|
let Ce = "";
|
|
16031
16031
|
for (let i = 0; i < be.length; i++) {
|
|
16032
16032
|
const s = be.charAt(i);
|
|
@@ -16250,20 +16250,20 @@ l0,-` + (s + 144) + `c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
16250
16250
|
b.height > s && (s = b.height), b.depth > o && (o = b.depth), b.maxFontSize > u && (u = b.maxFontSize);
|
|
16251
16251
|
}
|
|
16252
16252
|
i.height = s, i.depth = o, i.maxFontSize = u;
|
|
16253
|
-
},
|
|
16253
|
+
}, Sr = function(i, s, o, u) {
|
|
16254
16254
|
const f = new wr(i, s, o, u);
|
|
16255
16255
|
return Cn(f), f;
|
|
16256
16256
|
}, sl = (i, s, o, u) => new wr(i, s, o, u), N1 = function(i, s, o) {
|
|
16257
|
-
const u =
|
|
16257
|
+
const u = Sr([i], [], s);
|
|
16258
16258
|
return u.height = Math.max(o || s.fontMetrics().defaultRuleThickness, s.minRuleThickness), u.style.borderBottomWidth = je(u.height), u.maxFontSize = 1, u;
|
|
16259
16259
|
}, M1 = function(i, s, o, u) {
|
|
16260
|
-
const f = new
|
|
16260
|
+
const f = new Br(i, s, o, u);
|
|
16261
16261
|
return Cn(f), f;
|
|
16262
16262
|
}, il = function(i) {
|
|
16263
16263
|
const s = new He(i);
|
|
16264
16264
|
return Cn(s), s;
|
|
16265
16265
|
}, R1 = function(i, s) {
|
|
16266
|
-
return i instanceof He ?
|
|
16266
|
+
return i instanceof He ? Sr([], [i], s) : i;
|
|
16267
16267
|
}, j1 = function(i) {
|
|
16268
16268
|
if (i.positionType === "individualShift") {
|
|
16269
16269
|
const o = i.children, u = [o[0]], f = -o[0].shift - o[0].elem.depth;
|
|
@@ -16319,7 +16319,7 @@ l0,-` + (s + 144) + `c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
16319
16319
|
}
|
|
16320
16320
|
}
|
|
16321
16321
|
f += 2;
|
|
16322
|
-
const b =
|
|
16322
|
+
const b = Sr(["pstrut"], []);
|
|
16323
16323
|
b.style.height = je(f);
|
|
16324
16324
|
const D = [];
|
|
16325
16325
|
let S = u, M = u, _ = u;
|
|
@@ -16328,25 +16328,25 @@ l0,-` + (s + 144) + `c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
16328
16328
|
if (Ve.type === "kern")
|
|
16329
16329
|
_ += Ve.size;
|
|
16330
16330
|
else {
|
|
16331
|
-
const tt = Ve.elem, At = Ve.wrapperClasses || [], xt = Ve.wrapperStyle || {}, St =
|
|
16331
|
+
const tt = Ve.elem, At = Ve.wrapperClasses || [], xt = Ve.wrapperStyle || {}, St = Sr(At, [b, tt], void 0, xt);
|
|
16332
16332
|
St.style.top = je(-f - _ - tt.depth), Ve.marginLeft && (St.style.marginLeft = Ve.marginLeft), Ve.marginRight && (St.style.marginRight = Ve.marginRight), D.push(St), _ += tt.height + tt.depth;
|
|
16333
16333
|
}
|
|
16334
16334
|
S = Math.min(S, _), M = Math.max(M, _);
|
|
16335
16335
|
}
|
|
16336
|
-
const X =
|
|
16336
|
+
const X = Sr(["vlist"], D);
|
|
16337
16337
|
X.style.height = je(M);
|
|
16338
16338
|
let te;
|
|
16339
16339
|
if (S < 0) {
|
|
16340
|
-
const Oe =
|
|
16340
|
+
const Oe = Sr([], []), Ve = Sr(["vlist"], [Oe]);
|
|
16341
16341
|
Ve.style.height = je(-S);
|
|
16342
|
-
const tt =
|
|
16343
|
-
te = [
|
|
16342
|
+
const tt = Sr(["vlist-s"], [new Ct("\u200B")]);
|
|
16343
|
+
te = [Sr(["vlist-r"], [X, tt]), Sr(["vlist-r"], [Ve])];
|
|
16344
16344
|
} else
|
|
16345
|
-
te = [
|
|
16346
|
-
const ce =
|
|
16345
|
+
te = [Sr(["vlist-r"], [X])];
|
|
16346
|
+
const ce = Sr(["vlist-t"], te);
|
|
16347
16347
|
return te.length === 2 && ce.classes.push("vlist-t2"), ce.height = M, ce.depth = -S, ce;
|
|
16348
16348
|
}, z1 = (i, s) => {
|
|
16349
|
-
const o =
|
|
16349
|
+
const o = Sr(["mspace"], [], s), u = Bt(i, s);
|
|
16350
16350
|
return o.style.marginRight = je(u), o;
|
|
16351
16351
|
}, ls = function(i, s, o) {
|
|
16352
16352
|
let u = "";
|
|
@@ -16436,7 +16436,7 @@ l0,-` + (s + 144) + `c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
16436
16436
|
fontMap: ol,
|
|
16437
16437
|
makeSymbol: Ue,
|
|
16438
16438
|
mathsym: ft,
|
|
16439
|
-
makeSpan:
|
|
16439
|
+
makeSpan: Sr,
|
|
16440
16440
|
makeSvgSpan: sl,
|
|
16441
16441
|
makeLineSpan: N1,
|
|
16442
16442
|
makeAnchor: M1,
|
|
@@ -16650,7 +16650,7 @@ l0,-` + (s + 144) + `c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
16650
16650
|
}
|
|
16651
16651
|
u && i.pop();
|
|
16652
16652
|
}, cl = function(i) {
|
|
16653
|
-
return i instanceof He || i instanceof
|
|
16653
|
+
return i instanceof He || i instanceof Br || i instanceof wr && i.hasClass("enclosing") ? i : null;
|
|
16654
16654
|
}, Mi = function(i, s) {
|
|
16655
16655
|
const o = cl(i);
|
|
16656
16656
|
if (o) {
|
|
@@ -16886,7 +16886,7 @@ l0,-` + (s + 144) + `c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
16886
16886
|
} else
|
|
16887
16887
|
return !1;
|
|
16888
16888
|
}
|
|
16889
|
-
const
|
|
16889
|
+
const Fr = function(i, s, o) {
|
|
16890
16890
|
if (i.length === 1) {
|
|
16891
16891
|
const b = Wt(i[0], s);
|
|
16892
16892
|
return o && b instanceof jr && b.type === "mo" && (b.setAttribute("lspace", "0em"), b.setAttribute("rspace", "0em")), [b];
|
|
@@ -16922,7 +16922,7 @@ l0,-` + (s + 144) + `c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
16922
16922
|
}
|
|
16923
16923
|
return u;
|
|
16924
16924
|
}, kn = function(i, s, o) {
|
|
16925
|
-
return Pi(
|
|
16925
|
+
return Pi(Fr(i, s, o));
|
|
16926
16926
|
}, Wt = function(i, s) {
|
|
16927
16927
|
if (!i)
|
|
16928
16928
|
return new Re.MathNode("mrow");
|
|
@@ -16931,7 +16931,7 @@ l0,-` + (s + 144) + `c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
16931
16931
|
throw new l("Got group of unknown type: '" + i.type + "'");
|
|
16932
16932
|
};
|
|
16933
16933
|
function fl(i, s, o, u, f) {
|
|
16934
|
-
const b =
|
|
16934
|
+
const b = Fr(i, o);
|
|
16935
16935
|
let D;
|
|
16936
16936
|
b.length === 1 && b[0] instanceof jr && ["mrow", "mtable"].includes(b[0].type) ? D = b[0] : D = new Re.MathNode("mrow", b);
|
|
16937
16937
|
const S = new Re.MathNode("annotation", [new Re.TextNode(s)]);
|
|
@@ -17447,7 +17447,7 @@ l0,-` + (s + 144) + `c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
17447
17447
|
}
|
|
17448
17448
|
function vl(i, s) {
|
|
17449
17449
|
let o;
|
|
17450
|
-
const u =
|
|
17450
|
+
const u = Fr(i.body, s);
|
|
17451
17451
|
return i.mclass === "minner" ? o = new Re.MathNode("mpadded", u) : i.mclass === "mord" ? i.isCharacterBox ? (o = u[0], o.type = "mi") : o = new Re.MathNode("mi", u) : (i.isCharacterBox ? (o = u[0], o.type = "mo") : o = new Re.MathNode("mo", u), i.mclass === "mbin" ? (o.attributes.lspace = "0.22em", o.attributes.rspace = "0.22em") : i.mclass === "mpunct" ? (o.attributes.lspace = "0em", o.attributes.rspace = "0.17em") : i.mclass === "mopen" || i.mclass === "mclose" ? (o.attributes.lspace = "0em", o.attributes.rspace = "0em") : i.mclass === "minner" && (o.attributes.lspace = "0.0556em", o.attributes.width = "+0.1111em")), o;
|
|
17452
17452
|
}
|
|
17453
17453
|
qe({
|
|
@@ -17560,7 +17560,7 @@ l0,-` + (s + 144) + `c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
17560
17560
|
return u.style.textShadow = "0.02em 0.01em 0.04px", u;
|
|
17561
17561
|
},
|
|
17562
17562
|
mathmlBuilder(i, s) {
|
|
17563
|
-
const o =
|
|
17563
|
+
const o = Fr(i.body, s), u = new Re.MathNode("mstyle", o);
|
|
17564
17564
|
return u.setAttribute("style", "text-shadow: 0.02em 0.01em 0.04px"), u;
|
|
17565
17565
|
}
|
|
17566
17566
|
});
|
|
@@ -17779,7 +17779,7 @@ l0,-` + (s + 144) + `c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
17779
17779
|
const o = fr(i.body, s.withColor(i.color), !1);
|
|
17780
17780
|
return ae.makeFragment(o);
|
|
17781
17781
|
}, wl = (i, s) => {
|
|
17782
|
-
const o =
|
|
17782
|
+
const o = Fr(i.body, s.withColor(i.color)), u = new Re.MathNode("mstyle", o);
|
|
17783
17783
|
return u.setAttribute("mathcolor", i.color), u;
|
|
17784
17784
|
};
|
|
17785
17785
|
qe({
|
|
@@ -18389,7 +18389,7 @@ l0,-` + (s + 144) + `c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
18389
18389
|
},
|
|
18390
18390
|
mathmlBuilder: (i, s) => {
|
|
18391
18391
|
Ml(i);
|
|
18392
|
-
const o =
|
|
18392
|
+
const o = Fr(i.body, s);
|
|
18393
18393
|
if (i.left !== ".") {
|
|
18394
18394
|
const u = new Re.MathNode("mo", [Ir(i.left, i.mode)]);
|
|
18395
18395
|
u.setAttribute("fence", "true"), o.unshift(u);
|
|
@@ -18683,7 +18683,7 @@ l0,-` + (s + 144) + `c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
18683
18683
|
function F(i, s) {
|
|
18684
18684
|
jl[i] = s;
|
|
18685
18685
|
}
|
|
18686
|
-
class
|
|
18686
|
+
class Tr {
|
|
18687
18687
|
// The + prefix indicates that these fields aren't writeable
|
|
18688
18688
|
// Lexer holding the input string.
|
|
18689
18689
|
// Start offset, zero-based inclusive.
|
|
@@ -18700,7 +18700,7 @@ l0,-` + (s + 144) + `c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
18700
18700
|
* - Otherwise, returns null.
|
|
18701
18701
|
*/
|
|
18702
18702
|
static range(s, o) {
|
|
18703
|
-
return o ? !s || !s.loc || !o.loc || s.loc.lexer !== o.loc.lexer ? null : new
|
|
18703
|
+
return o ? !s || !s.loc || !o.loc || s.loc.lexer !== o.loc.lexer ? null : new Tr(s.loc.lexer, s.loc.start, o.loc.end) : s && s.loc;
|
|
18704
18704
|
}
|
|
18705
18705
|
}
|
|
18706
18706
|
class Pr {
|
|
@@ -18714,7 +18714,7 @@ l0,-` + (s + 144) + `c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
18714
18714
|
* the whole input range enclosed by these two.
|
|
18715
18715
|
*/
|
|
18716
18716
|
range(s, o) {
|
|
18717
|
-
return new Pr(o,
|
|
18717
|
+
return new Pr(o, Tr.range(this, s));
|
|
18718
18718
|
}
|
|
18719
18719
|
}
|
|
18720
18720
|
function Pl(i) {
|
|
@@ -19918,7 +19918,7 @@ l0,-` + (s + 144) + `c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
19918
19918
|
return ae.makeFragment(o);
|
|
19919
19919
|
},
|
|
19920
19920
|
mathmlBuilder(i, s) {
|
|
19921
|
-
return new Re.MathNode("mrow",
|
|
19921
|
+
return new Re.MathNode("mrow", Fr(i.body, s));
|
|
19922
19922
|
}
|
|
19923
19923
|
}), qe({
|
|
19924
19924
|
type: "html",
|
|
@@ -20404,7 +20404,7 @@ l0,-` + (s + 144) + `c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
20404
20404
|
if (i.symbol)
|
|
20405
20405
|
o = new jr("mo", [Ir(i.name, i.mode)]), Yl.includes(i.name) && o.setAttribute("largeop", "false");
|
|
20406
20406
|
else if (i.body)
|
|
20407
|
-
o = new jr("mo",
|
|
20407
|
+
o = new jr("mo", Fr(i.body, s));
|
|
20408
20408
|
else {
|
|
20409
20409
|
o = new jr("mi", [new Xr(i.name.slice(1))]);
|
|
20410
20410
|
const u = new jr("mo", [Ir("\u2061", "text")]);
|
|
@@ -20591,7 +20591,7 @@ l0,-` + (s + 144) + `c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
20591
20591
|
},
|
|
20592
20592
|
htmlBuilder: Kl,
|
|
20593
20593
|
mathmlBuilder: (i, s) => {
|
|
20594
|
-
let o =
|
|
20594
|
+
let o = Fr(i.body, s.withFont("mathrm")), u = !0;
|
|
20595
20595
|
for (let D = 0; D < o.length; D++) {
|
|
20596
20596
|
const S = o[D];
|
|
20597
20597
|
if (!(S instanceof Re.SpaceNode)) if (S instanceof Re.MathNode)
|
|
@@ -20696,7 +20696,7 @@ l0,-` + (s + 144) + `c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
20696
20696
|
return ae.makeFragment(o);
|
|
20697
20697
|
},
|
|
20698
20698
|
mathmlBuilder: (i, s) => {
|
|
20699
|
-
const o =
|
|
20699
|
+
const o = Fr(i.body, s);
|
|
20700
20700
|
return new Re.MathNode("mphantom", o);
|
|
20701
20701
|
}
|
|
20702
20702
|
}), qe({
|
|
@@ -20731,7 +20731,7 @@ l0,-` + (s + 144) + `c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
20731
20731
|
}, s), ae.makeSpan(["mord"], [o], s);
|
|
20732
20732
|
},
|
|
20733
20733
|
mathmlBuilder: (i, s) => {
|
|
20734
|
-
const o =
|
|
20734
|
+
const o = Fr(or(i.body), s), u = new Re.MathNode("mphantom", o), f = new Re.MathNode("mpadded", [u]);
|
|
20735
20735
|
return f.setAttribute("height", "0px"), f.setAttribute("depth", "0px"), f;
|
|
20736
20736
|
}
|
|
20737
20737
|
}), qe({
|
|
@@ -20757,7 +20757,7 @@ l0,-` + (s + 144) + `c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
20757
20757
|
return ae.makeSpan(["mord", "rlap"], [o, u], s);
|
|
20758
20758
|
},
|
|
20759
20759
|
mathmlBuilder: (i, s) => {
|
|
20760
|
-
const o =
|
|
20760
|
+
const o = Fr(or(i.body), s), u = new Re.MathNode("mphantom", o), f = new Re.MathNode("mpadded", [u]);
|
|
20761
20761
|
return f.setAttribute("width", "0px"), f;
|
|
20762
20762
|
}
|
|
20763
20763
|
}), qe({
|
|
@@ -20882,7 +20882,7 @@ l0,-` + (s + 144) + `c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
20882
20882
|
return Xl(i.body, o, s);
|
|
20883
20883
|
},
|
|
20884
20884
|
mathmlBuilder: (i, s) => {
|
|
20885
|
-
const o = s.havingSize(i.size), u =
|
|
20885
|
+
const o = s.havingSize(i.size), u = Fr(i.body, o), f = new Re.MathNode("mstyle", u);
|
|
20886
20886
|
return f.setAttribute("mathsize", je(o.sizeMultiplier)), f;
|
|
20887
20887
|
}
|
|
20888
20888
|
}), qe({
|
|
@@ -21050,7 +21050,7 @@ l0,-` + (s + 144) + `c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
21050
21050
|
return Xl(i.body, u, s);
|
|
21051
21051
|
},
|
|
21052
21052
|
mathmlBuilder(i, s) {
|
|
21053
|
-
const o = Zl[i.style], u = s.havingStyle(o), f =
|
|
21053
|
+
const o = Zl[i.style], u = s.havingStyle(o), f = Fr(i.body, u), b = new Re.MathNode("mstyle", f), S = {
|
|
21054
21054
|
display: ["0", "true"],
|
|
21055
21055
|
text: ["0", "false"],
|
|
21056
21056
|
script: ["1", "false"],
|
|
@@ -21462,17 +21462,17 @@ l0,-` + (s + 144) + `c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
21462
21462
|
lex() {
|
|
21463
21463
|
const s = this.input, o = this.tokenRegex.lastIndex;
|
|
21464
21464
|
if (o === s.length)
|
|
21465
|
-
return new Pr("EOF", new
|
|
21465
|
+
return new Pr("EOF", new Tr(this, o, o));
|
|
21466
21466
|
const u = this.tokenRegex.exec(s);
|
|
21467
21467
|
if (u === null || u.index !== o)
|
|
21468
|
-
throw new l("Unexpected character: '" + s[o] + "'", new Pr(s[o], new
|
|
21468
|
+
throw new l("Unexpected character: '" + s[o] + "'", new Pr(s[o], new Tr(this, o, o + 1)));
|
|
21469
21469
|
const f = u[6] || u[3] || (u[2] ? "\\ " : " ");
|
|
21470
21470
|
if (this.catcodes[f] === 14) {
|
|
21471
21471
|
const b = s.indexOf(`
|
|
21472
21472
|
`, this.tokenRegex.lastIndex);
|
|
21473
21473
|
return b === -1 ? (this.tokenRegex.lastIndex = s.length, this.settings.reportNonstrict("commentAtEnd", "% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")) : this.tokenRegex.lastIndex = b + 1, this.lex();
|
|
21474
21474
|
}
|
|
21475
|
-
return new Pr(f, new
|
|
21475
|
+
return new Pr(f, new Tr(this, o, this.tokenRegex.lastIndex));
|
|
21476
21476
|
}
|
|
21477
21477
|
}
|
|
21478
21478
|
class Ah {
|
|
@@ -21885,7 +21885,7 @@ l0,-` + (s + 144) + `c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
21885
21885
|
start: o,
|
|
21886
21886
|
end: u
|
|
21887
21887
|
} = this.consumeArg());
|
|
21888
|
-
return this.pushToken(new Pr("EOF", u.loc)), this.pushTokens(f), new Pr("",
|
|
21888
|
+
return this.pushToken(new Pr("EOF", u.loc)), this.pushTokens(f), new Pr("", Tr.range(o, u));
|
|
21889
21889
|
}
|
|
21890
21890
|
/**
|
|
21891
21891
|
* Consume all following space tokens, without expansion.
|
|
@@ -23058,7 +23058,7 @@ l0,-` + (s + 144) + `c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
23058
23058
|
this.expect(D), this.gullet.endGroup(), b = {
|
|
23059
23059
|
type: "ordgroup",
|
|
23060
23060
|
mode: this.mode,
|
|
23061
|
-
loc:
|
|
23061
|
+
loc: Tr.range(u, M),
|
|
23062
23062
|
body: S,
|
|
23063
23063
|
// A group formed by \begingroup...\endgroup is a semi-simple group
|
|
23064
23064
|
// which doesn't affect spacing in math mode, i.e., is transparent.
|
|
@@ -23088,17 +23088,17 @@ l0,-` + (s + 144) + `c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
23088
23088
|
b === "-" && s[u + 1].text === "-" && (u + 1 < o && s[u + 2].text === "-" ? (s.splice(u, 3, {
|
|
23089
23089
|
type: "textord",
|
|
23090
23090
|
mode: "text",
|
|
23091
|
-
loc:
|
|
23091
|
+
loc: Tr.range(f, s[u + 2]),
|
|
23092
23092
|
text: "---"
|
|
23093
23093
|
}), o -= 2) : (s.splice(u, 2, {
|
|
23094
23094
|
type: "textord",
|
|
23095
23095
|
mode: "text",
|
|
23096
|
-
loc:
|
|
23096
|
+
loc: Tr.range(f, s[u + 1]),
|
|
23097
23097
|
text: "--"
|
|
23098
23098
|
}), o -= 1)), (b === "'" || b === "`") && s[u + 1].text === b && (s.splice(u, 2, {
|
|
23099
23099
|
type: "textord",
|
|
23100
23100
|
mode: "text",
|
|
23101
|
-
loc:
|
|
23101
|
+
loc: Tr.range(f, s[u + 1]),
|
|
23102
23102
|
text: b + b
|
|
23103
23103
|
}), o -= 1);
|
|
23104
23104
|
}
|
|
@@ -23130,7 +23130,7 @@ l0,-` + (s + 144) + `c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
23130
23130
|
let f;
|
|
23131
23131
|
if (qt[this.mode][o]) {
|
|
23132
23132
|
this.settings.strict && this.mode === "math" && ze.indexOf(o) >= 0 && this.settings.reportNonstrict("unicodeTextInMathMode", 'Latin-1/Unicode text character "' + o[0] + '" used in math mode', s);
|
|
23133
|
-
const b = qt[this.mode][o].group, D =
|
|
23133
|
+
const b = qt[this.mode][o].group, D = Tr.range(s);
|
|
23134
23134
|
let S;
|
|
23135
23135
|
if (Aa.hasOwnProperty(b)) {
|
|
23136
23136
|
const M = b;
|
|
@@ -23153,7 +23153,7 @@ l0,-` + (s + 144) + `c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
23153
23153
|
this.settings.strict && (ie(o.charCodeAt(0)) ? this.mode === "math" && this.settings.reportNonstrict("unicodeTextInMathMode", 'Unicode text character "' + o[0] + '" used in math mode', s) : this.settings.reportNonstrict("unknownSymbol", 'Unrecognized Unicode character "' + o[0] + '"' + (" (" + o.charCodeAt(0) + ")"), s)), f = {
|
|
23154
23154
|
type: "textord",
|
|
23155
23155
|
mode: "text",
|
|
23156
|
-
loc:
|
|
23156
|
+
loc: Tr.range(s),
|
|
23157
23157
|
text: o
|
|
23158
23158
|
};
|
|
23159
23159
|
else
|
|
@@ -23169,7 +23169,7 @@ l0,-` + (s + 144) + `c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
23169
23169
|
f = {
|
|
23170
23170
|
type: "accent",
|
|
23171
23171
|
mode: this.mode,
|
|
23172
|
-
loc:
|
|
23172
|
+
loc: Tr.range(s),
|
|
23173
23173
|
label: S,
|
|
23174
23174
|
isStretchy: !1,
|
|
23175
23175
|
isShifty: !0,
|
|
@@ -23312,7 +23312,7 @@ l0,-` + (s + 144) + `c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
23312
23312
|
*/
|
|
23313
23313
|
__domTree: {
|
|
23314
23314
|
Span: wr,
|
|
23315
|
-
Anchor:
|
|
23315
|
+
Anchor: Br,
|
|
23316
23316
|
SymbolNode: Ct,
|
|
23317
23317
|
SvgNode: _t,
|
|
23318
23318
|
PathNode: ar,
|
|
@@ -23461,14 +23461,14 @@ const W3 = Me.span.attrs({
|
|
|
23461
23461
|
color: #d73a49;
|
|
23462
23462
|
`, G3 = ({ attributes: e, formula: t, styles: r }) => {
|
|
23463
23463
|
const n = it(() => (t || "").trim(), [t]), a = r?.text?.color;
|
|
23464
|
-
return n ? /* @__PURE__ */
|
|
23464
|
+
return n ? /* @__PURE__ */ w.jsx(W3, { ...e, $color: a, children: /* @__PURE__ */ w.jsx(
|
|
23465
23465
|
k1.InlineMath,
|
|
23466
23466
|
{
|
|
23467
23467
|
math: n,
|
|
23468
23468
|
errorColor: "#d73a49",
|
|
23469
|
-
renderError: (l) => /* @__PURE__ */
|
|
23470
|
-
/* @__PURE__ */
|
|
23471
|
-
/* @__PURE__ */
|
|
23469
|
+
renderError: (l) => /* @__PURE__ */ w.jsxs(U3, { children: [
|
|
23470
|
+
/* @__PURE__ */ w.jsx("span", { children: n }),
|
|
23471
|
+
/* @__PURE__ */ w.jsx(V3, { children: l?.message })
|
|
23472
23472
|
] })
|
|
23473
23473
|
}
|
|
23474
23474
|
) }) : null;
|
|
@@ -23509,15 +23509,15 @@ const W3 = Me.span.attrs({
|
|
|
23509
23509
|
overflow-x: auto;
|
|
23510
23510
|
`, Z3 = ({ attributes: e, formula: t, styles: r }) => {
|
|
23511
23511
|
const n = it(() => (t || "").trim(), [t]), a = r?.text?.color;
|
|
23512
|
-
return n ? /* @__PURE__ */
|
|
23512
|
+
return n ? /* @__PURE__ */ w.jsx(Y3, { ...e, $textColor: a, children: /* @__PURE__ */ w.jsx(
|
|
23513
23513
|
k1.BlockMath,
|
|
23514
23514
|
{
|
|
23515
23515
|
math: n,
|
|
23516
23516
|
errorColor: "#d73a49",
|
|
23517
|
-
renderError: (l) => /* @__PURE__ */
|
|
23518
|
-
/* @__PURE__ */
|
|
23519
|
-
/* @__PURE__ */
|
|
23520
|
-
/* @__PURE__ */
|
|
23517
|
+
renderError: (l) => /* @__PURE__ */ w.jsxs(K3, { children: [
|
|
23518
|
+
/* @__PURE__ */ w.jsx(X3, { children: "\u516C\u5F0F\u6E32\u67D3\u5931\u8D25" }),
|
|
23519
|
+
/* @__PURE__ */ w.jsx(J3, { children: n }),
|
|
23520
|
+
/* @__PURE__ */ w.jsx("span", { children: l?.message })
|
|
23521
23521
|
] })
|
|
23522
23522
|
}
|
|
23523
23523
|
) }) : null;
|
|
@@ -23525,7 +23525,7 @@ const W3 = Me.span.attrs({
|
|
|
23525
23525
|
const { styles: t } = e, { element: r, children: n, attributes: a } = e;
|
|
23526
23526
|
switch (r.type) {
|
|
23527
23527
|
case "paragraph":
|
|
23528
|
-
return /* @__PURE__ */
|
|
23528
|
+
return /* @__PURE__ */ w.jsx(
|
|
23529
23529
|
"div",
|
|
23530
23530
|
{
|
|
23531
23531
|
...a,
|
|
@@ -23539,7 +23539,7 @@ const W3 = Me.span.attrs({
|
|
|
23539
23539
|
}
|
|
23540
23540
|
);
|
|
23541
23541
|
case "heading-one":
|
|
23542
|
-
return /* @__PURE__ */
|
|
23542
|
+
return /* @__PURE__ */ w.jsx(
|
|
23543
23543
|
"h1",
|
|
23544
23544
|
{
|
|
23545
23545
|
...a,
|
|
@@ -23552,7 +23552,7 @@ const W3 = Me.span.attrs({
|
|
|
23552
23552
|
}
|
|
23553
23553
|
);
|
|
23554
23554
|
case "heading-two":
|
|
23555
|
-
return /* @__PURE__ */
|
|
23555
|
+
return /* @__PURE__ */ w.jsx(
|
|
23556
23556
|
"h2",
|
|
23557
23557
|
{
|
|
23558
23558
|
...a,
|
|
@@ -23565,7 +23565,7 @@ const W3 = Me.span.attrs({
|
|
|
23565
23565
|
}
|
|
23566
23566
|
);
|
|
23567
23567
|
case "heading-three":
|
|
23568
|
-
return /* @__PURE__ */
|
|
23568
|
+
return /* @__PURE__ */ w.jsx(
|
|
23569
23569
|
"h3",
|
|
23570
23570
|
{
|
|
23571
23571
|
...a,
|
|
@@ -23578,19 +23578,19 @@ const W3 = Me.span.attrs({
|
|
|
23578
23578
|
}
|
|
23579
23579
|
);
|
|
23580
23580
|
case "bulleted-list":
|
|
23581
|
-
return /* @__PURE__ */
|
|
23581
|
+
return /* @__PURE__ */ w.jsx("ul", { ...a, children: n });
|
|
23582
23582
|
case "numbered-list":
|
|
23583
|
-
return /* @__PURE__ */
|
|
23583
|
+
return /* @__PURE__ */ w.jsx("ol", { ...a, children: n });
|
|
23584
23584
|
case "list-item":
|
|
23585
|
-
return /* @__PURE__ */
|
|
23585
|
+
return /* @__PURE__ */ w.jsx("li", { ...a, children: n });
|
|
23586
23586
|
case "table":
|
|
23587
|
-
return /* @__PURE__ */
|
|
23587
|
+
return /* @__PURE__ */ w.jsx("div", { className: "table-container", children: /* @__PURE__ */ w.jsx("table", { ...a, children: /* @__PURE__ */ w.jsx("tbody", { children: n }) }) });
|
|
23588
23588
|
case "table-row":
|
|
23589
|
-
return /* @__PURE__ */
|
|
23589
|
+
return /* @__PURE__ */ w.jsx("tr", { ...a, children: n });
|
|
23590
23590
|
case "table-cell":
|
|
23591
|
-
return r.header ? /* @__PURE__ */
|
|
23591
|
+
return r.header ? /* @__PURE__ */ w.jsx("th", { ...a, children: n }) : /* @__PURE__ */ w.jsx("td", { ...a, children: n });
|
|
23592
23592
|
case "block-quote":
|
|
23593
|
-
return /* @__PURE__ */
|
|
23593
|
+
return /* @__PURE__ */ w.jsx(
|
|
23594
23594
|
"blockquote",
|
|
23595
23595
|
{
|
|
23596
23596
|
...a,
|
|
@@ -23603,7 +23603,7 @@ const W3 = Me.span.attrs({
|
|
|
23603
23603
|
}
|
|
23604
23604
|
);
|
|
23605
23605
|
case "code-block":
|
|
23606
|
-
return /* @__PURE__ */
|
|
23606
|
+
return /* @__PURE__ */ w.jsx("pre", { ...a, children: /* @__PURE__ */ w.jsx(
|
|
23607
23607
|
"code",
|
|
23608
23608
|
{
|
|
23609
23609
|
style: {
|
|
@@ -23614,11 +23614,11 @@ const W3 = Me.span.attrs({
|
|
|
23614
23614
|
) });
|
|
23615
23615
|
case "think":
|
|
23616
23616
|
const l = e.extraProps || {}, c = l.isCollapsed !== void 0 ? l.isCollapsed : Object.values(l)[1] === !0, d = { ...l, isCollapsed: c };
|
|
23617
|
-
return /* @__PURE__ */
|
|
23617
|
+
return /* @__PURE__ */ w.jsx(N3, { attributes: a, styles: t, extraProps: d, children: n });
|
|
23618
23618
|
case "template":
|
|
23619
|
-
return /* @__PURE__ */
|
|
23619
|
+
return /* @__PURE__ */ w.jsx(x1, { ...a, element: r, children: n, styles: t });
|
|
23620
23620
|
case "latex-inline":
|
|
23621
|
-
return /* @__PURE__ */
|
|
23621
|
+
return /* @__PURE__ */ w.jsx(
|
|
23622
23622
|
G3,
|
|
23623
23623
|
{
|
|
23624
23624
|
attributes: a,
|
|
@@ -23627,7 +23627,7 @@ const W3 = Me.span.attrs({
|
|
|
23627
23627
|
}
|
|
23628
23628
|
);
|
|
23629
23629
|
case "latex-block":
|
|
23630
|
-
return /* @__PURE__ */
|
|
23630
|
+
return /* @__PURE__ */ w.jsx(
|
|
23631
23631
|
Z3,
|
|
23632
23632
|
{
|
|
23633
23633
|
attributes: a,
|
|
@@ -23655,7 +23655,7 @@ const W3 = Me.span.attrs({
|
|
|
23655
23655
|
})(
|
|
23656
23656
|
e.extraProps?.databaseReference || e.databaseReference
|
|
23657
23657
|
);
|
|
23658
|
-
return /* @__PURE__ */
|
|
23658
|
+
return /* @__PURE__ */ w.jsx(
|
|
23659
23659
|
w1,
|
|
23660
23660
|
{
|
|
23661
23661
|
...a,
|
|
@@ -23668,7 +23668,7 @@ const W3 = Me.span.attrs({
|
|
|
23668
23668
|
}
|
|
23669
23669
|
);
|
|
23670
23670
|
case "image":
|
|
23671
|
-
return console.log("\u6E32\u67D3\u56FE\u7247\u5143\u7D20:", { url: r.url, alt: r.alt }), /* @__PURE__ */
|
|
23671
|
+
return console.log("\u6E32\u67D3\u56FE\u7247\u5143\u7D20:", { url: r.url, alt: r.alt }), /* @__PURE__ */ w.jsx(
|
|
23672
23672
|
"img",
|
|
23673
23673
|
{
|
|
23674
23674
|
...a,
|
|
@@ -23694,7 +23694,7 @@ const W3 = Me.span.attrs({
|
|
|
23694
23694
|
src: r.src,
|
|
23695
23695
|
width: r.width,
|
|
23696
23696
|
height: r.height
|
|
23697
|
-
}), /* @__PURE__ */
|
|
23697
|
+
}), /* @__PURE__ */ w.jsx(
|
|
23698
23698
|
"iframe",
|
|
23699
23699
|
{
|
|
23700
23700
|
...a,
|
|
@@ -23719,7 +23719,7 @@ const W3 = Me.span.attrs({
|
|
|
23719
23719
|
}
|
|
23720
23720
|
);
|
|
23721
23721
|
default:
|
|
23722
|
-
return /* @__PURE__ */
|
|
23722
|
+
return /* @__PURE__ */ w.jsx(
|
|
23723
23723
|
"div",
|
|
23724
23724
|
{
|
|
23725
23725
|
...a,
|
|
@@ -23740,7 +23740,7 @@ const W3 = Me.span.attrs({
|
|
|
23740
23740
|
if (n.retrive) {
|
|
23741
23741
|
const c = n.fromtype === "0", d = n.fromtype === "1", m = n.fromtype === "2", p = n.text || "";
|
|
23742
23742
|
let y = p, C = "#e6f7ff", E = "#1890ff", T = "#bae7ff";
|
|
23743
|
-
return c ? (y = `${p}`, C = "#e6f7ff", E = "#1890ff", T = "#bae7ff") : d ? (y = `${p}`, C = "#f6ffed", E = "#52c41a", T = "#d9f7be") : m && (y = `${p}`, C = "#E7F8FB", E = "#10BBD9", T = "#E7F8FB"), l = /* @__PURE__ */
|
|
23743
|
+
return c ? (y = `${p}`, C = "#e6f7ff", E = "#1890ff", T = "#bae7ff") : d ? (y = `${p}`, C = "#f6ffed", E = "#52c41a", T = "#d9f7be") : m && (y = `${p}`, C = "#E7F8FB", E = "#10BBD9", T = "#E7F8FB"), l = /* @__PURE__ */ w.jsx(
|
|
23744
23744
|
"span",
|
|
23745
23745
|
{
|
|
23746
23746
|
...t,
|
|
@@ -23770,7 +23770,7 @@ const W3 = Me.span.attrs({
|
|
|
23770
23770
|
), l;
|
|
23771
23771
|
}
|
|
23772
23772
|
if (n.code)
|
|
23773
|
-
l = /* @__PURE__ */
|
|
23773
|
+
l = /* @__PURE__ */ w.jsx(
|
|
23774
23774
|
"code",
|
|
23775
23775
|
{
|
|
23776
23776
|
...t,
|
|
@@ -23792,9 +23792,9 @@ const W3 = Me.span.attrs({
|
|
|
23792
23792
|
lineHeight: a?.text?.lineHeight,
|
|
23793
23793
|
letterSpacing: a?.letterSpacing
|
|
23794
23794
|
};
|
|
23795
|
-
l = /* @__PURE__ */
|
|
23795
|
+
l = /* @__PURE__ */ w.jsx("span", { ...t, className: c, style: d, children: l });
|
|
23796
23796
|
}
|
|
23797
|
-
return n.link && (l = /* @__PURE__ */
|
|
23797
|
+
return n.link && (l = /* @__PURE__ */ w.jsx(
|
|
23798
23798
|
"a",
|
|
23799
23799
|
{
|
|
23800
23800
|
href: n.link,
|
|
@@ -24196,25 +24196,25 @@ function Rd(e, t) {
|
|
|
24196
24196
|
case "p":
|
|
24197
24197
|
a.push({
|
|
24198
24198
|
type: "paragraph",
|
|
24199
|
-
children:
|
|
24199
|
+
children: mr(d, t)
|
|
24200
24200
|
});
|
|
24201
24201
|
break;
|
|
24202
24202
|
case "h1":
|
|
24203
24203
|
a.push({
|
|
24204
24204
|
type: "heading-one",
|
|
24205
|
-
children:
|
|
24205
|
+
children: mr(d, t)
|
|
24206
24206
|
});
|
|
24207
24207
|
break;
|
|
24208
24208
|
case "h2":
|
|
24209
24209
|
a.push({
|
|
24210
24210
|
type: "heading-two",
|
|
24211
|
-
children:
|
|
24211
|
+
children: mr(d, t)
|
|
24212
24212
|
});
|
|
24213
24213
|
break;
|
|
24214
24214
|
case "h3":
|
|
24215
24215
|
a.push({
|
|
24216
24216
|
type: "heading-three",
|
|
24217
|
-
children:
|
|
24217
|
+
children: mr(d, t)
|
|
24218
24218
|
});
|
|
24219
24219
|
break;
|
|
24220
24220
|
case "ul":
|
|
@@ -24223,7 +24223,7 @@ function Rd(e, t) {
|
|
|
24223
24223
|
children: Array.from(d.children).map(
|
|
24224
24224
|
(p) => ({
|
|
24225
24225
|
type: "list-item",
|
|
24226
|
-
children:
|
|
24226
|
+
children: mr(p)
|
|
24227
24227
|
})
|
|
24228
24228
|
)
|
|
24229
24229
|
});
|
|
@@ -24233,7 +24233,7 @@ function Rd(e, t) {
|
|
|
24233
24233
|
type: "numbered-list",
|
|
24234
24234
|
children: Array.from(d.children).map((p) => ({
|
|
24235
24235
|
type: "list-item",
|
|
24236
|
-
children:
|
|
24236
|
+
children: mr(p)
|
|
24237
24237
|
}))
|
|
24238
24238
|
};
|
|
24239
24239
|
a.push(m);
|
|
@@ -24241,29 +24241,29 @@ function Rd(e, t) {
|
|
|
24241
24241
|
case "li":
|
|
24242
24242
|
a.push({
|
|
24243
24243
|
type: "list-item",
|
|
24244
|
-
children:
|
|
24244
|
+
children: mr(d, t)
|
|
24245
24245
|
});
|
|
24246
24246
|
break;
|
|
24247
24247
|
case "pre": {
|
|
24248
24248
|
const p = d.querySelector("code");
|
|
24249
24249
|
p ? a.push({
|
|
24250
24250
|
type: "code-block",
|
|
24251
|
-
children:
|
|
24251
|
+
children: mr(p)
|
|
24252
24252
|
}) : a.push({
|
|
24253
24253
|
type: "code-block",
|
|
24254
|
-
children:
|
|
24254
|
+
children: mr(d, t)
|
|
24255
24255
|
});
|
|
24256
24256
|
break;
|
|
24257
24257
|
}
|
|
24258
24258
|
case "code": {
|
|
24259
24259
|
d.closest("pre") || a.push({
|
|
24260
24260
|
type: "paragraph",
|
|
24261
|
-
children:
|
|
24261
|
+
children: mr(d, t)
|
|
24262
24262
|
});
|
|
24263
24263
|
break;
|
|
24264
24264
|
}
|
|
24265
24265
|
case "retrive-tag": {
|
|
24266
|
-
const p =
|
|
24266
|
+
const p = mr(d, t);
|
|
24267
24267
|
p.length > 0 && a.push({
|
|
24268
24268
|
type: "paragraph",
|
|
24269
24269
|
children: p
|
|
@@ -24282,7 +24282,7 @@ function Rd(e, t) {
|
|
|
24282
24282
|
case "blockquote":
|
|
24283
24283
|
a.push({
|
|
24284
24284
|
type: "block-quote",
|
|
24285
|
-
children:
|
|
24285
|
+
children: mr(d, t)
|
|
24286
24286
|
});
|
|
24287
24287
|
break;
|
|
24288
24288
|
case "table":
|
|
@@ -24348,13 +24348,13 @@ function Rd(e, t) {
|
|
|
24348
24348
|
case "think-block":
|
|
24349
24349
|
a.push({
|
|
24350
24350
|
type: "think",
|
|
24351
|
-
children:
|
|
24351
|
+
children: mr(d)
|
|
24352
24352
|
});
|
|
24353
24353
|
break;
|
|
24354
24354
|
default:
|
|
24355
24355
|
a.push({
|
|
24356
24356
|
type: "paragraph",
|
|
24357
|
-
children:
|
|
24357
|
+
children: mr(d, t)
|
|
24358
24358
|
});
|
|
24359
24359
|
break;
|
|
24360
24360
|
}
|
|
@@ -24364,7 +24364,7 @@ function Rd(e, t) {
|
|
|
24364
24364
|
});
|
|
24365
24365
|
}), a))(r, e.childNodes), r;
|
|
24366
24366
|
}
|
|
24367
|
-
function
|
|
24367
|
+
function mr(e, t) {
|
|
24368
24368
|
const r = [];
|
|
24369
24369
|
function n(l) {
|
|
24370
24370
|
const c = [];
|
|
@@ -24520,7 +24520,7 @@ function a6(e) {
|
|
|
24520
24520
|
(l) => ({
|
|
24521
24521
|
type: "table-cell",
|
|
24522
24522
|
header: !0,
|
|
24523
|
-
children:
|
|
24523
|
+
children: mr(l)
|
|
24524
24524
|
})
|
|
24525
24525
|
)
|
|
24526
24526
|
}), a.slice(1).forEach((l) => {
|
|
@@ -24530,7 +24530,7 @@ function a6(e) {
|
|
|
24530
24530
|
(c) => ({
|
|
24531
24531
|
type: "table-cell",
|
|
24532
24532
|
header: !1,
|
|
24533
|
-
children:
|
|
24533
|
+
children: mr(c)
|
|
24534
24534
|
})
|
|
24535
24535
|
)
|
|
24536
24536
|
});
|
|
@@ -24544,7 +24544,7 @@ function a6(e) {
|
|
|
24544
24544
|
(l) => ({
|
|
24545
24545
|
type: "table-cell",
|
|
24546
24546
|
header: !0,
|
|
24547
|
-
children:
|
|
24547
|
+
children: mr(l)
|
|
24548
24548
|
})
|
|
24549
24549
|
)
|
|
24550
24550
|
});
|
|
@@ -24556,7 +24556,7 @@ function a6(e) {
|
|
|
24556
24556
|
(l) => ({
|
|
24557
24557
|
type: "table-cell",
|
|
24558
24558
|
header: !1,
|
|
24559
|
-
children:
|
|
24559
|
+
children: mr(l)
|
|
24560
24560
|
})
|
|
24561
24561
|
)
|
|
24562
24562
|
});
|
|
@@ -24811,14 +24811,14 @@ const Da = ({
|
|
|
24811
24811
|
hasImageElements: ie.some((ue) => ue.type === "image"),
|
|
24812
24812
|
imageElements: ie.filter((ue) => ue.type === "image")
|
|
24813
24813
|
}), ie && ie.length > 0)
|
|
24814
|
-
return /* @__PURE__ */
|
|
24814
|
+
return /* @__PURE__ */ w.jsx(Go, { theme: z, $size: a, children: /* @__PURE__ */ w.jsx(
|
|
24815
24815
|
Po,
|
|
24816
24816
|
{
|
|
24817
24817
|
editor: G,
|
|
24818
24818
|
initialValue: ie,
|
|
24819
24819
|
onChange: () => {
|
|
24820
24820
|
},
|
|
24821
|
-
children: /* @__PURE__ */
|
|
24821
|
+
children: /* @__PURE__ */ w.jsx(Yo, { theme: z, children: /* @__PURE__ */ w.jsx(
|
|
24822
24822
|
jo,
|
|
24823
24823
|
{
|
|
24824
24824
|
renderElement: ye,
|
|
@@ -24873,7 +24873,7 @@ const Da = ({
|
|
|
24873
24873
|
pre .code-copy-btn:hover{ background:${z?.hoverBackground || "rgba(0,0,0,0.06)"}; }
|
|
24874
24874
|
</style>
|
|
24875
24875
|
`;
|
|
24876
|
-
return /* @__PURE__ */
|
|
24876
|
+
return /* @__PURE__ */ w.jsx(
|
|
24877
24877
|
"div",
|
|
24878
24878
|
{
|
|
24879
24879
|
style: {
|
|
@@ -24887,9 +24887,9 @@ const Da = ({
|
|
|
24887
24887
|
}
|
|
24888
24888
|
);
|
|
24889
24889
|
} catch (ie) {
|
|
24890
|
-
return console.error("Markdown parsing error:", ie), /* @__PURE__ */
|
|
24890
|
+
return console.error("Markdown parsing error:", ie), /* @__PURE__ */ w.jsx("div", { children: e.content });
|
|
24891
24891
|
}
|
|
24892
|
-
}, [e, z, G, oe, ye, pe, ne, R]), de = it(() => e.type !== "html" ? null : /* @__PURE__ */
|
|
24892
|
+
}, [e, z, G, oe, ye, pe, ne, R]), de = it(() => e.type !== "html" ? null : /* @__PURE__ */ w.jsx(
|
|
24893
24893
|
"div",
|
|
24894
24894
|
{
|
|
24895
24895
|
style: {
|
|
@@ -24900,7 +24900,7 @@ const Da = ({
|
|
|
24900
24900
|
},
|
|
24901
24901
|
dangerouslySetInnerHTML: { __html: e.content || "" }
|
|
24902
24902
|
}
|
|
24903
|
-
), [e, z, ne]), Ee = it(() => e.type !== "text" ? null : /* @__PURE__ */
|
|
24903
|
+
), [e, z, ne]), Ee = it(() => e.type !== "text" ? null : /* @__PURE__ */ w.jsx(
|
|
24904
24904
|
"div",
|
|
24905
24905
|
{
|
|
24906
24906
|
style: {
|
|
@@ -24909,7 +24909,7 @@ const Da = ({
|
|
|
24909
24909
|
lineHeight: 1.6,
|
|
24910
24910
|
color: z?.textColor || "#24292f"
|
|
24911
24911
|
},
|
|
24912
|
-
children: /* @__PURE__ */
|
|
24912
|
+
children: /* @__PURE__ */ w.jsx("span", { children: e.content || "" })
|
|
24913
24913
|
}
|
|
24914
24914
|
), [e, z, ne]), Ae = () => {
|
|
24915
24915
|
switch (e.type) {
|
|
@@ -24921,13 +24921,13 @@ const Da = ({
|
|
|
24921
24921
|
return Ee;
|
|
24922
24922
|
case "slate":
|
|
24923
24923
|
default:
|
|
24924
|
-
return t ? /* @__PURE__ */
|
|
24924
|
+
return t ? /* @__PURE__ */ w.jsx(Go, { theme: z, $size: a, children: /* @__PURE__ */ w.jsx(
|
|
24925
24925
|
Po,
|
|
24926
24926
|
{
|
|
24927
24927
|
editor: G,
|
|
24928
24928
|
initialValue: ve,
|
|
24929
24929
|
onChange: le,
|
|
24930
|
-
children: /* @__PURE__ */
|
|
24930
|
+
children: /* @__PURE__ */ w.jsx(Yo, { theme: z, children: /* @__PURE__ */ w.jsx(
|
|
24931
24931
|
jo,
|
|
24932
24932
|
{
|
|
24933
24933
|
renderElement: ye,
|
|
@@ -24945,14 +24945,14 @@ const Da = ({
|
|
|
24945
24945
|
) })
|
|
24946
24946
|
},
|
|
24947
24947
|
oe
|
|
24948
|
-
) }) : /* @__PURE__ */
|
|
24948
|
+
) }) : /* @__PURE__ */ w.jsx(Go, { theme: z, $size: a, children: /* @__PURE__ */ w.jsx(
|
|
24949
24949
|
Po,
|
|
24950
24950
|
{
|
|
24951
24951
|
editor: G,
|
|
24952
24952
|
initialValue: ve,
|
|
24953
24953
|
onChange: () => {
|
|
24954
24954
|
},
|
|
24955
|
-
children: /* @__PURE__ */
|
|
24955
|
+
children: /* @__PURE__ */ w.jsx(Yo, { theme: z, children: /* @__PURE__ */ w.jsx(
|
|
24956
24956
|
jo,
|
|
24957
24957
|
{
|
|
24958
24958
|
renderElement: ye,
|
|
@@ -24972,7 +24972,7 @@ const Da = ({
|
|
|
24972
24972
|
) });
|
|
24973
24973
|
}
|
|
24974
24974
|
};
|
|
24975
|
-
return /* @__PURE__ */
|
|
24975
|
+
return /* @__PURE__ */ w.jsx(
|
|
24976
24976
|
s6,
|
|
24977
24977
|
{
|
|
24978
24978
|
theme: z,
|
|
@@ -25707,7 +25707,7 @@ const T6 = pr("Zap", [
|
|
|
25707
25707
|
} catch {
|
|
25708
25708
|
d(e);
|
|
25709
25709
|
}
|
|
25710
|
-
}, [e]), /* @__PURE__ */
|
|
25710
|
+
}, [e]), /* @__PURE__ */ w.jsx(w.Fragment, { children: c && /* @__PURE__ */ w.jsx(
|
|
25711
25711
|
Vh,
|
|
25712
25712
|
{
|
|
25713
25713
|
src: c,
|
|
@@ -25868,16 +25868,16 @@ const Xo = ({
|
|
|
25868
25868
|
const a = r[0]?.respTime;
|
|
25869
25869
|
a && a > 0 && `${(a / 1e3).toFixed(2)}`;
|
|
25870
25870
|
const l = r[0]?.nodeStatus ?? 3, c = W6(l), d = c.icon;
|
|
25871
|
-
return /* @__PURE__ */
|
|
25872
|
-
/* @__PURE__ */
|
|
25873
|
-
/* @__PURE__ */
|
|
25874
|
-
/* @__PURE__ */
|
|
25871
|
+
return /* @__PURE__ */ w.jsxs(R6, { children: [
|
|
25872
|
+
/* @__PURE__ */ w.jsxs(j6, { children: [
|
|
25873
|
+
/* @__PURE__ */ w.jsx(z6, { $isRotating: c.isRotating, children: /* @__PURE__ */ w.jsx(d, {}) }),
|
|
25874
|
+
/* @__PURE__ */ w.jsx($6, { children: e })
|
|
25875
25875
|
] }),
|
|
25876
|
-
/* @__PURE__ */
|
|
25877
|
-
/* @__PURE__ */
|
|
25876
|
+
/* @__PURE__ */ w.jsxs(L6, { children: [
|
|
25877
|
+
/* @__PURE__ */ w.jsx(I6, {}),
|
|
25878
25878
|
r.map((m) => {
|
|
25879
25879
|
const p = m?.rawContent?.type === "markdown" || m?.format === "markdown" || m.content?.includes("```") || m.content?.includes("**") || m.content?.includes("##"), y = m.nodeStatus === 1 && !m.content;
|
|
25880
|
-
return /* @__PURE__ */
|
|
25880
|
+
return /* @__PURE__ */ w.jsx(_6, { children: /* @__PURE__ */ w.jsx(q6, { children: y ? /* @__PURE__ */ w.jsx(H6, { children: "\u601D\u8003\u4E2D..." }) : m.content && (p ? /* @__PURE__ */ w.jsx(Id, { children: /* @__PURE__ */ w.jsx(
|
|
25881
25881
|
Da,
|
|
25882
25882
|
{
|
|
25883
25883
|
dataSource: {
|
|
@@ -25896,7 +25896,7 @@ const Xo = ({
|
|
|
25896
25896
|
minHeight: "auto"
|
|
25897
25897
|
}
|
|
25898
25898
|
}
|
|
25899
|
-
) }) : /* @__PURE__ */
|
|
25899
|
+
) }) : /* @__PURE__ */ w.jsx(Id, { className: "px-[15px]", children: m.content })) }) }, m.id);
|
|
25900
25900
|
})
|
|
25901
25901
|
] })
|
|
25902
25902
|
] });
|
|
@@ -26067,23 +26067,23 @@ const V6 = Me.div.attrs({
|
|
|
26067
26067
|
}, [e]), m = it(() => typeof r == "number" ? r === 4 : t === "live" ? e.some((T) => T.nodeStatus === 1) : !1, [t, r, e]), p = it(() => !e || e.length === 0 ? !1 : t === "history" ? e.every((T) => T.nodeStatus === 2) : e.every((T) => T.nodeStatus === 2), [e, t]), y = it(() => m ? "\u6B63\u5728\u601D\u8003\u4E2D" : p ? "\u601D\u8003\u5B8C\u6210" : e && e.length > 0 && !p ? "\u6B63\u5728\u601D\u8003\u4E2D" : "", [m, p, e]);
|
|
26068
26068
|
it(() => m ? "\u6A21\u578B\u6B63\u5728\u8FDB\u884C\u5206\u6B65\u63A8\u7406" : p ? "\u672C\u6B21\u5BF9\u8BDD\u7684\u63A8\u7406\u8FC7\u7A0B\u56DE\u653E" : "\u6A21\u578B\u6B63\u5728\u8FDB\u884C\u5206\u6B65\u63A8\u7406", [m, p]);
|
|
26069
26069
|
const C = e && e.length > 0, E = it(() => !a || a <= 0 ? "" : `\xB7 ${(a / 1e3).toFixed(2)} \u79D2`, [a]);
|
|
26070
|
-
return /* @__PURE__ */
|
|
26071
|
-
/* @__PURE__ */
|
|
26072
|
-
/* @__PURE__ */
|
|
26073
|
-
/* @__PURE__ */
|
|
26074
|
-
/* @__PURE__ */
|
|
26075
|
-
/* @__PURE__ */
|
|
26076
|
-
E && p && /* @__PURE__ */
|
|
26070
|
+
return /* @__PURE__ */ w.jsxs(V6, { "data-mode": t, children: [
|
|
26071
|
+
/* @__PURE__ */ w.jsxs(G6, { onClick: () => c((T) => !T), children: [
|
|
26072
|
+
/* @__PURE__ */ w.jsxs(Y6, { children: [
|
|
26073
|
+
/* @__PURE__ */ w.jsx(X6, { $isRotating: m }),
|
|
26074
|
+
/* @__PURE__ */ w.jsxs(J6, { children: [
|
|
26075
|
+
/* @__PURE__ */ w.jsx(Z6, { children: y }),
|
|
26076
|
+
E && p && /* @__PURE__ */ w.jsxs(Q6, { children: [
|
|
26077
26077
|
"\u603B\u8BA1\u7528\u65F6",
|
|
26078
26078
|
E
|
|
26079
26079
|
] })
|
|
26080
26080
|
] })
|
|
26081
26081
|
] }),
|
|
26082
|
-
/* @__PURE__ */
|
|
26082
|
+
/* @__PURE__ */ w.jsx(e7, { children: l ? /* @__PURE__ */ w.jsx(da, { size: 18, color: "#6b7280" }) : /* @__PURE__ */ w.jsx(_a, { size: 18, color: "#6b7280" }) })
|
|
26083
26083
|
] }),
|
|
26084
|
-
!l && /* @__PURE__ */
|
|
26085
|
-
!C && /* @__PURE__ */
|
|
26086
|
-
d.plan && d.plan.length > 0 && /* @__PURE__ */
|
|
26084
|
+
!l && /* @__PURE__ */ w.jsxs(t7, { children: [
|
|
26085
|
+
!C && /* @__PURE__ */ w.jsx(r7, { children: "\u5F53\u524D\u4F1A\u8BDD\u672A\u8FD4\u56DE\u7ED3\u6784\u5316\u601D\u7EF4\u94FE\u6570\u636E\u3002" }),
|
|
26086
|
+
d.plan && d.plan.length > 0 && /* @__PURE__ */ w.jsx(
|
|
26087
26087
|
Xo,
|
|
26088
26088
|
{
|
|
26089
26089
|
title: pa("plan", d.plan[0].nodeStatus),
|
|
@@ -26091,7 +26091,7 @@ const V6 = Me.div.attrs({
|
|
|
26091
26091
|
mode: t
|
|
26092
26092
|
}
|
|
26093
26093
|
),
|
|
26094
|
-
d.retrieve && d.retrieve.length > 0 && /* @__PURE__ */
|
|
26094
|
+
d.retrieve && d.retrieve.length > 0 && /* @__PURE__ */ w.jsx(
|
|
26095
26095
|
Xo,
|
|
26096
26096
|
{
|
|
26097
26097
|
title: pa(
|
|
@@ -26102,7 +26102,7 @@ const V6 = Me.div.attrs({
|
|
|
26102
26102
|
mode: t
|
|
26103
26103
|
}
|
|
26104
26104
|
),
|
|
26105
|
-
d.think && d.think.length > 0 && /* @__PURE__ */
|
|
26105
|
+
d.think && d.think.length > 0 && /* @__PURE__ */ w.jsx(
|
|
26106
26106
|
Xo,
|
|
26107
26107
|
{
|
|
26108
26108
|
title: pa("think", d.think[0].nodeStatus),
|
|
@@ -26134,40 +26134,40 @@ const V6 = Me.div.attrs({
|
|
|
26134
26134
|
return d(O);
|
|
26135
26135
|
if (c) {
|
|
26136
26136
|
if (O.itemType === "dir")
|
|
26137
|
-
return /* @__PURE__ */
|
|
26137
|
+
return /* @__PURE__ */ w.jsx(gn, { type: "rag/folder", size: 16 });
|
|
26138
26138
|
if (O.itemType === "file" && O.fileType) {
|
|
26139
26139
|
const N = C(O.fileType);
|
|
26140
|
-
return /* @__PURE__ */
|
|
26140
|
+
return /* @__PURE__ */ w.jsx(gn, { type: N, size: 16 });
|
|
26141
26141
|
}
|
|
26142
|
-
return /* @__PURE__ */
|
|
26142
|
+
return /* @__PURE__ */ w.jsx(gn, { type: "rag/folder", size: 16 });
|
|
26143
26143
|
}
|
|
26144
26144
|
return null;
|
|
26145
26145
|
}, T = e.categories.filter(
|
|
26146
26146
|
(O) => O.visible !== !1
|
|
26147
26147
|
);
|
|
26148
|
-
return !T || T.length === 0 ? null : /* @__PURE__ */
|
|
26148
|
+
return !T || T.length === 0 ? null : /* @__PURE__ */ w.jsxs(
|
|
26149
26149
|
a7,
|
|
26150
26150
|
{
|
|
26151
26151
|
className: `knowledge-base-document-list ${a || ""}`,
|
|
26152
26152
|
style: l,
|
|
26153
26153
|
$theme: m,
|
|
26154
26154
|
children: [
|
|
26155
|
-
/* @__PURE__ */
|
|
26156
|
-
e.subtitle && /* @__PURE__ */
|
|
26155
|
+
/* @__PURE__ */ w.jsx(s7, { children: e.title }),
|
|
26156
|
+
e.subtitle && /* @__PURE__ */ w.jsxs(i7, { children: [
|
|
26157
26157
|
e.subtitle,
|
|
26158
26158
|
" (\u5171",
|
|
26159
26159
|
e.totalCount,
|
|
26160
26160
|
"\u4E2A):"
|
|
26161
26161
|
] }),
|
|
26162
|
-
/* @__PURE__ */
|
|
26162
|
+
/* @__PURE__ */ w.jsx(o7, { children: T.map((O, N) => /* @__PURE__ */ w.jsxs(
|
|
26163
26163
|
l7,
|
|
26164
26164
|
{
|
|
26165
26165
|
onClick: () => p(O),
|
|
26166
26166
|
$theme: m,
|
|
26167
26167
|
children: [
|
|
26168
26168
|
E(O),
|
|
26169
|
-
/* @__PURE__ */
|
|
26170
|
-
O.itemType === "dir" && /* @__PURE__ */
|
|
26169
|
+
/* @__PURE__ */ w.jsx(u7, { children: O.name }),
|
|
26170
|
+
O.itemType === "dir" && /* @__PURE__ */ w.jsxs(c7, { children: [
|
|
26171
26171
|
"(",
|
|
26172
26172
|
O.documentCount,
|
|
26173
26173
|
")"
|
|
@@ -26176,7 +26176,7 @@ const V6 = Me.div.attrs({
|
|
|
26176
26176
|
},
|
|
26177
26177
|
O.id || N
|
|
26178
26178
|
)) }),
|
|
26179
|
-
e.showViewAll !== !1 && /* @__PURE__ */
|
|
26179
|
+
e.showViewAll !== !1 && /* @__PURE__ */ w.jsx(d7, { onClick: y, $theme: m, children: e.viewAllText || "\u67E5\u770B\u5168\u90E8>>" })
|
|
26180
26180
|
]
|
|
26181
26181
|
}
|
|
26182
26182
|
);
|
|
@@ -26256,12 +26256,12 @@ function Jo(e, t, r = 18) {
|
|
|
26256
26256
|
if (rt.isValidElement(C))
|
|
26257
26257
|
return C;
|
|
26258
26258
|
if (typeof C == "string")
|
|
26259
|
-
return /* @__PURE__ */
|
|
26259
|
+
return /* @__PURE__ */ w.jsx("img", { src: C, alt: y, style: { width: r, height: r } });
|
|
26260
26260
|
}
|
|
26261
26261
|
}
|
|
26262
|
-
return /* @__PURE__ */
|
|
26262
|
+
return /* @__PURE__ */ w.jsx(gn, { type: d, size: r });
|
|
26263
26263
|
};
|
|
26264
|
-
return ["png", "jpg", "jpeg", "gif", "bmp", "webp", "svg", "ico"].includes(n) ? l("image", "rag/pic", ["png", "jpg", "jpeg"]) : n === "pdf" ? l("pdf", "rag/pdf") : ["doc", "docx"].includes(n) ? l("docx", "rag/word", ["doc"]) : ["xls", "xlsx", "xlsm", "xlsb", "xltx", "xltm", "xlt", "xlam"].includes(n) ? l("sheets", "rag/excel", ["excel", "xls", "xlsx"]) : n === "csv" ? l("csv", "rag/csv", ["sheets", "excel"]) : ["ppt", "pptx"].includes(n) ? l("pptx", "rag/ppt", ["ppt"]) : n === "txt" || n === "md" ? l("txt", "rag/txt", ["md"]) : ["zip", "rar", "7z"].includes(n) ? l("archive", "rag/zip", ["zip", "rar"]) : ["odt", "ods", "odp", "odf"].includes(n) ? l("odt", "rag/odf") : ["html", "htm", "url"].includes(n) ? l("html", "rag/url", ["htm", "url"]) : n === "json" ? l("json", "rag/json") : /* @__PURE__ */
|
|
26264
|
+
return ["png", "jpg", "jpeg", "gif", "bmp", "webp", "svg", "ico"].includes(n) ? l("image", "rag/pic", ["png", "jpg", "jpeg"]) : n === "pdf" ? l("pdf", "rag/pdf") : ["doc", "docx"].includes(n) ? l("docx", "rag/word", ["doc"]) : ["xls", "xlsx", "xlsm", "xlsb", "xltx", "xltm", "xlt", "xlam"].includes(n) ? l("sheets", "rag/excel", ["excel", "xls", "xlsx"]) : n === "csv" ? l("csv", "rag/csv", ["sheets", "excel"]) : ["ppt", "pptx"].includes(n) ? l("pptx", "rag/ppt", ["ppt"]) : n === "txt" || n === "md" ? l("txt", "rag/txt", ["md"]) : ["zip", "rar", "7z"].includes(n) ? l("archive", "rag/zip", ["zip", "rar"]) : ["odt", "ods", "odp", "odf"].includes(n) ? l("odt", "rag/odf") : ["html", "htm", "url"].includes(n) ? l("html", "rag/url", ["htm", "url"]) : n === "json" ? l("json", "rag/json") : /* @__PURE__ */ w.jsx(gn, { type: "rag/file", size: r });
|
|
26265
26265
|
}
|
|
26266
26266
|
function la(e) {
|
|
26267
26267
|
let t = [];
|
|
@@ -26739,16 +26739,16 @@ const p7 = Me.div.attrs({
|
|
|
26739
26739
|
analyzing: { text: "\u77E5\u8BC6\u89E3\u6790\u4E2D...", icon: "\u{1F50D}" },
|
|
26740
26740
|
error: { text: N || "\u62B1\u6B49\uFF0C\u672C\u6B21\u8BF7\u6C42\u51FA\u9519\u4E86\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5", icon: "\u274C" },
|
|
26741
26741
|
initializing: { text: "\u6B63\u5728\u521D\u59CB\u5316...", icon: "\u2699\uFE0F" },
|
|
26742
|
-
ready: { text: "\u601D\u8003\u5B8C\u6210", icon: /* @__PURE__ */
|
|
26742
|
+
ready: { text: "\u601D\u8003\u5B8C\u6210", icon: /* @__PURE__ */ w.jsx(gn, { type: "rag/think", size: 16 }) }
|
|
26743
26743
|
}[c] || {
|
|
26744
26744
|
text: "\u5904\u7406\u4E2D...",
|
|
26745
26745
|
icon: "\u{1F4AD}"
|
|
26746
26746
|
}, Pe = J ? `(\u7528\u65F6 ${Math.round(J / 1e3)} \u79D2)` : "";
|
|
26747
|
-
return /* @__PURE__ */
|
|
26748
|
-
/* @__PURE__ */
|
|
26749
|
-
/* @__PURE__ */
|
|
26750
|
-
Pe && /* @__PURE__ */
|
|
26751
|
-
Dn && /* @__PURE__ */
|
|
26747
|
+
return /* @__PURE__ */ w.jsx("div", { className: "think-header", children: /* @__PURE__ */ w.jsx("div", { className: "think-header-left ml-[16px]", children: /* @__PURE__ */ w.jsxs("div", { className: "flex items-center gap-x-1 bg-[#F5F7FA] p-2 rounded w-full", children: [
|
|
26748
|
+
/* @__PURE__ */ w.jsx("div", { className: "think-icon", children: Se.icon }),
|
|
26749
|
+
/* @__PURE__ */ w.jsx("div", { className: "think-title", children: Se.text }),
|
|
26750
|
+
Pe && /* @__PURE__ */ w.jsx("div", { className: "think-time", children: Pe }),
|
|
26751
|
+
Dn && /* @__PURE__ */ w.jsx(
|
|
26752
26752
|
"button",
|
|
26753
26753
|
{
|
|
26754
26754
|
className: "think-collapse-btn ml-2 cursor-pointer",
|
|
@@ -26756,7 +26756,7 @@ const p7 = Me.div.attrs({
|
|
|
26756
26756
|
onClick: () => {
|
|
26757
26757
|
ut(!kt);
|
|
26758
26758
|
},
|
|
26759
|
-
children: /* @__PURE__ */
|
|
26759
|
+
children: /* @__PURE__ */ w.jsx(
|
|
26760
26760
|
"svg",
|
|
26761
26761
|
{
|
|
26762
26762
|
width: "16",
|
|
@@ -26769,7 +26769,7 @@ const p7 = Me.div.attrs({
|
|
|
26769
26769
|
transform: kt ? "rotate(180deg)" : "rotate(0deg)",
|
|
26770
26770
|
transition: "transform 0.2s ease"
|
|
26771
26771
|
},
|
|
26772
|
-
children: /* @__PURE__ */
|
|
26772
|
+
children: /* @__PURE__ */ w.jsx("path", { d: "m18 15-6-6-6 6" })
|
|
26773
26773
|
}
|
|
26774
26774
|
)
|
|
26775
26775
|
}
|
|
@@ -26778,7 +26778,7 @@ const p7 = Me.div.attrs({
|
|
|
26778
26778
|
}, Et = () => {
|
|
26779
26779
|
if (!de || Ee === "v1" || m || !Kt.length) return null;
|
|
26780
26780
|
const B = re !== void 0 ? re === 4 ? 4 : 2 : c === "ready" ? 2 : 1, Se = P === 0;
|
|
26781
|
-
return /* @__PURE__ */
|
|
26781
|
+
return /* @__PURE__ */ w.jsx("div", { className: "thought-chain-wrapper ml-[16px] mr-[16px] mt-2", children: /* @__PURE__ */ w.jsx(
|
|
26782
26782
|
T1,
|
|
26783
26783
|
{
|
|
26784
26784
|
mode: a === "stream" ? "live" : "history",
|
|
@@ -26923,11 +26923,11 @@ const p7 = Me.div.attrs({
|
|
|
26923
26923
|
B.replacePredataFunction(Se);
|
|
26924
26924
|
}
|
|
26925
26925
|
pe?.("rtext_pagination_click", B);
|
|
26926
|
-
}, wr = $t(/* @__PURE__ */ new Map()),
|
|
26926
|
+
}, wr = $t(/* @__PURE__ */ new Map()), Br = $t(1), yn = $t(""), sn = $t({ 0: 1, 1: 1, 2: 1, 3: 1 }), Ct = it(() => {
|
|
26927
26927
|
if (typeof n == "string") {
|
|
26928
26928
|
let B = n;
|
|
26929
26929
|
const Se = [];
|
|
26930
|
-
return oe && oe !== yn.current && (wr.current.clear(),
|
|
26930
|
+
return oe && oe !== yn.current && (wr.current.clear(), Br.current = 1, sn.current = { 0: 1, 1: 1, 2: 1, 3: 1 }, yn.current = oe), a === "stream" && (B = B.replace(
|
|
26931
26931
|
/\[retrive-tag([^\]]*)\]\[([^\]]+)\]\[\/retrive-tag\]/g,
|
|
26932
26932
|
(Pe, ke) => {
|
|
26933
26933
|
const be = ke.match(/id=['"]([^'"]+)['"]/), Ce = ke.match(/fromType=['"]([^'"]+)['"]/);
|
|
@@ -27081,18 +27081,18 @@ const p7 = Me.div.attrs({
|
|
|
27081
27081
|
onClick: () => pe?.("chatbox:edit", { content: $r, queryId: oe })
|
|
27082
27082
|
}
|
|
27083
27083
|
];
|
|
27084
|
-
return /* @__PURE__ */
|
|
27085
|
-
/* @__PURE__ */
|
|
27084
|
+
return /* @__PURE__ */ w.jsxs("div", { style: { padding: "0 2.9rem" }, className: "flex justify-between items-center", children: [
|
|
27085
|
+
/* @__PURE__ */ w.jsx(b7, { $theme: ue, children: B.filter((Se) => Se.show).map((Se) => {
|
|
27086
27086
|
const Pe = Se.icon;
|
|
27087
|
-
return /* @__PURE__ */
|
|
27087
|
+
return /* @__PURE__ */ w.jsx(Gh, { title: Se.label, placement: "top", children: /* @__PURE__ */ w.jsx("button", { className: Se.active ? "active" : "", onClick: Se.onClick, children: /* @__PURE__ */ w.jsx(Pe, { size: 18 }) }) }, Se.key);
|
|
27088
27088
|
}) }),
|
|
27089
|
-
!m && c == "ready" && !ee && /* @__PURE__ */
|
|
27089
|
+
!m && c == "ready" && !ee && /* @__PURE__ */ w.jsxs("div", { className: "text-[10px] text-[#888888]", children: [
|
|
27090
27090
|
"\u672C\u6B21\u56DE\u7B54\u603B\u8BA1\u6D88\u8017 ",
|
|
27091
|
-
/* @__PURE__ */
|
|
27091
|
+
/* @__PURE__ */ w.jsx("span", { style: { color: ue.colors.primary }, children: Y || 0 }),
|
|
27092
27092
|
" ",
|
|
27093
27093
|
"tokens, \u7B49\u5F85\u603B\u8BA1\u8017\u65F6",
|
|
27094
27094
|
" ",
|
|
27095
|
-
/* @__PURE__ */
|
|
27095
|
+
/* @__PURE__ */ w.jsx("span", { style: { color: ue.colors.primary }, children: Math.round((J || 0) / 1e3) }),
|
|
27096
27096
|
"\u79D2"
|
|
27097
27097
|
] })
|
|
27098
27098
|
] });
|
|
@@ -27321,7 +27321,7 @@ const p7 = Me.div.attrs({
|
|
|
27321
27321
|
}, [L, _t, Ct, ar]), k = it(() => {
|
|
27322
27322
|
const Pe = [...la(_t || []).filter((ke) => ke.imageUrls && Array.isArray(ke.imageUrls)).flatMap((ke) => ke.imageUrls), ...Le];
|
|
27323
27323
|
return Array.from(new Set(Pe));
|
|
27324
|
-
}, [_t, Le]),
|
|
27324
|
+
}, [_t, Le]), x = it(() => typeof n != "string" ? [] : f7(n), [n]), we = it(() => Array.from(/* @__PURE__ */ new Set([...k || [], ...x || []])), [k, x]), se = it(() => {
|
|
27325
27325
|
if (!H) return null;
|
|
27326
27326
|
try {
|
|
27327
27327
|
const B = typeof H == "string" ? JSON.parse(H) : H;
|
|
@@ -27543,7 +27543,7 @@ const p7 = Me.div.attrs({
|
|
|
27543
27543
|
Z.toLowerCase()
|
|
27544
27544
|
);
|
|
27545
27545
|
}), be = Pe.filter(Se), Ce = Pe.filter((fe) => !Se(fe)), ze = ke.filter(Se), et = ke.filter((fe) => !Se(fe));
|
|
27546
|
-
return ze.length + et.length, /* @__PURE__ */
|
|
27546
|
+
return ze.length + et.length, /* @__PURE__ */ w.jsxs(
|
|
27547
27547
|
"div",
|
|
27548
27548
|
{
|
|
27549
27549
|
className: "mt-4 mb-4",
|
|
@@ -27556,7 +27556,7 @@ const p7 = Me.div.attrs({
|
|
|
27556
27556
|
alignItems: m ? "flex-end" : "flex-start"
|
|
27557
27557
|
},
|
|
27558
27558
|
children: [
|
|
27559
|
-
(be.length > 0 || Ce.length > 0) && /* @__PURE__ */
|
|
27559
|
+
(be.length > 0 || Ce.length > 0) && /* @__PURE__ */ w.jsx(Zo, { $theme: ue, children: /* @__PURE__ */ w.jsxs(
|
|
27560
27560
|
"div",
|
|
27561
27561
|
{
|
|
27562
27562
|
className: "gallery-grid",
|
|
@@ -27565,7 +27565,7 @@ const p7 = Me.div.attrs({
|
|
|
27565
27565
|
// 从右到左排列
|
|
27566
27566
|
},
|
|
27567
27567
|
children: [
|
|
27568
|
-
Ce.map((fe, Z) => /* @__PURE__ */
|
|
27568
|
+
Ce.map((fe, Z) => /* @__PURE__ */ w.jsx(
|
|
27569
27569
|
"div",
|
|
27570
27570
|
{
|
|
27571
27571
|
className: "gallery-item",
|
|
@@ -27575,7 +27575,7 @@ const p7 = Me.div.attrs({
|
|
|
27575
27575
|
alignItems: "center",
|
|
27576
27576
|
justifyContent: "center"
|
|
27577
27577
|
},
|
|
27578
|
-
children: /* @__PURE__ */
|
|
27578
|
+
children: /* @__PURE__ */ w.jsx(
|
|
27579
27579
|
"div",
|
|
27580
27580
|
{
|
|
27581
27581
|
className: "animate-spin",
|
|
@@ -27591,7 +27591,7 @@ const p7 = Me.div.attrs({
|
|
|
27591
27591
|
},
|
|
27592
27592
|
`pending-img-${Z}`
|
|
27593
27593
|
)),
|
|
27594
|
-
be.map((fe) => /* @__PURE__ */
|
|
27594
|
+
be.map((fe) => /* @__PURE__ */ w.jsxs(
|
|
27595
27595
|
"div",
|
|
27596
27596
|
{
|
|
27597
27597
|
className: "gallery-item",
|
|
@@ -27614,7 +27614,7 @@ const p7 = Me.div.attrs({
|
|
|
27614
27614
|
});
|
|
27615
27615
|
},
|
|
27616
27616
|
children: [
|
|
27617
|
-
/* @__PURE__ */
|
|
27617
|
+
/* @__PURE__ */ w.jsx(
|
|
27618
27618
|
Ko,
|
|
27619
27619
|
{
|
|
27620
27620
|
src: fe.url || fe.filePath,
|
|
@@ -27625,7 +27625,7 @@ const p7 = Me.div.attrs({
|
|
|
27625
27625
|
eventsEmit: vt
|
|
27626
27626
|
}
|
|
27627
27627
|
),
|
|
27628
|
-
/* @__PURE__ */
|
|
27628
|
+
/* @__PURE__ */ w.jsx("div", { className: "gallery-overlay", children: fe.name })
|
|
27629
27629
|
]
|
|
27630
27630
|
},
|
|
27631
27631
|
fe.uid || fe.name
|
|
@@ -27633,7 +27633,7 @@ const p7 = Me.div.attrs({
|
|
|
27633
27633
|
]
|
|
27634
27634
|
}
|
|
27635
27635
|
) }),
|
|
27636
|
-
(ze.length > 0 || et.length > 0) && /* @__PURE__ */
|
|
27636
|
+
(ze.length > 0 || et.length > 0) && /* @__PURE__ */ w.jsx(
|
|
27637
27637
|
"div",
|
|
27638
27638
|
{
|
|
27639
27639
|
style: {
|
|
@@ -27643,7 +27643,7 @@ const p7 = Me.div.attrs({
|
|
|
27643
27643
|
alignItems: m ? "flex-end" : "flex-start",
|
|
27644
27644
|
width: "100%"
|
|
27645
27645
|
},
|
|
27646
|
-
children: /* @__PURE__ */
|
|
27646
|
+
children: /* @__PURE__ */ w.jsxs(
|
|
27647
27647
|
"div",
|
|
27648
27648
|
{
|
|
27649
27649
|
style: {
|
|
@@ -27661,12 +27661,12 @@ const p7 = Me.div.attrs({
|
|
|
27661
27661
|
children: [
|
|
27662
27662
|
et.map((fe, Z) => {
|
|
27663
27663
|
const He = (fe.name || "").split(".").pop() || "", Qe = Jo(He, g, 18);
|
|
27664
|
-
return /* @__PURE__ */
|
|
27664
|
+
return /* @__PURE__ */ w.jsxs(
|
|
27665
27665
|
"div",
|
|
27666
27666
|
{
|
|
27667
27667
|
className: "group gap-x-3 items-center file-display-card relative flex w-[240px] bg-white border border-gray-200 rounded-lg shadow-sm px-3 py-2.5 transition-all",
|
|
27668
27668
|
children: [
|
|
27669
|
-
/* @__PURE__ */
|
|
27669
|
+
/* @__PURE__ */ w.jsx(
|
|
27670
27670
|
"div",
|
|
27671
27671
|
{
|
|
27672
27672
|
className: "pt-0.5 flex-shrink-0",
|
|
@@ -27677,11 +27677,11 @@ const p7 = Me.div.attrs({
|
|
|
27677
27677
|
alignItems: "center",
|
|
27678
27678
|
justifyContent: "center"
|
|
27679
27679
|
},
|
|
27680
|
-
children: /* @__PURE__ */
|
|
27680
|
+
children: /* @__PURE__ */ w.jsx("div", { style: { transform: "scale(1.2)", transformOrigin: "center" }, children: Qe })
|
|
27681
27681
|
}
|
|
27682
27682
|
),
|
|
27683
|
-
/* @__PURE__ */
|
|
27684
|
-
/* @__PURE__ */
|
|
27683
|
+
/* @__PURE__ */ w.jsx("div", { className: "flex-1 min-w-0 flex flex-col justify-center", children: /* @__PURE__ */ w.jsxs("div", { className: "flex items-center justify-between gap-1.5", children: [
|
|
27684
|
+
/* @__PURE__ */ w.jsx(
|
|
27685
27685
|
"div",
|
|
27686
27686
|
{
|
|
27687
27687
|
style: {
|
|
@@ -27692,7 +27692,7 @@ const p7 = Me.div.attrs({
|
|
|
27692
27692
|
}
|
|
27693
27693
|
}
|
|
27694
27694
|
),
|
|
27695
|
-
/* @__PURE__ */
|
|
27695
|
+
/* @__PURE__ */ w.jsx(
|
|
27696
27696
|
"div",
|
|
27697
27697
|
{
|
|
27698
27698
|
style: {
|
|
@@ -27711,7 +27711,7 @@ const p7 = Me.div.attrs({
|
|
|
27711
27711
|
}),
|
|
27712
27712
|
ze.map((fe) => {
|
|
27713
27713
|
const Z = (fe.name || "").split(".").pop() || "", He = fe.size ?? fe.file?.size ?? fe.fileSize, Qe = B(He), Ue = Jo(Z, g, 18);
|
|
27714
|
-
return /* @__PURE__ */
|
|
27714
|
+
return /* @__PURE__ */ w.jsxs(
|
|
27715
27715
|
"div",
|
|
27716
27716
|
{
|
|
27717
27717
|
className: "group gap-x-3 items-center file-display-card relative flex w-[240px] min-h-[56px] bg-white border border-gray-200 rounded-lg shadow-sm px-3 py-2.5 transition-all hover:shadow-md hover:border-blue-300",
|
|
@@ -27738,7 +27738,7 @@ const p7 = Me.div.attrs({
|
|
|
27738
27738
|
});
|
|
27739
27739
|
},
|
|
27740
27740
|
children: [
|
|
27741
|
-
/* @__PURE__ */
|
|
27741
|
+
/* @__PURE__ */ w.jsx(
|
|
27742
27742
|
"div",
|
|
27743
27743
|
{
|
|
27744
27744
|
style: {
|
|
@@ -27748,7 +27748,7 @@ const p7 = Me.div.attrs({
|
|
|
27748
27748
|
alignItems: "center",
|
|
27749
27749
|
justifyContent: "center"
|
|
27750
27750
|
},
|
|
27751
|
-
children: /* @__PURE__ */
|
|
27751
|
+
children: /* @__PURE__ */ w.jsx(
|
|
27752
27752
|
"div",
|
|
27753
27753
|
{
|
|
27754
27754
|
style: {
|
|
@@ -27761,8 +27761,8 @@ const p7 = Me.div.attrs({
|
|
|
27761
27761
|
)
|
|
27762
27762
|
}
|
|
27763
27763
|
),
|
|
27764
|
-
/* @__PURE__ */
|
|
27765
|
-
/* @__PURE__ */
|
|
27764
|
+
/* @__PURE__ */ w.jsxs("div", { className: "flex-1 min-w-0 flex flex-col justify-center", children: [
|
|
27765
|
+
/* @__PURE__ */ w.jsx("div", { className: "flex", children: /* @__PURE__ */ w.jsx("div", { className: "flex items-center justify-between gap-1.5", children: /* @__PURE__ */ w.jsx(
|
|
27766
27766
|
"span",
|
|
27767
27767
|
{
|
|
27768
27768
|
className: "text-[13px] font-medium truncate max-w-[140px]",
|
|
@@ -27770,7 +27770,7 @@ const p7 = Me.div.attrs({
|
|
|
27770
27770
|
children: fe.name
|
|
27771
27771
|
}
|
|
27772
27772
|
) }) }),
|
|
27773
|
-
/* @__PURE__ */
|
|
27773
|
+
/* @__PURE__ */ w.jsx("div", { className: " text-[12px] text-gray-400 whitespace-nowrap", children: Qe })
|
|
27774
27774
|
] })
|
|
27775
27775
|
]
|
|
27776
27776
|
},
|
|
@@ -27851,7 +27851,7 @@ const p7 = Me.div.attrs({
|
|
|
27851
27851
|
}, sr = () => {
|
|
27852
27852
|
if (m) return null;
|
|
27853
27853
|
const B = st();
|
|
27854
|
-
return B ? /* @__PURE__ */
|
|
27854
|
+
return B ? /* @__PURE__ */ w.jsx(
|
|
27855
27855
|
n7,
|
|
27856
27856
|
{
|
|
27857
27857
|
data: B,
|
|
@@ -27900,8 +27900,8 @@ const p7 = Me.div.attrs({
|
|
|
27900
27900
|
return console.log("[ChatMessageAdapter] hasAny \u4E3A false\uFF0C\u4E0D\u6E32\u67D3\u5F15\u7528"), null;
|
|
27901
27901
|
const Z = ke && B?.length || 0, He = be && Se?.length || 0, Qe = Ce && Pe?.length || 0, Ue = et && Ot?.length || 0;
|
|
27902
27902
|
let ft = Z + He + Qe + Ue;
|
|
27903
|
-
return ft === 0 && ze && (ft = 1), /* @__PURE__ */
|
|
27904
|
-
ze && /* @__PURE__ */
|
|
27903
|
+
return ft === 0 && ze && (ft = 1), /* @__PURE__ */ w.jsxs(w.Fragment, { children: [
|
|
27904
|
+
ze && /* @__PURE__ */ w.jsx(Zo, { $theme: ue, children: /* @__PURE__ */ w.jsx("div", { className: "gallery-grid", children: we.map((Ge, Gt) => /* @__PURE__ */ w.jsxs(
|
|
27905
27905
|
"div",
|
|
27906
27906
|
{
|
|
27907
27907
|
className: "gallery-item",
|
|
@@ -27918,7 +27918,7 @@ const p7 = Me.div.attrs({
|
|
|
27918
27918
|
});
|
|
27919
27919
|
},
|
|
27920
27920
|
children: [
|
|
27921
|
-
/* @__PURE__ */
|
|
27921
|
+
/* @__PURE__ */ w.jsx(
|
|
27922
27922
|
Ko,
|
|
27923
27923
|
{
|
|
27924
27924
|
src: Ge,
|
|
@@ -27929,7 +27929,7 @@ const p7 = Me.div.attrs({
|
|
|
27929
27929
|
eventsEmit: vt
|
|
27930
27930
|
}
|
|
27931
27931
|
),
|
|
27932
|
-
/* @__PURE__ */
|
|
27932
|
+
/* @__PURE__ */ w.jsxs("div", { className: "gallery-overlay", children: [
|
|
27933
27933
|
"\u56FE",
|
|
27934
27934
|
Gt + 1
|
|
27935
27935
|
] })
|
|
@@ -27937,7 +27937,7 @@ const p7 = Me.div.attrs({
|
|
|
27937
27937
|
},
|
|
27938
27938
|
Ge + Gt
|
|
27939
27939
|
)) }) }),
|
|
27940
|
-
/* @__PURE__ */
|
|
27940
|
+
/* @__PURE__ */ w.jsx("div", { style: { padding: "6px 2.9rem" }, children: /* @__PURE__ */ w.jsxs(
|
|
27941
27941
|
"button",
|
|
27942
27942
|
{
|
|
27943
27943
|
style: { cursor: "pointer", color: ue.colors?.textDisabled || "#86909C" },
|
|
@@ -27953,19 +27953,19 @@ const p7 = Me.div.attrs({
|
|
|
27953
27953
|
Ge.currentTarget.style.color = ue.colors?.textDisabled || "#86909C";
|
|
27954
27954
|
},
|
|
27955
27955
|
children: [
|
|
27956
|
-
/* @__PURE__ */
|
|
27957
|
-
/* @__PURE__ */
|
|
27956
|
+
/* @__PURE__ */ w.jsx(x6, { size: 16 }),
|
|
27957
|
+
/* @__PURE__ */ w.jsxs("span", { children: [
|
|
27958
27958
|
"\u77E5\u8BC6\u6EAF\u6E90",
|
|
27959
27959
|
ft ? ` ${ft}` : ""
|
|
27960
27960
|
] }),
|
|
27961
|
-
/* @__PURE__ */
|
|
27961
|
+
/* @__PURE__ */ w.jsx(m6, { size: 16 })
|
|
27962
27962
|
]
|
|
27963
27963
|
}
|
|
27964
27964
|
) })
|
|
27965
27965
|
] });
|
|
27966
27966
|
}
|
|
27967
|
-
return fe ? /* @__PURE__ */
|
|
27968
|
-
ze && /* @__PURE__ */
|
|
27967
|
+
return fe ? /* @__PURE__ */ w.jsxs(w.Fragment, { children: [
|
|
27968
|
+
ze && /* @__PURE__ */ w.jsx(Zo, { $theme: ue, children: /* @__PURE__ */ w.jsx("div", { className: "gallery-grid", children: we.map((Z, He) => /* @__PURE__ */ w.jsxs(
|
|
27969
27969
|
"div",
|
|
27970
27970
|
{
|
|
27971
27971
|
className: "gallery-item",
|
|
@@ -27982,7 +27982,7 @@ const p7 = Me.div.attrs({
|
|
|
27982
27982
|
});
|
|
27983
27983
|
},
|
|
27984
27984
|
children: [
|
|
27985
|
-
/* @__PURE__ */
|
|
27985
|
+
/* @__PURE__ */ w.jsx(
|
|
27986
27986
|
Ko,
|
|
27987
27987
|
{
|
|
27988
27988
|
src: Z,
|
|
@@ -27993,7 +27993,7 @@ const p7 = Me.div.attrs({
|
|
|
27993
27993
|
eventsEmit: vt
|
|
27994
27994
|
}
|
|
27995
27995
|
),
|
|
27996
|
-
/* @__PURE__ */
|
|
27996
|
+
/* @__PURE__ */ w.jsxs("div", { className: "gallery-overlay", children: [
|
|
27997
27997
|
"\u56FE",
|
|
27998
27998
|
He + 1
|
|
27999
27999
|
] })
|
|
@@ -28001,30 +28001,30 @@ const p7 = Me.div.attrs({
|
|
|
28001
28001
|
},
|
|
28002
28002
|
Z + He
|
|
28003
28003
|
)) }) }),
|
|
28004
|
-
ke && /* @__PURE__ */
|
|
28005
|
-
/* @__PURE__ */
|
|
28006
|
-
/* @__PURE__ */
|
|
28007
|
-
/* @__PURE__ */
|
|
28008
|
-
B.length > 2 && /* @__PURE__ */
|
|
28004
|
+
ke && /* @__PURE__ */ w.jsxs(Ls, { $theme: ue, children: [
|
|
28005
|
+
/* @__PURE__ */ w.jsx("div", { className: "reference-title justify-between items-center flex", children: /* @__PURE__ */ w.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
28006
|
+
/* @__PURE__ */ w.jsx("span", { className: "text-[#374151]", children: "\u77E5\u8BC6\u5E93\u6587\u6863\u5F15\u7528" }),
|
|
28007
|
+
/* @__PURE__ */ w.jsx("span", { className: "text-[#b4b4b4] text-xs", children: ` (${B.length})` }),
|
|
28008
|
+
B.length > 2 && /* @__PURE__ */ w.jsx(
|
|
28009
28009
|
"div",
|
|
28010
28010
|
{
|
|
28011
28011
|
onClick: () => Ye(!Ie),
|
|
28012
28012
|
className: "cursor-pointer hover:text-[#86909C] transition-colors",
|
|
28013
|
-
children: Ie ? /* @__PURE__ */
|
|
28013
|
+
children: Ie ? /* @__PURE__ */ w.jsx(_a, { size: 16, className: "text-[#b4b4b4]" }) : /* @__PURE__ */ w.jsx(da, { size: 16, className: "text-[#b4b4b4]" })
|
|
28014
28014
|
}
|
|
28015
28015
|
)
|
|
28016
28016
|
] }) }),
|
|
28017
|
-
/* @__PURE__ */
|
|
28018
|
-
(Z, He) => Z && /* @__PURE__ */
|
|
28017
|
+
/* @__PURE__ */ w.jsx("div", { className: "reference-list", children: (Ie ? B : B.slice(0, 2)).map(
|
|
28018
|
+
(Z, He) => Z && /* @__PURE__ */ w.jsx(
|
|
28019
28019
|
"div",
|
|
28020
28020
|
{
|
|
28021
28021
|
className: "reference-item",
|
|
28022
|
-
children: /* @__PURE__ */
|
|
28023
|
-
/* @__PURE__ */
|
|
28022
|
+
children: /* @__PURE__ */ w.jsxs("div", { className: "file-info flex items-end gap-2", children: [
|
|
28023
|
+
/* @__PURE__ */ w.jsx("div", { className: "flex-shrink-0", children: (() => {
|
|
28024
28024
|
const Qe = Z.file_type || (Z.file_name || "").split(".").pop() || "pdf", Ue = (Z.file_name || "").split(".").pop() || "file";
|
|
28025
|
-
return Qe === "video" || ["mp4", "avi", "mov", "wmv", "flv", "webm", "mkv"].includes(Qe) ? /* @__PURE__ */
|
|
28025
|
+
return Qe === "video" || ["mp4", "avi", "mov", "wmv", "flv", "webm", "mkv"].includes(Qe) ? /* @__PURE__ */ w.jsx("div", { className: "w-6 h-6 rounded flex items-center justify-center bg-red-100", children: /* @__PURE__ */ w.jsx(S1, { size: 16, className: "text-red-600" }) }) : /* @__PURE__ */ w.jsx("div", { className: "w-6 h-6 rounded flex items-center justify-center", children: Jo(Ue, g, 16) });
|
|
28026
28026
|
})() }),
|
|
28027
|
-
/* @__PURE__ */
|
|
28027
|
+
/* @__PURE__ */ w.jsx("div", { className: "flex-1 min-w-0", children: /* @__PURE__ */ w.jsx(
|
|
28028
28028
|
"div",
|
|
28029
28029
|
{
|
|
28030
28030
|
className: "text-sm w-[250px] font-medium text-gray-900 truncate hover:text-blue-600 cursor-pointer",
|
|
@@ -28042,7 +28042,7 @@ const p7 = Me.div.attrs({
|
|
|
28042
28042
|
children: Z.file_name
|
|
28043
28043
|
}
|
|
28044
28044
|
) }),
|
|
28045
|
-
/* @__PURE__ */
|
|
28045
|
+
/* @__PURE__ */ w.jsx("div", { className: "flex items-center gap-1", children: (() => {
|
|
28046
28046
|
const Qe = /* @__PURE__ */ new Set(), Ue = (Z.tags || []).filter((Ge) => Qe.has(Ge.id) ? !1 : (Qe.add(Ge.id), !0)).sort((Ge, Gt) => Number(Ge.index) - Number(Gt.index)), ft = (Ge) => {
|
|
28047
28047
|
if (typeof Ct != "string") return Ge;
|
|
28048
28048
|
const dr = new RegExp(
|
|
@@ -28051,7 +28051,7 @@ const p7 = Me.div.attrs({
|
|
|
28051
28051
|
).exec(Ct);
|
|
28052
28052
|
return dr ? dr[1] : Ge;
|
|
28053
28053
|
};
|
|
28054
|
-
return Ue.slice(0, 10).map((Ge) => /* @__PURE__ */
|
|
28054
|
+
return Ue.slice(0, 10).map((Ge) => /* @__PURE__ */ w.jsx(
|
|
28055
28055
|
"span",
|
|
28056
28056
|
{
|
|
28057
28057
|
className: "w-6 h-6 bg-[#e6f7ff] text-[#1890ff] rounded text-xs font-medium flex items-center justify-center cursor-pointer hover:bg-orange-200 transition-colors",
|
|
@@ -28070,12 +28070,12 @@ const p7 = Me.div.attrs({
|
|
|
28070
28070
|
Ge.id
|
|
28071
28071
|
));
|
|
28072
28072
|
})() }),
|
|
28073
|
-
typeof Z.score == "number" && /* @__PURE__ */
|
|
28073
|
+
typeof Z.score == "number" && /* @__PURE__ */ w.jsxs("div", { className: "text-sm text-gray-600", children: [
|
|
28074
28074
|
"\u5206\u6570: ",
|
|
28075
28075
|
Number(Z.score).toFixed(2)
|
|
28076
28076
|
] }),
|
|
28077
|
-
Z.file_type !== "video" && /* @__PURE__ */
|
|
28078
|
-
/* @__PURE__ */
|
|
28077
|
+
Z.file_type !== "video" && /* @__PURE__ */ w.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
28078
|
+
/* @__PURE__ */ w.jsx(
|
|
28079
28079
|
y6,
|
|
28080
28080
|
{
|
|
28081
28081
|
size: 16,
|
|
@@ -28094,8 +28094,8 @@ const p7 = Me.div.attrs({
|
|
|
28094
28094
|
}
|
|
28095
28095
|
}
|
|
28096
28096
|
),
|
|
28097
|
-
/* @__PURE__ */
|
|
28098
|
-
/* @__PURE__ */
|
|
28097
|
+
/* @__PURE__ */ w.jsx("div", { className: "w-px h-4 bg-gray-300" }),
|
|
28098
|
+
/* @__PURE__ */ w.jsx(
|
|
28099
28099
|
w6,
|
|
28100
28100
|
{
|
|
28101
28101
|
size: 16,
|
|
@@ -28120,27 +28120,27 @@ const p7 = Me.div.attrs({
|
|
|
28120
28120
|
)
|
|
28121
28121
|
) })
|
|
28122
28122
|
] }),
|
|
28123
|
-
et && /* @__PURE__ */
|
|
28124
|
-
/* @__PURE__ */
|
|
28125
|
-
/* @__PURE__ */
|
|
28126
|
-
/* @__PURE__ */
|
|
28127
|
-
Ot.length > 2 && /* @__PURE__ */
|
|
28123
|
+
et && /* @__PURE__ */ w.jsxs(Ls, { $theme: ue, children: [
|
|
28124
|
+
/* @__PURE__ */ w.jsx("div", { className: "reference-title justify-between items-center flex", children: /* @__PURE__ */ w.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
28125
|
+
/* @__PURE__ */ w.jsx("span", { className: "text-[#374151]", children: "\u6570\u636E\u5E93\u5F15\u7528" }),
|
|
28126
|
+
/* @__PURE__ */ w.jsx("span", { className: "text-[#b4b4b4] text-xs", children: ` (${Ot.length || 0})` }),
|
|
28127
|
+
Ot.length > 2 && /* @__PURE__ */ w.jsx(
|
|
28128
28128
|
"div",
|
|
28129
28129
|
{
|
|
28130
28130
|
onClick: () => Dt(!dt),
|
|
28131
28131
|
className: "cursor-pointer hover:text-[#86909C] transition-colors",
|
|
28132
|
-
children: dt ? /* @__PURE__ */
|
|
28132
|
+
children: dt ? /* @__PURE__ */ w.jsx(_a, { size: 16, className: "text-[#b4b4b4]" }) : /* @__PURE__ */ w.jsx(da, { size: 16, className: "text-[#b4b4b4]" })
|
|
28133
28133
|
}
|
|
28134
28134
|
)
|
|
28135
28135
|
] }) }),
|
|
28136
|
-
/* @__PURE__ */
|
|
28137
|
-
(Z, He) => /* @__PURE__ */
|
|
28136
|
+
/* @__PURE__ */ w.jsx("div", { className: "reference-list", children: (dt ? Ot : Ot.slice(0, 2)).map(
|
|
28137
|
+
(Z, He) => /* @__PURE__ */ w.jsx(
|
|
28138
28138
|
"div",
|
|
28139
28139
|
{
|
|
28140
28140
|
className: "reference-item",
|
|
28141
|
-
children: /* @__PURE__ */
|
|
28142
|
-
/* @__PURE__ */
|
|
28143
|
-
/* @__PURE__ */
|
|
28141
|
+
children: /* @__PURE__ */ w.jsxs("div", { className: "file-info flex items-end gap-2", children: [
|
|
28142
|
+
/* @__PURE__ */ w.jsx("div", { className: "flex-shrink-0", children: /* @__PURE__ */ w.jsx("div", { className: "w-6 h-6 rounded flex items-center justify-center", children: /* @__PURE__ */ w.jsx(b6, { size: 20, className: "text-blue-600" }) }) }),
|
|
28143
|
+
/* @__PURE__ */ w.jsx("div", { className: "flex-1 min-w-0", children: /* @__PURE__ */ w.jsx(
|
|
28144
28144
|
"div",
|
|
28145
28145
|
{
|
|
28146
28146
|
className: "text-sm w-[250px] font-medium text-gray-900 truncate hover:text-blue-600 cursor-pointer",
|
|
@@ -28166,12 +28166,12 @@ const p7 = Me.div.attrs({
|
|
|
28166
28166
|
children: Xe(Z)
|
|
28167
28167
|
}
|
|
28168
28168
|
) }),
|
|
28169
|
-
/* @__PURE__ */
|
|
28169
|
+
/* @__PURE__ */ w.jsx("div", { className: "flex items-center gap-1", children: (Array.isArray(Z.tags) && Z.tags.length ? Z.tags : [
|
|
28170
28170
|
{
|
|
28171
28171
|
id: Z.referenceId || `database-${He}`,
|
|
28172
28172
|
index: Z.referenceIndex ?? He + 1
|
|
28173
28173
|
}
|
|
28174
|
-
]).map((Ue) => /* @__PURE__ */
|
|
28174
|
+
]).map((Ue) => /* @__PURE__ */ w.jsx(
|
|
28175
28175
|
"span",
|
|
28176
28176
|
{
|
|
28177
28177
|
className: "w-6 h-6 bg-orange-100 text-orange-600 rounded text-xs font-medium flex items-center justify-center cursor-pointer hover:bg-orange-200 transition-colors",
|
|
@@ -28179,7 +28179,7 @@ const p7 = Me.div.attrs({
|
|
|
28179
28179
|
},
|
|
28180
28180
|
`${Ue.id || "database"}-${Ue.index}`
|
|
28181
28181
|
)) }),
|
|
28182
|
-
typeof Z.score == "number" && /* @__PURE__ */
|
|
28182
|
+
typeof Z.score == "number" && /* @__PURE__ */ w.jsxs("div", { className: "text-sm text-gray-600", children: [
|
|
28183
28183
|
"\u5206\u6570: ",
|
|
28184
28184
|
Number(Z.score).toFixed(2)
|
|
28185
28185
|
] })
|
|
@@ -28189,26 +28189,26 @@ const p7 = Me.div.attrs({
|
|
|
28189
28189
|
)
|
|
28190
28190
|
) })
|
|
28191
28191
|
] }),
|
|
28192
|
-
be && /* @__PURE__ */
|
|
28193
|
-
/* @__PURE__ */
|
|
28194
|
-
/* @__PURE__ */
|
|
28195
|
-
/* @__PURE__ */
|
|
28196
|
-
Se.length > 2 && /* @__PURE__ */
|
|
28192
|
+
be && /* @__PURE__ */ w.jsxs(Ls, { $theme: ue, children: [
|
|
28193
|
+
/* @__PURE__ */ w.jsx("div", { className: "reference-title justify-between items-center flex", children: /* @__PURE__ */ w.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
28194
|
+
/* @__PURE__ */ w.jsx("span", { className: "text-[#374151]", children: "\u4E92\u8054\u7F51\u641C\u7D22\u5F15\u7528" }),
|
|
28195
|
+
/* @__PURE__ */ w.jsx("span", { className: "text-[#b4b4b4] text-xs", children: ` (${Se.length})` }),
|
|
28196
|
+
Se.length > 2 && /* @__PURE__ */ w.jsx(
|
|
28197
28197
|
"div",
|
|
28198
28198
|
{
|
|
28199
28199
|
onClick: () => lt(!at),
|
|
28200
28200
|
className: "cursor-pointer hover:text-[#86909C] transition-colors",
|
|
28201
|
-
children: at ? /* @__PURE__ */
|
|
28201
|
+
children: at ? /* @__PURE__ */ w.jsx(_a, { size: 16, className: "text-[#b4b4b4]" }) : /* @__PURE__ */ w.jsx(da, { size: 16, className: "text-[#b4b4b4]" })
|
|
28202
28202
|
}
|
|
28203
28203
|
)
|
|
28204
28204
|
] }) }),
|
|
28205
|
-
/* @__PURE__ */
|
|
28205
|
+
/* @__PURE__ */ w.jsx("div", { className: "reference-list", children: (at ? Se : Se.slice(0, 2)).map((Z, He) => /* @__PURE__ */ w.jsx(
|
|
28206
28206
|
"div",
|
|
28207
28207
|
{
|
|
28208
28208
|
className: "reference-item",
|
|
28209
|
-
children: /* @__PURE__ */
|
|
28210
|
-
/* @__PURE__ */
|
|
28211
|
-
/* @__PURE__ */
|
|
28209
|
+
children: /* @__PURE__ */ w.jsxs("div", { className: "file-info flex items-end gap-2", children: [
|
|
28210
|
+
/* @__PURE__ */ w.jsx("div", { className: "flex-shrink-0", children: /* @__PURE__ */ w.jsx("div", { className: "w-6 h-6 rounded-full flex items-center justify-center", children: /* @__PURE__ */ w.jsx(gn, { type: "rag/netretrive", size: 32, className: "text-green-600" }) }) }),
|
|
28211
|
+
/* @__PURE__ */ w.jsx("div", { className: "flex-1 min-w-0", children: /* @__PURE__ */ w.jsx(
|
|
28212
28212
|
"div",
|
|
28213
28213
|
{
|
|
28214
28214
|
className: "text-sm w-[250px] font-medium text-gray-900 truncate hover:text-blue-600 cursor-pointer",
|
|
@@ -28234,7 +28234,7 @@ const p7 = Me.div.attrs({
|
|
|
28234
28234
|
children: Z.file_name
|
|
28235
28235
|
}
|
|
28236
28236
|
) }),
|
|
28237
|
-
/* @__PURE__ */
|
|
28237
|
+
/* @__PURE__ */ w.jsx("div", { className: "flex items-center gap-1", children: (() => {
|
|
28238
28238
|
const Qe = /* @__PURE__ */ new Set(), Ue = (Z.tags || []).filter((Ge) => Qe.has(Ge.id) ? !1 : (Qe.add(Ge.id), !0)).sort((Ge, Gt) => Number(Ge.index) - Number(Gt.index)), ft = (Ge) => {
|
|
28239
28239
|
if (typeof Ct != "string") return Ge;
|
|
28240
28240
|
const dr = new RegExp(
|
|
@@ -28243,7 +28243,7 @@ const p7 = Me.div.attrs({
|
|
|
28243
28243
|
).exec(Ct);
|
|
28244
28244
|
return dr ? dr[1] : Ge;
|
|
28245
28245
|
};
|
|
28246
|
-
return Ue.slice(0, 1).map((Ge) => /* @__PURE__ */
|
|
28246
|
+
return Ue.slice(0, 1).map((Ge) => /* @__PURE__ */ w.jsx(
|
|
28247
28247
|
"span",
|
|
28248
28248
|
{
|
|
28249
28249
|
className: "w-6 h-6 bg-[#f6ffed] text-[#52c41a] rounded text-xs font-medium flex items-center justify-center cursor-pointer hover:bg-orange-200 transition-colors",
|
|
@@ -28262,7 +28262,7 @@ const p7 = Me.div.attrs({
|
|
|
28262
28262
|
Ge.id
|
|
28263
28263
|
));
|
|
28264
28264
|
})() }),
|
|
28265
|
-
typeof Z.score == "number" && /* @__PURE__ */
|
|
28265
|
+
typeof Z.score == "number" && /* @__PURE__ */ w.jsxs("div", { className: "text-sm text-gray-600", children: [
|
|
28266
28266
|
"\u5206\u6570: ",
|
|
28267
28267
|
Number(Z.score).toFixed(2)
|
|
28268
28268
|
] })
|
|
@@ -28271,30 +28271,30 @@ const p7 = Me.div.attrs({
|
|
|
28271
28271
|
(Z.link || "") + He
|
|
28272
28272
|
)) })
|
|
28273
28273
|
] }),
|
|
28274
|
-
Ce && /* @__PURE__ */
|
|
28275
|
-
/* @__PURE__ */
|
|
28276
|
-
/* @__PURE__ */
|
|
28277
|
-
/* @__PURE__ */
|
|
28278
|
-
Pe.length > 2 && /* @__PURE__ */
|
|
28274
|
+
Ce && /* @__PURE__ */ w.jsxs(Ls, { $theme: ue, children: [
|
|
28275
|
+
/* @__PURE__ */ w.jsx("div", { className: "reference-title justify-between items-center flex", children: /* @__PURE__ */ w.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
28276
|
+
/* @__PURE__ */ w.jsx("span", { className: "text-[#374151]", children: "\u56FE\u8C31\u5F15\u7528" }),
|
|
28277
|
+
/* @__PURE__ */ w.jsx("span", { className: "text-[#b4b4b4] text-xs", children: ` (${Pe.length})` }),
|
|
28278
|
+
Pe.length > 2 && /* @__PURE__ */ w.jsx(
|
|
28279
28279
|
"div",
|
|
28280
28280
|
{
|
|
28281
28281
|
onClick: () => mt(!We),
|
|
28282
28282
|
className: "cursor-pointer hover:text-[#86909C] transition-colors",
|
|
28283
|
-
children: We ? /* @__PURE__ */
|
|
28283
|
+
children: We ? /* @__PURE__ */ w.jsx(_a, { size: 16, className: "text-[#b4b4b4]" }) : /* @__PURE__ */ w.jsx(da, { size: 16, className: "text-[#b4b4b4]" })
|
|
28284
28284
|
}
|
|
28285
28285
|
)
|
|
28286
28286
|
] }) }),
|
|
28287
|
-
/* @__PURE__ */
|
|
28288
|
-
(Z, He) => /* @__PURE__ */
|
|
28289
|
-
/* @__PURE__ */
|
|
28290
|
-
/* @__PURE__ */
|
|
28287
|
+
/* @__PURE__ */ w.jsx("div", { className: "reference-list", children: (We ? Pe : Pe.slice(0, 2)).map(
|
|
28288
|
+
(Z, He) => /* @__PURE__ */ w.jsx("div", { className: "reference-item", children: /* @__PURE__ */ w.jsxs("div", { className: "file-info flex items-end gap-2", children: [
|
|
28289
|
+
/* @__PURE__ */ w.jsx("div", { className: "flex-shrink-0", children: /* @__PURE__ */ w.jsx("div", { className: "w-6 h-6 rounded flex items-center justify-center", children: /* @__PURE__ */ w.jsx("div", { className: "w-6 h-6 bg-purple-100 text-purple-600 rounded text-xs font-medium flex items-center justify-center", children: "\u56FE" }) }) }),
|
|
28290
|
+
/* @__PURE__ */ w.jsx("div", { className: "flex-1 min-w-0", children: /* @__PURE__ */ w.jsx(
|
|
28291
28291
|
"div",
|
|
28292
28292
|
{
|
|
28293
28293
|
className: "text-sm w-[250px] font-medium text-gray-900 truncate",
|
|
28294
28294
|
children: Z.graphName || `\u56FE\u8C31${He + 1}`
|
|
28295
28295
|
}
|
|
28296
28296
|
) }),
|
|
28297
|
-
/* @__PURE__ */
|
|
28297
|
+
/* @__PURE__ */ w.jsx("div", { className: "flex items-center gap-1", children: (() => {
|
|
28298
28298
|
const Qe = /* @__PURE__ */ new Set(), Ue = (Z.tags || []).filter((Ge) => Qe.has(Ge.id) ? !1 : (Qe.add(Ge.id), !0)).sort((Ge, Gt) => Number(Ge.index) - Number(Gt.index)), ft = (Ge) => {
|
|
28299
28299
|
if (typeof Ct != "string") return null;
|
|
28300
28300
|
const dr = new RegExp(
|
|
@@ -28305,7 +28305,7 @@ const p7 = Me.div.attrs({
|
|
|
28305
28305
|
};
|
|
28306
28306
|
return Ue.map((Ge) => ({ tag: Ge, num: ft(Ge.id) })).filter(
|
|
28307
28307
|
(Ge) => Ge.num !== null && Ge.num !== void 0 && Ge.num !== ""
|
|
28308
|
-
).slice(0, 10).map(({ tag: Ge, num: Gt }) => /* @__PURE__ */
|
|
28308
|
+
).slice(0, 10).map(({ tag: Ge, num: Gt }) => /* @__PURE__ */ w.jsx(
|
|
28309
28309
|
"span",
|
|
28310
28310
|
{
|
|
28311
28311
|
className: "w-6 h-6 bg-purple-100 text-purple-600 rounded text-xs font-medium flex items-center justify-center cursor-pointer hover:bg-purple-200 transition-colors",
|
|
@@ -28339,7 +28339,7 @@ const p7 = Me.div.attrs({
|
|
|
28339
28339
|
) })
|
|
28340
28340
|
] })
|
|
28341
28341
|
] }) : null;
|
|
28342
|
-
}, Nt = () => m || !R || !ne || ne.length === 0 ? null : /* @__PURE__ */
|
|
28342
|
+
}, Nt = () => m || !R || !ne || ne.length === 0 ? null : /* @__PURE__ */ w.jsx(y7, { $theme: ue, children: /* @__PURE__ */ w.jsx("div", { className: "follow-up-list", children: ne.map((B, Se) => /* @__PURE__ */ w.jsx(
|
|
28343
28343
|
"div",
|
|
28344
28344
|
{
|
|
28345
28345
|
className: "follow-up-item",
|
|
@@ -28351,16 +28351,16 @@ const p7 = Me.div.attrs({
|
|
|
28351
28351
|
},
|
|
28352
28352
|
`${String(B)}-${Se}`
|
|
28353
28353
|
)) }) });
|
|
28354
|
-
return /* @__PURE__ */
|
|
28355
|
-
/* @__PURE__ */
|
|
28356
|
-
/* @__PURE__ */
|
|
28357
|
-
Be && /* @__PURE__ */
|
|
28354
|
+
return /* @__PURE__ */ w.jsxs(p7, { $align: l, $isUser: m, children: [
|
|
28355
|
+
/* @__PURE__ */ w.jsxs(m7, { $isUser: m, children: [
|
|
28356
|
+
/* @__PURE__ */ w.jsx(g7, { $src: Ba, $isUser: m }),
|
|
28357
|
+
Be && /* @__PURE__ */ w.jsx("div", { className: "message-time px-2 text-sm text-[#888888]", children: Be })
|
|
28358
28358
|
] }),
|
|
28359
28359
|
nt(),
|
|
28360
|
-
/* @__PURE__ */
|
|
28360
|
+
/* @__PURE__ */ w.jsx(v7, { $isUser: m, $theme: ue, children: /* @__PURE__ */ w.jsx("div", { className: "message-card", children: /* @__PURE__ */ w.jsx("div", { className: "message-text", children: a === "stream" ? /* @__PURE__ */ w.jsxs(w.Fragment, { children: [
|
|
28361
28361
|
!m && ot(),
|
|
28362
28362
|
Et(),
|
|
28363
|
-
/* @__PURE__ */
|
|
28363
|
+
/* @__PURE__ */ w.jsx(
|
|
28364
28364
|
Da,
|
|
28365
28365
|
{
|
|
28366
28366
|
dataSource: {
|
|
@@ -28384,15 +28384,15 @@ const p7 = Me.div.attrs({
|
|
|
28384
28384
|
},
|
|
28385
28385
|
`md-${(Ct || "").length}-think-${kt}`
|
|
28386
28386
|
)
|
|
28387
|
-
] }) : /* @__PURE__ */
|
|
28387
|
+
] }) : /* @__PURE__ */ w.jsx("div", { style: { whiteSpace: "pre-wrap" }, children: $r }) }) }) }),
|
|
28388
28388
|
sr(),
|
|
28389
28389
|
j(),
|
|
28390
28390
|
!m && qt(),
|
|
28391
28391
|
Nt(),
|
|
28392
28392
|
typeof document < "u" && qh(
|
|
28393
|
-
/* @__PURE__ */
|
|
28394
|
-
/* @__PURE__ */
|
|
28395
|
-
/* @__PURE__ */
|
|
28393
|
+
/* @__PURE__ */ w.jsx(x7, { $show: K !== null, onClick: () => Te(null), children: K && /* @__PURE__ */ w.jsxs("div", { className: "modal-content", onClick: (B) => B.stopPropagation(), children: [
|
|
28394
|
+
/* @__PURE__ */ w.jsx("img", { src: K, alt: "\u9884\u89C8\u56FE\u7247", className: "modal-image" }),
|
|
28395
|
+
/* @__PURE__ */ w.jsx("button", { className: "modal-close", onClick: () => Te(null), children: "\u5173\u95ED" })
|
|
28396
28396
|
] }) }),
|
|
28397
28397
|
document.body
|
|
28398
28398
|
)
|
|
@@ -28413,12 +28413,12 @@ function w7(e, t, r = 18) {
|
|
|
28413
28413
|
if (rt.isValidElement(C))
|
|
28414
28414
|
return C;
|
|
28415
28415
|
if (typeof C == "string")
|
|
28416
|
-
return /* @__PURE__ */
|
|
28416
|
+
return /* @__PURE__ */ w.jsx("img", { src: C, alt: y, style: { width: r, height: r } });
|
|
28417
28417
|
}
|
|
28418
28418
|
}
|
|
28419
|
-
return /* @__PURE__ */
|
|
28419
|
+
return /* @__PURE__ */ w.jsx(gn, { type: d, size: r });
|
|
28420
28420
|
};
|
|
28421
|
-
return ["png", "jpg", "jpeg", "gif", "bmp", "webp", "svg", "ico"].includes(n) ? l("image", "rag/pic", ["png", "jpg", "jpeg"]) : n === "pdf" ? l("pdf", "rag/pdf") : ["doc", "docx"].includes(n) ? l("docx", "rag/word", ["doc"]) : ["xls", "xlsx", "xlsm", "xlsb", "xltx", "xltm", "xlt", "xlam"].includes(n) ? l("sheets", "rag/excel", ["excel", "xls", "xlsx"]) : n === "csv" ? l("csv", "rag/csv", ["sheets", "excel"]) : ["ppt", "pptx"].includes(n) ? l("pptx", "rag/ppt", ["ppt"]) : n === "txt" || n === "md" ? l("txt", "rag/txt", ["md"]) : ["zip", "rar", "7z"].includes(n) ? l("archive", "rag/zip", ["zip", "rar"]) : ["odt", "ods", "odp", "odf"].includes(n) ? l("odt", "rag/odf") : ["html", "htm", "url"].includes(n) ? l("html", "rag/url", ["htm", "url"]) : n === "json" ? l("json", "rag/json") : /* @__PURE__ */
|
|
28421
|
+
return ["png", "jpg", "jpeg", "gif", "bmp", "webp", "svg", "ico"].includes(n) ? l("image", "rag/pic", ["png", "jpg", "jpeg"]) : n === "pdf" ? l("pdf", "rag/pdf") : ["doc", "docx"].includes(n) ? l("docx", "rag/word", ["doc"]) : ["xls", "xlsx", "xlsm", "xlsb", "xltx", "xltm", "xlt", "xlam"].includes(n) ? l("sheets", "rag/excel", ["excel", "xls", "xlsx"]) : n === "csv" ? l("csv", "rag/csv", ["sheets", "excel"]) : ["ppt", "pptx"].includes(n) ? l("pptx", "rag/ppt", ["ppt"]) : n === "txt" || n === "md" ? l("txt", "rag/txt", ["md"]) : ["zip", "rar", "7z"].includes(n) ? l("archive", "rag/zip", ["zip", "rar"]) : ["odt", "ods", "odp", "odf"].includes(n) ? l("odt", "rag/odf") : ["html", "htm", "url"].includes(n) ? l("html", "rag/url", ["htm", "url"]) : n === "json" ? l("json", "rag/json") : /* @__PURE__ */ w.jsx(gn, { type: "rag/file", size: r });
|
|
28422
28422
|
}
|
|
28423
28423
|
const D7 = Me.div.attrs({
|
|
28424
28424
|
className: "retrive-chat-message-container"
|
|
@@ -28700,7 +28700,7 @@ const N7 = Me.div.attrs({
|
|
|
28700
28700
|
display: flex;
|
|
28701
28701
|
flex-direction: column;
|
|
28702
28702
|
gap: 12px;
|
|
28703
|
-
`,
|
|
28703
|
+
`, br = Me.div.attrs({
|
|
28704
28704
|
className: "retrive-chat-config-item"
|
|
28705
28705
|
})`
|
|
28706
28706
|
display: flex;
|
|
@@ -28712,12 +28712,12 @@ const N7 = Me.div.attrs({
|
|
|
28712
28712
|
&:last-child {
|
|
28713
28713
|
border-bottom: none;
|
|
28714
28714
|
}
|
|
28715
|
-
`,
|
|
28715
|
+
`, yr = Me.span.attrs({
|
|
28716
28716
|
className: "retrive-chat-config-item-label"
|
|
28717
28717
|
})`
|
|
28718
28718
|
font-size: 13px;
|
|
28719
28719
|
color: ${({ theme: e }) => e.colors?.text || "#374151"};
|
|
28720
|
-
`,
|
|
28720
|
+
`, Or = Me.span.attrs({
|
|
28721
28721
|
className: "retrive-chat-config-item-value"
|
|
28722
28722
|
})`
|
|
28723
28723
|
font-size: 13px;
|
|
@@ -29137,7 +29137,7 @@ const N7 = Me.div.attrs({
|
|
|
29137
29137
|
), Be = () => {
|
|
29138
29138
|
if (!z || V === "v1" || n || !$.length) return null;
|
|
29139
29139
|
const K = he !== void 0 ? he === 4 ? 4 : 2 : r === "ready" ? 2 : 1, Te = xe === 0;
|
|
29140
|
-
return /* @__PURE__ */
|
|
29140
|
+
return /* @__PURE__ */ w.jsx("div", { className: "thought-chain-wrapper mt-4", children: /* @__PURE__ */ w.jsx(
|
|
29141
29141
|
T1,
|
|
29142
29142
|
{
|
|
29143
29143
|
mode: t === "stream" ? "live" : "history",
|
|
@@ -29149,101 +29149,101 @@ const N7 = Me.div.attrs({
|
|
|
29149
29149
|
) });
|
|
29150
29150
|
}, Le = () => {
|
|
29151
29151
|
const K = typeof e == "string" ? e : JSON.stringify(e);
|
|
29152
|
-
return /* @__PURE__ */
|
|
29153
|
-
/* @__PURE__ */
|
|
29154
|
-
/* @__PURE__ */
|
|
29155
|
-
J && /* @__PURE__ */
|
|
29156
|
-
/* @__PURE__ */
|
|
29152
|
+
return /* @__PURE__ */ w.jsxs(Ld, { theme: R, children: [
|
|
29153
|
+
/* @__PURE__ */ w.jsx(_d, { theme: R, children: /* @__PURE__ */ w.jsx("img", { src: a || R.icons.userAvatar, alt: "\u7528\u6237" }) }),
|
|
29154
|
+
/* @__PURE__ */ w.jsxs(qd, { theme: R, isUser: !0, children: [
|
|
29155
|
+
J && /* @__PURE__ */ w.jsx(Hd, { theme: R, children: J }),
|
|
29156
|
+
/* @__PURE__ */ w.jsx(C7, { theme: R, children: K })
|
|
29157
29157
|
] })
|
|
29158
29158
|
] });
|
|
29159
|
-
}, Je = () => /* @__PURE__ */
|
|
29160
|
-
/* @__PURE__ */
|
|
29161
|
-
/* @__PURE__ */
|
|
29162
|
-
J && /* @__PURE__ */
|
|
29163
|
-
/* @__PURE__ */
|
|
29164
|
-
/* @__PURE__ */
|
|
29165
|
-
/* @__PURE__ */
|
|
29159
|
+
}, Je = () => /* @__PURE__ */ w.jsxs(Ld, { theme: R, children: [
|
|
29160
|
+
/* @__PURE__ */ w.jsx(_d, { theme: R, children: /* @__PURE__ */ w.jsx("img", { src: l || R.icons.aiAvatar, alt: "AI" }) }),
|
|
29161
|
+
/* @__PURE__ */ w.jsxs(qd, { theme: R, isUser: !1, children: [
|
|
29162
|
+
J && /* @__PURE__ */ w.jsx(Hd, { theme: R, children: J }),
|
|
29163
|
+
/* @__PURE__ */ w.jsxs(k7, { theme: R, children: [
|
|
29164
|
+
/* @__PURE__ */ w.jsxs(E7, { theme: R, children: [
|
|
29165
|
+
/* @__PURE__ */ w.jsxs(
|
|
29166
29166
|
_s,
|
|
29167
29167
|
{
|
|
29168
29168
|
theme: R,
|
|
29169
29169
|
active: Y === "semantic",
|
|
29170
29170
|
onClick: () => pe("semantic"),
|
|
29171
29171
|
children: [
|
|
29172
|
-
/* @__PURE__ */
|
|
29173
|
-
/* @__PURE__ */
|
|
29172
|
+
/* @__PURE__ */ w.jsx(D6, { size: 16 }),
|
|
29173
|
+
/* @__PURE__ */ w.jsx("span", { children: "\u8BED\u4E49\u56DE\u7B54" })
|
|
29174
29174
|
]
|
|
29175
29175
|
}
|
|
29176
29176
|
),
|
|
29177
|
-
/* @__PURE__ */
|
|
29177
|
+
/* @__PURE__ */ w.jsxs(
|
|
29178
29178
|
_s,
|
|
29179
29179
|
{
|
|
29180
29180
|
theme: R,
|
|
29181
29181
|
active: Y === "prompt",
|
|
29182
29182
|
onClick: () => pe("prompt"),
|
|
29183
29183
|
children: [
|
|
29184
|
-
/* @__PURE__ */
|
|
29185
|
-
/* @__PURE__ */
|
|
29184
|
+
/* @__PURE__ */ w.jsx(g6, { size: 16 }),
|
|
29185
|
+
/* @__PURE__ */ w.jsx("span", { children: "Prompt" })
|
|
29186
29186
|
]
|
|
29187
29187
|
}
|
|
29188
29188
|
),
|
|
29189
|
-
/* @__PURE__ */
|
|
29189
|
+
/* @__PURE__ */ w.jsxs(
|
|
29190
29190
|
_s,
|
|
29191
29191
|
{
|
|
29192
29192
|
theme: R,
|
|
29193
29193
|
active: Y === "retrieve",
|
|
29194
29194
|
onClick: () => pe("retrieve"),
|
|
29195
29195
|
children: [
|
|
29196
|
-
/* @__PURE__ */
|
|
29197
|
-
/* @__PURE__ */
|
|
29198
|
-
Q > 0 && /* @__PURE__ */
|
|
29196
|
+
/* @__PURE__ */ w.jsx(T6, { size: 16 }),
|
|
29197
|
+
/* @__PURE__ */ w.jsx("span", { children: "\u53EC\u56DE\u4FE1\u606F" }),
|
|
29198
|
+
Q > 0 && /* @__PURE__ */ w.jsx(A7, { theme: R, children: Q })
|
|
29199
29199
|
]
|
|
29200
29200
|
}
|
|
29201
29201
|
),
|
|
29202
|
-
/* @__PURE__ */
|
|
29202
|
+
/* @__PURE__ */ w.jsxs(
|
|
29203
29203
|
_s,
|
|
29204
29204
|
{
|
|
29205
29205
|
theme: R,
|
|
29206
29206
|
active: Y === "config",
|
|
29207
29207
|
onClick: () => pe("config"),
|
|
29208
29208
|
children: [
|
|
29209
|
-
/* @__PURE__ */
|
|
29210
|
-
/* @__PURE__ */
|
|
29209
|
+
/* @__PURE__ */ w.jsx(E6, { size: 16 }),
|
|
29210
|
+
/* @__PURE__ */ w.jsx("span", { children: "\u68C0\u7D22\u914D\u7F6E" })
|
|
29211
29211
|
]
|
|
29212
29212
|
}
|
|
29213
29213
|
)
|
|
29214
29214
|
] }),
|
|
29215
|
-
/* @__PURE__ */
|
|
29216
|
-
Y === "semantic" && /* @__PURE__ */
|
|
29217
|
-
C && /* @__PURE__ */
|
|
29218
|
-
/* @__PURE__ */
|
|
29219
|
-
/* @__PURE__ */
|
|
29220
|
-
/* @__PURE__ */
|
|
29215
|
+
/* @__PURE__ */ w.jsxs(B7, { theme: R, children: [
|
|
29216
|
+
Y === "semantic" && /* @__PURE__ */ w.jsxs(w.Fragment, { children: [
|
|
29217
|
+
C && /* @__PURE__ */ w.jsxs(S7, { theme: R, children: [
|
|
29218
|
+
/* @__PURE__ */ w.jsxs(F7, { theme: R, children: [
|
|
29219
|
+
/* @__PURE__ */ w.jsx("span", { className: "dot" }),
|
|
29220
|
+
/* @__PURE__ */ w.jsx("span", { children: "LLM \u914D\u7F6E\u4FE1\u606F" })
|
|
29221
29221
|
] }),
|
|
29222
|
-
/* @__PURE__ */
|
|
29223
|
-
C.model && /* @__PURE__ */
|
|
29224
|
-
/* @__PURE__ */
|
|
29225
|
-
/* @__PURE__ */
|
|
29222
|
+
/* @__PURE__ */ w.jsxs(T7, { theme: R, children: [
|
|
29223
|
+
C.model && /* @__PURE__ */ w.jsxs(qs, { theme: R, children: [
|
|
29224
|
+
/* @__PURE__ */ w.jsx("span", { className: "dot dot-green" }),
|
|
29225
|
+
/* @__PURE__ */ w.jsxs("span", { children: [
|
|
29226
29226
|
"\u6A21\u578B: ",
|
|
29227
29227
|
C.model
|
|
29228
29228
|
] })
|
|
29229
29229
|
] }),
|
|
29230
|
-
C.temperature !== void 0 && /* @__PURE__ */
|
|
29231
|
-
/* @__PURE__ */
|
|
29232
|
-
/* @__PURE__ */
|
|
29230
|
+
C.temperature !== void 0 && /* @__PURE__ */ w.jsxs(qs, { theme: R, children: [
|
|
29231
|
+
/* @__PURE__ */ w.jsx("span", { className: "dot dot-blue" }),
|
|
29232
|
+
/* @__PURE__ */ w.jsxs("span", { children: [
|
|
29233
29233
|
"\u6E29\u5EA6: ",
|
|
29234
29234
|
C.temperature.toFixed(2)
|
|
29235
29235
|
] })
|
|
29236
29236
|
] }),
|
|
29237
|
-
C.diversity !== void 0 && /* @__PURE__ */
|
|
29238
|
-
/* @__PURE__ */
|
|
29239
|
-
/* @__PURE__ */
|
|
29237
|
+
C.diversity !== void 0 && /* @__PURE__ */ w.jsxs(qs, { theme: R, children: [
|
|
29238
|
+
/* @__PURE__ */ w.jsx("span", { className: "dot dot-purple" }),
|
|
29239
|
+
/* @__PURE__ */ w.jsxs("span", { children: [
|
|
29240
29240
|
"\u591A\u6837\u6027: ",
|
|
29241
29241
|
C.diversity.toFixed(2)
|
|
29242
29242
|
] })
|
|
29243
29243
|
] }),
|
|
29244
|
-
C.maxTokens !== void 0 && /* @__PURE__ */
|
|
29245
|
-
/* @__PURE__ */
|
|
29246
|
-
/* @__PURE__ */
|
|
29244
|
+
C.maxTokens !== void 0 && /* @__PURE__ */ w.jsxs(qs, { theme: R, children: [
|
|
29245
|
+
/* @__PURE__ */ w.jsx("span", { className: "dot dot-yellow" }),
|
|
29246
|
+
/* @__PURE__ */ w.jsxs("span", { children: [
|
|
29247
29247
|
"\u6700\u5927\u4EE4\u724C: ",
|
|
29248
29248
|
C.maxTokens
|
|
29249
29249
|
] })
|
|
@@ -29251,8 +29251,8 @@ const N7 = Me.div.attrs({
|
|
|
29251
29251
|
] })
|
|
29252
29252
|
] }),
|
|
29253
29253
|
Be(),
|
|
29254
|
-
(typeof e == "string" ? e.trim().length > 0 : !!e) ? /* @__PURE__ */
|
|
29255
|
-
/* @__PURE__ */
|
|
29254
|
+
(typeof e == "string" ? e.trim().length > 0 : !!e) ? /* @__PURE__ */ w.jsxs(O7, { theme: R, children: [
|
|
29255
|
+
/* @__PURE__ */ w.jsx(
|
|
29256
29256
|
Da,
|
|
29257
29257
|
{
|
|
29258
29258
|
dataSource: {
|
|
@@ -29275,14 +29275,14 @@ const N7 = Me.div.attrs({
|
|
|
29275
29275
|
},
|
|
29276
29276
|
`retrieve-md-${typeof ie == "string" ? ie.length : "obj"}-${r}`
|
|
29277
29277
|
),
|
|
29278
|
-
t === "stream" && r === "processing" && /* @__PURE__ */
|
|
29279
|
-
] }) : /* @__PURE__ */
|
|
29278
|
+
t === "stream" && r === "processing" && /* @__PURE__ */ w.jsx("span", { className: "animate-pulse inline-block ml-1", children: "\u258A" })
|
|
29279
|
+
] }) : /* @__PURE__ */ w.jsx(Hs, { theme: R, children: "\u6682\u65E0\u8BED\u4E49\u56DE\u7B54\u5185\u5BB9" })
|
|
29280
29280
|
] }),
|
|
29281
|
-
Y === "prompt" && /* @__PURE__ */
|
|
29282
|
-
Y === "retrieve" && /* @__PURE__ */
|
|
29281
|
+
Y === "prompt" && /* @__PURE__ */ w.jsx(w.Fragment, { children: E || W?.prompt ? /* @__PURE__ */ w.jsx(N7, { theme: R, children: E || W?.prompt }) : /* @__PURE__ */ w.jsx(Hs, { theme: R, children: "\u6682\u65E0 Prompt \u5185\u5BB9" }) }),
|
|
29282
|
+
Y === "retrieve" && /* @__PURE__ */ w.jsx(R7, { theme: R, children: re && re.length > 0 ? re.map((K, Te) => {
|
|
29283
29283
|
const Ie = K.metadata || {}, Ye = K.score ?? Ie.score ?? 0, at = K.rerank_score_rank ?? Ie.rerank_score_rank ?? "-", lt = K.rrf_score ?? Ie.rrf_score ?? 0, dt = Ie.search_type && Array.isArray(Ie.search_type) ? Ie.search_type.join(", ") : Ie.search_type || "es", Dt = K.page_content || "", We = K.sourceFileName || Ie.sourceFileName || Ie.source?.split("/").pop() || "\u672A\u77E5\u6587\u4EF6", mt = K.order_num || Te, kt = ne.has(mt);
|
|
29284
|
-
return /* @__PURE__ */
|
|
29285
|
-
/* @__PURE__ */
|
|
29284
|
+
return /* @__PURE__ */ w.jsxs(j7, { theme: R, children: [
|
|
29285
|
+
/* @__PURE__ */ w.jsxs(
|
|
29286
29286
|
P7,
|
|
29287
29287
|
{
|
|
29288
29288
|
theme: R,
|
|
@@ -29291,34 +29291,34 @@ const N7 = Me.div.attrs({
|
|
|
29291
29291
|
kt ? ut.delete(mt) : ut.add(mt), ye(ut);
|
|
29292
29292
|
},
|
|
29293
29293
|
children: [
|
|
29294
|
-
/* @__PURE__ */
|
|
29295
|
-
/* @__PURE__ */
|
|
29296
|
-
/* @__PURE__ */
|
|
29297
|
-
/* @__PURE__ */
|
|
29298
|
-
/* @__PURE__ */
|
|
29294
|
+
/* @__PURE__ */ w.jsx(z7, { theme: R, children: /* @__PURE__ */ w.jsxs(L7, { theme: R, children: [
|
|
29295
|
+
/* @__PURE__ */ w.jsx(za, { theme: R, children: /* @__PURE__ */ w.jsx("div", { className: "font-bold text-xl pr-5", children: Te + 1 }) }),
|
|
29296
|
+
/* @__PURE__ */ w.jsxs(za, { theme: R, children: [
|
|
29297
|
+
/* @__PURE__ */ w.jsx(Ws, { theme: R, children: "\u53EC\u56DE\u5F97\u5206" }),
|
|
29298
|
+
/* @__PURE__ */ w.jsx(Us, { theme: R, children: typeof Ye == "number" ? Number(Ye).toFixed(2) : Number(Ye).toFixed(2) || "-" })
|
|
29299
29299
|
] }),
|
|
29300
|
-
/* @__PURE__ */
|
|
29301
|
-
/* @__PURE__ */
|
|
29302
|
-
/* @__PURE__ */
|
|
29300
|
+
/* @__PURE__ */ w.jsxs(za, { theme: R, children: [
|
|
29301
|
+
/* @__PURE__ */ w.jsx(Ws, { theme: R, children: "\u91CD\u6392\u4F4D\u7F6E" }),
|
|
29302
|
+
/* @__PURE__ */ w.jsx(Us, { theme: R, children: at || "-" })
|
|
29303
29303
|
] }),
|
|
29304
|
-
/* @__PURE__ */
|
|
29305
|
-
/* @__PURE__ */
|
|
29306
|
-
/* @__PURE__ */
|
|
29304
|
+
/* @__PURE__ */ w.jsxs(za, { theme: R, children: [
|
|
29305
|
+
/* @__PURE__ */ w.jsx(Ws, { theme: R, children: "\u91CD\u6392\u5F97\u5206" }),
|
|
29306
|
+
/* @__PURE__ */ w.jsx(Us, { theme: R, children: typeof lt == "number" ? Number(lt).toFixed(2) : Number(lt).toFixed(2) || "-" })
|
|
29307
29307
|
] }),
|
|
29308
|
-
/* @__PURE__ */
|
|
29309
|
-
/* @__PURE__ */
|
|
29310
|
-
/* @__PURE__ */
|
|
29308
|
+
/* @__PURE__ */ w.jsxs(za, { theme: R, children: [
|
|
29309
|
+
/* @__PURE__ */ w.jsx(Ws, { theme: R, children: "\u7D22\u5F15\u6765\u6E90" }),
|
|
29310
|
+
/* @__PURE__ */ w.jsx(Us, { theme: R, children: dt })
|
|
29311
29311
|
] })
|
|
29312
29312
|
] }) }),
|
|
29313
|
-
/* @__PURE__ */
|
|
29314
|
-
/* @__PURE__ */
|
|
29315
|
-
/* @__PURE__ */
|
|
29313
|
+
/* @__PURE__ */ w.jsxs($7, { theme: R, $isExpanded: kt, children: [
|
|
29314
|
+
/* @__PURE__ */ w.jsx(da, { size: 16 }),
|
|
29315
|
+
/* @__PURE__ */ w.jsx("span", { children: kt ? "\u6536\u8D77" : "\u5C55\u5F00" })
|
|
29316
29316
|
] })
|
|
29317
29317
|
]
|
|
29318
29318
|
}
|
|
29319
29319
|
),
|
|
29320
|
-
kt && /* @__PURE__ */
|
|
29321
|
-
Dt && /* @__PURE__ */
|
|
29320
|
+
kt && /* @__PURE__ */ w.jsxs(I7, { theme: R, $isExpanded: kt, children: [
|
|
29321
|
+
Dt && /* @__PURE__ */ w.jsx(_7, { theme: R, children: /* @__PURE__ */ w.jsx(H7, { theme: R, children: /* @__PURE__ */ w.jsx(
|
|
29322
29322
|
Da,
|
|
29323
29323
|
{
|
|
29324
29324
|
dataSource: {
|
|
@@ -29340,16 +29340,16 @@ const N7 = Me.div.attrs({
|
|
|
29340
29340
|
},
|
|
29341
29341
|
`retrieve-chunk-${mt}-${Dt.length}`
|
|
29342
29342
|
) }) }),
|
|
29343
|
-
/* @__PURE__ */
|
|
29344
|
-
/* @__PURE__ */
|
|
29345
|
-
/* @__PURE__ */
|
|
29346
|
-
/* @__PURE__ */
|
|
29343
|
+
/* @__PURE__ */ w.jsxs(W7, { theme: R, children: [
|
|
29344
|
+
/* @__PURE__ */ w.jsx(q7, { theme: R, children: "\u6587\u4EF6\u6765\u6E90" }),
|
|
29345
|
+
/* @__PURE__ */ w.jsxs(U7, { theme: R, children: [
|
|
29346
|
+
/* @__PURE__ */ w.jsx("div", { className: "shrink-0", children: (() => {
|
|
29347
29347
|
const ut = Ie.type || We.split(".").pop() || "pdf", vt = We.split(".").pop() || "file";
|
|
29348
29348
|
return ut === "video" || ["mp4", "avi", "mov", "wmv", "flv", "webm", "mkv"].includes(
|
|
29349
29349
|
ut
|
|
29350
|
-
) ? /* @__PURE__ */
|
|
29350
|
+
) ? /* @__PURE__ */ w.jsx("div", { className: "w-6 h-6 rounded flex items-center justify-center bg-red-100", children: /* @__PURE__ */ w.jsx(S1, { size: 16, className: "text-red-600" }) }) : /* @__PURE__ */ w.jsx("div", { className: "w-6 h-6 rounded flex items-center justify-center", children: w7(vt, y, 16) });
|
|
29351
29351
|
})() }),
|
|
29352
|
-
/* @__PURE__ */
|
|
29352
|
+
/* @__PURE__ */ w.jsx("div", { className: "flex-1 min-w-0", children: /* @__PURE__ */ w.jsx(
|
|
29353
29353
|
"div",
|
|
29354
29354
|
{
|
|
29355
29355
|
className: "text-sm w-[250px] font-medium text-gray-900 truncate hover:text-blue-600 cursor-pointer",
|
|
@@ -29371,88 +29371,84 @@ const N7 = Me.div.attrs({
|
|
|
29371
29371
|
] })
|
|
29372
29372
|
] })
|
|
29373
29373
|
] }, mt);
|
|
29374
|
-
}) : /* @__PURE__ */
|
|
29375
|
-
Y === "config" && /* @__PURE__ */
|
|
29376
|
-
/* @__PURE__ */
|
|
29377
|
-
/* @__PURE__ */
|
|
29378
|
-
/* @__PURE__ */
|
|
29379
|
-
/* @__PURE__ */
|
|
29374
|
+
}) : /* @__PURE__ */ w.jsx(Hs, { theme: R, children: "\u6682\u65E0\u53EC\u56DE\u4FE1\u606F" }) }),
|
|
29375
|
+
Y === "config" && /* @__PURE__ */ w.jsx(M7, { theme: R, children: W ? /* @__PURE__ */ w.jsxs(w.Fragment, { children: [
|
|
29376
|
+
/* @__PURE__ */ w.jsxs(Wd, { theme: R, children: [
|
|
29377
|
+
/* @__PURE__ */ w.jsxs(Ud, { theme: R, children: [
|
|
29378
|
+
/* @__PURE__ */ w.jsx("span", { className: "dot" }),
|
|
29379
|
+
/* @__PURE__ */ w.jsx("span", { children: "\u53EC\u56DE\u914D\u7F6E" })
|
|
29380
29380
|
] }),
|
|
29381
|
-
/* @__PURE__ */
|
|
29382
|
-
(W.top_k !== void 0 || W.textChunks !== void 0) && /* @__PURE__ */
|
|
29383
|
-
/* @__PURE__ */
|
|
29384
|
-
/* @__PURE__ */
|
|
29381
|
+
/* @__PURE__ */ w.jsxs(Vd, { theme: R, children: [
|
|
29382
|
+
(W.top_k !== void 0 || W.textChunks !== void 0) && /* @__PURE__ */ w.jsxs(br, { theme: R, children: [
|
|
29383
|
+
/* @__PURE__ */ w.jsx(yr, { theme: R, children: "\u8FD4\u56DE\u6587\u672C\u7247\u6570\u91CF" }),
|
|
29384
|
+
/* @__PURE__ */ w.jsx(Or, { theme: R, children: W.top_k ?? W.textChunks })
|
|
29385
29385
|
] }),
|
|
29386
|
-
(W.score_threshold !== void 0 || W.topP !== void 0) && /* @__PURE__ */
|
|
29387
|
-
/* @__PURE__ */
|
|
29388
|
-
/* @__PURE__ */
|
|
29386
|
+
(W.score_threshold !== void 0 || W.topP !== void 0) && /* @__PURE__ */ w.jsxs(br, { theme: R, children: [
|
|
29387
|
+
/* @__PURE__ */ w.jsx(yr, { theme: R, children: "\u76F8\u4F3C\u5EA6\u9608\u503C" }),
|
|
29388
|
+
/* @__PURE__ */ w.jsx(Or, { theme: R, children: W.score_threshold ?? W.topP })
|
|
29389
29389
|
] }),
|
|
29390
|
-
(W.top_n !== void 0 || W.topN !== void 0 || W.top_k !== void 0) && /* @__PURE__ */
|
|
29391
|
-
/* @__PURE__ */
|
|
29392
|
-
/* @__PURE__ */
|
|
29390
|
+
(W.top_n !== void 0 || W.topN !== void 0 || W.top_k !== void 0) && /* @__PURE__ */ w.jsxs(br, { theme: R, children: [
|
|
29391
|
+
/* @__PURE__ */ w.jsx(yr, { theme: R, children: "\u53EC\u56DE\u6570\u91CF" }),
|
|
29392
|
+
/* @__PURE__ */ w.jsx(Or, { theme: R, children: W.top_n ?? W.topN ?? W.top_k })
|
|
29393
29393
|
] }),
|
|
29394
|
-
(W.dense_weight !== void 0 || W.denseWeight !== void 0) && /* @__PURE__ */
|
|
29395
|
-
/* @__PURE__ */
|
|
29396
|
-
/* @__PURE__ */
|
|
29394
|
+
(W.dense_weight !== void 0 || W.denseWeight !== void 0) && /* @__PURE__ */ w.jsxs(br, { theme: R, children: [
|
|
29395
|
+
/* @__PURE__ */ w.jsx(yr, { theme: R, children: "\u5411\u91CF\u6743\u91CD" }),
|
|
29396
|
+
/* @__PURE__ */ w.jsx(Or, { theme: R, children: W.dense_weight ?? W.denseWeight })
|
|
29397
29397
|
] }),
|
|
29398
|
-
(W["search policy"] !== void 0 || W.search_policy !== void 0) && /* @__PURE__ */
|
|
29399
|
-
/* @__PURE__ */
|
|
29400
|
-
/* @__PURE__ */
|
|
29398
|
+
(W["search policy"] !== void 0 || W.search_policy !== void 0) && /* @__PURE__ */ w.jsxs(br, { theme: R, children: [
|
|
29399
|
+
/* @__PURE__ */ w.jsx(yr, { theme: R, children: "\u68C0\u7D22\u7B56\u7565" }),
|
|
29400
|
+
/* @__PURE__ */ w.jsx(Or, { theme: R, children: (() => {
|
|
29401
29401
|
const K = W["search policy"] ?? W.search_policy;
|
|
29402
29402
|
return K === 1 ? "\u6DF7\u5408\u68C0\u7D22" : K === 2 ? "\u5411\u91CF\u68C0\u7D22" : K === 3 ? "\u5173\u952E\u8BCD\u68C0\u7D22" : K;
|
|
29403
29403
|
})() })
|
|
29404
29404
|
] }),
|
|
29405
|
-
W.diversity !== void 0 && /* @__PURE__ */
|
|
29406
|
-
/* @__PURE__ */
|
|
29407
|
-
/* @__PURE__ */
|
|
29405
|
+
W.diversity !== void 0 && /* @__PURE__ */ w.jsxs(br, { theme: R, children: [
|
|
29406
|
+
/* @__PURE__ */ w.jsx(yr, { theme: R, children: "\u591A\u6837\u6027" }),
|
|
29407
|
+
/* @__PURE__ */ w.jsx(Or, { theme: R, children: W.diversity })
|
|
29408
29408
|
] }),
|
|
29409
|
-
W.temperature !== void 0 && /* @__PURE__ */
|
|
29410
|
-
/* @__PURE__ */
|
|
29411
|
-
/* @__PURE__ */
|
|
29409
|
+
W.temperature !== void 0 && /* @__PURE__ */ w.jsxs(br, { theme: R, children: [
|
|
29410
|
+
/* @__PURE__ */ w.jsx(yr, { theme: R, children: "\u6E29\u5EA6" }),
|
|
29411
|
+
/* @__PURE__ */ w.jsx(Or, { theme: R, children: W.temperature })
|
|
29412
29412
|
] }),
|
|
29413
|
-
(W.top_p !== void 0 || W.topP !== void 0) && /* @__PURE__ */
|
|
29414
|
-
/* @__PURE__ */
|
|
29415
|
-
/* @__PURE__ */
|
|
29413
|
+
(W.top_p !== void 0 || W.topP !== void 0) && /* @__PURE__ */ w.jsxs(br, { theme: R, children: [
|
|
29414
|
+
/* @__PURE__ */ w.jsx(yr, { theme: R, children: "\u591A\u6837\u6027" }),
|
|
29415
|
+
/* @__PURE__ */ w.jsx(Or, { theme: R, children: W.top_p ?? W.topP })
|
|
29416
29416
|
] }),
|
|
29417
|
-
(W.max_tokens !== void 0 || W.maxTokens !== void 0) && /* @__PURE__ */
|
|
29418
|
-
/* @__PURE__ */
|
|
29419
|
-
/* @__PURE__ */
|
|
29417
|
+
(W.max_tokens !== void 0 || W.maxTokens !== void 0) && /* @__PURE__ */ w.jsxs(br, { theme: R, children: [
|
|
29418
|
+
/* @__PURE__ */ w.jsx(yr, { theme: R, children: "\u6700\u5927\u4EE4\u724C\u6570" }),
|
|
29419
|
+
/* @__PURE__ */ w.jsx(Or, { theme: R, children: W.max_tokens ?? W.maxTokens })
|
|
29420
29420
|
] }),
|
|
29421
|
-
(W.model_name !== void 0 || W["1lmModel"] !== void 0) && /* @__PURE__ */
|
|
29422
|
-
/* @__PURE__ */
|
|
29423
|
-
/* @__PURE__ */
|
|
29421
|
+
(W.model_name !== void 0 || W["1lmModel"] !== void 0) && /* @__PURE__ */ w.jsxs(br, { theme: R, children: [
|
|
29422
|
+
/* @__PURE__ */ w.jsx(yr, { theme: R, children: "\u95EE\u7B54\u6A21\u578B" }),
|
|
29423
|
+
/* @__PURE__ */ w.jsx(Or, { theme: R, children: W.model_name ?? W["1lmModel"] })
|
|
29424
29424
|
] }),
|
|
29425
|
-
W.plan_model_name !== void 0 && /* @__PURE__ */
|
|
29426
|
-
/* @__PURE__ */
|
|
29427
|
-
/* @__PURE__ */
|
|
29425
|
+
W.plan_model_name !== void 0 && /* @__PURE__ */ w.jsxs(br, { theme: R, children: [
|
|
29426
|
+
/* @__PURE__ */ w.jsx(yr, { theme: R, children: "\u89C4\u5212\u6A21\u578B" }),
|
|
29427
|
+
/* @__PURE__ */ w.jsx(Or, { theme: R, children: W.plan_model_name })
|
|
29428
29428
|
] }),
|
|
29429
|
-
W.recallModel !== void 0 && /* @__PURE__ */
|
|
29430
|
-
/* @__PURE__ */
|
|
29431
|
-
/* @__PURE__ */
|
|
29429
|
+
W.recallModel !== void 0 && /* @__PURE__ */ w.jsxs(br, { theme: R, children: [
|
|
29430
|
+
/* @__PURE__ */ w.jsx(yr, { theme: R, children: "\u6392\u5E8F\u6A21\u578B" }),
|
|
29431
|
+
/* @__PURE__ */ w.jsx(Or, { theme: R, children: W.recallModel })
|
|
29432
29432
|
] }),
|
|
29433
|
-
W.rerank_model_name !== void 0 && /* @__PURE__ */
|
|
29434
|
-
/* @__PURE__ */
|
|
29435
|
-
/* @__PURE__ */
|
|
29433
|
+
W.rerank_model_name !== void 0 && /* @__PURE__ */ w.jsxs(br, { theme: R, children: [
|
|
29434
|
+
/* @__PURE__ */ w.jsx(yr, { theme: R, children: "\u91CD\u6392\u6A21\u578B" }),
|
|
29435
|
+
/* @__PURE__ */ w.jsx(Or, { theme: R, children: W.rerank_model_name })
|
|
29436
29436
|
] }),
|
|
29437
|
-
W.
|
|
29438
|
-
/* @__PURE__ */
|
|
29439
|
-
/* @__PURE__ */
|
|
29440
|
-
] }),
|
|
29441
|
-
W.search_type !== void 0 && /* @__PURE__ */ x.jsxs(mr, { theme: R, children: [
|
|
29442
|
-
/* @__PURE__ */ x.jsx(gr, { theme: R, children: "\u7D22\u5F15\u6765\u6E90" }),
|
|
29443
|
-
/* @__PURE__ */ x.jsx(kr, { theme: R, children: W.search_type ?? "undefined" })
|
|
29437
|
+
W.search_type !== void 0 && /* @__PURE__ */ w.jsxs(br, { theme: R, children: [
|
|
29438
|
+
/* @__PURE__ */ w.jsx(yr, { theme: R, children: "\u7D22\u5F15\u6765\u6E90" }),
|
|
29439
|
+
/* @__PURE__ */ w.jsx(Or, { theme: R, children: W.search_type ?? "undefined" })
|
|
29444
29440
|
] })
|
|
29445
29441
|
] })
|
|
29446
29442
|
] }),
|
|
29447
|
-
/* @__PURE__ */
|
|
29448
|
-
/* @__PURE__ */
|
|
29449
|
-
/* @__PURE__ */
|
|
29450
|
-
/* @__PURE__ */
|
|
29443
|
+
/* @__PURE__ */ w.jsxs(Wd, { theme: R, children: [
|
|
29444
|
+
/* @__PURE__ */ w.jsxs(Ud, { theme: R, children: [
|
|
29445
|
+
/* @__PURE__ */ w.jsx("span", { className: "dot" }),
|
|
29446
|
+
/* @__PURE__ */ w.jsx("span", { children: "\u529F\u80FD\u5F00\u5173" })
|
|
29451
29447
|
] }),
|
|
29452
|
-
/* @__PURE__ */
|
|
29453
|
-
(W.enabled_graph !== void 0 || W.enableKG !== void 0) && /* @__PURE__ */
|
|
29454
|
-
/* @__PURE__ */
|
|
29455
|
-
/* @__PURE__ */
|
|
29448
|
+
/* @__PURE__ */ w.jsxs(Vd, { theme: R, children: [
|
|
29449
|
+
(W.enabled_graph !== void 0 || W.enableKG !== void 0) && /* @__PURE__ */ w.jsxs(br, { theme: R, children: [
|
|
29450
|
+
/* @__PURE__ */ w.jsx(yr, { theme: R, children: "\u56FE\u8C31\u589E\u5F3A" }),
|
|
29451
|
+
/* @__PURE__ */ w.jsx(
|
|
29456
29452
|
Qo,
|
|
29457
29453
|
{
|
|
29458
29454
|
theme: R,
|
|
@@ -29461,9 +29457,9 @@ const N7 = Me.div.attrs({
|
|
|
29461
29457
|
}
|
|
29462
29458
|
)
|
|
29463
29459
|
] }),
|
|
29464
|
-
W.enableThinking !== void 0 && /* @__PURE__ */
|
|
29465
|
-
/* @__PURE__ */
|
|
29466
|
-
/* @__PURE__ */
|
|
29460
|
+
W.enableThinking !== void 0 && /* @__PURE__ */ w.jsxs(br, { theme: R, children: [
|
|
29461
|
+
/* @__PURE__ */ w.jsx(yr, { theme: R, children: "\u6DF1\u5EA6\u601D\u8003" }),
|
|
29462
|
+
/* @__PURE__ */ w.jsx(
|
|
29467
29463
|
Qo,
|
|
29468
29464
|
{
|
|
29469
29465
|
theme: R,
|
|
@@ -29472,9 +29468,9 @@ const N7 = Me.div.attrs({
|
|
|
29472
29468
|
}
|
|
29473
29469
|
)
|
|
29474
29470
|
] }),
|
|
29475
|
-
(W.enabled_llm !== void 0 || W.enableLLM !== void 0) && /* @__PURE__ */
|
|
29476
|
-
/* @__PURE__ */
|
|
29477
|
-
/* @__PURE__ */
|
|
29471
|
+
(W.enabled_llm !== void 0 || W.enableLLM !== void 0) && /* @__PURE__ */ w.jsxs(br, { theme: R, children: [
|
|
29472
|
+
/* @__PURE__ */ w.jsx(yr, { theme: R, children: "\u542F\u7528LLM" }),
|
|
29473
|
+
/* @__PURE__ */ w.jsx(
|
|
29478
29474
|
Qo,
|
|
29479
29475
|
{
|
|
29480
29476
|
theme: R,
|
|
@@ -29485,12 +29481,12 @@ const N7 = Me.div.attrs({
|
|
|
29485
29481
|
] })
|
|
29486
29482
|
] })
|
|
29487
29483
|
] })
|
|
29488
|
-
] }) : /* @__PURE__ */
|
|
29484
|
+
] }) : /* @__PURE__ */ w.jsx(Hs, { theme: R, children: "\u6682\u65E0\u68C0\u7D22\u914D\u7F6E" }) })
|
|
29489
29485
|
] })
|
|
29490
29486
|
] })
|
|
29491
29487
|
] })
|
|
29492
29488
|
] });
|
|
29493
|
-
return /* @__PURE__ */
|
|
29489
|
+
return /* @__PURE__ */ w.jsx(D7, { theme: R, children: n ? Le() : Je() });
|
|
29494
29490
|
}, V7 = Me.div`
|
|
29495
29491
|
position: relative;
|
|
29496
29492
|
width: 100%;
|
|
@@ -29767,13 +29763,13 @@ const N7 = Me.div.attrs({
|
|
|
29767
29763
|
right: 0,
|
|
29768
29764
|
height: `${r}px`
|
|
29769
29765
|
} : {};
|
|
29770
|
-
return /* @__PURE__ */
|
|
29766
|
+
return /* @__PURE__ */ w.jsx(
|
|
29771
29767
|
"div",
|
|
29772
29768
|
{
|
|
29773
29769
|
style: Je,
|
|
29774
29770
|
onClick: () => O?.(ue.id, ue),
|
|
29775
29771
|
className: O ? "cursor-pointer hover:bg-gray-50" : "",
|
|
29776
|
-
children: /* @__PURE__ */
|
|
29772
|
+
children: /* @__PURE__ */ w.jsx(
|
|
29777
29773
|
Da,
|
|
29778
29774
|
{
|
|
29779
29775
|
dataSource: Le,
|
|
@@ -29793,11 +29789,11 @@ const N7 = Me.div.attrs({
|
|
|
29793
29789
|
},
|
|
29794
29790
|
ue.id
|
|
29795
29791
|
);
|
|
29796
|
-
}, [t, r, H, y, O]), re = () => (console.log("[Markdownit] renderContent segments.len:", z.length, "enableVirtualScroll:", t), z.length === 0 ? /* @__PURE__ */
|
|
29797
|
-
/* @__PURE__ */
|
|
29798
|
-
/* @__PURE__ */
|
|
29799
|
-
] }) : t ? /* @__PURE__ */
|
|
29800
|
-
return /* @__PURE__ */
|
|
29792
|
+
}, [t, r, H, y, O]), re = () => (console.log("[Markdownit] renderContent segments.len:", z.length, "enableVirtualScroll:", t), z.length === 0 ? /* @__PURE__ */ w.jsxs(K7, { theme: H, children: [
|
|
29793
|
+
/* @__PURE__ */ w.jsx("h3", { children: "\u6682\u65E0\u5185\u5BB9" }),
|
|
29794
|
+
/* @__PURE__ */ w.jsx("p", { children: "\u8BF7\u6DFB\u52A0\u4E00\u4E9B\u5185\u5BB9\u6765\u5F00\u59CB" })
|
|
29795
|
+
] }) : t ? /* @__PURE__ */ w.jsx("div", { ref: de, style: { height: Ae, position: "relative" }, children: ie.map(W) }) : /* @__PURE__ */ w.jsx("div", { ref: de, children: z.map(W) })), Q = () => !R && !c ? null : /* @__PURE__ */ w.jsx(Y7, { theme: H, children: c ? "\u52A0\u8F7D\u66F4\u591A\u5185\u5BB9..." : "\u52A0\u8F7D\u4E2D..." });
|
|
29796
|
+
return /* @__PURE__ */ w.jsx(
|
|
29801
29797
|
V7,
|
|
29802
29798
|
{
|
|
29803
29799
|
ref: pe,
|
|
@@ -29805,15 +29801,15 @@ const N7 = Me.div.attrs({
|
|
|
29805
29801
|
$isVirtualized: t,
|
|
29806
29802
|
className: N,
|
|
29807
29803
|
style: { height: I, ...g },
|
|
29808
|
-
children: t ? /* @__PURE__ */
|
|
29804
|
+
children: t ? /* @__PURE__ */ w.jsx(
|
|
29809
29805
|
G7,
|
|
29810
29806
|
{
|
|
29811
29807
|
ref: $,
|
|
29812
29808
|
theme: H,
|
|
29813
29809
|
onScroll: me,
|
|
29814
|
-
children: /* @__PURE__ */
|
|
29810
|
+
children: /* @__PURE__ */ w.jsx(Gd, { theme: H, height: Ae, children: re() })
|
|
29815
29811
|
}
|
|
29816
|
-
) : /* @__PURE__ */
|
|
29812
|
+
) : /* @__PURE__ */ w.jsxs(
|
|
29817
29813
|
Gd,
|
|
29818
29814
|
{
|
|
29819
29815
|
theme: H,
|
|
@@ -29835,7 +29831,7 @@ const N7 = Me.div.attrs({
|
|
|
29835
29831
|
n && (console.log("[Markdownit _onRendered] fired"), t(n));
|
|
29836
29832
|
});
|
|
29837
29833
|
return () => cancelAnimationFrame(r);
|
|
29838
|
-
}, [e.dataSource, e.enableVirtualScroll, t]), /* @__PURE__ */
|
|
29834
|
+
}, [e.dataSource, e.enableVirtualScroll, t]), /* @__PURE__ */ w.jsx("div", { "data-markdownit-root": "1", children: /* @__PURE__ */ w.jsx(X7, { ...e }) });
|
|
29839
29835
|
};
|
|
29840
29836
|
Me.div`
|
|
29841
29837
|
background: #f6f8fa;
|
|
@@ -30078,7 +30074,7 @@ ${n.value || n.placeholder}\`\`\`
|
|
|
30078
30074
|
// <Instructions>
|
|
30079
30075
|
// 点击蓝色字段进行编辑,编辑完成后内容会自动更新。
|
|
30080
30076
|
// </Instructions>
|
|
30081
|
-
/* @__PURE__ */
|
|
30077
|
+
/* @__PURE__ */ w.jsx(
|
|
30082
30078
|
Da,
|
|
30083
30079
|
{
|
|
30084
30080
|
dataSource: {
|