@ddict/bubble 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bubble.es.js CHANGED
@@ -1,255 +1,255 @@
1
- import { computed as S, ref as H, shallowRef as g0, watch as g2, getCurrentScope as C0, onScopeDispose as h0, shallowReadonly as i2, unref as N, openBlock as b, createElementBlock as y, pushScopeId as m0, popScopeId as w0, createElementVNode as E, Fragment as C2, renderList as t0, toDisplayString as p2, onUnmounted as F2, normalizeClass as O, createBlock as W, createCommentVNode as D, createVNode as M, withDirectives as G2, vShow as J2, onMounted as n0, nextTick as U2, normalizeStyle as I2 } from "vue";
2
- const p0 = "data:image/svg+xml,%3csvg%20width='14'%20height='9'%20viewBox='0%200%2014%209'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.36153%201.34067C6.15774%200.203232%207.84226%200.203229%208.63846%201.34066L14%209H0L5.36153%201.34067Z'%20fill='white'%20stroke-width='0.5'/%3e%3c/svg%3e", U = Math.min, F = Math.max, v2 = Math.round, w2 = Math.floor, z = (e) => ({
3
- x: e,
4
- y: e
5
- }), v0 = {
1
+ import { computed as Q, ref as T, shallowRef as a0, watch as A2, getCurrentScope as r0, onScopeDispose as c0, shallowReadonly as o2, unref as H, openBlock as x, createElementBlock as I, pushScopeId as d0, popScopeId as u0, createElementVNode as E, toDisplayString as w2, Fragment as b2, renderList as S2, createCommentVNode as _, onUnmounted as M2, normalizeClass as k, createBlock as j, createVNode as J, onMounted as j2, nextTick as J2, normalizeStyle as y2 } from "vue";
2
+ const f0 = "data:image/svg+xml,%3csvg%20width='14'%20height='9'%20viewBox='0%200%2014%209'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.36153%201.34067C6.15774%200.203232%207.84226%200.203229%208.63846%201.34066L14%209H0L5.36153%201.34067Z'%20fill='white'%20stroke-width='0.5'/%3e%3c/svg%3e", U = Math.min, S = Math.max, p2 = Math.round, m2 = Math.floor, P = (t) => ({
3
+ x: t,
4
+ y: t
5
+ }), A0 = {
6
6
  left: "right",
7
7
  right: "left",
8
8
  bottom: "top",
9
9
  top: "bottom"
10
- }, b0 = {
10
+ }, g0 = {
11
11
  start: "end",
12
12
  end: "start"
13
13
  };
14
- function L2(e, t, n) {
15
- return F(e, U(t, n));
14
+ function L2(t, e, n) {
15
+ return S(t, U(e, n));
16
16
  }
17
- function c2(e, t) {
18
- return typeof e == "function" ? e(t) : e;
17
+ function c2(t, e) {
18
+ return typeof t == "function" ? t(e) : t;
19
19
  }
20
- function $(e) {
21
- return e.split("-")[0];
20
+ function z(t) {
21
+ return t.split("-")[0];
22
22
  }
23
- function d2(e) {
24
- return e.split("-")[1];
23
+ function d2(t) {
24
+ return t.split("-")[1];
25
25
  }
26
- function o0(e) {
27
- return e === "x" ? "y" : "x";
26
+ function P2(t) {
27
+ return t === "x" ? "y" : "x";
28
28
  }
29
- function k2(e) {
30
- return e === "y" ? "height" : "width";
29
+ function k2(t) {
30
+ return t === "y" ? "height" : "width";
31
31
  }
32
- function e2(e) {
33
- return ["top", "bottom"].includes($(e)) ? "y" : "x";
32
+ function t2(t) {
33
+ return ["top", "bottom"].includes(z(t)) ? "y" : "x";
34
34
  }
35
- function D2(e) {
36
- return o0(e2(e));
35
+ function D2(t) {
36
+ return P2(t2(t));
37
37
  }
38
- function x0(e, t, n) {
38
+ function C0(t, e, n) {
39
39
  n === void 0 && (n = !1);
40
- const o = d2(e), s = D2(e), i = k2(s);
41
- let l = s === "x" ? o === (n ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
42
- return t.reference[i] > t.floating[i] && (l = b2(l)), [l, b2(l)];
40
+ const i = d2(t), o = D2(t), s = k2(o);
41
+ let l = o === "x" ? i === (n ? "end" : "start") ? "right" : "left" : i === "start" ? "bottom" : "top";
42
+ return e.reference[s] > e.floating[s] && (l = v2(l)), [l, v2(l)];
43
43
  }
44
- function B0(e) {
45
- const t = b2(e);
46
- return [S2(e), t, S2(t)];
44
+ function h0(t) {
45
+ const e = v2(t);
46
+ return [Q2(t), e, Q2(e)];
47
47
  }
48
- function S2(e) {
49
- return e.replace(/start|end/g, (t) => b0[t]);
48
+ function Q2(t) {
49
+ return t.replace(/start|end/g, (e) => g0[e]);
50
50
  }
51
- function y0(e, t, n) {
52
- const o = ["left", "right"], s = ["right", "left"], i = ["top", "bottom"], l = ["bottom", "top"];
53
- switch (e) {
51
+ function m0(t, e, n) {
52
+ const i = ["left", "right"], o = ["right", "left"], s = ["top", "bottom"], l = ["bottom", "top"];
53
+ switch (t) {
54
54
  case "top":
55
55
  case "bottom":
56
- return n ? t ? s : o : t ? o : s;
56
+ return n ? e ? o : i : e ? i : o;
57
57
  case "left":
58
58
  case "right":
59
- return t ? i : l;
59
+ return e ? s : l;
60
60
  default:
61
61
  return [];
62
62
  }
63
63
  }
64
- function I0(e, t, n, o) {
65
- const s = d2(e);
66
- let i = y0($(e), n === "start", o);
67
- return s && (i = i.map((l) => l + "-" + s), t && (i = i.concat(i.map(S2)))), i;
64
+ function w0(t, e, n, i) {
65
+ const o = d2(t);
66
+ let s = m0(z(t), n === "start", i);
67
+ return o && (s = s.map((l) => l + "-" + o), e && (s = s.concat(s.map(Q2)))), s;
68
68
  }
69
- function b2(e) {
70
- return e.replace(/left|right|bottom|top/g, (t) => v0[t]);
69
+ function v2(t) {
70
+ return t.replace(/left|right|bottom|top/g, (e) => A0[e]);
71
71
  }
72
- function E0(e) {
72
+ function p0(t) {
73
73
  return {
74
74
  top: 0,
75
75
  right: 0,
76
76
  bottom: 0,
77
77
  left: 0,
78
- ...e
78
+ ...t
79
79
  };
80
80
  }
81
- function i0(e) {
82
- return typeof e != "number" ? E0(e) : {
83
- top: e,
84
- right: e,
85
- bottom: e,
86
- left: e
81
+ function z2(t) {
82
+ return typeof t != "number" ? p0(t) : {
83
+ top: t,
84
+ right: t,
85
+ bottom: t,
86
+ left: t
87
87
  };
88
88
  }
89
- function x2(e) {
89
+ function x2(t) {
90
90
  const {
91
- x: t,
91
+ x: e,
92
92
  y: n,
93
- width: o,
94
- height: s
95
- } = e;
93
+ width: i,
94
+ height: o
95
+ } = t;
96
96
  return {
97
- width: o,
98
- height: s,
97
+ width: i,
98
+ height: o,
99
99
  top: n,
100
- left: t,
101
- right: t + o,
102
- bottom: n + s,
103
- x: t,
100
+ left: e,
101
+ right: e + i,
102
+ bottom: n + o,
103
+ x: e,
104
104
  y: n
105
105
  };
106
106
  }
107
- function Y2(e, t, n) {
107
+ function U2(t, e, n) {
108
108
  let {
109
- reference: o,
110
- floating: s
111
- } = e;
112
- const i = e2(t), l = D2(t), a = k2(l), r = $(t), c = i === "y", d = o.x + o.width / 2 - s.width / 2, f = o.y + o.height / 2 - s.height / 2, g = o[a] / 2 - s[a] / 2;
113
- let u;
114
- switch (r) {
109
+ reference: i,
110
+ floating: o
111
+ } = t;
112
+ const s = t2(e), l = D2(e), r = k2(l), a = z(e), c = s === "y", d = i.x + i.width / 2 - o.width / 2, u = i.y + i.height / 2 - o.height / 2, g = i[r] / 2 - o[r] / 2;
113
+ let f;
114
+ switch (a) {
115
115
  case "top":
116
- u = {
116
+ f = {
117
117
  x: d,
118
- y: o.y - s.height
118
+ y: i.y - o.height
119
119
  };
120
120
  break;
121
121
  case "bottom":
122
- u = {
122
+ f = {
123
123
  x: d,
124
- y: o.y + o.height
124
+ y: i.y + i.height
125
125
  };
126
126
  break;
127
127
  case "right":
128
- u = {
129
- x: o.x + o.width,
130
- y: f
128
+ f = {
129
+ x: i.x + i.width,
130
+ y: u
131
131
  };
132
132
  break;
133
133
  case "left":
134
- u = {
135
- x: o.x - s.width,
136
- y: f
134
+ f = {
135
+ x: i.x - o.width,
136
+ y: u
137
137
  };
138
138
  break;
139
139
  default:
140
- u = {
141
- x: o.x,
142
- y: o.y
140
+ f = {
141
+ x: i.x,
142
+ y: i.y
143
143
  };
144
144
  }
145
- switch (d2(t)) {
145
+ switch (d2(e)) {
146
146
  case "start":
147
- u[l] -= g * (n && c ? -1 : 1);
147
+ f[l] -= g * (n && c ? -1 : 1);
148
148
  break;
149
149
  case "end":
150
- u[l] += g * (n && c ? -1 : 1);
150
+ f[l] += g * (n && c ? -1 : 1);
151
151
  break;
152
152
  }
153
- return u;
153
+ return f;
154
154
  }
155
- const L0 = async (e, t, n) => {
155
+ const v0 = async (t, e, n) => {
156
156
  const {
157
- placement: o = "bottom",
158
- strategy: s = "absolute",
159
- middleware: i = [],
157
+ placement: i = "bottom",
158
+ strategy: o = "absolute",
159
+ middleware: s = [],
160
160
  platform: l
161
- } = n, a = i.filter(Boolean), r = await (l.isRTL == null ? void 0 : l.isRTL(t));
161
+ } = n, r = s.filter(Boolean), a = await (l.isRTL == null ? void 0 : l.isRTL(e));
162
162
  let c = await l.getElementRects({
163
- reference: e,
164
- floating: t,
165
- strategy: s
163
+ reference: t,
164
+ floating: e,
165
+ strategy: o
166
166
  }), {
167
167
  x: d,
168
- y: f
169
- } = Y2(c, o, r), g = o, u = {}, C = 0;
170
- for (let m = 0; m < a.length; m++) {
168
+ y: u
169
+ } = U2(c, i, a), g = i, f = {}, C = 0;
170
+ for (let m = 0; m < r.length; m++) {
171
171
  const {
172
172
  name: w,
173
173
  fn: p
174
- } = a[m], {
174
+ } = r[m], {
175
175
  x: v,
176
- y: x,
176
+ y: b,
177
177
  data: h,
178
178
  reset: A
179
179
  } = await p({
180
180
  x: d,
181
- y: f,
182
- initialPlacement: o,
181
+ y: u,
182
+ initialPlacement: i,
183
183
  placement: g,
184
- strategy: s,
185
- middlewareData: u,
184
+ strategy: o,
185
+ middlewareData: f,
186
186
  rects: c,
187
187
  platform: l,
188
188
  elements: {
189
- reference: e,
190
- floating: t
189
+ reference: t,
190
+ floating: e
191
191
  }
192
192
  });
193
- d = v ?? d, f = x ?? f, u = {
194
- ...u,
193
+ d = v ?? d, u = b ?? u, f = {
194
+ ...f,
195
195
  [w]: {
196
- ...u[w],
196
+ ...f[w],
197
197
  ...h
198
198
  }
199
199
  }, A && C <= 50 && (C++, typeof A == "object" && (A.placement && (g = A.placement), A.rects && (c = A.rects === !0 ? await l.getElementRects({
200
- reference: e,
201
- floating: t,
202
- strategy: s
200
+ reference: t,
201
+ floating: e,
202
+ strategy: o
203
203
  }) : A.rects), {
204
204
  x: d,
205
- y: f
206
- } = Y2(c, g, r)), m = -1);
205
+ y: u
206
+ } = U2(c, g, a)), m = -1);
207
207
  }
208
208
  return {
209
209
  x: d,
210
- y: f,
210
+ y: u,
211
211
  placement: g,
212
- strategy: s,
213
- middlewareData: u
212
+ strategy: o,
213
+ middlewareData: f
214
214
  };
215
215
  };
216
- async function M2(e, t) {
216
+ async function R2(t, e) {
217
217
  var n;
218
- t === void 0 && (t = {});
218
+ e === void 0 && (e = {});
219
219
  const {
220
- x: o,
221
- y: s,
222
- platform: i,
220
+ x: i,
221
+ y: o,
222
+ platform: s,
223
223
  rects: l,
224
- elements: a,
225
- strategy: r
226
- } = e, {
224
+ elements: r,
225
+ strategy: a
226
+ } = t, {
227
227
  boundary: c = "clippingAncestors",
228
228
  rootBoundary: d = "viewport",
229
- elementContext: f = "floating",
229
+ elementContext: u = "floating",
230
230
  altBoundary: g = !1,
231
- padding: u = 0
232
- } = c2(t, e), C = i0(u), w = a[g ? f === "floating" ? "reference" : "floating" : f], p = x2(await i.getClippingRect({
233
- element: (n = await (i.isElement == null ? void 0 : i.isElement(w))) == null || n ? w : w.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(a.floating)),
231
+ padding: f = 0
232
+ } = c2(e, t), C = z2(f), w = r[g ? u === "floating" ? "reference" : "floating" : u], p = x2(await s.getClippingRect({
233
+ element: (n = await (s.isElement == null ? void 0 : s.isElement(w))) == null || n ? w : w.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(r.floating)),
234
234
  boundary: c,
235
235
  rootBoundary: d,
236
- strategy: r
237
- })), v = f === "floating" ? {
238
- x: o,
239
- y: s,
236
+ strategy: a
237
+ })), v = u === "floating" ? {
238
+ x: i,
239
+ y: o,
240
240
  width: l.floating.width,
241
241
  height: l.floating.height
242
- } : l.reference, x = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(a.floating)), h = await (i.isElement == null ? void 0 : i.isElement(x)) ? await (i.getScale == null ? void 0 : i.getScale(x)) || {
242
+ } : l.reference, b = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(r.floating)), h = await (s.isElement == null ? void 0 : s.isElement(b)) ? await (s.getScale == null ? void 0 : s.getScale(b)) || {
243
243
  x: 1,
244
244
  y: 1
245
245
  } : {
246
246
  x: 1,
247
247
  y: 1
248
- }, A = x2(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
249
- elements: a,
248
+ }, A = x2(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
249
+ elements: r,
250
250
  rect: v,
251
- offsetParent: x,
252
- strategy: r
251
+ offsetParent: b,
252
+ strategy: a
253
253
  }) : v);
254
254
  return {
255
255
  top: (p.top - A.top + C.top) / h.y,
@@ -258,113 +258,113 @@ async function M2(e, t) {
258
258
  right: (A.right - p.right + C.right) / h.x
259
259
  };
260
260
  }
261
- const S0 = (e) => ({
261
+ const x0 = (t) => ({
262
262
  name: "arrow",
263
- options: e,
264
- async fn(t) {
263
+ options: t,
264
+ async fn(e) {
265
265
  const {
266
266
  x: n,
267
- y: o,
268
- placement: s,
269
- rects: i,
267
+ y: i,
268
+ placement: o,
269
+ rects: s,
270
270
  platform: l,
271
- elements: a,
272
- middlewareData: r
273
- } = t, {
271
+ elements: r,
272
+ middlewareData: a
273
+ } = e, {
274
274
  element: c,
275
275
  padding: d = 0
276
- } = c2(e, t) || {};
276
+ } = c2(t, e) || {};
277
277
  if (c == null)
278
278
  return {};
279
- const f = i0(d), g = {
279
+ const u = z2(d), g = {
280
280
  x: n,
281
- y: o
282
- }, u = D2(s), C = k2(u), m = await l.getDimensions(c), w = u === "y", p = w ? "top" : "left", v = w ? "bottom" : "right", x = w ? "clientHeight" : "clientWidth", h = i.reference[C] + i.reference[u] - g[u] - i.floating[C], A = g[u] - i.reference[u], I = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(c));
283
- let B = I ? I[x] : 0;
284
- (!B || !await (l.isElement == null ? void 0 : l.isElement(I))) && (B = a.floating[x] || i.floating[C]);
285
- const T = h / 2 - A / 2, Q = B / 2 - m[C] / 2 - 1, R = U(f[p], Q), q = U(f[v], Q), _ = R, u2 = B - m[C] - q, L = B / 2 - m[C] / 2 + T, o2 = L2(_, L, u2), V = !r.arrow && d2(s) != null && L !== o2 && i.reference[C] / 2 - (L < _ ? R : q) - m[C] / 2 < 0, J = V ? L < _ ? L - _ : L - u2 : 0;
281
+ y: i
282
+ }, f = D2(o), C = k2(f), m = await l.getDimensions(c), w = f === "y", p = w ? "top" : "left", v = w ? "bottom" : "right", b = w ? "clientHeight" : "clientWidth", h = s.reference[C] + s.reference[f] - g[f] - s.floating[C], A = g[f] - s.reference[f], y = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(c));
283
+ let B = y ? y[b] : 0;
284
+ (!B || !await (l.isElement == null ? void 0 : l.isElement(y))) && (B = r.floating[b] || s.floating[C]);
285
+ const D = h / 2 - A / 2, F = B / 2 - m[C] / 2 - 1, R = U(u[p], F), N = U(u[v], F), X = R, u2 = B - m[C] - N, L = B / 2 - m[C] / 2 + D, i2 = L2(X, L, u2), V = !a.arrow && d2(o) != null && L !== i2 && s.reference[C] / 2 - (L < X ? R : N) - m[C] / 2 < 0, G = V ? L < X ? L - X : L - u2 : 0;
286
286
  return {
287
- [u]: g[u] + J,
287
+ [f]: g[f] + G,
288
288
  data: {
289
- [u]: o2,
290
- centerOffset: L - o2 - J,
289
+ [f]: i2,
290
+ centerOffset: L - i2 - G,
291
291
  ...V && {
292
- alignmentOffset: J
292
+ alignmentOffset: G
293
293
  }
294
294
  },
295
295
  reset: V
296
296
  };
297
297
  }
298
- }), Q0 = function(e) {
299
- return e === void 0 && (e = {}), {
298
+ }), b0 = function(t) {
299
+ return t === void 0 && (t = {}), {
300
300
  name: "flip",
301
- options: e,
302
- async fn(t) {
303
- var n, o;
301
+ options: t,
302
+ async fn(e) {
303
+ var n, i;
304
304
  const {
305
- placement: s,
306
- middlewareData: i,
305
+ placement: o,
306
+ middlewareData: s,
307
307
  rects: l,
308
- initialPlacement: a,
309
- platform: r,
308
+ initialPlacement: r,
309
+ platform: a,
310
310
  elements: c
311
- } = t, {
311
+ } = e, {
312
312
  mainAxis: d = !0,
313
- crossAxis: f = !0,
313
+ crossAxis: u = !0,
314
314
  fallbackPlacements: g,
315
- fallbackStrategy: u = "bestFit",
315
+ fallbackStrategy: f = "bestFit",
316
316
  fallbackAxisSideDirection: C = "none",
317
317
  flipAlignment: m = !0,
318
318
  ...w
319
- } = c2(e, t);
320
- if ((n = i.arrow) != null && n.alignmentOffset)
319
+ } = c2(t, e);
320
+ if ((n = s.arrow) != null && n.alignmentOffset)
321
321
  return {};
322
- const p = $(s), v = e2(a), x = $(a) === a, h = await (r.isRTL == null ? void 0 : r.isRTL(c.floating)), A = g || (x || !m ? [b2(a)] : B0(a)), I = C !== "none";
323
- !g && I && A.push(...I0(a, m, C, h));
324
- const B = [a, ...A], T = await M2(t, w), Q = [];
325
- let R = ((o = i.flip) == null ? void 0 : o.overflows) || [];
326
- if (d && Q.push(T[p]), f) {
327
- const L = x0(s, l, h);
328
- Q.push(T[L[0]], T[L[1]]);
322
+ const p = z(o), v = t2(r), b = z(r) === r, h = await (a.isRTL == null ? void 0 : a.isRTL(c.floating)), A = g || (b || !m ? [v2(r)] : h0(r)), y = C !== "none";
323
+ !g && y && A.push(...w0(r, m, C, h));
324
+ const B = [r, ...A], D = await R2(e, w), F = [];
325
+ let R = ((i = s.flip) == null ? void 0 : i.overflows) || [];
326
+ if (d && F.push(D[p]), u) {
327
+ const L = C0(o, l, h);
328
+ F.push(D[L[0]], D[L[1]]);
329
329
  }
330
330
  if (R = [...R, {
331
- placement: s,
332
- overflows: Q
333
- }], !Q.every((L) => L <= 0)) {
334
- var q, _;
335
- const L = (((q = i.flip) == null ? void 0 : q.index) || 0) + 1, o2 = B[L];
336
- if (o2)
331
+ placement: o,
332
+ overflows: F
333
+ }], !F.every((L) => L <= 0)) {
334
+ var N, X;
335
+ const L = (((N = s.flip) == null ? void 0 : N.index) || 0) + 1, i2 = B[L];
336
+ if (i2)
337
337
  return {
338
338
  data: {
339
339
  index: L,
340
340
  overflows: R
341
341
  },
342
342
  reset: {
343
- placement: o2
343
+ placement: i2
344
344
  }
345
345
  };
346
- let V = (_ = R.filter((J) => J.overflows[0] <= 0).sort((J, j) => J.overflows[1] - j.overflows[1])[0]) == null ? void 0 : _.placement;
346
+ let V = (X = R.filter((G) => G.overflows[0] <= 0).sort((G, Z) => G.overflows[1] - Z.overflows[1])[0]) == null ? void 0 : X.placement;
347
347
  if (!V)
348
- switch (u) {
348
+ switch (f) {
349
349
  case "bestFit": {
350
350
  var u2;
351
- const J = (u2 = R.filter((j) => {
352
- if (I) {
353
- const P = e2(j.placement);
354
- return P === v || // Create a bias to the `y` side axis due to horizontal
351
+ const G = (u2 = R.filter((Z) => {
352
+ if (y) {
353
+ const q = t2(Z.placement);
354
+ return q === v || // Create a bias to the `y` side axis due to horizontal
355
355
  // reading directions favoring greater width.
356
- P === "y";
356
+ q === "y";
357
357
  }
358
358
  return !0;
359
- }).map((j) => [j.placement, j.overflows.filter((P) => P > 0).reduce((P, A0) => P + A0, 0)]).sort((j, P) => j[1] - P[1])[0]) == null ? void 0 : u2[0];
360
- J && (V = J);
359
+ }).map((Z) => [Z.placement, Z.overflows.filter((q) => q > 0).reduce((q, l0) => q + l0, 0)]).sort((Z, q) => Z[1] - q[1])[0]) == null ? void 0 : u2[0];
360
+ G && (V = G);
361
361
  break;
362
362
  }
363
363
  case "initialPlacement":
364
- V = a;
364
+ V = r;
365
365
  break;
366
366
  }
367
- if (s !== V)
367
+ if (o !== V)
368
368
  return {
369
369
  reset: {
370
370
  placement: V
@@ -375,69 +375,69 @@ const S0 = (e) => ({
375
375
  }
376
376
  };
377
377
  };
378
- async function F0(e, t) {
378
+ async function B0(t, e) {
379
379
  const {
380
380
  placement: n,
381
- platform: o,
382
- elements: s
383
- } = e, i = await (o.isRTL == null ? void 0 : o.isRTL(s.floating)), l = $(n), a = d2(n), r = e2(n) === "y", c = ["left", "top"].includes(l) ? -1 : 1, d = i && r ? -1 : 1, f = c2(t, e);
381
+ platform: i,
382
+ elements: o
383
+ } = t, s = await (i.isRTL == null ? void 0 : i.isRTL(o.floating)), l = z(n), r = d2(n), a = t2(n) === "y", c = ["left", "top"].includes(l) ? -1 : 1, d = s && a ? -1 : 1, u = c2(e, t);
384
384
  let {
385
385
  mainAxis: g,
386
- crossAxis: u,
386
+ crossAxis: f,
387
387
  alignmentAxis: C
388
- } = typeof f == "number" ? {
389
- mainAxis: f,
388
+ } = typeof u == "number" ? {
389
+ mainAxis: u,
390
390
  crossAxis: 0,
391
391
  alignmentAxis: null
392
392
  } : {
393
393
  mainAxis: 0,
394
394
  crossAxis: 0,
395
395
  alignmentAxis: null,
396
- ...f
396
+ ...u
397
397
  };
398
- return a && typeof C == "number" && (u = a === "end" ? C * -1 : C), r ? {
399
- x: u * d,
398
+ return r && typeof C == "number" && (f = r === "end" ? C * -1 : C), a ? {
399
+ x: f * d,
400
400
  y: g * c
401
401
  } : {
402
402
  x: g * c,
403
- y: u * d
403
+ y: f * d
404
404
  };
405
405
  }
406
- const k0 = function(e) {
407
- return e === void 0 && (e = 0), {
406
+ const I0 = function(t) {
407
+ return t === void 0 && (t = 0), {
408
408
  name: "offset",
409
- options: e,
410
- async fn(t) {
411
- var n, o;
409
+ options: t,
410
+ async fn(e) {
411
+ var n, i;
412
412
  const {
413
- x: s,
414
- y: i,
413
+ x: o,
414
+ y: s,
415
415
  placement: l,
416
- middlewareData: a
417
- } = t, r = await F0(t, e);
418
- return l === ((n = a.offset) == null ? void 0 : n.placement) && (o = a.arrow) != null && o.alignmentOffset ? {} : {
419
- x: s + r.x,
420
- y: i + r.y,
416
+ middlewareData: r
417
+ } = e, a = await B0(e, t);
418
+ return l === ((n = r.offset) == null ? void 0 : n.placement) && (i = r.arrow) != null && i.alignmentOffset ? {} : {
419
+ x: o + a.x,
420
+ y: s + a.y,
421
421
  data: {
422
- ...r,
422
+ ...a,
423
423
  placement: l
424
424
  }
425
425
  };
426
426
  }
427
427
  };
428
- }, D0 = function(e) {
429
- return e === void 0 && (e = {}), {
428
+ }, y0 = function(t) {
429
+ return t === void 0 && (t = {}), {
430
430
  name: "shift",
431
- options: e,
432
- async fn(t) {
431
+ options: t,
432
+ async fn(e) {
433
433
  const {
434
434
  x: n,
435
- y: o,
436
- placement: s
437
- } = t, {
438
- mainAxis: i = !0,
435
+ y: i,
436
+ placement: o
437
+ } = e, {
438
+ mainAxis: s = !0,
439
439
  crossAxis: l = !1,
440
- limiter: a = {
440
+ limiter: r = {
441
441
  fn: (w) => {
442
442
  let {
443
443
  x: p,
@@ -449,67 +449,67 @@ const k0 = function(e) {
449
449
  };
450
450
  }
451
451
  },
452
- ...r
453
- } = c2(e, t), c = {
452
+ ...a
453
+ } = c2(t, e), c = {
454
454
  x: n,
455
- y: o
456
- }, d = await M2(t, r), f = e2($(s)), g = o0(f);
457
- let u = c[g], C = c[f];
458
- if (i) {
459
- const w = g === "y" ? "top" : "left", p = g === "y" ? "bottom" : "right", v = u + d[w], x = u - d[p];
460
- u = L2(v, u, x);
455
+ y: i
456
+ }, d = await R2(e, a), u = t2(z(o)), g = P2(u);
457
+ let f = c[g], C = c[u];
458
+ if (s) {
459
+ const w = g === "y" ? "top" : "left", p = g === "y" ? "bottom" : "right", v = f + d[w], b = f - d[p];
460
+ f = L2(v, f, b);
461
461
  }
462
462
  if (l) {
463
- const w = f === "y" ? "top" : "left", p = f === "y" ? "bottom" : "right", v = C + d[w], x = C - d[p];
464
- C = L2(v, C, x);
463
+ const w = u === "y" ? "top" : "left", p = u === "y" ? "bottom" : "right", v = C + d[w], b = C - d[p];
464
+ C = L2(v, C, b);
465
465
  }
466
- const m = a.fn({
467
- ...t,
468
- [g]: u,
469
- [f]: C
466
+ const m = r.fn({
467
+ ...e,
468
+ [g]: f,
469
+ [u]: C
470
470
  });
471
471
  return {
472
472
  ...m,
473
473
  data: {
474
474
  x: m.x - n,
475
- y: m.y - o
475
+ y: m.y - i
476
476
  }
477
477
  };
478
478
  }
479
479
  };
480
- }, M0 = function(e) {
481
- return e === void 0 && (e = {}), {
480
+ }, E0 = function(t) {
481
+ return t === void 0 && (t = {}), {
482
482
  name: "size",
483
- options: e,
484
- async fn(t) {
483
+ options: t,
484
+ async fn(e) {
485
485
  const {
486
486
  placement: n,
487
- rects: o,
488
- platform: s,
489
- elements: i
490
- } = t, {
487
+ rects: i,
488
+ platform: o,
489
+ elements: s
490
+ } = e, {
491
491
  apply: l = () => {
492
492
  },
493
- ...a
494
- } = c2(e, t), r = await M2(t, a), c = $(n), d = d2(n), f = e2(n) === "y", {
493
+ ...r
494
+ } = c2(t, e), a = await R2(e, r), c = z(n), d = d2(n), u = t2(n) === "y", {
495
495
  width: g,
496
- height: u
497
- } = o.floating;
496
+ height: f
497
+ } = i.floating;
498
498
  let C, m;
499
- c === "top" || c === "bottom" ? (C = c, m = d === (await (s.isRTL == null ? void 0 : s.isRTL(i.floating)) ? "start" : "end") ? "left" : "right") : (m = c, C = d === "end" ? "top" : "bottom");
500
- const w = u - r.top - r.bottom, p = g - r.left - r.right, v = U(u - r[C], w), x = U(g - r[m], p), h = !t.middlewareData.shift;
501
- let A = v, I = x;
502
- if (f ? I = d || h ? U(x, p) : p : A = d || h ? U(v, w) : w, h && !d) {
503
- const T = F(r.left, 0), Q = F(r.right, 0), R = F(r.top, 0), q = F(r.bottom, 0);
504
- f ? I = g - 2 * (T !== 0 || Q !== 0 ? T + Q : F(r.left, r.right)) : A = u - 2 * (R !== 0 || q !== 0 ? R + q : F(r.top, r.bottom));
499
+ c === "top" || c === "bottom" ? (C = c, m = d === (await (o.isRTL == null ? void 0 : o.isRTL(s.floating)) ? "start" : "end") ? "left" : "right") : (m = c, C = d === "end" ? "top" : "bottom");
500
+ const w = f - a.top - a.bottom, p = g - a.left - a.right, v = U(f - a[C], w), b = U(g - a[m], p), h = !e.middlewareData.shift;
501
+ let A = v, y = b;
502
+ if (u ? y = d || h ? U(b, p) : p : A = d || h ? U(v, w) : w, h && !d) {
503
+ const D = S(a.left, 0), F = S(a.right, 0), R = S(a.top, 0), N = S(a.bottom, 0);
504
+ u ? y = g - 2 * (D !== 0 || F !== 0 ? D + F : S(a.left, a.right)) : A = f - 2 * (R !== 0 || N !== 0 ? R + N : S(a.top, a.bottom));
505
505
  }
506
506
  await l({
507
- ...t,
508
- availableWidth: I,
507
+ ...e,
508
+ availableWidth: y,
509
509
  availableHeight: A
510
510
  });
511
- const B = await s.getDimensions(i.floating);
512
- return g !== B.width || u !== B.height ? {
511
+ const B = await o.getDimensions(s.floating);
512
+ return g !== B.width || f !== B.height ? {
513
513
  reset: {
514
514
  rects: !0
515
515
  }
@@ -517,309 +517,309 @@ const k0 = function(e) {
517
517
  }
518
518
  };
519
519
  };
520
- function n2(e) {
521
- return T2(e) ? (e.nodeName || "").toLowerCase() : "#document";
520
+ function n2(t) {
521
+ return T2(t) ? (t.nodeName || "").toLowerCase() : "#document";
522
522
  }
523
- function k(e) {
524
- var t;
525
- return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
523
+ function M(t) {
524
+ var e;
525
+ return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
526
526
  }
527
- function Z(e) {
528
- var t;
529
- return (t = (T2(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
527
+ function W(t) {
528
+ var e;
529
+ return (e = (T2(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
530
530
  }
531
- function T2(e) {
532
- return e instanceof Node || e instanceof k(e).Node;
531
+ function T2(t) {
532
+ return t instanceof Node || t instanceof M(t).Node;
533
533
  }
534
- function Y(e) {
535
- return e instanceof Element || e instanceof k(e).Element;
534
+ function Y(t) {
535
+ return t instanceof Element || t instanceof M(t).Element;
536
536
  }
537
- function K(e) {
538
- return e instanceof HTMLElement || e instanceof k(e).HTMLElement;
537
+ function K(t) {
538
+ return t instanceof HTMLElement || t instanceof M(t).HTMLElement;
539
539
  }
540
- function K2(e) {
541
- return typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof k(e).ShadowRoot;
540
+ function Y2(t) {
541
+ return typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof M(t).ShadowRoot;
542
542
  }
543
- function m2(e) {
543
+ function C2(t) {
544
544
  const {
545
- overflow: t,
545
+ overflow: e,
546
546
  overflowX: n,
547
- overflowY: o,
548
- display: s
549
- } = G(e);
550
- return /auto|scroll|overlay|hidden|clip/.test(t + o + n) && !["inline", "contents"].includes(s);
547
+ overflowY: i,
548
+ display: o
549
+ } = O(t);
550
+ return /auto|scroll|overlay|hidden|clip/.test(e + i + n) && !["inline", "contents"].includes(o);
551
551
  }
552
- function T0(e) {
553
- return ["table", "td", "th"].includes(n2(e));
552
+ function L0(t) {
553
+ return ["table", "td", "th"].includes(n2(t));
554
554
  }
555
- function B2(e) {
556
- return [":popover-open", ":modal"].some((t) => {
555
+ function B2(t) {
556
+ return [":popover-open", ":modal"].some((e) => {
557
557
  try {
558
- return e.matches(t);
558
+ return t.matches(e);
559
559
  } catch {
560
560
  return !1;
561
561
  }
562
562
  });
563
563
  }
564
- function R2(e) {
565
- const t = H2(), n = G(e);
566
- return n.transform !== "none" || n.perspective !== "none" || (n.containerType ? n.containerType !== "normal" : !1) || !t && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !t && (n.filter ? n.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((o) => (n.willChange || "").includes(o)) || ["paint", "layout", "strict", "content"].some((o) => (n.contain || "").includes(o));
564
+ function H2(t) {
565
+ const e = O2(), n = O(t);
566
+ return n.transform !== "none" || n.perspective !== "none" || (n.containerType ? n.containerType !== "normal" : !1) || !e && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !e && (n.filter ? n.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((i) => (n.willChange || "").includes(i)) || ["paint", "layout", "strict", "content"].some((i) => (n.contain || "").includes(i));
567
567
  }
568
- function R0(e) {
569
- let t = X(e);
570
- for (; K(t) && !a2(t); ) {
571
- if (B2(t))
568
+ function Q0(t) {
569
+ let e = $(t);
570
+ for (; K(e) && !r2(e); ) {
571
+ if (B2(e))
572
572
  return null;
573
- if (R2(t))
574
- return t;
575
- t = X(t);
573
+ if (H2(e))
574
+ return e;
575
+ e = $(e);
576
576
  }
577
577
  return null;
578
578
  }
579
- function H2() {
579
+ function O2() {
580
580
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
581
581
  }
582
- function a2(e) {
583
- return ["html", "body", "#document"].includes(n2(e));
582
+ function r2(t) {
583
+ return ["html", "body", "#document"].includes(n2(t));
584
584
  }
585
- function G(e) {
586
- return k(e).getComputedStyle(e);
585
+ function O(t) {
586
+ return M(t).getComputedStyle(t);
587
587
  }
588
- function y2(e) {
589
- return Y(e) ? {
590
- scrollLeft: e.scrollLeft,
591
- scrollTop: e.scrollTop
588
+ function I2(t) {
589
+ return Y(t) ? {
590
+ scrollLeft: t.scrollLeft,
591
+ scrollTop: t.scrollTop
592
592
  } : {
593
- scrollLeft: e.scrollX,
594
- scrollTop: e.scrollY
593
+ scrollLeft: t.scrollX,
594
+ scrollTop: t.scrollY
595
595
  };
596
596
  }
597
- function X(e) {
598
- if (n2(e) === "html")
599
- return e;
600
- const t = (
597
+ function $(t) {
598
+ if (n2(t) === "html")
599
+ return t;
600
+ const e = (
601
601
  // Step into the shadow DOM of the parent of a slotted node.
602
- e.assignedSlot || // DOM Element detected.
603
- e.parentNode || // ShadowRoot detected.
604
- K2(e) && e.host || // Fallback.
605
- Z(e)
602
+ t.assignedSlot || // DOM Element detected.
603
+ t.parentNode || // ShadowRoot detected.
604
+ Y2(t) && t.host || // Fallback.
605
+ W(t)
606
606
  );
607
- return K2(t) ? t.host : t;
608
- }
609
- function s0(e) {
610
- const t = X(e);
611
- return a2(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : K(t) && m2(t) ? t : s0(t);
612
- }
613
- function h2(e, t, n) {
614
- var o;
615
- t === void 0 && (t = []), n === void 0 && (n = !0);
616
- const s = s0(e), i = s === ((o = e.ownerDocument) == null ? void 0 : o.body), l = k(s);
617
- return i ? t.concat(l, l.visualViewport || [], m2(s) ? s : [], l.frameElement && n ? h2(l.frameElement) : []) : t.concat(s, h2(s, [], n));
618
- }
619
- function l0(e) {
620
- const t = G(e);
621
- let n = parseFloat(t.width) || 0, o = parseFloat(t.height) || 0;
622
- const s = K(e), i = s ? e.offsetWidth : n, l = s ? e.offsetHeight : o, a = v2(n) !== i || v2(o) !== l;
623
- return a && (n = i, o = l), {
607
+ return Y2(e) ? e.host : e;
608
+ }
609
+ function $2(t) {
610
+ const e = $(t);
611
+ return r2(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : K(e) && C2(e) ? e : $2(e);
612
+ }
613
+ function g2(t, e, n) {
614
+ var i;
615
+ e === void 0 && (e = []), n === void 0 && (n = !0);
616
+ const o = $2(t), s = o === ((i = t.ownerDocument) == null ? void 0 : i.body), l = M(o);
617
+ return s ? e.concat(l, l.visualViewport || [], C2(o) ? o : [], l.frameElement && n ? g2(l.frameElement) : []) : e.concat(o, g2(o, [], n));
618
+ }
619
+ function X2(t) {
620
+ const e = O(t);
621
+ let n = parseFloat(e.width) || 0, i = parseFloat(e.height) || 0;
622
+ const o = K(t), s = o ? t.offsetWidth : n, l = o ? t.offsetHeight : i, r = p2(n) !== s || p2(i) !== l;
623
+ return r && (n = s, i = l), {
624
624
  width: n,
625
- height: o,
626
- $: a
625
+ height: i,
626
+ $: r
627
627
  };
628
628
  }
629
- function O2(e) {
630
- return Y(e) ? e : e.contextElement;
629
+ function G2(t) {
630
+ return Y(t) ? t : t.contextElement;
631
631
  }
632
- function l2(e) {
633
- const t = O2(e);
634
- if (!K(t))
635
- return z(1);
636
- const n = t.getBoundingClientRect(), {
637
- width: o,
638
- height: s,
639
- $: i
640
- } = l0(t);
641
- let l = (i ? v2(n.width) : n.width) / o, a = (i ? v2(n.height) : n.height) / s;
642
- return (!l || !Number.isFinite(l)) && (l = 1), (!a || !Number.isFinite(a)) && (a = 1), {
632
+ function l2(t) {
633
+ const e = G2(t);
634
+ if (!K(e))
635
+ return P(1);
636
+ const n = e.getBoundingClientRect(), {
637
+ width: i,
638
+ height: o,
639
+ $: s
640
+ } = X2(e);
641
+ let l = (s ? p2(n.width) : n.width) / i, r = (s ? p2(n.height) : n.height) / o;
642
+ return (!l || !Number.isFinite(l)) && (l = 1), (!r || !Number.isFinite(r)) && (r = 1), {
643
643
  x: l,
644
- y: a
644
+ y: r
645
645
  };
646
646
  }
647
- const H0 = /* @__PURE__ */ z(0);
648
- function r0(e) {
649
- const t = k(e);
650
- return !H2() || !t.visualViewport ? H0 : {
651
- x: t.visualViewport.offsetLeft,
652
- y: t.visualViewport.offsetTop
647
+ const F0 = /* @__PURE__ */ P(0);
648
+ function _2(t) {
649
+ const e = M(t);
650
+ return !O2() || !e.visualViewport ? F0 : {
651
+ x: e.visualViewport.offsetLeft,
652
+ y: e.visualViewport.offsetTop
653
653
  };
654
654
  }
655
- function O0(e, t, n) {
656
- return t === void 0 && (t = !1), !n || t && n !== k(e) ? !1 : t;
657
- }
658
- function t2(e, t, n, o) {
659
- t === void 0 && (t = !1), n === void 0 && (n = !1);
660
- const s = e.getBoundingClientRect(), i = O2(e);
661
- let l = z(1);
662
- t && (o ? Y(o) && (l = l2(o)) : l = l2(e));
663
- const a = O0(i, n, o) ? r0(i) : z(0);
664
- let r = (s.left + a.x) / l.x, c = (s.top + a.y) / l.y, d = s.width / l.x, f = s.height / l.y;
665
- if (i) {
666
- const g = k(i), u = o && Y(o) ? k(o) : o;
655
+ function S0(t, e, n) {
656
+ return e === void 0 && (e = !1), !n || e && n !== M(t) ? !1 : e;
657
+ }
658
+ function e2(t, e, n, i) {
659
+ e === void 0 && (e = !1), n === void 0 && (n = !1);
660
+ const o = t.getBoundingClientRect(), s = G2(t);
661
+ let l = P(1);
662
+ e && (i ? Y(i) && (l = l2(i)) : l = l2(t));
663
+ const r = S0(s, n, i) ? _2(s) : P(0);
664
+ let a = (o.left + r.x) / l.x, c = (o.top + r.y) / l.y, d = o.width / l.x, u = o.height / l.y;
665
+ if (s) {
666
+ const g = M(s), f = i && Y(i) ? M(i) : i;
667
667
  let C = g, m = C.frameElement;
668
- for (; m && o && u !== C; ) {
669
- const w = l2(m), p = m.getBoundingClientRect(), v = G(m), x = p.left + (m.clientLeft + parseFloat(v.paddingLeft)) * w.x, h = p.top + (m.clientTop + parseFloat(v.paddingTop)) * w.y;
670
- r *= w.x, c *= w.y, d *= w.x, f *= w.y, r += x, c += h, C = k(m), m = C.frameElement;
668
+ for (; m && i && f !== C; ) {
669
+ const w = l2(m), p = m.getBoundingClientRect(), v = O(m), b = p.left + (m.clientLeft + parseFloat(v.paddingLeft)) * w.x, h = p.top + (m.clientTop + parseFloat(v.paddingTop)) * w.y;
670
+ a *= w.x, c *= w.y, d *= w.x, u *= w.y, a += b, c += h, C = M(m), m = C.frameElement;
671
671
  }
672
672
  }
673
673
  return x2({
674
674
  width: d,
675
- height: f,
676
- x: r,
675
+ height: u,
676
+ x: a,
677
677
  y: c
678
678
  });
679
679
  }
680
- function G0(e) {
680
+ function M0(t) {
681
681
  let {
682
- elements: t,
682
+ elements: e,
683
683
  rect: n,
684
- offsetParent: o,
685
- strategy: s
686
- } = e;
687
- const i = s === "fixed", l = Z(o), a = t ? B2(t.floating) : !1;
688
- if (o === l || a && i)
684
+ offsetParent: i,
685
+ strategy: o
686
+ } = t;
687
+ const s = o === "fixed", l = W(i), r = e ? B2(e.floating) : !1;
688
+ if (i === l || r && s)
689
689
  return n;
690
- let r = {
690
+ let a = {
691
691
  scrollLeft: 0,
692
692
  scrollTop: 0
693
- }, c = z(1);
694
- const d = z(0), f = K(o);
695
- if ((f || !f && !i) && ((n2(o) !== "body" || m2(l)) && (r = y2(o)), K(o))) {
696
- const g = t2(o);
697
- c = l2(o), d.x = g.x + o.clientLeft, d.y = g.y + o.clientTop;
693
+ }, c = P(1);
694
+ const d = P(0), u = K(i);
695
+ if ((u || !u && !s) && ((n2(i) !== "body" || C2(l)) && (a = I2(i)), K(i))) {
696
+ const g = e2(i);
697
+ c = l2(i), d.x = g.x + i.clientLeft, d.y = g.y + i.clientTop;
698
698
  }
699
699
  return {
700
700
  width: n.width * c.x,
701
701
  height: n.height * c.y,
702
- x: n.x * c.x - r.scrollLeft * c.x + d.x,
703
- y: n.y * c.y - r.scrollTop * c.y + d.y
702
+ x: n.x * c.x - a.scrollLeft * c.x + d.x,
703
+ y: n.y * c.y - a.scrollTop * c.y + d.y
704
704
  };
705
705
  }
706
- function J0(e) {
707
- return Array.from(e.getClientRects());
706
+ function k0(t) {
707
+ return Array.from(t.getClientRects());
708
708
  }
709
- function a0(e) {
710
- return t2(Z(e)).left + y2(e).scrollLeft;
709
+ function t0(t) {
710
+ return e2(W(t)).left + I2(t).scrollLeft;
711
711
  }
712
- function U0(e) {
713
- const t = Z(e), n = y2(e), o = e.ownerDocument.body, s = F(t.scrollWidth, t.clientWidth, o.scrollWidth, o.clientWidth), i = F(t.scrollHeight, t.clientHeight, o.scrollHeight, o.clientHeight);
714
- let l = -n.scrollLeft + a0(e);
715
- const a = -n.scrollTop;
716
- return G(o).direction === "rtl" && (l += F(t.clientWidth, o.clientWidth) - s), {
717
- width: s,
718
- height: i,
712
+ function D0(t) {
713
+ const e = W(t), n = I2(t), i = t.ownerDocument.body, o = S(e.scrollWidth, e.clientWidth, i.scrollWidth, i.clientWidth), s = S(e.scrollHeight, e.clientHeight, i.scrollHeight, i.clientHeight);
714
+ let l = -n.scrollLeft + t0(t);
715
+ const r = -n.scrollTop;
716
+ return O(i).direction === "rtl" && (l += S(e.clientWidth, i.clientWidth) - o), {
717
+ width: o,
718
+ height: s,
719
719
  x: l,
720
- y: a
720
+ y: r
721
721
  };
722
722
  }
723
- function Y0(e, t) {
724
- const n = k(e), o = Z(e), s = n.visualViewport;
725
- let i = o.clientWidth, l = o.clientHeight, a = 0, r = 0;
726
- if (s) {
727
- i = s.width, l = s.height;
728
- const c = H2();
729
- (!c || c && t === "fixed") && (a = s.offsetLeft, r = s.offsetTop);
723
+ function R0(t, e) {
724
+ const n = M(t), i = W(t), o = n.visualViewport;
725
+ let s = i.clientWidth, l = i.clientHeight, r = 0, a = 0;
726
+ if (o) {
727
+ s = o.width, l = o.height;
728
+ const c = O2();
729
+ (!c || c && e === "fixed") && (r = o.offsetLeft, a = o.offsetTop);
730
730
  }
731
731
  return {
732
- width: i,
732
+ width: s,
733
733
  height: l,
734
- x: a,
735
- y: r
734
+ x: r,
735
+ y: a
736
736
  };
737
737
  }
738
- function K0(e, t) {
739
- const n = t2(e, !0, t === "fixed"), o = n.top + e.clientTop, s = n.left + e.clientLeft, i = K(e) ? l2(e) : z(1), l = e.clientWidth * i.x, a = e.clientHeight * i.y, r = s * i.x, c = o * i.y;
738
+ function T0(t, e) {
739
+ const n = e2(t, !0, e === "fixed"), i = n.top + t.clientTop, o = n.left + t.clientLeft, s = K(t) ? l2(t) : P(1), l = t.clientWidth * s.x, r = t.clientHeight * s.y, a = o * s.x, c = i * s.y;
740
740
  return {
741
741
  width: l,
742
- height: a,
743
- x: r,
742
+ height: r,
743
+ x: a,
744
744
  y: c
745
745
  };
746
746
  }
747
- function V2(e, t, n) {
748
- let o;
749
- if (t === "viewport")
750
- o = Y0(e, n);
751
- else if (t === "document")
752
- o = U0(Z(e));
753
- else if (Y(t))
754
- o = K0(t, n);
747
+ function K2(t, e, n) {
748
+ let i;
749
+ if (e === "viewport")
750
+ i = R0(t, n);
751
+ else if (e === "document")
752
+ i = D0(W(t));
753
+ else if (Y(e))
754
+ i = T0(e, n);
755
755
  else {
756
- const s = r0(e);
757
- o = {
758
- ...t,
759
- x: t.x - s.x,
760
- y: t.y - s.y
756
+ const o = _2(t);
757
+ i = {
758
+ ...e,
759
+ x: e.x - o.x,
760
+ y: e.y - o.y
761
761
  };
762
762
  }
763
- return x2(o);
763
+ return x2(i);
764
764
  }
765
- function c0(e, t) {
766
- const n = X(e);
767
- return n === t || !Y(n) || a2(n) ? !1 : G(n).position === "fixed" || c0(n, t);
765
+ function e0(t, e) {
766
+ const n = $(t);
767
+ return n === e || !Y(n) || r2(n) ? !1 : O(n).position === "fixed" || e0(n, e);
768
768
  }
769
- function V0(e, t) {
770
- const n = t.get(e);
769
+ function H0(t, e) {
770
+ const n = e.get(t);
771
771
  if (n)
772
772
  return n;
773
- let o = h2(e, [], !1).filter((a) => Y(a) && n2(a) !== "body"), s = null;
774
- const i = G(e).position === "fixed";
775
- let l = i ? X(e) : e;
776
- for (; Y(l) && !a2(l); ) {
777
- const a = G(l), r = R2(l);
778
- !r && a.position === "fixed" && (s = null), (i ? !r && !s : !r && a.position === "static" && !!s && ["absolute", "fixed"].includes(s.position) || m2(l) && !r && c0(e, l)) ? o = o.filter((d) => d !== l) : s = a, l = X(l);
773
+ let i = g2(t, [], !1).filter((r) => Y(r) && n2(r) !== "body"), o = null;
774
+ const s = O(t).position === "fixed";
775
+ let l = s ? $(t) : t;
776
+ for (; Y(l) && !r2(l); ) {
777
+ const r = O(l), a = H2(l);
778
+ !a && r.position === "fixed" && (o = null), (s ? !a && !o : !a && r.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || C2(l) && !a && e0(t, l)) ? i = i.filter((d) => d !== l) : o = r, l = $(l);
779
779
  }
780
- return t.set(e, o), o;
780
+ return e.set(t, i), i;
781
781
  }
782
- function W0(e) {
782
+ function O0(t) {
783
783
  let {
784
- element: t,
784
+ element: e,
785
785
  boundary: n,
786
- rootBoundary: o,
787
- strategy: s
788
- } = e;
789
- const l = [...n === "clippingAncestors" ? B2(t) ? [] : V0(t, this._c) : [].concat(n), o], a = l[0], r = l.reduce((c, d) => {
790
- const f = V2(t, d, s);
791
- return c.top = F(f.top, c.top), c.right = U(f.right, c.right), c.bottom = U(f.bottom, c.bottom), c.left = F(f.left, c.left), c;
792
- }, V2(t, a, s));
786
+ rootBoundary: i,
787
+ strategy: o
788
+ } = t;
789
+ const l = [...n === "clippingAncestors" ? B2(e) ? [] : H0(e, this._c) : [].concat(n), i], r = l[0], a = l.reduce((c, d) => {
790
+ const u = K2(e, d, o);
791
+ return c.top = S(u.top, c.top), c.right = U(u.right, c.right), c.bottom = U(u.bottom, c.bottom), c.left = S(u.left, c.left), c;
792
+ }, K2(e, r, o));
793
793
  return {
794
- width: r.right - r.left,
795
- height: r.bottom - r.top,
796
- x: r.left,
797
- y: r.top
794
+ width: a.right - a.left,
795
+ height: a.bottom - a.top,
796
+ x: a.left,
797
+ y: a.top
798
798
  };
799
799
  }
800
- function N0(e) {
800
+ function G0(t) {
801
801
  const {
802
- width: t,
802
+ width: e,
803
803
  height: n
804
- } = l0(e);
804
+ } = X2(t);
805
805
  return {
806
- width: t,
806
+ width: e,
807
807
  height: n
808
808
  };
809
809
  }
810
- function Z0(e, t, n) {
811
- const o = K(t), s = Z(t), i = n === "fixed", l = t2(e, !0, i, t);
812
- let a = {
810
+ function J0(t, e, n) {
811
+ const i = K(e), o = W(e), s = n === "fixed", l = e2(t, !0, s, e);
812
+ let r = {
813
813
  scrollLeft: 0,
814
814
  scrollTop: 0
815
815
  };
816
- const r = z(0);
817
- if (o || !o && !i)
818
- if ((n2(t) !== "body" || m2(s)) && (a = y2(t)), o) {
819
- const f = t2(t, !0, i, t);
820
- r.x = f.x + t.clientLeft, r.y = f.y + t.clientTop;
821
- } else s && (r.x = a0(s));
822
- const c = l.left + a.scrollLeft - r.x, d = l.top + a.scrollTop - r.y;
816
+ const a = P(0);
817
+ if (i || !i && !s)
818
+ if ((n2(e) !== "body" || C2(o)) && (r = I2(e)), i) {
819
+ const u = e2(e, !0, s, e);
820
+ a.x = u.x + e.clientLeft, a.y = u.y + e.clientTop;
821
+ } else o && (a.x = t0(o));
822
+ const c = l.left + r.scrollLeft - a.x, d = l.top + r.scrollTop - a.y;
823
823
  return {
824
824
  x: c,
825
825
  y: d,
@@ -827,307 +827,358 @@ function Z0(e, t, n) {
827
827
  height: l.height
828
828
  };
829
829
  }
830
- function E2(e) {
831
- return G(e).position === "static";
830
+ function E2(t) {
831
+ return O(t).position === "static";
832
832
  }
833
- function W2(e, t) {
834
- return !K(e) || G(e).position === "fixed" ? null : t ? t(e) : e.offsetParent;
833
+ function V2(t, e) {
834
+ return !K(t) || O(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
835
835
  }
836
- function d0(e, t) {
837
- const n = k(e);
838
- if (B2(e))
836
+ function n0(t, e) {
837
+ const n = M(t);
838
+ if (B2(t))
839
839
  return n;
840
- if (!K(e)) {
841
- let s = X(e);
842
- for (; s && !a2(s); ) {
843
- if (Y(s) && !E2(s))
844
- return s;
845
- s = X(s);
840
+ if (!K(t)) {
841
+ let o = $(t);
842
+ for (; o && !r2(o); ) {
843
+ if (Y(o) && !E2(o))
844
+ return o;
845
+ o = $(o);
846
846
  }
847
847
  return n;
848
848
  }
849
- let o = W2(e, t);
850
- for (; o && T0(o) && E2(o); )
851
- o = W2(o, t);
852
- return o && a2(o) && E2(o) && !R2(o) ? n : o || R0(e) || n;
849
+ let i = V2(t, e);
850
+ for (; i && L0(i) && E2(i); )
851
+ i = V2(i, e);
852
+ return i && r2(i) && E2(i) && !H2(i) ? n : i || Q0(t) || n;
853
853
  }
854
- const q0 = async function(e) {
855
- const t = this.getOffsetParent || d0, n = this.getDimensions, o = await n(e.floating);
854
+ const U0 = async function(t) {
855
+ const e = this.getOffsetParent || n0, n = this.getDimensions, i = await n(t.floating);
856
856
  return {
857
- reference: Z0(e.reference, await t(e.floating), e.strategy),
857
+ reference: J0(t.reference, await e(t.floating), t.strategy),
858
858
  floating: {
859
859
  x: 0,
860
860
  y: 0,
861
- width: o.width,
862
- height: o.height
861
+ width: i.width,
862
+ height: i.height
863
863
  }
864
864
  };
865
865
  };
866
- function j0(e) {
867
- return G(e).direction === "rtl";
868
- }
869
- const P0 = {
870
- convertOffsetParentRelativeRectToViewportRelativeRect: G0,
871
- getDocumentElement: Z,
872
- getClippingRect: W0,
873
- getOffsetParent: d0,
874
- getElementRects: q0,
875
- getClientRects: J0,
876
- getDimensions: N0,
866
+ function Y0(t) {
867
+ return O(t).direction === "rtl";
868
+ }
869
+ const K0 = {
870
+ convertOffsetParentRelativeRectToViewportRelativeRect: M0,
871
+ getDocumentElement: W,
872
+ getClippingRect: O0,
873
+ getOffsetParent: n0,
874
+ getElementRects: U0,
875
+ getClientRects: k0,
876
+ getDimensions: G0,
877
877
  getScale: l2,
878
878
  isElement: Y,
879
- isRTL: j0
879
+ isRTL: Y0
880
880
  };
881
- function z0(e, t) {
882
- let n = null, o;
883
- const s = Z(e);
884
- function i() {
885
- var a;
886
- clearTimeout(o), (a = n) == null || a.disconnect(), n = null;
881
+ function V0(t, e) {
882
+ let n = null, i;
883
+ const o = W(t);
884
+ function s() {
885
+ var r;
886
+ clearTimeout(i), (r = n) == null || r.disconnect(), n = null;
887
887
  }
888
- function l(a, r) {
889
- a === void 0 && (a = !1), r === void 0 && (r = 1), i();
888
+ function l(r, a) {
889
+ r === void 0 && (r = !1), a === void 0 && (a = 1), s();
890
890
  const {
891
891
  left: c,
892
892
  top: d,
893
- width: f,
893
+ width: u,
894
894
  height: g
895
- } = e.getBoundingClientRect();
896
- if (a || t(), !f || !g)
895
+ } = t.getBoundingClientRect();
896
+ if (r || e(), !u || !g)
897
897
  return;
898
- const u = w2(d), C = w2(s.clientWidth - (c + f)), m = w2(s.clientHeight - (d + g)), w = w2(c), v = {
899
- rootMargin: -u + "px " + -C + "px " + -m + "px " + -w + "px",
900
- threshold: F(0, U(1, r)) || 1
898
+ const f = m2(d), C = m2(o.clientWidth - (c + u)), m = m2(o.clientHeight - (d + g)), w = m2(c), v = {
899
+ rootMargin: -f + "px " + -C + "px " + -m + "px " + -w + "px",
900
+ threshold: S(0, U(1, a)) || 1
901
901
  };
902
- let x = !0;
902
+ let b = !0;
903
903
  function h(A) {
904
- const I = A[0].intersectionRatio;
905
- if (I !== r) {
906
- if (!x)
904
+ const y = A[0].intersectionRatio;
905
+ if (y !== a) {
906
+ if (!b)
907
907
  return l();
908
- I ? l(!1, I) : o = setTimeout(() => {
908
+ y ? l(!1, y) : i = setTimeout(() => {
909
909
  l(!1, 1e-7);
910
910
  }, 1e3);
911
911
  }
912
- x = !1;
912
+ b = !1;
913
913
  }
914
914
  try {
915
915
  n = new IntersectionObserver(h, {
916
916
  ...v,
917
917
  // Handle <iframe>s
918
- root: s.ownerDocument
918
+ root: o.ownerDocument
919
919
  });
920
920
  } catch {
921
921
  n = new IntersectionObserver(h, v);
922
922
  }
923
- n.observe(e);
923
+ n.observe(t);
924
924
  }
925
- return l(!0), i;
925
+ return l(!0), s;
926
926
  }
927
- function $0(e, t, n, o) {
928
- o === void 0 && (o = {});
927
+ function W0(t, e, n, i) {
928
+ i === void 0 && (i = {});
929
929
  const {
930
- ancestorScroll: s = !0,
931
- ancestorResize: i = !0,
930
+ ancestorScroll: o = !0,
931
+ ancestorResize: s = !0,
932
932
  elementResize: l = typeof ResizeObserver == "function",
933
- layoutShift: a = typeof IntersectionObserver == "function",
934
- animationFrame: r = !1
935
- } = o, c = O2(e), d = s || i ? [...c ? h2(c) : [], ...h2(t)] : [];
933
+ layoutShift: r = typeof IntersectionObserver == "function",
934
+ animationFrame: a = !1
935
+ } = i, c = G2(t), d = o || s ? [...c ? g2(c) : [], ...g2(e)] : [];
936
936
  d.forEach((p) => {
937
- s && p.addEventListener("scroll", n, {
937
+ o && p.addEventListener("scroll", n, {
938
938
  passive: !0
939
- }), i && p.addEventListener("resize", n);
939
+ }), s && p.addEventListener("resize", n);
940
940
  });
941
- const f = c && a ? z0(c, n) : null;
942
- let g = -1, u = null;
943
- l && (u = new ResizeObserver((p) => {
941
+ const u = c && r ? V0(c, n) : null;
942
+ let g = -1, f = null;
943
+ l && (f = new ResizeObserver((p) => {
944
944
  let [v] = p;
945
- v && v.target === c && u && (u.unobserve(t), cancelAnimationFrame(g), g = requestAnimationFrame(() => {
946
- var x;
947
- (x = u) == null || x.observe(t);
945
+ v && v.target === c && f && (f.unobserve(e), cancelAnimationFrame(g), g = requestAnimationFrame(() => {
946
+ var b;
947
+ (b = f) == null || b.observe(e);
948
948
  })), n();
949
- }), c && !r && u.observe(c), u.observe(t));
950
- let C, m = r ? t2(e) : null;
951
- r && w();
949
+ }), c && !a && f.observe(c), f.observe(e));
950
+ let C, m = a ? e2(t) : null;
951
+ a && w();
952
952
  function w() {
953
- const p = t2(e);
953
+ const p = e2(t);
954
954
  m && (p.x !== m.x || p.y !== m.y || p.width !== m.width || p.height !== m.height) && n(), m = p, C = requestAnimationFrame(w);
955
955
  }
956
956
  return n(), () => {
957
957
  var p;
958
958
  d.forEach((v) => {
959
- s && v.removeEventListener("scroll", n), i && v.removeEventListener("resize", n);
960
- }), f == null || f(), (p = u) == null || p.disconnect(), u = null, r && cancelAnimationFrame(C);
959
+ o && v.removeEventListener("scroll", n), s && v.removeEventListener("resize", n);
960
+ }), u == null || u(), (p = f) == null || p.disconnect(), f = null, a && cancelAnimationFrame(C);
961
961
  };
962
962
  }
963
- const X0 = k0, _0 = D0, ee = Q0, te = M0, ne = S0, oe = (e, t, n) => {
964
- const o = /* @__PURE__ */ new Map(), s = {
965
- platform: P0,
963
+ const N0 = I0, Z0 = y0, q0 = b0, j0 = E0, P0 = x0, z0 = (t, e, n) => {
964
+ const i = /* @__PURE__ */ new Map(), o = {
965
+ platform: K0,
966
966
  ...n
967
- }, i = {
968
- ...s.platform,
969
- _c: o
967
+ }, s = {
968
+ ...o.platform,
969
+ _c: i
970
970
  };
971
- return L0(e, t, {
972
- ...s,
973
- platform: i
971
+ return v0(t, e, {
972
+ ...o,
973
+ platform: s
974
974
  });
975
975
  };
976
- function ie(e) {
977
- return e != null && typeof e == "object" && "$el" in e;
976
+ function $0(t) {
977
+ return t != null && typeof t == "object" && "$el" in t;
978
978
  }
979
- function Q2(e) {
980
- if (ie(e)) {
981
- const t = e.$el;
982
- return T2(t) && n2(t) === "#comment" ? null : t;
979
+ function F2(t) {
980
+ if ($0(t)) {
981
+ const e = t.$el;
982
+ return T2(e) && n2(e) === "#comment" ? null : e;
983
983
  }
984
- return e;
984
+ return t;
985
985
  }
986
- function s2(e) {
987
- return typeof e == "function" ? e() : N(e);
986
+ function s2(t) {
987
+ return typeof t == "function" ? t() : H(t);
988
988
  }
989
- function se(e) {
989
+ function X0(t) {
990
990
  return {
991
991
  name: "arrow",
992
- options: e,
993
- fn(t) {
994
- const n = Q2(s2(e.element));
995
- return n == null ? {} : ne({
992
+ options: t,
993
+ fn(e) {
994
+ const n = F2(s2(t.element));
995
+ return n == null ? {} : P0({
996
996
  element: n,
997
- padding: e.padding
998
- }).fn(t);
997
+ padding: t.padding
998
+ }).fn(e);
999
999
  }
1000
1000
  };
1001
1001
  }
1002
- function f0(e) {
1003
- return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
1002
+ function i0(t) {
1003
+ return typeof window > "u" ? 1 : (t.ownerDocument.defaultView || window).devicePixelRatio || 1;
1004
1004
  }
1005
- function N2(e, t) {
1006
- const n = f0(e);
1007
- return Math.round(t * n) / n;
1005
+ function W2(t, e) {
1006
+ const n = i0(t);
1007
+ return Math.round(e * n) / n;
1008
1008
  }
1009
- function le(e, t, n) {
1009
+ function _0(t, e, n) {
1010
1010
  n === void 0 && (n = {});
1011
- const o = n.whileElementsMounted, s = S(() => {
1011
+ const i = n.whileElementsMounted, o = Q(() => {
1012
1012
  var B;
1013
1013
  return (B = s2(n.open)) != null ? B : !0;
1014
- }), i = S(() => s2(n.middleware)), l = S(() => {
1014
+ }), s = Q(() => s2(n.middleware)), l = Q(() => {
1015
1015
  var B;
1016
1016
  return (B = s2(n.placement)) != null ? B : "bottom";
1017
- }), a = S(() => {
1017
+ }), r = Q(() => {
1018
1018
  var B;
1019
1019
  return (B = s2(n.strategy)) != null ? B : "absolute";
1020
- }), r = S(() => {
1020
+ }), a = Q(() => {
1021
1021
  var B;
1022
1022
  return (B = s2(n.transform)) != null ? B : !0;
1023
- }), c = S(() => Q2(e.value)), d = S(() => Q2(t.value)), f = H(0), g = H(0), u = H(a.value), C = H(l.value), m = g0({}), w = H(!1), p = S(() => {
1023
+ }), c = Q(() => F2(t.value)), d = Q(() => F2(e.value)), u = T(0), g = T(0), f = T(r.value), C = T(l.value), m = a0({}), w = T(!1), p = Q(() => {
1024
1024
  const B = {
1025
- position: u.value,
1025
+ position: f.value,
1026
1026
  left: "0",
1027
1027
  top: "0"
1028
1028
  };
1029
1029
  if (!d.value)
1030
1030
  return B;
1031
- const T = N2(d.value, f.value), Q = N2(d.value, g.value);
1032
- return r.value ? {
1031
+ const D = W2(d.value, u.value), F = W2(d.value, g.value);
1032
+ return a.value ? {
1033
1033
  ...B,
1034
- transform: "translate(" + T + "px, " + Q + "px)",
1035
- ...f0(d.value) >= 1.5 && {
1034
+ transform: "translate(" + D + "px, " + F + "px)",
1035
+ ...i0(d.value) >= 1.5 && {
1036
1036
  willChange: "transform"
1037
1037
  }
1038
1038
  } : {
1039
- position: u.value,
1040
- left: T + "px",
1041
- top: Q + "px"
1039
+ position: f.value,
1040
+ left: D + "px",
1041
+ top: F + "px"
1042
1042
  };
1043
1043
  });
1044
1044
  let v;
1045
- function x() {
1046
- c.value == null || d.value == null || oe(c.value, d.value, {
1047
- middleware: i.value,
1045
+ function b() {
1046
+ c.value == null || d.value == null || z0(c.value, d.value, {
1047
+ middleware: s.value,
1048
1048
  placement: l.value,
1049
- strategy: a.value
1049
+ strategy: r.value
1050
1050
  }).then((B) => {
1051
- f.value = B.x, g.value = B.y, u.value = B.strategy, C.value = B.placement, m.value = B.middlewareData, w.value = !0;
1051
+ u.value = B.x, g.value = B.y, f.value = B.strategy, C.value = B.placement, m.value = B.middlewareData, w.value = !0;
1052
1052
  });
1053
1053
  }
1054
1054
  function h() {
1055
1055
  typeof v == "function" && (v(), v = void 0);
1056
1056
  }
1057
1057
  function A() {
1058
- if (h(), o === void 0) {
1059
- x();
1058
+ if (h(), i === void 0) {
1059
+ b();
1060
1060
  return;
1061
1061
  }
1062
1062
  if (c.value != null && d.value != null) {
1063
- v = o(c.value, d.value, x);
1063
+ v = i(c.value, d.value, b);
1064
1064
  return;
1065
1065
  }
1066
1066
  }
1067
- function I() {
1068
- s.value || (w.value = !1);
1067
+ function y() {
1068
+ o.value || (w.value = !1);
1069
1069
  }
1070
- return g2([i, l, a], x, {
1070
+ return A2([s, l, r], b, {
1071
1071
  flush: "sync"
1072
- }), g2([c, d], A, {
1072
+ }), A2([c, d], A, {
1073
1073
  flush: "sync"
1074
- }), g2(s, I, {
1074
+ }), A2(o, y, {
1075
1075
  flush: "sync"
1076
- }), C0() && h0(h), {
1077
- x: i2(f),
1078
- y: i2(g),
1079
- strategy: i2(u),
1080
- placement: i2(C),
1081
- middlewareData: i2(m),
1082
- isPositioned: i2(w),
1076
+ }), r0() && c0(h), {
1077
+ x: o2(u),
1078
+ y: o2(g),
1079
+ strategy: o2(f),
1080
+ placement: o2(C),
1081
+ middlewareData: o2(m),
1082
+ isPositioned: o2(w),
1083
1083
  floatingStyles: p,
1084
- update: x
1084
+ update: b
1085
1085
  };
1086
1086
  }
1087
- const re = "data:image/svg+xml,%3csvg%20width='1324'%20height='1326'%20viewBox='0%200%201324%201326'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='141'%20y='78'%20width='1042'%20height='1170'%20fill='white'/%3e%3cpath%20d='M184.533%201.99984C135.867%207.19984%2089.8666%2029.8665%2056.4%2065.1998C29.6%2093.4665%2012.5333%20126.266%203.73329%20166.4L0.666626%20180V663.333V1146.67L3.73329%201160.27C12.5333%201200.4%2029.6%201233.2%2056.4%201261.47C90.4%201297.33%20135.333%201319.33%20185.6%201324.67C203.333%201326.53%201122.53%201326.4%201139.73%201324.53C1188.53%201319.33%201229.07%201299.73%201264.13%201264.8C1294.27%201234.67%201311.47%201202.67%201320.8%201159.33C1323.2%201148.4%201323.33%201130%201323.33%20663.333C1323.33%20196.667%201323.2%20178.266%201320.8%20167.333C1311.47%20124%201294.27%2091.9998%201264.13%2061.8664C1229.07%2026.9331%201188.53%207.33314%201139.73%202.13314C1124.67%200.399809%20200%200.399842%20184.533%201.99984ZM732.933%20151.466C746.8%20152.933%20763.333%20157.6%20774%20163.067C800.267%20176.267%20822.4%20200.4%20833.2%20227.333C841.867%20249.333%20841.467%20233.467%20841.067%20502C840.533%20777.6%20841.733%20750.267%20829.2%20776.133C822.133%20790.933%20810.667%20806.533%20800.267%20815.2C795.2%20819.6%20793.2%20822.267%20792%20827.067C786.133%20848.267%20768.667%20885.867%20755.2%20906.133C724.533%20952%20681.2%20986.133%20624%201009.33C615.6%201012.8%20608.4%201015.87%20608.133%201016.13C607.867%201016.27%20614.533%201023.33%20622.933%201031.6C633.467%201042.13%20639.333%201049.07%20642.133%201054.4C646.933%201063.87%20645.467%201064%20672.667%201050.8C724.933%201025.47%20762.933%20994.8%20794.933%20952C811.467%20929.867%20829.867%20895.333%20839.333%20868.267C841.333%20862.667%20843.467%20858%20844.133%20858C844.667%20858%20845.6%20859.333%20846.133%20860.933C848.267%20868.133%20863.333%20900.8%20870.133%20913.2C898%20963.867%20931.6%201001.2%20975.333%201030.27C989.867%201040%201017.2%201054.4%201031.6%201059.73L1037.2%201061.87L1041.33%201054.67C1048.4%201042.4%201056.67%201032.27%201067.87%201022.4L1078.67%201012.8L1071.6%201010.27C1067.87%201008.8%201060.53%201006%201055.6%201004.13C1040.93%20998.533%201013.73%20984%201000%20974.267C985.733%20964.133%20960.8%20940.667%20948.933%20926.267C935.067%20909.333%20921.467%20887.467%20910%20864C900.133%20844%20887.2%20812.133%20884.667%20801.6L883.733%20798H971.867H1060V769.333V740.667H963.333H866.533L867.333%20736.267C868.4%20729.867%20870.4%20693.067%20871.467%20662.933C872.267%20639.067%20872.533%20636.4%20874.8%20635.2C878.667%20633.2%20881.333%20626.667%20882.267%20617.333L883.067%20608.667H872.133C864.133%20608.667%20861.067%20608.133%20860.533%20606.8C860%20605.467%20881.2%20466%20886.133%20438.267L886.933%20433.867L977.867%20434.4C1066.67%20434.8%201068.93%20434.8%201079.87%20437.733C1124.8%20449.6%201158.67%20482.533%201172.93%20528L1176.67%20540V808V1076L1172.93%201087.73C1158.53%201133.6%201126.13%201164.93%201078.93%201178.4L1068.67%201181.33L812.667%201181.73C638.8%201182%20552.667%201181.73%20544.4%201180.67C488.667%201174.4%20443.2%201132.13%20432.533%201076.93C431.067%201068.93%20430.667%201046.4%20430.667%20956.667V846.133L340.4%20845.6C252.8%20845.2%20249.6%20845.067%20239.067%20842.267C196.533%20831.067%20164.533%20800.133%20151.067%20757.333L147.333%20745.333V499.333V253.333L150.4%20242C159.067%20209.067%20180.4%20181.866%20210.667%20164.933C221.2%20159.066%20240.4%20152.933%20252.667%20151.6C268.533%20149.733%20716.933%20149.6%20732.933%20151.466Z'%20fill='%233B5695'/%3e%3cpath%20d='M256.533%20213.333C232.933%20218.533%20214.133%20237.067%20209.333%20259.733C208.4%20264.533%20208%20337.2%20208.267%20502L208.667%20737.333L211.733%20744.933C218.533%20761.733%20231.733%20774.533%20248.667%20780.933L256.667%20784L490%20784.4C749.2%20784.8%20734.4%20785.333%20750.133%20776C764.267%20767.6%20775.467%20752.4%20778.667%20737.067C779.6%20732.8%20780%20652.133%20779.733%20494L779.333%20257.333L775.067%20248.267C767.2%20231.6%20756.933%20222%20740.133%20215.467L731.333%20212L498%20211.733C306.8%20211.6%20263.2%20211.867%20256.533%20213.333ZM492%20281.2C546.267%20290.267%20590.267%20311.2%20622.533%20343.333C653.867%20374.667%20671.867%20409.867%20680.267%20456.667C684.133%20478.533%20684.133%20516.267%20680.133%20538.533C665.467%20621.067%20606.933%20684.4%20524%20707.467C490%20716.933%20488.4%20716.933%20392.4%20717.6L305.333%20718.133V498V277.867L391.733%20278.4C465.733%20278.8%20480%20279.2%20492%20281.2Z'%20fill='%233B5695'/%3e%3cpath%20d='M384%20462.933V576.133L345.067%20611.467C306.533%20646.267%20306.133%20646.667%20310.667%20647.067C313.2%20647.333%20348.933%20647.333%20390%20646.933C472.667%20646.267%20477.6%20645.867%20503.6%20637.333C527.6%20629.333%20543.333%20620%20560.267%20603.6C590.133%20574.667%20604.4%20536.267%20602.267%20489.733C600.533%20450.267%20588.267%20420%20564%20395.333C546.8%20377.867%20531.6%20368.4%20506.267%20360C482.933%20352.133%20474.533%20351.2%20427.067%20350.4L384%20349.733V462.933Z'%20fill='%233B5695'/%3e%3c/svg%3e", f2 = (e, t) => {
1088
- const n = e.__vccOpts || e;
1089
- for (const [o, s] of t)
1090
- n[o] = s;
1087
+ const tt = "data:image/svg+xml,%3csvg%20width='1324'%20height='1326'%20viewBox='0%200%201324%201326'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='141'%20y='78'%20width='1042'%20height='1170'%20fill='white'/%3e%3cpath%20d='M184.533%201.99984C135.867%207.19984%2089.8666%2029.8665%2056.4%2065.1998C29.6%2093.4665%2012.5333%20126.266%203.73329%20166.4L0.666626%20180V663.333V1146.67L3.73329%201160.27C12.5333%201200.4%2029.6%201233.2%2056.4%201261.47C90.4%201297.33%20135.333%201319.33%20185.6%201324.67C203.333%201326.53%201122.53%201326.4%201139.73%201324.53C1188.53%201319.33%201229.07%201299.73%201264.13%201264.8C1294.27%201234.67%201311.47%201202.67%201320.8%201159.33C1323.2%201148.4%201323.33%201130%201323.33%20663.333C1323.33%20196.667%201323.2%20178.266%201320.8%20167.333C1311.47%20124%201294.27%2091.9998%201264.13%2061.8664C1229.07%2026.9331%201188.53%207.33314%201139.73%202.13314C1124.67%200.399809%20200%200.399842%20184.533%201.99984ZM732.933%20151.466C746.8%20152.933%20763.333%20157.6%20774%20163.067C800.267%20176.267%20822.4%20200.4%20833.2%20227.333C841.867%20249.333%20841.467%20233.467%20841.067%20502C840.533%20777.6%20841.733%20750.267%20829.2%20776.133C822.133%20790.933%20810.667%20806.533%20800.267%20815.2C795.2%20819.6%20793.2%20822.267%20792%20827.067C786.133%20848.267%20768.667%20885.867%20755.2%20906.133C724.533%20952%20681.2%20986.133%20624%201009.33C615.6%201012.8%20608.4%201015.87%20608.133%201016.13C607.867%201016.27%20614.533%201023.33%20622.933%201031.6C633.467%201042.13%20639.333%201049.07%20642.133%201054.4C646.933%201063.87%20645.467%201064%20672.667%201050.8C724.933%201025.47%20762.933%20994.8%20794.933%20952C811.467%20929.867%20829.867%20895.333%20839.333%20868.267C841.333%20862.667%20843.467%20858%20844.133%20858C844.667%20858%20845.6%20859.333%20846.133%20860.933C848.267%20868.133%20863.333%20900.8%20870.133%20913.2C898%20963.867%20931.6%201001.2%20975.333%201030.27C989.867%201040%201017.2%201054.4%201031.6%201059.73L1037.2%201061.87L1041.33%201054.67C1048.4%201042.4%201056.67%201032.27%201067.87%201022.4L1078.67%201012.8L1071.6%201010.27C1067.87%201008.8%201060.53%201006%201055.6%201004.13C1040.93%20998.533%201013.73%20984%201000%20974.267C985.733%20964.133%20960.8%20940.667%20948.933%20926.267C935.067%20909.333%20921.467%20887.467%20910%20864C900.133%20844%20887.2%20812.133%20884.667%20801.6L883.733%20798H971.867H1060V769.333V740.667H963.333H866.533L867.333%20736.267C868.4%20729.867%20870.4%20693.067%20871.467%20662.933C872.267%20639.067%20872.533%20636.4%20874.8%20635.2C878.667%20633.2%20881.333%20626.667%20882.267%20617.333L883.067%20608.667H872.133C864.133%20608.667%20861.067%20608.133%20860.533%20606.8C860%20605.467%20881.2%20466%20886.133%20438.267L886.933%20433.867L977.867%20434.4C1066.67%20434.8%201068.93%20434.8%201079.87%20437.733C1124.8%20449.6%201158.67%20482.533%201172.93%20528L1176.67%20540V808V1076L1172.93%201087.73C1158.53%201133.6%201126.13%201164.93%201078.93%201178.4L1068.67%201181.33L812.667%201181.73C638.8%201182%20552.667%201181.73%20544.4%201180.67C488.667%201174.4%20443.2%201132.13%20432.533%201076.93C431.067%201068.93%20430.667%201046.4%20430.667%20956.667V846.133L340.4%20845.6C252.8%20845.2%20249.6%20845.067%20239.067%20842.267C196.533%20831.067%20164.533%20800.133%20151.067%20757.333L147.333%20745.333V499.333V253.333L150.4%20242C159.067%20209.067%20180.4%20181.866%20210.667%20164.933C221.2%20159.066%20240.4%20152.933%20252.667%20151.6C268.533%20149.733%20716.933%20149.6%20732.933%20151.466Z'%20fill='%233B5695'/%3e%3cpath%20d='M256.533%20213.333C232.933%20218.533%20214.133%20237.067%20209.333%20259.733C208.4%20264.533%20208%20337.2%20208.267%20502L208.667%20737.333L211.733%20744.933C218.533%20761.733%20231.733%20774.533%20248.667%20780.933L256.667%20784L490%20784.4C749.2%20784.8%20734.4%20785.333%20750.133%20776C764.267%20767.6%20775.467%20752.4%20778.667%20737.067C779.6%20732.8%20780%20652.133%20779.733%20494L779.333%20257.333L775.067%20248.267C767.2%20231.6%20756.933%20222%20740.133%20215.467L731.333%20212L498%20211.733C306.8%20211.6%20263.2%20211.867%20256.533%20213.333ZM492%20281.2C546.267%20290.267%20590.267%20311.2%20622.533%20343.333C653.867%20374.667%20671.867%20409.867%20680.267%20456.667C684.133%20478.533%20684.133%20516.267%20680.133%20538.533C665.467%20621.067%20606.933%20684.4%20524%20707.467C490%20716.933%20488.4%20716.933%20392.4%20717.6L305.333%20718.133V498V277.867L391.733%20278.4C465.733%20278.8%20480%20279.2%20492%20281.2Z'%20fill='%233B5695'/%3e%3cpath%20d='M384%20462.933V576.133L345.067%20611.467C306.533%20646.267%20306.133%20646.667%20310.667%20647.067C313.2%20647.333%20348.933%20647.333%20390%20646.933C472.667%20646.267%20477.6%20645.867%20503.6%20637.333C527.6%20629.333%20543.333%20620%20560.267%20603.6C590.133%20574.667%20604.4%20536.267%20602.267%20489.733C600.533%20450.267%20588.267%20420%20564%20395.333C546.8%20377.867%20531.6%20368.4%20506.267%20360C482.933%20352.133%20474.533%20351.2%20427.067%20350.4L384%20349.733V462.933Z'%20fill='%233B5695'/%3e%3c/svg%3e", h2 = (t, e) => {
1088
+ const n = t.__vccOpts || t;
1089
+ for (const [i, o] of e)
1090
+ n[i] = o;
1091
1091
  return n;
1092
- }, ae = {
1092
+ }, et = {
1093
1093
  name: "Logo"
1094
- }, ce = {
1095
- src: re,
1094
+ }, nt = {
1095
+ src: tt,
1096
1096
  alt: "DDict Logo",
1097
1097
  class: "w-6 h-6 cursor-pointer"
1098
1098
  };
1099
- function de(e, t, n, o, s, i) {
1100
- return b(), y("img", ce);
1099
+ function it(t, e, n, i, o, s) {
1100
+ return x(), I("img", nt);
1101
1101
  }
1102
- const fe = /* @__PURE__ */ f2(ae, [["render", de]]), ue = "data:image/gif;base64,R0lGODlhQAAmAPQAAM3Nzerq6sbGxu3t7dnZ2eHh4bW1tfv7+/Ly8re3t7y8vPz8/MLCwvX19fj4+N7e3rq6ur6+vsDAwPb29tLS0vDw8MnJydzc3OTk5NTU1NDQ0NbW1ufn57Ozs////////yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAwAfACwAAAAAQAAmAAAF/6AnjmRpnmiqrmzrvnAsz3Rt33guL8vb67EFhwGosA4FCaUBbC0Glo40sWGehAJpB3JxNFMVgEGr5XpHT8uY3IkUDl/SJJNgs909hGZtlzI4cSIbfXYGRgCEbAZnX4OJZEZRj1KLgY6THZGYHZVxl5OamJ2Nm5kekpOjTZ+PoamMq6Wuj6pArISGp5u1OhVqjxAbcAECfH0KFz9xBxzFdgkaRiNIDH3BVk0LARvSDgXVlBYDPcwECCIOFxFa0NJIBBM5YXXXIhMXCgIccGljyPEeGmxQYCFAD23O3MCK0SADhDtd7J2poKEOGQkFzjTgN0AMmz9wYNxTkIjBGxECH7v2MaDvRwUKFgsVVLZigQRRGjxMWJeKgIcKJCclwODigLFEAjwgOEooZ4BSPlsY3ZR06SanUIsy7VN1qx2sm6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VlJkshADs=", Ae = {
1102
+ const ot = /* @__PURE__ */ h2(et, [["render", it]]), st = "data:image/gif;base64,R0lGODlhQAAmAPQAAM3Nzerq6sbGxu3t7dnZ2eHh4bW1tfv7+/Ly8re3t7y8vPz8/MLCwvX19fj4+N7e3rq6ur6+vsDAwPb29tLS0vDw8MnJydzc3OTk5NTU1NDQ0NbW1ufn57Ozs////////yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAwAfACwAAAAAQAAmAAAF/6AnjmRpnmiqrmzrvnAsz3Rt33guL8vb67EFhwGosA4FCaUBbC0Glo40sWGehAJpB3JxNFMVgEGr5XpHT8uY3IkUDl/SJJNgs909hGZtlzI4cSIbfXYGRgCEbAZnX4OJZEZRj1KLgY6THZGYHZVxl5OamJ2Nm5kekpOjTZ+PoamMq6Wuj6pArISGp5u1OhVqjxAbcAECfH0KFz9xBxzFdgkaRiNIDH3BVk0LARvSDgXVlBYDPcwECCIOFxFa0NJIBBM5YXXXIhMXCgIccGljyPEeGmxQYCFAD23O3MCK0SADhDtd7J2poKEOGQkFzjTgN0AMmz9wYNxTkIjBGxECH7v2MaDvRwUKFgsVVLZigQRRGjxMWJeKgIcKJCclwODigLFEAjwgOEooZ4BSPlsY3ZR06SanUIsy7VN1qx2sm6Ie8cqm61UPT8NqpaqULBmwmMSumIrJLCa4k+SqoDupaim8j/SmWIAqkQGfDrIILaD05iQIgFwIASdznAgkPAtFG5Eu6LMM2F5g/siBJroLKsNZLjFhQ0xORWw4IPDQTUgUc+r8MV1CzxgBBnM0wLAwBQIMt1cMKB2ouYsQACH5BAUDAB8ALA8ABQARABMAAAVm4CeOX3NhB6mKzgV1HcMt63cUUTd2hjXQogWHAVvxNAibxaCriTqQh6Pp3FmmVdWVmv1su6Mv2Isdi8HnbMdyIHKNic2npSiqeIJZsLF57WIFKSsVGgkwChcOWQsBAhoNQF0OgiohACH5BAUDAB8ALA8ABAASABQAAAVt4CeO3xJUZEqaQmdQjUpWgNGJHXQ56rQlN1KnE8E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AHp7AmAfHg4XXCUGFgNOCwECPQo6YR4NGUoiEk3LBwVtJQkEKy0eFQAKD9onvL4iBrNhLQsL6OINGsJXJCEAIfkEBQMAHwAsGAASACIAFAAABcLgJ45kaY6Ld65eu5KDU1yT+n6ec1HBch8BgeEjKThsJc8BwxAlKBWkCOOoABIlAcc38iwGwhKEUBM5EBnIymAZqDxW7EryOHgekZsIkmk01HoGGx5NeiMPCIYiGoSKIoiOjIWKkIqSjh+VhpeOmnqclImWjZ2im6SUE3mBF6iGDx4TBIAmbD0eAZMvCkYiHg0UciMSGCm+BwWrJgkbZSRfAHsPRyY5BMIfBgAIUiULAQ8N3UkIGkMCA1w3LooeA1vjIQAh+QQFAwAfACwpABMAEQATAAAFZuAnjovTeGOaloUEbROqfsfCCcYYPY4sLgNAbibgLEQISmKWMlgGHguTCVlIp6qEFZvdckfa6/cTHovKZvRYCzB/FKWHgpvYnD6eCWGpMgAQPiIeCBpDHwIBR1NAAhEYB4GLC5EiIQAh+QQFQwAfACwpABMAEQATAAAFYuAnjp/nkSjpNQQ1nKnoOU8kQhsCj97BMQaU4uGAeQKWYOzDwCw+g8SSZCgcpyjCFTvSBrjdLdgLFpHL57GnogAbMKZGRhozAF48BEA5YgSeKQsBAiIKGAc7KT0YBUVlJkshADs=", lt = {
1103
1103
  name: "Loading"
1104
- }, ge = (e) => (m0("data-v-a0957544"), e = e(), w0(), e), Ce = { class: "rounded-lg bg-white p-1 border shadow-custom border-solid border-neutral-300" }, he = /* @__PURE__ */ ge(() => /* @__PURE__ */ E("img", {
1105
- src: ue,
1104
+ }, at = (t) => (d0("data-v-a0957544"), t = t(), u0(), t), rt = { class: "rounded-lg bg-white p-1 border shadow-custom border-solid border-neutral-300" }, ct = /* @__PURE__ */ at(() => /* @__PURE__ */ E("img", {
1105
+ src: st,
1106
1106
  alt: "Loading",
1107
1107
  class: "w-12"
1108
- }, null, -1)), me = [
1109
- he
1108
+ }, null, -1)), dt = [
1109
+ ct
1110
1110
  ];
1111
- function we(e, t, n, o, s, i) {
1112
- return b(), y("div", Ce, me);
1111
+ function ut(t, e, n, i, o, s) {
1112
+ return x(), I("div", rt, dt);
1113
1113
  }
1114
- const pe = /* @__PURE__ */ f2(Ae, [["render", we], ["__scopeId", "data-v-a0957544"]]), ve = { class: "capitalize text-base italic font-normal text-slate-400" }, be = { class: "text-base leading-6 text-textCustom" }, xe = {
1114
+ const ft = /* @__PURE__ */ h2(lt, [["render", ut], ["__scopeId", "data-v-a0957544"]]), At = {
1115
+ name: "Phonetic",
1116
+ props: ["phonetic"]
1117
+ }, gt = { class: "p-0 m-0" }, Ct = { class: "text-xs font-md text-slate-400" };
1118
+ function ht(t, e, n, i, o, s) {
1119
+ return x(), I("p", gt, [
1120
+ E("span", Ct, "/" + w2(n.phonetic) + "/", 1)
1121
+ ]);
1122
+ }
1123
+ const mt = /* @__PURE__ */ h2(At, [["render", ht]]), wt = { class: "flex flex-col gap-2" }, pt = {
1124
+ __name: "Sentences",
1125
+ props: {
1126
+ sentences: {
1127
+ type: String,
1128
+ default: ""
1129
+ }
1130
+ },
1131
+ setup(t) {
1132
+ const e = t, n = Q(() => e.sentences.split(`
1133
+ `));
1134
+ return (i, o) => (x(), I("div", wt, [
1135
+ (x(!0), I(b2, null, S2(n.value, (s, l) => (x(), I("p", {
1136
+ key: l,
1137
+ class: "text-base text-textCustom leading-tight p-0 mr-2"
1138
+ }, w2(s), 1))), 128))
1139
+ ]));
1140
+ }
1141
+ }, vt = { class: "capitalize text-base italic font-normal text-slate-400" }, xt = { class: "text-base leading-6 text-textCustom" }, bt = {
1115
1142
  __name: "Dict",
1116
1143
  props: {
1117
1144
  dictionary: Array
1118
1145
  },
1119
- setup(e) {
1120
- return (t, n) => (b(), y("div", null, [
1121
- (b(!0), y(C2, null, t0(e.dictionary, (o, s) => (b(), y("div", {
1122
- key: s,
1146
+ setup(t) {
1147
+ return (e, n) => (x(), I("div", null, [
1148
+ (x(!0), I(b2, null, S2(t.dictionary, (i, o) => (x(), I("div", {
1149
+ key: o,
1123
1150
  class: "mt-2"
1124
1151
  }, [
1125
- E("p", ve, p2(o.pos), 1),
1126
- E("span", be, p2(o.terms.join(", ")), 1)
1152
+ E("p", vt, w2(i.pos), 1),
1153
+ E("span", xt, w2(i.terms.join(", ")), 1)
1127
1154
  ]))), 128))
1128
1155
  ]));
1129
1156
  }
1130
- }, Be = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.33325%204.66667H3.51125C3.82693%204.6667%204.13239%204.55473%204.37325%204.35067L6.83392%202.26667C6.99592%202.12953%207.19374%202.04156%207.40407%202.01312C7.61441%201.98468%207.82849%202.01696%208.02109%202.10615C8.21369%202.19534%208.37678%202.33772%208.49114%202.51652C8.60551%202.69532%208.66638%202.90309%208.66659%203.11534V12.8847C8.66649%2013.097%208.60565%2013.305%208.49125%2013.4839C8.37685%2013.6628%208.21367%2013.8053%208.02094%2013.8945C7.82822%2013.9837%207.614%2014.0159%207.40356%2013.9874C7.19312%2013.9588%206.99523%2013.8707%206.83325%2013.7333L4.37325%2011.6487C4.13229%2011.4449%203.82685%2011.3331%203.51125%2011.3333H2.33325C2.06804%2011.3333%201.81368%2011.228%201.62615%2011.0404C1.43861%2010.8529%201.33325%2010.5986%201.33325%2010.3333V5.66667C1.33325%205.40145%201.43861%205.1471%201.62615%204.95956C1.81368%204.77203%202.06804%204.66667%202.33325%204.66667ZM11.1779%2011.18C11.5969%2010.763%2011.9294%2010.2674%2012.1562%209.72156C12.3831%209.17572%2012.4999%208.59044%2012.4999%207.99934C12.4999%207.40823%2012.3831%206.82295%2012.1562%206.27711C11.9294%205.73127%2011.5969%205.23564%2011.1779%204.81867C11.1317%204.77098%2011.0765%204.73297%2011.0155%204.70686C10.9544%204.68075%2010.8888%204.66705%2010.8224%204.66657C10.756%204.66609%2010.6902%204.67883%2010.6288%204.70406C10.5674%204.72929%2010.5116%204.76649%2010.4647%204.8135C10.4179%204.86051%2010.3808%204.91639%2010.3558%204.97787C10.3307%205.03935%2010.3181%205.10521%2010.3188%205.17159C10.3195%205.23798%2010.3334%205.30357%2010.3597%205.36453C10.3859%205.42549%2010.4241%205.48061%2010.4719%205.52667C10.7977%205.85079%2011.0562%206.23609%2011.2326%206.66043C11.409%207.08477%2011.4998%207.53979%2011.4998%207.99934C11.4998%208.45888%2011.409%208.9139%2011.2326%209.33824C11.0562%209.76258%2010.7977%2010.1479%2010.4719%2010.472C10.4241%2010.5181%2010.3859%2010.5732%2010.3597%2010.6341C10.3334%2010.6951%2010.3195%2010.7607%2010.3188%2010.8271C10.3181%2010.8935%2010.3307%2010.9593%2010.3558%2011.0208C10.3808%2011.0823%2010.4179%2011.1382%2010.4647%2011.1852C10.5116%2011.2322%2010.5674%2011.2694%2010.6288%2011.2946C10.6902%2011.3198%2010.756%2011.3326%2010.8224%2011.3321C10.8888%2011.3316%2010.9544%2011.3179%2011.0155%2011.2918C11.0765%2011.2657%2011.1317%2011.2277%2011.1779%2011.18ZM12.7113%2013.2127C12.6123%2013.2126%2012.5157%2013.1832%2012.4335%2013.1281C12.3513%2013.0731%2012.2873%2012.9949%2012.2495%2012.9035C12.2118%2012.8121%2012.202%2012.7115%2012.2214%2012.6146C12.2408%2012.5176%2012.2886%2012.4285%2012.3586%2012.3587C12.9317%2011.7866%2013.3865%2011.1071%2013.6967%2010.359C14.0069%209.61101%2014.1666%208.80915%2014.1666%207.99934C14.1666%207.18952%2014.0069%206.38766%2013.6967%205.63963C13.3865%204.8916%2012.9317%204.2121%2012.3586%203.64C12.3122%203.59351%2012.2754%203.53834%2012.2503%203.47764C12.2252%203.41693%2012.2124%203.35188%2012.2124%203.2862C12.2125%203.22052%2012.2255%203.15549%2012.2507%203.09483C12.2759%203.03417%2012.3128%202.97907%2012.3593%202.93267C12.4057%202.88627%2012.4609%202.84948%2012.5216%202.8244C12.5823%202.79932%2012.6474%202.78645%2012.7131%202.78651C12.7787%202.78657%2012.8438%202.79957%2012.9044%202.82476C12.9651%202.84995%2013.0202%202.88685%2013.0666%202.93334C13.7327%203.59825%2014.2612%204.38801%2014.6218%205.25741C14.9824%206.12681%2015.168%207.05879%2015.168%208C15.168%208.94122%2014.9824%209.87319%2014.6218%2010.7426C14.2612%2011.612%2013.7327%2012.4018%2013.0666%2013.0667C13.02%2013.1134%2012.9646%2013.1504%2012.9036%2013.1756C12.8426%2013.2007%2012.7772%2013.2129%2012.7113%2013.2127Z'%20fill='%233B5695'/%3e%3c/svg%3e", ye = "data:image/svg+xml,%3csvg%20class='swap-on%20fill-current%20h-4%20w-4'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3e%3cpath%20fill-rule='evenodd'%20d='M4.5%207.5a3%203%200%200%201%203-3h9a3%203%200%200%201%203%203v9a3%203%200%200%201-3%203h-9a3%203%200%200%201-3-3v-9Z'%20clip-rule='evenodd'%20fill='%238595BE'/%3e%3c/svg%3e", Ie = ["disabled"], Ee = ["disabled"], Z2 = {
1157
+ }, Bt = { class: "" }, It = /* @__PURE__ */ E("p", { class: "capitalize text-base italic font-normal text-slate-400 mt-2" }, "AI Summary:", -1), yt = {
1158
+ key: 0,
1159
+ class: "list-none list-outside mt-2"
1160
+ }, Et = ["innerHTML"], Lt = {
1161
+ __name: "Explanation",
1162
+ props: {
1163
+ explanation: Object
1164
+ },
1165
+ setup(t) {
1166
+ return (e, n) => {
1167
+ var i, o;
1168
+ return x(), I("div", Bt, [
1169
+ It,
1170
+ (i = t.explanation) != null && i.result ? (x(), I("ul", yt, [
1171
+ (x(!0), I(b2, null, S2(((o = t.explanation) == null ? void 0 : o.result.split(`
1172
+ `)) || [], (s, l) => (x(), I("li", {
1173
+ key: `${s}-${l}`,
1174
+ innerHTML: s,
1175
+ class: "text-base text-textCustom"
1176
+ }, null, 8, Et))), 128))
1177
+ ])) : _("", !0)
1178
+ ]);
1179
+ };
1180
+ }
1181
+ }, Qt = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.33325%204.66667H3.51125C3.82693%204.6667%204.13239%204.55473%204.37325%204.35067L6.83392%202.26667C6.99592%202.12953%207.19374%202.04156%207.40407%202.01312C7.61441%201.98468%207.82849%202.01696%208.02109%202.10615C8.21369%202.19534%208.37678%202.33772%208.49114%202.51652C8.60551%202.69532%208.66638%202.90309%208.66659%203.11534V12.8847C8.66649%2013.097%208.60565%2013.305%208.49125%2013.4839C8.37685%2013.6628%208.21367%2013.8053%208.02094%2013.8945C7.82822%2013.9837%207.614%2014.0159%207.40356%2013.9874C7.19312%2013.9588%206.99523%2013.8707%206.83325%2013.7333L4.37325%2011.6487C4.13229%2011.4449%203.82685%2011.3331%203.51125%2011.3333H2.33325C2.06804%2011.3333%201.81368%2011.228%201.62615%2011.0404C1.43861%2010.8529%201.33325%2010.5986%201.33325%2010.3333V5.66667C1.33325%205.40145%201.43861%205.1471%201.62615%204.95956C1.81368%204.77203%202.06804%204.66667%202.33325%204.66667ZM11.1779%2011.18C11.5969%2010.763%2011.9294%2010.2674%2012.1562%209.72156C12.3831%209.17572%2012.4999%208.59044%2012.4999%207.99934C12.4999%207.40823%2012.3831%206.82295%2012.1562%206.27711C11.9294%205.73127%2011.5969%205.23564%2011.1779%204.81867C11.1317%204.77098%2011.0765%204.73297%2011.0155%204.70686C10.9544%204.68075%2010.8888%204.66705%2010.8224%204.66657C10.756%204.66609%2010.6902%204.67883%2010.6288%204.70406C10.5674%204.72929%2010.5116%204.76649%2010.4647%204.8135C10.4179%204.86051%2010.3808%204.91639%2010.3558%204.97787C10.3307%205.03935%2010.3181%205.10521%2010.3188%205.17159C10.3195%205.23798%2010.3334%205.30357%2010.3597%205.36453C10.3859%205.42549%2010.4241%205.48061%2010.4719%205.52667C10.7977%205.85079%2011.0562%206.23609%2011.2326%206.66043C11.409%207.08477%2011.4998%207.53979%2011.4998%207.99934C11.4998%208.45888%2011.409%208.9139%2011.2326%209.33824C11.0562%209.76258%2010.7977%2010.1479%2010.4719%2010.472C10.4241%2010.5181%2010.3859%2010.5732%2010.3597%2010.6341C10.3334%2010.6951%2010.3195%2010.7607%2010.3188%2010.8271C10.3181%2010.8935%2010.3307%2010.9593%2010.3558%2011.0208C10.3808%2011.0823%2010.4179%2011.1382%2010.4647%2011.1852C10.5116%2011.2322%2010.5674%2011.2694%2010.6288%2011.2946C10.6902%2011.3198%2010.756%2011.3326%2010.8224%2011.3321C10.8888%2011.3316%2010.9544%2011.3179%2011.0155%2011.2918C11.0765%2011.2657%2011.1317%2011.2277%2011.1779%2011.18ZM12.7113%2013.2127C12.6123%2013.2126%2012.5157%2013.1832%2012.4335%2013.1281C12.3513%2013.0731%2012.2873%2012.9949%2012.2495%2012.9035C12.2118%2012.8121%2012.202%2012.7115%2012.2214%2012.6146C12.2408%2012.5176%2012.2886%2012.4285%2012.3586%2012.3587C12.9317%2011.7866%2013.3865%2011.1071%2013.6967%2010.359C14.0069%209.61101%2014.1666%208.80915%2014.1666%207.99934C14.1666%207.18952%2014.0069%206.38766%2013.6967%205.63963C13.3865%204.8916%2012.9317%204.2121%2012.3586%203.64C12.3122%203.59351%2012.2754%203.53834%2012.2503%203.47764C12.2252%203.41693%2012.2124%203.35188%2012.2124%203.2862C12.2125%203.22052%2012.2255%203.15549%2012.2507%203.09483C12.2759%203.03417%2012.3128%202.97907%2012.3593%202.93267C12.4057%202.88627%2012.4609%202.84948%2012.5216%202.8244C12.5823%202.79932%2012.6474%202.78645%2012.7131%202.78651C12.7787%202.78657%2012.8438%202.79957%2012.9044%202.82476C12.9651%202.84995%2013.0202%202.88685%2013.0666%202.93334C13.7327%203.59825%2014.2612%204.38801%2014.6218%205.25741C14.9824%206.12681%2015.168%207.05879%2015.168%208C15.168%208.94122%2014.9824%209.87319%2014.6218%2010.7426C14.2612%2011.612%2013.7327%2012.4018%2013.0666%2013.0667C13.02%2013.1134%2012.9646%2013.1504%2012.9036%2013.1756C12.8426%2013.2007%2012.7772%2013.2129%2012.7113%2013.2127Z'%20fill='%233B5695'/%3e%3c/svg%3e", Ft = "data:image/svg+xml,%3csvg%20class='swap-on%20fill-current%20h-4%20w-4'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3e%3cpath%20fill-rule='evenodd'%20d='M4.5%207.5a3%203%200%200%201%203-3h9a3%203%200%200%201%203%203v9a3%203%200%200%201-3%203h-9a3%203%200%200%201-3-3v-9Z'%20clip-rule='evenodd'%20fill='%238595BE'/%3e%3c/svg%3e", St = ["disabled"], Mt = ["disabled"], kt = {
1131
1182
  __name: "Player",
1132
1183
  props: {
1133
1184
  tts: {
@@ -1140,410 +1191,381 @@ const pe = /* @__PURE__ */ f2(Ae, [["render", we], ["__scopeId", "data-v-a095754
1140
1191
  }
1141
1192
  },
1142
1193
  emits: ["loadTTS"],
1143
- setup(e, { emit: t }) {
1144
- const n = e, o = t, s = S(() => n.tts), i = H(!1), l = new Audio();
1145
- g2(
1146
- s,
1194
+ setup(t, { emit: e }) {
1195
+ const n = t, i = e, o = Q(() => n.tts), s = T(!1), l = new Audio();
1196
+ A2(
1197
+ o,
1147
1198
  () => {
1148
- if (!s.value) {
1149
- i.value = !1;
1199
+ if (!o.value) {
1200
+ s.value = !1;
1150
1201
  return;
1151
1202
  }
1152
- r();
1203
+ a();
1153
1204
  },
1154
1205
  { immediate: !0 }
1155
- ), F2(() => {
1206
+ ), M2(() => {
1156
1207
  c(), l.src = "";
1157
1208
  });
1158
- function a() {
1159
- if (s.value) {
1160
- r();
1209
+ function r() {
1210
+ if (o.value) {
1211
+ a();
1161
1212
  return;
1162
1213
  }
1163
- i.value = !0, o("loadTTS");
1214
+ s.value = !0, i("loadTTS");
1164
1215
  }
1165
- function r() {
1166
- s.value && (l.src = s.value, i.value = !0, l.play().catch(() => {
1167
- i.value = !1;
1216
+ function a() {
1217
+ o.value && (l.src = o.value, s.value = !0, l.play().catch(() => {
1218
+ s.value = !1;
1168
1219
  }));
1169
1220
  }
1170
1221
  function c() {
1171
- l.pause(), l.currentTime = 0, i.value = !1;
1222
+ l.pause(), l.currentTime = 0, s.value = !1;
1172
1223
  }
1173
1224
  return l.onended = () => {
1174
- i.value = !1;
1175
- }, (d, f) => i.value ? (b(), y("button", {
1225
+ s.value = !1;
1226
+ }, (d, u) => s.value ? (x(), I("button", {
1176
1227
  key: 1,
1177
- class: O(["btn btn-xs btn-circle", [
1178
- { "btn-ghost": !e.disabled },
1179
- { "!bg-white !border-none !shadow-none !ring-0": e.disabled }
1228
+ class: k(["btn btn-xs btn-circle", [
1229
+ { "btn-ghost": !t.disabled },
1230
+ { "!bg-white !border-none !shadow-none !ring-0": t.disabled }
1180
1231
  ]]),
1181
- disabled: e.disabled,
1232
+ disabled: t.disabled,
1182
1233
  onClick: c
1183
1234
  }, [
1184
1235
  E("img", {
1185
- class: O(["w-5 transition-all duration-200", [{ "opacity-100": !e.disabled }, { "opacity-50 transform": e.disabled }]]),
1186
- src: ye,
1236
+ class: k(["w-5 transition-all duration-200", [{ "opacity-100": !t.disabled }, { "opacity-50 transform": t.disabled }]]),
1237
+ src: Ft,
1187
1238
  alt: "Stop"
1188
1239
  }, null, 2)
1189
- ], 10, Ee)) : (b(), y("button", {
1240
+ ], 10, Mt)) : (x(), I("button", {
1190
1241
  key: 0,
1191
- class: O(["btn btn-xs btn-circle", [
1192
- { "btn-ghost": !e.disabled },
1193
- { "!bg-white !border-none !shadow-none !ring-0": e.disabled }
1242
+ class: k(["btn btn-xs btn-circle", [
1243
+ { "btn-ghost": !t.disabled },
1244
+ { "!bg-white !border-none !shadow-none !ring-0": t.disabled }
1194
1245
  ]]),
1195
- disabled: e.disabled,
1196
- onClick: a
1246
+ disabled: t.disabled,
1247
+ onClick: r
1197
1248
  }, [
1198
1249
  E("img", {
1199
- class: O(["w-5 transition-all duration-200", [{ "opacity-100": !e.disabled }, { "opacity-50 transform": e.disabled }]]),
1200
- src: Be,
1250
+ class: k(["w-5 transition-all duration-200", [{ "opacity-100": !t.disabled }, { "opacity-50 transform": t.disabled }]]),
1251
+ src: Qt,
1201
1252
  alt: "Play"
1202
1253
  }, null, 2)
1203
- ], 10, Ie));
1254
+ ], 10, St));
1204
1255
  }
1205
- }, Le = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.9491%205.89315C14.8278%205.53128%2014.5111%205.27252%2014.1226%205.21783L10.5264%204.7114L8.91813%201.55315C8.74435%201.21195%208.39257%201%207.99998%201C7.60739%201%207.25557%201.21195%207.08183%201.55315L5.47358%204.7114L1.8774%205.21783C1.48888%205.27252%201.17219%205.53128%201.05086%205.89315C0.929554%206.25501%201.02881%206.64477%201.30993%206.91038L3.91217%209.36871L3.29786%2012.8399C3.2315%2013.215%203.38755%2013.5868%203.7052%2013.8105C3.88128%2013.9344%204.08938%2014%204.30704%2014C4.47232%2014%204.63705%2013.9606%204.78341%2013.886L7.99995%2012.2471L11.2165%2013.886C11.3628%2013.9606%2011.5276%2014%2011.6929%2014C11.9106%2014%2012.1187%2013.9345%2012.2948%2013.8105C12.6124%2013.5868%2012.7685%2013.215%2012.7021%2012.84L12.0878%209.36871L14.6901%206.91035C14.9712%206.64477%2015.0704%206.25498%2014.9491%205.89315ZM14.0266%206.25082L11.2455%208.87813C11.1335%208.98392%2011.0824%209.13637%2011.1089%209.28575L11.7654%2012.9956C11.7701%2013.0226%2011.759%2013.0493%2011.7362%2013.0653C11.7202%2013.0766%2011.7038%2013.079%2011.6929%2013.079C11.6809%2013.079%2011.6694%2013.0762%2011.6587%2013.0708L8.22108%2011.3192C8.15189%2011.284%208.07593%2011.2663%207.99998%2011.2663C7.92402%2011.2663%207.84807%2011.284%207.77882%2011.3193L4.34118%2013.0708C4.33052%2013.0763%204.31904%2013.079%204.30701%2013.079C4.29611%2013.079%204.27969%2013.0767%204.26373%2013.0654C4.24092%2013.0494%204.22975%2013.0226%204.2345%2012.9957L4.89104%209.28584C4.91747%209.13646%204.86637%208.98401%204.75439%208.87822L1.97327%206.25091C1.95308%206.23184%201.94595%206.20383%201.95466%206.17786C1.9634%206.15185%201.98612%206.13326%202.01405%206.12933L5.85743%205.58807C6.0122%205.56626%206.14599%205.47208%206.21521%205.33616L7.93404%201.9608C7.94653%201.9363%207.97178%201.92107%207.99998%201.92107C8.02818%201.92107%208.05343%201.9363%208.06591%201.9608L9.78468%205.33607C9.85391%205.47199%209.9877%205.5662%2010.1425%205.58799L13.9859%206.12924C14.0138%206.1332%2014.0365%206.15176%2014.0452%206.17777C14.0539%206.20374%2014.0468%206.23175%2014.0266%206.25082Z'%20fill='%231A1F2A'/%3e%3c/svg%3e", Se = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.47207%201.31905C7.57125%201.12371%207.77589%201%208.00001%201C8.22413%201%208.42877%201.12367%208.52795%201.31905L10.3721%204.95175L14.4959%205.53427C14.7177%205.5656%2014.9019%205.7166%2014.9712%205.9238C15.0404%206.13101%2014.9827%206.35843%2014.8222%206.51049L11.8382%209.33816L12.5427%2013.3309C12.5806%2013.5456%2012.4897%2013.7626%2012.3084%2013.8906C12.1272%2014.0187%2011.8868%2014.0356%2011.6884%2013.9342L8.00004%2012.0491L4.31158%2013.9343C4.11323%2014.0356%203.87286%2014.0187%203.69157%2013.8907C3.51028%2013.7627%203.4195%2013.5457%203.45736%2013.3309L4.1618%209.33819L1.17781%206.51052C1.01735%206.35846%200.959571%206.13101%201.02884%205.92383C1.09807%205.71663%201.28232%205.56563%201.50409%205.53431L5.62787%204.95178L7.47207%201.31905Z'%20fill='%23FFC857'/%3e%3c/svg%3e", Qe = ["disabled"], Fe = ["src", "alt"], q2 = {
1256
+ }, Dt = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.9491%205.89315C14.8278%205.53128%2014.5111%205.27252%2014.1226%205.21783L10.5264%204.7114L8.91813%201.55315C8.74435%201.21195%208.39257%201%207.99998%201C7.60739%201%207.25557%201.21195%207.08183%201.55315L5.47358%204.7114L1.8774%205.21783C1.48888%205.27252%201.17219%205.53128%201.05086%205.89315C0.929554%206.25501%201.02881%206.64477%201.30993%206.91038L3.91217%209.36871L3.29786%2012.8399C3.2315%2013.215%203.38755%2013.5868%203.7052%2013.8105C3.88128%2013.9344%204.08938%2014%204.30704%2014C4.47232%2014%204.63705%2013.9606%204.78341%2013.886L7.99995%2012.2471L11.2165%2013.886C11.3628%2013.9606%2011.5276%2014%2011.6929%2014C11.9106%2014%2012.1187%2013.9345%2012.2948%2013.8105C12.6124%2013.5868%2012.7685%2013.215%2012.7021%2012.84L12.0878%209.36871L14.6901%206.91035C14.9712%206.64477%2015.0704%206.25498%2014.9491%205.89315ZM14.0266%206.25082L11.2455%208.87813C11.1335%208.98392%2011.0824%209.13637%2011.1089%209.28575L11.7654%2012.9956C11.7701%2013.0226%2011.759%2013.0493%2011.7362%2013.0653C11.7202%2013.0766%2011.7038%2013.079%2011.6929%2013.079C11.6809%2013.079%2011.6694%2013.0762%2011.6587%2013.0708L8.22108%2011.3192C8.15189%2011.284%208.07593%2011.2663%207.99998%2011.2663C7.92402%2011.2663%207.84807%2011.284%207.77882%2011.3193L4.34118%2013.0708C4.33052%2013.0763%204.31904%2013.079%204.30701%2013.079C4.29611%2013.079%204.27969%2013.0767%204.26373%2013.0654C4.24092%2013.0494%204.22975%2013.0226%204.2345%2012.9957L4.89104%209.28584C4.91747%209.13646%204.86637%208.98401%204.75439%208.87822L1.97327%206.25091C1.95308%206.23184%201.94595%206.20383%201.95466%206.17786C1.9634%206.15185%201.98612%206.13326%202.01405%206.12933L5.85743%205.58807C6.0122%205.56626%206.14599%205.47208%206.21521%205.33616L7.93404%201.9608C7.94653%201.9363%207.97178%201.92107%207.99998%201.92107C8.02818%201.92107%208.05343%201.9363%208.06591%201.9608L9.78468%205.33607C9.85391%205.47199%209.9877%205.5662%2010.1425%205.58799L13.9859%206.12924C14.0138%206.1332%2014.0365%206.15176%2014.0452%206.17777C14.0539%206.20374%2014.0468%206.23175%2014.0266%206.25082Z'%20fill='%231A1F2A'/%3e%3c/svg%3e", Rt = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.47207%201.31905C7.57125%201.12371%207.77589%201%208.00001%201C8.22413%201%208.42877%201.12367%208.52795%201.31905L10.3721%204.95175L14.4959%205.53427C14.7177%205.5656%2014.9019%205.7166%2014.9712%205.9238C15.0404%206.13101%2014.9827%206.35843%2014.8222%206.51049L11.8382%209.33816L12.5427%2013.3309C12.5806%2013.5456%2012.4897%2013.7626%2012.3084%2013.8906C12.1272%2014.0187%2011.8868%2014.0356%2011.6884%2013.9342L8.00004%2012.0491L4.31158%2013.9343C4.11323%2014.0356%203.87286%2014.0187%203.69157%2013.8907C3.51028%2013.7627%203.4195%2013.5457%203.45736%2013.3309L4.1618%209.33819L1.17781%206.51052C1.01735%206.35846%200.959571%206.13101%201.02884%205.92383C1.09807%205.71663%201.28232%205.56563%201.50409%205.53431L5.62787%204.95178L7.47207%201.31905Z'%20fill='%23FFC857'/%3e%3c/svg%3e", Tt = {
1257
+ class: "tooltip tooltip-bottom before:!bg-white before:!border before:!border-solid before:!border-gray-200 before:![box-shadow:0px_1px_8px_0px_#3D44514D] before:!rounded-md before:!text-textSecondary before:!top-[90%]",
1258
+ "data-tip": "Favorite"
1259
+ }, Ht = ["disabled"], Ot = ["src", "alt"], Gt = {
1206
1260
  __name: "Favorite",
1207
1261
  props: {
1208
1262
  isFilled: Boolean,
1209
1263
  disabled: Boolean
1210
1264
  },
1211
- setup(e) {
1212
- return (t, n) => (b(), y("button", {
1213
- class: O(["btn btn-xs btn-circle", [
1214
- { "btn-ghost": !e.disabled },
1215
- { "!bg-transparent !border-none !shadow-none !ring-0": e.disabled }
1216
- ]]),
1217
- disabled: e.disabled
1218
- }, [
1219
- E("img", {
1220
- src: e.isFilled ? N(Se) : N(Le),
1221
- alt: e.isFilled ? "Unfavorite" : "Favorite",
1222
- class: O(["w-5 transition-all duration-200", [{ "opacity-100": !e.disabled }, { "opacity-50 transform": e.disabled }]])
1223
- }, null, 10, Fe)
1224
- ], 10, Qe));
1265
+ setup(t) {
1266
+ return (e, n) => (x(), I("div", Tt, [
1267
+ E("button", {
1268
+ class: k(["btn btn-xs btn-circle", [
1269
+ { "btn-ghost": !t.disabled },
1270
+ { "!bg-transparent !border-none !shadow-none !ring-0": t.disabled }
1271
+ ]]),
1272
+ disabled: t.disabled
1273
+ }, [
1274
+ E("img", {
1275
+ src: t.isFilled ? H(Rt) : H(Dt),
1276
+ alt: t.isFilled ? "Unfavorite" : "Favorite",
1277
+ class: k(["w-5 transition-all duration-200", [{ "opacity-100": !t.disabled }, { "opacity-50 transform": t.disabled }]])
1278
+ }, null, 10, Ot)
1279
+ ], 10, Ht)
1280
+ ]));
1281
+ }
1282
+ }, Jt = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3e%3ccircle%20cx='18'%20cy='12'%20r='0'%20fill='currentColor'%3e%3canimate%20attributeName='r'%20begin='.67'%20calcMode='spline'%20dur='1.5s'%20keySplines='0.2%200.2%200.4%200.8;0.2%200.2%200.4%200.8;0.2%200.2%200.4%200.8'%20repeatCount='indefinite'%20values='0;2;0;0'/%3e%3c/circle%3e%3ccircle%20cx='12'%20cy='12'%20r='0'%20fill='currentColor'%3e%3canimate%20attributeName='r'%20begin='.33'%20calcMode='spline'%20dur='1.5s'%20keySplines='0.2%200.2%200.4%200.8;0.2%200.2%200.4%200.8;0.2%200.2%200.4%200.8'%20repeatCount='indefinite'%20values='0;2;0;0'/%3e%3c/circle%3e%3ccircle%20cx='6'%20cy='12'%20r='0'%20fill='currentColor'%3e%3canimate%20attributeName='r'%20begin='0'%20calcMode='spline'%20dur='1.5s'%20keySplines='0.2%200.2%200.4%200.8;0.2%200.2%200.4%200.8;0.2%200.2%200.4%200.8'%20repeatCount='indefinite'%20values='0;2;0;0'/%3e%3c/circle%3e%3c/svg%3e", Ut = ["src"], o0 = {
1283
+ __name: "Spinning",
1284
+ setup(t) {
1285
+ return (e, n) => (x(), I("img", {
1286
+ src: H(Jt),
1287
+ alt: "Loading",
1288
+ class: "w-6 h-6"
1289
+ }, null, 8, Ut));
1225
1290
  }
1226
- }, ke = "data:image/svg+xml,%3csvg%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.8544%203.20309C5.39975%202.89815%204.26277%201.76117%203.95787%200.30649C3.92042%200.12792%203.76292%200%203.58041%200C3.3979%200%203.2404%200.12792%203.20297%200.30652C2.89805%201.76117%201.76107%202.89812%200.306418%203.20302C0.127818%203.24045%20-0.00012207%203.39798%20-0.00012207%203.58046C-0.00012207%203.76295%200.127798%203.92047%200.306418%203.9579C1.76105%204.26285%202.89798%205.3998%203.2029%206.85448C3.24033%207.03307%203.39783%207.16102%203.58034%207.16102C3.76282%207.16102%203.92035%207.0331%203.95778%206.85448C4.26272%205.39983%205.39973%204.26287%206.85438%203.95799C7.03297%203.92056%207.16092%203.76306%207.16092%203.58056C7.1609%203.39805%207.03297%203.24052%206.8544%203.20309ZM3.58036%205.60938C3.14292%204.73132%202.42956%204.01792%201.55151%203.58049C2.42958%203.14305%203.14297%202.42968%203.58041%201.55161C4.01785%202.4297%204.73122%203.14307%205.60926%203.58053C4.73119%204.01797%204.0178%204.73132%203.58036%205.60938Z'%20fill='%23FFC857'/%3e%3cpath%20d='M6.21683%209.574C5.53147%209.4303%204.99578%208.8947%204.85209%208.2093C4.81466%208.0307%204.65716%207.90271%204.47465%207.90271C4.29217%207.90271%204.13464%208.0306%204.09721%208.2092C3.95352%208.8946%203.4178%209.4303%202.73244%209.574C2.55385%209.6114%202.4259%209.7689%202.4259%209.9514C2.4259%2010.1339%202.55383%2010.2914%202.73244%2010.3288C3.41778%2010.4725%203.95349%2011.0082%204.09716%2011.6936C4.13459%2011.8722%204.2921%2012.0002%204.4746%2012.0002C4.65709%2012.0002%204.81461%2011.8723%204.85204%2011.6936C4.99574%2011.0082%205.53145%2010.4725%206.21683%2010.3289C6.39543%2010.2914%206.52337%2010.1339%206.52337%209.9514C6.52337%209.7689%206.39545%209.6114%206.21683%209.574ZM4.47463%2010.6408C4.29163%2010.3688%204.05725%2010.1345%203.78526%209.9515C4.0573%209.7684%204.29163%209.5341%204.47463%209.2621C4.65765%209.5341%204.892%209.7685%205.164%209.9515C4.892%2010.1345%204.65763%2010.3688%204.47463%2010.6408Z'%20fill='%23FFC857'/%3e%3cpath%20d='M11.4271%206.00324C10.5007%205.80904%209.7766%205.08496%209.5825%204.15859C9.545%203.98%209.3875%203.85205%209.205%203.85205C9.0225%203.85205%208.865%203.97995%208.8276%204.15857C8.6334%205.08496%207.90932%205.80902%206.98293%206.0032C6.80434%206.04063%206.67639%206.19815%206.67639%206.38064C6.67639%206.56312%206.80431%206.72062%206.98293%206.75807C7.9093%206.95228%208.6334%207.67633%208.8275%208.6027C8.865%208.7813%209.0225%208.9093%209.205%208.9093C9.3875%208.9093%209.545%208.7814%209.5824%208.6027C9.7766%207.67633%2010.5007%206.95228%2011.4271%206.75812C11.6057%206.72067%2011.7336%206.56317%2011.7336%206.38068C11.7336%206.1982%2011.6057%206.04067%2011.4271%206.00324ZM9.205%207.47681C8.9365%207.02634%208.5593%206.64914%208.1089%206.38066C8.5593%206.11218%208.9365%205.73502%209.205%205.28453C9.4735%205.73502%209.8507%206.11221%2010.3012%206.38068C9.8507%206.64916%209.4735%207.02636%209.205%207.47681Z'%20fill='%23FFC857'/%3e%3ccircle%20cx='3.5'%20cy='3.5'%20r='1.5'%20fill='%23FFC857'/%3e%3cellipse%20cx='4.5'%20cy='10'%20rx='0.5'%20ry='1'%20fill='%23FFC857'/%3e%3cpath%20d='M3.5%201L4.79904%202.5H2.20096L3.5%201Z'%20fill='%23FFC857'/%3e%3cpath%20d='M6%203.5L4.5%204.79904L4.5%202.20096L6%203.5Z'%20fill='%23FFC857'/%3e%3cpath%20d='M10.3697%206.67832L8.22108%207.01422L9.5776%204.65296L10.3697%206.67832Z'%20fill='%23FFC857'/%3e%3cpath%20d='M8.27756%205.34149L10.768%206.00067L9.11199%207.77878L8.27756%205.34149Z'%20fill='%23FFC857'/%3e%3cpath%20d='M1%203.5L2.5%202.20096L2.5%204.79904L1%203.5Z'%20fill='%23FFC857'/%3e%3cpath%20d='M3.5%206L2.20096%204.5L4.79904%204.5L3.5%206Z'%20fill='%23FFC857'/%3e%3ccircle%20cx='9'%20cy='6'%20r='1'%20fill='%23FFC857'/%3e%3cpath%20d='M5.49718%209.92495L4.03391%2010.4693L3.96891%209.60573L5.49718%209.92495Z'%20fill='%23FFC857'/%3e%3cpath%20d='M3.54089%209.71696L5.10212%209.72621L4.857%2010.5568L3.54089%209.71696Z'%20fill='%23FFC857'/%3e%3cpath%20d='M3.50071%209.96247L5.0159%209.58606L4.9834%2010.4515L3.50071%209.96247Z'%20fill='%23FFC857'/%3e%3c/svg%3e", De = "data:image/svg+xml,%3csvg%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.8544%203.20309C5.39975%202.89815%204.26277%201.76117%203.95787%200.30649C3.92042%200.12792%203.76292%200%203.58041%200C3.3979%200%203.2404%200.12792%203.20297%200.30652C2.89805%201.76117%201.76107%202.89812%200.306418%203.20302C0.127818%203.24045%20-0.00012207%203.39798%20-0.00012207%203.58046C-0.00012207%203.76295%200.127798%203.92047%200.306418%203.9579C1.76105%204.26285%202.89798%205.3998%203.2029%206.85448C3.24033%207.03307%203.39783%207.16102%203.58034%207.16102C3.76282%207.16102%203.92035%207.0331%203.95778%206.85448C4.26272%205.39983%205.39973%204.26287%206.85438%203.95799C7.03297%203.92056%207.16092%203.76306%207.16092%203.58056C7.1609%203.39805%207.03297%203.24052%206.8544%203.20309ZM3.58036%205.60938C3.14292%204.73132%202.42956%204.01792%201.55151%203.58049C2.42958%203.14305%203.14297%202.42968%203.58041%201.55161C4.01785%202.4297%204.73122%203.14307%205.60926%203.58053C4.73119%204.01797%204.0178%204.73132%203.58036%205.60938Z'%20fill='%231A1F2A'/%3e%3cpath%20d='M6.21683%209.574C5.53147%209.4303%204.99578%208.8947%204.85209%208.2093C4.81466%208.0307%204.65716%207.90271%204.47465%207.90271C4.29217%207.90271%204.13464%208.0306%204.09721%208.2092C3.95352%208.8946%203.4178%209.4303%202.73244%209.574C2.55385%209.6114%202.4259%209.7689%202.4259%209.9514C2.4259%2010.1339%202.55383%2010.2914%202.73244%2010.3288C3.41778%2010.4725%203.95349%2011.0082%204.09716%2011.6936C4.13459%2011.8722%204.2921%2012.0002%204.4746%2012.0002C4.65709%2012.0002%204.81461%2011.8723%204.85204%2011.6936C4.99574%2011.0082%205.53145%2010.4725%206.21683%2010.3289C6.39543%2010.2914%206.52337%2010.1339%206.52337%209.9514C6.52337%209.7689%206.39545%209.6114%206.21683%209.574ZM4.47463%2010.6408C4.29163%2010.3688%204.05725%2010.1345%203.78526%209.9515C4.0573%209.7684%204.29163%209.5341%204.47463%209.2621C4.65765%209.5341%204.892%209.7685%205.164%209.9515C4.892%2010.1345%204.65763%2010.3688%204.47463%2010.6408Z'%20fill='%231A1F2A'/%3e%3cpath%20d='M11.4271%206.00324C10.5007%205.80904%209.7766%205.08496%209.5825%204.15859C9.545%203.98%209.3875%203.85205%209.205%203.85205C9.0225%203.85205%208.865%203.97995%208.8276%204.15857C8.6334%205.08496%207.90932%205.80902%206.98293%206.0032C6.80434%206.04063%206.67639%206.19815%206.67639%206.38064C6.67639%206.56312%206.80431%206.72062%206.98293%206.75807C7.9093%206.95228%208.6334%207.67633%208.8275%208.6027C8.865%208.7813%209.0225%208.9093%209.205%208.9093C9.3875%208.9093%209.545%208.7814%209.5824%208.6027C9.7766%207.67633%2010.5007%206.95228%2011.4271%206.75812C11.6057%206.72067%2011.7336%206.56317%2011.7336%206.38068C11.7336%206.1982%2011.6057%206.04067%2011.4271%206.00324ZM9.205%207.47681C8.9365%207.02634%208.5593%206.64914%208.1089%206.38066C8.5593%206.11218%208.9365%205.73502%209.205%205.28453C9.4735%205.73502%209.8507%206.11221%2010.3012%206.38068C9.8507%206.64916%209.4735%207.02636%209.205%207.47681Z'%20fill='%231A1F2A'/%3e%3c/svg%3e", Me = ["disabled"], Te = ["src"], j2 = {
1227
- __name: "AIBtn",
1291
+ }, Yt = "data:image/svg+xml,%3csvg%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.8544%203.20309C5.39975%202.89815%204.26277%201.76117%203.95787%200.30649C3.92042%200.12792%203.76292%200%203.58041%200C3.3979%200%203.2404%200.12792%203.20297%200.30652C2.89805%201.76117%201.76107%202.89812%200.306418%203.20302C0.127818%203.24045%20-0.00012207%203.39798%20-0.00012207%203.58046C-0.00012207%203.76295%200.127798%203.92047%200.306418%203.9579C1.76105%204.26285%202.89798%205.3998%203.2029%206.85448C3.24033%207.03307%203.39783%207.16102%203.58034%207.16102C3.76282%207.16102%203.92035%207.0331%203.95778%206.85448C4.26272%205.39983%205.39973%204.26287%206.85438%203.95799C7.03297%203.92056%207.16092%203.76306%207.16092%203.58056C7.1609%203.39805%207.03297%203.24052%206.8544%203.20309ZM3.58036%205.60938C3.14292%204.73132%202.42956%204.01792%201.55151%203.58049C2.42958%203.14305%203.14297%202.42968%203.58041%201.55161C4.01785%202.4297%204.73122%203.14307%205.60926%203.58053C4.73119%204.01797%204.0178%204.73132%203.58036%205.60938Z'%20fill='%23FFC857'/%3e%3cpath%20d='M6.21683%209.574C5.53147%209.4303%204.99578%208.8947%204.85209%208.2093C4.81466%208.0307%204.65716%207.90271%204.47465%207.90271C4.29217%207.90271%204.13464%208.0306%204.09721%208.2092C3.95352%208.8946%203.4178%209.4303%202.73244%209.574C2.55385%209.6114%202.4259%209.7689%202.4259%209.9514C2.4259%2010.1339%202.55383%2010.2914%202.73244%2010.3288C3.41778%2010.4725%203.95349%2011.0082%204.09716%2011.6936C4.13459%2011.8722%204.2921%2012.0002%204.4746%2012.0002C4.65709%2012.0002%204.81461%2011.8723%204.85204%2011.6936C4.99574%2011.0082%205.53145%2010.4725%206.21683%2010.3289C6.39543%2010.2914%206.52337%2010.1339%206.52337%209.9514C6.52337%209.7689%206.39545%209.6114%206.21683%209.574ZM4.47463%2010.6408C4.29163%2010.3688%204.05725%2010.1345%203.78526%209.9515C4.0573%209.7684%204.29163%209.5341%204.47463%209.2621C4.65765%209.5341%204.892%209.7685%205.164%209.9515C4.892%2010.1345%204.65763%2010.3688%204.47463%2010.6408Z'%20fill='%23FFC857'/%3e%3cpath%20d='M11.4271%206.00324C10.5007%205.80904%209.7766%205.08496%209.5825%204.15859C9.545%203.98%209.3875%203.85205%209.205%203.85205C9.0225%203.85205%208.865%203.97995%208.8276%204.15857C8.6334%205.08496%207.90932%205.80902%206.98293%206.0032C6.80434%206.04063%206.67639%206.19815%206.67639%206.38064C6.67639%206.56312%206.80431%206.72062%206.98293%206.75807C7.9093%206.95228%208.6334%207.67633%208.8275%208.6027C8.865%208.7813%209.0225%208.9093%209.205%208.9093C9.3875%208.9093%209.545%208.7814%209.5824%208.6027C9.7766%207.67633%2010.5007%206.95228%2011.4271%206.75812C11.6057%206.72067%2011.7336%206.56317%2011.7336%206.38068C11.7336%206.1982%2011.6057%206.04067%2011.4271%206.00324ZM9.205%207.47681C8.9365%207.02634%208.5593%206.64914%208.1089%206.38066C8.5593%206.11218%208.9365%205.73502%209.205%205.28453C9.4735%205.73502%209.8507%206.11221%2010.3012%206.38068C9.8507%206.64916%209.4735%207.02636%209.205%207.47681Z'%20fill='%23FFC857'/%3e%3ccircle%20cx='3.5'%20cy='3.5'%20r='1.5'%20fill='%23FFC857'/%3e%3cellipse%20cx='4.5'%20cy='10'%20rx='0.5'%20ry='1'%20fill='%23FFC857'/%3e%3cpath%20d='M3.5%201L4.79904%202.5H2.20096L3.5%201Z'%20fill='%23FFC857'/%3e%3cpath%20d='M6%203.5L4.5%204.79904L4.5%202.20096L6%203.5Z'%20fill='%23FFC857'/%3e%3cpath%20d='M10.3697%206.67832L8.22108%207.01422L9.5776%204.65296L10.3697%206.67832Z'%20fill='%23FFC857'/%3e%3cpath%20d='M8.27756%205.34149L10.768%206.00067L9.11199%207.77878L8.27756%205.34149Z'%20fill='%23FFC857'/%3e%3cpath%20d='M1%203.5L2.5%202.20096L2.5%204.79904L1%203.5Z'%20fill='%23FFC857'/%3e%3cpath%20d='M3.5%206L2.20096%204.5L4.79904%204.5L3.5%206Z'%20fill='%23FFC857'/%3e%3ccircle%20cx='9'%20cy='6'%20r='1'%20fill='%23FFC857'/%3e%3cpath%20d='M5.49718%209.92495L4.03391%2010.4693L3.96891%209.60573L5.49718%209.92495Z'%20fill='%23FFC857'/%3e%3cpath%20d='M3.54089%209.71696L5.10212%209.72621L4.857%2010.5568L3.54089%209.71696Z'%20fill='%23FFC857'/%3e%3cpath%20d='M3.50071%209.96247L5.0159%209.58606L4.9834%2010.4515L3.50071%209.96247Z'%20fill='%23FFC857'/%3e%3c/svg%3e", Kt = "data:image/svg+xml,%3csvg%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.8544%203.20309C5.39975%202.89815%204.26277%201.76117%203.95787%200.30649C3.92042%200.12792%203.76292%200%203.58041%200C3.3979%200%203.2404%200.12792%203.20297%200.30652C2.89805%201.76117%201.76107%202.89812%200.306418%203.20302C0.127818%203.24045%20-0.00012207%203.39798%20-0.00012207%203.58046C-0.00012207%203.76295%200.127798%203.92047%200.306418%203.9579C1.76105%204.26285%202.89798%205.3998%203.2029%206.85448C3.24033%207.03307%203.39783%207.16102%203.58034%207.16102C3.76282%207.16102%203.92035%207.0331%203.95778%206.85448C4.26272%205.39983%205.39973%204.26287%206.85438%203.95799C7.03297%203.92056%207.16092%203.76306%207.16092%203.58056C7.1609%203.39805%207.03297%203.24052%206.8544%203.20309ZM3.58036%205.60938C3.14292%204.73132%202.42956%204.01792%201.55151%203.58049C2.42958%203.14305%203.14297%202.42968%203.58041%201.55161C4.01785%202.4297%204.73122%203.14307%205.60926%203.58053C4.73119%204.01797%204.0178%204.73132%203.58036%205.60938Z'%20fill='%23FFC857'/%3e%3cpath%20d='M6.21683%209.574C5.53147%209.4303%204.99578%208.8947%204.85209%208.2093C4.81466%208.0307%204.65716%207.90271%204.47465%207.90271C4.29217%207.90271%204.13464%208.0306%204.09721%208.2092C3.95352%208.8946%203.4178%209.4303%202.73244%209.574C2.55385%209.6114%202.4259%209.7689%202.4259%209.9514C2.4259%2010.1339%202.55383%2010.2914%202.73244%2010.3288C3.41778%2010.4725%203.95349%2011.0082%204.09716%2011.6936C4.13459%2011.8722%204.2921%2012.0002%204.4746%2012.0002C4.65709%2012.0002%204.81461%2011.8723%204.85204%2011.6936C4.99574%2011.0082%205.53145%2010.4725%206.21683%2010.3289C6.39543%2010.2914%206.52337%2010.1339%206.52337%209.9514C6.52337%209.7689%206.39545%209.6114%206.21683%209.574ZM4.47463%2010.6408C4.29163%2010.3688%204.05725%2010.1345%203.78526%209.9515C4.0573%209.7684%204.29163%209.5341%204.47463%209.2621C4.65765%209.5341%204.892%209.7685%205.164%209.9515C4.892%2010.1345%204.65763%2010.3688%204.47463%2010.6408Z'%20fill='%23FFC857'/%3e%3cpath%20d='M11.4271%206.00324C10.5007%205.80904%209.7766%205.08496%209.5825%204.15859C9.545%203.98%209.3875%203.85205%209.205%203.85205C9.0225%203.85205%208.865%203.97995%208.8276%204.15857C8.6334%205.08496%207.90932%205.80902%206.98293%206.0032C6.80434%206.04063%206.67639%206.19815%206.67639%206.38064C6.67639%206.56312%206.80431%206.72062%206.98293%206.75807C7.9093%206.95228%208.6334%207.67633%208.8275%208.6027C8.865%208.7813%209.0225%208.9093%209.205%208.9093C9.3875%208.9093%209.545%208.7814%209.5824%208.6027C9.7766%207.67633%2010.5007%206.95228%2011.4271%206.75812C11.6057%206.72067%2011.7336%206.56317%2011.7336%206.38068C11.7336%206.1982%2011.6057%206.04067%2011.4271%206.00324ZM9.205%207.47681C8.9365%207.02634%208.5593%206.64914%208.1089%206.38066C8.5593%206.11218%208.9365%205.73502%209.205%205.28453C9.4735%205.73502%209.8507%206.11221%2010.3012%206.38068C9.8507%206.64916%209.4735%207.02636%209.205%207.47681Z'%20fill='%23FFC857'/%3e%3c/svg%3e", Vt = {
1292
+ class: "bg-white tooltip tooltip-bottom before:!bg-white before:!border before:!border-solid before:!border-gray-200 before:![box-shadow:0px_1px_8px_0px_#3D44514D] before:!rounded-md before:!text-textSecondary before:!top-[90%]",
1293
+ "data-tip": "AI Translate"
1294
+ }, Wt = ["disabled"], Nt = ["src"], Zt = {
1295
+ __name: "AITranslateBtn",
1228
1296
  props: {
1297
+ isLoading: Boolean,
1229
1298
  disabled: Boolean,
1230
1299
  isFilled: Boolean
1231
1300
  },
1232
- setup(e) {
1233
- return (t, n) => (b(), y("button", {
1234
- class: O(["btn btn-xs btn-circle", [
1235
- { "btn-ghost": !e.disabled },
1236
- { "!bg-transparent !border-none !shadow-none !ring-0": e.disabled }
1237
- ]]),
1238
- disabled: e.disabled
1239
- }, [
1240
- E("img", {
1241
- src: e.isFilled ? N(ke) : N(De),
1242
- alt: "AI",
1243
- class: O(["w-5 transition-all duration-200", [{ "opacity-100": !e.disabled }, { "opacity-50 transform ": e.disabled }]])
1244
- }, null, 10, Te)
1245
- ], 10, Me));
1301
+ setup(t) {
1302
+ return (e, n) => (x(), I("div", Vt, [
1303
+ t.isLoading ? (x(), j(o0, {
1304
+ key: 0,
1305
+ class: "inset-0 flex items-center justify-center"
1306
+ })) : (x(), I("button", {
1307
+ key: 1,
1308
+ class: k(["btn btn-xs btn-circle", [
1309
+ { "btn-ghost": !t.disabled },
1310
+ { "!bg-transparent !border-none !shadow-none !ring-0": t.disabled }
1311
+ ]]),
1312
+ disabled: t.disabled
1313
+ }, [
1314
+ E("img", {
1315
+ src: t.isFilled ? H(Yt) : H(Kt),
1316
+ alt: "AI",
1317
+ class: k(["w-5 transition-all duration-200", [{ "opacity-100": !t.disabled }, { "opacity-50 transform ": t.disabled }]])
1318
+ }, null, 10, Nt)
1319
+ ], 10, Wt))
1320
+ ]));
1246
1321
  }
1247
- }, Re = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.12596%201.63869C9.46935%201.54364%209.83221%201.70329%209.99413%202.02068C10.3672%202.75191%2011.1261%203.25%2012%203.25C12.8739%203.25%2013.6328%202.75191%2014.0059%202.02068C14.1678%201.70329%2014.5307%201.54364%2014.874%201.63869C16.5585%202.10497%2018.0759%202.9704%2019.3184%204.12574C19.5611%204.35137%2019.6269%204.70948%2019.4804%205.00666C19.3331%205.30535%2019.25%205.6419%2019.25%206C19.25%207.24263%2020.2574%208.25%2021.5%208.25L21.5314%208.24977C21.8629%208.24504%2022.1583%208.45859%2022.2576%208.77495C22.5777%209.79397%2022.75%2010.8776%2022.75%2012C22.75%2012.7408%2022.6749%2013.4649%2022.5318%2014.1648C22.4548%2014.5411%2022.1059%2014.7985%2021.7237%2014.7609C21.6504%2014.7537%2021.5758%2014.75%2021.5%2014.75C20.2574%2014.75%2019.25%2015.7574%2019.25%2017C19.25%2017.5531%2019.4486%2018.0579%2019.7793%2018.4498C20.027%2018.7434%2020.0128%2019.1767%2019.7465%2019.4535C18.4777%2020.7719%2016.8745%2021.7678%2015.0721%2022.3044C14.6807%2022.4209%2014.2681%2022.2029%2014.1437%2021.814C13.8535%2020.906%2013.0024%2020.25%2012%2020.25C10.9976%2020.25%2010.1465%2020.906%209.85629%2021.814C9.73195%2022.2029%209.31927%2022.4209%208.92789%2022.3044C7.12545%2021.7678%205.52229%2020.7719%204.25353%2019.4535C3.98716%2019.1767%203.97299%2018.7434%204.22072%2018.4498C4.55139%2018.0579%204.75%2017.5531%204.75%2017C4.75%2015.7574%203.74264%2014.75%202.5%2014.75C2.42423%2014.75%202.34963%2014.7537%202.27634%2014.7609C1.89406%2014.7985%201.54519%2014.5411%201.46821%2014.1648C1.32505%2013.4649%201.25%2012.7408%201.25%2012C1.25%2010.8776%201.42227%209.79398%201.74236%208.77494C1.84173%208.45859%202.13705%208.24504%202.4686%208.24977L2.5%208.25C3.74264%208.25%204.75%207.24263%204.75%206C4.75%205.6419%204.66689%205.30535%204.51962%205.00666C4.3731%204.70948%204.43894%204.35137%204.68159%204.12574C5.92411%202.9704%207.44153%202.10497%209.12596%201.63869ZM6.08277%204.88991C6.19152%205.24123%206.25%205.61424%206.25%206C6.25%207.88945%204.85261%209.45253%203.03493%209.71213C2.84898%2010.4432%202.75%2011.2096%202.75%2012C2.75%2012.4294%202.77921%2012.8516%202.83567%2013.2648C4.74948%2013.4346%206.25%2015.0421%206.25%2017C6.25%2017.6669%206.0754%2018.2941%205.76971%2018.8372C6.62645%2019.6184%207.63002%2020.2404%208.73362%2020.657C9.37706%2019.5189%2010.598%2018.75%2012%2018.75C13.402%2018.75%2014.6229%2019.5189%2015.2664%2020.657C16.37%2020.2404%2017.3735%2019.6184%2018.2303%2018.8372C17.9246%2018.2941%2017.75%2017.6669%2017.75%2017C17.75%2015.0421%2019.2505%2013.4346%2021.1643%2013.2648C21.2208%2012.8516%2021.25%2012.4294%2021.25%2012C21.25%2011.2096%2021.151%2010.4432%2020.9651%209.71213C19.1474%209.45252%2017.75%207.88945%2017.75%206C17.75%205.61424%2017.8085%205.24123%2017.9172%204.88991C17.0618%204.1771%2016.0762%203.61614%2015.0018%203.24775C14.3184%204.15897%2013.2287%204.75%2012%204.75C10.7713%204.75%209.68158%204.15897%208.99819%203.24775C7.92382%203.61614%206.93823%204.1771%206.08277%204.88991Z'%20fill='%237E7E7E'/%3e%3cpath%20d='M7.75%2012C7.75%209.65278%209.65279%207.75%2012%207.75C14.3472%207.75%2016.25%209.65278%2016.25%2012C16.25%2014.3472%2014.3472%2016.25%2012%2016.25C9.65279%2016.25%207.75%2014.3472%207.75%2012ZM12%209.25C10.4812%209.25%209.25%2010.4812%209.25%2012C9.25%2013.5188%2010.4812%2014.75%2012%2014.75C13.5188%2014.75%2014.75%2013.5188%2014.75%2012C14.75%2010.4812%2013.5188%209.25%2012%209.25Z'%20fill='%237E7E7E'/%3e%3c/svg%3e", He = {}, Oe = { class: "btn btn-xs btn-ghost btn-circle" }, Ge = /* @__PURE__ */ E("img", {
1322
+ }, qt = "data:image/svg+xml,%3csvg%20width='12'%20height='12'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%3e%3cpath%20fill='%23FFC857'%20d='M12%207a5%205%200%200%200-2%209.584V19h4v-2.416A5.001%205.001%200%200%200%2012%207z'/%3e%3cpath%20stroke='%23FFC857'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='2'%20d='M21%2012h1m-3.5-6.5%201-1M12%203V2M5.5%205.5l-1-1M3%2012H2m8%2010h4m3-10a5%205%200%201%200-7%204.584V19h4v-2.416A5.001%205.001%200%200%200%2017%2012z'/%3e%3c/svg%3e", jt = "data:image/svg+xml,%3csvg%20width='12'%20height='12'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%3e%3cpath%20stroke='%23FFC857'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='2'%20d='M21%2012h1m-3.5-6.5%201-1M12%203V2M5.5%205.5l-1-1M3%2012H2m8%2010h4m3-10a5%205%200%201%200-7%204.584V19h4v-2.416A5.001%205.001%200%200%200%2017%2012z'/%3e%3c/svg%3e", Pt = {
1323
+ class: "bg-white tooltip tooltip-bottom before:!bg-white before:!border before:!border-solid before:!border-gray-200 before:![box-shadow:0px_1px_8px_0px_#3D44514D] before:!rounded-md before:!text-textSecondary before:!top-[90%]",
1324
+ "data-tip": "AI Summarize"
1325
+ }, zt = ["disabled"], $t = ["src"], Xt = {
1326
+ __name: "AIExplainBtn",
1327
+ props: {
1328
+ isLoading: Boolean,
1329
+ disabled: Boolean,
1330
+ isFilled: Boolean
1331
+ },
1332
+ setup(t) {
1333
+ return (e, n) => (x(), I("div", Pt, [
1334
+ t.isLoading ? (x(), j(o0, { key: 0 })) : (x(), I("button", {
1335
+ key: 1,
1336
+ class: k(["btn btn-xs btn-circle", [
1337
+ { "btn-ghost": !t.disabled },
1338
+ { "!bg-transparent !border-none !shadow-none !ring-0": t.disabled }
1339
+ ]]),
1340
+ disabled: t.disabled
1341
+ }, [
1342
+ E("img", {
1343
+ src: t.isFilled ? H(qt) : H(jt),
1344
+ alt: "AI",
1345
+ class: k(["w-6 transition-all duration-200", [{ "opacity-100": !t.disabled }, { "opacity-50 transform ": t.disabled }]])
1346
+ }, null, 10, $t)
1347
+ ], 10, zt))
1348
+ ]));
1349
+ }
1350
+ }, _t = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.12596%201.63869C9.46935%201.54364%209.83221%201.70329%209.99413%202.02068C10.3672%202.75191%2011.1261%203.25%2012%203.25C12.8739%203.25%2013.6328%202.75191%2014.0059%202.02068C14.1678%201.70329%2014.5307%201.54364%2014.874%201.63869C16.5585%202.10497%2018.0759%202.9704%2019.3184%204.12574C19.5611%204.35137%2019.6269%204.70948%2019.4804%205.00666C19.3331%205.30535%2019.25%205.6419%2019.25%206C19.25%207.24263%2020.2574%208.25%2021.5%208.25L21.5314%208.24977C21.8629%208.24504%2022.1583%208.45859%2022.2576%208.77495C22.5777%209.79397%2022.75%2010.8776%2022.75%2012C22.75%2012.7408%2022.6749%2013.4649%2022.5318%2014.1648C22.4548%2014.5411%2022.1059%2014.7985%2021.7237%2014.7609C21.6504%2014.7537%2021.5758%2014.75%2021.5%2014.75C20.2574%2014.75%2019.25%2015.7574%2019.25%2017C19.25%2017.5531%2019.4486%2018.0579%2019.7793%2018.4498C20.027%2018.7434%2020.0128%2019.1767%2019.7465%2019.4535C18.4777%2020.7719%2016.8745%2021.7678%2015.0721%2022.3044C14.6807%2022.4209%2014.2681%2022.2029%2014.1437%2021.814C13.8535%2020.906%2013.0024%2020.25%2012%2020.25C10.9976%2020.25%2010.1465%2020.906%209.85629%2021.814C9.73195%2022.2029%209.31927%2022.4209%208.92789%2022.3044C7.12545%2021.7678%205.52229%2020.7719%204.25353%2019.4535C3.98716%2019.1767%203.97299%2018.7434%204.22072%2018.4498C4.55139%2018.0579%204.75%2017.5531%204.75%2017C4.75%2015.7574%203.74264%2014.75%202.5%2014.75C2.42423%2014.75%202.34963%2014.7537%202.27634%2014.7609C1.89406%2014.7985%201.54519%2014.5411%201.46821%2014.1648C1.32505%2013.4649%201.25%2012.7408%201.25%2012C1.25%2010.8776%201.42227%209.79398%201.74236%208.77494C1.84173%208.45859%202.13705%208.24504%202.4686%208.24977L2.5%208.25C3.74264%208.25%204.75%207.24263%204.75%206C4.75%205.6419%204.66689%205.30535%204.51962%205.00666C4.3731%204.70948%204.43894%204.35137%204.68159%204.12574C5.92411%202.9704%207.44153%202.10497%209.12596%201.63869ZM6.08277%204.88991C6.19152%205.24123%206.25%205.61424%206.25%206C6.25%207.88945%204.85261%209.45253%203.03493%209.71213C2.84898%2010.4432%202.75%2011.2096%202.75%2012C2.75%2012.4294%202.77921%2012.8516%202.83567%2013.2648C4.74948%2013.4346%206.25%2015.0421%206.25%2017C6.25%2017.6669%206.0754%2018.2941%205.76971%2018.8372C6.62645%2019.6184%207.63002%2020.2404%208.73362%2020.657C9.37706%2019.5189%2010.598%2018.75%2012%2018.75C13.402%2018.75%2014.6229%2019.5189%2015.2664%2020.657C16.37%2020.2404%2017.3735%2019.6184%2018.2303%2018.8372C17.9246%2018.2941%2017.75%2017.6669%2017.75%2017C17.75%2015.0421%2019.2505%2013.4346%2021.1643%2013.2648C21.2208%2012.8516%2021.25%2012.4294%2021.25%2012C21.25%2011.2096%2021.151%2010.4432%2020.9651%209.71213C19.1474%209.45252%2017.75%207.88945%2017.75%206C17.75%205.61424%2017.8085%205.24123%2017.9172%204.88991C17.0618%204.1771%2016.0762%203.61614%2015.0018%203.24775C14.3184%204.15897%2013.2287%204.75%2012%204.75C10.7713%204.75%209.68158%204.15897%208.99819%203.24775C7.92382%203.61614%206.93823%204.1771%206.08277%204.88991Z'%20fill='%237E7E7E'/%3e%3cpath%20d='M7.75%2012C7.75%209.65278%209.65279%207.75%2012%207.75C14.3472%207.75%2016.25%209.65278%2016.25%2012C16.25%2014.3472%2014.3472%2016.25%2012%2016.25C9.65279%2016.25%207.75%2014.3472%207.75%2012ZM12%209.25C10.4812%209.25%209.25%2010.4812%209.25%2012C9.25%2013.5188%2010.4812%2014.75%2012%2014.75C13.5188%2014.75%2014.75%2013.5188%2014.75%2012C14.75%2010.4812%2013.5188%209.25%2012%209.25Z'%20fill='%237E7E7E'/%3e%3c/svg%3e", te = {}, ee = { class: "btn btn-xs btn-ghost btn-circle mb-1" }, ne = /* @__PURE__ */ E("img", {
1248
1351
  class: "w-5",
1249
- src: Re,
1352
+ src: _t,
1250
1353
  alt: "Icon description"
1251
- }, null, -1), Je = [
1252
- Ge
1354
+ }, null, -1), ie = [
1355
+ ne
1253
1356
  ];
1254
- function Ue(e, t) {
1255
- return b(), y("button", Oe, Je);
1357
+ function oe(t, e) {
1358
+ return x(), I("button", ee, ie);
1256
1359
  }
1257
- const P2 = /* @__PURE__ */ f2(He, [["render", Ue]]), Ye = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.19102%203.19102C3.44571%202.93633%203.85864%202.93633%204.11333%203.19102L12.809%2011.8867C13.0637%2012.1414%2013.0637%2012.5543%2012.809%2012.809C12.5543%2013.0637%2012.1414%2013.0637%2011.8867%2012.809L3.19102%204.11333C2.93633%203.85864%202.93633%203.44571%203.19102%203.19102Z'%20fill='%231A1F2A'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M12.809%203.19102C13.0637%203.44571%2013.0637%203.85864%2012.809%204.11333L4.11333%2012.809C3.85864%2013.0637%203.44571%2013.0637%203.19102%2012.809C2.93633%2012.5543%202.93633%2012.1414%203.19102%2011.8867L11.8867%203.19102C12.1414%202.93633%2012.5543%202.93633%2012.809%203.19102Z'%20fill='%231A1F2A'/%3e%3c/svg%3e", Ke = {}, Ve = { class: "btn btn-xs btn-circle btn-ghost" }, We = /* @__PURE__ */ E("img", {
1360
+ const se = /* @__PURE__ */ h2(te, [["render", oe]]), le = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.19102%203.19102C3.44571%202.93633%203.85864%202.93633%204.11333%203.19102L12.809%2011.8867C13.0637%2012.1414%2013.0637%2012.5543%2012.809%2012.809C12.5543%2013.0637%2012.1414%2013.0637%2011.8867%2012.809L3.19102%204.11333C2.93633%203.85864%202.93633%203.44571%203.19102%203.19102Z'%20fill='%231A1F2A'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M12.809%203.19102C13.0637%203.44571%2013.0637%203.85864%2012.809%204.11333L4.11333%2012.809C3.85864%2013.0637%203.44571%2013.0637%203.19102%2012.809C2.93633%2012.5543%202.93633%2012.1414%203.19102%2011.8867L11.8867%203.19102C12.1414%202.93633%2012.5543%202.93633%2012.809%203.19102Z'%20fill='%231A1F2A'/%3e%3c/svg%3e", ae = {}, re = { class: "btn btn-xs btn-circle btn-ghost" }, ce = /* @__PURE__ */ E("img", {
1258
1361
  class: "w-5",
1259
- src: Ye,
1362
+ src: le,
1260
1363
  alt: "Clear"
1261
- }, null, -1), Ne = [
1262
- We
1364
+ }, null, -1), de = [
1365
+ ce
1263
1366
  ];
1264
- function Ze(e, t) {
1265
- return b(), y("button", Ve, Ne);
1367
+ function ue(t, e) {
1368
+ return x(), I("button", re, de);
1266
1369
  }
1267
- const z2 = /* @__PURE__ */ f2(Ke, [["render", Ze]]), qe = { class: "flex flex-col gap-2" }, je = {
1268
- __name: "Sentences",
1269
- props: {
1270
- sentences: {
1271
- type: String,
1272
- default: ""
1273
- }
1274
- },
1275
- setup(e) {
1276
- const t = e, n = S(() => t.sentences.split(`
1277
- `));
1278
- return (o, s) => (b(), y("div", qe, [
1279
- (b(!0), y(C2, null, t0(n.value, (i, l) => (b(), y("p", {
1280
- key: l,
1281
- class: "text-base text-textCustom leading-tight p-0 mr-2"
1282
- }, p2(i), 1))), 128))
1283
- ]));
1284
- }
1285
- }, Pe = {
1286
- name: "Phonetic",
1287
- props: ["phonetic"]
1288
- }, ze = { class: "p-0 m-0" }, $e = { class: "text-sm font-md text-slate-400" };
1289
- function Xe(e, t, n, o, s, i) {
1290
- return b(), y("p", ze, [
1291
- E("span", $e, "/" + p2(n.phonetic) + "/", 1)
1292
- ]);
1293
- }
1294
- const _e = /* @__PURE__ */ f2(Pe, [["render", Xe]]), et = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3e%3ccircle%20cx='18'%20cy='12'%20r='0'%20fill='currentColor'%3e%3canimate%20attributeName='r'%20begin='.67'%20calcMode='spline'%20dur='1.5s'%20keySplines='0.2%200.2%200.4%200.8;0.2%200.2%200.4%200.8;0.2%200.2%200.4%200.8'%20repeatCount='indefinite'%20values='0;2;0;0'/%3e%3c/circle%3e%3ccircle%20cx='12'%20cy='12'%20r='0'%20fill='currentColor'%3e%3canimate%20attributeName='r'%20begin='.33'%20calcMode='spline'%20dur='1.5s'%20keySplines='0.2%200.2%200.4%200.8;0.2%200.2%200.4%200.8;0.2%200.2%200.4%200.8'%20repeatCount='indefinite'%20values='0;2;0;0'/%3e%3c/circle%3e%3ccircle%20cx='6'%20cy='12'%20r='0'%20fill='currentColor'%3e%3canimate%20attributeName='r'%20begin='0'%20calcMode='spline'%20dur='1.5s'%20keySplines='0.2%200.2%200.4%200.8;0.2%200.2%200.4%200.8;0.2%200.2%200.4%200.8'%20repeatCount='indefinite'%20values='0;2;0;0'/%3e%3c/circle%3e%3c/svg%3e", tt = ["src"], $2 = {
1295
- __name: "Spinning",
1296
- setup(e) {
1297
- return (t, n) => (b(), y("img", {
1298
- src: N(et),
1299
- alt: "Loading",
1300
- class: "w-6 h-6"
1301
- }, null, 8, tt));
1302
- }
1303
- }, nt = { class: "flex flex-col" }, ot = {
1304
- key: 0,
1305
- class: "h-6 relative"
1306
- }, it = {
1307
- class: "bg-white tooltip tooltip-bottom before:!bg-white before:!border before:!border-solid before:!border-gray-200 before:![box-shadow:0px_1px_8px_0px_#3D44514D] before:!rounded-md before:!text-textSecondary before:!top-[90%]",
1308
- "data-tip": "AI Translate"
1309
- }, st = { class: "h-6" }, lt = {
1310
- class: "tooltip tooltip-bottom before:!bg-white before:!border before:!border-solid before:!border-gray-200 before:![box-shadow:0px_1px_8px_0px_#3D44514D] before:!rounded-md before:!text-textSecondary before:!top-[90%]",
1311
- "data-tip": "Favorite"
1312
- }, rt = {
1313
- key: 0,
1314
- class: "h-6 relative"
1315
- }, at = {
1316
- class: "tooltip tooltip-bottom before:!bg-white before:!border before:!border-solid before:!border-gray-200 before:![box-shadow:0px_1px_8px_0px_#3D44514D] before:!rounded-md before:!text-textSecondary before:!top-[90%]",
1317
- "data-tip": "AI Translate"
1318
- }, ct = {
1319
- class: "tooltip tooltip-bottom before:!bg-white before:!border before:!border-solid before:!border-gray-200 before:![box-shadow:0px_1px_8px_0px_#3D44514D] before:!rounded-md before:!text-textSecondary before:!top-[90%]",
1320
- "data-tip": "Favorite"
1321
- }, dt = {
1322
- key: 0,
1323
- class: "flex flex-row pb-2 pl-10"
1324
- }, X2 = {
1370
+ const fe = /* @__PURE__ */ h2(ae, [["render", ue]]), Ae = { class: "flex flex-col" }, ge = { class: "flex p-2 pt-2 pb-1 flex-row justify-between" }, Ce = { class: "justify-start items-center" }, he = { class: "flex items-center gap-1" }, me = /* @__PURE__ */ E("div", { class: "w-5" }, null, -1), we = { class: "justify-end items-center" }, N2 = {
1325
1371
  __name: "Header",
1326
1372
  props: {
1327
1373
  tts: String,
1328
- sentences: String,
1329
- phonetic: String,
1330
- isLongSentence: Boolean,
1331
1374
  isServiceUnavailable: Boolean,
1332
1375
  isFavorite: Boolean,
1333
1376
  isFavoriteFeatureEnabled: Boolean,
1334
1377
  isAITranslate: Boolean,
1335
- isAITranslationLoading: Boolean
1378
+ isAIExplain: Boolean,
1379
+ isAITranslationLoading: Boolean,
1380
+ isAIExplainLoading: Boolean
1336
1381
  },
1337
- emits: ["favorite", "setting", "close", "loadTTS", "aiTranslate"],
1338
- setup(e, { emit: t }) {
1339
- const n = e, o = t;
1340
- return (s, i) => (b(), y("div", nt, [
1341
- E("div", {
1342
- class: O(["flex p-2 pt-2 pb-1", {
1343
- "flex-row-reverse": n.isLongSentence,
1344
- "flex-row justify-between": !n.isLongSentence
1345
- }])
1346
- }, [
1347
- E("div", {
1348
- class: O(["flex flex-row gap-2", { "order-2": n.isLongSentence, "items-center": !n.isLongSentence }])
1349
- }, [
1350
- e.isLongSentence ? D("", !0) : (b(), W(Z2, {
1351
- key: 0,
1352
- disabled: e.isAITranslationLoading,
1382
+ emits: ["favorite", "setting", "close", "loadTTS", "aiTranslate", "aiExplain"],
1383
+ setup(t, { emit: e }) {
1384
+ const n = t, i = e;
1385
+ return (o, s) => (x(), I("div", Ae, [
1386
+ E("div", ge, [
1387
+ E("div", Ce, [
1388
+ J(kt, {
1389
+ disabled: t.isAITranslationLoading || t.isAIExplainLoading,
1353
1390
  tts: n.tts,
1354
- onLoadTTS: i[0] || (i[0] = (l) => s.$emit("loadTTS"))
1355
- }, null, 8, ["disabled", "tts"])),
1356
- M(je, {
1357
- sentences: e.isServiceUnavailable ? "Service Unavailable" : n.sentences
1358
- }, null, 8, ["sentences"])
1359
- ], 2),
1360
- E("div", {
1361
- class: O(["flex gap-1", {
1362
- "flex-col items-end": n.isLongSentence,
1363
- "flex-row justify-right items-center ml-2": !n.isLongSentence
1364
- }])
1365
- }, [
1366
- n.isLongSentence ? (b(), y(C2, { key: 0 }, [
1367
- M(z2, {
1368
- onClick: i[1] || (i[1] = (l) => o("close"))
1369
- }),
1370
- M(Z2, {
1371
- disabled: e.isAITranslationLoading,
1372
- tts: n.tts,
1373
- onLoadTTS: i[2] || (i[2] = (l) => s.$emit("loadTTS"))
1374
- }, null, 8, ["disabled", "tts"]),
1375
- e.isLongSentence ? (b(), y("div", ot, [
1376
- e.isAITranslationLoading ? (b(), W($2, {
1377
- key: 0,
1378
- class: "inset-0 flex items-center justify-center"
1379
- })) : D("", !0),
1380
- E("div", it, [
1381
- G2(M(j2, {
1382
- isFilled: e.isAITranslate,
1383
- onClick: i[3] || (i[3] = (l) => o("aiTranslate"))
1384
- }, null, 8, ["isFilled"]), [
1385
- [J2, !e.isAITranslationLoading]
1386
- ])
1387
- ])
1388
- ])) : D("", !0),
1389
- E("div", st, [
1390
- E("div", lt, [
1391
- !e.isServiceUnavailable && n.isFavoriteFeatureEnabled ? (b(), W(q2, {
1392
- key: 0,
1393
- isFilled: n.isFavorite,
1394
- onClick: i[4] || (i[4] = (l) => o("favorite")),
1395
- disabled: e.isAITranslationLoading
1396
- }, null, 8, ["isFilled", "disabled"])) : D("", !0)
1397
- ])
1398
- ]),
1399
- M(P2, {
1400
- onClick: i[5] || (i[5] = (l) => o("setting"))
1401
- })
1402
- ], 64)) : (b(), y(C2, { key: 1 }, [
1403
- e.isLongSentence ? (b(), y("div", rt, [
1404
- e.isAITranslationLoading ? (b(), W($2, {
1405
- key: 0,
1406
- class: "inset-0 flex items-center justify-center"
1407
- })) : D("", !0),
1408
- E("div", at, [
1409
- G2(M(j2, {
1410
- isFilled: e.isAITranslate,
1411
- onClick: i[6] || (i[6] = (l) => o("aiTranslate"))
1412
- }, null, 8, ["isFilled"]), [
1413
- [J2, !e.isAITranslationLoading]
1414
- ])
1415
- ])
1416
- ])) : D("", !0),
1417
- E("div", ct, [
1418
- !e.isServiceUnavailable && n.isFavoriteFeatureEnabled ? (b(), W(q2, {
1419
- key: 0,
1420
- isFilled: n.isFavorite,
1421
- onClick: i[7] || (i[7] = (l) => o("favorite")),
1422
- disabled: e.isAITranslationLoading
1423
- }, null, 8, ["isFilled", "disabled"])) : D("", !0)
1424
- ]),
1425
- M(P2, {
1426
- onClick: i[8] || (i[8] = (l) => o("setting"))
1427
- }),
1428
- M(z2, {
1429
- onClick: i[9] || (i[9] = (l) => o("close"))
1430
- })
1431
- ], 64))
1432
- ], 2)
1433
- ], 2),
1434
- n.isLongSentence ? D("", !0) : (b(), y("div", dt, [
1435
- n.phonetic ? (b(), W(_e, {
1436
- key: 0,
1437
- phonetic: n.phonetic
1438
- }, null, 8, ["phonetic"])) : D("", !0)
1439
- ]))
1391
+ onLoadTTS: s[0] || (s[0] = (l) => o.$emit("loadTTS"))
1392
+ }, null, 8, ["disabled", "tts"])
1393
+ ]),
1394
+ E("div", he, [
1395
+ me,
1396
+ J(Zt, {
1397
+ isLoading: t.isAITranslationLoading,
1398
+ isFilled: t.isAITranslate,
1399
+ onClick: s[1] || (s[1] = (l) => i("aiTranslate"))
1400
+ }, null, 8, ["isLoading", "isFilled"]),
1401
+ J(Xt, {
1402
+ isLoading: t.isAIExplainLoading,
1403
+ isFilled: t.isAIExplain,
1404
+ onClick: s[2] || (s[2] = (l) => i("aiExplain"))
1405
+ }, null, 8, ["isLoading", "isFilled"]),
1406
+ !t.isServiceUnavailable && n.isFavoriteFeatureEnabled ? (x(), j(Gt, {
1407
+ key: 0,
1408
+ isFilled: n.isFavorite,
1409
+ onClick: s[3] || (s[3] = (l) => i("favorite")),
1410
+ disabled: t.isAITranslationLoading || t.isAIExplainLoading
1411
+ }, null, 8, ["isFilled", "disabled"])) : _("", !0)
1412
+ ]),
1413
+ E("div", we, [
1414
+ J(se, {
1415
+ onClick: s[4] || (s[4] = (l) => i("setting"))
1416
+ }),
1417
+ J(fe, {
1418
+ onClick: s[5] || (s[5] = (l) => i("close"))
1419
+ })
1420
+ ])
1421
+ ])
1440
1422
  ]));
1441
1423
  }
1442
- }, r2 = {
1424
+ }, a2 = {
1443
1425
  LOGO: "LOGO",
1444
1426
  LOADING: "LOADING",
1445
1427
  DATA: "DATA",
1446
1428
  ERROR: "ERROR",
1447
1429
  HIDDEN: "HIDDEN"
1448
- }, ft = ["ar", "fa", "iw", "yi", "ur", "pa"], ut = {
1430
+ }, pe = ["ar", "fa", "iw", "yi", "ur", "pa"], ve = {
1449
1431
  key: 0,
1450
1432
  class: "flex justify-center"
1451
- }, At = {
1433
+ }, xe = {
1452
1434
  key: 1,
1453
1435
  class: "flex justify-center"
1454
- }, gt = {
1455
- key: 2,
1456
- class: "wrapper shadow-custom rounded-lg text-slate-900 bg-white text-sm border border-solid border-neutral-300"
1457
- }, Ct = {
1436
+ }, be = {
1437
+ class: /* @__PURE__ */ k(["bg-white rounded-md relative z-10"])
1438
+ }, Be = { class: "p-3 border-t border-[#D3D4D9]" }, Ie = {
1458
1439
  name: "Bubble",
1459
1440
  props: [
1460
1441
  "translation",
1442
+ "explanation",
1461
1443
  "tts",
1462
1444
  "status",
1463
1445
  "isFavorite",
1464
1446
  "isFavoriteFeatureEnabled",
1465
- "isAITranslate"
1447
+ "isAITranslate",
1448
+ "isAIExplain"
1466
1449
  ],
1467
- emits: ["logo", "favorite", "settings", "close", "loadTTS", "aiTranslate"],
1450
+ emits: ["logo", "favorite", "settings", "close", "loadTTS", "aiTranslate", "aiExplain"],
1468
1451
  data() {
1469
1452
  return {
1470
1453
  data: null,
1471
1454
  isLongSentence: !1,
1472
1455
  isServiceUnavailable: !1,
1473
- isAITranslationLoading: !1
1456
+ isAITranslationLoading: !1,
1457
+ isAIExplainLoading: !1
1474
1458
  };
1475
1459
  },
1476
1460
  methods: {
1477
1461
  handleAITranslate() {
1478
1462
  this.isAITranslationLoading = !0, this.$emit("aiTranslate");
1463
+ },
1464
+ handleAIExplain() {
1465
+ this.isAIExplainLoading = !0, this.$emit("aiExplain");
1479
1466
  }
1480
1467
  },
1481
1468
  watch: {
1482
1469
  translation: {
1483
1470
  handler() {
1484
- var e, t, n, o;
1471
+ var t, e, n, i;
1485
1472
  try {
1486
- this.data = this.translation, this.isLongSentence = !((t = (e = this.data) == null ? void 0 : e.phonetic) != null && t.src || ((o = (n = this.data) == null ? void 0 : n.dictionary) == null ? void 0 : o.length) > 0), this.isServiceUnavailable = !1;
1473
+ this.data = this.translation, this.isLongSentence = !((e = (t = this.data) == null ? void 0 : t.phonetic) != null && e.src || ((i = (n = this.data) == null ? void 0 : n.dictionary) == null ? void 0 : i.length) > 0), this.isServiceUnavailable = !1;
1487
1474
  } catch {
1488
1475
  this.isServiceUnavailable = !0;
1489
1476
  } finally {
1490
- this.isAITranslationLoading = !1;
1477
+ this.isAITranslationLoading = !1, this.isAIExplainLoading = !1;
1491
1478
  }
1492
1479
  },
1493
1480
  immediate: !0
1494
1481
  },
1482
+ explanation: {
1483
+ handler() {
1484
+ this.isAIExplainLoading = !1;
1485
+ },
1486
+ immediate: !0
1487
+ },
1495
1488
  status() {
1496
- this.status === r2.ERROR && (this.isServiceUnavailable = !0);
1489
+ this.status === a2.ERROR && (this.isServiceUnavailable = !0);
1497
1490
  }
1498
1491
  }
1499
- }, ht = /* @__PURE__ */ Object.assign(Ct, {
1500
- setup(e) {
1501
- return (t, n) => e.status === N(r2).LOGO ? (b(), y("div", ut, [
1502
- M(fe, {
1503
- onClick: n[0] || (n[0] = (o) => t.$emit("logo"))
1504
- })
1505
- ])) : e.status === N(r2).LOADING ? (b(), y("div", At, [
1506
- M(pe)
1507
- ])) : e.status !== N(r2).HIDDEN ? (b(), y("div", gt, [
1508
- t.isServiceUnavailable ? (b(), W(X2, {
1509
- key: 0,
1510
- isServiceUnavailable: t.isServiceUnavailable,
1511
- isLongSentence: !1,
1512
- onFavorite: n[1] || (n[1] = (o) => t.$emit("favorite")),
1513
- onSetting: n[2] || (n[2] = (o) => t.$emit("settings")),
1514
- onClose: n[3] || (n[3] = (o) => t.$emit("close")),
1515
- onLoadTTS: n[4] || (n[4] = (o) => t.$emit("loadTTS"))
1516
- }, null, 8, ["isServiceUnavailable"])) : (b(), W(X2, {
1517
- key: 1,
1518
- tts: e.tts,
1519
- sentences: t.data.result,
1520
- phonetic: t.data.phonetic.src,
1521
- isFavorite: e.isFavorite,
1522
- isAITranslate: e.isAITranslate,
1523
- isAITranslationLoading: t.isAITranslationLoading,
1524
- isFavoriteFeatureEnabled: e.isFavoriteFeatureEnabled,
1525
- isLongSentence: t.isLongSentence,
1526
- onFavorite: n[5] || (n[5] = (o) => t.$emit("favorite")),
1527
- onSetting: n[6] || (n[6] = (o) => t.$emit("settings")),
1528
- onClose: n[7] || (n[7] = (o) => t.$emit("close")),
1529
- onLoadTTS: n[8] || (n[8] = (o) => t.$emit("loadTTS")),
1530
- onAiTranslate: t.handleAITranslate
1531
- }, null, 8, ["tts", "sentences", "phonetic", "isFavorite", "isAITranslate", "isAITranslationLoading", "isFavoriteFeatureEnabled", "isLongSentence", "onAiTranslate"])),
1532
- !t.isServiceUnavailable && t.data.dictionary.length > 0 ? (b(), W(xe, {
1492
+ }, ye = /* @__PURE__ */ Object.assign(Ie, {
1493
+ setup(t) {
1494
+ return (e, n) => {
1495
+ var i, o, s, l, r, a, c;
1496
+ return t.status === H(a2).LOGO ? (x(), I("div", ve, [
1497
+ J(ot, {
1498
+ onClick: n[0] || (n[0] = (d) => e.$emit("logo"))
1499
+ })
1500
+ ])) : t.status === H(a2).LOADING ? (x(), I("div", xe, [
1501
+ J(ft)
1502
+ ])) : t.status !== H(a2).HIDDEN ? (x(), I("div", {
1533
1503
  key: 2,
1534
- class: "p-3 pt-0 border-t border-[#D3D4D9]",
1535
- dictionary: t.data.dictionary
1536
- }, null, 8, ["dictionary"])) : D("", !0)
1537
- ])) : D("", !0);
1504
+ class: k([
1505
+ "wrapper rounded-lg text-slate-900 text-sm shadow-lg relative transition-all duration-300 ease-in-out bg-[length:300%_300%] bg-[position:0%_50%]",
1506
+ {
1507
+ "p-0.5 bg-gradient-to-br from-[#8556f0] via-[#d6b379] via-[#6bedd1] to-[#439beb] animate-moveGradient": t.isAITranslate || t.isAIExplain,
1508
+ "p-0.5 bg-gray-100": !t.isAITranslate && !t.isAIExplain
1509
+ }
1510
+ ])
1511
+ }, [
1512
+ E("div", be, [
1513
+ e.isServiceUnavailable ? (x(), j(N2, {
1514
+ key: 0,
1515
+ isServiceUnavailable: e.isServiceUnavailable,
1516
+ isLongSentence: !1,
1517
+ onFavorite: n[1] || (n[1] = (d) => e.$emit("favorite")),
1518
+ onSetting: n[2] || (n[2] = (d) => e.$emit("settings")),
1519
+ onClose: n[3] || (n[3] = (d) => e.$emit("close")),
1520
+ onLoadTTS: n[4] || (n[4] = (d) => e.$emit("loadTTS"))
1521
+ }, null, 8, ["isServiceUnavailable"])) : (x(), j(N2, {
1522
+ key: 1,
1523
+ tts: t.tts,
1524
+ isFavorite: t.isFavorite,
1525
+ isAITranslate: t.isAITranslate,
1526
+ isAIExplain: t.isAIExplain,
1527
+ isAITranslationLoading: e.isAITranslationLoading,
1528
+ isAIExplainLoading: e.isAIExplainLoading,
1529
+ isFavoriteFeatureEnabled: t.isFavoriteFeatureEnabled,
1530
+ isLongSentence: e.isLongSentence,
1531
+ onFavorite: n[5] || (n[5] = (d) => e.$emit("favorite")),
1532
+ onSetting: n[6] || (n[6] = (d) => e.$emit("settings")),
1533
+ onClose: n[7] || (n[7] = (d) => e.$emit("close")),
1534
+ onLoadTTS: n[8] || (n[8] = (d) => e.$emit("loadTTS")),
1535
+ onAiTranslate: e.handleAITranslate,
1536
+ onAiExplain: e.handleAIExplain
1537
+ }, null, 8, ["tts", "isFavorite", "isAITranslate", "isAIExplain", "isAITranslationLoading", "isAIExplainLoading", "isFavoriteFeatureEnabled", "isLongSentence", "onAiTranslate", "onAiExplain"])),
1538
+ E("div", Be, [
1539
+ (o = (i = e.data) == null ? void 0 : i.phonetic) != null && o.src ? (x(), j(mt, {
1540
+ key: 0,
1541
+ phonetic: (l = (s = e.data) == null ? void 0 : s.phonetic) == null ? void 0 : l.src
1542
+ }, null, 8, ["phonetic"])) : _("", !0),
1543
+ J(pt, {
1544
+ sentences: e.isServiceUnavailable ? "Service Unavailable" : (r = e.data) == null ? void 0 : r.result
1545
+ }, null, 8, ["sentences"])
1546
+ ]),
1547
+ !e.isServiceUnavailable && ((c = (a = e.data) == null ? void 0 : a.dictionary) == null ? void 0 : c.length) > 0 ? (x(), j(bt, {
1548
+ key: 2,
1549
+ class: "p-3 pt-0 border-t border-[#D3D4D9]",
1550
+ dictionary: e.data.dictionary
1551
+ }, null, 8, ["dictionary"])) : _("", !0),
1552
+ !e.isServiceUnavailable && t.isAIExplain && t.explanation ? (x(), j(Lt, {
1553
+ key: 3,
1554
+ class: "p-3 pt-0 border-t border-[#D3D4D9]",
1555
+ explanation: t.explanation
1556
+ }, null, 8, ["explanation"])) : _("", !0)
1557
+ ])
1558
+ ], 2)) : _("", !0);
1559
+ };
1538
1560
  }
1539
- }), mt = /* @__PURE__ */ f2(ht, [["__scopeId", "data-v-7668ce3f"]]);
1540
- function wt(e) {
1541
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1561
+ });
1562
+ function Ee(t) {
1563
+ return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
1542
1564
  }
1543
- var u0 = { exports: {} };
1544
- (function(e) {
1565
+ var s0 = { exports: {} };
1566
+ (function(t) {
1545
1567
  (function() {
1546
- var t = [
1568
+ var e = [
1547
1569
  "direction",
1548
1570
  // RTL support
1549
1571
  "boxSizing",
@@ -1580,121 +1602,123 @@ var u0 = { exports: {} };
1580
1602
  "wordSpacing",
1581
1603
  "tabSize",
1582
1604
  "MozTabSize"
1583
- ], n = typeof window < "u", o = n && window.mozInnerScreenX != null;
1584
- function s(i, l, a) {
1605
+ ], n = typeof window < "u", i = n && window.mozInnerScreenX != null;
1606
+ function o(s, l, r) {
1585
1607
  if (!n)
1586
1608
  throw new Error("textarea-caret-position#getCaretCoordinates should only be called in a browser");
1587
- var r = a && a.debug || !1;
1588
- if (r) {
1609
+ var a = r && r.debug || !1;
1610
+ if (a) {
1589
1611
  var c = document.querySelector("#input-textarea-caret-position-mirror-div");
1590
1612
  c && c.parentNode.removeChild(c);
1591
1613
  }
1592
1614
  var d = document.createElement("div");
1593
1615
  d.id = "input-textarea-caret-position-mirror-div", document.body.appendChild(d);
1594
- var f = d.style, g = window.getComputedStyle ? window.getComputedStyle(i) : i.currentStyle, u = i.nodeName === "INPUT";
1595
- f.whiteSpace = "pre-wrap", u || (f.wordWrap = "break-word"), f.position = "absolute", r || (f.visibility = "hidden"), t.forEach(function(w) {
1596
- u && w === "lineHeight" ? f.lineHeight = g.height : f[w] = g[w];
1597
- }), o ? i.scrollHeight > parseInt(g.height) && (f.overflowY = "scroll") : f.overflow = "hidden", d.textContent = i.value.substring(0, l), u && (d.textContent = d.textContent.replace(/\s/g, " "));
1616
+ var u = d.style, g = window.getComputedStyle ? window.getComputedStyle(s) : s.currentStyle, f = s.nodeName === "INPUT";
1617
+ u.whiteSpace = "pre-wrap", f || (u.wordWrap = "break-word"), u.position = "absolute", a || (u.visibility = "hidden"), e.forEach(function(w) {
1618
+ f && w === "lineHeight" ? u.lineHeight = g.height : u[w] = g[w];
1619
+ }), i ? s.scrollHeight > parseInt(g.height) && (u.overflowY = "scroll") : u.overflow = "hidden", d.textContent = s.value.substring(0, l), f && (d.textContent = d.textContent.replace(/\s/g, " "));
1598
1620
  var C = document.createElement("span");
1599
- C.textContent = i.value.substring(l) || ".", d.appendChild(C);
1621
+ C.textContent = s.value.substring(l) || ".", d.appendChild(C);
1600
1622
  var m = {
1601
1623
  top: C.offsetTop + parseInt(g.borderTopWidth),
1602
1624
  left: C.offsetLeft + parseInt(g.borderLeftWidth),
1603
1625
  height: parseInt(g.lineHeight)
1604
1626
  };
1605
- return r ? C.style.backgroundColor = "#aaa" : document.body.removeChild(d), m;
1627
+ return a ? C.style.backgroundColor = "#aaa" : document.body.removeChild(d), m;
1606
1628
  }
1607
- e.exports = s;
1629
+ t.exports = o;
1608
1630
  })();
1609
- })(u0);
1610
- var pt = u0.exports;
1611
- const _2 = /* @__PURE__ */ wt(pt);
1612
- function A2(e) {
1613
- const t = window.getSelection();
1614
- let n = t + "";
1615
- if (n = n.trim(), e && e.type === "password" || !n.length && (!(e && e.selectionEnd) || (n = e.value.substring(e.selectionStart, e.selectionEnd), n = n.trim(), !n.length)))
1631
+ })(s0);
1632
+ var Le = s0.exports;
1633
+ const Z2 = /* @__PURE__ */ Ee(Le);
1634
+ function f2(t) {
1635
+ const e = window.getSelection();
1636
+ let n = e + "";
1637
+ if (n = n.trim(), t && t.type === "password" || !n.length && (!(t && t.selectionEnd) || (n = t.value.substring(t.selectionStart, t.selectionEnd), n = n.trim(), !n.length)))
1616
1638
  return !1;
1617
- let s = t.getRangeAt(0).getBoundingClientRect(), { top: i, bottom: l, left: a, width: r, height: c } = s;
1618
- if (!l && !a) {
1619
- if (!e.selectionEnd)
1639
+ let o = e.getRangeAt(0).getBoundingClientRect(), { top: s, bottom: l, left: r, width: a, height: c } = o;
1640
+ if (!l && !r) {
1641
+ if (!t.selectionEnd)
1620
1642
  return !1;
1621
- let d = _2(e, e.selectionStart), f = _2(e, e.selectionEnd);
1622
- s = e.getBoundingClientRect(), a = s.left + d.left, r = f.left - d.left, d.top != f.top && (a = s.left, r = s.width), i = s.top + d.top, l = s.top + f.top + 20;
1643
+ let d = Z2(t, t.selectionStart), u = Z2(t, t.selectionEnd);
1644
+ o = t.getBoundingClientRect(), r = o.left + d.left, a = u.left - d.left, d.top != u.top && (r = o.left, a = o.width), s = o.top + d.top, l = o.top + u.top + 20;
1623
1645
  }
1624
- return c === 0 && (c = l - i), {
1646
+ return c === 0 && (c = l - s), {
1625
1647
  text: n,
1626
1648
  // position
1627
- x: a,
1628
- y: i,
1629
- top: i,
1649
+ x: r,
1650
+ y: s,
1651
+ top: s,
1630
1652
  bottom: l,
1631
- left: a,
1632
- right: a + r,
1633
- width: r,
1653
+ left: r,
1654
+ right: r + a,
1655
+ width: a,
1634
1656
  height: c
1635
1657
  };
1636
1658
  }
1637
- function vt() {
1638
- const e = document.getElementsByTagName("ddict-div");
1639
- for (let t of e)
1640
- if (!t.parentNode.matches('wrapper[dir="rtl"]')) {
1659
+ function Qe() {
1660
+ const t = document.getElementsByTagName("ddict-div");
1661
+ for (let e of t)
1662
+ if (!e.parentNode.matches('wrapper[dir="rtl"]')) {
1641
1663
  const n = document.createElement("wrapper");
1642
- n.setAttribute("dir", "rtl"), t.parentNode.insertBefore(n, t), n.appendChild(t);
1664
+ n.setAttribute("dir", "rtl"), e.parentNode.insertBefore(n, e), n.appendChild(e);
1643
1665
  }
1644
1666
  }
1645
- function bt() {
1646
- const e = document.querySelectorAll('wrapper[dir="rtl"]');
1647
- for (let t of e) {
1648
- const n = t.querySelector("ddict-div");
1649
- n && (t.parentNode.insertBefore(n, t), t.remove());
1667
+ function Fe() {
1668
+ const t = document.querySelectorAll('wrapper[dir="rtl"]');
1669
+ for (let e of t) {
1670
+ const n = e.querySelector("ddict-div");
1671
+ n && (e.parentNode.insertBefore(n, e), e.remove());
1650
1672
  }
1651
1673
  }
1652
- const e0 = {
1653
- supportRTL: vt,
1654
- removeRTL: bt
1655
- }, xt = {
1674
+ const q2 = {
1675
+ supportRTL: Qe,
1676
+ removeRTL: Fe
1677
+ }, Se = {
1656
1678
  __name: "HotKeysListener",
1657
1679
  props: {
1658
1680
  textSelected: String
1659
1681
  },
1660
1682
  emits: ["toggleKey", "close"],
1661
- setup(e, { emit: t }) {
1662
- const n = e, o = t, s = () => {
1683
+ setup(t, { emit: e }) {
1684
+ const n = t, i = e, o = () => {
1663
1685
  setTimeout(() => {
1664
- n.textSelected && a("DoubleClick");
1686
+ n.textSelected && r("DoubleClick");
1665
1687
  }, 50);
1666
- }, i = (r) => {
1667
- (r.altKey && r.key.toLowerCase() === "w" || r.key === "∑") && n.textSelected && (a("Alt+W"), r.preventDefault()), r.key === "Escape" && (a("Escape"), r.preventDefault());
1668
- }, l = (r) => {
1669
- r.key === "Shift" && n.textSelected && a("Shift");
1670
- }, a = (r) => {
1671
- switch (r) {
1688
+ }, s = (a) => {
1689
+ (a.altKey && a.key.toLowerCase() === "w" || a.key === "∑") && n.textSelected && (r("Alt+W"), a.preventDefault()), a.key === "Escape" && (r("Escape"), a.preventDefault());
1690
+ }, l = (a) => {
1691
+ a.key === "Shift" && n.textSelected && r("Shift");
1692
+ }, r = (a) => {
1693
+ switch (a) {
1672
1694
  case "DoubleClick":
1673
- o("toggleKey", "DoubleClick");
1695
+ i("toggleKey", "DoubleClick");
1674
1696
  break;
1675
1697
  case "Shift":
1676
- o("toggleKey", "Shift");
1698
+ i("toggleKey", "Shift");
1677
1699
  break;
1678
1700
  case "Alt+W":
1679
- o("toggleKey", "Alt+W");
1701
+ i("toggleKey", "Alt+W");
1680
1702
  break;
1681
1703
  case "Escape":
1682
- o("close");
1704
+ i("close");
1683
1705
  break;
1684
1706
  }
1685
1707
  };
1686
- return n0(() => {
1687
- window.addEventListener("dblclick", s), window.addEventListener("keydown", i), window.addEventListener("keyup", l);
1688
- }), F2(() => {
1689
- window.removeEventListener("dblclick", s), window.removeEventListener("keydown", i), window.removeEventListener("keyup", l);
1690
- }), (r, c) => (b(), y("div"));
1708
+ return j2(() => {
1709
+ window.addEventListener("dblclick", o), window.addEventListener("keydown", s), window.addEventListener("keyup", l);
1710
+ }), M2(() => {
1711
+ window.removeEventListener("dblclick", o), window.removeEventListener("keydown", s), window.removeEventListener("keyup", l);
1712
+ }), (a, c) => (x(), I("div"));
1691
1713
  }
1692
- }, yt = {
1714
+ }, ke = {
1693
1715
  __name: "BubbleWrapper",
1694
1716
  props: {
1695
1717
  translation: Object,
1718
+ explanation: Object,
1696
1719
  isFavoriteFeatureEnabled: Boolean,
1697
1720
  isAITranslate: Boolean,
1721
+ isAIExplain: Boolean,
1698
1722
  isFavorite: Boolean,
1699
1723
  tts: String,
1700
1724
  status: String,
@@ -1710,32 +1734,33 @@ const e0 = {
1710
1734
  "settings",
1711
1735
  "close",
1712
1736
  "loadTTS",
1713
- "aiTranslate"
1737
+ "aiTranslate",
1738
+ "aiExplain"
1714
1739
  ],
1715
- setup(e, { emit: t }) {
1716
- const n = e, o = t, s = H(null), i = H(null), l = H(null), a = H(!1), r = H(""), c = S(() => typeof window > "u" || !l.value || !r.value ? null : {
1717
- getBoundingClientRect: () => A2(l.value),
1718
- getClientRects: () => A2(l.value)
1719
- }), d = S(() => {
1720
- if (!u.value.arrow || n.status === r2.LOGO)
1740
+ setup(t, { emit: e }) {
1741
+ const n = t, i = e, o = T(null), s = T(null), l = T(null), r = T(!1), a = T(""), c = Q(() => typeof window > "u" || !l.value || !a.value ? null : {
1742
+ getBoundingClientRect: () => f2(l.value),
1743
+ getClientRects: () => f2(l.value)
1744
+ }), d = Q(() => {
1745
+ if (!f.value.arrow || n.status !== a2.DATA)
1721
1746
  return {
1722
1747
  display: "none"
1723
1748
  };
1724
- const { x: h, y: A } = u.value.arrow, I = {
1749
+ const { x: h, y: A } = f.value.arrow, y = {
1725
1750
  top: "bottom",
1726
1751
  right: "left",
1727
1752
  bottom: "top",
1728
1753
  left: "right"
1729
- }[u.value.offset.placement];
1754
+ }[f.value.offset.placement.split("-")[0]];
1730
1755
  return {
1731
1756
  left: h != null ? `${h}px` : "",
1732
1757
  top: A != null ? `${A}px` : "",
1733
- [I]: "-8px",
1758
+ [y]: "-8px",
1734
1759
  position: "absolute"
1735
1760
  };
1736
- }), f = S(() => {
1761
+ }), u = Q(() => {
1737
1762
  var A;
1738
- switch ((A = u.value.offset) == null ? void 0 : A.placement) {
1763
+ switch ((A = f.value.offset) == null ? void 0 : A.placement.split("-")[0]) {
1739
1764
  case "top":
1740
1765
  return { transform: "rotate(180deg)" };
1741
1766
  case "left":
@@ -1745,14 +1770,14 @@ const e0 = {
1745
1770
  default:
1746
1771
  return {};
1747
1772
  }
1748
- }), { floatingStyles: g, middlewareData: u, update: C } = le(c, s, {
1749
- placement: "bottom",
1773
+ }), { floatingStyles: g, middlewareData: f, update: C } = _0(c, o, {
1774
+ placement: "bottom-end",
1750
1775
  middleware: [
1751
- X0(4),
1752
- ee(),
1753
- _0(),
1754
- se({ element: i }),
1755
- te({
1776
+ N0(8),
1777
+ q0(),
1778
+ Z0(),
1779
+ X0({ element: s }),
1780
+ j0({
1756
1781
  apply({ rects: h, elements: A }) {
1757
1782
  Object.assign(A.floating.style, {
1758
1783
  maxWidth: `${h.reference.width > 250 ? h.reference.width / n.scale : 250}px`,
@@ -1761,12 +1786,12 @@ const e0 = {
1761
1786
  }
1762
1787
  })
1763
1788
  ],
1764
- whileElementsMounted(h, A, I) {
1765
- return $0(h, A, I, {
1789
+ whileElementsMounted(h, A, y) {
1790
+ return W0(h, A, y, {
1766
1791
  ancestorScroll: !0
1767
1792
  });
1768
1793
  }
1769
- }), m = S(() => {
1794
+ }), m = Q(() => {
1770
1795
  if (n.scale === 1) return g.value;
1771
1796
  const h = g.value.transform;
1772
1797
  return {
@@ -1774,90 +1799,93 @@ const e0 = {
1774
1799
  transform: `${h} scale(${n.scale})`
1775
1800
  };
1776
1801
  });
1777
- n0(() => {
1802
+ j2(() => {
1778
1803
  document.addEventListener("keyup", (h) => {
1779
- if (!A2(h.target)) {
1780
- r.value = "", v();
1804
+ if (!f2(h.target)) {
1805
+ a.value = "", v();
1781
1806
  return;
1782
1807
  }
1783
1808
  }), document.documentElement.onclick = (h) => {
1784
- const A = A2(h.target);
1809
+ const A = f2(h.target);
1785
1810
  if (!A) {
1786
- r.value = "", v();
1811
+ a.value = "", v();
1787
1812
  return;
1788
1813
  }
1789
1814
  w(A, h);
1790
1815
  }, document.documentElement.ontouchend = (h) => {
1791
- const A = A2(h.target);
1816
+ const A = f2(h.target);
1792
1817
  if (!A) {
1793
- r.value = "", v();
1818
+ a.value = "", v();
1794
1819
  return;
1795
1820
  }
1796
1821
  w(A, h);
1797
1822
  };
1798
- }), F2(() => {
1823
+ }), M2(() => {
1799
1824
  document.documentElement.onclick = null, document.documentElement.ontouchend = null;
1800
1825
  });
1801
1826
  const w = (h, A) => {
1802
- n.status !== r2.LOGO && o("close"), l.value = A.target, r.value = h.text, a.value = !0, U2(C);
1827
+ n.status !== a2.LOGO && i("close"), l.value = A.target, a.value = h.text, r.value = !0, J2(C);
1803
1828
  }, p = (h) => {
1804
1829
  h.stopPropagation();
1805
1830
  }, v = async () => {
1806
- a.value = !1, o("close");
1807
- }, x = () => {
1831
+ r.value = !1, i("close");
1832
+ }, b = () => {
1808
1833
  var A;
1809
1834
  const h = (A = n == null ? void 0 : n.translation) == null ? void 0 : A.target;
1810
- ft.includes(h) ? e0.supportRTL() : e0.removeRTL();
1835
+ pe.includes(h) ? q2.supportRTL() : q2.removeRTL();
1811
1836
  };
1812
- return g2(
1837
+ return A2(
1813
1838
  () => n.status,
1814
1839
  () => {
1815
- a.value && U2(C), x();
1840
+ r.value && J2(C), b();
1816
1841
  }
1817
- ), (h, A) => (b(), y(C2, null, [
1818
- a.value ? (b(), y("div", {
1842
+ ), (h, A) => (x(), I(b2, null, [
1843
+ r.value ? (x(), I("div", {
1819
1844
  key: 0,
1820
1845
  ref_key: "floatingEl",
1821
- ref: s,
1822
- style: I2(m.value),
1846
+ ref: o,
1847
+ style: y2(m.value),
1823
1848
  onClick: p
1824
1849
  }, [
1825
1850
  E("div", {
1826
1851
  ref_key: "arrowEl",
1827
- ref: i,
1828
- style: I2(d.value),
1829
- class: "absolute transform z-10"
1852
+ ref: s,
1853
+ style: y2(d.value),
1854
+ class: "absolute transform"
1830
1855
  }, [
1831
1856
  E("img", {
1832
- style: I2(f.value),
1857
+ style: y2(u.value),
1833
1858
  class: "w-5",
1834
- src: p0,
1859
+ src: f0,
1835
1860
  alt: "arrow"
1836
1861
  }, null, 4)
1837
1862
  ], 4),
1838
- M(mt, {
1863
+ J(ye, {
1839
1864
  translation: n.translation,
1865
+ explanation: n.explanation,
1840
1866
  tts: n.tts,
1841
1867
  status: n.status,
1842
1868
  isFavorite: n.isFavorite,
1843
1869
  isFavoriteFeatureEnabled: n.isFavoriteFeatureEnabled,
1844
1870
  isAITranslate: n.isAITranslate,
1845
- onLogo: A[0] || (A[0] = (I) => o("logo")),
1846
- onFavorite: A[1] || (A[1] = (I) => o("favorite")),
1847
- onSettings: A[2] || (A[2] = (I) => o("settings")),
1871
+ isAIExplain: n.isAIExplain,
1872
+ onLogo: A[0] || (A[0] = (y) => i("logo")),
1873
+ onFavorite: A[1] || (A[1] = (y) => i("favorite")),
1874
+ onSettings: A[2] || (A[2] = (y) => i("settings")),
1848
1875
  onClose: v,
1849
- onLoadTTS: A[3] || (A[3] = (I) => o("loadTTS")),
1850
- onAiTranslate: A[4] || (A[4] = (I) => o("aiTranslate"))
1851
- }, null, 8, ["translation", "tts", "status", "isFavorite", "isFavoriteFeatureEnabled", "isAITranslate"])
1852
- ], 4)) : D("", !0),
1853
- M(xt, {
1854
- textSelected: r.value,
1855
- onToggleKey: A[5] || (A[5] = (I) => o("toggleKey", I)),
1876
+ onLoadTTS: A[3] || (A[3] = (y) => i("loadTTS")),
1877
+ onAiTranslate: A[4] || (A[4] = (y) => i("aiTranslate")),
1878
+ onAiExplain: A[5] || (A[5] = (y) => i("aiExplain"))
1879
+ }, null, 8, ["translation", "explanation", "tts", "status", "isFavorite", "isFavoriteFeatureEnabled", "isAITranslate", "isAIExplain"])
1880
+ ], 4)) : _("", !0),
1881
+ J(Se, {
1882
+ textSelected: a.value,
1883
+ onToggleKey: A[6] || (A[6] = (y) => i("toggleKey", y)),
1856
1884
  onClose: v
1857
1885
  }, null, 8, ["textSelected"])
1858
1886
  ], 64));
1859
1887
  }
1860
1888
  };
1861
1889
  export {
1862
- yt as default
1890
+ ke as default
1863
1891
  };