minerva-plexus-csd 1.1.7 → 1.1.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/dist/minerva-plexus-csd.es.js +806 -800
- package/dist/minerva-plexus-csd.umd.js +20 -20
- package/package.json +1 -1
|
@@ -53,47 +53,47 @@ function zv() {
|
|
|
53
53
|
function T(A) {
|
|
54
54
|
if (A === null || typeof A != "object")
|
|
55
55
|
return null;
|
|
56
|
-
var
|
|
57
|
-
return typeof
|
|
56
|
+
var $ = S && A[S] || A[x];
|
|
57
|
+
return typeof $ == "function" ? $ : null;
|
|
58
58
|
}
|
|
59
59
|
var y = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
60
60
|
function m(A) {
|
|
61
61
|
{
|
|
62
|
-
for (var
|
|
62
|
+
for (var $ = arguments.length, X = new Array($ > 1 ? $ - 1 : 0), oe = 1; oe < $; oe++)
|
|
63
63
|
X[oe - 1] = arguments[oe];
|
|
64
64
|
_("error", A, X);
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
-
function _(A,
|
|
67
|
+
function _(A, $, X) {
|
|
68
68
|
{
|
|
69
69
|
var oe = y.ReactDebugCurrentFrame, me = oe.getStackAddendum();
|
|
70
|
-
me !== "" && (
|
|
70
|
+
me !== "" && ($ += "%s", X = X.concat([me]));
|
|
71
71
|
var Ee = X.map(function(pe) {
|
|
72
72
|
return String(pe);
|
|
73
73
|
});
|
|
74
|
-
Ee.unshift("Warning: " +
|
|
74
|
+
Ee.unshift("Warning: " + $), Function.prototype.apply.call(console[A], console, Ee);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
var h = !1, b = !1, R = !1,
|
|
78
|
-
|
|
77
|
+
var h = !1, b = !1, R = !1, D = !1, k = !1, L;
|
|
78
|
+
L = Symbol.for("react.module.reference");
|
|
79
79
|
function N(A) {
|
|
80
|
-
return !!(typeof A == "string" || typeof A == "function" || A === a || A === o || k || A === i || A === c || A === d ||
|
|
80
|
+
return !!(typeof A == "string" || typeof A == "function" || A === a || A === o || k || A === i || A === c || A === d || D || A === E || h || b || R || typeof A == "object" && A !== null && (A.$$typeof === p || A.$$typeof === f || A.$$typeof === s || A.$$typeof === l || A.$$typeof === u || // This needs to include all possible module reference object
|
|
81
81
|
// types supported by any Flight configuration anywhere since
|
|
82
82
|
// we don't know which Flight build this will end up being used
|
|
83
83
|
// with.
|
|
84
|
-
A.$$typeof ===
|
|
84
|
+
A.$$typeof === L || A.getModuleId !== void 0));
|
|
85
85
|
}
|
|
86
|
-
function O(A,
|
|
86
|
+
function O(A, $, X) {
|
|
87
87
|
var oe = A.displayName;
|
|
88
88
|
if (oe)
|
|
89
89
|
return oe;
|
|
90
|
-
var me =
|
|
90
|
+
var me = $.displayName || $.name || "";
|
|
91
91
|
return me !== "" ? X + "(" + me + ")" : X;
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function B(A) {
|
|
94
94
|
return A.displayName || "Context";
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function G(A) {
|
|
97
97
|
if (A == null)
|
|
98
98
|
return null;
|
|
99
99
|
if (typeof A.tag == "number" && m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof A == "function")
|
|
@@ -117,20 +117,20 @@ function zv() {
|
|
|
117
117
|
if (typeof A == "object")
|
|
118
118
|
switch (A.$$typeof) {
|
|
119
119
|
case l:
|
|
120
|
-
var
|
|
121
|
-
return $
|
|
120
|
+
var $ = A;
|
|
121
|
+
return B($) + ".Consumer";
|
|
122
122
|
case s:
|
|
123
123
|
var X = A;
|
|
124
|
-
return
|
|
124
|
+
return B(X._context) + ".Provider";
|
|
125
125
|
case u:
|
|
126
126
|
return O(A, A.render, "ForwardRef");
|
|
127
127
|
case f:
|
|
128
128
|
var oe = A.displayName || null;
|
|
129
|
-
return oe !== null ? oe :
|
|
129
|
+
return oe !== null ? oe : G(A.type) || "Memo";
|
|
130
130
|
case p: {
|
|
131
131
|
var me = A, Ee = me._payload, pe = me._init;
|
|
132
132
|
try {
|
|
133
|
-
return
|
|
133
|
+
return G(pe(Ee));
|
|
134
134
|
} catch {
|
|
135
135
|
return null;
|
|
136
136
|
}
|
|
@@ -138,14 +138,14 @@ function zv() {
|
|
|
138
138
|
}
|
|
139
139
|
return null;
|
|
140
140
|
}
|
|
141
|
-
var
|
|
141
|
+
var F = Object.assign, q = 0, W, H, J, w, I, U, C;
|
|
142
142
|
function Y() {
|
|
143
143
|
}
|
|
144
144
|
Y.__reactDisabledLog = !0;
|
|
145
145
|
function K() {
|
|
146
146
|
{
|
|
147
|
-
if (
|
|
148
|
-
W = console.log,
|
|
147
|
+
if (q === 0) {
|
|
148
|
+
W = console.log, H = console.info, J = console.warn, w = console.error, I = console.group, U = console.groupCollapsed, C = console.groupEnd;
|
|
149
149
|
var A = {
|
|
150
150
|
configurable: !0,
|
|
151
151
|
enumerable: !0,
|
|
@@ -162,46 +162,46 @@ function zv() {
|
|
|
162
162
|
groupEnd: A
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
|
-
|
|
165
|
+
q++;
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
168
|
function Z() {
|
|
169
169
|
{
|
|
170
|
-
if (
|
|
170
|
+
if (q--, q === 0) {
|
|
171
171
|
var A = {
|
|
172
172
|
configurable: !0,
|
|
173
173
|
enumerable: !0,
|
|
174
174
|
writable: !0
|
|
175
175
|
};
|
|
176
176
|
Object.defineProperties(console, {
|
|
177
|
-
log:
|
|
177
|
+
log: F({}, A, {
|
|
178
178
|
value: W
|
|
179
179
|
}),
|
|
180
|
-
info:
|
|
181
|
-
value:
|
|
180
|
+
info: F({}, A, {
|
|
181
|
+
value: H
|
|
182
182
|
}),
|
|
183
|
-
warn:
|
|
183
|
+
warn: F({}, A, {
|
|
184
184
|
value: J
|
|
185
185
|
}),
|
|
186
|
-
error:
|
|
186
|
+
error: F({}, A, {
|
|
187
187
|
value: w
|
|
188
188
|
}),
|
|
189
|
-
group:
|
|
189
|
+
group: F({}, A, {
|
|
190
190
|
value: I
|
|
191
191
|
}),
|
|
192
|
-
groupCollapsed:
|
|
193
|
-
value:
|
|
192
|
+
groupCollapsed: F({}, A, {
|
|
193
|
+
value: U
|
|
194
194
|
}),
|
|
195
|
-
groupEnd:
|
|
195
|
+
groupEnd: F({}, A, {
|
|
196
196
|
value: C
|
|
197
197
|
})
|
|
198
198
|
});
|
|
199
199
|
}
|
|
200
|
-
|
|
200
|
+
q < 0 && m("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
203
|
var Q = y.ReactCurrentDispatcher, ee;
|
|
204
|
-
function te(A,
|
|
204
|
+
function te(A, $, X) {
|
|
205
205
|
{
|
|
206
206
|
if (ee === void 0)
|
|
207
207
|
try {
|
|
@@ -219,7 +219,7 @@ function zv() {
|
|
|
219
219
|
var _e = typeof WeakMap == "function" ? WeakMap : Map;
|
|
220
220
|
ne = new _e();
|
|
221
221
|
}
|
|
222
|
-
function V(A,
|
|
222
|
+
function V(A, $) {
|
|
223
223
|
if (!A || ie)
|
|
224
224
|
return "";
|
|
225
225
|
{
|
|
@@ -234,7 +234,7 @@ function zv() {
|
|
|
234
234
|
var Ee;
|
|
235
235
|
Ee = Q.current, Q.current = null, K();
|
|
236
236
|
try {
|
|
237
|
-
if (
|
|
237
|
+
if ($) {
|
|
238
238
|
var pe = function() {
|
|
239
239
|
throw Error();
|
|
240
240
|
};
|
|
@@ -290,14 +290,14 @@ function zv() {
|
|
|
290
290
|
var an = A ? A.displayName || A.name : "", jt = an ? te(an) : "";
|
|
291
291
|
return typeof A == "function" && ne.set(A, jt), jt;
|
|
292
292
|
}
|
|
293
|
-
function De(A,
|
|
293
|
+
function De(A, $, X) {
|
|
294
294
|
return V(A, !1);
|
|
295
295
|
}
|
|
296
296
|
function lt(A) {
|
|
297
|
-
var
|
|
298
|
-
return !!(
|
|
297
|
+
var $ = A.prototype;
|
|
298
|
+
return !!($ && $.isReactComponent);
|
|
299
299
|
}
|
|
300
|
-
function Ze(A,
|
|
300
|
+
function Ze(A, $, X) {
|
|
301
301
|
if (A == null)
|
|
302
302
|
return "";
|
|
303
303
|
if (typeof A == "function")
|
|
@@ -315,11 +315,11 @@ function zv() {
|
|
|
315
315
|
case u:
|
|
316
316
|
return De(A.render);
|
|
317
317
|
case f:
|
|
318
|
-
return Ze(A.type,
|
|
318
|
+
return Ze(A.type, $, X);
|
|
319
319
|
case p: {
|
|
320
320
|
var oe = A, me = oe._payload, Ee = oe._init;
|
|
321
321
|
try {
|
|
322
|
-
return Ze(Ee(me),
|
|
322
|
+
return Ze(Ee(me), $, X);
|
|
323
323
|
} catch {
|
|
324
324
|
}
|
|
325
325
|
}
|
|
@@ -329,12 +329,12 @@ function zv() {
|
|
|
329
329
|
var ut = Object.prototype.hasOwnProperty, en = {}, Pt = y.ReactDebugCurrentFrame;
|
|
330
330
|
function Pe(A) {
|
|
331
331
|
if (A) {
|
|
332
|
-
var
|
|
332
|
+
var $ = A._owner, X = Ze(A.type, A._source, $ ? $.type : null);
|
|
333
333
|
Pt.setExtraStackFrame(X);
|
|
334
334
|
} else
|
|
335
335
|
Pt.setExtraStackFrame(null);
|
|
336
336
|
}
|
|
337
|
-
function _t(A,
|
|
337
|
+
function _t(A, $, X, oe, me) {
|
|
338
338
|
{
|
|
339
339
|
var Ee = Function.call.bind(ut);
|
|
340
340
|
for (var pe in A)
|
|
@@ -345,7 +345,7 @@ function zv() {
|
|
|
345
345
|
var Be = Error((oe || "React class") + ": " + X + " type `" + pe + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof A[pe] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
346
346
|
throw Be.name = "Invariant Violation", Be;
|
|
347
347
|
}
|
|
348
|
-
de = A[pe](
|
|
348
|
+
de = A[pe]($, pe, oe, X, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
349
349
|
} catch (Ae) {
|
|
350
350
|
de = Ae;
|
|
351
351
|
}
|
|
@@ -359,23 +359,23 @@ function zv() {
|
|
|
359
359
|
}
|
|
360
360
|
function Ut(A) {
|
|
361
361
|
{
|
|
362
|
-
var
|
|
362
|
+
var $ = typeof Symbol == "function" && Symbol.toStringTag, X = $ && A[Symbol.toStringTag] || A.constructor.name || "Object";
|
|
363
363
|
return X;
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
366
|
function nn(A) {
|
|
367
367
|
try {
|
|
368
|
-
return
|
|
368
|
+
return P(A), !1;
|
|
369
369
|
} catch {
|
|
370
370
|
return !0;
|
|
371
371
|
}
|
|
372
372
|
}
|
|
373
|
-
function
|
|
373
|
+
function P(A) {
|
|
374
374
|
return "" + A;
|
|
375
375
|
}
|
|
376
|
-
function
|
|
376
|
+
function z(A) {
|
|
377
377
|
if (nn(A))
|
|
378
|
-
return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ut(A)),
|
|
378
|
+
return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ut(A)), P(A);
|
|
379
379
|
}
|
|
380
380
|
var re = y.ReactCurrentOwner, ce = {
|
|
381
381
|
key: !0,
|
|
@@ -385,27 +385,27 @@ function zv() {
|
|
|
385
385
|
}, ge, je;
|
|
386
386
|
function Ct(A) {
|
|
387
387
|
if (ut.call(A, "ref")) {
|
|
388
|
-
var
|
|
389
|
-
if (
|
|
388
|
+
var $ = Object.getOwnPropertyDescriptor(A, "ref").get;
|
|
389
|
+
if ($ && $.isReactWarning)
|
|
390
390
|
return !1;
|
|
391
391
|
}
|
|
392
392
|
return A.ref !== void 0;
|
|
393
393
|
}
|
|
394
394
|
function ct(A) {
|
|
395
395
|
if (ut.call(A, "key")) {
|
|
396
|
-
var
|
|
397
|
-
if (
|
|
396
|
+
var $ = Object.getOwnPropertyDescriptor(A, "key").get;
|
|
397
|
+
if ($ && $.isReactWarning)
|
|
398
398
|
return !1;
|
|
399
399
|
}
|
|
400
400
|
return A.key !== void 0;
|
|
401
401
|
}
|
|
402
|
-
function Bt(A,
|
|
402
|
+
function Bt(A, $) {
|
|
403
403
|
typeof A.ref == "string" && re.current;
|
|
404
404
|
}
|
|
405
|
-
function $t(A,
|
|
405
|
+
function $t(A, $) {
|
|
406
406
|
{
|
|
407
407
|
var X = function() {
|
|
408
|
-
ge || (ge = !0, m("%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)",
|
|
408
|
+
ge || (ge = !0, m("%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)", $));
|
|
409
409
|
};
|
|
410
410
|
X.isReactWarning = !0, Object.defineProperty(A, "key", {
|
|
411
411
|
get: X,
|
|
@@ -413,10 +413,10 @@ function zv() {
|
|
|
413
413
|
});
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
|
-
function Ue(A,
|
|
416
|
+
function Ue(A, $) {
|
|
417
417
|
{
|
|
418
418
|
var X = function() {
|
|
419
|
-
je || (je = !0, m("%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)",
|
|
419
|
+
je || (je = !0, m("%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)", $));
|
|
420
420
|
};
|
|
421
421
|
X.isReactWarning = !0, Object.defineProperty(A, "ref", {
|
|
422
422
|
get: X,
|
|
@@ -424,13 +424,13 @@ function zv() {
|
|
|
424
424
|
});
|
|
425
425
|
}
|
|
426
426
|
}
|
|
427
|
-
var Rt = function(A,
|
|
427
|
+
var Rt = function(A, $, X, oe, me, Ee, pe) {
|
|
428
428
|
var de = {
|
|
429
429
|
// This tag allows us to uniquely identify this as a React Element
|
|
430
430
|
$$typeof: n,
|
|
431
431
|
// Built-in properties that belong on the element
|
|
432
432
|
type: A,
|
|
433
|
-
key:
|
|
433
|
+
key: $,
|
|
434
434
|
ref: X,
|
|
435
435
|
props: pe,
|
|
436
436
|
// Record the component responsible for creating this element.
|
|
@@ -453,12 +453,12 @@ function zv() {
|
|
|
453
453
|
value: me
|
|
454
454
|
}), Object.freeze && (Object.freeze(de.props), Object.freeze(de)), de;
|
|
455
455
|
};
|
|
456
|
-
function dt(A,
|
|
456
|
+
function dt(A, $, X, oe, me) {
|
|
457
457
|
{
|
|
458
458
|
var Ee, pe = {}, de = null, Be = null;
|
|
459
|
-
X !== void 0 && (
|
|
460
|
-
for (Ee in
|
|
461
|
-
ut.call(
|
|
459
|
+
X !== void 0 && (z(X), de = "" + X), ct($) && (z($.key), de = "" + $.key), Ct($) && (Be = $.ref, Bt($, me));
|
|
460
|
+
for (Ee in $)
|
|
461
|
+
ut.call($, Ee) && !ce.hasOwnProperty(Ee) && (pe[Ee] = $[Ee]);
|
|
462
462
|
if (A && A.defaultProps) {
|
|
463
463
|
var Ae = A.defaultProps;
|
|
464
464
|
for (Ee in Ae)
|
|
@@ -474,7 +474,7 @@ function zv() {
|
|
|
474
474
|
var Or = y.ReactCurrentOwner, Mc = y.ReactDebugCurrentFrame;
|
|
475
475
|
function rn(A) {
|
|
476
476
|
if (A) {
|
|
477
|
-
var
|
|
477
|
+
var $ = A._owner, X = Ze(A.type, A._source, $ ? $.type : null);
|
|
478
478
|
Mc.setExtraStackFrame(X);
|
|
479
479
|
} else
|
|
480
480
|
Mc.setExtraStackFrame(null);
|
|
@@ -487,7 +487,7 @@ function zv() {
|
|
|
487
487
|
function Fc() {
|
|
488
488
|
{
|
|
489
489
|
if (Or.current) {
|
|
490
|
-
var A =
|
|
490
|
+
var A = G(Or.current.type);
|
|
491
491
|
if (A)
|
|
492
492
|
return `
|
|
493
493
|
|
|
@@ -502,37 +502,37 @@ Check the render method of \`` + A + "`.";
|
|
|
502
502
|
var Pc = {};
|
|
503
503
|
function Rv(A) {
|
|
504
504
|
{
|
|
505
|
-
var
|
|
506
|
-
if (
|
|
505
|
+
var $ = Fc();
|
|
506
|
+
if (!$) {
|
|
507
507
|
var X = typeof A == "string" ? A : A.displayName || A.name;
|
|
508
|
-
X && (
|
|
508
|
+
X && ($ = `
|
|
509
509
|
|
|
510
510
|
Check the top-level render call using <` + X + ">.");
|
|
511
511
|
}
|
|
512
|
-
return
|
|
512
|
+
return $;
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
|
-
function Uc(A,
|
|
515
|
+
function Uc(A, $) {
|
|
516
516
|
{
|
|
517
517
|
if (!A._store || A._store.validated || A.key != null)
|
|
518
518
|
return;
|
|
519
519
|
A._store.validated = !0;
|
|
520
|
-
var X = Rv(
|
|
520
|
+
var X = Rv($);
|
|
521
521
|
if (Pc[X])
|
|
522
522
|
return;
|
|
523
523
|
Pc[X] = !0;
|
|
524
524
|
var oe = "";
|
|
525
|
-
A && A._owner && A._owner !== Or.current && (oe = " It was passed a child from " +
|
|
525
|
+
A && A._owner && A._owner !== Or.current && (oe = " It was passed a child from " + G(A._owner.type) + "."), rn(A), m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', X, oe), rn(null);
|
|
526
526
|
}
|
|
527
527
|
}
|
|
528
|
-
function Bc(A,
|
|
528
|
+
function Bc(A, $) {
|
|
529
529
|
{
|
|
530
530
|
if (typeof A != "object")
|
|
531
531
|
return;
|
|
532
532
|
if (At(A))
|
|
533
533
|
for (var X = 0; X < A.length; X++) {
|
|
534
534
|
var oe = A[X];
|
|
535
|
-
Dr(oe) && Uc(oe,
|
|
535
|
+
Dr(oe) && Uc(oe, $);
|
|
536
536
|
}
|
|
537
537
|
else if (Dr(A))
|
|
538
538
|
A._store && (A._store.validated = !0);
|
|
@@ -540,39 +540,39 @@ Check the top-level render call using <` + X + ">.");
|
|
|
540
540
|
var me = T(A);
|
|
541
541
|
if (typeof me == "function" && me !== A.entries)
|
|
542
542
|
for (var Ee = me.call(A), pe; !(pe = Ee.next()).done; )
|
|
543
|
-
Dr(pe.value) && Uc(pe.value,
|
|
543
|
+
Dr(pe.value) && Uc(pe.value, $);
|
|
544
544
|
}
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
547
|
function kv(A) {
|
|
548
548
|
{
|
|
549
|
-
var
|
|
550
|
-
if (
|
|
549
|
+
var $ = A.type;
|
|
550
|
+
if ($ == null || typeof $ == "string")
|
|
551
551
|
return;
|
|
552
552
|
var X;
|
|
553
|
-
if (typeof
|
|
554
|
-
X =
|
|
555
|
-
else if (typeof
|
|
553
|
+
if (typeof $ == "function")
|
|
554
|
+
X = $.propTypes;
|
|
555
|
+
else if (typeof $ == "object" && ($.$$typeof === u || // Note: Memo only checks outer props here.
|
|
556
556
|
// Inner props are checked in the reconciler.
|
|
557
|
-
|
|
558
|
-
X =
|
|
557
|
+
$.$$typeof === f))
|
|
558
|
+
X = $.propTypes;
|
|
559
559
|
else
|
|
560
560
|
return;
|
|
561
561
|
if (X) {
|
|
562
|
-
var oe =
|
|
562
|
+
var oe = G($);
|
|
563
563
|
_t(X, A.props, "prop", oe, A);
|
|
564
|
-
} else if (
|
|
564
|
+
} else if ($.PropTypes !== void 0 && !Lr) {
|
|
565
565
|
Lr = !0;
|
|
566
|
-
var me =
|
|
566
|
+
var me = G($);
|
|
567
567
|
m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", me || "Unknown");
|
|
568
568
|
}
|
|
569
|
-
typeof
|
|
569
|
+
typeof $.getDefaultProps == "function" && !$.getDefaultProps.isReactClassApproved && m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
572
|
function Iv(A) {
|
|
573
573
|
{
|
|
574
|
-
for (var
|
|
575
|
-
var oe =
|
|
574
|
+
for (var $ = Object.keys(A.props), X = 0; X < $.length; X++) {
|
|
575
|
+
var oe = $[X];
|
|
576
576
|
if (oe !== "children" && oe !== "key") {
|
|
577
577
|
rn(A), m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", oe), rn(null);
|
|
578
578
|
break;
|
|
@@ -582,7 +582,7 @@ Check the top-level render call using <` + X + ">.");
|
|
|
582
582
|
}
|
|
583
583
|
}
|
|
584
584
|
var $c = {};
|
|
585
|
-
function jc(A,
|
|
585
|
+
function jc(A, $, X, oe, me, Ee) {
|
|
586
586
|
{
|
|
587
587
|
var pe = N(A);
|
|
588
588
|
if (!pe) {
|
|
@@ -591,13 +591,13 @@ Check the top-level render call using <` + X + ">.");
|
|
|
591
591
|
var Be = Av();
|
|
592
592
|
Be ? de += Be : de += Fc();
|
|
593
593
|
var Ae;
|
|
594
|
-
A === null ? Ae = "null" : At(A) ? Ae = "array" : A !== void 0 && A.$$typeof === n ? (Ae = "<" + (
|
|
594
|
+
A === null ? Ae = "null" : At(A) ? Ae = "array" : A !== void 0 && A.$$typeof === n ? (Ae = "<" + (G(A.type) || "Unknown") + " />", de = " Did you accidentally export a JSX literal instead of a component?") : Ae = typeof A, m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Ae, de);
|
|
595
595
|
}
|
|
596
|
-
var Re = dt(A,
|
|
596
|
+
var Re = dt(A, $, X, me, Ee);
|
|
597
597
|
if (Re == null)
|
|
598
598
|
return Re;
|
|
599
599
|
if (pe) {
|
|
600
|
-
var et =
|
|
600
|
+
var et = $.children;
|
|
601
601
|
if (et !== void 0)
|
|
602
602
|
if (oe)
|
|
603
603
|
if (At(et)) {
|
|
@@ -609,8 +609,8 @@ Check the top-level render call using <` + X + ">.");
|
|
|
609
609
|
else
|
|
610
610
|
Bc(et, A);
|
|
611
611
|
}
|
|
612
|
-
if (ut.call(
|
|
613
|
-
var jt =
|
|
612
|
+
if (ut.call($, "key")) {
|
|
613
|
+
var jt = G(A), qe = Object.keys($).filter(function(Fv) {
|
|
614
614
|
return Fv !== "key";
|
|
615
615
|
}), Mr = qe.length > 0 ? "{key: someKey, " + qe.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
616
616
|
if (!$c[jt + Mr]) {
|
|
@@ -626,11 +626,11 @@ React keys must be passed directly to JSX without using spread:
|
|
|
626
626
|
return A === a ? Iv(Re) : kv(Re), Re;
|
|
627
627
|
}
|
|
628
628
|
}
|
|
629
|
-
function Nv(A,
|
|
630
|
-
return jc(A,
|
|
629
|
+
function Nv(A, $, X) {
|
|
630
|
+
return jc(A, $, X, !0);
|
|
631
631
|
}
|
|
632
|
-
function Ov(A,
|
|
633
|
-
return jc(A,
|
|
632
|
+
function Ov(A, $, X) {
|
|
633
|
+
return jc(A, $, X, !1);
|
|
634
634
|
}
|
|
635
635
|
var Lv = Ov, Dv = Nv;
|
|
636
636
|
Tn.Fragment = a, Tn.jsx = Lv, Tn.jsxs = Dv;
|
|
@@ -2242,40 +2242,40 @@ const f1 = {
|
|
|
2242
2242
|
service: d,
|
|
2243
2243
|
serviceTicketing: f,
|
|
2244
2244
|
serviceTicketingNoUSer: p
|
|
2245
|
-
} = zn(), [E, S] = ye(""), [x, T] = ye(!1), [y, m] = ye(!1), [_, h] = ye(null), b = (
|
|
2246
|
-
h(
|
|
2245
|
+
} = zn(), [E, S] = ye(""), [x, T] = ye(!1), [y, m] = ye(!1), [_, h] = ye(null), b = (L) => {
|
|
2246
|
+
h(L), L.success || setTimeout(() => h(null), 5e3);
|
|
2247
2247
|
}, R = async () => {
|
|
2248
2248
|
if (!E.trim()) return;
|
|
2249
|
-
let
|
|
2250
|
-
if (S(""), T(!0), !
|
|
2249
|
+
let L = l == null ? void 0 : l.id;
|
|
2250
|
+
if (S(""), T(!0), !L) {
|
|
2251
2251
|
const N = e("text.new_conversation");
|
|
2252
2252
|
try {
|
|
2253
|
-
|
|
2253
|
+
L = (await u(
|
|
2254
2254
|
N,
|
|
2255
2255
|
d
|
|
2256
|
-
)).id, c(
|
|
2256
|
+
)).id, c(L, d);
|
|
2257
2257
|
} catch (O) {
|
|
2258
2258
|
console.error("Error creating new conversation:", O), T(!1);
|
|
2259
2259
|
return;
|
|
2260
2260
|
}
|
|
2261
2261
|
}
|
|
2262
|
-
if (
|
|
2262
|
+
if (L)
|
|
2263
2263
|
try {
|
|
2264
|
-
await t(
|
|
2264
|
+
await t(L, E, d), T(!1);
|
|
2265
2265
|
} catch (N) {
|
|
2266
2266
|
console.error("Error sending message:", N), T(!1);
|
|
2267
2267
|
}
|
|
2268
2268
|
else
|
|
2269
2269
|
console.error("No conversation selected or user ID is not available"), T(!1);
|
|
2270
|
-
},
|
|
2271
|
-
|
|
2270
|
+
}, D = (L) => {
|
|
2271
|
+
L.key === "Enter" && !L.shiftKey && (L.preventDefault(), R());
|
|
2272
2272
|
}, k = async () => {
|
|
2273
2273
|
if (!(!(l != null && l.id) || y)) {
|
|
2274
2274
|
m(!0);
|
|
2275
2275
|
try {
|
|
2276
2276
|
await r(l.id) || console.warn("No se pudo detener el streaming correctamente");
|
|
2277
|
-
} catch (
|
|
2278
|
-
console.error("Error al detener el streaming:",
|
|
2277
|
+
} catch (L) {
|
|
2278
|
+
console.error("Error al detener el streaming:", L);
|
|
2279
2279
|
} finally {
|
|
2280
2280
|
m(!1);
|
|
2281
2281
|
}
|
|
@@ -2294,7 +2294,7 @@ const f1 = {
|
|
|
2294
2294
|
handleStopStreaming: k,
|
|
2295
2295
|
handleInput: () => {
|
|
2296
2296
|
},
|
|
2297
|
-
handleKeyPress:
|
|
2297
|
+
handleKeyPress: D
|
|
2298
2298
|
}
|
|
2299
2299
|
) : /* @__PURE__ */ g.jsx(
|
|
2300
2300
|
b1,
|
|
@@ -2519,7 +2519,7 @@ Ye.prototype.property = "";
|
|
|
2519
2519
|
Ye.prototype.spaceSeparated = !1;
|
|
2520
2520
|
Ye.prototype.space = void 0;
|
|
2521
2521
|
let M1 = 0;
|
|
2522
|
-
const le = Xt(), ke = Xt(), pu = Xt(),
|
|
2522
|
+
const le = Xt(), ke = Xt(), pu = Xt(), j = Xt(), ve = Xt(), pn = Xt(), Xe = Xt();
|
|
2523
2523
|
function Xt() {
|
|
2524
2524
|
return 2 ** ++M1;
|
|
2525
2525
|
}
|
|
@@ -2529,7 +2529,7 @@ const fu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2529
2529
|
booleanish: ke,
|
|
2530
2530
|
commaOrSpaceSeparated: Xe,
|
|
2531
2531
|
commaSeparated: pn,
|
|
2532
|
-
number:
|
|
2532
|
+
number: j,
|
|
2533
2533
|
overloadedBoolean: pu,
|
|
2534
2534
|
spaceSeparated: ve
|
|
2535
2535
|
}, Symbol.toStringTag, { value: "Module" })), Fr = (
|
|
@@ -2583,9 +2583,9 @@ const oy = vn({
|
|
|
2583
2583
|
ariaAutoComplete: null,
|
|
2584
2584
|
ariaBusy: ke,
|
|
2585
2585
|
ariaChecked: ke,
|
|
2586
|
-
ariaColCount:
|
|
2587
|
-
ariaColIndex:
|
|
2588
|
-
ariaColSpan:
|
|
2586
|
+
ariaColCount: j,
|
|
2587
|
+
ariaColIndex: j,
|
|
2588
|
+
ariaColSpan: j,
|
|
2589
2589
|
ariaControls: ve,
|
|
2590
2590
|
ariaCurrent: null,
|
|
2591
2591
|
ariaDescribedBy: ve,
|
|
@@ -2602,7 +2602,7 @@ const oy = vn({
|
|
|
2602
2602
|
ariaKeyShortcuts: null,
|
|
2603
2603
|
ariaLabel: null,
|
|
2604
2604
|
ariaLabelledBy: ve,
|
|
2605
|
-
ariaLevel:
|
|
2605
|
+
ariaLevel: j,
|
|
2606
2606
|
ariaLive: null,
|
|
2607
2607
|
ariaModal: ke,
|
|
2608
2608
|
ariaMultiLine: ke,
|
|
@@ -2610,21 +2610,21 @@ const oy = vn({
|
|
|
2610
2610
|
ariaOrientation: null,
|
|
2611
2611
|
ariaOwns: ve,
|
|
2612
2612
|
ariaPlaceholder: null,
|
|
2613
|
-
ariaPosInSet:
|
|
2613
|
+
ariaPosInSet: j,
|
|
2614
2614
|
ariaPressed: ke,
|
|
2615
2615
|
ariaReadOnly: ke,
|
|
2616
2616
|
ariaRelevant: null,
|
|
2617
2617
|
ariaRequired: ke,
|
|
2618
2618
|
ariaRoleDescription: ve,
|
|
2619
|
-
ariaRowCount:
|
|
2620
|
-
ariaRowIndex:
|
|
2621
|
-
ariaRowSpan:
|
|
2619
|
+
ariaRowCount: j,
|
|
2620
|
+
ariaRowIndex: j,
|
|
2621
|
+
ariaRowSpan: j,
|
|
2622
2622
|
ariaSelected: ke,
|
|
2623
|
-
ariaSetSize:
|
|
2623
|
+
ariaSetSize: j,
|
|
2624
2624
|
ariaSort: null,
|
|
2625
|
-
ariaValueMax:
|
|
2626
|
-
ariaValueMin:
|
|
2627
|
-
ariaValueNow:
|
|
2625
|
+
ariaValueMax: j,
|
|
2626
|
+
ariaValueMin: j,
|
|
2627
|
+
ariaValueNow: j,
|
|
2628
2628
|
ariaValueText: null,
|
|
2629
2629
|
role: null
|
|
2630
2630
|
},
|
|
@@ -2670,13 +2670,13 @@ const F1 = vn({
|
|
|
2670
2670
|
checked: le,
|
|
2671
2671
|
cite: null,
|
|
2672
2672
|
className: ve,
|
|
2673
|
-
cols:
|
|
2673
|
+
cols: j,
|
|
2674
2674
|
colSpan: null,
|
|
2675
2675
|
content: null,
|
|
2676
2676
|
contentEditable: ke,
|
|
2677
2677
|
controls: le,
|
|
2678
2678
|
controlsList: ve,
|
|
2679
|
-
coords:
|
|
2679
|
+
coords: j | pn,
|
|
2680
2680
|
crossOrigin: null,
|
|
2681
2681
|
data: null,
|
|
2682
2682
|
dateTime: null,
|
|
@@ -2698,9 +2698,9 @@ const F1 = vn({
|
|
|
2698
2698
|
formNoValidate: le,
|
|
2699
2699
|
formTarget: null,
|
|
2700
2700
|
headers: ve,
|
|
2701
|
-
height:
|
|
2701
|
+
height: j,
|
|
2702
2702
|
hidden: pu,
|
|
2703
|
-
high:
|
|
2703
|
+
high: j,
|
|
2704
2704
|
href: null,
|
|
2705
2705
|
hrefLang: null,
|
|
2706
2706
|
htmlFor: ve,
|
|
@@ -2725,14 +2725,14 @@ const F1 = vn({
|
|
|
2725
2725
|
list: null,
|
|
2726
2726
|
loading: null,
|
|
2727
2727
|
loop: le,
|
|
2728
|
-
low:
|
|
2728
|
+
low: j,
|
|
2729
2729
|
manifest: null,
|
|
2730
2730
|
max: null,
|
|
2731
|
-
maxLength:
|
|
2731
|
+
maxLength: j,
|
|
2732
2732
|
media: null,
|
|
2733
2733
|
method: null,
|
|
2734
2734
|
min: null,
|
|
2735
|
-
minLength:
|
|
2735
|
+
minLength: j,
|
|
2736
2736
|
multiple: le,
|
|
2737
2737
|
muted: le,
|
|
2738
2738
|
name: null,
|
|
@@ -2828,7 +2828,7 @@ const F1 = vn({
|
|
|
2828
2828
|
onWaiting: null,
|
|
2829
2829
|
onWheel: null,
|
|
2830
2830
|
open: le,
|
|
2831
|
-
optimum:
|
|
2831
|
+
optimum: j,
|
|
2832
2832
|
pattern: null,
|
|
2833
2833
|
ping: ve,
|
|
2834
2834
|
placeholder: null,
|
|
@@ -2843,8 +2843,8 @@ const F1 = vn({
|
|
|
2843
2843
|
rel: ve,
|
|
2844
2844
|
required: le,
|
|
2845
2845
|
reversed: le,
|
|
2846
|
-
rows:
|
|
2847
|
-
rowSpan:
|
|
2846
|
+
rows: j,
|
|
2847
|
+
rowSpan: j,
|
|
2848
2848
|
sandbox: ve,
|
|
2849
2849
|
scope: null,
|
|
2850
2850
|
scoped: le,
|
|
@@ -2854,19 +2854,19 @@ const F1 = vn({
|
|
|
2854
2854
|
shadowRootDelegatesFocus: le,
|
|
2855
2855
|
shadowRootMode: null,
|
|
2856
2856
|
shape: null,
|
|
2857
|
-
size:
|
|
2857
|
+
size: j,
|
|
2858
2858
|
sizes: null,
|
|
2859
2859
|
slot: null,
|
|
2860
|
-
span:
|
|
2860
|
+
span: j,
|
|
2861
2861
|
spellCheck: ke,
|
|
2862
2862
|
src: null,
|
|
2863
2863
|
srcDoc: null,
|
|
2864
2864
|
srcLang: null,
|
|
2865
2865
|
srcSet: null,
|
|
2866
|
-
start:
|
|
2866
|
+
start: j,
|
|
2867
2867
|
step: null,
|
|
2868
2868
|
style: null,
|
|
2869
|
-
tabIndex:
|
|
2869
|
+
tabIndex: j,
|
|
2870
2870
|
target: null,
|
|
2871
2871
|
title: null,
|
|
2872
2872
|
translate: null,
|
|
@@ -2874,7 +2874,7 @@ const F1 = vn({
|
|
|
2874
2874
|
typeMustMatch: le,
|
|
2875
2875
|
useMap: null,
|
|
2876
2876
|
value: ke,
|
|
2877
|
-
width:
|
|
2877
|
+
width: j,
|
|
2878
2878
|
wrap: null,
|
|
2879
2879
|
writingSuggestions: null,
|
|
2880
2880
|
// Legacy.
|
|
@@ -2891,11 +2891,11 @@ const F1 = vn({
|
|
|
2891
2891
|
// `<body>`. Use CSS `background-image` instead
|
|
2892
2892
|
bgColor: null,
|
|
2893
2893
|
// `<body>` and table elements. Use CSS `background-color` instead
|
|
2894
|
-
border:
|
|
2894
|
+
border: j,
|
|
2895
2895
|
// `<table>`. Use CSS `border-width` instead,
|
|
2896
2896
|
borderColor: null,
|
|
2897
2897
|
// `<table>`. Use CSS `border-color` instead,
|
|
2898
|
-
bottomMargin:
|
|
2898
|
+
bottomMargin: j,
|
|
2899
2899
|
// `<body>`
|
|
2900
2900
|
cellPadding: null,
|
|
2901
2901
|
// `<table>`
|
|
@@ -2929,9 +2929,9 @@ const F1 = vn({
|
|
|
2929
2929
|
// `<table>`
|
|
2930
2930
|
frameBorder: null,
|
|
2931
2931
|
// `<iframe>`. Use CSS `border` instead
|
|
2932
|
-
hSpace:
|
|
2932
|
+
hSpace: j,
|
|
2933
2933
|
// `<img>` and `<object>`
|
|
2934
|
-
leftMargin:
|
|
2934
|
+
leftMargin: j,
|
|
2935
2935
|
// `<body>`
|
|
2936
2936
|
link: null,
|
|
2937
2937
|
// `<body>`. Use CSS `a:link {color: *}` instead
|
|
@@ -2939,9 +2939,9 @@ const F1 = vn({
|
|
|
2939
2939
|
// `<frame>`, `<iframe>`, and `<img>`. Use an `<a>`
|
|
2940
2940
|
lowSrc: null,
|
|
2941
2941
|
// `<img>`. Use a `<picture>`
|
|
2942
|
-
marginHeight:
|
|
2942
|
+
marginHeight: j,
|
|
2943
2943
|
// `<body>`
|
|
2944
|
-
marginWidth:
|
|
2944
|
+
marginWidth: j,
|
|
2945
2945
|
// `<body>`
|
|
2946
2946
|
noResize: le,
|
|
2947
2947
|
// `<frame>`
|
|
@@ -2959,7 +2959,7 @@ const F1 = vn({
|
|
|
2959
2959
|
// `<isindex>`
|
|
2960
2960
|
rev: null,
|
|
2961
2961
|
// `<link>`
|
|
2962
|
-
rightMargin:
|
|
2962
|
+
rightMargin: j,
|
|
2963
2963
|
// `<body>`
|
|
2964
2964
|
rules: null,
|
|
2965
2965
|
// `<table>`
|
|
@@ -2973,7 +2973,7 @@ const F1 = vn({
|
|
|
2973
2973
|
// `<table>`
|
|
2974
2974
|
text: null,
|
|
2975
2975
|
// `<body>`. Use CSS `color` instead
|
|
2976
|
-
topMargin:
|
|
2976
|
+
topMargin: j,
|
|
2977
2977
|
// `<body>`
|
|
2978
2978
|
valueType: null,
|
|
2979
2979
|
// `<param>`
|
|
@@ -2983,7 +2983,7 @@ const F1 = vn({
|
|
|
2983
2983
|
// Several. Use CSS `vertical-align` instead
|
|
2984
2984
|
vLink: null,
|
|
2985
2985
|
// `<body>`. Use CSS `a:visited {color}` instead
|
|
2986
|
-
vSpace:
|
|
2986
|
+
vSpace: j,
|
|
2987
2987
|
// `<img>` and `<object>`
|
|
2988
2988
|
// Non-standard Properties.
|
|
2989
2989
|
allowTransparency: null,
|
|
@@ -2993,7 +2993,7 @@ const F1 = vn({
|
|
|
2993
2993
|
disableRemotePlayback: le,
|
|
2994
2994
|
prefix: null,
|
|
2995
2995
|
property: null,
|
|
2996
|
-
results:
|
|
2996
|
+
results: j,
|
|
2997
2997
|
security: null,
|
|
2998
2998
|
unselectable: null
|
|
2999
2999
|
},
|
|
@@ -3177,27 +3177,27 @@ const F1 = vn({
|
|
|
3177
3177
|
},
|
|
3178
3178
|
properties: {
|
|
3179
3179
|
about: Xe,
|
|
3180
|
-
accentHeight:
|
|
3180
|
+
accentHeight: j,
|
|
3181
3181
|
accumulate: null,
|
|
3182
3182
|
additive: null,
|
|
3183
3183
|
alignmentBaseline: null,
|
|
3184
|
-
alphabetic:
|
|
3185
|
-
amplitude:
|
|
3184
|
+
alphabetic: j,
|
|
3185
|
+
amplitude: j,
|
|
3186
3186
|
arabicForm: null,
|
|
3187
|
-
ascent:
|
|
3187
|
+
ascent: j,
|
|
3188
3188
|
attributeName: null,
|
|
3189
3189
|
attributeType: null,
|
|
3190
|
-
azimuth:
|
|
3190
|
+
azimuth: j,
|
|
3191
3191
|
bandwidth: null,
|
|
3192
3192
|
baselineShift: null,
|
|
3193
3193
|
baseFrequency: null,
|
|
3194
3194
|
baseProfile: null,
|
|
3195
3195
|
bbox: null,
|
|
3196
3196
|
begin: null,
|
|
3197
|
-
bias:
|
|
3197
|
+
bias: j,
|
|
3198
3198
|
by: null,
|
|
3199
3199
|
calcMode: null,
|
|
3200
|
-
capHeight:
|
|
3200
|
+
capHeight: j,
|
|
3201
3201
|
className: ve,
|
|
3202
3202
|
clip: null,
|
|
3203
3203
|
clipPath: null,
|
|
@@ -3218,26 +3218,26 @@ const F1 = vn({
|
|
|
3218
3218
|
d: null,
|
|
3219
3219
|
dataType: null,
|
|
3220
3220
|
defaultAction: null,
|
|
3221
|
-
descent:
|
|
3222
|
-
diffuseConstant:
|
|
3221
|
+
descent: j,
|
|
3222
|
+
diffuseConstant: j,
|
|
3223
3223
|
direction: null,
|
|
3224
3224
|
display: null,
|
|
3225
3225
|
dur: null,
|
|
3226
|
-
divisor:
|
|
3226
|
+
divisor: j,
|
|
3227
3227
|
dominantBaseline: null,
|
|
3228
3228
|
download: le,
|
|
3229
3229
|
dx: null,
|
|
3230
3230
|
dy: null,
|
|
3231
3231
|
edgeMode: null,
|
|
3232
3232
|
editable: null,
|
|
3233
|
-
elevation:
|
|
3233
|
+
elevation: j,
|
|
3234
3234
|
enableBackground: null,
|
|
3235
3235
|
end: null,
|
|
3236
3236
|
event: null,
|
|
3237
|
-
exponent:
|
|
3237
|
+
exponent: j,
|
|
3238
3238
|
externalResourcesRequired: null,
|
|
3239
3239
|
fill: null,
|
|
3240
|
-
fillOpacity:
|
|
3240
|
+
fillOpacity: j,
|
|
3241
3241
|
fillRule: null,
|
|
3242
3242
|
filter: null,
|
|
3243
3243
|
filterRes: null,
|
|
@@ -3267,27 +3267,27 @@ const F1 = vn({
|
|
|
3267
3267
|
gradientTransform: null,
|
|
3268
3268
|
gradientUnits: null,
|
|
3269
3269
|
handler: null,
|
|
3270
|
-
hanging:
|
|
3270
|
+
hanging: j,
|
|
3271
3271
|
hatchContentUnits: null,
|
|
3272
3272
|
hatchUnits: null,
|
|
3273
3273
|
height: null,
|
|
3274
3274
|
href: null,
|
|
3275
3275
|
hrefLang: null,
|
|
3276
|
-
horizAdvX:
|
|
3277
|
-
horizOriginX:
|
|
3278
|
-
horizOriginY:
|
|
3276
|
+
horizAdvX: j,
|
|
3277
|
+
horizOriginX: j,
|
|
3278
|
+
horizOriginY: j,
|
|
3279
3279
|
id: null,
|
|
3280
|
-
ideographic:
|
|
3280
|
+
ideographic: j,
|
|
3281
3281
|
imageRendering: null,
|
|
3282
3282
|
initialVisibility: null,
|
|
3283
3283
|
in: null,
|
|
3284
3284
|
in2: null,
|
|
3285
|
-
intercept:
|
|
3286
|
-
k:
|
|
3287
|
-
k1:
|
|
3288
|
-
k2:
|
|
3289
|
-
k3:
|
|
3290
|
-
k4:
|
|
3285
|
+
intercept: j,
|
|
3286
|
+
k: j,
|
|
3287
|
+
k1: j,
|
|
3288
|
+
k2: j,
|
|
3289
|
+
k3: j,
|
|
3290
|
+
k4: j,
|
|
3291
3291
|
kernelMatrix: Xe,
|
|
3292
3292
|
kernelUnitLength: null,
|
|
3293
3293
|
keyPoints: null,
|
|
@@ -3301,7 +3301,7 @@ const F1 = vn({
|
|
|
3301
3301
|
lengthAdjust: null,
|
|
3302
3302
|
letterSpacing: null,
|
|
3303
3303
|
lightingColor: null,
|
|
3304
|
-
limitingConeAngle:
|
|
3304
|
+
limitingConeAngle: j,
|
|
3305
3305
|
local: null,
|
|
3306
3306
|
markerEnd: null,
|
|
3307
3307
|
markerMid: null,
|
|
@@ -3317,7 +3317,7 @@ const F1 = vn({
|
|
|
3317
3317
|
media: null,
|
|
3318
3318
|
mediaCharacterEncoding: null,
|
|
3319
3319
|
mediaContentEncodings: null,
|
|
3320
|
-
mediaSize:
|
|
3320
|
+
mediaSize: j,
|
|
3321
3321
|
mediaTime: null,
|
|
3322
3322
|
method: null,
|
|
3323
3323
|
min: null,
|
|
@@ -3423,12 +3423,12 @@ const F1 = vn({
|
|
|
3423
3423
|
origin: null,
|
|
3424
3424
|
overflow: null,
|
|
3425
3425
|
overlay: null,
|
|
3426
|
-
overlinePosition:
|
|
3427
|
-
overlineThickness:
|
|
3426
|
+
overlinePosition: j,
|
|
3427
|
+
overlineThickness: j,
|
|
3428
3428
|
paintOrder: null,
|
|
3429
3429
|
panose1: null,
|
|
3430
3430
|
path: null,
|
|
3431
|
-
pathLength:
|
|
3431
|
+
pathLength: j,
|
|
3432
3432
|
patternContentUnits: null,
|
|
3433
3433
|
patternTransform: null,
|
|
3434
3434
|
patternUnits: null,
|
|
@@ -3438,9 +3438,9 @@ const F1 = vn({
|
|
|
3438
3438
|
playbackOrder: null,
|
|
3439
3439
|
pointerEvents: null,
|
|
3440
3440
|
points: null,
|
|
3441
|
-
pointsAtX:
|
|
3442
|
-
pointsAtY:
|
|
3443
|
-
pointsAtZ:
|
|
3441
|
+
pointsAtX: j,
|
|
3442
|
+
pointsAtY: j,
|
|
3443
|
+
pointsAtZ: j,
|
|
3444
3444
|
preserveAlpha: null,
|
|
3445
3445
|
preserveAspectRatio: null,
|
|
3446
3446
|
primitiveUnits: null,
|
|
@@ -3472,8 +3472,8 @@ const F1 = vn({
|
|
|
3472
3472
|
side: null,
|
|
3473
3473
|
slope: null,
|
|
3474
3474
|
snapshotTime: null,
|
|
3475
|
-
specularConstant:
|
|
3476
|
-
specularExponent:
|
|
3475
|
+
specularConstant: j,
|
|
3476
|
+
specularExponent: j,
|
|
3477
3477
|
spreadMethod: null,
|
|
3478
3478
|
spacing: null,
|
|
3479
3479
|
startOffset: null,
|
|
@@ -3483,30 +3483,30 @@ const F1 = vn({
|
|
|
3483
3483
|
stitchTiles: null,
|
|
3484
3484
|
stopColor: null,
|
|
3485
3485
|
stopOpacity: null,
|
|
3486
|
-
strikethroughPosition:
|
|
3487
|
-
strikethroughThickness:
|
|
3486
|
+
strikethroughPosition: j,
|
|
3487
|
+
strikethroughThickness: j,
|
|
3488
3488
|
string: null,
|
|
3489
3489
|
stroke: null,
|
|
3490
3490
|
strokeDashArray: Xe,
|
|
3491
3491
|
strokeDashOffset: null,
|
|
3492
3492
|
strokeLineCap: null,
|
|
3493
3493
|
strokeLineJoin: null,
|
|
3494
|
-
strokeMiterLimit:
|
|
3495
|
-
strokeOpacity:
|
|
3494
|
+
strokeMiterLimit: j,
|
|
3495
|
+
strokeOpacity: j,
|
|
3496
3496
|
strokeWidth: null,
|
|
3497
3497
|
style: null,
|
|
3498
|
-
surfaceScale:
|
|
3498
|
+
surfaceScale: j,
|
|
3499
3499
|
syncBehavior: null,
|
|
3500
3500
|
syncBehaviorDefault: null,
|
|
3501
3501
|
syncMaster: null,
|
|
3502
3502
|
syncTolerance: null,
|
|
3503
3503
|
syncToleranceDefault: null,
|
|
3504
3504
|
systemLanguage: Xe,
|
|
3505
|
-
tabIndex:
|
|
3505
|
+
tabIndex: j,
|
|
3506
3506
|
tableValues: null,
|
|
3507
3507
|
target: null,
|
|
3508
|
-
targetX:
|
|
3509
|
-
targetY:
|
|
3508
|
+
targetX: j,
|
|
3509
|
+
targetY: j,
|
|
3510
3510
|
textAnchor: null,
|
|
3511
3511
|
textDecoration: null,
|
|
3512
3512
|
textRendering: null,
|
|
@@ -3521,22 +3521,22 @@ const F1 = vn({
|
|
|
3521
3521
|
transformOrigin: null,
|
|
3522
3522
|
u1: null,
|
|
3523
3523
|
u2: null,
|
|
3524
|
-
underlinePosition:
|
|
3525
|
-
underlineThickness:
|
|
3524
|
+
underlinePosition: j,
|
|
3525
|
+
underlineThickness: j,
|
|
3526
3526
|
unicode: null,
|
|
3527
3527
|
unicodeBidi: null,
|
|
3528
3528
|
unicodeRange: null,
|
|
3529
|
-
unitsPerEm:
|
|
3529
|
+
unitsPerEm: j,
|
|
3530
3530
|
values: null,
|
|
3531
|
-
vAlphabetic:
|
|
3532
|
-
vMathematical:
|
|
3531
|
+
vAlphabetic: j,
|
|
3532
|
+
vMathematical: j,
|
|
3533
3533
|
vectorEffect: null,
|
|
3534
|
-
vHanging:
|
|
3535
|
-
vIdeographic:
|
|
3534
|
+
vHanging: j,
|
|
3535
|
+
vIdeographic: j,
|
|
3536
3536
|
version: null,
|
|
3537
|
-
vertAdvY:
|
|
3538
|
-
vertOriginX:
|
|
3539
|
-
vertOriginY:
|
|
3537
|
+
vertAdvY: j,
|
|
3538
|
+
vertOriginX: j,
|
|
3539
|
+
vertOriginY: j,
|
|
3540
3540
|
viewBox: null,
|
|
3541
3541
|
viewTarget: null,
|
|
3542
3542
|
visibility: null,
|
|
@@ -3548,7 +3548,7 @@ const F1 = vn({
|
|
|
3548
3548
|
x1: null,
|
|
3549
3549
|
x2: null,
|
|
3550
3550
|
xChannelSelector: null,
|
|
3551
|
-
xHeight:
|
|
3551
|
+
xHeight: j,
|
|
3552
3552
|
y: null,
|
|
3553
3553
|
y1: null,
|
|
3554
3554
|
y2: null,
|
|
@@ -4457,20 +4457,20 @@ function ew(e) {
|
|
|
4457
4457
|
)
|
|
4458
4458
|
return;
|
|
4459
4459
|
const R = t.events.length;
|
|
4460
|
-
let
|
|
4461
|
-
for (;
|
|
4462
|
-
if (t.events[
|
|
4460
|
+
let D = R, k, L;
|
|
4461
|
+
for (; D--; )
|
|
4462
|
+
if (t.events[D][0] === "exit" && t.events[D][1].type === "chunkFlow") {
|
|
4463
4463
|
if (k) {
|
|
4464
|
-
|
|
4464
|
+
L = t.events[D][1].end;
|
|
4465
4465
|
break;
|
|
4466
4466
|
}
|
|
4467
4467
|
k = !0;
|
|
4468
4468
|
}
|
|
4469
4469
|
for (T(r), b = R; b < t.events.length; )
|
|
4470
4470
|
t.events[b][1].end = {
|
|
4471
|
-
...
|
|
4471
|
+
...L
|
|
4472
4472
|
}, b++;
|
|
4473
|
-
yt(t.events,
|
|
4473
|
+
yt(t.events, D + 1, 0, t.events.slice(R)), t.events.length = b;
|
|
4474
4474
|
}
|
|
4475
4475
|
}
|
|
4476
4476
|
function T(m) {
|
|
@@ -4766,23 +4766,23 @@ function pw(e, t, n) {
|
|
|
4766
4766
|
function _(b) {
|
|
4767
4767
|
return e.exit("codeFenced"), t(b);
|
|
4768
4768
|
}
|
|
4769
|
-
function h(b, R,
|
|
4769
|
+
function h(b, R, D) {
|
|
4770
4770
|
let k = 0;
|
|
4771
|
-
return
|
|
4772
|
-
function
|
|
4773
|
-
return b.enter("lineEnding"), b.consume(
|
|
4771
|
+
return L;
|
|
4772
|
+
function L(F) {
|
|
4773
|
+
return b.enter("lineEnding"), b.consume(F), b.exit("lineEnding"), N;
|
|
4774
4774
|
}
|
|
4775
|
-
function N(
|
|
4776
|
-
return b.enter("codeFencedFence"), fe(
|
|
4775
|
+
function N(F) {
|
|
4776
|
+
return b.enter("codeFencedFence"), fe(F) ? Se(b, O, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(F) : O(F);
|
|
4777
4777
|
}
|
|
4778
|
-
function O(
|
|
4779
|
-
return
|
|
4778
|
+
function O(F) {
|
|
4779
|
+
return F === s ? (b.enter("codeFencedFenceSequence"), B(F)) : D(F);
|
|
4780
4780
|
}
|
|
4781
|
-
function
|
|
4782
|
-
return
|
|
4781
|
+
function B(F) {
|
|
4782
|
+
return F === s ? (k++, b.consume(F), B) : k >= o ? (b.exit("codeFencedFenceSequence"), fe(F) ? Se(b, G, "whitespace")(F) : G(F)) : D(F);
|
|
4783
4783
|
}
|
|
4784
|
-
function
|
|
4785
|
-
return
|
|
4784
|
+
function G(F) {
|
|
4785
|
+
return F === null || ae(F) ? (b.exit("codeFencedFence"), R(F)) : D(F);
|
|
4786
4786
|
}
|
|
4787
4787
|
}
|
|
4788
4788
|
}
|
|
@@ -5460,10 +5460,10 @@ function qw(e, t, n) {
|
|
|
5460
5460
|
return C === 62 ? (e.consume(C), r.interrupt ? t : O) : n(C);
|
|
5461
5461
|
}
|
|
5462
5462
|
function y(C) {
|
|
5463
|
-
return fe(C) ? (e.consume(C), y) :
|
|
5463
|
+
return fe(C) ? (e.consume(C), y) : L(C);
|
|
5464
5464
|
}
|
|
5465
5465
|
function m(C) {
|
|
5466
|
-
return C === 47 ? (e.consume(C),
|
|
5466
|
+
return C === 47 ? (e.consume(C), L) : C === 58 || C === 95 || mt(C) ? (e.consume(C), _) : fe(C) ? (e.consume(C), m) : L(C);
|
|
5467
5467
|
}
|
|
5468
5468
|
function _(C) {
|
|
5469
5469
|
return C === 45 || C === 46 || C === 58 || C === 95 || Je(C) ? (e.consume(C), _) : h(C);
|
|
@@ -5472,47 +5472,47 @@ function qw(e, t, n) {
|
|
|
5472
5472
|
return C === 61 ? (e.consume(C), b) : fe(C) ? (e.consume(C), h) : m(C);
|
|
5473
5473
|
}
|
|
5474
5474
|
function b(C) {
|
|
5475
|
-
return C === null || C === 60 || C === 61 || C === 62 || C === 96 ? n(C) : C === 34 || C === 39 ? (e.consume(C), l = C, R) : fe(C) ? (e.consume(C), b) :
|
|
5475
|
+
return C === null || C === 60 || C === 61 || C === 62 || C === 96 ? n(C) : C === 34 || C === 39 ? (e.consume(C), l = C, R) : fe(C) ? (e.consume(C), b) : D(C);
|
|
5476
5476
|
}
|
|
5477
5477
|
function R(C) {
|
|
5478
5478
|
return C === l ? (e.consume(C), l = null, k) : C === null || ae(C) ? n(C) : (e.consume(C), R);
|
|
5479
5479
|
}
|
|
5480
|
-
function
|
|
5481
|
-
return C === null || C === 34 || C === 39 || C === 47 || C === 60 || C === 61 || C === 62 || C === 96 || He(C) ? h(C) : (e.consume(C),
|
|
5480
|
+
function D(C) {
|
|
5481
|
+
return C === null || C === 34 || C === 39 || C === 47 || C === 60 || C === 61 || C === 62 || C === 96 || He(C) ? h(C) : (e.consume(C), D);
|
|
5482
5482
|
}
|
|
5483
5483
|
function k(C) {
|
|
5484
5484
|
return C === 47 || C === 62 || fe(C) ? m(C) : n(C);
|
|
5485
5485
|
}
|
|
5486
|
-
function
|
|
5486
|
+
function L(C) {
|
|
5487
5487
|
return C === 62 ? (e.consume(C), N) : n(C);
|
|
5488
5488
|
}
|
|
5489
5489
|
function N(C) {
|
|
5490
5490
|
return C === null || ae(C) ? O(C) : fe(C) ? (e.consume(C), N) : n(C);
|
|
5491
5491
|
}
|
|
5492
5492
|
function O(C) {
|
|
5493
|
-
return C === 45 && a === 2 ? (e.consume(C),
|
|
5493
|
+
return C === 45 && a === 2 ? (e.consume(C), q) : C === 60 && a === 1 ? (e.consume(C), W) : C === 62 && a === 4 ? (e.consume(C), I) : C === 63 && a === 3 ? (e.consume(C), w) : C === 93 && a === 5 ? (e.consume(C), J) : ae(C) && (a === 6 || a === 7) ? (e.exit("htmlFlowData"), e.check(Bw, U, B)(C)) : C === null || ae(C) ? (e.exit("htmlFlowData"), B(C)) : (e.consume(C), O);
|
|
5494
5494
|
}
|
|
5495
|
-
function
|
|
5496
|
-
return e.check($w,
|
|
5495
|
+
function B(C) {
|
|
5496
|
+
return e.check($w, G, U)(C);
|
|
5497
5497
|
}
|
|
5498
|
-
function
|
|
5499
|
-
return e.enter("lineEnding"), e.consume(C), e.exit("lineEnding"),
|
|
5498
|
+
function G(C) {
|
|
5499
|
+
return e.enter("lineEnding"), e.consume(C), e.exit("lineEnding"), F;
|
|
5500
5500
|
}
|
|
5501
|
-
function
|
|
5502
|
-
return C === null || ae(C) ?
|
|
5501
|
+
function F(C) {
|
|
5502
|
+
return C === null || ae(C) ? B(C) : (e.enter("htmlFlowData"), O(C));
|
|
5503
5503
|
}
|
|
5504
|
-
function
|
|
5504
|
+
function q(C) {
|
|
5505
5505
|
return C === 45 ? (e.consume(C), w) : O(C);
|
|
5506
5506
|
}
|
|
5507
5507
|
function W(C) {
|
|
5508
|
-
return C === 47 ? (e.consume(C), o = "",
|
|
5508
|
+
return C === 47 ? (e.consume(C), o = "", H) : O(C);
|
|
5509
5509
|
}
|
|
5510
|
-
function
|
|
5510
|
+
function H(C) {
|
|
5511
5511
|
if (C === 62) {
|
|
5512
5512
|
const Y = o.toLowerCase();
|
|
5513
5513
|
return dd.includes(Y) ? (e.consume(C), I) : O(C);
|
|
5514
5514
|
}
|
|
5515
|
-
return mt(C) && o.length < 8 ? (e.consume(C), o += String.fromCharCode(C),
|
|
5515
|
+
return mt(C) && o.length < 8 ? (e.consume(C), o += String.fromCharCode(C), H) : O(C);
|
|
5516
5516
|
}
|
|
5517
5517
|
function J(C) {
|
|
5518
5518
|
return C === 93 ? (e.consume(C), w) : O(C);
|
|
@@ -5521,9 +5521,9 @@ function qw(e, t, n) {
|
|
|
5521
5521
|
return C === 62 ? (e.consume(C), I) : C === 45 && a === 2 ? (e.consume(C), w) : O(C);
|
|
5522
5522
|
}
|
|
5523
5523
|
function I(C) {
|
|
5524
|
-
return C === null || ae(C) ? (e.exit("htmlFlowData"),
|
|
5524
|
+
return C === null || ae(C) ? (e.exit("htmlFlowData"), U(C)) : (e.consume(C), I);
|
|
5525
5525
|
}
|
|
5526
|
-
function
|
|
5526
|
+
function U(C) {
|
|
5527
5527
|
return e.exit("htmlFlow"), t(C);
|
|
5528
5528
|
}
|
|
5529
5529
|
}
|
|
@@ -5555,7 +5555,7 @@ function Vw(e, t, n) {
|
|
|
5555
5555
|
return e.enter("htmlText"), e.enter("htmlTextData"), e.consume(w), l;
|
|
5556
5556
|
}
|
|
5557
5557
|
function l(w) {
|
|
5558
|
-
return w === 33 ? (e.consume(w), u) : w === 47 ? (e.consume(w), h) : w === 63 ? (e.consume(w), m) : mt(w) ? (e.consume(w),
|
|
5558
|
+
return w === 33 ? (e.consume(w), u) : w === 47 ? (e.consume(w), h) : w === 63 ? (e.consume(w), m) : mt(w) ? (e.consume(w), D) : n(w);
|
|
5559
5559
|
}
|
|
5560
5560
|
function u(w) {
|
|
5561
5561
|
return w === 45 ? (e.consume(w), c) : w === 91 ? (e.consume(w), i = 0, E) : mt(w) ? (e.consume(w), y) : n(w);
|
|
@@ -5570,7 +5570,7 @@ function Vw(e, t, n) {
|
|
|
5570
5570
|
return w === 45 ? (e.consume(w), p) : d(w);
|
|
5571
5571
|
}
|
|
5572
5572
|
function p(w) {
|
|
5573
|
-
return w === 62 ?
|
|
5573
|
+
return w === 62 ? q(w) : w === 45 ? f(w) : d(w);
|
|
5574
5574
|
}
|
|
5575
5575
|
function E(w) {
|
|
5576
5576
|
const I = "CDATA[";
|
|
@@ -5583,16 +5583,16 @@ function Vw(e, t, n) {
|
|
|
5583
5583
|
return w === 93 ? (e.consume(w), T) : S(w);
|
|
5584
5584
|
}
|
|
5585
5585
|
function T(w) {
|
|
5586
|
-
return w === 62 ?
|
|
5586
|
+
return w === 62 ? q(w) : w === 93 ? (e.consume(w), T) : S(w);
|
|
5587
5587
|
}
|
|
5588
5588
|
function y(w) {
|
|
5589
|
-
return w === null || w === 62 ?
|
|
5589
|
+
return w === null || w === 62 ? q(w) : ae(w) ? (o = y, W(w)) : (e.consume(w), y);
|
|
5590
5590
|
}
|
|
5591
5591
|
function m(w) {
|
|
5592
5592
|
return w === null ? n(w) : w === 63 ? (e.consume(w), _) : ae(w) ? (o = m, W(w)) : (e.consume(w), m);
|
|
5593
5593
|
}
|
|
5594
5594
|
function _(w) {
|
|
5595
|
-
return w === 62 ?
|
|
5595
|
+
return w === 62 ? q(w) : m(w);
|
|
5596
5596
|
}
|
|
5597
5597
|
function h(w) {
|
|
5598
5598
|
return mt(w) ? (e.consume(w), b) : n(w);
|
|
@@ -5601,39 +5601,39 @@ function Vw(e, t, n) {
|
|
|
5601
5601
|
return w === 45 || Je(w) ? (e.consume(w), b) : R(w);
|
|
5602
5602
|
}
|
|
5603
5603
|
function R(w) {
|
|
5604
|
-
return ae(w) ? (o = R, W(w)) : fe(w) ? (e.consume(w), R) :
|
|
5604
|
+
return ae(w) ? (o = R, W(w)) : fe(w) ? (e.consume(w), R) : q(w);
|
|
5605
5605
|
}
|
|
5606
|
-
function
|
|
5607
|
-
return w === 45 || Je(w) ? (e.consume(w),
|
|
5606
|
+
function D(w) {
|
|
5607
|
+
return w === 45 || Je(w) ? (e.consume(w), D) : w === 47 || w === 62 || He(w) ? k(w) : n(w);
|
|
5608
5608
|
}
|
|
5609
5609
|
function k(w) {
|
|
5610
|
-
return w === 47 ? (e.consume(w),
|
|
5610
|
+
return w === 47 ? (e.consume(w), q) : w === 58 || w === 95 || mt(w) ? (e.consume(w), L) : ae(w) ? (o = k, W(w)) : fe(w) ? (e.consume(w), k) : q(w);
|
|
5611
5611
|
}
|
|
5612
|
-
function
|
|
5613
|
-
return w === 45 || w === 46 || w === 58 || w === 95 || Je(w) ? (e.consume(w),
|
|
5612
|
+
function L(w) {
|
|
5613
|
+
return w === 45 || w === 46 || w === 58 || w === 95 || Je(w) ? (e.consume(w), L) : N(w);
|
|
5614
5614
|
}
|
|
5615
5615
|
function N(w) {
|
|
5616
5616
|
return w === 61 ? (e.consume(w), O) : ae(w) ? (o = N, W(w)) : fe(w) ? (e.consume(w), N) : k(w);
|
|
5617
5617
|
}
|
|
5618
5618
|
function O(w) {
|
|
5619
|
-
return w === null || w === 60 || w === 61 || w === 62 || w === 96 ? n(w) : w === 34 || w === 39 ? (e.consume(w), a = w,
|
|
5619
|
+
return w === null || w === 60 || w === 61 || w === 62 || w === 96 ? n(w) : w === 34 || w === 39 ? (e.consume(w), a = w, B) : ae(w) ? (o = O, W(w)) : fe(w) ? (e.consume(w), O) : (e.consume(w), G);
|
|
5620
5620
|
}
|
|
5621
|
-
function
|
|
5622
|
-
return w === a ? (e.consume(w), a = void 0,
|
|
5621
|
+
function B(w) {
|
|
5622
|
+
return w === a ? (e.consume(w), a = void 0, F) : w === null ? n(w) : ae(w) ? (o = B, W(w)) : (e.consume(w), B);
|
|
5623
5623
|
}
|
|
5624
|
-
function
|
|
5625
|
-
return w === null || w === 34 || w === 39 || w === 60 || w === 61 || w === 96 ? n(w) : w === 47 || w === 62 || He(w) ? k(w) : (e.consume(w),
|
|
5624
|
+
function G(w) {
|
|
5625
|
+
return w === null || w === 34 || w === 39 || w === 60 || w === 61 || w === 96 ? n(w) : w === 47 || w === 62 || He(w) ? k(w) : (e.consume(w), G);
|
|
5626
5626
|
}
|
|
5627
|
-
function
|
|
5627
|
+
function F(w) {
|
|
5628
5628
|
return w === 47 || w === 62 || He(w) ? k(w) : n(w);
|
|
5629
5629
|
}
|
|
5630
|
-
function
|
|
5630
|
+
function q(w) {
|
|
5631
5631
|
return w === 62 ? (e.consume(w), e.exit("htmlTextData"), e.exit("htmlText"), t) : n(w);
|
|
5632
5632
|
}
|
|
5633
5633
|
function W(w) {
|
|
5634
|
-
return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(w), e.exit("lineEnding"),
|
|
5634
|
+
return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(w), e.exit("lineEnding"), H;
|
|
5635
5635
|
}
|
|
5636
|
-
function
|
|
5636
|
+
function H(w) {
|
|
5637
5637
|
return fe(w) ? Se(e, J, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(w) : J(w);
|
|
5638
5638
|
}
|
|
5639
5639
|
function J(w) {
|
|
@@ -6194,7 +6194,7 @@ function LC(e, t, n) {
|
|
|
6194
6194
|
let c = t.tokenize.call(u, l);
|
|
6195
6195
|
return t.resolveAll && i.push(t), u;
|
|
6196
6196
|
function d(N) {
|
|
6197
|
-
return o = rt(o, N), x(), o[o.length - 1] !== null ? [] : (
|
|
6197
|
+
return o = rt(o, N), x(), o[o.length - 1] !== null ? [] : (D(t, 0), u.events = Vu(i, u.events, u), u.events);
|
|
6198
6198
|
}
|
|
6199
6199
|
function f(N, O) {
|
|
6200
6200
|
return MC(p(N), O);
|
|
@@ -6206,20 +6206,20 @@ function LC(e, t, n) {
|
|
|
6206
6206
|
const {
|
|
6207
6207
|
_bufferIndex: N,
|
|
6208
6208
|
_index: O,
|
|
6209
|
-
line:
|
|
6210
|
-
column:
|
|
6211
|
-
offset:
|
|
6209
|
+
line: B,
|
|
6210
|
+
column: G,
|
|
6211
|
+
offset: F
|
|
6212
6212
|
} = r;
|
|
6213
6213
|
return {
|
|
6214
6214
|
_bufferIndex: N,
|
|
6215
6215
|
_index: O,
|
|
6216
|
-
line:
|
|
6217
|
-
column:
|
|
6218
|
-
offset:
|
|
6216
|
+
line: B,
|
|
6217
|
+
column: G,
|
|
6218
|
+
offset: F
|
|
6219
6219
|
};
|
|
6220
6220
|
}
|
|
6221
6221
|
function S(N) {
|
|
6222
|
-
a[N.line] = N.column,
|
|
6222
|
+
a[N.line] = N.column, L();
|
|
6223
6223
|
}
|
|
6224
6224
|
function x() {
|
|
6225
6225
|
let N;
|
|
@@ -6236,39 +6236,39 @@ function LC(e, t, n) {
|
|
|
6236
6236
|
c = c(N);
|
|
6237
6237
|
}
|
|
6238
6238
|
function y(N) {
|
|
6239
|
-
ae(N) ? (r.line++, r.column = 1, r.offset += N === -3 ? 2 : 1,
|
|
6239
|
+
ae(N) ? (r.line++, r.column = 1, r.offset += N === -3 ? 2 : 1, L()) : N !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === // Points w/ non-negative `_bufferIndex` reference
|
|
6240
6240
|
// strings.
|
|
6241
6241
|
/** @type {string} */
|
|
6242
6242
|
o[r._index].length && (r._bufferIndex = -1, r._index++)), u.previous = N;
|
|
6243
6243
|
}
|
|
6244
6244
|
function m(N, O) {
|
|
6245
|
-
const
|
|
6246
|
-
return
|
|
6245
|
+
const B = O || {};
|
|
6246
|
+
return B.type = N, B.start = E(), u.events.push(["enter", B, u]), s.push(B), B;
|
|
6247
6247
|
}
|
|
6248
6248
|
function _(N) {
|
|
6249
6249
|
const O = s.pop();
|
|
6250
6250
|
return O.end = E(), u.events.push(["exit", O, u]), O;
|
|
6251
6251
|
}
|
|
6252
6252
|
function h(N, O) {
|
|
6253
|
-
|
|
6253
|
+
D(N, O.from);
|
|
6254
6254
|
}
|
|
6255
6255
|
function b(N, O) {
|
|
6256
6256
|
O.restore();
|
|
6257
6257
|
}
|
|
6258
6258
|
function R(N, O) {
|
|
6259
|
-
return
|
|
6260
|
-
function
|
|
6261
|
-
let W,
|
|
6262
|
-
return Array.isArray(
|
|
6259
|
+
return B;
|
|
6260
|
+
function B(G, F, q) {
|
|
6261
|
+
let W, H, J, w;
|
|
6262
|
+
return Array.isArray(G) ? (
|
|
6263
6263
|
/* c8 ignore next 1 */
|
|
6264
|
-
|
|
6265
|
-
) : "tokenize" in
|
|
6264
|
+
U(G)
|
|
6265
|
+
) : "tokenize" in G ? (
|
|
6266
6266
|
// Looks like a construct.
|
|
6267
|
-
|
|
6267
|
+
U([
|
|
6268
6268
|
/** @type {Construct} */
|
|
6269
|
-
|
|
6269
|
+
G
|
|
6270
6270
|
])
|
|
6271
|
-
) : I(
|
|
6271
|
+
) : I(G);
|
|
6272
6272
|
function I(Z) {
|
|
6273
6273
|
return Q;
|
|
6274
6274
|
function Q(ee) {
|
|
@@ -6278,11 +6278,11 @@ function LC(e, t, n) {
|
|
|
6278
6278
|
...Array.isArray(te) ? te : te ? [te] : [],
|
|
6279
6279
|
...Array.isArray(ie) ? ie : ie ? [ie] : []
|
|
6280
6280
|
];
|
|
6281
|
-
return
|
|
6281
|
+
return U(ne)(ee);
|
|
6282
6282
|
}
|
|
6283
6283
|
}
|
|
6284
|
-
function
|
|
6285
|
-
return W = Z,
|
|
6284
|
+
function U(Z) {
|
|
6285
|
+
return W = Z, H = 0, Z.length === 0 ? q : C(Z[H]);
|
|
6286
6286
|
}
|
|
6287
6287
|
function C(Z) {
|
|
6288
6288
|
return Q;
|
|
@@ -6299,27 +6299,27 @@ function LC(e, t, n) {
|
|
|
6299
6299
|
}
|
|
6300
6300
|
}
|
|
6301
6301
|
function Y(Z) {
|
|
6302
|
-
return N(J, w),
|
|
6302
|
+
return N(J, w), F;
|
|
6303
6303
|
}
|
|
6304
6304
|
function K(Z) {
|
|
6305
|
-
return w.restore(), ++
|
|
6305
|
+
return w.restore(), ++H < W.length ? C(W[H]) : q;
|
|
6306
6306
|
}
|
|
6307
6307
|
}
|
|
6308
6308
|
}
|
|
6309
|
-
function
|
|
6309
|
+
function D(N, O) {
|
|
6310
6310
|
N.resolveAll && !i.includes(N) && i.push(N), N.resolve && yt(u.events, O, u.events.length - O, N.resolve(u.events.slice(O), u)), N.resolveTo && (u.events = N.resolveTo(u.events, u));
|
|
6311
6311
|
}
|
|
6312
6312
|
function k() {
|
|
6313
|
-
const N = E(), O = u.previous,
|
|
6313
|
+
const N = E(), O = u.previous, B = u.currentConstruct, G = u.events.length, F = Array.from(s);
|
|
6314
6314
|
return {
|
|
6315
|
-
from:
|
|
6316
|
-
restore:
|
|
6315
|
+
from: G,
|
|
6316
|
+
restore: q
|
|
6317
6317
|
};
|
|
6318
|
-
function
|
|
6319
|
-
r = N, u.previous = O, u.currentConstruct =
|
|
6318
|
+
function q() {
|
|
6319
|
+
r = N, u.previous = O, u.currentConstruct = B, u.events.length = G, s = F, L();
|
|
6320
6320
|
}
|
|
6321
6321
|
}
|
|
6322
|
-
function
|
|
6322
|
+
function L() {
|
|
6323
6323
|
r.line in a && r.column < 2 && (r.column = a[r.line], r.offset += a[r.line] - 1);
|
|
6324
6324
|
}
|
|
6325
6325
|
}
|
|
@@ -6511,7 +6511,7 @@ function zC(e) {
|
|
|
6511
6511
|
autolinkEmail: te,
|
|
6512
6512
|
autolinkProtocol: ee,
|
|
6513
6513
|
blockQuote: l(),
|
|
6514
|
-
characterEscapeValue:
|
|
6514
|
+
characterEscapeValue: L,
|
|
6515
6515
|
characterReferenceMarkerHexadecimal: K,
|
|
6516
6516
|
characterReferenceMarkerNumeric: K,
|
|
6517
6517
|
characterReferenceValue: Z,
|
|
@@ -6520,11 +6520,11 @@ function zC(e) {
|
|
|
6520
6520
|
codeFencedFence: S,
|
|
6521
6521
|
codeFencedFenceInfo: p,
|
|
6522
6522
|
codeFencedFenceMeta: E,
|
|
6523
|
-
codeFlowValue:
|
|
6523
|
+
codeFlowValue: L,
|
|
6524
6524
|
codeIndented: l(T),
|
|
6525
|
-
codeText: l(
|
|
6526
|
-
codeTextData:
|
|
6527
|
-
data:
|
|
6525
|
+
codeText: l(F),
|
|
6526
|
+
codeTextData: L,
|
|
6527
|
+
data: L,
|
|
6528
6528
|
definition: l(),
|
|
6529
6529
|
definitionDestinationString: _,
|
|
6530
6530
|
definitionLabelString: y,
|
|
@@ -6532,15 +6532,15 @@ function zC(e) {
|
|
|
6532
6532
|
emphasis: l(),
|
|
6533
6533
|
hardBreakEscape: l(O),
|
|
6534
6534
|
hardBreakTrailing: l(O),
|
|
6535
|
-
htmlFlow: l(
|
|
6536
|
-
htmlFlowData:
|
|
6537
|
-
htmlText: l(
|
|
6538
|
-
htmlTextData:
|
|
6535
|
+
htmlFlow: l(B),
|
|
6536
|
+
htmlFlowData: L,
|
|
6537
|
+
htmlText: l(G),
|
|
6538
|
+
htmlTextData: L,
|
|
6539
6539
|
image: l(W),
|
|
6540
6540
|
label: J,
|
|
6541
|
-
labelText:
|
|
6541
|
+
labelText: H,
|
|
6542
6542
|
lineEnding: N,
|
|
6543
|
-
link: l(
|
|
6543
|
+
link: l(q),
|
|
6544
6544
|
listItem: l(),
|
|
6545
6545
|
listOrdered: l(),
|
|
6546
6546
|
listUnordered: l(),
|
|
@@ -6548,8 +6548,8 @@ function zC(e) {
|
|
|
6548
6548
|
referenceString: Y,
|
|
6549
6549
|
resourceDestinationString: w,
|
|
6550
6550
|
resourceTitleString: I,
|
|
6551
|
-
resource:
|
|
6552
|
-
setextHeading: l(
|
|
6551
|
+
resource: U,
|
|
6552
|
+
setextHeading: l(D),
|
|
6553
6553
|
setextHeadingLineSequence: R,
|
|
6554
6554
|
setextHeadingText: b,
|
|
6555
6555
|
strong: l(),
|
|
@@ -6559,13 +6559,13 @@ function zC(e) {
|
|
|
6559
6559
|
Iy(t, (e || {}).mdastExtensions || []);
|
|
6560
6560
|
const n = {};
|
|
6561
6561
|
return r;
|
|
6562
|
-
function r(
|
|
6563
|
-
let
|
|
6562
|
+
function r(P) {
|
|
6563
|
+
let z = {
|
|
6564
6564
|
type: "root",
|
|
6565
6565
|
children: []
|
|
6566
6566
|
};
|
|
6567
6567
|
const re = {
|
|
6568
|
-
stack: [
|
|
6568
|
+
stack: [z],
|
|
6569
6569
|
tokenStack: [],
|
|
6570
6570
|
config: t,
|
|
6571
6571
|
enter: s,
|
|
@@ -6575,43 +6575,43 @@ function zC(e) {
|
|
|
6575
6575
|
data: n
|
|
6576
6576
|
}, ce = [];
|
|
6577
6577
|
let ge = -1;
|
|
6578
|
-
for (; ++ge <
|
|
6579
|
-
if (
|
|
6580
|
-
if (
|
|
6578
|
+
for (; ++ge < P.length; )
|
|
6579
|
+
if (P[ge][1].type === "listOrdered" || P[ge][1].type === "listUnordered")
|
|
6580
|
+
if (P[ge][0] === "enter")
|
|
6581
6581
|
ce.push(ge);
|
|
6582
6582
|
else {
|
|
6583
6583
|
const je = ce.pop();
|
|
6584
|
-
ge = a(
|
|
6584
|
+
ge = a(P, je, ge);
|
|
6585
6585
|
}
|
|
6586
|
-
for (ge = -1; ++ge <
|
|
6587
|
-
const je = t[
|
|
6588
|
-
ky.call(je,
|
|
6589
|
-
sliceSerialize:
|
|
6590
|
-
}, re),
|
|
6586
|
+
for (ge = -1; ++ge < P.length; ) {
|
|
6587
|
+
const je = t[P[ge][0]];
|
|
6588
|
+
ky.call(je, P[ge][1].type) && je[P[ge][1].type].call(Object.assign({
|
|
6589
|
+
sliceSerialize: P[ge][2].sliceSerialize
|
|
6590
|
+
}, re), P[ge][1]);
|
|
6591
6591
|
}
|
|
6592
6592
|
if (re.tokenStack.length > 0) {
|
|
6593
6593
|
const je = re.tokenStack[re.tokenStack.length - 1];
|
|
6594
6594
|
(je[1] || gd).call(re, void 0, je[0]);
|
|
6595
6595
|
}
|
|
6596
|
-
for (
|
|
6597
|
-
start: kt(
|
|
6596
|
+
for (z.position = {
|
|
6597
|
+
start: kt(P.length > 0 ? P[0][1].start : {
|
|
6598
6598
|
line: 1,
|
|
6599
6599
|
column: 1,
|
|
6600
6600
|
offset: 0
|
|
6601
6601
|
}),
|
|
6602
|
-
end: kt(
|
|
6602
|
+
end: kt(P.length > 0 ? P[P.length - 2][1].end : {
|
|
6603
6603
|
line: 1,
|
|
6604
6604
|
column: 1,
|
|
6605
6605
|
offset: 0
|
|
6606
6606
|
})
|
|
6607
6607
|
}, ge = -1; ++ge < t.transforms.length; )
|
|
6608
|
-
|
|
6609
|
-
return
|
|
6608
|
+
z = t.transforms[ge](z) || z;
|
|
6609
|
+
return z;
|
|
6610
6610
|
}
|
|
6611
|
-
function a(
|
|
6612
|
-
let ce =
|
|
6611
|
+
function a(P, z, re) {
|
|
6612
|
+
let ce = z - 1, ge = -1, je = !1, Ct, ct, Bt, $t;
|
|
6613
6613
|
for (; ++ce <= re; ) {
|
|
6614
|
-
const Ue =
|
|
6614
|
+
const Ue = P[ce];
|
|
6615
6615
|
switch (Ue[1].type) {
|
|
6616
6616
|
case "listUnordered":
|
|
6617
6617
|
case "listOrdered":
|
|
@@ -6636,13 +6636,13 @@ function zC(e) {
|
|
|
6636
6636
|
if (Ct) {
|
|
6637
6637
|
let Rt = ce;
|
|
6638
6638
|
for (ct = void 0; Rt--; ) {
|
|
6639
|
-
const dt =
|
|
6639
|
+
const dt = P[Rt];
|
|
6640
6640
|
if (dt[1].type === "lineEnding" || dt[1].type === "lineEndingBlank") {
|
|
6641
6641
|
if (dt[0] === "exit") continue;
|
|
6642
|
-
ct && (
|
|
6642
|
+
ct && (P[ct][1].type = "lineEndingBlank", je = !0), dt[1].type = "lineEnding", ct = Rt;
|
|
6643
6643
|
} else if (!(dt[1].type === "linePrefix" || dt[1].type === "blockQuotePrefix" || dt[1].type === "blockQuotePrefixWhitespace" || dt[1].type === "blockQuoteMarker" || dt[1].type === "listItemIndent")) break;
|
|
6644
6644
|
}
|
|
6645
|
-
Bt && (!ct || Bt < ct) && (Ct._spread = !0), Ct.end = Object.assign({}, ct ?
|
|
6645
|
+
Bt && (!ct || Bt < ct) && (Ct._spread = !0), Ct.end = Object.assign({}, ct ? P[ct][1].start : Ue[1].end), P.splice(ct || ce, 0, ["exit", Ct, Ue[2]]), ce++, re++;
|
|
6646
6646
|
}
|
|
6647
6647
|
if (Ue[1].type === "listItemPrefix") {
|
|
6648
6648
|
const Rt = {
|
|
@@ -6652,16 +6652,16 @@ function zC(e) {
|
|
|
6652
6652
|
// @ts-expect-error: we’ll add `end` in a second.
|
|
6653
6653
|
end: void 0
|
|
6654
6654
|
};
|
|
6655
|
-
Ct = Rt,
|
|
6655
|
+
Ct = Rt, P.splice(ce, 0, ["enter", Rt, Ue[2]]), ce++, re++, Bt = void 0, $t = !0;
|
|
6656
6656
|
}
|
|
6657
6657
|
}
|
|
6658
6658
|
}
|
|
6659
|
-
return
|
|
6659
|
+
return P[z][1]._spread = je, re;
|
|
6660
6660
|
}
|
|
6661
|
-
function i(
|
|
6661
|
+
function i(P, z) {
|
|
6662
6662
|
return re;
|
|
6663
6663
|
function re(ce) {
|
|
6664
|
-
s.call(this,
|
|
6664
|
+
s.call(this, P(ce), ce), z && z.call(this, ce);
|
|
6665
6665
|
}
|
|
6666
6666
|
}
|
|
6667
6667
|
function o() {
|
|
@@ -6670,28 +6670,28 @@ function zC(e) {
|
|
|
6670
6670
|
children: []
|
|
6671
6671
|
});
|
|
6672
6672
|
}
|
|
6673
|
-
function s(
|
|
6674
|
-
this.stack[this.stack.length - 1].children.push(
|
|
6675
|
-
start: kt(
|
|
6673
|
+
function s(P, z, re) {
|
|
6674
|
+
this.stack[this.stack.length - 1].children.push(P), this.stack.push(P), this.tokenStack.push([z, re || void 0]), P.position = {
|
|
6675
|
+
start: kt(z.start),
|
|
6676
6676
|
// @ts-expect-error: `end` will be patched later.
|
|
6677
6677
|
end: void 0
|
|
6678
6678
|
};
|
|
6679
6679
|
}
|
|
6680
|
-
function l(
|
|
6681
|
-
return
|
|
6682
|
-
function
|
|
6683
|
-
|
|
6680
|
+
function l(P) {
|
|
6681
|
+
return z;
|
|
6682
|
+
function z(re) {
|
|
6683
|
+
P && P.call(this, re), u.call(this, re);
|
|
6684
6684
|
}
|
|
6685
6685
|
}
|
|
6686
|
-
function u(
|
|
6686
|
+
function u(P, z) {
|
|
6687
6687
|
const re = this.stack.pop(), ce = this.tokenStack.pop();
|
|
6688
6688
|
if (ce)
|
|
6689
|
-
ce[0].type !==
|
|
6690
|
-
else throw new Error("Cannot close `" +
|
|
6691
|
-
start:
|
|
6692
|
-
end:
|
|
6689
|
+
ce[0].type !== P.type && (z ? z.call(this, P, ce[0]) : (ce[1] || gd).call(this, P, ce[0]));
|
|
6690
|
+
else throw new Error("Cannot close `" + P.type + "` (" + On({
|
|
6691
|
+
start: P.start,
|
|
6692
|
+
end: P.end
|
|
6693
6693
|
}) + "): it’s not open");
|
|
6694
|
-
re.position.end = kt(
|
|
6694
|
+
re.position.end = kt(P.end);
|
|
6695
6695
|
}
|
|
6696
6696
|
function c() {
|
|
6697
6697
|
return jS(this.stack.pop());
|
|
@@ -6699,168 +6699,168 @@ function zC(e) {
|
|
|
6699
6699
|
function d() {
|
|
6700
6700
|
this.data.expectingFirstListItemValue = !0;
|
|
6701
6701
|
}
|
|
6702
|
-
function f(
|
|
6702
|
+
function f(P) {
|
|
6703
6703
|
if (this.data.expectingFirstListItemValue) {
|
|
6704
|
-
const
|
|
6705
|
-
|
|
6704
|
+
const z = this.stack[this.stack.length - 2];
|
|
6705
|
+
z.start = Number.parseInt(this.sliceSerialize(P), 10), this.data.expectingFirstListItemValue = void 0;
|
|
6706
6706
|
}
|
|
6707
6707
|
}
|
|
6708
6708
|
function p() {
|
|
6709
|
-
const
|
|
6710
|
-
|
|
6709
|
+
const P = this.resume(), z = this.stack[this.stack.length - 1];
|
|
6710
|
+
z.lang = P;
|
|
6711
6711
|
}
|
|
6712
6712
|
function E() {
|
|
6713
|
-
const
|
|
6714
|
-
|
|
6713
|
+
const P = this.resume(), z = this.stack[this.stack.length - 1];
|
|
6714
|
+
z.meta = P;
|
|
6715
6715
|
}
|
|
6716
6716
|
function S() {
|
|
6717
6717
|
this.data.flowCodeInside || (this.buffer(), this.data.flowCodeInside = !0);
|
|
6718
6718
|
}
|
|
6719
6719
|
function x() {
|
|
6720
|
-
const
|
|
6721
|
-
|
|
6720
|
+
const P = this.resume(), z = this.stack[this.stack.length - 1];
|
|
6721
|
+
z.value = P.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), this.data.flowCodeInside = void 0;
|
|
6722
6722
|
}
|
|
6723
6723
|
function T() {
|
|
6724
|
-
const
|
|
6725
|
-
|
|
6724
|
+
const P = this.resume(), z = this.stack[this.stack.length - 1];
|
|
6725
|
+
z.value = P.replace(/(\r?\n|\r)$/g, "");
|
|
6726
6726
|
}
|
|
6727
|
-
function y(
|
|
6728
|
-
const
|
|
6729
|
-
re.label =
|
|
6727
|
+
function y(P) {
|
|
6728
|
+
const z = this.resume(), re = this.stack[this.stack.length - 1];
|
|
6729
|
+
re.label = z, re.identifier = fn(this.sliceSerialize(P)).toLowerCase();
|
|
6730
6730
|
}
|
|
6731
6731
|
function m() {
|
|
6732
|
-
const
|
|
6733
|
-
|
|
6732
|
+
const P = this.resume(), z = this.stack[this.stack.length - 1];
|
|
6733
|
+
z.title = P;
|
|
6734
6734
|
}
|
|
6735
6735
|
function _() {
|
|
6736
|
-
const
|
|
6737
|
-
|
|
6736
|
+
const P = this.resume(), z = this.stack[this.stack.length - 1];
|
|
6737
|
+
z.url = P;
|
|
6738
6738
|
}
|
|
6739
|
-
function h(
|
|
6740
|
-
const
|
|
6741
|
-
if (!
|
|
6742
|
-
const re = this.sliceSerialize(
|
|
6743
|
-
|
|
6739
|
+
function h(P) {
|
|
6740
|
+
const z = this.stack[this.stack.length - 1];
|
|
6741
|
+
if (!z.depth) {
|
|
6742
|
+
const re = this.sliceSerialize(P).length;
|
|
6743
|
+
z.depth = re;
|
|
6744
6744
|
}
|
|
6745
6745
|
}
|
|
6746
6746
|
function b() {
|
|
6747
6747
|
this.data.setextHeadingSlurpLineEnding = !0;
|
|
6748
6748
|
}
|
|
6749
|
-
function R(
|
|
6750
|
-
const
|
|
6751
|
-
|
|
6749
|
+
function R(P) {
|
|
6750
|
+
const z = this.stack[this.stack.length - 1];
|
|
6751
|
+
z.depth = this.sliceSerialize(P).codePointAt(0) === 61 ? 1 : 2;
|
|
6752
6752
|
}
|
|
6753
|
-
function
|
|
6753
|
+
function D() {
|
|
6754
6754
|
this.data.setextHeadingSlurpLineEnding = void 0;
|
|
6755
6755
|
}
|
|
6756
|
-
function k(
|
|
6756
|
+
function k(P) {
|
|
6757
6757
|
const re = this.stack[this.stack.length - 1].children;
|
|
6758
6758
|
let ce = re[re.length - 1];
|
|
6759
6759
|
(!ce || ce.type !== "text") && (ce = Ut(), ce.position = {
|
|
6760
|
-
start: kt(
|
|
6760
|
+
start: kt(P.start),
|
|
6761
6761
|
// @ts-expect-error: we’ll add `end` later.
|
|
6762
6762
|
end: void 0
|
|
6763
6763
|
}, re.push(ce)), this.stack.push(ce);
|
|
6764
6764
|
}
|
|
6765
|
-
function
|
|
6766
|
-
const
|
|
6767
|
-
|
|
6765
|
+
function L(P) {
|
|
6766
|
+
const z = this.stack.pop();
|
|
6767
|
+
z.value += this.sliceSerialize(P), z.position.end = kt(P.end);
|
|
6768
6768
|
}
|
|
6769
|
-
function N(
|
|
6770
|
-
const
|
|
6769
|
+
function N(P) {
|
|
6770
|
+
const z = this.stack[this.stack.length - 1];
|
|
6771
6771
|
if (this.data.atHardBreak) {
|
|
6772
|
-
const re =
|
|
6773
|
-
re.position.end = kt(
|
|
6772
|
+
const re = z.children[z.children.length - 1];
|
|
6773
|
+
re.position.end = kt(P.end), this.data.atHardBreak = void 0;
|
|
6774
6774
|
return;
|
|
6775
6775
|
}
|
|
6776
|
-
!this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(
|
|
6776
|
+
!this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(z.type) && (k.call(this, P), L.call(this, P));
|
|
6777
6777
|
}
|
|
6778
6778
|
function O() {
|
|
6779
6779
|
this.data.atHardBreak = !0;
|
|
6780
6780
|
}
|
|
6781
|
-
function
|
|
6782
|
-
const
|
|
6783
|
-
|
|
6781
|
+
function B() {
|
|
6782
|
+
const P = this.resume(), z = this.stack[this.stack.length - 1];
|
|
6783
|
+
z.value = P;
|
|
6784
6784
|
}
|
|
6785
|
-
function
|
|
6786
|
-
const
|
|
6787
|
-
|
|
6785
|
+
function G() {
|
|
6786
|
+
const P = this.resume(), z = this.stack[this.stack.length - 1];
|
|
6787
|
+
z.value = P;
|
|
6788
6788
|
}
|
|
6789
|
-
function
|
|
6790
|
-
const
|
|
6791
|
-
|
|
6789
|
+
function F() {
|
|
6790
|
+
const P = this.resume(), z = this.stack[this.stack.length - 1];
|
|
6791
|
+
z.value = P;
|
|
6792
6792
|
}
|
|
6793
|
-
function
|
|
6794
|
-
const
|
|
6793
|
+
function q() {
|
|
6794
|
+
const P = this.stack[this.stack.length - 1];
|
|
6795
6795
|
if (this.data.inReference) {
|
|
6796
|
-
const
|
|
6797
|
-
|
|
6796
|
+
const z = this.data.referenceType || "shortcut";
|
|
6797
|
+
P.type += "Reference", P.referenceType = z, delete P.url, delete P.title;
|
|
6798
6798
|
} else
|
|
6799
|
-
delete
|
|
6799
|
+
delete P.identifier, delete P.label;
|
|
6800
6800
|
this.data.referenceType = void 0;
|
|
6801
6801
|
}
|
|
6802
6802
|
function W() {
|
|
6803
|
-
const
|
|
6803
|
+
const P = this.stack[this.stack.length - 1];
|
|
6804
6804
|
if (this.data.inReference) {
|
|
6805
|
-
const
|
|
6806
|
-
|
|
6805
|
+
const z = this.data.referenceType || "shortcut";
|
|
6806
|
+
P.type += "Reference", P.referenceType = z, delete P.url, delete P.title;
|
|
6807
6807
|
} else
|
|
6808
|
-
delete
|
|
6808
|
+
delete P.identifier, delete P.label;
|
|
6809
6809
|
this.data.referenceType = void 0;
|
|
6810
6810
|
}
|
|
6811
|
-
function
|
|
6812
|
-
const
|
|
6813
|
-
re.label = $C(
|
|
6811
|
+
function H(P) {
|
|
6812
|
+
const z = this.sliceSerialize(P), re = this.stack[this.stack.length - 2];
|
|
6813
|
+
re.label = $C(z), re.identifier = fn(z).toLowerCase();
|
|
6814
6814
|
}
|
|
6815
6815
|
function J() {
|
|
6816
|
-
const
|
|
6816
|
+
const P = this.stack[this.stack.length - 1], z = this.resume(), re = this.stack[this.stack.length - 1];
|
|
6817
6817
|
if (this.data.inReference = !0, re.type === "link") {
|
|
6818
|
-
const ce =
|
|
6818
|
+
const ce = P.children;
|
|
6819
6819
|
re.children = ce;
|
|
6820
6820
|
} else
|
|
6821
|
-
re.alt =
|
|
6821
|
+
re.alt = z;
|
|
6822
6822
|
}
|
|
6823
6823
|
function w() {
|
|
6824
|
-
const
|
|
6825
|
-
|
|
6824
|
+
const P = this.resume(), z = this.stack[this.stack.length - 1];
|
|
6825
|
+
z.url = P;
|
|
6826
6826
|
}
|
|
6827
6827
|
function I() {
|
|
6828
|
-
const
|
|
6829
|
-
|
|
6828
|
+
const P = this.resume(), z = this.stack[this.stack.length - 1];
|
|
6829
|
+
z.title = P;
|
|
6830
6830
|
}
|
|
6831
|
-
function
|
|
6831
|
+
function U() {
|
|
6832
6832
|
this.data.inReference = void 0;
|
|
6833
6833
|
}
|
|
6834
6834
|
function C() {
|
|
6835
6835
|
this.data.referenceType = "collapsed";
|
|
6836
6836
|
}
|
|
6837
|
-
function Y(
|
|
6838
|
-
const
|
|
6839
|
-
re.label =
|
|
6837
|
+
function Y(P) {
|
|
6838
|
+
const z = this.resume(), re = this.stack[this.stack.length - 1];
|
|
6839
|
+
re.label = z, re.identifier = fn(this.sliceSerialize(P)).toLowerCase(), this.data.referenceType = "full";
|
|
6840
6840
|
}
|
|
6841
|
-
function K(
|
|
6842
|
-
this.data.characterReferenceType =
|
|
6841
|
+
function K(P) {
|
|
6842
|
+
this.data.characterReferenceType = P.type;
|
|
6843
6843
|
}
|
|
6844
|
-
function Z(
|
|
6845
|
-
const
|
|
6844
|
+
function Z(P) {
|
|
6845
|
+
const z = this.sliceSerialize(P), re = this.data.characterReferenceType;
|
|
6846
6846
|
let ce;
|
|
6847
|
-
re ? (ce = Ey(
|
|
6847
|
+
re ? (ce = Ey(z, re === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : ce = Hu(z);
|
|
6848
6848
|
const ge = this.stack[this.stack.length - 1];
|
|
6849
6849
|
ge.value += ce;
|
|
6850
6850
|
}
|
|
6851
|
-
function Q(
|
|
6852
|
-
const
|
|
6853
|
-
|
|
6851
|
+
function Q(P) {
|
|
6852
|
+
const z = this.stack.pop();
|
|
6853
|
+
z.position.end = kt(P.end);
|
|
6854
6854
|
}
|
|
6855
|
-
function ee(
|
|
6856
|
-
|
|
6857
|
-
const
|
|
6858
|
-
|
|
6855
|
+
function ee(P) {
|
|
6856
|
+
L.call(this, P);
|
|
6857
|
+
const z = this.stack[this.stack.length - 1];
|
|
6858
|
+
z.url = this.sliceSerialize(P);
|
|
6859
6859
|
}
|
|
6860
|
-
function te(
|
|
6861
|
-
|
|
6862
|
-
const
|
|
6863
|
-
|
|
6860
|
+
function te(P) {
|
|
6861
|
+
L.call(this, P);
|
|
6862
|
+
const z = this.stack[this.stack.length - 1];
|
|
6863
|
+
z.url = "mailto:" + this.sliceSerialize(P);
|
|
6864
6864
|
}
|
|
6865
6865
|
function ie() {
|
|
6866
6866
|
return {
|
|
@@ -6932,19 +6932,19 @@ function zC(e) {
|
|
|
6932
6932
|
children: []
|
|
6933
6933
|
};
|
|
6934
6934
|
}
|
|
6935
|
-
function Pe(
|
|
6935
|
+
function Pe(P) {
|
|
6936
6936
|
return {
|
|
6937
6937
|
type: "list",
|
|
6938
|
-
ordered:
|
|
6938
|
+
ordered: P.type === "listOrdered",
|
|
6939
6939
|
start: null,
|
|
6940
|
-
spread:
|
|
6940
|
+
spread: P._spread,
|
|
6941
6941
|
children: []
|
|
6942
6942
|
};
|
|
6943
6943
|
}
|
|
6944
|
-
function _t(
|
|
6944
|
+
function _t(P) {
|
|
6945
6945
|
return {
|
|
6946
6946
|
type: "listItem",
|
|
6947
|
-
spread:
|
|
6947
|
+
spread: P._spread,
|
|
6948
6948
|
checked: null,
|
|
6949
6949
|
children: []
|
|
6950
6950
|
};
|
|
@@ -9555,40 +9555,40 @@ function $x(e, t, n, r, a, i, o, s, l) {
|
|
|
9555
9555
|
return t || R.length > 0 ? E(h, b, R) : S(h, b);
|
|
9556
9556
|
}
|
|
9557
9557
|
for (var T = function() {
|
|
9558
|
-
var b = c[p], R = b.children[0].value,
|
|
9559
|
-
if (
|
|
9558
|
+
var b = c[p], R = b.children[0].value, D = Fx(R);
|
|
9559
|
+
if (D) {
|
|
9560
9560
|
var k = R.split(`
|
|
9561
9561
|
`);
|
|
9562
|
-
k.forEach(function(
|
|
9563
|
-
var O = r && d.length + i,
|
|
9562
|
+
k.forEach(function(L, N) {
|
|
9563
|
+
var O = r && d.length + i, B = {
|
|
9564
9564
|
type: "text",
|
|
9565
|
-
value: "".concat(
|
|
9565
|
+
value: "".concat(L, `
|
|
9566
9566
|
`)
|
|
9567
9567
|
};
|
|
9568
9568
|
if (N === 0) {
|
|
9569
|
-
var
|
|
9570
|
-
children: [
|
|
9569
|
+
var G = c.slice(f + 1, p).concat(dr({
|
|
9570
|
+
children: [B],
|
|
9571
9571
|
className: b.properties.className
|
|
9572
|
-
})),
|
|
9573
|
-
d.push(
|
|
9572
|
+
})), F = x(G, O);
|
|
9573
|
+
d.push(F);
|
|
9574
9574
|
} else if (N === k.length - 1) {
|
|
9575
|
-
var
|
|
9575
|
+
var q = c[p + 1] && c[p + 1].children && c[p + 1].children[0], W = {
|
|
9576
9576
|
type: "text",
|
|
9577
|
-
value: "".concat(
|
|
9577
|
+
value: "".concat(L)
|
|
9578
9578
|
};
|
|
9579
|
-
if (
|
|
9580
|
-
var
|
|
9579
|
+
if (q) {
|
|
9580
|
+
var H = dr({
|
|
9581
9581
|
children: [W],
|
|
9582
9582
|
className: b.properties.className
|
|
9583
9583
|
});
|
|
9584
|
-
c.splice(p + 1, 0,
|
|
9584
|
+
c.splice(p + 1, 0, H);
|
|
9585
9585
|
} else {
|
|
9586
9586
|
var J = [W], w = x(J, O, b.properties.className);
|
|
9587
9587
|
d.push(w);
|
|
9588
9588
|
}
|
|
9589
9589
|
} else {
|
|
9590
|
-
var I = [
|
|
9591
|
-
d.push(
|
|
9590
|
+
var I = [B], U = x(I, O, b.properties.className);
|
|
9591
|
+
d.push(U);
|
|
9592
9592
|
}
|
|
9593
9593
|
}), f = p;
|
|
9594
9594
|
}
|
|
@@ -9644,18 +9644,18 @@ function zx(e, t) {
|
|
|
9644
9644
|
var a = r.language, i = r.children, o = r.style, s = o === void 0 ? t : o, l = r.customStyle, u = l === void 0 ? {} : l, c = r.codeTagProps, d = c === void 0 ? {
|
|
9645
9645
|
className: a ? "language-".concat(a) : void 0,
|
|
9646
9646
|
style: It(It({}, s['code[class*="language-"]']), s['code[class*="language-'.concat(a, '"]')])
|
|
9647
|
-
} : c, f = r.useInlineStyles, p = f === void 0 ? !0 : f, E = r.showLineNumbers, S = E === void 0 ? !1 : E, x = r.showInlineLineNumbers, T = x === void 0 ? !0 : x, y = r.startingLineNumber, m = y === void 0 ? 1 : y, _ = r.lineNumberContainerStyle, h = r.lineNumberStyle, b = h === void 0 ? {} : h, R = r.wrapLines,
|
|
9647
|
+
} : c, f = r.useInlineStyles, p = f === void 0 ? !0 : f, E = r.showLineNumbers, S = E === void 0 ? !1 : E, x = r.showInlineLineNumbers, T = x === void 0 ? !0 : x, y = r.startingLineNumber, m = y === void 0 ? 1 : y, _ = r.lineNumberContainerStyle, h = r.lineNumberStyle, b = h === void 0 ? {} : h, R = r.wrapLines, D = r.wrapLongLines, k = D === void 0 ? !1 : D, L = r.lineProps, N = L === void 0 ? {} : L, O = r.renderer, B = r.PreTag, G = B === void 0 ? "pre" : B, F = r.CodeTag, q = F === void 0 ? "code" : F, W = r.code, H = W === void 0 ? (Array.isArray(i) ? i[0] : i) || "" : W, J = r.astGenerator, w = wx(r, Dx);
|
|
9648
9648
|
J = J || e;
|
|
9649
9649
|
var I = S ? /* @__PURE__ */ Te.createElement(Ux, {
|
|
9650
9650
|
containerStyle: _,
|
|
9651
9651
|
codeStyle: d.style || {},
|
|
9652
9652
|
numberStyle: b,
|
|
9653
9653
|
startingLineNumber: m,
|
|
9654
|
-
codeString:
|
|
9655
|
-
}) : null,
|
|
9654
|
+
codeString: H
|
|
9655
|
+
}) : null, U = s.hljs || s['pre[class*="language-"]'] || {
|
|
9656
9656
|
backgroundColor: "#fff"
|
|
9657
9657
|
}, C = Wy(J) ? "hljs" : "prismjs", Y = p ? Object.assign({}, w, {
|
|
9658
|
-
style: Object.assign({},
|
|
9658
|
+
style: Object.assign({}, U, u)
|
|
9659
9659
|
}) : Object.assign({}, w, {
|
|
9660
9660
|
className: w.className ? "".concat(C, " ").concat(w.className) : C,
|
|
9661
9661
|
style: Object.assign({}, u)
|
|
@@ -9665,15 +9665,15 @@ function zx(e, t) {
|
|
|
9665
9665
|
}, d.style) : d.style = It({
|
|
9666
9666
|
whiteSpace: "pre"
|
|
9667
9667
|
}, d.style), !J)
|
|
9668
|
-
return /* @__PURE__ */ Te.createElement(
|
|
9668
|
+
return /* @__PURE__ */ Te.createElement(G, Y, I, /* @__PURE__ */ Te.createElement(q, d, H));
|
|
9669
9669
|
(R === void 0 && O || k) && (R = !0), O = O || jx;
|
|
9670
9670
|
var K = [{
|
|
9671
9671
|
type: "text",
|
|
9672
|
-
value:
|
|
9672
|
+
value: H
|
|
9673
9673
|
}], Z = qx({
|
|
9674
9674
|
astGenerator: J,
|
|
9675
9675
|
language: a,
|
|
9676
|
-
code:
|
|
9676
|
+
code: H,
|
|
9677
9677
|
defaultCodeValue: K
|
|
9678
9678
|
});
|
|
9679
9679
|
Z.language === null && (Z.value = K);
|
|
@@ -9681,7 +9681,7 @@ function zx(e, t) {
|
|
|
9681
9681
|
Q === 1 && Z.value[0].type === "text" && (Q = Z.value[0].value.split(`
|
|
9682
9682
|
`).length);
|
|
9683
9683
|
var ee = Q + m, te = $x(Z, R, N, S, T, m, ee, b, k);
|
|
9684
|
-
return /* @__PURE__ */ Te.createElement(
|
|
9684
|
+
return /* @__PURE__ */ Te.createElement(G, Y, /* @__PURE__ */ Te.createElement(q, d, !T && I, O({
|
|
9685
9685
|
rows: te,
|
|
9686
9686
|
stylesheet: s,
|
|
9687
9687
|
useInlineStyles: p
|
|
@@ -10540,25 +10540,25 @@ function PR(e, t) {
|
|
|
10540
10540
|
return (n.position.indent || n.position.start) && (n.indent = n.position.indent || [], n.position = n.position.start), UR(e, n);
|
|
10541
10541
|
}
|
|
10542
10542
|
function UR(e, t) {
|
|
10543
|
-
var n = t.additional, r = t.nonTerminated, a = t.text, i = t.reference, o = t.warning, s = t.textContext, l = t.referenceContext, u = t.warningContext, c = t.position, d = t.indent || [], f = e.length, p = 0, E = -1, S = c.column || 1, x = c.line || 1, T = "", y = [], m, _, h, b, R,
|
|
10544
|
-
for (typeof n == "string" && (n = n.charCodeAt(0)),
|
|
10543
|
+
var n = t.additional, r = t.nonTerminated, a = t.text, i = t.reference, o = t.warning, s = t.textContext, l = t.referenceContext, u = t.warningContext, c = t.position, d = t.indent || [], f = e.length, p = 0, E = -1, S = c.column || 1, x = c.line || 1, T = "", y = [], m, _, h, b, R, D, k, L, N, O, B, G, F, q, W, H, J, w, I;
|
|
10544
|
+
for (typeof n == "string" && (n = n.charCodeAt(0)), H = U(), L = o ? C : _R, p--, f++; ++p < f; )
|
|
10545
10545
|
if (R === ep && (S = d[E] || 1), R = e.charCodeAt(p), R === tp) {
|
|
10546
10546
|
if (k = e.charCodeAt(p + 1), k === AR || k === ep || k === RR || k === kR || k === tp || k === NR || k !== k || n && k === n) {
|
|
10547
10547
|
T += sn(R), S++;
|
|
10548
10548
|
continue;
|
|
10549
10549
|
}
|
|
10550
|
-
for (
|
|
10551
|
-
b += sn(k),
|
|
10552
|
-
h = e.charCodeAt(I) === IR, h && (I++, _ =
|
|
10550
|
+
for (F = p + 1, G = F, I = F, k === LR ? (I = ++G, k = e.charCodeAt(I), k === DR || k === MR ? (q = oc, I = ++G) : q = sc) : q = un, m = "", B = "", b = "", W = Tr[q], I--; ++I < f && (k = e.charCodeAt(I), !!W(k)); )
|
|
10551
|
+
b += sn(k), q === un && xR.call(Xd, b) && (m = b, B = Xd[b]);
|
|
10552
|
+
h = e.charCodeAt(I) === IR, h && (I++, _ = q === un ? CR(b) : !1, _ && (m = b, B = _)), w = 1 + I - F, !h && !r || (b ? q === un ? (h && !B ? L(dE, 1) : (m !== b && (I = G + m.length, w = 1 + I - G, h = !1), h || (N = m ? sE : uE, t.attribute ? (k = e.charCodeAt(I), k === OR ? (L(N, w), B = null) : oE(k) ? B = null : L(N, w)) : L(N, w))), D = B) : (h || L(lE, w), D = parseInt(b, lc[q]), BR(D) ? (L(pE, w), D = sn(FR)) : D in Jd ? (L(Au, w), D = Jd[D]) : (O = "", $R(D) && L(Au, w), D > 65535 && (D -= 65536, O += sn(D >>> 10 | 55296), D = 56320 | D & 1023), D = O + sn(D))) : q !== un && L(cE, w)), D ? (Y(), H = U(), p = I - 1, S += I - F + 1, y.push(D), J = U(), J.offset++, i && i.call(
|
|
10553
10553
|
l,
|
|
10554
|
-
|
|
10555
|
-
{ start:
|
|
10556
|
-
e.slice(
|
|
10557
|
-
),
|
|
10554
|
+
D,
|
|
10555
|
+
{ start: H, end: J },
|
|
10556
|
+
e.slice(F - 1, I)
|
|
10557
|
+
), H = J) : (b = e.slice(F - 1, I), T += b, S += b.length, p = I - 1);
|
|
10558
10558
|
} else
|
|
10559
10559
|
R === 10 && (x++, E++, S = 0), R === R ? (T += sn(R), S++) : Y();
|
|
10560
10560
|
return y.join("");
|
|
10561
|
-
function
|
|
10561
|
+
function U() {
|
|
10562
10562
|
return {
|
|
10563
10563
|
line: x,
|
|
10564
10564
|
column: S,
|
|
@@ -10566,11 +10566,11 @@ function UR(e, t) {
|
|
|
10566
10566
|
};
|
|
10567
10567
|
}
|
|
10568
10568
|
function C(K, Z) {
|
|
10569
|
-
var Q =
|
|
10569
|
+
var Q = U();
|
|
10570
10570
|
Q.column += Z, Q.offset += Z, o.call(u, Mt[K], Q, K);
|
|
10571
10571
|
}
|
|
10572
10572
|
function Y() {
|
|
10573
|
-
T && (y.push(T), a && a.call(s, T, { start:
|
|
10573
|
+
T && (y.push(T), a && a.call(s, T, { start: H, end: U() }), T = "");
|
|
10574
10574
|
}
|
|
10575
10575
|
}
|
|
10576
10576
|
function BR(e) {
|
|
@@ -10705,8 +10705,8 @@ var fE = { exports: {} };
|
|
|
10705
10705
|
case "Array":
|
|
10706
10706
|
return b = s.util.objId(m), _[b] ? _[b] : (h = [], _[b] = h, /** @type {Array} */
|
|
10707
10707
|
/** @type {any} */
|
|
10708
|
-
m.forEach(function(
|
|
10709
|
-
h[k] = y(
|
|
10708
|
+
m.forEach(function(D, k) {
|
|
10709
|
+
h[k] = y(D, _);
|
|
10710
10710
|
}), /** @type {any} */
|
|
10711
10711
|
h);
|
|
10712
10712
|
default:
|
|
@@ -10927,27 +10927,27 @@ var fE = { exports: {} };
|
|
|
10927
10927
|
h = h || /** @type {any} */
|
|
10928
10928
|
s.languages;
|
|
10929
10929
|
var b = h[y], R = {};
|
|
10930
|
-
for (var
|
|
10931
|
-
if (b.hasOwnProperty(
|
|
10932
|
-
if (
|
|
10930
|
+
for (var D in b)
|
|
10931
|
+
if (b.hasOwnProperty(D)) {
|
|
10932
|
+
if (D == m)
|
|
10933
10933
|
for (var k in _)
|
|
10934
10934
|
_.hasOwnProperty(k) && (R[k] = _[k]);
|
|
10935
|
-
_.hasOwnProperty(
|
|
10935
|
+
_.hasOwnProperty(D) || (R[D] = b[D]);
|
|
10936
10936
|
}
|
|
10937
|
-
var
|
|
10937
|
+
var L = h[y];
|
|
10938
10938
|
return h[y] = R, s.languages.DFS(s.languages, function(N, O) {
|
|
10939
|
-
O ===
|
|
10939
|
+
O === L && N != y && (this[N] = R);
|
|
10940
10940
|
}), R;
|
|
10941
10941
|
},
|
|
10942
10942
|
// Traverse a language definition with Depth First Search
|
|
10943
10943
|
DFS: function y(m, _, h, b) {
|
|
10944
10944
|
b = b || {};
|
|
10945
10945
|
var R = s.util.objId;
|
|
10946
|
-
for (var
|
|
10947
|
-
if (m.hasOwnProperty(
|
|
10948
|
-
_.call(m,
|
|
10949
|
-
var k = m[
|
|
10950
|
-
|
|
10946
|
+
for (var D in m)
|
|
10947
|
+
if (m.hasOwnProperty(D)) {
|
|
10948
|
+
_.call(m, D, m[D], h || D);
|
|
10949
|
+
var k = m[D], L = s.util.type(k);
|
|
10950
|
+
L === "Object" && !b[R(k)] ? (b[R(k)] = !0, y(k, _, null, b)) : L === "Array" && !b[R(k)] && (b[R(k)] = !0, y(k, _, D, b));
|
|
10951
10951
|
}
|
|
10952
10952
|
}
|
|
10953
10953
|
},
|
|
@@ -11025,13 +11025,13 @@ var fE = { exports: {} };
|
|
|
11025
11025
|
s.util.setLanguage(y, h);
|
|
11026
11026
|
var R = y.parentElement;
|
|
11027
11027
|
R && R.nodeName.toLowerCase() === "pre" && s.util.setLanguage(R, h);
|
|
11028
|
-
var
|
|
11028
|
+
var D = y.textContent, k = {
|
|
11029
11029
|
element: y,
|
|
11030
11030
|
language: h,
|
|
11031
11031
|
grammar: b,
|
|
11032
|
-
code:
|
|
11032
|
+
code: D
|
|
11033
11033
|
};
|
|
11034
|
-
function
|
|
11034
|
+
function L(O) {
|
|
11035
11035
|
k.highlightedCode = O, s.hooks.run("before-insert", k), k.element.innerHTML = k.highlightedCode, s.hooks.run("after-highlight", k), s.hooks.run("complete", k), _ && _.call(k.element);
|
|
11036
11036
|
}
|
|
11037
11037
|
if (s.hooks.run("before-sanity-check", k), R = k.element.parentElement, R && R.nodeName.toLowerCase() === "pre" && !R.hasAttribute("tabindex") && R.setAttribute("tabindex", "0"), !k.code) {
|
|
@@ -11039,20 +11039,20 @@ var fE = { exports: {} };
|
|
|
11039
11039
|
return;
|
|
11040
11040
|
}
|
|
11041
11041
|
if (s.hooks.run("before-highlight", k), !k.grammar) {
|
|
11042
|
-
|
|
11042
|
+
L(s.util.encode(k.code));
|
|
11043
11043
|
return;
|
|
11044
11044
|
}
|
|
11045
11045
|
if (m && r.Worker) {
|
|
11046
11046
|
var N = new Worker(s.filename);
|
|
11047
11047
|
N.onmessage = function(O) {
|
|
11048
|
-
|
|
11048
|
+
L(O.data);
|
|
11049
11049
|
}, N.postMessage(JSON.stringify({
|
|
11050
11050
|
language: k.language,
|
|
11051
11051
|
code: k.code,
|
|
11052
11052
|
immediateClose: !0
|
|
11053
11053
|
}));
|
|
11054
11054
|
} else
|
|
11055
|
-
|
|
11055
|
+
L(s.highlight(k.code, k.grammar, k.language));
|
|
11056
11056
|
},
|
|
11057
11057
|
/**
|
|
11058
11058
|
* Low-level function, only use if you know what you’re doing. It accepts a string of text as input
|
|
@@ -11168,8 +11168,8 @@ var fE = { exports: {} };
|
|
|
11168
11168
|
return m;
|
|
11169
11169
|
if (Array.isArray(m)) {
|
|
11170
11170
|
var h = "";
|
|
11171
|
-
return m.forEach(function(
|
|
11172
|
-
h += y(
|
|
11171
|
+
return m.forEach(function(L) {
|
|
11172
|
+
h += y(L, _);
|
|
11173
11173
|
}), h;
|
|
11174
11174
|
}
|
|
11175
11175
|
var b = {
|
|
@@ -11181,10 +11181,10 @@ var fE = { exports: {} };
|
|
|
11181
11181
|
language: _
|
|
11182
11182
|
}, R = m.alias;
|
|
11183
11183
|
R && (Array.isArray(R) ? Array.prototype.push.apply(b.classes, R) : b.classes.push(R)), s.hooks.run("wrap", b);
|
|
11184
|
-
var
|
|
11184
|
+
var D = "";
|
|
11185
11185
|
for (var k in b.attributes)
|
|
11186
|
-
|
|
11187
|
-
return "<" + b.tag + ' class="' + b.classes.join(" ") + '"' +
|
|
11186
|
+
D += " " + k + '="' + (b.attributes[k] || "").replace(/"/g, """) + '"';
|
|
11187
|
+
return "<" + b.tag + ' class="' + b.classes.join(" ") + '"' + D + ">" + b.content + "</" + b.tag + ">";
|
|
11188
11188
|
};
|
|
11189
11189
|
function u(y, m, _, h) {
|
|
11190
11190
|
y.lastIndex = m;
|
|
@@ -11196,48 +11196,48 @@ var fE = { exports: {} };
|
|
|
11196
11196
|
return b;
|
|
11197
11197
|
}
|
|
11198
11198
|
function c(y, m, _, h, b, R) {
|
|
11199
|
-
for (var
|
|
11200
|
-
if (!(!_.hasOwnProperty(
|
|
11201
|
-
var k = _[
|
|
11199
|
+
for (var D in _)
|
|
11200
|
+
if (!(!_.hasOwnProperty(D) || !_[D])) {
|
|
11201
|
+
var k = _[D];
|
|
11202
11202
|
k = Array.isArray(k) ? k : [k];
|
|
11203
|
-
for (var
|
|
11204
|
-
if (R && R.cause ==
|
|
11203
|
+
for (var L = 0; L < k.length; ++L) {
|
|
11204
|
+
if (R && R.cause == D + "," + L)
|
|
11205
11205
|
return;
|
|
11206
|
-
var N = k[
|
|
11207
|
-
if (
|
|
11208
|
-
var
|
|
11209
|
-
N.pattern = RegExp(N.pattern.source,
|
|
11206
|
+
var N = k[L], O = N.inside, B = !!N.lookbehind, G = !!N.greedy, F = N.alias;
|
|
11207
|
+
if (G && !N.pattern.global) {
|
|
11208
|
+
var q = N.pattern.toString().match(/[imsuy]*$/)[0];
|
|
11209
|
+
N.pattern = RegExp(N.pattern.source, q + "g");
|
|
11210
11210
|
}
|
|
11211
|
-
for (var W = N.pattern || N,
|
|
11212
|
-
var w =
|
|
11211
|
+
for (var W = N.pattern || N, H = h.next, J = b; H !== m.tail && !(R && J >= R.reach); J += H.value.length, H = H.next) {
|
|
11212
|
+
var w = H.value;
|
|
11213
11213
|
if (m.length > y.length)
|
|
11214
11214
|
return;
|
|
11215
11215
|
if (!(w instanceof l)) {
|
|
11216
|
-
var I = 1,
|
|
11217
|
-
if (
|
|
11218
|
-
if (
|
|
11216
|
+
var I = 1, U;
|
|
11217
|
+
if (G) {
|
|
11218
|
+
if (U = u(W, J, y, B), !U || U.index >= y.length)
|
|
11219
11219
|
break;
|
|
11220
|
-
var Z =
|
|
11221
|
-
for (Y +=
|
|
11222
|
-
|
|
11223
|
-
if (Y -=
|
|
11220
|
+
var Z = U.index, C = U.index + U[0].length, Y = J;
|
|
11221
|
+
for (Y += H.value.length; Z >= Y; )
|
|
11222
|
+
H = H.next, Y += H.value.length;
|
|
11223
|
+
if (Y -= H.value.length, J = Y, H.value instanceof l)
|
|
11224
11224
|
continue;
|
|
11225
|
-
for (var K =
|
|
11225
|
+
for (var K = H; K !== m.tail && (Y < C || typeof K.value == "string"); K = K.next)
|
|
11226
11226
|
I++, Y += K.value.length;
|
|
11227
|
-
I--, w = y.slice(J, Y),
|
|
11228
|
-
} else if (
|
|
11227
|
+
I--, w = y.slice(J, Y), U.index -= J;
|
|
11228
|
+
} else if (U = u(W, 0, w, B), !U)
|
|
11229
11229
|
continue;
|
|
11230
|
-
var Z =
|
|
11230
|
+
var Z = U.index, Q = U[0], ee = w.slice(0, Z), te = w.slice(Z + Q.length), ie = J + w.length;
|
|
11231
11231
|
R && ie > R.reach && (R.reach = ie);
|
|
11232
|
-
var ne =
|
|
11232
|
+
var ne = H.prev;
|
|
11233
11233
|
ee && (ne = f(m, ne, ee), J += ee.length), p(m, ne, I);
|
|
11234
|
-
var _e = new l(
|
|
11235
|
-
if (
|
|
11234
|
+
var _e = new l(D, O ? s.tokenize(Q, O) : Q, F, Q);
|
|
11235
|
+
if (H = f(m, ne, _e), te && f(m, H, te), I > 1) {
|
|
11236
11236
|
var V = {
|
|
11237
|
-
cause:
|
|
11237
|
+
cause: D + "," + L,
|
|
11238
11238
|
reach: ie
|
|
11239
11239
|
};
|
|
11240
|
-
c(y, m, _,
|
|
11240
|
+
c(y, m, _, H.prev, J, V), R && V.reach > R.reach && (R.reach = V.reach);
|
|
11241
11241
|
}
|
|
11242
11242
|
}
|
|
11243
11243
|
}
|
|
@@ -13093,16 +13093,16 @@ function xr() {
|
|
|
13093
13093
|
wp = 1, ha = e, e.displayName = "csharp", e.aliases = ["dotnet", "cs"];
|
|
13094
13094
|
function e(t) {
|
|
13095
13095
|
(function(n) {
|
|
13096
|
-
function r(I,
|
|
13096
|
+
function r(I, U) {
|
|
13097
13097
|
return I.replace(/<<(\d+)>>/g, function(C, Y) {
|
|
13098
|
-
return "(?:" +
|
|
13098
|
+
return "(?:" + U[+Y] + ")";
|
|
13099
13099
|
});
|
|
13100
13100
|
}
|
|
13101
|
-
function a(I,
|
|
13102
|
-
return RegExp(r(I,
|
|
13101
|
+
function a(I, U, C) {
|
|
13102
|
+
return RegExp(r(I, U), "");
|
|
13103
13103
|
}
|
|
13104
|
-
function i(I,
|
|
13105
|
-
for (var C = 0; C <
|
|
13104
|
+
function i(I, U) {
|
|
13105
|
+
for (var C = 0; C < U; C++)
|
|
13106
13106
|
I = I.replace(/<<self>>/g, function() {
|
|
13107
13107
|
return "(?:" + I + ")";
|
|
13108
13108
|
});
|
|
@@ -13147,7 +13147,7 @@ function xr() {
|
|
|
13147
13147
|
), b = {
|
|
13148
13148
|
keyword: u,
|
|
13149
13149
|
punctuation: /[<>()?,.:[\]]/
|
|
13150
|
-
}, R = /'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,
|
|
13150
|
+
}, R = /'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source, D = /"(?:\\.|[^\\"\r\n])*"/.source, k = /@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;
|
|
13151
13151
|
n.languages.csharp = n.languages.extend("clike", {
|
|
13152
13152
|
string: [
|
|
13153
13153
|
{
|
|
@@ -13156,7 +13156,7 @@ function xr() {
|
|
|
13156
13156
|
greedy: !0
|
|
13157
13157
|
},
|
|
13158
13158
|
{
|
|
13159
|
-
pattern: a(/(^|[^@$\\])<<0>>/.source, [
|
|
13159
|
+
pattern: a(/(^|[^@$\\])<<0>>/.source, [D]),
|
|
13160
13160
|
lookbehind: !0,
|
|
13161
13161
|
greedy: !0
|
|
13162
13162
|
}
|
|
@@ -13357,15 +13357,15 @@ function xr() {
|
|
|
13357
13357
|
}
|
|
13358
13358
|
}
|
|
13359
13359
|
});
|
|
13360
|
-
var
|
|
13360
|
+
var L = D + "|" + R, N = r(
|
|
13361
13361
|
/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,
|
|
13362
|
-
[
|
|
13362
|
+
[L]
|
|
13363
13363
|
), O = i(
|
|
13364
13364
|
r(/[^"'/()]|<<0>>|\(<<self>>*\)/.source, [
|
|
13365
13365
|
N
|
|
13366
13366
|
]),
|
|
13367
13367
|
2
|
|
13368
|
-
),
|
|
13368
|
+
), B = /\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source, G = r(/<<0>>(?:\s*\(<<1>>*\))?/.source, [
|
|
13369
13369
|
x,
|
|
13370
13370
|
O
|
|
13371
13371
|
]);
|
|
@@ -13375,13 +13375,13 @@ function xr() {
|
|
|
13375
13375
|
// [Foo], [Foo(1), Bar(2, Prop = "foo")], [return: Foo(1), Bar(2)], [assembly: Foo(Bar)]
|
|
13376
13376
|
pattern: a(
|
|
13377
13377
|
/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,
|
|
13378
|
-
[
|
|
13378
|
+
[B, G]
|
|
13379
13379
|
),
|
|
13380
13380
|
lookbehind: !0,
|
|
13381
13381
|
greedy: !0,
|
|
13382
13382
|
inside: {
|
|
13383
13383
|
target: {
|
|
13384
|
-
pattern: a(/^<<0>>(?=\s*:)/.source, [
|
|
13384
|
+
pattern: a(/^<<0>>(?=\s*:)/.source, [B]),
|
|
13385
13385
|
alias: "keyword"
|
|
13386
13386
|
},
|
|
13387
13387
|
"attribute-arguments": {
|
|
@@ -13398,25 +13398,25 @@ function xr() {
|
|
|
13398
13398
|
}
|
|
13399
13399
|
}
|
|
13400
13400
|
});
|
|
13401
|
-
var
|
|
13401
|
+
var F = /:[^}\r\n]+/.source, q = i(
|
|
13402
13402
|
r(/[^"'/()]|<<0>>|\(<<self>>*\)/.source, [
|
|
13403
13403
|
N
|
|
13404
13404
|
]),
|
|
13405
13405
|
2
|
|
13406
13406
|
), W = r(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source, [
|
|
13407
|
-
|
|
13408
|
-
|
|
13409
|
-
]),
|
|
13407
|
+
q,
|
|
13408
|
+
F
|
|
13409
|
+
]), H = i(
|
|
13410
13410
|
r(
|
|
13411
13411
|
/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,
|
|
13412
|
-
[
|
|
13412
|
+
[L]
|
|
13413
13413
|
),
|
|
13414
13414
|
2
|
|
13415
13415
|
), J = r(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source, [
|
|
13416
|
-
|
|
13417
|
-
|
|
13416
|
+
H,
|
|
13417
|
+
F
|
|
13418
13418
|
]);
|
|
13419
|
-
function w(I,
|
|
13419
|
+
function w(I, U) {
|
|
13420
13420
|
return {
|
|
13421
13421
|
interpolation: {
|
|
13422
13422
|
pattern: a(/((?:^|[^{])(?:\{\{)*)<<0>>/.source, [I]),
|
|
@@ -13424,8 +13424,8 @@ function xr() {
|
|
|
13424
13424
|
inside: {
|
|
13425
13425
|
"format-string": {
|
|
13426
13426
|
pattern: a(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source, [
|
|
13427
|
-
|
|
13428
|
-
|
|
13427
|
+
U,
|
|
13428
|
+
F
|
|
13429
13429
|
]),
|
|
13430
13430
|
lookbehind: !0,
|
|
13431
13431
|
inside: {
|
|
@@ -13452,7 +13452,7 @@ function xr() {
|
|
|
13452
13452
|
),
|
|
13453
13453
|
lookbehind: !0,
|
|
13454
13454
|
greedy: !0,
|
|
13455
|
-
inside: w(W,
|
|
13455
|
+
inside: w(W, q)
|
|
13456
13456
|
},
|
|
13457
13457
|
{
|
|
13458
13458
|
pattern: a(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source, [
|
|
@@ -13460,7 +13460,7 @@ function xr() {
|
|
|
13460
13460
|
]),
|
|
13461
13461
|
lookbehind: !0,
|
|
13462
13462
|
greedy: !0,
|
|
13463
|
-
inside: w(J,
|
|
13463
|
+
inside: w(J, H)
|
|
13464
13464
|
}
|
|
13465
13465
|
],
|
|
13466
13466
|
char: {
|
|
@@ -20596,41 +20596,41 @@ function gN() {
|
|
|
20596
20596
|
}), m = 0, _ = {}, h = y.map(function(k) {
|
|
20597
20597
|
if (typeof k == "string")
|
|
20598
20598
|
return k;
|
|
20599
|
-
for (var
|
|
20599
|
+
for (var L = k.content, N; S.indexOf(
|
|
20600
20600
|
N = u(m++, T)
|
|
20601
20601
|
) !== -1; )
|
|
20602
20602
|
;
|
|
20603
|
-
return _[N] =
|
|
20603
|
+
return _[N] = L, N;
|
|
20604
20604
|
}).join(""), b = c(h, x, T), R = Object.keys(_);
|
|
20605
20605
|
m = 0;
|
|
20606
|
-
function
|
|
20607
|
-
for (var
|
|
20606
|
+
function D(k) {
|
|
20607
|
+
for (var L = 0; L < k.length; L++) {
|
|
20608
20608
|
if (m >= R.length)
|
|
20609
20609
|
return;
|
|
20610
|
-
var N = k[
|
|
20610
|
+
var N = k[L];
|
|
20611
20611
|
if (typeof N == "string" || typeof N.content == "string") {
|
|
20612
|
-
var O = R[m],
|
|
20612
|
+
var O = R[m], B = typeof N == "string" ? N : (
|
|
20613
20613
|
/** @type {string} */
|
|
20614
20614
|
N.content
|
|
20615
|
-
),
|
|
20616
|
-
if (
|
|
20615
|
+
), G = B.indexOf(O);
|
|
20616
|
+
if (G !== -1) {
|
|
20617
20617
|
++m;
|
|
20618
|
-
var
|
|
20618
|
+
var F = B.substring(0, G), q = d(
|
|
20619
20619
|
_[O]
|
|
20620
|
-
), W =
|
|
20621
|
-
if (
|
|
20620
|
+
), W = B.substring(G + O.length), H = [];
|
|
20621
|
+
if (F && H.push(F), H.push(q), W) {
|
|
20622
20622
|
var J = [W];
|
|
20623
|
-
|
|
20623
|
+
D(J), H.push.apply(H, J);
|
|
20624
20624
|
}
|
|
20625
|
-
typeof N == "string" ? (k.splice.apply(k, [
|
|
20625
|
+
typeof N == "string" ? (k.splice.apply(k, [L, 1].concat(H)), L += H.length - 1) : N.content = H;
|
|
20626
20626
|
}
|
|
20627
20627
|
} else {
|
|
20628
20628
|
var w = N.content;
|
|
20629
|
-
Array.isArray(w) ?
|
|
20629
|
+
Array.isArray(w) ? D(w) : D([w]);
|
|
20630
20630
|
}
|
|
20631
20631
|
}
|
|
20632
20632
|
}
|
|
20633
|
-
return
|
|
20633
|
+
return D(b), new n.Token(
|
|
20634
20634
|
T,
|
|
20635
20635
|
b,
|
|
20636
20636
|
"language-" + T,
|
|
@@ -20660,10 +20660,10 @@ function gN() {
|
|
|
20660
20660
|
if (_.type === "template-string") {
|
|
20661
20661
|
var b = h[1];
|
|
20662
20662
|
if (h.length === 3 && typeof b != "string" && b.type === "embedded-code") {
|
|
20663
|
-
var R = E(b),
|
|
20664
|
-
if (!
|
|
20663
|
+
var R = E(b), D = b.alias, k = Array.isArray(D) ? D[0] : D, L = n.languages[k];
|
|
20664
|
+
if (!L)
|
|
20665
20665
|
continue;
|
|
20666
|
-
h[1] = f(R,
|
|
20666
|
+
h[1] = f(R, L, k);
|
|
20667
20667
|
}
|
|
20668
20668
|
} else
|
|
20669
20669
|
x(h);
|
|
@@ -32700,14 +32700,14 @@ function FL() {
|
|
|
32700
32700
|
}
|
|
32701
32701
|
}
|
|
32702
32702
|
}
|
|
32703
|
-
var b = u, R = c,
|
|
32703
|
+
var b = u, R = c, D = l, k = s, L = n, N = d, O = a, B = S, G = E, F = r, q = o, W = i, H = f, J = !1;
|
|
32704
32704
|
function w(V) {
|
|
32705
32705
|
return J || (J = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), I(V) || h(V) === u;
|
|
32706
32706
|
}
|
|
32707
32707
|
function I(V) {
|
|
32708
32708
|
return h(V) === c;
|
|
32709
32709
|
}
|
|
32710
|
-
function
|
|
32710
|
+
function U(V) {
|
|
32711
32711
|
return h(V) === l;
|
|
32712
32712
|
}
|
|
32713
32713
|
function C(V) {
|
|
@@ -32740,7 +32740,7 @@ function FL() {
|
|
|
32740
32740
|
function _e(V) {
|
|
32741
32741
|
return h(V) === f;
|
|
32742
32742
|
}
|
|
32743
|
-
be.AsyncMode = b, be.ConcurrentMode = R, be.ContextConsumer =
|
|
32743
|
+
be.AsyncMode = b, be.ConcurrentMode = R, be.ContextConsumer = D, be.ContextProvider = k, be.Element = L, be.ForwardRef = N, be.Fragment = O, be.Lazy = B, be.Memo = G, be.Portal = F, be.Profiler = q, be.StrictMode = W, be.Suspense = H, be.isAsyncMode = w, be.isConcurrentMode = I, be.isContextConsumer = U, be.isContextProvider = C, be.isElement = Y, be.isForwardRef = K, be.isFragment = Z, be.isLazy = Q, be.isMemo = ee, be.isPortal = te, be.isProfiler = ie, be.isStrictMode = ne, be.isSuspense = _e, be.isValidElementType = _, be.typeOf = h;
|
|
32744
32744
|
}(), be;
|
|
32745
32745
|
}
|
|
32746
32746
|
var cb;
|
|
@@ -32881,9 +32881,9 @@ function BL() {
|
|
|
32881
32881
|
return au = function(l, u) {
|
|
32882
32882
|
var c = typeof Symbol == "function" && Symbol.iterator, d = "@@iterator";
|
|
32883
32883
|
function f(I) {
|
|
32884
|
-
var
|
|
32885
|
-
if (typeof
|
|
32886
|
-
return
|
|
32884
|
+
var U = I && (c && I[c] || I[d]);
|
|
32885
|
+
if (typeof U == "function")
|
|
32886
|
+
return U;
|
|
32887
32887
|
}
|
|
32888
32888
|
var p = "<<anonymous>>", E = {
|
|
32889
32889
|
array: y("array"),
|
|
@@ -32901,21 +32901,21 @@ function BL() {
|
|
|
32901
32901
|
instanceOf: R,
|
|
32902
32902
|
node: N(),
|
|
32903
32903
|
objectOf: k,
|
|
32904
|
-
oneOf:
|
|
32905
|
-
oneOfType:
|
|
32906
|
-
shape:
|
|
32907
|
-
exact:
|
|
32904
|
+
oneOf: D,
|
|
32905
|
+
oneOfType: L,
|
|
32906
|
+
shape: B,
|
|
32907
|
+
exact: G
|
|
32908
32908
|
};
|
|
32909
|
-
function S(I,
|
|
32910
|
-
return I ===
|
|
32909
|
+
function S(I, U) {
|
|
32910
|
+
return I === U ? I !== 0 || 1 / I === 1 / U : I !== I && U !== U;
|
|
32911
32911
|
}
|
|
32912
|
-
function x(I,
|
|
32913
|
-
this.message = I, this.data =
|
|
32912
|
+
function x(I, U) {
|
|
32913
|
+
this.message = I, this.data = U && typeof U == "object" ? U : {}, this.stack = "";
|
|
32914
32914
|
}
|
|
32915
32915
|
x.prototype = Error.prototype;
|
|
32916
32916
|
function T(I) {
|
|
32917
32917
|
if (e.NODE_ENV !== "production")
|
|
32918
|
-
var
|
|
32918
|
+
var U = {}, C = 0;
|
|
32919
32919
|
function Y(Z, Q, ee, te, ie, ne, _e) {
|
|
32920
32920
|
if (te = te || p, ne = ne || ee, _e !== r) {
|
|
32921
32921
|
if (u) {
|
|
@@ -32925,10 +32925,10 @@ function BL() {
|
|
|
32925
32925
|
throw V.name = "Invariant Violation", V;
|
|
32926
32926
|
} else if (e.NODE_ENV !== "production" && typeof console < "u") {
|
|
32927
32927
|
var De = te + ":" + ee;
|
|
32928
|
-
!
|
|
32928
|
+
!U[De] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
32929
32929
|
C < 3 && (o(
|
|
32930
32930
|
"You are manually calling a React.PropTypes validation function for the `" + ne + "` prop on `" + te + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
32931
|
-
),
|
|
32931
|
+
), U[De] = !0, C++);
|
|
32932
32932
|
}
|
|
32933
32933
|
}
|
|
32934
32934
|
return Q[ee] == null ? Z ? Q[ee] === null ? new x("The " + ie + " `" + ne + "` is marked as required " + ("in `" + te + "`, but its value is `null`.")) : new x("The " + ie + " `" + ne + "` is marked as required in " + ("`" + te + "`, but its value is `undefined`.")) : null : I(Q, ee, te, ie, ne);
|
|
@@ -32937,10 +32937,10 @@ function BL() {
|
|
|
32937
32937
|
return K.isRequired = Y.bind(null, !0), K;
|
|
32938
32938
|
}
|
|
32939
32939
|
function y(I) {
|
|
32940
|
-
function
|
|
32940
|
+
function U(C, Y, K, Z, Q, ee) {
|
|
32941
32941
|
var te = C[Y], ie = W(te);
|
|
32942
32942
|
if (ie !== I) {
|
|
32943
|
-
var ne =
|
|
32943
|
+
var ne = H(te);
|
|
32944
32944
|
return new x(
|
|
32945
32945
|
"Invalid " + Z + " `" + Q + "` of type " + ("`" + ne + "` supplied to `" + K + "`, expected ") + ("`" + I + "`."),
|
|
32946
32946
|
{ expectedType: I }
|
|
@@ -32948,13 +32948,13 @@ function BL() {
|
|
|
32948
32948
|
}
|
|
32949
32949
|
return null;
|
|
32950
32950
|
}
|
|
32951
|
-
return T(
|
|
32951
|
+
return T(U);
|
|
32952
32952
|
}
|
|
32953
32953
|
function m() {
|
|
32954
32954
|
return T(s);
|
|
32955
32955
|
}
|
|
32956
32956
|
function _(I) {
|
|
32957
|
-
function
|
|
32957
|
+
function U(C, Y, K, Z, Q) {
|
|
32958
32958
|
if (typeof I != "function")
|
|
32959
32959
|
return new x("Property `" + Q + "` of component `" + K + "` has invalid PropType notation inside arrayOf.");
|
|
32960
32960
|
var ee = C[Y];
|
|
@@ -32969,11 +32969,11 @@ function BL() {
|
|
|
32969
32969
|
}
|
|
32970
32970
|
return null;
|
|
32971
32971
|
}
|
|
32972
|
-
return T(
|
|
32972
|
+
return T(U);
|
|
32973
32973
|
}
|
|
32974
32974
|
function h() {
|
|
32975
|
-
function I(
|
|
32976
|
-
var Q =
|
|
32975
|
+
function I(U, C, Y, K, Z) {
|
|
32976
|
+
var Q = U[C];
|
|
32977
32977
|
if (!l(Q)) {
|
|
32978
32978
|
var ee = W(Q);
|
|
32979
32979
|
return new x("Invalid " + K + " `" + Z + "` of type " + ("`" + ee + "` supplied to `" + Y + "`, expected a single ReactElement."));
|
|
@@ -32983,8 +32983,8 @@ function BL() {
|
|
|
32983
32983
|
return T(I);
|
|
32984
32984
|
}
|
|
32985
32985
|
function b() {
|
|
32986
|
-
function I(
|
|
32987
|
-
var Q =
|
|
32986
|
+
function I(U, C, Y, K, Z) {
|
|
32987
|
+
var Q = U[C];
|
|
32988
32988
|
if (!t.isValidElementType(Q)) {
|
|
32989
32989
|
var ee = W(Q);
|
|
32990
32990
|
return new x("Invalid " + K + " `" + Z + "` of type " + ("`" + ee + "` supplied to `" + Y + "`, expected a single ReactElement type."));
|
|
@@ -32994,34 +32994,34 @@ function BL() {
|
|
|
32994
32994
|
return T(I);
|
|
32995
32995
|
}
|
|
32996
32996
|
function R(I) {
|
|
32997
|
-
function
|
|
32997
|
+
function U(C, Y, K, Z, Q) {
|
|
32998
32998
|
if (!(C[Y] instanceof I)) {
|
|
32999
32999
|
var ee = I.name || p, te = w(C[Y]);
|
|
33000
33000
|
return new x("Invalid " + Z + " `" + Q + "` of type " + ("`" + te + "` supplied to `" + K + "`, expected ") + ("instance of `" + ee + "`."));
|
|
33001
33001
|
}
|
|
33002
33002
|
return null;
|
|
33003
33003
|
}
|
|
33004
|
-
return T(
|
|
33004
|
+
return T(U);
|
|
33005
33005
|
}
|
|
33006
|
-
function
|
|
33006
|
+
function D(I) {
|
|
33007
33007
|
if (!Array.isArray(I))
|
|
33008
33008
|
return e.NODE_ENV !== "production" && (arguments.length > 1 ? o(
|
|
33009
33009
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
33010
33010
|
) : o("Invalid argument supplied to oneOf, expected an array.")), s;
|
|
33011
|
-
function
|
|
33011
|
+
function U(C, Y, K, Z, Q) {
|
|
33012
33012
|
for (var ee = C[Y], te = 0; te < I.length; te++)
|
|
33013
33013
|
if (S(ee, I[te]))
|
|
33014
33014
|
return null;
|
|
33015
33015
|
var ie = JSON.stringify(I, function(_e, V) {
|
|
33016
|
-
var De =
|
|
33016
|
+
var De = H(V);
|
|
33017
33017
|
return De === "symbol" ? String(V) : V;
|
|
33018
33018
|
});
|
|
33019
33019
|
return new x("Invalid " + Z + " `" + Q + "` of value `" + String(ee) + "` " + ("supplied to `" + K + "`, expected one of " + ie + "."));
|
|
33020
33020
|
}
|
|
33021
|
-
return T(
|
|
33021
|
+
return T(U);
|
|
33022
33022
|
}
|
|
33023
33023
|
function k(I) {
|
|
33024
|
-
function
|
|
33024
|
+
function U(C, Y, K, Z, Q) {
|
|
33025
33025
|
if (typeof I != "function")
|
|
33026
33026
|
return new x("Property `" + Q + "` of component `" + K + "` has invalid PropType notation inside objectOf.");
|
|
33027
33027
|
var ee = C[Y], te = W(ee);
|
|
@@ -33035,16 +33035,16 @@ function BL() {
|
|
|
33035
33035
|
}
|
|
33036
33036
|
return null;
|
|
33037
33037
|
}
|
|
33038
|
-
return T(
|
|
33038
|
+
return T(U);
|
|
33039
33039
|
}
|
|
33040
|
-
function
|
|
33040
|
+
function L(I) {
|
|
33041
33041
|
if (!Array.isArray(I))
|
|
33042
33042
|
return e.NODE_ENV !== "production" && o("Invalid argument supplied to oneOfType, expected an instance of array."), s;
|
|
33043
|
-
for (var
|
|
33044
|
-
var C = I[
|
|
33043
|
+
for (var U = 0; U < I.length; U++) {
|
|
33044
|
+
var C = I[U];
|
|
33045
33045
|
if (typeof C != "function")
|
|
33046
33046
|
return o(
|
|
33047
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + J(C) + " at index " +
|
|
33047
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + J(C) + " at index " + U + "."
|
|
33048
33048
|
), s;
|
|
33049
33049
|
}
|
|
33050
33050
|
function Y(K, Z, Q, ee, te) {
|
|
@@ -33060,35 +33060,35 @@ function BL() {
|
|
|
33060
33060
|
return T(Y);
|
|
33061
33061
|
}
|
|
33062
33062
|
function N() {
|
|
33063
|
-
function I(
|
|
33064
|
-
return U
|
|
33063
|
+
function I(U, C, Y, K, Z) {
|
|
33064
|
+
return F(U[C]) ? null : new x("Invalid " + K + " `" + Z + "` supplied to " + ("`" + Y + "`, expected a ReactNode."));
|
|
33065
33065
|
}
|
|
33066
33066
|
return T(I);
|
|
33067
33067
|
}
|
|
33068
|
-
function O(I,
|
|
33068
|
+
function O(I, U, C, Y, K) {
|
|
33069
33069
|
return new x(
|
|
33070
|
-
(I || "React class") + ": " +
|
|
33070
|
+
(I || "React class") + ": " + U + " type `" + C + "." + Y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + K + "`."
|
|
33071
33071
|
);
|
|
33072
33072
|
}
|
|
33073
|
-
function
|
|
33074
|
-
function
|
|
33073
|
+
function B(I) {
|
|
33074
|
+
function U(C, Y, K, Z, Q) {
|
|
33075
33075
|
var ee = C[Y], te = W(ee);
|
|
33076
33076
|
if (te !== "object")
|
|
33077
33077
|
return new x("Invalid " + Z + " `" + Q + "` of type `" + te + "` " + ("supplied to `" + K + "`, expected `object`."));
|
|
33078
33078
|
for (var ie in I) {
|
|
33079
33079
|
var ne = I[ie];
|
|
33080
33080
|
if (typeof ne != "function")
|
|
33081
|
-
return O(K, Z, Q, ie,
|
|
33081
|
+
return O(K, Z, Q, ie, H(ne));
|
|
33082
33082
|
var _e = ne(ee, ie, K, Z, Q + "." + ie, r);
|
|
33083
33083
|
if (_e)
|
|
33084
33084
|
return _e;
|
|
33085
33085
|
}
|
|
33086
33086
|
return null;
|
|
33087
33087
|
}
|
|
33088
|
-
return T(
|
|
33088
|
+
return T(U);
|
|
33089
33089
|
}
|
|
33090
|
-
function
|
|
33091
|
-
function
|
|
33090
|
+
function G(I) {
|
|
33091
|
+
function U(C, Y, K, Z, Q) {
|
|
33092
33092
|
var ee = C[Y], te = W(ee);
|
|
33093
33093
|
if (te !== "object")
|
|
33094
33094
|
return new x("Invalid " + Z + " `" + Q + "` of type `" + te + "` " + ("supplied to `" + K + "`, expected `object`."));
|
|
@@ -33096,7 +33096,7 @@ function BL() {
|
|
|
33096
33096
|
for (var ne in ie) {
|
|
33097
33097
|
var _e = I[ne];
|
|
33098
33098
|
if (a(I, ne) && typeof _e != "function")
|
|
33099
|
-
return O(K, Z, Q, ne,
|
|
33099
|
+
return O(K, Z, Q, ne, H(_e));
|
|
33100
33100
|
if (!_e)
|
|
33101
33101
|
return new x(
|
|
33102
33102
|
"Invalid " + Z + " `" + Q + "` key `" + ne + "` supplied to `" + K + "`.\nBad object: " + JSON.stringify(C[Y], null, " ") + `
|
|
@@ -33108,9 +33108,9 @@ Valid keys: ` + JSON.stringify(Object.keys(I), null, " ")
|
|
|
33108
33108
|
}
|
|
33109
33109
|
return null;
|
|
33110
33110
|
}
|
|
33111
|
-
return T(
|
|
33111
|
+
return T(U);
|
|
33112
33112
|
}
|
|
33113
|
-
function
|
|
33113
|
+
function F(I) {
|
|
33114
33114
|
switch (typeof I) {
|
|
33115
33115
|
case "number":
|
|
33116
33116
|
case "string":
|
|
@@ -33120,20 +33120,20 @@ Valid keys: ` + JSON.stringify(Object.keys(I), null, " ")
|
|
|
33120
33120
|
return !I;
|
|
33121
33121
|
case "object":
|
|
33122
33122
|
if (Array.isArray(I))
|
|
33123
|
-
return I.every(
|
|
33123
|
+
return I.every(F);
|
|
33124
33124
|
if (I === null || l(I))
|
|
33125
33125
|
return !0;
|
|
33126
|
-
var
|
|
33127
|
-
if (
|
|
33128
|
-
var C =
|
|
33129
|
-
if (
|
|
33126
|
+
var U = f(I);
|
|
33127
|
+
if (U) {
|
|
33128
|
+
var C = U.call(I), Y;
|
|
33129
|
+
if (U !== I.entries) {
|
|
33130
33130
|
for (; !(Y = C.next()).done; )
|
|
33131
|
-
if (!
|
|
33131
|
+
if (!F(Y.value))
|
|
33132
33132
|
return !1;
|
|
33133
33133
|
} else
|
|
33134
33134
|
for (; !(Y = C.next()).done; ) {
|
|
33135
33135
|
var K = Y.value;
|
|
33136
|
-
if (K && !
|
|
33136
|
+
if (K && !F(K[1]))
|
|
33137
33137
|
return !1;
|
|
33138
33138
|
}
|
|
33139
33139
|
} else
|
|
@@ -33143,37 +33143,37 @@ Valid keys: ` + JSON.stringify(Object.keys(I), null, " ")
|
|
|
33143
33143
|
return !1;
|
|
33144
33144
|
}
|
|
33145
33145
|
}
|
|
33146
|
-
function
|
|
33147
|
-
return I === "symbol" ? !0 :
|
|
33146
|
+
function q(I, U) {
|
|
33147
|
+
return I === "symbol" ? !0 : U ? U["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && U instanceof Symbol : !1;
|
|
33148
33148
|
}
|
|
33149
33149
|
function W(I) {
|
|
33150
|
-
var
|
|
33151
|
-
return Array.isArray(I) ? "array" : I instanceof RegExp ? "object" :
|
|
33150
|
+
var U = typeof I;
|
|
33151
|
+
return Array.isArray(I) ? "array" : I instanceof RegExp ? "object" : q(U, I) ? "symbol" : U;
|
|
33152
33152
|
}
|
|
33153
|
-
function
|
|
33153
|
+
function H(I) {
|
|
33154
33154
|
if (typeof I > "u" || I === null)
|
|
33155
33155
|
return "" + I;
|
|
33156
|
-
var
|
|
33157
|
-
if (
|
|
33156
|
+
var U = W(I);
|
|
33157
|
+
if (U === "object") {
|
|
33158
33158
|
if (I instanceof Date)
|
|
33159
33159
|
return "date";
|
|
33160
33160
|
if (I instanceof RegExp)
|
|
33161
33161
|
return "regexp";
|
|
33162
33162
|
}
|
|
33163
|
-
return
|
|
33163
|
+
return U;
|
|
33164
33164
|
}
|
|
33165
33165
|
function J(I) {
|
|
33166
|
-
var
|
|
33167
|
-
switch (
|
|
33166
|
+
var U = H(I);
|
|
33167
|
+
switch (U) {
|
|
33168
33168
|
case "array":
|
|
33169
33169
|
case "object":
|
|
33170
|
-
return "an " +
|
|
33170
|
+
return "an " + U;
|
|
33171
33171
|
case "boolean":
|
|
33172
33172
|
case "date":
|
|
33173
33173
|
case "regexp":
|
|
33174
|
-
return "a " +
|
|
33174
|
+
return "a " + U;
|
|
33175
33175
|
default:
|
|
33176
|
-
return
|
|
33176
|
+
return U;
|
|
33177
33177
|
}
|
|
33178
33178
|
}
|
|
33179
33179
|
function w(I) {
|
|
@@ -34088,8 +34088,8 @@ var k3 = function(t, n) {
|
|
|
34088
34088
|
function I3(e) {
|
|
34089
34089
|
var t, n = e.state, r = e.name, a = e.options, i = n.elements.arrow, o = n.modifiersData.popperOffsets, s = ht(n.placement), l = Rc(s), u = [We, ot].indexOf(s) >= 0, c = u ? "height" : "width";
|
|
34090
34090
|
if (!(!i || !o)) {
|
|
34091
|
-
var d = k3(a.padding, n), f = Ac(i), p = l === "y" ? Ve : We, E = l === "y" ? it : ot, S = n.rects.reference[c] + n.rects.reference[l] - o[l] - n.rects.popper[c], x = o[l] - n.rects.reference[l], T = Zn(i), y = T ? l === "y" ? T.clientHeight || 0 : T.clientWidth || 0 : 0, m = S / 2 - x / 2, _ = d[p], h = y - f[c] - d[E], b = y / 2 - f[c] / 2 + m, R = Fn(_, b, h),
|
|
34092
|
-
n.modifiersData[r] = (t = {}, t[
|
|
34091
|
+
var d = k3(a.padding, n), f = Ac(i), p = l === "y" ? Ve : We, E = l === "y" ? it : ot, S = n.rects.reference[c] + n.rects.reference[l] - o[l] - n.rects.popper[c], x = o[l] - n.rects.reference[l], T = Zn(i), y = T ? l === "y" ? T.clientHeight || 0 : T.clientWidth || 0 : 0, m = S / 2 - x / 2, _ = d[p], h = y - f[c] - d[E], b = y / 2 - f[c] / 2 + m, R = Fn(_, b, h), D = l;
|
|
34092
|
+
n.modifiersData[r] = (t = {}, t[D] = R, t.centerOffset = R - b, t);
|
|
34093
34093
|
}
|
|
34094
34094
|
}
|
|
34095
34095
|
function N3(e) {
|
|
@@ -34132,8 +34132,8 @@ function Tb(e) {
|
|
|
34132
34132
|
p = x.x, S = x.y;
|
|
34133
34133
|
var T = o.hasOwnProperty("x"), y = o.hasOwnProperty("y"), m = We, _ = Ve, h = window;
|
|
34134
34134
|
if (u) {
|
|
34135
|
-
var b = Zn(n), R = "clientHeight",
|
|
34136
|
-
if (b === Qe(n) && (b = Ft(n), xt(b).position !== "static" && s === "absolute" && (R = "scrollHeight",
|
|
34135
|
+
var b = Zn(n), R = "clientHeight", D = "clientWidth";
|
|
34136
|
+
if (b === Qe(n) && (b = Ft(n), xt(b).position !== "static" && s === "absolute" && (R = "scrollHeight", D = "scrollWidth")), b = b, a === Ve || (a === We || a === ot) && i === $n) {
|
|
34137
34137
|
_ = it;
|
|
34138
34138
|
var k = d && b === h && h.visualViewport ? h.visualViewport.height : (
|
|
34139
34139
|
// $FlowFixMe[prop-missing]
|
|
@@ -34143,11 +34143,11 @@ function Tb(e) {
|
|
|
34143
34143
|
}
|
|
34144
34144
|
if (a === We || (a === Ve || a === it) && i === $n) {
|
|
34145
34145
|
m = ot;
|
|
34146
|
-
var
|
|
34146
|
+
var L = d && b === h && h.visualViewport ? h.visualViewport.width : (
|
|
34147
34147
|
// $FlowFixMe[prop-missing]
|
|
34148
|
-
b[
|
|
34148
|
+
b[D]
|
|
34149
34149
|
);
|
|
34150
|
-
p -=
|
|
34150
|
+
p -= L - r.width, p *= l ? 1 : -1;
|
|
34151
34151
|
}
|
|
34152
34152
|
}
|
|
34153
34153
|
var N = Object.assign({
|
|
@@ -34160,8 +34160,8 @@ function Tb(e) {
|
|
|
34160
34160
|
y: S
|
|
34161
34161
|
};
|
|
34162
34162
|
if (p = O.x, S = O.y, l) {
|
|
34163
|
-
var
|
|
34164
|
-
return Object.assign({}, N, (
|
|
34163
|
+
var B;
|
|
34164
|
+
return Object.assign({}, N, (B = {}, B[_] = y ? "0" : "", B[m] = T ? "0" : "", B.transform = (h.devicePixelRatio || 1) <= 1 ? "translate(" + p + "px, " + S + "px)" : "translate3d(" + p + "px, " + S + "px, 0)", B));
|
|
34165
34165
|
}
|
|
34166
34166
|
return Object.assign({}, N, (t = {}, t[_] = y ? S + "px" : "", t[m] = T ? p + "px" : "", t.transform = "", t));
|
|
34167
34167
|
}
|
|
@@ -34367,7 +34367,7 @@ function jn(e, t) {
|
|
|
34367
34367
|
reference: b,
|
|
34368
34368
|
element: m,
|
|
34369
34369
|
placement: a
|
|
34370
|
-
}),
|
|
34370
|
+
}), D = Du(Object.assign({}, m, R)), k = f === Rn ? D : b, L = {
|
|
34371
34371
|
top: h.top - k.top + T.top,
|
|
34372
34372
|
bottom: k.bottom - h.bottom + T.bottom,
|
|
34373
34373
|
left: h.left - k.left + T.left,
|
|
@@ -34375,12 +34375,12 @@ function jn(e, t) {
|
|
|
34375
34375
|
}, N = e.modifiersData.offset;
|
|
34376
34376
|
if (f === Rn && N) {
|
|
34377
34377
|
var O = N[a];
|
|
34378
|
-
Object.keys(
|
|
34379
|
-
var
|
|
34380
|
-
|
|
34378
|
+
Object.keys(L).forEach(function(B) {
|
|
34379
|
+
var G = [ot, it].indexOf(B) >= 0 ? 1 : -1, F = [Ve, it].indexOf(B) >= 0 ? "y" : "x";
|
|
34380
|
+
L[B] += O[F] * G;
|
|
34381
34381
|
});
|
|
34382
34382
|
}
|
|
34383
|
-
return
|
|
34383
|
+
return L;
|
|
34384
34384
|
}
|
|
34385
34385
|
function V3(e, t) {
|
|
34386
34386
|
t === void 0 && (t = {});
|
|
@@ -34420,25 +34420,25 @@ function Y3(e) {
|
|
|
34420
34420
|
flipVariations: E,
|
|
34421
34421
|
allowedAutoPlacements: S
|
|
34422
34422
|
}) : K);
|
|
34423
|
-
}, []), h = t.rects.reference, b = t.rects.popper, R = /* @__PURE__ */ new Map(),
|
|
34424
|
-
var N = _[
|
|
34423
|
+
}, []), h = t.rects.reference, b = t.rects.popper, R = /* @__PURE__ */ new Map(), D = !0, k = _[0], L = 0; L < _.length; L++) {
|
|
34424
|
+
var N = _[L], O = ht(N), B = yn(N) === mn, G = [Ve, it].indexOf(O) >= 0, F = G ? "width" : "height", q = jn(t, {
|
|
34425
34425
|
placement: N,
|
|
34426
34426
|
boundary: c,
|
|
34427
34427
|
rootBoundary: d,
|
|
34428
34428
|
altBoundary: f,
|
|
34429
34429
|
padding: u
|
|
34430
|
-
}), W =
|
|
34431
|
-
h[
|
|
34432
|
-
var
|
|
34433
|
-
if (i && J.push(
|
|
34430
|
+
}), W = G ? B ? ot : We : B ? it : Ve;
|
|
34431
|
+
h[F] > b[F] && (W = pr(W));
|
|
34432
|
+
var H = pr(W), J = [];
|
|
34433
|
+
if (i && J.push(q[O] <= 0), s && J.push(q[W] <= 0, q[H] <= 0), J.every(function(Y) {
|
|
34434
34434
|
return Y;
|
|
34435
34435
|
})) {
|
|
34436
|
-
k = N,
|
|
34436
|
+
k = N, D = !1;
|
|
34437
34437
|
break;
|
|
34438
34438
|
}
|
|
34439
34439
|
R.set(N, J);
|
|
34440
34440
|
}
|
|
34441
|
-
if (
|
|
34441
|
+
if (D)
|
|
34442
34442
|
for (var w = E ? 3 : 1, I = function(K) {
|
|
34443
34443
|
var Z = _.find(function(Q) {
|
|
34444
34444
|
var ee = R.get(Q);
|
|
@@ -34449,8 +34449,8 @@ function Y3(e) {
|
|
|
34449
34449
|
});
|
|
34450
34450
|
if (Z)
|
|
34451
34451
|
return k = Z, "break";
|
|
34452
|
-
},
|
|
34453
|
-
var C = I(
|
|
34452
|
+
}, U = w; U > 0; U--) {
|
|
34453
|
+
var C = I(U);
|
|
34454
34454
|
if (C === "break") break;
|
|
34455
34455
|
}
|
|
34456
34456
|
t.placement !== k && (t.modifiersData[r]._skip = !0, t.placement = k, t.reset = !0);
|
|
@@ -34554,9 +34554,9 @@ function a6(e) {
|
|
|
34554
34554
|
rootBoundary: u,
|
|
34555
34555
|
padding: d,
|
|
34556
34556
|
altBoundary: c
|
|
34557
|
-
}), T = ht(t.placement), y = yn(t.placement), m = !y, _ = Rc(T), h = r6(_), b = t.modifiersData.popperOffsets, R = t.rects.reference,
|
|
34557
|
+
}), T = ht(t.placement), y = yn(t.placement), m = !y, _ = Rc(T), h = r6(_), b = t.modifiersData.popperOffsets, R = t.rects.reference, D = t.rects.popper, k = typeof S == "function" ? S(Object.assign({}, t.rects, {
|
|
34558
34558
|
placement: t.placement
|
|
34559
|
-
})) : S,
|
|
34559
|
+
})) : S, L = typeof k == "number" ? {
|
|
34560
34560
|
mainAxis: k,
|
|
34561
34561
|
altAxis: k
|
|
34562
34562
|
} : Object.assign({
|
|
@@ -34568,14 +34568,14 @@ function a6(e) {
|
|
|
34568
34568
|
};
|
|
34569
34569
|
if (b) {
|
|
34570
34570
|
if (i) {
|
|
34571
|
-
var
|
|
34571
|
+
var B, G = _ === "y" ? Ve : We, F = _ === "y" ? it : ot, q = _ === "y" ? "height" : "width", W = b[_], H = W + x[G], J = W - x[F], w = p ? -D[q] / 2 : 0, I = y === mn ? R[q] : D[q], U = y === mn ? -D[q] : -R[q], C = t.elements.arrow, Y = p && C ? Ac(C) : {
|
|
34572
34572
|
width: 0,
|
|
34573
34573
|
height: 0
|
|
34574
|
-
}, K = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : VE(), Z = K[
|
|
34574
|
+
}, K = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : VE(), Z = K[G], Q = K[F], ee = Fn(0, R[q], Y[q]), te = m ? R[q] / 2 - w - ee - Z - L.mainAxis : I - ee - Z - L.mainAxis, ie = m ? -R[q] / 2 + w + ee + Q + L.mainAxis : U + ee + Q + L.mainAxis, ne = t.elements.arrow && Zn(t.elements.arrow), _e = ne ? _ === "y" ? ne.clientTop || 0 : ne.clientLeft || 0 : 0, V = (B = N == null ? void 0 : N[_]) != null ? B : 0, De = W + te - V - _e, lt = W + ie - V, Ze = Fn(p ? hr(H, De) : H, W, p ? Yt(J, lt) : J);
|
|
34575
34575
|
b[_] = Ze, O[_] = Ze - W;
|
|
34576
34576
|
}
|
|
34577
34577
|
if (s) {
|
|
34578
|
-
var ut, en = _ === "x" ? Ve : We, Pt = _ === "x" ? it : ot, Pe = b[h], _t = h === "y" ? "height" : "width", tn = Pe + x[en], At = Pe - x[Pt], Ut = [Ve, We].indexOf(T) !== -1, nn = (ut = N == null ? void 0 : N[h]) != null ? ut : 0,
|
|
34578
|
+
var ut, en = _ === "x" ? Ve : We, Pt = _ === "x" ? it : ot, Pe = b[h], _t = h === "y" ? "height" : "width", tn = Pe + x[en], At = Pe - x[Pt], Ut = [Ve, We].indexOf(T) !== -1, nn = (ut = N == null ? void 0 : N[h]) != null ? ut : 0, P = Ut ? tn : Pe - R[_t] - D[_t] - nn + L.altAxis, z = Ut ? Pe + R[_t] + D[_t] - nn - L.altAxis : At, re = p && Ut ? R3(P, Pe, z) : Fn(p ? P : tn, Pe, p ? z : At);
|
|
34579
34579
|
b[h] = re, O[h] = re - Pe;
|
|
34580
34580
|
}
|
|
34581
34581
|
t.modifiersData[r] = O;
|
|
@@ -34720,18 +34720,18 @@ function g6(e) {
|
|
|
34720
34720
|
c.rects = {
|
|
34721
34721
|
reference: u6(y, Zn(m), c.options.strategy === "fixed"),
|
|
34722
34722
|
popper: Ac(m)
|
|
34723
|
-
}, c.reset = !1, c.placement = c.options.placement, c.orderedModifiers.forEach(function(
|
|
34724
|
-
return c.modifiersData[
|
|
34723
|
+
}, c.reset = !1, c.placement = c.options.placement, c.orderedModifiers.forEach(function(L) {
|
|
34724
|
+
return c.modifiersData[L.name] = Object.assign({}, L.data);
|
|
34725
34725
|
});
|
|
34726
34726
|
for (var _ = 0; _ < c.orderedModifiers.length; _++) {
|
|
34727
34727
|
if (c.reset === !0) {
|
|
34728
34728
|
c.reset = !1, _ = -1;
|
|
34729
34729
|
continue;
|
|
34730
34730
|
}
|
|
34731
|
-
var h = c.orderedModifiers[_], b = h.fn, R = h.options,
|
|
34731
|
+
var h = c.orderedModifiers[_], b = h.fn, R = h.options, D = R === void 0 ? {} : R, k = h.name;
|
|
34732
34732
|
typeof b == "function" && (c = b({
|
|
34733
34733
|
state: c,
|
|
34734
|
-
options:
|
|
34734
|
+
options: D,
|
|
34735
34735
|
name: k,
|
|
34736
34736
|
instance: p
|
|
34737
34737
|
}) || c);
|
|
@@ -35257,10 +35257,10 @@ function Xn({
|
|
|
35257
35257
|
placement: o = "bottom-start",
|
|
35258
35258
|
children: s
|
|
35259
35259
|
}) {
|
|
35260
|
-
const l = Y6(), [u, c] = d3(t, e, r), [d, f] = Fb(), p = d.current, [E, S] = Fb(), x = E.current, T = n3(u), y = we(null), m = we(!1), _ = xe(Fu), h = Me((N, O,
|
|
35260
|
+
const l = Y6(), [u, c] = d3(t, e, r), [d, f] = Fb(), p = d.current, [E, S] = Fb(), x = E.current, T = n3(u), y = we(null), m = we(!1), _ = xe(Fu), h = Me((N, O, B = O == null ? void 0 : O.type) => {
|
|
35261
35261
|
c(N, {
|
|
35262
35262
|
originalEvent: O,
|
|
35263
|
-
source:
|
|
35263
|
+
source: B
|
|
35264
35264
|
});
|
|
35265
35265
|
}, [c]), b = Nt((N, O) => {
|
|
35266
35266
|
n == null || n(N, O), h(!1, O, "select"), O.isPropagationStopped() || _ == null || _(N, O);
|
|
@@ -35274,42 +35274,42 @@ function Xn({
|
|
|
35274
35274
|
setToggle: S
|
|
35275
35275
|
}), [h, o, u, p, x, f, S]);
|
|
35276
35276
|
p && T && !u && (m.current = p.contains(p.ownerDocument.activeElement));
|
|
35277
|
-
const
|
|
35277
|
+
const D = Nt(() => {
|
|
35278
35278
|
x && x.focus && x.focus();
|
|
35279
35279
|
}), k = Nt(() => {
|
|
35280
35280
|
const N = y.current;
|
|
35281
35281
|
let O = i;
|
|
35282
35282
|
if (O == null && (O = d.current && nv(d.current) ? "keyboard" : !1), O === !1 || O === "keyboard" && !/^key.+$/.test(N))
|
|
35283
35283
|
return;
|
|
35284
|
-
const
|
|
35285
|
-
|
|
35284
|
+
const B = Eb(d.current, a)[0];
|
|
35285
|
+
B && B.focus && B.focus();
|
|
35286
35286
|
});
|
|
35287
35287
|
Ie(() => {
|
|
35288
|
-
u ? k() : m.current && (m.current = !1,
|
|
35289
|
-
}, [u, m,
|
|
35288
|
+
u ? k() : m.current && (m.current = !1, D());
|
|
35289
|
+
}, [u, m, D, k]), Ie(() => {
|
|
35290
35290
|
y.current = null;
|
|
35291
35291
|
});
|
|
35292
|
-
const
|
|
35292
|
+
const L = (N, O) => {
|
|
35293
35293
|
if (!d.current) return null;
|
|
35294
|
-
const
|
|
35295
|
-
let
|
|
35296
|
-
return
|
|
35294
|
+
const B = Eb(d.current, a);
|
|
35295
|
+
let G = B.indexOf(N) + O;
|
|
35296
|
+
return G = Math.max(0, Math.min(G, B.length)), B[G];
|
|
35297
35297
|
};
|
|
35298
35298
|
return e3(Me(() => l.document, [l]), "keydown", (N) => {
|
|
35299
|
-
var O,
|
|
35299
|
+
var O, B;
|
|
35300
35300
|
const {
|
|
35301
|
-
key:
|
|
35302
|
-
} = N,
|
|
35303
|
-
if (/input|textarea/i.test(
|
|
35301
|
+
key: G
|
|
35302
|
+
} = N, F = N.target, q = (O = d.current) == null ? void 0 : O.contains(F), W = (B = E.current) == null ? void 0 : B.contains(F);
|
|
35303
|
+
if (/input|textarea/i.test(F.tagName) && (G === " " || G !== "Escape" && q || G === "Escape" && F.type === "search") || !q && !W || G === "Tab" && (!d.current || !u))
|
|
35304
35304
|
return;
|
|
35305
35305
|
y.current = N.type;
|
|
35306
35306
|
const J = {
|
|
35307
35307
|
originalEvent: N,
|
|
35308
35308
|
source: N.type
|
|
35309
35309
|
};
|
|
35310
|
-
switch (
|
|
35310
|
+
switch (G) {
|
|
35311
35311
|
case "ArrowUp": {
|
|
35312
|
-
const w =
|
|
35312
|
+
const w = L(F, -1);
|
|
35313
35313
|
w && w.focus && w.focus(), N.preventDefault();
|
|
35314
35314
|
return;
|
|
35315
35315
|
}
|
|
@@ -35317,12 +35317,12 @@ function Xn({
|
|
|
35317
35317
|
if (N.preventDefault(), !u)
|
|
35318
35318
|
c(!0, J);
|
|
35319
35319
|
else {
|
|
35320
|
-
const w =
|
|
35320
|
+
const w = L(F, 1);
|
|
35321
35321
|
w && w.focus && w.focus();
|
|
35322
35322
|
}
|
|
35323
35323
|
return;
|
|
35324
35324
|
case "Tab":
|
|
35325
|
-
UE(
|
|
35325
|
+
UE(F.ownerDocument, "keyup", (w) => {
|
|
35326
35326
|
var I;
|
|
35327
35327
|
(w.key === "Tab" && !w.target || !((I = d.current) != null && I.contains(w.target))) && c(!1, J);
|
|
35328
35328
|
}, {
|
|
@@ -35330,7 +35330,7 @@ function Xn({
|
|
|
35330
35330
|
});
|
|
35331
35331
|
break;
|
|
35332
35332
|
case "Escape":
|
|
35333
|
-
|
|
35333
|
+
G === "Escape" && (N.preventDefault(), N.stopPropagation()), c(!1, J);
|
|
35334
35334
|
break;
|
|
35335
35335
|
}
|
|
35336
35336
|
}), /* @__PURE__ */ g.jsx(Fu.Provider, {
|
|
@@ -35455,14 +35455,14 @@ const bv = /* @__PURE__ */ Oe.forwardRef(({
|
|
|
35455
35455
|
if (typeof n == "object") {
|
|
35456
35456
|
const N = Object.keys(n);
|
|
35457
35457
|
if (J6.NODE_ENV !== "production" && JE(N.length === 1, "There should only be 1 breakpoint when passing an object to `align`"), N.length) {
|
|
35458
|
-
const O = N[0],
|
|
35459
|
-
f =
|
|
35458
|
+
const O = N[0], B = n[O];
|
|
35459
|
+
f = B === "start", m.push(`${E}-${O}-${B}`);
|
|
35460
35460
|
}
|
|
35461
35461
|
} else n === "end" && (f = !0);
|
|
35462
35462
|
const _ = hv(f, x, T), [h, {
|
|
35463
35463
|
hasShown: b,
|
|
35464
35464
|
popper: R,
|
|
35465
|
-
show:
|
|
35465
|
+
show: D,
|
|
35466
35466
|
toggle: k
|
|
35467
35467
|
}] = QE({
|
|
35468
35468
|
flip: a,
|
|
@@ -35474,21 +35474,21 @@ const bv = /* @__PURE__ */ Oe.forwardRef(({
|
|
|
35474
35474
|
placement: _
|
|
35475
35475
|
});
|
|
35476
35476
|
if (h.ref = Cc(mv(d, "DropdownMenu"), h.ref), X6(() => {
|
|
35477
|
-
|
|
35478
|
-
}, [
|
|
35479
|
-
typeof s != "string" && (h.show =
|
|
35480
|
-
let
|
|
35481
|
-
return R != null && R.placement && (
|
|
35477
|
+
D && (R == null || R.update());
|
|
35478
|
+
}, [D]), !b && !o && !y) return null;
|
|
35479
|
+
typeof s != "string" && (h.show = D, h.close = () => k == null ? void 0 : k(!1), h.align = n);
|
|
35480
|
+
let L = c.style;
|
|
35481
|
+
return R != null && R.placement && (L = {
|
|
35482
35482
|
...c.style,
|
|
35483
35483
|
...h.style
|
|
35484
35484
|
}, c["x-placement"] = R.placement), /* @__PURE__ */ g.jsx(s, {
|
|
35485
35485
|
...c,
|
|
35486
35486
|
...h,
|
|
35487
|
-
style:
|
|
35487
|
+
style: L,
|
|
35488
35488
|
...(m.length || p) && {
|
|
35489
35489
|
"data-bs-popper": "static"
|
|
35490
35490
|
},
|
|
35491
|
-
className: ft(t, E,
|
|
35491
|
+
className: ft(t, E, D && "show", f && `${E}-end`, u && `${E}-${u}`, ...m)
|
|
35492
35492
|
});
|
|
35493
35493
|
});
|
|
35494
35494
|
bv.displayName = "DropdownMenu";
|
|
@@ -35528,9 +35528,9 @@ const Ev = /* @__PURE__ */ Oe.forwardRef((e, t) => {
|
|
|
35528
35528
|
...p
|
|
35529
35529
|
} = IL(e, {
|
|
35530
35530
|
show: "onToggle"
|
|
35531
|
-
}), E = xe(Lc), S = St(n, "dropdown"), x = LL(), T = (R) => f === !1 ? R === "click" : f === "inside" ? R !== "rootClose" : f === "outside" ? R !== "select" : !0, y = XL((R,
|
|
35531
|
+
}), E = xe(Lc), S = St(n, "dropdown"), x = LL(), T = (R) => f === !1 ? R === "click" : f === "inside" ? R !== "rootClose" : f === "outside" ? R !== "select" : !0, y = XL((R, D) => {
|
|
35532
35532
|
var k;
|
|
35533
|
-
!((k =
|
|
35533
|
+
!((k = D.originalEvent) == null || (k = k.target) == null) && k.classList.contains("dropdown-toggle") && D.source === "mousedown" || (D.originalEvent.currentTarget === document && (D.source !== "keydown" || D.originalEvent.key === "Escape") && (D.source = "rootClose"), T(D.source) && (l == null || l(R, D)));
|
|
35534
35534
|
}), _ = hv(o === "end", r, x), h = Tt(() => ({
|
|
35535
35535
|
align: o,
|
|
35536
35536
|
drop: r,
|
|
@@ -36377,83 +36377,89 @@ const TD = ({
|
|
|
36377
36377
|
a(!0);
|
|
36378
36378
|
const b = await Hv(h);
|
|
36379
36379
|
console.log("Mensajes recibidos del backend:", b);
|
|
36380
|
-
const R = b.map((
|
|
36381
|
-
n((
|
|
36382
|
-
const k =
|
|
36383
|
-
(
|
|
36384
|
-
),
|
|
36385
|
-
new Date(
|
|
36386
|
-
) <
|
|
36387
|
-
(
|
|
36380
|
+
const R = b.map((D) => ({ ...D }));
|
|
36381
|
+
n((D) => {
|
|
36382
|
+
const k = D.filter(
|
|
36383
|
+
(F) => F.sender_type === "ai" && (F.isStatus201 || d)
|
|
36384
|
+
), L = D.filter((F) => F.sender_type !== "user" || !F.pendingSync ? !1 : !R.find((W) => W.sender_type === "user" && W.content.trim() === F.content.trim() && Math.abs(
|
|
36385
|
+
new Date(W.created_at).getTime() - new Date(F.created_at).getTime()
|
|
36386
|
+
) < 15e3)), N = D.find(
|
|
36387
|
+
(F) => F.pendingSync && F.sender_type === "ai" && !F.isStatus201
|
|
36388
36388
|
);
|
|
36389
|
-
if (!
|
|
36390
|
-
const
|
|
36389
|
+
if (!N) {
|
|
36390
|
+
const F = [
|
|
36391
36391
|
...R,
|
|
36392
|
-
...
|
|
36392
|
+
...L,
|
|
36393
36393
|
...k
|
|
36394
36394
|
].sort(
|
|
36395
|
-
(
|
|
36395
|
+
(q, W) => new Date(q.created_at).getTime() - new Date(W.created_at).getTime()
|
|
36396
36396
|
);
|
|
36397
36397
|
return console.log(
|
|
36398
|
-
"
|
|
36399
|
-
|
|
36400
|
-
|
|
36401
|
-
|
|
36402
|
-
|
|
36403
|
-
|
|
36404
|
-
|
|
36398
|
+
"🔥 Mensajes actuales tras fetch (sin pending):",
|
|
36399
|
+
F.map((q) => ({
|
|
36400
|
+
id: q.id,
|
|
36401
|
+
content: q.content,
|
|
36402
|
+
created_at: q.created_at,
|
|
36403
|
+
sender_type: q.sender_type,
|
|
36404
|
+
pendingSync: q.pendingSync
|
|
36405
|
+
}))
|
|
36406
|
+
), F;
|
|
36407
|
+
}
|
|
36408
|
+
const O = R.find(
|
|
36409
|
+
(F) => F.sender_type === "ai" && Math.abs(
|
|
36410
|
+
new Date(F.created_at).getTime() - new Date(N.created_at).getTime()
|
|
36405
36411
|
) < 3e3
|
|
36406
36412
|
);
|
|
36407
|
-
if (
|
|
36408
|
-
const
|
|
36413
|
+
if (!O) {
|
|
36414
|
+
const F = [
|
|
36409
36415
|
...R,
|
|
36410
|
-
...
|
|
36416
|
+
...L,
|
|
36411
36417
|
...k
|
|
36412
36418
|
].sort(
|
|
36413
|
-
(
|
|
36419
|
+
(q, W) => new Date(q.created_at).getTime() - new Date(W.created_at).getTime()
|
|
36414
36420
|
);
|
|
36415
36421
|
return console.log(
|
|
36416
36422
|
"Estado de messages tras fetchMessages (sin real):",
|
|
36417
|
-
|
|
36418
|
-
),
|
|
36423
|
+
F
|
|
36424
|
+
), F;
|
|
36419
36425
|
}
|
|
36420
|
-
const
|
|
36426
|
+
const G = [
|
|
36421
36427
|
...R.map(
|
|
36422
|
-
(
|
|
36428
|
+
(F) => F.id === O.id ? { ...F, content: N.content } : F
|
|
36423
36429
|
),
|
|
36424
|
-
...
|
|
36430
|
+
...L,
|
|
36425
36431
|
...k
|
|
36426
36432
|
].sort(
|
|
36427
|
-
(
|
|
36433
|
+
(F, q) => new Date(F.created_at).getTime() - new Date(q.created_at).getTime()
|
|
36428
36434
|
);
|
|
36429
36435
|
return console.log(
|
|
36430
36436
|
"Estado de messages tras fetchMessages (final):",
|
|
36431
|
-
|
|
36432
|
-
),
|
|
36437
|
+
G
|
|
36438
|
+
), G;
|
|
36433
36439
|
}), p(R);
|
|
36434
36440
|
} catch (b) {
|
|
36435
36441
|
console.error("Failed to fetch messages:", b), n((R) => {
|
|
36436
|
-
const
|
|
36437
|
-
(
|
|
36442
|
+
const D = R.filter(
|
|
36443
|
+
(L) => L.sender_type === "ai" && (L.isStatus201 || d)
|
|
36438
36444
|
), k = R.filter(
|
|
36439
|
-
(
|
|
36445
|
+
(L) => L.sender_type === "user" && Math.abs(new Date(L.created_at).getTime() - (/* @__PURE__ */ new Date()).getTime()) < 1e4
|
|
36440
36446
|
);
|
|
36441
36447
|
return console.log("Preservando mensajes tras error en fetchMessages:", {
|
|
36442
|
-
status201Messages:
|
|
36448
|
+
status201Messages: D,
|
|
36443
36449
|
recentUserMessages: k
|
|
36444
36450
|
}), [
|
|
36445
|
-
...R.filter((
|
|
36451
|
+
...R.filter((L) => !L.pendingSync || L.isStatus201),
|
|
36446
36452
|
...k
|
|
36447
36453
|
].sort(
|
|
36448
|
-
(
|
|
36454
|
+
(L, N) => new Date(L.created_at).getTime() - new Date(N.created_at).getTime()
|
|
36449
36455
|
);
|
|
36450
36456
|
});
|
|
36451
36457
|
} finally {
|
|
36452
36458
|
a(!1);
|
|
36453
36459
|
}
|
|
36454
36460
|
}, T = async (h, b, R) => {
|
|
36455
|
-
let
|
|
36456
|
-
const k = (/* @__PURE__ */ new Date()).toISOString(),
|
|
36461
|
+
let D = null;
|
|
36462
|
+
const k = (/* @__PURE__ */ new Date()).toISOString(), L = {
|
|
36457
36463
|
id: `user-${k}`,
|
|
36458
36464
|
content: b,
|
|
36459
36465
|
sender_type: "user",
|
|
@@ -36461,17 +36467,17 @@ const TD = ({
|
|
|
36461
36467
|
created_at: k,
|
|
36462
36468
|
pendingSync: !0
|
|
36463
36469
|
};
|
|
36464
|
-
n((
|
|
36465
|
-
const
|
|
36466
|
-
(W,
|
|
36470
|
+
n((F) => {
|
|
36471
|
+
const q = [...F, L].sort(
|
|
36472
|
+
(W, H) => new Date(W.created_at).getTime() - new Date(H.created_at).getTime()
|
|
36467
36473
|
);
|
|
36468
|
-
return console.log("Estado de messages tras agregar userMessage:",
|
|
36474
|
+
return console.log("Estado de messages tras agregar userMessage:", q), q;
|
|
36469
36475
|
});
|
|
36470
36476
|
const N = new Date(
|
|
36471
36477
|
(/* @__PURE__ */ new Date()).getTime() + 1
|
|
36472
36478
|
).toISOString(), O = `bot-loading-${N}`;
|
|
36473
36479
|
s.current = O;
|
|
36474
|
-
const
|
|
36480
|
+
const B = {
|
|
36475
36481
|
id: O,
|
|
36476
36482
|
content: "",
|
|
36477
36483
|
loadingContent: /* @__PURE__ */ g.jsx(wu, {}),
|
|
@@ -36481,23 +36487,23 @@ const TD = ({
|
|
|
36481
36487
|
pendingSync: !0,
|
|
36482
36488
|
isStatus201: !1
|
|
36483
36489
|
};
|
|
36484
|
-
n((
|
|
36485
|
-
const
|
|
36486
|
-
(W,
|
|
36490
|
+
n((F) => {
|
|
36491
|
+
const q = [...F, B].sort(
|
|
36492
|
+
(W, H) => new Date(W.created_at).getTime() - new Date(H.created_at).getTime()
|
|
36487
36493
|
);
|
|
36488
|
-
return console.log("Estado de messages tras agregar botMessage:",
|
|
36494
|
+
return console.log("Estado de messages tras agregar botMessage:", q), q;
|
|
36489
36495
|
}), a(!0), o(!0);
|
|
36490
|
-
const
|
|
36491
|
-
l.current =
|
|
36496
|
+
const G = new AbortController();
|
|
36497
|
+
l.current = G, c(!0);
|
|
36492
36498
|
try {
|
|
36493
|
-
|
|
36499
|
+
D = await Vv(
|
|
36494
36500
|
h,
|
|
36495
36501
|
b,
|
|
36496
36502
|
R,
|
|
36497
|
-
|
|
36503
|
+
G.signal
|
|
36498
36504
|
);
|
|
36499
|
-
const
|
|
36500
|
-
if (
|
|
36505
|
+
const F = D.status === 201;
|
|
36506
|
+
if (F) {
|
|
36501
36507
|
n((J) => {
|
|
36502
36508
|
const w = J.map(
|
|
36503
36509
|
(I) => I.id === O ? {
|
|
@@ -36515,16 +36521,16 @@ const TD = ({
|
|
|
36515
36521
|
}), f(!0);
|
|
36516
36522
|
return;
|
|
36517
36523
|
}
|
|
36518
|
-
if (!
|
|
36524
|
+
if (!D.body)
|
|
36519
36525
|
throw new Error("No body in response");
|
|
36520
|
-
const
|
|
36521
|
-
S.current =
|
|
36526
|
+
const q = D.body.getReader();
|
|
36527
|
+
S.current = q;
|
|
36522
36528
|
const W = new TextDecoder();
|
|
36523
|
-
let
|
|
36529
|
+
let H = "";
|
|
36524
36530
|
for (; ; ) {
|
|
36525
|
-
const { done: J, value: w } = await
|
|
36531
|
+
const { done: J, value: w } = await q.read();
|
|
36526
36532
|
if (J) {
|
|
36527
|
-
|
|
36533
|
+
F && (f(!0), console.log(
|
|
36528
36534
|
"Streaming finalizado para status 201, goTicket establecido a true"
|
|
36529
36535
|
));
|
|
36530
36536
|
break;
|
|
@@ -36533,15 +36539,15 @@ const TD = ({
|
|
|
36533
36539
|
console.log("Chunk recibido del stream:", I), i && o(!1), await Hc(
|
|
36534
36540
|
I,
|
|
36535
36541
|
E,
|
|
36536
|
-
(
|
|
36537
|
-
|
|
36542
|
+
(U) => {
|
|
36543
|
+
H += U, n((C) => {
|
|
36538
36544
|
const Y = C.map(
|
|
36539
36545
|
(K) => K.id === O ? {
|
|
36540
36546
|
...K,
|
|
36541
|
-
content:
|
|
36547
|
+
content: H,
|
|
36542
36548
|
loadingContent: void 0,
|
|
36543
|
-
pendingSync: !
|
|
36544
|
-
isStatus201:
|
|
36549
|
+
pendingSync: !F,
|
|
36550
|
+
isStatus201: F
|
|
36545
36551
|
} : K
|
|
36546
36552
|
);
|
|
36547
36553
|
return console.log(
|
|
@@ -36554,34 +36560,34 @@ const TD = ({
|
|
|
36554
36560
|
}
|
|
36555
36561
|
console.log("Mensaje con status 201 procesado:", {
|
|
36556
36562
|
id: O,
|
|
36557
|
-
content:
|
|
36558
|
-
isStatus201:
|
|
36563
|
+
content: H,
|
|
36564
|
+
isStatus201: F
|
|
36559
36565
|
}), setTimeout(() => x(h), 1e3);
|
|
36560
|
-
} catch (
|
|
36561
|
-
|
|
36566
|
+
} catch (F) {
|
|
36567
|
+
F instanceof Error && F.message.includes("cancel") ? console.log("Stream cancelado por el usuario") : console.error("Error en el streaming del bot:", F);
|
|
36562
36568
|
} finally {
|
|
36563
36569
|
l.current = null, S.current = null, s.current = null, a(!1), c(!1), console.log("Estado final de messages después de addMessage:", t);
|
|
36564
36570
|
}
|
|
36565
36571
|
}, y = async (h, b, R) => {
|
|
36566
|
-
const
|
|
36572
|
+
const D = (/* @__PURE__ */ new Date()).toISOString();
|
|
36567
36573
|
n((O) => {
|
|
36568
|
-
const
|
|
36569
|
-
if (
|
|
36570
|
-
const
|
|
36571
|
-
...O.slice(0,
|
|
36574
|
+
const B = O.findIndex((F) => F.id === b);
|
|
36575
|
+
if (B === -1) return O;
|
|
36576
|
+
const G = [
|
|
36577
|
+
...O.slice(0, B),
|
|
36572
36578
|
{
|
|
36573
|
-
...O[
|
|
36579
|
+
...O[B],
|
|
36574
36580
|
content: R,
|
|
36575
|
-
created_at:
|
|
36581
|
+
created_at: D,
|
|
36576
36582
|
pendingSync: !0
|
|
36577
36583
|
}
|
|
36578
36584
|
];
|
|
36579
|
-
return console.log("Estado de messages tras editar mensaje:",
|
|
36585
|
+
return console.log("Estado de messages tras editar mensaje:", G), G;
|
|
36580
36586
|
});
|
|
36581
36587
|
const k = new Date(
|
|
36582
36588
|
(/* @__PURE__ */ new Date()).getTime() + 1
|
|
36583
|
-
).toISOString(),
|
|
36584
|
-
id:
|
|
36589
|
+
).toISOString(), L = `bot-edit-loading-${k}`, N = {
|
|
36590
|
+
id: L,
|
|
36585
36591
|
content: "",
|
|
36586
36592
|
loadingContent: /* @__PURE__ */ g.jsx(wu, {}),
|
|
36587
36593
|
sender_type: "ai",
|
|
@@ -36590,11 +36596,11 @@ const TD = ({
|
|
|
36590
36596
|
pendingSync: !0
|
|
36591
36597
|
};
|
|
36592
36598
|
n((O) => {
|
|
36593
|
-
const
|
|
36599
|
+
const B = [...O, N];
|
|
36594
36600
|
return console.log(
|
|
36595
36601
|
"Estado de messages tras agregar botMessage (edit):",
|
|
36596
|
-
|
|
36597
|
-
),
|
|
36602
|
+
B
|
|
36603
|
+
), B;
|
|
36598
36604
|
}), a(!0), c(!0);
|
|
36599
36605
|
try {
|
|
36600
36606
|
const O = await Wv(
|
|
@@ -36604,22 +36610,22 @@ const TD = ({
|
|
|
36604
36610
|
);
|
|
36605
36611
|
if (!O.body)
|
|
36606
36612
|
throw new Error("No body in response");
|
|
36607
|
-
const
|
|
36608
|
-
S.current =
|
|
36609
|
-
const
|
|
36610
|
-
let
|
|
36613
|
+
const B = O.body.getReader();
|
|
36614
|
+
S.current = B;
|
|
36615
|
+
const G = new TextDecoder();
|
|
36616
|
+
let F = "";
|
|
36611
36617
|
for (; ; ) {
|
|
36612
|
-
const { done:
|
|
36613
|
-
if (
|
|
36614
|
-
const
|
|
36615
|
-
console.log("Chunk recibido del stream (edit):",
|
|
36616
|
-
|
|
36618
|
+
const { done: q, value: W } = await B.read();
|
|
36619
|
+
if (q) break;
|
|
36620
|
+
const H = G.decode(W, { stream: !0 });
|
|
36621
|
+
console.log("Chunk recibido del stream (edit):", H), await Hc(H, E, (J) => {
|
|
36622
|
+
F += J, n((w) => {
|
|
36617
36623
|
const I = w.map(
|
|
36618
|
-
(
|
|
36619
|
-
...
|
|
36620
|
-
content:
|
|
36624
|
+
(U) => U.id === L ? {
|
|
36625
|
+
...U,
|
|
36626
|
+
content: F,
|
|
36621
36627
|
loadingContent: void 0
|
|
36622
|
-
} :
|
|
36628
|
+
} : U
|
|
36623
36629
|
);
|
|
36624
36630
|
return console.log(
|
|
36625
36631
|
"Estado de messages tras actualizar botContent (edit):",
|