@fluid-app/fluid-cli-theme-dev 0.1.510 → 0.1.512

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/dist/dist-cli-preview/.vite/manifest.json +268 -268
  2. package/dist/dist-cli-preview/account-screens.js +1 -1
  3. package/dist/dist-cli-preview/chunks/{Breadcrumb-DnhRFkFD.js → Breadcrumb-ixf0cTR_.js} +1 -1
  4. package/dist/dist-cli-preview/chunks/{Combobox-CHclFMiL.js → Combobox-CJDvxjNn.js} +4 -4
  5. package/dist/dist-cli-preview/chunks/{ContactsScreen--hgIkjAf.js → ContactsScreen-DD3XWK3Q.js} +19 -19
  6. package/dist/dist-cli-preview/chunks/MediaScreen-D4mR2Jai.js +8 -0
  7. package/dist/dist-cli-preview/chunks/{MemberManagementProviders-C031TZix.js → MemberManagementProviders-iVdfo0DH.js} +6 -6
  8. package/dist/dist-cli-preview/chunks/{MemberShareablesScreen-GGQf5DbJ.js → MemberShareablesScreen-DkjUi87f.js} +21 -21
  9. package/dist/dist-cli-preview/chunks/{MessagingScreen-B9Z96p4U.js → MessagingScreen-CSrAsJcZ.js} +221 -206
  10. package/dist/dist-cli-preview/chunks/{MobileActionSheet-D0_jkEVr.js → MobileActionSheet-aGr-nGxu.js} +2 -2
  11. package/dist/dist-cli-preview/chunks/{MySiteScreen-DJIqbSHr.js → MySiteScreen-BfPfyV4m.js} +13 -13
  12. package/dist/dist-cli-preview/chunks/{OrdersScreen-sgOl3dKR.js → OrdersScreen-C4yi3z2p.js} +7 -7
  13. package/dist/dist-cli-preview/chunks/OrdersScreen-hidM-JR_.js +9 -0
  14. package/dist/dist-cli-preview/chunks/PlaylistsScreen-4ixlozl9.js +8 -0
  15. package/dist/dist-cli-preview/chunks/{PortalTenantClientProvider-DA4-4jTk.js → PortalTenantClientProvider-Clys_Bme.js} +1 -1
  16. package/dist/dist-cli-preview/chunks/{ProfileScreen-6dDYmBl6.js → ProfileScreen-e4QhExeS.js} +14 -14
  17. package/dist/dist-cli-preview/chunks/{SubscriptionsScreen-Cpa0LLIz.js → SubscriptionsScreen-DysTJ6w_.js} +3 -3
  18. package/dist/dist-cli-preview/chunks/{account-screen-runtime-CAdD2FJT.js → account-screen-runtime-B3e0JV6I.js} +102 -101
  19. package/dist/dist-cli-preview/chunks/{arrow-left-BREignm3.js → arrow-left-BOYuYcvT.js} +1 -1
  20. package/dist/dist-cli-preview/chunks/{cli-preview-CsFdAREw.js → cli-preview-DP2jb6Bu.js} +10 -10
  21. package/dist/dist-cli-preview/chunks/{client.gen-Dqv-eqZZ.js → client.gen-jwIybX1j.js} +1 -1
  22. package/dist/dist-cli-preview/chunks/{copy-Cv_f9gcE.js → copy-Cm_EKxcg.js} +1 -1
  23. package/dist/dist-cli-preview/chunks/{countries-api-adapter-DhfKkvgI.js → countries-api-adapter-BCS0247N.js} +2 -2
  24. package/dist/dist-cli-preview/chunks/{create-card-entry-container-BIyUfY5W.js → create-card-entry-container-CZi7shLR.js} +18 -18
  25. package/dist/dist-cli-preview/chunks/{ellipsis-zS9ZVfqa.js → ellipsis-C1sJRT_T.js} +1 -1
  26. package/dist/dist-cli-preview/chunks/{eye-BiRcRITi.js → eye-BHBOtWLw.js} +1 -1
  27. package/dist/dist-cli-preview/chunks/{hey-api-client-CLlO3CVM.js → hey-api-client-B6n5a7q-.js} +1 -1
  28. package/dist/dist-cli-preview/chunks/{index-Blor_i4T.js → index-COIiY5Im.js} +2 -2
  29. package/dist/dist-cli-preview/chunks/{index-BCJw_KUa.js → index-CfLLmITa.js} +3 -3
  30. package/dist/dist-cli-preview/chunks/{index-BBFY9awl.js → index-DFIsiT9r.js} +2 -2
  31. package/dist/dist-cli-preview/chunks/{isAfter-DpSL6ySi.js → isAfter-D0zQuNEJ.js} +1 -1
  32. package/dist/dist-cli-preview/chunks/{log-out-Bvb_hyJt.js → log-out-segl_UhK.js} +1 -1
  33. package/dist/dist-cli-preview/chunks/{map-pin-BXxnSeNi.js → map-pin-Vt1smsNu.js} +1 -1
  34. package/dist/dist-cli-preview/chunks/messaging-CJjdqCxs.js +4 -0
  35. package/dist/dist-cli-preview/chunks/{mount-account-screen-CoTlgwn9.js → mount-account-screen-4BmUfvh2.js} +8 -8
  36. package/dist/dist-cli-preview/chunks/{navigate-account-screen-RVRyEWzs.js → navigate-account-screen-C7rE0dwL.js} +1 -1
  37. package/dist/dist-cli-preview/chunks/{pause-52W15k8R.js → pause-YWP8mWBs.js} +1 -1
  38. package/dist/dist-cli-preview/chunks/{schemas-B9O9Q0E2.js → schemas-BiM-ImW1.js} +3 -3
  39. package/dist/dist-cli-preview/chunks/{screen-route-slug-utils-Dqrbh4O0.js → screen-route-slug-utils-HNXiCpo6.js} +1 -1
  40. package/dist/dist-cli-preview/chunks/{sheet-haptics-context-BdhY0ej4.js → sheet-haptics-context-d9udqor0.js} +1 -1
  41. package/dist/dist-cli-preview/chunks/{sidebar-ChS7iE4X.js → sidebar-BDgHluGp.js} +2 -2
  42. package/dist/dist-cli-preview/chunks/{sortable.esm-CTG5dUdb.js → sortable.esm-Cw91KlVU.js} +2 -2
  43. package/dist/dist-cli-preview/chunks/{store-api-context-C4OYY7y9.js → store-api-context-BCaEZBlj.js} +1 -1
  44. package/dist/dist-cli-preview/chunks/{trash-2-B8HQsRUA.js → trash-2-CZEbdFT_.js} +1 -1
  45. package/dist/dist-cli-preview/chunks/{use-mobile-jIDTVzRj.js → use-mobile-BztyG-mE.js} +1 -1
  46. package/dist/dist-cli-preview/chunks/{use-optional-store-Db9RpIhu.js → use-optional-store-Dl6PSQur.js} +2 -2
  47. package/dist/dist-cli-preview/chunks/{use-store-DipfrIk3.js → use-store-aahN8SDp.js} +4 -4
  48. package/dist/dist-cli-preview/chunks/{useInfiniteQuery-DqCeTlRt.js → useInfiniteQuery-fL_VYHHr.js} +1 -1
  49. package/dist/dist-cli-preview/chunks/{user-B-RuERzl.js → user-B4pULYRZ.js} +1 -1
  50. package/dist/dist-cli-preview/chunks/{users-CUyCylNs.js → users-B3YJ3D1U.js} +1 -1
  51. package/package.json +2 -2
  52. package/dist/dist-cli-preview/chunks/MediaScreen-U57_UI2U.js +0 -8
  53. package/dist/dist-cli-preview/chunks/OrdersScreen-lNCB_ieK.js +0 -9
  54. package/dist/dist-cli-preview/chunks/PlaylistsScreen-Cj9xQL_o.js +0 -8
  55. package/dist/dist-cli-preview/chunks/messaging-BTEbR5Q7.js +0 -4
@@ -1,22 +1,22 @@
1
1
  var m5 = Object.defineProperty;
2
2
  var g5 = (e, t, n) => t in e ? m5(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var Ju = (e, t, n) => g5(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { c as nt, j as a, M as $e, az as zc, l as k, aA as b2, aB as x5, aj as na, aC as b5, aa as Ah, a4 as _5, am as So, aD as y5, aE as v5, aF as k5, aG as _2, aH as w5, aI as C5, aJ as j5, ak as S5, aK as y2, ab as ra, al as E5, aL as A5, aM as N5, K as Ce, aN as v2, J as qe, G as Ge, aO as T5, i as $c, aP as M5, ar as ia, aQ as D5, ay as Le, ax as ui, at as bs, au as _s, aR as ys, av as vs, Y as Eo, a7 as Nh, aS as sa, ap as ht, H as Fl, a6 as Bc, aT as P5, aU as R5, aV as L5, X as Th, P as I5, _ as k2, $ as ii, a0 as si, a1 as oi, a2 as ai, a3 as li, O as w2, R as C2, aw as j2, L as O5, aW as F5, aX as Tg, ao as z5, aY as $5, aZ as B5, D as q5, a9 as U5, N as V5, Z as H5, a8 as W5, B as K5, E as G5, z as X5 } from "./account-screen-runtime-CAdD2FJT.js";
5
- import { _ as Qe, u as Be, o as te, s as E, b as he, w as S2, d as ce, n as X, a as zt, m as qc, x as se, t as Pe, r as wi, e as $i, c as an, R as Ci, j as ji, y as E2, z as Mh, M as Y5, C as A2, D as Dh, f as Ph, v as Rh, g as Lh, h as Ih, P as N2, k as Q5, A as Z5, Z as J5, B as ej, E as tj, F as nj, G as dp, H as zr } from "./schemas-B9O9Q0E2.js";
6
- import { a as rj, c as ij, b as T2, S as Gt, I as Ir, u as sj } from "./sheet-haptics-context-BdhY0ej4.js";
7
- import { u as Xn, S as oj } from "./useInfiniteQuery-DqCeTlRt.js";
8
- import { T as aj, a as lj, b as cj, c as uj, G as dj, A as M2, F as fj, d as D2, D as pj, U as hj, L as mj, u as gj, V as xj, I as bj } from "./index-BCJw_KUa.js";
9
- import { t as Lt, d as Uc, c as Vc, u as ks, v as Yt, x as _j, m as Oh, a as fp, b as Fh, q as Rt, r as yj, L as Hc } from "./isAfter-DpSL6ySi.js";
10
- import { n as P2, R as vj, I as kj, P as oa, k as aa, l as la, o as ed, C as Ji, E as Ao, M as Wc, D as Kc, a as Gc, b as Xc, p as zh, c as Mt, m as Yc, S as wj, d as Cj, e as jj, f as Sj, g as Ej } from "./MobileActionSheet-D0_jkEVr.js";
11
- import { C as R2, B as fr, T as Aj, P as $h, u as Nj } from "./use-store-DipfrIk3.js";
12
- import { a as Pr, Q as Tj, I as ss, S as L2, b as I2, s as O2, d as Mj, e as qs } from "./screen-route-slug-utils-Dqrbh4O0.js";
13
- import { c as Dj, f as Bh, M as qh, T as Pj, a as Rj, b as Lj, g as Ij, d as F2, h as Si, m as Oj, i as Hi, j as ca, k as ws, l as Fj, n as zj, o as $j, p as Bj, q as qj, r as Uj, s as pp, t as Uh, v as Vj, D as Hj, N as qt, w as z2, F as hp, x as Wj, y as Kj, z as Gj, A as Xj, R as Yj, L as Qj, e as Zj, u as Jj, S as eS, P as tS, E as nS } from "./index-BBFY9awl.js";
14
- import { E as Qc } from "./eye-BiRcRITi.js";
15
- import { L as rS, a as iS } from "./log-out-Bvb_hyJt.js";
16
- import { U as sS } from "./users-CUyCylNs.js";
17
- import { A as oS } from "./arrow-left-BREignm3.js";
18
- import { U as aS } from "./user-B-RuERzl.js";
19
- import { u as lS } from "./sidebar-ChS7iE4X.js";
4
+ import { c as nt, j as a, M as $e, az as zc, l as k, aA as b2, aB as x5, aj as na, aC as b5, aa as Ah, a4 as _5, am as So, aD as y5, aE as v5, aF as k5, aG as _2, aH as w5, aI as C5, aJ as j5, ak as S5, aK as y2, ab as ra, al as E5, aL as A5, aM as N5, K as Ce, aN as v2, J as qe, G as Ge, aO as T5, i as $c, aP as M5, ar as ia, aQ as D5, ay as Le, ax as ui, at as bs, au as _s, aR as ys, av as vs, Y as Eo, a7 as Nh, aS as sa, ap as ht, H as Fl, a6 as Bc, aT as P5, aU as R5, aV as L5, X as Th, P as I5, _ as k2, $ as ii, a0 as si, a1 as oi, a2 as ai, a3 as li, O as w2, R as C2, aw as j2, L as O5, aW as F5, aX as Tg, ao as z5, aY as $5, aZ as B5, D as q5, a9 as U5, N as V5, Z as H5, a8 as W5, B as K5, E as G5, z as X5 } from "./account-screen-runtime-B3e0JV6I.js";
5
+ import { _ as Qe, u as Be, o as ee, s as E, b as he, w as S2, d as ce, n as X, a as zt, m as qc, x as se, t as Pe, r as wi, e as $i, c as an, R as Ci, j as ji, y as E2, z as Mh, M as Y5, C as A2, D as Dh, f as Ph, v as Rh, g as Lh, h as Ih, P as N2, k as Q5, A as Z5, Z as J5, B as ej, E as tj, F as nj, G as dp, H as zr } from "./schemas-BiM-ImW1.js";
6
+ import { a as rj, c as ij, b as T2, S as Gt, I as Ir, u as sj } from "./sheet-haptics-context-d9udqor0.js";
7
+ import { u as Xn, S as oj } from "./useInfiniteQuery-fL_VYHHr.js";
8
+ import { T as aj, a as lj, b as cj, c as uj, G as dj, A as M2, F as fj, d as D2, D as pj, U as hj, L as mj, u as gj, V as xj, I as bj } from "./index-CfLLmITa.js";
9
+ import { t as Lt, d as Uc, c as Vc, u as ks, v as Yt, x as _j, m as Oh, a as fp, b as Fh, q as Rt, r as yj, L as Hc } from "./isAfter-D0zQuNEJ.js";
10
+ import { n as P2, R as vj, I as kj, P as oa, k as aa, l as la, o as ed, C as Ji, E as Ao, M as Wc, D as Kc, a as Gc, b as Xc, p as zh, c as Mt, m as Yc, S as wj, d as Cj, e as jj, f as Sj, g as Ej } from "./MobileActionSheet-aGr-nGxu.js";
11
+ import { C as R2, B as fr, T as Aj, P as $h, u as Nj } from "./use-store-aahN8SDp.js";
12
+ import { a as Pr, Q as Tj, I as ss, S as L2, b as I2, s as O2, d as Mj, e as qs } from "./screen-route-slug-utils-HNXiCpo6.js";
13
+ import { c as Dj, f as Bh, M as qh, T as Pj, a as Rj, b as Lj, g as Ij, d as F2, h as Si, m as Oj, i as Hi, j as ca, k as ws, l as Fj, n as zj, o as $j, p as Bj, q as qj, r as Uj, s as pp, t as Uh, v as Vj, D as Hj, N as qt, w as z2, F as hp, x as Wj, y as Kj, z as Gj, A as Xj, R as Yj, L as Qj, e as Zj, u as Jj, S as eS, P as tS, E as nS } from "./index-DFIsiT9r.js";
14
+ import { E as Qc } from "./eye-BHBOtWLw.js";
15
+ import { L as rS, a as iS } from "./log-out-segl_UhK.js";
16
+ import { U as sS } from "./users-B3YJ3D1U.js";
17
+ import { A as oS } from "./arrow-left-BOYuYcvT.js";
18
+ import { U as aS } from "./user-B4pULYRZ.js";
19
+ import { u as lS } from "./sidebar-BDgHluGp.js";
20
20
  /**
21
21
  * @license lucide-react v0.575.0 - ISC
22
22
  *
@@ -2824,8 +2824,8 @@ function QE(e) {
2824
2824
  }
2825
2825
  if (S)
2826
2826
  for (var P = m ? 3 : 1, le = function(O) {
2827
- var K = y.find(function(ee) {
2828
- var V = A.get(ee);
2827
+ var K = y.find(function(te) {
2828
+ var V = A.get(te);
2829
2829
  if (V)
2830
2830
  return V.slice(0, O).every(function(Y) {
2831
2831
  return Y;
@@ -2955,7 +2955,7 @@ function aA(e) {
2955
2955
  var I, N = y === "y" ? en : tn, R = y === "y" ? jn : Sn, B = y === "y" ? "height" : "width", W = w[y], q = W + b[N], $ = W - b[R], P = h ? -S[B] / 2 : 0, le = _ === as ? A[B] : S[B], oe = _ === as ? -S[B] : -A[B], L = t.elements.arrow, U = h && L ? rm(L) : {
2956
2956
  width: 0,
2957
2957
  height: 0
2958
- }, O = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Tv(), K = O[N], ee = O[R], V = so(0, A[B], U[B]), Y = v ? A[B] / 2 - P - V - K - j.mainAxis : le - V - K - j.mainAxis, F = v ? -A[B] / 2 + P + V + ee + j.mainAxis : oe + V + ee + j.mainAxis, Q = t.elements.arrow && da(t.elements.arrow), Z = Q ? y === "y" ? Q.clientTop || 0 : Q.clientLeft || 0 : 0, pe = (I = D?.[y]) != null ? I : 0, ye = W + Y - pe - Z, We = W + F - pe, Se = so(h ? $l(q, ye) : q, W, h ? hi($, We) : $);
2958
+ }, O = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Tv(), K = O[N], te = O[R], V = so(0, A[B], U[B]), Y = v ? A[B] / 2 - P - V - K - j.mainAxis : le - V - K - j.mainAxis, F = v ? -A[B] / 2 + P + V + te + j.mainAxis : oe + V + te + j.mainAxis, Q = t.elements.arrow && da(t.elements.arrow), Z = Q ? y === "y" ? Q.clientTop || 0 : Q.clientLeft || 0 : 0, pe = (I = D?.[y]) != null ? I : 0, ye = W + Y - pe - Z, We = W + F - pe, Se = so(h ? $l(q, ye) : q, W, h ? hi($, We) : $);
2959
2959
  w[y] = Se, M[y] = Se - W;
2960
2960
  }
2961
2961
  if (l) {
@@ -3592,7 +3592,7 @@ function UA(e, t) {
3592
3592
  var G = N();
3593
3593
  G.removeEventListener("mousedown", oe, !0), G.removeEventListener("touchend", oe, ni), G.removeEventListener("touchstart", U, ni), G.removeEventListener("touchmove", L, ni);
3594
3594
  }
3595
- function ee(G, ae) {
3595
+ function te(G, ae) {
3596
3596
  Y(G, function() {
3597
3597
  !y.state.isVisible && w.parentNode && w.parentNode.contains(w) && ae();
3598
3598
  });
@@ -3829,7 +3829,7 @@ function UA(e, t) {
3829
3829
  var Ne = R(), ke = Ne.box, _t = Ne.content;
3830
3830
  y.props.animation && (id([ke, _t], Fe), Vg([ke, _t], "hidden"));
3831
3831
  }
3832
- $(), P(), y.props.animation ? M() && ee(Fe, y.unmount) : y.unmount();
3832
+ $(), P(), y.props.animation ? M() && te(Fe, y.unmount) : y.unmount();
3833
3833
  }
3834
3834
  }
3835
3835
  function ut(G) {
@@ -5582,7 +5582,7 @@ function BN(e, t) {
5582
5582
  }
5583
5583
  });
5584
5584
  }
5585
- const qN = te({
5585
+ const qN = ee({
5586
5586
  id: X(),
5587
5587
  first_name: E().nullable(),
5588
5588
  last_name: E().nullable(),
@@ -5599,11 +5599,11 @@ const qN = te({
5599
5599
  last_online: E().nullable().optional(),
5600
5600
  country_name: E().nullable(),
5601
5601
  pro_user: ce()
5602
- }), UN = te({
5602
+ }), UN = ee({
5603
5603
  channelName: E().min(1, "Channel name is required"),
5604
5604
  description: E().max(120, "120 character limit"),
5605
5605
  visibility: Qe(["public", "team", "broadcast"])
5606
- }), VN = te({
5606
+ }), VN = ee({
5607
5607
  emoji: E().min(1).default("📣"),
5608
5608
  autoAdd: ce().default(!1),
5609
5609
  addAllUsers: ce().default(!1),
@@ -5707,8 +5707,8 @@ const qN = te({
5707
5707
  return d;
5708
5708
  }
5709
5709
  return s;
5710
- }, { Provider: HN, useTranslation: WN } = T2("Messaging"), u3 = HN, ne = WN, KN = te({
5711
- data: te({
5710
+ }, { Provider: HN, useTranslation: WN } = T2("Messaging"), u3 = HN, ne = WN, KN = ee({
5711
+ data: ee({
5712
5712
  name: zt([E().min(1), E().array().min(1)])
5713
5713
  })
5714
5714
  });
@@ -6351,7 +6351,7 @@ function oT(e) {
6351
6351
  const aT = wi(
6352
6352
  E(),
6353
6353
  X()
6354
- ), ud = te({
6354
+ ), ud = ee({
6355
6355
  id: X(),
6356
6356
  body: E(),
6357
6357
  type: E(),
@@ -6424,7 +6424,7 @@ const aT = wi(
6424
6424
  status: E().nullable(),
6425
6425
  phone_status: E().nullable()
6426
6426
  })
6427
- }), gT = te({
6427
+ }), gT = ee({
6428
6428
  type: Pe("scraped_message_link"),
6429
6429
  message_id: X(),
6430
6430
  conversation_id: X()
@@ -6437,7 +6437,7 @@ const aT = wi(
6437
6437
  type: Pe("remove_reaction"),
6438
6438
  reaction_id: X(),
6439
6439
  message_id: X()
6440
- }), _T = te({
6440
+ }), _T = ee({
6441
6441
  type: Qe(["today_post_added", "today_post_removed"]),
6442
6442
  post_id: E(),
6443
6443
  pinned: ce().optional()
@@ -8204,16 +8204,16 @@ function h9() {
8204
8204
  }, D = function(U) {
8205
8205
  var O = j(U);
8206
8206
  if (O !== void 0) return O;
8207
- var K = g[S], ee = K.type, V = K.index;
8208
- throw new TypeError("Unexpected ".concat(ee, " at ").concat(V, ", expected ").concat(U));
8207
+ var K = g[S], te = K.type, V = K.index;
8208
+ throw new TypeError("Unexpected ".concat(te, " at ").concat(V, ", expected ").concat(U));
8209
8209
  }, M = function() {
8210
8210
  for (var U = "", O; O = j("CHAR") || j("ESCAPED_CHAR"); )
8211
8211
  U += O;
8212
8212
  return U;
8213
8213
  }, I = function(U) {
8214
8214
  for (var O = 0, K = C; O < K.length; O++) {
8215
- var ee = K[O];
8216
- if (U.indexOf(ee) > -1) return !0;
8215
+ var te = K[O];
8216
+ if (U.indexOf(te) > -1) return !0;
8217
8217
  }
8218
8218
  return !1;
8219
8219
  }, N = function(U) {
@@ -8708,7 +8708,7 @@ function x9() {
8708
8708
  return K;
8709
8709
  },
8710
8710
  RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS: function() {
8711
- return ee;
8711
+ return te;
8712
8712
  },
8713
8713
  RSC_MOD_REF_PROXY_ALIAS: function() {
8714
8714
  return L;
@@ -8759,7 +8759,7 @@ function x9() {
8759
8759
  return de;
8760
8760
  }
8761
8761
  });
8762
- const n = "text/plain", r = "text/html; charset=utf-8", i = "application/json; charset=utf-8", s = "nxtP", o = "nxtI", l = "x-matched-path", c = "x-prerender-revalidate", u = "x-prerender-revalidate-if-generated", d = ".segments", f = ".segment.rsc", p = ".rsc", h = ".action", m = ".json", x = ".meta", b = ".body", g = "x-nextjs-deployment-id", _ = "x-next-cache-tags", v = "x-next-revalidated-tags", y = "x-next-revalidate-tag-token", C = "next-resume", w = "x-next-resume-state-length", A = 128, S = 256, T = 1024, j = "_N_T_", D = "_N_RP_", M = 31536e3, I = 4294967294, N = "middleware", R = `(?:src/)?${N}`, B = "proxy", W = `(?:src/)?${B}`, q = "instrumentation", $ = "private-next-pages", P = "private-dot-next", le = "private-next-root-dir", oe = "private-next-app-dir", L = "private-next-rsc-mod-ref-proxy", U = "private-next-rsc-action-validate", O = "private-next-rsc-server-reference", K = "private-next-rsc-cache-wrapper", ee = "private-next-rsc-track-dynamic-import", V = "private-next-rsc-action-encryption", Y = "private-next-rsc-action-client-wrapper", F = "You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict", Q = "You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps", Z = "You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.", pe = "You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps", ye = "can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props", We = "pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export", Se = "Your `getStaticProps` function did not return an object. Did you forget to add a `return`?", ve = "Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?", Xe = "The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.", xe = "can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member", ge = 'You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env', Ue = "Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export", Te = [
8762
+ const n = "text/plain", r = "text/html; charset=utf-8", i = "application/json; charset=utf-8", s = "nxtP", o = "nxtI", l = "x-matched-path", c = "x-prerender-revalidate", u = "x-prerender-revalidate-if-generated", d = ".segments", f = ".segment.rsc", p = ".rsc", h = ".action", m = ".json", x = ".meta", b = ".body", g = "x-nextjs-deployment-id", _ = "x-next-cache-tags", v = "x-next-revalidated-tags", y = "x-next-revalidate-tag-token", C = "next-resume", w = "x-next-resume-state-length", A = 128, S = 256, T = 1024, j = "_N_T_", D = "_N_RP_", M = 31536e3, I = 4294967294, N = "middleware", R = `(?:src/)?${N}`, B = "proxy", W = `(?:src/)?${B}`, q = "instrumentation", $ = "private-next-pages", P = "private-dot-next", le = "private-next-root-dir", oe = "private-next-app-dir", L = "private-next-rsc-mod-ref-proxy", U = "private-next-rsc-action-validate", O = "private-next-rsc-server-reference", K = "private-next-rsc-cache-wrapper", te = "private-next-rsc-track-dynamic-import", V = "private-next-rsc-action-encryption", Y = "private-next-rsc-action-client-wrapper", F = "You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict", Q = "You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps", Z = "You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.", pe = "You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps", ye = "can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props", We = "pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export", Se = "Your `getStaticProps` function did not return an object. Did you forget to add a `return`?", ve = "Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?", Xe = "The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.", xe = "can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member", ge = 'You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env', Ue = "Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export", Te = [
8763
8763
  "app",
8764
8764
  "pages",
8765
8765
  "components",
@@ -10060,8 +10060,8 @@ function $9() {
10060
10060
  }
10061
10061
  const w = /* @__PURE__ */ o.default.forwardRef(function(D, M) {
10062
10062
  let I;
10063
- const { href: N, as: R, children: B, prefetch: W = null, passHref: q, replace: $, shallow: P, scroll: le, locale: oe, onClick: L, onNavigate: U, onMouseEnter: O, onTouchStart: K, legacyBehavior: ee = !1, transitionTypes: V, ...Y } = D;
10064
- I = B, ee && (typeof I == "string" || typeof I == "number") && (I = /* @__PURE__ */ (0, s.jsx)("a", {
10063
+ const { href: N, as: R, children: B, prefetch: W = null, passHref: q, replace: $, shallow: P, scroll: le, locale: oe, onClick: L, onNavigate: U, onMouseEnter: O, onTouchStart: K, legacyBehavior: te = !1, transitionTypes: V, ...Y } = D;
10064
+ I = B, te && (typeof I == "string" || typeof I == "number") && (I = /* @__PURE__ */ (0, s.jsx)("a", {
10065
10065
  children: I
10066
10066
  }));
10067
10067
  const F = o.default.useContext(p.RouterContext), Q = W !== !1, { href: Z, as: pe } = o.default.useMemo(() => {
@@ -10083,8 +10083,8 @@ function $9() {
10083
10083
  R
10084
10084
  ]), ye = o.default.useRef(Z), We = o.default.useRef(pe);
10085
10085
  let Se;
10086
- ee && (Se = o.default.Children.only(I));
10087
- const ve = ee ? Se && typeof Se == "object" && Se.ref : M, [Xe, xe, ge] = (0, h.useIntersection)({
10086
+ te && (Se = o.default.Children.only(I));
10087
+ const ve = te ? Se && typeof Se == "object" && Se.ref : M, [Xe, xe, ge] = (0, h.useIntersection)({
10088
10088
  rootMargin: "200px"
10089
10089
  }), Ue = o.default.useCallback((de) => {
10090
10090
  (We.current !== pe || ye.current !== Z) && (ge(), We.current = pe, ye.current = Z), Xe(de);
@@ -10112,10 +10112,10 @@ function $9() {
10112
10112
  const De = {
10113
10113
  ref: Te,
10114
10114
  onClick(de) {
10115
- !ee && typeof L == "function" && L(de), ee && Se.props && typeof Se.props.onClick == "function" && Se.props.onClick(de), F && (de.defaultPrevented || y(de, F, Z, pe, $, P, le, oe, U));
10115
+ !te && typeof L == "function" && L(de), te && Se.props && typeof Se.props.onClick == "function" && Se.props.onClick(de), F && (de.defaultPrevented || y(de, F, Z, pe, $, P, le, oe, U));
10116
10116
  },
10117
10117
  onMouseEnter(de) {
10118
- !ee && typeof O == "function" && O(de), ee && Se.props && typeof Se.props.onMouseEnter == "function" && Se.props.onMouseEnter(de), F && _(F, Z, pe, {
10118
+ !te && typeof O == "function" && O(de), te && Se.props && typeof Se.props.onMouseEnter == "function" && Se.props.onMouseEnter(de), F && _(F, Z, pe, {
10119
10119
  locale: oe,
10120
10120
  priority: !0,
10121
10121
  // @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}
@@ -10123,7 +10123,7 @@ function $9() {
10123
10123
  });
10124
10124
  },
10125
10125
  onTouchStart: n.__NEXT_LINK_NO_TOUCH_START ? void 0 : function(_e) {
10126
- !ee && typeof K == "function" && K(_e), ee && Se.props && typeof Se.props.onTouchStart == "function" && Se.props.onTouchStart(_e), F && _(F, Z, pe, {
10126
+ !te && typeof K == "function" && K(_e), te && Se.props && typeof Se.props.onTouchStart == "function" && Se.props.onTouchStart(_e), F && _(F, Z, pe, {
10127
10127
  locale: oe,
10128
10128
  priority: !0,
10129
10129
  // @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}
@@ -10133,11 +10133,11 @@ function $9() {
10133
10133
  };
10134
10134
  if ((0, d.isAbsoluteUrl)(pe))
10135
10135
  De.href = pe;
10136
- else if (!ee || q || Se.type === "a" && !("href" in Se.props)) {
10136
+ else if (!te || q || Se.type === "a" && !("href" in Se.props)) {
10137
10137
  const de = typeof oe < "u" ? oe : F?.locale, _e = F?.isLocaleDomain && (0, m.getDomainLocale)(pe, de, F?.locales, F?.domainLocales);
10138
10138
  De.href = _e || (0, x.addBasePath)((0, f.addLocale)(pe, de, F?.defaultLocale));
10139
10139
  }
10140
- return ee ? /* @__PURE__ */ o.default.cloneElement(Se, De) : /* @__PURE__ */ (0, s.jsx)("a", {
10140
+ return te ? /* @__PURE__ */ o.default.cloneElement(Se, De) : /* @__PURE__ */ (0, s.jsx)("a", {
10141
10141
  ...Y,
10142
10142
  ...De,
10143
10143
  children: I
@@ -11867,7 +11867,7 @@ function R7(e) {
11867
11867
  return !1;
11868
11868
  }
11869
11869
  }
11870
- const Jd = E().refine(R7).nullable(), L7 = te({
11870
+ const Jd = E().refine(R7).nullable(), L7 = ee({
11871
11871
  receiptId: E().min(1).max(256),
11872
11872
  requestId: E2(),
11873
11873
  toolCallId: E().min(1).max(128),
@@ -11878,7 +11878,7 @@ const Jd = E().refine(R7).nullable(), L7 = te({
11878
11878
  finalUrl: Jd,
11879
11879
  observedAt: E().nullable(),
11880
11880
  title: E().max(300).nullable(),
11881
- viewport: te({
11881
+ viewport: ee({
11882
11882
  name: Qe(["mobile", "desktop"]),
11883
11883
  width: X().int().positive().nullable().optional(),
11884
11884
  height: X().int().positive().nullable().optional()
@@ -11897,7 +11897,7 @@ function O7(e) {
11897
11897
  return !1;
11898
11898
  }
11899
11899
  }
11900
- const F7 = te({
11900
+ const F7 = ee({
11901
11901
  title: Ht,
11902
11902
  sku: Ht,
11903
11903
  status: Ht,
@@ -11907,7 +11907,7 @@ const F7 = te({
11907
11907
  inStock: ce().nullable(),
11908
11908
  imageUrl: E().refine(O7).nullable(),
11909
11909
  updatedAt: Ht
11910
- }), z7 = te({
11910
+ }), z7 = ee({
11911
11911
  orderNumber: Ht,
11912
11912
  status: Ht,
11913
11913
  financialStatus: Ht,
@@ -11917,7 +11917,7 @@ const F7 = te({
11917
11917
  amount: Ht,
11918
11918
  currencyCode: Ht,
11919
11919
  itemsCount: X().int().nonnegative().nullable(),
11920
- items: he(te({ title: Ht, quantity: X().int().nullable() })).max(10)
11920
+ items: he(ee({ title: Ht, quantity: X().int().nullable() })).max(10)
11921
11921
  }), dx = {
11922
11922
  receiptId: E().min(1).max(256),
11923
11923
  requestId: E2(),
@@ -11930,12 +11930,12 @@ const F7 = te({
11930
11930
  apiPath: E().max(512).nullable(),
11931
11931
  requiredPermissions: he(Qe(["storefront.view", "orders.view"])).length(1)
11932
11932
  }, $7 = Mh("sourceKind", [
11933
- te({
11933
+ ee({
11934
11934
  ...dx,
11935
11935
  sourceKind: Pe("product"),
11936
11936
  summary: F7.nullable()
11937
11937
  }),
11938
- te({
11938
+ ee({
11939
11939
  ...dx,
11940
11940
  sourceKind: Pe("order"),
11941
11941
  summary: z7.nullable()
@@ -11946,17 +11946,17 @@ const F7 = te({
11946
11946
  code: "custom",
11947
11947
  message: "Invalid authorized resource result"
11948
11948
  });
11949
- }), uu = te({
11949
+ }), uu = ee({
11950
11950
  id: E(),
11951
11951
  name: E().nullable(),
11952
11952
  kind: Qe(["user", "agent"])
11953
- }), B7 = te({
11953
+ }), B7 = ee({
11954
11954
  producer: E(),
11955
11955
  throughSequence: X().int().positive(),
11956
11956
  answered: ce(),
11957
11957
  expiresAt: E().nullable()
11958
11958
  });
11959
- te({
11959
+ ee({
11960
11960
  id: E(),
11961
11961
  clientId: E(),
11962
11962
  companyId: X().int(),
@@ -11967,16 +11967,16 @@ te({
11967
11967
  sharedAt: E().nullable().optional(),
11968
11968
  createdAt: E(),
11969
11969
  updatedAt: E(),
11970
- source: te({ kind: Qe(["task", "preview_thread"]), id: E() }).nullable().optional(),
11970
+ source: ee({ kind: Qe(["task", "preview_thread"]), id: E() }).nullable().optional(),
11971
11971
  /** Absent from older servers, and null while no runtime is answering. */
11972
11972
  answerClaim: B7.nullable().optional(),
11973
11973
  /** The texting channel feeding this chat; null for a chat held in Fluid,
11974
11974
  * absent from older servers. Its messages arrive from outside the browser,
11975
11975
  * so it is read again while open. The phone's last four digits reach only
11976
11976
  * the person who linked it; anyone else reading a shared chat gets null. */
11977
- channel: te({ kind: Pe("sms"), numberLast4: E().nullable() }).nullable().optional()
11977
+ channel: ee({ kind: Pe("sms"), numberLast4: E().nullable() }).nullable().optional()
11978
11978
  });
11979
- te({
11979
+ ee({
11980
11980
  id: E(),
11981
11981
  discussionId: E(),
11982
11982
  sequence: X().int().positive(),
@@ -11988,7 +11988,7 @@ te({
11988
11988
  /** Set only on an answer a client such as Mist Desktop published; see clientAnswerProducers. */
11989
11989
  producer: E().optional(),
11990
11990
  /** On a person message that took messages back: the closed range of sequences, ends included. Absent on every other message and from older servers. */
11991
- withdraws: te({
11991
+ withdraws: ee({
11992
11992
  from: X().int().positive(),
11993
11993
  through: X().int().positive()
11994
11994
  }).optional(),
@@ -11998,7 +11998,7 @@ te({
11998
11998
  roundLimitReached: ce().optional(),
11999
11999
  createdAt: E()
12000
12000
  });
12001
- te({
12001
+ ee({
12002
12002
  /** "mist_desktop" or "rails" today. */
12003
12003
  runtime: E(),
12004
12004
  toolName: E(),
@@ -12014,12 +12014,12 @@ te({
12014
12014
  /** When the step was recorded; a Desktop step carries its attempt's time. */
12015
12015
  occurredAt: E()
12016
12016
  });
12017
- const q7 = te({
12017
+ const q7 = ee({
12018
12018
  id: E(),
12019
12019
  title: E(),
12020
12020
  status: E()
12021
12021
  });
12022
- te({
12022
+ ee({
12023
12023
  id: E(),
12024
12024
  discussionId: E(),
12025
12025
  taskId: E(),
@@ -12031,17 +12031,17 @@ te({
12031
12031
  createdAt: E(),
12032
12032
  task: q7.nullable()
12033
12033
  });
12034
- const U7 = te({
12034
+ const U7 = ee({
12035
12035
  id: E(),
12036
12036
  prompt: E(),
12037
12037
  options: he(E())
12038
- }), V7 = te({
12038
+ }), V7 = ee({
12039
12039
  id: E(),
12040
12040
  title: E(),
12041
12041
  status: E(),
12042
12042
  reason: E(),
12043
12043
  mergeBlocked: E().nullable()
12044
- }), H7 = te({
12044
+ }), H7 = ee({
12045
12045
  state: E(),
12046
12046
  score: X().int().min(1).max(5).optional(),
12047
12047
  band: E().optional(),
@@ -12067,17 +12067,17 @@ const U7 = te({
12067
12067
  /** The older ticket this one repeats, while the suggestion stands. Absent
12068
12068
  * from a server that predates duplicates, and when there is none. */
12069
12069
  duplicateOf: V7.optional()
12070
- }), z3 = te({
12070
+ }), z3 = ee({
12071
12071
  key: E(),
12072
12072
  name: E()
12073
- }), W7 = te({
12073
+ }), W7 = ee({
12074
12074
  agency: z3,
12075
12075
  state: E(),
12076
12076
  stage: E(),
12077
12077
  version: X().int().nonnegative(),
12078
12078
  sentAt: E().optional(),
12079
12079
  /** The current quote, null while none stands. Hours are an estimate, not a price. */
12080
- quote: te({
12080
+ quote: ee({
12081
12081
  hours: X(),
12082
12082
  /** The calendar day the agency commits to, as `YYYY-MM-DD`. */
12083
12083
  deliverOn: E(),
@@ -12085,12 +12085,27 @@ const U7 = te({
12085
12085
  quotedAt: E().optional()
12086
12086
  }).nullable().optional(),
12087
12087
  /** The latest step, with the note or reason it came with. */
12088
- lastStep: te({
12088
+ lastStep: ee({
12089
12089
  kind: E(),
12090
12090
  at: E().optional(),
12091
12091
  note: E().nullable().optional()
12092
- }).nullable().optional()
12093
- }), K7 = te({
12092
+ }).nullable().optional(),
12093
+ /**
12094
+ * The agency people the customer gave access to their store from this
12095
+ * ticket, each with the role they hold. Absent from a server that predates
12096
+ * store access, which reads as none.
12097
+ */
12098
+ access: he(
12099
+ ee({
12100
+ person: ee({ id: E(), name: E() }),
12101
+ role: ee({ id: X(), name: E() }).nullable()
12102
+ })
12103
+ ).optional(),
12104
+ /** Whether the agency member who picked the ticket up can get into the store; absent when the server does not say. */
12105
+ ownerHasAccess: ce().optional(),
12106
+ /** The agency member who picked the ticket up, the only person the customer is offered to give access to; absent or null while nobody has. */
12107
+ owner: ee({ id: E(), name: E() }).nullable().optional()
12108
+ }), K7 = ee({
12094
12109
  id: E(),
12095
12110
  state: E(),
12096
12111
  /** The name the customer typed, not an agency Fluid has. */
@@ -12099,12 +12114,12 @@ const U7 = te({
12099
12114
  declineReason: E().nullable().optional(),
12100
12115
  requestedAt: E().optional(),
12101
12116
  version: X().int().nonnegative()
12102
- }), G7 = te({
12117
+ }), G7 = ee({
12103
12118
  provider: E(),
12104
12119
  identifier: E(),
12105
12120
  url: E()
12106
12121
  });
12107
- te({
12122
+ ee({
12108
12123
  id: E(),
12109
12124
  title: E(),
12110
12125
  description: E(),
@@ -12145,7 +12160,7 @@ te({
12145
12160
  /** The steps Mist proposed for multi-step work, in order: a proposal,
12146
12161
  * never an approval or progress. Null when there is none; absent from a
12147
12162
  * server that predates it. */
12148
- plan: he(te({ title: E(), outcome: E() })).nullable().optional(),
12163
+ plan: he(ee({ title: E(), outcome: E() })).nullable().optional(),
12149
12164
  /** Mist's confidence it could do the work as written, scored before work
12150
12165
  * starts. Absent from a server that predates it, which reads as not
12151
12166
  * assessed. */
@@ -12153,11 +12168,11 @@ te({
12153
12168
  /** The ticket this one was merged into, or null for one that is not merged.
12154
12169
  * A merged ticket is closed and frozen until it is split. Absent from a
12155
12170
  * server that predates duplicates, which reads as not merged. */
12156
- mergedInto: te({ id: E(), title: E(), deleted: ce() }).nullable().optional(),
12171
+ mergedInto: ee({ id: E(), title: E(), deleted: ce() }).nullable().optional(),
12157
12172
  /** The tickets merged into this one, oldest merge first. Absent from a
12158
12173
  * server that predates duplicates, which reads as none. */
12159
12174
  mergedFrom: he(
12160
- te({
12175
+ ee({
12161
12176
  id: E(),
12162
12177
  title: E(),
12163
12178
  mergedAt: E(),
@@ -12167,7 +12182,7 @@ te({
12167
12182
  createdAt: E(),
12168
12183
  updatedAt: E()
12169
12184
  });
12170
- te({
12185
+ ee({
12171
12186
  discussionId: E(),
12172
12187
  title: E(),
12173
12188
  createdWorkItem: ce()
@@ -13700,11 +13715,11 @@ function ZM() {
13700
13715
  if (!U || !O) return P;
13701
13716
  var K = m(U);
13702
13717
  B(O) || (O = h(O));
13703
- var ee = K.bitflags;
13704
- return (ee & O._bitflags) !== ee ? P : b(K, O);
13718
+ var te = K.bitflags;
13719
+ return (te & O._bitflags) !== te ? P : b(K, O);
13705
13720
  }, r = (U, O, K) => {
13706
13721
  if (!U) return K?.all ? x(O, K) : $;
13707
- var ee = m(U), V = ee.bitflags, Y = ee.containsSpace, F = f(K?.threshold || 0), Q = K?.limit || W, Z = 0, pe = 0, ye = O.length;
13722
+ var te = m(U), V = te.bitflags, Y = te.containsSpace, F = f(K?.threshold || 0), Q = K?.limit || W, Z = 0, pe = 0, ye = O.length;
13708
13723
  function We(Ae) {
13709
13724
  Z < Q ? (L.add(Ae), ++Z) : (++pe, Ae._score > L.peek()._score && L.replaceTop(Ae));
13710
13725
  }
@@ -13712,7 +13727,7 @@ function ZM() {
13712
13727
  for (var Se = K.key, ve = 0; ve < ye; ++ve) {
13713
13728
  var Xe = O[ve], xe = R(Xe, Se);
13714
13729
  if (xe && (B(xe) || (xe = h(xe)), (V & xe._bitflags) === V)) {
13715
- var ge = b(ee, xe);
13730
+ var ge = b(te, xe);
13716
13731
  ge !== P && (ge._score < F || (ge.obj = Xe, We(ge)));
13717
13732
  }
13718
13733
  }
@@ -13731,14 +13746,14 @@ function ZM() {
13731
13746
  }
13732
13747
  if ((V & De) !== V) continue;
13733
13748
  }
13734
- if (Y) for (let Oe = 0; Oe < ee.spaceSearches.length; Oe++) D[Oe] = q;
13749
+ if (Y) for (let Oe = 0; Oe < te.spaceSearches.length; Oe++) D[Oe] = q;
13735
13750
  for (var de = 0; de < Te; ++de) {
13736
13751
  if (xe = I[de], xe === le) {
13737
13752
  N[de] = le;
13738
13753
  continue;
13739
13754
  }
13740
13755
  if (N[de] = b(
13741
- ee,
13756
+ te,
13742
13757
  xe,
13743
13758
  /*allowSpaces=*/
13744
13759
  !1,
@@ -13748,7 +13763,7 @@ function ZM() {
13748
13763
  N[de] = le;
13749
13764
  continue;
13750
13765
  }
13751
- if (Y) for (let ze = 0; ze < ee.spaceSearches.length; ze++) {
13766
+ if (Y) for (let ze = 0; ze < te.spaceSearches.length; ze++) {
13752
13767
  if (M[ze] > -1e3 && D[ze] > q) {
13753
13768
  var _e = (D[ze] + M[ze]) / 4;
13754
13769
  _e > D[ze] && (D[ze] = _e);
@@ -13757,7 +13772,7 @@ function ZM() {
13757
13772
  }
13758
13773
  }
13759
13774
  if (Y) {
13760
- for (let Oe = 0; Oe < ee.spaceSearches.length; Oe++)
13775
+ for (let Oe = 0; Oe < te.spaceSearches.length; Oe++)
13761
13776
  if (D[Oe] === q) continue e;
13762
13777
  } else {
13763
13778
  var z = !1;
@@ -13773,7 +13788,7 @@ function ZM() {
13773
13788
  J[Oe] = N[Oe];
13774
13789
  if (Y) {
13775
13790
  var ue = 0;
13776
- for (let Oe = 0; Oe < ee.spaceSearches.length; Oe++) ue += D[Oe];
13791
+ for (let Oe = 0; Oe < te.spaceSearches.length; Oe++) ue += D[Oe];
13777
13792
  } else {
13778
13793
  var ue = q;
13779
13794
  for (let ze = 0; ze < Te; ze++) {
@@ -13795,7 +13810,7 @@ function ZM() {
13795
13810
  for (var ve = 0; ve < ye; ++ve) {
13796
13811
  var xe = O[ve];
13797
13812
  if (xe && (B(xe) || (xe = h(xe)), (V & xe._bitflags) === V)) {
13798
- var ge = b(ee, xe);
13813
+ var ge = b(te, xe);
13799
13814
  ge !== P && (ge._score < F || We(ge));
13800
13815
  }
13801
13816
  }
@@ -13803,18 +13818,18 @@ function ZM() {
13803
13818
  for (var je = new Array(Z), ve = Z - 1; ve >= 0; --ve) je[ve] = L.poll();
13804
13819
  return je.total = Z + pe, je;
13805
13820
  }, i = (U, O = "<b>", K = "</b>") => {
13806
- for (var ee = typeof O == "function" ? O : void 0, V = U.target, Y = V.length, F = U.indexes, Q = "", Z = 0, pe = 0, ye = !1, We = [], Se = 0; Se < Y; ++Se) {
13821
+ for (var te = typeof O == "function" ? O : void 0, V = U.target, Y = V.length, F = U.indexes, Q = "", Z = 0, pe = 0, ye = !1, We = [], Se = 0; Se < Y; ++Se) {
13807
13822
  var ve = V[Se];
13808
13823
  if (F[pe] === Se) {
13809
- if (++pe, ye || (ye = !0, ee ? (We.push(Q), Q = "") : Q += O), pe === F.length) {
13810
- ee ? (Q += ve, We.push(ee(Q, Z++)), Q = "", We.push(V.substr(Se + 1))) : Q += ve + K + V.substr(Se + 1);
13824
+ if (++pe, ye || (ye = !0, te ? (We.push(Q), Q = "") : Q += O), pe === F.length) {
13825
+ te ? (Q += ve, We.push(te(Q, Z++)), Q = "", We.push(V.substr(Se + 1))) : Q += ve + K + V.substr(Se + 1);
13811
13826
  break;
13812
13827
  }
13813
13828
  } else
13814
- ye && (ye = !1, ee ? (We.push(ee(Q, Z++)), Q = "") : Q += K);
13829
+ ye && (ye = !1, te ? (We.push(te(Q, Z++)), Q = "") : Q += K);
13815
13830
  Q += ve;
13816
13831
  }
13817
- return ee ? We : Q;
13832
+ return te ? We : Q;
13818
13833
  }, s = (U) => {
13819
13834
  typeof U == "number" ? U = "" + U : typeof U != "string" && (U = "");
13820
13835
  var O = v(U);
@@ -13854,12 +13869,12 @@ function ZM() {
13854
13869
  typeof U == "number" ? U = "" + U : typeof U != "string" && (U = ""), U = U.trim();
13855
13870
  var O = v(U), K = [];
13856
13871
  if (O.containsSpace) {
13857
- var ee = U.split(/\s+/);
13858
- ee = [...new Set(ee)];
13859
- for (var V = 0; V < ee.length; V++)
13860
- if (ee[V] !== "") {
13861
- var Y = v(ee[V]);
13862
- K.push({ lowerCodes: Y.lowerCodes, _lower: ee[V].toLowerCase(), containsSpace: !1 });
13872
+ var te = U.split(/\s+/);
13873
+ te = [...new Set(te)];
13874
+ for (var V = 0; V < te.length; V++)
13875
+ if (te[V] !== "") {
13876
+ var Y = v(te[V]);
13877
+ K.push({ lowerCodes: Y.lowerCodes, _lower: te[V].toLowerCase(), containsSpace: !1 });
13863
13878
  }
13864
13879
  }
13865
13880
  return { lowerCodes: O.lowerCodes, _lower: O._lower, containsSpace: O.containsSpace, bitflags: O.bitflags, spaceSearches: K };
@@ -13874,14 +13889,14 @@ function ZM() {
13874
13889
  }, x = (U, O) => {
13875
13890
  var K = [];
13876
13891
  K.total = U.length;
13877
- var ee = O?.limit || W;
13892
+ var te = O?.limit || W;
13878
13893
  if (O?.key)
13879
13894
  for (var V = 0; V < U.length; V++) {
13880
13895
  var Y = U[V], F = R(Y, O.key);
13881
13896
  if (F != P) {
13882
13897
  B(F) || (F = h(F));
13883
13898
  var Q = u(F.target, { _score: F._score, obj: Y });
13884
- if (K.push(Q), K.length >= ee) return K;
13899
+ if (K.push(Q), K.length >= te) return K;
13885
13900
  }
13886
13901
  }
13887
13902
  else if (O?.keys)
@@ -13894,17 +13909,17 @@ function ZM() {
13894
13909
  }
13895
13910
  B(F) || (F = h(F)), F._score = q, F._indexes.len = 0, Z[pe] = F;
13896
13911
  }
13897
- if (Z.obj = Y, Z._score = q, K.push(Z), K.length >= ee) return K;
13912
+ if (Z.obj = Y, Z._score = q, K.push(Z), K.length >= te) return K;
13898
13913
  }
13899
13914
  else
13900
13915
  for (var V = 0; V < U.length; V++) {
13901
13916
  var F = U[V];
13902
- if (F != P && (B(F) || (F = h(F)), F._score = q, F._indexes.len = 0, K.push(F), K.length >= ee))
13917
+ if (F != P && (B(F) || (F = h(F)), F._score = q, F._indexes.len = 0, K.push(F), K.length >= te))
13903
13918
  return K;
13904
13919
  }
13905
13920
  return K;
13906
- }, b = (U, O, K = !1, ee = !1) => {
13907
- if (K === !1 && U.containsSpace) return g(U, O, ee);
13921
+ }, b = (U, O, K = !1, te = !1) => {
13922
+ if (K === !1 && U.containsSpace) return g(U, O, te);
13908
13923
  for (var V = U._lower, Y = U.lowerCodes, F = Y[0], Q = O._targetLowerCodes, Z = Y.length, pe = Q.length, ve = 0, ye = 0, We = 0; ; ) {
13909
13924
  var Se = F === Q[ye];
13910
13925
  if (Se) {
@@ -13972,7 +13987,7 @@ function ZM() {
13972
13987
  const ut = new l();
13973
13988
  return ut.target = O.target, ut._score = O._score, ut._indexes = O._indexes, ut;
13974
13989
  }, g = (U, O, K) => {
13975
- for (var ee = /* @__PURE__ */ new Set(), V = 0, Y = P, F = 0, Q = U.spaceSearches, Z = Q.length, pe = 0, ye = () => {
13990
+ for (var te = /* @__PURE__ */ new Set(), V = 0, Y = P, F = 0, Q = U.spaceSearches, Z = Q.length, pe = 0, ye = () => {
13976
13991
  for (let _e = pe - 1; _e >= 0; _e--) O._nextBeginningIndexes[j[_e * 2 + 0]] = j[_e * 2 + 1];
13977
13992
  }, We = !1, de = 0; de < Z; ++de) {
13978
13993
  M[de] = q;
@@ -13997,7 +14012,7 @@ function ZM() {
13997
14012
  }
13998
14013
  }
13999
14014
  V += Y._score / Z, M[de] = Y._score / Z, Y._indexes[0] < F && (V -= (F - Y._indexes[0]) * 2), F = Y._indexes[0];
14000
- for (var Te = 0; Te < Y._indexes.len; ++Te) ee.add(Y._indexes[Te]);
14015
+ for (var Te = 0; Te < Y._indexes.len; ++Te) te.add(Y._indexes[Te]);
14001
14016
  }
14002
14017
  if (K && !We) return P;
14003
14018
  ye();
@@ -14015,12 +14030,12 @@ function ZM() {
14015
14030
  }
14016
14031
  K && (Y = O), Y._score = V;
14017
14032
  var de = 0;
14018
- for (let _e of ee) Y._indexes[de++] = _e;
14033
+ for (let _e of te) Y._indexes[de++] = _e;
14019
14034
  return Y._indexes.len = de, Y;
14020
14035
  }, _ = (U) => U.replace(/\p{Script=Latin}+/gu, (O) => O.normalize("NFD")).replace(/[\u0300-\u036f]/g, ""), v = (U) => {
14021
14036
  U = _(U);
14022
- for (var O = U.length, K = U.toLowerCase(), ee = [], V = 0, Y = !1, F = 0; F < O; ++F) {
14023
- var Q = ee[F] = K.charCodeAt(F);
14037
+ for (var O = U.length, K = U.toLowerCase(), te = [], V = 0, Y = !1, F = 0; F < O; ++F) {
14038
+ var Q = te[F] = K.charCodeAt(F);
14024
14039
  if (Q === 32) {
14025
14040
  Y = !0;
14026
14041
  continue;
@@ -14028,30 +14043,30 @@ function ZM() {
14028
14043
  var Z = Q >= 97 && Q <= 122 ? Q - 97 : Q >= 48 && Q <= 57 ? 26 : Q <= 127 ? 30 : 31;
14029
14044
  V |= 1 << Z;
14030
14045
  }
14031
- return { lowerCodes: ee, bitflags: V, containsSpace: Y, _lower: K };
14046
+ return { lowerCodes: te, bitflags: V, containsSpace: Y, _lower: K };
14032
14047
  }, y = (U) => {
14033
- for (var O = U.length, K = [], ee = 0, V = !1, Y = !1, F = 0; F < O; ++F) {
14048
+ for (var O = U.length, K = [], te = 0, V = !1, Y = !1, F = 0; F < O; ++F) {
14034
14049
  var Q = U.charCodeAt(F), Z = Q >= 65 && Q <= 90, pe = Z || Q >= 97 && Q <= 122 || Q >= 48 && Q <= 57, ye = Z && !V || !Y || !pe;
14035
- V = Z, Y = pe, ye && (K[ee++] = F);
14050
+ V = Z, Y = pe, ye && (K[te++] = F);
14036
14051
  }
14037
14052
  return K;
14038
14053
  }, C = (U) => {
14039
14054
  U = _(U);
14040
- for (var O = U.length, K = y(U), ee = [], V = K[0], Y = 0, F = 0; F < O; ++F)
14041
- V > F ? ee[F] = V : (V = K[++Y], ee[F] = V === void 0 ? O : V);
14042
- return ee;
14055
+ for (var O = U.length, K = y(U), te = [], V = K[0], Y = 0, F = 0; F < O; ++F)
14056
+ V > F ? te[F] = V : (V = K[++Y], te[F] = V === void 0 ? O : V);
14057
+ return te;
14043
14058
  }, w = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Map(), S = [], T = [], j = [], D = [], M = [], I = [], N = [], R = (U, O) => {
14044
14059
  var K = U[O];
14045
14060
  if (K !== void 0) return K;
14046
14061
  if (typeof O == "function") return O(U);
14047
- var ee = O;
14048
- Array.isArray(O) || (ee = O.split("."));
14049
- for (var V = ee.length, Y = -1; U && ++Y < V; ) U = U[ee[Y]];
14062
+ var te = O;
14063
+ Array.isArray(O) || (te = O.split("."));
14064
+ for (var V = te.length, Y = -1; U && ++Y < V; ) U = U[te[Y]];
14050
14065
  return U;
14051
14066
  }, B = (U) => typeof U == "object" && typeof U._bitflags == "number", W = 1 / 0, q = -W, $ = [];
14052
14067
  $.total = 0;
14053
14068
  var P = null, le = s(""), oe = (U) => {
14054
- var O = [], K = 0, ee = {}, V = (Y) => {
14069
+ var O = [], K = 0, te = {}, V = (Y) => {
14055
14070
  for (var F = 0, Q = O[F], Z = 1; Z < K; ) {
14056
14071
  var pe = Z + 1;
14057
14072
  F = Z, pe < K && O[pe]._score < O[Z]._score && (F = pe), O[F - 1 >> 1] = O[F], Z = 1 + (F << 1);
@@ -14059,21 +14074,21 @@ function ZM() {
14059
14074
  for (var ye = F - 1 >> 1; F > 0 && Q._score < O[ye]._score; ye = (F = ye) - 1 >> 1) O[F] = O[ye];
14060
14075
  O[F] = Q;
14061
14076
  };
14062
- return ee.add = ((Y) => {
14077
+ return te.add = ((Y) => {
14063
14078
  var F = K;
14064
14079
  O[K++] = Y;
14065
14080
  for (var Q = F - 1 >> 1; F > 0 && Y._score < O[Q]._score; Q = (F = Q) - 1 >> 1) O[F] = O[Q];
14066
14081
  O[F] = Y;
14067
- }), ee.poll = ((Y) => {
14082
+ }), te.poll = ((Y) => {
14068
14083
  if (K !== 0) {
14069
14084
  var F = O[0];
14070
14085
  return O[0] = O[--K], V(), F;
14071
14086
  }
14072
- }), ee.peek = ((Y) => {
14087
+ }), te.peek = ((Y) => {
14073
14088
  if (K !== 0) return O[0];
14074
- }), ee.replaceTop = ((Y) => {
14089
+ }), te.replaceTop = ((Y) => {
14075
14090
  O[0] = Y, V();
14076
- }), ee;
14091
+ }), te;
14077
14092
  }, L = oe();
14078
14093
  return { single: n, go: r, prepare: s, cleanup: o };
14079
14094
  });
@@ -16811,7 +16826,7 @@ function tP({
16811
16826
  per_page: QD
16812
16827
  }), { data: L, isLoading: U } = cN(), { data: O = [] } = IN(), K = O.filter(
16813
16828
  (ke) => ke.direction === "received" && ke.status === "pending"
16814
- ), { data: ee = [] } = LN(x), V = o?.hasDownline ?? !1, Y = o?.conversation ?? null, F = oe.data?.pages.flatMap((ke) => ke[1].items) ?? [], Q = F[0], Z = R.view === "conversation" ? R.conversationId : null, pe = Z !== null && F.some((ke) => ke.id === Z), ye = k.useRef(null), { isFetching: We, refetch: Se } = oe;
16829
+ ), { data: te = [] } = LN(x), V = o?.hasDownline ?? !1, Y = o?.conversation ?? null, F = oe.data?.pages.flatMap((ke) => ke[1].items) ?? [], Q = F[0], Z = R.view === "conversation" ? R.conversationId : null, pe = Z !== null && F.some((ke) => ke.id === Z), ye = k.useRef(null), { isFetching: We, refetch: Se } = oe;
16815
16830
  k.useEffect(() => {
16816
16831
  Z === null || pe || We || ye.current !== Z && (ye.current = Z, Se());
16817
16832
  }, [Z, pe, We, Se]);
@@ -16842,7 +16857,7 @@ function tP({
16842
16857
  ve.isLoading,
16843
16858
  Xe
16844
16859
  ]);
16845
- const xe = [], ge = [], Ue = [], Te = [], De = [], de = [], _e = [], z = [], J = [], ue = [], je = [], Ae = x.trim().toLowerCase(), ut = ee.filter(
16860
+ const xe = [], ge = [], Ue = [], Te = [], De = [], de = [], _e = [], z = [], J = [], ue = [], je = [], Ae = x.trim().toLowerCase(), ut = te.filter(
16846
16861
  (ke) => !Ae || [ke.name, ke.host_company.name].join(" ").toLowerCase().includes(Ae)
16847
16862
  ), Oe = (ke) => !Ae || [
16848
16863
  ke.name,
@@ -17906,7 +17921,7 @@ function IP({
17906
17921
  }
17907
17922
  const pk = 120, OP = 2e3;
17908
17923
  function FP(e) {
17909
- return te({
17924
+ return ee({
17910
17925
  name: E().trim().min(1, e("name_required")).max(pk, e("name_too_long")),
17911
17926
  description: E().max(OP, e("description_too_long")),
17912
17927
  avatarCharacter: S2(_D)
@@ -23522,8 +23537,8 @@ function uO(e, t, n) {
23522
23537
  ])
23523
23538
  ) : le(N);
23524
23539
  function le(K) {
23525
- return ee;
23526
- function ee(V) {
23540
+ return te;
23541
+ function te(V) {
23527
23542
  const Y = V !== null && K[V], F = V !== null && K.null, Q = [
23528
23543
  // To do: add more extension tests.
23529
23544
  /* c8 ignore next 2 */
@@ -23537,8 +23552,8 @@ function uO(e, t, n) {
23537
23552
  return W = K, q = 0, K.length === 0 ? B : L(K[q]);
23538
23553
  }
23539
23554
  function L(K) {
23540
- return ee;
23541
- function ee(V) {
23555
+ return te;
23556
+ function te(V) {
23542
23557
  return P = T(), $ = K, K.partial || (u.currentConstruct = K), K.name && u.parser.constructs.disable.null.includes(K.name) ? O() : K.tokenize.call(
23543
23558
  // If we do have fields, create an object w/ `context` as its
23544
23559
  // prototype.
@@ -23767,7 +23782,7 @@ function yO(e) {
23767
23782
  characterReferenceMarkerHexadecimal: O,
23768
23783
  characterReferenceMarkerNumeric: O,
23769
23784
  characterReferenceValue: K,
23770
- characterReference: ee,
23785
+ characterReference: te,
23771
23786
  codeFenced: c(b),
23772
23787
  codeFencedFence: x,
23773
23788
  codeFencedFenceInfo: h,
@@ -24100,7 +24115,7 @@ function yO(e) {
24100
24115
  const Ae = this.stack[this.stack.length - 1];
24101
24116
  Ae.value += je;
24102
24117
  }
24103
- function ee(z) {
24118
+ function te(z) {
24104
24119
  const J = this.stack.pop();
24105
24120
  J.position.end = Cr(z.end);
24106
24121
  }
@@ -33763,8 +33778,8 @@ function YH(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
33763
33778
  }
33764
33779
  const K = { ...B };
33765
33780
  q !== void 0 && (K.duration = /* @__PURE__ */ Ln(q));
33766
- const ee = J4(K, O, le);
33767
- W = ee.ease, q = ee.duration;
33781
+ const te = J4(K, O, le);
33782
+ W = te.ease, q = te.duration;
33768
33783
  }
33769
33784
  q ?? (q = s);
33770
33785
  const oe = f + $;
@@ -33774,11 +33789,11 @@ function YH(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
33774
33789
  q = VH(q, I);
33775
33790
  const O = [...T], K = [...D];
33776
33791
  W = Array.isArray(W) ? [...W] : [W];
33777
- const ee = [...W];
33792
+ const te = [...W];
33778
33793
  for (let V = 0; V < I; V++) {
33779
33794
  T.push(...O);
33780
33795
  for (let Y = 0; Y < O.length; Y++)
33781
- D.push(K[Y] + (V + 1)), W.push(Y === 0 ? "linear" : B4(ee, Y - 1));
33796
+ D.push(K[Y] + (V + 1)), W.push(Y === 0 ? "linear" : B4(te, Y - 1));
33782
33797
  }
33783
33798
  KH(D, I);
33784
33799
  }
@@ -34340,7 +34355,7 @@ function q0({
34340
34355
  const pe = Z.filter((ye) => ye !== Q);
34341
34356
  if (pe.length === 0) return j();
34342
34357
  A(lo(pe));
34343
- }, { auth: B } = Ut(), W = B.recipientId ?? B.currentUser?.recipientId, q = W != null && t.sender_recipient.id === W, $ = q || e.can_delete_any_message === !0, [P, le] = k.useState(!1), [oe, L] = k.useState(!1), U = HD(), O = p ? null : U, K = O?.summaryOf(t.id) ?? null, ee = O && t.id > 0 ? () => O.openThread(t.id) : void 0, V = [
34358
+ }, { auth: B } = Ut(), W = B.recipientId ?? B.currentUser?.recipientId, q = W != null && t.sender_recipient.id === W, $ = q || e.can_delete_any_message === !0, [P, le] = k.useState(!1), [oe, L] = k.useState(!1), U = HD(), O = p ? null : U, K = O?.summaryOf(t.id) ?? null, te = O && t.id > 0 ? () => O.openThread(t.id) : void 0, V = [
34344
34359
  ...f ? [
34345
34360
  {
34346
34361
  id: "pin",
@@ -34450,11 +34465,11 @@ function q0({
34450
34465
  onOpenChange: _,
34451
34466
  title: h("header_more_options"),
34452
34467
  actions: [
34453
- ...ee ? [
34468
+ ...te ? [
34454
34469
  {
34455
34470
  id: "reply-in-thread",
34456
34471
  label: h("message_reply_in_thread"),
34457
- onSelect: ee
34472
+ onSelect: te
34458
34473
  }
34459
34474
  ] : [],
34460
34475
  ...V
@@ -34476,7 +34491,7 @@ function q0({
34476
34491
  pickerOpen: x,
34477
34492
  onPickerOpenChange: b,
34478
34493
  onPick: N,
34479
- onReplyInThread: ee,
34494
+ onReplyInThread: te,
34480
34495
  more: V,
34481
34496
  labels: {
34482
34497
  react: (Q) => h("message_react_with", { emoji: Q }),
@@ -34555,13 +34570,13 @@ function q0({
34555
34570
  onReact: f ? A : void 0
34556
34571
  }
34557
34572
  ),
34558
- K && ee ? /* @__PURE__ */ a.jsx(
34573
+ K && te ? /* @__PURE__ */ a.jsx(
34559
34574
  hR,
34560
34575
  {
34561
34576
  summary: K,
34562
34577
  conversation: e,
34563
34578
  renderImage: o,
34564
- onOpen: ee
34579
+ onOpen: te
34565
34580
  }
34566
34581
  ) : null
34567
34582
  ] })
@@ -44738,7 +44753,7 @@ function Uu({
44738
44753
  noKeyboard: !0,
44739
44754
  disabled: !T,
44740
44755
  maxSize: 1024 * 1024 * 1024
44741
- }), O = PW(), K = N.data?.body || "", ee = N.data?.files || [], V = N.isUploadingFiles, Y = N.completedFiles, F = Jj({
44756
+ }), O = PW(), K = N.data?.body || "", te = N.data?.files || [], V = N.isUploadingFiles, Y = N.completedFiles, F = Jj({
44742
44757
  extensions: [
44743
44758
  eS.configure({
44744
44759
  bulletList: {
@@ -44879,7 +44894,7 @@ function Uu({
44879
44894
  })
44880
44895
  )
44881
44896
  ]
44882
- })), Se = ee, Xe = !(F?.isEmpty ?? !0) || Y.length > 0 || w;
44897
+ })), Se = te, Xe = !(F?.isEmpty ?? !0) || Y.length > 0 || w;
44883
44898
  return /* @__PURE__ */ a.jsxs("div", { className: "group/composer border-border bg-background z-10 mx-2 mt-2 mb-[max(0.5rem,env(safe-area-inset-bottom))] overflow-clip rounded-2xl border shadow-sm md:m-2 md:rounded-lg", children: [
44884
44899
  O && /* @__PURE__ */ a.jsx(iJ, { props: le(), isDragOver: L }),
44885
44900
  A && o !== "SmsConversation" && o !== "EmailConversation" && /* @__PURE__ */ a.jsx(
@@ -45379,7 +45394,7 @@ function Il({
45379
45394
  hasPreviousPage: U,
45380
45395
  isFetchingPreviousPage: O,
45381
45396
  isLoading: K,
45382
- isError: ee,
45397
+ isError: te,
45383
45398
  error: V
45384
45399
  } = DJ({
45385
45400
  conversationId: e,
@@ -45768,7 +45783,7 @@ function Il({
45768
45783
  queryKey: H.conversationMetadata(e)
45769
45784
  });
45770
45785
  }, Yu = V ?? Q;
45771
- return (ee || Q) && $.length === 0 ? /* @__PURE__ */ a.jsxs("div", { children: [
45786
+ return (te || Q) && $.length === 0 ? /* @__PURE__ */ a.jsxs("div", { children: [
45772
45787
  /* @__PURE__ */ a.jsx(Ft, { error: Yu, onRetry: Sg }),
45773
45788
  /* @__PURE__ */ a.jsx("div", { className: "h-20" })
45774
45789
  ] }, "layer-1") : /* @__PURE__ */ a.jsx(Z3.Provider, { value: Di, children: /* @__PURE__ */ a.jsxs("div", { className: "flex h-full min-h-0 flex-col", children: [
@@ -46079,7 +46094,7 @@ function IJ({
46079
46094
  if (f)
46080
46095
  return /* @__PURE__ */ a.jsx(ha, { label: i("pinned_loading") });
46081
46096
  if (p) {
46082
- const g = te({ status: X() }).safeParse(h), _ = g.success && g.data.status === 404;
46097
+ const g = ee({ status: X() }).safeParse(h), _ = g.success && g.data.status === 404;
46083
46098
  return /* @__PURE__ */ a.jsx("div", { className: "flex h-full items-center justify-center", children: /* @__PURE__ */ a.jsx("div", { className: "rounded-md border border-[color:var(--messaging-border,var(--color-gray-200))] bg-[color:var(--messaging-background,var(--color-white))] p-4 text-center text-[color:var(--messaging-muted-foreground,var(--color-gray-600))] shadow-sm", children: _ ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
46084
46099
  /* @__PURE__ */ a.jsx("p", { className: "text-sm font-medium text-[color:var(--messaging-foreground,var(--color-gray-900))]", children: i("pinned_conversation_not_found") }),
46085
46100
  /* @__PURE__ */ a.jsx("p", { className: "mt-1 text-xs text-[color:var(--messaging-muted-foreground,var(--color-gray-500))]", children: i("pinned_conversation_deleted") })
@@ -47366,27 +47381,27 @@ const MC = [
47366
47381
  "delivered",
47367
47382
  "failed",
47368
47383
  "refused"
47369
- ], Jy = Qe(DC), pee = te({
47384
+ ], Jy = Qe(DC), pee = ee({
47370
47385
  id: E(),
47371
47386
  channel: Qe(MC),
47372
47387
  message_type: Qe(["transactional", "marketing"]),
47373
47388
  status: Jy,
47374
47389
  recipient_address: E().nullish(),
47375
47390
  subject: E().nullish(),
47376
- recipient: te({
47391
+ recipient: ee({
47377
47392
  member_id: E().nullable(),
47378
47393
  contact_id: X().nullable()
47379
47394
  }),
47380
47395
  created_at: E(),
47381
47396
  send_at: E().nullable(),
47382
47397
  source: Qe(["company_messages", "we_bot_outreach"]),
47383
- context: te({
47398
+ context: ee({
47384
47399
  playbook_key: E().optional(),
47385
47400
  subject_type: E().optional(),
47386
47401
  subject_id: E().optional()
47387
47402
  }),
47388
47403
  content_available: ce(),
47389
- content: te({
47404
+ content: ee({
47390
47405
  to: E().optional(),
47391
47406
  subject: E().optional(),
47392
47407
  title: E().optional(),
@@ -47397,17 +47412,17 @@ const MC = [
47397
47412
  data: an().optional()
47398
47413
  }).optional(),
47399
47414
  events: he(
47400
- te({
47415
+ ee({
47401
47416
  status: Jy,
47402
47417
  detail: E().nullable(),
47403
47418
  occurred_at: E()
47404
47419
  })
47405
47420
  )
47406
47421
  });
47407
- te({
47422
+ ee({
47408
47423
  messages: he(pee),
47409
47424
  history_complete: ce(),
47410
- page: te({ next_cursor: E().nullable(), has_more: ce() })
47425
+ page: ee({ next_cursor: E().nullable(), has_more: ce() })
47411
47426
  });
47412
47427
  [...MC];
47413
47428
  function Sh(e) {
@@ -48032,12 +48047,12 @@ function Cee({
48032
48047
  ) : null
48033
48048
  ] });
48034
48049
  }
48035
- const jee = te({
48050
+ const jee = ee({
48036
48051
  status: Pe(422),
48037
- data: te({
48038
- error: te({ code: E(), channel: E() })
48052
+ data: ee({
48053
+ error: ee({ code: E(), channel: E() })
48039
48054
  })
48040
- }), See = te({
48055
+ }), See = ee({
48041
48056
  recipient: E(),
48042
48057
  message_type: Qe(["transactional", "marketing"]),
48043
48058
  subject: E(),
@@ -48354,7 +48369,7 @@ function Dee() {
48354
48369
  }
48355
48370
  const Pee = 2048, Ree = 4096;
48356
48371
  function Lee(e) {
48357
- return te({
48372
+ return ee({
48358
48373
  name: E().trim().min(1, e("name_required")).max(pk, e("name_too_long")),
48359
48374
  url: E().trim().min(1, e("url_required")).max(Pee, e("url_too_long")).refine((t) => /^https:\/\/\S+$/i.test(t), e("url_not_https")),
48360
48375
  auth: Qe(["oauth", "api_key"]),
@@ -51613,7 +51628,7 @@ async function ene(e, t, n) {
51613
51628
  return;
51614
51629
  }
51615
51630
  }
51616
- te({
51631
+ ee({
51617
51632
  text: E().min(1, "Text is required"),
51618
51633
  url: E().min(1, "Link is required").url("Please enter a valid URL")
51619
51634
  });
@@ -51734,7 +51749,7 @@ const $s = se({
51734
51749
  // A preview that failed (`error`) keeps the text as typed, which need not
51735
51750
  // be a valid URL; one such link must not fail the whole message list.
51736
51751
  original_url: E().nullable().optional()
51737
- }), Zi = te({
51752
+ }), Zi = ee({
51738
51753
  id: X(),
51739
51754
  first_name: E(),
51740
51755
  last_name: E()
@@ -52065,7 +52080,7 @@ const WC = vr(wg), Sne = se({
52065
52080
  pinned: ce().nullable().optional(),
52066
52081
  last_replied_at: E().nullable().optional()
52067
52082
  });
52068
- te({ shared_conversations: he(Ane) });
52083
+ ee({ shared_conversations: he(Ane) });
52069
52084
  wi(
52070
52085
  E(),
52071
52086
  zt([
@@ -52079,16 +52094,16 @@ se({ success: ce() }).or(se({ success: ce(), message: E() }));
52079
52094
  const Nne = wi(E(), X()), Tne = Mh(
52080
52095
  "type",
52081
52096
  [
52082
- te({
52097
+ ee({
52083
52098
  type: Pe("choices"),
52084
52099
  prompt: E(),
52085
- options: he(te({ id: E(), label: E() })),
52100
+ options: he(ee({ id: E(), label: E() })),
52086
52101
  answered_option_id: E().nullable().optional(),
52087
52102
  allow_custom: ce().nullable().optional(),
52088
52103
  custom_placeholder: E().nullable().optional(),
52089
52104
  answered_value: E().nullable().optional()
52090
52105
  }),
52091
- te({
52106
+ ee({
52092
52107
  type: Pe("integration"),
52093
52108
  key: E(),
52094
52109
  title: E(),
@@ -52099,8 +52114,8 @@ const Nne = wi(E(), X()), Tne = Mh(
52099
52114
  ), KC = se({
52100
52115
  id: X(),
52101
52116
  uuid_v7: E().nullable().optional(),
52102
- app: te({ name: E(), icon_url: E().nullable().optional() }).nullable().optional(),
52103
- sent_via: te({
52117
+ app: ee({ name: E(), icon_url: E().nullable().optional() }).nullable().optional(),
52118
+ sent_via: ee({
52104
52119
  app_name: E(),
52105
52120
  app_icon_url: E().nullable().optional()
52106
52121
  }).nullable().optional(),
@@ -52363,9 +52378,9 @@ async function tre(e, t, n) {
52363
52378
  ])
52364
52379
  });
52365
52380
  }
52366
- te({
52381
+ ee({
52367
52382
  member_types: he(
52368
- te({
52383
+ ee({
52369
52384
  id: zt([E(), X()]).transform(String),
52370
52385
  name: E(),
52371
52386
  slug: E(),
@@ -52525,18 +52540,18 @@ se({
52525
52540
  conversation_ids: he(X()).optional()
52526
52541
  })
52527
52542
  });
52528
- const QC = te({
52543
+ const QC = ee({
52529
52544
  id: E(),
52530
52545
  name: E(),
52531
52546
  last4: E(),
52532
52547
  last_used_at: E().nullable(),
52533
52548
  created_at: E()
52534
52549
  });
52535
- te({
52550
+ ee({
52536
52551
  webhooks: he(QC)
52537
52552
  });
52538
- te({ webhook: QC, url: E() });
52539
- const gre = te({
52553
+ ee({ webhook: QC, url: E() });
52554
+ const gre = ee({
52540
52555
  directory_scope: Qe([
52541
52556
  "all_members",
52542
52557
  "team_graph",
@@ -52550,8 +52565,8 @@ const gre = te({
52550
52565
  today_posting: Qe(["everyone", "admins"]).default("everyone"),
52551
52566
  updated_at: E().nullable()
52552
52567
  });
52553
- te({ member_policy: gre });
52554
- const Cg = zt([E(), X()]), ZC = te({
52568
+ ee({ member_policy: gre });
52569
+ const Cg = zt([E(), X()]), ZC = ee({
52555
52570
  id: Cg,
52556
52571
  app_type: E(),
52557
52572
  name: E(),
@@ -52561,14 +52576,14 @@ const Cg = zt([E(), X()]), ZC = te({
52561
52576
  created_at: E(),
52562
52577
  updated_at: E()
52563
52578
  });
52564
- te({ app_senders: he(ZC) });
52565
- te({ app_sender: ZC });
52566
- const JC = te({
52579
+ ee({ app_senders: he(ZC) });
52580
+ ee({ app_sender: ZC });
52581
+ const JC = ee({
52567
52582
  id: Cg,
52568
52583
  name: E(),
52569
52584
  icon_url: E().nullable().optional(),
52570
52585
  app_type: E()
52571
- }), xre = te({
52586
+ }), xre = ee({
52572
52587
  id: Cg,
52573
52588
  app_sender: JC,
52574
52589
  scopes: he(E()),
@@ -52576,23 +52591,23 @@ const JC = te({
52576
52591
  revoked_at: E().nullable(),
52577
52592
  created_at: E()
52578
52593
  });
52579
- te({
52594
+ ee({
52580
52595
  send_delegations: he(xre),
52581
52596
  app_senders: he(JC)
52582
52597
  });
52583
- te({
52584
- data: te({ url: E() }).passthrough()
52598
+ ee({
52599
+ data: ee({ url: E() }).passthrough()
52585
52600
  });
52586
- te({
52601
+ ee({
52587
52602
  replies: he(Hr),
52588
52603
  prev_cursor: E().nullable().optional(),
52589
52604
  next_cursor: E().nullable(),
52590
52605
  parent_id: X(),
52591
52606
  parent: Hr.nullable().optional()
52592
52607
  });
52593
- te({
52608
+ ee({
52594
52609
  threads: he(
52595
- te({
52610
+ ee({
52596
52611
  message_id: X(),
52597
52612
  message_uuid_v7: E().nullable(),
52598
52613
  conversation_id: X(),
@@ -52600,7 +52615,7 @@ te({
52600
52615
  conversation_uuid_v7: E().nullable().optional(),
52601
52616
  conversation_name: E().nullable().optional(),
52602
52617
  last_reply_at: E().nullable().optional(),
52603
- parent: te({
52618
+ parent: ee({
52604
52619
  body: E().nullable(),
52605
52620
  sent_at: E().nullable(),
52606
52621
  sender_recipient: Vr.nullable()
@@ -52626,9 +52641,9 @@ const g2 = se({
52626
52641
  host_company: g2,
52627
52642
  company: g2
52628
52643
  });
52629
- te({ conversation_shares: he(e5) });
52630
- te({ conversation_share: e5 });
52631
- te({
52644
+ ee({ conversation_shares: he(e5) });
52645
+ ee({ conversation_share: e5 });
52646
+ ee({
52632
52647
  conversation_id: E(),
52633
52648
  company_subdomain: E().min(1)
52634
52649
  });
@@ -52638,7 +52653,7 @@ const t5 = Qe([
52638
52653
  "product",
52639
52654
  "enrollment_pack",
52640
52655
  "page"
52641
- ]), La = te({
52656
+ ]), La = ee({
52642
52657
  id: X(),
52643
52658
  first_name: E().nullable(),
52644
52659
  last_name: E().nullable(),
@@ -52646,14 +52661,14 @@ const t5 = Qe([
52646
52661
  avatar_background: E().nullable().optional(),
52647
52662
  receivable_type: E().optional(),
52648
52663
  bot: ce()
52649
- }), bre = te({
52664
+ }), bre = ee({
52650
52665
  available: ce(),
52651
52666
  enabled: ce(),
52652
52667
  posting: Qe(["everyone", "admins"]),
52653
52668
  can_post: ce(),
52654
52669
  can_moderate: ce(),
52655
52670
  viewer: La.nullable().optional()
52656
- }), _re = te({
52671
+ }), _re = ee({
52657
52672
  id: E(),
52658
52673
  url: E(),
52659
52674
  filename: E(),
@@ -52661,8 +52676,8 @@ const t5 = Qe([
52661
52676
  content_size: X().nullable().optional(),
52662
52677
  image_url: E().nullable().optional(),
52663
52678
  kind: Qe(["image", "video", "pdf"]),
52664
- metadata: te({ width: X().optional(), height: X().optional() }).nullable().optional()
52665
- }), n5 = te({
52679
+ metadata: ee({ width: X().optional(), height: X().optional() }).nullable().optional()
52680
+ }), n5 = ee({
52666
52681
  kind: t5,
52667
52682
  id: E(),
52668
52683
  title: E(),
@@ -52670,11 +52685,11 @@ const t5 = Qe([
52670
52685
  url: E().nullable(),
52671
52686
  price: E().nullable().optional(),
52672
52687
  domain: E().nullable().optional()
52673
- }), r5 = te({
52688
+ }), r5 = ee({
52674
52689
  archived_at: E(),
52675
52690
  archived_by: La,
52676
52691
  reason: E().nullable()
52677
- }), ta = te({
52692
+ }), ta = ee({
52678
52693
  id: E(),
52679
52694
  body: E(),
52680
52695
  author: La,
@@ -52692,7 +52707,7 @@ const t5 = Qe([
52692
52707
  can_delete: ce(),
52693
52708
  can_restore: ce().optional(),
52694
52709
  archive: r5.nullable().optional()
52695
- }), i5 = te({
52710
+ }), i5 = ee({
52696
52711
  id: E(),
52697
52712
  post_id: E(),
52698
52713
  body: E(),
@@ -52701,19 +52716,19 @@ const t5 = Qe([
52701
52716
  can_delete: ce(),
52702
52717
  can_restore: ce().optional(),
52703
52718
  archive: r5.nullable().optional()
52704
- }), yre = te({
52719
+ }), yre = ee({
52705
52720
  id: E(),
52706
52721
  reason: E(),
52707
52722
  reporter: La,
52708
52723
  post: ta,
52709
52724
  created_at: E()
52710
- }), Wu = te({
52711
- meta: te({
52712
- pagination: te({ next_cursor: E().nullable() })
52725
+ }), Wu = ee({
52726
+ meta: ee({
52727
+ pagination: ee({ next_cursor: E().nullable() })
52713
52728
  })
52714
- }), vre = te({ today: bre }), Ia = te(
52729
+ }), vre = ee({ today: bre }), Ia = ee(
52715
52730
  { post: ta }
52716
- ), jg = te({ comment: i5 }), kre = Wu.extend({
52731
+ ), jg = ee({ comment: i5 }), kre = Wu.extend({
52717
52732
  pinned: he(ta),
52718
52733
  posts: he(ta)
52719
52734
  }), wre = Wu.extend({
@@ -52722,16 +52737,16 @@ const t5 = Qe([
52722
52737
  posts: he(ta)
52723
52738
  }), jre = Wu.extend({
52724
52739
  reports: he(yre)
52725
- }), Sre = te({
52740
+ }), Sre = ee({
52726
52741
  shareables: he(
52727
- te({
52742
+ ee({
52728
52743
  kind: t5,
52729
52744
  id: E(),
52730
52745
  title: E(),
52731
52746
  image_url: E().nullable().optional()
52732
52747
  })
52733
52748
  )
52734
- }), Ere = te({
52749
+ }), Ere = ee({
52735
52750
  share_card: n5
52736
52751
  }), Nt = "/v1/messaging/today", Ku = an(), Gu = (e) => e?.cursor ? { cursor: e.cursor } : void 0;
52737
52752
  async function Are(e) {