@lokalise/harmony 1.12.6 → 1.13.0-exp-updateProjectApiHelpers.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/harmony.mjs CHANGED
@@ -1,87 +1,87 @@
1
1
  var Ct = Object.defineProperty;
2
- var Nt = (e, t, n) => t in e ? Ct(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var Ne = (e, t, n) => Nt(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { jsx as i, jsxs as p, Fragment as at } from "react/jsx-runtime";
5
- import * as q from "react";
6
- import { useRef as ot, useState as be, useCallback as Re, useEffect as U, useContext as Rt, createContext as kt, cloneElement as At, Fragment as it, forwardRef as Lt } from "react";
7
- import { Tooltip as ge, Link as st, Menu as he, MenuList as pe, CaretUpIcon as Ot, UserIcon as ct, MenuItem as J, MenuDivider as lt, Tag as Mt } from "@lokalise/louis";
8
- import { format as ut } from "date-fns";
9
- import { toZonedTime as qt } from "date-fns-tz";
2
+ var Rt = (e, t, n) => t in e ? Ct(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
+ var Ae = (e, t, n) => Rt(e, typeof t != "symbol" ? t + "" : t, n);
4
+ import { jsx as i, jsxs as p, Fragment as ot } from "react/jsx-runtime";
5
+ import * as U from "react";
6
+ import { useRef as it, useState as he, useCallback as Ne, useEffect as q, useContext as At, createContext as Nt, cloneElement as kt, Fragment as st, forwardRef as Ot } from "react";
7
+ import { Tooltip as pe, Link as ct, Menu as Te, MenuList as ve, CaretUpIcon as Lt, UserIcon as lt, MenuItem as K, MenuDivider as ut, Tag as Mt } from "@lokalise/louis";
8
+ import { format as dt } from "date-fns";
9
+ import { toZonedTime as Ut } from "date-fns-tz";
10
10
  import { z as r } from "zod";
11
11
  import { sendByPayloadRoute as W, sendByGetRoute as x } from "@lokalise/frontend-http-client";
12
- import { buildPayloadRoute as dt } from "@lokalise/universal-ts-utils/api-contracts/apiContracts";
13
- import { useQuery as O, useMutation as Ut } from "@tanstack/react-query";
12
+ import { buildPayloadRoute as ye } from "@lokalise/universal-ts-utils/api-contracts/apiContracts";
13
+ import { useQuery as L, useMutation as qt } from "@tanstack/react-query";
14
14
  import { buildGetRoute as B } from "@lokalise/universal-ts-utils/node";
15
- var D = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
15
+ var G = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
16
16
  function mt(e) {
17
17
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
18
18
  }
19
- var V, ke;
20
- function ve() {
21
- if (ke) return V;
19
+ var X, ke;
20
+ function Se() {
21
+ if (ke) return X;
22
22
  ke = 1;
23
23
  function e(t) {
24
24
  var n = typeof t;
25
25
  return t != null && (n == "object" || n == "function");
26
26
  }
27
- return V = e, V;
27
+ return X = e, X;
28
28
  }
29
- var Z, Ae;
29
+ var ee, Oe;
30
30
  function xt() {
31
- if (Ae) return Z;
32
- Ae = 1;
33
- var e = typeof D == "object" && D && D.Object === Object && D;
34
- return Z = e, Z;
31
+ if (Oe) return ee;
32
+ Oe = 1;
33
+ var e = typeof G == "object" && G && G.Object === Object && G;
34
+ return ee = e, ee;
35
35
  }
36
- var X, Le;
36
+ var te, Le;
37
37
  function ft() {
38
- if (Le) return X;
38
+ if (Le) return te;
39
39
  Le = 1;
40
40
  var e = xt(), t = typeof self == "object" && self && self.Object === Object && self, n = e || t || Function("return this")();
41
- return X = n, X;
41
+ return te = n, te;
42
42
  }
43
- var ee, Oe;
43
+ var ne, Me;
44
44
  function Bt() {
45
- if (Oe) return ee;
46
- Oe = 1;
45
+ if (Me) return ne;
46
+ Me = 1;
47
47
  var e = ft(), t = function() {
48
48
  return e.Date.now();
49
49
  };
50
- return ee = t, ee;
50
+ return ne = t, ne;
51
51
  }
52
- var te, Me;
52
+ var re, Ue;
53
53
  function Ht() {
54
- if (Me) return te;
55
- Me = 1;
54
+ if (Ue) return re;
55
+ Ue = 1;
56
56
  var e = /\s/;
57
57
  function t(n) {
58
58
  for (var a = n.length; a-- && e.test(n.charAt(a)); )
59
59
  ;
60
60
  return a;
61
61
  }
62
- return te = t, te;
62
+ return re = t, re;
63
63
  }
64
- var ne, qe;
64
+ var ae, qe;
65
65
  function $t() {
66
- if (qe) return ne;
66
+ if (qe) return ae;
67
67
  qe = 1;
68
68
  var e = Ht(), t = /^\s+/;
69
69
  function n(a) {
70
70
  return a && a.slice(0, e(a) + 1).replace(t, "");
71
71
  }
72
- return ne = n, ne;
72
+ return ae = n, ae;
73
73
  }
74
- var re, Ue;
74
+ var oe, xe;
75
75
  function _t() {
76
- if (Ue) return re;
77
- Ue = 1;
76
+ if (xe) return oe;
77
+ xe = 1;
78
78
  var e = ft(), t = e.Symbol;
79
- return re = t, re;
79
+ return oe = t, oe;
80
80
  }
81
- var ae, xe;
82
- function Gt() {
83
- if (xe) return ae;
84
- xe = 1;
81
+ var ie, Be;
82
+ function Dt() {
83
+ if (Be) return ie;
84
+ Be = 1;
85
85
  var e = _t(), t = Object.prototype, n = t.hasOwnProperty, a = t.toString, o = e ? e.toStringTag : void 0;
86
86
  function s(c) {
87
87
  var u = n.call(c, o), d = c[o];
@@ -93,52 +93,52 @@ function Gt() {
93
93
  var m = a.call(c);
94
94
  return l && (u ? c[o] = d : delete c[o]), m;
95
95
  }
96
- return ae = s, ae;
96
+ return ie = s, ie;
97
97
  }
98
- var oe, Be;
99
- function Dt() {
100
- if (Be) return oe;
101
- Be = 1;
98
+ var se, He;
99
+ function Gt() {
100
+ if (He) return se;
101
+ He = 1;
102
102
  var e = Object.prototype, t = e.toString;
103
103
  function n(a) {
104
104
  return t.call(a);
105
105
  }
106
- return oe = n, oe;
106
+ return se = n, se;
107
107
  }
108
- var ie, He;
108
+ var ce, $e;
109
109
  function Ft() {
110
- if (He) return ie;
111
- He = 1;
112
- var e = _t(), t = Gt(), n = Dt(), a = "[object Null]", o = "[object Undefined]", s = e ? e.toStringTag : void 0;
110
+ if ($e) return ce;
111
+ $e = 1;
112
+ var e = _t(), t = Dt(), n = Gt(), a = "[object Null]", o = "[object Undefined]", s = e ? e.toStringTag : void 0;
113
113
  function c(u) {
114
114
  return u == null ? u === void 0 ? o : a : s && s in Object(u) ? t(u) : n(u);
115
115
  }
116
- return ie = c, ie;
116
+ return ce = c, ce;
117
117
  }
118
- var se, $e;
118
+ var le, De;
119
119
  function zt() {
120
- if ($e) return se;
121
- $e = 1;
120
+ if (De) return le;
121
+ De = 1;
122
122
  function e(t) {
123
123
  return t != null && typeof t == "object";
124
124
  }
125
- return se = e, se;
125
+ return le = e, le;
126
126
  }
127
- var ce, Ge;
128
- function Kt() {
129
- if (Ge) return ce;
127
+ var ue, Ge;
128
+ function Jt() {
129
+ if (Ge) return ue;
130
130
  Ge = 1;
131
131
  var e = Ft(), t = zt(), n = "[object Symbol]";
132
132
  function a(o) {
133
133
  return typeof o == "symbol" || t(o) && e(o) == n;
134
134
  }
135
- return ce = a, ce;
135
+ return ue = a, ue;
136
136
  }
137
- var le, De;
138
- function Jt() {
139
- if (De) return le;
140
- De = 1;
141
- var e = $t(), t = ve(), n = Kt(), a = NaN, o = /^[-+]0x[0-9a-f]+$/i, s = /^0b[01]+$/i, c = /^0o[0-7]+$/i, u = parseInt;
137
+ var de, Fe;
138
+ function Kt() {
139
+ if (Fe) return de;
140
+ Fe = 1;
141
+ var e = $t(), t = Se(), n = Jt(), a = NaN, o = /^[-+]0x[0-9a-f]+$/i, s = /^0b[01]+$/i, c = /^0o[0-7]+$/i, u = parseInt;
142
142
  function d(l) {
143
143
  if (typeof l == "number")
144
144
  return l;
@@ -154,69 +154,69 @@ function Jt() {
154
154
  var b = s.test(l);
155
155
  return b || c.test(l) ? u(l.slice(2), b ? 2 : 8) : o.test(l) ? a : +l;
156
156
  }
157
- return le = d, le;
157
+ return de = d, de;
158
158
  }
159
- var ue, Fe;
159
+ var me, ze;
160
160
  function bt() {
161
- if (Fe) return ue;
162
- Fe = 1;
163
- var e = ve(), t = Bt(), n = Jt(), a = "Expected a function", o = Math.max, s = Math.min;
161
+ if (ze) return me;
162
+ ze = 1;
163
+ var e = Se(), t = Bt(), n = Kt(), a = "Expected a function", o = Math.max, s = Math.min;
164
164
  function c(u, d, l) {
165
- var m, b, y, I, _, T, S = 0, w = !1, g = !1, j = !0;
165
+ var m, b, y, I, _, v, S = 0, E = !1, g = !1, P = !0;
166
166
  if (typeof u != "function")
167
167
  throw new TypeError(a);
168
- d = n(d) || 0, e(l) && (w = !!l.leading, g = "maxWait" in l, y = g ? o(n(l.maxWait) || 0, d) : y, j = "trailing" in l ? !!l.trailing : j);
169
- function v(f) {
170
- var P = m, M = b;
171
- return m = b = void 0, S = f, I = u.apply(M, P), I;
168
+ d = n(d) || 0, e(l) && (E = !!l.leading, g = "maxWait" in l, y = g ? o(n(l.maxWait) || 0, d) : y, P = "trailing" in l ? !!l.trailing : P);
169
+ function T(f) {
170
+ var j = m, M = b;
171
+ return m = b = void 0, S = f, I = u.apply(M, j), I;
172
172
  }
173
173
  function h(f) {
174
- return S = f, _ = setTimeout(G, d), w ? v(f) : I;
174
+ return S = f, _ = setTimeout(D, d), E ? T(f) : I;
175
175
  }
176
176
  function $(f) {
177
- var P = f - T, M = f - S, Ce = d - P;
178
- return g ? s(Ce, y - M) : Ce;
177
+ var j = f - v, M = f - S, Re = d - j;
178
+ return g ? s(Re, y - M) : Re;
179
179
  }
180
180
  function je(f) {
181
- var P = f - T, M = f - S;
182
- return T === void 0 || P >= d || P < 0 || g && M >= y;
181
+ var j = f - v, M = f - S;
182
+ return v === void 0 || j >= d || j < 0 || g && M >= y;
183
183
  }
184
- function G() {
184
+ function D() {
185
185
  var f = t();
186
186
  if (je(f))
187
- return Pe(f);
188
- _ = setTimeout(G, $(f));
187
+ return Ce(f);
188
+ _ = setTimeout(D, $(f));
189
189
  }
190
- function Pe(f) {
191
- return _ = void 0, j && m ? v(f) : (m = b = void 0, I);
192
- }
193
- function jt() {
194
- _ !== void 0 && clearTimeout(_), S = 0, m = T = b = _ = void 0;
190
+ function Ce(f) {
191
+ return _ = void 0, P && m ? T(f) : (m = b = void 0, I);
195
192
  }
196
193
  function Pt() {
197
- return _ === void 0 ? I : Pe(t());
194
+ _ !== void 0 && clearTimeout(_), S = 0, m = v = b = _ = void 0;
198
195
  }
199
- function Y() {
200
- var f = t(), P = je(f);
201
- if (m = arguments, b = this, T = f, P) {
196
+ function jt() {
197
+ return _ === void 0 ? I : Ce(t());
198
+ }
199
+ function Z() {
200
+ var f = t(), j = je(f);
201
+ if (m = arguments, b = this, v = f, j) {
202
202
  if (_ === void 0)
203
- return h(T);
203
+ return h(v);
204
204
  if (g)
205
- return clearTimeout(_), _ = setTimeout(G, d), v(T);
205
+ return clearTimeout(_), _ = setTimeout(D, d), T(v);
206
206
  }
207
- return _ === void 0 && (_ = setTimeout(G, d)), I;
207
+ return _ === void 0 && (_ = setTimeout(D, d)), I;
208
208
  }
209
- return Y.cancel = jt, Y.flush = Pt, Y;
209
+ return Z.cancel = Pt, Z.flush = jt, Z;
210
210
  }
211
- return ue = c, ue;
211
+ return me = c, me;
212
212
  }
213
213
  var Wt = bt();
214
214
  const Qt = /* @__PURE__ */ mt(Wt);
215
- var de, ze;
215
+ var fe, Je;
216
216
  function Yt() {
217
- if (ze) return de;
218
- ze = 1;
219
- var e = bt(), t = ve(), n = "Expected a function";
217
+ if (Je) return fe;
218
+ Je = 1;
219
+ var e = bt(), t = Se(), n = "Expected a function";
220
220
  function a(o, s, c) {
221
221
  var u = !0, d = !0;
222
222
  if (typeof o != "function")
@@ -227,7 +227,7 @@ function Yt() {
227
227
  trailing: d
228
228
  });
229
229
  }
230
- return de = a, de;
230
+ return fe = a, fe;
231
231
  }
232
232
  var Vt = Yt();
233
233
  const Zt = /* @__PURE__ */ mt(Vt), Xt = (e, t, n, a) => {
@@ -242,10 +242,10 @@ const Zt = /* @__PURE__ */ mt(Vt), Xt = (e, t, n, a) => {
242
242
  }, en = (
243
243
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
244
244
  (e) => {
245
- const t = q.useRef(e);
246
- return q.useEffect(() => {
245
+ const t = U.useRef(e);
246
+ return U.useEffect(() => {
247
247
  t.current = e;
248
- }), q.useMemo(() => (...n) => {
248
+ }), U.useMemo(() => (...n) => {
249
249
  var a;
250
250
  return (a = t.current) === null || a === void 0 ? void 0 : a.call(t, ...n);
251
251
  }, []);
@@ -253,10 +253,10 @@ const Zt = /* @__PURE__ */ mt(Vt), Xt = (e, t, n, a) => {
253
253
  ), tn = (
254
254
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
255
255
  (e) => {
256
- const [t, n] = q.useState((e == null ? void 0 : e.current) || null);
256
+ const [t, n] = U.useState((e == null ? void 0 : e.current) || null);
257
257
  return e && setTimeout(() => {
258
258
  e.current !== t && n(e.current);
259
- }, 0), { refProxy: q.useMemo(() => new Proxy((o) => {
259
+ }, 0), { refProxy: U.useMemo(() => new Proxy((o) => {
260
260
  o !== t && n(o);
261
261
  }, {
262
262
  get(o, s) {
@@ -278,42 +278,42 @@ const Zt = /* @__PURE__ */ mt(Vt), Xt = (e, t, n, a) => {
278
278
  height: e.contentRect.height
279
279
  };
280
280
  function rn({ skipOnMount: e = !1, refreshMode: t, refreshRate: n = 1e3, refreshOptions: a, handleWidth: o = !0, handleHeight: s = !0, targetRef: c, observerOptions: u, onResize: d } = {}) {
281
- const l = ot(e), m = en(d), [b, y] = be({
281
+ const l = it(e), m = en(d), [b, y] = he({
282
282
  width: void 0,
283
283
  height: void 0
284
- }), { refProxy: I, refElement: _ } = tn(c), { box: T } = u || {}, S = Re((g) => {
284
+ }), { refProxy: I, refElement: _ } = tn(c), { box: v } = u || {}, S = Ne((g) => {
285
285
  if (!o && !s)
286
286
  return;
287
287
  if (l.current) {
288
288
  l.current = !1;
289
289
  return;
290
290
  }
291
- const j = (v, h) => o && v.width !== h.width || s && v.height !== h.height;
292
- g.forEach((v) => {
293
- const h = nn(v, T);
294
- y(($) => j($, h) ? (m == null || m({
291
+ const P = (T, h) => o && T.width !== h.width || s && T.height !== h.height;
292
+ g.forEach((T) => {
293
+ const h = nn(T, v);
294
+ y(($) => P($, h) ? (m == null || m({
295
295
  width: h.width,
296
296
  height: h.height,
297
- entry: v
297
+ entry: T
298
298
  }), h) : $);
299
299
  });
300
- }, [o, s, l, T]), w = Re(Xt(S, t, n, a), [
300
+ }, [o, s, l, v]), E = Ne(Xt(S, t, n, a), [
301
301
  S,
302
302
  t,
303
303
  n,
304
304
  a
305
305
  ]);
306
- return U(() => {
306
+ return q(() => {
307
307
  let g;
308
- return _ ? (g = new window.ResizeObserver(w), g.observe(_, u)) : (b.width || b.height) && (m == null || m({
308
+ return _ ? (g = new window.ResizeObserver(E), g.observe(_, u)) : (b.width || b.height) && (m == null || m({
309
309
  width: null,
310
310
  height: null,
311
311
  entry: null
312
312
  }), y({ width: void 0, height: void 0 })), () => {
313
- var j, v, h;
314
- (j = g == null ? void 0 : g.disconnect) === null || j === void 0 || j.call(g), (h = (v = w).cancel) === null || h === void 0 || h.call(v);
313
+ var P, T, h;
314
+ (P = g == null ? void 0 : g.disconnect) === null || P === void 0 || P.call(g), (h = (T = E).cancel) === null || h === void 0 || h.call(T);
315
315
  };
316
- }, [w, _]), Object.assign({ ref: I }, b);
316
+ }, [E, _]), Object.assign({ ref: I }, b);
317
317
  }
318
318
  function gt(e) {
319
319
  var t, n, a = "";
@@ -324,11 +324,11 @@ function gt(e) {
324
324
  } else for (n in e) e[n] && (a && (a += " "), a += n);
325
325
  return a;
326
326
  }
327
- function R() {
327
+ function A() {
328
328
  for (var e, t, n = 0, a = "", o = arguments.length; n < o; n++) (e = arguments[n]) && (t = gt(e)) && (a && (a += " "), a += t);
329
329
  return a;
330
330
  }
331
- const an = "_headerContainer_1cubo_1", on = "_navigationTabList_1cubo_8", sn = "_navigationTab_1cubo_8", cn = "_headerContent_1cubo_34", ln = "_staticEnabled_1cubo_50", A = {
331
+ const an = "_headerContainer_1cubo_1", on = "_navigationTabList_1cubo_8", sn = "_navigationTab_1cubo_8", cn = "_headerContent_1cubo_34", ln = "_staticEnabled_1cubo_50", k = {
332
332
  headerContainer: an,
333
333
  navigationTabList: on,
334
334
  navigationTab: sn,
@@ -338,8 +338,8 @@ const an = "_headerContainer_1cubo_1", on = "_navigationTabList_1cubo_8", sn = "
338
338
  const { ref: n, height: a } = rn({
339
339
  refreshMode: "debounce",
340
340
  refreshRate: 0
341
- }), [o, s] = be(!1), c = () => o ? !e : !0;
342
- U(() => {
341
+ }), [o, s] = he(!1), c = () => o ? !e : !0;
342
+ q(() => {
343
343
  const d = () => {
344
344
  s(window.scrollY > 0);
345
345
  };
@@ -350,8 +350,8 @@ const an = "_headerContainer_1cubo_1", on = "_navigationTabList_1cubo_8", sn = "
350
350
  "div",
351
351
  {
352
352
  ref: n,
353
- className: R(A.headerContent, {
354
- [A.staticEnabled]: c()
353
+ className: A(k.headerContent, {
354
+ [k.staticEnabled]: c()
355
355
  }),
356
356
  children: [
357
357
  /* @__PURE__ */ i(z.Header, {}),
@@ -361,7 +361,7 @@ const an = "_headerContainer_1cubo_1", on = "_navigationTabList_1cubo_8", sn = "
361
361
  }
362
362
  ) }) });
363
363
  };
364
- z.Header = ({ children: e }) => /* @__PURE__ */ i("div", { className: A.headerContainer, children: e });
364
+ z.Header = ({ children: e }) => /* @__PURE__ */ i("div", { className: k.headerContainer, children: e });
365
365
  z.Tabs = ({ children: e }) => /* @__PURE__ */ i("div", { className: "flex justify-between gap-2 nowrap", children: e });
366
366
  const dn = "_sidebarContainer_bmdti_1", mn = {
367
367
  sidebarContainer: dn
@@ -370,56 +370,56 @@ const dn = "_sidebarContainer_bmdti_1", mn = {
370
370
  }, bn = ({ src: e, href: t = "/", ariaLabel: n = "Home", alt: a = "Lokalise" }) => /* @__PURE__ */ i("a", { className: _n.logoLink, href: t, "aria-label": n, children: /* @__PURE__ */ i("img", { src: e, alt: a }) }), gn = "_link_18vhx_1", hn = "_active_18vhx_18", Ke = {
371
371
  link: gn,
372
372
  active: hn
373
- }, pn = ({ label: e, to: t, icon: n }) => /* @__PURE__ */ i(ge, { placement: "right", tooltip: e, children: /* @__PURE__ */ i(
374
- st,
373
+ }, pn = ({ label: e, to: t, icon: n }) => /* @__PURE__ */ i(pe, { placement: "right", tooltip: e, children: /* @__PURE__ */ i(
374
+ ct,
375
375
  {
376
- className: R(Ke.link, {
376
+ className: A(Ke.link, {
377
377
  [Ke.active]: window.location.pathname.startsWith(t)
378
378
  }),
379
379
  href: t,
380
380
  children: /* @__PURE__ */ i(n, { size: "25px" })
381
381
  }
382
- ) }), vn = "_dropdownButton_13l5r_1", Tn = "_dropdownButtonActive_13l5r_18", Je = {
383
- dropdownButton: vn,
384
- dropdownButtonActive: Tn
382
+ ) }), Tn = "_dropdownButton_13l5r_1", vn = "_dropdownButtonActive_13l5r_18", We = {
383
+ dropdownButton: Tn,
384
+ dropdownButtonActive: vn
385
385
  }, yn = ({ children: e, icon: t }) => /* @__PURE__ */ i(
386
- he,
386
+ Te,
387
387
  {
388
- menuButton: ({ opened: n }) => /* @__PURE__ */ i(ge, { placement: "right", tooltip: "Help", children: /* @__PURE__ */ i(
388
+ menuButton: ({ opened: n }) => /* @__PURE__ */ i(pe, { placement: "right", tooltip: "Help", children: /* @__PURE__ */ i(
389
389
  "button",
390
390
  {
391
391
  type: "button",
392
- className: R(Je.dropdownButton, {
393
- [Je.dropdownButtonActive]: n
392
+ className: A(We.dropdownButton, {
393
+ [We.dropdownButtonActive]: n
394
394
  }),
395
395
  children: /* @__PURE__ */ i(t, { size: "25px" })
396
396
  }
397
397
  ) }),
398
- children: /* @__PURE__ */ i(pe, { placement: "right-start", children: e })
398
+ children: /* @__PURE__ */ i(ve, { placement: "right-start", children: e })
399
399
  }
400
- ), Sn = "_iconContainer_nz34m_1", wn = {
400
+ ), Sn = "_iconContainer_nz34m_1", En = {
401
401
  iconContainer: Sn
402
402
  }, ht = ({ className: e = "" }) => /* @__PURE__ */ i(
403
403
  "div",
404
404
  {
405
405
  "aria-label": "Upgrade Icon",
406
- className: R(
407
- wn.iconContainer,
406
+ className: A(
407
+ En.iconContainer,
408
408
  "flex-row",
409
409
  "items-center",
410
410
  "justify-center",
411
411
  e
412
412
  ),
413
- children: /* @__PURE__ */ i(Ot, {})
413
+ children: /* @__PURE__ */ i(Lt, {})
414
414
  }
415
- ), En = "_menuContainer_wbu3u_5", In = "_profileButton_wbu3u_16", jn = "_profileImage_wbu3u_29", Pn = "_profileImageHighlight_wbu3u_37", Cn = "_profileImageUpgradeIcon_wbu3u_41", Nn = "_userIconWrapper_wbu3u_47", C = {
416
- menuContainer: En,
415
+ ), wn = "_menuContainer_wbu3u_5", In = "_profileButton_wbu3u_16", Pn = "_profileImage_wbu3u_29", jn = "_profileImageHighlight_wbu3u_37", Cn = "_profileImageUpgradeIcon_wbu3u_41", Rn = "_userIconWrapper_wbu3u_47", C = {
416
+ menuContainer: wn,
417
417
  profileButton: In,
418
- profileImage: jn,
419
- profileImageHighlight: Pn,
418
+ profileImage: Pn,
419
+ profileImageHighlight: jn,
420
420
  profileImageUpgradeIcon: Cn,
421
- userIconWrapper: Nn
422
- }, pt = kt({}), H = () => Rt(pt), Rn = ({ children: e }) => {
421
+ userIconWrapper: Rn
422
+ }, pt = Nt({}), H = () => At(pt), An = ({ children: e }) => {
423
423
  const {
424
424
  currentTeam: t,
425
425
  otherTeams: n,
@@ -433,14 +433,14 @@ const dn = "_sidebarContainer_bmdti_1", mn = {
433
433
  isFullyAuthenticated: m
434
434
  } = H();
435
435
  return /* @__PURE__ */ i(
436
- he,
436
+ Te,
437
437
  {
438
438
  menuButton: () => /* @__PURE__ */ p("button", { className: C.profileButton, "aria-label": "Profile menu", type: "button", children: [
439
439
  t != null && t.logoUrl ? /* @__PURE__ */ i(
440
440
  "img",
441
441
  {
442
442
  src: t.logoUrl,
443
- className: R(C.profileImage, {
443
+ className: A(C.profileImage, {
444
444
  [C.profileImageHighlight]: a
445
445
  }),
446
446
  alt: "Team Logo"
@@ -448,15 +448,15 @@ const dn = "_sidebarContainer_bmdti_1", mn = {
448
448
  ) : /* @__PURE__ */ i(
449
449
  "div",
450
450
  {
451
- className: R(C.userIconWrapper, "flex-row", "align-center", "items-center", {
451
+ className: A(C.userIconWrapper, "flex-row", "align-center", "items-center", {
452
452
  [C.profileImageHighlight]: a
453
453
  }),
454
- children: /* @__PURE__ */ i(ct, { size: "25px" })
454
+ children: /* @__PURE__ */ i(lt, { size: "25px" })
455
455
  }
456
456
  ),
457
457
  a && /* @__PURE__ */ i(ht, { className: C.profileImageUpgradeIcon })
458
458
  ] }),
459
- children: /* @__PURE__ */ i(pe, { placement: "right-end", className: C.menuContainer, children: e({
459
+ children: /* @__PURE__ */ i(ve, { placement: "right-end", className: C.menuContainer, children: e({
460
460
  allowTeamCreation: s,
461
461
  otherTeams: n,
462
462
  canAccessTeamSettings: u,
@@ -468,7 +468,7 @@ const dn = "_sidebarContainer_bmdti_1", mn = {
468
468
  }) })
469
469
  }
470
470
  );
471
- }, vt = 0, kn = 9999, An = [150, 151, 250, 251], Ln = [152, 153, 252, 253], On = [154, 155, 157, 158, 254, 255, 258, 354, 355, 358], Mn = [156, 159, 160, 256, 259, 260], Tt = 9998, Te = (e) => e === vt, yt = (e) => e === kn, la = (e) => An.includes(e), ua = (e) => Ln.includes(e), da = (e) => On.includes(e), ma = (e) => Mn.includes(e), fa = (e) => e > vt && e < Tt, _a = (e) => e === Tt, qn = /\n/, We = (e, t, n) => e.split(t).flatMap((a, o) => o !== 0 ? [At(n, { key: Math.random().toString(32).slice(0, 10) }), a] : a), Un = (e, t, n) => typeof e == "string" ? We(e, t, n) : e.flatMap((a) => typeof a == "string" ? We(a, t, n) : a), ba = (e) => Un(e, qn, /* @__PURE__ */ i("br", {})), xn = /(\b(https?|):\/\/[-a-zA-Zа-яА-Я0-9+&@#/%?=~_|!:,.;]*[-a-zA-Zа-яА-Я0-9+&@#/%=~_|])/gi, Bn = (e) => e.match(xn) ?? [], Qe = (e, t, n) => {
471
+ }, Tt = 0, Nn = 9999, kn = [150, 151, 250, 251], On = [152, 153, 252, 253], Ln = [154, 155, 157, 158, 254, 255, 258, 354, 355, 358], Mn = [156, 159, 160, 256, 259, 260], vt = 9998, Ee = (e) => e === Tt, yt = (e) => e === Nn, da = (e) => kn.includes(e), ma = (e) => On.includes(e), fa = (e) => Ln.includes(e), _a = (e) => Mn.includes(e), ba = (e) => e > Tt && e < vt, ga = (e) => e === vt, Un = /\n/, Qe = (e, t, n) => e.split(t).flatMap((a, o) => o !== 0 ? [kt(n, { key: Math.random().toString(32).slice(0, 10) }), a] : a), qn = (e, t, n) => typeof e == "string" ? Qe(e, t, n) : e.flatMap((a) => typeof a == "string" ? Qe(a, t, n) : a), ha = (e) => qn(e, Un, /* @__PURE__ */ i("br", {})), xn = /(\b(https?|):\/\/[-a-zA-Zа-яА-Я0-9+&@#/%?=~_|!:,.;]*[-a-zA-Zа-яА-Я0-9+&@#/%=~_|])/gi, Bn = (e) => e.match(xn) ?? [], Ye = (e, t, n) => {
472
472
  const a = e.split(t);
473
473
  if (a.length === 1)
474
474
  return e;
@@ -476,19 +476,19 @@ const dn = "_sidebarContainer_bmdti_1", mn = {
476
476
  return a[0] !== "" && o.push(a[0]), a.shift(), a[a.length - 1] === "" && a.pop(), o.push(
477
477
  /* @__PURE__ */ i("a", { href: t, target: "_blank", rel: "noreferrer noopener", children: t }, t + n)
478
478
  ), o.push(a.join(t)), o.filter((s) => s !== "");
479
- }, Ye = (e) => {
479
+ }, Ve = (e) => {
480
480
  const t = Bn(e);
481
- return t != null && t.length ? t.reduce((n, a, o) => typeof n == "string" ? Qe(n, a, o) : n.flatMap((s) => typeof s == "string" ? Qe(s, a, o) : s), e) : e;
482
- }, ga = (e) => typeof e == "string" ? Ye(e) : e.flatMap((t) => typeof t == "string" ? Ye(t) : t, e), ha = (e, t = "PP") => ut(e, t), pa = (e, t, n = "PP") => ut(qt(e, t), n), va = (e) => {
483
- U(e, []);
484
- }, Ve = {
481
+ return t != null && t.length ? t.reduce((n, a, o) => typeof n == "string" ? Ye(n, a, o) : n.flatMap((s) => typeof s == "string" ? Ye(s, a, o) : s), e) : e;
482
+ }, pa = (e) => typeof e == "string" ? Ve(e) : e.flatMap((t) => typeof t == "string" ? Ve(t) : t, e), Ta = (e, t = "PP") => dt(e, t), va = (e, t, n = "PP") => dt(Ut(e, t), n), ya = (e) => {
483
+ q(e, []);
484
+ }, Ze = {
485
485
  biller: "biller",
486
486
  owner: "owner"
487
- }, Ze = [
488
- Ve.biller,
489
- Ve.owner
487
+ }, Xe = [
488
+ Ze.biller,
489
+ Ze.owner
490
490
  ], Hn = ({ children: e, config: t }) => {
491
- const { teams: n, currentTeamId: a, planId: o, isEndOfTrialActive: s, isFullyAuthenticated: c, userTeamRole: u } = t, d = n.find((w) => w.id === a), l = n.filter((w) => w.id !== a), m = Ze.includes(u), b = Ze.includes(u), y = Te(o) || yt(o), S = {
491
+ const { teams: n, currentTeamId: a, planId: o, isEndOfTrialActive: s, isFullyAuthenticated: c, userTeamRole: u } = t, d = n.find((E) => E.id === a), l = n.filter((E) => E.id !== a), m = Xe.includes(u), b = Xe.includes(u), y = Ee(o) || yt(o), S = {
492
492
  ...t,
493
493
  currentTeam: d,
494
494
  otherTeams: l,
@@ -500,9 +500,9 @@ const dn = "_sidebarContainer_bmdti_1", mn = {
500
500
  allowTeamCreation: c && !s
501
501
  };
502
502
  return /* @__PURE__ */ i(pt.Provider, { value: S, children: e });
503
- }, $n = ({ config: e, children: t }) => /* @__PURE__ */ i(Hn, { config: e, children: /* @__PURE__ */ i(Rn, { children: t }) }), Gn = "_container_q5pot_1", Dn = "_profileEmail_q5pot_5", Xe = {
504
- container: Gn,
505
- profileEmail: Dn
503
+ }, $n = ({ config: e, children: t }) => /* @__PURE__ */ i(Hn, { config: e, children: /* @__PURE__ */ i(An, { children: t }) }), Dn = "_container_q5pot_1", Gn = "_profileEmail_q5pot_5", et = {
504
+ container: Dn,
505
+ profileEmail: Gn
506
506
  }, Fn = ({
507
507
  href: e,
508
508
  onClick: t,
@@ -510,26 +510,26 @@ const dn = "_sidebarContainer_bmdti_1", mn = {
510
510
  hideBottomDivider: a
511
511
  }) => {
512
512
  const { isEndOfTrialActive: o, isTeamSuspended: s } = H();
513
- return o || s ? null : /* @__PURE__ */ p(at, { children: [
513
+ return o || s ? null : /* @__PURE__ */ p(ot, { children: [
514
514
  /* @__PURE__ */ i(
515
- J,
515
+ K,
516
516
  {
517
517
  href: e,
518
518
  onClick: () => {
519
519
  t == null || t();
520
520
  },
521
- children: /* @__PURE__ */ p("div", { className: `flex-col ${Xe.container}`, children: [
521
+ children: /* @__PURE__ */ p("div", { className: `flex-col ${et.container}`, children: [
522
522
  /* @__PURE__ */ i("span", { children: "Profile Settings" }),
523
- /* @__PURE__ */ i("span", { className: Xe.profileEmail, children: n })
523
+ /* @__PURE__ */ i("span", { className: et.profileEmail, children: n })
524
524
  ] })
525
525
  }
526
526
  ),
527
- !a && /* @__PURE__ */ i(lt, {})
527
+ !a && /* @__PURE__ */ i(ut, {})
528
528
  ] });
529
- }, zn = "_wrapper_15d85_1", Kn = "_profileImage_15d85_14", Jn = "_teamName_15d85_22", Wn = "_planLabel_15d85_29", Qn = "_membership_15d85_38", Yn = "_defaultProfileImage_15d85_44", k = {
529
+ }, zn = "_wrapper_15d85_1", Jn = "_profileImage_15d85_14", Kn = "_teamName_15d85_22", Wn = "_planLabel_15d85_29", Qn = "_membership_15d85_38", Yn = "_defaultProfileImage_15d85_44", N = {
530
530
  wrapper: zn,
531
- profileImage: Kn,
532
- teamName: Jn,
531
+ profileImage: Jn,
532
+ teamName: Kn,
533
533
  planLabel: Wn,
534
534
  membership: Qn,
535
535
  defaultProfileImage: Yn
@@ -537,20 +537,20 @@ const dn = "_sidebarContainer_bmdti_1", mn = {
537
537
  const { currentTeam: a, planId: o } = H(), s = e || a;
538
538
  if (!s)
539
539
  return null;
540
- const c = Te(o) ? "Free" : yt(o) ? "Trial" : void 0;
540
+ const c = Ee(o) ? "Free" : yt(o) ? "Trial" : void 0;
541
541
  return /* @__PURE__ */ p(
542
- t ? J : "div",
542
+ t ? K : "div",
543
543
  {
544
- className: `flex-row gap-2 flex-nowrap items-center ${k.wrapper}`,
544
+ className: `flex-row gap-2 flex-nowrap items-center ${N.wrapper}`,
545
545
  ...t && { onClick: () => t(s) },
546
546
  children: [
547
- s.logoUrl ? /* @__PURE__ */ i("img", { className: k.profileImage, src: s.logoUrl, alt: "Team Logo" }) : /* @__PURE__ */ i("span", { className: `flex-row justify-center items-center ${k.defaultProfileImage}`, children: /* @__PURE__ */ i(ct, { size: "25px" }) }),
547
+ s.logoUrl ? /* @__PURE__ */ i("img", { className: N.profileImage, src: s.logoUrl, alt: "Team Logo" }) : /* @__PURE__ */ i("span", { className: `flex-row justify-center items-center ${N.defaultProfileImage}`, children: /* @__PURE__ */ i(lt, { size: "25px" }) }),
548
548
  /* @__PURE__ */ p("div", { className: "flex-col items-start", children: [
549
549
  /* @__PURE__ */ p("div", { className: "flex-row items-center flex-nowrap gap-2", children: [
550
- /* @__PURE__ */ i("span", { title: s.name, className: k.teamName, children: s.name }),
551
- c && !n && /* @__PURE__ */ i("span", { className: `flex-row justify-center items-center ${k.planLabel}`, children: c })
550
+ /* @__PURE__ */ i("span", { title: s.name, className: N.teamName, children: s.name }),
551
+ c && !n && /* @__PURE__ */ i("span", { className: `flex-row justify-center items-center ${N.planLabel}`, children: c })
552
552
  ] }),
553
- /* @__PURE__ */ i("span", { className: k.membership, children: s.role })
553
+ /* @__PURE__ */ i("span", { className: N.membership, children: s.role })
554
554
  ] })
555
555
  ]
556
556
  }
@@ -560,7 +560,7 @@ const dn = "_sidebarContainer_bmdti_1", mn = {
560
560
  }, Xn = ({ onSwitchTeam: e }) => {
561
561
  const { otherTeams: t } = H();
562
562
  return t.length === 0 ? null : /* @__PURE__ */ i("div", { className: `flex-col items-stretch ${Zn.teamsContainer}`, children: t.map((n) => /* @__PURE__ */ i(St, { team: n, onClick: e, hidePlanLabel: !0 }, n.id)) });
563
- }, er = "_container_1u995_1", tr = "_planCta_1u995_15", nr = "_upgradeIconWrapper_1u995_19", me = {
563
+ }, er = "_container_1u995_1", tr = "_planCta_1u995_15", nr = "_upgradeIconWrapper_1u995_19", _e = {
564
564
  container: er,
565
565
  planCta: tr,
566
566
  upgradeIconWrapper: nr
@@ -568,83 +568,83 @@ const dn = "_sidebarContainer_bmdti_1", mn = {
568
568
  const { planId: t, trialDaysLeft: n, showUpgradeCta: a } = H();
569
569
  if (!a)
570
570
  return null;
571
- const c = Te(t) ? "Your team is currently on the Free plan" : `Free trial ends in ${n} ${n === 1 ? "day" : "days"}`;
572
- return /* @__PURE__ */ p(J, { href: e, className: `flex-col gap-1 items-start ${me.container}`, children: [
573
- /* @__PURE__ */ i("span", { className: me.planCta, children: c }),
574
- /* @__PURE__ */ p("div", { className: `flex-row items-center gap-1 ${me.upgradeIconWrapper}`, children: [
571
+ const c = Ee(t) ? "Your team is currently on the Free plan" : `Free trial ends in ${n} ${n === 1 ? "day" : "days"}`;
572
+ return /* @__PURE__ */ p(K, { href: e, className: `flex-col gap-1 items-start ${_e.container}`, children: [
573
+ /* @__PURE__ */ i("span", { className: _e.planCta, children: c }),
574
+ /* @__PURE__ */ p("div", { className: `flex-row items-center gap-1 ${_e.upgradeIconWrapper}`, children: [
575
575
  /* @__PURE__ */ i(ht, {}),
576
576
  /* @__PURE__ */ i("span", { children: "See upgrade options" })
577
577
  ] })
578
578
  ] });
579
- }, E = ({ children: e, ...t }) => /* @__PURE__ */ i("nav", { ...t, className: mn.sidebarContainer, children: e }), ar = ({ children: e }) => /* @__PURE__ */ i("div", { children: e });
580
- E.Top = ar;
579
+ }, w = ({ children: e, ...t }) => /* @__PURE__ */ i("nav", { ...t, className: mn.sidebarContainer, children: e }), ar = ({ children: e }) => /* @__PURE__ */ i("div", { children: e });
580
+ w.Top = ar;
581
581
  const or = ({ children: e }) => /* @__PURE__ */ i("div", { children: e });
582
- E.Bottom = or;
583
- E.Avatar = bn;
584
- E.IconLink = pn;
585
- E.Menu = yn;
586
- E.ProfileMenu = $n;
587
- E.TeamSwitch = Xn;
588
- E.TeamMenuItem = St;
589
- E.UpgradeMenuItem = rr;
590
- E.ProfileSettingsMenuItem = Fn;
591
- const ir = "_breadcrumbsItem_1hm6a_1", sr = "_breadcrumbs_1hm6a_1", et = {
582
+ w.Bottom = or;
583
+ w.Avatar = bn;
584
+ w.IconLink = pn;
585
+ w.Menu = yn;
586
+ w.ProfileMenu = $n;
587
+ w.TeamSwitch = Xn;
588
+ w.TeamMenuItem = St;
589
+ w.UpgradeMenuItem = rr;
590
+ w.ProfileSettingsMenuItem = Fn;
591
+ const ir = "_breadcrumbsItem_1hm6a_1", sr = "_breadcrumbs_1hm6a_1", tt = {
592
592
  breadcrumbsItem: ir,
593
593
  breadcrumbs: sr
594
- }, Ta = ({ items: e }) => /* @__PURE__ */ i("nav", { "aria-label": "breadcrumb", className: et.breadcrumbs, children: e.map((t, n) => /* @__PURE__ */ p(it, { children: [
595
- /* @__PURE__ */ i(st, { className: et.breadcrumbsItem, href: t.link, rel: "noreferrer", children: t.name }),
594
+ }, Sa = ({ items: e }) => /* @__PURE__ */ i("nav", { "aria-label": "breadcrumb", className: tt.breadcrumbs, children: e.map((t, n) => /* @__PURE__ */ p(st, { children: [
595
+ /* @__PURE__ */ i(ct, { className: tt.breadcrumbsItem, href: t.link, rel: "noreferrer", children: t.name }),
596
596
  n < e.length - 1 && /* @__PURE__ */ i("span", { children: " — " })
597
- ] }, `${t.link}-${t.name}`)) }), cr = ({ items: e }) => /* @__PURE__ */ i(at, { children: e.map((t, n) => /* @__PURE__ */ p(it, { children: [
598
- !!n && t.some((a) => a.visible) && /* @__PURE__ */ i(lt, {}),
599
- t.filter(({ visible: a }) => a).map(({ link: a, label: o, onClick: s }) => /* @__PURE__ */ i(J, { href: a || "#", "aria-label": o, onClick: s, children: o }, o))
600
- ] }, t[0].label)) }), lr = "_badge_1pc1v_1", ur = "_tag_1pc1v_15", dr = "_withNavLinkStyle_1pc1v_42 _withLinkStyle_1pc1v_21", mr = "_disabled_1pc1v_57", fr = "_projectNavigationItem_1pc1v_61", _r = "_projectNavigationItemDisabled_1pc1v_67", N = {
597
+ ] }, `${t.link}-${t.name}`)) }), cr = ({ items: e }) => /* @__PURE__ */ i(ot, { children: e.map((t, n) => /* @__PURE__ */ p(st, { children: [
598
+ !!n && t.some((a) => a.visible) && /* @__PURE__ */ i(ut, {}),
599
+ t.filter(({ visible: a }) => a).map(({ link: a, label: o, onClick: s }) => /* @__PURE__ */ i(K, { href: a || "#", "aria-label": o, onClick: s, children: o }, o))
600
+ ] }, t[0].label)) }), lr = "_badge_1pc1v_1", ur = "_tag_1pc1v_15", dr = "_withNavLinkStyle_1pc1v_42 _withLinkStyle_1pc1v_21", mr = "_disabled_1pc1v_57", fr = "_projectNavigationItem_1pc1v_61", _r = "_projectNavigationItemDisabled_1pc1v_67", R = {
601
601
  badge: lr,
602
602
  tag: ur,
603
603
  withNavLinkStyle: dr,
604
604
  disabled: mr,
605
605
  projectNavigationItem: fr,
606
606
  projectNavigationItemDisabled: _r
607
- }, tt = ({ label: e, badge: t, novel: n }) => /* @__PURE__ */ p("div", { className: "flex gap-1", children: [
607
+ }, nt = ({ label: e, badge: t, novel: n }) => /* @__PURE__ */ p("div", { className: "flex gap-1", children: [
608
608
  /* @__PURE__ */ p("div", { children: [
609
609
  /* @__PURE__ */ i("span", { children: e }),
610
- !!t && /* @__PURE__ */ i("div", { className: N.badge, "aria-label": `${t} items requiring attention`, children: t > 9 ? "9+" : t })
610
+ !!t && /* @__PURE__ */ i("div", { className: R.badge, "aria-label": `${t} items requiring attention`, children: t > 9 ? "9+" : t })
611
611
  ] }),
612
- !!n && /* @__PURE__ */ i(Mt, { className: N.tag, children: n })
613
- ] }), fe = Lt(
614
- ({ label: e, href: t = "", disabled: n = !1, badge: a, onClick: o, novel: s }, c) => /* @__PURE__ */ i(ge, { tooltip: "You do not have access to this function", show: n, children: /* @__PURE__ */ i(
612
+ !!n && /* @__PURE__ */ i(Mt, { className: R.tag, children: n })
613
+ ] }), be = Ot(
614
+ ({ label: e, href: t = "", disabled: n = !1, badge: a, onClick: o, novel: s }, c) => /* @__PURE__ */ i(pe, { tooltip: "You do not have access to this function", show: n, children: /* @__PURE__ */ i(
615
615
  "div",
616
616
  {
617
- className: n ? N.projectNavigationItemDisabled : N.projectNavigationItem,
617
+ className: n ? R.projectNavigationItemDisabled : R.projectNavigationItem,
618
618
  children: o || n || !t ? /* @__PURE__ */ i(
619
619
  "button",
620
620
  {
621
621
  type: "button",
622
622
  ref: c,
623
- className: R(N.withNavLinkStyle, {
624
- [N.disabled]: n
623
+ className: A(R.withNavLinkStyle, {
624
+ [R.disabled]: n
625
625
  }),
626
626
  disabled: n,
627
627
  onClick: o,
628
- children: /* @__PURE__ */ i(tt, { label: e, badge: a, novel: s })
628
+ children: /* @__PURE__ */ i(nt, { label: e, badge: a, novel: s })
629
629
  }
630
- ) : /* @__PURE__ */ i("a", { href: t, className: N.withNavLinkStyle, children: /* @__PURE__ */ i(tt, { label: e, badge: a, novel: s }) })
630
+ ) : /* @__PURE__ */ i("a", { href: t, className: R.withNavLinkStyle, children: /* @__PURE__ */ i(nt, { label: e, badge: a, novel: s }) })
631
631
  }
632
632
  ) })
633
633
  );
634
- fe.displayName = "NavigationTabsItem";
635
- const br = (e) => (e == null ? void 0 : e.some((t) => t.some((n) => n.visible))) ?? !1, gr = (e) => e.visible && (!e.dropdown || br(e.dropdown)), ya = ({ navigation: e, activeItem: t }) => /* @__PURE__ */ i("nav", { "aria-label": "Project", children: /* @__PURE__ */ i("ul", { className: A.navigationTabList, "aria-orientation": "horizontal", children: e.filter(gr).map((n) => {
634
+ be.displayName = "NavigationTabsItem";
635
+ const br = (e) => (e == null ? void 0 : e.some((t) => t.some((n) => n.visible))) ?? !1, gr = (e) => e.visible && (!e.dropdown || br(e.dropdown)), Ea = ({ navigation: e, activeItem: t }) => /* @__PURE__ */ i("nav", { "aria-label": "Project", children: /* @__PURE__ */ i("ul", { className: k.navigationTabList, "aria-orientation": "horizontal", children: e.filter(gr).map((n) => {
636
636
  var a, o, s;
637
637
  return n.dropdown ? /* @__PURE__ */ i(
638
638
  "li",
639
639
  {
640
- className: A.navigationTab,
640
+ className: k.navigationTab,
641
641
  "data-testid": n.key,
642
642
  "aria-selected": (a = n.isActive) == null ? void 0 : a.call(n, t),
643
643
  children: /* @__PURE__ */ i(
644
- he,
644
+ Te,
645
645
  {
646
- menuButton: ({ opened: c }) => /* @__PURE__ */ i(fe, { label: n.label, disabled: n.disabled, active: c }),
647
- children: /* @__PURE__ */ i(pe, { children: /* @__PURE__ */ i(cr, { items: n.dropdown }) })
646
+ menuButton: ({ opened: c }) => /* @__PURE__ */ i(be, { label: n.label, disabled: n.disabled, active: c }),
647
+ children: /* @__PURE__ */ i(ve, { children: /* @__PURE__ */ i(cr, { items: n.dropdown }) })
648
648
  }
649
649
  )
650
650
  },
@@ -652,11 +652,11 @@ const br = (e) => (e == null ? void 0 : e.some((t) => t.some((n) => n.visible)))
652
652
  ) : /* @__PURE__ */ i(
653
653
  "li",
654
654
  {
655
- className: A.navigationTab,
655
+ className: k.navigationTab,
656
656
  "data-testid": n.key,
657
657
  "aria-selected": (o = n.isActive) == null ? void 0 : o.call(n, t),
658
658
  children: /* @__PURE__ */ i(
659
- fe,
659
+ be,
660
660
  {
661
661
  label: n.label,
662
662
  href: n.link,
@@ -676,7 +676,7 @@ const br = (e) => (e == null ? void 0 : e.some((t) => t.some((n) => n.visible)))
676
676
  }), pr = r.union([
677
677
  r.object({ Authorization: r.string().startsWith("Bearer ") }),
678
678
  r.object({ "x-csrf-token": r.string() })
679
- ]), ye = dt({
679
+ ]), we = ye({
680
680
  description: "Takes a teamId and returns a JWT token access and refresh token for the user",
681
681
  method: "post",
682
682
  requestPathParamsSchema: r.object({ teamId: r.number() }),
@@ -684,16 +684,16 @@ const br = (e) => (e == null ? void 0 : e.some((t) => t.some((n) => n.visible)))
684
684
  requestHeaderSchema: pr,
685
685
  requestBodySchema: r.undefined(),
686
686
  successResponseBodySchema: hr
687
- }), vr = {
687
+ }), Tr = {
688
688
  teamKeyCsrf: (e, t) => ["getUserToken", "x-csrf-token", t, e],
689
689
  teamKeyJwt: (e, t) => ["getUserToken", "Authorization", `Bearer ${t}`, e]
690
- }, Tr = (e, t) => O({
690
+ }, vr = (e, t) => L({
691
691
  ...t,
692
- queryFn: ({ queryKey: [n, a, o, s] }) => W(e, ye, {
692
+ queryFn: ({ queryKey: [n, a, o, s] }) => W(e, we, {
693
693
  pathParams: { teamId: s },
694
694
  headers: a === "x-csrf-token" ? { "x-csrf-token": o } : { Authorization: o }
695
695
  })
696
- }), wt = r.union([
696
+ }), Et = r.union([
697
697
  r.literal("owner"),
698
698
  r.literal("admin"),
699
699
  r.literal("biller"),
@@ -702,7 +702,7 @@ const br = (e) => (e == null ? void 0 : e.some((t) => t.some((n) => n.visible)))
702
702
  userId: r.number(),
703
703
  userUuid: r.string(),
704
704
  teamId: r.number(),
705
- userTeamRole: wt,
705
+ userTeamRole: Et,
706
706
  userEmail: r.string().email(),
707
707
  userName: r.string(),
708
708
  userCurrentTeamId: r.number(),
@@ -720,44 +720,44 @@ function Q(e) {
720
720
  return;
721
721
  }
722
722
  }
723
- const K = class K extends CustomEvent {
723
+ const J = class J extends CustomEvent {
724
724
  constructor(t) {
725
- super(K.eventName, {
725
+ super(J.eventName, {
726
726
  detail: { token: t, payload: Q(t.accessToken) }
727
727
  });
728
728
  }
729
729
  };
730
- Ne(K, "eventName", "new-jwt-issued");
731
- let L = K;
732
- function Se() {
733
- const e = _e(document.cookie, "accessToken"), t = _e(document.cookie, "refreshToken");
730
+ Ae(J, "eventName", "new-jwt-issued");
731
+ let O = J;
732
+ function Ie() {
733
+ const e = ge(document.cookie, "accessToken"), t = ge(document.cookie, "refreshToken");
734
734
  if (!(!e || !t))
735
735
  return { accessToken: e, refreshToken: t };
736
736
  }
737
- function Et() {
738
- return _e(document.cookie, "csrf_token");
737
+ function wt() {
738
+ return ge(document.cookie, "csrf_token");
739
739
  }
740
- function _e(e, t) {
740
+ function ge(e, t) {
741
741
  var n, a;
742
742
  return (a = (n = e.split(";").find((o) => o.trim().startsWith(`${t}=`))) == null ? void 0 : n.trim()) == null ? void 0 : a.substring(t.length + 1);
743
743
  }
744
- function Sa(e, t) {
745
- const n = Et(), a = Tr(e, {
746
- queryKey: vr.teamKeyCsrf(t, n ?? ""),
744
+ function wa(e, t) {
745
+ const n = wt(), a = vr(e, {
746
+ queryKey: Tr.teamKeyCsrf(t, n ?? ""),
747
747
  enabled: n !== void 0
748
- }), o = ot();
749
- return U(() => {
750
- a.data && a.data.accessToken !== o.current && (window.dispatchEvent(new L(a.data)), o.current = a.data.accessToken);
748
+ }), o = it();
749
+ return q(() => {
750
+ a.data && a.data.accessToken !== o.current && (window.dispatchEvent(new O(a.data)), o.current = a.data.accessToken);
751
751
  }, [a.data]), a;
752
752
  }
753
753
  function It() {
754
- const [e, t] = be();
755
- return U(() => {
754
+ const [e, t] = he();
755
+ return q(() => {
756
756
  const n = (o) => {
757
757
  t(o.detail.payload);
758
- }, a = Se();
759
- return t(a && Q(a.accessToken)), window.addEventListener(L.eventName, n), () => {
760
- window.removeEventListener(L.eventName, n);
758
+ }, a = Ie();
759
+ return t(a && Q(a.accessToken)), window.addEventListener(O.eventName, n), () => {
760
+ window.removeEventListener(O.eventName, n);
761
761
  };
762
762
  }, []), e;
763
763
  }
@@ -767,29 +767,29 @@ const Sr = r.object({
767
767
  fullname: r.string(),
768
768
  created_at: r.string(),
769
769
  created_at_timestamp: r.number(),
770
- role: wt
771
- }), wr = r.object({
770
+ role: Et
771
+ }), Er = r.object({
772
772
  team_id: r.number(),
773
773
  team_user: Sr
774
- }), Er = B({
774
+ }), wr = B({
775
775
  description: "Get the details of a team user",
776
776
  requestPathParamsSchema: r.object({ teamId: r.number(), userId: r.number() }),
777
777
  pathResolver: ({ teamId: e, userId: t }) => `/teams/${e}/users/${t}`,
778
- successResponseBodySchema: wr
778
+ successResponseBodySchema: Er
779
779
  }), Ir = {
780
780
  teamUserKey: (e, t) => ["GetTeamUsers", e, t]
781
- }, jr = (e, t) => O({
781
+ }, Pr = (e, t) => L({
782
782
  ...t,
783
- queryFn: ({ queryKey: [n, a, o] }) => x(e, Er, { pathParams: { teamId: a, userId: o } })
783
+ queryFn: ({ queryKey: [n, a, o] }) => x(e, wr, { pathParams: { teamId: a, userId: o } })
784
784
  });
785
- function wa(e) {
785
+ function Ia(e) {
786
786
  const t = It();
787
- return jr(e, {
787
+ return Pr(e, {
788
788
  queryKey: Ir.teamUserKey((t == null ? void 0 : t.teamId) ?? 0, (t == null ? void 0 : t.userId) ?? 0),
789
789
  enabled: (t == null ? void 0 : t.userId) !== void 0 && t.teamId !== void 0
790
790
  });
791
791
  }
792
- const Pr = r.object({
792
+ const jr = r.object({
793
793
  lang_id: r.number(),
794
794
  lang_iso: r.string(),
795
795
  lang_name: r.string(),
@@ -801,41 +801,41 @@ const Pr = r.object({
801
801
  created_at: r.string(),
802
802
  created_at_timestamp: r.number(),
803
803
  admin_rights: r.array(r.string()),
804
- languages: r.array(Pr),
804
+ languages: r.array(jr),
805
805
  is_admin: r.boolean(),
806
806
  is_reviewer: r.boolean()
807
- }), Nr = r.object({
807
+ }), Rr = r.object({
808
808
  project_id: r.string(),
809
809
  contributors: r.array(Cr)
810
- }), Rr = B({
810
+ }), Ar = B({
811
811
  description: "Get the details of a project contributor",
812
812
  requestPathParamsSchema: r.object({ projectId: r.string(), contributorId: r.number() }),
813
813
  pathResolver: ({ projectId: e, contributorId: t }) => `/projects/${e}/contributors/${t}`,
814
- successResponseBodySchema: Nr
815
- }), kr = {
814
+ successResponseBodySchema: Rr
815
+ }), Nr = {
816
816
  projectUserKey: (e, t) => ["RetrieveContributor", e, t]
817
- }, Ar = (e, t) => O({
817
+ }, kr = (e, t) => L({
818
818
  ...t,
819
- queryFn: ({ queryKey: [n, a, o] }) => x(e, Rr, {
819
+ queryFn: ({ queryKey: [n, a, o] }) => x(e, Ar, {
820
820
  pathParams: { projectId: a, contributorId: o }
821
821
  })
822
822
  });
823
- function Ea(e, t) {
823
+ function Pa(e, t) {
824
824
  const n = It();
825
- return Ar(e, {
826
- queryKey: kr.projectUserKey(t, (n == null ? void 0 : n.userId) ?? 0),
825
+ return kr(e, {
826
+ queryKey: Nr.projectUserKey(t, (n == null ? void 0 : n.userId) ?? 0),
827
827
  enabled: n !== void 0
828
828
  });
829
829
  }
830
- function Ia() {
831
- const e = Se();
830
+ function ja() {
831
+ const e = Ie();
832
832
  if (!e)
833
833
  return;
834
834
  const t = Q(e.accessToken);
835
835
  if (t)
836
836
  return { ...e, payload: t };
837
837
  }
838
- function ja() {
838
+ function Ca() {
839
839
  return (e) => (t, n) => e(t, {
840
840
  ...n,
841
841
  headers: {
@@ -848,7 +848,7 @@ function ja() {
848
848
  function F(e) {
849
849
  return { Authorization: `Bearer ${e}` };
850
850
  }
851
- function Lr(e, t) {
851
+ function Or(e, t) {
852
852
  return (n) => async (a, o) => {
853
853
  var u;
854
854
  const s = await t.getCachedJwtToken();
@@ -862,7 +862,7 @@ function Lr(e, t) {
862
862
  const d = Q(s.accessToken);
863
863
  if (!d)
864
864
  return c;
865
- const l = await W(e, ye, {
865
+ const l = await W(e, we, {
866
866
  pathParams: { teamId: d.teamId },
867
867
  headers: F(s.refreshToken)
868
868
  });
@@ -874,10 +874,10 @@ function Lr(e, t) {
874
874
  return c;
875
875
  };
876
876
  }
877
- const Or = {
877
+ const Lr = {
878
878
  wretch: {
879
879
  lokaliseAuth(e) {
880
- return this.middlewares([Lr(this, e)]);
880
+ return this.middlewares([Or(this, e)]);
881
881
  }
882
882
  }
883
883
  };
@@ -889,7 +889,7 @@ function Mr(e, t) {
889
889
  const c = await t.getCsrfToken();
890
890
  if (c === void 0)
891
891
  return n(a, o);
892
- const u = await W(e, ye, {
892
+ const u = await W(e, we, {
893
893
  pathParams: { teamId: await t.getTeamId() },
894
894
  headers: { "x-csrf-token": c }
895
895
  });
@@ -899,32 +899,32 @@ function Mr(e, t) {
899
899
  });
900
900
  };
901
901
  }
902
- const Pa = {
902
+ const Ra = {
903
903
  wretch: {
904
904
  lokaliseAuth(e = {}) {
905
- return this.addon(Or).lokaliseAuth(nt(e));
905
+ return this.addon(Lr).lokaliseAuth(rt(e));
906
906
  },
907
907
  promoteClassicSession(e) {
908
- const t = nt(e);
908
+ const t = rt(e);
909
909
  return this.middlewares([Mr(this, t)]);
910
910
  }
911
911
  }
912
912
  };
913
- function nt(e) {
913
+ function rt(e) {
914
914
  return {
915
915
  ...e,
916
- getCachedJwtToken: e.getCachedJwtToken ?? (async () => Se()),
917
- getCsrfToken: "getCsrfToken" in e ? e.getCsrfToken : async () => Et(),
916
+ getCachedJwtToken: e.getCachedJwtToken ?? (async () => Ie()),
917
+ getCsrfToken: "getCsrfToken" in e ? e.getCsrfToken : async () => wt(),
918
918
  onNewJwtTokenIssued: (t) => {
919
919
  var n;
920
- return window.dispatchEvent(new L(t)), ((n = e.onNewJwtTokenIssued) == null ? void 0 : n.call(e, t)) ?? Promise.resolve();
920
+ return window.dispatchEvent(new O(t)), ((n = e.onNewJwtTokenIssued) == null ? void 0 : n.call(e, t)) ?? Promise.resolve();
921
921
  }
922
922
  };
923
923
  }
924
- const qr = r.object({
924
+ const Ur = r.object({
925
925
  lang_iso: r.string(),
926
926
  custom_iso: r.string().optional()
927
- }), Ur = r.object({
927
+ }), qr = r.object({
928
928
  language_id: r.number(),
929
929
  language_iso: r.string(),
930
930
  progress: r.number(),
@@ -941,7 +941,7 @@ const qr = r.object({
941
941
  project_id: r.string(),
942
942
  project_uuid: r.string().uuid(),
943
943
  languages: r.array(Br)
944
- }), we = r.union([
944
+ }), Pe = r.union([
945
945
  r.literal("localization_files"),
946
946
  r.literal("paged_documents"),
947
947
  r.literal("marketing")
@@ -956,7 +956,7 @@ const qr = r.object({
956
956
  custom_translation_statuses_allow_multiple: r.boolean(),
957
957
  segmentation: r.boolean(),
958
958
  contributor_preview_download_enabled: r.boolean()
959
- }), Gr = r.object({
959
+ }), Dr = r.object({
960
960
  not_reviewed: r.number(),
961
961
  unverified: r.number(),
962
962
  spelling_grammar: r.number(),
@@ -973,18 +973,18 @@ const qr = r.object({
973
973
  double_space: r.number(),
974
974
  special_placeholder: r.number(),
975
975
  unbalanced_brackets: r.number()
976
- }), Dr = r.object({
976
+ }), Gr = r.object({
977
977
  progress_total: r.number(),
978
978
  keys_total: r.number(),
979
979
  team: r.number(),
980
980
  base_words: r.number(),
981
981
  qa_issues_total: r.number(),
982
- qa_issues: Gr,
983
- languages: r.array(Ur)
984
- }), Ee = r.object({
982
+ qa_issues: Dr,
983
+ languages: r.array(qr)
984
+ }), Y = r.object({
985
985
  project_id: r.string(),
986
986
  uuid: r.string().uuid(),
987
- project_type: we,
987
+ project_type: Pe,
988
988
  name: r.string(),
989
989
  description: r.string(),
990
990
  created_at: r.string(),
@@ -995,140 +995,153 @@ const qr = r.object({
995
995
  base_language_id: r.number(),
996
996
  base_language_iso: r.string(),
997
997
  settings: $r.optional(),
998
- statistics: Dr.optional()
998
+ statistics: Gr.optional()
999
999
  }), Fr = r.object({
1000
1000
  name: r.string(),
1001
1001
  team_id: r.string(),
1002
1002
  base_lang_iso: r.string(),
1003
- languages: r.array(qr),
1004
- project_type: we,
1003
+ languages: r.array(Ur),
1004
+ project_type: Pe,
1005
1005
  is_segmentation_enabled: r.boolean()
1006
- }), rt = r.union([r.literal(0), r.literal(1)]), zr = r.object({
1007
- filter_type: we.optional(),
1006
+ }), at = r.union([r.literal(0), r.literal(1)]), zr = r.object({
1007
+ filter_type: Pe.optional(),
1008
1008
  filter_team_id: r.number().optional(),
1009
1009
  filter_names: r.string().optional(),
1010
- include_statistics: rt.optional(),
1011
- include_settings: rt.optional(),
1010
+ include_statistics: at.optional(),
1011
+ include_settings: at.optional(),
1012
1012
  limit: r.number().optional(),
1013
1013
  page: r.number().optional()
1014
- }), Kr = r.object({
1015
- projects: r.array(Ee)
1016
1014
  }), Jr = r.object({
1015
+ projects: r.array(Y)
1016
+ }), Kr = r.object({
1017
1017
  project_id: r.string()
1018
- }), Ie = () => "/projects", Wr = dt({
1018
+ }), Wr = r.object({
1019
+ project_id: r.string()
1020
+ }), Qr = r.object({
1021
+ name: r.string().min(1),
1022
+ description: r.string().optional()
1023
+ }), V = () => "/projects", Yr = ye({
1019
1024
  description: "Create a new project",
1020
1025
  method: "post",
1021
- pathResolver: Ie,
1026
+ pathResolver: V,
1022
1027
  requestBodySchema: Fr,
1023
- successResponseBodySchema: Ee
1024
- }), Qr = B({
1028
+ successResponseBodySchema: Y
1029
+ }), Vr = B({
1025
1030
  description: "List all projects",
1026
- pathResolver: Ie,
1031
+ pathResolver: V,
1027
1032
  requestQuerySchema: zr,
1028
- successResponseBodySchema: Kr
1029
- }), Yr = B({
1033
+ successResponseBodySchema: Jr
1034
+ }), Zr = B({
1030
1035
  description: "Retrieve a project",
1031
- pathResolver: Ie,
1032
- requestQuerySchema: Jr,
1033
- successResponseBodySchema: Ee
1036
+ pathResolver: V,
1037
+ requestQuerySchema: Kr,
1038
+ successResponseBodySchema: Y
1039
+ }), Aa = ye({
1040
+ description: "Update a project",
1041
+ method: "put",
1042
+ requestPathParamsSchema: Wr,
1043
+ pathResolver: ({ project_id: e }) => `${V()}/${e}`,
1044
+ requestBodySchema: Qr,
1045
+ successResponseBodySchema: Y
1034
1046
  });
1035
- function Ca(e, t = {}) {
1036
- return Ut({
1047
+ function Na(e, t = {}) {
1048
+ return qt({
1037
1049
  ...t,
1038
- mutationFn: (n) => W(e, Wr, {
1050
+ mutationFn: (n) => W(e, Yr, {
1039
1051
  body: n
1040
1052
  })
1041
1053
  });
1042
1054
  }
1043
- const Vr = B({
1055
+ const Xr = B({
1044
1056
  description: "List of project languages",
1045
1057
  requestPathParamsSchema: xr,
1046
1058
  pathResolver: ({ projectId: e }) => `/projects/${e}/languages`,
1047
1059
  successResponseBodySchema: Hr
1048
- }), Na = {
1060
+ }), ka = {
1049
1061
  projectIdKey: (e) => ["listProjectLanguages", e]
1050
1062
  };
1051
- function Ra(e, t) {
1052
- return O({
1063
+ function Oa(e, t) {
1064
+ return L({
1053
1065
  ...t,
1054
- queryFn: ({ queryKey: [n, a] }) => x(e, Vr, {
1066
+ queryFn: ({ queryKey: [n, a] }) => x(e, Xr, {
1055
1067
  pathParams: { projectId: a }
1056
1068
  })
1057
1069
  });
1058
1070
  }
1059
- const ka = {
1071
+ const La = {
1060
1072
  paramsKey: (e) => ["listProjects", e]
1061
1073
  };
1062
- function Aa(e, t) {
1063
- return O({
1074
+ function Ma(e, t) {
1075
+ return L({
1064
1076
  ...t,
1065
- queryFn: ({ queryKey: [n, a] }) => x(e, Qr, {
1077
+ queryFn: ({ queryKey: [n, a] }) => x(e, Vr, {
1066
1078
  queryParams: a
1067
1079
  })
1068
1080
  });
1069
1081
  }
1070
- const La = {
1082
+ const Ua = {
1071
1083
  projectIdKey: (e) => ["retrieveProject", e]
1072
1084
  };
1073
- function Oa(e, t) {
1074
- return O({
1085
+ function qa(e, t) {
1086
+ return L({
1075
1087
  ...t,
1076
- queryFn: ({ queryKey: [n, a] }) => x(e, Yr, {
1088
+ queryFn: ({ queryKey: [n, a] }) => x(e, Zr, {
1077
1089
  queryParams: { project_id: a }
1078
1090
  })
1079
1091
  });
1080
1092
  }
1081
1093
  export {
1082
- Ta as Breadcrumbs,
1083
- Tt as ENTERPRISE_OPENSOURCE_PLAN_ID,
1094
+ Sa as Breadcrumbs,
1095
+ vt as ENTERPRISE_OPENSOURCE_PLAN_ID,
1084
1096
  Mn as ENTERPRISE_PLAN_IDS,
1085
- Ln as ESSENTIAL_PLAN_IDS,
1086
- vt as FREE_PLAN_ID,
1087
- Or as LokaliseAuthAddon,
1088
- Pa as LokaliseAuthBrowserAddon,
1097
+ On as ESSENTIAL_PLAN_IDS,
1098
+ Tt as FREE_PLAN_ID,
1099
+ Lr as LokaliseAuthAddon,
1100
+ Ra as LokaliseAuthBrowserAddon,
1089
1101
  z as NavigationPanel,
1090
- ya as NavigationTabs,
1091
- On as PRO_PLAN_IDS,
1092
- An as START_PLAN_IDS,
1093
- E as Sidebar,
1094
- kn as TRIAL_PLAN_ID,
1095
- ba as convertNewLineToBreakTag,
1096
- Wr as createProject,
1097
- ha as formatDate,
1098
- pa as formatDateTz,
1099
- Ia as getAuthenticatedSessionDetailFromRequest,
1100
- Er as getTeamUser,
1102
+ Ea as NavigationTabs,
1103
+ Ln as PRO_PLAN_IDS,
1104
+ kn as START_PLAN_IDS,
1105
+ w as Sidebar,
1106
+ Nn as TRIAL_PLAN_ID,
1107
+ ha as convertNewLineToBreakTag,
1108
+ Yr as createProject,
1109
+ Ta as formatDate,
1110
+ va as formatDateTz,
1111
+ ja as getAuthenticatedSessionDetailFromRequest,
1112
+ wr as getTeamUser,
1101
1113
  Ir as getTeamUsersQueryKey,
1102
- ye as getUserToken,
1103
- vr as getUserTokenKey,
1104
- _a as isEnterpriseOpenSourcePlan,
1105
- ma as isEnterprisePlan,
1106
- ua as isEssentialPlan,
1107
- Te as isFreePlan,
1108
- fa as isPaidPlan,
1109
- da as isProPlan,
1110
- la as isStartPlan,
1114
+ we as getUserToken,
1115
+ Tr as getUserTokenKey,
1116
+ ga as isEnterpriseOpenSourcePlan,
1117
+ _a as isEnterprisePlan,
1118
+ ma as isEssentialPlan,
1119
+ Ee as isFreePlan,
1120
+ ba as isPaidPlan,
1121
+ fa as isProPlan,
1122
+ da as isStartPlan,
1111
1123
  yt as isTrialPlan,
1112
- Na as listProjectLanguagesKey,
1113
- Qr as listProjects,
1114
- ka as listProjectsKey,
1115
- ga as makeUrlClickable,
1124
+ ka as listProjectLanguagesKey,
1125
+ Vr as listProjects,
1126
+ La as listProjectsKey,
1127
+ pa as makeUrlClickable,
1116
1128
  Q as parseJwtTokenPayload,
1117
- ja as publicApiHeadersMiddleware,
1118
- Rr as retrieveContributor,
1119
- kr as retrieveContributorKeys,
1120
- Yr as retrieveProject,
1121
- La as retrieveProjectQueryKey,
1122
- Ea as useAuthenticatedProjectContributor,
1129
+ Ca as publicApiHeadersMiddleware,
1130
+ Ar as retrieveContributor,
1131
+ Nr as retrieveContributorKeys,
1132
+ Zr as retrieveProject,
1133
+ Ua as retrieveProjectQueryKey,
1134
+ Aa as updateProject,
1135
+ Pa as useAuthenticatedProjectContributor,
1123
1136
  It as useAuthenticatedSessionPayload,
1124
- wa as useAuthenticatedUser,
1125
- Ca as useCreateProjectMutation,
1126
- va as useEffectOnce,
1127
- Sa as useGetPromotedClassicSessionJwtQuery,
1128
- jr as useGetTeamUsersQuery,
1129
- Tr as useGetUserTokenQuery,
1130
- Ra as useListProjectLanguagesQuery,
1131
- Aa as useListProjectsQuery,
1132
- Ar as useRetrieveContributorQuery,
1133
- Oa as useRetrieveProjectQuery
1137
+ Ia as useAuthenticatedUser,
1138
+ Na as useCreateProjectMutation,
1139
+ ya as useEffectOnce,
1140
+ wa as useGetPromotedClassicSessionJwtQuery,
1141
+ Pr as useGetTeamUsersQuery,
1142
+ vr as useGetUserTokenQuery,
1143
+ Oa as useListProjectLanguagesQuery,
1144
+ Ma as useListProjectsQuery,
1145
+ kr as useRetrieveContributorQuery,
1146
+ qa as useRetrieveProjectQuery
1134
1147
  };