minerva-plexus-csd 1.1.7 → 1.1.8

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.
@@ -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 j = S && A[S] || A[x];
57
- return typeof j == "function" ? j : null;
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 j = arguments.length, X = new Array(j > 1 ? j - 1 : 0), oe = 1; oe < j; oe++)
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, j, X) {
67
+ function _(A, $, X) {
68
68
  {
69
69
  var oe = y.ReactDebugCurrentFrame, me = oe.getStackAddendum();
70
- me !== "" && (j += "%s", X = X.concat([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: " + j), Function.prototype.apply.call(console[A], console, Ee);
74
+ Ee.unshift("Warning: " + $), Function.prototype.apply.call(console[A], console, Ee);
75
75
  }
76
76
  }
77
- var h = !1, b = !1, R = !1, L = !1, k = !1, D;
78
- D = Symbol.for("react.module.reference");
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 || L || 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
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 === D || A.getModuleId !== void 0));
84
+ A.$$typeof === L || A.getModuleId !== void 0));
85
85
  }
86
- function O(A, j, X) {
86
+ function O(A, $, X) {
87
87
  var oe = A.displayName;
88
88
  if (oe)
89
89
  return oe;
90
- var me = j.displayName || j.name || "";
90
+ var me = $.displayName || $.name || "";
91
91
  return me !== "" ? X + "(" + me + ")" : X;
92
92
  }
93
- function $(A) {
93
+ function B(A) {
94
94
  return A.displayName || "Context";
95
95
  }
96
- function H(A) {
96
+ function z(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 j = A;
121
- return $(j) + ".Consumer";
120
+ var $ = A;
121
+ return B($) + ".Consumer";
122
122
  case s:
123
123
  var X = A;
124
- return $(X._context) + ".Provider";
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 : H(A.type) || "Memo";
129
+ return oe !== null ? oe : z(A.type) || "Memo";
130
130
  case p: {
131
131
  var me = A, Ee = me._payload, pe = me._init;
132
132
  try {
133
- return H(pe(Ee));
133
+ return z(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 U = Object.assign, B = 0, W, z, J, w, I, P, C;
141
+ var F = Object.assign, G = 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 (B === 0) {
148
- W = console.log, z = console.info, J = console.warn, w = console.error, I = console.group, P = console.groupCollapsed, C = console.groupEnd;
147
+ if (G === 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
- B++;
165
+ G++;
166
166
  }
167
167
  }
168
168
  function Z() {
169
169
  {
170
- if (B--, B === 0) {
170
+ if (G--, G === 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: U({}, A, {
177
+ log: F({}, A, {
178
178
  value: W
179
179
  }),
180
- info: U({}, A, {
181
- value: z
180
+ info: F({}, A, {
181
+ value: H
182
182
  }),
183
- warn: U({}, A, {
183
+ warn: F({}, A, {
184
184
  value: J
185
185
  }),
186
- error: U({}, A, {
186
+ error: F({}, A, {
187
187
  value: w
188
188
  }),
189
- group: U({}, A, {
189
+ group: F({}, A, {
190
190
  value: I
191
191
  }),
192
- groupCollapsed: U({}, A, {
193
- value: P
192
+ groupCollapsed: F({}, A, {
193
+ value: U
194
194
  }),
195
- groupEnd: U({}, A, {
195
+ groupEnd: F({}, A, {
196
196
  value: C
197
197
  })
198
198
  });
199
199
  }
200
- B < 0 && m("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
200
+ G < 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, j, X) {
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, j) {
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 (j) {
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, j, X) {
293
+ function De(A, $, X) {
294
294
  return V(A, !1);
295
295
  }
296
296
  function lt(A) {
297
- var j = A.prototype;
298
- return !!(j && j.isReactComponent);
297
+ var $ = A.prototype;
298
+ return !!($ && $.isReactComponent);
299
299
  }
300
- function Ze(A, j, X) {
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, j, X);
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), j, X);
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 j = A._owner, X = Ze(A.type, A._source, j ? j.type : null);
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, j, X, oe, me) {
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](j, pe, oe, X, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
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 j = typeof Symbol == "function" && Symbol.toStringTag, X = j && A[Symbol.toStringTag] || A.constructor.name || "Object";
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 F(A), !1;
368
+ return P(A), !1;
369
369
  } catch {
370
370
  return !0;
371
371
  }
372
372
  }
373
- function F(A) {
373
+ function P(A) {
374
374
  return "" + A;
375
375
  }
376
- function G(A) {
376
+ function q(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)), F(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 j = Object.getOwnPropertyDescriptor(A, "ref").get;
389
- if (j && j.isReactWarning)
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 j = Object.getOwnPropertyDescriptor(A, "key").get;
397
- if (j && j.isReactWarning)
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, j) {
402
+ function Bt(A, $) {
403
403
  typeof A.ref == "string" && re.current;
404
404
  }
405
- function $t(A, j) {
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)", j));
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, j) {
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)", j));
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, j, X, oe, me, Ee, pe) {
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: j,
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, j, X, oe, me) {
456
+ function dt(A, $, X, oe, me) {
457
457
  {
458
458
  var Ee, pe = {}, de = null, Be = null;
459
- X !== void 0 && (G(X), de = "" + X), ct(j) && (G(j.key), de = "" + j.key), Ct(j) && (Be = j.ref, Bt(j, me));
460
- for (Ee in j)
461
- ut.call(j, Ee) && !ce.hasOwnProperty(Ee) && (pe[Ee] = j[Ee]);
459
+ X !== void 0 && (q(X), de = "" + X), ct($) && (q($.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 j = A._owner, X = Ze(A.type, A._source, j ? j.type : null);
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 = H(Or.current.type);
490
+ var A = z(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 j = Fc();
506
- if (!j) {
505
+ var $ = Fc();
506
+ if (!$) {
507
507
  var X = typeof A == "string" ? A : A.displayName || A.name;
508
- X && (j = `
508
+ X && ($ = `
509
509
 
510
510
  Check the top-level render call using <` + X + ">.");
511
511
  }
512
- return j;
512
+ return $;
513
513
  }
514
514
  }
515
- function Uc(A, j) {
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(j);
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 " + H(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);
525
+ A && A._owner && A._owner !== Or.current && (oe = " It was passed a child from " + z(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, j) {
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, j);
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, j);
543
+ Dr(pe.value) && Uc(pe.value, $);
544
544
  }
545
545
  }
546
546
  }
547
547
  function kv(A) {
548
548
  {
549
- var j = A.type;
550
- if (j == null || typeof j == "string")
549
+ var $ = A.type;
550
+ if ($ == null || typeof $ == "string")
551
551
  return;
552
552
  var X;
553
- if (typeof j == "function")
554
- X = j.propTypes;
555
- else if (typeof j == "object" && (j.$$typeof === u || // Note: Memo only checks outer props here.
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
- j.$$typeof === f))
558
- X = j.propTypes;
557
+ $.$$typeof === f))
558
+ X = $.propTypes;
559
559
  else
560
560
  return;
561
561
  if (X) {
562
- var oe = H(j);
562
+ var oe = z($);
563
563
  _t(X, A.props, "prop", oe, A);
564
- } else if (j.PropTypes !== void 0 && !Lr) {
564
+ } else if ($.PropTypes !== void 0 && !Lr) {
565
565
  Lr = !0;
566
- var me = H(j);
566
+ var me = z($);
567
567
  m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", me || "Unknown");
568
568
  }
569
- typeof j.getDefaultProps == "function" && !j.getDefaultProps.isReactClassApproved && m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
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 j = Object.keys(A.props), X = 0; X < j.length; X++) {
575
- var oe = j[X];
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, j, X, oe, me, Ee) {
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 = "<" + (H(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);
594
+ A === null ? Ae = "null" : At(A) ? Ae = "array" : A !== void 0 && A.$$typeof === n ? (Ae = "<" + (z(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, j, X, me, Ee);
596
+ var Re = dt(A, $, X, me, Ee);
597
597
  if (Re == null)
598
598
  return Re;
599
599
  if (pe) {
600
- var et = j.children;
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(j, "key")) {
613
- var jt = H(A), qe = Object.keys(j).filter(function(Fv) {
612
+ if (ut.call($, "key")) {
613
+ var jt = z(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, j, X) {
630
- return jc(A, j, X, !0);
629
+ function Nv(A, $, X) {
630
+ return jc(A, $, X, !0);
631
631
  }
632
- function Ov(A, j, X) {
633
- return jc(A, j, X, !1);
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 = (D) => {
2246
- h(D), D.success || setTimeout(() => h(null), 5e3);
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 D = l == null ? void 0 : l.id;
2250
- if (S(""), T(!0), !D) {
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
- D = (await u(
2253
+ L = (await u(
2254
2254
  N,
2255
2255
  d
2256
- )).id, c(D, d);
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 (D)
2262
+ if (L)
2263
2263
  try {
2264
- await t(D, E, d), T(!1);
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
- }, L = (D) => {
2271
- D.key === "Enter" && !D.shiftKey && (D.preventDefault(), R());
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 (D) {
2278
- console.error("Error al detener el streaming:", D);
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: L
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(), q = Xt(), ve = Xt(), pn = Xt(), Xe = 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: q,
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: q,
2587
- ariaColIndex: q,
2588
- ariaColSpan: q,
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: q,
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: q,
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: q,
2620
- ariaRowIndex: q,
2621
- ariaRowSpan: q,
2619
+ ariaRowCount: j,
2620
+ ariaRowIndex: j,
2621
+ ariaRowSpan: j,
2622
2622
  ariaSelected: ke,
2623
- ariaSetSize: q,
2623
+ ariaSetSize: j,
2624
2624
  ariaSort: null,
2625
- ariaValueMax: q,
2626
- ariaValueMin: q,
2627
- ariaValueNow: q,
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: q,
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: q | pn,
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: q,
2701
+ height: j,
2702
2702
  hidden: pu,
2703
- high: q,
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: q,
2728
+ low: j,
2729
2729
  manifest: null,
2730
2730
  max: null,
2731
- maxLength: q,
2731
+ maxLength: j,
2732
2732
  media: null,
2733
2733
  method: null,
2734
2734
  min: null,
2735
- minLength: q,
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: q,
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: q,
2847
- rowSpan: q,
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: q,
2857
+ size: j,
2858
2858
  sizes: null,
2859
2859
  slot: null,
2860
- span: q,
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: q,
2866
+ start: j,
2867
2867
  step: null,
2868
2868
  style: null,
2869
- tabIndex: q,
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: q,
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: q,
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: q,
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: q,
2932
+ hSpace: j,
2933
2933
  // `<img>` and `<object>`
2934
- leftMargin: q,
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: q,
2942
+ marginHeight: j,
2943
2943
  // `<body>`
2944
- marginWidth: q,
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: q,
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: q,
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: q,
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: q,
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: q,
3180
+ accentHeight: j,
3181
3181
  accumulate: null,
3182
3182
  additive: null,
3183
3183
  alignmentBaseline: null,
3184
- alphabetic: q,
3185
- amplitude: q,
3184
+ alphabetic: j,
3185
+ amplitude: j,
3186
3186
  arabicForm: null,
3187
- ascent: q,
3187
+ ascent: j,
3188
3188
  attributeName: null,
3189
3189
  attributeType: null,
3190
- azimuth: q,
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: q,
3197
+ bias: j,
3198
3198
  by: null,
3199
3199
  calcMode: null,
3200
- capHeight: q,
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: q,
3222
- diffuseConstant: q,
3221
+ descent: j,
3222
+ diffuseConstant: j,
3223
3223
  direction: null,
3224
3224
  display: null,
3225
3225
  dur: null,
3226
- divisor: q,
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: q,
3233
+ elevation: j,
3234
3234
  enableBackground: null,
3235
3235
  end: null,
3236
3236
  event: null,
3237
- exponent: q,
3237
+ exponent: j,
3238
3238
  externalResourcesRequired: null,
3239
3239
  fill: null,
3240
- fillOpacity: q,
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: q,
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: q,
3277
- horizOriginX: q,
3278
- horizOriginY: q,
3276
+ horizAdvX: j,
3277
+ horizOriginX: j,
3278
+ horizOriginY: j,
3279
3279
  id: null,
3280
- ideographic: q,
3280
+ ideographic: j,
3281
3281
  imageRendering: null,
3282
3282
  initialVisibility: null,
3283
3283
  in: null,
3284
3284
  in2: null,
3285
- intercept: q,
3286
- k: q,
3287
- k1: q,
3288
- k2: q,
3289
- k3: q,
3290
- k4: q,
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: q,
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: q,
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: q,
3427
- overlineThickness: q,
3426
+ overlinePosition: j,
3427
+ overlineThickness: j,
3428
3428
  paintOrder: null,
3429
3429
  panose1: null,
3430
3430
  path: null,
3431
- pathLength: q,
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: q,
3442
- pointsAtY: q,
3443
- pointsAtZ: q,
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: q,
3476
- specularExponent: q,
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: q,
3487
- strikethroughThickness: q,
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: q,
3495
- strokeOpacity: q,
3494
+ strokeMiterLimit: j,
3495
+ strokeOpacity: j,
3496
3496
  strokeWidth: null,
3497
3497
  style: null,
3498
- surfaceScale: q,
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: q,
3505
+ tabIndex: j,
3506
3506
  tableValues: null,
3507
3507
  target: null,
3508
- targetX: q,
3509
- targetY: q,
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: q,
3525
- underlineThickness: q,
3524
+ underlinePosition: j,
3525
+ underlineThickness: j,
3526
3526
  unicode: null,
3527
3527
  unicodeBidi: null,
3528
3528
  unicodeRange: null,
3529
- unitsPerEm: q,
3529
+ unitsPerEm: j,
3530
3530
  values: null,
3531
- vAlphabetic: q,
3532
- vMathematical: q,
3531
+ vAlphabetic: j,
3532
+ vMathematical: j,
3533
3533
  vectorEffect: null,
3534
- vHanging: q,
3535
- vIdeographic: q,
3534
+ vHanging: j,
3535
+ vIdeographic: j,
3536
3536
  version: null,
3537
- vertAdvY: q,
3538
- vertOriginX: q,
3539
- vertOriginY: q,
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: q,
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 L = R, k, D;
4461
- for (; L--; )
4462
- if (t.events[L][0] === "exit" && t.events[L][1].type === "chunkFlow") {
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
- D = t.events[L][1].end;
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
- ...D
4471
+ ...L
4472
4472
  }, b++;
4473
- yt(t.events, L + 1, 0, t.events.slice(R)), t.events.length = b;
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, L) {
4769
+ function h(b, R, D) {
4770
4770
  let k = 0;
4771
- return D;
4772
- function D(U) {
4773
- return b.enter("lineEnding"), b.consume(U), b.exit("lineEnding"), N;
4771
+ return L;
4772
+ function L(F) {
4773
+ return b.enter("lineEnding"), b.consume(F), b.exit("lineEnding"), N;
4774
4774
  }
4775
- function N(U) {
4776
- return b.enter("codeFencedFence"), fe(U) ? Se(b, O, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(U) : O(U);
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(U) {
4779
- return U === s ? (b.enter("codeFencedFenceSequence"), $(U)) : L(U);
4778
+ function O(F) {
4779
+ return F === s ? (b.enter("codeFencedFenceSequence"), B(F)) : D(F);
4780
4780
  }
4781
- function $(U) {
4782
- return U === s ? (k++, b.consume(U), $) : k >= o ? (b.exit("codeFencedFenceSequence"), fe(U) ? Se(b, H, "whitespace")(U) : H(U)) : L(U);
4781
+ function B(F) {
4782
+ return F === s ? (k++, b.consume(F), B) : k >= o ? (b.exit("codeFencedFenceSequence"), fe(F) ? Se(b, z, "whitespace")(F) : z(F)) : D(F);
4783
4783
  }
4784
- function H(U) {
4785
- return U === null || ae(U) ? (b.exit("codeFencedFence"), R(U)) : L(U);
4784
+ function z(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) : D(C);
5463
+ return fe(C) ? (e.consume(C), y) : L(C);
5464
5464
  }
5465
5465
  function m(C) {
5466
- return C === 47 ? (e.consume(C), D) : C === 58 || C === 95 || mt(C) ? (e.consume(C), _) : fe(C) ? (e.consume(C), m) : D(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) : L(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) : 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 L(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), L);
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 D(C) {
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), B) : 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, P, $)(C)) : C === null || ae(C) ? (e.exit("htmlFlowData"), $(C)) : (e.consume(C), O);
5493
+ return C === 45 && a === 2 ? (e.consume(C), G) : 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 $(C) {
5496
- return e.check($w, H, P)(C);
5495
+ function B(C) {
5496
+ return e.check($w, z, U)(C);
5497
5497
  }
5498
- function H(C) {
5499
- return e.enter("lineEnding"), e.consume(C), e.exit("lineEnding"), U;
5498
+ function z(C) {
5499
+ return e.enter("lineEnding"), e.consume(C), e.exit("lineEnding"), F;
5500
5500
  }
5501
- function U(C) {
5502
- return C === null || ae(C) ? $(C) : (e.enter("htmlFlowData"), O(C));
5501
+ function F(C) {
5502
+ return C === null || ae(C) ? B(C) : (e.enter("htmlFlowData"), O(C));
5503
5503
  }
5504
- function B(C) {
5504
+ function G(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 = "", z) : O(C);
5508
+ return C === 47 ? (e.consume(C), o = "", H) : O(C);
5509
5509
  }
5510
- function z(C) {
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), z) : O(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"), P(C)) : (e.consume(C), I);
5524
+ return C === null || ae(C) ? (e.exit("htmlFlowData"), U(C)) : (e.consume(C), I);
5525
5525
  }
5526
- function P(C) {
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), L) : n(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 ? B(w) : w === 45 ? f(w) : d(w);
5573
+ return w === 62 ? G(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 ? B(w) : w === 93 ? (e.consume(w), T) : S(w);
5586
+ return w === 62 ? G(w) : w === 93 ? (e.consume(w), T) : S(w);
5587
5587
  }
5588
5588
  function y(w) {
5589
- return w === null || w === 62 ? B(w) : ae(w) ? (o = y, W(w)) : (e.consume(w), y);
5589
+ return w === null || w === 62 ? G(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 ? B(w) : m(w);
5595
+ return w === 62 ? G(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) : B(w);
5604
+ return ae(w) ? (o = R, W(w)) : fe(w) ? (e.consume(w), R) : G(w);
5605
5605
  }
5606
- function L(w) {
5607
- return w === 45 || Je(w) ? (e.consume(w), L) : w === 47 || w === 62 || He(w) ? k(w) : n(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), B) : w === 58 || w === 95 || mt(w) ? (e.consume(w), D) : ae(w) ? (o = k, W(w)) : fe(w) ? (e.consume(w), k) : B(w);
5610
+ return w === 47 ? (e.consume(w), G) : w === 58 || w === 95 || mt(w) ? (e.consume(w), L) : ae(w) ? (o = k, W(w)) : fe(w) ? (e.consume(w), k) : G(w);
5611
5611
  }
5612
- function D(w) {
5613
- return w === 45 || w === 46 || w === 58 || w === 95 || Je(w) ? (e.consume(w), D) : N(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, $) : ae(w) ? (o = O, W(w)) : fe(w) ? (e.consume(w), O) : (e.consume(w), H);
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), z);
5620
5620
  }
5621
- function $(w) {
5622
- return w === a ? (e.consume(w), a = void 0, U) : w === null ? n(w) : ae(w) ? (o = $, W(w)) : (e.consume(w), $);
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 H(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), H);
5624
+ function z(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), z);
5626
5626
  }
5627
- function U(w) {
5627
+ function F(w) {
5628
5628
  return w === 47 || w === 62 || He(w) ? k(w) : n(w);
5629
5629
  }
5630
- function B(w) {
5630
+ function G(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"), z;
5634
+ return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(w), e.exit("lineEnding"), H;
5635
5635
  }
5636
- function z(w) {
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 ? [] : (L(t, 0), u.events = Vu(i, u.events, u), u.events);
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: H,
6211
- offset: U
6209
+ line: B,
6210
+ column: z,
6211
+ offset: F
6212
6212
  } = r;
6213
6213
  return {
6214
6214
  _bufferIndex: N,
6215
6215
  _index: O,
6216
- line: $,
6217
- column: H,
6218
- offset: U
6216
+ line: B,
6217
+ column: z,
6218
+ offset: F
6219
6219
  };
6220
6220
  }
6221
6221
  function S(N) {
6222
- a[N.line] = N.column, D();
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, D()) : N !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === // Points w/ non-negative `_bufferIndex` reference
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 $ = O || {};
6246
- return $.type = N, $.start = E(), u.events.push(["enter", $, u]), s.push($), $;
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
- L(N, O.from);
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 $(H, U, B) {
6261
- let W, z, J, w;
6262
- return Array.isArray(H) ? (
6259
+ return B;
6260
+ function B(z, F, G) {
6261
+ let W, H, J, w;
6262
+ return Array.isArray(z) ? (
6263
6263
  /* c8 ignore next 1 */
6264
- P(H)
6265
- ) : "tokenize" in H ? (
6264
+ U(z)
6265
+ ) : "tokenize" in z ? (
6266
6266
  // Looks like a construct.
6267
- P([
6267
+ U([
6268
6268
  /** @type {Construct} */
6269
- H
6269
+ z
6270
6270
  ])
6271
- ) : I(H);
6271
+ ) : I(z);
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 P(ne)(ee);
6281
+ return U(ne)(ee);
6282
6282
  }
6283
6283
  }
6284
- function P(Z) {
6285
- return W = Z, z = 0, Z.length === 0 ? B : C(Z[z]);
6284
+ function U(Z) {
6285
+ return W = Z, H = 0, Z.length === 0 ? G : 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), U;
6302
+ return N(J, w), F;
6303
6303
  }
6304
6304
  function K(Z) {
6305
- return w.restore(), ++z < W.length ? C(W[z]) : B;
6305
+ return w.restore(), ++H < W.length ? C(W[H]) : G;
6306
6306
  }
6307
6307
  }
6308
6308
  }
6309
- function L(N, O) {
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, $ = u.currentConstruct, H = u.events.length, U = Array.from(s);
6313
+ const N = E(), O = u.previous, B = u.currentConstruct, z = u.events.length, F = Array.from(s);
6314
6314
  return {
6315
- from: H,
6316
- restore: B
6315
+ from: z,
6316
+ restore: G
6317
6317
  };
6318
- function B() {
6319
- r = N, u.previous = O, u.currentConstruct = $, u.events.length = H, s = U, D();
6318
+ function G() {
6319
+ r = N, u.previous = O, u.currentConstruct = B, u.events.length = z, s = F, L();
6320
6320
  }
6321
6321
  }
6322
- function D() {
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: D,
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: D,
6523
+ codeFlowValue: L,
6524
6524
  codeIndented: l(T),
6525
- codeText: l(U),
6526
- codeTextData: D,
6527
- data: D,
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: D,
6537
- htmlText: l(H),
6538
- htmlTextData: D,
6535
+ htmlFlow: l(B),
6536
+ htmlFlowData: L,
6537
+ htmlText: l(z),
6538
+ htmlTextData: L,
6539
6539
  image: l(W),
6540
6540
  label: J,
6541
- labelText: z,
6541
+ labelText: H,
6542
6542
  lineEnding: N,
6543
- link: l(B),
6543
+ link: l(G),
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: P,
6552
- setextHeading: l(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(F) {
6563
- let G = {
6562
+ function r(P) {
6563
+ let q = {
6564
6564
  type: "root",
6565
6565
  children: []
6566
6566
  };
6567
6567
  const re = {
6568
- stack: [G],
6568
+ stack: [q],
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 < F.length; )
6579
- if (F[ge][1].type === "listOrdered" || F[ge][1].type === "listUnordered")
6580
- if (F[ge][0] === "enter")
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(F, je, ge);
6584
+ ge = a(P, je, ge);
6585
6585
  }
6586
- for (ge = -1; ++ge < F.length; ) {
6587
- const je = t[F[ge][0]];
6588
- ky.call(je, F[ge][1].type) && je[F[ge][1].type].call(Object.assign({
6589
- sliceSerialize: F[ge][2].sliceSerialize
6590
- }, re), F[ge][1]);
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 (G.position = {
6597
- start: kt(F.length > 0 ? F[0][1].start : {
6596
+ for (q.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(F.length > 0 ? F[F.length - 2][1].end : {
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
- G = t.transforms[ge](G) || G;
6609
- return G;
6608
+ q = t.transforms[ge](q) || q;
6609
+ return q;
6610
6610
  }
6611
- function a(F, G, re) {
6612
- let ce = G - 1, ge = -1, je = !1, Ct, ct, Bt, $t;
6611
+ function a(P, q, re) {
6612
+ let ce = q - 1, ge = -1, je = !1, Ct, ct, Bt, $t;
6613
6613
  for (; ++ce <= re; ) {
6614
- const Ue = F[ce];
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 = F[Rt];
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 && (F[ct][1].type = "lineEndingBlank", je = !0), dt[1].type = "lineEnding", ct = Rt;
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 ? F[ct][1].start : Ue[1].end), F.splice(ct || ce, 0, ["exit", Ct, Ue[2]]), ce++, re++;
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, F.splice(ce, 0, ["enter", Rt, Ue[2]]), ce++, re++, Bt = void 0, $t = !0;
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 F[G][1]._spread = je, re;
6659
+ return P[q][1]._spread = je, re;
6660
6660
  }
6661
- function i(F, G) {
6661
+ function i(P, q) {
6662
6662
  return re;
6663
6663
  function re(ce) {
6664
- s.call(this, F(ce), ce), G && G.call(this, ce);
6664
+ s.call(this, P(ce), ce), q && q.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(F, G, re) {
6674
- this.stack[this.stack.length - 1].children.push(F), this.stack.push(F), this.tokenStack.push([G, re || void 0]), F.position = {
6675
- start: kt(G.start),
6673
+ function s(P, q, re) {
6674
+ this.stack[this.stack.length - 1].children.push(P), this.stack.push(P), this.tokenStack.push([q, re || void 0]), P.position = {
6675
+ start: kt(q.start),
6676
6676
  // @ts-expect-error: `end` will be patched later.
6677
6677
  end: void 0
6678
6678
  };
6679
6679
  }
6680
- function l(F) {
6681
- return G;
6682
- function G(re) {
6683
- F && F.call(this, re), u.call(this, re);
6680
+ function l(P) {
6681
+ return q;
6682
+ function q(re) {
6683
+ P && P.call(this, re), u.call(this, re);
6684
6684
  }
6685
6685
  }
6686
- function u(F, G) {
6686
+ function u(P, q) {
6687
6687
  const re = this.stack.pop(), ce = this.tokenStack.pop();
6688
6688
  if (ce)
6689
- ce[0].type !== F.type && (G ? G.call(this, F, ce[0]) : (ce[1] || gd).call(this, F, ce[0]));
6690
- else throw new Error("Cannot close `" + F.type + "` (" + On({
6691
- start: F.start,
6692
- end: F.end
6689
+ ce[0].type !== P.type && (q ? q.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(F.end);
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(F) {
6702
+ function f(P) {
6703
6703
  if (this.data.expectingFirstListItemValue) {
6704
- const G = this.stack[this.stack.length - 2];
6705
- G.start = Number.parseInt(this.sliceSerialize(F), 10), this.data.expectingFirstListItemValue = void 0;
6704
+ const q = this.stack[this.stack.length - 2];
6705
+ q.start = Number.parseInt(this.sliceSerialize(P), 10), this.data.expectingFirstListItemValue = void 0;
6706
6706
  }
6707
6707
  }
6708
6708
  function p() {
6709
- const F = this.resume(), G = this.stack[this.stack.length - 1];
6710
- G.lang = F;
6709
+ const P = this.resume(), q = this.stack[this.stack.length - 1];
6710
+ q.lang = P;
6711
6711
  }
6712
6712
  function E() {
6713
- const F = this.resume(), G = this.stack[this.stack.length - 1];
6714
- G.meta = F;
6713
+ const P = this.resume(), q = this.stack[this.stack.length - 1];
6714
+ q.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 F = this.resume(), G = this.stack[this.stack.length - 1];
6721
- G.value = F.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), this.data.flowCodeInside = void 0;
6720
+ const P = this.resume(), q = this.stack[this.stack.length - 1];
6721
+ q.value = P.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), this.data.flowCodeInside = void 0;
6722
6722
  }
6723
6723
  function T() {
6724
- const F = this.resume(), G = this.stack[this.stack.length - 1];
6725
- G.value = F.replace(/(\r?\n|\r)$/g, "");
6724
+ const P = this.resume(), q = this.stack[this.stack.length - 1];
6725
+ q.value = P.replace(/(\r?\n|\r)$/g, "");
6726
6726
  }
6727
- function y(F) {
6728
- const G = this.resume(), re = this.stack[this.stack.length - 1];
6729
- re.label = G, re.identifier = fn(this.sliceSerialize(F)).toLowerCase();
6727
+ function y(P) {
6728
+ const q = this.resume(), re = this.stack[this.stack.length - 1];
6729
+ re.label = q, re.identifier = fn(this.sliceSerialize(P)).toLowerCase();
6730
6730
  }
6731
6731
  function m() {
6732
- const F = this.resume(), G = this.stack[this.stack.length - 1];
6733
- G.title = F;
6732
+ const P = this.resume(), q = this.stack[this.stack.length - 1];
6733
+ q.title = P;
6734
6734
  }
6735
6735
  function _() {
6736
- const F = this.resume(), G = this.stack[this.stack.length - 1];
6737
- G.url = F;
6736
+ const P = this.resume(), q = this.stack[this.stack.length - 1];
6737
+ q.url = P;
6738
6738
  }
6739
- function h(F) {
6740
- const G = this.stack[this.stack.length - 1];
6741
- if (!G.depth) {
6742
- const re = this.sliceSerialize(F).length;
6743
- G.depth = re;
6739
+ function h(P) {
6740
+ const q = this.stack[this.stack.length - 1];
6741
+ if (!q.depth) {
6742
+ const re = this.sliceSerialize(P).length;
6743
+ q.depth = re;
6744
6744
  }
6745
6745
  }
6746
6746
  function b() {
6747
6747
  this.data.setextHeadingSlurpLineEnding = !0;
6748
6748
  }
6749
- function R(F) {
6750
- const G = this.stack[this.stack.length - 1];
6751
- G.depth = this.sliceSerialize(F).codePointAt(0) === 61 ? 1 : 2;
6749
+ function R(P) {
6750
+ const q = this.stack[this.stack.length - 1];
6751
+ q.depth = this.sliceSerialize(P).codePointAt(0) === 61 ? 1 : 2;
6752
6752
  }
6753
- function L() {
6753
+ function D() {
6754
6754
  this.data.setextHeadingSlurpLineEnding = void 0;
6755
6755
  }
6756
- function k(F) {
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(F.start),
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 D(F) {
6766
- const G = this.stack.pop();
6767
- G.value += this.sliceSerialize(F), G.position.end = kt(F.end);
6765
+ function L(P) {
6766
+ const q = this.stack.pop();
6767
+ q.value += this.sliceSerialize(P), q.position.end = kt(P.end);
6768
6768
  }
6769
- function N(F) {
6770
- const G = this.stack[this.stack.length - 1];
6769
+ function N(P) {
6770
+ const q = this.stack[this.stack.length - 1];
6771
6771
  if (this.data.atHardBreak) {
6772
- const re = G.children[G.children.length - 1];
6773
- re.position.end = kt(F.end), this.data.atHardBreak = void 0;
6772
+ const re = q.children[q.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(G.type) && (k.call(this, F), D.call(this, F));
6776
+ !this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(q.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 F = this.resume(), G = this.stack[this.stack.length - 1];
6783
- G.value = F;
6781
+ function B() {
6782
+ const P = this.resume(), q = this.stack[this.stack.length - 1];
6783
+ q.value = P;
6784
6784
  }
6785
- function H() {
6786
- const F = this.resume(), G = this.stack[this.stack.length - 1];
6787
- G.value = F;
6785
+ function z() {
6786
+ const P = this.resume(), q = this.stack[this.stack.length - 1];
6787
+ q.value = P;
6788
6788
  }
6789
- function U() {
6790
- const F = this.resume(), G = this.stack[this.stack.length - 1];
6791
- G.value = F;
6789
+ function F() {
6790
+ const P = this.resume(), q = this.stack[this.stack.length - 1];
6791
+ q.value = P;
6792
6792
  }
6793
- function B() {
6794
- const F = this.stack[this.stack.length - 1];
6793
+ function G() {
6794
+ const P = this.stack[this.stack.length - 1];
6795
6795
  if (this.data.inReference) {
6796
- const G = this.data.referenceType || "shortcut";
6797
- F.type += "Reference", F.referenceType = G, delete F.url, delete F.title;
6796
+ const q = this.data.referenceType || "shortcut";
6797
+ P.type += "Reference", P.referenceType = q, delete P.url, delete P.title;
6798
6798
  } else
6799
- delete F.identifier, delete F.label;
6799
+ delete P.identifier, delete P.label;
6800
6800
  this.data.referenceType = void 0;
6801
6801
  }
6802
6802
  function W() {
6803
- const F = this.stack[this.stack.length - 1];
6803
+ const P = this.stack[this.stack.length - 1];
6804
6804
  if (this.data.inReference) {
6805
- const G = this.data.referenceType || "shortcut";
6806
- F.type += "Reference", F.referenceType = G, delete F.url, delete F.title;
6805
+ const q = this.data.referenceType || "shortcut";
6806
+ P.type += "Reference", P.referenceType = q, delete P.url, delete P.title;
6807
6807
  } else
6808
- delete F.identifier, delete F.label;
6808
+ delete P.identifier, delete P.label;
6809
6809
  this.data.referenceType = void 0;
6810
6810
  }
6811
- function z(F) {
6812
- const G = this.sliceSerialize(F), re = this.stack[this.stack.length - 2];
6813
- re.label = $C(G), re.identifier = fn(G).toLowerCase();
6811
+ function H(P) {
6812
+ const q = this.sliceSerialize(P), re = this.stack[this.stack.length - 2];
6813
+ re.label = $C(q), re.identifier = fn(q).toLowerCase();
6814
6814
  }
6815
6815
  function J() {
6816
- const F = this.stack[this.stack.length - 1], G = this.resume(), re = this.stack[this.stack.length - 1];
6816
+ const P = this.stack[this.stack.length - 1], q = this.resume(), re = this.stack[this.stack.length - 1];
6817
6817
  if (this.data.inReference = !0, re.type === "link") {
6818
- const ce = F.children;
6818
+ const ce = P.children;
6819
6819
  re.children = ce;
6820
6820
  } else
6821
- re.alt = G;
6821
+ re.alt = q;
6822
6822
  }
6823
6823
  function w() {
6824
- const F = this.resume(), G = this.stack[this.stack.length - 1];
6825
- G.url = F;
6824
+ const P = this.resume(), q = this.stack[this.stack.length - 1];
6825
+ q.url = P;
6826
6826
  }
6827
6827
  function I() {
6828
- const F = this.resume(), G = this.stack[this.stack.length - 1];
6829
- G.title = F;
6828
+ const P = this.resume(), q = this.stack[this.stack.length - 1];
6829
+ q.title = P;
6830
6830
  }
6831
- function P() {
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(F) {
6838
- const G = this.resume(), re = this.stack[this.stack.length - 1];
6839
- re.label = G, re.identifier = fn(this.sliceSerialize(F)).toLowerCase(), this.data.referenceType = "full";
6837
+ function Y(P) {
6838
+ const q = this.resume(), re = this.stack[this.stack.length - 1];
6839
+ re.label = q, re.identifier = fn(this.sliceSerialize(P)).toLowerCase(), this.data.referenceType = "full";
6840
6840
  }
6841
- function K(F) {
6842
- this.data.characterReferenceType = F.type;
6841
+ function K(P) {
6842
+ this.data.characterReferenceType = P.type;
6843
6843
  }
6844
- function Z(F) {
6845
- const G = this.sliceSerialize(F), re = this.data.characterReferenceType;
6844
+ function Z(P) {
6845
+ const q = this.sliceSerialize(P), re = this.data.characterReferenceType;
6846
6846
  let ce;
6847
- re ? (ce = Ey(G, re === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : ce = Hu(G);
6847
+ re ? (ce = Ey(q, re === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : ce = Hu(q);
6848
6848
  const ge = this.stack[this.stack.length - 1];
6849
6849
  ge.value += ce;
6850
6850
  }
6851
- function Q(F) {
6852
- const G = this.stack.pop();
6853
- G.position.end = kt(F.end);
6851
+ function Q(P) {
6852
+ const q = this.stack.pop();
6853
+ q.position.end = kt(P.end);
6854
6854
  }
6855
- function ee(F) {
6856
- D.call(this, F);
6857
- const G = this.stack[this.stack.length - 1];
6858
- G.url = this.sliceSerialize(F);
6855
+ function ee(P) {
6856
+ L.call(this, P);
6857
+ const q = this.stack[this.stack.length - 1];
6858
+ q.url = this.sliceSerialize(P);
6859
6859
  }
6860
- function te(F) {
6861
- D.call(this, F);
6862
- const G = this.stack[this.stack.length - 1];
6863
- G.url = "mailto:" + this.sliceSerialize(F);
6860
+ function te(P) {
6861
+ L.call(this, P);
6862
+ const q = this.stack[this.stack.length - 1];
6863
+ q.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(F) {
6935
+ function Pe(P) {
6936
6936
  return {
6937
6937
  type: "list",
6938
- ordered: F.type === "listOrdered",
6938
+ ordered: P.type === "listOrdered",
6939
6939
  start: null,
6940
- spread: F._spread,
6940
+ spread: P._spread,
6941
6941
  children: []
6942
6942
  };
6943
6943
  }
6944
- function _t(F) {
6944
+ function _t(P) {
6945
6945
  return {
6946
6946
  type: "listItem",
6947
- spread: F._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, L = Fx(R);
9559
- if (L) {
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(D, N) {
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(D, `
9565
+ value: "".concat(L, `
9566
9566
  `)
9567
9567
  };
9568
9568
  if (N === 0) {
9569
- var H = c.slice(f + 1, p).concat(dr({
9570
- children: [$],
9569
+ var z = c.slice(f + 1, p).concat(dr({
9570
+ children: [B],
9571
9571
  className: b.properties.className
9572
- })), U = x(H, O);
9573
- d.push(U);
9572
+ })), F = x(z, O);
9573
+ d.push(F);
9574
9574
  } else if (N === k.length - 1) {
9575
- var B = c[p + 1] && c[p + 1].children && c[p + 1].children[0], W = {
9575
+ var G = c[p + 1] && c[p + 1].children && c[p + 1].children[0], W = {
9576
9576
  type: "text",
9577
- value: "".concat(D)
9577
+ value: "".concat(L)
9578
9578
  };
9579
- if (B) {
9580
- var z = dr({
9579
+ if (G) {
9580
+ var H = dr({
9581
9581
  children: [W],
9582
9582
  className: b.properties.className
9583
9583
  });
9584
- c.splice(p + 1, 0, z);
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 = [$], P = x(I, O, b.properties.className);
9591
- d.push(P);
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, L = r.wrapLongLines, k = L === void 0 ? !1 : L, D = r.lineProps, N = D === void 0 ? {} : D, O = r.renderer, $ = r.PreTag, H = $ === void 0 ? "pre" : $, U = r.CodeTag, B = U === void 0 ? "code" : U, W = r.code, z = W === void 0 ? (Array.isArray(i) ? i[0] : i) || "" : W, J = r.astGenerator, w = wx(r, Dx);
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, z = B === void 0 ? "pre" : B, F = r.CodeTag, G = 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: z
9655
- }) : null, P = s.hljs || s['pre[class*="language-"]'] || {
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({}, P, u)
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(H, Y, I, /* @__PURE__ */ Te.createElement(B, d, z));
9668
+ return /* @__PURE__ */ Te.createElement(z, Y, I, /* @__PURE__ */ Te.createElement(G, d, H));
9669
9669
  (R === void 0 && O || k) && (R = !0), O = O || jx;
9670
9670
  var K = [{
9671
9671
  type: "text",
9672
- value: z
9672
+ value: H
9673
9673
  }], Z = qx({
9674
9674
  astGenerator: J,
9675
9675
  language: a,
9676
- code: z,
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(H, Y, /* @__PURE__ */ Te.createElement(B, d, !T && I, O({
9684
+ return /* @__PURE__ */ Te.createElement(z, Y, /* @__PURE__ */ Te.createElement(G, 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, L, k, D, N, O, $, H, U, B, W, z, J, w, I;
10544
- for (typeof n == "string" && (n = n.charCodeAt(0)), z = P(), D = o ? C : _R, p--, f++; ++p < f; )
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, z, F, G, 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 (U = p + 1, H = U, I = U, k === LR ? (I = ++H, k = e.charCodeAt(I), k === DR || k === MR ? (B = oc, I = ++H) : B = sc) : B = un, m = "", $ = "", b = "", W = Tr[B], I--; ++I < f && (k = e.charCodeAt(I), !!W(k)); )
10551
- b += sn(k), B === un && xR.call(Xd, b) && (m = b, $ = Xd[b]);
10552
- h = e.charCodeAt(I) === IR, h && (I++, _ = B === un ? CR(b) : !1, _ && (m = b, $ = _)), w = 1 + I - U, !h && !r || (b ? B === un ? (h && !$ ? D(dE, 1) : (m !== b && (I = H + m.length, w = 1 + I - H, h = !1), h || (N = m ? sE : uE, t.attribute ? (k = e.charCodeAt(I), k === OR ? (D(N, w), $ = null) : oE(k) ? $ = null : D(N, w)) : D(N, w))), L = $) : (h || D(lE, w), L = parseInt(b, lc[B]), BR(L) ? (D(pE, w), L = sn(FR)) : L in Jd ? (D(Au, w), L = Jd[L]) : (O = "", $R(L) && D(Au, w), L > 65535 && (L -= 65536, O += sn(L >>> 10 | 55296), L = 56320 | L & 1023), L = O + sn(L))) : B !== un && D(cE, w)), L ? (Y(), z = P(), p = I - 1, S += I - U + 1, y.push(L), J = P(), J.offset++, i && i.call(
10550
+ for (F = p + 1, z = F, I = F, k === LR ? (I = ++z, k = e.charCodeAt(I), k === DR || k === MR ? (G = oc, I = ++z) : G = sc) : G = un, m = "", B = "", b = "", W = Tr[G], I--; ++I < f && (k = e.charCodeAt(I), !!W(k)); )
10551
+ b += sn(k), G === un && xR.call(Xd, b) && (m = b, B = Xd[b]);
10552
+ h = e.charCodeAt(I) === IR, h && (I++, _ = G === un ? CR(b) : !1, _ && (m = b, B = _)), w = 1 + I - F, !h && !r || (b ? G === un ? (h && !B ? L(dE, 1) : (m !== b && (I = z + m.length, w = 1 + I - z, 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[G]), 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))) : G !== 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
- L,
10555
- { start: z, end: J },
10556
- e.slice(U - 1, I)
10557
- ), z = J) : (b = e.slice(U - 1, I), T += b, S += b.length, p = I - 1);
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 P() {
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 = P();
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: z, end: P() }), T = "");
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(L, k) {
10709
- h[k] = y(L, _);
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 L in b)
10931
- if (b.hasOwnProperty(L)) {
10932
- if (L == m)
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(L) || (R[L] = b[L]);
10935
+ _.hasOwnProperty(D) || (R[D] = b[D]);
10936
10936
  }
10937
- var D = h[y];
10937
+ var L = h[y];
10938
10938
  return h[y] = R, s.languages.DFS(s.languages, function(N, O) {
10939
- O === D && N != y && (this[N] = R);
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 L in m)
10947
- if (m.hasOwnProperty(L)) {
10948
- _.call(m, L, m[L], h || L);
10949
- var k = m[L], D = s.util.type(k);
10950
- D === "Object" && !b[R(k)] ? (b[R(k)] = !0, y(k, _, null, b)) : D === "Array" && !b[R(k)] && (b[R(k)] = !0, y(k, _, L, b));
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 L = y.textContent, k = {
11028
+ var D = y.textContent, k = {
11029
11029
  element: y,
11030
11030
  language: h,
11031
11031
  grammar: b,
11032
- code: L
11032
+ code: D
11033
11033
  };
11034
- function D(O) {
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
- D(s.util.encode(k.code));
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
- D(O.data);
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
- D(s.highlight(k.code, k.grammar, k.language));
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(D) {
11172
- h += y(D, _);
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 L = "";
11184
+ var D = "";
11185
11185
  for (var k in b.attributes)
11186
- L += " " + k + '="' + (b.attributes[k] || "").replace(/"/g, "&quot;") + '"';
11187
- return "<" + b.tag + ' class="' + b.classes.join(" ") + '"' + L + ">" + b.content + "</" + b.tag + ">";
11186
+ D += " " + k + '="' + (b.attributes[k] || "").replace(/"/g, "&quot;") + '"';
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 L in _)
11200
- if (!(!_.hasOwnProperty(L) || !_[L])) {
11201
- var k = _[L];
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 D = 0; D < k.length; ++D) {
11204
- if (R && R.cause == L + "," + D)
11203
+ for (var L = 0; L < k.length; ++L) {
11204
+ if (R && R.cause == D + "," + L)
11205
11205
  return;
11206
- var N = k[D], O = N.inside, $ = !!N.lookbehind, H = !!N.greedy, U = N.alias;
11207
- if (H && !N.pattern.global) {
11208
- var B = N.pattern.toString().match(/[imsuy]*$/)[0];
11209
- N.pattern = RegExp(N.pattern.source, B + "g");
11206
+ var N = k[L], O = N.inside, B = !!N.lookbehind, z = !!N.greedy, F = N.alias;
11207
+ if (z && !N.pattern.global) {
11208
+ var G = N.pattern.toString().match(/[imsuy]*$/)[0];
11209
+ N.pattern = RegExp(N.pattern.source, G + "g");
11210
11210
  }
11211
- for (var W = N.pattern || N, z = h.next, J = b; z !== m.tail && !(R && J >= R.reach); J += z.value.length, z = z.next) {
11212
- var w = z.value;
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, P;
11217
- if (H) {
11218
- if (P = u(W, J, y, $), !P || P.index >= y.length)
11216
+ var I = 1, U;
11217
+ if (z) {
11218
+ if (U = u(W, J, y, B), !U || U.index >= y.length)
11219
11219
  break;
11220
- var Z = P.index, C = P.index + P[0].length, Y = J;
11221
- for (Y += z.value.length; Z >= Y; )
11222
- z = z.next, Y += z.value.length;
11223
- if (Y -= z.value.length, J = Y, z.value instanceof l)
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 = z; K !== m.tail && (Y < C || typeof K.value == "string"); K = K.next)
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), P.index -= J;
11228
- } else if (P = u(W, 0, w, $), !P)
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 = P.index, Q = P[0], ee = w.slice(0, Z), te = w.slice(Z + Q.length), ie = J + w.length;
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 = z.prev;
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(L, O ? s.tokenize(Q, O) : Q, U, Q);
11235
- if (z = f(m, ne, _e), te && f(m, z, te), I > 1) {
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: L + "," + D,
11237
+ cause: D + "," + L,
11238
11238
  reach: ie
11239
11239
  };
11240
- c(y, m, _, z.prev, J, V), R && V.reach > R.reach && (R.reach = V.reach);
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, P) {
13096
+ function r(I, U) {
13097
13097
  return I.replace(/<<(\d+)>>/g, function(C, Y) {
13098
- return "(?:" + P[+Y] + ")";
13098
+ return "(?:" + U[+Y] + ")";
13099
13099
  });
13100
13100
  }
13101
- function a(I, P, C) {
13102
- return RegExp(r(I, P), "");
13101
+ function a(I, U, C) {
13102
+ return RegExp(r(I, U), "");
13103
13103
  }
13104
- function i(I, P) {
13105
- for (var C = 0; C < P; 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, L = /"(?:\\.|[^\\"\r\n])*"/.source, k = /@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.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, [L]),
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 D = L + "|" + R, N = r(
13360
+ var L = D + "|" + R, N = r(
13361
13361
  /\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,
13362
- [D]
13362
+ [L]
13363
13363
  ), O = i(
13364
13364
  r(/[^"'/()]|<<0>>|\(<<self>>*\)/.source, [
13365
13365
  N
13366
13366
  ]),
13367
13367
  2
13368
- ), $ = /\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source, H = r(/<<0>>(?:\s*\(<<1>>*\))?/.source, [
13368
+ ), B = /\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source, z = 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
- [$, H]
13378
+ [B, z]
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 U = /:[^}\r\n]+/.source, B = i(
13401
+ var F = /:[^}\r\n]+/.source, G = i(
13402
13402
  r(/[^"'/()]|<<0>>|\(<<self>>*\)/.source, [
13403
13403
  N
13404
13404
  ]),
13405
13405
  2
13406
13406
  ), W = r(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source, [
13407
- B,
13408
- U
13409
- ]), z = i(
13407
+ G,
13408
+ F
13409
+ ]), H = i(
13410
13410
  r(
13411
13411
  /[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,
13412
- [D]
13412
+ [L]
13413
13413
  ),
13414
13414
  2
13415
13415
  ), J = r(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source, [
13416
- z,
13417
- U
13416
+ H,
13417
+ F
13418
13418
  ]);
13419
- function w(I, P) {
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
- P,
13428
- U
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, B)
13455
+ inside: w(W, G)
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, z)
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 D = k.content, N; S.indexOf(
20599
+ for (var L = k.content, N; S.indexOf(
20600
20600
  N = u(m++, T)
20601
20601
  ) !== -1; )
20602
20602
  ;
20603
- return _[N] = D, N;
20603
+ return _[N] = L, N;
20604
20604
  }).join(""), b = c(h, x, T), R = Object.keys(_);
20605
20605
  m = 0;
20606
- function L(k) {
20607
- for (var D = 0; D < k.length; D++) {
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[D];
20610
+ var N = k[L];
20611
20611
  if (typeof N == "string" || typeof N.content == "string") {
20612
- var O = R[m], $ = typeof N == "string" ? N : (
20612
+ var O = R[m], B = typeof N == "string" ? N : (
20613
20613
  /** @type {string} */
20614
20614
  N.content
20615
- ), H = $.indexOf(O);
20616
- if (H !== -1) {
20615
+ ), z = B.indexOf(O);
20616
+ if (z !== -1) {
20617
20617
  ++m;
20618
- var U = $.substring(0, H), B = d(
20618
+ var F = B.substring(0, z), G = d(
20619
20619
  _[O]
20620
- ), W = $.substring(H + O.length), z = [];
20621
- if (U && z.push(U), z.push(B), W) {
20620
+ ), W = B.substring(z + O.length), H = [];
20621
+ if (F && H.push(F), H.push(G), W) {
20622
20622
  var J = [W];
20623
- L(J), z.push.apply(z, J);
20623
+ D(J), H.push.apply(H, J);
20624
20624
  }
20625
- typeof N == "string" ? (k.splice.apply(k, [D, 1].concat(z)), D += z.length - 1) : N.content = z;
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) ? L(w) : L([w]);
20629
+ Array.isArray(w) ? D(w) : D([w]);
20630
20630
  }
20631
20631
  }
20632
20632
  }
20633
- return L(b), new n.Token(
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), L = b.alias, k = Array.isArray(L) ? L[0] : L, D = n.languages[k];
20664
- if (!D)
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, D, k);
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, L = l, k = s, D = n, N = d, O = a, $ = S, H = E, U = r, B = o, W = i, z = f, J = !1;
32703
+ var b = u, R = c, D = l, k = s, L = n, N = d, O = a, B = S, z = E, F = r, G = 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 P(V) {
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 = L, be.ContextProvider = k, be.Element = D, be.ForwardRef = N, be.Fragment = O, be.Lazy = $, be.Memo = H, be.Portal = U, be.Profiler = B, be.StrictMode = W, be.Suspense = z, be.isAsyncMode = w, be.isConcurrentMode = I, be.isContextConsumer = P, 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;
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 = z, be.Portal = F, be.Profiler = G, 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 P = I && (c && I[c] || I[d]);
32885
- if (typeof P == "function")
32886
- return P;
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: L,
32905
- oneOfType: D,
32906
- shape: $,
32907
- exact: H
32904
+ oneOf: D,
32905
+ oneOfType: L,
32906
+ shape: B,
32907
+ exact: z
32908
32908
  };
32909
- function S(I, P) {
32910
- return I === P ? I !== 0 || 1 / I === 1 / P : I !== I && P !== P;
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, P) {
32913
- this.message = I, this.data = P && typeof P == "object" ? P : {}, this.stack = "";
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 P = {}, C = 0;
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
- !P[De] && // Avoid spamming the console because they are often not actionable except for lib authors
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
- ), P[De] = !0, C++);
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 P(C, Y, K, Z, Q, ee) {
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 = z(te);
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(P);
32951
+ return T(U);
32952
32952
  }
32953
32953
  function m() {
32954
32954
  return T(s);
32955
32955
  }
32956
32956
  function _(I) {
32957
- function P(C, Y, K, Z, Q) {
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(P);
32972
+ return T(U);
32973
32973
  }
32974
32974
  function h() {
32975
- function I(P, C, Y, K, Z) {
32976
- var Q = P[C];
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(P, C, Y, K, Z) {
32987
- var Q = P[C];
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 P(C, Y, K, Z, Q) {
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(P);
33004
+ return T(U);
33005
33005
  }
33006
- function L(I) {
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 P(C, Y, K, Z, Q) {
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 = z(V);
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(P);
33021
+ return T(U);
33022
33022
  }
33023
33023
  function k(I) {
33024
- function P(C, Y, K, Z, Q) {
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(P);
33038
+ return T(U);
33039
33039
  }
33040
- function D(I) {
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 P = 0; P < I.length; P++) {
33044
- var C = I[P];
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 " + P + "."
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(P, C, Y, K, Z) {
33064
- return U(P[C]) ? null : new x("Invalid " + K + " `" + Z + "` supplied to " + ("`" + Y + "`, expected a ReactNode."));
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, P, C, Y, K) {
33068
+ function O(I, U, C, Y, K) {
33069
33069
  return new x(
33070
- (I || "React class") + ": " + P + " type `" + C + "." + Y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + K + "`."
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 $(I) {
33074
- function P(C, Y, K, Z, Q) {
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, z(ne));
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(P);
33088
+ return T(U);
33089
33089
  }
33090
- function H(I) {
33091
- function P(C, Y, K, Z, Q) {
33090
+ function z(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, z(_e));
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(P);
33111
+ return T(U);
33112
33112
  }
33113
- function U(I) {
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(U);
33123
+ return I.every(F);
33124
33124
  if (I === null || l(I))
33125
33125
  return !0;
33126
- var P = f(I);
33127
- if (P) {
33128
- var C = P.call(I), Y;
33129
- if (P !== I.entries) {
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 (!U(Y.value))
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 && !U(K[1]))
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 B(I, P) {
33147
- return I === "symbol" ? !0 : P ? P["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && P instanceof Symbol : !1;
33146
+ function G(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 P = typeof I;
33151
- return Array.isArray(I) ? "array" : I instanceof RegExp ? "object" : B(P, I) ? "symbol" : P;
33150
+ var U = typeof I;
33151
+ return Array.isArray(I) ? "array" : I instanceof RegExp ? "object" : G(U, I) ? "symbol" : U;
33152
33152
  }
33153
- function z(I) {
33153
+ function H(I) {
33154
33154
  if (typeof I > "u" || I === null)
33155
33155
  return "" + I;
33156
- var P = W(I);
33157
- if (P === "object") {
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 P;
33163
+ return U;
33164
33164
  }
33165
33165
  function J(I) {
33166
- var P = z(I);
33167
- switch (P) {
33166
+ var U = H(I);
33167
+ switch (U) {
33168
33168
  case "array":
33169
33169
  case "object":
33170
- return "an " + P;
33170
+ return "an " + U;
33171
33171
  case "boolean":
33172
33172
  case "date":
33173
33173
  case "regexp":
33174
- return "a " + P;
33174
+ return "a " + U;
33175
33175
  default:
33176
- return P;
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), L = l;
34092
- n.modifiersData[r] = (t = {}, t[L] = R, t.centerOffset = R - b, 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", L = "clientWidth";
34136
- if (b === Qe(n) && (b = Ft(n), xt(b).position !== "static" && s === "absolute" && (R = "scrollHeight", L = "scrollWidth")), b = b, a === Ve || (a === We || a === ot) && i === $n) {
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 D = d && b === h && h.visualViewport ? h.visualViewport.width : (
34146
+ var L = d && b === h && h.visualViewport ? h.visualViewport.width : (
34147
34147
  // $FlowFixMe[prop-missing]
34148
- b[L]
34148
+ b[D]
34149
34149
  );
34150
- p -= D - r.width, p *= l ? 1 : -1;
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, ($ = {}, $[_] = y ? "0" : "", $[m] = T ? "0" : "", $.transform = (h.devicePixelRatio || 1) <= 1 ? "translate(" + p + "px, " + S + "px)" : "translate3d(" + p + "px, " + S + "px, 0)", $));
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
- }), L = Du(Object.assign({}, m, R)), k = f === Rn ? L : b, D = {
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(D).forEach(function($) {
34379
- var H = [ot, it].indexOf($) >= 0 ? 1 : -1, U = [Ve, it].indexOf($) >= 0 ? "y" : "x";
34380
- D[$] += O[U] * H;
34378
+ Object.keys(L).forEach(function(B) {
34379
+ var z = [ot, it].indexOf(B) >= 0 ? 1 : -1, F = [Ve, it].indexOf(B) >= 0 ? "y" : "x";
34380
+ L[B] += O[F] * z;
34381
34381
  });
34382
34382
  }
34383
- return D;
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(), L = !0, k = _[0], D = 0; D < _.length; D++) {
34424
- var N = _[D], O = ht(N), $ = yn(N) === mn, H = [Ve, it].indexOf(O) >= 0, U = H ? "width" : "height", B = jn(t, {
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, z = [Ve, it].indexOf(O) >= 0, F = z ? "width" : "height", G = jn(t, {
34425
34425
  placement: N,
34426
34426
  boundary: c,
34427
34427
  rootBoundary: d,
34428
34428
  altBoundary: f,
34429
34429
  padding: u
34430
- }), W = H ? $ ? ot : We : $ ? it : Ve;
34431
- h[U] > b[U] && (W = pr(W));
34432
- var z = pr(W), J = [];
34433
- if (i && J.push(B[O] <= 0), s && J.push(B[W] <= 0, B[z] <= 0), J.every(function(Y) {
34430
+ }), W = z ? 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(G[O] <= 0), s && J.push(G[W] <= 0, G[H] <= 0), J.every(function(Y) {
34434
34434
  return Y;
34435
34435
  })) {
34436
- k = N, L = !1;
34436
+ k = N, D = !1;
34437
34437
  break;
34438
34438
  }
34439
34439
  R.set(N, J);
34440
34440
  }
34441
- if (L)
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
- }, P = w; P > 0; P--) {
34453
- var C = I(P);
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, L = t.rects.popper, k = typeof S == "function" ? S(Object.assign({}, t.rects, {
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, D = typeof k == "number" ? {
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 $, H = _ === "y" ? Ve : We, U = _ === "y" ? it : ot, B = _ === "y" ? "height" : "width", W = b[_], z = W + x[H], J = W - x[U], w = p ? -L[B] / 2 : 0, I = y === mn ? R[B] : L[B], P = y === mn ? -L[B] : -R[B], C = t.elements.arrow, Y = p && C ? Ac(C) : {
34571
+ var B, z = _ === "y" ? Ve : We, F = _ === "y" ? it : ot, G = _ === "y" ? "height" : "width", W = b[_], H = W + x[z], J = W - x[F], w = p ? -D[G] / 2 : 0, I = y === mn ? R[G] : D[G], U = y === mn ? -D[G] : -R[G], 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[H], Q = K[U], ee = Fn(0, R[B], Y[B]), te = m ? R[B] / 2 - w - ee - Z - D.mainAxis : I - ee - Z - D.mainAxis, ie = m ? -R[B] / 2 + w + ee + Q + D.mainAxis : P + ee + Q + D.mainAxis, ne = t.elements.arrow && Zn(t.elements.arrow), _e = ne ? _ === "y" ? ne.clientTop || 0 : ne.clientLeft || 0 : 0, V = ($ = N == null ? void 0 : N[_]) != null ? $ : 0, De = W + te - V - _e, lt = W + ie - V, Ze = Fn(p ? hr(z, De) : z, W, p ? Yt(J, lt) : J);
34574
+ }, K = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : VE(), Z = K[z], Q = K[F], ee = Fn(0, R[G], Y[G]), te = m ? R[G] / 2 - w - ee - Z - L.mainAxis : I - ee - Z - L.mainAxis, ie = m ? -R[G] / 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, F = Ut ? tn : Pe - R[_t] - L[_t] - nn + D.altAxis, G = Ut ? Pe + R[_t] + L[_t] - nn - D.altAxis : At, re = p && Ut ? R3(F, Pe, G) : Fn(p ? F : tn, Pe, p ? G : At);
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, q = Ut ? Pe + R[_t] + D[_t] - nn - L.altAxis : At, re = p && Ut ? R3(P, Pe, q) : Fn(p ? P : tn, Pe, p ? q : 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(D) {
34724
- return c.modifiersData[D.name] = Object.assign({}, D.data);
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, L = R === void 0 ? {} : R, k = h.name;
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: L,
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, $ = O == null ? void 0 : O.type) => {
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 L = Nt(() => {
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 $ = Eb(d.current, a)[0];
35285
- $ && $.focus && $.focus();
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, L());
35289
- }, [u, m, L, k]), Ie(() => {
35288
+ u ? k() : m.current && (m.current = !1, D());
35289
+ }, [u, m, D, k]), Ie(() => {
35290
35290
  y.current = null;
35291
35291
  });
35292
- const D = (N, O) => {
35292
+ const L = (N, O) => {
35293
35293
  if (!d.current) return null;
35294
- const $ = Eb(d.current, a);
35295
- let H = $.indexOf(N) + O;
35296
- return H = Math.max(0, Math.min(H, $.length)), $[H];
35294
+ const B = Eb(d.current, a);
35295
+ let z = B.indexOf(N) + O;
35296
+ return z = Math.max(0, Math.min(z, B.length)), B[z];
35297
35297
  };
35298
35298
  return e3(Me(() => l.document, [l]), "keydown", (N) => {
35299
- var O, $;
35299
+ var O, B;
35300
35300
  const {
35301
- key: H
35302
- } = N, U = N.target, B = (O = d.current) == null ? void 0 : O.contains(U), W = ($ = E.current) == null ? void 0 : $.contains(U);
35303
- if (/input|textarea/i.test(U.tagName) && (H === " " || H !== "Escape" && B || H === "Escape" && U.type === "search") || !B && !W || H === "Tab" && (!d.current || !u))
35301
+ key: z
35302
+ } = N, F = N.target, G = (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) && (z === " " || z !== "Escape" && G || z === "Escape" && F.type === "search") || !G && !W || z === "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 (H) {
35310
+ switch (z) {
35311
35311
  case "ArrowUp": {
35312
- const w = D(U, -1);
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 = D(U, 1);
35320
+ const w = L(F, 1);
35321
35321
  w && w.focus && w.focus();
35322
35322
  }
35323
35323
  return;
35324
35324
  case "Tab":
35325
- UE(U.ownerDocument, "keyup", (w) => {
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
- H === "Escape" && (N.preventDefault(), N.stopPropagation()), c(!1, J);
35333
+ z === "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], $ = n[O];
35459
- f = $ === "start", m.push(`${E}-${O}-${$}`);
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: L,
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
- L && (R == null || R.update());
35478
- }, [L]), !b && !o && !y) return null;
35479
- typeof s != "string" && (h.show = L, h.close = () => k == null ? void 0 : k(!1), h.align = n);
35480
- let D = c.style;
35481
- return R != null && R.placement && (D = {
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: D,
35487
+ style: L,
35488
35488
  ...(m.length || p) && {
35489
35489
  "data-bs-popper": "static"
35490
35490
  },
35491
- className: ft(t, E, L && "show", f && `${E}-end`, u && `${E}-${u}`, ...m)
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, L) => {
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 = L.originalEvent) == null || (k = k.target) == null) && k.classList.contains("dropdown-toggle") && L.source === "mousedown" || (L.originalEvent.currentTarget === document && (L.source !== "keydown" || L.originalEvent.key === "Escape") && (L.source = "rootClose"), T(L.source) && (l == null || l(R, L)));
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,83 @@ 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((L) => ({ ...L }));
36381
- n((L) => {
36382
- const k = L.filter(
36383
- (B) => B.sender_type === "ai" && (B.isStatus201 || d)
36384
- ), D = new Set(R.map((B) => B.id)), N = L.filter((B) => B.sender_type !== "user" || !B.pendingSync ? !1 : !R.find((z) => z.sender_type === "user" && z.content === B.content && Math.abs(
36385
- new Date(z.created_at).getTime() - new Date(B.created_at).getTime()
36386
- ) < 5e3)), O = L.find(
36387
- (B) => B.pendingSync && B.sender_type === "ai" && !B.isStatus201
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 === F.content && Math.abs(
36385
+ new Date(W.created_at).getTime() - new Date(F.created_at).getTime()
36386
+ ) < 5e3)), N = D.find(
36387
+ (F) => F.pendingSync && F.sender_type === "ai" && !F.isStatus201
36388
36388
  );
36389
- if (!O) {
36390
- const B = [
36389
+ if (!N) {
36390
+ const F = [
36391
36391
  ...R,
36392
- ...N,
36392
+ ...L,
36393
36393
  ...k
36394
36394
  ].sort(
36395
- (W, z) => new Date(W.created_at).getTime() - new Date(z.created_at).getTime()
36395
+ (G, W) => new Date(G.created_at).getTime() - new Date(W.created_at).getTime()
36396
36396
  );
36397
36397
  return console.log(
36398
36398
  "Estado de messages tras fetchMessages (sin pending):",
36399
- B
36400
- ), B;
36399
+ F
36400
+ ), F;
36401
36401
  }
36402
- const $ = R.find(
36403
- (B) => B.sender_type === "ai" && Math.abs(
36404
- new Date(B.created_at).getTime() - new Date(O.created_at).getTime()
36402
+ const O = R.find(
36403
+ (F) => F.sender_type === "ai" && Math.abs(
36404
+ new Date(F.created_at).getTime() - new Date(N.created_at).getTime()
36405
36405
  ) < 3e3
36406
36406
  );
36407
- if (!$) {
36408
- const B = [
36407
+ if (!O) {
36408
+ const F = [
36409
36409
  ...R,
36410
- ...N,
36410
+ ...L,
36411
36411
  ...k
36412
36412
  ].sort(
36413
- (W, z) => new Date(W.created_at).getTime() - new Date(z.created_at).getTime()
36413
+ (G, W) => new Date(G.created_at).getTime() - new Date(W.created_at).getTime()
36414
36414
  );
36415
36415
  return console.log(
36416
36416
  "Estado de messages tras fetchMessages (sin real):",
36417
- B
36418
- ), B;
36417
+ F
36418
+ ), F;
36419
36419
  }
36420
- const U = [
36420
+ const z = [
36421
36421
  ...R.map(
36422
- (B) => B.id === $.id ? { ...B, content: O.content } : B
36422
+ (F) => F.id === O.id ? { ...F, content: N.content } : F
36423
36423
  ),
36424
- ...N,
36424
+ ...L,
36425
36425
  ...k
36426
36426
  ].sort(
36427
- (B, W) => new Date(B.created_at).getTime() - new Date(W.created_at).getTime()
36427
+ (F, G) => new Date(F.created_at).getTime() - new Date(G.created_at).getTime()
36428
36428
  );
36429
36429
  return console.log(
36430
36430
  "Estado de messages tras fetchMessages (final):",
36431
- U
36432
- ), U;
36431
+ z
36432
+ ), z;
36433
36433
  }), p(R);
36434
36434
  } catch (b) {
36435
36435
  console.error("Failed to fetch messages:", b), n((R) => {
36436
- const L = R.filter(
36437
- (D) => D.sender_type === "ai" && (D.isStatus201 || d)
36436
+ const D = R.filter(
36437
+ (L) => L.sender_type === "ai" && (L.isStatus201 || d)
36438
36438
  ), k = R.filter(
36439
- (D) => D.sender_type === "user" && Math.abs(new Date(D.created_at).getTime() - (/* @__PURE__ */ new Date()).getTime()) < 1e4
36439
+ (L) => L.sender_type === "user" && Math.abs(new Date(L.created_at).getTime() - (/* @__PURE__ */ new Date()).getTime()) < 1e4
36440
36440
  );
36441
36441
  return console.log("Preservando mensajes tras error en fetchMessages:", {
36442
- status201Messages: L,
36442
+ status201Messages: D,
36443
36443
  recentUserMessages: k
36444
36444
  }), [
36445
- ...R.filter((D) => !D.pendingSync || D.isStatus201),
36445
+ ...R.filter((L) => !L.pendingSync || L.isStatus201),
36446
36446
  ...k
36447
36447
  ].sort(
36448
- (D, N) => new Date(D.created_at).getTime() - new Date(N.created_at).getTime()
36448
+ (L, N) => new Date(L.created_at).getTime() - new Date(N.created_at).getTime()
36449
36449
  );
36450
36450
  });
36451
36451
  } finally {
36452
36452
  a(!1);
36453
36453
  }
36454
36454
  }, T = async (h, b, R) => {
36455
- let L = null;
36456
- const k = (/* @__PURE__ */ new Date()).toISOString(), D = {
36455
+ let D = null;
36456
+ const k = (/* @__PURE__ */ new Date()).toISOString(), L = {
36457
36457
  id: `user-${k}`,
36458
36458
  content: b,
36459
36459
  sender_type: "user",
@@ -36461,17 +36461,17 @@ const TD = ({
36461
36461
  created_at: k,
36462
36462
  pendingSync: !0
36463
36463
  };
36464
- n((U) => {
36465
- const B = [...U, D].sort(
36466
- (W, z) => new Date(W.created_at).getTime() - new Date(z.created_at).getTime()
36464
+ n((F) => {
36465
+ const G = [...F, L].sort(
36466
+ (W, H) => new Date(W.created_at).getTime() - new Date(H.created_at).getTime()
36467
36467
  );
36468
- return console.log("Estado de messages tras agregar userMessage:", B), B;
36468
+ return console.log("Estado de messages tras agregar userMessage:", G), G;
36469
36469
  });
36470
36470
  const N = new Date(
36471
36471
  (/* @__PURE__ */ new Date()).getTime() + 1
36472
36472
  ).toISOString(), O = `bot-loading-${N}`;
36473
36473
  s.current = O;
36474
- const $ = {
36474
+ const B = {
36475
36475
  id: O,
36476
36476
  content: "",
36477
36477
  loadingContent: /* @__PURE__ */ g.jsx(wu, {}),
@@ -36481,23 +36481,23 @@ const TD = ({
36481
36481
  pendingSync: !0,
36482
36482
  isStatus201: !1
36483
36483
  };
36484
- n((U) => {
36485
- const B = [...U, $].sort(
36486
- (W, z) => new Date(W.created_at).getTime() - new Date(z.created_at).getTime()
36484
+ n((F) => {
36485
+ const G = [...F, B].sort(
36486
+ (W, H) => new Date(W.created_at).getTime() - new Date(H.created_at).getTime()
36487
36487
  );
36488
- return console.log("Estado de messages tras agregar botMessage:", B), B;
36488
+ return console.log("Estado de messages tras agregar botMessage:", G), G;
36489
36489
  }), a(!0), o(!0);
36490
- const H = new AbortController();
36491
- l.current = H, c(!0);
36490
+ const z = new AbortController();
36491
+ l.current = z, c(!0);
36492
36492
  try {
36493
- L = await Vv(
36493
+ D = await Vv(
36494
36494
  h,
36495
36495
  b,
36496
36496
  R,
36497
- H.signal
36497
+ z.signal
36498
36498
  );
36499
- const U = L.status === 201;
36500
- if (U) {
36499
+ const F = D.status === 201;
36500
+ if (F) {
36501
36501
  n((J) => {
36502
36502
  const w = J.map(
36503
36503
  (I) => I.id === O ? {
@@ -36515,16 +36515,16 @@ const TD = ({
36515
36515
  }), f(!0);
36516
36516
  return;
36517
36517
  }
36518
- if (!L.body)
36518
+ if (!D.body)
36519
36519
  throw new Error("No body in response");
36520
- const B = L.body.getReader();
36521
- S.current = B;
36520
+ const G = D.body.getReader();
36521
+ S.current = G;
36522
36522
  const W = new TextDecoder();
36523
- let z = "";
36523
+ let H = "";
36524
36524
  for (; ; ) {
36525
- const { done: J, value: w } = await B.read();
36525
+ const { done: J, value: w } = await G.read();
36526
36526
  if (J) {
36527
- U && (f(!0), console.log(
36527
+ F && (f(!0), console.log(
36528
36528
  "Streaming finalizado para status 201, goTicket establecido a true"
36529
36529
  ));
36530
36530
  break;
@@ -36533,15 +36533,15 @@ const TD = ({
36533
36533
  console.log("Chunk recibido del stream:", I), i && o(!1), await Hc(
36534
36534
  I,
36535
36535
  E,
36536
- (P) => {
36537
- z += P, n((C) => {
36536
+ (U) => {
36537
+ H += U, n((C) => {
36538
36538
  const Y = C.map(
36539
36539
  (K) => K.id === O ? {
36540
36540
  ...K,
36541
- content: z,
36541
+ content: H,
36542
36542
  loadingContent: void 0,
36543
- pendingSync: !U,
36544
- isStatus201: U
36543
+ pendingSync: !F,
36544
+ isStatus201: F
36545
36545
  } : K
36546
36546
  );
36547
36547
  return console.log(
@@ -36554,34 +36554,34 @@ const TD = ({
36554
36554
  }
36555
36555
  console.log("Mensaje con status 201 procesado:", {
36556
36556
  id: O,
36557
- content: z,
36558
- isStatus201: U
36557
+ content: H,
36558
+ isStatus201: F
36559
36559
  }), setTimeout(() => x(h), 1e3);
36560
- } catch (U) {
36561
- U instanceof Error && U.message.includes("cancel") ? console.log("Stream cancelado por el usuario") : console.error("Error en el streaming del bot:", U);
36560
+ } catch (F) {
36561
+ F instanceof Error && F.message.includes("cancel") ? console.log("Stream cancelado por el usuario") : console.error("Error en el streaming del bot:", F);
36562
36562
  } finally {
36563
36563
  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
36564
  }
36565
36565
  }, y = async (h, b, R) => {
36566
- const L = (/* @__PURE__ */ new Date()).toISOString();
36566
+ const D = (/* @__PURE__ */ new Date()).toISOString();
36567
36567
  n((O) => {
36568
- const $ = O.findIndex((U) => U.id === b);
36569
- if ($ === -1) return O;
36570
- const H = [
36571
- ...O.slice(0, $),
36568
+ const B = O.findIndex((F) => F.id === b);
36569
+ if (B === -1) return O;
36570
+ const z = [
36571
+ ...O.slice(0, B),
36572
36572
  {
36573
- ...O[$],
36573
+ ...O[B],
36574
36574
  content: R,
36575
- created_at: L,
36575
+ created_at: D,
36576
36576
  pendingSync: !0
36577
36577
  }
36578
36578
  ];
36579
- return console.log("Estado de messages tras editar mensaje:", H), H;
36579
+ return console.log("Estado de messages tras editar mensaje:", z), z;
36580
36580
  });
36581
36581
  const k = new Date(
36582
36582
  (/* @__PURE__ */ new Date()).getTime() + 1
36583
- ).toISOString(), D = `bot-edit-loading-${k}`, N = {
36584
- id: D,
36583
+ ).toISOString(), L = `bot-edit-loading-${k}`, N = {
36584
+ id: L,
36585
36585
  content: "",
36586
36586
  loadingContent: /* @__PURE__ */ g.jsx(wu, {}),
36587
36587
  sender_type: "ai",
@@ -36590,11 +36590,11 @@ const TD = ({
36590
36590
  pendingSync: !0
36591
36591
  };
36592
36592
  n((O) => {
36593
- const $ = [...O, N];
36593
+ const B = [...O, N];
36594
36594
  return console.log(
36595
36595
  "Estado de messages tras agregar botMessage (edit):",
36596
- $
36597
- ), $;
36596
+ B
36597
+ ), B;
36598
36598
  }), a(!0), c(!0);
36599
36599
  try {
36600
36600
  const O = await Wv(
@@ -36604,22 +36604,22 @@ const TD = ({
36604
36604
  );
36605
36605
  if (!O.body)
36606
36606
  throw new Error("No body in response");
36607
- const $ = O.body.getReader();
36608
- S.current = $;
36609
- const H = new TextDecoder();
36610
- let U = "";
36607
+ const B = O.body.getReader();
36608
+ S.current = B;
36609
+ const z = new TextDecoder();
36610
+ let F = "";
36611
36611
  for (; ; ) {
36612
- const { done: B, value: W } = await $.read();
36613
- if (B) break;
36614
- const z = H.decode(W, { stream: !0 });
36615
- console.log("Chunk recibido del stream (edit):", z), await Hc(z, E, (J) => {
36616
- U += J, n((w) => {
36612
+ const { done: G, value: W } = await B.read();
36613
+ if (G) break;
36614
+ const H = z.decode(W, { stream: !0 });
36615
+ console.log("Chunk recibido del stream (edit):", H), await Hc(H, E, (J) => {
36616
+ F += J, n((w) => {
36617
36617
  const I = w.map(
36618
- (P) => P.id === D ? {
36619
- ...P,
36620
- content: U,
36618
+ (U) => U.id === L ? {
36619
+ ...U,
36620
+ content: F,
36621
36621
  loadingContent: void 0
36622
- } : P
36622
+ } : U
36623
36623
  );
36624
36624
  return console.log(
36625
36625
  "Estado de messages tras actualizar botContent (edit):",