@omg-dev/app 0.6.55 → 0.6.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/{ChangelogPage-BbQeVLzB.js → ChangelogPage-DKzCNIxl.js} +22 -1
- package/dist-lib/{File-6EjmZMI_.js → File-Cai5L4FH.js} +9 -9
- package/dist-lib/{FileEditor-Cd_j2Pn3.js → FileEditor-CBvFYi01.js} +1 -1
- package/dist-lib/{FileViewer-rlK_MPcS.js → FileViewer-Bw4MhWTo.js} +1 -1
- package/dist-lib/{SessionFilesPanel-BK6YFU3g.js → SessionFilesPanel-DUgIe5Cy.js} +90 -97
- package/dist-lib/{TermView-CTgGFv_h.js → TermView-CGJmqrWc.js} +1057 -1047
- package/dist-lib/base-D0bhR7dg.js +134 -0
- package/dist-lib/{board-page-ComPCCtB.js → board-page-CkLa92Hb.js} +4 -4
- package/dist-lib/{chat-engine-CX5mki3M.js → chat-engine-C9VDURtw.js} +1 -1
- package/dist-lib/{coding-agents-page-CpAcT8LU.js → coding-agents-page-C0rNM74t.js} +1 -1
- package/dist-lib/{computer-page-C_CAfCjh.js → computer-page-Z0nrtik2.js} +1437 -1358
- package/dist-lib/create-BOwd_pad.js +175 -0
- package/dist-lib/{embedded-BMTU-zrw.js → embedded-8b8Vi7xe.js} +15949 -14608
- package/dist-lib/{index-bi2f1zSC.js → index-DzATxXrP.js} +7 -7
- package/dist-lib/index.js +1 -1
- package/dist-lib/keyboard-3Zi_Sfp9.js +35 -0
- package/dist-lib/{resume-session-sheet-BVk71eSt.js → resume-session-sheet-DiU0-LEp.js} +1 -1
- package/dist-lib/{session-token-usage-nqc70CEb.js → session-token-usage-BDt1C7Q0.js} +1 -1
- package/dist-lib/{shipped-page-BLI5UJS4.js → shipped-page-CGZZC4U-.js} +21 -21
- package/dist-lib/{streamdown-response-BiOYv2QZ.js → streamdown-response-CTtDNb0W.js} +1 -1
- package/dist-lib/styles.css +1 -1
- package/package.json +3 -2
- package/dist-lib/create-CBk9uwJH.js +0 -306
- package/dist-lib/keyboard-BxXuHG1v.js +0 -21
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { o as Z, t as ce, C as Yn, j as be, M as Hi, G as bi, u as Mi, v as Di, A as Pi, w as Fi, x as Oi, I as zi, y as Oe, z as Jn, B as Ni, H as Bi, J as ze, K as Ne, L as we, N as Pe, O as Ce, P as Zn, S as Vi, Q as B, R as Le, T as Ui, D as ee, U as at, V as _i, W as Qe, X as ke, Y as $i, Z as Wi, _ as Gi, $ as ji, a0 as Ki, a1 as qi, l as dt, a2 as Te, a3 as tt, a4 as Qn, a5 as Zt, a6 as Xi, a7 as Yi, a8 as He, a9 as Ji, aa as Q, ab as Zi, ac as ei, ad as Qt, ae as Qi, af as $e, ag as eo, ah as ti, ai as to, aj as no, ak as xt, al as ni, k as vt, am as io, an as oo, ao as ii, ap as so, aq as en, q as oi, ar as si, as as ro, at as kt, au as lo, av as ao, aw as ho, ax as co, ay as uo, az as fo, aA as tn, aB as po, aC as go,
|
|
2
|
-
import { b1 as Ol, E as zl, F as Nl, b2 as Bl, b3 as Vl, b4 as Ul, b5 as _l, b6 as $l } from "./File-
|
|
1
|
+
import { o as Z, t as ce, C as Yn, j as be, M as Hi, G as bi, u as Mi, v as Di, A as Pi, w as Fi, x as Oi, I as zi, y as Oe, z as Jn, B as Ni, H as Bi, J as ze, K as Ne, L as we, N as Pe, O as Ce, P as Zn, S as Vi, Q as B, R as Le, T as Ui, D as ee, U as at, V as _i, W as Qe, X as ke, Y as $i, Z as Wi, _ as Gi, $ as ji, a0 as Ki, a1 as qi, l as dt, a2 as Te, a3 as tt, a4 as Qn, a5 as Zt, a6 as Xi, a7 as Yi, a8 as He, a9 as Ji, aa as Q, ab as Zi, ac as ei, ad as Qt, ae as Qi, af as $e, ag as eo, ah as ti, ai as to, aj as no, ak as xt, al as ni, k as vt, am as io, an as oo, ao as ii, ap as so, aq as en, q as oi, ar as si, as as ro, at as kt, au as lo, av as ao, aw as ho, ax as co, ay as uo, az as fo, aA as tn, aB as po, aC as go, aD as mo, m as Co, aE as nn, aF as ht, aG as So, aH as Lo, aI as Fe, aJ as ct, aK as It, aL as yo, aM as Be, aN as xo, aO as Me, aP as vo, aQ as ko, aR as Io, aS as Ve, aT as Eo, aU as wo, aV as To, aW as ri, aX as Bt, aY as ne, aZ as Ao, a_ as Ro, a$ as Ae, b0 as lt } from "./File-Cai5L4FH.js";
|
|
2
|
+
import { b1 as Ol, E as zl, F as Nl, b2 as Bl, b3 as Vl, b4 as Ul, b5 as _l, b6 as $l } from "./File-Cai5L4FH.js";
|
|
3
3
|
import { jsxs as nt, Fragment as it, jsx as J } from "react/jsx-runtime";
|
|
4
|
-
import { a as Ho } from "./create-
|
|
4
|
+
import { a as Ho } from "./create-BOwd_pad.js";
|
|
5
5
|
import { t as Se } from "./engine-compile-D_stzVMa.js";
|
|
6
6
|
import { forwardRef as bo, useContext as Vt, useRef as Ut, useMemo as ye, useState as Et, useImperativeHandle as Mo, useEffect as _t, useLayoutEffect as $t, memo as Do, useSyncExternalStore as Po, useCallback as wt } from "react";
|
|
7
7
|
import { flushSync as Fo, createPortal as ut } from "react-dom";
|
|
@@ -3399,7 +3399,7 @@ var Xt = class {
|
|
|
3399
3399
|
this.themeCSSStyle = po({
|
|
3400
3400
|
shadowRoot: s,
|
|
3401
3401
|
currentNode: this.themeCSSStyle,
|
|
3402
|
-
themeCSS:
|
|
3402
|
+
themeCSS: go(n, r, d)
|
|
3403
3403
|
}), this.appliedThemeCSS = this.themeCSSStyle != null ? {
|
|
3404
3404
|
theme: a,
|
|
3405
3405
|
themeStyles: n,
|
|
@@ -3410,10 +3410,10 @@ var Xt = class {
|
|
|
3410
3410
|
}
|
|
3411
3411
|
hydrateMeasuredScrollbar() {
|
|
3412
3412
|
const e = this.fileContainer?.shadowRoot;
|
|
3413
|
-
e == null || this.themeCSSStyle == null || (this.themeCSSStyle.textContent =
|
|
3413
|
+
e == null || this.themeCSSStyle == null || (this.themeCSSStyle.textContent = mo(this.themeCSSStyle.textContent ?? "", tn(e)));
|
|
3414
3414
|
}
|
|
3415
3415
|
shouldGuardRebuildScroll() {
|
|
3416
|
-
return this.editor != null &&
|
|
3416
|
+
return this.editor != null && Co();
|
|
3417
3417
|
}
|
|
3418
3418
|
applyHunksToDOM(e, n) {
|
|
3419
3419
|
this.shouldGuardRebuildScroll() ? nn(e, () => this.replaceCodeColumns(e, n)) : this.replaceCodeColumns(e, n);
|
|
@@ -3669,7 +3669,7 @@ var Xt = class {
|
|
|
3669
3669
|
totalLines: o,
|
|
3670
3670
|
customProperties: s
|
|
3671
3671
|
};
|
|
3672
|
-
|
|
3672
|
+
So(c, this.appliedPreAttributes) || (Lo(e, c), this.appliedPreAttributes = c);
|
|
3673
3673
|
}
|
|
3674
3674
|
applyErrorToDOM(e, n) {
|
|
3675
3675
|
this.cleanupErrorWrapper(), this.pre?.remove(), this.pre = void 0, this.appliedPreAttributes = void 0;
|
package/dist-lib/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "@tanstack/react-router";
|
|
4
|
-
import {
|
|
4
|
+
import { ai as m, aj as o, ak as i } from "./embedded-8b8Vi7xe.js";
|
|
5
5
|
export {
|
|
6
6
|
m as OmgAppSurface,
|
|
7
7
|
o as OmgSettingsSurface,
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { y as e } from "./embedded-8b8Vi7xe.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license lucide-react v0.577.0 - ISC
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the ISC license.
|
|
6
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
const h = [
|
|
9
|
+
["path", { d: "M11 14h10", key: "1w8e9d" }],
|
|
10
|
+
["path", { d: "M16 4h2a2 2 0 0 1 2 2v1.344", key: "1e62lh" }],
|
|
11
|
+
["path", { d: "m17 18 4-4-4-4", key: "z2g111" }],
|
|
12
|
+
["path", { d: "M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 1.793-1.113", key: "bjbb7m" }],
|
|
13
|
+
["rect", { x: "8", y: "2", width: "8", height: "4", rx: "1", key: "ublpy" }]
|
|
14
|
+
], d = e("clipboard-paste", h);
|
|
15
|
+
/**
|
|
16
|
+
* @license lucide-react v0.577.0 - ISC
|
|
17
|
+
*
|
|
18
|
+
* This source code is licensed under the ISC license.
|
|
19
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
20
|
+
*/
|
|
21
|
+
const t = [
|
|
22
|
+
["path", { d: "M10 8h.01", key: "1r9ogq" }],
|
|
23
|
+
["path", { d: "M12 12h.01", key: "1mp3jc" }],
|
|
24
|
+
["path", { d: "M14 8h.01", key: "1primd" }],
|
|
25
|
+
["path", { d: "M16 12h.01", key: "1l6xoz" }],
|
|
26
|
+
["path", { d: "M18 8h.01", key: "emo2bl" }],
|
|
27
|
+
["path", { d: "M6 8h.01", key: "x9i8wu" }],
|
|
28
|
+
["path", { d: "M7 16h10", key: "wp8him" }],
|
|
29
|
+
["path", { d: "M8 12h.01", key: "czm47f" }],
|
|
30
|
+
["rect", { width: "20", height: "16", x: "2", y: "4", rx: "2", key: "18n3k1" }]
|
|
31
|
+
], p = e("keyboard", t);
|
|
32
|
+
export {
|
|
33
|
+
d as C,
|
|
34
|
+
p as K
|
|
35
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as t, jsxs as s, Fragment as R } from "react/jsx-runtime";
|
|
2
|
-
import { r as X, P as J, a as le,
|
|
2
|
+
import { r as X, P as J, a as le, f as oe, g as ie, h as ce, X as K, A as P, R as Y, i as de, S as ue, j as Z, T as me, k as he, l as pe, C as fe, L as ge } from "./embedded-8b8Vi7xe.js";
|
|
3
3
|
import { cn as x } from "cnfast";
|
|
4
4
|
import { useState as a, useRef as E, useEffect as C, useCallback as xe } from "react";
|
|
5
5
|
function be(r) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as s, jsxs as a, Fragment as w } from "react/jsx-runtime";
|
|
2
|
-
import { a as $, D as C, b as T, c as M, d as D, G as S, e as F, t as L, L as R } from "./embedded-
|
|
2
|
+
import { a as $, D as C, b as T, c as M, d as D, G as S, e as F, t as L, L as R } from "./embedded-8b8Vi7xe.js";
|
|
3
3
|
import { useState as g, useCallback as j, useEffect as z } from "react";
|
|
4
4
|
import "@base-ui/react/collapsible";
|
|
5
5
|
import { cn as P } from "cnfast";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as o, jsx as r, Fragment as ce } from "react/jsx-runtime";
|
|
2
2
|
import { useState as f, useEffect as v, useRef as ue, useContext as Le, useMemo as Me } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { y as _e, E as me, F as $e, H as L, I as fe, J as Se, N as Pe, O as je, B as Fe, L as he, Q as Ge, j as Q, C as Ye, R as Be, T as Ke, U as Ue, u as pe, p as He, V as Ve, a as C, W as N, Y as D, v as z, Z as X, _ as Je, $ as Qe, a0 as Xe, a1 as qe, a2 as Oe, m as We, a3 as Ze } from "./embedded-8b8Vi7xe.js";
|
|
4
4
|
import { cn as M } from "cnfast";
|
|
5
5
|
/**
|
|
6
6
|
* @license lucide-react v0.577.0 - ISC
|
|
@@ -46,7 +46,7 @@ function xe(n, i) {
|
|
|
46
46
|
function _(n) {
|
|
47
47
|
return `shipped:${n.id}:${n.rev}`;
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function q(n, i) {
|
|
50
50
|
return n ? i.ts > n.through && !n.ids.includes(i.id) : !1;
|
|
51
51
|
}
|
|
52
52
|
function nt(n, i) {
|
|
@@ -69,7 +69,7 @@ function at({
|
|
|
69
69
|
children: c
|
|
70
70
|
}) {
|
|
71
71
|
return /* @__PURE__ */ o("div", { className: "relative h-32 w-full overflow-hidden bg-background", children: [
|
|
72
|
-
/* @__PURE__ */ r(
|
|
72
|
+
/* @__PURE__ */ r(Qe, { path: n, cacheKey: i, className: "h-full w-full" }),
|
|
73
73
|
c
|
|
74
74
|
] });
|
|
75
75
|
}
|
|
@@ -100,7 +100,7 @@ function it({
|
|
|
100
100
|
className: "relative size-[52px] shrink-0 overflow-hidden rounded-lg border border-border/60 bg-muted transition-transform active:scale-[0.97]",
|
|
101
101
|
children: [
|
|
102
102
|
l.kind === "image" ? /* @__PURE__ */ r(
|
|
103
|
-
|
|
103
|
+
Xe,
|
|
104
104
|
{
|
|
105
105
|
path: l.url,
|
|
106
106
|
alt: l.caption || l.name,
|
|
@@ -111,7 +111,7 @@ function it({
|
|
|
111
111
|
// Deliberately an icon, not a live preview. A document scaled into a
|
|
112
112
|
// 52px box is two words of giant text — unreadable, and it costs a
|
|
113
113
|
// fetch + parse per row. The Artifacts page is where previews belong.
|
|
114
|
-
/* @__PURE__ */ r("span", { className: "flex size-full items-center justify-center bg-primary/10 text-primary", children: /* @__PURE__ */ r(
|
|
114
|
+
/* @__PURE__ */ r("span", { className: "flex size-full items-center justify-center bg-primary/10 text-primary", children: /* @__PURE__ */ r(qe, { className: "size-4" }) })
|
|
115
115
|
) : l.kind === "file" ? /* @__PURE__ */ r("span", { className: "flex size-full items-center justify-center bg-muted text-muted-foreground", children: /* @__PURE__ */ r(Oe, { className: "size-4" }) }) : /* @__PURE__ */ r("span", { className: "flex size-full items-center justify-center bg-black/80 text-white/80", children: /* @__PURE__ */ r(We, { className: "size-4" }) }),
|
|
116
116
|
u > 0 ? /* @__PURE__ */ o("span", { className: "absolute inset-x-0 bottom-0 bg-black/55 py-0.5 text-center text-[9px] font-semibold text-white", children: [
|
|
117
117
|
"+",
|
|
@@ -144,7 +144,7 @@ function mt({
|
|
|
144
144
|
artifactsOnly: p = !1,
|
|
145
145
|
active: g = !0
|
|
146
146
|
}) {
|
|
147
|
-
const h = p ? "artifacts" : "feed", $ = p ? me(D) : null, S = p ? null : me(
|
|
147
|
+
const h = p ? "artifacts" : "feed", $ = p ? me(D) : null, S = p ? null : me(X), [m, P] = f(() => S?.items ?? null), [j, W] = f(() => S?.total ?? 0), [F, Z] = f(!1), [w, k] = f(
|
|
148
148
|
() => p ? null : R(u)
|
|
149
149
|
), [G, ee] = f(!1), [Y, te] = f(null), { questions: b, busy: ye, dismissAll: ve } = $e(), [B, T] = f(!1);
|
|
150
150
|
v(() => {
|
|
@@ -175,7 +175,7 @@ function mt({
|
|
|
175
175
|
if (!e) return;
|
|
176
176
|
const s = Array.isArray(a.artifacts) ? a.artifacts : [], x = a.total ?? s.length;
|
|
177
177
|
A((ze) => {
|
|
178
|
-
const Re = new Set(s.map((
|
|
178
|
+
const Re = new Set(s.map((J) => J.id)), Te = (ze ?? []).filter((J) => !Re.has(J.id)), V = [...s, ...Te];
|
|
179
179
|
return I.current = Math.max(L, V.length), N(D, V, x), V;
|
|
180
180
|
}), K(x);
|
|
181
181
|
} catch {
|
|
@@ -266,19 +266,19 @@ function mt({
|
|
|
266
266
|
};
|
|
267
267
|
v(() => {
|
|
268
268
|
if (!(h !== "feed" || !g))
|
|
269
|
-
return
|
|
269
|
+
return je((e) => {
|
|
270
270
|
if (!e.ok) {
|
|
271
271
|
P((t) => (t === null && te(e.error), t));
|
|
272
272
|
return;
|
|
273
273
|
}
|
|
274
274
|
P((t) => {
|
|
275
275
|
const d = new Set(e.posts.map((x) => x.id)), a = (t ?? []).filter((x) => !d.has(x.id)), s = [...e.posts, ...a];
|
|
276
|
-
return H.current = Math.max(Ze, s.length), N(
|
|
276
|
+
return H.current = Math.max(Ze, s.length), N(X, s, e.total), s;
|
|
277
277
|
}), W(e.total), te(null);
|
|
278
278
|
});
|
|
279
279
|
}, [h, g]);
|
|
280
280
|
const Ee = async () => {
|
|
281
|
-
if (!
|
|
281
|
+
if (!F) {
|
|
282
282
|
Z(!0);
|
|
283
283
|
try {
|
|
284
284
|
const e = await C(
|
|
@@ -287,7 +287,7 @@ function mt({
|
|
|
287
287
|
);
|
|
288
288
|
P((t) => {
|
|
289
289
|
const d = new Set((t ?? []).map((s) => s.id)), a = [...t ?? [], ...e.posts.filter((s) => !d.has(s.id))];
|
|
290
|
-
return H.current = a.length, N(
|
|
290
|
+
return H.current = a.length, N(X, a, e.total ?? j), a;
|
|
291
291
|
}), W((t) => e.total ?? t);
|
|
292
292
|
} catch {
|
|
293
293
|
} finally {
|
|
@@ -295,7 +295,7 @@ function mt({
|
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
297
|
}, de = m?.filter(
|
|
298
|
-
(e) =>
|
|
298
|
+
(e) => q(w, {
|
|
299
299
|
id: _(e),
|
|
300
300
|
ts: e.ts
|
|
301
301
|
})
|
|
@@ -308,7 +308,7 @@ function mt({
|
|
|
308
308
|
}
|
|
309
309
|
return t;
|
|
310
310
|
}, [m]), Ce = (e) => {
|
|
311
|
-
|
|
311
|
+
q(w, {
|
|
312
312
|
id: _(e),
|
|
313
313
|
ts: e.ts
|
|
314
314
|
}) && k(
|
|
@@ -319,7 +319,7 @@ function mt({
|
|
|
319
319
|
ee(!0);
|
|
320
320
|
try {
|
|
321
321
|
const e = Math.max(Date.now(), ...(m ?? []).map((t) => t.ts));
|
|
322
|
-
k(ge(u, e)), await
|
|
322
|
+
k(ge(u, e)), await Je(), z.success("Notifications marked read");
|
|
323
323
|
} finally {
|
|
324
324
|
ee(!1);
|
|
325
325
|
}
|
|
@@ -335,7 +335,7 @@ function mt({
|
|
|
335
335
|
// Icon only. It is a rare, undoable housekeeping action — it does not
|
|
336
336
|
// need to be the second-loudest thing on the page.
|
|
337
337
|
/* @__PURE__ */ r(
|
|
338
|
-
|
|
338
|
+
Fe,
|
|
339
339
|
{
|
|
340
340
|
size: "icon-sm",
|
|
341
341
|
variant: "ghost",
|
|
@@ -380,7 +380,7 @@ function mt({
|
|
|
380
380
|
] }) : null }),
|
|
381
381
|
/* @__PURE__ */ o("div", { className: "px-2.5 py-2 pr-9", children: [
|
|
382
382
|
/* @__PURE__ */ r("div", { className: "truncate text-xs font-medium", children: e.title || e.caption || e.name }),
|
|
383
|
-
/* @__PURE__ */ r("div", { className: "mt-0.5 truncate text-[10px] text-muted-foreground", children: e.lastRefreshedAt ? `Refreshed ${
|
|
383
|
+
/* @__PURE__ */ r("div", { className: "mt-0.5 truncate text-[10px] text-muted-foreground", children: e.lastRefreshedAt ? `Refreshed ${Q(e.lastRefreshedAt)}` : `Published ${Q(e.ts)}` })
|
|
384
384
|
] })
|
|
385
385
|
]
|
|
386
386
|
}
|
|
@@ -471,7 +471,7 @@ function mt({
|
|
|
471
471
|
Ie.map((e) => /* @__PURE__ */ o("section", { className: "space-y-1.5", children: [
|
|
472
472
|
/* @__PURE__ */ r("h2", { className: "px-1 text-[11px] font-semibold uppercase tracking-wide text-muted-foreground", children: e.label }),
|
|
473
473
|
/* @__PURE__ */ r("div", { className: "overflow-hidden rounded-2xl border border-border bg-card/40 shadow-sm", children: e.items.map((t) => {
|
|
474
|
-
const d = !!t.sessionId && l.has(t.sessionId), a =
|
|
474
|
+
const d = !!t.sessionId && l.has(t.sessionId), a = q(w, {
|
|
475
475
|
id: _(t),
|
|
476
476
|
ts: t.ts
|
|
477
477
|
}), s = t.mediaItems.length > 0;
|
|
@@ -522,7 +522,7 @@ function mt({
|
|
|
522
522
|
"· ",
|
|
523
523
|
t.project
|
|
524
524
|
] }) : null,
|
|
525
|
-
/* @__PURE__ */ r("span", { className: "ml-auto shrink-0 tabular-nums", children:
|
|
525
|
+
/* @__PURE__ */ r("span", { className: "ml-auto shrink-0 tabular-nums", children: Q(t.ts) })
|
|
526
526
|
] }),
|
|
527
527
|
/* @__PURE__ */ r("h3", { className: "mt-0.5 line-clamp-2 text-[13.5px] font-semibold leading-snug tracking-[-0.01em]", children: t.title }),
|
|
528
528
|
t.summary ? (
|
|
@@ -546,14 +546,14 @@ function mt({
|
|
|
546
546
|
] }, t.id);
|
|
547
547
|
}) })
|
|
548
548
|
] }, e.label)),
|
|
549
|
-
m !== null && m.length <
|
|
549
|
+
m !== null && m.length < j ? /* @__PURE__ */ r(
|
|
550
550
|
"button",
|
|
551
551
|
{
|
|
552
552
|
type: "button",
|
|
553
553
|
onClick: () => void Ee(),
|
|
554
|
-
disabled:
|
|
554
|
+
disabled: F,
|
|
555
555
|
className: "w-full rounded-xl border border-border bg-card/40 px-4 py-2.5 text-sm font-medium text-muted-foreground transition-colors hover:border-foreground/20 hover:text-foreground disabled:opacity-60",
|
|
556
|
-
children:
|
|
556
|
+
children: F ? "Loading…" : `Load more · ${j - m.length} left`
|
|
557
557
|
}
|
|
558
558
|
) : null
|
|
559
559
|
] })
|
|
@@ -3,7 +3,7 @@ import { useMemo as We, useState as Ce, useEffect as xe, useRef as Ve } from "re
|
|
|
3
3
|
import { r as He, t as T, o as Ue, u as be, y as L, A as Je, a as Qe } from "./chunk-YOKDWASO-B5AA2F8u.js";
|
|
4
4
|
import { b as Xe, c as Ye, a as Ze, d as Ke } from "./engine-compile-D_stzVMa.js";
|
|
5
5
|
import { cn as je } from "cnfast";
|
|
6
|
-
import {
|
|
6
|
+
import { ac as et, x as tt, ad as nt } from "./embedded-8b8Vi7xe.js";
|
|
7
7
|
const d = (
|
|
8
8
|
/** @type {const} */
|
|
9
9
|
{
|