@dendelion/paper-camp 0.33.1 → 0.34.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.
@@ -266,11 +266,11 @@ const Fp = /* @__PURE__ */ bc(S);
266
266
  * This source code is licensed under the MIT license found in the
267
267
  * LICENSE file in the root directory of this source tree.
268
268
  */
269
- var jp = S, Mp = Symbol.for("react.element"), Np = Symbol.for("react.fragment"), Rp = Object.prototype.hasOwnProperty, Lp = jp.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, Ap = { key: !0, ref: !0, __self: !0, __source: !0 };
269
+ var jp = S, Mp = Symbol.for("react.element"), Np = Symbol.for("react.fragment"), Rp = Object.prototype.hasOwnProperty, Lp = jp.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, Ip = { key: !0, ref: !0, __self: !0, __source: !0 };
270
270
  function Pc(e, t, r) {
271
271
  var n, o = {}, l = null, i = null;
272
272
  r !== void 0 && (l = "" + r), t.key !== void 0 && (l = "" + t.key), t.ref !== void 0 && (i = t.ref);
273
- for (n in t) Rp.call(t, n) && !Ap.hasOwnProperty(n) && (o[n] = t[n]);
273
+ for (n in t) Rp.call(t, n) && !Ip.hasOwnProperty(n) && (o[n] = t[n]);
274
274
  if (e && e.defaultProps) for (n in t = e.defaultProps, t) o[n] === void 0 && (o[n] = t[n]);
275
275
  return { $$typeof: Mp, type: e, key: l, ref: i, props: o, _owner: Lp.current };
276
276
  }
@@ -280,7 +280,7 @@ yl.jsxs = Pc;
280
280
  vc.exports = yl;
281
281
  var v = vc.exports;
282
282
  let Fc = "";
283
- function Ip(e) {
283
+ function Ap(e) {
284
284
  Fc = e;
285
285
  }
286
286
  function N(e) {
@@ -306,8 +306,8 @@ var jc = { exports: {} }, We = {}, Mc = { exports: {} }, Nc = {};
306
306
  var T = P.length;
307
307
  P.push(R);
308
308
  e: for (; 0 < T; ) {
309
- var A = T - 1 >>> 1, Q = P[A];
310
- if (0 < o(Q, R)) P[A] = R, P[T] = Q, T = A;
309
+ var I = T - 1 >>> 1, Q = P[I];
310
+ if (0 < o(Q, R)) P[I] = R, P[T] = Q, T = I;
311
311
  else break e;
312
312
  }
313
313
  }
@@ -319,10 +319,10 @@ var jc = { exports: {} }, We = {}, Mc = { exports: {} }, Nc = {};
319
319
  var R = P[0], T = P.pop();
320
320
  if (T !== R) {
321
321
  P[0] = T;
322
- e: for (var A = 0, Q = P.length, ee = Q >>> 1; A < ee; ) {
323
- var Ze = 2 * (A + 1) - 1, on = P[Ze], rr = Ze + 1, oo = P[rr];
324
- if (0 > o(on, T)) rr < Q && 0 > o(oo, on) ? (P[A] = oo, P[rr] = T, A = rr) : (P[A] = on, P[Ze] = T, A = Ze);
325
- else if (rr < Q && 0 > o(oo, T)) P[A] = oo, P[rr] = T, A = rr;
322
+ e: for (var I = 0, Q = P.length, ee = Q >>> 1; I < ee; ) {
323
+ var Ze = 2 * (I + 1) - 1, on = P[Ze], rr = Ze + 1, oo = P[rr];
324
+ if (0 > o(on, T)) rr < Q && 0 > o(oo, on) ? (P[I] = oo, P[rr] = T, I = rr) : (P[I] = on, P[Ze] = T, I = Ze);
325
+ else if (rr < Q && 0 > o(oo, T)) P[I] = oo, P[rr] = T, I = rr;
326
326
  else break e;
327
327
  }
328
328
  }
@@ -365,10 +365,10 @@ var jc = { exports: {} }, We = {}, Mc = { exports: {} }, Nc = {};
365
365
  var T = d;
366
366
  try {
367
367
  for (h(R), p = r(s); p !== null && (!(p.expirationTime > R) || P && !O()); ) {
368
- var A = p.callback;
369
- if (typeof A == "function") {
368
+ var I = p.callback;
369
+ if (typeof I == "function") {
370
370
  p.callback = null, d = p.priorityLevel;
371
- var Q = A(p.expirationTime <= R);
371
+ var Q = I(p.expirationTime <= R);
372
372
  R = e.unstable_now(), typeof Q == "function" ? p.callback = Q : p === r(s) && n(s), h(R);
373
373
  } else n(s);
374
374
  p = r(s);
@@ -467,8 +467,8 @@ var jc = { exports: {} }, We = {}, Mc = { exports: {} }, Nc = {};
467
467
  d = T;
468
468
  }
469
469
  }, e.unstable_scheduleCallback = function(P, R, T) {
470
- var A = e.unstable_now();
471
- switch (typeof T == "object" && T !== null ? (T = T.delay, T = typeof T == "number" && 0 < T ? A + T : A) : T = A, P) {
470
+ var I = e.unstable_now();
471
+ switch (typeof T == "object" && T !== null ? (T = T.delay, T = typeof T == "number" && 0 < T ? I + T : I) : T = I, P) {
472
472
  case 1:
473
473
  var Q = -1;
474
474
  break;
@@ -484,7 +484,7 @@ var jc = { exports: {} }, We = {}, Mc = { exports: {} }, Nc = {};
484
484
  default:
485
485
  Q = 5e3;
486
486
  }
487
- return Q = T + Q, P = { id: c++, callback: R, priorityLevel: P, startTime: T, expirationTime: Q, sortIndex: -1 }, T > A ? (P.sortIndex = T, t(u, P), r(s) === null && P === r(u) && (b ? (f(z), z = -1) : b = !0, ke(y, T - A))) : (P.sortIndex = Q, t(s, P), m || g || (m = !0, pe(w))), P;
487
+ return Q = T + Q, P = { id: c++, callback: R, priorityLevel: P, startTime: T, expirationTime: Q, sortIndex: -1 }, T > I ? (P.sortIndex = T, t(u, P), r(s) === null && P === r(u) && (b ? (f(z), z = -1) : b = !0, ke(y, T - I))) : (P.sortIndex = Q, t(s, P), m || g || (m = !0, pe(w))), P;
488
488
  }, e.unstable_shouldYield = O, e.unstable_wrapCallback = function(P) {
489
489
  var R = d;
490
490
  return function() {
@@ -521,9 +521,9 @@ function br(e, t) {
521
521
  function Ur(e, t) {
522
522
  for (Rn[e] = t, e = 0; e < t.length; e++) Rc.add(t[e]);
523
523
  }
524
- var kt = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), zi = Object.prototype.hasOwnProperty, $p = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/, Ls = {}, As = {};
524
+ var kt = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), zi = Object.prototype.hasOwnProperty, $p = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/, Ls = {}, Is = {};
525
525
  function Wp(e) {
526
- return zi.call(As, e) ? !0 : zi.call(Ls, e) ? !1 : $p.test(e) ? As[e] = !0 : (Ls[e] = !0, !1);
526
+ return zi.call(Is, e) ? !0 : zi.call(Ls, e) ? !1 : $p.test(e) ? Is[e] = !0 : (Ls[e] = !0, !1);
527
527
  }
528
528
  function Up(e, t, r, n) {
529
529
  if (r !== null && r.type === 0) return !1;
@@ -614,9 +614,9 @@ function Ma(e, t, r, n) {
614
614
  var o = be.hasOwnProperty(t) ? be[t] : null;
615
615
  (o !== null ? o.type !== 0 : n || !(2 < t.length) || t[0] !== "o" && t[0] !== "O" || t[1] !== "n" && t[1] !== "N") && (Gp(t, r, o, n) && (r = null), n || o === null ? Wp(t) && (r === null ? e.removeAttribute(t) : e.setAttribute(t, "" + r)) : o.mustUseProperty ? e[o.propertyName] = r === null ? o.type === 3 ? !1 : "" : r : (t = o.attributeName, n = o.attributeNamespace, r === null ? e.removeAttribute(t) : (o = o.type, r = o === 3 || o === 4 && r === !0 ? "" : "" + r, n ? e.setAttributeNS(n, t, r) : e.setAttribute(t, r))));
616
616
  }
617
- var zt = Dp.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, io = Symbol.for("react.element"), kr = Symbol.for("react.portal"), Cr = Symbol.for("react.fragment"), Na = Symbol.for("react.strict_mode"), Ti = Symbol.for("react.profiler"), Lc = Symbol.for("react.provider"), Ac = Symbol.for("react.context"), Ra = Symbol.for("react.forward_ref"), Pi = Symbol.for("react.suspense"), Fi = Symbol.for("react.suspense_list"), La = Symbol.for("react.memo"), At = Symbol.for("react.lazy"), Ic = Symbol.for("react.offscreen"), Is = Symbol.iterator;
617
+ var zt = Dp.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, io = Symbol.for("react.element"), kr = Symbol.for("react.portal"), Cr = Symbol.for("react.fragment"), Na = Symbol.for("react.strict_mode"), Ti = Symbol.for("react.profiler"), Lc = Symbol.for("react.provider"), Ic = Symbol.for("react.context"), Ra = Symbol.for("react.forward_ref"), Pi = Symbol.for("react.suspense"), Fi = Symbol.for("react.suspense_list"), La = Symbol.for("react.memo"), It = Symbol.for("react.lazy"), Ac = Symbol.for("react.offscreen"), As = Symbol.iterator;
618
618
  function ln(e) {
619
- return e === null || typeof e != "object" ? null : (e = Is && e[Is] || e["@@iterator"], typeof e == "function" ? e : null);
619
+ return e === null || typeof e != "object" ? null : (e = As && e[As] || e["@@iterator"], typeof e == "function" ? e : null);
620
620
  }
621
621
  var ne = Object.assign, $l;
622
622
  function vn(e) {
@@ -726,7 +726,7 @@ function ji(e) {
726
726
  return "SuspenseList";
727
727
  }
728
728
  if (typeof e == "object") switch (e.$$typeof) {
729
- case Ac:
729
+ case Ic:
730
730
  return (e.displayName || "Context") + ".Consumer";
731
731
  case Lc:
732
732
  return (e._context.displayName || "Context") + ".Provider";
@@ -735,7 +735,7 @@ function ji(e) {
735
735
  return e = e.displayName, e || (e = t.displayName || t.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
736
736
  case La:
737
737
  return t = e.displayName || null, t !== null ? t : ji(e.type) || "Memo";
738
- case At:
738
+ case It:
739
739
  t = e._payload, e = e._init;
740
740
  try {
741
741
  return ji(e(t));
@@ -879,7 +879,7 @@ function Ri(e, t, r) {
879
879
  (t !== "number" || Uo(e.ownerDocument) !== e) && (r == null ? e.defaultValue = "" + e._wrapperState.initialValue : e.defaultValue !== "" + r && (e.defaultValue = "" + r));
880
880
  }
881
881
  var yn = Array.isArray;
882
- function Ar(e, t, r, n) {
882
+ function Ir(e, t, r, n) {
883
883
  if (e = e.options, t) {
884
884
  t = {};
885
885
  for (var o = 0; o < r.length; o++) t["$" + r[o]] = !0;
@@ -932,7 +932,7 @@ function Wc(e) {
932
932
  return "http://www.w3.org/1999/xhtml";
933
933
  }
934
934
  }
935
- function Ai(e, t) {
935
+ function Ii(e, t) {
936
936
  return e == null || e === "http://www.w3.org/1999/xhtml" ? Wc(t) : e === "http://www.w3.org/2000/svg" && t === "foreignObject" ? "http://www.w3.org/1999/xhtml" : e;
937
937
  }
938
938
  var so, Uc = function(e) {
@@ -1019,7 +1019,7 @@ function Vc(e, t) {
1019
1019
  }
1020
1020
  }
1021
1021
  var Kp = ne({ menuitem: !0 }, { area: !0, base: !0, br: !0, col: !0, embed: !0, hr: !0, img: !0, input: !0, keygen: !0, link: !0, meta: !0, param: !0, source: !0, track: !0, wbr: !0 });
1022
- function Ii(e, t) {
1022
+ function Ai(e, t) {
1023
1023
  if (t) {
1024
1024
  if (Kp[e] && (t.children != null || t.dangerouslySetInnerHTML != null)) throw Error(C(137, e));
1025
1025
  if (t.dangerouslySetInnerHTML != null) {
@@ -1046,10 +1046,10 @@ function Oi(e, t) {
1046
1046
  }
1047
1047
  }
1048
1048
  var Bi = null;
1049
- function Aa(e) {
1049
+ function Ia(e) {
1050
1050
  return e = e.target || e.srcElement || window, e.correspondingUseElement && (e = e.correspondingUseElement), e.nodeType === 3 ? e.parentNode : e;
1051
1051
  }
1052
- var Di = null, Ir = null, Or = null;
1052
+ var Di = null, Ar = null, Or = null;
1053
1053
  function Ws(e) {
1054
1054
  if (e = eo(e)) {
1055
1055
  if (typeof Di != "function") throw Error(C(280));
@@ -1058,12 +1058,12 @@ function Ws(e) {
1058
1058
  }
1059
1059
  }
1060
1060
  function Qc(e) {
1061
- Ir ? Or ? Or.push(e) : Or = [e] : Ir = e;
1061
+ Ar ? Or ? Or.push(e) : Or = [e] : Ar = e;
1062
1062
  }
1063
1063
  function Hc() {
1064
- if (Ir) {
1065
- var e = Ir, t = Or;
1066
- if (Or = Ir = null, Ws(e), t) for (e = 0; e < t.length; e++) Ws(t[e]);
1064
+ if (Ar) {
1065
+ var e = Ar, t = Or;
1066
+ if (Or = Ar = null, Ws(e), t) for (e = 0; e < t.length; e++) Ws(t[e]);
1067
1067
  }
1068
1068
  }
1069
1069
  function Xc(e, t) {
@@ -1078,10 +1078,10 @@ function qc(e, t, r) {
1078
1078
  try {
1079
1079
  return Xc(e, t, r);
1080
1080
  } finally {
1081
- Gl = !1, (Ir !== null || Or !== null) && (Kc(), Hc());
1081
+ Gl = !1, (Ar !== null || Or !== null) && (Kc(), Hc());
1082
1082
  }
1083
1083
  }
1084
- function An(e, t) {
1084
+ function In(e, t) {
1085
1085
  var r = e.stateNode;
1086
1086
  if (r === null) return null;
1087
1087
  var n = Sl(r);
@@ -1231,7 +1231,7 @@ function Zc(e) {
1231
1231
  }
1232
1232
  return null;
1233
1233
  }
1234
- var ed = $e.unstable_scheduleCallback, Gs = $e.unstable_cancelCallback, tf = $e.unstable_shouldYield, rf = $e.unstable_requestPaint, le = $e.unstable_now, nf = $e.unstable_getCurrentPriorityLevel, Ia = $e.unstable_ImmediatePriority, td = $e.unstable_UserBlockingPriority, Qo = $e.unstable_NormalPriority, of = $e.unstable_LowPriority, rd = $e.unstable_IdlePriority, xl = null, pt = null;
1234
+ var ed = $e.unstable_scheduleCallback, Gs = $e.unstable_cancelCallback, tf = $e.unstable_shouldYield, rf = $e.unstable_requestPaint, le = $e.unstable_now, nf = $e.unstable_getCurrentPriorityLevel, Aa = $e.unstable_ImmediatePriority, td = $e.unstable_UserBlockingPriority, Qo = $e.unstable_NormalPriority, of = $e.unstable_LowPriority, rd = $e.unstable_IdlePriority, xl = null, pt = null;
1235
1235
  function lf(e) {
1236
1236
  if (pt && typeof pt.onCommitFiberRoot == "function") try {
1237
1237
  pt.onCommitFiberRoot(xl, e, void 0, (e.current.flags & 128) === 128);
@@ -1386,7 +1386,7 @@ var H = 0;
1386
1386
  function od(e) {
1387
1387
  return e &= -e, 1 < e ? 4 < e ? e & 268435455 ? 16 : 536870912 : 4 : 1;
1388
1388
  }
1389
- var ld, Ba, id, ad, sd, Gi = !1, _o = [], Wt = null, Ut = null, Gt = null, In = /* @__PURE__ */ new Map(), On = /* @__PURE__ */ new Map(), Ot = [], pf = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");
1389
+ var ld, Ba, id, ad, sd, Gi = !1, _o = [], Wt = null, Ut = null, Gt = null, An = /* @__PURE__ */ new Map(), On = /* @__PURE__ */ new Map(), Ot = [], pf = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");
1390
1390
  function Vs(e, t) {
1391
1391
  switch (e) {
1392
1392
  case "focusin":
@@ -1403,7 +1403,7 @@ function Vs(e, t) {
1403
1403
  break;
1404
1404
  case "pointerover":
1405
1405
  case "pointerout":
1406
- In.delete(t.pointerId);
1406
+ An.delete(t.pointerId);
1407
1407
  break;
1408
1408
  case "gotpointercapture":
1409
1409
  case "lostpointercapture":
@@ -1423,7 +1423,7 @@ function ff(e, t, r, n, o) {
1423
1423
  return Gt = sn(Gt, e, t, r, n, o), !0;
1424
1424
  case "pointerover":
1425
1425
  var l = o.pointerId;
1426
- return In.set(l, sn(In.get(l) || null, e, t, r, n, o)), !0;
1426
+ return An.set(l, sn(An.get(l) || null, e, t, r, n, o)), !0;
1427
1427
  case "gotpointercapture":
1428
1428
  return l = o.pointerId, On.set(l, sn(On.get(l) || null, e, t, r, n, o)), !0;
1429
1429
  }
@@ -1466,7 +1466,7 @@ function Qs(e, t, r) {
1466
1466
  jo(e) && r.delete(t);
1467
1467
  }
1468
1468
  function mf() {
1469
- Gi = !1, Wt !== null && jo(Wt) && (Wt = null), Ut !== null && jo(Ut) && (Ut = null), Gt !== null && jo(Gt) && (Gt = null), In.forEach(Qs), On.forEach(Qs);
1469
+ Gi = !1, Wt !== null && jo(Wt) && (Wt = null), Ut !== null && jo(Ut) && (Ut = null), Gt !== null && jo(Gt) && (Gt = null), An.forEach(Qs), On.forEach(Qs);
1470
1470
  }
1471
1471
  function un(e, t) {
1472
1472
  e.blockedOn === t && (e.blockedOn = null, Gi || (Gi = !0, $e.unstable_scheduleCallback($e.unstable_NormalPriority, mf)));
@@ -1482,7 +1482,7 @@ function Bn(e) {
1482
1482
  n.blockedOn === e && (n.blockedOn = null);
1483
1483
  }
1484
1484
  }
1485
- for (Wt !== null && un(Wt, e), Ut !== null && un(Ut, e), Gt !== null && un(Gt, e), In.forEach(t), On.forEach(t), r = 0; r < Ot.length; r++) n = Ot[r], n.blockedOn === e && (n.blockedOn = null);
1485
+ for (Wt !== null && un(Wt, e), Ut !== null && un(Ut, e), Gt !== null && un(Gt, e), An.forEach(t), On.forEach(t), r = 0; r < Ot.length; r++) n = Ot[r], n.blockedOn === e && (n.blockedOn = null);
1486
1486
  for (; 0 < Ot.length && (r = Ot[0], r.blockedOn === null); ) ud(r), r.blockedOn === null && Ot.shift();
1487
1487
  }
1488
1488
  var Br = zt.ReactCurrentBatchConfig, Xo = !0;
@@ -1521,7 +1521,7 @@ function Da(e, t, r, n) {
1521
1521
  }
1522
1522
  var Ko = null;
1523
1523
  function Vi(e, t, r, n) {
1524
- if (Ko = null, e = Aa(n), e = ar(e), e !== null) if (t = vr(e), t === null) e = null;
1524
+ if (Ko = null, e = Ia(n), e = ar(e), e !== null) if (t = vr(e), t === null) e = null;
1525
1525
  else if (r = t.tag, r === 13) {
1526
1526
  if (e = Yc(t), e !== null) return e;
1527
1527
  e = null;
@@ -1607,7 +1607,7 @@ function cd(e) {
1607
1607
  return 4;
1608
1608
  case "message":
1609
1609
  switch (nf()) {
1610
- case Ia:
1610
+ case Aa:
1611
1611
  return 1;
1612
1612
  case td:
1613
1613
  return 4;
@@ -1738,7 +1738,7 @@ var jf = ne({}, Zn, { key: function(e) {
1738
1738
  return e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
1739
1739
  }, which: function(e) {
1740
1740
  return e.type === "keypress" ? No(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
1741
- } }), Mf = Ue(jf), Nf = ne({}, wl, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 }), qs = Ue(Nf), Rf = ne({}, Zn, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: Ua }), Lf = Ue(Rf), Af = ne({}, Jr, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), If = Ue(Af), Of = ne({}, wl, {
1741
+ } }), Mf = Ue(jf), Nf = ne({}, wl, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 }), qs = Ue(Nf), Rf = ne({}, Zn, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: Ua }), Lf = Ue(Rf), If = ne({}, Jr, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), Af = Ue(If), Of = ne({}, wl, {
1742
1742
  deltaX: function(e) {
1743
1743
  return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0;
1744
1744
  },
@@ -1835,7 +1835,7 @@ function tu() {
1835
1835
  function gd(e) {
1836
1836
  if (e.propertyName === "value" && kl(Dn)) {
1837
1837
  var t = [];
1838
- md(t, Dn, e, Aa(e)), qc(Vf, t);
1838
+ md(t, Dn, e, Ia(e)), qc(Vf, t);
1839
1839
  }
1840
1840
  }
1841
1841
  function Hf(e, t, r) {
@@ -2056,7 +2056,7 @@ function ti(e, t, r, n, o) {
2056
2056
  n = n.return;
2057
2057
  }
2058
2058
  qc(function() {
2059
- var u = l, c = Aa(r), p = [];
2059
+ var u = l, c = Ia(r), p = [];
2060
2060
  e: {
2061
2061
  var d = Sd.get(e);
2062
2062
  if (d !== void 0) {
@@ -2112,7 +2112,7 @@ function ti(e, t, r, n, o) {
2112
2112
  g = kf;
2113
2113
  break;
2114
2114
  case Cd:
2115
- g = If;
2115
+ g = Af;
2116
2116
  break;
2117
2117
  case "scroll":
2118
2118
  g = bf;
@@ -2140,7 +2140,7 @@ function ti(e, t, r, n, o) {
2140
2140
  for (var _ = u, h; _ !== null; ) {
2141
2141
  h = _;
2142
2142
  var y = h.stateNode;
2143
- if (h.tag === 5 && y !== null && (h = y, f !== null && (y = An(_, f), y != null && b.push(Un(_, y, h)))), x) break;
2143
+ if (h.tag === 5 && y !== null && (h = y, f !== null && (y = In(_, f), y != null && b.push(Un(_, y, h)))), x) break;
2144
2144
  _ = _.return;
2145
2145
  }
2146
2146
  0 < b.length && (d = new g(d, m, null, r, c), p.push({ event: d, listeners: b }));
@@ -2227,7 +2227,7 @@ function Un(e, t, r) {
2227
2227
  function qo(e, t) {
2228
2228
  for (var r = t + "Capture", n = []; e !== null; ) {
2229
2229
  var o = e, l = o.stateNode;
2230
- o.tag === 5 && l !== null && (o = l, l = An(e, r), l != null && n.unshift(Un(e, l, o)), l = An(e, t), l != null && n.push(Un(e, l, o))), e = e.return;
2230
+ o.tag === 5 && l !== null && (o = l, l = In(e, r), l != null && n.unshift(Un(e, l, o)), l = In(e, t), l != null && n.push(Un(e, l, o))), e = e.return;
2231
2231
  }
2232
2232
  return n;
2233
2233
  }
@@ -2242,7 +2242,7 @@ function au(e, t, r, n, o) {
2242
2242
  for (var l = t._reactName, i = []; r !== null && r !== n; ) {
2243
2243
  var a = r, s = a.alternate, u = a.stateNode;
2244
2244
  if (s !== null && s === n) break;
2245
- a.tag === 5 && u !== null && (a = u, o ? (s = An(r, l), s != null && i.unshift(Un(r, s, a))) : o || (s = An(r, l), s != null && i.push(Un(r, s, a)))), r = r.return;
2245
+ a.tag === 5 && u !== null && (a = u, o ? (s = In(r, l), s != null && i.unshift(Un(r, s, a))) : o || (s = In(r, l), s != null && i.push(Un(r, s, a)))), r = r.return;
2246
2246
  }
2247
2247
  i.length !== 0 && e.push({ event: t, listeners: i });
2248
2248
  }
@@ -2400,7 +2400,7 @@ function tr() {
2400
2400
  }
2401
2401
  vt = null, El = !1;
2402
2402
  } catch (o) {
2403
- throw vt !== null && (vt = vt.slice(e + 1)), ed(Ia, tr), o;
2403
+ throw vt !== null && (vt = vt.slice(e + 1)), ed(Aa, tr), o;
2404
2404
  } finally {
2405
2405
  H = t, ni = !1;
2406
2406
  }
@@ -2567,7 +2567,7 @@ function Nd(e) {
2567
2567
  }
2568
2568
  function s(f, _, h, y) {
2569
2569
  var w = h.type;
2570
- return w === Cr ? c(f, _, h.props.children, y, h.key) : _ !== null && (_.elementType === w || typeof w == "object" && w !== null && w.$$typeof === At && mu(w) === _.type) ? (y = o(_, h.props), y.ref = dn(f, _, h), y.return = f, y) : (y = Do(h.type, h.key, h.props, null, f.mode, y), y.ref = dn(f, _, h), y.return = f, y);
2570
+ return w === Cr ? c(f, _, h.props.children, y, h.key) : _ !== null && (_.elementType === w || typeof w == "object" && w !== null && w.$$typeof === It && mu(w) === _.type) ? (y = o(_, h.props), y.ref = dn(f, _, h), y.return = f, y) : (y = Do(h.type, h.key, h.props, null, f.mode, y), y.ref = dn(f, _, h), y.return = f, y);
2571
2571
  }
2572
2572
  function u(f, _, h, y) {
2573
2573
  return _ === null || _.tag !== 4 || _.stateNode.containerInfo !== h.containerInfo || _.stateNode.implementation !== h.implementation ? (_ = di(h, f.mode, y), _.return = f, _) : (_ = o(_, h.children || []), _.return = f, _);
@@ -2583,7 +2583,7 @@ function Nd(e) {
2583
2583
  return h = Do(_.type, _.key, _.props, null, f.mode, h), h.ref = dn(f, null, _), h.return = f, h;
2584
2584
  case kr:
2585
2585
  return _ = di(_, f.mode, h), _.return = f, _;
2586
- case At:
2586
+ case It:
2587
2587
  var y = _._init;
2588
2588
  return p(f, y(_._payload), h);
2589
2589
  }
@@ -2601,7 +2601,7 @@ function Nd(e) {
2601
2601
  return h.key === w ? s(f, _, h, y) : null;
2602
2602
  case kr:
2603
2603
  return h.key === w ? u(f, _, h, y) : null;
2604
- case At:
2604
+ case It:
2605
2605
  return w = h._init, d(
2606
2606
  f,
2607
2607
  _,
@@ -2622,7 +2622,7 @@ function Nd(e) {
2622
2622
  return f = f.get(y.key === null ? h : y.key) || null, s(_, f, y, w);
2623
2623
  case kr:
2624
2624
  return f = f.get(y.key === null ? h : y.key) || null, u(_, f, y, w);
2625
- case At:
2625
+ case It:
2626
2626
  var k = y._init;
2627
2627
  return g(f, _, h, k(y._payload), w);
2628
2628
  }
@@ -2689,7 +2689,7 @@ function Nd(e) {
2689
2689
  r(f, k.sibling), _ = o(k, h.props.children), _.return = f, f = _;
2690
2690
  break e;
2691
2691
  }
2692
- } else if (k.elementType === w || typeof w == "object" && w !== null && w.$$typeof === At && mu(w) === k.type) {
2692
+ } else if (k.elementType === w || typeof w == "object" && w !== null && w.$$typeof === It && mu(w) === k.type) {
2693
2693
  r(f, k.sibling), _ = o(k, h.props), _.ref = dn(f, k, h), _.return = f, f = _;
2694
2694
  break e;
2695
2695
  }
@@ -2717,7 +2717,7 @@ function Nd(e) {
2717
2717
  _ = di(h, f.mode, y), _.return = f, f = _;
2718
2718
  }
2719
2719
  return i(f);
2720
- case At:
2720
+ case It:
2721
2721
  return k = h._init, x(f, _, k(h._payload), y);
2722
2722
  }
2723
2723
  if (yn(h)) return m(f, _, h, y);
@@ -2768,11 +2768,11 @@ function St(e, t) {
2768
2768
  for (r !== null && (r.lanes |= t), r = e, e = e.return; e !== null; ) e.childLanes |= t, r = e.alternate, r !== null && (r.childLanes |= t), r = e, e = e.return;
2769
2769
  return r.tag === 3 ? r.stateNode : null;
2770
2770
  }
2771
- var It = !1;
2771
+ var At = !1;
2772
2772
  function Za(e) {
2773
2773
  e.updateQueue = { baseState: e.memoizedState, firstBaseUpdate: null, lastBaseUpdate: null, shared: { pending: null, interleaved: null, lanes: 0 }, effects: null };
2774
2774
  }
2775
- function Ad(e, t) {
2775
+ function Id(e, t) {
2776
2776
  e = e.updateQueue, t.updateQueue === e && (t.updateQueue = { baseState: e.baseState, firstBaseUpdate: e.firstBaseUpdate, lastBaseUpdate: e.lastBaseUpdate, shared: e.shared, effects: e.effects });
2777
2777
  }
2778
2778
  function wt(e, t) {
@@ -2811,7 +2811,7 @@ function hu(e, t) {
2811
2811
  }
2812
2812
  function ol(e, t, r, n) {
2813
2813
  var o = e.updateQueue;
2814
- It = !1;
2814
+ At = !1;
2815
2815
  var l = o.firstBaseUpdate, i = o.lastBaseUpdate, a = o.shared.pending;
2816
2816
  if (a !== null) {
2817
2817
  o.shared.pending = null;
@@ -2851,7 +2851,7 @@ function ol(e, t, r, n) {
2851
2851
  p = ne({}, p, d);
2852
2852
  break e;
2853
2853
  case 2:
2854
- It = !0;
2854
+ At = !0;
2855
2855
  }
2856
2856
  }
2857
2857
  a.callback !== null && a.lane !== 0 && (e.flags |= 64, d = o.effects, d === null ? o.effects = [a] : d.push(a));
@@ -2888,19 +2888,19 @@ function es(e, t) {
2888
2888
  switch (K(Qn, t), K(Vn, e), K(ft, to), e = t.nodeType, e) {
2889
2889
  case 9:
2890
2890
  case 11:
2891
- t = (t = t.documentElement) ? t.namespaceURI : Ai(null, "");
2891
+ t = (t = t.documentElement) ? t.namespaceURI : Ii(null, "");
2892
2892
  break;
2893
2893
  default:
2894
- e = e === 8 ? t.parentNode : t, t = e.namespaceURI || null, e = e.tagName, t = Ai(t, e);
2894
+ e = e === 8 ? t.parentNode : t, t = e.namespaceURI || null, e = e.tagName, t = Ii(t, e);
2895
2895
  }
2896
2896
  J(ft), K(ft, t);
2897
2897
  }
2898
2898
  function Hr() {
2899
2899
  J(ft), J(Vn), J(Qn);
2900
2900
  }
2901
- function Id(e) {
2901
+ function Ad(e) {
2902
2902
  ur(Qn.current);
2903
- var t = ur(ft.current), r = Ai(t, e.type);
2903
+ var t = ur(ft.current), r = Ii(t, e.type);
2904
2904
  t !== r && (K(Vn, e), K(ft, r));
2905
2905
  }
2906
2906
  function ts(e) {
@@ -3076,7 +3076,7 @@ function Kn(e, t, r, n) {
3076
3076
  function Vd() {
3077
3077
  return Je().memoizedState;
3078
3078
  }
3079
- function Ao(e, t, r, n) {
3079
+ function Io(e, t, r, n) {
3080
3080
  var o = dt();
3081
3081
  re.flags |= e, o.memoizedState = Kn(1 | t, r, void 0, n === void 0 ? null : n);
3082
3082
  }
@@ -3094,7 +3094,7 @@ function zl(e, t, r, n) {
3094
3094
  re.flags |= e, o.memoizedState = Kn(1 | t, r, l, n);
3095
3095
  }
3096
3096
  function vu(e, t) {
3097
- return Ao(8390656, 8, e, t);
3097
+ return Io(8390656, 8, e, t);
3098
3098
  }
3099
3099
  function is(e, t) {
3100
3100
  return zl(2048, 8, e, t);
@@ -3191,16 +3191,16 @@ function r_(e, t, r) {
3191
3191
  var al = { readContext: Ye, useCallback: ve, useContext: ve, useEffect: ve, useImperativeHandle: ve, useInsertionEffect: ve, useLayoutEffect: ve, useMemo: ve, useReducer: ve, useRef: ve, useState: ve, useDebugValue: ve, useDeferredValue: ve, useTransition: ve, useMutableSource: ve, useSyncExternalStore: ve, useId: ve, unstable_isNewReconciler: !1 }, hm = { readContext: Ye, useCallback: function(e, t) {
3192
3192
  return dt().memoizedState = [e, t === void 0 ? null : t], e;
3193
3193
  }, useContext: Ye, useEffect: vu, useImperativeHandle: function(e, t, r) {
3194
- return r = r != null ? r.concat([e]) : null, Ao(
3194
+ return r = r != null ? r.concat([e]) : null, Io(
3195
3195
  4194308,
3196
3196
  4,
3197
3197
  Xd.bind(null, t, e),
3198
3198
  r
3199
3199
  );
3200
3200
  }, useLayoutEffect: function(e, t) {
3201
- return Ao(4194308, 4, e, t);
3201
+ return Io(4194308, 4, e, t);
3202
3202
  }, useInsertionEffect: function(e, t) {
3203
- return Ao(4, 2, e, t);
3203
+ return Io(4, 2, e, t);
3204
3204
  }, useMemo: function(e, t) {
3205
3205
  var r = dt();
3206
3206
  return t = t === void 0 ? null : t, e = e(), r.memoizedState = [e, t], e;
@@ -3441,22 +3441,22 @@ function zu(e, t, r, n, o) {
3441
3441
  var l = !0;
3442
3442
  Zo(t);
3443
3443
  } else l = !1;
3444
- if (Dr(t, o), t.stateNode === null) Io(e, t), n_(t, r, n), oa(t, r, n, o), n = !0;
3444
+ if (Dr(t, o), t.stateNode === null) Ao(e, t), n_(t, r, n), oa(t, r, n, o), n = !0;
3445
3445
  else if (e === null) {
3446
3446
  var i = t.stateNode, a = t.memoizedProps;
3447
3447
  i.props = a;
3448
3448
  var s = i.context, u = r.contextType;
3449
3449
  typeof u == "object" && u !== null ? u = Ye(u) : (u = Re(r) ? pr : we.current, u = Gr(t, u));
3450
3450
  var c = r.getDerivedStateFromProps, p = typeof c == "function" || typeof i.getSnapshotBeforeUpdate == "function";
3451
- p || typeof i.UNSAFE_componentWillReceiveProps != "function" && typeof i.componentWillReceiveProps != "function" || (a !== n || s !== u) && xu(t, i, n, u), It = !1;
3451
+ p || typeof i.UNSAFE_componentWillReceiveProps != "function" && typeof i.componentWillReceiveProps != "function" || (a !== n || s !== u) && xu(t, i, n, u), At = !1;
3452
3452
  var d = t.memoizedState;
3453
- i.state = d, ol(t, n, i, o), s = t.memoizedState, a !== n || d !== s || Ne.current || It ? (typeof c == "function" && (na(t, r, c, n), s = t.memoizedState), (a = It || yu(t, r, a, n, d, s, u)) ? (p || typeof i.UNSAFE_componentWillMount != "function" && typeof i.componentWillMount != "function" || (typeof i.componentWillMount == "function" && i.componentWillMount(), typeof i.UNSAFE_componentWillMount == "function" && i.UNSAFE_componentWillMount()), typeof i.componentDidMount == "function" && (t.flags |= 4194308)) : (typeof i.componentDidMount == "function" && (t.flags |= 4194308), t.memoizedProps = n, t.memoizedState = s), i.props = n, i.state = s, i.context = u, n = a) : (typeof i.componentDidMount == "function" && (t.flags |= 4194308), n = !1);
3453
+ i.state = d, ol(t, n, i, o), s = t.memoizedState, a !== n || d !== s || Ne.current || At ? (typeof c == "function" && (na(t, r, c, n), s = t.memoizedState), (a = At || yu(t, r, a, n, d, s, u)) ? (p || typeof i.UNSAFE_componentWillMount != "function" && typeof i.componentWillMount != "function" || (typeof i.componentWillMount == "function" && i.componentWillMount(), typeof i.UNSAFE_componentWillMount == "function" && i.UNSAFE_componentWillMount()), typeof i.componentDidMount == "function" && (t.flags |= 4194308)) : (typeof i.componentDidMount == "function" && (t.flags |= 4194308), t.memoizedProps = n, t.memoizedState = s), i.props = n, i.state = s, i.context = u, n = a) : (typeof i.componentDidMount == "function" && (t.flags |= 4194308), n = !1);
3454
3454
  } else {
3455
- i = t.stateNode, Ad(e, t), a = t.memoizedProps, u = t.type === t.elementType ? a : rt(t.type, a), i.props = u, p = t.pendingProps, d = i.context, s = r.contextType, typeof s == "object" && s !== null ? s = Ye(s) : (s = Re(r) ? pr : we.current, s = Gr(t, s));
3455
+ i = t.stateNode, Id(e, t), a = t.memoizedProps, u = t.type === t.elementType ? a : rt(t.type, a), i.props = u, p = t.pendingProps, d = i.context, s = r.contextType, typeof s == "object" && s !== null ? s = Ye(s) : (s = Re(r) ? pr : we.current, s = Gr(t, s));
3456
3456
  var g = r.getDerivedStateFromProps;
3457
- (c = typeof g == "function" || typeof i.getSnapshotBeforeUpdate == "function") || typeof i.UNSAFE_componentWillReceiveProps != "function" && typeof i.componentWillReceiveProps != "function" || (a !== p || d !== s) && xu(t, i, n, s), It = !1, d = t.memoizedState, i.state = d, ol(t, n, i, o);
3457
+ (c = typeof g == "function" || typeof i.getSnapshotBeforeUpdate == "function") || typeof i.UNSAFE_componentWillReceiveProps != "function" && typeof i.componentWillReceiveProps != "function" || (a !== p || d !== s) && xu(t, i, n, s), At = !1, d = t.memoizedState, i.state = d, ol(t, n, i, o);
3458
3458
  var m = t.memoizedState;
3459
- a !== p || d !== m || Ne.current || It ? (typeof g == "function" && (na(t, r, g, n), m = t.memoizedState), (u = It || yu(t, r, u, n, d, m, s) || !1) ? (c || typeof i.UNSAFE_componentWillUpdate != "function" && typeof i.componentWillUpdate != "function" || (typeof i.componentWillUpdate == "function" && i.componentWillUpdate(n, m, s), typeof i.UNSAFE_componentWillUpdate == "function" && i.UNSAFE_componentWillUpdate(n, m, s)), typeof i.componentDidUpdate == "function" && (t.flags |= 4), typeof i.getSnapshotBeforeUpdate == "function" && (t.flags |= 1024)) : (typeof i.componentDidUpdate != "function" || a === e.memoizedProps && d === e.memoizedState || (t.flags |= 4), typeof i.getSnapshotBeforeUpdate != "function" || a === e.memoizedProps && d === e.memoizedState || (t.flags |= 1024), t.memoizedProps = n, t.memoizedState = m), i.props = n, i.state = m, i.context = s, n = u) : (typeof i.componentDidUpdate != "function" || a === e.memoizedProps && d === e.memoizedState || (t.flags |= 4), typeof i.getSnapshotBeforeUpdate != "function" || a === e.memoizedProps && d === e.memoizedState || (t.flags |= 1024), n = !1);
3459
+ a !== p || d !== m || Ne.current || At ? (typeof g == "function" && (na(t, r, g, n), m = t.memoizedState), (u = At || yu(t, r, u, n, d, m, s) || !1) ? (c || typeof i.UNSAFE_componentWillUpdate != "function" && typeof i.componentWillUpdate != "function" || (typeof i.componentWillUpdate == "function" && i.componentWillUpdate(n, m, s), typeof i.UNSAFE_componentWillUpdate == "function" && i.UNSAFE_componentWillUpdate(n, m, s)), typeof i.componentDidUpdate == "function" && (t.flags |= 4), typeof i.getSnapshotBeforeUpdate == "function" && (t.flags |= 1024)) : (typeof i.componentDidUpdate != "function" || a === e.memoizedProps && d === e.memoizedState || (t.flags |= 4), typeof i.getSnapshotBeforeUpdate != "function" || a === e.memoizedProps && d === e.memoizedState || (t.flags |= 1024), t.memoizedProps = n, t.memoizedState = m), i.props = n, i.state = m, i.context = s, n = u) : (typeof i.componentDidUpdate != "function" || a === e.memoizedProps && d === e.memoizedState || (t.flags |= 4), typeof i.getSnapshotBeforeUpdate != "function" || a === e.memoizedProps && d === e.memoizedState || (t.flags |= 1024), n = !1);
3460
3460
  }
3461
3461
  return aa(e, t, r, n, l, o);
3462
3462
  }
@@ -3602,7 +3602,7 @@ function d_(e, t, r) {
3602
3602
  }
3603
3603
  return t.child;
3604
3604
  }
3605
- function Io(e, t) {
3605
+ function Ao(e, t) {
3606
3606
  !(t.mode & 1) && e !== null && (e.alternate = null, t.alternate = null, t.flags |= 2);
3607
3607
  }
3608
3608
  function Et(e, t, r) {
@@ -3620,7 +3620,7 @@ function wm(e, t, r) {
3620
3620
  u_(t), Vr();
3621
3621
  break;
3622
3622
  case 5:
3623
- Id(t);
3623
+ Ad(t);
3624
3624
  break;
3625
3625
  case 1:
3626
3626
  Re(t.type) && Zo(t);
@@ -3686,7 +3686,7 @@ p_ = function(e, t, r, n) {
3686
3686
  default:
3687
3687
  typeof o.onClick != "function" && typeof n.onClick == "function" && (e.onclick = Yo);
3688
3688
  }
3689
- Ii(r, n);
3689
+ Ai(r, n);
3690
3690
  var i;
3691
3691
  r = null;
3692
3692
  for (u in o) if (!n.hasOwnProperty(u) && o.hasOwnProperty(u) && o[u] != null) if (u === "style") {
@@ -3797,7 +3797,7 @@ function km(e, t, r) {
3797
3797
  case "textarea":
3798
3798
  Ds(n, l), Y("invalid", n);
3799
3799
  }
3800
- Ii(r, l), o = null;
3800
+ Ai(r, l), o = null;
3801
3801
  for (var i in l) if (l.hasOwnProperty(i)) {
3802
3802
  var a = l[i];
3803
3803
  i === "children" ? typeof a == "string" ? n.textContent !== a && (l.suppressHydrationWarning !== !0 && ho(n.textContent, a, e), o = ["children", a]) : typeof a == "number" && n.textContent !== "" + a && (l.suppressHydrationWarning !== !0 && ho(
@@ -3866,7 +3866,7 @@ function km(e, t, r) {
3866
3866
  default:
3867
3867
  o = n;
3868
3868
  }
3869
- Ii(r, o), a = o;
3869
+ Ai(r, o), a = o;
3870
3870
  for (l in a) if (a.hasOwnProperty(l)) {
3871
3871
  var s = a[l];
3872
3872
  l === "style" ? Vc(e, s) : l === "dangerouslySetInnerHTML" ? (s = s ? s.__html : void 0, s != null && Uc(e, s)) : l === "children" ? typeof s == "string" ? (r !== "textarea" || s !== "") && Ln(e, s) : typeof s == "number" && Ln(e, "" + s) : l !== "suppressContentEditableWarning" && l !== "suppressHydrationWarning" && l !== "autoFocus" && (Rn.hasOwnProperty(l) ? s != null && l === "onScroll" && Y("scroll", e) : s != null && Ma(e, l, s, i));
@@ -3882,7 +3882,7 @@ function km(e, t, r) {
3882
3882
  n.value != null && e.setAttribute("value", "" + qt(n.value));
3883
3883
  break;
3884
3884
  case "select":
3885
- e.multiple = !!n.multiple, l = n.value, l != null ? Ar(e, !!n.multiple, l, !1) : n.defaultValue != null && Ar(
3885
+ e.multiple = !!n.multiple, l = n.value, l != null ? Ir(e, !!n.multiple, l, !1) : n.defaultValue != null && Ir(
3886
3886
  e,
3887
3887
  !!n.multiple,
3888
3888
  n.defaultValue,
@@ -4310,12 +4310,12 @@ function b_(e, t) {
4310
4310
  var d = o._wrapperState.wasMultiple;
4311
4311
  o._wrapperState.wasMultiple = !!l.multiple;
4312
4312
  var g = l.value;
4313
- g != null ? Ar(o, !!l.multiple, g, !1) : d !== !!l.multiple && (l.defaultValue != null ? Ar(
4313
+ g != null ? Ir(o, !!l.multiple, g, !1) : d !== !!l.multiple && (l.defaultValue != null ? Ir(
4314
4314
  o,
4315
4315
  !!l.multiple,
4316
4316
  l.defaultValue,
4317
4317
  !0
4318
- ) : Ar(o, !!l.multiple, l.multiple ? [] : "", !1));
4318
+ ) : Ir(o, !!l.multiple, l.multiple ? [] : "", !1));
4319
4319
  }
4320
4320
  o[Gn] = l;
4321
4321
  } catch (b) {
@@ -4663,13 +4663,13 @@ function Le(e, t) {
4663
4663
  var n = Ho(e, e === de ? he : 0);
4664
4664
  if (n === 0) r !== null && Gs(r), e.callbackNode = null, e.callbackPriority = 0;
4665
4665
  else if (t = n & -n, e.callbackPriority !== t) {
4666
- if (r != null && Gs(r), t === 1) e.tag === 0 ? cm(Au.bind(null, e)) : Pd(Au.bind(null, e)), im(function() {
4666
+ if (r != null && Gs(r), t === 1) e.tag === 0 ? cm(Iu.bind(null, e)) : Pd(Iu.bind(null, e)), im(function() {
4667
4667
  !(V & 6) && tr();
4668
4668
  }), r = null;
4669
4669
  else {
4670
4670
  switch (od(n)) {
4671
4671
  case 1:
4672
- r = Ia;
4672
+ r = Aa;
4673
4673
  break;
4674
4674
  case 4:
4675
4675
  r = td;
@@ -4796,7 +4796,7 @@ function Bt(e, t) {
4796
4796
  e[r] = -1, t &= ~n;
4797
4797
  }
4798
4798
  }
4799
- function Au(e) {
4799
+ function Iu(e) {
4800
4800
  if (V & 6) throw Error(C(327));
4801
4801
  $r();
4802
4802
  var t = Ho(e, 0);
@@ -5158,14 +5158,14 @@ function $r() {
5158
5158
  }
5159
5159
  return !1;
5160
5160
  }
5161
- function Iu(e, t, r) {
5161
+ function Au(e, t, r) {
5162
5162
  t = Xr(r, t), t = o_(e, t, 1), e = Qt(e, t, 1), t = Se(), e !== null && (Jn(e, 1, t), Le(e, t));
5163
5163
  }
5164
5164
  function oe(e, t, r) {
5165
- if (e.tag === 3) Iu(e, e, r);
5165
+ if (e.tag === 3) Au(e, e, r);
5166
5166
  else for (; t !== null; ) {
5167
5167
  if (t.tag === 3) {
5168
- Iu(t, e, r);
5168
+ Au(t, e, r);
5169
5169
  break;
5170
5170
  } else if (t.tag === 1) {
5171
5171
  var n = t.stateNode;
@@ -5216,7 +5216,7 @@ E_ = function(e, t, r) {
5216
5216
  switch (t.lanes = 0, t.tag) {
5217
5217
  case 2:
5218
5218
  var n = t.type;
5219
- Io(e, t), e = t.pendingProps;
5219
+ Ao(e, t), e = t.pendingProps;
5220
5220
  var o = Gr(t, we.current);
5221
5221
  Dr(t, r), o = os(null, t, n, e, o, r);
5222
5222
  var l = ls();
@@ -5224,7 +5224,7 @@ E_ = function(e, t, r) {
5224
5224
  case 16:
5225
5225
  n = t.elementType;
5226
5226
  e: {
5227
- switch (Io(e, t), e = t.pendingProps, o = n._init, n = o(n._payload), t.type = n, o = t.tag = Im(n), e = rt(n, e), o) {
5227
+ switch (Ao(e, t), e = t.pendingProps, o = n._init, n = o(n._payload), t.type = n, o = t.tag = Am(n), e = rt(n, e), o) {
5228
5228
  case 0:
5229
5229
  t = ia(null, t, n, e, r);
5230
5230
  break e;
@@ -5252,7 +5252,7 @@ E_ = function(e, t, r) {
5252
5252
  case 3:
5253
5253
  e: {
5254
5254
  if (u_(t), e === null) throw Error(C(387));
5255
- n = t.pendingProps, l = t.memoizedState, o = l.element, Ad(e, t), ol(t, n, null, r);
5255
+ n = t.pendingProps, l = t.memoizedState, o = l.element, Id(e, t), ol(t, n, null, r);
5256
5256
  var i = t.memoizedState;
5257
5257
  if (n = i.element, l.isDehydrated) if (l = { element: n, isDehydrated: !1, cache: i.cache, pendingSuspenseBoundaries: i.pendingSuspenseBoundaries, transitions: i.transitions }, t.updateQueue.baseState = l, t.memoizedState = l, t.flags & 256) {
5258
5258
  o = Xr(Error(C(423)), t), t = Tu(e, t, n, r, o);
@@ -5272,7 +5272,7 @@ E_ = function(e, t, r) {
5272
5272
  }
5273
5273
  return t;
5274
5274
  case 5:
5275
- return Id(t), e === null && ta(t), n = t.type, o = t.pendingProps, l = e !== null ? e.memoizedProps : null, i = o.children, qi(n, o) ? i = null : l !== null && qi(n, l) && (t.flags |= 32), s_(e, t), Ce(e, t, i, r), t.child;
5275
+ return Ad(t), e === null && ta(t), n = t.type, o = t.pendingProps, l = e !== null ? e.memoizedProps : null, i = o.children, qi(n, o) ? i = null : l !== null && qi(n, l) && (t.flags |= 32), s_(e, t), Ce(e, t, i, r), t.child;
5276
5276
  case 6:
5277
5277
  return e === null && ta(t), null;
5278
5278
  case 13:
@@ -5347,7 +5347,7 @@ E_ = function(e, t, r) {
5347
5347
  case 15:
5348
5348
  return i_(e, t, t.type, t.pendingProps, r);
5349
5349
  case 17:
5350
- return n = t.type, o = t.pendingProps, o = t.elementType === n ? o : rt(n, o), Io(e, t), t.tag = 1, Re(n) ? (e = !0, Zo(t)) : e = !1, Dr(t, r), n_(t, n, o), oa(t, n, o, r), aa(null, t, n, !0, e, r);
5350
+ return n = t.type, o = t.pendingProps, o = t.elementType === n ? o : rt(n, o), Ao(e, t), t.tag = 1, Re(n) ? (e = !0, Zo(t)) : e = !1, Dr(t, r), n_(t, n, o), oa(t, n, o, r), aa(null, t, n, !0, e, r);
5351
5351
  case 19:
5352
5352
  return d_(e, t, r);
5353
5353
  case 22:
@@ -5358,16 +5358,16 @@ E_ = function(e, t, r) {
5358
5358
  function z_(e, t) {
5359
5359
  return ed(e, t);
5360
5360
  }
5361
- function Am(e, t, r, n) {
5361
+ function Im(e, t, r, n) {
5362
5362
  this.tag = e, this.key = r, this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null, this.index = 0, this.ref = null, this.pendingProps = t, this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null, this.mode = n, this.subtreeFlags = this.flags = 0, this.deletions = null, this.childLanes = this.lanes = 0, this.alternate = null;
5363
5363
  }
5364
5364
  function Xe(e, t, r, n) {
5365
- return new Am(e, t, r, n);
5365
+ return new Im(e, t, r, n);
5366
5366
  }
5367
5367
  function ms(e) {
5368
5368
  return e = e.prototype, !(!e || !e.isReactComponent);
5369
5369
  }
5370
- function Im(e) {
5370
+ function Am(e) {
5371
5371
  if (typeof e == "function") return ms(e) ? 1 : 0;
5372
5372
  if (e != null) {
5373
5373
  if (e = e.$$typeof, e === Ra) return 11;
@@ -5395,14 +5395,14 @@ function Do(e, t, r, n, o, l) {
5395
5395
  return e = Xe(13, r, t, o), e.elementType = Pi, e.lanes = l, e;
5396
5396
  case Fi:
5397
5397
  return e = Xe(19, r, t, o), e.elementType = Fi, e.lanes = l, e;
5398
- case Ic:
5398
+ case Ac:
5399
5399
  return jl(r, o, l, t);
5400
5400
  default:
5401
5401
  if (typeof e == "object" && e !== null) switch (e.$$typeof) {
5402
5402
  case Lc:
5403
5403
  i = 10;
5404
5404
  break e;
5405
- case Ac:
5405
+ case Ic:
5406
5406
  i = 9;
5407
5407
  break e;
5408
5408
  case Ra:
@@ -5411,7 +5411,7 @@ function Do(e, t, r, n, o, l) {
5411
5411
  case La:
5412
5412
  i = 14;
5413
5413
  break e;
5414
- case At:
5414
+ case It:
5415
5415
  i = 16, n = null;
5416
5416
  break e;
5417
5417
  }
@@ -5423,7 +5423,7 @@ function _r(e, t, r, n) {
5423
5423
  return e = Xe(7, e, n, t), e.lanes = r, e;
5424
5424
  }
5425
5425
  function jl(e, t, r, n) {
5426
- return e = Xe(22, e, n, t), e.elementType = Ic, e.lanes = r, e.stateNode = { isHidden: !1 }, e;
5426
+ return e = Xe(22, e, n, t), e.elementType = Ac, e.lanes = r, e.stateNode = { isHidden: !1 }, e;
5427
5427
  }
5428
5428
  function ci(e, t, r) {
5429
5429
  return e = Xe(6, e, null, t), e.lanes = r, e;
@@ -5645,7 +5645,7 @@ Di = function(e, t, r) {
5645
5645
  $c(e, r);
5646
5646
  break;
5647
5647
  case "select":
5648
- t = r.value, t != null && Ar(e, !!r.multiple, t, !1);
5648
+ t = r.value, t != null && Ir(e, !!r.multiple, t, !1);
5649
5649
  }
5650
5650
  };
5651
5651
  Xc = _s;
@@ -5982,14 +5982,14 @@ const Te = async (e, t = "Launch failed") => {
5982
5982
  body: JSON.stringify({ planId: e })
5983
5983
  });
5984
5984
  await Te(t);
5985
- }, Ah = async (e) => {
5985
+ }, Ih = async (e) => {
5986
5986
  const t = await G(N("/api/agent/launch-fix-review"), {
5987
5987
  method: "POST",
5988
5988
  headers: { "Content-Type": "application/json" },
5989
5989
  body: JSON.stringify({ planId: e })
5990
5990
  });
5991
5991
  await Te(t);
5992
- }, Ih = async (e) => {
5992
+ }, Ah = async (e) => {
5993
5993
  const t = await G(N("/api/agent/launch-pr-review"), {
5994
5994
  method: "POST",
5995
5995
  headers: { "Content-Type": "application/json" },
@@ -6048,7 +6048,7 @@ async function yr(e, t) {
6048
6048
  const r = await e.json().catch(() => ({ error: t }));
6049
6049
  throw r.kind ? Object.assign(new Error(r.error), { kind: r.kind }) : new Error(r.error);
6050
6050
  }
6051
- const A_ = async () => {
6051
+ const I_ = async () => {
6052
6052
  const e = await G(N("/api/git/status"), {
6053
6053
  signal: AbortSignal.timeout(en)
6054
6054
  });
@@ -6095,14 +6095,14 @@ const A_ = async () => {
6095
6095
  signal: AbortSignal.timeout(en)
6096
6096
  });
6097
6097
  await yr(e, "Pull failed");
6098
- }, I_ = async () => {
6098
+ }, A_ = async () => {
6099
6099
  const e = await fetch(N("/api/capabilities"));
6100
6100
  if (!e.ok) return null;
6101
6101
  const t = await e.json();
6102
6102
  return { capabilities: t.capabilities, version: t.version ?? null };
6103
6103
  }, Yh = async () => {
6104
6104
  var e;
6105
- return ((e = await I_()) == null ? void 0 : e.capabilities) ?? null;
6105
+ return ((e = await A_()) == null ? void 0 : e.capabilities) ?? null;
6106
6106
  }, O_ = async () => {
6107
6107
  const e = await fetch(N("/api/agent/auth-status"));
6108
6108
  return e.ok ? await e.json() : null;
@@ -6110,31 +6110,31 @@ const A_ = async () => {
6110
6110
  function Zh() {
6111
6111
  const [e, t] = S.useState(null), [r, n] = S.useState(0), [o, l] = S.useState(0), [i, a] = S.useState(null), [s, u] = S.useState(!1), [c, p] = S.useState(void 0), [d, g] = S.useState(null), [m, b] = S.useState(!1), [x, f] = S.useState(0), [_, h] = S.useState(!1), [y, w] = S.useState(null), [k, E] = S.useState(!1), z = S.useRef([]), M = S.useRef(null), F = S.useRef(!1), O = S.useCallback(async () => {
6112
6112
  try {
6113
- const { branch: T, entries: A, ahead: Q, branchHygiene: ee } = await A_();
6114
- z.current = A.map((Ze) => Ze.path), t(T), n(Q), l(A.length), a(ee);
6113
+ const { branch: T, entries: I, ahead: Q, branchHygiene: ee } = await I_();
6114
+ z.current = I.map((Ze) => Ze.path), t(T), n(Q), l(I.length), a(ee);
6115
6115
  } catch {
6116
6116
  }
6117
6117
  }, []), L = S.useCallback(async () => {
6118
6118
  var T;
6119
6119
  try {
6120
- const A = await L_(), Q = A.find((ee) => Jh.includes(ee.status));
6121
- u(Q !== void 0), p(Q == null ? void 0 : Q.status), g(((T = A.find((ee) => ee.rateLimit)) == null ? void 0 : T.rateLimit) ?? null);
6120
+ const I = await L_(), Q = I.find((ee) => Jh.includes(ee.status));
6121
+ u(Q !== void 0), p(Q == null ? void 0 : Q.status), g(((T = I.find((ee) => ee.rateLimit)) == null ? void 0 : T.rateLimit) ?? null);
6122
6122
  } catch {
6123
6123
  }
6124
6124
  }, []);
6125
6125
  S.useEffect(() => {
6126
6126
  O(), L(), Yh().then(
6127
- (T) => f((T == null ? void 0 : T.filter((A) => A.status !== "ok").length) ?? 0)
6127
+ (T) => f((T == null ? void 0 : T.filter((I) => I.status !== "ok").length) ?? 0)
6128
6128
  ), O_().then((T) => b((T == null ? void 0 : T.loggedIn) === !1));
6129
6129
  }, [O, L]), S.useEffect(() => {
6130
- const T = {}, A = (ee, Ze, on) => {
6130
+ const T = {}, I = (ee, Ze, on) => {
6131
6131
  T[ee] && clearTimeout(T[ee]), T[ee] = setTimeout(Ze, on);
6132
6132
  }, Q = xs((ee) => {
6133
6133
  if (ee.type === "agent") {
6134
- A("agent", () => L(), 120);
6134
+ I("agent", () => L(), 120);
6135
6135
  return;
6136
6136
  }
6137
- ee.message === "changed" && A(
6137
+ ee.message === "changed" && I(
6138
6138
  "activity",
6139
6139
  () => {
6140
6140
  O(), L();
@@ -6147,11 +6147,11 @@ function Zh() {
6147
6147
  Q();
6148
6148
  };
6149
6149
  }, [O, L]);
6150
- const $ = S.useCallback(async (T, A) => {
6150
+ const $ = S.useCallback(async (T, I) => {
6151
6151
  if (!M.current) {
6152
6152
  M.current = T, w(T);
6153
6153
  try {
6154
- await A();
6154
+ await I();
6155
6155
  } catch {
6156
6156
  } finally {
6157
6157
  M.current = null, w(null);
@@ -6175,8 +6175,8 @@ function Zh() {
6175
6175
  const T = z.current;
6176
6176
  F.current || M.current || T.length === 0 || (F.current = !0, h(!0), (async () => {
6177
6177
  try {
6178
- const { title: A, message: Q } = await ya(T);
6179
- await va(T, A, Q || void 0), await O();
6178
+ const { title: I, message: Q } = await ya(T);
6179
+ await va(T, I, Q || void 0), await O();
6180
6180
  } catch {
6181
6181
  } finally {
6182
6182
  F.current = !1, h(!1);
@@ -6194,13 +6194,13 @@ function Zh() {
6194
6194
  E(!1);
6195
6195
  }
6196
6196
  }, []), R = S.useCallback(
6197
- async (T, A) => {
6197
+ async (T, I) => {
6198
6198
  const Q = z.current, ee = T.trim();
6199
6199
  if (F.current || M.current || Q.length === 0 || !ee)
6200
6200
  return !1;
6201
6201
  F.current = !0, h(!0);
6202
6202
  try {
6203
- return await va(Q, ee, (A == null ? void 0 : A.trim()) || void 0), await O(), !0;
6203
+ return await va(Q, ee, (I == null ? void 0 : I.trim()) || void 0), await O(), !0;
6204
6204
  } catch {
6205
6205
  return !1;
6206
6206
  } finally {
@@ -6316,11 +6316,11 @@ var d0 = $_.exports;
6316
6316
  * This source code is licensed under the MIT license found in the
6317
6317
  * LICENSE file in the root directory of this source tree.
6318
6318
  */
6319
- var Al = S, _0 = d0;
6319
+ var Il = S, _0 = d0;
6320
6320
  function p0(e, t) {
6321
6321
  return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t;
6322
6322
  }
6323
- var f0 = typeof Object.is == "function" ? Object.is : p0, m0 = _0.useSyncExternalStore, h0 = Al.useRef, g0 = Al.useEffect, b0 = Al.useMemo, v0 = Al.useDebugValue;
6323
+ var f0 = typeof Object.is == "function" ? Object.is : p0, m0 = _0.useSyncExternalStore, h0 = Il.useRef, g0 = Il.useEffect, b0 = Il.useMemo, v0 = Il.useDebugValue;
6324
6324
  D_.useSyncExternalStoreWithSelector = function(e, t, r, n, o) {
6325
6325
  var l = h0(null);
6326
6326
  if (l.current === null) {
@@ -6452,7 +6452,7 @@ class ks {
6452
6452
  return n;
6453
6453
  }
6454
6454
  }
6455
- function Il(e) {
6455
+ function Al(e) {
6456
6456
  const t = e[0], r = e[1];
6457
6457
  return Math.sqrt(Math.pow(t[0] - r[0], 2) + Math.pow(t[1] - r[1], 2));
6458
6458
  }
@@ -6461,7 +6461,7 @@ class C0 extends ks {
6461
6461
  let n = r.hachureGap;
6462
6462
  n < 0 && (n = 4 * r.strokeWidth), n = Math.max(n, 0.1);
6463
6463
  const o = ro(t, Object.assign({}, r, { hachureGap: n })), l = Math.PI / 180 * r.hachureAngle, i = [], a = 0.5 * n * Math.cos(l), s = 0.5 * n * Math.sin(l);
6464
- for (const [u, c] of o) Il([u, c]) && i.push([[u[0] - a, u[1] + s], [...c]], [[u[0] + a, u[1] - s], [...c]]);
6464
+ for (const [u, c] of o) Al([u, c]) && i.push([[u[0] - a, u[1] + s], [...c]], [[u[0] + a, u[1] - s], [...c]]);
6465
6465
  return { type: "fillSketch", ops: this.renderLines(i, r) };
6466
6466
  }
6467
6467
  }
@@ -6487,7 +6487,7 @@ class E0 {
6487
6487
  l < 0 && (l = r.strokeWidth / 2);
6488
6488
  const i = o / 4;
6489
6489
  for (const a of t) {
6490
- const s = Il(a), u = s / o, c = Math.ceil(u) - 1, p = s - c * o, d = (a[0][0] + a[1][0]) / 2 - o / 4, g = Math.min(a[0][1], a[1][1]);
6490
+ const s = Al(a), u = s / o, c = Math.ceil(u) - 1, p = s - c * o, d = (a[0][0] + a[1][0]) / 2 - o / 4, g = Math.min(a[0][1], a[1][1]);
6491
6491
  for (let m = 0; m < c; m++) {
6492
6492
  const b = g + p + m * o, x = d - i + 2 * Math.random() * i, f = b - i + 2 * Math.random() * i, _ = this.helper.ellipse(x, f, l, l, r);
6493
6493
  n.push(..._.ops);
@@ -6507,7 +6507,7 @@ class z0 {
6507
6507
  dashedLine(t, r) {
6508
6508
  const n = r.dashOffset < 0 ? r.hachureGap < 0 ? 4 * r.strokeWidth : r.hachureGap : r.dashOffset, o = r.dashGap < 0 ? r.hachureGap < 0 ? 4 * r.strokeWidth : r.hachureGap : r.dashGap, l = [];
6509
6509
  return t.forEach((i) => {
6510
- const a = Il(i), s = Math.floor(a / (n + o)), u = (a + o - s * (n + o)) / 2;
6510
+ const a = Al(i), s = Math.floor(a / (n + o)), u = (a + o - s * (n + o)) / 2;
6511
6511
  let c = i[0], p = i[1];
6512
6512
  c[0] > p[0] && (c = i[1], p = i[0]);
6513
6513
  const d = Math.atan((p[1] - c[1]) / (p[0] - c[0]));
@@ -6529,7 +6529,7 @@ class T0 {
6529
6529
  zigzagLines(t, r, n) {
6530
6530
  const o = [];
6531
6531
  return t.forEach((l) => {
6532
- const i = Il(l), a = Math.round(i / (2 * r));
6532
+ const i = Al(l), a = Math.round(i / (2 * r));
6533
6533
  let s = l[0], u = l[1];
6534
6534
  s[0] > u[0] && (s = l[1], u = l[0]);
6535
6535
  const c = Math.atan((u[1] - s[1]) / (u[0] - s[0]));
@@ -6743,7 +6743,7 @@ function V_(e, t, r, n, o, l, i, a, s, u) {
6743
6743
  }
6744
6744
  }
6745
6745
  const j0 = { randOffset: function(e, t) {
6746
- return I(e, t);
6746
+ return A(e, t);
6747
6747
  }, randOffsetWithRange: function(e, t, r) {
6748
6748
  return pl(e, t, r);
6749
6749
  }, ellipse: function(e, t, r, n, o) {
@@ -6788,7 +6788,7 @@ function H_(e, t, r) {
6788
6788
  const n = Math.sqrt(2 * Math.PI * Math.sqrt((Math.pow(e / 2, 2) + Math.pow(t / 2, 2)) / 2)), o = Math.ceil(Math.max(r.curveStepCount, r.curveStepCount / Math.sqrt(200) * n)), l = 2 * Math.PI / o;
6789
6789
  let i = Math.abs(e / 2), a = Math.abs(t / 2);
6790
6790
  const s = 1 - r.curveFitting;
6791
- return i += I(i * s, r), a += I(a * s, r), { increment: l, rx: i, ry: a };
6791
+ return i += A(i * s, r), a += A(a * s, r), { increment: l, rx: i, ry: a };
6792
6792
  }
6793
6793
  function xa(e, t, r, n) {
6794
6794
  const [o, l] = Hu(n.increment, e, t, n.rx, n.ry, 1, n.increment * pl(0.1, pl(0.4, 1, r), r), r);
@@ -6802,7 +6802,7 @@ function xa(e, t, r, n) {
6802
6802
  function Gu(e, t, r, n, o, l, i, a, s) {
6803
6803
  const u = e, c = t;
6804
6804
  let p = Math.abs(r / 2), d = Math.abs(n / 2);
6805
- p += I(0.01 * p, s), d += I(0.01 * d, s);
6805
+ p += A(0.01 * p, s), d += A(0.01 * d, s);
6806
6806
  let g = o, m = l;
6807
6807
  for (; g < 0; ) g += 2 * Math.PI, m += 2 * Math.PI;
6808
6808
  m - g > 2 * Math.PI && (g = 0, m = 2 * Math.PI);
@@ -6838,8 +6838,8 @@ function hi(e, t) {
6838
6838
  for (const n of e) if (n.length) {
6839
6839
  const o = t.maxRandomnessOffset || 0, l = n.length;
6840
6840
  if (l > 2) {
6841
- r.push({ op: "move", data: [n[0][0] + I(o, t), n[0][1] + I(o, t)] });
6842
- for (let i = 1; i < l; i++) r.push({ op: "lineTo", data: [n[i][0] + I(o, t), n[i][1] + I(o, t)] });
6841
+ r.push({ op: "move", data: [n[0][0] + A(o, t), n[0][1] + A(o, t)] });
6842
+ for (let i = 1; i < l; i++) r.push({ op: "lineTo", data: [n[i][0] + A(o, t), n[i][1] + A(o, t)] });
6843
6843
  }
6844
6844
  }
6845
6845
  return { type: "fillPath", ops: r };
@@ -6879,7 +6879,7 @@ function X_(e) {
6879
6879
  function pl(e, t, r, n = 1) {
6880
6880
  return r.roughness * n * (X_(r) * (t - e) + e);
6881
6881
  }
6882
- function I(e, t, r = 1) {
6882
+ function A(e, t, r = 1) {
6883
6883
  return pl(-e, e, t, r);
6884
6884
  }
6885
6885
  function Jt(e, t, r, n, o, l = !1) {
@@ -6896,15 +6896,15 @@ function wa(e, t, r, n, o, l, i) {
6896
6896
  c * c * 100 > a && (c = s / 10);
6897
6897
  const p = c / 2, d = 0.2 + 0.2 * X_(o);
6898
6898
  let g = o.bowing * o.maxRandomnessOffset * (n - t) / 200, m = o.bowing * o.maxRandomnessOffset * (e - r) / 200;
6899
- g = I(g, o, u), m = I(m, o, u);
6900
- const b = [], x = () => I(p, o, u), f = () => I(c, o, u), _ = o.preserveVertices;
6901
- return i ? b.push({ op: "move", data: [e + (_ ? 0 : x()), t + (_ ? 0 : x())] }) : b.push({ op: "move", data: [e + (_ ? 0 : I(c, o, u)), t + (_ ? 0 : I(c, o, u))] }), i ? b.push({ op: "bcurveTo", data: [g + e + (r - e) * d + x(), m + t + (n - t) * d + x(), g + e + 2 * (r - e) * d + x(), m + t + 2 * (n - t) * d + x(), r + (_ ? 0 : x()), n + (_ ? 0 : x())] }) : b.push({ op: "bcurveTo", data: [g + e + (r - e) * d + f(), m + t + (n - t) * d + f(), g + e + 2 * (r - e) * d + f(), m + t + 2 * (n - t) * d + f(), r + (_ ? 0 : f()), n + (_ ? 0 : f())] }), b;
6899
+ g = A(g, o, u), m = A(m, o, u);
6900
+ const b = [], x = () => A(p, o, u), f = () => A(c, o, u), _ = o.preserveVertices;
6901
+ return i ? b.push({ op: "move", data: [e + (_ ? 0 : x()), t + (_ ? 0 : x())] }) : b.push({ op: "move", data: [e + (_ ? 0 : A(c, o, u)), t + (_ ? 0 : A(c, o, u))] }), i ? b.push({ op: "bcurveTo", data: [g + e + (r - e) * d + x(), m + t + (n - t) * d + x(), g + e + 2 * (r - e) * d + x(), m + t + 2 * (n - t) * d + x(), r + (_ ? 0 : x()), n + (_ ? 0 : x())] }) : b.push({ op: "bcurveTo", data: [g + e + (r - e) * d + f(), m + t + (n - t) * d + f(), g + e + 2 * (r - e) * d + f(), m + t + 2 * (n - t) * d + f(), r + (_ ? 0 : f()), n + (_ ? 0 : f())] }), b;
6902
6902
  }
6903
6903
  function Co(e, t, r) {
6904
6904
  if (!e.length) return [];
6905
6905
  const n = [];
6906
- n.push([e[0][0] + I(t, r), e[0][1] + I(t, r)]), n.push([e[0][0] + I(t, r), e[0][1] + I(t, r)]);
6907
- for (let o = 1; o < e.length; o++) n.push([e[o][0] + I(t, r), e[o][1] + I(t, r)]), o === e.length - 1 && n.push([e[o][0] + I(t, r), e[o][1] + I(t, r)]);
6906
+ n.push([e[0][0] + A(t, r), e[0][1] + A(t, r)]), n.push([e[0][0] + A(t, r), e[0][1] + A(t, r)]);
6907
+ for (let o = 1; o < e.length; o++) n.push([e[o][0] + A(t, r), e[o][1] + A(t, r)]), o === e.length - 1 && n.push([e[o][0] + A(t, r), e[o][1] + A(t, r)]);
6908
6908
  return fl(n, null, r);
6909
6909
  }
6910
6910
  function fl(e, t, r) {
@@ -6929,28 +6929,28 @@ function Hu(e, t, r, n, o, l, i, a) {
6929
6929
  }
6930
6930
  u.push([t + n * Math.cos(0), r + o * Math.sin(0)]), u.push([t + n * Math.cos(e), r + o * Math.sin(e)]);
6931
6931
  } else {
6932
- const c = I(0.5, a) - Math.PI / 2;
6933
- u.push([I(l, a) + t + 0.9 * n * Math.cos(c - e), I(l, a) + r + 0.9 * o * Math.sin(c - e)]);
6932
+ const c = A(0.5, a) - Math.PI / 2;
6933
+ u.push([A(l, a) + t + 0.9 * n * Math.cos(c - e), A(l, a) + r + 0.9 * o * Math.sin(c - e)]);
6934
6934
  const p = 2 * Math.PI + c - 0.01;
6935
6935
  for (let d = c; d < p; d += e) {
6936
- const g = [I(l, a) + t + n * Math.cos(d), I(l, a) + r + o * Math.sin(d)];
6936
+ const g = [A(l, a) + t + n * Math.cos(d), A(l, a) + r + o * Math.sin(d)];
6937
6937
  s.push(g), u.push(g);
6938
6938
  }
6939
- u.push([I(l, a) + t + n * Math.cos(c + 2 * Math.PI + 0.5 * i), I(l, a) + r + o * Math.sin(c + 2 * Math.PI + 0.5 * i)]), u.push([I(l, a) + t + 0.98 * n * Math.cos(c + i), I(l, a) + r + 0.98 * o * Math.sin(c + i)]), u.push([I(l, a) + t + 0.9 * n * Math.cos(c + 0.5 * i), I(l, a) + r + 0.9 * o * Math.sin(c + 0.5 * i)]);
6939
+ u.push([A(l, a) + t + n * Math.cos(c + 2 * Math.PI + 0.5 * i), A(l, a) + r + o * Math.sin(c + 2 * Math.PI + 0.5 * i)]), u.push([A(l, a) + t + 0.98 * n * Math.cos(c + i), A(l, a) + r + 0.98 * o * Math.sin(c + i)]), u.push([A(l, a) + t + 0.9 * n * Math.cos(c + 0.5 * i), A(l, a) + r + 0.9 * o * Math.sin(c + 0.5 * i)]);
6940
6940
  }
6941
6941
  return [u, s];
6942
6942
  }
6943
6943
  function Xu(e, t, r, n, o, l, i, a, s) {
6944
- const u = l + I(0.1, s), c = [];
6945
- c.push([I(a, s) + t + 0.9 * n * Math.cos(u - e), I(a, s) + r + 0.9 * o * Math.sin(u - e)]);
6946
- for (let p = u; p <= i; p += e) c.push([I(a, s) + t + n * Math.cos(p), I(a, s) + r + o * Math.sin(p)]);
6944
+ const u = l + A(0.1, s), c = [];
6945
+ c.push([A(a, s) + t + 0.9 * n * Math.cos(u - e), A(a, s) + r + 0.9 * o * Math.sin(u - e)]);
6946
+ for (let p = u; p <= i; p += e) c.push([A(a, s) + t + n * Math.cos(p), A(a, s) + r + o * Math.sin(p)]);
6947
6947
  return c.push([t + n * Math.cos(i), r + o * Math.sin(i)]), c.push([t + n * Math.cos(i), r + o * Math.sin(i)]), fl(c, null, s);
6948
6948
  }
6949
6949
  function N0(e, t, r, n, o, l, i, a) {
6950
6950
  const s = [], u = [a.maxRandomnessOffset || 1, (a.maxRandomnessOffset || 1) + 0.3];
6951
6951
  let c = [0, 0];
6952
6952
  const p = a.disableMultiStroke ? 1 : 2, d = a.preserveVertices;
6953
- for (let g = 0; g < p; g++) g === 0 ? s.push({ op: "move", data: [i[0], i[1]] }) : s.push({ op: "move", data: [i[0] + (d ? 0 : I(u[0], a)), i[1] + (d ? 0 : I(u[0], a))] }), c = d ? [o, l] : [o + I(u[g], a), l + I(u[g], a)], s.push({ op: "bcurveTo", data: [e + I(u[g], a), t + I(u[g], a), r + I(u[g], a), n + I(u[g], a), c[0], c[1]] });
6953
+ for (let g = 0; g < p; g++) g === 0 ? s.push({ op: "move", data: [i[0], i[1]] }) : s.push({ op: "move", data: [i[0] + (d ? 0 : A(u[0], a)), i[1] + (d ? 0 : A(u[0], a))] }), c = d ? [o, l] : [o + A(u[g], a), l + A(u[g], a)], s.push({ op: "bcurveTo", data: [e + A(u[g], a), t + A(u[g], a), r + A(u[g], a), n + A(u[g], a), c[0], c[1]] });
6954
6954
  return s;
6955
6955
  }
6956
6956
  function mn(e) {
@@ -7026,7 +7026,7 @@ function gi(e, t = 0.15, r) {
7026
7026
  ka(e, 3 * l, t, n);
7027
7027
  return r && r > 0 ? ml(n, 0, n.length, r) : n;
7028
7028
  }
7029
- const Ae = "none";
7029
+ const Ie = "none";
7030
7030
  let hl = class {
7031
7031
  constructor(t) {
7032
7032
  this.defaultOptions = { maxRandomnessOffset: 2, roughness: 1, bowing: 1, stroke: "#000", strokeWidth: 1, curveTightness: 0, curveFitting: 0.95, curveStepCount: 9, fillStyle: "hachure", fillWeight: -1, hachureAngle: -41, hachureGap: -1, dashOffset: -1, dashGap: -1, zigzagOffset: -1, seed: 0, disableMultiStroke: !1, disableMultiStrokeFill: !1, preserveVertices: !1, fillShapeRoughnessGain: 0.8 }, this.config = t || {}, this.config.options && (this.defaultOptions = this._o(this.config.options));
@@ -7050,7 +7050,7 @@ let hl = class {
7050
7050
  const u = [[t, r], [t + n, r], [t + n, r + o], [t, r + o]];
7051
7051
  i.fillStyle === "solid" ? a.push(hi([u], i)) : a.push(wr([u], i));
7052
7052
  }
7053
- return i.stroke !== Ae && a.push(s), this._d("rectangle", a, i);
7053
+ return i.stroke !== Ie && a.push(s), this._d("rectangle", a, i);
7054
7054
  }
7055
7055
  ellipse(t, r, n, o, l) {
7056
7056
  const i = this._o(l), a = [], s = H_(n, o, i), u = xa(t, r, i, s);
@@ -7058,7 +7058,7 @@ let hl = class {
7058
7058
  const c = xa(t, r, i, s).opset;
7059
7059
  c.type = "fillPath", a.push(c);
7060
7060
  } else a.push(wr([u.estimatedPoints], i));
7061
- return i.stroke !== Ae && a.push(u.opset), this._d("ellipse", a, i);
7061
+ return i.stroke !== Ie && a.push(u.opset), this._d("ellipse", a, i);
7062
7062
  }
7063
7063
  circle(t, r, n, o) {
7064
7064
  const l = this.ellipse(t, r, n, n, o);
@@ -7078,7 +7078,7 @@ let hl = class {
7078
7078
  } else c.push(function(d, g, m, b, x, f, _) {
7079
7079
  const h = d, y = g;
7080
7080
  let w = Math.abs(m / 2), k = Math.abs(b / 2);
7081
- w += I(0.01 * w, _), k += I(0.01 * k, _);
7081
+ w += A(0.01 * w, _), k += A(0.01 * k, _);
7082
7082
  let E = x, z = f;
7083
7083
  for (; E < 0; ) E += 2 * Math.PI, z += 2 * Math.PI;
7084
7084
  z - E > 2 * Math.PI && (E = 0, z = 2 * Math.PI);
@@ -7086,11 +7086,11 @@ let hl = class {
7086
7086
  for (let O = E; O <= z; O += M) F.push([h + w * Math.cos(O), y + k * Math.sin(O)]);
7087
7087
  return F.push([h + w * Math.cos(z), y + k * Math.sin(z)]), F.push([h, y]), wr([F], _);
7088
7088
  }(t, r, n, o, l, i, u));
7089
- return u.stroke !== Ae && c.push(p), this._d("arc", c, u);
7089
+ return u.stroke !== Ie && c.push(p), this._d("arc", c, u);
7090
7090
  }
7091
7091
  curve(t, r) {
7092
7092
  const n = this._o(r), o = [], l = Uu(t, n);
7093
- if (n.fill && n.fill !== Ae) if (n.fillStyle === "solid") {
7093
+ if (n.fill && n.fill !== Ie) if (n.fillStyle === "solid") {
7094
7094
  const i = Uu(t, Object.assign(Object.assign({}, n), { disableMultiStroke: !0, roughness: n.roughness ? n.roughness + n.fillShapeRoughnessGain : 0 }));
7095
7095
  o.push({ type: "fillPath", ops: this._mergedShape(i.ops) });
7096
7096
  } else {
@@ -7101,17 +7101,17 @@ let hl = class {
7101
7101
  }
7102
7102
  i.length && o.push(wr([i], n));
7103
7103
  }
7104
- return n.stroke !== Ae && o.push(l), this._d("curve", o, n);
7104
+ return n.stroke !== Ie && o.push(l), this._d("curve", o, n);
7105
7105
  }
7106
7106
  polygon(t, r) {
7107
7107
  const n = this._o(r), o = [], l = $o(t, !0, n);
7108
- return n.fill && (n.fillStyle === "solid" ? o.push(hi([t], n)) : o.push(wr([t], n))), n.stroke !== Ae && o.push(l), this._d("polygon", o, n);
7108
+ return n.fill && (n.fillStyle === "solid" ? o.push(hi([t], n)) : o.push(wr([t], n))), n.stroke !== Ie && o.push(l), this._d("polygon", o, n);
7109
7109
  }
7110
7110
  path(t, r) {
7111
7111
  const n = this._o(r), o = [];
7112
7112
  if (!t) return this._d("path", o, n);
7113
7113
  t = (t || "").replace(/\n/g, " ").replace(/(-\s)/g, "-").replace("/(ss)/g", " ");
7114
- const l = n.fill && n.fill !== "transparent" && n.fill !== Ae, i = n.stroke !== Ae, a = !!(n.simplification && n.simplification < 1), s = function(c, p, d) {
7114
+ const l = n.fill && n.fill !== "transparent" && n.fill !== Ie, i = n.stroke !== Ie, a = !!(n.simplification && n.simplification < 1), s = function(c, p, d) {
7115
7115
  const g = G_(U_(Cs(c))), m = [];
7116
7116
  let b = [], x = [0, 0], f = [];
7117
7117
  const _ = () => {
@@ -7176,10 +7176,10 @@ let hl = class {
7176
7176
  let i = null;
7177
7177
  switch (l.type) {
7178
7178
  case "path":
7179
- i = { d: this.opsToPath(l), stroke: n.stroke, strokeWidth: n.strokeWidth, fill: Ae };
7179
+ i = { d: this.opsToPath(l), stroke: n.stroke, strokeWidth: n.strokeWidth, fill: Ie };
7180
7180
  break;
7181
7181
  case "fillPath":
7182
- i = { d: this.opsToPath(l), stroke: Ae, strokeWidth: 0, fill: n.fill || Ae };
7182
+ i = { d: this.opsToPath(l), stroke: Ie, strokeWidth: 0, fill: n.fill || Ie };
7183
7183
  break;
7184
7184
  case "fillSketch":
7185
7185
  i = this.fillSketch(l, n);
@@ -7190,12 +7190,12 @@ let hl = class {
7190
7190
  }
7191
7191
  fillSketch(t, r) {
7192
7192
  let n = r.fillWeight;
7193
- return n < 0 && (n = r.strokeWidth / 2), { d: this.opsToPath(t), stroke: r.fill || Ae, strokeWidth: n, fill: Ae };
7193
+ return n < 0 && (n = r.strokeWidth / 2), { d: this.opsToPath(t), stroke: r.fill || Ie, strokeWidth: n, fill: Ie };
7194
7194
  }
7195
7195
  _mergedShape(t) {
7196
7196
  return t.filter((r, n) => n === 0 || r.op !== "move");
7197
7197
  }
7198
- }, A0 = class {
7198
+ }, I0 = class {
7199
7199
  constructor(t, r) {
7200
7200
  this.canvas = t, this.ctx = this.canvas.getContext("2d"), this.gen = new hl(r);
7201
7201
  }
@@ -7280,7 +7280,7 @@ let hl = class {
7280
7280
  }
7281
7281
  };
7282
7282
  const So = "http://www.w3.org/2000/svg";
7283
- class I0 {
7283
+ class A0 {
7284
7284
  constructor(t, r) {
7285
7285
  this.svg = t, this.gen = new hl(r);
7286
7286
  }
@@ -7354,7 +7354,7 @@ class I0 {
7354
7354
  return this.draw(n);
7355
7355
  }
7356
7356
  }
7357
- var K_ = { canvas: (e, t) => new A0(e, t), svg: (e, t) => new I0(e, t), generator: (e) => new hl(e), newSeed: () => hl.newSeed() };
7357
+ var K_ = { canvas: (e, t) => new I0(e, t), svg: (e, t) => new A0(e, t), generator: (e) => new hl(e), newSeed: () => hl.newSeed() };
7358
7358
  K_.generator();
7359
7359
  const B = {
7360
7360
  bgBase: "#FDFCF8",
@@ -7630,7 +7630,7 @@ const q = (e) => {
7630
7630
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
7631
7631
  tg.test(e) && !rg.test(e)
7632
7632
  ), tp = () => !1, pg = (e) => ng.test(e), fg = (e) => og.test(e), mg = () => {
7633
- const e = q("colors"), t = q("spacing"), r = q("blur"), n = q("brightness"), o = q("borderColor"), l = q("borderRadius"), i = q("borderSpacing"), a = q("borderWidth"), s = q("contrast"), u = q("grayscale"), c = q("hueRotate"), p = q("invert"), d = q("gap"), g = q("gradientColorStops"), m = q("gradientColorStopPositions"), b = q("inset"), x = q("margin"), f = q("opacity"), _ = q("padding"), h = q("saturate"), y = q("scale"), w = q("sepia"), k = q("skew"), E = q("space"), z = q("translate"), M = () => ["auto", "contain", "none"], F = () => ["auto", "hidden", "clip", "visible", "scroll"], O = () => ["auto", D, t], L = () => [D, t], $ = () => ["", mt, Pt], U = () => ["auto", Wr, D], _e = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], pe = () => ["solid", "dashed", "dotted", "double", "none"], ke = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], P = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], R = () => ["", "0", D], T = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], A = () => [Wr, D];
7633
+ const e = q("colors"), t = q("spacing"), r = q("blur"), n = q("brightness"), o = q("borderColor"), l = q("borderRadius"), i = q("borderSpacing"), a = q("borderWidth"), s = q("contrast"), u = q("grayscale"), c = q("hueRotate"), p = q("invert"), d = q("gap"), g = q("gradientColorStops"), m = q("gradientColorStopPositions"), b = q("inset"), x = q("margin"), f = q("opacity"), _ = q("padding"), h = q("saturate"), y = q("scale"), w = q("sepia"), k = q("skew"), E = q("space"), z = q("translate"), M = () => ["auto", "contain", "none"], F = () => ["auto", "hidden", "clip", "visible", "scroll"], O = () => ["auto", D, t], L = () => [D, t], $ = () => ["", mt, Pt], U = () => ["auto", Wr, D], _e = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], pe = () => ["solid", "dashed", "dotted", "double", "none"], ke = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], P = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], R = () => ["", "0", D], T = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], I = () => [Wr, D];
7634
7634
  return {
7635
7635
  cacheSize: 500,
7636
7636
  separator: ":",
@@ -7638,26 +7638,26 @@ const q = (e) => {
7638
7638
  colors: [gn],
7639
7639
  spacing: [mt, Pt],
7640
7640
  blur: ["none", "", Ft, D],
7641
- brightness: A(),
7641
+ brightness: I(),
7642
7642
  borderColor: [e],
7643
7643
  borderRadius: ["none", "", "full", Ft, D],
7644
7644
  borderSpacing: L(),
7645
7645
  borderWidth: $(),
7646
- contrast: A(),
7646
+ contrast: I(),
7647
7647
  grayscale: R(),
7648
- hueRotate: A(),
7648
+ hueRotate: I(),
7649
7649
  invert: R(),
7650
7650
  gap: L(),
7651
7651
  gradientColorStops: [e],
7652
7652
  gradientColorStopPositions: [lg, Pt],
7653
7653
  inset: O(),
7654
7654
  margin: O(),
7655
- opacity: A(),
7655
+ opacity: I(),
7656
7656
  padding: L(),
7657
- saturate: A(),
7658
- scale: A(),
7657
+ saturate: I(),
7658
+ scale: I(),
7659
7659
  sepia: R(),
7660
- skew: A(),
7660
+ skew: I(),
7661
7661
  space: L(),
7662
7662
  translate: L()
7663
7663
  },
@@ -9232,7 +9232,7 @@ const q = (e) => {
9232
9232
  * @see https://tailwindcss.com/docs/transition-duration
9233
9233
  */
9234
9234
  duration: [{
9235
- duration: A()
9235
+ duration: I()
9236
9236
  }],
9237
9237
  /**
9238
9238
  * Transition Timing Function
@@ -9246,7 +9246,7 @@ const q = (e) => {
9246
9246
  * @see https://tailwindcss.com/docs/transition-delay
9247
9247
  */
9248
9248
  delay: [{
9249
- delay: A()
9249
+ delay: I()
9250
9250
  }],
9251
9251
  /**
9252
9252
  * Animation
@@ -9793,7 +9793,7 @@ function no(e) {
9793
9793
  [t, e]
9794
9794
  );
9795
9795
  }
9796
- const Sg = "button-module__button___Z331g", Eg = "button-module__blobBg___QQFzf", zg = "button-module__blobFill___XwLjV", Tg = "button-module__blobRing___567UW", Pg = "button-module__isActive___FXNSJ", Fg = "button-module__primary___ppbyq", jg = "button-module__secondary___esy5L", Mg = "button-module__ghost___NisA0", Ng = "button-module__danger___Wnvuq", Rg = "button-module__chalkboard___d3Nqb", Lg = "button-module__tiny___8ZZ7A", Ag = "button-module__small___u7y8a", Ig = "button-module__medium___HBIAj", Og = "button-module__large___RPzNy", Bg = "button-module__fullWidth___H0P0F", Dg = "button-module__iconLeft___s60SZ", $g = "button-module__iconRight___75eFu", Wg = "button-module__label___pXAyM", Ge = {
9796
+ const Sg = "button-module__button___Z331g", Eg = "button-module__blobBg___QQFzf", zg = "button-module__blobFill___XwLjV", Tg = "button-module__blobRing___567UW", Pg = "button-module__isActive___FXNSJ", Fg = "button-module__primary___ppbyq", jg = "button-module__secondary___esy5L", Mg = "button-module__ghost___NisA0", Ng = "button-module__danger___Wnvuq", Rg = "button-module__chalkboard___d3Nqb", Lg = "button-module__tiny___8ZZ7A", Ig = "button-module__small___u7y8a", Ag = "button-module__medium___HBIAj", Og = "button-module__large___RPzNy", Bg = "button-module__fullWidth___H0P0F", Dg = "button-module__iconLeft___s60SZ", $g = "button-module__iconRight___75eFu", Wg = "button-module__label___pXAyM", Ge = {
9797
9797
  button: Sg,
9798
9798
  blobBg: Eg,
9799
9799
  blobFill: zg,
@@ -9805,8 +9805,8 @@ const Sg = "button-module__button___Z331g", Eg = "button-module__blobBg___QQFzf"
9805
9805
  danger: Ng,
9806
9806
  chalkboard: Rg,
9807
9807
  tiny: Lg,
9808
- small: Ag,
9809
- medium: Ig,
9808
+ small: Ig,
9809
+ medium: Ag,
9810
9810
  large: Og,
9811
9811
  fullWidth: Bg,
9812
9812
  iconLeft: Dg,
@@ -10123,7 +10123,7 @@ function o1({ children: e, surface: t = "paper", label: r, className: n }) {
10123
10123
  }
10124
10124
  );
10125
10125
  }
10126
- const l1 = "checkbox-module__wrapper___uLYMI", i1 = "checkbox-module__blobFill___mPJSR", a1 = "checkbox-module__input___Ptgt7", s1 = "checkbox-module__blobBg___bw3sn", u1 = "checkbox-module__labelLeft___-vAmH", c1 = "checkbox-module__box___yAh-r", d1 = "checkbox-module__checkmark___tTyBz", _1 = "checkbox-module__indeterminateLine___IosI-", p1 = "checkbox-module__boxWrapper___byjoS", f1 = "checkbox-module__icon___RO-yn", m1 = "checkbox-module__labelText___bAnLr", h1 = "checkbox-module__chalkboard___sv6SL", Ie = {
10126
+ const l1 = "checkbox-module__wrapper___uLYMI", i1 = "checkbox-module__blobFill___mPJSR", a1 = "checkbox-module__input___Ptgt7", s1 = "checkbox-module__blobBg___bw3sn", u1 = "checkbox-module__labelLeft___-vAmH", c1 = "checkbox-module__box___yAh-r", d1 = "checkbox-module__checkmark___tTyBz", _1 = "checkbox-module__indeterminateLine___IosI-", p1 = "checkbox-module__boxWrapper___byjoS", f1 = "checkbox-module__icon___RO-yn", m1 = "checkbox-module__labelText___bAnLr", h1 = "checkbox-module__chalkboard___sv6SL", Ae = {
10127
10127
  wrapper: l1,
10128
10128
  blobFill: i1,
10129
10129
  input: a1,
@@ -10156,14 +10156,14 @@ S.forwardRef(function({
10156
10156
  "label",
10157
10157
  {
10158
10158
  className: ge(
10159
- Ie.wrapper,
10160
- t === "left" && Ie.labelLeft,
10161
- o === "chalkboard" && Ie.chalkboard,
10159
+ Ae.wrapper,
10160
+ t === "left" && Ae.labelLeft,
10161
+ o === "chalkboard" && Ae.chalkboard,
10162
10162
  l
10163
10163
  ),
10164
10164
  htmlFor: d,
10165
10165
  children: [
10166
- /* @__PURE__ */ v.jsxs("span", { className: Ie.boxWrapper, children: [
10166
+ /* @__PURE__ */ v.jsxs("span", { className: Ae.boxWrapper, children: [
10167
10167
  /* @__PURE__ */ v.jsx(
10168
10168
  "input",
10169
10169
  {
@@ -10172,7 +10172,7 @@ S.forwardRef(function({
10172
10172
  },
10173
10173
  id: d,
10174
10174
  type: "checkbox",
10175
- className: Ie.input,
10175
+ className: Ae.input,
10176
10176
  checked: i,
10177
10177
  onChange: a,
10178
10178
  ...u
@@ -10181,16 +10181,16 @@ S.forwardRef(function({
10181
10181
  /* @__PURE__ */ v.jsx(
10182
10182
  "svg",
10183
10183
  {
10184
- className: Ie.blobBg,
10184
+ className: Ae.blobBg,
10185
10185
  viewBox: "-10 -10 120 120",
10186
10186
  preserveAspectRatio: "none",
10187
10187
  "aria-hidden": "true",
10188
- children: /* @__PURE__ */ v.jsx("path", { d: g.blob, className: Ie.blobFill })
10188
+ children: /* @__PURE__ */ v.jsx("path", { d: g.blob, className: Ae.blobFill })
10189
10189
  }
10190
10190
  ),
10191
- /* @__PURE__ */ v.jsxs("span", { className: Ie.box, "aria-hidden": "true", children: [
10191
+ /* @__PURE__ */ v.jsxs("span", { className: Ae.box, "aria-hidden": "true", children: [
10192
10192
  /* @__PURE__ */ v.jsx(rn, { smooth: !0, ...nn.control }),
10193
- r ? /* @__PURE__ */ v.jsx("svg", { viewBox: "0 0 20 20", fill: "none", className: Ie.icon, children: /* @__PURE__ */ v.jsx(
10193
+ r ? /* @__PURE__ */ v.jsx("svg", { viewBox: "0 0 20 20", fill: "none", className: Ae.icon, children: /* @__PURE__ */ v.jsx(
10194
10194
  "line",
10195
10195
  {
10196
10196
  x1: "4",
@@ -10200,9 +10200,9 @@ S.forwardRef(function({
10200
10200
  stroke: "currentColor",
10201
10201
  strokeWidth: "2.5",
10202
10202
  strokeLinecap: "round",
10203
- className: Ie.indeterminateLine
10203
+ className: Ae.indeterminateLine
10204
10204
  }
10205
- ) }) : /* @__PURE__ */ v.jsx("svg", { viewBox: "0 0 20 20", fill: "none", className: Ie.icon, children: /* @__PURE__ */ v.jsx(
10205
+ ) }) : /* @__PURE__ */ v.jsx("svg", { viewBox: "0 0 20 20", fill: "none", className: Ae.icon, children: /* @__PURE__ */ v.jsx(
10206
10206
  "path",
10207
10207
  {
10208
10208
  d: "M4 10 L8 14 L16 6",
@@ -10210,12 +10210,12 @@ S.forwardRef(function({
10210
10210
  strokeWidth: "2.5",
10211
10211
  strokeLinecap: "round",
10212
10212
  strokeLinejoin: "round",
10213
- className: Ie.checkmark
10213
+ className: Ae.checkmark
10214
10214
  }
10215
10215
  ) })
10216
10216
  ] })
10217
10217
  ] }),
10218
- e && /* @__PURE__ */ v.jsx("span", { className: Ie.labelText, children: e })
10218
+ e && /* @__PURE__ */ v.jsx("span", { className: Ae.labelText, children: e })
10219
10219
  ]
10220
10220
  }
10221
10221
  );
@@ -10281,14 +10281,14 @@ const g1 = "icon-button-module__iconButton___avg6i", b1 = "icon-button-module__b
10281
10281
  ]
10282
10282
  }
10283
10283
  );
10284
- }), j1 = "stamp-module__stamp___5qaNY", M1 = "stamp-module__small___BBlBg", N1 = "stamp-module__medium___HG2YD", R1 = "stamp-module__large___aUT0I", L1 = "stamp-module__blobBg___Mdrdd", A1 = "stamp-module__blobFill___QyCeB", I1 = "stamp-module__blobRing___EUDx7", O1 = "stamp-module__dot___qZyCR", B1 = "stamp-module__label___T89iH", D1 = "stamp-module__chalkboard___syI4T", Mt = {
10284
+ }), j1 = "stamp-module__stamp___5qaNY", M1 = "stamp-module__small___BBlBg", N1 = "stamp-module__medium___HG2YD", R1 = "stamp-module__large___aUT0I", L1 = "stamp-module__blobBg___Mdrdd", I1 = "stamp-module__blobFill___QyCeB", A1 = "stamp-module__blobRing___EUDx7", O1 = "stamp-module__dot___qZyCR", B1 = "stamp-module__label___T89iH", D1 = "stamp-module__chalkboard___syI4T", Mt = {
10285
10285
  stamp: j1,
10286
10286
  small: M1,
10287
10287
  medium: N1,
10288
10288
  large: R1,
10289
10289
  blobBg: L1,
10290
- blobFill: A1,
10291
- blobRing: I1,
10290
+ blobFill: I1,
10291
+ blobRing: A1,
10292
10292
  dot: O1,
10293
10293
  label: B1,
10294
10294
  chalkboard: D1
@@ -10521,7 +10521,7 @@ const ib = "input-module__wrapper___xaEw6", ab = "input-module__label___lu7R1",
10521
10521
  track: Rb,
10522
10522
  svg: Lb
10523
10523
  }, xi = 300, Nt = 1;
10524
- function Ab({
10524
+ function Ib({
10525
10525
  value: e,
10526
10526
  max: t = 100,
10527
10527
  color: r,
@@ -10568,8 +10568,8 @@ function Ab({
10568
10568
  }
10569
10569
  ) });
10570
10570
  }
10571
- const Ib = "radio-module__wrapper___BB05E", Ob = "radio-module__blobFill___p5BX4", Bb = "radio-module__labelLeft___ijB93", Db = "radio-module__input___M2nFJ", $b = "radio-module__box___H7ofS", Wb = "radio-module__dot___jVJ-d", Ub = "radio-module__boxWrapper___Y3qis", Gb = "radio-module__blobBg___IR-M5", Vb = "radio-module__labelText___I-nu3", Qb = "radio-module__chalkboard___IIBqI", ct = {
10572
- wrapper: Ib,
10571
+ const Ab = "radio-module__wrapper___BB05E", Ob = "radio-module__blobFill___p5BX4", Bb = "radio-module__labelLeft___ijB93", Db = "radio-module__input___M2nFJ", $b = "radio-module__box___H7ofS", Wb = "radio-module__dot___jVJ-d", Ub = "radio-module__boxWrapper___Y3qis", Gb = "radio-module__blobBg___IR-M5", Vb = "radio-module__labelText___I-nu3", Qb = "radio-module__chalkboard___IIBqI", ct = {
10572
+ wrapper: Ab,
10573
10573
  blobFill: Ob,
10574
10574
  labelLeft: Bb,
10575
10575
  input: Db,
@@ -10911,8 +10911,8 @@ function Cv(e, t) {
10911
10911
  }),
10912
10912
  launchSuggestIdeas: Ve(t, Mh),
10913
10913
  launchRunAll: Ve(t, Lh),
10914
- launchFixReview: Ve(t, Ah),
10915
- launchPrReview: Ve(t, Ih),
10914
+ launchFixReview: Ve(t, Ih),
10915
+ launchPrReview: Ve(t, Ah),
10916
10916
  launchIssueFix: Ve(t, Bh),
10917
10917
  launchInstallToolbar: Ve(t, Oh),
10918
10918
  stopAgent: async (r) => {
@@ -11076,10 +11076,14 @@ function Mv(e, t) {
11076
11076
  }
11077
11077
  };
11078
11078
  }
11079
- function Nv(e, t) {
11079
+ function Nv(e) {
11080
+ return `${e.date}-${e.check}-${e.file}-${e.line ?? "null"}`;
11081
+ }
11082
+ function Rv(e, t) {
11080
11083
  return {
11081
11084
  nightReport: [],
11082
11085
  loadNightReport: ce(e, ah, (r) => ({ nightReport: r.groups })),
11086
+ findNightFindingById: (r) => t().nightReport.flatMap((n) => n.findings).find((n) => Nv(n) === r),
11083
11087
  promoteNightFinding: async (r) => {
11084
11088
  const { id: n } = await sh(r);
11085
11089
  return await Promise.all([t().loadNightReport(), t().loadPlans(), t().loadIdeas()]), n;
@@ -11089,7 +11093,7 @@ function Nv(e, t) {
11089
11093
  }
11090
11094
  };
11091
11095
  }
11092
- function Rv(e, t) {
11096
+ function Lv(e, t) {
11093
11097
  return {
11094
11098
  notifications: null,
11095
11099
  notificationsLoading: !1,
@@ -11118,7 +11122,7 @@ function Rv(e, t) {
11118
11122
  }
11119
11123
  };
11120
11124
  }
11121
- function Lv(e) {
11125
+ function Iv(e) {
11122
11126
  return {
11123
11127
  parkedQuestions: null,
11124
11128
  parkedQuestionsLoading: !1,
@@ -11151,16 +11155,16 @@ function sp(e, t) {
11151
11155
  }
11152
11156
  }
11153
11157
  const up = "plan-filters", cp = "detail-view";
11154
- function Iv() {
11158
+ function Ov() {
11155
11159
  return ap(up) ?? N_;
11156
11160
  }
11157
- function Ov() {
11161
+ function Bv() {
11158
11162
  return ap(cp) ?? "details";
11159
11163
  }
11160
11164
  function gt(e) {
11161
11165
  return sp(up, e), e;
11162
11166
  }
11163
- function Bv(e) {
11167
+ function Dv(e) {
11164
11168
  return {
11165
11169
  plans: null,
11166
11170
  plansLoading: !1,
@@ -11172,7 +11176,7 @@ function Bv(e) {
11172
11176
  (t) => ({ plansError: String(t) }),
11173
11177
  "plansLoading"
11174
11178
  ),
11175
- planFilters: Iv(),
11179
+ planFilters: Ov(),
11176
11180
  togglePlanStatus: (t) => e((r) => ({
11177
11181
  planFilters: gt({
11178
11182
  ...r.planFilters,
@@ -11217,14 +11221,14 @@ function Bv(e) {
11217
11221
  groupBySubject: !t.planFilters.groupBySubject
11218
11222
  })
11219
11223
  })),
11220
- detailView: Ov(),
11224
+ detailView: Bv(),
11221
11225
  setDetailView: (t) => {
11222
11226
  sp(cp, t), e({ detailView: t });
11223
11227
  }
11224
11228
  };
11225
11229
  }
11226
11230
  const uc = { horizons: [], statuses: [], search: "" };
11227
- function Dv(e, t) {
11231
+ function $v(e, t) {
11228
11232
  return {
11229
11233
  roadmap: null,
11230
11234
  roadmapLoading: !1,
@@ -11253,15 +11257,15 @@ function Dv(e, t) {
11253
11257
  clearRoadmapFilters: () => e({ roadmapFilters: uc })
11254
11258
  };
11255
11259
  }
11256
- async function $v(e, t) {
11260
+ async function Wv(e, t) {
11257
11261
  try {
11258
11262
  return (await t("/api/package-name")).ok;
11259
11263
  } catch {
11260
11264
  return !1;
11261
11265
  }
11262
11266
  }
11263
- const bl = "paper-camp.projects", zs = "paper-camp.activeProjectId", Wv = "paper-camp.runtimes", Uv = "paper-camp.activeRuntimeUrl";
11264
- function Gv(e) {
11267
+ const bl = "paper-camp.projects", zs = "paper-camp.activeProjectId", Uv = "paper-camp.runtimes", Gv = "paper-camp.activeRuntimeUrl";
11268
+ function Vv(e) {
11265
11269
  return e.runtimeUrl;
11266
11270
  }
11267
11271
  function dp(e) {
@@ -11269,110 +11273,110 @@ function dp(e) {
11269
11273
  const t = JSON.parse(e);
11270
11274
  return Array.isArray(t) ? t : [];
11271
11275
  }
11272
- function Vv(e) {
11276
+ function Qv(e) {
11273
11277
  return !!e && typeof e == "object" && typeof e.runtimeUrl == "string";
11274
11278
  }
11275
11279
  function _p(e) {
11276
11280
  if (e.getItem(bl) !== null) return;
11277
- const t = dp(e.getItem(Wv));
11281
+ const t = dp(e.getItem(Uv));
11278
11282
  if (t.length === 0) return;
11279
11283
  e.setItem(bl, JSON.stringify(t));
11280
- const r = e.getItem(Uv);
11284
+ const r = e.getItem(Gv);
11281
11285
  r && e.setItem(zs, r);
11282
11286
  }
11283
11287
  function Ts(e) {
11284
- return e ? (_p(e), dp(e.getItem(bl)).filter(Vv)) : [];
11288
+ return e ? (_p(e), dp(e.getItem(bl)).filter(Qv)) : [];
11285
11289
  }
11286
- function Qv(e, t) {
11290
+ function Hv(e, t) {
11287
11291
  e == null || e.setItem(bl, JSON.stringify(t));
11288
11292
  }
11289
- function Hv(e) {
11293
+ function Xv(e) {
11290
11294
  return Ts(e);
11291
11295
  }
11292
- function Xv(e) {
11296
+ function Kv(e) {
11293
11297
  return e ? (_p(e), e.getItem(zs)) : null;
11294
11298
  }
11295
- function Kv(e, t) {
11299
+ function qv(e, t) {
11296
11300
  var i;
11297
11301
  const r = Ts(t), n = (i = r.find((a) => a.runtimeUrl === e.runtimeUrl)) == null ? void 0 : i.label, o = {
11298
11302
  runtimeUrl: e.runtimeUrl,
11299
11303
  pairingToken: e.pairingToken,
11300
11304
  label: n
11301
11305
  }, l = r.filter((a) => a.runtimeUrl !== e.runtimeUrl);
11302
- return l.push(o), Qv(t, l), o;
11306
+ return l.push(o), Hv(t, l), o;
11303
11307
  }
11304
- function qv(e, t) {
11305
- const r = Ts(t).find((n) => Gv(n) === e);
11308
+ function Yv(e, t) {
11309
+ const r = Ts(t).find((n) => Vv(n) === e);
11306
11310
  return r ? (t == null || t.setItem(zs, e), r) : null;
11307
11311
  }
11308
- const Yv = "runtime", Jv = "token";
11309
- function Zv(e) {
11312
+ const Jv = "runtime", Zv = "token";
11313
+ function ey(e) {
11310
11314
  return { runtimeUrl: e.runtimeUrl, pairingToken: e.pairingToken, label: e.label };
11311
11315
  }
11312
- function ey(e) {
11316
+ function ty(e) {
11313
11317
  const t = new URLSearchParams((e == null ? void 0 : e.search) ?? "");
11314
11318
  return {
11315
- runtimeUrl: t.get(Yv) ?? "",
11316
- pairingToken: t.get(Jv)
11319
+ runtimeUrl: t.get(Jv) ?? "",
11320
+ pairingToken: t.get(Zv)
11317
11321
  };
11318
11322
  }
11319
- function ty(e, t) {
11320
- Kv(t, e), qv(t.runtimeUrl, e);
11321
- }
11322
11323
  function ry(e, t) {
11323
- const r = ey(e);
11324
+ qv(t, e), Yv(t.runtimeUrl, e);
11325
+ }
11326
+ function ny(e, t) {
11327
+ const r = ty(e);
11324
11328
  if (r.runtimeUrl)
11325
- return ty(t, r), r;
11326
- const n = Xv(t), o = n ? Hv(t).find((l) => l.runtimeUrl === n) : null;
11327
- return o ? Zv(o) : { runtimeUrl: "", pairingToken: null };
11329
+ return ry(t, r), r;
11330
+ const n = Kv(t), o = n ? Xv(t).find((l) => l.runtimeUrl === n) : null;
11331
+ return o ? ey(o) : { runtimeUrl: "", pairingToken: null };
11328
11332
  }
11329
- const ny = ry(
11333
+ const oy = ny(
11330
11334
  typeof window > "u" ? null : window.location,
11331
11335
  typeof window > "u" ? null : window.localStorage
11332
- ), wi = !!pv, oy = !!ny.runtimeUrl, ly = 15e3, cc = 2, iy = 1500, ay = (e) => new Promise((t) => setTimeout(t, e));
11336
+ ), wi = !!pv, ly = !!oy.runtimeUrl, iy = 15e3, cc = 2, ay = 1500, sy = (e) => new Promise((t) => setTimeout(t, e));
11333
11337
  let ki;
11334
- function sy() {
11335
- return ki || (ki = $v("", (e) => fetch(N(e)))), ki;
11338
+ function uy() {
11339
+ return ki || (ki = Wv("", (e) => fetch(N(e)))), ki;
11336
11340
  }
11337
- async function uy() {
11341
+ async function cy() {
11338
11342
  for (let e = 0; e <= cc; e++) {
11339
11343
  try {
11340
11344
  if ((await fetch(N("/api/package-name"), {
11341
- signal: AbortSignal.timeout(ly)
11345
+ signal: AbortSignal.timeout(iy)
11342
11346
  })).ok) return !0;
11343
11347
  } catch {
11344
11348
  }
11345
- e < cc && await ay(iy);
11349
+ e < cc && await sy(ay);
11346
11350
  }
11347
11351
  return !1;
11348
11352
  }
11349
- function cy(e) {
11353
+ function dy(e) {
11350
11354
  return {
11351
11355
  runtimeReachable: wi,
11352
11356
  runtimeChecking: !wi,
11353
11357
  checkRuntimeReachable: ce(
11354
11358
  e,
11355
- async () => wi ? !0 : oy ? uy() : sy(),
11359
+ async () => wi ? !0 : ly ? cy() : uy(),
11356
11360
  (t) => ({ runtimeReachable: t }),
11357
11361
  () => ({ runtimeReachable: !1 }),
11358
11362
  "runtimeChecking"
11359
11363
  )
11360
11364
  };
11361
11365
  }
11362
- const dy = async () => (await G(N("/api/status"))).json(), _y = async () => {
11366
+ const _y = async () => (await G(N("/api/status"))).json(), py = async () => {
11363
11367
  const e = await G(N("/api/refresh"), { method: "POST" });
11364
11368
  if (!e.ok)
11365
11369
  throw new Error(`Failed to drop caches: ${e.statusText}`);
11366
11370
  };
11367
- function py(e, t) {
11371
+ function fy(e, t) {
11368
11372
  return {
11369
11373
  status: null,
11370
11374
  refreshing: !1,
11371
- loadStatus: ce(e, dy, (r) => ({ status: r })),
11375
+ loadStatus: ce(e, _y, (r) => ({ status: r })),
11372
11376
  refreshAll: async () => {
11373
11377
  e({ refreshing: !0 });
11374
11378
  try {
11375
- await _y().catch(() => {
11379
+ await py().catch(() => {
11376
11380
  }), await Promise.all([
11377
11381
  t().loadPlans(),
11378
11382
  t().loadIdeas(),
@@ -11430,7 +11434,7 @@ function py(e, t) {
11430
11434
  gitStashes: [],
11431
11435
  loadGitStatus: async () => {
11432
11436
  try {
11433
- const { branch: r, entries: n, ahead: o, behind: l, diverged: i, branchHygiene: a, stashes: s } = await A_();
11437
+ const { branch: r, entries: n, ahead: o, behind: l, diverged: i, branchHygiene: a, stashes: s } = await I_();
11434
11438
  return e({
11435
11439
  gitStatus: n,
11436
11440
  gitBranch: r,
@@ -11448,13 +11452,13 @@ function py(e, t) {
11448
11452
  runtimeVersion: null,
11449
11453
  loadCapabilities: ce(
11450
11454
  e,
11451
- I_,
11455
+ A_,
11452
11456
  (r) => ({ capabilities: (r == null ? void 0 : r.capabilities) ?? [], runtimeVersion: (r == null ? void 0 : r.version) ?? null }),
11453
11457
  () => ({ capabilities: [] })
11454
11458
  )
11455
11459
  };
11456
11460
  }
11457
- function fy(e, t) {
11461
+ function my(e, t) {
11458
11462
  return {
11459
11463
  suggestions: [],
11460
11464
  suggestionsLoading: !0,
@@ -11482,7 +11486,7 @@ function fy(e, t) {
11482
11486
  }
11483
11487
  };
11484
11488
  }
11485
- function my(e) {
11489
+ function hy(e) {
11486
11490
  return {
11487
11491
  taskLog: [],
11488
11492
  taskLogLoading: !0,
@@ -11500,22 +11504,22 @@ function my(e) {
11500
11504
  xv()((e, t) => ({
11501
11505
  ...zv(e),
11502
11506
  ...Tv(e),
11503
- ...Bv(e),
11504
11507
  ...Dv(e),
11508
+ ...$v(e),
11505
11509
  ...Mv(e, t),
11506
- ...fy(e, t),
11507
- ...Nv(e, t),
11508
- ...my(e),
11510
+ ...my(e, t),
11511
+ ...Rv(e, t),
11512
+ ...hy(e),
11509
11513
  ...jv(e, t),
11510
- ...py(e, t),
11514
+ ...fy(e, t),
11511
11515
  ...Cv(e, t),
11512
11516
  ...Pv(e, t),
11513
- ...Lv(e),
11514
- ...Rv(e, t),
11515
- ...cy(e)
11517
+ ...Iv(e),
11518
+ ...Lv(e, t),
11519
+ ...dy(e)
11516
11520
  }));
11517
11521
  const dc = "✖";
11518
- function hy(e) {
11522
+ function gy(e) {
11519
11523
  const t = e.filter((r) => r.startsWith(dc) && !/found \d+ problem/.test(r)).map(
11520
11524
  (r) => r.slice(dc.length).trim().replace(/\s*\[[\w-]+\]$/, "")
11521
11525
  );
@@ -11524,12 +11528,12 @@ function hy(e) {
11524
11528
  }
11525
11529
  function To(e) {
11526
11530
  const t = e.split(`
11527
- `).map((o) => o.trim()).filter(Boolean), r = hy(t);
11531
+ `).map((o) => o.trim()).filter(Boolean), r = gy(t);
11528
11532
  return r || (t.find(
11529
11533
  (o) => o.startsWith("!") || o.startsWith("error:") || o.startsWith("fatal:")
11530
11534
  ) ?? t.at(-1) ?? e);
11531
11535
  }
11532
- const gy = (e, { reload: t, notify: r }) => {
11536
+ const by = (e, { reload: t, notify: r }) => {
11533
11537
  const [n, o] = S.useState(!1), [l, i] = S.useState(!1), [a, s] = S.useState(null);
11534
11538
  return S.useEffect(() => {
11535
11539
  s(null);
@@ -11577,76 +11581,76 @@ const gy = (e, { reload: t, notify: r }) => {
11577
11581
  }
11578
11582
  }
11579
11583
  } };
11580
- }, by = {
11584
+ }, vy = {
11581
11585
  "in-progress": "#C89A5A",
11582
11586
  planned: "#6A9B72",
11583
11587
  idea: "#8A9BAA",
11584
11588
  review: "#9B7AB5",
11585
11589
  done: "#8A7A8A",
11586
11590
  dropped: "#A06060"
11587
- }, vy = {
11591
+ }, yy = {
11588
11592
  idea: "Idea",
11589
11593
  planned: "Planned",
11590
11594
  "in-progress": "In progress",
11591
11595
  review: "Review",
11592
11596
  done: "Done",
11593
11597
  dropped: "Dropped"
11594
- }, yy = ({ pct: e, color: t, height: r = 6 }) => /* @__PURE__ */ v.jsx(Ab, { value: e, color: t, height: r }), _c = {
11598
+ }, xy = ({ pct: e, color: t, height: r = 6 }) => /* @__PURE__ */ v.jsx(Ib, { value: e, color: t, height: r }), _c = {
11595
11599
  display: "flex",
11596
11600
  flexDirection: "column",
11597
11601
  gap: "0.5rem",
11598
11602
  height: "100%",
11599
11603
  minHeight: 0
11600
- }, xy = {
11604
+ }, wy = {
11601
11605
  opacity: 0.6,
11602
11606
  fontSize: "0.75rem",
11603
11607
  flexShrink: 0
11604
- }, wy = {
11608
+ }, ky = {
11605
11609
  flex: "1 1 auto",
11606
11610
  minHeight: 0,
11607
11611
  overflowY: "auto",
11608
11612
  display: "flex",
11609
11613
  flexDirection: "column",
11610
11614
  gap: "0.5rem"
11611
- }, ky = {
11615
+ }, Cy = {
11612
11616
  opacity: 0.6,
11613
11617
  fontSize: "0.75rem"
11614
- }, Cy = (e) => ({
11618
+ }, Sy = (e) => ({
11615
11619
  display: "flex",
11616
11620
  flexDirection: "column",
11617
11621
  gap: "0.25rem",
11618
11622
  alignItems: e ? "flex-start" : "flex-end"
11619
- }), Sy = { maxWidth: "85%" }, Ey = {
11623
+ }), Ey = { maxWidth: "85%" }, zy = {
11620
11624
  display: "block",
11621
11625
  fontSize: "0.8125rem",
11622
11626
  whiteSpace: "pre-wrap"
11623
- }, zy = {
11627
+ }, Ty = {
11624
11628
  display: "flex",
11625
11629
  alignItems: "center",
11626
11630
  gap: "0.375rem",
11627
11631
  fontSize: "0.6875rem",
11628
11632
  opacity: 0.6
11629
- }, Ty = {
11633
+ }, Py = {
11630
11634
  display: "flex",
11631
11635
  justifyContent: "space-between",
11632
11636
  alignItems: "center",
11633
11637
  gap: "0.5rem"
11634
- }, Py = { flexShrink: 0 }, Fy = { marginTop: "0.375rem" }, jy = { opacity: 0.6, fontSize: "0.75rem" }, My = async () => {
11635
- }, Ny = ({ messages: e }) => {
11638
+ }, Fy = { flexShrink: 0 }, jy = { marginTop: "0.375rem" }, My = { opacity: 0.6, fontSize: "0.75rem" }, Ny = async () => {
11639
+ }, Ry = ({ messages: e }) => {
11636
11640
  const t = S.useRef(null);
11637
11641
  return S.useEffect(() => {
11638
11642
  var r;
11639
11643
  (r = t.current) == null || r.scrollIntoView({ block: "end" });
11640
- }, [e.length]), e.length === 0 ? /* @__PURE__ */ v.jsx("span", { style: ky, children: "No messages yet — say hello." }) : /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
11644
+ }, [e.length]), e.length === 0 ? /* @__PURE__ */ v.jsx("span", { style: Cy, children: "No messages yet — say hello." }) : /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
11641
11645
  e.map((r, n) => {
11642
11646
  const o = r.from === "agent";
11643
11647
  return /* @__PURE__ */ v.jsxs(
11644
11648
  "div",
11645
11649
  {
11646
- style: Cy(o),
11650
+ style: Sy(o),
11647
11651
  children: [
11648
- /* @__PURE__ */ v.jsx("div", { style: Sy, children: /* @__PURE__ */ v.jsx(lp, { size: "small", children: /* @__PURE__ */ v.jsx("span", { style: Ey, children: r.text }) }) }),
11649
- /* @__PURE__ */ v.jsxs("div", { style: zy, children: [
11652
+ /* @__PURE__ */ v.jsx("div", { style: Ey, children: /* @__PURE__ */ v.jsx(lp, { size: "small", children: /* @__PURE__ */ v.jsx("span", { style: zy, children: r.text }) }) }),
11653
+ /* @__PURE__ */ v.jsxs("div", { style: Ty, children: [
11650
11654
  o && /* @__PURE__ */ v.jsx(gl, { size: "small", children: "agent" }),
11651
11655
  r.date && /* @__PURE__ */ v.jsx("span", { children: r.date })
11652
11656
  ] })
@@ -11657,18 +11661,18 @@ const gy = (e, { reload: t, notify: r }) => {
11657
11661
  }),
11658
11662
  /* @__PURE__ */ v.jsx("div", { ref: t })
11659
11663
  ] });
11660
- }, Ry = ({
11664
+ }, Ly = ({
11661
11665
  plan: e,
11662
11666
  placeholder: t,
11663
11667
  onSent: r
11664
11668
  }) => {
11665
- const [n, o] = S.useState(""), [l, i] = S.useState(null), { sending: a, send: s } = gy(e, {
11666
- reload: My,
11669
+ const [n, o] = S.useState(""), [l, i] = S.useState(null), { sending: a, send: s } = by(e, {
11670
+ reload: Ny,
11667
11671
  notify: (c) => i(c.title ?? "Something went wrong")
11668
11672
  }), u = async () => {
11669
11673
  i(null), n.trim() && await s(n.trim()) && (o(""), r());
11670
11674
  };
11671
- return /* @__PURE__ */ v.jsxs("div", { style: Py, children: [
11675
+ return /* @__PURE__ */ v.jsxs("div", { style: Fy, children: [
11672
11676
  /* @__PURE__ */ v.jsx(
11673
11677
  Nb,
11674
11678
  {
@@ -11680,25 +11684,25 @@ const gy = (e, { reload: t, notify: r }) => {
11680
11684
  disabled: a
11681
11685
  }
11682
11686
  ),
11683
- /* @__PURE__ */ v.jsxs("div", { style: Ty, children: [
11687
+ /* @__PURE__ */ v.jsxs("div", { style: Py, children: [
11684
11688
  a ? /* @__PURE__ */ v.jsx(cv, { size: "small", label: "Scout replying…" }) : /* @__PURE__ */ v.jsx("span", {}),
11685
11689
  /* @__PURE__ */ v.jsx(Sa, { size: "small", onClick: u, disabled: a || !n.trim(), children: "Send" })
11686
11690
  ] }),
11687
- l && /* @__PURE__ */ v.jsx("div", { style: Fy, children: /* @__PURE__ */ v.jsx(gl, { size: "small", variant: "error", children: l }) })
11691
+ l && /* @__PURE__ */ v.jsx("div", { style: jy, children: /* @__PURE__ */ v.jsx(gl, { size: "small", variant: "error", children: l }) })
11688
11692
  ] });
11689
- }, Ly = ({ focusPlan: e, openQuestions: t, onRefresh: r }) => {
11693
+ }, Iy = ({ focusPlan: e, openQuestions: t, onRefresh: r }) => {
11690
11694
  const [n] = t, o = (n == null ? void 0 : n.plan) ?? e;
11691
11695
  if (!o)
11692
- return /* @__PURE__ */ v.jsx("div", { style: _c, children: /* @__PURE__ */ v.jsx("span", { style: jy, children: "No active idea and no open questions." }) });
11696
+ return /* @__PURE__ */ v.jsx("div", { style: _c, children: /* @__PURE__ */ v.jsx("span", { style: My, children: "No active idea and no open questions." }) });
11693
11697
  const l = n ? t.reduce((i, a) => i + a.questions.length, 0) - 1 : 0;
11694
11698
  return /* @__PURE__ */ v.jsxs("div", { style: _c, children: [
11695
- l > 0 && /* @__PURE__ */ v.jsxs("span", { style: xy, children: [
11699
+ l > 0 && /* @__PURE__ */ v.jsxs("span", { style: wy, children: [
11696
11700
  l,
11697
11701
  " more open question(s)"
11698
11702
  ] }),
11699
- /* @__PURE__ */ v.jsx("div", { style: wy, children: /* @__PURE__ */ v.jsx(Ny, { messages: o.thread ?? [] }) }),
11703
+ /* @__PURE__ */ v.jsx("div", { style: ky, children: /* @__PURE__ */ v.jsx(Ry, { messages: o.thread ?? [] }) }),
11700
11704
  /* @__PURE__ */ v.jsx(
11701
- Ry,
11705
+ Ly,
11702
11706
  {
11703
11707
  plan: o,
11704
11708
  placeholder: n ? "Reply to resolve and resume…" : "Ask Scout, jot a note, or say “note this down as an idea”…",
@@ -11717,7 +11721,7 @@ const gy = (e, { reload: t, notify: r }) => {
11717
11721
  height: "100%",
11718
11722
  minHeight: 0,
11719
11723
  overflow: "hidden"
11720
- }, Iy = {
11724
+ }, Oy = {
11721
11725
  display: "flex",
11722
11726
  alignItems: "center",
11723
11727
  gap: "0.5rem",
@@ -11726,13 +11730,13 @@ const gy = (e, { reload: t, notify: r }) => {
11726
11730
  background: "rgba(61, 53, 43, 0.08)",
11727
11731
  borderBottom: "1px solid rgba(61, 53, 43, 0.12)",
11728
11732
  borderRadius: "28px 28px 0 0"
11729
- }, Oy = {
11733
+ }, By = {
11730
11734
  display: "flex",
11731
11735
  flexDirection: "column",
11732
11736
  flex: "1 1 auto",
11733
11737
  minHeight: 0,
11734
11738
  padding: "0.75rem"
11735
- }, By = {
11739
+ }, Dy = {
11736
11740
  fontFamily: "monospace",
11737
11741
  fontSize: "0.75rem",
11738
11742
  color: "var(--pui-text-primary)",
@@ -11744,72 +11748,72 @@ const gy = (e, { reload: t, notify: r }) => {
11744
11748
  fontSize: "0.75rem",
11745
11749
  color: "var(--pui-text-secondary)",
11746
11750
  whiteSpace: "nowrap"
11747
- }, Dy = {
11751
+ }, $y = {
11748
11752
  display: "flex",
11749
11753
  alignItems: "stretch",
11750
11754
  gap: "0.75rem",
11751
11755
  flex: "1 1 auto",
11752
11756
  minHeight: 0
11753
- }, $y = {
11757
+ }, Wy = {
11754
11758
  flex: "0 0 40%",
11755
11759
  display: "flex",
11756
11760
  flexDirection: "column",
11757
11761
  minWidth: 0
11758
- }, Wy = {
11762
+ }, Uy = {
11759
11763
  display: "flex",
11760
11764
  flexDirection: "column",
11761
11765
  gap: "0.625rem",
11762
11766
  height: "100%"
11763
- }, Uy = { flex: 1, minHeight: "0.5rem" }, Gy = {
11767
+ }, Gy = { flex: 1, minHeight: "0.5rem" }, Vy = {
11764
11768
  flex: "1 1 0%",
11765
11769
  minWidth: 0,
11766
11770
  minHeight: 0,
11767
11771
  overflow: "hidden"
11768
- }, Vy = {
11772
+ }, Qy = {
11769
11773
  display: "flex",
11770
11774
  alignItems: "center",
11771
11775
  gap: "0.375rem"
11772
- }, Qy = { flex: 1 }, Hy = {
11776
+ }, Hy = { flex: 1 }, Xy = {
11773
11777
  fontSize: "0.8125rem",
11774
11778
  fontWeight: 600,
11775
11779
  color: "var(--pui-text-primary)",
11776
11780
  lineHeight: 1.35,
11777
11781
  overflowWrap: "anywhere"
11778
- }, Xy = {
11782
+ }, Ky = {
11779
11783
  fontSize: "0.75rem",
11780
11784
  color: "var(--pui-text-secondary)",
11781
11785
  lineHeight: 1.35,
11782
11786
  overflowWrap: "anywhere"
11783
- }, Ky = {
11787
+ }, qy = {
11784
11788
  display: "flex",
11785
11789
  alignItems: "center",
11786
11790
  gap: "0.375rem"
11787
- }, qy = { flex: 1, minWidth: 0 }, Yy = {
11791
+ }, Yy = { flex: 1, minWidth: 0 }, Jy = {
11788
11792
  fontSize: "0.6875rem",
11789
11793
  color: "var(--pui-text-secondary)",
11790
11794
  flexShrink: 0
11791
11795
  }, pc = {
11792
11796
  fontSize: "0.75rem",
11793
11797
  color: "var(--pui-text-primary)"
11794
- }, Jy = {
11798
+ }, Zy = {
11795
11799
  display: "block",
11796
11800
  fontSize: "0.75rem",
11797
11801
  color: "var(--pui-text-primary)",
11798
11802
  textAlign: "center"
11799
- }, Zy = { marginTop: "0.25rem" }, ex = {
11803
+ }, ex = { marginTop: "0.25rem" }, tx = {
11800
11804
  display: "flex",
11801
11805
  justifyContent: "center"
11802
- }, tx = {
11806
+ }, rx = {
11803
11807
  display: "block",
11804
11808
  fontSize: "0.75rem",
11805
11809
  color: "var(--pui-text-secondary)",
11806
11810
  textAlign: "center"
11807
- }, rx = { fontSize: "0.75rem" }, nx = {
11811
+ }, nx = { fontSize: "0.75rem" }, ox = {
11808
11812
  display: "flex",
11809
11813
  alignItems: "center",
11810
11814
  gap: "0.375rem",
11811
11815
  marginTop: "0.125rem"
11812
- }, ox = { flex: 1 }, lx = `
11816
+ }, lx = { flex: 1 }, ix = `
11813
11817
  .pc-scout-island {
11814
11818
  overflow: hidden;
11815
11819
  }
@@ -11819,7 +11823,7 @@ const gy = (e, { reload: t, notify: r }) => {
11819
11823
  }
11820
11824
  .pc-scout-glance-card {
11821
11825
  height: 100%;
11822
- }`, ix = ({
11826
+ }`, ax = ({
11823
11827
  status: e,
11824
11828
  focusPlan: t,
11825
11829
  openQuestions: r,
@@ -11834,35 +11838,35 @@ const gy = (e, { reload: t, notify: r }) => {
11834
11838
  await e.commitWithTitle(u, p || void 0) && (c(""), d(""));
11835
11839
  };
11836
11840
  return /* @__PURE__ */ v.jsxs(o1, { surface: "paper", label: "Paper camp", className: "pc-scout-island", children: [
11837
- /* @__PURE__ */ v.jsx("style", { children: lx }),
11841
+ /* @__PURE__ */ v.jsx("style", { children: ix }),
11838
11842
  /* @__PURE__ */ v.jsxs("div", { style: Ay, children: [
11839
- /* @__PURE__ */ v.jsxs("div", { style: Iy, children: [
11840
- /* @__PURE__ */ v.jsx("code", { style: By, title: i, children: i }),
11843
+ /* @__PURE__ */ v.jsxs("div", { style: Oy, children: [
11844
+ /* @__PURE__ */ v.jsx("code", { style: Dy, title: i, children: i }),
11841
11845
  e.gitAhead > 0 && /* @__PURE__ */ v.jsxs("span", { style: Si, children: [
11842
11846
  "↑",
11843
11847
  e.gitAhead
11844
11848
  ] }),
11845
11849
  /* @__PURE__ */ v.jsx("span", { style: Si, children: e.changedFileCount > 0 ? `${e.changedFileCount} changed` : "clean" })
11846
11850
  ] }),
11847
- /* @__PURE__ */ v.jsx("div", { style: Oy, children: /* @__PURE__ */ v.jsxs("div", { style: Dy, children: [
11848
- /* @__PURE__ */ v.jsx("div", { style: $y, children: /* @__PURE__ */ v.jsx(lp, { size: "small", texture: "canvas", className: "pc-scout-glance-card", children: /* @__PURE__ */ v.jsxs("div", { style: Wy, children: [
11851
+ /* @__PURE__ */ v.jsx("div", { style: By, children: /* @__PURE__ */ v.jsxs("div", { style: $y, children: [
11852
+ /* @__PURE__ */ v.jsx("div", { style: Wy, children: /* @__PURE__ */ v.jsx(lp, { size: "small", texture: "canvas", className: "pc-scout-glance-card", children: /* @__PURE__ */ v.jsxs("div", { style: Uy, children: [
11849
11853
  t ? /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
11850
- /* @__PURE__ */ v.jsxs("div", { style: Vy, children: [
11854
+ /* @__PURE__ */ v.jsxs("div", { style: Qy, children: [
11851
11855
  /* @__PURE__ */ v.jsx(gl, { size: "small", className: "pc-scout-id-stamp", children: t.id ?? "—" }),
11852
- /* @__PURE__ */ v.jsx("span", { style: Qy }),
11853
- /* @__PURE__ */ v.jsx(gl, { size: "small", children: vy[t.status] })
11856
+ /* @__PURE__ */ v.jsx("span", { style: Hy }),
11857
+ /* @__PURE__ */ v.jsx(gl, { size: "small", children: yy[t.status] })
11854
11858
  ] }),
11855
- /* @__PURE__ */ v.jsx("span", { style: Hy, children: t.title }),
11856
- /* @__PURE__ */ v.jsx("span", { style: Xy, children: s ? s.text : "All phases done" }),
11857
- a && /* @__PURE__ */ v.jsxs("div", { style: Ky, children: [
11858
- /* @__PURE__ */ v.jsx("div", { style: qy, children: /* @__PURE__ */ v.jsx(
11859
- yy,
11859
+ /* @__PURE__ */ v.jsx("span", { style: Xy, children: t.title }),
11860
+ /* @__PURE__ */ v.jsx("span", { style: Ky, children: s ? s.text : "All phases done" }),
11861
+ a && /* @__PURE__ */ v.jsxs("div", { style: qy, children: [
11862
+ /* @__PURE__ */ v.jsx("div", { style: Yy, children: /* @__PURE__ */ v.jsx(
11863
+ xy,
11860
11864
  {
11861
11865
  pct: a.pct,
11862
- color: by[t.status]
11866
+ color: vy[t.status]
11863
11867
  }
11864
11868
  ) }),
11865
- /* @__PURE__ */ v.jsxs("span", { style: Yy, children: [
11869
+ /* @__PURE__ */ v.jsxs("span", { style: Jy, children: [
11866
11870
  a.done,
11867
11871
  "/",
11868
11872
  a.total
@@ -11873,26 +11877,26 @@ const gy = (e, { reload: t, notify: r }) => {
11873
11877
  /* @__PURE__ */ v.jsx("span", { style: Si, children: "no active plan" }),
11874
11878
  /* @__PURE__ */ v.jsx(Ci, { href: o, style: pc, children: "Open Paper Camp →" })
11875
11879
  ] }),
11876
- /* @__PURE__ */ v.jsx("div", { style: Uy }),
11880
+ /* @__PURE__ */ v.jsx("div", { style: Gy }),
11877
11881
  e.changedFileCount > 0 ? /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
11878
- /* @__PURE__ */ v.jsxs(Ci, { href: l, style: Jy, children: [
11882
+ /* @__PURE__ */ v.jsxs(Ci, { href: l, style: Zy, children: [
11879
11883
  e.changedFileCount,
11880
11884
  " ",
11881
11885
  e.changedFileCount === 1 ? "file" : "files",
11882
11886
  " ",
11883
11887
  "changed"
11884
11888
  ] }),
11885
- /* @__PURE__ */ v.jsx("div", { style: Zy, children: /* @__PURE__ */ v.jsx(
11889
+ /* @__PURE__ */ v.jsx("div", { style: ex, children: /* @__PURE__ */ v.jsx(
11886
11890
  bb,
11887
11891
  {
11888
11892
  size: "small",
11889
- style: rx,
11893
+ style: nx,
11890
11894
  placeholder: "Commit message",
11891
11895
  value: u,
11892
11896
  onChange: (b) => c(b.currentTarget.value)
11893
11897
  }
11894
11898
  ) }),
11895
- /* @__PURE__ */ v.jsxs("div", { style: nx, children: [
11899
+ /* @__PURE__ */ v.jsxs("div", { style: ox, children: [
11896
11900
  /* @__PURE__ */ v.jsx(
11897
11901
  Sa,
11898
11902
  {
@@ -11902,7 +11906,7 @@ const gy = (e, { reload: t, notify: r }) => {
11902
11906
  children: e.commitInFlight ? "Committing…" : "Commit"
11903
11907
  }
11904
11908
  ),
11905
- /* @__PURE__ */ v.jsx("span", { style: ox }),
11909
+ /* @__PURE__ */ v.jsx("span", { style: lx }),
11906
11910
  /* @__PURE__ */ v.jsx(
11907
11911
  F1,
11908
11912
  {
@@ -11915,10 +11919,10 @@ const gy = (e, { reload: t, notify: r }) => {
11915
11919
  }
11916
11920
  )
11917
11921
  ] })
11918
- ] }) : e.gitAhead > 0 ? /* @__PURE__ */ v.jsx("div", { style: ex, children: /* @__PURE__ */ v.jsx(Sa, { size: "tiny", disabled: e.gitActionBusy, onClick: e.onPush, children: e.pushing ? "Pushing…" : `Push ${e.gitAhead} commit${e.gitAhead === 1 ? "" : "s"}` }) }) : /* @__PURE__ */ v.jsx("span", { style: tx, children: "Nothing to commit" })
11922
+ ] }) : e.gitAhead > 0 ? /* @__PURE__ */ v.jsx("div", { style: tx, children: /* @__PURE__ */ v.jsx(Sa, { size: "tiny", disabled: e.gitActionBusy, onClick: e.onPush, children: e.pushing ? "Pushing…" : `Push ${e.gitAhead} commit${e.gitAhead === 1 ? "" : "s"}` }) }) : /* @__PURE__ */ v.jsx("span", { style: rx, children: "Nothing to commit" })
11919
11923
  ] }) }) }),
11920
- /* @__PURE__ */ v.jsx("div", { style: Gy, children: /* @__PURE__ */ v.jsx(
11921
- Ly,
11924
+ /* @__PURE__ */ v.jsx("div", { style: Vy, children: /* @__PURE__ */ v.jsx(
11925
+ Iy,
11922
11926
  {
11923
11927
  focusPlan: t,
11924
11928
  openQuestions: r,
@@ -11928,7 +11932,7 @@ const gy = (e, { reload: t, notify: r }) => {
11928
11932
  ] }) })
11929
11933
  ] })
11930
11934
  ] });
11931
- }, ax = ({ size: e = 20 }) => /* @__PURE__ */ v.jsxs(
11935
+ }, sx = ({ size: e = 20 }) => /* @__PURE__ */ v.jsxs(
11932
11936
  "svg",
11933
11937
  {
11934
11938
  width: e,
@@ -11975,7 +11979,7 @@ const gy = (e, { reload: t, notify: r }) => {
11975
11979
  )
11976
11980
  ]
11977
11981
  }
11978
- ), sx = 120, ux = () => {
11982
+ ), ux = 120, cx = () => {
11979
11983
  const [e, t] = S.useState(!1), r = S.useRef(null), n = S.useRef(null), o = S.useCallback(() => {
11980
11984
  n.current !== null && (window.clearTimeout(n.current), n.current = null);
11981
11985
  }, []), l = S.useCallback(() => {
@@ -11985,7 +11989,7 @@ const gy = (e, { reload: t, notify: r }) => {
11985
11989
  }, [o]), a = S.useCallback(() => {
11986
11990
  n.current === null && (n.current = window.setTimeout(() => {
11987
11991
  n.current = null, t(!0);
11988
- }, sx));
11992
+ }, ux));
11989
11993
  }, []), s = S.useCallback(() => {
11990
11994
  o();
11991
11995
  }, [o]), u = S.useCallback(
@@ -12011,18 +12015,18 @@ const gy = (e, { reload: t, notify: r }) => {
12011
12015
  rootProps: { onPointerEnter: a, onPointerLeave: s },
12012
12016
  triggerProps: { onClick: l, onFocus: u }
12013
12017
  };
12014
- }, pp = "cubic-bezier(0.34, 1.56, 0.64, 1)", cx = {
12018
+ }, pp = "cubic-bezier(0.34, 1.56, 0.64, 1)", dx = {
12015
12019
  position: "fixed",
12016
12020
  bottom: "1.5rem",
12017
12021
  left: "50%",
12018
12022
  transform: "translateX(-50%)",
12019
12023
  zIndex: 2147483647,
12020
12024
  pointerEvents: "none"
12021
- }, dx = {
12025
+ }, _x = {
12022
12026
  position: "relative",
12023
12027
  display: "inline-flex",
12024
12028
  pointerEvents: "auto"
12025
- }, _x = (e) => ({
12029
+ }, px = (e) => ({
12026
12030
  width: "48px",
12027
12031
  height: "48px",
12028
12032
  display: "flex",
@@ -12038,7 +12042,7 @@ const gy = (e, { reload: t, notify: r }) => {
12038
12042
  opacity: e ? 0 : 1,
12039
12043
  visibility: e ? "hidden" : "visible",
12040
12044
  transition: e ? "transform 0.24s ease, opacity 0.18s ease, visibility 0s 0.24s" : `transform 0.3s ${pp}, opacity 0.2s ease, visibility 0s, box-shadow 0.2s ease`
12041
- }), px = (e) => ({
12045
+ }), fx = (e) => ({
12042
12046
  position: "absolute",
12043
12047
  bottom: 0,
12044
12048
  left: "50%",
@@ -12048,7 +12052,7 @@ const gy = (e, { reload: t, notify: r }) => {
12048
12052
  visibility: e ? "visible" : "hidden",
12049
12053
  pointerEvents: e ? "auto" : "none",
12050
12054
  transition: e ? `transform 0.34s ${pp}, opacity 0.22s ease, visibility 0s` : "transform 0.26s ease, opacity 0.2s ease, visibility 0s 0.26s"
12051
- }), fx = `
12055
+ }), mx = `
12052
12056
  .pc-scout-trigger:hover {
12053
12057
  border-color: rgba(61, 53, 43, 0.5);
12054
12058
  }
@@ -12067,39 +12071,39 @@ const gy = (e, { reload: t, notify: r }) => {
12067
12071
  .pc-scout-card, .pc-scout-trigger {
12068
12072
  transition: none !important;
12069
12073
  }
12070
- }`, mx = ({ children: e }) => {
12071
- const { open: t, rootRef: r, rootProps: n, triggerProps: o } = ux();
12072
- return /* @__PURE__ */ v.jsxs("div", { style: cx, children: [
12073
- /* @__PURE__ */ v.jsx("style", { children: fx }),
12074
- /* @__PURE__ */ v.jsxs("div", { ref: r, style: dx, ...n, children: [
12074
+ }`, hx = ({ children: e }) => {
12075
+ const { open: t, rootRef: r, rootProps: n, triggerProps: o } = cx();
12076
+ return /* @__PURE__ */ v.jsxs("div", { style: dx, children: [
12077
+ /* @__PURE__ */ v.jsx("style", { children: mx }),
12078
+ /* @__PURE__ */ v.jsxs("div", { ref: r, style: _x, ...n, children: [
12075
12079
  /* @__PURE__ */ v.jsx(
12076
12080
  "button",
12077
12081
  {
12078
12082
  type: "button",
12079
12083
  className: "pc-scout-trigger",
12080
12084
  "aria-label": "Open paper camp",
12081
- style: _x(t),
12085
+ style: px(t),
12082
12086
  "aria-expanded": t,
12083
12087
  ...o,
12084
- children: /* @__PURE__ */ v.jsx(ax, { size: 22 })
12088
+ children: /* @__PURE__ */ v.jsx(sx, { size: 22 })
12085
12089
  }
12086
12090
  ),
12087
- /* @__PURE__ */ v.jsx("div", { className: "pc-scout-card", style: px(t), "aria-hidden": !t, children: e })
12091
+ /* @__PURE__ */ v.jsx("div", { className: "pc-scout-card", style: fx(t), "aria-hidden": !t, children: e })
12088
12092
  ] })
12089
12093
  ] });
12090
- }, hx = "/paper-camp";
12094
+ }, gx = "/paper-camp";
12091
12095
  function fc(e, t, r) {
12092
12096
  const n = new URLSearchParams({ runtime: t, token: e.token });
12093
12097
  return `${e.hostedClientUrl}${r}?${n}`;
12094
12098
  }
12095
- const gx = ({ route: e, origin: t }) => {
12096
- const r = Zh(), n = Ch(), o = Sh(), l = e ?? hx, [i, a] = S.useState(null);
12099
+ const bx = ({ route: e, origin: t }) => {
12100
+ const r = Zh(), n = Ch(), o = Sh(), l = e ?? gx, [i, a] = S.useState(null);
12097
12101
  S.useEffect(() => {
12098
12102
  e0().then(a);
12099
12103
  }, []);
12100
12104
  const s = `${t ?? window.location.origin}${l}`, u = n ? `/plans/${encodeURIComponent(n.title)}` : "/", c = i ? fc(i, s, u) : null, p = i ? fc(i, s, "/diff") : null;
12101
- return /* @__PURE__ */ v.jsx(mx, { children: /* @__PURE__ */ v.jsx(
12102
- ix,
12105
+ return /* @__PURE__ */ v.jsx(hx, { children: /* @__PURE__ */ v.jsx(
12106
+ ax,
12103
12107
  {
12104
12108
  status: r,
12105
12109
  focusPlan: n,
@@ -12109,24 +12113,24 @@ const gx = ({ route: e, origin: t }) => {
12109
12113
  changesUrl: p
12110
12114
  }
12111
12115
  ) });
12112
- }, vl = "paper-camp-toolbar", mc = "paper-camp-fonts", bx = "https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap";
12113
- function vx() {
12116
+ }, vl = "paper-camp-toolbar", mc = "paper-camp-fonts", vx = "https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap";
12117
+ function yx() {
12114
12118
  if (document.getElementById(mc)) return;
12115
12119
  const e = document.createElement("link");
12116
- e.id = mc, e.rel = "stylesheet", e.href = bx, document.head.appendChild(e);
12120
+ e.id = mc, e.rel = "stylesheet", e.href = vx, document.head.appendChild(e);
12117
12121
  }
12118
12122
  var cr;
12119
- class yx extends HTMLElement {
12123
+ class xx extends HTMLElement {
12120
12124
  constructor() {
12121
12125
  super(...arguments);
12122
12126
  js(this, cr, null);
12123
12127
  }
12124
12128
  connectedCallback() {
12125
- vx();
12129
+ yx();
12126
12130
  const r = this.getAttribute(Ei), n = fp(
12127
12131
  document.getElementById(gc)
12128
12132
  );
12129
- r && Ip(n ? `${n}${r}` : r);
12133
+ r && Ap(n ? `${n}${r}` : r);
12130
12134
  const o = this.shadowRoot ?? this.attachShadow({ mode: "open" });
12131
12135
  o.replaceChildren();
12132
12136
  const l = document.createElement("style");
@@ -12134,7 +12138,7 @@ class yx extends HTMLElement {
12134
12138
  const i = document.createElement("style");
12135
12139
  i.textContent = Op.replaceAll(":root", ":root, :host"), o.appendChild(i);
12136
12140
  const a = document.createElement("div");
12137
- a.style.fontFamily = '"Cormorant Garamond", Georgia, serif', o.appendChild(a), Bl(this, cr, M_(a)), Ol(this, cr).render(/* @__PURE__ */ v.jsx(gx, { route: r ?? void 0, origin: n }));
12141
+ a.style.fontFamily = '"Cormorant Garamond", Georgia, serif', o.appendChild(a), Bl(this, cr, M_(a)), Ol(this, cr).render(/* @__PURE__ */ v.jsx(bx, { route: r ?? void 0, origin: n }));
12138
12142
  }
12139
12143
  disconnectedCallback() {
12140
12144
  var r;
@@ -12142,7 +12146,7 @@ class yx extends HTMLElement {
12142
12146
  }
12143
12147
  }
12144
12148
  cr = new WeakMap();
12145
- customElements.get(vl) || customElements.define(vl, yx);
12149
+ customElements.get(vl) || customElements.define(vl, xx);
12146
12150
  var hc;
12147
12151
  if (!document.querySelector(vl)) {
12148
12152
  const e = document.createElement(vl), t = (hc = document.getElementById(gc)) == null ? void 0 : hc.getAttribute(Ei);