@coinbase/cdp-core 0.0.110 → 0.0.111

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 (346) hide show
  1. package/dist/esm/index.web107.js +3 -3
  2. package/dist/esm/index.web110.js +2 -2
  3. package/dist/esm/index.web114.js +3 -3
  4. package/dist/esm/index.web126.js +373 -13
  5. package/dist/esm/index.web127.js +28 -22
  6. package/dist/esm/index.web128.js +28 -50
  7. package/dist/esm/index.web129.js +2 -379
  8. package/dist/esm/index.web13.js +41 -39
  9. package/dist/esm/index.web130.js +68 -2
  10. package/dist/esm/index.web131.js +336 -37
  11. package/dist/esm/index.web132.js +12 -360
  12. package/dist/esm/index.web133.js +22 -28
  13. package/dist/esm/index.web134.js +50 -28
  14. package/dist/esm/index.web135.js +944 -54
  15. package/dist/esm/index.web136.js +2 -11
  16. package/dist/esm/index.web137.js +50 -2
  17. package/dist/esm/index.web138.js +27 -45
  18. package/dist/esm/index.web139.js +4 -13
  19. package/dist/esm/index.web140.js +5 -945
  20. package/dist/esm/index.web141.js +48 -2
  21. package/dist/esm/index.web142.js +14 -49
  22. package/dist/esm/index.web143.js +28 -26
  23. package/dist/esm/index.web144.js +7 -4
  24. package/dist/esm/index.web145.js +3 -12
  25. package/dist/esm/index.web146.js +28 -11
  26. package/dist/esm/index.web147.js +9 -5
  27. package/dist/esm/index.web148.js +7 -47
  28. package/dist/esm/index.web149.js +72 -6
  29. package/dist/esm/index.web150.js +10 -10
  30. package/dist/esm/index.web151.js +3 -7
  31. package/dist/esm/index.web152.js +15 -3
  32. package/dist/esm/index.web153.js +4 -28
  33. package/dist/esm/index.web154.js +14 -8
  34. package/dist/esm/index.web155.js +19 -7
  35. package/dist/esm/index.web156.js +48 -67
  36. package/dist/esm/index.web157.js +16 -27
  37. package/dist/esm/index.web158.js +23 -3
  38. package/dist/esm/index.web159.js +8 -15
  39. package/dist/esm/index.web160.js +42 -4
  40. package/dist/esm/index.web161.js +7 -14
  41. package/dist/esm/index.web162.js +11 -10
  42. package/dist/esm/index.web163.js +10 -59
  43. package/dist/esm/index.web164.js +11 -17
  44. package/dist/esm/index.web165.js +53 -22
  45. package/dist/esm/index.web166.js +10 -8
  46. package/dist/esm/index.web167.js +2 -43
  47. package/dist/esm/index.web168.js +45 -8
  48. package/dist/esm/index.web169.js +13 -20
  49. package/dist/esm/index.web185.js +1 -1
  50. package/dist/esm/index.web187.js +1 -1
  51. package/dist/esm/index.web188.js +2 -2
  52. package/dist/esm/index.web190.js +1 -1
  53. package/dist/esm/index.web191.js +2 -2
  54. package/dist/esm/index.web199.js +2 -2
  55. package/dist/esm/index.web2.js +2 -2
  56. package/dist/esm/index.web202.js +1 -1
  57. package/dist/esm/index.web209.js +2 -21
  58. package/dist/esm/index.web210.js +109 -10
  59. package/dist/esm/index.web211.js +2 -20
  60. package/dist/esm/index.web212.js +39 -94
  61. package/dist/esm/index.web213.js +2 -21
  62. package/dist/esm/index.web214.js +69 -117
  63. package/dist/esm/index.web215.js +35 -2
  64. package/dist/esm/index.web216.js +14 -108
  65. package/dist/esm/index.web217.js +8 -2
  66. package/dist/esm/index.web218.js +2 -104
  67. package/dist/esm/index.web219.js +361 -71
  68. package/dist/esm/index.web220.js +826 -78
  69. package/dist/esm/index.web221.js +103 -38
  70. package/dist/esm/index.web222.js +79 -2
  71. package/dist/esm/index.web223.js +78 -69
  72. package/dist/esm/index.web224.js +20 -34
  73. package/dist/esm/index.web225.js +10 -15
  74. package/dist/esm/index.web226.js +20 -8
  75. package/dist/esm/index.web227.js +94 -2
  76. package/dist/esm/index.web228.js +21 -369
  77. package/dist/esm/index.web229.js +118 -827
  78. package/dist/esm/index.web230.js +14 -40
  79. package/dist/esm/index.web231.js +2 -21
  80. package/dist/esm/index.web232.js +20 -2
  81. package/dist/esm/index.web233.js +6 -19
  82. package/dist/esm/index.web235.js +46 -6
  83. package/dist/esm/index.web236.js +3 -17
  84. package/dist/esm/index.web237.js +2 -28
  85. package/dist/esm/index.web238.js +2 -8
  86. package/dist/esm/index.web239.js +2 -11
  87. package/dist/esm/index.web240.js +16 -11
  88. package/dist/esm/index.web241.js +28 -10
  89. package/dist/esm/index.web242.js +8 -17
  90. package/dist/esm/index.web243.js +9 -79
  91. package/dist/esm/index.web244.js +12 -3
  92. package/dist/esm/index.web245.js +10 -2
  93. package/dist/esm/index.web246.js +17 -2
  94. package/dist/esm/index.web247.js +81 -2
  95. package/dist/esm/index.web249.js +14 -78
  96. package/dist/esm/index.web250.js +78 -14
  97. package/dist/esm/index.web3.js +1 -1
  98. package/dist/esm/index.web49.js +9 -8
  99. package/dist/esm/index.web9.js +1 -1
  100. package/dist/esm/index.web99.js +1 -1
  101. package/dist/native/index.native109.js +3 -3
  102. package/dist/native/index.native11.js +1 -1
  103. package/dist/native/index.native112.js +2 -2
  104. package/dist/native/index.native127.js +12 -12
  105. package/dist/native/index.native128.js +3 -3
  106. package/dist/native/index.native129.js +12 -12
  107. package/dist/native/index.native130.js +12 -12
  108. package/dist/native/index.native131.js +2 -92
  109. package/dist/native/index.native132.js +63 -14
  110. package/dist/native/index.native133.js +360 -18
  111. package/dist/native/index.native134.js +13 -47
  112. package/dist/native/index.native135.js +25 -2
  113. package/dist/native/index.native136.js +48 -63
  114. package/dist/native/index.native137.js +87 -362
  115. package/dist/native/index.native140.js +1 -1
  116. package/dist/native/index.native141.js +1 -1
  117. package/dist/native/index.native142.js +13 -5
  118. package/dist/native/index.native143.js +11 -47
  119. package/dist/native/index.native144.js +4 -54
  120. package/dist/native/index.native145.js +54 -10
  121. package/dist/native/index.native146.js +11 -2
  122. package/dist/native/index.native147.js +2 -45
  123. package/dist/native/index.native148.js +44 -13
  124. package/dist/native/index.native149.js +13 -4
  125. package/dist/native/index.native15.js +41 -39
  126. package/dist/native/index.native150.js +5 -13
  127. package/dist/native/index.native151.js +47 -11
  128. package/dist/native/index.native152.js +14 -35
  129. package/dist/native/index.native153.js +25 -65
  130. package/dist/native/index.native154.js +7 -13
  131. package/dist/native/index.native155.js +3 -27
  132. package/dist/native/index.native156.js +27 -7
  133. package/dist/native/index.native157.js +8 -3
  134. package/dist/native/index.native158.js +7 -27
  135. package/dist/native/index.native159.js +79 -8
  136. package/dist/native/index.native160.js +27 -7
  137. package/dist/native/index.native161.js +3 -79
  138. package/dist/native/index.native162.js +5 -18
  139. package/dist/native/index.native163.js +4 -3
  140. package/dist/native/index.native164.js +3 -4
  141. package/dist/native/index.native165.js +19 -4
  142. package/dist/native/index.native166.js +52 -5
  143. package/dist/native/index.native167.js +17 -19
  144. package/dist/native/index.native168.js +18 -55
  145. package/dist/native/index.native169.js +8 -17
  146. package/dist/native/index.native170.js +37 -19
  147. package/dist/native/index.native171.js +7 -8
  148. package/dist/native/index.native172.js +17 -38
  149. package/dist/native/index.native173.js +35 -8
  150. package/dist/native/index.native174.js +65 -18
  151. package/dist/native/index.native175.js +14 -2
  152. package/dist/native/index.native176.js +56 -2
  153. package/dist/native/index.native177.js +6 -13
  154. package/dist/native/index.native178.js +20 -54
  155. package/dist/native/index.native179.js +17 -6
  156. package/dist/native/index.native180.js +44 -20
  157. package/dist/native/index.native181.js +3 -17
  158. package/dist/native/index.native182.js +3 -45
  159. package/dist/native/index.native183.js +34 -3
  160. package/dist/native/index.native184.js +12 -3
  161. package/dist/native/index.native185.js +4 -34
  162. package/dist/native/index.native186.js +27 -11
  163. package/dist/native/index.native187.js +6 -4
  164. package/dist/native/index.native188.js +29 -25
  165. package/dist/native/index.native189.js +12 -6
  166. package/dist/native/index.native190.js +54 -31
  167. package/dist/native/index.native191.js +41 -11
  168. package/dist/native/index.native192.js +126 -54
  169. package/dist/native/index.native193.js +100 -38
  170. package/dist/native/index.native194.js +6 -127
  171. package/dist/native/index.native195.js +3 -105
  172. package/dist/native/index.native196.js +78 -6
  173. package/dist/native/index.native197.js +2 -3
  174. package/dist/native/index.native198.js +2 -79
  175. package/dist/native/index.native199.js +38 -2
  176. package/dist/native/index.native2.js +2 -2
  177. package/dist/native/index.native200.js +7 -2
  178. package/dist/native/index.native201.js +29 -32
  179. package/dist/native/index.native202.js +14 -6
  180. package/dist/native/index.native203.js +30 -30
  181. package/dist/native/index.native204.js +18 -14
  182. package/dist/native/index.native205.js +8 -34
  183. package/dist/native/index.native206.js +9 -17
  184. package/dist/native/index.native207.js +11 -8
  185. package/dist/native/index.native208.js +13 -10
  186. package/dist/native/index.native209.js +5 -11
  187. package/dist/native/index.native210.js +5 -14
  188. package/dist/native/index.native211.js +10 -5
  189. package/dist/native/index.native212.js +2 -5
  190. package/dist/native/index.native213.js +2 -11
  191. package/dist/native/index.native214.js +103 -38
  192. package/dist/native/index.native215.js +79 -2
  193. package/dist/native/index.native216.js +78 -69
  194. package/dist/native/index.native217.js +2 -35
  195. package/dist/native/index.native218.js +108 -14
  196. package/dist/native/index.native219.js +2 -8
  197. package/dist/native/index.native220.js +21 -2
  198. package/dist/native/index.native221.js +10 -369
  199. package/dist/native/index.native222.js +20 -827
  200. package/dist/native/index.native223.js +93 -20
  201. package/dist/native/index.native224.js +20 -9
  202. package/dist/native/index.native225.js +114 -16
  203. package/dist/native/index.native226.js +8 -94
  204. package/dist/native/index.native227.js +2 -21
  205. package/dist/native/index.native228.js +361 -110
  206. package/dist/native/index.native229.js +827 -2
  207. package/dist/native/index.native230.js +37 -107
  208. package/dist/native/index.native232.js +69 -103
  209. package/dist/native/index.native233.js +32 -76
  210. package/dist/native/index.native234.js +14 -78
  211. package/dist/native/index.native235.js +2 -2
  212. package/dist/native/index.native236.js +21 -2
  213. package/dist/native/index.native237.js +2 -2
  214. package/dist/native/index.native238.js +20 -2
  215. package/dist/native/index.native239.js +30 -18
  216. package/dist/native/index.native240.js +7 -2
  217. package/dist/native/index.native241.js +3 -19
  218. package/dist/native/index.native242.js +17 -32
  219. package/dist/native/index.native243.js +28 -7
  220. package/dist/native/index.native244.js +8 -18
  221. package/dist/native/index.native245.js +9 -26
  222. package/dist/native/index.native246.js +13 -8
  223. package/dist/native/index.native247.js +10 -11
  224. package/dist/native/index.native248.js +15 -11
  225. package/dist/native/index.native249.js +80 -9
  226. package/dist/native/index.native250.js +2 -17
  227. package/dist/native/index.native251.js +2 -81
  228. package/dist/native/index.native252.js +2 -4
  229. package/dist/native/index.native254.js +14 -78
  230. package/dist/native/index.native255.js +78 -14
  231. package/dist/native/index.native3.js +1 -1
  232. package/dist/native/index.native51.js +15 -14
  233. package/dist/native/index.native86.js +1 -1
  234. package/dist/native-types/actions/linkOAuth.d.ts +2 -0
  235. package/dist/native-types/actions/signInWithOAuth.d.ts +2 -0
  236. package/dist/native-types/shared/initiateSignIn.d.ts +1 -0
  237. package/dist/native-types/version.d.ts +1 -1
  238. package/dist/types/actions/linkOAuth.d.ts +2 -0
  239. package/dist/types/actions/signInWithOAuth.d.ts +2 -0
  240. package/dist/types/shared/initiateSignIn.d.ts +1 -0
  241. package/dist/types/version.d.ts +1 -1
  242. package/dist/web/index.web107.js +3 -3
  243. package/dist/web/index.web110.js +2 -2
  244. package/dist/web/index.web114.js +3 -3
  245. package/dist/web/index.web126.js +373 -13
  246. package/dist/web/index.web127.js +28 -22
  247. package/dist/web/index.web128.js +28 -50
  248. package/dist/web/index.web129.js +2 -379
  249. package/dist/web/index.web13.js +41 -39
  250. package/dist/web/index.web130.js +68 -2
  251. package/dist/web/index.web131.js +336 -37
  252. package/dist/web/index.web132.js +12 -360
  253. package/dist/web/index.web133.js +22 -28
  254. package/dist/web/index.web134.js +50 -28
  255. package/dist/web/index.web135.js +944 -54
  256. package/dist/web/index.web136.js +2 -11
  257. package/dist/web/index.web137.js +50 -2
  258. package/dist/web/index.web138.js +27 -45
  259. package/dist/web/index.web139.js +4 -13
  260. package/dist/web/index.web140.js +5 -945
  261. package/dist/web/index.web141.js +48 -2
  262. package/dist/web/index.web142.js +14 -49
  263. package/dist/web/index.web143.js +28 -26
  264. package/dist/web/index.web144.js +7 -4
  265. package/dist/web/index.web145.js +3 -12
  266. package/dist/web/index.web146.js +28 -11
  267. package/dist/web/index.web147.js +9 -5
  268. package/dist/web/index.web148.js +7 -47
  269. package/dist/web/index.web149.js +72 -6
  270. package/dist/web/index.web150.js +10 -10
  271. package/dist/web/index.web151.js +3 -7
  272. package/dist/web/index.web152.js +15 -3
  273. package/dist/web/index.web153.js +4 -28
  274. package/dist/web/index.web154.js +14 -8
  275. package/dist/web/index.web155.js +19 -7
  276. package/dist/web/index.web156.js +48 -67
  277. package/dist/web/index.web157.js +16 -27
  278. package/dist/web/index.web158.js +23 -3
  279. package/dist/web/index.web159.js +8 -15
  280. package/dist/web/index.web160.js +42 -4
  281. package/dist/web/index.web161.js +7 -14
  282. package/dist/web/index.web162.js +11 -10
  283. package/dist/web/index.web163.js +10 -59
  284. package/dist/web/index.web164.js +11 -17
  285. package/dist/web/index.web165.js +53 -22
  286. package/dist/web/index.web166.js +10 -8
  287. package/dist/web/index.web167.js +2 -43
  288. package/dist/web/index.web168.js +45 -8
  289. package/dist/web/index.web169.js +13 -20
  290. package/dist/web/index.web185.js +1 -1
  291. package/dist/web/index.web187.js +1 -1
  292. package/dist/web/index.web188.js +2 -2
  293. package/dist/web/index.web190.js +1 -1
  294. package/dist/web/index.web191.js +2 -2
  295. package/dist/web/index.web199.js +2 -2
  296. package/dist/web/index.web2.js +2 -2
  297. package/dist/web/index.web202.js +1 -1
  298. package/dist/web/index.web209.js +2 -21
  299. package/dist/web/index.web210.js +109 -10
  300. package/dist/web/index.web211.js +2 -20
  301. package/dist/web/index.web212.js +39 -94
  302. package/dist/web/index.web213.js +2 -21
  303. package/dist/web/index.web214.js +69 -117
  304. package/dist/web/index.web215.js +35 -2
  305. package/dist/web/index.web216.js +14 -108
  306. package/dist/web/index.web217.js +8 -2
  307. package/dist/web/index.web218.js +2 -104
  308. package/dist/web/index.web219.js +361 -71
  309. package/dist/web/index.web220.js +826 -78
  310. package/dist/web/index.web221.js +103 -38
  311. package/dist/web/index.web222.js +79 -2
  312. package/dist/web/index.web223.js +78 -69
  313. package/dist/web/index.web224.js +20 -34
  314. package/dist/web/index.web225.js +10 -15
  315. package/dist/web/index.web226.js +20 -8
  316. package/dist/web/index.web227.js +94 -2
  317. package/dist/web/index.web228.js +21 -369
  318. package/dist/web/index.web229.js +118 -827
  319. package/dist/web/index.web230.js +14 -40
  320. package/dist/web/index.web231.js +2 -21
  321. package/dist/web/index.web232.js +20 -2
  322. package/dist/web/index.web233.js +6 -19
  323. package/dist/web/index.web235.js +46 -6
  324. package/dist/web/index.web236.js +3 -17
  325. package/dist/web/index.web237.js +2 -28
  326. package/dist/web/index.web238.js +2 -8
  327. package/dist/web/index.web239.js +2 -11
  328. package/dist/web/index.web240.js +16 -11
  329. package/dist/web/index.web241.js +28 -10
  330. package/dist/web/index.web242.js +8 -17
  331. package/dist/web/index.web243.js +9 -79
  332. package/dist/web/index.web244.js +12 -3
  333. package/dist/web/index.web245.js +10 -2
  334. package/dist/web/index.web246.js +17 -2
  335. package/dist/web/index.web247.js +81 -2
  336. package/dist/web/index.web249.js +14 -78
  337. package/dist/web/index.web250.js +78 -14
  338. package/dist/web/index.web3.js +1 -1
  339. package/dist/web/index.web49.js +9 -8
  340. package/dist/web/index.web9.js +1 -1
  341. package/dist/web/index.web99.js +1 -1
  342. package/dist/web-types/actions/linkOAuth.d.ts +2 -0
  343. package/dist/web-types/actions/signInWithOAuth.d.ts +2 -0
  344. package/dist/web-types/shared/initiateSignIn.d.ts +1 -0
  345. package/dist/web-types/version.d.ts +1 -1
  346. package/package.json +2 -2
@@ -1,120 +1,371 @@
1
- import { isJWK as p } from "./index.native250.js";
2
- import { decode as m } from "./index.native223.js";
3
- import y from "./index.native251.js";
4
- import { isCryptoKey as S, isKeyObject as K } from "./index.native249.js";
5
- let c;
6
- const f = async (e, r, s, i = !1) => {
7
- c ||= /* @__PURE__ */ new WeakMap();
8
- let n = c.get(e);
9
- if (n?.[s])
10
- return n[s];
11
- const t = await y({ ...r, alg: s });
12
- return i && Object.freeze(e), n ? n[s] = t : c.set(e, { [s]: t }), t;
13
- }, E = (e, r) => {
14
- c ||= /* @__PURE__ */ new WeakMap();
15
- let s = c.get(e);
16
- if (s?.[r])
17
- return s[r];
18
- const i = e.type === "public", n = !!i;
19
- let t;
20
- if (e.asymmetricKeyType === "x25519") {
21
- switch (r) {
22
- case "ECDH-ES":
23
- case "ECDH-ES+A128KW":
24
- case "ECDH-ES+A192KW":
25
- case "ECDH-ES+A256KW":
26
- break;
27
- default:
28
- throw new TypeError("given KeyObject instance cannot be used for this algorithm");
1
+ import { __exports as o } from "./index.native250.js";
2
+ var $;
3
+ function X() {
4
+ if ($) return o;
5
+ $ = 1;
6
+ var E = /* @__PURE__ */ Symbol.for("react.transitional.element"), N = /* @__PURE__ */ Symbol.for("react.portal"), M = /* @__PURE__ */ Symbol.for("react.fragment"), Y = /* @__PURE__ */ Symbol.for("react.strict_mode"), I = /* @__PURE__ */ Symbol.for("react.profiler"), L = /* @__PURE__ */ Symbol.for("react.consumer"), U = /* @__PURE__ */ Symbol.for("react.context"), k = /* @__PURE__ */ Symbol.for("react.forward_ref"), x = /* @__PURE__ */ Symbol.for("react.suspense"), b = /* @__PURE__ */ Symbol.for("react.memo"), d = /* @__PURE__ */ 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() {
29
19
  }
30
- t = e.toCryptoKey(e.asymmetricKeyType, n, i ? [] : ["deriveBits"]);
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
+ );
31
60
  }
32
- if (e.asymmetricKeyType === "ed25519") {
33
- if (r !== "EdDSA" && r !== "Ed25519")
34
- throw new TypeError("given KeyObject instance cannot be used for this algorithm");
35
- t = e.toCryptoKey(e.asymmetricKeyType, n, [
36
- i ? "verify" : "sign"
37
- ]);
61
+ function T(t) {
62
+ return typeof t == "object" && t !== null && t.$$typeof === E;
38
63
  }
39
- if (e.asymmetricKeyType === "rsa") {
40
- let a;
41
- switch (r) {
42
- case "RSA-OAEP":
43
- a = "SHA-1";
44
- break;
45
- case "RS256":
46
- case "PS256":
47
- case "RSA-OAEP-256":
48
- a = "SHA-256";
49
- break;
50
- case "RS384":
51
- case "PS384":
52
- case "RSA-OAEP-384":
53
- a = "SHA-384";
54
- break;
55
- case "RS512":
56
- case "PS512":
57
- case "RSA-OAEP-512":
58
- a = "SHA-512";
59
- break;
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;
60
82
  default:
61
- throw new TypeError("given KeyObject instance cannot be used for this algorithm");
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
+ }
62
96
  }
63
- if (r.startsWith("RSA-OAEP"))
64
- return e.toCryptoKey({
65
- name: "RSA-OAEP",
66
- hash: a
67
- }, n, i ? ["encrypt"] : ["decrypt"]);
68
- t = e.toCryptoKey({
69
- name: r.startsWith("PS") ? "RSA-PSS" : "RSASSA-PKCS1-v1_5",
70
- hash: a
71
- }, n, [i ? "verify" : "sign"]);
97
+ throw t;
72
98
  }
73
- if (e.asymmetricKeyType === "ec") {
74
- const o = (/* @__PURE__ */ new Map([
75
- ["prime256v1", "P-256"],
76
- ["secp384r1", "P-384"],
77
- ["secp521r1", "P-521"]
78
- ])).get(e.asymmetricKeyDetails?.namedCurve);
79
- if (!o)
80
- throw new TypeError("given KeyObject instance cannot be used for this algorithm");
81
- r === "ES256" && o === "P-256" && (t = e.toCryptoKey({
82
- name: "ECDSA",
83
- namedCurve: o
84
- }, n, [i ? "verify" : "sign"])), r === "ES384" && o === "P-384" && (t = e.toCryptoKey({
85
- name: "ECDSA",
86
- namedCurve: o
87
- }, n, [i ? "verify" : "sign"])), r === "ES512" && o === "P-521" && (t = e.toCryptoKey({
88
- name: "ECDSA",
89
- namedCurve: o
90
- }, n, [i ? "verify" : "sign"])), r.startsWith("ECDH-ES") && (t = e.toCryptoKey({
91
- name: "ECDH",
92
- namedCurve: o
93
- }, n, i ? [] : ["deriveBits"]));
94
- }
95
- if (!t)
96
- throw new TypeError("given KeyObject instance cannot be used for this algorithm");
97
- return s ? s[r] = t : c.set(e, { [r]: t }), t;
98
- }, d = async (e, r) => {
99
- if (e instanceof Uint8Array || S(e))
100
- return e;
101
- if (K(e)) {
102
- if (e.type === "secret")
103
- return e.export();
104
- if ("toCryptoKey" in e && typeof e.toCryptoKey == "function")
105
- try {
106
- return E(e, r);
107
- } catch (i) {
108
- if (i instanceof TypeError)
109
- throw i;
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
+ }
110
126
  }
111
- let s = e.export({ format: "jwk" });
112
- return f(e, s, r);
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;
113
171
  }
114
- if (p(e))
115
- return e.k ? m(e.k) : f(e, e, r, !0);
116
- throw new Error("unreachable");
117
- };
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
309
+ };
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;
368
+ }
118
369
  export {
119
- d as default
370
+ X as __require
120
371
  };