@commentkit/comment-kit 2.0.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/CHANGELOG.md +57 -0
  2. package/README.md +123 -19
  3. package/SECURITY.md +2 -2
  4. package/dist/node/cli/api.js +61 -15
  5. package/dist/node/cli/credentials.js +8 -0
  6. package/dist/node/cli/doctor.js +152 -25
  7. package/dist/node/cli/init.js +349 -35
  8. package/dist/node/cli/main.js +310 -69
  9. package/dist/node/cli/mcp.js +187 -6
  10. package/dist/node/cli/website.js +140 -0
  11. package/dist/node/shared/dashboard-places.js +33 -0
  12. package/dist/node/types/next.d.ts +4 -4
  13. package/dist/npm/THIRD_PARTY_NOTICES.txt +47 -0
  14. package/dist/npm/chunks/{AgentSend-DxRJIYiz.js → AgentSend-pA7Ufvye.js} +16 -16
  15. package/dist/npm/chunks/Checklist-Cn9skOYK.js +269 -0
  16. package/dist/npm/chunks/Composer-D7H-pzGa.js +734 -0
  17. package/dist/npm/chunks/DatePicker-Nta5a1xD.js +161 -0
  18. package/dist/npm/chunks/{Guest-vvNPz8h-.js → Guest-Bi7hlzhs.js} +63 -59
  19. package/dist/npm/chunks/{MarkupEditor-VCOXh9d2.js → MarkupEditor-WU3USeTk.js} +46 -39
  20. package/dist/npm/chunks/Panel-DhAzbUbC.js +1210 -0
  21. package/dist/npm/chunks/{Settings-BGoZS2iV.js → Settings-BmKqPX40.js} +91 -90
  22. package/dist/npm/chunks/{Shortcuts-B2OMvczr.js → Shortcuts-Bl-c0Sez.js} +25 -23
  23. package/dist/npm/chunks/SignInFirst-CmGvSYkQ.js +35 -0
  24. package/dist/npm/chunks/{StyleEditor-CJ_d8Huf.js → StyleEditor-D6fUnlwq.js} +10 -10
  25. package/dist/npm/chunks/{StylePanel-yQzHHlY7.js → StylePanel-C-Gikxt1.js} +61 -61
  26. package/dist/npm/chunks/TaskFields-CaKi523b.js +617 -0
  27. package/dist/npm/chunks/ThreadCard-d_3pUB5V.js +1142 -0
  28. package/dist/npm/chunks/Viewer-BULQsi9-.js +115 -0
  29. package/dist/npm/chunks/{agent-C1OQzBAm.js → agent-DHdhIJ3s.js} +1 -1
  30. package/dist/npm/chunks/{ar-CAJ3XT8e.js → ar-B5UszrQp.js} +53 -12
  31. package/dist/npm/chunks/card-bits-cV8GdFWX.js +55 -0
  32. package/dist/npm/chunks/{client-kNAo2TTG.js → client-Cv8ddtuM.js} +13 -11
  33. package/dist/npm/chunks/{confetti-CkBdSu19.js → confetti-B9zlyILU.js} +1 -1
  34. package/dist/npm/chunks/{context-B8UAzve0.js → context-CsHnabaA.js} +1 -1
  35. package/dist/npm/chunks/{de-Dl18G48t.js → de-BE0Aaq8u.js} +53 -12
  36. package/dist/npm/chunks/{dialog-GO04oC3D.js → dialog-DvdIkCW0.js} +1 -1
  37. package/dist/npm/chunks/{dpop-U48QIQd7.js → dpop-CwW9ifkq.js} +1 -1
  38. package/dist/npm/chunks/entrance-Bn_5M9uO.js +90 -0
  39. package/dist/npm/chunks/{es-Dxk79lS9.js → es-BQviao4d.js} +53 -12
  40. package/dist/npm/chunks/{extension-E81hWyiT.js → extension-CnQTDC1j.js} +2 -2
  41. package/dist/npm/chunks/{extension-CKFpPWmi.js → extension-DXhz81XD.js} +1 -1
  42. package/dist/npm/chunks/{files-DyD5BZgp.js → files-DLEr_wmh.js} +2 -2
  43. package/dist/npm/chunks/{fr-8BebGKYD.js → fr-C5gu6A06.js} +53 -12
  44. package/dist/npm/chunks/{hi-BIN6Yy_p.js → hi-DXfQ5EvY.js} +53 -12
  45. package/dist/npm/chunks/{i18n-DOBt8e9U.js → i18n-Mgs9VOuk.js} +63 -58
  46. package/dist/npm/chunks/icons-_C6ZWmBY.js +141 -0
  47. package/dist/npm/chunks/{identify-CN-3xzqL.js → identify-BnQGJOa0.js} +4 -4
  48. package/dist/npm/chunks/{it-Cr6EwpPQ.js → it-BPHt13FV.js} +53 -12
  49. package/dist/npm/chunks/{ja-Iy3s5aur.js → ja-BkCqyKR0.js} +52 -11
  50. package/dist/npm/chunks/late-words-D4Oo_yhJ.js +57 -0
  51. package/dist/npm/chunks/{live-CelVeZfP.js → live-DXcxj_Af.js} +28 -22
  52. package/dist/npm/chunks/{nl-B84WHqqe.js → nl-DZxdLLMU.js} +53 -12
  53. package/dist/npm/chunks/{page-key-DepmJzC1.js → page-key-UqAozdZi.js} +1 -1
  54. package/dist/npm/chunks/{pick-yTyqtxN0.js → pick-C20RVUas.js} +1 -1
  55. package/dist/npm/chunks/{pkce-ChKGSW_4.js → pkce-BPvWoBrr.js} +1 -1
  56. package/dist/npm/chunks/{pt-BR-DOkdlfoe.js → pt-BR-lA9mJ05F.js} +53 -12
  57. package/dist/npm/chunks/{report-CrIqQZDI.js → report-BjUgUNnT.js} +1 -1
  58. package/dist/npm/chunks/show-BinoJyED.js +97 -0
  59. package/dist/npm/chunks/signin-C2jjsxz9.js +101 -0
  60. package/dist/npm/chunks/{source-pXVve2Cx.js → source-NuflODx3.js} +1 -1
  61. package/dist/npm/chunks/src-9o2Ocq8d.js +221 -0
  62. package/dist/npm/chunks/start-Cbx6rMrr.js +1904 -0
  63. package/dist/npm/chunks/states-DLMCvwes.js +3 -0
  64. package/dist/npm/chunks/{upload-MgPYqPyE.js → upload-C4NpM-jE.js} +1 -1
  65. package/dist/npm/chunks/uploads-CY4bDbaI.js +1236 -0
  66. package/dist/npm/chunks/{wrap-Bl0gbnFa.js → wrap-D-xTKIzj.js} +20 -20
  67. package/dist/npm/chunks/{zh-CN-Z5fQCb7G.js → zh-CN-yqaDHwBx.js} +53 -12
  68. package/dist/npm/element.js +7 -1
  69. package/dist/npm/headless.js +2 -2
  70. package/dist/npm/index.js +2 -2
  71. package/dist/npm/react.js +1 -1
  72. package/dist/npm/svelte.js +1 -1
  73. package/dist/npm/types/adapters/vue.d.ts +12 -0
  74. package/dist/npm/types/core/auth.d.ts +1 -0
  75. package/dist/npm/types/core/client.d.ts +5 -1
  76. package/dist/npm/types/core/types.d.ts +19 -4
  77. package/dist/npm/vue.js +5 -1
  78. package/package.json +4 -1
  79. package/dist/npm/chunks/Checklist-CnlfeSbc.js +0 -282
  80. package/dist/npm/chunks/Composer-B1bBVszY.js +0 -725
  81. package/dist/npm/chunks/Panel-F37vIL1K.js +0 -1206
  82. package/dist/npm/chunks/TaskFields-fmy6_HtK.js +0 -289
  83. package/dist/npm/chunks/ThreadCard-D51slKST.js +0 -1113
  84. package/dist/npm/chunks/Viewer-BOBadqmC.js +0 -111
  85. package/dist/npm/chunks/card-bits-CAnzrqx3.js +0 -53
  86. package/dist/npm/chunks/late-words-B2bmZceJ.js +0 -12
  87. package/dist/npm/chunks/show-BgVC8gWY.js +0 -97
  88. package/dist/npm/chunks/signin-Dd1rb2BP.js +0 -75
  89. package/dist/npm/chunks/src-BTMy4Gyc.js +0 -208
  90. package/dist/npm/chunks/start-DtVlpt7p.js +0 -1878
  91. package/dist/npm/chunks/states-sfTbjZz8.js +0 -3
  92. package/dist/npm/chunks/uploads-D49mywwz.js +0 -1146
@@ -267,11 +267,11 @@ function W(e, t) {
267
267
  return e >= n.__.length && n.__.push({}), n.__[e];
268
268
  }
269
269
  function fe(e) {
270
- return V = 1, pe(Se, e);
270
+ return V = 1, pe(Ce, e);
271
271
  }
272
272
  function pe(e, t, n) {
273
273
  var r = W(L++, 2);
274
- if (r.t = e, !r.__c && (r.__ = [n ? n(t) : Se(void 0, t), function(e) {
274
+ if (r.t = e, !r.__c && (r.__ = [n ? n(t) : Ce(void 0, t), function(e) {
275
275
  var t = r.__N ? r.__N[0] : r.__[0], n = r.t(t, e);
276
276
  B(t, n) || (r.__N = [n, r.__[1]], r.__c.setState({}));
277
277
  }], r.__c = R, !R.__f)) {
@@ -315,6 +315,15 @@ function _e(e, t) {
315
315
  }, t);
316
316
  }
317
317
  function ve() {
318
+ var e = W(L++, 11);
319
+ if (!e.__) {
320
+ for (var t = R.__v; !t.__m && t.__;) t = t.__;
321
+ var n = t.__m || (t.__m = [0, 0]);
322
+ e.__ = "P" + n[0] + "-" + n[1]++;
323
+ }
324
+ return e.__;
325
+ }
326
+ function ye() {
318
327
  var e;
319
328
  do {
320
329
  for (; e = H.shift();) try {
@@ -345,7 +354,7 @@ U.__b = function(e) {
345
354
  }, U.diffed = function(e) {
346
355
  ce && ce(e);
347
356
  var t = e.__c;
348
- t && t.__H && (t.__H.__h.length && xe(ae.push(t)), t.__H.__.some(function(e) {
357
+ t && t.__H && (t.__H.__h.length && Se(ae.push(t)), t.__H.__.some(function(e) {
349
358
  e.u && (e.__H = e.u);
350
359
  })), z = R = null;
351
360
  }, U.__c = function(e, t) {
@@ -370,22 +379,22 @@ U.__b = function(e) {
370
379
  for (n = e.__; n && (!n.__c || !n.__c.__P);) n = n.__;
371
380
  n = n && n.__c;
372
381
  }
373
- r.__P = n, xe(H.push(r));
382
+ r.__P = n, Se(H.push(r));
374
383
  } else K(r);
375
384
  } catch (e) {
376
385
  t = e;
377
386
  }
378
387
  }), r.__H = void 0, t && U.__e(t, r.__v));
379
388
  };
380
- var ye = typeof requestAnimationFrame == "function";
381
- function be(e) {
389
+ var be = typeof requestAnimationFrame == "function";
390
+ function xe(e) {
382
391
  var t, n = function() {
383
- clearTimeout(r), ye && cancelAnimationFrame(t), setTimeout(e);
392
+ clearTimeout(r), be && cancelAnimationFrame(t), setTimeout(e);
384
393
  }, r = setTimeout(n, 35);
385
- ye && (t = requestAnimationFrame(n));
394
+ be && (t = requestAnimationFrame(n));
386
395
  }
387
- function xe(e) {
388
- e != 1 && ie == U.requestAnimationFrame || ((ie = U.requestAnimationFrame) || be)(ve);
396
+ function Se(e) {
397
+ e != 1 && ie == U.requestAnimationFrame || ((ie = U.requestAnimationFrame) || xe)(ye);
389
398
  }
390
399
  function K(e) {
391
400
  var t = R, n = e.__c;
@@ -400,13 +409,13 @@ function J(e, t) {
400
409
  return !B(t, e[n]);
401
410
  });
402
411
  }
403
- function Se(e, t) {
412
+ function Ce(e, t) {
404
413
  return typeof t == "function" ? t(e) : t;
405
414
  }
406
415
  // node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs
407
- var Ce = Symbol.for("pv"), we = 0;
416
+ var we = Symbol.for("pv"), Te = 0;
408
417
  Array.isArray;
409
- function Te(t, n, r, i, a, o) {
418
+ function Ee(t, n, r, i, a, o) {
410
419
  n || (n = {});
411
420
  var s, c, l = n;
412
421
  if ("ref" in l && typeof t != "function") for (c in l = {}, n) c == "ref" ? s = n[c] : l[c] = n[c];
@@ -420,8 +429,8 @@ function Te(t, n, r, i, a, o) {
420
429
  __b: 0,
421
430
  __e: null,
422
431
  __c: null,
423
- constructor: Ce,
424
- __v: --we,
432
+ constructor: we,
433
+ __v: --Te,
425
434
  __i: -1,
426
435
  __u: 0
427
436
  };
@@ -443,7 +452,7 @@ var Y = {
443
452
  modeBarTouch: "Tap anything to comment · Scroll as usual · Select text first to quote it",
444
453
  commentOnPage: "Comment on the whole page",
445
454
  commentFocused: "Comment on the selected part",
446
- attach: "Attach a file",
455
+ attach: "Attach files",
447
456
  screenshot: "Screenshot",
448
457
  screenshotIncluded: "A screenshot of what you see is included automatically.",
449
458
  screenshotRemove: "Remove screenshot",
@@ -465,8 +474,6 @@ var Y = {
465
474
  capturing: "Taking screenshot…",
466
475
  capturingFailed: "No screenshot of this page, but your comment still marks the spot.",
467
476
  uploadFailed: "The file could not be attached. You can still send your comment.",
468
- signInToSend: "One last step: tell us who you are",
469
- signInExplain: "We open a small window so you can confirm your email. You only do this once on this device.",
470
477
  signIn: "Continue",
471
478
  signInMember: "Sign in",
472
479
  signOut: "Sign out",
@@ -504,9 +511,6 @@ var Y = {
504
511
  resolvedToast: "Resolved {ref}.",
505
512
  undoTooLate: "It’s too late to undo this. Reopen {ref} if it still needs work.",
506
513
  reopen: "Reopen",
507
- markInProgress: "Start working",
508
- markInReview: "Mark ready for review",
509
- closeThread: "Close without fixing",
510
514
  reviewAsk: "The team thinks this is fixed. Does it look right to you?",
511
515
  looksGood: "Looks good — resolve",
512
516
  notYet: "Not yet — reply",
@@ -554,7 +558,11 @@ var Y = {
554
558
  readOnlyReply: "You can read this conversation, but replies are turned off right now.",
555
559
  noReplyAccess: "You can read this conversation, but you don’t have permission to reply.",
556
560
  notOnPage: "Not found on this page",
557
- more: "More",
561
+ moreFeedback: "More feedback options",
562
+ messagesRegion: "CommentKit messages",
563
+ dismissMessage: "Dismiss message",
564
+ shownAnnounce: "CommentKit is on. Press C to comment.",
565
+ shownAnnounceNoKeys: "CommentKit is on.",
558
566
  allStatuses: "All",
559
567
  statusFilter: "Status",
560
568
  markAllRead: "Mark all as read",
@@ -653,7 +661,6 @@ var Y = {
653
661
  sentWithoutFiles: "Sent, but some files couldn’t be attached. You can add them in a reply.",
654
662
  replyFailed: "Your reply wasn’t sent yet. It’s still here, so you can try again.",
655
663
  taskDetails: "Task details",
656
- taskDetailsSet: "Task details added",
657
664
  priority: "Priority",
658
665
  priority_none: "No priority",
659
666
  priority_low: "Low",
@@ -661,7 +668,6 @@ var Y = {
661
668
  priority_high: "High",
662
669
  priority_urgent: "Urgent",
663
670
  dueDate: "Due date",
664
- dueOn: "Due {date}",
665
671
  labels: "Labels",
666
672
  noLabels: "No labels",
667
673
  mentionList: "People you can mention",
@@ -679,7 +685,7 @@ var Y = {
679
685
  detailPage: "Page",
680
686
  detailBrowser: "Browser",
681
687
  detailWindow: "Window",
682
- details: "Info",
688
+ details: "Details",
683
689
  quotedText: "Selected text",
684
690
  replyTo: "Reply to {name}",
685
691
  quoteReply: "Reply with a quote",
@@ -713,7 +719,6 @@ var Y = {
713
719
  sortPriority: "Highest priority",
714
720
  pinMoved: "{ref} moved here.",
715
721
  pinMovable: "pin, drag to move",
716
- assign: "Assign",
717
722
  modeBarNoText: "Click to comment · Drag to mark an area · Esc to stop",
718
723
  modeBarTouchNoText: "Tap anything to comment · Scroll as usual",
719
724
  verifyResendIn: "New code in {n}s",
@@ -826,7 +831,7 @@ var Y = {
826
831
  signOffOpen: "{n} comments on this page are still open. You can approve it anyway.",
827
832
  signOffOpen_one: "{n} comment on this page is still open. You can approve it anyway.",
828
833
  signOffWithdraw: "Withdraw approval"
829
- }, Ee = [
834
+ }, De = [
830
835
  "en",
831
836
  "es",
832
837
  "fr",
@@ -838,77 +843,77 @@ var Y = {
838
843
  "zh-CN",
839
844
  "hi",
840
845
  "ar"
841
- ], De = {
842
- es: () => import("./es-Dxk79lS9.js"),
843
- fr: () => import("./fr-8BebGKYD.js"),
844
- de: () => import("./de-Dl18G48t.js"),
845
- "pt-BR": () => import("./pt-BR-DOkdlfoe.js"),
846
- it: () => import("./it-Cr6EwpPQ.js"),
847
- nl: () => import("./nl-B84WHqqe.js"),
848
- ja: () => import("./ja-Iy3s5aur.js"),
849
- "zh-CN": () => import("./zh-CN-Z5fQCb7G.js"),
850
- hi: () => import("./hi-BIN6Yy_p.js"),
851
- ar: () => import("./ar-CAJ3XT8e.js")
846
+ ], Oe = {
847
+ es: () => import("./es-BQviao4d.js"),
848
+ fr: () => import("./fr-C5gu6A06.js"),
849
+ de: () => import("./de-BE0Aaq8u.js"),
850
+ "pt-BR": () => import("./pt-BR-lA9mJ05F.js"),
851
+ it: () => import("./it-BPHt13FV.js"),
852
+ nl: () => import("./nl-DZxdLLMU.js"),
853
+ ja: () => import("./ja-BkCqyKR0.js"),
854
+ "zh-CN": () => import("./zh-CN-yqaDHwBx.js"),
855
+ hi: () => import("./hi-DXfQ5EvY.js"),
856
+ ar: () => import("./ar-B5UszrQp.js")
852
857
  }, X = /^(ar|he|iw|fa|ur|ps|yi|ckb|sd|ug|dv)(-|$)/i, Z = "en", Q = Y, $ = Promise.resolve();
853
- function Oe(e) {
858
+ function ke(e) {
854
859
  let t = (e ?? "").trim().replace(/_/g, "-").toLowerCase();
855
860
  if (!/^[a-z]{2,3}(-[a-z0-9]{1,8})*$/.test(t)) return null;
856
- let n = Ee.find((e) => e.toLowerCase() === t);
861
+ let n = De.find((e) => e.toLowerCase() === t);
857
862
  if (n) return n;
858
863
  let r = t.split("-")[0];
859
- return Ee.find((e) => e.toLowerCase().split("-")[0] === r) ?? null;
864
+ return De.find((e) => e.toLowerCase().split("-")[0] === r) ?? null;
860
865
  }
861
- function ke(e) {
866
+ function Ae(e) {
862
867
  let t = [e];
863
868
  typeof document < "u" && t.push(document.documentElement.lang), typeof navigator < "u" && t.push(...navigator.languages ?? [], navigator.language);
864
869
  for (let e of t) {
865
- let t = Oe(e);
870
+ let t = ke(e);
866
871
  if (t) return t;
867
872
  }
868
873
  return "en";
869
874
  }
870
- function Ae(e) {
871
- let t = ke(e);
872
- return Z = t, t === "en" ? (Q = Y, $ = Promise.resolve(), $) : ($ = De[t]().then((e) => {
875
+ function je(e) {
876
+ let t = Ae(e);
877
+ return Z = t, t === "en" ? (Q = Y, $ = Promise.resolve(), $) : ($ = Oe[t]().then((e) => {
873
878
  Z === t && (Q = e.default);
874
879
  }, () => {
875
880
  Z === t && (Z = "en", Q = Y);
876
881
  }), $);
877
882
  }
878
- function je() {
883
+ function Me() {
879
884
  return Z;
880
885
  }
881
- function Me(e, t) {
886
+ function Ne(e, t) {
882
887
  let n = X.test(Z);
883
888
  return e.replace(/\{(\w+)\}/g, (e, r) => {
884
889
  let i = String(t[r] ?? "");
885
890
  return n && i ? `\u2068${i}\u2069` : i;
886
891
  });
887
892
  }
888
- function Ne(e, t = {}) {
889
- return Me(Q[e] ?? Y[e], t);
893
+ function Pe(e, t = {}) {
894
+ return Ne(Q[e] ?? Y[e], t);
890
895
  }
891
- function Pe(e, t) {
896
+ function Fe(e, t) {
892
897
  let [n = "", r = ""] = (Q[e] ?? Y[e]).split(`{${t}}`);
893
898
  return [n, r];
894
899
  }
895
- function Fe(e, t, n = {}) {
900
+ function Ie(e, t, n = {}) {
896
901
  let r = "other", i = String(t);
897
902
  try {
898
903
  r = new Intl.PluralRules(Z).select(t), i = new Intl.NumberFormat(Z).format(t);
899
904
  } catch {}
900
905
  let a = Y;
901
- return Me(Q[`${e}_${r}`] ?? Q[e] ?? a[`${e}_${r}`] ?? Y[e], {
906
+ return Ne(Q[`${e}_${r}`] ?? Q[e] ?? a[`${e}_${r}`] ?? Y[e], {
902
907
  ...n,
903
908
  n: i
904
909
  });
905
910
  }
906
- function Ie() {
911
+ function Le() {
907
912
  if (X.test(Z)) return "rtl";
908
913
  let e = document.documentElement.dir || document.body?.dir;
909
914
  return e === "rtl" || e === "ltr" ? e : X.test(document.documentElement.lang || "") ? "rtl" : "ltr";
910
915
  }
911
- function Le(e) {
916
+ function Re(e) {
912
917
  let t = e ? new Date(e).getTime() : NaN;
913
918
  if (!Number.isFinite(t)) return "";
914
919
  try {
@@ -920,11 +925,11 @@ function Le(e) {
920
925
  return new Date(t).toLocaleString();
921
926
  }
922
927
  }
923
- function Re(e, t = Date.now()) {
928
+ function ze(e, t = Date.now()) {
924
929
  let n = new Date(e).getTime();
925
930
  if (!Number.isFinite(n)) return "";
926
931
  let r = Math.max(0, (t - n) / 1e3);
927
- if (r < 60) return Ne("justNow");
932
+ if (r < 60) return Pe("justNow");
928
933
  if (r >= 2592e3) return new Date(n).toLocaleDateString(Z);
929
934
  let [i, a] = r < 3600 ? ["minute", 60] : r < 86400 ? ["hour", 3600] : ["day", 86400], o = Math.floor(r / a);
930
935
  try {
@@ -933,4 +938,4 @@ function Re(e, t = Date.now()) {
933
938
  return `${o} ${i}`;
934
939
  }
935
940
  }
936
- export { G as _, Fe as a, b, Ne as c, me as d, he as f, fe as g, _e as h, Le as i, Ie as l, pe as m, je as n, Re as o, ge as p, Y as r, Ae as s, Pe as t, Te as u, I as v, y };
941
+ export { fe as _, Ie as a, y as b, Pe as c, me as d, he as f, _e as g, pe as h, Re as i, Le as l, ge as m, Me as n, ze as o, ve as p, Y as r, je as s, Fe as t, Ee as u, G as v, b as x, I as y };
@@ -0,0 +1,141 @@
1
+ import { u as e } from "./i18n-Mgs9VOuk.js";
2
+ // src/ui/icon-paths.ts
3
+ var t = {
4
+ paperclip: "M16 6l-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551",
5
+ minus: "M5 12h14",
6
+ signalLow: "M2 20h.01M7 20v-4",
7
+ signalMedium: "M2 20h.01M7 20v-4M12 20v-8",
8
+ signalHigh: "M2 20h.01M7 20v-4M12 20v-8M17 20V8",
9
+ urgent: "M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2ZM12 8L12 12M12 16L12.01 16",
10
+ calendar: "M8 2v3M16 2v3M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2ZM3 9h18",
11
+ tag: "M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42zM7 7.5a.5 .5 0 1 0 1 0a.5 .5 0 1 0 -1 0",
12
+ listChecks: "M13 5h8M13 12h8M13 19h8M3 17l2 2 4-4M3 7l2 2 4-4",
13
+ sliders: "M10 5H3M12 19H3M14 3v4M16 17v4M21 12h-9M21 19h-5M21 5h-7M8 10v4M8 12H3",
14
+ circleCheck: "M2 12a10 10 0 1 0 20 0a10 10 0 1 0 -20 0M16 9l-5.5 5.5L8 12",
15
+ reopen: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8M3 3v5h5",
16
+ smilePlus: "M13.267 2.08a10 10 0 108.653 8.653M15 10V9M16 5h6M16.472 15a6 6 0 01-8.943 0M19 2v6M9 10V9",
17
+ bold: "M6 12h9a4 4 0 010 8H7a1 1 0 01-1-1V5a1 1 0 011-1h7a4 4 0 010 8",
18
+ italic: "M19 4L10 4M14 20L5 20M15 4L9 20",
19
+ strike: "M16 4H9a3 3 0 0 0-2.83 4M14 12a4 4 0 0 1 0 8H6M4 12L20 12",
20
+ code: "M16 18l6-6-6-6M8 6l-6 6 6 6",
21
+ reply: "M20 20v-7a4 4 0 0 0-4-4H4M9 14 4 9l5-5",
22
+ pen: "M13 21h8M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",
23
+ imagePlus: "M16 5h6M19 2v6M21 11.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5M21 15l-3.086-3.086a2 2 0 0 0-2.828 0L6 21M7 9a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",
24
+ user: "M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2M8 7a4 4 0 1 0 8 0a4 4 0 1 0 -8 0",
25
+ link: "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",
26
+ mapPin: "M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0M9 10a3 3 0 1 0 6 0a3 3 0 1 0 -6 0",
27
+ area: "M5 3a2 2 0 0 0-2 2M19 3a2 2 0 0 1 2 2M21 19a2 2 0 0 1-2 2M5 21a2 2 0 0 1-2-2M9 3h1M9 21h1M14 3h1M14 21h1M3 9v1M21 9v1M3 14v1M21 14v1",
28
+ quote: "M17 5H3M21 12H8M21 19H8M3 12v7",
29
+ page: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2zM14 2v5a1 1 0 0 0 1 1h5",
30
+ arrowDown: "M12 5v14M19 12l-7 7-7-7",
31
+ flag: "M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528",
32
+ comment: "M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",
33
+ download: "M12 15V3M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M7 10l5 5 5-5"
34
+ }, n = {
35
+ check: "M4.25 8.75 7.25 11.75 11.75 4.25",
36
+ clear: "M4.75 4.75 8 8m0 0 3.25 3.25M8 8l3.25-3.25M8 8l-3.25 3.25",
37
+ chevronLeft: "M9.67 12 5.67 8l4-4",
38
+ chevronRight: "M6.33 12 10.33 8l-4-4",
39
+ chevronUp: "M3.83 9.67 8 5.5l4.17 4.17",
40
+ chevronDown: "M3.83 6.33 8 10.5l4.17-4.17",
41
+ plus: "M8 3.75v8.5M3.75 8h8.5",
42
+ search: "M10 10.01A4.25 4.25 0 1 0 7 11.25a4.24 4.24 0 0 0 3-1.24Zm0 0 3.25 3.24",
43
+ info: "M8 8.75v1.5M8 6.25v.01M13.25 8A5.25 5.25 0 1 1 2.75 8a5.25 5.25 0 0 1 10.5 0Z",
44
+ alert: "M8 5.75v1.5M8 10.25v.01M13.25 8A5.25 5.25 0 1 1 2.75 8a5.25 5.25 0 0 1 10.5 0Z",
45
+ copy: "M6 3.25H4.75a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h6.5a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2H10M5.75 2.75l.536 1.34a1.85 1.85 0 0 0 3.428 0l.536-1.34h-4.5Z",
46
+ sparkles: "M5.5 7.75s0 3.25-3.25 3.25c3.25 0 3.25 3.25 3.25 3.25s0-3.25 3.25-3.25C5.5 11 5.5 7.75 5.5 7.75ZM11 1.75S11 5.5 7.25 5.5C11 5.5 11 9.25 11 9.25s0-3.75 3.75-3.75C11 5.5 11 1.75 11 1.75Z"
47
+ };
48
+ // src/ui/icons.tsx
49
+ function r({ name: r, size: i = 16 }) {
50
+ let a = r in n || r === "more";
51
+ return /* @__PURE__ */ e("svg", {
52
+ class: "ck-i",
53
+ width: i,
54
+ height: i,
55
+ viewBox: a ? "0 0 16 16" : "0 0 24 24",
56
+ fill: "none",
57
+ stroke: "currentColor",
58
+ "stroke-width": "1.5",
59
+ "stroke-linecap": "round",
60
+ "stroke-linejoin": "round",
61
+ "aria-hidden": "true",
62
+ children: r === "more" ? [
63
+ 3.5,
64
+ 8,
65
+ 12.5
66
+ ].map((t) => /* @__PURE__ */ e("circle", {
67
+ cx: t,
68
+ cy: "8",
69
+ r: "1.1",
70
+ fill: "currentColor",
71
+ stroke: "none"
72
+ })) : /* @__PURE__ */ e("path", {
73
+ d: a ? n[r] : t[r],
74
+ "vector-effect": "non-scaling-stroke"
75
+ })
76
+ });
77
+ }
78
+ var i = {
79
+ none: "minus",
80
+ low: "signalLow",
81
+ medium: "signalMedium",
82
+ high: "signalHigh",
83
+ urgent: "urgent"
84
+ }, a = {
85
+ in_review: "M8 4.75V8l2.25 1.5",
86
+ resolved: "m5.5 8.25 1.75 1.75 3.25-3.5",
87
+ closed: "M3.6 12.4 12.4 3.6"
88
+ };
89
+ function o({ status: t, size: n = 14 }) {
90
+ return /* @__PURE__ */ e("svg", {
91
+ class: "ck-i ck-status-i",
92
+ "data-status": t,
93
+ width: n,
94
+ height: n,
95
+ viewBox: "0 0 16 16",
96
+ fill: "none",
97
+ stroke: "currentColor",
98
+ "stroke-width": "1.5",
99
+ "stroke-linecap": "round",
100
+ "stroke-linejoin": "round",
101
+ "aria-hidden": "true",
102
+ children: [
103
+ /* @__PURE__ */ e("circle", {
104
+ cx: "8",
105
+ cy: "8",
106
+ r: "6.25",
107
+ "vector-effect": "non-scaling-stroke"
108
+ }),
109
+ t === "in_progress" ? /* @__PURE__ */ e("path", {
110
+ d: "M8 3.5a4.5 4.5 0 0 1 0 9z",
111
+ fill: "currentColor",
112
+ stroke: "none"
113
+ }) : null,
114
+ a[t] ? /* @__PURE__ */ e("path", {
115
+ d: a[t],
116
+ "vector-effect": "non-scaling-stroke"
117
+ }) : null
118
+ ]
119
+ });
120
+ }
121
+ function s({ class: t, ...n }) {
122
+ return /* @__PURE__ */ e("span", {
123
+ class: t ? `ck-box ${t}` : "ck-box",
124
+ children: [/* @__PURE__ */ e("input", {
125
+ type: "checkbox",
126
+ ...n
127
+ }), /* @__PURE__ */ e("svg", {
128
+ viewBox: "0 0 16 16",
129
+ fill: "none",
130
+ "aria-hidden": "true",
131
+ children: /* @__PURE__ */ e("path", {
132
+ d: "M4.25 8.75 7.25 11.75 11.75 4.25",
133
+ stroke: "currentColor",
134
+ "stroke-width": "1.5",
135
+ "stroke-linecap": "round",
136
+ "stroke-linejoin": "round"
137
+ })
138
+ })]
139
+ });
140
+ }
141
+ export { o as i, r as n, i as r, s as t };
@@ -1,15 +1,15 @@
1
- import { _ as e, g as t, i as n, v as r } from "./client-kNAo2TTG.js";
1
+ import { _ as e, g as t, i as n, v as r } from "./client-Cv8ddtuM.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 = {
5
- identity_not_set_up: "Sign-in from your website is not set up for this project yet. Create the identity secret in CommentKit (Settings, For developers, Sign in from your website) and sign the tokens with it on your server.",
5
+ identity_not_set_up: "Sign-in from your website is not set up for this project yet. Create the identity secret in CommentKit (the website's Settings → For developers, under Sign in from your website) and sign the tokens with it on your server.",
6
6
  identity_invalid: "The identity token was refused. It must be an HS256 JWT signed on your server with the website's identity secret, with sub, email, iat, exp (at most 10 minutes after iat) and aud set to your project key.",
7
7
  identity_expired: "The identity token has expired. Make a fresh token for each page load (they last at most 10 minutes), or pass a function as `identity` that fetches one.",
8
8
  identity_replayed: "This identity token was used already: every token works once. Make a new token for every sign-in, or pass a function as `identity` so CommentKit can ask for one.",
9
- identity_conflict: "This email address already belongs to a reviewer who joined with an emailed code, so your website cannot sign someone in with it. To let your website's login vouch for that address, turn on \"Trust email addresses from my website's login\" in CommentKit (Website settings, For developers); or sign this person in with a different address.",
9
+ identity_conflict: "This email address already belongs to a reviewer who joined with an emailed code, so your website cannot sign someone in with it. To let your website's login vouch for that address, turn on \"Trust email addresses from my website's login\" in CommentKit (the website's Settings → For developers); or sign this person in with a different address.",
10
10
  guest_removed: "The team removed this person from the website in CommentKit, so they cannot be signed in. Someone on the team can invite them again.",
11
11
  plan_required: "This website is read-only in CommentKit (its plan has ended or does not include this), so nobody can be signed in from your website until the workspace owner renews it.",
12
- origin_not_allowed: "This website is not on the project's list of websites, so sign-in from your website is refused here (it never works on localhost). Add the website in CommentKit."
12
+ origin_not_allowed: "This website is not on the project's list of websites, so sign-in from your website is refused here (it never works on localhost). Add it in CommentKit, in the website's Settings → Install, under Addresses."
13
13
  }, s = 3, c = 30, l = /* @__PURE__ */ new WeakMap(), u = /* @__PURE__ */ new WeakSet();
14
14
  function d(e, t, n, r = !1) {
15
15
  r && typeof t == "function" && !u.has(e) && (u.add(e), e.auth.onChange((n, r) => {
@@ -14,7 +14,7 @@ var e = {
14
14
  modeBarTouch: "Tocca qualcosa per commentare · Scorri come al solito · Seleziona prima un testo per citarlo",
15
15
  commentOnPage: "Commenta tutta la pagina",
16
16
  commentFocused: "Commenta la parte selezionata",
17
- attach: "Allega un file",
17
+ attach: "Allega file",
18
18
  screenshot: "Screenshot",
19
19
  screenshotIncluded: "Viene incluso in automatico uno screenshot di quello che vedi.",
20
20
  screenshotRemove: "Rimuovi lo screenshot",
@@ -36,8 +36,6 @@ var e = {
36
36
  capturing: "Screenshot in corso…",
37
37
  capturingFailed: "Nessuno screenshot di questa pagina, ma il tuo commento segna comunque il punto.",
38
38
  uploadFailed: "Non è stato possibile allegare il file. Puoi comunque inviare il tuo commento.",
39
- signInToSend: "Un ultimo passo: dicci chi sei",
40
- signInExplain: "Apriamo una piccola finestra per confermare la tua email. Lo fai una sola volta su questo dispositivo.",
41
39
  signIn: "Continua",
42
40
  signInMember: "Accedi",
43
41
  signOut: "Esci",
@@ -67,9 +65,6 @@ var e = {
67
65
  resolve: "Risolvi",
68
66
  resolveHint: "Segna come sistemato",
69
67
  reopen: "Riapri",
70
- markInProgress: "Inizia a lavorarci",
71
- markInReview: "Segna come da verificare",
72
- closeThread: "Chiudi senza correggere",
73
68
  reviewAsk: "Il team pensa che sia sistemato. Ti sembra giusto?",
74
69
  looksGood: "Va bene — risolvi",
75
70
  notYet: "Non ancora — rispondi",
@@ -110,7 +105,6 @@ var e = {
110
105
  readOnlyReply: "Puoi leggere questa conversazione, ma al momento le risposte sono disattivate.",
111
106
  noReplyAccess: "Puoi leggere questa conversazione, ma non hai il permesso di rispondere.",
112
107
  notOnPage: "Non trovato in questa pagina",
113
- more: "Altro",
114
108
  allStatuses: "Tutti",
115
109
  markAllRead: "Segna tutto come letto",
116
110
  messageCount: "{n} messaggi",
@@ -189,6 +183,8 @@ var e = {
189
183
  finishBody: "Hai aperto il link dell’email con il tuo codice. Premi il pulsante per pubblicare il commento che hai scritto su questo sito.",
190
184
  finishSend: "Invia il mio commento",
191
185
  finishExpired: "Questo link non funziona più. I link dell’email con il codice funzionano una volta, per 10 minuti. Se il tuo commento è ancora in attesa, inserisci il codice nella pagina in cui l’hai scritto.",
186
+ closeCardHint: "Premi × per chiudere, o fai doppio clic fuori.",
187
+ closeCardHintTouch: "Tocca × per chiudere, o tocca due volte fuori.",
192
188
  verifyWrong: "Il codice non è corretto. Controlla l’email o chiedi un nuovo codice.",
193
189
  verifyDifferent: "Usa un’altra email",
194
190
  verifyExpired: "Questo codice non è più valido. Il tuo commento è ancora salvato su questo dispositivo.",
@@ -231,7 +227,6 @@ var e = {
231
227
  sentWithoutFiles: "Inviato, ma alcuni file non sono stati allegati. Puoi aggiungerli in una risposta.",
232
228
  replyFailed: "La tua risposta non è ancora stata inviata. È ancora qui, quindi puoi riprovare.",
233
229
  taskDetails: "Dettagli dell’attività",
234
- taskDetailsSet: "Dettagli dell’attività aggiunti",
235
230
  priority: "Priorità",
236
231
  priority_none: "Nessuna priorità",
237
232
  priority_low: "Bassa",
@@ -239,7 +234,6 @@ var e = {
239
234
  priority_high: "Alta",
240
235
  priority_urgent: "Urgente",
241
236
  dueDate: "Scadenza",
242
- dueOn: "Scade il {date}",
243
237
  labels: "Etichette",
244
238
  noLabels: "Nessuna etichetta",
245
239
  mentionList: "Persone che puoi menzionare",
@@ -257,7 +251,7 @@ var e = {
257
251
  detailPage: "Pagina",
258
252
  detailBrowser: "Browser",
259
253
  detailWindow: "Finestra",
260
- details: "Info",
254
+ details: "Dettagli",
261
255
  quotedText: "Testo selezionato",
262
256
  replyTo: "Rispondi a {name}",
263
257
  quoteReply: "Rispondi con una citazione",
@@ -291,7 +285,6 @@ var e = {
291
285
  sortPriority: "Priorità più alta",
292
286
  pinMoved: "{ref} spostato qui.",
293
287
  pinMovable: "segnaposto, trascina per spostarlo",
294
- assign: "Assegna",
295
288
  modeBarNoText: "Fai clic su qualcosa per commentare · Trascina per segnare un’area · Esc per uscire",
296
289
  modeBarTouchNoText: "Tocca qualcosa per commentare · Scorri come al solito",
297
290
  verifyResendIn: "Nuovo codice tra {n} s",
@@ -403,6 +396,54 @@ var e = {
403
396
  signOffNewCommit: "Questa pagina è cambiata dopo l’approvazione.",
404
397
  signOffOpen: "{n} commenti su questa pagina sono ancora aperti. Puoi approvarla comunque.",
405
398
  signOffOpen_one: "{n} commento su questa pagina è ancora aperto. Puoi approvarla comunque.",
406
- signOffWithdraw: "Ritira l’approvazione"
399
+ signOffWithdraw: "Ritira l’approvazione",
400
+ moreFeedback: "Altre opzioni di feedback",
401
+ messagesRegion: "Messaggi di CommentKit",
402
+ dismissMessage: "Chiudi messaggio",
403
+ moreThread: "Altre azioni per questo commento",
404
+ closeCard: "Chiudi commento",
405
+ closeInbox: "Chiudi posta in arrivo",
406
+ closeSettings: "Chiudi impostazioni",
407
+ closeShortcuts: "Chiudi scorciatoie da tastiera",
408
+ closeVerify: "Chiudi l’inserimento del codice",
409
+ closeImage: "Chiudi immagine",
410
+ shownAnnounce: "CommentKit è attivo. Premi C per commentare.",
411
+ shownAnnounceNoKeys: "CommentKit è attivo.",
412
+ addReaction: "Aggiungi una reazione",
413
+ fieldChange: "{field}: {value}, cambia",
414
+ assignee: "Assegnatario",
415
+ dueToday: "Oggi",
416
+ tomorrow: "Domani",
417
+ dueYesterday: "Ieri",
418
+ statusHelp_open: "Nuovo e non ancora iniziato.",
419
+ statusHelp_in_progress: "Qualcuno ci sta lavorando.",
420
+ statusHelp_in_review: "Fatto dal team; in attesa del controllo di chi l’ha chiesto.",
421
+ statusHelp_resolved: "Risolto e confermato.",
422
+ statusHelp_closed: "Non verrà fatto.",
423
+ findTeammate: "Cerca un collega",
424
+ peopleNone: "Nessuno del team corrisponde.",
425
+ peopleMore: "Mostrati {shown} di {n}. Scrivi per restringere.",
426
+ peopleLoading: "Caricamento del team…",
427
+ unassignAll: "Rimuovi tutti",
428
+ teamMembers: "Membri del team",
429
+ today: "Oggi",
430
+ nextWeek: "La prossima settimana",
431
+ clear: "Rimuovi",
432
+ previousMonth: "Mese precedente",
433
+ nextMonth: "Mese successivo",
434
+ screenshotLabel: "Screenshot di questa vista",
435
+ markupShort: "Disegna sopra",
436
+ screenshotRemoveShort: "Rimuovi",
437
+ signingIn: "Accesso in corso…",
438
+ signInWaiting: "Completa l’accesso nella finestra che si è aperta. Il tuo commento è salvato.",
439
+ signInCancel: "Annulla accesso",
440
+ signedInPressSend: "Hai effettuato l’accesso. Premi Invia per pubblicare il commento.",
441
+ stillSending: "Invio ancora in corso…",
442
+ signInToComment: "Accedi per commentare",
443
+ signInToCommentBody: "I commenti su {website} sono per il suo team e per i clienti che invita. Accedi con il tuo account CommentKit, poi fai clic sul punto da cambiare.",
444
+ signInToCommentBodyTouch: "I commenti su {website} sono per il suo team e per i clienti che invita. Accedi con il tuo account CommentKit, poi tocca il punto da cambiare.",
445
+ signInToSend: "Accedi per inviare",
446
+ signInToSendTitle: "Accedi per inviarlo",
447
+ signInToSendBody: "I commenti su questo sito arrivano dal suo team e dai clienti invitati. Il tuo testo resta qui mentre accedi."
407
448
  };
408
449
  export { e as default };