agentglow 0.2.0 → 0.2.2
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/README.md +17 -0
- package/cli/agentglow.mjs +177 -0
- package/cli/lib/net.mjs +73 -0
- package/cli/lib/server.mjs +128 -0
- package/cli/lib/settings.mjs +192 -0
- package/cli/lib/uv.mjs +139 -0
- package/dist/chunks/{KitScene-BuFtYuhc.js → KitScene-C3SZiKL5.js} +1101 -1045
- package/dist/chunks/{index-DO9SAG-u.js → index--dwzdFRh.js} +1 -1
- package/dist/chunks/{index-DCmhxN8v.js → index-B2PGx_wt.js} +37 -37
- package/dist/chunks/{index-HyfZ0ePz.js → index-BZOG_CQS.js} +110 -110
- package/dist/chunks/{index-Bo5HRf-O.js → index-BfGluv59.js} +69 -69
- package/dist/chunks/{index-tonipLb2.js → index-Bm4te7Ug.js} +1 -1
- package/dist/chunks/{index-e6egU2Q6.js → index-Bqv_wy49.js} +1 -1
- package/dist/chunks/{index-ZT88hgW-.js → index-Bsmr7FwH.js} +1 -1
- package/dist/chunks/{index-BPyTLdiF.js → index-Bw31uayO.js} +33 -33
- package/dist/chunks/{index-Dn6oRasS.js → index-C4F16M9q.js} +117 -117
- package/dist/chunks/{index-jLXx_Wgk.js → index-CRRHsMqy.js} +15 -15
- package/dist/chunks/{index-Cyv7bII1.js → index-CS8eZTr_.js} +1 -1
- package/dist/chunks/{index-D733n3Hf.js → index-CdzGoWrn.js} +1 -1
- package/dist/chunks/{index-XMOz-HBf.js → index-CvDEulcq.js} +1 -1
- package/dist/chunks/{index-D0UvupqM.js → index-DXBfdHew.js} +1 -1
- package/dist/chunks/{index-C42Ihyo1.js → index-DdCs_ye9.js} +222 -222
- package/dist/chunks/{index-C5YqtHnC.js → index-_KrED-np.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/types/world.d.ts +10 -0
- package/package.json +12 -2
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
var Ze = Object.defineProperty;
|
|
2
2
|
var Je = (e, o, t) => o in e ? Ze(e, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[o] = t;
|
|
3
3
|
var P = (e, o, t) => Je(e, typeof o != "symbol" ? o + "" : o, t);
|
|
4
|
-
import { jsxs as
|
|
4
|
+
import { jsxs as D, jsx as v, Fragment as he } from "react/jsx-runtime";
|
|
5
5
|
import { EffectComposer as Qe, Bloom as et, Vignette as tt } from "@react-three/postprocessing";
|
|
6
6
|
import * as r from "three";
|
|
7
7
|
import { useFrame as W } from "@react-three/fiber";
|
|
8
8
|
import { useRef as E, useMemo as R, useEffect as ot } from "react";
|
|
9
|
-
import { T as He, r as L, h as xe, k as Y, w as V, L as re, d as nt, p as rt, s as st,
|
|
9
|
+
import { T as He, r as L, h as xe, k as Y, w as V, L as re, d as nt, p as rt, s as st, D as at, R as it, S as qe, u as lt, o as ct, n as Re, v as pt, m as ut, G as ft, j as dt } from "./KitScene-C3SZiKL5.js";
|
|
10
10
|
const K = new r.Color("#46ff9a"), ie = new r.Color("#38e8ff"), Le = new r.Color("#ffb547"), Se = new r.Color("#ff4a4a"), j = new r.Color(1, 1, 1), ht = Object.fromEntries(
|
|
11
11
|
Object.entries(He).map(([e, o]) => [e, new r.Color(o).lerp(K, 0.28)])
|
|
12
12
|
), B = (e) => e < 0 ? 0 : e > 1 ? 1 : e, Ge = (e) => 1 - Math.pow(1 - B(e), 3), Q = (e) => (e = B(e), e < 0.5 ? 4 * e * e * e : 1 - Math.pow(-2 * e + 2, 3) / 2), I = { r: 6 };
|
|
@@ -45,7 +45,7 @@ function yt() {
|
|
|
45
45
|
const o = e.getContext("2d"), t = o.createRadialGradient(64, 64, 0, 64, 64, 64);
|
|
46
46
|
return t.addColorStop(0, "rgba(255,255,255,1)"), t.addColorStop(0.16, "rgba(255,255,255,0.55)"), t.addColorStop(0.45, "rgba(255,255,255,0.12)"), t.addColorStop(1, "rgba(255,255,255,0)"), o.fillStyle = t, o.fillRect(0, 0, 128, 128), ve = new r.CanvasTexture(e), ve;
|
|
47
47
|
}
|
|
48
|
-
const Oe = (e = "#fff") => new r.SpriteMaterial({ map: yt(), color: e, blending: r.AdditiveBlending, depthWrite: !1, transparent: !0, toneMapped: !1 }), pe = (e = "#fff") => new r.MeshBasicMaterial({ color: e, blending: r.AdditiveBlending, depthWrite: !1, transparent: !0, toneMapped: !1 }),
|
|
48
|
+
const Oe = (e = "#fff") => new r.SpriteMaterial({ map: yt(), color: e, blending: r.AdditiveBlending, depthWrite: !1, transparent: !0, toneMapped: !1 }), pe = (e = "#fff") => new r.MeshBasicMaterial({ color: e, blending: r.AdditiveBlending, depthWrite: !1, transparent: !0, toneMapped: !1 }), De = (e = "#fff") => new r.LineBasicMaterial({ color: e, blending: r.AdditiveBlending, depthWrite: !1, transparent: !0, toneMapped: !1 }), bt = new r.ConeGeometry(1, 1, 3).translate(0, 0.5, 0), ye = 28, U = { Solid: 0, Dash: 1, Head: 2 }, Ce = class Ce {
|
|
49
49
|
constructor(o, t) {
|
|
50
50
|
P(this, "lines");
|
|
51
51
|
P(this, "arrows");
|
|
@@ -83,10 +83,10 @@ const Oe = (e = "#fff") => new r.SpriteMaterial({ map: yt(), color: e, blending:
|
|
|
83
83
|
const f = Math.min(h, (x + y) / ye);
|
|
84
84
|
oe(o, t, s, f, this.p);
|
|
85
85
|
let d = 1;
|
|
86
|
-
if (l ===
|
|
86
|
+
if (l === U.Dash) {
|
|
87
87
|
const p = Math.sin((f * n - this.time * M) * Math.PI);
|
|
88
88
|
d = 0.18 + (p > 0 ? Math.pow(p, 3) : 0) * 1.1;
|
|
89
|
-
} else if (l ===
|
|
89
|
+
} else if (l === U.Head) {
|
|
90
90
|
const p = f - i;
|
|
91
91
|
d = 0.12 + (p > 0 ? Math.exp(-(p * p) / 9e-4) : Math.exp(p / 0.16)) * 2.4;
|
|
92
92
|
}
|
|
@@ -103,14 +103,14 @@ const Oe = (e = "#fff") => new r.SpriteMaterial({ map: yt(), color: e, blending:
|
|
|
103
103
|
}
|
|
104
104
|
/** Arrowhead on the curve at t, pointing toward p2 (dir=+1) or p0 (dir=-1). */
|
|
105
105
|
arrow(o, t, s, u, c, l, i, h) {
|
|
106
|
-
this.na >= this.maxA || h <= 0.01 || (oe(o, t, s, u, this.p), oe(o, t, s, B(u + 0.02 * c), this.q), this.q.sub(this.p), !(this.q.lengthSq() < 1e-9) && (this.o.position.copy(this.p), this.o.quaternion.setFromUnitVectors(
|
|
106
|
+
this.na >= this.maxA || h <= 0.01 || (oe(o, t, s, u, this.p), oe(o, t, s, B(u + 0.02 * c), this.q), this.q.sub(this.p), !(this.q.lengthSq() < 1e-9) && (this.o.position.copy(this.p), this.o.quaternion.setFromUnitVectors(Ce.UP, this.q.normalize()), this.o.scale.set(l * 0.42, l, l * 0.42), this.o.updateMatrix(), this.arrows.setMatrixAt(this.na, this.o.matrix), this.aColors[this.na * 3] = i.r * h, this.aColors[this.na * 3 + 1] = i.g * h, this.aColors[this.na * 3 + 2] = i.b * h, this.na++));
|
|
107
107
|
}
|
|
108
108
|
end() {
|
|
109
109
|
this.lines.geometry.setDrawRange(0, this.v), this.P.needsUpdate = !0, this.C.needsUpdate = !0, this.arrows.count = this.na, this.arrows.instanceMatrix.needsUpdate = !0, this.arrows.instanceColor && (this.arrows.instanceColor.needsUpdate = !0);
|
|
110
110
|
}
|
|
111
111
|
};
|
|
112
|
-
P(
|
|
113
|
-
let ne =
|
|
112
|
+
P(Ce, "UP", new r.Vector3(0, 1, 0));
|
|
113
|
+
let ne = Ce;
|
|
114
114
|
const Mt = (
|
|
115
115
|
/* glsl */
|
|
116
116
|
`
|
|
@@ -155,9 +155,9 @@ function ce(e, o, t, s = 1200, u = 1, c = 0, l = 1) {
|
|
|
155
155
|
const i = Me[ze];
|
|
156
156
|
ze = (ze + 1) % je, i.x = e.x, i.y = e.y, i.z = e.z, i.r = o, i.color.copy(t), i.start = performance.now() + c, i.dur = s, i.k = u, i.width = l;
|
|
157
157
|
}
|
|
158
|
-
const Pe = { db: "◉", warehouse: "▤", spark: "✷", api: "⇄", storage: "▣", queue: "≡" }, $e = (e) => new r.Color(e).lerp(K, 0.25), Ee = new r.PlaneGeometry(1.7, 0.16).rotateX(-Math.PI / 2), _e = new r.EdgesGeometry(Ee), St = new r.CylinderGeometry(0.07, 0.1, 0.7, 6).translate(0, 0.35, 0),
|
|
158
|
+
const Pe = { db: "◉", warehouse: "▤", spark: "✷", api: "⇄", storage: "▣", queue: "≡" }, $e = (e) => new r.Color(e).lerp(K, 0.25), Ee = new r.PlaneGeometry(1.7, 0.16).rotateX(-Math.PI / 2), _e = new r.EdgesGeometry(Ee), St = new r.CylinderGeometry(0.07, 0.1, 0.7, 6).translate(0, 0.35, 0), At = new r.CylinderGeometry(0.17, 0.12, 0.14, 8).translate(0, 0.76, 0), Xe = new r.BoxGeometry(0.42, 0.18, 0.42).translate(0, 0.09, 0), Ct = new r.EdgesGeometry(Xe);
|
|
159
159
|
function Rt({ mcp: e, backend: o }) {
|
|
160
|
-
const t = e.srv, s = o.res, u = E(null), c = R(() => $e(t.color).lerp(j, 0.2), [t.color]), l = R(() => ({ fill: pe(c), line:
|
|
160
|
+
const t = e.srv, s = o.res, u = E(null), c = R(() => $e(t.color).lerp(j, 0.2), [t.color]), l = R(() => ({ fill: pe(c), line: De(c), halo: Oe(c) }), [c]), i = E(null), h = E(null), n = E("");
|
|
161
161
|
return W(({ clock: M }) => {
|
|
162
162
|
var a, w;
|
|
163
163
|
(a = u.current) == null || a.position.set(o.pos.x, 0, o.pos.z);
|
|
@@ -170,33 +170,33 @@ function Rt({ mcp: e, backend: o }) {
|
|
|
170
170
|
p = `${Pe[s.kind] ?? "·"} ${s.name} ▸ ${g || "query"}()`;
|
|
171
171
|
} else y > 0.25 && (p = `${Pe[s.kind] ?? "·"} ${s.name} ✓`);
|
|
172
172
|
h.current && (p !== n.current && (n.current = p, h.current.setText(p)), h.current.setOpacity(x ? 1 : 0.5 + y * 0.5), h.current.setEmphasis(x));
|
|
173
|
-
}), /* @__PURE__ */
|
|
173
|
+
}), /* @__PURE__ */ D("group", { ref: u, children: [
|
|
174
174
|
/* @__PURE__ */ v("mesh", { geometry: Xe, material: l.fill }),
|
|
175
|
-
/* @__PURE__ */ v("lineSegments", { geometry:
|
|
175
|
+
/* @__PURE__ */ v("lineSegments", { geometry: Ct, material: l.line }),
|
|
176
176
|
/* @__PURE__ */ v("sprite", { ref: i, material: l.halo, position: [0, 0.15, 0] }),
|
|
177
177
|
/* @__PURE__ */ v(re, { ref: h, position: [0, -0.05, 0.62], text: s.name, font: "mono", plate: "underline", color: t.color, textColor: "#a6e9c6", letterSpacing: 0.03, size: 0.26, pxRange: [7.5, 10.5] })
|
|
178
178
|
] });
|
|
179
179
|
}
|
|
180
180
|
function zt({ mcp: e }) {
|
|
181
|
-
const o = e.srv, t = E(null), s = E(null), u = R(() => Math.atan2(e.target.x, -e.target.z), [e]), c = R(() => $e(o.color), [o.color]), l = R(() => ({ fill: pe(c), line:
|
|
181
|
+
const o = e.srv, t = E(null), s = E(null), u = R(() => Math.atan2(e.target.x, -e.target.z), [e]), c = R(() => $e(o.color), [o.color]), l = R(() => ({ fill: pe(c), line: De(c), tower: pe(c), cab: pe(j), beacon: Oe(c) }), [c]), i = E(null);
|
|
182
182
|
return W(({ clock: h }) => {
|
|
183
183
|
var f, d;
|
|
184
184
|
(f = t.current) == null || f.position.set(e.pos.x, 0, e.pos.z), s.current && (s.current.rotation.y = -Math.atan2(e.pos.x, -e.pos.z));
|
|
185
185
|
const n = performance.now(), M = o.inflight > 0, m = Math.exp(-((n - o.activeAt) / 1e3) * 1.3), x = L ? 0.6 : Math.pow(0.5 + 0.5 * Math.sin(h.elapsedTime * (M ? 7 : 1.6) + o.slot), 4), y = 0.35 + m * 0.7 + (M ? 0.5 : 0);
|
|
186
186
|
l.fill.color.copy(c).multiplyScalar(y * 0.18), l.line.color.copy(c).multiplyScalar(y * 1.3), l.tower.color.copy(c).multiplyScalar(y * 0.7), l.cab.color.copy(c).lerp(j, 0.5).multiplyScalar(0.3 + x * (M ? 1.4 : 0.7)), l.beacon.color.copy(c).multiplyScalar(0.08 + x * (M ? 0.55 : 0.22) + m * 0.15), (d = i.current) == null || d.scale.setScalar(1.4 + x * (M ? 1.6 : 0.7));
|
|
187
|
-
}), /* @__PURE__ */
|
|
188
|
-
/* @__PURE__ */
|
|
189
|
-
/* @__PURE__ */
|
|
187
|
+
}), /* @__PURE__ */ D("group", { ref: t, children: [
|
|
188
|
+
/* @__PURE__ */ D("group", { ref: s, children: [
|
|
189
|
+
/* @__PURE__ */ D("group", { rotation: [0, 0.5, 0], children: [
|
|
190
190
|
/* @__PURE__ */ v("mesh", { geometry: Ee, material: l.fill }),
|
|
191
191
|
/* @__PURE__ */ v("lineSegments", { geometry: _e, material: l.line })
|
|
192
192
|
] }),
|
|
193
|
-
/* @__PURE__ */
|
|
193
|
+
/* @__PURE__ */ D("group", { rotation: [0, -0.75, 0], position: [0.1, 5e-3, 0.15], children: [
|
|
194
194
|
/* @__PURE__ */ v("mesh", { geometry: Ee, material: l.fill, scale: [0.75, 1, 1] }),
|
|
195
195
|
/* @__PURE__ */ v("lineSegments", { geometry: _e, material: l.line, scale: [0.75, 1, 1] })
|
|
196
196
|
] }),
|
|
197
|
-
/* @__PURE__ */
|
|
197
|
+
/* @__PURE__ */ D("group", { position: [0.45, 0, -0.35], children: [
|
|
198
198
|
/* @__PURE__ */ v("mesh", { geometry: St, material: l.tower }),
|
|
199
|
-
/* @__PURE__ */ v("mesh", { geometry:
|
|
199
|
+
/* @__PURE__ */ v("mesh", { geometry: At, material: l.cab }),
|
|
200
200
|
/* @__PURE__ */ v("sprite", { ref: i, material: l.beacon, position: [0, 0.8, 0] })
|
|
201
201
|
] })
|
|
202
202
|
] }),
|
|
@@ -238,9 +238,9 @@ function Pt() {
|
|
|
238
238
|
i.copy(f.pos), h.copy(p.pos), i.y = h.y = 0.03, n.copy(i).add(h).multiplyScalar(0.5);
|
|
239
239
|
const w = Math.exp(-((l - a.activeAt) / 1e3) * 1.4), g = s.get(d.name + "|" + a.name), b = g && g.phase === "result" ? (l - g.start) / g.dur : 9;
|
|
240
240
|
if (b < 1) {
|
|
241
|
-
const
|
|
242
|
-
e.curve(i, n, h, x.copy(m).lerp(j, 0.35), 0.9,
|
|
243
|
-
} else a.inflight > 0 ? (e.curve(i, n, h, m, 0.7,
|
|
241
|
+
const C = 1 - Q(b);
|
|
242
|
+
e.curve(i, n, h, x.copy(m).lerp(j, 0.35), 0.9, U.Head, C, 1), e.arrow(i, n, h, 0.12, -1, 0.3, m, 1.6 * (1 - b * 0.6));
|
|
243
|
+
} else a.inflight > 0 ? (e.curve(i, n, h, m, 0.7, U.Dash, 0, 1, 6, 1.8), e.arrow(i, n, h, 0.85, 1, 0.26, m, 1.2)) : e.curve(i, n, h, m, 0.16 + w * 0.4, U.Solid);
|
|
244
244
|
}
|
|
245
245
|
}
|
|
246
246
|
const y = (f, d, p, a) => {
|
|
@@ -248,18 +248,18 @@ function Pt() {
|
|
|
248
248
|
if (!(!w || !g || !b))
|
|
249
249
|
if (i.copy(b.pos), i.y = 0.25, de(w.pos, i, 1.2, 0.4, n), m.set(g.color).lerp(K, 0.25), p === 0) {
|
|
250
250
|
m.lerp(Le, B(a / 1.2)), a > 1.2 && m.lerp(Se, B((a - 1.2) / 1.2));
|
|
251
|
-
const
|
|
252
|
-
e.curve(w.pos, n, i, m,
|
|
251
|
+
const C = (0.45 + Math.min(0.5, a * 0.2)) * B(a / 0.25) * w.vis;
|
|
252
|
+
e.curve(w.pos, n, i, m, C, U.Dash, 0, 1, 12, 2.2), e.arrow(w.pos, n, i, 0.93, 1, 0.34, m, 0.6 + C);
|
|
253
253
|
} else {
|
|
254
254
|
m.lerp(j, 0.35);
|
|
255
|
-
const
|
|
256
|
-
e.curve(w.pos, n, i, m, 0.9 * T,
|
|
255
|
+
const C = 1 - Q(a / 0.8), T = (a < 0.8 ? 1 : 1 - (a - 0.8) / 0.2) * w.vis;
|
|
256
|
+
e.curve(w.pos, n, i, m, 0.9 * T, U.Head, C, 1), e.arrow(w.pos, n, i, Math.max(0.04, C), -1, 0.36, m, 1.8 * T), oe(w.pos, n, i, C, M), o.add(M.x, M.y, M.z, 0.7, m, 1.2 * T);
|
|
257
257
|
}
|
|
258
258
|
};
|
|
259
259
|
for (const f of V.mcpPending.values()) y(f.instance, f.server, 0, nt(f, l));
|
|
260
260
|
for (const f of V.mcpCalls) f.phase === "result" && y(f.instance, f.server, 1, B((l - f.start) / f.dur));
|
|
261
261
|
e.end(), o.end();
|
|
262
|
-
}), /* @__PURE__ */
|
|
262
|
+
}), /* @__PURE__ */ D(he, { children: [
|
|
263
263
|
/* @__PURE__ */ v("primitive", { object: e.lines }),
|
|
264
264
|
/* @__PURE__ */ v("primitive", { object: e.arrows }),
|
|
265
265
|
/* @__PURE__ */ v("primitive", { object: o.points })
|
|
@@ -267,7 +267,7 @@ function Pt() {
|
|
|
267
267
|
}
|
|
268
268
|
const Ye = new r.OctahedronGeometry(0.42, 0), Tt = new r.EdgesGeometry(Ye), kt = new r.SphereGeometry(0.7, 8, 6), Bt = new r.MeshBasicMaterial({ transparent: !0, opacity: 0, depthWrite: !1 }), Et = 1.6, Gt = 1.7, Vt = (e) => e >= 1e3 ? `${(e / 1e3).toFixed(1)}k` : String(e);
|
|
269
269
|
function Ot({ agent: e, onSelect: o }) {
|
|
270
|
-
const t = e.inst, s = E(null), u = E(null), c = E(null), l = E(null), i = ht[t.type], h = R(() => ({ fill: pe(i), edge:
|
|
270
|
+
const t = e.inst, s = E(null), u = E(null), c = E(null), l = E(null), i = ht[t.type], h = R(() => ({ fill: pe(i), edge: De(i), halo: Oe(i) }), [i]), n = R(
|
|
271
271
|
() => ({
|
|
272
272
|
id: t.id,
|
|
273
273
|
pos: new r.Vector3(),
|
|
@@ -308,24 +308,24 @@ function Ot({ agent: e, onSelect: o }) {
|
|
|
308
308
|
const k = 0.55 + t.pulse * 1.05;
|
|
309
309
|
ce(n.pos, k * (t.subagent ? 0.8 : 1), i, 1500, 1.1), ce(n.pos, k * 0.62 * (t.subagent ? 0.8 : 1), i, 1300, 0.7, 170);
|
|
310
310
|
}
|
|
311
|
-
const
|
|
312
|
-
n.c.copy(i),
|
|
313
|
-
const O = (0.55 +
|
|
314
|
-
h.fill.color.copy(n.c).multiplyScalar((T ? 0.85 + G * 0.25 : 0.12) * O), h.edge.color.copy(n.c).lerp(j, 0.25).multiplyScalar((T ? 1.3 : 1) * O), h.halo.color.copy(n.c).multiplyScalar((T ? 0.32 : 0.12) * O +
|
|
311
|
+
const C = wt(fe(n.pos), Ve(a)), T = b < 0 && (t.status === "thinking" || t.status === "spawning"), A = t.status === "failed", G = L ? 0.5 : 0.5 + 0.5 * Math.sin(a * 2.4 + t.index);
|
|
312
|
+
n.c.copy(i), A && n.c.lerp(Se, B(n.land * 2)), n.color.copy(n.c);
|
|
313
|
+
const O = (0.55 + C * 0.9) * n.vis;
|
|
314
|
+
h.fill.color.copy(n.c).multiplyScalar((T ? 0.85 + G * 0.25 : 0.12) * O), h.edge.color.copy(n.c).lerp(j, 0.25).multiplyScalar((T ? 1.3 : 1) * O), h.halo.color.copy(n.c).multiplyScalar((T ? 0.32 : 0.12) * O + C * 0.12 * n.vis), s.current && s.current.position.copy(n.pos);
|
|
315
315
|
const Z = 0.45 + 0.55 * Ge(n.takeoff), N = n.scale * Z * (1 - n.land * 0.45);
|
|
316
|
-
if (u.current && (u.current.scale.set(N, N * 0.75, N), u.current.rotation.y = Math.PI / 4), (se = c.current) == null || se.scale.setScalar(N * (T ? 2.6 + G * 0.3 : 1.8) +
|
|
316
|
+
if (u.current && (u.current.scale.set(N, N * 0.75, N), u.current.rotation.y = Math.PI / 4), (se = c.current) == null || se.scale.setScalar(N * (T ? 2.6 + G * 0.3 : 1.8) + C * 0.5), (ge = l.current) == null || ge.setOpacity(st(t.id) ? B(n.takeoff * 1.6) * n.vis * (0.75 + C * 0.25) : 0), p - n.lastTag > 200 && l.current) {
|
|
317
317
|
n.lastTag = p;
|
|
318
318
|
let k = !1;
|
|
319
319
|
for (const we of V.mcpPending.values()) we.instance === t.id && (k = !0);
|
|
320
|
-
const me = b >= 0 ?
|
|
320
|
+
const me = b < 0 && t.doneAt ? A ? "FAIL" : "DONE" : b >= 0 ? A ? "FAIL" : n.land < 1 ? "LAND" : "DONE" : n.takeoff < 1 ? "TKOF" : k ? "MCP" : T ? "THNK" : "WAIT", ee = `${Vt(t.tokens)} tk ${me}`;
|
|
321
321
|
ee !== n.t2 && (n.t2 = ee, l.current.setText(y, ee));
|
|
322
322
|
}
|
|
323
323
|
});
|
|
324
324
|
const M = (d) => {
|
|
325
325
|
d.stopPropagation(), o(t.id);
|
|
326
326
|
}, m = t.id.split(":")[2], x = !t.subagent, y = `${t.name.toUpperCase()}${m !== void 0 && /^\d+$/.test(m) ? ` ${Number(m) + 1}` : ""}`, f = R(() => Math.sin(fe(e.target)) < -0.15 && Math.hypot(e.target.x, e.target.z) > 1.5, [e]);
|
|
327
|
-
return /* @__PURE__ */
|
|
328
|
-
/* @__PURE__ */
|
|
327
|
+
return /* @__PURE__ */ D("group", { ref: s, children: [
|
|
328
|
+
/* @__PURE__ */ D("group", { ref: u, children: [
|
|
329
329
|
/* @__PURE__ */ v("mesh", { geometry: Ye, material: h.fill }),
|
|
330
330
|
/* @__PURE__ */ v("lineSegments", { geometry: Tt, material: h.edge })
|
|
331
331
|
] }),
|
|
@@ -368,7 +368,7 @@ function Ot({ agent: e, onSelect: o }) {
|
|
|
368
368
|
)
|
|
369
369
|
] });
|
|
370
370
|
}
|
|
371
|
-
const Ie = 6,
|
|
371
|
+
const Ie = 6, Dt = 1.15;
|
|
372
372
|
function Ft() {
|
|
373
373
|
const e = R(() => new ne(220, 64), []), o = R(() => new Ne(600), []), t = R(() => ({ a: new r.Vector3(), b: new r.Vector3(), c: new r.Vector3(), h: new r.Vector3(), col: new r.Color() }), []), s = R(() => /* @__PURE__ */ new Map(), []);
|
|
374
374
|
return W(({ clock: u, size: c }) => {
|
|
@@ -380,20 +380,20 @@ function Ft() {
|
|
|
380
380
|
if (!a || a.vis <= 0.01) continue;
|
|
381
381
|
if (e.segment(a.pos, a.ground, a.color, 0.28 * a.vis, 0.05 * a.vis), o.add(a.ground.x, 0.03, a.ground.z, 0.22 * a.scale, a.color, 0.35 * a.vis), a.takeoff >= 1 && !L)
|
|
382
382
|
for (let g = 1; g <= Ie; g++) {
|
|
383
|
-
We(p, d.pos, i - g *
|
|
383
|
+
We(p, d.pos, i - g * Dt, n);
|
|
384
384
|
const b = 1 - g / (Ie + 1);
|
|
385
385
|
o.add(n.x, a.pos.y, n.z, (p.subagent ? 0.16 : 0.24) * (0.6 + b * 0.4), a.color, 0.55 * b * b * a.vis);
|
|
386
386
|
}
|
|
387
387
|
if (p.parent) {
|
|
388
|
-
const g = H.get(p.parent), b = V.instances.get(p.parent),
|
|
389
|
-
s.set(p.id,
|
|
388
|
+
const g = H.get(p.parent), b = V.instances.get(p.parent), C = !!g && !!b && !b.exitAt && !p.exitAt, T = s.get(p.id) ?? 0, A = T + ((C ? 1 : 0) - T) * (C ? 0.06 : 0.04);
|
|
389
|
+
s.set(p.id, A), g && A > 0.01 && (de(g.pos, a.pos, 0.9, 0.5, m), a.takeoff < 1 ? e.curve(g.pos, m, a.pos, a.color, 0.9, U.Head, a.takeoff, 1) : (e.curve(g.pos, m, a.pos, a.color, 0.95 * A * Math.min(g.vis, a.vis), U.Dash, 0, 1, 10, 1.2), e.arrow(g.pos, m, a.pos, 0.8, 1, p.subagent ? 0.26 : 0.34, a.color, 0.9 * A * a.vis)));
|
|
390
390
|
}
|
|
391
391
|
let w = -1;
|
|
392
392
|
for (const g of V.mcpPending.values()) g.instance === p.id && (w = Math.max(w, (l - g.since) / 1e3));
|
|
393
393
|
if (w >= 0) {
|
|
394
394
|
y.copy(Le).lerp(Se, B((w - 1.2) / 1.2));
|
|
395
395
|
const g = L ? 0.6 : 0.5 + 0.5 * Math.sin(i * 6), b = 0.62 * a.scale;
|
|
396
|
-
for (let
|
|
396
|
+
for (let C = 0; C < 4; C++) e.ring(a.pos.x, a.pos.z, a.pos.y, b, C * 1.5708 + 0.25, C * 1.5708 + 1.3, y, (0.6 + g * 0.6) * a.vis);
|
|
397
397
|
}
|
|
398
398
|
}
|
|
399
399
|
for (const d of s.keys()) V.instances.has(d) || s.delete(d);
|
|
@@ -412,19 +412,19 @@ function Ft() {
|
|
|
412
412
|
if (w >= 1) continue;
|
|
413
413
|
de(p.pos, a.pos, 1.8, -0.9, m);
|
|
414
414
|
const g = Q(w), b = w < 0.85 ? 1 : 1 - (w - 0.85) / 0.15;
|
|
415
|
-
e.curve(p.pos, m, a.pos, p.color, 0.18 * b,
|
|
415
|
+
e.curve(p.pos, m, a.pos, p.color, 0.18 * b, U.Solid), e.curve(p.pos, m, a.pos, p.color, 0.75 * b, U.Head, g, Math.min(1, g + 0.01)), e.arrow(p.pos, m, a.pos, Math.max(0.02, g), 1, 0.36, p.color, 1.6 * b), oe(p.pos, m, a.pos, g, x), y.copy(p.color).lerp(j, 0.4), o.add(x.x, x.y, x.z, 0.75, y, 1.3 * b);
|
|
416
416
|
}
|
|
417
417
|
e.end(), o.end();
|
|
418
|
-
}), /* @__PURE__ */
|
|
418
|
+
}), /* @__PURE__ */ D(he, { children: [
|
|
419
419
|
/* @__PURE__ */ v("primitive", { object: e.lines }),
|
|
420
420
|
/* @__PURE__ */ v("primitive", { object: e.arrows }),
|
|
421
421
|
/* @__PURE__ */ v("primitive", { object: o.points })
|
|
422
422
|
] });
|
|
423
423
|
}
|
|
424
|
-
const
|
|
424
|
+
const Ut = new r.RingGeometry(0.955, 1, 96).rotateX(-Math.PI / 2);
|
|
425
425
|
function qt() {
|
|
426
426
|
const e = R(() => {
|
|
427
|
-
const t = new r.InstancedMesh(
|
|
427
|
+
const t = new r.InstancedMesh(Ut, new r.MeshBasicMaterial({ blending: r.AdditiveBlending, depthWrite: !1, transparent: !0, toneMapped: !1, side: r.DoubleSide }), Me.length);
|
|
428
428
|
return t.instanceColor = new r.InstancedBufferAttribute(new Float32Array(Me.length * 3), 3), t.frustumCulled = !1, t.count = 0, t;
|
|
429
429
|
}, []), o = R(() => new r.Object3D(), []);
|
|
430
430
|
return W(() => {
|
|
@@ -443,15 +443,15 @@ function qt() {
|
|
|
443
443
|
}), /* @__PURE__ */ v("primitive", { object: e });
|
|
444
444
|
}
|
|
445
445
|
const $ = 0.36;
|
|
446
|
-
function
|
|
446
|
+
function Ae(e) {
|
|
447
447
|
return Math.hypot(e.origin.x, e.origin.z) > 1.2 ? fe(e.origin) : fe(e.axis);
|
|
448
448
|
}
|
|
449
449
|
function _t({ run: e }) {
|
|
450
450
|
const o = E(null);
|
|
451
451
|
W(() => {
|
|
452
|
-
o.current && ue(
|
|
452
|
+
o.current && ue(Ae(e), I.r + 1.75, 0, o.current.position);
|
|
453
453
|
});
|
|
454
|
-
const t =
|
|
454
|
+
const t = Ae(e), s = Math.sin(t), u = Math.cos(t);
|
|
455
455
|
return /* @__PURE__ */ v("group", { ref: o, children: e.run && /* @__PURE__ */ v(It, { run: e.run, anchorX: s > 0.35 ? "left" : s < -0.35 ? "right" : "center", anchorY: u > 0.35 ? "bottom" : u < -0.35 ? "top" : "middle" }) });
|
|
456
456
|
}
|
|
457
457
|
function It({ run: e, anchorX: o, anchorY: t }) {
|
|
@@ -485,7 +485,7 @@ function Ht() {
|
|
|
485
485
|
for (const c of Y.runs.values()) {
|
|
486
486
|
const l = c.run;
|
|
487
487
|
if (!l) continue;
|
|
488
|
-
const i =
|
|
488
|
+
const i = Ae(c), h = Ge((s - l.startedAt) / 1e3), n = l.endedAt ? B(1 - (s - l.endedAt - (it - 2500)) / 2500) : 1, M = h * n;
|
|
489
489
|
o.set(l.color).lerp(K, 0.15);
|
|
490
490
|
const m = I.r + 0.3;
|
|
491
491
|
if (l.hasSteps) {
|
|
@@ -588,7 +588,7 @@ function jt() {
|
|
|
588
588
|
return W(({ clock: t }) => {
|
|
589
589
|
var s;
|
|
590
590
|
gt(), e.uniforms.uSweep.value = Ve(t.elapsedTime), e.uniforms.uR.value = I.r, e.uniforms.uExt.value = I.r + Te, (s = o.current) == null || s.scale.setScalar(I.r + Te);
|
|
591
|
-
}), /* @__PURE__ */
|
|
591
|
+
}), /* @__PURE__ */ D(he, { children: [
|
|
592
592
|
/* @__PURE__ */ v("mesh", { ref: o, rotation: [-Math.PI / 2, 0, 0], material: e, renderOrder: -1, children: /* @__PURE__ */ v("circleGeometry", { args: [1, 160] }) }),
|
|
593
593
|
/* @__PURE__ */ v(Nt, {})
|
|
594
594
|
] });
|
|
@@ -632,25 +632,25 @@ void main(){
|
|
|
632
632
|
function Kt({ galaxy: e }) {
|
|
633
633
|
const o = R(() => e.nodes.slice(0, $t), [e]), t = o.length, s = R(() => {
|
|
634
634
|
const y = new Float32Array(t * 3), f = new r.Vector3(), d = Math.PI * (3 - Math.sqrt(5));
|
|
635
|
-
for (let
|
|
636
|
-
const G = o[
|
|
637
|
-
ue(
|
|
635
|
+
for (let A = 0; A < t; A++) {
|
|
636
|
+
const G = o[A].id, O = 0.45 + (_ - 0.75) * Math.sqrt((A + 0.5) / t) + (xe(G, 11) - 0.5) * 0.25;
|
|
637
|
+
ue(A * d + (xe(G, 12) - 0.5) * 0.12, O, 0.04, f), y.set([f.x, f.y, f.z], A * 3);
|
|
638
638
|
}
|
|
639
639
|
const p = new r.BufferGeometry();
|
|
640
640
|
p.setAttribute("position", new r.BufferAttribute(y, 3)), p.setAttribute("aSize", new r.BufferAttribute(new Float32Array(t).fill(0.32), 1));
|
|
641
641
|
const a = new Float32Array(t * 3), w = new r.Color("#2fd6c8");
|
|
642
|
-
for (let
|
|
642
|
+
for (let A = 0; A < t; A++) a.set([w.r, w.g, w.b], A * 3);
|
|
643
643
|
p.setAttribute("aColor", new r.BufferAttribute(a, 3)), p.setAttribute("aHeat", new r.BufferAttribute(new Float32Array(t), 1)), p.boundingSphere = new r.Sphere(new r.Vector3(), 1e4);
|
|
644
|
-
const g = new Map(o.map((
|
|
645
|
-
for (const
|
|
646
|
-
const G = g.get(
|
|
644
|
+
const g = new Map(o.map((A, G) => [A.id, G])), b = [];
|
|
645
|
+
for (const A of e.links) {
|
|
646
|
+
const G = g.get(A.source), O = g.get(A.target);
|
|
647
647
|
if (G === void 0 || O === void 0 || G === O) continue;
|
|
648
648
|
const Z = y[G * 3] - y[O * 3], N = y[G * 3 + 2] - y[O * 3 + 2];
|
|
649
649
|
if (Z * Z + N * N < 1.6 * 1.6 && b.push(G, O), b.length > 600) break;
|
|
650
650
|
}
|
|
651
|
-
const
|
|
652
|
-
for (let
|
|
653
|
-
return
|
|
651
|
+
const C = new r.BufferGeometry(), T = new Float32Array(b.length * 3);
|
|
652
|
+
for (let A = 0; A < b.length; A++) T.set([y[b[A] * 3], 0.03, y[b[A] * 3 + 2]], A * 3);
|
|
653
|
+
return C.setAttribute("position", new r.BufferAttribute(T, 3)), C.setAttribute("color", new r.BufferAttribute(new Float32Array(b.length * 3), 3)), C.boundingSphere = new r.Sphere(new r.Vector3(), 1e4), { pos: y, g: p, lg: C, pairs: b, read: new Float32Array(t), write: new Float32Array(t) };
|
|
654
654
|
}, [o, e.links, t]), u = R(
|
|
655
655
|
() => new r.ShaderMaterial({ uniforms: { uScale: { value: 300 }, uSweep: { value: 0 } }, vertexShader: Xt, fragmentShader: Yt, transparent: !0, depthWrite: !1, blending: r.AdditiveBlending }),
|
|
656
656
|
[]
|
|
@@ -671,7 +671,7 @@ function Kt({ galaxy: e }) {
|
|
|
671
671
|
var we;
|
|
672
672
|
const d = performance.now(), p = Math.min(0.1, i.current.last ? (d - i.current.last) / 1e3 : 0.016);
|
|
673
673
|
i.current.last = d, u.uniforms.uScale.value = f.height * 0.9 * Y.graph.scale, u.uniforms.uSweep.value = Ve(y.elapsedTime);
|
|
674
|
-
const { read: a, write: w, pos: g } = s, { wp: b, c:
|
|
674
|
+
const { read: a, write: w, pos: g } = s, { wp: b, c: C, col: T, base: A, air: G } = m;
|
|
675
675
|
for (const S of V.flares) {
|
|
676
676
|
if (S.id <= i.current.lastFlare) continue;
|
|
677
677
|
i.current.lastFlare = Math.max(i.current.lastFlare, S.id);
|
|
@@ -682,7 +682,7 @@ function Kt({ galaxy: e }) {
|
|
|
682
682
|
for (let S = 0; S < t; S++) {
|
|
683
683
|
a[S] *= O, w[S] *= O;
|
|
684
684
|
const z = Math.max(a[S], w[S]);
|
|
685
|
-
Z.setX(S, z), T.copy(
|
|
685
|
+
Z.setX(S, z), T.copy(A).lerp(ie, B(a[S] * 1.5)).multiplyScalar(1 + a[S] * 2.2), w[S] > 0.01 && T.lerp(Be, B(w[S] * 1.5)).multiplyScalar(1 + w[S] * 1.5), N.setXYZ(S, T.r, T.g, T.b);
|
|
686
686
|
}
|
|
687
687
|
Z.needsUpdate = !0, N.needsUpdate = !0;
|
|
688
688
|
const se = s.lg.getAttribute("color");
|
|
@@ -700,9 +700,9 @@ function Kt({ galaxy: e }) {
|
|
|
700
700
|
const J = Re(e, z.node) % t;
|
|
701
701
|
b.set(g[J * 3], 0.05, g[J * 3 + 2]);
|
|
702
702
|
const ae = ut(q.pos, m.bp);
|
|
703
|
-
de(ae, b, 0.6, 0.3,
|
|
704
|
-
const te = B(F / 1.1), Fe = F < 1.1 ? 1 : 1 - (F - 1.1) / 0.7,
|
|
705
|
-
if (l.curve(ae,
|
|
703
|
+
de(ae, b, 0.6, 0.3, C);
|
|
704
|
+
const te = B(F / 1.1), Fe = F < 1.1 ? 1 : 1 - (F - 1.1) / 0.7, Ue = z.op === "read" ? ie : Be, Ke = z.op === "read" ? 1 - Q(te) : Q(te);
|
|
705
|
+
if (l.curve(ae, C, b, Ue, 0.6 * Fe * q.vis, U.Head, Ke, 1), l.arrow(ae, C, b, z.op === "read" ? 0.1 : 0.9, z.op === "read" ? -1 : 1, 0.26, Ue, 1.2 * Fe * q.vis), ++ge > 40) break;
|
|
706
706
|
}
|
|
707
707
|
l.end();
|
|
708
708
|
let k = 0;
|
|
@@ -724,7 +724,7 @@ function Kt({ galaxy: e }) {
|
|
|
724
724
|
const S = n.current[k];
|
|
725
725
|
S == null || S.setOpacity(0);
|
|
726
726
|
}
|
|
727
|
-
}), /* @__PURE__ */
|
|
727
|
+
}), /* @__PURE__ */ D(he, { children: [
|
|
728
728
|
/* @__PURE__ */ v("lineSegments", { geometry: x, children: /* @__PURE__ */ v("lineBasicMaterial", { color: "#1fa865", transparent: !0, opacity: 0.55, toneMapped: !1 }) }),
|
|
729
729
|
/* @__PURE__ */ v("lineSegments", { geometry: s.lg, material: c, frustumCulled: !1 }),
|
|
730
730
|
/* @__PURE__ */ v("points", { geometry: s.g, material: u, frustumCulled: !1 }),
|
|
@@ -738,10 +738,10 @@ const le = new r.Vector3();
|
|
|
738
738
|
function Zt(e) {
|
|
739
739
|
const o = I.r + 1.2;
|
|
740
740
|
e(le.set(o, 0, 0), 0.5), e(le.set(-o, 0, 0), 0.5), e(le.set(0, 0, o), 0.5), e(le.set(0, 0, -o), 0.5);
|
|
741
|
-
for (const t of Y.runs.values()) e(ue(
|
|
741
|
+
for (const t of Y.runs.values()) e(ue(Ae(t), I.r + 2.6, 0, le), 1.4);
|
|
742
742
|
}
|
|
743
743
|
function ro() {
|
|
744
|
-
return /* @__PURE__ */
|
|
744
|
+
return /* @__PURE__ */ D(
|
|
745
745
|
dt,
|
|
746
746
|
{
|
|
747
747
|
title: "airport · radar scope",
|
|
@@ -766,7 +766,7 @@ function ro() {
|
|
|
766
766
|
cluster: { radius: 1.2, variant: "stars", color: "#46ff9a" },
|
|
767
767
|
clusterOffset: [0, 0.9, 0],
|
|
768
768
|
extents: Zt,
|
|
769
|
-
PostFX: /* @__PURE__ */
|
|
769
|
+
PostFX: /* @__PURE__ */ D(Qe, { multisampling: 0, children: [
|
|
770
770
|
/* @__PURE__ */ v(et, { mipmapBlur: !0, intensity: 0.95, luminanceThreshold: 0.22, luminanceSmoothing: 0.35, radius: 0.7 }),
|
|
771
771
|
/* @__PURE__ */ v(tt, { eskil: !1, offset: 0.25, darkness: 0.85 })
|
|
772
772
|
] }),
|
|
@@ -6,7 +6,7 @@ import { useFrame as Q, useThree as zt } from "@react-three/fiber";
|
|
|
6
6
|
import { EffectComposer as Tt, Bloom as Et, Vignette as Rt } from "@react-three/postprocessing";
|
|
7
7
|
import * as n from "three";
|
|
8
8
|
import { useRef as B, useMemo as L, useEffect as ft, useState as tt } from "react";
|
|
9
|
-
import { T as Bt, p as _t, e as Lt, w as F, a as ge, f as Ge, d as pt, s as kt, L as Ee, g as Nt, b as nt, h as Me, K as Ft, k as be, G as Ot, t as It, n as Ht, v as Ut, c as dt, R as Kt, u as Wt, o as jt, j as qt } from "./KitScene-
|
|
9
|
+
import { T as Bt, p as _t, e as Lt, w as F, a as ge, f as Ge, d as pt, s as kt, L as Ee, g as Nt, b as nt, h as Me, K as Ft, k as be, G as Ot, t as It, n as Ht, v as Ut, c as dt, R as Kt, u as Wt, o as jt, j as qt } from "./KitScene-C3SZiKL5.js";
|
|
10
10
|
var ut;
|
|
11
11
|
const ee = typeof window < "u" && !!((ut = window.matchMedia) != null && ut.call(window, "(prefers-reduced-motion: reduce)").matches), le = new n.Color("#ffb627"), xe = new n.Color("#f59e0b"), J = new n.Color("#ffd166");
|
|
12
12
|
new n.Color("#1f1206");
|
|
@@ -6,7 +6,7 @@ import { useFrame as ft, useThree as le } from "@react-three/fiber";
|
|
|
6
6
|
import { EffectComposer as he, Bloom as fe, Vignette as ue, Noise as de } from "@react-three/postprocessing";
|
|
7
7
|
import { useMemo as pe, useRef as $, useEffect as At } from "react";
|
|
8
8
|
import * as x from "three";
|
|
9
|
-
import { K as ge, v as me, f as nt, k as Z, w as q, q as ee, x as se, R as Me, d as $t, p as ye, e as be, S as st, c as Tt, T as ne, i as Ae, j as xe, G as we, L as xt, u as Re, t as Ge } from "./KitScene-
|
|
9
|
+
import { K as ge, v as me, f as nt, k as Z, w as q, q as ee, x as se, R as Me, d as $t, p as ye, e as be, S as st, c as Tt, T as ne, i as Ae, j as xe, G as we, L as xt, u as Re, t as Ge } from "./KitScene-C3SZiKL5.js";
|
|
10
10
|
var te;
|
|
11
11
|
const mt = typeof window < "u" && !!((te = window.matchMedia) != null && te.call(window, "(prefers-reduced-motion: reduce)").matches), it = mt ? 0.3 : 1, W = mt ? 9e3 : 24e3, ot = mt ? 3500 : 8e3, B = 12, J = mt ? 450 : 1100, kt = 9e3, Y = 64, Et = 31, Se = 4.6, rt = 28, _t = 64, St = 18, Lt = 16, ut = 8, X = Math.PI * 2, et = 200, Dt = 5.4, vt = 3.2, ze = ["planner", "researcher", "writer"], bt = Object.fromEntries(Object.entries(ne).map(([u, e]) => [u, new x.Color(e)])), ve = Ae, Ie = () => ({ used: !1, id: "", inst: null, seen: 0, x: 0, y: 0, z: 0, r: 1, g: 1, b: 1, omega: 0, bright: 0, swirl: 0, rscale: 1, tiltA: 0, tiltB: 0, count: 0, want: 0, rank: 0, ka: null, released: !1, p: 0, e: 0, waitMcp: 0 }), zt = et * 3, Ce = (u) => {
|
|
12
12
|
let e = 7;
|
|
@@ -6,7 +6,7 @@ import { useFrame as ht, useThree as Be } from "@react-three/fiber";
|
|
|
6
6
|
import { EffectComposer as Ge, Bloom as Pe, Vignette as Re, Noise as _e } from "@react-three/postprocessing";
|
|
7
7
|
import * as s from "three";
|
|
8
8
|
import { useRef as z, useMemo as D, useLayoutEffect as fe } from "react";
|
|
9
|
-
import { f as ct, q as Et, i as Ee, v as Te, K as te, w as Q, L as vt, G as Ie, n as Le, T as yt, a as dt, r as Y, p as jt, e as Oe, l as Ve, k as st, S as zt, x as Pt, R as We, t as Ne, d as Ue, j as De,
|
|
9
|
+
import { f as ct, q as Et, i as Ee, v as Te, K as te, w as Q, L as vt, G as Ie, n as Le, T as yt, a as dt, r as Y, p as jt, e as Oe, l as Ve, k as st, S as zt, x as Pt, R as We, t as Ne, d as Ue, j as De, B as $e } from "./KitScene-C3SZiKL5.js";
|
|
10
10
|
import { RoundedBoxGeometry as Fe } from "three/examples/jsm/geometries/RoundedBoxGeometry.js";
|
|
11
11
|
const je = -1.9, St = () => je * ct.spread;
|
|
12
12
|
function Zt(t, e) {
|