@feedmepos/mf-remy-panel 0.13.2 → 0.13.3-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var jp = Object.defineProperty;
|
|
2
2
|
var Lp = (e, t, n) => t in e ? jp(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var nt = (e, t, n) => (Lp(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
4
|
-
import { ref as at, shallowRef as Bo, computed as ft, watchEffect as Cp, watch as ne, markRaw as Dp, onMounted as Bn, onUnmounted as Ps, defineComponent as zt, openBlock as
|
|
4
|
+
import { ref as at, shallowRef as Bo, computed as ft, watchEffect as Cp, watch as ne, markRaw as Dp, onMounted as Bn, onUnmounted as Ps, defineComponent as zt, openBlock as w, createElementBlock as E, createElementVNode as v, toDisplayString as G, createCommentVNode as lt, Fragment as dt, renderList as gt, withModifiers as ln, renderSlot as Vd, h as an, createBlock as At, resolveDynamicComponent as Qo, unref as bt, createTextVNode as ve, version as Op, toRaw as ao, nextTick as Ke, isProxy as Td, normalizeStyle as lo, normalizeClass as Vt, createStaticVNode as co, withCtx as en, createVNode as ie, withDirectives as Ca, vModelText as Yp, vShow as Bp, onBeforeUnmount as Qp, Transition as Es, Teleport as Jp, resolveComponent as Ap, defineAsyncComponent as _d } from "vue";
|
|
5
5
|
import { defineStore as Jo } from "pinia";
|
|
6
6
|
import { useCoreStore as uo, useI18n as Ao } from "@feedmepos/mf-common";
|
|
7
7
|
import { useRouter as Ud, createRouter as Gp, createWebHistory as Pp } from "vue-router";
|
|
@@ -8393,7 +8393,7 @@ const ca = "1.16.1", Cl = 64 * 1024, { isFunction: ui } = B, Dl = (e, ...t) => {
|
|
|
8393
8393
|
onUploadProgress: F,
|
|
8394
8394
|
responseType: j,
|
|
8395
8395
|
headers: K,
|
|
8396
|
-
withCredentials:
|
|
8396
|
+
withCredentials: S = "same-origin",
|
|
8397
8397
|
fetchOptions: I,
|
|
8398
8398
|
maxContentLength: M,
|
|
8399
8399
|
maxBodyLength: z
|
|
@@ -8441,7 +8441,7 @@ const ca = "1.16.1", Cl = 64 * 1024, { isFunction: ui } = B, Dl = (e, ...t) => {
|
|
|
8441
8441
|
R = Ll(ht.body, Cl, Qt, Ct);
|
|
8442
8442
|
}
|
|
8443
8443
|
}
|
|
8444
|
-
B.isString(
|
|
8444
|
+
B.isString(S) || (S = S ? "include" : "omit");
|
|
8445
8445
|
const rt = l && "credentials" in r.prototype;
|
|
8446
8446
|
if (B.isFormData(R)) {
|
|
8447
8447
|
const ht = K.getContentType();
|
|
@@ -8455,7 +8455,7 @@ const ca = "1.16.1", Cl = 64 * 1024, { isFunction: ui } = B, Dl = (e, ...t) => {
|
|
|
8455
8455
|
headers: ch(K.normalize()),
|
|
8456
8456
|
body: R,
|
|
8457
8457
|
duplex: "half",
|
|
8458
|
-
credentials: rt ?
|
|
8458
|
+
credentials: rt ? S : void 0
|
|
8459
8459
|
};
|
|
8460
8460
|
et = l && new r(y, it);
|
|
8461
8461
|
let tt = await (l ? A(et, I) : A(y, it));
|
|
@@ -9172,7 +9172,7 @@ const gk = 20, Nn = Jo("chat", () => {
|
|
|
9172
9172
|
function K(q) {
|
|
9173
9173
|
return q.replace(/\/+$/, "");
|
|
9174
9174
|
}
|
|
9175
|
-
function
|
|
9175
|
+
function S(q) {
|
|
9176
9176
|
var Y;
|
|
9177
9177
|
const k = q.match(/^data:(image\/[^;]+);base64,/);
|
|
9178
9178
|
if (k)
|
|
@@ -9350,7 +9350,7 @@ const gk = 20, Nn = Jo("chat", () => {
|
|
|
9350
9350
|
}
|
|
9351
9351
|
const P = [];
|
|
9352
9352
|
for (const H of k ?? []) {
|
|
9353
|
-
const Q =
|
|
9353
|
+
const Q = S(H);
|
|
9354
9354
|
if (!Q) {
|
|
9355
9355
|
F("Invalid image format. Please try attaching the image again.");
|
|
9356
9356
|
return;
|
|
@@ -9643,12 +9643,12 @@ const Nk = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVV
|
|
|
9643
9643
|
var o;
|
|
9644
9644
|
return (o = t.message.imageDatas) != null && o.length ? t.message.imageDatas : t.message.imageData ? [t.message.imageData] : [];
|
|
9645
9645
|
});
|
|
9646
|
-
return (o, a) => (
|
|
9646
|
+
return (o, a) => (w(), E("div", kk, [
|
|
9647
9647
|
v("div", vk, [
|
|
9648
|
-
s.value ? (
|
|
9649
|
-
e.message.content ? (
|
|
9650
|
-
r.value.length ? (
|
|
9651
|
-
(
|
|
9648
|
+
s.value ? (w(), E("p", Rk, G(s.value), 1)) : lt("", !0),
|
|
9649
|
+
e.message.content ? (w(), E("p", Mk, G(e.message.content), 1)) : lt("", !0),
|
|
9650
|
+
r.value.length ? (w(), E("div", Vk, [
|
|
9651
|
+
(w(!0), E(dt, null, gt(r.value, (l, c) => (w(), E("img", {
|
|
9652
9652
|
key: c,
|
|
9653
9653
|
src: l,
|
|
9654
9654
|
alt: "Attached image",
|
|
@@ -10914,7 +10914,7 @@ const gv = ["href", "title"], bv = /* @__PURE__ */ zt({
|
|
|
10914
10914
|
i && console.log("Execute command:", i);
|
|
10915
10915
|
}
|
|
10916
10916
|
}
|
|
10917
|
-
return (s, i) => (
|
|
10917
|
+
return (s, i) => (w(), E("a", {
|
|
10918
10918
|
href: e.href,
|
|
10919
10919
|
title: e.title,
|
|
10920
10920
|
class: "mc-link mc-link--inline",
|
|
@@ -11005,8 +11005,8 @@ const Br = /* @__PURE__ */ Ot(bv, [["__scopeId", "data-v-5d1ce7d4"]]), yv = { cl
|
|
|
11005
11005
|
return an(dt, o(c.body.childNodes));
|
|
11006
11006
|
}
|
|
11007
11007
|
});
|
|
11008
|
-
return (l, c) => (
|
|
11009
|
-
(
|
|
11008
|
+
return (l, c) => (w(), E("div", yv, [
|
|
11009
|
+
(w(), At(Qo(bt(a)), { html: n.value }, null, 8, ["html"]))
|
|
11010
11010
|
]));
|
|
11011
11011
|
}
|
|
11012
11012
|
});
|
|
@@ -15462,15 +15462,15 @@ class An extends je {
|
|
|
15462
15462
|
const n = this.axis, s = this.chart, i = this.options, { grid: r, position: o, border: a } = i, l = r.offset, c = this.isHorizontal(), u = this.ticks.length + (l ? 1 : 0), p = Ms(r), h = [], b = a.setContext(this.getContext()), f = b.display ? b.width : 0, g = f / 2, m = function($) {
|
|
15463
15463
|
return Vn(s, $, f);
|
|
15464
15464
|
};
|
|
15465
|
-
let y, N, R, V, T, _, Z, F, j, K,
|
|
15465
|
+
let y, N, R, V, T, _, Z, F, j, K, S, I;
|
|
15466
15466
|
if (o === "top")
|
|
15467
15467
|
y = m(this.bottom), _ = this.bottom - p, F = y - g, K = m(t.top) + g, I = t.bottom;
|
|
15468
15468
|
else if (o === "bottom")
|
|
15469
15469
|
y = m(this.top), K = t.top, I = m(t.bottom) - g, _ = y + g, F = this.top + p;
|
|
15470
15470
|
else if (o === "left")
|
|
15471
|
-
y = m(this.right), T = this.right - p, Z = y - g, j = m(t.left) + g,
|
|
15471
|
+
y = m(this.right), T = this.right - p, Z = y - g, j = m(t.left) + g, S = t.right;
|
|
15472
15472
|
else if (o === "right")
|
|
15473
|
-
y = m(this.left), j = t.left,
|
|
15473
|
+
y = m(this.left), j = t.left, S = m(t.right) - g, T = y + g, Z = this.left + p;
|
|
15474
15474
|
else if (n === "x") {
|
|
15475
15475
|
if (o === "center")
|
|
15476
15476
|
y = m((t.top + t.bottom) / 2 + 0.5);
|
|
@@ -15486,19 +15486,19 @@ class An extends je {
|
|
|
15486
15486
|
const $ = Object.keys(o)[0], J = o[$];
|
|
15487
15487
|
y = m(this.chart.scales[$].getPixelForValue(J));
|
|
15488
15488
|
}
|
|
15489
|
-
T = y - g, Z = T - p, j = t.left,
|
|
15489
|
+
T = y - g, Z = T - p, j = t.left, S = t.right;
|
|
15490
15490
|
}
|
|
15491
15491
|
const M = vt(i.ticks.maxTicksLimit, u), z = Math.max(1, Math.ceil(u / M));
|
|
15492
15492
|
for (N = 0; N < u; N += z) {
|
|
15493
15493
|
const $ = this.getContext(N), J = r.setContext($), A = a.setContext($), L = J.lineWidth, et = J.color, C = A.dash || [], O = A.dashOffset, rt = J.tickWidth, it = J.tickColor, tt = J.tickBorderDash || [], Mt = J.tickBorderDashOffset;
|
|
15494
|
-
R = p2(this, N, l), R !== void 0 && (V = Vn(s, R, L), c ? T = Z = j =
|
|
15494
|
+
R = p2(this, N, l), R !== void 0 && (V = Vn(s, R, L), c ? T = Z = j = S = V : _ = F = K = I = V, h.push({
|
|
15495
15495
|
tx1: T,
|
|
15496
15496
|
ty1: _,
|
|
15497
15497
|
tx2: Z,
|
|
15498
15498
|
ty2: F,
|
|
15499
15499
|
x1: j,
|
|
15500
15500
|
y1: K,
|
|
15501
|
-
x2:
|
|
15501
|
+
x2: S,
|
|
15502
15502
|
y2: I,
|
|
15503
15503
|
width: L,
|
|
15504
15504
|
color: et,
|
|
@@ -15514,7 +15514,7 @@ class An extends je {
|
|
|
15514
15514
|
}
|
|
15515
15515
|
_computeLabelItems(t) {
|
|
15516
15516
|
const n = this.axis, s = this.options, { position: i, ticks: r } = s, o = this.isHorizontal(), a = this.ticks, { align: l, crossAlign: c, padding: d, mirror: u } = r, p = Ms(s.grid), h = p + d, b = u ? -d : h, f = -Qe(this.labelRotation), g = [];
|
|
15517
|
-
let m, y, N, R, V, T, _, Z, F, j, K,
|
|
15517
|
+
let m, y, N, R, V, T, _, Z, F, j, K, S, I = "middle";
|
|
15518
15518
|
if (i === "top")
|
|
15519
15519
|
T = this.bottom - b, _ = this._getXAxisLabelAlignment();
|
|
15520
15520
|
else if (i === "bottom")
|
|
@@ -15550,11 +15550,11 @@ class An extends je {
|
|
|
15550
15550
|
Z = this.getPixelForTick(m) + r.labelOffset, F = this._resolveTickFontOptions(m), j = F.lineHeight, K = Gt(R) ? R.length : 1;
|
|
15551
15551
|
const $ = K / 2, J = z.color, A = z.textStrokeColor, L = z.textStrokeWidth;
|
|
15552
15552
|
let et = _;
|
|
15553
|
-
o ? (V = Z, _ === "inner" && (m === y - 1 ? et = this.options.reverse ? "left" : "right" : m === 0 ? et = this.options.reverse ? "right" : "left" : et = "center"), i === "top" ? c === "near" || f !== 0 ?
|
|
15553
|
+
o ? (V = Z, _ === "inner" && (m === y - 1 ? et = this.options.reverse ? "left" : "right" : m === 0 ? et = this.options.reverse ? "right" : "left" : et = "center"), i === "top" ? c === "near" || f !== 0 ? S = -K * j + j / 2 : c === "center" ? S = -M.highest.height / 2 - $ * j + j : S = -M.highest.height + j / 2 : c === "near" || f !== 0 ? S = j / 2 : c === "center" ? S = M.highest.height / 2 - $ * j : S = M.highest.height - K * j, u && (S *= -1), f !== 0 && !z.showLabelBackdrop && (V += j / 2 * Math.sin(f))) : (T = Z, S = (1 - K) * j / 2);
|
|
15554
15554
|
let C;
|
|
15555
15555
|
if (z.showLabelBackdrop) {
|
|
15556
15556
|
const O = he(z.backdropPadding), rt = M.heights[m], it = M.widths[m];
|
|
15557
|
-
let tt =
|
|
15557
|
+
let tt = S - O.top, Mt = 0 - O.left;
|
|
15558
15558
|
switch (I) {
|
|
15559
15559
|
case "middle":
|
|
15560
15560
|
tt -= rt / 2;
|
|
@@ -15585,7 +15585,7 @@ class An extends je {
|
|
|
15585
15585
|
g.push({
|
|
15586
15586
|
label: R,
|
|
15587
15587
|
font: F,
|
|
15588
|
-
textOffset:
|
|
15588
|
+
textOffset: S,
|
|
15589
15589
|
options: {
|
|
15590
15590
|
rotation: f,
|
|
15591
15591
|
color: J,
|
|
@@ -16805,16 +16805,16 @@ function or(e, t, n, s, i, r) {
|
|
|
16805
16805
|
const z = d > 0 ? d - s : 0, $ = u > 0 ? u - s : 0, J = (z + $) / 2, A = J !== 0 ? b * J / (J + s) : b;
|
|
16806
16806
|
h = (b - A) / 2;
|
|
16807
16807
|
}
|
|
16808
|
-
const f = Math.max(1e-3, b * u - n / Ft) / u, g = (b - f) / 2, m = l + g + h, y = i - g - h, { outerStart: N, outerEnd: R, innerStart: V, innerEnd: T } = J2(t, p, u, y - m), _ = u - N, Z = u - R, F = m + N / _, j = y - R / Z, K = p + V,
|
|
16808
|
+
const f = Math.max(1e-3, b * u - n / Ft) / u, g = (b - f) / 2, m = l + g + h, y = i - g - h, { outerStart: N, outerEnd: R, innerStart: V, innerEnd: T } = J2(t, p, u, y - m), _ = u - N, Z = u - R, F = m + N / _, j = y - R / Z, K = p + V, S = p + T, I = m + V / K, M = y - T / S;
|
|
16809
16809
|
if (e.beginPath(), r) {
|
|
16810
16810
|
const z = (F + j) / 2;
|
|
16811
16811
|
if (e.arc(o, a, u, F, z), e.arc(o, a, u, z, j), R > 0) {
|
|
16812
16812
|
const L = Kn(Z, j, o, a);
|
|
16813
16813
|
e.arc(L.x, L.y, R, j, y + se);
|
|
16814
16814
|
}
|
|
16815
|
-
const $ = Kn(
|
|
16815
|
+
const $ = Kn(S, y, o, a);
|
|
16816
16816
|
if (e.lineTo($.x, $.y), T > 0) {
|
|
16817
|
-
const L = Kn(
|
|
16817
|
+
const L = Kn(S, M, o, a);
|
|
16818
16818
|
e.arc(L.x, L.y, T, y + se, M + Math.PI);
|
|
16819
16819
|
}
|
|
16820
16820
|
const J = (y - T / p + (m + V / p)) / 2;
|
|
@@ -17786,16 +17786,16 @@ class id extends je {
|
|
|
17786
17786
|
pointStyle: Z.pointStyle,
|
|
17787
17787
|
rotation: Z.rotation,
|
|
17788
17788
|
borderWidth: F
|
|
17789
|
-
}, K = l.xPlus(T, b / 2),
|
|
17790
|
-
Jh(i, j, K,
|
|
17789
|
+
}, K = l.xPlus(T, b / 2), S = _ + p;
|
|
17790
|
+
Jh(i, j, K, S, o.pointStyleWidth && b);
|
|
17791
17791
|
} else {
|
|
17792
|
-
const j = _ + Math.max((u - f) / 2, 0), K = l.leftForLtr(T, b),
|
|
17793
|
-
i.beginPath(), Object.values(
|
|
17792
|
+
const j = _ + Math.max((u - f) / 2, 0), K = l.leftForLtr(T, b), S = En(Z.borderRadius);
|
|
17793
|
+
i.beginPath(), Object.values(S).some((I) => I !== 0) ? Js(i, {
|
|
17794
17794
|
x: K,
|
|
17795
17795
|
y: j,
|
|
17796
17796
|
w: b,
|
|
17797
17797
|
h: f,
|
|
17798
|
-
radius:
|
|
17798
|
+
radius: S
|
|
17799
17799
|
}) : i.rect(K, j, b, f), i.fill(), F !== 0 && i.stroke();
|
|
17800
17800
|
}
|
|
17801
17801
|
i.restore();
|
|
@@ -17818,10 +17818,10 @@ class id extends je {
|
|
|
17818
17818
|
this.legendItems.forEach((T, _) => {
|
|
17819
17819
|
i.strokeStyle = T.fontColor, i.fillStyle = T.fontColor;
|
|
17820
17820
|
const Z = i.measureText(T.text).width, F = l.textAlign(T.textAlign || (T.textAlign = o.textAlign)), j = b + p + Z;
|
|
17821
|
-
let K = h.x,
|
|
17822
|
-
l.setWidth(this.width), N ? _ > 0 && K + j + d > this.right && (
|
|
17821
|
+
let K = h.x, S = h.y;
|
|
17822
|
+
l.setWidth(this.width), N ? _ > 0 && K + j + d > this.right && (S = h.y += V, h.line++, K = h.x = le(r, this.left + d, this.right - s[h.line])) : _ > 0 && S + V > this.bottom && (K = h.x = K + n[h.line].width + d, h.line++, S = h.y = le(r, this.top + R + d, this.bottom - n[h.line].height));
|
|
17823
17823
|
const I = l.x(K);
|
|
17824
|
-
if (m(I,
|
|
17824
|
+
if (m(I, S, T), K = rR(F, K + b + p, N ? K + j : this.right, t.rtl), y(l.x(K), S, T), N)
|
|
17825
17825
|
h.x += j + d;
|
|
17826
17826
|
else if (typeof T.text != "string") {
|
|
17827
17827
|
const M = c.lineHeight;
|
|
@@ -18715,11 +18715,11 @@ function GV(e, t) {
|
|
|
18715
18715
|
for (m && (p && _ !== o ? (n.push({
|
|
18716
18716
|
value: o
|
|
18717
18717
|
}), _ < o && K++, zs(Math.round((_ + K * V) * T) / T, o, ud(o, R, e)) && K++) : _ < o && K++); K < F; ++K) {
|
|
18718
|
-
const
|
|
18719
|
-
if (y &&
|
|
18718
|
+
const S = Math.round((_ + K * V) * T) / T;
|
|
18719
|
+
if (y && S > a)
|
|
18720
18720
|
break;
|
|
18721
18721
|
n.push({
|
|
18722
|
-
value:
|
|
18722
|
+
value: S
|
|
18723
18723
|
});
|
|
18724
18724
|
}
|
|
18725
18725
|
return y && p && Z !== a ? n.length && zs(n[n.length - 1].value, a, ud(a, R, e)) ? n[n.length - 1].value = a : n.push({
|
|
@@ -19918,10 +19918,10 @@ const NT = /* @__PURE__ */ Ia("bar", zi), kT = /* @__PURE__ */ Ia("line", Wi), v
|
|
|
19918
19918
|
responsive: !0,
|
|
19919
19919
|
maintainAspectRatio: !1,
|
|
19920
19920
|
plugins: { ...y, legend: N(!0) }
|
|
19921
|
-
})), j = at(null), K = at(null),
|
|
19921
|
+
})), j = at(null), K = at(null), S = at(null), I = at(null);
|
|
19922
19922
|
function M() {
|
|
19923
19923
|
var O, rt, it, tt, Mt;
|
|
19924
|
-
const z = ((O = K.value) == null ? void 0 : O.chart) ?? ((rt =
|
|
19924
|
+
const z = ((O = K.value) == null ? void 0 : O.chart) ?? ((rt = S.value) == null ? void 0 : rt.chart) ?? ((it = I.value) == null ? void 0 : it.chart);
|
|
19925
19925
|
if (!z) {
|
|
19926
19926
|
const Zt = (tt = j.value) == null ? void 0 : tt.querySelector("canvas");
|
|
19927
19927
|
return Zt ? { dataUrl: Zt.toDataURL("image/png"), width: Zt.width, height: Zt.height } : null;
|
|
@@ -19931,7 +19931,7 @@ const NT = /* @__PURE__ */ Ia("bar", zi), kT = /* @__PURE__ */ Ia("line", Wi), v
|
|
|
19931
19931
|
const L = z.canvas.toDataURL("image/png"), et = z.canvas.width, C = z.canvas.height;
|
|
19932
19932
|
return z.resize(), { dataUrl: L, width: et, height: C };
|
|
19933
19933
|
}
|
|
19934
|
-
return t({ toDataURL: M }), (z, $) => r.value ? (
|
|
19934
|
+
return t({ toDataURL: M }), (z, $) => r.value ? (w(), E("div", RT, [
|
|
19935
19935
|
v("p", MT, G(r.value.title), 1),
|
|
19936
19936
|
v("div", {
|
|
19937
19937
|
ref_key: "canvasWrapper",
|
|
@@ -19939,19 +19939,19 @@ const NT = /* @__PURE__ */ Ia("bar", zi), kT = /* @__PURE__ */ Ia("line", Wi), v
|
|
|
19939
19939
|
class: "chart-card__canvas-wrapper",
|
|
19940
19940
|
style: lo({ height: `${c.value}px` })
|
|
19941
19941
|
}, [
|
|
19942
|
-
r.value.chartType === "line" && R.value ? (
|
|
19942
|
+
r.value.chartType === "line" && R.value ? (w(), At(bt(kT), {
|
|
19943
19943
|
key: 0,
|
|
19944
19944
|
ref_key: "lineRef",
|
|
19945
19945
|
ref: K,
|
|
19946
19946
|
data: R.value,
|
|
19947
19947
|
options: _.value
|
|
19948
|
-
}, null, 8, ["data", "options"])) : r.value.chartType === "bar" && V.value ? (
|
|
19948
|
+
}, null, 8, ["data", "options"])) : r.value.chartType === "bar" && V.value ? (w(), At(bt(NT), {
|
|
19949
19949
|
key: 1,
|
|
19950
19950
|
ref_key: "barRef",
|
|
19951
|
-
ref:
|
|
19951
|
+
ref: S,
|
|
19952
19952
|
data: V.value,
|
|
19953
19953
|
options: Z.value
|
|
19954
|
-
}, null, 8, ["data", "options"])) : r.value.chartType === "pie" && T.value ? (
|
|
19954
|
+
}, null, 8, ["data", "options"])) : r.value.chartType === "pie" && T.value ? (w(), At(bt(vT), {
|
|
19955
19955
|
key: 2,
|
|
19956
19956
|
ref_key: "pieRef",
|
|
19957
19957
|
ref: I,
|
|
@@ -20027,12 +20027,12 @@ const Er = /* @__PURE__ */ Ot(TT, [["__scopeId", "data-v-785f9338"]]), _T = {
|
|
|
20027
20027
|
const h = l.slice(u);
|
|
20028
20028
|
return h && c.push({ type: "text", text: h }), c;
|
|
20029
20029
|
});
|
|
20030
|
-
return (l, c) => n.value ? (
|
|
20031
|
-
(
|
|
20032
|
-
d.type === "text" && d.text.trim() ? (
|
|
20030
|
+
return (l, c) => n.value ? (w(), E("div", _T, [
|
|
20031
|
+
(w(!0), E(dt, null, gt(a.value, (d, u) => (w(), E(dt, { key: u }, [
|
|
20032
|
+
d.type === "text" && d.text.trim() ? (w(), At(Uo, {
|
|
20033
20033
|
key: 0,
|
|
20034
20034
|
content: d.text
|
|
20035
|
-
}, null, 8, ["content"])) : d.type === "chart" && r.value.has(d.queryId) ? (
|
|
20035
|
+
}, null, 8, ["content"])) : d.type === "chart" && r.value.has(d.queryId) ? (w(), At(Er, {
|
|
20036
20036
|
key: 1,
|
|
20037
20037
|
"tool-call": r.value.get(d.queryId)
|
|
20038
20038
|
}, null, 8, ["tool-call"])) : lt("", !0)
|
|
@@ -20078,7 +20078,7 @@ const xT = /* @__PURE__ */ Ot(UT, [["__scopeId", "data-v-8d0bec5a"]]), ST = {
|
|
|
20078
20078
|
}
|
|
20079
20079
|
return null;
|
|
20080
20080
|
}
|
|
20081
|
-
return (a, l) => s.value.length > 0 ? (
|
|
20081
|
+
return (a, l) => s.value.length > 0 ? (w(), E("div", ST, [
|
|
20082
20082
|
v("div", wT, [
|
|
20083
20083
|
v("span", {
|
|
20084
20084
|
class: Vt(["tcd__dot", {
|
|
@@ -20087,7 +20087,7 @@ const xT = /* @__PURE__ */ Ot(UT, [["__scopeId", "data-v-8d0bec5a"]]), ST = {
|
|
|
20087
20087
|
}])
|
|
20088
20088
|
}, null, 2),
|
|
20089
20089
|
v("span", ZT, G(r(s.value[0].name)), 1),
|
|
20090
|
-
s.value.length > 1 ? (
|
|
20090
|
+
s.value.length > 1 ? (w(), E("button", {
|
|
20091
20091
|
key: 0,
|
|
20092
20092
|
type: "button",
|
|
20093
20093
|
class: "tcd__btn",
|
|
@@ -20095,7 +20095,7 @@ const xT = /* @__PURE__ */ Ot(UT, [["__scopeId", "data-v-8d0bec5a"]]), ST = {
|
|
|
20095
20095
|
"aria-label": n.value ? "Collapse tool calls" : "Expand tool calls",
|
|
20096
20096
|
onClick: l[0] || (l[0] = (c) => n.value = !n.value)
|
|
20097
20097
|
}, [
|
|
20098
|
-
(
|
|
20098
|
+
(w(), E("svg", {
|
|
20099
20099
|
class: Vt(["tcd__chevron", { "tcd__chevron--open": n.value }]),
|
|
20100
20100
|
width: "12",
|
|
20101
20101
|
height: "12",
|
|
@@ -20112,9 +20112,9 @@ const xT = /* @__PURE__ */ Ot(UT, [["__scopeId", "data-v-8d0bec5a"]]), ST = {
|
|
|
20112
20112
|
])], 2))
|
|
20113
20113
|
], 8, ET)) : lt("", !0)
|
|
20114
20114
|
]),
|
|
20115
|
-
n.value ? (
|
|
20116
|
-
o(s.value[0]) ? (
|
|
20117
|
-
(
|
|
20115
|
+
n.value ? (w(), E(dt, { key: 1 }, [
|
|
20116
|
+
o(s.value[0]) ? (w(), E("div", WT, ' "' + G(o(s.value[0])) + '" ', 1)) : lt("", !0),
|
|
20117
|
+
(w(!0), E(dt, null, gt(s.value.slice(1), (c) => (w(), E("div", {
|
|
20118
20118
|
key: c.id,
|
|
20119
20119
|
class: "tcd__row"
|
|
20120
20120
|
}, [
|
|
@@ -20122,11 +20122,11 @@ const xT = /* @__PURE__ */ Ot(UT, [["__scopeId", "data-v-8d0bec5a"]]), ST = {
|
|
|
20122
20122
|
class: Vt(["tcd__dot", { "tcd__dot--done": i(c), "tcd__dot--error": c.state === "output-error" }])
|
|
20123
20123
|
}, null, 2),
|
|
20124
20124
|
v("span", IT, G(r(c.name)), 1),
|
|
20125
|
-
o(c) ? (
|
|
20125
|
+
o(c) ? (w(), E("span", jT, '"' + G(o(c)) + '"', 1)) : lt("", !0)
|
|
20126
20126
|
]))), 128))
|
|
20127
|
-
], 64)) : (
|
|
20128
|
-
o(s.value[0]) ? (
|
|
20129
|
-
s.value.length > 1 ? (
|
|
20127
|
+
], 64)) : (w(), E(dt, { key: 0 }, [
|
|
20128
|
+
o(s.value[0]) ? (w(), E("div", FT, ' "' + G(o(s.value[0])) + '" ', 1)) : lt("", !0),
|
|
20129
|
+
s.value.length > 1 ? (w(), E("div", zT, " +" + G(s.value.length - 1) + " more ", 1)) : lt("", !0)
|
|
20130
20130
|
], 64))
|
|
20131
20131
|
])) : lt("", !0);
|
|
20132
20132
|
}
|
|
@@ -20141,13 +20141,13 @@ const CT = /* @__PURE__ */ Ot(LT, [["__scopeId", "data-v-39812622"]]), DT = { cl
|
|
|
20141
20141
|
},
|
|
20142
20142
|
setup(e) {
|
|
20143
20143
|
const t = at(!1);
|
|
20144
|
-
return (n, s) => (
|
|
20144
|
+
return (n, s) => (w(), E("div", DT, [
|
|
20145
20145
|
v("button", {
|
|
20146
20146
|
class: Vt(["mfb__chip", { "mfb__chip--open": t.value }]),
|
|
20147
20147
|
onClick: s[0] || (s[0] = (i) => t.value = !t.value)
|
|
20148
20148
|
}, [
|
|
20149
20149
|
s[2] || (s[2] = co('<svg class="mfb__icon" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-e86c96e4><path d="M8 1.5A4.5 4.5 0 0 0 4.24 8.64a.75.75 0 0 1-.06.28l-.88 2.2a.5.5 0 0 0 .62.65l2.26-.75a.75.75 0 0 1 .28-.03A4.5 4.5 0 1 0 8 1.5Z" fill="currentColor" opacity="0.3" data-v-e86c96e4></path><circle cx="6" cy="7" r="0.75" fill="currentColor" data-v-e86c96e4></circle><circle cx="8" cy="7" r="0.75" fill="currentColor" data-v-e86c96e4></circle><circle cx="10" cy="7" r="0.75" fill="currentColor" data-v-e86c96e4></circle></svg> User flagged info ', 2)),
|
|
20150
|
-
(
|
|
20150
|
+
(w(), E("svg", {
|
|
20151
20151
|
class: Vt(["mfb__caret", { "mfb__caret--open": t.value }]),
|
|
20152
20152
|
viewBox: "0 0 10 10",
|
|
20153
20153
|
fill: "none",
|
|
@@ -20162,7 +20162,7 @@ const CT = /* @__PURE__ */ Ot(LT, [["__scopeId", "data-v-39812622"]]), DT = { cl
|
|
|
20162
20162
|
}, null, -1)
|
|
20163
20163
|
])], 2))
|
|
20164
20164
|
], 2),
|
|
20165
|
-
t.value ? (
|
|
20165
|
+
t.value ? (w(), E("div", OT, [
|
|
20166
20166
|
s[3] || (s[3] = v("p", { class: "mfb__label" }, "You flagged this info before:", -1)),
|
|
20167
20167
|
v("pre", YT, G(e.facts), 1)
|
|
20168
20168
|
])) : lt("", !0)
|
|
@@ -20183,13 +20183,13 @@ const QT = /* @__PURE__ */ Ot(BT, [["__scopeId", "data-v-e86c96e4"]]), JT = {
|
|
|
20183
20183
|
const i = t.toolCall.result;
|
|
20184
20184
|
window.dispatchEvent(new CustomEvent(i.eventName, { detail: s })), console.log(`[Remy] Pricing Action Card applied → "${i.eventName}"`, s);
|
|
20185
20185
|
}
|
|
20186
|
-
return (s, i) => e.toolCall.name === "createPricingActionCard" && e.toolCall.state === "output-available" && e.toolCall.result ? (
|
|
20186
|
+
return (s, i) => e.toolCall.name === "createPricingActionCard" && e.toolCall.state === "output-available" && e.toolCall.result ? (w(), E("div", JT, [
|
|
20187
20187
|
v("div", AT, [
|
|
20188
20188
|
v("p", GT, G(e.toolCall.result.title), 1),
|
|
20189
20189
|
v("p", PT, G(e.toolCall.result.description), 1)
|
|
20190
20190
|
]),
|
|
20191
20191
|
v("div", HT, [
|
|
20192
|
-
(
|
|
20192
|
+
(w(!0), E(dt, null, gt(e.toolCall.result.prices, (r) => (w(), E("button", {
|
|
20193
20193
|
key: r.price,
|
|
20194
20194
|
class: "action-card__btn",
|
|
20195
20195
|
type: "button",
|
|
@@ -20213,13 +20213,13 @@ const KT = /* @__PURE__ */ Ot($T, [["__scopeId", "data-v-908a3d1d"]]), qT = {
|
|
|
20213
20213
|
const i = t.toolCall.result;
|
|
20214
20214
|
window.dispatchEvent(new CustomEvent(i.eventName, { detail: s })), console.log(`[Remy] Description Action Card applied → "${i.eventName}"`, s);
|
|
20215
20215
|
}
|
|
20216
|
-
return (s, i) => e.toolCall.name === "createDescriptionActionCard" && e.toolCall.state === "output-available" && e.toolCall.result ? (
|
|
20216
|
+
return (s, i) => e.toolCall.name === "createDescriptionActionCard" && e.toolCall.state === "output-available" && e.toolCall.result ? (w(), E("div", qT, [
|
|
20217
20217
|
v("div", t_, [
|
|
20218
20218
|
v("p", e_, G(e.toolCall.result.title), 1),
|
|
20219
20219
|
v("p", n_, G(e.toolCall.result.description), 1)
|
|
20220
20220
|
]),
|
|
20221
20221
|
v("div", s_, [
|
|
20222
|
-
(
|
|
20222
|
+
(w(!0), E(dt, null, gt(e.toolCall.result.descriptions, (r) => (w(), E("button", {
|
|
20223
20223
|
key: r.label,
|
|
20224
20224
|
class: "action-card__btn",
|
|
20225
20225
|
type: "button",
|
|
@@ -20282,9 +20282,9 @@ const o_ = /* @__PURE__ */ Ot(r_, [["__scopeId", "data-v-f681c50f"]]), a_ = {
|
|
|
20282
20282
|
const l = ((d = s.value.split("/")[1]) == null ? void 0 : d.replace("jpeg", "jpg")) || "png", c = document.createElement("a");
|
|
20283
20283
|
c.href = n.value, c.download = `download.${l}`, c.click();
|
|
20284
20284
|
}
|
|
20285
|
-
return (l, c) => e.toolCall.name === "createImageActionCard" && e.toolCall.state === "output-available" && e.toolCall.result ? (
|
|
20285
|
+
return (l, c) => e.toolCall.name === "createImageActionCard" && e.toolCall.state === "output-available" && e.toolCall.result ? (w(), E("div", a_, [
|
|
20286
20286
|
v("div", l_, [
|
|
20287
|
-
i.value ? (
|
|
20287
|
+
i.value ? (w(), E("div", c_, "Loading…")) : r.value ? (w(), E("div", d_, "Failed to load image")) : (w(), E("img", {
|
|
20288
20288
|
key: 2,
|
|
20289
20289
|
src: n.value,
|
|
20290
20290
|
alt: "Preview",
|
|
@@ -20398,9 +20398,9 @@ const N_ = /* @__PURE__ */ Ot(y_, [["__scopeId", "data-v-34d763a9"]]), k_ = {
|
|
|
20398
20398
|
const l = ((d = s.value.split("/")[1]) == null ? void 0 : d.replace("jpeg", "jpg")) || "png", c = document.createElement("a");
|
|
20399
20399
|
c.href = n.value, c.download = `marketing-material.${l}`, c.click();
|
|
20400
20400
|
}
|
|
20401
|
-
return (l, c) => e.toolCall.name === "generateMarketingMaterial" && e.toolCall.state === "output-available" && e.toolCall.result ? (
|
|
20401
|
+
return (l, c) => e.toolCall.name === "generateMarketingMaterial" && e.toolCall.state === "output-available" && e.toolCall.result ? (w(), E("div", k_, [
|
|
20402
20402
|
v("div", v_, [
|
|
20403
|
-
i.value ? (
|
|
20403
|
+
i.value ? (w(), E("div", R_, "Loading…")) : r.value ? (w(), E("div", M_, "Failed to load image")) : (w(), E("img", {
|
|
20404
20404
|
key: 2,
|
|
20405
20405
|
src: n.value,
|
|
20406
20406
|
alt: "Campaign Marketing Material",
|
|
@@ -20408,8 +20408,8 @@ const N_ = /* @__PURE__ */ Ot(y_, [["__scopeId", "data-v-34d763a9"]]), k_ = {
|
|
|
20408
20408
|
}, null, 8, V_))
|
|
20409
20409
|
]),
|
|
20410
20410
|
v("div", T_, [
|
|
20411
|
-
e.toolCall.result.headline ? (
|
|
20412
|
-
e.toolCall.result.caption ? (
|
|
20411
|
+
e.toolCall.result.headline ? (w(), E("p", __, G(e.toolCall.result.headline), 1)) : (w(), E("p", U_, "Marketing Material")),
|
|
20412
|
+
e.toolCall.result.caption ? (w(), E("p", x_, G(e.toolCall.result.caption), 1)) : (w(), E("p", S_, " Your material is ready. Apply it or download it. "))
|
|
20413
20413
|
]),
|
|
20414
20414
|
v("div", w_, [
|
|
20415
20415
|
v("button", {
|
|
@@ -20514,9 +20514,9 @@ const z_ = /* @__PURE__ */ Ot(F_, [["__scopeId", "data-v-683e3812"]]), W_ = {
|
|
|
20514
20514
|
const l = ((d = s.value.split("/")[1]) == null ? void 0 : d.replace("jpeg", "jpg")) || "png", c = document.createElement("a");
|
|
20515
20515
|
c.href = n.value, c.download = `edited-banner.${l}`, c.click();
|
|
20516
20516
|
}
|
|
20517
|
-
return (l, c) => e.toolCall.name === "editMarketingBanner" && e.toolCall.state === "output-available" && e.toolCall.result ? (
|
|
20517
|
+
return (l, c) => e.toolCall.name === "editMarketingBanner" && e.toolCall.state === "output-available" && e.toolCall.result ? (w(), E("div", W_, [
|
|
20518
20518
|
v("div", I_, [
|
|
20519
|
-
i.value ? (
|
|
20519
|
+
i.value ? (w(), E("div", j_, "Loading…")) : r.value ? (w(), E("div", L_, "Failed to load image")) : (w(), E("img", {
|
|
20520
20520
|
key: 2,
|
|
20521
20521
|
src: n.value,
|
|
20522
20522
|
alt: "Edited Marketing Banner",
|
|
@@ -20524,8 +20524,8 @@ const z_ = /* @__PURE__ */ Ot(F_, [["__scopeId", "data-v-683e3812"]]), W_ = {
|
|
|
20524
20524
|
}, null, 8, C_))
|
|
20525
20525
|
]),
|
|
20526
20526
|
v("div", D_, [
|
|
20527
|
-
e.toolCall.result.headline ? (
|
|
20528
|
-
e.toolCall.result.caption ? (
|
|
20527
|
+
e.toolCall.result.headline ? (w(), E("p", O_, G(e.toolCall.result.headline), 1)) : (w(), E("p", Y_, "Edited Banner")),
|
|
20528
|
+
e.toolCall.result.caption ? (w(), E("p", B_, G(e.toolCall.result.caption), 1)) : (w(), E("p", Q_, " Your banner has been updated. Apply or download it. "))
|
|
20529
20529
|
]),
|
|
20530
20530
|
v("div", J_, [
|
|
20531
20531
|
v("button", {
|
|
@@ -20599,7 +20599,7 @@ const H_ = /* @__PURE__ */ Ot(P_, [["__scopeId", "data-v-fbb7d0f3"]]), X_ = {
|
|
|
20599
20599
|
})
|
|
20600
20600
|
);
|
|
20601
20601
|
}
|
|
20602
|
-
return (r, o) => e.toolCall.name === "editCopy" && e.toolCall.state === "output-available" && e.toolCall.result ? (
|
|
20602
|
+
return (r, o) => e.toolCall.name === "editCopy" && e.toolCall.state === "output-available" && e.toolCall.result ? (w(), E("div", X_, [
|
|
20603
20603
|
v("div", $_, [
|
|
20604
20604
|
o[0] || (o[0] = v("p", { class: "action-card__label" }, "Headline", -1)),
|
|
20605
20605
|
v("p", K_, G(e.toolCall.result.headline), 1),
|
|
@@ -20696,7 +20696,7 @@ const eU = /* @__PURE__ */ Ot(tU, [["__scopeId", "data-v-970975e4"]]), Gn = Jo("
|
|
|
20696
20696
|
emits: ["download", "expand"],
|
|
20697
20697
|
setup(e, { emit: t }) {
|
|
20698
20698
|
const n = t;
|
|
20699
|
-
return (s, i) => (
|
|
20699
|
+
return (s, i) => (w(), E("div", {
|
|
20700
20700
|
class: Vt(["export-card", `export-card--${e.variant}`])
|
|
20701
20701
|
}, [
|
|
20702
20702
|
v("div", nU, [
|
|
@@ -20738,9 +20738,9 @@ const eU = /* @__PURE__ */ Ot(tU, [["__scopeId", "data-v-970975e4"]]), Gn = Jo("
|
|
|
20738
20738
|
title: e.downloading ? "Preparing…" : e.downloadLabel,
|
|
20739
20739
|
onClick: i[1] || (i[1] = (r) => n("download"))
|
|
20740
20740
|
}, [
|
|
20741
|
-
e.downloading ? (
|
|
20741
|
+
e.downloading ? (w(), E("svg", dU, [...i[5] || (i[5] = [
|
|
20742
20742
|
v("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" }, null, -1)
|
|
20743
|
-
])])) : (
|
|
20743
|
+
])])) : (w(), E("svg", cU, [...i[4] || (i[4] = [
|
|
20744
20744
|
v("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }, null, -1),
|
|
20745
20745
|
v("polyline", { points: "7 10 12 15 17 10" }, null, -1),
|
|
20746
20746
|
v("line", {
|
|
@@ -20784,7 +20784,7 @@ const xp = /* @__PURE__ */ Ot(uU, [["__scopeId", "data-v-2f290d2e"]]), hU = { cl
|
|
|
20784
20784
|
}
|
|
20785
20785
|
}
|
|
20786
20786
|
}
|
|
20787
|
-
return (l, c) => i.value ? (
|
|
20787
|
+
return (l, c) => i.value ? (w(), At(xp, {
|
|
20788
20788
|
key: 0,
|
|
20789
20789
|
variant: "excel",
|
|
20790
20790
|
title: i.value.title,
|
|
@@ -20799,12 +20799,12 @@ const xp = /* @__PURE__ */ Ot(uU, [["__scopeId", "data-v-2f290d2e"]]), hU = { cl
|
|
|
20799
20799
|
v("table", hU, [
|
|
20800
20800
|
v("thead", null, [
|
|
20801
20801
|
v("tr", null, [
|
|
20802
|
-
(
|
|
20802
|
+
(w(!0), E(dt, null, gt(i.value.previewTable.headers, (d) => (w(), E("th", { key: d }, G(d), 1))), 128))
|
|
20803
20803
|
])
|
|
20804
20804
|
]),
|
|
20805
20805
|
v("tbody", null, [
|
|
20806
|
-
(
|
|
20807
|
-
(
|
|
20806
|
+
(w(!0), E(dt, null, gt(r.value, (d, u) => (w(), E("tr", { key: u }, [
|
|
20807
|
+
(w(!0), E(dt, null, gt(d, (p, h) => (w(), E("td", { key: h }, G(p), 1))), 128))
|
|
20808
20808
|
]))), 128))
|
|
20809
20809
|
])
|
|
20810
20810
|
])
|
|
@@ -20990,7 +20990,7 @@ const gU = { class: "sections" }, bU = {
|
|
|
20990
20990
|
function m(y) {
|
|
20991
20991
|
return y.rows.length > 5;
|
|
20992
20992
|
}
|
|
20993
|
-
return (y, N) => s.value ? (
|
|
20993
|
+
return (y, N) => s.value ? (w(), At(xp, {
|
|
20994
20994
|
key: 0,
|
|
20995
20995
|
variant: "docx",
|
|
20996
20996
|
title: s.value.artifact.title,
|
|
@@ -21003,10 +21003,10 @@ const gU = { class: "sections" }, bU = {
|
|
|
21003
21003
|
}, {
|
|
21004
21004
|
sheet: en(() => [
|
|
21005
21005
|
v("div", gU, [
|
|
21006
|
-
(
|
|
21006
|
+
(w(!0), E(dt, null, gt(s.value.artifact.sections, (R, V) => (w(), E(dt, {
|
|
21007
21007
|
key: R.id ?? String(V)
|
|
21008
21008
|
}, [
|
|
21009
|
-
R.type === "heading" ? (
|
|
21009
|
+
R.type === "heading" ? (w(), At(Qo(`h${R.level}`), {
|
|
21010
21010
|
key: 0,
|
|
21011
21011
|
class: Vt(["ds ds--heading", `ds--h${R.level}`])
|
|
21012
21012
|
}, {
|
|
@@ -21014,34 +21014,34 @@ const gU = { class: "sections" }, bU = {
|
|
|
21014
21014
|
ve(G(R.text), 1)
|
|
21015
21015
|
]),
|
|
21016
21016
|
_: 2
|
|
21017
|
-
}, 1032, ["class"])) : R.type === "paragraph" ? (
|
|
21018
|
-
(
|
|
21019
|
-
])) : R.type === "divider" ? (
|
|
21020
|
-
R.title ? (
|
|
21017
|
+
}, 1032, ["class"])) : R.type === "paragraph" ? (w(), E("p", bU, G(R.text), 1)) : R.type === "bullet-list" ? (w(), E("ul", yU, [
|
|
21018
|
+
(w(!0), E(dt, null, gt(R.items, (T, _) => (w(), E("li", { key: _ }, G(T), 1))), 128))
|
|
21019
|
+
])) : R.type === "divider" ? (w(), E("hr", NU)) : R.type === "table" && R.columns.length > 0 ? (w(), E("div", kU, [
|
|
21020
|
+
R.title ? (w(), E("p", vU, G(R.title), 1)) : lt("", !0),
|
|
21021
21021
|
v("table", RU, [
|
|
21022
21022
|
v("thead", null, [
|
|
21023
21023
|
v("tr", null, [
|
|
21024
|
-
(
|
|
21024
|
+
(w(!0), E(dt, null, gt(R.columns, (T) => (w(), E("th", {
|
|
21025
21025
|
key: T.id
|
|
21026
21026
|
}, G(T.label), 1))), 128))
|
|
21027
21027
|
])
|
|
21028
21028
|
]),
|
|
21029
21029
|
v("tbody", null, [
|
|
21030
|
-
(
|
|
21031
|
-
(
|
|
21030
|
+
(w(!0), E(dt, null, gt(g(R), (T, _) => (w(), E("tr", { key: _ }, [
|
|
21031
|
+
(w(!0), E(dt, null, gt(R.columns, (Z) => (w(), E("td", {
|
|
21032
21032
|
key: Z.id
|
|
21033
21033
|
}, G(l(T[Z.id])), 1))), 128))
|
|
21034
21034
|
]))), 128))
|
|
21035
21035
|
])
|
|
21036
21036
|
]),
|
|
21037
|
-
m(R) ? (
|
|
21038
|
-
])) : R.type === "chart" ? (
|
|
21039
|
-
R.chartConfig ? (
|
|
21037
|
+
m(R) ? (w(), E("p", MU, "+" + G(R.rows.length - 5) + " more rows in export", 1)) : lt("", !0)
|
|
21038
|
+
])) : R.type === "chart" ? (w(), E("div", VU, [
|
|
21039
|
+
R.chartConfig ? (w(), At(Er, {
|
|
21040
21040
|
key: 0,
|
|
21041
21041
|
ref_for: !0,
|
|
21042
21042
|
ref: (T) => o(R.id ?? R.queryId, T),
|
|
21043
21043
|
"chart-config": R.chartConfig
|
|
21044
|
-
}, null, 8, ["chart-config"])) : R.columns.length > 0 ? (
|
|
21044
|
+
}, null, 8, ["chart-config"])) : R.columns.length > 0 ? (w(), E("div", TU, [
|
|
21045
21045
|
v("div", _U, [
|
|
21046
21046
|
N[0] || (N[0] = v("svg", {
|
|
21047
21047
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -21078,21 +21078,21 @@ const gU = { class: "sections" }, bU = {
|
|
|
21078
21078
|
v("table", UU, [
|
|
21079
21079
|
v("thead", null, [
|
|
21080
21080
|
v("tr", null, [
|
|
21081
|
-
(
|
|
21081
|
+
(w(!0), E(dt, null, gt(R.columns, (T) => (w(), E("th", {
|
|
21082
21082
|
key: T.id
|
|
21083
21083
|
}, G(T.label), 1))), 128))
|
|
21084
21084
|
])
|
|
21085
21085
|
]),
|
|
21086
21086
|
v("tbody", null, [
|
|
21087
|
-
(
|
|
21088
|
-
(
|
|
21087
|
+
(w(!0), E(dt, null, gt(g(R), (T, _) => (w(), E("tr", { key: _ }, [
|
|
21088
|
+
(w(!0), E(dt, null, gt(R.columns, (Z) => (w(), E("td", {
|
|
21089
21089
|
key: Z.id
|
|
21090
21090
|
}, G(l(T[Z.id])), 1))), 128))
|
|
21091
21091
|
]))), 128))
|
|
21092
21092
|
])
|
|
21093
21093
|
])
|
|
21094
21094
|
])) : lt("", !0)
|
|
21095
|
-
])) : R.type === "rca-insight" ? (
|
|
21095
|
+
])) : R.type === "rca-insight" ? (w(), E("div", xU, [
|
|
21096
21096
|
v("div", SU, [
|
|
21097
21097
|
v("p", wU, "RCA — " + G(R.periodLabel) + " vs " + G(R.baselineLabel), 1),
|
|
21098
21098
|
v("span", {
|
|
@@ -21109,7 +21109,7 @@ const gU = { class: "sections" }, bU = {
|
|
|
21109
21109
|
])
|
|
21110
21110
|
], -1)),
|
|
21111
21111
|
v("tbody", null, [
|
|
21112
|
-
(
|
|
21112
|
+
(w(!0), E(dt, null, gt(p(R), (T) => (w(), E("tr", {
|
|
21113
21113
|
key: T.metric
|
|
21114
21114
|
}, [
|
|
21115
21115
|
v("td", null, G(T.metric), 1),
|
|
@@ -21118,9 +21118,9 @@ const gU = { class: "sections" }, bU = {
|
|
|
21118
21118
|
]))), 128))
|
|
21119
21119
|
])
|
|
21120
21120
|
]),
|
|
21121
|
-
u(R).length ? (
|
|
21121
|
+
u(R).length ? (w(), E("div", FU, [
|
|
21122
21122
|
N[2] || (N[2] = v("p", { class: "ds__caption" }, "Drivers", -1)),
|
|
21123
|
-
(
|
|
21123
|
+
(w(!0), E(dt, null, gt(u(R), (T, _) => (w(), E("div", {
|
|
21124
21124
|
key: _,
|
|
21125
21125
|
class: "ds__driver-group"
|
|
21126
21126
|
}, [
|
|
@@ -21129,15 +21129,15 @@ const gU = { class: "sections" }, bU = {
|
|
|
21129
21129
|
ve(" " + G(T.label) + " ", 1),
|
|
21130
21130
|
v("span", WU, "(" + G(T.confidence) + " confidence)", 1)
|
|
21131
21131
|
]),
|
|
21132
|
-
T.evidence.length ? (
|
|
21133
|
-
(
|
|
21132
|
+
T.evidence.length ? (w(), E("ul", IU, [
|
|
21133
|
+
(w(!0), E(dt, null, gt(T.evidence.slice(0, 3), (Z, F) => (w(), E("li", { key: F }, G(Z), 1))), 128))
|
|
21134
21134
|
])) : lt("", !0)
|
|
21135
21135
|
]))), 128))
|
|
21136
21136
|
])) : lt("", !0),
|
|
21137
|
-
R.gaps.length ? (
|
|
21137
|
+
R.gaps.length ? (w(), E("div", jU, [
|
|
21138
21138
|
N[3] || (N[3] = v("p", { class: "ds__caption" }, "Data Gaps & Caveats", -1)),
|
|
21139
21139
|
v("ul", LU, [
|
|
21140
|
-
(
|
|
21140
|
+
(w(!0), E(dt, null, gt(R.gaps, (T, _) => (w(), E("li", { key: _ }, G(T), 1))), 128))
|
|
21141
21141
|
])
|
|
21142
21142
|
])) : lt("", !0)
|
|
21143
21143
|
])) : lt("", !0)
|
|
@@ -21225,7 +21225,7 @@ const DU = /* @__PURE__ */ Ot(CU, [["__scopeId", "data-v-85757b8f"]]), OU = { ke
|
|
|
21225
21225
|
return (((u = n.value) == null ? void 0 : u.drivers) ?? []).filter((p) => p.rank === "unconfirmed");
|
|
21226
21226
|
}
|
|
21227
21227
|
);
|
|
21228
|
-
return (u, p) => n.value ? (
|
|
21228
|
+
return (u, p) => n.value ? (w(), E("div", OU, [
|
|
21229
21229
|
p[5] || (p[5] = v("div", { class: "mt-3 mb-1 flex gap-2 justify-start items-center" }, [
|
|
21230
21230
|
v("span", { class: "rca-card__icon" }, "🔍"),
|
|
21231
21231
|
v("span", { class: "font-bold" }, "Root cause summary:")
|
|
@@ -21240,8 +21240,8 @@ const DU = /* @__PURE__ */ Ot(CU, [["__scopeId", "data-v-85757b8f"]]), OU = { ke
|
|
|
21240
21240
|
]),
|
|
21241
21241
|
v("p", AU, G(n.value.headline), 1)
|
|
21242
21242
|
]),
|
|
21243
|
-
l.value ? (
|
|
21244
|
-
n.value.decomposition.orderCount ? (
|
|
21243
|
+
l.value ? (w(), E("div", GU, [
|
|
21244
|
+
n.value.decomposition.orderCount ? (w(), E(dt, { key: 0 }, [
|
|
21245
21245
|
v("span", PU, [
|
|
21246
21246
|
p[0] || (p[0] = v("span", { class: "decomp__label" }, "Orders", -1)),
|
|
21247
21247
|
v("span", {
|
|
@@ -21250,7 +21250,7 @@ const DU = /* @__PURE__ */ Ot(CU, [["__scopeId", "data-v-85757b8f"]]), OU = { ke
|
|
|
21250
21250
|
]),
|
|
21251
21251
|
p[1] || (p[1] = v("span", { class: "decomp__op" }, "×", -1))
|
|
21252
21252
|
], 64)) : lt("", !0),
|
|
21253
|
-
n.value.decomposition.aov ? (
|
|
21253
|
+
n.value.decomposition.aov ? (w(), E("span", HU, [
|
|
21254
21254
|
p[2] || (p[2] = v("span", { class: "decomp__label" }, "AOV", -1)),
|
|
21255
21255
|
v("span", {
|
|
21256
21256
|
class: Vt(["decomp__delta", n.value.decomposition.aov.deltaPct >= 0 ? "delta--up" : "delta--down"])
|
|
@@ -21265,7 +21265,7 @@ const DU = /* @__PURE__ */ Ot(CU, [["__scopeId", "data-v-85757b8f"]]), OU = { ke
|
|
|
21265
21265
|
])
|
|
21266
21266
|
])) : lt("", !0),
|
|
21267
21267
|
v("div", KU, [
|
|
21268
|
-
(
|
|
21268
|
+
(w(!0), E(dt, null, gt(c.value, (h, b) => (w(), E("div", {
|
|
21269
21269
|
key: b,
|
|
21270
21270
|
class: "driver"
|
|
21271
21271
|
}, [
|
|
@@ -21291,17 +21291,17 @@ const DU = /* @__PURE__ */ Ot(CU, [["__scopeId", "data-v-85757b8f"]]), OU = { ke
|
|
|
21291
21291
|
}, "›", 2)
|
|
21292
21292
|
])
|
|
21293
21293
|
], 8, qU),
|
|
21294
|
-
s.value.has(b) && h.evidence.length ? (
|
|
21295
|
-
(
|
|
21294
|
+
s.value.has(b) && h.evidence.length ? (w(), E("ul", ix, [
|
|
21295
|
+
(w(!0), E(dt, null, gt(h.evidence.slice(0, 3), (f, g) => (w(), E("li", { key: g }, G(f), 1))), 128))
|
|
21296
21296
|
])) : lt("", !0)
|
|
21297
21297
|
]))), 128)),
|
|
21298
|
-
d.value.length ? (
|
|
21298
|
+
d.value.length ? (w(), E("div", rx, [
|
|
21299
21299
|
p[4] || (p[4] = v("span", { class: "driver__rank rank--unconfirmed" }, "UNCONFIRMED", -1)),
|
|
21300
21300
|
v("span", ox, G(d.value.map((h) => h.label).join(", ")), 1)
|
|
21301
21301
|
])) : lt("", !0)
|
|
21302
21302
|
]),
|
|
21303
|
-
n.value.gaps.length ? (
|
|
21304
|
-
(
|
|
21303
|
+
n.value.gaps.length ? (w(), E("div", ax, [
|
|
21304
|
+
(w(!0), E(dt, null, gt(n.value.gaps, (h, b) => (w(), E("span", {
|
|
21305
21305
|
key: b,
|
|
21306
21306
|
class: "gap-chip"
|
|
21307
21307
|
}, "⚠ " + G(h), 1))), 128))
|
|
@@ -21331,7 +21331,7 @@ const cx = /* @__PURE__ */ Ot(lx, [["__scopeId", "data-v-9b8e3b15"]]), dx = { cl
|
|
|
21331
21331
|
}
|
|
21332
21332
|
return (i, r) => {
|
|
21333
21333
|
var o;
|
|
21334
|
-
return e.toolCall.name === "offerNavigation" && e.toolCall.state === "output-available" && ((o = e.toolCall.result) == null ? void 0 : o.shouldOffer) === !0 ? (
|
|
21334
|
+
return e.toolCall.name === "offerNavigation" && e.toolCall.state === "output-available" && ((o = e.toolCall.result) == null ? void 0 : o.shouldOffer) === !0 ? (w(), E("button", {
|
|
21335
21335
|
key: 0,
|
|
21336
21336
|
type: "button",
|
|
21337
21337
|
class: "offer-nav",
|
|
@@ -21360,7 +21360,7 @@ const cx = /* @__PURE__ */ Ot(lx, [["__scopeId", "data-v-9b8e3b15"]]), dx = { cl
|
|
|
21360
21360
|
};
|
|
21361
21361
|
}
|
|
21362
21362
|
});
|
|
21363
|
-
const hx = /* @__PURE__ */ Ot(ux, [["__scopeId", "data-v-
|
|
21363
|
+
const hx = /* @__PURE__ */ Ot(ux, [["__scopeId", "data-v-8d689b03"]]), px = { class: "amsg" }, fx = { class: "amsg__body" }, mx = { class: "amsg__header" }, gx = {
|
|
21364
21364
|
key: 0,
|
|
21365
21365
|
class: "amsg__dots",
|
|
21366
21366
|
"aria-label": "Typing"
|
|
@@ -21435,53 +21435,53 @@ const hx = /* @__PURE__ */ Ot(ux, [["__scopeId", "data-v-10ae4539"]]), px = { cl
|
|
|
21435
21435
|
});
|
|
21436
21436
|
return (l, c) => {
|
|
21437
21437
|
var d, u;
|
|
21438
|
-
return
|
|
21438
|
+
return w(), E("div", px, [
|
|
21439
21439
|
v("div", fx, [
|
|
21440
21440
|
v("div", mx, [
|
|
21441
21441
|
c[1] || (c[1] = v("span", { class: "amsg__name" }, "Remy", -1)),
|
|
21442
|
-
e.message.isStreaming ? (
|
|
21442
|
+
e.message.isStreaming ? (w(), E("span", gx, [...c[0] || (c[0] = [
|
|
21443
21443
|
v("span", null, null, -1),
|
|
21444
21444
|
v("span", null, null, -1),
|
|
21445
21445
|
v("span", null, null, -1)
|
|
21446
|
-
])])) : (
|
|
21446
|
+
])])) : (w(), E("span", bx, G(n.value), 1))
|
|
21447
21447
|
]),
|
|
21448
|
-
(d = e.message.toolCalls) != null && d.length ? (
|
|
21448
|
+
(d = e.message.toolCalls) != null && d.length ? (w(), At(CT, {
|
|
21449
21449
|
key: 0,
|
|
21450
21450
|
"tool-calls": e.message.toolCalls
|
|
21451
21451
|
}, null, 8, ["tool-calls"])) : lt("", !0),
|
|
21452
|
-
e.message.retrievedFacts ? (
|
|
21452
|
+
e.message.retrievedFacts ? (w(), At(QT, {
|
|
21453
21453
|
key: 1,
|
|
21454
21454
|
facts: e.message.retrievedFacts
|
|
21455
21455
|
}, null, 8, ["facts"])) : lt("", !0),
|
|
21456
|
-
a.value.length > 0 ? (
|
|
21456
|
+
a.value.length > 0 ? (w(!0), E(dt, { key: 2 }, gt(a.value, (p, h) => (w(), E(dt, {
|
|
21457
21457
|
key: p.type === "chart" ? `chart-${p.queryId}-${h}` : `text-${h}`
|
|
21458
21458
|
}, [
|
|
21459
|
-
p.type === "text" && p.text.trim() ? (
|
|
21459
|
+
p.type === "text" && p.text.trim() ? (w(), At(Uo, {
|
|
21460
21460
|
key: 0,
|
|
21461
21461
|
content: p.text,
|
|
21462
21462
|
"is-streaming": e.message.isStreaming
|
|
21463
|
-
}, null, 8, ["content", "is-streaming"])) : p.type === "chart" && r.value.has(p.queryId) ? (
|
|
21463
|
+
}, null, 8, ["content", "is-streaming"])) : p.type === "chart" && r.value.has(p.queryId) ? (w(), At(Er, {
|
|
21464
21464
|
key: 1,
|
|
21465
21465
|
"tool-call": r.value.get(p.queryId)
|
|
21466
|
-
}, null, 8, ["tool-call"])) : p.type === "chart" && e.message.isStreaming ? (
|
|
21466
|
+
}, null, 8, ["tool-call"])) : p.type === "chart" && e.message.isStreaming ? (w(), E("div", yx, [...c[2] || (c[2] = [
|
|
21467
21467
|
v("div", { class: "chart-skeleton__title" }, null, -1),
|
|
21468
21468
|
v("div", { class: "chart-skeleton__canvas" }, null, -1),
|
|
21469
21469
|
v("div", { class: "chart-skeleton__summary" }, [
|
|
21470
21470
|
v("div"),
|
|
21471
21471
|
v("div")
|
|
21472
21472
|
], -1)
|
|
21473
|
-
])])) : p.type === "chart" ? (
|
|
21474
|
-
], 64))), 128)) : e.message.content ? (
|
|
21473
|
+
])])) : p.type === "chart" ? (w(), E("span", Nx, "Chart unavailable")) : lt("", !0)
|
|
21474
|
+
], 64))), 128)) : e.message.content ? (w(), At(Uo, {
|
|
21475
21475
|
key: 3,
|
|
21476
21476
|
content: e.message.content,
|
|
21477
21477
|
"is-streaming": e.message.isStreaming
|
|
21478
21478
|
}, null, 8, ["content", "is-streaming"])) : lt("", !0),
|
|
21479
|
-
e.message.isStreaming && o.value && !((u = e.message.content) != null && u.trim()) ? (
|
|
21479
|
+
e.message.isStreaming && o.value && !((u = e.message.content) != null && u.trim()) ? (w(), E("div", kx, [...c[3] || (c[3] = [
|
|
21480
21480
|
v("span", { class: "amsg__preparing-dot" }, null, -1),
|
|
21481
21481
|
v("span", { class: "amsg__preparing-dot" }, null, -1),
|
|
21482
21482
|
v("span", { class: "amsg__preparing-dot" }, null, -1)
|
|
21483
21483
|
])])) : lt("", !0),
|
|
21484
|
-
(
|
|
21484
|
+
(w(!0), E(dt, null, gt(e.message.toolCalls, (p) => (w(), E(dt, {
|
|
21485
21485
|
key: p.id
|
|
21486
21486
|
}, [
|
|
21487
21487
|
ie(KT, { "tool-call": p }, null, 8, ["tool-call"]),
|
|
@@ -21495,7 +21495,7 @@ const hx = /* @__PURE__ */ Ot(ux, [["__scopeId", "data-v-10ae4539"]]), px = { cl
|
|
|
21495
21495
|
ie(DU, { "tool-call": p }, null, 8, ["tool-call"]),
|
|
21496
21496
|
ie(cx, { "tool-call": p }, null, 8, ["tool-call"]),
|
|
21497
21497
|
ie(hx, { "tool-call": p }, null, 8, ["tool-call"]),
|
|
21498
|
-
p.name === "navigate" && p.state === "output-available" && p.result ? (
|
|
21498
|
+
p.name === "navigate" && p.state === "output-available" && p.result ? (w(), E("div", vx, " → Navigated to " + G(p.result.pageName), 1)) : lt("", !0)
|
|
21499
21499
|
], 64))), 128))
|
|
21500
21500
|
])
|
|
21501
21501
|
]);
|
|
@@ -21589,12 +21589,12 @@ const Mx = /* @__PURE__ */ Ot(Rx, [["__scopeId", "data-v-5b9d5976"]]), Vx = {
|
|
|
21589
21589
|
(m) => {
|
|
21590
21590
|
p !== null && (cancelAnimationFrame(p), p = null), m ? p = requestAnimationFrame(g) : Ke().then(() => h());
|
|
21591
21591
|
}
|
|
21592
|
-
), (m, y) => (
|
|
21592
|
+
), (m, y) => (w(), E("div", {
|
|
21593
21593
|
ref_key: "messagesContainer",
|
|
21594
21594
|
ref: i,
|
|
21595
21595
|
class: "msgs"
|
|
21596
21596
|
}, [
|
|
21597
|
-
e.messages.length === 0 ? (
|
|
21597
|
+
e.messages.length === 0 ? (w(), E("div", Vx, [
|
|
21598
21598
|
y[0] || (y[0] = v("div", { class: "msgs__empty-icon" }, [
|
|
21599
21599
|
v("svg", {
|
|
21600
21600
|
width: "28",
|
|
@@ -21613,7 +21613,7 @@ const Mx = /* @__PURE__ */ Ot(Rx, [["__scopeId", "data-v-5b9d5976"]]), Vx = {
|
|
|
21613
21613
|
y[1] || (y[1] = v("p", { class: "msgs__empty-sub" }, "Ask me anything about your business", -1))
|
|
21614
21614
|
])) : lt("", !0),
|
|
21615
21615
|
v("div", _x, [
|
|
21616
|
-
bt(s).isLoadingMoreMessages ? (
|
|
21616
|
+
bt(s).isLoadingMoreMessages ? (w(), E(dt, { key: 0 }, gt(3, (N) => v("div", {
|
|
21617
21617
|
key: `msg-skeleton-${N}`,
|
|
21618
21618
|
class: "msgs__skeleton"
|
|
21619
21619
|
}, [...y[2] || (y[2] = [
|
|
@@ -21623,14 +21623,14 @@ const Mx = /* @__PURE__ */ Ot(Rx, [["__scopeId", "data-v-5b9d5976"]]), Vx = {
|
|
|
21623
21623
|
v("div", { class: "msgs__skeleton-line msgs__skeleton-line--short" })
|
|
21624
21624
|
], -1)
|
|
21625
21625
|
])])), 64)) : lt("", !0),
|
|
21626
|
-
(
|
|
21626
|
+
(w(!0), E(dt, null, gt(e.messages, (N) => (w(), E("div", {
|
|
21627
21627
|
key: N.id,
|
|
21628
21628
|
class: "msgs__item"
|
|
21629
21629
|
}, [
|
|
21630
|
-
N.role === "user" ? (
|
|
21630
|
+
N.role === "user" ? (w(), At(xk, {
|
|
21631
21631
|
key: 0,
|
|
21632
21632
|
message: N
|
|
21633
|
-
}, null, 8, ["message"])) : (
|
|
21633
|
+
}, null, 8, ["message"])) : (w(), At(Mx, {
|
|
21634
21634
|
key: 1,
|
|
21635
21635
|
message: N
|
|
21636
21636
|
}, null, 8, ["message"]))
|
|
@@ -21677,7 +21677,7 @@ const wx = { class: "ctx-popup" }, Zx = { class: "ctx-header" }, Ex = { class: "
|
|
|
21677
21677
|
emits: ["close"],
|
|
21678
21678
|
setup(e) {
|
|
21679
21679
|
const t = at(!1), n = at(!1);
|
|
21680
|
-
return (s, i) => (
|
|
21680
|
+
return (s, i) => (w(), E("div", wx, [
|
|
21681
21681
|
v("div", Zx, [
|
|
21682
21682
|
i[4] || (i[4] = v("span", { class: "ctx-title" }, "Context", -1)),
|
|
21683
21683
|
v("button", {
|
|
@@ -21716,7 +21716,7 @@ const wx = { class: "ctx-popup" }, Zx = { class: "ctx-header" }, Ex = { class: "
|
|
|
21716
21716
|
class: Vt(["ctx-dot", e.snapshot.factsCount > 0 ? "ctx-dot--on" : "ctx-dot--off"])
|
|
21717
21717
|
}, null, 2),
|
|
21718
21718
|
i[5] || (i[5] = v("span", { class: "ctx-label" }, "Facts", -1)),
|
|
21719
|
-
e.snapshot.factsCount > 0 ? (
|
|
21719
|
+
e.snapshot.factsCount > 0 ? (w(), E("span", zx, G(e.snapshot.factsCount), 1)) : lt("", !0)
|
|
21720
21720
|
]),
|
|
21721
21721
|
v("div", Wx, [
|
|
21722
21722
|
v("span", {
|
|
@@ -21732,17 +21732,17 @@ const wx = { class: "ctx-popup" }, Zx = { class: "ctx-header" }, Ex = { class: "
|
|
|
21732
21732
|
class: Vt(["ctx-dot", e.snapshot.skillLoaded ? "ctx-dot--on" : "ctx-dot--off"])
|
|
21733
21733
|
}, null, 2),
|
|
21734
21734
|
i[7] || (i[7] = v("span", { class: "ctx-label" }, "Skill", -1)),
|
|
21735
|
-
e.snapshot.skillLoaded ? (
|
|
21736
|
-
e.snapshot.skillLoaded ? (
|
|
21735
|
+
e.snapshot.skillLoaded ? (w(), E("span", Ix, G(e.snapshot.skillNames.length || 1), 1)) : lt("", !0),
|
|
21736
|
+
e.snapshot.skillLoaded ? (w(), E("span", {
|
|
21737
21737
|
key: 1,
|
|
21738
21738
|
class: Vt(["ctx-chevron", { "ctx-chevron--open": t.value }])
|
|
21739
21739
|
}, "▾", 2)) : lt("", !0)
|
|
21740
21740
|
], 2),
|
|
21741
|
-
e.snapshot.skillLoaded && t.value ? (
|
|
21742
|
-
e.snapshot.skillNames.length ? (
|
|
21741
|
+
e.snapshot.skillLoaded && t.value ? (w(), E("div", jx, [
|
|
21742
|
+
e.snapshot.skillNames.length ? (w(!0), E(dt, { key: 0 }, gt(e.snapshot.skillNames, (r) => (w(), E("span", {
|
|
21743
21743
|
key: r,
|
|
21744
21744
|
class: "ctx-tag"
|
|
21745
|
-
}, G(r), 1))), 128)) : (
|
|
21745
|
+
}, G(r), 1))), 128)) : (w(), E("span", Lx, "unknown"))
|
|
21746
21746
|
])) : lt("", !0),
|
|
21747
21747
|
v("div", {
|
|
21748
21748
|
class: Vt(["ctx-row", { "ctx-row--clickable": e.snapshot.toolsUsed.length > 0 }]),
|
|
@@ -21752,14 +21752,14 @@ const wx = { class: "ctx-popup" }, Zx = { class: "ctx-header" }, Ex = { class: "
|
|
|
21752
21752
|
class: Vt(["ctx-dot", e.snapshot.toolsUsed.length > 0 ? "ctx-dot--on" : "ctx-dot--off"])
|
|
21753
21753
|
}, null, 2),
|
|
21754
21754
|
i[8] || (i[8] = v("span", { class: "ctx-label" }, "Tools", -1)),
|
|
21755
|
-
e.snapshot.toolsUsed.length > 0 ? (
|
|
21756
|
-
e.snapshot.toolsUsed.length > 0 ? (
|
|
21755
|
+
e.snapshot.toolsUsed.length > 0 ? (w(), E("span", Cx, G(e.snapshot.toolsUsed.length), 1)) : lt("", !0),
|
|
21756
|
+
e.snapshot.toolsUsed.length > 0 ? (w(), E("span", {
|
|
21757
21757
|
key: 1,
|
|
21758
21758
|
class: Vt(["ctx-chevron", { "ctx-chevron--open": n.value }])
|
|
21759
21759
|
}, "▾", 2)) : lt("", !0)
|
|
21760
21760
|
], 2),
|
|
21761
|
-
e.snapshot.toolsUsed.length > 0 && n.value ? (
|
|
21762
|
-
(
|
|
21761
|
+
e.snapshot.toolsUsed.length > 0 && n.value ? (w(), E("div", Dx, [
|
|
21762
|
+
(w(!0), E(dt, null, gt(e.snapshot.toolsUsed, (r) => (w(), E("span", {
|
|
21763
21763
|
key: r,
|
|
21764
21764
|
class: "ctx-tag"
|
|
21765
21765
|
}, G(r), 1))), 128))
|
|
@@ -21934,7 +21934,7 @@ const Yx = /* @__PURE__ */ Ot(Ox, [["__scopeId", "data-v-dd1b37fb"]]), Bx = { cl
|
|
|
21934
21934
|
for (const C of Array.from(L))
|
|
21935
21935
|
await M(C);
|
|
21936
21936
|
}
|
|
21937
|
-
function
|
|
21937
|
+
function S() {
|
|
21938
21938
|
var A;
|
|
21939
21939
|
(A = u.value) == null || A.click();
|
|
21940
21940
|
}
|
|
@@ -22015,7 +22015,7 @@ const Yx = /* @__PURE__ */ Ot(Ox, [["__scopeId", "data-v-dd1b37fb"]]), Bx = { cl
|
|
|
22015
22015
|
}
|
|
22016
22016
|
A.key === "Enter" && !A.shiftKey && (A.preventDefault(), $());
|
|
22017
22017
|
}
|
|
22018
|
-
return (A, L) => (
|
|
22018
|
+
return (A, L) => (w(), E("div", Bx, [
|
|
22019
22019
|
v("input", {
|
|
22020
22020
|
ref_key: "fileInputRef",
|
|
22021
22021
|
ref: u,
|
|
@@ -22026,8 +22026,8 @@ const Yx = /* @__PURE__ */ Ot(Ox, [["__scopeId", "data-v-dd1b37fb"]]), Bx = { cl
|
|
|
22026
22026
|
onChange: I
|
|
22027
22027
|
}, null, 544),
|
|
22028
22028
|
v("div", Qx, [
|
|
22029
|
-
V.value ? (
|
|
22030
|
-
(
|
|
22029
|
+
V.value ? (w(), E("div", Jx, [
|
|
22030
|
+
(w(!0), E(dt, null, gt(R.value, (et, C) => (w(), E("button", {
|
|
22031
22031
|
key: et.command,
|
|
22032
22032
|
type: "button",
|
|
22033
22033
|
class: Vt(["composer__slash-item", { "composer__slash-item--active": C === h.value }]),
|
|
@@ -22046,7 +22046,7 @@ const Yx = /* @__PURE__ */ Ot(Ox, [["__scopeId", "data-v-dd1b37fb"]]), Bx = { cl
|
|
|
22046
22046
|
onDragleave: j,
|
|
22047
22047
|
onDrop: K
|
|
22048
22048
|
}, [
|
|
22049
|
-
b.value ? (
|
|
22049
|
+
b.value ? (w(), E("div", Hx, [
|
|
22050
22050
|
v("span", Xx, G(b.value.name), 1),
|
|
22051
22051
|
v("button", {
|
|
22052
22052
|
class: "composer__command-chip-clear",
|
|
@@ -22081,8 +22081,8 @@ const Yx = /* @__PURE__ */ Ot(Ox, [["__scopeId", "data-v-dd1b37fb"]]), Bx = { cl
|
|
|
22081
22081
|
], -1)
|
|
22082
22082
|
])], 8, $x)
|
|
22083
22083
|
])) : lt("", !0),
|
|
22084
|
-
l.value.length ? (
|
|
22085
|
-
(
|
|
22084
|
+
l.value.length ? (w(), E("div", Kx, [
|
|
22085
|
+
(w(!0), E(dt, null, gt(l.value, (et, C) => (w(), E("div", {
|
|
22086
22086
|
key: C,
|
|
22087
22087
|
class: "composer__preview"
|
|
22088
22088
|
}, [
|
|
@@ -22139,7 +22139,7 @@ const Yx = /* @__PURE__ */ Ot(Ox, [["__scopeId", "data-v-dd1b37fb"]]), Bx = { cl
|
|
|
22139
22139
|
class: "composer__attach",
|
|
22140
22140
|
disabled: bt(i).isStreaming,
|
|
22141
22141
|
type: "button",
|
|
22142
|
-
onClick:
|
|
22142
|
+
onClick: S,
|
|
22143
22143
|
"aria-label": "Attach image"
|
|
22144
22144
|
}, [...L[6] || (L[6] = [
|
|
22145
22145
|
v("svg", {
|
|
@@ -22166,7 +22166,7 @@ const Yx = /* @__PURE__ */ Ot(Ox, [["__scopeId", "data-v-dd1b37fb"]]), Bx = { cl
|
|
|
22166
22166
|
})
|
|
22167
22167
|
], -1)
|
|
22168
22168
|
])], 8, sS),
|
|
22169
|
-
bt(i).isStreaming ? (
|
|
22169
|
+
bt(i).isStreaming ? (w(), E("button", {
|
|
22170
22170
|
key: 0,
|
|
22171
22171
|
class: "composer__send composer__send--active composer__stop",
|
|
22172
22172
|
type: "button",
|
|
@@ -22187,7 +22187,7 @@ const Yx = /* @__PURE__ */ Ot(Ox, [["__scopeId", "data-v-dd1b37fb"]]), Bx = { cl
|
|
|
22187
22187
|
rx: "2"
|
|
22188
22188
|
})
|
|
22189
22189
|
], -1)
|
|
22190
|
-
])])) : (
|
|
22190
|
+
])])) : (w(), E("button", {
|
|
22191
22191
|
key: 1,
|
|
22192
22192
|
class: Vt(["composer__send", { "composer__send--active": g.value }]),
|
|
22193
22193
|
disabled: m.value,
|
|
@@ -22195,9 +22195,9 @@ const Yx = /* @__PURE__ */ Ot(Ox, [["__scopeId", "data-v-dd1b37fb"]]), Bx = { cl
|
|
|
22195
22195
|
onClick: $,
|
|
22196
22196
|
"aria-label": c.value ? "Uploading image…" : "Send message"
|
|
22197
22197
|
}, [
|
|
22198
|
-
c.value ? (
|
|
22198
|
+
c.value ? (w(), E("svg", rS, [...L[8] || (L[8] = [
|
|
22199
22199
|
v("path", { d: "M12 2a10 10 0 0 1 10 10" }, null, -1)
|
|
22200
|
-
])])) : (
|
|
22200
|
+
])])) : (w(), E("svg", oS, [...L[9] || (L[9] = [
|
|
22201
22201
|
v("path", { d: "M5 12h14" }, null, -1),
|
|
22202
22202
|
v("path", { d: "m12 5 7 7-7 7" }, null, -1)
|
|
22203
22203
|
])]))
|
|
@@ -22213,7 +22213,7 @@ const Yx = /* @__PURE__ */ Ot(Ox, [["__scopeId", "data-v-dd1b37fb"]]), Bx = { cl
|
|
|
22213
22213
|
ref: n,
|
|
22214
22214
|
class: "composer__context-anchor"
|
|
22215
22215
|
}, [
|
|
22216
|
-
bt(i).lastContextSnapshot ? (
|
|
22216
|
+
bt(i).lastContextSnapshot ? (w(), E("button", {
|
|
22217
22217
|
key: 0,
|
|
22218
22218
|
class: Vt(["composer__context-btn", { "composer__context-btn--active": t.value }]),
|
|
22219
22219
|
onClick: L[2] || (L[2] = (et) => t.value = !t.value),
|
|
@@ -22275,11 +22275,11 @@ const dS = /* @__PURE__ */ Ot(cS, [["__scopeId", "data-v-936c6db4"]]), uS = { cl
|
|
|
22275
22275
|
return h > 0 ? `${h}d ago` : p > 0 ? `${p}h ago` : u > 0 ? `${u}m ago` : "Just now";
|
|
22276
22276
|
}
|
|
22277
22277
|
const o = ft(() => [...t.conversations].sort((a, l) => l.lastMessageAt - a.lastMessageAt));
|
|
22278
|
-
return (a, l) => (
|
|
22279
|
-
bt(t).isLoadingConversations ? (
|
|
22278
|
+
return (a, l) => (w(), E("div", uS, [
|
|
22279
|
+
bt(t).isLoadingConversations ? (w(), E("div", hS, [...l[0] || (l[0] = [
|
|
22280
22280
|
v("div", { class: "cl__spinner" }, null, -1),
|
|
22281
22281
|
v("p", { class: "cl__loading-text" }, "Loading conversations...", -1)
|
|
22282
|
-
])])) : o.value.length === 0 ? (
|
|
22282
|
+
])])) : o.value.length === 0 ? (w(), E("div", pS, [...l[1] || (l[1] = [
|
|
22283
22283
|
v("svg", {
|
|
22284
22284
|
class: "cl__empty-icon",
|
|
22285
22285
|
width: "48",
|
|
@@ -22295,13 +22295,13 @@ const dS = /* @__PURE__ */ Ot(cS, [["__scopeId", "data-v-936c6db4"]]), uS = { cl
|
|
|
22295
22295
|
], -1),
|
|
22296
22296
|
v("p", { class: "cl__empty-title" }, "No conversations yet", -1),
|
|
22297
22297
|
v("p", { class: "cl__empty-text" }, "Type a message below to start chatting with Remy AI", -1)
|
|
22298
|
-
])])) : (
|
|
22298
|
+
])])) : (w(), E("div", {
|
|
22299
22299
|
key: 2,
|
|
22300
22300
|
class: "cl__list",
|
|
22301
22301
|
ref_key: "listRef",
|
|
22302
22302
|
ref: n
|
|
22303
22303
|
}, [
|
|
22304
|
-
(
|
|
22304
|
+
(w(!0), E(dt, null, gt(o.value, (c) => (w(), E("button", {
|
|
22305
22305
|
key: c.id,
|
|
22306
22306
|
class: "cl__item",
|
|
22307
22307
|
onClick: (d) => i(c.id)
|
|
@@ -22338,7 +22338,7 @@ const dS = /* @__PURE__ */ Ot(cS, [["__scopeId", "data-v-936c6db4"]]), uS = { cl
|
|
|
22338
22338
|
v("polyline", { points: "9 18 15 12 9 6" })
|
|
22339
22339
|
], -1))
|
|
22340
22340
|
], 8, fS))), 128)),
|
|
22341
|
-
bt(t).isLoadingMoreConversations ? (
|
|
22341
|
+
bt(t).isLoadingMoreConversations ? (w(), E(dt, { key: 0 }, gt(3, (c) => v("div", {
|
|
22342
22342
|
key: `skeleton-${c}`,
|
|
22343
22343
|
class: "cl__skeleton"
|
|
22344
22344
|
}, [...l[4] || (l[4] = [
|
|
@@ -22534,21 +22534,21 @@ const NS = /* @__PURE__ */ Ot(yS, [["__scopeId", "data-v-55ea424c"]]), kS = { cl
|
|
|
22534
22534
|
}
|
|
22535
22535
|
}
|
|
22536
22536
|
}
|
|
22537
|
-
return (g, m) => (
|
|
22537
|
+
return (g, m) => (w(), E("div", kS, [
|
|
22538
22538
|
v("div", vS, [
|
|
22539
22539
|
m[2] || (m[2] = v("span", { class: "ps__label" }, "Preview", -1)),
|
|
22540
22540
|
v("div", RS, [
|
|
22541
|
-
n.value ? (
|
|
22542
|
-
n.value || i.value ? (
|
|
22541
|
+
n.value ? (w(), E("span", MS, "DOCX")) : i.value ? (w(), E("span", VS, "XLSX")) : lt("", !0),
|
|
22542
|
+
n.value || i.value ? (w(), E("button", {
|
|
22543
22543
|
key: 2,
|
|
22544
22544
|
class: "ps__dl-btn",
|
|
22545
22545
|
disabled: b.value,
|
|
22546
22546
|
title: b.value ? "Preparing…" : "Export",
|
|
22547
22547
|
onClick: f
|
|
22548
22548
|
}, [
|
|
22549
|
-
b.value ? (
|
|
22549
|
+
b.value ? (w(), E("svg", US, [...m[1] || (m[1] = [
|
|
22550
22550
|
v("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" }, null, -1)
|
|
22551
|
-
])])) : (
|
|
22551
|
+
])])) : (w(), E("svg", _S, [...m[0] || (m[0] = [
|
|
22552
22552
|
v("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }, null, -1),
|
|
22553
22553
|
v("polyline", { points: "7 10 12 15 17 10" }, null, -1),
|
|
22554
22554
|
v("line", {
|
|
@@ -22563,7 +22563,7 @@ const NS = /* @__PURE__ */ Ot(yS, [["__scopeId", "data-v-55ea424c"]]), kS = { cl
|
|
|
22563
22563
|
])
|
|
22564
22564
|
]),
|
|
22565
22565
|
v("div", xS, [
|
|
22566
|
-
!n.value && !i.value ? (
|
|
22566
|
+
!n.value && !i.value ? (w(), E("div", SS, [...m[3] || (m[3] = [
|
|
22567
22567
|
v("svg", {
|
|
22568
22568
|
xmlns: "http://www.w3.org/2000/svg",
|
|
22569
22569
|
width: "36",
|
|
@@ -22579,15 +22579,15 @@ const NS = /* @__PURE__ */ Ot(yS, [["__scopeId", "data-v-55ea424c"]]), kS = { cl
|
|
|
22579
22579
|
v("polyline", { points: "14 2 14 8 20 8" })
|
|
22580
22580
|
], -1),
|
|
22581
22581
|
v("p", null, "Select a file to preview", -1)
|
|
22582
|
-
])])) : n.value ? (
|
|
22582
|
+
])])) : n.value ? (w(), E(dt, { key: 1 }, [
|
|
22583
22583
|
v("h1", wS, G(n.value.artifact.title), 1),
|
|
22584
|
-
s.value ? (
|
|
22584
|
+
s.value ? (w(), E("p", ZS, "Generated by Remy · " + G(s.value), 1)) : lt("", !0),
|
|
22585
22585
|
m[8] || (m[8] = v("hr", { class: "ps__doc-title-rule" }, null, -1)),
|
|
22586
22586
|
v("div", ES, [
|
|
22587
|
-
(
|
|
22587
|
+
(w(!0), E(dt, null, gt(n.value.artifact.sections, (y, N) => (w(), E(dt, {
|
|
22588
22588
|
key: y.id ?? String(N)
|
|
22589
22589
|
}, [
|
|
22590
|
-
y.type === "heading" ? (
|
|
22590
|
+
y.type === "heading" ? (w(), At(Qo(`h${y.level}`), {
|
|
22591
22591
|
key: 0,
|
|
22592
22592
|
class: Vt(["ps__h", `ps__h${y.level}`])
|
|
22593
22593
|
}, {
|
|
@@ -22595,35 +22595,35 @@ const NS = /* @__PURE__ */ Ot(yS, [["__scopeId", "data-v-55ea424c"]]), kS = { cl
|
|
|
22595
22595
|
ve(G(y.text), 1)
|
|
22596
22596
|
]),
|
|
22597
22597
|
_: 2
|
|
22598
|
-
}, 1032, ["class"])) : y.type === "paragraph" ? (
|
|
22599
|
-
(
|
|
22600
|
-
])) : y.type === "divider" ? (
|
|
22601
|
-
y.title ? (
|
|
22598
|
+
}, 1032, ["class"])) : y.type === "paragraph" ? (w(), E("p", FS, G(y.text), 1)) : y.type === "bullet-list" ? (w(), E("ul", zS, [
|
|
22599
|
+
(w(!0), E(dt, null, gt(y.items, (R, V) => (w(), E("li", { key: V }, G(R), 1))), 128))
|
|
22600
|
+
])) : y.type === "divider" ? (w(), E("hr", WS)) : y.type === "table" && y.columns.length > 0 ? (w(), E("div", IS, [
|
|
22601
|
+
y.title ? (w(), E("p", jS, G(y.title), 1)) : lt("", !0),
|
|
22602
22602
|
v("div", LS, [
|
|
22603
22603
|
v("table", CS, [
|
|
22604
22604
|
v("thead", null, [
|
|
22605
22605
|
v("tr", null, [
|
|
22606
|
-
(
|
|
22606
|
+
(w(!0), E(dt, null, gt(y.columns, (R) => (w(), E("th", {
|
|
22607
22607
|
key: R.id
|
|
22608
22608
|
}, G(R.label), 1))), 128))
|
|
22609
22609
|
])
|
|
22610
22610
|
]),
|
|
22611
22611
|
v("tbody", null, [
|
|
22612
|
-
(
|
|
22613
|
-
(
|
|
22612
|
+
(w(!0), E(dt, null, gt(u(y), (R, V) => (w(), E("tr", { key: V }, [
|
|
22613
|
+
(w(!0), E(dt, null, gt(y.columns, (T) => (w(), E("td", {
|
|
22614
22614
|
key: T.id
|
|
22615
22615
|
}, G(o(R[T.id])), 1))), 128))
|
|
22616
22616
|
]))), 128))
|
|
22617
22617
|
])
|
|
22618
22618
|
])
|
|
22619
22619
|
])
|
|
22620
|
-
])) : y.type === "chart" ? (
|
|
22621
|
-
y.chartConfig ? (
|
|
22620
|
+
])) : y.type === "chart" ? (w(), E("div", DS, [
|
|
22621
|
+
y.chartConfig ? (w(), At(Er, {
|
|
22622
22622
|
key: 0,
|
|
22623
22623
|
ref_for: !0,
|
|
22624
22624
|
ref: (R) => h(y.id ?? y.queryId, R),
|
|
22625
22625
|
"chart-config": y.chartConfig
|
|
22626
|
-
}, null, 8, ["chart-config"])) : y.columns.length > 0 ? (
|
|
22626
|
+
}, null, 8, ["chart-config"])) : y.columns.length > 0 ? (w(), E(dt, { key: 1 }, [
|
|
22627
22627
|
v("p", OS, [
|
|
22628
22628
|
m[4] || (m[4] = v("svg", {
|
|
22629
22629
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -22661,14 +22661,14 @@ const NS = /* @__PURE__ */ Ot(yS, [["__scopeId", "data-v-55ea424c"]]), kS = { cl
|
|
|
22661
22661
|
v("table", BS, [
|
|
22662
22662
|
v("thead", null, [
|
|
22663
22663
|
v("tr", null, [
|
|
22664
|
-
(
|
|
22664
|
+
(w(!0), E(dt, null, gt(y.columns, (R) => (w(), E("th", {
|
|
22665
22665
|
key: R.id
|
|
22666
22666
|
}, G(R.label), 1))), 128))
|
|
22667
22667
|
])
|
|
22668
22668
|
]),
|
|
22669
22669
|
v("tbody", null, [
|
|
22670
|
-
(
|
|
22671
|
-
(
|
|
22670
|
+
(w(!0), E(dt, null, gt(u(y), (R, V) => (w(), E("tr", { key: V }, [
|
|
22671
|
+
(w(!0), E(dt, null, gt(y.columns, (T) => (w(), E("td", {
|
|
22672
22672
|
key: T.id
|
|
22673
22673
|
}, G(o(R[T.id])), 1))), 128))
|
|
22674
22674
|
]))), 128))
|
|
@@ -22676,7 +22676,7 @@ const NS = /* @__PURE__ */ Ot(yS, [["__scopeId", "data-v-55ea424c"]]), kS = { cl
|
|
|
22676
22676
|
])
|
|
22677
22677
|
])
|
|
22678
22678
|
], 64)) : lt("", !0)
|
|
22679
|
-
])) : y.type === "rca-insight" ? (
|
|
22679
|
+
])) : y.type === "rca-insight" ? (w(), E("section", QS, [
|
|
22680
22680
|
v("div", JS, [
|
|
22681
22681
|
v("h2", AS, "RCA — " + G(y.periodLabel) + " vs " + G(y.baselineLabel), 1),
|
|
22682
22682
|
v("span", {
|
|
@@ -22695,7 +22695,7 @@ const NS = /* @__PURE__ */ Ot(yS, [["__scopeId", "data-v-55ea424c"]]), kS = { cl
|
|
|
22695
22695
|
])
|
|
22696
22696
|
], -1)),
|
|
22697
22697
|
v("tbody", null, [
|
|
22698
|
-
(
|
|
22698
|
+
(w(!0), E(dt, null, gt(d(y), (R) => (w(), E("tr", {
|
|
22699
22699
|
key: R.metric
|
|
22700
22700
|
}, [
|
|
22701
22701
|
v("td", null, G(R.metric), 1),
|
|
@@ -22706,32 +22706,32 @@ const NS = /* @__PURE__ */ Ot(yS, [["__scopeId", "data-v-55ea424c"]]), kS = { cl
|
|
|
22706
22706
|
])
|
|
22707
22707
|
])
|
|
22708
22708
|
]),
|
|
22709
|
-
c(y).length ? (
|
|
22709
|
+
c(y).length ? (w(), E("div", $S, [
|
|
22710
22710
|
m[6] || (m[6] = v("p", { class: "ps__caption" }, "Drivers", -1)),
|
|
22711
22711
|
v("ul", KS, [
|
|
22712
|
-
(
|
|
22712
|
+
(w(!0), E(dt, null, gt(c(y), (R, V) => (w(), E("li", { key: V }, [
|
|
22713
22713
|
v("strong", null, "[" + G(R.rank.charAt(0).toUpperCase() + R.rank.slice(1)) + "]", 1),
|
|
22714
22714
|
ve(" " + G(R.label) + " ", 1),
|
|
22715
22715
|
v("span", qS, "(" + G(R.confidence) + " confidence)", 1),
|
|
22716
|
-
R.evidence.length ? (
|
|
22717
|
-
(
|
|
22716
|
+
R.evidence.length ? (w(), E("ul", tw, [
|
|
22717
|
+
(w(!0), E(dt, null, gt(R.evidence, (T, _) => (w(), E("li", { key: _ }, G(T), 1))), 128))
|
|
22718
22718
|
])) : lt("", !0)
|
|
22719
22719
|
]))), 128))
|
|
22720
22720
|
])
|
|
22721
22721
|
])) : lt("", !0),
|
|
22722
|
-
y.gaps.length ? (
|
|
22722
|
+
y.gaps.length ? (w(), E("div", ew, [
|
|
22723
22723
|
m[7] || (m[7] = v("p", { class: "ps__caption" }, "Data Gaps & Caveats", -1)),
|
|
22724
22724
|
v("ul", nw, [
|
|
22725
|
-
(
|
|
22725
|
+
(w(!0), E(dt, null, gt(y.gaps, (R, V) => (w(), E("li", { key: V }, G(R), 1))), 128))
|
|
22726
22726
|
])
|
|
22727
22727
|
])) : lt("", !0)
|
|
22728
22728
|
])) : lt("", !0)
|
|
22729
22729
|
], 64))), 128))
|
|
22730
22730
|
])
|
|
22731
|
-
], 64)) : i.value ? (
|
|
22731
|
+
], 64)) : i.value ? (w(), E(dt, { key: 2 }, [
|
|
22732
22732
|
v("h1", sw, G(i.value.title), 1),
|
|
22733
22733
|
v("p", iw, G(i.value.rowCount.toLocaleString()) + " rows total", 1),
|
|
22734
|
-
i.value.previewTable.rows.length < i.value.rowCount ? (
|
|
22734
|
+
i.value.previewTable.rows.length < i.value.rowCount ? (w(), E("div", rw, [
|
|
22735
22735
|
m[9] || (m[9] = v("svg", {
|
|
22736
22736
|
xmlns: "http://www.w3.org/2000/svg",
|
|
22737
22737
|
width: "13",
|
|
@@ -22767,12 +22767,12 @@ const NS = /* @__PURE__ */ Ot(yS, [["__scopeId", "data-v-55ea424c"]]), kS = { cl
|
|
|
22767
22767
|
v("table", aw, [
|
|
22768
22768
|
v("thead", null, [
|
|
22769
22769
|
v("tr", null, [
|
|
22770
|
-
(
|
|
22770
|
+
(w(!0), E(dt, null, gt(i.value.previewTable.headers, (y) => (w(), E("th", { key: y }, G(y), 1))), 128))
|
|
22771
22771
|
])
|
|
22772
22772
|
]),
|
|
22773
22773
|
v("tbody", null, [
|
|
22774
|
-
(
|
|
22775
|
-
(
|
|
22774
|
+
(w(!0), E(dt, null, gt(i.value.previewTable.rows, (y, N) => (w(), E("tr", { key: N }, [
|
|
22775
|
+
(w(!0), E(dt, null, gt(y, (R, V) => (w(), E("td", { key: V }, G(R), 1))), 128))
|
|
22776
22776
|
]))), 128))
|
|
22777
22777
|
])
|
|
22778
22778
|
])
|
|
@@ -22925,7 +22925,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
22925
22925
|
return g;
|
|
22926
22926
|
}
|
|
22927
22927
|
function o(h, b, f, g, m, y) {
|
|
22928
|
-
var N, R, V = h.file, T = h.compression, _ = y !== c.utf8encode, Z = a.transformTo("string", y(V.name)), F = a.transformTo("string", c.utf8encode(V.name)), j = V.comment, K = a.transformTo("string", y(j)),
|
|
22928
|
+
var N, R, V = h.file, T = h.compression, _ = y !== c.utf8encode, Z = a.transformTo("string", y(V.name)), F = a.transformTo("string", c.utf8encode(V.name)), j = V.comment, K = a.transformTo("string", y(j)), S = a.transformTo("string", c.utf8encode(j)), I = F.length !== V.name.length, M = S.length !== j.length, z = "", $ = "", J = "", A = V.dir, L = V.date, et = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
|
|
22929
22929
|
b && !f || (et.crc32 = h.crc32, et.compressedSize = h.compressedSize, et.uncompressedSize = h.uncompressedSize);
|
|
22930
22930
|
var C = 0;
|
|
22931
22931
|
b && (C |= 8), _ || !I && !M || (C |= 2048);
|
|
@@ -22935,7 +22935,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
22935
22935
|
return tt || (Zt = Mt ? 16893 : 33204), (65535 & Zt) << 16;
|
|
22936
22936
|
}(V.unixPermissions, A)) : (rt = 20, O |= function(tt) {
|
|
22937
22937
|
return 63 & (tt || 0);
|
|
22938
|
-
}(V.dosPermissions)), N = L.getUTCHours(), N <<= 6, N |= L.getUTCMinutes(), N <<= 5, N |= L.getUTCSeconds() / 2, R = L.getUTCFullYear() - 1980, R <<= 4, R |= L.getUTCMonth() + 1, R <<= 5, R |= L.getUTCDate(), I && ($ = r(1, 1) + r(d(Z), 4) + F, z += "up" + r($.length, 2) + $), M && (J = r(1, 1) + r(d(K), 4) +
|
|
22938
|
+
}(V.dosPermissions)), N = L.getUTCHours(), N <<= 6, N |= L.getUTCMinutes(), N <<= 5, N |= L.getUTCSeconds() / 2, R = L.getUTCFullYear() - 1980, R <<= 4, R |= L.getUTCMonth() + 1, R <<= 5, R |= L.getUTCDate(), I && ($ = r(1, 1) + r(d(Z), 4) + F, z += "up" + r($.length, 2) + $), M && (J = r(1, 1) + r(d(K), 4) + S, z += "uc" + r(J.length, 2) + J);
|
|
22939
22939
|
var it = "";
|
|
22940
22940
|
return it += `
|
|
22941
22941
|
\0`, it += r(C, 2), it += T.magic, it += r(N, 2), it += r(R, 2), it += r(et.crc32, 4), it += r(et.compressedSize, 4), it += r(et.uncompressedSize, 4), it += r(Z.length, 2), it += r(z.length, 2), { fileRecord: u.LOCAL_FILE_HEADER + it + Z + z, dirRecord: u.CENTRAL_FILE_HEADER + r(rt, 2) + it + r(K.length, 2) + "\0\0\0\0" + r(O, 4) + r(g, 4) + Z + z + K };
|
|
@@ -23128,9 +23128,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
23128
23128
|
j.date = j.date || /* @__PURE__ */ new Date(), j.compression !== null && (j.compression = j.compression.toUpperCase()), typeof j.unixPermissions == "string" && (j.unixPermissions = parseInt(j.unixPermissions, 8)), j.unixPermissions && 16384 & j.unixPermissions && (j.dir = !0), j.dosPermissions && 16 & j.dosPermissions && (j.dir = !0), j.dir && (V = m(V)), j.createFolders && (Z = g(V)) && y.call(this, Z, !0);
|
|
23129
23129
|
var K = F === "string" && j.binary === !1 && j.base64 === !1;
|
|
23130
23130
|
_ && _.binary !== void 0 || (j.binary = !K), (T instanceof u && T.uncompressedSize === 0 || j.dir || !T || T.length === 0) && (j.base64 = !1, j.binary = !0, T = "", j.compression = "STORE", F = "string");
|
|
23131
|
-
var
|
|
23132
|
-
|
|
23133
|
-
var I = new p(V,
|
|
23131
|
+
var S = null;
|
|
23132
|
+
S = T instanceof u || T instanceof l ? T : b.isNode && b.isStream(T) ? new f(V, T) : a.prepareContent(V, T, j.binary, j.optimizedBinaryString, j.base64);
|
|
23133
|
+
var I = new p(V, S, j);
|
|
23134
23134
|
this.files[V] = I;
|
|
23135
23135
|
}
|
|
23136
23136
|
var o = n("./utf8"), a = n("./utils"), l = n("./stream/GenericWorker"), c = n("./stream/StreamHelper"), d = n("./defaults"), u = n("./compressedObject"), p = n("./zipObject"), h = n("./generate"), b = n("./nodejsUtils"), f = n("./nodejs/NodejsStreamInputAdapter"), g = function(V) {
|
|
@@ -23459,16 +23459,16 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
23459
23459
|
return r.transformTo(_, Z);
|
|
23460
23460
|
}
|
|
23461
23461
|
}(R, function(_, Z) {
|
|
23462
|
-
var F, j = 0, K = null,
|
|
23462
|
+
var F, j = 0, K = null, S = 0;
|
|
23463
23463
|
for (F = 0; F < Z.length; F++)
|
|
23464
|
-
|
|
23464
|
+
S += Z[F].length;
|
|
23465
23465
|
switch (_) {
|
|
23466
23466
|
case "string":
|
|
23467
23467
|
return Z.join("");
|
|
23468
23468
|
case "array":
|
|
23469
23469
|
return Array.prototype.concat.apply([], Z);
|
|
23470
23470
|
case "uint8array":
|
|
23471
|
-
for (K = new Uint8Array(
|
|
23471
|
+
for (K = new Uint8Array(S), F = 0; F < Z.length; F++)
|
|
23472
23472
|
K.set(Z[F], j), j += Z[F].length;
|
|
23473
23473
|
return K;
|
|
23474
23474
|
case "nodebuffer":
|
|
@@ -24074,10 +24074,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
24074
24074
|
F(m[_], _);
|
|
24075
24075
|
return Z;
|
|
24076
24076
|
function F(j, K) {
|
|
24077
|
-
y.resolve(j).then(function(
|
|
24078
|
-
V[K] =
|
|
24079
|
-
}, function(
|
|
24080
|
-
R || (R = !0, a.reject(Z,
|
|
24077
|
+
y.resolve(j).then(function(S) {
|
|
24078
|
+
V[K] = S, ++T !== N || R || (R = !0, a.resolve(Z, V));
|
|
24079
|
+
}, function(S) {
|
|
24080
|
+
R || (R = !0, a.reject(Z, S));
|
|
24081
24081
|
});
|
|
24082
24082
|
}
|
|
24083
24083
|
}, u.race = function(m) {
|
|
@@ -24300,7 +24300,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
24300
24300
|
return -1 ^ o;
|
|
24301
24301
|
};
|
|
24302
24302
|
}, {}], 46: [function(n, s, i) {
|
|
24303
|
-
var r, o = n("../utils/common"), a = n("./trees"), l = n("./adler32"), c = n("./crc32"), d = n("./messages"), u = 0, p = 4, h = 0, b = -2, f = -1, g = 4, m = 2, y = 8, N = 9, R = 286, V = 30, T = 19, _ = 2 * R + 1, Z = 15, F = 3, j = 258, K = j + F + 1,
|
|
24303
|
+
var r, o = n("../utils/common"), a = n("./trees"), l = n("./adler32"), c = n("./crc32"), d = n("./messages"), u = 0, p = 4, h = 0, b = -2, f = -1, g = 4, m = 2, y = 8, N = 9, R = 286, V = 30, T = 19, _ = 2 * R + 1, Z = 15, F = 3, j = 258, K = j + F + 1, S = 42, I = 113, M = 1, z = 2, $ = 3, J = 4;
|
|
24304
24304
|
function A(k, Y) {
|
|
24305
24305
|
return k.msg = d[Y], Y;
|
|
24306
24306
|
}
|
|
@@ -24410,7 +24410,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
24410
24410
|
}
|
|
24411
24411
|
function Ct(k) {
|
|
24412
24412
|
var Y;
|
|
24413
|
-
return k && k.state ? (k.total_in = k.total_out = 0, k.data_type = m, (Y = k.state).pending = 0, Y.pending_out = 0, Y.wrap < 0 && (Y.wrap = -Y.wrap), Y.status = Y.wrap ?
|
|
24413
|
+
return k && k.state ? (k.total_in = k.total_out = 0, k.data_type = m, (Y = k.state).pending = 0, Y.pending_out = 0, Y.wrap < 0 && (Y.wrap = -Y.wrap), Y.status = Y.wrap ? S : I, k.adler = Y.wrap === 2 ? 0 : 1, Y.last_flush = u, a._tr_init(Y), h) : A(k, b);
|
|
24414
24414
|
}
|
|
24415
24415
|
function pe(k) {
|
|
24416
24416
|
var Y = Ct(k);
|
|
@@ -24453,7 +24453,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
24453
24453
|
return k ? A(k, b) : b;
|
|
24454
24454
|
if (x = k.state, !k.output || !k.input && k.avail_in !== 0 || x.status === 666 && Y !== p)
|
|
24455
24455
|
return A(k, k.avail_out === 0 ? -5 : b);
|
|
24456
|
-
if (x.strm = k, D = x.last_flush, x.last_flush = Y, x.status ===
|
|
24456
|
+
if (x.strm = k, D = x.last_flush, x.last_flush = Y, x.status === S)
|
|
24457
24457
|
if (x.wrap === 2)
|
|
24458
24458
|
k.adler = 0, rt(x, 31), rt(x, 139), rt(x, 8), x.gzhead ? (rt(x, (x.gzhead.text ? 1 : 0) + (x.gzhead.hcrc ? 2 : 0) + (x.gzhead.extra ? 4 : 0) + (x.gzhead.name ? 8 : 0) + (x.gzhead.comment ? 16 : 0)), rt(x, 255 & x.gzhead.time), rt(x, x.gzhead.time >> 8 & 255), rt(x, x.gzhead.time >> 16 & 255), rt(x, x.gzhead.time >> 24 & 255), rt(x, x.level === 9 ? 2 : 2 <= x.strategy || x.level < 2 ? 4 : 0), rt(x, 255 & x.gzhead.os), x.gzhead.extra && x.gzhead.extra.length && (rt(x, 255 & x.gzhead.extra.length), rt(x, x.gzhead.extra.length >> 8 & 255)), x.gzhead.hcrc && (k.adler = c(k.adler, x.pending_buf, x.pending, 0)), x.gzindex = 0, x.status = 69) : (rt(x, 0), rt(x, 0), rt(x, 0), rt(x, 0), rt(x, 0), rt(x, x.level === 9 ? 2 : 2 <= x.strategy || x.level < 2 ? 4 : 0), rt(x, 3), x.status = I);
|
|
24459
24459
|
else {
|
|
@@ -24540,10 +24540,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
24540
24540
|
return Y !== p ? h : x.wrap <= 0 ? 1 : (x.wrap === 2 ? (rt(x, 255 & k.adler), rt(x, k.adler >> 8 & 255), rt(x, k.adler >> 16 & 255), rt(x, k.adler >> 24 & 255), rt(x, 255 & k.total_in), rt(x, k.total_in >> 8 & 255), rt(x, k.total_in >> 16 & 255), rt(x, k.total_in >> 24 & 255)) : (it(x, k.adler >>> 16), it(x, 65535 & k.adler)), C(k), 0 < x.wrap && (x.wrap = -x.wrap), x.pending !== 0 ? h : 1);
|
|
24541
24541
|
}, i.deflateEnd = function(k) {
|
|
24542
24542
|
var Y;
|
|
24543
|
-
return k && k.state ? (Y = k.state.status) !==
|
|
24543
|
+
return k && k.state ? (Y = k.state.status) !== S && Y !== 69 && Y !== 73 && Y !== 91 && Y !== 103 && Y !== I && Y !== 666 ? A(k, b) : (k.state = null, Y === I ? A(k, -3) : h) : b;
|
|
24544
24544
|
}, i.deflateSetDictionary = function(k, Y) {
|
|
24545
24545
|
var D, x, U, W, P, H, Q, st, ut = Y.length;
|
|
24546
|
-
if (!k || !k.state || (W = (D = k.state).wrap) === 2 || W === 1 && D.status !==
|
|
24546
|
+
if (!k || !k.state || (W = (D = k.state).wrap) === 2 || W === 1 && D.status !== S || D.lookahead)
|
|
24547
24547
|
return b;
|
|
24548
24548
|
for (W === 1 && (k.adler = l(k.adler, Y, ut, 0)), D.wrap = 0, ut >= D.w_size && (W === 0 && (et(D.head), D.strstart = 0, D.block_start = 0, D.insert = 0), st = new o.Buf8(D.w_size), o.arraySet(st, Y, ut - D.w_size, D.w_size, 0), Y = st, ut = D.w_size), P = k.avail_in, H = k.next_in, Q = k.input, k.avail_in = ut, k.next_in = 0, k.input = Y, Mt(D); D.lookahead >= F; ) {
|
|
24549
24549
|
for (x = D.strstart, U = D.lookahead - (F - 1); D.ins_h = (D.ins_h << D.hash_shift ^ D.window[x + F - 1]) & D.hash_mask, D.prev[x & D.w_mask] = D.head[D.ins_h], D.head[D.ins_h] = x, x++, --U; )
|
|
@@ -24558,7 +24558,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
24558
24558
|
};
|
|
24559
24559
|
}, {}], 48: [function(n, s, i) {
|
|
24560
24560
|
s.exports = function(r, o) {
|
|
24561
|
-
var a, l, c, d, u, p, h, b, f, g, m, y, N, R, V, T, _, Z, F, j, K,
|
|
24561
|
+
var a, l, c, d, u, p, h, b, f, g, m, y, N, R, V, T, _, Z, F, j, K, S, I, M, z;
|
|
24562
24562
|
a = r.state, l = r.next_in, M = r.input, c = l + (r.avail_in - 5), d = r.next_out, z = r.output, u = d - (o - r.avail_out), p = d + (r.avail_out - 257), h = a.dmax, b = a.wsize, f = a.whave, g = a.wnext, m = a.window, y = a.hold, N = a.bits, R = a.lencode, V = a.distcode, T = (1 << a.lenbits) - 1, _ = (1 << a.distbits) - 1;
|
|
24563
24563
|
t:
|
|
24564
24564
|
do {
|
|
@@ -24600,34 +24600,34 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
24600
24600
|
r.msg = "invalid distance too far back", a.mode = 30;
|
|
24601
24601
|
break t;
|
|
24602
24602
|
}
|
|
24603
|
-
if (I = m, (
|
|
24604
|
-
if (
|
|
24605
|
-
for (j -= F; z[d++] = m[
|
|
24603
|
+
if (I = m, (S = 0) === g) {
|
|
24604
|
+
if (S += b - F, F < j) {
|
|
24605
|
+
for (j -= F; z[d++] = m[S++], --F; )
|
|
24606
24606
|
;
|
|
24607
|
-
|
|
24607
|
+
S = d - K, I = z;
|
|
24608
24608
|
}
|
|
24609
24609
|
} else if (g < F) {
|
|
24610
|
-
if (
|
|
24611
|
-
for (j -= F; z[d++] = m[
|
|
24610
|
+
if (S += b + g - F, (F -= g) < j) {
|
|
24611
|
+
for (j -= F; z[d++] = m[S++], --F; )
|
|
24612
24612
|
;
|
|
24613
|
-
if (
|
|
24614
|
-
for (j -= F = g; z[d++] = m[
|
|
24613
|
+
if (S = 0, g < j) {
|
|
24614
|
+
for (j -= F = g; z[d++] = m[S++], --F; )
|
|
24615
24615
|
;
|
|
24616
|
-
|
|
24616
|
+
S = d - K, I = z;
|
|
24617
24617
|
}
|
|
24618
24618
|
}
|
|
24619
|
-
} else if (
|
|
24620
|
-
for (j -= F; z[d++] = m[
|
|
24619
|
+
} else if (S += g - F, F < j) {
|
|
24620
|
+
for (j -= F; z[d++] = m[S++], --F; )
|
|
24621
24621
|
;
|
|
24622
|
-
|
|
24622
|
+
S = d - K, I = z;
|
|
24623
24623
|
}
|
|
24624
24624
|
for (; 2 < j; )
|
|
24625
|
-
z[d++] = I[
|
|
24626
|
-
j && (z[d++] = I[
|
|
24625
|
+
z[d++] = I[S++], z[d++] = I[S++], z[d++] = I[S++], j -= 3;
|
|
24626
|
+
j && (z[d++] = I[S++], 1 < j && (z[d++] = I[S++]));
|
|
24627
24627
|
} else {
|
|
24628
|
-
for (
|
|
24628
|
+
for (S = d - K; z[d++] = z[S++], z[d++] = z[S++], z[d++] = z[S++], 2 < (j -= 3); )
|
|
24629
24629
|
;
|
|
24630
|
-
j && (z[d++] = z[
|
|
24630
|
+
j && (z[d++] = z[S++], 1 < j && (z[d++] = z[S++]));
|
|
24631
24631
|
}
|
|
24632
24632
|
break;
|
|
24633
24633
|
}
|
|
@@ -24639,57 +24639,57 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
24639
24639
|
};
|
|
24640
24640
|
}, {}], 49: [function(n, s, i) {
|
|
24641
24641
|
var r = n("../utils/common"), o = n("./adler32"), a = n("./crc32"), l = n("./inffast"), c = n("./inftrees"), d = 1, u = 2, p = 0, h = -2, b = 1, f = 852, g = 592;
|
|
24642
|
-
function m(
|
|
24643
|
-
return (
|
|
24642
|
+
function m(S) {
|
|
24643
|
+
return (S >>> 24 & 255) + (S >>> 8 & 65280) + ((65280 & S) << 8) + ((255 & S) << 24);
|
|
24644
24644
|
}
|
|
24645
24645
|
function y() {
|
|
24646
24646
|
this.mode = 0, this.last = !1, this.wrap = 0, this.havedict = !1, this.flags = 0, this.dmax = 0, this.check = 0, this.total = 0, this.head = null, this.wbits = 0, this.wsize = 0, this.whave = 0, this.wnext = 0, this.window = null, this.hold = 0, this.bits = 0, this.length = 0, this.offset = 0, this.extra = 0, this.lencode = null, this.distcode = null, this.lenbits = 0, this.distbits = 0, this.ncode = 0, this.nlen = 0, this.ndist = 0, this.have = 0, this.next = null, this.lens = new r.Buf16(320), this.work = new r.Buf16(288), this.lendyn = null, this.distdyn = null, this.sane = 0, this.back = 0, this.was = 0;
|
|
24647
24647
|
}
|
|
24648
|
-
function N(
|
|
24648
|
+
function N(S) {
|
|
24649
24649
|
var I;
|
|
24650
|
-
return
|
|
24650
|
+
return S && S.state ? (I = S.state, S.total_in = S.total_out = I.total = 0, S.msg = "", I.wrap && (S.adler = 1 & I.wrap), I.mode = b, I.last = 0, I.havedict = 0, I.dmax = 32768, I.head = null, I.hold = 0, I.bits = 0, I.lencode = I.lendyn = new r.Buf32(f), I.distcode = I.distdyn = new r.Buf32(g), I.sane = 1, I.back = -1, p) : h;
|
|
24651
24651
|
}
|
|
24652
|
-
function R(
|
|
24652
|
+
function R(S) {
|
|
24653
24653
|
var I;
|
|
24654
|
-
return
|
|
24654
|
+
return S && S.state ? ((I = S.state).wsize = 0, I.whave = 0, I.wnext = 0, N(S)) : h;
|
|
24655
24655
|
}
|
|
24656
|
-
function V(
|
|
24656
|
+
function V(S, I) {
|
|
24657
24657
|
var M, z;
|
|
24658
|
-
return
|
|
24658
|
+
return S && S.state ? (z = S.state, I < 0 ? (M = 0, I = -I) : (M = 1 + (I >> 4), I < 48 && (I &= 15)), I && (I < 8 || 15 < I) ? h : (z.window !== null && z.wbits !== I && (z.window = null), z.wrap = M, z.wbits = I, R(S))) : h;
|
|
24659
24659
|
}
|
|
24660
|
-
function T(
|
|
24660
|
+
function T(S, I) {
|
|
24661
24661
|
var M, z;
|
|
24662
|
-
return
|
|
24662
|
+
return S ? (z = new y(), (S.state = z).window = null, (M = V(S, I)) !== p && (S.state = null), M) : h;
|
|
24663
24663
|
}
|
|
24664
24664
|
var _, Z, F = !0;
|
|
24665
|
-
function j(
|
|
24665
|
+
function j(S) {
|
|
24666
24666
|
if (F) {
|
|
24667
24667
|
var I;
|
|
24668
24668
|
for (_ = new r.Buf32(512), Z = new r.Buf32(32), I = 0; I < 144; )
|
|
24669
|
-
|
|
24669
|
+
S.lens[I++] = 8;
|
|
24670
24670
|
for (; I < 256; )
|
|
24671
|
-
|
|
24671
|
+
S.lens[I++] = 9;
|
|
24672
24672
|
for (; I < 280; )
|
|
24673
|
-
|
|
24673
|
+
S.lens[I++] = 7;
|
|
24674
24674
|
for (; I < 288; )
|
|
24675
|
-
|
|
24676
|
-
for (c(d,
|
|
24677
|
-
|
|
24678
|
-
c(u,
|
|
24675
|
+
S.lens[I++] = 8;
|
|
24676
|
+
for (c(d, S.lens, 0, 288, _, 0, S.work, { bits: 9 }), I = 0; I < 32; )
|
|
24677
|
+
S.lens[I++] = 5;
|
|
24678
|
+
c(u, S.lens, 0, 32, Z, 0, S.work, { bits: 5 }), F = !1;
|
|
24679
24679
|
}
|
|
24680
|
-
|
|
24680
|
+
S.lencode = _, S.lenbits = 9, S.distcode = Z, S.distbits = 5;
|
|
24681
24681
|
}
|
|
24682
|
-
function K(
|
|
24683
|
-
var $, J =
|
|
24682
|
+
function K(S, I, M, z) {
|
|
24683
|
+
var $, J = S.state;
|
|
24684
24684
|
return J.window === null && (J.wsize = 1 << J.wbits, J.wnext = 0, J.whave = 0, J.window = new r.Buf8(J.wsize)), z >= J.wsize ? (r.arraySet(J.window, I, M - J.wsize, J.wsize, 0), J.wnext = 0, J.whave = J.wsize) : (z < ($ = J.wsize - J.wnext) && ($ = z), r.arraySet(J.window, I, M - z, $, J.wnext), (z -= $) ? (r.arraySet(J.window, I, M - z, z, 0), J.wnext = z, J.whave = J.wsize) : (J.wnext += $, J.wnext === J.wsize && (J.wnext = 0), J.whave < J.wsize && (J.whave += $))), 0;
|
|
24685
24685
|
}
|
|
24686
|
-
i.inflateReset = R, i.inflateReset2 = V, i.inflateResetKeep = N, i.inflateInit = function(
|
|
24687
|
-
return T(
|
|
24688
|
-
}, i.inflateInit2 = T, i.inflate = function(
|
|
24686
|
+
i.inflateReset = R, i.inflateReset2 = V, i.inflateResetKeep = N, i.inflateInit = function(S) {
|
|
24687
|
+
return T(S, 15);
|
|
24688
|
+
}, i.inflateInit2 = T, i.inflate = function(S, I) {
|
|
24689
24689
|
var M, z, $, J, A, L, et, C, O, rt, it, tt, Mt, Zt, ht, Rt, Qt, Ct, pe, q, k, Y, D, x, U = 0, W = new r.Buf8(4), P = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
|
|
24690
|
-
if (!
|
|
24690
|
+
if (!S || !S.state || !S.output || !S.input && S.avail_in !== 0)
|
|
24691
24691
|
return h;
|
|
24692
|
-
(M =
|
|
24692
|
+
(M = S.state).mode === 12 && (M.mode = 13), A = S.next_out, $ = S.output, et = S.avail_out, J = S.next_in, z = S.input, L = S.avail_in, C = M.hold, O = M.bits, rt = L, it = et, Y = p;
|
|
24693
24693
|
t:
|
|
24694
24694
|
for (; ; )
|
|
24695
24695
|
switch (M.mode) {
|
|
@@ -24708,20 +24708,20 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
24708
24708
|
break;
|
|
24709
24709
|
}
|
|
24710
24710
|
if (M.flags = 0, M.head && (M.head.done = !1), !(1 & M.wrap) || (((255 & C) << 8) + (C >> 8)) % 31) {
|
|
24711
|
-
|
|
24711
|
+
S.msg = "incorrect header check", M.mode = 30;
|
|
24712
24712
|
break;
|
|
24713
24713
|
}
|
|
24714
24714
|
if ((15 & C) != 8) {
|
|
24715
|
-
|
|
24715
|
+
S.msg = "unknown compression method", M.mode = 30;
|
|
24716
24716
|
break;
|
|
24717
24717
|
}
|
|
24718
24718
|
if (O -= 4, k = 8 + (15 & (C >>>= 4)), M.wbits === 0)
|
|
24719
24719
|
M.wbits = k;
|
|
24720
24720
|
else if (k > M.wbits) {
|
|
24721
|
-
|
|
24721
|
+
S.msg = "invalid window size", M.mode = 30;
|
|
24722
24722
|
break;
|
|
24723
24723
|
}
|
|
24724
|
-
M.dmax = 1 << k,
|
|
24724
|
+
M.dmax = 1 << k, S.adler = M.check = 1, M.mode = 512 & C ? 10 : 12, O = C = 0;
|
|
24725
24725
|
break;
|
|
24726
24726
|
case 2:
|
|
24727
24727
|
for (; O < 16; ) {
|
|
@@ -24730,11 +24730,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
24730
24730
|
L--, C += z[J++] << O, O += 8;
|
|
24731
24731
|
}
|
|
24732
24732
|
if (M.flags = C, (255 & M.flags) != 8) {
|
|
24733
|
-
|
|
24733
|
+
S.msg = "unknown compression method", M.mode = 30;
|
|
24734
24734
|
break;
|
|
24735
24735
|
}
|
|
24736
24736
|
if (57344 & M.flags) {
|
|
24737
|
-
|
|
24737
|
+
S.msg = "unknown header flags set", M.mode = 30;
|
|
24738
24738
|
break;
|
|
24739
24739
|
}
|
|
24740
24740
|
M.head && (M.head.text = C >> 8 & 1), 512 & M.flags && (W[0] = 255 & C, W[1] = C >>> 8 & 255, M.check = a(M.check, W, 2, 0)), O = C = 0, M.mode = 3;
|
|
@@ -24797,12 +24797,12 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
24797
24797
|
L--, C += z[J++] << O, O += 8;
|
|
24798
24798
|
}
|
|
24799
24799
|
if (C !== (65535 & M.check)) {
|
|
24800
|
-
|
|
24800
|
+
S.msg = "header crc mismatch", M.mode = 30;
|
|
24801
24801
|
break;
|
|
24802
24802
|
}
|
|
24803
24803
|
O = C = 0;
|
|
24804
24804
|
}
|
|
24805
|
-
M.head && (M.head.hcrc = M.flags >> 9 & 1, M.head.done = !0),
|
|
24805
|
+
M.head && (M.head.hcrc = M.flags >> 9 & 1, M.head.done = !0), S.adler = M.check = 0, M.mode = 12;
|
|
24806
24806
|
break;
|
|
24807
24807
|
case 10:
|
|
24808
24808
|
for (; O < 32; ) {
|
|
@@ -24810,11 +24810,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
24810
24810
|
break t;
|
|
24811
24811
|
L--, C += z[J++] << O, O += 8;
|
|
24812
24812
|
}
|
|
24813
|
-
|
|
24813
|
+
S.adler = M.check = m(C), O = C = 0, M.mode = 11;
|
|
24814
24814
|
case 11:
|
|
24815
24815
|
if (M.havedict === 0)
|
|
24816
|
-
return
|
|
24817
|
-
|
|
24816
|
+
return S.next_out = A, S.avail_out = et, S.next_in = J, S.avail_in = L, M.hold = C, M.bits = O, 2;
|
|
24817
|
+
S.adler = M.check = 1, M.mode = 12;
|
|
24818
24818
|
case 12:
|
|
24819
24819
|
if (I === 5 || I === 6)
|
|
24820
24820
|
break t;
|
|
@@ -24841,7 +24841,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
24841
24841
|
M.mode = 17;
|
|
24842
24842
|
break;
|
|
24843
24843
|
case 3:
|
|
24844
|
-
|
|
24844
|
+
S.msg = "invalid block type", M.mode = 30;
|
|
24845
24845
|
}
|
|
24846
24846
|
C >>>= 2, O -= 2;
|
|
24847
24847
|
break;
|
|
@@ -24852,7 +24852,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
24852
24852
|
L--, C += z[J++] << O, O += 8;
|
|
24853
24853
|
}
|
|
24854
24854
|
if ((65535 & C) != (C >>> 16 ^ 65535)) {
|
|
24855
|
-
|
|
24855
|
+
S.msg = "invalid stored block lengths", M.mode = 30;
|
|
24856
24856
|
break;
|
|
24857
24857
|
}
|
|
24858
24858
|
if (M.length = 65535 & C, O = C = 0, M.mode = 15, I === 6)
|
|
@@ -24875,7 +24875,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
24875
24875
|
L--, C += z[J++] << O, O += 8;
|
|
24876
24876
|
}
|
|
24877
24877
|
if (M.nlen = 257 + (31 & C), C >>>= 5, O -= 5, M.ndist = 1 + (31 & C), C >>>= 5, O -= 5, M.ncode = 4 + (15 & C), C >>>= 4, O -= 4, 286 < M.nlen || 30 < M.ndist) {
|
|
24878
|
-
|
|
24878
|
+
S.msg = "too many length or distance symbols", M.mode = 30;
|
|
24879
24879
|
break;
|
|
24880
24880
|
}
|
|
24881
24881
|
M.have = 0, M.mode = 18;
|
|
@@ -24891,7 +24891,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
24891
24891
|
for (; M.have < 19; )
|
|
24892
24892
|
M.lens[P[M.have++]] = 0;
|
|
24893
24893
|
if (M.lencode = M.lendyn, M.lenbits = 7, D = { bits: M.lenbits }, Y = c(0, M.lens, 0, 19, M.lencode, 0, M.work, D), M.lenbits = D.bits, Y) {
|
|
24894
|
-
|
|
24894
|
+
S.msg = "invalid code lengths set", M.mode = 30;
|
|
24895
24895
|
break;
|
|
24896
24896
|
}
|
|
24897
24897
|
M.have = 0, M.mode = 19;
|
|
@@ -24912,7 +24912,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
24912
24912
|
L--, C += z[J++] << O, O += 8;
|
|
24913
24913
|
}
|
|
24914
24914
|
if (C >>>= ht, O -= ht, M.have === 0) {
|
|
24915
|
-
|
|
24915
|
+
S.msg = "invalid bit length repeat", M.mode = 30;
|
|
24916
24916
|
break;
|
|
24917
24917
|
}
|
|
24918
24918
|
k = M.lens[M.have - 1], tt = 3 + (3 & C), C >>>= 2, O -= 2;
|
|
@@ -24932,7 +24932,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
24932
24932
|
O -= ht, k = 0, tt = 11 + (127 & (C >>>= ht)), C >>>= 7, O -= 7;
|
|
24933
24933
|
}
|
|
24934
24934
|
if (M.have + tt > M.nlen + M.ndist) {
|
|
24935
|
-
|
|
24935
|
+
S.msg = "invalid bit length repeat", M.mode = 30;
|
|
24936
24936
|
break;
|
|
24937
24937
|
}
|
|
24938
24938
|
for (; tt--; )
|
|
@@ -24942,15 +24942,15 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
24942
24942
|
if (M.mode === 30)
|
|
24943
24943
|
break;
|
|
24944
24944
|
if (M.lens[256] === 0) {
|
|
24945
|
-
|
|
24945
|
+
S.msg = "invalid code -- missing end-of-block", M.mode = 30;
|
|
24946
24946
|
break;
|
|
24947
24947
|
}
|
|
24948
24948
|
if (M.lenbits = 9, D = { bits: M.lenbits }, Y = c(d, M.lens, 0, M.nlen, M.lencode, 0, M.work, D), M.lenbits = D.bits, Y) {
|
|
24949
|
-
|
|
24949
|
+
S.msg = "invalid literal/lengths set", M.mode = 30;
|
|
24950
24950
|
break;
|
|
24951
24951
|
}
|
|
24952
24952
|
if (M.distbits = 6, M.distcode = M.distdyn, D = { bits: M.distbits }, Y = c(u, M.lens, M.nlen, M.ndist, M.distcode, 0, M.work, D), M.distbits = D.bits, Y) {
|
|
24953
|
-
|
|
24953
|
+
S.msg = "invalid distances set", M.mode = 30;
|
|
24954
24954
|
break;
|
|
24955
24955
|
}
|
|
24956
24956
|
if (M.mode = 20, I === 6)
|
|
@@ -24959,7 +24959,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
24959
24959
|
M.mode = 21;
|
|
24960
24960
|
case 21:
|
|
24961
24961
|
if (6 <= L && 258 <= et) {
|
|
24962
|
-
|
|
24962
|
+
S.next_out = A, S.avail_out = et, S.next_in = J, S.avail_in = L, M.hold = C, M.bits = O, l(S, it), A = S.next_out, $ = S.output, et = S.avail_out, J = S.next_in, z = S.input, L = S.avail_in, C = M.hold, O = M.bits, M.mode === 12 && (M.back = -1);
|
|
24963
24963
|
break;
|
|
24964
24964
|
}
|
|
24965
24965
|
for (M.back = 0; Rt = (U = M.lencode[C & (1 << M.lenbits) - 1]) >>> 16 & 255, Qt = 65535 & U, !((ht = U >>> 24) <= O); ) {
|
|
@@ -24984,7 +24984,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
24984
24984
|
break;
|
|
24985
24985
|
}
|
|
24986
24986
|
if (64 & Rt) {
|
|
24987
|
-
|
|
24987
|
+
S.msg = "invalid literal/length code", M.mode = 30;
|
|
24988
24988
|
break;
|
|
24989
24989
|
}
|
|
24990
24990
|
M.extra = 15 & Rt, M.mode = 22;
|
|
@@ -25013,7 +25013,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
25013
25013
|
C >>>= Ct, O -= Ct, M.back += Ct;
|
|
25014
25014
|
}
|
|
25015
25015
|
if (C >>>= ht, O -= ht, M.back += ht, 64 & Rt) {
|
|
25016
|
-
|
|
25016
|
+
S.msg = "invalid distance code", M.mode = 30;
|
|
25017
25017
|
break;
|
|
25018
25018
|
}
|
|
25019
25019
|
M.offset = Qt, M.extra = 15 & Rt, M.mode = 24;
|
|
@@ -25027,7 +25027,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
25027
25027
|
M.offset += C & (1 << M.extra) - 1, C >>>= M.extra, O -= M.extra, M.back += M.extra;
|
|
25028
25028
|
}
|
|
25029
25029
|
if (M.offset > M.dmax) {
|
|
25030
|
-
|
|
25030
|
+
S.msg = "invalid distance too far back", M.mode = 30;
|
|
25031
25031
|
break;
|
|
25032
25032
|
}
|
|
25033
25033
|
M.mode = 25;
|
|
@@ -25036,7 +25036,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
25036
25036
|
break t;
|
|
25037
25037
|
if (tt = it - et, M.offset > tt) {
|
|
25038
25038
|
if ((tt = M.offset - tt) > M.whave && M.sane) {
|
|
25039
|
-
|
|
25039
|
+
S.msg = "invalid distance too far back", M.mode = 30;
|
|
25040
25040
|
break;
|
|
25041
25041
|
}
|
|
25042
25042
|
Mt = tt > M.wnext ? (tt -= M.wnext, M.wsize - tt) : M.wnext - tt, tt > M.length && (tt = M.length), Zt = M.window;
|
|
@@ -25058,8 +25058,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
25058
25058
|
break t;
|
|
25059
25059
|
L--, C |= z[J++] << O, O += 8;
|
|
25060
25060
|
}
|
|
25061
|
-
if (it -= et,
|
|
25062
|
-
|
|
25061
|
+
if (it -= et, S.total_out += it, M.total += it, it && (S.adler = M.check = M.flags ? a(M.check, $, it, A - it) : o(M.check, $, it, A - it)), it = et, (M.flags ? C : m(C)) !== M.check) {
|
|
25062
|
+
S.msg = "incorrect data check", M.mode = 30;
|
|
25063
25063
|
break;
|
|
25064
25064
|
}
|
|
25065
25065
|
O = C = 0;
|
|
@@ -25073,7 +25073,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
25073
25073
|
L--, C += z[J++] << O, O += 8;
|
|
25074
25074
|
}
|
|
25075
25075
|
if (C !== (4294967295 & M.total)) {
|
|
25076
|
-
|
|
25076
|
+
S.msg = "incorrect length check", M.mode = 30;
|
|
25077
25077
|
break;
|
|
25078
25078
|
}
|
|
25079
25079
|
O = C = 0;
|
|
@@ -25091,25 +25091,25 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
25091
25091
|
default:
|
|
25092
25092
|
return h;
|
|
25093
25093
|
}
|
|
25094
|
-
return
|
|
25095
|
-
}, i.inflateEnd = function(
|
|
25096
|
-
if (!
|
|
25094
|
+
return S.next_out = A, S.avail_out = et, S.next_in = J, S.avail_in = L, M.hold = C, M.bits = O, (M.wsize || it !== S.avail_out && M.mode < 30 && (M.mode < 27 || I !== 4)) && K(S, S.output, S.next_out, it - S.avail_out) ? (M.mode = 31, -4) : (rt -= S.avail_in, it -= S.avail_out, S.total_in += rt, S.total_out += it, M.total += it, M.wrap && it && (S.adler = M.check = M.flags ? a(M.check, $, it, S.next_out - it) : o(M.check, $, it, S.next_out - it)), S.data_type = M.bits + (M.last ? 64 : 0) + (M.mode === 12 ? 128 : 0) + (M.mode === 20 || M.mode === 15 ? 256 : 0), (rt == 0 && it === 0 || I === 4) && Y === p && (Y = -5), Y);
|
|
25095
|
+
}, i.inflateEnd = function(S) {
|
|
25096
|
+
if (!S || !S.state)
|
|
25097
25097
|
return h;
|
|
25098
|
-
var I =
|
|
25099
|
-
return I.window && (I.window = null),
|
|
25100
|
-
}, i.inflateGetHeader = function(
|
|
25098
|
+
var I = S.state;
|
|
25099
|
+
return I.window && (I.window = null), S.state = null, p;
|
|
25100
|
+
}, i.inflateGetHeader = function(S, I) {
|
|
25101
25101
|
var M;
|
|
25102
|
-
return
|
|
25103
|
-
}, i.inflateSetDictionary = function(
|
|
25102
|
+
return S && S.state && 2 & (M = S.state).wrap ? ((M.head = I).done = !1, p) : h;
|
|
25103
|
+
}, i.inflateSetDictionary = function(S, I) {
|
|
25104
25104
|
var M, z = I.length;
|
|
25105
|
-
return
|
|
25105
|
+
return S && S.state ? (M = S.state).wrap !== 0 && M.mode !== 11 ? h : M.mode === 11 && o(1, I, z, 0) !== M.check ? -3 : K(S, I, z, z) ? (M.mode = 31, -4) : (M.havedict = 1, p) : h;
|
|
25106
25106
|
}, i.inflateInfo = "pako inflate (from Nodeca project)";
|
|
25107
25107
|
}, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./inffast": 48, "./inftrees": 50 }], 50: [function(n, s, i) {
|
|
25108
25108
|
var r = n("../utils/common"), o = [3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0], a = [16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72, 78], l = [1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577, 0, 0], c = [16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 25, 26, 26, 27, 27, 28, 28, 29, 29, 64, 64];
|
|
25109
25109
|
s.exports = function(d, u, p, h, b, f, g, m) {
|
|
25110
|
-
var y, N, R, V, T, _, Z, F, j, K = m.bits,
|
|
25111
|
-
for (
|
|
25112
|
-
it[
|
|
25110
|
+
var y, N, R, V, T, _, Z, F, j, K = m.bits, S = 0, I = 0, M = 0, z = 0, $ = 0, J = 0, A = 0, L = 0, et = 0, C = 0, O = null, rt = 0, it = new r.Buf16(16), tt = new r.Buf16(16), Mt = null, Zt = 0;
|
|
25111
|
+
for (S = 0; S <= 15; S++)
|
|
25112
|
+
it[S] = 0;
|
|
25113
25113
|
for (I = 0; I < h; I++)
|
|
25114
25114
|
it[u[p + I]]++;
|
|
25115
25115
|
for ($ = K, z = 15; 1 <= z && it[z] === 0; z--)
|
|
@@ -25118,36 +25118,36 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
25118
25118
|
return b[f++] = 20971520, b[f++] = 20971520, m.bits = 1, 0;
|
|
25119
25119
|
for (M = 1; M < z && it[M] === 0; M++)
|
|
25120
25120
|
;
|
|
25121
|
-
for ($ < M && ($ = M),
|
|
25122
|
-
if (L <<= 1, (L -= it[
|
|
25121
|
+
for ($ < M && ($ = M), S = L = 1; S <= 15; S++)
|
|
25122
|
+
if (L <<= 1, (L -= it[S]) < 0)
|
|
25123
25123
|
return -1;
|
|
25124
25124
|
if (0 < L && (d === 0 || z !== 1))
|
|
25125
25125
|
return -1;
|
|
25126
|
-
for (tt[1] = 0,
|
|
25127
|
-
tt[
|
|
25126
|
+
for (tt[1] = 0, S = 1; S < 15; S++)
|
|
25127
|
+
tt[S + 1] = tt[S] + it[S];
|
|
25128
25128
|
for (I = 0; I < h; I++)
|
|
25129
25129
|
u[p + I] !== 0 && (g[tt[u[p + I]]++] = I);
|
|
25130
|
-
if (_ = d === 0 ? (O = Mt = g, 19) : d === 1 ? (O = o, rt -= 257, Mt = a, Zt -= 257, 256) : (O = l, Mt = c, -1),
|
|
25130
|
+
if (_ = d === 0 ? (O = Mt = g, 19) : d === 1 ? (O = o, rt -= 257, Mt = a, Zt -= 257, 256) : (O = l, Mt = c, -1), S = M, T = f, A = I = C = 0, R = -1, V = (et = 1 << (J = $)) - 1, d === 1 && 852 < et || d === 2 && 592 < et)
|
|
25131
25131
|
return 1;
|
|
25132
25132
|
for (; ; ) {
|
|
25133
|
-
for (Z =
|
|
25133
|
+
for (Z = S - A, j = g[I] < _ ? (F = 0, g[I]) : g[I] > _ ? (F = Mt[Zt + g[I]], O[rt + g[I]]) : (F = 96, 0), y = 1 << S - A, M = N = 1 << J; b[T + (C >> A) + (N -= y)] = Z << 24 | F << 16 | j | 0, N !== 0; )
|
|
25134
25134
|
;
|
|
25135
|
-
for (y = 1 <<
|
|
25135
|
+
for (y = 1 << S - 1; C & y; )
|
|
25136
25136
|
y >>= 1;
|
|
25137
|
-
if (y !== 0 ? (C &= y - 1, C += y) : C = 0, I++, --it[
|
|
25138
|
-
if (
|
|
25137
|
+
if (y !== 0 ? (C &= y - 1, C += y) : C = 0, I++, --it[S] == 0) {
|
|
25138
|
+
if (S === z)
|
|
25139
25139
|
break;
|
|
25140
|
-
|
|
25140
|
+
S = u[p + g[I]];
|
|
25141
25141
|
}
|
|
25142
|
-
if ($ <
|
|
25143
|
-
for (A === 0 && (A = $), T += M, L = 1 << (J =
|
|
25142
|
+
if ($ < S && (C & V) !== R) {
|
|
25143
|
+
for (A === 0 && (A = $), T += M, L = 1 << (J = S - A); J + A < z && !((L -= it[J + A]) <= 0); )
|
|
25144
25144
|
J++, L <<= 1;
|
|
25145
25145
|
if (et += 1 << J, d === 1 && 852 < et || d === 2 && 592 < et)
|
|
25146
25146
|
return 1;
|
|
25147
25147
|
b[R = C & V] = $ << 24 | J << 16 | T - f | 0;
|
|
25148
25148
|
}
|
|
25149
25149
|
}
|
|
25150
|
-
return C !== 0 && (b[T + C] =
|
|
25150
|
+
return C !== 0 && (b[T + C] = S - A << 24 | 64 << 16 | 0), m.bits = $, 0;
|
|
25151
25151
|
};
|
|
25152
25152
|
}, { "../utils/common": 41 }], 51: [function(n, s, i) {
|
|
25153
25153
|
s.exports = { 2: "need dictionary", 1: "stream end", 0: "", "-1": "file error", "-2": "stream error", "-3": "data error", "-4": "insufficient memory", "-5": "buffer error", "-6": "incompatible version" };
|
|
@@ -25159,8 +25159,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
25159
25159
|
}
|
|
25160
25160
|
var c = 0, d = 29, u = 256, p = u + 1 + d, h = 30, b = 19, f = 2 * p + 1, g = 15, m = 16, y = 7, N = 256, R = 16, V = 17, T = 18, _ = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0], Z = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13], F = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], j = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], K = new Array(2 * (p + 2));
|
|
25161
25161
|
l(K);
|
|
25162
|
-
var
|
|
25163
|
-
l(
|
|
25162
|
+
var S = new Array(2 * h);
|
|
25163
|
+
l(S);
|
|
25164
25164
|
var I = new Array(512);
|
|
25165
25165
|
l(I);
|
|
25166
25166
|
var M = new Array(256);
|
|
@@ -25304,8 +25304,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
25304
25304
|
for (; W <= 287; )
|
|
25305
25305
|
K[2 * W + 1] = 8, W++, ut[8]++;
|
|
25306
25306
|
for (Zt(K, p + 1, ut), W = 0; W < h; W++)
|
|
25307
|
-
|
|
25308
|
-
$ = new et(K, _, u + 1, p, g), J = new et(
|
|
25307
|
+
S[2 * W + 1] = 5, S[2 * W] = Mt(W, 5);
|
|
25308
|
+
$ = new et(K, _, u + 1, p, g), J = new et(S, Z, 0, h, g), A = new et(new Array(0), F, 0, b, y);
|
|
25309
25309
|
}(), D = !0), U.l_desc = new C(U.dyn_ltree, $), U.d_desc = new C(U.dyn_dtree, J), U.bl_desc = new C(U.bl_tree, A), U.bi_buf = 0, U.bi_valid = 0, ht(U);
|
|
25310
25310
|
}, i._tr_stored_block = x, i._tr_flush_block = function(U, W, P, H) {
|
|
25311
25311
|
var Q, st, ut = 0;
|
|
@@ -25325,7 +25325,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
25325
25325
|
for (k(ot, ot.dyn_ltree, ot.l_desc.max_code), k(ot, ot.dyn_dtree, ot.d_desc.max_code), q(ot, ot.bl_desc), mt = b - 1; 3 <= mt && ot.bl_tree[2 * j[mt] + 1] === 0; mt--)
|
|
25326
25326
|
;
|
|
25327
25327
|
return ot.opt_len += 3 * (mt + 1) + 5 + 5 + 4, mt;
|
|
25328
|
-
}(U), Q = U.opt_len + 3 + 7 >>> 3, (st = U.static_len + 3 + 7 >>> 3) <= Q && (Q = st)) : Q = st = P + 5, P + 4 <= Q && W !== -1 ? x(U, W, P, H) : U.strategy === 4 || st === Q ? (it(U, 2 + (H ? 1 : 0), 3), pe(U, K,
|
|
25328
|
+
}(U), Q = U.opt_len + 3 + 7 >>> 3, (st = U.static_len + 3 + 7 >>> 3) <= Q && (Q = st)) : Q = st = P + 5, P + 4 <= Q && W !== -1 ? x(U, W, P, H) : U.strategy === 4 || st === Q ? (it(U, 2 + (H ? 1 : 0), 3), pe(U, K, S)) : (it(U, 4 + (H ? 1 : 0), 3), function(ot, mt, It, Tt) {
|
|
25329
25329
|
var xt;
|
|
25330
25330
|
for (it(ot, mt - 257, 5), it(ot, It - 1, 5), it(ot, Tt - 4, 4), xt = 0; xt < Tt; xt++)
|
|
25331
25331
|
it(ot, ot.bl_tree[2 * j[xt] + 1], 3);
|
|
@@ -25687,27 +25687,27 @@ const pw = { class: "as" }, fw = { class: "as__header" }, mw = { class: "as__bre
|
|
|
25687
25687
|
}
|
|
25688
25688
|
}
|
|
25689
25689
|
}
|
|
25690
|
-
return (T, _) => (
|
|
25690
|
+
return (T, _) => (w(), E("div", pw, [
|
|
25691
25691
|
v("div", fw, [
|
|
25692
25692
|
v("nav", mw, [
|
|
25693
25693
|
v("button", {
|
|
25694
25694
|
class: Vt(["as__bc-item", { "as__bc-item--active": bt(n).allSessionsTab === "all" }]),
|
|
25695
25695
|
onClick: _[0] || (_[0] = (Z) => bt(n).allSessionsTab = "all")
|
|
25696
25696
|
}, " All Sessions ", 2),
|
|
25697
|
-
bt(n).allSessionsTab === "this" ? (
|
|
25697
|
+
bt(n).allSessionsTab === "this" ? (w(), E(dt, { key: 0 }, [
|
|
25698
25698
|
_[3] || (_[3] = v("span", { class: "as__bc-sep" }, "›", -1)),
|
|
25699
25699
|
_[4] || (_[4] = v("span", { class: "as__bc-current" }, "This Session", -1))
|
|
25700
25700
|
], 64)) : lt("", !0)
|
|
25701
25701
|
]),
|
|
25702
|
-
bt(n).allSessionsTab === "this" && i.value.length > 0 ? (
|
|
25702
|
+
bt(n).allSessionsTab === "this" && i.value.length > 0 ? (w(), E("button", {
|
|
25703
25703
|
key: 0,
|
|
25704
25704
|
class: "as__zip-btn",
|
|
25705
25705
|
disabled: R.value,
|
|
25706
25706
|
onClick: V
|
|
25707
25707
|
}, [
|
|
25708
|
-
R.value ? (
|
|
25708
|
+
R.value ? (w(), E("svg", yw, [..._[6] || (_[6] = [
|
|
25709
25709
|
v("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" }, null, -1)
|
|
25710
|
-
])])) : (
|
|
25710
|
+
])])) : (w(), E("svg", bw, [..._[5] || (_[5] = [
|
|
25711
25711
|
v("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }, null, -1),
|
|
25712
25712
|
v("polyline", { points: "7 10 12 15 17 10" }, null, -1),
|
|
25713
25713
|
v("line", {
|
|
@@ -25720,8 +25720,8 @@ const pw = { class: "as" }, fw = { class: "as__header" }, mw = { class: "as__bre
|
|
|
25720
25720
|
ve(" " + G(R.value ? "Zipping…" : "Download All"), 1)
|
|
25721
25721
|
], 8, gw)) : lt("", !0)
|
|
25722
25722
|
]),
|
|
25723
|
-
bt(n).allSessionsTab === "this" ? (
|
|
25724
|
-
i.value.length === 0 ? (
|
|
25723
|
+
bt(n).allSessionsTab === "this" ? (w(), E("div", Nw, [
|
|
25724
|
+
i.value.length === 0 ? (w(), E("div", kw, [..._[7] || (_[7] = [
|
|
25725
25725
|
v("svg", {
|
|
25726
25726
|
xmlns: "http://www.w3.org/2000/svg",
|
|
25727
25727
|
width: "36",
|
|
@@ -25737,16 +25737,16 @@ const pw = { class: "as" }, fw = { class: "as__header" }, mw = { class: "as__bre
|
|
|
25737
25737
|
v("polyline", { points: "14 2 14 8 20 8" })
|
|
25738
25738
|
], -1),
|
|
25739
25739
|
v("p", null, "No files generated yet in this session", -1)
|
|
25740
|
-
])])) : (
|
|
25740
|
+
])])) : (w(!0), E(dt, { key: 1 }, gt(r.value, (Z) => (w(), E("div", {
|
|
25741
25741
|
key: Z.createdAt,
|
|
25742
25742
|
class: "as__group"
|
|
25743
25743
|
}, [
|
|
25744
25744
|
v("div", vw, [
|
|
25745
25745
|
v("span", Rw, G(h(Z.createdAt)), 1),
|
|
25746
|
-
Z.triggerText ? (
|
|
25746
|
+
Z.triggerText ? (w(), E("span", Mw, G(Z.triggerText), 1)) : lt("", !0)
|
|
25747
25747
|
]),
|
|
25748
25748
|
v("div", Vw, [
|
|
25749
|
-
(
|
|
25749
|
+
(w(!0), E(dt, null, gt(Z.files, (F, j) => (w(), E("button", {
|
|
25750
25750
|
key: j,
|
|
25751
25751
|
class: Vt(["as__card as__file-card", [
|
|
25752
25752
|
F.kind === "docx" ? "as__file-card--docx" : "as__file-card--excel",
|
|
@@ -25755,7 +25755,7 @@ const pw = { class: "as" }, fw = { class: "as__header" }, mw = { class: "as__bre
|
|
|
25755
25755
|
onClick: (K) => m(F)
|
|
25756
25756
|
}, [
|
|
25757
25757
|
v("div", _w, [
|
|
25758
|
-
F.kind === "docx" ? (
|
|
25758
|
+
F.kind === "docx" ? (w(), E("svg", Uw, [..._[8] || (_[8] = [
|
|
25759
25759
|
v("path", { d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" }, null, -1),
|
|
25760
25760
|
v("polyline", { points: "14 2 14 8 20 8" }, null, -1),
|
|
25761
25761
|
v("line", {
|
|
@@ -25770,7 +25770,7 @@ const pw = { class: "as" }, fw = { class: "as__header" }, mw = { class: "as__bre
|
|
|
25770
25770
|
x2: "8",
|
|
25771
25771
|
y2: "17"
|
|
25772
25772
|
}, null, -1)
|
|
25773
|
-
])])) : (
|
|
25773
|
+
])])) : (w(), E("svg", xw, [..._[9] || (_[9] = [
|
|
25774
25774
|
v("path", { d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" }, null, -1),
|
|
25775
25775
|
v("polyline", { points: "14 2 14 8 20 8" }, null, -1),
|
|
25776
25776
|
v("line", {
|
|
@@ -25796,8 +25796,8 @@ const pw = { class: "as" }, fw = { class: "as__header" }, mw = { class: "as__bre
|
|
|
25796
25796
|
], 10, Tw))), 128))
|
|
25797
25797
|
])
|
|
25798
25798
|
]))), 128))
|
|
25799
|
-
])) : (
|
|
25800
|
-
c.value && p.value.length === 0 ? (
|
|
25799
|
+
])) : (w(), E("div", Zw, [
|
|
25800
|
+
c.value && p.value.length === 0 ? (w(), E("div", Ew, [..._[10] || (_[10] = [
|
|
25801
25801
|
v("svg", {
|
|
25802
25802
|
xmlns: "http://www.w3.org/2000/svg",
|
|
25803
25803
|
width: "20",
|
|
@@ -25813,7 +25813,7 @@ const pw = { class: "as" }, fw = { class: "as__header" }, mw = { class: "as__bre
|
|
|
25813
25813
|
v("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" })
|
|
25814
25814
|
], -1),
|
|
25815
25815
|
v("p", null, "Loading…", -1)
|
|
25816
|
-
])])) : !c.value && p.value.length === 0 ? (
|
|
25816
|
+
])])) : !c.value && p.value.length === 0 ? (w(), E("div", Fw, [..._[11] || (_[11] = [
|
|
25817
25817
|
v("svg", {
|
|
25818
25818
|
xmlns: "http://www.w3.org/2000/svg",
|
|
25819
25819
|
width: "36",
|
|
@@ -25829,14 +25829,14 @@ const pw = { class: "as" }, fw = { class: "as__header" }, mw = { class: "as__bre
|
|
|
25829
25829
|
v("polyline", { points: "14 2 14 8 20 8" })
|
|
25830
25830
|
], -1),
|
|
25831
25831
|
v("p", null, "No exported files yet", -1)
|
|
25832
|
-
])])) : (
|
|
25833
|
-
(
|
|
25832
|
+
])])) : (w(), E(dt, { key: 2 }, [
|
|
25833
|
+
(w(!0), E(dt, null, gt(f.value, (Z) => (w(), E("div", {
|
|
25834
25834
|
key: Z.dateLabel,
|
|
25835
25835
|
class: "as__group"
|
|
25836
25836
|
}, [
|
|
25837
25837
|
v("div", zw, G(Z.dateLabel), 1),
|
|
25838
25838
|
v("div", Ww, [
|
|
25839
|
-
(
|
|
25839
|
+
(w(!0), E(dt, null, gt(Z.items, (F) => (w(), E("div", {
|
|
25840
25840
|
key: F.id,
|
|
25841
25841
|
class: Vt(["as__card", { "as__card--current": F.isCurrent }]),
|
|
25842
25842
|
onClick: (j) => y(F)
|
|
@@ -25862,30 +25862,30 @@ const pw = { class: "as" }, fw = { class: "as__header" }, mw = { class: "as__bre
|
|
|
25862
25862
|
onClick: _[1] || (_[1] = ln(() => {
|
|
25863
25863
|
}, ["stop"]))
|
|
25864
25864
|
}, [
|
|
25865
|
-
(
|
|
25865
|
+
(w(!0), E(dt, null, gt(F.exports.slice(0, 3), (j, K) => (w(), E("button", {
|
|
25866
25866
|
key: K,
|
|
25867
25867
|
class: Vt(["as__chip as__chip--sm", j.kind === "docx" ? "as__chip--docx" : "as__chip--excel"]),
|
|
25868
|
-
onClick: (
|
|
25868
|
+
onClick: (S) => N(F, j)
|
|
25869
25869
|
}, [
|
|
25870
25870
|
v("span", Cw, G(j.kind === "docx" ? "DOCX" : "XLSX"), 1),
|
|
25871
25871
|
v("span", Dw, G(j.title), 1)
|
|
25872
25872
|
], 10, Lw))), 128)),
|
|
25873
|
-
F.exports.length > 3 ? (
|
|
25873
|
+
F.exports.length > 3 ? (w(), E("span", Ow, "+" + G(F.exports.length - 3), 1)) : lt("", !0)
|
|
25874
25874
|
]),
|
|
25875
25875
|
v("div", Yw, [
|
|
25876
25876
|
v("span", Bw, G(F.exports.length) + " file" + G(F.exports.length !== 1 ? "s" : ""), 1),
|
|
25877
|
-
F.isCurrent ? (
|
|
25877
|
+
F.isCurrent ? (w(), E("span", Qw, "Current")) : lt("", !0)
|
|
25878
25878
|
])
|
|
25879
25879
|
], 10, Iw))), 128))
|
|
25880
25880
|
])
|
|
25881
25881
|
]))), 128)),
|
|
25882
|
-
l.value || c.value ? (
|
|
25882
|
+
l.value || c.value ? (w(), E("div", Jw, [
|
|
25883
25883
|
v("button", {
|
|
25884
25884
|
class: "as__load-more-btn",
|
|
25885
25885
|
disabled: c.value,
|
|
25886
25886
|
onClick: _[2] || (_[2] = (Z) => d())
|
|
25887
25887
|
}, [
|
|
25888
|
-
c.value ? (
|
|
25888
|
+
c.value ? (w(), E("svg", Gw, [..._[13] || (_[13] = [
|
|
25889
25889
|
v("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" }, null, -1)
|
|
25890
25890
|
])])) : lt("", !0),
|
|
25891
25891
|
ve(" " + G(c.value ? "Loading…" : "Load more"), 1)
|
|
@@ -25900,7 +25900,7 @@ const Hw = /* @__PURE__ */ Ot(Pw, [["__scopeId", "data-v-dd87f580"]]), Xw = { cl
|
|
|
25900
25900
|
__name: "ExpandedRemyPanel",
|
|
25901
25901
|
setup(e) {
|
|
25902
25902
|
const t = Gn();
|
|
25903
|
-
return (n, s) => (
|
|
25903
|
+
return (n, s) => (w(), E("div", Xw, [
|
|
25904
25904
|
v("nav", $w, [
|
|
25905
25905
|
v("div", null, [
|
|
25906
25906
|
v("button", {
|
|
@@ -25952,7 +25952,7 @@ const Hw = /* @__PURE__ */ Ot(Pw, [["__scopeId", "data-v-dd87f580"]]), Xw = { cl
|
|
|
25952
25952
|
s[7] || (s[7] = v("div", { class: "ep__nav-spacer" }, null, -1))
|
|
25953
25953
|
]),
|
|
25954
25954
|
v("div", Kw, [
|
|
25955
|
-
bt(t).activePage === "preview" ? (
|
|
25955
|
+
bt(t).activePage === "preview" ? (w(), At(cw, { key: 0 })) : bt(t).activePage === "all-sessions" ? (w(), At(Hw, { key: 1 })) : lt("", !0)
|
|
25956
25956
|
])
|
|
25957
25957
|
]));
|
|
25958
25958
|
}
|
|
@@ -25987,9 +25987,9 @@ const tZ = /* @__PURE__ */ Ot(qw, [["__scopeId", "data-v-4b9ab506"]]), eZ = { cl
|
|
|
25987
25987
|
const { t } = Ao(), n = Nn(), s = vr(), i = Gn();
|
|
25988
25988
|
function r() {
|
|
25989
25989
|
try {
|
|
25990
|
-
const
|
|
25991
|
-
if (
|
|
25992
|
-
const I = parseInt(
|
|
25990
|
+
const S = localStorage.getItem(Rd);
|
|
25991
|
+
if (S) {
|
|
25992
|
+
const I = parseInt(S, 10);
|
|
25993
25993
|
if (!isNaN(I) && I >= oo)
|
|
25994
25994
|
return I;
|
|
25995
25995
|
}
|
|
@@ -25997,38 +25997,41 @@ const tZ = /* @__PURE__ */ Ot(qw, [["__scopeId", "data-v-4b9ab506"]]), eZ = { cl
|
|
|
25997
25997
|
}
|
|
25998
25998
|
return yZ;
|
|
25999
25999
|
}
|
|
26000
|
-
const o = at(r()), a = at(!1), l = ft(() =>
|
|
26001
|
-
|
|
26002
|
-
|
|
26000
|
+
const o = at(r()), a = at(!1), l = ft(() => {
|
|
26001
|
+
const S = i.isOpen ? 998 : 1e3;
|
|
26002
|
+
return j.value ? { zIndex: S, width: "100vw", left: "0" } : s.isFullscreen ? { zIndex: S, width: "100vw", left: "0", height: "100vh" } : { zIndex: S, width: `${o.value}px` };
|
|
26003
|
+
});
|
|
26004
|
+
function c(S) {
|
|
26005
|
+
S.preventDefault(), a.value = !0, document.body.style.cursor = "col-resize";
|
|
26003
26006
|
}
|
|
26004
|
-
function d(
|
|
26007
|
+
function d(S) {
|
|
26005
26008
|
if (!(!a.value || j.value)) {
|
|
26006
26009
|
if (s.isFullscreen) {
|
|
26007
|
-
|
|
26010
|
+
S.clientX > Md && (s.isFullscreen = !1, o.value = Math.max(window.innerWidth - S.clientX, oo));
|
|
26008
26011
|
return;
|
|
26009
26012
|
}
|
|
26010
|
-
if (
|
|
26013
|
+
if (S.clientX <= Md) {
|
|
26011
26014
|
s.isFullscreen = !0, a.value = !1, document.body.style.cursor = "";
|
|
26012
26015
|
return;
|
|
26013
26016
|
}
|
|
26014
|
-
o.value = Math.max(window.innerWidth -
|
|
26017
|
+
o.value = Math.max(window.innerWidth - S.clientX, oo);
|
|
26015
26018
|
}
|
|
26016
26019
|
}
|
|
26017
26020
|
function u() {
|
|
26018
26021
|
a.value && (a.value = !1, document.body.style.cursor = "");
|
|
26019
26022
|
}
|
|
26020
|
-
ne(o, (
|
|
26023
|
+
ne(o, (S) => {
|
|
26021
26024
|
try {
|
|
26022
|
-
localStorage.setItem(Rd,
|
|
26025
|
+
localStorage.setItem(Rd, S.toString());
|
|
26023
26026
|
} catch {
|
|
26024
26027
|
}
|
|
26025
26028
|
});
|
|
26026
26029
|
const p = ft(() => j.value ? "0px" : s.isFullscreen || F.value - o.value < NZ ? "10px" : `${o.value + 10}px`);
|
|
26027
|
-
function h(
|
|
26028
|
-
return
|
|
26030
|
+
function h(S) {
|
|
26031
|
+
return S < 1e4 ? S.toLocaleString() : S < 1e6 ? `${(S / 1e3).toFixed(1)}K` : S < 1e9 ? `${(S / 1e6).toFixed(1)}M` : `${(S / 1e9).toFixed(1)}B`;
|
|
26029
26032
|
}
|
|
26030
|
-
function b(
|
|
26031
|
-
n.currentConversationId ? n.sendMessage(
|
|
26033
|
+
function b(S) {
|
|
26034
|
+
n.currentConversationId ? n.sendMessage(S) : n.createConversationAndSendMessage(S);
|
|
26032
26035
|
}
|
|
26033
26036
|
const f = at(!1), g = at(!1);
|
|
26034
26037
|
function m() {
|
|
@@ -26063,12 +26066,12 @@ const tZ = /* @__PURE__ */ Ot(qw, [["__scopeId", "data-v-4b9ab506"]]), eZ = { cl
|
|
|
26063
26066
|
window.addEventListener("mousemove", d), window.addEventListener("mouseup", u), window.addEventListener("resize", K);
|
|
26064
26067
|
}), Ps(() => {
|
|
26065
26068
|
window.removeEventListener("mousemove", d), window.removeEventListener("mouseup", u), window.removeEventListener("resize", K), document.body.style.cursor = "";
|
|
26066
|
-
}), (
|
|
26069
|
+
}), (S, I) => (w(), E(dt, null, [
|
|
26067
26070
|
v("div", {
|
|
26068
26071
|
class: Vt(["rp", { "select-none": a.value }]),
|
|
26069
26072
|
style: lo(l.value)
|
|
26070
26073
|
}, [
|
|
26071
|
-
j.value ? lt("", !0) : (
|
|
26074
|
+
j.value ? lt("", !0) : (w(), E("div", {
|
|
26072
26075
|
key: 0,
|
|
26073
26076
|
class: "rp__resize-handle",
|
|
26074
26077
|
title: "Drag to resize",
|
|
@@ -26088,11 +26091,11 @@ const tZ = /* @__PURE__ */ Ot(qw, [["__scopeId", "data-v-4b9ab506"]]), eZ = { cl
|
|
|
26088
26091
|
v("div", rZ, [
|
|
26089
26092
|
v("p", oZ, [
|
|
26090
26093
|
I[2] || (I[2] = ve(" Beta", -1)),
|
|
26091
|
-
bt(s).tokenBalance ? (
|
|
26094
|
+
bt(s).tokenBalance ? (w(), E(dt, { key: 0 }, [
|
|
26092
26095
|
ve(" · " + G(h(bt(s).tokenBalance.total)) + " tokens", 1)
|
|
26093
26096
|
], 64)) : lt("", !0)
|
|
26094
26097
|
]),
|
|
26095
|
-
bt(s).tokenBalance ? (
|
|
26098
|
+
bt(s).tokenBalance ? (w(), E("div", aZ, [
|
|
26096
26099
|
v("div", lZ, [
|
|
26097
26100
|
I[3] || (I[3] = v("span", { class: "rp__balance-pop-label" }, "Free", -1)),
|
|
26098
26101
|
v("span", cZ, G(h(bt(s).tokenBalance.free)), 1)
|
|
@@ -26106,7 +26109,7 @@ const tZ = /* @__PURE__ */ Ot(qw, [["__scopeId", "data-v-4b9ab506"]]), eZ = { cl
|
|
|
26106
26109
|
])
|
|
26107
26110
|
]),
|
|
26108
26111
|
v("div", hZ, [
|
|
26109
|
-
bt(n).currentConversationId ? (
|
|
26112
|
+
bt(n).currentConversationId ? (w(), E("button", {
|
|
26110
26113
|
key: 0,
|
|
26111
26114
|
class: "rp__btn",
|
|
26112
26115
|
onClick: R,
|
|
@@ -26130,7 +26133,7 @@ const tZ = /* @__PURE__ */ Ot(qw, [["__scopeId", "data-v-4b9ab506"]]), eZ = { cl
|
|
|
26130
26133
|
onClick: m,
|
|
26131
26134
|
title: bt(i).isOpen ? "Restore" : "Maximize"
|
|
26132
26135
|
}, [
|
|
26133
|
-
bt(i).isOpen ? (
|
|
26136
|
+
bt(i).isOpen ? (w(), E("svg", mZ, [...I[8] || (I[8] = [
|
|
26134
26137
|
v("polyline", { points: "4 14 10 14 10 20" }, null, -1),
|
|
26135
26138
|
v("polyline", { points: "20 10 14 10 14 4" }, null, -1),
|
|
26136
26139
|
v("line", {
|
|
@@ -26145,7 +26148,7 @@ const tZ = /* @__PURE__ */ Ot(qw, [["__scopeId", "data-v-4b9ab506"]]), eZ = { cl
|
|
|
26145
26148
|
x2: "14",
|
|
26146
26149
|
y2: "10"
|
|
26147
26150
|
}, null, -1)
|
|
26148
|
-
])])) : (
|
|
26151
|
+
])])) : (w(), E("svg", fZ, [...I[7] || (I[7] = [
|
|
26149
26152
|
v("polyline", { points: "15 3 21 3 21 9" }, null, -1),
|
|
26150
26153
|
v("polyline", { points: "9 21 3 21 3 15" }, null, -1),
|
|
26151
26154
|
v("line", {
|
|
@@ -26162,7 +26165,7 @@ const tZ = /* @__PURE__ */ Ot(qw, [["__scopeId", "data-v-4b9ab506"]]), eZ = { cl
|
|
|
26162
26165
|
}, null, -1)
|
|
26163
26166
|
])]))
|
|
26164
26167
|
], 8, pZ),
|
|
26165
|
-
bt(n).currentConversationId ? (
|
|
26168
|
+
bt(n).currentConversationId ? (w(), E("button", {
|
|
26166
26169
|
key: 1,
|
|
26167
26170
|
class: "rp__btn",
|
|
26168
26171
|
onClick: V,
|
|
@@ -26213,15 +26216,15 @@ const tZ = /* @__PURE__ */ Ot(qw, [["__scopeId", "data-v-4b9ab506"]]), eZ = { cl
|
|
|
26213
26216
|
])], 8, gZ)
|
|
26214
26217
|
])
|
|
26215
26218
|
]),
|
|
26216
|
-
bt(n).currentConversationId ? (
|
|
26219
|
+
bt(n).currentConversationId ? (w(), At(xx, {
|
|
26217
26220
|
key: bt(n).currentConversationId,
|
|
26218
26221
|
messages: bt(n).messages,
|
|
26219
26222
|
"is-streaming": bt(n).isStreaming
|
|
26220
|
-
}, null, 8, ["messages", "is-streaming"])) : (
|
|
26223
|
+
}, null, 8, ["messages", "is-streaming"])) : (w(), At(NS, { key: 1 })),
|
|
26221
26224
|
ie(dS, { onSend: b }),
|
|
26222
26225
|
ie(Es, { name: "confirm" }, {
|
|
26223
26226
|
default: en(() => [
|
|
26224
|
-
f.value ? (
|
|
26227
|
+
f.value ? (w(), E("div", {
|
|
26225
26228
|
key: 0,
|
|
26226
26229
|
class: "rp__overlay",
|
|
26227
26230
|
onClick: ln(N, ["self"])
|
|
@@ -26261,7 +26264,7 @@ const tZ = /* @__PURE__ */ Ot(qw, [["__scopeId", "data-v-4b9ab506"]]), eZ = { cl
|
|
|
26261
26264
|
}),
|
|
26262
26265
|
ie(Es, { name: "confirm" }, {
|
|
26263
26266
|
default: en(() => [
|
|
26264
|
-
g.value ? (
|
|
26267
|
+
g.value ? (w(), E("div", {
|
|
26265
26268
|
key: 0,
|
|
26266
26269
|
class: "rp__overlay",
|
|
26267
26270
|
onClick: ln(_, ["self"])
|
|
@@ -26300,10 +26303,10 @@ const tZ = /* @__PURE__ */ Ot(qw, [["__scopeId", "data-v-4b9ab506"]]), eZ = { cl
|
|
|
26300
26303
|
_: 1
|
|
26301
26304
|
})
|
|
26302
26305
|
], 6),
|
|
26303
|
-
(
|
|
26306
|
+
(w(), At(Jp, { to: "body" }, [
|
|
26304
26307
|
ie(Es, { name: "ep-slide" }, {
|
|
26305
26308
|
default: en(() => [
|
|
26306
|
-
bt(i).isOpen ? (
|
|
26309
|
+
bt(i).isOpen ? (w(), E("div", {
|
|
26307
26310
|
key: 0,
|
|
26308
26311
|
class: "ep-backdrop",
|
|
26309
26312
|
style: lo(j.value ? {} : { paddingRight: p.value }),
|
|
@@ -26320,7 +26323,7 @@ const tZ = /* @__PURE__ */ Ot(qw, [["__scopeId", "data-v-4b9ab506"]]), eZ = { cl
|
|
|
26320
26323
|
], 64));
|
|
26321
26324
|
}
|
|
26322
26325
|
});
|
|
26323
|
-
const Fp = /* @__PURE__ */ Ot(kZ, [["__scopeId", "data-v-
|
|
26326
|
+
const Fp = /* @__PURE__ */ Ot(kZ, [["__scopeId", "data-v-b5166fc4"]]), vZ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
26324
26327
|
__proto__: null,
|
|
26325
26328
|
default: Fp
|
|
26326
26329
|
}, Symbol.toStringTag, { value: "Module" })), RZ = { class: "flex h-full w-full relative overflow-hidden bg-[#fafafa]" }, MZ = { class: "flex-1 min-w-0 overflow-auto h-full transition-[margin-right] duration-300" }, VZ = /* @__PURE__ */ zt({
|
|
@@ -26343,7 +26346,7 @@ const Fp = /* @__PURE__ */ Ot(kZ, [["__scopeId", "data-v-94b6b7c4"]]), vZ = /* @
|
|
|
26343
26346
|
window.removeEventListener("resize", a);
|
|
26344
26347
|
}), (l, c) => {
|
|
26345
26348
|
const d = Ap("router-view");
|
|
26346
|
-
return
|
|
26349
|
+
return w(), E("div", RZ, [
|
|
26347
26350
|
v("div", MZ, [
|
|
26348
26351
|
ie(d)
|
|
26349
26352
|
]),
|
|
@@ -26356,7 +26359,7 @@ const Fp = /* @__PURE__ */ Ot(kZ, [["__scopeId", "data-v-94b6b7c4"]]), vZ = /* @
|
|
|
26356
26359
|
"leave-to-class": "translate-x-full"
|
|
26357
26360
|
}, {
|
|
26358
26361
|
default: en(() => [
|
|
26359
|
-
i.value ? (
|
|
26362
|
+
i.value ? (w(), At(Fp, { key: 0 })) : lt("", !0)
|
|
26360
26363
|
]),
|
|
26361
26364
|
_: 1
|
|
26362
26365
|
}),
|
|
@@ -26367,7 +26370,7 @@ const Fp = /* @__PURE__ */ Ot(kZ, [["__scopeId", "data-v-94b6b7c4"]]), vZ = /* @
|
|
|
26367
26370
|
"leave-to-class": "opacity-0"
|
|
26368
26371
|
}, {
|
|
26369
26372
|
default: en(() => [
|
|
26370
|
-
i.value && o.value ? (
|
|
26373
|
+
i.value && o.value ? (w(), E("div", {
|
|
26371
26374
|
key: 0,
|
|
26372
26375
|
class: "fixed inset-0 bg-black/50 z-[999]",
|
|
26373
26376
|
onClick: c[0] || (c[0] = () => bt(t).close())
|
|
@@ -26383,7 +26386,7 @@ const jZ = /* @__PURE__ */ Ot(VZ, [["__scopeId", "data-v-874a35a1"]]), TZ = [
|
|
|
26383
26386
|
{
|
|
26384
26387
|
path: "/",
|
|
26385
26388
|
name: "home",
|
|
26386
|
-
component: () => import("./HomeView-
|
|
26389
|
+
component: () => import("./HomeView-fd6b8038.js")
|
|
26387
26390
|
}
|
|
26388
26391
|
], LZ = Gp({
|
|
26389
26392
|
history: Pp(),
|
|
@@ -26485,10 +26488,10 @@ const jZ = /* @__PURE__ */ Ot(VZ, [["__scopeId", "data-v-874a35a1"]]), TZ = [
|
|
|
26485
26488
|
"zh-CN": SZ
|
|
26486
26489
|
};
|
|
26487
26490
|
async function DZ() {
|
|
26488
|
-
const e = "https://remy-agent-api.
|
|
26491
|
+
const e = "https://remy-agent-api.feedmeapidev.com", t = "https://license-v2-dev.feedmeapi.com";
|
|
26489
26492
|
pk(e), bk(t), vr().initialize(), Nn(), console.log("Remy Chat initialized");
|
|
26490
26493
|
}
|
|
26491
|
-
const OZ = _d(() => Promise.resolve().then(() => vZ)), YZ = _d(() => import("./RemyButton-
|
|
26494
|
+
const OZ = _d(() => Promise.resolve().then(() => vZ)), YZ = _d(() => import("./RemyButton-85e29b2b.js"));
|
|
26492
26495
|
export {
|
|
26493
26496
|
jZ as A,
|
|
26494
26497
|
OZ as C,
|