@fiction/sdk 1.0.47 → 1.0.49

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.
Files changed (22) hide show
  1. package/dist/{FModal.vue_vue_type_script_setup_true_lang-CjBOzrZ5.js → FModal.vue_vue_type_script_setup_true_lang-DmicC-4R.js} +2 -2
  2. package/dist/{FModal.vue_vue_type_script_setup_true_lang-CjBOzrZ5.js.map → FModal.vue_vue_type_script_setup_true_lang-DmicC-4R.js.map} +1 -1
  3. package/dist/{SelfProvider.vue_vue_type_script_setup_true_lang-wp53YXNd.js → SelfProvider.vue_vue_type_script_setup_true_lang-D3Q9S2dY.js} +2 -2
  4. package/dist/{SelfProvider.vue_vue_type_script_setup_true_lang-wp53YXNd.js.map → SelfProvider.vue_vue_type_script_setup_true_lang-D3Q9S2dY.js.map} +1 -1
  5. package/dist/{SelfWidgetInline-CgXet5hG.js → SelfWidgetInline-BslUTmm8.js} +2 -2
  6. package/dist/{SelfWidgetInline-CgXet5hG.js.map → SelfWidgetInline-BslUTmm8.js.map} +1 -1
  7. package/dist/{SelfWidgetModal-Cr_DCA7h.js → SelfWidgetModal-DTEzZqw4.js} +3 -3
  8. package/dist/{SelfWidgetModal-Cr_DCA7h.js.map → SelfWidgetModal-DTEzZqw4.js.map} +1 -1
  9. package/dist/{SelfWidgetPopup-vD1JFq-Q.js → SelfWidgetPopup-D99aFRXW.js} +2 -2
  10. package/dist/{SelfWidgetPopup-vD1JFq-Q.js.map → SelfWidgetPopup-D99aFRXW.js.map} +1 -1
  11. package/dist/{SelfWrap.vue_vue_type_script_setup_true_lang-5yJk1rsa.js → SelfWrap.vue_vue_type_script_setup_true_lang-CxBXV2uC.js} +410 -418
  12. package/dist/SelfWrap.vue_vue_type_script_setup_true_lang-CxBXV2uC.js.map +1 -0
  13. package/dist/demo/index.d.ts +6 -0
  14. package/dist/sdk.css +1 -1
  15. package/dist/sdkClient-Dg6A3ZgO.js.map +1 -1
  16. package/dist/sdkClient.d.ts +19 -0
  17. package/dist/self/ui/SelfWrap.vue.d.ts +3 -0
  18. package/dist/self.js +4 -4
  19. package/dist/widget.js +18 -18
  20. package/dist/widget.js.map +1 -1
  21. package/package.json +2 -2
  22. package/dist/SelfWrap.vue_vue_type_script_setup_true_lang-5yJk1rsa.js.map +0 -1
@@ -1,23 +1,23 @@
1
- var ct = Object.defineProperty;
2
- var Ht = (e, i, o) => i in e ? ct(e, i, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[i] = o;
3
- var r = (e, i) => ct(e, "name", { value: i, configurable: !0 });
1
+ var lt = Object.defineProperty;
2
+ var Ht = (e, i, o) => i in e ? lt(e, i, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[i] = o;
3
+ var r = (e, i) => lt(e, "name", { value: i, configurable: !0 });
4
4
  var L = (e, i, o) => Ht(e, typeof i != "symbol" ? i + "" : i, o);
5
- import { defineComponent as R, createElementBlock as y, openBlock as m, createElementVNode as c, normalizeClass as $, ref as B, watch as ie, createBlock as se, TransitionGroup as yt, withCtx as ne, renderSlot as Ie, computed as E, createCommentVNode as P, onMounted as $e, Fragment as Ce, renderList as He, withDirectives as kt, vModelText as wt, toDisplayString as U, createVNode as G, withKeys as Wt, createTextVNode as Pe, unref as X, resolveDynamicComponent as qt, nextTick as qe, Transition as dt, withModifiers as Ct, normalizeStyle as tt, onUnmounted as St, createPropsRestProxy as Kt, mergeProps as Zt, shallowRef as _t } from "vue";
6
- import { Conversation as ut } from "@elevenlabs/client";
5
+ import { defineComponent as j, createElementBlock as y, openBlock as f, createElementVNode as c, normalizeClass as $, ref as B, watch as ie, createBlock as se, TransitionGroup as yt, withCtx as ne, renderSlot as Ie, computed as E, createCommentVNode as P, onMounted as $e, Fragment as Ce, renderList as Oe, withDirectives as kt, vModelText as wt, toDisplayString as U, createVNode as G, withKeys as Wt, createTextVNode as Pe, unref as X, resolveDynamicComponent as qt, nextTick as We, Transition as ct, withModifiers as Ct, normalizeStyle as et, onUnmounted as St, createPropsRestProxy as Kt, mergeProps as Zt, shallowRef as _t } from "vue";
6
+ import { Conversation as dt } from "@elevenlabs/client";
7
7
  import { objectId as Yt } from "@fiction/utils";
8
8
  import { S as Mt, c as Jt, F as Qt } from "./sdkClient-Dg6A3ZgO.js";
9
9
  const Xt = { class: "spinner max-w-sm" }, eo = {
10
10
  class: "ring-circular h-full w-full origin-center",
11
11
  viewBox: "25 25 50 50"
12
- }, ot = /* @__PURE__ */ R({
12
+ }, tt = /* @__PURE__ */ j({
13
13
  __name: "FSpinner",
14
14
  props: {
15
15
  width: { type: String, default: "" },
16
16
  colorMode: { type: String, default: "primary" }
17
17
  },
18
18
  setup(e) {
19
- return (i, o) => (m(), y("div", Xt, [
20
- (m(), y("svg", eo, [
19
+ return (i, o) => (f(), y("div", Xt, [
20
+ (f(), y("svg", eo, [
21
21
  c("circle", {
22
22
  class: $([e.colorMode, "ring-path"]),
23
23
  cx: "50",
@@ -31,7 +31,7 @@ const Xt = { class: "spinner max-w-sm" }, eo = {
31
31
  ]))
32
32
  ]));
33
33
  }
34
- }), ht = {
34
+ }), ut = {
35
35
  green: {
36
36
  50: "oklch(98.2% 0.018 155.826)",
37
37
  100: "oklch(96.2% 0.044 156.743)",
@@ -164,7 +164,7 @@ const Xt = { class: "spinner max-w-sm" }, eo = {
164
164
  }
165
165
  };
166
166
  function to(e) {
167
- return ht[e] || ht.blue;
167
+ return ut[e] || ut.blue;
168
168
  }
169
169
  r(to, "getColorSchemeOklch");
170
170
  const At = [
@@ -275,7 +275,7 @@ const At = [
275
275
  7500,
276
276
  8e3,
277
277
  8500
278
- ], nt = class nt extends Mt {
278
+ ], st = class st extends Mt {
279
279
  constructor(o) {
280
280
  super("ClientAudio", o);
281
281
  L(this, "audioContext");
@@ -429,10 +429,10 @@ const At = [
429
429
  }
430
430
  try {
431
431
  this.analyser.getByteFrequencyData(s);
432
- const l = s.reduce((h, p) => h + p, 0) / s.length, d = Math.min(l / 128, 1);
432
+ const l = s.reduce((u, p) => u + p, 0) / s.length, d = Math.min(l / 128, 1);
433
433
  !this.detectVoiceActivity(d) && this.hasUserStoppedSpeaking() && t && (this.logger.info("VAD: User stopped speaking (silence detected)"), t(), this.lastSpeechTime = 0);
434
- const g = o?.() ? 0.3 : 0;
435
- this.audioLevels.value = { inputLevel: d, outputLevel: g };
434
+ const m = o?.() ? 0.3 : 0;
435
+ this.audioLevels.value = { inputLevel: d, outputLevel: m };
436
436
  } catch (l) {
437
437
  this.logger.error("Error in audio level monitoring:", l), this.stopAudioLevelMonitoring();
438
438
  }
@@ -488,25 +488,25 @@ const At = [
488
488
  await this.stopMicrophone(), this.visibilityChangeHandler && typeof document < "u" && (document.removeEventListener("visibilitychange", this.visibilityChangeHandler), this.visibilityChangeHandler = void 0), this.logger.info("Audio resources cleaned up");
489
489
  }
490
490
  };
491
- r(nt, "ClientAudio");
492
- let _e = nt;
493
- function gt(e) {
491
+ r(st, "ClientAudio");
492
+ let Ze = st;
493
+ function ht(e) {
494
494
  return e ? typeof e == "string" ? e : e.src || "" : "";
495
495
  }
496
- r(gt, "getImageSrc");
497
- function Ye(e) {
498
- return gt(e.cover) || gt(e.avatar) || "/img/placeholder-avatar.png";
496
+ r(ht, "getImageSrc");
497
+ function _e(e) {
498
+ return ht(e.cover) || ht(e.avatar) || "/img/placeholder-avatar.png";
499
499
  }
500
- r(Ye, "getSelfAvatarUrl");
501
- function We() {
500
+ r(_e, "getSelfAvatarUrl");
501
+ function He() {
502
502
  return "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iODAiIGhlaWdodD0iODAiIHZpZXdCb3g9IjAgMCA4MCA4MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjgwIiBoZWlnaHQ9IjgwIiByeD0iNDAiIGZpbGw9IiM2MzY2RjEiLz4KPHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeD0iMjAiIHk9IjIwIj4KPHA0aCBkPSJNMTIgMTJjMi4yMSAwIDQtMS43OSA0LTRTNC4yMSA0IDIgNHMxLjc5IDQgNCA0em0wIDJjLTIuNjcgMC04IDEuMzQtOCA0djJoMTZ2LTJjMC0yLjY2LTUuMzMtNC04LTR6IiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4KPC9zdmc+";
503
503
  }
504
- r(We, "getFallbackAvatarDataUrl");
505
- function Oe(e) {
504
+ r(He, "getFallbackAvatarDataUrl");
505
+ function Ue(e) {
506
506
  const i = e.target;
507
- i.dataset.fallbackUsed || (i.dataset.fallbackUsed = "true", i.src = We());
507
+ i.dataset.fallbackUsed || (i.dataset.fallbackUsed = "true", i.src = He());
508
508
  }
509
- r(Oe, "handleImageError");
509
+ r(Ue, "handleImageError");
510
510
  function no(e) {
511
511
  const { message: i, source: o } = e;
512
512
  if (!i)
@@ -541,7 +541,7 @@ function Ns(e) {
541
541
  return o === "welcome" ? `Welcome to Fiction! I'm ${i}, your digital self. I'm here to help you understand how I can represent you and assist with your daily tasks. What would you like to know about how I work?` : o === "onboarding" ? `Hi! I'm ${i}, your newly created digital self. I can handle conversations, answer questions about your expertise, and represent you professionally. Ready to see what I can do?` : `Hello! I'm ${i}. How can I help you today?`;
542
542
  }
543
543
  r(Ns, "generateFirstMessage");
544
- const it = class it extends Mt {
544
+ const nt = class nt extends Mt {
545
545
  constructor(o) {
546
546
  super("SelfController", o);
547
547
  L(this, "conversation");
@@ -582,7 +582,7 @@ const it = class it extends Mt {
582
582
  L(this, "sharedMessages", B([]));
583
583
  if (!o.self.elevenlabsAgentId || o.self.elevenlabsAgentId.trim() === "")
584
584
  throw new Error(`Agent ID is required for SelfController. Self "${o.self.name}" (${o.self.selfId}) does not have a valid elevenlabsAgentId.`);
585
- this.clientAudio = new _e(o), this.setupModeWatcher();
585
+ this.clientAudio = new Ze(o), this.setupModeWatcher();
586
586
  }
587
587
  get audioLevels() {
588
588
  return this.clientAudio.audioLevels;
@@ -638,9 +638,17 @@ const it = class it extends Mt {
638
638
  ]);
639
639
  }
640
640
  getDynamicSettings() {
641
+ const { sdk: o } = this.settings, t = o.activeUser.value, s = t?.selves?.find((n) => n.selfId === t.primarySelfId), a = t ? `
642
+
643
+ Current User:
644
+ - Name: ${s?.name || "Anonymous"}
645
+ - Email: ${t.email}
646
+ - Title: ${s?.title || ""}
647
+ - About: ${s?.summary || ""}
648
+ ` : "";
641
649
  return {
642
650
  dynamicVariables: {
643
- context: this.settings.context || "",
651
+ context: `${this.settings.context || ""}${a}`.trim(),
644
652
  firstMessage: this.settings.firstMessage || ""
645
653
  },
646
654
  overrides: {
@@ -722,7 +730,7 @@ const it = class it extends Mt {
722
730
  const t = this.getDynamicSettings(), s = this.settings.self.elevenlabsAgentId;
723
731
  this.logger.info("Starting voice conversation...", { agentId: s, dynamicSettings: t });
724
732
  try {
725
- this.conversation = await ut.startSession({
733
+ this.conversation = await dt.startSession({
726
734
  agentId: s,
727
735
  connectionType: "websocket",
728
736
  ...t,
@@ -753,7 +761,7 @@ const it = class it extends Mt {
753
761
  a.includes("does not exist") ? n = `Agent not found: ${this.settings.self.elevenlabsAgentId}. Check ElevenLabs configuration.` : a.includes("limit") || a.includes("quota") ? n = "ElevenLabs account limit reached. Check your subscription and usage." : (a.includes("unauthorized") || a.includes("invalid")) && (n = "ElevenLabs API authentication failed. Check ELEVENLABS_API_KEY."), this.endSession().catch((l) => console.error("Failed to end session:", l)), this.handleError(new Error(n), !0), o.onError?.(new Error(n));
754
762
  }, "onError"),
755
763
  onModeChange: /* @__PURE__ */ r((a) => {
756
- const n = a.mode === "speaking", l = 3e3, d = Date.now(), C = d - this.lastUserSpeechTime, g = d - this.lastUserMessageTime, h = C < l || g < l, p = !n && h;
764
+ const n = a.mode === "speaking", l = 3e3, d = Date.now(), C = d - this.lastUserSpeechTime, m = d - this.lastUserMessageTime, u = C < l || m < l, p = !n && u;
757
765
  let k;
758
766
  n ? k = "Speaking..." : p ? k = "Thinking..." : k = "Listening...", this.updateState(this.voiceState, {
759
767
  isSpeaking: n,
@@ -767,8 +775,8 @@ const it = class it extends Mt {
767
775
  isListening: !n,
768
776
  isProcessing: p,
769
777
  timeSinceUserSpeech: C,
770
- timeSinceUserMessage: g,
771
- detectionSource: g < C ? "message" : "audio"
778
+ timeSinceUserMessage: m,
779
+ detectionSource: m < C ? "message" : "audio"
772
780
  }), o.onModeChange?.(a.mode);
773
781
  }, "onModeChange"),
774
782
  onMessage: /* @__PURE__ */ r((a) => {
@@ -786,7 +794,7 @@ const it = class it extends Mt {
786
794
  }
787
795
  this.isConnecting = !0, this.isTextMode = !0, this.updateState(this.textState, { isActive: !0, connectionStatus: "connecting" }), await this.startSession("chat");
788
796
  try {
789
- this.conversation = await ut.startSession({
797
+ this.conversation = await dt.startSession({
790
798
  agentId: this.settings.self.elevenlabsAgentId,
791
799
  connectionType: "websocket",
792
800
  ...this.getDynamicSettings(),
@@ -872,45 +880,26 @@ const it = class it extends Mt {
872
880
  });
873
881
  }
874
882
  async endSession() {
875
- if (!this.sessionId || !this.conversationStartTime)
876
- return;
877
- const { self: o, sdk: t } = this.settings;
878
- if (!o.orgId || !t.activeUser.value?.userId) {
879
- this.logger.info("No org/user context - skipping usage recording"), this.resetSession();
880
- return;
881
- }
882
- const s = Math.round((Date.now() - this.conversationStartTime.getTime()) / 1e3), a = this.isTextMode ? "chat" : "voice", n = a === "voice" ? s : this.chatCharacterCount;
883
- if (!o.selfId) {
884
- this.logger.warn("Cannot track usage: selfId is undefined"), this.resetSession();
885
- return;
886
- }
887
- await t.trackUsage({
888
- selfId: o.selfId,
889
- type: a,
890
- quantity: n,
891
- participantId: t.activeUser.value?.userId
892
- // Track authenticated user
893
- }) ? this.logger.info("Recorded usage", {
883
+ !this.sessionId || !this.conversationStartTime || (this.logger.info("Session ended", {
894
884
  sessionId: this.sessionId,
895
- type: a,
896
- quantity: n,
897
- duration: s
898
- }) : this.logger.warn("Failed to record usage - continuing normally"), this.resetSession();
885
+ duration: Math.round((Date.now() - this.conversationStartTime.getTime()) / 1e3),
886
+ type: this.isTextMode ? "chat" : "voice"
887
+ }), this.resetSession());
899
888
  }
900
889
  resetSession() {
901
890
  this.sessionId = void 0, this.conversationStartTime = void 0, this.chatCharacterCount = 0;
902
891
  }
903
892
  };
904
- r(it, "SelfController");
905
- let Je = it;
906
- const io = /* @__PURE__ */ R({
893
+ r(nt, "SelfController");
894
+ let Ye = nt;
895
+ const io = /* @__PURE__ */ j({
907
896
  __name: "EffectTransitionList",
908
897
  props: {
909
898
  disabled: { type: Boolean, default: !1 },
910
899
  mode: { default: "block" }
911
900
  },
912
901
  setup(e) {
913
- return (i, o) => (m(), se(yt, {
902
+ return (i, o) => (f(), se(yt, {
914
903
  name: e.disabled ? "" : "nlist"
915
904
  }, {
916
905
  default: ne(() => [
@@ -922,7 +911,7 @@ const io = /* @__PURE__ */ R({
922
911
  }), ao = {
923
912
  key: 0,
924
913
  class: "absolute inset-0 flex items-center justify-center"
925
- }, rt = /* @__PURE__ */ R({
914
+ }, ot = /* @__PURE__ */ j({
926
915
  __name: "ElSelfButton",
927
916
  props: {
928
917
  theme: { default: "primary" },
@@ -946,28 +935,28 @@ const io = /* @__PURE__ */ R({
946
935
  md: "size-4",
947
936
  lg: "size-5"
948
937
  })[e.size]);
949
- return (s, a) => (m(), y("button", {
938
+ return (s, a) => (f(), y("button", {
950
939
  class: $(["relative inline-flex items-center justify-center gap-2 font-medium rounded-full backdrop-blur-sm border-2 text-white transition-all duration-200 focus:outline-none active:opacity-80 disabled:opacity-50 disabled:cursor-not-allowed cursor-pointer", [i.value, o.value]])
951
940
  }, [
952
- e.loading ? (m(), y("div", ao, [...a[0] || (a[0] = [
941
+ e.loading ? (f(), y("div", ao, [...a[0] || (a[0] = [
953
942
  c("i", { class: "i-svg-spinners-90-ring-with-bg size-5" }, null, -1)
954
943
  ])])) : P("", !0),
955
944
  c("span", {
956
945
  class: $(["flex items-center gap-2 transition-opacity duration-200", e.loading ? "opacity-0" : "opacity-100"])
957
946
  }, [
958
- e.icon ? (m(), y("i", {
947
+ e.icon ? (f(), y("i", {
959
948
  key: 0,
960
949
  class: $([e.icon, t.value])
961
950
  }, null, 2)) : P("", !0),
962
951
  Ie(s.$slots, "default"),
963
- e.iconAfter ? (m(), y("i", {
952
+ e.iconAfter ? (f(), y("i", {
964
953
  key: 1,
965
954
  class: $([e.iconAfter, t.value])
966
955
  }, null, 2)) : P("", !0)
967
956
  ], 2)
968
957
  ], 2));
969
958
  }
970
- }), lo = ["value"], co = /* @__PURE__ */ R({
959
+ }), lo = ["value"], co = /* @__PURE__ */ j({
971
960
  __name: "SelfInputEmail",
972
961
  props: {
973
962
  modelValue: { default: "" }
@@ -975,7 +964,7 @@ const io = /* @__PURE__ */ R({
975
964
  emits: ["update:modelValue"],
976
965
  setup(e, { emit: i }) {
977
966
  const o = i;
978
- return (t, s) => (m(), y("input", {
967
+ return (t, s) => (f(), y("input", {
979
968
  type: "email",
980
969
  autocomplete: "email",
981
970
  placeholder: "Enter Your Email",
@@ -985,7 +974,7 @@ const io = /* @__PURE__ */ R({
985
974
  onInput: s[0] || (s[0] = (a) => o("update:modelValue", a.target.value))
986
975
  }, null, 40, lo));
987
976
  }
988
- }), uo = { class: "flex gap-1.5 justify-center" }, ho = ["onUpdate:modelValue", "onInput", "onKeydown", "onPaste", "onFocus"], go = /* @__PURE__ */ R({
977
+ }), uo = { class: "flex gap-1.5 justify-center" }, ho = ["onUpdate:modelValue", "onInput", "onKeydown", "onPaste", "onFocus"], go = /* @__PURE__ */ j({
989
978
  __name: "SelfInputOneTimeCode",
990
979
  props: {
991
980
  modelValue: {},
@@ -997,13 +986,13 @@ const io = /* @__PURE__ */ R({
997
986
  const o = e, t = i, s = B([]), a = B(Array.from({ length: o.length }).fill("")), n = B(!1);
998
987
  $e(() => {
999
988
  o.modelValue && (a.value = o.modelValue.split("").slice(0, o.length)), o.focusFirst && !("ontouchstart" in window) && s.value[0]?.focus();
1000
- }), ie(() => o.modelValue, (h) => {
1001
- a.value = h ? h.split("").slice(0, o.length) : Array.from({ length: o.length }).fill("");
989
+ }), ie(() => o.modelValue, (u) => {
990
+ a.value = u ? u.split("").slice(0, o.length) : Array.from({ length: o.length }).fill("");
1002
991
  }), ie(a, () => {
1003
- const h = a.value.filter(Boolean).join("");
1004
- t("update:modelValue", h), h.length === o.length && t("autoSubmit", h);
992
+ const u = a.value.filter(Boolean).join("");
993
+ t("update:modelValue", u), u.length === o.length && t("autoSubmit", u);
1005
994
  }, { deep: !0 });
1006
- function l(h, p) {
995
+ function l(u, p) {
1007
996
  p.preventDefault(), n.value = !0;
1008
997
  const k = (p.clipboardData?.getData("text") || "").replace(/\D/g, "");
1009
998
  if (k.length === o.length)
@@ -1012,32 +1001,32 @@ const io = /* @__PURE__ */ R({
1012
1001
  }, 10);
1013
1002
  else {
1014
1003
  const b = [...a.value];
1015
- k.split("").slice(0, o.length - h).forEach((O, q) => {
1016
- b[h + q] = O;
1004
+ k.split("").slice(0, o.length - u).forEach((O, q) => {
1005
+ b[u + q] = O;
1017
1006
  }), a.value = b;
1018
- const z = Math.min(h + k.length, o.length - 1);
1007
+ const z = Math.min(u + k.length, o.length - 1);
1019
1008
  setTimeout(() => {
1020
1009
  s.value[z]?.focus(), n.value = !1;
1021
1010
  }, 10);
1022
1011
  }
1023
1012
  }
1024
1013
  r(l, "onPaste");
1025
- function d(h, p) {
1014
+ function d(u, p) {
1026
1015
  const k = p.target.value.slice(-1).replace(/\D/g, "");
1027
- a.value[h] = k, k && h < o.length - 1 && s.value[h + 1]?.focus();
1016
+ a.value[u] = k, k && u < o.length - 1 && s.value[u + 1]?.focus();
1028
1017
  }
1029
1018
  r(d, "onInput");
1030
- function C(h, p) {
1031
- p.key === "Backspace" ? (p.preventDefault(), a.value[h] = "", h > 0 && s.value[h - 1]?.focus()) : p.key === "ArrowLeft" && h > 0 ? s.value[h - 1]?.focus() : p.key === "ArrowRight" && h < o.length - 1 && s.value[h + 1]?.focus();
1019
+ function C(u, p) {
1020
+ p.key === "Backspace" ? (p.preventDefault(), a.value[u] = "", u > 0 && s.value[u - 1]?.focus()) : p.key === "ArrowLeft" && u > 0 ? s.value[u - 1]?.focus() : p.key === "ArrowRight" && u < o.length - 1 && s.value[u + 1]?.focus();
1032
1021
  }
1033
1022
  r(C, "onKeydown");
1034
- function g(h) {
1035
- if (s.value[h]?.select(), !n.value && a.value[h])
1036
- for (let p = h; p < o.length; p++)
1023
+ function m(u) {
1024
+ if (s.value[u]?.select(), !n.value && a.value[u])
1025
+ for (let p = u; p < o.length; p++)
1037
1026
  a.value[p] = "";
1038
1027
  }
1039
- return r(g, "onFocus"), (h, p) => (m(), y("div", uo, [
1040
- (m(!0), y(Ce, null, He(e.length, (k) => kt((m(), y("input", {
1028
+ return r(m, "onFocus"), (u, p) => (f(), y("div", uo, [
1029
+ (f(!0), y(Ce, null, Oe(e.length, (k) => kt((f(), y("input", {
1041
1030
  key: k,
1042
1031
  ref_for: !0,
1043
1032
  ref: /* @__PURE__ */ r((b) => s.value[k - 1] = b, "ref"),
@@ -1051,7 +1040,7 @@ const io = /* @__PURE__ */ R({
1051
1040
  onInput: /* @__PURE__ */ r((b) => d(k - 1, b), "onInput"),
1052
1041
  onKeydown: /* @__PURE__ */ r((b) => C(k - 1, b), "onKeydown"),
1053
1042
  onPaste: /* @__PURE__ */ r((b) => l(k - 1, b), "onPaste"),
1054
- onFocus: /* @__PURE__ */ r((b) => g(k - 1), "onFocus")
1043
+ onFocus: /* @__PURE__ */ r((b) => m(k - 1), "onFocus")
1055
1044
  }, null, 40, ho)), [
1056
1045
  [wt, a.value[k - 1]]
1057
1046
  ])), 128))
@@ -1066,7 +1055,7 @@ const io = /* @__PURE__ */ R({
1066
1055
  }, yo = {
1067
1056
  key: "code-field",
1068
1057
  class: "w-full"
1069
- }, ft = /* @__PURE__ */ R({
1058
+ }, gt = /* @__PURE__ */ j({
1070
1059
  __name: "ElAuthGate",
1071
1060
  props: {
1072
1061
  sdk: {}
@@ -1102,20 +1091,20 @@ const io = /* @__PURE__ */ R({
1102
1091
  }, "action")
1103
1092
  }
1104
1093
  }, a = E(() => s[o.value]);
1105
- return (n, l) => (m(), y("div", fo, [
1094
+ return (n, l) => (f(), y("div", fo, [
1106
1095
  c("div", mo, [
1107
- e.sdk.error.value ? (m(), y("p", bo, U(e.sdk.error.value), 1)) : P("", !0),
1096
+ e.sdk.error.value ? (f(), y("p", bo, U(e.sdk.error.value), 1)) : P("", !0),
1108
1097
  c("h3", po, U(a.value.title), 1),
1109
1098
  c("div", vo, [
1110
1099
  G(io, null, {
1111
1100
  default: ne(() => [
1112
- o.value === "email" ? (m(), y("div", xo, [
1101
+ o.value === "email" ? (f(), y("div", xo, [
1113
1102
  G(co, {
1114
1103
  modelValue: i.value.email,
1115
1104
  "onUpdate:modelValue": l[0] || (l[0] = (d) => i.value.email = d),
1116
1105
  onKeyup: Wt(a.value.action, ["enter"])
1117
1106
  }, null, 8, ["modelValue", "onKeyup"])
1118
- ])) : (m(), y("div", yo, [
1107
+ ])) : (f(), y("div", yo, [
1119
1108
  G(go, {
1120
1109
  modelValue: i.value.code,
1121
1110
  "onUpdate:modelValue": l[1] || (l[1] = (d) => i.value.code = d),
@@ -1124,11 +1113,11 @@ const io = /* @__PURE__ */ R({
1124
1113
  onAutoSubmit: a.value.action
1125
1114
  }, null, 8, ["modelValue", "onAutoSubmit"])
1126
1115
  ])),
1127
- (m(), y("div", {
1116
+ (f(), y("div", {
1128
1117
  key: a.value.button.label,
1129
1118
  class: "space-y-4 w-full"
1130
1119
  }, [
1131
- G(rt, {
1120
+ G(ot, {
1132
1121
  theme: "primary",
1133
1122
  size: "md",
1134
1123
  class: "w-full",
@@ -1141,7 +1130,7 @@ const io = /* @__PURE__ */ R({
1141
1130
  ]),
1142
1131
  _: 1
1143
1132
  }, 8, ["loading", "disabled", "onClick"]),
1144
- o.value === "code" ? (m(), y("button", {
1133
+ o.value === "code" ? (f(), y("button", {
1145
1134
  key: 0,
1146
1135
  class: "w-full text-xs text-white/50 hover:text-white/70 transition-colors py-2",
1147
1136
  onClick: l[2] || (l[2] = (d) => o.value = "email")
@@ -1157,7 +1146,7 @@ const io = /* @__PURE__ */ R({
1157
1146
  }), ko = { class: "relative flex-shrink-0" }, wo = ["src", "alt"], Co = {
1158
1147
  key: 0,
1159
1148
  class: "absolute top-1 right-1"
1160
- }, So = { class: "min-w-0" }, Mo = /* @__PURE__ */ R({
1149
+ }, So = { class: "min-w-0" }, Mo = /* @__PURE__ */ j({
1161
1150
  __name: "ElModeHeader",
1162
1151
  props: {
1163
1152
  self: {},
@@ -1167,9 +1156,9 @@ const io = /* @__PURE__ */ R({
1167
1156
  },
1168
1157
  setup(e) {
1169
1158
  function i() {
1170
- return e.self.avatar?.src ? e.self.avatar.src : We();
1159
+ return e.self.avatar?.src ? e.self.avatar.src : He();
1171
1160
  }
1172
- return r(i, "getAvatarSrc"), (o, t) => (m(), y("div", {
1161
+ return r(i, "getAvatarSrc"), (o, t) => (f(), y("div", {
1173
1162
  class: $(["flex gap-4", [
1174
1163
  e.layout === "centered" ? "flex-col items-center text-center" : "flex-row items-center justify-center"
1175
1164
  ]])
@@ -1183,10 +1172,10 @@ const io = /* @__PURE__ */ R({
1183
1172
  alt: e.self.name,
1184
1173
  class: "w-full h-full object-cover",
1185
1174
  onError: t[0] || (t[0] = //@ts-ignore
1186
- (...s) => X(Oe) && X(Oe)(...s))
1175
+ (...s) => X(Ue) && X(Ue)(...s))
1187
1176
  }, null, 40, wo)
1188
1177
  ], 2),
1189
- e.showOnlineIndicator ? (m(), y("div", Co, [...t[1] || (t[1] = [
1178
+ e.showOnlineIndicator ? (f(), y("div", Co, [...t[1] || (t[1] = [
1190
1179
  c("div", {
1191
1180
  class: "size-3 bg-green-500 rounded-full ring-2 ring-white absolute animate-ping",
1192
1181
  style: { "animation-duration": "3s" }
@@ -1210,14 +1199,14 @@ const io = /* @__PURE__ */ R({
1210
1199
  ])
1211
1200
  ], 2));
1212
1201
  }
1213
- }), st = "-", Ao = /* @__PURE__ */ r((e) => {
1202
+ }), rt = "-", Ao = /* @__PURE__ */ r((e) => {
1214
1203
  const i = $o(e), {
1215
1204
  conflictingClassGroups: o,
1216
1205
  conflictingClassGroupModifiers: t
1217
1206
  } = e;
1218
1207
  return {
1219
1208
  getClassGroupId: /* @__PURE__ */ r((n) => {
1220
- const l = n.split(st);
1209
+ const l = n.split(rt);
1221
1210
  return l[0] === "" && l.length !== 1 && l.shift(), It(l, i) || Io(n);
1222
1211
  }, "getClassGroupId"),
1223
1212
  getConflictingClassGroupIds: /* @__PURE__ */ r((n, l) => {
@@ -1233,13 +1222,13 @@ const io = /* @__PURE__ */ R({
1233
1222
  return s;
1234
1223
  if (i.validators.length === 0)
1235
1224
  return;
1236
- const a = e.join(st);
1225
+ const a = e.join(rt);
1237
1226
  return i.validators.find(({
1238
1227
  validator: n
1239
1228
  }) => n(a))?.classGroupId;
1240
- }, "getGroupRecursive"), mt = /^\[(.+)\]$/, Io = /* @__PURE__ */ r((e) => {
1241
- if (mt.test(e)) {
1242
- const i = mt.exec(e)[1], o = i?.substring(0, i.indexOf(":"));
1229
+ }, "getGroupRecursive"), ft = /^\[(.+)\]$/, Io = /* @__PURE__ */ r((e) => {
1230
+ if (ft.test(e)) {
1231
+ const i = ft.exec(e)[1], o = i?.substring(0, i.indexOf(":"));
1243
1232
  if (o)
1244
1233
  return "arbitrary.." + o;
1245
1234
  }
@@ -1252,18 +1241,18 @@ const io = /* @__PURE__ */ R({
1252
1241
  validators: []
1253
1242
  };
1254
1243
  for (const s in o)
1255
- Qe(o[s], t, s, i);
1244
+ Je(o[s], t, s, i);
1256
1245
  return t;
1257
- }, "createClassMap"), Qe = /* @__PURE__ */ r((e, i, o, t) => {
1246
+ }, "createClassMap"), Je = /* @__PURE__ */ r((e, i, o, t) => {
1258
1247
  e.forEach((s) => {
1259
1248
  if (typeof s == "string") {
1260
- const a = s === "" ? i : bt(i, s);
1249
+ const a = s === "" ? i : mt(i, s);
1261
1250
  a.classGroupId = o;
1262
1251
  return;
1263
1252
  }
1264
1253
  if (typeof s == "function") {
1265
1254
  if (zo(s)) {
1266
- Qe(s(t), i, o, t);
1255
+ Je(s(t), i, o, t);
1267
1256
  return;
1268
1257
  }
1269
1258
  i.validators.push({
@@ -1273,12 +1262,12 @@ const io = /* @__PURE__ */ R({
1273
1262
  return;
1274
1263
  }
1275
1264
  Object.entries(s).forEach(([a, n]) => {
1276
- Qe(n, bt(i, a), o, t);
1265
+ Je(n, mt(i, a), o, t);
1277
1266
  });
1278
1267
  });
1279
- }, "processClassesRecursively"), bt = /* @__PURE__ */ r((e, i) => {
1268
+ }, "processClassesRecursively"), mt = /* @__PURE__ */ r((e, i) => {
1280
1269
  let o = e;
1281
- return i.split(st).forEach((t) => {
1270
+ return i.split(rt).forEach((t) => {
1282
1271
  o.nextPart.has(t) || o.nextPart.set(t, {
1283
1272
  nextPart: /* @__PURE__ */ new Map(),
1284
1273
  validators: []
@@ -1308,7 +1297,7 @@ const io = /* @__PURE__ */ R({
1308
1297
  o.has(a) ? o.set(a, n) : s(a, n);
1309
1298
  }
1310
1299
  };
1311
- }, "createLruCache"), Xe = "!", et = ":", To = et.length, Lo = /* @__PURE__ */ r((e) => {
1300
+ }, "createLruCache"), Qe = "!", Xe = ":", To = Xe.length, Lo = /* @__PURE__ */ r((e) => {
1312
1301
  const {
1313
1302
  prefix: i,
1314
1303
  experimentalParseClassName: o
@@ -1319,7 +1308,7 @@ const io = /* @__PURE__ */ R({
1319
1308
  for (let b = 0; b < s.length; b++) {
1320
1309
  let z = s[b];
1321
1310
  if (n === 0 && l === 0) {
1322
- if (z === et) {
1311
+ if (z === Xe) {
1323
1312
  a.push(s.slice(d, b)), d = b + To;
1324
1313
  continue;
1325
1314
  }
@@ -1330,16 +1319,16 @@ const io = /* @__PURE__ */ R({
1330
1319
  }
1331
1320
  z === "[" ? n++ : z === "]" ? n-- : z === "(" ? l++ : z === ")" && l--;
1332
1321
  }
1333
- const g = a.length === 0 ? s : s.substring(d), h = Do(g), p = h !== g, k = C && C > d ? C - d : void 0;
1322
+ const m = a.length === 0 ? s : s.substring(d), u = Do(m), p = u !== m, k = C && C > d ? C - d : void 0;
1334
1323
  return {
1335
1324
  modifiers: a,
1336
1325
  hasImportantModifier: p,
1337
- baseClassName: h,
1326
+ baseClassName: u,
1338
1327
  maybePostfixModifierPosition: k
1339
1328
  };
1340
1329
  }, "parseClassName");
1341
1330
  if (i) {
1342
- const s = i + et, a = t;
1331
+ const s = i + Xe, a = t;
1343
1332
  t = /* @__PURE__ */ r((n) => n.startsWith(s) ? a(n.substring(s.length)) : {
1344
1333
  isExternal: !0,
1345
1334
  modifiers: [],
@@ -1356,7 +1345,7 @@ const io = /* @__PURE__ */ R({
1356
1345
  }), "parseClassName");
1357
1346
  }
1358
1347
  return t;
1359
- }, "createParseClassName"), Do = /* @__PURE__ */ r((e) => e.endsWith(Xe) ? e.substring(0, e.length - 1) : e.startsWith(Xe) ? e.substring(1) : e, "stripImportantModifier"), Vo = /* @__PURE__ */ r((e) => {
1348
+ }, "createParseClassName"), Do = /* @__PURE__ */ r((e) => e.endsWith(Qe) ? e.substring(0, e.length - 1) : e.startsWith(Qe) ? e.substring(1) : e, "stripImportantModifier"), Vo = /* @__PURE__ */ r((e) => {
1360
1349
  const i = Object.fromEntries(e.orderSensitiveModifiers.map((t) => [t, !0]));
1361
1350
  return /* @__PURE__ */ r((t) => {
1362
1351
  if (t.length <= 1)
@@ -1381,30 +1370,30 @@ const io = /* @__PURE__ */ R({
1381
1370
  } = i, n = [], l = e.trim().split(Fo);
1382
1371
  let d = "";
1383
1372
  for (let C = l.length - 1; C >= 0; C -= 1) {
1384
- const g = l[C], {
1385
- isExternal: h,
1373
+ const m = l[C], {
1374
+ isExternal: u,
1386
1375
  modifiers: p,
1387
1376
  hasImportantModifier: k,
1388
1377
  baseClassName: b,
1389
1378
  maybePostfixModifierPosition: z
1390
- } = o(g);
1391
- if (h) {
1392
- d = g + (d.length > 0 ? " " + d : d);
1379
+ } = o(m);
1380
+ if (u) {
1381
+ d = m + (d.length > 0 ? " " + d : d);
1393
1382
  continue;
1394
1383
  }
1395
1384
  let O = !!z, q = t(O ? b.substring(0, z) : b);
1396
1385
  if (!q) {
1397
1386
  if (!O) {
1398
- d = g + (d.length > 0 ? " " + d : d);
1387
+ d = m + (d.length > 0 ? " " + d : d);
1399
1388
  continue;
1400
1389
  }
1401
1390
  if (q = t(b), !q) {
1402
- d = g + (d.length > 0 ? " " + d : d);
1391
+ d = m + (d.length > 0 ? " " + d : d);
1403
1392
  continue;
1404
1393
  }
1405
1394
  O = !1;
1406
1395
  }
1407
- const ye = a(p).join(":"), ae = k ? ye + Xe : ye, le = ae + q;
1396
+ const ye = a(p).join(":"), ae = k ? ye + Qe : ye, le = ae + q;
1408
1397
  if (n.includes(le))
1409
1398
  continue;
1410
1399
  n.push(le);
@@ -1413,7 +1402,7 @@ const io = /* @__PURE__ */ R({
1413
1402
  const ee = me[W];
1414
1403
  n.push(ae + ee);
1415
1404
  }
1416
- d = g + (d.length > 0 ? " " + d : d);
1405
+ d = m + (d.length > 0 ? " " + d : d);
1417
1406
  }
1418
1407
  return d;
1419
1408
  }, "mergeClassList");
@@ -1432,10 +1421,10 @@ const $t = /* @__PURE__ */ r((e) => {
1432
1421
  e[t] && (i = $t(e[t])) && (o && (o += " "), o += i);
1433
1422
  return o;
1434
1423
  }, "toValue");
1435
- function Ro(e, ...i) {
1424
+ function jo(e, ...i) {
1436
1425
  let o, t, s, a = n;
1437
1426
  function n(d) {
1438
- const C = i.reduce((g, h) => h(g), e());
1427
+ const C = i.reduce((m, u) => u(m), e());
1439
1428
  return o = Po(C), t = o.cache.get, s = o.cache.set, a = l, l(d);
1440
1429
  }
1441
1430
  r(n, "initTailwindMerge");
@@ -1443,30 +1432,30 @@ function Ro(e, ...i) {
1443
1432
  const C = t(d);
1444
1433
  if (C)
1445
1434
  return C;
1446
- const g = Bo(d, o);
1447
- return s(d, g), g;
1435
+ const m = Bo(d, o);
1436
+ return s(d, m), m;
1448
1437
  }
1449
1438
  return r(l, "tailwindMerge"), /* @__PURE__ */ r(function() {
1450
1439
  return a(No.apply(null, arguments));
1451
1440
  }, "callTailwindMerge");
1452
1441
  }
1453
- r(Ro, "createTailwindMerge");
1454
- const j = /* @__PURE__ */ r((e) => {
1442
+ r(jo, "createTailwindMerge");
1443
+ const R = /* @__PURE__ */ r((e) => {
1455
1444
  const i = /* @__PURE__ */ r((o) => o[e] || [], "themeGetter");
1456
1445
  return i.isThemeGetter = !0, i;
1457
- }, "fromTheme"), zt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Et = /^\((?:(\w[\w-]*):)?(.+)\)$/i, jo = /^\d+\/\d+$/, Go = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Uo = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Oo = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Ho = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Wo = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ae = /* @__PURE__ */ r((e) => jo.test(e), "isFraction"), I = /* @__PURE__ */ r((e) => !!e && !Number.isNaN(Number(e)), "isNumber"), xe = /* @__PURE__ */ r((e) => !!e && Number.isInteger(Number(e)), "isInteger"), Ke = /* @__PURE__ */ r((e) => e.endsWith("%") && I(e.slice(0, -1)), "isPercent"), fe = /* @__PURE__ */ r((e) => Go.test(e), "isTshirtSize"), qo = /* @__PURE__ */ r(() => !0, "isAny"), Ko = /* @__PURE__ */ r((e) => (
1446
+ }, "fromTheme"), zt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Et = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Ro = /^\d+\/\d+$/, Go = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Uo = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Oo = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Ho = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Wo = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ae = /* @__PURE__ */ r((e) => Ro.test(e), "isFraction"), I = /* @__PURE__ */ r((e) => !!e && !Number.isNaN(Number(e)), "isNumber"), xe = /* @__PURE__ */ r((e) => !!e && Number.isInteger(Number(e)), "isInteger"), qe = /* @__PURE__ */ r((e) => e.endsWith("%") && I(e.slice(0, -1)), "isPercent"), fe = /* @__PURE__ */ r((e) => Go.test(e), "isTshirtSize"), qo = /* @__PURE__ */ r(() => !0, "isAny"), Ko = /* @__PURE__ */ r((e) => (
1458
1447
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
1459
1448
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
1460
1449
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
1461
1450
  Uo.test(e) && !Oo.test(e)
1462
- ), "isLengthOnly"), Tt = /* @__PURE__ */ r(() => !1, "isNever"), Zo = /* @__PURE__ */ r((e) => Ho.test(e), "isShadow"), _o = /* @__PURE__ */ r((e) => Wo.test(e), "isImage"), Yo = /* @__PURE__ */ r((e) => !v(e) && !x(e), "isAnyNonArbitrary"), Jo = /* @__PURE__ */ r((e) => ze(e, Vt, Tt), "isArbitrarySize"), v = /* @__PURE__ */ r((e) => zt.test(e), "isArbitraryValue"), we = /* @__PURE__ */ r((e) => ze(e, Pt, Ko), "isArbitraryLength"), Ze = /* @__PURE__ */ r((e) => ze(e, or, I), "isArbitraryNumber"), pt = /* @__PURE__ */ r((e) => ze(e, Lt, Tt), "isArbitraryPosition"), Qo = /* @__PURE__ */ r((e) => ze(e, Dt, _o), "isArbitraryImage"), je = /* @__PURE__ */ r((e) => ze(e, Ft, Zo), "isArbitraryShadow"), x = /* @__PURE__ */ r((e) => Et.test(e), "isArbitraryVariable"), Ve = /* @__PURE__ */ r((e) => Ee(e, Pt), "isArbitraryVariableLength"), Xo = /* @__PURE__ */ r((e) => Ee(e, rr), "isArbitraryVariableFamilyName"), vt = /* @__PURE__ */ r((e) => Ee(e, Lt), "isArbitraryVariablePosition"), er = /* @__PURE__ */ r((e) => Ee(e, Vt), "isArbitraryVariableSize"), tr = /* @__PURE__ */ r((e) => Ee(e, Dt), "isArbitraryVariableImage"), Ge = /* @__PURE__ */ r((e) => Ee(e, Ft, !0), "isArbitraryVariableShadow"), ze = /* @__PURE__ */ r((e, i, o) => {
1451
+ ), "isLengthOnly"), Tt = /* @__PURE__ */ r(() => !1, "isNever"), Zo = /* @__PURE__ */ r((e) => Ho.test(e), "isShadow"), _o = /* @__PURE__ */ r((e) => Wo.test(e), "isImage"), Yo = /* @__PURE__ */ r((e) => !v(e) && !x(e), "isAnyNonArbitrary"), Jo = /* @__PURE__ */ r((e) => ze(e, Vt, Tt), "isArbitrarySize"), v = /* @__PURE__ */ r((e) => zt.test(e), "isArbitraryValue"), we = /* @__PURE__ */ r((e) => ze(e, Pt, Ko), "isArbitraryLength"), Ke = /* @__PURE__ */ r((e) => ze(e, or, I), "isArbitraryNumber"), bt = /* @__PURE__ */ r((e) => ze(e, Lt, Tt), "isArbitraryPosition"), Qo = /* @__PURE__ */ r((e) => ze(e, Dt, _o), "isArbitraryImage"), Re = /* @__PURE__ */ r((e) => ze(e, Ft, Zo), "isArbitraryShadow"), x = /* @__PURE__ */ r((e) => Et.test(e), "isArbitraryVariable"), Ve = /* @__PURE__ */ r((e) => Ee(e, Pt), "isArbitraryVariableLength"), Xo = /* @__PURE__ */ r((e) => Ee(e, rr), "isArbitraryVariableFamilyName"), pt = /* @__PURE__ */ r((e) => Ee(e, Lt), "isArbitraryVariablePosition"), er = /* @__PURE__ */ r((e) => Ee(e, Vt), "isArbitraryVariableSize"), tr = /* @__PURE__ */ r((e) => Ee(e, Dt), "isArbitraryVariableImage"), Ge = /* @__PURE__ */ r((e) => Ee(e, Ft, !0), "isArbitraryVariableShadow"), ze = /* @__PURE__ */ r((e, i, o) => {
1463
1452
  const t = zt.exec(e);
1464
1453
  return t ? t[1] ? i(t[1]) : o(t[2]) : !1;
1465
1454
  }, "getIsArbitraryValue"), Ee = /* @__PURE__ */ r((e, i, o = !1) => {
1466
1455
  const t = Et.exec(e);
1467
1456
  return t ? t[1] ? i(t[1]) : o : !1;
1468
1457
  }, "getIsArbitraryVariable"), Lt = /* @__PURE__ */ r((e) => e === "position" || e === "percentage", "isLabelPosition"), Dt = /* @__PURE__ */ r((e) => e === "image" || e === "url", "isLabelImage"), Vt = /* @__PURE__ */ r((e) => e === "length" || e === "size" || e === "bg-size", "isLabelSize"), Pt = /* @__PURE__ */ r((e) => e === "length", "isLabelLength"), or = /* @__PURE__ */ r((e) => e === "number", "isLabelNumber"), rr = /* @__PURE__ */ r((e) => e === "family-name", "isLabelFamilyName"), Ft = /* @__PURE__ */ r((e) => e === "shadow", "isLabelShadow"), sr = /* @__PURE__ */ r(() => {
1469
- const e = j("color"), i = j("font"), o = j("text"), t = j("font-weight"), s = j("tracking"), a = j("leading"), n = j("breakpoint"), l = j("container"), d = j("spacing"), C = j("radius"), g = j("shadow"), h = j("inset-shadow"), p = j("text-shadow"), k = j("drop-shadow"), b = j("blur"), z = j("perspective"), O = j("aspect"), q = j("ease"), ye = j("animate"), ae = /* @__PURE__ */ r(() => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], "scaleBreak"), le = /* @__PURE__ */ r(() => [
1458
+ const e = R("color"), i = R("font"), o = R("text"), t = R("font-weight"), s = R("tracking"), a = R("leading"), n = R("breakpoint"), l = R("container"), d = R("spacing"), C = R("radius"), m = R("shadow"), u = R("inset-shadow"), p = R("text-shadow"), k = R("drop-shadow"), b = R("blur"), z = R("perspective"), O = R("aspect"), q = R("ease"), ye = R("animate"), ae = /* @__PURE__ */ r(() => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], "scaleBreak"), le = /* @__PURE__ */ r(() => [
1470
1459
  "center",
1471
1460
  "top",
1472
1461
  "bottom",
@@ -1486,13 +1475,13 @@ const j = /* @__PURE__ */ r((e) => {
1486
1475
  "left-bottom"
1487
1476
  ], "scalePosition"), me = /* @__PURE__ */ r(() => [...le(), x, v], "scalePositionWithArbitrary"), W = /* @__PURE__ */ r(() => ["auto", "hidden", "clip", "visible", "scroll"], "scaleOverflow"), ee = /* @__PURE__ */ r(() => ["auto", "contain", "none"], "scaleOverscroll"), S = /* @__PURE__ */ r(() => [x, v, d], "scaleUnambiguousSpacing"), Y = /* @__PURE__ */ r(() => [Ae, "full", "auto", ...S()], "scaleInset"), Fe = /* @__PURE__ */ r(() => [xe, "none", "subgrid", x, v], "scaleGridTemplateColsRows"), Be = /* @__PURE__ */ r(() => ["auto", {
1488
1477
  span: ["full", xe, x, v]
1489
- }, xe, x, v], "scaleGridColRowStartAndEnd"), Se = /* @__PURE__ */ r(() => [xe, "auto", x, v], "scaleGridColRowStartOrEnd"), Ne = /* @__PURE__ */ r(() => ["auto", "min", "max", "fr", x, v], "scaleGridAutoColsRows"), Te = /* @__PURE__ */ r(() => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], "scaleAlignPrimaryAxis"), te = /* @__PURE__ */ r(() => ["start", "end", "center", "stretch", "center-safe", "end-safe"], "scaleAlignSecondaryAxis"), _ = /* @__PURE__ */ r(() => ["auto", ...S()], "scaleMargin"), f = /* @__PURE__ */ r(() => [Ae, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...S()], "scaleSizing"), u = /* @__PURE__ */ r(() => [e, x, v], "scaleColor"), F = /* @__PURE__ */ r(() => [...le(), vt, pt, {
1478
+ }, xe, x, v], "scaleGridColRowStartAndEnd"), Se = /* @__PURE__ */ r(() => [xe, "auto", x, v], "scaleGridColRowStartOrEnd"), Ne = /* @__PURE__ */ r(() => ["auto", "min", "max", "fr", x, v], "scaleGridAutoColsRows"), Te = /* @__PURE__ */ r(() => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], "scaleAlignPrimaryAxis"), te = /* @__PURE__ */ r(() => ["start", "end", "center", "stretch", "center-safe", "end-safe"], "scaleAlignSecondaryAxis"), _ = /* @__PURE__ */ r(() => ["auto", ...S()], "scaleMargin"), g = /* @__PURE__ */ r(() => [Ae, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...S()], "scaleSizing"), h = /* @__PURE__ */ r(() => [e, x, v], "scaleColor"), F = /* @__PURE__ */ r(() => [...le(), pt, bt, {
1490
1479
  position: [x, v]
1491
1480
  }], "scaleBgPosition"), M = /* @__PURE__ */ r(() => ["no-repeat", {
1492
1481
  repeat: ["", "x", "y", "space", "round"]
1493
1482
  }], "scaleBgRepeat"), A = /* @__PURE__ */ r(() => ["auto", "cover", "contain", er, Jo, {
1494
1483
  size: [x, v]
1495
- }], "scaleBgSize"), H = /* @__PURE__ */ r(() => [Ke, Ve, we], "scaleGradientStopPosition"), D = /* @__PURE__ */ r(() => [
1484
+ }], "scaleBgSize"), H = /* @__PURE__ */ r(() => [qe, Ve, we], "scaleGradientStopPosition"), D = /* @__PURE__ */ r(() => [
1496
1485
  // Deprecated since Tailwind CSS v4.0.0
1497
1486
  "",
1498
1487
  "none",
@@ -1500,7 +1489,7 @@ const j = /* @__PURE__ */ r((e) => {
1500
1489
  C,
1501
1490
  x,
1502
1491
  v
1503
- ], "scaleRadius"), V = /* @__PURE__ */ r(() => ["", I, Ve, we], "scaleBorderWidth"), K = /* @__PURE__ */ r(() => ["solid", "dashed", "dotted", "double"], "scaleLineStyle"), N = /* @__PURE__ */ r(() => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], "scaleBlendMode"), T = /* @__PURE__ */ r(() => [I, Ke, vt, pt], "scaleMaskImagePosition"), ce = /* @__PURE__ */ r(() => [
1492
+ ], "scaleRadius"), V = /* @__PURE__ */ r(() => ["", I, Ve, we], "scaleBorderWidth"), K = /* @__PURE__ */ r(() => ["solid", "dashed", "dotted", "double"], "scaleLineStyle"), N = /* @__PURE__ */ r(() => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], "scaleBlendMode"), T = /* @__PURE__ */ r(() => [I, qe, pt, bt], "scaleMaskImagePosition"), ce = /* @__PURE__ */ r(() => [
1504
1493
  // Deprecated since Tailwind CSS v4.0.0
1505
1494
  "",
1506
1495
  "none",
@@ -2131,14 +2120,14 @@ const j = /* @__PURE__ */ r((e) => {
2131
2120
  * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
2132
2121
  */
2133
2122
  size: [{
2134
- size: f()
2123
+ size: g()
2135
2124
  }],
2136
2125
  /**
2137
2126
  * Width
2138
2127
  * @see https://tailwindcss.com/docs/width
2139
2128
  */
2140
2129
  w: [{
2141
- w: [l, "screen", ...f()]
2130
+ w: [l, "screen", ...g()]
2142
2131
  }],
2143
2132
  /**
2144
2133
  * Min-Width
@@ -2150,7 +2139,7 @@ const j = /* @__PURE__ */ r((e) => {
2150
2139
  "screen",
2151
2140
  /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
2152
2141
  "none",
2153
- ...f()
2142
+ ...g()
2154
2143
  ]
2155
2144
  }],
2156
2145
  /**
@@ -2168,7 +2157,7 @@ const j = /* @__PURE__ */ r((e) => {
2168
2157
  {
2169
2158
  screen: [n]
2170
2159
  },
2171
- ...f()
2160
+ ...g()
2172
2161
  ]
2173
2162
  }],
2174
2163
  /**
@@ -2176,21 +2165,21 @@ const j = /* @__PURE__ */ r((e) => {
2176
2165
  * @see https://tailwindcss.com/docs/height
2177
2166
  */
2178
2167
  h: [{
2179
- h: ["screen", "lh", ...f()]
2168
+ h: ["screen", "lh", ...g()]
2180
2169
  }],
2181
2170
  /**
2182
2171
  * Min-Height
2183
2172
  * @see https://tailwindcss.com/docs/min-height
2184
2173
  */
2185
2174
  "min-h": [{
2186
- "min-h": ["screen", "lh", "none", ...f()]
2175
+ "min-h": ["screen", "lh", "none", ...g()]
2187
2176
  }],
2188
2177
  /**
2189
2178
  * Max-Height
2190
2179
  * @see https://tailwindcss.com/docs/max-height
2191
2180
  */
2192
2181
  "max-h": [{
2193
- "max-h": ["screen", "lh", ...f()]
2182
+ "max-h": ["screen", "lh", ...g()]
2194
2183
  }],
2195
2184
  // ------------------
2196
2185
  // --- Typography ---
@@ -2217,14 +2206,14 @@ const j = /* @__PURE__ */ r((e) => {
2217
2206
  * @see https://tailwindcss.com/docs/font-weight
2218
2207
  */
2219
2208
  "font-weight": [{
2220
- font: [t, x, Ze]
2209
+ font: [t, x, Ke]
2221
2210
  }],
2222
2211
  /**
2223
2212
  * Font Stretch
2224
2213
  * @see https://tailwindcss.com/docs/font-stretch
2225
2214
  */
2226
2215
  "font-stretch": [{
2227
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Ke, v]
2216
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", qe, v]
2228
2217
  }],
2229
2218
  /**
2230
2219
  * Font Family
@@ -2275,7 +2264,7 @@ const j = /* @__PURE__ */ r((e) => {
2275
2264
  * @see https://tailwindcss.com/docs/line-clamp
2276
2265
  */
2277
2266
  "line-clamp": [{
2278
- "line-clamp": [I, "none", x, Ze]
2267
+ "line-clamp": [I, "none", x, Ke]
2279
2268
  }],
2280
2269
  /**
2281
2270
  * Line Height
@@ -2322,14 +2311,14 @@ const j = /* @__PURE__ */ r((e) => {
2322
2311
  * @see https://v3.tailwindcss.com/docs/placeholder-color
2323
2312
  */
2324
2313
  "placeholder-color": [{
2325
- placeholder: u()
2314
+ placeholder: h()
2326
2315
  }],
2327
2316
  /**
2328
2317
  * Text Color
2329
2318
  * @see https://tailwindcss.com/docs/text-color
2330
2319
  */
2331
2320
  "text-color": [{
2332
- text: u()
2321
+ text: h()
2333
2322
  }],
2334
2323
  /**
2335
2324
  * Text Decoration
@@ -2355,7 +2344,7 @@ const j = /* @__PURE__ */ r((e) => {
2355
2344
  * @see https://tailwindcss.com/docs/text-decoration-color
2356
2345
  */
2357
2346
  "text-decoration-color": [{
2358
- decoration: u()
2347
+ decoration: h()
2359
2348
  }],
2360
2349
  /**
2361
2350
  * Text Underline Offset
@@ -2493,7 +2482,7 @@ const j = /* @__PURE__ */ r((e) => {
2493
2482
  * @see https://tailwindcss.com/docs/background-color
2494
2483
  */
2495
2484
  "bg-color": [{
2496
- bg: u()
2485
+ bg: h()
2497
2486
  }],
2498
2487
  /**
2499
2488
  * Gradient Color Stops From Position
@@ -2521,21 +2510,21 @@ const j = /* @__PURE__ */ r((e) => {
2521
2510
  * @see https://tailwindcss.com/docs/gradient-color-stops
2522
2511
  */
2523
2512
  "gradient-from": [{
2524
- from: u()
2513
+ from: h()
2525
2514
  }],
2526
2515
  /**
2527
2516
  * Gradient Color Stops Via
2528
2517
  * @see https://tailwindcss.com/docs/gradient-color-stops
2529
2518
  */
2530
2519
  "gradient-via": [{
2531
- via: u()
2520
+ via: h()
2532
2521
  }],
2533
2522
  /**
2534
2523
  * Gradient Color Stops To
2535
2524
  * @see https://tailwindcss.com/docs/gradient-color-stops
2536
2525
  */
2537
2526
  "gradient-to": [{
2538
- to: u()
2527
+ to: h()
2539
2528
  }],
2540
2529
  // ---------------
2541
2530
  // --- Borders ---
@@ -2751,70 +2740,70 @@ const j = /* @__PURE__ */ r((e) => {
2751
2740
  * @see https://tailwindcss.com/docs/border-color
2752
2741
  */
2753
2742
  "border-color": [{
2754
- border: u()
2743
+ border: h()
2755
2744
  }],
2756
2745
  /**
2757
2746
  * Border Color X
2758
2747
  * @see https://tailwindcss.com/docs/border-color
2759
2748
  */
2760
2749
  "border-color-x": [{
2761
- "border-x": u()
2750
+ "border-x": h()
2762
2751
  }],
2763
2752
  /**
2764
2753
  * Border Color Y
2765
2754
  * @see https://tailwindcss.com/docs/border-color
2766
2755
  */
2767
2756
  "border-color-y": [{
2768
- "border-y": u()
2757
+ "border-y": h()
2769
2758
  }],
2770
2759
  /**
2771
2760
  * Border Color S
2772
2761
  * @see https://tailwindcss.com/docs/border-color
2773
2762
  */
2774
2763
  "border-color-s": [{
2775
- "border-s": u()
2764
+ "border-s": h()
2776
2765
  }],
2777
2766
  /**
2778
2767
  * Border Color E
2779
2768
  * @see https://tailwindcss.com/docs/border-color
2780
2769
  */
2781
2770
  "border-color-e": [{
2782
- "border-e": u()
2771
+ "border-e": h()
2783
2772
  }],
2784
2773
  /**
2785
2774
  * Border Color Top
2786
2775
  * @see https://tailwindcss.com/docs/border-color
2787
2776
  */
2788
2777
  "border-color-t": [{
2789
- "border-t": u()
2778
+ "border-t": h()
2790
2779
  }],
2791
2780
  /**
2792
2781
  * Border Color Right
2793
2782
  * @see https://tailwindcss.com/docs/border-color
2794
2783
  */
2795
2784
  "border-color-r": [{
2796
- "border-r": u()
2785
+ "border-r": h()
2797
2786
  }],
2798
2787
  /**
2799
2788
  * Border Color Bottom
2800
2789
  * @see https://tailwindcss.com/docs/border-color
2801
2790
  */
2802
2791
  "border-color-b": [{
2803
- "border-b": u()
2792
+ "border-b": h()
2804
2793
  }],
2805
2794
  /**
2806
2795
  * Border Color Left
2807
2796
  * @see https://tailwindcss.com/docs/border-color
2808
2797
  */
2809
2798
  "border-color-l": [{
2810
- "border-l": u()
2799
+ "border-l": h()
2811
2800
  }],
2812
2801
  /**
2813
2802
  * Divide Color
2814
2803
  * @see https://tailwindcss.com/docs/divide-color
2815
2804
  */
2816
2805
  "divide-color": [{
2817
- divide: u()
2806
+ divide: h()
2818
2807
  }],
2819
2808
  /**
2820
2809
  * Outline Style
@@ -2842,7 +2831,7 @@ const j = /* @__PURE__ */ r((e) => {
2842
2831
  * @see https://tailwindcss.com/docs/outline-color
2843
2832
  */
2844
2833
  "outline-color": [{
2845
- outline: u()
2834
+ outline: h()
2846
2835
  }],
2847
2836
  // ---------------
2848
2837
  // --- Effects ---
@@ -2856,9 +2845,9 @@ const j = /* @__PURE__ */ r((e) => {
2856
2845
  // Deprecated since Tailwind CSS v4.0.0
2857
2846
  "",
2858
2847
  "none",
2859
- g,
2848
+ m,
2860
2849
  Ge,
2861
- je
2850
+ Re
2862
2851
  ]
2863
2852
  }],
2864
2853
  /**
@@ -2866,21 +2855,21 @@ const j = /* @__PURE__ */ r((e) => {
2866
2855
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
2867
2856
  */
2868
2857
  "shadow-color": [{
2869
- shadow: u()
2858
+ shadow: h()
2870
2859
  }],
2871
2860
  /**
2872
2861
  * Inset Box Shadow
2873
2862
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
2874
2863
  */
2875
2864
  "inset-shadow": [{
2876
- "inset-shadow": ["none", h, Ge, je]
2865
+ "inset-shadow": ["none", u, Ge, Re]
2877
2866
  }],
2878
2867
  /**
2879
2868
  * Inset Box Shadow Color
2880
2869
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
2881
2870
  */
2882
2871
  "inset-shadow-color": [{
2883
- "inset-shadow": u()
2872
+ "inset-shadow": h()
2884
2873
  }],
2885
2874
  /**
2886
2875
  * Ring Width
@@ -2901,7 +2890,7 @@ const j = /* @__PURE__ */ r((e) => {
2901
2890
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
2902
2891
  */
2903
2892
  "ring-color": [{
2904
- ring: u()
2893
+ ring: h()
2905
2894
  }],
2906
2895
  /**
2907
2896
  * Ring Offset Width
@@ -2919,7 +2908,7 @@ const j = /* @__PURE__ */ r((e) => {
2919
2908
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2920
2909
  */
2921
2910
  "ring-offset-color": [{
2922
- "ring-offset": u()
2911
+ "ring-offset": h()
2923
2912
  }],
2924
2913
  /**
2925
2914
  * Inset Ring Width
@@ -2933,21 +2922,21 @@ const j = /* @__PURE__ */ r((e) => {
2933
2922
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
2934
2923
  */
2935
2924
  "inset-ring-color": [{
2936
- "inset-ring": u()
2925
+ "inset-ring": h()
2937
2926
  }],
2938
2927
  /**
2939
2928
  * Text Shadow
2940
2929
  * @see https://tailwindcss.com/docs/text-shadow
2941
2930
  */
2942
2931
  "text-shadow": [{
2943
- "text-shadow": ["none", p, Ge, je]
2932
+ "text-shadow": ["none", p, Ge, Re]
2944
2933
  }],
2945
2934
  /**
2946
2935
  * Text Shadow Color
2947
2936
  * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
2948
2937
  */
2949
2938
  "text-shadow-color": [{
2950
- "text-shadow": u()
2939
+ "text-shadow": h()
2951
2940
  }],
2952
2941
  /**
2953
2942
  * Opacity
@@ -2998,10 +2987,10 @@ const j = /* @__PURE__ */ r((e) => {
2998
2987
  "mask-linear-to": T()
2999
2988
  }],
3000
2989
  "mask-image-linear-from-color": [{
3001
- "mask-linear-from": u()
2990
+ "mask-linear-from": h()
3002
2991
  }],
3003
2992
  "mask-image-linear-to-color": [{
3004
- "mask-linear-to": u()
2993
+ "mask-linear-to": h()
3005
2994
  }],
3006
2995
  "mask-image-t-from-pos": [{
3007
2996
  "mask-t-from": T()
@@ -3010,10 +2999,10 @@ const j = /* @__PURE__ */ r((e) => {
3010
2999
  "mask-t-to": T()
3011
3000
  }],
3012
3001
  "mask-image-t-from-color": [{
3013
- "mask-t-from": u()
3002
+ "mask-t-from": h()
3014
3003
  }],
3015
3004
  "mask-image-t-to-color": [{
3016
- "mask-t-to": u()
3005
+ "mask-t-to": h()
3017
3006
  }],
3018
3007
  "mask-image-r-from-pos": [{
3019
3008
  "mask-r-from": T()
@@ -3022,10 +3011,10 @@ const j = /* @__PURE__ */ r((e) => {
3022
3011
  "mask-r-to": T()
3023
3012
  }],
3024
3013
  "mask-image-r-from-color": [{
3025
- "mask-r-from": u()
3014
+ "mask-r-from": h()
3026
3015
  }],
3027
3016
  "mask-image-r-to-color": [{
3028
- "mask-r-to": u()
3017
+ "mask-r-to": h()
3029
3018
  }],
3030
3019
  "mask-image-b-from-pos": [{
3031
3020
  "mask-b-from": T()
@@ -3034,10 +3023,10 @@ const j = /* @__PURE__ */ r((e) => {
3034
3023
  "mask-b-to": T()
3035
3024
  }],
3036
3025
  "mask-image-b-from-color": [{
3037
- "mask-b-from": u()
3026
+ "mask-b-from": h()
3038
3027
  }],
3039
3028
  "mask-image-b-to-color": [{
3040
- "mask-b-to": u()
3029
+ "mask-b-to": h()
3041
3030
  }],
3042
3031
  "mask-image-l-from-pos": [{
3043
3032
  "mask-l-from": T()
@@ -3046,10 +3035,10 @@ const j = /* @__PURE__ */ r((e) => {
3046
3035
  "mask-l-to": T()
3047
3036
  }],
3048
3037
  "mask-image-l-from-color": [{
3049
- "mask-l-from": u()
3038
+ "mask-l-from": h()
3050
3039
  }],
3051
3040
  "mask-image-l-to-color": [{
3052
- "mask-l-to": u()
3041
+ "mask-l-to": h()
3053
3042
  }],
3054
3043
  "mask-image-x-from-pos": [{
3055
3044
  "mask-x-from": T()
@@ -3058,10 +3047,10 @@ const j = /* @__PURE__ */ r((e) => {
3058
3047
  "mask-x-to": T()
3059
3048
  }],
3060
3049
  "mask-image-x-from-color": [{
3061
- "mask-x-from": u()
3050
+ "mask-x-from": h()
3062
3051
  }],
3063
3052
  "mask-image-x-to-color": [{
3064
- "mask-x-to": u()
3053
+ "mask-x-to": h()
3065
3054
  }],
3066
3055
  "mask-image-y-from-pos": [{
3067
3056
  "mask-y-from": T()
@@ -3070,10 +3059,10 @@ const j = /* @__PURE__ */ r((e) => {
3070
3059
  "mask-y-to": T()
3071
3060
  }],
3072
3061
  "mask-image-y-from-color": [{
3073
- "mask-y-from": u()
3062
+ "mask-y-from": h()
3074
3063
  }],
3075
3064
  "mask-image-y-to-color": [{
3076
- "mask-y-to": u()
3065
+ "mask-y-to": h()
3077
3066
  }],
3078
3067
  "mask-image-radial": [{
3079
3068
  "mask-radial": [x, v]
@@ -3085,10 +3074,10 @@ const j = /* @__PURE__ */ r((e) => {
3085
3074
  "mask-radial-to": T()
3086
3075
  }],
3087
3076
  "mask-image-radial-from-color": [{
3088
- "mask-radial-from": u()
3077
+ "mask-radial-from": h()
3089
3078
  }],
3090
3079
  "mask-image-radial-to-color": [{
3091
- "mask-radial-to": u()
3080
+ "mask-radial-to": h()
3092
3081
  }],
3093
3082
  "mask-image-radial-shape": [{
3094
3083
  "mask-radial": ["circle", "ellipse"]
@@ -3112,10 +3101,10 @@ const j = /* @__PURE__ */ r((e) => {
3112
3101
  "mask-conic-to": T()
3113
3102
  }],
3114
3103
  "mask-image-conic-from-color": [{
3115
- "mask-conic-from": u()
3104
+ "mask-conic-from": h()
3116
3105
  }],
3117
3106
  "mask-image-conic-to-color": [{
3118
- "mask-conic-to": u()
3107
+ "mask-conic-to": h()
3119
3108
  }],
3120
3109
  /**
3121
3110
  * Mask Mode
@@ -3214,7 +3203,7 @@ const j = /* @__PURE__ */ r((e) => {
3214
3203
  "none",
3215
3204
  k,
3216
3205
  Ge,
3217
- je
3206
+ Re
3218
3207
  ]
3219
3208
  }],
3220
3209
  /**
@@ -3222,7 +3211,7 @@ const j = /* @__PURE__ */ r((e) => {
3222
3211
  * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
3223
3212
  */
3224
3213
  "drop-shadow-color": [{
3225
- "drop-shadow": u()
3214
+ "drop-shadow": h()
3226
3215
  }],
3227
3216
  /**
3228
3217
  * Grayscale
@@ -3593,7 +3582,7 @@ const j = /* @__PURE__ */ r((e) => {
3593
3582
  * @see https://tailwindcss.com/docs/accent-color
3594
3583
  */
3595
3584
  accent: [{
3596
- accent: u()
3585
+ accent: h()
3597
3586
  }],
3598
3587
  /**
3599
3588
  * Appearance
@@ -3607,7 +3596,7 @@ const j = /* @__PURE__ */ r((e) => {
3607
3596
  * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
3608
3597
  */
3609
3598
  "caret-color": [{
3610
- caret: u()
3599
+ caret: h()
3611
3600
  }],
3612
3601
  /**
3613
3602
  * Color Scheme
@@ -3853,21 +3842,21 @@ const j = /* @__PURE__ */ r((e) => {
3853
3842
  * @see https://tailwindcss.com/docs/fill
3854
3843
  */
3855
3844
  fill: [{
3856
- fill: ["none", ...u()]
3845
+ fill: ["none", ...h()]
3857
3846
  }],
3858
3847
  /**
3859
3848
  * Stroke Width
3860
3849
  * @see https://tailwindcss.com/docs/stroke-width
3861
3850
  */
3862
3851
  "stroke-w": [{
3863
- stroke: [I, Ve, we, Ze]
3852
+ stroke: [I, Ve, we, Ke]
3864
3853
  }],
3865
3854
  /**
3866
3855
  * Stroke
3867
3856
  * @see https://tailwindcss.com/docs/stroke
3868
3857
  */
3869
3858
  stroke: [{
3870
- stroke: ["none", ...u()]
3859
+ stroke: ["none", ...h()]
3871
3860
  }],
3872
3861
  // ---------------------
3873
3862
  // --- Accessibility ---
@@ -3935,7 +3924,7 @@ const j = /* @__PURE__ */ r((e) => {
3935
3924
  },
3936
3925
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
3937
3926
  };
3938
- }, "getDefaultConfig"), nr = /* @__PURE__ */ Ro(sr), Ue = {
3927
+ }, "getDefaultConfig"), nr = /* @__PURE__ */ jo(sr), vt = {
3939
3928
  default: {
3940
3929
  solid: {
3941
3930
  base: "bg-theme-0 dark:bg-theme-700/40 text-theme-600 dark:text-theme-50",
@@ -4224,7 +4213,7 @@ const j = /* @__PURE__ */ r((e) => {
4224
4213
  }, ir = {
4225
4214
  key: 0,
4226
4215
  class: "absolute inset-0 flex items-center justify-center"
4227
- }, ar = /* @__PURE__ */ R({
4216
+ }, ar = /* @__PURE__ */ j({
4228
4217
  __name: "FButton",
4229
4218
  props: {
4230
4219
  theme: { default: "default" },
@@ -4250,51 +4239,54 @@ const j = /* @__PURE__ */ r((e) => {
4250
4239
  lg: "size-5",
4251
4240
  xl: "size-6"
4252
4241
  })[e.size]), s = E(() => {
4253
- const n = "relative inline-flex items-center justify-center gap-2 font-medium transition-all duration-200 focus:outline-none active:opacity-80 cursor-pointer", l = {
4242
+ const l = vt[e.theme]?.[e.design] || vt.default[e.design];
4243
+ return l || console.warn(`FButton: No theme configuration found for theme "${e.theme}" and design "${e.design}". Falling back to default solid theme.`), l || { base: "", border: "", hover: "", icon: "" };
4244
+ }), a = E(() => {
4245
+ const l = "relative inline-flex items-center justify-center gap-2 font-medium transition-all duration-200 focus:outline-none active:opacity-80 cursor-pointer", d = {
4254
4246
  xxs: "px-2 py-0.5 text-[10px]",
4255
4247
  xs: "px-3 py-1 text-[11px]",
4256
4248
  sm: "px-3 py-1.5 text-xs",
4257
4249
  md: "px-4 py-2 text-sm",
4258
4250
  lg: "px-6 py-3 text-base",
4259
4251
  xl: "px-8 py-4 text-base"
4260
- }, d = e.design === "link" ? "!px-1" : "", C = {
4252
+ }, C = e.design === "link" ? "!px-1" : "", m = {
4261
4253
  md: "rounded-md",
4262
4254
  lg: "rounded-lg",
4263
4255
  full: "rounded-full"
4264
- }, g = Ue[e.theme]?.[e.design] || Ue.default[e.design], h = [
4265
- n,
4266
- l[e.size],
4267
- d,
4268
- C[e.rounding],
4269
- g.base,
4270
- `border ${g.border}`,
4271
- g.hover
4256
+ }, u = s.value, p = [
4257
+ l,
4258
+ d[e.size],
4259
+ C,
4260
+ m[e.rounding],
4261
+ u.base,
4262
+ `border ${u.border}`,
4263
+ u.hover
4272
4264
  ].filter(Boolean).join(" ");
4273
- return nr(h, e.class);
4274
- }), a = E(() => ({
4275
- design: (Ue[e.theme]?.[e.design] || Ue.default[e.design]).icon || ""
4265
+ return nr(p, e.class);
4266
+ }), n = E(() => ({
4267
+ design: s.value.icon || ""
4276
4268
  }));
4277
- return (n, l) => (m(), se(qt(o.value), {
4269
+ return (l, d) => (f(), se(qt(o.value), {
4278
4270
  href: e.href,
4279
- class: $(s.value)
4271
+ class: $(a.value)
4280
4272
  }, {
4281
4273
  default: ne(() => [
4282
- e.loading ? (m(), y("div", ir, [
4283
- G(ot, {
4274
+ e.loading ? (f(), y("div", ir, [
4275
+ G(tt, {
4284
4276
  class: $(t.value)
4285
4277
  }, null, 8, ["class"])
4286
4278
  ])) : P("", !0),
4287
4279
  c("span", {
4288
4280
  class: $(["flex items-center gap-2 transition-opacity duration-200 whitespace-nowrap", e.loading ? "opacity-0" : "opacity-100"])
4289
4281
  }, [
4290
- i.value.icon ? (m(), y("span", {
4282
+ i.value.icon ? (f(), y("span", {
4291
4283
  key: 0,
4292
- class: $(["flex items-center size-[1.1em] mt-[-.07em]", [i.value.icon, a.value]])
4284
+ class: $(["flex items-center size-[1.1em] mt-[-.07em]", [i.value.icon, n.value]])
4293
4285
  }, null, 2)) : P("", !0),
4294
- Ie(n.$slots, "default"),
4295
- i.value.iconAfter ? (m(), y("span", {
4286
+ Ie(l.$slots, "default"),
4287
+ i.value.iconAfter ? (f(), y("span", {
4296
4288
  key: 1,
4297
- class: $(["flex items-center size-[1.1em] mt-[-.07em]", [i.value.iconAfter, a.value]])
4289
+ class: $(["flex items-center size-[1.1em] mt-[-.07em]", [i.value.iconAfter, n.value]])
4298
4290
  }, null, 2)) : P("", !0)
4299
4291
  ], 2)
4300
4292
  ]),
@@ -4313,7 +4305,7 @@ const j = /* @__PURE__ */ r((e) => {
4313
4305
  }, mr = { class: "text-sm text-white/70 leading-relaxed" }, br = {
4314
4306
  key: 3,
4315
4307
  class: "space-y-3"
4316
- }, pr = { class: "grid grid-cols-2 gap-3" }, vr = /* @__PURE__ */ R({
4308
+ }, pr = { class: "grid grid-cols-2 gap-3" }, vr = /* @__PURE__ */ j({
4317
4309
  __name: "ElSelfAbout",
4318
4310
  props: {
4319
4311
  self: {}
@@ -4366,27 +4358,27 @@ const j = /* @__PURE__ */ r((e) => {
4366
4358
  }), "generate")
4367
4359
  }
4368
4360
  ].filter((t) => t.condition()).map((t) => t.generate()));
4369
- return (o, t) => (m(), y("div", lr, [
4361
+ return (o, t) => (f(), y("div", lr, [
4370
4362
  c("div", cr, [
4371
- e.self.headline ? (m(), y("div", dr, [
4363
+ e.self.headline ? (f(), y("div", dr, [
4372
4364
  t[0] || (t[0] = c("h3", { class: "text-sm font-medium text-white/90 mb-2" }, " Professional Tagline ", -1)),
4373
4365
  c("div", ur, U(e.self.headline), 1)
4374
4366
  ])) : P("", !0),
4375
- e.self.summary ? (m(), y("div", hr, [
4367
+ e.self.summary ? (f(), y("div", hr, [
4376
4368
  t[1] || (t[1] = c("h3", { class: "text-sm font-medium text-white/90 mb-2" }, " About ", -1)),
4377
4369
  c("div", {
4378
4370
  class: "text-sm text-white/70 leading-relaxed",
4379
4371
  innerHTML: e.self.summary
4380
4372
  }, null, 8, gr)
4381
4373
  ])) : P("", !0),
4382
- e.self.entityType === "company" ? (m(), y("div", fr, [
4374
+ e.self.entityType === "company" ? (f(), y("div", fr, [
4383
4375
  t[2] || (t[2] = c("h3", { class: "text-sm font-medium text-white/90 mb-2" }, " Company Info ", -1)),
4384
4376
  c("p", mr, " This is a company digital self representing " + U(e.self.name) + ". ", 1)
4385
4377
  ])) : P("", !0),
4386
- i.value.length > 0 ? (m(), y("div", br, [
4378
+ i.value.length > 0 ? (f(), y("div", br, [
4387
4379
  t[3] || (t[3] = c("h3", { class: "text-sm font-medium text-white/90" }, " Connect ", -1)),
4388
4380
  c("div", pr, [
4389
- (m(!0), y(Ce, null, He(i.value, (s) => (m(), se(ar, {
4381
+ (f(!0), y(Ce, null, Oe(i.value, (s) => (f(), se(ar, {
4390
4382
  key: s.title,
4391
4383
  design: "ghost",
4392
4384
  theme: "default",
@@ -4417,46 +4409,46 @@ const j = /* @__PURE__ */ r((e) => {
4417
4409
  }, wr = ["src", "alt"], Cr = { class: "max-w-[70%]" }, Sr = { class: "text-sm leading-[1.5] whitespace-pre-wrap break-words" }, Mr = {
4418
4410
  key: 0,
4419
4411
  class: "flex gap-2 justify-start items-end mb-4"
4420
- }, Ar = { class: "flex-shrink-0" }, Ir = ["src", "alt"], $r = { class: "flex-shrink-0 pt-6 pb-2" }, zr = ["placeholder", "disabled"], Er = /* @__PURE__ */ R({
4412
+ }, Ar = { class: "flex-shrink-0" }, Ir = ["src", "alt"], $r = { class: "flex-shrink-0 pt-6 pb-2" }, zr = ["placeholder", "disabled"], Er = /* @__PURE__ */ j({
4421
4413
  __name: "ElSelfChat",
4422
4414
  props: {
4423
4415
  selfController: {},
4424
4416
  self: {}
4425
4417
  },
4426
4418
  setup(e) {
4427
- const i = B(""), o = B(), t = B(), s = E(() => Ye(e.self));
4428
- function a(g, h) {
4429
- const p = g[h], k = g[h + 1];
4419
+ const i = B(""), o = B(), t = B(), s = E(() => _e(e.self));
4420
+ function a(m, u) {
4421
+ const p = m[u], k = m[u + 1];
4430
4422
  return !k || k.sender !== p.sender;
4431
4423
  }
4432
4424
  r(a, "shouldShowAvatar"), $e(async () => {
4433
4425
  if (e.selfController && !e.selfController.textState.value.isConnected)
4434
4426
  try {
4435
4427
  await e.selfController.startTextConversation();
4436
- } catch (g) {
4437
- console.error("Failed to start text conversation:", g);
4428
+ } catch (m) {
4429
+ console.error("Failed to start text conversation:", m);
4438
4430
  }
4439
4431
  });
4440
4432
  async function n() {
4441
4433
  if (!i.value.trim() || !e.selfController || !e.selfController.textState.value.isConnected)
4442
4434
  return;
4443
- const g = i.value;
4435
+ const m = i.value;
4444
4436
  i.value = "", t.value && (t.value.style.height = "auto", t.value.focus());
4445
4437
  try {
4446
- await e.selfController.sendChatMessage(g), d();
4447
- } catch (h) {
4448
- console.error("Error sending message:", h);
4438
+ await e.selfController.sendChatMessage(m), d();
4439
+ } catch (u) {
4440
+ console.error("Error sending message:", u);
4449
4441
  }
4450
4442
  }
4451
4443
  r(n, "sendMessage");
4452
- function l(g) {
4453
- g.key === "Enter" && !g.shiftKey && (g.preventDefault(), n());
4444
+ function l(m) {
4445
+ m.key === "Enter" && !m.shiftKey && (m.preventDefault(), n());
4454
4446
  }
4455
4447
  r(l, "handleKeydown");
4456
4448
  function d() {
4457
- o.value && qe(() => {
4458
- const g = o.value;
4459
- g.scrollTop = g.scrollHeight;
4449
+ o.value && We(() => {
4450
+ const m = o.value;
4451
+ m.scrollTop = m.scrollHeight;
4460
4452
  });
4461
4453
  }
4462
4454
  r(d, "scrollToBottom");
@@ -4464,23 +4456,23 @@ const j = /* @__PURE__ */ r((e) => {
4464
4456
  if (!t.value)
4465
4457
  return;
4466
4458
  t.value.style.height = "auto";
4467
- const g = Math.min(t.value.scrollHeight, 150);
4468
- t.value.style.height = `${g}px`;
4459
+ const m = Math.min(t.value.scrollHeight, 150);
4460
+ t.value.style.height = `${m}px`;
4469
4461
  }
4470
4462
  return r(C, "adjustTextareaHeight"), ie(i, () => {
4471
- qe(() => C());
4472
- }), ie(() => e.selfController?.sharedMessages.value, (g) => {
4473
- g && g.length > 0 && qe(() => d());
4474
- }, { immediate: !0, deep: !0 }), (g, h) => (m(), y("div", xr, [
4475
- e.selfController?.textState.value.connectionStatus !== "connected" ? (m(), y("div", yr, [
4476
- G(ot, { class: "size-4" })
4463
+ We(() => C());
4464
+ }), ie(() => e.selfController?.sharedMessages.value, (m) => {
4465
+ m && m.length > 0 && We(() => d());
4466
+ }, { immediate: !0, deep: !0 }), (m, u) => (f(), y("div", xr, [
4467
+ e.selfController?.textState.value.connectionStatus !== "connected" ? (f(), y("div", yr, [
4468
+ G(tt, { class: "size-4" })
4477
4469
  ])) : P("", !0),
4478
4470
  c("div", {
4479
4471
  ref_key: "messagesContainer",
4480
4472
  ref: o,
4481
4473
  class: "flex-1 overflow-y-auto overflow-x-hidden py-8 space-y-1 min-h-0 [scrollbar-width:none] [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden"
4482
4474
  }, [
4483
- (m(!0), y(Ce, null, He(e.selfController?.sharedMessages.value.filter((p) => p.sender !== "system") ?? [], (p, k) => (m(), y("div", {
4475
+ (f(!0), y(Ce, null, Oe(e.selfController?.sharedMessages.value.filter((p) => p.sender !== "system") ?? [], (p, k) => (f(), y("div", {
4484
4476
  key: p.id,
4485
4477
  class: $(["flex gap-2 items-end", {
4486
4478
  "justify-end": p.sender === "user",
@@ -4488,8 +4480,8 @@ const j = /* @__PURE__ */ r((e) => {
4488
4480
  "mb-4": a(e.selfController?.sharedMessages.value.filter((b) => b.sender !== "system") ?? [], k)
4489
4481
  }])
4490
4482
  }, [
4491
- p.sender === "agent" ? (m(), y("div", kr, [
4492
- a(e.selfController?.sharedMessages.value.filter((b) => b.sender !== "system") ?? [], k) ? (m(), y("img", {
4483
+ p.sender === "agent" ? (f(), y("div", kr, [
4484
+ a(e.selfController?.sharedMessages.value.filter((b) => b.sender !== "system") ?? [], k) ? (f(), y("img", {
4493
4485
  key: 0,
4494
4486
  src: s.value,
4495
4487
  alt: e.self.name,
@@ -4504,7 +4496,7 @@ const j = /* @__PURE__ */ r((e) => {
4504
4496
  ], 2)
4505
4497
  ])
4506
4498
  ], 2))), 128)),
4507
- e.selfController?.textState.value.isThinking ? (m(), y("div", Mr, [
4499
+ e.selfController?.textState.value.isThinking ? (f(), y("div", Mr, [
4508
4500
  c("div", Ar, [
4509
4501
  c("img", {
4510
4502
  src: s.value,
@@ -4512,7 +4504,7 @@ const j = /* @__PURE__ */ r((e) => {
4512
4504
  class: "size-8 rounded-full object-cover"
4513
4505
  }, null, 8, Ir)
4514
4506
  ]),
4515
- h[1] || (h[1] = c("div", { class: "rounded-2xl px-4 py-2.5 bg-white/15 backdrop-blur-sm flex items-center" }, [
4507
+ u[1] || (u[1] = c("div", { class: "rounded-2xl px-4 py-2.5 bg-white/15 backdrop-blur-sm flex items-center" }, [
4516
4508
  c("i", { class: "i-svg-spinners-3-dots-fade size-6 text-white/70" })
4517
4509
  ], -1))
4518
4510
  ])) : P("", !0)
@@ -4521,7 +4513,7 @@ const j = /* @__PURE__ */ r((e) => {
4521
4513
  kt(c("textarea", {
4522
4514
  ref_key: "textarea",
4523
4515
  ref: t,
4524
- "onUpdate:modelValue": h[0] || (h[0] = (p) => i.value = p),
4516
+ "onUpdate:modelValue": u[0] || (u[0] = (p) => i.value = p),
4525
4517
  rows: "1",
4526
4518
  placeholder: e.selfController?.textState.value.isConnected ? "Message" : "Connecting...",
4527
4519
  disabled: !e.selfController?.textState.value.isConnected,
@@ -4531,20 +4523,20 @@ const j = /* @__PURE__ */ r((e) => {
4531
4523
  }, null, 40, zr), [
4532
4524
  [wt, i.value]
4533
4525
  ]),
4534
- h[2] || (h[2] = c("div", { class: "text-[10px] text-white/40 text-center mt-2" }, " Press Enter to send, Shift+Enter for new line ", -1))
4526
+ u[2] || (u[2] = c("div", { class: "text-[10px] text-white/40 text-center mt-2" }, " Press Enter to send, Shift+Enter for new line ", -1))
4535
4527
  ])
4536
4528
  ]));
4537
4529
  }
4538
- }), Tr = { class: "flex flex-col items-center text-center gap-4" }, Lr = { class: "relative flex-shrink-0" }, Dr = { class: "w-20 h-20 sm:w-24 sm:h-24 rounded-full overflow-hidden border-4 border-white" }, Vr = ["src", "alt"], Pr = { class: "min-w-0" }, Fr = { class: "text-3xl font-light text-white mb-2 truncate" }, Br = { class: "text-base font-light text-white/60 line-clamp-1" }, Nr = /* @__PURE__ */ R({
4530
+ }), Tr = { class: "flex flex-col items-center text-center gap-4" }, Lr = { class: "relative flex-shrink-0" }, Dr = { class: "w-20 h-20 sm:w-24 sm:h-24 rounded-full overflow-hidden border-4 border-white" }, Vr = ["src", "alt"], Pr = { class: "min-w-0" }, Fr = { class: "text-3xl font-light text-white mb-2 truncate" }, Br = { class: "text-base font-light text-white/60 line-clamp-1" }, Nr = /* @__PURE__ */ j({
4539
4531
  __name: "ElSelfHeader",
4540
4532
  props: {
4541
4533
  self: {}
4542
4534
  },
4543
4535
  setup(e) {
4544
4536
  function i() {
4545
- return e.self.avatar?.src ? e.self.avatar.src : We();
4537
+ return e.self.avatar?.src ? e.self.avatar.src : He();
4546
4538
  }
4547
- return r(i, "getAvatarSrc"), (o, t) => (m(), y("div", Tr, [
4539
+ return r(i, "getAvatarSrc"), (o, t) => (f(), y("div", Tr, [
4548
4540
  c("div", Lr, [
4549
4541
  c("div", Dr, [
4550
4542
  c("img", {
@@ -4552,7 +4544,7 @@ const j = /* @__PURE__ */ r((e) => {
4552
4544
  alt: e.self.name,
4553
4545
  class: "w-full h-full object-cover",
4554
4546
  onError: t[0] || (t[0] = //@ts-ignore
4555
- (...s) => X(Oe) && X(Oe)(...s))
4547
+ (...s) => X(Ue) && X(Ue)(...s))
4556
4548
  }, null, 40, Vr)
4557
4549
  ]),
4558
4550
  t[1] || (t[1] = c("div", { class: "absolute top-1.5 right-1.5" }, [
@@ -4569,7 +4561,7 @@ const j = /* @__PURE__ */ r((e) => {
4569
4561
  ])
4570
4562
  ]));
4571
4563
  }
4572
- }), Rr = { class: "absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[28px] h-[28px] overflow-hidden" }, jr = /* @__PURE__ */ R({
4564
+ }), jr = { class: "absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[28px] h-[28px] overflow-hidden" }, Rr = /* @__PURE__ */ j({
4573
4565
  name: "FClose",
4574
4566
  __name: "FClose",
4575
4567
  emits: ["click"],
@@ -4579,12 +4571,12 @@ const j = /* @__PURE__ */ r((e) => {
4579
4571
  setTimeout(() => {
4580
4572
  i.value = !0;
4581
4573
  }, 100);
4582
- }), (o, t) => (m(), y("a", {
4574
+ }), (o, t) => (f(), y("a", {
4583
4575
  class: "close block cursor-pointer w-[60px] h-[60px] rounded-full transition-all duration-1000 ease-[cubic-bezier(0.25,1,0.33,1)] hover:scale-110 active:scale-90 hover:rotate-90",
4584
4576
  onClick: t[0] || (t[0] = (s) => o.$emit("click", s))
4585
4577
  }, [
4586
4578
  t[1] || (t[1] = c("span", { class: "absolute inset-0 rounded-full transition-all" }, null, -1)),
4587
- c("span", Rr, [
4579
+ c("span", jr, [
4588
4580
  c("span", {
4589
4581
  class: $(["absolute h-full w-[3px] rounded-[5px] left-[13px] transition-all duration-[400ms] ease-[cubic-bezier(0.52,0.01,0.16,1)]", i.value ? "translate-y-0 translate-x-0 rotate-45" : "translate-y-[30px] -translate-x-[30px] rotate-0"]),
4590
4582
  style: { "background-color": "currentColor", "transition-delay": "0.15s" }
@@ -4605,7 +4597,7 @@ const j = /* @__PURE__ */ r((e) => {
4605
4597
  }, Hr = ["disabled", "onClick"], Wr = { class: "flex items-center gap-3" }, qr = { class: "flex-1" }, Kr = {
4606
4598
  key: 0,
4607
4599
  class: "text-xs text-white/50 mt-0.5"
4608
- }, Zr = { class: "p-6" }, Bt = /* @__PURE__ */ R({
4600
+ }, Zr = { class: "p-6" }, Bt = /* @__PURE__ */ j({
4609
4601
  name: "ElSidebar",
4610
4602
  __name: "ElSidebar",
4611
4603
  props: {
@@ -4619,10 +4611,10 @@ const j = /* @__PURE__ */ r((e) => {
4619
4611
  setup(e, { emit: i }) {
4620
4612
  const o = e, t = i, s = o.position || "left", a = o.widthClasses || "w-[80%] max-w-[300px]", n = E({
4621
4613
  get: /* @__PURE__ */ r(() => o.modelValue, "get"),
4622
- set: /* @__PURE__ */ r((g) => t("update:modelValue", g), "set")
4623
- }), l = E(() => o.items.filter((g) => !g.isHidden));
4624
- function d(g) {
4625
- g.isDisabled || (g.onClick ? g.onClick({ item: g, event: new MouseEvent("click") }) : g.href && (g.href.includes("http") ? window.open(g.href, g.target || "_self")?.focus() : window.location.href = g.href), n.value = !1);
4614
+ set: /* @__PURE__ */ r((m) => t("update:modelValue", m), "set")
4615
+ }), l = E(() => o.items.filter((m) => !m.isHidden));
4616
+ function d(m) {
4617
+ m.isDisabled || (m.onClick ? m.onClick({ item: m, event: new MouseEvent("click") }) : m.href && (m.href.includes("http") ? window.open(m.href, m.target || "_self")?.focus() : window.location.href = m.href), n.value = !1);
4626
4618
  }
4627
4619
  r(d, "handleItemClick");
4628
4620
  const C = E(() => s === "left" ? {
@@ -4636,8 +4628,8 @@ const j = /* @__PURE__ */ r((e) => {
4636
4628
  position: "justify-end",
4637
4629
  closeButton: "-left-16"
4638
4630
  });
4639
- return (g, h) => (m(), y(Ce, null, [
4640
- G(dt, {
4631
+ return (m, u) => (f(), y(Ce, null, [
4632
+ G(ct, {
4641
4633
  "enter-active-class": "transition-opacity duration-300 ease-out",
4642
4634
  "leave-active-class": "transition-opacity duration-200 ease-in",
4643
4635
  "enter-from-class": "opacity-0",
@@ -4646,15 +4638,15 @@ const j = /* @__PURE__ */ r((e) => {
4646
4638
  "leave-to-class": "opacity-0"
4647
4639
  }, {
4648
4640
  default: ne(() => [
4649
- n.value ? (m(), y("div", {
4641
+ n.value ? (f(), y("div", {
4650
4642
  key: 0,
4651
4643
  class: "absolute inset-0 z-40 bg-black/50 backdrop-blur-sm",
4652
- onClick: h[0] || (h[0] = (p) => n.value = !1)
4644
+ onClick: u[0] || (u[0] = (p) => n.value = !1)
4653
4645
  })) : P("", !0)
4654
4646
  ]),
4655
4647
  _: 1
4656
4648
  }),
4657
- G(dt, {
4649
+ G(ct, {
4658
4650
  "enter-active-class": "transition-all duration-500 ease-[cubic-bezier(0.25,1,0.33,1)]",
4659
4651
  "leave-active-class": "transition-all duration-400 ease-[cubic-bezier(0.25,1,0.33,1)]",
4660
4652
  "enter-from-class": C.value.enter,
@@ -4663,28 +4655,28 @@ const j = /* @__PURE__ */ r((e) => {
4663
4655
  "leave-to-class": C.value.leave
4664
4656
  }, {
4665
4657
  default: ne(() => [
4666
- n.value ? (m(), y("div", {
4658
+ n.value ? (f(), y("div", {
4667
4659
  key: 0,
4668
4660
  class: $(["absolute inset-0 z-50 flex", C.value.position]),
4669
- onClick: h[3] || (h[3] = (p) => n.value = !1)
4661
+ onClick: u[3] || (u[3] = (p) => n.value = !1)
4670
4662
  }, [
4671
4663
  c("div", {
4672
4664
  class: $(["relative h-full shadow-2xl bg-black/30 backdrop-blur-xl flex flex-col justify-center", X(a)]),
4673
- onClick: h[2] || (h[2] = Ct(() => {
4665
+ onClick: u[2] || (u[2] = Ct(() => {
4674
4666
  }, ["stop"]))
4675
4667
  }, [
4676
- G(jr, {
4668
+ G(Rr, {
4677
4669
  class: $(["absolute top-4 z-10 text-white", C.value.closeButton]),
4678
- onClick: h[1] || (h[1] = (p) => n.value = !1)
4670
+ onClick: u[1] || (u[1] = (p) => n.value = !1)
4679
4671
  }, null, 8, ["class"]),
4680
- e.title ? (m(), y("div", Gr, [
4672
+ e.title ? (f(), y("div", Gr, [
4681
4673
  c("h3", Ur, U(e.title), 1)
4682
4674
  ])) : P("", !0),
4683
- g.$slots.header ? (m(), y("div", Or, [
4684
- Ie(g.$slots, "header")
4675
+ m.$slots.header ? (f(), y("div", Or, [
4676
+ Ie(m.$slots, "header")
4685
4677
  ])) : P("", !0),
4686
4678
  c("div", {
4687
- class: $(["flex-1 p-6 space-y-2 overflow-y-auto", { "pt-6": !e.title && !g.$slots.header, "pt-4": e.title || g.$slots.header }])
4679
+ class: $(["flex-1 p-6 space-y-2 overflow-y-auto", { "pt-6": !e.title && !m.$slots.header, "pt-4": e.title || m.$slots.header }])
4688
4680
  }, [
4689
4681
  G(yt, {
4690
4682
  "enter-active-class": "transition-all duration-400 ease-[cubic-bezier(0.25,1,0.33,1)]",
@@ -4695,9 +4687,9 @@ const j = /* @__PURE__ */ r((e) => {
4695
4687
  "leave-to-class": X(s) === "left" ? "-translate-x-4 opacity-0" : "translate-x-4 opacity-0"
4696
4688
  }, {
4697
4689
  default: ne(() => [
4698
- (m(!0), y(Ce, null, He(l.value, (p, k) => (m(), y("button", {
4690
+ (f(!0), y(Ce, null, Oe(l.value, (p, k) => (f(), y("button", {
4699
4691
  key: p.key || p.label || k,
4700
- style: tt({ transitionDelay: `${k * 40}ms` }),
4692
+ style: et({ transitionDelay: `${k * 40}ms` }),
4701
4693
  class: $(["cursor-pointer w-full text-left p-3 rounded-xl transition-all duration-200 ease-[cubic-bezier(0.25,1,0.33,1)] group", [
4702
4694
  p.isActive ? "bg-primary-500/20 border border-primary-500/40" : "hover:bg-white/10",
4703
4695
  p.isDisabled && "opacity-50 cursor-not-allowed"
@@ -4706,7 +4698,7 @@ const j = /* @__PURE__ */ r((e) => {
4706
4698
  onClick: /* @__PURE__ */ r((b) => d(p), "onClick")
4707
4699
  }, [
4708
4700
  c("div", Wr, [
4709
- p.icon?.src ? (m(), y("i", {
4701
+ p.icon?.src ? (f(), y("i", {
4710
4702
  key: 0,
4711
4703
  class: $(["size-5 flex-shrink-0 transition-transform duration-200 ease-[cubic-bezier(0.25,1,0.33,1)] group-hover:scale-110", [
4712
4704
  p.icon.src,
@@ -4717,7 +4709,7 @@ const j = /* @__PURE__ */ r((e) => {
4717
4709
  c("div", {
4718
4710
  class: $(["font-medium text-sm", p.isActive ? "text-primary-300" : "text-white"])
4719
4711
  }, U(p.label), 3),
4720
- p.subLabel ? (m(), y("div", Kr, U(p.subLabel), 1)) : P("", !0)
4712
+ p.subLabel ? (f(), y("div", Kr, U(p.subLabel), 1)) : P("", !0)
4721
4713
  ])
4722
4714
  ])
4723
4715
  ], 14, Hr))), 128))
@@ -4726,8 +4718,8 @@ const j = /* @__PURE__ */ r((e) => {
4726
4718
  }, 8, ["enter-from-class", "leave-to-class"])
4727
4719
  ], 2),
4728
4720
  c("div", Zr, [
4729
- Ie(g.$slots, "footer", {}, () => [
4730
- h[4] || (h[4] = c("div", { class: "text-center" }, [
4721
+ Ie(m.$slots, "footer", {}, () => [
4722
+ u[4] || (u[4] = c("div", { class: "text-center" }, [
4731
4723
  c("p", { class: "text-[10px] text-white/40 font-sans" }, [
4732
4724
  Pe(" Digital Self by "),
4733
4725
  c("a", {
@@ -4746,7 +4738,7 @@ const j = /* @__PURE__ */ r((e) => {
4746
4738
  }, 8, ["enter-from-class", "leave-to-class"])
4747
4739
  ], 64));
4748
4740
  }
4749
- }), _r = /* @__PURE__ */ R({
4741
+ }), _r = /* @__PURE__ */ j({
4750
4742
  name: "SelfModeSidebar",
4751
4743
  __name: "ElSelfModeSidebar",
4752
4744
  props: {
@@ -4767,7 +4759,7 @@ const j = /* @__PURE__ */ r((e) => {
4767
4759
  o.selfController?.setMode(l.mode);
4768
4760
  }, "onClick")
4769
4761
  })));
4770
- return (l, d) => (m(), se(Bt, {
4762
+ return (l, d) => (f(), se(Bt, {
4771
4763
  modelValue: s.value,
4772
4764
  "onUpdate:modelValue": d[0] || (d[0] = (C) => s.value = C),
4773
4765
  items: n.value,
@@ -4776,7 +4768,7 @@ const j = /* @__PURE__ */ r((e) => {
4776
4768
  "width-classes": "w-[80%] max-w-[255px]"
4777
4769
  }, null, 8, ["modelValue", "items"]));
4778
4770
  }
4779
- }), Yr = /* @__PURE__ */ R({
4771
+ }), Yr = /* @__PURE__ */ j({
4780
4772
  name: "SelfSidebar",
4781
4773
  __name: "ElSelfSidebar",
4782
4774
  props: {
@@ -4827,7 +4819,7 @@ const j = /* @__PURE__ */ r((e) => {
4827
4819
  }, "onClick")
4828
4820
  }), n;
4829
4821
  });
4830
- return (n, l) => (m(), se(Bt, {
4822
+ return (n, l) => (f(), se(Bt, {
4831
4823
  modelValue: s.value,
4832
4824
  "onUpdate:modelValue": l[0] || (l[0] = (d) => s.value = d),
4833
4825
  items: a.value,
@@ -4835,7 +4827,7 @@ const j = /* @__PURE__ */ r((e) => {
4835
4827
  title: e.title || "Menu"
4836
4828
  }, null, 8, ["modelValue", "items", "title"]));
4837
4829
  }
4838
- }), Jr = { class: "w-full max-w-full flex items-center justify-center" }, Qr = 0.25, Xr = 0.35, xt = 500, es = 0.15, ts = 0.4, os = /* @__PURE__ */ R({
4830
+ }), Jr = { class: "w-full max-w-full flex items-center justify-center" }, Qr = 0.25, Xr = 0.35, xt = 500, es = 0.15, ts = 0.4, os = /* @__PURE__ */ j({
4839
4831
  __name: "FAudioVisualizer",
4840
4832
  props: {
4841
4833
  audioState: {},
@@ -4920,18 +4912,18 @@ const j = /* @__PURE__ */ r((e) => {
4920
4912
  8500
4921
4913
  ], a = B();
4922
4914
  let n = null, l = null;
4923
- const d = B(!1), C = B(!0), g = /* @__PURE__ */ new Map();
4924
- let h, p, k, b, z, O, q;
4925
- function ye(f) {
4926
- const { minHeight: u } = t.value;
4927
- h = new Float32Array(f).fill(u), p = new Float32Array(f).fill(0), k = new Float32Array(f).fill(u), b = new Float32Array(f).fill(u), z = new Float32Array(f).fill(u), O = new Float32Array(f).fill(0), q = new Float32Array(f).fill(0);
4915
+ const d = B(!1), C = B(!0), m = /* @__PURE__ */ new Map();
4916
+ let u, p, k, b, z, O, q;
4917
+ function ye(g) {
4918
+ const { minHeight: h } = t.value;
4919
+ u = new Float32Array(g).fill(h), p = new Float32Array(g).fill(0), k = new Float32Array(g).fill(h), b = new Float32Array(g).fill(h), z = new Float32Array(g).fill(h), O = new Float32Array(g).fill(0), q = new Float32Array(g).fill(0);
4928
4920
  }
4929
4921
  r(ye, "initPhysicsArrays");
4930
4922
  const ae = E(() => {
4931
4923
  if (i.color !== "auto")
4932
4924
  return i.color;
4933
- const f = i.audioState?.mode ?? "idle";
4934
- return f === "listening" ? "blue" : f === "processing" ? "cyan" : f === "speaking" ? "green" : "gray";
4925
+ const g = i.audioState?.mode ?? "idle";
4926
+ return g === "listening" ? "blue" : g === "processing" ? "cyan" : g === "speaking" ? "green" : "gray";
4935
4927
  }), le = {
4936
4928
  blue: {
4937
4929
  primary: [59, 130, 246],
@@ -4954,8 +4946,8 @@ const j = /* @__PURE__ */ r((e) => {
4954
4946
  glow: "rgba(156,163,175,0.2)"
4955
4947
  }
4956
4948
  };
4957
- function me(f) {
4958
- return f < 200 ? { stiffnessMultiplier: 0.7, dampingMultiplier: 1.2 } : f < 1e3 ? { stiffnessMultiplier: 1, dampingMultiplier: 1 } : f < 4e3 ? { stiffnessMultiplier: 1.3, dampingMultiplier: 0.8 } : { stiffnessMultiplier: 1.5, dampingMultiplier: 0.6 };
4949
+ function me(g) {
4950
+ return g < 200 ? { stiffnessMultiplier: 0.7, dampingMultiplier: 1.2 } : g < 1e3 ? { stiffnessMultiplier: 1, dampingMultiplier: 1 } : g < 4e3 ? { stiffnessMultiplier: 1.3, dampingMultiplier: 0.8 } : { stiffnessMultiplier: 1.5, dampingMultiplier: 0.6 };
4959
4951
  }
4960
4952
  r(me, "getFrequencyPhysics");
4961
4953
  let W = 1;
@@ -4963,16 +4955,16 @@ const j = /* @__PURE__ */ r((e) => {
4963
4955
  if (!a.value)
4964
4956
  return;
4965
4957
  typeof window < "u" && (W = Math.max(1, Math.min(2, window.devicePixelRatio || 1)));
4966
- const { bars: f, barWidth: u, barSpacing: F, maxHeight: M } = t.value, A = (u + F) * f - F, H = M;
4958
+ const { bars: g, barWidth: h, barSpacing: F, maxHeight: M } = t.value, A = (h + F) * g - F, H = M;
4967
4959
  a.value.width = Math.floor(A * W), a.value.height = Math.floor(H * W), a.value.style.width = `${A}px`, a.value.style.height = `${H}px`, n && n.setTransform(W, 0, 0, W, 0, 0), Te();
4968
4960
  }
4969
4961
  r(ee, "resizeCanvas");
4970
- function S(f) {
4962
+ function S(g) {
4971
4963
  return Array.from({ length: s.length }, (F, M) => {
4972
- const A = s[M], D = Math.floor(A / 12e3 * f.length), V = Math.max(1, Math.floor(f.length / s.length / 2));
4964
+ const A = s[M], D = Math.floor(A / 12e3 * g.length), V = Math.max(1, Math.floor(g.length / s.length / 2));
4973
4965
  let K = 0;
4974
- for (let J = 0; J < V && D + J < f.length; J++)
4975
- K += f[D + J];
4966
+ for (let J = 0; J < V && D + J < g.length; J++)
4967
+ K += g[D + J];
4976
4968
  K = K / V / 255;
4977
4969
  let N = 1;
4978
4970
  A < 150 ? N = 0.1 : A < 200 ? N = 0.3 : A >= 400 && A <= 600 ? N = 1.4 : A >= 1400 && A <= 1600 ? N = 1.3 : A >= 2400 && A <= 2600 ? N = 1.2 : A >= 200 && A <= 2e3 ? N = 1.1 : A >= 2e3 && A <= 4e3 ? N = 0.9 : A > 6e3 ? N = 0.4 : N = 0.7;
@@ -4981,24 +4973,24 @@ const j = /* @__PURE__ */ r((e) => {
4981
4973
  });
4982
4974
  }
4983
4975
  r(S, "mapFrequencyDataToBands");
4984
- function Y(f) {
4985
- const u = Array.from({ length: s.length }, () => 0);
4986
- if (f <= 0)
4987
- return u;
4976
+ function Y(g) {
4977
+ const h = Array.from({ length: s.length }, () => 0);
4978
+ if (g <= 0)
4979
+ return h;
4988
4980
  for (let F = 0; F < s.length; F++) {
4989
4981
  const M = s[F];
4990
4982
  let A = 0;
4991
- M >= 400 && M <= 600 ? A = f * 0.9 : M >= 1400 && M <= 1600 ? A = f * 0.8 : M >= 2400 && M <= 2600 ? A = f * 0.7 : M >= 200 && M <= 2e3 ? A = f * 0.6 : M >= 85 && M <= 300 ? A = f * 0.4 : A = f * 0.2, A *= 0.8 + Math.random() * 0.4, u[F] = Math.max(0, Math.min(1, A));
4983
+ M >= 400 && M <= 600 ? A = g * 0.9 : M >= 1400 && M <= 1600 ? A = g * 0.8 : M >= 2400 && M <= 2600 ? A = g * 0.7 : M >= 200 && M <= 2e3 ? A = g * 0.6 : M >= 85 && M <= 300 ? A = g * 0.4 : A = g * 0.2, A *= 0.8 + Math.random() * 0.4, h[F] = Math.max(0, Math.min(1, A));
4992
4984
  }
4993
- return u;
4985
+ return h;
4994
4986
  }
4995
4987
  r(Y, "generateIntensityBasedBands");
4996
- function Fe(f, u, F) {
4988
+ function Fe(g, h, F) {
4997
4989
  if (!i.enableWaveMotion || typeof window > "u")
4998
- return f;
4999
- const M = performance.now() * 1e-3, A = [...f];
5000
- for (let H = 0; H < f.length; H++) {
5001
- const D = H * (2 * Math.PI) / f.length;
4990
+ return g;
4991
+ const M = performance.now() * 1e-3, A = [...g];
4992
+ for (let H = 0; H < g.length; H++) {
4993
+ const D = H * (2 * Math.PI) / g.length;
5002
4994
  let V = 0;
5003
4995
  if (F === "listening" || F === "speaking") {
5004
4996
  const N = Math.sin(M * 4.2 + D * 0.6 - M * 2) * 0.15, T = Math.sin(M * 6.8 + D * 1.2 - M * 1.5) * 0.08, ce = Math.sin(M * 0.8) * 0.05;
@@ -5013,52 +5005,52 @@ const j = /* @__PURE__ */ r((e) => {
5013
5005
  const N = Math.sin(M * 1.5 + D) * 0.12, T = Math.sin(M * 0.4) * 0.05;
5014
5006
  V = N + T;
5015
5007
  }
5016
- const K = Math.max(0.3, u);
5017
- A[H] = Math.max(0, Math.min(0.9, f[H] + V * K));
5008
+ const K = Math.max(0.3, h);
5009
+ A[H] = Math.max(0, Math.min(0.9, g[H] + V * K));
5018
5010
  }
5019
5011
  return A;
5020
5012
  }
5021
5013
  r(Fe, "addWaveMotionOverlay");
5022
5014
  function Be() {
5023
- const f = i.audioState;
5024
- if (!f)
5015
+ const g = i.audioState;
5016
+ if (!g)
5025
5017
  return Array.from({ length: s.length }, () => 0);
5026
- let u = [];
5027
- if (f.getFrequencyData) {
5028
- const M = f.getFrequencyData();
5029
- M && M.length > 0 && Array.from(M).some((H) => H > 5) && (u = S(M));
5018
+ let h = [];
5019
+ if (g.getFrequencyData) {
5020
+ const M = g.getFrequencyData();
5021
+ M && M.length > 0 && Array.from(M).some((H) => H > 5) && (h = S(M));
5030
5022
  }
5031
- if (!u.length) {
5032
- const M = f.mode === "listening" ? f.inputLevel ?? 0 : f.mode === "speaking" ? f.outputLevel ?? 0 : f.mode === "connected" ? 0.02 : 0;
5033
- u = Y(M);
5023
+ if (!h.length) {
5024
+ const M = g.mode === "listening" ? g.inputLevel ?? 0 : g.mode === "speaking" ? g.outputLevel ?? 0 : g.mode === "connected" ? 0.02 : 0;
5025
+ h = Y(M);
5034
5026
  }
5035
5027
  const F = Math.max(
5036
- f.inputLevel ?? 0,
5037
- f.outputLevel ?? 0
5028
+ g.inputLevel ?? 0,
5029
+ g.outputLevel ?? 0
5038
5030
  );
5039
- return Fe(u, F, f.mode);
5031
+ return Fe(h, F, g.mode);
5040
5032
  }
5041
5033
  r(Be, "generateFrequencyBands");
5042
5034
  function Se() {
5043
5035
  if (typeof window > "u")
5044
5036
  return;
5045
- const f = navigator.userAgent.toLowerCase(), u = /android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(f);
5046
- d.value = u;
5037
+ const g = navigator.userAgent.toLowerCase(), h = /android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(g);
5038
+ d.value = h;
5047
5039
  }
5048
5040
  r(Se, "detectMobile");
5049
- function Ne(f, u) {
5050
- return g.has(f) || g.set(f, u()), g.get(f);
5041
+ function Ne(g, h) {
5042
+ return m.has(g) || m.set(g, h()), m.get(g);
5051
5043
  }
5052
5044
  r(Ne, "getGradient");
5053
5045
  function Te() {
5054
- g.clear();
5046
+ m.clear();
5055
5047
  }
5056
5048
  r(Te, "clearGradientCache");
5057
5049
  function te() {
5058
5050
  if (typeof window > "u" || !n || !a.value)
5059
5051
  return;
5060
5052
  Se();
5061
- const f = a.value, { bars: u, barWidth: F, barSpacing: M, minHeight: A, maxHeight: H } = t.value, D = f.width / W, V = f.height / W;
5053
+ const g = a.value, { bars: h, barWidth: F, barSpacing: M, minHeight: A, maxHeight: H } = t.value, D = g.width / W, V = g.height / W;
5062
5054
  function K(N) {
5063
5055
  if (!n)
5064
5056
  return;
@@ -5068,49 +5060,49 @@ const j = /* @__PURE__ */ r((e) => {
5068
5060
  }
5069
5061
  n.clearRect(0, 0, D, V);
5070
5062
  const T = Be(), ce = 0.3;
5071
- for (let w = 0; w < u; w++) {
5063
+ for (let w = 0; w < h; w++) {
5072
5064
  const ge = A + T[w] * (H - A);
5073
5065
  b[w] = b[w] + ce * (ge - b[w]), k[w] = b[w];
5074
5066
  }
5075
5067
  const be = 16.67;
5076
- for (let w = 0; w < u; w++) {
5077
- const ge = s[w], oe = me(ge), re = k[w] - h[w], ve = Qr * oe.stiffnessMultiplier, Me = Xr * oe.dampingMultiplier, Q = re * ve - p[w] * Me;
5078
- if (p[w] += Q, h[w] += p[w], h[w] > z[w])
5079
- z[w] = h[w], O[w] = xt, q[w] = 0;
5068
+ for (let w = 0; w < h; w++) {
5069
+ const ge = s[w], oe = me(ge), re = k[w] - u[w], ve = Qr * oe.stiffnessMultiplier, Me = Xr * oe.dampingMultiplier, Q = re * ve - p[w] * Me;
5070
+ if (p[w] += Q, u[w] += p[w], u[w] > z[w])
5071
+ z[w] = u[w], O[w] = xt, q[w] = 0;
5080
5072
  else if (O[w] = Math.max(0, O[w] - be), O[w] <= 0) {
5081
- const De = (Math.max(A, h[w] * 1.1) - z[w]) * es - q[w] * ts;
5073
+ const De = (Math.max(A, u[w] * 1.1) - z[w]) * es - q[w] * ts;
5082
5074
  q[w] += De, z[w] = Math.max(A, z[w] + q[w]);
5083
5075
  }
5084
5076
  }
5085
- const J = u * 0.15, pe = i.audioState?.mode ?? "idle";
5077
+ const J = h * 0.15, pe = i.audioState?.mode ?? "idle";
5086
5078
  if ((pe === "listening" || pe === "speaking") && i.enableGlow && !d.value) {
5087
5079
  const w = performance.now() * 1e-3, ge = 0.1 + Math.sin(w * 2) * 0.05;
5088
5080
  n.save(), n.globalCompositeOperation = "lighter", n.globalAlpha = ge;
5089
5081
  const oe = le[ae.value];
5090
5082
  n.fillStyle = oe.glow;
5091
- for (let re = 0; re < u; re++) {
5092
- const ve = re * (F + M), Me = h[re], Q = V - Me;
5083
+ for (let re = 0; re < h; re++) {
5084
+ const ve = re * (F + M), Me = u[re], Q = V - Me;
5093
5085
  n.beginPath(), n.roundRect(ve - 1, Q - 1, F + 2, Me + 2, [2, 2, 0, 0]), n.fill();
5094
5086
  }
5095
5087
  n.restore();
5096
5088
  }
5097
5089
  const ke = le[ae.value], [de, ue, he] = ke.primary;
5098
- for (let w = 0; w < u; w++) {
5099
- const ge = w * (F + M), oe = h[w], re = V - oe, ve = s[w], Me = Math.min(w, u - 1 - w), Q = Math.min(1, Me / J), Le = Math.min(1, oe / H), De = (0.8 + Le * 0.2) * Q, at = (0.6 + Le * 0.2) * Q, lt = (0.3 + Le * 0.1) * Q, Nt = Math.round(Le * 10) / 10, Rt = Math.round(Q * 10) / 10, jt = `${ae.value}-${Nt}-${Rt}-${oe}`, Gt = Ne(jt, () => {
5090
+ for (let w = 0; w < h; w++) {
5091
+ const ge = w * (F + M), oe = u[w], re = V - oe, ve = s[w], Me = Math.min(w, h - 1 - w), Q = Math.min(1, Me / J), Le = Math.min(1, oe / H), De = (0.8 + Le * 0.2) * Q, it = (0.6 + Le * 0.2) * Q, at = (0.3 + Le * 0.1) * Q, Nt = Math.round(Le * 10) / 10, jt = Math.round(Q * 10) / 10, Rt = `${ae.value}-${Nt}-${jt}-${oe}`, Gt = Ne(Rt, () => {
5100
5092
  const Z = n.createLinearGradient(0, re, 0, re + oe);
5101
5093
  if (pe === "speaking")
5102
- Z.addColorStop(0, `rgba(${de}, ${ue}, ${he}, ${De})`), Z.addColorStop(0.5, `rgba(${de}, ${ue}, ${he}, ${at})`), Z.addColorStop(1, `rgba(${de}, ${ue}, ${he}, ${lt})`), (ve >= 400 && ve <= 600 || ve >= 1400 && ve <= 1600) && Z.addColorStop(0, `rgba(74, 222, 128, ${Math.min(1, De + 0.2)})`);
5094
+ Z.addColorStop(0, `rgba(${de}, ${ue}, ${he}, ${De})`), Z.addColorStop(0.5, `rgba(${de}, ${ue}, ${he}, ${it})`), Z.addColorStop(1, `rgba(${de}, ${ue}, ${he}, ${at})`), (ve >= 400 && ve <= 600 || ve >= 1400 && ve <= 1600) && Z.addColorStop(0, `rgba(74, 222, 128, ${Math.min(1, De + 0.2)})`);
5103
5095
  else if (pe === "listening")
5104
- Z.addColorStop(0, `rgba(${de}, ${ue}, ${he}, ${De})`), Z.addColorStop(0.5, `rgba(${de}, ${ue}, ${he}, ${at})`), Z.addColorStop(1, `rgba(${de}, ${ue}, ${he}, ${lt})`);
5096
+ Z.addColorStop(0, `rgba(${de}, ${ue}, ${he}, ${De})`), Z.addColorStop(0.5, `rgba(${de}, ${ue}, ${he}, ${it})`), Z.addColorStop(1, `rgba(${de}, ${ue}, ${he}, ${at})`);
5105
5097
  else {
5106
- const Re = 0.6 * Q, Ut = 0.4 * Q, Ot = 0.2 * Q;
5107
- Z.addColorStop(0, `rgba(${de}, ${ue}, ${he}, ${Re})`), Z.addColorStop(0.6, `rgba(${de}, ${ue}, ${he}, ${Ut})`), Z.addColorStop(1, `rgba(${de}, ${ue}, ${he}, ${Ot})`);
5098
+ const je = 0.6 * Q, Ut = 0.4 * Q, Ot = 0.2 * Q;
5099
+ Z.addColorStop(0, `rgba(${de}, ${ue}, ${he}, ${je})`), Z.addColorStop(0.6, `rgba(${de}, ${ue}, ${he}, ${Ut})`), Z.addColorStop(1, `rgba(${de}, ${ue}, ${he}, ${Ot})`);
5108
5100
  }
5109
5101
  return Z;
5110
5102
  });
5111
5103
  if (n.fillStyle = Gt, n.beginPath(), n.roundRect(ge, re, F, oe, [1, 1, 0, 0]), n.fill(), z[w] > A + 2) {
5112
- const Z = V - z[w], Re = O[w] > 0 ? 0.9 : Math.max(0.3, O[w] / xt);
5113
- n.fillStyle = `rgba(255, 255, 255, ${Re})`, n.fillRect(ge, Z - 1, F, 2), Re > 0.5 && !d.value && (n.shadowColor = ke.glow, n.shadowBlur = 3, n.fillRect(ge, Z - 1, F, 2), n.shadowBlur = 0);
5104
+ const Z = V - z[w], je = O[w] > 0 ? 0.9 : Math.max(0.3, O[w] / xt);
5105
+ n.fillStyle = `rgba(255, 255, 255, ${je})`, n.fillRect(ge, Z - 1, F, 2), je > 0.5 && !d.value && (n.shadowColor = ke.glow, n.shadowBlur = 3, n.fillRect(ge, Z - 1, F, 2), n.shadowBlur = 0);
5114
5106
  }
5115
5107
  }
5116
5108
  l = requestAnimationFrame(K);
@@ -5121,18 +5113,18 @@ const j = /* @__PURE__ */ r((e) => {
5121
5113
  if (ye(t.value.bars), a.value) {
5122
5114
  if (n = a.value.getContext("2d"), ee(), typeof window < "u") {
5123
5115
  window.addEventListener("resize", _, { passive: !0 });
5124
- const f = /* @__PURE__ */ r(() => {
5116
+ const g = /* @__PURE__ */ r(() => {
5125
5117
  C.value = !document.hidden;
5126
5118
  }, "handleVisibilityChange");
5127
- document.addEventListener("visibilitychange", f, { passive: !0 });
5119
+ document.addEventListener("visibilitychange", g, { passive: !0 });
5128
5120
  }
5129
5121
  te();
5130
5122
  }
5131
5123
  });
5132
5124
  function _() {
5133
5125
  if (typeof window < "u") {
5134
- const f = Math.max(1, Math.min(2, window.devicePixelRatio || 1));
5135
- f !== W && (W = f);
5126
+ const g = Math.max(1, Math.min(2, window.devicePixelRatio || 1));
5127
+ g !== W && (W = g);
5136
5128
  }
5137
5129
  ee();
5138
5130
  }
@@ -5143,21 +5135,21 @@ const j = /* @__PURE__ */ r((e) => {
5143
5135
  }), ie(
5144
5136
  [() => i.audioState?.mode, () => i.size],
5145
5137
  () => {
5146
- h.length !== t.value.bars && ye(t.value.bars), !n && a.value && (n = a.value.getContext("2d")), l && cancelAnimationFrame(l), ee(), te();
5138
+ u.length !== t.value.bars && ye(t.value.bars), !n && a.value && (n = a.value.getContext("2d")), l && cancelAnimationFrame(l), ee(), te();
5147
5139
  },
5148
5140
  { immediate: !1 }
5149
- ), ie(a, (f) => {
5150
- f && !n && (n = f.getContext("2d"), ee(), te());
5151
- }), (f, u) => (m(), y("div", Jr, [
5141
+ ), ie(a, (g) => {
5142
+ g && !n && (n = g.getContext("2d"), ee(), te());
5143
+ }), (g, h) => (f(), y("div", Jr, [
5152
5144
  c("canvas", {
5153
5145
  ref_key: "canvasRef",
5154
5146
  ref: a,
5155
5147
  class: "w-full max-w-full [image-rendering:-webkit-optimize-contrast]",
5156
- style: tt({ height: `${t.value.maxHeight}px` })
5148
+ style: et({ height: `${t.value.maxHeight}px` })
5157
5149
  }, null, 4)
5158
5150
  ]));
5159
5151
  }
5160
- }), rs = /* @__PURE__ */ R({
5152
+ }), rs = /* @__PURE__ */ j({
5161
5153
  __name: "ElSelfAudioVisualizer",
5162
5154
  props: {
5163
5155
  selfController: {},
@@ -5195,7 +5187,7 @@ const j = /* @__PURE__ */ r((e) => {
5195
5187
  getFrequencyData: n
5196
5188
  };
5197
5189
  });
5198
- return (t, s) => (m(), se(os, Zt({ "audio-state": o.value }, i), null, 16, ["audio-state"]));
5190
+ return (t, s) => (f(), se(os, Zt({ "audio-state": o.value }, i), null, 16, ["audio-state"]));
5199
5191
  }
5200
5192
  }), ss = { class: "flex flex-col h-full items-center justify-center gap-4" }, ns = { class: "flex-1 flex flex-col items-center justify-center space-y-8" }, is = { class: "w-full max-w-md" }, as = { class: "text-center flex gap-2 items-center text-xs" }, ls = { class: "flex items-center justify-center gap-2" }, cs = {
5201
5193
  key: 0,
@@ -5209,7 +5201,7 @@ const j = /* @__PURE__ */ r((e) => {
5209
5201
  }, hs = {
5210
5202
  key: 3,
5211
5203
  class: "size-2 bg-red-500 rounded-full"
5212
- }, gs = { class: "text-white/70 text-sm max-w-xs leading-relaxed" }, fs = { class: "flex flex-col items-center space-y-6" }, ms = /* @__PURE__ */ R({
5204
+ }, gs = { class: "text-white/70 text-sm max-w-xs leading-relaxed" }, fs = { class: "flex flex-col items-center space-y-6" }, ms = /* @__PURE__ */ j({
5213
5205
  __name: "ElSelfVoice",
5214
5206
  props: {
5215
5207
  selfController: {}
@@ -5227,7 +5219,7 @@ const j = /* @__PURE__ */ r((e) => {
5227
5219
  console.error("Error toggling call:", d);
5228
5220
  }
5229
5221
  }
5230
- return r(l, "toggleCall"), (d, C) => (m(), y("div", ss, [
5222
+ return r(l, "toggleCall"), (d, C) => (f(), y("div", ss, [
5231
5223
  c("div", ns, [
5232
5224
  c("div", is, [
5233
5225
  G(rs, {
@@ -5238,13 +5230,13 @@ const j = /* @__PURE__ */ r((e) => {
5238
5230
  ]),
5239
5231
  c("div", as, [
5240
5232
  c("div", ls, [
5241
- e.selfController?.voiceState.value.isListening ? (m(), y("div", cs)) : e.selfController?.voiceState.value.isSpeaking ? (m(), y("div", ds)) : e.selfController?.voiceState.value.isConnected && !e.selfController?.voiceState.value.isListening && !e.selfController?.voiceState.value.isSpeaking ? (m(), y("div", us)) : e.selfController?.voiceState.value.error ? (m(), y("div", hs)) : P("", !0)
5233
+ e.selfController?.voiceState.value.isListening ? (f(), y("div", cs)) : e.selfController?.voiceState.value.isSpeaking ? (f(), y("div", ds)) : e.selfController?.voiceState.value.isConnected && !e.selfController?.voiceState.value.isListening && !e.selfController?.voiceState.value.isSpeaking ? (f(), y("div", us)) : e.selfController?.voiceState.value.error ? (f(), y("div", hs)) : P("", !0)
5242
5234
  ]),
5243
5235
  c("p", gs, U(e.selfController?.voiceState.value.error ? `Error: ${e.selfController.voiceState.value.error}` : e.selfController?.voiceState.value.transcript || "Ready to start a call..."), 1)
5244
5236
  ])
5245
5237
  ]),
5246
5238
  c("div", fs, [
5247
- G(rt, {
5239
+ G(ot, {
5248
5240
  theme: o.value,
5249
5241
  icon: t.value,
5250
5242
  size: "lg",
@@ -5281,7 +5273,7 @@ const j = /* @__PURE__ */ r((e) => {
5281
5273
  }, As = { class: "text-center max-w-md space-y-4" }, Is = { class: "text-sm text-white/70 leading-relaxed" }, $s = {
5282
5274
  key: 3,
5283
5275
  class: "bg-white/10 backdrop-blur-sm text-white/70 flex items-center justify-center h-full"
5284
- }, Rs = /* @__PURE__ */ R({
5276
+ }, js = /* @__PURE__ */ j({
5285
5277
  __name: "SelfAgent",
5286
5278
  props: {
5287
5279
  sdk: {},
@@ -5295,11 +5287,11 @@ const j = /* @__PURE__ */ r((e) => {
5295
5287
  },
5296
5288
  emits: ["close", "error"],
5297
5289
  setup(e, { emit: i }) {
5298
- const o = i, t = _t(), s = B(!1), a = B(!1), n = B(), l = B(), d = E(() => t.value?.agentMode?.value ?? "self"), C = E(() => e.sdk.activeUser.value !== void 0), g = E(() => At.find((b) => b.mode === d.value));
5299
- function h() {
5290
+ const o = i, t = _t(), s = B(!1), a = B(!1), n = B(), l = B(), d = E(() => t.value?.agentMode?.value ?? "self"), C = E(() => e.sdk.activeUser.value !== void 0), m = E(() => At.find((b) => b.mode === d.value));
5291
+ function u() {
5300
5292
  t.value && t.value.destroy();
5301
5293
  try {
5302
- t.value = new Je({
5294
+ t.value = new Ye({
5303
5295
  sdk: e.sdk,
5304
5296
  self: e.self,
5305
5297
  context: e.context,
@@ -5309,7 +5301,7 @@ const j = /* @__PURE__ */ r((e) => {
5309
5301
  throw console.error("SelfController creation failed:", k), k;
5310
5302
  }
5311
5303
  }
5312
- r(h, "createSelfController");
5304
+ r(u, "createSelfController");
5313
5305
  function p(k) {
5314
5306
  if (!l.value)
5315
5307
  return;
@@ -5320,7 +5312,7 @@ const j = /* @__PURE__ */ r((e) => {
5320
5312
  }
5321
5313
  return r(p, "applyTheme"), $e(() => {
5322
5314
  try {
5323
- h(), p(e.theme);
5315
+ u(), p(e.theme);
5324
5316
  } catch (k) {
5325
5317
  const b = k instanceof Error ? k.message : "Failed to initialize digital self";
5326
5318
  n.value = b, o("error", b);
@@ -5331,19 +5323,19 @@ const j = /* @__PURE__ */ r((e) => {
5331
5323
  p(k);
5332
5324
  }), ie(() => e.sdk.activeUser.value, (k, b) => {
5333
5325
  b && !k && t.value && t.value.setMode("self");
5334
- }), (k, b) => (m(), y("div", {
5326
+ }), (k, b) => (f(), y("div", {
5335
5327
  ref_key: "rootElement",
5336
5328
  ref: l,
5337
- key: X(Ye)(e.self),
5329
+ key: X(_e)(e.self),
5338
5330
  class: "fiction-sdk @container/agent self-agent w-full h-full overflow-hidden relative",
5339
5331
  "data-test": "self-agent"
5340
5332
  }, [
5341
- e.loading ? (m(), y("div", bs, [
5342
- G(ot, { class: "text-white size-8" })
5343
- ])) : e.self && !n.value ? (m(), y("div", {
5333
+ e.loading ? (f(), y("div", bs, [
5334
+ G(tt, { class: "text-white size-8" })
5335
+ ])) : e.self && !n.value ? (f(), y("div", {
5344
5336
  key: 1,
5345
- class: "absolute inset-0 bg-cover bg-center bg-no-repeat",
5346
- style: tt({ backgroundImage: `url(${X(Ye)(e.self) || X(We)()})` })
5337
+ class: $(["absolute inset-0 bg-cover bg-center bg-no-repeat", { "backdrop-blur-sm": e.self.avatar?.quality === "low" || e.self.cover?.quality === "low" }]),
5338
+ style: et({ backgroundImage: `url(${X(_e)(e.self) || X(He)()})` })
5347
5339
  }, [
5348
5340
  c("div", {
5349
5341
  class: $(["absolute inset-0 bg-gradient-to-br z-0", d.value === "self" ? "from-black/70 via-black/50 to-black/80" : "from-black/90 via-black/90 to-black/100"])
@@ -5372,12 +5364,12 @@ const j = /* @__PURE__ */ r((e) => {
5372
5364
  onClick: b[1] || (b[1] = (z) => a.value = !0)
5373
5365
  }, [
5374
5366
  c("i", {
5375
- class: $([g.value?.icon, "size-4 opacity-60"])
5367
+ class: $([m.value?.icon, "size-4 opacity-60"])
5376
5368
  }, null, 2),
5377
- c("span", ps, U(g.value?.label), 1),
5369
+ c("span", ps, U(m.value?.label), 1),
5378
5370
  b[7] || (b[7] = c("i", { class: "i-tabler-chevron-down size-4" }, null, -1))
5379
5371
  ], 2),
5380
- e.hasClose ? (m(), y("div", vs, [
5372
+ e.hasClose ? (f(), y("div", vs, [
5381
5373
  c("button", {
5382
5374
  class: "cursor-pointer flex items-center p-3 rounded-2xl text-white/70 hover:bg-white/10 transition-colors",
5383
5375
  onClick: b[2] || (b[2] = Ct((z) => o("close", "button"), ["stop"]))
@@ -5387,11 +5379,11 @@ const j = /* @__PURE__ */ r((e) => {
5387
5379
  ])) : P("", !0)
5388
5380
  ], 2)
5389
5381
  ], 2),
5390
- d.value === "self" ? (m(), y("div", xs, [
5382
+ d.value === "self" ? (f(), y("div", xs, [
5391
5383
  b[9] || (b[9] = c("div", { class: "flex-1 basis-0 mb-12" }, null, -1)),
5392
5384
  G(Nr, { self: e.self }, null, 8, ["self"]),
5393
5385
  c("div", ys, [
5394
- G(rt, {
5386
+ G(ot, {
5395
5387
  theme: "primary",
5396
5388
  size: "lg",
5397
5389
  class: "w-full",
@@ -5405,30 +5397,30 @@ const j = /* @__PURE__ */ r((e) => {
5405
5397
  _: 1
5406
5398
  })
5407
5399
  ])
5408
- ])) : d.value === "talk" ? (m(), y("div", ks, [
5409
- C.value ? (m(), y(Ce, { key: 1 }, [
5400
+ ])) : d.value === "talk" ? (f(), y("div", ks, [
5401
+ C.value ? (f(), y(Ce, { key: 1 }, [
5410
5402
  c("div", null, [
5411
5403
  c("div", ws, [
5412
5404
  G(Mo, { self: e.self }, null, 8, ["self"])
5413
5405
  ])
5414
5406
  ]),
5415
5407
  G(ms, { "self-controller": t.value }, null, 8, ["self-controller"])
5416
- ], 64)) : (m(), se(ft, {
5408
+ ], 64)) : (f(), se(gt, {
5417
5409
  key: 0,
5418
5410
  sdk: e.sdk
5419
5411
  }, null, 8, ["sdk"]))
5420
- ])) : (m(), y("div", Cs, [
5412
+ ])) : (f(), y("div", Cs, [
5421
5413
  c("div", Ss, [
5422
- d.value === "chat" ? (m(), y(Ce, { key: 0 }, [
5423
- C.value ? (m(), se(Er, {
5414
+ d.value === "chat" ? (f(), y(Ce, { key: 0 }, [
5415
+ C.value ? (f(), se(Er, {
5424
5416
  key: 1,
5425
5417
  "self-controller": t.value,
5426
5418
  self: e.self
5427
- }, null, 8, ["self-controller", "self"])) : (m(), se(ft, {
5419
+ }, null, 8, ["self-controller", "self"])) : (f(), se(gt, {
5428
5420
  key: 0,
5429
5421
  sdk: e.sdk
5430
5422
  }, null, 8, ["sdk"]))
5431
- ], 64)) : d.value === "info" ? (m(), se(vr, {
5423
+ ], 64)) : d.value === "info" ? (f(), se(vr, {
5432
5424
  key: 1,
5433
5425
  self: e.self
5434
5426
  }, null, 8, ["self"])) : P("", !0)
@@ -5447,7 +5439,7 @@ const j = /* @__PURE__ */ r((e) => {
5447
5439
  ], -1)
5448
5440
  ])], 2)
5449
5441
  ], 2)
5450
- ], 4)) : n.value ? (m(), y("div", Ms, [
5442
+ ], 6)) : n.value ? (f(), y("div", Ms, [
5451
5443
  c("div", As, [
5452
5444
  b[11] || (b[11] = c("div", { class: "flex justify-center" }, [
5453
5445
  c("div", { class: "rounded-full bg-red-500/20 flex items-center justify-center size-10" }, [
@@ -5457,7 +5449,7 @@ const j = /* @__PURE__ */ r((e) => {
5457
5449
  b[12] || (b[12] = c("h3", { class: "text-lg font-medium" }, " Self Error ", -1)),
5458
5450
  c("p", Is, U(n.value), 1)
5459
5451
  ])
5460
- ])) : (m(), y("div", $s, " There was an error loading the digital self. Please try again later. ")),
5452
+ ])) : (f(), y("div", $s, " There was an error loading the digital self. Please try again later. ")),
5461
5453
  G(Yr, {
5462
5454
  modelValue: s.value,
5463
5455
  "onUpdate:modelValue": b[4] || (b[4] = (z) => s.value = z),
@@ -5475,7 +5467,7 @@ const j = /* @__PURE__ */ r((e) => {
5475
5467
  }), zs = { class: "self-wrap" }, Es = {
5476
5468
  key: 0,
5477
5469
  class: "flex items-center justify-center h-full"
5478
- }, js = /* @__PURE__ */ R({
5470
+ }, Rs = /* @__PURE__ */ j({
5479
5471
  __name: "SelfWrap",
5480
5472
  props: {
5481
5473
  sdk: {},
@@ -5567,8 +5559,8 @@ const j = /* @__PURE__ */ r((e) => {
5567
5559
  }
5568
5560
  });
5569
5561
  }
5570
- }), (l, d) => (m(), y("div", zs, [
5571
- s.value ? (m(), y("div", Es, [...d[0] || (d[0] = [
5562
+ }), (l, d) => (f(), y("div", zs, [
5563
+ s.value ? (f(), y("div", Es, [...d[0] || (d[0] = [
5572
5564
  c("div", { class: "animate-spin rounded-full size-6 border-b-2 border-white" }, null, -1)
5573
5565
  ])])) : a.value ? Ie(l.$slots, "default", {
5574
5566
  key: 1,
@@ -5583,20 +5575,20 @@ const j = /* @__PURE__ */ r((e) => {
5583
5575
  });
5584
5576
  export {
5585
5577
  oo as A,
5586
- _e as C,
5578
+ Ze as C,
5587
5579
  Fs as V,
5588
- jr as _,
5589
- js as a,
5590
- Rs as b,
5591
- We as c,
5580
+ Rr as _,
5581
+ Rs as a,
5582
+ js as b,
5583
+ He as c,
5592
5584
  ro as d,
5593
5585
  so as e,
5594
5586
  Bs as f,
5595
- Ye as g,
5587
+ _e as g,
5596
5588
  At as h,
5597
- gt as i,
5598
- Oe as j,
5589
+ ht as i,
5590
+ Ue as j,
5599
5591
  Ns as k,
5600
5592
  no as p
5601
5593
  };
5602
- //# sourceMappingURL=SelfWrap.vue_vue_type_script_setup_true_lang-5yJk1rsa.js.map
5594
+ //# sourceMappingURL=SelfWrap.vue_vue_type_script_setup_true_lang-CxBXV2uC.js.map