@pagelines/sdk 1.0.190 → 1.0.192

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.
@@ -1,15 +1,15 @@
1
1
  var sn = Object.defineProperty;
2
2
  var Ss = (n, t, e) => t in n ? sn(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
3
3
  var i = (n, t) => sn(n, "name", { value: t, configurable: !0 });
4
- var R = (n, t, e) => Ss(n, typeof t != "symbol" ? t + "" : t, e);
5
- import { defineComponent as se, createElementBlock as v, openBlock as b, createElementVNode as p, normalizeClass as _, ref as W, watch as Be, createBlock as me, TransitionGroup as zn, withCtx as Se, renderSlot as ht, computed as U, createCommentVNode as $, onMounted as Et, Fragment as Ae, renderList as Ct, withDirectives as Ln, vModelText as Dn, toDisplayString as Z, createVNode as J, withKeys as Ts, createTextVNode as Tt, unref as ne, resolveDynamicComponent as Es, nextTick as cr, Transition as on, withModifiers as kr, normalizeStyle as $n, shallowRef as Cs, onUnmounted as Rs } from "vue";
6
- import { S as it } from "./socialPlatforms-Ck-b3SnQ.js";
4
+ var M = (n, t, e) => Ss(n, typeof t != "symbol" ? t + "" : t, e);
5
+ import { defineComponent as ae, createElementBlock as v, openBlock as b, createElementVNode as p, normalizeClass as z, ref as G, watch as Fe, createBlock as me, TransitionGroup as zn, withCtx as Te, renderSlot as gt, computed as U, createCommentVNode as O, onMounted as Rt, Fragment as Se, renderList as It, withDirectives as Ln, vModelText as Dn, toDisplayString as X, createVNode as te, withKeys as Ts, createTextVNode as Ct, unref as oe, resolveDynamicComponent as Es, nextTick as cr, Transition as on, withModifiers as kr, normalizeStyle as $n, shallowRef as Cs, onUnmounted as Rs } from "vue";
6
+ import { S as lt } from "./socialPlatforms-Ck-b3SnQ.js";
7
7
  import { S as On, c as Is, P as Ms } from "./sdkClient--jt-zUDx.js";
8
8
  import { getDefaultAvatarUrl as Xt } from "@pagelines/types";
9
9
  const _s = { class: "spinner max-w-sm" }, zs = {
10
10
  class: "ring-circular h-full w-full origin-center",
11
11
  viewBox: "25 25 50 50"
12
- }, Er = /* @__PURE__ */ se({
12
+ }, Er = /* @__PURE__ */ ae({
13
13
  __name: "FSpinner",
14
14
  props: {
15
15
  width: { type: String, default: "" },
@@ -19,7 +19,7 @@ const _s = { class: "spinner max-w-sm" }, zs = {
19
19
  return (t, e) => (b(), v("div", _s, [
20
20
  (b(), v("svg", zs, [
21
21
  p("circle", {
22
- class: _([n.colorMode, "ring-path"]),
22
+ class: z([n.colorMode, "ring-path"]),
23
23
  cx: "50",
24
24
  cy: "50",
25
25
  r: "20",
@@ -278,21 +278,21 @@ const Pn = [
278
278
  ], Br = class Br extends On {
279
279
  constructor(e) {
280
280
  super("ClientAudio", e);
281
- R(this, "audioContext");
282
- R(this, "analyser");
283
- R(this, "microphone");
284
- R(this, "audioLevelInterval");
285
- R(this, "stream");
286
- R(this, "visibilityChangeHandler");
287
- R(this, "vadTimeout");
288
- R(this, "lastSpeechTime", 0);
281
+ M(this, "audioContext");
282
+ M(this, "analyser");
283
+ M(this, "microphone");
284
+ M(this, "audioLevelInterval");
285
+ M(this, "stream");
286
+ M(this, "visibilityChangeHandler");
287
+ M(this, "vadTimeout");
288
+ M(this, "lastSpeechTime", 0);
289
289
  // VAD configuration - tuned for voice isolation (ignores background music)
290
- R(this, "VAD_SILENCE_THRESHOLD", 0.03);
290
+ M(this, "VAD_SILENCE_THRESHOLD", 0.03);
291
291
  // 3% audio level = silence (filters out quiet background noise)
292
- R(this, "VAD_SILENCE_DURATION", 1200);
292
+ M(this, "VAD_SILENCE_DURATION", 1200);
293
293
  // 1.2 seconds of silence before considering "stopped speaking"
294
294
  // Public reactive state
295
- R(this, "audioLevels", W({ inputLevel: 0, outputLevel: 0 }));
295
+ M(this, "audioLevels", G({ inputLevel: 0, outputLevel: 0 }));
296
296
  this.setupVisibilityHandler();
297
297
  }
298
298
  /**
@@ -545,18 +545,18 @@ i(Ns, "parseButtonTemplate");
545
545
  const Ur = class Ur extends On {
546
546
  constructor(e) {
547
547
  super("AgentController", e);
548
- R(this, "conversation");
549
- R(this, "isTextMode", !1);
550
- R(this, "lastMessage", { hash: "", time: 0 });
551
- R(this, "clientAudio");
552
- R(this, "unwatchAudio");
553
- R(this, "isConnecting", !1);
548
+ M(this, "conversation");
549
+ M(this, "isTextMode", !1);
550
+ M(this, "lastMessage", { hash: "", time: 0 });
551
+ M(this, "clientAudio");
552
+ M(this, "unwatchAudio");
553
+ M(this, "isConnecting", !1);
554
554
  // Chat conversation tracking (server-managed persistence)
555
- R(this, "conversationId");
555
+ M(this, "conversationId");
556
556
  // Voice session tracking (kept for voice flow)
557
- R(this, "sessionId");
558
- R(this, "conversationStartTime");
559
- R(this, "voiceState", W({
557
+ M(this, "sessionId");
558
+ M(this, "conversationStartTime");
559
+ M(this, "voiceState", G({
560
560
  isActive: !1,
561
561
  isConnected: !1,
562
562
  isSpeaking: !1,
@@ -565,14 +565,14 @@ const Ur = class Ur extends On {
565
565
  transcript: "Tap to begin voice conversation",
566
566
  connectionStatus: "disconnected"
567
567
  }));
568
- R(this, "textState", W({
568
+ M(this, "textState", G({
569
569
  isActive: !1,
570
570
  isConnected: !1,
571
571
  isThinking: !1,
572
572
  connectionStatus: "disconnected"
573
573
  }));
574
- R(this, "agentMode", W("self"));
575
- R(this, "sharedMessages", W([]));
574
+ M(this, "agentMode", G("self"));
575
+ M(this, "sharedMessages", G([]));
576
576
  this.clientAudio = new xr(e), this.setupModeWatcher();
577
577
  }
578
578
  get chatEnabled() {
@@ -657,7 +657,7 @@ Current User:
657
657
  }), this.clientAudio.resetAudioLevels());
658
658
  }
659
659
  setupModeWatcher() {
660
- Be(this.agentMode, async (e, r) => {
660
+ Fe(this.agentMode, async (e, r) => {
661
661
  this.logger.info(`Mode changed from ${r} to ${e}`), this.conversation && (r === "talk" || r === "chat") && await this.endConversation();
662
662
  });
663
663
  }
@@ -802,7 +802,7 @@ Current User:
802
802
  };
803
803
  i(Ur, "AgentController");
804
804
  let vr = Ur;
805
- const Bs = /* @__PURE__ */ se({
805
+ const Bs = /* @__PURE__ */ ae({
806
806
  __name: "EffectTransitionList",
807
807
  props: {
808
808
  disabled: { type: Boolean, default: !1 },
@@ -812,8 +812,8 @@ const Bs = /* @__PURE__ */ se({
812
812
  return (t, e) => (b(), me(zn, {
813
813
  name: n.disabled ? "" : "nlist"
814
814
  }, {
815
- default: Se(() => [
816
- ht(t.$slots, "default")
815
+ default: Te(() => [
816
+ gt(t.$slots, "default")
817
817
  ]),
818
818
  _: 3
819
819
  }, 8, ["name"]));
@@ -821,7 +821,7 @@ const Bs = /* @__PURE__ */ se({
821
821
  }), Us = {
822
822
  key: 0,
823
823
  class: "absolute inset-0 flex items-center justify-center"
824
- }, Nn = /* @__PURE__ */ se({
824
+ }, Nn = /* @__PURE__ */ ae({
825
825
  __name: "ElAgentButton",
826
826
  props: {
827
827
  theme: { default: "primary" },
@@ -846,27 +846,27 @@ const Bs = /* @__PURE__ */ se({
846
846
  lg: "size-5"
847
847
  })[n.size]);
848
848
  return (s, o) => (b(), v("button", {
849
- 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", [t.value, e.value]])
849
+ class: z(["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", [t.value, e.value]])
850
850
  }, [
851
851
  n.loading ? (b(), v("div", Us, [...o[0] || (o[0] = [
852
852
  p("i", { class: "i-svg-spinners-90-ring-with-bg size-5" }, null, -1)
853
- ])])) : $("", !0),
853
+ ])])) : O("", !0),
854
854
  p("span", {
855
- class: _(["flex items-center gap-2 transition-opacity duration-200", n.loading ? "opacity-0" : "opacity-100"])
855
+ class: z(["flex items-center gap-2 transition-opacity duration-200", n.loading ? "opacity-0" : "opacity-100"])
856
856
  }, [
857
857
  n.icon ? (b(), v("i", {
858
858
  key: 0,
859
- class: _([n.icon, r.value])
860
- }, null, 2)) : $("", !0),
861
- ht(s.$slots, "default"),
859
+ class: z([n.icon, r.value])
860
+ }, null, 2)) : O("", !0),
861
+ gt(s.$slots, "default"),
862
862
  n.iconAfter ? (b(), v("i", {
863
863
  key: 1,
864
- class: _([n.iconAfter, r.value])
865
- }, null, 2)) : $("", !0)
864
+ class: z([n.iconAfter, r.value])
865
+ }, null, 2)) : O("", !0)
866
866
  ], 2)
867
867
  ], 2));
868
868
  }
869
- }), Fs = ["value"], Hs = /* @__PURE__ */ se({
869
+ }), Fs = ["value"], Hs = /* @__PURE__ */ ae({
870
870
  __name: "AgentInputEmail",
871
871
  props: {
872
872
  modelValue: { default: "" }
@@ -884,7 +884,7 @@ const Bs = /* @__PURE__ */ se({
884
884
  onInput: s[0] || (s[0] = (o) => e("update:modelValue", o.target.value))
885
885
  }, null, 40, Fs));
886
886
  }
887
- }), Vs = { class: "flex gap-1.5 justify-center" }, Gs = ["onUpdate:modelValue", "onInput", "onKeydown", "onPaste", "onFocus"], js = /* @__PURE__ */ se({
887
+ }), Vs = { class: "flex gap-1.5 justify-center" }, Gs = ["onUpdate:modelValue", "onInput", "onKeydown", "onPaste", "onFocus"], js = /* @__PURE__ */ ae({
888
888
  __name: "AgentInputOneTimeCode",
889
889
  props: {
890
890
  modelValue: {},
@@ -893,12 +893,12 @@ const Bs = /* @__PURE__ */ se({
893
893
  },
894
894
  emits: ["update:modelValue", "autoSubmit"],
895
895
  setup(n, { emit: t }) {
896
- const e = n, r = t, s = W([]), o = W(Array.from({ length: e.length }).fill("")), a = W(!1);
897
- Et(() => {
896
+ const e = n, r = t, s = G([]), o = G(Array.from({ length: e.length }).fill("")), a = G(!1);
897
+ Rt(() => {
898
898
  e.modelValue && (o.value = e.modelValue.split("").slice(0, e.length)), e.focusFirst && !("ontouchstart" in window) && s.value[0]?.focus();
899
- }), Be(() => e.modelValue, (g) => {
899
+ }), Fe(() => e.modelValue, (g) => {
900
900
  o.value = g ? g.split("").slice(0, e.length) : Array.from({ length: e.length }).fill("");
901
- }), Be(o, () => {
901
+ }), Fe(o, () => {
902
902
  const g = o.value.filter(Boolean).join("");
903
903
  r("update:modelValue", g), g.length === e.length && r("autoSubmit", g);
904
904
  }, { deep: !0 });
@@ -910,10 +910,10 @@ const Bs = /* @__PURE__ */ se({
910
910
  s.value[e.length - 1]?.focus(), a.value = !1;
911
911
  }, 10);
912
912
  else {
913
- const M = [...o.value];
914
- k.split("").slice(0, e.length - g).forEach((N, X) => {
915
- M[g + X] = N;
916
- }), o.value = M;
913
+ const _ = [...o.value];
914
+ k.split("").slice(0, e.length - g).forEach((N, K) => {
915
+ _[g + K] = N;
916
+ }), o.value = _;
917
917
  const E = Math.min(g + k.length, e.length - 1);
918
918
  setTimeout(() => {
919
919
  s.value[E]?.focus(), a.value = !1;
@@ -936,21 +936,21 @@ const Bs = /* @__PURE__ */ se({
936
936
  o.value[f] = "";
937
937
  }
938
938
  return i(h, "onFocus"), (g, f) => (b(), v("div", Vs, [
939
- (b(!0), v(Ae, null, Ct(n.length, (k) => Ln((b(), v("input", {
939
+ (b(!0), v(Se, null, It(n.length, (k) => Ln((b(), v("input", {
940
940
  key: k,
941
941
  ref_for: !0,
942
- ref: /* @__PURE__ */ i((M) => s.value[k - 1] = M, "ref"),
943
- "onUpdate:modelValue": /* @__PURE__ */ i((M) => o.value[k - 1] = M, "onUpdate:modelValue"),
942
+ ref: /* @__PURE__ */ i((_) => s.value[k - 1] = _, "ref"),
943
+ "onUpdate:modelValue": /* @__PURE__ */ i((_) => o.value[k - 1] = _, "onUpdate:modelValue"),
944
944
  type: "text",
945
945
  inputmode: "numeric",
946
946
  autocomplete: "one-time-code",
947
947
  class: "size-11 text-center font-mono text-theme-900 bg-white border border-white rounded-lg focus:outline-none transition-all",
948
948
  style: { "font-size": "16px" },
949
949
  maxlength: "1",
950
- onInput: /* @__PURE__ */ i((M) => c(k - 1, M), "onInput"),
951
- onKeydown: /* @__PURE__ */ i((M) => d(k - 1, M), "onKeydown"),
952
- onPaste: /* @__PURE__ */ i((M) => l(k - 1, M), "onPaste"),
953
- onFocus: /* @__PURE__ */ i((M) => h(k - 1), "onFocus")
950
+ onInput: /* @__PURE__ */ i((_) => c(k - 1, _), "onInput"),
951
+ onKeydown: /* @__PURE__ */ i((_) => d(k - 1, _), "onKeydown"),
952
+ onPaste: /* @__PURE__ */ i((_) => l(k - 1, _), "onPaste"),
953
+ onFocus: /* @__PURE__ */ i((_) => h(k - 1), "onFocus")
954
954
  }, null, 40, Gs)), [
955
955
  [Dn, o.value[k - 1]]
956
956
  ])), 128))
@@ -965,13 +965,13 @@ const Bs = /* @__PURE__ */ se({
965
965
  }, Qs = {
966
966
  key: "code-field",
967
967
  class: "w-full"
968
- }, cn = /* @__PURE__ */ se({
968
+ }, cn = /* @__PURE__ */ ae({
969
969
  __name: "ElAuthGate",
970
970
  props: {
971
971
  sdk: {}
972
972
  },
973
973
  setup(n) {
974
- const t = W({ email: "", code: "" }), e = W("email"), r = W(!1), s = {
974
+ const t = G({ email: "", code: "" }), e = G("email"), r = G(!1), s = {
975
975
  email: {
976
976
  title: "Enter Your Email",
977
977
  button: { label: "Continue", disabled: /* @__PURE__ */ i(() => !t.value.email || r.value, "disabled") },
@@ -1001,7 +1001,7 @@ const Bs = /* @__PURE__ */ se({
1001
1001
  }, "action")
1002
1002
  }
1003
1003
  }, o = U(() => s[e.value]);
1004
- return Be(() => n.sdk.activeUser.value, (a) => {
1004
+ return Fe(() => n.sdk.activeUser.value, (a) => {
1005
1005
  a && e.value === "code" && console.log("[ElAuthGate] Authentication successful", { email: a.email });
1006
1006
  }), (a, l) => (b(), v("div", {
1007
1007
  "data-test": "auth-form",
@@ -1009,20 +1009,20 @@ const Bs = /* @__PURE__ */ se({
1009
1009
  class: "flex flex-col items-center justify-center h-full p-6"
1010
1010
  }, [
1011
1011
  p("div", qs, [
1012
- n.sdk.error.value ? (b(), v("p", Ys, Z(n.sdk.error.value), 1)) : $("", !0),
1013
- p("h3", Zs, Z(o.value.title), 1),
1012
+ n.sdk.error.value ? (b(), v("p", Ys, X(n.sdk.error.value), 1)) : O("", !0),
1013
+ p("h3", Zs, X(o.value.title), 1),
1014
1014
  p("div", Xs, [
1015
- J(Bs, null, {
1016
- default: Se(() => [
1015
+ te(Bs, null, {
1016
+ default: Te(() => [
1017
1017
  e.value === "email" ? (b(), v("div", Ks, [
1018
- J(Hs, {
1018
+ te(Hs, {
1019
1019
  modelValue: t.value.email,
1020
1020
  "onUpdate:modelValue": l[0] || (l[0] = (c) => t.value.email = c),
1021
1021
  "data-test": "auth-email-input",
1022
1022
  onKeyup: Ts(o.value.action, ["enter"])
1023
1023
  }, null, 8, ["modelValue", "onKeyup"])
1024
1024
  ])) : (b(), v("div", Qs, [
1025
- J(js, {
1025
+ te(js, {
1026
1026
  modelValue: t.value.code,
1027
1027
  "onUpdate:modelValue": l[1] || (l[1] = (c) => t.value.code = c),
1028
1028
  length: 6,
@@ -1035,7 +1035,7 @@ const Bs = /* @__PURE__ */ se({
1035
1035
  key: o.value.button.label,
1036
1036
  class: "space-y-4 w-full"
1037
1037
  }, [
1038
- J(Nn, {
1038
+ te(Nn, {
1039
1039
  theme: "primary",
1040
1040
  size: "md",
1041
1041
  class: "w-full",
@@ -1044,8 +1044,8 @@ const Bs = /* @__PURE__ */ se({
1044
1044
  disabled: o.value.button.disabled() || n.sdk.loading.value,
1045
1045
  onClick: o.value.action
1046
1046
  }, {
1047
- default: Se(() => [
1048
- Tt(Z(o.value.button.label), 1)
1047
+ default: Te(() => [
1048
+ Ct(X(o.value.button.label), 1)
1049
1049
  ]),
1050
1050
  _: 1
1051
1051
  }, 8, ["loading", "disabled", "onClick"]),
@@ -1053,7 +1053,7 @@ const Bs = /* @__PURE__ */ se({
1053
1053
  key: 0,
1054
1054
  class: "w-full text-xs text-white/50 hover:text-white/70 transition-colors py-2",
1055
1055
  onClick: l[2] || (l[2] = (c) => e.value = "email")
1056
- }, " Change Email ")) : $("", !0)
1056
+ }, " Change Email ")) : O("", !0)
1057
1057
  ]))
1058
1058
  ]),
1059
1059
  _: 1
@@ -1065,7 +1065,7 @@ const Bs = /* @__PURE__ */ se({
1065
1065
  }), Js = { class: "relative flex-shrink-0" }, eo = ["src", "alt"], to = {
1066
1066
  key: 0,
1067
1067
  class: "absolute top-1 right-1"
1068
- }, ro = { class: "min-w-0" }, Cr = /* @__PURE__ */ se({
1068
+ }, ro = { class: "min-w-0" }, Cr = /* @__PURE__ */ ae({
1069
1069
  __name: "ElModeHeader",
1070
1070
  props: {
1071
1071
  agent: {},
@@ -1078,20 +1078,20 @@ const Bs = /* @__PURE__ */ se({
1078
1078
  return n.agent.avatar?.src || Xt(n.agent.name);
1079
1079
  }
1080
1080
  return i(t, "getAvatarSrc"), (e, r) => (b(), v("div", {
1081
- class: _(["flex gap-4", [
1081
+ class: z(["flex gap-4", [
1082
1082
  n.layout === "centered" ? "flex-col items-center text-center" : "flex-row items-center justify-center"
1083
1083
  ]])
1084
1084
  }, [
1085
1085
  p("div", Js, [
1086
1086
  p("div", {
1087
- class: _(["rounded-full overflow-hidden border-white", n.size === "lg" ? "w-20 h-20 sm:w-24 sm:h-24 border-4" : "w-16 sm:size-16 border-2"])
1087
+ class: z(["rounded-full overflow-hidden border-white", n.size === "lg" ? "w-20 h-20 sm:w-24 sm:h-24 border-4" : "w-16 sm:size-16 border-2"])
1088
1088
  }, [
1089
1089
  p("img", {
1090
1090
  src: t(),
1091
1091
  alt: n.agent.name,
1092
1092
  class: "w-full h-full object-cover",
1093
1093
  onError: r[0] || (r[0] = //@ts-ignore
1094
- (...s) => ne(jt) && ne(jt)(...s))
1094
+ (...s) => oe(jt) && oe(jt)(...s))
1095
1095
  }, null, 40, eo)
1096
1096
  ], 2),
1097
1097
  n.showOnlineIndicator ? (b(), v("div", to, [...r[1] || (r[1] = [
@@ -1100,21 +1100,21 @@ const Bs = /* @__PURE__ */ se({
1100
1100
  style: { "animation-duration": "3s" }
1101
1101
  }, null, -1),
1102
1102
  p("div", { class: "size-3 bg-green-500 rounded-full ring-2 ring-white" }, null, -1)
1103
- ])])) : $("", !0)
1103
+ ])])) : O("", !0)
1104
1104
  ]),
1105
1105
  p("div", ro, [
1106
1106
  p("h1", {
1107
- class: _(["font-light text-white mb-1 truncate", [
1107
+ class: z(["font-light text-white mb-1 truncate", [
1108
1108
  n.size === "lg" ? "text-3xl mb-2" : "text-xl sm:text-2xl tracking-wide leading-tight",
1109
1109
  n.layout === "horizontal" ? "text-white/95" : ""
1110
1110
  ]])
1111
- }, Z(n.agent.name), 3),
1111
+ }, X(n.agent.name), 3),
1112
1112
  p("p", {
1113
- class: _(["font-light line-clamp-1", [
1113
+ class: z(["font-light line-clamp-1", [
1114
1114
  n.size === "lg" ? "text-base text-white/60" : "text-sm sm:text-base",
1115
1115
  n.layout === "horizontal" ? "text-white/70 truncate" : "text-white/60"
1116
1116
  ]])
1117
- }, Z(n.layout === "horizontal" ? n.agent.title || "Digital Agent" : n.agent.title), 3)
1117
+ }, X(n.layout === "horizontal" ? n.agent.title || "Digital Agent" : n.agent.title), 3)
1118
1118
  ])
1119
1119
  ], 2));
1120
1120
  }
@@ -1287,8 +1287,8 @@ const Bs = /* @__PURE__ */ se({
1287
1287
  */
1288
1288
  g.startsWith(yr) && (f = g.slice(1), k = !0)
1289
1289
  );
1290
- const M = d && d > c ? d - c : void 0;
1291
- return hn(o, k, f, M);
1290
+ const _ = d && d > c ? d - c : void 0;
1291
+ return hn(o, k, f, _);
1292
1292
  }, "parseClassName");
1293
1293
  if (t) {
1294
1294
  const s = t + dn, o = r;
@@ -1333,33 +1333,33 @@ const Bs = /* @__PURE__ */ se({
1333
1333
  isExternal: g,
1334
1334
  modifiers: f,
1335
1335
  hasImportantModifier: k,
1336
- baseClassName: M,
1336
+ baseClassName: _,
1337
1337
  maybePostfixModifierPosition: E
1338
1338
  } = e(h);
1339
1339
  if (g) {
1340
1340
  c = h + (c.length > 0 ? " " + c : c);
1341
1341
  continue;
1342
1342
  }
1343
- let N = !!E, X = r(N ? M.substring(0, E) : M);
1344
- if (!X) {
1343
+ let N = !!E, K = r(N ? _.substring(0, E) : _);
1344
+ if (!K) {
1345
1345
  if (!N) {
1346
1346
  c = h + (c.length > 0 ? " " + c : c);
1347
1347
  continue;
1348
1348
  }
1349
- if (X = r(M), !X) {
1349
+ if (K = r(_), !K) {
1350
1350
  c = h + (c.length > 0 ? " " + c : c);
1351
1351
  continue;
1352
1352
  }
1353
1353
  N = !1;
1354
1354
  }
1355
- const y = f.length === 0 ? "" : f.length === 1 ? f[0] : o(f).join(":"), x = k ? y + yr : y, w = x + X;
1355
+ const y = f.length === 0 ? "" : f.length === 1 ? f[0] : o(f).join(":"), x = k ? y + yr : y, w = x + K;
1356
1356
  if (a.indexOf(w) > -1)
1357
1357
  continue;
1358
1358
  a.push(w);
1359
- const B = s(X, N);
1359
+ const B = s(K, N);
1360
1360
  for (let H = 0; H < B.length; ++H) {
1361
- const ee = B[H];
1362
- a.push(x + ee);
1361
+ const re = B[H];
1362
+ a.push(x + re);
1363
1363
  }
1364
1364
  c = h + (c.length > 0 ? " " + c : c);
1365
1365
  }
@@ -1389,22 +1389,22 @@ const Bs = /* @__PURE__ */ se({
1389
1389
  return s(c, h), h;
1390
1390
  }, "tailwindMerge");
1391
1391
  return o = a, (...c) => o(Ao(...c));
1392
- }, "createTailwindMerge"), To = [], Q = /* @__PURE__ */ i((n) => {
1392
+ }, "createTailwindMerge"), To = [], ee = /* @__PURE__ */ i((n) => {
1393
1393
  const t = /* @__PURE__ */ i((e) => e[n] || To, "themeGetter");
1394
1394
  return t.isThemeGetter = !0, t;
1395
- }, "fromTheme"), Vn = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Gn = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Eo = /^\d+\/\d+$/, Co = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ro = /\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$/, Io = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Mo = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, _o = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, at = /* @__PURE__ */ i((n) => Eo.test(n), "isFraction"), L = /* @__PURE__ */ i((n) => !!n && !Number.isNaN(Number(n)), "isNumber"), $e = /* @__PURE__ */ i((n) => !!n && Number.isInteger(Number(n)), "isInteger"), ur = /* @__PURE__ */ i((n) => n.endsWith("%") && L(n.slice(0, -1)), "isPercent"), Me = /* @__PURE__ */ i((n) => Co.test(n), "isTshirtSize"), jn = /* @__PURE__ */ i(() => !0, "isAny"), zo = /* @__PURE__ */ i((n) => (
1395
+ }, "fromTheme"), Vn = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Gn = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Eo = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Co = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ro = /\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$/, Io = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Mo = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, _o = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Oe = /* @__PURE__ */ i((n) => Eo.test(n), "isFraction"), L = /* @__PURE__ */ i((n) => !!n && !Number.isNaN(Number(n)), "isNumber"), Pe = /* @__PURE__ */ i((n) => !!n && Number.isInteger(Number(n)), "isInteger"), ur = /* @__PURE__ */ i((n) => n.endsWith("%") && L(n.slice(0, -1)), "isPercent"), ze = /* @__PURE__ */ i((n) => Co.test(n), "isTshirtSize"), jn = /* @__PURE__ */ i(() => !0, "isAny"), zo = /* @__PURE__ */ i((n) => (
1396
1396
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
1397
1397
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
1398
1398
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
1399
1399
  Ro.test(n) && !Io.test(n)
1400
- ), "isLengthOnly"), Ir = /* @__PURE__ */ i(() => !1, "isNever"), Lo = /* @__PURE__ */ i((n) => Mo.test(n), "isShadow"), Do = /* @__PURE__ */ i((n) => _o.test(n), "isImage"), $o = /* @__PURE__ */ i((n) => !A(n) && !S(n), "isAnyNonArbitrary"), Oo = /* @__PURE__ */ i((n) => Ue(n, Yn, Ir), "isArbitrarySize"), A = /* @__PURE__ */ i((n) => Vn.test(n), "isArbitraryValue"), We = /* @__PURE__ */ i((n) => Ue(n, Zn, zo), "isArbitraryLength"), gn = /* @__PURE__ */ i((n) => Ue(n, Go, L), "isArbitraryNumber"), Po = /* @__PURE__ */ i((n) => Ue(n, Kn, jn), "isArbitraryWeight"), No = /* @__PURE__ */ i((n) => Ue(n, Xn, Ir), "isArbitraryFamilyName"), pn = /* @__PURE__ */ i((n) => Ue(n, Wn, Ir), "isArbitraryPosition"), Bo = /* @__PURE__ */ i((n) => Ue(n, qn, Do), "isArbitraryImage"), Nt = /* @__PURE__ */ i((n) => Ue(n, Qn, Lo), "isArbitraryShadow"), S = /* @__PURE__ */ i((n) => Gn.test(n), "isArbitraryVariable"), mt = /* @__PURE__ */ i((n) => Ze(n, Zn), "isArbitraryVariableLength"), Uo = /* @__PURE__ */ i((n) => Ze(n, Xn), "isArbitraryVariableFamilyName"), fn = /* @__PURE__ */ i((n) => Ze(n, Wn), "isArbitraryVariablePosition"), Fo = /* @__PURE__ */ i((n) => Ze(n, Yn), "isArbitraryVariableSize"), Ho = /* @__PURE__ */ i((n) => Ze(n, qn), "isArbitraryVariableImage"), Bt = /* @__PURE__ */ i((n) => Ze(n, Qn, !0), "isArbitraryVariableShadow"), Vo = /* @__PURE__ */ i((n) => Ze(n, Kn, !0), "isArbitraryVariableWeight"), Ue = /* @__PURE__ */ i((n, t, e) => {
1400
+ ), "isLengthOnly"), Ir = /* @__PURE__ */ i(() => !1, "isNever"), Lo = /* @__PURE__ */ i((n) => Mo.test(n), "isShadow"), Do = /* @__PURE__ */ i((n) => _o.test(n), "isImage"), $o = /* @__PURE__ */ i((n) => !A(n) && !S(n), "isAnyNonArbitrary"), Oo = /* @__PURE__ */ i((n) => He(n, Yn, Ir), "isArbitrarySize"), A = /* @__PURE__ */ i((n) => Vn.test(n), "isArbitraryValue"), Ye = /* @__PURE__ */ i((n) => He(n, Zn, zo), "isArbitraryLength"), gn = /* @__PURE__ */ i((n) => He(n, Go, L), "isArbitraryNumber"), Po = /* @__PURE__ */ i((n) => He(n, Kn, jn), "isArbitraryWeight"), No = /* @__PURE__ */ i((n) => He(n, Xn, Ir), "isArbitraryFamilyName"), pn = /* @__PURE__ */ i((n) => He(n, Wn, Ir), "isArbitraryPosition"), Bo = /* @__PURE__ */ i((n) => He(n, qn, Do), "isArbitraryImage"), Nt = /* @__PURE__ */ i((n) => He(n, Qn, Lo), "isArbitraryShadow"), S = /* @__PURE__ */ i((n) => Gn.test(n), "isArbitraryVariable"), kt = /* @__PURE__ */ i((n) => Ke(n, Zn), "isArbitraryVariableLength"), Uo = /* @__PURE__ */ i((n) => Ke(n, Xn), "isArbitraryVariableFamilyName"), fn = /* @__PURE__ */ i((n) => Ke(n, Wn), "isArbitraryVariablePosition"), Fo = /* @__PURE__ */ i((n) => Ke(n, Yn), "isArbitraryVariableSize"), Ho = /* @__PURE__ */ i((n) => Ke(n, qn), "isArbitraryVariableImage"), Bt = /* @__PURE__ */ i((n) => Ke(n, Qn, !0), "isArbitraryVariableShadow"), Vo = /* @__PURE__ */ i((n) => Ke(n, Kn, !0), "isArbitraryVariableWeight"), He = /* @__PURE__ */ i((n, t, e) => {
1401
1401
  const r = Vn.exec(n);
1402
1402
  return r ? r[1] ? t(r[1]) : e(r[2]) : !1;
1403
- }, "getIsArbitraryValue"), Ze = /* @__PURE__ */ i((n, t, e = !1) => {
1403
+ }, "getIsArbitraryValue"), Ke = /* @__PURE__ */ i((n, t, e = !1) => {
1404
1404
  const r = Gn.exec(n);
1405
1405
  return r ? r[1] ? t(r[1]) : e : !1;
1406
1406
  }, "getIsArbitraryVariable"), Wn = /* @__PURE__ */ i((n) => n === "position" || n === "percentage", "isLabelPosition"), qn = /* @__PURE__ */ i((n) => n === "image" || n === "url", "isLabelImage"), Yn = /* @__PURE__ */ i((n) => n === "length" || n === "size" || n === "bg-size", "isLabelSize"), Zn = /* @__PURE__ */ i((n) => n === "length", "isLabelLength"), Go = /* @__PURE__ */ i((n) => n === "number", "isLabelNumber"), Xn = /* @__PURE__ */ i((n) => n === "family-name", "isLabelFamilyName"), Kn = /* @__PURE__ */ i((n) => n === "number" || n === "weight", "isLabelWeight"), Qn = /* @__PURE__ */ i((n) => n === "shadow", "isLabelShadow"), jo = /* @__PURE__ */ i(() => {
1407
- const n = Q("color"), t = Q("font"), e = Q("text"), r = Q("font-weight"), s = Q("tracking"), o = Q("leading"), a = Q("breakpoint"), l = Q("container"), c = Q("spacing"), d = Q("radius"), h = Q("shadow"), g = Q("inset-shadow"), f = Q("text-shadow"), k = Q("drop-shadow"), M = Q("blur"), E = Q("perspective"), N = Q("aspect"), X = Q("ease"), y = Q("animate"), x = /* @__PURE__ */ i(() => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], "scaleBreak"), w = /* @__PURE__ */ i(() => [
1407
+ const n = ee("color"), t = ee("font"), e = ee("text"), r = ee("font-weight"), s = ee("tracking"), o = ee("leading"), a = ee("breakpoint"), l = ee("container"), c = ee("spacing"), d = ee("radius"), h = ee("shadow"), g = ee("inset-shadow"), f = ee("text-shadow"), k = ee("drop-shadow"), _ = ee("blur"), E = ee("perspective"), N = ee("aspect"), K = ee("ease"), y = ee("animate"), x = /* @__PURE__ */ i(() => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], "scaleBreak"), w = /* @__PURE__ */ i(() => [
1408
1408
  "center",
1409
1409
  "top",
1410
1410
  "bottom",
@@ -1422,15 +1422,15 @@ const Bs = /* @__PURE__ */ se({
1422
1422
  "bottom-left",
1423
1423
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
1424
1424
  "left-bottom"
1425
- ], "scalePosition"), B = /* @__PURE__ */ i(() => [...w(), S, A], "scalePositionWithArbitrary"), H = /* @__PURE__ */ i(() => ["auto", "hidden", "clip", "visible", "scroll"], "scaleOverflow"), ee = /* @__PURE__ */ i(() => ["auto", "contain", "none"], "scaleOverscroll"), z = /* @__PURE__ */ i(() => [S, A, c], "scaleUnambiguousSpacing"), ie = /* @__PURE__ */ i(() => [at, "full", "auto", ...z()], "scaleInset"), It = /* @__PURE__ */ i(() => [$e, "none", "subgrid", S, A], "scaleGridTemplateColsRows"), te = /* @__PURE__ */ i(() => ["auto", {
1426
- span: ["full", $e, S, A]
1427
- }, $e, S, A], "scaleGridColRowStartAndEnd"), _e = /* @__PURE__ */ i(() => [$e, "auto", S, A], "scaleGridColRowStartOrEnd"), Ke = /* @__PURE__ */ i(() => ["auto", "min", "max", "fr", S, A], "scaleGridAutoColsRows"), Fe = /* @__PURE__ */ i(() => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], "scaleAlignPrimaryAxis"), ze = /* @__PURE__ */ i(() => ["start", "end", "center", "stretch", "center-safe", "end-safe"], "scaleAlignSecondaryAxis"), pe = /* @__PURE__ */ i(() => ["auto", ...z()], "scaleMargin"), Te = /* @__PURE__ */ i(() => [at, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...z()], "scaleSizing"), I = /* @__PURE__ */ i(() => [n, S, A], "scaleColor"), Mt = /* @__PURE__ */ i(() => [...w(), fn, pn, {
1425
+ ], "scalePosition"), B = /* @__PURE__ */ i(() => [...w(), S, A], "scalePositionWithArbitrary"), H = /* @__PURE__ */ i(() => ["auto", "hidden", "clip", "visible", "scroll"], "scaleOverflow"), re = /* @__PURE__ */ i(() => ["auto", "contain", "none"], "scaleOverscroll"), C = /* @__PURE__ */ i(() => [S, A, c], "scaleUnambiguousSpacing"), Q = /* @__PURE__ */ i(() => [Oe, "full", "auto", ...C()], "scaleInset"), _t = /* @__PURE__ */ i(() => [Pe, "none", "subgrid", S, A], "scaleGridTemplateColsRows"), ne = /* @__PURE__ */ i(() => ["auto", {
1426
+ span: ["full", Pe, S, A]
1427
+ }, Pe, S, A], "scaleGridColRowStartAndEnd"), Le = /* @__PURE__ */ i(() => [Pe, "auto", S, A], "scaleGridColRowStartOrEnd"), Je = /* @__PURE__ */ i(() => ["auto", "min", "max", "fr", S, A], "scaleGridAutoColsRows"), Ve = /* @__PURE__ */ i(() => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], "scaleAlignPrimaryAxis"), De = /* @__PURE__ */ i(() => ["start", "end", "center", "stretch", "center-safe", "end-safe"], "scaleAlignSecondaryAxis"), ge = /* @__PURE__ */ i(() => ["auto", ...C()], "scaleMargin"), Ee = /* @__PURE__ */ i(() => [Oe, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...C()], "scaleSizing"), et = /* @__PURE__ */ i(() => [Oe, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...C()], "scaleSizingInline"), pt = /* @__PURE__ */ i(() => [Oe, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...C()], "scaleSizingBlock"), I = /* @__PURE__ */ i(() => [n, S, A], "scaleColor"), j = /* @__PURE__ */ i(() => [...w(), fn, pn, {
1428
1428
  position: [S, A]
1429
- }], "scaleBgPosition"), gt = /* @__PURE__ */ i(() => ["no-repeat", {
1429
+ }], "scaleBgPosition"), ft = /* @__PURE__ */ i(() => ["no-repeat", {
1430
1430
  repeat: ["", "x", "y", "space", "round"]
1431
- }], "scaleBgRepeat"), q = /* @__PURE__ */ i(() => ["auto", "cover", "contain", Fo, Oo, {
1431
+ }], "scaleBgRepeat"), Y = /* @__PURE__ */ i(() => ["auto", "cover", "contain", Fo, Oo, {
1432
1432
  size: [S, A]
1433
- }], "scaleBgSize"), Qe = /* @__PURE__ */ i(() => [ur, mt, We], "scaleGradientStopPosition"), P = /* @__PURE__ */ i(() => [
1433
+ }], "scaleBgSize"), tt = /* @__PURE__ */ i(() => [ur, kt, Ye], "scaleGradientStopPosition"), $ = /* @__PURE__ */ i(() => [
1434
1434
  // Deprecated since Tailwind CSS v4.0.0
1435
1435
  "",
1436
1436
  "none",
@@ -1438,35 +1438,35 @@ const Bs = /* @__PURE__ */ se({
1438
1438
  d,
1439
1439
  S,
1440
1440
  A
1441
- ], "scaleRadius"), oe = /* @__PURE__ */ i(() => ["", L, mt, We], "scaleBorderWidth"), V = /* @__PURE__ */ i(() => ["solid", "dashed", "dotted", "double"], "scaleLineStyle"), Le = /* @__PURE__ */ i(() => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], "scaleBlendMode"), j = /* @__PURE__ */ i(() => [L, ur, fn, pn], "scaleMaskImagePosition"), Ee = /* @__PURE__ */ i(() => [
1441
+ ], "scaleRadius"), W = /* @__PURE__ */ i(() => ["", L, kt, Ye], "scaleBorderWidth"), $e = /* @__PURE__ */ i(() => ["solid", "dashed", "dotted", "double"], "scaleLineStyle"), Ce = /* @__PURE__ */ i(() => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], "scaleBlendMode"), q = /* @__PURE__ */ i(() => [L, ur, fn, pn], "scaleMaskImagePosition"), rt = /* @__PURE__ */ i(() => [
1442
1442
  // Deprecated since Tailwind CSS v4.0.0
1443
1443
  "",
1444
1444
  "none",
1445
- M,
1445
+ _,
1446
1446
  S,
1447
1447
  A
1448
- ], "scaleBlur"), He = /* @__PURE__ */ i(() => ["none", L, S, A], "scaleRotate"), De = /* @__PURE__ */ i(() => ["none", L, S, A], "scaleScale"), Je = /* @__PURE__ */ i(() => [L, S, A], "scaleSkew"), Ve = /* @__PURE__ */ i(() => [at, "full", ...z()], "scaleTranslate");
1448
+ ], "scaleBlur"), Ge = /* @__PURE__ */ i(() => ["none", L, S, A], "scaleRotate"), je = /* @__PURE__ */ i(() => ["none", L, S, A], "scaleScale"), xe = /* @__PURE__ */ i(() => [L, S, A], "scaleSkew"), Re = /* @__PURE__ */ i(() => [Oe, "full", ...C()], "scaleTranslate");
1449
1449
  return {
1450
1450
  cacheSize: 500,
1451
1451
  theme: {
1452
1452
  animate: ["spin", "ping", "pulse", "bounce"],
1453
1453
  aspect: ["video"],
1454
- blur: [Me],
1455
- breakpoint: [Me],
1454
+ blur: [ze],
1455
+ breakpoint: [ze],
1456
1456
  color: [jn],
1457
- container: [Me],
1458
- "drop-shadow": [Me],
1457
+ container: [ze],
1458
+ "drop-shadow": [ze],
1459
1459
  ease: ["in", "out", "in-out"],
1460
1460
  font: [$o],
1461
1461
  "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
1462
- "inset-shadow": [Me],
1462
+ "inset-shadow": [ze],
1463
1463
  leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
1464
1464
  perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
1465
- radius: [Me],
1466
- shadow: [Me],
1465
+ radius: [ze],
1466
+ shadow: [ze],
1467
1467
  spacing: ["px", L],
1468
- text: [Me],
1469
- "text-shadow": [Me],
1468
+ text: [ze],
1469
+ "text-shadow": [ze],
1470
1470
  tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
1471
1471
  },
1472
1472
  classGroups: {
@@ -1478,7 +1478,7 @@ const Bs = /* @__PURE__ */ se({
1478
1478
  * @see https://tailwindcss.com/docs/aspect-ratio
1479
1479
  */
1480
1480
  aspect: [{
1481
- aspect: ["auto", "square", at, A, S, N]
1481
+ aspect: ["auto", "square", Oe, A, S, N]
1482
1482
  }],
1483
1483
  /**
1484
1484
  * Container
@@ -1597,21 +1597,21 @@ const Bs = /* @__PURE__ */ se({
1597
1597
  * @see https://tailwindcss.com/docs/overscroll-behavior
1598
1598
  */
1599
1599
  overscroll: [{
1600
- overscroll: ee()
1600
+ overscroll: re()
1601
1601
  }],
1602
1602
  /**
1603
1603
  * Overscroll Behavior X
1604
1604
  * @see https://tailwindcss.com/docs/overscroll-behavior
1605
1605
  */
1606
1606
  "overscroll-x": [{
1607
- "overscroll-x": ee()
1607
+ "overscroll-x": re()
1608
1608
  }],
1609
1609
  /**
1610
1610
  * Overscroll Behavior Y
1611
1611
  * @see https://tailwindcss.com/docs/overscroll-behavior
1612
1612
  */
1613
1613
  "overscroll-y": [{
1614
- "overscroll-y": ee()
1614
+ "overscroll-y": re()
1615
1615
  }],
1616
1616
  /**
1617
1617
  * Position
@@ -1619,67 +1619,93 @@ const Bs = /* @__PURE__ */ se({
1619
1619
  */
1620
1620
  position: ["static", "fixed", "absolute", "relative", "sticky"],
1621
1621
  /**
1622
- * Top / Right / Bottom / Left
1622
+ * Inset
1623
1623
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1624
1624
  */
1625
1625
  inset: [{
1626
- inset: ie()
1626
+ inset: Q()
1627
1627
  }],
1628
1628
  /**
1629
- * Right / Left
1629
+ * Inset Inline
1630
1630
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1631
1631
  */
1632
1632
  "inset-x": [{
1633
- "inset-x": ie()
1633
+ "inset-x": Q()
1634
1634
  }],
1635
1635
  /**
1636
- * Top / Bottom
1636
+ * Inset Block
1637
1637
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1638
1638
  */
1639
1639
  "inset-y": [{
1640
- "inset-y": ie()
1640
+ "inset-y": Q()
1641
1641
  }],
1642
1642
  /**
1643
- * Start
1643
+ * Inset Inline Start
1644
1644
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1645
+ * @todo class group will be renamed to `inset-s` in next major release
1645
1646
  */
1646
1647
  start: [{
1647
- start: ie()
1648
+ "inset-s": Q(),
1649
+ /**
1650
+ * @deprecated since Tailwind CSS v4.2.0 in favor of `inset-s-*` utilities.
1651
+ * @see https://github.com/tailwindlabs/tailwindcss/pull/19613
1652
+ */
1653
+ start: Q()
1648
1654
  }],
1649
1655
  /**
1650
- * End
1656
+ * Inset Inline End
1651
1657
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1658
+ * @todo class group will be renamed to `inset-e` in next major release
1652
1659
  */
1653
1660
  end: [{
1654
- end: ie()
1661
+ "inset-e": Q(),
1662
+ /**
1663
+ * @deprecated since Tailwind CSS v4.2.0 in favor of `inset-e-*` utilities.
1664
+ * @see https://github.com/tailwindlabs/tailwindcss/pull/19613
1665
+ */
1666
+ end: Q()
1667
+ }],
1668
+ /**
1669
+ * Inset Block Start
1670
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1671
+ */
1672
+ "inset-bs": [{
1673
+ "inset-bs": Q()
1674
+ }],
1675
+ /**
1676
+ * Inset Block End
1677
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1678
+ */
1679
+ "inset-be": [{
1680
+ "inset-be": Q()
1655
1681
  }],
1656
1682
  /**
1657
1683
  * Top
1658
1684
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1659
1685
  */
1660
1686
  top: [{
1661
- top: ie()
1687
+ top: Q()
1662
1688
  }],
1663
1689
  /**
1664
1690
  * Right
1665
1691
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1666
1692
  */
1667
1693
  right: [{
1668
- right: ie()
1694
+ right: Q()
1669
1695
  }],
1670
1696
  /**
1671
1697
  * Bottom
1672
1698
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1673
1699
  */
1674
1700
  bottom: [{
1675
- bottom: ie()
1701
+ bottom: Q()
1676
1702
  }],
1677
1703
  /**
1678
1704
  * Left
1679
1705
  * @see https://tailwindcss.com/docs/top-right-bottom-left
1680
1706
  */
1681
1707
  left: [{
1682
- left: ie()
1708
+ left: Q()
1683
1709
  }],
1684
1710
  /**
1685
1711
  * Visibility
@@ -1691,7 +1717,7 @@ const Bs = /* @__PURE__ */ se({
1691
1717
  * @see https://tailwindcss.com/docs/z-index
1692
1718
  */
1693
1719
  z: [{
1694
- z: [$e, "auto", S, A]
1720
+ z: [Pe, "auto", S, A]
1695
1721
  }],
1696
1722
  // ------------------------
1697
1723
  // --- Flexbox and Grid ---
@@ -1701,7 +1727,7 @@ const Bs = /* @__PURE__ */ se({
1701
1727
  * @see https://tailwindcss.com/docs/flex-basis
1702
1728
  */
1703
1729
  basis: [{
1704
- basis: [at, "full", "auto", l, ...z()]
1730
+ basis: [Oe, "full", "auto", l, ...C()]
1705
1731
  }],
1706
1732
  /**
1707
1733
  * Flex Direction
@@ -1722,7 +1748,7 @@ const Bs = /* @__PURE__ */ se({
1722
1748
  * @see https://tailwindcss.com/docs/flex
1723
1749
  */
1724
1750
  flex: [{
1725
- flex: [L, at, "auto", "initial", "none", A]
1751
+ flex: [L, Oe, "auto", "initial", "none", A]
1726
1752
  }],
1727
1753
  /**
1728
1754
  * Flex Grow
@@ -1743,63 +1769,63 @@ const Bs = /* @__PURE__ */ se({
1743
1769
  * @see https://tailwindcss.com/docs/order
1744
1770
  */
1745
1771
  order: [{
1746
- order: [$e, "first", "last", "none", S, A]
1772
+ order: [Pe, "first", "last", "none", S, A]
1747
1773
  }],
1748
1774
  /**
1749
1775
  * Grid Template Columns
1750
1776
  * @see https://tailwindcss.com/docs/grid-template-columns
1751
1777
  */
1752
1778
  "grid-cols": [{
1753
- "grid-cols": It()
1779
+ "grid-cols": _t()
1754
1780
  }],
1755
1781
  /**
1756
1782
  * Grid Column Start / End
1757
1783
  * @see https://tailwindcss.com/docs/grid-column
1758
1784
  */
1759
1785
  "col-start-end": [{
1760
- col: te()
1786
+ col: ne()
1761
1787
  }],
1762
1788
  /**
1763
1789
  * Grid Column Start
1764
1790
  * @see https://tailwindcss.com/docs/grid-column
1765
1791
  */
1766
1792
  "col-start": [{
1767
- "col-start": _e()
1793
+ "col-start": Le()
1768
1794
  }],
1769
1795
  /**
1770
1796
  * Grid Column End
1771
1797
  * @see https://tailwindcss.com/docs/grid-column
1772
1798
  */
1773
1799
  "col-end": [{
1774
- "col-end": _e()
1800
+ "col-end": Le()
1775
1801
  }],
1776
1802
  /**
1777
1803
  * Grid Template Rows
1778
1804
  * @see https://tailwindcss.com/docs/grid-template-rows
1779
1805
  */
1780
1806
  "grid-rows": [{
1781
- "grid-rows": It()
1807
+ "grid-rows": _t()
1782
1808
  }],
1783
1809
  /**
1784
1810
  * Grid Row Start / End
1785
1811
  * @see https://tailwindcss.com/docs/grid-row
1786
1812
  */
1787
1813
  "row-start-end": [{
1788
- row: te()
1814
+ row: ne()
1789
1815
  }],
1790
1816
  /**
1791
1817
  * Grid Row Start
1792
1818
  * @see https://tailwindcss.com/docs/grid-row
1793
1819
  */
1794
1820
  "row-start": [{
1795
- "row-start": _e()
1821
+ "row-start": Le()
1796
1822
  }],
1797
1823
  /**
1798
1824
  * Grid Row End
1799
1825
  * @see https://tailwindcss.com/docs/grid-row
1800
1826
  */
1801
1827
  "row-end": [{
1802
- "row-end": _e()
1828
+ "row-end": Le()
1803
1829
  }],
1804
1830
  /**
1805
1831
  * Grid Auto Flow
@@ -1813,70 +1839,70 @@ const Bs = /* @__PURE__ */ se({
1813
1839
  * @see https://tailwindcss.com/docs/grid-auto-columns
1814
1840
  */
1815
1841
  "auto-cols": [{
1816
- "auto-cols": Ke()
1842
+ "auto-cols": Je()
1817
1843
  }],
1818
1844
  /**
1819
1845
  * Grid Auto Rows
1820
1846
  * @see https://tailwindcss.com/docs/grid-auto-rows
1821
1847
  */
1822
1848
  "auto-rows": [{
1823
- "auto-rows": Ke()
1849
+ "auto-rows": Je()
1824
1850
  }],
1825
1851
  /**
1826
1852
  * Gap
1827
1853
  * @see https://tailwindcss.com/docs/gap
1828
1854
  */
1829
1855
  gap: [{
1830
- gap: z()
1856
+ gap: C()
1831
1857
  }],
1832
1858
  /**
1833
1859
  * Gap X
1834
1860
  * @see https://tailwindcss.com/docs/gap
1835
1861
  */
1836
1862
  "gap-x": [{
1837
- "gap-x": z()
1863
+ "gap-x": C()
1838
1864
  }],
1839
1865
  /**
1840
1866
  * Gap Y
1841
1867
  * @see https://tailwindcss.com/docs/gap
1842
1868
  */
1843
1869
  "gap-y": [{
1844
- "gap-y": z()
1870
+ "gap-y": C()
1845
1871
  }],
1846
1872
  /**
1847
1873
  * Justify Content
1848
1874
  * @see https://tailwindcss.com/docs/justify-content
1849
1875
  */
1850
1876
  "justify-content": [{
1851
- justify: [...Fe(), "normal"]
1877
+ justify: [...Ve(), "normal"]
1852
1878
  }],
1853
1879
  /**
1854
1880
  * Justify Items
1855
1881
  * @see https://tailwindcss.com/docs/justify-items
1856
1882
  */
1857
1883
  "justify-items": [{
1858
- "justify-items": [...ze(), "normal"]
1884
+ "justify-items": [...De(), "normal"]
1859
1885
  }],
1860
1886
  /**
1861
1887
  * Justify Self
1862
1888
  * @see https://tailwindcss.com/docs/justify-self
1863
1889
  */
1864
1890
  "justify-self": [{
1865
- "justify-self": ["auto", ...ze()]
1891
+ "justify-self": ["auto", ...De()]
1866
1892
  }],
1867
1893
  /**
1868
1894
  * Align Content
1869
1895
  * @see https://tailwindcss.com/docs/align-content
1870
1896
  */
1871
1897
  "align-content": [{
1872
- content: ["normal", ...Fe()]
1898
+ content: ["normal", ...Ve()]
1873
1899
  }],
1874
1900
  /**
1875
1901
  * Align Items
1876
1902
  * @see https://tailwindcss.com/docs/align-items
1877
1903
  */
1878
1904
  "align-items": [{
1879
- items: [...ze(), {
1905
+ items: [...De(), {
1880
1906
  baseline: ["", "last"]
1881
1907
  }]
1882
1908
  }],
@@ -1885,7 +1911,7 @@ const Bs = /* @__PURE__ */ se({
1885
1911
  * @see https://tailwindcss.com/docs/align-self
1886
1912
  */
1887
1913
  "align-self": [{
1888
- self: ["auto", ...ze(), {
1914
+ self: ["auto", ...De(), {
1889
1915
  baseline: ["", "last"]
1890
1916
  }]
1891
1917
  }],
@@ -1894,21 +1920,21 @@ const Bs = /* @__PURE__ */ se({
1894
1920
  * @see https://tailwindcss.com/docs/place-content
1895
1921
  */
1896
1922
  "place-content": [{
1897
- "place-content": Fe()
1923
+ "place-content": Ve()
1898
1924
  }],
1899
1925
  /**
1900
1926
  * Place Items
1901
1927
  * @see https://tailwindcss.com/docs/place-items
1902
1928
  */
1903
1929
  "place-items": [{
1904
- "place-items": [...ze(), "baseline"]
1930
+ "place-items": [...De(), "baseline"]
1905
1931
  }],
1906
1932
  /**
1907
1933
  * Place Self
1908
1934
  * @see https://tailwindcss.com/docs/place-self
1909
1935
  */
1910
1936
  "place-self": [{
1911
- "place-self": ["auto", ...ze()]
1937
+ "place-self": ["auto", ...De()]
1912
1938
  }],
1913
1939
  // Spacing
1914
1940
  /**
@@ -1916,133 +1942,161 @@ const Bs = /* @__PURE__ */ se({
1916
1942
  * @see https://tailwindcss.com/docs/padding
1917
1943
  */
1918
1944
  p: [{
1919
- p: z()
1945
+ p: C()
1920
1946
  }],
1921
1947
  /**
1922
- * Padding X
1948
+ * Padding Inline
1923
1949
  * @see https://tailwindcss.com/docs/padding
1924
1950
  */
1925
1951
  px: [{
1926
- px: z()
1952
+ px: C()
1927
1953
  }],
1928
1954
  /**
1929
- * Padding Y
1955
+ * Padding Block
1930
1956
  * @see https://tailwindcss.com/docs/padding
1931
1957
  */
1932
1958
  py: [{
1933
- py: z()
1959
+ py: C()
1934
1960
  }],
1935
1961
  /**
1936
- * Padding Start
1962
+ * Padding Inline Start
1937
1963
  * @see https://tailwindcss.com/docs/padding
1938
1964
  */
1939
1965
  ps: [{
1940
- ps: z()
1966
+ ps: C()
1941
1967
  }],
1942
1968
  /**
1943
- * Padding End
1969
+ * Padding Inline End
1944
1970
  * @see https://tailwindcss.com/docs/padding
1945
1971
  */
1946
1972
  pe: [{
1947
- pe: z()
1973
+ pe: C()
1974
+ }],
1975
+ /**
1976
+ * Padding Block Start
1977
+ * @see https://tailwindcss.com/docs/padding
1978
+ */
1979
+ pbs: [{
1980
+ pbs: C()
1981
+ }],
1982
+ /**
1983
+ * Padding Block End
1984
+ * @see https://tailwindcss.com/docs/padding
1985
+ */
1986
+ pbe: [{
1987
+ pbe: C()
1948
1988
  }],
1949
1989
  /**
1950
1990
  * Padding Top
1951
1991
  * @see https://tailwindcss.com/docs/padding
1952
1992
  */
1953
1993
  pt: [{
1954
- pt: z()
1994
+ pt: C()
1955
1995
  }],
1956
1996
  /**
1957
1997
  * Padding Right
1958
1998
  * @see https://tailwindcss.com/docs/padding
1959
1999
  */
1960
2000
  pr: [{
1961
- pr: z()
2001
+ pr: C()
1962
2002
  }],
1963
2003
  /**
1964
2004
  * Padding Bottom
1965
2005
  * @see https://tailwindcss.com/docs/padding
1966
2006
  */
1967
2007
  pb: [{
1968
- pb: z()
2008
+ pb: C()
1969
2009
  }],
1970
2010
  /**
1971
2011
  * Padding Left
1972
2012
  * @see https://tailwindcss.com/docs/padding
1973
2013
  */
1974
2014
  pl: [{
1975
- pl: z()
2015
+ pl: C()
1976
2016
  }],
1977
2017
  /**
1978
2018
  * Margin
1979
2019
  * @see https://tailwindcss.com/docs/margin
1980
2020
  */
1981
2021
  m: [{
1982
- m: pe()
2022
+ m: ge()
1983
2023
  }],
1984
2024
  /**
1985
- * Margin X
2025
+ * Margin Inline
1986
2026
  * @see https://tailwindcss.com/docs/margin
1987
2027
  */
1988
2028
  mx: [{
1989
- mx: pe()
2029
+ mx: ge()
1990
2030
  }],
1991
2031
  /**
1992
- * Margin Y
2032
+ * Margin Block
1993
2033
  * @see https://tailwindcss.com/docs/margin
1994
2034
  */
1995
2035
  my: [{
1996
- my: pe()
2036
+ my: ge()
1997
2037
  }],
1998
2038
  /**
1999
- * Margin Start
2039
+ * Margin Inline Start
2000
2040
  * @see https://tailwindcss.com/docs/margin
2001
2041
  */
2002
2042
  ms: [{
2003
- ms: pe()
2043
+ ms: ge()
2004
2044
  }],
2005
2045
  /**
2006
- * Margin End
2046
+ * Margin Inline End
2007
2047
  * @see https://tailwindcss.com/docs/margin
2008
2048
  */
2009
2049
  me: [{
2010
- me: pe()
2050
+ me: ge()
2051
+ }],
2052
+ /**
2053
+ * Margin Block Start
2054
+ * @see https://tailwindcss.com/docs/margin
2055
+ */
2056
+ mbs: [{
2057
+ mbs: ge()
2058
+ }],
2059
+ /**
2060
+ * Margin Block End
2061
+ * @see https://tailwindcss.com/docs/margin
2062
+ */
2063
+ mbe: [{
2064
+ mbe: ge()
2011
2065
  }],
2012
2066
  /**
2013
2067
  * Margin Top
2014
2068
  * @see https://tailwindcss.com/docs/margin
2015
2069
  */
2016
2070
  mt: [{
2017
- mt: pe()
2071
+ mt: ge()
2018
2072
  }],
2019
2073
  /**
2020
2074
  * Margin Right
2021
2075
  * @see https://tailwindcss.com/docs/margin
2022
2076
  */
2023
2077
  mr: [{
2024
- mr: pe()
2078
+ mr: ge()
2025
2079
  }],
2026
2080
  /**
2027
2081
  * Margin Bottom
2028
2082
  * @see https://tailwindcss.com/docs/margin
2029
2083
  */
2030
2084
  mb: [{
2031
- mb: pe()
2085
+ mb: ge()
2032
2086
  }],
2033
2087
  /**
2034
2088
  * Margin Left
2035
2089
  * @see https://tailwindcss.com/docs/margin
2036
2090
  */
2037
2091
  ml: [{
2038
- ml: pe()
2092
+ ml: ge()
2039
2093
  }],
2040
2094
  /**
2041
2095
  * Space Between X
2042
2096
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
2043
2097
  */
2044
2098
  "space-x": [{
2045
- "space-x": z()
2099
+ "space-x": C()
2046
2100
  }],
2047
2101
  /**
2048
2102
  * Space Between X Reverse
@@ -2054,7 +2108,7 @@ const Bs = /* @__PURE__ */ se({
2054
2108
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
2055
2109
  */
2056
2110
  "space-y": [{
2057
- "space-y": z()
2111
+ "space-y": C()
2058
2112
  }],
2059
2113
  /**
2060
2114
  * Space Between Y Reverse
@@ -2069,14 +2123,56 @@ const Bs = /* @__PURE__ */ se({
2069
2123
  * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
2070
2124
  */
2071
2125
  size: [{
2072
- size: Te()
2126
+ size: Ee()
2127
+ }],
2128
+ /**
2129
+ * Inline Size
2130
+ * @see https://tailwindcss.com/docs/width
2131
+ */
2132
+ "inline-size": [{
2133
+ inline: ["auto", ...et()]
2134
+ }],
2135
+ /**
2136
+ * Min-Inline Size
2137
+ * @see https://tailwindcss.com/docs/min-width
2138
+ */
2139
+ "min-inline-size": [{
2140
+ "min-inline": ["auto", ...et()]
2141
+ }],
2142
+ /**
2143
+ * Max-Inline Size
2144
+ * @see https://tailwindcss.com/docs/max-width
2145
+ */
2146
+ "max-inline-size": [{
2147
+ "max-inline": ["none", ...et()]
2148
+ }],
2149
+ /**
2150
+ * Block Size
2151
+ * @see https://tailwindcss.com/docs/height
2152
+ */
2153
+ "block-size": [{
2154
+ block: ["auto", ...pt()]
2155
+ }],
2156
+ /**
2157
+ * Min-Block Size
2158
+ * @see https://tailwindcss.com/docs/min-height
2159
+ */
2160
+ "min-block-size": [{
2161
+ "min-block": ["auto", ...pt()]
2162
+ }],
2163
+ /**
2164
+ * Max-Block Size
2165
+ * @see https://tailwindcss.com/docs/max-height
2166
+ */
2167
+ "max-block-size": [{
2168
+ "max-block": ["none", ...pt()]
2073
2169
  }],
2074
2170
  /**
2075
2171
  * Width
2076
2172
  * @see https://tailwindcss.com/docs/width
2077
2173
  */
2078
2174
  w: [{
2079
- w: [l, "screen", ...Te()]
2175
+ w: [l, "screen", ...Ee()]
2080
2176
  }],
2081
2177
  /**
2082
2178
  * Min-Width
@@ -2088,7 +2184,7 @@ const Bs = /* @__PURE__ */ se({
2088
2184
  "screen",
2089
2185
  /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
2090
2186
  "none",
2091
- ...Te()
2187
+ ...Ee()
2092
2188
  ]
2093
2189
  }],
2094
2190
  /**
@@ -2106,7 +2202,7 @@ const Bs = /* @__PURE__ */ se({
2106
2202
  {
2107
2203
  screen: [a]
2108
2204
  },
2109
- ...Te()
2205
+ ...Ee()
2110
2206
  ]
2111
2207
  }],
2112
2208
  /**
@@ -2114,21 +2210,21 @@ const Bs = /* @__PURE__ */ se({
2114
2210
  * @see https://tailwindcss.com/docs/height
2115
2211
  */
2116
2212
  h: [{
2117
- h: ["screen", "lh", ...Te()]
2213
+ h: ["screen", "lh", ...Ee()]
2118
2214
  }],
2119
2215
  /**
2120
2216
  * Min-Height
2121
2217
  * @see https://tailwindcss.com/docs/min-height
2122
2218
  */
2123
2219
  "min-h": [{
2124
- "min-h": ["screen", "lh", "none", ...Te()]
2220
+ "min-h": ["screen", "lh", "none", ...Ee()]
2125
2221
  }],
2126
2222
  /**
2127
2223
  * Max-Height
2128
2224
  * @see https://tailwindcss.com/docs/max-height
2129
2225
  */
2130
2226
  "max-h": [{
2131
- "max-h": ["screen", "lh", ...Te()]
2227
+ "max-h": ["screen", "lh", ...Ee()]
2132
2228
  }],
2133
2229
  // ------------------
2134
2230
  // --- Typography ---
@@ -2138,7 +2234,7 @@ const Bs = /* @__PURE__ */ se({
2138
2234
  * @see https://tailwindcss.com/docs/font-size
2139
2235
  */
2140
2236
  "font-size": [{
2141
- text: ["base", e, mt, We]
2237
+ text: ["base", e, kt, Ye]
2142
2238
  }],
2143
2239
  /**
2144
2240
  * Font Smoothing
@@ -2171,6 +2267,13 @@ const Bs = /* @__PURE__ */ se({
2171
2267
  "font-family": [{
2172
2268
  font: [Uo, No, t]
2173
2269
  }],
2270
+ /**
2271
+ * Font Feature Settings
2272
+ * @see https://tailwindcss.com/docs/font-feature-settings
2273
+ */
2274
+ "font-features": [{
2275
+ "font-features": [A]
2276
+ }],
2174
2277
  /**
2175
2278
  * Font Variant Numeric
2176
2279
  * @see https://tailwindcss.com/docs/font-variant-numeric
@@ -2223,7 +2326,7 @@ const Bs = /* @__PURE__ */ se({
2223
2326
  leading: [
2224
2327
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
2225
2328
  o,
2226
- ...z()
2329
+ ...C()
2227
2330
  ]
2228
2331
  }],
2229
2332
  /**
@@ -2279,14 +2382,14 @@ const Bs = /* @__PURE__ */ se({
2279
2382
  * @see https://tailwindcss.com/docs/text-decoration-style
2280
2383
  */
2281
2384
  "text-decoration-style": [{
2282
- decoration: [...V(), "wavy"]
2385
+ decoration: [...$e(), "wavy"]
2283
2386
  }],
2284
2387
  /**
2285
2388
  * Text Decoration Thickness
2286
2389
  * @see https://tailwindcss.com/docs/text-decoration-thickness
2287
2390
  */
2288
2391
  "text-decoration-thickness": [{
2289
- decoration: [L, "from-font", "auto", S, We]
2392
+ decoration: [L, "from-font", "auto", S, Ye]
2290
2393
  }],
2291
2394
  /**
2292
2395
  * Text Decoration Color
@@ -2324,7 +2427,7 @@ const Bs = /* @__PURE__ */ se({
2324
2427
  * @see https://tailwindcss.com/docs/text-indent
2325
2428
  */
2326
2429
  indent: [{
2327
- indent: z()
2430
+ indent: C()
2328
2431
  }],
2329
2432
  /**
2330
2433
  * Vertical Alignment
@@ -2397,21 +2500,21 @@ const Bs = /* @__PURE__ */ se({
2397
2500
  * @see https://tailwindcss.com/docs/background-position
2398
2501
  */
2399
2502
  "bg-position": [{
2400
- bg: Mt()
2503
+ bg: j()
2401
2504
  }],
2402
2505
  /**
2403
2506
  * Background Repeat
2404
2507
  * @see https://tailwindcss.com/docs/background-repeat
2405
2508
  */
2406
2509
  "bg-repeat": [{
2407
- bg: gt()
2510
+ bg: ft()
2408
2511
  }],
2409
2512
  /**
2410
2513
  * Background Size
2411
2514
  * @see https://tailwindcss.com/docs/background-size
2412
2515
  */
2413
2516
  "bg-size": [{
2414
- bg: q()
2517
+ bg: Y()
2415
2518
  }],
2416
2519
  /**
2417
2520
  * Background Image
@@ -2421,9 +2524,9 @@ const Bs = /* @__PURE__ */ se({
2421
2524
  bg: ["none", {
2422
2525
  linear: [{
2423
2526
  to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
2424
- }, $e, S, A],
2527
+ }, Pe, S, A],
2425
2528
  radial: ["", S, A],
2426
- conic: [$e, S, A]
2529
+ conic: [Pe, S, A]
2427
2530
  }, Ho, Bo]
2428
2531
  }],
2429
2532
  /**
@@ -2438,21 +2541,21 @@ const Bs = /* @__PURE__ */ se({
2438
2541
  * @see https://tailwindcss.com/docs/gradient-color-stops
2439
2542
  */
2440
2543
  "gradient-from-pos": [{
2441
- from: Qe()
2544
+ from: tt()
2442
2545
  }],
2443
2546
  /**
2444
2547
  * Gradient Color Stops Via Position
2445
2548
  * @see https://tailwindcss.com/docs/gradient-color-stops
2446
2549
  */
2447
2550
  "gradient-via-pos": [{
2448
- via: Qe()
2551
+ via: tt()
2449
2552
  }],
2450
2553
  /**
2451
2554
  * Gradient Color Stops To Position
2452
2555
  * @see https://tailwindcss.com/docs/gradient-color-stops
2453
2556
  */
2454
2557
  "gradient-to-pos": [{
2455
- to: Qe()
2558
+ to: tt()
2456
2559
  }],
2457
2560
  /**
2458
2561
  * Gradient Color Stops From
@@ -2483,175 +2586,189 @@ const Bs = /* @__PURE__ */ se({
2483
2586
  * @see https://tailwindcss.com/docs/border-radius
2484
2587
  */
2485
2588
  rounded: [{
2486
- rounded: P()
2589
+ rounded: $()
2487
2590
  }],
2488
2591
  /**
2489
2592
  * Border Radius Start
2490
2593
  * @see https://tailwindcss.com/docs/border-radius
2491
2594
  */
2492
2595
  "rounded-s": [{
2493
- "rounded-s": P()
2596
+ "rounded-s": $()
2494
2597
  }],
2495
2598
  /**
2496
2599
  * Border Radius End
2497
2600
  * @see https://tailwindcss.com/docs/border-radius
2498
2601
  */
2499
2602
  "rounded-e": [{
2500
- "rounded-e": P()
2603
+ "rounded-e": $()
2501
2604
  }],
2502
2605
  /**
2503
2606
  * Border Radius Top
2504
2607
  * @see https://tailwindcss.com/docs/border-radius
2505
2608
  */
2506
2609
  "rounded-t": [{
2507
- "rounded-t": P()
2610
+ "rounded-t": $()
2508
2611
  }],
2509
2612
  /**
2510
2613
  * Border Radius Right
2511
2614
  * @see https://tailwindcss.com/docs/border-radius
2512
2615
  */
2513
2616
  "rounded-r": [{
2514
- "rounded-r": P()
2617
+ "rounded-r": $()
2515
2618
  }],
2516
2619
  /**
2517
2620
  * Border Radius Bottom
2518
2621
  * @see https://tailwindcss.com/docs/border-radius
2519
2622
  */
2520
2623
  "rounded-b": [{
2521
- "rounded-b": P()
2624
+ "rounded-b": $()
2522
2625
  }],
2523
2626
  /**
2524
2627
  * Border Radius Left
2525
2628
  * @see https://tailwindcss.com/docs/border-radius
2526
2629
  */
2527
2630
  "rounded-l": [{
2528
- "rounded-l": P()
2631
+ "rounded-l": $()
2529
2632
  }],
2530
2633
  /**
2531
2634
  * Border Radius Start Start
2532
2635
  * @see https://tailwindcss.com/docs/border-radius
2533
2636
  */
2534
2637
  "rounded-ss": [{
2535
- "rounded-ss": P()
2638
+ "rounded-ss": $()
2536
2639
  }],
2537
2640
  /**
2538
2641
  * Border Radius Start End
2539
2642
  * @see https://tailwindcss.com/docs/border-radius
2540
2643
  */
2541
2644
  "rounded-se": [{
2542
- "rounded-se": P()
2645
+ "rounded-se": $()
2543
2646
  }],
2544
2647
  /**
2545
2648
  * Border Radius End End
2546
2649
  * @see https://tailwindcss.com/docs/border-radius
2547
2650
  */
2548
2651
  "rounded-ee": [{
2549
- "rounded-ee": P()
2652
+ "rounded-ee": $()
2550
2653
  }],
2551
2654
  /**
2552
2655
  * Border Radius End Start
2553
2656
  * @see https://tailwindcss.com/docs/border-radius
2554
2657
  */
2555
2658
  "rounded-es": [{
2556
- "rounded-es": P()
2659
+ "rounded-es": $()
2557
2660
  }],
2558
2661
  /**
2559
2662
  * Border Radius Top Left
2560
2663
  * @see https://tailwindcss.com/docs/border-radius
2561
2664
  */
2562
2665
  "rounded-tl": [{
2563
- "rounded-tl": P()
2666
+ "rounded-tl": $()
2564
2667
  }],
2565
2668
  /**
2566
2669
  * Border Radius Top Right
2567
2670
  * @see https://tailwindcss.com/docs/border-radius
2568
2671
  */
2569
2672
  "rounded-tr": [{
2570
- "rounded-tr": P()
2673
+ "rounded-tr": $()
2571
2674
  }],
2572
2675
  /**
2573
2676
  * Border Radius Bottom Right
2574
2677
  * @see https://tailwindcss.com/docs/border-radius
2575
2678
  */
2576
2679
  "rounded-br": [{
2577
- "rounded-br": P()
2680
+ "rounded-br": $()
2578
2681
  }],
2579
2682
  /**
2580
2683
  * Border Radius Bottom Left
2581
2684
  * @see https://tailwindcss.com/docs/border-radius
2582
2685
  */
2583
2686
  "rounded-bl": [{
2584
- "rounded-bl": P()
2687
+ "rounded-bl": $()
2585
2688
  }],
2586
2689
  /**
2587
2690
  * Border Width
2588
2691
  * @see https://tailwindcss.com/docs/border-width
2589
2692
  */
2590
2693
  "border-w": [{
2591
- border: oe()
2694
+ border: W()
2592
2695
  }],
2593
2696
  /**
2594
- * Border Width X
2697
+ * Border Width Inline
2595
2698
  * @see https://tailwindcss.com/docs/border-width
2596
2699
  */
2597
2700
  "border-w-x": [{
2598
- "border-x": oe()
2701
+ "border-x": W()
2599
2702
  }],
2600
2703
  /**
2601
- * Border Width Y
2704
+ * Border Width Block
2602
2705
  * @see https://tailwindcss.com/docs/border-width
2603
2706
  */
2604
2707
  "border-w-y": [{
2605
- "border-y": oe()
2708
+ "border-y": W()
2606
2709
  }],
2607
2710
  /**
2608
- * Border Width Start
2711
+ * Border Width Inline Start
2609
2712
  * @see https://tailwindcss.com/docs/border-width
2610
2713
  */
2611
2714
  "border-w-s": [{
2612
- "border-s": oe()
2715
+ "border-s": W()
2613
2716
  }],
2614
2717
  /**
2615
- * Border Width End
2718
+ * Border Width Inline End
2616
2719
  * @see https://tailwindcss.com/docs/border-width
2617
2720
  */
2618
2721
  "border-w-e": [{
2619
- "border-e": oe()
2722
+ "border-e": W()
2723
+ }],
2724
+ /**
2725
+ * Border Width Block Start
2726
+ * @see https://tailwindcss.com/docs/border-width
2727
+ */
2728
+ "border-w-bs": [{
2729
+ "border-bs": W()
2730
+ }],
2731
+ /**
2732
+ * Border Width Block End
2733
+ * @see https://tailwindcss.com/docs/border-width
2734
+ */
2735
+ "border-w-be": [{
2736
+ "border-be": W()
2620
2737
  }],
2621
2738
  /**
2622
2739
  * Border Width Top
2623
2740
  * @see https://tailwindcss.com/docs/border-width
2624
2741
  */
2625
2742
  "border-w-t": [{
2626
- "border-t": oe()
2743
+ "border-t": W()
2627
2744
  }],
2628
2745
  /**
2629
2746
  * Border Width Right
2630
2747
  * @see https://tailwindcss.com/docs/border-width
2631
2748
  */
2632
2749
  "border-w-r": [{
2633
- "border-r": oe()
2750
+ "border-r": W()
2634
2751
  }],
2635
2752
  /**
2636
2753
  * Border Width Bottom
2637
2754
  * @see https://tailwindcss.com/docs/border-width
2638
2755
  */
2639
2756
  "border-w-b": [{
2640
- "border-b": oe()
2757
+ "border-b": W()
2641
2758
  }],
2642
2759
  /**
2643
2760
  * Border Width Left
2644
2761
  * @see https://tailwindcss.com/docs/border-width
2645
2762
  */
2646
2763
  "border-w-l": [{
2647
- "border-l": oe()
2764
+ "border-l": W()
2648
2765
  }],
2649
2766
  /**
2650
2767
  * Divide Width X
2651
2768
  * @see https://tailwindcss.com/docs/border-width#between-children
2652
2769
  */
2653
2770
  "divide-x": [{
2654
- "divide-x": oe()
2771
+ "divide-x": W()
2655
2772
  }],
2656
2773
  /**
2657
2774
  * Divide Width X Reverse
@@ -2663,7 +2780,7 @@ const Bs = /* @__PURE__ */ se({
2663
2780
  * @see https://tailwindcss.com/docs/border-width#between-children
2664
2781
  */
2665
2782
  "divide-y": [{
2666
- "divide-y": oe()
2783
+ "divide-y": W()
2667
2784
  }],
2668
2785
  /**
2669
2786
  * Divide Width Y Reverse
@@ -2675,14 +2792,14 @@ const Bs = /* @__PURE__ */ se({
2675
2792
  * @see https://tailwindcss.com/docs/border-style
2676
2793
  */
2677
2794
  "border-style": [{
2678
- border: [...V(), "hidden", "none"]
2795
+ border: [...$e(), "hidden", "none"]
2679
2796
  }],
2680
2797
  /**
2681
2798
  * Divide Style
2682
2799
  * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
2683
2800
  */
2684
2801
  "divide-style": [{
2685
- divide: [...V(), "hidden", "none"]
2802
+ divide: [...$e(), "hidden", "none"]
2686
2803
  }],
2687
2804
  /**
2688
2805
  * Border Color
@@ -2692,33 +2809,47 @@ const Bs = /* @__PURE__ */ se({
2692
2809
  border: I()
2693
2810
  }],
2694
2811
  /**
2695
- * Border Color X
2812
+ * Border Color Inline
2696
2813
  * @see https://tailwindcss.com/docs/border-color
2697
2814
  */
2698
2815
  "border-color-x": [{
2699
2816
  "border-x": I()
2700
2817
  }],
2701
2818
  /**
2702
- * Border Color Y
2819
+ * Border Color Block
2703
2820
  * @see https://tailwindcss.com/docs/border-color
2704
2821
  */
2705
2822
  "border-color-y": [{
2706
2823
  "border-y": I()
2707
2824
  }],
2708
2825
  /**
2709
- * Border Color S
2826
+ * Border Color Inline Start
2710
2827
  * @see https://tailwindcss.com/docs/border-color
2711
2828
  */
2712
2829
  "border-color-s": [{
2713
2830
  "border-s": I()
2714
2831
  }],
2715
2832
  /**
2716
- * Border Color E
2833
+ * Border Color Inline End
2717
2834
  * @see https://tailwindcss.com/docs/border-color
2718
2835
  */
2719
2836
  "border-color-e": [{
2720
2837
  "border-e": I()
2721
2838
  }],
2839
+ /**
2840
+ * Border Color Block Start
2841
+ * @see https://tailwindcss.com/docs/border-color
2842
+ */
2843
+ "border-color-bs": [{
2844
+ "border-bs": I()
2845
+ }],
2846
+ /**
2847
+ * Border Color Block End
2848
+ * @see https://tailwindcss.com/docs/border-color
2849
+ */
2850
+ "border-color-be": [{
2851
+ "border-be": I()
2852
+ }],
2722
2853
  /**
2723
2854
  * Border Color Top
2724
2855
  * @see https://tailwindcss.com/docs/border-color
@@ -2759,7 +2890,7 @@ const Bs = /* @__PURE__ */ se({
2759
2890
  * @see https://tailwindcss.com/docs/outline-style
2760
2891
  */
2761
2892
  "outline-style": [{
2762
- outline: [...V(), "none", "hidden"]
2893
+ outline: [...$e(), "none", "hidden"]
2763
2894
  }],
2764
2895
  /**
2765
2896
  * Outline Offset
@@ -2773,7 +2904,7 @@ const Bs = /* @__PURE__ */ se({
2773
2904
  * @see https://tailwindcss.com/docs/outline-width
2774
2905
  */
2775
2906
  "outline-w": [{
2776
- outline: ["", L, mt, We]
2907
+ outline: ["", L, kt, Ye]
2777
2908
  }],
2778
2909
  /**
2779
2910
  * Outline Color
@@ -2825,7 +2956,7 @@ const Bs = /* @__PURE__ */ se({
2825
2956
  * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
2826
2957
  */
2827
2958
  "ring-w": [{
2828
- ring: oe()
2959
+ ring: W()
2829
2960
  }],
2830
2961
  /**
2831
2962
  * Ring Width Inset
@@ -2848,7 +2979,7 @@ const Bs = /* @__PURE__ */ se({
2848
2979
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2849
2980
  */
2850
2981
  "ring-offset-w": [{
2851
- "ring-offset": [L, We]
2982
+ "ring-offset": [L, Ye]
2852
2983
  }],
2853
2984
  /**
2854
2985
  * Ring Offset Color
@@ -2864,7 +2995,7 @@ const Bs = /* @__PURE__ */ se({
2864
2995
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
2865
2996
  */
2866
2997
  "inset-ring-w": [{
2867
- "inset-ring": oe()
2998
+ "inset-ring": W()
2868
2999
  }],
2869
3000
  /**
2870
3001
  * Inset Ring Color
@@ -2899,14 +3030,14 @@ const Bs = /* @__PURE__ */ se({
2899
3030
  * @see https://tailwindcss.com/docs/mix-blend-mode
2900
3031
  */
2901
3032
  "mix-blend": [{
2902
- "mix-blend": [...Le(), "plus-darker", "plus-lighter"]
3033
+ "mix-blend": [...Ce(), "plus-darker", "plus-lighter"]
2903
3034
  }],
2904
3035
  /**
2905
3036
  * Background Blend Mode
2906
3037
  * @see https://tailwindcss.com/docs/background-blend-mode
2907
3038
  */
2908
3039
  "bg-blend": [{
2909
- "bg-blend": Le()
3040
+ "bg-blend": Ce()
2910
3041
  }],
2911
3042
  /**
2912
3043
  * Mask Clip
@@ -2930,10 +3061,10 @@ const Bs = /* @__PURE__ */ se({
2930
3061
  "mask-linear": [L]
2931
3062
  }],
2932
3063
  "mask-image-linear-from-pos": [{
2933
- "mask-linear-from": j()
3064
+ "mask-linear-from": q()
2934
3065
  }],
2935
3066
  "mask-image-linear-to-pos": [{
2936
- "mask-linear-to": j()
3067
+ "mask-linear-to": q()
2937
3068
  }],
2938
3069
  "mask-image-linear-from-color": [{
2939
3070
  "mask-linear-from": I()
@@ -2942,10 +3073,10 @@ const Bs = /* @__PURE__ */ se({
2942
3073
  "mask-linear-to": I()
2943
3074
  }],
2944
3075
  "mask-image-t-from-pos": [{
2945
- "mask-t-from": j()
3076
+ "mask-t-from": q()
2946
3077
  }],
2947
3078
  "mask-image-t-to-pos": [{
2948
- "mask-t-to": j()
3079
+ "mask-t-to": q()
2949
3080
  }],
2950
3081
  "mask-image-t-from-color": [{
2951
3082
  "mask-t-from": I()
@@ -2954,10 +3085,10 @@ const Bs = /* @__PURE__ */ se({
2954
3085
  "mask-t-to": I()
2955
3086
  }],
2956
3087
  "mask-image-r-from-pos": [{
2957
- "mask-r-from": j()
3088
+ "mask-r-from": q()
2958
3089
  }],
2959
3090
  "mask-image-r-to-pos": [{
2960
- "mask-r-to": j()
3091
+ "mask-r-to": q()
2961
3092
  }],
2962
3093
  "mask-image-r-from-color": [{
2963
3094
  "mask-r-from": I()
@@ -2966,10 +3097,10 @@ const Bs = /* @__PURE__ */ se({
2966
3097
  "mask-r-to": I()
2967
3098
  }],
2968
3099
  "mask-image-b-from-pos": [{
2969
- "mask-b-from": j()
3100
+ "mask-b-from": q()
2970
3101
  }],
2971
3102
  "mask-image-b-to-pos": [{
2972
- "mask-b-to": j()
3103
+ "mask-b-to": q()
2973
3104
  }],
2974
3105
  "mask-image-b-from-color": [{
2975
3106
  "mask-b-from": I()
@@ -2978,10 +3109,10 @@ const Bs = /* @__PURE__ */ se({
2978
3109
  "mask-b-to": I()
2979
3110
  }],
2980
3111
  "mask-image-l-from-pos": [{
2981
- "mask-l-from": j()
3112
+ "mask-l-from": q()
2982
3113
  }],
2983
3114
  "mask-image-l-to-pos": [{
2984
- "mask-l-to": j()
3115
+ "mask-l-to": q()
2985
3116
  }],
2986
3117
  "mask-image-l-from-color": [{
2987
3118
  "mask-l-from": I()
@@ -2990,10 +3121,10 @@ const Bs = /* @__PURE__ */ se({
2990
3121
  "mask-l-to": I()
2991
3122
  }],
2992
3123
  "mask-image-x-from-pos": [{
2993
- "mask-x-from": j()
3124
+ "mask-x-from": q()
2994
3125
  }],
2995
3126
  "mask-image-x-to-pos": [{
2996
- "mask-x-to": j()
3127
+ "mask-x-to": q()
2997
3128
  }],
2998
3129
  "mask-image-x-from-color": [{
2999
3130
  "mask-x-from": I()
@@ -3002,10 +3133,10 @@ const Bs = /* @__PURE__ */ se({
3002
3133
  "mask-x-to": I()
3003
3134
  }],
3004
3135
  "mask-image-y-from-pos": [{
3005
- "mask-y-from": j()
3136
+ "mask-y-from": q()
3006
3137
  }],
3007
3138
  "mask-image-y-to-pos": [{
3008
- "mask-y-to": j()
3139
+ "mask-y-to": q()
3009
3140
  }],
3010
3141
  "mask-image-y-from-color": [{
3011
3142
  "mask-y-from": I()
@@ -3017,10 +3148,10 @@ const Bs = /* @__PURE__ */ se({
3017
3148
  "mask-radial": [S, A]
3018
3149
  }],
3019
3150
  "mask-image-radial-from-pos": [{
3020
- "mask-radial-from": j()
3151
+ "mask-radial-from": q()
3021
3152
  }],
3022
3153
  "mask-image-radial-to-pos": [{
3023
- "mask-radial-to": j()
3154
+ "mask-radial-to": q()
3024
3155
  }],
3025
3156
  "mask-image-radial-from-color": [{
3026
3157
  "mask-radial-from": I()
@@ -3044,10 +3175,10 @@ const Bs = /* @__PURE__ */ se({
3044
3175
  "mask-conic": [L]
3045
3176
  }],
3046
3177
  "mask-image-conic-from-pos": [{
3047
- "mask-conic-from": j()
3178
+ "mask-conic-from": q()
3048
3179
  }],
3049
3180
  "mask-image-conic-to-pos": [{
3050
- "mask-conic-to": j()
3181
+ "mask-conic-to": q()
3051
3182
  }],
3052
3183
  "mask-image-conic-from-color": [{
3053
3184
  "mask-conic-from": I()
@@ -3074,21 +3205,21 @@ const Bs = /* @__PURE__ */ se({
3074
3205
  * @see https://tailwindcss.com/docs/mask-position
3075
3206
  */
3076
3207
  "mask-position": [{
3077
- mask: Mt()
3208
+ mask: j()
3078
3209
  }],
3079
3210
  /**
3080
3211
  * Mask Repeat
3081
3212
  * @see https://tailwindcss.com/docs/mask-repeat
3082
3213
  */
3083
3214
  "mask-repeat": [{
3084
- mask: gt()
3215
+ mask: ft()
3085
3216
  }],
3086
3217
  /**
3087
3218
  * Mask Size
3088
3219
  * @see https://tailwindcss.com/docs/mask-size
3089
3220
  */
3090
3221
  "mask-size": [{
3091
- mask: q()
3222
+ mask: Y()
3092
3223
  }],
3093
3224
  /**
3094
3225
  * Mask Type
@@ -3125,7 +3256,7 @@ const Bs = /* @__PURE__ */ se({
3125
3256
  * @see https://tailwindcss.com/docs/blur
3126
3257
  */
3127
3258
  blur: [{
3128
- blur: Ee()
3259
+ blur: rt()
3129
3260
  }],
3130
3261
  /**
3131
3262
  * Brightness
@@ -3215,7 +3346,7 @@ const Bs = /* @__PURE__ */ se({
3215
3346
  * @see https://tailwindcss.com/docs/backdrop-blur
3216
3347
  */
3217
3348
  "backdrop-blur": [{
3218
- "backdrop-blur": Ee()
3349
+ "backdrop-blur": rt()
3219
3350
  }],
3220
3351
  /**
3221
3352
  * Backdrop Brightness
@@ -3288,21 +3419,21 @@ const Bs = /* @__PURE__ */ se({
3288
3419
  * @see https://tailwindcss.com/docs/border-spacing
3289
3420
  */
3290
3421
  "border-spacing": [{
3291
- "border-spacing": z()
3422
+ "border-spacing": C()
3292
3423
  }],
3293
3424
  /**
3294
3425
  * Border Spacing X
3295
3426
  * @see https://tailwindcss.com/docs/border-spacing
3296
3427
  */
3297
3428
  "border-spacing-x": [{
3298
- "border-spacing-x": z()
3429
+ "border-spacing-x": C()
3299
3430
  }],
3300
3431
  /**
3301
3432
  * Border Spacing Y
3302
3433
  * @see https://tailwindcss.com/docs/border-spacing
3303
3434
  */
3304
3435
  "border-spacing-y": [{
3305
- "border-spacing-y": z()
3436
+ "border-spacing-y": C()
3306
3437
  }],
3307
3438
  /**
3308
3439
  * Table Layout
@@ -3347,7 +3478,7 @@ const Bs = /* @__PURE__ */ se({
3347
3478
  * @see https://tailwindcss.com/docs/transition-timing-function
3348
3479
  */
3349
3480
  ease: [{
3350
- ease: ["linear", "initial", X, S, A]
3481
+ ease: ["linear", "initial", K, S, A]
3351
3482
  }],
3352
3483
  /**
3353
3484
  * Transition Delay
@@ -3392,56 +3523,56 @@ const Bs = /* @__PURE__ */ se({
3392
3523
  * @see https://tailwindcss.com/docs/rotate
3393
3524
  */
3394
3525
  rotate: [{
3395
- rotate: He()
3526
+ rotate: Ge()
3396
3527
  }],
3397
3528
  /**
3398
3529
  * Rotate X
3399
3530
  * @see https://tailwindcss.com/docs/rotate
3400
3531
  */
3401
3532
  "rotate-x": [{
3402
- "rotate-x": He()
3533
+ "rotate-x": Ge()
3403
3534
  }],
3404
3535
  /**
3405
3536
  * Rotate Y
3406
3537
  * @see https://tailwindcss.com/docs/rotate
3407
3538
  */
3408
3539
  "rotate-y": [{
3409
- "rotate-y": He()
3540
+ "rotate-y": Ge()
3410
3541
  }],
3411
3542
  /**
3412
3543
  * Rotate Z
3413
3544
  * @see https://tailwindcss.com/docs/rotate
3414
3545
  */
3415
3546
  "rotate-z": [{
3416
- "rotate-z": He()
3547
+ "rotate-z": Ge()
3417
3548
  }],
3418
3549
  /**
3419
3550
  * Scale
3420
3551
  * @see https://tailwindcss.com/docs/scale
3421
3552
  */
3422
3553
  scale: [{
3423
- scale: De()
3554
+ scale: je()
3424
3555
  }],
3425
3556
  /**
3426
3557
  * Scale X
3427
3558
  * @see https://tailwindcss.com/docs/scale
3428
3559
  */
3429
3560
  "scale-x": [{
3430
- "scale-x": De()
3561
+ "scale-x": je()
3431
3562
  }],
3432
3563
  /**
3433
3564
  * Scale Y
3434
3565
  * @see https://tailwindcss.com/docs/scale
3435
3566
  */
3436
3567
  "scale-y": [{
3437
- "scale-y": De()
3568
+ "scale-y": je()
3438
3569
  }],
3439
3570
  /**
3440
3571
  * Scale Z
3441
3572
  * @see https://tailwindcss.com/docs/scale
3442
3573
  */
3443
3574
  "scale-z": [{
3444
- "scale-z": De()
3575
+ "scale-z": je()
3445
3576
  }],
3446
3577
  /**
3447
3578
  * Scale 3D
@@ -3453,21 +3584,21 @@ const Bs = /* @__PURE__ */ se({
3453
3584
  * @see https://tailwindcss.com/docs/skew
3454
3585
  */
3455
3586
  skew: [{
3456
- skew: Je()
3587
+ skew: xe()
3457
3588
  }],
3458
3589
  /**
3459
3590
  * Skew X
3460
3591
  * @see https://tailwindcss.com/docs/skew
3461
3592
  */
3462
3593
  "skew-x": [{
3463
- "skew-x": Je()
3594
+ "skew-x": xe()
3464
3595
  }],
3465
3596
  /**
3466
3597
  * Skew Y
3467
3598
  * @see https://tailwindcss.com/docs/skew
3468
3599
  */
3469
3600
  "skew-y": [{
3470
- "skew-y": Je()
3601
+ "skew-y": xe()
3471
3602
  }],
3472
3603
  /**
3473
3604
  * Transform
@@ -3495,28 +3626,28 @@ const Bs = /* @__PURE__ */ se({
3495
3626
  * @see https://tailwindcss.com/docs/translate
3496
3627
  */
3497
3628
  translate: [{
3498
- translate: Ve()
3629
+ translate: Re()
3499
3630
  }],
3500
3631
  /**
3501
3632
  * Translate X
3502
3633
  * @see https://tailwindcss.com/docs/translate
3503
3634
  */
3504
3635
  "translate-x": [{
3505
- "translate-x": Ve()
3636
+ "translate-x": Re()
3506
3637
  }],
3507
3638
  /**
3508
3639
  * Translate Y
3509
3640
  * @see https://tailwindcss.com/docs/translate
3510
3641
  */
3511
3642
  "translate-y": [{
3512
- "translate-y": Ve()
3643
+ "translate-y": Re()
3513
3644
  }],
3514
3645
  /**
3515
3646
  * Translate Z
3516
3647
  * @see https://tailwindcss.com/docs/translate
3517
3648
  */
3518
3649
  "translate-z": [{
3519
- "translate-z": Ve()
3650
+ "translate-z": Re()
3520
3651
  }],
3521
3652
  /**
3522
3653
  * Translate None
@@ -3594,126 +3725,154 @@ const Bs = /* @__PURE__ */ se({
3594
3725
  * @see https://tailwindcss.com/docs/scroll-margin
3595
3726
  */
3596
3727
  "scroll-m": [{
3597
- "scroll-m": z()
3728
+ "scroll-m": C()
3598
3729
  }],
3599
3730
  /**
3600
- * Scroll Margin X
3731
+ * Scroll Margin Inline
3601
3732
  * @see https://tailwindcss.com/docs/scroll-margin
3602
3733
  */
3603
3734
  "scroll-mx": [{
3604
- "scroll-mx": z()
3735
+ "scroll-mx": C()
3605
3736
  }],
3606
3737
  /**
3607
- * Scroll Margin Y
3738
+ * Scroll Margin Block
3608
3739
  * @see https://tailwindcss.com/docs/scroll-margin
3609
3740
  */
3610
3741
  "scroll-my": [{
3611
- "scroll-my": z()
3742
+ "scroll-my": C()
3612
3743
  }],
3613
3744
  /**
3614
- * Scroll Margin Start
3745
+ * Scroll Margin Inline Start
3615
3746
  * @see https://tailwindcss.com/docs/scroll-margin
3616
3747
  */
3617
3748
  "scroll-ms": [{
3618
- "scroll-ms": z()
3749
+ "scroll-ms": C()
3619
3750
  }],
3620
3751
  /**
3621
- * Scroll Margin End
3752
+ * Scroll Margin Inline End
3622
3753
  * @see https://tailwindcss.com/docs/scroll-margin
3623
3754
  */
3624
3755
  "scroll-me": [{
3625
- "scroll-me": z()
3756
+ "scroll-me": C()
3757
+ }],
3758
+ /**
3759
+ * Scroll Margin Block Start
3760
+ * @see https://tailwindcss.com/docs/scroll-margin
3761
+ */
3762
+ "scroll-mbs": [{
3763
+ "scroll-mbs": C()
3764
+ }],
3765
+ /**
3766
+ * Scroll Margin Block End
3767
+ * @see https://tailwindcss.com/docs/scroll-margin
3768
+ */
3769
+ "scroll-mbe": [{
3770
+ "scroll-mbe": C()
3626
3771
  }],
3627
3772
  /**
3628
3773
  * Scroll Margin Top
3629
3774
  * @see https://tailwindcss.com/docs/scroll-margin
3630
3775
  */
3631
3776
  "scroll-mt": [{
3632
- "scroll-mt": z()
3777
+ "scroll-mt": C()
3633
3778
  }],
3634
3779
  /**
3635
3780
  * Scroll Margin Right
3636
3781
  * @see https://tailwindcss.com/docs/scroll-margin
3637
3782
  */
3638
3783
  "scroll-mr": [{
3639
- "scroll-mr": z()
3784
+ "scroll-mr": C()
3640
3785
  }],
3641
3786
  /**
3642
3787
  * Scroll Margin Bottom
3643
3788
  * @see https://tailwindcss.com/docs/scroll-margin
3644
3789
  */
3645
3790
  "scroll-mb": [{
3646
- "scroll-mb": z()
3791
+ "scroll-mb": C()
3647
3792
  }],
3648
3793
  /**
3649
3794
  * Scroll Margin Left
3650
3795
  * @see https://tailwindcss.com/docs/scroll-margin
3651
3796
  */
3652
3797
  "scroll-ml": [{
3653
- "scroll-ml": z()
3798
+ "scroll-ml": C()
3654
3799
  }],
3655
3800
  /**
3656
3801
  * Scroll Padding
3657
3802
  * @see https://tailwindcss.com/docs/scroll-padding
3658
3803
  */
3659
3804
  "scroll-p": [{
3660
- "scroll-p": z()
3805
+ "scroll-p": C()
3661
3806
  }],
3662
3807
  /**
3663
- * Scroll Padding X
3808
+ * Scroll Padding Inline
3664
3809
  * @see https://tailwindcss.com/docs/scroll-padding
3665
3810
  */
3666
3811
  "scroll-px": [{
3667
- "scroll-px": z()
3812
+ "scroll-px": C()
3668
3813
  }],
3669
3814
  /**
3670
- * Scroll Padding Y
3815
+ * Scroll Padding Block
3671
3816
  * @see https://tailwindcss.com/docs/scroll-padding
3672
3817
  */
3673
3818
  "scroll-py": [{
3674
- "scroll-py": z()
3819
+ "scroll-py": C()
3675
3820
  }],
3676
3821
  /**
3677
- * Scroll Padding Start
3822
+ * Scroll Padding Inline Start
3678
3823
  * @see https://tailwindcss.com/docs/scroll-padding
3679
3824
  */
3680
3825
  "scroll-ps": [{
3681
- "scroll-ps": z()
3826
+ "scroll-ps": C()
3682
3827
  }],
3683
3828
  /**
3684
- * Scroll Padding End
3829
+ * Scroll Padding Inline End
3685
3830
  * @see https://tailwindcss.com/docs/scroll-padding
3686
3831
  */
3687
3832
  "scroll-pe": [{
3688
- "scroll-pe": z()
3833
+ "scroll-pe": C()
3834
+ }],
3835
+ /**
3836
+ * Scroll Padding Block Start
3837
+ * @see https://tailwindcss.com/docs/scroll-padding
3838
+ */
3839
+ "scroll-pbs": [{
3840
+ "scroll-pbs": C()
3841
+ }],
3842
+ /**
3843
+ * Scroll Padding Block End
3844
+ * @see https://tailwindcss.com/docs/scroll-padding
3845
+ */
3846
+ "scroll-pbe": [{
3847
+ "scroll-pbe": C()
3689
3848
  }],
3690
3849
  /**
3691
3850
  * Scroll Padding Top
3692
3851
  * @see https://tailwindcss.com/docs/scroll-padding
3693
3852
  */
3694
3853
  "scroll-pt": [{
3695
- "scroll-pt": z()
3854
+ "scroll-pt": C()
3696
3855
  }],
3697
3856
  /**
3698
3857
  * Scroll Padding Right
3699
3858
  * @see https://tailwindcss.com/docs/scroll-padding
3700
3859
  */
3701
3860
  "scroll-pr": [{
3702
- "scroll-pr": z()
3861
+ "scroll-pr": C()
3703
3862
  }],
3704
3863
  /**
3705
3864
  * Scroll Padding Bottom
3706
3865
  * @see https://tailwindcss.com/docs/scroll-padding
3707
3866
  */
3708
3867
  "scroll-pb": [{
3709
- "scroll-pb": z()
3868
+ "scroll-pb": C()
3710
3869
  }],
3711
3870
  /**
3712
3871
  * Scroll Padding Left
3713
3872
  * @see https://tailwindcss.com/docs/scroll-padding
3714
3873
  */
3715
3874
  "scroll-pl": [{
3716
- "scroll-pl": z()
3875
+ "scroll-pl": C()
3717
3876
  }],
3718
3877
  /**
3719
3878
  * Scroll Snap Align
@@ -3798,7 +3957,7 @@ const Bs = /* @__PURE__ */ se({
3798
3957
  * @see https://tailwindcss.com/docs/stroke-width
3799
3958
  */
3800
3959
  "stroke-w": [{
3801
- stroke: [L, mt, We, gn]
3960
+ stroke: [L, kt, Ye, gn]
3802
3961
  }],
3803
3962
  /**
3804
3963
  * Stroke
@@ -3821,15 +3980,15 @@ const Bs = /* @__PURE__ */ se({
3821
3980
  conflictingClassGroups: {
3822
3981
  overflow: ["overflow-x", "overflow-y"],
3823
3982
  overscroll: ["overscroll-x", "overscroll-y"],
3824
- inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
3983
+ inset: ["inset-x", "inset-y", "inset-bs", "inset-be", "start", "end", "top", "right", "bottom", "left"],
3825
3984
  "inset-x": ["right", "left"],
3826
3985
  "inset-y": ["top", "bottom"],
3827
3986
  flex: ["basis", "grow", "shrink"],
3828
3987
  gap: ["gap-x", "gap-y"],
3829
- p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
3988
+ p: ["px", "py", "ps", "pe", "pbs", "pbe", "pt", "pr", "pb", "pl"],
3830
3989
  px: ["pr", "pl"],
3831
3990
  py: ["pt", "pb"],
3832
- m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
3991
+ m: ["mx", "my", "ms", "me", "mbs", "mbe", "mt", "mr", "mb", "ml"],
3833
3992
  mx: ["mr", "ml"],
3834
3993
  my: ["mt", "mb"],
3835
3994
  size: ["w", "h"],
@@ -3849,18 +4008,18 @@ const Bs = /* @__PURE__ */ se({
3849
4008
  "rounded-b": ["rounded-br", "rounded-bl"],
3850
4009
  "rounded-l": ["rounded-tl", "rounded-bl"],
3851
4010
  "border-spacing": ["border-spacing-x", "border-spacing-y"],
3852
- "border-w": ["border-w-x", "border-w-y", "border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
4011
+ "border-w": ["border-w-x", "border-w-y", "border-w-s", "border-w-e", "border-w-bs", "border-w-be", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
3853
4012
  "border-w-x": ["border-w-r", "border-w-l"],
3854
4013
  "border-w-y": ["border-w-t", "border-w-b"],
3855
- "border-color": ["border-color-x", "border-color-y", "border-color-s", "border-color-e", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
4014
+ "border-color": ["border-color-x", "border-color-y", "border-color-s", "border-color-e", "border-color-bs", "border-color-be", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
3856
4015
  "border-color-x": ["border-color-r", "border-color-l"],
3857
4016
  "border-color-y": ["border-color-t", "border-color-b"],
3858
4017
  translate: ["translate-x", "translate-y", "translate-none"],
3859
4018
  "translate-none": ["translate", "translate-x", "translate-y", "translate-z"],
3860
- "scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
4019
+ "scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mbs", "scroll-mbe", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
3861
4020
  "scroll-mx": ["scroll-mr", "scroll-ml"],
3862
4021
  "scroll-my": ["scroll-mt", "scroll-mb"],
3863
- "scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
4022
+ "scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pbs", "scroll-pbe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
3864
4023
  "scroll-px": ["scroll-pr", "scroll-pl"],
3865
4024
  "scroll-py": ["scroll-pt", "scroll-pb"],
3866
4025
  touch: ["touch-x", "touch-y", "touch-pz"],
@@ -4162,7 +4321,7 @@ const Bs = /* @__PURE__ */ se({
4162
4321
  }, qo = {
4163
4322
  key: 0,
4164
4323
  class: "absolute inset-0 flex items-center justify-center"
4165
- }, bn = /* @__PURE__ */ se({
4324
+ }, bn = /* @__PURE__ */ ae({
4166
4325
  __name: "FButton",
4167
4326
  props: {
4168
4327
  theme: { default: "default" },
@@ -4201,7 +4360,7 @@ const Bs = /* @__PURE__ */ se({
4201
4360
  lg: "rounded-lg",
4202
4361
  "2xl": "rounded-2xl",
4203
4362
  full: "rounded-full"
4204
- }, f = o.value, k = n.disabled ? "opacity-50 cursor-not-allowed pointer-events-none" : "", M = [
4363
+ }, f = o.value, k = n.disabled ? "opacity-50 cursor-not-allowed pointer-events-none" : "", _ = [
4205
4364
  c,
4206
4365
  d[n.size],
4207
4366
  h,
@@ -4211,7 +4370,7 @@ const Bs = /* @__PURE__ */ se({
4211
4370
  n.disabled ? "" : f.hover,
4212
4371
  k
4213
4372
  ].filter(Boolean).join(" ");
4214
- return Wo(M, n.class);
4373
+ return Wo(_, n.class);
4215
4374
  }), l = U(() => ({
4216
4375
  design: o.value.icon || ""
4217
4376
  }));
@@ -4219,26 +4378,26 @@ const Bs = /* @__PURE__ */ se({
4219
4378
  href: n.disabled ? void 0 : n.href,
4220
4379
  disabled: n.disabled || void 0,
4221
4380
  "aria-disabled": n.disabled || void 0,
4222
- class: _(a.value)
4381
+ class: z(a.value)
4223
4382
  }, {
4224
- default: Se(() => [
4383
+ default: Te(() => [
4225
4384
  n.loading ? (b(), v("div", qo, [
4226
- J(Er, {
4227
- class: _(s.value)
4385
+ te(Er, {
4386
+ class: z(s.value)
4228
4387
  }, null, 8, ["class"])
4229
- ])) : $("", !0),
4388
+ ])) : O("", !0),
4230
4389
  p("span", {
4231
- class: _(["flex items-center gap-2 transition-opacity duration-200 whitespace-nowrap", n.loading ? "opacity-0" : "opacity-100"])
4390
+ class: z(["flex items-center gap-2 transition-opacity duration-200 whitespace-nowrap", n.loading ? "opacity-0" : "opacity-100"])
4232
4391
  }, [
4233
4392
  t.value ? (b(), v("span", {
4234
4393
  key: 0,
4235
- class: _(["flex items-center size-[1.1em] mt-[-.07em]", [t.value, l.value.design]])
4236
- }, null, 2)) : $("", !0),
4237
- ht(c.$slots, "default"),
4394
+ class: z(["flex items-center size-[1.1em] mt-[-.07em]", [t.value, l.value.design]])
4395
+ }, null, 2)) : O("", !0),
4396
+ gt(c.$slots, "default"),
4238
4397
  e.value ? (b(), v("span", {
4239
4398
  key: 1,
4240
- class: _(["flex items-center size-[1.1em] mt-[-.07em]", [e.value, l.value.design]])
4241
- }, null, 2)) : $("", !0)
4399
+ class: z(["flex items-center size-[1.1em] mt-[-.07em]", [e.value, l.value.design]])
4400
+ }, null, 2)) : O("", !0)
4242
4401
  ], 2)
4243
4402
  ]),
4244
4403
  _: 3
@@ -4256,14 +4415,14 @@ const Bs = /* @__PURE__ */ se({
4256
4415
  }, ta = {
4257
4416
  key: 3,
4258
4417
  class: "space-y-3"
4259
- }, ra = { class: "grid grid-cols-2 gap-3" }, na = /* @__PURE__ */ se({
4418
+ }, ra = { class: "grid grid-cols-2 gap-3" }, na = /* @__PURE__ */ ae({
4260
4419
  __name: "ElAgentAbout",
4261
4420
  props: {
4262
4421
  agent: {}
4263
4422
  },
4264
4423
  setup(n) {
4265
4424
  return (t, e) => (b(), v("div", Yo, [
4266
- J(Cr, { agent: n.agent }, null, 8, ["agent"]),
4425
+ te(Cr, { agent: n.agent }, null, 8, ["agent"]),
4267
4426
  p("div", Zo, [
4268
4427
  n.agent.summary ? (b(), v("div", Xo, [
4269
4428
  e[0] || (e[0] = p("h3", { class: "font-medium text-white/50" }, " About ", -1)),
@@ -4271,14 +4430,14 @@ const Bs = /* @__PURE__ */ se({
4271
4430
  class: "text-white/70 leading-relaxed",
4272
4431
  innerHTML: n.agent.summary
4273
4432
  }, null, 8, Ko)
4274
- ])) : $("", !0),
4433
+ ])) : O("", !0),
4275
4434
  n.agent.entityType === "company" ? (b(), v("div", Qo, [
4276
4435
  e[1] || (e[1] = p("h3", { class: "text-sm font-medium text-white/90 mb-2" }, " Company Info ", -1)),
4277
- p("p", Jo, " This is a company agent representing " + Z(n.agent.name) + ". ", 1)
4278
- ])) : $("", !0),
4436
+ p("p", Jo, " This is a company agent representing " + X(n.agent.name) + ". ", 1)
4437
+ ])) : O("", !0),
4279
4438
  n.agent.email ? (b(), v("div", ea, [
4280
4439
  e[3] || (e[3] = p("h3", { class: "text-sm font-medium text-white/90" }, " Contact ", -1)),
4281
- J(bn, {
4440
+ te(bn, {
4282
4441
  design: "ghost",
4283
4442
  theme: "default",
4284
4443
  size: "sm",
@@ -4287,32 +4446,32 @@ const Bs = /* @__PURE__ */ se({
4287
4446
  href: `mailto:${n.agent.email}`,
4288
4447
  target: "_blank"
4289
4448
  }, {
4290
- default: Se(() => [...e[2] || (e[2] = [
4291
- Tt(" Email ", -1)
4449
+ default: Te(() => [...e[2] || (e[2] = [
4450
+ Ct(" Email ", -1)
4292
4451
  ])]),
4293
4452
  _: 1
4294
4453
  }, 8, ["href"])
4295
- ])) : $("", !0),
4454
+ ])) : O("", !0),
4296
4455
  n.agent.accounts && n.agent.accounts.length > 0 ? (b(), v("div", ta, [
4297
4456
  e[4] || (e[4] = p("h3", { class: "text-sm font-medium text-white/90" }, " Links ", -1)),
4298
4457
  p("div", ra, [
4299
- (b(!0), v(Ae, null, Ct(n.agent.accounts, (r) => (b(), me(bn, {
4458
+ (b(!0), v(Se, null, It(n.agent.accounts, (r) => (b(), me(bn, {
4300
4459
  key: `${r.platform}-${r.handle}`,
4301
4460
  design: "ghost",
4302
4461
  theme: "default",
4303
4462
  size: "md",
4304
4463
  class: "bg-white/10 hover:bg-white/20 border border-white/20 text-white/80",
4305
- icon: ne(it)[r.platform].icon,
4306
- href: ne(it)[r.platform].getUrl(r.handle),
4464
+ icon: oe(lt)[r.platform].icon,
4465
+ href: oe(lt)[r.platform].getUrl(r.handle),
4307
4466
  target: "_blank"
4308
4467
  }, {
4309
- default: Se(() => [
4310
- Tt(Z(ne(it)[r.platform].label), 1)
4468
+ default: Te(() => [
4469
+ Ct(X(oe(lt)[r.platform].label), 1)
4311
4470
  ]),
4312
4471
  _: 2
4313
4472
  }, 1032, ["icon", "href"]))), 128))
4314
4473
  ])
4315
- ])) : $("", !0)
4474
+ ])) : O("", !0)
4316
4475
  ])
4317
4476
  ]));
4318
4477
  }
@@ -4326,7 +4485,7 @@ const {
4326
4485
  } = Object;
4327
4486
  let {
4328
4487
  freeze: ue,
4329
- seal: ge,
4488
+ seal: pe,
4330
4489
  create: wr
4331
4490
  } = Object, {
4332
4491
  apply: Ar,
@@ -4335,7 +4494,7 @@ let {
4335
4494
  ue || (ue = /* @__PURE__ */ i(function(t) {
4336
4495
  return t;
4337
4496
  }, "freeze"));
4338
- ge || (ge = /* @__PURE__ */ i(function(t) {
4497
+ pe || (pe = /* @__PURE__ */ i(function(t) {
4339
4498
  return t;
4340
4499
  }, "seal"));
4341
4500
  Ar || (Ar = /* @__PURE__ */ i(function(t, e) {
@@ -4348,7 +4507,7 @@ Sr || (Sr = /* @__PURE__ */ i(function(t) {
4348
4507
  r[s - 1] = arguments[s];
4349
4508
  return new t(...r);
4350
4509
  }, "construct"));
4351
- const Ut = de(Array.prototype.forEach), ia = de(Array.prototype.lastIndexOf), xn = de(Array.prototype.pop), bt = de(Array.prototype.push), la = de(Array.prototype.splice), Gt = de(String.prototype.toLowerCase), dr = de(String.prototype.toString), hr = de(String.prototype.match), kt = de(String.prototype.replace), ca = de(String.prototype.indexOf), ua = de(String.prototype.trim), fe = de(Object.prototype.hasOwnProperty), le = de(RegExp.prototype.test), xt = da(TypeError);
4510
+ const Ut = de(Array.prototype.forEach), ia = de(Array.prototype.lastIndexOf), xn = de(Array.prototype.pop), xt = de(Array.prototype.push), la = de(Array.prototype.splice), Gt = de(String.prototype.toLowerCase), dr = de(String.prototype.toString), hr = de(String.prototype.match), vt = de(String.prototype.replace), ca = de(String.prototype.indexOf), ua = de(String.prototype.trim), fe = de(Object.prototype.hasOwnProperty), le = de(RegExp.prototype.test), yt = da(TypeError);
4352
4511
  function de(n) {
4353
4512
  return function(t) {
4354
4513
  t instanceof RegExp && (t.lastIndex = 0);
@@ -4387,14 +4546,14 @@ function ha(n) {
4387
4546
  return n;
4388
4547
  }
4389
4548
  i(ha, "cleanArray");
4390
- function ye(n) {
4549
+ function we(n) {
4391
4550
  const t = wr(null);
4392
4551
  for (const [e, r] of Jn(n))
4393
- fe(n, e) && (Array.isArray(r) ? t[e] = ha(r) : r && typeof r == "object" && r.constructor === Object ? t[e] = ye(r) : t[e] = r);
4552
+ fe(n, e) && (Array.isArray(r) ? t[e] = ha(r) : r && typeof r == "object" && r.constructor === Object ? t[e] = we(r) : t[e] = r);
4394
4553
  return t;
4395
4554
  }
4396
- i(ye, "clone");
4397
- function vt(n, t) {
4555
+ i(we, "clone");
4556
+ function wt(n, t) {
4398
4557
  for (; n !== null; ) {
4399
4558
  const r = aa(n, t);
4400
4559
  if (r) {
@@ -4410,14 +4569,14 @@ function vt(n, t) {
4410
4569
  }
4411
4570
  return i(e, "fallbackValue"), e;
4412
4571
  }
4413
- i(vt, "lookupGetter");
4414
- const vn = ue(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), gr = ue(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), pr = ue(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), ga = ue(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), fr = ue(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), pa = ue(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), yn = ue(["#text"]), wn = ue(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), mr = ue(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), An = ue(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Ft = ue(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), fa = ge(/\{\{[\w\W]*|[\w\W]*\}\}/gm), ma = ge(/<%[\w\W]*|[\w\W]*%>/gm), ba = ge(/\$\{[\w\W]*/gm), ka = ge(/^data-[\-\w.\u00B7-\uFFFF]+$/), xa = ge(/^aria-[\-\w]+$/), es = ge(
4572
+ i(wt, "lookupGetter");
4573
+ const vn = ue(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), gr = ue(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), pr = ue(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), ga = ue(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), fr = ue(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), pa = ue(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), yn = ue(["#text"]), wn = ue(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), mr = ue(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), An = ue(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Ft = ue(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), fa = pe(/\{\{[\w\W]*|[\w\W]*\}\}/gm), ma = pe(/<%[\w\W]*|[\w\W]*%>/gm), ba = pe(/\$\{[\w\W]*/gm), ka = pe(/^data-[\-\w.\u00B7-\uFFFF]+$/), xa = pe(/^aria-[\-\w]+$/), es = pe(
4415
4574
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
4416
4575
  // eslint-disable-line no-useless-escape
4417
- ), va = ge(/^(?:\w+script|data):/i), ya = ge(
4576
+ ), va = pe(/^(?:\w+script|data):/i), ya = pe(
4418
4577
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
4419
4578
  // eslint-disable-line no-control-regex
4420
- ), ts = ge(/^html$/i), wa = ge(/^[a-z][.\w]*(-[.\w]+)+$/i);
4579
+ ), ts = pe(/^html$/i), wa = pe(/^[a-z][.\w]*(-[.\w]+)+$/i);
4421
4580
  var Sn = /* @__PURE__ */ Object.freeze({
4422
4581
  __proto__: null,
4423
4582
  ARIA_ATTR: xa,
@@ -4431,7 +4590,7 @@ var Sn = /* @__PURE__ */ Object.freeze({
4431
4590
  MUSTACHE_EXPR: fa,
4432
4591
  TMPLIT_EXPR: ba
4433
4592
  });
4434
- const yt = {
4593
+ const At = {
4435
4594
  element: 1,
4436
4595
  text: 3,
4437
4596
  // Deprecated
@@ -4474,8 +4633,8 @@ const yt = {
4474
4633
  }, "_createHooksMap");
4475
4634
  function rs() {
4476
4635
  let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Aa();
4477
- const t = /* @__PURE__ */ i((C) => rs(C), "DOMPurify");
4478
- if (t.version = "3.3.1", t.removed = [], !n || !n.document || n.document.nodeType !== yt.document || !n.Element)
4636
+ const t = /* @__PURE__ */ i((R) => rs(R), "DOMPurify");
4637
+ if (t.version = "3.3.1", t.removed = [], !n || !n.document || n.document.nodeType !== At.document || !n.Element)
4479
4638
  return t.isSupported = !1, t;
4480
4639
  let {
4481
4640
  document: e
@@ -4490,39 +4649,39 @@ function rs() {
4490
4649
  HTMLFormElement: g,
4491
4650
  DOMParser: f,
4492
4651
  trustedTypes: k
4493
- } = n, M = c.prototype, E = vt(M, "cloneNode"), N = vt(M, "remove"), X = vt(M, "nextSibling"), y = vt(M, "childNodes"), x = vt(M, "parentNode");
4652
+ } = n, _ = c.prototype, E = wt(_, "cloneNode"), N = wt(_, "remove"), K = wt(_, "nextSibling"), y = wt(_, "childNodes"), x = wt(_, "parentNode");
4494
4653
  if (typeof a == "function") {
4495
- const C = e.createElement("template");
4496
- C.content && C.content.ownerDocument && (e = C.content.ownerDocument);
4654
+ const R = e.createElement("template");
4655
+ R.content && R.content.ownerDocument && (e = R.content.ownerDocument);
4497
4656
  }
4498
4657
  let w, B = "";
4499
4658
  const {
4500
4659
  implementation: H,
4501
- createNodeIterator: ee,
4502
- createDocumentFragment: z,
4503
- getElementsByTagName: ie
4660
+ createNodeIterator: re,
4661
+ createDocumentFragment: C,
4662
+ getElementsByTagName: Q
4504
4663
  } = e, {
4505
- importNode: It
4664
+ importNode: _t
4506
4665
  } = r;
4507
- let te = Tn();
4666
+ let ne = Tn();
4508
4667
  t.isSupported = typeof Jn == "function" && typeof x == "function" && H && H.createHTMLDocument !== void 0;
4509
4668
  const {
4510
- MUSTACHE_EXPR: _e,
4511
- ERB_EXPR: Ke,
4512
- TMPLIT_EXPR: Fe,
4513
- DATA_ATTR: ze,
4514
- ARIA_ATTR: pe,
4515
- IS_SCRIPT_OR_DATA: Te,
4516
- ATTR_WHITESPACE: I,
4517
- CUSTOM_ELEMENT: Mt
4669
+ MUSTACHE_EXPR: Le,
4670
+ ERB_EXPR: Je,
4671
+ TMPLIT_EXPR: Ve,
4672
+ DATA_ATTR: De,
4673
+ ARIA_ATTR: ge,
4674
+ IS_SCRIPT_OR_DATA: Ee,
4675
+ ATTR_WHITESPACE: et,
4676
+ CUSTOM_ELEMENT: pt
4518
4677
  } = Sn;
4519
4678
  let {
4520
- IS_ALLOWED_URI: gt
4521
- } = Sn, q = null;
4522
- const Qe = D({}, [...vn, ...gr, ...pr, ...fr, ...yn]);
4523
- let P = null;
4524
- const oe = D({}, [...wn, ...mr, ...An, ...Ft]);
4525
- let V = Object.seal(wr(null, {
4679
+ IS_ALLOWED_URI: I
4680
+ } = Sn, j = null;
4681
+ const ft = D({}, [...vn, ...gr, ...pr, ...fr, ...yn]);
4682
+ let Y = null;
4683
+ const tt = D({}, [...wn, ...mr, ...An, ...Ft]);
4684
+ let $ = Object.seal(wr(null, {
4526
4685
  tagNameCheck: {
4527
4686
  writable: !0,
4528
4687
  configurable: !1,
@@ -4541,8 +4700,8 @@ function rs() {
4541
4700
  enumerable: !0,
4542
4701
  value: !1
4543
4702
  }
4544
- })), Le = null, j = null;
4545
- const Ee = Object.seal(wr(null, {
4703
+ })), W = null, $e = null;
4704
+ const Ce = Object.seal(wr(null, {
4546
4705
  tagCheck: {
4547
4706
  writable: !0,
4548
4707
  configurable: !1,
@@ -4556,47 +4715,47 @@ function rs() {
4556
4715
  value: null
4557
4716
  }
4558
4717
  }));
4559
- let He = !0, De = !0, Je = !1, Ve = !0, et = !1, _t = !0, Ge = !1, Jt = !1, er = !1, tt = !1, zt = !1, Lt = !1, Fr = !0, Hr = !1;
4718
+ let q = !0, rt = !0, Ge = !1, je = !0, xe = !1, Re = !0, We = !1, Jt = !1, er = !1, nt = !1, zt = !1, Lt = !1, Fr = !0, Hr = !1;
4560
4719
  const ms = "user-content-";
4561
- let tr = !0, pt = !1, rt = {}, xe = null;
4720
+ let tr = !0, mt = !1, st = {}, ve = null;
4562
4721
  const rr = D({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
4563
4722
  let Vr = null;
4564
4723
  const Gr = D({}, ["audio", "video", "img", "source", "image", "track"]);
4565
4724
  let nr = null;
4566
- const jr = D({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Dt = "http://www.w3.org/1998/Math/MathML", $t = "http://www.w3.org/2000/svg", Ce = "http://www.w3.org/1999/xhtml";
4567
- let nt = Ce, sr = !1, or = null;
4568
- const bs = D({}, [Dt, $t, Ce], dr);
4725
+ const jr = D({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Dt = "http://www.w3.org/1998/Math/MathML", $t = "http://www.w3.org/2000/svg", Ie = "http://www.w3.org/1999/xhtml";
4726
+ let ot = Ie, sr = !1, or = null;
4727
+ const bs = D({}, [Dt, $t, Ie], dr);
4569
4728
  let Ot = D({}, ["mi", "mo", "mn", "ms", "mtext"]), Pt = D({}, ["annotation-xml"]);
4570
4729
  const ks = D({}, ["title", "style", "font", "a", "script"]);
4571
- let ft = null;
4730
+ let bt = null;
4572
4731
  const xs = ["application/xhtml+xml", "text/html"], vs = "text/html";
4573
- let K = null, st = null;
4732
+ let J = null, at = null;
4574
4733
  const ys = e.createElement("form"), Wr = /* @__PURE__ */ i(function(u) {
4575
4734
  return u instanceof RegExp || u instanceof Function;
4576
4735
  }, "isRegexOrFunction"), ar = /* @__PURE__ */ i(function() {
4577
4736
  let u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4578
- if (!(st && st === u)) {
4579
- if ((!u || typeof u != "object") && (u = {}), u = ye(u), ft = // eslint-disable-next-line unicorn/prefer-includes
4580
- xs.indexOf(u.PARSER_MEDIA_TYPE) === -1 ? vs : u.PARSER_MEDIA_TYPE, K = ft === "application/xhtml+xml" ? dr : Gt, q = fe(u, "ALLOWED_TAGS") ? D({}, u.ALLOWED_TAGS, K) : Qe, P = fe(u, "ALLOWED_ATTR") ? D({}, u.ALLOWED_ATTR, K) : oe, or = fe(u, "ALLOWED_NAMESPACES") ? D({}, u.ALLOWED_NAMESPACES, dr) : bs, nr = fe(u, "ADD_URI_SAFE_ATTR") ? D(ye(jr), u.ADD_URI_SAFE_ATTR, K) : jr, Vr = fe(u, "ADD_DATA_URI_TAGS") ? D(ye(Gr), u.ADD_DATA_URI_TAGS, K) : Gr, xe = fe(u, "FORBID_CONTENTS") ? D({}, u.FORBID_CONTENTS, K) : rr, Le = fe(u, "FORBID_TAGS") ? D({}, u.FORBID_TAGS, K) : ye({}), j = fe(u, "FORBID_ATTR") ? D({}, u.FORBID_ATTR, K) : ye({}), rt = fe(u, "USE_PROFILES") ? u.USE_PROFILES : !1, He = u.ALLOW_ARIA_ATTR !== !1, De = u.ALLOW_DATA_ATTR !== !1, Je = u.ALLOW_UNKNOWN_PROTOCOLS || !1, Ve = u.ALLOW_SELF_CLOSE_IN_ATTR !== !1, et = u.SAFE_FOR_TEMPLATES || !1, _t = u.SAFE_FOR_XML !== !1, Ge = u.WHOLE_DOCUMENT || !1, tt = u.RETURN_DOM || !1, zt = u.RETURN_DOM_FRAGMENT || !1, Lt = u.RETURN_TRUSTED_TYPE || !1, er = u.FORCE_BODY || !1, Fr = u.SANITIZE_DOM !== !1, Hr = u.SANITIZE_NAMED_PROPS || !1, tr = u.KEEP_CONTENT !== !1, pt = u.IN_PLACE || !1, gt = u.ALLOWED_URI_REGEXP || es, nt = u.NAMESPACE || Ce, Ot = u.MATHML_TEXT_INTEGRATION_POINTS || Ot, Pt = u.HTML_INTEGRATION_POINTS || Pt, V = u.CUSTOM_ELEMENT_HANDLING || {}, u.CUSTOM_ELEMENT_HANDLING && Wr(u.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (V.tagNameCheck = u.CUSTOM_ELEMENT_HANDLING.tagNameCheck), u.CUSTOM_ELEMENT_HANDLING && Wr(u.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (V.attributeNameCheck = u.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), u.CUSTOM_ELEMENT_HANDLING && typeof u.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (V.allowCustomizedBuiltInElements = u.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), et && (De = !1), zt && (tt = !0), rt && (q = D({}, yn), P = [], rt.html === !0 && (D(q, vn), D(P, wn)), rt.svg === !0 && (D(q, gr), D(P, mr), D(P, Ft)), rt.svgFilters === !0 && (D(q, pr), D(P, mr), D(P, Ft)), rt.mathMl === !0 && (D(q, fr), D(P, An), D(P, Ft))), u.ADD_TAGS && (typeof u.ADD_TAGS == "function" ? Ee.tagCheck = u.ADD_TAGS : (q === Qe && (q = ye(q)), D(q, u.ADD_TAGS, K))), u.ADD_ATTR && (typeof u.ADD_ATTR == "function" ? Ee.attributeCheck = u.ADD_ATTR : (P === oe && (P = ye(P)), D(P, u.ADD_ATTR, K))), u.ADD_URI_SAFE_ATTR && D(nr, u.ADD_URI_SAFE_ATTR, K), u.FORBID_CONTENTS && (xe === rr && (xe = ye(xe)), D(xe, u.FORBID_CONTENTS, K)), u.ADD_FORBID_CONTENTS && (xe === rr && (xe = ye(xe)), D(xe, u.ADD_FORBID_CONTENTS, K)), tr && (q["#text"] = !0), Ge && D(q, ["html", "head", "body"]), q.table && (D(q, ["tbody"]), delete Le.tbody), u.TRUSTED_TYPES_POLICY) {
4737
+ if (!(at && at === u)) {
4738
+ if ((!u || typeof u != "object") && (u = {}), u = we(u), bt = // eslint-disable-next-line unicorn/prefer-includes
4739
+ xs.indexOf(u.PARSER_MEDIA_TYPE) === -1 ? vs : u.PARSER_MEDIA_TYPE, J = bt === "application/xhtml+xml" ? dr : Gt, j = fe(u, "ALLOWED_TAGS") ? D({}, u.ALLOWED_TAGS, J) : ft, Y = fe(u, "ALLOWED_ATTR") ? D({}, u.ALLOWED_ATTR, J) : tt, or = fe(u, "ALLOWED_NAMESPACES") ? D({}, u.ALLOWED_NAMESPACES, dr) : bs, nr = fe(u, "ADD_URI_SAFE_ATTR") ? D(we(jr), u.ADD_URI_SAFE_ATTR, J) : jr, Vr = fe(u, "ADD_DATA_URI_TAGS") ? D(we(Gr), u.ADD_DATA_URI_TAGS, J) : Gr, ve = fe(u, "FORBID_CONTENTS") ? D({}, u.FORBID_CONTENTS, J) : rr, W = fe(u, "FORBID_TAGS") ? D({}, u.FORBID_TAGS, J) : we({}), $e = fe(u, "FORBID_ATTR") ? D({}, u.FORBID_ATTR, J) : we({}), st = fe(u, "USE_PROFILES") ? u.USE_PROFILES : !1, q = u.ALLOW_ARIA_ATTR !== !1, rt = u.ALLOW_DATA_ATTR !== !1, Ge = u.ALLOW_UNKNOWN_PROTOCOLS || !1, je = u.ALLOW_SELF_CLOSE_IN_ATTR !== !1, xe = u.SAFE_FOR_TEMPLATES || !1, Re = u.SAFE_FOR_XML !== !1, We = u.WHOLE_DOCUMENT || !1, nt = u.RETURN_DOM || !1, zt = u.RETURN_DOM_FRAGMENT || !1, Lt = u.RETURN_TRUSTED_TYPE || !1, er = u.FORCE_BODY || !1, Fr = u.SANITIZE_DOM !== !1, Hr = u.SANITIZE_NAMED_PROPS || !1, tr = u.KEEP_CONTENT !== !1, mt = u.IN_PLACE || !1, I = u.ALLOWED_URI_REGEXP || es, ot = u.NAMESPACE || Ie, Ot = u.MATHML_TEXT_INTEGRATION_POINTS || Ot, Pt = u.HTML_INTEGRATION_POINTS || Pt, $ = u.CUSTOM_ELEMENT_HANDLING || {}, u.CUSTOM_ELEMENT_HANDLING && Wr(u.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && ($.tagNameCheck = u.CUSTOM_ELEMENT_HANDLING.tagNameCheck), u.CUSTOM_ELEMENT_HANDLING && Wr(u.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && ($.attributeNameCheck = u.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), u.CUSTOM_ELEMENT_HANDLING && typeof u.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && ($.allowCustomizedBuiltInElements = u.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), xe && (rt = !1), zt && (nt = !0), st && (j = D({}, yn), Y = [], st.html === !0 && (D(j, vn), D(Y, wn)), st.svg === !0 && (D(j, gr), D(Y, mr), D(Y, Ft)), st.svgFilters === !0 && (D(j, pr), D(Y, mr), D(Y, Ft)), st.mathMl === !0 && (D(j, fr), D(Y, An), D(Y, Ft))), u.ADD_TAGS && (typeof u.ADD_TAGS == "function" ? Ce.tagCheck = u.ADD_TAGS : (j === ft && (j = we(j)), D(j, u.ADD_TAGS, J))), u.ADD_ATTR && (typeof u.ADD_ATTR == "function" ? Ce.attributeCheck = u.ADD_ATTR : (Y === tt && (Y = we(Y)), D(Y, u.ADD_ATTR, J))), u.ADD_URI_SAFE_ATTR && D(nr, u.ADD_URI_SAFE_ATTR, J), u.FORBID_CONTENTS && (ve === rr && (ve = we(ve)), D(ve, u.FORBID_CONTENTS, J)), u.ADD_FORBID_CONTENTS && (ve === rr && (ve = we(ve)), D(ve, u.ADD_FORBID_CONTENTS, J)), tr && (j["#text"] = !0), We && D(j, ["html", "head", "body"]), j.table && (D(j, ["tbody"]), delete W.tbody), u.TRUSTED_TYPES_POLICY) {
4581
4740
  if (typeof u.TRUSTED_TYPES_POLICY.createHTML != "function")
4582
- throw xt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
4741
+ throw yt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
4583
4742
  if (typeof u.TRUSTED_TYPES_POLICY.createScriptURL != "function")
4584
- throw xt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
4743
+ throw yt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
4585
4744
  w = u.TRUSTED_TYPES_POLICY, B = w.createHTML("");
4586
4745
  } else
4587
4746
  w === void 0 && (w = Sa(k, s)), w !== null && typeof B == "string" && (B = w.createHTML(""));
4588
- ue && ue(u), st = u;
4747
+ ue && ue(u), at = u;
4589
4748
  }
4590
4749
  }, "_parseConfig"), qr = D({}, [...gr, ...pr, ...ga]), Yr = D({}, [...fr, ...pa]), ws = /* @__PURE__ */ i(function(u) {
4591
4750
  let m = x(u);
4592
4751
  (!m || !m.tagName) && (m = {
4593
- namespaceURI: nt,
4752
+ namespaceURI: ot,
4594
4753
  tagName: "template"
4595
4754
  });
4596
- const T = Gt(u.tagName), G = Gt(m.tagName);
4597
- return or[u.namespaceURI] ? u.namespaceURI === $t ? m.namespaceURI === Ce ? T === "svg" : m.namespaceURI === Dt ? T === "svg" && (G === "annotation-xml" || Ot[G]) : !!qr[T] : u.namespaceURI === Dt ? m.namespaceURI === Ce ? T === "math" : m.namespaceURI === $t ? T === "math" && Pt[G] : !!Yr[T] : u.namespaceURI === Ce ? m.namespaceURI === $t && !Pt[G] || m.namespaceURI === Dt && !Ot[G] ? !1 : !Yr[T] && (ks[T] || !qr[T]) : !!(ft === "application/xhtml+xml" && or[u.namespaceURI]) : !1;
4598
- }, "_checkValidNamespace"), ve = /* @__PURE__ */ i(function(u) {
4599
- bt(t.removed, {
4755
+ const T = Gt(u.tagName), V = Gt(m.tagName);
4756
+ return or[u.namespaceURI] ? u.namespaceURI === $t ? m.namespaceURI === Ie ? T === "svg" : m.namespaceURI === Dt ? T === "svg" && (V === "annotation-xml" || Ot[V]) : !!qr[T] : u.namespaceURI === Dt ? m.namespaceURI === Ie ? T === "math" : m.namespaceURI === $t ? T === "math" && Pt[V] : !!Yr[T] : u.namespaceURI === Ie ? m.namespaceURI === $t && !Pt[V] || m.namespaceURI === Dt && !Ot[V] ? !1 : !Yr[T] && (ks[T] || !qr[T]) : !!(bt === "application/xhtml+xml" && or[u.namespaceURI]) : !1;
4757
+ }, "_checkValidNamespace"), ye = /* @__PURE__ */ i(function(u) {
4758
+ xt(t.removed, {
4600
4759
  element: u
4601
4760
  });
4602
4761
  try {
@@ -4604,22 +4763,22 @@ function rs() {
4604
4763
  } catch {
4605
4764
  N(u);
4606
4765
  }
4607
- }, "_forceRemove"), je = /* @__PURE__ */ i(function(u, m) {
4766
+ }, "_forceRemove"), qe = /* @__PURE__ */ i(function(u, m) {
4608
4767
  try {
4609
- bt(t.removed, {
4768
+ xt(t.removed, {
4610
4769
  attribute: m.getAttributeNode(u),
4611
4770
  from: m
4612
4771
  });
4613
4772
  } catch {
4614
- bt(t.removed, {
4773
+ xt(t.removed, {
4615
4774
  attribute: null,
4616
4775
  from: m
4617
4776
  });
4618
4777
  }
4619
4778
  if (m.removeAttribute(u), u === "is")
4620
- if (tt || zt)
4779
+ if (nt || zt)
4621
4780
  try {
4622
- ve(m);
4781
+ ye(m);
4623
4782
  } catch {
4624
4783
  }
4625
4784
  else
@@ -4632,27 +4791,27 @@ function rs() {
4632
4791
  if (er)
4633
4792
  u = "<remove></remove>" + u;
4634
4793
  else {
4635
- const Y = hr(u, /^[\r\n\t ]+/);
4636
- T = Y && Y[0];
4794
+ const Z = hr(u, /^[\r\n\t ]+/);
4795
+ T = Z && Z[0];
4637
4796
  }
4638
- ft === "application/xhtml+xml" && nt === Ce && (u = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + u + "</body></html>");
4639
- const G = w ? w.createHTML(u) : u;
4640
- if (nt === Ce)
4797
+ bt === "application/xhtml+xml" && ot === Ie && (u = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + u + "</body></html>");
4798
+ const V = w ? w.createHTML(u) : u;
4799
+ if (ot === Ie)
4641
4800
  try {
4642
- m = new f().parseFromString(G, ft);
4801
+ m = new f().parseFromString(V, bt);
4643
4802
  } catch {
4644
4803
  }
4645
4804
  if (!m || !m.documentElement) {
4646
- m = H.createDocument(nt, "template", null);
4805
+ m = H.createDocument(ot, "template", null);
4647
4806
  try {
4648
- m.documentElement.innerHTML = sr ? B : G;
4807
+ m.documentElement.innerHTML = sr ? B : V;
4649
4808
  } catch {
4650
4809
  }
4651
4810
  }
4652
- const ae = m.body || m.documentElement;
4653
- return u && T && ae.insertBefore(e.createTextNode(T), ae.childNodes[0] || null), nt === Ce ? ie.call(m, Ge ? "html" : "body")[0] : Ge ? m.documentElement : ae;
4811
+ const ie = m.body || m.documentElement;
4812
+ return u && T && ie.insertBefore(e.createTextNode(T), ie.childNodes[0] || null), ot === Ie ? Q.call(m, We ? "html" : "body")[0] : We ? m.documentElement : ie;
4654
4813
  }, "_initDocument"), Xr = /* @__PURE__ */ i(function(u) {
4655
- return ee.call(
4814
+ return re.call(
4656
4815
  u.ownerDocument || u,
4657
4816
  u,
4658
4817
  // eslint-disable-next-line no-bitwise
@@ -4664,61 +4823,61 @@ function rs() {
4664
4823
  }, "_isClobbered"), Kr = /* @__PURE__ */ i(function(u) {
4665
4824
  return typeof l == "function" && u instanceof l;
4666
4825
  }, "_isNode");
4667
- function Re(C, u, m) {
4668
- Ut(C, (T) => {
4669
- T.call(t, u, m, st);
4826
+ function Me(R, u, m) {
4827
+ Ut(R, (T) => {
4828
+ T.call(t, u, m, at);
4670
4829
  });
4671
4830
  }
4672
- i(Re, "_executeHooks");
4831
+ i(Me, "_executeHooks");
4673
4832
  const Qr = /* @__PURE__ */ i(function(u) {
4674
4833
  let m = null;
4675
- if (Re(te.beforeSanitizeElements, u, null), ir(u))
4676
- return ve(u), !0;
4677
- const T = K(u.nodeName);
4678
- if (Re(te.uponSanitizeElement, u, {
4834
+ if (Me(ne.beforeSanitizeElements, u, null), ir(u))
4835
+ return ye(u), !0;
4836
+ const T = J(u.nodeName);
4837
+ if (Me(ne.uponSanitizeElement, u, {
4679
4838
  tagName: T,
4680
- allowedTags: q
4681
- }), _t && u.hasChildNodes() && !Kr(u.firstElementChild) && le(/<[/\w!]/g, u.innerHTML) && le(/<[/\w!]/g, u.textContent) || u.nodeType === yt.progressingInstruction || _t && u.nodeType === yt.comment && le(/<[/\w]/g, u.data))
4682
- return ve(u), !0;
4683
- if (!(Ee.tagCheck instanceof Function && Ee.tagCheck(T)) && (!q[T] || Le[T])) {
4684
- if (!Le[T] && en(T) && (V.tagNameCheck instanceof RegExp && le(V.tagNameCheck, T) || V.tagNameCheck instanceof Function && V.tagNameCheck(T)))
4839
+ allowedTags: j
4840
+ }), Re && u.hasChildNodes() && !Kr(u.firstElementChild) && le(/<[/\w!]/g, u.innerHTML) && le(/<[/\w!]/g, u.textContent) || u.nodeType === At.progressingInstruction || Re && u.nodeType === At.comment && le(/<[/\w]/g, u.data))
4841
+ return ye(u), !0;
4842
+ if (!(Ce.tagCheck instanceof Function && Ce.tagCheck(T)) && (!j[T] || W[T])) {
4843
+ if (!W[T] && en(T) && ($.tagNameCheck instanceof RegExp && le($.tagNameCheck, T) || $.tagNameCheck instanceof Function && $.tagNameCheck(T)))
4685
4844
  return !1;
4686
- if (tr && !xe[T]) {
4687
- const G = x(u) || u.parentNode, ae = y(u) || u.childNodes;
4688
- if (ae && G) {
4689
- const Y = ae.length;
4690
- for (let he = Y - 1; he >= 0; --he) {
4691
- const Ie = E(ae[he], !0);
4692
- Ie.__removalCount = (u.__removalCount || 0) + 1, G.insertBefore(Ie, X(u));
4845
+ if (tr && !ve[T]) {
4846
+ const V = x(u) || u.parentNode, ie = y(u) || u.childNodes;
4847
+ if (ie && V) {
4848
+ const Z = ie.length;
4849
+ for (let he = Z - 1; he >= 0; --he) {
4850
+ const _e = E(ie[he], !0);
4851
+ _e.__removalCount = (u.__removalCount || 0) + 1, V.insertBefore(_e, K(u));
4693
4852
  }
4694
4853
  }
4695
4854
  }
4696
- return ve(u), !0;
4855
+ return ye(u), !0;
4697
4856
  }
4698
- return u instanceof c && !ws(u) || (T === "noscript" || T === "noembed" || T === "noframes") && le(/<\/no(script|embed|frames)/i, u.innerHTML) ? (ve(u), !0) : (et && u.nodeType === yt.text && (m = u.textContent, Ut([_e, Ke, Fe], (G) => {
4699
- m = kt(m, G, " ");
4700
- }), u.textContent !== m && (bt(t.removed, {
4857
+ return u instanceof c && !ws(u) || (T === "noscript" || T === "noembed" || T === "noframes") && le(/<\/no(script|embed|frames)/i, u.innerHTML) ? (ye(u), !0) : (xe && u.nodeType === At.text && (m = u.textContent, Ut([Le, Je, Ve], (V) => {
4858
+ m = vt(m, V, " ");
4859
+ }), u.textContent !== m && (xt(t.removed, {
4701
4860
  element: u.cloneNode()
4702
- }), u.textContent = m)), Re(te.afterSanitizeElements, u, null), !1);
4861
+ }), u.textContent = m)), Me(ne.afterSanitizeElements, u, null), !1);
4703
4862
  }, "_sanitizeElements"), Jr = /* @__PURE__ */ i(function(u, m, T) {
4704
4863
  if (Fr && (m === "id" || m === "name") && (T in e || T in ys))
4705
4864
  return !1;
4706
- if (!(De && !j[m] && le(ze, m))) {
4707
- if (!(He && le(pe, m))) {
4708
- if (!(Ee.attributeCheck instanceof Function && Ee.attributeCheck(m, u))) {
4709
- if (!P[m] || j[m]) {
4865
+ if (!(rt && !$e[m] && le(De, m))) {
4866
+ if (!(q && le(ge, m))) {
4867
+ if (!(Ce.attributeCheck instanceof Function && Ce.attributeCheck(m, u))) {
4868
+ if (!Y[m] || $e[m]) {
4710
4869
  if (
4711
4870
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
4712
4871
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
4713
4872
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
4714
- !(en(u) && (V.tagNameCheck instanceof RegExp && le(V.tagNameCheck, u) || V.tagNameCheck instanceof Function && V.tagNameCheck(u)) && (V.attributeNameCheck instanceof RegExp && le(V.attributeNameCheck, m) || V.attributeNameCheck instanceof Function && V.attributeNameCheck(m, u)) || // Alternative, second condition checks if it's an `is`-attribute, AND
4873
+ !(en(u) && ($.tagNameCheck instanceof RegExp && le($.tagNameCheck, u) || $.tagNameCheck instanceof Function && $.tagNameCheck(u)) && ($.attributeNameCheck instanceof RegExp && le($.attributeNameCheck, m) || $.attributeNameCheck instanceof Function && $.attributeNameCheck(m, u)) || // Alternative, second condition checks if it's an `is`-attribute, AND
4715
4874
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
4716
- m === "is" && V.allowCustomizedBuiltInElements && (V.tagNameCheck instanceof RegExp && le(V.tagNameCheck, T) || V.tagNameCheck instanceof Function && V.tagNameCheck(T)))
4875
+ m === "is" && $.allowCustomizedBuiltInElements && ($.tagNameCheck instanceof RegExp && le($.tagNameCheck, T) || $.tagNameCheck instanceof Function && $.tagNameCheck(T)))
4717
4876
  ) return !1;
4718
4877
  } else if (!nr[m]) {
4719
- if (!le(gt, kt(T, I, ""))) {
4878
+ if (!le(I, vt(T, et, ""))) {
4720
4879
  if (!((m === "src" || m === "xlink:href" || m === "href") && u !== "script" && ca(T, "data:") === 0 && Vr[u])) {
4721
- if (!(Je && !le(Te, kt(T, I, "")))) {
4880
+ if (!(Ge && !le(Ee, vt(T, et, "")))) {
4722
4881
  if (T)
4723
4882
  return !1;
4724
4883
  }
@@ -4730,9 +4889,9 @@ function rs() {
4730
4889
  }
4731
4890
  return !0;
4732
4891
  }, "_isValidAttribute"), en = /* @__PURE__ */ i(function(u) {
4733
- return u !== "annotation-xml" && hr(u, Mt);
4892
+ return u !== "annotation-xml" && hr(u, pt);
4734
4893
  }, "_isBasicCustomElement"), tn = /* @__PURE__ */ i(function(u) {
4735
- Re(te.beforeSanitizeAttributes, u, null);
4894
+ Me(ne.beforeSanitizeAttributes, u, null);
4736
4895
  const {
4737
4896
  attributes: m
4738
4897
  } = u;
@@ -4742,134 +4901,134 @@ function rs() {
4742
4901
  attrName: "",
4743
4902
  attrValue: "",
4744
4903
  keepAttr: !0,
4745
- allowedAttributes: P,
4904
+ allowedAttributes: Y,
4746
4905
  forceKeepAttr: void 0
4747
4906
  };
4748
- let G = m.length;
4749
- for (; G--; ) {
4750
- const ae = m[G], {
4751
- name: Y,
4907
+ let V = m.length;
4908
+ for (; V--; ) {
4909
+ const ie = m[V], {
4910
+ name: Z,
4752
4911
  namespaceURI: he,
4753
- value: Ie
4754
- } = ae, ot = K(Y), lr = Ie;
4755
- let re = Y === "value" ? lr : ua(lr);
4756
- if (T.attrName = ot, T.attrValue = re, T.keepAttr = !0, T.forceKeepAttr = void 0, Re(te.uponSanitizeAttribute, u, T), re = T.attrValue, Hr && (ot === "id" || ot === "name") && (je(Y, u), re = ms + re), _t && le(/((--!?|])>)|<\/(style|title|textarea)/i, re)) {
4757
- je(Y, u);
4912
+ value: _e
4913
+ } = ie, it = J(Z), lr = _e;
4914
+ let se = Z === "value" ? lr : ua(lr);
4915
+ if (T.attrName = it, T.attrValue = se, T.keepAttr = !0, T.forceKeepAttr = void 0, Me(ne.uponSanitizeAttribute, u, T), se = T.attrValue, Hr && (it === "id" || it === "name") && (qe(Z, u), se = ms + se), Re && le(/((--!?|])>)|<\/(style|title|textarea)/i, se)) {
4916
+ qe(Z, u);
4758
4917
  continue;
4759
4918
  }
4760
- if (ot === "attributename" && hr(re, "href")) {
4761
- je(Y, u);
4919
+ if (it === "attributename" && hr(se, "href")) {
4920
+ qe(Z, u);
4762
4921
  continue;
4763
4922
  }
4764
4923
  if (T.forceKeepAttr)
4765
4924
  continue;
4766
4925
  if (!T.keepAttr) {
4767
- je(Y, u);
4926
+ qe(Z, u);
4768
4927
  continue;
4769
4928
  }
4770
- if (!Ve && le(/\/>/i, re)) {
4771
- je(Y, u);
4929
+ if (!je && le(/\/>/i, se)) {
4930
+ qe(Z, u);
4772
4931
  continue;
4773
4932
  }
4774
- et && Ut([_e, Ke, Fe], (nn) => {
4775
- re = kt(re, nn, " ");
4933
+ xe && Ut([Le, Je, Ve], (nn) => {
4934
+ se = vt(se, nn, " ");
4776
4935
  });
4777
- const rn = K(u.nodeName);
4778
- if (!Jr(rn, ot, re)) {
4779
- je(Y, u);
4936
+ const rn = J(u.nodeName);
4937
+ if (!Jr(rn, it, se)) {
4938
+ qe(Z, u);
4780
4939
  continue;
4781
4940
  }
4782
4941
  if (w && typeof k == "object" && typeof k.getAttributeType == "function" && !he)
4783
- switch (k.getAttributeType(rn, ot)) {
4942
+ switch (k.getAttributeType(rn, it)) {
4784
4943
  case "TrustedHTML": {
4785
- re = w.createHTML(re);
4944
+ se = w.createHTML(se);
4786
4945
  break;
4787
4946
  }
4788
4947
  case "TrustedScriptURL": {
4789
- re = w.createScriptURL(re);
4948
+ se = w.createScriptURL(se);
4790
4949
  break;
4791
4950
  }
4792
4951
  }
4793
- if (re !== lr)
4952
+ if (se !== lr)
4794
4953
  try {
4795
- he ? u.setAttributeNS(he, Y, re) : u.setAttribute(Y, re), ir(u) ? ve(u) : xn(t.removed);
4954
+ he ? u.setAttributeNS(he, Z, se) : u.setAttribute(Z, se), ir(u) ? ye(u) : xn(t.removed);
4796
4955
  } catch {
4797
- je(Y, u);
4956
+ qe(Z, u);
4798
4957
  }
4799
4958
  }
4800
- Re(te.afterSanitizeAttributes, u, null);
4801
- }, "_sanitizeAttributes"), As = /* @__PURE__ */ i(function C(u) {
4959
+ Me(ne.afterSanitizeAttributes, u, null);
4960
+ }, "_sanitizeAttributes"), As = /* @__PURE__ */ i(function R(u) {
4802
4961
  let m = null;
4803
4962
  const T = Xr(u);
4804
- for (Re(te.beforeSanitizeShadowDOM, u, null); m = T.nextNode(); )
4805
- Re(te.uponSanitizeShadowNode, m, null), Qr(m), tn(m), m.content instanceof o && C(m.content);
4806
- Re(te.afterSanitizeShadowDOM, u, null);
4963
+ for (Me(ne.beforeSanitizeShadowDOM, u, null); m = T.nextNode(); )
4964
+ Me(ne.uponSanitizeShadowNode, m, null), Qr(m), tn(m), m.content instanceof o && R(m.content);
4965
+ Me(ne.afterSanitizeShadowDOM, u, null);
4807
4966
  }, "_sanitizeShadowDOM");
4808
- return t.sanitize = function(C) {
4809
- let u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, m = null, T = null, G = null, ae = null;
4810
- if (sr = !C, sr && (C = "<!-->"), typeof C != "string" && !Kr(C))
4811
- if (typeof C.toString == "function") {
4812
- if (C = C.toString(), typeof C != "string")
4813
- throw xt("dirty is not a string, aborting");
4967
+ return t.sanitize = function(R) {
4968
+ let u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, m = null, T = null, V = null, ie = null;
4969
+ if (sr = !R, sr && (R = "<!-->"), typeof R != "string" && !Kr(R))
4970
+ if (typeof R.toString == "function") {
4971
+ if (R = R.toString(), typeof R != "string")
4972
+ throw yt("dirty is not a string, aborting");
4814
4973
  } else
4815
- throw xt("toString is not a function");
4974
+ throw yt("toString is not a function");
4816
4975
  if (!t.isSupported)
4817
- return C;
4818
- if (Jt || ar(u), t.removed = [], typeof C == "string" && (pt = !1), pt) {
4819
- if (C.nodeName) {
4820
- const Ie = K(C.nodeName);
4821
- if (!q[Ie] || Le[Ie])
4822
- throw xt("root node is forbidden and cannot be sanitized in-place");
4976
+ return R;
4977
+ if (Jt || ar(u), t.removed = [], typeof R == "string" && (mt = !1), mt) {
4978
+ if (R.nodeName) {
4979
+ const _e = J(R.nodeName);
4980
+ if (!j[_e] || W[_e])
4981
+ throw yt("root node is forbidden and cannot be sanitized in-place");
4823
4982
  }
4824
- } else if (C instanceof l)
4825
- m = Zr("<!---->"), T = m.ownerDocument.importNode(C, !0), T.nodeType === yt.element && T.nodeName === "BODY" || T.nodeName === "HTML" ? m = T : m.appendChild(T);
4983
+ } else if (R instanceof l)
4984
+ m = Zr("<!---->"), T = m.ownerDocument.importNode(R, !0), T.nodeType === At.element && T.nodeName === "BODY" || T.nodeName === "HTML" ? m = T : m.appendChild(T);
4826
4985
  else {
4827
- if (!tt && !et && !Ge && // eslint-disable-next-line unicorn/prefer-includes
4828
- C.indexOf("<") === -1)
4829
- return w && Lt ? w.createHTML(C) : C;
4830
- if (m = Zr(C), !m)
4831
- return tt ? null : Lt ? B : "";
4986
+ if (!nt && !xe && !We && // eslint-disable-next-line unicorn/prefer-includes
4987
+ R.indexOf("<") === -1)
4988
+ return w && Lt ? w.createHTML(R) : R;
4989
+ if (m = Zr(R), !m)
4990
+ return nt ? null : Lt ? B : "";
4832
4991
  }
4833
- m && er && ve(m.firstChild);
4834
- const Y = Xr(pt ? C : m);
4835
- for (; G = Y.nextNode(); )
4836
- Qr(G), tn(G), G.content instanceof o && As(G.content);
4837
- if (pt)
4838
- return C;
4839
- if (tt) {
4992
+ m && er && ye(m.firstChild);
4993
+ const Z = Xr(mt ? R : m);
4994
+ for (; V = Z.nextNode(); )
4995
+ Qr(V), tn(V), V.content instanceof o && As(V.content);
4996
+ if (mt)
4997
+ return R;
4998
+ if (nt) {
4840
4999
  if (zt)
4841
- for (ae = z.call(m.ownerDocument); m.firstChild; )
4842
- ae.appendChild(m.firstChild);
5000
+ for (ie = C.call(m.ownerDocument); m.firstChild; )
5001
+ ie.appendChild(m.firstChild);
4843
5002
  else
4844
- ae = m;
4845
- return (P.shadowroot || P.shadowrootmode) && (ae = It.call(r, ae, !0)), ae;
5003
+ ie = m;
5004
+ return (Y.shadowroot || Y.shadowrootmode) && (ie = _t.call(r, ie, !0)), ie;
4846
5005
  }
4847
- let he = Ge ? m.outerHTML : m.innerHTML;
4848
- return Ge && q["!doctype"] && m.ownerDocument && m.ownerDocument.doctype && m.ownerDocument.doctype.name && le(ts, m.ownerDocument.doctype.name) && (he = "<!DOCTYPE " + m.ownerDocument.doctype.name + `>
4849
- ` + he), et && Ut([_e, Ke, Fe], (Ie) => {
4850
- he = kt(he, Ie, " ");
5006
+ let he = We ? m.outerHTML : m.innerHTML;
5007
+ return We && j["!doctype"] && m.ownerDocument && m.ownerDocument.doctype && m.ownerDocument.doctype.name && le(ts, m.ownerDocument.doctype.name) && (he = "<!DOCTYPE " + m.ownerDocument.doctype.name + `>
5008
+ ` + he), xe && Ut([Le, Je, Ve], (_e) => {
5009
+ he = vt(he, _e, " ");
4851
5010
  }), w && Lt ? w.createHTML(he) : he;
4852
5011
  }, t.setConfig = function() {
4853
- let C = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4854
- ar(C), Jt = !0;
5012
+ let R = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
5013
+ ar(R), Jt = !0;
4855
5014
  }, t.clearConfig = function() {
4856
- st = null, Jt = !1;
4857
- }, t.isValidAttribute = function(C, u, m) {
4858
- st || ar({});
4859
- const T = K(C), G = K(u);
4860
- return Jr(T, G, m);
4861
- }, t.addHook = function(C, u) {
4862
- typeof u == "function" && bt(te[C], u);
4863
- }, t.removeHook = function(C, u) {
5015
+ at = null, Jt = !1;
5016
+ }, t.isValidAttribute = function(R, u, m) {
5017
+ at || ar({});
5018
+ const T = J(R), V = J(u);
5019
+ return Jr(T, V, m);
5020
+ }, t.addHook = function(R, u) {
5021
+ typeof u == "function" && xt(ne[R], u);
5022
+ }, t.removeHook = function(R, u) {
4864
5023
  if (u !== void 0) {
4865
- const m = ia(te[C], u);
4866
- return m === -1 ? void 0 : la(te[C], m, 1)[0];
5024
+ const m = ia(ne[R], u);
5025
+ return m === -1 ? void 0 : la(ne[R], m, 1)[0];
4867
5026
  }
4868
- return xn(te[C]);
4869
- }, t.removeHooks = function(C) {
4870
- te[C] = [];
5027
+ return xn(ne[R]);
5028
+ }, t.removeHooks = function(R) {
5029
+ ne[R] = [];
4871
5030
  }, t.removeAllHooks = function() {
4872
- te = Tn();
5031
+ ne = Tn();
4873
5032
  }, t;
4874
5033
  }
4875
5034
  i(rs, "createDOMPurify");
@@ -4878,35 +5037,35 @@ function Mr() {
4878
5037
  return { async: !1, breaks: !1, extensions: null, gfm: !0, hooks: null, pedantic: !1, renderer: null, silent: !1, tokenizer: null, walkTokens: null };
4879
5038
  }
4880
5039
  i(Mr, "M");
4881
- var Xe = Mr();
5040
+ var Qe = Mr();
4882
5041
  function ns(n) {
4883
- Xe = n;
5042
+ Qe = n;
4884
5043
  }
4885
5044
  i(ns, "H");
4886
- var qe = { exec: /* @__PURE__ */ i(() => null, "exec") };
4887
- function O(n, t = "") {
5045
+ var Ze = { exec: /* @__PURE__ */ i(() => null, "exec") };
5046
+ function P(n, t = "") {
4888
5047
  let e = typeof n == "string" ? n : n.source, r = { replace: /* @__PURE__ */ i((s, o) => {
4889
5048
  let a = typeof o == "string" ? o : o.source;
4890
5049
  return a = a.replace(ce.caret, "$1"), e = e.replace(s, a), r;
4891
5050
  }, "replace"), getRegex: /* @__PURE__ */ i(() => new RegExp(e, t), "getRegex") };
4892
5051
  return r;
4893
5052
  }
4894
- i(O, "k");
5053
+ i(P, "k");
4895
5054
  var Ea = (() => {
4896
5055
  try {
4897
5056
  return !!new RegExp("(?<=1)(?<!1)");
4898
5057
  } catch {
4899
5058
  return !1;
4900
5059
  }
4901
- })(), ce = { codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm, outputLinkReplace: /\\([\[\]])/g, indentCodeCompensation: /^(\s+)(?:```)/, beginningSpace: /^\s+/, endingHash: /#$/, startingSpaceChar: /^ /, endingSpaceChar: / $/, nonSpaceChar: /[^ ]/, newLineCharGlobal: /\n/g, tabCharGlobal: /\t/g, multipleSpaceGlobal: /\s+/g, blankLine: /^[ \t]*$/, doubleBlankLine: /\n[ \t]*\n[ \t]*$/, blockquoteStart: /^ {0,3}>/, blockquoteSetextReplace: /\n {0,3}((?:=+|-+) *)(?=\n|$)/g, blockquoteSetextReplace2: /^ {0,3}>[ \t]?/gm, listReplaceNesting: /^ {1,4}(?=( {4})*[^ ])/g, listIsTask: /^\[[ xX]\] +\S/, listReplaceTask: /^\[[ xX]\] +/, listTaskCheckbox: /\[[ xX]\]/, anyLine: /\n.*\n/, hrefBrackets: /^<(.*)>$/, tableDelimiter: /[:|]/, tableAlignChars: /^\||\| *$/g, tableRowBlankLine: /\n[ \t]*$/, tableAlignRight: /^ *-+: *$/, tableAlignCenter: /^ *:-+: *$/, tableAlignLeft: /^ *:-+ *$/, startATag: /^<a /i, endATag: /^<\/a>/i, startPreScriptTag: /^<(pre|code|kbd|script)(\s|>)/i, endPreScriptTag: /^<\/(pre|code|kbd|script)(\s|>)/i, startAngleBracket: /^</, endAngleBracket: />$/, pedanticHrefTitle: /^([^'"]*[^\s])\s+(['"])(.*)\2/, unicodeAlphaNumeric: /[\p{L}\p{N}]/u, escapeTest: /[&<>"']/, escapeReplace: /[&<>"']/g, escapeTestNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, escapeReplaceNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g, unescapeTest: /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig, caret: /(^|[^\[])\^/g, percentDecode: /%25/g, findPipe: /\|/g, splitPipe: / \|/, slashPipe: /\\\|/g, carriageReturn: /\r\n|\r/g, spaceLine: /^ +$/gm, notSpaceStart: /^\S*/, endingNewline: /\n$/, listItemRegex: /* @__PURE__ */ i((n) => new RegExp(`^( {0,3}${n})((?:[ ][^\\n]*)?(?:\\n|$))`), "listItemRegex"), nextBulletRegex: /* @__PURE__ */ i((n) => new RegExp(`^ {0,${Math.min(3, n - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), "nextBulletRegex"), hrRegex: /* @__PURE__ */ i((n) => new RegExp(`^ {0,${Math.min(3, n - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), "hrRegex"), fencesBeginRegex: /* @__PURE__ */ i((n) => new RegExp(`^ {0,${Math.min(3, n - 1)}}(?:\`\`\`|~~~)`), "fencesBeginRegex"), headingBeginRegex: /* @__PURE__ */ i((n) => new RegExp(`^ {0,${Math.min(3, n - 1)}}#`), "headingBeginRegex"), htmlBeginRegex: /* @__PURE__ */ i((n) => new RegExp(`^ {0,${Math.min(3, n - 1)}}<(?:[a-z].*>|!--)`, "i"), "htmlBeginRegex"), blockquoteBeginRegex: /* @__PURE__ */ i((n) => new RegExp(`^ {0,${Math.min(3, n - 1)}}>`), "blockquoteBeginRegex") }, Ca = /^(?:[ \t]*(?:\n|$))+/, Ra = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Ia = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Rt = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Ma = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, _r = / {0,3}(?:[*+-]|\d{1,9}[.)])/, ss = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, os = O(ss).replace(/bull/g, _r).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), _a = O(ss).replace(/bull/g, _r).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), zr = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, za = /^[^\n]+/, Lr = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, La = O(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Lr).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Da = O(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, _r).getRegex(), Kt = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", Dr = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, $a = O("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", Dr).replace("tag", Kt).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), as = O(zr).replace("hr", Rt).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Kt).getRegex(), Oa = O(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", as).getRegex(), $r = { blockquote: Oa, code: Ra, def: La, fences: Ia, heading: Ma, hr: Rt, html: $a, lheading: os, list: Da, newline: Ca, paragraph: as, table: qe, text: za }, En = O("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", Rt).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Kt).getRegex(), Pa = { ...$r, lheading: _a, table: En, paragraph: O(zr).replace("hr", Rt).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", En).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Kt).getRegex() }, Na = { ...$r, html: O(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", Dr).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(), def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/, heading: /^(#{1,6})(.*)(?:\n+|$)/, fences: qe, lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/, paragraph: O(zr).replace("hr", Rt).replace("heading", ` *#{1,6} *[^
4902
- ]`).replace("lheading", os).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex() }, Ba = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Ua = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, is = /^( {2,}|\\)\n(?!\s*$)/, Fa = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Qt = /[\p{P}\p{S}]/u, Or = /[\s\p{P}\p{S}]/u, ls = /[^\s\p{P}\p{S}]/u, Ha = O(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Or).getRegex(), cs = /(?!~)[\p{P}\p{S}]/u, Va = /(?!~)[\s\p{P}\p{S}]/u, Ga = /(?:[^\s\p{P}\p{S}]|~)/u, us = /(?![*_])[\p{P}\p{S}]/u, ja = /(?![*_])[\s\p{P}\p{S}]/u, Wa = /(?:[^\s\p{P}\p{S}]|[*_])/u, qa = O(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", Ea ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), ds = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, Ya = O(ds, "u").replace(/punct/g, Qt).getRegex(), Za = O(ds, "u").replace(/punct/g, cs).getRegex(), hs = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Xa = O(hs, "gu").replace(/notPunctSpace/g, ls).replace(/punctSpace/g, Or).replace(/punct/g, Qt).getRegex(), Ka = O(hs, "gu").replace(/notPunctSpace/g, Ga).replace(/punctSpace/g, Va).replace(/punct/g, cs).getRegex(), Qa = O("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, ls).replace(/punctSpace/g, Or).replace(/punct/g, Qt).getRegex(), Ja = O(/^~~?(?:((?!~)punct)|[^\s~])/, "u").replace(/punct/g, us).getRegex(), ei = "^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)", ti = O(ei, "gu").replace(/notPunctSpace/g, Wa).replace(/punctSpace/g, ja).replace(/punct/g, us).getRegex(), ri = O(/\\(punct)/, "gu").replace(/punct/g, Qt).getRegex(), ni = O(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), si = O(Dr).replace("(?:-->|$)", "-->").getRegex(), oi = O("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", si).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), qt = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/, ai = O(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", qt).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), gs = O(/^!?\[(label)\]\[(ref)\]/).replace("label", qt).replace("ref", Lr).getRegex(), ps = O(/^!?\[(ref)\](?:\[\])?/).replace("ref", Lr).getRegex(), ii = O("reflink|nolink(?!\\()", "g").replace("reflink", gs).replace("nolink", ps).getRegex(), Cn = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, Pr = { _backpedal: qe, anyPunctuation: ri, autolink: ni, blockSkip: qa, br: is, code: Ua, del: qe, delLDelim: qe, delRDelim: qe, emStrongLDelim: Ya, emStrongRDelimAst: Xa, emStrongRDelimUnd: Qa, escape: Ba, link: ai, nolink: ps, punctuation: Ha, reflink: gs, reflinkSearch: ii, tag: oi, text: Fa, url: qe }, li = { ...Pr, link: O(/^!?\[(label)\]\((.*?)\)/).replace("label", qt).getRegex(), reflink: O(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", qt).getRegex() }, Tr = { ...Pr, emStrongRDelimAst: Ka, emStrongLDelim: Za, delLDelim: Ja, delRDelim: ti, url: O(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", Cn).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(), _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/, del: /^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/, text: O(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", Cn).getRegex() }, ci = { ...Tr, br: O(is).replace("{2,}", "*").getRegex(), text: O(Tr.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex() }, Ht = { normal: $r, gfm: Pa, pedantic: Na }, wt = { normal: Pr, gfm: Tr, breaks: ci, pedantic: li }, ui = { "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#39;" }, Rn = /* @__PURE__ */ i((n) => ui[n], "de");
4903
- function we(n, t) {
5060
+ })(), ce = { codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm, outputLinkReplace: /\\([\[\]])/g, indentCodeCompensation: /^(\s+)(?:```)/, beginningSpace: /^\s+/, endingHash: /#$/, startingSpaceChar: /^ /, endingSpaceChar: / $/, nonSpaceChar: /[^ ]/, newLineCharGlobal: /\n/g, tabCharGlobal: /\t/g, multipleSpaceGlobal: /\s+/g, blankLine: /^[ \t]*$/, doubleBlankLine: /\n[ \t]*\n[ \t]*$/, blockquoteStart: /^ {0,3}>/, blockquoteSetextReplace: /\n {0,3}((?:=+|-+) *)(?=\n|$)/g, blockquoteSetextReplace2: /^ {0,3}>[ \t]?/gm, listReplaceNesting: /^ {1,4}(?=( {4})*[^ ])/g, listIsTask: /^\[[ xX]\] +\S/, listReplaceTask: /^\[[ xX]\] +/, listTaskCheckbox: /\[[ xX]\]/, anyLine: /\n.*\n/, hrefBrackets: /^<(.*)>$/, tableDelimiter: /[:|]/, tableAlignChars: /^\||\| *$/g, tableRowBlankLine: /\n[ \t]*$/, tableAlignRight: /^ *-+: *$/, tableAlignCenter: /^ *:-+: *$/, tableAlignLeft: /^ *:-+ *$/, startATag: /^<a /i, endATag: /^<\/a>/i, startPreScriptTag: /^<(pre|code|kbd|script)(\s|>)/i, endPreScriptTag: /^<\/(pre|code|kbd|script)(\s|>)/i, startAngleBracket: /^</, endAngleBracket: />$/, pedanticHrefTitle: /^([^'"]*[^\s])\s+(['"])(.*)\2/, unicodeAlphaNumeric: /[\p{L}\p{N}]/u, escapeTest: /[&<>"']/, escapeReplace: /[&<>"']/g, escapeTestNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, escapeReplaceNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g, unescapeTest: /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig, caret: /(^|[^\[])\^/g, percentDecode: /%25/g, findPipe: /\|/g, splitPipe: / \|/, slashPipe: /\\\|/g, carriageReturn: /\r\n|\r/g, spaceLine: /^ +$/gm, notSpaceStart: /^\S*/, endingNewline: /\n$/, listItemRegex: /* @__PURE__ */ i((n) => new RegExp(`^( {0,3}${n})((?:[ ][^\\n]*)?(?:\\n|$))`), "listItemRegex"), nextBulletRegex: /* @__PURE__ */ i((n) => new RegExp(`^ {0,${Math.min(3, n - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), "nextBulletRegex"), hrRegex: /* @__PURE__ */ i((n) => new RegExp(`^ {0,${Math.min(3, n - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), "hrRegex"), fencesBeginRegex: /* @__PURE__ */ i((n) => new RegExp(`^ {0,${Math.min(3, n - 1)}}(?:\`\`\`|~~~)`), "fencesBeginRegex"), headingBeginRegex: /* @__PURE__ */ i((n) => new RegExp(`^ {0,${Math.min(3, n - 1)}}#`), "headingBeginRegex"), htmlBeginRegex: /* @__PURE__ */ i((n) => new RegExp(`^ {0,${Math.min(3, n - 1)}}<(?:[a-z].*>|!--)`, "i"), "htmlBeginRegex"), blockquoteBeginRegex: /* @__PURE__ */ i((n) => new RegExp(`^ {0,${Math.min(3, n - 1)}}>`), "blockquoteBeginRegex") }, Ca = /^(?:[ \t]*(?:\n|$))+/, Ra = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Ia = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Mt = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Ma = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, _r = / {0,3}(?:[*+-]|\d{1,9}[.)])/, ss = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, os = P(ss).replace(/bull/g, _r).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), _a = P(ss).replace(/bull/g, _r).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), zr = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, za = /^[^\n]+/, Lr = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, La = P(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Lr).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Da = P(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, _r).getRegex(), Kt = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", Dr = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, $a = P("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", Dr).replace("tag", Kt).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), as = P(zr).replace("hr", Mt).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Kt).getRegex(), Oa = P(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", as).getRegex(), $r = { blockquote: Oa, code: Ra, def: La, fences: Ia, heading: Ma, hr: Mt, html: $a, lheading: os, list: Da, newline: Ca, paragraph: as, table: Ze, text: za }, En = P("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", Mt).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Kt).getRegex(), Pa = { ...$r, lheading: _a, table: En, paragraph: P(zr).replace("hr", Mt).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", En).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Kt).getRegex() }, Na = { ...$r, html: P(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", Dr).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(), def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/, heading: /^(#{1,6})(.*)(?:\n+|$)/, fences: Ze, lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/, paragraph: P(zr).replace("hr", Mt).replace("heading", ` *#{1,6} *[^
5061
+ ]`).replace("lheading", os).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex() }, Ba = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Ua = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, is = /^( {2,}|\\)\n(?!\s*$)/, Fa = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Qt = /[\p{P}\p{S}]/u, Or = /[\s\p{P}\p{S}]/u, ls = /[^\s\p{P}\p{S}]/u, Ha = P(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Or).getRegex(), cs = /(?!~)[\p{P}\p{S}]/u, Va = /(?!~)[\s\p{P}\p{S}]/u, Ga = /(?:[^\s\p{P}\p{S}]|~)/u, us = /(?![*_])[\p{P}\p{S}]/u, ja = /(?![*_])[\s\p{P}\p{S}]/u, Wa = /(?:[^\s\p{P}\p{S}]|[*_])/u, qa = P(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", Ea ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), ds = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, Ya = P(ds, "u").replace(/punct/g, Qt).getRegex(), Za = P(ds, "u").replace(/punct/g, cs).getRegex(), hs = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Xa = P(hs, "gu").replace(/notPunctSpace/g, ls).replace(/punctSpace/g, Or).replace(/punct/g, Qt).getRegex(), Ka = P(hs, "gu").replace(/notPunctSpace/g, Ga).replace(/punctSpace/g, Va).replace(/punct/g, cs).getRegex(), Qa = P("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, ls).replace(/punctSpace/g, Or).replace(/punct/g, Qt).getRegex(), Ja = P(/^~~?(?:((?!~)punct)|[^\s~])/, "u").replace(/punct/g, us).getRegex(), ei = "^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)", ti = P(ei, "gu").replace(/notPunctSpace/g, Wa).replace(/punctSpace/g, ja).replace(/punct/g, us).getRegex(), ri = P(/\\(punct)/, "gu").replace(/punct/g, Qt).getRegex(), ni = P(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), si = P(Dr).replace("(?:-->|$)", "-->").getRegex(), oi = P("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", si).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), qt = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/, ai = P(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", qt).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), gs = P(/^!?\[(label)\]\[(ref)\]/).replace("label", qt).replace("ref", Lr).getRegex(), ps = P(/^!?\[(ref)\](?:\[\])?/).replace("ref", Lr).getRegex(), ii = P("reflink|nolink(?!\\()", "g").replace("reflink", gs).replace("nolink", ps).getRegex(), Cn = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, Pr = { _backpedal: Ze, anyPunctuation: ri, autolink: ni, blockSkip: qa, br: is, code: Ua, del: Ze, delLDelim: Ze, delRDelim: Ze, emStrongLDelim: Ya, emStrongRDelimAst: Xa, emStrongRDelimUnd: Qa, escape: Ba, link: ai, nolink: ps, punctuation: Ha, reflink: gs, reflinkSearch: ii, tag: oi, text: Fa, url: Ze }, li = { ...Pr, link: P(/^!?\[(label)\]\((.*?)\)/).replace("label", qt).getRegex(), reflink: P(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", qt).getRegex() }, Tr = { ...Pr, emStrongRDelimAst: Ka, emStrongLDelim: Za, delLDelim: Ja, delRDelim: ti, url: P(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", Cn).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(), _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/, del: /^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/, text: P(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", Cn).getRegex() }, ci = { ...Tr, br: P(is).replace("{2,}", "*").getRegex(), text: P(Tr.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex() }, Ht = { normal: $r, gfm: Pa, pedantic: Na }, St = { normal: Pr, gfm: Tr, breaks: ci, pedantic: li }, ui = { "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#39;" }, Rn = /* @__PURE__ */ i((n) => ui[n], "de");
5062
+ function Ae(n, t) {
4904
5063
  if (t) {
4905
5064
  if (ce.escapeTest.test(n)) return n.replace(ce.escapeReplace, Rn);
4906
5065
  } else if (ce.escapeTestNoEncode.test(n)) return n.replace(ce.escapeReplaceNoEncode, Rn);
4907
5066
  return n;
4908
5067
  }
4909
- i(we, "O");
5068
+ i(Ae, "O");
4910
5069
  function In(n) {
4911
5070
  try {
4912
5071
  n = encodeURI(n).replace(ce.percentDecode, "%");
@@ -4928,7 +5087,7 @@ function Mn(n, t) {
4928
5087
  return r;
4929
5088
  }
4930
5089
  i(Mn, "J");
4931
- function At(n, t, e) {
5090
+ function Tt(n, t, e) {
4932
5091
  let r = n.length;
4933
5092
  if (r === 0) return "";
4934
5093
  let s = 0;
@@ -4936,7 +5095,7 @@ function At(n, t, e) {
4936
5095
  s++;
4937
5096
  return n.slice(0, r - s);
4938
5097
  }
4939
- i(At, "C");
5098
+ i(Tt, "C");
4940
5099
  function di(n, t) {
4941
5100
  if (n.indexOf(t[1]) === -1) return -1;
4942
5101
  let e = 0;
@@ -4976,12 +5135,12 @@ function gi(n, t, e) {
4976
5135
  `);
4977
5136
  }
4978
5137
  i(gi, "it");
4979
- var lt, Yt = (lt = class {
5138
+ var ct, Yt = (ct = class {
4980
5139
  constructor(t) {
4981
- R(this, "options");
4982
- R(this, "rules");
4983
- R(this, "lexer");
4984
- this.options = t || Xe;
5140
+ M(this, "options");
5141
+ M(this, "rules");
5142
+ M(this, "lexer");
5143
+ this.options = t || Qe;
4985
5144
  }
4986
5145
  space(t) {
4987
5146
  let e = this.rules.block.newline.exec(t);
@@ -4991,7 +5150,7 @@ var lt, Yt = (lt = class {
4991
5150
  let e = this.rules.block.code.exec(t);
4992
5151
  if (e) {
4993
5152
  let r = e[0].replace(this.rules.other.codeRemoveIndent, "");
4994
- return { type: "code", raw: e[0], codeBlockStyle: "indented", text: this.options.pedantic ? r : At(r, `
5153
+ return { type: "code", raw: e[0], codeBlockStyle: "indented", text: this.options.pedantic ? r : Tt(r, `
4995
5154
  `) };
4996
5155
  }
4997
5156
  }
@@ -5007,7 +5166,7 @@ var lt, Yt = (lt = class {
5007
5166
  if (e) {
5008
5167
  let r = e[2].trim();
5009
5168
  if (this.rules.other.endingHash.test(r)) {
5010
- let s = At(r, "#");
5169
+ let s = Tt(r, "#");
5011
5170
  (this.options.pedantic || !s || this.rules.other.endingSpaceChar.test(s)) && (r = s.trim());
5012
5171
  }
5013
5172
  return { type: "heading", raw: e[0], depth: e[1].length, text: r, tokens: this.lexer.inline(r) };
@@ -5015,13 +5174,13 @@ var lt, Yt = (lt = class {
5015
5174
  }
5016
5175
  hr(t) {
5017
5176
  let e = this.rules.block.hr.exec(t);
5018
- if (e) return { type: "hr", raw: At(e[0], `
5177
+ if (e) return { type: "hr", raw: Tt(e[0], `
5019
5178
  `) };
5020
5179
  }
5021
5180
  blockquote(t) {
5022
5181
  let e = this.rules.block.blockquote.exec(t);
5023
5182
  if (e) {
5024
- let r = At(e[0], `
5183
+ let r = Tt(e[0], `
5025
5184
  `).split(`
5026
5185
  `), s = "", o = "", a = [];
5027
5186
  for (; r.length > 0; ) {
@@ -5041,16 +5200,16 @@ ${g}` : g;
5041
5200
  let k = a.at(-1);
5042
5201
  if (k?.type === "code") break;
5043
5202
  if (k?.type === "blockquote") {
5044
- let M = k, E = M.raw + `
5203
+ let _ = k, E = _.raw + `
5045
5204
  ` + r.join(`
5046
5205
  `), N = this.blockquote(E);
5047
- a[a.length - 1] = N, s = s.substring(0, s.length - M.raw.length) + N.raw, o = o.substring(0, o.length - M.text.length) + N.text;
5206
+ a[a.length - 1] = N, s = s.substring(0, s.length - _.raw.length) + N.raw, o = o.substring(0, o.length - _.text.length) + N.text;
5048
5207
  break;
5049
5208
  } else if (k?.type === "list") {
5050
- let M = k, E = M.raw + `
5209
+ let _ = k, E = _.raw + `
5051
5210
  ` + r.join(`
5052
5211
  `), N = this.list(E);
5053
- a[a.length - 1] = N, s = s.substring(0, s.length - k.raw.length) + N.raw, o = o.substring(0, o.length - M.raw.length) + N.raw, r = E.substring(a.at(-1).raw.length).split(`
5212
+ a[a.length - 1] = N, s = s.substring(0, s.length - k.raw.length) + N.raw, o = o.substring(0, o.length - _.raw.length) + N.raw, r = E.substring(a.at(-1).raw.length).split(`
5054
5213
  `);
5055
5214
  continue;
5056
5215
  }
@@ -5070,23 +5229,23 @@ ${g}` : g;
5070
5229
  h = e[0], t = t.substring(h.length);
5071
5230
  let f = hi(e[2].split(`
5072
5231
  `, 1)[0], e[1].length), k = t.split(`
5073
- `, 1)[0], M = !f.trim(), E = 0;
5074
- if (this.options.pedantic ? (E = 2, g = f.trimStart()) : M ? E = e[1].length + 1 : (E = f.search(this.rules.other.nonSpaceChar), E = E > 4 ? 1 : E, g = f.slice(E), E += e[1].length), M && this.rules.other.blankLine.test(k) && (h += k + `
5232
+ `, 1)[0], _ = !f.trim(), E = 0;
5233
+ if (this.options.pedantic ? (E = 2, g = f.trimStart()) : _ ? E = e[1].length + 1 : (E = f.search(this.rules.other.nonSpaceChar), E = E > 4 ? 1 : E, g = f.slice(E), E += e[1].length), _ && this.rules.other.blankLine.test(k) && (h += k + `
5075
5234
  `, t = t.substring(k.length + 1), d = !0), !d) {
5076
- let N = this.rules.other.nextBulletRegex(E), X = this.rules.other.hrRegex(E), y = this.rules.other.fencesBeginRegex(E), x = this.rules.other.headingBeginRegex(E), w = this.rules.other.htmlBeginRegex(E), B = this.rules.other.blockquoteBeginRegex(E);
5235
+ let N = this.rules.other.nextBulletRegex(E), K = this.rules.other.hrRegex(E), y = this.rules.other.fencesBeginRegex(E), x = this.rules.other.headingBeginRegex(E), w = this.rules.other.htmlBeginRegex(E), B = this.rules.other.blockquoteBeginRegex(E);
5077
5236
  for (; t; ) {
5078
5237
  let H = t.split(`
5079
- `, 1)[0], ee;
5080
- if (k = H, this.options.pedantic ? (k = k.replace(this.rules.other.listReplaceNesting, " "), ee = k) : ee = k.replace(this.rules.other.tabCharGlobal, " "), y.test(k) || x.test(k) || w.test(k) || B.test(k) || N.test(k) || X.test(k)) break;
5081
- if (ee.search(this.rules.other.nonSpaceChar) >= E || !k.trim()) g += `
5082
- ` + ee.slice(E);
5238
+ `, 1)[0], re;
5239
+ if (k = H, this.options.pedantic ? (k = k.replace(this.rules.other.listReplaceNesting, " "), re = k) : re = k.replace(this.rules.other.tabCharGlobal, " "), y.test(k) || x.test(k) || w.test(k) || B.test(k) || N.test(k) || K.test(k)) break;
5240
+ if (re.search(this.rules.other.nonSpaceChar) >= E || !k.trim()) g += `
5241
+ ` + re.slice(E);
5083
5242
  else {
5084
- if (M || f.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || y.test(f) || x.test(f) || X.test(f)) break;
5243
+ if (_ || f.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || y.test(f) || x.test(f) || K.test(f)) break;
5085
5244
  g += `
5086
5245
  ` + k;
5087
5246
  }
5088
- M = !k.trim(), h += H + `
5089
- `, t = t.substring(H.length + 1), f = ee.slice(E);
5247
+ _ = !k.trim(), h += H + `
5248
+ `, t = t.substring(H.length + 1), f = re.slice(E);
5090
5249
  }
5091
5250
  }
5092
5251
  o.loose || (l ? o.loose = !0 : this.rules.other.doubleBlankLine.test(h) && (l = !0)), o.items.push({ type: "list_item", raw: h, task: !!this.options.gfm && this.rules.other.listIsTask.test(g), loose: !1, text: g, tokens: [] }), o.raw += h;
@@ -5175,7 +5334,7 @@ ${g}` : g;
5175
5334
  let r = e[2].trim();
5176
5335
  if (!this.options.pedantic && this.rules.other.startAngleBracket.test(r)) {
5177
5336
  if (!this.rules.other.endAngleBracket.test(r)) return;
5178
- let a = At(r.slice(0, -1), "\\");
5337
+ let a = Tt(r.slice(0, -1), "\\");
5179
5338
  if ((r.length - a.length) % 2 === 0) return;
5180
5339
  } else {
5181
5340
  let a = di(e[2], "()");
@@ -5221,8 +5380,8 @@ ${g}` : g;
5221
5380
  l = Math.min(l, l + c + d);
5222
5381
  let g = [...s[0]][0].length, f = t.slice(0, o + s.index + g + l);
5223
5382
  if (Math.min(o, l) % 2) {
5224
- let M = f.slice(1, -1);
5225
- return { type: "em", raw: f, text: M, tokens: this.lexer.inlineTokens(M) };
5383
+ let _ = f.slice(1, -1);
5384
+ return { type: "em", raw: f, text: _, tokens: this.lexer.inlineTokens(_) };
5226
5385
  }
5227
5386
  let k = f.slice(2, -2);
5228
5387
  return { type: "strong", raw: f, text: k, tokens: this.lexer.inlineTokens(k) };
@@ -5286,25 +5445,25 @@ ${g}` : g;
5286
5445
  return { type: "text", raw: e[0], text: e[0], escaped: r };
5287
5446
  }
5288
5447
  }
5289
- }, i(lt, "w"), lt), Pe, be = (Pe = class {
5448
+ }, i(ct, "w"), ct), Be, be = (Be = class {
5290
5449
  constructor(t) {
5291
- R(this, "tokens");
5292
- R(this, "options");
5293
- R(this, "state");
5294
- R(this, "inlineQueue");
5295
- R(this, "tokenizer");
5296
- this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = t || Xe, this.options.tokenizer = this.options.tokenizer || new Yt(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = { inLink: !1, inRawBlock: !1, top: !0 };
5297
- let e = { other: ce, block: Ht.normal, inline: wt.normal };
5298
- this.options.pedantic ? (e.block = Ht.pedantic, e.inline = wt.pedantic) : this.options.gfm && (e.block = Ht.gfm, this.options.breaks ? e.inline = wt.breaks : e.inline = wt.gfm), this.tokenizer.rules = e;
5450
+ M(this, "tokens");
5451
+ M(this, "options");
5452
+ M(this, "state");
5453
+ M(this, "inlineQueue");
5454
+ M(this, "tokenizer");
5455
+ this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = t || Qe, this.options.tokenizer = this.options.tokenizer || new Yt(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = { inLink: !1, inRawBlock: !1, top: !0 };
5456
+ let e = { other: ce, block: Ht.normal, inline: St.normal };
5457
+ this.options.pedantic ? (e.block = Ht.pedantic, e.inline = St.pedantic) : this.options.gfm && (e.block = Ht.gfm, this.options.breaks ? e.inline = St.breaks : e.inline = St.gfm), this.tokenizer.rules = e;
5299
5458
  }
5300
5459
  static get rules() {
5301
- return { block: Ht, inline: wt };
5460
+ return { block: Ht, inline: St };
5302
5461
  }
5303
5462
  static lex(t, e) {
5304
- return new Pe(e).lex(t);
5463
+ return new Be(e).lex(t);
5305
5464
  }
5306
5465
  static lexInline(t, e) {
5307
- return new Pe(e).inlineTokens(t);
5466
+ return new Be(e).inlineTokens(t);
5308
5467
  }
5309
5468
  lex(t) {
5310
5469
  t = t.replace(ce.carriageReturn, `
@@ -5493,11 +5652,11 @@ ${g}` : g;
5493
5652
  }
5494
5653
  return e;
5495
5654
  }
5496
- }, i(Pe, "u"), Pe), ct, Zt = (ct = class {
5655
+ }, i(Be, "u"), Be), ut, Zt = (ut = class {
5497
5656
  constructor(t) {
5498
- R(this, "options");
5499
- R(this, "parser");
5500
- this.options = t || Xe;
5657
+ M(this, "options");
5658
+ M(this, "parser");
5659
+ this.options = t || Qe;
5501
5660
  }
5502
5661
  space(t) {
5503
5662
  return "";
@@ -5505,8 +5664,8 @@ ${g}` : g;
5505
5664
  code({ text: t, lang: e, escaped: r }) {
5506
5665
  let s = (e || "").match(ce.notSpaceStart)?.[0], o = t.replace(ce.endingNewline, "") + `
5507
5666
  `;
5508
- return s ? '<pre><code class="language-' + we(s) + '">' + (r ? o : we(o, !0)) + `</code></pre>
5509
- ` : "<pre><code>" + (r ? o : we(o, !0)) + `</code></pre>
5667
+ return s ? '<pre><code class="language-' + Ae(s) + '">' + (r ? o : Ae(o, !0)) + `</code></pre>
5668
+ ` : "<pre><code>" + (r ? o : Ae(o, !0)) + `</code></pre>
5510
5669
  `;
5511
5670
  }
5512
5671
  blockquote({ tokens: t }) {
@@ -5584,7 +5743,7 @@ ${t}</tr>
5584
5743
  return `<em>${this.parser.parseInline(t)}</em>`;
5585
5744
  }
5586
5745
  codespan({ text: t }) {
5587
- return `<code>${we(t, !0)}</code>`;
5746
+ return `<code>${Ae(t, !0)}</code>`;
5588
5747
  }
5589
5748
  br(t) {
5590
5749
  return "<br>";
@@ -5597,20 +5756,20 @@ ${t}</tr>
5597
5756
  if (o === null) return s;
5598
5757
  t = o;
5599
5758
  let a = '<a href="' + t + '"';
5600
- return e && (a += ' title="' + we(e) + '"'), a += ">" + s + "</a>", a;
5759
+ return e && (a += ' title="' + Ae(e) + '"'), a += ">" + s + "</a>", a;
5601
5760
  }
5602
5761
  image({ href: t, title: e, text: r, tokens: s }) {
5603
5762
  s && (r = this.parser.parseInline(s, this.parser.textRenderer));
5604
5763
  let o = In(t);
5605
- if (o === null) return we(r);
5764
+ if (o === null) return Ae(r);
5606
5765
  t = o;
5607
- let a = `<img src="${t}" alt="${we(r)}"`;
5608
- return e && (a += ` title="${we(e)}"`), a += ">", a;
5766
+ let a = `<img src="${t}" alt="${Ae(r)}"`;
5767
+ return e && (a += ` title="${Ae(e)}"`), a += ">", a;
5609
5768
  }
5610
5769
  text(t) {
5611
- return "tokens" in t && t.tokens ? this.parser.parseInline(t.tokens) : "escaped" in t && t.escaped ? t.text : we(t.text);
5770
+ return "tokens" in t && t.tokens ? this.parser.parseInline(t.tokens) : "escaped" in t && t.escaped ? t.text : Ae(t.text);
5612
5771
  }
5613
- }, i(ct, "y"), ct), ut, Nr = (ut = class {
5772
+ }, i(ut, "y"), ut), dt, Nr = (dt = class {
5614
5773
  strong({ text: t }) {
5615
5774
  return t;
5616
5775
  }
@@ -5641,18 +5800,18 @@ ${t}</tr>
5641
5800
  checkbox({ raw: t }) {
5642
5801
  return t;
5643
5802
  }
5644
- }, i(ut, "$"), ut), Ne, ke = (Ne = class {
5803
+ }, i(dt, "$"), dt), Ue, ke = (Ue = class {
5645
5804
  constructor(t) {
5646
- R(this, "options");
5647
- R(this, "renderer");
5648
- R(this, "textRenderer");
5649
- this.options = t || Xe, this.options.renderer = this.options.renderer || new Zt(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Nr();
5805
+ M(this, "options");
5806
+ M(this, "renderer");
5807
+ M(this, "textRenderer");
5808
+ this.options = t || Qe, this.options.renderer = this.options.renderer || new Zt(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Nr();
5650
5809
  }
5651
5810
  static parse(t, e) {
5652
- return new Ne(e).parse(t);
5811
+ return new Ue(e).parse(t);
5653
5812
  }
5654
5813
  static parseInline(t, e) {
5655
- return new Ne(e).parseInline(t);
5814
+ return new Ue(e).parseInline(t);
5656
5815
  }
5657
5816
  parse(t) {
5658
5817
  let e = "";
@@ -5790,11 +5949,11 @@ ${t}</tr>
5790
5949
  }
5791
5950
  return r;
5792
5951
  }
5793
- }, i(Ne, "u"), Ne), Oe, St = (Oe = class {
5952
+ }, i(Ue, "u"), Ue), Ne, Et = (Ne = class {
5794
5953
  constructor(t) {
5795
- R(this, "options");
5796
- R(this, "block");
5797
- this.options = t || Xe;
5954
+ M(this, "options");
5955
+ M(this, "block");
5956
+ this.options = t || Qe;
5798
5957
  }
5799
5958
  preprocess(t) {
5800
5959
  return t;
@@ -5814,18 +5973,18 @@ ${t}</tr>
5814
5973
  provideParser() {
5815
5974
  return this.block ? ke.parse : ke.parseInline;
5816
5975
  }
5817
- }, i(Oe, "P"), R(Oe, "passThroughHooks", /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens", "emStrongMask"])), R(Oe, "passThroughHooksRespectAsync", /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens"])), Oe), dt, pi = (dt = class {
5976
+ }, i(Ne, "P"), M(Ne, "passThroughHooks", /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens", "emStrongMask"])), M(Ne, "passThroughHooksRespectAsync", /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens"])), Ne), ht, pi = (ht = class {
5818
5977
  constructor(...t) {
5819
- R(this, "defaults", Mr());
5820
- R(this, "options", this.setOptions);
5821
- R(this, "parse", this.parseMarkdown(!0));
5822
- R(this, "parseInline", this.parseMarkdown(!1));
5823
- R(this, "Parser", ke);
5824
- R(this, "Renderer", Zt);
5825
- R(this, "TextRenderer", Nr);
5826
- R(this, "Lexer", be);
5827
- R(this, "Tokenizer", Yt);
5828
- R(this, "Hooks", St);
5978
+ M(this, "defaults", Mr());
5979
+ M(this, "options", this.setOptions);
5980
+ M(this, "parse", this.parseMarkdown(!0));
5981
+ M(this, "parseInline", this.parseMarkdown(!1));
5982
+ M(this, "Parser", ke);
5983
+ M(this, "Renderer", Zt);
5984
+ M(this, "TextRenderer", Nr);
5985
+ M(this, "Lexer", be);
5986
+ M(this, "Tokenizer", Yt);
5987
+ M(this, "Hooks", Et);
5829
5988
  this.use(...t);
5830
5989
  }
5831
5990
  walkTokens(t, e) {
@@ -5898,13 +6057,13 @@ ${t}</tr>
5898
6057
  s.tokenizer = o;
5899
6058
  }
5900
6059
  if (r.hooks) {
5901
- let o = this.defaults.hooks || new St();
6060
+ let o = this.defaults.hooks || new Et();
5902
6061
  for (let a in r.hooks) {
5903
6062
  if (!(a in o)) throw new Error(`hook '${a}' does not exist`);
5904
6063
  if (["options", "block"].includes(a)) continue;
5905
6064
  let l = a, c = r.hooks[l], d = o[l];
5906
- St.passThroughHooks.has(a) ? o[l] = (h) => {
5907
- if (this.defaults.async && St.passThroughHooksRespectAsync.has(a)) return (async () => {
6065
+ Et.passThroughHooks.has(a) ? o[l] = (h) => {
6066
+ if (this.defaults.async && Et.passThroughHooksRespectAsync.has(a)) return (async () => {
5908
6067
  let f = await c.call(o, h);
5909
6068
  return d.call(o, f);
5910
6069
  })();
@@ -5967,30 +6126,30 @@ ${t}</tr>
5967
6126
  return (r) => {
5968
6127
  if (r.message += `
5969
6128
  Please report this to https://github.com/markedjs/marked.`, t) {
5970
- let s = "<p>An error occurred:</p><pre>" + we(r.message + "", !0) + "</pre>";
6129
+ let s = "<p>An error occurred:</p><pre>" + Ae(r.message + "", !0) + "</pre>";
5971
6130
  return e ? Promise.resolve(s) : s;
5972
6131
  }
5973
6132
  if (e) return Promise.reject(r);
5974
6133
  throw r;
5975
6134
  };
5976
6135
  }
5977
- }, i(dt, "B"), dt), Ye = new pi();
6136
+ }, i(ht, "B"), ht), Xe = new pi();
5978
6137
  function F(n, t) {
5979
- return Ye.parse(n, t);
6138
+ return Xe.parse(n, t);
5980
6139
  }
5981
6140
  i(F, "g");
5982
6141
  F.options = F.setOptions = function(n) {
5983
- return Ye.setOptions(n), F.defaults = Ye.defaults, ns(F.defaults), F;
6142
+ return Xe.setOptions(n), F.defaults = Xe.defaults, ns(F.defaults), F;
5984
6143
  };
5985
6144
  F.getDefaults = Mr;
5986
- F.defaults = Xe;
6145
+ F.defaults = Qe;
5987
6146
  F.use = function(...n) {
5988
- return Ye.use(...n), F.defaults = Ye.defaults, ns(F.defaults), F;
6147
+ return Xe.use(...n), F.defaults = Xe.defaults, ns(F.defaults), F;
5989
6148
  };
5990
6149
  F.walkTokens = function(n, t) {
5991
- return Ye.walkTokens(n, t);
6150
+ return Xe.walkTokens(n, t);
5992
6151
  };
5993
- F.parseInline = Ye.parseInline;
6152
+ F.parseInline = Xe.parseInline;
5994
6153
  F.Parser = ke;
5995
6154
  F.parser = ke.parse;
5996
6155
  F.Renderer = Zt;
@@ -5998,7 +6157,7 @@ F.TextRenderer = Nr;
5998
6157
  F.Lexer = be;
5999
6158
  F.lexer = be.lex;
6000
6159
  F.Tokenizer = Yt;
6001
- F.Hooks = St;
6160
+ F.Hooks = Et;
6002
6161
  F.parse = F;
6003
6162
  F.options;
6004
6163
  F.setOptions;
@@ -6022,7 +6181,7 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
6022
6181
  }, yi = ["src", "alt"], wi = ["innerHTML"], Ai = {
6023
6182
  key: 1,
6024
6183
  class: "flex gap-2 justify-start items-end mb-4"
6025
- }, Si = { class: "flex-shrink-0" }, Ti = ["src", "alt"], Ei = { class: "flex-shrink-0 pt-4 pb-2" }, Ci = ["placeholder", "disabled"], Ri = /* @__PURE__ */ se({
6184
+ }, Si = { class: "flex-shrink-0" }, Ti = ["src", "alt"], Ei = { class: "flex-shrink-0 pt-4 pb-2" }, Ci = ["placeholder", "disabled"], Ri = /* @__PURE__ */ ae({
6026
6185
  __name: "ElAgentChat",
6027
6186
  props: {
6028
6187
  agentController: {},
@@ -6038,12 +6197,12 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
6038
6197
  return Ta.sanitize(x);
6039
6198
  }
6040
6199
  i(t, "renderMarkdown");
6041
- const e = W(""), r = W(), s = W(), o = U(() => Vt(n.agent));
6200
+ const e = G(""), r = G(), s = G(), o = U(() => Vt(n.agent));
6042
6201
  function a(y, x) {
6043
6202
  const w = y[x], B = y[x + 1];
6044
6203
  return !B || B.sender !== w.sender;
6045
6204
  }
6046
- i(a, "shouldShowAvatar"), Et(async () => {
6205
+ i(a, "shouldShowAvatar"), Rt(async () => {
6047
6206
  if (n.agentController && !n.agentController.textState.value.isConnected)
6048
6207
  try {
6049
6208
  await n.agentController.startTextConversation();
@@ -6081,7 +6240,7 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
6081
6240
  const y = Math.min(s.value.scrollHeight, 150);
6082
6241
  s.value.style.height = `${y}px`;
6083
6242
  }
6084
- i(h, "adjustTextareaHeight"), Be(e, () => {
6243
+ i(h, "adjustTextareaHeight"), Fe(e, () => {
6085
6244
  cr(() => h());
6086
6245
  });
6087
6246
  const g = U(() => {
@@ -6090,52 +6249,52 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
6090
6249
  }), f = U(() => {
6091
6250
  const y = n.agentController?.textState.value;
6092
6251
  return y?.connectionStatus !== "connected" && !y?.error;
6093
- }), k = U(() => g.value ? "Agent is offline" : f.value ? "Connecting..." : "Message"), M = U(() => !n.agentController?.textState.value.isConnected), E = U(() => n.variant === "light");
6252
+ }), k = U(() => g.value ? "Agent is offline" : f.value ? "Connecting..." : "Message"), _ = U(() => !n.agentController?.textState.value.isConnected), E = U(() => n.variant === "light");
6094
6253
  function N(y, x) {
6095
6254
  if (x === 0) {
6096
- const ie = y[x];
6097
- return ie?.timestamp ? X(new Date(ie.timestamp)) : null;
6255
+ const Q = y[x];
6256
+ return Q?.timestamp ? K(new Date(Q.timestamp)) : null;
6098
6257
  }
6099
6258
  const w = y[x - 1], B = y[x];
6100
6259
  if (!w?.timestamp || !B?.timestamp) return null;
6101
6260
  const H = new Date(w.timestamp).getTime();
6102
- return new Date(B.timestamp).getTime() - H > 36e5 ? X(new Date(B.timestamp)) : null;
6261
+ return new Date(B.timestamp).getTime() - H > 36e5 ? K(new Date(B.timestamp)) : null;
6103
6262
  }
6104
6263
  i(N, "shouldShowTimeDivider");
6105
- function X(y) {
6264
+ function K(y) {
6106
6265
  const x = /* @__PURE__ */ new Date(), w = y.toDateString() === x.toDateString(), B = new Date(x);
6107
6266
  B.setDate(B.getDate() - 1);
6108
- const H = y.toDateString() === B.toDateString(), ee = y.toLocaleTimeString("en-US", { hour: "numeric", minute: "2-digit" });
6109
- if (w) return ee;
6110
- if (H) return `Yesterday, ${ee}`;
6111
- const z = y.getFullYear() === x.getFullYear();
6267
+ const H = y.toDateString() === B.toDateString(), re = y.toLocaleTimeString("en-US", { hour: "numeric", minute: "2-digit" });
6268
+ if (w) return re;
6269
+ if (H) return `Yesterday, ${re}`;
6270
+ const C = y.getFullYear() === x.getFullYear();
6112
6271
  return `${y.toLocaleDateString("en-US", {
6113
6272
  weekday: "long",
6114
6273
  month: "short",
6115
6274
  day: "numeric",
6116
- ...z ? {} : { year: "numeric" }
6117
- })}, ${ee}`;
6275
+ ...C ? {} : { year: "numeric" }
6276
+ })}, ${re}`;
6118
6277
  }
6119
- return i(X, "formatTimeDivider"), Be(() => n.agentController?.sharedMessages.value, (y) => {
6278
+ return i(K, "formatTimeDivider"), Fe(() => n.agentController?.sharedMessages.value, (y) => {
6120
6279
  y && y.length > 0 && cr(() => d());
6121
6280
  }, { immediate: !0, deep: !0 }), (y, x) => (b(), v("div", fi, [
6122
- E.value ? $("", !0) : (b(), v("div", mi, [
6123
- J(Cr, { agent: n.agent }, null, 8, ["agent"])
6281
+ E.value ? O("", !0) : (b(), v("div", mi, [
6282
+ te(Cr, { agent: n.agent }, null, 8, ["agent"])
6124
6283
  ])),
6125
6284
  g.value ? (b(), v("div", {
6126
6285
  key: 1,
6127
- class: _(["py-16 flex flex-col items-center justify-center gap-3 text-sm", E.value ? "text-theme-400" : "text-white/60"])
6286
+ class: z(["py-16 flex flex-col items-center justify-center gap-3 text-sm", E.value ? "text-theme-400" : "text-white/60"])
6128
6287
  }, [
6129
6288
  p("i", {
6130
- class: _(["i-heroicons-cloud-arrow-down size-8", E.value ? "text-theme-300" : "text-white/40"])
6289
+ class: z(["i-heroicons-cloud-arrow-down size-8", E.value ? "text-theme-300" : "text-white/40"])
6131
6290
  }, null, 2),
6132
- p("span", null, Z(n.agentController?.textState.value.error), 1)
6291
+ p("span", null, X(n.agentController?.textState.value.error), 1)
6133
6292
  ], 2)) : f.value ? (b(), v("div", {
6134
6293
  key: 2,
6135
- class: _(["py-16 flex flex-col items-center justify-center gap-2 text-sm", E.value ? "text-theme-400" : "text-theme-600"])
6294
+ class: z(["py-16 flex flex-col items-center justify-center gap-2 text-sm", E.value ? "text-theme-400" : "text-theme-600"])
6136
6295
  }, [
6137
- J(Er, { class: "size-4" })
6138
- ], 2)) : $("", !0),
6296
+ te(Er, { class: "size-4" })
6297
+ ], 2)) : O("", !0),
6139
6298
  p("div", {
6140
6299
  ref_key: "messagesContainer",
6141
6300
  ref: r,
@@ -6148,32 +6307,32 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
6148
6307
  class: "size-20 rounded-full object-cover mb-3"
6149
6308
  }, null, 8, ki),
6150
6309
  p("div", {
6151
- class: _(["text-base font-semibold", E.value ? "text-theme-900" : "text-white"])
6152
- }, Z(n.agent.name), 3),
6310
+ class: z(["text-base font-semibold", E.value ? "text-theme-900" : "text-white"])
6311
+ }, X(n.agent.name), 3),
6153
6312
  n.agent.handle ? (b(), v("div", {
6154
6313
  key: 0,
6155
- class: _(["text-xs mt-0.5", E.value ? "text-theme-400" : "text-white/50"])
6156
- }, " @" + Z(n.agent.handle), 3)) : $("", !0),
6314
+ class: z(["text-xs mt-0.5", E.value ? "text-theme-400" : "text-white/50"])
6315
+ }, " @" + X(n.agent.handle), 3)) : O("", !0),
6157
6316
  p("p", {
6158
- class: _(["text-center text-sm mt-3 max-w-[240px] leading-relaxed", E.value ? "text-theme-400" : "text-white/50"])
6317
+ class: z(["text-center text-sm mt-3 max-w-[240px] leading-relaxed", E.value ? "text-theme-400" : "text-white/50"])
6159
6318
  }, " Send a message to start the conversation. ", 2)
6160
- ])) : $("", !0),
6161
- (b(!0), v(Ae, null, Ct(n.agentController?.sharedMessages.value.filter((w) => w.sender !== "system") ?? [], (w, B) => (b(), v(Ae, {
6319
+ ])) : O("", !0),
6320
+ (b(!0), v(Se, null, It(n.agentController?.sharedMessages.value.filter((w) => w.sender !== "system") ?? [], (w, B) => (b(), v(Se, {
6162
6321
  key: w.id
6163
6322
  }, [
6164
6323
  N(n.agentController?.sharedMessages.value.filter((H) => H.sender !== "system") ?? [], B) ? (b(), v("div", xi, [
6165
6324
  p("div", {
6166
- class: _(["flex-1 h-px", E.value ? "bg-theme-200" : "bg-white/10"])
6325
+ class: z(["flex-1 h-px", E.value ? "bg-theme-200" : "bg-white/10"])
6167
6326
  }, null, 2),
6168
6327
  p("span", {
6169
- class: _(["text-[11px] font-medium shrink-0", E.value ? "text-theme-400" : "text-white/40"])
6170
- }, Z(N(n.agentController?.sharedMessages.value.filter((H) => H.sender !== "system") ?? [], B)), 3),
6328
+ class: z(["text-[11px] font-medium shrink-0", E.value ? "text-theme-400" : "text-white/40"])
6329
+ }, X(N(n.agentController?.sharedMessages.value.filter((H) => H.sender !== "system") ?? [], B)), 3),
6171
6330
  p("div", {
6172
- class: _(["flex-1 h-px", E.value ? "bg-theme-200" : "bg-white/10"])
6331
+ class: z(["flex-1 h-px", E.value ? "bg-theme-200" : "bg-white/10"])
6173
6332
  }, null, 2)
6174
- ])) : $("", !0),
6333
+ ])) : O("", !0),
6175
6334
  p("div", {
6176
- class: _(["flex gap-2 items-end", {
6335
+ class: z(["flex gap-2 items-end", {
6177
6336
  "justify-end": w.sender === "user",
6178
6337
  "justify-start": w.sender === "agent",
6179
6338
  "mb-4": a(n.agentController?.sharedMessages.value.filter((H) => H.sender !== "system") ?? [], B)
@@ -6185,13 +6344,13 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
6185
6344
  src: o.value,
6186
6345
  alt: n.agent.name,
6187
6346
  class: "size-7 rounded-full object-cover"
6188
- }, null, 8, yi)) : $("", !0)
6189
- ])) : $("", !0),
6347
+ }, null, 8, yi)) : O("", !0)
6348
+ ])) : O("", !0),
6190
6349
  p("div", {
6191
- class: _(w.sender === "user" ? "max-w-[75%]" : "max-w-[85%]")
6350
+ class: z(w.sender === "user" ? "max-w-[75%]" : "max-w-[85%]")
6192
6351
  }, [
6193
6352
  p("div", {
6194
- class: _(["rounded-2xl px-3.5 py-2", w.sender === "user" ? "bg-primary-500 text-white" : E.value ? "bg-theme-100 text-theme-800" : "bg-white/15 backdrop-blur-sm text-white/95"])
6353
+ class: z(["rounded-2xl px-3.5 py-2", w.sender === "user" ? "bg-primary-500 text-white" : E.value ? "bg-theme-100 text-theme-800" : "bg-white/15 backdrop-blur-sm text-white/95"])
6195
6354
  }, [
6196
6355
  p("div", {
6197
6356
  class: "chat-msg-prose text-[13px] leading-[1.55] break-words",
@@ -6210,13 +6369,13 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
6210
6369
  }, null, 8, Ti)
6211
6370
  ]),
6212
6371
  p("div", {
6213
- class: _(["rounded-2xl px-4 py-2.5 flex items-center", E.value ? "bg-theme-100" : "bg-white/15 backdrop-blur-sm"])
6372
+ class: z(["rounded-2xl px-4 py-2.5 flex items-center", E.value ? "bg-theme-100" : "bg-white/15 backdrop-blur-sm"])
6214
6373
  }, [
6215
6374
  p("i", {
6216
- class: _(["i-svg-spinners-3-dots-fade size-6", E.value ? "text-theme-400" : "text-white/70"])
6375
+ class: z(["i-svg-spinners-3-dots-fade size-6", E.value ? "text-theme-400" : "text-white/70"])
6217
6376
  }, null, 2)
6218
6377
  ], 2)
6219
- ])) : $("", !0)
6378
+ ])) : O("", !0)
6220
6379
  ], 512),
6221
6380
  p("div", Ei, [
6222
6381
  Ln(p("textarea", {
@@ -6225,15 +6384,15 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
6225
6384
  "onUpdate:modelValue": x[0] || (x[0] = (w) => e.value = w),
6226
6385
  rows: "1",
6227
6386
  placeholder: k.value,
6228
- disabled: M.value,
6387
+ disabled: _.value,
6229
6388
  style: { "font-size": "16px", resize: "none" },
6230
- class: _(["w-full rounded-3xl px-5 py-3 focus:outline-none disabled:opacity-50 overflow-y-auto [scrollbar-width:none] [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden", E.value ? "bg-theme-50 border border-theme-200 text-theme-800 placeholder-theme-400 focus:border-theme-300" : "bg-white/10 backdrop-blur-sm border border-white/20 text-white placeholder-white/50 focus:border-white/40"]),
6389
+ class: z(["w-full rounded-3xl px-5 py-3 focus:outline-none disabled:opacity-50 overflow-y-auto [scrollbar-width:none] [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden", E.value ? "bg-theme-50 border border-theme-200 text-theme-800 placeholder-theme-400 focus:border-theme-300" : "bg-white/10 backdrop-blur-sm border border-white/20 text-white placeholder-white/50 focus:border-white/40"]),
6231
6390
  onKeydown: c
6232
6391
  }, null, 42, Ci), [
6233
6392
  [Dn, e.value]
6234
6393
  ]),
6235
6394
  p("div", {
6236
- class: _(["text-[10px] text-center mt-2", E.value ? "text-theme-300" : "text-white/40"])
6395
+ class: z(["text-[10px] text-center mt-2", E.value ? "text-theme-300" : "text-white/40"])
6237
6396
  }, " Press Enter to send, Shift+Enter for new line ", 2)
6238
6397
  ])
6239
6398
  ]));
@@ -6243,7 +6402,7 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
6243
6402
  for (const [r, s] of t)
6244
6403
  e[r] = s;
6245
6404
  return e;
6246
- }, "_export_sfc"), br = /* @__PURE__ */ Ii(Ri, [["__scopeId", "data-v-a11b518b"]]), Mi = { class: "flex flex-col items-center text-center gap-4" }, _i = { class: "relative flex-shrink-0" }, zi = { class: "w-20 h-20 sm:w-24 sm:h-24 rounded-full overflow-hidden border-4 border-white" }, Li = ["src", "alt"], Di = { class: "min-w-0" }, $i = { class: "text-3xl font-light text-white mb-2 truncate" }, Oi = { class: "text-base font-light text-white/60 line-clamp-1" }, Pi = /* @__PURE__ */ se({
6405
+ }, "_export_sfc"), br = /* @__PURE__ */ Ii(Ri, [["__scopeId", "data-v-a11b518b"]]), Mi = { class: "flex flex-col items-center text-center gap-4" }, _i = { class: "relative flex-shrink-0" }, zi = { class: "w-20 h-20 sm:w-24 sm:h-24 rounded-full overflow-hidden border-4 border-white" }, Li = ["src", "alt"], Di = { class: "min-w-0" }, $i = { class: "text-3xl font-light text-white mb-2 truncate" }, Oi = { class: "text-base font-light text-white/60 line-clamp-1" }, Pi = /* @__PURE__ */ ae({
6247
6406
  __name: "ElAgentHeader",
6248
6407
  props: {
6249
6408
  agent: {}
@@ -6260,7 +6419,7 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
6260
6419
  alt: n.agent.name,
6261
6420
  class: "w-full h-full object-cover",
6262
6421
  onError: r[0] || (r[0] = //@ts-ignore
6263
- (...s) => ne(jt) && ne(jt)(...s))
6422
+ (...s) => oe(jt) && oe(jt)(...s))
6264
6423
  }, null, 40, Li)
6265
6424
  ]),
6266
6425
  r[1] || (r[1] = p("div", { class: "absolute top-1.5 right-1.5" }, [
@@ -6272,18 +6431,18 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
6272
6431
  ], -1))
6273
6432
  ]),
6274
6433
  p("div", Di, [
6275
- p("h1", $i, Z(n.agent.name), 1),
6276
- p("p", Oi, Z(n.agent.title), 1)
6434
+ p("h1", $i, X(n.agent.name), 1),
6435
+ p("p", Oi, X(n.agent.title), 1)
6277
6436
  ])
6278
6437
  ]));
6279
6438
  }
6280
- }), Ni = { class: "absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[28px] h-[28px] overflow-hidden" }, Bi = /* @__PURE__ */ se({
6439
+ }), Ni = { class: "absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[28px] h-[28px] overflow-hidden" }, Bi = /* @__PURE__ */ ae({
6281
6440
  name: "SelfSidebarClose",
6282
6441
  __name: "AgentSidebarClose",
6283
6442
  emits: ["click"],
6284
6443
  setup(n) {
6285
- const t = W(!1);
6286
- return Et(() => {
6444
+ const t = G(!1);
6445
+ return Rt(() => {
6287
6446
  setTimeout(() => {
6288
6447
  t.value = !0;
6289
6448
  }, 100);
@@ -6294,11 +6453,11 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
6294
6453
  r[1] || (r[1] = p("span", { class: "absolute inset-0 rounded-full transition-all" }, null, -1)),
6295
6454
  p("span", Ni, [
6296
6455
  p("span", {
6297
- class: _(["absolute h-full w-[3px] rounded-[5px] left-[13px] transition-all duration-[400ms] ease-[cubic-bezier(0.52,0.01,0.16,1)]", t.value ? "translate-y-0 translate-x-0 rotate-45" : "translate-y-[30px] -translate-x-[30px] rotate-0"]),
6456
+ class: z(["absolute h-full w-[3px] rounded-[5px] left-[13px] transition-all duration-[400ms] ease-[cubic-bezier(0.52,0.01,0.16,1)]", t.value ? "translate-y-0 translate-x-0 rotate-45" : "translate-y-[30px] -translate-x-[30px] rotate-0"]),
6298
6457
  style: { "background-color": "currentColor", "transition-delay": "0.15s" }
6299
6458
  }, null, 2),
6300
6459
  p("span", {
6301
- class: _(["absolute h-full w-[3px] rounded-[5px] left-[13px] transition-all duration-[400ms] ease-[cubic-bezier(0.52,0.01,0.16,1)]", t.value ? "translate-y-0 translate-x-0 -rotate-45" : "-translate-y-[30px] -translate-x-[30px] rotate-0"]),
6460
+ class: z(["absolute h-full w-[3px] rounded-[5px] left-[13px] transition-all duration-[400ms] ease-[cubic-bezier(0.52,0.01,0.16,1)]", t.value ? "translate-y-0 translate-x-0 -rotate-45" : "-translate-y-[30px] -translate-x-[30px] rotate-0"]),
6302
6461
  style: { "background-color": "currentColor", "transition-delay": "0.45s" }
6303
6462
  }, null, 2)
6304
6463
  ])
@@ -6313,7 +6472,7 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
6313
6472
  }, Vi = ["disabled", "onClick"], Gi = { class: "flex items-center gap-3" }, ji = { class: "flex-1" }, Wi = {
6314
6473
  key: 0,
6315
6474
  class: "text-xs text-white/50 mt-0.5"
6316
- }, qi = { class: "p-6" }, fs = /* @__PURE__ */ se({
6475
+ }, qi = { class: "p-6" }, fs = /* @__PURE__ */ ae({
6317
6476
  name: "ElSidebar",
6318
6477
  inheritAttrs: !1,
6319
6478
  __name: "ElSidebar",
@@ -6345,8 +6504,8 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
6345
6504
  position: "justify-end",
6346
6505
  closeButton: "-left-16"
6347
6506
  });
6348
- return (h, g) => (b(), v(Ae, null, [
6349
- J(on, {
6507
+ return (h, g) => (b(), v(Se, null, [
6508
+ te(on, {
6350
6509
  "enter-active-class": "transition-opacity duration-300 ease-out",
6351
6510
  "leave-active-class": "transition-opacity duration-200 ease-in",
6352
6511
  "enter-from-class": "opacity-0",
@@ -6354,16 +6513,16 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
6354
6513
  "leave-from-class": "opacity-100",
6355
6514
  "leave-to-class": "opacity-0"
6356
6515
  }, {
6357
- default: Se(() => [
6516
+ default: Te(() => [
6358
6517
  a.value ? (b(), v("div", {
6359
6518
  key: 0,
6360
6519
  class: "absolute inset-0 z-40 bg-black/50 backdrop-blur-sm",
6361
6520
  onClick: g[0] || (g[0] = (f) => a.value = !1)
6362
- })) : $("", !0)
6521
+ })) : O("", !0)
6363
6522
  ]),
6364
6523
  _: 1
6365
6524
  }),
6366
- J(on, {
6525
+ te(on, {
6367
6526
  "enter-active-class": "transition-all duration-500 ease-[cubic-bezier(0.25,1,0.33,1)]",
6368
6527
  "leave-active-class": "transition-all duration-400 ease-[cubic-bezier(0.25,1,0.33,1)]",
6369
6528
  "enter-from-class": d.value.enter,
@@ -6371,62 +6530,62 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
6371
6530
  "leave-from-class": "translate-x-0",
6372
6531
  "leave-to-class": d.value.leave
6373
6532
  }, {
6374
- default: Se(() => [
6533
+ default: Te(() => [
6375
6534
  a.value ? (b(), v("div", {
6376
6535
  key: 0,
6377
- class: _(["absolute inset-0 z-50 flex", d.value.position]),
6536
+ class: z(["absolute inset-0 z-50 flex", d.value.position]),
6378
6537
  onClick: g[3] || (g[3] = (f) => a.value = !1)
6379
6538
  }, [
6380
6539
  p("div", {
6381
- class: _(["relative h-full shadow-2xl bg-black/30 backdrop-blur-xl flex flex-col justify-center", ne(o)]),
6540
+ class: z(["relative h-full shadow-2xl bg-black/30 backdrop-blur-xl flex flex-col justify-center", oe(o)]),
6382
6541
  onClick: g[2] || (g[2] = kr(() => {
6383
6542
  }, ["stop"]))
6384
6543
  }, [
6385
- J(Bi, {
6386
- class: _(["absolute top-4 z-10 text-white", d.value.closeButton]),
6544
+ te(Bi, {
6545
+ class: z(["absolute top-4 z-10 text-white", d.value.closeButton]),
6387
6546
  onClick: g[1] || (g[1] = (f) => a.value = !1)
6388
6547
  }, null, 8, ["class"]),
6389
6548
  n.title ? (b(), v("div", Ui, [
6390
- p("h3", Fi, Z(n.title), 1)
6391
- ])) : $("", !0),
6549
+ p("h3", Fi, X(n.title), 1)
6550
+ ])) : O("", !0),
6392
6551
  h.$slots.header ? (b(), v("div", Hi, [
6393
- ht(h.$slots, "header")
6394
- ])) : $("", !0),
6552
+ gt(h.$slots, "header")
6553
+ ])) : O("", !0),
6395
6554
  p("div", {
6396
- class: _(["flex-1 p-6 space-y-2 overflow-y-auto", { "pt-6": !n.title && !h.$slots.header, "pt-4": n.title || h.$slots.header }])
6555
+ class: z(["flex-1 p-6 space-y-2 overflow-y-auto", { "pt-6": !n.title && !h.$slots.header, "pt-4": n.title || h.$slots.header }])
6397
6556
  }, [
6398
- J(zn, {
6557
+ te(zn, {
6399
6558
  "enter-active-class": "transition-all duration-400 ease-[cubic-bezier(0.25,1,0.33,1)]",
6400
6559
  "leave-active-class": "transition-all duration-200 ease-[cubic-bezier(0.25,1,0.33,1)]",
6401
- "enter-from-class": ne(s) === "left" ? "-translate-x-4 opacity-0" : "translate-x-4 opacity-0",
6560
+ "enter-from-class": oe(s) === "left" ? "-translate-x-4 opacity-0" : "translate-x-4 opacity-0",
6402
6561
  "enter-to-class": "translate-x-0 opacity-100",
6403
6562
  "leave-from-class": "translate-x-0 opacity-100",
6404
- "leave-to-class": ne(s) === "left" ? "-translate-x-4 opacity-0" : "translate-x-4 opacity-0"
6563
+ "leave-to-class": oe(s) === "left" ? "-translate-x-4 opacity-0" : "translate-x-4 opacity-0"
6405
6564
  }, {
6406
- default: Se(() => [
6407
- (b(!0), v(Ae, null, Ct(l.value, (f, k) => (b(), v("button", {
6565
+ default: Te(() => [
6566
+ (b(!0), v(Se, null, It(l.value, (f, k) => (b(), v("button", {
6408
6567
  key: f.key || f.label || k,
6409
6568
  style: $n({ transitionDelay: `${k * 40}ms` }),
6410
- 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", [
6569
+ class: z(["cursor-pointer w-full text-left p-3 rounded-xl transition-all duration-200 ease-[cubic-bezier(0.25,1,0.33,1)] group", [
6411
6570
  f.isActive ? "bg-primary-500/20 border border-primary-500/40" : "hover:bg-white/10",
6412
6571
  f.isDisabled && "opacity-50 cursor-not-allowed"
6413
6572
  ]]),
6414
6573
  disabled: f.isDisabled,
6415
- onClick: /* @__PURE__ */ i((M) => c(f), "onClick")
6574
+ onClick: /* @__PURE__ */ i((_) => c(f), "onClick")
6416
6575
  }, [
6417
6576
  p("div", Gi, [
6418
6577
  f.icon?.src ? (b(), v("i", {
6419
6578
  key: 0,
6420
- class: _(["size-5 flex-shrink-0 transition-transform duration-200 ease-[cubic-bezier(0.25,1,0.33,1)] group-hover:scale-110", [
6579
+ class: z(["size-5 flex-shrink-0 transition-transform duration-200 ease-[cubic-bezier(0.25,1,0.33,1)] group-hover:scale-110", [
6421
6580
  f.icon.src,
6422
6581
  f.isActive ? "text-primary-400" : "text-white/70 group-hover:text-white"
6423
6582
  ]])
6424
- }, null, 2)) : $("", !0),
6583
+ }, null, 2)) : O("", !0),
6425
6584
  p("div", ji, [
6426
6585
  p("div", {
6427
- class: _(["font-medium text-sm", f.isActive ? "text-primary-300" : "text-white"])
6428
- }, Z(f.label), 3),
6429
- f.subLabel ? (b(), v("div", Wi, Z(f.subLabel), 1)) : $("", !0)
6586
+ class: z(["font-medium text-sm", f.isActive ? "text-primary-300" : "text-white"])
6587
+ }, X(f.label), 3),
6588
+ f.subLabel ? (b(), v("div", Wi, X(f.subLabel), 1)) : O("", !0)
6430
6589
  ])
6431
6590
  ])
6432
6591
  ], 14, Vi))), 128))
@@ -6435,10 +6594,10 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
6435
6594
  }, 8, ["enter-from-class", "leave-to-class"])
6436
6595
  ], 2),
6437
6596
  p("div", qi, [
6438
- ht(h.$slots, "footer", {}, () => [
6597
+ gt(h.$slots, "footer", {}, () => [
6439
6598
  g[4] || (g[4] = p("div", { class: "text-center" }, [
6440
6599
  p("p", { class: "text-[10px] text-white/40 font-sans" }, [
6441
- Tt(" AI Agent by "),
6600
+ Ct(" AI Agent by "),
6442
6601
  p("a", {
6443
6602
  href: "https://www.pagelines.com",
6444
6603
  target: "_blank",
@@ -6449,13 +6608,13 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
6449
6608
  ])
6450
6609
  ])
6451
6610
  ], 2)
6452
- ], 2)) : $("", !0)
6611
+ ], 2)) : O("", !0)
6453
6612
  ]),
6454
6613
  _: 3
6455
6614
  }, 8, ["enter-from-class", "leave-to-class"])
6456
6615
  ], 64));
6457
6616
  }
6458
- }), Yi = /* @__PURE__ */ se({
6617
+ }), Yi = /* @__PURE__ */ ae({
6459
6618
  name: "AgentModeSidebar",
6460
6619
  __name: "ElAgentModeSidebar",
6461
6620
  props: {
@@ -6485,7 +6644,7 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
6485
6644
  "width-classes": "w-[80%] max-w-[255px]"
6486
6645
  }, null, 8, ["modelValue", "items"]));
6487
6646
  }
6488
- }), Zi = /* @__PURE__ */ se({
6647
+ }), Zi = /* @__PURE__ */ ae({
6489
6648
  name: "AgentSidebar",
6490
6649
  __name: "ElAgentSidebar",
6491
6650
  props: {
@@ -6577,7 +6736,7 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
6577
6736
  }, ml = { class: "text-center max-w-md space-y-4" }, bl = { class: "text-sm text-white/70 leading-relaxed" }, kl = {
6578
6737
  key: 3,
6579
6738
  class: "bg-white/10 backdrop-blur-sm text-white/70 flex items-center justify-center h-full"
6580
- }, Il = /* @__PURE__ */ se({
6739
+ }, Il = /* @__PURE__ */ ae({
6581
6740
  __name: "AgentChat",
6582
6741
  props: {
6583
6742
  sdk: {},
@@ -6595,7 +6754,7 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
6595
6754
  },
6596
6755
  emits: ["close", "error"],
6597
6756
  setup(n, { emit: t }) {
6598
- const e = t, r = Cs(), s = W(!1), o = W(!1), a = W(), l = W(), c = U(() => r.value?.agentMode?.value ?? "self"), d = U(() => n.sdk.activeUser.value !== void 0), h = U(() => Pn.find((x) => x.mode === c.value));
6757
+ const e = t, r = Cs(), s = G(!1), o = G(!1), a = G(), l = G(), c = U(() => r.value?.agentMode?.value ?? "self"), d = U(() => n.sdk.activeUser.value !== void 0), h = U(() => Pn.find((x) => x.mode === c.value));
6599
6758
  function g() {
6600
6759
  r.value && r.value.destroy();
6601
6760
  try {
@@ -6618,7 +6777,7 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
6618
6777
  l.value.style.setProperty(`--primary-${w}`, B);
6619
6778
  });
6620
6779
  }
6621
- i(f, "applyTheme"), Et(() => {
6780
+ i(f, "applyTheme"), Rt(() => {
6622
6781
  try {
6623
6782
  g(), f(n.theme), n.chatOnly && r.value && r.value.setMode("chat");
6624
6783
  } catch (y) {
@@ -6627,12 +6786,12 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
6627
6786
  }
6628
6787
  }), Rs(() => {
6629
6788
  r.value && r.value.destroy();
6630
- }), Be(() => n.theme, (y) => {
6789
+ }), Fe(() => n.theme, (y) => {
6631
6790
  f(y);
6632
- }), Be(() => n.sdk.activeUser.value, (y, x) => {
6791
+ }), Fe(() => n.sdk.activeUser.value, (y, x) => {
6633
6792
  x && !y && r.value && r.value.setMode("self");
6634
6793
  });
6635
- const k = U(() => n.agent.cover?.src && n.agent.cover?.quality === "low" ? !0 : !!(n.agent.avatar?.src && n.agent.avatar?.quality === "low")), M = U(() => {
6794
+ const k = U(() => n.agent.cover?.src && n.agent.cover?.quality === "low" ? !0 : !!(n.agent.avatar?.src && n.agent.avatar?.quality === "low")), _ = U(() => {
6636
6795
  const y = [k.value ? "backdrop-blur-sm" : ""];
6637
6796
  return k.value && c.value === "self" ? y.push("from-black/80 via-black/60 to-black/80") : c.value === "self" ? y.push("from-black/70 via-black/50 to-black/80") : y.push("from-black/90 via-black/90 to-black/100"), y.join(" ");
6638
6797
  }), E = {
@@ -6644,39 +6803,39 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
6644
6803
  }, N = U(() => Ns({
6645
6804
  template: n.buttonText || "Talk to {name}",
6646
6805
  agent: n.agent
6647
- })), X = U(() => E[n.buttonIcon || "phone"] || E.phone);
6806
+ })), K = U(() => E[n.buttonIcon || "phone"] || E.phone);
6648
6807
  return (y, x) => (b(), v("div", {
6649
6808
  ref_key: "rootElement",
6650
6809
  ref: l,
6651
- key: ne(Vt)(n.agent),
6810
+ key: oe(Vt)(n.agent),
6652
6811
  class: "pagelines-sdk @container/agent pagelines-agent w-full h-full overflow-hidden relative",
6653
6812
  "data-test": "agent-chat"
6654
6813
  }, [
6655
6814
  n.loading ? (b(), v("div", Xi, [
6656
- J(Er, { class: "text-white size-8" })
6815
+ te(Er, { class: "text-white size-8" })
6657
6816
  ])) : n.agent && !a.value ? (b(), v("div", {
6658
6817
  key: 1,
6659
6818
  class: "absolute inset-0 bg-cover bg-center bg-no-repeat",
6660
- style: $n({ backgroundImage: `url(${ne(Vt)(n.agent)})` }),
6819
+ style: $n({ backgroundImage: `url(${oe(Vt)(n.agent)})` }),
6661
6820
  "data-quality": n.agent.avatar?.quality || "none"
6662
6821
  }, [
6663
6822
  p("div", {
6664
- class: _(["absolute inset-0 bg-gradient-to-br z-0", M.value])
6823
+ class: z(["absolute inset-0 bg-gradient-to-br z-0", _.value])
6665
6824
  }, null, 2),
6666
6825
  p("div", {
6667
- class: _(["relative z-10 flex flex-col h-full transition-all duration-500 ease-[cubic-bezier(0.25,1,0.33,1)] will-change-transform", n.isActive ? "opacity-100 translate-y-0" : "opacity-0 translate-y-2"])
6826
+ class: z(["relative z-10 flex flex-col h-full transition-all duration-500 ease-[cubic-bezier(0.25,1,0.33,1)] will-change-transform", n.isActive ? "opacity-100 translate-y-0" : "opacity-0 translate-y-2"])
6668
6827
  }, [
6669
6828
  p("div", {
6670
- class: _(["relative z-30 p-2", c.value !== "self" ? "backdrop-blur-lg" : ""])
6829
+ class: z(["relative z-30 p-2", c.value !== "self" ? "backdrop-blur-lg" : ""])
6671
6830
  }, [
6672
6831
  n.chatOnly ? (b(), v("div", Qi, [
6673
6832
  p("div", Ji, [
6674
6833
  p("img", {
6675
- src: ne(Vt)(n.agent),
6834
+ src: oe(Vt)(n.agent),
6676
6835
  alt: n.agent.name,
6677
6836
  class: "size-8 rounded-full object-cover"
6678
6837
  }, null, 8, el),
6679
- p("span", tl, Z(n.agent.name), 1)
6838
+ p("span", tl, X(n.agent.name), 1)
6680
6839
  ]),
6681
6840
  n.hasClose ? (b(), v("div", rl, [
6682
6841
  p("button", {
@@ -6685,13 +6844,13 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
6685
6844
  }, [...x[7] || (x[7] = [
6686
6845
  p("i", { class: "size-6 i-tabler-x" }, null, -1)
6687
6846
  ])])
6688
- ])) : $("", !0)
6847
+ ])) : O("", !0)
6689
6848
  ])) : (b(), v("div", {
6690
6849
  key: 1,
6691
- class: _(["flex items-center", n.hasClose ? "" : "justify-between"])
6850
+ class: z(["flex items-center", n.hasClose ? "" : "justify-between"])
6692
6851
  }, [
6693
6852
  p("div", {
6694
- class: _(n.hasClose ? "flex-1 basis-0" : "")
6853
+ class: z(n.hasClose ? "flex-1 basis-0" : "")
6695
6854
  }, [
6696
6855
  p("button", {
6697
6856
  class: "cursor-pointer p-2 flex items-center gap-2 rounded-2xl text-white/70 hover:bg-white/10 transition-all duration-300 ease-[cubic-bezier(0.25,1,0.33,1)] hover:scale-105 active:scale-95",
@@ -6701,13 +6860,13 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
6701
6860
  ])])
6702
6861
  ], 2),
6703
6862
  p("button", {
6704
- class: _(["flex items-center gap-2 px-3.5 py-3 rounded-2xl text-white/90 hover:bg-white/10 transition-all cursor-pointer flex-grow-0", { "bg-white/10": o.value }]),
6863
+ class: z(["flex items-center gap-2 px-3.5 py-3 rounded-2xl text-white/90 hover:bg-white/10 transition-all cursor-pointer flex-grow-0", { "bg-white/10": o.value }]),
6705
6864
  onClick: x[2] || (x[2] = (w) => o.value = !0)
6706
6865
  }, [
6707
6866
  p("i", {
6708
- class: _([h.value?.icon, "size-4 opacity-60"])
6867
+ class: z([h.value?.icon, "size-4 opacity-60"])
6709
6868
  }, null, 2),
6710
- p("span", nl, Z(h.value?.label), 1),
6869
+ p("span", nl, X(h.value?.label), 1),
6711
6870
  x[9] || (x[9] = p("i", { class: "i-tabler-chevron-down size-4" }, null, -1))
6712
6871
  ], 2),
6713
6872
  n.hasClose ? (b(), v("div", sl, [
@@ -6717,65 +6876,65 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
6717
6876
  }, [...x[10] || (x[10] = [
6718
6877
  p("i", { class: "size-6 i-tabler-x" }, null, -1)
6719
6878
  ])])
6720
- ])) : $("", !0)
6879
+ ])) : O("", !0)
6721
6880
  ], 2))
6722
6881
  ], 2),
6723
6882
  n.chatOnly ? (b(), v("div", ol, [
6724
6883
  p("div", al, [
6725
- J(br, {
6884
+ te(br, {
6726
6885
  "agent-controller": r.value,
6727
6886
  agent: n.agent
6728
6887
  }, null, 8, ["agent-controller", "agent"])
6729
6888
  ])
6730
- ])) : (b(), v(Ae, { key: 1 }, [
6889
+ ])) : (b(), v(Se, { key: 1 }, [
6731
6890
  c.value === "self" ? (b(), v("div", il, [
6732
6891
  x[11] || (x[11] = p("div", { class: "flex-1 basis-0 mb-12" }, null, -1)),
6733
- J(Pi, { agent: n.agent }, null, 8, ["agent"]),
6892
+ te(Pi, { agent: n.agent }, null, 8, ["agent"]),
6734
6893
  p("div", ll, [
6735
- J(Nn, {
6894
+ te(Nn, {
6736
6895
  theme: "primary",
6737
6896
  size: "lg",
6738
6897
  class: "w-full",
6739
- icon: X.value,
6898
+ icon: K.value,
6740
6899
  "data-test": "voice-button",
6741
6900
  onClick: x[4] || (x[4] = (w) => r.value?.setMode("talk"))
6742
6901
  }, {
6743
- default: Se(() => [
6744
- Tt(Z(N.value), 1)
6902
+ default: Te(() => [
6903
+ Ct(X(N.value), 1)
6745
6904
  ]),
6746
6905
  _: 1
6747
6906
  }, 8, ["icon"]),
6748
6907
  n.agent.accounts && n.agent.accounts.length > 0 ? (b(), v("div", cl, [
6749
- (b(!0), v(Ae, null, Ct(n.agent.accounts.filter((w) => ne(it)[w.platform]), (w) => (b(), v("a", {
6908
+ (b(!0), v(Se, null, It(n.agent.accounts.filter((w) => oe(lt)[w.platform]), (w) => (b(), v("a", {
6750
6909
  key: `${w.platform}-${w.handle}`,
6751
- href: ne(it)[w.platform].getUrl(w.handle),
6910
+ href: oe(lt)[w.platform].getUrl(w.handle),
6752
6911
  target: "_blank",
6753
6912
  class: "size-12 rounded-full text-white/60 hover:text-white hover:bg-white/5 border border-white/0 hover:border-white/10 flex items-center justify-center transition-all duration-200 hover:scale-105"
6754
6913
  }, [
6755
6914
  p("i", {
6756
- class: _([ne(it)[w.platform].icon, "size-5"])
6915
+ class: z([oe(lt)[w.platform].icon, "size-5"])
6757
6916
  }, null, 2)
6758
6917
  ], 8, ul))), 128))
6759
- ])) : $("", !0)
6918
+ ])) : O("", !0)
6760
6919
  ])
6761
6920
  ])) : c.value === "talk" ? (b(), v("div", dl, [
6762
6921
  n.requireAuth && !d.value ? (b(), me(cn, {
6763
6922
  key: 0,
6764
6923
  sdk: n.sdk
6765
- }, null, 8, ["sdk"])) : (b(), v(Ae, { key: 1 }, [
6924
+ }, null, 8, ["sdk"])) : (b(), v(Se, { key: 1 }, [
6766
6925
  p("div", null, [
6767
6926
  p("div", hl, [
6768
- J(Cr, { agent: n.agent }, null, 8, ["agent"])
6927
+ te(Cr, { agent: n.agent }, null, 8, ["agent"])
6769
6928
  ])
6770
6929
  ]),
6771
- J(br, {
6930
+ te(br, {
6772
6931
  "agent-controller": r.value,
6773
6932
  agent: n.agent
6774
6933
  }, null, 8, ["agent-controller", "agent"])
6775
6934
  ], 64))
6776
6935
  ])) : (b(), v("div", gl, [
6777
6936
  p("div", pl, [
6778
- c.value === "chat" ? (b(), v(Ae, { key: 0 }, [
6937
+ c.value === "chat" ? (b(), v(Se, { key: 0 }, [
6779
6938
  n.requireAuth && !d.value ? (b(), me(cn, {
6780
6939
  key: 0,
6781
6940
  sdk: n.sdk
@@ -6787,12 +6946,12 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
6787
6946
  ], 64)) : c.value === "info" ? (b(), me(na, {
6788
6947
  key: 1,
6789
6948
  agent: n.agent
6790
- }, null, 8, ["agent"])) : $("", !0)
6949
+ }, null, 8, ["agent"])) : O("", !0)
6791
6950
  ])
6792
6951
  ]))
6793
6952
  ], 64)),
6794
6953
  p("div", {
6795
- class: _(["relative z-20 text-center py-5 px-6", c.value === "info" ? "hidden" : ""])
6954
+ class: z(["relative z-20 text-center py-5 px-6", c.value === "info" ? "hidden" : ""])
6796
6955
  }, [...x[12] || (x[12] = [
6797
6956
  p("a", {
6798
6957
  href: "https://www.pagelines.com",
@@ -6812,10 +6971,10 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
6812
6971
  ])
6813
6972
  ], -1)),
6814
6973
  x[14] || (x[14] = p("h3", { class: "text-lg font-medium" }, " Agent Error ", -1)),
6815
- p("p", bl, Z(a.value), 1)
6974
+ p("p", bl, X(a.value), 1)
6816
6975
  ])
6817
6976
  ])) : (b(), v("div", kl, " There was an error loading the digital agent. Please try again later. ")),
6818
- n.chatOnly ? $("", !0) : (b(), me(Zi, {
6977
+ n.chatOnly ? O("", !0) : (b(), me(Zi, {
6819
6978
  key: 4,
6820
6979
  modelValue: s.value,
6821
6980
  "onUpdate:modelValue": x[5] || (x[5] = (w) => s.value = w),
@@ -6824,7 +6983,7 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
6824
6983
  title: n.agent.name,
6825
6984
  "data-test": "agent-sidebar"
6826
6985
  }, null, 8, ["modelValue", "agent", "sdk", "title"])),
6827
- n.chatOnly ? $("", !0) : (b(), me(Yi, {
6986
+ n.chatOnly ? O("", !0) : (b(), me(Yi, {
6828
6987
  key: 5,
6829
6988
  modelValue: o.value,
6830
6989
  "onUpdate:modelValue": x[6] || (x[6] = (w) => o.value = w),
@@ -6836,7 +6995,7 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
6836
6995
  }), xl = { class: "agent-wrap" }, vl = {
6837
6996
  key: 0,
6838
6997
  class: "flex items-center justify-center h-full"
6839
- }, Ml = /* @__PURE__ */ se({
6998
+ }, Ml = /* @__PURE__ */ ae({
6840
6999
  __name: "AgentWrap",
6841
7000
  props: {
6842
7001
  sdk: {},
@@ -6853,8 +7012,8 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
6853
7012
  const t = Is("AgentWrap"), e = n, r = e.sdk || Ms.getInstance({
6854
7013
  isDev: typeof window < "u" ? window.location.hostname === "localhost" || window.location.hostname.includes("127.0.0.1") : !1,
6855
7014
  ...e.apiBase && { apiBase: e.apiBase }
6856
- }), s = W(!e.agent), o = W(e.agent), a = W();
6857
- return Et(async () => {
7015
+ }), s = G(!e.agent), o = G(e.agent), a = G();
7016
+ return Rt(async () => {
6858
7017
  if (e.agent) {
6859
7018
  t.debug("Agent provided via props, skipping fetch", {
6860
7019
  agentId: e.agent.agentId,
@@ -6933,16 +7092,16 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
6933
7092
  }), (l, c) => (b(), v("div", xl, [
6934
7093
  s.value ? (b(), v("div", vl, [...c[0] || (c[0] = [
6935
7094
  p("div", { class: "animate-spin rounded-full size-6 border-b-2 border-white" }, null, -1)
6936
- ])])) : o.value ? ht(l.$slots, "default", {
7095
+ ])])) : o.value ? gt(l.$slots, "default", {
6937
7096
  key: 1,
6938
- sdk: ne(r),
7097
+ sdk: oe(r),
6939
7098
  agent: o.value,
6940
7099
  context: n.context,
6941
7100
  firstMessage: n.firstMessage,
6942
7101
  buttonText: n.buttonText,
6943
7102
  buttonIcon: n.buttonIcon,
6944
7103
  loading: s.value
6945
- }) : $("", !0)
7104
+ }) : O("", !0)
6946
7105
  ]));
6947
7106
  }
6948
7107
  });
@@ -6965,4 +7124,4 @@ export {
6965
7124
  Ns as k,
6966
7125
  Ps as p
6967
7126
  };
6968
- //# sourceMappingURL=AgentWrap.vue_vue_type_script_setup_true_lang-CeEcZnMh.js.map
7127
+ //# sourceMappingURL=AgentWrap.vue_vue_type_script_setup_true_lang-KkVoKjUc.js.map