@pagelines/sdk 1.0.385 → 1.0.386

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/dist/{AgentProvider.vue_vue_type_script_setup_true_lang-5V_TRBPP.js → AgentProvider.vue_vue_type_script_setup_true_lang.js} +889 -1027
  2. package/dist/AgentProvider.vue_vue_type_script_setup_true_lang.js.map +1 -0
  3. package/dist/{AgentWidgetInline-DOoug3lh.js → AgentWidgetInline.js} +3 -3
  4. package/dist/AgentWidgetInline.js.map +1 -0
  5. package/dist/{AgentWidgetModal-C-dDlu8w.js → AgentWidgetModal.js} +4 -4
  6. package/dist/AgentWidgetModal.js.map +1 -0
  7. package/dist/AgentWidgetOnboard.js +5 -0
  8. package/dist/AgentWidgetOnboard.js.map +1 -0
  9. package/dist/{AgentWrap.vue_vue_type_script_setup_true_lang-CHgCPDEe.js → AgentWrap.vue_vue_type_script_setup_true_lang.js} +878 -737
  10. package/dist/AgentWrap.vue_vue_type_script_setup_true_lang.js.map +1 -0
  11. package/dist/{FModal.vue_vue_type_script_setup_true_lang-DI6cyWhd.js → FModal.vue_vue_type_script_setup_true_lang.js} +1 -1
  12. package/dist/FModal.vue_vue_type_script_setup_true_lang.js.map +1 -0
  13. package/dist/agent/ui/ElAuthPanel.vue.d.ts +6 -0
  14. package/dist/agent/ui/ElCreateAgent.vue.d.ts +180 -0
  15. package/dist/agent/ui/ElProvisioningStatus.vue.d.ts +13 -0
  16. package/dist/agent.js +5 -5
  17. package/dist/clients/AgentClient.d.ts +24 -0
  18. package/dist/clients/ChatClient.d.ts +22 -0
  19. package/dist/demo/index.d.ts +2 -1
  20. package/dist/index.d.ts +1 -0
  21. package/dist/index.js +766 -0
  22. package/dist/index.js.map +1 -0
  23. package/dist/sdk.js +9 -8
  24. package/dist/sdkClient.d.ts +9 -3
  25. package/dist/sdkClient.js +721 -0
  26. package/dist/sdkClient.js.map +1 -0
  27. package/dist/{socialPlatforms-Ck-b3SnQ.js → socialPlatforms.js} +1 -1
  28. package/dist/socialPlatforms.js.map +1 -0
  29. package/dist/test/agent-client.test.d.ts +4 -0
  30. package/dist/test/chat-authenticated.test.d.ts +1 -0
  31. package/dist/test/derive-mode.test.d.ts +1 -0
  32. package/dist/widget/PLWidget.d.ts +1 -1
  33. package/dist/widget/composables/useWidgetState.d.ts +6 -3
  34. package/dist/widget/index.d.ts +1 -0
  35. package/dist/widget/ui/AgentWidgetOnboard.vue.d.ts +7 -0
  36. package/dist/widget.js +4 -3
  37. package/package.json +1 -1
  38. package/dist/AgentProvider.vue_vue_type_script_setup_true_lang-5V_TRBPP.js.map +0 -1
  39. package/dist/AgentWidgetInline-DOoug3lh.js.map +0 -1
  40. package/dist/AgentWidgetModal-C-dDlu8w.js.map +0 -1
  41. package/dist/AgentWrap.vue_vue_type_script_setup_true_lang-CHgCPDEe.js.map +0 -1
  42. package/dist/FModal.vue_vue_type_script_setup_true_lang-DI6cyWhd.js.map +0 -1
  43. package/dist/index-C9cSPVgs.js +0 -379
  44. package/dist/index-C9cSPVgs.js.map +0 -1
  45. package/dist/sdkClient-6j3pmwVP.js +0 -625
  46. package/dist/sdkClient-6j3pmwVP.js.map +0 -1
  47. package/dist/socialPlatforms-Ck-b3SnQ.js.map +0 -1
@@ -1,10 +1,10 @@
1
- var pt = Object.defineProperty;
2
- var r = (e, a) => pt(e, "name", { value: a, configurable: !0 });
3
- import { defineComponent as N, openBlock as u, createBlock as F, TransitionGroup as Je, withCtx as q, renderSlot as ne, computed as $, createElementBlock as h, normalizeClass as A, createElementVNode as d, createCommentVNode as M, ref as W, onMounted as Ve, watch as le, Fragment as H, renderList as pe, withDirectives as vt, vModelText as xt, toDisplayString as L, createVNode as j, withKeys as kt, createTextVNode as ie, resolveDynamicComponent as yt, unref as R, Transition as Ne, withModifiers as $e, normalizeStyle as Qe, shallowRef as wt, onUnmounted as zt, mergeProps as Ct } from "vue";
4
- import { S as oe } from "./socialPlatforms-Ck-b3SnQ.js";
5
- import { b as Ze, c as _e, h as Ge, p as At, g as ze, a as Ce, A as $t, _ as St } from "./AgentWrap.vue_vue_type_script_setup_true_lang-CHgCPDEe.js";
6
- import { getColorSchemeOklch as Vt } from "@pagelines/core";
7
- const et = [
1
+ var xt = Object.defineProperty;
2
+ var o = (e, a) => xt(e, "name", { value: a, configurable: !0 });
3
+ import { defineComponent as W, openBlock as m, createBlock as G, TransitionGroup as Xe, withCtx as U, renderSlot as ge, ref as X, computed as A, watch as ze, createElementBlock as f, createElementVNode as i, toDisplayString as R, createCommentVNode as S, createVNode as I, withKeys as pt, createTextVNode as ne, resolveDynamicComponent as vt, normalizeClass as $, Fragment as J, renderList as Se, unref as B, onMounted as Je, Transition as Le, withModifiers as Ae, normalizeStyle as Qe, shallowRef as kt, onUnmounted as yt, mergeProps as wt } from "vue";
4
+ import { S as oe } from "./socialPlatforms.js";
5
+ import { b as Ct, d as zt, c as Ze, e as _e, f as et, h as Ne, p as At, g as ye, a as we, A as $t, _ as St } from "./AgentWrap.vue_vue_type_script_setup_true_lang.js";
6
+ import { getColorSchemeOklch as Mt } from "@pagelines/core";
7
+ const tt = [
8
8
  {
9
9
  mode: "self",
10
10
  label: "Overview",
@@ -25,553 +25,415 @@ const et = [
25
25
  label: "About",
26
26
  icon: "i-tabler-user-circle"
27
27
  }
28
- ], Mt = /* @__PURE__ */ N({
28
+ ], Vt = /* @__PURE__ */ W({
29
29
  __name: "EffectTransitionList",
30
30
  props: {
31
31
  disabled: { type: Boolean, default: !1 },
32
32
  mode: { default: "block" }
33
33
  },
34
34
  setup(e) {
35
- return (a, t) => (u(), F(Je, {
35
+ return (a, t) => (m(), G(Xe, {
36
36
  name: e.disabled ? "" : "nlist"
37
37
  }, {
38
- default: q(() => [
39
- ne(a.$slots, "default")
38
+ default: U(() => [
39
+ ge(a.$slots, "default")
40
40
  ]),
41
41
  _: 3
42
42
  }, 8, ["name"]));
43
43
  }
44
- }), It = {
45
- key: 0,
46
- class: "absolute inset-0 flex items-center justify-center"
47
- }, tt = /* @__PURE__ */ N({
48
- __name: "ElAgentButton",
49
- props: {
50
- theme: { default: "primary" },
51
- size: { default: "lg" },
52
- loading: { type: Boolean, default: !1 },
53
- icon: {},
54
- iconAfter: {}
55
- },
56
- setup(e) {
57
- const a = $(() => ({
58
- primary: "bg-primary-600 border-primary-400 hover:border-primary-300 hover:bg-primary-500",
59
- green: "bg-green-600 border-green-400 hover:border-green-300 hover:bg-green-500",
60
- red: "bg-red-600 border-red-400 hover:border-red-300 hover:bg-red-500",
61
- default: "bg-white/10 border-white/20 hover:border-white/40 hover:bg-white/20"
62
- })[e.theme]), t = $(() => ({
63
- sm: "px-4 py-2 text-sm",
64
- md: "px-6 py-3 text-base",
65
- lg: "px-8 py-4 text-base"
66
- })[e.size]), o = $(() => ({
67
- sm: "size-4",
68
- md: "size-4",
69
- lg: "size-5"
70
- })[e.size]);
71
- return (l, n) => (u(), h("button", {
72
- class: A(["relative inline-flex items-center justify-center gap-2 font-medium rounded-full backdrop-blur-sm border-2 text-white transition-all duration-200 focus:outline-none active:opacity-80 disabled:opacity-50 disabled:cursor-not-allowed cursor-pointer", [a.value, t.value]])
73
- }, [
74
- e.loading ? (u(), h("div", It, [...n[0] || (n[0] = [
75
- d("i", { class: "i-svg-spinners-90-ring-with-bg size-5" }, null, -1)
76
- ])])) : M("", !0),
77
- d("span", {
78
- class: A(["flex items-center gap-2 transition-opacity duration-200", e.loading ? "opacity-0" : "opacity-100"])
79
- }, [
80
- e.icon ? (u(), h("i", {
81
- key: 0,
82
- class: A([e.icon, o.value])
83
- }, null, 2)) : M("", !0),
84
- ne(l.$slots, "default"),
85
- e.iconAfter ? (u(), h("i", {
86
- key: 1,
87
- class: A([e.iconAfter, o.value])
88
- }, null, 2)) : M("", !0)
89
- ], 2)
90
- ], 2));
91
- }
92
- }), Tt = ["value"], Et = /* @__PURE__ */ N({
93
- __name: "AgentInputEmail",
94
- props: {
95
- modelValue: { default: "" }
96
- },
97
- emits: ["update:modelValue"],
98
- setup(e, { emit: a }) {
99
- const t = a;
100
- return (o, l) => (u(), h("input", {
101
- type: "email",
102
- autocomplete: "email",
103
- placeholder: "Enter Your Email",
104
- value: e.modelValue,
105
- class: "w-full px-6 py-3 text-theme-900 placeholder-theme-500 bg-white border border-white rounded-full focus:outline-none transition-all",
106
- style: { "font-size": "16px" },
107
- onInput: l[0] || (l[0] = (n) => t("update:modelValue", n.target.value))
108
- }, null, 40, Tt));
109
- }
110
- }), jt = { class: "flex gap-1.5 justify-center" }, Ot = ["onUpdate:modelValue", "onInput", "onKeydown", "onPaste", "onFocus"], Bt = /* @__PURE__ */ N({
111
- __name: "AgentInputOneTimeCode",
112
- props: {
113
- modelValue: {},
114
- length: {},
115
- focusFirst: { type: Boolean }
116
- },
117
- emits: ["update:modelValue", "autoSubmit"],
118
- setup(e, { emit: a }) {
119
- const t = e, o = a, l = W([]), n = W(Array.from({ length: t.length }).fill("")), s = W(!1);
120
- Ve(() => {
121
- t.modelValue && (n.value = t.modelValue.split("").slice(0, t.length)), t.focusFirst && !("ontouchstart" in window) && l.value[0]?.focus();
122
- }), le(() => t.modelValue, (g) => {
123
- n.value = g ? g.split("").slice(0, t.length) : Array.from({ length: t.length }).fill("");
124
- }), le(n, () => {
125
- const g = n.value.filter(Boolean).join("");
126
- o("update:modelValue", g), g.length === t.length && o("autoSubmit", g);
127
- }, { deep: !0 });
128
- function c(g, v) {
129
- v.preventDefault(), s.value = !0;
130
- const z = (v.clipboardData?.getData("text") || "").replace(/\D/g, "");
131
- if (z.length === t.length)
132
- n.value = z.split(""), setTimeout(() => {
133
- l.value[t.length - 1]?.focus(), s.value = !1;
134
- }, 10);
135
- else {
136
- const C = [...n.value];
137
- z.split("").slice(0, t.length - g).forEach((T, U) => {
138
- C[g + U] = T;
139
- }), n.value = C;
140
- const O = Math.min(g + z.length, t.length - 1);
141
- setTimeout(() => {
142
- l.value[O]?.focus(), s.value = !1;
143
- }, 10);
144
- }
145
- }
146
- r(c, "onPaste");
147
- function i(g, v) {
148
- const z = v.target.value.slice(-1).replace(/\D/g, "");
149
- n.value[g] = z, z && g < t.length - 1 && l.value[g + 1]?.focus();
150
- }
151
- r(i, "onInput");
152
- function y(g, v) {
153
- v.key === "Backspace" ? (v.preventDefault(), n.value[g] = "", g > 0 && l.value[g - 1]?.focus()) : v.key === "ArrowLeft" && g > 0 ? l.value[g - 1]?.focus() : v.key === "ArrowRight" && g < t.length - 1 && l.value[g + 1]?.focus();
154
- }
155
- r(y, "onKeydown");
156
- function x(g) {
157
- if (l.value[g]?.select(), !s.value && n.value[g])
158
- for (let v = g; v < t.length; v++)
159
- n.value[v] = "";
160
- }
161
- return r(x, "onFocus"), (g, v) => (u(), h("div", jt, [
162
- (u(!0), h(H, null, pe(e.length, (z) => vt((u(), h("input", {
163
- key: z,
164
- ref_for: !0,
165
- ref: /* @__PURE__ */ r((C) => l.value[z - 1] = C, "ref"),
166
- "onUpdate:modelValue": /* @__PURE__ */ r((C) => n.value[z - 1] = C, "onUpdate:modelValue"),
167
- type: "text",
168
- inputmode: "numeric",
169
- autocomplete: "one-time-code",
170
- class: "size-11 text-center font-mono text-theme-900 bg-white border border-white rounded-lg focus:outline-none transition-all",
171
- style: { "font-size": "16px" },
172
- maxlength: "1",
173
- onInput: /* @__PURE__ */ r((C) => i(z - 1, C), "onInput"),
174
- onKeydown: /* @__PURE__ */ r((C) => y(z - 1, C), "onKeydown"),
175
- onPaste: /* @__PURE__ */ r((C) => c(z - 1, C), "onPaste"),
176
- onFocus: /* @__PURE__ */ r((C) => x(z - 1), "onFocus")
177
- }, null, 40, Ot)), [
178
- [xt, n.value[z - 1]]
179
- ])), 128))
180
- ]));
181
- }
182
- }), Pt = ["data-test-mode"], Rt = { class: "w-full max-w-xs space-y-12" }, Lt = {
44
+ }), It = ["data-test-mode"], Tt = { class: "w-full max-w-xs space-y-12" }, Ot = {
183
45
  key: 0,
184
46
  class: "text-xs text-theme-400 text-center"
185
- }, Nt = { class: "text-base font-light text-white text-center" }, Gt = { class: "space-y-6 relative" }, Ft = {
47
+ }, Et = { class: "text-base font-light text-white text-center" }, jt = { class: "space-y-6 relative" }, Bt = {
186
48
  key: "email-field",
187
49
  class: "w-full"
188
- }, Ut = {
50
+ }, Rt = {
189
51
  key: "code-field",
190
52
  class: "w-full"
191
- }, Fe = /* @__PURE__ */ N({
53
+ }, Ge = /* @__PURE__ */ W({
192
54
  __name: "ElAuthGate",
193
55
  props: {
194
56
  sdk: {}
195
57
  },
196
58
  setup(e) {
197
- const a = W({ email: "", code: "" }), t = W("email"), o = W(!1), l = {
59
+ const a = X({ email: "", code: "" }), t = X("email"), r = X(!1), d = {
198
60
  email: {
199
61
  title: "Enter Your Email",
200
- button: { label: "Continue", disabled: /* @__PURE__ */ r(() => !a.value.email || o.value, "disabled") },
201
- action: /* @__PURE__ */ r(async () => {
202
- if (!o.value) {
203
- o.value = !0;
62
+ button: { label: "Continue", disabled: /* @__PURE__ */ o(() => !a.value.email || r.value, "disabled") },
63
+ action: /* @__PURE__ */ o(async () => {
64
+ if (!r.value) {
65
+ r.value = !0;
204
66
  try {
205
67
  await e.sdk.requestAuthCode({ email: a.value.email }) && (t.value = "code");
206
68
  } finally {
207
- o.value = !1;
69
+ r.value = !1;
208
70
  }
209
71
  }
210
72
  }, "action")
211
73
  },
212
74
  code: {
213
75
  title: "Enter Verification Code",
214
- button: { label: "Verify", disabled: /* @__PURE__ */ r(() => a.value.code.length !== 6 || o.value, "disabled") },
215
- action: /* @__PURE__ */ r(async () => {
216
- if (!o.value) {
217
- o.value = !0;
76
+ button: { label: "Verify", disabled: /* @__PURE__ */ o(() => a.value.code.length !== 6 || r.value, "disabled") },
77
+ action: /* @__PURE__ */ o(async () => {
78
+ if (!r.value) {
79
+ r.value = !0;
218
80
  try {
219
81
  await e.sdk.loginWithCode({ email: a.value.email, code: a.value.code });
220
82
  } finally {
221
- o.value = !1;
83
+ r.value = !1;
222
84
  }
223
85
  }
224
86
  }, "action")
225
87
  }
226
- }, n = $(() => l[t.value]);
227
- return le(() => e.sdk.activeUser.value, (s) => {
88
+ }, l = A(() => d[t.value]);
89
+ return ze(() => e.sdk.activeUser.value, (s) => {
228
90
  s && t.value === "code" && console.log("[ElAuthGate] Authentication successful", { email: s.email });
229
- }), (s, c) => (u(), h("div", {
91
+ }), (s, c) => (m(), f("div", {
230
92
  "data-test": "auth-form",
231
93
  "data-test-mode": t.value,
232
94
  class: "flex flex-col items-center justify-center h-full p-6"
233
95
  }, [
234
- d("div", Rt, [
235
- e.sdk.error.value ? (u(), h("p", Lt, L(e.sdk.error.value), 1)) : M("", !0),
236
- d("h3", Nt, L(n.value.title), 1),
237
- d("div", Gt, [
238
- j(Mt, null, {
239
- default: q(() => [
240
- t.value === "email" ? (u(), h("div", Ft, [
241
- j(Et, {
96
+ i("div", Tt, [
97
+ e.sdk.error.value ? (m(), f("p", Ot, R(e.sdk.error.value), 1)) : S("", !0),
98
+ i("h3", Et, R(l.value.title), 1),
99
+ i("div", jt, [
100
+ I(Vt, null, {
101
+ default: U(() => [
102
+ t.value === "email" ? (m(), f("div", Bt, [
103
+ I(Ct, {
242
104
  modelValue: a.value.email,
243
- "onUpdate:modelValue": c[0] || (c[0] = (i) => a.value.email = i),
105
+ "onUpdate:modelValue": c[0] || (c[0] = (n) => a.value.email = n),
244
106
  "data-test": "auth-email-input",
245
- onKeyup: kt(n.value.action, ["enter"])
107
+ onKeyup: pt(l.value.action, ["enter"])
246
108
  }, null, 8, ["modelValue", "onKeyup"])
247
- ])) : (u(), h("div", Ut, [
248
- j(Bt, {
109
+ ])) : (m(), f("div", Rt, [
110
+ I(zt, {
249
111
  modelValue: a.value.code,
250
- "onUpdate:modelValue": c[1] || (c[1] = (i) => a.value.code = i),
112
+ "onUpdate:modelValue": c[1] || (c[1] = (n) => a.value.code = n),
251
113
  length: 6,
252
114
  "focus-first": !0,
253
115
  "data-test": "auth-code-input",
254
- onAutoSubmit: n.value.action
116
+ onAutoSubmit: l.value.action
255
117
  }, null, 8, ["modelValue", "onAutoSubmit"])
256
118
  ])),
257
- (u(), h("div", {
258
- key: n.value.button.label,
119
+ (m(), f("div", {
120
+ key: l.value.button.label,
259
121
  class: "space-y-4 w-full"
260
122
  }, [
261
- j(tt, {
123
+ I(Ze, {
262
124
  theme: "primary",
263
125
  size: "md",
264
126
  class: "w-full",
265
127
  "data-test": "auth-submit",
266
128
  loading: e.sdk.loading.value,
267
- disabled: n.value.button.disabled() || e.sdk.loading.value,
268
- onClick: n.value.action
129
+ disabled: l.value.button.disabled() || e.sdk.loading.value,
130
+ onClick: l.value.action
269
131
  }, {
270
- default: q(() => [
271
- ie(L(n.value.button.label), 1)
132
+ default: U(() => [
133
+ ne(R(l.value.button.label), 1)
272
134
  ]),
273
135
  _: 1
274
136
  }, 8, ["loading", "disabled", "onClick"]),
275
- t.value === "code" ? (u(), h("button", {
137
+ t.value === "code" ? (m(), f("button", {
276
138
  key: 0,
277
139
  class: "w-full text-xs text-white/50 hover:text-white/70 transition-colors py-2",
278
- onClick: c[2] || (c[2] = (i) => t.value = "email")
279
- }, " Change Email ")) : M("", !0)
140
+ onClick: c[2] || (c[2] = (n) => t.value = "email")
141
+ }, " Change Email ")) : S("", !0)
280
142
  ]))
281
143
  ]),
282
144
  _: 1
283
145
  })
284
146
  ])
285
147
  ])
286
- ], 8, Pt));
148
+ ], 8, It));
287
149
  }
288
- }), Dt = /* @__PURE__ */ r((e, a) => {
150
+ }), Pt = /* @__PURE__ */ o((e, a) => {
289
151
  const t = new Array(e.length + a.length);
290
- for (let o = 0; o < e.length; o++)
291
- t[o] = e[o];
292
- for (let o = 0; o < a.length; o++)
293
- t[e.length + o] = a[o];
152
+ for (let r = 0; r < e.length; r++)
153
+ t[r] = e[r];
154
+ for (let r = 0; r < a.length; r++)
155
+ t[e.length + r] = a[r];
294
156
  return t;
295
- }, "concatArrays"), Wt = /* @__PURE__ */ r((e, a) => ({
157
+ }, "concatArrays"), Lt = /* @__PURE__ */ o((e, a) => ({
296
158
  classGroupId: e,
297
159
  validator: a
298
- }), "createClassValidatorObject"), rt = /* @__PURE__ */ r((e = /* @__PURE__ */ new Map(), a = null, t) => ({
160
+ }), "createClassValidatorObject"), rt = /* @__PURE__ */ o((e = /* @__PURE__ */ new Map(), a = null, t) => ({
299
161
  nextPart: e,
300
162
  validators: a,
301
163
  classGroupId: t
302
- }), "createClassPartObject"), fe = "-", Ue = [], qt = "arbitrary..", Yt = /* @__PURE__ */ r((e) => {
303
- const a = Ht(e), {
164
+ }), "createClassPartObject"), he = "-", Fe = [], Nt = "arbitrary..", Gt = /* @__PURE__ */ o((e) => {
165
+ const a = Ut(e), {
304
166
  conflictingClassGroups: t,
305
- conflictingClassGroupModifiers: o
167
+ conflictingClassGroupModifiers: r
306
168
  } = e;
307
169
  return {
308
- getClassGroupId: /* @__PURE__ */ r((s) => {
170
+ getClassGroupId: /* @__PURE__ */ o((s) => {
309
171
  if (s.startsWith("[") && s.endsWith("]"))
310
- return Kt(s);
311
- const c = s.split(fe), i = c[0] === "" && c.length > 1 ? 1 : 0;
312
- return ot(c, i, a);
172
+ return Ft(s);
173
+ const c = s.split(he), n = c[0] === "" && c.length > 1 ? 1 : 0;
174
+ return ot(c, n, a);
313
175
  }, "getClassGroupId"),
314
- getConflictingClassGroupIds: /* @__PURE__ */ r((s, c) => {
176
+ getConflictingClassGroupIds: /* @__PURE__ */ o((s, c) => {
315
177
  if (c) {
316
- const i = o[s], y = t[s];
317
- return i ? y ? Dt(y, i) : i : y || Ue;
178
+ const n = r[s], v = t[s];
179
+ return n ? v ? Pt(v, n) : n : v || Fe;
318
180
  }
319
- return t[s] || Ue;
181
+ return t[s] || Fe;
320
182
  }, "getConflictingClassGroupIds")
321
183
  };
322
- }, "createClassGroupUtils"), ot = /* @__PURE__ */ r((e, a, t) => {
184
+ }, "createClassGroupUtils"), ot = /* @__PURE__ */ o((e, a, t) => {
323
185
  if (e.length - a === 0)
324
186
  return t.classGroupId;
325
- const l = e[a], n = t.nextPart.get(l);
326
- if (n) {
327
- const y = ot(e, a + 1, n);
328
- if (y) return y;
187
+ const d = e[a], l = t.nextPart.get(d);
188
+ if (l) {
189
+ const v = ot(e, a + 1, l);
190
+ if (v) return v;
329
191
  }
330
192
  const s = t.validators;
331
193
  if (s === null)
332
194
  return;
333
- const c = a === 0 ? e.join(fe) : e.slice(a).join(fe), i = s.length;
334
- for (let y = 0; y < i; y++) {
335
- const x = s[y];
336
- if (x.validator(c))
337
- return x.classGroupId;
195
+ const c = a === 0 ? e.join(he) : e.slice(a).join(he), n = s.length;
196
+ for (let v = 0; v < n; v++) {
197
+ const p = s[v];
198
+ if (p.validator(c))
199
+ return p.classGroupId;
338
200
  }
339
- }, "getGroupRecursive"), Kt = /* @__PURE__ */ r((e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
340
- const a = e.slice(1, -1), t = a.indexOf(":"), o = a.slice(0, t);
341
- return o ? qt + o : void 0;
342
- })(), "getGroupIdForArbitraryProperty"), Ht = /* @__PURE__ */ r((e) => {
201
+ }, "getGroupRecursive"), Ft = /* @__PURE__ */ o((e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
202
+ const a = e.slice(1, -1), t = a.indexOf(":"), r = a.slice(0, t);
203
+ return r ? Nt + r : void 0;
204
+ })(), "getGroupIdForArbitraryProperty"), Ut = /* @__PURE__ */ o((e) => {
343
205
  const {
344
206
  theme: a,
345
207
  classGroups: t
346
208
  } = e;
347
- return Xt(t, a);
348
- }, "createClassMap"), Xt = /* @__PURE__ */ r((e, a) => {
209
+ return Wt(t, a);
210
+ }, "createClassMap"), Wt = /* @__PURE__ */ o((e, a) => {
349
211
  const t = rt();
350
- for (const o in e) {
351
- const l = e[o];
352
- Me(l, t, o, a);
212
+ for (const r in e) {
213
+ const d = e[r];
214
+ Me(d, t, r, a);
353
215
  }
354
216
  return t;
355
- }, "processClassGroups"), Me = /* @__PURE__ */ r((e, a, t, o) => {
356
- const l = e.length;
357
- for (let n = 0; n < l; n++) {
358
- const s = e[n];
359
- Jt(s, a, t, o);
217
+ }, "processClassGroups"), Me = /* @__PURE__ */ o((e, a, t, r) => {
218
+ const d = e.length;
219
+ for (let l = 0; l < d; l++) {
220
+ const s = e[l];
221
+ qt(s, a, t, r);
360
222
  }
361
- }, "processClassesRecursively"), Jt = /* @__PURE__ */ r((e, a, t, o) => {
223
+ }, "processClassesRecursively"), qt = /* @__PURE__ */ o((e, a, t, r) => {
362
224
  if (typeof e == "string") {
363
- Qt(e, a, t);
225
+ Dt(e, a, t);
364
226
  return;
365
227
  }
366
228
  if (typeof e == "function") {
367
- Zt(e, a, t, o);
229
+ Yt(e, a, t, r);
368
230
  return;
369
231
  }
370
- _t(e, a, t, o);
371
- }, "processClassDefinition"), Qt = /* @__PURE__ */ r((e, a, t) => {
372
- const o = e === "" ? a : at(a, e);
373
- o.classGroupId = t;
374
- }, "processStringDefinition"), Zt = /* @__PURE__ */ r((e, a, t, o) => {
375
- if (er(e)) {
376
- Me(e(o), a, t, o);
232
+ Ht(e, a, t, r);
233
+ }, "processClassDefinition"), Dt = /* @__PURE__ */ o((e, a, t) => {
234
+ const r = e === "" ? a : at(a, e);
235
+ r.classGroupId = t;
236
+ }, "processStringDefinition"), Yt = /* @__PURE__ */ o((e, a, t, r) => {
237
+ if (Kt(e)) {
238
+ Me(e(r), a, t, r);
377
239
  return;
378
240
  }
379
- a.validators === null && (a.validators = []), a.validators.push(Wt(t, e));
380
- }, "processFunctionDefinition"), _t = /* @__PURE__ */ r((e, a, t, o) => {
381
- const l = Object.entries(e), n = l.length;
382
- for (let s = 0; s < n; s++) {
383
- const [c, i] = l[s];
384
- Me(i, at(a, c), t, o);
241
+ a.validators === null && (a.validators = []), a.validators.push(Lt(t, e));
242
+ }, "processFunctionDefinition"), Ht = /* @__PURE__ */ o((e, a, t, r) => {
243
+ const d = Object.entries(e), l = d.length;
244
+ for (let s = 0; s < l; s++) {
245
+ const [c, n] = d[s];
246
+ Me(n, at(a, c), t, r);
385
247
  }
386
- }, "processObjectDefinition"), at = /* @__PURE__ */ r((e, a) => {
248
+ }, "processObjectDefinition"), at = /* @__PURE__ */ o((e, a) => {
387
249
  let t = e;
388
- const o = a.split(fe), l = o.length;
389
- for (let n = 0; n < l; n++) {
390
- const s = o[n];
250
+ const r = a.split(he), d = r.length;
251
+ for (let l = 0; l < d; l++) {
252
+ const s = r[l];
391
253
  let c = t.nextPart.get(s);
392
254
  c || (c = rt(), t.nextPart.set(s, c)), t = c;
393
255
  }
394
256
  return t;
395
- }, "getPart"), er = /* @__PURE__ */ r((e) => "isThemeGetter" in e && e.isThemeGetter === !0, "isThemeGetter"), tr = /* @__PURE__ */ r((e) => {
257
+ }, "getPart"), Kt = /* @__PURE__ */ o((e) => "isThemeGetter" in e && e.isThemeGetter === !0, "isThemeGetter"), Xt = /* @__PURE__ */ o((e) => {
396
258
  if (e < 1)
397
259
  return {
398
- get: /* @__PURE__ */ r(() => {
260
+ get: /* @__PURE__ */ o(() => {
399
261
  }, "get"),
400
- set: /* @__PURE__ */ r(() => {
262
+ set: /* @__PURE__ */ o(() => {
401
263
  }, "set")
402
264
  };
403
- let a = 0, t = /* @__PURE__ */ Object.create(null), o = /* @__PURE__ */ Object.create(null);
404
- const l = /* @__PURE__ */ r((n, s) => {
405
- t[n] = s, a++, a > e && (a = 0, o = t, t = /* @__PURE__ */ Object.create(null));
265
+ let a = 0, t = /* @__PURE__ */ Object.create(null), r = /* @__PURE__ */ Object.create(null);
266
+ const d = /* @__PURE__ */ o((l, s) => {
267
+ t[l] = s, a++, a > e && (a = 0, r = t, t = /* @__PURE__ */ Object.create(null));
406
268
  }, "update");
407
269
  return {
408
- get(n) {
409
- let s = t[n];
270
+ get(l) {
271
+ let s = t[l];
410
272
  if (s !== void 0)
411
273
  return s;
412
- if ((s = o[n]) !== void 0)
413
- return l(n, s), s;
274
+ if ((s = r[l]) !== void 0)
275
+ return d(l, s), s;
414
276
  },
415
- set(n, s) {
416
- n in t ? t[n] = s : l(n, s);
277
+ set(l, s) {
278
+ l in t ? t[l] = s : d(l, s);
417
279
  }
418
280
  };
419
- }, "createLruCache"), Se = "!", De = ":", rr = [], We = /* @__PURE__ */ r((e, a, t, o, l) => ({
281
+ }, "createLruCache"), $e = "!", Ue = ":", Jt = [], We = /* @__PURE__ */ o((e, a, t, r, d) => ({
420
282
  modifiers: e,
421
283
  hasImportantModifier: a,
422
284
  baseClassName: t,
423
- maybePostfixModifierPosition: o,
424
- isExternal: l
425
- }), "createResultObject"), or = /* @__PURE__ */ r((e) => {
285
+ maybePostfixModifierPosition: r,
286
+ isExternal: d
287
+ }), "createResultObject"), Qt = /* @__PURE__ */ o((e) => {
426
288
  const {
427
289
  prefix: a,
428
290
  experimentalParseClassName: t
429
291
  } = e;
430
- let o = /* @__PURE__ */ r((l) => {
431
- const n = [];
432
- let s = 0, c = 0, i = 0, y;
433
- const x = l.length;
434
- for (let O = 0; O < x; O++) {
435
- const T = l[O];
292
+ let r = /* @__PURE__ */ o((d) => {
293
+ const l = [];
294
+ let s = 0, c = 0, n = 0, v;
295
+ const p = d.length;
296
+ for (let L = 0; L < p; L++) {
297
+ const T = d[L];
436
298
  if (s === 0 && c === 0) {
437
- if (T === De) {
438
- n.push(l.slice(i, O)), i = O + 1;
299
+ if (T === Ue) {
300
+ l.push(d.slice(n, L)), n = L + 1;
439
301
  continue;
440
302
  }
441
303
  if (T === "/") {
442
- y = O;
304
+ v = L;
443
305
  continue;
444
306
  }
445
307
  }
446
308
  T === "[" ? s++ : T === "]" ? s-- : T === "(" ? c++ : T === ")" && c--;
447
309
  }
448
- const g = n.length === 0 ? l : l.slice(i);
449
- let v = g, z = !1;
450
- g.endsWith(Se) ? (v = g.slice(0, -1), z = !0) : (
310
+ const w = l.length === 0 ? d : d.slice(n);
311
+ let y = w, O = !1;
312
+ w.endsWith($e) ? (y = w.slice(0, -1), O = !0) : (
451
313
  /**
452
314
  * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
453
315
  * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
454
316
  */
455
- g.startsWith(Se) && (v = g.slice(1), z = !0)
317
+ w.startsWith($e) && (y = w.slice(1), O = !0)
456
318
  );
457
- const C = y && y > i ? y - i : void 0;
458
- return We(n, z, v, C);
319
+ const P = v && v > n ? v - n : void 0;
320
+ return We(l, O, y, P);
459
321
  }, "parseClassName");
460
322
  if (a) {
461
- const l = a + De, n = o;
462
- o = /* @__PURE__ */ r((s) => s.startsWith(l) ? n(s.slice(l.length)) : We(rr, !1, s, void 0, !0), "parseClassName");
323
+ const d = a + Ue, l = r;
324
+ r = /* @__PURE__ */ o((s) => s.startsWith(d) ? l(s.slice(d.length)) : We(Jt, !1, s, void 0, !0), "parseClassName");
463
325
  }
464
326
  if (t) {
465
- const l = o;
466
- o = /* @__PURE__ */ r((n) => t({
467
- className: n,
468
- parseClassName: l
327
+ const d = r;
328
+ r = /* @__PURE__ */ o((l) => t({
329
+ className: l,
330
+ parseClassName: d
469
331
  }), "parseClassName");
470
332
  }
471
- return o;
472
- }, "createParseClassName"), ar = /* @__PURE__ */ r((e) => {
333
+ return r;
334
+ }, "createParseClassName"), Zt = /* @__PURE__ */ o((e) => {
473
335
  const a = /* @__PURE__ */ new Map();
474
- return e.orderSensitiveModifiers.forEach((t, o) => {
475
- a.set(t, 1e6 + o);
336
+ return e.orderSensitiveModifiers.forEach((t, r) => {
337
+ a.set(t, 1e6 + r);
476
338
  }), (t) => {
477
- const o = [];
478
- let l = [];
479
- for (let n = 0; n < t.length; n++) {
480
- const s = t[n], c = s[0] === "[", i = a.has(s);
481
- c || i ? (l.length > 0 && (l.sort(), o.push(...l), l = []), o.push(s)) : l.push(s);
339
+ const r = [];
340
+ let d = [];
341
+ for (let l = 0; l < t.length; l++) {
342
+ const s = t[l], c = s[0] === "[", n = a.has(s);
343
+ c || n ? (d.length > 0 && (d.sort(), r.push(...d), d = []), r.push(s)) : d.push(s);
482
344
  }
483
- return l.length > 0 && (l.sort(), o.push(...l)), o;
345
+ return d.length > 0 && (d.sort(), r.push(...d)), r;
484
346
  };
485
- }, "createSortModifiers"), sr = /* @__PURE__ */ r((e) => ({
486
- cache: tr(e.cacheSize),
487
- parseClassName: or(e),
488
- sortModifiers: ar(e),
489
- ...Yt(e)
490
- }), "createConfigUtils"), nr = /\s+/, lr = /* @__PURE__ */ r((e, a) => {
347
+ }, "createSortModifiers"), _t = /* @__PURE__ */ o((e) => ({
348
+ cache: Xt(e.cacheSize),
349
+ parseClassName: Qt(e),
350
+ sortModifiers: Zt(e),
351
+ ...Gt(e)
352
+ }), "createConfigUtils"), er = /\s+/, tr = /* @__PURE__ */ o((e, a) => {
491
353
  const {
492
354
  parseClassName: t,
493
- getClassGroupId: o,
494
- getConflictingClassGroupIds: l,
495
- sortModifiers: n
496
- } = a, s = [], c = e.trim().split(nr);
497
- let i = "";
498
- for (let y = c.length - 1; y >= 0; y -= 1) {
499
- const x = c[y], {
500
- isExternal: g,
501
- modifiers: v,
502
- hasImportantModifier: z,
503
- baseClassName: C,
504
- maybePostfixModifierPosition: O
505
- } = t(x);
506
- if (g) {
507
- i = x + (i.length > 0 ? " " + i : i);
355
+ getClassGroupId: r,
356
+ getConflictingClassGroupIds: d,
357
+ sortModifiers: l
358
+ } = a, s = [], c = e.trim().split(er);
359
+ let n = "";
360
+ for (let v = c.length - 1; v >= 0; v -= 1) {
361
+ const p = c[v], {
362
+ isExternal: w,
363
+ modifiers: y,
364
+ hasImportantModifier: O,
365
+ baseClassName: P,
366
+ maybePostfixModifierPosition: L
367
+ } = t(p);
368
+ if (w) {
369
+ n = p + (n.length > 0 ? " " + n : n);
508
370
  continue;
509
371
  }
510
- let T = !!O, U = o(T ? C.substring(0, O) : C);
511
- if (!U) {
372
+ let T = !!L, q = r(T ? P.substring(0, L) : P);
373
+ if (!q) {
512
374
  if (!T) {
513
- i = x + (i.length > 0 ? " " + i : i);
375
+ n = p + (n.length > 0 ? " " + n : n);
514
376
  continue;
515
377
  }
516
- if (U = o(C), !U) {
517
- i = x + (i.length > 0 ? " " + i : i);
378
+ if (q = r(P), !q) {
379
+ n = p + (n.length > 0 ? " " + n : n);
518
380
  continue;
519
381
  }
520
382
  T = !1;
521
383
  }
522
- const te = v.length === 0 ? "" : v.length === 1 ? v[0] : n(v).join(":"), S = z ? te + Se : te, k = S + U;
523
- if (s.indexOf(k) > -1)
384
+ const te = y.length === 0 ? "" : y.length === 1 ? y[0] : l(y).join(":"), C = O ? te + $e : te, x = C + q;
385
+ if (s.indexOf(x) > -1)
524
386
  continue;
525
- s.push(k);
526
- const V = l(U, T);
527
- for (let Y = 0; Y < V.length; ++Y) {
528
- const ae = V[Y];
529
- s.push(S + ae);
387
+ s.push(x);
388
+ const z = d(q, T);
389
+ for (let D = 0; D < z.length; ++D) {
390
+ const ae = z[D];
391
+ s.push(C + ae);
530
392
  }
531
- i = x + (i.length > 0 ? " " + i : i);
393
+ n = p + (n.length > 0 ? " " + n : n);
532
394
  }
533
- return i;
534
- }, "mergeClassList"), ir = /* @__PURE__ */ r((...e) => {
535
- let a = 0, t, o, l = "";
395
+ return n;
396
+ }, "mergeClassList"), rr = /* @__PURE__ */ o((...e) => {
397
+ let a = 0, t, r, d = "";
536
398
  for (; a < e.length; )
537
- (t = e[a++]) && (o = st(t)) && (l && (l += " "), l += o);
538
- return l;
539
- }, "twJoin"), st = /* @__PURE__ */ r((e) => {
399
+ (t = e[a++]) && (r = st(t)) && (d && (d += " "), d += r);
400
+ return d;
401
+ }, "twJoin"), st = /* @__PURE__ */ o((e) => {
540
402
  if (typeof e == "string")
541
403
  return e;
542
404
  let a, t = "";
543
- for (let o = 0; o < e.length; o++)
544
- e[o] && (a = st(e[o])) && (t && (t += " "), t += a);
405
+ for (let r = 0; r < e.length; r++)
406
+ e[r] && (a = st(e[r])) && (t && (t += " "), t += a);
545
407
  return t;
546
- }, "toValue"), dr = /* @__PURE__ */ r((e, ...a) => {
547
- let t, o, l, n;
548
- const s = /* @__PURE__ */ r((i) => {
549
- const y = a.reduce((x, g) => g(x), e());
550
- return t = sr(y), o = t.cache.get, l = t.cache.set, n = c, c(i);
551
- }, "initTailwindMerge"), c = /* @__PURE__ */ r((i) => {
552
- const y = o(i);
553
- if (y)
554
- return y;
555
- const x = lr(i, t);
556
- return l(i, x), x;
408
+ }, "toValue"), or = /* @__PURE__ */ o((e, ...a) => {
409
+ let t, r, d, l;
410
+ const s = /* @__PURE__ */ o((n) => {
411
+ const v = a.reduce((p, w) => w(p), e());
412
+ return t = _t(v), r = t.cache.get, d = t.cache.set, l = c, c(n);
413
+ }, "initTailwindMerge"), c = /* @__PURE__ */ o((n) => {
414
+ const v = r(n);
415
+ if (v)
416
+ return v;
417
+ const p = tr(n, t);
418
+ return d(n, p), p;
557
419
  }, "tailwindMerge");
558
- return n = s, (...i) => n(ir(...i));
559
- }, "createTailwindMerge"), cr = [], I = /* @__PURE__ */ r((e) => {
560
- const a = /* @__PURE__ */ r((t) => t[e] || cr, "themeGetter");
420
+ return l = s, (...n) => l(rr(...n));
421
+ }, "createTailwindMerge"), ar = [], M = /* @__PURE__ */ o((e) => {
422
+ const a = /* @__PURE__ */ o((t) => t[e] || ar, "themeGetter");
561
423
  return a.isThemeGetter = !0, a;
562
- }, "fromTheme"), nt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, lt = /^\((?:(\w[\w-]*):)?(.+)\)$/i, ur = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, mr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, br = /\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$/, gr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, hr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, fr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, X = /* @__PURE__ */ r((e) => ur.test(e), "isFraction"), w = /* @__PURE__ */ r((e) => !!e && !Number.isNaN(Number(e)), "isNumber"), J = /* @__PURE__ */ r((e) => !!e && Number.isInteger(Number(e)), "isInteger"), Ae = /* @__PURE__ */ r((e) => e.endsWith("%") && w(e.slice(0, -1)), "isPercent"), K = /* @__PURE__ */ r((e) => mr.test(e), "isTshirtSize"), it = /* @__PURE__ */ r(() => !0, "isAny"), pr = /* @__PURE__ */ r((e) => (
424
+ }, "fromTheme"), nt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, lt = /^\((?:(\w[\w-]*):)?(.+)\)$/i, sr = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, nr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, lr = /\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$/, ir = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, dr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, cr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, H = /* @__PURE__ */ o((e) => sr.test(e), "isFraction"), k = /* @__PURE__ */ o((e) => !!e && !Number.isNaN(Number(e)), "isNumber"), K = /* @__PURE__ */ o((e) => !!e && Number.isInteger(Number(e)), "isInteger"), Ce = /* @__PURE__ */ o((e) => e.endsWith("%") && k(e.slice(0, -1)), "isPercent"), Y = /* @__PURE__ */ o((e) => nr.test(e), "isTshirtSize"), it = /* @__PURE__ */ o(() => !0, "isAny"), ur = /* @__PURE__ */ o((e) => (
563
425
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
564
426
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
565
427
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
566
- br.test(e) && !gr.test(e)
567
- ), "isLengthOnly"), Ie = /* @__PURE__ */ r(() => !1, "isNever"), vr = /* @__PURE__ */ r((e) => hr.test(e), "isShadow"), xr = /* @__PURE__ */ r((e) => fr.test(e), "isImage"), kr = /* @__PURE__ */ r((e) => !m(e) && !b(e), "isAnyNonArbitrary"), yr = /* @__PURE__ */ r((e) => Q(e, ut, Ie), "isArbitrarySize"), m = /* @__PURE__ */ r((e) => nt.test(e), "isArbitraryValue"), _ = /* @__PURE__ */ r((e) => Q(e, mt, pr), "isArbitraryLength"), qe = /* @__PURE__ */ r((e) => Q(e, Mr, w), "isArbitraryNumber"), wr = /* @__PURE__ */ r((e) => Q(e, gt, it), "isArbitraryWeight"), zr = /* @__PURE__ */ r((e) => Q(e, bt, Ie), "isArbitraryFamilyName"), Ye = /* @__PURE__ */ r((e) => Q(e, dt, Ie), "isArbitraryPosition"), Cr = /* @__PURE__ */ r((e) => Q(e, ct, xr), "isArbitraryImage"), ge = /* @__PURE__ */ r((e) => Q(e, ht, vr), "isArbitraryShadow"), b = /* @__PURE__ */ r((e) => lt.test(e), "isArbitraryVariable"), se = /* @__PURE__ */ r((e) => ee(e, mt), "isArbitraryVariableLength"), Ar = /* @__PURE__ */ r((e) => ee(e, bt), "isArbitraryVariableFamilyName"), Ke = /* @__PURE__ */ r((e) => ee(e, dt), "isArbitraryVariablePosition"), $r = /* @__PURE__ */ r((e) => ee(e, ut), "isArbitraryVariableSize"), Sr = /* @__PURE__ */ r((e) => ee(e, ct), "isArbitraryVariableImage"), he = /* @__PURE__ */ r((e) => ee(e, ht, !0), "isArbitraryVariableShadow"), Vr = /* @__PURE__ */ r((e) => ee(e, gt, !0), "isArbitraryVariableWeight"), Q = /* @__PURE__ */ r((e, a, t) => {
568
- const o = nt.exec(e);
569
- return o ? o[1] ? a(o[1]) : t(o[2]) : !1;
570
- }, "getIsArbitraryValue"), ee = /* @__PURE__ */ r((e, a, t = !1) => {
571
- const o = lt.exec(e);
572
- return o ? o[1] ? a(o[1]) : t : !1;
573
- }, "getIsArbitraryVariable"), dt = /* @__PURE__ */ r((e) => e === "position" || e === "percentage", "isLabelPosition"), ct = /* @__PURE__ */ r((e) => e === "image" || e === "url", "isLabelImage"), ut = /* @__PURE__ */ r((e) => e === "length" || e === "size" || e === "bg-size", "isLabelSize"), mt = /* @__PURE__ */ r((e) => e === "length", "isLabelLength"), Mr = /* @__PURE__ */ r((e) => e === "number", "isLabelNumber"), bt = /* @__PURE__ */ r((e) => e === "family-name", "isLabelFamilyName"), gt = /* @__PURE__ */ r((e) => e === "number" || e === "weight", "isLabelWeight"), ht = /* @__PURE__ */ r((e) => e === "shadow", "isLabelShadow"), Ir = /* @__PURE__ */ r(() => {
574
- const e = I("color"), a = I("font"), t = I("text"), o = I("font-weight"), l = I("tracking"), n = I("leading"), s = I("breakpoint"), c = I("container"), i = I("spacing"), y = I("radius"), x = I("shadow"), g = I("inset-shadow"), v = I("text-shadow"), z = I("drop-shadow"), C = I("blur"), O = I("perspective"), T = I("aspect"), U = I("ease"), te = I("animate"), S = /* @__PURE__ */ r(() => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], "scaleBreak"), k = /* @__PURE__ */ r(() => [
428
+ lr.test(e) && !ir.test(e)
429
+ ), "isLengthOnly"), Ve = /* @__PURE__ */ o(() => !1, "isNever"), br = /* @__PURE__ */ o((e) => dr.test(e), "isShadow"), mr = /* @__PURE__ */ o((e) => cr.test(e), "isImage"), gr = /* @__PURE__ */ o((e) => !u(e) && !b(e), "isAnyNonArbitrary"), hr = /* @__PURE__ */ o((e) => Q(e, ut, Ve), "isArbitrarySize"), u = /* @__PURE__ */ o((e) => nt.test(e), "isArbitraryValue"), _ = /* @__PURE__ */ o((e) => Q(e, bt, ur), "isArbitraryLength"), qe = /* @__PURE__ */ o((e) => Q(e, Cr, k), "isArbitraryNumber"), fr = /* @__PURE__ */ o((e) => Q(e, gt, it), "isArbitraryWeight"), xr = /* @__PURE__ */ o((e) => Q(e, mt, Ve), "isArbitraryFamilyName"), De = /* @__PURE__ */ o((e) => Q(e, dt, Ve), "isArbitraryPosition"), pr = /* @__PURE__ */ o((e) => Q(e, ct, mr), "isArbitraryImage"), be = /* @__PURE__ */ o((e) => Q(e, ht, br), "isArbitraryShadow"), b = /* @__PURE__ */ o((e) => lt.test(e), "isArbitraryVariable"), se = /* @__PURE__ */ o((e) => ee(e, bt), "isArbitraryVariableLength"), vr = /* @__PURE__ */ o((e) => ee(e, mt), "isArbitraryVariableFamilyName"), Ye = /* @__PURE__ */ o((e) => ee(e, dt), "isArbitraryVariablePosition"), kr = /* @__PURE__ */ o((e) => ee(e, ut), "isArbitraryVariableSize"), yr = /* @__PURE__ */ o((e) => ee(e, ct), "isArbitraryVariableImage"), me = /* @__PURE__ */ o((e) => ee(e, ht, !0), "isArbitraryVariableShadow"), wr = /* @__PURE__ */ o((e) => ee(e, gt, !0), "isArbitraryVariableWeight"), Q = /* @__PURE__ */ o((e, a, t) => {
430
+ const r = nt.exec(e);
431
+ return r ? r[1] ? a(r[1]) : t(r[2]) : !1;
432
+ }, "getIsArbitraryValue"), ee = /* @__PURE__ */ o((e, a, t = !1) => {
433
+ const r = lt.exec(e);
434
+ return r ? r[1] ? a(r[1]) : t : !1;
435
+ }, "getIsArbitraryVariable"), dt = /* @__PURE__ */ o((e) => e === "position" || e === "percentage", "isLabelPosition"), ct = /* @__PURE__ */ o((e) => e === "image" || e === "url", "isLabelImage"), ut = /* @__PURE__ */ o((e) => e === "length" || e === "size" || e === "bg-size", "isLabelSize"), bt = /* @__PURE__ */ o((e) => e === "length", "isLabelLength"), Cr = /* @__PURE__ */ o((e) => e === "number", "isLabelNumber"), mt = /* @__PURE__ */ o((e) => e === "family-name", "isLabelFamilyName"), gt = /* @__PURE__ */ o((e) => e === "number" || e === "weight", "isLabelWeight"), ht = /* @__PURE__ */ o((e) => e === "shadow", "isLabelShadow"), zr = /* @__PURE__ */ o(() => {
436
+ const e = M("color"), a = M("font"), t = M("text"), r = M("font-weight"), d = M("tracking"), l = M("leading"), s = M("breakpoint"), c = M("container"), n = M("spacing"), v = M("radius"), p = M("shadow"), w = M("inset-shadow"), y = M("text-shadow"), O = M("drop-shadow"), P = M("blur"), L = M("perspective"), T = M("aspect"), q = M("ease"), te = M("animate"), C = /* @__PURE__ */ o(() => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], "scaleBreak"), x = /* @__PURE__ */ o(() => [
575
437
  "center",
576
438
  "top",
577
439
  "bottom",
@@ -589,51 +451,51 @@ const et = [
589
451
  "bottom-left",
590
452
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
591
453
  "left-bottom"
592
- ], "scalePosition"), V = /* @__PURE__ */ r(() => [...k(), b, m], "scalePositionWithArbitrary"), Y = /* @__PURE__ */ r(() => ["auto", "hidden", "clip", "visible", "scroll"], "scaleOverflow"), ae = /* @__PURE__ */ r(() => ["auto", "contain", "none"], "scaleOverscroll"), f = /* @__PURE__ */ r(() => [b, m, i], "scaleUnambiguousSpacing"), G = /* @__PURE__ */ r(() => [X, "full", "auto", ...f()], "scaleInset"), Te = /* @__PURE__ */ r(() => [J, "none", "subgrid", b, m], "scaleGridTemplateColsRows"), Ee = /* @__PURE__ */ r(() => ["auto", {
593
- span: ["full", J, b, m]
594
- }, J, b, m], "scaleGridColRowStartAndEnd"), de = /* @__PURE__ */ r(() => [J, "auto", b, m], "scaleGridColRowStartOrEnd"), je = /* @__PURE__ */ r(() => ["auto", "min", "max", "fr", b, m], "scaleGridAutoColsRows"), ve = /* @__PURE__ */ r(() => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], "scaleAlignPrimaryAxis"), re = /* @__PURE__ */ r(() => ["start", "end", "center", "stretch", "center-safe", "end-safe"], "scaleAlignSecondaryAxis"), D = /* @__PURE__ */ r(() => ["auto", ...f()], "scaleMargin"), Z = /* @__PURE__ */ r(() => [X, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...f()], "scaleSizing"), xe = /* @__PURE__ */ r(() => [X, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...f()], "scaleSizingInline"), ke = /* @__PURE__ */ r(() => [X, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...f()], "scaleSizingBlock"), p = /* @__PURE__ */ r(() => [e, b, m], "scaleColor"), Oe = /* @__PURE__ */ r(() => [...k(), Ke, Ye, {
595
- position: [b, m]
596
- }], "scaleBgPosition"), Be = /* @__PURE__ */ r(() => ["no-repeat", {
454
+ ], "scalePosition"), z = /* @__PURE__ */ o(() => [...x(), b, u], "scalePositionWithArbitrary"), D = /* @__PURE__ */ o(() => ["auto", "hidden", "clip", "visible", "scroll"], "scaleOverflow"), ae = /* @__PURE__ */ o(() => ["auto", "contain", "none"], "scaleOverscroll"), g = /* @__PURE__ */ o(() => [b, u, n], "scaleUnambiguousSpacing"), N = /* @__PURE__ */ o(() => [H, "full", "auto", ...g()], "scaleInset"), Ie = /* @__PURE__ */ o(() => [K, "none", "subgrid", b, u], "scaleGridTemplateColsRows"), Te = /* @__PURE__ */ o(() => ["auto", {
455
+ span: ["full", K, b, u]
456
+ }, K, b, u], "scaleGridColRowStartAndEnd"), le = /* @__PURE__ */ o(() => [K, "auto", b, u], "scaleGridColRowStartOrEnd"), Oe = /* @__PURE__ */ o(() => ["auto", "min", "max", "fr", b, u], "scaleGridAutoColsRows"), fe = /* @__PURE__ */ o(() => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], "scaleAlignPrimaryAxis"), re = /* @__PURE__ */ o(() => ["start", "end", "center", "stretch", "center-safe", "end-safe"], "scaleAlignSecondaryAxis"), F = /* @__PURE__ */ o(() => ["auto", ...g()], "scaleMargin"), Z = /* @__PURE__ */ o(() => [H, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...g()], "scaleSizing"), xe = /* @__PURE__ */ o(() => [H, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...g()], "scaleSizingInline"), pe = /* @__PURE__ */ o(() => [H, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...g()], "scaleSizingBlock"), h = /* @__PURE__ */ o(() => [e, b, u], "scaleColor"), Ee = /* @__PURE__ */ o(() => [...x(), Ye, De, {
457
+ position: [b, u]
458
+ }], "scaleBgPosition"), je = /* @__PURE__ */ o(() => ["no-repeat", {
597
459
  repeat: ["", "x", "y", "space", "round"]
598
- }], "scaleBgRepeat"), Pe = /* @__PURE__ */ r(() => ["auto", "cover", "contain", $r, yr, {
599
- size: [b, m]
600
- }], "scaleBgSize"), ye = /* @__PURE__ */ r(() => [Ae, se, _], "scaleGradientStopPosition"), B = /* @__PURE__ */ r(() => [
460
+ }], "scaleBgRepeat"), Be = /* @__PURE__ */ o(() => ["auto", "cover", "contain", kr, hr, {
461
+ size: [b, u]
462
+ }], "scaleBgSize"), ve = /* @__PURE__ */ o(() => [Ce, se, _], "scaleGradientStopPosition"), E = /* @__PURE__ */ o(() => [
601
463
  // Deprecated since Tailwind CSS v4.0.0
602
464
  "",
603
465
  "none",
604
466
  "full",
605
- y,
467
+ v,
606
468
  b,
607
- m
608
- ], "scaleRadius"), P = /* @__PURE__ */ r(() => ["", w, se, _], "scaleBorderWidth"), ce = /* @__PURE__ */ r(() => ["solid", "dashed", "dotted", "double"], "scaleLineStyle"), Re = /* @__PURE__ */ r(() => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], "scaleBlendMode"), E = /* @__PURE__ */ r(() => [w, Ae, Ke, Ye], "scaleMaskImagePosition"), Le = /* @__PURE__ */ r(() => [
469
+ u
470
+ ], "scaleRadius"), j = /* @__PURE__ */ o(() => ["", k, se, _], "scaleBorderWidth"), ie = /* @__PURE__ */ o(() => ["solid", "dashed", "dotted", "double"], "scaleLineStyle"), Re = /* @__PURE__ */ o(() => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], "scaleBlendMode"), V = /* @__PURE__ */ o(() => [k, Ce, Ye, De], "scaleMaskImagePosition"), Pe = /* @__PURE__ */ o(() => [
609
471
  // Deprecated since Tailwind CSS v4.0.0
610
472
  "",
611
473
  "none",
612
- C,
474
+ P,
613
475
  b,
614
- m
615
- ], "scaleBlur"), ue = /* @__PURE__ */ r(() => ["none", w, b, m], "scaleRotate"), me = /* @__PURE__ */ r(() => ["none", w, b, m], "scaleScale"), we = /* @__PURE__ */ r(() => [w, b, m], "scaleSkew"), be = /* @__PURE__ */ r(() => [X, "full", ...f()], "scaleTranslate");
476
+ u
477
+ ], "scaleBlur"), de = /* @__PURE__ */ o(() => ["none", k, b, u], "scaleRotate"), ce = /* @__PURE__ */ o(() => ["none", k, b, u], "scaleScale"), ke = /* @__PURE__ */ o(() => [k, b, u], "scaleSkew"), ue = /* @__PURE__ */ o(() => [H, "full", ...g()], "scaleTranslate");
616
478
  return {
617
479
  cacheSize: 500,
618
480
  theme: {
619
481
  animate: ["spin", "ping", "pulse", "bounce"],
620
482
  aspect: ["video"],
621
- blur: [K],
622
- breakpoint: [K],
483
+ blur: [Y],
484
+ breakpoint: [Y],
623
485
  color: [it],
624
- container: [K],
625
- "drop-shadow": [K],
486
+ container: [Y],
487
+ "drop-shadow": [Y],
626
488
  ease: ["in", "out", "in-out"],
627
- font: [kr],
489
+ font: [gr],
628
490
  "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
629
- "inset-shadow": [K],
491
+ "inset-shadow": [Y],
630
492
  leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
631
493
  perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
632
- radius: [K],
633
- shadow: [K],
634
- spacing: ["px", w],
635
- text: [K],
636
- "text-shadow": [K],
494
+ radius: [Y],
495
+ shadow: [Y],
496
+ spacing: ["px", k],
497
+ text: [Y],
498
+ "text-shadow": [Y],
637
499
  tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
638
500
  },
639
501
  classGroups: {
@@ -645,7 +507,7 @@ const et = [
645
507
  * @see https://tailwindcss.com/docs/aspect-ratio
646
508
  */
647
509
  aspect: [{
648
- aspect: ["auto", "square", X, m, b, T]
510
+ aspect: ["auto", "square", H, u, b, T]
649
511
  }],
650
512
  /**
651
513
  * Container
@@ -658,21 +520,21 @@ const et = [
658
520
  * @see https://tailwindcss.com/docs/columns
659
521
  */
660
522
  columns: [{
661
- columns: [w, m, b, c]
523
+ columns: [k, u, b, c]
662
524
  }],
663
525
  /**
664
526
  * Break After
665
527
  * @see https://tailwindcss.com/docs/break-after
666
528
  */
667
529
  "break-after": [{
668
- "break-after": S()
530
+ "break-after": C()
669
531
  }],
670
532
  /**
671
533
  * Break Before
672
534
  * @see https://tailwindcss.com/docs/break-before
673
535
  */
674
536
  "break-before": [{
675
- "break-before": S()
537
+ "break-before": C()
676
538
  }],
677
539
  /**
678
540
  * Break Inside
@@ -736,28 +598,28 @@ const et = [
736
598
  * @see https://tailwindcss.com/docs/object-position
737
599
  */
738
600
  "object-position": [{
739
- object: V()
601
+ object: z()
740
602
  }],
741
603
  /**
742
604
  * Overflow
743
605
  * @see https://tailwindcss.com/docs/overflow
744
606
  */
745
607
  overflow: [{
746
- overflow: Y()
608
+ overflow: D()
747
609
  }],
748
610
  /**
749
611
  * Overflow X
750
612
  * @see https://tailwindcss.com/docs/overflow
751
613
  */
752
614
  "overflow-x": [{
753
- "overflow-x": Y()
615
+ "overflow-x": D()
754
616
  }],
755
617
  /**
756
618
  * Overflow Y
757
619
  * @see https://tailwindcss.com/docs/overflow
758
620
  */
759
621
  "overflow-y": [{
760
- "overflow-y": Y()
622
+ "overflow-y": D()
761
623
  }],
762
624
  /**
763
625
  * Overscroll Behavior
@@ -790,21 +652,21 @@ const et = [
790
652
  * @see https://tailwindcss.com/docs/top-right-bottom-left
791
653
  */
792
654
  inset: [{
793
- inset: G()
655
+ inset: N()
794
656
  }],
795
657
  /**
796
658
  * Inset Inline
797
659
  * @see https://tailwindcss.com/docs/top-right-bottom-left
798
660
  */
799
661
  "inset-x": [{
800
- "inset-x": G()
662
+ "inset-x": N()
801
663
  }],
802
664
  /**
803
665
  * Inset Block
804
666
  * @see https://tailwindcss.com/docs/top-right-bottom-left
805
667
  */
806
668
  "inset-y": [{
807
- "inset-y": G()
669
+ "inset-y": N()
808
670
  }],
809
671
  /**
810
672
  * Inset Inline Start
@@ -812,12 +674,12 @@ const et = [
812
674
  * @todo class group will be renamed to `inset-s` in next major release
813
675
  */
814
676
  start: [{
815
- "inset-s": G(),
677
+ "inset-s": N(),
816
678
  /**
817
679
  * @deprecated since Tailwind CSS v4.2.0 in favor of `inset-s-*` utilities.
818
680
  * @see https://github.com/tailwindlabs/tailwindcss/pull/19613
819
681
  */
820
- start: G()
682
+ start: N()
821
683
  }],
822
684
  /**
823
685
  * Inset Inline End
@@ -825,54 +687,54 @@ const et = [
825
687
  * @todo class group will be renamed to `inset-e` in next major release
826
688
  */
827
689
  end: [{
828
- "inset-e": G(),
690
+ "inset-e": N(),
829
691
  /**
830
692
  * @deprecated since Tailwind CSS v4.2.0 in favor of `inset-e-*` utilities.
831
693
  * @see https://github.com/tailwindlabs/tailwindcss/pull/19613
832
694
  */
833
- end: G()
695
+ end: N()
834
696
  }],
835
697
  /**
836
698
  * Inset Block Start
837
699
  * @see https://tailwindcss.com/docs/top-right-bottom-left
838
700
  */
839
701
  "inset-bs": [{
840
- "inset-bs": G()
702
+ "inset-bs": N()
841
703
  }],
842
704
  /**
843
705
  * Inset Block End
844
706
  * @see https://tailwindcss.com/docs/top-right-bottom-left
845
707
  */
846
708
  "inset-be": [{
847
- "inset-be": G()
709
+ "inset-be": N()
848
710
  }],
849
711
  /**
850
712
  * Top
851
713
  * @see https://tailwindcss.com/docs/top-right-bottom-left
852
714
  */
853
715
  top: [{
854
- top: G()
716
+ top: N()
855
717
  }],
856
718
  /**
857
719
  * Right
858
720
  * @see https://tailwindcss.com/docs/top-right-bottom-left
859
721
  */
860
722
  right: [{
861
- right: G()
723
+ right: N()
862
724
  }],
863
725
  /**
864
726
  * Bottom
865
727
  * @see https://tailwindcss.com/docs/top-right-bottom-left
866
728
  */
867
729
  bottom: [{
868
- bottom: G()
730
+ bottom: N()
869
731
  }],
870
732
  /**
871
733
  * Left
872
734
  * @see https://tailwindcss.com/docs/top-right-bottom-left
873
735
  */
874
736
  left: [{
875
- left: G()
737
+ left: N()
876
738
  }],
877
739
  /**
878
740
  * Visibility
@@ -884,7 +746,7 @@ const et = [
884
746
  * @see https://tailwindcss.com/docs/z-index
885
747
  */
886
748
  z: [{
887
- z: [J, "auto", b, m]
749
+ z: [K, "auto", b, u]
888
750
  }],
889
751
  // ------------------------
890
752
  // --- Flexbox and Grid ---
@@ -894,7 +756,7 @@ const et = [
894
756
  * @see https://tailwindcss.com/docs/flex-basis
895
757
  */
896
758
  basis: [{
897
- basis: [X, "full", "auto", c, ...f()]
759
+ basis: [H, "full", "auto", c, ...g()]
898
760
  }],
899
761
  /**
900
762
  * Flex Direction
@@ -915,84 +777,84 @@ const et = [
915
777
  * @see https://tailwindcss.com/docs/flex
916
778
  */
917
779
  flex: [{
918
- flex: [w, X, "auto", "initial", "none", m]
780
+ flex: [k, H, "auto", "initial", "none", u]
919
781
  }],
920
782
  /**
921
783
  * Flex Grow
922
784
  * @see https://tailwindcss.com/docs/flex-grow
923
785
  */
924
786
  grow: [{
925
- grow: ["", w, b, m]
787
+ grow: ["", k, b, u]
926
788
  }],
927
789
  /**
928
790
  * Flex Shrink
929
791
  * @see https://tailwindcss.com/docs/flex-shrink
930
792
  */
931
793
  shrink: [{
932
- shrink: ["", w, b, m]
794
+ shrink: ["", k, b, u]
933
795
  }],
934
796
  /**
935
797
  * Order
936
798
  * @see https://tailwindcss.com/docs/order
937
799
  */
938
800
  order: [{
939
- order: [J, "first", "last", "none", b, m]
801
+ order: [K, "first", "last", "none", b, u]
940
802
  }],
941
803
  /**
942
804
  * Grid Template Columns
943
805
  * @see https://tailwindcss.com/docs/grid-template-columns
944
806
  */
945
807
  "grid-cols": [{
946
- "grid-cols": Te()
808
+ "grid-cols": Ie()
947
809
  }],
948
810
  /**
949
811
  * Grid Column Start / End
950
812
  * @see https://tailwindcss.com/docs/grid-column
951
813
  */
952
814
  "col-start-end": [{
953
- col: Ee()
815
+ col: Te()
954
816
  }],
955
817
  /**
956
818
  * Grid Column Start
957
819
  * @see https://tailwindcss.com/docs/grid-column
958
820
  */
959
821
  "col-start": [{
960
- "col-start": de()
822
+ "col-start": le()
961
823
  }],
962
824
  /**
963
825
  * Grid Column End
964
826
  * @see https://tailwindcss.com/docs/grid-column
965
827
  */
966
828
  "col-end": [{
967
- "col-end": de()
829
+ "col-end": le()
968
830
  }],
969
831
  /**
970
832
  * Grid Template Rows
971
833
  * @see https://tailwindcss.com/docs/grid-template-rows
972
834
  */
973
835
  "grid-rows": [{
974
- "grid-rows": Te()
836
+ "grid-rows": Ie()
975
837
  }],
976
838
  /**
977
839
  * Grid Row Start / End
978
840
  * @see https://tailwindcss.com/docs/grid-row
979
841
  */
980
842
  "row-start-end": [{
981
- row: Ee()
843
+ row: Te()
982
844
  }],
983
845
  /**
984
846
  * Grid Row Start
985
847
  * @see https://tailwindcss.com/docs/grid-row
986
848
  */
987
849
  "row-start": [{
988
- "row-start": de()
850
+ "row-start": le()
989
851
  }],
990
852
  /**
991
853
  * Grid Row End
992
854
  * @see https://tailwindcss.com/docs/grid-row
993
855
  */
994
856
  "row-end": [{
995
- "row-end": de()
857
+ "row-end": le()
996
858
  }],
997
859
  /**
998
860
  * Grid Auto Flow
@@ -1006,42 +868,42 @@ const et = [
1006
868
  * @see https://tailwindcss.com/docs/grid-auto-columns
1007
869
  */
1008
870
  "auto-cols": [{
1009
- "auto-cols": je()
871
+ "auto-cols": Oe()
1010
872
  }],
1011
873
  /**
1012
874
  * Grid Auto Rows
1013
875
  * @see https://tailwindcss.com/docs/grid-auto-rows
1014
876
  */
1015
877
  "auto-rows": [{
1016
- "auto-rows": je()
878
+ "auto-rows": Oe()
1017
879
  }],
1018
880
  /**
1019
881
  * Gap
1020
882
  * @see https://tailwindcss.com/docs/gap
1021
883
  */
1022
884
  gap: [{
1023
- gap: f()
885
+ gap: g()
1024
886
  }],
1025
887
  /**
1026
888
  * Gap X
1027
889
  * @see https://tailwindcss.com/docs/gap
1028
890
  */
1029
891
  "gap-x": [{
1030
- "gap-x": f()
892
+ "gap-x": g()
1031
893
  }],
1032
894
  /**
1033
895
  * Gap Y
1034
896
  * @see https://tailwindcss.com/docs/gap
1035
897
  */
1036
898
  "gap-y": [{
1037
- "gap-y": f()
899
+ "gap-y": g()
1038
900
  }],
1039
901
  /**
1040
902
  * Justify Content
1041
903
  * @see https://tailwindcss.com/docs/justify-content
1042
904
  */
1043
905
  "justify-content": [{
1044
- justify: [...ve(), "normal"]
906
+ justify: [...fe(), "normal"]
1045
907
  }],
1046
908
  /**
1047
909
  * Justify Items
@@ -1062,7 +924,7 @@ const et = [
1062
924
  * @see https://tailwindcss.com/docs/align-content
1063
925
  */
1064
926
  "align-content": [{
1065
- content: ["normal", ...ve()]
927
+ content: ["normal", ...fe()]
1066
928
  }],
1067
929
  /**
1068
930
  * Align Items
@@ -1087,7 +949,7 @@ const et = [
1087
949
  * @see https://tailwindcss.com/docs/place-content
1088
950
  */
1089
951
  "place-content": [{
1090
- "place-content": ve()
952
+ "place-content": fe()
1091
953
  }],
1092
954
  /**
1093
955
  * Place Items
@@ -1109,161 +971,161 @@ const et = [
1109
971
  * @see https://tailwindcss.com/docs/padding
1110
972
  */
1111
973
  p: [{
1112
- p: f()
974
+ p: g()
1113
975
  }],
1114
976
  /**
1115
977
  * Padding Inline
1116
978
  * @see https://tailwindcss.com/docs/padding
1117
979
  */
1118
980
  px: [{
1119
- px: f()
981
+ px: g()
1120
982
  }],
1121
983
  /**
1122
984
  * Padding Block
1123
985
  * @see https://tailwindcss.com/docs/padding
1124
986
  */
1125
987
  py: [{
1126
- py: f()
988
+ py: g()
1127
989
  }],
1128
990
  /**
1129
991
  * Padding Inline Start
1130
992
  * @see https://tailwindcss.com/docs/padding
1131
993
  */
1132
994
  ps: [{
1133
- ps: f()
995
+ ps: g()
1134
996
  }],
1135
997
  /**
1136
998
  * Padding Inline End
1137
999
  * @see https://tailwindcss.com/docs/padding
1138
1000
  */
1139
1001
  pe: [{
1140
- pe: f()
1002
+ pe: g()
1141
1003
  }],
1142
1004
  /**
1143
1005
  * Padding Block Start
1144
1006
  * @see https://tailwindcss.com/docs/padding
1145
1007
  */
1146
1008
  pbs: [{
1147
- pbs: f()
1009
+ pbs: g()
1148
1010
  }],
1149
1011
  /**
1150
1012
  * Padding Block End
1151
1013
  * @see https://tailwindcss.com/docs/padding
1152
1014
  */
1153
1015
  pbe: [{
1154
- pbe: f()
1016
+ pbe: g()
1155
1017
  }],
1156
1018
  /**
1157
1019
  * Padding Top
1158
1020
  * @see https://tailwindcss.com/docs/padding
1159
1021
  */
1160
1022
  pt: [{
1161
- pt: f()
1023
+ pt: g()
1162
1024
  }],
1163
1025
  /**
1164
1026
  * Padding Right
1165
1027
  * @see https://tailwindcss.com/docs/padding
1166
1028
  */
1167
1029
  pr: [{
1168
- pr: f()
1030
+ pr: g()
1169
1031
  }],
1170
1032
  /**
1171
1033
  * Padding Bottom
1172
1034
  * @see https://tailwindcss.com/docs/padding
1173
1035
  */
1174
1036
  pb: [{
1175
- pb: f()
1037
+ pb: g()
1176
1038
  }],
1177
1039
  /**
1178
1040
  * Padding Left
1179
1041
  * @see https://tailwindcss.com/docs/padding
1180
1042
  */
1181
1043
  pl: [{
1182
- pl: f()
1044
+ pl: g()
1183
1045
  }],
1184
1046
  /**
1185
1047
  * Margin
1186
1048
  * @see https://tailwindcss.com/docs/margin
1187
1049
  */
1188
1050
  m: [{
1189
- m: D()
1051
+ m: F()
1190
1052
  }],
1191
1053
  /**
1192
1054
  * Margin Inline
1193
1055
  * @see https://tailwindcss.com/docs/margin
1194
1056
  */
1195
1057
  mx: [{
1196
- mx: D()
1058
+ mx: F()
1197
1059
  }],
1198
1060
  /**
1199
1061
  * Margin Block
1200
1062
  * @see https://tailwindcss.com/docs/margin
1201
1063
  */
1202
1064
  my: [{
1203
- my: D()
1065
+ my: F()
1204
1066
  }],
1205
1067
  /**
1206
1068
  * Margin Inline Start
1207
1069
  * @see https://tailwindcss.com/docs/margin
1208
1070
  */
1209
1071
  ms: [{
1210
- ms: D()
1072
+ ms: F()
1211
1073
  }],
1212
1074
  /**
1213
1075
  * Margin Inline End
1214
1076
  * @see https://tailwindcss.com/docs/margin
1215
1077
  */
1216
1078
  me: [{
1217
- me: D()
1079
+ me: F()
1218
1080
  }],
1219
1081
  /**
1220
1082
  * Margin Block Start
1221
1083
  * @see https://tailwindcss.com/docs/margin
1222
1084
  */
1223
1085
  mbs: [{
1224
- mbs: D()
1086
+ mbs: F()
1225
1087
  }],
1226
1088
  /**
1227
1089
  * Margin Block End
1228
1090
  * @see https://tailwindcss.com/docs/margin
1229
1091
  */
1230
1092
  mbe: [{
1231
- mbe: D()
1093
+ mbe: F()
1232
1094
  }],
1233
1095
  /**
1234
1096
  * Margin Top
1235
1097
  * @see https://tailwindcss.com/docs/margin
1236
1098
  */
1237
1099
  mt: [{
1238
- mt: D()
1100
+ mt: F()
1239
1101
  }],
1240
1102
  /**
1241
1103
  * Margin Right
1242
1104
  * @see https://tailwindcss.com/docs/margin
1243
1105
  */
1244
1106
  mr: [{
1245
- mr: D()
1107
+ mr: F()
1246
1108
  }],
1247
1109
  /**
1248
1110
  * Margin Bottom
1249
1111
  * @see https://tailwindcss.com/docs/margin
1250
1112
  */
1251
1113
  mb: [{
1252
- mb: D()
1114
+ mb: F()
1253
1115
  }],
1254
1116
  /**
1255
1117
  * Margin Left
1256
1118
  * @see https://tailwindcss.com/docs/margin
1257
1119
  */
1258
1120
  ml: [{
1259
- ml: D()
1121
+ ml: F()
1260
1122
  }],
1261
1123
  /**
1262
1124
  * Space Between X
1263
1125
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1264
1126
  */
1265
1127
  "space-x": [{
1266
- "space-x": f()
1128
+ "space-x": g()
1267
1129
  }],
1268
1130
  /**
1269
1131
  * Space Between X Reverse
@@ -1275,7 +1137,7 @@ const et = [
1275
1137
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1276
1138
  */
1277
1139
  "space-y": [{
1278
- "space-y": f()
1140
+ "space-y": g()
1279
1141
  }],
1280
1142
  /**
1281
1143
  * Space Between Y Reverse
@@ -1318,21 +1180,21 @@ const et = [
1318
1180
  * @see https://tailwindcss.com/docs/height
1319
1181
  */
1320
1182
  "block-size": [{
1321
- block: ["auto", ...ke()]
1183
+ block: ["auto", ...pe()]
1322
1184
  }],
1323
1185
  /**
1324
1186
  * Min-Block Size
1325
1187
  * @see https://tailwindcss.com/docs/min-height
1326
1188
  */
1327
1189
  "min-block-size": [{
1328
- "min-block": ["auto", ...ke()]
1190
+ "min-block": ["auto", ...pe()]
1329
1191
  }],
1330
1192
  /**
1331
1193
  * Max-Block Size
1332
1194
  * @see https://tailwindcss.com/docs/max-height
1333
1195
  */
1334
1196
  "max-block-size": [{
1335
- "max-block": ["none", ...ke()]
1197
+ "max-block": ["none", ...pe()]
1336
1198
  }],
1337
1199
  /**
1338
1200
  * Width
@@ -1418,28 +1280,28 @@ const et = [
1418
1280
  * @see https://tailwindcss.com/docs/font-weight
1419
1281
  */
1420
1282
  "font-weight": [{
1421
- font: [o, Vr, wr]
1283
+ font: [r, wr, fr]
1422
1284
  }],
1423
1285
  /**
1424
1286
  * Font Stretch
1425
1287
  * @see https://tailwindcss.com/docs/font-stretch
1426
1288
  */
1427
1289
  "font-stretch": [{
1428
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Ae, m]
1290
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Ce, u]
1429
1291
  }],
1430
1292
  /**
1431
1293
  * Font Family
1432
1294
  * @see https://tailwindcss.com/docs/font-family
1433
1295
  */
1434
1296
  "font-family": [{
1435
- font: [Ar, zr, a]
1297
+ font: [vr, xr, a]
1436
1298
  }],
1437
1299
  /**
1438
1300
  * Font Feature Settings
1439
1301
  * @see https://tailwindcss.com/docs/font-feature-settings
1440
1302
  */
1441
1303
  "font-features": [{
1442
- "font-features": [m]
1304
+ "font-features": [u]
1443
1305
  }],
1444
1306
  /**
1445
1307
  * Font Variant Numeric
@@ -1476,14 +1338,14 @@ const et = [
1476
1338
  * @see https://tailwindcss.com/docs/letter-spacing
1477
1339
  */
1478
1340
  tracking: [{
1479
- tracking: [l, b, m]
1341
+ tracking: [d, b, u]
1480
1342
  }],
1481
1343
  /**
1482
1344
  * Line Clamp
1483
1345
  * @see https://tailwindcss.com/docs/line-clamp
1484
1346
  */
1485
1347
  "line-clamp": [{
1486
- "line-clamp": [w, "none", b, qe]
1348
+ "line-clamp": [k, "none", b, qe]
1487
1349
  }],
1488
1350
  /**
1489
1351
  * Line Height
@@ -1492,8 +1354,8 @@ const et = [
1492
1354
  leading: [{
1493
1355
  leading: [
1494
1356
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1495
- n,
1496
- ...f()
1357
+ l,
1358
+ ...g()
1497
1359
  ]
1498
1360
  }],
1499
1361
  /**
@@ -1501,7 +1363,7 @@ const et = [
1501
1363
  * @see https://tailwindcss.com/docs/list-style-image
1502
1364
  */
1503
1365
  "list-image": [{
1504
- "list-image": ["none", b, m]
1366
+ "list-image": ["none", b, u]
1505
1367
  }],
1506
1368
  /**
1507
1369
  * List Style Position
@@ -1515,7 +1377,7 @@ const et = [
1515
1377
  * @see https://tailwindcss.com/docs/list-style-type
1516
1378
  */
1517
1379
  "list-style-type": [{
1518
- list: ["disc", "decimal", "none", b, m]
1380
+ list: ["disc", "decimal", "none", b, u]
1519
1381
  }],
1520
1382
  /**
1521
1383
  * Text Alignment
@@ -1530,14 +1392,14 @@ const et = [
1530
1392
  * @see https://v3.tailwindcss.com/docs/placeholder-color
1531
1393
  */
1532
1394
  "placeholder-color": [{
1533
- placeholder: p()
1395
+ placeholder: h()
1534
1396
  }],
1535
1397
  /**
1536
1398
  * Text Color
1537
1399
  * @see https://tailwindcss.com/docs/text-color
1538
1400
  */
1539
1401
  "text-color": [{
1540
- text: p()
1402
+ text: h()
1541
1403
  }],
1542
1404
  /**
1543
1405
  * Text Decoration
@@ -1549,28 +1411,28 @@ const et = [
1549
1411
  * @see https://tailwindcss.com/docs/text-decoration-style
1550
1412
  */
1551
1413
  "text-decoration-style": [{
1552
- decoration: [...ce(), "wavy"]
1414
+ decoration: [...ie(), "wavy"]
1553
1415
  }],
1554
1416
  /**
1555
1417
  * Text Decoration Thickness
1556
1418
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1557
1419
  */
1558
1420
  "text-decoration-thickness": [{
1559
- decoration: [w, "from-font", "auto", b, _]
1421
+ decoration: [k, "from-font", "auto", b, _]
1560
1422
  }],
1561
1423
  /**
1562
1424
  * Text Decoration Color
1563
1425
  * @see https://tailwindcss.com/docs/text-decoration-color
1564
1426
  */
1565
1427
  "text-decoration-color": [{
1566
- decoration: p()
1428
+ decoration: h()
1567
1429
  }],
1568
1430
  /**
1569
1431
  * Text Underline Offset
1570
1432
  * @see https://tailwindcss.com/docs/text-underline-offset
1571
1433
  */
1572
1434
  "underline-offset": [{
1573
- "underline-offset": [w, "auto", b, m]
1435
+ "underline-offset": [k, "auto", b, u]
1574
1436
  }],
1575
1437
  /**
1576
1438
  * Text Transform
@@ -1594,14 +1456,14 @@ const et = [
1594
1456
  * @see https://tailwindcss.com/docs/text-indent
1595
1457
  */
1596
1458
  indent: [{
1597
- indent: f()
1459
+ indent: g()
1598
1460
  }],
1599
1461
  /**
1600
1462
  * Vertical Alignment
1601
1463
  * @see https://tailwindcss.com/docs/vertical-align
1602
1464
  */
1603
1465
  "vertical-align": [{
1604
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", b, m]
1466
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", b, u]
1605
1467
  }],
1606
1468
  /**
1607
1469
  * Whitespace
@@ -1636,7 +1498,7 @@ const et = [
1636
1498
  * @see https://tailwindcss.com/docs/content
1637
1499
  */
1638
1500
  content: [{
1639
- content: ["none", b, m]
1501
+ content: ["none", b, u]
1640
1502
  }],
1641
1503
  // -------------------
1642
1504
  // --- Backgrounds ---
@@ -1667,21 +1529,21 @@ const et = [
1667
1529
  * @see https://tailwindcss.com/docs/background-position
1668
1530
  */
1669
1531
  "bg-position": [{
1670
- bg: Oe()
1532
+ bg: Ee()
1671
1533
  }],
1672
1534
  /**
1673
1535
  * Background Repeat
1674
1536
  * @see https://tailwindcss.com/docs/background-repeat
1675
1537
  */
1676
1538
  "bg-repeat": [{
1677
- bg: Be()
1539
+ bg: je()
1678
1540
  }],
1679
1541
  /**
1680
1542
  * Background Size
1681
1543
  * @see https://tailwindcss.com/docs/background-size
1682
1544
  */
1683
1545
  "bg-size": [{
1684
- bg: Pe()
1546
+ bg: Be()
1685
1547
  }],
1686
1548
  /**
1687
1549
  * Background Image
@@ -1691,59 +1553,59 @@ const et = [
1691
1553
  bg: ["none", {
1692
1554
  linear: [{
1693
1555
  to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1694
- }, J, b, m],
1695
- radial: ["", b, m],
1696
- conic: [J, b, m]
1697
- }, Sr, Cr]
1556
+ }, K, b, u],
1557
+ radial: ["", b, u],
1558
+ conic: [K, b, u]
1559
+ }, yr, pr]
1698
1560
  }],
1699
1561
  /**
1700
1562
  * Background Color
1701
1563
  * @see https://tailwindcss.com/docs/background-color
1702
1564
  */
1703
1565
  "bg-color": [{
1704
- bg: p()
1566
+ bg: h()
1705
1567
  }],
1706
1568
  /**
1707
1569
  * Gradient Color Stops From Position
1708
1570
  * @see https://tailwindcss.com/docs/gradient-color-stops
1709
1571
  */
1710
1572
  "gradient-from-pos": [{
1711
- from: ye()
1573
+ from: ve()
1712
1574
  }],
1713
1575
  /**
1714
1576
  * Gradient Color Stops Via Position
1715
1577
  * @see https://tailwindcss.com/docs/gradient-color-stops
1716
1578
  */
1717
1579
  "gradient-via-pos": [{
1718
- via: ye()
1580
+ via: ve()
1719
1581
  }],
1720
1582
  /**
1721
1583
  * Gradient Color Stops To Position
1722
1584
  * @see https://tailwindcss.com/docs/gradient-color-stops
1723
1585
  */
1724
1586
  "gradient-to-pos": [{
1725
- to: ye()
1587
+ to: ve()
1726
1588
  }],
1727
1589
  /**
1728
1590
  * Gradient Color Stops From
1729
1591
  * @see https://tailwindcss.com/docs/gradient-color-stops
1730
1592
  */
1731
1593
  "gradient-from": [{
1732
- from: p()
1594
+ from: h()
1733
1595
  }],
1734
1596
  /**
1735
1597
  * Gradient Color Stops Via
1736
1598
  * @see https://tailwindcss.com/docs/gradient-color-stops
1737
1599
  */
1738
1600
  "gradient-via": [{
1739
- via: p()
1601
+ via: h()
1740
1602
  }],
1741
1603
  /**
1742
1604
  * Gradient Color Stops To
1743
1605
  * @see https://tailwindcss.com/docs/gradient-color-stops
1744
1606
  */
1745
1607
  "gradient-to": [{
1746
- to: p()
1608
+ to: h()
1747
1609
  }],
1748
1610
  // ---------------
1749
1611
  // --- Borders ---
@@ -1753,189 +1615,189 @@ const et = [
1753
1615
  * @see https://tailwindcss.com/docs/border-radius
1754
1616
  */
1755
1617
  rounded: [{
1756
- rounded: B()
1618
+ rounded: E()
1757
1619
  }],
1758
1620
  /**
1759
1621
  * Border Radius Start
1760
1622
  * @see https://tailwindcss.com/docs/border-radius
1761
1623
  */
1762
1624
  "rounded-s": [{
1763
- "rounded-s": B()
1625
+ "rounded-s": E()
1764
1626
  }],
1765
1627
  /**
1766
1628
  * Border Radius End
1767
1629
  * @see https://tailwindcss.com/docs/border-radius
1768
1630
  */
1769
1631
  "rounded-e": [{
1770
- "rounded-e": B()
1632
+ "rounded-e": E()
1771
1633
  }],
1772
1634
  /**
1773
1635
  * Border Radius Top
1774
1636
  * @see https://tailwindcss.com/docs/border-radius
1775
1637
  */
1776
1638
  "rounded-t": [{
1777
- "rounded-t": B()
1639
+ "rounded-t": E()
1778
1640
  }],
1779
1641
  /**
1780
1642
  * Border Radius Right
1781
1643
  * @see https://tailwindcss.com/docs/border-radius
1782
1644
  */
1783
1645
  "rounded-r": [{
1784
- "rounded-r": B()
1646
+ "rounded-r": E()
1785
1647
  }],
1786
1648
  /**
1787
1649
  * Border Radius Bottom
1788
1650
  * @see https://tailwindcss.com/docs/border-radius
1789
1651
  */
1790
1652
  "rounded-b": [{
1791
- "rounded-b": B()
1653
+ "rounded-b": E()
1792
1654
  }],
1793
1655
  /**
1794
1656
  * Border Radius Left
1795
1657
  * @see https://tailwindcss.com/docs/border-radius
1796
1658
  */
1797
1659
  "rounded-l": [{
1798
- "rounded-l": B()
1660
+ "rounded-l": E()
1799
1661
  }],
1800
1662
  /**
1801
1663
  * Border Radius Start Start
1802
1664
  * @see https://tailwindcss.com/docs/border-radius
1803
1665
  */
1804
1666
  "rounded-ss": [{
1805
- "rounded-ss": B()
1667
+ "rounded-ss": E()
1806
1668
  }],
1807
1669
  /**
1808
1670
  * Border Radius Start End
1809
1671
  * @see https://tailwindcss.com/docs/border-radius
1810
1672
  */
1811
1673
  "rounded-se": [{
1812
- "rounded-se": B()
1674
+ "rounded-se": E()
1813
1675
  }],
1814
1676
  /**
1815
1677
  * Border Radius End End
1816
1678
  * @see https://tailwindcss.com/docs/border-radius
1817
1679
  */
1818
1680
  "rounded-ee": [{
1819
- "rounded-ee": B()
1681
+ "rounded-ee": E()
1820
1682
  }],
1821
1683
  /**
1822
1684
  * Border Radius End Start
1823
1685
  * @see https://tailwindcss.com/docs/border-radius
1824
1686
  */
1825
1687
  "rounded-es": [{
1826
- "rounded-es": B()
1688
+ "rounded-es": E()
1827
1689
  }],
1828
1690
  /**
1829
1691
  * Border Radius Top Left
1830
1692
  * @see https://tailwindcss.com/docs/border-radius
1831
1693
  */
1832
1694
  "rounded-tl": [{
1833
- "rounded-tl": B()
1695
+ "rounded-tl": E()
1834
1696
  }],
1835
1697
  /**
1836
1698
  * Border Radius Top Right
1837
1699
  * @see https://tailwindcss.com/docs/border-radius
1838
1700
  */
1839
1701
  "rounded-tr": [{
1840
- "rounded-tr": B()
1702
+ "rounded-tr": E()
1841
1703
  }],
1842
1704
  /**
1843
1705
  * Border Radius Bottom Right
1844
1706
  * @see https://tailwindcss.com/docs/border-radius
1845
1707
  */
1846
1708
  "rounded-br": [{
1847
- "rounded-br": B()
1709
+ "rounded-br": E()
1848
1710
  }],
1849
1711
  /**
1850
1712
  * Border Radius Bottom Left
1851
1713
  * @see https://tailwindcss.com/docs/border-radius
1852
1714
  */
1853
1715
  "rounded-bl": [{
1854
- "rounded-bl": B()
1716
+ "rounded-bl": E()
1855
1717
  }],
1856
1718
  /**
1857
1719
  * Border Width
1858
1720
  * @see https://tailwindcss.com/docs/border-width
1859
1721
  */
1860
1722
  "border-w": [{
1861
- border: P()
1723
+ border: j()
1862
1724
  }],
1863
1725
  /**
1864
1726
  * Border Width Inline
1865
1727
  * @see https://tailwindcss.com/docs/border-width
1866
1728
  */
1867
1729
  "border-w-x": [{
1868
- "border-x": P()
1730
+ "border-x": j()
1869
1731
  }],
1870
1732
  /**
1871
1733
  * Border Width Block
1872
1734
  * @see https://tailwindcss.com/docs/border-width
1873
1735
  */
1874
1736
  "border-w-y": [{
1875
- "border-y": P()
1737
+ "border-y": j()
1876
1738
  }],
1877
1739
  /**
1878
1740
  * Border Width Inline Start
1879
1741
  * @see https://tailwindcss.com/docs/border-width
1880
1742
  */
1881
1743
  "border-w-s": [{
1882
- "border-s": P()
1744
+ "border-s": j()
1883
1745
  }],
1884
1746
  /**
1885
1747
  * Border Width Inline End
1886
1748
  * @see https://tailwindcss.com/docs/border-width
1887
1749
  */
1888
1750
  "border-w-e": [{
1889
- "border-e": P()
1751
+ "border-e": j()
1890
1752
  }],
1891
1753
  /**
1892
1754
  * Border Width Block Start
1893
1755
  * @see https://tailwindcss.com/docs/border-width
1894
1756
  */
1895
1757
  "border-w-bs": [{
1896
- "border-bs": P()
1758
+ "border-bs": j()
1897
1759
  }],
1898
1760
  /**
1899
1761
  * Border Width Block End
1900
1762
  * @see https://tailwindcss.com/docs/border-width
1901
1763
  */
1902
1764
  "border-w-be": [{
1903
- "border-be": P()
1765
+ "border-be": j()
1904
1766
  }],
1905
1767
  /**
1906
1768
  * Border Width Top
1907
1769
  * @see https://tailwindcss.com/docs/border-width
1908
1770
  */
1909
1771
  "border-w-t": [{
1910
- "border-t": P()
1772
+ "border-t": j()
1911
1773
  }],
1912
1774
  /**
1913
1775
  * Border Width Right
1914
1776
  * @see https://tailwindcss.com/docs/border-width
1915
1777
  */
1916
1778
  "border-w-r": [{
1917
- "border-r": P()
1779
+ "border-r": j()
1918
1780
  }],
1919
1781
  /**
1920
1782
  * Border Width Bottom
1921
1783
  * @see https://tailwindcss.com/docs/border-width
1922
1784
  */
1923
1785
  "border-w-b": [{
1924
- "border-b": P()
1786
+ "border-b": j()
1925
1787
  }],
1926
1788
  /**
1927
1789
  * Border Width Left
1928
1790
  * @see https://tailwindcss.com/docs/border-width
1929
1791
  */
1930
1792
  "border-w-l": [{
1931
- "border-l": P()
1793
+ "border-l": j()
1932
1794
  }],
1933
1795
  /**
1934
1796
  * Divide Width X
1935
1797
  * @see https://tailwindcss.com/docs/border-width#between-children
1936
1798
  */
1937
1799
  "divide-x": [{
1938
- "divide-x": P()
1800
+ "divide-x": j()
1939
1801
  }],
1940
1802
  /**
1941
1803
  * Divide Width X Reverse
@@ -1947,7 +1809,7 @@ const et = [
1947
1809
  * @see https://tailwindcss.com/docs/border-width#between-children
1948
1810
  */
1949
1811
  "divide-y": [{
1950
- "divide-y": P()
1812
+ "divide-y": j()
1951
1813
  }],
1952
1814
  /**
1953
1815
  * Divide Width Y Reverse
@@ -1959,126 +1821,126 @@ const et = [
1959
1821
  * @see https://tailwindcss.com/docs/border-style
1960
1822
  */
1961
1823
  "border-style": [{
1962
- border: [...ce(), "hidden", "none"]
1824
+ border: [...ie(), "hidden", "none"]
1963
1825
  }],
1964
1826
  /**
1965
1827
  * Divide Style
1966
1828
  * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
1967
1829
  */
1968
1830
  "divide-style": [{
1969
- divide: [...ce(), "hidden", "none"]
1831
+ divide: [...ie(), "hidden", "none"]
1970
1832
  }],
1971
1833
  /**
1972
1834
  * Border Color
1973
1835
  * @see https://tailwindcss.com/docs/border-color
1974
1836
  */
1975
1837
  "border-color": [{
1976
- border: p()
1838
+ border: h()
1977
1839
  }],
1978
1840
  /**
1979
1841
  * Border Color Inline
1980
1842
  * @see https://tailwindcss.com/docs/border-color
1981
1843
  */
1982
1844
  "border-color-x": [{
1983
- "border-x": p()
1845
+ "border-x": h()
1984
1846
  }],
1985
1847
  /**
1986
1848
  * Border Color Block
1987
1849
  * @see https://tailwindcss.com/docs/border-color
1988
1850
  */
1989
1851
  "border-color-y": [{
1990
- "border-y": p()
1852
+ "border-y": h()
1991
1853
  }],
1992
1854
  /**
1993
1855
  * Border Color Inline Start
1994
1856
  * @see https://tailwindcss.com/docs/border-color
1995
1857
  */
1996
1858
  "border-color-s": [{
1997
- "border-s": p()
1859
+ "border-s": h()
1998
1860
  }],
1999
1861
  /**
2000
1862
  * Border Color Inline End
2001
1863
  * @see https://tailwindcss.com/docs/border-color
2002
1864
  */
2003
1865
  "border-color-e": [{
2004
- "border-e": p()
1866
+ "border-e": h()
2005
1867
  }],
2006
1868
  /**
2007
1869
  * Border Color Block Start
2008
1870
  * @see https://tailwindcss.com/docs/border-color
2009
1871
  */
2010
1872
  "border-color-bs": [{
2011
- "border-bs": p()
1873
+ "border-bs": h()
2012
1874
  }],
2013
1875
  /**
2014
1876
  * Border Color Block End
2015
1877
  * @see https://tailwindcss.com/docs/border-color
2016
1878
  */
2017
1879
  "border-color-be": [{
2018
- "border-be": p()
1880
+ "border-be": h()
2019
1881
  }],
2020
1882
  /**
2021
1883
  * Border Color Top
2022
1884
  * @see https://tailwindcss.com/docs/border-color
2023
1885
  */
2024
1886
  "border-color-t": [{
2025
- "border-t": p()
1887
+ "border-t": h()
2026
1888
  }],
2027
1889
  /**
2028
1890
  * Border Color Right
2029
1891
  * @see https://tailwindcss.com/docs/border-color
2030
1892
  */
2031
1893
  "border-color-r": [{
2032
- "border-r": p()
1894
+ "border-r": h()
2033
1895
  }],
2034
1896
  /**
2035
1897
  * Border Color Bottom
2036
1898
  * @see https://tailwindcss.com/docs/border-color
2037
1899
  */
2038
1900
  "border-color-b": [{
2039
- "border-b": p()
1901
+ "border-b": h()
2040
1902
  }],
2041
1903
  /**
2042
1904
  * Border Color Left
2043
1905
  * @see https://tailwindcss.com/docs/border-color
2044
1906
  */
2045
1907
  "border-color-l": [{
2046
- "border-l": p()
1908
+ "border-l": h()
2047
1909
  }],
2048
1910
  /**
2049
1911
  * Divide Color
2050
1912
  * @see https://tailwindcss.com/docs/divide-color
2051
1913
  */
2052
1914
  "divide-color": [{
2053
- divide: p()
1915
+ divide: h()
2054
1916
  }],
2055
1917
  /**
2056
1918
  * Outline Style
2057
1919
  * @see https://tailwindcss.com/docs/outline-style
2058
1920
  */
2059
1921
  "outline-style": [{
2060
- outline: [...ce(), "none", "hidden"]
1922
+ outline: [...ie(), "none", "hidden"]
2061
1923
  }],
2062
1924
  /**
2063
1925
  * Outline Offset
2064
1926
  * @see https://tailwindcss.com/docs/outline-offset
2065
1927
  */
2066
1928
  "outline-offset": [{
2067
- "outline-offset": [w, b, m]
1929
+ "outline-offset": [k, b, u]
2068
1930
  }],
2069
1931
  /**
2070
1932
  * Outline Width
2071
1933
  * @see https://tailwindcss.com/docs/outline-width
2072
1934
  */
2073
1935
  "outline-w": [{
2074
- outline: ["", w, se, _]
1936
+ outline: ["", k, se, _]
2075
1937
  }],
2076
1938
  /**
2077
1939
  * Outline Color
2078
1940
  * @see https://tailwindcss.com/docs/outline-color
2079
1941
  */
2080
1942
  "outline-color": [{
2081
- outline: p()
1943
+ outline: h()
2082
1944
  }],
2083
1945
  // ---------------
2084
1946
  // --- Effects ---
@@ -2092,9 +1954,9 @@ const et = [
2092
1954
  // Deprecated since Tailwind CSS v4.0.0
2093
1955
  "",
2094
1956
  "none",
2095
- x,
2096
- he,
2097
- ge
1957
+ p,
1958
+ me,
1959
+ be
2098
1960
  ]
2099
1961
  }],
2100
1962
  /**
@@ -2102,28 +1964,28 @@ const et = [
2102
1964
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
2103
1965
  */
2104
1966
  "shadow-color": [{
2105
- shadow: p()
1967
+ shadow: h()
2106
1968
  }],
2107
1969
  /**
2108
1970
  * Inset Box Shadow
2109
1971
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
2110
1972
  */
2111
1973
  "inset-shadow": [{
2112
- "inset-shadow": ["none", g, he, ge]
1974
+ "inset-shadow": ["none", w, me, be]
2113
1975
  }],
2114
1976
  /**
2115
1977
  * Inset Box Shadow Color
2116
1978
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
2117
1979
  */
2118
1980
  "inset-shadow-color": [{
2119
- "inset-shadow": p()
1981
+ "inset-shadow": h()
2120
1982
  }],
2121
1983
  /**
2122
1984
  * Ring Width
2123
1985
  * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
2124
1986
  */
2125
1987
  "ring-w": [{
2126
- ring: P()
1988
+ ring: j()
2127
1989
  }],
2128
1990
  /**
2129
1991
  * Ring Width Inset
@@ -2137,7 +1999,7 @@ const et = [
2137
1999
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
2138
2000
  */
2139
2001
  "ring-color": [{
2140
- ring: p()
2002
+ ring: h()
2141
2003
  }],
2142
2004
  /**
2143
2005
  * Ring Offset Width
@@ -2146,7 +2008,7 @@ const et = [
2146
2008
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2147
2009
  */
2148
2010
  "ring-offset-w": [{
2149
- "ring-offset": [w, _]
2011
+ "ring-offset": [k, _]
2150
2012
  }],
2151
2013
  /**
2152
2014
  * Ring Offset Color
@@ -2155,42 +2017,42 @@ const et = [
2155
2017
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2156
2018
  */
2157
2019
  "ring-offset-color": [{
2158
- "ring-offset": p()
2020
+ "ring-offset": h()
2159
2021
  }],
2160
2022
  /**
2161
2023
  * Inset Ring Width
2162
2024
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
2163
2025
  */
2164
2026
  "inset-ring-w": [{
2165
- "inset-ring": P()
2027
+ "inset-ring": j()
2166
2028
  }],
2167
2029
  /**
2168
2030
  * Inset Ring Color
2169
2031
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
2170
2032
  */
2171
2033
  "inset-ring-color": [{
2172
- "inset-ring": p()
2034
+ "inset-ring": h()
2173
2035
  }],
2174
2036
  /**
2175
2037
  * Text Shadow
2176
2038
  * @see https://tailwindcss.com/docs/text-shadow
2177
2039
  */
2178
2040
  "text-shadow": [{
2179
- "text-shadow": ["none", v, he, ge]
2041
+ "text-shadow": ["none", y, me, be]
2180
2042
  }],
2181
2043
  /**
2182
2044
  * Text Shadow Color
2183
2045
  * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
2184
2046
  */
2185
2047
  "text-shadow-color": [{
2186
- "text-shadow": p()
2048
+ "text-shadow": h()
2187
2049
  }],
2188
2050
  /**
2189
2051
  * Opacity
2190
2052
  * @see https://tailwindcss.com/docs/opacity
2191
2053
  */
2192
2054
  opacity: [{
2193
- opacity: [w, b, m]
2055
+ opacity: [k, b, u]
2194
2056
  }],
2195
2057
  /**
2196
2058
  * Mix Blend Mode
@@ -2225,106 +2087,106 @@ const et = [
2225
2087
  * @see https://tailwindcss.com/docs/mask-image
2226
2088
  */
2227
2089
  "mask-image-linear-pos": [{
2228
- "mask-linear": [w]
2090
+ "mask-linear": [k]
2229
2091
  }],
2230
2092
  "mask-image-linear-from-pos": [{
2231
- "mask-linear-from": E()
2093
+ "mask-linear-from": V()
2232
2094
  }],
2233
2095
  "mask-image-linear-to-pos": [{
2234
- "mask-linear-to": E()
2096
+ "mask-linear-to": V()
2235
2097
  }],
2236
2098
  "mask-image-linear-from-color": [{
2237
- "mask-linear-from": p()
2099
+ "mask-linear-from": h()
2238
2100
  }],
2239
2101
  "mask-image-linear-to-color": [{
2240
- "mask-linear-to": p()
2102
+ "mask-linear-to": h()
2241
2103
  }],
2242
2104
  "mask-image-t-from-pos": [{
2243
- "mask-t-from": E()
2105
+ "mask-t-from": V()
2244
2106
  }],
2245
2107
  "mask-image-t-to-pos": [{
2246
- "mask-t-to": E()
2108
+ "mask-t-to": V()
2247
2109
  }],
2248
2110
  "mask-image-t-from-color": [{
2249
- "mask-t-from": p()
2111
+ "mask-t-from": h()
2250
2112
  }],
2251
2113
  "mask-image-t-to-color": [{
2252
- "mask-t-to": p()
2114
+ "mask-t-to": h()
2253
2115
  }],
2254
2116
  "mask-image-r-from-pos": [{
2255
- "mask-r-from": E()
2117
+ "mask-r-from": V()
2256
2118
  }],
2257
2119
  "mask-image-r-to-pos": [{
2258
- "mask-r-to": E()
2120
+ "mask-r-to": V()
2259
2121
  }],
2260
2122
  "mask-image-r-from-color": [{
2261
- "mask-r-from": p()
2123
+ "mask-r-from": h()
2262
2124
  }],
2263
2125
  "mask-image-r-to-color": [{
2264
- "mask-r-to": p()
2126
+ "mask-r-to": h()
2265
2127
  }],
2266
2128
  "mask-image-b-from-pos": [{
2267
- "mask-b-from": E()
2129
+ "mask-b-from": V()
2268
2130
  }],
2269
2131
  "mask-image-b-to-pos": [{
2270
- "mask-b-to": E()
2132
+ "mask-b-to": V()
2271
2133
  }],
2272
2134
  "mask-image-b-from-color": [{
2273
- "mask-b-from": p()
2135
+ "mask-b-from": h()
2274
2136
  }],
2275
2137
  "mask-image-b-to-color": [{
2276
- "mask-b-to": p()
2138
+ "mask-b-to": h()
2277
2139
  }],
2278
2140
  "mask-image-l-from-pos": [{
2279
- "mask-l-from": E()
2141
+ "mask-l-from": V()
2280
2142
  }],
2281
2143
  "mask-image-l-to-pos": [{
2282
- "mask-l-to": E()
2144
+ "mask-l-to": V()
2283
2145
  }],
2284
2146
  "mask-image-l-from-color": [{
2285
- "mask-l-from": p()
2147
+ "mask-l-from": h()
2286
2148
  }],
2287
2149
  "mask-image-l-to-color": [{
2288
- "mask-l-to": p()
2150
+ "mask-l-to": h()
2289
2151
  }],
2290
2152
  "mask-image-x-from-pos": [{
2291
- "mask-x-from": E()
2153
+ "mask-x-from": V()
2292
2154
  }],
2293
2155
  "mask-image-x-to-pos": [{
2294
- "mask-x-to": E()
2156
+ "mask-x-to": V()
2295
2157
  }],
2296
2158
  "mask-image-x-from-color": [{
2297
- "mask-x-from": p()
2159
+ "mask-x-from": h()
2298
2160
  }],
2299
2161
  "mask-image-x-to-color": [{
2300
- "mask-x-to": p()
2162
+ "mask-x-to": h()
2301
2163
  }],
2302
2164
  "mask-image-y-from-pos": [{
2303
- "mask-y-from": E()
2165
+ "mask-y-from": V()
2304
2166
  }],
2305
2167
  "mask-image-y-to-pos": [{
2306
- "mask-y-to": E()
2168
+ "mask-y-to": V()
2307
2169
  }],
2308
2170
  "mask-image-y-from-color": [{
2309
- "mask-y-from": p()
2171
+ "mask-y-from": h()
2310
2172
  }],
2311
2173
  "mask-image-y-to-color": [{
2312
- "mask-y-to": p()
2174
+ "mask-y-to": h()
2313
2175
  }],
2314
2176
  "mask-image-radial": [{
2315
- "mask-radial": [b, m]
2177
+ "mask-radial": [b, u]
2316
2178
  }],
2317
2179
  "mask-image-radial-from-pos": [{
2318
- "mask-radial-from": E()
2180
+ "mask-radial-from": V()
2319
2181
  }],
2320
2182
  "mask-image-radial-to-pos": [{
2321
- "mask-radial-to": E()
2183
+ "mask-radial-to": V()
2322
2184
  }],
2323
2185
  "mask-image-radial-from-color": [{
2324
- "mask-radial-from": p()
2186
+ "mask-radial-from": h()
2325
2187
  }],
2326
2188
  "mask-image-radial-to-color": [{
2327
- "mask-radial-to": p()
2189
+ "mask-radial-to": h()
2328
2190
  }],
2329
2191
  "mask-image-radial-shape": [{
2330
2192
  "mask-radial": ["circle", "ellipse"]
@@ -2336,22 +2198,22 @@ const et = [
2336
2198
  }]
2337
2199
  }],
2338
2200
  "mask-image-radial-pos": [{
2339
- "mask-radial-at": k()
2201
+ "mask-radial-at": x()
2340
2202
  }],
2341
2203
  "mask-image-conic-pos": [{
2342
- "mask-conic": [w]
2204
+ "mask-conic": [k]
2343
2205
  }],
2344
2206
  "mask-image-conic-from-pos": [{
2345
- "mask-conic-from": E()
2207
+ "mask-conic-from": V()
2346
2208
  }],
2347
2209
  "mask-image-conic-to-pos": [{
2348
- "mask-conic-to": E()
2210
+ "mask-conic-to": V()
2349
2211
  }],
2350
2212
  "mask-image-conic-from-color": [{
2351
- "mask-conic-from": p()
2213
+ "mask-conic-from": h()
2352
2214
  }],
2353
2215
  "mask-image-conic-to-color": [{
2354
- "mask-conic-to": p()
2216
+ "mask-conic-to": h()
2355
2217
  }],
2356
2218
  /**
2357
2219
  * Mask Mode
@@ -2372,21 +2234,21 @@ const et = [
2372
2234
  * @see https://tailwindcss.com/docs/mask-position
2373
2235
  */
2374
2236
  "mask-position": [{
2375
- mask: Oe()
2237
+ mask: Ee()
2376
2238
  }],
2377
2239
  /**
2378
2240
  * Mask Repeat
2379
2241
  * @see https://tailwindcss.com/docs/mask-repeat
2380
2242
  */
2381
2243
  "mask-repeat": [{
2382
- mask: Be()
2244
+ mask: je()
2383
2245
  }],
2384
2246
  /**
2385
2247
  * Mask Size
2386
2248
  * @see https://tailwindcss.com/docs/mask-size
2387
2249
  */
2388
2250
  "mask-size": [{
2389
- mask: Pe()
2251
+ mask: Be()
2390
2252
  }],
2391
2253
  /**
2392
2254
  * Mask Type
@@ -2400,7 +2262,7 @@ const et = [
2400
2262
  * @see https://tailwindcss.com/docs/mask-image
2401
2263
  */
2402
2264
  "mask-image": [{
2403
- mask: ["none", b, m]
2265
+ mask: ["none", b, u]
2404
2266
  }],
2405
2267
  // ---------------
2406
2268
  // --- Filters ---
@@ -2415,7 +2277,7 @@ const et = [
2415
2277
  "",
2416
2278
  "none",
2417
2279
  b,
2418
- m
2280
+ u
2419
2281
  ]
2420
2282
  }],
2421
2283
  /**
@@ -2423,21 +2285,21 @@ const et = [
2423
2285
  * @see https://tailwindcss.com/docs/blur
2424
2286
  */
2425
2287
  blur: [{
2426
- blur: Le()
2288
+ blur: Pe()
2427
2289
  }],
2428
2290
  /**
2429
2291
  * Brightness
2430
2292
  * @see https://tailwindcss.com/docs/brightness
2431
2293
  */
2432
2294
  brightness: [{
2433
- brightness: [w, b, m]
2295
+ brightness: [k, b, u]
2434
2296
  }],
2435
2297
  /**
2436
2298
  * Contrast
2437
2299
  * @see https://tailwindcss.com/docs/contrast
2438
2300
  */
2439
2301
  contrast: [{
2440
- contrast: [w, b, m]
2302
+ contrast: [k, b, u]
2441
2303
  }],
2442
2304
  /**
2443
2305
  * Drop Shadow
@@ -2448,9 +2310,9 @@ const et = [
2448
2310
  // Deprecated since Tailwind CSS v4.0.0
2449
2311
  "",
2450
2312
  "none",
2451
- z,
2452
- he,
2453
- ge
2313
+ O,
2314
+ me,
2315
+ be
2454
2316
  ]
2455
2317
  }],
2456
2318
  /**
@@ -2458,42 +2320,42 @@ const et = [
2458
2320
  * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
2459
2321
  */
2460
2322
  "drop-shadow-color": [{
2461
- "drop-shadow": p()
2323
+ "drop-shadow": h()
2462
2324
  }],
2463
2325
  /**
2464
2326
  * Grayscale
2465
2327
  * @see https://tailwindcss.com/docs/grayscale
2466
2328
  */
2467
2329
  grayscale: [{
2468
- grayscale: ["", w, b, m]
2330
+ grayscale: ["", k, b, u]
2469
2331
  }],
2470
2332
  /**
2471
2333
  * Hue Rotate
2472
2334
  * @see https://tailwindcss.com/docs/hue-rotate
2473
2335
  */
2474
2336
  "hue-rotate": [{
2475
- "hue-rotate": [w, b, m]
2337
+ "hue-rotate": [k, b, u]
2476
2338
  }],
2477
2339
  /**
2478
2340
  * Invert
2479
2341
  * @see https://tailwindcss.com/docs/invert
2480
2342
  */
2481
2343
  invert: [{
2482
- invert: ["", w, b, m]
2344
+ invert: ["", k, b, u]
2483
2345
  }],
2484
2346
  /**
2485
2347
  * Saturate
2486
2348
  * @see https://tailwindcss.com/docs/saturate
2487
2349
  */
2488
2350
  saturate: [{
2489
- saturate: [w, b, m]
2351
+ saturate: [k, b, u]
2490
2352
  }],
2491
2353
  /**
2492
2354
  * Sepia
2493
2355
  * @see https://tailwindcss.com/docs/sepia
2494
2356
  */
2495
2357
  sepia: [{
2496
- sepia: ["", w, b, m]
2358
+ sepia: ["", k, b, u]
2497
2359
  }],
2498
2360
  /**
2499
2361
  * Backdrop Filter
@@ -2505,7 +2367,7 @@ const et = [
2505
2367
  "",
2506
2368
  "none",
2507
2369
  b,
2508
- m
2370
+ u
2509
2371
  ]
2510
2372
  }],
2511
2373
  /**
@@ -2513,63 +2375,63 @@ const et = [
2513
2375
  * @see https://tailwindcss.com/docs/backdrop-blur
2514
2376
  */
2515
2377
  "backdrop-blur": [{
2516
- "backdrop-blur": Le()
2378
+ "backdrop-blur": Pe()
2517
2379
  }],
2518
2380
  /**
2519
2381
  * Backdrop Brightness
2520
2382
  * @see https://tailwindcss.com/docs/backdrop-brightness
2521
2383
  */
2522
2384
  "backdrop-brightness": [{
2523
- "backdrop-brightness": [w, b, m]
2385
+ "backdrop-brightness": [k, b, u]
2524
2386
  }],
2525
2387
  /**
2526
2388
  * Backdrop Contrast
2527
2389
  * @see https://tailwindcss.com/docs/backdrop-contrast
2528
2390
  */
2529
2391
  "backdrop-contrast": [{
2530
- "backdrop-contrast": [w, b, m]
2392
+ "backdrop-contrast": [k, b, u]
2531
2393
  }],
2532
2394
  /**
2533
2395
  * Backdrop Grayscale
2534
2396
  * @see https://tailwindcss.com/docs/backdrop-grayscale
2535
2397
  */
2536
2398
  "backdrop-grayscale": [{
2537
- "backdrop-grayscale": ["", w, b, m]
2399
+ "backdrop-grayscale": ["", k, b, u]
2538
2400
  }],
2539
2401
  /**
2540
2402
  * Backdrop Hue Rotate
2541
2403
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2542
2404
  */
2543
2405
  "backdrop-hue-rotate": [{
2544
- "backdrop-hue-rotate": [w, b, m]
2406
+ "backdrop-hue-rotate": [k, b, u]
2545
2407
  }],
2546
2408
  /**
2547
2409
  * Backdrop Invert
2548
2410
  * @see https://tailwindcss.com/docs/backdrop-invert
2549
2411
  */
2550
2412
  "backdrop-invert": [{
2551
- "backdrop-invert": ["", w, b, m]
2413
+ "backdrop-invert": ["", k, b, u]
2552
2414
  }],
2553
2415
  /**
2554
2416
  * Backdrop Opacity
2555
2417
  * @see https://tailwindcss.com/docs/backdrop-opacity
2556
2418
  */
2557
2419
  "backdrop-opacity": [{
2558
- "backdrop-opacity": [w, b, m]
2420
+ "backdrop-opacity": [k, b, u]
2559
2421
  }],
2560
2422
  /**
2561
2423
  * Backdrop Saturate
2562
2424
  * @see https://tailwindcss.com/docs/backdrop-saturate
2563
2425
  */
2564
2426
  "backdrop-saturate": [{
2565
- "backdrop-saturate": [w, b, m]
2427
+ "backdrop-saturate": [k, b, u]
2566
2428
  }],
2567
2429
  /**
2568
2430
  * Backdrop Sepia
2569
2431
  * @see https://tailwindcss.com/docs/backdrop-sepia
2570
2432
  */
2571
2433
  "backdrop-sepia": [{
2572
- "backdrop-sepia": ["", w, b, m]
2434
+ "backdrop-sepia": ["", k, b, u]
2573
2435
  }],
2574
2436
  // --------------
2575
2437
  // --- Tables ---
@@ -2586,21 +2448,21 @@ const et = [
2586
2448
  * @see https://tailwindcss.com/docs/border-spacing
2587
2449
  */
2588
2450
  "border-spacing": [{
2589
- "border-spacing": f()
2451
+ "border-spacing": g()
2590
2452
  }],
2591
2453
  /**
2592
2454
  * Border Spacing X
2593
2455
  * @see https://tailwindcss.com/docs/border-spacing
2594
2456
  */
2595
2457
  "border-spacing-x": [{
2596
- "border-spacing-x": f()
2458
+ "border-spacing-x": g()
2597
2459
  }],
2598
2460
  /**
2599
2461
  * Border Spacing Y
2600
2462
  * @see https://tailwindcss.com/docs/border-spacing
2601
2463
  */
2602
2464
  "border-spacing-y": [{
2603
- "border-spacing-y": f()
2465
+ "border-spacing-y": g()
2604
2466
  }],
2605
2467
  /**
2606
2468
  * Table Layout
@@ -2624,7 +2486,7 @@ const et = [
2624
2486
  * @see https://tailwindcss.com/docs/transition-property
2625
2487
  */
2626
2488
  transition: [{
2627
- transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", b, m]
2489
+ transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", b, u]
2628
2490
  }],
2629
2491
  /**
2630
2492
  * Transition Behavior
@@ -2638,28 +2500,28 @@ const et = [
2638
2500
  * @see https://tailwindcss.com/docs/transition-duration
2639
2501
  */
2640
2502
  duration: [{
2641
- duration: [w, "initial", b, m]
2503
+ duration: [k, "initial", b, u]
2642
2504
  }],
2643
2505
  /**
2644
2506
  * Transition Timing Function
2645
2507
  * @see https://tailwindcss.com/docs/transition-timing-function
2646
2508
  */
2647
2509
  ease: [{
2648
- ease: ["linear", "initial", U, b, m]
2510
+ ease: ["linear", "initial", q, b, u]
2649
2511
  }],
2650
2512
  /**
2651
2513
  * Transition Delay
2652
2514
  * @see https://tailwindcss.com/docs/transition-delay
2653
2515
  */
2654
2516
  delay: [{
2655
- delay: [w, b, m]
2517
+ delay: [k, b, u]
2656
2518
  }],
2657
2519
  /**
2658
2520
  * Animation
2659
2521
  * @see https://tailwindcss.com/docs/animation
2660
2522
  */
2661
2523
  animate: [{
2662
- animate: ["none", te, b, m]
2524
+ animate: ["none", te, b, u]
2663
2525
  }],
2664
2526
  // ------------------
2665
2527
  // --- Transforms ---
@@ -2676,70 +2538,70 @@ const et = [
2676
2538
  * @see https://tailwindcss.com/docs/perspective
2677
2539
  */
2678
2540
  perspective: [{
2679
- perspective: [O, b, m]
2541
+ perspective: [L, b, u]
2680
2542
  }],
2681
2543
  /**
2682
2544
  * Perspective Origin
2683
2545
  * @see https://tailwindcss.com/docs/perspective-origin
2684
2546
  */
2685
2547
  "perspective-origin": [{
2686
- "perspective-origin": V()
2548
+ "perspective-origin": z()
2687
2549
  }],
2688
2550
  /**
2689
2551
  * Rotate
2690
2552
  * @see https://tailwindcss.com/docs/rotate
2691
2553
  */
2692
2554
  rotate: [{
2693
- rotate: ue()
2555
+ rotate: de()
2694
2556
  }],
2695
2557
  /**
2696
2558
  * Rotate X
2697
2559
  * @see https://tailwindcss.com/docs/rotate
2698
2560
  */
2699
2561
  "rotate-x": [{
2700
- "rotate-x": ue()
2562
+ "rotate-x": de()
2701
2563
  }],
2702
2564
  /**
2703
2565
  * Rotate Y
2704
2566
  * @see https://tailwindcss.com/docs/rotate
2705
2567
  */
2706
2568
  "rotate-y": [{
2707
- "rotate-y": ue()
2569
+ "rotate-y": de()
2708
2570
  }],
2709
2571
  /**
2710
2572
  * Rotate Z
2711
2573
  * @see https://tailwindcss.com/docs/rotate
2712
2574
  */
2713
2575
  "rotate-z": [{
2714
- "rotate-z": ue()
2576
+ "rotate-z": de()
2715
2577
  }],
2716
2578
  /**
2717
2579
  * Scale
2718
2580
  * @see https://tailwindcss.com/docs/scale
2719
2581
  */
2720
2582
  scale: [{
2721
- scale: me()
2583
+ scale: ce()
2722
2584
  }],
2723
2585
  /**
2724
2586
  * Scale X
2725
2587
  * @see https://tailwindcss.com/docs/scale
2726
2588
  */
2727
2589
  "scale-x": [{
2728
- "scale-x": me()
2590
+ "scale-x": ce()
2729
2591
  }],
2730
2592
  /**
2731
2593
  * Scale Y
2732
2594
  * @see https://tailwindcss.com/docs/scale
2733
2595
  */
2734
2596
  "scale-y": [{
2735
- "scale-y": me()
2597
+ "scale-y": ce()
2736
2598
  }],
2737
2599
  /**
2738
2600
  * Scale Z
2739
2601
  * @see https://tailwindcss.com/docs/scale
2740
2602
  */
2741
2603
  "scale-z": [{
2742
- "scale-z": me()
2604
+ "scale-z": ce()
2743
2605
  }],
2744
2606
  /**
2745
2607
  * Scale 3D
@@ -2751,35 +2613,35 @@ const et = [
2751
2613
  * @see https://tailwindcss.com/docs/skew
2752
2614
  */
2753
2615
  skew: [{
2754
- skew: we()
2616
+ skew: ke()
2755
2617
  }],
2756
2618
  /**
2757
2619
  * Skew X
2758
2620
  * @see https://tailwindcss.com/docs/skew
2759
2621
  */
2760
2622
  "skew-x": [{
2761
- "skew-x": we()
2623
+ "skew-x": ke()
2762
2624
  }],
2763
2625
  /**
2764
2626
  * Skew Y
2765
2627
  * @see https://tailwindcss.com/docs/skew
2766
2628
  */
2767
2629
  "skew-y": [{
2768
- "skew-y": we()
2630
+ "skew-y": ke()
2769
2631
  }],
2770
2632
  /**
2771
2633
  * Transform
2772
2634
  * @see https://tailwindcss.com/docs/transform
2773
2635
  */
2774
2636
  transform: [{
2775
- transform: [b, m, "", "none", "gpu", "cpu"]
2637
+ transform: [b, u, "", "none", "gpu", "cpu"]
2776
2638
  }],
2777
2639
  /**
2778
2640
  * Transform Origin
2779
2641
  * @see https://tailwindcss.com/docs/transform-origin
2780
2642
  */
2781
2643
  "transform-origin": [{
2782
- origin: V()
2644
+ origin: z()
2783
2645
  }],
2784
2646
  /**
2785
2647
  * Transform Style
@@ -2793,28 +2655,28 @@ const et = [
2793
2655
  * @see https://tailwindcss.com/docs/translate
2794
2656
  */
2795
2657
  translate: [{
2796
- translate: be()
2658
+ translate: ue()
2797
2659
  }],
2798
2660
  /**
2799
2661
  * Translate X
2800
2662
  * @see https://tailwindcss.com/docs/translate
2801
2663
  */
2802
2664
  "translate-x": [{
2803
- "translate-x": be()
2665
+ "translate-x": ue()
2804
2666
  }],
2805
2667
  /**
2806
2668
  * Translate Y
2807
2669
  * @see https://tailwindcss.com/docs/translate
2808
2670
  */
2809
2671
  "translate-y": [{
2810
- "translate-y": be()
2672
+ "translate-y": ue()
2811
2673
  }],
2812
2674
  /**
2813
2675
  * Translate Z
2814
2676
  * @see https://tailwindcss.com/docs/translate
2815
2677
  */
2816
2678
  "translate-z": [{
2817
- "translate-z": be()
2679
+ "translate-z": ue()
2818
2680
  }],
2819
2681
  /**
2820
2682
  * Translate None
@@ -2829,7 +2691,7 @@ const et = [
2829
2691
  * @see https://tailwindcss.com/docs/accent-color
2830
2692
  */
2831
2693
  accent: [{
2832
- accent: p()
2694
+ accent: h()
2833
2695
  }],
2834
2696
  /**
2835
2697
  * Appearance
@@ -2843,7 +2705,7 @@ const et = [
2843
2705
  * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2844
2706
  */
2845
2707
  "caret-color": [{
2846
- caret: p()
2708
+ caret: h()
2847
2709
  }],
2848
2710
  /**
2849
2711
  * Color Scheme
@@ -2857,7 +2719,7 @@ const et = [
2857
2719
  * @see https://tailwindcss.com/docs/cursor
2858
2720
  */
2859
2721
  cursor: [{
2860
- cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", b, m]
2722
+ cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", b, u]
2861
2723
  }],
2862
2724
  /**
2863
2725
  * Field Sizing
@@ -2892,154 +2754,154 @@ const et = [
2892
2754
  * @see https://tailwindcss.com/docs/scroll-margin
2893
2755
  */
2894
2756
  "scroll-m": [{
2895
- "scroll-m": f()
2757
+ "scroll-m": g()
2896
2758
  }],
2897
2759
  /**
2898
2760
  * Scroll Margin Inline
2899
2761
  * @see https://tailwindcss.com/docs/scroll-margin
2900
2762
  */
2901
2763
  "scroll-mx": [{
2902
- "scroll-mx": f()
2764
+ "scroll-mx": g()
2903
2765
  }],
2904
2766
  /**
2905
2767
  * Scroll Margin Block
2906
2768
  * @see https://tailwindcss.com/docs/scroll-margin
2907
2769
  */
2908
2770
  "scroll-my": [{
2909
- "scroll-my": f()
2771
+ "scroll-my": g()
2910
2772
  }],
2911
2773
  /**
2912
2774
  * Scroll Margin Inline Start
2913
2775
  * @see https://tailwindcss.com/docs/scroll-margin
2914
2776
  */
2915
2777
  "scroll-ms": [{
2916
- "scroll-ms": f()
2778
+ "scroll-ms": g()
2917
2779
  }],
2918
2780
  /**
2919
2781
  * Scroll Margin Inline End
2920
2782
  * @see https://tailwindcss.com/docs/scroll-margin
2921
2783
  */
2922
2784
  "scroll-me": [{
2923
- "scroll-me": f()
2785
+ "scroll-me": g()
2924
2786
  }],
2925
2787
  /**
2926
2788
  * Scroll Margin Block Start
2927
2789
  * @see https://tailwindcss.com/docs/scroll-margin
2928
2790
  */
2929
2791
  "scroll-mbs": [{
2930
- "scroll-mbs": f()
2792
+ "scroll-mbs": g()
2931
2793
  }],
2932
2794
  /**
2933
2795
  * Scroll Margin Block End
2934
2796
  * @see https://tailwindcss.com/docs/scroll-margin
2935
2797
  */
2936
2798
  "scroll-mbe": [{
2937
- "scroll-mbe": f()
2799
+ "scroll-mbe": g()
2938
2800
  }],
2939
2801
  /**
2940
2802
  * Scroll Margin Top
2941
2803
  * @see https://tailwindcss.com/docs/scroll-margin
2942
2804
  */
2943
2805
  "scroll-mt": [{
2944
- "scroll-mt": f()
2806
+ "scroll-mt": g()
2945
2807
  }],
2946
2808
  /**
2947
2809
  * Scroll Margin Right
2948
2810
  * @see https://tailwindcss.com/docs/scroll-margin
2949
2811
  */
2950
2812
  "scroll-mr": [{
2951
- "scroll-mr": f()
2813
+ "scroll-mr": g()
2952
2814
  }],
2953
2815
  /**
2954
2816
  * Scroll Margin Bottom
2955
2817
  * @see https://tailwindcss.com/docs/scroll-margin
2956
2818
  */
2957
2819
  "scroll-mb": [{
2958
- "scroll-mb": f()
2820
+ "scroll-mb": g()
2959
2821
  }],
2960
2822
  /**
2961
2823
  * Scroll Margin Left
2962
2824
  * @see https://tailwindcss.com/docs/scroll-margin
2963
2825
  */
2964
2826
  "scroll-ml": [{
2965
- "scroll-ml": f()
2827
+ "scroll-ml": g()
2966
2828
  }],
2967
2829
  /**
2968
2830
  * Scroll Padding
2969
2831
  * @see https://tailwindcss.com/docs/scroll-padding
2970
2832
  */
2971
2833
  "scroll-p": [{
2972
- "scroll-p": f()
2834
+ "scroll-p": g()
2973
2835
  }],
2974
2836
  /**
2975
2837
  * Scroll Padding Inline
2976
2838
  * @see https://tailwindcss.com/docs/scroll-padding
2977
2839
  */
2978
2840
  "scroll-px": [{
2979
- "scroll-px": f()
2841
+ "scroll-px": g()
2980
2842
  }],
2981
2843
  /**
2982
2844
  * Scroll Padding Block
2983
2845
  * @see https://tailwindcss.com/docs/scroll-padding
2984
2846
  */
2985
2847
  "scroll-py": [{
2986
- "scroll-py": f()
2848
+ "scroll-py": g()
2987
2849
  }],
2988
2850
  /**
2989
2851
  * Scroll Padding Inline Start
2990
2852
  * @see https://tailwindcss.com/docs/scroll-padding
2991
2853
  */
2992
2854
  "scroll-ps": [{
2993
- "scroll-ps": f()
2855
+ "scroll-ps": g()
2994
2856
  }],
2995
2857
  /**
2996
2858
  * Scroll Padding Inline End
2997
2859
  * @see https://tailwindcss.com/docs/scroll-padding
2998
2860
  */
2999
2861
  "scroll-pe": [{
3000
- "scroll-pe": f()
2862
+ "scroll-pe": g()
3001
2863
  }],
3002
2864
  /**
3003
2865
  * Scroll Padding Block Start
3004
2866
  * @see https://tailwindcss.com/docs/scroll-padding
3005
2867
  */
3006
2868
  "scroll-pbs": [{
3007
- "scroll-pbs": f()
2869
+ "scroll-pbs": g()
3008
2870
  }],
3009
2871
  /**
3010
2872
  * Scroll Padding Block End
3011
2873
  * @see https://tailwindcss.com/docs/scroll-padding
3012
2874
  */
3013
2875
  "scroll-pbe": [{
3014
- "scroll-pbe": f()
2876
+ "scroll-pbe": g()
3015
2877
  }],
3016
2878
  /**
3017
2879
  * Scroll Padding Top
3018
2880
  * @see https://tailwindcss.com/docs/scroll-padding
3019
2881
  */
3020
2882
  "scroll-pt": [{
3021
- "scroll-pt": f()
2883
+ "scroll-pt": g()
3022
2884
  }],
3023
2885
  /**
3024
2886
  * Scroll Padding Right
3025
2887
  * @see https://tailwindcss.com/docs/scroll-padding
3026
2888
  */
3027
2889
  "scroll-pr": [{
3028
- "scroll-pr": f()
2890
+ "scroll-pr": g()
3029
2891
  }],
3030
2892
  /**
3031
2893
  * Scroll Padding Bottom
3032
2894
  * @see https://tailwindcss.com/docs/scroll-padding
3033
2895
  */
3034
2896
  "scroll-pb": [{
3035
- "scroll-pb": f()
2897
+ "scroll-pb": g()
3036
2898
  }],
3037
2899
  /**
3038
2900
  * Scroll Padding Left
3039
2901
  * @see https://tailwindcss.com/docs/scroll-padding
3040
2902
  */
3041
2903
  "scroll-pl": [{
3042
- "scroll-pl": f()
2904
+ "scroll-pl": g()
3043
2905
  }],
3044
2906
  /**
3045
2907
  * Scroll Snap Align
@@ -3107,7 +2969,7 @@ const et = [
3107
2969
  * @see https://tailwindcss.com/docs/will-change
3108
2970
  */
3109
2971
  "will-change": [{
3110
- "will-change": ["auto", "scroll", "contents", "transform", b, m]
2972
+ "will-change": ["auto", "scroll", "contents", "transform", b, u]
3111
2973
  }],
3112
2974
  // -----------
3113
2975
  // --- SVG ---
@@ -3117,21 +2979,21 @@ const et = [
3117
2979
  * @see https://tailwindcss.com/docs/fill
3118
2980
  */
3119
2981
  fill: [{
3120
- fill: ["none", ...p()]
2982
+ fill: ["none", ...h()]
3121
2983
  }],
3122
2984
  /**
3123
2985
  * Stroke Width
3124
2986
  * @see https://tailwindcss.com/docs/stroke-width
3125
2987
  */
3126
2988
  "stroke-w": [{
3127
- stroke: [w, se, _, qe]
2989
+ stroke: [k, se, _, qe]
3128
2990
  }],
3129
2991
  /**
3130
2992
  * Stroke
3131
2993
  * @see https://tailwindcss.com/docs/stroke
3132
2994
  */
3133
2995
  stroke: [{
3134
- stroke: ["none", ...p()]
2996
+ stroke: ["none", ...h()]
3135
2997
  }],
3136
2998
  // ---------------------
3137
2999
  // --- Accessibility ---
@@ -3199,7 +3061,7 @@ const et = [
3199
3061
  },
3200
3062
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
3201
3063
  };
3202
- }, "getDefaultConfig"), Tr = /* @__PURE__ */ dr(Ir), He = {
3064
+ }, "getDefaultConfig"), Ar = /* @__PURE__ */ or(zr), He = {
3203
3065
  default: {
3204
3066
  solid: {
3205
3067
  base: "bg-theme-0 dark:bg-theme-700/40 text-theme-600 dark:text-theme-50",
@@ -3485,10 +3347,10 @@ const et = [
3485
3347
  icon: "text-red-600 dark:text-red-400"
3486
3348
  }
3487
3349
  }
3488
- }, Er = {
3350
+ }, $r = {
3489
3351
  key: 0,
3490
3352
  class: "absolute inset-0 flex items-center justify-center"
3491
- }, Xe = /* @__PURE__ */ N({
3353
+ }, Ke = /* @__PURE__ */ W({
3492
3354
  __name: "FButton",
3493
3355
  props: {
3494
3356
  theme: { default: "default" },
@@ -3504,111 +3366,111 @@ const et = [
3504
3366
  class: { default: "" }
3505
3367
  },
3506
3368
  setup(e) {
3507
- const a = $(() => typeof e.icon == "string" ? e.icon : e.icon?.className), t = $(() => typeof e.iconAfter == "string" ? e.iconAfter : e.iconAfter?.className), o = $(() => e.href ? "a" : e.tag), l = $(() => ({
3369
+ const a = A(() => typeof e.icon == "string" ? e.icon : e.icon?.className), t = A(() => typeof e.iconAfter == "string" ? e.iconAfter : e.iconAfter?.className), r = A(() => e.href ? "a" : e.tag), d = A(() => ({
3508
3370
  xxs: "size-2.5",
3509
3371
  xs: "size-3",
3510
3372
  sm: "size-3.5",
3511
3373
  md: "size-4",
3512
3374
  lg: "size-5",
3513
3375
  xl: "size-6"
3514
- })[e.size]), n = $(() => {
3515
- const i = He[e.theme]?.[e.design] || He.default[e.design];
3516
- return i || console.warn(`FButton: No theme configuration found for theme "${e.theme}" and design "${e.design}". Falling back to default solid theme.`), i || { base: "", border: "", hover: "", icon: "" };
3517
- }), s = $(() => {
3518
- const i = "relative inline-flex items-center justify-center gap-2 font-medium transition-colors duration-200 focus:outline-none active:opacity-80 cursor-pointer", y = {
3376
+ })[e.size]), l = A(() => {
3377
+ const n = He[e.theme]?.[e.design] || He.default[e.design];
3378
+ return n || console.warn(`FButton: No theme configuration found for theme "${e.theme}" and design "${e.design}". Falling back to default solid theme.`), n || { base: "", border: "", hover: "", icon: "" };
3379
+ }), s = A(() => {
3380
+ const n = "relative inline-flex items-center justify-center gap-2 font-medium transition-colors duration-200 focus:outline-none active:opacity-80 cursor-pointer", v = {
3519
3381
  xxs: "px-2 py-0.5 text-[10px]",
3520
3382
  xs: "px-3 py-1 text-[11px]",
3521
3383
  sm: "px-3 py-1.5 text-xs",
3522
3384
  md: "px-4 py-2 text-sm",
3523
3385
  lg: "px-6 py-3 text-base",
3524
3386
  xl: "px-8 py-4 text-base"
3525
- }, x = e.design === "link" ? "!px-1" : "", g = {
3387
+ }, p = e.design === "link" ? "!px-1" : "", w = {
3526
3388
  md: "rounded-md",
3527
3389
  lg: "rounded-lg",
3528
3390
  "2xl": "rounded-2xl",
3529
3391
  full: "rounded-full"
3530
- }, v = n.value, z = e.disabled ? "opacity-50 cursor-not-allowed pointer-events-none" : "", C = [
3531
- i,
3532
- y[e.size],
3533
- x,
3534
- g[e.rounding],
3535
- v.base,
3536
- `border ${v.border}`,
3537
- e.disabled ? "" : v.hover,
3538
- z
3392
+ }, y = l.value, O = e.disabled ? "opacity-50 cursor-not-allowed pointer-events-none" : "", P = [
3393
+ n,
3394
+ v[e.size],
3395
+ p,
3396
+ w[e.rounding],
3397
+ y.base,
3398
+ `border ${y.border}`,
3399
+ e.disabled ? "" : y.hover,
3400
+ O
3539
3401
  ].filter(Boolean).join(" ");
3540
- return Tr(C, e.class);
3541
- }), c = $(() => ({
3542
- design: n.value.icon || ""
3402
+ return Ar(P, e.class);
3403
+ }), c = A(() => ({
3404
+ design: l.value.icon || ""
3543
3405
  }));
3544
- return (i, y) => (u(), F(yt(o.value), {
3406
+ return (n, v) => (m(), G(vt(r.value), {
3545
3407
  href: e.disabled ? void 0 : e.href,
3546
3408
  disabled: e.disabled || void 0,
3547
3409
  "aria-disabled": e.disabled || void 0,
3548
- class: A(s.value)
3410
+ class: $(s.value)
3549
3411
  }, {
3550
- default: q(() => [
3551
- e.loading ? (u(), h("div", Er, [
3552
- j(Ze, {
3553
- class: A(l.value)
3412
+ default: U(() => [
3413
+ e.loading ? (m(), f("div", $r, [
3414
+ I(_e, {
3415
+ class: $(d.value)
3554
3416
  }, null, 8, ["class"])
3555
- ])) : M("", !0),
3556
- d("span", {
3557
- class: A(["flex items-center gap-2 transition-opacity duration-200 whitespace-nowrap", e.loading ? "opacity-0" : "opacity-100"])
3417
+ ])) : S("", !0),
3418
+ i("span", {
3419
+ class: $(["flex items-center gap-2 transition-opacity duration-200 whitespace-nowrap", e.loading ? "opacity-0" : "opacity-100"])
3558
3420
  }, [
3559
- a.value ? (u(), h("span", {
3421
+ a.value ? (m(), f("span", {
3560
3422
  key: 0,
3561
- class: A(["flex items-center size-[1.1em] mt-[-.07em]", [a.value, c.value.design]])
3562
- }, null, 2)) : M("", !0),
3563
- ne(i.$slots, "default"),
3564
- t.value ? (u(), h("span", {
3423
+ class: $(["flex items-center size-[1.1em] mt-[-.07em]", [a.value, c.value.design]])
3424
+ }, null, 2)) : S("", !0),
3425
+ ge(n.$slots, "default"),
3426
+ t.value ? (m(), f("span", {
3565
3427
  key: 1,
3566
- class: A(["flex items-center size-[1.1em] mt-[-.07em]", [t.value, c.value.design]])
3567
- }, null, 2)) : M("", !0)
3428
+ class: $(["flex items-center size-[1.1em] mt-[-.07em]", [t.value, c.value.design]])
3429
+ }, null, 2)) : S("", !0)
3568
3430
  ], 2)
3569
3431
  ]),
3570
3432
  _: 3
3571
3433
  }, 8, ["href", "disabled", "aria-disabled", "class"]));
3572
3434
  }
3573
- }), jr = { 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" }, Or = { class: "flex-1 space-y-6 pb-12" }, Br = {
3435
+ }), Sr = { 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" }, Mr = { class: "flex-1 space-y-6 pb-12" }, Vr = {
3574
3436
  key: 0,
3575
3437
  class: "text-sm bg-white/10 backdrop-blur-sm rounded-2xl p-4 border border-white/20 space-y-3"
3576
- }, Pr = ["innerHTML"], Rr = {
3438
+ }, Ir = ["innerHTML"], Tr = {
3577
3439
  key: 1,
3578
3440
  class: "bg-white/5 backdrop-blur-sm rounded-2xl p-4 border border-white/10"
3579
- }, Lr = { class: "text-sm text-white/70 leading-relaxed" }, Nr = {
3441
+ }, Or = { class: "text-sm text-white/70 leading-relaxed" }, Er = {
3580
3442
  key: 2,
3581
3443
  class: "space-y-3"
3582
- }, Gr = {
3444
+ }, jr = {
3583
3445
  key: 3,
3584
3446
  class: "space-y-3"
3585
- }, Fr = { class: "grid grid-cols-2 gap-3" }, Ur = /* @__PURE__ */ N({
3447
+ }, Br = { class: "grid grid-cols-2 gap-3" }, Rr = /* @__PURE__ */ W({
3586
3448
  __name: "ElAgentAbout",
3587
3449
  props: {
3588
3450
  agent: {},
3589
3451
  isOnline: { type: Boolean, default: !1 }
3590
3452
  },
3591
3453
  setup(e) {
3592
- return (a, t) => (u(), h("div", jr, [
3593
- j(_e, {
3454
+ return (a, t) => (m(), f("div", Sr, [
3455
+ I(et, {
3594
3456
  agent: e.agent,
3595
3457
  "is-online": e.isOnline
3596
3458
  }, null, 8, ["agent", "is-online"]),
3597
- d("div", Or, [
3598
- e.agent.summary.value ? (u(), h("div", Br, [
3599
- t[0] || (t[0] = d("h3", { class: "font-medium text-white/50" }, " About ", -1)),
3600
- d("div", {
3459
+ i("div", Mr, [
3460
+ e.agent.summary.value ? (m(), f("div", Vr, [
3461
+ t[0] || (t[0] = i("h3", { class: "font-medium text-white/50" }, " About ", -1)),
3462
+ i("div", {
3601
3463
  class: "text-white/70 leading-relaxed",
3602
3464
  innerHTML: e.agent.summary.value
3603
- }, null, 8, Pr)
3604
- ])) : M("", !0),
3605
- e.agent.entityType.value === "company" ? (u(), h("div", Rr, [
3606
- t[1] || (t[1] = d("h3", { class: "text-sm font-medium text-white/90 mb-2" }, " Company Info ", -1)),
3607
- d("p", Lr, " This is a company agent representing " + L(e.agent.name.value) + ". ", 1)
3608
- ])) : M("", !0),
3609
- e.agent.email.value ? (u(), h("div", Nr, [
3610
- t[3] || (t[3] = d("h3", { class: "text-sm font-medium text-white/90" }, " Contact ", -1)),
3611
- j(Xe, {
3465
+ }, null, 8, Ir)
3466
+ ])) : S("", !0),
3467
+ e.agent.entityType.value === "company" ? (m(), f("div", Tr, [
3468
+ t[1] || (t[1] = i("h3", { class: "text-sm font-medium text-white/90 mb-2" }, " Company Info ", -1)),
3469
+ i("p", Or, " This is a company agent representing " + R(e.agent.name.value) + ". ", 1)
3470
+ ])) : S("", !0),
3471
+ e.agent.email.value ? (m(), f("div", Er, [
3472
+ t[3] || (t[3] = i("h3", { class: "text-sm font-medium text-white/90" }, " Contact ", -1)),
3473
+ I(Ke, {
3612
3474
  design: "ghost",
3613
3475
  theme: "default",
3614
3476
  size: "sm",
@@ -3617,109 +3479,109 @@ const et = [
3617
3479
  href: `mailto:${e.agent.email.value}`,
3618
3480
  target: "_blank"
3619
3481
  }, {
3620
- default: q(() => [...t[2] || (t[2] = [
3621
- ie(" Email ", -1)
3482
+ default: U(() => [...t[2] || (t[2] = [
3483
+ ne(" Email ", -1)
3622
3484
  ])]),
3623
3485
  _: 1
3624
3486
  }, 8, ["href"])
3625
- ])) : M("", !0),
3626
- e.agent.accounts.value && e.agent.accounts.value.length > 0 ? (u(), h("div", Gr, [
3627
- t[4] || (t[4] = d("h3", { class: "text-sm font-medium text-white/90" }, " Links ", -1)),
3628
- d("div", Fr, [
3629
- (u(!0), h(H, null, pe(e.agent.accounts.value, (o) => (u(), F(Xe, {
3630
- key: `${o.platform}-${o.handle}`,
3487
+ ])) : S("", !0),
3488
+ e.agent.accounts.value && e.agent.accounts.value.length > 0 ? (m(), f("div", jr, [
3489
+ t[4] || (t[4] = i("h3", { class: "text-sm font-medium text-white/90" }, " Links ", -1)),
3490
+ i("div", Br, [
3491
+ (m(!0), f(J, null, Se(e.agent.accounts.value, (r) => (m(), G(Ke, {
3492
+ key: `${r.platform}-${r.handle}`,
3631
3493
  design: "ghost",
3632
3494
  theme: "default",
3633
3495
  size: "md",
3634
3496
  class: "bg-white/10 hover:bg-white/20 border border-white/20 text-white/80",
3635
- icon: R(oe)[o.platform].icon,
3636
- href: R(oe)[o.platform].getUrl(o.handle),
3497
+ icon: B(oe)[r.platform].icon,
3498
+ href: B(oe)[r.platform].getUrl(r.handle),
3637
3499
  target: "_blank"
3638
3500
  }, {
3639
- default: q(() => [
3640
- ie(L(R(oe)[o.platform].label), 1)
3501
+ default: U(() => [
3502
+ ne(R(B(oe)[r.platform].label), 1)
3641
3503
  ]),
3642
3504
  _: 2
3643
3505
  }, 1032, ["icon", "href"]))), 128))
3644
3506
  ])
3645
- ])) : M("", !0)
3507
+ ])) : S("", !0)
3646
3508
  ])
3647
3509
  ]));
3648
3510
  }
3649
- }), Dr = { class: "flex flex-col items-center text-center gap-4" }, Wr = { class: "relative flex-shrink-0" }, qr = { class: "w-20 h-20 sm:w-24 sm:h-24 rounded-full overflow-hidden border-4 border-white" }, Yr = ["src", "alt"], Kr = { class: "absolute top-1.5 right-1.5" }, Hr = {
3511
+ }), Pr = { class: "flex flex-col items-center text-center gap-4" }, Lr = { class: "relative flex-shrink-0" }, Nr = { class: "w-20 h-20 sm:w-24 sm:h-24 rounded-full overflow-hidden border-4 border-white" }, Gr = ["src", "alt"], Fr = { class: "absolute top-1.5 right-1.5" }, Ur = {
3650
3512
  key: 1,
3651
3513
  class: "size-4 bg-theme-400 rounded-full ring-2 ring-white"
3652
- }, Xr = { class: "min-w-0" }, Jr = { class: "text-3xl font-light text-white mb-2 truncate" }, Qr = { class: "text-base font-light text-white/60 line-clamp-1" }, Zr = /* @__PURE__ */ N({
3514
+ }, Wr = { class: "min-w-0" }, qr = { class: "text-3xl font-light text-white mb-2 truncate" }, Dr = { class: "text-base font-light text-white/60 line-clamp-1" }, Yr = /* @__PURE__ */ W({
3653
3515
  __name: "ElAgentHeader",
3654
3516
  props: {
3655
3517
  agent: {},
3656
3518
  isOnline: { type: Boolean, default: !1 }
3657
3519
  },
3658
3520
  setup(e) {
3659
- return (a, t) => (u(), h("div", Dr, [
3660
- d("div", Wr, [
3661
- d("div", qr, [
3662
- d("img", {
3521
+ return (a, t) => (m(), f("div", Pr, [
3522
+ i("div", Lr, [
3523
+ i("div", Nr, [
3524
+ i("img", {
3663
3525
  src: e.agent.avatarUrl.value,
3664
3526
  alt: e.agent.displayName.value,
3665
3527
  class: "w-full h-full object-cover",
3666
3528
  onError: t[0] || (t[0] = //@ts-ignore
3667
- (...o) => R(Ge) && R(Ge)(...o))
3668
- }, null, 40, Yr)
3529
+ (...r) => B(Ne) && B(Ne)(...r))
3530
+ }, null, 40, Gr)
3669
3531
  ]),
3670
- d("div", Kr, [
3671
- e.isOnline ? (u(), h(H, { key: 0 }, [
3672
- t[1] || (t[1] = d("div", {
3532
+ i("div", Fr, [
3533
+ e.isOnline ? (m(), f(J, { key: 0 }, [
3534
+ t[1] || (t[1] = i("div", {
3673
3535
  class: "size-4 bg-green-500 rounded-full ring-2 ring-white absolute animate-ping",
3674
3536
  style: { "animation-duration": "3s" }
3675
3537
  }, null, -1)),
3676
- t[2] || (t[2] = d("div", { class: "size-4 bg-green-500 rounded-full ring-2 ring-white" }, null, -1))
3677
- ], 64)) : (u(), h("div", Hr))
3538
+ t[2] || (t[2] = i("div", { class: "size-4 bg-green-500 rounded-full ring-2 ring-white" }, null, -1))
3539
+ ], 64)) : (m(), f("div", Ur))
3678
3540
  ])
3679
3541
  ]),
3680
- d("div", Xr, [
3681
- d("h1", Jr, L(e.agent.displayName.value), 1),
3682
- d("p", Qr, L(e.agent.title.value), 1)
3542
+ i("div", Wr, [
3543
+ i("h1", qr, R(e.agent.displayName.value), 1),
3544
+ i("p", Dr, R(e.agent.title.value), 1)
3683
3545
  ])
3684
3546
  ]));
3685
3547
  }
3686
- }), _r = { class: "absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[28px] h-[28px] overflow-hidden" }, eo = /* @__PURE__ */ N({
3548
+ }), Hr = { class: "absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[28px] h-[28px] overflow-hidden" }, Kr = /* @__PURE__ */ W({
3687
3549
  name: "SelfSidebarClose",
3688
3550
  __name: "AgentSidebarClose",
3689
3551
  emits: ["click"],
3690
3552
  setup(e) {
3691
- const a = W(!1);
3692
- return Ve(() => {
3553
+ const a = X(!1);
3554
+ return Je(() => {
3693
3555
  setTimeout(() => {
3694
3556
  a.value = !0;
3695
3557
  }, 100);
3696
- }), (t, o) => (u(), h("a", {
3558
+ }), (t, r) => (m(), f("a", {
3697
3559
  class: "close block cursor-pointer w-[60px] h-[60px] rounded-full transition-all duration-1000 ease-[cubic-bezier(0.25,1,0.33,1)] hover:scale-110 active:scale-90 hover:rotate-90",
3698
- onClick: o[0] || (o[0] = (l) => t.$emit("click", l))
3560
+ onClick: r[0] || (r[0] = (d) => t.$emit("click", d))
3699
3561
  }, [
3700
- o[1] || (o[1] = d("span", { class: "absolute inset-0 rounded-full transition-all" }, null, -1)),
3701
- d("span", _r, [
3702
- d("span", {
3703
- class: A(["absolute h-full w-[3px] rounded-[5px] left-[13px] transition-all duration-[400ms] ease-[cubic-bezier(0.52,0.01,0.16,1)]", a.value ? "translate-y-0 translate-x-0 rotate-45" : "translate-y-[30px] -translate-x-[30px] rotate-0"]),
3562
+ r[1] || (r[1] = i("span", { class: "absolute inset-0 rounded-full transition-all" }, null, -1)),
3563
+ i("span", Hr, [
3564
+ i("span", {
3565
+ class: $(["absolute h-full w-[3px] rounded-[5px] left-[13px] transition-all duration-[400ms] ease-[cubic-bezier(0.52,0.01,0.16,1)]", a.value ? "translate-y-0 translate-x-0 rotate-45" : "translate-y-[30px] -translate-x-[30px] rotate-0"]),
3704
3566
  style: { "background-color": "currentColor", "transition-delay": "0.15s" }
3705
3567
  }, null, 2),
3706
- d("span", {
3707
- class: A(["absolute h-full w-[3px] rounded-[5px] left-[13px] transition-all duration-[400ms] ease-[cubic-bezier(0.52,0.01,0.16,1)]", a.value ? "translate-y-0 translate-x-0 -rotate-45" : "-translate-y-[30px] -translate-x-[30px] rotate-0"]),
3568
+ i("span", {
3569
+ class: $(["absolute h-full w-[3px] rounded-[5px] left-[13px] transition-all duration-[400ms] ease-[cubic-bezier(0.52,0.01,0.16,1)]", a.value ? "translate-y-0 translate-x-0 -rotate-45" : "-translate-y-[30px] -translate-x-[30px] rotate-0"]),
3708
3570
  style: { "background-color": "currentColor", "transition-delay": "0.45s" }
3709
3571
  }, null, 2)
3710
3572
  ])
3711
3573
  ]));
3712
3574
  }
3713
- }), to = {
3575
+ }), Xr = {
3714
3576
  key: 0,
3715
3577
  class: "px-9 pt-12 pb-4"
3716
- }, ro = { class: "text-base font-medium text-theme-400" }, oo = {
3578
+ }, Jr = { class: "text-base font-medium text-theme-400" }, Qr = {
3717
3579
  key: 1,
3718
3580
  class: "px-4 pb-8 border-b border-white/10"
3719
- }, ao = ["disabled", "onClick"], so = { class: "flex items-center gap-3" }, no = { class: "flex-1" }, lo = {
3581
+ }, Zr = ["disabled", "onClick"], _r = { class: "flex items-center gap-3" }, eo = { class: "flex-1" }, to = {
3720
3582
  key: 0,
3721
3583
  class: "text-xs text-white/50 mt-0.5"
3722
- }, io = { class: "p-6" }, ft = /* @__PURE__ */ N({
3584
+ }, ro = { class: "p-6" }, ft = /* @__PURE__ */ W({
3723
3585
  name: "ElSidebar",
3724
3586
  inheritAttrs: !1,
3725
3587
  __name: "ElSidebar",
@@ -3732,15 +3594,15 @@ const et = [
3732
3594
  },
3733
3595
  emits: ["update:modelValue"],
3734
3596
  setup(e, { emit: a }) {
3735
- const t = e, o = a, l = t.position || "left", n = t.widthClasses || "w-[80%] max-w-[300px]", s = $({
3736
- get: /* @__PURE__ */ r(() => t.modelValue, "get"),
3737
- set: /* @__PURE__ */ r((x) => o("update:modelValue", x), "set")
3738
- }), c = $(() => t.items.filter((x) => !x.isHidden));
3739
- function i(x) {
3740
- x.isDisabled || (x.onClick ? x.onClick({ item: x, event: new MouseEvent("click") }) : x.href && (x.href.includes("http") ? window.open(x.href, x.target || "_self")?.focus() : window.location.href = x.href), s.value = !1);
3597
+ const t = e, r = a, d = t.position || "left", l = t.widthClasses || "w-[80%] max-w-[300px]", s = A({
3598
+ get: /* @__PURE__ */ o(() => t.modelValue, "get"),
3599
+ set: /* @__PURE__ */ o((p) => r("update:modelValue", p), "set")
3600
+ }), c = A(() => t.items.filter((p) => !p.isHidden));
3601
+ function n(p) {
3602
+ p.isDisabled || (p.onClick ? p.onClick({ item: p, event: new MouseEvent("click") }) : p.href && (p.href.includes("http") ? window.open(p.href, p.target || "_self")?.focus() : window.location.href = p.href), s.value = !1);
3741
3603
  }
3742
- r(i, "handleItemClick");
3743
- const y = $(() => l === "left" ? {
3604
+ o(n, "handleItemClick");
3605
+ const v = A(() => d === "left" ? {
3744
3606
  enter: "-translate-x-full",
3745
3607
  leave: "-translate-x-full",
3746
3608
  position: "justify-start",
@@ -3751,8 +3613,8 @@ const et = [
3751
3613
  position: "justify-end",
3752
3614
  closeButton: "-left-16"
3753
3615
  });
3754
- return (x, g) => (u(), h(H, null, [
3755
- j(Ne, {
3616
+ return (p, w) => (m(), f(J, null, [
3617
+ I(Le, {
3756
3618
  "enter-active-class": "transition-opacity duration-300 ease-out",
3757
3619
  "leave-active-class": "transition-opacity duration-200 ease-in",
3758
3620
  "enter-from-class": "opacity-0",
@@ -3760,92 +3622,92 @@ const et = [
3760
3622
  "leave-from-class": "opacity-100",
3761
3623
  "leave-to-class": "opacity-0"
3762
3624
  }, {
3763
- default: q(() => [
3764
- s.value ? (u(), h("div", {
3625
+ default: U(() => [
3626
+ s.value ? (m(), f("div", {
3765
3627
  key: 0,
3766
3628
  class: "absolute inset-0 z-40 bg-black/50 backdrop-blur-sm",
3767
- onClick: g[0] || (g[0] = (v) => s.value = !1)
3768
- })) : M("", !0)
3629
+ onClick: w[0] || (w[0] = (y) => s.value = !1)
3630
+ })) : S("", !0)
3769
3631
  ]),
3770
3632
  _: 1
3771
3633
  }),
3772
- j(Ne, {
3634
+ I(Le, {
3773
3635
  "enter-active-class": "transition-all duration-500 ease-[cubic-bezier(0.25,1,0.33,1)]",
3774
3636
  "leave-active-class": "transition-all duration-400 ease-[cubic-bezier(0.25,1,0.33,1)]",
3775
- "enter-from-class": y.value.enter,
3637
+ "enter-from-class": v.value.enter,
3776
3638
  "enter-to-class": "translate-x-0",
3777
3639
  "leave-from-class": "translate-x-0",
3778
- "leave-to-class": y.value.leave
3640
+ "leave-to-class": v.value.leave
3779
3641
  }, {
3780
- default: q(() => [
3781
- s.value ? (u(), h("div", {
3642
+ default: U(() => [
3643
+ s.value ? (m(), f("div", {
3782
3644
  key: 0,
3783
- class: A(["absolute inset-0 z-50 flex", y.value.position]),
3784
- onClick: g[3] || (g[3] = (v) => s.value = !1)
3645
+ class: $(["absolute inset-0 z-50 flex", v.value.position]),
3646
+ onClick: w[3] || (w[3] = (y) => s.value = !1)
3785
3647
  }, [
3786
- d("div", {
3787
- class: A(["relative h-full shadow-2xl bg-black/30 backdrop-blur-xl flex flex-col justify-center", R(n)]),
3788
- onClick: g[2] || (g[2] = $e(() => {
3648
+ i("div", {
3649
+ class: $(["relative h-full shadow-2xl bg-black/30 backdrop-blur-xl flex flex-col justify-center", B(l)]),
3650
+ onClick: w[2] || (w[2] = Ae(() => {
3789
3651
  }, ["stop"]))
3790
3652
  }, [
3791
- j(eo, {
3792
- class: A(["absolute top-4 z-10 text-white", y.value.closeButton]),
3793
- onClick: g[1] || (g[1] = (v) => s.value = !1)
3653
+ I(Kr, {
3654
+ class: $(["absolute top-4 z-10 text-white", v.value.closeButton]),
3655
+ onClick: w[1] || (w[1] = (y) => s.value = !1)
3794
3656
  }, null, 8, ["class"]),
3795
- e.title ? (u(), h("div", to, [
3796
- d("h3", ro, L(e.title), 1)
3797
- ])) : M("", !0),
3798
- x.$slots.header ? (u(), h("div", oo, [
3799
- ne(x.$slots, "header")
3800
- ])) : M("", !0),
3801
- d("div", {
3802
- class: A(["flex-1 p-6 space-y-2 overflow-y-auto", { "pt-6": !e.title && !x.$slots.header, "pt-4": e.title || x.$slots.header }])
3657
+ e.title ? (m(), f("div", Xr, [
3658
+ i("h3", Jr, R(e.title), 1)
3659
+ ])) : S("", !0),
3660
+ p.$slots.header ? (m(), f("div", Qr, [
3661
+ ge(p.$slots, "header")
3662
+ ])) : S("", !0),
3663
+ i("div", {
3664
+ class: $(["flex-1 p-6 space-y-2 overflow-y-auto", { "pt-6": !e.title && !p.$slots.header, "pt-4": e.title || p.$slots.header }])
3803
3665
  }, [
3804
- j(Je, {
3666
+ I(Xe, {
3805
3667
  "enter-active-class": "transition-all duration-400 ease-[cubic-bezier(0.25,1,0.33,1)]",
3806
3668
  "leave-active-class": "transition-all duration-200 ease-[cubic-bezier(0.25,1,0.33,1)]",
3807
- "enter-from-class": R(l) === "left" ? "-translate-x-4 opacity-0" : "translate-x-4 opacity-0",
3669
+ "enter-from-class": B(d) === "left" ? "-translate-x-4 opacity-0" : "translate-x-4 opacity-0",
3808
3670
  "enter-to-class": "translate-x-0 opacity-100",
3809
3671
  "leave-from-class": "translate-x-0 opacity-100",
3810
- "leave-to-class": R(l) === "left" ? "-translate-x-4 opacity-0" : "translate-x-4 opacity-0"
3672
+ "leave-to-class": B(d) === "left" ? "-translate-x-4 opacity-0" : "translate-x-4 opacity-0"
3811
3673
  }, {
3812
- default: q(() => [
3813
- (u(!0), h(H, null, pe(c.value, (v, z) => (u(), h("button", {
3814
- key: v.key || v.label || z,
3815
- style: Qe({ transitionDelay: `${z * 40}ms` }),
3816
- class: A(["cursor-pointer w-full text-left p-3 rounded-xl transition-all duration-200 ease-[cubic-bezier(0.25,1,0.33,1)] group", [
3817
- v.isActive ? "bg-primary-500/20 border border-primary-500/40" : "hover:bg-white/10",
3818
- v.isDisabled && "opacity-50 cursor-not-allowed"
3674
+ default: U(() => [
3675
+ (m(!0), f(J, null, Se(c.value, (y, O) => (m(), f("button", {
3676
+ key: y.key || y.label || O,
3677
+ style: Qe({ transitionDelay: `${O * 40}ms` }),
3678
+ 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", [
3679
+ y.isActive ? "bg-primary-500/20 border border-primary-500/40" : "hover:bg-white/10",
3680
+ y.isDisabled && "opacity-50 cursor-not-allowed"
3819
3681
  ]]),
3820
- disabled: v.isDisabled,
3821
- onClick: /* @__PURE__ */ r((C) => i(v), "onClick")
3682
+ disabled: y.isDisabled,
3683
+ onClick: /* @__PURE__ */ o((P) => n(y), "onClick")
3822
3684
  }, [
3823
- d("div", so, [
3824
- v.icon?.src ? (u(), h("i", {
3685
+ i("div", _r, [
3686
+ y.icon?.src ? (m(), f("i", {
3825
3687
  key: 0,
3826
- class: A(["size-5 flex-shrink-0 transition-transform duration-200 ease-[cubic-bezier(0.25,1,0.33,1)] group-hover:scale-110", [
3827
- v.icon.src,
3828
- v.isActive ? "text-primary-400" : "text-white/70 group-hover:text-white"
3688
+ class: $(["size-5 flex-shrink-0 transition-transform duration-200 ease-[cubic-bezier(0.25,1,0.33,1)] group-hover:scale-110", [
3689
+ y.icon.src,
3690
+ y.isActive ? "text-primary-400" : "text-white/70 group-hover:text-white"
3829
3691
  ]])
3830
- }, null, 2)) : M("", !0),
3831
- d("div", no, [
3832
- d("div", {
3833
- class: A(["font-medium text-sm", v.isActive ? "text-primary-300" : "text-white"])
3834
- }, L(v.label), 3),
3835
- v.subLabel ? (u(), h("div", lo, L(v.subLabel), 1)) : M("", !0)
3692
+ }, null, 2)) : S("", !0),
3693
+ i("div", eo, [
3694
+ i("div", {
3695
+ class: $(["font-medium text-sm", y.isActive ? "text-primary-300" : "text-white"])
3696
+ }, R(y.label), 3),
3697
+ y.subLabel ? (m(), f("div", to, R(y.subLabel), 1)) : S("", !0)
3836
3698
  ])
3837
3699
  ])
3838
- ], 14, ao))), 128))
3700
+ ], 14, Zr))), 128))
3839
3701
  ]),
3840
3702
  _: 1
3841
3703
  }, 8, ["enter-from-class", "leave-to-class"])
3842
3704
  ], 2),
3843
- d("div", io, [
3844
- ne(x.$slots, "footer", {}, () => [
3845
- g[4] || (g[4] = d("div", { class: "text-center" }, [
3846
- d("p", { class: "text-[10px] text-white/40 font-sans" }, [
3847
- ie(" AI Agent by "),
3848
- d("a", {
3705
+ i("div", ro, [
3706
+ ge(p.$slots, "footer", {}, () => [
3707
+ w[4] || (w[4] = i("div", { class: "text-center" }, [
3708
+ i("p", { class: "text-[10px] text-white/40 font-sans" }, [
3709
+ ne(" AI Agent by "),
3710
+ i("a", {
3849
3711
  href: "https://www.pagelines.com",
3850
3712
  target: "_blank",
3851
3713
  class: "text-white/60 hover:text-white/80 transition-colors"
@@ -3855,13 +3717,13 @@ const et = [
3855
3717
  ])
3856
3718
  ])
3857
3719
  ], 2)
3858
- ], 2)) : M("", !0)
3720
+ ], 2)) : S("", !0)
3859
3721
  ]),
3860
3722
  _: 3
3861
3723
  }, 8, ["enter-from-class", "leave-to-class"])
3862
3724
  ], 64));
3863
3725
  }
3864
- }), co = /* @__PURE__ */ N({
3726
+ }), oo = /* @__PURE__ */ W({
3865
3727
  name: "AgentModeSidebar",
3866
3728
  __name: "ElAgentModeSidebar",
3867
3729
  props: {
@@ -3870,28 +3732,28 @@ const et = [
3870
3732
  },
3871
3733
  emits: ["update:modelValue"],
3872
3734
  setup(e, { emit: a }) {
3873
- const t = e, o = a, l = $({
3874
- get: /* @__PURE__ */ r(() => t.modelValue, "get"),
3875
- set: /* @__PURE__ */ r((c) => o("update:modelValue", c), "set")
3876
- }), n = $(() => t.chatController?.agentMode?.value ?? "self"), s = $(() => et.map((c) => ({
3735
+ const t = e, r = a, d = A({
3736
+ get: /* @__PURE__ */ o(() => t.modelValue, "get"),
3737
+ set: /* @__PURE__ */ o((c) => r("update:modelValue", c), "set")
3738
+ }), l = A(() => t.chatController?.agentMode?.value ?? "self"), s = A(() => tt.map((c) => ({
3877
3739
  key: c.mode,
3878
3740
  icon: { src: c.icon },
3879
3741
  label: c.label,
3880
- isActive: n.value === c.mode,
3881
- onClick: /* @__PURE__ */ r(() => {
3742
+ isActive: l.value === c.mode,
3743
+ onClick: /* @__PURE__ */ o(() => {
3882
3744
  t.chatController?.setMode(c.mode);
3883
3745
  }, "onClick")
3884
3746
  })));
3885
- return (c, i) => (u(), F(ft, {
3886
- modelValue: l.value,
3887
- "onUpdate:modelValue": i[0] || (i[0] = (y) => l.value = y),
3747
+ return (c, n) => (m(), G(ft, {
3748
+ modelValue: d.value,
3749
+ "onUpdate:modelValue": n[0] || (n[0] = (v) => d.value = v),
3888
3750
  items: s.value,
3889
3751
  position: "right",
3890
3752
  title: "Mode",
3891
3753
  "width-classes": "w-[80%] max-w-[255px]"
3892
3754
  }, null, 8, ["modelValue", "items"]));
3893
3755
  }
3894
- }), uo = /* @__PURE__ */ N({
3756
+ }), ao = /* @__PURE__ */ W({
3895
3757
  name: "AgentSidebar",
3896
3758
  __name: "ElAgentSidebar",
3897
3759
  props: {
@@ -3902,16 +3764,16 @@ const et = [
3902
3764
  },
3903
3765
  emits: ["update:modelValue"],
3904
3766
  setup(e, { emit: a }) {
3905
- const t = e, o = a, l = $({
3906
- get: /* @__PURE__ */ r(() => t.modelValue, "get"),
3907
- set: /* @__PURE__ */ r((s) => o("update:modelValue", s), "set")
3908
- }), n = $(() => {
3767
+ const t = e, r = a, d = A({
3768
+ get: /* @__PURE__ */ o(() => t.modelValue, "get"),
3769
+ set: /* @__PURE__ */ o((s) => r("update:modelValue", s), "set")
3770
+ }), l = A(() => {
3909
3771
  const s = [
3910
3772
  {
3911
3773
  key: "share",
3912
3774
  icon: { src: "i-tabler-share" },
3913
3775
  label: "Share This Digital Agent",
3914
- onClick: /* @__PURE__ */ r(() => {
3776
+ onClick: /* @__PURE__ */ o(() => {
3915
3777
  const c = `${window.location.origin}/@${t.agent.handle.value || t.agent.agentId.value}`;
3916
3778
  navigator.clipboard.writeText(c);
3917
3779
  }, "onClick")
@@ -3920,7 +3782,7 @@ const et = [
3920
3782
  key: "profile",
3921
3783
  icon: { src: "i-tabler-user" },
3922
3784
  label: "Visit Full Profile",
3923
- onClick: /* @__PURE__ */ r(() => {
3785
+ onClick: /* @__PURE__ */ o(() => {
3924
3786
  window.open(`/@${t.agent.handle.value || t.agent.agentId.value}`, "_blank");
3925
3787
  }, "onClick")
3926
3788
  },
@@ -3928,7 +3790,7 @@ const et = [
3928
3790
  key: "create",
3929
3791
  icon: { src: "i-tabler-sparkles" },
3930
3792
  label: "Create Your Own",
3931
- onClick: /* @__PURE__ */ r(() => {
3793
+ onClick: /* @__PURE__ */ o(() => {
3932
3794
  window.open("/auth", "_blank");
3933
3795
  }, "onClick")
3934
3796
  }
@@ -3937,53 +3799,53 @@ const et = [
3937
3799
  key: "logout",
3938
3800
  icon: { src: "i-tabler-logout" },
3939
3801
  label: "Logout",
3940
- onClick: /* @__PURE__ */ r(async () => {
3802
+ onClick: /* @__PURE__ */ o(async () => {
3941
3803
  await t.sdk.logout();
3942
3804
  }, "onClick")
3943
3805
  }), s;
3944
3806
  });
3945
- return (s, c) => (u(), F(ft, {
3946
- modelValue: l.value,
3947
- "onUpdate:modelValue": c[0] || (c[0] = (i) => l.value = i),
3948
- items: n.value,
3807
+ return (s, c) => (m(), G(ft, {
3808
+ modelValue: d.value,
3809
+ "onUpdate:modelValue": c[0] || (c[0] = (n) => d.value = n),
3810
+ items: l.value,
3949
3811
  position: "left",
3950
3812
  title: e.title || "Menu"
3951
3813
  }, null, 8, ["modelValue", "items", "title"]));
3952
3814
  }
3953
- }), mo = {
3815
+ }), so = {
3954
3816
  key: 0,
3955
3817
  class: "absolute inset-0 flex items-center justify-center bg-gradient-to-br from-theme-800 to-theme-950 rounded-3xl z-10"
3956
- }, bo = ["data-quality"], go = {
3818
+ }, no = ["data-quality"], lo = {
3957
3819
  key: 0,
3958
3820
  class: "flex items-center"
3959
- }, ho = { class: "flex-1 flex items-center gap-3 pl-2" }, fo = ["src", "alt"], po = { class: "text-white/90 text-sm font-medium" }, vo = {
3821
+ }, io = { class: "flex-1 flex items-center gap-3 pl-2" }, co = ["src", "alt"], uo = { class: "text-white/90 text-sm font-medium" }, bo = {
3960
3822
  key: 0,
3961
3823
  class: "flex justify-end"
3962
- }, xo = { class: "text-sm" }, ko = {
3824
+ }, mo = { class: "text-sm" }, go = {
3963
3825
  key: 0,
3964
3826
  class: "flex-1 basis-0 flex justify-end"
3965
- }, yo = {
3827
+ }, ho = {
3966
3828
  key: 0,
3967
3829
  class: "flex-1 flex flex-col relative z-20 min-h-0 w-full px-4"
3968
- }, wo = { class: "flex-1 min-h-0 max-w-md mx-auto w-full" }, zo = {
3830
+ }, fo = { class: "flex-1 min-h-0 max-w-md mx-auto w-full" }, xo = {
3969
3831
  key: 0,
3970
3832
  class: "h-full pb-12 flex-1 flex flex-col relative z-20 min-h-0 px-4 @[480px]/agent:px-6 max-w-md mx-auto w-full"
3971
- }, Co = { class: "flex-1 basis-0 flex flex-col justify-start pt-8 gap-7" }, Ao = {
3833
+ }, po = { class: "flex-1 basis-0 flex flex-col justify-start pt-8 gap-7" }, vo = {
3972
3834
  key: 0,
3973
3835
  class: "flex items-center justify-center gap-3"
3974
- }, $o = ["href"], So = {
3836
+ }, ko = ["href"], yo = {
3975
3837
  key: 1,
3976
3838
  class: "flex-1 flex flex-col relative z-20 min-h-0 w-full gap-4 px-4"
3977
- }, Vo = { class: "max-w-md mx-auto" }, Mo = {
3839
+ }, wo = { class: "max-w-md mx-auto" }, Co = {
3978
3840
  key: 2,
3979
3841
  class: "flex-1 flex flex-col relative z-20 min-h-0 w-full px-4 @[480px]/agent:px-6"
3980
- }, Io = { class: "flex-1 min-h-0 max-w-md mx-auto w-full" }, To = {
3842
+ }, zo = { class: "flex-1 min-h-0 max-w-md mx-auto w-full" }, Ao = {
3981
3843
  key: 2,
3982
3844
  class: "bg-gradient-to-br from-theme-800 to-theme-950 text-white flex items-center justify-center h-full p-8"
3983
- }, Eo = { class: "text-center max-w-md space-y-4" }, jo = { class: "text-sm text-white/70 leading-relaxed" }, Oo = {
3845
+ }, $o = { class: "text-center max-w-md space-y-4" }, So = { class: "text-sm text-white/70 leading-relaxed" }, Mo = {
3984
3846
  key: 3,
3985
3847
  class: "bg-white/10 backdrop-blur-sm text-white/70 flex items-center justify-center h-full"
3986
- }, Bo = /* @__PURE__ */ N({
3848
+ }, Vo = /* @__PURE__ */ W({
3987
3849
  __name: "AgentChat",
3988
3850
  props: {
3989
3851
  sdk: {},
@@ -4001,252 +3863,252 @@ const et = [
4001
3863
  },
4002
3864
  emits: ["close", "error"],
4003
3865
  setup(e, { emit: a }) {
4004
- const t = a, o = wt(), l = W(!1), n = W(!1), s = W(), c = W(), i = $(() => o.value?.agentMode?.value ?? "self"), y = $(() => o.value?.textState.value.isConnected ?? !1), x = $(() => e.sdk.activeUser.value !== void 0), g = $(() => et.find((S) => S.mode === i.value));
4005
- function v() {
4006
- o.value && o.value.destroy();
3866
+ const t = a, r = kt(), d = X(!1), l = X(!1), s = X(), c = X(), n = A(() => r.value?.agentMode?.value ?? "self"), v = A(() => r.value?.textState.value.isConnected ?? !1), p = A(() => e.sdk.activeUser.value !== void 0), w = A(() => tt.find((C) => C.mode === n.value));
3867
+ function y() {
3868
+ r.value && r.value.destroy();
4007
3869
  try {
4008
- o.value = new $t({
3870
+ r.value = new $t({
4009
3871
  sdk: e.sdk,
4010
3872
  agent: e.agent,
4011
3873
  context: e.context,
4012
3874
  firstMessage: e.firstMessage
4013
3875
  });
4014
- } catch (S) {
4015
- throw console.error("AgentChatController creation failed:", S), S;
3876
+ } catch (C) {
3877
+ throw console.error("AgentChatController creation failed:", C), C;
4016
3878
  }
4017
3879
  }
4018
- r(v, "createChatController");
4019
- function z(S) {
3880
+ o(y, "createChatController");
3881
+ function O(C) {
4020
3882
  if (!c.value)
4021
3883
  return;
4022
- const k = Vt(S);
4023
- Object.entries(k).forEach(([V, Y]) => {
4024
- c.value.style.setProperty(`--primary-${V}`, Y);
3884
+ const x = Mt(C);
3885
+ Object.entries(x).forEach(([z, D]) => {
3886
+ c.value.style.setProperty(`--primary-${z}`, D);
4025
3887
  });
4026
3888
  }
4027
- r(z, "applyTheme"), Ve(() => {
3889
+ o(O, "applyTheme"), Je(() => {
4028
3890
  try {
4029
- v(), z(e.theme), e.chatOnly && o.value && o.value.setMode("chat");
4030
- } catch (S) {
4031
- const k = S instanceof Error ? S.message : "Failed to initialize digital agent";
4032
- s.value = k, t("error", k);
3891
+ y(), O(e.theme), e.chatOnly && r.value && r.value.setMode("chat");
3892
+ } catch (C) {
3893
+ const x = C instanceof Error ? C.message : "Failed to initialize digital agent";
3894
+ s.value = x, t("error", x);
4033
3895
  }
4034
- }), zt(() => {
4035
- o.value && o.value.destroy();
4036
- }), le(() => e.theme, (S) => {
4037
- z(S);
4038
- }), le(() => e.sdk.activeUser.value, (S, k) => {
4039
- k && !S && o.value && o.value.setMode("self");
3896
+ }), yt(() => {
3897
+ r.value && r.value.destroy();
3898
+ }), ze(() => e.theme, (C) => {
3899
+ O(C);
3900
+ }), ze(() => e.sdk.activeUser.value, (C, x) => {
3901
+ x && !C && r.value && r.value.setMode("self");
4040
3902
  });
4041
- const C = $(() => !!(e.agent.cover.value?.src && e.agent.cover.value?.quality === "low") || !!(e.agent.avatar.value?.src && e.agent.avatar.value?.quality === "low")), O = $(() => {
4042
- const S = [C.value ? "backdrop-blur-sm" : ""];
4043
- return C.value && i.value === "self" ? S.push("from-black/80 via-black/60 to-black/80") : i.value === "self" ? S.push("from-black/70 via-black/50 to-black/80") : S.push("from-black/90 via-black/90 to-black/100"), S.join(" ");
3903
+ const P = A(() => !!(e.agent.cover.value?.src && e.agent.cover.value?.quality === "low") || !!(e.agent.avatar.value?.src && e.agent.avatar.value?.quality === "low")), L = A(() => {
3904
+ const C = [P.value ? "backdrop-blur-sm" : ""];
3905
+ return P.value && n.value === "self" ? C.push("from-black/80 via-black/60 to-black/80") : n.value === "self" ? C.push("from-black/70 via-black/50 to-black/80") : C.push("from-black/90 via-black/90 to-black/100"), C.join(" ");
4044
3906
  }), T = {
4045
3907
  phone: "i-heroicons-phone",
4046
3908
  calendar: "i-heroicons-calendar",
4047
3909
  question: "i-heroicons-question-mark-circle",
4048
3910
  message: "i-heroicons-chat-bubble-left-right",
4049
3911
  sparkles: "i-heroicons-sparkles"
4050
- }, U = $(() => At({
3912
+ }, q = A(() => At({
4051
3913
  template: e.buttonText || "Talk to {name}",
4052
3914
  agent: e.agent.toConfig()
4053
- })), te = $(() => T[e.buttonIcon || "phone"] || T.phone);
4054
- return (S, k) => (u(), h("div", {
3915
+ })), te = A(() => T[e.buttonIcon || "phone"] || T.phone);
3916
+ return (C, x) => (m(), f("div", {
4055
3917
  ref_key: "rootElement",
4056
3918
  ref: c,
4057
- key: R(ze)(e.agent.toConfig()),
3919
+ key: B(ye)(e.agent.toConfig()),
4058
3920
  class: "pagelines-sdk @container/agent pagelines-agent w-full h-full overflow-hidden relative",
4059
3921
  "data-test": "agent-chat"
4060
3922
  }, [
4061
- e.loading ? (u(), h("div", mo, [
4062
- j(Ze, { class: "text-white size-8" })
4063
- ])) : e.agent && !s.value ? (u(), h("div", {
3923
+ e.loading ? (m(), f("div", so, [
3924
+ I(_e, { class: "text-white size-8" })
3925
+ ])) : e.agent && !s.value ? (m(), f("div", {
4064
3926
  key: 1,
4065
3927
  class: "absolute inset-0 bg-cover bg-center bg-no-repeat",
4066
- style: Qe({ backgroundImage: `url(${R(ze)(e.agent.toConfig())})` }),
3928
+ style: Qe({ backgroundImage: `url(${B(ye)(e.agent.toConfig())})` }),
4067
3929
  "data-quality": e.agent.avatar.value?.quality || "none"
4068
3930
  }, [
4069
- d("div", {
4070
- class: A(["absolute inset-0 bg-gradient-to-br z-0", O.value])
3931
+ i("div", {
3932
+ class: $(["absolute inset-0 bg-gradient-to-br z-0", L.value])
4071
3933
  }, null, 2),
4072
- d("div", {
4073
- class: A(["relative z-10 flex flex-col h-full transition-all duration-500 ease-[cubic-bezier(0.25,1,0.33,1)] will-change-transform", e.isActive ? "opacity-100 translate-y-0" : "opacity-0 translate-y-2"])
3934
+ i("div", {
3935
+ class: $(["relative z-10 flex flex-col h-full transition-all duration-500 ease-[cubic-bezier(0.25,1,0.33,1)] will-change-transform", e.isActive ? "opacity-100 translate-y-0" : "opacity-0 translate-y-2"])
4074
3936
  }, [
4075
- d("div", {
4076
- class: A(["relative z-30 p-2", i.value !== "self" ? "backdrop-blur-lg" : ""])
3937
+ i("div", {
3938
+ class: $(["relative z-30 p-2", n.value !== "self" ? "backdrop-blur-lg" : ""])
4077
3939
  }, [
4078
- e.chatOnly ? (u(), h("div", go, [
4079
- d("div", ho, [
4080
- d("img", {
4081
- src: R(ze)(e.agent.toConfig()),
3940
+ e.chatOnly ? (m(), f("div", lo, [
3941
+ i("div", io, [
3942
+ i("img", {
3943
+ src: B(ye)(e.agent.toConfig()),
4082
3944
  alt: e.agent.displayName.value,
4083
3945
  class: "size-8 rounded-full object-cover"
4084
- }, null, 8, fo),
4085
- d("span", po, L(e.agent.displayName.value), 1)
3946
+ }, null, 8, co),
3947
+ i("span", uo, R(e.agent.displayName.value), 1)
4086
3948
  ]),
4087
- e.hasClose ? (u(), h("div", vo, [
4088
- d("button", {
3949
+ e.hasClose ? (m(), f("div", bo, [
3950
+ i("button", {
4089
3951
  class: "cursor-pointer flex items-center p-3 rounded-2xl text-white/70 hover:bg-white/10 transition-colors",
4090
- onClick: k[0] || (k[0] = $e((V) => t("close", "button"), ["stop"]))
4091
- }, [...k[7] || (k[7] = [
4092
- d("i", { class: "size-6 i-tabler-x" }, null, -1)
3952
+ onClick: x[0] || (x[0] = Ae((z) => t("close", "button"), ["stop"]))
3953
+ }, [...x[7] || (x[7] = [
3954
+ i("i", { class: "size-6 i-tabler-x" }, null, -1)
4093
3955
  ])])
4094
- ])) : M("", !0)
4095
- ])) : (u(), h("div", {
3956
+ ])) : S("", !0)
3957
+ ])) : (m(), f("div", {
4096
3958
  key: 1,
4097
- class: A(["flex items-center", e.hasClose ? "" : "justify-between"])
3959
+ class: $(["flex items-center", e.hasClose ? "" : "justify-between"])
4098
3960
  }, [
4099
- d("div", {
4100
- class: A(e.hasClose ? "flex-1 basis-0" : "")
3961
+ i("div", {
3962
+ class: $(e.hasClose ? "flex-1 basis-0" : "")
4101
3963
  }, [
4102
- d("button", {
3964
+ i("button", {
4103
3965
  class: "cursor-pointer p-2 flex items-center gap-2 rounded-2xl text-white/70 hover:bg-white/10 transition-all duration-300 ease-[cubic-bezier(0.25,1,0.33,1)] hover:scale-105 active:scale-95",
4104
- onClick: k[1] || (k[1] = (V) => l.value = !0)
4105
- }, [...k[8] || (k[8] = [
4106
- d("i", { class: "i-tabler-menu size-7" }, null, -1)
3966
+ onClick: x[1] || (x[1] = (z) => d.value = !0)
3967
+ }, [...x[8] || (x[8] = [
3968
+ i("i", { class: "i-tabler-menu size-7" }, null, -1)
4107
3969
  ])])
4108
3970
  ], 2),
4109
- d("button", {
4110
- class: A(["flex items-center gap-2 px-3.5 py-3 rounded-2xl text-white/90 hover:bg-white/10 transition-all cursor-pointer flex-grow-0", { "bg-white/10": n.value }]),
4111
- onClick: k[2] || (k[2] = (V) => n.value = !0)
3971
+ i("button", {
3972
+ class: $(["flex items-center gap-2 px-3.5 py-3 rounded-2xl text-white/90 hover:bg-white/10 transition-all cursor-pointer flex-grow-0", { "bg-white/10": l.value }]),
3973
+ onClick: x[2] || (x[2] = (z) => l.value = !0)
4112
3974
  }, [
4113
- d("i", {
4114
- class: A([g.value?.icon, "size-4 opacity-60"])
3975
+ i("i", {
3976
+ class: $([w.value?.icon, "size-4 opacity-60"])
4115
3977
  }, null, 2),
4116
- d("span", xo, L(g.value?.label), 1),
4117
- k[9] || (k[9] = d("i", { class: "i-tabler-chevron-down size-4" }, null, -1))
3978
+ i("span", mo, R(w.value?.label), 1),
3979
+ x[9] || (x[9] = i("i", { class: "i-tabler-chevron-down size-4" }, null, -1))
4118
3980
  ], 2),
4119
- e.hasClose ? (u(), h("div", ko, [
4120
- d("button", {
3981
+ e.hasClose ? (m(), f("div", go, [
3982
+ i("button", {
4121
3983
  class: "cursor-pointer flex items-center p-3 rounded-2xl text-white/70 hover:bg-white/10 transition-colors",
4122
- onClick: k[3] || (k[3] = $e((V) => t("close", "button"), ["stop"]))
4123
- }, [...k[10] || (k[10] = [
4124
- d("i", { class: "size-6 i-tabler-x" }, null, -1)
3984
+ onClick: x[3] || (x[3] = Ae((z) => t("close", "button"), ["stop"]))
3985
+ }, [...x[10] || (x[10] = [
3986
+ i("i", { class: "size-6 i-tabler-x" }, null, -1)
4125
3987
  ])])
4126
- ])) : M("", !0)
3988
+ ])) : S("", !0)
4127
3989
  ], 2))
4128
3990
  ], 2),
4129
- e.chatOnly ? (u(), h("div", yo, [
4130
- d("div", wo, [
4131
- j(Ce, {
4132
- "chat-controller": o.value,
3991
+ e.chatOnly ? (m(), f("div", ho, [
3992
+ i("div", fo, [
3993
+ I(we, {
3994
+ "chat-controller": r.value,
4133
3995
  agent: e.agent
4134
3996
  }, null, 8, ["chat-controller", "agent"])
4135
3997
  ])
4136
- ])) : (u(), h(H, { key: 1 }, [
4137
- i.value === "self" ? (u(), h("div", zo, [
4138
- k[11] || (k[11] = d("div", { class: "flex-1 basis-0 mb-12" }, null, -1)),
4139
- j(Zr, {
3998
+ ])) : (m(), f(J, { key: 1 }, [
3999
+ n.value === "self" ? (m(), f("div", xo, [
4000
+ x[11] || (x[11] = i("div", { class: "flex-1 basis-0 mb-12" }, null, -1)),
4001
+ I(Yr, {
4140
4002
  agent: e.agent,
4141
- "is-online": y.value
4003
+ "is-online": v.value
4142
4004
  }, null, 8, ["agent", "is-online"]),
4143
- d("div", Co, [
4144
- j(tt, {
4005
+ i("div", po, [
4006
+ I(Ze, {
4145
4007
  theme: "primary",
4146
4008
  size: "lg",
4147
4009
  class: "w-full",
4148
4010
  icon: te.value,
4149
4011
  "data-test": "voice-button",
4150
- onClick: k[4] || (k[4] = (V) => o.value?.setMode("talk"))
4012
+ onClick: x[4] || (x[4] = (z) => r.value?.setMode("talk"))
4151
4013
  }, {
4152
- default: q(() => [
4153
- ie(L(U.value), 1)
4014
+ default: U(() => [
4015
+ ne(R(q.value), 1)
4154
4016
  ]),
4155
4017
  _: 1
4156
4018
  }, 8, ["icon"]),
4157
- e.agent.accounts.value && e.agent.accounts.value.length > 0 ? (u(), h("div", Ao, [
4158
- (u(!0), h(H, null, pe((e.agent.accounts.value || []).filter((V) => R(oe)[V.platform]), (V) => (u(), h("a", {
4159
- key: `${V.platform}-${V.handle}`,
4160
- href: R(oe)[V.platform].getUrl(V.handle),
4019
+ e.agent.accounts.value && e.agent.accounts.value.length > 0 ? (m(), f("div", vo, [
4020
+ (m(!0), f(J, null, Se((e.agent.accounts.value || []).filter((z) => B(oe)[z.platform]), (z) => (m(), f("a", {
4021
+ key: `${z.platform}-${z.handle}`,
4022
+ href: B(oe)[z.platform].getUrl(z.handle),
4161
4023
  target: "_blank",
4162
4024
  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"
4163
4025
  }, [
4164
- d("i", {
4165
- class: A([R(oe)[V.platform].icon, "size-5"])
4026
+ i("i", {
4027
+ class: $([B(oe)[z.platform].icon, "size-5"])
4166
4028
  }, null, 2)
4167
- ], 8, $o))), 128))
4168
- ])) : M("", !0)
4029
+ ], 8, ko))), 128))
4030
+ ])) : S("", !0)
4169
4031
  ])
4170
- ])) : i.value === "talk" ? (u(), h("div", So, [
4171
- e.requireAuth && !x.value ? (u(), F(Fe, {
4032
+ ])) : n.value === "talk" ? (m(), f("div", yo, [
4033
+ e.requireAuth && !p.value ? (m(), G(Ge, {
4172
4034
  key: 0,
4173
4035
  sdk: e.sdk
4174
- }, null, 8, ["sdk"])) : (u(), h(H, { key: 1 }, [
4175
- d("div", null, [
4176
- d("div", Vo, [
4177
- j(_e, {
4036
+ }, null, 8, ["sdk"])) : (m(), f(J, { key: 1 }, [
4037
+ i("div", null, [
4038
+ i("div", wo, [
4039
+ I(et, {
4178
4040
  agent: e.agent,
4179
- "is-online": y.value
4041
+ "is-online": v.value
4180
4042
  }, null, 8, ["agent", "is-online"])
4181
4043
  ])
4182
4044
  ]),
4183
- j(Ce, {
4184
- "chat-controller": o.value,
4045
+ I(we, {
4046
+ "chat-controller": r.value,
4185
4047
  agent: e.agent
4186
4048
  }, null, 8, ["chat-controller", "agent"])
4187
4049
  ], 64))
4188
- ])) : (u(), h("div", Mo, [
4189
- d("div", Io, [
4190
- i.value === "chat" ? (u(), h(H, { key: 0 }, [
4191
- e.requireAuth && !x.value ? (u(), F(Fe, {
4050
+ ])) : (m(), f("div", Co, [
4051
+ i("div", zo, [
4052
+ n.value === "chat" ? (m(), f(J, { key: 0 }, [
4053
+ e.requireAuth && !p.value ? (m(), G(Ge, {
4192
4054
  key: 0,
4193
4055
  sdk: e.sdk
4194
- }, null, 8, ["sdk"])) : (u(), F(Ce, {
4056
+ }, null, 8, ["sdk"])) : (m(), G(we, {
4195
4057
  key: 1,
4196
- "chat-controller": o.value,
4058
+ "chat-controller": r.value,
4197
4059
  agent: e.agent
4198
4060
  }, null, 8, ["chat-controller", "agent"]))
4199
- ], 64)) : i.value === "info" ? (u(), F(Ur, {
4061
+ ], 64)) : n.value === "info" ? (m(), G(Rr, {
4200
4062
  key: 1,
4201
4063
  agent: e.agent,
4202
- "is-online": y.value
4203
- }, null, 8, ["agent", "is-online"])) : M("", !0)
4064
+ "is-online": v.value
4065
+ }, null, 8, ["agent", "is-online"])) : S("", !0)
4204
4066
  ])
4205
4067
  ]))
4206
4068
  ], 64)),
4207
- d("div", {
4208
- class: A(["relative z-20 text-center py-5 px-6", i.value === "info" ? "hidden" : ""])
4209
- }, [...k[12] || (k[12] = [
4210
- d("a", {
4069
+ i("div", {
4070
+ class: $(["relative z-20 text-center py-5 px-6", n.value === "info" ? "hidden" : ""])
4071
+ }, [...x[12] || (x[12] = [
4072
+ i("a", {
4211
4073
  href: "https://www.pagelines.com",
4212
4074
  class: "flex items-center justify-center gap-1.5 text-[10px] font-sans font-normal text-white/50 hover:text-white/70 transition-colors"
4213
4075
  }, [
4214
- d("span", { class: "" }, "AI Agent™"),
4215
- d("span", { class: "text-white/20" }, "by"),
4216
- d("span", null, "PageLines")
4076
+ i("span", { class: "" }, "AI Agent™"),
4077
+ i("span", { class: "text-white/20" }, "by"),
4078
+ i("span", null, "PageLines")
4217
4079
  ], -1)
4218
4080
  ])], 2)
4219
4081
  ], 2)
4220
- ], 12, bo)) : s.value ? (u(), h("div", To, [
4221
- d("div", Eo, [
4222
- k[13] || (k[13] = d("div", { class: "flex justify-center" }, [
4223
- d("div", { class: "rounded-full bg-red-500/20 flex items-center justify-center size-10" }, [
4224
- d("i", { class: "i-tabler-alert-circle size-6 text-red-400" })
4082
+ ], 12, no)) : s.value ? (m(), f("div", Ao, [
4083
+ i("div", $o, [
4084
+ x[13] || (x[13] = i("div", { class: "flex justify-center" }, [
4085
+ i("div", { class: "rounded-full bg-red-500/20 flex items-center justify-center size-10" }, [
4086
+ i("i", { class: "i-tabler-alert-circle size-6 text-red-400" })
4225
4087
  ])
4226
4088
  ], -1)),
4227
- k[14] || (k[14] = d("h3", { class: "text-lg font-medium" }, " Agent Error ", -1)),
4228
- d("p", jo, L(s.value), 1)
4089
+ x[14] || (x[14] = i("h3", { class: "text-lg font-medium" }, " Agent Error ", -1)),
4090
+ i("p", So, R(s.value), 1)
4229
4091
  ])
4230
- ])) : (u(), h("div", Oo, " There was an error loading the digital agent. Please try again later. ")),
4231
- e.chatOnly ? M("", !0) : (u(), F(uo, {
4092
+ ])) : (m(), f("div", Mo, " There was an error loading the digital agent. Please try again later. ")),
4093
+ e.chatOnly ? S("", !0) : (m(), G(ao, {
4232
4094
  key: 4,
4233
- modelValue: l.value,
4234
- "onUpdate:modelValue": k[5] || (k[5] = (V) => l.value = V),
4095
+ modelValue: d.value,
4096
+ "onUpdate:modelValue": x[5] || (x[5] = (z) => d.value = z),
4235
4097
  agent: e.agent,
4236
4098
  sdk: e.sdk,
4237
4099
  title: e.agent.displayName.value,
4238
4100
  "data-test": "agent-sidebar"
4239
4101
  }, null, 8, ["modelValue", "agent", "sdk", "title"])),
4240
- e.chatOnly ? M("", !0) : (u(), F(co, {
4102
+ e.chatOnly ? S("", !0) : (m(), G(oo, {
4241
4103
  key: 5,
4242
- modelValue: n.value,
4243
- "onUpdate:modelValue": k[6] || (k[6] = (V) => n.value = V),
4244
- "chat-controller": o.value,
4104
+ modelValue: l.value,
4105
+ "onUpdate:modelValue": x[6] || (x[6] = (z) => l.value = z),
4106
+ "chat-controller": r.value,
4245
4107
  "data-test": "agent-mode-sidebar"
4246
4108
  }, null, 8, ["modelValue", "chat-controller"]))
4247
4109
  ]));
4248
4110
  }
4249
- }), Fo = /* @__PURE__ */ N({
4111
+ }), Bo = /* @__PURE__ */ W({
4250
4112
  __name: "AgentProvider",
4251
4113
  props: {
4252
4114
  sdk: {},
@@ -4262,10 +4124,10 @@ const et = [
4262
4124
  },
4263
4125
  emits: ["close", "error"],
4264
4126
  setup(e, { emit: a }) {
4265
- const t = e, o = a;
4266
- return (l, n) => (u(), F(St, Ct(t, { class: "agent-provider size-full relative" }), {
4267
- default: q((s) => [
4268
- j(Bo, {
4127
+ const t = e, r = a;
4128
+ return (d, l) => (m(), G(St, wt(t, { class: "agent-provider size-full relative" }), {
4129
+ default: U((s) => [
4130
+ I(Vo, {
4269
4131
  sdk: s.sdk,
4270
4132
  agent: s.agent,
4271
4133
  context: s.context,
@@ -4276,8 +4138,8 @@ const et = [
4276
4138
  "chat-only": t.chatOnly,
4277
4139
  "is-active": !0,
4278
4140
  class: "size-full",
4279
- onClose: n[0] || (n[0] = (c) => o("close", c)),
4280
- onError: n[1] || (n[1] = (c) => o("error", c))
4141
+ onClose: l[0] || (l[0] = (c) => r("close", c)),
4142
+ onError: l[1] || (l[1] = (c) => r("error", c))
4281
4143
  }, null, 8, ["sdk", "agent", "context", "first-message", "button-text", "button-icon", "has-close", "chat-only"])
4282
4144
  ]),
4283
4145
  _: 1
@@ -4285,8 +4147,8 @@ const et = [
4285
4147
  }
4286
4148
  });
4287
4149
  export {
4288
- et as A,
4289
- Fo as _,
4290
- Bo as a
4150
+ tt as A,
4151
+ Bo as _,
4152
+ Vo as a
4291
4153
  };
4292
- //# sourceMappingURL=AgentProvider.vue_vue_type_script_setup_true_lang-5V_TRBPP.js.map
4154
+ //# sourceMappingURL=AgentProvider.vue_vue_type_script_setup_true_lang.js.map