ant-design-x-vue 0.0.11 → 0.0.12

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.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  var Hi = Object.defineProperty;
2
2
  var Ni = (e, t, n) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var Re = (e, t, n) => Ni(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { computed as h, inject as ne, shallowRef as J, defineComponent as H, provide as fe, watch as R, unref as O, triggerRef as ye, useSlots as It, createVNode as u, mergeProps as q, ref as B, onWatcherCleanup as ct, toValue as F, getCurrentInstance as yo, watchEffect as ke, onBeforeUnmount as Ri, Fragment as De, mergeDefaults as le, toRef as G, isVNode as In, useAttrs as Bi, h as sr, nextTick as Li, reactive as zi, toRaw as ji, createTextVNode as bo, useTemplateRef as Fe, Teleport as Di, openBlock as So, createElementBlock as Co, createElementVNode as je, useId as Fi, withDirectives as Xi, vShow as Vi } from "vue";
5
- import { ConfigProvider as Wi, theme as xo, Avatar as $o, Tooltip as ki, Typography as de, Dropdown as Gi, Menu as Ui, Flex as _e, Cascader as qi, Button as et, Input as Ki, Upload as wo, Progress as Zi } from "ant-design-vue";
4
+ import { computed as f, inject as ne, shallowRef as J, defineComponent as H, provide as fe, watch as R, unref as O, triggerRef as ye, useSlots as Mt, createVNode as u, mergeProps as q, ref as B, onWatcherCleanup as ke, toValue as z, getCurrentInstance as yo, watchEffect as Ge, onBeforeUnmount as Ri, Fragment as De, mergeDefaults as le, toRef as G, isVNode as Mn, useAttrs as Bi, h as sr, nextTick as Li, reactive as zi, toRaw as ji, createTextVNode as bo, useTemplateRef as Fe, Teleport as Di, openBlock as So, createElementBlock as Co, createElementVNode as je, useId as Fi, withDirectives as Xi, vShow as Vi } from "vue";
5
+ import { ConfigProvider as Wi, theme as xo, Avatar as $o, Tooltip as ki, Typography as de, Dropdown as Gi, Menu as Ui, Flex as et, Cascader as qi, Button as tt, Input as Ki, Upload as wo, Progress as Zi } from "ant-design-vue";
6
6
  import { theme as qd } from "ant-design-vue";
7
7
  function Yi(e) {
8
8
  return {
@@ -12,9 +12,9 @@ function Yi(e) {
12
12
  }
13
13
  const Qi = "anticon", Ji = Symbol("configProvider"), _i = {
14
14
  getPrefixCls: (e, t) => t || (e ? `ant-${e}` : "ant"),
15
- iconPrefixCls: h(() => Qi),
16
- getPopupContainer: h(() => () => document.body),
17
- direction: h(() => "ltr")
15
+ iconPrefixCls: f(() => Qi),
16
+ getPopupContainer: f(() => () => document.body),
17
+ direction: f(() => "ltr")
18
18
  }, ea = () => ne(Ji, _i), Hd = "ant";
19
19
  function _() {
20
20
  const { getPrefixCls: e, direction: t, csp: n, iconPrefixCls: r, theme: o } = ea();
@@ -41,7 +41,7 @@ const ta = (e) => {
41
41
  function be(e) {
42
42
  return { type: Object, default: e };
43
43
  }
44
- function Ft(e) {
44
+ function Dt(e) {
45
45
  return { type: Boolean, default: e };
46
46
  }
47
47
  function na(e, t) {
@@ -57,23 +57,23 @@ function ur(e) {
57
57
  function ra(e, t) {
58
58
  return e ? { type: e, default: t } : na(t);
59
59
  }
60
- const To = Symbol("XProviderContext"), rn = J(), oa = (e) => {
60
+ const To = Symbol("XProviderContext"), nn = J(), oa = (e) => {
61
61
  fe(To, e), R(
62
62
  e,
63
63
  () => {
64
- rn.value = O(e), ye(rn);
64
+ nn.value = O(e), ye(nn);
65
65
  },
66
66
  { immediate: !0, deep: !0 }
67
67
  );
68
68
  }, ia = () => ne(
69
69
  To,
70
- h(() => rn.value || {})
70
+ f(() => nn.value || {})
71
71
  ), aa = H({
72
72
  props: {
73
73
  value: be()
74
74
  },
75
75
  setup(e, { slots: t }) {
76
- return oa(h(() => e.value)), () => {
76
+ return oa(f(() => e.value)), () => {
77
77
  var n;
78
78
  return (n = t.default) == null ? void 0 : n.call(t);
79
79
  };
@@ -122,7 +122,7 @@ const To = Symbol("XProviderContext"), rn = J(), oa = (e) => {
122
122
  wave: {}
123
123
  },
124
124
  setup(e) {
125
- const t = se(e, ["attachments", "bubble", "conversations", "prompts", "suggestion", "thoughtChain", "welcome"]), n = It(), r = h(() => ({
125
+ const t = se(e, ["attachments", "bubble", "conversations", "prompts", "suggestion", "thoughtChain", "welcome"]), n = Mt(), r = f(() => ({
126
126
  attachments: e.attachments,
127
127
  bubble: e.bubble,
128
128
  conversations: e.conversations,
@@ -133,10 +133,10 @@ const To = Symbol("XProviderContext"), rn = J(), oa = (e) => {
133
133
  welcome: e.welcome
134
134
  })), {
135
135
  theme: o
136
- } = _(), i = h(() => ({
136
+ } = _(), i = f(() => ({
137
137
  ...(o == null ? void 0 : o.value) || {},
138
138
  ...t.theme
139
- })), a = h(() => {
139
+ })), a = f(() => {
140
140
  var l;
141
141
  return (l = n.default) == null ? void 0 : l.call(n);
142
142
  });
@@ -157,7 +157,7 @@ const To = Symbol("XProviderContext"), rn = J(), oa = (e) => {
157
157
  style: {}
158
158
  }, $e = (e) => {
159
159
  const t = ia();
160
- return h(() => ({
160
+ return f(() => ({
161
161
  ...la,
162
162
  ...O(t)[e]
163
163
  }));
@@ -173,29 +173,29 @@ function Oe(e) {
173
173
  return typeof e == "string";
174
174
  }
175
175
  const sa = (e, t, n, r) => {
176
- const [o, i] = k(""), [a, l] = k(1), s = h(() => t.value && Oe(e.value));
176
+ const [o, i] = k(""), [a, l] = k(1), s = f(() => t.value && Oe(e.value));
177
177
  return R(e, () => {
178
- const f = O(o);
179
- i(e.value), !s.value && Oe(e.value) ? l(e.value.length) : Oe(e.value) && Oe(f) && e.value.indexOf(f) !== 0 && l(1);
178
+ const h = O(o);
179
+ i(e.value), !s.value && Oe(e.value) ? l(e.value.length) : Oe(e.value) && Oe(h) && e.value.indexOf(h) !== 0 && l(1);
180
180
  }), R([a, t, e], () => {
181
181
  if (s.value && Oe(e.value) && O(a) < e.value.length) {
182
- const f = setTimeout(() => {
182
+ const h = setTimeout(() => {
183
183
  l(O(a) + n.value);
184
184
  }, r.value);
185
- ct(() => {
186
- clearTimeout(f);
185
+ ke(() => {
186
+ clearTimeout(h);
187
187
  });
188
188
  }
189
- }, { immediate: !0 }), [h(() => s.value && Oe(e.value) ? e.value.slice(0, O(a)) : e.value), h(() => s.value && Oe(e.value) && O(a) < e.value.length)];
189
+ }, { immediate: !0 }), [f(() => s.value && Oe(e.value) ? e.value.slice(0, O(a)) : e.value), f(() => s.value && Oe(e.value) && O(a) < e.value.length)];
190
190
  };
191
191
  function ca(e) {
192
- const t = h(() => !!F(e)), n = {
192
+ const t = f(() => !!z(e)), n = {
193
193
  step: 1,
194
194
  interval: 50,
195
195
  // set default suffix is empty
196
196
  suffix: null
197
- }, r = h(() => {
198
- const o = F(e);
197
+ }, r = f(() => {
198
+ const o = z(e);
199
199
  return {
200
200
  ...n,
201
201
  ...typeof o == "object" ? o : {}
@@ -203,9 +203,9 @@ function ca(e) {
203
203
  });
204
204
  return [
205
205
  t,
206
- h(() => r.value.step),
207
- h(() => r.value.interval),
208
- h(() => r.value.suffix)
206
+ f(() => r.value.step),
207
+ f(() => r.value.interval),
208
+ f(() => r.value.suffix)
209
209
  ];
210
210
  }
211
211
  const ua = /* @__PURE__ */ H({
@@ -229,7 +229,7 @@ const ua = /* @__PURE__ */ H({
229
229
  }, null)]);
230
230
  }
231
231
  });
232
- function Hn(e) {
232
+ function In(e) {
233
233
  for (var t = 0, n, r = 0, o = e.length; o >= 4; ++r, o -= 4)
234
234
  n = e.charCodeAt(r) & 255 | (e.charCodeAt(++r) & 255) << 8 | (e.charCodeAt(++r) & 255) << 16 | (e.charCodeAt(++r) & 255) << 24, n = /* Math.imul(k, m): */
235
235
  (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), n ^= /* k >>> r: */
@@ -262,7 +262,7 @@ class da {
262
262
  }
263
263
  }
264
264
  const Oo = "data-token-hash", xe = "data-css-hash", fa = "data-cache-path", ze = "__cssinjs_instance__";
265
- function rt() {
265
+ function ot() {
266
266
  const e = Math.random().toString(12).slice(2);
267
267
  if (typeof document < "u" && document.head && document.body) {
268
268
  const t = document.body.querySelectorAll(`style[${xe}]`) || [], {
@@ -286,24 +286,24 @@ const Ao = Symbol("StyleContextKey"), ha = () => {
286
286
  let t;
287
287
  if (e && e.appContext) {
288
288
  const i = (o = (r = (n = e.appContext) == null ? void 0 : n.config) == null ? void 0 : r.globalProperties) == null ? void 0 : o.__ANTDV_CSSINJS_CACHE__;
289
- i ? t = i : (t = rt(), e.appContext.config.globalProperties && (e.appContext.config.globalProperties.__ANTDV_CSSINJS_CACHE__ = t));
289
+ i ? t = i : (t = ot(), e.appContext.config.globalProperties && (e.appContext.config.globalProperties.__ANTDV_CSSINJS_CACHE__ = t));
290
290
  } else
291
- t = rt();
291
+ t = ot();
292
292
  return t;
293
293
  }, Po = {
294
- cache: rt(),
294
+ cache: ot(),
295
295
  defaultCache: !0,
296
296
  hashPriority: "low"
297
- }, ut = () => {
297
+ }, ct = () => {
298
298
  const e = ha();
299
299
  return ne(Ao, J({
300
300
  ...Po,
301
301
  cache: e
302
302
  }));
303
303
  }, Eo = (e) => {
304
- const t = ut(), n = J({
304
+ const t = ct(), n = J({
305
305
  ...Po,
306
- cache: rt()
306
+ cache: ot()
307
307
  });
308
308
  return R([() => O(e), t], () => {
309
309
  const r = {
@@ -316,12 +316,12 @@ const Ao = Symbol("StyleContextKey"), ha = () => {
316
316
  const {
317
317
  cache: i
318
318
  } = o;
319
- r.cache = r.cache || rt(), r.defaultCache = !i && t.value.defaultCache, n.value = r;
319
+ r.cache = r.cache || ot(), r.defaultCache = !i && t.value.defaultCache, n.value = r;
320
320
  }, {
321
321
  immediate: !0
322
322
  }), fe(Ao, n), n;
323
323
  }, ga = () => ({
324
- autoClear: Ft(),
324
+ autoClear: Dt(),
325
325
  /** @private Test only. Not work in production. */
326
326
  mock: ur(),
327
327
  /**
@@ -330,13 +330,13 @@ const Ao = Symbol("StyleContextKey"), ha = () => {
330
330
  */
331
331
  cache: be(),
332
332
  /** Tell children that this context is default generated context */
333
- defaultCache: Ft(),
333
+ defaultCache: Dt(),
334
334
  /** Use `:where` selector to reduce hashId css selector priority */
335
335
  hashPriority: ur(),
336
336
  /** Tell cssinjs where to inject style in */
337
337
  container: ra(),
338
338
  /** Component wil render inline `<style />` for fallback in SSR. Not recommend. */
339
- ssrInline: Ft(),
339
+ ssrInline: Dt(),
340
340
  /** Transform css before inject in document. Please note that `transformers` do not support dynamic update */
341
341
  transformers: cr(),
342
342
  /**
@@ -358,40 +358,40 @@ const Ao = Symbol("StyleContextKey"), ha = () => {
358
358
  };
359
359
  }
360
360
  })), pa = {
361
- useStyleInject: ut,
361
+ useStyleInject: ct,
362
362
  useStyleProvider: Eo,
363
363
  StyleProvider: ma
364
364
  };
365
365
  function va() {
366
366
  return !1;
367
367
  }
368
- let on = !1;
368
+ let rn = !1;
369
369
  function ya() {
370
- return on;
370
+ return rn;
371
371
  }
372
372
  const ba = process.env.NODE_ENV === "production" ? va : ya;
373
373
  if (process.env.NODE_ENV !== "production" && typeof module < "u" && module && module.hot && typeof window < "u") {
374
374
  const e = window;
375
375
  if (typeof e.webpackHotUpdate == "function") {
376
376
  const t = e.webpackHotUpdate;
377
- e.webpackHotUpdate = (...n) => (on = !0, setTimeout(() => {
378
- on = !1;
377
+ e.webpackHotUpdate = (...n) => (rn = !0, setTimeout(() => {
378
+ rn = !1;
379
379
  }, 0), t(...n));
380
380
  }
381
381
  }
382
- function Nn(e, t, n, r) {
383
- const o = ut(), i = J(""), a = J();
384
- ke(() => {
382
+ function Hn(e, t, n, r) {
383
+ const o = ct(), i = J(""), a = J();
384
+ Ge(() => {
385
385
  i.value = [e, ...t.value].join("%");
386
386
  });
387
387
  const l = ba(), s = (c) => {
388
- o.value.cache.update(c, (f) => {
389
- const [d = 0, g] = f || [];
388
+ o.value.cache.update(c, (h) => {
389
+ const [d = 0, g] = h || [];
390
390
  return d - 1 === 0 ? (r == null || r(g, !1), null) : [d - 1, g];
391
391
  });
392
392
  };
393
- return R(i, (c, f) => {
394
- f && s(f), o.value.cache.update(c, (d) => {
393
+ return R(i, (c, h) => {
394
+ h && s(h), o.value.cache.update(c, (d) => {
395
395
  const [g = 0, v] = d || [];
396
396
  let p = v;
397
397
  process.env.NODE_ENV !== "production" && v && l && (r == null || r(p, l), p = null);
@@ -404,33 +404,33 @@ function Nn(e, t, n, r) {
404
404
  s(i.value);
405
405
  }), a;
406
406
  }
407
- function Ge() {
407
+ function Ue() {
408
408
  return !!(typeof window < "u" && window.document && window.document.createElement);
409
409
  }
410
410
  function Sa(e, t) {
411
411
  return e && e.contains ? e.contains(t) : !1;
412
412
  }
413
- const fr = "data-vc-order", Ca = "vc-util-key", an = /* @__PURE__ */ new Map();
413
+ const fr = "data-vc-order", Ca = "vc-util-key", on = /* @__PURE__ */ new Map();
414
414
  function Mo({ mark: e } = {}) {
415
415
  return e ? e.startsWith("data-") ? e : `data-${e}` : Ca;
416
416
  }
417
- function Ht(e) {
417
+ function It(e) {
418
418
  return e.attachTo ? e.attachTo : document.querySelector("head") || document.body;
419
419
  }
420
420
  function xa(e) {
421
421
  return e === "queue" ? "prependQueue" : e ? "prepend" : "append";
422
422
  }
423
423
  function Io(e) {
424
- return Array.from((an.get(e) || e).children).filter(
424
+ return Array.from((on.get(e) || e).children).filter(
425
425
  (t) => t.tagName === "STYLE"
426
426
  );
427
427
  }
428
428
  function Ho(e, t = {}) {
429
- if (!Ge())
429
+ if (!Ue())
430
430
  return null;
431
431
  const { csp: n, prepend: r } = t, o = document.createElement("style");
432
432
  o.setAttribute(fr, xa(r)), n != null && n.nonce && (o.nonce = n == null ? void 0 : n.nonce), o.innerHTML = e;
433
- const i = Ht(t), { firstChild: a } = i;
433
+ const i = It(t), { firstChild: a } = i;
434
434
  if (r) {
435
435
  if (r === "queue") {
436
436
  const l = Io(i).filter(
@@ -445,23 +445,23 @@ function Ho(e, t = {}) {
445
445
  return o;
446
446
  }
447
447
  function No(e, t = {}) {
448
- const n = Ht(t);
448
+ const n = It(t);
449
449
  return Io(n).find((r) => r.getAttribute(Mo(t)) === e);
450
450
  }
451
- function Rn(e, t = {}) {
451
+ function Nn(e, t = {}) {
452
452
  const n = No(e, t);
453
- n && Ht(t).removeChild(n);
453
+ n && It(t).removeChild(n);
454
454
  }
455
455
  function $a(e, t) {
456
- const n = an.get(e);
456
+ const n = on.get(e);
457
457
  if (!n || !Sa(document, n)) {
458
458
  const r = Ho("", t), { parentNode: o } = r;
459
- an.set(e, o), e.removeChild(r);
459
+ on.set(e, o), e.removeChild(r);
460
460
  }
461
461
  }
462
- function ln(e, t, n = {}) {
462
+ function an(e, t, n = {}) {
463
463
  var a, l, s;
464
- const r = Ht(n);
464
+ const r = It(n);
465
465
  $a(r, n);
466
466
  const o = No(t, n);
467
467
  if (o)
@@ -535,15 +535,15 @@ let Ta = (ve = class {
535
535
  if (this.has(t))
536
536
  return this.keys = this.keys.filter((n) => !wa(n, t)), this.deleteByPath(this.cache, t);
537
537
  }
538
- }, ve.MAX_CACHE_SIZE = 20, ve.MAX_CACHE_OFFSET = 5, ve), sn = {};
538
+ }, ve.MAX_CACHE_SIZE = 20, ve.MAX_CACHE_OFFSET = 5, ve), ln = {};
539
539
  function Ro(e, t) {
540
540
  process.env.NODE_ENV !== "production" && !e && console !== void 0 && console.error(`Warning: ${t}`);
541
541
  }
542
542
  function Oa() {
543
- sn = {};
543
+ ln = {};
544
544
  }
545
545
  function Aa(e, t, n) {
546
- !t && !sn[n] && (e(!1, n), sn[n] = !0);
546
+ !t && !ln[n] && (e(!1, n), ln[n] = !0);
547
547
  }
548
548
  function Bo(e, t) {
549
549
  Aa(Ro, e, t);
@@ -554,35 +554,35 @@ let pe = null;
554
554
  function Pa() {
555
555
  pe = null, Oa();
556
556
  }
557
- let Bn = Lo;
558
- process.env.NODE_ENV !== "production" && (Bn = (e, t, n) => {
557
+ let Rn = Lo;
558
+ process.env.NODE_ENV !== "production" && (Rn = (e, t, n) => {
559
559
  Bo(e, `[antd: ${t}] ${n}`), process.env.NODE_ENV === "test" && Pa();
560
560
  });
561
- const zo = Symbol("WarningContext"), cn = J(), Ea = (e) => {
561
+ const zo = Symbol("WarningContext"), sn = J(), Ea = (e) => {
562
562
  fe(zo, e), R(
563
563
  e,
564
564
  () => {
565
- cn.value = O(e), ye(cn);
565
+ sn.value = O(e), ye(sn);
566
566
  },
567
567
  { immediate: !0, deep: !0 }
568
568
  );
569
569
  }, Ma = () => ne(
570
570
  zo,
571
- h(() => cn.value || {})
571
+ f(() => sn.value || {})
572
572
  );
573
573
  H({
574
574
  props: {
575
575
  value: be()
576
576
  },
577
577
  setup(e, { slots: t }) {
578
- return Ea(h(() => e.value)), () => {
578
+ return Ea(f(() => e.value)), () => {
579
579
  var n;
580
580
  return (n = t.default) == null ? void 0 : n.call(t);
581
581
  };
582
582
  }
583
583
  });
584
584
  process.env.NODE_ENV;
585
- const Ia = Bn;
585
+ const Ia = Rn;
586
586
  let hr = 0, jo = class {
587
587
  constructor(t) {
588
588
  this.derivatives = Array.isArray(t) ? t : [t], this.id = hr, t.length === 0 && Ia(
@@ -597,56 +597,56 @@ let hr = 0, jo = class {
597
597
  );
598
598
  }
599
599
  };
600
- const Xt = new Ta();
600
+ const Ft = new Ta();
601
601
  function Ha(e) {
602
602
  const t = Array.isArray(e) ? e : [e];
603
- return Xt.has(t) || Xt.set(t, new jo(t)), Xt.get(t);
603
+ return Ft.has(t) || Ft.set(t, new jo(t)), Ft.get(t);
604
604
  }
605
605
  const gr = /* @__PURE__ */ new WeakMap();
606
- function Et(e) {
606
+ function Pt(e) {
607
607
  let t = gr.get(e) || "";
608
608
  return t || (Object.keys(e).forEach((n) => {
609
609
  const r = e[n];
610
- t += n, r instanceof jo ? t += r.id : r && typeof r == "object" ? t += Et(r) : t += r;
610
+ t += n, r instanceof jo ? t += r.id : r && typeof r == "object" ? t += Pt(r) : t += r;
611
611
  }), gr.set(e, t)), t;
612
612
  }
613
613
  function Na(e, t) {
614
- return Hn(`${t}_${Et(e)}`);
614
+ return In(`${t}_${Pt(e)}`);
615
615
  }
616
- const tt = `random-${Date.now()}-${Math.random()}`.replace(/\./g, ""), Do = "_bAmBoO_";
616
+ const nt = `random-${Date.now()}-${Math.random()}`.replace(/\./g, ""), Do = "_bAmBoO_";
617
617
  function Ra(e, t, n) {
618
618
  var r, o;
619
- if (Ge()) {
620
- ln(e, tt);
619
+ if (Ue()) {
620
+ an(e, nt);
621
621
  const i = document.createElement("div");
622
622
  i.style.position = "fixed", i.style.left = "0", i.style.top = "0", t == null || t(i), document.body.appendChild(i), process.env.NODE_ENV !== "production" && (i.innerHTML = "Test", i.style.zIndex = "9999999");
623
623
  const a = n ? n(i) : (r = getComputedStyle(i).content) == null ? void 0 : r.includes(Do);
624
- return (o = i.parentNode) == null || o.removeChild(i), Rn(tt), a;
624
+ return (o = i.parentNode) == null || o.removeChild(i), Nn(nt), a;
625
625
  }
626
626
  return !1;
627
627
  }
628
- let Vt;
628
+ let Xt;
629
629
  function Ba() {
630
- return Vt === void 0 && (Vt = Ra(
631
- `@layer ${tt} { .${tt} { content: "${Do}"!important; } }`,
630
+ return Xt === void 0 && (Xt = Ra(
631
+ `@layer ${nt} { .${nt} { content: "${Do}"!important; } }`,
632
632
  (e) => {
633
- e.className = tt;
633
+ e.className = nt;
634
634
  }
635
- )), Vt;
635
+ )), Xt;
636
636
  }
637
- const La = Ge();
637
+ const La = Ue();
638
638
  function ae(e) {
639
639
  return typeof e == "number" ? `${e}px` : e;
640
640
  }
641
- const xt = (e, t = "") => `--${t ? `${t}-` : ""}${e}`.replace(/([a-z0-9])([A-Z])/g, "$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g, "$1-$2").replace(/([a-z])([A-Z0-9])/g, "$1-$2").toLowerCase(), za = (e, t, n) => Object.keys(e).length ? `.${t}${n != null && n.scope ? `.${n.scope}` : ""}{${Object.entries(e).map(([r, o]) => `${r}:${o};`).join("")}}` : "", ja = (e, t, n) => {
641
+ const Ct = (e, t = "") => `--${t ? `${t}-` : ""}${e}`.replace(/([a-z0-9])([A-Z])/g, "$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g, "$1-$2").replace(/([a-z])([A-Z0-9])/g, "$1-$2").toLowerCase(), za = (e, t, n) => Object.keys(e).length ? `.${t}${n != null && n.scope ? `.${n.scope}` : ""}{${Object.entries(e).map(([r, o]) => `${r}:${o};`).join("")}}` : "", ja = (e, t, n) => {
642
642
  const r = {}, o = {};
643
643
  return Object.entries(e).forEach(([i, a]) => {
644
644
  var l, s, c;
645
645
  if ((l = n == null ? void 0 : n.preserve) != null && l[i])
646
646
  o[i] = a;
647
647
  else if ((typeof a == "string" || typeof a == "number") && !((s = n == null ? void 0 : n.ignore) != null && s[i])) {
648
- const f = xt(i, n == null ? void 0 : n.prefix);
649
- r[f] = typeof a == "number" && !((c = n == null ? void 0 : n.unitless) != null && c[i]) ? `${a}px` : String(a), o[i] = `var(${f})`;
648
+ const h = Ct(i, n == null ? void 0 : n.prefix);
649
+ r[h] = typeof a == "number" && !((c = n == null ? void 0 : n.unitless) != null && c[i]) ? `${a}px` : String(a), o[i] = `var(${h})`;
650
650
  }
651
651
  }), [o, za(r, t, { scope: n == null ? void 0 : n.scope })];
652
652
  }, mr = {}, Da = process.env.NODE_ENV === "production", Fa = process.env.NODE_ENV === "prerender", Xa = !Da && !Fa ? "css-dev-only-do-not-override" : "css", Ae = /* @__PURE__ */ new Map();
@@ -675,22 +675,22 @@ const Ua = (e, t, n, r) => {
675
675
  return r && (i = r(i)), i;
676
676
  };
677
677
  function qa(e, t, n = B({})) {
678
- const r = ut(), o = h(() => Object.assign({}, ...t.value || [])), i = h(() => Et(o.value)), a = h(() => {
678
+ const r = ct(), o = f(() => Object.assign({}, ...t.value || [])), i = f(() => Pt(o.value)), a = f(() => {
679
679
  var s;
680
- return Et(((s = n.value) == null ? void 0 : s.override) || mr);
680
+ return Pt(((s = n.value) == null ? void 0 : s.override) || mr);
681
681
  });
682
- return Nn("token", h(() => {
682
+ return Hn("token", f(() => {
683
683
  var s, c;
684
684
  return [((s = n.value) == null ? void 0 : s.salt) || "", (c = e.value) == null ? void 0 : c.id, i.value, a.value];
685
685
  }), () => {
686
686
  const {
687
687
  salt: s = "",
688
688
  override: c = mr,
689
- formatToken: f,
689
+ formatToken: h,
690
690
  getComputedToken: d
691
- } = n.value || {}, g = d ? d(o.value, c, e.value) : Ua(o.value, c, e.value, f), v = Na(g, s);
691
+ } = n.value || {}, g = d ? d(o.value, c, e.value) : Ua(o.value, c, e.value, h), v = Na(g, s);
692
692
  g._tokenKey = v, Va(v);
693
- const p = `${Xa}-${Hn(v)}`;
693
+ const p = `${Xa}-${In(v)}`;
694
694
  return g._hashId = p, [g, p];
695
695
  }, (s) => {
696
696
  var c;
@@ -746,17 +746,17 @@ var Ka = {
746
746
  strokeMiterlimit: 1,
747
747
  strokeOpacity: 1,
748
748
  strokeWidth: 1
749
- }, Fo = "comm", Xo = "rule", Vo = "decl", Za = "@import", Ya = "@keyframes", Qa = "@layer", Wo = Math.abs, Ln = String.fromCharCode;
749
+ }, Fo = "comm", Xo = "rule", Vo = "decl", Za = "@import", Ya = "@keyframes", Qa = "@layer", Wo = Math.abs, Bn = String.fromCharCode;
750
750
  function ko(e) {
751
751
  return e.trim();
752
752
  }
753
- function $t(e, t, n) {
753
+ function xt(e, t, n) {
754
754
  return e.replace(t, n);
755
755
  }
756
756
  function Ja(e, t, n) {
757
757
  return e.indexOf(t, n);
758
758
  }
759
- function ot(e, t) {
759
+ function it(e, t) {
760
760
  return e.charCodeAt(t) | 0;
761
761
  }
762
762
  function Xe(e, t, n) {
@@ -768,32 +768,32 @@ function ce(e) {
768
768
  function _a(e) {
769
769
  return e.length;
770
770
  }
771
- function ft(e, t) {
771
+ function dt(e, t) {
772
772
  return t.push(e), e;
773
773
  }
774
- var Nt = 1, Ve = 1, Go = 0, te = 0, W = 0, Ue = "";
775
- function zn(e, t, n, r, o, i, a, l) {
776
- return { value: e, root: t, parent: n, type: r, props: o, children: i, line: Nt, column: Ve, length: a, return: "", siblings: l };
774
+ var Ht = 1, Ve = 1, Go = 0, te = 0, W = 0, qe = "";
775
+ function Ln(e, t, n, r, o, i, a, l) {
776
+ return { value: e, root: t, parent: n, type: r, props: o, children: i, line: Ht, column: Ve, length: a, return: "", siblings: l };
777
777
  }
778
778
  function el() {
779
779
  return W;
780
780
  }
781
781
  function tl() {
782
- return W = te > 0 ? ot(Ue, --te) : 0, Ve--, W === 10 && (Ve = 1, Nt--), W;
782
+ return W = te > 0 ? it(qe, --te) : 0, Ve--, W === 10 && (Ve = 1, Ht--), W;
783
783
  }
784
784
  function ie() {
785
- return W = te < Go ? ot(Ue, te++) : 0, Ve++, W === 10 && (Ve = 1, Nt++), W;
785
+ return W = te < Go ? it(qe, te++) : 0, Ve++, W === 10 && (Ve = 1, Ht++), W;
786
786
  }
787
787
  function Se() {
788
- return ot(Ue, te);
788
+ return it(qe, te);
789
789
  }
790
- function wt() {
790
+ function $t() {
791
791
  return te;
792
792
  }
793
- function Rt(e, t) {
794
- return Xe(Ue, e, t);
793
+ function Nt(e, t) {
794
+ return Xe(qe, e, t);
795
795
  }
796
- function it(e) {
796
+ function at(e) {
797
797
  switch (e) {
798
798
  case 0:
799
799
  case 9:
@@ -826,35 +826,35 @@ function it(e) {
826
826
  return 0;
827
827
  }
828
828
  function nl(e) {
829
- return Nt = Ve = 1, Go = ce(Ue = e), te = 0, [];
829
+ return Ht = Ve = 1, Go = ce(qe = e), te = 0, [];
830
830
  }
831
831
  function rl(e) {
832
- return Ue = "", e;
832
+ return qe = "", e;
833
833
  }
834
- function Wt(e) {
835
- return ko(Rt(te - 1, un(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
834
+ function Vt(e) {
835
+ return ko(Nt(te - 1, cn(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
836
836
  }
837
837
  function ol(e) {
838
838
  for (; (W = Se()) && W < 33; )
839
839
  ie();
840
- return it(e) > 2 || it(W) > 3 ? "" : " ";
840
+ return at(e) > 2 || at(W) > 3 ? "" : " ";
841
841
  }
842
842
  function il(e, t) {
843
843
  for (; --t && ie() && !(W < 48 || W > 102 || W > 57 && W < 65 || W > 70 && W < 97); )
844
844
  ;
845
- return Rt(e, wt() + (t < 6 && Se() == 32 && ie() == 32));
845
+ return Nt(e, $t() + (t < 6 && Se() == 32 && ie() == 32));
846
846
  }
847
- function un(e) {
847
+ function cn(e) {
848
848
  for (; ie(); )
849
849
  switch (W) {
850
850
  case e:
851
851
  return te;
852
852
  case 34:
853
853
  case 39:
854
- e !== 34 && e !== 39 && un(W);
854
+ e !== 34 && e !== 39 && cn(W);
855
855
  break;
856
856
  case 40:
857
- e === 41 && un(e);
857
+ e === 41 && cn(e);
858
858
  break;
859
859
  case 92:
860
860
  ie();
@@ -866,28 +866,28 @@ function al(e, t) {
866
866
  for (; ie() && e + W !== 57; )
867
867
  if (e + W === 84 && Se() === 47)
868
868
  break;
869
- return "/*" + Rt(t, te - 1) + "*" + Ln(e === 47 ? e : ie());
869
+ return "/*" + Nt(t, te - 1) + "*" + Bn(e === 47 ? e : ie());
870
870
  }
871
871
  function ll(e) {
872
- for (; !it(Se()); )
872
+ for (; !at(Se()); )
873
873
  ie();
874
- return Rt(e, te);
874
+ return Nt(e, te);
875
875
  }
876
876
  function sl(e) {
877
- return rl(Tt("", null, null, null, [""], e = nl(e), 0, [0], e));
877
+ return rl(wt("", null, null, null, [""], e = nl(e), 0, [0], e));
878
878
  }
879
- function Tt(e, t, n, r, o, i, a, l, s) {
880
- for (var c = 0, f = 0, d = a, g = 0, v = 0, p = 0, m = 1, b = 1, S = 1, $ = 0, C = "", x = o, T = i, w = r, y = C; b; )
879
+ function wt(e, t, n, r, o, i, a, l, s) {
880
+ for (var c = 0, h = 0, d = a, g = 0, v = 0, p = 0, m = 1, b = 1, S = 1, $ = 0, C = "", x = o, T = i, w = r, y = C; b; )
881
881
  switch (p = $, $ = ie()) {
882
882
  case 40:
883
- if (p != 108 && ot(y, d - 1) == 58) {
884
- Ja(y += $t(Wt($), "&", "&\f"), "&\f", Wo(c ? l[c - 1] : 0)) != -1 && (S = -1);
883
+ if (p != 108 && it(y, d - 1) == 58) {
884
+ Ja(y += xt(Vt($), "&", "&\f"), "&\f", Wo(c ? l[c - 1] : 0)) != -1 && (S = -1);
885
885
  break;
886
886
  }
887
887
  case 34:
888
888
  case 39:
889
889
  case 91:
890
- y += Wt($);
890
+ y += Vt($);
891
891
  break;
892
892
  case 9:
893
893
  case 10:
@@ -896,13 +896,13 @@ function Tt(e, t, n, r, o, i, a, l, s) {
896
896
  y += ol(p);
897
897
  break;
898
898
  case 92:
899
- y += il(wt() - 1, 7);
899
+ y += il($t() - 1, 7);
900
900
  continue;
901
901
  case 47:
902
902
  switch (Se()) {
903
903
  case 42:
904
904
  case 47:
905
- ft(cl(al(ie(), wt()), t, n, s), s), (it(p || 1) == 5 || it(Se() || 1) == 5) && ce(y) && Xe(y, -1, void 0) !== " " && (y += " ");
905
+ dt(cl(al(ie(), $t()), t, n, s), s), (at(p || 1) == 5 || at(Se() || 1) == 5) && ce(y) && Xe(y, -1, void 0) !== " " && (y += " ");
906
906
  break;
907
907
  default:
908
908
  y += "/";
@@ -917,28 +917,28 @@ function Tt(e, t, n, r, o, i, a, l, s) {
917
917
  case 0:
918
918
  case 125:
919
919
  b = 0;
920
- case 59 + f:
921
- S == -1 && (y = $t(y, /\f/g, "")), v > 0 && (ce(y) - d || m === 0 && p === 47) && ft(v > 32 ? vr(y + ";", r, n, d - 1, s) : vr($t(y, " ", "") + ";", r, n, d - 2, s), s);
920
+ case 59 + h:
921
+ S == -1 && (y = xt(y, /\f/g, "")), v > 0 && (ce(y) - d || m === 0 && p === 47) && dt(v > 32 ? vr(y + ";", r, n, d - 1, s) : vr(xt(y, " ", "") + ";", r, n, d - 2, s), s);
922
922
  break;
923
923
  case 59:
924
924
  y += ";";
925
925
  default:
926
- if (ft(w = pr(y, t, n, c, f, o, l, C, x = [], T = [], d, i), i), $ === 123)
927
- if (f === 0)
928
- Tt(y, t, w, w, x, i, d, l, T);
926
+ if (dt(w = pr(y, t, n, c, h, o, l, C, x = [], T = [], d, i), i), $ === 123)
927
+ if (h === 0)
928
+ wt(y, t, w, w, x, i, d, l, T);
929
929
  else
930
- switch (g === 99 && ot(y, 3) === 110 ? 100 : g) {
930
+ switch (g === 99 && it(y, 3) === 110 ? 100 : g) {
931
931
  case 100:
932
932
  case 108:
933
933
  case 109:
934
934
  case 115:
935
- Tt(e, w, w, r && ft(pr(e, w, w, 0, 0, o, l, C, o, x = [], d, T), T), o, T, d, l, r ? x : T);
935
+ wt(e, w, w, r && dt(pr(e, w, w, 0, 0, o, l, C, o, x = [], d, T), T), o, T, d, l, r ? x : T);
936
936
  break;
937
937
  default:
938
- Tt(y, w, w, w, [""], T, 0, l, T);
938
+ wt(y, w, w, w, [""], T, 0, l, T);
939
939
  }
940
940
  }
941
- c = f = v = 0, m = S = 1, C = y = "", d = a;
941
+ c = h = v = 0, m = S = 1, C = y = "", d = a;
942
942
  break;
943
943
  case 58:
944
944
  d = 1 + ce(y), v = p;
@@ -949,15 +949,15 @@ function Tt(e, t, n, r, o, i, a, l, s) {
949
949
  else if ($ == 125 && m++ == 0 && tl() == 125)
950
950
  continue;
951
951
  }
952
- switch (y += Ln($), $ * m) {
952
+ switch (y += Bn($), $ * m) {
953
953
  case 38:
954
- S = f > 0 ? 1 : (y += "\f", -1);
954
+ S = h > 0 ? 1 : (y += "\f", -1);
955
955
  break;
956
956
  case 44:
957
957
  l[c++] = (ce(y) - 1) * S, S = 1;
958
958
  break;
959
959
  case 64:
960
- Se() === 45 && (y += Wt(ie())), g = Se(), f = d = ce(C = y += ll(wt())), $++;
960
+ Se() === 45 && (y += Vt(ie())), g = Se(), h = d = ce(C = y += ll($t())), $++;
961
961
  break;
962
962
  case 45:
963
963
  p === 45 && ce(y) == 2 && (m = 0);
@@ -965,19 +965,19 @@ function Tt(e, t, n, r, o, i, a, l, s) {
965
965
  }
966
966
  return i;
967
967
  }
968
- function pr(e, t, n, r, o, i, a, l, s, c, f, d) {
968
+ function pr(e, t, n, r, o, i, a, l, s, c, h, d) {
969
969
  for (var g = o - 1, v = o === 0 ? i : [""], p = _a(v), m = 0, b = 0, S = 0; m < r; ++m)
970
970
  for (var $ = 0, C = Xe(e, g + 1, g = Wo(b = a[m])), x = e; $ < p; ++$)
971
- (x = ko(b > 0 ? v[$] + " " + C : $t(C, /&\f/g, v[$]))) && (s[S++] = x);
972
- return zn(e, t, n, o === 0 ? Xo : l, s, c, f, d);
971
+ (x = ko(b > 0 ? v[$] + " " + C : xt(C, /&\f/g, v[$]))) && (s[S++] = x);
972
+ return Ln(e, t, n, o === 0 ? Xo : l, s, c, h, d);
973
973
  }
974
974
  function cl(e, t, n, r) {
975
- return zn(e, t, n, Fo, Ln(el()), Xe(e, 2, -2), 0, r);
975
+ return Ln(e, t, n, Fo, Bn(el()), Xe(e, 2, -2), 0, r);
976
976
  }
977
977
  function vr(e, t, n, r, o) {
978
- return zn(e, t, n, Vo, Xe(e, 0, r), Xe(e, r + 1, -1), r, o);
978
+ return Ln(e, t, n, Vo, Xe(e, 0, r), Xe(e, r + 1, -1), r, o);
979
979
  }
980
- function dn(e, t) {
980
+ function un(e, t) {
981
981
  for (var n = "", r = 0; r < e.length; r++)
982
982
  n += t(e[r], r, e, t) || "";
983
983
  return n;
@@ -992,11 +992,11 @@ function ul(e, t, n, r) {
992
992
  case Fo:
993
993
  return "";
994
994
  case Ya:
995
- return e.return = e.value + "{" + dn(e.children, r) + "}";
995
+ return e.return = e.value + "{" + un(e.children, r) + "}";
996
996
  case Xo:
997
997
  if (!ce(e.value = e.props.join(","))) return "";
998
998
  }
999
- return ce(n = dn(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
999
+ return ce(n = un(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
1000
1000
  }
1001
1001
  function Uo(e, t) {
1002
1002
  const { path: n, parentSelectors: r } = t;
@@ -1022,7 +1022,7 @@ const dl = (e, t, n) => {
1022
1022
  let He, qo = !0;
1023
1023
  function gl() {
1024
1024
  var e;
1025
- if (!He && (He = {}, Ge())) {
1025
+ if (!He && (He = {}, Ue())) {
1026
1026
  const t = document.createElement("div");
1027
1027
  t.className = yr, t.style.position = "fixed", t.style.visibility = "hidden", t.style.top = "-9999px", document.body.appendChild(t);
1028
1028
  let n = getComputedStyle(t).content || "";
@@ -1040,7 +1040,7 @@ function ml(e) {
1040
1040
  function pl(e) {
1041
1041
  const t = He[e];
1042
1042
  let n = null;
1043
- if (t && Ge())
1043
+ if (t && Ue())
1044
1044
  if (qo)
1045
1045
  n = hl;
1046
1046
  else {
@@ -1049,9 +1049,9 @@ function pl(e) {
1049
1049
  }
1050
1050
  return [n, t];
1051
1051
  }
1052
- const br = Ge(), Ko = "_skip_check_", Zo = "_multi_value_";
1052
+ const br = Ue(), Ko = "_skip_check_", Zo = "_multi_value_";
1053
1053
  function Sr(e) {
1054
- return dn(sl(e), ul).replace(/\{%%%\:[^;];}/g, ";");
1054
+ return un(sl(e), ul).replace(/\{%%%\:[^;];}/g, ";");
1055
1055
  }
1056
1056
  function vl(e) {
1057
1057
  return typeof e == "object" && e && (Ko in e || Zo in e);
@@ -1061,16 +1061,16 @@ function yl(e, t, n) {
1061
1061
  return e;
1062
1062
  const r = `.${t}`, o = n === "low" ? `:where(${r})` : r;
1063
1063
  return e.split(",").map((a) => {
1064
- var f;
1064
+ var h;
1065
1065
  const l = a.trim().split(/\s+/);
1066
1066
  let s = l[0] || "";
1067
- const c = ((f = s.match(/^\w+/)) == null ? void 0 : f[0]) || "";
1067
+ const c = ((h = s.match(/^\w+/)) == null ? void 0 : h[0]) || "";
1068
1068
  return s = `${c}${o}${s.slice(c.length)}`, [s, ...l.slice(1)].join(" ");
1069
1069
  }).join(",");
1070
1070
  }
1071
- const fn = /* @__PURE__ */ new Set();
1071
+ const dn = /* @__PURE__ */ new Set();
1072
1072
  process.env.NODE_ENV;
1073
- const hn = (e, t = {}, {
1073
+ const fn = (e, t = {}, {
1074
1074
  root: n,
1075
1075
  injectHash: r,
1076
1076
  parentSelectors: o
@@ -1084,13 +1084,13 @@ const hn = (e, t = {}, {
1084
1084
  path: l,
1085
1085
  hashPriority: s,
1086
1086
  transformers: c = [],
1087
- linters: f = []
1087
+ linters: h = []
1088
1088
  } = t;
1089
1089
  let d = "", g = {};
1090
1090
  function v(b) {
1091
1091
  const S = b.getName(i);
1092
1092
  if (!g[S]) {
1093
- const [$] = hn(b.style, t, {
1093
+ const [$] = fn(b.style, t, {
1094
1094
  root: !1,
1095
1095
  parentSelectors: o
1096
1096
  });
@@ -1119,7 +1119,7 @@ const hn = (e, t = {}, {
1119
1119
  if (typeof x == "object" && x && (C !== "animationName" || !x._keyframe) && !vl(x)) {
1120
1120
  let T = !1, w = C.trim(), y = !1;
1121
1121
  (n || r) && i ? w.startsWith("@") ? T = !0 : w = yl(C, i, s) : n && !i && (w === "&" || w === "") && (w = "", y = !0);
1122
- const [M, P] = hn(x, t, {
1122
+ const [M, P] = fn(x, t, {
1123
1123
  root: y,
1124
1124
  injectHash: T,
1125
1125
  parentSelectors: [...o, w]
@@ -1130,7 +1130,7 @@ const hn = (e, t = {}, {
1130
1130
  }, d += `${w}${M}`;
1131
1131
  } else {
1132
1132
  let T = function(y, M) {
1133
- process.env.NODE_ENV !== "production" && (typeof x != "object" || !(x != null && x[Ko])) && [dl, fl, ...f].forEach((N) => N(y, M, {
1133
+ process.env.NODE_ENV !== "production" && (typeof x != "object" || !(x != null && x[Ko])) && [dl, fl, ...h].forEach((N) => N(y, M, {
1134
1134
  path: l,
1135
1135
  hashId: i,
1136
1136
  parentSelectors: o
@@ -1149,18 +1149,18 @@ const hn = (e, t = {}, {
1149
1149
  }), n ? a && Ba() : d = `{${d}}`, [d, g];
1150
1150
  };
1151
1151
  function Yo(e, t) {
1152
- return Hn(`${e.join("%")}${t}`);
1152
+ return In(`${e.join("%")}${t}`);
1153
1153
  }
1154
1154
  function Cr(e, t) {
1155
- const n = ut(), r = h(() => {
1155
+ const n = ct(), r = f(() => {
1156
1156
  var a;
1157
1157
  return (a = e.value) == null ? void 0 : a.token._tokenKey;
1158
- }), o = h(() => {
1158
+ }), o = f(() => {
1159
1159
  var a;
1160
1160
  return [r.value, ...((a = e.value) == null ? void 0 : a.path) || []];
1161
1161
  });
1162
1162
  let i = br;
1163
- return process.env.NODE_ENV !== "production" && n.value.mock !== void 0 && (i = n.value.mock === "client"), Nn(
1163
+ return process.env.NODE_ENV !== "production" && n.value.mock !== void 0 && (i = n.value.mock === "client"), Hn(
1164
1164
  "style",
1165
1165
  o,
1166
1166
  // Create cache if needed
@@ -1170,13 +1170,13 @@ function Cr(e, t) {
1170
1170
  hashId: l,
1171
1171
  layer: s,
1172
1172
  nonce: c,
1173
- clientOnly: f,
1173
+ clientOnly: h,
1174
1174
  order: d = 0
1175
1175
  } = e.value || {}, g = o.value.join("|");
1176
1176
  if (ml(g)) {
1177
1177
  const [y, M] = pl(g);
1178
1178
  if (y)
1179
- return [y, r.value, M, {}, f, d];
1179
+ return [y, r.value, M, {}, h, d];
1180
1180
  }
1181
1181
  const v = t(), {
1182
1182
  hashPriority: p,
@@ -1184,7 +1184,7 @@ function Cr(e, t) {
1184
1184
  transformers: b,
1185
1185
  linters: S,
1186
1186
  cache: $
1187
- } = n.value, [C, x] = hn(v, {
1187
+ } = n.value, [C, x] = fn(v, {
1188
1188
  hashId: l,
1189
1189
  hashPriority: p,
1190
1190
  layer: s,
@@ -1202,20 +1202,20 @@ function Cr(e, t) {
1202
1202
  M && (y.csp = {
1203
1203
  nonce: M
1204
1204
  });
1205
- const P = ln(T, w, y);
1205
+ const P = an(T, w, y);
1206
1206
  P[ze] = $.instanceId, P.setAttribute(Oo, r.value), process.env.NODE_ENV !== "production" && P.setAttribute(fa, o.value.join("|")), Object.keys(x).forEach((E) => {
1207
- fn.has(E) || (fn.add(E), ln(Sr(x[E]), `_effect-${E}`, {
1207
+ dn.has(E) || (dn.add(E), an(Sr(x[E]), `_effect-${E}`, {
1208
1208
  mark: xe,
1209
1209
  prepend: "queue",
1210
1210
  attachTo: m
1211
1211
  }));
1212
1212
  });
1213
1213
  }
1214
- return [T, r.value, w, x, f, d];
1214
+ return [T, r.value, w, x, h, d];
1215
1215
  },
1216
1216
  // Remove cache if no need
1217
1217
  ([, , a], l) => {
1218
- (l || n.value.autoClear) && br && Rn(a, {
1218
+ (l || n.value.autoClear) && br && Nn(a, {
1219
1219
  mark: xe
1220
1220
  });
1221
1221
  }
@@ -1225,7 +1225,7 @@ const bl = "cssVar", Sl = (e, t) => {
1225
1225
  const { key: n, prefix: r, unitless: o, ignore: i, token: a, scope: l = "" } = e;
1226
1226
  useContext(pa);
1227
1227
  const { _tokenKey: s } = a, c = [...e.path, n, l, s];
1228
- return Nn(
1228
+ return Hn(
1229
1229
  bl,
1230
1230
  c,
1231
1231
  () => {
@@ -1238,7 +1238,7 @@ const bl = "cssVar", Sl = (e, t) => {
1238
1238
  return [g, v, p, n];
1239
1239
  },
1240
1240
  ([, , d]) => {
1241
- La && Rn(d, { mark: xe });
1241
+ La && Nn(d, { mark: xe });
1242
1242
  }
1243
1243
  );
1244
1244
  };
@@ -1257,20 +1257,20 @@ Be(["borderTop", "borderBottom"]), Be(["borderTop"]), Be(["borderBottom"]), Be([
1257
1257
  class Jo {
1258
1258
  }
1259
1259
  const _o = "CALC_UNIT", Cl = new RegExp(_o, "g");
1260
- function kt(e) {
1260
+ function Wt(e) {
1261
1261
  return typeof e == "number" ? `${e}${_o}` : e;
1262
1262
  }
1263
1263
  class Pe extends Jo {
1264
1264
  constructor(t, n) {
1265
1265
  super(), this.result = "";
1266
1266
  const r = typeof t;
1267
- this.unitlessCssVar = n, t instanceof Pe ? this.result = `(${t.result})` : r === "number" ? this.result = kt(t) : r === "string" && (this.result = t);
1267
+ this.unitlessCssVar = n, t instanceof Pe ? this.result = `(${t.result})` : r === "number" ? this.result = Wt(t) : r === "string" && (this.result = t);
1268
1268
  }
1269
1269
  add(t) {
1270
- return t instanceof Pe ? this.result = `${this.result} + ${t.getResult()}` : (typeof t == "number" || typeof t == "string") && (this.result = `${this.result} + ${kt(t)}`), this.lowPriority = !0, this;
1270
+ return t instanceof Pe ? this.result = `${this.result} + ${t.getResult()}` : (typeof t == "number" || typeof t == "string") && (this.result = `${this.result} + ${Wt(t)}`), this.lowPriority = !0, this;
1271
1271
  }
1272
1272
  sub(t) {
1273
- return t instanceof Pe ? this.result = `${this.result} - ${t.getResult()}` : (typeof t == "number" || typeof t == "string") && (this.result = `${this.result} - ${kt(t)}`), this.lowPriority = !0, this;
1273
+ return t instanceof Pe ? this.result = `${this.result} - ${t.getResult()}` : (typeof t == "number" || typeof t == "string") && (this.result = `${this.result} - ${Wt(t)}`), this.lowPriority = !0, this;
1274
1274
  }
1275
1275
  mul(t) {
1276
1276
  return this.lowPriority && (this.result = `(${this.result})`), t instanceof Pe ? this.result = `${this.result} * ${t.getResult(!0)}` : (typeof t == "number" || typeof t == "string") && (this.result = `${this.result} * ${t}`), this.lowPriority = !1, this;
@@ -1335,11 +1335,11 @@ function $r(e, t = {}, n, r) {
1335
1335
  }), i;
1336
1336
  }
1337
1337
  const ei = process.env.NODE_ENV !== "production" || typeof CSSINJS_STATISTIC < "u";
1338
- let gn = !0;
1338
+ let hn = !0;
1339
1339
  function he(...e) {
1340
1340
  if (!ei)
1341
1341
  return Object.assign({}, ...e);
1342
- gn = !1;
1342
+ hn = !1;
1343
1343
  const t = {};
1344
1344
  return e.forEach((n) => {
1345
1345
  if (typeof n != "object")
@@ -1351,7 +1351,7 @@ function he(...e) {
1351
1351
  get: () => n[o]
1352
1352
  });
1353
1353
  });
1354
- }), gn = !0, t;
1354
+ }), hn = !0, t;
1355
1355
  }
1356
1356
  const wr = {};
1357
1357
  function $l() {
@@ -1360,7 +1360,7 @@ const wl = (e) => {
1360
1360
  let t, n = e, r = $l;
1361
1361
  return ei && typeof Proxy < "u" && (t = /* @__PURE__ */ new Set(), n = new Proxy(e, {
1362
1362
  get(o, i) {
1363
- return gn && (t == null || t.add(i)), o[i];
1363
+ return hn && (t == null || t.add(i)), o[i];
1364
1364
  }
1365
1365
  }), r = (o, i) => {
1366
1366
  var a;
@@ -1424,7 +1424,7 @@ class Al {
1424
1424
  }
1425
1425
  const Or = new Al();
1426
1426
  function Pl(e, t) {
1427
- return h(() => {
1427
+ return f(() => {
1428
1428
  const n = Or.get(t);
1429
1429
  if (n)
1430
1430
  return n;
@@ -1459,8 +1459,8 @@ function Ml(e) {
1459
1459
  unitless: C,
1460
1460
  prefixToken: b
1461
1461
  }, T = c(d, g, v, x), w = s(m, v, x);
1462
- return (y, M = F(y)) => {
1463
- const [, P] = T(F(y), M), [E, N] = w(M);
1462
+ return (y, M = z(y)) => {
1463
+ const [, P] = T(z(y), M), [E, N] = w(M);
1464
1464
  return [E, P, N];
1465
1465
  };
1466
1466
  }
@@ -1519,15 +1519,15 @@ function Ml(e) {
1519
1519
  } = n(), {
1520
1520
  rootPrefixCls: E,
1521
1521
  iconPrefixCls: N
1522
- } = r(), X = t(), j = P ? "css" : "js", L = O(Pl(() => {
1522
+ } = r(), X = t(), D = P ? "css" : "js", L = O(Pl(() => {
1523
1523
  const I = /* @__PURE__ */ new Set();
1524
1524
  return P && Object.keys(p.unitless || {}).forEach((V) => {
1525
- I.add(xt(V, P.prefix)), I.add(xt(V, xr(b, P.prefix)));
1526
- }), xl(j, I);
1527
- }, [j, b, P == null ? void 0 : P.prefix])), {
1525
+ I.add(Ct(V, P.prefix)), I.add(Ct(V, xr(b, P.prefix)));
1526
+ }), xl(D, I);
1527
+ }, [D, b, P == null ? void 0 : P.prefix])), {
1528
1528
  max: Z,
1529
1529
  min: re
1530
- } = Tl(j), Ne = {
1530
+ } = Tl(D), Ne = {
1531
1531
  theme: T,
1532
1532
  token: M,
1533
1533
  hashId: y,
@@ -1537,7 +1537,7 @@ function Ml(e) {
1537
1537
  // antd is always at top of styles
1538
1538
  order: p.order || -999
1539
1539
  };
1540
- return typeof o == "function" && Cr(h(() => ({
1540
+ return typeof o == "function" && Cr(f(() => ({
1541
1541
  ...Ne,
1542
1542
  clientOnly: !1,
1543
1543
  path: ["Shared", E]
@@ -1547,7 +1547,7 @@ function Ml(e) {
1547
1547
  iconPrefixCls: N
1548
1548
  },
1549
1549
  csp: X
1550
- })), [Cr(h(() => ({
1550
+ })), [Cr(f(() => ({
1551
1551
  ...Ne,
1552
1552
  path: [S, C, N]
1553
1553
  })), () => {
@@ -1556,14 +1556,14 @@ function Ml(e) {
1556
1556
  const {
1557
1557
  token: I,
1558
1558
  flush: V
1559
- } = wl(M), Y = Tr(b, w, v), dt = `.${C}`, ir = $r(b, w, Y, {
1559
+ } = wl(M), Y = Tr(b, w, v), ut = `.${C}`, ir = $r(b, w, Y, {
1560
1560
  deprecatedTokens: p.deprecatedTokens
1561
1561
  });
1562
1562
  P && Y && typeof Y == "object" && Object.keys(Y).forEach((lr) => {
1563
- Y[lr] = `var(${xt(lr, xr(b, P.prefix))})`;
1563
+ Y[lr] = `var(${Ct(lr, xr(b, P.prefix))})`;
1564
1564
  });
1565
1565
  const ar = he(I, {
1566
- componentCls: dt,
1566
+ componentCls: ut,
1567
1567
  prefixCls: C,
1568
1568
  iconCls: `.${N}`,
1569
1569
  antCls: `.${E}`,
@@ -1584,7 +1584,7 @@ function Ml(e) {
1584
1584
  }), y];
1585
1585
  };
1586
1586
  }
1587
- function f(d, g, v, p = {}) {
1587
+ function h(d, g, v, p = {}) {
1588
1588
  const m = c(d, g, v, {
1589
1589
  resetStyle: !1,
1590
1590
  // Sub Style should default after root one
@@ -1598,7 +1598,7 @@ function Ml(e) {
1598
1598
  }
1599
1599
  return {
1600
1600
  genStyleHooks: l,
1601
- genSubStyleComponent: f,
1601
+ genSubStyleComponent: h,
1602
1602
  genComponentStyleHook: c
1603
1603
  };
1604
1604
  }
@@ -1631,21 +1631,21 @@ const Il = {
1631
1631
  zIndexBase: !0,
1632
1632
  opacityImage: !0
1633
1633
  };
1634
- function D() {
1635
- return D = Object.assign ? Object.assign.bind() : function(e) {
1634
+ function F() {
1635
+ return F = Object.assign ? Object.assign.bind() : function(e) {
1636
1636
  for (var t = 1; t < arguments.length; t++) {
1637
1637
  var n = arguments[t];
1638
1638
  for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
1639
1639
  }
1640
1640
  return e;
1641
- }, D.apply(null, arguments);
1641
+ }, F.apply(null, arguments);
1642
1642
  }
1643
1643
  function K(e, t) {
1644
1644
  Nl(e) && (e = "100%");
1645
1645
  var n = Rl(e);
1646
1646
  return e = t === 360 ? e : Math.min(t, Math.max(0, parseFloat(e))), n && (e = parseInt(String(e * t), 10) / 100), Math.abs(e - t) < 1e-6 ? 1 : (t === 360 ? e = (e < 0 ? e % t + t : e % t) / parseFloat(String(t)) : e = e % t / parseFloat(String(t)), e);
1647
1647
  }
1648
- function ht(e) {
1648
+ function ft(e) {
1649
1649
  return Math.min(1, Math.max(0, e));
1650
1650
  }
1651
1651
  function Nl(e) {
@@ -1657,7 +1657,7 @@ function Rl(e) {
1657
1657
  function ti(e) {
1658
1658
  return e = parseFloat(e), (isNaN(e) || e < 0 || e > 1) && (e = 1), e;
1659
1659
  }
1660
- function gt(e) {
1660
+ function ht(e) {
1661
1661
  return e <= 1 ? "".concat(Number(e) * 100, "%") : e;
1662
1662
  }
1663
1663
  function Ie(e) {
@@ -1692,7 +1692,7 @@ function Ar(e, t, n) {
1692
1692
  }
1693
1693
  return { h: i, s: a, l };
1694
1694
  }
1695
- function Gt(e, t, n) {
1695
+ function kt(e, t, n) {
1696
1696
  return n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? e + (t - e) * (6 * n) : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e;
1697
1697
  }
1698
1698
  function Ll(e, t, n) {
@@ -1701,11 +1701,11 @@ function Ll(e, t, n) {
1701
1701
  o = n, i = n, r = n;
1702
1702
  else {
1703
1703
  var a = n < 0.5 ? n * (1 + t) : n + t - n * t, l = 2 * n - a;
1704
- r = Gt(l, a, e + 1 / 3), o = Gt(l, a, e), i = Gt(l, a, e - 1 / 3);
1704
+ r = kt(l, a, e + 1 / 3), o = kt(l, a, e), i = kt(l, a, e - 1 / 3);
1705
1705
  }
1706
1706
  return { r: r * 255, g: o * 255, b: i * 255 };
1707
1707
  }
1708
- function mn(e, t, n) {
1708
+ function gn(e, t, n) {
1709
1709
  e = K(e, 255), t = K(t, 255), n = K(n, 255);
1710
1710
  var r = Math.max(e, t, n), o = Math.min(e, t, n), i = 0, a = r, l = r - o, s = r === 0 ? 0 : l / r;
1711
1711
  if (r === o)
@@ -1728,10 +1728,10 @@ function mn(e, t, n) {
1728
1728
  }
1729
1729
  function zl(e, t, n) {
1730
1730
  e = K(e, 360) * 6, t = K(t, 100), n = K(n, 100);
1731
- var r = Math.floor(e), o = e - r, i = n * (1 - t), a = n * (1 - o * t), l = n * (1 - (1 - o) * t), s = r % 6, c = [n, a, i, i, l, n][s], f = [l, n, n, a, i, i][s], d = [i, i, l, n, n, a][s];
1732
- return { r: c * 255, g: f * 255, b: d * 255 };
1731
+ var r = Math.floor(e), o = e - r, i = n * (1 - t), a = n * (1 - o * t), l = n * (1 - (1 - o) * t), s = r % 6, c = [n, a, i, i, l, n][s], h = [l, n, n, a, i, i][s], d = [i, i, l, n, n, a][s];
1732
+ return { r: c * 255, g: h * 255, b: d * 255 };
1733
1733
  }
1734
- function pn(e, t, n, r) {
1734
+ function mn(e, t, n, r) {
1735
1735
  var o = [
1736
1736
  Ie(Math.round(e).toString(16)),
1737
1737
  Ie(Math.round(t).toString(16)),
@@ -1764,7 +1764,7 @@ function Fl(e) {
1764
1764
  b: e & 255
1765
1765
  };
1766
1766
  }
1767
- var vn = {
1767
+ var pn = {
1768
1768
  aliceblue: "#f0f8ff",
1769
1769
  antiquewhite: "#faebd7",
1770
1770
  aqua: "#00ffff",
@@ -1916,7 +1916,7 @@ var vn = {
1916
1916
  };
1917
1917
  function Le(e) {
1918
1918
  var t = { r: 0, g: 0, b: 0 }, n = 1, r = null, o = null, i = null, a = !1, l = !1;
1919
- return typeof e == "string" && (e = Wl(e)), typeof e == "object" && (ge(e.r) && ge(e.g) && ge(e.b) ? (t = Bl(e.r, e.g, e.b), a = !0, l = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : ge(e.h) && ge(e.s) && ge(e.v) ? (r = gt(e.s), o = gt(e.v), t = zl(e.h, r, o), a = !0, l = "hsv") : ge(e.h) && ge(e.s) && ge(e.l) && (r = gt(e.s), i = gt(e.l), t = Ll(e.h, r, i), a = !0, l = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (n = e.a)), n = ti(n), {
1919
+ return typeof e == "string" && (e = Wl(e)), typeof e == "object" && (ge(e.r) && ge(e.g) && ge(e.b) ? (t = Bl(e.r, e.g, e.b), a = !0, l = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : ge(e.h) && ge(e.s) && ge(e.v) ? (r = ht(e.s), o = ht(e.v), t = zl(e.h, r, o), a = !0, l = "hsv") : ge(e.h) && ge(e.s) && ge(e.l) && (r = ht(e.s), i = ht(e.l), t = Ll(e.h, r, i), a = !0, l = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (n = e.a)), n = ti(n), {
1920
1920
  ok: a,
1921
1921
  format: e.format || l,
1922
1922
  r: Math.min(255, Math.max(t.r, 0)),
@@ -1925,14 +1925,14 @@ function Le(e) {
1925
1925
  a: n
1926
1926
  };
1927
1927
  }
1928
- var Xl = "[-\\+]?\\d+%?", Vl = "[-\\+]?\\d*\\.\\d+%?", Ce = "(?:".concat(Vl, ")|(?:").concat(Xl, ")"), Ut = "[\\s|\\(]+(".concat(Ce, ")[,|\\s]+(").concat(Ce, ")[,|\\s]+(").concat(Ce, ")\\s*\\)?"), qt = "[\\s|\\(]+(".concat(Ce, ")[,|\\s]+(").concat(Ce, ")[,|\\s]+(").concat(Ce, ")[,|\\s]+(").concat(Ce, ")\\s*\\)?"), oe = {
1928
+ var Xl = "[-\\+]?\\d+%?", Vl = "[-\\+]?\\d*\\.\\d+%?", Ce = "(?:".concat(Vl, ")|(?:").concat(Xl, ")"), Gt = "[\\s|\\(]+(".concat(Ce, ")[,|\\s]+(").concat(Ce, ")[,|\\s]+(").concat(Ce, ")\\s*\\)?"), Ut = "[\\s|\\(]+(".concat(Ce, ")[,|\\s]+(").concat(Ce, ")[,|\\s]+(").concat(Ce, ")[,|\\s]+(").concat(Ce, ")\\s*\\)?"), oe = {
1929
1929
  CSS_UNIT: new RegExp(Ce),
1930
- rgb: new RegExp("rgb" + Ut),
1931
- rgba: new RegExp("rgba" + qt),
1932
- hsl: new RegExp("hsl" + Ut),
1933
- hsla: new RegExp("hsla" + qt),
1934
- hsv: new RegExp("hsv" + Ut),
1935
- hsva: new RegExp("hsva" + qt),
1930
+ rgb: new RegExp("rgb" + Gt),
1931
+ rgba: new RegExp("rgba" + Ut),
1932
+ hsl: new RegExp("hsl" + Gt),
1933
+ hsla: new RegExp("hsla" + Ut),
1934
+ hsv: new RegExp("hsv" + Gt),
1935
+ hsva: new RegExp("hsva" + Ut),
1936
1936
  hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
1937
1937
  hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
1938
1938
  hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
@@ -1942,8 +1942,8 @@ function Wl(e) {
1942
1942
  if (e = e.trim().toLowerCase(), e.length === 0)
1943
1943
  return !1;
1944
1944
  var t = !1;
1945
- if (vn[e])
1946
- e = vn[e], t = !0;
1945
+ if (pn[e])
1946
+ e = pn[e], t = !0;
1947
1947
  else if (e === "transparent")
1948
1948
  return { r: 0, g: 0, b: 0, a: 0, format: "name" };
1949
1949
  var n = oe.rgb.exec(e);
@@ -2004,10 +2004,10 @@ var ue = (
2004
2004
  var t = this.toHsl().s;
2005
2005
  return t === 0;
2006
2006
  }, e.prototype.toHsv = function() {
2007
- var t = mn(this.r, this.g, this.b);
2007
+ var t = gn(this.r, this.g, this.b);
2008
2008
  return { h: t.h * 360, s: t.s, v: t.v, a: this.a };
2009
2009
  }, e.prototype.toHsvString = function() {
2010
- var t = mn(this.r, this.g, this.b), n = Math.round(t.h * 360), r = Math.round(t.s * 100), o = Math.round(t.v * 100);
2010
+ var t = gn(this.r, this.g, this.b), n = Math.round(t.h * 360), r = Math.round(t.s * 100), o = Math.round(t.v * 100);
2011
2011
  return this.a === 1 ? "hsv(".concat(n, ", ").concat(r, "%, ").concat(o, "%)") : "hsva(".concat(n, ", ").concat(r, "%, ").concat(o, "%, ").concat(this.roundA, ")");
2012
2012
  }, e.prototype.toHsl = function() {
2013
2013
  var t = Ar(this.r, this.g, this.b);
@@ -2016,7 +2016,7 @@ var ue = (
2016
2016
  var t = Ar(this.r, this.g, this.b), n = Math.round(t.h * 360), r = Math.round(t.s * 100), o = Math.round(t.l * 100);
2017
2017
  return this.a === 1 ? "hsl(".concat(n, ", ").concat(r, "%, ").concat(o, "%)") : "hsla(".concat(n, ", ").concat(r, "%, ").concat(o, "%, ").concat(this.roundA, ")");
2018
2018
  }, e.prototype.toHex = function(t) {
2019
- return t === void 0 && (t = !1), pn(this.r, this.g, this.b, t);
2019
+ return t === void 0 && (t = !1), mn(this.r, this.g, this.b, t);
2020
2020
  }, e.prototype.toHexString = function(t) {
2021
2021
  return t === void 0 && (t = !1), "#" + this.toHex(t);
2022
2022
  }, e.prototype.toHex8 = function(t) {
@@ -2055,7 +2055,7 @@ var ue = (
2055
2055
  return "transparent";
2056
2056
  if (this.a < 1)
2057
2057
  return !1;
2058
- for (var t = "#" + pn(this.r, this.g, this.b, !1), n = 0, r = Object.entries(vn); n < r.length; n++) {
2058
+ for (var t = "#" + mn(this.r, this.g, this.b, !1), n = 0, r = Object.entries(pn); n < r.length; n++) {
2059
2059
  var o = r[n], i = o[0], a = o[1];
2060
2060
  if (t === a)
2061
2061
  return i;
@@ -2073,7 +2073,7 @@ var ue = (
2073
2073
  }, e.prototype.lighten = function(t) {
2074
2074
  t === void 0 && (t = 10);
2075
2075
  var n = this.toHsl();
2076
- return n.l += t / 100, n.l = ht(n.l), new e(n);
2076
+ return n.l += t / 100, n.l = ft(n.l), new e(n);
2077
2077
  }, e.prototype.brighten = function(t) {
2078
2078
  t === void 0 && (t = 10);
2079
2079
  var n = this.toRgb();
@@ -2081,7 +2081,7 @@ var ue = (
2081
2081
  }, e.prototype.darken = function(t) {
2082
2082
  t === void 0 && (t = 10);
2083
2083
  var n = this.toHsl();
2084
- return n.l -= t / 100, n.l = ht(n.l), new e(n);
2084
+ return n.l -= t / 100, n.l = ft(n.l), new e(n);
2085
2085
  }, e.prototype.tint = function(t) {
2086
2086
  return t === void 0 && (t = 10), this.mix("white", t);
2087
2087
  }, e.prototype.shade = function(t) {
@@ -2089,11 +2089,11 @@ var ue = (
2089
2089
  }, e.prototype.desaturate = function(t) {
2090
2090
  t === void 0 && (t = 10);
2091
2091
  var n = this.toHsl();
2092
- return n.s -= t / 100, n.s = ht(n.s), new e(n);
2092
+ return n.s -= t / 100, n.s = ft(n.s), new e(n);
2093
2093
  }, e.prototype.saturate = function(t) {
2094
2094
  t === void 0 && (t = 10);
2095
2095
  var n = this.toHsl();
2096
- return n.s += t / 100, n.s = ht(n.s), new e(n);
2096
+ return n.s += t / 100, n.s = ft(n.s), new e(n);
2097
2097
  }, e.prototype.greyscale = function() {
2098
2098
  return this.desaturate(100);
2099
2099
  }, e.prototype.spin = function(t) {
@@ -2150,10 +2150,10 @@ var ue = (
2150
2150
  }, e;
2151
2151
  }()
2152
2152
  );
2153
- function Kt(e) {
2153
+ function qt(e) {
2154
2154
  return e >= 0 && e <= 255;
2155
2155
  }
2156
- function mt(e, t) {
2156
+ function gt(e, t) {
2157
2157
  const {
2158
2158
  r: n,
2159
2159
  g: r,
@@ -2168,10 +2168,10 @@ function mt(e, t) {
2168
2168
  b: s
2169
2169
  } = new ue(t).toRgb();
2170
2170
  for (let c = 0.01; c <= 1; c += 0.01) {
2171
- const f = Math.round((n - a * (1 - c)) / c), d = Math.round((r - l * (1 - c)) / c), g = Math.round((o - s * (1 - c)) / c);
2172
- if (Kt(f) && Kt(d) && Kt(g))
2171
+ const h = Math.round((n - a * (1 - c)) / c), d = Math.round((r - l * (1 - c)) / c), g = Math.round((o - s * (1 - c)) / c);
2172
+ if (qt(h) && qt(d) && qt(g))
2173
2173
  return new ue({
2174
- r: f,
2174
+ r: h,
2175
2175
  g: d,
2176
2176
  b: g,
2177
2177
  a: Math.round(c * 100) / 100
@@ -2198,7 +2198,7 @@ const ni = {
2198
2198
  geekblue: "#2F54EB",
2199
2199
  gold: "#FAAD14",
2200
2200
  lime: "#A0D911"
2201
- }, ri = D(D({}, ni), {
2201
+ }, ri = F(F({}, ni), {
2202
2202
  // Color
2203
2203
  colorPrimary: "#1677ff",
2204
2204
  colorSuccess: "#52c41a",
@@ -2252,12 +2252,12 @@ var kl = function(e, t) {
2252
2252
  function Gl(e) {
2253
2253
  const {
2254
2254
  override: t
2255
- } = e, n = kl(e, ["override"]), r = D({}, t);
2255
+ } = e, n = kl(e, ["override"]), r = F({}, t);
2256
2256
  Object.keys(ri).forEach((v) => {
2257
2257
  delete r[v];
2258
2258
  });
2259
- const o = D(D({}, n), r), i = 480, a = 576, l = 768, s = 992, c = 1200, f = 1600, d = 2e3;
2260
- return D(D(D({}, o), {
2259
+ const o = F(F({}, n), r), i = 480, a = 576, l = 768, s = 992, c = 1200, h = 1600, d = 2e3;
2260
+ return F(F(F({}, o), {
2261
2261
  colorLink: o.colorInfoText,
2262
2262
  colorLinkHover: o.colorInfoHover,
2263
2263
  colorLinkActive: o.colorInfoActive,
@@ -2268,7 +2268,7 @@ function Gl(e) {
2268
2268
  colorBgContainerDisabled: o.colorFillTertiary,
2269
2269
  // ============== Split ============== //
2270
2270
  colorBorderBg: o.colorBgContainer,
2271
- colorSplit: mt(o.colorBorderSecondary, o.colorBgContainer),
2271
+ colorSplit: gt(o.colorBorderSecondary, o.colorBgContainer),
2272
2272
  // ============== Text ============== //
2273
2273
  colorTextPlaceholder: o.colorTextQuaternary,
2274
2274
  colorTextDisabled: o.colorTextQuaternary,
@@ -2281,8 +2281,8 @@ function Gl(e) {
2281
2281
  colorBgTextActive: o.colorFill,
2282
2282
  colorIcon: o.colorTextTertiary,
2283
2283
  colorIconHover: o.colorText,
2284
- colorErrorOutline: mt(o.colorErrorBg, o.colorBgContainer),
2285
- colorWarningOutline: mt(o.colorWarningBg, o.colorBgContainer),
2284
+ colorErrorOutline: gt(o.colorErrorBg, o.colorBgContainer),
2285
+ colorWarningOutline: gt(o.colorWarningBg, o.colorBgContainer),
2286
2286
  // Font
2287
2287
  fontSizeIcon: o.fontSizeSM,
2288
2288
  // Control
@@ -2295,7 +2295,7 @@ function Gl(e) {
2295
2295
  controlItemBgActiveHover: o.colorPrimaryBgHover,
2296
2296
  controlItemBgActiveDisabled: o.colorFill,
2297
2297
  controlTmpOutline: o.colorFillQuaternary,
2298
- controlOutline: mt(o.colorPrimaryBg, o.colorBgContainer),
2298
+ controlOutline: gt(o.colorPrimaryBg, o.colorBgContainer),
2299
2299
  lineType: o.lineType,
2300
2300
  borderRadius: o.borderRadius,
2301
2301
  borderRadiusXS: o.borderRadiusXS,
@@ -2358,9 +2358,9 @@ function Gl(e) {
2358
2358
  screenLGMax: c - 1,
2359
2359
  screenXL: c,
2360
2360
  screenXLMin: c,
2361
- screenXLMax: f - 1,
2362
- screenXXL: f,
2363
- screenXXLMin: f,
2361
+ screenXLMax: h - 1,
2362
+ screenXXL: h,
2363
+ screenXXLMin: h,
2364
2364
  screenXXLMax: d - 1,
2365
2365
  screenXXXL: d,
2366
2366
  screenXXXLMin: d,
@@ -2471,15 +2471,15 @@ class We {
2471
2471
  }
2472
2472
  We.MAX_CACHE_SIZE = 20;
2473
2473
  We.MAX_CACHE_OFFSET = 5;
2474
- let yn = {};
2474
+ let vn = {};
2475
2475
  function Kl(e, t) {
2476
2476
  process.env.NODE_ENV !== "production" && !e && console !== void 0 && console.error(`Warning: ${t}`);
2477
2477
  }
2478
2478
  function Zl() {
2479
- yn = {};
2479
+ vn = {};
2480
2480
  }
2481
2481
  function Yl(e, t, n) {
2482
- !t && !yn[n] && (e(!1, n), yn[n] = !0);
2482
+ !t && !vn[n] && (e(!1, n), vn[n] = !0);
2483
2483
  }
2484
2484
  function Ql(e, t) {
2485
2485
  Yl(Kl, e, t);
@@ -2499,12 +2499,12 @@ class _l {
2499
2499
  return this.derivatives.reduce((n, r) => r(t, n), void 0);
2500
2500
  }
2501
2501
  }
2502
- const Zt = new We();
2502
+ const Kt = new We();
2503
2503
  function es(e) {
2504
2504
  const t = Array.isArray(e) ? e : [e];
2505
- return Zt.has(t) || Zt.set(t, new _l(t)), Zt.get(t);
2505
+ return Kt.has(t) || Kt.set(t, new _l(t)), Kt.get(t);
2506
2506
  }
2507
- var pt = 2, Mr = 0.16, ts = 0.05, ns = 0.05, rs = 0.15, ii = 5, ai = 4, os = [{
2507
+ var mt = 2, Mr = 0.16, ts = 0.05, ns = 0.05, rs = 0.15, ii = 5, ai = 4, os = [{
2508
2508
  index: 7,
2509
2509
  opacity: 0.15
2510
2510
  }, {
@@ -2536,16 +2536,16 @@ var pt = 2, Mr = 0.16, ts = 0.05, ns = 0.05, rs = 0.15, ii = 5, ai = 4, os = [{
2536
2536
  opacity: 0.98
2537
2537
  }];
2538
2538
  function Ir(e) {
2539
- var t = e.r, n = e.g, r = e.b, o = mn(t, n, r);
2539
+ var t = e.r, n = e.g, r = e.b, o = gn(t, n, r);
2540
2540
  return {
2541
2541
  h: o.h * 360,
2542
2542
  s: o.s,
2543
2543
  v: o.v
2544
2544
  };
2545
2545
  }
2546
- function vt(e) {
2546
+ function pt(e) {
2547
2547
  var t = e.r, n = e.g, r = e.b;
2548
- return "#".concat(pn(t, n, r, !1));
2548
+ return "#".concat(mn(t, n, r, !1));
2549
2549
  }
2550
2550
  function is(e, t, n) {
2551
2551
  var r = n / 100, o = {
@@ -2557,7 +2557,7 @@ function is(e, t, n) {
2557
2557
  }
2558
2558
  function Hr(e, t, n) {
2559
2559
  var r;
2560
- return Math.round(e.h) >= 60 && Math.round(e.h) <= 240 ? r = n ? Math.round(e.h) - pt * t : Math.round(e.h) + pt * t : r = n ? Math.round(e.h) + pt * t : Math.round(e.h) - pt * t, r < 0 ? r += 360 : r >= 360 && (r -= 360), r;
2560
+ return Math.round(e.h) >= 60 && Math.round(e.h) <= 240 ? r = n ? Math.round(e.h) - mt * t : Math.round(e.h) + mt * t : r = n ? Math.round(e.h) + mt * t : Math.round(e.h) - mt * t, r < 0 ? r += 360 : r >= 360 && (r -= 360), r;
2561
2561
  }
2562
2562
  function Nr(e, t, n) {
2563
2563
  if (e.h === 0 && e.s === 0)
@@ -2569,30 +2569,30 @@ function Rr(e, t, n) {
2569
2569
  var r;
2570
2570
  return n ? r = e.v + ns * t : r = e.v - rs * t, r > 1 && (r = 1), Number(r.toFixed(2));
2571
2571
  }
2572
- function at(e) {
2572
+ function lt(e) {
2573
2573
  for (var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = [], r = Le(e), o = ii; o > 0; o -= 1) {
2574
- var i = Ir(r), a = vt(Le({
2574
+ var i = Ir(r), a = pt(Le({
2575
2575
  h: Hr(i, o, !0),
2576
2576
  s: Nr(i, o, !0),
2577
2577
  v: Rr(i, o, !0)
2578
2578
  }));
2579
2579
  n.push(a);
2580
2580
  }
2581
- n.push(vt(r));
2581
+ n.push(pt(r));
2582
2582
  for (var l = 1; l <= ai; l += 1) {
2583
- var s = Ir(r), c = vt(Le({
2583
+ var s = Ir(r), c = pt(Le({
2584
2584
  h: Hr(s, l),
2585
2585
  s: Nr(s, l),
2586
2586
  v: Rr(s, l)
2587
2587
  }));
2588
2588
  n.push(c);
2589
2589
  }
2590
- return t.theme === "dark" ? os.map(function(f) {
2591
- var d = f.index, g = f.opacity, v = vt(is(Le(t.backgroundColor || "#141414"), Le(n[d]), g * 100));
2590
+ return t.theme === "dark" ? os.map(function(h) {
2591
+ var d = h.index, g = h.opacity, v = pt(is(Le(t.backgroundColor || "#141414"), Le(n[d]), g * 100));
2592
2592
  return v;
2593
2593
  }) : n;
2594
2594
  }
2595
- var Yt = {
2595
+ var Zt = {
2596
2596
  red: "#F5222D",
2597
2597
  volcano: "#FA541C",
2598
2598
  orange: "#FA8C16",
@@ -2606,14 +2606,14 @@ var Yt = {
2606
2606
  purple: "#722ED1",
2607
2607
  magenta: "#EB2F96",
2608
2608
  grey: "#666666"
2609
- }, Ot = {}, Qt = {};
2610
- Object.keys(Yt).forEach(function(e) {
2611
- Ot[e] = at(Yt[e]), Ot[e].primary = Ot[e][5], Qt[e] = at(Yt[e], {
2609
+ }, Tt = {}, Yt = {};
2610
+ Object.keys(Zt).forEach(function(e) {
2611
+ Tt[e] = lt(Zt[e]), Tt[e].primary = Tt[e][5], Yt[e] = lt(Zt[e], {
2612
2612
  theme: "dark",
2613
2613
  backgroundColor: "#141414"
2614
- }), Qt[e].primary = Qt[e][5];
2614
+ }), Yt[e].primary = Yt[e][5];
2615
2615
  });
2616
- var as = Ot.blue;
2616
+ var as = Tt.blue;
2617
2617
  const ls = (e) => {
2618
2618
  const {
2619
2619
  controlHeight: t
@@ -2654,9 +2654,9 @@ function cs(e, t) {
2654
2654
  colorInfo: l,
2655
2655
  colorPrimary: s,
2656
2656
  colorBgBase: c,
2657
- colorTextBase: f
2658
- } = e, d = n(s), g = n(o), v = n(i), p = n(a), m = n(l), b = r(c, f);
2659
- return D(D({}, b), {
2657
+ colorTextBase: h
2658
+ } = e, d = n(s), g = n(o), v = n(i), p = n(a), m = n(l), b = r(c, h);
2659
+ return F(F({}, b), {
2660
2660
  colorPrimaryBg: d[1],
2661
2661
  colorPrimaryBgHover: d[2],
2662
2662
  colorPrimaryBorder: d[3],
@@ -2728,7 +2728,7 @@ function ds(e) {
2728
2728
  borderRadius: r,
2729
2729
  lineWidth: o
2730
2730
  } = e;
2731
- return D({
2731
+ return F({
2732
2732
  // motion
2733
2733
  motionDurationFast: `${(n + t).toFixed(1)}s`,
2734
2734
  motionDurationMid: `${(n + t * 2).toFixed(1)}s`,
@@ -2737,8 +2737,8 @@ function ds(e) {
2737
2737
  lineWidthBold: o + 1
2738
2738
  }, us(r));
2739
2739
  }
2740
- const me = (e, t) => new ue(e).setAlpha(t).toRgbString(), Ke = (e, t) => new ue(e).darken(t).toHexString(), fs = (e) => {
2741
- const t = at(e);
2740
+ const me = (e, t) => new ue(e).setAlpha(t).toRgbString(), Ze = (e, t) => new ue(e).darken(t).toHexString(), fs = (e) => {
2741
+ const t = lt(e);
2742
2742
  return {
2743
2743
  1: t[0],
2744
2744
  2: t[1],
@@ -2767,12 +2767,12 @@ const me = (e, t) => new ue(e).setAlpha(t).toRgbString(), Ke = (e, t) => new ue(
2767
2767
  colorFillSecondary: me(r, 0.06),
2768
2768
  colorFillTertiary: me(r, 0.04),
2769
2769
  colorFillQuaternary: me(r, 0.02),
2770
- colorBgLayout: Ke(n, 4),
2771
- colorBgContainer: Ke(n, 0),
2772
- colorBgElevated: Ke(n, 0),
2770
+ colorBgLayout: Ze(n, 4),
2771
+ colorBgContainer: Ze(n, 0),
2772
+ colorBgElevated: Ze(n, 0),
2773
2773
  colorBgSpotlight: me(r, 0.85),
2774
- colorBorder: Ke(n, 15),
2775
- colorBorderSecondary: Ke(n, 6)
2774
+ colorBorder: Ze(n, 15),
2775
+ colorBorderSecondary: Ze(n, 6)
2776
2776
  };
2777
2777
  };
2778
2778
  function gs(e) {
@@ -2812,10 +2812,10 @@ const ms = (e) => {
2812
2812
  };
2813
2813
  function ps(e) {
2814
2814
  const t = Object.keys(ni).map((n) => {
2815
- const r = at(e[n]);
2815
+ const r = lt(e[n]);
2816
2816
  return new Array(10).fill(1).reduce((o, i, a) => (o[`${n}-${a + 1}`] = r[a], o), {});
2817
- }).reduce((n, r) => (n = D(D({}, n), r), n), {});
2818
- return D(D(D(D(D(D(D({}, e), t), cs(e, {
2817
+ }).reduce((n, r) => (n = F(F({}, n), r), n), {});
2818
+ return F(F(F(F(F(F(F({}, e), t), cs(e, {
2819
2819
  generateColorPalettes: fs,
2820
2820
  generateNeutralColorPalettes: hs
2821
2821
  })), ms(e.fontSize)), ss(e)), ls(e)), ds(e));
@@ -2824,14 +2824,14 @@ es(ps);
2824
2824
  const vs = {
2825
2825
  token: ri,
2826
2826
  hashed: !0
2827
- }, li = Symbol("DesignTokenContext"), bn = J(), ys = (e) => {
2827
+ }, li = Symbol("DesignTokenContext"), yn = J(), ys = (e) => {
2828
2828
  fe(li, e), R(e, () => {
2829
- bn.value = O(e), ye(bn);
2829
+ yn.value = O(e), ye(yn);
2830
2830
  }, {
2831
2831
  immediate: !0,
2832
2832
  deep: !0
2833
2833
  });
2834
- }, bs = () => ne(li, h(() => bn.value || vs));
2834
+ }, bs = () => ne(li, f(() => yn.value || vs));
2835
2835
  H({
2836
2836
  props: {
2837
2837
  value: Yi()
@@ -2840,7 +2840,7 @@ H({
2840
2840
  let {
2841
2841
  slots: n
2842
2842
  } = t;
2843
- return ys(h(() => e.value)), () => {
2843
+ return ys(f(() => e.value)), () => {
2844
2844
  var r;
2845
2845
  return (r = n.default) === null || r === void 0 ? void 0 : r.call(n);
2846
2846
  };
@@ -2871,15 +2871,15 @@ const Ss = Ha(xo.defaultAlgorithm), Cs = {
2871
2871
  override: o
2872
2872
  };
2873
2873
  return a = Gl(a), i && Object.entries(i).forEach(([l, s]) => {
2874
- const { theme: c, ...f } = s;
2875
- let d = f;
2874
+ const { theme: c, ...h } = s;
2875
+ let d = h;
2876
2876
  c && (d = si(
2877
2877
  {
2878
2878
  ...a,
2879
- ...f
2879
+ ...h
2880
2880
  },
2881
2881
  {
2882
- override: f
2882
+ override: h
2883
2883
  },
2884
2884
  c
2885
2885
  )), a[l] = d;
@@ -3128,23 +3128,23 @@ const { genStyleHooks: we, genComponentStyleHook: Bd, genSubStyleComponent: Ld }
3128
3128
  ];
3129
3129
  },
3130
3130
  Es
3131
- ), ui = Symbol("BubbleContext"), Sn = J(), Ms = (e) => {
3131
+ ), ui = Symbol("BubbleContext"), bn = J(), Ms = (e) => {
3132
3132
  fe(ui, e), R(
3133
3133
  e,
3134
3134
  () => {
3135
- Sn.value = O(e), ye(Sn);
3135
+ bn.value = O(e), ye(bn);
3136
3136
  },
3137
3137
  { immediate: !0, deep: !0 }
3138
3138
  );
3139
3139
  }, Is = () => ne(
3140
3140
  ui,
3141
- h(() => Sn.value || {})
3141
+ f(() => bn.value || {})
3142
3142
  ), Hs = H({
3143
3143
  props: {
3144
3144
  value: be()
3145
3145
  },
3146
3146
  setup(e, { slots: t }) {
3147
- return Ms(h(() => e.value)), () => {
3147
+ return Ms(f(() => e.value)), () => {
3148
3148
  var n;
3149
3149
  return (n = t.default) == null ? void 0 : n.call(t);
3150
3150
  };
@@ -3199,20 +3199,20 @@ const { genStyleHooks: we, genComponentStyleHook: Bd, genSubStyleComponent: Ld }
3199
3199
  } = O(Is()), i = B(null), {
3200
3200
  direction: a,
3201
3201
  getPrefixCls: l
3202
- } = _(), s = l("bubble", e.prefixCls), c = $e("bubble"), [f, d, g, v] = ca(() => e.typing), [p, m] = sa(r, f, d, g), b = B(!1);
3202
+ } = _(), s = l("bubble", e.prefixCls), c = $e("bubble"), [h, d, g, v] = ca(() => e.typing), [p, m] = sa(r, h, d, g), b = B(!1);
3203
3203
  R(p, () => {
3204
3204
  o == null || o();
3205
- }), ke(() => {
3205
+ }), Ge(() => {
3206
3206
  var P;
3207
3207
  !m.value && !e.loading ? b.value || (b.value = !0, (P = e.onTypingComplete) == null || P.call(e)) : b.value = !1;
3208
3208
  });
3209
- const [S, $, C] = ci(() => s), x = h(() => [s, e.rootClassName, c.value.className, $, C, `${s}-${e.placement}`, {
3209
+ const [S, $, C] = ci(() => s), x = f(() => [s, e.rootClassName, c.value.className, $, C, `${s}-${e.placement}`, {
3210
3210
  [`${s}-rtl`]: a.value === "rtl"
3211
3211
  }, {
3212
3212
  [`${s}-typing`]: m.value && !e.loading && !e.messageRender && !v.value
3213
- }]), T = h(() => In(e.avatar) ? e.avatar : u($o, e.avatar, null)), w = h(() => e.messageRender ? e.messageRender(p.value) : p.value), y = h(() => e.loading ? e.loadingRender ? e.loadingRender() : u(ua, {
3213
+ }]), T = f(() => Mn(e.avatar) ? e.avatar : u($o, e.avatar, null)), w = f(() => e.messageRender ? e.messageRender(p.value) : p.value), y = f(() => e.loading ? e.loadingRender ? e.loadingRender() : u(ua, {
3214
3214
  prefixCls: s
3215
- }, null) : u(De, null, [w.value, m.value && F(v)])), M = h(() => {
3215
+ }, null) : u(De, null, [w.value, m.value && z(v)])), M = f(() => {
3216
3216
  const P = u("div", {
3217
3217
  style: {
3218
3218
  ...c.value.styles.content,
@@ -3221,7 +3221,7 @@ const { genStyleHooks: we, genComponentStyleHook: Bd, genSubStyleComponent: Ld }
3221
3221
  class: [`${s}-content`, `${s}-content-${e.variant}`, {
3222
3222
  [`${s}-content-${e.shape}`]: e.shape
3223
3223
  }, c.value.classNames.content, e.classNames.content]
3224
- }, [F(y)]);
3224
+ }, [z(y)]);
3225
3225
  return e.header || e.footer ? u("div", {
3226
3226
  class: `${s}-content-wrapper`
3227
3227
  }, [e.header && u("div", {
@@ -3245,7 +3245,7 @@ const { genStyleHooks: we, genComponentStyleHook: Bd, genSubStyleComponent: Ld }
3245
3245
  ...c.value.style
3246
3246
  // ...(style as object),
3247
3247
  },
3248
- class: F(x)
3248
+ class: z(x)
3249
3249
  }, n, {
3250
3250
  ref: i
3251
3251
  }), [e.avatar && u("div", {
@@ -3254,7 +3254,7 @@ const { genStyleHooks: we, genComponentStyleHook: Bd, genSubStyleComponent: Ld }
3254
3254
  ...e.styles.avatar
3255
3255
  },
3256
3256
  class: [`${s}-avatar`, c.value.classNames.avatar, e.classNames.avatar]
3257
- }, [F(T)]), F(M)]));
3257
+ }, [z(T)]), z(M)]));
3258
3258
  }
3259
3259
  });
3260
3260
  function Ns(e) {
@@ -3298,7 +3298,7 @@ var fi = { exports: {} };
3298
3298
  })(fi);
3299
3299
  var Rs = fi.exports;
3300
3300
  const A = /* @__PURE__ */ Ns(Rs);
3301
- function lt(e) {
3301
+ function zn(e) {
3302
3302
  const t = B(e), n = B((r) => {
3303
3303
  t.value && t.value(r);
3304
3304
  });
@@ -3325,7 +3325,7 @@ summary tabindex target title type usemap value width wmode wrap`, Ls = `onCopy
3325
3325
  function Lr(e, t) {
3326
3326
  return e.indexOf(t) === 0;
3327
3327
  }
3328
- function qe(e, t = !1) {
3328
+ function Ke(e, t = !1) {
3329
3329
  let n;
3330
3330
  t === !1 ? n = {
3331
3331
  aria: !0,
@@ -3345,7 +3345,7 @@ function qe(e, t = !1) {
3345
3345
  }), r;
3346
3346
  }
3347
3347
  function Ds(e) {
3348
- const [t, n] = k(e.value.length), r = h(() => e.value.slice(0, O(t))), o = h(() => {
3348
+ const [t, n] = k(e.value.length), r = f(() => e.value.slice(0, O(t))), o = f(() => {
3349
3349
  const a = O(r)[O(r).length - 1];
3350
3350
  return a ? a.key : null;
3351
3351
  });
@@ -3369,14 +3369,14 @@ function Ds(e) {
3369
3369
  },
3370
3370
  { immediate: !0, deep: !0 }
3371
3371
  );
3372
- const i = lt((a) => {
3372
+ const i = zn((a) => {
3373
3373
  a === O(o) && n(O(t) + 1);
3374
3374
  });
3375
3375
  return [r, i];
3376
3376
  }
3377
3377
  function Fs(e, t) {
3378
3378
  const n = (o) => typeof t == "function" ? t(o) : t ? t[o.role] || {} : {};
3379
- return h(() => (e.value || []).map((o, i) => {
3379
+ return f(() => (e.value || []).map((o, i) => {
3380
3380
  const a = o.key ?? `preset_${i}`;
3381
3381
  return {
3382
3382
  ...n(o),
@@ -3407,7 +3407,7 @@ const Xs = 1, Vs = /* @__PURE__ */ H({
3407
3407
  }) {
3408
3408
  const n = se(e, ["prefixCls", "rootClassName", "items", "autoScroll", "roles"]);
3409
3409
  G(e, "items"), G(e, "prefixCls");
3410
- const r = Bi(), o = qe(q(n, r), {
3410
+ const r = Bi(), o = Ke(q(n, r), {
3411
3411
  attr: !0,
3412
3412
  aria: !0
3413
3413
  }), i = B(e.items);
@@ -3416,9 +3416,9 @@ const Xs = 1, Vs = /* @__PURE__ */ H({
3416
3416
  });
3417
3417
  const a = B(null), l = B({}), {
3418
3418
  getPrefixCls: s
3419
- } = _(), c = s("bubble", e.prefixCls), f = `${c}-list`, [d, g, v] = ci(c), [p, m] = k(!1);
3420
- ke(() => {
3421
- m(!0), ct(() => {
3419
+ } = _(), c = s("bubble", e.prefixCls), h = `${c}-list`, [d, g, v] = ci(c), [p, m] = k(!1);
3420
+ Ge(() => {
3421
+ m(!0), ke(() => {
3422
3422
  m(!1);
3423
3423
  });
3424
3424
  });
@@ -3436,11 +3436,11 @@ const Xs = 1, Vs = /* @__PURE__ */ H({
3436
3436
  const N = (E = O(S)[O(S).length - 2]) == null ? void 0 : E.key, X = O(l)[N];
3437
3437
  if (X) {
3438
3438
  const {
3439
- nativeElement: j
3439
+ nativeElement: D
3440
3440
  } = X, {
3441
3441
  top: L,
3442
3442
  bottom: Z
3443
- } = j.getBoundingClientRect(), {
3443
+ } = D.getBoundingClientRect(), {
3444
3444
  top: re,
3445
3445
  bottom: Ne
3446
3446
  } = O(a).getBoundingClientRect();
@@ -3448,9 +3448,9 @@ const Xs = 1, Vs = /* @__PURE__ */ H({
3448
3448
  }
3449
3449
  }
3450
3450
  });
3451
- const M = lt(() => {
3451
+ const M = zn(() => {
3452
3452
  e.autoScroll && w(O(T) + 1);
3453
- }), P = h(() => ({
3453
+ }), P = f(() => ({
3454
3454
  onUpdate: M
3455
3455
  }));
3456
3456
  return t({
@@ -3459,7 +3459,7 @@ const Xs = 1, Vs = /* @__PURE__ */ H({
3459
3459
  key: E,
3460
3460
  offset: N,
3461
3461
  behavior: X = "smooth",
3462
- block: j
3462
+ block: D
3463
3463
  }) => {
3464
3464
  if (typeof N == "number")
3465
3465
  O(a).scrollTo({
@@ -3472,7 +3472,7 @@ const Xs = 1, Vs = /* @__PURE__ */ H({
3472
3472
  const Z = O(S).findIndex((re) => re.key === E);
3473
3473
  x(Z === O(S).length - 1), L.nativeElement.scrollIntoView({
3474
3474
  behavior: X,
3475
- block: j
3475
+ block: D
3476
3476
  });
3477
3477
  }
3478
3478
  }
@@ -3481,8 +3481,8 @@ const Xs = 1, Vs = /* @__PURE__ */ H({
3481
3481
  value: P.value
3482
3482
  }, {
3483
3483
  default: () => [u("div", q(o, {
3484
- class: A(f, e.rootClassName, g, v, {
3485
- [`${f}-reach-end`]: C.value
3484
+ class: A(h, e.rootClassName, g, v, {
3485
+ [`${h}-reach-end`]: C.value
3486
3486
  }),
3487
3487
  ref: a,
3488
3488
  onScroll: y
@@ -3518,7 +3518,7 @@ function jn() {
3518
3518
  function ks(e, t) {
3519
3519
  return e && e.contains ? e.contains(t) : !1;
3520
3520
  }
3521
- var zr = "data-vc-order", Gs = "vc-icon-key", Cn = /* @__PURE__ */ new Map();
3521
+ var zr = "data-vc-order", Gs = "vc-icon-key", Sn = /* @__PURE__ */ new Map();
3522
3522
  function gi() {
3523
3523
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.mark;
3524
3524
  return t ? t.startsWith("data-") ? t : "data-".concat(t) : Gs;
@@ -3533,7 +3533,7 @@ function Us(e) {
3533
3533
  return e === "queue" ? "prependQueue" : e ? "prepend" : "append";
3534
3534
  }
3535
3535
  function mi(e) {
3536
- return Array.from((Cn.get(e) || e).children).filter(function(t) {
3536
+ return Array.from((Sn.get(e) || e).children).filter(function(t) {
3537
3537
  return t.tagName === "STYLE";
3538
3538
  });
3539
3539
  }
@@ -3564,10 +3564,10 @@ function qs(e) {
3564
3564
  });
3565
3565
  }
3566
3566
  function Ks(e, t) {
3567
- var n = Cn.get(e);
3567
+ var n = Sn.get(e);
3568
3568
  if (!n || !ks(document, n)) {
3569
3569
  var r = pi("", t), o = r.parentNode;
3570
- Cn.set(e, o), e.removeChild(r);
3570
+ Sn.set(e, o), e.removeChild(r);
3571
3571
  }
3572
3572
  }
3573
3573
  function Zs(e, t) {
@@ -3602,19 +3602,19 @@ function Js(e, t) {
3602
3602
  function Dr(e) {
3603
3603
  return typeof e == "object" && typeof e.name == "string" && typeof e.theme == "string" && (typeof e.icon == "object" || typeof e.icon == "function");
3604
3604
  }
3605
- function xn(e, t, n) {
3605
+ function Cn(e, t, n) {
3606
3606
  return n ? sr(e.tag, jr({
3607
3607
  key: t
3608
3608
  }, n, e.attrs), (e.children || []).map(function(r, o) {
3609
- return xn(r, "".concat(t, "-").concat(e.tag, "-").concat(o));
3609
+ return Cn(r, "".concat(t, "-").concat(e.tag, "-").concat(o));
3610
3610
  })) : sr(e.tag, jr({
3611
3611
  key: t
3612
3612
  }, e.attrs), (e.children || []).map(function(r, o) {
3613
- return xn(r, "".concat(t, "-").concat(e.tag, "-").concat(o));
3613
+ return Cn(r, "".concat(t, "-").concat(e.tag, "-").concat(o));
3614
3614
  }));
3615
3615
  }
3616
3616
  function vi(e) {
3617
- return at(e)[0];
3617
+ return lt(e)[0];
3618
3618
  }
3619
3619
  function yi(e) {
3620
3620
  return e ? Array.isArray(e) ? e : [e] : [];
@@ -3713,7 +3713,7 @@ function ic(e, t) {
3713
3713
  o = r[i], !(t.indexOf(o) >= 0) && (n[o] = e[o]);
3714
3714
  return n;
3715
3715
  }
3716
- function At(e) {
3716
+ function Ot(e) {
3717
3717
  for (var t = 1; t < arguments.length; t++) {
3718
3718
  var n = arguments[t] != null ? Object(arguments[t]) : {}, r = Object.keys(n);
3719
3719
  typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(o) {
@@ -3727,29 +3727,29 @@ function At(e) {
3727
3727
  function ac(e, t, n) {
3728
3728
  return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
3729
3729
  }
3730
- var nt = zi({
3730
+ var rt = zi({
3731
3731
  primaryColor: "#333",
3732
3732
  secondaryColor: "#E6E6E6",
3733
3733
  calculated: !1
3734
3734
  });
3735
3735
  function lc(e) {
3736
3736
  var t = e.primaryColor, n = e.secondaryColor;
3737
- nt.primaryColor = t, nt.secondaryColor = n || vi(t), nt.calculated = !!n;
3737
+ rt.primaryColor = t, rt.secondaryColor = n || vi(t), rt.calculated = !!n;
3738
3738
  }
3739
3739
  function sc() {
3740
- return At({}, nt);
3740
+ return Ot({}, rt);
3741
3741
  }
3742
3742
  var Te = function(t, n) {
3743
- var r = At({}, t, n.attrs), o = r.icon, i = r.primaryColor, a = r.secondaryColor, l = oc(r, rc), s = nt;
3743
+ var r = Ot({}, t, n.attrs), o = r.icon, i = r.primaryColor, a = r.secondaryColor, l = oc(r, rc), s = rt;
3744
3744
  if (i && (s = {
3745
3745
  primaryColor: i,
3746
3746
  secondaryColor: a || vi(i)
3747
3747
  }), Js(Dr(o), "icon should be icon definiton, but got ".concat(o)), !Dr(o))
3748
3748
  return null;
3749
3749
  var c = o;
3750
- return c && typeof c.icon == "function" && (c = At({}, c, {
3750
+ return c && typeof c.icon == "function" && (c = Ot({}, c, {
3751
3751
  icon: c.icon(s.primaryColor, s.secondaryColor)
3752
- })), xn(c.icon, "svg-".concat(c.name), At({}, l, {
3752
+ })), Cn(c.icon, "svg-".concat(c.name), Ot({}, l, {
3753
3753
  "data-icon": c.name,
3754
3754
  width: "1em",
3755
3755
  height: "1em",
@@ -3878,12 +3878,12 @@ function Vr(e) {
3878
3878
  typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(o) {
3879
3879
  return Object.getOwnPropertyDescriptor(n, o).enumerable;
3880
3880
  }))), r.forEach(function(o) {
3881
- Je(e, o, n[o]);
3881
+ _e(e, o, n[o]);
3882
3882
  });
3883
3883
  }
3884
3884
  return e;
3885
3885
  }
3886
- function Je(e, t, n) {
3886
+ function _e(e, t, n) {
3887
3887
  return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
3888
3888
  }
3889
3889
  function xc(e, t) {
@@ -3904,13 +3904,13 @@ function $c(e, t) {
3904
3904
  return n;
3905
3905
  }
3906
3906
  Si(as.primary);
3907
- var z = function(t, n) {
3908
- var r, o = Vr({}, t, n.attrs), i = o.class, a = o.icon, l = o.spin, s = o.rotate, c = o.tabindex, f = o.twoToneColor, d = o.onClick, g = xc(o, pc), v = hi(), p = v.prefixCls, m = v.rootClassName, b = (r = {}, Je(r, m.value, !!m.value), Je(r, p.value, !0), Je(r, "".concat(p.value, "-").concat(a.name), !!a.name), Je(r, "".concat(p.value, "-spin"), !!l || a.name === "loading"), r), S = c;
3907
+ var j = function(t, n) {
3908
+ var r, o = Vr({}, t, n.attrs), i = o.class, a = o.icon, l = o.spin, s = o.rotate, c = o.tabindex, h = o.twoToneColor, d = o.onClick, g = xc(o, pc), v = hi(), p = v.prefixCls, m = v.rootClassName, b = (r = {}, _e(r, m.value, !!m.value), _e(r, p.value, !0), _e(r, "".concat(p.value, "-").concat(a.name), !!a.name), _e(r, "".concat(p.value, "-spin"), !!l || a.name === "loading"), r), S = c;
3909
3909
  S === void 0 && d && (S = -1);
3910
3910
  var $ = s ? {
3911
3911
  msTransform: "rotate(".concat(s, "deg)"),
3912
3912
  transform: "rotate(".concat(s, "deg)")
3913
- } : void 0, C = yi(f), x = vc(C, 2), T = x[0], w = x[1];
3913
+ } : void 0, C = yi(h), x = vc(C, 2), T = x[0], w = x[1];
3914
3914
  return u("span", Vr({
3915
3915
  role: "img",
3916
3916
  "aria-label": a.name
@@ -3925,16 +3925,16 @@ var z = function(t, n) {
3925
3925
  style: $
3926
3926
  }, null), u(mc, null, null)]);
3927
3927
  };
3928
- z.props = {
3928
+ j.props = {
3929
3929
  spin: Boolean,
3930
3930
  rotate: Number,
3931
3931
  icon: Object,
3932
3932
  twoToneColor: [String, Array]
3933
3933
  };
3934
- z.displayName = "AntdIcon";
3935
- z.inheritAttrs = !1;
3936
- z.getTwoToneColor = gc;
3937
- z.setTwoToneColor = Si;
3934
+ j.displayName = "AntdIcon";
3935
+ j.inheritAttrs = !1;
3936
+ j.getTwoToneColor = gc;
3937
+ j.setTwoToneColor = Si;
3938
3938
  var wc = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M868 545.5L536.1 163a31.96 31.96 0 00-48.3 0L156 545.5a7.97 7.97 0 006 13.2h81c4.6 0 9-2 12.1-5.5L474 300.9V864c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V300.9l218.9 252.3c3 3.5 7.4 5.5 12.1 5.5h81c6.8 0 10.5-8 6-13.2z" } }] }, name: "arrow-up", theme: "outlined" };
3939
3939
  function Wr(e) {
3940
3940
  for (var t = 1; t < arguments.length; t++) {
@@ -3952,7 +3952,7 @@ function Tc(e, t, n) {
3952
3952
  }
3953
3953
  var Fn = function(t, n) {
3954
3954
  var r = Wr({}, t, n.attrs);
3955
- return u(z, Wr({}, r, {
3955
+ return u(j, Wr({}, r, {
3956
3956
  icon: wc
3957
3957
  }), null);
3958
3958
  };
@@ -3975,7 +3975,7 @@ function Ac(e, t, n) {
3975
3975
  }
3976
3976
  var Xn = function(t, n) {
3977
3977
  var r = kr({}, t, n.attrs);
3978
- return u(z, kr({}, r, {
3978
+ return u(j, kr({}, r, {
3979
3979
  icon: Oc
3980
3980
  }), null);
3981
3981
  };
@@ -3998,7 +3998,7 @@ function Ec(e, t, n) {
3998
3998
  }
3999
3999
  var Vn = function(t, n) {
4000
4000
  var r = Gr({}, t, n.attrs);
4001
- return u(z, Gr({}, r, {
4001
+ return u(j, Gr({}, r, {
4002
4002
  icon: Pc
4003
4003
  }), null);
4004
4004
  };
@@ -4021,7 +4021,7 @@ function Ic(e, t, n) {
4021
4021
  }
4022
4022
  var Wn = function(t, n) {
4023
4023
  var r = Ur({}, t, n.attrs);
4024
- return u(z, Ur({}, r, {
4024
+ return u(j, Ur({}, r, {
4025
4025
  icon: Mc
4026
4026
  }), null);
4027
4027
  };
@@ -4044,7 +4044,7 @@ function Nc(e, t, n) {
4044
4044
  }
4045
4045
  var kn = function(t, n) {
4046
4046
  var r = qr({}, t, n.attrs);
4047
- return u(z, qr({}, r, {
4047
+ return u(j, qr({}, r, {
4048
4048
  icon: Hc
4049
4049
  }), null);
4050
4050
  };
@@ -4067,7 +4067,7 @@ function Bc(e, t, n) {
4067
4067
  }
4068
4068
  var Gn = function(t, n) {
4069
4069
  var r = Kr({}, t, n.attrs);
4070
- return u(z, Kr({}, r, {
4070
+ return u(j, Kr({}, r, {
4071
4071
  icon: Rc
4072
4072
  }), null);
4073
4073
  };
@@ -4090,7 +4090,7 @@ function zc(e, t, n) {
4090
4090
  }
4091
4091
  var Un = function(t, n) {
4092
4092
  var r = Zr({}, t, n.attrs);
4093
- return u(z, Zr({}, r, {
4093
+ return u(j, Zr({}, r, {
4094
4094
  icon: Lc
4095
4095
  }), null);
4096
4096
  };
@@ -4113,7 +4113,7 @@ function Dc(e, t, n) {
4113
4113
  }
4114
4114
  var qn = function(t, n) {
4115
4115
  var r = Yr({}, t, n.attrs);
4116
- return u(z, Yr({}, r, {
4116
+ return u(j, Yr({}, r, {
4117
4117
  icon: jc
4118
4118
  }), null);
4119
4119
  };
@@ -4136,7 +4136,7 @@ function Xc(e, t, n) {
4136
4136
  }
4137
4137
  var Kn = function(t, n) {
4138
4138
  var r = Qr({}, t, n.attrs);
4139
- return u(z, Qr({}, r, {
4139
+ return u(j, Qr({}, r, {
4140
4140
  icon: Fc
4141
4141
  }), null);
4142
4142
  };
@@ -4159,7 +4159,7 @@ function Wc(e, t, n) {
4159
4159
  }
4160
4160
  var Zn = function(t, n) {
4161
4161
  var r = Jr({}, t, n.attrs);
4162
- return u(z, Jr({}, r, {
4162
+ return u(j, Jr({}, r, {
4163
4163
  icon: Vc
4164
4164
  }), null);
4165
4165
  };
@@ -4182,7 +4182,7 @@ function Gc(e, t, n) {
4182
4182
  }
4183
4183
  var Yn = function(t, n) {
4184
4184
  var r = _r({}, t, n.attrs);
4185
- return u(z, _r({}, r, {
4185
+ return u(j, _r({}, r, {
4186
4186
  icon: kc
4187
4187
  }), null);
4188
4188
  };
@@ -4205,7 +4205,7 @@ function qc(e, t, n) {
4205
4205
  }
4206
4206
  var Qn = function(t, n) {
4207
4207
  var r = eo({}, t, n.attrs);
4208
- return u(z, eo({}, r, {
4208
+ return u(j, eo({}, r, {
4209
4209
  icon: Uc
4210
4210
  }), null);
4211
4211
  };
@@ -4228,7 +4228,7 @@ function Zc(e, t, n) {
4228
4228
  }
4229
4229
  var Jn = function(t, n) {
4230
4230
  var r = to({}, t, n.attrs);
4231
- return u(z, to({}, r, {
4231
+ return u(j, to({}, r, {
4232
4232
  icon: Kc
4233
4233
  }), null);
4234
4234
  };
@@ -4251,7 +4251,7 @@ function Qc(e, t, n) {
4251
4251
  }
4252
4252
  var _n = function(t, n) {
4253
4253
  var r = no({}, t, n.attrs);
4254
- return u(z, no({}, r, {
4254
+ return u(j, no({}, r, {
4255
4255
  icon: Yc
4256
4256
  }), null);
4257
4257
  };
@@ -4274,7 +4274,7 @@ function _c(e, t, n) {
4274
4274
  }
4275
4275
  var er = function(t, n) {
4276
4276
  var r = ro({}, t, n.attrs);
4277
- return u(z, ro({}, r, {
4277
+ return u(j, ro({}, r, {
4278
4278
  icon: Jc
4279
4279
  }), null);
4280
4280
  };
@@ -4295,14 +4295,14 @@ function oo(e) {
4295
4295
  function tu(e, t, n) {
4296
4296
  return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
4297
4297
  }
4298
- var Bt = function(t, n) {
4298
+ var Rt = function(t, n) {
4299
4299
  var r = oo({}, t, n.attrs);
4300
- return u(z, oo({}, r, {
4300
+ return u(j, oo({}, r, {
4301
4301
  icon: eu
4302
4302
  }), null);
4303
4303
  };
4304
- Bt.displayName = "LeftOutlined";
4305
- Bt.inheritAttrs = !1;
4304
+ Rt.displayName = "LeftOutlined";
4305
+ Rt.inheritAttrs = !1;
4306
4306
  var nu = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" } }, { tag: "path", attrs: { d: "M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z" } }] }, name: "plus", theme: "outlined" };
4307
4307
  function io(e) {
4308
4308
  for (var t = 1; t < arguments.length; t++) {
@@ -4320,7 +4320,7 @@ function ru(e, t, n) {
4320
4320
  }
4321
4321
  var tr = function(t, n) {
4322
4322
  var r = io({}, t, n.attrs);
4323
- return u(z, io({}, r, {
4323
+ return u(j, io({}, r, {
4324
4324
  icon: nu
4325
4325
  }), null);
4326
4326
  };
@@ -4341,14 +4341,14 @@ function ao(e) {
4341
4341
  function iu(e, t, n) {
4342
4342
  return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
4343
4343
  }
4344
- var Lt = function(t, n) {
4344
+ var Bt = function(t, n) {
4345
4345
  var r = ao({}, t, n.attrs);
4346
- return u(z, ao({}, r, {
4346
+ return u(j, ao({}, r, {
4347
4347
  icon: ou
4348
4348
  }), null);
4349
4349
  };
4350
- Lt.displayName = "RightOutlined";
4351
- Lt.inheritAttrs = !1;
4350
+ Bt.displayName = "RightOutlined";
4351
+ Bt.inheritAttrs = !1;
4352
4352
  const au = /* @__PURE__ */ H({
4353
4353
  name: "AXConversationsItem",
4354
4354
  __name: "ConversationsItem",
@@ -4367,17 +4367,17 @@ const au = /* @__PURE__ */ H({
4367
4367
  setup(e) {
4368
4368
  const t = se(e, ["prefixCls", "info", "class", "direction", "onClick", "active", "menu"]);
4369
4369
  G(e, "class");
4370
- const n = h(() => qe(t, {
4370
+ const n = f(() => Ke(t, {
4371
4371
  aria: !0,
4372
4372
  data: !0,
4373
4373
  attr: !0
4374
4374
  })), r = (g) => {
4375
4375
  g.stopPropagation();
4376
- }, o = h(() => e.info.disabled), [i, a] = k(!1), [l, s] = k(!1), c = h(() => A(e.class, `${e.prefixCls}-item`, {
4376
+ }, o = f(() => e.info.disabled), [i, a] = k(!1), [l, s] = k(!1), c = f(() => A(e.class, `${e.prefixCls}-item`, {
4377
4377
  [`${e.prefixCls}-item-active`]: e.active && !o.value
4378
4378
  }, {
4379
4379
  [`${e.prefixCls}-item-disabled`]: o.value
4380
- })), f = () => {
4380
+ })), h = () => {
4381
4381
  !o.value && e.onClick && e.onClick(e.info);
4382
4382
  }, d = (g) => {
4383
4383
  g && s(!g);
@@ -4390,7 +4390,7 @@ const au = /* @__PURE__ */ H({
4390
4390
  }, {
4391
4391
  default: () => [u("li", q(n.value, {
4392
4392
  class: c.value,
4393
- onClick: f
4393
+ onClick: h
4394
4394
  }), [e.info.icon && u("div", {
4395
4395
  class: `${e.prefixCls}-icon`
4396
4396
  }, [e.info.icon]), u(de.Text, {
@@ -4414,23 +4414,23 @@ const au = /* @__PURE__ */ H({
4414
4414
  })])]
4415
4415
  });
4416
4416
  }
4417
- }), Ci = Symbol("GroupTitleContext"), $n = J(), lu = (e) => {
4417
+ }), Ci = Symbol("GroupTitleContext"), xn = J(), lu = (e) => {
4418
4418
  fe(Ci, e), R(
4419
4419
  e,
4420
4420
  () => {
4421
- $n.value = O(e), ye($n);
4421
+ xn.value = O(e), ye(xn);
4422
4422
  },
4423
4423
  { immediate: !0, deep: !0 }
4424
4424
  );
4425
4425
  }, su = () => ne(
4426
4426
  Ci,
4427
- h(() => $n.value || {})
4427
+ f(() => xn.value || {})
4428
4428
  ), cu = H({
4429
4429
  props: {
4430
4430
  value: be()
4431
4431
  },
4432
4432
  setup(e, { slots: t }) {
4433
- return lu(h(() => e.value)), () => {
4433
+ return lu(f(() => e.value)), () => {
4434
4434
  var n;
4435
4435
  return (n = t.default) == null ? void 0 : n.call(t);
4436
4436
  };
@@ -4439,7 +4439,7 @@ const au = /* @__PURE__ */ H({
4439
4439
  name: "AXConversationsGroupTitle",
4440
4440
  __name: "GroupTitle",
4441
4441
  setup(e) {
4442
- const t = It(), n = su(), r = h(() => {
4442
+ const t = Mt(), n = su(), r = f(() => {
4443
4443
  var o;
4444
4444
  return (o = t.default) == null ? void 0 : o.call(t);
4445
4445
  });
@@ -4455,7 +4455,7 @@ function nr(e, t) {
4455
4455
  let o = typeof e == "function" ? e() : e;
4456
4456
  r.value !== void 0 && (o = O(r)), n !== void 0 && (o = typeof n == "function" ? n() : n);
4457
4457
  const i = B(o), a = B(o);
4458
- ke(() => {
4458
+ Ge(() => {
4459
4459
  let s = r.value !== void 0 ? r.value : i.value;
4460
4460
  t.postState && (s = t.postState(s)), a.value = s;
4461
4461
  });
@@ -4467,9 +4467,9 @@ function nr(e, t) {
4467
4467
  i.value = r.value;
4468
4468
  }), [a, l];
4469
4469
  }
4470
- const Jt = "__ungrouped", uu = (e, t = []) => {
4471
- const n = h(() => {
4472
- if (!F(e))
4470
+ const Qt = "__ungrouped", uu = (e, t = []) => {
4471
+ const n = f(() => {
4472
+ if (!z(e))
4473
4473
  return {
4474
4474
  enableGroup: !1,
4475
4475
  sort: void 0,
@@ -4479,31 +4479,31 @@ const Jt = "__ungrouped", uu = (e, t = []) => {
4479
4479
  sort: void 0,
4480
4480
  title: void 0
4481
4481
  };
4482
- return typeof F(e) == "object" && (r = { ...r, ...F(e) }), {
4482
+ return typeof z(e) == "object" && (r = { ...r, ...z(e) }), {
4483
4483
  enableGroup: !0,
4484
4484
  sort: r.sort,
4485
4485
  title: r.title
4486
4486
  };
4487
4487
  });
4488
- return h(() => {
4488
+ return f(() => {
4489
4489
  if (!n.value.enableGroup)
4490
4490
  return {
4491
4491
  groupList: [
4492
4492
  {
4493
- name: Jt,
4494
- data: F(t),
4493
+ name: Qt,
4494
+ data: z(t),
4495
4495
  title: void 0
4496
4496
  }
4497
4497
  ],
4498
4498
  enableGroup: n.value.enableGroup
4499
4499
  };
4500
- const r = F(t).reduce((a, l) => {
4501
- const s = l.group || Jt;
4500
+ const r = z(t).reduce((a, l) => {
4501
+ const s = l.group || Qt;
4502
4502
  return a[s] || (a[s] = []), a[s].push(l), a;
4503
4503
  }, {});
4504
4504
  return {
4505
4505
  groupList: (n.value.sort ? Object.keys(r).sort(n.value.sort) : Object.keys(r)).map((a) => ({
4506
- name: a === Jt ? void 0 : a,
4506
+ name: a === Qt ? void 0 : a,
4507
4507
  title: n.value.title,
4508
4508
  data: r[a]
4509
4509
  })),
@@ -4625,7 +4625,7 @@ const Jt = "__ungrouped", uu = (e, t = []) => {
4625
4625
  setup(e) {
4626
4626
  const t = se(e, ["prefixCls", "rootClassName", "items", "activeKey", "defaultActiveKey", "onActiveChange", "menu", "styles", "classNames", "groupable", "class", "style"]);
4627
4627
  G(e, "class"), G(e, "activeKey"), G(e, "prefixCls");
4628
- const n = B(e.activeKey), r = h(() => qe(t, {
4628
+ const n = B(e.activeKey), r = f(() => Ke(t, {
4629
4629
  attr: !0,
4630
4630
  aria: !0,
4631
4631
  data: !0
@@ -4638,14 +4638,14 @@ const Jt = "__ungrouped", uu = (e, t = []) => {
4638
4638
  const a = uu(() => e.groupable, () => e.items), {
4639
4639
  getPrefixCls: l,
4640
4640
  direction: s
4641
- } = _(), c = h(() => l("conversations", e.prefixCls)), f = $e("conversations"), [d, g, v] = hu(c), p = h(() => A(c.value, f.value.className, e.class, e.rootClassName, g, v, {
4641
+ } = _(), c = f(() => l("conversations", e.prefixCls)), h = $e("conversations"), [d, g, v] = hu(c), p = f(() => A(c.value, h.value.className, e.class, e.rootClassName, g, v, {
4642
4642
  [`${c.value}-rtl`]: s.value === "rtl"
4643
4643
  })), m = (b) => {
4644
4644
  i(b.key), e.onActiveChange && e.onActiveChange(b.key);
4645
4645
  };
4646
4646
  return () => d(u("ul", q(r.value, {
4647
4647
  style: {
4648
- ...typeof f.value.style == "object" ? f.value.style : {},
4648
+ ...typeof h.value.style == "object" ? h.value.style : {},
4649
4649
  ...typeof e.style == "object" ? e.style : {}
4650
4650
  },
4651
4651
  class: p.value
@@ -4655,9 +4655,9 @@ const Jt = "__ungrouped", uu = (e, t = []) => {
4655
4655
  info: C,
4656
4656
  prefixCls: c.value,
4657
4657
  direction: s.value,
4658
- class: A(e.classNames.item, f.value.classNames.item),
4658
+ class: A(e.classNames.item, h.value.classNames.item),
4659
4659
  style: {
4660
- ...f.value.styles.item,
4660
+ ...h.value.styles.item,
4661
4661
  ...e.styles.item
4662
4662
  },
4663
4663
  menu: typeof e.menu == "function" ? e.menu(C) : e.menu,
@@ -4770,7 +4770,7 @@ const Jt = "__ungrouped", uu = (e, t = []) => {
4770
4770
  const {
4771
4771
  direction: t,
4772
4772
  getPrefixCls: n
4773
- } = _(), r = n("welcome", e.prefixCls), o = $e("welcome"), [i, a, l] = vu(r), s = h(() => {
4773
+ } = _(), r = n("welcome", e.prefixCls), o = $e("welcome"), [i, a, l] = vu(r), s = f(() => {
4774
4774
  if (!e.icon)
4775
4775
  return null;
4776
4776
  let d = e.icon;
@@ -4781,31 +4781,31 @@ const Jt = "__ungrouped", uu = (e, t = []) => {
4781
4781
  class: A(`${r}-icon`, o.value.classNames.icon, e.classNames.icon),
4782
4782
  style: e.styles.icon
4783
4783
  }, [d]);
4784
- }), c = h(() => e.title ? u(de.Title, {
4784
+ }), c = f(() => e.title ? u(de.Title, {
4785
4785
  level: 4,
4786
4786
  class: A(`${r}-title`, o.value.classNames.title, e.classNames.title),
4787
4787
  style: e.styles.title
4788
4788
  }, {
4789
4789
  default: () => [e.title]
4790
- }) : null), f = h(() => e.extra ? u("div", {
4790
+ }) : null), h = f(() => e.extra ? u("div", {
4791
4791
  class: A(`${r}-extra`, o.value.classNames.extra, e.classNames.extra),
4792
4792
  style: e.styles.extra
4793
4793
  }, [e.extra]) : null);
4794
- return () => i(u(_e, {
4794
+ return () => i(u(et, {
4795
4795
  class: A(r, o.value.className, e.className, e.rootClassName, a, l, `${r}-${e.variant}`, {
4796
4796
  [`${r}-rtl`]: t.value === "rtl"
4797
4797
  }),
4798
4798
  style: e.style
4799
4799
  }, {
4800
- default: () => [s.value, u(_e, {
4800
+ default: () => [s.value, u(et, {
4801
4801
  vertical: !0,
4802
4802
  class: `${r}-content-wrapper`
4803
4803
  }, {
4804
- default: () => [e.extra ? u(_e, {
4804
+ default: () => [e.extra ? u(et, {
4805
4805
  align: "flex-start",
4806
4806
  class: `${r}-title-wrapper`
4807
4807
  }, {
4808
- default: () => [c.value, f.value]
4808
+ default: () => [c.value, h.value]
4809
4809
  }) : c.value, e.description && u(de.Text, {
4810
4810
  class: A(`${r}-description`, o.value.classNames.description, e.classNames.description),
4811
4811
  style: e.styles.description
@@ -4974,9 +4974,9 @@ const Jt = "__ungrouped", uu = (e, t = []) => {
4974
4974
  const {
4975
4975
  getPrefixCls: n,
4976
4976
  direction: r
4977
- } = _(), o = n("prompts", e.prefixCls), i = $e("prompts"), [a, l, s] = Cu(o), c = h(() => A(o, i.value.className, e.class, e.rootClassName, l, s, {
4977
+ } = _(), o = n("prompts", e.prefixCls), i = $e("prompts"), [a, l, s] = Cu(o), c = f(() => A(o, i.value.className, e.class, e.rootClassName, l, s, {
4978
4978
  [`${o}-rtl`]: r.value === "rtl"
4979
- })), f = h(() => A(`${o}-list`, i.value.classNames.list, e.classNames.list, {
4979
+ })), h = f(() => A(`${o}-list`, i.value.classNames.list, e.classNames.list, {
4980
4980
  [`${o}-list-wrap`]: e.wrap
4981
4981
  }, {
4982
4982
  [`${o}-list-vertical`]: e.vertical
@@ -4999,7 +4999,7 @@ const Jt = "__ungrouped", uu = (e, t = []) => {
4999
4999
  }, {
5000
5000
  default: () => [e.title]
5001
5001
  }), u("div", {
5002
- class: f.value,
5002
+ class: h.value,
5003
5003
  style: {
5004
5004
  ...i.value.styles.list,
5005
5005
  ...e.styles.list
@@ -5082,7 +5082,7 @@ const Jt = "__ungrouped", uu = (e, t = []) => {
5082
5082
  );
5083
5083
  function Ou(e, t, n, r, o) {
5084
5084
  const [i, a] = k([]), l = (v, p = i.value) => {
5085
- let m = F(e);
5085
+ let m = z(e);
5086
5086
  for (let b = 0; b < v - 1; b += 1) {
5087
5087
  const S = p[b], $ = m.find((C) => C.value === S);
5088
5088
  if (!$)
@@ -5098,13 +5098,13 @@ function Ou(e, t, n, r, o) {
5098
5098
  (C) => C.value === i.value[p - 1]
5099
5099
  ), S = m.length, $ = m[(b + v + S) % S];
5100
5100
  a([...i.value.slice(0, p - 1), $.value]);
5101
- }, f = () => {
5101
+ }, h = () => {
5102
5102
  i.value.length > 1 && a(i.value.slice(0, i.value.length - 1));
5103
5103
  }, d = () => {
5104
5104
  const v = l(i.value.length + 1);
5105
5105
  v.length && a([...i.value, v[0].value]);
5106
- }, g = lt((v) => {
5107
- if (F(t))
5106
+ }, g = zn((v) => {
5107
+ if (z(t))
5108
5108
  switch (console.log("e.key", v), v.key) {
5109
5109
  case "ArrowDown":
5110
5110
  c(1), v.preventDefault();
@@ -5113,10 +5113,10 @@ function Ou(e, t, n, r, o) {
5113
5113
  c(-1), v.preventDefault();
5114
5114
  break;
5115
5115
  case "ArrowRight":
5116
- F(n) ? f() : d(), v.preventDefault();
5116
+ z(n) ? h() : d(), v.preventDefault();
5117
5117
  break;
5118
5118
  case "ArrowLeft":
5119
- F(n) ? d() : f(), v.preventDefault();
5119
+ z(n) ? d() : h(), v.preventDefault();
5120
5120
  break;
5121
5121
  case "Enter":
5122
5122
  l(i.value.length + 1).length || r(s(i.value)), v.preventDefault();
@@ -5126,8 +5126,8 @@ function Ou(e, t, n, r, o) {
5126
5126
  break;
5127
5127
  }
5128
5128
  });
5129
- return R(() => F(t), () => {
5130
- F(t) && a([F(e)[0].value]);
5129
+ return R(() => z(t), () => {
5130
+ z(t) && a([z(e)[0].value]);
5131
5131
  }, { immediate: !0 }), [i, g];
5132
5132
  }
5133
5133
  const Fd = /* @__PURE__ */ H({
@@ -5166,18 +5166,18 @@ const Fd = /* @__PURE__ */ H({
5166
5166
  const {
5167
5167
  direction: t,
5168
5168
  getPrefixCls: n
5169
- } = _(), r = h(() => n("suggestion", e.prefixCls));
5169
+ } = _(), r = f(() => n("suggestion", e.prefixCls));
5170
5170
  `${r.value}`;
5171
- const o = h(() => t.value === "rtl"), i = $e("suggestion"), [a, l, s] = Tu(r), [c, f] = k(e.open), [d, g] = k(), v = (T) => {
5171
+ const o = f(() => t.value === "rtl"), i = $e("suggestion"), [a, l, s] = Tu(r), [c, h] = k(e.open), [d, g] = k(), v = (T) => {
5172
5172
  var w;
5173
- f(T), (w = e.onOpenChange) == null || w.call(e, T);
5173
+ h(T), (w = e.onOpenChange) == null || w.call(e, T);
5174
5174
  }, p = (T) => {
5175
5175
  T === !1 ? v(!1) : (g(T), v(!0));
5176
5176
  }, m = () => {
5177
5177
  v(!1);
5178
- }, b = h(() => typeof e.items == "function" ? e.items(d.value) : e.items), S = (T) => {
5178
+ }, b = f(() => typeof e.items == "function" ? e.items(d.value) : e.items), S = (T) => {
5179
5179
  e.onSelect && e.onSelect(T[T.length - 1]), v(!1);
5180
- }, [$, C] = Ou(b, c, o, S, m), x = h(() => {
5180
+ }, [$, C] = Ou(b, c, o, S, m), x = f(() => {
5181
5181
  var T;
5182
5182
  return (T = e.children) == null ? void 0 : T.call(e, {
5183
5183
  onTrigger: p,
@@ -5207,49 +5207,49 @@ const Fd = /* @__PURE__ */ H({
5207
5207
  }, [x.value])
5208
5208
  }));
5209
5209
  }
5210
- }), xi = Symbol("SenderHeaderContext"), wn = J(), Au = (e) => {
5210
+ }), xi = Symbol("SenderHeaderContext"), $n = J(), Au = (e) => {
5211
5211
  fe(xi, e), R(
5212
5212
  e,
5213
5213
  () => {
5214
- wn.value = O(e), ye(wn);
5214
+ $n.value = O(e), ye($n);
5215
5215
  },
5216
5216
  { immediate: !0, deep: !0 }
5217
5217
  );
5218
5218
  }, Pu = () => ne(
5219
5219
  xi,
5220
- h(() => wn.value || {})
5220
+ f(() => $n.value || {})
5221
5221
  ), Eu = H({
5222
5222
  props: {
5223
5223
  value: be()
5224
5224
  },
5225
5225
  setup(e, { slots: t }) {
5226
- return Au(h(() => e.value)), () => {
5226
+ return Au(f(() => e.value)), () => {
5227
5227
  var n;
5228
5228
  return (n = t.default) == null ? void 0 : n.call(t);
5229
5229
  };
5230
5230
  }
5231
- }), $i = Symbol("ActionButtonContext"), Tn = J(), Mu = (e) => {
5231
+ }), $i = Symbol("ActionButtonContext"), wn = J(), Mu = (e) => {
5232
5232
  fe($i, e), R(
5233
5233
  e,
5234
5234
  () => {
5235
- Tn.value = O(e), ye(Tn);
5235
+ wn.value = O(e), ye(wn);
5236
5236
  },
5237
5237
  { immediate: !0, deep: !0 }
5238
5238
  );
5239
5239
  }, rr = () => ne(
5240
5240
  $i,
5241
- h(() => Tn.value || {})
5241
+ f(() => wn.value || {})
5242
5242
  ), Iu = H({
5243
5243
  props: {
5244
5244
  value: be()
5245
5245
  },
5246
5246
  setup(e, { slots: t }) {
5247
- return Mu(h(() => e.value)), () => {
5247
+ return Mu(f(() => e.value)), () => {
5248
5248
  var n;
5249
5249
  return (n = t.default) == null ? void 0 : n.call(t);
5250
5250
  };
5251
5251
  }
5252
- }), zt = /* @__PURE__ */ H({
5252
+ }), Lt = /* @__PURE__ */ H({
5253
5253
  name: "AXSenderActionButton",
5254
5254
  __name: "index",
5255
5255
  props: {
@@ -5258,14 +5258,14 @@ const Fd = /* @__PURE__ */ H({
5258
5258
  setup(e) {
5259
5259
  const t = se(e, ["action", "onClick"]);
5260
5260
  G(e, "onClick");
5261
- const n = It(), r = rr(), o = h(() => {
5261
+ const n = Mt(), r = rr(), o = f(() => {
5262
5262
  var s;
5263
5263
  return r.value.disabled ?? t.disabled ?? ((s = r.value) == null ? void 0 : s[`${e.action}Disabled`]);
5264
- }), i = h(() => r.value.prefixCls), a = h(() => {
5264
+ }), i = f(() => r.value.prefixCls), a = f(() => {
5265
5265
  var l;
5266
5266
  return (l = r.value) == null ? void 0 : l[e.action];
5267
5267
  });
5268
- return () => u(et, q({
5268
+ return () => u(tt, q({
5269
5269
  type: "text"
5270
5270
  }, t, {
5271
5271
  onClick: (l) => {
@@ -5315,7 +5315,7 @@ const Fd = /* @__PURE__ */ H({
5315
5315
  },
5316
5316
  setup(e) {
5317
5317
  const t = e;
5318
- return () => u(zt, q(t, {
5318
+ return () => u(Lt, q(t, {
5319
5319
  action: "onClear"
5320
5320
  }), {
5321
5321
  default: () => [u(Wn, null, null)]
@@ -5405,7 +5405,7 @@ const Fd = /* @__PURE__ */ H({
5405
5405
  },
5406
5406
  setup(e) {
5407
5407
  const t = e, n = rr();
5408
- return () => u(zt, q({
5408
+ return () => u(Lt, q({
5409
5409
  icon: null,
5410
5410
  type: "primary",
5411
5411
  shape: "circle"
@@ -5455,7 +5455,7 @@ const Fd = /* @__PURE__ */ H({
5455
5455
  },
5456
5456
  setup(e) {
5457
5457
  const t = e;
5458
- return () => u(zt, q({
5458
+ return () => u(Lt, q({
5459
5459
  type: "primary",
5460
5460
  shape: "circle"
5461
5461
  }, t, {
@@ -5464,46 +5464,46 @@ const Fd = /* @__PURE__ */ H({
5464
5464
  default: () => [u(Fn, null, null)]
5465
5465
  });
5466
5466
  }
5467
- }), Ze = 1e3, Ye = 4, yt = 140, bt = 250, uo = 500, St = 0.8, Ru = /* @__PURE__ */ H({
5467
+ }), Ye = 1e3, Qe = 4, vt = 140, yt = 250, uo = 500, bt = 0.8, Ru = /* @__PURE__ */ H({
5468
5468
  name: "AXSenderRecordingIcon",
5469
5469
  __name: "RecordingIcon",
5470
5470
  props: {
5471
5471
  className: null
5472
5472
  },
5473
5473
  setup(e) {
5474
- const t = yt / 2;
5474
+ const t = vt / 2;
5475
5475
  return () => u("svg", {
5476
5476
  color: "currentColor",
5477
- viewBox: `0 0 ${Ze} ${Ze}`,
5477
+ viewBox: `0 0 ${Ye} ${Ye}`,
5478
5478
  xmlns: "http://www.w3.org/2000/svg",
5479
5479
  xmlnsXlink: "http://www.w3.org/1999/xlink",
5480
5480
  class: e.className
5481
5481
  }, [u("title", null, [bo("Speech Recording")]), Array.from({
5482
- length: Ye
5482
+ length: Qe
5483
5483
  }).map((n, r) => {
5484
- const o = (Ze - yt * Ye) / (Ye - 1), i = r * (o + yt), a = Ze / 2 - bt / 2, l = Ze / 2 - uo / 2;
5484
+ const o = (Ye - vt * Qe) / (Qe - 1), i = r * (o + vt), a = Ye / 2 - yt / 2, l = Ye / 2 - uo / 2;
5485
5485
  return u("rect", {
5486
5486
  fill: "currentColor",
5487
5487
  rx: t,
5488
5488
  ry: t,
5489
- height: bt,
5490
- width: yt,
5489
+ height: yt,
5490
+ width: vt,
5491
5491
  x: i,
5492
5492
  y: a,
5493
5493
  key: r
5494
5494
  }, [u("animate", {
5495
5495
  attributeName: "height",
5496
- values: `${bt}; ${uo}; ${bt}`,
5496
+ values: `${yt}; ${uo}; ${yt}`,
5497
5497
  keyTimes: "0; 0.5; 1",
5498
- dur: `${St}s`,
5499
- begin: `${St / Ye * r}s`,
5498
+ dur: `${bt}s`,
5499
+ begin: `${bt / Qe * r}s`,
5500
5500
  repeatCount: "indefinite"
5501
5501
  }, null), u("animate", {
5502
5502
  attributeName: "y",
5503
5503
  values: `${a}; ${l}; ${a}`,
5504
5504
  keyTimes: "0; 0.5; 1",
5505
- dur: `${St}s`,
5506
- begin: `${St / Ye * r}s`,
5505
+ dur: `${bt}s`,
5506
+ begin: `${bt / Qe * r}s`,
5507
5507
  repeatCount: "indefinite"
5508
5508
  }, null)]);
5509
5509
  })]);
@@ -5544,20 +5544,19 @@ const Fd = /* @__PURE__ */ H({
5544
5544
  }
5545
5545
  },
5546
5546
  setup(e) {
5547
- const t = rr(), n = e, r = h(() => {
5548
- const o = t.value.speechRecording, i = t.value.onSpeechDisabled, a = t.value.prefixCls;
5549
- let l;
5550
- return o ? l = u(Ru, {
5551
- className: `${a}-recording-icon`
5552
- }, null) : i ? l = u(Xn, null, null) : l = u(Vn, null, null), l;
5547
+ const t = e, n = rr(), r = f(() => n.value.speechRecording), o = f(() => n.value.prefixCls), i = f(() => {
5548
+ let a;
5549
+ return r.value ? a = u(Ru, {
5550
+ className: `${o.value}-recording-icon`
5551
+ }, null) : n.value.onSpeechDisabled ? a = u(Xn, null, null) : a = u(Vn, null, null), a;
5553
5552
  });
5554
- return () => u(zt, q({
5553
+ return () => u(Lt, q({
5555
5554
  icon: null,
5556
5555
  type: "primary"
5557
- }, n, {
5556
+ }, t, {
5558
5557
  action: "onSpeech"
5559
5558
  }), {
5560
- default: () => [r.value]
5559
+ default: () => [i.value]
5561
5560
  });
5562
5561
  }
5563
5562
  }), Lu = (e) => {
@@ -5708,35 +5707,38 @@ const Fd = /* @__PURE__ */ H({
5708
5707
  },
5709
5708
  ju
5710
5709
  );
5711
- let Mt;
5712
- !Mt && typeof window < "u" && (Mt = window.SpeechRecognition || window.webkitSpeechRecognition);
5710
+ let Et;
5711
+ !Et && typeof window < "u" && (Et = window.SpeechRecognition || window.webkitSpeechRecognition);
5713
5712
  function Fu(e, t) {
5714
- const n = lt(e), r = h(() => typeof t == "object" ? {
5715
- controlledRecording: t.recording,
5716
- onControlledRecordingChange: t.onRecordingChange,
5717
- speechInControlled: typeof t.recording == "boolean"
5718
- } : {
5719
- controlledRecording: void 0,
5720
- onControlledRecordingChange: void 0,
5721
- speechInControlled: !1
5722
- }), o = h(() => r.value.controlledRecording), i = r.value.onControlledRecordingChange, a = r.value.speechInControlled, l = B(null);
5723
- ke(() => {
5713
+ const n = e, r = f(() => {
5714
+ const m = z(t);
5715
+ return typeof m == "object" ? {
5716
+ controlledRecording: m.recording,
5717
+ onControlledRecordingChange: m.onRecordingChange,
5718
+ speechInControlled: typeof m.recording == "boolean"
5719
+ } : {
5720
+ controlledRecording: void 0,
5721
+ onControlledRecordingChange: void 0,
5722
+ speechInControlled: !1
5723
+ };
5724
+ }), o = f(() => r.value.controlledRecording), i = r.value.onControlledRecordingChange, a = r.value.speechInControlled, l = B(null);
5725
+ Ge(() => {
5724
5726
  if (typeof navigator < "u" && "permissions" in navigator) {
5725
5727
  let m = null;
5726
- return navigator.permissions.query({ name: "microphone" }).then((b) => {
5728
+ navigator.permissions.query({ name: "microphone" }).then((b) => {
5727
5729
  l.value = b.state, b.onchange = function() {
5728
5730
  l.value = this.state;
5729
5731
  }, m = b;
5730
- }), () => {
5732
+ }), ke(() => {
5731
5733
  m && (m.onchange = null);
5732
- };
5734
+ });
5733
5735
  }
5734
5736
  });
5735
- const s = h(() => Mt && l.value !== "denied"), c = B(null), [f, d] = nr(!1, {
5737
+ const s = f(() => Et && l.value !== "denied"), c = B(null), [h, d] = nr(!1, {
5736
5738
  value: o
5737
5739
  }), g = B(!1), v = () => {
5738
5740
  if (s.value && !c.value) {
5739
- const m = new Mt();
5741
+ const m = new Et();
5740
5742
  m.onstart = () => {
5741
5743
  d(!0);
5742
5744
  }, m.onend = () => {
@@ -5750,10 +5752,10 @@ function Fu(e, t) {
5750
5752
  g.value = !1;
5751
5753
  }, c.value = m;
5752
5754
  }
5753
- }, p = lt((m) => {
5754
- m && !f.value || (g.value = m, a ? i == null || i(!f.value) : (v(), c.value && (f.value ? (c.value.stop(), i == null || i(!1)) : (c.value.start(), i == null || i(!0)))));
5755
- });
5756
- return { speechPermission: s, triggerSpeech: p, recording: f };
5755
+ };
5756
+ return { speechPermission: s, triggerSpeech: (m) => {
5757
+ m && !h.value || (g.value = m, a ? i == null || i(!h.value) : (v(), c.value && (h.value ? (c.value.stop(), i == null || i(!1)) : (c.value.start(), i == null || i(!0)))));
5758
+ }, recording: h };
5757
5759
  }
5758
5760
  function Xu(e, t) {
5759
5761
  for (var n = e, r = 0; r < t.length; r += 1) {
@@ -5819,11 +5821,11 @@ const Vu = /* @__PURE__ */ H({
5819
5821
  const {
5820
5822
  direction: o,
5821
5823
  getPrefixCls: i
5822
- } = _(), a = h(() => i("sender", e.prefixCls)), l = B(null), s = B(null), c = $e("sender"), f = `${a.value}-input`, [d, g, v] = Du(a.value), p = h(() => A(a.value, c.value.className, e.className, e.rootClassName, g, v, {
5824
+ } = _(), a = f(() => i("sender", e.prefixCls)), l = B(null), s = B(null), c = $e("sender"), h = f(() => `${a.value}-input`), [d, g, v] = Du(a.value), p = f(() => A(a.value, c.value.className, e.className, e.rootClassName, g, v, {
5823
5825
  [`${a.value}-rtl`]: o.value === "rtl",
5824
5826
  [`${a.value}-disabled`]: e.disabled
5825
- })), m = h(() => `${a.value}-actions-btn`), b = h(() => `${a.value}-actions-list`), [S, $] = nr(e.defaultValue || "", {
5826
- value: h(() => e.value)
5827
+ })), m = f(() => `${a.value}-actions-btn`), b = f(() => `${a.value}-actions-list`), [S, $] = nr(e.defaultValue || "", {
5828
+ value: f(() => e.value)
5827
5829
  }), C = (I, V) => {
5828
5830
  $(I), e.onChange && e.onChange(I, V);
5829
5831
  }, {
@@ -5832,18 +5834,18 @@ const Vu = /* @__PURE__ */ H({
5832
5834
  recording: w
5833
5835
  } = Fu((I) => {
5834
5836
  C(`${S.value} ${I}`);
5835
- }, e.allowSpeech), y = r(e.components, ["input"], Ki.TextArea), M = h(() => qe(n, {
5837
+ }, () => e.allowSpeech), y = r(e.components, ["input"], Ki.TextArea), M = f(() => Ke(n, {
5836
5838
  attr: !0,
5837
5839
  aria: !0,
5838
5840
  data: !0
5839
- })), P = h(() => ({
5841
+ })), P = f(() => ({
5840
5842
  ...M.value,
5841
5843
  ref: s
5842
5844
  })), E = () => {
5843
5845
  S.value && e.onSubmit && !e.loading && e.onSubmit(S.value);
5844
5846
  }, N = () => {
5845
5847
  C("");
5846
- }, X = B(!1), j = () => {
5848
+ }, X = B(!1), D = () => {
5847
5849
  X.value = !0;
5848
5850
  }, L = () => {
5849
5851
  X.value = !1;
@@ -5859,14 +5861,14 @@ const Vu = /* @__PURE__ */ H({
5859
5861
  }
5860
5862
  e.onKeyPress && e.onKeyPress(I);
5861
5863
  }, re = (I) => {
5862
- var Y, dt;
5864
+ var Y, ut;
5863
5865
  const V = (Y = I.clipboardData) == null ? void 0 : Y.files[0];
5864
- V && e.onPasteFile && (e.onPasteFile(V), I.preventDefault()), (dt = e.onPaste) == null || dt.call(e, I);
5866
+ V && e.onPasteFile && (e.onPasteFile(V), I.preventDefault()), (ut = e.onPaste) == null || ut.call(e, I);
5865
5867
  }, Ne = (I) => {
5866
5868
  var V, Y;
5867
- I.target !== ((V = l.value) == null ? void 0 : V.querySelector(`.${f}`)) && I.preventDefault(), (Y = s.value) == null || Y.focus();
5868
- }, Dt = h(() => {
5869
- let I = u(_e, {
5869
+ I.target !== ((V = l.value) == null ? void 0 : V.querySelector(`.${h.value}`)) && I.preventDefault(), (Y = s.value) == null || Y.focus();
5870
+ }, jt = f(() => {
5871
+ let I = u(et, {
5870
5872
  class: `${b.value}-presets`
5871
5873
  }, {
5872
5874
  default: () => [e.allowSpeech && u(Bu, null, null), e.loading ? u(so, null, null) : u(co, null, null)]
@@ -5919,7 +5921,7 @@ const Vu = /* @__PURE__ */ H({
5919
5921
  ...c.value.styles.input,
5920
5922
  ...e.styles.input
5921
5923
  },
5922
- class: A(f, c.value.classNames.input, e.classNames.input),
5924
+ class: A(h.value, c.value.classNames.input, e.classNames.input),
5923
5925
  autoSize: {
5924
5926
  maxRows: 8
5925
5927
  },
@@ -5928,7 +5930,7 @@ const Vu = /* @__PURE__ */ H({
5928
5930
  C(I.target.value, I), T(!0);
5929
5931
  },
5930
5932
  onPressEnter: Z,
5931
- onCompositionstart: j,
5933
+ onCompositionstart: D,
5932
5934
  onCompositionend: L,
5933
5935
  onKeydown: e.onKeyDown,
5934
5936
  onPaste: re,
@@ -5955,7 +5957,7 @@ const Vu = /* @__PURE__ */ H({
5955
5957
  disabled: e.disabled
5956
5958
  }
5957
5959
  }, {
5958
- default: () => [Dt.value]
5960
+ default: () => [jt.value]
5959
5961
  })])])]));
5960
5962
  }
5961
5963
  }), Wu = /* @__PURE__ */ H({
@@ -5986,7 +5988,7 @@ const Vu = /* @__PURE__ */ H({
5986
5988
  }),
5987
5989
  setup(e) {
5988
5990
  G(e, "classNames");
5989
- const t = It(), n = Pu(), r = h(() => `${n.value.prefixCls}-header`);
5991
+ const t = Mt(), n = Pu(), r = f(() => `${n.value.prefixCls}-header`);
5990
5992
  return () => {
5991
5993
  var o;
5992
5994
  return e.open && u("div", {
@@ -6008,7 +6010,7 @@ const Vu = /* @__PURE__ */ H({
6008
6010
  class: `${r.value}-title`
6009
6011
  }, [e.title]), e.closable !== !1 && u("div", {
6010
6012
  class: `${r.value}-close`
6011
- }, [u(et, {
6013
+ }, [u(tt, {
6012
6014
  type: "text",
6013
6015
  icon: u(Gn, null, null),
6014
6016
  size: "small",
@@ -6026,24 +6028,24 @@ const Vu = /* @__PURE__ */ H({
6026
6028
  }
6027
6029
  }), Xd = Object.assign(Vu, {
6028
6030
  Header: Wu
6029
- }), wi = Symbol("AttachmentContext"), On = J(), ku = (e) => {
6031
+ }), wi = Symbol("AttachmentContext"), Tn = J(), ku = (e) => {
6030
6032
  fe(wi, e), R(
6031
6033
  e,
6032
6034
  () => {
6033
- On.value = O(e), ye(On);
6035
+ Tn.value = O(e), ye(Tn);
6034
6036
  },
6035
6037
  { immediate: !0, deep: !0 }
6036
6038
  );
6037
- }, jt = () => ne(
6039
+ }, zt = () => ne(
6038
6040
  wi,
6039
- h(() => On.value || {})
6041
+ f(() => Tn.value || {})
6040
6042
  ), Gu = H({
6041
6043
  inheritAttrs: !1,
6042
6044
  props: {
6043
6045
  value: be()
6044
6046
  },
6045
6047
  setup(e, { slots: t }) {
6046
- return ku(h(() => e.value)), () => {
6048
+ return ku(f(() => e.value)), () => {
6047
6049
  var n;
6048
6050
  return (n = t.default) == null ? void 0 : n.call(t);
6049
6051
  };
@@ -6063,17 +6065,17 @@ const Vu = /* @__PURE__ */ H({
6063
6065
  setup(e, {
6064
6066
  expose: t
6065
6067
  }) {
6066
- const n = `${e.prefixCls}-placeholder`, r = h(() => e.placeholder || {}), o = Fe("upload-dragger"), i = jt(), [a, l] = k(!1), s = () => {
6068
+ const n = `${e.prefixCls}-placeholder`, r = f(() => e.placeholder || {}), o = Fe("upload-dragger"), i = zt(), [a, l] = k(!1), s = () => {
6067
6069
  l(!0);
6068
6070
  }, c = (g) => {
6069
6071
  g.currentTarget.contains(g.relatedTarget) || l(!1);
6070
- }, f = () => {
6072
+ }, h = () => {
6071
6073
  l(!1);
6072
6074
  };
6073
6075
  t({
6074
6076
  nativeElement: o
6075
6077
  });
6076
- const d = h(() => In(e.placeholder) ? e.placeholder : u(_e, {
6078
+ const d = f(() => Mn(e.placeholder) ? e.placeholder : u(et, {
6077
6079
  align: "center",
6078
6080
  justify: "center",
6079
6081
  vertical: !0,
@@ -6102,7 +6104,7 @@ const Vu = /* @__PURE__ */ H({
6102
6104
  }, e.className),
6103
6105
  onDragenter: s,
6104
6106
  onDragleave: c,
6105
- onDrop: f,
6107
+ onDrop: h,
6106
6108
  "aria-hidden": i.value.disabled,
6107
6109
  style: e.style
6108
6110
  }, [u(wo.Dragger, q({
@@ -6130,7 +6132,7 @@ const Vu = /* @__PURE__ */ H({
6130
6132
  children: null
6131
6133
  },
6132
6134
  setup(e) {
6133
- const t = jt(), [n, r] = k(), [o, i] = k(null);
6135
+ const t = zt(), [n, r] = k(), [o, i] = k(null);
6134
6136
  R(() => e.getDropContainer, () => {
6135
6137
  var c;
6136
6138
  const s = (c = e.getDropContainer) == null ? void 0 : c.call(e);
@@ -6141,17 +6143,17 @@ const Vu = /* @__PURE__ */ H({
6141
6143
  i(!0);
6142
6144
  }, c = (g) => {
6143
6145
  g.preventDefault();
6144
- }, f = (g) => {
6146
+ }, h = (g) => {
6145
6147
  g.relatedTarget || i(!1);
6146
6148
  }, d = (g) => {
6147
6149
  i(!1), g.preventDefault();
6148
6150
  };
6149
- document.addEventListener("dragenter", s), document.addEventListener("dragover", c), document.addEventListener("dragleave", f), document.addEventListener("drop", d), ct(() => {
6150
- document.removeEventListener("dragenter", s), document.removeEventListener("dragover", c), document.removeEventListener("dragleave", f), document.removeEventListener("drop", d);
6151
+ document.addEventListener("dragenter", s), document.addEventListener("dragover", c), document.addEventListener("dragleave", h), document.addEventListener("drop", d), ke(() => {
6152
+ document.removeEventListener("dragenter", s), document.removeEventListener("dragover", c), document.removeEventListener("dragleave", h), document.removeEventListener("drop", d);
6151
6153
  });
6152
6154
  }
6153
6155
  });
6154
- const a = h(() => e.getDropContainer && n.value && !t.value.disabled), l = `${e.prefixCls}-drop-area`;
6156
+ const a = f(() => e.getDropContainer && n.value && !t.value.disabled), l = `${e.prefixCls}-drop-area`;
6155
6157
  return () => a.value ? u(Di, {
6156
6158
  to: n.value
6157
6159
  }, {
@@ -6239,7 +6241,7 @@ function _u(e, t) {
6239
6241
  ], -1)
6240
6242
  ]));
6241
6243
  }
6242
- const ed = /* @__PURE__ */ Oi(Qu, [["render", _u]]), td = (e) => e.indexOf("image/") === 0, Ct = 200;
6244
+ const ed = /* @__PURE__ */ Oi(Qu, [["render", _u]]), td = (e) => e.indexOf("image/") === 0, St = 200;
6243
6245
  function nd(e) {
6244
6246
  return new Promise((t) => {
6245
6247
  if (!e || !e.type || !td(e.type)) {
@@ -6248,10 +6250,10 @@ function nd(e) {
6248
6250
  }
6249
6251
  const n = new Image();
6250
6252
  if (n.onload = () => {
6251
- const { width: r, height: o } = n, i = r / o, a = i > 1 ? Ct : Ct * i, l = i > 1 ? Ct / i : Ct, s = document.createElement("canvas");
6253
+ const { width: r, height: o } = n, i = r / o, a = i > 1 ? St : St * i, l = i > 1 ? St / i : St, s = document.createElement("canvas");
6252
6254
  s.width = a, s.height = l, s.style.cssText = `position: fixed; left: 0; top: 0; width: ${a}px; height: ${l}px; z-index: 9999; display: none;`, document.body.appendChild(s), s.getContext("2d").drawImage(n, 0, 0, a, l);
6253
- const f = s.toDataURL();
6254
- document.body.removeChild(s), window.URL.revokeObjectURL(n.src), t(f);
6255
+ const h = s.toDataURL();
6256
+ document.body.removeChild(s), window.URL.revokeObjectURL(n.src), t(h);
6255
6257
  }, n.crossOrigin = "anonymous", e.type.startsWith("image/svg+xml")) {
6256
6258
  const r = new FileReader();
6257
6259
  r.onload = () => {
@@ -6297,14 +6299,14 @@ function ee(e, t, n) {
6297
6299
  }) : e[t] = n, e;
6298
6300
  }
6299
6301
  const U = Math.round;
6300
- function _t(e, t) {
6302
+ function Jt(e, t) {
6301
6303
  const n = e.replace(/^[^(]*\((.*)/, "$1").replace(/\).*/, "").match(/\d*\.?\d+%?/g) || [], r = n.map((o) => parseFloat(o));
6302
6304
  for (let o = 0; o < 3; o += 1)
6303
6305
  r[o] = t(r[o] || 0, n[o] || "", o);
6304
6306
  return n[3] ? r[3] = n[3].includes("%") ? r[3] / 100 : r[3] : r[3] = 1, r;
6305
6307
  }
6306
6308
  const ho = (e, t, n) => n === 0 ? e : e / 100;
6307
- function Qe(e, t) {
6309
+ function Je(e, t) {
6308
6310
  const n = t || 255;
6309
6311
  return e > n ? n : e < 0 ? 0 : e;
6310
6312
  }
@@ -6323,7 +6325,7 @@ class or {
6323
6325
  } else if (t instanceof or)
6324
6326
  this.r = t.r, this.g = t.g, this.b = t.b, this.a = t.a, this._h = t._h, this._s = t._s, this._l = t._l, this._v = t._v;
6325
6327
  else if (n("rgb"))
6326
- this.r = Qe(t.r), this.g = Qe(t.g), this.b = Qe(t.b), this.a = typeof t.a == "number" ? Qe(t.a, 1) : 1;
6328
+ this.r = Je(t.r), this.g = Je(t.g), this.b = Je(t.b), this.a = typeof t.a == "number" ? Je(t.a, 1) : 1;
6327
6329
  else if (n("hsl"))
6328
6330
  this.fromHsl(t);
6329
6331
  else if (n("hsv"))
@@ -6525,7 +6527,7 @@ class or {
6525
6527
  /** Return a new FastColor object with one channel changed */
6526
6528
  _sc(t, n, r) {
6527
6529
  const o = this.clone();
6528
- return o[t] = Qe(n, r), o;
6530
+ return o[t] = Je(n, r), o;
6529
6531
  }
6530
6532
  _c(t) {
6531
6533
  return new this.constructor(t);
@@ -6554,8 +6556,8 @@ class or {
6554
6556
  this.r = g, this.g = g, this.b = g;
6555
6557
  }
6556
6558
  let i = 0, a = 0, l = 0;
6557
- const s = t / 60, c = (1 - Math.abs(2 * r - 1)) * n, f = c * (1 - Math.abs(s % 2 - 1));
6558
- s >= 0 && s < 1 ? (i = c, a = f) : s >= 1 && s < 2 ? (i = f, a = c) : s >= 2 && s < 3 ? (a = c, l = f) : s >= 3 && s < 4 ? (a = f, l = c) : s >= 4 && s < 5 ? (i = f, l = c) : s >= 5 && s < 6 && (i = c, l = f);
6559
+ const s = t / 60, c = (1 - Math.abs(2 * r - 1)) * n, h = c * (1 - Math.abs(s % 2 - 1));
6560
+ s >= 0 && s < 1 ? (i = c, a = h) : s >= 1 && s < 2 ? (i = h, a = c) : s >= 2 && s < 3 ? (a = c, l = h) : s >= 3 && s < 4 ? (a = h, l = c) : s >= 4 && s < 5 ? (i = h, l = c) : s >= 5 && s < 6 && (i = c, l = h);
6559
6561
  const d = r - c / 2;
6560
6562
  this.r = U((i + d) * 255), this.g = U((a + d) * 255), this.b = U((l + d) * 255);
6561
6563
  }
@@ -6569,31 +6571,31 @@ class or {
6569
6571
  const i = U(r * 255);
6570
6572
  if (this.r = i, this.g = i, this.b = i, n <= 0)
6571
6573
  return;
6572
- const a = t / 60, l = Math.floor(a), s = a - l, c = U(r * (1 - n) * 255), f = U(r * (1 - n * s) * 255), d = U(r * (1 - n * (1 - s)) * 255);
6574
+ const a = t / 60, l = Math.floor(a), s = a - l, c = U(r * (1 - n) * 255), h = U(r * (1 - n * s) * 255), d = U(r * (1 - n * (1 - s)) * 255);
6573
6575
  switch (l) {
6574
6576
  case 0:
6575
6577
  this.g = d, this.b = c;
6576
6578
  break;
6577
6579
  case 1:
6578
- this.r = f, this.b = c;
6580
+ this.r = h, this.b = c;
6579
6581
  break;
6580
6582
  case 2:
6581
6583
  this.r = c, this.b = d;
6582
6584
  break;
6583
6585
  case 3:
6584
- this.r = c, this.g = f;
6586
+ this.r = c, this.g = h;
6585
6587
  break;
6586
6588
  case 4:
6587
6589
  this.r = d, this.g = c;
6588
6590
  break;
6589
6591
  case 5:
6590
6592
  default:
6591
- this.g = c, this.b = f;
6593
+ this.g = c, this.b = h;
6592
6594
  break;
6593
6595
  }
6594
6596
  }
6595
6597
  fromHsvString(t) {
6596
- const n = _t(t, ho);
6598
+ const n = Jt(t, ho);
6597
6599
  this.fromHsv({
6598
6600
  h: n[0],
6599
6601
  s: n[1],
@@ -6602,7 +6604,7 @@ class or {
6602
6604
  });
6603
6605
  }
6604
6606
  fromHslString(t) {
6605
- const n = _t(t, ho);
6607
+ const n = Jt(t, ho);
6606
6608
  this.fromHsl({
6607
6609
  h: n[0],
6608
6610
  s: n[1],
@@ -6611,7 +6613,7 @@ class or {
6611
6613
  });
6612
6614
  }
6613
6615
  fromRgbString(t) {
6614
- const n = _t(t, (r, o) => (
6616
+ const n = Jt(t, (r, o) => (
6615
6617
  // Convert percentage to number. e.g. 50% -> 128
6616
6618
  o.includes("%") ? U(r / 100 * 255) : r
6617
6619
  ));
@@ -6766,7 +6768,7 @@ const id = (e) => {
6766
6768
  }
6767
6769
  }
6768
6770
  };
6769
- }, An = {
6771
+ }, On = {
6770
6772
  "&, *": {
6771
6773
  boxSizing: "border-box"
6772
6774
  }
@@ -6778,7 +6780,7 @@ const id = (e) => {
6778
6780
  position: "absolute",
6779
6781
  inset: 0,
6780
6782
  zIndex: e.zIndexPopupBase,
6781
- ...An,
6783
+ ...On,
6782
6784
  "&-on-body": {
6783
6785
  position: "fixed",
6784
6786
  inset: 0
@@ -6804,7 +6806,7 @@ const id = (e) => {
6804
6806
  position: "relative",
6805
6807
  backdropFilter: "blur(10px)",
6806
6808
  background: e.colorBgPlaceholderHover,
6807
- ...An,
6809
+ ...On,
6808
6810
  [`${r}-upload-wrapper ${r}-upload${r}-upload-btn`]: {
6809
6811
  padding: 0
6810
6812
  },
@@ -6837,7 +6839,7 @@ const id = (e) => {
6837
6839
  [t]: {
6838
6840
  position: "relative",
6839
6841
  width: "100%",
6840
- ...An,
6842
+ ...On,
6841
6843
  // =============================== File List ===============================
6842
6844
  [r]: {
6843
6845
  display: "flex",
@@ -6985,7 +6987,7 @@ const id = (e) => {
6985
6987
  ];
6986
6988
  },
6987
6989
  sd
6988
- ), en = " ", tn = "#8c8c8c", Pi = /* @__PURE__ */ H({
6990
+ ), _t = " ", en = "#8c8c8c", Pi = /* @__PURE__ */ H({
6989
6991
  name: "AXAttachmentsFileListCard",
6990
6992
  __name: "FileListCard",
6991
6993
  props: {
@@ -7007,11 +7009,11 @@ const id = (e) => {
7007
7009
  ext: ["xlsx", "xls"]
7008
7010
  }, {
7009
7011
  icon: u(Kn, null, null),
7010
- color: tn,
7012
+ color: en,
7011
7013
  ext: n
7012
7014
  }, {
7013
7015
  icon: u(Zn, null, null),
7014
- color: tn,
7016
+ color: en,
7015
7017
  ext: ["md", "mdx"]
7016
7018
  }, {
7017
7019
  icon: u(Yn, null, null),
@@ -7038,32 +7040,32 @@ const id = (e) => {
7038
7040
  color: "#8c8c8c",
7039
7041
  ext: ["mp3", "wav", "flac", "ape", "aac", "ogg"]
7040
7042
  }];
7041
- function o(j, L) {
7042
- return L.some((Z) => j.toLowerCase() === `.${Z}`);
7043
+ function o(D, L) {
7044
+ return L.some((Z) => D.toLowerCase() === `.${Z}`);
7043
7045
  }
7044
- function i(j) {
7045
- let L = j;
7046
+ function i(D) {
7047
+ let L = D;
7046
7048
  const Z = ["B", "KB", "MB", "GB", "TB", "PB", "EB"];
7047
7049
  let re = 0;
7048
7050
  for (; L >= 1024 && re < Z.length - 1; )
7049
7051
  L /= 1024, re++;
7050
7052
  return `${L.toFixed(0)} ${Z[re]}`;
7051
7053
  }
7052
- const a = jt(), l = h(() => a.value.disabled), s = h(() => e.item.name), c = h(() => e.item.size), f = h(() => e.item.percent), d = h(() => e.item.status || "done"), g = h(() => e.item.description), {
7054
+ const a = zt(), l = f(() => a.value.disabled), s = f(() => e.item.name), c = f(() => e.item.size), h = f(() => e.item.percent), d = f(() => e.item.status || "done"), g = f(() => e.item.description), {
7053
7055
  getPrefixCls: v
7054
- } = _(), p = h(() => v("attachment", e.prefixCls)), m = `${p.value}-list-card`, [b, S, $] = Ai(p), C = Fe("file-list-card-container"), x = h(() => {
7055
- const j = s.value || "", L = j.match(/^(.*)\.[^.]+$/);
7056
+ } = _(), p = f(() => v("attachment", e.prefixCls)), m = `${p.value}-list-card`, [b, S, $] = Ai(p), C = Fe("file-list-card-container"), x = f(() => {
7057
+ const D = s.value || "", L = D.match(/^(.*)\.[^.]+$/);
7056
7058
  return {
7057
- namePrefix: L ? L[1] : j,
7058
- nameSuffix: L ? j.slice(L[1].length) : ""
7059
+ namePrefix: L ? L[1] : D,
7060
+ nameSuffix: L ? D.slice(L[1].length) : ""
7059
7061
  };
7060
- }), T = h(() => o(x.value.nameSuffix, n)), w = h(() => g.value ? g.value : d.value === "uploading" ? `${f.value || 0}%` : d.value === "error" ? e.item.response || en : c.value ? i(c.value) : en), y = h(() => {
7062
+ }), T = f(() => o(x.value.nameSuffix, n)), w = f(() => g.value ? g.value : d.value === "uploading" ? `${h.value || 0}%` : d.value === "error" ? e.item.response || _t : c.value ? i(c.value) : _t), y = f(() => {
7061
7063
  for (const {
7062
- ext: j,
7064
+ ext: D,
7063
7065
  icon: L,
7064
7066
  color: Z
7065
7067
  } of r)
7066
- if (o(x.value.nameSuffix, j))
7068
+ if (o(x.value.nameSuffix, D))
7067
7069
  return {
7068
7070
  icon: L,
7069
7071
  iconColor: Z
@@ -7072,29 +7074,29 @@ const id = (e) => {
7072
7074
  icon: u(Jn, {
7073
7075
  key: "defaultIcon"
7074
7076
  }, null),
7075
- iconColor: tn
7077
+ iconColor: en
7076
7078
  };
7077
7079
  }), [M, P] = k();
7078
7080
  R(() => e.item.originFileObj, () => {
7079
7081
  if (e.item.originFileObj) {
7080
- let j = !0;
7082
+ let D = !0;
7081
7083
  nd(e.item.originFileObj).then((L) => {
7082
- j && P(L);
7083
- }), ct(() => {
7084
- j = !1;
7084
+ D && P(L);
7085
+ }), ke(() => {
7086
+ D = !1;
7085
7087
  });
7086
7088
  }
7087
7089
  P(void 0);
7088
7090
  }, {
7089
7091
  immediate: !0
7090
7092
  });
7091
- const E = h(() => e.item.thumbUrl || e.item.url || M.value), N = h(() => T.value && (e.item.originFileObj || E.value)), X = h(() => N.value ? u(De, null, [u("img", {
7093
+ const E = f(() => e.item.thumbUrl || e.item.url || M.value), N = f(() => T.value && (e.item.originFileObj || E.value)), X = f(() => N.value ? u(De, null, [u("img", {
7092
7094
  alt: "preview",
7093
7095
  src: E.value
7094
7096
  }, null), d.value !== "done" && u("div", {
7095
7097
  class: `${m}-img-mask`
7096
- }, [d.value === "uploading" && f.value !== void 0 && u(Zi, {
7097
- percent: f.value,
7098
+ }, [d.value === "uploading" && h.value !== void 0 && u(Zi, {
7099
+ percent: h.value,
7098
7100
  prefixCls: m
7099
7101
  }, null), d.value === "error" && u("div", {
7100
7102
  class: `${m}-desc`
@@ -7111,7 +7113,7 @@ const id = (e) => {
7111
7113
  class: `${m}-name`
7112
7114
  }, [u("div", {
7113
7115
  class: `${m}-ellipsis-prefix`
7114
- }, [x.value.namePrefix ?? en]), u("div", {
7116
+ }, [x.value.namePrefix ?? _t]), u("div", {
7115
7117
  class: `${m}-ellipsis-suffix`
7116
7118
  }, [x.value.nameSuffix])]), u("div", {
7117
7119
  class: `${m}-desc`
@@ -7153,18 +7155,18 @@ const id = (e) => {
7153
7155
  itemStyle: null
7154
7156
  },
7155
7157
  setup(e) {
7156
- const t = h(() => `${e.prefixCls}-list`), n = Fe("file-list-container"), [r, o] = k(!1), i = jt();
7157
- ke(() => {
7158
- o(!0), ct(() => {
7158
+ const t = f(() => `${e.prefixCls}-list`), n = Fe("file-list-container"), [r, o] = k(!1), i = zt();
7159
+ Ge(() => {
7160
+ o(!0), ke(() => {
7159
7161
  o(!1);
7160
7162
  });
7161
7163
  });
7162
- const [a, l] = k(!1), [s, c] = k(!1), f = () => {
7164
+ const [a, l] = k(!1), [s, c] = k(!1), h = () => {
7163
7165
  const p = n.value;
7164
7166
  p && (e.overflow === "scrollX" ? (l(Math.abs(p.scrollLeft) >= go), c(p.scrollWidth - p.clientWidth - Math.abs(p.scrollLeft) >= go)) : e.overflow === "scrollY" && (l(p.scrollTop !== 0), c(p.scrollHeight - p.clientHeight !== p.scrollTop)));
7165
7167
  };
7166
7168
  R(() => e.overflow, () => {
7167
- f();
7169
+ h();
7168
7170
  }, {
7169
7171
  immediate: !0
7170
7172
  });
@@ -7186,7 +7188,7 @@ const id = (e) => {
7186
7188
  [`${t.value}-overflow-ping-end`]: s.value
7187
7189
  }, e.listClassName),
7188
7190
  ref: "file-list-container",
7189
- onScroll: f,
7191
+ onScroll: h,
7190
7192
  style: e.listStyle
7191
7193
  }, [e.items.map((p) => u(Pi, {
7192
7194
  key: p.uid,
@@ -7199,7 +7201,7 @@ const id = (e) => {
7199
7201
  }
7200
7202
  }, null)), !i.value.disabled && u(Ti, {
7201
7203
  upload: e.upload,
7202
- children: u(et, {
7204
+ children: u(tt, {
7203
7205
  class: `${t.value}-upload-btn`,
7204
7206
  type: "dashed"
7205
7207
  }, {
@@ -7207,23 +7209,23 @@ const id = (e) => {
7207
7209
  class: `${t.value}-upload-btn-icon`
7208
7210
  }, null)]
7209
7211
  })
7210
- }, null), e.overflow === "scrollX" && u(De, null, [u(et, {
7212
+ }, null), e.overflow === "scrollX" && u(De, null, [u(tt, {
7211
7213
  size: "small",
7212
7214
  shape: "circle",
7213
7215
  class: `${t.value}-prev-btn`,
7214
- icon: u(Bt, null, null),
7216
+ icon: u(Rt, null, null),
7215
7217
  onClick: g
7216
- }, null), u(et, {
7218
+ }, null), u(tt, {
7217
7219
  size: "small",
7218
7220
  shape: "circle",
7219
7221
  class: `${t.value}-next-btn`,
7220
- icon: u(Lt, null, null),
7222
+ icon: u(Bt, null, null),
7221
7223
  onClick: v
7222
7224
  }, null)])]);
7223
7225
  }
7224
7226
  });
7225
7227
  function ud(e) {
7226
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !In(e);
7228
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Mn(e);
7227
7229
  }
7228
7230
  const dd = /* @__PURE__ */ H({
7229
7231
  name: "AXAttachments",
@@ -7264,14 +7266,14 @@ const dd = /* @__PURE__ */ H({
7264
7266
  const {
7265
7267
  getPrefixCls: r,
7266
7268
  direction: o
7267
- } = _(), i = r("attachment", e.prefixCls), a = $e("attachments"), l = h(() => a.value.classNames), s = h(() => a.value.styles), c = Fe("attachments-container"), f = Fe("attachments-upload"), [d, g, v] = Ai(i), p = h(() => A(g, v)), [m, b] = k(e.items);
7269
+ } = _(), i = r("attachment", e.prefixCls), a = $e("attachments"), l = f(() => a.value.classNames), s = f(() => a.value.styles), c = Fe("attachments-container"), h = Fe("attachments-upload"), [d, g, v] = Ai(i), p = f(() => A(g, v)), [m, b] = k(e.items);
7268
7270
  R(() => e.items, () => {
7269
7271
  b(e.items);
7270
7272
  });
7271
7273
  const S = (w) => {
7272
7274
  var y;
7273
7275
  b(w.fileList), (y = e.onChange) == null || y.call(e, w);
7274
- }, $ = h(() => ({
7276
+ }, $ = f(() => ({
7275
7277
  ...n,
7276
7278
  fileList: m.value,
7277
7279
  onChange: S
@@ -7294,7 +7296,7 @@ const dd = /* @__PURE__ */ H({
7294
7296
  ...y == null ? void 0 : y.style
7295
7297
  }
7296
7298
  }, null);
7297
- }, T = h(() => {
7299
+ }, T = f(() => {
7298
7300
  let w;
7299
7301
  if (e.children)
7300
7302
  return u(De, null, [u(Ti, {
@@ -7342,7 +7344,7 @@ const dd = /* @__PURE__ */ H({
7342
7344
  style: {
7343
7345
  display: "none"
7344
7346
  }
7345
- } : {}, f.value), u(fo, {
7347
+ } : {}, h.value), u(fo, {
7346
7348
  getDropContainer: e.getDropContainer || (() => c.value),
7347
7349
  prefixCls: i,
7348
7350
  className: p.value
@@ -7356,7 +7358,7 @@ const dd = /* @__PURE__ */ H({
7356
7358
  var M, P;
7357
7359
  const y = (
7358
7360
  // @ts-expect-error
7359
- (P = (M = f.value) == null ? void 0 : M.nativeElement) == null ? void 0 : P.querySelector('input[type="file"]')
7361
+ (P = (M = h.value) == null ? void 0 : M.nativeElement) == null ? void 0 : P.querySelector('input[type="file"]')
7360
7362
  );
7361
7363
  if (y) {
7362
7364
  const E = new DataTransfer();
@@ -7376,8 +7378,8 @@ const dd = /* @__PURE__ */ H({
7376
7378
  }), Vd = Object.assign(dd, {
7377
7379
  FileCard: Pi
7378
7380
  }), fd = (e, t, n) => {
7379
- const r = h(() => {
7380
- const l = F(e);
7381
+ const r = f(() => {
7382
+ const l = z(e);
7381
7383
  let s = {
7382
7384
  expandedKeys: [],
7383
7385
  onExpand: () => {
@@ -7393,30 +7395,30 @@ const dd = /* @__PURE__ */ H({
7393
7395
  customizeOnExpand: s.onExpand
7394
7396
  };
7395
7397
  }), [o, i] = k(r.value.customizeExpandedKeys), a = (l) => {
7396
- var c, f;
7398
+ var c, h;
7397
7399
  if (!r.value.enableCollapse)
7398
7400
  return;
7399
7401
  const s = o.value.includes(l) ? o.value.filter((d) => d !== l) : [...o.value, l];
7400
- (f = (c = r.value).customizeOnExpand) == null || f.call(c, s), i(s);
7402
+ (h = (c = r.value).customizeOnExpand) == null || h.call(c, s), i(s);
7401
7403
  };
7402
7404
  return [
7403
- h(() => r.value.enableCollapse),
7405
+ f(() => r.value.enableCollapse),
7404
7406
  o,
7405
7407
  a
7406
7408
  // collapseMotion,
7407
7409
  ];
7408
7410
  };
7409
- var Pt = /* @__PURE__ */ ((e) => (e.PENDING = "pending", e.SUCCESS = "success", e.ERROR = "error", e))(Pt || {});
7411
+ var At = /* @__PURE__ */ ((e) => (e.PENDING = "pending", e.SUCCESS = "success", e.ERROR = "error", e))(At || {});
7410
7412
  const hd = (e) => {
7411
7413
  const { componentCls: t } = e, n = `${t}-item`, r = {
7412
- [Pt.PENDING]: e.colorPrimaryText,
7413
- [Pt.SUCCESS]: e.colorSuccessText,
7414
- [Pt.ERROR]: e.colorErrorText
7414
+ [At.PENDING]: e.colorPrimaryText,
7415
+ [At.SUCCESS]: e.colorSuccessText,
7416
+ [At.ERROR]: e.colorErrorText
7415
7417
  }, o = Object.keys(r);
7416
7418
  return o.reduce((i, a) => {
7417
7419
  const l = r[a];
7418
7420
  return o.forEach((s) => {
7419
- const c = `& ${n}-${a}-${s}`, f = a === s ? {} : {
7421
+ const c = `& ${n}-${a}-${s}`, h = a === s ? {} : {
7420
7422
  backgroundColor: "none !important",
7421
7423
  backgroundImage: `linear-gradient(${l}, ${r[s]})`
7422
7424
  };
@@ -7424,7 +7426,7 @@ const hd = (e) => {
7424
7426
  [`& ${n}-icon, & > *::before`]: {
7425
7427
  backgroundColor: `${l} !important`
7426
7428
  },
7427
- "& > :last-child::before": f
7429
+ "& > :last-child::before": h
7428
7430
  };
7429
7431
  }), i;
7430
7432
  }, {});
@@ -7541,7 +7543,7 @@ const hd = (e) => {
7541
7543
  }
7542
7544
  }
7543
7545
  };
7544
- }, nn = (e, t = "middle") => {
7546
+ }, tn = (e, t = "middle") => {
7545
7547
  const { componentCls: n } = e, r = {
7546
7548
  large: {
7547
7549
  itemSize: e.itemSizeLG,
@@ -7580,9 +7582,9 @@ const hd = (e) => {
7580
7582
  display: "flex",
7581
7583
  flexDirection: "column",
7582
7584
  ...hd(e),
7583
- ...nn(e),
7584
- ...nn(e, "large"),
7585
- ...nn(e, "small"),
7585
+ ...tn(e),
7586
+ ...tn(e, "large"),
7587
+ ...tn(e, "small"),
7586
7588
  [`&${t}-rtl`]: {
7587
7589
  direction: "rtl"
7588
7590
  }
@@ -7607,23 +7609,23 @@ const hd = (e) => {
7607
7609
  pd(t)
7608
7610
  // genCollapseMotion(compToken)
7609
7611
  ];
7610
- }), Ei = Symbol("ThoughtChainNodeContext"), Pn = J(), yd = (e) => {
7612
+ }), Ei = Symbol("ThoughtChainNodeContext"), An = J(), yd = (e) => {
7611
7613
  fe(Ei, e), R(
7612
7614
  e,
7613
7615
  () => {
7614
- Pn.value = O(e), ye(Pn);
7616
+ An.value = O(e), ye(An);
7615
7617
  },
7616
7618
  { immediate: !0, deep: !0 }
7617
7619
  );
7618
7620
  }, bd = () => ne(
7619
7621
  Ei,
7620
- h(() => Pn.value || {})
7622
+ f(() => An.value || {})
7621
7623
  ), Sd = H({
7622
7624
  props: {
7623
7625
  value: be()
7624
7626
  },
7625
7627
  setup(e, { slots: t }) {
7626
- return yd(h(() => e.value)), () => {
7628
+ return yd(f(() => e.value)), () => {
7627
7629
  var n;
7628
7630
  return (n = t.default) == null ? void 0 : n.call(t);
7629
7631
  };
@@ -7641,17 +7643,17 @@ const hd = (e) => {
7641
7643
  info: () => ({})
7642
7644
  }),
7643
7645
  setup(e) {
7644
- const t = se(e, ["info", "nextStatus", "onClick"]), n = h(() => qe(t, {
7646
+ const t = se(e, ["info", "nextStatus", "onClick"]), n = f(() => Ke(t, {
7645
7647
  attr: !0,
7646
7648
  aria: !0,
7647
7649
  data: !0
7648
- })), r = bd(), o = h(() => r.value.prefixCls), i = h(() => r.value.enableCollapse), a = h(() => r.value.expandedKeys), l = h(() => r.value.direction), s = h(() => r.value.classNames), c = h(() => r.value.styles), f = Fi(), d = h(() => e.info.key ?? f), g = h(() => e.info.icon), v = h(() => e.info.title), p = h(() => e.info.extra), m = h(() => e.info.content), b = h(() => e.info.footer), S = h(() => e.info.status), $ = h(() => e.info.description), C = h(() => `${o.value}-item`), x = () => {
7650
+ })), r = bd(), o = f(() => r.value.prefixCls), i = f(() => r.value.enableCollapse), a = f(() => r.value.expandedKeys), l = f(() => r.value.direction), s = f(() => r.value.classNames), c = f(() => r.value.styles), h = Fi(), d = f(() => e.info.key ?? h), g = f(() => e.info.icon), v = f(() => e.info.title), p = f(() => e.info.extra), m = f(() => e.info.content), b = f(() => e.info.footer), S = f(() => e.info.status), $ = f(() => e.info.description), C = f(() => `${o.value}-item`), x = () => {
7649
7651
  var y;
7650
7652
  return (y = e.onClick) == null ? void 0 : y.call(e, d.value);
7651
- }, T = h(() => {
7653
+ }, T = f(() => {
7652
7654
  var y;
7653
7655
  return (y = a.value) == null ? void 0 : y.includes(d.value);
7654
- }), w = h(() => i.value ? T.value : !0);
7656
+ }), w = f(() => i.value ? T.value : !0);
7655
7657
  return () => u("div", q(n.value, {
7656
7658
  class: A(C.value, {
7657
7659
  [`${C.value}-${S.value}${e.nextStatus ? `-${e.nextStatus}` : ""}`]: S.value
@@ -7679,10 +7681,10 @@ const hd = (e) => {
7679
7681
  },
7680
7682
  class: `${C.value}-title`
7681
7683
  }, {
7682
- default: () => [i.value && m.value && (l.value === "rtl" ? u(Bt, {
7684
+ default: () => [i.value && m.value && (l.value === "rtl" ? u(Rt, {
7683
7685
  class: `${C.value}-collapse-icon`,
7684
7686
  rotate: T.value ? -90 : 0
7685
- }, null) : u(Lt, {
7687
+ }, null) : u(Bt, {
7686
7688
  class: `${C.value}-collapse-icon`,
7687
7689
  rotate: T.value ? 90 : 0
7688
7690
  }, null)), v.value]
@@ -7734,19 +7736,19 @@ const hd = (e) => {
7734
7736
  setup(e) {
7735
7737
  const t = se(e, ["prefixCls", "rootClassName", "class", "items", "collapsible", "styles", "style", "classNames", "size"]);
7736
7738
  G(e, "class"), G(e, "prefixCls");
7737
- const n = h(() => qe(t, {
7739
+ const n = f(() => Ke(t, {
7738
7740
  attr: !0,
7739
7741
  aria: !0,
7740
7742
  data: !0
7741
7743
  })), {
7742
7744
  getPrefixCls: r,
7743
7745
  direction: o
7744
- } = _(), i = h(() => r()), a = h(() => r("thought-chain", e.prefixCls)), l = $e("thoughtChain"), [
7746
+ } = _(), i = f(() => r()), a = f(() => r("thought-chain", e.prefixCls)), l = $e("thoughtChain"), [
7745
7747
  s,
7746
7748
  c,
7747
- f
7749
+ h
7748
7750
  // collapseMotion
7749
- ] = fd(() => e.collapsible, a.value, i.value), [d, g, v] = vd(a), p = h(() => A(e.class, e.rootClassName, a.value, l.value.className, g, v, {
7751
+ ] = fd(() => e.collapsible, a.value, i.value), [d, g, v] = vd(a), p = f(() => A(e.class, e.rootClassName, a.value, l.value.className, g, v, {
7750
7752
  [`${a.value}-rtl`]: o.value === "rtl"
7751
7753
  }, `${a.value}-${e.size}`));
7752
7754
  return () => d(u("div", q(n.value, {
@@ -7798,7 +7800,7 @@ const hd = (e) => {
7798
7800
  ...b,
7799
7801
  icon: b.icon || S + 1
7800
7802
  },
7801
- onClick: f,
7803
+ onClick: h,
7802
7804
  nextStatus: (($ = e.items[S + 1]) == null ? void 0 : $.status) || b.status
7803
7805
  }, null);
7804
7806
  })];
@@ -7808,7 +7810,7 @@ const hd = (e) => {
7808
7810
  }), xd = `
7809
7811
 
7810
7812
  `, $d = `
7811
- `, mo = ":", En = (e) => (e ?? "").trim() !== "";
7813
+ `, mo = ":", Pn = (e) => (e ?? "").trim() !== "";
7812
7814
  function wd() {
7813
7815
  let e = "";
7814
7816
  return new TransformStream({
@@ -7816,11 +7818,11 @@ function wd() {
7816
7818
  e += t;
7817
7819
  const r = e.split(xd);
7818
7820
  r.slice(0, -1).forEach((o) => {
7819
- En(o) && n.enqueue(o);
7821
+ Pn(o) && n.enqueue(o);
7820
7822
  }), e = r[r.length - 1];
7821
7823
  },
7822
7824
  flush(t) {
7823
- En(e) && t.enqueue(e);
7825
+ Pn(e) && t.enqueue(e);
7824
7826
  }
7825
7827
  });
7826
7828
  }
@@ -7834,7 +7836,7 @@ function Td() {
7834
7836
  `The key-value separator "${mo}" is not found in the sse line chunk!`
7835
7837
  );
7836
7838
  const l = i.slice(0, a);
7837
- if (!En(l)) return o;
7839
+ if (!Pn(l)) return o;
7838
7840
  const s = i.slice(a + 1);
7839
7841
  return { ...o, [l]: s };
7840
7842
  }, {});
@@ -7887,7 +7889,7 @@ const Od = async (e, t = {}) => {
7887
7889
  }, Me = class Me {
7888
7890
  constructor(t) {
7889
7891
  this.create = async (a, l, s) => {
7890
- var f;
7892
+ var h;
7891
7893
  const c = {
7892
7894
  method: "POST",
7893
7895
  body: JSON.stringify({
@@ -7918,29 +7920,29 @@ const Od = async (e, t = {}) => {
7918
7920
  }
7919
7921
  } catch (d) {
7920
7922
  const g = d instanceof Error ? d : new Error("Unknown error!");
7921
- throw (f = l == null ? void 0 : l.onError) == null || f.call(l, g), g;
7923
+ throw (h = l == null ? void 0 : l.onError) == null || h.call(l, g), g;
7922
7924
  }
7923
7925
  }, this.customResponseHandler = async (a, l, s) => {
7924
- var f, d;
7926
+ var h, d;
7925
7927
  const c = [];
7926
7928
  for await (const g of po({
7927
7929
  readableStream: a.body,
7928
7930
  transformStream: s
7929
7931
  }))
7930
- c.push(g), (f = l == null ? void 0 : l.onUpdate) == null || f.call(l, g);
7932
+ c.push(g), (h = l == null ? void 0 : l.onUpdate) == null || h.call(l, g);
7931
7933
  (d = l == null ? void 0 : l.onSuccess) == null || d.call(l, c);
7932
7934
  }, this.sseResponseHandler = async (a, l) => {
7933
- var c, f;
7935
+ var c, h;
7934
7936
  const s = [];
7935
7937
  for await (const d of po({
7936
7938
  readableStream: a.body
7937
7939
  }))
7938
7940
  s.push(d), (c = l == null ? void 0 : l.onUpdate) == null || c.call(l, d);
7939
- (f = l == null ? void 0 : l.onSuccess) == null || f.call(l, s);
7941
+ (h = l == null ? void 0 : l.onSuccess) == null || h.call(l, s);
7940
7942
  }, this.jsonResponseHandler = async (a, l) => {
7941
- var c, f;
7943
+ var c, h;
7942
7944
  const s = await a.json();
7943
- (c = l == null ? void 0 : l.onUpdate) == null || c.call(l, s), (f = l == null ? void 0 : l.onSuccess) == null || f.call(l, [s]);
7945
+ (c = l == null ? void 0 : l.onUpdate) == null || c.call(l, s), (h = l == null ? void 0 : l.onSuccess) == null || h.call(l, [s]);
7944
7946
  };
7945
7947
  const { baseURL: n, model: r, dangerouslyApiKey: o, ...i } = t;
7946
7948
  this.baseURL = t.baseURL, this.model = t.model, this.defaultHeaders = {
@@ -7958,8 +7960,8 @@ const Od = async (e, t = {}) => {
7958
7960
  }
7959
7961
  };
7960
7962
  Me.instanceBuffer = /* @__PURE__ */ new Map();
7961
- let Mn = Me;
7962
- const Ad = Mn.init;
7963
+ let En = Me;
7964
+ const Ad = En.init;
7963
7965
  let vo = 0;
7964
7966
  class Pd {
7965
7967
  constructor(t) {
@@ -7990,7 +7992,7 @@ class Pd {
7990
7992
  function kd(e) {
7991
7993
  const { request: t, ...n } = e;
7992
7994
  return {
7993
- agent: h(
7995
+ agent: f(
7994
7996
  () => new Pd({
7995
7997
  // @ts-expect-error
7996
7998
  request: t || Ad({