@cedros/pay-react 1.1.27 → 1.1.29

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 (172) hide show
  1. package/dist/{AISettingsSection-DELur7D2.js → AISettingsSection-B7qrycfY.js} +2 -2
  2. package/dist/{AISettingsSection-BlIv3CzS.mjs → AISettingsSection-DtAgMsDw.mjs} +6 -4
  3. package/dist/{AutosaveIndicator-Bed0-ekg.mjs → AutosaveIndicator-BEvABoKU.mjs} +1 -1
  4. package/dist/AutosaveIndicator-DiyeAg93.js +1 -0
  5. package/dist/CedrosContext-5Gjveoba.mjs +2555 -0
  6. package/dist/CedrosContext-CCakH2SZ.js +3 -0
  7. package/dist/CedrosPayAdminDashboard-CAwEvn66.js +1 -0
  8. package/dist/CedrosPayAdminDashboard-CBuvNAtB.mjs +250 -0
  9. package/dist/{ChatLogsSection-v4zwzCTC.mjs → ChatLogsSection-Ber5o8hF.mjs} +19 -17
  10. package/dist/ChatLogsSection-DLxMMi9I.js +1 -0
  11. package/dist/ComplianceSection-Buu0zTiL.js +1 -0
  12. package/dist/{ComplianceSection-CemgfDrL.mjs → ComplianceSection-ZCr0wsvw.mjs} +18 -15
  13. package/dist/{CryptoButton-BV9owVe2.mjs → CryptoButton-Cl2kZbOP.mjs} +26 -24
  14. package/dist/CryptoButton-DxFCYDlJ.js +1 -0
  15. package/dist/CustomersSection-BywmMLur.js +1 -0
  16. package/dist/{CustomersSection-D_j7OrfS.mjs → CustomersSection-D9UknSKC.mjs} +21 -19
  17. package/dist/{DisputesSection-BcAbXp3K.mjs → DisputesSection-C_eySK-W.mjs} +19 -17
  18. package/dist/DisputesSection-DwkHGv2a.js +1 -0
  19. package/dist/Dropdown-B90Zabxr.mjs +111 -0
  20. package/dist/Dropdown-CtY91emj.js +1 -0
  21. package/dist/ErrorBanner-CZXsHi3H.mjs +22 -0
  22. package/dist/ErrorBanner-Cx2dUhps.js +1 -0
  23. package/dist/{FAQSection-Dn38OhB_.mjs → FAQSection-Bv_Hdt8B.mjs} +8 -6
  24. package/dist/FAQSection-DlPLnIJD.js +1 -0
  25. package/dist/ImagesSection-B4Jzet79.js +1 -0
  26. package/dist/{ImagesSection-Ctw9Icym.mjs → ImagesSection-DpdXQ6qu.mjs} +6 -4
  27. package/dist/InventorySection-BgRdpn1l.js +1 -0
  28. package/dist/{InventorySection-DmhjUlRZ.mjs → InventorySection-DZMu9DMw.mjs} +25 -23
  29. package/dist/MessagingSection-CxV-pf-f.js +1 -0
  30. package/dist/{MessagingSection-B1FaGxkp.mjs → MessagingSection-D_cOBfFt.mjs} +5 -4
  31. package/dist/OrdersSection-BbAX79Ff.js +1 -0
  32. package/dist/{OrdersSection-Bj8bPdg8.mjs → OrdersSection-wfPavit9.mjs} +27 -24
  33. package/dist/PaymentSettingsSection-BdBDgaRg.js +1 -0
  34. package/dist/PaymentSettingsSection-DunzBo9n.mjs +648 -0
  35. package/dist/ReturnsSection-7k4LZ8yp.js +1 -0
  36. package/dist/{ReturnsSection-BC0L8r2e.mjs → ReturnsSection-B4FL7bUv.mjs} +11 -9
  37. package/dist/{SettingsSection-vdYFSNxB.js → SettingsSection-Cz2Yjdhr.js} +1 -1
  38. package/dist/{SettingsSection-KYdEizq_.mjs → SettingsSection-DoeNDbqd.mjs} +1 -1
  39. package/dist/{ShippingSection-BOgto6_9.mjs → ShippingSection-BlVsYC6B.mjs} +5 -3
  40. package/dist/ShippingSection-C-HI8rOb.js +1 -0
  41. package/dist/{SingleCategorySettings-suJ8z9d8.mjs → SingleCategorySettings-B406nnF-.mjs} +143 -140
  42. package/dist/SingleCategorySettings-BqC2UXt3.js +3 -0
  43. package/dist/StatsBar-D4v-I_Dj.mjs +25 -0
  44. package/dist/StatsBar-m6GSRNxs.js +1 -0
  45. package/dist/StorefrontSection-Axvh_KeS.js +1 -0
  46. package/dist/{StorefrontSection-BRvIGBEJ.mjs → StorefrontSection-BK_rhrAi.mjs} +121 -119
  47. package/dist/{SubscriptionsSection-D60qrX9a.mjs → SubscriptionsSection-D8V9RBv-.mjs} +11 -9
  48. package/dist/SubscriptionsSection-EeULMWIB.js +1 -0
  49. package/dist/{TaxSection-C7-pv-Rl.mjs → TaxSection-Cj6TXL6x.mjs} +23 -21
  50. package/dist/TaxSection-CzHPhaHl.js +1 -0
  51. package/dist/ThemeContext-CFXyYx7A.js +1 -0
  52. package/dist/ThemeContext-l0bqcOGW.mjs +126 -0
  53. package/dist/Token22Section-DqRKVG_G.js +1 -0
  54. package/dist/{Token22Section-CrHLQ0EB.mjs → Token22Section-DtYAcT54.mjs} +7 -6
  55. package/dist/{WalletManager-BIwH8Dw_.mjs → WalletManager-D-eoqUDy.mjs} +21 -19
  56. package/dist/WalletManager-DXChB9LA.js +1 -0
  57. package/dist/WebhooksSection-D--iPZuM.js +1 -0
  58. package/dist/{WebhooksSection-COPW4Ec0.mjs → WebhooksSection-DBAIxtBy.mjs} +40 -38
  59. package/dist/admin.d.ts +2 -0
  60. package/dist/admin.js +1 -0
  61. package/dist/admin.mjs +8 -0
  62. package/dist/configApi-BS5UJfzm.js +1 -0
  63. package/dist/{configApi-6XhAJGKX.mjs → configApi-BUXZOMWK.mjs} +57 -3
  64. package/dist/crypto-only.js +1 -1
  65. package/dist/crypto-only.mjs +214 -202
  66. package/dist/dateHelpers-BKW_lGND.js +1 -0
  67. package/dist/dateHelpers-yvPkofYQ.mjs +6 -0
  68. package/dist/fetchWithTimeout-CG0EKbhf.js +1 -0
  69. package/dist/fetchWithTimeout-DmMOwL0Q.mjs +195 -0
  70. package/dist/index-9QF_UfSN.mjs +18668 -0
  71. package/dist/index-Cq9ya93W.js +84 -0
  72. package/dist/index.js +1 -1
  73. package/dist/index.mjs +74 -64
  74. package/dist/safeHref-DqJPLPl5.mjs +12 -0
  75. package/dist/safeHref-DyHIpVjY.js +1 -0
  76. package/dist/sectionIds-B_tFiNvF.js +1 -0
  77. package/dist/sectionIds-DBavltrL.mjs +359 -0
  78. package/dist/sections-BHph7CYj.mjs +9 -0
  79. package/dist/sections-C2zEJr5G.js +1 -0
  80. package/dist/sections-more-C1VNVwkp.js +1 -0
  81. package/dist/sections-more-CMFgfU4d.mjs +3082 -0
  82. package/dist/src/admin/index.d.ts +3 -3
  83. package/dist/src/admin/index.d.ts.map +1 -1
  84. package/dist/src/admin/plugin.d.ts.map +1 -1
  85. package/dist/src/admin/types.d.ts +2 -6
  86. package/dist/src/admin/types.d.ts.map +1 -1
  87. package/dist/src/admin.d.ts +9 -0
  88. package/dist/src/admin.d.ts.map +1 -0
  89. package/dist/src/components/admin/LazyCedrosPayAdminDashboard.d.ts +4 -0
  90. package/dist/src/components/admin/LazyCedrosPayAdminDashboard.d.ts.map +1 -0
  91. package/dist/src/components/admin/PaymentReadinessChecklist.d.ts +9 -0
  92. package/dist/src/components/admin/PaymentReadinessChecklist.d.ts.map +1 -0
  93. package/dist/src/components/admin/PaymentSettingsSection.d.ts.map +1 -1
  94. package/dist/src/components/admin/PaymentSetupGuide.d.ts +6 -0
  95. package/dist/src/components/admin/PaymentSetupGuide.d.ts.map +1 -0
  96. package/dist/src/components/admin/ProductsSection.d.ts.map +1 -1
  97. package/dist/src/components/admin/configApi.d.ts +1 -1
  98. package/dist/src/components/admin/configApi.d.ts.map +1 -1
  99. package/dist/src/components/admin/icons.d.ts +3 -50
  100. package/dist/src/components/admin/icons.d.ts.map +1 -1
  101. package/dist/src/components/admin/index.d.ts +1 -1
  102. package/dist/src/components/admin/index.d.ts.map +1 -1
  103. package/dist/src/components/admin/types.d.ts +43 -0
  104. package/dist/src/components/admin/types.d.ts.map +1 -1
  105. package/dist/src/context/CedrosContext.d.ts +2 -0
  106. package/dist/src/context/CedrosContext.d.ts.map +1 -1
  107. package/dist/src/ecommerce/__tests__/featureFlags.test.d.ts +2 -0
  108. package/dist/src/ecommerce/__tests__/featureFlags.test.d.ts.map +1 -0
  109. package/dist/src/ecommerce/adapters/paywall/paywallAdapter.d.ts.map +1 -1
  110. package/dist/src/ecommerce/components/general/ErrorBoundary.d.ts +1 -1
  111. package/dist/src/ecommerce/components/ui/button.d.ts +1 -1
  112. package/dist/src/ecommerce/components/ui/sheet.d.ts +1 -1
  113. package/dist/src/ecommerce/config/context.d.ts +2 -0
  114. package/dist/src/ecommerce/config/context.d.ts.map +1 -1
  115. package/dist/src/ecommerce/config/types.d.ts +2 -0
  116. package/dist/src/ecommerce/config/types.d.ts.map +1 -1
  117. package/dist/src/ecommerce/index.d.ts +2 -0
  118. package/dist/src/ecommerce/index.d.ts.map +1 -1
  119. package/dist/src/featureFlags.d.ts +41 -0
  120. package/dist/src/featureFlags.d.ts.map +1 -0
  121. package/dist/src/index.d.ts +4 -2
  122. package/dist/src/index.d.ts.map +1 -1
  123. package/dist/src/managers/StripeManager.d.ts.map +1 -1
  124. package/dist/src/managers/SubscriptionManager.d.ts +1 -0
  125. package/dist/src/managers/SubscriptionManager.d.ts.map +1 -1
  126. package/dist/src/types/index.d.ts +14 -1
  127. package/dist/src/types/index.d.ts.map +1 -1
  128. package/dist/src/types/subscription.d.ts +47 -1
  129. package/dist/src/types/subscription.d.ts.map +1 -1
  130. package/dist/src/utils/validateConfig.d.ts.map +1 -1
  131. package/dist/stripe-only.js +1 -1
  132. package/dist/stripe-only.mjs +35 -33
  133. package/dist/styles--fxb3lCl.js +1 -0
  134. package/dist/{styles-D4SQkuV3.mjs → styles-DGagylUj.mjs} +53 -51
  135. package/dist/testing/index.js +1 -1
  136. package/dist/testing/index.mjs +1 -1
  137. package/dist/tokenMintValidator-DAjQld0r.mjs +98 -0
  138. package/dist/tokenMintValidator-DNBhoefh.js +4 -0
  139. package/dist/{walletPool-DE-t1wSW.mjs → walletPool-9MylB2QK.mjs} +1 -1
  140. package/dist/walletPool-BjTXX6Vn.js +1 -0
  141. package/package.json +6 -5
  142. package/dist/AutosaveIndicator-Dn_qA2hK.js +0 -1
  143. package/dist/CedrosContext-C2RjHLaQ.js +0 -6
  144. package/dist/CedrosContext-CY6zvjvJ.mjs +0 -2801
  145. package/dist/ChatLogsSection-BH5tLA4T.js +0 -1
  146. package/dist/ComplianceSection-DP2a9-S0.js +0 -1
  147. package/dist/CryptoButton-DpiCnyXE.js +0 -1
  148. package/dist/CustomersSection-CBwy_waO.js +0 -1
  149. package/dist/DisputesSection-BLjIk60n.js +0 -1
  150. package/dist/FAQSection-wNeH0i6Q.js +0 -1
  151. package/dist/ImagesSection-0ZzKlzMJ.js +0 -1
  152. package/dist/InventorySection-zV6lTmue.js +0 -1
  153. package/dist/MessagingSection-B_wdFR0j.js +0 -1
  154. package/dist/OrdersSection-Dw2FX-1d.js +0 -1
  155. package/dist/PaymentSettingsSection-BYF4D-GR.js +0 -1
  156. package/dist/PaymentSettingsSection-EnMxeWjv.mjs +0 -94
  157. package/dist/ReturnsSection-D_pJVxuG.js +0 -1
  158. package/dist/ShippingSection-1DRSTu49.js +0 -1
  159. package/dist/SingleCategorySettings-DwCnBdRf.js +0 -3
  160. package/dist/StorefrontSection-RumGkb3C.js +0 -1
  161. package/dist/SubscriptionsSection-C2aLLn7L.js +0 -1
  162. package/dist/TaxSection-Dt1DnM51.js +0 -1
  163. package/dist/Token22Section-DY3mUwTY.js +0 -1
  164. package/dist/WalletManager-B3UdQ5pQ.js +0 -1
  165. package/dist/WebhooksSection-CKeiJ7Py.js +0 -1
  166. package/dist/configApi-DkduMQg1.js +0 -1
  167. package/dist/index-C0g-JxJk.js +0 -84
  168. package/dist/index-DXnuQp5x.mjs +0 -22128
  169. package/dist/sections-C1NpK7hk.mjs +0 -9
  170. package/dist/sections-DVVSZBhW.js +0 -1
  171. package/dist/styles-BT4bhFey.js +0 -1
  172. package/dist/walletPool-IS7R3MR1.js +0 -1
@@ -1,15 +1,20 @@
1
- import { O as Te, q as ve, n as fe, s as Be, o as me, p as Ie, r as ye, t as V, V as _e, W as We } from "./styles-D4SQkuV3.mjs";
2
- import { C as Ue, a as Ye, b as Ve, c as He, d as Je, P as Xe, e as Ze, f as et, g as tt, R as rt, S as nt, h as at, i as st, j as ot, k as it, l as ct, m as lt, u as ut, v as dt, w as pt, x as ft, y as mt, z as yt, A as gt, B as bt, D as St, E as wt, F as Ct, G as ht, H as xt, I as Pt, J as Et, K as Rt, L as kt, M as Tt, N as vt, Q as Bt } from "./styles-D4SQkuV3.mjs";
3
- import { C as _t, a as Wt, b as qt, c as Mt, d as Lt, e as At, f as Dt, i as Ot, u as Nt, g as zt } from "./index-DXnuQp5x.mjs";
4
- import { u as H, m as z, j as qe, i as y } from "./CedrosContext-CY6zvjvJ.mjs";
5
- import { C as Qt, a as $t, b as Ft, c as Gt, E as jt, K as Ut, L as Yt, d as Vt, R as Ht, e as Jt, f as Xt, g as Zt, h as er, r as tr, v as rr, n as nr } from "./CedrosContext-CY6zvjvJ.mjs";
6
- import { C as sr, u as or } from "./CryptoButton-BV9owVe2.mjs";
7
- import { jsxs as K, jsx as x } from "react/jsx-runtime";
8
- import { useState as B, useRef as N, useCallback as C, useMemo as G, useEffect as Q } from "react";
1
+ import { O as ke, q as ve, n as fe, s as Be, o as me, p as Ie, r as ye, t as V, V as _e, W as We } from "./styles-DGagylUj.mjs";
2
+ import { C as Ve, a as He, b as Je, c as Xe, d as Ze, P as et, e as tt, f as rt, g as at, R as nt, S as st, h as ot, i as it, j as ct, k as lt, l as ut, m as dt, u as pt, v as ft, w as mt, x as yt, y as gt, z as bt, A as St, B as wt, D as Ct, E as ht, F as xt, G as Et, H as Pt, I as Rt, J as Tt, K as kt, L as vt, M as Bt, N as It, Q as _t } from "./styles-DGagylUj.mjs";
3
+ import { C as qt, a as Mt, i as Lt, u as At, b as Ft } from "./index-9QF_UfSN.mjs";
4
+ import { u as H, l as O } from "./CedrosContext-5Gjveoba.mjs";
5
+ import { C as Nt, a as Ot, b as Gt, c as zt, E as Kt, F as Qt, d as $t, R as Ut, e as jt, f as Yt, g as Vt, h as Ht, i as Jt, j as Xt, p as Zt, r as er, k as tr, v as rr } from "./CedrosContext-5Gjveoba.mjs";
6
+ import { g as y } from "./fetchWithTimeout-DmMOwL0Q.mjs";
7
+ import { L as nr, a as sr, c as or } from "./fetchWithTimeout-DmMOwL0Q.mjs";
8
+ import { C as cr, u as lr } from "./CryptoButton-Cl2kZbOP.mjs";
9
+ import { jsxs as G, jsx as x } from "react/jsx-runtime";
10
+ import { useState as B, useRef as N, useCallback as C, useMemo as $, useEffect as z } from "react";
9
11
  import { useWallet as J } from "@solana/wallet-adapter-react";
10
12
  import { WalletReadyState as ge } from "@solana/wallet-adapter-base";
11
- import { WalletIcon as Me } from "@solana/wallet-adapter-react-ui";
12
- import { WalletPool as cr, createWalletPool as lr } from "./walletPool-DE-t1wSW.mjs";
13
+ import { WalletIcon as qe } from "@solana/wallet-adapter-react-ui";
14
+ import { u as Me } from "./ThemeContext-l0bqcOGW.mjs";
15
+ import { WalletPool as dr, createWalletPool as pr } from "./walletPool-9MylB2QK.mjs";
16
+ import { K as mr, a as yr } from "./tokenMintValidator-DAjQld0r.mjs";
17
+ import { C as br, a as Sr, b as wr, c as Cr, d as hr } from "./sectionIds-DBavltrL.mjs";
13
18
  function Le() {
14
19
  const { subscriptionManager: r, x402Manager: c, walletManager: f } = H(), { publicKey: i, signTransaction: R } = J(), [S, p] = B({
15
20
  status: "idle",
@@ -17,7 +22,7 @@ function Le() {
17
22
  sessionId: null,
18
23
  subscriptionStatus: null,
19
24
  expiresAt: null
20
- }), [k, P] = B(null), E = N(!1), h = C(() => {
25
+ }), [T, E] = B(null), P = N(!1), h = C(() => {
21
26
  if (!i) {
22
27
  const s = "Wallet not connected";
23
28
  return p((t) => ({ ...t, status: "error", error: s })), { valid: !1, error: s };
@@ -27,7 +32,7 @@ function Le() {
27
32
  return p((t) => ({ ...t, status: "error", error: s })), { valid: !1, error: s };
28
33
  }
29
34
  return { valid: !0 };
30
- }, [i, R]), T = C(
35
+ }, [i, R]), k = C(
31
36
  async (s) => {
32
37
  if (!i)
33
38
  return p((t) => ({
@@ -45,24 +50,24 @@ function Le() {
45
50
  resource: s,
46
51
  userId: i.toString()
47
52
  });
48
- return p((n) => ({
49
- ...n,
53
+ return p((a) => ({
54
+ ...a,
50
55
  status: t.active ? "success" : "idle",
51
56
  subscriptionStatus: t.status,
52
57
  expiresAt: t.expiresAt || t.currentPeriodEnd || null
53
58
  })), t;
54
59
  } catch (t) {
55
- const n = z(t, "Failed to check subscription status");
60
+ const a = O(t, "Failed to check subscription status");
56
61
  return p((l) => ({
57
62
  ...l,
58
63
  status: "error",
59
- error: n
64
+ error: a
60
65
  })), null;
61
66
  }
62
67
  },
63
68
  [i, r]
64
69
  ), W = C(
65
- async (s, t, n) => {
70
+ async (s, t, a) => {
66
71
  p((l) => ({
67
72
  ...l,
68
73
  status: "loading",
@@ -72,42 +77,42 @@ function Le() {
72
77
  const l = await r.requestSubscriptionQuote(
73
78
  s,
74
79
  t,
75
- n
80
+ a
76
81
  );
77
- return P(l), p((a) => ({
78
- ...a,
82
+ return E(l), p((n) => ({
83
+ ...n,
79
84
  status: "idle"
80
85
  })), l;
81
86
  } catch (l) {
82
- const a = z(l, "Failed to get subscription quote");
87
+ const n = O(l, "Failed to get subscription quote");
83
88
  return p((o) => ({
84
89
  ...o,
85
90
  status: "error",
86
- error: a
91
+ error: n
87
92
  })), null;
88
93
  }
89
94
  },
90
95
  [r]
91
96
  ), g = C(
92
- async (s, t, n) => {
93
- if (E.current)
97
+ async (s, t, a) => {
98
+ if (P.current)
94
99
  return { success: !1, error: "Payment already in progress" };
95
100
  const l = h();
96
101
  if (!l.valid)
97
102
  return { success: !1, error: l.error };
98
- E.current = !0, p((a) => ({
99
- ...a,
103
+ P.current = !0, p((n) => ({
104
+ ...n,
100
105
  status: "loading",
101
106
  error: null
102
107
  }));
103
108
  try {
104
- const a = await r.requestSubscriptionQuote(
109
+ const n = await r.requestSubscriptionQuote(
105
110
  s,
106
111
  t,
107
- n
112
+ a
108
113
  );
109
- P(a);
110
- const o = a.requirement;
114
+ E(n);
115
+ const o = n.requirement;
111
116
  if (!c.validateRequirement(o))
112
117
  throw new Error("Invalid subscription quote received from server");
113
118
  const b = !!o.extra?.feePayer;
@@ -117,7 +122,7 @@ function Le() {
117
122
  resourceId: s,
118
123
  userWallet: i.toString(),
119
124
  feePayer: o.extra.feePayer,
120
- couponCode: n?.couponCode
125
+ couponCode: a?.couponCode
121
126
  }), M = f.deserializeTransaction(w), L = await f.partiallySignTransaction({
122
127
  transaction: M,
123
128
  signTransaction: R,
@@ -126,7 +131,7 @@ function Le() {
126
131
  m = await c.submitGaslessTransaction({
127
132
  resource: s,
128
133
  partialTx: L,
129
- couponCode: n?.couponCode,
134
+ couponCode: a?.couponCode,
130
135
  resourceType: "regular",
131
136
  requirement: o
132
137
  });
@@ -145,7 +150,7 @@ function Le() {
145
150
  m = await c.submitPayment({
146
151
  resource: s,
147
152
  payload: M,
148
- couponCode: n?.couponCode,
153
+ couponCode: a?.couponCode,
149
154
  resourceType: "regular"
150
155
  });
151
156
  }
@@ -168,15 +173,15 @@ function Le() {
168
173
  error: m.error || "Subscription payment failed"
169
174
  }));
170
175
  return m;
171
- } catch (a) {
172
- const o = z(a, "Subscription payment failed");
176
+ } catch (n) {
177
+ const o = O(n, "Subscription payment failed");
173
178
  return p((b) => ({
174
179
  ...b,
175
180
  status: "error",
176
181
  error: o
177
182
  })), { success: !1, error: o };
178
183
  } finally {
179
- E.current = !1;
184
+ P.current = !1;
180
185
  }
181
186
  },
182
187
  [
@@ -194,12 +199,12 @@ function Le() {
194
199
  sessionId: null,
195
200
  subscriptionStatus: null,
196
201
  expiresAt: null
197
- }), P(null);
202
+ }), E(null);
198
203
  }, []);
199
204
  return {
200
205
  ...S,
201
- quote: k,
202
- checkStatus: T,
206
+ quote: T,
207
+ checkStatus: k,
203
208
  requestQuote: W,
204
209
  processPayment: g,
205
210
  reset: I
@@ -213,11 +218,11 @@ function $e({
213
218
  label: R,
214
219
  disabled: S = !1,
215
220
  onAttempt: p,
216
- onSuccess: k,
217
- onError: P,
218
- className: E = "",
221
+ onSuccess: T,
222
+ onError: E,
223
+ className: P = "",
219
224
  testPageUrl: h,
220
- hideMessages: T = !1,
225
+ hideMessages: k = !1,
221
226
  autoCheckStatus: W = !0
222
227
  }) {
223
228
  const {
@@ -225,9 +230,9 @@ function $e({
225
230
  connecting: I,
226
231
  connect: s,
227
232
  disconnect: t,
228
- select: n,
233
+ select: a,
229
234
  wallets: l,
230
- wallet: a,
235
+ wallet: n,
231
236
  publicKey: o
232
237
  } = J(), {
233
238
  status: b,
@@ -236,62 +241,62 @@ function $e({
236
241
  expiresAt: q,
237
242
  checkStatus: M,
238
243
  processPayment: L
239
- } = Le(), u = qe(), { solanaError: _ } = H(), { t: v, translations: X } = Te(), be = R || v("ui.subscribe_with_crypto"), Z = N(k), ee = N(P), te = N(L), re = N(M);
240
- Z.current = k, ee.current = P, te.current = L, re.current = M;
241
- const Se = m && typeof m != "string" ? m?.code ?? null : null, we = _ && typeof _ != "string" ? _?.code ?? null : null, ne = (e) => {
244
+ } = Le(), u = Me(), { solanaError: _ } = H(), { t: v, translations: X } = ke(), be = R || v("ui.subscribe_with_crypto"), Z = N(T), ee = N(E), te = N(L), re = N(M);
245
+ Z.current = T, ee.current = E, te.current = L, re.current = M;
246
+ const Se = m && typeof m != "string" ? m?.code ?? null : null, we = _ && typeof _ != "string" ? _?.code ?? null : null, ae = (e) => {
242
247
  if (!e || !X) return "";
243
248
  const d = X.errors[e];
244
249
  return d ? d.action ? `${d.message} ${d.action}` : d.message : "";
245
- }, ae = m ? typeof m == "string" ? m : ne(Se) : null, se = _ ? typeof _ == "string" ? _ : ne(we) : null, Ce = G(
250
+ }, ne = m ? typeof m == "string" ? m : ae(Se) : null, se = _ ? typeof _ == "string" ? _ : ae(we) : null, Ce = $(
246
251
  () => l.map((e) => `${e.adapter.name}-${e.readyState}`).join(","),
247
252
  [l]
248
- ), j = G(
253
+ ), U = $(
249
254
  () => l.filter(
250
255
  ({ readyState: e }) => e === ge.Installed || e === ge.Loadable
251
256
  ),
252
257
  // eslint-disable-next-line react-hooks/exhaustive-deps
253
258
  [Ce]
254
259
  );
255
- Q(() => {
260
+ z(() => {
256
261
  W && g && o && (y().debug("[CryptoSubscribeButton] Auto-checking subscription status"), re.current(r));
257
- }, [W, g, o, r]), Q(() => {
262
+ }, [W, g, o, r]), z(() => {
258
263
  b === "success" && w === "active" && (ve("crypto", "subscription-active", r), Z.current?.("subscription-active"));
259
- }, [b, w, r]), Q(() => {
264
+ }, [b, w, r]), z(() => {
260
265
  b === "error" && m && (fe("crypto", m, r), ee.current?.(m));
261
266
  }, [b, m, r]);
262
- const oe = typeof window < "u" && window.top !== window.self, [ie, A] = B(!1), [ce, U] = B(!1), [le, D] = B(!1), O = _;
263
- Q(() => {
267
+ const oe = typeof window < "u" && window.top !== window.self, [ie, A] = B(!1), [ce, j] = B(!1), [le, F] = B(!1), D = _;
268
+ z(() => {
264
269
  let e = !1;
265
270
  return e || (async () => {
266
- if (ce && a && !g && !I) {
271
+ if (ce && n && !g && !I) {
267
272
  y().debug(
268
273
  "[CryptoSubscribeButton] Wallet detected, attempting auto-connect:",
269
- a.adapter.name
270
- ), U(!1), ye(a.adapter.name);
274
+ n.adapter.name
275
+ ), j(!1), ye(n.adapter.name);
271
276
  try {
272
277
  await s(), e || y().debug("[CryptoSubscribeButton] Auto-connect successful");
273
278
  } catch (Y) {
274
279
  if (!e) {
275
280
  y().error("[CryptoSubscribeButton] Auto-connect failed:", Y);
276
- const ke = Y instanceof Error ? Y.message : "Failed to connect wallet";
277
- V(ke, a.adapter.name), D(!1);
281
+ const Te = Y instanceof Error ? Y.message : "Failed to connect wallet";
282
+ V(Te, n.adapter.name), F(!1);
278
283
  }
279
284
  }
280
285
  }
281
286
  })(), () => {
282
287
  e = !0;
283
288
  };
284
- }, [a, ce, g, I, s]), Q(() => {
285
- g && le && o && a && (Be(a.adapter.name, o.toString()), y().debug("[CryptoSubscribeButton] Processing pending subscription payment"), D(!1), A(!1), me("crypto", r), te.current(r, c, { couponCode: i, intervalDays: f }));
286
- }, [g, le, o, a, r, c, i, f]);
289
+ }, [n, ce, g, I, s]), z(() => {
290
+ g && le && o && n && (Be(n.adapter.name, o.toString()), y().debug("[CryptoSubscribeButton] Processing pending subscription payment"), F(!1), A(!1), me("crypto", r), te.current(r, c, { couponCode: i, intervalDays: f }));
291
+ }, [g, le, o, n, r, c, i, f]);
287
292
  const ue = C(async () => {
288
293
  if (y().debug("[CryptoSubscribeButton] executeSubscriptionFlow called", {
289
294
  connected: g,
290
- wallet: a?.adapter.name,
295
+ wallet: n?.adapter.name,
291
296
  resource: r,
292
297
  interval: c
293
- }), Ie("crypto", r), p && p("crypto"), O) {
294
- y().error("[CryptoSubscribeButton] Solana dependencies missing:", O), fe("crypto", O, r), P && P(O);
298
+ }), Ie("crypto", r), p && p("crypto"), D) {
299
+ y().error("[CryptoSubscribeButton] Solana dependencies missing:", D), fe("crypto", D, r), E && E(D);
295
300
  return;
296
301
  }
297
302
  if (oe) {
@@ -308,70 +313,70 @@ function $e({
308
313
  if (g)
309
314
  me("crypto", r), await L(r, c, { couponCode: i, intervalDays: f });
310
315
  else {
311
- D(!0);
316
+ F(!0);
312
317
  try {
313
- if (a)
318
+ if (n)
314
319
  y().debug(
315
320
  "[CryptoSubscribeButton] Wallet already selected, connecting:",
316
- a.adapter.name
317
- ), ye(a.adapter.name), await s();
321
+ n.adapter.name
322
+ ), ye(n.adapter.name), await s();
318
323
  else {
319
- if (y().debug("[CryptoSubscribeButton] No wallet selected, showing selector"), j.length === 0) {
320
- D(!1);
324
+ if (y().debug("[CryptoSubscribeButton] No wallet selected, showing selector"), U.length === 0) {
325
+ F(!1);
321
326
  const e = "No wallets available";
322
327
  throw V(e), new Error(e);
323
328
  }
324
329
  A(!0);
325
330
  }
326
331
  } catch (e) {
327
- D(!1);
332
+ F(!1);
328
333
  const d = e instanceof Error ? e.message : "Failed to connect wallet";
329
- y().error("[CryptoSubscribeButton] Connection error:", d), V(d, a?.adapter.name);
334
+ y().error("[CryptoSubscribeButton] Connection error:", d), V(d, n?.adapter.name);
330
335
  }
331
336
  }
332
337
  }, [
333
338
  g,
334
- a,
339
+ n,
335
340
  r,
336
341
  c,
337
342
  i,
338
343
  f,
339
344
  oe,
340
345
  h,
341
- j,
346
+ U,
342
347
  s,
343
348
  L,
344
- O,
349
+ D,
345
350
  p,
346
- P
347
- ]), de = G(() => `crypto-subscribe-${r}-${c}`, [r, c]), he = G(
351
+ E
352
+ ]), de = $(() => `crypto-subscribe-${r}-${c}`, [r, c]), he = $(
348
353
  () => _e(de, ue, {
349
354
  cooldownMs: 200,
350
355
  deduplicationWindowMs: 0
351
356
  }),
352
357
  [de, ue]
353
- ), pe = b === "loading" || b === "checking", $ = w === "active" || w === "trialing", xe = S || pe || I || !!O || $;
354
- let F = be;
358
+ ), pe = b === "loading" || b === "checking", K = w === "active" || w === "trialing", xe = S || pe || I || !!D || K;
359
+ let Q = be;
355
360
  if (pe)
356
- F = v("ui.processing");
357
- else if ($ && q) {
361
+ Q = v("ui.processing");
362
+ else if (K && q) {
358
363
  const e = new Date(q).toLocaleDateString();
359
- F = `${v("ui.subscribed_until")} ${e}`;
360
- } else $ && (F = v("ui.subscribed"));
361
- const Pe = C(async () => {
364
+ Q = `${v("ui.subscribed_until")} ${e}`;
365
+ } else K && (Q = v("ui.subscribed"));
366
+ const Ee = C(async () => {
362
367
  try {
363
- U(!1), g && await t(), n(null), A(!0);
368
+ j(!1), g && await t(), a(null), A(!0);
364
369
  } catch (e) {
365
370
  y().error("Failed to change wallet:", e);
366
371
  }
367
- }, [g, t, n]), Ee = C(
372
+ }, [g, t, a]), Pe = C(
368
373
  (e) => {
369
- y().debug("[CryptoSubscribeButton] Wallet clicked:", e), A(!1), n(e), U(!0);
374
+ y().debug("[CryptoSubscribeButton] Wallet clicked:", e), A(!1), a(e), j(!0);
370
375
  },
371
- [n]
376
+ [a]
372
377
  ), Re = C(async () => {
373
378
  try {
374
- if (await t(), D(!1), typeof window < "u" && window.localStorage)
379
+ if (await t(), F(!1), typeof window < "u" && window.localStorage)
375
380
  try {
376
381
  window.localStorage.removeItem("walletName");
377
382
  } catch (e) {
@@ -381,10 +386,10 @@ function $e({
381
386
  y().error("Failed to disconnect wallet:", e);
382
387
  }
383
388
  }, [t]);
384
- return /* @__PURE__ */ K(
389
+ return /* @__PURE__ */ G(
385
390
  "div",
386
391
  {
387
- className: u.unstyled ? E : `${u.className} cedros-theme__crypto-button ${E || ""}`,
392
+ className: u.unstyled ? P : `${u.className} cedros-theme__crypto-button ${P || ""}`,
388
393
  style: u.unstyled ? {} : u.style,
389
394
  children: [
390
395
  /* @__PURE__ */ x(
@@ -392,12 +397,12 @@ function $e({
392
397
  {
393
398
  onClick: he,
394
399
  disabled: xe,
395
- className: u.unstyled ? E : "cedros-theme__button cedros-theme__crypto",
400
+ className: u.unstyled ? P : "cedros-theme__button cedros-theme__crypto",
396
401
  type: "button",
397
- children: F
402
+ children: Q
398
403
  }
399
404
  ),
400
- ie && !T && /* @__PURE__ */ x(
405
+ ie && !k && /* @__PURE__ */ x(
401
406
  "div",
402
407
  {
403
408
  className: "cedros-modal-overlay",
@@ -415,7 +420,7 @@ function $e({
415
420
  padding: "1rem"
416
421
  },
417
422
  onClick: () => A(!1),
418
- children: /* @__PURE__ */ K(
423
+ children: /* @__PURE__ */ G(
419
424
  "div",
420
425
  {
421
426
  className: "cedros-modal-content",
@@ -430,7 +435,7 @@ function $e({
430
435
  },
431
436
  onClick: (e) => e.stopPropagation(),
432
437
  children: [
433
- /* @__PURE__ */ K(
438
+ /* @__PURE__ */ G(
434
439
  "div",
435
440
  {
436
441
  style: {
@@ -465,10 +470,10 @@ function $e({
465
470
  ]
466
471
  }
467
472
  ),
468
- /* @__PURE__ */ x("div", { style: { display: "flex", flexDirection: "column", gap: "0.75rem" }, children: j.map((e) => /* @__PURE__ */ K(
473
+ /* @__PURE__ */ x("div", { style: { display: "flex", flexDirection: "column", gap: "0.75rem" }, children: U.map((e) => /* @__PURE__ */ G(
469
474
  "button",
470
475
  {
471
- onClick: () => Ee(e.adapter.name),
476
+ onClick: () => Pe(e.adapter.name),
472
477
  style: {
473
478
  width: "100%",
474
479
  padding: "1rem",
@@ -492,7 +497,7 @@ function $e({
492
497
  },
493
498
  type: "button",
494
499
  children: [
495
- /* @__PURE__ */ x(Me, { wallet: e, style: { width: "24px", height: "24px" } }),
500
+ /* @__PURE__ */ x(qe, { wallet: e, style: { width: "24px", height: "24px" } }),
496
501
  /* @__PURE__ */ x("span", { style: { fontWeight: 500 }, children: e.adapter.name })
497
502
  ]
498
503
  },
@@ -503,7 +508,7 @@ function $e({
503
508
  )
504
509
  }
505
510
  ),
506
- g && !T && !ie && /* @__PURE__ */ K(
511
+ g && !k && !ie && /* @__PURE__ */ G(
507
512
  "div",
508
513
  {
509
514
  style: {
@@ -518,7 +523,7 @@ function $e({
518
523
  /* @__PURE__ */ x(
519
524
  "button",
520
525
  {
521
- onClick: Pe,
526
+ onClick: Ee,
522
527
  style: {
523
528
  background: "none",
524
529
  border: "none",
@@ -552,31 +557,31 @@ function $e({
552
557
  ]
553
558
  }
554
559
  ),
555
- !T && se && /* @__PURE__ */ x("div", { className: u.unstyled ? "" : "cedros-theme__error", children: se }),
556
- !T && ae && /* @__PURE__ */ x("div", { className: u.unstyled ? "" : "cedros-theme__error", children: ae }),
557
- !T && $ && /* @__PURE__ */ x("div", { className: u.unstyled ? "" : "cedros-theme__success", children: v("ui.subscription_active") })
560
+ !k && se && /* @__PURE__ */ x("div", { className: u.unstyled ? "" : "cedros-theme__error", children: se }),
561
+ !k && ne && /* @__PURE__ */ x("div", { className: u.unstyled ? "" : "cedros-theme__error", children: ne }),
562
+ !k && K && /* @__PURE__ */ x("div", { className: u.unstyled ? "" : "cedros-theme__success", children: v("ui.subscription_active") })
558
563
  ]
559
564
  }
560
565
  );
561
566
  }
562
- function Fe() {
567
+ function Ue() {
563
568
  const { x402Manager: r, walletManager: c } = H(), { publicKey: f, signTransaction: i } = J(), [R, S] = B({
564
569
  status: "idle",
565
570
  error: null,
566
571
  transactionId: null
567
- }), [p, k] = B(null), [P, E] = B(null), h = N(!1), T = C(
572
+ }), [p, T] = B(null), [E, P] = B(null), h = N(!1), k = C(
568
573
  async (s) => {
569
574
  try {
570
- S((n) => ({ ...n, status: "loading" }));
575
+ S((a) => ({ ...a, status: "loading" }));
571
576
  const t = await r.requestQuote({ resource: s });
572
577
  if (!r.validateRequirement(t))
573
578
  throw new Error("Invalid refund requirement received from server");
574
- return k(t), S((n) => ({ ...n, status: "idle" })), t;
579
+ return T(t), S((a) => ({ ...a, status: "idle" })), t;
575
580
  } catch (t) {
576
- const n = z(t, "Failed to fetch refund requirement");
581
+ const a = O(t, "Failed to fetch refund requirement");
577
582
  throw S({
578
583
  status: "error",
579
- error: n,
584
+ error: a,
580
585
  transactionId: null
581
586
  }), t;
582
587
  }
@@ -595,19 +600,19 @@ function Fe() {
595
600
  error: null,
596
601
  transactionId: null
597
602
  });
598
- const n = await r.requestQuote({ resource: s, couponCode: t });
599
- if (!r.validateRequirement(n))
603
+ const a = await r.requestQuote({ resource: s, couponCode: t });
604
+ if (!r.validateRequirement(a))
600
605
  throw new Error("Invalid refund requirement received");
601
- k(n);
606
+ T(a);
602
607
  const l = await c.buildTransaction({
603
- requirement: n,
608
+ requirement: a,
604
609
  payerPublicKey: f
605
- }), a = await c.signTransaction({
610
+ }), n = await c.signTransaction({
606
611
  transaction: l,
607
612
  signTransaction: i
608
613
  }), o = c.buildPaymentPayload({
609
- requirement: n,
610
- signedTx: a,
614
+ requirement: a,
615
+ signedTx: n,
611
616
  payerPublicKey: f
612
617
  }), b = await r.submitPayment({
613
618
  resource: s,
@@ -617,18 +622,18 @@ function Fe() {
617
622
  // no metadata for refunds
618
623
  resourceType: "refund"
619
624
  });
620
- return b.settlement && E(b.settlement), S({
625
+ return b.settlement && P(b.settlement), S({
621
626
  status: "success",
622
627
  error: null,
623
- transactionId: b.transactionId || a.signature
628
+ transactionId: b.transactionId || n.signature
624
629
  }), b;
625
- } catch (n) {
626
- const l = z(n, "Refund payment failed");
630
+ } catch (a) {
631
+ const l = O(a, "Refund payment failed");
627
632
  throw S({
628
633
  status: "error",
629
634
  error: l,
630
635
  transactionId: null
631
- }), n;
636
+ }), a;
632
637
  } finally {
633
638
  h.current = !1;
634
639
  }
@@ -650,17 +655,17 @@ function Fe() {
650
655
  const t = await r.requestQuote({ resource: s });
651
656
  if (!r.validateRequirement(t))
652
657
  throw new Error("Invalid refund requirement received");
653
- k(t);
654
- const { transaction: n } = await r.buildGaslessTransaction({
658
+ T(t);
659
+ const { transaction: a } = await r.buildGaslessTransaction({
655
660
  resourceId: s,
656
661
  userWallet: f.toString(),
657
662
  feePayer: t.extra.feePayer
658
- }), l = c.deserializeTransaction(n), a = await c.partiallySignTransaction({
663
+ }), l = c.deserializeTransaction(a), n = await c.partiallySignTransaction({
659
664
  transaction: l,
660
665
  signTransaction: i
661
666
  }), o = await r.submitGaslessTransaction({
662
667
  resource: s,
663
- partialTx: a,
668
+ partialTx: n,
664
669
  couponCode: void 0,
665
670
  // no couponCode
666
671
  metadata: void 0,
@@ -668,16 +673,16 @@ function Fe() {
668
673
  resourceType: "refund",
669
674
  requirement: t
670
675
  });
671
- return o.settlement && E(o.settlement), S({
676
+ return o.settlement && P(o.settlement), S({
672
677
  status: "success",
673
678
  error: null,
674
679
  transactionId: o.transactionId || "gasless-refund-tx"
675
680
  }), o;
676
681
  } catch (t) {
677
- const n = z(t, "Gasless refund payment failed");
682
+ const a = O(t, "Gasless refund payment failed");
678
683
  throw S({
679
684
  status: "error",
680
- error: n,
685
+ error: a,
681
686
  transactionId: null
682
687
  }), t;
683
688
  } finally {
@@ -690,61 +695,63 @@ function Fe() {
690
695
  status: "idle",
691
696
  error: null,
692
697
  transactionId: null
693
- }), k(null), E(null);
698
+ }), T(null), P(null);
694
699
  }, []);
695
700
  return {
696
701
  state: R,
697
702
  requirement: p,
698
- settlement: P,
699
- fetchRefundQuote: T,
703
+ settlement: E,
704
+ fetchRefundQuote: k,
700
705
  processRefund: W,
701
706
  processGaslessRefund: g,
702
707
  reset: I
703
708
  };
704
709
  }
705
710
  export {
706
- Ue as CEDROS_EVENTS,
707
- _t as CEDROS_PAY_GROUPS,
708
- Wt as CEDROS_PAY_SECTIONS,
709
- qt as CEDROS_PAY_SECTION_IDS,
710
- Qt as CIRCUIT_BREAKER_PRESETS,
711
- Ye as CSP_PRESETS,
712
- Ve as CedrosPay,
713
- Mt as CedrosPayAdminDashboard,
714
- $t as CedrosProvider,
715
- Ft as CircuitBreakerOpenError,
716
- Gt as CircuitState,
717
- Lt as ComplianceGatePage,
718
- At as CreditsBalance,
719
- He as CreditsButton,
720
- Je as CreditsSubscribeButton,
721
- sr as CryptoButton,
711
+ Ve as CEDROS_EVENTS,
712
+ br as CEDROS_PAY_GROUPS,
713
+ Sr as CEDROS_PAY_SECTIONS,
714
+ wr as CEDROS_PAY_SECTION_IDS,
715
+ Nt as CIRCUIT_BREAKER_PRESETS,
716
+ He as CSP_PRESETS,
717
+ Je as CedrosPay,
718
+ Cr as CedrosPayAdminDashboard,
719
+ Ot as CedrosProvider,
720
+ Gt as CircuitBreakerOpenError,
721
+ zt as CircuitState,
722
+ qt as ComplianceGatePage,
723
+ Mt as CreditsBalance,
724
+ Xe as CreditsButton,
725
+ Ze as CreditsSubscribeButton,
726
+ cr as CryptoButton,
722
727
  $e as CryptoSubscribeButton,
723
- jt as ERROR_CATEGORIES,
724
- Ut as KNOWN_STABLECOINS,
725
- Yt as LogLevel,
726
- Vt as Logger,
727
- Xe as PaymentMethodBadge,
728
- Ze as PaymentModal,
729
- et as ProductPrice,
730
- tt as PurchaseButton,
731
- Ht as RATE_LIMITER_PRESETS,
732
- Jt as RETRY_PRESETS,
733
- rt as RPC_PROVIDERS,
734
- nt as SECURITY_RECOMMENDATIONS,
735
- at as StripeButton,
736
- st as SubscribeButton,
737
- ot as SubscriptionManagementPanel,
738
- cr as WalletPool,
739
- it as calculateDiscountPercentage,
740
- Dt as cedrosPayPlugin,
741
- Xt as createCircuitBreaker,
742
- Zt as createLogger,
743
- er as createRateLimiter,
744
- ct as createTranslator,
745
- lr as createWalletPool,
746
- lt as detectLocale,
747
- Ot as ecommerce,
728
+ Kt as ERROR_CATEGORIES,
729
+ Qt as FEATURE_FLAG_NAMES,
730
+ $t as FEATURE_FLAG_REGISTRY,
731
+ mr as KNOWN_STABLECOINS,
732
+ nr as LogLevel,
733
+ sr as Logger,
734
+ et as PaymentMethodBadge,
735
+ tt as PaymentModal,
736
+ rt as ProductPrice,
737
+ at as PurchaseButton,
738
+ Ut as RATE_LIMITER_PRESETS,
739
+ jt as RETRY_PRESETS,
740
+ nt as RPC_PROVIDERS,
741
+ st as SECURITY_RECOMMENDATIONS,
742
+ ot as StripeButton,
743
+ it as SubscribeButton,
744
+ ct as SubscriptionManagementPanel,
745
+ dr as WalletPool,
746
+ lt as calculateDiscountPercentage,
747
+ hr as cedrosPayPlugin,
748
+ Yt as createCircuitBreaker,
749
+ or as createLogger,
750
+ Vt as createRateLimiter,
751
+ ut as createTranslator,
752
+ pr as createWalletPool,
753
+ dt as detectLocale,
754
+ Lt as ecommerce,
748
755
  fe as emitPaymentError,
749
756
  me as emitPaymentProcessing,
750
757
  Ie as emitPaymentStart,
@@ -752,36 +759,41 @@ export {
752
759
  ye as emitWalletConnect,
753
760
  Be as emitWalletConnected,
754
761
  V as emitWalletError,
755
- ut as formatCSP,
756
- dt as formatCouponCodes,
757
- pt as generateCSP,
758
- ft as generateCSPDirectives,
759
- mt as getAvailableLocales,
760
- yt as getLocalizedError,
762
+ pt as formatCSP,
763
+ ft as formatCouponCodes,
764
+ mt as generateCSP,
765
+ yt as generateCSPDirectives,
766
+ gt as getAvailableLocales,
767
+ Ht as getFeatureFlagDefinition,
768
+ Jt as getFeatureFlagDefinitions,
769
+ bt as getLocalizedError,
761
770
  y as getLogger,
762
- gt as getUserErrorMessage,
763
- bt as isRetryableError,
764
- St as loadLocale,
765
- wt as logSecurityReport,
766
- Ct as parseCouponCodes,
771
+ St as getUserErrorMessage,
772
+ Xt as isFeatureEnabled,
773
+ wt as isRetryableError,
774
+ Ct as loadLocale,
775
+ ht as logSecurityReport,
776
+ xt as parseCouponCodes,
777
+ Zt as parseFeatureFlagBoolean,
778
+ er as resolveFeatureFlags,
767
779
  tr as retryWithBackoff,
768
- ht as stackCheckoutCoupons,
780
+ Et as stackCheckoutCoupons,
769
781
  H as useCedrosContext,
770
- qe as useCedrosTheme,
771
- Nt as useComplianceCheck,
772
- zt as useCreditsBalance,
773
- xt as useCreditsPayment,
774
- Pt as useCreditsSubscription,
782
+ Me as useCedrosTheme,
783
+ At as useComplianceCheck,
784
+ Ft as useCreditsBalance,
785
+ Pt as useCreditsPayment,
786
+ Rt as useCreditsSubscription,
775
787
  Le as useCryptoSubscription,
776
- Et as useLocalizedError,
777
- Rt as usePaymentMode,
778
- Fe as useRefundVerification,
779
- kt as useStripeCheckout,
780
- Tt as useSubscription,
781
- vt as useSubscriptionManagement,
782
- Te as useTranslation,
783
- or as useX402Payment,
788
+ Tt as useLocalizedError,
789
+ kt as usePaymentMode,
790
+ Ue as useRefundVerification,
791
+ vt as useStripeCheckout,
792
+ Bt as useSubscription,
793
+ It as useSubscriptionManagement,
794
+ ke as useTranslation,
795
+ lr as useX402Payment,
784
796
  rr as validateConfig,
785
- Bt as validateSecurity,
786
- nr as validateTokenMint
797
+ _t as validateSecurity,
798
+ yr as validateTokenMint
787
799
  };