bi-components-library 1.3.2-next.40 → 1.3.2-next.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -559,7 +559,7 @@ const { Option: _0 } = Ll, I0 = ({
559
559
  current: 1,
560
560
  pageSize: a,
561
561
  total: 0
562
- }), [b, y] = J({}), [w, k] = J({}), [N] = ea.useForm(), I = te(m);
562
+ }), [b, y] = J({}), [w, k] = J({}), [A] = ea.useForm(), I = te(m);
563
563
  I.current = m;
564
564
  const T = te(o);
565
565
  T.current = o;
@@ -570,7 +570,7 @@ const { Option: _0 } = Ll, I0 = ({
570
570
  sorter: E ? !0 : void 0,
571
571
  render: F || ((W) => W)
572
572
  };
573
- }), [e]), A = z(async (L = {}) => {
573
+ }), [e]), N = z(async (L = {}) => {
574
574
  if (t) {
575
575
  h(!0);
576
576
  try {
@@ -596,10 +596,10 @@ const { Option: _0 } = Ll, I0 = ({
596
596
  }, [t, w, b]), P = z((L) => {
597
597
  y(L), g((E) => ({ ...E, current: 1 }));
598
598
  }, []), D = z(() => {
599
- N.resetFields(), y({}), g((L) => ({ ...L, current: 1 }));
600
- }, [N]), B = z(() => {
601
- A();
602
- }, [A]), V = z((L, E, F) => {
599
+ A.resetFields(), y({}), g((L) => ({ ...L, current: 1 }));
600
+ }, [A]), B = z(() => {
601
+ N();
602
+ }, [N]), V = z((L, E, F) => {
603
603
  const Y = {
604
604
  current: L.current || 1,
605
605
  pageSize: L.pageSize || a,
@@ -612,12 +612,12 @@ const { Option: _0 } = Ll, I0 = ({
612
612
  }, [a]);
613
613
  return be(() => {
614
614
  const L = Object.keys(o).length > 0;
615
- (s && !O.current || L) && (A(), O.current = !0);
616
- }, [s, o, A]), /* @__PURE__ */ q("div", { children: [
615
+ (s && !O.current || L) && (N(), O.current = !0);
616
+ }, [s, o, N]), /* @__PURE__ */ q("div", { children: [
617
617
  r && n.length > 0 && /* @__PURE__ */ v(mo, { size: "small", style: { marginBottom: 16 }, children: /* @__PURE__ */ q(
618
618
  ea,
619
619
  {
620
- form: N,
620
+ form: A,
621
621
  layout: "inline",
622
622
  onFinish: P,
623
623
  initialValues: n.reduce((L, E) => (E.defaultValue !== void 0 && (L[E.key] = E.defaultValue), L), {}),
@@ -2039,7 +2039,7 @@ function K0() {
2039
2039
  if (!b) return [];
2040
2040
  y = y || {};
2041
2041
  var w = 1, k = 1;
2042
- function N(L) {
2042
+ function A(L) {
2043
2043
  var E = L.match(t);
2044
2044
  E && (w += E.length);
2045
2045
  var F = L.lastIndexOf(o);
@@ -2048,7 +2048,7 @@ function K0() {
2048
2048
  function I() {
2049
2049
  var L = { line: w, column: k };
2050
2050
  return function(E) {
2051
- return E.position = new T(L), A(), E;
2051
+ return E.position = new T(L), N(), E;
2052
2052
  };
2053
2053
  }
2054
2054
  function T(L) {
@@ -2065,10 +2065,10 @@ function K0() {
2065
2065
  var E = L.exec(b);
2066
2066
  if (E) {
2067
2067
  var F = E[0];
2068
- return N(F), b = b.slice(F.length), E;
2068
+ return A(F), b = b.slice(F.length), E;
2069
2069
  }
2070
2070
  }
2071
- function A() {
2071
+ function N() {
2072
2072
  _(n);
2073
2073
  }
2074
2074
  function P(L) {
@@ -2085,7 +2085,7 @@ function K0() {
2085
2085
  if (E += 2, d === b.charAt(E - 1))
2086
2086
  return O("End of comment missing");
2087
2087
  var F = b.slice(2, E - 2);
2088
- return k += 2, N(F), b = b.slice(E), k += 2, L({
2088
+ return k += 2, A(F), b = b.slice(E), k += 2, L({
2089
2089
  type: f,
2090
2090
  comment: F
2091
2091
  });
@@ -2110,7 +2110,7 @@ function K0() {
2110
2110
  E !== !1 && (L.push(E), P(L));
2111
2111
  return L;
2112
2112
  }
2113
- return A(), V();
2113
+ return N(), V();
2114
2114
  }
2115
2115
  function g(b) {
2116
2116
  return b ? b.replace(s, d) : d;
@@ -2789,28 +2789,28 @@ function R1(e) {
2789
2789
  return s;
2790
2790
  function s(k) {
2791
2791
  if (r < n.length) {
2792
- const N = n[r];
2793
- return t.containerState = N[1], e.attempt(N[0].continuation, o, u)(k);
2792
+ const A = n[r];
2793
+ return t.containerState = A[1], e.attempt(A[0].continuation, o, u)(k);
2794
2794
  }
2795
2795
  return u(k);
2796
2796
  }
2797
2797
  function o(k) {
2798
2798
  if (r++, t.containerState._closeFlow) {
2799
2799
  t.containerState._closeFlow = void 0, l && w();
2800
- const N = t.events.length;
2801
- let I = N, T;
2800
+ const A = t.events.length;
2801
+ let I = A, T;
2802
2802
  for (; I--; )
2803
2803
  if (t.events[I][0] === "exit" && t.events[I][1].type === "chunkFlow") {
2804
2804
  T = t.events[I][1].end;
2805
2805
  break;
2806
2806
  }
2807
2807
  y(r);
2808
- let O = N;
2808
+ let O = A;
2809
2809
  for (; O < t.events.length; )
2810
2810
  t.events[O][1].end = {
2811
2811
  ...T
2812
2812
  }, O++;
2813
- return Zt(t.events, I + 1, 0, t.events.slice(N)), t.events.length = O, u(k);
2813
+ return Zt(t.events, I + 1, 0, t.events.slice(A)), t.events.length = O, u(k);
2814
2814
  }
2815
2815
  return s(k);
2816
2816
  }
@@ -2854,9 +2854,9 @@ function R1(e) {
2854
2854
  }
2855
2855
  return ce(k) ? (e.consume(k), b(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, s) : (e.consume(k), g);
2856
2856
  }
2857
- function b(k, N) {
2857
+ function b(k, A) {
2858
2858
  const I = t.sliceStream(k);
2859
- if (N && I.push(null), k.previous = a, a && (a.next = k), a = k, l.defineSkip(k.start), l.write(I), t.parser.lazy[k.start.line]) {
2859
+ if (A && I.push(null), k.previous = a, a && (a.next = k), a = k, l.defineSkip(k.start), l.write(I), t.parser.lazy[k.start.line]) {
2860
2860
  let T = l.events.length;
2861
2861
  for (; T--; )
2862
2862
  if (
@@ -2867,14 +2867,14 @@ function R1(e) {
2867
2867
  )
2868
2868
  return;
2869
2869
  const O = t.events.length;
2870
- let _ = O, A, P;
2870
+ let _ = O, N, P;
2871
2871
  for (; _--; )
2872
2872
  if (t.events[_][0] === "exit" && t.events[_][1].type === "chunkFlow") {
2873
- if (A) {
2873
+ if (N) {
2874
2874
  P = t.events[_][1].end;
2875
2875
  break;
2876
2876
  }
2877
- A = !0;
2877
+ N = !0;
2878
2878
  }
2879
2879
  for (y(r), T = O; T < t.events.length; )
2880
2880
  t.events[T][1].end = {
@@ -2884,9 +2884,9 @@ function R1(e) {
2884
2884
  }
2885
2885
  }
2886
2886
  function y(k) {
2887
- let N = n.length;
2888
- for (; N-- > k; ) {
2889
- const I = n[N];
2887
+ let A = n.length;
2888
+ for (; A-- > k; ) {
2889
+ const I = n[A];
2890
2890
  t.containerState = I[1], I[0].exit.call(t, e);
2891
2891
  }
2892
2892
  n.length = k;
@@ -3143,7 +3143,7 @@ function W1(e, t, n) {
3143
3143
  return T === s ? (i++, e.consume(T), c) : i < 3 ? n(T) : (e.exit("codeFencedFenceSequence"), Ie(T) ? Oe(e, d, "whitespace")(T) : d(T));
3144
3144
  }
3145
3145
  function d(T) {
3146
- return T === null || ce(T) ? (e.exit("codeFencedFence"), r.interrupt ? t(T) : e.check(tc, g, N)(T)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
3146
+ return T === null || ce(T) ? (e.exit("codeFencedFence"), r.interrupt ? t(T) : e.check(tc, g, A)(T)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
3147
3147
  contentType: "string"
3148
3148
  }), f(T));
3149
3149
  }
@@ -3159,7 +3159,7 @@ function W1(e, t, n) {
3159
3159
  return T === null || ce(T) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), d(T)) : T === 96 && T === s ? n(T) : (e.consume(T), m);
3160
3160
  }
3161
3161
  function g(T) {
3162
- return e.attempt(l, N, b)(T);
3162
+ return e.attempt(l, A, b)(T);
3163
3163
  }
3164
3164
  function b(T) {
3165
3165
  return e.enter("lineEnding"), e.consume(T), e.exit("lineEnding"), y;
@@ -3168,16 +3168,16 @@ function W1(e, t, n) {
3168
3168
  return a > 0 && Ie(T) ? Oe(e, w, "linePrefix", a + 1)(T) : w(T);
3169
3169
  }
3170
3170
  function w(T) {
3171
- return T === null || ce(T) ? e.check(tc, g, N)(T) : (e.enter("codeFlowValue"), k(T));
3171
+ return T === null || ce(T) ? e.check(tc, g, A)(T) : (e.enter("codeFlowValue"), k(T));
3172
3172
  }
3173
3173
  function k(T) {
3174
3174
  return T === null || ce(T) ? (e.exit("codeFlowValue"), w(T)) : (e.consume(T), k);
3175
3175
  }
3176
- function N(T) {
3176
+ function A(T) {
3177
3177
  return e.exit("codeFenced"), t(T);
3178
3178
  }
3179
3179
  function I(T, O, _) {
3180
- let A = 0;
3180
+ let N = 0;
3181
3181
  return P;
3182
3182
  function P(E) {
3183
3183
  return T.enter("lineEnding"), T.consume(E), T.exit("lineEnding"), D;
@@ -3189,7 +3189,7 @@ function W1(e, t, n) {
3189
3189
  return E === s ? (T.enter("codeFencedFenceSequence"), V(E)) : _(E);
3190
3190
  }
3191
3191
  function V(E) {
3192
- return E === s ? (A++, T.consume(E), V) : A >= i ? (T.exit("codeFencedFenceSequence"), Ie(E) ? Oe(T, L, "whitespace")(E) : L(E)) : _(E);
3192
+ return E === s ? (N++, T.consume(E), V) : N >= i ? (T.exit("codeFencedFenceSequence"), Ie(E) ? Oe(T, L, "whitespace")(E) : L(E)) : _(E);
3193
3193
  }
3194
3194
  function L(E) {
3195
3195
  return E === null || ce(E) ? (T.exit("codeFencedFence"), O(E)) : _(E);
@@ -3873,10 +3873,10 @@ function Tg(e, t, n) {
3873
3873
  return Ie(R) ? (e.consume(R), w) : P(R);
3874
3874
  }
3875
3875
  function k(R) {
3876
- return R === 47 ? (e.consume(R), P) : R === 58 || R === 95 || Qt(R) ? (e.consume(R), N) : Ie(R) ? (e.consume(R), k) : P(R);
3876
+ return R === 47 ? (e.consume(R), P) : R === 58 || R === 95 || Qt(R) ? (e.consume(R), A) : Ie(R) ? (e.consume(R), k) : P(R);
3877
3877
  }
3878
- function N(R) {
3879
- return R === 45 || R === 46 || R === 58 || R === 95 || Mt(R) ? (e.consume(R), N) : I(R);
3878
+ function A(R) {
3879
+ return R === 45 || R === 46 || R === 58 || R === 95 || Mt(R) ? (e.consume(R), A) : I(R);
3880
3880
  }
3881
3881
  function I(R) {
3882
3882
  return R === 61 ? (e.consume(R), T) : Ie(R) ? (e.consume(R), I) : k(R);
@@ -3885,12 +3885,12 @@ function Tg(e, t, n) {
3885
3885
  return R === null || R === 60 || R === 61 || R === 62 || R === 96 ? n(R) : R === 34 || R === 39 ? (e.consume(R), o = R, O) : Ie(R) ? (e.consume(R), T) : _(R);
3886
3886
  }
3887
3887
  function O(R) {
3888
- return R === o ? (e.consume(R), o = null, A) : R === null || ce(R) ? n(R) : (e.consume(R), O);
3888
+ return R === o ? (e.consume(R), o = null, N) : R === null || ce(R) ? n(R) : (e.consume(R), O);
3889
3889
  }
3890
3890
  function _(R) {
3891
3891
  return R === null || R === 34 || R === 39 || R === 47 || R === 60 || R === 61 || R === 62 || R === 96 || $e(R) ? I(R) : (e.consume(R), _);
3892
3892
  }
3893
- function A(R) {
3893
+ function N(R) {
3894
3894
  return R === 47 || R === 62 || Ie(R) ? k(R) : n(R);
3895
3895
  }
3896
3896
  function P(R) {
@@ -3999,9 +3999,9 @@ function kg(e, t, n) {
3999
3999
  return C === null || C === 62 ? F(C) : ce(C) ? (i = w, Y(C)) : (e.consume(C), w);
4000
4000
  }
4001
4001
  function k(C) {
4002
- return C === null ? n(C) : C === 63 ? (e.consume(C), N) : ce(C) ? (i = k, Y(C)) : (e.consume(C), k);
4002
+ return C === null ? n(C) : C === 63 ? (e.consume(C), A) : ce(C) ? (i = k, Y(C)) : (e.consume(C), k);
4003
4003
  }
4004
- function N(C) {
4004
+ function A(C) {
4005
4005
  return C === 62 ? F(C) : k(C);
4006
4006
  }
4007
4007
  function I(C) {
@@ -4014,16 +4014,16 @@ function kg(e, t, n) {
4014
4014
  return ce(C) ? (i = O, Y(C)) : Ie(C) ? (e.consume(C), O) : F(C);
4015
4015
  }
4016
4016
  function _(C) {
4017
- return C === 45 || Mt(C) ? (e.consume(C), _) : C === 47 || C === 62 || $e(C) ? A(C) : n(C);
4017
+ return C === 45 || Mt(C) ? (e.consume(C), _) : C === 47 || C === 62 || $e(C) ? N(C) : n(C);
4018
4018
  }
4019
- function A(C) {
4020
- return C === 47 ? (e.consume(C), F) : C === 58 || C === 95 || Qt(C) ? (e.consume(C), P) : ce(C) ? (i = A, Y(C)) : Ie(C) ? (e.consume(C), A) : F(C);
4019
+ function N(C) {
4020
+ return C === 47 ? (e.consume(C), F) : C === 58 || C === 95 || Qt(C) ? (e.consume(C), P) : ce(C) ? (i = N, Y(C)) : Ie(C) ? (e.consume(C), N) : F(C);
4021
4021
  }
4022
4022
  function P(C) {
4023
4023
  return C === 45 || C === 46 || C === 58 || C === 95 || Mt(C) ? (e.consume(C), P) : D(C);
4024
4024
  }
4025
4025
  function D(C) {
4026
- return C === 61 ? (e.consume(C), B) : ce(C) ? (i = D, Y(C)) : Ie(C) ? (e.consume(C), D) : A(C);
4026
+ return C === 61 ? (e.consume(C), B) : ce(C) ? (i = D, Y(C)) : Ie(C) ? (e.consume(C), D) : N(C);
4027
4027
  }
4028
4028
  function B(C) {
4029
4029
  return C === null || C === 60 || C === 61 || C === 62 || C === 96 ? n(C) : C === 34 || C === 39 ? (e.consume(C), l = C, V) : ce(C) ? (i = B, Y(C)) : Ie(C) ? (e.consume(C), B) : (e.consume(C), L);
@@ -4032,10 +4032,10 @@ function kg(e, t, n) {
4032
4032
  return C === l ? (e.consume(C), l = void 0, E) : C === null ? n(C) : ce(C) ? (i = V, Y(C)) : (e.consume(C), V);
4033
4033
  }
4034
4034
  function L(C) {
4035
- return C === null || C === 34 || C === 39 || C === 60 || C === 61 || C === 96 ? n(C) : C === 47 || C === 62 || $e(C) ? A(C) : (e.consume(C), L);
4035
+ return C === null || C === 34 || C === 39 || C === 60 || C === 61 || C === 96 ? n(C) : C === 47 || C === 62 || $e(C) ? N(C) : (e.consume(C), L);
4036
4036
  }
4037
4037
  function E(C) {
4038
- return C === 47 || C === 62 || $e(C) ? A(C) : n(C);
4038
+ return C === 47 || C === 62 || $e(C) ? N(C) : n(C);
4039
4039
  }
4040
4040
  function F(C) {
4041
4041
  return C === 62 ? (e.consume(C), e.exit("htmlTextData"), e.exit("htmlText"), t) : n(C);
@@ -4585,7 +4585,7 @@ function fv(e, t, n) {
4585
4585
  check: O(T),
4586
4586
  consume: w,
4587
4587
  enter: k,
4588
- exit: N,
4588
+ exit: A,
4589
4589
  interrupt: O(T, {
4590
4590
  interrupt: !0
4591
4591
  })
@@ -4655,7 +4655,7 @@ function fv(e, t, n) {
4655
4655
  const V = B || {};
4656
4656
  return V.type = D, V.start = m(), u.events.push(["enter", V, u]), s.push(V), V;
4657
4657
  }
4658
- function N(D) {
4658
+ function A(D) {
4659
4659
  const B = s.pop();
4660
4660
  return B.end = m(), u.events.push(["exit", B, u]), B;
4661
4661
  }
@@ -4697,7 +4697,7 @@ function fv(e, t, n) {
4697
4697
  function R(Ne) {
4698
4698
  return de;
4699
4699
  function de(ke) {
4700
- return C = A(), Q = Ne, Ne.partial || (u.currentConstruct = Ne), Ne.name && u.parser.constructs.disable.null.includes(Ne.name) ? _e() : Ne.tokenize.call(
4700
+ return C = N(), Q = Ne, Ne.partial || (u.currentConstruct = Ne), Ne.name && u.parser.constructs.disable.null.includes(Ne.name) ? _e() : Ne.tokenize.call(
4701
4701
  // If we do have fields, create an object w/ `context` as its
4702
4702
  // prototype.
4703
4703
  // This allows a “live binding”, which is needed for `interrupt`.
@@ -4719,7 +4719,7 @@ function fv(e, t, n) {
4719
4719
  function _(D, B) {
4720
4720
  D.resolveAll && !a.includes(D) && a.push(D), D.resolve && Zt(u.events, B, u.events.length - B, D.resolve(u.events.slice(B), u)), D.resolveTo && (u.events = D.resolveTo(u.events, u));
4721
4721
  }
4722
- function A() {
4722
+ function N() {
4723
4723
  const D = m(), B = u.previous, V = u.currentConstruct, L = u.events.length, E = Array.from(s);
4724
4724
  return {
4725
4725
  from: L,
@@ -4873,20 +4873,20 @@ function Cv(e) {
4873
4873
  canContainEols: ["emphasis", "fragment", "heading", "paragraph", "strong"],
4874
4874
  enter: {
4875
4875
  autolink: a(rn),
4876
- autolinkProtocol: A,
4877
- autolinkEmail: A,
4876
+ autolinkProtocol: N,
4877
+ autolinkEmail: N,
4878
4878
  atxHeading: a(hn),
4879
4879
  blockQuote: a(we),
4880
- characterEscape: A,
4881
- characterReference: A,
4880
+ characterEscape: N,
4881
+ characterReference: N,
4882
4882
  codeFenced: a(st),
4883
4883
  codeFencedFenceInfo: i,
4884
4884
  codeFencedFenceMeta: i,
4885
4885
  codeIndented: a(st, i),
4886
4886
  codeText: a(Qe, i),
4887
- codeTextData: A,
4888
- data: A,
4889
- codeFlowValue: A,
4887
+ codeTextData: N,
4888
+ data: N,
4889
+ codeFlowValue: N,
4890
4890
  definition: a(gt),
4891
4891
  definitionDestinationString: i,
4892
4892
  definitionLabelString: i,
@@ -4895,9 +4895,9 @@ function Cv(e) {
4895
4895
  hardBreakEscape: a(me),
4896
4896
  hardBreakTrailing: a(me),
4897
4897
  htmlFlow: a(Pe, i),
4898
- htmlFlowData: A,
4898
+ htmlFlowData: N,
4899
4899
  htmlText: a(Pe, i),
4900
- htmlTextData: A,
4900
+ htmlTextData: N,
4901
4901
  image: a(pn),
4902
4902
  label: i,
4903
4903
  link: a(rn),
@@ -4936,7 +4936,7 @@ function Cv(e) {
4936
4936
  codeTextData: P,
4937
4937
  data: P,
4938
4938
  definition: o(),
4939
- definitionDestinationString: N,
4939
+ definitionDestinationString: A,
4940
4940
  definitionLabelString: w,
4941
4941
  definitionTitleString: k,
4942
4942
  emphasis: o(),
@@ -5142,7 +5142,7 @@ function Cv(e) {
5142
5142
  const j = this.resume(), ee = this.stack[this.stack.length - 1];
5143
5143
  ee.title = j;
5144
5144
  }
5145
- function N() {
5145
+ function A() {
5146
5146
  const j = this.resume(), ee = this.stack[this.stack.length - 1];
5147
5147
  ee.url = j;
5148
5148
  }
@@ -5163,7 +5163,7 @@ function Cv(e) {
5163
5163
  function _() {
5164
5164
  this.data.setextHeadingSlurpLineEnding = void 0;
5165
5165
  }
5166
- function A(j) {
5166
+ function N(j) {
5167
5167
  const ge = this.stack[this.stack.length - 1].children;
5168
5168
  let Ce = ge[ge.length - 1];
5169
5169
  (!Ce || Ce.type !== "text") && (Ce = Gl(), Ce.position = {
@@ -5183,7 +5183,7 @@ function Cv(e) {
5183
5183
  ge.position.end = vn(j.end), this.data.atHardBreak = void 0;
5184
5184
  return;
5185
5185
  }
5186
- !this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(ee.type) && (A.call(this, j), P.call(this, j));
5186
+ !this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(ee.type) && (N.call(this, j), P.call(this, j));
5187
5187
  }
5188
5188
  function B() {
5189
5189
  this.data.atHardBreak = !0;
@@ -14488,37 +14488,37 @@ function Fo(e, t) {
14488
14488
  continue;
14489
14489
  }
14490
14490
  const w = a + 1;
14491
- let k = w, N = w, I;
14491
+ let k = w, A = w, I;
14492
14492
  if (y === 35) {
14493
- N = ++k;
14494
- const V = e.charCodeAt(N);
14495
- V === 88 || V === 120 ? (I = "hexadecimal", N = ++k) : I = "decimal";
14493
+ A = ++k;
14494
+ const V = e.charCodeAt(A);
14495
+ V === 88 || V === 120 ? (I = "hexadecimal", A = ++k) : I = "decimal";
14496
14496
  } else
14497
14497
  I = "named";
14498
14498
  let T = "", O = "", _ = "";
14499
- const A = I === "named" ? Wc : I === "decimal" ? sp : gC;
14500
- for (N--; ++N <= e.length; ) {
14501
- const V = e.charCodeAt(N);
14502
- if (!A(V))
14499
+ const N = I === "named" ? Wc : I === "decimal" ? sp : gC;
14500
+ for (A--; ++A <= e.length; ) {
14501
+ const V = e.charCodeAt(A);
14502
+ if (!N(V))
14503
14503
  break;
14504
14504
  _ += String.fromCharCode(V), I === "named" && bC.includes(_) && (T = _, O = El(_));
14505
14505
  }
14506
- let P = e.charCodeAt(N) === 59;
14506
+ let P = e.charCodeAt(A) === 59;
14507
14507
  if (P) {
14508
- N++;
14508
+ A++;
14509
14509
  const V = I === "named" ? El(_) : !1;
14510
14510
  V && (T = _, O = V);
14511
14511
  }
14512
- let D = 1 + N - w, B = "";
14512
+ let D = 1 + A - w, B = "";
14513
14513
  if (!(!P && n.nonTerminated === !1)) if (!_)
14514
14514
  I !== "named" && g(4, D);
14515
14515
  else if (I === "named") {
14516
14516
  if (P && !O)
14517
14517
  g(5, 1);
14518
- else if (T !== _ && (N = k + T.length, D = 1 + N - k, P = !1), !P) {
14518
+ else if (T !== _ && (A = k + T.length, D = 1 + A - k, P = !1), !P) {
14519
14519
  const V = T ? 1 : 3;
14520
14520
  if (n.attribute) {
14521
- const L = e.charCodeAt(N);
14521
+ const L = e.charCodeAt(A);
14522
14522
  L === 61 ? (g(V, D), O = "") : Wc(L) ? O = "" : g(V, D);
14523
14523
  } else
14524
14524
  g(V, D);
@@ -14542,16 +14542,16 @@ function Fo(e, t) {
14542
14542
  }
14543
14543
  }
14544
14544
  if (B) {
14545
- b(), f = m(), a = N - 1, d += N - w + 1, l.push(B);
14545
+ b(), f = m(), a = A - 1, d += A - w + 1, l.push(B);
14546
14546
  const V = m();
14547
14547
  V.offset++, n.reference && n.reference.call(
14548
14548
  n.referenceContext || void 0,
14549
14549
  B,
14550
14550
  { start: f, end: V },
14551
- e.slice(w - 1, N)
14551
+ e.slice(w - 1, A)
14552
14552
  ), f = V;
14553
14553
  } else
14554
- _ = e.slice(w - 1, N), s += _, d += _.length, a = N - 1;
14554
+ _ = e.slice(w - 1, A), s += _, d += _.length, a = A - 1;
14555
14555
  } else
14556
14556
  h === 10 && (c++, i++, d = 0), Number.isNaN(h) ? b() : (s += String.fromCharCode(h), d++);
14557
14557
  return l.join("");
@@ -14846,9 +14846,9 @@ function Uo(e, t, n, r, l, a, i, s, o, u, c, d, f, h, m) {
14846
14846
  /** @type {TokenType} */
14847
14847
  g + "Marker"
14848
14848
  );
14849
- return e.enter(a), e.enter(g), e.enter(F), e.consume(E), e.exit(F), N;
14849
+ return e.enter(a), e.enter(g), e.enter(F), e.consume(E), e.exit(F), A;
14850
14850
  }
14851
- function N(E) {
14851
+ function A(E) {
14852
14852
  if (E === null || E === 34 || E === 35 || E === 39 || E === 46 || E === 60 || E === 61 || E === 62 || E === 96 || E === 125 || $e(E))
14853
14853
  return n(E);
14854
14854
  const F = (
@@ -14876,10 +14876,10 @@ function Uo(e, t, n, r, l, a, i, s, o, u, c, d, f, h, m) {
14876
14876
  return E === 61 ? (e.enter(u), e.consume(E), e.exit(u), _) : (e.exit(a), w(E));
14877
14877
  }
14878
14878
  function _(E) {
14879
- return E === null || E === 60 || E === 61 || E === 62 || E === 96 || E === 125 || m && ce(E) ? n(E) : E === 34 || E === 39 ? (e.enter(c), e.enter(f), e.consume(E), e.exit(f), b = E, P) : m && Ie(E) ? Oe(e, _, "whitespace")(E) : !m && $e(E) ? un(e, _)(E) : (e.enter(d), e.enter(h), e.consume(E), b = void 0, A);
14879
+ return E === null || E === 60 || E === 61 || E === 62 || E === 96 || E === 125 || m && ce(E) ? n(E) : E === 34 || E === 39 ? (e.enter(c), e.enter(f), e.consume(E), e.exit(f), b = E, P) : m && Ie(E) ? Oe(e, _, "whitespace")(E) : !m && $e(E) ? un(e, _)(E) : (e.enter(d), e.enter(h), e.consume(E), b = void 0, N);
14880
14880
  }
14881
- function A(E) {
14882
- return E === null || E === 34 || E === 39 || E === 60 || E === 61 || E === 62 || E === 96 ? n(E) : E === 125 || $e(E) ? (e.exit(h), e.exit(d), e.exit(a), w(E)) : (e.consume(E), A);
14881
+ function N(E) {
14882
+ return E === null || E === 34 || E === 39 || E === 60 || E === 61 || E === 62 || E === 96 ? n(E) : E === 125 || $e(E) ? (e.exit(h), e.exit(d), e.exit(a), w(E)) : (e.consume(E), N);
14883
14883
  }
14884
14884
  function P(E) {
14885
14885
  return E === b ? (e.enter(f), e.consume(E), e.exit(f), e.exit(c), e.exit(a), V) : (e.enter(d), D(E));
@@ -14953,79 +14953,79 @@ function YC(e, t, n) {
14953
14953
  const r = this, l = r.events[r.events.length - 1], a = l && l[1].type === "linePrefix" ? l[2].sliceSerialize(l[1], !0).length : 0;
14954
14954
  let i = 0, s;
14955
14955
  return o;
14956
- function o(A) {
14957
- return e.enter("directiveContainer"), e.enter("directiveContainerFence"), e.enter("directiveContainerSequence"), u(A);
14956
+ function o(N) {
14957
+ return e.enter("directiveContainer"), e.enter("directiveContainerFence"), e.enter("directiveContainerSequence"), u(N);
14958
14958
  }
14959
- function u(A) {
14960
- return A === 58 ? (e.consume(A), i++, u) : i < 3 ? n(A) : (e.exit("directiveContainerSequence"), Vo.call(r, e, c, n, "directiveContainerName")(A));
14959
+ function u(N) {
14960
+ return N === 58 ? (e.consume(N), i++, u) : i < 3 ? n(N) : (e.exit("directiveContainerSequence"), Vo.call(r, e, c, n, "directiveContainerName")(N));
14961
14961
  }
14962
- function c(A) {
14963
- return A === 91 ? e.attempt(qC, d, d)(A) : d(A);
14962
+ function c(N) {
14963
+ return N === 91 ? e.attempt(qC, d, d)(N) : d(N);
14964
14964
  }
14965
- function d(A) {
14966
- return A === 123 ? e.attempt(WC, f, f)(A) : f(A);
14965
+ function d(N) {
14966
+ return N === 123 ? e.attempt(WC, f, f)(N) : f(N);
14967
14967
  }
14968
- function f(A) {
14969
- return Oe(e, h, "whitespace")(A);
14968
+ function f(N) {
14969
+ return Oe(e, h, "whitespace")(N);
14970
14970
  }
14971
- function h(A) {
14972
- return e.exit("directiveContainerFence"), A === null ? O(A) : ce(A) ? r.interrupt ? t(A) : e.attempt(aa, m, O)(A) : n(A);
14971
+ function h(N) {
14972
+ return e.exit("directiveContainerFence"), N === null ? O(N) : ce(N) ? r.interrupt ? t(N) : e.attempt(aa, m, O)(N) : n(N);
14973
14973
  }
14974
- function m(A) {
14975
- return A === null ? O(A) : ce(A) ? e.check(aa, k, O)(A) : (e.enter("directiveContainerContent"), g(A));
14974
+ function m(N) {
14975
+ return N === null ? O(N) : ce(N) ? e.check(aa, k, O)(N) : (e.enter("directiveContainerContent"), g(N));
14976
14976
  }
14977
- function g(A) {
14977
+ function g(N) {
14978
14978
  return e.attempt({
14979
14979
  tokenize: _,
14980
14980
  partial: !0
14981
- }, T, a ? Oe(e, b, "linePrefix", a + 1) : b)(A);
14981
+ }, T, a ? Oe(e, b, "linePrefix", a + 1) : b)(N);
14982
14982
  }
14983
- function b(A) {
14984
- return A === null ? T(A) : ce(A) ? e.check(aa, w, T)(A) : w(A);
14983
+ function b(N) {
14984
+ return N === null ? T(N) : ce(N) ? e.check(aa, w, T)(N) : w(N);
14985
14985
  }
14986
- function y(A) {
14987
- if (A === null) {
14986
+ function y(N) {
14987
+ if (N === null) {
14988
14988
  const P = e.exit("chunkDocument");
14989
- return r.parser.lazy[P.start.line] = !1, T(A);
14989
+ return r.parser.lazy[P.start.line] = !1, T(N);
14990
14990
  }
14991
- return ce(A) ? e.check(aa, N, I)(A) : (e.consume(A), y);
14991
+ return ce(N) ? e.check(aa, A, I)(N) : (e.consume(N), y);
14992
14992
  }
14993
- function w(A) {
14993
+ function w(N) {
14994
14994
  const P = e.enter("chunkDocument", {
14995
14995
  contentType: "document",
14996
14996
  previous: s
14997
14997
  });
14998
- return s && (s.next = P), s = P, y(A);
14998
+ return s && (s.next = P), s = P, y(N);
14999
14999
  }
15000
- function k(A) {
15001
- return e.enter("directiveContainerContent"), g(A);
15000
+ function k(N) {
15001
+ return e.enter("directiveContainerContent"), g(N);
15002
15002
  }
15003
- function N(A) {
15004
- e.consume(A);
15003
+ function A(N) {
15004
+ e.consume(N);
15005
15005
  const P = e.exit("chunkDocument");
15006
15006
  return r.parser.lazy[P.start.line] = !1, g;
15007
15007
  }
15008
- function I(A) {
15008
+ function I(N) {
15009
15009
  const P = e.exit("chunkDocument");
15010
- return r.parser.lazy[P.start.line] = !1, T(A);
15010
+ return r.parser.lazy[P.start.line] = !1, T(N);
15011
15011
  }
15012
- function T(A) {
15013
- return e.exit("directiveContainerContent"), O(A);
15012
+ function T(N) {
15013
+ return e.exit("directiveContainerContent"), O(N);
15014
15014
  }
15015
- function O(A) {
15016
- return e.exit("directiveContainer"), t(A);
15015
+ function O(N) {
15016
+ return e.exit("directiveContainer"), t(N);
15017
15017
  }
15018
- function _(A, P, D) {
15018
+ function _(N, P, D) {
15019
15019
  let B = 0;
15020
- return Oe(A, V, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
15020
+ return Oe(N, V, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
15021
15021
  function V(F) {
15022
- return A.enter("directiveContainerFence"), A.enter("directiveContainerSequence"), L(F);
15022
+ return N.enter("directiveContainerFence"), N.enter("directiveContainerSequence"), L(F);
15023
15023
  }
15024
15024
  function L(F) {
15025
- return F === 58 ? (A.consume(F), B++, L) : B < i ? D(F) : (A.exit("directiveContainerSequence"), Oe(A, E, "whitespace")(F));
15025
+ return F === 58 ? (N.consume(F), B++, L) : B < i ? D(F) : (N.exit("directiveContainerSequence"), Oe(N, E, "whitespace")(F));
15026
15026
  }
15027
15027
  function E(F) {
15028
- return F === null || ce(F) ? (A.exit("directiveContainerFence"), P(F)) : D(F);
15028
+ return F === null || ce(F) ? (N.exit("directiveContainerFence"), P(F)) : D(F);
15029
15029
  }
15030
15030
  }
15031
15031
  }
@@ -15213,7 +15213,7 @@ const dx = {
15213
15213
  initialStepIndex: n = 0,
15214
15214
  onClose: r
15215
15215
  }) => {
15216
- const l = hr(), a = Array.isArray(e.platforms) ? e.platforms : [], i = a.length, [s, o] = J(t), [u, c] = J(n), d = Math.min(Math.max(s, 0), Math.max(i - 1, 0)), f = a[d], h = Array.isArray(f?.images) ? f.images : [], m = Array.isArray(f?.stepDescriptions) ? f.stepDescriptions : [], g = Math.min(h.length, m.length), b = Math.min(Math.max(u, 0), Math.max(g - 1, 0)), y = h[b], w = m[b] || "", k = (e.description || "").trim(), N = (e.disclaimer || "").trim(), I = i > 1;
15216
+ const l = hr(), a = Array.isArray(e.platforms) ? e.platforms : [], i = a.length, [s, o] = J(t), [u, c] = J(n), d = Math.min(Math.max(s, 0), Math.max(i - 1, 0)), f = a[d], h = Array.isArray(f?.images) ? f.images : [], m = Array.isArray(f?.stepDescriptions) ? f.stepDescriptions : [], g = Math.min(h.length, m.length), b = Math.min(Math.max(u, 0), Math.max(g - 1, 0)), y = h[b], w = m[b] || "", k = (e.description || "").trim(), A = (e.disclaimer || "").trim(), I = i > 1;
15217
15217
  be(() => {
15218
15218
  const O = (_) => {
15219
15219
  _.key === "Escape" ? r() : _.key === "ArrowLeft" && b > 0 ? c(b - 1) : _.key === "ArrowRight" && b < g - 1 && c(b + 1);
@@ -15315,7 +15315,7 @@ const dx = {
15315
15315
  )) }) : null
15316
15316
  ] }),
15317
15317
  w ? /* @__PURE__ */ v("div", { className: "rte-steps-preview-step-text", children: Qc(w) }) : null,
15318
- N ? /* @__PURE__ */ q("div", { className: "rte-steps-preview-warning", children: [
15318
+ A ? /* @__PURE__ */ q("div", { className: "rte-steps-preview-warning", children: [
15319
15319
  /* @__PURE__ */ v(
15320
15320
  "i",
15321
15321
  {
@@ -15323,7 +15323,7 @@ const dx = {
15323
15323
  "aria-hidden": "true"
15324
15324
  }
15325
15325
  ),
15326
- /* @__PURE__ */ v("span", { children: N })
15326
+ /* @__PURE__ */ v("span", { children: A })
15327
15327
  ] }) : null
15328
15328
  ] })
15329
15329
  ] })
@@ -15410,33 +15410,33 @@ const dx = {
15410
15410
  () => i.includes(`
15411
15411
  `)
15412
15412
  ), w = e.allowNewline !== !1, k = z(
15413
- (A) => {
15413
+ (N) => {
15414
15414
  if (!e.key) return;
15415
- const P = A.target.value, D = w ? P : P.replace(/\n+/g, " ");
15415
+ const P = N.target.value, D = w ? P : P.replace(/\n+/g, " ");
15416
15416
  n(e.key, D);
15417
15417
  },
15418
15418
  [e.key, n, w]
15419
- ), N = z(
15420
- (A) => {
15421
- w || A.nativeEvent.isComposing || A.keyCode === 229 || A.key === "Enter" && A.preventDefault();
15419
+ ), A = z(
15420
+ (N) => {
15421
+ w || N.nativeEvent.isComposing || N.keyCode === 229 || N.key === "Enter" && N.preventDefault();
15422
15422
  },
15423
15423
  [w]
15424
15424
  ), I = z(
15425
- (A) => {
15425
+ (N) => {
15426
15426
  const P = m.current;
15427
15427
  if (!P) return;
15428
15428
  const D = window.getComputedStyle(P), B = Number.parseFloat(D.lineHeight) || 22, V = Number.parseFloat(D.paddingTop) || 0, L = Number.parseFloat(D.paddingBottom) || 0, E = B + V + L, F = P.offsetHeight > E + 1, Y = i.includes(`
15429
15429
  `) || F;
15430
- A ? Y && y((W) => W || !0) : y((W) => W === Y ? W : Y);
15430
+ N ? Y && y((W) => W || !0) : y((W) => W === Y ? W : Y);
15431
15431
  },
15432
15432
  [i]
15433
15433
  );
15434
15434
  We(() => {
15435
15435
  g.current !== i ? (g.current = i, I(!1)) : I(!0);
15436
15436
  }, [I, i, s]), be(() => {
15437
- const A = h.current;
15438
- if (!A || typeof ResizeObserver > "u") return;
15439
- const P = A.closest(".rte-editor");
15437
+ const N = h.current;
15438
+ if (!N || typeof ResizeObserver > "u") return;
15439
+ const P = N.closest(".rte-editor");
15440
15440
  if (!P) return;
15441
15441
  const D = new ResizeObserver(() => I(!0));
15442
15442
  return D.observe(P), () => D.disconnect();
@@ -15463,7 +15463,7 @@ const dx = {
15463
15463
  rows: 1,
15464
15464
  value: i,
15465
15465
  onChange: k,
15466
- onKeyDown: N,
15466
+ onKeyDown: A,
15467
15467
  disabled: r,
15468
15468
  placeholder: s,
15469
15469
  "aria-invalid": !!l
@@ -15509,12 +15509,12 @@ const dp = ye.memo(
15509
15509
  const P = b.indexOf(".");
15510
15510
  b.length - P - 1 > 2 && (b = b.slice(0, P + 3));
15511
15511
  }
15512
- const w = b.indexOf("."), k = w !== -1 ? b.length - w - 1 : 0, N = b.endsWith(".") || w !== -1 && k === 1;
15512
+ const w = b.indexOf("."), k = w !== -1 ? b.length - w - 1 : 0, A = b.endsWith(".") || w !== -1 && k === 1;
15513
15513
  if (b === "") {
15514
15514
  n(e.key, "");
15515
15515
  return;
15516
15516
  }
15517
- if (N) {
15517
+ if (A) {
15518
15518
  n(e.key, b);
15519
15519
  return;
15520
15520
  }
@@ -15528,8 +15528,8 @@ const dp = ye.memo(
15528
15528
  n(e.key, "");
15529
15529
  return;
15530
15530
  }
15531
- const _ = Math.min(Math.max(I, T), O), A = k > 0 ? _.toFixed(k) : String(_);
15532
- n(e.key, A);
15531
+ const _ = Math.min(Math.max(I, T), O), N = k > 0 ? _.toFixed(k) : String(_);
15532
+ n(e.key, N);
15533
15533
  },
15534
15534
  [e.key, e.min, e.max, n]
15535
15535
  ), o = z(
@@ -15641,7 +15641,7 @@ const $o = {
15641
15641
  }, [i, e.options, e.placeholder]), [o, u] = J(64), c = te(null), d = z(() => {
15642
15642
  const f = c.current;
15643
15643
  if (!f) return;
15644
- const h = f.querySelector(".ant-select-selection-item"), m = f.querySelector(".ant-select-selection-placeholder"), g = h || m, b = (g?.textContent || "").trim() || s, y = f.querySelector(".ant-select-selector"), w = g || y || f, k = window.getComputedStyle(w), N = g ? k.fontSize : "16px", I = k.fontFamily || "sans-serif", T = k.fontWeight || "400", _ = `${k.fontStyle || "normal"} ${T} ${N} ${I}`, P = document.createElement("canvas").getContext("2d"), D = P ? Math.ceil((P.font = _, P.measureText(b).width || 0)) : 0;
15644
+ const h = f.querySelector(".ant-select-selection-item"), m = f.querySelector(".ant-select-selection-placeholder"), g = h || m, b = (g?.textContent || "").trim() || s, y = f.querySelector(".ant-select-selector"), w = g || y || f, k = window.getComputedStyle(w), A = g ? k.fontSize : "16px", I = k.fontFamily || "sans-serif", T = k.fontWeight || "400", _ = `${k.fontStyle || "normal"} ${T} ${A} ${I}`, P = document.createElement("canvas").getContext("2d"), D = P ? Math.ceil((P.font = _, P.measureText(b).width || 0)) : 0;
15645
15645
  let B = 0;
15646
15646
  if (y) {
15647
15647
  const W = window.getComputedStyle(y);
@@ -15714,12 +15714,12 @@ const hp = ye.memo(
15714
15714
  [e.options]
15715
15715
  ), s = t ?? e.defaultValue, o = Ve(() => s ? i.some((_) => String(_.value) === String(s)) ? null : String(s) : null, [s, i]), u = Ve(() => {
15716
15716
  const _ = [...i];
15717
- return o && !i.some((A) => String(A.value) === o) && _.unshift({ label: o, value: o }), _;
15717
+ return o && !i.some((N) => String(N.value) === o) && _.unshift({ label: o, value: o }), _;
15718
15718
  }, [i, o]), [c, d] = J(""), [f, h] = J(80), m = te(null), g = Ve(() => {
15719
15719
  const _ = c.trim();
15720
15720
  if (!_) return u;
15721
- const A = _.toLowerCase(), P = u.filter(
15722
- (B) => B.label.toLowerCase().includes(A) || String(B.value).toLowerCase().includes(A)
15721
+ const N = _.toLowerCase(), P = u.filter(
15722
+ (B) => B.label.toLowerCase().includes(N) || String(B.value).toLowerCase().includes(N)
15723
15723
  );
15724
15724
  return u.some(
15725
15725
  (B) => B.label === _ || String(B.value) === _
@@ -15733,19 +15733,19 @@ const hp = ye.memo(
15733
15733
  (_) => {
15734
15734
  if (_.key === "Enter" && c.trim()) {
15735
15735
  _.preventDefault(), _.stopPropagation();
15736
- const A = c.trim(), P = i.find(
15737
- (D) => D.label === A || String(D.value) === A
15736
+ const N = c.trim(), P = i.find(
15737
+ (D) => D.label === N || String(D.value) === N
15738
15738
  );
15739
- d(""), n(e.key, P ? String(P.value) : A);
15739
+ d(""), n(e.key, P ? String(P.value) : N);
15740
15740
  }
15741
15741
  },
15742
15742
  [c, i, e.key, n]
15743
15743
  ), k = z(() => {
15744
15744
  d(""), n(e.key, "");
15745
- }, [e.key, n]), N = z(() => {
15745
+ }, [e.key, n]), A = z(() => {
15746
15746
  if (s != null && s !== "") {
15747
15747
  const _ = u.find(
15748
- (A) => String(A.value) === String(s)
15748
+ (N) => String(N.value) === String(s)
15749
15749
  );
15750
15750
  return _ ? typeof _.label == "string" ? _.label : String(_.label ?? s) : String(s);
15751
15751
  }
@@ -15753,7 +15753,7 @@ const hp = ye.memo(
15753
15753
  }, [s, u, a]), I = z(() => {
15754
15754
  const _ = m.current;
15755
15755
  if (!_) return;
15756
- const A = _.querySelector(".ant-select-selection-item"), P = _.querySelector(".ant-select-selection-placeholder"), D = A || P, B = (D?.textContent || "").trim() || N(), V = _.querySelector(".ant-select-selector"), L = D || V || _, E = window.getComputedStyle(L), F = D ? E.fontSize : "16px", Y = E.fontFamily || "sans-serif", W = E.fontWeight || "400", C = `${E.fontStyle || "normal"} ${W} ${F} ${Y}`, re = document.createElement("canvas").getContext("2d"), R = re ? Math.ceil((re.font = C, re.measureText(B).width || 0)) : 0;
15756
+ const N = _.querySelector(".ant-select-selection-item"), P = _.querySelector(".ant-select-selection-placeholder"), D = N || P, B = (D?.textContent || "").trim() || A(), V = _.querySelector(".ant-select-selector"), L = D || V || _, E = window.getComputedStyle(L), F = D ? E.fontSize : "16px", Y = E.fontFamily || "sans-serif", W = E.fontWeight || "400", C = `${E.fontStyle || "normal"} ${W} ${F} ${Y}`, re = document.createElement("canvas").getContext("2d"), R = re ? Math.ceil((re.font = C, re.measureText(B).width || 0)) : 0;
15757
15757
  let pe = 0;
15758
15758
  if (V) {
15759
15759
  const we = window.getComputedStyle(V);
@@ -15767,18 +15767,18 @@ const hp = ye.memo(
15767
15767
  }
15768
15768
  const De = Math.min(240, Math.max(80, R + pe + Ne + ke + 4));
15769
15769
  h((we) => we === De ? we : De);
15770
- }, [N]);
15770
+ }, [A]);
15771
15771
  We(() => {
15772
- const _ = window.requestAnimationFrame(() => I()), A = window.setTimeout(() => I(), 60);
15772
+ const _ = window.requestAnimationFrame(() => I()), N = window.setTimeout(() => I(), 60);
15773
15773
  return () => {
15774
- window.cancelAnimationFrame(_), window.clearTimeout(A);
15774
+ window.cancelAnimationFrame(_), window.clearTimeout(N);
15775
15775
  };
15776
15776
  }, [I]), be(() => {
15777
15777
  if (!("fonts" in document)) return;
15778
15778
  let _ = !1;
15779
- const A = document.fonts;
15780
- if (A?.ready)
15781
- return A.ready.then(() => {
15779
+ const N = document.fonts;
15780
+ if (N?.ready)
15781
+ return N.ready.then(() => {
15782
15782
  _ || I();
15783
15783
  }), () => {
15784
15784
  _ = !0;
@@ -15951,7 +15951,7 @@ function mp() {
15951
15951
  } }, k = function(L, E, F) {
15952
15952
  var Y = String(L);
15953
15953
  return !Y || Y.length >= E ? L : "" + Array(E + 1 - Y.length).join(F) + L;
15954
- }, N = { s: k, z: function(L) {
15954
+ }, A = { s: k, z: function(L) {
15955
15955
  var E = -L.utcOffset(), F = Math.abs(E), Y = Math.floor(F / 60), W = F % 60;
15956
15956
  return (E <= 0 ? "+" : "-") + k(Y, 2, "0") + ":" + k(W, 2, "0");
15957
15957
  }, m: function L(E, F) {
@@ -15968,7 +15968,7 @@ function mp() {
15968
15968
  T[I] = w;
15969
15969
  var O = "$isDayjsObject", _ = function(L) {
15970
15970
  return L instanceof B || !(!L || !L[O]);
15971
- }, A = function L(E, F, Y) {
15971
+ }, N = function L(E, F, Y) {
15972
15972
  var W;
15973
15973
  if (!E) return I;
15974
15974
  if (typeof E == "string") {
@@ -15985,13 +15985,13 @@ function mp() {
15985
15985
  if (_(L)) return L.clone();
15986
15986
  var F = typeof E == "object" ? E : {};
15987
15987
  return F.date = L, F.args = arguments, new B(F);
15988
- }, D = N;
15989
- D.l = A, D.i = _, D.w = function(L, E) {
15988
+ }, D = A;
15989
+ D.l = N, D.i = _, D.w = function(L, E) {
15990
15990
  return P(L, { locale: E.$L, utc: E.$u, x: E.$x, $offset: E.$offset });
15991
15991
  };
15992
15992
  var B = function() {
15993
15993
  function L(F) {
15994
- this.$L = A(F.locale, null, !0), this.parse(F), this.$x = this.$x || F.x || {}, this[O] = !0;
15994
+ this.$L = N(F.locale, null, !0), this.parse(F), this.$x = this.$x || F.x || {}, this[O] = !0;
15995
15995
  }
15996
15996
  var E = L.prototype;
15997
15997
  return E.parse = function(F) {
@@ -16191,7 +16191,7 @@ function mp() {
16191
16191
  return T[this.$L];
16192
16192
  }, E.locale = function(F, Y) {
16193
16193
  if (!F) return this.$L;
16194
- var W = this.clone(), Q = A(F, Y, !0);
16194
+ var W = this.clone(), Q = N(F, Y, !0);
16195
16195
  return Q && (W.$L = Q), W;
16196
16196
  }, E.clone = function() {
16197
16197
  return D.w(this.$d, this);
@@ -16211,7 +16211,7 @@ function mp() {
16211
16211
  };
16212
16212
  }), P.extend = function(L, E) {
16213
16213
  return L.$i || (L(E, B, P), L.$i = !0), P;
16214
- }, P.locale = A, P.isDayjs = _, P.unix = function(L) {
16214
+ }, P.locale = N, P.isDayjs = _, P.unix = function(L) {
16215
16215
  return P(1e3 * L);
16216
16216
  }, P.en = T[I], P.Ls = T, P.p = {}, P;
16217
16217
  });
@@ -22198,10 +22198,10 @@ const Rx = [
22198
22198
  return I.length ? I.join("-") : o.join("-");
22199
22199
  }
22200
22200
  return i;
22201
- }, [o, a, i]), N = z(() => {
22201
+ }, [o, a, i]), A = z(() => {
22202
22202
  const I = m.current;
22203
22203
  if (!I) return;
22204
- const T = k(), O = I.querySelector(".ant-select-selector"), _ = I.querySelector(".ant-select-selection-item") || I.querySelector(".ant-select-selection-placeholder"), A = _ || O || I, P = window.getComputedStyle(A), D = _ ? P.fontSize : "16px", B = P.fontFamily || "sans-serif", V = P.fontWeight || "400", E = `${P.fontStyle || "normal"} ${V} ${D} ${B}`, Y = document.createElement("canvas").getContext("2d"), W = Y ? Math.ceil((Y.font = E, Y.measureText(T).width || 0)) : 0;
22204
+ const T = k(), O = I.querySelector(".ant-select-selector"), _ = I.querySelector(".ant-select-selection-item") || I.querySelector(".ant-select-selection-placeholder"), N = _ || O || I, P = window.getComputedStyle(N), D = _ ? P.fontSize : "16px", B = P.fontFamily || "sans-serif", V = P.fontWeight || "400", E = `${P.fontStyle || "normal"} ${V} ${D} ${B}`, Y = document.createElement("canvas").getContext("2d"), W = Y ? Math.ceil((Y.font = E, Y.measureText(T).width || 0)) : 0;
22205
22205
  let Q = 0;
22206
22206
  if (O) {
22207
22207
  const re = window.getComputedStyle(O);
@@ -22211,21 +22211,21 @@ const Rx = [
22211
22211
  h((re) => re === oe ? re : oe);
22212
22212
  }, [k]);
22213
22213
  return We(() => {
22214
- const I = window.requestAnimationFrame(() => N()), T = window.setTimeout(() => N(), 60);
22214
+ const I = window.requestAnimationFrame(() => A()), T = window.setTimeout(() => A(), 60);
22215
22215
  return () => {
22216
22216
  window.cancelAnimationFrame(I), window.clearTimeout(T);
22217
22217
  };
22218
- }, [N]), be(() => {
22218
+ }, [A]), be(() => {
22219
22219
  if (!("fonts" in document)) return;
22220
22220
  let I = !1;
22221
22221
  const T = document.fonts;
22222
22222
  if (T?.ready)
22223
22223
  return T.ready.then(() => {
22224
- I || N();
22224
+ I || A();
22225
22225
  }), () => {
22226
22226
  I = !0;
22227
22227
  };
22228
- }, [N]), /* @__PURE__ */ v(Fn, { node: e, children: /* @__PURE__ */ v(
22228
+ }, [A]), /* @__PURE__ */ v(Fn, { node: e, children: /* @__PURE__ */ v(
22229
22229
  "span",
22230
22230
  {
22231
22231
  ref: m,
@@ -22342,8 +22342,8 @@ const qo = (e) => {
22342
22342
  const T = ++g.current;
22343
22343
  c(!0), n({ nodeKey: e, nodeType: t }).then((O) => {
22344
22344
  if (T !== g.current) return;
22345
- const _ = i ? O.tabs.filter((D) => D.key !== "currentConversationReports") : O.tabs, A = { ...O, tabs: _ };
22346
- f(A);
22345
+ const _ = i ? O.tabs.filter((D) => D.key !== "currentConversationReports") : O.tabs, N = { ...O, tabs: _ };
22346
+ f(N);
22347
22347
  const P = _.find((D) => D.items.length > 0);
22348
22348
  m(P?.key ?? _[0]?.key ?? "");
22349
22349
  }).catch(() => {
@@ -22361,7 +22361,7 @@ const qo = (e) => {
22361
22361
  const T = d.tabs.find((O) => y(O.items).length > 0);
22362
22362
  T && m((O) => O === T.key ? O : T.key);
22363
22363
  }, [o, s, d, y]);
22364
- const w = d?.tabs.find((T) => T.key === h), k = w ? y(w.items) : [], N = z((T) => {
22364
+ const w = d?.tabs.find((T) => T.key === h), k = w ? y(w.items) : [], A = z((T) => {
22365
22365
  const O = T.currentTarget;
22366
22366
  O.classList.add("is-scrolling"), b.current && window.clearTimeout(b.current), b.current = window.setTimeout(() => {
22367
22367
  O.classList.remove("is-scrolling"), b.current = null;
@@ -22382,7 +22382,7 @@ const qo = (e) => {
22382
22382
  },
22383
22383
  T.key
22384
22384
  )) }) }),
22385
- /* @__PURE__ */ v("div", { className: "rte-report-dropdown-list", onScroll: N, children: !w || k.length === 0 ? /* @__PURE__ */ q("div", { className: "rte-report-dropdown-empty", children: [
22385
+ /* @__PURE__ */ v("div", { className: "rte-report-dropdown-list", onScroll: A, children: !w || k.length === 0 ? /* @__PURE__ */ q("div", { className: "rte-report-dropdown-empty", children: [
22386
22386
  /* @__PURE__ */ v(
22387
22387
  "img",
22388
22388
  {
@@ -22445,17 +22445,17 @@ const qo = (e) => {
22445
22445
  quiet: u,
22446
22446
  openSignal: c
22447
22447
  }) => {
22448
- const d = hr(), [f, h] = J(!1), m = te(null), g = te({}).current, [b, y] = J("bottomLeft"), [w, k] = J(0), N = z(() => {
22449
- const A = e.current, P = m.current;
22450
- if (!A || !P) return;
22451
- const D = A.getBoundingClientRect(), B = P.getBoundingClientRect();
22448
+ const d = hr(), [f, h] = J(!1), m = te(null), g = te({}).current, [b, y] = J("bottomLeft"), [w, k] = J(0), A = z(() => {
22449
+ const N = e.current, P = m.current;
22450
+ if (!N || !P) return;
22451
+ const D = N.getBoundingClientRect(), B = P.getBoundingClientRect();
22452
22452
  k(D.left - B.left);
22453
22453
  const V = 236, L = window.innerHeight - D.bottom;
22454
22454
  y(L < V ? "topLeft" : "bottomLeft");
22455
22455
  }, [e]);
22456
22456
  We(() => {
22457
- f && N();
22458
- }, [f, N]);
22457
+ f && A();
22458
+ }, [f, A]);
22459
22459
  const I = Ve(
22460
22460
  () => ({
22461
22461
  offset: [w, b === "bottomLeft" ? 4 : -4],
@@ -22470,28 +22470,28 @@ const qo = (e) => {
22470
22470
  be(() => {
22471
22471
  c !== void 0 && T();
22472
22472
  }, [c, T]), be(() => {
22473
- const A = (P) => {
22473
+ const N = (P) => {
22474
22474
  P.detail !== g && h(!1);
22475
22475
  };
22476
- return document.addEventListener("rte-report-dropdown-opening", A), () => document.removeEventListener("rte-report-dropdown-opening", A);
22476
+ return document.addEventListener("rte-report-dropdown-opening", N), () => document.removeEventListener("rte-report-dropdown-opening", N);
22477
22477
  }, [g]), be(() => {
22478
22478
  if (!f) return;
22479
- const A = (P) => {
22479
+ const N = (P) => {
22480
22480
  const D = e.current, B = P.target;
22481
22481
  D?.contains(B) || document.querySelector(".rte-report-dropdown-overlay")?.contains(B) || h(!1);
22482
22482
  };
22483
- return document.addEventListener("mousedown", A), () => document.removeEventListener("mousedown", A);
22483
+ return document.addEventListener("mousedown", N), () => document.removeEventListener("mousedown", N);
22484
22484
  }, [f, e]);
22485
22485
  const O = z(
22486
- (A) => {
22487
- h(!1), l(A);
22486
+ (N) => {
22487
+ h(!1), l(N);
22488
22488
  },
22489
22489
  [l]
22490
22490
  );
22491
22491
  return /* @__PURE__ */ v(
22492
22492
  wa,
22493
22493
  {
22494
- content: f ? /* @__PURE__ */ v("div", { className: "rte-report-dropdown-panel", onClick: (A) => A.stopPropagation(), children: /* @__PURE__ */ v(
22494
+ content: f ? /* @__PURE__ */ v(
22495
22495
  Bx,
22496
22496
  {
22497
22497
  nodeKey: t,
@@ -22504,7 +22504,7 @@ const qo = (e) => {
22504
22504
  preciseMatchKey: o,
22505
22505
  open: f
22506
22506
  }
22507
- ) }) : null,
22507
+ ) : null,
22508
22508
  trigger: [],
22509
22509
  open: f,
22510
22510
  placement: b,
@@ -22524,8 +22524,8 @@ const qo = (e) => {
22524
22524
  "data-key": t,
22525
22525
  "data-node-type": n,
22526
22526
  contentEditable: !1,
22527
- onClick: (A) => {
22528
- A.stopPropagation(), f ? h(!1) : T();
22527
+ onClick: (N) => {
22528
+ N.stopPropagation(), f ? h(!1) : T();
22529
22529
  },
22530
22530
  children: /* @__PURE__ */ v(
22531
22531
  "i",
@@ -22566,17 +22566,17 @@ const qo = (e) => {
22566
22566
  onShiftReportNames: f
22567
22567
  }) => {
22568
22568
  const h = e.maxCount ?? 9, m = e.minCount ?? 1, g = Hx(e.tooltip), b = !1, y = !!g, w = Ve(() => t ?? [], [t]), k = Ve(() => {
22569
- const T = w.filter((A) => A && A.trim().length > 0), O = Math.max(m, Math.min(T.length + 1, h)), _ = Math.min(Math.max(w.length, O), h);
22570
- return Array.from({ length: _ }, (A, P) => w[P] ?? "");
22571
- }, [w, m, h]), N = z(
22569
+ const T = w.filter((N) => N && N.trim().length > 0), O = Math.max(m, Math.min(T.length + 1, h)), _ = Math.min(Math.max(w.length, O), h);
22570
+ return Array.from({ length: _ }, (N, P) => w[P] ?? "");
22571
+ }, [w, m, h]), A = z(
22572
22572
  (T, O) => {
22573
22573
  const _ = [...k];
22574
22574
  if (_[T] = O, O.trim() === "") {
22575
- const A = _.reduce(
22575
+ const N = _.reduce(
22576
22576
  (P, D, B) => D && D.trim() ? B : P,
22577
22577
  -1
22578
22578
  );
22579
- T < A && _.splice(T, 1), _.length = A + 1, f?.(e.key, T);
22579
+ T < N && _.splice(T, 1), _.length = N + 1, f?.(e.key, T);
22580
22580
  }
22581
22581
  n(e.key, _);
22582
22582
  },
@@ -22590,9 +22590,9 @@ const qo = (e) => {
22590
22590
  );
22591
22591
  return z(
22592
22592
  (T) => {
22593
- N(T, "");
22593
+ A(T, "");
22594
22594
  },
22595
- [N]
22595
+ [A]
22596
22596
  ), /* @__PURE__ */ v(Fn, { node: e, children: /* @__PURE__ */ v("span", { className: `rte-multi-variable ${l ? "rte-multi-variable-error" : ""}`, children: k.map((T, O) => (`${e.key}${O}`, /* @__PURE__ */ v(
22597
22597
  Ep,
22598
22598
  {
@@ -22602,7 +22602,7 @@ const qo = (e) => {
22602
22602
  placeholder: e.placeholder,
22603
22603
  disabled: r,
22604
22604
  tooltip: g,
22605
- onUpdate: (_) => N(O, _),
22605
+ onUpdate: (_) => A(O, _),
22606
22606
  showDropdown: b,
22607
22607
  showInfoIcon: y,
22608
22608
  reportListFetch: a,
@@ -22640,7 +22640,7 @@ const Ep = ({
22640
22640
  onResolveName: b,
22641
22641
  onClearName: y
22642
22642
  }) => {
22643
- const w = te(null), k = `${e}_${t}`, N = !!g, I = !(n || "").trim(), T = o && I, O = s || T || N, _ = te(""), A = z(
22643
+ const w = te(null), k = `${e}_${t}`, A = !!g, I = !(n || "").trim(), T = o && I, O = s || T || A, _ = te(""), N = z(
22644
22644
  async (Q) => {
22645
22645
  if (!b) return;
22646
22646
  const C = (Q || "").trim();
@@ -22648,14 +22648,14 @@ const Ep = ({
22648
22648
  },
22649
22649
  [b]
22650
22650
  ), P = z(() => {
22651
- A(n);
22652
- }, [A, n]), D = z(
22651
+ N(n);
22652
+ }, [N, n]), D = z(
22653
22653
  (Q) => {
22654
22654
  if (!b) return;
22655
22655
  const C = Q.clipboardData.getData("text/plain");
22656
- /^https?:\/\//i.test(C.trim()) && (Q.preventDefault(), i(C), document.dispatchEvent(new CustomEvent("rte-report-dropdown-opening", { detail: null })), A(C));
22656
+ /^https?:\/\//i.test(C.trim()) && (Q.preventDefault(), i(C), document.dispatchEvent(new CustomEvent("rte-report-dropdown-opening", { detail: null })), N(C));
22657
22657
  },
22658
- [b, i, A]
22658
+ [b, i, N]
22659
22659
  );
22660
22660
  We(() => {
22661
22661
  (n || "").trim() || (_.current = "");
@@ -22670,7 +22670,7 @@ const Ep = ({
22670
22670
  }, [V, F]);
22671
22671
  const Y = L > 0 ? Math.max(40, L + 2) : 40, W = [
22672
22672
  "variable-chip",
22673
- N ? "rte-report-name-chip" : "",
22673
+ A ? "rte-report-name-chip" : "",
22674
22674
  O ? "rte-variable-with-icon" : ""
22675
22675
  ].filter(Boolean).join(" ");
22676
22676
  return /* @__PURE__ */ q(
@@ -22682,9 +22682,9 @@ const Ep = ({
22682
22682
  "data-key": k,
22683
22683
  "data-multi-key": e,
22684
22684
  "data-index": t,
22685
- "data-report-url": N ? n || !0 : void 0,
22685
+ "data-report-url": A ? n || !0 : void 0,
22686
22686
  "data-report-name": g || void 0,
22687
- ...a && !N && I ? { "data-tooltip": a, "data-variable-key": e } : {},
22687
+ ...a && !A && I ? { "data-tooltip": a, "data-variable-key": e } : {},
22688
22688
  children: [
22689
22689
  /* @__PURE__ */ v(
22690
22690
  "span",
@@ -22703,7 +22703,7 @@ const Ep = ({
22703
22703
  children: V
22704
22704
  }
22705
22705
  ),
22706
- N ? /* @__PURE__ */ q(it, { children: [
22706
+ A ? /* @__PURE__ */ q(it, { children: [
22707
22707
  /* @__PURE__ */ v(
22708
22708
  "span",
22709
22709
  {
@@ -22764,7 +22764,7 @@ const Ep = ({
22764
22764
  }
22765
22765
  }
22766
22766
  ),
22767
- !N && s && u && /* @__PURE__ */ v(
22767
+ !A && s && u && /* @__PURE__ */ v(
22768
22768
  td,
22769
22769
  {
22770
22770
  chipRef: w,
@@ -22777,7 +22777,7 @@ const Ep = ({
22777
22777
  hideCurrentSessionReport: f
22778
22778
  }
22779
22779
  ),
22780
- !N && T && /* @__PURE__ */ v(
22780
+ !A && T && /* @__PURE__ */ v(
22781
22781
  Vr,
22782
22782
  {
22783
22783
  tooltip: a,
@@ -22806,18 +22806,18 @@ const Ep = ({
22806
22806
  onAnalyzeReport: h
22807
22807
  }) => {
22808
22808
  const m = e.maxCount ?? 9, g = e.minCount ?? 1, b = Ux(e.tooltip), y = !!a && !!b, w = !y && !!b, k = Ve(() => {
22809
- const _ = t ?? [], A = _.reduce(
22809
+ const _ = t ?? [], N = _.reduce(
22810
22810
  (P, D, B) => D && D.trim() ? B : P,
22811
22811
  -1
22812
22812
  );
22813
- return _.slice(0, A + 1);
22814
- }, [t]), N = Ve(() => {
22815
- const _ = k.filter((D) => D && D.trim().length > 0), A = Math.max(g, Math.min(_.length + 1, m)), P = Math.min(Math.max(k.length, A), m);
22813
+ return _.slice(0, N + 1);
22814
+ }, [t]), A = Ve(() => {
22815
+ const _ = k.filter((D) => D && D.trim().length > 0), N = Math.max(g, Math.min(_.length + 1, m)), P = Math.min(Math.max(k.length, N), m);
22816
22816
  return Array.from({ length: P }, (D, B) => k[B] ?? "");
22817
22817
  }, [k, g, m]), I = z(
22818
- (_, A) => {
22819
- const P = [...N];
22820
- if (P[_] = A, A.trim() === "") {
22818
+ (_, N) => {
22819
+ const P = [...A];
22820
+ if (P[_] = N, N.trim() === "") {
22821
22821
  const D = P.reduce(
22822
22822
  (B, V, L) => V && V.trim() ? L : B,
22823
22823
  -1
@@ -22826,13 +22826,13 @@ const Ep = ({
22826
22826
  }
22827
22827
  n(e.key, P);
22828
22828
  },
22829
- [N, e.key, n, f]
22829
+ [A, e.key, n, f]
22830
22830
  ), T = z(
22831
- (_, A) => {
22832
- const P = [...N];
22833
- P[_] = A.url, n(e.key, P), h?.(`${e.key}_${_}`, A.url), c && /^https?:\/\//i.test(A.url) && c(`${e.key}_${_}`, A.url, "multi-variable-select");
22831
+ (_, N) => {
22832
+ const P = [...A];
22833
+ P[_] = N.url, n(e.key, P), h?.(`${e.key}_${_}`, N.url), c && /^https?:\/\//i.test(N.url) && c(`${e.key}_${_}`, N.url, "multi-variable-select");
22834
22834
  },
22835
- [N, e.key, n, h, c]
22835
+ [A, e.key, n, h, c]
22836
22836
  ), O = z(
22837
22837
  (_) => {
22838
22838
  I(_, "");
@@ -22843,31 +22843,31 @@ const Ep = ({
22843
22843
  "span",
22844
22844
  {
22845
22845
  className: `rte-multi-variable-select ${l ? "rte-multi-variable-select-error" : ""}`,
22846
- children: N.map((_, A) => {
22847
- const P = `${e.key}_${A}`;
22846
+ children: A.map((_, N) => {
22847
+ const P = `${e.key}_${N}`;
22848
22848
  return /* @__PURE__ */ v(
22849
22849
  Ep,
22850
22850
  {
22851
22851
  nodeKey: e.key,
22852
- idx: A,
22852
+ idx: N,
22853
22853
  row: _,
22854
22854
  placeholder: e.placeholder,
22855
22855
  disabled: r,
22856
22856
  tooltip: b,
22857
- onUpdate: (D) => I(A, D),
22857
+ onUpdate: (D) => I(N, D),
22858
22858
  showDropdown: y,
22859
22859
  showInfoIcon: w,
22860
22860
  reportListFetch: a,
22861
22861
  onReportGoGenerate: i,
22862
22862
  onViewReport: s,
22863
22863
  hideCurrentSessionReport: o,
22864
- onSelectReport: (D) => T(A, D),
22864
+ onSelectReport: (D) => T(N, D),
22865
22865
  nodeType: "multi-variable-select",
22866
22866
  reportName: u?.[P],
22867
22867
  onResolveName: c ? (D) => c(P, D, "multi-variable-select") : void 0,
22868
- onClearName: d ? () => O(A) : void 0
22868
+ onClearName: d ? () => O(N) : void 0
22869
22869
  },
22870
- A
22870
+ N
22871
22871
  );
22872
22872
  })
22873
22873
  }
@@ -22899,7 +22899,7 @@ const zx = /\.(png|jpe?g|gif|webp|bmp|svg)(\?.*)?$/i, Vx = (e) => zx.test(e), $x
22899
22899
  onReplace: c,
22900
22900
  onRemove: d
22901
22901
  }) => {
22902
- const f = te(null), h = te(null), m = hr(), [g, b] = J(!1), y = t != null, w = Cp(t), [k, N] = J(!1), I = z(() => {
22902
+ const f = te(null), h = te(null), m = hr(), [g, b] = J(!1), y = t != null, w = Cp(t), [k, A] = J(!1), I = z(() => {
22903
22903
  a || f.current?.click();
22904
22904
  }, [a]), T = z(
22905
22905
  (W) => {
@@ -22915,7 +22915,7 @@ const zx = /\.(png|jpe?g|gif|webp|bmp|svg)(\?.*)?$/i, Vx = (e) => zx.test(e), $x
22915
22915
  Q && Q.length > 0 && c(e, Q), W.target.value = "";
22916
22916
  },
22917
22917
  [c, e]
22918
- ), A = z(() => {
22918
+ ), N = z(() => {
22919
22919
  a || b(!0);
22920
22920
  }, [a]), P = z(
22921
22921
  (W) => {
@@ -22936,8 +22936,8 @@ const zx = /\.(png|jpe?g|gif|webp|bmp|svg)(\?.*)?$/i, Vx = (e) => zx.test(e), $x
22936
22936
  className: `iconfont icon-tishi upload-info-icon${y ? " hidden" : ""}`,
22937
22937
  "data-upload-key": e,
22938
22938
  "data-tooltip": l,
22939
- onMouseEnter: () => N(!0),
22940
- onMouseLeave: () => N(!1),
22939
+ onMouseEnter: () => A(!0),
22940
+ onMouseLeave: () => A(!1),
22941
22941
  onClick: (W) => {
22942
22942
  W.stopPropagation(), W.preventDefault();
22943
22943
  }
@@ -22963,7 +22963,7 @@ const zx = /\.(png|jpe?g|gif|webp|bmp|svg)(\?.*)?$/i, Vx = (e) => zx.test(e), $x
22963
22963
  "data-key": e,
22964
22964
  "data-group": o,
22965
22965
  "data-tooltip": l || void 0,
22966
- onClick: A,
22966
+ onClick: N,
22967
22967
  children: [
22968
22968
  F,
22969
22969
  /* @__PURE__ */ v(
@@ -23140,7 +23140,7 @@ const Gx = (e = Date.now()) => e - nd < jx ? !1 : (nd = e, !0), Kx = 32, Qx = (e
23140
23140
  E != null ? D.push({ key: L, file: E }) : B.push(L);
23141
23141
  }
23142
23142
  return { filledEntries: D, emptyKeys: B };
23143
- }, [t, i, e.key, e.maxCount]), N = w.length;
23143
+ }, [t, i, e.key, e.maxCount]), A = w.length;
23144
23144
  if (!i) {
23145
23145
  const P = e.key, D = t[P] ?? null, B = D != null, V = (e.text || "").trim(), L = B && e.showHint === !0 && V.length >= Zx, E = /* @__PURE__ */ v(
23146
23146
  xa,
@@ -23186,7 +23186,7 @@ const Gx = (e = Date.now()) => e - nd < jx ? !1 : (nd = e, !0), Kx = 32, Qx = (e
23186
23186
  }
23187
23187
  const I = e.minCount ?? 1, T = e.maxCount ?? 0, O = Math.min(
23188
23188
  T,
23189
- Math.max(I, N + (N < T ? 1 : 0))
23189
+ Math.max(I, A + (A < T ? 1 : 0))
23190
23190
  ), _ = [];
23191
23191
  for (const { key: P, file: D } of w)
23192
23192
  _.push(
@@ -23209,8 +23209,8 @@ const Gx = (e = Date.now()) => e - nd < jx ? !1 : (nd = e, !0), Kx = 32, Qx = (e
23209
23209
  P
23210
23210
  )
23211
23211
  );
23212
- const A = Math.max(0, O - N);
23213
- for (const P of k.slice(0, A))
23212
+ const N = Math.max(0, O - A);
23213
+ for (const P of k.slice(0, N))
23214
23214
  _.push(
23215
23215
  /* @__PURE__ */ v(
23216
23216
  xa,
@@ -23239,7 +23239,7 @@ const Gx = (e = Date.now()) => e - nd < jx ? !1 : (nd = e, !0), Kx = 32, Qx = (e
23239
23239
  children: [
23240
23240
  /* @__PURE__ */ v("span", { className: "rte-text-required", children: /* @__PURE__ */ v("i", { className: "iconfont icon-bitian", style: { fontSize: 10 } }) }),
23241
23241
  /* @__PURE__ */ v("span", { className: "rte-upload-batch-chips", ref: o, children: _ }),
23242
- d && c ? /* @__PURE__ */ v(er, { data: c, hidden: N > 0 }) : null
23242
+ d && c ? /* @__PURE__ */ v(er, { data: c, hidden: A > 0 }) : null
23243
23243
  ]
23244
23244
  }
23245
23245
  ) : /* @__PURE__ */ q(
@@ -23249,7 +23249,7 @@ const Gx = (e = Date.now()) => e - nd < jx ? !1 : (nd = e, !0), Kx = 32, Qx = (e
23249
23249
  ref: o,
23250
23250
  children: [
23251
23251
  _,
23252
- d && c ? /* @__PURE__ */ v(er, { data: c, hidden: N > 0 }) : null
23252
+ d && c ? /* @__PURE__ */ v(er, { data: c, hidden: A > 0 }) : null
23253
23253
  ]
23254
23254
  }
23255
23255
  );
@@ -23397,7 +23397,7 @@ const rd = 2 * Math.PI * 6.5, Sp = "data:image/svg+xml,%3Csvg xmlns='http://www.
23397
23397
  }) => {
23398
23398
  const [o, u] = J(
23399
23399
  "idle"
23400
- ), [c, d] = J(0), [f, h] = J(""), [m, g] = J(""), b = te(null), y = te(0), w = te(null), k = t || e.placeholder || "", [N, I] = J(0), T = z(() => {
23400
+ ), [c, d] = J(0), [f, h] = J(""), [m, g] = J(""), b = te(null), y = te(0), w = te(null), k = t || e.placeholder || "", [A, I] = J(0), T = z(() => {
23401
23401
  w.current && I(w.current.offsetWidth);
23402
23402
  }, []);
23403
23403
  We(() => {
@@ -23407,7 +23407,7 @@ const rd = 2 * Math.PI * 6.5, Sp = "data:image/svg+xml,%3Csvg xmlns='http://www.
23407
23407
  const oe = new ResizeObserver(() => T());
23408
23408
  return oe.observe(C), () => oe.disconnect();
23409
23409
  }, [k, T]);
23410
- const O = N > 0 ? Math.max(40, N + 2) : 40, _ = Vl(e.tooltip), A = !!_, P = A ? "" : lS(e.tooltip), D = !!(t || n), B = z(() => {
23410
+ const O = A > 0 ? Math.max(40, A + 2) : 40, _ = Vl(e.tooltip), N = !!_, P = N ? "" : lS(e.tooltip), D = !!(t || n), B = z(() => {
23411
23411
  b.current && (window.clearInterval(b.current), b.current = null);
23412
23412
  }, []), V = z(() => {
23413
23413
  B();
@@ -23462,7 +23462,7 @@ const rd = 2 * Math.PI * 6.5, Sp = "data:image/svg+xml,%3Csvg xmlns='http://www.
23462
23462
  },
23463
23463
  [e.key, r, l]
23464
23464
  ), W = (C) => {
23465
- const oe = A && _ ? /* @__PURE__ */ v(er, { data: _, hidden: D }) : null;
23465
+ const oe = N && _ ? /* @__PURE__ */ v(er, { data: _, hidden: D }) : null;
23466
23466
  return e.required ? /* @__PURE__ */ q(it, { children: [
23467
23467
  /* @__PURE__ */ q(
23468
23468
  "span",
@@ -23628,9 +23628,9 @@ const aS = (e) => e ? typeof e == "string" ? e : JSON.stringify(e) : "", iS = 10
23628
23628
  disabled: i,
23629
23629
  error: s
23630
23630
  }) => {
23631
- const o = te(null), [u, c] = J("idle"), [d, f] = J(0), [h, m] = J(""), [g, b] = J(""), [y, w] = J(""), k = Vl(e.tooltip), N = !!k, I = N ? "" : aS(e.tooltip), T = !!t && !!n, O = u === "loading", _ = z(() => {
23631
+ const o = te(null), [u, c] = J("idle"), [d, f] = J(0), [h, m] = J(""), [g, b] = J(""), [y, w] = J(""), k = Vl(e.tooltip), A = !!k, I = A ? "" : aS(e.tooltip), T = !!t && !!n, O = u === "loading", _ = z(() => {
23632
23632
  i || O || !a || o.current?.click();
23633
- }, [i, O, a]), A = z(
23633
+ }, [i, O, a]), N = z(
23634
23634
  async (B) => {
23635
23635
  const V = B.target.files?.[0];
23636
23636
  if (B.target.value = "", !V || !a) return;
@@ -23655,7 +23655,7 @@ const aS = (e) => e ? typeof e == "string" ? e : JSON.stringify(e) : "", iS = 10
23655
23655
  },
23656
23656
  [e.key, r, l]
23657
23657
  ), D = (B) => {
23658
- const V = N && k ? /* @__PURE__ */ v(er, { data: k, hidden: T }) : null;
23658
+ const V = A && k ? /* @__PURE__ */ v(er, { data: k, hidden: T }) : null;
23659
23659
  return e.required ? /* @__PURE__ */ q(it, { children: [
23660
23660
  /* @__PURE__ */ q(
23661
23661
  "span",
@@ -23720,7 +23720,7 @@ const aS = (e) => e ? typeof e == "string" ? e : JSON.stringify(e) : "", iS = 10
23720
23720
  type: "file",
23721
23721
  accept: "video/*",
23722
23722
  style: { display: "none" },
23723
- onChange: A
23723
+ onChange: N
23724
23724
  }
23725
23725
  )
23726
23726
  ]
@@ -23785,7 +23785,7 @@ const aS = (e) => e ? typeof e == "string" ? e : JSON.stringify(e) : "", iS = 10
23785
23785
  type: "file",
23786
23786
  accept: "video/*",
23787
23787
  style: { display: "none" },
23788
- onChange: A
23788
+ onChange: N
23789
23789
  }
23790
23790
  )
23791
23791
  ]
@@ -23821,7 +23821,7 @@ const aS = (e) => e ? typeof e == "string" ? e : JSON.stringify(e) : "", iS = 10
23821
23821
  type: "file",
23822
23822
  accept: "video/*",
23823
23823
  style: { display: "none" },
23824
- onChange: A
23824
+ onChange: N
23825
23825
  }
23826
23826
  )
23827
23827
  ]
@@ -23866,8 +23866,8 @@ const oS = "https://sealseek-public-read.oss-cn-hangzhou.aliyuncs.com/file/websi
23866
23866
  if (I !== m.current) return;
23867
23867
  const O = a ? T.tabs.filter((P) => P.key !== "currentConversationReports") : T.tabs, _ = { ...T, tabs: O };
23868
23868
  d(_);
23869
- const A = O.find((P) => P.items.length > 0);
23870
- h(A?.key ?? O[0]?.key ?? "");
23869
+ const N = O.find((P) => P.items.length > 0);
23870
+ h(N?.key ?? O[0]?.key ?? "");
23871
23871
  }).catch(() => {
23872
23872
  I === m.current && d({ tabs: [] });
23873
23873
  }).finally(() => {
@@ -23888,7 +23888,7 @@ const oS = "https://sealseek-public-read.oss-cn-hangzhou.aliyuncs.com/file/websi
23888
23888
  T.classList.add("is-scrolling"), g.current && window.clearTimeout(g.current), g.current = window.setTimeout(() => {
23889
23889
  T.classList.remove("is-scrolling"), g.current = null;
23890
23890
  }, 300);
23891
- }, []), N = z(
23891
+ }, []), A = z(
23892
23892
  (I, T) => {
23893
23893
  I.stopPropagation(), l ? l(T) : window.open(T.viewUrl || T.url, "_blank");
23894
23894
  },
@@ -23942,7 +23942,7 @@ const oS = "https://sealseek-public-read.oss-cn-hangzhou.aliyuncs.com/file/websi
23942
23942
  "span",
23943
23943
  {
23944
23944
  className: "rte-report-dropdown-item-action",
23945
- onClick: (O) => N(O, I),
23945
+ onClick: (O) => A(O, I),
23946
23946
  children: [
23947
23947
  /* @__PURE__ */ v("i", { className: "iconfont icon-chakanbaogao" }),
23948
23948
  "查看报告"
@@ -23969,7 +23969,7 @@ const oS = "https://sealseek-public-read.oss-cn-hangzhou.aliyuncs.com/file/websi
23969
23969
  disabled: c,
23970
23970
  error: d
23971
23971
  }) => {
23972
- const f = hr(), h = uS(e.tooltip), m = t ?? "", g = !!i, b = !m && !g, y = !!l, w = y && !c && (b || g), k = !y && !!h && b, N = w || k, [I, T] = J(!1), [O, _] = J(!1), A = te({}).current, P = te(""), D = z(
23972
+ const f = hr(), h = uS(e.tooltip), m = t ?? "", g = !!i, b = !m && !g, y = !!l, w = y && !c && (b || g), k = !y && !!h && b, A = w || k, [I, T] = J(!1), [O, _] = J(!1), N = te({}).current, P = te(""), D = z(
23973
23973
  async (me) => {
23974
23974
  const Pe = me.trim();
23975
23975
  if (!(!Pe || !r) && P.current !== Pe) {
@@ -23997,9 +23997,9 @@ const oS = "https://sealseek-public-read.oss-cn-hangzhou.aliyuncs.com/file/websi
23997
23997
  [e.key, n, D]
23998
23998
  ), L = z(() => {
23999
23999
  document.dispatchEvent(
24000
- new CustomEvent("rte-report-dropdown-opening", { detail: A })
24000
+ new CustomEvent("rte-report-dropdown-opening", { detail: N })
24001
24001
  ), _(!0);
24002
- }, [A]), E = z(
24002
+ }, [N]), E = z(
24003
24003
  (me) => {
24004
24004
  e.key && (n(e.key, me.url), _(!1), /^https?:\/\//i.test(me.url) && D(me.url));
24005
24005
  },
@@ -24012,16 +24012,16 @@ const oS = "https://sealseek-public-read.oss-cn-hangzhou.aliyuncs.com/file/websi
24012
24012
  );
24013
24013
  be(() => {
24014
24014
  const me = (Pe) => {
24015
- Pe.detail !== A && _(!1);
24015
+ Pe.detail !== N && _(!1);
24016
24016
  };
24017
24017
  return document.addEventListener("rte-report-dropdown-opening", me), () => document.removeEventListener("rte-report-dropdown-opening", me);
24018
- }, [A]);
24018
+ }, [N]);
24019
24019
  const Y = [
24020
24020
  "variable-chip",
24021
24021
  "rte-report-url",
24022
24022
  g ? "rte-report-name-chip" : "",
24023
24023
  d ? "rte-report-url-error" : "",
24024
- N ? "rte-variable-with-icon" : ""
24024
+ A ? "rte-variable-with-icon" : ""
24025
24025
  ].filter(Boolean).join(" "), W = te(null), Q = te(null), [C, oe] = J("bottomLeft"), re = z(() => {
24026
24026
  const me = Q.current;
24027
24027
  if (!me) return;
@@ -24151,7 +24151,7 @@ const oS = "https://sealseek-public-read.oss-cn-hangzhou.aliyuncs.com/file/websi
24151
24151
  _e
24152
24152
  ]
24153
24153
  }
24154
- ), hn = w && O ? /* @__PURE__ */ v("div", { className: "rte-report-dropdown-panel", onClick: (me) => me.stopPropagation(), children: /* @__PURE__ */ v(
24154
+ ), hn = w && O ? /* @__PURE__ */ v(
24155
24155
  fS,
24156
24156
  {
24157
24157
  nodeKey: e.key,
@@ -24163,7 +24163,7 @@ const oS = "https://sealseek-public-read.oss-cn-hangzhou.aliyuncs.com/file/websi
24163
24163
  preciseMatchKey: Qe,
24164
24164
  open: O
24165
24165
  }
24166
- ) }) : null;
24166
+ ) : null;
24167
24167
  return e.required ? /* @__PURE__ */ v(it, { children: /* @__PURE__ */ q(
24168
24168
  "span",
24169
24169
  {
@@ -24286,7 +24286,7 @@ function Rp(e, t) {
24286
24286
  [i, r.key, a, g]
24287
24287
  ), w = !l, k = ["variable-chip", e.chipClass];
24288
24288
  w && k.push("show-placeholder"), o && k.push(e.errorClass);
24289
- const N = Vl(r.tooltip), I = r.tooltip == null ? "" : typeof r.tooltip == "string" ? r.tooltip : JSON.stringify(r.tooltip), T = !!I && !up(I);
24289
+ const A = Vl(r.tooltip), I = r.tooltip == null ? "" : typeof r.tooltip == "string" ? r.tooltip : JSON.stringify(r.tooltip), T = !!I && !up(I);
24290
24290
  T && w && k.push("rte-variable-with-icon");
24291
24291
  const O = r.placeholder ?? e.defaultPlaceholder, _ = /* @__PURE__ */ v(
24292
24292
  "span",
@@ -24302,7 +24302,7 @@ function Rp(e, t) {
24302
24302
  onBlur: b,
24303
24303
  onPaste: y
24304
24304
  }
24305
- ), A = T ? /* @__PURE__ */ q("span", { className: "rte-markdown-host", children: [
24305
+ ), N = T ? /* @__PURE__ */ q("span", { className: "rte-markdown-host", children: [
24306
24306
  _,
24307
24307
  /* @__PURE__ */ v(
24308
24308
  Vr,
@@ -24314,8 +24314,8 @@ function Rp(e, t) {
24314
24314
  }
24315
24315
  )
24316
24316
  ] }) : _, P = /* @__PURE__ */ q(it, { children: [
24317
- A,
24318
- N ? /* @__PURE__ */ v(er, { data: N, hidden: !w }) : null
24317
+ N,
24318
+ A ? /* @__PURE__ */ v(er, { data: A, hidden: !w }) : null
24319
24319
  ] });
24320
24320
  return r.required ? /* @__PURE__ */ q(
24321
24321
  "span",
@@ -32778,8 +32778,8 @@ function qA(e, t, n, r, l) {
32778
32778
  if (_ && !e.state.selection.eq(_)) {
32779
32779
  if (at && cn && e.input.lastKeyCode === 13 && Date.now() - 100 < e.input.lastKeyCodeTime && e.someProp("handleKeyDown", (P) => P(e, Yn(13, "Enter"))))
32780
32780
  return;
32781
- let A = e.state.tr.setSelection(_);
32782
- O == "pointer" ? A.setMeta("pointer", !0) : O == "key" && A.scrollIntoView(), a && A.setMeta("composition", a), e.dispatch(A);
32781
+ let N = e.state.tr.setSelection(_);
32782
+ O == "pointer" ? N.setMeta("pointer", !0) : O == "key" && N.scrollIntoView(), a && N.setMeta("composition", a), e.dispatch(N);
32783
32783
  }
32784
32784
  return;
32785
32785
  }
@@ -32820,28 +32820,28 @@ function qA(e, t, n, r, l) {
32820
32820
  return O(e, Yn(13, "Enter"));
32821
32821
  });
32822
32822
  }, 20));
32823
- let k = m.start, N = m.endA, I = (O) => {
32824
- let _ = O || e.state.tr.replace(k, N, u.doc.slice(m.start - u.from, m.endB - u.from));
32823
+ let k = m.start, A = m.endA, I = (O) => {
32824
+ let _ = O || e.state.tr.replace(k, A, u.doc.slice(m.start - u.from, m.endB - u.from));
32825
32825
  if (u.sel) {
32826
- let A = Qd(e, _.doc, u.sel);
32827
- A && !(at && e.composing && A.empty && (m.start != m.endB || e.input.lastChromeDelete < Date.now() - 100) && (A.head == k || A.head == _.mapping.map(N) - 1) || kt && A.empty && A.head == k) && _.setSelection(A);
32826
+ let N = Qd(e, _.doc, u.sel);
32827
+ N && !(at && e.composing && N.empty && (m.start != m.endB || e.input.lastChromeDelete < Date.now() - 100) && (N.head == k || N.head == _.mapping.map(A) - 1) || kt && N.empty && N.head == k) && _.setSelection(N);
32828
32828
  }
32829
32829
  return a && _.setMeta("composition", a), _.scrollIntoView();
32830
32830
  }, T;
32831
32831
  if (w)
32832
32832
  if (g.pos == b.pos) {
32833
32833
  kt && On <= 11 && g.parentOffset == 0 && (e.domObserver.suppressSelectionUpdates(), setTimeout(() => fn(e), 20));
32834
- let O = I(e.state.tr.delete(k, N)), _ = c.resolve(m.start).marksAcross(c.resolve(m.endA));
32834
+ let O = I(e.state.tr.delete(k, A)), _ = c.resolve(m.start).marksAcross(c.resolve(m.endA));
32835
32835
  _ && O.ensureMarks(_), e.dispatch(O);
32836
32836
  } else if (
32837
32837
  // Adding or removing a mark
32838
32838
  m.endA == m.endB && (T = WA(g.parent.content.cut(g.parentOffset, b.parentOffset), y.parent.content.cut(y.parentOffset, m.endA - y.start())))
32839
32839
  ) {
32840
32840
  let O = I(e.state.tr);
32841
- T.type == "add" ? O.addMark(k, N, T.mark) : O.removeMark(k, N, T.mark), e.dispatch(O);
32841
+ T.type == "add" ? O.addMark(k, A, T.mark) : O.removeMark(k, A, T.mark), e.dispatch(O);
32842
32842
  } else if (g.parent.child(g.index()).isText && g.index() == b.index() - (b.textOffset ? 0 : 1)) {
32843
- let O = g.parent.textBetween(g.parentOffset, b.parentOffset), _ = () => I(e.state.tr.insertText(O, k, N));
32844
- e.someProp("handleTextInput", (A) => A(e, k, N, O, _)) || e.dispatch(_());
32843
+ let O = g.parent.textBetween(g.parentOffset, b.parentOffset), _ = () => I(e.state.tr.insertText(O, k, A));
32844
+ e.someProp("handleTextInput", (N) => N(e, k, A, O, _)) || e.dispatch(_());
32845
32845
  } else
32846
32846
  e.dispatch(I());
32847
32847
  else
@@ -34460,8 +34460,8 @@ function LN(e) {
34460
34460
  DN(y, a.find, i).forEach((k) => {
34461
34461
  if (k.index === void 0)
34462
34462
  return;
34463
- const N = g + k.index + 1, I = N + k[0].length, T = {
34464
- from: n.tr.mapping.map(N),
34463
+ const A = g + k.index + 1, I = A + k[0].length, T = {
34464
+ from: n.tr.mapping.map(A),
34465
34465
  to: n.tr.mapping.map(I)
34466
34466
  }, O = a.handler({
34467
34467
  state: n,
@@ -34565,13 +34565,13 @@ function BN(e) {
34565
34565
  pasteEvt: _
34566
34566
  });
34567
34567
  }
34568
- const k = f.doc.content.findDiffStart(h.doc.content), N = f.doc.content.findDiffEnd(h.doc.content);
34569
- if (!(!MN(k) || !N || k === N.b))
34568
+ const k = f.doc.content.findDiffStart(h.doc.content), A = f.doc.content.findDiffEnd(h.doc.content);
34569
+ if (!(!MN(k) || !A || k === A.b))
34570
34570
  return o({
34571
34571
  rule: c,
34572
34572
  state: h,
34573
34573
  from: k,
34574
- to: N,
34574
+ to: A,
34575
34575
  pasteEvt: i
34576
34576
  });
34577
34577
  }
@@ -35330,8 +35330,8 @@ function so(e, t, n = {}) {
35330
35330
  if (!g.isText && !g.marks.length)
35331
35331
  return;
35332
35332
  const y = Math.max(h, b), w = Math.min(m, b + g.nodeSize), k = w - y;
35333
- i += k, s.push(...g.marks.map((N) => ({
35334
- mark: N,
35333
+ i += k, s.push(...g.marks.map((A) => ({
35334
+ mark: A,
35335
35335
  from: y,
35336
35336
  to: w
35337
35337
  })));
@@ -35498,18 +35498,18 @@ const q3 = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: r, edit
35498
35498
  const w = o.index(-1) ? 1 : o.index(-2) ? 2 : 3;
35499
35499
  for (let _ = o.depth - w; _ >= o.depth - 3; _ -= 1)
35500
35500
  y = K.from(o.node(_).copy(y));
35501
- const k = o.indexAfter(-1) < o.node(-2).childCount ? 1 : o.indexAfter(-2) < o.node(-3).childCount ? 2 : 3, N = {
35501
+ const k = o.indexAfter(-1) < o.node(-2).childCount ? 1 : o.indexAfter(-2) < o.node(-3).childCount ? 2 : 3, A = {
35502
35502
  ...Aa(f, o.node().type.name, o.node().attrs),
35503
35503
  ...t
35504
- }, I = ((i = s.contentMatch.defaultType) === null || i === void 0 ? void 0 : i.createAndFill(N)) || void 0;
35504
+ }, I = ((i = s.contentMatch.defaultType) === null || i === void 0 ? void 0 : i.createAndFill(A)) || void 0;
35505
35505
  y = y.append(K.from(s.createAndFill(null, I) || void 0));
35506
35506
  const T = o.before(o.depth - (w - 1));
35507
35507
  n.replace(T, o.after(-k), new ne(y, 4 - w, 0));
35508
35508
  let O = -1;
35509
- n.doc.nodesBetween(T, n.doc.content.size, (_, A) => {
35509
+ n.doc.nodesBetween(T, n.doc.content.size, (_, N) => {
35510
35510
  if (O > -1)
35511
35511
  return !1;
35512
- _.isTextblock && _.content.size === 0 && (O = A + 1);
35512
+ _.isTextblock && _.content.size === 0 && (O = N + 1);
35513
35513
  }), O > -1 && n.setSelection(Ee.near(n.doc.resolve(O))), n.scrollIntoView();
35514
35514
  }
35515
35515
  return !0;
@@ -35529,10 +35529,10 @@ const q3 = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: r, edit
35529
35529
  if (!dn(n.doc, o.pos, 2))
35530
35530
  return !1;
35531
35531
  if (l) {
35532
- const { selection: y, storedMarks: w } = r, { splittableMarks: k } = a.extensionManager, N = w || y.$to.parentOffset && y.$from.marks();
35533
- if (n.split(o.pos, 2, b).scrollIntoView(), !N || !l)
35532
+ const { selection: y, storedMarks: w } = r, { splittableMarks: k } = a.extensionManager, A = w || y.$to.parentOffset && y.$from.marks();
35533
+ if (n.split(o.pos, 2, b).scrollIntoView(), !A || !l)
35534
35534
  return !0;
35535
- const I = N.filter((T) => k.includes(T.type.name));
35535
+ const I = A.filter((T) => k.includes(T.type.name));
35536
35536
  n.ensureMarks(I);
35537
35537
  }
35538
35538
  return !0;
@@ -35555,7 +35555,7 @@ const q3 = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: r, edit
35555
35555
  const l = e.doc.nodeAt(r);
35556
35556
  return n.node.type === l?.type && Hn(e.doc, r) && e.join(r), !0;
35557
35557
  }, Y3 = (e, t, n, r = {}) => ({ editor: l, tr: a, state: i, dispatch: s, chain: o, commands: u, can: c }) => {
35558
- const { extensions: d, splittableMarks: f } = l.extensionManager, h = tt(e, i.schema), m = tt(t, i.schema), { selection: g, storedMarks: b } = i, { $from: y, $to: w } = g, k = y.blockRange(w), N = b || g.$to.parentOffset && g.$from.marks();
35558
+ const { extensions: d, splittableMarks: f } = l.extensionManager, h = tt(e, i.schema), m = tt(t, i.schema), { selection: g, storedMarks: b } = i, { $from: y, $to: w } = g, k = y.blockRange(w), A = b || g.$to.parentOffset && g.$from.marks();
35559
35559
  if (!k)
35560
35560
  return !1;
35561
35561
  const I = fu((T) => df(T.type.name, d))(g);
@@ -35565,8 +35565,8 @@ const q3 = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: r, edit
35565
35565
  if (df(I.node.type.name, d) && h.validContent(I.node.content) && s)
35566
35566
  return o().command(() => (a.setNodeMarkup(I.pos, h), !0)).command(() => ys(a, h)).command(() => Es(a, h)).run();
35567
35567
  }
35568
- return !n || !N || !s ? o().command(() => c().wrapInList(h, r) ? !0 : u.clearNodes()).wrapInList(h, r).command(() => ys(a, h)).command(() => Es(a, h)).run() : o().command(() => {
35569
- const T = c().wrapInList(h, r), O = N.filter((_) => f.includes(_.type.name));
35568
+ return !n || !A || !s ? o().command(() => c().wrapInList(h, r) ? !0 : u.clearNodes()).wrapInList(h, r).command(() => ys(a, h)).command(() => Es(a, h)).run() : o().command(() => {
35569
+ const T = c().wrapInList(h, r), O = A.filter((_) => f.includes(_.type.name));
35570
35570
  return a.ensureMarks(O), T ? !0 : u.clearNodes();
35571
35571
  }).wrapInList(h, r).command(() => ys(a, h)).command(() => Es(a, h)).run();
35572
35572
  }, j3 = (e, t = {}, n = {}) => ({ state: r, commands: l }) => {
@@ -36650,65 +36650,65 @@ function vw() {
36650
36650
  var e = ye, t = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
36651
36651
  function n(k) {
36652
36652
  {
36653
- for (var N = arguments.length, I = new Array(N > 1 ? N - 1 : 0), T = 1; T < N; T++)
36653
+ for (var A = arguments.length, I = new Array(A > 1 ? A - 1 : 0), T = 1; T < A; T++)
36654
36654
  I[T - 1] = arguments[T];
36655
36655
  r("error", k, I);
36656
36656
  }
36657
36657
  }
36658
- function r(k, N, I) {
36658
+ function r(k, A, I) {
36659
36659
  {
36660
36660
  var T = t.ReactDebugCurrentFrame, O = T.getStackAddendum();
36661
- O !== "" && (N += "%s", I = I.concat([O]));
36662
- var _ = I.map(function(A) {
36663
- return String(A);
36661
+ O !== "" && (A += "%s", I = I.concat([O]));
36662
+ var _ = I.map(function(N) {
36663
+ return String(N);
36664
36664
  });
36665
- _.unshift("Warning: " + N), Function.prototype.apply.call(console[k], console, _);
36665
+ _.unshift("Warning: " + A), Function.prototype.apply.call(console[k], console, _);
36666
36666
  }
36667
36667
  }
36668
- function l(k, N) {
36669
- return k === N && (k !== 0 || 1 / k === 1 / N) || k !== k && N !== N;
36668
+ function l(k, A) {
36669
+ return k === A && (k !== 0 || 1 / k === 1 / A) || k !== k && A !== A;
36670
36670
  }
36671
36671
  var a = typeof Object.is == "function" ? Object.is : l, i = e.useState, s = e.useEffect, o = e.useLayoutEffect, u = e.useDebugValue, c = !1, d = !1;
36672
- function f(k, N, I) {
36672
+ function f(k, A, I) {
36673
36673
  c || e.startTransition !== void 0 && (c = !0, n("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));
36674
- var T = N();
36674
+ var T = A();
36675
36675
  if (!d) {
36676
- var O = N();
36676
+ var O = A();
36677
36677
  a(T, O) || (n("The result of getSnapshot should be cached to avoid an infinite loop"), d = !0);
36678
36678
  }
36679
36679
  var _ = i({
36680
36680
  inst: {
36681
36681
  value: T,
36682
- getSnapshot: N
36682
+ getSnapshot: A
36683
36683
  }
36684
- }), A = _[0].inst, P = _[1];
36684
+ }), N = _[0].inst, P = _[1];
36685
36685
  return o(function() {
36686
- A.value = T, A.getSnapshot = N, h(A) && P({
36687
- inst: A
36686
+ N.value = T, N.getSnapshot = A, h(N) && P({
36687
+ inst: N
36688
36688
  });
36689
- }, [k, T, N]), s(function() {
36690
- h(A) && P({
36691
- inst: A
36689
+ }, [k, T, A]), s(function() {
36690
+ h(N) && P({
36691
+ inst: N
36692
36692
  });
36693
36693
  var D = function() {
36694
- h(A) && P({
36695
- inst: A
36694
+ h(N) && P({
36695
+ inst: N
36696
36696
  });
36697
36697
  };
36698
36698
  return k(D);
36699
36699
  }, [k]), u(T), T;
36700
36700
  }
36701
36701
  function h(k) {
36702
- var N = k.getSnapshot, I = k.value;
36702
+ var A = k.getSnapshot, I = k.value;
36703
36703
  try {
36704
- var T = N();
36704
+ var T = A();
36705
36705
  return !a(I, T);
36706
36706
  } catch {
36707
36707
  return !0;
36708
36708
  }
36709
36709
  }
36710
- function m(k, N, I) {
36711
- return N();
36710
+ function m(k, A, I) {
36711
+ return A();
36712
36712
  }
36713
36713
  var g = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", b = !g, y = b ? m : f, w = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : y;
36714
36714
  Cs.useSyncExternalStore = w, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
@@ -36892,15 +36892,15 @@ function Nw() {
36892
36892
  if (!w) {
36893
36893
  if (w = !0, k = T, T = f(T), h !== void 0 && g.hasValue) {
36894
36894
  var O = g.value;
36895
- if (h(O, T)) return N = O;
36895
+ if (h(O, T)) return A = O;
36896
36896
  }
36897
- return N = T;
36897
+ return A = T;
36898
36898
  }
36899
- if (O = N, r(k, T)) return O;
36899
+ if (O = A, r(k, T)) return O;
36900
36900
  var _ = f(T);
36901
- return h !== void 0 && h(O, _) ? O : (k = T, N = _);
36901
+ return h !== void 0 && h(O, _) ? O : (k = T, A = _);
36902
36902
  }
36903
- var w = !1, k, N, I = d === void 0 ? null : d;
36903
+ var w = !1, k, A, I = d === void 0 ? null : d;
36904
36904
  return [function() {
36905
36905
  return y(c());
36906
36906
  }, I === null ? void 0 : function() {
@@ -36955,16 +36955,16 @@ function ww() {
36955
36955
  return F;
36956
36956
  var Y = h(B);
36957
36957
  return m !== void 0 && m(F, Y) ? F : (T = B, O = Y, Y);
36958
- }, A = f === void 0 ? null : f, P = function() {
36958
+ }, N = f === void 0 ? null : f, P = function() {
36959
36959
  return _(d());
36960
- }, D = A === null ? void 0 : function() {
36961
- return _(A());
36960
+ }, D = N === null ? void 0 : function() {
36961
+ return _(N());
36962
36962
  };
36963
36963
  return [P, D];
36964
- }, [d, f, h, m]), w = y[0], k = y[1], N = l(c, w, k);
36964
+ }, [d, f, h, m]), w = y[0], k = y[1], A = l(c, w, k);
36965
36965
  return i(function() {
36966
- b.hasValue = !0, b.value = N;
36967
- }, [N]), o(N), N;
36966
+ b.hasValue = !0, b.value = A;
36967
+ }, [A]), o(A), A;
36968
36968
  }
36969
36969
  Ss.useSyncExternalStoreWithSelector = u, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
36970
36970
  }()), Ss;
@@ -38672,8 +38672,8 @@ const U6 = ({ expanded: e, onToggle: t }) => /* @__PURE__ */ q(
38672
38672
  content: t || "",
38673
38673
  editable: !r,
38674
38674
  onUpdate: ({ editor: k }) => {
38675
- const N = m.current;
38676
- N && h.current(N, k.getHTML());
38675
+ const A = m.current;
38676
+ A && h.current(A, k.getHTML());
38677
38677
  },
38678
38678
  editorProps: {
38679
38679
  attributes: {
@@ -38685,15 +38685,15 @@ const U6 = ({ expanded: e, onToggle: t }) => /* @__PURE__ */ q(
38685
38685
  });
38686
38686
  be(() => {
38687
38687
  if (!g) return;
38688
- const k = g.getHTML(), N = t ?? "";
38689
- k !== N && (g.isFocused || g.commands.setContent(N, !1));
38688
+ const k = g.getHTML(), A = t ?? "";
38689
+ k !== A && (g.isFocused || g.commands.setContent(A, !1));
38690
38690
  }, [t, g]), be(() => {
38691
38691
  g && g.setEditable(!r);
38692
38692
  }, [r, g]);
38693
38693
  const b = z(() => {
38694
38694
  f((k) => {
38695
- const N = !k;
38696
- return e.key && i?.(e.key, N), N;
38695
+ const A = !k;
38696
+ return e.key && i?.(e.key, A), A;
38697
38697
  });
38698
38698
  }, [e.key, i]);
38699
38699
  if (!g) return null;
@@ -39655,12 +39655,12 @@ const i_ = ["全部技能", "我的技能", "系统技能", "订阅技能"], s_
39655
39655
  }, wb = ye.memo(({ selectedId: e, onSelect: t, onAction: n, skillListFetch: r }) => {
39656
39656
  const [l, a] = J(0), [i, s] = J(r ? [] : c_), [o, u] = J(!1), [c, d] = J(""), [f, h] = J(""), m = hr(), g = m ? () => m : void 0, b = te(0);
39657
39657
  be(() => {
39658
- const N = window.setTimeout(() => h(c.trim()), 300);
39659
- return () => window.clearTimeout(N);
39658
+ const A = window.setTimeout(() => h(c.trim()), 300);
39659
+ return () => window.clearTimeout(A);
39660
39660
  }, [c]);
39661
39661
  const y = z(async () => {
39662
39662
  if (!r) return;
39663
- const N = ++b.current;
39663
+ const A = ++b.current;
39664
39664
  u(!0);
39665
39665
  try {
39666
39666
  const I = await r({
@@ -39669,41 +39669,41 @@ const i_ = ["全部技能", "我的技能", "系统技能", "订阅技能"], s_
39669
39669
  pageSize: o_,
39670
39670
  keyword: f || void 0
39671
39671
  });
39672
- if (N !== b.current) return;
39672
+ if (A !== b.current) return;
39673
39673
  s(I.map(d_));
39674
39674
  } catch {
39675
- N === b.current && Jt.error("技能列表加载失败");
39675
+ A === b.current && Jt.error("技能列表加载失败");
39676
39676
  } finally {
39677
- N === b.current && u(!1);
39677
+ A === b.current && u(!1);
39678
39678
  }
39679
39679
  }, [r, l, f]);
39680
39680
  be(() => {
39681
39681
  y();
39682
39682
  }, [y]);
39683
- const w = (N) => {
39684
- e === N.id ? t?.(null) : t?.({ id: N.id, title: N.title });
39685
- }, k = async (N) => {
39683
+ const w = (A) => {
39684
+ e === A.id ? t?.(null) : t?.({ id: A.id, title: A.title });
39685
+ }, k = async (A) => {
39686
39686
  try {
39687
- await n?.("delete", { id: N.id, title: N.title });
39687
+ await n?.("delete", { id: A.id, title: A.title });
39688
39688
  } catch {
39689
39689
  Jt.error("删除失败");
39690
39690
  return;
39691
39691
  }
39692
- e === N.id && t?.(null), r ? await y() : s((I) => I.filter((T) => T.id !== N.id)), Jt.success("已删除技能");
39692
+ e === A.id && t?.(null), r ? await y() : s((I) => I.filter((T) => T.id !== A.id)), Jt.success("已删除技能");
39693
39693
  };
39694
39694
  return /* @__PURE__ */ q("div", { className: "rte-skill-panel", children: [
39695
39695
  /* @__PURE__ */ q("div", { className: "rte-skill-panel-header", children: [
39696
- /* @__PURE__ */ v("div", { className: "rte-skill-tabs", children: i_.map((N, I) => /* @__PURE__ */ q(
39696
+ /* @__PURE__ */ v("div", { className: "rte-skill-tabs", children: i_.map((A, I) => /* @__PURE__ */ q(
39697
39697
  "div",
39698
39698
  {
39699
39699
  className: `rte-skill-tab${I === l ? " rte-skill-tab-active" : ""}`,
39700
39700
  onClick: () => a(I),
39701
39701
  children: [
39702
- /* @__PURE__ */ v("span", { className: "rte-skill-tab-text", children: N }),
39702
+ /* @__PURE__ */ v("span", { className: "rte-skill-tab-text", children: A }),
39703
39703
  /* @__PURE__ */ v("span", { className: "rte-skill-tab-underline" })
39704
39704
  ]
39705
39705
  },
39706
- N
39706
+ A
39707
39707
  )) }),
39708
39708
  /* @__PURE__ */ q("div", { className: "rte-skill-actions", children: [
39709
39709
  /* @__PURE__ */ q("div", { className: "rte-skill-search", children: [
@@ -39713,7 +39713,7 @@ const i_ = ["全部技能", "我的技能", "系统技能", "订阅技能"], s_
39713
39713
  className: "rte-skill-search-input",
39714
39714
  placeholder: "请输入想搜索的技能名称",
39715
39715
  value: c,
39716
- onChange: (N) => d(N.target.value)
39716
+ onChange: (A) => d(A.target.value)
39717
39717
  }
39718
39718
  ),
39719
39719
  /* @__PURE__ */ v("span", { className: "rte-skill-search-icon", children: /* @__PURE__ */ v(f_, {}) })
@@ -39728,19 +39728,19 @@ const i_ = ["全部技能", "我的技能", "系统技能", "订阅技能"], s_
39728
39728
  ] })
39729
39729
  ] })
39730
39730
  ] }),
39731
- o ? /* @__PURE__ */ v("div", { className: "rte-skill-cards-status", children: /* @__PURE__ */ v(Xa, {}) }) : i.length === 0 ? /* @__PURE__ */ v("div", { className: "rte-skill-cards-status", children: "暂无技能" }) : /* @__PURE__ */ v("div", { className: "rte-skill-cards", children: i.map((N) => /* @__PURE__ */ v(
39731
+ o ? /* @__PURE__ */ v("div", { className: "rte-skill-cards-status", children: /* @__PURE__ */ v(Xa, {}) }) : i.length === 0 ? /* @__PURE__ */ v("div", { className: "rte-skill-cards-status", children: "暂无技能" }) : /* @__PURE__ */ v("div", { className: "rte-skill-cards", children: i.map((A) => /* @__PURE__ */ v(
39732
39732
  S_,
39733
39733
  {
39734
- card: N,
39735
- selected: e === N.id,
39736
- onClick: () => w(N),
39737
- onShare: () => n?.("share", { id: N.id, title: N.title }),
39738
- onEdit: () => n?.("edit", { id: N.id, title: N.title }),
39739
- onDelete: () => k(N),
39740
- onUse: () => t?.({ id: N.id, title: N.title }),
39734
+ card: A,
39735
+ selected: e === A.id,
39736
+ onClick: () => w(A),
39737
+ onShare: () => n?.("share", { id: A.id, title: A.title }),
39738
+ onEdit: () => n?.("edit", { id: A.id, title: A.title }),
39739
+ onDelete: () => k(A),
39740
+ onUse: () => t?.({ id: A.id, title: A.title }),
39741
39741
  getPopupContainer: g
39742
39742
  },
39743
- N.id
39743
+ A.id
39744
39744
  )) })
39745
39745
  ] });
39746
39746
  });
@@ -39768,8 +39768,8 @@ const If = 8, k_ = () => /* @__PURE__ */ v(
39768
39768
  const [a, i] = J(!1), [s, o] = J(null), u = te(null), c = te(null), d = hr(), f = z(() => (u.current?.closest(".rich-text-editor") ?? u.current)?.getBoundingClientRect() ?? null, []), h = z(() => {
39769
39769
  const w = f();
39770
39770
  if (!w) return;
39771
- const k = w.bottom + If, N = Math.max(0, window.innerHeight - k - If), T = (c.current?.offsetParent ?? d)?.getBoundingClientRect(), O = T?.left ?? 0, _ = T?.top ?? 0;
39772
- o({ left: w.left - O, top: k - _, width: w.width, maxHeight: N });
39771
+ const k = w.bottom + If, A = Math.max(0, window.innerHeight - k - If), T = (c.current?.offsetParent ?? d)?.getBoundingClientRect(), O = T?.left ?? 0, _ = T?.top ?? 0;
39772
+ o({ left: w.left - O, top: k - _, width: w.width, maxHeight: A });
39773
39773
  }, [f, d]);
39774
39774
  We(() => {
39775
39775
  if (a)
@@ -39779,8 +39779,8 @@ const If = 8, k_ = () => /* @__PURE__ */ v(
39779
39779
  }, [a, h]), be(() => {
39780
39780
  if (!a) return;
39781
39781
  const w = (k) => {
39782
- const N = k.target;
39783
- u.current?.contains(N) || c.current?.contains(N) || N instanceof Element && N.closest(".rte-skill-delete-confirm, .rte-skill-share-popover") || i(!1);
39782
+ const A = k.target;
39783
+ u.current?.contains(A) || c.current?.contains(A) || A instanceof Element && A.closest(".rte-skill-delete-confirm, .rte-skill-share-popover") || i(!1);
39784
39784
  };
39785
39785
  return document.addEventListener("mousedown", w), () => document.removeEventListener("mousedown", w);
39786
39786
  }, [a]);
@@ -40096,12 +40096,12 @@ const Of = 9999, oI = (e) => {
40096
40096
  className: y,
40097
40097
  videoUrlParse: w,
40098
40098
  videoUpload: k,
40099
- reportAnalyze: N,
40099
+ reportAnalyze: A,
40100
40100
  reportListFetch: I,
40101
40101
  onReportGoGenerate: T,
40102
40102
  reportNameResolve: O,
40103
40103
  onViewReport: _,
40104
- hideCurrentSessionReport: A,
40104
+ hideCurrentSessionReport: N,
40105
40105
  markdownAnalyze: P,
40106
40106
  markdownNameAnalyze: D,
40107
40107
  agentOptions: B,
@@ -40200,7 +40200,7 @@ const Of = 9999, oI = (e) => {
40200
40200
  qr && Ql(null);
40201
40201
  }, [qr]);
40202
40202
  const { errors: Fb, validate: ku, clearError: Au } = Y6(Ct), { excludedKeys: Yr, hideSeparator: Hb } = K6(Ct, Qe, ot), { analyzeReport: Xl, analyzeMarkdown: Nu, analyzeMarkdownName: wu, resolveReportName: Jl } = Q6({
40203
- reportAnalyze: N,
40203
+ reportAnalyze: A,
40204
40204
  markdownAnalyze: P,
40205
40205
  markdownNameAnalyze: D,
40206
40206
  reportNameResolve: O
@@ -40674,7 +40674,7 @@ const Of = 9999, oI = (e) => {
40674
40674
  reportListFetch: I,
40675
40675
  onReportGoGenerate: T,
40676
40676
  onViewReport: _,
40677
- hideCurrentSessionReport: A,
40677
+ hideCurrentSessionReport: N,
40678
40678
  reportNames: Gl,
40679
40679
  onClearReport: Vb,
40680
40680
  onResolveMultiName: _i,
@@ -40817,7 +40817,7 @@ const Of = 9999, oI = (e) => {
40817
40817
  }) => {
40818
40818
  const [f, h] = J(5), m = Math.ceil(r / n), g = Ve(() => l.length >= m, [l, m]), b = () => Array.from(
40819
40819
  { length: m },
40820
- (k, N) => N + 1
40820
+ (k, A) => A + 1
40821
40821
  ).filter((k) => !l.includes(k)).slice(0, f);
40822
40822
  return /* @__PURE__ */ q("div", { className: "pagination_footer", children: [
40823
40823
  /* @__PURE__ */ q("div", { className: "pagination_leftWrap", children: [
@@ -40862,9 +40862,9 @@ const Of = 9999, oI = (e) => {
40862
40862
  showSizeChanger: !1,
40863
40863
  showQuickJumper: !1,
40864
40864
  showTotal: () => "",
40865
- itemRender: (w, k, N) => {
40865
+ itemRender: (w, k, A) => {
40866
40866
  const I = l.includes(w);
40867
- return k === "prev" || k === "next" || k === "jump-prev" || k === "jump-next" ? /* @__PURE__ */ v("div", { className: "pageBox", children: N }) : /* @__PURE__ */ q(
40867
+ return k === "prev" || k === "next" || k === "jump-prev" || k === "jump-next" ? /* @__PURE__ */ v("div", { className: "pageBox", children: A }) : /* @__PURE__ */ q(
40868
40868
  "div",
40869
40869
  {
40870
40870
  className: "pageBox",
@@ -41053,9 +41053,9 @@ const U_ = ({
41053
41053
  onChange: a,
41054
41054
  ...i
41055
41055
  }) => {
41056
- const [s, o] = J(""), [u, c] = J(0), [d, f] = J(!1), [h, m] = J(!1), [g, b] = J(!1), y = te(void 0), w = te(void 0), k = te(e), N = te(u), I = te(h), T = te(s);
41056
+ const [s, o] = J(""), [u, c] = J(0), [d, f] = J(!1), [h, m] = J(!1), [g, b] = J(!1), y = te(void 0), w = te(void 0), k = te(e), A = te(u), I = te(h), T = te(s);
41057
41057
  be(() => {
41058
- k.current = e, N.current = u, I.current = h, T.current = s;
41058
+ k.current = e, A.current = u, I.current = h, T.current = s;
41059
41059
  });
41060
41060
  const O = z((L, E) => {
41061
41061
  let F = 0;
@@ -41070,10 +41070,10 @@ const U_ = ({
41070
41070
  E > 0 ? (o(T.current.slice(0, E - 1)), E--, w.current = window.setTimeout(F, n / 2)) : L?.();
41071
41071
  };
41072
41072
  F();
41073
- }, [n]), A = z(() => {
41073
+ }, [n]), N = z(() => {
41074
41074
  if (k.current.length === 0 || I.current) return;
41075
41075
  f(!0);
41076
- const L = k.current[N.current];
41076
+ const L = k.current[A.current];
41077
41077
  T.current ? _(() => {
41078
41078
  O(L, () => {
41079
41079
  y.current = window.setTimeout(() => {
@@ -41086,11 +41086,11 @@ const U_ = ({
41086
41086
  }, 2e3);
41087
41087
  });
41088
41088
  }, [_, O]);
41089
- return be(() => (r && e.length > 0 && !h && A(), () => {
41089
+ return be(() => (r && e.length > 0 && !h && N(), () => {
41090
41090
  y.current && window.clearTimeout(y.current), w.current && window.clearTimeout(w.current);
41091
- }), [u, h, r, e.length, A]), be(() => {
41092
- !d && r && e.length > 0 && !h && A();
41093
- }, [u, d, r, e.length, h, A]), /* @__PURE__ */ q("div", { style: { position: "relative" }, children: [
41091
+ }), [u, h, r, e.length, N]), be(() => {
41092
+ !d && r && e.length > 0 && !h && N();
41093
+ }, [u, d, r, e.length, h, N]), /* @__PURE__ */ q("div", { style: { position: "relative" }, children: [
41094
41094
  /* @__PURE__ */ v(
41095
41095
  go,
41096
41096
  {
@@ -41234,9 +41234,9 @@ const z_ = ({
41234
41234
  ...h
41235
41235
  // 其他原生属性
41236
41236
  }) => {
41237
- const [m, g] = J(""), [b, y] = J(0), [w, k] = J(!1), [N, I] = J(!1), [T, O] = J(!1), [_, A] = J(l || ""), P = te(void 0), D = te(void 0), B = te(e), V = te(b), L = te(N), E = te(m), F = te(null);
41237
+ const [m, g] = J(""), [b, y] = J(0), [w, k] = J(!1), [A, I] = J(!1), [T, O] = J(!1), [_, N] = J(l || ""), P = te(void 0), D = te(void 0), B = te(e), V = te(b), L = te(A), E = te(m), F = te(null);
41238
41238
  be(() => {
41239
- B.current = e, V.current = b, L.current = N, E.current = m;
41239
+ B.current = e, V.current = b, L.current = A, E.current = m;
41240
41240
  });
41241
41241
  const Y = z((de, ke) => {
41242
41242
  let De = 0;
@@ -41267,21 +41267,21 @@ const z_ = ({
41267
41267
  }, 2e3);
41268
41268
  });
41269
41269
  }, [W, Y]);
41270
- be(() => (r && e.length > 0 && !N && Q(), () => {
41270
+ be(() => (r && e.length > 0 && !A && Q(), () => {
41271
41271
  P.current && window.clearTimeout(P.current), D.current && window.clearTimeout(D.current);
41272
- }), [b, N, r, e.length, Q]), be(() => {
41273
- !w && r && e.length > 0 && !N && Q();
41274
- }, [b, w, r, e.length, N, Q]);
41272
+ }), [b, A, r, e.length, Q]), be(() => {
41273
+ !w && r && e.length > 0 && !A && Q();
41274
+ }, [b, w, r, e.length, A, Q]);
41275
41275
  const C = (de) => {
41276
41276
  I(!0), P.current && window.clearTimeout(P.current), D.current && window.clearTimeout(D.current), k(!1), O(!1), h.onFocus?.(de);
41277
41277
  }, oe = (de) => {
41278
41278
  I(!1), !l && e.length > 0 && (g(""), y(0)), h.onBlur?.(de);
41279
41279
  }, re = (de) => {
41280
41280
  const ke = de.target.value;
41281
- s && ke.length > s || (a ? a(ke) : A(ke), h.onChange?.(de));
41281
+ s && ke.length > s || (a ? a(ke) : N(ke), h.onChange?.(de));
41282
41282
  }, R = () => {
41283
41283
  const de = a ? l : _;
41284
- de.trim() && !c && (i?.(de), a || A(""));
41284
+ de.trim() && !c && (i?.(de), a || N(""));
41285
41285
  }, pe = (de) => {
41286
41286
  (de.ctrlKey || de.metaKey) && de.key === "Enter" && (de.preventDefault(), R()), h.onKeyDown?.(de);
41287
41287
  }, _e = a ? l : _, Ne = c || !_e.trim() || (s ? _e.length > s : !1);
@@ -41300,7 +41300,7 @@ const z_ = ({
41300
41300
  de.target.style.borderColor = "#d9d9d9", de.target.style.boxShadow = "none", oe(de);
41301
41301
  },
41302
41302
  onKeyDown: pe,
41303
- placeholder: N || _e ? t : "",
41303
+ placeholder: A || _e ? t : "",
41304
41304
  maxLength: s,
41305
41305
  rows: d,
41306
41306
  disabled: c,
@@ -41324,7 +41324,7 @@ const z_ = ({
41324
41324
  ...h
41325
41325
  }
41326
41326
  ),
41327
- !N && !_e && m && /* @__PURE__ */ q(
41327
+ !A && !_e && m && /* @__PURE__ */ q(
41328
41328
  "div",
41329
41329
  {
41330
41330
  style: {
@@ -41524,16 +41524,16 @@ const Lb = ({
41524
41524
  style: m,
41525
41525
  ...g
41526
41526
  }) => {
41527
- const b = te(null), [y, w] = J(!1), [k, N] = J(!1), [I, T] = J(!1), O = z(() => {
41527
+ const b = te(null), [y, w] = J(!1), [k, A] = J(!1), [I, T] = J(!1), O = z(() => {
41528
41528
  b.current && (b.current.play(), w(!0), c?.());
41529
41529
  }, [c]), _ = z(() => {
41530
41530
  b.current && (b.current.pause(), w(!1), d?.());
41531
- }, [d]), A = z((Y) => {
41531
+ }, [d]), N = z((Y) => {
41532
41532
  Y.stopPropagation(), y ? _() : O();
41533
41533
  }, [y, O, _]), P = z(() => {
41534
- N(!0), s && !y && O();
41534
+ A(!0), s && !y && O();
41535
41535
  }, [s, y, O]), D = z(() => {
41536
- N(!1), s && y && _();
41536
+ A(!1), s && y && _();
41537
41537
  }, [s, y, _]), B = z(() => {
41538
41538
  T(!0), u?.();
41539
41539
  }, [u]), V = z(() => {
@@ -41584,7 +41584,7 @@ const Lb = ({
41584
41584
  "div",
41585
41585
  {
41586
41586
  className: `video-play-button ${k ? "hovered" : ""}`,
41587
- onClick: A,
41587
+ onClick: N,
41588
41588
  children: y ? /* @__PURE__ */ v(b0, { className: "play-icon" }) : /* @__PURE__ */ v(g0, { className: "play-icon" })
41589
41589
  }
41590
41590
  ),
@@ -41718,14 +41718,14 @@ const V_ = (e) => [".mp4", ".webm", ".ogg", ".mov", ".avi", ".wmv", ".flv", ".mk
41718
41718
  return b < 576 ? l.xs || 1 : b < 768 ? l.sm || 2 : b < 992 ? l.md || 3 : b < 1200 ? l.lg || 4 : b < 1600 ? l.xl || 5 : l.xxl || 6;
41719
41719
  }, [r, t, l]), h = z(() => {
41720
41720
  if (!o.current) return;
41721
- const b = u, y = o.current, k = (y.offsetWidth - n * (b - 1)) / b, N = new Array(b).fill(0);
41721
+ const b = u, y = o.current, k = (y.offsetWidth - n * (b - 1)) / b, A = new Array(b).fill(0);
41722
41722
  e.forEach((T, O) => {
41723
- const _ = T.id || O, A = d.current.get(_);
41724
- if (!A) return;
41725
- const P = Math.min(...N), D = N.indexOf(P), B = D * (k + n), V = N[D];
41726
- A.style.position = "absolute", A.style.left = `${B}px`, A.style.top = `${V}px`, A.style.width = `${k}px`, N[D] += A.offsetHeight + n;
41723
+ const _ = T.id || O, N = d.current.get(_);
41724
+ if (!N) return;
41725
+ const P = Math.min(...A), D = A.indexOf(P), B = D * (k + n), V = A[D];
41726
+ N.style.position = "absolute", N.style.left = `${B}px`, N.style.top = `${V}px`, N.style.width = `${k}px`, A[D] += N.offsetHeight + n;
41727
41727
  });
41728
- const I = Math.max(...N);
41728
+ const I = Math.max(...A);
41729
41729
  y.style.height = `${I}px`;
41730
41730
  }, [e, u, n]);
41731
41731
  be(() => {
@@ -41761,8 +41761,8 @@ const V_ = (e) => [".mp4", ".webm", ".ogg", ".mov", ".avi", ".wmv", ".flv", ".mk
41761
41761
  return /* @__PURE__ */ v(
41762
41762
  "div",
41763
41763
  {
41764
- ref: (N) => {
41765
- N ? d.current.set(w, N) : d.current.delete(w);
41764
+ ref: (A) => {
41765
+ A ? d.current.set(w, A) : d.current.delete(w);
41766
41766
  },
41767
41767
  className: "waterfall-item",
41768
41768
  children: k === "video" ? /* @__PURE__ */ v("div", { style: {
@@ -42019,24 +42019,24 @@ const ga = (e) => e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "
42019
42019
  r.forEach((y, w) => {
42020
42020
  const k = w + o;
42021
42021
  if (k >= l.length) return;
42022
- const N = l[k];
42023
- let I = N.split(/[\r\n]+/).map((_) => _.trim()).filter((_) => _ !== "");
42024
- I.length < c && (I = K_(N));
42022
+ const A = l[k];
42023
+ let I = A.split(/[\r\n]+/).map((_) => _.trim()).filter((_) => _ !== "");
42024
+ I.length < c && (I = K_(A));
42025
42025
  const T = (_) => I.length === c * 2 ? I[_ * 2] ?? "" : I[_] ?? "", O = {};
42026
- O[ll("日期")] = y, u.forEach((_, A) => {
42027
- const P = T(A), D = G_(P), B = ll(_);
42026
+ O[ll("日期")] = y, u.forEach((_, N) => {
42027
+ const P = T(N), D = G_(P), B = ll(_);
42028
42028
  O[B] = D;
42029
42029
  }), d.push(O);
42030
42030
  });
42031
42031
  const f = s.filter((y) => {
42032
42032
  const w = ll(y);
42033
42033
  return d.some((k) => {
42034
- const N = k[w];
42035
- return N !== void 0 && String(N).trim() !== "";
42034
+ const A = k[w];
42035
+ return A !== void 0 && String(A).trim() !== "";
42036
42036
  });
42037
42037
  }), h = `| ${f.join(" | ")} |`, m = `| ${f.map(() => "---").join(" | ")} |`, g = d.map((y) => `| ${f.map((k) => {
42038
- const N = ll(k);
42039
- return y[N] ?? "-";
42038
+ const A = ll(k);
42039
+ return y[A] ?? "-";
42040
42040
  }).join(" | ")} |`);
42041
42041
  return {
42042
42042
  markdown: [h, m, ...g].join(`