@coinbase/cdp-api-client 0.0.100 → 0.0.102

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/esm/index.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { Analytics as e } from "./index2.js";
2
2
  import "./index3.js";
3
3
  import { VERSION as t } from "./index4.js";
4
- import { DeveloperJWTAuthenticationType as s, EmailAuthenticationType as c, EndUserOnrampFeeType as E, EndUserOnrampOrderStatus as d, ErrorType as p, EvmEip7702DelegationNetwork as A, EvmEip7702DelegationOperationStatus as m, EvmSwapsNetwork as u, EvmUserOperationNetwork as h, EvmUserOperationStatus as U, InitiateEmailAuthenticationNextStepType as l, InitiateEmailAuthenticationRequestType as S, InitiateSiweAuthenticationRequestType as g, InitiateSmsAuthenticationNextStepType as y, InitiateSmsAuthenticationRequestType as f, InitiateSmsMfaEnrollmentType as v, InitiateTotpMfaEnrollmentType as T, IosAttestationRegistrationResponsePlatform as W, MfaMethod as w, Network as O, OAuth2ProviderType as k, RefreshAccessTokenBodyGrantType as M, SendEvmAssetWithEndUserAccountBodyNetwork as I, SendEvmTransactionWithEndUserAccountBodyNetwork as P, SendSolanaAssetWithEndUserAccountBodyNetwork as N, SendSolanaTransactionWithEndUserAccountBodyNetwork as x, SiweAuthenticationType as D, SmsAuthenticationType as C, SpendPermissionNetwork as R } from "./index5.js";
5
- import { authenticateUserWithCustomAuth as V, createDelegationForEndUser as q, createEndUserApplePayOnrampOrder as F, createEndUserEvmAccount as H, createEndUserEvmSmartAccount as b, createEndUserEvmSwap as j, createEndUserSolanaAccount as G, createEvmEip7702DelegationWithEndUserAccount as J, createSpendPermissionWithEndUserAccount as _, exportEndUserEvmAccount as z, exportEndUserSolanaAccount as K, generateAttestationChallenge as L, getAuthenticatedEndUser as Q, getEndUserEvmSwapPrice as X, getEvmEip7702DelegationOperationByIdWithEndUserAccount as Y, getMfaConfig as Z, getProjectConfig as $, getUserOperationWithEndUserAccount as ee, initiateAuthentication as te, initiateMfaEnrollment as ne, initiateMfaEnrollment2 as ie, initiateMfaVerification as re, listSpendPermissionsWithEndUserAccount as oe, logOutEndUser as ae, recordMfaEnrollmentPrompted as se, refreshAccessToken as ce, registerAttestation as Ee, registerTemporaryWalletSecret as de, revokeDelegationForEndUser as pe, revokeSpendPermissionWithEndUserAccount as Ae, sendEvmAssetWithEndUserAccount as me, sendEvmTransactionWithEndUserAccount as ue, sendSolanaAssetWithEndUserAccount as he, sendSolanaTransactionWithEndUserAccount as Ue, sendUserOperationWithEndUserAccount as le, signEvmHashWithEndUserAccount as Se, signEvmMessageWithEndUserAccount as ge, signEvmTransactionWithEndUserAccount as ye, signEvmTypedDataWithEndUserAccount as fe, signSolanaHashWithEndUserAccount as ve, signSolanaMessageWithEndUserAccount as Te, signSolanaTransactionWithEndUserAccount as We, submitMfaEnrollment as we, submitMfaVerification as Oe, verifyEmailAuthentication as ke, verifyOAuthCode as Me, verifyOAuthEndUserIdentity as Ie, verifySiweAuthentication as Pe, verifySmsAuthentication as Ne } from "./index6.js";
6
- import { configureCdpApiClient as De, setAuthManager as Ce } from "./index7.js";
7
- import { APIError as Be, HttpErrorType as Ve, UnknownApiError as qe, UnknownError as Fe, isOpenAPIError as He } from "./index8.js";
4
+ import { DeveloperJWTAuthenticationType as s, EmailAuthenticationType as c, EndUserOnrampFeeType as E, EndUserOnrampOrderStatus as d, ErrorType as p, EvmEip7702DelegationNetwork as A, EvmEip7702DelegationOperationStatus as m, EvmSwapsNetwork as u, EvmUserOperationNetwork as h, EvmUserOperationStatus as U, InitiateEmailAuthenticationNextStepType as l, InitiateEmailAuthenticationRequestType as S, InitiateSiweAuthenticationRequestType as g, InitiateSmsAuthenticationNextStepType as y, InitiateSmsAuthenticationRequestType as f, InitiateSmsMfaEnrollmentType as v, InitiateTotpMfaEnrollmentType as T, IosAttestationRegistrationResponsePlatform as W, MfaMethod as w, Network as O, OAuth2ProviderType as k, RefreshAccessTokenBodyGrantType as M, SendEvmAssetWithEndUserAccountBodyNetwork as I, SendEvmTransactionWithEndUserAccountBodyNetwork as P, SendSolanaAssetWithEndUserAccountBodyNetwork as N, SendSolanaTransactionWithEndUserAccountBodyNetwork as D, SiweAuthenticationType as x, SmsAuthenticationType as C, SpendPermissionNetwork as R } from "./index5.js";
5
+ import { authenticateUserWithCustomAuth as F, createDelegationForEndUser as V, createEndUserApplePayOnrampOrder as q, createEndUserEvmAccount as H, createEndUserEvmSmartAccount as b, createEndUserEvmSwap as j, createEndUserSolanaAccount as G, createEvmEip7702DelegationWithEndUserAccount as J, createSpendPermissionWithEndUserAccount as _, exportEndUserEvmAccount as z, exportEndUserSolanaAccount as K, generateAttestationChallenge as L, getAuthenticatedEndUser as Q, getDelegationForEndUser as X, getEndUserEvmSwapPrice as Y, getEvmEip7702DelegationOperationByIdWithEndUserAccount as Z, getMfaConfig as $, getProjectConfig as ee, getUserOperationWithEndUserAccount as te, initiateAuthentication as ne, initiateMfaEnrollment as re, initiateMfaEnrollment2 as ie, initiateMfaVerification as oe, listSpendPermissionsWithEndUserAccount as ae, logOutEndUser as se, recordMfaEnrollmentPrompted as ce, refreshAccessToken as Ee, registerAttestation as de, registerTemporaryWalletSecret as pe, revokeDelegationForEndUser as Ae, revokeSpendPermissionWithEndUserAccount as me, sendEvmAssetWithEndUserAccount as ue, sendEvmTransactionWithEndUserAccount as he, sendSolanaAssetWithEndUserAccount as Ue, sendSolanaTransactionWithEndUserAccount as le, sendUserOperationWithEndUserAccount as Se, signEvmHashWithEndUserAccount as ge, signEvmMessageWithEndUserAccount as ye, signEvmTransactionWithEndUserAccount as fe, signEvmTypedDataWithEndUserAccount as ve, signSolanaHashWithEndUserAccount as Te, signSolanaMessageWithEndUserAccount as We, signSolanaTransactionWithEndUserAccount as we, submitMfaEnrollment as Oe, submitMfaVerification as ke, verifyEmailAuthentication as Me, verifyOAuthCode as Ie, verifyOAuthEndUserIdentity as Pe, verifySiweAuthentication as Ne, verifySmsAuthentication as De } from "./index6.js";
6
+ import { configureCdpApiClient as Ce, setAuthManager as Re } from "./index7.js";
7
+ import { APIError as Fe, HttpErrorType as Ve, UnknownApiError as qe, UnknownError as He, isOpenAPIError as be } from "./index8.js";
8
8
  e.registerPackageVersion("api_client", t);
9
9
  export {
10
- Be as APIError,
10
+ Fe as APIError,
11
11
  s as DeveloperJWTAuthenticationType,
12
12
  c as EmailAuthenticationType,
13
13
  E as EndUserOnrampFeeType,
@@ -34,16 +34,16 @@ export {
34
34
  I as SendEvmAssetWithEndUserAccountBodyNetwork,
35
35
  P as SendEvmTransactionWithEndUserAccountBodyNetwork,
36
36
  N as SendSolanaAssetWithEndUserAccountBodyNetwork,
37
- x as SendSolanaTransactionWithEndUserAccountBodyNetwork,
38
- D as SiweAuthenticationType,
37
+ D as SendSolanaTransactionWithEndUserAccountBodyNetwork,
38
+ x as SiweAuthenticationType,
39
39
  C as SmsAuthenticationType,
40
40
  R as SpendPermissionNetwork,
41
41
  qe as UnknownApiError,
42
- Fe as UnknownError,
43
- V as authenticateUserWithCustomAuth,
44
- De as configureCdpApiClient,
45
- q as createDelegationForEndUser,
46
- F as createEndUserApplePayOnrampOrder,
42
+ He as UnknownError,
43
+ F as authenticateUserWithCustomAuth,
44
+ Ce as configureCdpApiClient,
45
+ V as createDelegationForEndUser,
46
+ q as createEndUserApplePayOnrampOrder,
47
47
  H as createEndUserEvmAccount,
48
48
  b as createEndUserEvmSmartAccount,
49
49
  j as createEndUserEvmSwap,
@@ -54,42 +54,43 @@ export {
54
54
  K as exportEndUserSolanaAccount,
55
55
  L as generateAttestationChallenge,
56
56
  Q as getAuthenticatedEndUser,
57
- X as getEndUserEvmSwapPrice,
58
- Y as getEvmEip7702DelegationOperationByIdWithEndUserAccount,
59
- Z as getMfaConfig,
60
- $ as getProjectConfig,
61
- ee as getUserOperationWithEndUserAccount,
62
- te as initiateAuthentication,
63
- ne as initiateMfaEnrollment,
57
+ X as getDelegationForEndUser,
58
+ Y as getEndUserEvmSwapPrice,
59
+ Z as getEvmEip7702DelegationOperationByIdWithEndUserAccount,
60
+ $ as getMfaConfig,
61
+ ee as getProjectConfig,
62
+ te as getUserOperationWithEndUserAccount,
63
+ ne as initiateAuthentication,
64
+ re as initiateMfaEnrollment,
64
65
  ie as initiateMfaEnrollment2,
65
- re as initiateMfaVerification,
66
- He as isOpenAPIError,
67
- oe as listSpendPermissionsWithEndUserAccount,
68
- ae as logOutEndUser,
69
- se as recordMfaEnrollmentPrompted,
70
- ce as refreshAccessToken,
71
- Ee as registerAttestation,
72
- de as registerTemporaryWalletSecret,
73
- pe as revokeDelegationForEndUser,
74
- Ae as revokeSpendPermissionWithEndUserAccount,
75
- me as sendEvmAssetWithEndUserAccount,
76
- ue as sendEvmTransactionWithEndUserAccount,
77
- he as sendSolanaAssetWithEndUserAccount,
78
- Ue as sendSolanaTransactionWithEndUserAccount,
79
- le as sendUserOperationWithEndUserAccount,
80
- Ce as setAuthManager,
81
- Se as signEvmHashWithEndUserAccount,
82
- ge as signEvmMessageWithEndUserAccount,
83
- ye as signEvmTransactionWithEndUserAccount,
84
- fe as signEvmTypedDataWithEndUserAccount,
85
- ve as signSolanaHashWithEndUserAccount,
86
- Te as signSolanaMessageWithEndUserAccount,
87
- We as signSolanaTransactionWithEndUserAccount,
88
- we as submitMfaEnrollment,
89
- Oe as submitMfaVerification,
90
- ke as verifyEmailAuthentication,
91
- Me as verifyOAuthCode,
92
- Ie as verifyOAuthEndUserIdentity,
93
- Pe as verifySiweAuthentication,
94
- Ne as verifySmsAuthentication
66
+ oe as initiateMfaVerification,
67
+ be as isOpenAPIError,
68
+ ae as listSpendPermissionsWithEndUserAccount,
69
+ se as logOutEndUser,
70
+ ce as recordMfaEnrollmentPrompted,
71
+ Ee as refreshAccessToken,
72
+ de as registerAttestation,
73
+ pe as registerTemporaryWalletSecret,
74
+ Ae as revokeDelegationForEndUser,
75
+ me as revokeSpendPermissionWithEndUserAccount,
76
+ ue as sendEvmAssetWithEndUserAccount,
77
+ he as sendEvmTransactionWithEndUserAccount,
78
+ Ue as sendSolanaAssetWithEndUserAccount,
79
+ le as sendSolanaTransactionWithEndUserAccount,
80
+ Se as sendUserOperationWithEndUserAccount,
81
+ Re as setAuthManager,
82
+ ge as signEvmHashWithEndUserAccount,
83
+ ye as signEvmMessageWithEndUserAccount,
84
+ fe as signEvmTransactionWithEndUserAccount,
85
+ ve as signEvmTypedDataWithEndUserAccount,
86
+ Te as signSolanaHashWithEndUserAccount,
87
+ We as signSolanaMessageWithEndUserAccount,
88
+ we as signSolanaTransactionWithEndUserAccount,
89
+ Oe as submitMfaEnrollment,
90
+ ke as submitMfaVerification,
91
+ Me as verifyEmailAuthentication,
92
+ Ie as verifyOAuthCode,
93
+ Pe as verifyOAuthEndUserIdentity,
94
+ Ne as verifySiweAuthentication,
95
+ De as verifySmsAuthentication
95
96
  };
@@ -1,5 +1,5 @@
1
1
  import { getDefaultExportFromCjs as r } from "./index24.js";
2
- import { __require as o } from "./index12.js";
2
+ import { __require as o } from "./index16.js";
3
3
  var t = o();
4
4
  const a = /* @__PURE__ */ r(t);
5
5
  export {
@@ -1,41 +1,10 @@
1
- import { __module as h } from "./index13.js";
2
- import { __require as S } from "./index14.js";
3
- import { __require as q } from "./index15.js";
4
- import { __require as w } from "./index16.js";
5
- var x;
6
- function G() {
7
- return x ? h.exports : (x = 1, function() {
8
- var v = S(), p = q().utf8, B = w(), F = q().bin, d = function(o, f) {
9
- o.constructor == String ? f && f.encoding === "binary" ? o = F.stringToBytes(o) : o = p.stringToBytes(o) : B(o) ? o = Array.prototype.slice.call(o, 0) : !Array.isArray(o) && o.constructor !== Uint8Array && (o = o.toString());
10
- for (var u = v.bytesToWords(o), a = o.length * 8, n = 1732584193, r = -271733879, i = -1732584194, t = 271733878, e = 0; e < u.length; e++)
11
- u[e] = (u[e] << 8 | u[e] >>> 24) & 16711935 | (u[e] << 24 | u[e] >>> 8) & 4278255360;
12
- u[a >>> 5] |= 128 << a % 32, u[(a + 64 >>> 9 << 4) + 14] = a;
13
- for (var _ = d._ff, c = d._gg, l = d._hh, y = d._ii, e = 0; e < u.length; e += 16) {
14
- var T = n, b = r, A = i, I = t;
15
- n = _(n, r, i, t, u[e + 0], 7, -680876936), t = _(t, n, r, i, u[e + 1], 12, -389564586), i = _(i, t, n, r, u[e + 2], 17, 606105819), r = _(r, i, t, n, u[e + 3], 22, -1044525330), n = _(n, r, i, t, u[e + 4], 7, -176418897), t = _(t, n, r, i, u[e + 5], 12, 1200080426), i = _(i, t, n, r, u[e + 6], 17, -1473231341), r = _(r, i, t, n, u[e + 7], 22, -45705983), n = _(n, r, i, t, u[e + 8], 7, 1770035416), t = _(t, n, r, i, u[e + 9], 12, -1958414417), i = _(i, t, n, r, u[e + 10], 17, -42063), r = _(r, i, t, n, u[e + 11], 22, -1990404162), n = _(n, r, i, t, u[e + 12], 7, 1804603682), t = _(t, n, r, i, u[e + 13], 12, -40341101), i = _(i, t, n, r, u[e + 14], 17, -1502002290), r = _(r, i, t, n, u[e + 15], 22, 1236535329), n = c(n, r, i, t, u[e + 1], 5, -165796510), t = c(t, n, r, i, u[e + 6], 9, -1069501632), i = c(i, t, n, r, u[e + 11], 14, 643717713), r = c(r, i, t, n, u[e + 0], 20, -373897302), n = c(n, r, i, t, u[e + 5], 5, -701558691), t = c(t, n, r, i, u[e + 10], 9, 38016083), i = c(i, t, n, r, u[e + 15], 14, -660478335), r = c(r, i, t, n, u[e + 4], 20, -405537848), n = c(n, r, i, t, u[e + 9], 5, 568446438), t = c(t, n, r, i, u[e + 14], 9, -1019803690), i = c(i, t, n, r, u[e + 3], 14, -187363961), r = c(r, i, t, n, u[e + 8], 20, 1163531501), n = c(n, r, i, t, u[e + 13], 5, -1444681467), t = c(t, n, r, i, u[e + 2], 9, -51403784), i = c(i, t, n, r, u[e + 7], 14, 1735328473), r = c(r, i, t, n, u[e + 12], 20, -1926607734), n = l(n, r, i, t, u[e + 5], 4, -378558), t = l(t, n, r, i, u[e + 8], 11, -2022574463), i = l(i, t, n, r, u[e + 11], 16, 1839030562), r = l(r, i, t, n, u[e + 14], 23, -35309556), n = l(n, r, i, t, u[e + 1], 4, -1530992060), t = l(t, n, r, i, u[e + 4], 11, 1272893353), i = l(i, t, n, r, u[e + 7], 16, -155497632), r = l(r, i, t, n, u[e + 10], 23, -1094730640), n = l(n, r, i, t, u[e + 13], 4, 681279174), t = l(t, n, r, i, u[e + 0], 11, -358537222), i = l(i, t, n, r, u[e + 3], 16, -722521979), r = l(r, i, t, n, u[e + 6], 23, 76029189), n = l(n, r, i, t, u[e + 9], 4, -640364487), t = l(t, n, r, i, u[e + 12], 11, -421815835), i = l(i, t, n, r, u[e + 15], 16, 530742520), r = l(r, i, t, n, u[e + 2], 23, -995338651), n = y(n, r, i, t, u[e + 0], 6, -198630844), t = y(t, n, r, i, u[e + 7], 10, 1126891415), i = y(i, t, n, r, u[e + 14], 15, -1416354905), r = y(r, i, t, n, u[e + 5], 21, -57434055), n = y(n, r, i, t, u[e + 12], 6, 1700485571), t = y(t, n, r, i, u[e + 3], 10, -1894986606), i = y(i, t, n, r, u[e + 10], 15, -1051523), r = y(r, i, t, n, u[e + 1], 21, -2054922799), n = y(n, r, i, t, u[e + 8], 6, 1873313359), t = y(t, n, r, i, u[e + 15], 10, -30611744), i = y(i, t, n, r, u[e + 6], 15, -1560198380), r = y(r, i, t, n, u[e + 13], 21, 1309151649), n = y(n, r, i, t, u[e + 4], 6, -145523070), t = y(t, n, r, i, u[e + 11], 10, -1120210379), i = y(i, t, n, r, u[e + 2], 15, 718787259), r = y(r, i, t, n, u[e + 9], 21, -343485551), n = n + T >>> 0, r = r + b >>> 0, i = i + A >>> 0, t = t + I >>> 0;
16
- }
17
- return v.endian([n, r, i, t]);
18
- };
19
- d._ff = function(o, f, u, a, n, r, i) {
20
- var t = o + (f & u | ~f & a) + (n >>> 0) + i;
21
- return (t << r | t >>> 32 - r) + f;
22
- }, d._gg = function(o, f, u, a, n, r, i) {
23
- var t = o + (f & a | u & ~a) + (n >>> 0) + i;
24
- return (t << r | t >>> 32 - r) + f;
25
- }, d._hh = function(o, f, u, a, n, r, i) {
26
- var t = o + (f ^ u ^ a) + (n >>> 0) + i;
27
- return (t << r | t >>> 32 - r) + f;
28
- }, d._ii = function(o, f, u, a, n, r, i) {
29
- var t = o + (u ^ (f | ~a)) + (n >>> 0) + i;
30
- return (t << r | t >>> 32 - r) + f;
31
- }, d._blocksize = 16, d._digestsize = 16, h.exports = function(o, f) {
32
- if (o == null)
33
- throw new Error("Illegal argument " + o);
34
- var u = v.wordsToBytes(d(o, f));
35
- return f && f.asBytes ? u : f && f.asString ? F.bytesToString(u) : v.bytesToHex(u);
36
- };
37
- }(), h.exports);
1
+ import { __module as e } from "./index13.js";
2
+ import { __require as o } from "./index14.js";
3
+ import { __require as t } from "./index15.js";
4
+ var r;
5
+ function s() {
6
+ return r ? e.exports : (r = 1, process.env.NODE_ENV === "production" ? e.exports = o() : e.exports = t(), e.exports);
38
7
  }
39
8
  export {
40
- G as __require
9
+ s as __require
41
10
  };
@@ -1,72 +1,371 @@
1
- import { __module as a } from "./index21.js";
2
- var h;
3
- function c() {
4
- return h ? a.exports : (h = 1, function() {
5
- var f = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", u = {
6
- // Bit-wise rotation left
7
- rotl: function(r, t) {
8
- return r << t | r >>> 32 - t;
9
- },
10
- // Bit-wise rotation right
11
- rotr: function(r, t) {
12
- return r << 32 - t | r >>> t;
13
- },
14
- // Swap big-endian to little-endian and vice versa
15
- endian: function(r) {
16
- if (r.constructor == Number)
17
- return u.rotl(r, 8) & 16711935 | u.rotl(r, 24) & 4278255360;
18
- for (var t = 0; t < r.length; t++)
19
- r[t] = u.endian(r[t]);
20
- return r;
21
- },
22
- // Generate an array of any length of random bytes
23
- randomBytes: function(r) {
24
- for (var t = []; r > 0; r--)
25
- t.push(Math.floor(Math.random() * 256));
26
- return t;
27
- },
28
- // Convert a byte array to big-endian 32-bit words
29
- bytesToWords: function(r) {
30
- for (var t = [], n = 0, o = 0; n < r.length; n++, o += 8)
31
- t[o >>> 5] |= r[n] << 24 - o % 32;
32
- return t;
33
- },
34
- // Convert big-endian 32-bit words to a byte array
35
- wordsToBytes: function(r) {
36
- for (var t = [], n = 0; n < r.length * 32; n += 8)
37
- t.push(r[n >>> 5] >>> 24 - n % 32 & 255);
38
- return t;
39
- },
40
- // Convert a byte array to a hex string
41
- bytesToHex: function(r) {
42
- for (var t = [], n = 0; n < r.length; n++)
43
- t.push((r[n] >>> 4).toString(16)), t.push((r[n] & 15).toString(16));
44
- return t.join("");
45
- },
46
- // Convert a hex string to a byte array
47
- hexToBytes: function(r) {
48
- for (var t = [], n = 0; n < r.length; n += 2)
49
- t.push(parseInt(r.substr(n, 2), 16));
50
- return t;
51
- },
52
- // Convert a byte array to a base-64 string
53
- bytesToBase64: function(r) {
54
- for (var t = [], n = 0; n < r.length; n += 3)
55
- for (var o = r[n] << 16 | r[n + 1] << 8 | r[n + 2], e = 0; e < 4; e++)
56
- n * 8 + e * 6 <= r.length * 8 ? t.push(f.charAt(o >>> 6 * (3 - e) & 63)) : t.push("=");
57
- return t.join("");
58
- },
59
- // Convert a base-64 string to a byte array
60
- base64ToBytes: function(r) {
61
- r = r.replace(/[^A-Z0-9+\/]/ig, "");
62
- for (var t = [], n = 0, o = 0; n < r.length; o = ++n % 4)
63
- o != 0 && t.push((f.indexOf(r.charAt(n - 1)) & Math.pow(2, -2 * o + 8) - 1) << o * 2 | f.indexOf(r.charAt(n)) >>> 6 - o * 2);
64
- return t;
1
+ import { __exports as o } from "./index21.js";
2
+ var $;
3
+ function X() {
4
+ if ($) return o;
5
+ $ = 1;
6
+ var E = Symbol.for("react.transitional.element"), N = Symbol.for("react.portal"), M = Symbol.for("react.fragment"), Y = Symbol.for("react.strict_mode"), I = Symbol.for("react.profiler"), L = Symbol.for("react.consumer"), U = Symbol.for("react.context"), k = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), b = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), C = Symbol.iterator;
7
+ function D(t) {
8
+ return t === null || typeof t != "object" ? null : (t = C && t[C] || t["@@iterator"], typeof t == "function" ? t : null);
9
+ }
10
+ var w = {
11
+ isMounted: function() {
12
+ return !1;
13
+ },
14
+ enqueueForceUpdate: function() {
15
+ },
16
+ enqueueReplaceState: function() {
17
+ },
18
+ enqueueSetState: function() {
19
+ }
20
+ }, A = Object.assign, S = {};
21
+ function _(t, e, n) {
22
+ this.props = t, this.context = e, this.refs = S, this.updater = n || w;
23
+ }
24
+ _.prototype.isReactComponent = {}, _.prototype.setState = function(t, e) {
25
+ if (typeof t != "object" && typeof t != "function" && t != null)
26
+ throw Error(
27
+ "takes an object of state variables to update or a function which returns an object of state variables."
28
+ );
29
+ this.updater.enqueueSetState(this, t, e, "setState");
30
+ }, _.prototype.forceUpdate = function(t) {
31
+ this.updater.enqueueForceUpdate(this, t, "forceUpdate");
32
+ };
33
+ function h() {
34
+ }
35
+ h.prototype = _.prototype;
36
+ function y(t, e, n) {
37
+ this.props = t, this.context = e, this.refs = S, this.updater = n || w;
38
+ }
39
+ var v = y.prototype = new h();
40
+ v.constructor = y, A(v, _.prototype), v.isPureReactComponent = !0;
41
+ var g = Array.isArray, i = { H: null, A: null, T: null, S: null, V: null }, O = Object.prototype.hasOwnProperty;
42
+ function R(t, e, n, r, s, f) {
43
+ return n = f.ref, {
44
+ $$typeof: E,
45
+ type: t,
46
+ key: e,
47
+ ref: n !== void 0 ? n : null,
48
+ props: f
49
+ };
50
+ }
51
+ function q(t, e) {
52
+ return R(
53
+ t.type,
54
+ e,
55
+ void 0,
56
+ void 0,
57
+ void 0,
58
+ t.props
59
+ );
60
+ }
61
+ function T(t) {
62
+ return typeof t == "object" && t !== null && t.$$typeof === E;
63
+ }
64
+ function z(t) {
65
+ var e = { "=": "=0", ":": "=2" };
66
+ return "$" + t.replace(/[=:]/g, function(n) {
67
+ return e[n];
68
+ });
69
+ }
70
+ var H = /\/+/g;
71
+ function m(t, e) {
72
+ return typeof t == "object" && t !== null && t.key != null ? z("" + t.key) : e.toString(36);
73
+ }
74
+ function j() {
75
+ }
76
+ function G(t) {
77
+ switch (t.status) {
78
+ case "fulfilled":
79
+ return t.value;
80
+ case "rejected":
81
+ throw t.reason;
82
+ default:
83
+ switch (typeof t.status == "string" ? t.then(j, j) : (t.status = "pending", t.then(
84
+ function(e) {
85
+ t.status === "pending" && (t.status = "fulfilled", t.value = e);
86
+ },
87
+ function(e) {
88
+ t.status === "pending" && (t.status = "rejected", t.reason = e);
89
+ }
90
+ )), t.status) {
91
+ case "fulfilled":
92
+ return t.value;
93
+ case "rejected":
94
+ throw t.reason;
95
+ }
96
+ }
97
+ throw t;
98
+ }
99
+ function a(t, e, n, r, s) {
100
+ var f = typeof t;
101
+ (f === "undefined" || f === "boolean") && (t = null);
102
+ var u = !1;
103
+ if (t === null) u = !0;
104
+ else
105
+ switch (f) {
106
+ case "bigint":
107
+ case "string":
108
+ case "number":
109
+ u = !0;
110
+ break;
111
+ case "object":
112
+ switch (t.$$typeof) {
113
+ case E:
114
+ case N:
115
+ u = !0;
116
+ break;
117
+ case d:
118
+ return u = t._init, a(
119
+ u(t._payload),
120
+ e,
121
+ n,
122
+ r,
123
+ s
124
+ );
125
+ }
65
126
  }
127
+ if (u)
128
+ return s = s(t), u = r === "" ? "." + m(t, 0) : r, g(s) ? (n = "", u != null && (n = u.replace(H, "$&/") + "/"), a(s, e, n, "", function(W) {
129
+ return W;
130
+ })) : s != null && (T(s) && (s = q(
131
+ s,
132
+ n + (s.key == null || t && t.key === s.key ? "" : ("" + s.key).replace(
133
+ H,
134
+ "$&/"
135
+ ) + "/") + u
136
+ )), e.push(s)), 1;
137
+ u = 0;
138
+ var p = r === "" ? "." : r + ":";
139
+ if (g(t))
140
+ for (var c = 0; c < t.length; c++)
141
+ r = t[c], f = p + m(r, c), u += a(
142
+ r,
143
+ e,
144
+ n,
145
+ f,
146
+ s
147
+ );
148
+ else if (c = D(t), typeof c == "function")
149
+ for (t = c.call(t), c = 0; !(r = t.next()).done; )
150
+ r = r.value, f = p + m(r, c++), u += a(
151
+ r,
152
+ e,
153
+ n,
154
+ f,
155
+ s
156
+ );
157
+ else if (f === "object") {
158
+ if (typeof t.then == "function")
159
+ return a(
160
+ G(t),
161
+ e,
162
+ n,
163
+ r,
164
+ s
165
+ );
166
+ throw e = String(t), Error(
167
+ "Objects are not valid as a React child (found: " + (e === "[object Object]" ? "object with keys {" + Object.keys(t).join(", ") + "}" : e) + "). If you meant to render a collection of children, use an array instead."
168
+ );
169
+ }
170
+ return u;
171
+ }
172
+ function l(t, e, n) {
173
+ if (t == null) return t;
174
+ var r = [], s = 0;
175
+ return a(t, r, "", "", function(f) {
176
+ return e.call(n, f, s++);
177
+ }), r;
178
+ }
179
+ function K(t) {
180
+ if (t._status === -1) {
181
+ var e = t._result;
182
+ e = e(), e.then(
183
+ function(n) {
184
+ (t._status === 0 || t._status === -1) && (t._status = 1, t._result = n);
185
+ },
186
+ function(n) {
187
+ (t._status === 0 || t._status === -1) && (t._status = 2, t._result = n);
188
+ }
189
+ ), t._status === -1 && (t._status = 0, t._result = e);
190
+ }
191
+ if (t._status === 1) return t._result.default;
192
+ throw t._result;
193
+ }
194
+ var P = typeof reportError == "function" ? reportError : function(t) {
195
+ if (typeof window == "object" && typeof window.ErrorEvent == "function") {
196
+ var e = new window.ErrorEvent("error", {
197
+ bubbles: !0,
198
+ cancelable: !0,
199
+ message: typeof t == "object" && t !== null && typeof t.message == "string" ? String(t.message) : String(t),
200
+ error: t
201
+ });
202
+ if (!window.dispatchEvent(e)) return;
203
+ } else if (typeof process == "object" && typeof process.emit == "function") {
204
+ process.emit("uncaughtException", t);
205
+ return;
206
+ }
207
+ console.error(t);
208
+ };
209
+ function B() {
210
+ }
211
+ return o.Children = {
212
+ map: l,
213
+ forEach: function(t, e, n) {
214
+ l(
215
+ t,
216
+ function() {
217
+ e.apply(this, arguments);
218
+ },
219
+ n
220
+ );
221
+ },
222
+ count: function(t) {
223
+ var e = 0;
224
+ return l(t, function() {
225
+ e++;
226
+ }), e;
227
+ },
228
+ toArray: function(t) {
229
+ return l(t, function(e) {
230
+ return e;
231
+ }) || [];
232
+ },
233
+ only: function(t) {
234
+ if (!T(t))
235
+ throw Error(
236
+ "React.Children.only expected to receive a single React element child."
237
+ );
238
+ return t;
239
+ }
240
+ }, o.Component = _, o.Fragment = M, o.Profiler = I, o.PureComponent = y, o.StrictMode = Y, o.Suspense = x, o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = i, o.__COMPILER_RUNTIME = {
241
+ __proto__: null,
242
+ c: function(t) {
243
+ return i.H.useMemoCache(t);
244
+ }
245
+ }, o.cache = function(t) {
246
+ return function() {
247
+ return t.apply(null, arguments);
248
+ };
249
+ }, o.cloneElement = function(t, e, n) {
250
+ if (t == null)
251
+ throw Error(
252
+ "The argument must be a React element, but you passed " + t + "."
253
+ );
254
+ var r = A({}, t.props), s = t.key, f = void 0;
255
+ if (e != null)
256
+ for (u in e.ref !== void 0 && (f = void 0), e.key !== void 0 && (s = "" + e.key), e)
257
+ !O.call(e, u) || u === "key" || u === "__self" || u === "__source" || u === "ref" && e.ref === void 0 || (r[u] = e[u]);
258
+ var u = arguments.length - 2;
259
+ if (u === 1) r.children = n;
260
+ else if (1 < u) {
261
+ for (var p = Array(u), c = 0; c < u; c++)
262
+ p[c] = arguments[c + 2];
263
+ r.children = p;
264
+ }
265
+ return R(t.type, s, void 0, void 0, f, r);
266
+ }, o.createContext = function(t) {
267
+ return t = {
268
+ $$typeof: U,
269
+ _currentValue: t,
270
+ _currentValue2: t,
271
+ _threadCount: 0,
272
+ Provider: null,
273
+ Consumer: null
274
+ }, t.Provider = t, t.Consumer = {
275
+ $$typeof: L,
276
+ _context: t
277
+ }, t;
278
+ }, o.createElement = function(t, e, n) {
279
+ var r, s = {}, f = null;
280
+ if (e != null)
281
+ for (r in e.key !== void 0 && (f = "" + e.key), e)
282
+ O.call(e, r) && r !== "key" && r !== "__self" && r !== "__source" && (s[r] = e[r]);
283
+ var u = arguments.length - 2;
284
+ if (u === 1) s.children = n;
285
+ else if (1 < u) {
286
+ for (var p = Array(u), c = 0; c < u; c++)
287
+ p[c] = arguments[c + 2];
288
+ s.children = p;
289
+ }
290
+ if (t && t.defaultProps)
291
+ for (r in u = t.defaultProps, u)
292
+ s[r] === void 0 && (s[r] = u[r]);
293
+ return R(t, f, void 0, void 0, null, s);
294
+ }, o.createRef = function() {
295
+ return { current: null };
296
+ }, o.forwardRef = function(t) {
297
+ return { $$typeof: k, render: t };
298
+ }, o.isValidElement = T, o.lazy = function(t) {
299
+ return {
300
+ $$typeof: d,
301
+ _payload: { _status: -1, _result: t },
302
+ _init: K
303
+ };
304
+ }, o.memo = function(t, e) {
305
+ return {
306
+ $$typeof: b,
307
+ type: t,
308
+ compare: e === void 0 ? null : e
66
309
  };
67
- a.exports = u;
68
- }(), a.exports);
310
+ }, o.startTransition = function(t) {
311
+ var e = i.T, n = {};
312
+ i.T = n;
313
+ try {
314
+ var r = t(), s = i.S;
315
+ s !== null && s(n, r), typeof r == "object" && r !== null && typeof r.then == "function" && r.then(B, P);
316
+ } catch (f) {
317
+ P(f);
318
+ } finally {
319
+ i.T = e;
320
+ }
321
+ }, o.unstable_useCacheRefresh = function() {
322
+ return i.H.useCacheRefresh();
323
+ }, o.use = function(t) {
324
+ return i.H.use(t);
325
+ }, o.useActionState = function(t, e, n) {
326
+ return i.H.useActionState(t, e, n);
327
+ }, o.useCallback = function(t, e) {
328
+ return i.H.useCallback(t, e);
329
+ }, o.useContext = function(t) {
330
+ return i.H.useContext(t);
331
+ }, o.useDebugValue = function() {
332
+ }, o.useDeferredValue = function(t, e) {
333
+ return i.H.useDeferredValue(t, e);
334
+ }, o.useEffect = function(t, e, n) {
335
+ var r = i.H;
336
+ if (typeof n == "function")
337
+ throw Error(
338
+ "useEffect CRUD overload is not enabled in this build of React."
339
+ );
340
+ return r.useEffect(t, e);
341
+ }, o.useId = function() {
342
+ return i.H.useId();
343
+ }, o.useImperativeHandle = function(t, e, n) {
344
+ return i.H.useImperativeHandle(t, e, n);
345
+ }, o.useInsertionEffect = function(t, e) {
346
+ return i.H.useInsertionEffect(t, e);
347
+ }, o.useLayoutEffect = function(t, e) {
348
+ return i.H.useLayoutEffect(t, e);
349
+ }, o.useMemo = function(t, e) {
350
+ return i.H.useMemo(t, e);
351
+ }, o.useOptimistic = function(t, e) {
352
+ return i.H.useOptimistic(t, e);
353
+ }, o.useReducer = function(t, e, n) {
354
+ return i.H.useReducer(t, e, n);
355
+ }, o.useRef = function(t) {
356
+ return i.H.useRef(t);
357
+ }, o.useState = function(t) {
358
+ return i.H.useState(t);
359
+ }, o.useSyncExternalStore = function(t, e, n) {
360
+ return i.H.useSyncExternalStore(
361
+ t,
362
+ e,
363
+ n
364
+ );
365
+ }, o.useTransition = function() {
366
+ return i.H.useTransition();
367
+ }, o.version = "19.1.2", o;
69
368
  }
70
369
  export {
71
- c as __require
370
+ X as __require
72
371
  };