@farris/x-ui 0.4.6 → 0.4.7

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.
@@ -13,7 +13,7 @@ var ji = (e, t, r, n) => ({
13
13
  return H(e, t, n);
14
14
  }
15
15
  });
16
- import { defineComponent as Xe, ref as ye, createVNode as y, h as ua, watch as et, onMounted as w0, reactive as U6, computed as le, onUnmounted as _n, createTextVNode as nt, Fragment as M0, nextTick as Wt, onBeforeUnmount as pu, Teleport as so, withDirectives as qs, vShow as of, resolveDirective as Jd, mergeProps as lf, shallowRef as oi, resolveComponent as e2, provide as Lr, inject as Ft, useId as W6, toRef as G6, createApp as V6, isVNode as cf } from "vue";
16
+ import { defineComponent as Xe, ref as ye, createVNode as y, h as ua, watch as et, onMounted as w0, reactive as U6, computed as le, onUnmounted as _n, createTextVNode as it, Fragment as M0, nextTick as Wt, onBeforeUnmount as pu, Teleport as so, withDirectives as qs, vShow as of, resolveDirective as Jd, mergeProps as lf, shallowRef as oi, resolveComponent as e2, provide as Lr, inject as Ft, useId as W6, toRef as G6, createApp as V6, isVNode as cf } from "vue";
17
17
  const X6 = {
18
18
  content: {
19
19
  type: Object,
@@ -687,7 +687,7 @@ const pf = /* @__PURE__ */ Xe({
687
687
  class: "file-type"
688
688
  }, [k(T.type)])]), T.size && y(M0, null, [y("div", {
689
689
  class: "file-info-divider"
690
- }, null), nt(" "), y("span", {
690
+ }, null), it(" "), y("span", {
691
691
  class: "file-size"
692
692
  }, [u(T.size)])])])]);
693
693
  }
@@ -712,11 +712,11 @@ const pf = /* @__PURE__ */ Xe({
712
712
  }, [y(Mu, {
713
713
  status: "Working",
714
714
  variant: "attachment"
715
- }, null), nt(" 生成中")]), T.timestamp ? y("span", {
715
+ }, null), it(" 生成中")]), T.timestamp ? y("span", {
716
716
  class: "f-chat-bubble-attachment-text"
717
- }, [nt("创建时间:"), o(T.timestamp)]) : T.size ? y("span", {
717
+ }, [it("创建时间:"), o(T.timestamp)]) : T.size ? y("span", {
718
718
  class: "f-chat-bubble-attachment-size"
719
- }, [nt("文件大小:"), u(T.size)]) : null])]), e.showDownloadButton !== !1 && F ? y("button", {
719
+ }, [it("文件大小:"), u(T.size)]) : null])]), e.showDownloadButton !== !1 && F ? y("button", {
720
720
  type: "button",
721
721
  class: "f-chat-bubble-attachment-download-btn",
722
722
  "aria-label": "下载附件",
@@ -743,7 +743,7 @@ const pf = /* @__PURE__ */ Xe({
743
743
  onClick: x
744
744
  }, [y("span", {
745
745
  class: "f-chat-bubble-attachment-preview-btn-text"
746
- }, [nt("查看全部文件")]), y("i", {
746
+ }, [it("查看全部文件")]), y("i", {
747
747
  class: "fx-icon fx-icon-sort-asc-sm",
748
748
  style: {
749
749
  transform: "rotate(90deg)"
@@ -1921,7 +1921,7 @@ class Vn {
1921
1921
  return this.size >= 2;
1922
1922
  }
1923
1923
  }
1924
- var l1 = 0, js = 1, Gu = 2, Bn = 3, Za = 4, Tr = 5, aa = 6, K0 = 7, nn = [new Vn(l1, 0, !1), new Vn(js, 0, !0), new Vn(Gu, 1, !1), new Vn(Bn, 1, !0), new Vn(Za, 2, !1), new Vn(Tr, 2, !0), new Vn(aa, 3, !1), new Vn(K0, 3, !0)], hm = [Za, Tr, Za, Tr, aa, K0, aa, K0], mm = [Tr, Tr, Tr, Tr, K0, K0, K0, K0], pm = [Gu, Bn, Za, Tr, aa, K0, aa, K0], gm = [Bn, Bn, Tr, Tr, K0, K0, K0, K0], bm = [js, js, Bn, Bn, Tr, Tr, K0, K0], vm = [l1, js, Gu, Bn, Gu, Bn, Gu, Bn], ut = {
1924
+ var l1 = 0, js = 1, Gu = 2, Bn = 3, Za = 4, Tr = 5, aa = 6, K0 = 7, nn = [new Vn(l1, 0, !1), new Vn(js, 0, !0), new Vn(Gu, 1, !1), new Vn(Bn, 1, !0), new Vn(Za, 2, !1), new Vn(Tr, 2, !0), new Vn(aa, 3, !1), new Vn(K0, 3, !0)], hm = [Za, Tr, Za, Tr, aa, K0, aa, K0], mm = [Tr, Tr, Tr, Tr, K0, K0, K0, K0], pm = [Gu, Bn, Za, Tr, aa, K0, aa, K0], gm = [Bn, Bn, Tr, Tr, K0, K0, K0, K0], bm = [js, js, Bn, Bn, Tr, Tr, K0, K0], vm = [l1, js, Gu, Bn, Gu, Bn, Gu, Bn], nt = {
1925
1925
  DISPLAY: nn[l1],
1926
1926
  TEXT: nn[Gu],
1927
1927
  SCRIPT: nn[Za],
@@ -6126,10 +6126,10 @@ var Gs = function(t) {
6126
6126
  }, f0 = function(t) {
6127
6127
  return t.type === "ordgroup" ? t.body : [t];
6128
6128
  }, Xm = /* @__PURE__ */ new Set(["leftmost", "mbin", "mopen", "mrel", "mop", "mpunct"]), Ym = /* @__PURE__ */ new Set(["rightmost", "mrel", "mclose", "mpunct"]), Zm = {
6129
- display: ut.DISPLAY,
6130
- text: ut.TEXT,
6131
- script: ut.SCRIPT,
6132
- scriptscript: ut.SCRIPTSCRIPT
6129
+ display: nt.DISPLAY,
6130
+ text: nt.TEXT,
6131
+ script: nt.SCRIPT,
6132
+ scriptscript: nt.SCRIPTSCRIPT
6133
6133
  }, Km = {
6134
6134
  mord: "mord",
6135
6135
  mop: "mop",
@@ -6684,7 +6684,7 @@ class Sn {
6684
6684
  Sn.BASESIZE = 6;
6685
6685
  var jf = function(t) {
6686
6686
  return new Sn({
6687
- style: t.displayMode ? ut.DISPLAY : ut.TEXT,
6687
+ style: t.displayMode ? nt.DISPLAY : nt.TEXT,
6688
6688
  maxSize: t.maxSize,
6689
6689
  minRuleThickness: t.minRuleThickness
6690
6690
  });
@@ -7741,8 +7741,8 @@ var Ma = function(t, r, n) {
7741
7741
  }, m7 = function(t, r, n, a) {
7742
7742
  return X0(t, "Size" + r + "-Regular", n, a);
7743
7743
  }, Jf = function(t, r, n, a, u, o) {
7744
- var c = m7(t, r, u, a), d = g1(Te(["delimsizing", "size" + r], [c], a), ut.TEXT, a, o);
7745
- return n && Qf(d, a, ut.TEXT), d;
7744
+ var c = m7(t, r, u, a), d = g1(Te(["delimsizing", "size" + r], [c], a), nt.TEXT, a, o);
7745
+ return n && Qf(d, a, nt.TEXT), d;
7746
7746
  }, kl = function(t, r, n) {
7747
7747
  var a;
7748
7748
  r === "Size1-Regular" ? a = "delim-size1" : a = "delim-size4";
@@ -7800,12 +7800,12 @@ var Ma = function(t, r, n) {
7800
7800
  }
7801
7801
  be.push(Qi), be.push(kl(c, k, u));
7802
7802
  }
7803
- var Q = a.havingBaseStyle(ut.TEXT), ae = kt({
7803
+ var Q = a.havingBaseStyle(nt.TEXT), ae = kt({
7804
7804
  positionType: "bottom",
7805
7805
  positionData: ce,
7806
7806
  children: be
7807
7807
  });
7808
- return g1(Te(["delimsizing", "mult"], [ae], Q), ut.TEXT, a, o);
7808
+ return g1(Te(["delimsizing", "mult"], [ae], Q), nt.TEXT, a, o);
7809
7809
  }, El = 80, Sl = 0.08, Fl = function(t, r, n, a, u) {
7810
7810
  var o = Sm(t, a, n), c = new lu(t, o), d = new zn([c], {
7811
7811
  // Note: 1000:1 ratio of viewBox to document em width.
@@ -7834,13 +7834,13 @@ var Ma = function(t, r, n) {
7834
7834
  throw new Be("Illegal delimiter: '" + t + "'");
7835
7835
  }, y7 = [{
7836
7836
  type: "small",
7837
- style: ut.SCRIPTSCRIPT
7837
+ style: nt.SCRIPTSCRIPT
7838
7838
  }, {
7839
7839
  type: "small",
7840
- style: ut.SCRIPT
7840
+ style: nt.SCRIPT
7841
7841
  }, {
7842
7842
  type: "small",
7843
- style: ut.TEXT
7843
+ style: nt.TEXT
7844
7844
  }, {
7845
7845
  type: "large",
7846
7846
  size: 1
@@ -7855,24 +7855,24 @@ var Ma = function(t, r, n) {
7855
7855
  size: 4
7856
7856
  }], x7 = [{
7857
7857
  type: "small",
7858
- style: ut.SCRIPTSCRIPT
7858
+ style: nt.SCRIPTSCRIPT
7859
7859
  }, {
7860
7860
  type: "small",
7861
- style: ut.SCRIPT
7861
+ style: nt.SCRIPT
7862
7862
  }, {
7863
7863
  type: "small",
7864
- style: ut.TEXT
7864
+ style: nt.TEXT
7865
7865
  }, {
7866
7866
  type: "stack"
7867
7867
  }], uh = [{
7868
7868
  type: "small",
7869
- style: ut.SCRIPTSCRIPT
7869
+ style: nt.SCRIPTSCRIPT
7870
7870
  }, {
7871
7871
  type: "small",
7872
- style: ut.SCRIPT
7872
+ style: nt.SCRIPT
7873
7873
  }, {
7874
7874
  type: "small",
7875
- style: ut.TEXT
7875
+ style: nt.TEXT
7876
7876
  }, {
7877
7877
  type: "large",
7878
7878
  size: 1
@@ -8547,7 +8547,7 @@ var mn = function(t, r) {
8547
8547
  r.minRuleThickness
8548
8548
  ), h = 1 / r.fontMetrics().ptPerEm, x = 5 * h;
8549
8549
  if (t.colSeparationType && t.colSeparationType === "small") {
8550
- var k = r.havingStyle(ut.SCRIPT).sizeMultiplier;
8550
+ var k = r.havingStyle(nt.SCRIPT).sizeMultiplier;
8551
8551
  x = 0.2778 * (k / r.sizeMultiplier);
8552
8552
  }
8553
8553
  var C = t.colSeparationType === "CD" ? Kt({
@@ -9155,7 +9155,7 @@ var C7 = (e, t) => {
9155
9155
  var m = Ct(e.denom, u, t), p, h, x;
9156
9156
  e.hasBarLine ? (e.barSize ? (h = Kt(e.barSize, t), p = ia("frac-line", t, h)) : p = ia("frac-line", t), h = p.height, x = p.height) : (p = null, h = 0, x = t.fontMetrics().defaultRuleThickness);
9157
9157
  var k, C, B;
9158
- r.size === ut.DISPLAY.size ? (k = t.fontMetrics().num1, h > 0 ? C = 3 * x : C = 7 * x, B = t.fontMetrics().denom1) : (h > 0 ? (k = t.fontMetrics().num2, C = x) : (k = t.fontMetrics().num3, C = 3 * x), B = t.fontMetrics().denom2);
9158
+ r.size === nt.DISPLAY.size ? (k = t.fontMetrics().num1, h > 0 ? C = 3 * x : C = 7 * x, B = t.fontMetrics().denom1) : (h > 0 ? (k = t.fontMetrics().num2, C = x) : (k = t.fontMetrics().num3, C = 3 * x), B = t.fontMetrics().denom2);
9159
9159
  var _;
9160
9160
  if (p) {
9161
9161
  var E = t.fontMetrics().axisHeight;
@@ -9194,7 +9194,7 @@ var C7 = (e, t) => {
9194
9194
  }
9195
9195
  u = t.havingStyle(r), _.height *= u.sizeMultiplier / t.sizeMultiplier, _.depth *= u.sizeMultiplier / t.sizeMultiplier;
9196
9196
  var I;
9197
- r.size === ut.DISPLAY.size ? I = t.fontMetrics().delim1 : r.size === ut.SCRIPTSCRIPT.size ? I = t.havingStyle(ut.SCRIPT).fontMetrics().delim2 : I = t.fontMetrics().delim2;
9197
+ r.size === nt.DISPLAY.size ? I = t.fontMetrics().delim1 : r.size === nt.SCRIPTSCRIPT.size ? I = t.havingStyle(nt.SCRIPT).fontMetrics().delim2 : I = t.fontMetrics().delim2;
9198
9198
  var N, U;
9199
9199
  return e.leftDelim == null ? N = Ka(t, ["mopen"]) : N = Fc(e.leftDelim, I, !0, t.havingStyle(r), e.mode, ["mopen"]), e.continued ? U = Te([]) : e.rightDelim == null ? U = Ka(t, ["mclose"]) : U = Fc(e.rightDelim, I, !0, t.havingStyle(r), e.mode, ["mclose"]), Te(["mord"].concat(u.sizingClasses(t)), [N, Te(["mfrac"], [_]), U], t);
9200
9200
  }, E7 = (e, t) => {
@@ -9426,7 +9426,7 @@ qe({
9426
9426
  var hh = (e, t) => {
9427
9427
  var r = t.style, n, a;
9428
9428
  e.type === "supsub" ? (n = e.sup ? Ct(e.sup, t.havingStyle(r.sup()), t) : Ct(e.sub, t.havingStyle(r.sub()), t), a = ot(e.base, "horizBrace")) : a = ot(e, "horizBrace");
9429
- var u = Ct(a.base, t.havingBaseStyle(ut.DISPLAY)), o = mo(a, t), c;
9429
+ var u = Ct(a.base, t.havingBaseStyle(nt.DISPLAY)), o = mo(a, t), c;
9430
9430
  if (a.isOver ? (c = kt({
9431
9431
  positionType: "firstBaseline",
9432
9432
  children: [{
@@ -9903,13 +9903,13 @@ qe({
9903
9903
  });
9904
9904
  var M2 = (e, t) => {
9905
9905
  switch (t.style.size) {
9906
- case ut.DISPLAY.size:
9906
+ case nt.DISPLAY.size:
9907
9907
  return e.display;
9908
- case ut.TEXT.size:
9908
+ case nt.TEXT.size:
9909
9909
  return e.text;
9910
- case ut.SCRIPT.size:
9910
+ case nt.SCRIPT.size:
9911
9911
  return e.script;
9912
- case ut.SCRIPTSCRIPT.size:
9912
+ case nt.SCRIPTSCRIPT.size:
9913
9913
  return e.scriptscript;
9914
9914
  default:
9915
9915
  return e.text;
@@ -10044,7 +10044,7 @@ var mh = (e, t, r, n, a, u, o) => {
10044
10044
  var r, n, a = !1, u;
10045
10045
  e.type === "supsub" ? (r = e.sup, n = e.sub, u = ot(e.base, "op"), a = !0) : u = ot(e, "op");
10046
10046
  var o = t.style, c = !1;
10047
- o.size === ut.DISPLAY.size && u.symbol && !ph.has(u.name) && (c = !0);
10047
+ o.size === nt.DISPLAY.size && u.symbol && !ph.has(u.name) && (c = !0);
10048
10048
  var d;
10049
10049
  if (u.symbol) {
10050
10050
  var m = c ? "Size2-Regular" : "Size1-Regular", p = "";
@@ -10605,7 +10605,7 @@ qe({
10605
10605
  var r = Ct(e.body, t.havingCrampedStyle());
10606
10606
  r.height === 0 && (r.height = t.fontMetrics().xHeight), r = sa(r, t);
10607
10607
  var n = t.fontMetrics(), a = n.defaultRuleThickness, u = a;
10608
- t.style.id < ut.TEXT.id && (u = t.fontMetrics().xHeight);
10608
+ t.style.id < nt.TEXT.id && (u = t.fontMetrics().xHeight);
10609
10609
  var o = a + u / 4, c = r.height + r.depth + o + a, {
10610
10610
  span: d,
10611
10611
  ruleWidth: m,
@@ -10632,7 +10632,7 @@ qe({
10632
10632
  }]
10633
10633
  });
10634
10634
  if (e.index) {
10635
- var C = t.havingStyle(ut.SCRIPTSCRIPT), B = Ct(e.index, C, t), _ = 0.6 * (k.height - k.depth), T = kt({
10635
+ var C = t.havingStyle(nt.SCRIPTSCRIPT), B = Ct(e.index, C, t), _ = 0.6 * (k.height - k.depth), T = kt({
10636
10636
  positionType: "shift",
10637
10637
  positionData: -_,
10638
10638
  children: [{
@@ -10653,10 +10653,10 @@ qe({
10653
10653
  }
10654
10654
  });
10655
10655
  var _2 = {
10656
- display: ut.DISPLAY,
10657
- text: ut.TEXT,
10658
- script: ut.SCRIPT,
10659
- scriptscript: ut.SCRIPTSCRIPT
10656
+ display: nt.DISPLAY,
10657
+ text: nt.TEXT,
10658
+ script: nt.SCRIPT,
10659
+ scriptscript: nt.SCRIPTSCRIPT
10660
10660
  };
10661
10661
  qe({
10662
10662
  type: "styling",
@@ -10699,10 +10699,10 @@ var z7 = function(t, r) {
10699
10699
  var n = t.base;
10700
10700
  if (n)
10701
10701
  if (n.type === "op") {
10702
- var a = n.limits && (r.style.size === ut.DISPLAY.size || n.alwaysHandleSupSub);
10702
+ var a = n.limits && (r.style.size === nt.DISPLAY.size || n.alwaysHandleSupSub);
10703
10703
  return a ? ma : null;
10704
10704
  } else if (n.type === "operatorname") {
10705
- var u = n.alwaysHandleSupSub && (r.style.size === ut.DISPLAY.size || n.limits);
10705
+ var u = n.alwaysHandleSupSub && (r.style.size === nt.DISPLAY.size || n.limits);
10706
10706
  return u ? gh : null;
10707
10707
  } else {
10708
10708
  if (n.type === "accent")
@@ -10735,7 +10735,7 @@ zu({
10735
10735
  d = Ct(u, C, t), x || (h = o.depth + C.fontMetrics().subDrop * C.sizeMultiplier / t.sizeMultiplier);
10736
10736
  }
10737
10737
  var B;
10738
- t.style === ut.DISPLAY ? B = m.sup1 : t.style.cramped ? B = m.sup3 : B = m.sup2;
10738
+ t.style === nt.DISPLAY ? B = m.sup1 : t.style.cramped ? B = m.sup3 : B = m.sup2;
10739
10739
  var _ = t.sizeMultiplier, T = Ie(0.5 / m.ptPerEm / _), E = null;
10740
10740
  if (d) {
10741
10741
  var F = e.base && e.base.type === "op" && e.base.name && (e.base.name === "\\oiint" || e.base.name === "\\oiiint");
@@ -10805,14 +10805,14 @@ zu({
10805
10805
  else if (e.sub)
10806
10806
  if (e.sup) {
10807
10807
  var m = e.base;
10808
- m && m.type === "op" && m.limits && t.style === ut.DISPLAY || m && m.type === "operatorname" && m.alwaysHandleSupSub && (t.style === ut.DISPLAY || m.limits) ? o = "munderover" : o = "msubsup";
10808
+ m && m.type === "op" && m.limits && t.style === nt.DISPLAY || m && m.type === "operatorname" && m.alwaysHandleSupSub && (t.style === nt.DISPLAY || m.limits) ? o = "munderover" : o = "msubsup";
10809
10809
  } else {
10810
10810
  var d = e.base;
10811
- d && d.type === "op" && d.limits && (t.style === ut.DISPLAY || d.alwaysHandleSupSub) || d && d.type === "operatorname" && d.alwaysHandleSupSub && (d.limits || t.style === ut.DISPLAY) ? o = "munder" : o = "msub";
10811
+ d && d.type === "op" && d.limits && (t.style === nt.DISPLAY || d.alwaysHandleSupSub) || d && d.type === "operatorname" && d.alwaysHandleSupSub && (d.limits || t.style === nt.DISPLAY) ? o = "munder" : o = "msub";
10812
10812
  }
10813
10813
  else {
10814
10814
  var c = e.base;
10815
- c && c.type === "op" && c.limits && (t.style === ut.DISPLAY || c.alwaysHandleSupSub) || c && c.type === "operatorname" && c.alwaysHandleSupSub && (c.limits || t.style === ut.DISPLAY) ? o = "mover" : o = "msup";
10815
+ c && c.type === "op" && c.limits && (t.style === nt.DISPLAY || c.alwaysHandleSupSub) || c && c.type === "operatorname" && c.alwaysHandleSupSub && (c.limits || t.style === nt.DISPLAY) ? o = "mover" : o = "msup";
10816
10816
  }
10817
10817
  return new ze(o, u);
10818
10818
  }
@@ -28783,7 +28783,7 @@ const Pa = /* @__PURE__ */ Xe({
28783
28783
  class: "f-chat-todo-status-icon f-chat-todo-status-working"
28784
28784
  }, null), y("span", {
28785
28785
  class: "f-chat-bubble-widget-pending-text"
28786
- }, [nt("数据生成中......")])]) : null;
28786
+ }, [it("数据生成中......")])]) : null;
28787
28787
  }, Hg = 6e4, v4 = 8e3, Y0 = /* @__PURE__ */ new Map(), Vr = /* @__PURE__ */ new Map(), ui = /* @__PURE__ */ new Map(), fn = [];
28788
28788
  function z0(e) {
28789
28789
  return String(e ?? "").replace(/^\ufeff/, "").replace(/[\u200b\u200c\u200d]/g, "").replace(/\u00a0/g, " ").trim();
@@ -28802,7 +28802,7 @@ function gs(e) {
28802
28802
  const t = window;
28803
28803
  t.__fluens_dynamic_component_bootstrap_instance_id === e && delete t.__fluens_dynamic_component_bootstrap_instance_id;
28804
28804
  }
28805
- function cw() {
28805
+ function lw() {
28806
28806
  return fn[fn.length - 1] || void 0;
28807
28807
  }
28808
28808
  function Qs(e, t) {
@@ -28896,7 +28896,7 @@ function c3(e) {
28896
28896
  `[DynamicComponent] assistant post id "${t}" resolved to instanceId "${a[0].config.instanceId}" (alias match)`
28897
28897
  ), a[0]) : (a.length > 1 && console.warn(`[DynamicComponent] assistant post id "${t}" is ambiguous (${a.length} active matches)`), null);
28898
28898
  }
28899
- function dw(e) {
28899
+ function cw(e) {
28900
28900
  const t = z0(e);
28901
28901
  if (!t) return null;
28902
28902
  const r = Vr.get(t);
@@ -28990,7 +28990,7 @@ function Vg(e) {
28990
28990
  const n = document.getElementById(`fluens-dynamic-component-${e}`);
28991
28991
  n && n.remove();
28992
28992
  }
28993
- function fw(e, t) {
28993
+ function dw(e, t) {
28994
28994
  const r = z0(e);
28995
28995
  if (!r) return !1;
28996
28996
  const n = c3(r);
@@ -29079,11 +29079,11 @@ const Ha = /* @__PURE__ */ Xe({
29079
29079
  class: "f-chat-dynamic-component-loading"
29080
29080
  }, [y("span", {
29081
29081
  class: "f-chat-dynamic-component-loading-spinner"
29082
- }, null), y("span", null, [nt("加载中......")])]), t.value === "error" && y("div", {
29082
+ }, null), y("span", null, [it("加载中......")])]), t.value === "error" && y("div", {
29083
29083
  class: "f-chat-dynamic-component-error"
29084
29084
  }, [y("span", {
29085
29085
  class: "f-chat-dynamic-component-error-icon"
29086
- }, [nt("!")]), y("span", null, [r.value])])]);
29086
+ }, [it("!")]), y("span", null, [r.value])])]);
29087
29087
  }
29088
29088
  }), x4 = (e, t, r) => {
29089
29089
  if (e.type === N0.DynamicComponentComplete) {
@@ -29118,7 +29118,7 @@ const Ha = /* @__PURE__ */ Xe({
29118
29118
  class: "f-chat-todo-status-icon f-chat-todo-status-working"
29119
29119
  }, null), y("span", {
29120
29120
  class: "f-chat-bubble-widget-pending-text"
29121
- }, [nt("组件加载中......")])]) : null;
29121
+ }, [it("组件加载中......")])]) : null;
29122
29122
  };
29123
29123
  function Xg() {
29124
29124
  return {
@@ -31520,9 +31520,9 @@ function Wc(e, t, r) {
31520
31520
  }
31521
31521
  return r.call(e, t, n);
31522
31522
  }
31523
- let ft, it, _a, En, gt;
31523
+ let ft, at, _a, En, gt;
31524
31524
  function Wb() {
31525
- for (ft = "default", it = "", _a = !1, En = 1; ; ) {
31525
+ for (ft = "default", at = "", _a = !1, En = 1; ; ) {
31526
31526
  gt = Mn();
31527
31527
  const e = m3[ft]();
31528
31528
  if (e)
@@ -31630,10 +31630,10 @@ const m3 = {
31630
31630
  xe() === "-" && (En = -1), ft = "sign";
31631
31631
  return;
31632
31632
  case ".":
31633
- it = xe(), ft = "decimalPointLeading";
31633
+ at = xe(), ft = "decimalPointLeading";
31634
31634
  return;
31635
31635
  case "0":
31636
- it = xe(), ft = "zero";
31636
+ at = xe(), ft = "zero";
31637
31637
  return;
31638
31638
  case "1":
31639
31639
  case "2":
@@ -31644,7 +31644,7 @@ const m3 = {
31644
31644
  case "7":
31645
31645
  case "8":
31646
31646
  case "9":
31647
- it = xe(), ft = "decimalInteger";
31647
+ at = xe(), ft = "decimalInteger";
31648
31648
  return;
31649
31649
  case "I":
31650
31650
  return xe(), Du("nfinity"), Nt("numeric", 1 / 0);
@@ -31652,7 +31652,7 @@ const m3 = {
31652
31652
  return xe(), Du("aN"), Nt("numeric", NaN);
31653
31653
  case '"':
31654
31654
  case "'":
31655
- _a = xe() === '"', it = "", ft = "string";
31655
+ _a = xe() === '"', at = "", ft = "string";
31656
31656
  return;
31657
31657
  }
31658
31658
  throw qt(xe());
@@ -31671,7 +31671,7 @@ const m3 = {
31671
31671
  throw C4();
31672
31672
  break;
31673
31673
  }
31674
- it += e, ft = "identifierName";
31674
+ at += e, ft = "identifierName";
31675
31675
  },
31676
31676
  identifierName() {
31677
31677
  switch (gt) {
@@ -31679,17 +31679,17 @@ const m3 = {
31679
31679
  case "_":
31680
31680
  case "‌":
31681
31681
  case "‍":
31682
- it += xe();
31682
+ at += xe();
31683
31683
  return;
31684
31684
  case "\\":
31685
31685
  xe(), ft = "identifierNameEscape";
31686
31686
  return;
31687
31687
  }
31688
31688
  if (u0.isIdContinueChar(gt)) {
31689
- it += xe();
31689
+ at += xe();
31690
31690
  return;
31691
31691
  }
31692
- return Nt("identifier", it);
31692
+ return Nt("identifier", at);
31693
31693
  },
31694
31694
  identifierNameEscape() {
31695
31695
  if (gt !== "u")
@@ -31707,15 +31707,15 @@ const m3 = {
31707
31707
  throw C4();
31708
31708
  break;
31709
31709
  }
31710
- it += e, ft = "identifierName";
31710
+ at += e, ft = "identifierName";
31711
31711
  },
31712
31712
  sign() {
31713
31713
  switch (gt) {
31714
31714
  case ".":
31715
- it = xe(), ft = "decimalPointLeading";
31715
+ at = xe(), ft = "decimalPointLeading";
31716
31716
  return;
31717
31717
  case "0":
31718
- it = xe(), ft = "zero";
31718
+ at = xe(), ft = "zero";
31719
31719
  return;
31720
31720
  case "1":
31721
31721
  case "2":
@@ -31726,7 +31726,7 @@ const m3 = {
31726
31726
  case "7":
31727
31727
  case "8":
31728
31728
  case "9":
31729
- it = xe(), ft = "decimalInteger";
31729
+ at = xe(), ft = "decimalInteger";
31730
31730
  return;
31731
31731
  case "I":
31732
31732
  return xe(), Du("nfinity"), Nt("numeric", En * (1 / 0));
@@ -31738,15 +31738,15 @@ const m3 = {
31738
31738
  zero() {
31739
31739
  switch (gt) {
31740
31740
  case ".":
31741
- it += xe(), ft = "decimalPoint";
31741
+ at += xe(), ft = "decimalPoint";
31742
31742
  return;
31743
31743
  case "e":
31744
31744
  case "E":
31745
- it += xe(), ft = "decimalExponent";
31745
+ at += xe(), ft = "decimalExponent";
31746
31746
  return;
31747
31747
  case "x":
31748
31748
  case "X":
31749
- it += xe(), ft = "hexadecimal";
31749
+ at += xe(), ft = "hexadecimal";
31750
31750
  return;
31751
31751
  }
31752
31752
  return Nt("numeric", En * 0);
@@ -31754,22 +31754,22 @@ const m3 = {
31754
31754
  decimalInteger() {
31755
31755
  switch (gt) {
31756
31756
  case ".":
31757
- it += xe(), ft = "decimalPoint";
31757
+ at += xe(), ft = "decimalPoint";
31758
31758
  return;
31759
31759
  case "e":
31760
31760
  case "E":
31761
- it += xe(), ft = "decimalExponent";
31761
+ at += xe(), ft = "decimalExponent";
31762
31762
  return;
31763
31763
  }
31764
31764
  if (u0.isDigit(gt)) {
31765
- it += xe();
31765
+ at += xe();
31766
31766
  return;
31767
31767
  }
31768
- return Nt("numeric", En * Number(it));
31768
+ return Nt("numeric", En * Number(at));
31769
31769
  },
31770
31770
  decimalPointLeading() {
31771
31771
  if (u0.isDigit(gt)) {
31772
- it += xe(), ft = "decimalFraction";
31772
+ at += xe(), ft = "decimalFraction";
31773
31773
  return;
31774
31774
  }
31775
31775
  throw qt(xe());
@@ -31778,83 +31778,83 @@ const m3 = {
31778
31778
  switch (gt) {
31779
31779
  case "e":
31780
31780
  case "E":
31781
- it += xe(), ft = "decimalExponent";
31781
+ at += xe(), ft = "decimalExponent";
31782
31782
  return;
31783
31783
  }
31784
31784
  if (u0.isDigit(gt)) {
31785
- it += xe(), ft = "decimalFraction";
31785
+ at += xe(), ft = "decimalFraction";
31786
31786
  return;
31787
31787
  }
31788
- return Nt("numeric", En * Number(it));
31788
+ return Nt("numeric", En * Number(at));
31789
31789
  },
31790
31790
  decimalFraction() {
31791
31791
  switch (gt) {
31792
31792
  case "e":
31793
31793
  case "E":
31794
- it += xe(), ft = "decimalExponent";
31794
+ at += xe(), ft = "decimalExponent";
31795
31795
  return;
31796
31796
  }
31797
31797
  if (u0.isDigit(gt)) {
31798
- it += xe();
31798
+ at += xe();
31799
31799
  return;
31800
31800
  }
31801
- return Nt("numeric", En * Number(it));
31801
+ return Nt("numeric", En * Number(at));
31802
31802
  },
31803
31803
  decimalExponent() {
31804
31804
  switch (gt) {
31805
31805
  case "+":
31806
31806
  case "-":
31807
- it += xe(), ft = "decimalExponentSign";
31807
+ at += xe(), ft = "decimalExponentSign";
31808
31808
  return;
31809
31809
  }
31810
31810
  if (u0.isDigit(gt)) {
31811
- it += xe(), ft = "decimalExponentInteger";
31811
+ at += xe(), ft = "decimalExponentInteger";
31812
31812
  return;
31813
31813
  }
31814
31814
  throw qt(xe());
31815
31815
  },
31816
31816
  decimalExponentSign() {
31817
31817
  if (u0.isDigit(gt)) {
31818
- it += xe(), ft = "decimalExponentInteger";
31818
+ at += xe(), ft = "decimalExponentInteger";
31819
31819
  return;
31820
31820
  }
31821
31821
  throw qt(xe());
31822
31822
  },
31823
31823
  decimalExponentInteger() {
31824
31824
  if (u0.isDigit(gt)) {
31825
- it += xe();
31825
+ at += xe();
31826
31826
  return;
31827
31827
  }
31828
- return Nt("numeric", En * Number(it));
31828
+ return Nt("numeric", En * Number(at));
31829
31829
  },
31830
31830
  hexadecimal() {
31831
31831
  if (u0.isHexDigit(gt)) {
31832
- it += xe(), ft = "hexadecimalInteger";
31832
+ at += xe(), ft = "hexadecimalInteger";
31833
31833
  return;
31834
31834
  }
31835
31835
  throw qt(xe());
31836
31836
  },
31837
31837
  hexadecimalInteger() {
31838
31838
  if (u0.isHexDigit(gt)) {
31839
- it += xe();
31839
+ at += xe();
31840
31840
  return;
31841
31841
  }
31842
- return Nt("numeric", En * Number(it));
31842
+ return Nt("numeric", En * Number(at));
31843
31843
  },
31844
31844
  string() {
31845
31845
  switch (gt) {
31846
31846
  case "\\":
31847
- xe(), it += Gb();
31847
+ xe(), at += Gb();
31848
31848
  return;
31849
31849
  case '"':
31850
31850
  if (_a)
31851
- return xe(), Nt("string", it);
31852
- it += xe();
31851
+ return xe(), Nt("string", at);
31852
+ at += xe();
31853
31853
  return;
31854
31854
  case "'":
31855
31855
  if (!_a)
31856
- return xe(), Nt("string", it);
31857
- it += xe();
31856
+ return xe(), Nt("string", at);
31857
+ at += xe();
31858
31858
  return;
31859
31859
  case `
31860
31860
  `:
@@ -31867,7 +31867,7 @@ const m3 = {
31867
31867
  case void 0:
31868
31868
  throw qt(xe());
31869
31869
  }
31870
- it += xe();
31870
+ at += xe();
31871
31871
  },
31872
31872
  start() {
31873
31873
  switch (gt) {
@@ -31881,7 +31881,7 @@ const m3 = {
31881
31881
  switch (gt) {
31882
31882
  case "$":
31883
31883
  case "_":
31884
- it = xe(), ft = "identifierName";
31884
+ at = xe(), ft = "identifierName";
31885
31885
  return;
31886
31886
  case "\\":
31887
31887
  xe(), ft = "identifierNameStartEscape";
@@ -31894,7 +31894,7 @@ const m3 = {
31894
31894
  return;
31895
31895
  }
31896
31896
  if (u0.isIdStartChar(gt)) {
31897
- it += xe(), ft = "identifierName";
31897
+ at += xe(), ft = "identifierName";
31898
31898
  return;
31899
31899
  }
31900
31900
  throw qt(xe());
@@ -32624,7 +32624,7 @@ var hv = (e) => !y3.has(e), Zn = (e) => e && e === Math.floor(e) && e > 0 && isF
32624
32624
  pop() {
32625
32625
  return this.heap[--this.length];
32626
32626
  }
32627
- }, Qu = new WeakMap(), mt(cn, Qu, !1), cn), af, sf, Sr, dr, Rr, Fu, Nr, Ju, ea, Pr, x0, Hr, l0, Ht, at, G0, fr, R0, k0, qr, C0, jr, $r, hr, mr, Ur, ru, V0, ta, Re, Xc, Tu, Fn, ii, pr, A3, Bu, ra, si, Kn, Qn, Yc, ws, As, Pt, Zc, Ia, Jn, Kc, na, pv = (na = class {
32627
+ }, Qu = new WeakMap(), mt(cn, Qu, !1), cn), af, sf, Sr, dr, Rr, Fu, Nr, Ju, ea, Pr, x0, Hr, l0, Ht, ut, G0, fr, R0, k0, qr, C0, jr, $r, hr, mr, Ur, ru, V0, ta, Re, Xc, Tu, Fn, ii, pr, A3, Bu, ra, si, Kn, Qn, Yc, ws, As, Pt, Zc, Ia, Jn, Kc, na, pv = (na = class {
32628
32628
  constructor(t) {
32629
32629
  mt(this, Re);
32630
32630
  mt(this, Sr);
@@ -32654,7 +32654,7 @@ var hv = (e) => !y3.has(e), Zn = (e) => e && e === Math.floor(e) && e > 0 && isF
32654
32654
  mt(this, Hr);
32655
32655
  mt(this, l0);
32656
32656
  mt(this, Ht);
32657
- mt(this, at);
32657
+ mt(this, ut);
32658
32658
  mt(this, G0);
32659
32659
  mt(this, fr);
32660
32660
  mt(this, R0);
@@ -32696,7 +32696,7 @@ var hv = (e) => !y3.has(e), Zn = (e) => e && e === Math.floor(e) && e > 0 && isF
32696
32696
  }
32697
32697
  if (E !== void 0 && typeof E != "function") throw new TypeError("memoMethod must be a function if defined");
32698
32698
  if (Ze(this, ea, E), T !== void 0 && typeof T != "function") throw new TypeError("fetchMethod must be a function if specified");
32699
- if (Ze(this, Ju, T), Ze(this, ru, !!T), Ze(this, l0, /* @__PURE__ */ new Map()), Ze(this, Ht, new Array(r).fill(void 0)), Ze(this, at, new Array(r).fill(void 0)), Ze(this, G0, new pe(r)), Ze(this, fr, new pe(r)), Ze(this, R0, 0), Ze(this, k0, 0), Ze(this, qr, mv.create(r)), Ze(this, x0, 0), Ze(this, Hr, 0), typeof m == "function" && Ze(this, Rr, m), typeof p == "function" && Ze(this, Fu, p), typeof h == "function" ? (Ze(this, Nr, h), Ze(this, C0, [])) : (Ze(this, Nr, void 0), Ze(this, C0, void 0)), Ze(this, Ur, !!H(this, Rr)), Ze(this, ta, !!H(this, Fu)), Ze(this, V0, !!H(this, Nr)), this.noDisposeOnSet = !!x, this.noUpdateTTL = !!k, this.noDeleteOnFetchRejection = !!F, this.allowStaleOnFetchRejection = !!N, this.allowStaleOnFetchAbort = !!U, this.ignoreFetchAbort = !!Y, this.maxEntrySize !== 0) {
32699
+ if (Ze(this, Ju, T), Ze(this, ru, !!T), Ze(this, l0, /* @__PURE__ */ new Map()), Ze(this, Ht, new Array(r).fill(void 0)), Ze(this, ut, new Array(r).fill(void 0)), Ze(this, G0, new pe(r)), Ze(this, fr, new pe(r)), Ze(this, R0, 0), Ze(this, k0, 0), Ze(this, qr, mv.create(r)), Ze(this, x0, 0), Ze(this, Hr, 0), typeof m == "function" && Ze(this, Rr, m), typeof p == "function" && Ze(this, Fu, p), typeof h == "function" ? (Ze(this, Nr, h), Ze(this, C0, [])) : (Ze(this, Nr, void 0), Ze(this, C0, void 0)), Ze(this, Ur, !!H(this, Rr)), Ze(this, ta, !!H(this, Fu)), Ze(this, V0, !!H(this, Nr)), this.noDisposeOnSet = !!x, this.noUpdateTTL = !!k, this.noDeleteOnFetchRejection = !!F, this.allowStaleOnFetchRejection = !!N, this.allowStaleOnFetchAbort = !!U, this.ignoreFetchAbort = !!Y, this.maxEntrySize !== 0) {
32700
32700
  if (H(this, dr) !== 0 && !Zn(H(this, dr))) throw new TypeError("maxSize must be a positive integer if specified");
32701
32701
  if (!Zn(this.maxEntrySize)) throw new TypeError("maxEntrySize must be a positive integer if specified");
32702
32702
  Ue(this, Re, A3).call(this);
@@ -32715,7 +32715,7 @@ var hv = (e) => !y3.has(e), Zn = (e) => e && e === Math.floor(e) && e > 0 && isF
32715
32715
  return H(this, Pr);
32716
32716
  }
32717
32717
  static unsafeExposeInternals(t) {
32718
- return { starts: H(t, $r), ttls: H(t, hr), autopurgeTimers: H(t, mr), sizes: H(t, jr), keyMap: H(t, l0), keyList: H(t, Ht), valList: H(t, at), next: H(t, G0), prev: H(t, fr), get head() {
32718
+ return { starts: H(t, $r), ttls: H(t, hr), autopurgeTimers: H(t, mr), sizes: H(t, jr), keyMap: H(t, l0), keyList: H(t, Ht), valList: H(t, ut), next: H(t, G0), prev: H(t, fr), get head() {
32719
32719
  return H(t, R0);
32720
32720
  }, get tail() {
32721
32721
  return H(t, k0);
@@ -32770,47 +32770,47 @@ var hv = (e) => !y3.has(e), Zn = (e) => e && e === Math.floor(e) && e > 0 && isF
32770
32770
  return H(this, l0).has(t) ? 1 / 0 : 0;
32771
32771
  }
32772
32772
  *entries() {
32773
- for (let t of Ue(this, Re, Kn).call(this)) H(this, at)[t] !== void 0 && H(this, Ht)[t] !== void 0 && !Ue(this, Re, Pt).call(this, H(this, at)[t]) && (yield [H(this, Ht)[t], H(this, at)[t]]);
32773
+ for (let t of Ue(this, Re, Kn).call(this)) H(this, ut)[t] !== void 0 && H(this, Ht)[t] !== void 0 && !Ue(this, Re, Pt).call(this, H(this, ut)[t]) && (yield [H(this, Ht)[t], H(this, ut)[t]]);
32774
32774
  }
32775
32775
  *rentries() {
32776
- for (let t of Ue(this, Re, Qn).call(this)) H(this, at)[t] !== void 0 && H(this, Ht)[t] !== void 0 && !Ue(this, Re, Pt).call(this, H(this, at)[t]) && (yield [H(this, Ht)[t], H(this, at)[t]]);
32776
+ for (let t of Ue(this, Re, Qn).call(this)) H(this, ut)[t] !== void 0 && H(this, Ht)[t] !== void 0 && !Ue(this, Re, Pt).call(this, H(this, ut)[t]) && (yield [H(this, Ht)[t], H(this, ut)[t]]);
32777
32777
  }
32778
32778
  *keys() {
32779
32779
  for (let t of Ue(this, Re, Kn).call(this)) {
32780
32780
  let r = H(this, Ht)[t];
32781
- r !== void 0 && !Ue(this, Re, Pt).call(this, H(this, at)[t]) && (yield r);
32781
+ r !== void 0 && !Ue(this, Re, Pt).call(this, H(this, ut)[t]) && (yield r);
32782
32782
  }
32783
32783
  }
32784
32784
  *rkeys() {
32785
32785
  for (let t of Ue(this, Re, Qn).call(this)) {
32786
32786
  let r = H(this, Ht)[t];
32787
- r !== void 0 && !Ue(this, Re, Pt).call(this, H(this, at)[t]) && (yield r);
32787
+ r !== void 0 && !Ue(this, Re, Pt).call(this, H(this, ut)[t]) && (yield r);
32788
32788
  }
32789
32789
  }
32790
32790
  *values() {
32791
- for (let t of Ue(this, Re, Kn).call(this)) H(this, at)[t] !== void 0 && !Ue(this, Re, Pt).call(this, H(this, at)[t]) && (yield H(this, at)[t]);
32791
+ for (let t of Ue(this, Re, Kn).call(this)) H(this, ut)[t] !== void 0 && !Ue(this, Re, Pt).call(this, H(this, ut)[t]) && (yield H(this, ut)[t]);
32792
32792
  }
32793
32793
  *rvalues() {
32794
- for (let t of Ue(this, Re, Qn).call(this)) H(this, at)[t] !== void 0 && !Ue(this, Re, Pt).call(this, H(this, at)[t]) && (yield H(this, at)[t]);
32794
+ for (let t of Ue(this, Re, Qn).call(this)) H(this, ut)[t] !== void 0 && !Ue(this, Re, Pt).call(this, H(this, ut)[t]) && (yield H(this, ut)[t]);
32795
32795
  }
32796
32796
  [(sf = Symbol.iterator, af = Symbol.toStringTag, sf)]() {
32797
32797
  return this.entries();
32798
32798
  }
32799
32799
  find(t, r = {}) {
32800
32800
  for (let n of Ue(this, Re, Kn).call(this)) {
32801
- let a = H(this, at)[n], u = Ue(this, Re, Pt).call(this, a) ? a.__staleWhileFetching : a;
32801
+ let a = H(this, ut)[n], u = Ue(this, Re, Pt).call(this, a) ? a.__staleWhileFetching : a;
32802
32802
  if (u !== void 0 && t(u, H(this, Ht)[n], this)) return this.get(H(this, Ht)[n], r);
32803
32803
  }
32804
32804
  }
32805
32805
  forEach(t, r = this) {
32806
32806
  for (let n of Ue(this, Re, Kn).call(this)) {
32807
- let a = H(this, at)[n], u = Ue(this, Re, Pt).call(this, a) ? a.__staleWhileFetching : a;
32807
+ let a = H(this, ut)[n], u = Ue(this, Re, Pt).call(this, a) ? a.__staleWhileFetching : a;
32808
32808
  u !== void 0 && t.call(r, u, H(this, Ht)[n], this);
32809
32809
  }
32810
32810
  }
32811
32811
  rforEach(t, r = this) {
32812
32812
  for (let n of Ue(this, Re, Qn).call(this)) {
32813
- let a = H(this, at)[n], u = Ue(this, Re, Pt).call(this, a) ? a.__staleWhileFetching : a;
32813
+ let a = H(this, ut)[n], u = Ue(this, Re, Pt).call(this, a) ? a.__staleWhileFetching : a;
32814
32814
  u !== void 0 && t.call(r, u, H(this, Ht)[n], this);
32815
32815
  }
32816
32816
  }
@@ -32822,7 +32822,7 @@ var hv = (e) => !y3.has(e), Zn = (e) => e && e === Math.floor(e) && e > 0 && isF
32822
32822
  info(t) {
32823
32823
  let r = H(this, l0).get(t);
32824
32824
  if (r === void 0) return;
32825
- let n = H(this, at)[r], a = Ue(this, Re, Pt).call(this, n) ? n.__staleWhileFetching : n;
32825
+ let n = H(this, ut)[r], a = Ue(this, Re, Pt).call(this, n) ? n.__staleWhileFetching : n;
32826
32826
  if (a === void 0) return;
32827
32827
  let u = { value: a };
32828
32828
  if (H(this, hr) && H(this, $r)) {
@@ -32837,7 +32837,7 @@ var hv = (e) => !y3.has(e), Zn = (e) => e && e === Math.floor(e) && e > 0 && isF
32837
32837
  dump() {
32838
32838
  let t = [];
32839
32839
  for (let r of Ue(this, Re, Kn).call(this, { allowStale: !0 })) {
32840
- let n = H(this, Ht)[r], a = H(this, at)[r], u = Ue(this, Re, Pt).call(this, a) ? a.__staleWhileFetching : a;
32840
+ let n = H(this, Ht)[r], a = H(this, ut)[r], u = Ue(this, Re, Pt).call(this, a) ? a.__staleWhileFetching : a;
32841
32841
  if (u === void 0 || n === void 0) continue;
32842
32842
  let o = { value: u };
32843
32843
  if (H(this, hr) && H(this, $r)) {
@@ -32865,17 +32865,17 @@ var hv = (e) => !y3.has(e), Zn = (e) => e && e === Math.floor(e) && e > 0 && isF
32865
32865
  let { ttl: a = this.ttl, start: u, noDisposeOnSet: o = this.noDisposeOnSet, sizeCalculation: c = this.sizeCalculation, status: d } = n, { noUpdateTTL: m = this.noUpdateTTL } = n, p = H(this, si).call(this, t, r, n.size || 0, c);
32866
32866
  if (this.maxEntrySize && p > this.maxEntrySize) return d && (d.set = "miss", d.maxEntrySizeExceeded = !0), Ue(this, Re, Jn).call(this, t, "set"), this;
32867
32867
  let h = H(this, x0) === 0 ? void 0 : H(this, l0).get(t);
32868
- if (h === void 0) h = H(this, x0) === 0 ? H(this, k0) : H(this, qr).length !== 0 ? H(this, qr).pop() : H(this, x0) === H(this, Sr) ? Ue(this, Re, ws).call(this, !1) : H(this, x0), H(this, Ht)[h] = t, H(this, at)[h] = r, H(this, l0).set(t, h), H(this, G0)[H(this, k0)] = h, H(this, fr)[h] = H(this, k0), Ze(this, k0, h), ji(this, x0)._++, H(this, ra).call(this, h, p, d), d && (d.set = "add"), m = !1, H(this, ta) && ((x = H(this, Fu)) == null || x.call(this, r, t, "add"));
32868
+ if (h === void 0) h = H(this, x0) === 0 ? H(this, k0) : H(this, qr).length !== 0 ? H(this, qr).pop() : H(this, x0) === H(this, Sr) ? Ue(this, Re, ws).call(this, !1) : H(this, x0), H(this, Ht)[h] = t, H(this, ut)[h] = r, H(this, l0).set(t, h), H(this, G0)[H(this, k0)] = h, H(this, fr)[h] = H(this, k0), Ze(this, k0, h), ji(this, x0)._++, H(this, ra).call(this, h, p, d), d && (d.set = "add"), m = !1, H(this, ta) && ((x = H(this, Fu)) == null || x.call(this, r, t, "add"));
32869
32869
  else {
32870
32870
  Ue(this, Re, Ia).call(this, h);
32871
- let F = H(this, at)[h];
32871
+ let F = H(this, ut)[h];
32872
32872
  if (r !== F) {
32873
32873
  if (H(this, ru) && Ue(this, Re, Pt).call(this, F)) {
32874
32874
  F.__abortController.abort(new Error("replaced"));
32875
32875
  let { __staleWhileFetching: I } = F;
32876
32876
  I !== void 0 && !o && (H(this, Ur) && ((k = H(this, Rr)) == null || k.call(this, I, t, "set")), H(this, V0) && ((C = H(this, C0)) == null || C.push([I, t, "set"])));
32877
32877
  } else o || (H(this, Ur) && ((B = H(this, Rr)) == null || B.call(this, F, t, "set")), H(this, V0) && ((_ = H(this, C0)) == null || _.push([F, t, "set"])));
32878
- if (H(this, Bu).call(this, h), H(this, ra).call(this, h, p, d), H(this, at)[h] = r, d) {
32878
+ if (H(this, Bu).call(this, h), H(this, ra).call(this, h, p, d), H(this, ut)[h] = r, d) {
32879
32879
  d.set = "replace";
32880
32880
  let I = F && Ue(this, Re, Pt).call(this, F) ? F.__staleWhileFetching : F;
32881
32881
  I !== void 0 && (d.oldValue = I);
@@ -32893,7 +32893,7 @@ var hv = (e) => !y3.has(e), Zn = (e) => e && e === Math.floor(e) && e > 0 && isF
32893
32893
  var t;
32894
32894
  try {
32895
32895
  for (; H(this, x0); ) {
32896
- let r = H(this, at)[H(this, R0)];
32896
+ let r = H(this, ut)[H(this, R0)];
32897
32897
  if (Ue(this, Re, ws).call(this, !0), Ue(this, Re, Pt).call(this, r)) {
32898
32898
  if (r.__staleWhileFetching) return r.__staleWhileFetching;
32899
32899
  } else if (r !== void 0) return r;
@@ -32908,7 +32908,7 @@ var hv = (e) => !y3.has(e), Zn = (e) => e && e === Math.floor(e) && e > 0 && isF
32908
32908
  has(t, r = {}) {
32909
32909
  let { updateAgeOnHas: n = this.updateAgeOnHas, status: a } = r, u = H(this, l0).get(t);
32910
32910
  if (u !== void 0) {
32911
- let o = H(this, at)[u];
32911
+ let o = H(this, ut)[u];
32912
32912
  if (Ue(this, Re, Pt).call(this, o) && o.__staleWhileFetching === void 0) return !1;
32913
32913
  if (H(this, pr).call(this, u)) a && (a.has = "stale", H(this, Fn).call(this, a, u));
32914
32914
  else return n && H(this, Tu).call(this, u), a && (a.has = "hit", H(this, Fn).call(this, a, u)), !0;
@@ -32918,7 +32918,7 @@ var hv = (e) => !y3.has(e), Zn = (e) => e && e === Math.floor(e) && e > 0 && isF
32918
32918
  peek(t, r = {}) {
32919
32919
  let { allowStale: n = this.allowStale } = r, a = H(this, l0).get(t);
32920
32920
  if (a === void 0 || !n && H(this, pr).call(this, a)) return;
32921
- let u = H(this, at)[a];
32921
+ let u = H(this, ut)[a];
32922
32922
  return Ue(this, Re, Pt).call(this, u) ? u.__staleWhileFetching : u;
32923
32923
  }
32924
32924
  async fetch(t, r = {}) {
@@ -32930,7 +32930,7 @@ var hv = (e) => !y3.has(e), Zn = (e) => e && e === Math.floor(e) && e > 0 && isF
32930
32930
  let N = Ue(this, Re, As).call(this, t, I, F, B);
32931
32931
  return N.__returned = N;
32932
32932
  } else {
32933
- let N = H(this, at)[I];
32933
+ let N = H(this, ut)[I];
32934
32934
  if (Ue(this, Re, Pt).call(this, N)) {
32935
32935
  let pe = n && N.__staleWhileFetching !== void 0;
32936
32936
  return T && (T.fetch = "inflight", pe && (T.returnedStale = !0)), pe ? N.__staleWhileFetching : N.__returned = N;
@@ -32957,7 +32957,7 @@ var hv = (e) => !y3.has(e), Zn = (e) => e && e === Math.floor(e) && e > 0 && isF
32957
32957
  get(t, r = {}) {
32958
32958
  let { allowStale: n = this.allowStale, updateAgeOnGet: a = this.updateAgeOnGet, noDeleteOnStaleGet: u = this.noDeleteOnStaleGet, status: o } = r, c = H(this, l0).get(t);
32959
32959
  if (c !== void 0) {
32960
- let d = H(this, at)[c], m = Ue(this, Re, Pt).call(this, d);
32960
+ let d = H(this, ut)[c], m = Ue(this, Re, Pt).call(this, d);
32961
32961
  return o && H(this, Fn).call(this, o, c), H(this, pr).call(this, c) ? (o && (o.get = "stale"), m ? (o && n && d.__staleWhileFetching !== void 0 && (o.returnedStale = !0), n ? d.__staleWhileFetching : void 0) : (u || Ue(this, Re, Jn).call(this, t, "expire"), o && n && (o.returnedStale = !0), n ? d : void 0)) : (o && (o.get = "hit"), m ? d.__staleWhileFetching : (Ue(this, Re, Ia).call(this, c), a && H(this, Tu).call(this, c), d));
32962
32962
  } else o && (o.get = "miss");
32963
32963
  }
@@ -32967,7 +32967,7 @@ var hv = (e) => !y3.has(e), Zn = (e) => e && e === Math.floor(e) && e > 0 && isF
32967
32967
  clear() {
32968
32968
  return Ue(this, Re, Kc).call(this, "delete");
32969
32969
  }
32970
- }, Sr = new WeakMap(), dr = new WeakMap(), Rr = new WeakMap(), Fu = new WeakMap(), Nr = new WeakMap(), Ju = new WeakMap(), ea = new WeakMap(), Pr = new WeakMap(), x0 = new WeakMap(), Hr = new WeakMap(), l0 = new WeakMap(), Ht = new WeakMap(), at = new WeakMap(), G0 = new WeakMap(), fr = new WeakMap(), R0 = new WeakMap(), k0 = new WeakMap(), qr = new WeakMap(), C0 = new WeakMap(), jr = new WeakMap(), $r = new WeakMap(), hr = new WeakMap(), mr = new WeakMap(), Ur = new WeakMap(), ru = new WeakMap(), V0 = new WeakMap(), ta = new WeakMap(), Re = new WeakSet(), Xc = function() {
32970
+ }, Sr = new WeakMap(), dr = new WeakMap(), Rr = new WeakMap(), Fu = new WeakMap(), Nr = new WeakMap(), Ju = new WeakMap(), ea = new WeakMap(), Pr = new WeakMap(), x0 = new WeakMap(), Hr = new WeakMap(), l0 = new WeakMap(), Ht = new WeakMap(), ut = new WeakMap(), G0 = new WeakMap(), fr = new WeakMap(), R0 = new WeakMap(), k0 = new WeakMap(), qr = new WeakMap(), C0 = new WeakMap(), jr = new WeakMap(), $r = new WeakMap(), hr = new WeakMap(), mr = new WeakMap(), Ur = new WeakMap(), ru = new WeakMap(), V0 = new WeakMap(), ta = new WeakMap(), Re = new WeakSet(), Xc = function() {
32971
32971
  let t = new xs(H(this, Sr)), r = new xs(H(this, Sr));
32972
32972
  Ze(this, hr, t), Ze(this, $r, r);
32973
32973
  let n = this.ttlAutopurge ? new Array(H(this, Sr)) : void 0;
@@ -33040,21 +33040,21 @@ var hv = (e) => !y3.has(e), Zn = (e) => e && e === Math.floor(e) && e > 0 && isF
33040
33040
  return t !== void 0 && H(this, l0).get(H(this, Ht)[t]) === t;
33041
33041
  }, ws = function(t) {
33042
33042
  var u, o, c;
33043
- let r = H(this, R0), n = H(this, Ht)[r], a = H(this, at)[r];
33044
- return H(this, ru) && Ue(this, Re, Pt).call(this, a) ? a.__abortController.abort(new Error("evicted")) : (H(this, Ur) || H(this, V0)) && (H(this, Ur) && ((u = H(this, Rr)) == null || u.call(this, a, n, "evict")), H(this, V0) && ((o = H(this, C0)) == null || o.push([a, n, "evict"]))), H(this, Bu).call(this, r), (c = H(this, mr)) != null && c[r] && (clearTimeout(H(this, mr)[r]), H(this, mr)[r] = void 0), t && (H(this, Ht)[r] = void 0, H(this, at)[r] = void 0, H(this, qr).push(r)), H(this, x0) === 1 ? (Ze(this, R0, Ze(this, k0, 0)), H(this, qr).length = 0) : Ze(this, R0, H(this, G0)[r]), H(this, l0).delete(n), ji(this, x0)._--, r;
33043
+ let r = H(this, R0), n = H(this, Ht)[r], a = H(this, ut)[r];
33044
+ return H(this, ru) && Ue(this, Re, Pt).call(this, a) ? a.__abortController.abort(new Error("evicted")) : (H(this, Ur) || H(this, V0)) && (H(this, Ur) && ((u = H(this, Rr)) == null || u.call(this, a, n, "evict")), H(this, V0) && ((o = H(this, C0)) == null || o.push([a, n, "evict"]))), H(this, Bu).call(this, r), (c = H(this, mr)) != null && c[r] && (clearTimeout(H(this, mr)[r]), H(this, mr)[r] = void 0), t && (H(this, Ht)[r] = void 0, H(this, ut)[r] = void 0, H(this, qr).push(r)), H(this, x0) === 1 ? (Ze(this, R0, Ze(this, k0, 0)), H(this, qr).length = 0) : Ze(this, R0, H(this, G0)[r]), H(this, l0).delete(n), ji(this, x0)._--, r;
33045
33045
  }, As = function(t, r, n, a) {
33046
- let u = r === void 0 ? void 0 : H(this, at)[r];
33046
+ let u = r === void 0 ? void 0 : H(this, ut)[r];
33047
33047
  if (Ue(this, Re, Pt).call(this, u)) return u;
33048
33048
  let o = new ao(), { signal: c } = n;
33049
33049
  c == null || c.addEventListener("abort", () => o.abort(c.reason), { signal: o.signal });
33050
33050
  let d = { signal: o.signal, options: n, context: a }, m = (B, _ = !1) => {
33051
33051
  let { aborted: T } = o.signal, E = n.ignoreFetchAbort && B !== void 0, F = n.ignoreFetchAbort || !!(n.allowStaleOnFetchAbort && B !== void 0);
33052
33052
  if (n.status && (T && !_ ? (n.status.fetchAborted = !0, n.status.fetchError = o.signal.reason, E && (n.status.fetchAbortIgnored = !0)) : n.status.fetchResolved = !0), T && !E && !_) return h(o.signal.reason, F);
33053
- let I = k, N = H(this, at)[r];
33054
- return (N === k || E && _ && N === void 0) && (B === void 0 ? I.__staleWhileFetching !== void 0 ? H(this, at)[r] = I.__staleWhileFetching : Ue(this, Re, Jn).call(this, t, "fetch") : (n.status && (n.status.fetchUpdated = !0), this.set(t, B, d.options))), B;
33053
+ let I = k, N = H(this, ut)[r];
33054
+ return (N === k || E && _ && N === void 0) && (B === void 0 ? I.__staleWhileFetching !== void 0 ? H(this, ut)[r] = I.__staleWhileFetching : Ue(this, Re, Jn).call(this, t, "fetch") : (n.status && (n.status.fetchUpdated = !0), this.set(t, B, d.options))), B;
33055
33055
  }, p = (B) => (n.status && (n.status.fetchRejected = !0, n.status.fetchError = B), h(B, !1)), h = (B, _) => {
33056
33056
  let { aborted: T } = o.signal, E = T && n.allowStaleOnFetchAbort, F = E || n.allowStaleOnFetchRejection, I = F || n.noDeleteOnFetchRejection, N = k;
33057
- if (H(this, at)[r] === k && (!I || !_ && N.__staleWhileFetching === void 0 ? Ue(this, Re, Jn).call(this, t, "fetch") : E || (H(this, at)[r] = N.__staleWhileFetching)), F) return n.status && N.__staleWhileFetching !== void 0 && (n.status.returnedStale = !0), N.__staleWhileFetching;
33057
+ if (H(this, ut)[r] === k && (!I || !_ && N.__staleWhileFetching === void 0 ? Ue(this, Re, Jn).call(this, t, "fetch") : E || (H(this, ut)[r] = N.__staleWhileFetching)), F) return n.status && N.__staleWhileFetching !== void 0 && (n.status.returnedStale = !0), N.__staleWhileFetching;
33058
33058
  if (N.__returned === N) throw B;
33059
33059
  }, x = (B, _) => {
33060
33060
  var E;
@@ -33065,7 +33065,7 @@ var hv = (e) => !y3.has(e), Zn = (e) => e && e === Math.floor(e) && e > 0 && isF
33065
33065
  };
33066
33066
  n.status && (n.status.fetchDispatched = !0);
33067
33067
  let k = new Promise(x).then(m, p), C = Object.assign(k, { __abortController: o, __staleWhileFetching: u, __returned: void 0 });
33068
- return r === void 0 ? (this.set(t, C, { ...d.options, status: void 0 }), r = H(this, l0).get(t)) : H(this, at)[r] = C, C;
33068
+ return r === void 0 ? (this.set(t, C, { ...d.options, status: void 0 }), r = H(this, l0).get(t)) : H(this, ut)[r] = C, C;
33069
33069
  }, Pt = function(t) {
33070
33070
  if (!H(this, ru)) return !1;
33071
33071
  let r = t;
@@ -33082,8 +33082,8 @@ var hv = (e) => !y3.has(e), Zn = (e) => e && e === Math.floor(e) && e > 0 && isF
33082
33082
  if (p !== void 0) if ((a = H(this, mr)) != null && a[p] && (clearTimeout((u = H(this, mr)) == null ? void 0 : u[p]), H(this, mr)[p] = void 0), n = !0, H(this, x0) === 1) Ue(this, Re, Kc).call(this, r);
33083
33083
  else {
33084
33084
  H(this, Bu).call(this, p);
33085
- let h = H(this, at)[p];
33086
- if (Ue(this, Re, Pt).call(this, h) ? h.__abortController.abort(new Error("deleted")) : (H(this, Ur) || H(this, V0)) && (H(this, Ur) && ((o = H(this, Rr)) == null || o.call(this, h, t, r)), H(this, V0) && ((c = H(this, C0)) == null || c.push([h, t, r]))), H(this, l0).delete(t), H(this, Ht)[p] = void 0, H(this, at)[p] = void 0, p === H(this, k0)) Ze(this, k0, H(this, fr)[p]);
33085
+ let h = H(this, ut)[p];
33086
+ if (Ue(this, Re, Pt).call(this, h) ? h.__abortController.abort(new Error("deleted")) : (H(this, Ur) || H(this, V0)) && (H(this, Ur) && ((o = H(this, Rr)) == null || o.call(this, h, t, r)), H(this, V0) && ((c = H(this, C0)) == null || c.push([h, t, r]))), H(this, l0).delete(t), H(this, Ht)[p] = void 0, H(this, ut)[p] = void 0, p === H(this, k0)) Ze(this, k0, H(this, fr)[p]);
33087
33087
  else if (p === H(this, R0)) Ze(this, R0, H(this, G0)[p]);
33088
33088
  else {
33089
33089
  let x = H(this, fr)[p];
@@ -33102,14 +33102,14 @@ var hv = (e) => !y3.has(e), Zn = (e) => e && e === Math.floor(e) && e > 0 && isF
33102
33102
  }, Kc = function(t) {
33103
33103
  var r, n, a, u;
33104
33104
  for (let o of Ue(this, Re, Qn).call(this, { allowStale: !0 })) {
33105
- let c = H(this, at)[o];
33105
+ let c = H(this, ut)[o];
33106
33106
  if (Ue(this, Re, Pt).call(this, c)) c.__abortController.abort(new Error("deleted"));
33107
33107
  else {
33108
33108
  let d = H(this, Ht)[o];
33109
33109
  H(this, Ur) && ((r = H(this, Rr)) == null || r.call(this, c, d, t)), H(this, V0) && ((n = H(this, C0)) == null || n.push([c, d, t]));
33110
33110
  }
33111
33111
  }
33112
- if (H(this, l0).clear(), H(this, at).fill(void 0), H(this, Ht).fill(void 0), H(this, hr) && H(this, $r)) {
33112
+ if (H(this, l0).clear(), H(this, ut).fill(void 0), H(this, Ht).fill(void 0), H(this, hr) && H(this, $r)) {
33113
33113
  H(this, hr).fill(0), H(this, $r).fill(0);
33114
33114
  for (let o of H(this, mr) ?? []) o !== void 0 && clearTimeout(o);
33115
33115
  (a = H(this, mr)) == null || a.fill(void 0);
@@ -35700,7 +35700,7 @@ const Es = /* @__PURE__ */ Xe({
35700
35700
  class: "f-chat-preview-content-nav"
35701
35701
  }, [y("div", {
35702
35702
  class: "f-chat-preview-content-nav-title"
35703
- }, [nt("全部文件")]), y("div", {
35703
+ }, [it("全部文件")]), y("div", {
35704
35704
  class: "f-chat-preview-content-nav-content"
35705
35705
  }, [d.value.map((ve, ne) => y("div", {
35706
35706
  key: ne,
@@ -35770,7 +35770,7 @@ const Es = /* @__PURE__ */ Xe({
35770
35770
  }, null)])])]);
35771
35771
  }
35772
35772
  });
35773
- function pw(e, t) {
35773
+ function mw(e, t) {
35774
35774
  const r = typeof window < "u" ? window.AgentWorkbenchSDK : void 0;
35775
35775
  if (!r) {
35776
35776
  console.warn("[AgentWorkbenchSDK] invoke: window.AgentWorkbenchSDK is not available");
@@ -35788,7 +35788,7 @@ function pw(e, t) {
35788
35788
  return;
35789
35789
  }
35790
35790
  }
35791
- function gw(e) {
35791
+ function pw(e) {
35792
35792
  return my(e);
35793
35793
  }
35794
35794
  let xy = 0;
@@ -35797,14 +35797,14 @@ function Eu() {
35797
35797
  var e;
35798
35798
  return ((e = Ua[Ua.length - 1]) == null ? void 0 : e.h) ?? {};
35799
35799
  }
35800
- function bw(e) {
35800
+ function gw(e) {
35801
35801
  const t = ++xy;
35802
35802
  return Ua.push({ id: t, h: e }), () => {
35803
35803
  const r = Ua.findIndex((n) => n.id === t);
35804
35804
  r >= 0 && Ua.splice(r, 1);
35805
35805
  };
35806
35806
  }
35807
- const vw = {
35807
+ const bw = {
35808
35808
  /**
35809
35809
  * 打开或更新预览:右侧空 → 单栏右侧;仅右侧已有 → 双栏(旧右→左,新→右);**左右已有 → 只替换右侧 iframe**。
35810
35810
  */
@@ -35911,7 +35911,7 @@ function Dy() {
35911
35911
  function ky() {
35912
35912
  return y("span", {
35913
35913
  class: "f-chat-confirm-dialog-icon-letter"
35914
- }, [nt("i")]);
35914
+ }, [it("i")]);
35915
35915
  }
35916
35916
  function Cy() {
35917
35917
  return y("svg", {
@@ -35995,7 +35995,7 @@ let Ga = null, Ss = null;
35995
35995
  function e1() {
35996
35996
  Ga && (Ga.unmount(), Ga = null), Ss && (Ss.remove(), Ss = null);
35997
35997
  }
35998
- function yw(e) {
35998
+ function vw(e) {
35999
35999
  return new Promise((t) => {
36000
36000
  e1();
36001
36001
  const r = document.createElement("div");
@@ -36025,7 +36025,7 @@ function yw(e) {
36025
36025
  }), Ga.mount(r);
36026
36026
  });
36027
36027
  }
36028
- function xw() {
36028
+ function yw() {
36029
36029
  e1();
36030
36030
  }
36031
36031
  Wa.install = (e) => {
@@ -36605,7 +36605,7 @@ const Fs = /* @__PURE__ */ Xe({
36605
36605
  }
36606
36606
  }, null), y("span", {
36607
36607
  class: "f-chat-coding-header-icon-fallback"
36608
- }, [nt("📄")])]), y("span", {
36608
+ }, [it("📄")])]), y("span", {
36609
36609
  class: "f-chat-coding-header-expand"
36610
36610
  }, [y("i", {
36611
36611
  class: t.value ? "fx-icon fx-icon-foldup" : "fx-icon fx-icon-expanddown"
@@ -36615,9 +36615,9 @@ const Fs = /* @__PURE__ */ Xe({
36615
36615
  class: "f-chat-coding-header-stats"
36616
36616
  }, [y("span", {
36617
36617
  class: "f-chat-coding-stat-add"
36618
- }, [nt("+"), E.addedLines]), y("span", {
36618
+ }, [it("+"), E.addedLines]), y("span", {
36619
36619
  class: "f-chat-coding-stat-del"
36620
- }, [nt("-"), E.deletedLines])])]), y("div", {
36620
+ }, [it("-"), E.deletedLines])])]), y("div", {
36621
36621
  style: {
36622
36622
  display: t.value ? "block" : "none"
36623
36623
  }
@@ -36755,7 +36755,7 @@ const Ts = /* @__PURE__ */ Xe({
36755
36755
  }
36756
36756
  }, null), y("span", {
36757
36757
  class: "f-chat-file-op-file-icon-fallback"
36758
- }, [nt("📄")])]), y("span", {
36758
+ }, [it("📄")])]), y("span", {
36759
36759
  class: "f-chat-file-op-file-name"
36760
36760
  }, [E.file]), y("span", {
36761
36761
  class: "f-chat-file-op-file-path",
@@ -36849,7 +36849,7 @@ const wx = {
36849
36849
  return e.progress > 0 && y("div", {
36850
36850
  class: ["fx-generate-process--progress-text", (m = e.classNames) == null ? void 0 : m["progress-text"]],
36851
36851
  style: (p = e.styles) == null ? void 0 : p["progress-text"]
36852
- }, [e.progress, nt("%")]);
36852
+ }, [e.progress, it("%")]);
36853
36853
  }
36854
36854
  function c() {
36855
36855
  return y("div", {
@@ -36884,7 +36884,7 @@ const wx = {
36884
36884
  }
36885
36885
  }, null), !e.description && o()]), e.description && e.progress > 0 && y("div", {
36886
36886
  class: "fx-generate-process--progress"
36887
- }, [u(), nt(" "), o()])])]);
36887
+ }, [u(), it(" "), o()])])]);
36888
36888
  };
36889
36889
  }
36890
36890
  });
@@ -37468,7 +37468,7 @@ const Fx = {
37468
37468
  class: t.value ? "fx-icon fx-icon-foldup" : "fx-icon fx-icon-expanddown"
37469
37469
  }, null)])]), y("span", {
37470
37470
  class: "f-chat-todo-header-label"
37471
- }, [nt("待办任务")]), y("span", {
37471
+ }, [it("待办任务")]), y("span", {
37472
37472
  class: "f-chat-todo-header-count"
37473
37473
  }, [r.value])]), t.value && y("div", {
37474
37474
  class: "f-chat-todo-content"
@@ -37854,7 +37854,7 @@ const Ox = {
37854
37854
  class: "tag-text"
37855
37855
  }, [h[e.valueField]]), h[e.valueField] > e.maxNum && y("span", {
37856
37856
  class: "tag-text"
37857
- }, [e.maxNum, nt("+")])])]), y("div", {
37857
+ }, [e.maxNum, it("+")])])]), y("div", {
37858
37858
  class: "farris-nav-item-bottom-line"
37859
37859
  }, null)])]))]);
37860
37860
  };
@@ -37968,7 +37968,7 @@ const Lx = {
37968
37968
  onClick: () => o(p)
37969
37969
  }, [d(p)])), !e.loading && a.value.length === 0 && y("li", {
37970
37970
  class: "search-box-empty"
37971
- }, [nt("无匹配结果")])])]);
37971
+ }, [it("无匹配结果")])])]);
37972
37972
  }
37973
37973
  }), Ns = /* @__PURE__ */ Xe({
37974
37974
  name: "FXSearchBox",
@@ -38448,7 +38448,7 @@ const uc = /* @__PURE__ */ Xe({
38448
38448
  }, [y("span", {
38449
38449
  class: "f-ec-attach-icon",
38450
38450
  "aria-hidden": !0
38451
- }, [nt("📎")]), y("span", {
38451
+ }, [it("📎")]), y("span", {
38452
38452
  class: "f-ec-attach-body"
38453
38453
  }, [y("span", {
38454
38454
  class: "f-ec-attach-name"
@@ -38517,14 +38517,14 @@ const Wx = {
38517
38517
  class: "f-ec-error-badge"
38518
38518
  }, [Wx[t]]), y("span", {
38519
38519
  class: "f-ec-error-label"
38520
- }, [nt("错误提醒")])]), y("div", {
38520
+ }, [it("错误提醒")])]), y("div", {
38521
38521
  class: "f-ec-error-text"
38522
38522
  }, [e.content.errorText]), e.content.errorLink ? y("a", {
38523
38523
  class: "f-ec-error-link",
38524
38524
  href: e.content.errorLink,
38525
38525
  target: "_blank",
38526
38526
  rel: "noopener noreferrer"
38527
- }, [nt("查看详情")]) : null]);
38527
+ }, [it("查看详情")]) : null]);
38528
38528
  };
38529
38529
  }
38530
38530
  });
@@ -38604,19 +38604,19 @@ const Hs = /* @__PURE__ */ Xe({
38604
38604
  "data-testid": "auth-per-access",
38605
38605
  disabled: e.disabled,
38606
38606
  onClick: () => r("PER_ACCESS_YES")
38607
- }, [nt("临时授权一次")]), y("button", {
38607
+ }, [it("临时授权一次")]), y("button", {
38608
38608
  type: "button",
38609
38609
  class: "f-credential-auth-dialog__btn f-credential-auth-dialog__btn--outline",
38610
38610
  "data-testid": "auth-session",
38611
38611
  disabled: e.disabled,
38612
38612
  onClick: () => r("SESSION_YES")
38613
- }, [nt("授权整个会话")]), y("button", {
38613
+ }, [it("授权整个会话")]), y("button", {
38614
38614
  type: "button",
38615
38615
  class: "f-credential-auth-dialog__btn f-credential-auth-dialog__btn--outline",
38616
38616
  "data-testid": "auth-no",
38617
38617
  disabled: e.disabled,
38618
38618
  onClick: () => r("NO")
38619
- }, [nt("拒绝")])])])]);
38619
+ }, [it("拒绝")])])])]);
38620
38620
  return n.value ? y(so, {
38621
38621
  to: n.value
38622
38622
  }, Gx(a) ? a : {
@@ -38964,9 +38964,9 @@ const sc = /* @__PURE__ */ Xe({
38964
38964
  onClick: Qe
38965
38965
  }, [y("span", {
38966
38966
  class: "f-hitl-opt-row__index"
38967
- }, [nt("...")]), y("span", {
38967
+ }, [it("...")]), y("span", {
38968
38968
  class: "f-hitl-opt-row__label"
38969
- }, [nt("其他")]), y("span", {
38969
+ }, [it("其他")]), y("span", {
38970
38970
  class: "f-hitl-opt-row__check"
38971
38971
  }, [me ? y("span", {
38972
38972
  class: "fx-icon fx-icon-sender_choose",
@@ -39059,14 +39059,14 @@ const sc = /* @__PURE__ */ Xe({
39059
39059
  }],
39060
39060
  disabled: u.value,
39061
39061
  onClick: () => F(X.id, !0)
39062
- }, [nt("是")]), y("button", {
39062
+ }, [it("是")]), y("button", {
39063
39063
  type: "button",
39064
39064
  class: ["f-hitl-cbtn", {
39065
39065
  "f-hitl-cbtn--primary": Q === !1
39066
39066
  }],
39067
39067
  disabled: u.value,
39068
39068
  onClick: () => F(X.id, !1)
39069
- }, [nt("否")])])]);
39069
+ }, [it("否")])])]);
39070
39070
  }
39071
39071
  if (Z === "authorize")
39072
39072
  return y("div", {
@@ -39094,7 +39094,7 @@ const sc = /* @__PURE__ */ Xe({
39094
39094
  key: X.id
39095
39095
  }, [y("div", {
39096
39096
  class: "f-hitl-unsupported"
39097
- }, [nt("暂不支持 ui_type「"), String(X.ui_type), nt("」,请升级前端。")])]);
39097
+ }, [it("暂不支持 ui_type「"), String(X.ui_type), it("」,请升级前端。")])]);
39098
39098
  }
39099
39099
  function te(X) {
39100
39100
  const Z = Yn(X.ui_type), Q = (fe, ke, ie) => y("input", {
@@ -39234,7 +39234,7 @@ const sc = /* @__PURE__ */ Xe({
39234
39234
  class: "fx-icon fx-icon-arrow-left"
39235
39235
  }, null)]), y("span", {
39236
39236
  class: "f-hitl-pagination__text"
39237
- }, [r.value + 1, nt("/"), p.value]), y("button", {
39237
+ }, [r.value + 1, it("/"), p.value]), y("button", {
39238
39238
  type: "button",
39239
39239
  class: "f-hitl-pagination__btn",
39240
39240
  disabled: k.value,
@@ -39283,12 +39283,12 @@ const sc = /* @__PURE__ */ Xe({
39283
39283
  class: "f-hitl-btn",
39284
39284
  disabled: e.required && !C.value,
39285
39285
  onClick: B
39286
- }, [nt("下一条")]), k.value && y("button", {
39286
+ }, [it("下一条")]), k.value && y("button", {
39287
39287
  type: "button",
39288
39288
  class: "f-hitl-btn",
39289
39289
  disabled: !E.value,
39290
39290
  onClick: j
39291
- }, [nt("提交")])])]);
39291
+ }, [it("提交")])])]);
39292
39292
  if (e.pinned) {
39293
39293
  const ie = y("div", {
39294
39294
  class: "f-hitl-pinned-spacer",
@@ -39418,7 +39418,7 @@ const lc = /* @__PURE__ */ Xe({
39418
39418
  class: "f-ec-linkcard-related"
39419
39419
  }, [y("div", {
39420
39420
  class: "f-ec-linkcard-related-label"
39421
- }, [nt("相关阅读")]), y("ul", null, [t.relatedLinks.map((r, n) => y("li", {
39421
+ }, [it("相关阅读")]), y("ul", null, [t.relatedLinks.map((r, n) => y("li", {
39422
39422
  key: n
39423
39423
  }, [y("a", {
39424
39424
  href: r.url,
@@ -39444,7 +39444,7 @@ const cc = /* @__PURE__ */ Xe({
39444
39444
  class: "f-ec-sources"
39445
39445
  }, [y("div", {
39446
39446
  class: "f-ec-sources-title"
39447
- }, [nt("引用来源")]), y("ul", {
39447
+ }, [it("引用来源")]), y("ul", {
39448
39448
  class: "f-ec-sources-list"
39449
39449
  }, [e.content.items.map((t, r) => y("li", {
39450
39450
  key: r
@@ -39458,20 +39458,6 @@ const cc = /* @__PURE__ */ Xe({
39458
39458
  cc.install = (e) => {
39459
39459
  e.component(cc.name, cc);
39460
39460
  };
39461
- function Zx(e) {
39462
- const t = /* @__PURE__ */ new Map();
39463
- for (const r of e) {
39464
- const n = t.get(r.docId), a = typeof r.url == "string" && r.url.trim() !== "" ? r.url.trim() : void 0;
39465
- n ? (n.chunkCount += 1, n.contentIds.push(r.contentId), !n.url && a && (n.url = a)) : t.set(r.docId, {
39466
- key: r.docId,
39467
- docName: r.docName,
39468
- chunkCount: 1,
39469
- contentIds: [r.contentId],
39470
- ...a ? { url: a } : {}
39471
- });
39472
- }
39473
- return [...t.values()];
39474
- }
39475
39461
  const dc = /* @__PURE__ */ Xe({
39476
39462
  name: "FXKnowledgeTraceStrip",
39477
39463
  props: {
@@ -39484,68 +39470,44 @@ const dc = /* @__PURE__ */ Xe({
39484
39470
  setup(e, {
39485
39471
  emit: t
39486
39472
  }) {
39487
- const r = ye(!1), n = le(() => Zx(e.content.chunks ?? [])), a = le(() => {
39488
- var d;
39489
- return ((d = e.content.chunks) == null ? void 0 : d.length) ?? 0;
39490
- }), u = () => {
39473
+ const r = le(() => {
39474
+ var a;
39475
+ return ((a = e.content.chunks) == null ? void 0 : a.length) ?? 0;
39476
+ }), n = () => {
39491
39477
  t("open");
39492
- }, o = (d) => {
39493
- d.stopPropagation(), r.value = !r.value;
39494
- }, c = (d, m) => {
39495
- d.stopPropagation();
39496
- const p = typeof m == "string" ? m.trim() : "";
39497
- !p || typeof window > "u" || window.open(p, "_blank", "noopener,noreferrer");
39498
39478
  };
39499
- return () => a.value ? y("div", {
39500
- class: "f-ec-knowledge-trace"
39501
- }, [y("div", {
39502
- class: "f-ec-knowledge-trace__header",
39503
- onClick: u
39504
- }, [y("span", {
39505
- class: "f-ec-knowledge-trace__main"
39479
+ return () => r.value ? y("button", {
39480
+ type: "button",
39481
+ class: "f-ec-knowledge-trace",
39482
+ "data-testid": "knowledge-trace-chip",
39483
+ "aria-label": `${r.value}条参考来源`,
39484
+ onClick: n
39506
39485
  }, [y("svg", {
39507
39486
  class: "f-ec-knowledge-trace__icon",
39508
39487
  width: "16",
39509
39488
  height: "16",
39510
- viewBox: "0 0 24 24",
39489
+ viewBox: "0 0 16 16",
39511
39490
  fill: "none",
39512
- stroke: "currentColor",
39513
- "stroke-width": "2",
39514
39491
  "aria-hidden": "true"
39515
- }, [y("circle", {
39516
- cx: "12",
39517
- cy: "12",
39518
- r: "10"
39492
+ }, [y("path", {
39493
+ d: "M4.5 2.5h5.086L12.5 5.414V13.5a.5.5 0 0 1-.5.5h-7.5a.5.5 0 0 1-.5-.5v-10.5a.5.5 0 0 1 .5-.5Z",
39494
+ stroke: "currentColor",
39495
+ "stroke-width": "1.2",
39496
+ "stroke-linejoin": "round"
39519
39497
  }, null), y("path", {
39520
- d: "M12 16v-4M12 8h.01"
39521
- }, null)]), y("span", null, [nt("知识溯源 · "), a.value, nt(" 条参考来源")])]), y("button", {
39522
- type: "button",
39523
- class: "f-ec-knowledge-trace__toggle",
39524
- "aria-label": r.value ? "收起原始文档" : "展开原始文档",
39525
- title: r.value ? "收起原始文档" : "展开原始文档",
39526
- "data-testid": "knowledge-trace-files-toggle",
39527
- onClick: o
39528
- }, [y("span", {
39529
- class: ["f-ec-knowledge-trace__toggle-icon", r.value && "f-ec-knowledge-trace__toggle-icon--open"]
39530
- }, [nt("▼")])])]), r.value && n.value.length > 0 ? y("div", {
39531
- class: "f-ec-knowledge-trace__files"
39532
- }, [n.value.map((d) => y("div", {
39533
- key: d.key,
39534
- class: "f-ec-knowledge-trace__file",
39535
- "data-testid": "knowledge-trace-source-file"
39536
- }, [y("button", {
39537
- type: "button",
39538
- class: ["f-ec-knowledge-trace__file-name", !d.url && "f-ec-knowledge-trace__file-name--disabled"],
39539
- title: d.docName,
39540
- disabled: !d.url,
39541
- "data-testid": "knowledge-trace-source-file-preview",
39542
- onClick: (m) => c(m, d.url)
39543
- }, [d.docName]), y("span", {
39544
- class: "f-ec-knowledge-trace__file-meta"
39545
- }, [d.chunkCount, nt(" 条切片")])]))]) : null]) : null;
39498
+ d: "M9.5 2.5V5.5H12.5",
39499
+ stroke: "currentColor",
39500
+ "stroke-width": "1.2",
39501
+ "stroke-linejoin": "round"
39502
+ }, null), y("path", {
39503
+ d: "M5.5 8.5h5M5.5 11h3.5",
39504
+ stroke: "currentColor",
39505
+ "stroke-width": "1.2",
39506
+ "stroke-linecap": "round"
39507
+ }, null)]), y("span", null, [r.value, it("条参考来源")])]) : null;
39546
39508
  }
39547
39509
  });
39548
- function Kx(e) {
39510
+ function Zx(e) {
39549
39511
  return Number.isFinite(e) ? Number(e).toFixed(4) : "";
39550
39512
  }
39551
39513
  const nf = /* @__PURE__ */ Xe({
@@ -39605,20 +39567,20 @@ const nf = /* @__PURE__ */ Xe({
39605
39567
  class: "f-ec-knowledge-trace-panel__header"
39606
39568
  }, [y("span", {
39607
39569
  class: "f-ec-knowledge-trace-panel__title"
39608
- }, [nt("参考来源 · "), d.length]), y("button", {
39570
+ }, [it("参考来源 · "), d.length]), y("button", {
39609
39571
  type: "button",
39610
39572
  class: "f-ec-knowledge-trace-panel__close",
39611
39573
  "aria-label": "关闭",
39612
39574
  title: "关闭",
39613
39575
  "data-testid": "knowledge-trace-panel-close",
39614
39576
  onClick: a
39615
- }, [nt("×")])]), y("div", {
39577
+ }, [it("×")])]), y("div", {
39616
39578
  class: "f-ec-knowledge-trace-panel__body",
39617
39579
  ref: n
39618
39580
  }, [d.length === 0 ? y("div", {
39619
39581
  class: "f-ec-knowledge-trace-panel__empty"
39620
- }, [nt("暂无参考来源")]) : d.map((m, p) => {
39621
- const h = m.contentId === e.selectedContentId, x = !!r.value[m.contentId], k = typeof m.score == "number" ? Kx(m.score) : "", C = String(p + 1), B = typeof m.url == "string" && m.url.trim() !== "" ? m.url.trim() : "";
39582
+ }, [it("暂无参考来源")]) : d.map((m, p) => {
39583
+ const h = m.contentId === e.selectedContentId, x = !!r.value[m.contentId], k = typeof m.score == "number" ? Zx(m.score) : "", C = String(p + 1), B = typeof m.url == "string" && m.url.trim() !== "" ? m.url.trim() : "";
39622
39584
  return y("div", {
39623
39585
  key: m.contentId,
39624
39586
  class: ["f-ec-knowledge-trace-panel__card", h && "f-ec-knowledge-trace-panel__card--selected", x && "f-ec-knowledge-trace-panel__card--expanded"],
@@ -39650,6 +39612,20 @@ const nf = /* @__PURE__ */ Xe({
39650
39612
  };
39651
39613
  }
39652
39614
  });
39615
+ function xw(e) {
39616
+ const t = /* @__PURE__ */ new Map();
39617
+ for (const r of e) {
39618
+ const n = t.get(r.docId), a = typeof r.url == "string" && r.url.trim() !== "" ? r.url.trim() : void 0;
39619
+ n ? (n.chunkCount += 1, n.contentIds.push(r.contentId), !n.url && a && (n.url = a)) : t.set(r.docId, {
39620
+ key: r.docId,
39621
+ docName: r.docName,
39622
+ chunkCount: 1,
39623
+ contentIds: [r.contentId],
39624
+ ...a ? { url: a } : {}
39625
+ });
39626
+ }
39627
+ return [...t.values()];
39628
+ }
39653
39629
  dc.install = (e) => {
39654
39630
  e.component(dc.name, dc), e.component(nf.name, nf);
39655
39631
  };
@@ -39666,9 +39642,9 @@ const fc = /* @__PURE__ */ Xe({
39666
39642
  class: "f-ec-unknown"
39667
39643
  }, [y("div", {
39668
39644
  class: "f-ec-unknown-title"
39669
- }, [nt("未知类型消息")]), e.content.wireType ? y("div", {
39645
+ }, [it("未知类型消息")]), e.content.wireType ? y("div", {
39670
39646
  class: "f-ec-unknown-wire"
39671
- }, [nt("wire type: "), e.content.wireType]) : null, y("div", {
39647
+ }, [it("wire type: "), e.content.wireType]) : null, y("div", {
39672
39648
  class: "f-ec-unknown-desc"
39673
39649
  }, [e.content.hint ?? "客户端无法识别此消息类型,已按占位展示。"])]);
39674
39650
  }
@@ -39736,7 +39712,7 @@ export {
39736
39712
  B3 as PREVIEW_BRIDGE_SOURCE,
39737
39713
  M3 as PREVIEW_BRIDGE_VERSION,
39738
39714
  qx as agentThinkingProps,
39739
- Zx as aggregateKnowledgeTraceByDoc,
39715
+ xw as aggregateKnowledgeTraceByDoc,
39740
39716
  X6 as appPreviewMessageProps,
39741
39717
  Bx as attachmentPreviewProps,
39742
39718
  mb as bubbleActionProps,
@@ -39746,10 +39722,10 @@ export {
39746
39722
  Dx as chatHistoryProps,
39747
39723
  Ab as chatPreviewProps,
39748
39724
  cy as clonePreviewPayloadForPostMessage,
39749
- xw as closeFXConfirmDialog,
39725
+ yw as closeFXConfirmDialog,
39750
39726
  gx as codingMessageProps,
39751
39727
  wy as confirmDialogProps,
39752
- gw as createPreviewIframeSdk,
39728
+ pw as createPreviewIframeSdk,
39753
39729
  ww as default,
39754
39730
  e5 as extractFileIdFromRuntimeDownloadUrl,
39755
39731
  f5 as fileEmbeddedContentProps,
@@ -39757,9 +39733,9 @@ export {
39757
39733
  wx as generateProcessProps,
39758
39734
  d0 as getCustomClass,
39759
39735
  F0 as getCustomStyle,
39760
- dw as getDynamicCompState,
39736
+ cw as getDynamicCompState,
39761
39737
  l3 as getDynamicComponentRegistryDebugSnapshot,
39762
- pw as invokeAgentWorkbenchSdkApi,
39738
+ mw as invokeAgentWorkbenchSdkApi,
39763
39739
  u5 as isImageUrl,
39764
39740
  dy as isPreviewBridgeAssistantMessage,
39765
39741
  P3 as listViewProps,
@@ -39768,16 +39744,16 @@ export {
39768
39744
  Db as markdownPreviewProps,
39769
39745
  Ox as navProps,
39770
39746
  z0 as normalizeDynamicComponentRegisterClaim,
39771
- yw as openFXConfirmDialog,
39747
+ vw as openFXConfirmDialog,
39772
39748
  l5 as overflowTooltipDirective,
39773
- cw as peekDynamicComponentRegisterBootstrapId,
39749
+ lw as peekDynamicComponentRegisterBootstrapId,
39774
39750
  Jg as popoverProps,
39775
39751
  hy as postAssistantToPreviewIframe,
39776
- fw as postDynamicComponentAssistantMessage,
39777
- vw as previewLayoutBridge,
39752
+ dw as postDynamicComponentAssistantMessage,
39753
+ bw as previewLayoutBridge,
39778
39754
  Ex as promptProps,
39779
39755
  Cx as promptsProps,
39780
- bw as registerPreviewChromeSdk,
39756
+ gw as registerPreviewChromeSdk,
39781
39757
  u1 as renderIconNode,
39782
39758
  ss as renderNode,
39783
39759
  Xa as resolveHrefForAttachmentDownload,