@pagelines/sdk 1.0.174 → 1.0.176
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AgentProvider.vue_vue_type_script_setup_true_lang-DfdOD9DB.js → AgentProvider.vue_vue_type_script_setup_true_lang-B44BDgFU.js} +2 -2
- package/dist/{AgentProvider.vue_vue_type_script_setup_true_lang-DfdOD9DB.js.map → AgentProvider.vue_vue_type_script_setup_true_lang-B44BDgFU.js.map} +1 -1
- package/dist/{AgentWidgetInline-DzMuLq-e.js → AgentWidgetInline-b18G4d9H.js} +2 -2
- package/dist/{AgentWidgetInline-DzMuLq-e.js.map → AgentWidgetInline-b18G4d9H.js.map} +1 -1
- package/dist/{AgentWidgetModal-Bo3I1Kvp.js → AgentWidgetModal-BeNIGtLh.js} +2 -2
- package/dist/{AgentWidgetModal-Bo3I1Kvp.js.map → AgentWidgetModal-BeNIGtLh.js.map} +1 -1
- package/dist/{AgentWidgetPopup-Vhq23tUI.js → AgentWidgetPopup-aZcXa7Bs.js} +29 -29
- package/dist/AgentWidgetPopup-aZcXa7Bs.js.map +1 -0
- package/dist/{AgentWrap.vue_vue_type_script_setup_true_lang-By0ndeW_.js → AgentWrap.vue_vue_type_script_setup_true_lang-CeEcZnMh.js} +465 -469
- package/dist/AgentWrap.vue_vue_type_script_setup_true_lang-CeEcZnMh.js.map +1 -0
- package/dist/agent/utils.d.ts +2 -2
- package/dist/agent.js +53 -52
- package/dist/agent.js.map +1 -1
- package/dist/sdk.css +1 -1
- package/dist/widget.js +3 -3
- package/package.json +2 -2
- package/dist/AgentWidgetPopup-Vhq23tUI.js.map +0 -1
- package/dist/AgentWrap.vue_vue_type_script_setup_true_lang-By0ndeW_.js.map +0 -1
|
@@ -1,10 +1,11 @@
|
|
|
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
|
|
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
|
|
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
6
|
import { S as it } from "./socialPlatforms-Ck-b3SnQ.js";
|
|
7
|
-
import { S as On, c as
|
|
7
|
+
import { S as On, c as Is, P as Ms } from "./sdkClient--jt-zUDx.js";
|
|
8
|
+
import { getDefaultAvatarUrl as Xt } from "@pagelines/types";
|
|
8
9
|
const _s = { class: "spinner max-w-sm" }, zs = {
|
|
9
10
|
class: "ring-circular h-full w-full origin-center",
|
|
10
11
|
viewBox: "25 25 50 50"
|
|
@@ -162,10 +163,10 @@ const _s = { class: "spinner max-w-sm" }, zs = {
|
|
|
162
163
|
950: "oklch(29.3% 0.066 243.157)"
|
|
163
164
|
}
|
|
164
165
|
};
|
|
165
|
-
function
|
|
166
|
+
function Ls(n) {
|
|
166
167
|
return an[n] || an.blue;
|
|
167
168
|
}
|
|
168
|
-
i(
|
|
169
|
+
i(Ls, "getColorSchemeOklch");
|
|
169
170
|
const Pn = [
|
|
170
171
|
{
|
|
171
172
|
mode: "self",
|
|
@@ -187,7 +188,7 @@ const Pn = [
|
|
|
187
188
|
label: "About",
|
|
188
189
|
icon: "i-tabler-user-circle"
|
|
189
190
|
}
|
|
190
|
-
],
|
|
191
|
+
], Ds = 256, $s = 0.8, Os = 50, El = {
|
|
191
192
|
bars: 64,
|
|
192
193
|
barWidth: 3,
|
|
193
194
|
barSpacing: 1,
|
|
@@ -200,7 +201,7 @@ const Pn = [
|
|
|
200
201
|
// ms to hold peaks
|
|
201
202
|
PEAK_DECAY_STIFFNESS: 0.12,
|
|
202
203
|
PEAK_DECAY_DAMPING: 0.15
|
|
203
|
-
},
|
|
204
|
+
}, Cl = [
|
|
204
205
|
// Low fundamentals
|
|
205
206
|
85,
|
|
206
207
|
100,
|
|
@@ -277,21 +278,21 @@ const Pn = [
|
|
|
277
278
|
], Br = class Br extends On {
|
|
278
279
|
constructor(e) {
|
|
279
280
|
super("ClientAudio", e);
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
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);
|
|
288
289
|
// VAD configuration - tuned for voice isolation (ignores background music)
|
|
289
|
-
|
|
290
|
+
R(this, "VAD_SILENCE_THRESHOLD", 0.03);
|
|
290
291
|
// 3% audio level = silence (filters out quiet background noise)
|
|
291
|
-
|
|
292
|
+
R(this, "VAD_SILENCE_DURATION", 1200);
|
|
292
293
|
// 1.2 seconds of silence before considering "stopped speaking"
|
|
293
294
|
// Public reactive state
|
|
294
|
-
|
|
295
|
+
R(this, "audioLevels", W({ inputLevel: 0, outputLevel: 0 }));
|
|
295
296
|
this.setupVisibilityHandler();
|
|
296
297
|
}
|
|
297
298
|
/**
|
|
@@ -388,7 +389,7 @@ const Pn = [
|
|
|
388
389
|
if (!this.stream)
|
|
389
390
|
throw new Error("No audio stream available");
|
|
390
391
|
try {
|
|
391
|
-
this.audioContext = new AudioContext(), this.analyser = this.audioContext.createAnalyser(), this.microphone = this.audioContext.createMediaStreamSource(this.stream), this.analyser.fftSize =
|
|
392
|
+
this.audioContext = new AudioContext(), this.analyser = this.audioContext.createAnalyser(), this.microphone = this.audioContext.createMediaStreamSource(this.stream), this.analyser.fftSize = Ds, this.analyser.smoothingTimeConstant = $s, this.microphone.connect(this.analyser), this.logger.info("Audio analysis setup complete", {
|
|
392
393
|
fftSize: this.analyser.fftSize,
|
|
393
394
|
frequencyBinCount: this.analyser.frequencyBinCount,
|
|
394
395
|
sampleRate: this.audioContext.sampleRate
|
|
@@ -493,19 +494,15 @@ function ln(n) {
|
|
|
493
494
|
return n ? typeof n == "string" ? n : n.src || "" : "";
|
|
494
495
|
}
|
|
495
496
|
i(ln, "getImageSrc");
|
|
496
|
-
function
|
|
497
|
-
return ln(n.cover) || ln(n.avatar) ||
|
|
498
|
-
}
|
|
499
|
-
i(jt, "getAgentAvatarUrl");
|
|
500
|
-
function Et() {
|
|
501
|
-
return "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iODAiIGhlaWdodD0iODAiIHZpZXdCb3g9IjAgMCA4MCA4MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjgwIiBoZWlnaHQ9IjgwIiByeD0iNDAiIGZpbGw9IiM2MzY2RjEiLz4KPHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeD0iMjAiIHk9IjIwIj4KPHA0aCBkPSJNMTIgMTJjMi4yMSAwIDQtMS43OSA0LTRTNC4yMSA0IDIgNHMxLjc5IDQgNCA0em0wIDJjLTIuNjcgMC04IDEuMzQtOCA0djJoMTZ2LTJjMC0yLjY2LTUuMzMtNC04LTR6IiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4KPC9zdmc+";
|
|
497
|
+
function Vt(n) {
|
|
498
|
+
return ln(n.cover) || ln(n.avatar) || Xt(n.name);
|
|
502
499
|
}
|
|
503
|
-
i(
|
|
504
|
-
function
|
|
500
|
+
i(Vt, "getAgentAvatarUrl");
|
|
501
|
+
function jt(n) {
|
|
505
502
|
const t = n.target;
|
|
506
|
-
t.dataset.fallbackUsed || (t.dataset.fallbackUsed = "true", t.src =
|
|
503
|
+
t.dataset.fallbackUsed || (t.dataset.fallbackUsed = "true", t.src = Xt());
|
|
507
504
|
}
|
|
508
|
-
i(
|
|
505
|
+
i(jt, "handleImageError");
|
|
509
506
|
function Ps(n) {
|
|
510
507
|
const { message: t, source: e } = n;
|
|
511
508
|
if (!t)
|
|
@@ -535,11 +532,11 @@ function Ps(n) {
|
|
|
535
532
|
return null;
|
|
536
533
|
}
|
|
537
534
|
i(Ps, "parseVoiceMessage");
|
|
538
|
-
function
|
|
535
|
+
function Rl(n) {
|
|
539
536
|
const { name: t, context: e } = n;
|
|
540
537
|
return e === "welcome" ? `Welcome! I'm ${t}, your AI agent. I'm here to help you understand how I can represent you and assist with your daily tasks. What would you like to know about how I work?` : e === "onboarding" ? `Hi! I'm ${t}, your newly created AI agent. I can handle conversations, answer questions about your expertise, and represent you professionally. Ready to see what I can do?` : `Hello! I'm ${t}. How can I help you today?`;
|
|
541
538
|
}
|
|
542
|
-
i(
|
|
539
|
+
i(Rl, "generateFirstMessage");
|
|
543
540
|
function Ns(n) {
|
|
544
541
|
const { template: t, agent: e } = n;
|
|
545
542
|
return t.replace(/{name}/g, e.name || "Digital Agent").replace(/{title}/g, e.title || "").replace(/{handle}/g, e.handle || "").replace(/{orgName}/g, e.org?.name || "");
|
|
@@ -548,18 +545,18 @@ i(Ns, "parseButtonTemplate");
|
|
|
548
545
|
const Ur = class Ur extends On {
|
|
549
546
|
constructor(e) {
|
|
550
547
|
super("AgentController", e);
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
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);
|
|
557
554
|
// Chat conversation tracking (server-managed persistence)
|
|
558
|
-
|
|
555
|
+
R(this, "conversationId");
|
|
559
556
|
// Voice session tracking (kept for voice flow)
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
557
|
+
R(this, "sessionId");
|
|
558
|
+
R(this, "conversationStartTime");
|
|
559
|
+
R(this, "voiceState", W({
|
|
563
560
|
isActive: !1,
|
|
564
561
|
isConnected: !1,
|
|
565
562
|
isSpeaking: !1,
|
|
@@ -568,14 +565,14 @@ const Ur = class Ur extends On {
|
|
|
568
565
|
transcript: "Tap to begin voice conversation",
|
|
569
566
|
connectionStatus: "disconnected"
|
|
570
567
|
}));
|
|
571
|
-
|
|
568
|
+
R(this, "textState", W({
|
|
572
569
|
isActive: !1,
|
|
573
570
|
isConnected: !1,
|
|
574
571
|
isThinking: !1,
|
|
575
572
|
connectionStatus: "disconnected"
|
|
576
573
|
}));
|
|
577
|
-
|
|
578
|
-
|
|
574
|
+
R(this, "agentMode", W("self"));
|
|
575
|
+
R(this, "sharedMessages", W([]));
|
|
579
576
|
this.clientAudio = new xr(e), this.setupModeWatcher();
|
|
580
577
|
}
|
|
581
578
|
get chatEnabled() {
|
|
@@ -887,7 +884,7 @@ const Bs = /* @__PURE__ */ se({
|
|
|
887
884
|
onInput: s[0] || (s[0] = (o) => e("update:modelValue", o.target.value))
|
|
888
885
|
}, null, 40, Fs));
|
|
889
886
|
}
|
|
890
|
-
}),
|
|
887
|
+
}), Vs = { class: "flex gap-1.5 justify-center" }, Gs = ["onUpdate:modelValue", "onInput", "onKeydown", "onPaste", "onFocus"], js = /* @__PURE__ */ se({
|
|
891
888
|
__name: "AgentInputOneTimeCode",
|
|
892
889
|
props: {
|
|
893
890
|
modelValue: {},
|
|
@@ -897,7 +894,7 @@ const Bs = /* @__PURE__ */ se({
|
|
|
897
894
|
emits: ["update:modelValue", "autoSubmit"],
|
|
898
895
|
setup(n, { emit: t }) {
|
|
899
896
|
const e = n, r = t, s = W([]), o = W(Array.from({ length: e.length }).fill("")), a = W(!1);
|
|
900
|
-
|
|
897
|
+
Et(() => {
|
|
901
898
|
e.modelValue && (o.value = e.modelValue.split("").slice(0, e.length)), e.focusFirst && !("ontouchstart" in window) && s.value[0]?.focus();
|
|
902
899
|
}), Be(() => e.modelValue, (g) => {
|
|
903
900
|
o.value = g ? g.split("").slice(0, e.length) : Array.from({ length: e.length }).fill("");
|
|
@@ -938,8 +935,8 @@ const Bs = /* @__PURE__ */ se({
|
|
|
938
935
|
for (let f = g; f < e.length; f++)
|
|
939
936
|
o.value[f] = "";
|
|
940
937
|
}
|
|
941
|
-
return i(h, "onFocus"), (g, f) => (b(), v("div",
|
|
942
|
-
(b(!0), v(Ae, null,
|
|
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", {
|
|
943
940
|
key: k,
|
|
944
941
|
ref_for: !0,
|
|
945
942
|
ref: /* @__PURE__ */ i((M) => s.value[k - 1] = M, "ref"),
|
|
@@ -954,15 +951,15 @@ const Bs = /* @__PURE__ */ se({
|
|
|
954
951
|
onKeydown: /* @__PURE__ */ i((M) => d(k - 1, M), "onKeydown"),
|
|
955
952
|
onPaste: /* @__PURE__ */ i((M) => l(k - 1, M), "onPaste"),
|
|
956
953
|
onFocus: /* @__PURE__ */ i((M) => h(k - 1), "onFocus")
|
|
957
|
-
}, null, 40,
|
|
958
|
-
[
|
|
954
|
+
}, null, 40, Gs)), [
|
|
955
|
+
[Dn, o.value[k - 1]]
|
|
959
956
|
])), 128))
|
|
960
957
|
]));
|
|
961
958
|
}
|
|
962
|
-
}), Ws = ["data-test-mode"], qs = { class: "w-full max-w-xs space-y-12" },
|
|
959
|
+
}), Ws = ["data-test-mode"], qs = { class: "w-full max-w-xs space-y-12" }, Ys = {
|
|
963
960
|
key: 0,
|
|
964
961
|
class: "text-xs text-theme-400 text-center"
|
|
965
|
-
},
|
|
962
|
+
}, Zs = { class: "text-base font-light text-white text-center" }, Xs = { class: "space-y-6 relative" }, Ks = {
|
|
966
963
|
key: "email-field",
|
|
967
964
|
class: "w-full"
|
|
968
965
|
}, Qs = {
|
|
@@ -1012,20 +1009,20 @@ const Bs = /* @__PURE__ */ se({
|
|
|
1012
1009
|
class: "flex flex-col items-center justify-center h-full p-6"
|
|
1013
1010
|
}, [
|
|
1014
1011
|
p("div", qs, [
|
|
1015
|
-
n.sdk.error.value ? (b(), v("p",
|
|
1016
|
-
p("h3",
|
|
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),
|
|
1017
1014
|
p("div", Xs, [
|
|
1018
|
-
|
|
1015
|
+
J(Bs, null, {
|
|
1019
1016
|
default: Se(() => [
|
|
1020
1017
|
e.value === "email" ? (b(), v("div", Ks, [
|
|
1021
|
-
|
|
1018
|
+
J(Hs, {
|
|
1022
1019
|
modelValue: t.value.email,
|
|
1023
1020
|
"onUpdate:modelValue": l[0] || (l[0] = (c) => t.value.email = c),
|
|
1024
1021
|
"data-test": "auth-email-input",
|
|
1025
1022
|
onKeyup: Ts(o.value.action, ["enter"])
|
|
1026
1023
|
}, null, 8, ["modelValue", "onKeyup"])
|
|
1027
1024
|
])) : (b(), v("div", Qs, [
|
|
1028
|
-
|
|
1025
|
+
J(js, {
|
|
1029
1026
|
modelValue: t.value.code,
|
|
1030
1027
|
"onUpdate:modelValue": l[1] || (l[1] = (c) => t.value.code = c),
|
|
1031
1028
|
length: 6,
|
|
@@ -1038,7 +1035,7 @@ const Bs = /* @__PURE__ */ se({
|
|
|
1038
1035
|
key: o.value.button.label,
|
|
1039
1036
|
class: "space-y-4 w-full"
|
|
1040
1037
|
}, [
|
|
1041
|
-
|
|
1038
|
+
J(Nn, {
|
|
1042
1039
|
theme: "primary",
|
|
1043
1040
|
size: "md",
|
|
1044
1041
|
class: "w-full",
|
|
@@ -1048,7 +1045,7 @@ const Bs = /* @__PURE__ */ se({
|
|
|
1048
1045
|
onClick: o.value.action
|
|
1049
1046
|
}, {
|
|
1050
1047
|
default: Se(() => [
|
|
1051
|
-
Tt(
|
|
1048
|
+
Tt(Z(o.value.button.label), 1)
|
|
1052
1049
|
]),
|
|
1053
1050
|
_: 1
|
|
1054
1051
|
}, 8, ["loading", "disabled", "onClick"]),
|
|
@@ -1078,7 +1075,7 @@ const Bs = /* @__PURE__ */ se({
|
|
|
1078
1075
|
},
|
|
1079
1076
|
setup(n) {
|
|
1080
1077
|
function t() {
|
|
1081
|
-
return n.agent.avatar?.src
|
|
1078
|
+
return n.agent.avatar?.src || Xt(n.agent.name);
|
|
1082
1079
|
}
|
|
1083
1080
|
return i(t, "getAvatarSrc"), (e, r) => (b(), v("div", {
|
|
1084
1081
|
class: _(["flex gap-4", [
|
|
@@ -1094,7 +1091,7 @@ const Bs = /* @__PURE__ */ se({
|
|
|
1094
1091
|
alt: n.agent.name,
|
|
1095
1092
|
class: "w-full h-full object-cover",
|
|
1096
1093
|
onError: r[0] || (r[0] = //@ts-ignore
|
|
1097
|
-
(...s) =>
|
|
1094
|
+
(...s) => ne(jt) && ne(jt)(...s))
|
|
1098
1095
|
}, null, 40, eo)
|
|
1099
1096
|
], 2),
|
|
1100
1097
|
n.showOnlineIndicator ? (b(), v("div", to, [...r[1] || (r[1] = [
|
|
@@ -1111,13 +1108,13 @@ const Bs = /* @__PURE__ */ se({
|
|
|
1111
1108
|
n.size === "lg" ? "text-3xl mb-2" : "text-xl sm:text-2xl tracking-wide leading-tight",
|
|
1112
1109
|
n.layout === "horizontal" ? "text-white/95" : ""
|
|
1113
1110
|
]])
|
|
1114
|
-
},
|
|
1111
|
+
}, Z(n.agent.name), 3),
|
|
1115
1112
|
p("p", {
|
|
1116
1113
|
class: _(["font-light line-clamp-1", [
|
|
1117
1114
|
n.size === "lg" ? "text-base text-white/60" : "text-sm sm:text-base",
|
|
1118
1115
|
n.layout === "horizontal" ? "text-white/70 truncate" : "text-white/60"
|
|
1119
1116
|
]])
|
|
1120
|
-
},
|
|
1117
|
+
}, Z(n.layout === "horizontal" ? n.agent.title || "Digital Agent" : n.agent.title), 3)
|
|
1121
1118
|
])
|
|
1122
1119
|
], 2));
|
|
1123
1120
|
}
|
|
@@ -1135,7 +1132,7 @@ const Bs = /* @__PURE__ */ se({
|
|
|
1135
1132
|
nextPart: n,
|
|
1136
1133
|
validators: t,
|
|
1137
1134
|
classGroupId: e
|
|
1138
|
-
}), "createClassPartObject"),
|
|
1135
|
+
}), "createClassPartObject"), Wt = "-", un = [], oo = "arbitrary..", ao = /* @__PURE__ */ i((n) => {
|
|
1139
1136
|
const t = lo(n), {
|
|
1140
1137
|
conflictingClassGroups: e,
|
|
1141
1138
|
conflictingClassGroupModifiers: r
|
|
@@ -1144,7 +1141,7 @@ const Bs = /* @__PURE__ */ se({
|
|
|
1144
1141
|
getClassGroupId: /* @__PURE__ */ i((a) => {
|
|
1145
1142
|
if (a.startsWith("[") && a.endsWith("]"))
|
|
1146
1143
|
return io(a);
|
|
1147
|
-
const l = a.split(
|
|
1144
|
+
const l = a.split(Wt), c = l[0] === "" && l.length > 1 ? 1 : 0;
|
|
1148
1145
|
return Un(l, c, t);
|
|
1149
1146
|
}, "getClassGroupId"),
|
|
1150
1147
|
getConflictingClassGroupIds: /* @__PURE__ */ i((a, l) => {
|
|
@@ -1166,7 +1163,7 @@ const Bs = /* @__PURE__ */ se({
|
|
|
1166
1163
|
const a = e.validators;
|
|
1167
1164
|
if (a === null)
|
|
1168
1165
|
return;
|
|
1169
|
-
const l = t === 0 ? n.join(
|
|
1166
|
+
const l = t === 0 ? n.join(Wt) : n.slice(t).join(Wt), c = a.length;
|
|
1170
1167
|
for (let d = 0; d < c; d++) {
|
|
1171
1168
|
const h = a[d];
|
|
1172
1169
|
if (h.validator(l))
|
|
@@ -1185,10 +1182,10 @@ const Bs = /* @__PURE__ */ se({
|
|
|
1185
1182
|
const e = Bn();
|
|
1186
1183
|
for (const r in n) {
|
|
1187
1184
|
const s = n[r];
|
|
1188
|
-
|
|
1185
|
+
Rr(s, e, r, t);
|
|
1189
1186
|
}
|
|
1190
1187
|
return e;
|
|
1191
|
-
}, "processClassGroups"),
|
|
1188
|
+
}, "processClassGroups"), Rr = /* @__PURE__ */ i((n, t, e, r) => {
|
|
1192
1189
|
const s = n.length;
|
|
1193
1190
|
for (let o = 0; o < s; o++) {
|
|
1194
1191
|
const a = n[o];
|
|
@@ -1209,7 +1206,7 @@ const Bs = /* @__PURE__ */ se({
|
|
|
1209
1206
|
r.classGroupId = e;
|
|
1210
1207
|
}, "processStringDefinition"), go = /* @__PURE__ */ i((n, t, e, r) => {
|
|
1211
1208
|
if (fo(n)) {
|
|
1212
|
-
|
|
1209
|
+
Rr(n(r), t, e, r);
|
|
1213
1210
|
return;
|
|
1214
1211
|
}
|
|
1215
1212
|
t.validators === null && (t.validators = []), t.validators.push(so(e, n));
|
|
@@ -1217,11 +1214,11 @@ const Bs = /* @__PURE__ */ se({
|
|
|
1217
1214
|
const s = Object.entries(n), o = s.length;
|
|
1218
1215
|
for (let a = 0; a < o; a++) {
|
|
1219
1216
|
const [l, c] = s[a];
|
|
1220
|
-
|
|
1217
|
+
Rr(c, Fn(t, l), e, r);
|
|
1221
1218
|
}
|
|
1222
1219
|
}, "processObjectDefinition"), Fn = /* @__PURE__ */ i((n, t) => {
|
|
1223
1220
|
let e = n;
|
|
1224
|
-
const r = t.split(
|
|
1221
|
+
const r = t.split(Wt), s = r.length;
|
|
1225
1222
|
for (let o = 0; o < s; o++) {
|
|
1226
1223
|
const a = r[o];
|
|
1227
1224
|
let l = e.nextPart.get(a);
|
|
@@ -1361,8 +1358,8 @@ const Bs = /* @__PURE__ */ se({
|
|
|
1361
1358
|
a.push(w);
|
|
1362
1359
|
const B = s(X, N);
|
|
1363
1360
|
for (let H = 0; H < B.length; ++H) {
|
|
1364
|
-
const
|
|
1365
|
-
a.push(x +
|
|
1361
|
+
const ee = B[H];
|
|
1362
|
+
a.push(x + ee);
|
|
1366
1363
|
}
|
|
1367
1364
|
c = h + (c.length > 0 ? " " + c : c);
|
|
1368
1365
|
}
|
|
@@ -1395,18 +1392,18 @@ const Bs = /* @__PURE__ */ se({
|
|
|
1395
1392
|
}, "createTailwindMerge"), To = [], Q = /* @__PURE__ */ i((n) => {
|
|
1396
1393
|
const t = /* @__PURE__ */ i((e) => e[n] || To, "themeGetter");
|
|
1397
1394
|
return t.isThemeGetter = !0, t;
|
|
1398
|
-
}, "fromTheme"),
|
|
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) => (
|
|
1399
1396
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
1400
1397
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
1401
1398
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
1402
|
-
|
|
1403
|
-
), "isLengthOnly"),
|
|
1404
|
-
const r =
|
|
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) => {
|
|
1401
|
+
const r = Vn.exec(n);
|
|
1405
1402
|
return r ? r[1] ? t(r[1]) : e(r[2]) : !1;
|
|
1406
|
-
}, "getIsArbitraryValue"),
|
|
1407
|
-
const r =
|
|
1403
|
+
}, "getIsArbitraryValue"), Ze = /* @__PURE__ */ i((n, t, e = !1) => {
|
|
1404
|
+
const r = Gn.exec(n);
|
|
1408
1405
|
return r ? r[1] ? t(r[1]) : e : !1;
|
|
1409
|
-
}, "getIsArbitraryVariable"), Wn = /* @__PURE__ */ i((n) => n === "position" || n === "percentage", "isLabelPosition"), qn = /* @__PURE__ */ i((n) => n === "image" || n === "url", "isLabelImage"),
|
|
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(() => {
|
|
1410
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(() => [
|
|
1411
1408
|
"center",
|
|
1412
1409
|
"top",
|
|
@@ -1425,9 +1422,9 @@ const Bs = /* @__PURE__ */ se({
|
|
|
1425
1422
|
"bottom-left",
|
|
1426
1423
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
1427
1424
|
"left-bottom"
|
|
1428
|
-
], "scalePosition"), B = /* @__PURE__ */ i(() => [...w(), S, A], "scalePositionWithArbitrary"), H = /* @__PURE__ */ i(() => ["auto", "hidden", "clip", "visible", "scroll"], "scaleOverflow"),
|
|
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", {
|
|
1429
1426
|
span: ["full", $e, S, A]
|
|
1430
|
-
}, $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"),
|
|
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, {
|
|
1431
1428
|
position: [S, A]
|
|
1432
1429
|
}], "scaleBgPosition"), gt = /* @__PURE__ */ i(() => ["no-repeat", {
|
|
1433
1430
|
repeat: ["", "x", "y", "space", "round"]
|
|
@@ -1441,14 +1438,14 @@ const Bs = /* @__PURE__ */ se({
|
|
|
1441
1438
|
d,
|
|
1442
1439
|
S,
|
|
1443
1440
|
A
|
|
1444
|
-
], "scaleRadius"), oe = /* @__PURE__ */ i(() => ["",
|
|
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(() => [
|
|
1445
1442
|
// Deprecated since Tailwind CSS v4.0.0
|
|
1446
1443
|
"",
|
|
1447
1444
|
"none",
|
|
1448
1445
|
M,
|
|
1449
1446
|
S,
|
|
1450
1447
|
A
|
|
1451
|
-
], "scaleBlur"), He = /* @__PURE__ */ i(() => ["none",
|
|
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");
|
|
1452
1449
|
return {
|
|
1453
1450
|
cacheSize: 500,
|
|
1454
1451
|
theme: {
|
|
@@ -1456,7 +1453,7 @@ const Bs = /* @__PURE__ */ se({
|
|
|
1456
1453
|
aspect: ["video"],
|
|
1457
1454
|
blur: [Me],
|
|
1458
1455
|
breakpoint: [Me],
|
|
1459
|
-
color: [
|
|
1456
|
+
color: [jn],
|
|
1460
1457
|
container: [Me],
|
|
1461
1458
|
"drop-shadow": [Me],
|
|
1462
1459
|
ease: ["in", "out", "in-out"],
|
|
@@ -1467,7 +1464,7 @@ const Bs = /* @__PURE__ */ se({
|
|
|
1467
1464
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
1468
1465
|
radius: [Me],
|
|
1469
1466
|
shadow: [Me],
|
|
1470
|
-
spacing: ["px",
|
|
1467
|
+
spacing: ["px", L],
|
|
1471
1468
|
text: [Me],
|
|
1472
1469
|
"text-shadow": [Me],
|
|
1473
1470
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
@@ -1494,7 +1491,7 @@ const Bs = /* @__PURE__ */ se({
|
|
|
1494
1491
|
* @see https://tailwindcss.com/docs/columns
|
|
1495
1492
|
*/
|
|
1496
1493
|
columns: [{
|
|
1497
|
-
columns: [
|
|
1494
|
+
columns: [L, A, S, l]
|
|
1498
1495
|
}],
|
|
1499
1496
|
/**
|
|
1500
1497
|
* Break After
|
|
@@ -1600,21 +1597,21 @@ const Bs = /* @__PURE__ */ se({
|
|
|
1600
1597
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1601
1598
|
*/
|
|
1602
1599
|
overscroll: [{
|
|
1603
|
-
overscroll:
|
|
1600
|
+
overscroll: ee()
|
|
1604
1601
|
}],
|
|
1605
1602
|
/**
|
|
1606
1603
|
* Overscroll Behavior X
|
|
1607
1604
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1608
1605
|
*/
|
|
1609
1606
|
"overscroll-x": [{
|
|
1610
|
-
"overscroll-x":
|
|
1607
|
+
"overscroll-x": ee()
|
|
1611
1608
|
}],
|
|
1612
1609
|
/**
|
|
1613
1610
|
* Overscroll Behavior Y
|
|
1614
1611
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1615
1612
|
*/
|
|
1616
1613
|
"overscroll-y": [{
|
|
1617
|
-
"overscroll-y":
|
|
1614
|
+
"overscroll-y": ee()
|
|
1618
1615
|
}],
|
|
1619
1616
|
/**
|
|
1620
1617
|
* Position
|
|
@@ -1725,21 +1722,21 @@ const Bs = /* @__PURE__ */ se({
|
|
|
1725
1722
|
* @see https://tailwindcss.com/docs/flex
|
|
1726
1723
|
*/
|
|
1727
1724
|
flex: [{
|
|
1728
|
-
flex: [
|
|
1725
|
+
flex: [L, at, "auto", "initial", "none", A]
|
|
1729
1726
|
}],
|
|
1730
1727
|
/**
|
|
1731
1728
|
* Flex Grow
|
|
1732
1729
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
1733
1730
|
*/
|
|
1734
1731
|
grow: [{
|
|
1735
|
-
grow: ["",
|
|
1732
|
+
grow: ["", L, S, A]
|
|
1736
1733
|
}],
|
|
1737
1734
|
/**
|
|
1738
1735
|
* Flex Shrink
|
|
1739
1736
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
1740
1737
|
*/
|
|
1741
1738
|
shrink: [{
|
|
1742
|
-
shrink: ["",
|
|
1739
|
+
shrink: ["", L, S, A]
|
|
1743
1740
|
}],
|
|
1744
1741
|
/**
|
|
1745
1742
|
* Order
|
|
@@ -1753,14 +1750,14 @@ const Bs = /* @__PURE__ */ se({
|
|
|
1753
1750
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
1754
1751
|
*/
|
|
1755
1752
|
"grid-cols": [{
|
|
1756
|
-
"grid-cols":
|
|
1753
|
+
"grid-cols": It()
|
|
1757
1754
|
}],
|
|
1758
1755
|
/**
|
|
1759
1756
|
* Grid Column Start / End
|
|
1760
1757
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1761
1758
|
*/
|
|
1762
1759
|
"col-start-end": [{
|
|
1763
|
-
col:
|
|
1760
|
+
col: te()
|
|
1764
1761
|
}],
|
|
1765
1762
|
/**
|
|
1766
1763
|
* Grid Column Start
|
|
@@ -1781,14 +1778,14 @@ const Bs = /* @__PURE__ */ se({
|
|
|
1781
1778
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
1782
1779
|
*/
|
|
1783
1780
|
"grid-rows": [{
|
|
1784
|
-
"grid-rows":
|
|
1781
|
+
"grid-rows": It()
|
|
1785
1782
|
}],
|
|
1786
1783
|
/**
|
|
1787
1784
|
* Grid Row Start / End
|
|
1788
1785
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1789
1786
|
*/
|
|
1790
1787
|
"row-start-end": [{
|
|
1791
|
-
row:
|
|
1788
|
+
row: te()
|
|
1792
1789
|
}],
|
|
1793
1790
|
/**
|
|
1794
1791
|
* Grid Row Start
|
|
@@ -2158,7 +2155,7 @@ const Bs = /* @__PURE__ */ se({
|
|
|
2158
2155
|
* @see https://tailwindcss.com/docs/font-weight
|
|
2159
2156
|
*/
|
|
2160
2157
|
"font-weight": [{
|
|
2161
|
-
font: [r,
|
|
2158
|
+
font: [r, Vo, Po]
|
|
2162
2159
|
}],
|
|
2163
2160
|
/**
|
|
2164
2161
|
* Font Stretch
|
|
@@ -2216,7 +2213,7 @@ const Bs = /* @__PURE__ */ se({
|
|
|
2216
2213
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
2217
2214
|
*/
|
|
2218
2215
|
"line-clamp": [{
|
|
2219
|
-
"line-clamp": [
|
|
2216
|
+
"line-clamp": [L, "none", S, gn]
|
|
2220
2217
|
}],
|
|
2221
2218
|
/**
|
|
2222
2219
|
* Line Height
|
|
@@ -2263,14 +2260,14 @@ const Bs = /* @__PURE__ */ se({
|
|
|
2263
2260
|
* @see https://v3.tailwindcss.com/docs/placeholder-color
|
|
2264
2261
|
*/
|
|
2265
2262
|
"placeholder-color": [{
|
|
2266
|
-
placeholder:
|
|
2263
|
+
placeholder: I()
|
|
2267
2264
|
}],
|
|
2268
2265
|
/**
|
|
2269
2266
|
* Text Color
|
|
2270
2267
|
* @see https://tailwindcss.com/docs/text-color
|
|
2271
2268
|
*/
|
|
2272
2269
|
"text-color": [{
|
|
2273
|
-
text:
|
|
2270
|
+
text: I()
|
|
2274
2271
|
}],
|
|
2275
2272
|
/**
|
|
2276
2273
|
* Text Decoration
|
|
@@ -2282,28 +2279,28 @@ const Bs = /* @__PURE__ */ se({
|
|
|
2282
2279
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
2283
2280
|
*/
|
|
2284
2281
|
"text-decoration-style": [{
|
|
2285
|
-
decoration: [...
|
|
2282
|
+
decoration: [...V(), "wavy"]
|
|
2286
2283
|
}],
|
|
2287
2284
|
/**
|
|
2288
2285
|
* Text Decoration Thickness
|
|
2289
2286
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
2290
2287
|
*/
|
|
2291
2288
|
"text-decoration-thickness": [{
|
|
2292
|
-
decoration: [
|
|
2289
|
+
decoration: [L, "from-font", "auto", S, We]
|
|
2293
2290
|
}],
|
|
2294
2291
|
/**
|
|
2295
2292
|
* Text Decoration Color
|
|
2296
2293
|
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
2297
2294
|
*/
|
|
2298
2295
|
"text-decoration-color": [{
|
|
2299
|
-
decoration:
|
|
2296
|
+
decoration: I()
|
|
2300
2297
|
}],
|
|
2301
2298
|
/**
|
|
2302
2299
|
* Text Underline Offset
|
|
2303
2300
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
2304
2301
|
*/
|
|
2305
2302
|
"underline-offset": [{
|
|
2306
|
-
"underline-offset": [
|
|
2303
|
+
"underline-offset": [L, "auto", S, A]
|
|
2307
2304
|
}],
|
|
2308
2305
|
/**
|
|
2309
2306
|
* Text Transform
|
|
@@ -2400,7 +2397,7 @@ const Bs = /* @__PURE__ */ se({
|
|
|
2400
2397
|
* @see https://tailwindcss.com/docs/background-position
|
|
2401
2398
|
*/
|
|
2402
2399
|
"bg-position": [{
|
|
2403
|
-
bg:
|
|
2400
|
+
bg: Mt()
|
|
2404
2401
|
}],
|
|
2405
2402
|
/**
|
|
2406
2403
|
* Background Repeat
|
|
@@ -2434,7 +2431,7 @@ const Bs = /* @__PURE__ */ se({
|
|
|
2434
2431
|
* @see https://tailwindcss.com/docs/background-color
|
|
2435
2432
|
*/
|
|
2436
2433
|
"bg-color": [{
|
|
2437
|
-
bg:
|
|
2434
|
+
bg: I()
|
|
2438
2435
|
}],
|
|
2439
2436
|
/**
|
|
2440
2437
|
* Gradient Color Stops From Position
|
|
@@ -2462,21 +2459,21 @@ const Bs = /* @__PURE__ */ se({
|
|
|
2462
2459
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2463
2460
|
*/
|
|
2464
2461
|
"gradient-from": [{
|
|
2465
|
-
from:
|
|
2462
|
+
from: I()
|
|
2466
2463
|
}],
|
|
2467
2464
|
/**
|
|
2468
2465
|
* Gradient Color Stops Via
|
|
2469
2466
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2470
2467
|
*/
|
|
2471
2468
|
"gradient-via": [{
|
|
2472
|
-
via:
|
|
2469
|
+
via: I()
|
|
2473
2470
|
}],
|
|
2474
2471
|
/**
|
|
2475
2472
|
* Gradient Color Stops To
|
|
2476
2473
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2477
2474
|
*/
|
|
2478
2475
|
"gradient-to": [{
|
|
2479
|
-
to:
|
|
2476
|
+
to: I()
|
|
2480
2477
|
}],
|
|
2481
2478
|
// ---------------
|
|
2482
2479
|
// --- Borders ---
|
|
@@ -2678,112 +2675,112 @@ const Bs = /* @__PURE__ */ se({
|
|
|
2678
2675
|
* @see https://tailwindcss.com/docs/border-style
|
|
2679
2676
|
*/
|
|
2680
2677
|
"border-style": [{
|
|
2681
|
-
border: [...
|
|
2678
|
+
border: [...V(), "hidden", "none"]
|
|
2682
2679
|
}],
|
|
2683
2680
|
/**
|
|
2684
2681
|
* Divide Style
|
|
2685
2682
|
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
2686
2683
|
*/
|
|
2687
2684
|
"divide-style": [{
|
|
2688
|
-
divide: [...
|
|
2685
|
+
divide: [...V(), "hidden", "none"]
|
|
2689
2686
|
}],
|
|
2690
2687
|
/**
|
|
2691
2688
|
* Border Color
|
|
2692
2689
|
* @see https://tailwindcss.com/docs/border-color
|
|
2693
2690
|
*/
|
|
2694
2691
|
"border-color": [{
|
|
2695
|
-
border:
|
|
2692
|
+
border: I()
|
|
2696
2693
|
}],
|
|
2697
2694
|
/**
|
|
2698
2695
|
* Border Color X
|
|
2699
2696
|
* @see https://tailwindcss.com/docs/border-color
|
|
2700
2697
|
*/
|
|
2701
2698
|
"border-color-x": [{
|
|
2702
|
-
"border-x":
|
|
2699
|
+
"border-x": I()
|
|
2703
2700
|
}],
|
|
2704
2701
|
/**
|
|
2705
2702
|
* Border Color Y
|
|
2706
2703
|
* @see https://tailwindcss.com/docs/border-color
|
|
2707
2704
|
*/
|
|
2708
2705
|
"border-color-y": [{
|
|
2709
|
-
"border-y":
|
|
2706
|
+
"border-y": I()
|
|
2710
2707
|
}],
|
|
2711
2708
|
/**
|
|
2712
2709
|
* Border Color S
|
|
2713
2710
|
* @see https://tailwindcss.com/docs/border-color
|
|
2714
2711
|
*/
|
|
2715
2712
|
"border-color-s": [{
|
|
2716
|
-
"border-s":
|
|
2713
|
+
"border-s": I()
|
|
2717
2714
|
}],
|
|
2718
2715
|
/**
|
|
2719
2716
|
* Border Color E
|
|
2720
2717
|
* @see https://tailwindcss.com/docs/border-color
|
|
2721
2718
|
*/
|
|
2722
2719
|
"border-color-e": [{
|
|
2723
|
-
"border-e":
|
|
2720
|
+
"border-e": I()
|
|
2724
2721
|
}],
|
|
2725
2722
|
/**
|
|
2726
2723
|
* Border Color Top
|
|
2727
2724
|
* @see https://tailwindcss.com/docs/border-color
|
|
2728
2725
|
*/
|
|
2729
2726
|
"border-color-t": [{
|
|
2730
|
-
"border-t":
|
|
2727
|
+
"border-t": I()
|
|
2731
2728
|
}],
|
|
2732
2729
|
/**
|
|
2733
2730
|
* Border Color Right
|
|
2734
2731
|
* @see https://tailwindcss.com/docs/border-color
|
|
2735
2732
|
*/
|
|
2736
2733
|
"border-color-r": [{
|
|
2737
|
-
"border-r":
|
|
2734
|
+
"border-r": I()
|
|
2738
2735
|
}],
|
|
2739
2736
|
/**
|
|
2740
2737
|
* Border Color Bottom
|
|
2741
2738
|
* @see https://tailwindcss.com/docs/border-color
|
|
2742
2739
|
*/
|
|
2743
2740
|
"border-color-b": [{
|
|
2744
|
-
"border-b":
|
|
2741
|
+
"border-b": I()
|
|
2745
2742
|
}],
|
|
2746
2743
|
/**
|
|
2747
2744
|
* Border Color Left
|
|
2748
2745
|
* @see https://tailwindcss.com/docs/border-color
|
|
2749
2746
|
*/
|
|
2750
2747
|
"border-color-l": [{
|
|
2751
|
-
"border-l":
|
|
2748
|
+
"border-l": I()
|
|
2752
2749
|
}],
|
|
2753
2750
|
/**
|
|
2754
2751
|
* Divide Color
|
|
2755
2752
|
* @see https://tailwindcss.com/docs/divide-color
|
|
2756
2753
|
*/
|
|
2757
2754
|
"divide-color": [{
|
|
2758
|
-
divide:
|
|
2755
|
+
divide: I()
|
|
2759
2756
|
}],
|
|
2760
2757
|
/**
|
|
2761
2758
|
* Outline Style
|
|
2762
2759
|
* @see https://tailwindcss.com/docs/outline-style
|
|
2763
2760
|
*/
|
|
2764
2761
|
"outline-style": [{
|
|
2765
|
-
outline: [...
|
|
2762
|
+
outline: [...V(), "none", "hidden"]
|
|
2766
2763
|
}],
|
|
2767
2764
|
/**
|
|
2768
2765
|
* Outline Offset
|
|
2769
2766
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
2770
2767
|
*/
|
|
2771
2768
|
"outline-offset": [{
|
|
2772
|
-
"outline-offset": [
|
|
2769
|
+
"outline-offset": [L, S, A]
|
|
2773
2770
|
}],
|
|
2774
2771
|
/**
|
|
2775
2772
|
* Outline Width
|
|
2776
2773
|
* @see https://tailwindcss.com/docs/outline-width
|
|
2777
2774
|
*/
|
|
2778
2775
|
"outline-w": [{
|
|
2779
|
-
outline: ["",
|
|
2776
|
+
outline: ["", L, mt, We]
|
|
2780
2777
|
}],
|
|
2781
2778
|
/**
|
|
2782
2779
|
* Outline Color
|
|
2783
2780
|
* @see https://tailwindcss.com/docs/outline-color
|
|
2784
2781
|
*/
|
|
2785
2782
|
"outline-color": [{
|
|
2786
|
-
outline:
|
|
2783
|
+
outline: I()
|
|
2787
2784
|
}],
|
|
2788
2785
|
// ---------------
|
|
2789
2786
|
// --- Effects ---
|
|
@@ -2798,8 +2795,8 @@ const Bs = /* @__PURE__ */ se({
|
|
|
2798
2795
|
"",
|
|
2799
2796
|
"none",
|
|
2800
2797
|
h,
|
|
2801
|
-
|
|
2802
|
-
|
|
2798
|
+
Bt,
|
|
2799
|
+
Nt
|
|
2803
2800
|
]
|
|
2804
2801
|
}],
|
|
2805
2802
|
/**
|
|
@@ -2807,21 +2804,21 @@ const Bs = /* @__PURE__ */ se({
|
|
|
2807
2804
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
|
|
2808
2805
|
*/
|
|
2809
2806
|
"shadow-color": [{
|
|
2810
|
-
shadow:
|
|
2807
|
+
shadow: I()
|
|
2811
2808
|
}],
|
|
2812
2809
|
/**
|
|
2813
2810
|
* Inset Box Shadow
|
|
2814
2811
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
2815
2812
|
*/
|
|
2816
2813
|
"inset-shadow": [{
|
|
2817
|
-
"inset-shadow": ["none", g,
|
|
2814
|
+
"inset-shadow": ["none", g, Bt, Nt]
|
|
2818
2815
|
}],
|
|
2819
2816
|
/**
|
|
2820
2817
|
* Inset Box Shadow Color
|
|
2821
2818
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
|
|
2822
2819
|
*/
|
|
2823
2820
|
"inset-shadow-color": [{
|
|
2824
|
-
"inset-shadow":
|
|
2821
|
+
"inset-shadow": I()
|
|
2825
2822
|
}],
|
|
2826
2823
|
/**
|
|
2827
2824
|
* Ring Width
|
|
@@ -2842,7 +2839,7 @@ const Bs = /* @__PURE__ */ se({
|
|
|
2842
2839
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
|
|
2843
2840
|
*/
|
|
2844
2841
|
"ring-color": [{
|
|
2845
|
-
ring:
|
|
2842
|
+
ring: I()
|
|
2846
2843
|
}],
|
|
2847
2844
|
/**
|
|
2848
2845
|
* Ring Offset Width
|
|
@@ -2851,7 +2848,7 @@ const Bs = /* @__PURE__ */ se({
|
|
|
2851
2848
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2852
2849
|
*/
|
|
2853
2850
|
"ring-offset-w": [{
|
|
2854
|
-
"ring-offset": [
|
|
2851
|
+
"ring-offset": [L, We]
|
|
2855
2852
|
}],
|
|
2856
2853
|
/**
|
|
2857
2854
|
* Ring Offset Color
|
|
@@ -2860,7 +2857,7 @@ const Bs = /* @__PURE__ */ se({
|
|
|
2860
2857
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2861
2858
|
*/
|
|
2862
2859
|
"ring-offset-color": [{
|
|
2863
|
-
"ring-offset":
|
|
2860
|
+
"ring-offset": I()
|
|
2864
2861
|
}],
|
|
2865
2862
|
/**
|
|
2866
2863
|
* Inset Ring Width
|
|
@@ -2874,42 +2871,42 @@ const Bs = /* @__PURE__ */ se({
|
|
|
2874
2871
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
|
|
2875
2872
|
*/
|
|
2876
2873
|
"inset-ring-color": [{
|
|
2877
|
-
"inset-ring":
|
|
2874
|
+
"inset-ring": I()
|
|
2878
2875
|
}],
|
|
2879
2876
|
/**
|
|
2880
2877
|
* Text Shadow
|
|
2881
2878
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
2882
2879
|
*/
|
|
2883
2880
|
"text-shadow": [{
|
|
2884
|
-
"text-shadow": ["none", f,
|
|
2881
|
+
"text-shadow": ["none", f, Bt, Nt]
|
|
2885
2882
|
}],
|
|
2886
2883
|
/**
|
|
2887
2884
|
* Text Shadow Color
|
|
2888
2885
|
* @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
|
|
2889
2886
|
*/
|
|
2890
2887
|
"text-shadow-color": [{
|
|
2891
|
-
"text-shadow":
|
|
2888
|
+
"text-shadow": I()
|
|
2892
2889
|
}],
|
|
2893
2890
|
/**
|
|
2894
2891
|
* Opacity
|
|
2895
2892
|
* @see https://tailwindcss.com/docs/opacity
|
|
2896
2893
|
*/
|
|
2897
2894
|
opacity: [{
|
|
2898
|
-
opacity: [
|
|
2895
|
+
opacity: [L, S, A]
|
|
2899
2896
|
}],
|
|
2900
2897
|
/**
|
|
2901
2898
|
* Mix Blend Mode
|
|
2902
2899
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
2903
2900
|
*/
|
|
2904
2901
|
"mix-blend": [{
|
|
2905
|
-
"mix-blend": [...
|
|
2902
|
+
"mix-blend": [...Le(), "plus-darker", "plus-lighter"]
|
|
2906
2903
|
}],
|
|
2907
2904
|
/**
|
|
2908
2905
|
* Background Blend Mode
|
|
2909
2906
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
2910
2907
|
*/
|
|
2911
2908
|
"bg-blend": [{
|
|
2912
|
-
"bg-blend":
|
|
2909
|
+
"bg-blend": Le()
|
|
2913
2910
|
}],
|
|
2914
2911
|
/**
|
|
2915
2912
|
* Mask Clip
|
|
@@ -2930,106 +2927,106 @@ const Bs = /* @__PURE__ */ se({
|
|
|
2930
2927
|
* @see https://tailwindcss.com/docs/mask-image
|
|
2931
2928
|
*/
|
|
2932
2929
|
"mask-image-linear-pos": [{
|
|
2933
|
-
"mask-linear": [
|
|
2930
|
+
"mask-linear": [L]
|
|
2934
2931
|
}],
|
|
2935
2932
|
"mask-image-linear-from-pos": [{
|
|
2936
|
-
"mask-linear-from":
|
|
2933
|
+
"mask-linear-from": j()
|
|
2937
2934
|
}],
|
|
2938
2935
|
"mask-image-linear-to-pos": [{
|
|
2939
|
-
"mask-linear-to":
|
|
2936
|
+
"mask-linear-to": j()
|
|
2940
2937
|
}],
|
|
2941
2938
|
"mask-image-linear-from-color": [{
|
|
2942
|
-
"mask-linear-from":
|
|
2939
|
+
"mask-linear-from": I()
|
|
2943
2940
|
}],
|
|
2944
2941
|
"mask-image-linear-to-color": [{
|
|
2945
|
-
"mask-linear-to":
|
|
2942
|
+
"mask-linear-to": I()
|
|
2946
2943
|
}],
|
|
2947
2944
|
"mask-image-t-from-pos": [{
|
|
2948
|
-
"mask-t-from":
|
|
2945
|
+
"mask-t-from": j()
|
|
2949
2946
|
}],
|
|
2950
2947
|
"mask-image-t-to-pos": [{
|
|
2951
|
-
"mask-t-to":
|
|
2948
|
+
"mask-t-to": j()
|
|
2952
2949
|
}],
|
|
2953
2950
|
"mask-image-t-from-color": [{
|
|
2954
|
-
"mask-t-from":
|
|
2951
|
+
"mask-t-from": I()
|
|
2955
2952
|
}],
|
|
2956
2953
|
"mask-image-t-to-color": [{
|
|
2957
|
-
"mask-t-to":
|
|
2954
|
+
"mask-t-to": I()
|
|
2958
2955
|
}],
|
|
2959
2956
|
"mask-image-r-from-pos": [{
|
|
2960
|
-
"mask-r-from":
|
|
2957
|
+
"mask-r-from": j()
|
|
2961
2958
|
}],
|
|
2962
2959
|
"mask-image-r-to-pos": [{
|
|
2963
|
-
"mask-r-to":
|
|
2960
|
+
"mask-r-to": j()
|
|
2964
2961
|
}],
|
|
2965
2962
|
"mask-image-r-from-color": [{
|
|
2966
|
-
"mask-r-from":
|
|
2963
|
+
"mask-r-from": I()
|
|
2967
2964
|
}],
|
|
2968
2965
|
"mask-image-r-to-color": [{
|
|
2969
|
-
"mask-r-to":
|
|
2966
|
+
"mask-r-to": I()
|
|
2970
2967
|
}],
|
|
2971
2968
|
"mask-image-b-from-pos": [{
|
|
2972
|
-
"mask-b-from":
|
|
2969
|
+
"mask-b-from": j()
|
|
2973
2970
|
}],
|
|
2974
2971
|
"mask-image-b-to-pos": [{
|
|
2975
|
-
"mask-b-to":
|
|
2972
|
+
"mask-b-to": j()
|
|
2976
2973
|
}],
|
|
2977
2974
|
"mask-image-b-from-color": [{
|
|
2978
|
-
"mask-b-from":
|
|
2975
|
+
"mask-b-from": I()
|
|
2979
2976
|
}],
|
|
2980
2977
|
"mask-image-b-to-color": [{
|
|
2981
|
-
"mask-b-to":
|
|
2978
|
+
"mask-b-to": I()
|
|
2982
2979
|
}],
|
|
2983
2980
|
"mask-image-l-from-pos": [{
|
|
2984
|
-
"mask-l-from":
|
|
2981
|
+
"mask-l-from": j()
|
|
2985
2982
|
}],
|
|
2986
2983
|
"mask-image-l-to-pos": [{
|
|
2987
|
-
"mask-l-to":
|
|
2984
|
+
"mask-l-to": j()
|
|
2988
2985
|
}],
|
|
2989
2986
|
"mask-image-l-from-color": [{
|
|
2990
|
-
"mask-l-from":
|
|
2987
|
+
"mask-l-from": I()
|
|
2991
2988
|
}],
|
|
2992
2989
|
"mask-image-l-to-color": [{
|
|
2993
|
-
"mask-l-to":
|
|
2990
|
+
"mask-l-to": I()
|
|
2994
2991
|
}],
|
|
2995
2992
|
"mask-image-x-from-pos": [{
|
|
2996
|
-
"mask-x-from":
|
|
2993
|
+
"mask-x-from": j()
|
|
2997
2994
|
}],
|
|
2998
2995
|
"mask-image-x-to-pos": [{
|
|
2999
|
-
"mask-x-to":
|
|
2996
|
+
"mask-x-to": j()
|
|
3000
2997
|
}],
|
|
3001
2998
|
"mask-image-x-from-color": [{
|
|
3002
|
-
"mask-x-from":
|
|
2999
|
+
"mask-x-from": I()
|
|
3003
3000
|
}],
|
|
3004
3001
|
"mask-image-x-to-color": [{
|
|
3005
|
-
"mask-x-to":
|
|
3002
|
+
"mask-x-to": I()
|
|
3006
3003
|
}],
|
|
3007
3004
|
"mask-image-y-from-pos": [{
|
|
3008
|
-
"mask-y-from":
|
|
3005
|
+
"mask-y-from": j()
|
|
3009
3006
|
}],
|
|
3010
3007
|
"mask-image-y-to-pos": [{
|
|
3011
|
-
"mask-y-to":
|
|
3008
|
+
"mask-y-to": j()
|
|
3012
3009
|
}],
|
|
3013
3010
|
"mask-image-y-from-color": [{
|
|
3014
|
-
"mask-y-from":
|
|
3011
|
+
"mask-y-from": I()
|
|
3015
3012
|
}],
|
|
3016
3013
|
"mask-image-y-to-color": [{
|
|
3017
|
-
"mask-y-to":
|
|
3014
|
+
"mask-y-to": I()
|
|
3018
3015
|
}],
|
|
3019
3016
|
"mask-image-radial": [{
|
|
3020
3017
|
"mask-radial": [S, A]
|
|
3021
3018
|
}],
|
|
3022
3019
|
"mask-image-radial-from-pos": [{
|
|
3023
|
-
"mask-radial-from":
|
|
3020
|
+
"mask-radial-from": j()
|
|
3024
3021
|
}],
|
|
3025
3022
|
"mask-image-radial-to-pos": [{
|
|
3026
|
-
"mask-radial-to":
|
|
3023
|
+
"mask-radial-to": j()
|
|
3027
3024
|
}],
|
|
3028
3025
|
"mask-image-radial-from-color": [{
|
|
3029
|
-
"mask-radial-from":
|
|
3026
|
+
"mask-radial-from": I()
|
|
3030
3027
|
}],
|
|
3031
3028
|
"mask-image-radial-to-color": [{
|
|
3032
|
-
"mask-radial-to":
|
|
3029
|
+
"mask-radial-to": I()
|
|
3033
3030
|
}],
|
|
3034
3031
|
"mask-image-radial-shape": [{
|
|
3035
3032
|
"mask-radial": ["circle", "ellipse"]
|
|
@@ -3044,19 +3041,19 @@ const Bs = /* @__PURE__ */ se({
|
|
|
3044
3041
|
"mask-radial-at": w()
|
|
3045
3042
|
}],
|
|
3046
3043
|
"mask-image-conic-pos": [{
|
|
3047
|
-
"mask-conic": [
|
|
3044
|
+
"mask-conic": [L]
|
|
3048
3045
|
}],
|
|
3049
3046
|
"mask-image-conic-from-pos": [{
|
|
3050
|
-
"mask-conic-from":
|
|
3047
|
+
"mask-conic-from": j()
|
|
3051
3048
|
}],
|
|
3052
3049
|
"mask-image-conic-to-pos": [{
|
|
3053
|
-
"mask-conic-to":
|
|
3050
|
+
"mask-conic-to": j()
|
|
3054
3051
|
}],
|
|
3055
3052
|
"mask-image-conic-from-color": [{
|
|
3056
|
-
"mask-conic-from":
|
|
3053
|
+
"mask-conic-from": I()
|
|
3057
3054
|
}],
|
|
3058
3055
|
"mask-image-conic-to-color": [{
|
|
3059
|
-
"mask-conic-to":
|
|
3056
|
+
"mask-conic-to": I()
|
|
3060
3057
|
}],
|
|
3061
3058
|
/**
|
|
3062
3059
|
* Mask Mode
|
|
@@ -3077,7 +3074,7 @@ const Bs = /* @__PURE__ */ se({
|
|
|
3077
3074
|
* @see https://tailwindcss.com/docs/mask-position
|
|
3078
3075
|
*/
|
|
3079
3076
|
"mask-position": [{
|
|
3080
|
-
mask:
|
|
3077
|
+
mask: Mt()
|
|
3081
3078
|
}],
|
|
3082
3079
|
/**
|
|
3083
3080
|
* Mask Repeat
|
|
@@ -3135,14 +3132,14 @@ const Bs = /* @__PURE__ */ se({
|
|
|
3135
3132
|
* @see https://tailwindcss.com/docs/brightness
|
|
3136
3133
|
*/
|
|
3137
3134
|
brightness: [{
|
|
3138
|
-
brightness: [
|
|
3135
|
+
brightness: [L, S, A]
|
|
3139
3136
|
}],
|
|
3140
3137
|
/**
|
|
3141
3138
|
* Contrast
|
|
3142
3139
|
* @see https://tailwindcss.com/docs/contrast
|
|
3143
3140
|
*/
|
|
3144
3141
|
contrast: [{
|
|
3145
|
-
contrast: [
|
|
3142
|
+
contrast: [L, S, A]
|
|
3146
3143
|
}],
|
|
3147
3144
|
/**
|
|
3148
3145
|
* Drop Shadow
|
|
@@ -3154,8 +3151,8 @@ const Bs = /* @__PURE__ */ se({
|
|
|
3154
3151
|
"",
|
|
3155
3152
|
"none",
|
|
3156
3153
|
k,
|
|
3157
|
-
|
|
3158
|
-
|
|
3154
|
+
Bt,
|
|
3155
|
+
Nt
|
|
3159
3156
|
]
|
|
3160
3157
|
}],
|
|
3161
3158
|
/**
|
|
@@ -3163,42 +3160,42 @@ const Bs = /* @__PURE__ */ se({
|
|
|
3163
3160
|
* @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
|
|
3164
3161
|
*/
|
|
3165
3162
|
"drop-shadow-color": [{
|
|
3166
|
-
"drop-shadow":
|
|
3163
|
+
"drop-shadow": I()
|
|
3167
3164
|
}],
|
|
3168
3165
|
/**
|
|
3169
3166
|
* Grayscale
|
|
3170
3167
|
* @see https://tailwindcss.com/docs/grayscale
|
|
3171
3168
|
*/
|
|
3172
3169
|
grayscale: [{
|
|
3173
|
-
grayscale: ["",
|
|
3170
|
+
grayscale: ["", L, S, A]
|
|
3174
3171
|
}],
|
|
3175
3172
|
/**
|
|
3176
3173
|
* Hue Rotate
|
|
3177
3174
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
3178
3175
|
*/
|
|
3179
3176
|
"hue-rotate": [{
|
|
3180
|
-
"hue-rotate": [
|
|
3177
|
+
"hue-rotate": [L, S, A]
|
|
3181
3178
|
}],
|
|
3182
3179
|
/**
|
|
3183
3180
|
* Invert
|
|
3184
3181
|
* @see https://tailwindcss.com/docs/invert
|
|
3185
3182
|
*/
|
|
3186
3183
|
invert: [{
|
|
3187
|
-
invert: ["",
|
|
3184
|
+
invert: ["", L, S, A]
|
|
3188
3185
|
}],
|
|
3189
3186
|
/**
|
|
3190
3187
|
* Saturate
|
|
3191
3188
|
* @see https://tailwindcss.com/docs/saturate
|
|
3192
3189
|
*/
|
|
3193
3190
|
saturate: [{
|
|
3194
|
-
saturate: [
|
|
3191
|
+
saturate: [L, S, A]
|
|
3195
3192
|
}],
|
|
3196
3193
|
/**
|
|
3197
3194
|
* Sepia
|
|
3198
3195
|
* @see https://tailwindcss.com/docs/sepia
|
|
3199
3196
|
*/
|
|
3200
3197
|
sepia: [{
|
|
3201
|
-
sepia: ["",
|
|
3198
|
+
sepia: ["", L, S, A]
|
|
3202
3199
|
}],
|
|
3203
3200
|
/**
|
|
3204
3201
|
* Backdrop Filter
|
|
@@ -3225,56 +3222,56 @@ const Bs = /* @__PURE__ */ se({
|
|
|
3225
3222
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
3226
3223
|
*/
|
|
3227
3224
|
"backdrop-brightness": [{
|
|
3228
|
-
"backdrop-brightness": [
|
|
3225
|
+
"backdrop-brightness": [L, S, A]
|
|
3229
3226
|
}],
|
|
3230
3227
|
/**
|
|
3231
3228
|
* Backdrop Contrast
|
|
3232
3229
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
3233
3230
|
*/
|
|
3234
3231
|
"backdrop-contrast": [{
|
|
3235
|
-
"backdrop-contrast": [
|
|
3232
|
+
"backdrop-contrast": [L, S, A]
|
|
3236
3233
|
}],
|
|
3237
3234
|
/**
|
|
3238
3235
|
* Backdrop Grayscale
|
|
3239
3236
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
3240
3237
|
*/
|
|
3241
3238
|
"backdrop-grayscale": [{
|
|
3242
|
-
"backdrop-grayscale": ["",
|
|
3239
|
+
"backdrop-grayscale": ["", L, S, A]
|
|
3243
3240
|
}],
|
|
3244
3241
|
/**
|
|
3245
3242
|
* Backdrop Hue Rotate
|
|
3246
3243
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
3247
3244
|
*/
|
|
3248
3245
|
"backdrop-hue-rotate": [{
|
|
3249
|
-
"backdrop-hue-rotate": [
|
|
3246
|
+
"backdrop-hue-rotate": [L, S, A]
|
|
3250
3247
|
}],
|
|
3251
3248
|
/**
|
|
3252
3249
|
* Backdrop Invert
|
|
3253
3250
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
3254
3251
|
*/
|
|
3255
3252
|
"backdrop-invert": [{
|
|
3256
|
-
"backdrop-invert": ["",
|
|
3253
|
+
"backdrop-invert": ["", L, S, A]
|
|
3257
3254
|
}],
|
|
3258
3255
|
/**
|
|
3259
3256
|
* Backdrop Opacity
|
|
3260
3257
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
3261
3258
|
*/
|
|
3262
3259
|
"backdrop-opacity": [{
|
|
3263
|
-
"backdrop-opacity": [
|
|
3260
|
+
"backdrop-opacity": [L, S, A]
|
|
3264
3261
|
}],
|
|
3265
3262
|
/**
|
|
3266
3263
|
* Backdrop Saturate
|
|
3267
3264
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
3268
3265
|
*/
|
|
3269
3266
|
"backdrop-saturate": [{
|
|
3270
|
-
"backdrop-saturate": [
|
|
3267
|
+
"backdrop-saturate": [L, S, A]
|
|
3271
3268
|
}],
|
|
3272
3269
|
/**
|
|
3273
3270
|
* Backdrop Sepia
|
|
3274
3271
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
3275
3272
|
*/
|
|
3276
3273
|
"backdrop-sepia": [{
|
|
3277
|
-
"backdrop-sepia": ["",
|
|
3274
|
+
"backdrop-sepia": ["", L, S, A]
|
|
3278
3275
|
}],
|
|
3279
3276
|
// --------------
|
|
3280
3277
|
// --- Tables ---
|
|
@@ -3343,7 +3340,7 @@ const Bs = /* @__PURE__ */ se({
|
|
|
3343
3340
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
3344
3341
|
*/
|
|
3345
3342
|
duration: [{
|
|
3346
|
-
duration: [
|
|
3343
|
+
duration: [L, "initial", S, A]
|
|
3347
3344
|
}],
|
|
3348
3345
|
/**
|
|
3349
3346
|
* Transition Timing Function
|
|
@@ -3357,7 +3354,7 @@ const Bs = /* @__PURE__ */ se({
|
|
|
3357
3354
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
3358
3355
|
*/
|
|
3359
3356
|
delay: [{
|
|
3360
|
-
delay: [
|
|
3357
|
+
delay: [L, S, A]
|
|
3361
3358
|
}],
|
|
3362
3359
|
/**
|
|
3363
3360
|
* Animation
|
|
@@ -3423,28 +3420,28 @@ const Bs = /* @__PURE__ */ se({
|
|
|
3423
3420
|
* @see https://tailwindcss.com/docs/scale
|
|
3424
3421
|
*/
|
|
3425
3422
|
scale: [{
|
|
3426
|
-
scale:
|
|
3423
|
+
scale: De()
|
|
3427
3424
|
}],
|
|
3428
3425
|
/**
|
|
3429
3426
|
* Scale X
|
|
3430
3427
|
* @see https://tailwindcss.com/docs/scale
|
|
3431
3428
|
*/
|
|
3432
3429
|
"scale-x": [{
|
|
3433
|
-
"scale-x":
|
|
3430
|
+
"scale-x": De()
|
|
3434
3431
|
}],
|
|
3435
3432
|
/**
|
|
3436
3433
|
* Scale Y
|
|
3437
3434
|
* @see https://tailwindcss.com/docs/scale
|
|
3438
3435
|
*/
|
|
3439
3436
|
"scale-y": [{
|
|
3440
|
-
"scale-y":
|
|
3437
|
+
"scale-y": De()
|
|
3441
3438
|
}],
|
|
3442
3439
|
/**
|
|
3443
3440
|
* Scale Z
|
|
3444
3441
|
* @see https://tailwindcss.com/docs/scale
|
|
3445
3442
|
*/
|
|
3446
3443
|
"scale-z": [{
|
|
3447
|
-
"scale-z":
|
|
3444
|
+
"scale-z": De()
|
|
3448
3445
|
}],
|
|
3449
3446
|
/**
|
|
3450
3447
|
* Scale 3D
|
|
@@ -3498,28 +3495,28 @@ const Bs = /* @__PURE__ */ se({
|
|
|
3498
3495
|
* @see https://tailwindcss.com/docs/translate
|
|
3499
3496
|
*/
|
|
3500
3497
|
translate: [{
|
|
3501
|
-
translate:
|
|
3498
|
+
translate: Ve()
|
|
3502
3499
|
}],
|
|
3503
3500
|
/**
|
|
3504
3501
|
* Translate X
|
|
3505
3502
|
* @see https://tailwindcss.com/docs/translate
|
|
3506
3503
|
*/
|
|
3507
3504
|
"translate-x": [{
|
|
3508
|
-
"translate-x":
|
|
3505
|
+
"translate-x": Ve()
|
|
3509
3506
|
}],
|
|
3510
3507
|
/**
|
|
3511
3508
|
* Translate Y
|
|
3512
3509
|
* @see https://tailwindcss.com/docs/translate
|
|
3513
3510
|
*/
|
|
3514
3511
|
"translate-y": [{
|
|
3515
|
-
"translate-y":
|
|
3512
|
+
"translate-y": Ve()
|
|
3516
3513
|
}],
|
|
3517
3514
|
/**
|
|
3518
3515
|
* Translate Z
|
|
3519
3516
|
* @see https://tailwindcss.com/docs/translate
|
|
3520
3517
|
*/
|
|
3521
3518
|
"translate-z": [{
|
|
3522
|
-
"translate-z":
|
|
3519
|
+
"translate-z": Ve()
|
|
3523
3520
|
}],
|
|
3524
3521
|
/**
|
|
3525
3522
|
* Translate None
|
|
@@ -3534,7 +3531,7 @@ const Bs = /* @__PURE__ */ se({
|
|
|
3534
3531
|
* @see https://tailwindcss.com/docs/accent-color
|
|
3535
3532
|
*/
|
|
3536
3533
|
accent: [{
|
|
3537
|
-
accent:
|
|
3534
|
+
accent: I()
|
|
3538
3535
|
}],
|
|
3539
3536
|
/**
|
|
3540
3537
|
* Appearance
|
|
@@ -3548,7 +3545,7 @@ const Bs = /* @__PURE__ */ se({
|
|
|
3548
3545
|
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
3549
3546
|
*/
|
|
3550
3547
|
"caret-color": [{
|
|
3551
|
-
caret:
|
|
3548
|
+
caret: I()
|
|
3552
3549
|
}],
|
|
3553
3550
|
/**
|
|
3554
3551
|
* Color Scheme
|
|
@@ -3794,21 +3791,21 @@ const Bs = /* @__PURE__ */ se({
|
|
|
3794
3791
|
* @see https://tailwindcss.com/docs/fill
|
|
3795
3792
|
*/
|
|
3796
3793
|
fill: [{
|
|
3797
|
-
fill: ["none", ...
|
|
3794
|
+
fill: ["none", ...I()]
|
|
3798
3795
|
}],
|
|
3799
3796
|
/**
|
|
3800
3797
|
* Stroke Width
|
|
3801
3798
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
3802
3799
|
*/
|
|
3803
3800
|
"stroke-w": [{
|
|
3804
|
-
stroke: [
|
|
3801
|
+
stroke: [L, mt, We, gn]
|
|
3805
3802
|
}],
|
|
3806
3803
|
/**
|
|
3807
3804
|
* Stroke
|
|
3808
3805
|
* @see https://tailwindcss.com/docs/stroke
|
|
3809
3806
|
*/
|
|
3810
3807
|
stroke: [{
|
|
3811
|
-
stroke: ["none", ...
|
|
3808
|
+
stroke: ["none", ...I()]
|
|
3812
3809
|
}],
|
|
3813
3810
|
// ---------------------
|
|
3814
3811
|
// --- Accessibility ---
|
|
@@ -3876,7 +3873,7 @@ const Bs = /* @__PURE__ */ se({
|
|
|
3876
3873
|
},
|
|
3877
3874
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
3878
3875
|
};
|
|
3879
|
-
}, "getDefaultConfig"), Wo = /* @__PURE__ */ So(
|
|
3876
|
+
}, "getDefaultConfig"), Wo = /* @__PURE__ */ So(jo), mn = {
|
|
3880
3877
|
default: {
|
|
3881
3878
|
solid: {
|
|
3882
3879
|
base: "bg-theme-0 dark:bg-theme-700/40 text-theme-600 dark:text-theme-50",
|
|
@@ -4226,7 +4223,7 @@ const Bs = /* @__PURE__ */ se({
|
|
|
4226
4223
|
}, {
|
|
4227
4224
|
default: Se(() => [
|
|
4228
4225
|
n.loading ? (b(), v("div", qo, [
|
|
4229
|
-
|
|
4226
|
+
J(Er, {
|
|
4230
4227
|
class: _(s.value)
|
|
4231
4228
|
}, null, 8, ["class"])
|
|
4232
4229
|
])) : $("", !0),
|
|
@@ -4247,7 +4244,7 @@ const Bs = /* @__PURE__ */ se({
|
|
|
4247
4244
|
_: 3
|
|
4248
4245
|
}, 8, ["href", "disabled", "aria-disabled", "class"]));
|
|
4249
4246
|
}
|
|
4250
|
-
}),
|
|
4247
|
+
}), Yo = { class: "flex-1 flex flex-col min-h-0 py-6 space-y-6 h-full overflow-scroll [scrollbar-width:none] [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden relative" }, Zo = { class: "flex-1 space-y-6 pb-12" }, Xo = {
|
|
4251
4248
|
key: 0,
|
|
4252
4249
|
class: "text-sm bg-white/10 backdrop-blur-sm rounded-2xl p-4 border border-white/20 space-y-3"
|
|
4253
4250
|
}, Ko = ["innerHTML"], Qo = {
|
|
@@ -4265,9 +4262,9 @@ const Bs = /* @__PURE__ */ se({
|
|
|
4265
4262
|
agent: {}
|
|
4266
4263
|
},
|
|
4267
4264
|
setup(n) {
|
|
4268
|
-
return (t, e) => (b(), v("div",
|
|
4269
|
-
|
|
4270
|
-
p("div",
|
|
4265
|
+
return (t, e) => (b(), v("div", Yo, [
|
|
4266
|
+
J(Cr, { agent: n.agent }, null, 8, ["agent"]),
|
|
4267
|
+
p("div", Zo, [
|
|
4271
4268
|
n.agent.summary ? (b(), v("div", Xo, [
|
|
4272
4269
|
e[0] || (e[0] = p("h3", { class: "font-medium text-white/50" }, " About ", -1)),
|
|
4273
4270
|
p("div", {
|
|
@@ -4277,11 +4274,11 @@ const Bs = /* @__PURE__ */ se({
|
|
|
4277
4274
|
])) : $("", !0),
|
|
4278
4275
|
n.agent.entityType === "company" ? (b(), v("div", Qo, [
|
|
4279
4276
|
e[1] || (e[1] = p("h3", { class: "text-sm font-medium text-white/90 mb-2" }, " Company Info ", -1)),
|
|
4280
|
-
p("p", Jo, " This is a company agent representing " +
|
|
4277
|
+
p("p", Jo, " This is a company agent representing " + Z(n.agent.name) + ". ", 1)
|
|
4281
4278
|
])) : $("", !0),
|
|
4282
4279
|
n.agent.email ? (b(), v("div", ea, [
|
|
4283
4280
|
e[3] || (e[3] = p("h3", { class: "text-sm font-medium text-white/90" }, " Contact ", -1)),
|
|
4284
|
-
|
|
4281
|
+
J(bn, {
|
|
4285
4282
|
design: "ghost",
|
|
4286
4283
|
theme: "default",
|
|
4287
4284
|
size: "sm",
|
|
@@ -4299,18 +4296,18 @@ const Bs = /* @__PURE__ */ se({
|
|
|
4299
4296
|
n.agent.accounts && n.agent.accounts.length > 0 ? (b(), v("div", ta, [
|
|
4300
4297
|
e[4] || (e[4] = p("h3", { class: "text-sm font-medium text-white/90" }, " Links ", -1)),
|
|
4301
4298
|
p("div", ra, [
|
|
4302
|
-
(b(!0), v(Ae, null,
|
|
4299
|
+
(b(!0), v(Ae, null, Ct(n.agent.accounts, (r) => (b(), me(bn, {
|
|
4303
4300
|
key: `${r.platform}-${r.handle}`,
|
|
4304
4301
|
design: "ghost",
|
|
4305
4302
|
theme: "default",
|
|
4306
4303
|
size: "md",
|
|
4307
4304
|
class: "bg-white/10 hover:bg-white/20 border border-white/20 text-white/80",
|
|
4308
|
-
icon:
|
|
4309
|
-
href:
|
|
4305
|
+
icon: ne(it)[r.platform].icon,
|
|
4306
|
+
href: ne(it)[r.platform].getUrl(r.handle),
|
|
4310
4307
|
target: "_blank"
|
|
4311
4308
|
}, {
|
|
4312
4309
|
default: Se(() => [
|
|
4313
|
-
Tt(
|
|
4310
|
+
Tt(Z(ne(it)[r.platform].label), 1)
|
|
4314
4311
|
]),
|
|
4315
4312
|
_: 2
|
|
4316
4313
|
}, 1032, ["icon", "href"]))), 128))
|
|
@@ -4351,7 +4348,7 @@ Sr || (Sr = /* @__PURE__ */ i(function(t) {
|
|
|
4351
4348
|
r[s - 1] = arguments[s];
|
|
4352
4349
|
return new t(...r);
|
|
4353
4350
|
}, "construct"));
|
|
4354
|
-
const
|
|
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);
|
|
4355
4352
|
function de(n) {
|
|
4356
4353
|
return function(t) {
|
|
4357
4354
|
t instanceof RegExp && (t.lastIndex = 0);
|
|
@@ -4369,8 +4366,8 @@ function da(n) {
|
|
|
4369
4366
|
};
|
|
4370
4367
|
}
|
|
4371
4368
|
i(da, "unconstruct");
|
|
4372
|
-
function
|
|
4373
|
-
let e = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] :
|
|
4369
|
+
function D(n, t) {
|
|
4370
|
+
let e = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Gt;
|
|
4374
4371
|
kn && kn(n, null);
|
|
4375
4372
|
let r = t.length;
|
|
4376
4373
|
for (; r--; ) {
|
|
@@ -4383,7 +4380,7 @@ function L(n, t) {
|
|
|
4383
4380
|
}
|
|
4384
4381
|
return n;
|
|
4385
4382
|
}
|
|
4386
|
-
i(
|
|
4383
|
+
i(D, "addToSet");
|
|
4387
4384
|
function ha(n) {
|
|
4388
4385
|
for (let t = 0; t < n.length; t++)
|
|
4389
4386
|
fe(n, t) || (n[t] = null);
|
|
@@ -4414,7 +4411,7 @@ function vt(n, t) {
|
|
|
4414
4411
|
return i(e, "fallbackValue"), e;
|
|
4415
4412
|
}
|
|
4416
4413
|
i(vt, "lookupGetter");
|
|
4417
|
-
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"]),
|
|
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(
|
|
4418
4415
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
4419
4416
|
// eslint-disable-line no-useless-escape
|
|
4420
4417
|
), va = ge(/^(?:\w+script|data):/i), ya = ge(
|
|
@@ -4501,13 +4498,13 @@ function rs() {
|
|
|
4501
4498
|
let w, B = "";
|
|
4502
4499
|
const {
|
|
4503
4500
|
implementation: H,
|
|
4504
|
-
createNodeIterator:
|
|
4501
|
+
createNodeIterator: ee,
|
|
4505
4502
|
createDocumentFragment: z,
|
|
4506
4503
|
getElementsByTagName: ie
|
|
4507
4504
|
} = e, {
|
|
4508
|
-
importNode:
|
|
4505
|
+
importNode: It
|
|
4509
4506
|
} = r;
|
|
4510
|
-
let
|
|
4507
|
+
let te = Tn();
|
|
4511
4508
|
t.isSupported = typeof Jn == "function" && typeof x == "function" && H && H.createHTMLDocument !== void 0;
|
|
4512
4509
|
const {
|
|
4513
4510
|
MUSTACHE_EXPR: _e,
|
|
@@ -4516,16 +4513,16 @@ function rs() {
|
|
|
4516
4513
|
DATA_ATTR: ze,
|
|
4517
4514
|
ARIA_ATTR: pe,
|
|
4518
4515
|
IS_SCRIPT_OR_DATA: Te,
|
|
4519
|
-
ATTR_WHITESPACE:
|
|
4520
|
-
CUSTOM_ELEMENT:
|
|
4516
|
+
ATTR_WHITESPACE: I,
|
|
4517
|
+
CUSTOM_ELEMENT: Mt
|
|
4521
4518
|
} = Sn;
|
|
4522
4519
|
let {
|
|
4523
4520
|
IS_ALLOWED_URI: gt
|
|
4524
4521
|
} = Sn, q = null;
|
|
4525
|
-
const Qe =
|
|
4522
|
+
const Qe = D({}, [...vn, ...gr, ...pr, ...fr, ...yn]);
|
|
4526
4523
|
let P = null;
|
|
4527
|
-
const oe =
|
|
4528
|
-
let
|
|
4524
|
+
const oe = D({}, [...wn, ...mr, ...An, ...Ft]);
|
|
4525
|
+
let V = Object.seal(wr(null, {
|
|
4529
4526
|
tagNameCheck: {
|
|
4530
4527
|
writable: !0,
|
|
4531
4528
|
configurable: !1,
|
|
@@ -4544,7 +4541,7 @@ function rs() {
|
|
|
4544
4541
|
enumerable: !0,
|
|
4545
4542
|
value: !1
|
|
4546
4543
|
}
|
|
4547
|
-
})),
|
|
4544
|
+
})), Le = null, j = null;
|
|
4548
4545
|
const Ee = Object.seal(wr(null, {
|
|
4549
4546
|
tagCheck: {
|
|
4550
4547
|
writable: !0,
|
|
@@ -4559,18 +4556,18 @@ function rs() {
|
|
|
4559
4556
|
value: null
|
|
4560
4557
|
}
|
|
4561
4558
|
}));
|
|
4562
|
-
let He = !0,
|
|
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;
|
|
4563
4560
|
const ms = "user-content-";
|
|
4564
4561
|
let tr = !0, pt = !1, rt = {}, xe = null;
|
|
4565
|
-
const rr =
|
|
4566
|
-
let
|
|
4567
|
-
const
|
|
4562
|
+
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
|
+
let Vr = null;
|
|
4564
|
+
const Gr = D({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
4568
4565
|
let nr = null;
|
|
4569
|
-
const
|
|
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";
|
|
4570
4567
|
let nt = Ce, sr = !1, or = null;
|
|
4571
|
-
const bs =
|
|
4572
|
-
let
|
|
4573
|
-
const ks =
|
|
4568
|
+
const bs = D({}, [Dt, $t, Ce], dr);
|
|
4569
|
+
let Ot = D({}, ["mi", "mo", "mn", "ms", "mtext"]), Pt = D({}, ["annotation-xml"]);
|
|
4570
|
+
const ks = D({}, ["title", "style", "font", "a", "script"]);
|
|
4574
4571
|
let ft = null;
|
|
4575
4572
|
const xs = ["application/xhtml+xml", "text/html"], vs = "text/html";
|
|
4576
4573
|
let K = null, st = null;
|
|
@@ -4580,7 +4577,7 @@ function rs() {
|
|
|
4580
4577
|
let u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
4581
4578
|
if (!(st && st === u)) {
|
|
4582
4579
|
if ((!u || typeof u != "object") && (u = {}), u = ye(u), ft = // eslint-disable-next-line unicorn/prefer-includes
|
|
4583
|
-
xs.indexOf(u.PARSER_MEDIA_TYPE) === -1 ? vs : u.PARSER_MEDIA_TYPE, K = ft === "application/xhtml+xml" ? dr :
|
|
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) {
|
|
4584
4581
|
if (typeof u.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
4585
4582
|
throw xt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
4586
4583
|
if (typeof u.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -4590,14 +4587,14 @@ function rs() {
|
|
|
4590
4587
|
w === void 0 && (w = Sa(k, s)), w !== null && typeof B == "string" && (B = w.createHTML(""));
|
|
4591
4588
|
ue && ue(u), st = u;
|
|
4592
4589
|
}
|
|
4593
|
-
}, "_parseConfig"), qr =
|
|
4590
|
+
}, "_parseConfig"), qr = D({}, [...gr, ...pr, ...ga]), Yr = D({}, [...fr, ...pa]), ws = /* @__PURE__ */ i(function(u) {
|
|
4594
4591
|
let m = x(u);
|
|
4595
4592
|
(!m || !m.tagName) && (m = {
|
|
4596
4593
|
namespaceURI: nt,
|
|
4597
4594
|
tagName: "template"
|
|
4598
4595
|
});
|
|
4599
|
-
const T =
|
|
4600
|
-
return or[u.namespaceURI] ? u.namespaceURI ===
|
|
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;
|
|
4601
4598
|
}, "_checkValidNamespace"), ve = /* @__PURE__ */ i(function(u) {
|
|
4602
4599
|
bt(t.removed, {
|
|
4603
4600
|
element: u
|
|
@@ -4607,7 +4604,7 @@ function rs() {
|
|
|
4607
4604
|
} catch {
|
|
4608
4605
|
N(u);
|
|
4609
4606
|
}
|
|
4610
|
-
}, "_forceRemove"),
|
|
4607
|
+
}, "_forceRemove"), je = /* @__PURE__ */ i(function(u, m) {
|
|
4611
4608
|
try {
|
|
4612
4609
|
bt(t.removed, {
|
|
4613
4610
|
attribute: m.getAttributeNode(u),
|
|
@@ -4620,7 +4617,7 @@ function rs() {
|
|
|
4620
4617
|
});
|
|
4621
4618
|
}
|
|
4622
4619
|
if (m.removeAttribute(u), u === "is")
|
|
4623
|
-
if (tt ||
|
|
4620
|
+
if (tt || zt)
|
|
4624
4621
|
try {
|
|
4625
4622
|
ve(m);
|
|
4626
4623
|
} catch {
|
|
@@ -4630,32 +4627,32 @@ function rs() {
|
|
|
4630
4627
|
m.setAttribute(u, "");
|
|
4631
4628
|
} catch {
|
|
4632
4629
|
}
|
|
4633
|
-
}, "_removeAttribute"),
|
|
4630
|
+
}, "_removeAttribute"), Zr = /* @__PURE__ */ i(function(u) {
|
|
4634
4631
|
let m = null, T = null;
|
|
4635
4632
|
if (er)
|
|
4636
4633
|
u = "<remove></remove>" + u;
|
|
4637
4634
|
else {
|
|
4638
|
-
const
|
|
4639
|
-
T =
|
|
4635
|
+
const Y = hr(u, /^[\r\n\t ]+/);
|
|
4636
|
+
T = Y && Y[0];
|
|
4640
4637
|
}
|
|
4641
4638
|
ft === "application/xhtml+xml" && nt === Ce && (u = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + u + "</body></html>");
|
|
4642
|
-
const
|
|
4639
|
+
const G = w ? w.createHTML(u) : u;
|
|
4643
4640
|
if (nt === Ce)
|
|
4644
4641
|
try {
|
|
4645
|
-
m = new f().parseFromString(
|
|
4642
|
+
m = new f().parseFromString(G, ft);
|
|
4646
4643
|
} catch {
|
|
4647
4644
|
}
|
|
4648
4645
|
if (!m || !m.documentElement) {
|
|
4649
4646
|
m = H.createDocument(nt, "template", null);
|
|
4650
4647
|
try {
|
|
4651
|
-
m.documentElement.innerHTML = sr ? B :
|
|
4648
|
+
m.documentElement.innerHTML = sr ? B : G;
|
|
4652
4649
|
} catch {
|
|
4653
4650
|
}
|
|
4654
4651
|
}
|
|
4655
4652
|
const ae = m.body || m.documentElement;
|
|
4656
|
-
return u && T && ae.insertBefore(e.createTextNode(T), ae.childNodes[0] || null), nt === Ce ? ie.call(m,
|
|
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;
|
|
4657
4654
|
}, "_initDocument"), Xr = /* @__PURE__ */ i(function(u) {
|
|
4658
|
-
return
|
|
4655
|
+
return ee.call(
|
|
4659
4656
|
u.ownerDocument || u,
|
|
4660
4657
|
u,
|
|
4661
4658
|
// eslint-disable-next-line no-bitwise
|
|
@@ -4667,61 +4664,61 @@ function rs() {
|
|
|
4667
4664
|
}, "_isClobbered"), Kr = /* @__PURE__ */ i(function(u) {
|
|
4668
4665
|
return typeof l == "function" && u instanceof l;
|
|
4669
4666
|
}, "_isNode");
|
|
4670
|
-
function
|
|
4671
|
-
|
|
4667
|
+
function Re(C, u, m) {
|
|
4668
|
+
Ut(C, (T) => {
|
|
4672
4669
|
T.call(t, u, m, st);
|
|
4673
4670
|
});
|
|
4674
4671
|
}
|
|
4675
|
-
i(
|
|
4672
|
+
i(Re, "_executeHooks");
|
|
4676
4673
|
const Qr = /* @__PURE__ */ i(function(u) {
|
|
4677
4674
|
let m = null;
|
|
4678
|
-
if (
|
|
4675
|
+
if (Re(te.beforeSanitizeElements, u, null), ir(u))
|
|
4679
4676
|
return ve(u), !0;
|
|
4680
4677
|
const T = K(u.nodeName);
|
|
4681
|
-
if (
|
|
4678
|
+
if (Re(te.uponSanitizeElement, u, {
|
|
4682
4679
|
tagName: T,
|
|
4683
4680
|
allowedTags: q
|
|
4684
|
-
}),
|
|
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))
|
|
4685
4682
|
return ve(u), !0;
|
|
4686
|
-
if (!(Ee.tagCheck instanceof Function && Ee.tagCheck(T)) && (!q[T] ||
|
|
4687
|
-
if (!
|
|
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)))
|
|
4688
4685
|
return !1;
|
|
4689
4686
|
if (tr && !xe[T]) {
|
|
4690
|
-
const
|
|
4691
|
-
if (ae &&
|
|
4692
|
-
const
|
|
4693
|
-
for (let he =
|
|
4694
|
-
const
|
|
4695
|
-
|
|
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));
|
|
4696
4693
|
}
|
|
4697
4694
|
}
|
|
4698
4695
|
}
|
|
4699
4696
|
return ve(u), !0;
|
|
4700
4697
|
}
|
|
4701
|
-
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,
|
|
4702
|
-
m = kt(m,
|
|
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, " ");
|
|
4703
4700
|
}), u.textContent !== m && (bt(t.removed, {
|
|
4704
4701
|
element: u.cloneNode()
|
|
4705
|
-
}), u.textContent = m)),
|
|
4702
|
+
}), u.textContent = m)), Re(te.afterSanitizeElements, u, null), !1);
|
|
4706
4703
|
}, "_sanitizeElements"), Jr = /* @__PURE__ */ i(function(u, m, T) {
|
|
4707
4704
|
if (Fr && (m === "id" || m === "name") && (T in e || T in ys))
|
|
4708
4705
|
return !1;
|
|
4709
|
-
if (!(
|
|
4706
|
+
if (!(De && !j[m] && le(ze, m))) {
|
|
4710
4707
|
if (!(He && le(pe, m))) {
|
|
4711
4708
|
if (!(Ee.attributeCheck instanceof Function && Ee.attributeCheck(m, u))) {
|
|
4712
|
-
if (!P[m] ||
|
|
4709
|
+
if (!P[m] || j[m]) {
|
|
4713
4710
|
if (
|
|
4714
4711
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
4715
4712
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
4716
4713
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
4717
|
-
!(en(u) && (
|
|
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
|
|
4718
4715
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
4719
|
-
m === "is" &&
|
|
4716
|
+
m === "is" && V.allowCustomizedBuiltInElements && (V.tagNameCheck instanceof RegExp && le(V.tagNameCheck, T) || V.tagNameCheck instanceof Function && V.tagNameCheck(T)))
|
|
4720
4717
|
) return !1;
|
|
4721
4718
|
} else if (!nr[m]) {
|
|
4722
|
-
if (!le(gt, kt(T,
|
|
4723
|
-
if (!((m === "src" || m === "xlink:href" || m === "href") && u !== "script" && ca(T, "data:") === 0 &&
|
|
4724
|
-
if (!(Je && !le(Te, kt(T,
|
|
4719
|
+
if (!le(gt, kt(T, I, ""))) {
|
|
4720
|
+
if (!((m === "src" || m === "xlink:href" || m === "href") && u !== "script" && ca(T, "data:") === 0 && Vr[u])) {
|
|
4721
|
+
if (!(Je && !le(Te, kt(T, I, "")))) {
|
|
4725
4722
|
if (T)
|
|
4726
4723
|
return !1;
|
|
4727
4724
|
}
|
|
@@ -4733,9 +4730,9 @@ function rs() {
|
|
|
4733
4730
|
}
|
|
4734
4731
|
return !0;
|
|
4735
4732
|
}, "_isValidAttribute"), en = /* @__PURE__ */ i(function(u) {
|
|
4736
|
-
return u !== "annotation-xml" && hr(u,
|
|
4733
|
+
return u !== "annotation-xml" && hr(u, Mt);
|
|
4737
4734
|
}, "_isBasicCustomElement"), tn = /* @__PURE__ */ i(function(u) {
|
|
4738
|
-
|
|
4735
|
+
Re(te.beforeSanitizeAttributes, u, null);
|
|
4739
4736
|
const {
|
|
4740
4737
|
attributes: m
|
|
4741
4738
|
} = u;
|
|
@@ -4748,68 +4745,68 @@ function rs() {
|
|
|
4748
4745
|
allowedAttributes: P,
|
|
4749
4746
|
forceKeepAttr: void 0
|
|
4750
4747
|
};
|
|
4751
|
-
let
|
|
4752
|
-
for (;
|
|
4753
|
-
const ae = m[
|
|
4754
|
-
name:
|
|
4748
|
+
let G = m.length;
|
|
4749
|
+
for (; G--; ) {
|
|
4750
|
+
const ae = m[G], {
|
|
4751
|
+
name: Y,
|
|
4755
4752
|
namespaceURI: he,
|
|
4756
|
-
value:
|
|
4757
|
-
} = ae, ot = K(
|
|
4758
|
-
let
|
|
4759
|
-
if (T.attrName = ot, T.attrValue =
|
|
4760
|
-
|
|
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);
|
|
4761
4758
|
continue;
|
|
4762
4759
|
}
|
|
4763
|
-
if (ot === "attributename" && hr(
|
|
4764
|
-
|
|
4760
|
+
if (ot === "attributename" && hr(re, "href")) {
|
|
4761
|
+
je(Y, u);
|
|
4765
4762
|
continue;
|
|
4766
4763
|
}
|
|
4767
4764
|
if (T.forceKeepAttr)
|
|
4768
4765
|
continue;
|
|
4769
4766
|
if (!T.keepAttr) {
|
|
4770
|
-
|
|
4767
|
+
je(Y, u);
|
|
4771
4768
|
continue;
|
|
4772
4769
|
}
|
|
4773
|
-
if (!
|
|
4774
|
-
|
|
4770
|
+
if (!Ve && le(/\/>/i, re)) {
|
|
4771
|
+
je(Y, u);
|
|
4775
4772
|
continue;
|
|
4776
4773
|
}
|
|
4777
|
-
et &&
|
|
4778
|
-
|
|
4774
|
+
et && Ut([_e, Ke, Fe], (nn) => {
|
|
4775
|
+
re = kt(re, nn, " ");
|
|
4779
4776
|
});
|
|
4780
4777
|
const rn = K(u.nodeName);
|
|
4781
|
-
if (!Jr(rn, ot,
|
|
4782
|
-
|
|
4778
|
+
if (!Jr(rn, ot, re)) {
|
|
4779
|
+
je(Y, u);
|
|
4783
4780
|
continue;
|
|
4784
4781
|
}
|
|
4785
4782
|
if (w && typeof k == "object" && typeof k.getAttributeType == "function" && !he)
|
|
4786
4783
|
switch (k.getAttributeType(rn, ot)) {
|
|
4787
4784
|
case "TrustedHTML": {
|
|
4788
|
-
|
|
4785
|
+
re = w.createHTML(re);
|
|
4789
4786
|
break;
|
|
4790
4787
|
}
|
|
4791
4788
|
case "TrustedScriptURL": {
|
|
4792
|
-
|
|
4789
|
+
re = w.createScriptURL(re);
|
|
4793
4790
|
break;
|
|
4794
4791
|
}
|
|
4795
4792
|
}
|
|
4796
|
-
if (
|
|
4793
|
+
if (re !== lr)
|
|
4797
4794
|
try {
|
|
4798
|
-
he ? u.setAttributeNS(he,
|
|
4795
|
+
he ? u.setAttributeNS(he, Y, re) : u.setAttribute(Y, re), ir(u) ? ve(u) : xn(t.removed);
|
|
4799
4796
|
} catch {
|
|
4800
|
-
|
|
4797
|
+
je(Y, u);
|
|
4801
4798
|
}
|
|
4802
4799
|
}
|
|
4803
|
-
|
|
4800
|
+
Re(te.afterSanitizeAttributes, u, null);
|
|
4804
4801
|
}, "_sanitizeAttributes"), As = /* @__PURE__ */ i(function C(u) {
|
|
4805
4802
|
let m = null;
|
|
4806
4803
|
const T = Xr(u);
|
|
4807
|
-
for (
|
|
4808
|
-
|
|
4809
|
-
|
|
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);
|
|
4810
4807
|
}, "_sanitizeShadowDOM");
|
|
4811
4808
|
return t.sanitize = function(C) {
|
|
4812
|
-
let u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, m = null, T = null,
|
|
4809
|
+
let u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, m = null, T = null, G = null, ae = null;
|
|
4813
4810
|
if (sr = !C, sr && (C = "<!-->"), typeof C != "string" && !Kr(C))
|
|
4814
4811
|
if (typeof C.toString == "function") {
|
|
4815
4812
|
if (C = C.toString(), typeof C != "string")
|
|
@@ -4820,37 +4817,37 @@ function rs() {
|
|
|
4820
4817
|
return C;
|
|
4821
4818
|
if (Jt || ar(u), t.removed = [], typeof C == "string" && (pt = !1), pt) {
|
|
4822
4819
|
if (C.nodeName) {
|
|
4823
|
-
const
|
|
4824
|
-
if (!q[
|
|
4820
|
+
const Ie = K(C.nodeName);
|
|
4821
|
+
if (!q[Ie] || Le[Ie])
|
|
4825
4822
|
throw xt("root node is forbidden and cannot be sanitized in-place");
|
|
4826
4823
|
}
|
|
4827
4824
|
} else if (C instanceof l)
|
|
4828
|
-
m =
|
|
4825
|
+
m = Zr("<!---->"), T = m.ownerDocument.importNode(C, !0), T.nodeType === yt.element && T.nodeName === "BODY" || T.nodeName === "HTML" ? m = T : m.appendChild(T);
|
|
4829
4826
|
else {
|
|
4830
|
-
if (!tt && !et && !
|
|
4827
|
+
if (!tt && !et && !Ge && // eslint-disable-next-line unicorn/prefer-includes
|
|
4831
4828
|
C.indexOf("<") === -1)
|
|
4832
4829
|
return w && Lt ? w.createHTML(C) : C;
|
|
4833
|
-
if (m =
|
|
4830
|
+
if (m = Zr(C), !m)
|
|
4834
4831
|
return tt ? null : Lt ? B : "";
|
|
4835
4832
|
}
|
|
4836
4833
|
m && er && ve(m.firstChild);
|
|
4837
|
-
const
|
|
4838
|
-
for (;
|
|
4839
|
-
Qr(
|
|
4834
|
+
const Y = Xr(pt ? C : m);
|
|
4835
|
+
for (; G = Y.nextNode(); )
|
|
4836
|
+
Qr(G), tn(G), G.content instanceof o && As(G.content);
|
|
4840
4837
|
if (pt)
|
|
4841
4838
|
return C;
|
|
4842
4839
|
if (tt) {
|
|
4843
|
-
if (
|
|
4840
|
+
if (zt)
|
|
4844
4841
|
for (ae = z.call(m.ownerDocument); m.firstChild; )
|
|
4845
4842
|
ae.appendChild(m.firstChild);
|
|
4846
4843
|
else
|
|
4847
4844
|
ae = m;
|
|
4848
|
-
return (P.shadowroot || P.shadowrootmode) && (ae =
|
|
4845
|
+
return (P.shadowroot || P.shadowrootmode) && (ae = It.call(r, ae, !0)), ae;
|
|
4849
4846
|
}
|
|
4850
|
-
let he =
|
|
4851
|
-
return
|
|
4852
|
-
` + he), et &&
|
|
4853
|
-
he = kt(he,
|
|
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, " ");
|
|
4854
4851
|
}), w && Lt ? w.createHTML(he) : he;
|
|
4855
4852
|
}, t.setConfig = function() {
|
|
4856
4853
|
let C = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
@@ -4859,20 +4856,20 @@ function rs() {
|
|
|
4859
4856
|
st = null, Jt = !1;
|
|
4860
4857
|
}, t.isValidAttribute = function(C, u, m) {
|
|
4861
4858
|
st || ar({});
|
|
4862
|
-
const T = K(C),
|
|
4863
|
-
return Jr(T,
|
|
4859
|
+
const T = K(C), G = K(u);
|
|
4860
|
+
return Jr(T, G, m);
|
|
4864
4861
|
}, t.addHook = function(C, u) {
|
|
4865
|
-
typeof u == "function" && bt(
|
|
4862
|
+
typeof u == "function" && bt(te[C], u);
|
|
4866
4863
|
}, t.removeHook = function(C, u) {
|
|
4867
4864
|
if (u !== void 0) {
|
|
4868
|
-
const m = ia(
|
|
4869
|
-
return m === -1 ? void 0 : la(
|
|
4865
|
+
const m = ia(te[C], u);
|
|
4866
|
+
return m === -1 ? void 0 : la(te[C], m, 1)[0];
|
|
4870
4867
|
}
|
|
4871
|
-
return xn(
|
|
4868
|
+
return xn(te[C]);
|
|
4872
4869
|
}, t.removeHooks = function(C) {
|
|
4873
|
-
|
|
4870
|
+
te[C] = [];
|
|
4874
4871
|
}, t.removeAllHooks = function() {
|
|
4875
|
-
|
|
4872
|
+
te = Tn();
|
|
4876
4873
|
}, t;
|
|
4877
4874
|
}
|
|
4878
4875
|
i(rs, "createDOMPurify");
|
|
@@ -4901,16 +4898,16 @@ var Ea = (() => {
|
|
|
4901
4898
|
} catch {
|
|
4902
4899
|
return !1;
|
|
4903
4900
|
}
|
|
4904
|
-
})(), 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|$))+/,
|
|
4905
|
-
]`).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,
|
|
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 = { "&": "&", "<": "<", ">": ">", '"': """, "'": "'" }, Rn = /* @__PURE__ */ i((n) => ui[n], "de");
|
|
4906
4903
|
function we(n, t) {
|
|
4907
4904
|
if (t) {
|
|
4908
|
-
if (ce.escapeTest.test(n)) return n.replace(ce.escapeReplace,
|
|
4909
|
-
} else if (ce.escapeTestNoEncode.test(n)) return n.replace(ce.escapeReplaceNoEncode,
|
|
4905
|
+
if (ce.escapeTest.test(n)) return n.replace(ce.escapeReplace, Rn);
|
|
4906
|
+
} else if (ce.escapeTestNoEncode.test(n)) return n.replace(ce.escapeReplaceNoEncode, Rn);
|
|
4910
4907
|
return n;
|
|
4911
4908
|
}
|
|
4912
4909
|
i(we, "O");
|
|
4913
|
-
function
|
|
4910
|
+
function In(n) {
|
|
4914
4911
|
try {
|
|
4915
4912
|
n = encodeURI(n).replace(ce.percentDecode, "%");
|
|
4916
4913
|
} catch {
|
|
@@ -4918,7 +4915,7 @@ function Rn(n) {
|
|
|
4918
4915
|
}
|
|
4919
4916
|
return n;
|
|
4920
4917
|
}
|
|
4921
|
-
i(
|
|
4918
|
+
i(In, "X");
|
|
4922
4919
|
function Mn(n, t) {
|
|
4923
4920
|
let e = n.replace(ce.findPipe, (o, a, l) => {
|
|
4924
4921
|
let c = !1, d = a;
|
|
@@ -4981,9 +4978,9 @@ function gi(n, t, e) {
|
|
|
4981
4978
|
i(gi, "it");
|
|
4982
4979
|
var lt, Yt = (lt = class {
|
|
4983
4980
|
constructor(t) {
|
|
4984
|
-
|
|
4985
|
-
|
|
4986
|
-
|
|
4981
|
+
R(this, "options");
|
|
4982
|
+
R(this, "rules");
|
|
4983
|
+
R(this, "lexer");
|
|
4987
4984
|
this.options = t || Xe;
|
|
4988
4985
|
}
|
|
4989
4986
|
space(t) {
|
|
@@ -5079,17 +5076,17 @@ ${g}` : g;
|
|
|
5079
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);
|
|
5080
5077
|
for (; t; ) {
|
|
5081
5078
|
let H = t.split(`
|
|
5082
|
-
`, 1)[0],
|
|
5083
|
-
if (k = H, this.options.pedantic ? (k = k.replace(this.rules.other.listReplaceNesting, " "),
|
|
5084
|
-
if (
|
|
5085
|
-
` +
|
|
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);
|
|
5086
5083
|
else {
|
|
5087
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;
|
|
5088
5085
|
g += `
|
|
5089
5086
|
` + k;
|
|
5090
5087
|
}
|
|
5091
5088
|
M = !k.trim(), h += H + `
|
|
5092
|
-
`, t = t.substring(H.length + 1), f =
|
|
5089
|
+
`, t = t.substring(H.length + 1), f = ee.slice(E);
|
|
5093
5090
|
}
|
|
5094
5091
|
}
|
|
5095
5092
|
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;
|
|
@@ -5291,17 +5288,17 @@ ${g}` : g;
|
|
|
5291
5288
|
}
|
|
5292
5289
|
}, i(lt, "w"), lt), Pe, be = (Pe = class {
|
|
5293
5290
|
constructor(t) {
|
|
5294
|
-
|
|
5295
|
-
|
|
5296
|
-
|
|
5297
|
-
|
|
5298
|
-
|
|
5291
|
+
R(this, "tokens");
|
|
5292
|
+
R(this, "options");
|
|
5293
|
+
R(this, "state");
|
|
5294
|
+
R(this, "inlineQueue");
|
|
5295
|
+
R(this, "tokenizer");
|
|
5299
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 };
|
|
5300
|
-
let e = { other: ce, block:
|
|
5301
|
-
this.options.pedantic ? (e.block =
|
|
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;
|
|
5302
5299
|
}
|
|
5303
5300
|
static get rules() {
|
|
5304
|
-
return { block:
|
|
5301
|
+
return { block: Ht, inline: wt };
|
|
5305
5302
|
}
|
|
5306
5303
|
static lex(t, e) {
|
|
5307
5304
|
return new Pe(e).lex(t);
|
|
@@ -5496,10 +5493,10 @@ ${g}` : g;
|
|
|
5496
5493
|
}
|
|
5497
5494
|
return e;
|
|
5498
5495
|
}
|
|
5499
|
-
}, i(Pe, "u"), Pe), ct,
|
|
5496
|
+
}, i(Pe, "u"), Pe), ct, Zt = (ct = class {
|
|
5500
5497
|
constructor(t) {
|
|
5501
|
-
|
|
5502
|
-
|
|
5498
|
+
R(this, "options");
|
|
5499
|
+
R(this, "parser");
|
|
5503
5500
|
this.options = t || Xe;
|
|
5504
5501
|
}
|
|
5505
5502
|
space(t) {
|
|
@@ -5596,7 +5593,7 @@ ${t}</tr>
|
|
|
5596
5593
|
return `<del>${this.parser.parseInline(t)}</del>`;
|
|
5597
5594
|
}
|
|
5598
5595
|
link({ href: t, title: e, tokens: r }) {
|
|
5599
|
-
let s = this.parser.parseInline(r), o =
|
|
5596
|
+
let s = this.parser.parseInline(r), o = In(t);
|
|
5600
5597
|
if (o === null) return s;
|
|
5601
5598
|
t = o;
|
|
5602
5599
|
let a = '<a href="' + t + '"';
|
|
@@ -5604,7 +5601,7 @@ ${t}</tr>
|
|
|
5604
5601
|
}
|
|
5605
5602
|
image({ href: t, title: e, text: r, tokens: s }) {
|
|
5606
5603
|
s && (r = this.parser.parseInline(s, this.parser.textRenderer));
|
|
5607
|
-
let o =
|
|
5604
|
+
let o = In(t);
|
|
5608
5605
|
if (o === null) return we(r);
|
|
5609
5606
|
t = o;
|
|
5610
5607
|
let a = `<img src="${t}" alt="${we(r)}"`;
|
|
@@ -5646,10 +5643,10 @@ ${t}</tr>
|
|
|
5646
5643
|
}
|
|
5647
5644
|
}, i(ut, "$"), ut), Ne, ke = (Ne = class {
|
|
5648
5645
|
constructor(t) {
|
|
5649
|
-
|
|
5650
|
-
|
|
5651
|
-
|
|
5652
|
-
this.options = t || Xe, this.options.renderer = this.options.renderer || new
|
|
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();
|
|
5653
5650
|
}
|
|
5654
5651
|
static parse(t, e) {
|
|
5655
5652
|
return new Ne(e).parse(t);
|
|
@@ -5795,8 +5792,8 @@ ${t}</tr>
|
|
|
5795
5792
|
}
|
|
5796
5793
|
}, i(Ne, "u"), Ne), Oe, St = (Oe = class {
|
|
5797
5794
|
constructor(t) {
|
|
5798
|
-
|
|
5799
|
-
|
|
5795
|
+
R(this, "options");
|
|
5796
|
+
R(this, "block");
|
|
5800
5797
|
this.options = t || Xe;
|
|
5801
5798
|
}
|
|
5802
5799
|
preprocess(t) {
|
|
@@ -5817,18 +5814,18 @@ ${t}</tr>
|
|
|
5817
5814
|
provideParser() {
|
|
5818
5815
|
return this.block ? ke.parse : ke.parseInline;
|
|
5819
5816
|
}
|
|
5820
|
-
}, i(Oe, "P"),
|
|
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 {
|
|
5821
5818
|
constructor(...t) {
|
|
5822
|
-
|
|
5823
|
-
|
|
5824
|
-
|
|
5825
|
-
|
|
5826
|
-
|
|
5827
|
-
|
|
5828
|
-
|
|
5829
|
-
|
|
5830
|
-
|
|
5831
|
-
|
|
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);
|
|
5832
5829
|
this.use(...t);
|
|
5833
5830
|
}
|
|
5834
5831
|
walkTokens(t, e) {
|
|
@@ -5875,7 +5872,7 @@ ${t}</tr>
|
|
|
5875
5872
|
}
|
|
5876
5873
|
"childTokens" in o && o.childTokens && (e.childTokens[o.name] = o.childTokens);
|
|
5877
5874
|
}), s.extensions = e), r.renderer) {
|
|
5878
|
-
let o = this.defaults.renderer || new
|
|
5875
|
+
let o = this.defaults.renderer || new Zt(this.defaults);
|
|
5879
5876
|
for (let a in r.renderer) {
|
|
5880
5877
|
if (!(a in o)) throw new Error(`renderer '${a}' does not exist`);
|
|
5881
5878
|
if (["options", "parser"].includes(a)) continue;
|
|
@@ -5977,26 +5974,26 @@ Please report this to https://github.com/markedjs/marked.`, t) {
|
|
|
5977
5974
|
throw r;
|
|
5978
5975
|
};
|
|
5979
5976
|
}
|
|
5980
|
-
}, i(dt, "B"), dt),
|
|
5977
|
+
}, i(dt, "B"), dt), Ye = new pi();
|
|
5981
5978
|
function F(n, t) {
|
|
5982
|
-
return
|
|
5979
|
+
return Ye.parse(n, t);
|
|
5983
5980
|
}
|
|
5984
5981
|
i(F, "g");
|
|
5985
5982
|
F.options = F.setOptions = function(n) {
|
|
5986
|
-
return
|
|
5983
|
+
return Ye.setOptions(n), F.defaults = Ye.defaults, ns(F.defaults), F;
|
|
5987
5984
|
};
|
|
5988
5985
|
F.getDefaults = Mr;
|
|
5989
5986
|
F.defaults = Xe;
|
|
5990
5987
|
F.use = function(...n) {
|
|
5991
|
-
return
|
|
5988
|
+
return Ye.use(...n), F.defaults = Ye.defaults, ns(F.defaults), F;
|
|
5992
5989
|
};
|
|
5993
5990
|
F.walkTokens = function(n, t) {
|
|
5994
|
-
return
|
|
5991
|
+
return Ye.walkTokens(n, t);
|
|
5995
5992
|
};
|
|
5996
|
-
F.parseInline =
|
|
5993
|
+
F.parseInline = Ye.parseInline;
|
|
5997
5994
|
F.Parser = ke;
|
|
5998
5995
|
F.parser = ke.parse;
|
|
5999
|
-
F.Renderer =
|
|
5996
|
+
F.Renderer = Zt;
|
|
6000
5997
|
F.TextRenderer = Nr;
|
|
6001
5998
|
F.Lexer = be;
|
|
6002
5999
|
F.lexer = be.lex;
|
|
@@ -6025,7 +6022,7 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
|
|
|
6025
6022
|
}, yi = ["src", "alt"], wi = ["innerHTML"], Ai = {
|
|
6026
6023
|
key: 1,
|
|
6027
6024
|
class: "flex gap-2 justify-start items-end mb-4"
|
|
6028
|
-
}, Si = { class: "flex-shrink-0" }, Ti = ["src", "alt"], Ei = { class: "flex-shrink-0 pt-4 pb-2" }, Ci = ["placeholder", "disabled"],
|
|
6025
|
+
}, Si = { class: "flex-shrink-0" }, Ti = ["src", "alt"], Ei = { class: "flex-shrink-0 pt-4 pb-2" }, Ci = ["placeholder", "disabled"], Ri = /* @__PURE__ */ se({
|
|
6029
6026
|
__name: "ElAgentChat",
|
|
6030
6027
|
props: {
|
|
6031
6028
|
agentController: {},
|
|
@@ -6041,12 +6038,12 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
|
|
|
6041
6038
|
return Ta.sanitize(x);
|
|
6042
6039
|
}
|
|
6043
6040
|
i(t, "renderMarkdown");
|
|
6044
|
-
const e = W(""), r = W(), s = W(), o = U(() =>
|
|
6041
|
+
const e = W(""), r = W(), s = W(), o = U(() => Vt(n.agent));
|
|
6045
6042
|
function a(y, x) {
|
|
6046
6043
|
const w = y[x], B = y[x + 1];
|
|
6047
6044
|
return !B || B.sender !== w.sender;
|
|
6048
6045
|
}
|
|
6049
|
-
i(a, "shouldShowAvatar"),
|
|
6046
|
+
i(a, "shouldShowAvatar"), Et(async () => {
|
|
6050
6047
|
if (n.agentController && !n.agentController.textState.value.isConnected)
|
|
6051
6048
|
try {
|
|
6052
6049
|
await n.agentController.startTextConversation();
|
|
@@ -6108,22 +6105,22 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
|
|
|
6108
6105
|
function X(y) {
|
|
6109
6106
|
const x = /* @__PURE__ */ new Date(), w = y.toDateString() === x.toDateString(), B = new Date(x);
|
|
6110
6107
|
B.setDate(B.getDate() - 1);
|
|
6111
|
-
const H = y.toDateString() === B.toDateString(),
|
|
6112
|
-
if (w) return
|
|
6113
|
-
if (H) return `Yesterday, ${
|
|
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}`;
|
|
6114
6111
|
const z = y.getFullYear() === x.getFullYear();
|
|
6115
6112
|
return `${y.toLocaleDateString("en-US", {
|
|
6116
6113
|
weekday: "long",
|
|
6117
6114
|
month: "short",
|
|
6118
6115
|
day: "numeric",
|
|
6119
6116
|
...z ? {} : { year: "numeric" }
|
|
6120
|
-
})}, ${
|
|
6117
|
+
})}, ${ee}`;
|
|
6121
6118
|
}
|
|
6122
6119
|
return i(X, "formatTimeDivider"), Be(() => n.agentController?.sharedMessages.value, (y) => {
|
|
6123
6120
|
y && y.length > 0 && cr(() => d());
|
|
6124
6121
|
}, { immediate: !0, deep: !0 }), (y, x) => (b(), v("div", fi, [
|
|
6125
6122
|
E.value ? $("", !0) : (b(), v("div", mi, [
|
|
6126
|
-
|
|
6123
|
+
J(Cr, { agent: n.agent }, null, 8, ["agent"])
|
|
6127
6124
|
])),
|
|
6128
6125
|
g.value ? (b(), v("div", {
|
|
6129
6126
|
key: 1,
|
|
@@ -6132,12 +6129,12 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
|
|
|
6132
6129
|
p("i", {
|
|
6133
6130
|
class: _(["i-heroicons-cloud-arrow-down size-8", E.value ? "text-theme-300" : "text-white/40"])
|
|
6134
6131
|
}, null, 2),
|
|
6135
|
-
p("span", null,
|
|
6132
|
+
p("span", null, Z(n.agentController?.textState.value.error), 1)
|
|
6136
6133
|
], 2)) : f.value ? (b(), v("div", {
|
|
6137
6134
|
key: 2,
|
|
6138
6135
|
class: _(["py-16 flex flex-col items-center justify-center gap-2 text-sm", E.value ? "text-theme-400" : "text-theme-600"])
|
|
6139
6136
|
}, [
|
|
6140
|
-
|
|
6137
|
+
J(Er, { class: "size-4" })
|
|
6141
6138
|
], 2)) : $("", !0),
|
|
6142
6139
|
p("div", {
|
|
6143
6140
|
ref_key: "messagesContainer",
|
|
@@ -6152,16 +6149,16 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
|
|
|
6152
6149
|
}, null, 8, ki),
|
|
6153
6150
|
p("div", {
|
|
6154
6151
|
class: _(["text-base font-semibold", E.value ? "text-theme-900" : "text-white"])
|
|
6155
|
-
},
|
|
6152
|
+
}, Z(n.agent.name), 3),
|
|
6156
6153
|
n.agent.handle ? (b(), v("div", {
|
|
6157
6154
|
key: 0,
|
|
6158
6155
|
class: _(["text-xs mt-0.5", E.value ? "text-theme-400" : "text-white/50"])
|
|
6159
|
-
}, " @" +
|
|
6156
|
+
}, " @" + Z(n.agent.handle), 3)) : $("", !0),
|
|
6160
6157
|
p("p", {
|
|
6161
6158
|
class: _(["text-center text-sm mt-3 max-w-[240px] leading-relaxed", E.value ? "text-theme-400" : "text-white/50"])
|
|
6162
6159
|
}, " Send a message to start the conversation. ", 2)
|
|
6163
6160
|
])) : $("", !0),
|
|
6164
|
-
(b(!0), v(Ae, null,
|
|
6161
|
+
(b(!0), v(Ae, null, Ct(n.agentController?.sharedMessages.value.filter((w) => w.sender !== "system") ?? [], (w, B) => (b(), v(Ae, {
|
|
6165
6162
|
key: w.id
|
|
6166
6163
|
}, [
|
|
6167
6164
|
N(n.agentController?.sharedMessages.value.filter((H) => H.sender !== "system") ?? [], B) ? (b(), v("div", xi, [
|
|
@@ -6170,7 +6167,7 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
|
|
|
6170
6167
|
}, null, 2),
|
|
6171
6168
|
p("span", {
|
|
6172
6169
|
class: _(["text-[11px] font-medium shrink-0", E.value ? "text-theme-400" : "text-white/40"])
|
|
6173
|
-
},
|
|
6170
|
+
}, Z(N(n.agentController?.sharedMessages.value.filter((H) => H.sender !== "system") ?? [], B)), 3),
|
|
6174
6171
|
p("div", {
|
|
6175
6172
|
class: _(["flex-1 h-px", E.value ? "bg-theme-200" : "bg-white/10"])
|
|
6176
6173
|
}, null, 2)
|
|
@@ -6222,7 +6219,7 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
|
|
|
6222
6219
|
])) : $("", !0)
|
|
6223
6220
|
], 512),
|
|
6224
6221
|
p("div", Ei, [
|
|
6225
|
-
|
|
6222
|
+
Ln(p("textarea", {
|
|
6226
6223
|
ref_key: "textarea",
|
|
6227
6224
|
ref: s,
|
|
6228
6225
|
"onUpdate:modelValue": x[0] || (x[0] = (w) => e.value = w),
|
|
@@ -6233,7 +6230,7 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
|
|
|
6233
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"]),
|
|
6234
6231
|
onKeydown: c
|
|
6235
6232
|
}, null, 42, Ci), [
|
|
6236
|
-
[
|
|
6233
|
+
[Dn, e.value]
|
|
6237
6234
|
]),
|
|
6238
6235
|
p("div", {
|
|
6239
6236
|
class: _(["text-[10px] text-center mt-2", E.value ? "text-theme-300" : "text-white/40"])
|
|
@@ -6241,19 +6238,19 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
|
|
|
6241
6238
|
])
|
|
6242
6239
|
]));
|
|
6243
6240
|
}
|
|
6244
|
-
}),
|
|
6241
|
+
}), Ii = /* @__PURE__ */ i((n, t) => {
|
|
6245
6242
|
const e = n.__vccOpts || n;
|
|
6246
6243
|
for (const [r, s] of t)
|
|
6247
6244
|
e[r] = s;
|
|
6248
6245
|
return e;
|
|
6249
|
-
}, "_export_sfc"), br = /* @__PURE__ */ Ri
|
|
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({
|
|
6250
6247
|
__name: "ElAgentHeader",
|
|
6251
6248
|
props: {
|
|
6252
6249
|
agent: {}
|
|
6253
6250
|
},
|
|
6254
6251
|
setup(n) {
|
|
6255
6252
|
function t() {
|
|
6256
|
-
return n.agent.avatar?.src
|
|
6253
|
+
return n.agent.avatar?.src || Xt(n.agent.name);
|
|
6257
6254
|
}
|
|
6258
6255
|
return i(t, "getAvatarSrc"), (e, r) => (b(), v("div", Mi, [
|
|
6259
6256
|
p("div", _i, [
|
|
@@ -6263,8 +6260,8 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
|
|
|
6263
6260
|
alt: n.agent.name,
|
|
6264
6261
|
class: "w-full h-full object-cover",
|
|
6265
6262
|
onError: r[0] || (r[0] = //@ts-ignore
|
|
6266
|
-
(...s) =>
|
|
6267
|
-
}, null, 40,
|
|
6263
|
+
(...s) => ne(jt) && ne(jt)(...s))
|
|
6264
|
+
}, null, 40, Li)
|
|
6268
6265
|
]),
|
|
6269
6266
|
r[1] || (r[1] = p("div", { class: "absolute top-1.5 right-1.5" }, [
|
|
6270
6267
|
p("div", {
|
|
@@ -6274,9 +6271,9 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
|
|
|
6274
6271
|
p("div", { class: "size-4 bg-green-500 rounded-full ring-2 ring-white" })
|
|
6275
6272
|
], -1))
|
|
6276
6273
|
]),
|
|
6277
|
-
p("div",
|
|
6278
|
-
p("h1", $i,
|
|
6279
|
-
p("p", Oi,
|
|
6274
|
+
p("div", Di, [
|
|
6275
|
+
p("h1", $i, Z(n.agent.name), 1),
|
|
6276
|
+
p("p", Oi, Z(n.agent.title), 1)
|
|
6280
6277
|
])
|
|
6281
6278
|
]));
|
|
6282
6279
|
}
|
|
@@ -6286,7 +6283,7 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
|
|
|
6286
6283
|
emits: ["click"],
|
|
6287
6284
|
setup(n) {
|
|
6288
6285
|
const t = W(!1);
|
|
6289
|
-
return
|
|
6286
|
+
return Et(() => {
|
|
6290
6287
|
setTimeout(() => {
|
|
6291
6288
|
t.value = !0;
|
|
6292
6289
|
}, 100);
|
|
@@ -6313,7 +6310,7 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
|
|
|
6313
6310
|
}, Fi = { class: "text-base font-medium text-theme-400" }, Hi = {
|
|
6314
6311
|
key: 1,
|
|
6315
6312
|
class: "px-4 pb-8 border-b border-white/10"
|
|
6316
|
-
},
|
|
6313
|
+
}, Vi = ["disabled", "onClick"], Gi = { class: "flex items-center gap-3" }, ji = { class: "flex-1" }, Wi = {
|
|
6317
6314
|
key: 0,
|
|
6318
6315
|
class: "text-xs text-white/50 mt-0.5"
|
|
6319
6316
|
}, qi = { class: "p-6" }, fs = /* @__PURE__ */ se({
|
|
@@ -6349,7 +6346,7 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
|
|
|
6349
6346
|
closeButton: "-left-16"
|
|
6350
6347
|
});
|
|
6351
6348
|
return (h, g) => (b(), v(Ae, null, [
|
|
6352
|
-
|
|
6349
|
+
J(on, {
|
|
6353
6350
|
"enter-active-class": "transition-opacity duration-300 ease-out",
|
|
6354
6351
|
"leave-active-class": "transition-opacity duration-200 ease-in",
|
|
6355
6352
|
"enter-from-class": "opacity-0",
|
|
@@ -6366,7 +6363,7 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
|
|
|
6366
6363
|
]),
|
|
6367
6364
|
_: 1
|
|
6368
6365
|
}),
|
|
6369
|
-
|
|
6366
|
+
J(on, {
|
|
6370
6367
|
"enter-active-class": "transition-all duration-500 ease-[cubic-bezier(0.25,1,0.33,1)]",
|
|
6371
6368
|
"leave-active-class": "transition-all duration-400 ease-[cubic-bezier(0.25,1,0.33,1)]",
|
|
6372
6369
|
"enter-from-class": d.value.enter,
|
|
@@ -6381,16 +6378,16 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
|
|
|
6381
6378
|
onClick: g[3] || (g[3] = (f) => a.value = !1)
|
|
6382
6379
|
}, [
|
|
6383
6380
|
p("div", {
|
|
6384
|
-
class: _(["relative h-full shadow-2xl bg-black/30 backdrop-blur-xl flex flex-col justify-center",
|
|
6381
|
+
class: _(["relative h-full shadow-2xl bg-black/30 backdrop-blur-xl flex flex-col justify-center", ne(o)]),
|
|
6385
6382
|
onClick: g[2] || (g[2] = kr(() => {
|
|
6386
6383
|
}, ["stop"]))
|
|
6387
6384
|
}, [
|
|
6388
|
-
|
|
6385
|
+
J(Bi, {
|
|
6389
6386
|
class: _(["absolute top-4 z-10 text-white", d.value.closeButton]),
|
|
6390
6387
|
onClick: g[1] || (g[1] = (f) => a.value = !1)
|
|
6391
6388
|
}, null, 8, ["class"]),
|
|
6392
6389
|
n.title ? (b(), v("div", Ui, [
|
|
6393
|
-
p("h3", Fi,
|
|
6390
|
+
p("h3", Fi, Z(n.title), 1)
|
|
6394
6391
|
])) : $("", !0),
|
|
6395
6392
|
h.$slots.header ? (b(), v("div", Hi, [
|
|
6396
6393
|
ht(h.$slots, "header")
|
|
@@ -6398,16 +6395,16 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
|
|
|
6398
6395
|
p("div", {
|
|
6399
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 }])
|
|
6400
6397
|
}, [
|
|
6401
|
-
|
|
6398
|
+
J(zn, {
|
|
6402
6399
|
"enter-active-class": "transition-all duration-400 ease-[cubic-bezier(0.25,1,0.33,1)]",
|
|
6403
6400
|
"leave-active-class": "transition-all duration-200 ease-[cubic-bezier(0.25,1,0.33,1)]",
|
|
6404
|
-
"enter-from-class":
|
|
6401
|
+
"enter-from-class": ne(s) === "left" ? "-translate-x-4 opacity-0" : "translate-x-4 opacity-0",
|
|
6405
6402
|
"enter-to-class": "translate-x-0 opacity-100",
|
|
6406
6403
|
"leave-from-class": "translate-x-0 opacity-100",
|
|
6407
|
-
"leave-to-class":
|
|
6404
|
+
"leave-to-class": ne(s) === "left" ? "-translate-x-4 opacity-0" : "translate-x-4 opacity-0"
|
|
6408
6405
|
}, {
|
|
6409
6406
|
default: Se(() => [
|
|
6410
|
-
(b(!0), v(Ae, null,
|
|
6407
|
+
(b(!0), v(Ae, null, Ct(l.value, (f, k) => (b(), v("button", {
|
|
6411
6408
|
key: f.key || f.label || k,
|
|
6412
6409
|
style: $n({ transitionDelay: `${k * 40}ms` }),
|
|
6413
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", [
|
|
@@ -6417,7 +6414,7 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
|
|
|
6417
6414
|
disabled: f.isDisabled,
|
|
6418
6415
|
onClick: /* @__PURE__ */ i((M) => c(f), "onClick")
|
|
6419
6416
|
}, [
|
|
6420
|
-
p("div",
|
|
6417
|
+
p("div", Gi, [
|
|
6421
6418
|
f.icon?.src ? (b(), v("i", {
|
|
6422
6419
|
key: 0,
|
|
6423
6420
|
class: _(["size-5 flex-shrink-0 transition-transform duration-200 ease-[cubic-bezier(0.25,1,0.33,1)] group-hover:scale-110", [
|
|
@@ -6425,14 +6422,14 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
|
|
|
6425
6422
|
f.isActive ? "text-primary-400" : "text-white/70 group-hover:text-white"
|
|
6426
6423
|
]])
|
|
6427
6424
|
}, null, 2)) : $("", !0),
|
|
6428
|
-
p("div",
|
|
6425
|
+
p("div", ji, [
|
|
6429
6426
|
p("div", {
|
|
6430
6427
|
class: _(["font-medium text-sm", f.isActive ? "text-primary-300" : "text-white"])
|
|
6431
|
-
},
|
|
6432
|
-
f.subLabel ? (b(), v("div", Wi,
|
|
6428
|
+
}, Z(f.label), 3),
|
|
6429
|
+
f.subLabel ? (b(), v("div", Wi, Z(f.subLabel), 1)) : $("", !0)
|
|
6433
6430
|
])
|
|
6434
6431
|
])
|
|
6435
|
-
], 14,
|
|
6432
|
+
], 14, Vi))), 128))
|
|
6436
6433
|
]),
|
|
6437
6434
|
_: 1
|
|
6438
6435
|
}, 8, ["enter-from-class", "leave-to-class"])
|
|
@@ -6458,7 +6455,7 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
|
|
|
6458
6455
|
}, 8, ["enter-from-class", "leave-to-class"])
|
|
6459
6456
|
], 64));
|
|
6460
6457
|
}
|
|
6461
|
-
}),
|
|
6458
|
+
}), Yi = /* @__PURE__ */ se({
|
|
6462
6459
|
name: "AgentModeSidebar",
|
|
6463
6460
|
__name: "ElAgentModeSidebar",
|
|
6464
6461
|
props: {
|
|
@@ -6488,7 +6485,7 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
|
|
|
6488
6485
|
"width-classes": "w-[80%] max-w-[255px]"
|
|
6489
6486
|
}, null, 8, ["modelValue", "items"]));
|
|
6490
6487
|
}
|
|
6491
|
-
}),
|
|
6488
|
+
}), Zi = /* @__PURE__ */ se({
|
|
6492
6489
|
name: "AgentSidebar",
|
|
6493
6490
|
__name: "ElAgentSidebar",
|
|
6494
6491
|
props: {
|
|
@@ -6616,19 +6613,19 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
|
|
|
6616
6613
|
function f(y) {
|
|
6617
6614
|
if (!l.value)
|
|
6618
6615
|
return;
|
|
6619
|
-
const x =
|
|
6616
|
+
const x = Ls(y);
|
|
6620
6617
|
Object.entries(x).forEach(([w, B]) => {
|
|
6621
6618
|
l.value.style.setProperty(`--primary-${w}`, B);
|
|
6622
6619
|
});
|
|
6623
6620
|
}
|
|
6624
|
-
i(f, "applyTheme"),
|
|
6621
|
+
i(f, "applyTheme"), Et(() => {
|
|
6625
6622
|
try {
|
|
6626
6623
|
g(), f(n.theme), n.chatOnly && r.value && r.value.setMode("chat");
|
|
6627
6624
|
} catch (y) {
|
|
6628
6625
|
const x = y instanceof Error ? y.message : "Failed to initialize digital agent";
|
|
6629
6626
|
a.value = x, e("error", x);
|
|
6630
6627
|
}
|
|
6631
|
-
}),
|
|
6628
|
+
}), Rs(() => {
|
|
6632
6629
|
r.value && r.value.destroy();
|
|
6633
6630
|
}), Be(() => n.theme, (y) => {
|
|
6634
6631
|
f(y);
|
|
@@ -6651,16 +6648,16 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
|
|
|
6651
6648
|
return (y, x) => (b(), v("div", {
|
|
6652
6649
|
ref_key: "rootElement",
|
|
6653
6650
|
ref: l,
|
|
6654
|
-
key:
|
|
6651
|
+
key: ne(Vt)(n.agent),
|
|
6655
6652
|
class: "pagelines-sdk @container/agent pagelines-agent w-full h-full overflow-hidden relative",
|
|
6656
6653
|
"data-test": "agent-chat"
|
|
6657
6654
|
}, [
|
|
6658
6655
|
n.loading ? (b(), v("div", Xi, [
|
|
6659
|
-
|
|
6656
|
+
J(Er, { class: "text-white size-8" })
|
|
6660
6657
|
])) : n.agent && !a.value ? (b(), v("div", {
|
|
6661
6658
|
key: 1,
|
|
6662
6659
|
class: "absolute inset-0 bg-cover bg-center bg-no-repeat",
|
|
6663
|
-
style: $n({ backgroundImage: `url(${
|
|
6660
|
+
style: $n({ backgroundImage: `url(${ne(Vt)(n.agent)})` }),
|
|
6664
6661
|
"data-quality": n.agent.avatar?.quality || "none"
|
|
6665
6662
|
}, [
|
|
6666
6663
|
p("div", {
|
|
@@ -6675,11 +6672,11 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
|
|
|
6675
6672
|
n.chatOnly ? (b(), v("div", Qi, [
|
|
6676
6673
|
p("div", Ji, [
|
|
6677
6674
|
p("img", {
|
|
6678
|
-
src:
|
|
6675
|
+
src: ne(Vt)(n.agent),
|
|
6679
6676
|
alt: n.agent.name,
|
|
6680
6677
|
class: "size-8 rounded-full object-cover"
|
|
6681
6678
|
}, null, 8, el),
|
|
6682
|
-
p("span", tl,
|
|
6679
|
+
p("span", tl, Z(n.agent.name), 1)
|
|
6683
6680
|
]),
|
|
6684
6681
|
n.hasClose ? (b(), v("div", rl, [
|
|
6685
6682
|
p("button", {
|
|
@@ -6710,7 +6707,7 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
|
|
|
6710
6707
|
p("i", {
|
|
6711
6708
|
class: _([h.value?.icon, "size-4 opacity-60"])
|
|
6712
6709
|
}, null, 2),
|
|
6713
|
-
p("span", nl,
|
|
6710
|
+
p("span", nl, Z(h.value?.label), 1),
|
|
6714
6711
|
x[9] || (x[9] = p("i", { class: "i-tabler-chevron-down size-4" }, null, -1))
|
|
6715
6712
|
], 2),
|
|
6716
6713
|
n.hasClose ? (b(), v("div", sl, [
|
|
@@ -6725,7 +6722,7 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
|
|
|
6725
6722
|
], 2),
|
|
6726
6723
|
n.chatOnly ? (b(), v("div", ol, [
|
|
6727
6724
|
p("div", al, [
|
|
6728
|
-
|
|
6725
|
+
J(br, {
|
|
6729
6726
|
"agent-controller": r.value,
|
|
6730
6727
|
agent: n.agent
|
|
6731
6728
|
}, null, 8, ["agent-controller", "agent"])
|
|
@@ -6733,9 +6730,9 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
|
|
|
6733
6730
|
])) : (b(), v(Ae, { key: 1 }, [
|
|
6734
6731
|
c.value === "self" ? (b(), v("div", il, [
|
|
6735
6732
|
x[11] || (x[11] = p("div", { class: "flex-1 basis-0 mb-12" }, null, -1)),
|
|
6736
|
-
|
|
6733
|
+
J(Pi, { agent: n.agent }, null, 8, ["agent"]),
|
|
6737
6734
|
p("div", ll, [
|
|
6738
|
-
|
|
6735
|
+
J(Nn, {
|
|
6739
6736
|
theme: "primary",
|
|
6740
6737
|
size: "lg",
|
|
6741
6738
|
class: "w-full",
|
|
@@ -6744,19 +6741,19 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
|
|
|
6744
6741
|
onClick: x[4] || (x[4] = (w) => r.value?.setMode("talk"))
|
|
6745
6742
|
}, {
|
|
6746
6743
|
default: Se(() => [
|
|
6747
|
-
Tt(
|
|
6744
|
+
Tt(Z(N.value), 1)
|
|
6748
6745
|
]),
|
|
6749
6746
|
_: 1
|
|
6750
6747
|
}, 8, ["icon"]),
|
|
6751
6748
|
n.agent.accounts && n.agent.accounts.length > 0 ? (b(), v("div", cl, [
|
|
6752
|
-
(b(!0), v(Ae, null,
|
|
6749
|
+
(b(!0), v(Ae, null, Ct(n.agent.accounts.filter((w) => ne(it)[w.platform]), (w) => (b(), v("a", {
|
|
6753
6750
|
key: `${w.platform}-${w.handle}`,
|
|
6754
|
-
href:
|
|
6751
|
+
href: ne(it)[w.platform].getUrl(w.handle),
|
|
6755
6752
|
target: "_blank",
|
|
6756
6753
|
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"
|
|
6757
6754
|
}, [
|
|
6758
6755
|
p("i", {
|
|
6759
|
-
class: _([
|
|
6756
|
+
class: _([ne(it)[w.platform].icon, "size-5"])
|
|
6760
6757
|
}, null, 2)
|
|
6761
6758
|
], 8, ul))), 128))
|
|
6762
6759
|
])) : $("", !0)
|
|
@@ -6768,10 +6765,10 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
|
|
|
6768
6765
|
}, null, 8, ["sdk"])) : (b(), v(Ae, { key: 1 }, [
|
|
6769
6766
|
p("div", null, [
|
|
6770
6767
|
p("div", hl, [
|
|
6771
|
-
|
|
6768
|
+
J(Cr, { agent: n.agent }, null, 8, ["agent"])
|
|
6772
6769
|
])
|
|
6773
6770
|
]),
|
|
6774
|
-
|
|
6771
|
+
J(br, {
|
|
6775
6772
|
"agent-controller": r.value,
|
|
6776
6773
|
agent: n.agent
|
|
6777
6774
|
}, null, 8, ["agent-controller", "agent"])
|
|
@@ -6815,10 +6812,10 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
|
|
|
6815
6812
|
])
|
|
6816
6813
|
], -1)),
|
|
6817
6814
|
x[14] || (x[14] = p("h3", { class: "text-lg font-medium" }, " Agent Error ", -1)),
|
|
6818
|
-
p("p", bl,
|
|
6815
|
+
p("p", bl, Z(a.value), 1)
|
|
6819
6816
|
])
|
|
6820
6817
|
])) : (b(), v("div", kl, " There was an error loading the digital agent. Please try again later. ")),
|
|
6821
|
-
n.chatOnly ? $("", !0) : (b(), me(
|
|
6818
|
+
n.chatOnly ? $("", !0) : (b(), me(Zi, {
|
|
6822
6819
|
key: 4,
|
|
6823
6820
|
modelValue: s.value,
|
|
6824
6821
|
"onUpdate:modelValue": x[5] || (x[5] = (w) => s.value = w),
|
|
@@ -6827,7 +6824,7 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
|
|
|
6827
6824
|
title: n.agent.name,
|
|
6828
6825
|
"data-test": "agent-sidebar"
|
|
6829
6826
|
}, null, 8, ["modelValue", "agent", "sdk", "title"])),
|
|
6830
|
-
n.chatOnly ? $("", !0) : (b(), me(
|
|
6827
|
+
n.chatOnly ? $("", !0) : (b(), me(Yi, {
|
|
6831
6828
|
key: 5,
|
|
6832
6829
|
modelValue: o.value,
|
|
6833
6830
|
"onUpdate:modelValue": x[6] || (x[6] = (w) => o.value = w),
|
|
@@ -6839,7 +6836,7 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
|
|
|
6839
6836
|
}), xl = { class: "agent-wrap" }, vl = {
|
|
6840
6837
|
key: 0,
|
|
6841
6838
|
class: "flex items-center justify-center h-full"
|
|
6842
|
-
},
|
|
6839
|
+
}, Ml = /* @__PURE__ */ se({
|
|
6843
6840
|
__name: "AgentWrap",
|
|
6844
6841
|
props: {
|
|
6845
6842
|
sdk: {},
|
|
@@ -6853,11 +6850,11 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
|
|
|
6853
6850
|
apiBase: {}
|
|
6854
6851
|
},
|
|
6855
6852
|
setup(n) {
|
|
6856
|
-
const t =
|
|
6853
|
+
const t = Is("AgentWrap"), e = n, r = e.sdk || Ms.getInstance({
|
|
6857
6854
|
isDev: typeof window < "u" ? window.location.hostname === "localhost" || window.location.hostname.includes("127.0.0.1") : !1,
|
|
6858
6855
|
...e.apiBase && { apiBase: e.apiBase }
|
|
6859
6856
|
}), s = W(!e.agent), o = W(e.agent), a = W();
|
|
6860
|
-
return
|
|
6857
|
+
return Et(async () => {
|
|
6861
6858
|
if (e.agent) {
|
|
6862
6859
|
t.debug("Agent provided via props, skipping fetch", {
|
|
6863
6860
|
agentId: e.agent.agentId,
|
|
@@ -6938,7 +6935,7 @@ const fi = { class: "flex flex-col h-full relative" }, mi = {
|
|
|
6938
6935
|
p("div", { class: "animate-spin rounded-full size-6 border-b-2 border-white" }, null, -1)
|
|
6939
6936
|
])])) : o.value ? ht(l.$slots, "default", {
|
|
6940
6937
|
key: 1,
|
|
6941
|
-
sdk:
|
|
6938
|
+
sdk: ne(r),
|
|
6942
6939
|
agent: o.value,
|
|
6943
6940
|
context: n.context,
|
|
6944
6941
|
firstMessage: n.firstMessage,
|
|
@@ -6953,20 +6950,19 @@ export {
|
|
|
6953
6950
|
vr as A,
|
|
6954
6951
|
xr as C,
|
|
6955
6952
|
br as E,
|
|
6956
|
-
|
|
6957
|
-
|
|
6953
|
+
El as V,
|
|
6954
|
+
Ml as _,
|
|
6958
6955
|
Il as a,
|
|
6959
|
-
|
|
6960
|
-
|
|
6961
|
-
|
|
6962
|
-
|
|
6963
|
-
|
|
6964
|
-
|
|
6965
|
-
|
|
6966
|
-
|
|
6967
|
-
|
|
6968
|
-
|
|
6969
|
-
Ns as l,
|
|
6956
|
+
Ds as b,
|
|
6957
|
+
$s as c,
|
|
6958
|
+
Os as d,
|
|
6959
|
+
Cl as e,
|
|
6960
|
+
Pn as f,
|
|
6961
|
+
Vt as g,
|
|
6962
|
+
ln as h,
|
|
6963
|
+
jt as i,
|
|
6964
|
+
Rl as j,
|
|
6965
|
+
Ns as k,
|
|
6970
6966
|
Ps as p
|
|
6971
6967
|
};
|
|
6972
|
-
//# sourceMappingURL=AgentWrap.vue_vue_type_script_setup_true_lang-
|
|
6968
|
+
//# sourceMappingURL=AgentWrap.vue_vue_type_script_setup_true_lang-CeEcZnMh.js.map
|