@commentkit/comment-kit 2.1.2 → 2.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/node/cli/doctor.js +33 -24
  3. package/dist/node/cli/init.js +281 -13
  4. package/dist/node/cli/main.js +43 -12
  5. package/dist/npm/chunks/{AgentSend-DhG61w_r.js → AgentSend-BQQUJP6N.js} +2 -2
  6. package/dist/npm/chunks/{Checklist-C2q5KzWe.js → Checklist-RlhnW32b.js} +1 -1
  7. package/dist/npm/chunks/{Composer-Dj0YAYOR.js → Composer-D1ubijPl.js} +9 -9
  8. package/dist/npm/chunks/{Guest-bAxvxjbL.js → Guest-Dt0QYw0v.js} +3 -3
  9. package/dist/npm/chunks/{MarkupEditor-DnViTOOC.js → MarkupEditor-BA_p3sl9.js} +1 -1
  10. package/dist/npm/chunks/{Panel-C3_NURrp.js → Panel-BDt2-Db1.js} +6 -6
  11. package/dist/npm/chunks/{Settings-BM7pWbwd.js → Settings-CAv8hp89.js} +2 -2
  12. package/dist/npm/chunks/{SignInFirst-CeiPhLx0.js → SignInFirst-DDAq5Jg8.js} +1 -1
  13. package/dist/npm/chunks/{StyleEditor-BUZrhAY6.js → StyleEditor-CPeOeu8g.js} +2 -2
  14. package/dist/npm/chunks/{StylePanel-CFp-U7qa.js → StylePanel-Cq1kpV26.js} +1 -1
  15. package/dist/npm/chunks/{TaskFields-C4GddJTi.js → TaskFields-5DrG37f5.js} +2 -2
  16. package/dist/npm/chunks/{ThreadCard-CwClbMNh.js → ThreadCard-DWOvH-6X.js} +9 -9
  17. package/dist/npm/chunks/{agent-DfUu5BAp.js → agent-C_0_3eQI.js} +1 -1
  18. package/dist/npm/chunks/{card-bits-BXOCnmcQ.js → card-bits-v0qOEmQL.js} +2 -2
  19. package/dist/npm/chunks/{client-BqcfSisZ.js → client-D571FlER.js} +7 -7
  20. package/dist/npm/chunks/{dpop-CHzhM9ud.js → dpop-D9namjeG.js} +1 -1
  21. package/dist/npm/chunks/{extension-PWW2UQD7.js → extension-DMu26PbD.js} +1 -1
  22. package/dist/npm/chunks/{extension-TF7pIF_W.js → extension-DQDpEs3f.js} +2 -2
  23. package/dist/npm/chunks/{identify-CoQ4rxaI.js → identify-DQi27FAI.js} +1 -1
  24. package/dist/npm/chunks/{live-HKWO5Tsg.js → live-KT4Lz5KA.js} +2 -2
  25. package/dist/npm/chunks/{page-key-z6o1r8Uu.js → page-key-DJLO6bSu.js} +1 -1
  26. package/dist/npm/chunks/{pick-Bai3lMZX.js → pick-DxkzYQsl.js} +1 -1
  27. package/dist/npm/chunks/{pkce-B6VU0dtv.js → pkce-DoqJ0Xee.js} +1 -1
  28. package/dist/npm/chunks/{report-D-yxx5uK.js → report-BQT_YYBQ.js} +1 -1
  29. package/dist/npm/chunks/{show-C3bJFyaD.js → show-C0biDb3b.js} +6 -6
  30. package/dist/npm/chunks/{signin-Bq2KYFLY.js → signin-BF96ZF52.js} +3 -3
  31. package/dist/npm/chunks/{source-W_nJm3Ym.js → source-McjgKuFO.js} +1 -1
  32. package/dist/npm/chunks/{src-BFu9DgRc.js → src-DwEQI1-g.js} +8 -8
  33. package/dist/npm/chunks/{start-Dgw3mSp8.js → start-B8nZq-te.js} +10 -10
  34. package/dist/npm/chunks/{upload-b0nY04eW.js → upload-CJ_71f0-.js} +1 -1
  35. package/dist/npm/chunks/{uploads-Df4mLJ9O.js → uploads-AeS6wVkL.js} +2 -2
  36. package/dist/npm/chunks/{wrap-BuWw3zAq.js → wrap-B9jekR6h.js} +1 -1
  37. package/dist/npm/element.js +1 -1
  38. package/dist/npm/headless.js +2 -2
  39. package/dist/npm/index.js +2 -2
  40. package/dist/npm/react.js +1 -1
  41. package/dist/npm/svelte.js +1 -1
  42. package/dist/npm/vue.js +1 -1
  43. package/package.json +1 -1
@@ -2,7 +2,7 @@ import { _ as e, a as t, b as n, c as r, d as i, f as a, m as o, u as s } from "
2
2
  import { n as c, t as l } from "./icons-BJLm_C0M.js";
3
3
  import { t as u } from "./sheet-77GHVTpR.js";
4
4
  import { r as d } from "./context-0MfEgoip.js";
5
- import { j as f } from "./start-Dgw3mSp8.js";
5
+ import { j as f } from "./start-B8nZq-te.js";
6
6
  // src/ui/art.tsx
7
7
  u(".ck-art{margin:0 auto 12px;display:block;overflow:visible}.ck-art *{vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}.ck-art-w,.ck-art-a,path.ck-art-m{stroke:var(--ck-text);stroke-width:2px}.ck-art-w{fill:var(--ck-bg)}.ck-art-a{fill:var(--ck-accent)}.ck-art-m{fill:var(--ck-bg-hover)}.ck-art-line{fill:none;stroke:var(--ck-text);stroke-width:2px}.ck-art-bold{stroke-width:4.5px}.ck-art-tick{fill:none;stroke:var(--ck-accent-ink);stroke-width:2.6px}.ck-art-dot{fill:var(--ck-border)}.ck-art-ink{fill:var(--ck-text)}.ck-art-spark{fill:none;stroke:var(--ck-accent);stroke-width:2.4px}.ck-art-ghost{fill:none;stroke:var(--ck-text-muted);stroke-width:2px;stroke-dasharray:5 5}.ck-art-shadow{fill:var(--ck-bg-hover)}");
8
8
  var p = "M31.5 4.8C17.3 4.4 7 15.2 7 29c0 13 8.5 21.2 20.9 23 1.6.2 2.1 1.2 2.1 2.5v6.9c0 1.7 1.2 2.1 2.5.9 5.7-4.9 16-13.6 21.1-22.1 3.5-5.8 4.7-11.8 3.2-18.1C54.3 11.5 44.7 4.6 31.5 4.8Z", m = (e, t, n, r) => /* @__PURE__ */ s("path", {
@@ -1,16 +1,16 @@
1
- import { a as e } from "./src-BFu9DgRc.js";
2
- import { b as t, o as n, v as r } from "./client-BqcfSisZ.js";
1
+ import { a as e } from "./src-DwEQI1-g.js";
2
+ import { b as t, o as n, v as r } from "./client-D571FlER.js";
3
3
  import { a as i, c as a, o, s } from "./privacy-BWUGlHw5.js";
4
4
  import { s as c } from "./anchor-BsQNVkHj.js";
5
5
  import { _ as l, b as u, c as d, d as f, f as p, m, u as h, v as g } from "./i18n-CDw_D17c.js";
6
6
  import { n as _, t as ee } from "./icons-BJLm_C0M.js";
7
- import { a as te, c as ne, d as re, f as ie, g as ae, h as oe, i as se, l as ce, m as le, n as ue, o as de, p as v, t as fe } from "./uploads-Df4mLJ9O.js";
7
+ import { a as te, c as ne, d as re, f as ie, g as ae, h as oe, i as se, l as ce, m as le, n as ue, o as de, p as v, t as fe } from "./uploads-AeS6wVkL.js";
8
8
  import { r as pe } from "./files-BkHuRlcW.js";
9
- import { n as me, r as he, t as ge } from "./card-bits-BXOCnmcQ.js";
9
+ import { n as me, r as he, t as ge } from "./card-bits-v0qOEmQL.js";
10
10
  import { i as y } from "./drafts-B0ctr1g9.js";
11
11
  import { t as b } from "./sheet-77GHVTpR.js";
12
12
  import { t as _e } from "./states-DLMCvwes.js";
13
- import { A as ve, C as ye, F as x, S, b as be, c as xe, d as Se, f as Ce, j as we, p as Te, y as C, z as Ee } from "./start-Dgw3mSp8.js";
13
+ import { A as ve, C as ye, F as x, S, b as be, c as xe, d as Se, f as Ce, j as we, p as Te, y as C, z as Ee } from "./start-B8nZq-te.js";
14
14
  // src/capture/context.ts
15
15
  function De() {
16
16
  let e = navigator.userAgent, t = w(e, [
@@ -61,7 +61,7 @@ function Oe() {
61
61
  }
62
62
  async function ke(t = {}) {
63
63
  let n = (t.redact ?? []).filter(s), r = o(t.privacy), i = innerWidth, a = innerHeight, c = null;
64
- e() && (c = await import("./extension-PWW2UQD7.js").then((e) => e.captureTab(n, r)).catch(() => null)), c ?? (c = await D(n, r, i, a));
64
+ e() && (c = await import("./extension-DMu26PbD.js").then((e) => e.captureTab(n, r)).catch(() => null)), c ?? (c = await D(n, r, i, a));
65
65
  let l = c.getContext("2d"), u = c.width / Math.max(1, i);
66
66
  return l && Ae(l, u, t), t.crop && t.region && (c = k(c, u, t.region, i, a)), {
67
67
  blob: await Me(c),
@@ -140,11 +140,11 @@ function Ne(e, t) {
140
140
  }
141
141
  b(_e), b(re);
142
142
  function Pe({ client: e, draft: i, signedIn: a, onSignIn: o, onCancel: s, onSent: re, onError: v, share: b = null, onPending: _e }) {
143
- let x = S(e.state, (e) => e.config), w = S(e.state, (e) => e.session?.person ?? null), T = g(() => Te(e, i.anchor), [i.anchor]), [E, Oe] = l(() => He()), [D, Ae] = l(() => le(T, void 0, Te(e, i.anchor, n()))), [O, je] = l([]), [k, Me] = l(null), A = e.options.tools ?? {}, Ne = x?.features.screenshots !== !1 && A.screenshots !== !1, Pe = A.attachments !== !1, [j, We] = l(Ne ? "capturing" : "off"), N = S(e.state, (e) => !!e.session?.capabilities.triage), Ge = N && A.checklist !== !1, [P] = l(() => Ue(T)), [Ke, qe] = l(P?.task ?? {}), [F, Je] = l(P?.checklist ?? null), [I, Ye] = l(""), Xe = C(N, () => import("./TaskFields-C4GddJTi.js").then((e) => e.TaskDraft), () => void 0), [L, Ze] = l(P?.markup ?? []), [Qe, R] = l(!1), $e = C(Qe, () => import("./MarkupEditor-DnViTOOC.js").then((e) => e.MarkupEditor), (e) => (R(!1), v(e))), z = ue(e, (e) => v(new r(0, "file_rejected", e))), B = g(() => {
143
+ let x = S(e.state, (e) => e.config), w = S(e.state, (e) => e.session?.person ?? null), T = g(() => Te(e, i.anchor), [i.anchor]), [E, Oe] = l(() => He()), [D, Ae] = l(() => le(T, void 0, Te(e, i.anchor, n()))), [O, je] = l([]), [k, Me] = l(null), A = e.options.tools ?? {}, Ne = x?.features.screenshots !== !1 && A.screenshots !== !1, Pe = A.attachments !== !1, [j, We] = l(Ne ? "capturing" : "off"), N = S(e.state, (e) => !!e.session?.capabilities.triage), Ge = N && A.checklist !== !1, [P] = l(() => Ue(T)), [Ke, qe] = l(P?.task ?? {}), [F, Je] = l(P?.checklist ?? null), [I, Ye] = l(""), Xe = C(N, () => import("./TaskFields-5DrG37f5.js").then((e) => e.TaskDraft), () => void 0), [L, Ze] = l(P?.markup ?? []), [Qe, R] = l(!1), $e = C(Qe, () => import("./MarkupEditor-BA_p3sl9.js").then((e) => e.MarkupEditor), (e) => (R(!1), v(e))), z = ue(e, (e) => v(new r(0, "file_rejected", e))), B = g(() => {
144
144
  if (!N || A.style === !1 || i.anchor.type !== "element" && i.anchor.type !== "text") return null;
145
145
  let e = c(i.anchor).element;
146
146
  return e instanceof HTMLElement || e instanceof SVGElement ? e : null;
147
- }, [i.anchor, N]), [V, et] = l(P?.styles ?? []), [H, tt] = l(!1), nt = C(H, () => import("./StylePanel-CFp-U7qa.js").then((e) => e.StylePanel), v), U = m(null), W = m(null), rt = () => {
147
+ }, [i.anchor, N]), [V, et] = l(P?.styles ?? []), [H, tt] = l(!1), nt = C(H, () => import("./StylePanel-Cq1kpV26.js").then((e) => e.StylePanel), v), U = m(null), W = m(null), rt = () => {
148
148
  B && (U.current ?? (U.current = de(B)), W.current ?? (W.current = new se(B)), tt(!0));
149
149
  };
150
150
  p(() => {
@@ -269,7 +269,7 @@ function Pe({ client: e, draft: i, signedIn: a, onSignIn: o, onCancel: s, onSent
269
269
  try {
270
270
  let t = !a && !b;
271
271
  if (Z && b) {
272
- let { startGuest: n } = await import("./Guest-bAxvxjbL.js");
272
+ let { startGuest: n } = await import("./Guest-Dt0QYw0v.js");
273
273
  y(Ve, JSON.stringify({
274
274
  name: E.name,
275
275
  email: E.email
@@ -1,9 +1,9 @@
1
- import { b as e, o as t, v as n } from "./client-BqcfSisZ.js";
1
+ import { b as e, o as t, v as n } from "./client-D571FlER.js";
2
2
  import { _ as r, c as i, d as a, f as o, m as s, n as c, u as l } from "./i18n-CDw_D17c.js";
3
3
  import { n as u } from "./icons-BJLm_C0M.js";
4
- import { r as d } from "./card-bits-BXOCnmcQ.js";
4
+ import { r as d } from "./card-bits-v0qOEmQL.js";
5
5
  import { t as f } from "./sheet-77GHVTpR.js";
6
- import { h as p } from "./start-Dgw3mSp8.js";
6
+ import { h as p } from "./start-B8nZq-te.js";
7
7
  // src/ui/Guest.tsx
8
8
  f(".ck-verify-text{text-wrap:pretty;overflow-wrap:anywhere;margin:0 0 12px;line-height:1.5}.ck-verify .ck-code{height:48px;font-family:var(--ck-mono);font-size:var(--ck-fs-xl);letter-spacing:.32em;text-align:center;font-variant-numeric:tabular-nums;padding-inline-start:calc(12px + .32em);padding-inline-end:12px}.ck-verify .ck-actions .ck-chip{font-variant-numeric:tabular-nums}.ck-verify .ck-chip:disabled{opacity:.5;cursor:default}.ck-verify .ck-note{margin:12px 0 0}@media (hover:hover){.ck-verify .ck-chip:disabled:hover{background:var(--ck-bg);color:var(--ck-text-muted)}}@media (pointer:coarse){.ck-verify .ck-chip{min-height:44px}}");
9
9
  async function m(e, r) {
@@ -1,6 +1,6 @@
1
1
  import { _ as e, c as t, d as n, f as r, m as i, u as a } from "./i18n-CDw_D17c.js";
2
2
  import { t as o } from "./sheet-77GHVTpR.js";
3
- import { A as s, _ as c } from "./start-Dgw3mSp8.js";
3
+ import { A as s, _ as c } from "./start-B8nZq-te.js";
4
4
  // src/ui/MarkupEditor.tsx
5
5
  o(".ck-markup{z-index:calc(var(--ck-z) + 2);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#0a0a0c4d;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:16px;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.ck-markup canvas{border-radius:var(--ck-radius-md);cursor:crosshair;touch-action:none;background:#fff;max-width:min(100%,1100px);max-height:calc(100dvh - 110px);box-shadow:0 0 0 1px #0000000d,0 20px 50px #00000040}.ck-label-box .ck-input{width:200px;font-weight:600}.ck-markup .ck-markup-tools{background:var(--ck-bg);border-radius:var(--ck-radius-pill);max-width:100%;box-shadow:var(--ck-shadow);border:1px solid #0000;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px;padding:4px;display:flex}.ck-markup .ck-markup-group{align-items:center;gap:4px;padding:0 4px;display:flex}.ck-markup .ck-markup-group+.ck-markup-group{border-inline-start:1px solid var(--ck-hairline);margin-inline-start:4px;padding-inline-start:8px}.ck-markup .ck-tool{border-radius:var(--ck-radius-pill);width:32px;height:32px;color:var(--ck-text-muted);transition:background-color var(--ck-fast), color var(--ck-fast), scale var(--ck-fast) ease-out;background:0 0;border:0;place-items:center;padding:0;display:grid}.ck-markup .ck-tool[aria-pressed=true]{background:var(--ck-accent-soft);color:var(--ck-accent-text)}.ck-markup .ck-tool:active,.ck-markup .ck-icon-btn:active:not([aria-disabled=true]){scale:.96}.ck-markup .ck-dot{width:16px;height:16px;box-shadow:inset 0 0 0 1px var(--ck-hairline);border-radius:50%;display:block}.ck-markup .ck-tool[aria-pressed=true] .ck-dot{box-shadow:0 0 0 2px var(--ck-bg), 0 0 0 4px currentColor}.ck-markup .ck-width{gap:8px;width:152px}.ck-markup .ck-width input{min-width:0;accent-color:var(--ck-accent);cursor:pointer;flex:1}.ck-markup .ck-width span{width:32px;font-size:var(--ck-fs-sm);color:var(--ck-text-muted);font-variant-numeric:tabular-nums;text-align:end;flex:none}.ck-markup .ck-btn-group{display:inline-flex}.ck-markup .ck-icon-btn{border:1px solid var(--ck-control);background:var(--ck-bg);width:32px;height:32px;color:var(--ck-text);transition:background-color var(--ck-fast), scale var(--ck-fast) ease-out;place-items:center;padding:0;display:grid}.ck-markup .ck-icon-btn+.ck-icon-btn{margin-inline-start:-1px}.ck-markup .ck-icon-btn:first-child:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){border-top-left-radius:var(--ck-radius-sm);border-bottom-left-radius:var(--ck-radius-sm)}.ck-markup .ck-icon-btn:first-child:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){border-top-left-radius:var(--ck-radius-sm);border-bottom-left-radius:var(--ck-radius-sm)}.ck-markup .ck-icon-btn:first-child:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){border-top-right-radius:var(--ck-radius-sm);border-bottom-right-radius:var(--ck-radius-sm)}.ck-markup .ck-icon-btn:first-child:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){border-top-right-radius:var(--ck-radius-sm);border-bottom-right-radius:var(--ck-radius-sm)}.ck-markup .ck-icon-btn:last-child:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){border-top-right-radius:var(--ck-radius-sm);border-bottom-right-radius:var(--ck-radius-sm)}.ck-markup .ck-icon-btn:last-child:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){border-top-right-radius:var(--ck-radius-sm);border-bottom-right-radius:var(--ck-radius-sm)}.ck-markup .ck-icon-btn:last-child:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){border-top-left-radius:var(--ck-radius-sm);border-bottom-left-radius:var(--ck-radius-sm)}.ck-markup .ck-icon-btn:last-child:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){border-top-left-radius:var(--ck-radius-sm);border-bottom-left-radius:var(--ck-radius-sm)}.ck-markup .ck-icon-btn:focus-visible{z-index:1;position:relative}.ck-markup .ck-icon-btn[aria-disabled=true]{opacity:.5;cursor:default}.ck-markup .ck-icon-btn.ck-primary{border-color:var(--ck-accent);background:var(--ck-accent);color:var(--ck-accent-ink);position:relative}.ck-markup .ck-label-box{z-index:1;border-radius:var(--ck-radius-md);background:var(--ck-bg);box-shadow:var(--ck-shadow);border:1px solid #0000;align-items:center;gap:4px;padding:4px;display:flex;position:fixed}.ck-markup .ck-label-box .ck-input{border-radius:var(--ck-radius-sm);height:32px}.ck-markup .ck-label-box .ck-chip{flex:none;height:32px}@media (hover:hover){.ck-markup .ck-icon-btn:hover:not([aria-disabled=true]):not(.ck-primary){background:var(--ck-bg-hover)}.ck-markup .ck-tool:hover{background:var(--ck-bg-hover);color:var(--ck-text)}}@media (forced-colors:active){.ck-markup .ck-tool[aria-pressed=true]{color:highlighttext;background:highlight}}@media (pointer:coarse){.ck-markup .ck-tool,.ck-markup .ck-icon-btn{width:44px;height:44px}}@media (max-width:520px){.ck-markup .ck-markup-tools{border-radius:var(--ck-radius)}}");
6
6
  var l = /* @__PURE__ */ new WeakSet(), u = [
@@ -1,15 +1,15 @@
1
- import { n as e } from "./src-BFu9DgRc.js";
2
- import { o as t, p as n, v as r } from "./client-BqcfSisZ.js";
1
+ import { n as e } from "./src-DwEQI1-g.js";
2
+ import { o as t, p as n, v as r } from "./client-D571FlER.js";
3
3
  import { s as i } from "./anchor-BsQNVkHj.js";
4
4
  import { _ as a, a as o, b as s, c, d as l, f as u, i as d, m as f, n as p, o as m, t as h, u as g } from "./i18n-CDw_D17c.js";
5
5
  import { n as _, t as v } from "./icons-BJLm_C0M.js";
6
- import { i as ee } from "./card-bits-BXOCnmcQ.js";
6
+ import { i as ee } from "./card-bits-v0qOEmQL.js";
7
7
  import { r as y } from "./drafts-B0ctr1g9.js";
8
8
  import { t as b } from "./sheet-77GHVTpR.js";
9
9
  import { t as x } from "./states-DLMCvwes.js";
10
10
  import { n as S, r as C, t as w } from "./context-0MfEgoip.js";
11
- import { n as te, r as T } from "./Checklist-C2q5KzWe.js";
12
- import { C as ne, F as E, I as D, N as O, S as k, b as re, j as ie, k as A, s as j, v as M, w as ae, x as N, y as oe } from "./start-Dgw3mSp8.js";
11
+ import { n as te, r as T } from "./Checklist-RlhnW32b.js";
12
+ import { C as ne, F as E, I as D, N as O, S as k, b as re, j as ie, k as A, s as j, v as M, w as ae, x as N, y as oe } from "./start-B8nZq-te.js";
13
13
  // src/ui/Notifications.tsx
14
14
  function P({ items: e, onOpen: t, more: n, loadingMore: r, onMore: i, unread: a, onMarkAll: o }) {
15
15
  let l = e.map((e) => e.thread_id);
@@ -232,7 +232,7 @@ function le({ load: e, onRetry: t, art: n, empty: r, children: i }) {
232
232
  }
233
233
  // src/ui/PickBar.tsx
234
234
  function ue({ threads: t, onCancel: n, onDone: r }, i) {
235
- let { client: s, reportError: l } = C(i), [u, d] = a(!1), p = oe(u, () => e(() => import("./AgentSend-DhG61w_r.js")).then((e) => e.AgentSend), (e) => (l(e), d(!1))), m = f(null);
235
+ let { client: s, reportError: l } = C(i), [u, d] = a(!1), p = oe(u, () => e(() => import("./AgentSend-BQQUJP6N.js")).then((e) => e.AgentSend), (e) => (l(e), d(!1))), m = f(null);
236
236
  return /* @__PURE__ */ g("div", {
237
237
  class: "ck-pickbar",
238
238
  role: "group",
@@ -1,10 +1,10 @@
1
- import { c as e } from "./client-BqcfSisZ.js";
1
+ import { c as e } from "./client-D571FlER.js";
2
2
  import { _ as t, b as n, c as r, d as i, f as a, m as o, u as s } from "./i18n-CDw_D17c.js";
3
3
  import { n as c } from "./icons-BJLm_C0M.js";
4
4
  import { i as l } from "./files-BkHuRlcW.js";
5
5
  import { t as u } from "./sheet-77GHVTpR.js";
6
6
  import { t as d } from "./dialog-DvdIkCW0.js";
7
- import { C as f, F as p, S as m, a as h, i as g, o as _, v } from "./start-Dgw3mSp8.js";
7
+ import { C as f, F as p, S as m, a as h, i as g, o as _, v } from "./start-B8nZq-te.js";
8
8
  u(d), u(".ck-settings .ck-card-body{grid-template-columns:minmax(0,1fr);gap:16px;display:grid}.ck-account{border-radius:var(--ck-radius-md);background:var(--ck-bg-muted);align-items:center;gap:12px;padding:12px;display:flex}.ck-account .ck-avatar{--ck-av:40px}.ck-account>div{min-width:0;font-size:var(--ck-fs-sm);gap:2px;display:grid}.ck-account .ck-msg-name,.ck-account .ck-muted{overflow-wrap:anywhere}.ck-setting h3{font-size:var(--ck-fs-sm);letter-spacing:.05em;text-transform:uppercase;color:var(--ck-text-muted);margin:0 0 8px;font-weight:600}.ck-root:-webkit-any(:lang(ar),:lang(hi),:lang(ja),:lang(zh)) .ck-setting h3{letter-spacing:0}.ck-root:is(:lang(ar),:lang(hi),:lang(ja),:lang(zh)) .ck-setting h3{letter-spacing:0}.ck-setting-hint{font-size:var(--ck-fs-sm);text-wrap:pretty;margin:8px 0 0}.ck-toggle{border-radius:var(--ck-radius-sm);width:100%;min-height:36px;color:var(--ck-text);font-size:var(--ck-fs);text-align:start;background:0 0;border:0;justify-content:space-between;align-items:center;gap:12px;padding:0;display:flex}.ck-toggle:focus-visible{outline-offset:2px}.ck-switch{border-radius:var(--ck-radius-pill);background:var(--ck-text-muted);width:36px;height:20px;transition:background-color var(--ck-fast);flex:none;position:relative}.ck-switch:after{content:\"\";top:2px;background:var(--ck-bg);width:16px;height:16px;box-shadow:var(--ck-shadow-sm);border-radius:50%;position:absolute}.ck-switch:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:2px}.ck-switch:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:2px}.ck-switch:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:2px}.ck-switch:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:2px}.ck-toggle[aria-checked=true] .ck-switch{background:var(--ck-accent)}.ck-toggle[aria-checked=true] .ck-switch:after{background:var(--ck-accent-ink)}.ck-toggle[aria-checked=true] .ck-switch:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:18px}.ck-toggle[aria-checked=true] .ck-switch:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:18px}.ck-toggle[aria-checked=true] .ck-switch:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:18px}.ck-toggle[aria-checked=true] .ck-switch:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:18px}.ck-segment{border-radius:var(--ck-radius-md);background:var(--ck-bg-muted);grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;padding:4px;display:grid}.ck-segment button{border-radius:var(--ck-radius-sm);height:32px;color:var(--ck-text-muted);font-size:var(--ck-fs-md);white-space:nowrap;text-overflow:ellipsis;transition:background-color var(--ck-fast), color var(--ck-fast);background:0 0;border:0;padding:0 8px;font-weight:600;overflow:hidden}.ck-segment button[aria-checked=true]{background:var(--ck-bg);color:var(--ck-text);box-shadow:var(--ck-shadow-sm)}.ck-segment button:focus-visible{outline-offset:-2px}.ck-segment button:active{scale:.96}.ck-setting-links{border-top:1px solid var(--ck-hairline);gap:2px;padding-top:8px;display:grid}.ck-setting-links a,.ck-setting-links button{border-radius:var(--ck-radius-sm);width:100%;min-height:36px;color:var(--ck-text);font-size:var(--ck-fs);text-align:start;transition:background-color var(--ck-fast);background:0 0;border:0;align-items:center;gap:12px;padding:8px 12px;text-decoration:none;display:flex}.ck-setting-links :-webkit-any(a,button):focus-visible{outline-offset:-2px}.ck-setting-links :is(a,button):focus-visible{outline-offset:-2px}.ck-setting-links :-webkit-any(a,button):active{background:var(--ck-bg-hover)}.ck-setting-links :is(a,button):active{background:var(--ck-bg-hover)}.ck-setting-links svg{color:var(--ck-text-muted);flex:none}.ck-setting-links .ck-danger{color:var(--ck-danger)}.ck-setting-links .ck-danger svg{color:currentColor}.ck-team{grid-template-columns:minmax(0,1fr);gap:2px;margin:0;padding:0;list-style:none;display:grid}.ck-team li{min-height:32px;font-size:var(--ck-fs-md);align-items:center;gap:8px;padding-block-start:4px;padding-block-end:4px;display:flex}.ck-team-name{overflow-wrap:anywhere;min-width:0}.ck-team li>.ck-muted{flex:none}.ck-team-face{flex:none;display:inline-flex;position:relative}.ck-team-face .ck-avatar{--ck-av:24px}.ck-online{background:var(--ck-success);width:8px;height:8px;box-shadow:0 0 0 2px var(--ck-bg);border-radius:50%;position:absolute;bottom:-2px}.ck-online:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:-2px}.ck-online:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:-2px}.ck-online:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:-2px}.ck-online:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:-2px}.ck-team-role{font-size:var(--ck-fs-sm);margin-inline-start:auto}.ck-meter{border-radius:var(--ck-radius-pill);background:var(--ck-bg-muted);outline:1px solid var(--ck-hairline);outline-offset:-1px;height:6px;overflow:hidden}.ck-meter>span{background:var(--ck-accent);border-radius:inherit;height:100%;display:block}.ck-meter>span[data-high]{background:var(--ck-warning)}@media (hover:hover){.ck-setting-links a:hover,.ck-setting-links button:hover{background:var(--ck-bg-hover)}.ck-segment button:hover{color:var(--ck-text)}}@media (pointer:coarse){.ck-segment button,.ck-setting-links a,.ck-setting-links button{min-height:44px}}@media (forced-colors:active){.ck-segment button[aria-checked=true]{color:highlighttext;background:highlight}.ck-switch{background:canvas;border:1px solid canvastext}.ck-switch:after,.ck-toggle[aria-checked=true] .ck-switch:after{background:canvastext}.ck-toggle[aria-checked=true] .ck-switch{background:highlight}}@media (pointer:coarse){.ck-toggle{min-height:44px}}@media (prefers-reduced-motion:reduce){.ck-segment button:active{scale:none}}");
9
9
  var y = [
10
10
  ["auto", "themeSystem"],
@@ -1,7 +1,7 @@
1
1
  import { b as e, c as t, f as n, m as r, r as i, u as a } from "./i18n-CDw_D17c.js";
2
2
  import { t as o } from "./late-words-QnNheaDY.js";
3
3
  import { i as s } from "./drafts-B0ctr1g9.js";
4
- import { l as c, n as l, u } from "./start-Dgw3mSp8.js";
4
+ import { l as c, n as l, u } from "./start-B8nZq-te.js";
5
5
  // src/ui/SignInFirst.tsx
6
6
  Object.assign(i, o);
7
7
  function d({ position: i, website: o, inbox: d, signIn: f, onSignedIn: p, onDismiss: m }) {
@@ -1,7 +1,7 @@
1
1
  import { _ as e, c as t, f as n, m as r, u as i } from "./i18n-CDw_D17c.js";
2
- import { a, i as o, o as s } from "./uploads-Df4mLJ9O.js";
2
+ import { a, i as o, o as s } from "./uploads-AeS6wVkL.js";
3
3
  import { r as c } from "./context-0MfEgoip.js";
4
- import { StylePanel as l } from "./StylePanel-CFp-U7qa.js";
4
+ import { StylePanel as l } from "./StylePanel-Cq1kpV26.js";
5
5
  // src/ui/StyleEditor.tsx
6
6
  function u({ thread: u, element: d, onSaved: f, onClose: p }, m) {
7
7
  let { client: h, reportError: g } = c(m), [_] = e(() => {
@@ -1,5 +1,5 @@
1
1
  import { _ as e, b as t, c as n, d as r, u as i } from "./i18n-CDw_D17c.js";
2
- import { r as a, s as o } from "./uploads-Df4mLJ9O.js";
2
+ import { r as a, s as o } from "./uploads-AeS6wVkL.js";
3
3
  import { t as s } from "./sheet-77GHVTpR.js";
4
4
  // src/ui/StylePanel.tsx
5
5
  s(".ck-style-panel{border-radius:var(--ck-radius-md);background:var(--ck-bg-muted);box-shadow:0 0 0 1px var(--ck-hairline);margin-top:8px;padding:8px 12px 12px}.ck-style-head{min-height:28px;font-size:var(--ck-fs-md);justify-content:space-between;align-items:center;gap:8px;display:flex}.ck-style-done{height:28px;font-size:var(--ck-fs-sm);padding:0 12px}.ck-style-actions{align-items:center;gap:4px;display:flex}.ck-style-actions .ck-ghost-sm{height:28px;padding:0 8px}.ck-style-hint{font-size:var(--ck-fs-sm);text-wrap:pretty;margin:4px 0 8px;line-height:1.4}.ck-style-rows{overscroll-behavior:contain;gap:4px;max-height:236px;margin-inline-start:-4px;margin-inline-end:-4px;padding-inline-start:4px;padding-inline-end:4px;display:grid;overflow:auto}.ck-style-row{border-radius:var(--ck-radius-sm);min-height:32px;transition:background-color var(--ck-fast);grid-template-columns:minmax(96px,40%) 1fr;align-items:center;column-gap:8px;padding:0 4px;display:grid}.ck-style-row[data-changed]{background:color-mix(in srgb, var(--ck-accent) 10%, transparent)}.ck-style-row .ck-error{grid-column:2;padding-block-start:4px;padding-block-end:4px}.ck-style-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:var(--ck-fs-sm);color:var(--ck-text-muted);overflow:hidden}.ck-style-name code{font-family:var(--ck-mono);font-size:var(--ck-fs-xs)}.ck-style-row[data-changed] .ck-style-name{color:var(--ck-text)}.ck-style-control{align-items:center;gap:4px;min-width:0;display:flex}.ck-style-control .ck-style-input{width:auto;min-width:0;height:28px;font-size:var(--ck-fs-sm);font-family:var(--ck-mono);flex:1;padding:0 7px}.ck-style-control .ck-style-input[aria-invalid=true]{border-color:var(--ck-danger)}.ck-style-control .ck-style-input[aria-invalid=true]:focus{box-shadow:0 0 0 3px color-mix(in srgb, var(--ck-danger) 18%, transparent)}.ck-style-control .ck-ghost{width:24px;min-width:0;height:24px;min-height:0;font-size:var(--ck-fs);flex:none;place-items:center;padding:0;line-height:1;display:grid}.ck-style-control .ck-ghost:active{scale:.96}.ck-style-steps{flex:none;display:flex}.ck-style-swatch{width:16px;height:16px;box-shadow:inset 0 0 0 1px var(--ck-hairline), 0 0 0 1px var(--ck-border);border-radius:50%;flex:none;margin-inline-end:4px}.ck-style-undo:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){scale:-1 1}.ck-style-undo:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){scale:-1 1}@media (pointer:coarse){.ck-style-row{grid-template-columns:1fr;row-gap:4px;padding-block-start:8px;padding-block-end:8px}.ck-style-row .ck-error{grid-column:1}.ck-style-control .ck-style-input{font-size:var(--ck-fs-lg);height:44px}.ck-style-control .ck-ghost{width:44px;height:44px}.ck-style-rows{max-height:320px}}");
@@ -1,9 +1,9 @@
1
- import { n as e } from "./src-BFu9DgRc.js";
1
+ import { n as e } from "./src-DwEQI1-g.js";
2
2
  import { _ as t, c as n, d as r, f as i, m as a, n as o, p as s, u as c, v as l } from "./i18n-CDw_D17c.js";
3
3
  import { i as u, n as d, r as f, t as p } from "./icons-BJLm_C0M.js";
4
4
  import { t as m } from "./sheet-77GHVTpR.js";
5
5
  import { r as h } from "./context-0MfEgoip.js";
6
- import { C as g, L as _, P as v, x as y, y as b } from "./start-Dgw3mSp8.js";
6
+ import { C as g, L as _, P as v, x as y, y as b } from "./start-B8nZq-te.js";
7
7
  // src/ui/place-pop.ts
8
8
  function x(e, t, n, r, i = n, a = 4, o = 8) {
9
9
  let s = r ? e.right - t.width : e.left, c = r ? s < Math.max(n.left, i.left) + o : s + t.width > Math.min(n.right, i.right) - o;
@@ -1,19 +1,19 @@
1
- import { n as e } from "./src-BFu9DgRc.js";
2
- import { b as t, v as n } from "./client-BqcfSisZ.js";
1
+ import { n as e } from "./src-DwEQI1-g.js";
2
+ import { b as t, v as n } from "./client-D571FlER.js";
3
3
  import { s as r } from "./anchor-BsQNVkHj.js";
4
4
  import { _ as i, a, b as o, c as s, d as c, f as l, i as u, m as d, o as f, u as p, v as m } from "./i18n-CDw_D17c.js";
5
- import { r as h } from "./agent-DfUu5BAp.js";
5
+ import { r as h } from "./agent-C_0_3eQI.js";
6
6
  import { n as g } from "./icons-BJLm_C0M.js";
7
- import { a as _, c as v, f as ee, g as te, h as y, i as b, l as ne, m as re, n as ie, t as ae, u as oe } from "./uploads-Df4mLJ9O.js";
7
+ import { a as _, c as v, f as ee, g as te, h as y, i as b, l as ne, m as re, n as ie, t as ae, u as oe } from "./uploads-AeS6wVkL.js";
8
8
  import { a as x, r as se } from "./files-BkHuRlcW.js";
9
- import { i as ce, n as le, r as ue, t as de } from "./card-bits-BXOCnmcQ.js";
9
+ import { i as ce, n as le, r as ue, t as de } from "./card-bits-v0qOEmQL.js";
10
10
  import { n as fe } from "./drafts-B0ctr1g9.js";
11
11
  import { t as S } from "./sheet-77GHVTpR.js";
12
12
  import { t as C } from "./states-DLMCvwes.js";
13
13
  import { n as pe, r as me, t as he } from "./context-0MfEgoip.js";
14
- import { r as ge, t as _e } from "./Checklist-C2q5KzWe.js";
15
- import { StatusField as ve, TaskFields as ye } from "./TaskFields-C4GddJTi.js";
16
- import { A as be, C as xe, F as w, I as Se, M as T, N as Ce, O as E, S as we, b as Te, g as Ee, h as De, r as Oe, s as ke, v as Ae, w as D, x as je, y as Me } from "./start-Dgw3mSp8.js";
14
+ import { r as ge, t as _e } from "./Checklist-RlhnW32b.js";
15
+ import { StatusField as ve, TaskFields as ye } from "./TaskFields-5DrG37f5.js";
16
+ import { A as be, C as xe, F as w, I as Se, M as T, N as Ce, O as E, S as we, b as Te, g as Ee, h as De, r as Oe, s as ke, v as Ae, w as D, x as je, y as Me } from "./start-B8nZq-te.js";
17
17
  // src/ui/Reactions.tsx
18
18
  var O = x.slice(0, 6);
19
19
  function k(e) {
@@ -354,7 +354,7 @@ function P(e) {
354
354
  }
355
355
  // src/ui/StyleChanges.tsx
356
356
  function ze({ thread: e, element: t, editable: n, onChange: r }, a) {
357
- let { reportError: o } = me(a), c = m(() => _(e.style_changes), [e.style_changes]), [u, f] = i(!1), [h, g] = i(!1), ee = Me(h, () => import("./StyleEditor-BUZrhAY6.js").then((e) => e.StyleEditor), o), te = d(null), y = t instanceof HTMLElement || t instanceof SVGElement ? t : null;
357
+ let { reportError: o } = me(a), c = m(() => _(e.style_changes), [e.style_changes]), [u, f] = i(!1), [h, g] = i(!1), ee = Me(h, () => import("./StyleEditor-CPeOeu8g.js").then((e) => e.StyleEditor), o), te = d(null), y = t instanceof HTMLElement || t instanceof SVGElement ? t : null;
358
358
  return l(() => {
359
359
  if (!u || !y) return;
360
360
  let e = te.current = new b(y);
@@ -1,4 +1,4 @@
1
- import { H as e, W as t } from "./start-Dgw3mSp8.js";
1
+ import { H as e, W as t } from "./start-B8nZq-te.js";
2
2
  // src/ui/agent.ts
3
3
  var n = "untrusted-user-content", r = 4e3, i = "…truncated", a = /untrusted[\s\u00ad\u200b-\u200f\u2060-\u2064\ufeff_-]*user[\s\u00ad\u200b-\u200f\u2060-\u2064\ufeff_-]*content/gi;
4
4
  function o(e) {
@@ -1,8 +1,8 @@
1
- import { v as e } from "./client-BqcfSisZ.js";
1
+ import { v as e } from "./client-D571FlER.js";
2
2
  import { b as t, c as n, l as r, u as i } from "./i18n-CDw_D17c.js";
3
3
  import { n as a } from "./icons-BJLm_C0M.js";
4
4
  import { t as o } from "./files-BkHuRlcW.js";
5
- import { h as s, m as c } from "./start-Dgw3mSp8.js";
5
+ import { h as s, m as c } from "./start-B8nZq-te.js";
6
6
  // src/ui/card-bits.tsx
7
7
  c.http_413 = "tooBig";
8
8
  function l(t, r, i, a) {
@@ -132,7 +132,7 @@ var d = 1e4, f = /^[A-Za-z0-9]{16,128}$/, p = class {
132
132
  return e !== null && (f.test(e) && (this.signInLink = e), this.signInLink !== null);
133
133
  }
134
134
  async proof(e, t, n) {
135
- return (this.dpop ?? (this.dpop = await import("./dpop-CHzhM9ud.js"))).proof(this.projectKey, e, t, n);
135
+ return (this.dpop ?? (this.dpop = await import("./dpop-D9namjeG.js"))).proof(this.projectKey, e, t, n);
136
136
  }
137
137
  seen(e, t) {
138
138
  return !!this.dpop?.seen(e, t);
@@ -141,7 +141,7 @@ var d = 1e4, f = /^[A-Za-z0-9]{16,128}$/, p = class {
141
141
  return this.signInLink !== null;
142
142
  }
143
143
  signIn(e = {}) {
144
- return import("./signin-Bq2KYFLY.js").then((t) => t.signIn(this, e));
144
+ return import("./signin-BF96ZF52.js").then((t) => t.signIn(this, e));
145
145
  }
146
146
  async exchange(e, t) {
147
147
  try {
@@ -156,7 +156,7 @@ var d = 1e4, f = /^[A-Za-z0-9]{16,128}$/, p = class {
156
156
  }
157
157
  }
158
158
  async completeRedirect() {
159
- return /[?&]ck_code=/.test(location.search) && import("./signin-Bq2KYFLY.js").then((e) => e.completeRedirect(this));
159
+ return /[?&]ck_code=/.test(location.search) && import("./signin-BF96ZF52.js").then((e) => e.completeRedirect(this));
160
160
  }
161
161
  async signOut() {
162
162
  let e = this.readRefresh();
@@ -328,7 +328,7 @@ function T(e) {
328
328
  };
329
329
  }
330
330
  // src/core/client.ts
331
- var E = "2.1.2", D = "https://commentkit.dev", O = { of: (e) => e }, k = (e) => void (O = e), A = () => O.url?.() ?? location.href;
331
+ var E = "2.1.3", D = "https://commentkit.dev", O = { of: (e) => e }, k = (e) => void (O = e), A = () => O.url?.() ?? location.href;
332
332
  function j() {
333
333
  return {
334
334
  config: null,
@@ -375,7 +375,7 @@ var N = "edit_conflict", P = 20, F = (e) => e ? `${e.project.id}|${e.person.type
375
375
  return `${this.endpoint}/cdn`;
376
376
  }
377
377
  reportCrash(e, t = "crash") {
378
- import("./report-D-yxx5uK.js").then((n) => n.reportCrash(this.endpoint, this.options.project, E, e, t, this.reportNonce, this.auth)).catch(() => void 0);
378
+ import("./report-BQT_YYBQ.js").then((n) => n.reportCrash(this.endpoint, this.options.project, E, e, t, this.reportNonce, this.auth)).catch(() => void 0);
379
379
  }
380
380
  on(e, t) {
381
381
  let n = this.listeners.get(e) ?? /* @__PURE__ */ new Set();
@@ -395,7 +395,7 @@ var N = "edit_conflict", P = 20, F = (e) => e ? `${e.project.id}|${e.person.type
395
395
  });
396
396
  }
397
397
  prefetchSignIn() {
398
- import("./signin-Bq2KYFLY.js").catch(() => void 0);
398
+ import("./signin-BF96ZF52.js").catch(() => void 0);
399
399
  }
400
400
  async loadConfig() {
401
401
  let e = this.state.get().config, t = { "X-CommentKit-Load": this.configTag === null ? "1" : "0" };
@@ -667,7 +667,7 @@ var N = "edit_conflict", P = 20, F = (e) => e ? `${e.project.id}|${e.person.type
667
667
  this.unreadKnown = !0, this.state.set({ unread: t.unread });
668
668
  }
669
669
  upload(e, t, n = "file", r = {}) {
670
- return import("./upload-b0nY04eW.js").then((i) => i.upload(this.api, e, t, n, r));
670
+ return import("./upload-CJ_71f0-.js").then((i) => i.upload(this.api, e, t, n, r));
671
671
  }
672
672
  connectRealtime(e) {
673
673
  let t = this.state.get().config, n = this.state.get().session, r = F(n);
@@ -1,4 +1,4 @@
1
- import { v as e } from "./client-BqcfSisZ.js";
1
+ import { v as e } from "./client-D571FlER.js";
2
2
  // src/core/dpop.ts
3
3
  var t = "commentkit", n = "keys", r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Set(), a, o = 0, s = 3e4, c = {
4
4
  name: "ECDSA",
@@ -1,5 +1,5 @@
1
1
  import { c as e, n as t, r as n } from "./privacy-BWUGlHw5.js";
2
- import { askExtension as r } from "./extension-TF7pIF_W.js";
2
+ import { askExtension as r } from "./extension-DQDpEs3f.js";
3
3
  // src/capture/extension.ts
4
4
  var i = 8e6, a = "[data-commentkit-host]", o = "#d4d4d8";
5
5
  function s(n = [], r = !1) {
@@ -1,5 +1,5 @@
1
- import { b as e } from "./client-BqcfSisZ.js";
2
- import { t } from "./pkce-B6VU0dtv.js";
1
+ import { b as e } from "./client-D571FlER.js";
2
+ import { t } from "./pkce-DoqJ0Xee.js";
3
3
  // src/core/extension.ts
4
4
  var n = "commentkit:ext-request", r = "The CommentKit extension did not answer.", i = null, a = /* @__PURE__ */ new Map();
5
5
  function o() {
@@ -1,4 +1,4 @@
1
- import { _ as e, g as t, i as n, v as r } from "./client-BqcfSisZ.js";
1
+ import { _ as e, g as t, i as n, v as r } from "./client-D571FlER.js";
2
2
  import { t as i } from "./locale-D8Q4Q2Nt.js";
3
3
  // src/core/identify.ts
4
4
  var a = "See https://commentkit.dev/docs/identify", o = {
@@ -1,6 +1,6 @@
1
- import { o as e } from "./client-BqcfSisZ.js";
1
+ import { o as e } from "./client-D571FlER.js";
2
2
  import { a as t, i as n, n as r, r as i } from "./drafts-B0ctr1g9.js";
3
- import { f as a, l as o, u as s } from "./start-Dgw3mSp8.js";
3
+ import { f as a, l as o, u as s } from "./start-B8nZq-te.js";
4
4
  // src/ui/live.ts
5
5
  var c = 1500, l = 1e4;
6
6
  function u(e, t, n, r = Math.random) {
@@ -1,4 +1,4 @@
1
- import { u as e } from "./client-BqcfSisZ.js";
1
+ import { u as e } from "./client-D571FlER.js";
2
2
  // src/core/page-key.ts
3
3
  var t = [
4
4
  "gclid",
@@ -105,7 +105,7 @@ function _() {
105
105
  }
106
106
  var v = null, y = !1;
107
107
  function b() {
108
- r(), !y && _() && (y = !0, import("./source-W_nJm3Ym.js").then((e) => v = e.readSource, () => y = !1));
108
+ r(), !y && _() && (y = !0, import("./source-McjgKuFO.js").then((e) => v = e.readSource, () => y = !1));
109
109
  }
110
110
  function x(e) {
111
111
  let t = null;
@@ -1,4 +1,4 @@
1
- import { v as e, y as t } from "./client-BqcfSisZ.js";
1
+ import { v as e, y as t } from "./client-D571FlER.js";
2
2
  // src/core/pkce.ts
3
3
  async function n(n) {
4
4
  if (!crypto.subtle) throw new e(0, "insecure_context", "Sign-in needs this page to be on https.");
@@ -1,4 +1,4 @@
1
- import { d as e, i as t, n } from "./client-BqcfSisZ.js";
1
+ import { d as e, i as t, n } from "./client-D571FlER.js";
2
2
  // src/core/report.ts
3
3
  var r = 0;
4
4
  function i(r, i) {
@@ -1,6 +1,6 @@
1
- import { a as e, i as t, n, o as r, r as i } from "./src-BFu9DgRc.js";
2
- import { i as a, l as o, v as s } from "./client-BqcfSisZ.js";
3
- import { n as c } from "./page-key-z6o1r8Uu.js";
1
+ import { a as e, i as t, n, o as r, r as i } from "./src-DwEQI1-g.js";
2
+ import { i as a, l as o, v as s } from "./client-D571FlER.js";
3
+ import { n as c } from "./page-key-DJLO6bSu.js";
4
4
  // src/core/show.ts
5
5
  var l;
6
6
  function u() {
@@ -23,8 +23,8 @@ async function m(i, a, o, s, m, v, y = () => void 0) {
23
23
  if (x && !i.auth.hasSession() && !e()) return y(), null;
24
24
  if (!a.enabled && !b && !x) return null;
25
25
  c.ignore(a.pages?.ignored_query_params);
26
- let S = n(() => import("./start-Dgw3mSp8.js").then((e) => e.t)), C = S.then((e) => e.setLocale(i.options.locale));
27
- if (S.catch(() => void 0), C.catch(() => void 0), await i.auth.completeRedirect().catch(() => !1), e() && await import("./extension-TF7pIF_W.js").then((e) => e.extensionHandoff(i.auth)).catch(() => !1), v && a.enabled && await import("./identify-CoQ4rxaI.js").then((e) => e.identify(i, v, null, !0)).catch(() => !1), await i.loadSession().catch(() => null), i.state.get().session || h(i.options.project), x && !p(i)) return y(), null;
26
+ let S = n(() => import("./start-B8nZq-te.js").then((e) => e.t)), C = S.then((e) => e.setLocale(i.options.locale));
27
+ if (S.catch(() => void 0), C.catch(() => void 0), await i.auth.completeRedirect().catch(() => !1), e() && await import("./extension-DQDpEs3f.js").then((e) => e.extensionHandoff(i.auth)).catch(() => !1), v && a.enabled && await import("./identify-DQi27FAI.js").then((e) => e.identify(i, v, null, !0)).catch(() => !1), await i.loadSession().catch(() => null), i.state.get().session || h(i.options.project), x && !p(i)) return y(), null;
28
28
  let w = await S, { installDiagnostics: T, mountWidget: E } = w;
29
29
  if (x && Object.assign(w.en, (await import("./late-words-QnNheaDY.js").then((e) => e.n)).LATE), await C, s()) return null;
30
30
  let D = T({
@@ -84,7 +84,7 @@ function v(e, t) {
84
84
  console.warn(r ? `[CommentKit] The widget could not start: ${t.message} (${t.code}). See https://commentkit.dev/docs/errors#${t.code}` : "[CommentKit] The widget could not start; your page is not affected. See https://commentkit.dev/docs/troubleshooting", t), r && e.emit("error", { error: t }), (!r || t.status >= 500) && e.reportCrash(t, "start");
85
85
  }
86
86
  function y(e, t) {
87
- import("./report-D-yxx5uK.js").then((n) => n.reportStart(e, t)).catch(() => void 0);
87
+ import("./report-BQT_YYBQ.js").then((n) => n.reportStart(e, t)).catch(() => void 0);
88
88
  }
89
89
  var b = "See https://commentkit.dev/docs/";
90
90
  function x(e, ...t) {
@@ -1,6 +1,6 @@
1
- import { b as e } from "./client-BqcfSisZ.js";
2
- import { r as t } from "./page-key-z6o1r8Uu.js";
3
- import { t as n } from "./pkce-B6VU0dtv.js";
1
+ import { b as e } from "./client-D571FlER.js";
2
+ import { r as t } from "./page-key-DJLO6bSu.js";
3
+ import { t as n } from "./pkce-DoqJ0Xee.js";
4
4
  import { t as r } from "./locale-D8Q4Q2Nt.js";
5
5
  // src/core/signin.ts
6
6
  function i(e = navigator.userAgent) {
@@ -1,4 +1,4 @@
1
- import { f as e } from "./client-BqcfSisZ.js";
1
+ import { f as e } from "./client-D571FlER.js";
2
2
  // src/anchor/source.ts
3
3
  var t = /^[A-Za-z_$][\w$.-]*$/, n = /* @__PURE__ */ new Set([
4
4
  "src",
@@ -1,4 +1,4 @@
1
- import { a as e, d as t, i as n, p as r, s as i, t as a } from "./client-BqcfSisZ.js";
1
+ import { a as e, d as t, i as n, p as r, s as i, t as a } from "./client-D571FlER.js";
2
2
  // src/activation.ts
3
3
  var o = "commentkit:active", s = "data-commentkit-extension";
4
4
  function c() {
@@ -62,7 +62,7 @@ function S(e, t, ...n) {
62
62
  b[e] || (b[e] = 1, console.warn(`[CommentKit] ${t}`, ...n));
63
63
  }
64
64
  function C(e, ...t) {
65
- b[e] || (b[e] = 1, import("./show-C3bJFyaD.js").then((n) => n.explain(e, ...t)).catch(E));
65
+ b[e] || (b[e] = 1, import("./show-C0biDb3b.js").then((n) => n.explain(e, ...t)).catch(E));
66
66
  }
67
67
  function w() {
68
68
  let e = (e) => typeof e == "string" && e.trim() ? e.trim().slice(0, 255) : null;
@@ -90,7 +90,7 @@ function T(e) {
90
90
  let i = j(e);
91
91
  return typeof i == "string" ? N(e, i) : (_ = i, A(i));
92
92
  } catch (t) {
93
- return console.warn("[CommentKit] The widget could not start because of an error inside CommentKit; your page is not affected. See https://commentkit.dev/docs/troubleshooting", t), import("./show-C3bJFyaD.js").then((n) => n.reportStart(e, t)).catch(E), N(e);
93
+ return console.warn("[CommentKit] The widget could not start because of an error inside CommentKit; your page is not affected. See https://commentkit.dev/docs/troubleshooting", t), import("./show-C0biDb3b.js").then((n) => n.reportStart(e, t)).catch(E), N(e);
94
94
  }
95
95
  }
96
96
  var E = () => void 0;
@@ -128,8 +128,8 @@ function j(e) {
128
128
  let I = A.auth.takeSignInLink(v) || !!(A.auth.finishLink = y);
129
129
  v = y = null;
130
130
  let L = 0, R, z = (e) => (e === !0 && (P = !0), P && j?.attach?.(), N || j ? Promise.resolve() : (M ?? (M = (async (e) => {
131
- let t = () => e !== L, n = g(() => import("./show-C3bJFyaD.js"));
132
- n.catch(E), A.entrance && (import("./start-Dgw3mSp8.js").then((e) => e.t).catch(E), import("./entrance-D7kmBxF3.js").catch(E));
131
+ let t = () => e !== L, n = g(() => import("./show-C0biDb3b.js"));
132
+ n.catch(E), A.entrance && (import("./start-B8nZq-te.js").then((e) => e.t).catch(E), import("./entrance-D7kmBxF3.js").catch(E));
133
133
  try {
134
134
  let e = await A.loadConfig();
135
135
  if (t()) return;
@@ -151,7 +151,7 @@ function j(e) {
151
151
  O("shortcut")(e);
152
152
  }
153
153
  });
154
- c() && import("./extension-TF7pIF_W.js").then((e) => e.extensionHello()).catch(() => void 0);
154
+ c() && import("./extension-DQDpEs3f.js").then((e) => e.extensionHello()).catch(() => void 0);
155
155
  let H = I || F || u(T.project, T.hideOnProduction ?? !0) || !!b;
156
156
  H && !I && !F && h() >= 3 && (H = !1, C("cooling")), H && !A.auth.hasSession() && A.prefetchSignIn();
157
157
  let U = H ? z().then(() => !!j) : Promise.resolve(!1), W = {
@@ -167,7 +167,7 @@ function j(e) {
167
167
  } });
168
168
  }),
169
169
  signIn: async () => await A.signIn() === "signed_in",
170
- identify: (e) => import("./identify-CoQ4rxaI.js").then((t) => t.identify(A, e, z)).catch(() => !1),
170
+ identify: (e) => import("./identify-DQi27FAI.js").then((t) => t.identify(A, e, z)).catch(() => !1),
171
171
  signOut: k("signOut", () => A.signOut()),
172
172
  session: () => i(A.state.get().session)
173
173
  };
@@ -219,7 +219,7 @@ function N(t, n) {
219
219
  destroy: E,
220
220
  ...n ? { _r() {
221
221
  let e = n && /* @__PURE__ */ Error(`init() stayed off: ${n}`);
222
- n = void 0, e && import("./show-C3bJFyaD.js").then((n) => n.reportStart(t, e)).catch(E);
222
+ n = void 0, e && import("./show-C0biDb3b.js").then((n) => n.reportStart(t, e)).catch(E);
223
223
  } } : {}
224
224
  };
225
225
  }
@@ -1,6 +1,6 @@
1
1
  import { n as e } from "./rolldown-runtime-QGRDbDUS.js";
2
- import { n as t } from "./src-BFu9DgRc.js";
3
- import { o as n, v as r } from "./client-BqcfSisZ.js";
2
+ import { n as t } from "./src-DwEQI1-g.js";
3
+ import { o as n, v as r } from "./client-D571FlER.js";
4
4
  import { i, o as a, t as o } from "./anchor-BsQNVkHj.js";
5
5
  import { _ as s, a as c, b as l, c as u, d, f, g as p, h as m, l as h, m as g, n as _, o as v, r as y, s as b, u as x, v as S, x as C, y as w } from "./i18n-CDw_D17c.js";
6
6
  import { a as T, i as E, n as D, r as O } from "./drafts-B0ctr1g9.js";
@@ -11,7 +11,7 @@ function ee(e) {
11
11
  if (z || !(e.console || e.network)) return () => void 0;
12
12
  z = !0, B = `${new URL(e.endpoint ?? "https://commentkit.dev").origin}/api/v1/`;
13
13
  let t, n = !1;
14
- return import("./wrap-BuWw3zAq.js").then((r) => n || (t = r.wrap(e)), () => void 0), () => {
14
+ return import("./wrap-B9jekR6h.js").then((r) => n || (t = r.wrap(e)), () => void 0), () => {
15
15
  n = !0, t?.(), te(), z = !1;
16
16
  };
17
17
  }
@@ -477,7 +477,7 @@ function it({ position: e, project: t, onContinue: n, onDismiss: r }) {
477
477
  }
478
478
  // src/ui/chunks.ts
479
479
  function at(e, n, r, i, a, o) {
480
- let s = Q(a, () => t(() => import("./Settings-BM7pWbwd.js")).then((e) => e.Settings), o), c = Q(i, () => t(() => import("./Shortcuts-CFDTnP5H.js")).then((e) => e.Shortcuts), o), l = Q(r.name === "commenting" || r.name === "composing", () => t(() => import("./Composer-Dj0YAYOR.js")).then((t) => (e.state.get().config?.features.screenshots !== !1 && t.warmCapture(), t.Composer)), o), u = Q(r.name === "verify", () => t(() => import("./Guest-bAxvxjbL.js")).then((e) => e.GuestVerify), o), d = Q(r.name === "panel", () => t(() => import("./Panel-C3_NURrp.js")).then((e) => e.Panel), o), p = Q(r.name === "thread" || r.name === "panel" ? r.threadId : null, () => t(() => import("./ThreadCard-CwClbMNh.js")).then((e) => e.ThreadCard), o), m = () => [[...e.state.get().config?.privacy?.redact_selectors ?? [], ...e.options.redact ?? []], Ve(e.state.get().config, e.options.privacy)], h = Q(!0, () => Promise.all([t(() => import("./context-BuMl7A07.js").then((e) => e.t)), t(() => import("./pick-Bai3lMZX.js"))]).then(([e, t]) => (e.install(), e.configurePrivacy(...m()), {
480
+ let s = Q(a, () => t(() => import("./Settings-CAv8hp89.js")).then((e) => e.Settings), o), c = Q(i, () => t(() => import("./Shortcuts-CFDTnP5H.js")).then((e) => e.Shortcuts), o), l = Q(r.name === "commenting" || r.name === "composing", () => t(() => import("./Composer-D1ubijPl.js")).then((t) => (e.state.get().config?.features.screenshots !== !1 && t.warmCapture(), t.Composer)), o), u = Q(r.name === "verify", () => t(() => import("./Guest-Dt0QYw0v.js")).then((e) => e.GuestVerify), o), d = Q(r.name === "panel", () => t(() => import("./Panel-BDt2-Db1.js")).then((e) => e.Panel), o), p = Q(r.name === "thread" || r.name === "panel" ? r.threadId : null, () => t(() => import("./ThreadCard-DWOvH-6X.js")).then((e) => e.ThreadCard), o), m = () => [[...e.state.get().config?.privacy?.redact_selectors ?? [], ...e.options.redact ?? []], Ve(e.state.get().config, e.options.privacy)], h = Q(!0, () => Promise.all([t(() => import("./context-BuMl7A07.js").then((e) => e.t)), t(() => import("./pick-DxkzYQsl.js"))]).then(([e, t]) => (e.install(), e.configurePrivacy(...m()), {
481
481
  configurePrivacy: e.configurePrivacy,
482
482
  picker: t
483
483
  })), o);
@@ -795,7 +795,7 @@ function gt({ onCancel: e, onPick: t, quote: n = !0, move: r = !1, picker: c = n
795
795
  });
796
796
  }
797
797
  };
798
- return c ? r(c) : import("./pick-Bai3lMZX.js").then(r, () => {}), () => void (e = !1);
798
+ return c ? r(c) : import("./pick-DxkzYQsl.js").then(r, () => {}), () => void (e = !1);
799
799
  }, []);
800
800
  let y = (e) => o({
801
801
  ...e,
@@ -1349,7 +1349,7 @@ function kt(e, t, { view: n, open: r, go: i, openThread: a, notify: o, reportErr
1349
1349
  if (t) {
1350
1350
  e.inbox().catch(() => void 0);
1351
1351
  let t = e.state.get().config, n = () => h((e) => e + 1);
1352
- import("./live-HKWO5Tsg.js").then((r) => {
1352
+ import("./live-KT4Lz5KA.js").then((r) => {
1353
1353
  if (s) return;
1354
1354
  o = r.catchUp(e, n);
1355
1355
  let a = r.comeBack();
@@ -1381,7 +1381,7 @@ function kt(e, t, { view: n, open: r, go: i, openThread: a, notify: o, reportErr
1381
1381
  draft: null
1382
1382
  });
1383
1383
  }, []), d(() => {
1384
- l && t && (e.state.set({ opening: null }), import("./live-HKWO5Tsg.js").then((t) => t.openReference(e, l, a, yt, () => o({
1384
+ l && t && (e.state.set({ opening: null }), import("./live-KT4Lz5KA.js").then((t) => t.openReference(e, l, a, yt, () => o({
1385
1385
  text: u("threadNotFound"),
1386
1386
  tone: "error"
1387
1387
  }), c), c));
@@ -1405,7 +1405,7 @@ function Mt(e, t, n, r) {
1405
1405
  }, a = g(n);
1406
1406
  return d(() => {
1407
1407
  let t = a.current;
1408
- a.current = n, t && !n && import("./live-HKWO5Tsg.js").then((n) => n.forgetPerson(e.options.project, t)).catch(() => void 0);
1408
+ a.current = n, t && !n && import("./live-KT4Lz5KA.js").then((n) => n.forgetPerson(e.options.project, t)).catch(() => void 0);
1409
1409
  }, [n]), {
1410
1410
  signIn: i,
1411
1411
  signOut: () => void e.signOut()
@@ -1567,9 +1567,9 @@ function Vt({ client: e, onHide: n }) {
1567
1567
  text: Fe(t),
1568
1568
  tone: "error"
1569
1569
  });
1570
- }, [v]), { Settings: M, Shortcuts: N, Composer: P, GuestVerify: F, Panel: I, ThreadCard: L, anchors: R } = at(e, c, y, E, k, j), z = Q(e.auth.finishLink, () => t(() => import("./Guest-bAxvxjbL.js")).then((e) => e.GuestFinish), j), [B] = s(Ge), [ee, V] = s(() => !!B && !O(zt)), [te, ne] = s(() => e.auth.hasSignInLink()), [re, H] = s(null), [, ie] = s(0);
1570
+ }, [v]), { Settings: M, Shortcuts: N, Composer: P, GuestVerify: F, Panel: I, ThreadCard: L, anchors: R } = at(e, c, y, E, k, j), z = Q(e.auth.finishLink, () => t(() => import("./Guest-Dt0QYw0v.js")).then((e) => e.GuestFinish), j), [B] = s(Ge), [ee, V] = s(() => !!B && !O(zt)), [te, ne] = s(() => e.auth.hasSignInLink()), [re, H] = s(null), [, ie] = s(0);
1571
1571
  d(() => tt(() => ie((e) => e + 1)), []), d(() => () => $(), []);
1572
- let U = $e(e), W = U && m?.capabilities.triage && !Me() ? () => D(!0) : null, ae = c?.read_only ?? !1, oe = u(m && m.role !== "guest" ? "readOnly" : "readOnlyGuest"), se = !m && y.name === "idle" ? e.auth.pending() : null, [G, K] = s(!1), ce = Q(G, () => t(() => import("./SignInFirst-CeiPhLx0.js")).then((e) => e.SignInFirst), j), q = () => {
1572
+ let U = $e(e), W = U && m?.capabilities.triage && !Me() ? () => D(!0) : null, ae = c?.read_only ?? !1, oe = u(m && m.role !== "guest" ? "readOnly" : "readOnlyGuest"), se = !m && y.name === "idle" ? e.auth.pending() : null, [G, K] = s(!1), ce = Q(G, () => t(() => import("./SignInFirst-DDAq5Jg8.js")).then((e) => e.SignInFirst), j), q = () => {
1573
1573
  if (ae) return v({
1574
1574
  text: oe,
1575
1575
  tone: "error"
@@ -1,4 +1,4 @@
1
- import { v as e } from "./client-BqcfSisZ.js";
1
+ import { v as e } from "./client-D571FlER.js";
2
2
  // src/core/upload.ts
3
3
  var t = 3e4;
4
4
  async function n(e, t, n, o, s) {