@fluid-app/fluid-cli-theme-dev 0.1.172 → 0.1.173

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/dist/dist-cli-preview/.vite/manifest.json +583 -181
  2. package/dist/dist-cli-preview/account-screens.css +1 -0
  3. package/dist/dist-cli-preview/account-screens.js +1 -1
  4. package/dist/dist-cli-preview/chunks/{Breadcrumb-BQKo8hPc.js → Breadcrumb-8-7shsB6.js} +1 -1
  5. package/dist/dist-cli-preview/chunks/Combobox-m3vSk0_A.js +521 -0
  6. package/dist/dist-cli-preview/chunks/{ContactsScreen-IsIZ_lQ0.js → ContactsScreen-CBjQOWmH.js} +1523 -1854
  7. package/dist/dist-cli-preview/chunks/MediaScreen-1akMnH12.js +17379 -0
  8. package/dist/dist-cli-preview/chunks/{MemberManagementProviders-DiQkiWzc.js → MemberManagementProviders-WSjb3a8B.js} +189 -199
  9. package/dist/dist-cli-preview/chunks/{MessagingScreen-B8ZxAE0L.js → MessagingScreen-By-jZq6v.js} +27645 -30195
  10. package/dist/dist-cli-preview/chunks/{MobileActionSheet-DMeTsLlK.js → MobileActionSheet-ERpw3qUF.js} +644 -589
  11. package/dist/dist-cli-preview/chunks/MySiteScreen-JAGvVMx-.js +1706 -0
  12. package/dist/dist-cli-preview/chunks/OrdersScreen-B1HQVMZC.js +9 -0
  13. package/dist/dist-cli-preview/chunks/{OrdersScreen-DrZ3SwEu.js → OrdersScreen-Cb32bBjd.js} +35 -35
  14. package/dist/dist-cli-preview/chunks/PortalTenantClientProvider-CguU_uRG.js +15 -0
  15. package/dist/dist-cli-preview/chunks/{ProfileScreen-Dxspc-6p.js → ProfileScreen-CCWM6TBs.js} +454 -463
  16. package/dist/dist-cli-preview/chunks/Select-5fzq5MB-.js +940 -0
  17. package/dist/dist-cli-preview/chunks/{SubscriptionsScreen-Be0C29uw.js → SubscriptionsScreen-DLdsaVJK.js} +3 -3
  18. package/dist/dist-cli-preview/chunks/Textarea-xoKqLVgY.js +330 -0
  19. package/dist/dist-cli-preview/chunks/{account-screen-runtime-DYMunv0A.js → account-screen-runtime-CCBl8DXt.js} +866 -860
  20. package/dist/dist-cli-preview/chunks/ar-D6LJV1_E.js +679 -0
  21. package/dist/dist-cli-preview/chunks/{arrow-left-Bd7dJtIV.js → arrow-left-CTYaRdTX.js} +1 -1
  22. package/dist/dist-cli-preview/chunks/bg-C5Ldmily.js +679 -0
  23. package/dist/dist-cli-preview/chunks/bn-kfMPWNR6.js +679 -0
  24. package/dist/dist-cli-preview/chunks/{cli-preview-C7Db08Ij.js → cli-preview-HAt0Lt-9.js} +20 -13
  25. package/dist/dist-cli-preview/chunks/{client.gen-Ck6Pm2jV.js → client.gen-B7RMYGYu.js} +1 -1
  26. package/dist/dist-cli-preview/chunks/copy-DHN1DxE_.js +14 -0
  27. package/dist/dist-cli-preview/chunks/{countries-api-adapter-InKUzF1q.js → countries-api-adapter-B4TefdRP.js} +2 -2
  28. package/dist/dist-cli-preview/chunks/{create-card-entry-container-C9z7JILL.js → create-card-entry-container-5NqOQ4D_.js} +3612 -3932
  29. package/dist/dist-cli-preview/chunks/cs-DqEgtV8D.js +679 -0
  30. package/dist/dist-cli-preview/chunks/da-BbuvL7Gx.js +679 -0
  31. package/dist/dist-cli-preview/chunks/de-BfJ7rQig.js +679 -0
  32. package/dist/dist-cli-preview/chunks/el-BO0rLq6D.js +679 -0
  33. package/dist/dist-cli-preview/chunks/es-BEVtEUXk.js +679 -0
  34. package/dist/dist-cli-preview/chunks/eye-qMoMW7-Z.js +20 -0
  35. package/dist/dist-cli-preview/chunks/fi-DjISV3UN.js +679 -0
  36. package/dist/dist-cli-preview/chunks/fr-1fFd-aKy.js +679 -0
  37. package/dist/dist-cli-preview/chunks/he-CaT9bwVp.js +679 -0
  38. package/dist/dist-cli-preview/chunks/{hey-api-client-DGRBsZ7Y.js → hey-api-client-JMNyZwcF.js} +79 -39
  39. package/dist/dist-cli-preview/chunks/hi-DkzEm57l.js +679 -0
  40. package/dist/dist-cli-preview/chunks/hr-DqM5N_bj.js +679 -0
  41. package/dist/dist-cli-preview/chunks/hu-DiLqjo5c.js +679 -0
  42. package/dist/dist-cli-preview/chunks/id-DA1KmwgX.js +679 -0
  43. package/dist/dist-cli-preview/chunks/index-BS4PnEcu.js +353 -0
  44. package/dist/dist-cli-preview/chunks/index-BhMjUmAr.js +2572 -0
  45. package/dist/dist-cli-preview/chunks/{screen-route-slug-utils-BDjSpDoe.js → index-Dor8vM2o.js} +2417 -3035
  46. package/dist/dist-cli-preview/chunks/it-CTEVWCRz.js +679 -0
  47. package/dist/dist-cli-preview/chunks/ja-fxqg1hhg.js +679 -0
  48. package/dist/dist-cli-preview/chunks/ko-Btp1_5YS.js +679 -0
  49. package/dist/dist-cli-preview/chunks/lock-DQTMeEw0.js +14 -0
  50. package/dist/dist-cli-preview/chunks/{log-out-CSPZjXTK.js → log-out-DUdRJX4l.js} +1 -1
  51. package/dist/dist-cli-preview/chunks/{map-pin-B2ScoijR.js → map-pin-DyIkpqP0.js} +1 -1
  52. package/dist/dist-cli-preview/chunks/media-vkLeBb90.js +4 -0
  53. package/dist/dist-cli-preview/chunks/member-permissions-ndhNmlOk.js +19 -0
  54. package/dist/dist-cli-preview/chunks/{mount-account-screen-5thBUz3X.js → mount-account-screen--gdc5WO_.js} +1869 -1884
  55. package/dist/dist-cli-preview/chunks/ms-DqRbmHx8.js +679 -0
  56. package/dist/dist-cli-preview/chunks/navigate-account-screen-AVNopuIP.js +38 -0
  57. package/dist/dist-cli-preview/chunks/nl-CkPNddxO.js +679 -0
  58. package/dist/dist-cli-preview/chunks/no-ftcy0RcQ.js +679 -0
  59. package/dist/dist-cli-preview/chunks/pl-wyJLqfip.js +679 -0
  60. package/dist/dist-cli-preview/chunks/{plus-CocoE5gC.js → plus-DZjrp536.js} +1 -1
  61. package/dist/dist-cli-preview/chunks/pt-7uHLacuI.js +679 -0
  62. package/dist/dist-cli-preview/chunks/ro-Dh12ghww.js +679 -0
  63. package/dist/dist-cli-preview/chunks/ru-DFM7xWFz.js +679 -0
  64. package/dist/dist-cli-preview/chunks/{schemas-D94nZk5x.js → schemas-BTblatUV.js} +1107 -1062
  65. package/dist/dist-cli-preview/chunks/screen-route-slug-utils-DozJp-uc.js +620 -0
  66. package/dist/dist-cli-preview/chunks/{sheet-haptics-context-iOjKcNDj.js → sheet-haptics-context-CYrEaGtf.js} +3 -3
  67. package/dist/dist-cli-preview/chunks/sidebar-9qopXeR1.js +598 -0
  68. package/dist/dist-cli-preview/chunks/sk-CsuNYa1k.js +679 -0
  69. package/dist/dist-cli-preview/chunks/sortable.esm-Dlen88Fc.js +3283 -0
  70. package/dist/dist-cli-preview/chunks/{store-api-context-B96Ip2FB.js → store-api-context-B9pW_xao.js} +1 -1
  71. package/dist/dist-cli-preview/chunks/sv-DVrPaJbh.js +679 -0
  72. package/dist/dist-cli-preview/chunks/th-BEkMpcVW.js +679 -0
  73. package/dist/dist-cli-preview/chunks/tl-CqwwplQC.js +679 -0
  74. package/dist/dist-cli-preview/chunks/tr-XEp4ekrM.js +679 -0
  75. package/dist/dist-cli-preview/chunks/{trash-2-wVweQZMw.js → trash-2-ClRyi9iY.js} +12 -12
  76. package/dist/dist-cli-preview/chunks/uk-DWdZFWBl.js +679 -0
  77. package/dist/dist-cli-preview/chunks/use-mobile-srOt50VV.js +254 -0
  78. package/dist/dist-cli-preview/chunks/{use-optional-store-lZUz976C.js → use-optional-store-BgrOjfZJ.js} +2 -2
  79. package/dist/dist-cli-preview/chunks/{use-store-DVmgsDXy.js → use-store-CUSQx1E-.js} +25 -36
  80. package/dist/dist-cli-preview/chunks/{useInfiniteQuery-Dtzov9uh.js → useInfiniteQuery-DGc8fotv.js} +1 -1
  81. package/dist/dist-cli-preview/chunks/user-Ca2sKJ-h.js +14 -0
  82. package/dist/dist-cli-preview/chunks/users-Dh7zTrKY.js +16 -0
  83. package/dist/dist-cli-preview/chunks/vi-H__PaPsC.js +679 -0
  84. package/dist/dist-cli-preview/chunks/zh_CN-B62j_w_1.js +679 -0
  85. package/dist/dist-cli-preview/chunks/zh_TW-CYUIGBvP.js +679 -0
  86. package/package.json +1 -1
  87. package/dist/dist-cli-preview/chunks/Combobox-cf11L_T-.js +0 -1455
  88. package/dist/dist-cli-preview/chunks/MySiteScreen-Dtw1rsF9.js +0 -4950
  89. package/dist/dist-cli-preview/chunks/OrdersScreen-DkltVCtr.js +0 -9
  90. package/dist/dist-cli-preview/chunks/sidebar-Ckzom4Xc.js +0 -848
  91. package/dist/dist-cli-preview/chunks/user-B81IrSgp.js +0 -31
  92. package/dist/dist-cli-preview/chunks/users-BXTjoCUz.js +0 -27
@@ -1,15 +1,16 @@
1
- import { c as M, l as o, j as c, av as H, aw as S, X as W, aE as V, z as G } from "./account-screen-runtime-DYMunv0A.js";
2
- import { l as K, c as X, a as Z, C as J } from "./countries-api-adapter-InKUzF1q.js";
3
- import { c as Q, a as w } from "./client.gen-Ck6Pm2jV.js";
4
- import { q as ee, r as te, c as ae } from "./hey-api-client-DGRBsZ7Y.js";
5
- import { b as ne, c as re, a as ie, u as se } from "./sheet-haptics-context-iOjKcNDj.js";
1
+ import { c as M, l, j as c, W as Y, aG as S, a8 as H, a9 as W, z as V } from "./account-screen-runtime-CCBl8DXt.js";
2
+ import { l as G, c as K, a as Z, C as X } from "./countries-api-adapter-B4TefdRP.js";
3
+ import { c as J, a as Q } from "./client.gen-B7RMYGYu.js";
4
+ import { z as w, A as ee, c as te } from "./hey-api-client-JMNyZwcF.js";
5
+ import { u as ae, P as ne } from "./PortalTenantClientProvider-CguU_uRG.js";
6
+ import { b as re, a as ie, c as se, u as oe } from "./sheet-haptics-context-CYrEaGtf.js";
6
7
  /**
7
8
  * @license lucide-react v0.575.0 - ISC
8
9
  *
9
10
  * This source code is licensed under the ISC license.
10
11
  * See the LICENSE file in the root directory of this source tree.
11
12
  */
12
- const oe = [
13
+ const le = [
13
14
  ["line", { x1: "2", x2: "22", y1: "2", y2: "22", key: "a6p6uj" }],
14
15
  ["path", { d: "M10.41 10.41a2 2 0 1 1-2.83-2.83", key: "1bzlo9" }],
15
16
  ["line", { x1: "13.5", x2: "6", y1: "13.5", y2: "21", key: "1q0aeu" }],
@@ -22,50 +23,40 @@ const oe = [
22
23
  }
23
24
  ],
24
25
  ["path", { d: "M21 15V5a2 2 0 0 0-2-2H9", key: "43el77" }]
25
- ], xt = M("image-off", oe);
26
+ ], At = M("image-off", le);
26
27
  /**
27
28
  * @license lucide-react v0.575.0 - ISC
28
29
  *
29
30
  * This source code is licensed under the ISC license.
30
31
  * See the LICENSE file in the root directory of this source tree.
31
32
  */
32
- const le = [
33
+ const de = [
33
34
  ["path", { d: "m17 2 4 4-4 4", key: "nntrym" }],
34
35
  ["path", { d: "M3 11v-1a4 4 0 0 1 4-4h14", key: "84bu3i" }],
35
36
  ["path", { d: "m7 22-4-4 4-4", key: "1wqhfi" }],
36
37
  ["path", { d: "M21 13v1a4 4 0 0 1-4 4H3", key: "1rx37r" }]
37
- ], Ct = M("repeat", le), N = o.createContext(null), de = o.createContext(null), ue = N.Provider;
38
- de.Provider;
39
- function ce() {
40
- const e = o.use(N);
41
- if (!e)
42
- throw new Error(
43
- "usePortalTenantClient must be used within a PortalTenantClientProvider"
44
- );
45
- return e;
46
- }
47
- const { Provider: pe, useTranslation: _e } = ne("Profile"), me = pe, St = _e, B = "https://assets.fluid.app/images/payment_icons", g = `${B}/generic.svg`, ye = /* @__PURE__ */ new Set([
38
+ ], xt = M("repeat", de), { Provider: ue, useTranslation: ce } = re("Profile"), pe = ue, Ct = ce, N = "https://assets.fluid.app/images/payment_icons", g = `${N}/generic.svg`, _e = /* @__PURE__ */ new Set([
48
39
  "visa",
49
40
  "mastercard",
50
41
  "amex",
51
42
  "discover",
52
43
  "jcb",
53
44
  "maestro"
54
- ]), fe = /* @__PURE__ */ new Set([
45
+ ]), me = /* @__PURE__ */ new Set([
55
46
  "apple_pay",
56
47
  "google_pay",
57
48
  "samsung_pay"
58
- ]), he = /* @__PURE__ */ new Set([
49
+ ]), ye = /* @__PURE__ */ new Set([
59
50
  "apple_pay",
60
51
  "google_pay"
61
- ]), ge = {
52
+ ]), fe = {
62
53
  visa: "Visa",
63
54
  mastercard: "Mastercard",
64
55
  amex: "American Express",
65
56
  discover: "Discover",
66
57
  jcb: "JCB",
67
58
  maestro: "Maestro"
68
- }, be = {
59
+ }, he = {
69
60
  apple_pay: "Apple Pay",
70
61
  google_pay: "Google Pay",
71
62
  samsung_pay: "Samsung Pay"
@@ -93,7 +84,7 @@ const { Provider: pe, useTranslation: _e } = ne("Profile"), me = pe, St = _e, B
93
84
  grabpay: "GrabPay",
94
85
  maya: "Maya",
95
86
  upi: "UPI"
96
- }, ke = {
87
+ }, ge = {
97
88
  visa: "visa",
98
89
  mastercard: "mastercard",
99
90
  master: "mastercard",
@@ -141,7 +132,7 @@ const { Provider: pe, useTranslation: _e } = ne("Profile"), me = pe, St = _e, B
141
132
  paymaya: "maya",
142
133
  upi: "upi",
143
134
  "upi india": "upi"
144
- }, ve = {
135
+ }, be = {
145
136
  visa: "visa",
146
137
  mastercard: "master",
147
138
  amex: "american_express",
@@ -178,52 +169,52 @@ const { Provider: pe, useTranslation: _e } = ne("Profile"), me = pe, St = _e, B
178
169
  upi: "upi"
179
170
  };
180
171
  function p(e) {
181
- const t = U(e);
182
- return t ? ke[t] ?? null : null;
172
+ const t = B(e);
173
+ return t ? ge[t] ?? null : null;
183
174
  }
184
- function Pe(e) {
175
+ function ke(e) {
185
176
  const t = p(e);
186
- return t ? `${B}/${ve[t]}.svg` : g;
177
+ return t ? `${N}/${be[t]}.svg` : g;
187
178
  }
188
179
  function y(e) {
189
180
  const t = p(e);
190
181
  if (!t) return null;
191
- const a = xe(t);
192
- if (a) return ge[a];
193
- const n = Ce(t);
194
- if (n) return be[n];
182
+ const a = Pe(t);
183
+ if (a) return fe[a];
184
+ const n = Ae(t);
185
+ if (n) return he[n];
195
186
  const r = A(t);
196
187
  return r ? P[r] : null;
197
188
  }
198
- function Ae(e) {
189
+ function ve(e) {
199
190
  const t = A(e);
200
191
  return t ? P[t] : null;
201
192
  }
202
- function xe(e) {
193
+ function Pe(e) {
203
194
  const t = p(e);
204
- return t != null && ye.has(t) ? t : null;
195
+ return t != null && _e.has(t) ? t : null;
205
196
  }
206
- function Ce(e) {
197
+ function Ae(e) {
207
198
  const t = p(e);
208
- return t != null && fe.has(t) ? t : null;
199
+ return t != null && me.has(t) ? t : null;
209
200
  }
210
- function Se(e) {
201
+ function xe(e) {
211
202
  const t = p(e);
212
- return t != null && he.has(t) ? t : null;
203
+ return t != null && ye.has(t) ? t : null;
213
204
  }
214
205
  function A(e) {
215
206
  const t = p(e);
216
207
  return t != null && t in P ? t : null;
217
208
  }
218
- function Ee(e) {
219
- const t = U(e)?.replace(/\s+/g, "_");
209
+ function Ce(e) {
210
+ const t = B(e)?.replace(/\s+/g, "_");
220
211
  return t === "card" || t === "credit_card";
221
212
  }
222
- function U(e) {
213
+ function B(e) {
223
214
  const t = e?.trim().toLowerCase().replace(/[_-]+/g, " ").replace(/\s+/g, " ");
224
215
  return t || null;
225
216
  }
226
- const Le = {
217
+ const Se = {
227
218
  paypal: "email",
228
219
  venmo: "handle",
229
220
  upi: "handle",
@@ -247,7 +238,7 @@ const Le = {
247
238
  gcash: "none",
248
239
  grabpay: "none",
249
240
  maya: "none"
250
- }, x = "Payment method", E = "•", qe = {
241
+ }, x = "Payment method", E = "•", Ee = {
251
242
  card: "Credit Card",
252
243
  credit_card: "Credit Card",
253
244
  paypal: "PayPal",
@@ -267,48 +258,48 @@ const Le = {
267
258
  dlocal: "dLocal",
268
259
  droplet: "Droplet"
269
260
  };
270
- function j(e) {
261
+ function U(e) {
271
262
  return e?.replace(/([a-z])([A-Z])/g, "$1 $2").trim().toLowerCase().replace(/[_-]+/g, " ").replace(/\s+/g, " ") || null;
272
263
  }
273
- function Et(e) {
274
- const t = j(e);
264
+ function St(e) {
265
+ const t = U(e);
275
266
  return t === "card" || t === "credit card";
276
267
  }
277
- function Lt(...e) {
268
+ function Et(...e) {
278
269
  for (const t of e) {
279
- const a = j(t);
270
+ const a = U(t);
280
271
  if (!a) continue;
281
272
  const n = a.replace(/\s+/g, "_");
282
- return qe[n] ?? t?.trim() ?? null;
273
+ return Ee[n] ?? t?.trim() ?? null;
283
274
  }
284
275
  return null;
285
276
  }
286
- function Te(e, t) {
277
+ function Le(e, t) {
287
278
  const a = u(e) ?? "••••";
288
279
  return p(t) === "amex" ? `•••• •••••• •${a}` : `•••• •••• •••• ${a}`;
289
280
  }
290
- function De(e, t) {
291
- const a = u(t), n = Te(e, a);
292
- return a && p(a) == null && !Ee(a) ? `${a} ${n}` : n;
281
+ function qe(e, t) {
282
+ const a = u(t), n = Le(e, a);
283
+ return a && p(a) == null && !Ce(a) ? `${a} ${n}` : n;
293
284
  }
294
- function qt(e) {
285
+ function Lt(e) {
295
286
  const t = u(e);
296
287
  if (!t) return null;
297
288
  const a = [];
298
289
  let n = !1;
299
290
  const r = t.split(/\s+/);
300
- for (const [i, l] of r.entries()) {
301
- if (!/^[•\d]+$/.test(l)) return null;
291
+ for (const [i, o] of r.entries()) {
292
+ if (!/^[•\d]+$/.test(o)) return null;
302
293
  i > 0 && a.push({ kind: "gap" });
303
294
  let d = 0;
304
- for (; l[d] === E; ) d += 1;
305
- const _ = l.slice(d);
295
+ for (; o[d] === E; ) d += 1;
296
+ const _ = o.slice(d);
306
297
  if (_.includes(E)) return null;
307
298
  d > 0 && (n = !0, a.push({ kind: "dots", count: d })), _ && a.push({ kind: "text", value: _ });
308
299
  }
309
300
  return n ? a : null;
310
301
  }
311
- function Me(e) {
302
+ function Te(e) {
312
303
  const t = u(e);
313
304
  if (!t) return null;
314
305
  const a = t.indexOf("@");
@@ -318,23 +309,23 @@ function Me(e) {
318
309
  const i = "•".repeat(Math.min(n.length - 2, 6));
319
310
  return `${n[0]}${i}${n[n.length - 1]}${r}`;
320
311
  }
321
- function Ne(e) {
312
+ function De(e) {
322
313
  const t = A(
323
314
  e.brand ?? e.fallbackLabel
324
315
  );
325
- switch (t != null ? Le[t] : "none") {
316
+ switch (t != null ? Se[t] : "none") {
326
317
  case "email":
327
- return Me(e.emailAddress);
318
+ return Te(e.emailAddress);
328
319
  case "handle":
329
320
  return u(e.accountHandle);
330
321
  case "bank":
331
- return je(e);
322
+ return Be(e);
332
323
  case "none":
333
324
  return null;
334
325
  }
335
326
  }
336
- function Be(e) {
337
- return Ne(e) ?? Ae(e.brand ?? e.fallbackLabel) ?? y(e.brand ?? e.fallbackLabel) ?? u(e.fallbackLabel) ?? x;
327
+ function Me(e) {
328
+ return De(e) ?? ve(e.brand ?? e.fallbackLabel) ?? y(e.brand ?? e.fallbackLabel) ?? u(e.fallbackLabel) ?? x;
338
329
  }
339
330
  function L({
340
331
  brand: e,
@@ -343,36 +334,36 @@ function L({
343
334
  }) {
344
335
  const n = p(e), i = u(t) ?? g;
345
336
  return {
346
- primaryUrl: n ? Pe(n) : i,
337
+ primaryUrl: n ? ke(n) : i,
347
338
  fallbackUrl: n ? i : g,
348
339
  alt: u(a) ?? y(e) ?? u(e) ?? x,
349
340
  brand: n
350
341
  };
351
342
  }
352
- function Ue(e) {
353
- const t = Se(e);
343
+ function Ne(e) {
344
+ const t = xe(e);
354
345
  return t ? {
355
346
  brand: t,
356
347
  label: y(t) ?? x
357
348
  } : null;
358
349
  }
359
- function Tt(e) {
350
+ function qt(e) {
360
351
  if (e.kind === "card") {
361
- const r = De(e.last4, e.brand), i = L({
352
+ const r = qe(e.last4, e.brand), i = L({
362
353
  brand: e.brand,
363
354
  logoUrl: e.logoUrl,
364
355
  alt: y(e.brand) ?? "Card"
365
- }), l = Ue(e.walletBrand);
356
+ }), o = Ne(e.walletBrand);
366
357
  return {
367
358
  kind: "card",
368
359
  label: r,
369
360
  logo: i,
370
361
  brand: i.brand,
371
- walletBadge: l,
362
+ walletBadge: o,
372
363
  accessibilityLabel: q(i.alt, r)
373
364
  };
374
365
  }
375
- const t = e.brand ?? e.fallbackLabel, a = Be(e), n = L({
366
+ const t = e.brand ?? e.fallbackLabel, a = Me(e), n = L({
376
367
  brand: t,
377
368
  logoUrl: e.logoUrl,
378
369
  alt: y(t) ?? e.fallbackLabel
@@ -386,7 +377,7 @@ function Tt(e) {
386
377
  accessibilityLabel: q(n.alt, a)
387
378
  };
388
379
  }
389
- function je(e) {
380
+ function Be(e) {
390
381
  const t = u(e.bankName), a = u(e.accountLast4), n = a ? `••${a}` : null;
391
382
  return t && n ? `${t} ${n}` : t ?? n;
392
383
  }
@@ -397,27 +388,27 @@ function u(e) {
397
388
  const t = e?.trim();
398
389
  return t || null;
399
390
  }
400
- const O = o.createContext(null), Oe = O.Provider;
401
- function Dt() {
402
- const e = o.use(O);
391
+ const O = l.createContext(null), Ue = O.Provider;
392
+ function Tt() {
393
+ const e = l.use(O);
403
394
  if (!e)
404
395
  throw new Error("usePayApi must be used within a PayApiProvider");
405
396
  return e;
406
397
  }
407
- const R = o.createContext(null), Re = R.Provider;
408
- function Mt() {
409
- const e = o.use(R);
398
+ const j = l.createContext(null), Oe = j.Provider;
399
+ function Dt() {
400
+ const e = l.use(j);
410
401
  if (!e)
411
402
  throw new Error(
412
403
  "useLanguagesApi must be used within a LanguagesApiProvider"
413
404
  );
414
405
  return e;
415
406
  }
416
- function $e(e) {
407
+ function je(e) {
417
408
  return e instanceof DOMException && e.name === "AbortError" || e instanceof Error && e.name === "AbortError";
418
409
  }
419
- function ze(e) {
420
- const t = Q({
410
+ function Re(e) {
411
+ const t = J({
421
412
  baseUrl: e.baseUrl,
422
413
  cache: e.cache,
423
414
  credentials: e.credentials,
@@ -434,21 +425,21 @@ function ze(e) {
434
425
  n.headers.set(r, i);
435
426
  return n;
436
427
  }), t.interceptors.error.use(
437
- w({
428
+ Q({
438
429
  onResponseError: (n) => {
439
430
  n.status === 401 && e.onAuthError?.();
440
431
  },
441
- shouldPassThroughTransportError: $e
432
+ shouldPassThroughTransportError: je
442
433
  })
443
434
  ), t;
444
435
  }
445
- function Fe(e) {
436
+ function ze(e) {
446
437
  return {
447
438
  code: e.code ?? "",
448
439
  name: e.name ?? ""
449
440
  };
450
441
  }
451
- function Ie(e) {
442
+ function $e(e) {
452
443
  return {
453
444
  request_id: e?.request_id ?? null,
454
445
  timestamp: e?.timestamp ?? "",
@@ -460,10 +451,10 @@ function Ie(e) {
460
451
  } : void 0
461
452
  };
462
453
  }
463
- function Ye(e) {
454
+ function Fe(e) {
464
455
  return {
465
456
  listLanguages: async (t) => {
466
- const a = await K({
457
+ const a = await G({
467
458
  client: e,
468
459
  query: {
469
460
  "page[cursor]": t?.cursor,
@@ -471,8 +462,8 @@ function Ye(e) {
471
462
  }
472
463
  });
473
464
  return {
474
- languages: (a.languages ?? []).map(Fe),
475
- meta: Ie(a.meta)
465
+ languages: (a.languages ?? []).map(ze),
466
+ meta: $e(a.meta)
476
467
  };
477
468
  }
478
469
  };
@@ -481,7 +472,7 @@ const b = (e) => e.client.get({
481
472
  responseStyle: "data",
482
473
  url: "/api/pay/addresses",
483
474
  ...e
484
- }), He = (e) => e.client.post({
475
+ }), Ie = (e) => e.client.post({
485
476
  responseStyle: "data",
486
477
  url: "/api/pay/addresses",
487
478
  ...e,
@@ -489,11 +480,11 @@ const b = (e) => e.client.get({
489
480
  "Content-Type": "application/json",
490
481
  ...e.headers
491
482
  }
492
- }), We = (e) => e.client.delete({
483
+ }), Ye = (e) => e.client.delete({
493
484
  responseStyle: "data",
494
485
  url: "/api/pay/addresses/{id}",
495
486
  ...e
496
- }), Ve = (e) => e.client.patch({
487
+ }), He = (e) => e.client.patch({
497
488
  responseStyle: "data",
498
489
  url: "/api/pay/addresses/{id}",
499
490
  ...e,
@@ -505,7 +496,7 @@ const b = (e) => e.client.get({
505
496
  responseStyle: "data",
506
497
  url: "/api/pay/payment_methods",
507
498
  ...e
508
- }), Ge = (e) => e.client.post({
499
+ }), We = (e) => e.client.post({
509
500
  responseStyle: "data",
510
501
  url: "/api/pay/payment_methods",
511
502
  ...e,
@@ -513,7 +504,7 @@ const b = (e) => e.client.get({
513
504
  "Content-Type": "application/json",
514
505
  ...e.headers
515
506
  }
516
- }), Ke = (e) => e.client.post({
507
+ }), Ve = (e) => e.client.post({
517
508
  responseStyle: "data",
518
509
  url: "/api/pay/payment_methods/three_ds_confirm",
519
510
  ...e,
@@ -521,7 +512,7 @@ const b = (e) => e.client.get({
521
512
  "Content-Type": "application/json",
522
513
  ...e.headers
523
514
  }
524
- }), Xe = (e) => e.client.post({
515
+ }), Ge = (e) => e.client.post({
525
516
  responseStyle: "data",
526
517
  url: "/api/pay/payment_methods/three_ds_status",
527
518
  ...e,
@@ -529,7 +520,7 @@ const b = (e) => e.client.get({
529
520
  "Content-Type": "application/json",
530
521
  ...e.headers
531
522
  }
532
- }), Ze = (e) => e.client.post({
523
+ }), Ke = (e) => e.client.post({
533
524
  responseStyle: "data",
534
525
  url: "/api/pay/payment_methods/three_ds_cancel",
535
526
  ...e,
@@ -537,11 +528,11 @@ const b = (e) => e.client.get({
537
528
  "Content-Type": "application/json",
538
529
  ...e.headers
539
530
  }
540
- }), Je = (e) => e.client.delete({
531
+ }), Ze = (e) => e.client.delete({
541
532
  responseStyle: "data",
542
533
  url: "/api/pay/payment_methods/{id}",
543
534
  ...e
544
- }), Qe = (e) => e.client.patch({
535
+ }), Xe = (e) => e.client.patch({
545
536
  responseStyle: "data",
546
537
  url: "/api/pay/payment_methods/{id}",
547
538
  ...e,
@@ -549,7 +540,7 @@ const b = (e) => e.client.get({
549
540
  "Content-Type": "application/json",
550
541
  ...e.headers
551
542
  }
552
- }), we = (e) => e.client.get({
543
+ }), Je = (e) => e.client.get({
553
544
  responseStyle: "data",
554
545
  url: "/api/pay/payment_methods/vault",
555
546
  ...e
@@ -574,7 +565,7 @@ function T(e) {
574
565
  updated_at: e.updated_at ?? null
575
566
  };
576
567
  }
577
- function et(e) {
568
+ function Qe(e) {
578
569
  const t = e;
579
570
  return {
580
571
  id: t.id ?? 0,
@@ -601,12 +592,12 @@ function h(e) {
601
592
  exp_year: e.exp_year ?? null,
602
593
  card_holder: e.card_holder ?? null,
603
594
  default: e.default ?? !1,
604
- billing_address: e.billing_address ? et(e.billing_address) : null,
595
+ billing_address: e.billing_address ? Qe(e.billing_address) : null,
605
596
  created_at: e.created_at ?? null,
606
597
  updated_at: e.updated_at ?? null
607
598
  };
608
599
  }
609
- function tt(e) {
600
+ function we(e) {
610
601
  return {
611
602
  fetchAddresses: async () => {
612
603
  const t = await b({ client: e });
@@ -619,16 +610,16 @@ function tt(e) {
619
610
  };
620
611
  },
621
612
  createAddress: async (t) => {
622
- const a = await He({ client: e, body: t });
613
+ const a = await Ie({ client: e, body: t });
623
614
  if (!a.address)
624
615
  throw new Error("addresses_create returned no address");
625
616
  return T(a.address);
626
617
  },
627
618
  updateAddress: async (t, a) => {
628
- await Ve({ client: e, path: { id: t }, body: a });
619
+ await He({ client: e, path: { id: t }, body: a });
629
620
  },
630
621
  deleteAddress: async (t) => {
631
- await We({ client: e, path: { id: t } });
622
+ await Ye({ client: e, path: { id: t } });
632
623
  },
633
624
  fetchPaymentMethods: async () => {
634
625
  const t = await k({ client: e });
@@ -641,7 +632,7 @@ function tt(e) {
641
632
  };
642
633
  },
643
634
  createPaymentMethod: async (t) => {
644
- const a = await Ge({ client: e, body: t });
635
+ const a = await We({ client: e, body: t });
645
636
  if ("three_ds" in a) {
646
637
  if (!a.three_ds.session_token)
647
638
  throw new Error("three_ds_required without a session_token");
@@ -670,7 +661,7 @@ function tt(e) {
670
661
  };
671
662
  },
672
663
  confirmPaymentMethod3DS: async ({ session_token: t }) => {
673
- const a = await Ke({
664
+ const a = await Ve({
674
665
  client: e,
675
666
  body: { session_token: t }
676
667
  });
@@ -694,7 +685,7 @@ function tt(e) {
694
685
  };
695
686
  },
696
687
  fetchPaymentMethod3DSStatus: async ({ session_token: t }) => {
697
- const a = await Xe({
688
+ const a = await Ge({
698
689
  client: e,
699
690
  body: { session_token: t }
700
691
  });
@@ -706,7 +697,7 @@ function tt(e) {
706
697
  };
707
698
  },
708
699
  cancelPaymentMethod3DS: async ({ session_token: t }) => {
709
- const a = await Ze({
700
+ const a = await Ke({
710
701
  client: e,
711
702
  body: { session_token: t }
712
703
  });
@@ -717,20 +708,20 @@ function tt(e) {
717
708
  };
718
709
  },
719
710
  updatePaymentMethod: async (t, a) => {
720
- await Qe({
711
+ await Xe({
721
712
  client: e,
722
713
  path: { id: t },
723
714
  body: a
724
715
  });
725
716
  },
726
717
  deletePaymentMethod: async (t) => {
727
- await Je({
718
+ await Ze({
728
719
  client: e,
729
720
  path: { id: t }
730
721
  });
731
722
  },
732
723
  fetchVaultCredentials: async () => {
733
- const t = await we({ client: e });
724
+ const t = await Je({ client: e });
734
725
  return {
735
726
  vault: {
736
727
  vault_id: t.vault?.vault_id ?? "",
@@ -761,28 +752,28 @@ function tt(e) {
761
752
  }
762
753
  };
763
754
  }
764
- const $ = o.createContext(null), at = $.Provider;
765
- function Nt() {
766
- const e = o.use($);
755
+ const R = l.createContext(null), et = R.Provider;
756
+ function Mt() {
757
+ const e = l.use(R);
767
758
  if (!e)
768
759
  throw new Error("useOrdersApi must be used within an OrdersCoreProvider");
769
760
  return e;
770
761
  }
771
- function nt({
762
+ function tt({
772
763
  api: e,
773
764
  children: t
774
765
  }) {
775
- return /* @__PURE__ */ c.jsx(at, { value: e, children: t });
766
+ return /* @__PURE__ */ c.jsx(et, { value: e, children: t });
776
767
  }
777
768
  class z extends Error {
778
769
  constructor(t = "This API does not filter orders by status bucket") {
779
770
  super(t), this.name = "OrderStatusUnsupportedError";
780
771
  }
781
772
  }
782
- function Bt(e) {
773
+ function Nt(e) {
783
774
  return e instanceof z || e instanceof Error && e.name === "OrderStatusUnsupportedError";
784
775
  }
785
- function F(e) {
776
+ function $(e) {
786
777
  return (e ?? []).map(
787
778
  (t) => ({
788
779
  namespace: t.namespace,
@@ -799,7 +790,7 @@ function m(e, t) {
799
790
  );
800
791
  return e;
801
792
  }
802
- function I(e, t) {
793
+ function F(e, t) {
803
794
  return typeof e == "string" && e ? e : t;
804
795
  }
805
796
  function D(e) {
@@ -815,7 +806,7 @@ function D(e) {
815
806
  phone: e.phone ?? null
816
807
  } : null;
817
808
  }
818
- function rt(e) {
809
+ function at(e) {
819
810
  return e ? {
820
811
  id: e.id ?? 0,
821
812
  source: e.source ?? "",
@@ -826,13 +817,13 @@ function rt(e) {
826
817
  logo_url: e.logo_url ?? null
827
818
  } : null;
828
819
  }
829
- function it(e) {
820
+ function nt(e) {
830
821
  return e ? {
831
822
  id: e.id ?? null,
832
823
  title: e.title ?? ""
833
824
  } : null;
834
825
  }
835
- function st(e) {
826
+ function rt(e) {
836
827
  return Array.isArray(e) ? e.flatMap((t) => {
837
828
  if (typeof t != "object" || t === null) return [];
838
829
  const a = t;
@@ -846,19 +837,19 @@ function st(e) {
846
837
  ];
847
838
  }) : [];
848
839
  }
849
- function ot(e) {
850
- const t = m(e.subtotal, "subtotal"), a = m(e.discount, "discount"), n = m(e.shipping, "shipping"), r = m(e.tax, "tax"), i = m(e.total, "total"), l = e.order_number, d = e.totals, _ = d && typeof d == "object" ? d : void 0;
840
+ function it(e) {
841
+ const t = m(e.subtotal, "subtotal"), a = m(e.discount, "discount"), n = m(e.shipping, "shipping"), r = m(e.tax, "tax"), i = m(e.total, "total"), o = e.order_number, d = e.totals, _ = d && typeof d == "object" ? d : void 0;
851
842
  return {
852
843
  id: e.id ?? 0,
853
844
  token: e.token ?? "",
854
- order_number: typeof l == "string" && l.length > 0 ? l : null,
845
+ order_number: typeof o == "string" && o.length > 0 ? o : null,
855
846
  status: e.status ?? "pending",
856
847
  // `fulfillment_status` is exposed by the BFF OrderBlueprinter but the
857
848
  // generated client may not yet include it before `pnpm generate` runs.
858
849
  // Read defensively (same as `mapToListOrder`) and fall back to
859
850
  // `unfulfilled` so the status tag renders a real fulfillment state.
860
851
  fulfillment_status: typeof e.fulfillment_status == "string" ? e.fulfillment_status : "unfulfilled",
861
- financial_status: I(e.financial_status, "pending"),
852
+ financial_status: F(e.financial_status, "pending"),
862
853
  subtotal: t,
863
854
  subtotal_in_currency: e.subtotal_in_currency ?? t,
864
855
  // STU2-2580: the display-ready Commerce::Totals breakdown (gross catalog
@@ -894,19 +885,19 @@ function ot(e) {
894
885
  source_subscription: s.source_subscription?.subscription_token ? { subscription_token: s.source_subscription.subscription_token } : null
895
886
  };
896
887
  }),
897
- metafields: F(e.metafields),
888
+ metafields: $(e.metafields),
898
889
  customer_name: e.customer_name ?? null,
899
890
  customer_email: e.customer_email ?? null,
900
891
  shipping_address: D(e.shipping_address ?? null),
901
892
  billing_address: D(e.billing_address ?? null),
902
- payment_method: rt(e.payment_method),
903
- shipping_method: it(e.shipping_method),
893
+ payment_method: at(e.payment_method),
894
+ shipping_method: nt(e.shipping_method),
904
895
  subscription_order: e.subscription_order ?? !1,
905
896
  subscription_token: e.subscription_token ?? null,
906
897
  // Returned by the BFF but not in the OpenAPI spec yet (added
907
898
  // alongside this UI work). Defensive read so we don't crash on
908
899
  // older deployments that haven't shipped the blueprinter change.
909
- tracking_informations: st(
900
+ tracking_informations: rt(
910
901
  e.tracking_informations
911
902
  ),
912
903
  // These fields are returned by the BFF but not yet in the OpenAPI spec.
@@ -924,7 +915,7 @@ function ot(e) {
924
915
  updated_at: e.updated_at ?? ""
925
916
  };
926
917
  }
927
- function lt(e) {
918
+ function st(e) {
928
919
  const t = e.line_items?.[0], a = e.order_number, n = typeof a == "string" ? a : "";
929
920
  return {
930
921
  id: e.id ?? 0,
@@ -937,7 +928,7 @@ function lt(e) {
937
928
  status: e.status ?? "pending",
938
929
  order_status: e.status ?? "pending",
939
930
  fulfillment_status: (typeof e.fulfillment_status == "string" ? e.fulfillment_status : null) ?? "unfulfilled",
940
- financial_status: I(e.financial_status, "pending"),
931
+ financial_status: F(e.financial_status, "pending"),
941
932
  currency_code: e.currency ?? "",
942
933
  note: null,
943
934
  token: e.token ?? "",
@@ -955,7 +946,7 @@ function lt(e) {
955
946
  quantity_count: e.line_items?.reduce((r, i) => r + (i.quantity ?? 0), 0) ?? 0,
956
947
  order_on_behalf_of: !1,
957
948
  sale_date: e.sale_date ?? null,
958
- metafields: F(e.metafields),
949
+ metafields: $(e.metafields),
959
950
  customer: null,
960
951
  first_item: t ? {
961
952
  title: t.product_name ?? "",
@@ -971,14 +962,14 @@ function lt(e) {
971
962
  subscription: e.subscription_order && e.subscription_token ? { subscription_token: e.subscription_token, status: "active" } : e.subscription_order ? { subscription_token: "", status: "active" } : null
972
963
  };
973
964
  }
974
- function dt(e, t) {
975
- if (!t || !H(e) || e.status !== 422) return !1;
965
+ function ot(e, t) {
966
+ if (!t || !Y(e) || e.status !== 422) return !1;
976
967
  const a = S(e.body?.error), n = S(a?.details);
977
968
  return n !== null && "status" in n;
978
969
  }
979
- async function ut(e, t) {
970
+ async function lt(e, t) {
980
971
  try {
981
- return await te({
972
+ return await ee({
982
973
  client: e,
983
974
  query: {
984
975
  "page[cursor]": t.cursor,
@@ -988,13 +979,13 @@ async function ut(e, t) {
988
979
  }
989
980
  });
990
981
  } catch (a) {
991
- throw dt(a, t.status) ? new z() : a;
982
+ throw ot(a, t.status) ? new z() : a;
992
983
  }
993
984
  }
994
- function ct(e) {
985
+ function dt(e) {
995
986
  return {
996
987
  fetchOrderById: async (t) => {
997
- const a = await ee({
988
+ const a = await w({
998
989
  client: e,
999
990
  path: { token: String(t) }
1000
991
  });
@@ -1003,7 +994,7 @@ function ct(e) {
1003
994
  "BFF returned a successful response without order data"
1004
995
  );
1005
996
  return {
1006
- order: ot(a.order),
997
+ order: it(a.order),
1007
998
  meta: {
1008
999
  request_id: a.meta?.request_id ?? "",
1009
1000
  timestamp: a.meta?.timestamp ?? ""
@@ -1011,9 +1002,9 @@ function ct(e) {
1011
1002
  };
1012
1003
  },
1013
1004
  fetchCustomerOrders: async (t) => {
1014
- const a = await ut(e, t);
1005
+ const a = await lt(e, t);
1015
1006
  return {
1016
- orders: (a.orders ?? []).map(lt),
1007
+ orders: (a.orders ?? []).map(st),
1017
1008
  // Absent until the BFF reports them; the screen reads that as "this
1018
1009
  // API cannot filter by bucket yet" and keeps sifting its own page.
1019
1010
  counts: a.counts,
@@ -1031,13 +1022,13 @@ function ct(e) {
1031
1022
  }
1032
1023
  };
1033
1024
  }
1034
- function pt({
1025
+ function ut({
1035
1026
  children: e
1036
1027
  }) {
1037
- const t = ce(), a = o.useMemo(() => ct(t), [t]);
1038
- return /* @__PURE__ */ c.jsx(nt, { api: a, children: e });
1028
+ const t = ae(), a = l.useMemo(() => dt(t), [t]);
1029
+ return /* @__PURE__ */ c.jsx(tt, { api: a, children: e });
1039
1030
  }
1040
- const _t = {
1031
+ const ct = {
1041
1032
  profile_try_again: "Try again",
1042
1033
  profile_at_a_glance: "At a glance",
1043
1034
  profile_default_payment: "Default payment",
@@ -1248,8 +1239,8 @@ const _t = {
1248
1239
  changing_email_to: "Changing to",
1249
1240
  check_new_email_verification: "Check your new email inbox and click the verification link to complete the change.",
1250
1241
  unexpected_error: "An unexpected error occurred. Please try again."
1251
- }, mt = ie({
1252
- fallback: _t,
1242
+ }, pt = se({
1243
+ fallback: ct,
1253
1244
  loaders: {
1254
1245
  ar: () => import("./ar-DaN3xEy4.js").then(
1255
1246
  (e) => e.default
@@ -1355,19 +1346,19 @@ const _t = {
1355
1346
  )
1356
1347
  }
1357
1348
  });
1358
- function yt(e, t) {
1359
- return re(e, t);
1349
+ function _t(e, t) {
1350
+ return ie(e, t);
1360
1351
  }
1361
- function ft({
1352
+ function mt({
1362
1353
  children: e
1363
1354
  }) {
1364
- const { locale: t } = W(), a = se(mt, t), n = o.useMemo(
1365
- () => yt(t, a),
1355
+ const { locale: t } = H(), a = oe(pt, t), n = l.useMemo(
1356
+ () => _t(t, a),
1366
1357
  [t, a]
1367
1358
  );
1368
- return /* @__PURE__ */ c.jsx(me, { value: n, children: e });
1359
+ return /* @__PURE__ */ c.jsx(pe, { value: n, children: e });
1369
1360
  }
1370
- function Y(e) {
1361
+ function I(e) {
1371
1362
  return {
1372
1363
  id: e.id ?? 0,
1373
1364
  name: e.name ?? null,
@@ -1383,7 +1374,7 @@ function Y(e) {
1383
1374
  updated_at: e.updated_at ?? null
1384
1375
  };
1385
1376
  }
1386
- function ht(e) {
1377
+ function yt(e) {
1387
1378
  return {
1388
1379
  id: e.id ?? 0,
1389
1380
  type: e.type ?? "card",
@@ -1394,14 +1385,14 @@ function ht(e) {
1394
1385
  exp_year: e.exp_year ?? null,
1395
1386
  card_holder: e.card_holder ?? null,
1396
1387
  default: e.default ?? !1,
1397
- billing_address: e.billing_address ? Y({ id: 0, ...e.billing_address }) : null,
1388
+ billing_address: e.billing_address ? I({ id: 0, ...e.billing_address }) : null,
1398
1389
  created_at: e.created_at ?? null,
1399
1390
  updated_at: e.updated_at ?? null
1400
1391
  };
1401
1392
  }
1402
- function gt(e) {
1393
+ function ft(e) {
1403
1394
  return {
1404
- ...tt(e),
1395
+ ...we(e),
1405
1396
  async fetchPaymentMethods() {
1406
1397
  let t = await k({
1407
1398
  client: e,
@@ -1418,7 +1409,7 @@ function gt(e) {
1418
1409
  }), a.push(...t.payment_methods ?? []);
1419
1410
  }
1420
1411
  return {
1421
- payment_methods: a.map(ht),
1412
+ payment_methods: a.map(yt),
1422
1413
  meta: {
1423
1414
  request_id: t.meta?.request_id ?? "",
1424
1415
  timestamp: t.meta?.timestamp ?? ""
@@ -1470,7 +1461,7 @@ function gt(e) {
1470
1461
  }), a.push(...t.addresses ?? []);
1471
1462
  }
1472
1463
  return {
1473
- addresses: a.map(Y),
1464
+ addresses: a.map(I),
1474
1465
  meta: {
1475
1466
  request_id: t.meta?.request_id ?? "",
1476
1467
  timestamp: t.meta?.timestamp ?? ""
@@ -1479,11 +1470,11 @@ function gt(e) {
1479
1470
  }
1480
1471
  };
1481
1472
  }
1482
- function Ut({
1473
+ function Bt({
1483
1474
  children: e
1484
1475
  }) {
1485
- const { config: t } = V(), { fetch: a } = G(), { baseUrl: n, defaultHeaders: r, onAuthError: i } = t, l = o.useMemo(
1486
- () => X({
1476
+ const { config: t } = W(), { fetch: a } = V(), { baseUrl: n, defaultHeaders: r, onAuthError: i } = t, o = l.useMemo(
1477
+ () => K({
1487
1478
  baseUrl: n,
1488
1479
  defaultHeaders: r,
1489
1480
  onAuthError: i,
@@ -1491,15 +1482,15 @@ function Ut({
1491
1482
  credentials: "same-origin"
1492
1483
  }),
1493
1484
  [n, r, i, a]
1494
- ), d = o.useMemo(
1495
- () => Ye(l),
1496
- [l]
1497
- ), _ = o.useMemo(
1498
- () => Z(l),
1499
- [l]
1500
- ), s = o.useMemo(
1501
- () => gt(
1502
- ze({
1485
+ ), d = l.useMemo(
1486
+ () => Fe(o),
1487
+ [o]
1488
+ ), _ = l.useMemo(
1489
+ () => Z(o),
1490
+ [o]
1491
+ ), s = l.useMemo(
1492
+ () => ft(
1493
+ Re({
1503
1494
  baseUrl: n,
1504
1495
  defaultHeaders: r,
1505
1496
  onAuthError: i,
@@ -1508,8 +1499,8 @@ function Ut({
1508
1499
  })
1509
1500
  ),
1510
1501
  [n, r, i, a]
1511
- ), f = o.useMemo(
1512
- () => ae({
1502
+ ), f = l.useMemo(
1503
+ () => te({
1513
1504
  baseUrl: n,
1514
1505
  defaultHeaders: r,
1515
1506
  onAuthError: i,
@@ -1518,26 +1509,25 @@ function Ut({
1518
1509
  }),
1519
1510
  [n, r, i, a]
1520
1511
  );
1521
- return /* @__PURE__ */ c.jsx(ue, { value: f, children: /* @__PURE__ */ c.jsx(pt, { children: /* @__PURE__ */ c.jsx(Oe, { value: s, children: /* @__PURE__ */ c.jsx(J, { value: _, children: /* @__PURE__ */ c.jsx(Re, { value: d, children: /* @__PURE__ */ c.jsx(ft, { children: e }) }) }) }) }) });
1512
+ return /* @__PURE__ */ c.jsx(ne, { value: f, children: /* @__PURE__ */ c.jsx(ut, { children: /* @__PURE__ */ c.jsx(Ue, { value: s, children: /* @__PURE__ */ c.jsx(X, { value: _, children: /* @__PURE__ */ c.jsx(Oe, { value: d, children: /* @__PURE__ */ c.jsx(mt, { children: e }) }) }) }) }) });
1522
1513
  }
1523
1514
  export {
1524
- xt as I,
1525
- Ut as M,
1526
- ft as P,
1527
- Ct as R,
1528
- Mt as a,
1529
- Dt as b,
1530
- ce as c,
1531
- ct as d,
1532
- L as e,
1533
- j as f,
1515
+ At as I,
1516
+ Bt as M,
1517
+ mt as P,
1518
+ xt as R,
1519
+ Dt as a,
1520
+ Tt as b,
1521
+ dt as c,
1522
+ L as d,
1523
+ U as e,
1524
+ Mt as f,
1534
1525
  y as g,
1535
1526
  Nt as h,
1536
- Et as i,
1537
- Bt as j,
1538
- qt as m,
1539
- xe as n,
1540
- Lt as p,
1541
- Tt as r,
1542
- St as u
1527
+ St as i,
1528
+ Lt as m,
1529
+ Pe as n,
1530
+ Et as p,
1531
+ qt as r,
1532
+ Ct as u
1543
1533
  };