tapimo 0.0.0 → 0.0.2

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 (422) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +119 -0
  3. package/dist/ApiKey.d.ts +65 -0
  4. package/dist/ApiKey.d.ts.map +1 -0
  5. package/dist/ApiKey.js +105 -0
  6. package/dist/ApiKey.js.map +1 -0
  7. package/dist/ApiKeySource.d.ts +166 -0
  8. package/dist/ApiKeySource.d.ts.map +1 -0
  9. package/dist/ApiKeySource.js +234 -0
  10. package/dist/ApiKeySource.js.map +1 -0
  11. package/dist/App.d.ts +19317 -0
  12. package/dist/App.d.ts.map +1 -0
  13. package/dist/App.js +612 -0
  14. package/dist/App.js.map +1 -0
  15. package/dist/Assets.d.ts +44 -0
  16. package/dist/Assets.d.ts.map +1 -0
  17. package/dist/Assets.js +23 -0
  18. package/dist/Assets.js.map +1 -0
  19. package/dist/Auth.d.ts +2 -0
  20. package/dist/Auth.d.ts.map +1 -0
  21. package/dist/Auth.js +2 -0
  22. package/dist/Auth.js.map +1 -0
  23. package/dist/Cli.d.ts +21 -0
  24. package/dist/Cli.d.ts.map +1 -0
  25. package/dist/Cli.js +13 -0
  26. package/dist/Cli.js.map +1 -0
  27. package/dist/Client.d.ts +20 -0
  28. package/dist/Client.d.ts.map +1 -0
  29. package/dist/Client.js +24 -0
  30. package/dist/Client.js.map +1 -0
  31. package/dist/Metrics.d.ts +70 -0
  32. package/dist/Metrics.d.ts.map +1 -0
  33. package/dist/Metrics.js +91 -0
  34. package/dist/Metrics.js.map +1 -0
  35. package/dist/Scope.d.ts +35 -0
  36. package/dist/Scope.d.ts.map +1 -0
  37. package/dist/Scope.js +38 -0
  38. package/dist/Scope.js.map +1 -0
  39. package/dist/Webhooks.d.ts +79 -0
  40. package/dist/Webhooks.d.ts.map +1 -0
  41. package/dist/Webhooks.js +107 -0
  42. package/dist/Webhooks.js.map +1 -0
  43. package/dist/admin/Access.d.ts +41 -0
  44. package/dist/admin/Access.d.ts.map +1 -0
  45. package/dist/admin/Access.js +75 -0
  46. package/dist/admin/Access.js.map +1 -0
  47. package/dist/admin/App.d.ts +1221 -0
  48. package/dist/admin/App.d.ts.map +1 -0
  49. package/dist/admin/App.js +113 -0
  50. package/dist/admin/App.js.map +1 -0
  51. package/dist/admin/apps/api-keys.d.ts +209 -0
  52. package/dist/admin/apps/api-keys.d.ts.map +1 -0
  53. package/dist/admin/apps/api-keys.js +129 -0
  54. package/dist/admin/apps/api-keys.js.map +1 -0
  55. package/dist/admin/apps/scopes.d.ts +46 -0
  56. package/dist/admin/apps/scopes.d.ts.map +1 -0
  57. package/dist/admin/apps/scopes.js +41 -0
  58. package/dist/admin/apps/scopes.js.map +1 -0
  59. package/dist/admin/apps/verified-tokens.d.ts +1206 -0
  60. package/dist/admin/apps/verified-tokens.d.ts.map +1 -0
  61. package/dist/admin/apps/verified-tokens.js +485 -0
  62. package/dist/admin/apps/verified-tokens.js.map +1 -0
  63. package/dist/admin/index.d.ts +3 -0
  64. package/dist/admin/index.d.ts.map +1 -0
  65. package/dist/admin/index.js +3 -0
  66. package/dist/admin/index.js.map +1 -0
  67. package/dist/admin/ui.generated.d.ts +11 -0
  68. package/dist/admin/ui.generated.d.ts.map +1 -0
  69. package/dist/admin/ui.generated.js +43 -0
  70. package/dist/admin/ui.generated.js.map +1 -0
  71. package/dist/apps/activities.d.ts +18725 -0
  72. package/dist/apps/activities.d.ts.map +1 -0
  73. package/dist/apps/activities.js +3138 -0
  74. package/dist/apps/activities.js.map +1 -0
  75. package/dist/apps/addresses.d.ts +3662 -0
  76. package/dist/apps/addresses.d.ts.map +1 -0
  77. package/dist/apps/addresses.js +22 -0
  78. package/dist/apps/addresses.js.map +1 -0
  79. package/dist/apps/balances.d.ts +342 -0
  80. package/dist/apps/balances.d.ts.map +1 -0
  81. package/dist/apps/balances.js +393 -0
  82. package/dist/apps/balances.js.map +1 -0
  83. package/dist/apps/blocks.d.ts +931 -0
  84. package/dist/apps/blocks.d.ts.map +1 -0
  85. package/dist/apps/blocks.js +689 -0
  86. package/dist/apps/blocks.js.map +1 -0
  87. package/dist/apps/coingecko.d.ts +1053 -0
  88. package/dist/apps/coingecko.d.ts.map +1 -0
  89. package/dist/apps/coingecko.js +1015 -0
  90. package/dist/apps/coingecko.js.map +1 -0
  91. package/dist/apps/exchanges.d.ts +3000 -0
  92. package/dist/apps/exchanges.d.ts.map +1 -0
  93. package/dist/apps/exchanges.js +3570 -0
  94. package/dist/apps/exchanges.js.map +1 -0
  95. package/dist/apps/fee-amm.d.ts +640 -0
  96. package/dist/apps/fee-amm.d.ts.map +1 -0
  97. package/dist/apps/fee-amm.js +815 -0
  98. package/dist/apps/fee-amm.js.map +1 -0
  99. package/dist/apps/indexer.d.ts +116 -0
  100. package/dist/apps/indexer.d.ts.map +1 -0
  101. package/dist/apps/indexer.js +270 -0
  102. package/dist/apps/indexer.js.map +1 -0
  103. package/dist/apps/receipts.d.ts +1438 -0
  104. package/dist/apps/receipts.d.ts.map +1 -0
  105. package/dist/apps/receipts.js +874 -0
  106. package/dist/apps/receipts.js.map +1 -0
  107. package/dist/apps/rpc.d.ts +173 -0
  108. package/dist/apps/rpc.d.ts.map +1 -0
  109. package/dist/apps/rpc.js +191 -0
  110. package/dist/apps/rpc.js.map +1 -0
  111. package/dist/apps/tokenlist.d.ts +192 -0
  112. package/dist/apps/tokenlist.d.ts.map +1 -0
  113. package/dist/apps/tokenlist.js +153 -0
  114. package/dist/apps/tokenlist.js.map +1 -0
  115. package/dist/apps/tokens.d.ts +2246 -0
  116. package/dist/apps/tokens.d.ts.map +1 -0
  117. package/dist/apps/tokens.js +1789 -0
  118. package/dist/apps/tokens.js.map +1 -0
  119. package/dist/apps/transactions.d.ts +2327 -0
  120. package/dist/apps/transactions.d.ts.map +1 -0
  121. package/dist/apps/transactions.js +975 -0
  122. package/dist/apps/transactions.js.map +1 -0
  123. package/dist/apps/transfers.d.ts +589 -0
  124. package/dist/apps/transfers.d.ts.map +1 -0
  125. package/dist/apps/transfers.js +769 -0
  126. package/dist/apps/transfers.js.map +1 -0
  127. package/dist/apps/verified-tokens.d.ts +544 -0
  128. package/dist/apps/verified-tokens.d.ts.map +1 -0
  129. package/dist/apps/verified-tokens.js +234 -0
  130. package/dist/apps/verified-tokens.js.map +1 -0
  131. package/dist/apps/webhooks.d.ts +7684 -0
  132. package/dist/apps/webhooks.d.ts.map +1 -0
  133. package/dist/apps/webhooks.js +2112 -0
  134. package/dist/apps/webhooks.js.map +1 -0
  135. package/dist/cloudflare.d.ts +32 -0
  136. package/dist/cloudflare.d.ts.map +1 -0
  137. package/dist/cloudflare.js +45 -0
  138. package/dist/cloudflare.js.map +1 -0
  139. package/dist/index.d.ts +16 -0
  140. package/dist/index.d.ts.map +1 -0
  141. package/dist/index.js +16 -0
  142. package/dist/index.js.map +1 -0
  143. package/dist/internal/Auth.d.ts +298 -0
  144. package/dist/internal/Auth.d.ts.map +1 -0
  145. package/dist/internal/Auth.js +618 -0
  146. package/dist/internal/Auth.js.map +1 -0
  147. package/dist/internal/Cache.d.ts +74 -0
  148. package/dist/internal/Cache.d.ts.map +1 -0
  149. package/dist/internal/Cache.js +215 -0
  150. package/dist/internal/Cache.js.map +1 -0
  151. package/dist/internal/Cursor.d.ts +79 -0
  152. package/dist/internal/Cursor.d.ts.map +1 -0
  153. package/dist/internal/Cursor.js +116 -0
  154. package/dist/internal/Cursor.js.map +1 -0
  155. package/dist/internal/EdgeCache.d.ts +59 -0
  156. package/dist/internal/EdgeCache.d.ts.map +1 -0
  157. package/dist/internal/EdgeCache.js +174 -0
  158. package/dist/internal/EdgeCache.js.map +1 -0
  159. package/dist/internal/Log.d.ts +104 -0
  160. package/dist/internal/Log.d.ts.map +1 -0
  161. package/dist/internal/Log.js +118 -0
  162. package/dist/internal/Log.js.map +1 -0
  163. package/dist/internal/MetricSink.d.ts +65 -0
  164. package/dist/internal/MetricSink.d.ts.map +1 -0
  165. package/dist/internal/MetricSink.js +146 -0
  166. package/dist/internal/MetricSink.js.map +1 -0
  167. package/dist/internal/Mpp.d.ts +71 -0
  168. package/dist/internal/Mpp.d.ts.map +1 -0
  169. package/dist/internal/Mpp.js +105 -0
  170. package/dist/internal/Mpp.js.map +1 -0
  171. package/dist/internal/OpenApi.d.ts +313 -0
  172. package/dist/internal/OpenApi.d.ts.map +1 -0
  173. package/dist/internal/OpenApi.fonts.d.ts +2 -0
  174. package/dist/internal/OpenApi.fonts.d.ts.map +1 -0
  175. package/dist/internal/OpenApi.fonts.js +39 -0
  176. package/dist/internal/OpenApi.fonts.js.map +1 -0
  177. package/dist/internal/OpenApi.js +335 -0
  178. package/dist/internal/OpenApi.js.map +1 -0
  179. package/dist/internal/OpenApi.logo.d.ts +6 -0
  180. package/dist/internal/OpenApi.logo.d.ts.map +1 -0
  181. package/dist/internal/OpenApi.logo.js +19 -0
  182. package/dist/internal/OpenApi.logo.js.map +1 -0
  183. package/dist/internal/Path.d.ts +5 -0
  184. package/dist/internal/Path.d.ts.map +1 -0
  185. package/dist/internal/Path.js +16 -0
  186. package/dist/internal/Path.js.map +1 -0
  187. package/dist/internal/RateLimit.d.ts +60 -0
  188. package/dist/internal/RateLimit.d.ts.map +1 -0
  189. package/dist/internal/RateLimit.js +48 -0
  190. package/dist/internal/RateLimit.js.map +1 -0
  191. package/dist/internal/Response.d.ts +132 -0
  192. package/dist/internal/Response.d.ts.map +1 -0
  193. package/dist/internal/Response.js +72 -0
  194. package/dist/internal/Response.js.map +1 -0
  195. package/dist/internal/Schema.d.ts +257 -0
  196. package/dist/internal/Schema.d.ts.map +1 -0
  197. package/dist/internal/Schema.js +360 -0
  198. package/dist/internal/Schema.js.map +1 -0
  199. package/dist/internal/Store.d.ts +204 -0
  200. package/dist/internal/Store.d.ts.map +1 -0
  201. package/dist/internal/Store.js +291 -0
  202. package/dist/internal/Store.js.map +1 -0
  203. package/dist/internal/Tidx.d.ts +120 -0
  204. package/dist/internal/Tidx.d.ts.map +1 -0
  205. package/dist/internal/Tidx.js +156 -0
  206. package/dist/internal/Tidx.js.map +1 -0
  207. package/dist/internal/Timing.d.ts +22 -0
  208. package/dist/internal/Timing.d.ts.map +1 -0
  209. package/dist/internal/Timing.js +32 -0
  210. package/dist/internal/Timing.js.map +1 -0
  211. package/dist/internal/Ttl.d.ts +25 -0
  212. package/dist/internal/Ttl.d.ts.map +1 -0
  213. package/dist/internal/Ttl.js +49 -0
  214. package/dist/internal/Ttl.js.map +1 -0
  215. package/dist/internal/Value.d.ts +47 -0
  216. package/dist/internal/Value.d.ts.map +1 -0
  217. package/dist/internal/Value.js +122 -0
  218. package/dist/internal/Value.js.map +1 -0
  219. package/dist/internal/VerifiedTokens.d.ts +228 -0
  220. package/dist/internal/VerifiedTokens.d.ts.map +1 -0
  221. package/dist/internal/VerifiedTokens.js +450 -0
  222. package/dist/internal/VerifiedTokens.js.map +1 -0
  223. package/dist/internal/Viem.d.ts +2082 -0
  224. package/dist/internal/Viem.d.ts.map +1 -0
  225. package/dist/internal/Viem.js +63 -0
  226. package/dist/internal/Viem.js.map +1 -0
  227. package/dist/internal/WebhookDestination.d.ts +198 -0
  228. package/dist/internal/WebhookDestination.d.ts.map +1 -0
  229. package/dist/internal/WebhookDestination.js +170 -0
  230. package/dist/internal/WebhookDestination.js.map +1 -0
  231. package/dist/internal/Webhooks.d.ts +433 -0
  232. package/dist/internal/Webhooks.d.ts.map +1 -0
  233. package/dist/internal/Webhooks.js +489 -0
  234. package/dist/internal/Webhooks.js.map +1 -0
  235. package/dist/internal/webhookDestinations/betterStack.d.ts +26 -0
  236. package/dist/internal/webhookDestinations/betterStack.d.ts.map +1 -0
  237. package/dist/internal/webhookDestinations/betterStack.js +76 -0
  238. package/dist/internal/webhookDestinations/betterStack.js.map +1 -0
  239. package/dist/internal/webhookDestinations/slack.d.ts +59 -0
  240. package/dist/internal/webhookDestinations/slack.d.ts.map +1 -0
  241. package/dist/internal/webhookDestinations/slack.js +422 -0
  242. package/dist/internal/webhookDestinations/slack.js.map +1 -0
  243. package/dist/internal/webhookDestinations/url.d.ts +17 -0
  244. package/dist/internal/webhookDestinations/url.d.ts.map +1 -0
  245. package/dist/internal/webhookDestinations/url.js +130 -0
  246. package/dist/internal/webhookDestinations/url.js.map +1 -0
  247. package/dist/openrpc.json +5302 -0
  248. package/package.json +46 -4
  249. package/seeds/31318/icons/0x20c0000000000000000000000000000000000000.svg +1 -0
  250. package/seeds/31318/icons/0x20c0000000000000000000000000000000000001.svg +1 -0
  251. package/seeds/31318/icons/0x20c0000000000000000000000000000000000002.svg +1 -0
  252. package/seeds/31318/icons/0x20c0000000000000000000000000000000000003.svg +1 -0
  253. package/seeds/31318/verified-tokens.json +30 -0
  254. package/seeds/4217/icons/0x20c0000000000000000000000000000000000000.svg +25 -0
  255. package/seeds/4217/icons/0x20c000000000000000000000048c8f36df1c9a4a.svg +1 -0
  256. package/seeds/4217/icons/0x20c0000000000000000000000520792dcccccccc.svg +1 -0
  257. package/seeds/4217/icons/0x20c0000000000000000000000a6da882d075a4c3.svg +4 -0
  258. package/seeds/4217/icons/0x20c000000000000000000000111111111e910f0f.svg +30 -0
  259. package/seeds/4217/icons/0x20c00000000000000000000014f22ca97301eb73.svg +1 -0
  260. package/seeds/4217/icons/0x20c0000000000000000000001621e21f71cf12fb.svg +1 -0
  261. package/seeds/4217/icons/0x20c0000000000000000000002f52d5cc21a3207b.svg +1 -0
  262. package/seeds/4217/icons/0x20c0000000000000000000003158081efd85bfc2.svg +11 -0
  263. package/seeds/4217/icons/0x20c0000000000000000000003554d28269e0f3c2.svg +1 -0
  264. package/seeds/4217/icons/0x20c000000000000000000000383a23bacb546ab9.svg +1 -0
  265. package/seeds/4217/icons/0x20c00000000000000000000042109aef2f8b28e1.png +0 -0
  266. package/seeds/4217/icons/0x20c0000000000000000000005c0bac7cef389a11.svg +1 -0
  267. package/seeds/4217/icons/0x20c0000000000000000000006fd9a167923ba194.png +0 -0
  268. package/seeds/4217/icons/0x20c0000000000000000000007f7ba549dd0251b9.svg +1 -0
  269. package/seeds/4217/icons/0x20c0000000000000000000008191667423f70e67.svg +5 -0
  270. package/seeds/4217/icons/0x20c0000000000000000000008ee4fcff88888888.svg +1 -0
  271. package/seeds/4217/icons/0x20c0000000000000000000009a4a4b17e0dc6651.svg +1 -0
  272. package/seeds/4217/icons/0x20c000000000000000000000ab02d39df30bd17e.svg +1 -0
  273. package/seeds/4217/icons/0x20c000000000000000000000ae247a1130450f09.svg +1 -0
  274. package/seeds/4217/icons/0x20c000000000000000000000aeed2ec36a54d0e5.svg +1 -0
  275. package/seeds/4217/icons/0x20c000000000000000000000b9537d11c60e8b50.svg +1 -0
  276. package/seeds/4217/icons/0x20c000000000000000000000bd95bfb69fbe6ce3.svg +1 -0
  277. package/seeds/4217/icons/0x20c000000000000000000000c412ec89d0c08be5.svg +1 -0
  278. package/seeds/4217/icons/0x20c000000000000000000000f047dd7018e50367.png +0 -0
  279. package/seeds/4217/verified-tokens.json +177 -0
  280. package/seeds/42431/icons/0x20c0000000000000000000000000000000000000.svg +25 -0
  281. package/seeds/42431/icons/0x20c0000000000000000000000000000000000001.svg +1 -0
  282. package/seeds/42431/icons/0x20c0000000000000000000000000000000000002.svg +1 -0
  283. package/seeds/42431/icons/0x20c0000000000000000000000000000000000003.svg +1 -0
  284. package/seeds/42431/icons/0x20c0000000000000000000009e8d7eb59b783726.svg +1 -0
  285. package/seeds/42431/icons/0x20c000000000000000000000d72572838bbee59c.svg +1 -0
  286. package/seeds/42431/verified-tokens.json +44 -0
  287. package/seeds/openrpc/README.md +27 -0
  288. package/seeds/openrpc/execution-apis.json +8989 -0
  289. package/src/ApiKey.test.ts +91 -0
  290. package/src/ApiKey.ts +122 -0
  291. package/src/ApiKeySource.test-d.ts +11 -0
  292. package/src/ApiKeySource.test.ts +295 -0
  293. package/src/ApiKeySource.ts +303 -0
  294. package/src/App.test-d.ts +38 -0
  295. package/src/App.test.ts +65927 -0
  296. package/src/App.ts +855 -0
  297. package/src/Assets.ts +58 -0
  298. package/src/Auth.ts +1 -0
  299. package/src/Cli.test.ts +81 -0
  300. package/src/Cli.ts +38 -0
  301. package/src/Client.test-d.ts +1438 -0
  302. package/src/Client.test.ts +134 -0
  303. package/src/Client.ts +45 -0
  304. package/src/Metrics.ts +154 -0
  305. package/src/Scope.ts +50 -0
  306. package/src/Webhooks.test.ts +49 -0
  307. package/src/Webhooks.ts +172 -0
  308. package/src/admin/Access.test.ts +130 -0
  309. package/src/admin/Access.ts +87 -0
  310. package/src/admin/App.test.ts +225 -0
  311. package/src/admin/App.ts +216 -0
  312. package/src/admin/apps/api-keys.test.ts +156 -0
  313. package/src/admin/apps/api-keys.ts +157 -0
  314. package/src/admin/apps/scopes.test.ts +52 -0
  315. package/src/admin/apps/scopes.ts +47 -0
  316. package/src/admin/apps/verified-tokens.test.ts +415 -0
  317. package/src/admin/apps/verified-tokens.ts +566 -0
  318. package/src/admin/index.ts +2 -0
  319. package/src/admin/ui/plugin.ts +135 -0
  320. package/src/admin/ui/src/components/Checkbox.tsx +22 -0
  321. package/src/admin/ui/src/components/Dialog.tsx +32 -0
  322. package/src/admin/ui/src/components/MobileProfile.tsx +31 -0
  323. package/src/admin/ui/src/components/Page.tsx +53 -0
  324. package/src/admin/ui/src/components/TempoLogo.tsx +37 -0
  325. package/src/admin/ui/src/fonts/Pilat-Demi.woff2 +0 -0
  326. package/src/admin/ui/src/fonts/Pilat-Regular.woff2 +0 -0
  327. package/src/admin/ui/src/lib/api-keys.ts +63 -0
  328. package/src/admin/ui/src/lib/client.ts +15 -0
  329. package/src/admin/ui/src/lib/config.ts +57 -0
  330. package/src/admin/ui/src/lib/query-client.ts +26 -0
  331. package/src/admin/ui/src/lib/scopes.ts +25 -0
  332. package/src/admin/ui/src/lib/verified-tokens.ts +89 -0
  333. package/src/admin/ui/src/lib/wagmi.ts +18 -0
  334. package/src/admin/ui/src/routeTree.gen.ts +104 -0
  335. package/src/admin/ui/src/router.tsx +25 -0
  336. package/src/admin/ui/src/routes/__root.tsx +219 -0
  337. package/src/admin/ui/src/routes/api-keys.tsx +329 -0
  338. package/src/admin/ui/src/routes/index.tsx +7 -0
  339. package/src/admin/ui/src/routes/verified-tokens.tsx +331 -0
  340. package/src/admin/ui/src/styles.css +20 -0
  341. package/src/admin/ui/tsconfig.json +16 -0
  342. package/src/admin/ui/vite.config.ts +29 -0
  343. package/src/admin/ui.generated.ts +60 -0
  344. package/src/apps/activities.test.ts +1020 -0
  345. package/src/apps/activities.ts +3934 -0
  346. package/src/apps/addresses.ts +24 -0
  347. package/src/apps/balances.test.ts +274 -0
  348. package/src/apps/balances.ts +533 -0
  349. package/src/apps/blocks.test.ts +385 -0
  350. package/src/apps/blocks.ts +896 -0
  351. package/src/apps/coingecko.test.ts +218 -0
  352. package/src/apps/coingecko.ts +1383 -0
  353. package/src/apps/exchanges.test.ts +958 -0
  354. package/src/apps/exchanges.ts +4773 -0
  355. package/src/apps/fee-amm.test.ts +321 -0
  356. package/src/apps/fee-amm.ts +1121 -0
  357. package/src/apps/indexer.test.ts +153 -0
  358. package/src/apps/indexer.ts +330 -0
  359. package/src/apps/receipts.test.ts +285 -0
  360. package/src/apps/receipts.ts +1193 -0
  361. package/src/apps/rpc.test.ts +302 -0
  362. package/src/apps/rpc.ts +222 -0
  363. package/src/apps/tokenlist.test.ts +80 -0
  364. package/src/apps/tokenlist.ts +207 -0
  365. package/src/apps/tokens.test.ts +1062 -0
  366. package/src/apps/tokens.ts +2292 -0
  367. package/src/apps/transactions.test.ts +408 -0
  368. package/src/apps/transactions.ts +1363 -0
  369. package/src/apps/transfers.test.ts +371 -0
  370. package/src/apps/transfers.ts +1116 -0
  371. package/src/apps/verified-tokens.test.ts +114 -0
  372. package/src/apps/verified-tokens.ts +295 -0
  373. package/src/apps/webhooks.test.ts +1937 -0
  374. package/src/apps/webhooks.ts +2926 -0
  375. package/src/cloudflare.ts +55 -0
  376. package/src/index.ts +15 -0
  377. package/src/internal/Auth.test.ts +980 -0
  378. package/src/internal/Auth.ts +1012 -0
  379. package/src/internal/Cache.test.ts +240 -0
  380. package/src/internal/Cache.ts +262 -0
  381. package/src/internal/Cursor.test.ts +100 -0
  382. package/src/internal/Cursor.ts +149 -0
  383. package/src/internal/EdgeCache.test.ts +234 -0
  384. package/src/internal/EdgeCache.ts +224 -0
  385. package/src/internal/Errors.ts +14 -0
  386. package/src/internal/Log.test.ts +244 -0
  387. package/src/internal/Log.ts +216 -0
  388. package/src/internal/MetricSink.ts +220 -0
  389. package/src/internal/Mpp.test.ts +64 -0
  390. package/src/internal/Mpp.ts +141 -0
  391. package/src/internal/OpenApi.fonts.ts +38 -0
  392. package/src/internal/OpenApi.logo.ts +18 -0
  393. package/src/internal/OpenApi.ts +488 -0
  394. package/src/internal/Path.test.ts +14 -0
  395. package/src/internal/Path.ts +15 -0
  396. package/src/internal/RateLimit.test.ts +93 -0
  397. package/src/internal/RateLimit.ts +93 -0
  398. package/src/internal/Response.ts +131 -0
  399. package/src/internal/Schema.test.ts +34 -0
  400. package/src/internal/Schema.ts +523 -0
  401. package/src/internal/Store.test.ts +545 -0
  402. package/src/internal/Store.ts +526 -0
  403. package/src/internal/Tidx.local.test.ts +33 -0
  404. package/src/internal/Tidx.test.ts +294 -0
  405. package/src/internal/Tidx.ts +238 -0
  406. package/src/internal/Timing.test.ts +22 -0
  407. package/src/internal/Timing.ts +62 -0
  408. package/src/internal/Ttl.test.ts +18 -0
  409. package/src/internal/Ttl.ts +59 -0
  410. package/src/internal/Value.ts +114 -0
  411. package/src/internal/VerifiedTokens.test.ts +333 -0
  412. package/src/internal/VerifiedTokens.ts +645 -0
  413. package/src/internal/Viem.test.ts +115 -0
  414. package/src/internal/Viem.ts +165 -0
  415. package/src/internal/WebhookDestination.test.ts +648 -0
  416. package/src/internal/WebhookDestination.ts +331 -0
  417. package/src/internal/Webhooks.test.ts +668 -0
  418. package/src/internal/Webhooks.ts +940 -0
  419. package/src/internal/webhookDestinations/betterStack.ts +91 -0
  420. package/src/internal/webhookDestinations/slack.ts +496 -0
  421. package/src/internal/webhookDestinations/url.ts +128 -0
  422. package/src/openrpc.json +5302 -0
@@ -0,0 +1,43 @@
1
+ // Generated by src/admin/ui/plugin.ts — do not edit by hand.
2
+ // Run `pnpm build:ui` to regenerate from the TanStack Start SPA build.
3
+ /* eslint-disable */
4
+ /** The prerendered SPA shell HTML (assets normalized to relative URLs). */
5
+ export const shell = '<!DOCTYPE html><html lang="en" data-theme="dark" data-regen-radius="none"><head><meta charSet="utf-8"/><meta content="width=device-width, initial-scale=1" name="viewport"/><link rel="stylesheet" href="./assets/styles-Cd7Fp5b_.css" data-precedence="default"/><title>Tempo API Admin</title><link rel="modulepreload" href="./assets/index-CPTihwDe.js"/><link rel="icon" type="image/svg+xml" href="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20269%20269%22%3E%3Crect%20width%3D%22269%22%20height%3D%22269%22%20fill%3D%22%23000%22%2F%3E%3Cpath%20d%3D%22M123.273%20190.794H93.445L121.09%20105.318H85.7334L93.445%2080.2642H191.95L184.238%20105.318H150.773L123.273%20190.794Z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E"/></head><body><div id="root"></div><script class="$tsr" id="$tsr-stream-barrier">(self.$R=self.$R||{})["tsr"]=[];self.$_TSR={h(){this.hydrated=!0,this.c()},e(){this.streamEnded=!0,this.c()},c(){this.hydrated&&this.streamEnded&&(delete self.$_TSR,delete self.$R.tsr)},p(e){this.initialized?e():this.buffer.push(e)},buffer:[]};$_TSR.router=($R=>$R[0]={manifest:$R[1]={routes:$R[2]={__root__:$R[3]={preloads:$R[4]=["./assets/index-CPTihwDe.js"],scripts:$R[5]=[$R[6]={attrs:$R[7]={type:"module",async:!0,src:"./assets/index-CPTihwDe.js"}}]}}},matches:$R[8]=[$R[9]={i:"__root__\u0000",u:1782959721668,s:"success",ssr:!0}],lastMatchId:"__root__\u0000"})($R["tsr"]);$_TSR.e();document.currentScript.remove()</script><script type="module" async="" src="./assets/index-CPTihwDe.js"></script></body></html>';
6
+ /** Content-hashed UI assets, keyed by their path under the mount (e.g. `assets/index-*.js`). */
7
+ export const assets = {
8
+ 'assets/api-keys-DHRHPJxd.js': {
9
+ content: 'import{c as he,l,N as e,V as E,X as nn,Y as tn,Z as rn,O as Y,_ as sn,$ as an}from"./index-CPTihwDe.js";import{d as fe,e as me,f as Le,g as De,h as on,i as dn,j as ln,k as cn,l as un,m as pn,n as ke,o as xn,p as fn,q as mn,r as hn,E as vn,s as Fe,t as Ce,v as gn,w as bn,x as yn,y as jn,z as wn,A as Nn,B as kn,b as Be,D as $,P as Cn,S as Pn,a as En,u as Sn,C as Me,c as In,N as ue,F as Ln,I as Pe,T as Dn}from"./Dialog-B2J1eXqU.js";const Fn=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Bn=he("chevron-down",Fn);const Mn=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Ve=he("chevron-right",Mn);const Vn=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Rn=he("x",Vn),Tn=l.createContext({disabled:!1});function zn(){return l.useContext(Tn)}function Kn(n,t,r,s=!0,d){const[u,a]=l.useState(),i=fe(d?`${d}-label`:void 0),p=n??t??u;return me(()=>{const x=n||t||!s?void 0:_n(r.current,i);u!==x&&a(x)}),p}function _n(n,t){const r=qn(n);if(r)return!r.id&&t&&(r.id=t),r.id||void 0}function qn(n){if(!n)return;const t=n.parentElement;if(t&&t.tagName==="LABEL")return t;const r=n.id;if(r){const d=n.nextElementSibling;if(d&&d.htmlFor===r)return d}const s=n.labels;return s&&s[0]}const se=l.createContext(void 0);function b(n){const{children:t,className:r,dividers:s,variant:d="pane",...u}=n,a=s??b.defaultDividers[d];return e.jsx(se.Provider,{value:{dividers:a,variant:d},children:e.jsx("div",{className:E(b.className[d],b.dividersClassName[d][a],r),...u,children:t})})}(n=>{function t(a){const{children:i,className:p,...x}=a,f=l.useContext(se)?.variant??"pane";return e.jsx("div",{className:E(t.className[f],p),...x,children:i})}n.Group=t,(a=>{a.className={pane:"relative [--rows-pane-content-padding-left:20px] [--rows-row-padding-left:20px] before:pointer-events-none before:absolute before:inset-y-0 before:left-[10px] before:z-10 before:w-[2px] before:bg-border [&_[data-rows-divider]]:left-[var(--rows-group-divider-left)]",surface:"relative [--rows-pane-content-padding-left:48px] [--rows-row-padding-left:48px] before:pointer-events-none before:absolute before:inset-y-0 before:left-[28px] before:z-10 before:w-[2px] before:bg-border [&_[data-rows-divider]]:left-[var(--rows-group-divider-left)]"}})(t=n.Group||(n.Group={}));function r(a){const{children:i,className:p,...x}=a,f=l.useContext(se)?.variant??"pane";return e.jsx("div",{className:E(r.className[f],p),...x,children:i})}n.Panel=r,(a=>{a.className={pane:"overflow-hidden border-t border-border-pane bg-pane",surface:"overflow-hidden border-t border-border bg-pane"}})(r=n.Panel||(n.Panel={})),n.className={pane:"overflow-hidden rounded-body bg-pane px-[14px] [--rows-divider:var(--border-color-border-pane)] [--rows-pane-content-padding-left:0px] [&_[data-rows-divider]]:bg-[var(--rows-divider)]",surface:"overflow-hidden bg-surface [--rows-divider:var(--border-color-border)] [&_[data-rows-divider]]:bg-[var(--rows-divider)]"},n.dividersClassName={pane:{full:"[--rows-group-divider-left:0px]",inset:"[--rows-group-divider-left:0px]"},surface:{full:"[--rows-group-divider-left:0px]",inset:"[--rows-group-divider-left:20px]"}},n.defaultDividers={pane:"inset",surface:"full"};function s(a){const{action:i={type:"none"},children:p,className:x,disabled:f,height:N,label:k,onClick:y,render:c,spacing:v="both",style:J,...C}=a,S=l.useContext(se),j=S?.variant??(k===void 0?"surface":"pane"),I=S?.dividers??n.defaultDividers[j],P=i.type,T=P==="details"?i.content:void 0,O=P==="expand"?i.expanded:P==="details"?T!==void 0&&T!==!1:!1,A=T===!0?e.jsx(n.PanelLoader,{}):T,H=On({children:p,expanded:O,label:k,type:P,variant:j}),L=!!(y||c),U={height:N??s.height[j],...J},Z=E(s.baseClassName[j],L&&s.interactiveClassName[j],L&&"select-none",j==="pane"&&(L?s.buttonSpacingClassName[v]:s.spacingClassName[v]),f&&"pointer-events-none opacity-50",x),W=j==="surface"?E(s.dividerClassName,s.surfaceDividerClassName[I]):E(s.dividerClassName,s.paneDividerClassName[I][L?v:"static"]),z={...C,"aria-disabled":f&&L?!0:void 0,"aria-expanded":P==="expand"?i.expanded:P==="details"?O:void 0,className:Z,"data-disabled":f?"":void 0,...y?{onClick:y}:{},style:U},ee=c&&l.isValidElement(c)?l.cloneElement(c,nn(c.props,z),e.jsxs(e.Fragment,{children:[e.jsx(pe,{className:W}),H]})):y?e.jsxs("button",{...z,disabled:f,type:"button",children:[e.jsx(pe,{className:W}),H]}):e.jsxs("div",{...z,children:[e.jsx(pe,{className:W}),H]});return P!=="details"?ee:e.jsxs(e.Fragment,{children:[ee,O&&A!==void 0&&A!==!1&&e.jsx(n.Panel,{children:A})]})}n.Row=s,(a=>{a.baseClassName={pane:"group/rows-row relative flex items-center gap-[12px] label-13",surface:"group/rows-row relative flex w-full min-w-0 items-center gap-[14px] pl-[var(--rows-row-padding-left,20px)] pr-[var(--rows-row-padding-right,20px)] text-left text-foreground"},a.dividerClassName="pointer-events-none absolute -top-px left-[var(--rows-row-divider-left)] right-[var(--rows-row-divider-right)] h-px",a.paneDividerClassName={full:{both:"[--rows-row-divider-left:0px] [--rows-row-divider-right:0px]",end:"[--rows-row-divider-left:0px] [--rows-row-divider-right:-14px]",none:"[--rows-row-divider-left:0px] [--rows-row-divider-right:0px]",start:"[--rows-row-divider-left:-14px] [--rows-row-divider-right:0px]",static:"[--rows-row-divider-left:-14px] [--rows-row-divider-right:-14px]"},inset:{both:"[--rows-row-divider-left:14px] [--rows-row-divider-right:14px]",end:"[--rows-row-divider-left:14px] [--rows-row-divider-right:0px]",none:"[--rows-row-divider-left:14px] [--rows-row-divider-right:14px]",start:"[--rows-row-divider-left:0px] [--rows-row-divider-right:14px]",static:"[--rows-row-divider-left:0px] [--rows-row-divider-right:0px]"}},a.surfaceDividerClassName={full:"[--rows-row-divider-left:0px] [--rows-row-divider-right:0px]",inset:"[--rows-row-divider-left:20px] [--rows-row-divider-right:20px]"},a.height={pane:40,surface:56},a.interactiveClassName={pane:"cursor-pointer hover:bg-secondary-hover active:bg-secondary-active focus-visible:outline focus-visible:outline-[2px] focus-visible:outline-offset-[-2px] focus-visible:outline-focus",surface:"cursor-pointer hover:bg-surface-hover active:bg-surface-active focus-visible:outline focus-visible:outline-[2px] focus-visible:outline-offset-[-2px] focus-visible:outline-focus"},a.spacingClassName={both:"",end:"ml-[-14px]",none:"mx-[-14px]",start:"mr-[-14px]"},a.buttonSpacingClassName={both:"mx-[-14px] w-[calc(100%+28px)] px-[14px]",end:"ml-[-14px] w-[calc(100%+14px)]",none:"mx-[-14px] w-[calc(100%+28px)]",start:"mr-[-14px] w-[calc(100%+14px)]"}})(s=n.Row||(n.Row={}));function d(){return e.jsxs("div",{className:"grid gap-[8px] px-[20px] py-[12px] label-13",children:[e.jsxs("div",{className:"relative flex items-center justify-between gap-[16px]",children:[e.jsx("span",{"aria-hidden":!0,className:"invisible",children:"Label"}),e.jsx("span",{"aria-hidden":!0,className:"invisible",children:"Value"}),e.jsx("div",{className:"absolute h-[14px] w-[72px] animate-pulse rounded-body bg-skeleton"}),e.jsx("div",{className:"absolute right-0 h-[14px] w-[96px] animate-pulse rounded-body bg-skeleton"})]}),e.jsxs("div",{className:"relative flex items-center justify-between gap-[16px]",children:[e.jsx("span",{"aria-hidden":!0,className:"invisible",children:"Label"}),e.jsx("span",{"aria-hidden":!0,className:"invisible",children:"Value"}),e.jsx("div",{className:"absolute h-[14px] w-[64px] animate-pulse rounded-body bg-skeleton"}),e.jsx("div",{className:"absolute right-0 h-[14px] w-[72px] animate-pulse rounded-body bg-skeleton"})]})]})}n.PanelLoader=d;function u(){return e.jsxs(e.Fragment,{children:[e.jsxs(n.Row,{children:[e.jsx("span",{"aria-hidden":!0,className:"size-6 shrink-0 animate-pulse rounded-button bg-skeleton"}),e.jsxs("div",{className:"grid min-w-0 flex-1 gap-[6px]",children:[e.jsx("span",{"aria-hidden":!0,className:"h-[14px] w-[128px] rounded-body bg-skeleton"}),e.jsx("span",{"aria-hidden":!0,className:"h-[13px] w-[96px] rounded-body bg-skeleton"})]}),e.jsx("span",{"aria-hidden":!0,className:"h-[13px] w-[36px] shrink-0 rounded-body bg-skeleton"})]}),e.jsxs(n.Row,{children:[e.jsx("span",{"aria-hidden":!0,className:"size-6 shrink-0 animate-pulse rounded-button bg-skeleton"}),e.jsxs("div",{className:"grid min-w-0 flex-1 gap-[6px]",children:[e.jsx("span",{"aria-hidden":!0,className:"h-[14px] w-[112px] rounded-body bg-skeleton"}),e.jsx("span",{"aria-hidden":!0,className:"h-[13px] w-[88px] rounded-body bg-skeleton"})]}),e.jsx("span",{"aria-hidden":!0,className:"h-[13px] w-[28px] shrink-0 rounded-body bg-skeleton"})]})]})}n.RowGroupLoader=u})(b||(b={}));function Ee(n){return e.jsx(b.Row,{...n})}(n=>{n.spacingClassName=b.Row.spacingClassName,n.buttonSpacingClassName=b.Row.buttonSpacingClassName})(Ee||(Ee={}));function Gn(n){const{expanded:t}=n;return e.jsx(Bn,{"aria-hidden":!0,className:"size-[16px] shrink-0 text-foreground-secondary opacity-70 data-[open]:rotate-180","data-open":t?"":void 0})}function pe(n){return e.jsx("span",{"aria-hidden":!0,className:n.className,"data-rows-divider":""})}function $n(){return e.jsx(Ve,{"aria-hidden":!0,className:"size-[16px] shrink-0 text-foreground-secondary opacity-70"})}function On(n){const{children:t,expanded:r,label:s,type:d,variant:u}=n;return s!==void 0?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:E("grid min-w-0 flex-1 grid-cols-[minmax(0,max-content)_minmax(0,1fr)] items-center gap-[12px]",u==="pane"&&"pl-[var(--rows-pane-content-padding-left)]"),children:[e.jsx("div",{className:"min-w-0 text-left text-foreground-secondary",children:s}),e.jsx("div",{className:"flex min-w-0 items-center justify-end text-right",children:t})]}),e.jsx(xe,{expanded:r,type:d})]}):u==="pane"?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"min-w-0 flex-1 pl-[var(--rows-pane-content-padding-left)]",children:t}),e.jsx(xe,{expanded:r,type:d})]}):e.jsxs(e.Fragment,{children:[t,e.jsx(xe,{expanded:r,type:d})]})}function xe(n){const{expanded:t,type:r}=n;return r==="details"||r==="expand"?e.jsx(Gn,{expanded:t}):r==="navigation"?e.jsx($n,{}):null}function An(n){if(!n)return null;for(const t of n.elements){const r=t.tagName;if(r==="BUTTON"||r==="INPUT"){const s=t;if(s.type==="submit")return s}}return null}let Se=(function(n){return n.checked="data-checked",n.unchecked="data-unchecked",n.indeterminate="data-indeterminate",n.disabled="data-disabled",n.readonly="data-readonly",n.required="data-required",n.valid="data-valid",n.invalid="data-invalid",n.touched="data-touched",n.dirty="data-dirty",n.filled="data-filled",n.focused="data-focused",n})({});function Re(n){return l.useMemo(()=>({checked(t){return n.indeterminate?{}:t?{[Se.checked]:""}:{[Se.unchecked]:""}},...Le}),[n.indeterminate])}const Hn=l.createContext(void 0);function Un(n=!0){const t=l.useContext(Hn);if(t===void 0&&!n)throw new Error(De(3));return t}const Te=l.createContext(void 0);function Wn(){const n=l.useContext(Te);if(n===void 0)throw new Error(De(14));return n}const Xn="data-parent",Qn=l.forwardRef(function(t,r){const{checked:s,className:d,defaultChecked:u=!1,"aria-labelledby":a,disabled:i=!1,form:p,id:x,indeterminate:f=!1,inputRef:N,name:k,onCheckedChange:y,parent:c=!1,readOnly:v=!1,render:J,required:C=!1,uncheckedValue:S,value:j,nativeButton:I=!1,style:P,...T}=t,{clearErrors:O}=on(),{disabled:A,name:H,setDirty:L,setFilled:U,setFocused:Z,setTouched:W,state:z,validationMode:ee,validityData:ze,shouldValidateOnChange:Ke,validation:_e}=dn(),qe=zn(),{labelId:Ge,controlId:$e,registerControlId:K,getDescriptionProps:ve}=ln(),m=Un(),X=m?.parent,Q=X&&m.allValues,D=A||qe.disabled||m?.disabled||i,_=H??k,h=j??_,ge=fe(),Oe=fe();let F=$e;Q?F=c?Oe:`${X.id}-${h}`:x&&(F=x);let ae={};Q&&(c?ae=m.parent.getParentProps():h&&(ae=m.parent.getChildProps(h)));const{checked:be=s,indeterminate:ne=f,onCheckedChange:Ae,...He}=ae,q=m?.value,ye=m?.setValue,je=m?.defaultValue,ie=l.useRef(null),te=cn(()=>Symbol("checkbox-control")),oe=l.useRef(!1),{getButtonProps:Ue,buttonRef:We}=un({disabled:D,native:I}),B=m?.validation??_e,[g,Xe]=pn({controlled:h&&q&&!c?q.includes(h):be,default:h&&je&&!c?je.includes(h):u,name:"Checkbox",state:"checked"});me(()=>{K!==ke&&(oe.current=!0,K(te.current,F))},[F,K,te]),l.useEffect(()=>{const o=te.current;return()=>{!oe.current||K===ke||(oe.current=!1,K(o,void 0))}},[K,te]),xn(ie,ge,g,void 0,!m);const M=l.useRef(null),Qe=fn(N,M,B.inputRef),Ye=Kn(a,Ge,M,!I,F??void 0);me(()=>{M.current&&(M.current.indeterminate=ne,g&&U(!0))},[g,ne,U]),mn(g,()=>{m&&!c||(O(_),U(g),L(g!==ze.initialValue),Ke()?B.commit(g):B.commit(g,!0))});const Je=hn({checked:g,disabled:D,form:p,name:c?void 0:_,id:I?void 0:F??void 0,required:C,ref:Qe,style:_?gn:bn,tabIndex:-1,type:"checkbox","aria-hidden":!0,onChange(o){if(o.nativeEvent.defaultPrevented)return;if(v){o.preventDefault();return}const w=o.currentTarget.checked,G=yn(jn,o.nativeEvent);if(Ae?.(w,G),y?.(w,G),!G.isCanceled&&(Xe(w),h&&q&&ye&&!c&&!Q)){const V=w?[...q,h]:q.filter(re=>re!==h);ye(V,G)}},onFocus(){ie.current?.focus()}},j!==void 0?{value:(m?g&&j:j)||""}:vn,ve,m?B.getValidationProps:B.getInputValidationProps),we=Q?!!be:g,Ne=Q&&ne||f;l.useEffect(()=>{if(!X||!h)return;const o=X.disabledStatesRef.current;return o.set(h,D),()=>{o.delete(h)}},[X,D,h]);const de=l.useMemo(()=>({...z,checked:we,disabled:D,readOnly:v,required:C,indeterminate:Ne}),[z,we,D,v,C,Ne]),Ze=Re(de),en=Fe("span",t,{state:de,ref:[We,ie,r,m?.registerControlRef],props:[{id:I?F??void 0:ge,role:"checkbox","aria-checked":ne?"mixed":g,"aria-readonly":v||void 0,"aria-required":C||void 0,"aria-labelledby":Ye,[Xn]:c?"":void 0,onFocus(){Z(!0)},onBlur(){const o=M.current;o&&(W(!0),Z(!1),ee==="onBlur"&&B.commit(m?q:o.checked))},onKeyDown(o){if(o.key!=="Enter"||(o.preventBaseUIHandler(),o.defaultPrevented))return;const w=M.current?.form??null,G=o.currentTarget,V=o.nativeEvent,re=o.preventDefault,le=V.preventDefault;let ce=!1;o.preventDefault=()=>{ce=!0,re.call(o)},V.preventDefault=()=>{ce=!0,le.call(V)},le.call(V),Ce(G).queueMicrotask(()=>{o.preventDefault=re,V.preventDefault=le,ce||An(w)?.click()})},onClick(o){if(v||D)return;o.preventDefault();const w=M.current;w&&w.dispatchEvent(new(Ce(w)).PointerEvent("click",{bubbles:!0,shiftKey:o.shiftKey,ctrlKey:o.ctrlKey,altKey:o.altKey,metaKey:o.metaKey}))}},ve,B.getValidationProps,T,He,Ue],stateAttributesMapping:Ze});return e.jsxs(Te.Provider,{value:de,children:[en,!g&&!m&&_&&!c&&S!==void 0&&e.jsx("input",{type:"hidden",form:p,name:_,value:S}),e.jsx("input",{...Je,suppressHydrationWarning:!0})]})}),Yn=l.forwardRef(function(t,r){const{render:s,className:d,style:u,keepMounted:a=!1,...i}=t,p=Wn(),x=p.checked||p.indeterminate,{mounted:f,transitionStatus:N,setMounted:k}=wn(x),y=l.useRef(null),c={...p,transitionStatus:N};Nn({open:x,ref:y,onComplete(){x||k(!1)}});const J={...Re(p),...kn,...Le},C=a||f,S=Fe("span",t,{ref:[r,y],state:c,stateAttributesMapping:J,props:i});return C?S:null});function Jn({className:n,...t}){return e.jsx(Qn,{className:r=>E("flex size-[18px] shrink-0 items-center justify-center rounded-button border-[2px] border-border bg-secondary text-on-invert outline-none transition-colors hover:bg-secondary-hover focus-visible:border-focus data-[checked]:border-[var(--background-color-invert)] data-[checked]:bg-invert",typeof n=="function"?n(r):n),...t,children:e.jsx(Yn,{className:"flex data-[unchecked]:hidden",children:e.jsx(Be,{className:"size-3"})})})}function at(){const[n,t]=l.useState(!1),[r,s]=l.useState("production"),d=tn.useQuery(),u=rn.useMutation();function a(i){const p=c=>{const v=i.get(c);return typeof v=="string"?v.trim():""},x=p("name"),f=p("rateLimit"),N=f?Number(f):void 0,k=p("environment")==="sandbox"?"sandbox":"production",y=i.getAll("scopes").filter(c=>typeof c=="string");if(y.length===0){alert("Select at least one scope.");return}u.mutate({environment:k,scopes:y,...x?{name:x}:{},...N===void 0?{}:{rateLimits:{"*":{perMinute:N}}}},{onError:c=>alert(c.message),onSuccess:()=>t(!1)})}return e.jsx($.Root,{onOpenChange:t,open:n,children:e.jsxs(Cn,{title:"API Keys",description:"Manage keys that authenticate requests to the API",action:e.jsxs(e.Fragment,{children:[e.jsx(Pn,{"aria-label":"Filter keys by environment",items:[{label:"Production",value:"production"},{label:"Sandbox",value:"sandbox"}],onChange:i=>s(i),value:r}),e.jsx($.Trigger,{render:e.jsxs(Y,{variant:"primary",children:[e.jsx(En,{className:"size-4"}),"Provision a key"]})})]}),children:[u.data?e.jsx(Zn,{onDismiss:()=>u.reset(),token:u.data.token}):null,e.jsx(nt,{environment:r,error:d.error,keys:(d.data?.data??[]).filter(i=>(i.environment??"production")===r),loading:d.isPending}),e.jsx($.Popup,{children:e.jsx(et,{onSubmit:a,pending:u.isPending})})]})})}function Zn(n){const{copy:t,notifying:r}=Sn();return e.jsxs(Me,{className:"flex flex-col gap-3 p-4",children:[e.jsxs("div",{className:"flex items-start justify-between gap-3",children:[e.jsxs("div",{className:"flex flex-col gap-1",children:[e.jsx("span",{className:"text-label-14 text-foreground",children:"Key provisioned"}),e.jsx("span",{className:"text-label-12 text-foreground-secondary",children:"Copy this token now, it won\'t be shown again."})]}),e.jsx(Y.Icon,{className:"-mt-2 -mr-2",onClick:n.onDismiss,size:"lg",title:"Dismiss",variant:"plain",children:e.jsx(Rn,{})})]}),e.jsxs("button",{"aria-label":`Copy ${n.token}`,className:"group flex w-full cursor-pointer items-center gap-3 border border-border bg-secondary px-3 py-2.5 text-left transition-colors hover:bg-secondary-hover",onClick:()=>t(n.token),type:"button",children:[e.jsx("code",{className:"min-w-0 flex-1 truncate text-copy-14 text-foreground",children:n.token}),e.jsx("span",{className:"text-foreground-secondary group-hover:text-foreground",children:r?e.jsx(Be,{className:"size-4"}):e.jsx(In,{className:"size-4"})})]})]})}function et(n){const t=sn.useQuery();return e.jsxs(e.Fragment,{children:[e.jsx($.Title,{children:"Provision a Key"}),e.jsx($.Description,{children:"Create a key that authenticates requests to the API"}),e.jsxs("form",{className:"mt-6 flex flex-col gap-8",onSubmit:r=>{r.preventDefault(),n.onSubmit(new FormData(r.currentTarget))},children:[e.jsxs(Ln,{className:"gap-6",variant:"default",children:[e.jsx(Pe,{label:"Name",name:"name",placeholder:"e.g. production-api"}),e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx("span",{className:"label-13 text-foreground-secondary",children:"Environment"}),e.jsxs("select",{className:"flex h-[40px] w-full items-center gap-[10px] rounded-body border-[2px] border-transparent bg-secondary px-[12px] copy-14 text-foreground outline-none hover:bg-secondary-hover active:bg-secondary-active focus-visible:border-focus focus-visible:bg-secondary-hover",defaultValue:"production",name:"environment",children:[e.jsx("option",{value:"production",children:"Production"}),e.jsx("option",{value:"sandbox",children:"Sandbox"})]})]}),e.jsx(Pe,{defaultValue:"100",label:"Rate limit",min:0,name:"rateLimit",placeholder:"Requests per minute",suffix:"req/min",type:"number"}),e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx("span",{className:"label-13 text-foreground-secondary",children:"Scopes"}),t.isPending?e.jsx("span",{className:"text-label-13 text-foreground-secondary",children:"Loading scopes…"}):t.error?e.jsx("span",{className:"text-label-13 text-negative",children:t.error.message}):e.jsx(b,{className:"border border-border",variant:"surface",children:(t.data?.data??[]).map(r=>e.jsxs(b.Row,{className:"min-h-[56px] py-3",render:e.jsx("label",{className:"cursor-pointer"}),style:{height:"auto"},children:[e.jsx(Jn,{defaultChecked:r.scope==="data:read",name:"scopes",value:r.scope}),e.jsxs("span",{className:"flex min-w-0 flex-col gap-0.5",children:[e.jsx("span",{className:"text-label-13 text-foreground",children:r.scope}),e.jsx("span",{className:"text-label-12 text-foreground-secondary",children:r.description})]})]},r.scope))})]})]}),e.jsxs("div",{className:"flex justify-end gap-2",children:[e.jsx($.Close,{render:e.jsx(Y,{type:"button",children:"Cancel"})}),e.jsx(Y,{loading:n.pending,type:"submit",variant:"primary",children:"Provision key"})]})]})]})}function nt(n){return e.jsx(Me,{children:n.loading?e.jsx(ue,{children:"Loading keys…"}):n.error?e.jsx(ue,{children:n.error.message}):n.keys.length===0?e.jsxs(ue,{children:["No ",n.environment," keys yet."]}):e.jsx(b,{variant:"surface",children:n.keys.map(t=>e.jsx(tt,{record:t},t.id))})})}function tt(n){const{record:t}=n,[r,s]=l.useState(!1),d=an.useMutation(),u=t.rateLimits?.["*"]?.perMinute;function a(){confirm(`Revoke key ${t.name??t.id}? This can\'t be undone.`)&&d.mutate(t.id,{onError:i=>alert(i.message)})}return e.jsxs(e.Fragment,{children:[e.jsxs(b.Row,{className:"min-h-[44px] py-2",onClick:()=>s(i=>!i),style:{height:"auto"},children:[e.jsxs("span",{className:"flex min-w-0 flex-1 items-baseline gap-2",children:[e.jsx("span",{className:"truncate text-label-14 text-foreground",children:t.name??"Unnamed key"}),t.environment==="sandbox"?e.jsx("span",{className:"shrink-0 rounded-none bg-warning-subtle px-2 py-0.5 text-label-12 font-normal text-warning",children:"sandbox"}):null]}),e.jsx("span",{className:"shrink-0 text-label-12 text-foreground-secondary",children:Ie(t.createdAt)}),e.jsx(Ve,{"aria-hidden":!0,className:"size-4 shrink-0 text-foreground-secondary opacity-70 transition-transform data-[open]:rotate-90","data-open":r?"":void 0})]}),r?e.jsxs(b.Panel,{children:[e.jsxs("dl",{className:"flex flex-wrap gap-x-10 gap-y-4 px-5 py-4",children:[e.jsx(R,{label:"Key ID",children:t.id}),e.jsx(R,{label:"Environment",children:t.environment??"production"}),e.jsx(R,{label:"Rate limit",children:u===void 0?"Inherited":`${u} req/min`}),e.jsxs(R,{label:"Token",children:["···",t.tokenLast4]}),e.jsx(R,{label:"Provisioned by",children:t.createdBy??"—"}),t.expiresAt?e.jsx(R,{label:"Expires",children:Ie(t.expiresAt)}):null,e.jsx(R,{className:"w-full",label:"Scopes",children:t.scopes.length===0?"—":e.jsx("span",{className:"flex flex-wrap gap-x-3 gap-y-1",children:t.scopes.map(i=>e.jsx("span",{className:"text-label-13 text-foreground",children:i},i))})})]}),e.jsx("div",{className:"flex justify-end border-t border-border px-5 py-3",children:e.jsxs(Y,{loading:d.isPending,onClick:a,size:"small",variant:"negative",children:[e.jsx(Dn,{className:"size-4"}),"Revoke key"]})})]}):null]})}function R(n){return e.jsxs("div",{className:`flex min-w-0 flex-col gap-1 ${n.className??""}`,children:[e.jsx("dt",{className:"text-label-12 text-foreground-secondary",children:n.label}),e.jsx("dd",{className:"min-w-0 text-label-13 text-foreground",children:n.children})]})}function Ie(n){return new Date(n).toLocaleDateString(void 0,{day:"numeric",month:"short",year:"numeric"})}export{at as component};\n',
10
+ contentType: 'text/javascript; charset=utf-8',
11
+ },
12
+ 'assets/ccip-GdCo9sZA.js': {
13
+ content: 'import{a5 as R,a6 as L,a7 as M,a8 as C,a9 as O,aa as N,ab as A,ac as H,ad as y,ae as j,af as k,ag as v,ah as B,ai as w,aj as U,B as b,ak as P,al as S,am as q,an as _,i as J,ao as W,ap as g,aq as $,ar as x,as as z}from"./index-CPTihwDe.js";function K(e){const{abi:r,data:t}=e,s=R(t,0,4),a=r.find(n=>n.type==="function"&&s===L(M(n)));if(!a)throw new C(s,{docsPath:"/docs/contract/decodeFunctionData"});return{functionName:a.name,args:"inputs"in a&&a.inputs&&a.inputs.length>0?O(a.inputs,R(t,4)):void 0}}const p="/docs/contract/encodeErrorResult";function F(e){const{abi:r,errorName:t,args:s}=e;let a=r[0];if(t){const u=N({abi:r,args:s,name:t});if(!u)throw new A(t,{docsPath:p});a=u}if(a.type!=="error")throw new A(void 0,{docsPath:p});const n=M(a),o=L(n);let c="0x";if(s&&s.length>0){if(!a.inputs)throw new H(a.name,{docsPath:p});c=y(a.inputs,s)}return j([o,c])}const m="/docs/contract/encodeFunctionResult";function Q(e){const{abi:r,functionName:t,result:s}=e;let a=r[0];if(t){const o=N({abi:r,name:t});if(!o)throw new k(t,{docsPath:m});a=o}if(a.type!=="function")throw new k(void 0,{docsPath:m});if(!a.outputs)throw new v(a.name,{docsPath:m});const n=(()=>{if(a.outputs.length===0)return[];if(a.outputs.length===1)return[s];if(Array.isArray(s))return s;throw new B(s)})();return y(a.outputs,n)}const D="x-batch-gateway:true";async function G(e){const{data:r,ccipRequest:t}=e,{args:[s]}=K({abi:w,data:r}),a=[],n=[];return await Promise.all(s.map(async(o,c)=>{try{n[c]=o.urls.includes(D)?await G({data:o.data,ccipRequest:t}):await t(o),a[c]=!1}catch(u){a[c]=!0,n[c]=V(u)}})),Q({abi:w,functionName:"query",result:[a,n]})}function V(e){return e.name==="HttpRequestError"&&e.status?F({abi:w,errorName:"HttpError",args:[e.status,e.shortMessage]}):F({abi:[U],errorName:"Error",args:["shortMessage"in e?e.shortMessage:e.message]})}class X extends b{constructor({callbackSelector:r,cause:t,data:s,extraData:a,sender:n,urls:o}){super(t.shortMessage||"An error occurred while fetching for an offchain result.",{cause:t,metaMessages:[...t.metaMessages||[],t.metaMessages?.length?"":[],"Offchain Gateway Call:",o&&[" Gateway URL(s):",...o.map(c=>` ${P(c)}`)],` Sender: ${n}`,` Data: ${s}`,` Callback selector: ${r}`,` Extra data: ${a}`].flat(),name:"OffchainLookupError"})}}class Y extends b{constructor({result:r,url:t}){super("Offchain gateway response is malformed. Response data must be a hex value.",{metaMessages:[`Gateway URL: ${P(t)}`,`Response: ${S(r)}`],name:"OffchainLookupResponseMalformedError"})}}class Z extends b{constructor({sender:r,to:t}){super("Reverted sender address does not match target contract address (`to`).",{metaMessages:[`Contract address: ${t}`,`OffchainLookup sender address: ${r}`],name:"OffchainLookupSenderMismatchError"})}}const ra="0x556f1830",aa={name:"OffchainLookup",type:"error",inputs:[{name:"sender",type:"address"},{name:"urls",type:"string[]"},{name:"callData",type:"bytes"},{name:"callbackFunction",type:"bytes4"},{name:"extraData",type:"bytes"}]};async function sa(e,{blockNumber:r,blockTag:t,data:s,requestOptions:a,to:n}){const{args:o}=q({data:s,abi:[aa]}),[c,u,l,i,d]=o,{ccipRead:h}=e,E=h&&typeof h?.request=="function"?h.request:ta;try{if(!_(n,c))throw new Z({sender:c,to:n});const f=u.includes(D)?await G({data:l,ccipRequest:T=>E({...T,requestOptions:a})}):await E({data:l,requestOptions:a,sender:c,urls:u}),{data:I}=await J(e,{blockNumber:r,blockTag:t,data:W([i,y([{type:"bytes"},{type:"bytes"}],[f,d])]),requestOptions:a,to:n});return I}catch(f){throw a?.signal?.aborted?g(a.signal):$(f)?f:new X({callbackSelector:i,cause:f,data:s,extraData:d,sender:c,urls:u})}}async function ta({data:e,requestOptions:r,sender:t,urls:s}){let a=new Error("An unknown error occurred.");for(let n=0;n<s.length;n++){if(r?.signal?.aborted)throw g(r.signal);const o=s[n],c=o.includes("{data}")?"GET":"POST",u=c==="POST"?{data:e,sender:t}:void 0,l=c==="POST"?{"Content-Type":"application/json"}:{};try{const i=await fetch(o.replace("{sender}",t.toLowerCase()).replace("{data}",e),{body:JSON.stringify(u),headers:l,method:c,...r?.signal?{signal:r.signal}:{}});let d;if(i.headers.get("Content-Type")?.startsWith("application/json")?d=(await i.json()).data:d=await i.text(),!i.ok){a=new x({body:u,details:d?.error?S(d.error):i.statusText,headers:i.headers,status:i.status,url:o});continue}if(!z(d)){a=new Y({result:d,url:o});continue}return d}catch(i){if(r?.signal?.aborted)throw g(r.signal);if($(i))throw i;a=new x({body:u,details:i.message,url:o})}}throw a}export{ta as ccipRequest,sa as offchainLookup,aa as offchainLookupAbiItem,ra as offchainLookupSignature};\n',
14
+ contentType: 'text/javascript; charset=utf-8',
15
+ },
16
+ 'assets/Dialog-B2J1eXqU.js': {
17
+ content: 'import{c as Fn,N as M,V as $t,l,O as Lo,a0 as si,a1 as Ln,a2 as ii,a3 as ci,a4 as li}from"./index-CPTihwDe.js";const ai=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],lf=Fn("check",ai);const ui=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],af=Fn("copy",ui);const fi=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],uf=Fn("plus",fi);const di=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],ff=Fn("trash-2",di);function En(e){const{children:t,className:n,variant:r="stacked",...o}=e;return M.jsx(En.Context.Provider,{value:{variant:r},children:M.jsx("div",{className:$t("grid gap-2",n),...o,children:t})})}(e=>{e.Context=l.createContext(void 0);function t(n){const{children:r,className:o,...s}=n;return M.jsx("div",{className:$t("grid w-full min-w-0 auto-cols-fr grid-flow-col gap-2",o),...s,children:r})}e.Inline=t})(En||(En={}));function ct(e){const t=l.useContext(En.Context),{className:n,disabled:r,error:o,label:s,prefix:i,size:c,suffix:p,variant:u,...a}=e,f=u??t?.variant??"default",g=l.useId(),d=a.id??(s?g:void 0),h=M.jsxs("div",{className:$t(ct.fieldClassName[f],p?ct.fieldWithSuffixClassName[f]:void 0),children:[i&&M.jsx("div",{className:ct.prefixClassName[f],children:i}),M.jsx("input",{...a,className:ct.inputClassName[f],disabled:r,id:d}),p&&M.jsx("div",{className:ct.suffixClassName[f],children:p})]});return M.jsxs("div",{className:ct.rootClassName[f],children:[f==="default"&&s&&M.jsx("label",{className:"label-13 text-foreground-secondary",htmlFor:d,children:s}),M.jsx(Lo.Icon.Context.Provider,{value:ct.iconButtonContextValue,children:M.jsxs("div",{className:$t(ct.className(f),n),"data-disabled":r?"":void 0,"data-error":o?"":void 0,children:[f==="stacked"&&s&&M.jsx("label",{className:ct.stackedLabelClassName,htmlFor:d,children:s}),h]})}),typeof o=="string"&&M.jsx("p",{className:"label-13 text-negative",children:o})]})}(e=>{function t(r="default"){return e.baseClassName[r]}e.className=t,e.rootClassName={default:"flex min-w-0 flex-col gap-[8px]",stacked:"flex min-w-0 flex-col gap-[6px]"},e.iconButtonContextValue={variant:"surface"},e.baseClassName={default:"inline-flex h-[40px] w-full items-center gap-[10px] rounded-body border-[2px] border-transparent bg-secondary px-[12px] copy-14 text-foreground [&:not([data-error])]:hover:bg-secondary-hover focus-within:border-focus focus-within:bg-secondary-hover data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[error]:border-negative data-[error]:focus-within:border-focus",stacked:"relative flex w-full flex-col gap-1 rounded-body border-[2px] border-transparent bg-secondary px-3 pt-1.5 pb-1.5 text-foreground [&:not([data-error])]:hover:bg-secondary-hover focus-within:border-focus focus-within:bg-secondary-hover data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[error]:border-negative data-[error]:focus-within:border-focus"},e.fieldClassName={default:"contents",stacked:"flex min-w-0 items-center gap-2 copy-14 leading-tight"},e.fieldWithSuffixClassName={default:void 0,stacked:"pr-12"},e.inputClassName={default:"min-w-0 flex-1 bg-transparent outline-none placeholder:text-foreground-secondary/50 disabled:cursor-not-allowed",stacked:"min-w-0 flex-1 bg-transparent outline-none placeholder:text-foreground-secondary/50 disabled:cursor-not-allowed"},e.prefixClassName={default:"shrink-0 select-none border-r border-border pr-[10px] text-foreground-secondary",stacked:"shrink-0 select-none text-foreground-secondary"},e.suffixClassName={default:"shrink-0 select-none border-l border-border pl-[10px] text-foreground-secondary",stacked:"absolute inset-y-0 right-3 flex shrink-0 select-none items-center text-foreground-secondary"},e.stackedLabelClassName="font-mono text-[10px] leading-none uppercase tracking-[0.06em] text-foreground-secondary";function n(r){const{className:o,error:s,onChange:i,onMax:c,prefix:p,suffix:u,value:a,...f}=r,g=l.useId(),d=Xr(a),h=l.useRef(null),b=!!s,x=typeof s=="string"&&s?s:void 0,y=l.useRef(null),R=[f["aria-describedby"],x?g:void 0].filter(Boolean).join(" "),w=x?M.jsx("p",{className:"label-12 text-negative",id:g,children:x}):b||!c?null:M.jsx(Lo.Text,{onClick:S=>{S.stopPropagation(),c()},size:"small",type:"button",children:"Max"});l.useLayoutEffect(()=>{const S=h.current,T=y.current;!S||T===null||(y.current=null,S.setSelectionRange(T,T))});const m=M.jsxs("div",{className:"inline-flex min-w-0 max-w-full items-baseline justify-center gap-[4px]",children:[p&&M.jsx("div",{className:"shrink-0 heading-20 text-foreground-secondary",children:p}),M.jsxs("div",{className:"relative inline-block min-w-0 max-w-full",children:[d&&M.jsx("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 flex items-center justify-center whitespace-pre heading-20",children:Array.from(d).map((S,T)=>S===","?M.jsx("span",{className:"text-foreground-secondary",children:","},`comma-${T}`):M.jsx("span",{className:S==="."?"text-foreground-secondary":"text-foreground",children:S},`ch-${T}`))}),M.jsx("input",{...f,"aria-describedby":R||void 0,"aria-label":f["aria-label"]??"Amount","aria-invalid":b?!0:f["aria-invalid"],autoComplete:f.autoComplete??"off",className:$t("relative min-w-0 max-w-full bg-transparent text-center heading-20 text-transparent outline-none field-sizing-content caret-[var(--text-color-foreground)] placeholder:text-foreground-secondary/50",o),inputMode:f.inputMode??"decimal",name:f.name??"value",onChange:S=>{const T=S.target.value,E=S.target.selectionStart??T.length,k=pi(T,E),D=T.replace(/,/g,"");y.current=gi(Xr(D),k),i(D)},placeholder:f.placeholder??"0.00",ref:h,spellCheck:f.spellCheck??!1,value:d})]}),u&&M.jsx("div",{className:"shrink-0 heading-20 text-foreground-secondary",children:u})]});return w?M.jsxs("div",{className:"inline-flex min-w-0 max-w-full flex-col items-center gap-[2px]",children:[m,w]}):m}e.Amount=n})(ct||(ct={}));function Xr(e){if(!e)return"";const[t,n]=e.split("."),r=t.replace(/\\B(?=(\\d{3})+(?!\\d))/g,",");return n!==void 0?`${r}.${n}`:r}function pi(e,t){let n=0;for(let r=0;r<t;r++)e[r]!==","&&n++;return n}function gi(e,t){let n=0;for(let r=0;r<e.length;r++){if(n===t)return r;e[r]!==","&&n++}return e.length}const Zr={};function lt(e,t){const n=l.useRef(Zr);return n.current===Zr&&(n.current=e(t)),n}function Ut(e,t,n,r){const o=lt(Vo).current;return mi(o,e,t,n,r)&&jo(o,[e,t,n,r]),o.callback}function hi(e){const t=lt(Vo).current;return yi(t,e)&&jo(t,e),t.callback}function Vo(){return{callback:null,cleanup:null,refs:[]}}function mi(e,t,n,r,o){return e.refs[0]!==t||e.refs[1]!==n||e.refs[2]!==r||e.refs[3]!==o}function yi(e,t){return e.refs.length!==t.length||e.refs.some((n,r)=>n!==t[r])}function jo(e,t){if(e.refs=t,t.every(n=>n==null)){e.callback=null;return}e.callback=n=>{if(e.cleanup&&(e.cleanup(),e.cleanup=null),n!=null){const r=Array(t.length).fill(null);for(let o=0;o<t.length;o+=1){const s=t[o];if(s!=null)switch(typeof s){case"function":{const i=s(n);typeof i=="function"&&(r[o]=i);break}case"object":{s.current=n;break}}}e.cleanup=()=>{for(let o=0;o<t.length;o+=1){const s=t[o];if(s!=null)switch(typeof s){case"function":{const i=r[o];typeof i=="function"?i():s(null);break}case"object":{s.current=null;break}}}}}}}const bi=()=>{},K=typeof document<"u"?l.useLayoutEffect:bi,vr={...si},Qn=vr.useInsertionEffect,xi=Qn&&Qn!==vr.useLayoutEffect?Qn:e=>e();function oe(e){const t=lt(wi).current;return t.next=e,xi(t.effect),t.trampoline}function wi(){const e={next:void 0,callback:Ri,trampoline:(...t)=>e.callback?.(...t),effect:()=>{e.callback=e.next}};return e}function Ri(){}const Bo={clipPath:"inset(50%)",overflow:"hidden",whiteSpace:"nowrap",border:0,padding:0,width:1,height:1,margin:-1},Ho={...Bo,position:"fixed",top:0,left:0},Si={...Bo,position:"absolute"};function _e(){}const Jr=Object.freeze([]),Fe=Object.freeze({});function Vn(){return typeof window<"u"}function We(e){return Tr(e)?(e.nodeName||"").toLowerCase():"#document"}function ke(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ht(e){var t;return(t=(Tr(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Tr(e){return Vn()?e instanceof Node||e instanceof ke(e).Node:!1}function Ae(e){return Vn()?e instanceof Element||e instanceof ke(e).Element:!1}function Pe(e){return Vn()?e instanceof HTMLElement||e instanceof ke(e).HTMLElement:!1}function Yt(e){return!Vn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ke(e).ShadowRoot}function Pt(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=qe(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&o!=="inline"&&o!=="contents"}function Ci(e){return/^(table|td|th)$/.test(We(e))}function jn(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const Ei=/transform|translate|scale|rotate|perspective|filter/,vi=/paint|layout|strict|content/,Dt=e=>!!e&&e!=="none";let er;function Or(e){const t=Ae(e)?qe(e):e;return Dt(t.transform)||Dt(t.translate)||Dt(t.scale)||Dt(t.rotate)||Dt(t.perspective)||!Bn()&&(Dt(t.backdropFilter)||Dt(t.filter))||Ei.test(t.willChange||"")||vi.test(t.contain||"")}function Ti(e){let t=Rt(e);for(;Pe(t)&&!xt(t);){if(Or(t))return t;if(jn(t))return null;t=Rt(t)}return null}function Bn(){return er==null&&(er=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),er}function xt(e){return/^(html|body|#document)$/.test(We(e))}function qe(e){return ke(e).getComputedStyle(e)}function Hn(e){return Ae(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Rt(e){if(We(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Yt(e)&&e.host||ht(e);return Yt(t)?t.host:t}function _o(e){const t=Rt(e);return xt(t)?e.ownerDocument?e.ownerDocument.body:e.body:Pe(t)&&Pt(t)?t:_o(t)}function ln(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=_o(e),s=o===((r=e.ownerDocument)==null?void 0:r.body),i=ke(o);if(s){const c=gr(i);return t.concat(i,i.visualViewport||[],Pt(o)?o:[],c&&n?ln(c):[])}else return t.concat(o,ln(o,[],n))}function gr(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ee(e){return e?.ownerDocument||document}const Pr="none",Wo="trigger-press",Oi="trigger-hover",Ir="outside-press",tr="item-press",Pi="close-press",_n="focus-out",Ii="escape-key",Qr="list-navigation",Ai="cancel-open",Mi="imperative-action",ki="window-resize";function Le(e,t,n,r){let o=!1,s=!1;const i=Fe;return{reason:e,event:t??new Event("base-ui"),cancel(){o=!0},allowPropagation(){s=!0},get isCanceled(){return o},get isPropagationAllowed(){return s},trigger:n,...i}}let an=(function(e){return e.startingStyle="data-starting-style",e.endingStyle="data-ending-style",e})({});const Di={[an.startingStyle]:""},Ni={[an.endingStyle]:""},Ar={transitionStatus(e){return e==="starting"?Di:e==="ending"?Ni:null}};let eo=(function(e){return e.disabled="data-disabled",e.valid="data-valid",e.invalid="data-invalid",e.touched="data-touched",e.dirty="data-dirty",e.filled="data-filled",e.focused="data-focused",e})({});const Fi={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:null,valueMissing:!1},en={valid:null,touched:!1,dirty:!1,filled:!1,focused:!1},Li={disabled:!1,...en},Vi={valid(e){return e===null?null:e?{[eo.valid]:""}:{[eo.invalid]:""}}};let to=0;function ji(e,t="mui"){const[n,r]=l.useState(e),o=e||n;return l.useEffect(()=>{n==null&&(to+=1,r(`${t}-${to}`))},[n,t]),o}const no=vr.useId;function Wn(e,t){if(no!==void 0){const n=no();return e??(t?`${t}-${n}`:n)}return ji(e,t)}function $n(e){return Wn(e,"base-ui")}function Bi(e,t){return function(r,...o){const s=new URL(e);return s.searchParams.set("code",r.toString()),o.forEach(i=>s.searchParams.append("args[]",i)),`${t} error #${r}; visit ${s} for the full message.`}}const at=Bi("https://base-ui.com/production-error","Base UI"),Hi=parseInt(l.version,10);function Mr(e){return Hi>=e}function ro(e){if(!l.isValidElement(e))return null;const t=e,n=t.props;return(Mr(19)?n?.ref:t.ref)??null}function hr(e,t){if(e&&!t)return e;if(!e&&t)return t;if(e||t)return{...e,...t}}function _i(e,t){const n={};for(const r in e){const o=e[r];if(t?.hasOwnProperty(r)){const s=t[r](o);s!=null&&Object.assign(n,s);continue}o===!0?n[`data-${r.toLowerCase()}`]="":o&&(n[`data-${r.toLowerCase()}`]=o.toString())}return n}function Wi(e,t){return typeof e=="function"?e(t):e}function $i(e,t){return typeof e=="function"?e(t):e}const kr={};function Lt(e,t,n,r,o){if(!n&&!r&&!o&&!e)return vn(t);let s=vn(e);return t&&(s=tn(s,t)),n&&(s=tn(s,n)),r&&(s=tn(s,r)),o&&(s=tn(s,o)),s}function Ui(e){if(e.length===0)return kr;if(e.length===1)return vn(e[0]);let t=vn(e[0]);for(let n=1;n<e.length;n+=1)t=tn(t,e[n]);return t}function vn(e){return Dr(e)?{...Uo(e,kr)}:Yi(e)}function tn(e,t){return Dr(t)?Uo(t,e):zi(e,t)}function Yi(e){const t={...e};for(const n in t){const r=t[n];$o(n,r)&&(t[n]=Yo(r))}return t}function zi(e,t){if(!t)return e;for(const n in t){const r=t[n];switch(n){case"style":{e[n]=hr(e.style,r);break}case"className":{e[n]=zo(e.className,r);break}default:$o(n,r)?e[n]=Ki(e[n],r):e[n]=r}}return e}function $o(e,t){const n=e.charCodeAt(0),r=e.charCodeAt(1),o=e.charCodeAt(2);return n===111&&r===110&&o>=65&&o<=90&&(typeof t=="function"||typeof t>"u")}function Dr(e){return typeof e=="function"}function Uo(e,t){return Dr(e)?e(t):e??kr}function Ki(e,t){return t?e?(...n)=>{const r=n[0];if(Ko(r)){const s=r;Tn(s);const i=t(...n);return s.baseUIHandlerPrevented||e?.(...n),i}const o=t(...n);return e?.(...n),o}:Yo(t):e}function Yo(e){return e&&((...t)=>{const n=t[0];return Ko(n)&&Tn(n),e(...t)})}function Tn(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function zo(e,t){return t?e?t+" "+e:t:e}function Ko(e){return e!=null&&typeof e=="object"&&"nativeEvent"in e}function Xe(e,t,n={}){const r=t.render,o=Gi(t,n);if(n.enabled===!1)return null;const s=n.state??Fe;return Zi(e,r,o,s)}function Gi(e,t={}){const{className:n,style:r,render:o}=e,{state:s=Fe,ref:i,props:c,stateAttributesMapping:p,enabled:u=!0}=t,a=u?Wi(n,s):void 0,f=u?$i(r,s):void 0,g=u?_i(s,p):Fe,d=u&&c?qi(c):void 0,h=u?hr(g,d)??{}:Fe;return typeof document<"u"&&(u?Array.isArray(i)?h.ref=hi([h.ref,ro(o),...i]):h.ref=Ut(h.ref,ro(o),i):Ut(null,null)),u?(a!==void 0&&(h.className=zo(h.className,a)),f!==void 0&&(h.style=hr(h.style,f)),h):Fe}function qi(e){return Array.isArray(e)?Ui(e):Lt(void 0,e)}const Xi=Symbol.for("react.lazy");function Zi(e,t,n,r){if(t){if(typeof t=="function")return t(n,r);const o=Lt(n,t.props);o.ref=n.ref;let s=t;return s?.$$typeof===Xi&&(s=l.Children.toArray(t)[0]),l.cloneElement(s,o)}if(e&&typeof e=="string")return Ji(e,n);throw new Error(at(8))}function Ji(e,t){return e==="button"?l.createElement("button",{type:"button",...t,key:t.key}):e==="img"?l.createElement("img",{alt:"",...t,key:t.key}):l.createElement(e,t)}const Qi=l.createContext(void 0);function ec(e=!1){const t=l.useContext(Qi);if(t===void 0&&!e)throw new Error(at(16));return t}function tc(e){const{focusableWhenDisabled:t,disabled:n,composite:r=!1,tabIndex:o=0,isNativeButton:s}=e,i=r&&t!==!1,c=r&&t===!1;return{props:l.useMemo(()=>{const u={onKeyDown(a){n&&t&&a.key!=="Tab"&&a.preventDefault()}};return r||(u.tabIndex=o,!s&&n&&(u.tabIndex=t?o:-1)),(s&&(t||i)||!s&&n)&&(u["aria-disabled"]=n),s&&(!t||c)&&(u.disabled=n),u},[r,n,t,i,c,s,o])}}function Un(e={}){const{disabled:t=!1,focusableWhenDisabled:n,tabIndex:r=0,native:o=!0,composite:s}=e,i=l.useRef(null),c=ec(!0),p=s??c!==void 0,{props:u}=tc({focusableWhenDisabled:n,disabled:t,composite:p,tabIndex:r,isNativeButton:o}),a=l.useCallback(()=>{const d=i.current;nr(d)&&p&&t&&u.disabled===void 0&&d.disabled&&(d.disabled=!1)},[t,u.disabled,p]);K(a,[a]);const f=l.useCallback((d={})=>{const{onClick:h,onMouseDown:b,onKeyUp:x,onKeyDown:y,onPointerDown:R,...w}=d;return Lt({onClick(m){if(t){m.preventDefault();return}h?.(m)},onMouseDown(m){t||b?.(m)},onKeyDown(m){if(t||(Tn(m),y?.(m),m.baseUIHandlerPrevented))return;const S=m.target===m.currentTarget,T=m.currentTarget,E=nr(T),k=!o&&nc(T),D=S&&(o?E:!k),P=m.key==="Enter",H=m.key===" ",I=T.getAttribute("role"),O=I?.startsWith("menuitem")||I==="option"||I==="gridcell";if(S&&p&&H){if(m.defaultPrevented&&O)return;m.preventDefault(),k||o&&E?(T.click(),m.preventBaseUIHandler()):D&&(h?.(m),m.preventBaseUIHandler());return}D&&(!o&&(H||P)&&m.preventDefault(),!o&&P&&h?.(m))},onKeyUp(m){if(!t){if(Tn(m),x?.(m),m.target===m.currentTarget&&o&&p&&nr(m.currentTarget)&&m.key===" "){m.preventDefault();return}m.baseUIHandlerPrevented||m.target===m.currentTarget&&!o&&!p&&m.key===" "&&h?.(m)}},onPointerDown(m){if(t){m.preventDefault();return}R?.(m)}},o?{type:"button"}:{role:"button"},u,w)},[t,u,p,o]),g=oe(d=>{i.current=d,a()});return{getButtonProps:f,buttonRef:g}}function nr(e){return Pe(e)&&e.tagName==="BUTTON"}function nc(e){return!!(e?.tagName==="A"&&e?.href)}const Go=l.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},elementsRef:{current:[]},nextIndexRef:{current:0}});function rc(){return l.useContext(Go)}let qo=(function(e){return e[e.None=0]="None",e[e.GuessFromOrder=1]="GuessFromOrder",e})({});function oc(e={}){const{label:t,metadata:n,textRef:r,indexGuessBehavior:o,index:s}=e,{register:i,unregister:c,subscribeMapChange:p,elementsRef:u,labelsRef:a,nextIndexRef:f}=rc(),g=l.useRef(-1),[d,h]=l.useState(s??(o===qo.GuessFromOrder?()=>{if(g.current===-1){const y=f.current;f.current+=1,g.current=y}return g.current}:-1)),b=l.useRef(null),x=l.useCallback(y=>{if(b.current=y,d!==-1&&y!==null&&(u.current[d]=y,a)){const R=t!==void 0;a.current[d]=R?t:r?.current?.textContent??y.textContent}},[d,u,a,t,r]);return K(()=>{if(s!=null)return;const y=b.current;if(y)return i(y,n),()=>{c(y)}},[s,i,c,n]),K(()=>{if(s==null)return p(y=>{const R=b.current?y.get(b.current)?.index:null;R!=null&&h(R)})},[s,p,h]),l.useMemo(()=>({ref:x,index:d}),[d,x])}const sc={invalid:void 0,name:void 0,validityData:{state:Fi,errors:[],error:"",value:"",initialValue:null},setValidityData:_e,disabled:void 0,touched:en.touched,setTouched:_e,dirty:en.dirty,setDirty:_e,filled:en.filled,setFilled:_e,focused:en.focused,setFocused:_e,validate:()=>null,validationMode:"onSubmit",validationDebounceTime:0,shouldValidateOnChange:()=>!1,state:Li,markedDirtyRef:{current:!1},registerFieldControl:_e,validation:{getValidationProps:(e=Fe)=>e,getInputValidationProps:(e=Fe)=>e,inputRef:{current:null},commit:async()=>{}}},ic=l.createContext(sc);function Nr(e=!0){const t=l.useContext(ic);if(t.setValidityData===_e&&!e)throw new Error(at(28));return t}const cc=l.createContext({controlId:void 0,registerControlId:_e,labelId:void 0,setLabelId:_e,messageIds:[],setMessageIds:_e,getDescriptionProps:e=>e});function Xo(){return l.useContext(cc)}function Zo(e={}){const{id:t,implicit:n=!1,controlRef:r}=e,{controlId:o,registerControlId:s}=Xo(),i=$n(t),c=n?o:void 0,p=lt(()=>Symbol("labelable-control")),u=l.useRef(!1),a=l.useRef(t!=null),f=oe(()=>{!u.current||s===_e||(u.current=!1,s(p.current,void 0))});return K(()=>{if(s===_e)return;let g;if(n){const d=r?.current;Ae(d)&&d.closest("label")!=null?g=t??null:g=c??i}else if(t!=null)a.current=!0,g=t;else if(a.current)g=i;else{f();return}if(g===void 0){f();return}u.current=!0,s(p.current,g)},[t,r,c,s,n,i,p,f]),l.useEffect(()=>f,[f]),o??i}function mr(e){if(e==null)return"";if(typeof e=="string")return e;try{return JSON.stringify(e)}catch{return String(e)}}const lc=[];function Jo(e){l.useEffect(e,lc)}const pn=null;class ac{callbacks=[];callbacksCount=0;nextId=1;startId=1;isScheduled=!1;tick=t=>{this.isScheduled=!1;const n=this.callbacks,r=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,r>0)for(let o=0;o<n.length;o+=1)n[o]?.(t)};request(t){const n=this.nextId;return this.nextId+=1,this.callbacks.push(t),this.callbacksCount+=1,!this.isScheduled&&(requestAnimationFrame(this.tick),this.isScheduled=!0),n}cancel(t){const n=t-this.startId;n<0||n>=this.callbacks.length||(this.callbacks[n]=null,this.callbacksCount-=1)}}const gn=new ac;class dt{static create(){return new dt}static request(t){return gn.request(t)}static cancel(t){return gn.cancel(t)}currentId=pn;request(t){this.cancel(),this.currentId=gn.request(()=>{this.currentId=pn,t()})}cancel=()=>{this.currentId!==pn&&(gn.cancel(this.currentId),this.currentId=pn)};disposeEffect=()=>this.cancel}function zt(){const e=lt(dt.create).current;return Jo(e.disposeEffect),e}function yt(e){return e==null?e:"current"in e?e.current:e}function uc(e,t=!1,n=!0){const r=zt();return oe((o,s=null)=>{r.cancel();const i=yt(e);if(i==null)return;const c=i,p=()=>{Ln.flushSync(o)};if(typeof c.getAnimations!="function"||globalThis.BASE_UI_ANIMATIONS_DISABLED){o();return}function u(){Promise.all(c.getAnimations().map(a=>a.finished)).then(()=>{s?.aborted||p()}).catch(()=>{if(n){s?.aborted||p();return}const a=c.getAnimations();!s?.aborted&&a.length>0&&a.some(f=>f.pending||f.playState!=="finished")&&u()})}if(t){const a=an.startingStyle;if(!c.hasAttribute(a)){r.request(u);return}const f=new MutationObserver(()=>{c.hasAttribute(a)||(f.disconnect(),u())});f.observe(c,{attributes:!0,attributeFilter:[a]}),s?.addEventListener("abort",()=>f.disconnect(),{once:!0});return}r.request(u)})}function Yn(e){const{enabled:t=!0,open:n,ref:r,onComplete:o}=e,s=oe(o),i=uc(r,n,!1);l.useEffect(()=>{if(!t)return;const c=new AbortController;return i(s,c.signal),()=>{c.abort()}},[t,n,s,i])}function Qo(e,t=!1,n=!1){const[r,o]=l.useState(e&&t?"idle":void 0),[s,i]=l.useState(e);return e&&!s&&(i(!0),o("starting")),!e&&s&&r!=="ending"&&!n&&o("ending"),!e&&!s&&r==="ending"&&o(void 0),K(()=>{if(!e&&s&&r!=="ending"&&n){const c=dt.request(()=>{o("ending")});return()=>{dt.cancel(c)}}},[e,s,r,n]),K(()=>{if(!e||t)return;const c=dt.request(()=>{o(void 0)});return()=>{dt.cancel(c)}},[t,e]),K(()=>{if(!e||!t)return;e&&s&&r!=="idle"&&o("starting");const c=dt.request(()=>{o("idle")});return()=>{dt.cancel(c)}},[t,e,s,r]),{mounted:s,setMounted:i,transitionStatus:r}}function oo({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=l.useRef(e!==void 0),[s,i]=l.useState(t),c=o?e:s,p=l.useCallback(u=>{o||i(u)},[]);return[c,p]}const qt=typeof navigator<"u",rr=pc(),es=hc(),ts=gc(),Fr=typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter:none"),ns=rr.platform==="MacIntel"&&rr.maxTouchPoints>1?!0:/iP(hone|ad|od)|iOS/.test(rr.platform),fc=qt&&/apple/i.test(navigator.vendor),yr=qt&&/android/i.test(es)||/android/i.test(ts);qt&&es.toLowerCase().startsWith("mac")&&navigator.maxTouchPoints;const dc=ts.includes("jsdom/");function pc(){if(!qt)return{platform:"",maxTouchPoints:-1};const e=navigator.userAgentData;return e?.platform?{platform:e.platform,maxTouchPoints:navigator.maxTouchPoints}:{platform:navigator.platform??"",maxTouchPoints:navigator.maxTouchPoints??-1}}function gc(){if(!qt)return"";const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(({brand:t,version:n})=>`${t}/${n}`).join(" "):navigator.userAgent}function hc(){if(!qt)return"";const e=navigator.userAgentData;return e?.platform?e.platform:navigator.platform??""}const br="data-base-ui-focusable",mc="input:not([type=\'hidden\']):not([disabled]),[contenteditable]:not([contenteditable=\'false\']),textarea:not([disabled])",Tt="ArrowLeft",Ot="ArrowRight",Lr="ArrowUp",dn="ArrowDown";function rt(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}function ye(e,t){if(!e||!t)return!1;const n=t.getRootNode?.();if(e.contains(t))return!0;if(n&&Yt(n)){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function pt(e){return"composedPath"in e?e.composedPath()[0]:e.target}function or(e,t){if(t==null)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return n.target!=null&&t.contains(n.target)}function yc(e){return e.matches("html,body")}function Vr(e){return Pe(e)&&e.matches(mc)}function xr(e){return e?e.getAttribute("role")==="combobox"&&Vr(e):!1}function On(e){return e?e.hasAttribute(br)?e:e.querySelector(`[${br}]`)||e:null}function un(e,t,n=!0){return e.filter(o=>o.parentId===t).flatMap(o=>[...!n||o.context?.open?[o]:[],...un(e,o.id,n)])}function so(e,t){let n=[],r=e.find(o=>o.id===t)?.parentId;for(;r;){const o=e.find(s=>s.id===r);r=o?.parentId,o&&(n=n.concat(o))}return n}function et(e){e.preventDefault(),e.stopPropagation()}function bc(e){return"nativeEvent"in e}function jr(e){return e.pointerType===""&&e.isTrusted?!0:yr&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function rs(e){return dc?!1:!yr&&e.width===0&&e.height===0||yr&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"||e.width<1&&e.height<1&&e.pressure===0&&e.detail===0&&e.pointerType==="touch"}function io(e,t){return["mouse","pen"].includes(e)}function xc(e){const t=e.type;return t==="click"||t==="mousedown"||t==="keydown"||t==="keyup"}const wc=["top","right","bottom","left"],Kt=Math.min,tt=Math.max,Pn=Math.round,Nt=Math.floor,gt=e=>({x:e,y:e}),Rc={left:"right",right:"left",bottom:"top",top:"bottom"};function wr(e,t,n){return tt(e,Kt(t,n))}function St(e,t){return typeof e=="function"?e(t):e}function nt(e){return e.split("-")[0]}function It(e){return e.split("-")[1]}function Br(e){return e==="x"?"y":"x"}function Hr(e){return e==="y"?"height":"width"}function ot(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function _r(e){return Br(ot(e))}function Sc(e,t,n){n===void 0&&(n=!1);const r=It(e),o=_r(e),s=Hr(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=In(i)),[i,In(i)]}function Cc(e){const t=In(e);return[Rr(e),t,Rr(t)]}function Rr(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const co=["left","right"],lo=["right","left"],Ec=["top","bottom"],vc=["bottom","top"];function Tc(e,t,n){switch(e){case"top":case"bottom":return n?t?lo:co:t?co:lo;case"left":case"right":return t?Ec:vc;default:return[]}}function Oc(e,t,n,r){const o=It(e);let s=Tc(nt(e),n==="start",r);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map(Rr)))),s}function In(e){const t=nt(e);return Rc[t]+e.slice(t.length)}function Pc(e){return{top:0,right:0,bottom:0,left:0,...e}}function os(e){return typeof e!="number"?Pc(e):{top:e,right:e,bottom:e,left:e}}function fn(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function hn(e,t,n){return Math.floor(e/t)!==n}function An(e,t){return t<0||t>=e.length}function sr(e,t){return Ue(e.current,{disabledIndices:t})}function ao(e,t){return Ue(e.current,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function Ue(e,{startingIndex:t=-1,decrement:n=!1,disabledIndices:r,amount:o=1}={}){let s=t;do s+=n?-o:o;while(s>=0&&s<=e.length-1&&Ht(e,s,r));return s}function Ic(e,{event:t,orientation:n,loopFocus:r,onLoop:o,rtl:s,cols:i,disabledIndices:c,minIndex:p,maxIndex:u,prevIndex:a,stopEvent:f=!1}){let g=a,d;if(t.key===Lr?d="up":t.key===dn&&(d="down"),d){const h=[],b=[];let x=!1,y=0;{let D=null,P=-1;e.forEach((H,I)=>{if(H==null)return;y+=1;const O=H.closest(\'[role="row"]\');O&&(x=!0),(O!==D||P===-1)&&(D=O,P+=1,h[P]=[]),h[P].push(I),b[I]=P})}let R=!1,w=0;if(x)for(const D of h){const P=D.length;P>w&&(w=P),P!==i&&(R=!0)}const m=R&&y<e.length,S=w||i,T=D=>{if(!R||a===-1)return;const P=b[a];if(P==null)return;const H=h[P].indexOf(a),I=D==="up"?-1:1;for(let O=P+I,B=0;B<h.length;B+=1,O+=I){if(O<0||O>=h.length){if(!r||m)return;if(O=O<0?h.length-1:0,o){const J=Math.min(H,h[O].length-1),A=h[O][J]??h[O][0],F=o(t,a,A);O=b[F]??O}}const _=h[O];for(let J=Math.min(H,_.length-1);J>=0;J-=1){const A=_[J];if(!Ht(e,A,c))return A}}},E=D=>{if(!m||a===-1)return;const P=a%S,H=D==="up"?-S:S,I=u-u%S,O=Nt(u/S)+1;for(let B=a-P+H,_=0;_<O;_+=1,B+=H){if(B<0||B>u){if(!r)return;B=B<0?I:0}const J=Math.min(B+S-1,u);for(let A=Math.min(B+P,J);A>=B;A-=1)if(!Ht(e,A,c))return A}};f&&et(t);const k=T(d)??E(d);if(k!==void 0)g=k;else if(a===-1)g=d==="up"?u:p;else if(g=Ue(e,{startingIndex:a,amount:S,decrement:d==="up",disabledIndices:c}),r){if(d==="up"&&(a-S<p||g<0)){const D=a%S,P=u%S,H=u-(P-D);P===D?g=u:g=P>D?H:H-S,o&&(g=o(t,a,g))}d==="down"&&a+S>u&&(g=Ue(e,{startingIndex:a%S-S,amount:S,disabledIndices:c}),o&&(g=o(t,a,g)))}An(e,g)&&(g=a)}if(n==="both"){const h=Nt(a/i);t.key===(s?Tt:Ot)&&(f&&et(t),a%i!==i-1?(g=Ue(e,{startingIndex:a,disabledIndices:c}),r&&hn(g,i,h)&&(g=Ue(e,{startingIndex:a-a%i-1,disabledIndices:c}),o&&(g=o(t,a,g)))):r&&(g=Ue(e,{startingIndex:a-a%i-1,disabledIndices:c}),o&&(g=o(t,a,g))),hn(g,i,h)&&(g=a)),t.key===(s?Ot:Tt)&&(f&&et(t),a%i!==0?(g=Ue(e,{startingIndex:a,decrement:!0,disabledIndices:c}),r&&hn(g,i,h)&&(g=Ue(e,{startingIndex:a+(i-a%i),decrement:!0,disabledIndices:c}),o&&(g=o(t,a,g)))):r&&(g=Ue(e,{startingIndex:a+(i-a%i),decrement:!0,disabledIndices:c}),o&&(g=o(t,a,g))),hn(g,i,h)&&(g=a));const b=Nt(u/i)===h;An(e,g)&&(r&&b?(g=t.key===(s?Ot:Tt)?u:Ue(e,{startingIndex:a-a%i-1,disabledIndices:c}),o&&(g=o(t,a,g))):g=a)}return g}function Ac(e,t,n){const r=[];let o=0;return e.forEach(({width:s,height:i},c)=>{let p=!1;for(;!p;){const u=[];for(let a=0;a<s;a+=1)for(let f=0;f<i;f+=1)u.push(o+a+f*t);o%t+s<=t&&u.every(a=>r[a]==null)?(u.forEach(a=>{r[a]=c}),p=!0):o+=1}}),[...r]}function Mc(e,t,n,r,o){if(e===-1)return-1;const s=n.indexOf(e),i=t[e];switch(o){case"tl":return s;case"tr":return i?s+i.width-1:s;case"bl":return i?s+(i.height-1)*r:s;case"br":return n.lastIndexOf(e);default:return-1}}function kc(e,t){return t.flatMap((n,r)=>e.includes(n)?[r]:[])}function Ht(e,t,n){if(typeof n=="function"?n(t):n?.includes(t)??!1)return!0;const o=e[t];return o?zn(o)?!n&&(o.hasAttribute("disabled")||o.getAttribute("aria-disabled")==="true"):!0:!1}function Dc(e){return e.visibility==="hidden"||e.visibility==="collapse"}function zn(e,t=e?qe(e):null){return!e||!e.isConnected||!t||Dc(t)?!1:typeof e.checkVisibility=="function"?e.checkVisibility():t.display!=="none"&&t.display!=="contents"}const Nc=\'a[href],button,input,select,textarea,summary,details,iframe,object,embed,[tabindex],[contenteditable]:not([contenteditable="false"]),audio[controls],video[controls]\';function Fc(e){const t=e.assignedSlot;if(t)return t;if(e.parentElement)return e.parentElement;const n=e.getRootNode();return Yt(n)?n.host:null}function Sr(e){for(const t of Array.from(e.children))if(We(t)==="summary")return t;return null}function Lc(e,t){const n=Sr(t);return!!n&&(e===n||ye(n,e))}function ss(e){const t=e?We(e):"";return e!=null&&e.matches(Nc)&&(t!=="summary"||e.parentElement!=null&&We(e.parentElement)==="details"&&Sr(e.parentElement)===e)&&(t!=="details"||Sr(e)==null)&&(t!=="input"||e.type!=="hidden")}function is(e){if(!ss(e)||!e.isConnected||e.matches(":disabled"))return!1;for(let t=e;t;t=Fc(t)){const n=t!==e,r=We(t)==="slot";if(t.hasAttribute("inert")||n&&We(t)==="details"&&!t.open&&!Lc(e,t)||t.hasAttribute("hidden")||!r&&!Vc(t,n))return!1}return!0}function Vc(e,t){const n=qe(e);return t?n.display!=="none":zn(e,n)}function cs(e){const t=e.tabIndex;if(t<0){const n=We(e);if(n==="details"||n==="audio"||n==="video"||Pe(e)&&e.isContentEditable)return 0}return t}function ir(e){if(We(e)!=="input")return null;const t=e;return t.type==="radio"&&t.name!==""?t:null}function jc(e,t){const n=ir(e);if(!n)return!0;const r=t.find(o=>{const s=ir(o);return s?.name===n.name&&s.form===n.form&&s.checked});return r?r===n:t.find(o=>{const s=ir(o);return s?.name===n.name&&s.form===n.form})===n}function ls(e){if(Pe(e)&&We(e)==="slot"){const t=e.assignedElements({flatten:!0});if(t.length>0)return t}return Pe(e)&&e.shadowRoot?Array.from(e.shadowRoot.children):Array.from(e.children)}function as(e,t){ls(e).forEach(n=>{ss(n)&&t.push(n),as(n,t)})}function us(e,t,n){ls(e).forEach(r=>{Pe(r)&&r.matches(t)&&n.push(r),us(r,t,n)})}function Wr(e){return is(e)&&cs(e)>=0}function fs(e){const t=[];return as(e,t),t.filter(is)}function Kn(e){const t=fs(e);return t.filter(n=>cs(n)>=0&&jc(n,t))}function ds(e,t){const n=Kn(e),r=n.length;if(r===0)return;const o=rt(Ee(e)),s=n.indexOf(o),i=s===-1?t===1?0:r-1:s+t;return n[i]}function ps(e){return ds(Ee(e).body,1)||e}function gs(e){return ds(Ee(e).body,-1)||e}function on(e,t){const n=t||e.currentTarget,r=e.relatedTarget;return!r||!ye(n,r)}function Bc(e){Kn(e).forEach(n=>{n.dataset.tabindex=n.getAttribute("tabindex")||"",n.setAttribute("tabindex","-1")})}function uo(e){const t=[];us(e,"[data-tabindex]",t),t.forEach(n=>{const r=n.dataset.tabindex;delete n.dataset.tabindex,r?n.setAttribute("tabindex",r):n.removeAttribute("tabindex")})}const Hc="ArrowUp",_c="ArrowDown",Wc="ArrowLeft",$c="ArrowRight",Uc="Home",Yc="End",zc=new Set([Wc,$c]),Kc=new Set([Hc,_c]),Gc=new Set([...zc,...Kc]),hs=new Set([...Gc,Uc,Yc]);function qc(e){const{children:t,elementsRef:n,labelsRef:r,onMapChange:o}=e,s=oe(o),i=l.useRef(0),c=lt(Zc).current,p=lt(Xc).current,[u,a]=l.useState(0),f=l.useRef(u),g=oe((y,R)=>{p.set(y,R??null),f.current+=1,a(f.current)}),d=oe(y=>{p.delete(y),f.current+=1,a(f.current)}),h=l.useMemo(()=>{const y=new Map;return Array.from(p.keys()).filter(w=>w.isConnected).sort(Jc).forEach((w,m)=>{const S=p.get(w)??{};y.set(w,{...S,index:m})}),y},[p,u]);K(()=>{if(typeof MutationObserver!="function"||h.size===0)return;const y=new MutationObserver(R=>{const w=new Set,m=S=>w.has(S)?w.delete(S):w.add(S);R.forEach(S=>{S.removedNodes.forEach(m),S.addedNodes.forEach(m)}),w.size===0&&(f.current+=1,a(f.current))});return h.forEach((R,w)=>{w.parentElement&&y.observe(w.parentElement,{childList:!0})}),()=>{y.disconnect()}},[h]),K(()=>{f.current===u&&(n.current.length!==h.size&&(n.current.length=h.size),r&&r.current.length!==h.size&&(r.current.length=h.size),i.current=h.size),s(h)},[s,h,n,r,u]),K(()=>()=>{n.current=[]},[n]),K(()=>()=>{r&&(r.current=[])},[r]);const b=oe(y=>(c.add(y),()=>{c.delete(y)}));K(()=>{c.forEach(y=>y(h))},[c,h]);const x=l.useMemo(()=>({register:g,unregister:d,subscribeMapChange:b,elementsRef:n,labelsRef:r,nextIndexRef:i}),[g,d,b,n,r,i]);return M.jsx(Go.Provider,{value:x,children:t})}function Xc(){return new Map}function Zc(){return new Set}function Jc(e,t){const n=e.compareDocumentPosition(t);return n&Node.DOCUMENT_POSITION_FOLLOWING||n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_PRECEDING||n&Node.DOCUMENT_POSITION_CONTAINS?1:0}const Qc=l.createContext(void 0);function ms(){return l.useContext(Qc)?.direction??"ltr"}function el(e,t,n,r,o=!0){const{registerFieldControl:s}=Nr(),i=l.useRef(null);i.current||(i.current=Symbol()),K(()=>{const c=i.current;return!c||!o?void 0:(s(c,{controlRef:e,getValue:r,id:t,value:n}),()=>{s(c,void 0)})},[e,o,r,t,s,n])}const tl=l.createContext({formRef:{current:{fields:new Map}},errors:{},clearErrors:_e,validationMode:"onSubmit",submitAttemptedRef:{current:!1}});function nl(){return l.useContext(tl)}function ys(e,t){const n=l.useRef(e),r=oe(t);K(()=>{n.current!==e&&r(n.current)},[e,r]),K(()=>{n.current=e},[e])}function df(e={}){const{timeout:t=800}=e,[n,r]=l.useState(!1),o=l.useRef(null);return{copy:l.useCallback(async i=>{o.current&&clearTimeout(o.current);try{if(!navigator.clipboard)throw new Error("Clipboard API not supported");return await navigator.clipboard.writeText(i),r(!0),o.current=setTimeout(()=>r(!1),t),!0}catch(c){return console.error("useCopy: Failed to copy text:",c),!1}},[t]),notifying:n}}function Ge(e){const t=lt(rl,e).current;return t.next=e,K(t.effect),t}function rl(e){const t={current:e,next:e,effect:()=>{t.current=t.next}};return t}function bs(e){const t=l.useRef(!0);t.current&&(t.current=!1,e())}function ol(e){const[t,n]=l.useState({current:e,previous:null});return e!==t.current&&n({current:e,previous:t.current}),t.previous}const U=(e,t,n,r,o,s,...i)=>{if(i.length>0)throw new Error(at(1));let c;if(e)c=e;else throw new Error("Missing arguments");return c};var sl=ii();const il=Mr(19),cl=il?al:ul;function se(e,t,n,r,o){return cl(e,t,n,r,o)}function ll(e,t,n,r,o){const s=l.useCallback(()=>t(e.getSnapshot(),n,r,o),[e,t,n,r,o]);return sl.useSyncExternalStore(e.subscribe,s,s)}function al(e,t,n,r,o){return ll(e,t,n,r,o)}function ul(e,t,n,r,o){return ci.useSyncExternalStoreWithSelector(e.subscribe,e.getSnapshot,e.getSnapshot,s=>t(s,n,r,o))}class xs{constructor(t){this.state=t,this.listeners=new Set,this.updateTick=0}subscribe=t=>(this.listeners.add(t),()=>{this.listeners.delete(t)});getSnapshot=()=>this.state;setState(t){if(this.state===t)return;this.state=t,this.updateTick+=1;const n=this.updateTick;for(const r of this.listeners){if(n!==this.updateTick)return;r(t)}}update(t){for(const n in t)if(!Object.is(this.state[n],t[n])){this.setState({...this.state,...t});return}}set(t,n){Object.is(this.state[t],n)||this.setState({...this.state,[t]:n})}notifyAll(){const t={...this.state};this.setState(t)}use(t,n,r,o){return se(this,t,n,r,o)}}class ws extends xs{constructor(t,n={},r){super(t),this.context=n,this.selectors=r}useSyncedValue(t,n){l.useDebugValue(t);const r=this;K(()=>{r.state[t]!==n&&r.set(t,n)},[r,t,n])}useSyncedValueWithCleanup(t,n){const r=this;K(()=>(r.state[t]!==n&&r.set(t,n),()=>{r.set(t,void 0)}),[r,t,n])}useSyncedValues(t){const n=this,r=Object.values(t);K(()=>{n.update(t)},[n,...r])}useControlledProp(t,n){l.useDebugValue(t);const r=this,o=n!==void 0;K(()=>{o&&!Object.is(r.state[t],n)&&r.setState({...r.state,[t]:n})},[r,t,n,o])}select(t,n,r,o){const s=this.selectors[t];return s(this.state,n,r,o)}useState(t,n,r,o){return l.useDebugValue(t),se(this,this.selectors[t],n,r,o)}useContextCallback(t,n){l.useDebugValue(t);const r=oe(n??_e);this.context[t]=r}useStateSetter(t){const n=l.useRef(void 0);return n.current===void 0&&(n.current=r=>{this.set(t,r)}),n.current}observe(t,n){let r;typeof t=="function"?r=t:r=this.selectors[t];let o=r(this.state);return n(o,o,this),this.subscribe(s=>{const i=r(s);if(!Object.is(o,i)){const c=o;o=i,n(i,c,this)}})}}function _t(...e){return()=>{for(let t=0;t<e.length;t+=1){const n=e[t];n&&n()}}}function Ce(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}const Jt=0;class Vt{static create(){return new Vt}currentId=Jt;start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=Jt,n()},t)}isStarted(){return this.currentId!==Jt}clear=()=>{this.currentId!==Jt&&(clearTimeout(this.currentId),this.currentId=Jt)};disposeEffect=()=>this.clear}function wt(){const e=lt(Vt.create).current;return Jo(e.disposeEffect),e}const Mn=l.forwardRef(function(t,n){const[r,o]=l.useState();K(()=>{fc&&o("button")},[]);const s={tabIndex:0,role:r};return M.jsx("span",{...t,ref:n,style:Ho,"aria-hidden":r?void 0:!0,...s,"data-base-ui-focus-guard":""})});function kn(e){return`data-base-ui-${e}`}let mn=0;function Sn(e,t={}){const{preventScroll:n=!1,sync:r=!1,shouldFocus:o}=t;cancelAnimationFrame(mn);function s(){o&&!o()||e?.focus({preventScroll:n})}if(r)return s(),_e;const i=requestAnimationFrame(s);return mn=i,()=>{mn===i&&(cancelAnimationFrame(i),mn=0)}}const cr={inert:new WeakMap,"aria-hidden":new WeakMap},fo="data-base-ui-inert",Cr={inert:new WeakSet,"aria-hidden":new WeakSet};let Qt=new WeakMap,lr=0;function fl(e){return Cr[e]}function Rs(e){return e?Yt(e)?e.host:Rs(e.parentNode):null}const ar=(e,t)=>t.map(n=>{if(e.contains(n))return n;const r=Rs(n);return e.contains(r)?r:null}).filter(n=>n!=null),po=e=>{const t=new Set;return e.forEach(n=>{let r=n;for(;r&&!t.has(r);)t.add(r),r=r.parentNode}),t},go=(e,t,n)=>{const r=[],o=s=>{!s||n.has(s)||Array.from(s.children).forEach(i=>{We(i)!=="script"&&(t.has(i)?o(i):r.push(i))})};return o(e),r};function dl(e,t,n,r,{mark:o=!0,markerIgnoreElements:s=[]}){const i=r?"inert":n?"aria-hidden":null;let c=null,p=null;const u=ar(t,e),a=o?ar(t,s):[],f=new Set(a),g=o?go(t,po(u),new Set(u)).filter(b=>!f.has(b)):[],d=[],h=[];if(i){const b=cr[i],x=fl(i);p=x,c=b;const y=ar(t,Array.from(t.querySelectorAll("[aria-live]"))),R=u.concat(y);go(t,po(R),new Set(R)).forEach(m=>{const S=m.getAttribute(i),T=S!==null&&S!=="false",E=(b.get(m)||0)+1;b.set(m,E),d.push(m),E===1&&T&&x.add(m),T||m.setAttribute(i,i==="inert"?"":"true")})}return o&&g.forEach(b=>{const x=(Qt.get(b)||0)+1;Qt.set(b,x),h.push(b),x===1&&b.setAttribute(fo,"")}),lr+=1,()=>{c&&d.forEach(b=>{const y=(c.get(b)||0)-1;c.set(b,y),y||(!p?.has(b)&&i&&b.removeAttribute(i),p?.delete(b))}),o&&h.forEach(b=>{const x=(Qt.get(b)||0)-1;Qt.set(b,x),x||b.removeAttribute(fo)}),lr-=1,lr||(cr.inert=new WeakMap,cr["aria-hidden"]=new WeakMap,Cr.inert=new WeakSet,Cr["aria-hidden"]=new WeakSet,Qt=new WeakMap)}}function ho(e,t={}){const{ariaHidden:n=!1,inert:r=!1,mark:o=!0,markerIgnoreElements:s=[]}=t,i=Ee(e[0]).body;return dl(e,i,n,r,{mark:o,markerIgnoreElements:s})}const pl={style:{transition:"none"}},Ss="data-base-ui-click-trigger",gl={fallbackAxisSide:"none"},hl={clipPath:"inset(50%)",position:"fixed",top:0,left:0},Cs=l.createContext(null),Es=()=>l.useContext(Cs),ml=kn("portal");function yl(e={}){const{ref:t,container:n,componentProps:r=Fe,elementProps:o}=e,s=Wn(),c=Es()?.portalNode,[p,u]=l.useState(null),[a,f]=l.useState(null),g=oe(x=>{x!==null&&f(x)}),d=l.useRef(null);K(()=>{if(n===null){d.current&&(d.current=null,f(null),u(null));return}if(s==null)return;const x=(n&&(Tr(n)?n:n.current))??c??document.body;if(x==null){d.current&&(d.current=null,f(null),u(null));return}d.current!==x&&(d.current=x,f(null),u(x))},[n,c,s]);const h=Xe("div",r,{ref:[t,g],props:[{id:s,[ml]:""},o]});return{portalNode:a,portalSubtree:p&&h?Ln.createPortal(h,p):null}}const vs=l.forwardRef(function(t,n){const{render:r,className:o,style:s,children:i,container:c,renderGuards:p,...u}=t,{portalNode:a,portalSubtree:f}=yl({container:c,ref:n,componentProps:t,elementProps:u}),g=l.useRef(null),d=l.useRef(null),h=l.useRef(null),b=l.useRef(null),[x,y]=l.useState(null),R=l.useRef(!1),w=x?.modal,m=x?.open,S=typeof p=="boolean"?p:!!x&&!x.modal&&x.open&&!!a;l.useEffect(()=>{if(!a||w)return;function E(k){a&&k.relatedTarget&&on(k)&&(k.type==="focusin"?R.current&&(uo(a),R.current=!1):(Bc(a),R.current=!0))}return _t(Ce(a,"focusin",E,!0),Ce(a,"focusout",E,!0))},[a,w]),l.useEffect(()=>{!a||m!==!1||(uo(a),R.current=!1)},[m,a]);const T=l.useMemo(()=>({beforeOutsideRef:g,afterOutsideRef:d,beforeInsideRef:h,afterInsideRef:b,portalNode:a,setFocusManagerState:y}),[a]);return M.jsxs(l.Fragment,{children:[f,M.jsxs(Cs.Provider,{value:T,children:[S&&a&&M.jsx(Mn,{"data-type":"outside",ref:g,onFocus:E=>{if(on(E,a))h.current?.focus();else{const k=x?x.domReference:null;gs(k)?.focus()}}}),S&&a&&M.jsx("span",{"aria-owns":a.id,style:hl}),a&&Ln.createPortal(i,a),S&&a&&M.jsx(Mn,{"data-type":"outside",ref:d,onFocus:E=>{if(on(E,a))b.current?.focus();else{const k=x?x.domReference:null;ps(k)?.focus(),x?.closeOnFocusOut&&x?.onOpenChange(!1,Le(_n,E.nativeEvent))}}})]})]})});function bl(){const e=new Map;return{emit(t,n){e.get(t)?.forEach(r=>r(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){e.get(t)?.delete(n)}}}const xl=l.createContext(null),wl=l.createContext(null),$r=()=>l.useContext(xl)?.id||null,Gn=e=>{const t=l.useContext(wl);return e??t};function Rl(e,t){const n=ke(pt(e));return e instanceof n.KeyboardEvent?"keyboard":e instanceof n.FocusEvent?t||"keyboard":"pointerType"in e?e.pointerType||"keyboard":"touches"in e?"touch":e instanceof n.MouseEvent?t||(e.detail===0?"keyboard":"mouse"):""}const mo=20;let vt=[];function Ur(){vt=vt.filter(e=>e.deref()?.isConnected)}function Sl(e){Ur(),e&&We(e)!=="body"&&(vt.push(new WeakRef(e)),vt.length>mo&&(vt=vt.slice(-mo)))}function ur(){return Ur(),vt[vt.length-1]?.deref()}function Cl(e){return e?Wr(e)?e:Kn(e)[0]||e:null}function yo(e,t){if(e.hasAttribute("tabindex")&&!e.hasAttribute("data-tabindex")||!t.current.includes("floating")&&!e.getAttribute("role")?.includes("dialog"))return;const r=fs(e).filter(s=>{const i=s.getAttribute("data-tabindex")||"";return Wr(s)||s.hasAttribute("data-tabindex")&&!i.startsWith("-")}),o=e.getAttribute("tabindex");t.current.includes("floating")||r.length===0?o!=="0"&&e.setAttribute("tabindex","0"):(o!=="-1"||e.hasAttribute("data-tabindex")&&e.getAttribute("data-tabindex")!=="-1")&&(e.setAttribute("tabindex","-1"),e.setAttribute("data-tabindex","-1"))}function Ts(e){const{context:t,children:n,disabled:r=!1,initialFocus:o=!0,returnFocus:s=!0,restoreFocus:i=!1,modal:c=!0,closeOnFocusOut:p=!0,openInteractionType:u="",nextFocusableElement:a,previousFocusableElement:f,beforeContentFocusGuardRef:g,externalTree:d,getInsideElements:h}=e,b="rootStore"in t?t.rootStore:t,x=b.useState("open"),y=b.useState("domReferenceElement"),R=b.useState("floatingElement"),{events:w,dataRef:m}=b.context,S=oe(()=>m.current.floatingContext?.nodeId),T=o===!1,E=xr(y)&&T,k=l.useRef(["content"]),D=Ge(o),P=Ge(s),H=Ge(u),I=Gn(d),O=Es(),B=l.useRef(!1),_=l.useRef(!1),J=l.useRef(!1),A=l.useRef(null),F=l.useRef(""),ie=l.useRef(""),j=l.useRef(null),le=l.useRef(null),be=Ut(j,g,O?.beforeInsideRef),v=Ut(le,O?.afterInsideRef),V=wt(),G=wt(),he=zt(),pe=O!=null,z=On(R),ae=oe((q=z)=>q?Kn(q):[]),ve=oe(()=>h?.().filter(q=>q!=null)??[]);l.useEffect(()=>{if(r||!c)return;function q(te){te.key==="Tab"&&ye(z,rt(Ee(z)))&&ae().length===0&&!E&&et(te)}const X=Ee(z);return Ce(X,"keydown",q)},[r,z,c,E,ae]),l.useEffect(()=>{if(r||!x)return;const q=Ee(z);function X(){J.current=!1}function te(ee){const $=pt(ee),Q=ve(),Y=ye(R,$)||ye(y,$)||ye(O?.portalNode,$)||Q.some(fe=>fe===$||ye(fe,$));J.current=!Y,ie.current=ee.pointerType||"keyboard",$?.closest(`[${Ss}]`)&&(_.current=!0)}function ce(){ie.current="keyboard"}return _t(Ce(q,"pointerdown",te,!0),Ce(q,"pointerup",X,!0),Ce(q,"pointercancel",X,!0),Ce(q,"keydown",ce,!0))},[r,R,y,z,x,O,ve]),l.useEffect(()=>{if(r||!p)return;const q=Ee(z);function X(){_.current=!0,G.start(0,()=>{_.current=!1})}function te(Q){const Y=pt(Q);Wr(Y)&&(A.current=Y)}function ce(Q){const Y=Q.relatedTarget,fe=Q.currentTarget,de=pt(Q);queueMicrotask(()=>{const ue=S(),re=b.context.triggerElements,W=ve(),C=Y?.hasAttribute(kn("focus-guard"))&&[j.current,le.current,O?.beforeInsideRef.current,O?.afterInsideRef.current,O?.beforeOutsideRef.current,O?.afterOutsideRef.current,yt(f),yt(a)].includes(Y),N=!(ye(y,Y)||ye(R,Y)||ye(Y,R)||ye(O?.portalNode,Y)||W.some(L=>L===Y||ye(L,Y))||Y!=null&&re.hasElement(Y)||re.hasMatchingElement(L=>ye(L,Y))||C||I&&(un(I.nodesRef.current,ue).find(L=>ye(L.context?.elements.floating,Y)||ye(L.context?.elements.domReference,Y))||so(I.nodesRef.current,ue).find(L=>[L.context?.elements.floating,On(L.context?.elements.floating)].includes(Y)||L.context?.elements.domReference===Y)));if(fe===y&&z&&yo(z,k),i&&fe!==y&&!zn(de)&&rt(q)===q.body){if(Pe(z)&&(z.focus(),i==="popup")){he.request(()=>{z.focus()});return}const L=ae(),Z=A.current,xe=(Z&&L.includes(Z)?Z:null)||L[L.length-1]||z;Pe(xe)&&xe.focus()}if(m.current.insideReactTree){m.current.insideReactTree=!1;return}(E||!c)&&Y&&N&&!_.current&&(E||Y!==ur())&&(B.current=!0,b.setOpen(!1,Le(_n,Q)))})}function ee(){J.current||(m.current.insideReactTree=!0,V.start(0,()=>{m.current.insideReactTree=!1}))}const $=Pe(y)?y:null;if(!(!R&&!$))return _t($&&Ce($,"focusout",ce),$&&Ce($,"pointerdown",X),R&&Ce(R,"focusin",te),R&&Ce(R,"focusout",ce),R&&O&&Ce(R,"focusout",ee,!0))},[r,y,R,z,c,I,O,b,p,i,ae,E,S,k,m,V,G,he,a,f,ve]),l.useEffect(()=>{if(r||!R||!x)return;const q=Array.from(O?.portalNode?.querySelectorAll(`[${kn("portal")}]`)||[]),te=(I?so(I.nodesRef.current,S()):[]).find(fe=>xr(fe.context?.elements.domReference||null))?.context?.elements.domReference,ee=[...[R,...q,j.current,le.current,O?.beforeOutsideRef.current,O?.afterOutsideRef.current,...ve()],te,yt(f),yt(a),E?y:null].filter(fe=>fe!=null),$=ho(ee,{ariaHidden:c||E,mark:!1}),Q=[R,...q].filter(fe=>fe!=null),Y=ho(Q);return()=>{Y(),$()}},[x,r,y,R,c,O,E,I,S,a,f,ve]),K(()=>{if(!x||r||!Pe(z))return;const q=Ee(z),X=rt(q);queueMicrotask(()=>{const te=D.current,ce=typeof te=="function"?te(H.current||""):te;if(ce===void 0||ce===!1||ye(z,X))return;let $=null;const Q=()=>($==null&&($=ae(z)),$[0]||z);let Y;ce===!0||ce===null?Y=Q():Y=yt(ce),Y=Y||Q();const fe=ye(z,rt(q));Sn(Y,{preventScroll:Y===z,shouldFocus(){if(fe)return!0;const de=rt(q);return!(de!==Y&&ye(z,de))}})})},[r,x,z,ae,D,H]),K(()=>{if(r||!z)return;const q=Ee(z),X=rt(q);Sl(X);function te(ee){if(ee.open||(F.current=Rl(ee.nativeEvent,ie.current)),ee.reason===Oi&&ee.nativeEvent.type==="mouseleave"&&(B.current=!0),ee.reason===Ir)if(ee.nested)B.current=!1;else if(jr(ee.nativeEvent)||rs(ee.nativeEvent))B.current=!1;else{let $=!1;Ee(z).createElement("div").focus({get preventScroll(){return $=!0,!1}}),$?B.current=!1:B.current=!0}}w.on("openchange",te);function ce(){const ee=P.current;let $=typeof ee=="function"?ee(F.current):ee;if($===void 0||$===!1)return null;if($===null&&($=!0),typeof $=="boolean")return y?.isConnected?y:ur()||null;const Q=y?.isConnected?y:ur();return yt($)||Q||null}return()=>{w.off("openchange",te);const ee=rt(q),$=ve(),Q=ye(R,ee)||$.some(de=>de===ee||ye(de,ee))||I&&un(I.nodesRef.current,S(),!1).some(de=>ye(de.context?.elements.floating,ee)),Y=P.current,fe=ce();queueMicrotask(()=>{const de=Cl(fe),ue=typeof Y!="boolean";Y&&!B.current&&Pe(de)&&(!(!ue&&de!==ee&&ee!==q.body)||Q)&&de.focus({preventScroll:!0}),B.current=!1})}},[r,R,z,P,w,I,y,S,ve]),K(()=>{if(!Fr||x||!R)return;const q=rt(Ee(R));!Pe(q)||!Vr(q)||ye(R,q)&&q.blur()},[x,R]),K(()=>{if(!(r||!O))return O.setFocusManagerState({modal:c,closeOnFocusOut:p,open:x,onOpenChange:b.setOpen,domReference:y}),()=>{O.setFocusManagerState(null)}},[r,O,c,x,b,p,y]),K(()=>{if(!(r||!z))return yo(z,k),()=>{queueMicrotask(Ur)}},[r,z,k]);const Ve=!r&&(c?!E:!0)&&(pe||c);return M.jsxs(l.Fragment,{children:[Ve&&M.jsx(Mn,{"data-type":"inside",ref:be,onFocus:q=>{if(c){const X=ae();Sn(X[X.length-1])}else O?.portalNode&&(B.current=!1,on(q,O.portalNode)?ps(y)?.focus():yt(f??O.beforeOutsideRef)?.focus())}}),n,Ve&&M.jsx(Mn,{"data-type":"inside",ref:v,onFocus:q=>{c?Sn(ae()[0]):O?.portalNode&&(p&&(B.current=!0),on(q,O.portalNode)?gs(y)?.focus():yt(a??O.afterOutsideRef)?.focus())}})]})}function Os(e,t={}){const{enabled:n=!0,event:r="click",toggle:o=!0,ignoreMouse:s=!1,stickIfOpen:i=!0,touchOpenDelay:c=0,reason:p=Wo}=t,u="rootStore"in e?e.rootStore:e,a=u.context.dataRef,f=l.useRef(void 0),g=zt(),d=wt(),h=l.useMemo(()=>{function b(y,R,w,m){const S=Le(p,R,w);y&&m==="touch"&&c>0?d.start(c,()=>{u.setOpen(!0,S)}):u.setOpen(y,S)}function x(y,R,w){const m=a.current.openEvent,S=u.select("domReferenceElement")!==R;return y&&S||!y||!o?!0:m&&i?!w(m.type):!1}return{onPointerDown(y){f.current=y.pointerType},onMouseDown(y){const R=f.current,w=y.nativeEvent,m=u.select("open");if(y.button!==0||r==="click"||io(R)&&s)return;const S=x(m,y.currentTarget,k=>k==="click"||k==="mousedown"),T=pt(w);if(Vr(T)){b(S,w,T,R);return}const E=y.currentTarget;g.request(()=>{b(S,w,E,R)})},onClick(y){if(r==="mousedown-only")return;const R=f.current;if(r==="mousedown"&&R){f.current=void 0;return}if(io(R)&&s)return;const w=u.select("open"),m=x(w,y.currentTarget,S=>S==="click"||S==="mousedown"||S==="keydown"||S==="keyup");b(m,y.nativeEvent,y.currentTarget,R)},onKeyDown(){f.current=void 0}}},[a,r,s,p,u,i,o,g,d,c]);return l.useMemo(()=>n?{reference:h}:Fe,[n,h])}const El={intentional:"onClick",sloppy:"onPointerDown"};function vl(){return!1}function Tl(e){return{escapeKey:typeof e=="boolean"?e:e?.escapeKey??!1,outsidePress:typeof e=="boolean"?e:e?.outsidePress??!0}}function Ps(e,t={}){const{enabled:n=!0,escapeKey:r=!0,outsidePress:o=!0,outsidePressEvent:s="sloppy",referencePress:i=vl,referencePressEvent:c="sloppy",bubbles:p,externalTree:u}=t,a="rootStore"in e?e.rootStore:e,f=a.useState("open"),g=a.useState("floatingElement"),{dataRef:d}=a.context,h=Gn(u),b=oe(typeof o=="function"?o:()=>!1),x=typeof o=="function"?b:o,y=x!==!1,R=oe(()=>s),{escapeKey:w,outsidePress:m}=Tl(p),S=l.useRef(!1),T=l.useRef(!1),E=l.useRef(!1),k=l.useRef(!1),D=l.useRef(""),P=l.useRef(null),H=wt(),I=wt(),O=oe(()=>{I.clear(),d.current.insideReactTree=!1}),B=oe(v=>{const V=d.current.floatingContext?.nodeId;return(h?un(h.nodesRef.current,V):[]).some(he=>he.context?.open&&!he.context.dataRef.current[v])}),_=oe(v=>or(v,a.select("floatingElement"))||or(v,a.select("domReferenceElement"))),J=oe(v=>{i()&&a.setOpen(!1,Le(Wo,v.nativeEvent))}),A=oe(v=>{if(!f||!n||!r||v.key!=="Escape"||k.current||!w&&B("__escapeKeyBubbles"))return;const V=bc(v)?v.nativeEvent:v,G=Le(Ii,V);a.setOpen(!1,G),G.isCanceled||v.preventDefault(),!w&&!G.isPropagationAllowed&&v.stopPropagation()}),F=oe(()=>{d.current.insideReactTree=!0,I.start(0,O)}),ie=oe(v=>{if(!f||!n||v.button!==0)return;const V=pt(v.nativeEvent);ye(a.select("floatingElement"),V)&&(S.current||(S.current=!0,T.current=!1))}),j=oe(v=>{!f||!n||(v.defaultPrevented||v.nativeEvent.defaultPrevented)&&S.current&&(T.current=!0)});l.useEffect(()=>{if(!f||!n)return;d.current.__escapeKeyBubbles=w,d.current.__outsidePressBubbles=m;const v=new Vt,V=new Vt;function G(){v.clear(),k.current=!0}function he(){v.start(Bn()?5:0,()=>{k.current=!1})}function pe(){E.current=!0,V.start(0,()=>{E.current=!1})}function z(){S.current=!1,T.current=!1}function ae(){const C=D.current,N=C==="pen"||!C?"mouse":C,L=R(),Z=typeof L=="function"?L():L;return typeof Z=="string"?Z:Z[N]}function ve(C){const N=ae();return N==="intentional"&&C.type!=="click"||N==="sloppy"&&C.type==="click"}function Ve(C){const N=d.current.floatingContext?.nodeId,L=h&&un(h.nodesRef.current,N).some(Z=>or(C,Z.context?.elements.floating));return _(C)||L}function q(C){if(ve(C)){C.type!=="click"&&!_(C)&&(V.clear(),E.current=!1),O();return}if(d.current.insideReactTree){O();return}const N=pt(C),L=`[${kn("inert")}]`,Z=Ae(N)?N.getRootNode():null,xe=Array.from((Yt(Z)?Z:Ee(a.select("floatingElement"))).querySelectorAll(L)),je=a.context.triggerElements;if(N&&(je.hasElement(N)||je.hasMatchingElement(we=>ye(we,N))))return;let De=Ae(N)?N:null;for(;De&&!xt(De);){const we=Rt(De);if(xt(we)||!Ae(we))break;De=we}if(!(xe.length&&Ae(N)&&!yc(N)&&!ye(N,a.select("floatingElement"))&&xe.every(we=>!ye(De,we)))){if(Pe(N)&&!("touches"in C)){const we=xt(N),Se=qe(N),Te=/auto|scroll/,Me=we||Te.test(Se.overflowX),Ze=we||Te.test(Se.overflowY),ut=Me&&N.clientWidth>0&&N.scrollWidth>N.clientWidth,He=Ze&&N.clientHeight>0&&N.scrollHeight>N.clientHeight,me=Se.direction==="rtl",Ie=He&&(me?C.offsetX<=N.offsetWidth-N.clientWidth:C.offsetX>N.clientWidth),Be=ut&&C.offsetY>N.clientHeight;if(Ie||Be)return}if(!Ve(C)){if(ae()==="intentional"&&E.current){V.clear(),E.current=!1;return}typeof x=="function"&&!x(C)||B("__outsidePressBubbles")||(a.setOpen(!1,Le(Ir,C)),O())}}}function X(C){ae()!=="sloppy"||C.pointerType==="touch"||!a.select("open")||!n||_(C)||q(C)}function te(C){if(ae()!=="sloppy"||!a.select("open")||!n||_(C))return;const N=C.touches[0];N&&(P.current={startTime:Date.now(),startX:N.clientX,startY:N.clientY,dismissOnTouchEnd:!1,dismissOnMouseDown:!0},H.start(1e3,()=>{P.current&&(P.current.dismissOnTouchEnd=!1,P.current.dismissOnMouseDown=!1)}))}function ce(C,N){const L=pt(C);if(!L)return;const Z=Ce(L,C.type,()=>{N(C),Z()})}function ee(C){D.current="touch",ce(C,te)}function $(C){H.clear(),C.type==="pointerdown"&&(D.current=C.pointerType),!(C.type==="mousedown"&&P.current&&!P.current.dismissOnMouseDown)&&ce(C,N=>{N.type==="pointerdown"?X(N):q(N)})}function Q(C){if(!S.current)return;const N=T.current;if(z(),ae()==="intentional"){if(C.type==="pointercancel"){N&&pe();return}if(!Ve(C)){if(N){pe();return}typeof x=="function"&&!x(C)||(V.clear(),E.current=!0,O())}}}function Y(C){if(ae()!=="sloppy"||!P.current||_(C))return;const N=C.touches[0];if(!N)return;const L=Math.abs(N.clientX-P.current.startX),Z=Math.abs(N.clientY-P.current.startY),xe=Math.sqrt(L*L+Z*Z);xe>5&&(P.current.dismissOnTouchEnd=!0),xe>10&&(q(C),H.clear(),P.current=null)}function fe(C){ce(C,Y)}function de(C){ae()!=="sloppy"||!P.current||_(C)||(P.current.dismissOnTouchEnd&&q(C),H.clear(),P.current=null)}function ue(C){ce(C,de)}const re=Ee(g),W=_t(r&&_t(Ce(re,"keydown",A),Ce(re,"compositionstart",G),Ce(re,"compositionend",he)),y&&_t(Ce(re,"click",$,!0),Ce(re,"pointerdown",$,!0),Ce(re,"pointerup",Q,!0),Ce(re,"pointercancel",Q,!0),Ce(re,"mousedown",$,!0),Ce(re,"mouseup",Q,!0),Ce(re,"touchstart",ee,!0),Ce(re,"touchmove",fe,!0),Ce(re,"touchend",ue,!0)));return()=>{W(),v.clear(),V.clear(),z(),E.current=!1}},[d,g,r,y,x,f,n,w,m,A,O,R,B,_,h,a,H]),l.useEffect(O,[x,O]);const le=l.useMemo(()=>({onKeyDown:A,[El[c]]:J,...c!=="intentional"&&{onClick:J}}),[A,J,c]),be=l.useMemo(()=>({onKeyDown:A,onPointerDown:j,onMouseDown:j,onClickCapture:F,onMouseDownCapture(v){F(),ie(v)},onPointerDownCapture(v){F(),ie(v)},onMouseUpCapture:F,onTouchEndCapture:F,onTouchMoveCapture:F}),[A,F,ie,j]);return l.useMemo(()=>n?{reference:le,floating:be,trigger:le}:{},[n,le,be])}function bo(e,t,n){let{reference:r,floating:o}=e;const s=ot(t),i=_r(t),c=Hr(i),p=nt(t),u=s==="y",a=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,g=r[c]/2-o[c]/2;let d;switch(p){case"top":d={x:a,y:r.y-o.height};break;case"bottom":d={x:a,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:f};break;case"left":d={x:r.x-o.width,y:f};break;default:d={x:r.x,y:r.y}}switch(It(t)){case"start":d[i]-=g*(n&&u?-1:1);break;case"end":d[i]+=g*(n&&u?-1:1);break}return d}async function Ol(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:s,rects:i,elements:c,strategy:p}=e,{boundary:u="clippingAncestors",rootBoundary:a="viewport",elementContext:f="floating",altBoundary:g=!1,padding:d=0}=St(t,e),h=os(d),x=c[g?f==="floating"?"reference":"floating":f],y=fn(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(x)))==null||n?x:x.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:u,rootBoundary:a,strategy:p})),R=f==="floating"?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,w=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),m=await(s.isElement==null?void 0:s.isElement(w))?await(s.getScale==null?void 0:s.getScale(w))||{x:1,y:1}:{x:1,y:1},S=fn(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:R,offsetParent:w,strategy:p}):R);return{top:(y.top-S.top+h.top)/m.y,bottom:(S.bottom-y.bottom+h.bottom)/m.y,left:(y.left-S.left+h.left)/m.x,right:(S.right-y.right+h.right)/m.x}}const Pl=50,Il=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:i}=n,c=i.detectOverflow?i:{...i,detectOverflow:Ol},p=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:a,y:f}=bo(u,r,p),g=r,d=0;const h={};for(let b=0;b<s.length;b++){const x=s[b];if(!x)continue;const{name:y,fn:R}=x,{x:w,y:m,data:S,reset:T}=await R({x:a,y:f,initialPlacement:r,placement:g,strategy:o,middlewareData:h,rects:u,platform:c,elements:{reference:e,floating:t}});a=w??a,f=m??f,h[y]={...h[y],...S},T&&d<Pl&&(d++,typeof T=="object"&&(T.placement&&(g=T.placement),T.rects&&(u=T.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):T.rects),{x:a,y:f}=bo(u,g,p)),b=-1)}return{x:a,y:f,placement:g,strategy:o,middlewareData:h}},Al=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:s,rects:i,initialPlacement:c,platform:p,elements:u}=t,{mainAxis:a=!0,crossAxis:f=!0,fallbackPlacements:g,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:b=!0,...x}=St(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const y=nt(o),R=ot(c),w=nt(c)===c,m=await(p.isRTL==null?void 0:p.isRTL(u.floating)),S=g||(w||!b?[In(c)]:Cc(c)),T=h!=="none";!g&&T&&S.push(...Oc(c,b,h,m));const E=[c,...S],k=await p.detectOverflow(t,x),D=[];let P=((r=s.flip)==null?void 0:r.overflows)||[];if(a&&D.push(k[y]),f){const B=Sc(o,i,m);D.push(k[B[0]],k[B[1]])}if(P=[...P,{placement:o,overflows:D}],!D.every(B=>B<=0)){var H,I;const B=(((H=s.flip)==null?void 0:H.index)||0)+1,_=E[B];if(_&&(!(f==="alignment"?R!==ot(_):!1)||P.every(F=>ot(F.placement)===R?F.overflows[0]>0:!0)))return{data:{index:B,overflows:P},reset:{placement:_}};let J=(I=P.filter(A=>A.overflows[0]<=0).sort((A,F)=>A.overflows[1]-F.overflows[1])[0])==null?void 0:I.placement;if(!J)switch(d){case"bestFit":{var O;const A=(O=P.filter(F=>{if(T){const ie=ot(F.placement);return ie===R||ie==="y"}return!0}).map(F=>[F.placement,F.overflows.filter(ie=>ie>0).reduce((ie,j)=>ie+j,0)]).sort((F,ie)=>F[1]-ie[1])[0])==null?void 0:O[0];A&&(J=A);break}case"initialPlacement":J=c;break}if(o!==J)return{reset:{placement:J}}}return{}}}};function xo(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function wo(e){return wc.some(t=>e[t]>=0)}const Ml=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:r}=t,{strategy:o="referenceHidden",...s}=St(e,t);switch(o){case"referenceHidden":{const i=await r.detectOverflow(t,{...s,elementContext:"reference"}),c=xo(i,n.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:wo(c)}}}case"escaped":{const i=await r.detectOverflow(t,{...s,altBoundary:!0}),c=xo(i,n.floating);return{data:{escapedOffsets:c,escaped:wo(c)}}}default:return{}}}}},Is=new Set(["left","top"]);async function kl(e,t){const{placement:n,platform:r,elements:o}=e,s=await(r.isRTL==null?void 0:r.isRTL(o.floating)),i=nt(n),c=It(n),p=ot(n)==="y",u=Is.has(i)?-1:1,a=s&&p?-1:1,f=St(t,e);let{mainAxis:g,crossAxis:d,alignmentAxis:h}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return c&&typeof h=="number"&&(d=c==="end"?h*-1:h),p?{x:d*a,y:g*u}:{x:g*u,y:d*a}}const Dl=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:s,placement:i,middlewareData:c}=t,p=await kl(t,e);return i===((n=c.offset)==null?void 0:n.placement)&&(r=c.arrow)!=null&&r.alignmentOffset?{}:{x:o+p.x,y:s+p.y,data:{...p,placement:i}}}}},Nl=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o,platform:s}=t,{mainAxis:i=!0,crossAxis:c=!1,limiter:p={fn:y=>{let{x:R,y:w}=y;return{x:R,y:w}}},...u}=St(e,t),a={x:n,y:r},f=await s.detectOverflow(t,u),g=ot(nt(o)),d=Br(g);let h=a[d],b=a[g];if(i){const y=d==="y"?"top":"left",R=d==="y"?"bottom":"right",w=h+f[y],m=h-f[R];h=wr(w,h,m)}if(c){const y=g==="y"?"top":"left",R=g==="y"?"bottom":"right",w=b+f[y],m=b-f[R];b=wr(w,b,m)}const x=p.fn({...t,[d]:h,[g]:b});return{...x,data:{x:x.x-n,y:x.y-r,enabled:{[d]:i,[g]:c}}}}}},Fl=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:s,middlewareData:i}=t,{offset:c=0,mainAxis:p=!0,crossAxis:u=!0}=St(e,t),a={x:n,y:r},f=ot(o),g=Br(f);let d=a[g],h=a[f];const b=St(c,t),x=typeof b=="number"?{mainAxis:b,crossAxis:0}:{mainAxis:0,crossAxis:0,...b};if(p){const w=g==="y"?"height":"width",m=s.reference[g]-s.floating[w]+x.mainAxis,S=s.reference[g]+s.reference[w]-x.mainAxis;d<m?d=m:d>S&&(d=S)}if(u){var y,R;const w=g==="y"?"width":"height",m=Is.has(nt(o)),S=s.reference[f]-s.floating[w]+(m&&((y=i.offset)==null?void 0:y[f])||0)+(m?0:x.crossAxis),T=s.reference[f]+s.reference[w]+(m?0:((R=i.offset)==null?void 0:R[f])||0)-(m?x.crossAxis:0);h<S?h=S:h>T&&(h=T)}return{[g]:d,[f]:h}}}},Ll=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:s,platform:i,elements:c}=t,{apply:p=()=>{},...u}=St(e,t),a=await i.detectOverflow(t,u),f=nt(o),g=It(o),d=ot(o)==="y",{width:h,height:b}=s.floating;let x,y;f==="top"||f==="bottom"?(x=f,y=g===(await(i.isRTL==null?void 0:i.isRTL(c.floating))?"start":"end")?"left":"right"):(y=f,x=g==="end"?"top":"bottom");const R=b-a.top-a.bottom,w=h-a.left-a.right,m=Kt(b-a[x],R),S=Kt(h-a[y],w),T=!t.middlewareData.shift;let E=m,k=S;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(k=w),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(E=R),T&&!g){const P=tt(a.left,0),H=tt(a.right,0),I=tt(a.top,0),O=tt(a.bottom,0);d?k=h-2*(P!==0||H!==0?P+H:tt(a.left,a.right)):E=b-2*(I!==0||O!==0?I+O:tt(a.top,a.bottom))}await p({...t,availableWidth:k,availableHeight:E});const D=await i.getDimensions(c.floating);return h!==D.width||b!==D.height?{reset:{rects:!0}}:{}}}};function As(e){const t=qe(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Pe(e),s=o?e.offsetWidth:n,i=o?e.offsetHeight:r,c=Pn(n)!==s||Pn(r)!==i;return c&&(n=s,r=i),{width:n,height:r,$:c}}function Yr(e){return Ae(e)?e:e.contextElement}function Wt(e){const t=Yr(e);if(!Pe(t))return gt(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:s}=As(t);let i=(s?Pn(n.width):n.width)/r,c=(s?Pn(n.height):n.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!c||!Number.isFinite(c))&&(c=1),{x:i,y:c}}const Vl=gt(0);function Ms(e){const t=ke(e);return!Bn()||!t.visualViewport?Vl:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function jl(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ke(e)?!1:t}function jt(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),s=Yr(e);let i=gt(1);t&&(r?Ae(r)&&(i=Wt(r)):i=Wt(e));const c=jl(s,n,r)?Ms(s):gt(0);let p=(o.left+c.x)/i.x,u=(o.top+c.y)/i.y,a=o.width/i.x,f=o.height/i.y;if(s){const g=ke(s),d=r&&Ae(r)?ke(r):r;let h=g,b=gr(h);for(;b&&r&&d!==h;){const x=Wt(b),y=b.getBoundingClientRect(),R=qe(b),w=y.left+(b.clientLeft+parseFloat(R.paddingLeft))*x.x,m=y.top+(b.clientTop+parseFloat(R.paddingTop))*x.y;p*=x.x,u*=x.y,a*=x.x,f*=x.y,p+=w,u+=m,h=ke(b),b=gr(h)}}return fn({width:a,height:f,x:p,y:u})}function qn(e,t){const n=Hn(e).scrollLeft;return t?t.left+n:jt(ht(e)).left+n}function ks(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-qn(e,n),o=n.top+t.scrollTop;return{x:r,y:o}}function Bl(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const s=o==="fixed",i=ht(r),c=t?jn(t.floating):!1;if(r===i||c&&s)return n;let p={scrollLeft:0,scrollTop:0},u=gt(1);const a=gt(0),f=Pe(r);if((f||!f&&!s)&&((We(r)!=="body"||Pt(i))&&(p=Hn(r)),f)){const d=jt(r);u=Wt(r),a.x=d.x+r.clientLeft,a.y=d.y+r.clientTop}const g=i&&!f&&!s?ks(i,p):gt(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-p.scrollLeft*u.x+a.x+g.x,y:n.y*u.y-p.scrollTop*u.y+a.y+g.y}}function Hl(e){return Array.from(e.getClientRects())}function _l(e){const t=ht(e),n=Hn(e),r=e.ownerDocument.body,o=tt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=tt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+qn(e);const c=-n.scrollTop;return qe(r).direction==="rtl"&&(i+=tt(t.clientWidth,r.clientWidth)-o),{width:o,height:s,x:i,y:c}}const Ro=25;function Wl(e,t){const n=ke(e),r=ht(e),o=n.visualViewport;let s=r.clientWidth,i=r.clientHeight,c=0,p=0;if(o){s=o.width,i=o.height;const a=Bn();(!a||a&&t==="fixed")&&(c=o.offsetLeft,p=o.offsetTop)}const u=qn(r);if(u<=0){const a=r.ownerDocument,f=a.body,g=getComputedStyle(f),d=a.compatMode==="CSS1Compat"&&parseFloat(g.marginLeft)+parseFloat(g.marginRight)||0,h=Math.abs(r.clientWidth-f.clientWidth-d);h<=Ro&&(s-=h)}else u<=Ro&&(s+=u);return{width:s,height:i,x:c,y:p}}function $l(e,t){const n=jt(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,s=Pe(e)?Wt(e):gt(1),i=e.clientWidth*s.x,c=e.clientHeight*s.y,p=o*s.x,u=r*s.y;return{width:i,height:c,x:p,y:u}}function So(e,t,n){let r;if(t==="viewport")r=Wl(e,n);else if(t==="document")r=_l(ht(e));else if(Ae(t))r=$l(t,n);else{const o=Ms(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return fn(r)}function Ds(e,t){const n=Rt(e);return n===t||!Ae(n)||xt(n)?!1:qe(n).position==="fixed"||Ds(n,t)}function Ul(e,t){const n=t.get(e);if(n)return n;let r=ln(e,[],!1).filter(c=>Ae(c)&&We(c)!=="body"),o=null;const s=qe(e).position==="fixed";let i=s?Rt(e):e;for(;Ae(i)&&!xt(i);){const c=qe(i),p=Or(i);!p&&c.position==="fixed"&&(o=null),(s?!p&&!o:!p&&c.position==="static"&&!!o&&(o.position==="absolute"||o.position==="fixed")||Pt(i)&&!p&&Ds(e,i))?r=r.filter(a=>a!==i):o=c,i=Rt(i)}return t.set(e,r),r}function Yl(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?jn(t)?[]:Ul(t,this._c):[].concat(n),r],c=So(t,i[0],o);let p=c.top,u=c.right,a=c.bottom,f=c.left;for(let g=1;g<i.length;g++){const d=So(t,i[g],o);p=tt(d.top,p),u=Kt(d.right,u),a=Kt(d.bottom,a),f=tt(d.left,f)}return{width:u-f,height:a-p,x:f,y:p}}function zl(e){const{width:t,height:n}=As(e);return{width:t,height:n}}function Kl(e,t,n){const r=Pe(t),o=ht(t),s=n==="fixed",i=jt(e,!0,s,t);let c={scrollLeft:0,scrollTop:0};const p=gt(0);function u(){p.x=qn(o)}if(r||!r&&!s)if((We(t)!=="body"||Pt(o))&&(c=Hn(t)),r){const d=jt(t,!0,s,t);p.x=d.x+t.clientLeft,p.y=d.y+t.clientTop}else o&&u();s&&!r&&o&&u();const a=o&&!r&&!s?ks(o,c):gt(0),f=i.left+c.scrollLeft-p.x-a.x,g=i.top+c.scrollTop-p.y-a.y;return{x:f,y:g,width:i.width,height:i.height}}function fr(e){return qe(e).position==="static"}function Co(e,t){if(!Pe(e)||qe(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return ht(e)===n&&(n=n.ownerDocument.body),n}function Ns(e,t){const n=ke(e);if(jn(e))return n;if(!Pe(e)){let o=Rt(e);for(;o&&!xt(o);){if(Ae(o)&&!fr(o))return o;o=Rt(o)}return n}let r=Co(e,t);for(;r&&Ci(r)&&fr(r);)r=Co(r,t);return r&&xt(r)&&fr(r)&&!Or(r)?n:r||Ti(e)||n}const Gl=async function(e){const t=this.getOffsetParent||Ns,n=this.getDimensions,r=await n(e.floating);return{reference:Kl(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function ql(e){return qe(e).direction==="rtl"}const Fs={convertOffsetParentRelativeRectToViewportRelativeRect:Bl,getDocumentElement:ht,getClippingRect:Yl,getOffsetParent:Ns,getElementRects:Gl,getClientRects:Hl,getDimensions:zl,getScale:Wt,isElement:Ae,isRTL:ql};function Ls(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Xl(e,t){let n=null,r;const o=ht(e);function s(){var c;clearTimeout(r),(c=n)==null||c.disconnect(),n=null}function i(c,p){c===void 0&&(c=!1),p===void 0&&(p=1),s();const u=e.getBoundingClientRect(),{left:a,top:f,width:g,height:d}=u;if(c||t(),!g||!d)return;const h=Nt(f),b=Nt(o.clientWidth-(a+g)),x=Nt(o.clientHeight-(f+d)),y=Nt(a),w={rootMargin:-h+"px "+-b+"px "+-x+"px "+-y+"px",threshold:tt(0,Kt(1,p))||1};let m=!0;function S(T){const E=T[0].intersectionRatio;if(E!==p){if(!m)return i();E?i(!1,E):r=setTimeout(()=>{i(!1,1e-7)},1e3)}E===1&&!Ls(u,e.getBoundingClientRect())&&i(),m=!1}try{n=new IntersectionObserver(S,{...w,root:o.ownerDocument})}catch{n=new IntersectionObserver(S,w)}n.observe(e)}return i(!0),s}function Eo(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:p=!1}=r,u=Yr(e),a=o||s?[...u?ln(u):[],...t?ln(t):[]]:[];a.forEach(y=>{o&&y.addEventListener("scroll",n,{passive:!0}),s&&y.addEventListener("resize",n)});const f=u&&c?Xl(u,n):null;let g=-1,d=null;i&&(d=new ResizeObserver(y=>{let[R]=y;R&&R.target===u&&d&&t&&(d.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var w;(w=d)==null||w.observe(t)})),n()}),u&&!p&&d.observe(u),t&&d.observe(t));let h,b=p?jt(e):null;p&&x();function x(){const y=jt(e);b&&!Ls(b,y)&&n(),b=y,h=requestAnimationFrame(x)}return n(),()=>{var y;a.forEach(R=>{o&&R.removeEventListener("scroll",n),s&&R.removeEventListener("resize",n)}),f?.(),(y=d)==null||y.disconnect(),d=null,p&&cancelAnimationFrame(h)}}const Zl=Dl,Jl=Nl,Ql=Al,ea=Ll,ta=Ml,na=Fl,ra=(e,t,n)=>{const r=new Map,o={platform:Fs,...n},s={...o.platform,_c:r};return Il(e,t,{...o,platform:s})};var oa=typeof document<"u",sa=function(){},Cn=oa?l.useLayoutEffect:sa;function Dn(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Dn(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const s=o[r];if(!(s==="_owner"&&e.$$typeof)&&!Dn(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function Vs(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function vo(e,t){const n=Vs(e);return Math.round(t*n)/n}function dr(e){const t=l.useRef(e);return Cn(()=>{t.current=e}),t}function ia(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:s,floating:i}={},transform:c=!0,whileElementsMounted:p,open:u}=e,[a,f]=l.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[g,d]=l.useState(r);Dn(g,r)||d(r);const[h,b]=l.useState(null),[x,y]=l.useState(null),R=l.useCallback(F=>{F!==T.current&&(T.current=F,b(F))},[]),w=l.useCallback(F=>{F!==E.current&&(E.current=F,y(F))},[]),m=s||h,S=i||x,T=l.useRef(null),E=l.useRef(null),k=l.useRef(a),D=p!=null,P=dr(p),H=dr(o),I=dr(u),O=l.useCallback(()=>{if(!T.current||!E.current)return;const F={placement:t,strategy:n,middleware:g};H.current&&(F.platform=H.current),ra(T.current,E.current,F).then(ie=>{const j={...ie,isPositioned:I.current!==!1};B.current&&!Dn(k.current,j)&&(k.current=j,Ln.flushSync(()=>{f(j)}))})},[g,t,n,H,I]);Cn(()=>{u===!1&&k.current.isPositioned&&(k.current.isPositioned=!1,f(F=>({...F,isPositioned:!1})))},[u]);const B=l.useRef(!1);Cn(()=>(B.current=!0,()=>{B.current=!1}),[]),Cn(()=>{if(m&&(T.current=m),S&&(E.current=S),m&&S){if(P.current)return P.current(m,S,O);O()}},[m,S,O,P,D]);const _=l.useMemo(()=>({reference:T,floating:E,setReference:R,setFloating:w}),[R,w]),J=l.useMemo(()=>({reference:m,floating:S}),[m,S]),A=l.useMemo(()=>{const F={position:n,left:0,top:0};if(!J.floating)return F;const ie=vo(J.floating,a.x),j=vo(J.floating,a.y);return c?{...F,transform:"translate("+ie+"px, "+j+"px)",...Vs(J.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:ie,top:j}},[n,c,J.floating,a.x,a.y]);return l.useMemo(()=>({...a,update:O,refs:_,elements:J,floatingStyles:A}),[a,O,_,J,A])}const ca=(e,t)=>{const n=Zl(e);return{name:n.name,fn:n.fn,options:[e,t]}},la=(e,t)=>{const n=Jl(e);return{name:n.name,fn:n.fn,options:[e,t]}},aa=(e,t)=>({fn:na(e).fn,options:[e,t]}),ua=(e,t)=>{const n=Ql(e);return{name:n.name,fn:n.fn,options:[e,t]}},fa=(e,t)=>{const n=ea(e);return{name:n.name,fn:n.fn,options:[e,t]}},da=(e,t)=>{const n=ta(e);return{name:n.name,fn:n.fn,options:[e,t]}},pa={open:U(e=>e.open),transitionStatus:U(e=>e.transitionStatus),domReferenceElement:U(e=>e.domReferenceElement),referenceElement:U(e=>e.positionReference??e.referenceElement),floatingElement:U(e=>e.floatingElement),floatingId:U(e=>e.floatingId)};class Xn extends ws{constructor(t){const{syncOnly:n,nested:r,onOpenChange:o,triggerElements:s,...i}=t;super({...i,positionReference:i.referenceElement,domReferenceElement:i.referenceElement},{onOpenChange:o,dataRef:{current:{}},events:bl(),nested:r,triggerElements:s},pa),this.syncOnly=n}syncOpenEvent=(t,n)=>{(!t||!this.state.open||n!=null&&xc(n))&&(this.context.dataRef.current.openEvent=t?n:void 0)};dispatchOpenChange=(t,n)=>{this.syncOpenEvent(t,n.event);const r={open:t,reason:n.reason,nativeEvent:n.event,nested:this.context.nested,triggerElement:n.trigger};this.context.events.emit("openchange",r)};setOpen=(t,n)=>{if(this.syncOnly){this.context.onOpenChange?.(t,n);return}this.dispatchOpenChange(t,n),this.context.onOpenChange?.(t,n)}}function ga(e){const{popupStore:t,treatPopupAsFloatingElement:n=!1,floatingRootContext:r,floatingId:o,nested:s,onOpenChange:i}=e,c=t.useState("open"),p=t.useState("activeTriggerElement"),u=t.useState(n?"popupElement":"positionerElement"),a=t.context.triggerElements,f=i,g=l.useRef(null);r===void 0&&g.current===null&&(g.current=new Xn({open:c,transitionStatus:void 0,referenceElement:p,floatingElement:u,triggerElements:a,onOpenChange:f,floatingId:o,syncOnly:!0,nested:s}));const d=r??g.current;return t.useSyncedValue("floatingId",o),K(()=>{const h={open:c,floatingId:o,referenceElement:p,floatingElement:u};Ae(p)&&(h.domReferenceElement=p),d.state.positionReference===d.state.referenceElement&&(h.positionReference=p),d.update(h)},[c,o,p,u,d]),d.context.onOpenChange=f,d.context.nested=s,d}const zr={tabIndex:-1,[br]:""};function ha(e,t,n=!1){const r=Wn(),o=$r()!=null,s=l.useRef(null);e===void 0&&s.current===null&&(s.current=t(r,o));const i=e??s.current;return ga({popupStore:i,treatPopupAsFloatingElement:n,floatingRootContext:i.state.floatingRootContext,floatingId:r,nested:o,onOpenChange:i.setOpen}),{store:i,internalStore:s.current}}function ma(e,t){const n=l.useRef(null),r=l.useRef(null);return l.useCallback(o=>{if(e===void 0)return;let s=!1;if(n.current!==null){const i=n.current,c=r.current,p=t.context.triggerElements.getById(i);c&&p===c&&(t.context.triggerElements.delete(i),s=!0),n.current=null,r.current=null}if(o!==null&&(n.current=e,r.current=o,t.context.triggerElements.add(e,o),s=!0),s){const i=t.context.triggerElements.size;t.select("open")&&t.state.triggerCount!==i&&t.set("triggerCount",i)}},[t,e])}function ya(e,t,n){const r=n?.id??null;(r||t)&&(e.activeTriggerId=r,e.activeTriggerElement=n??null)}function ba(e,t,n,r){const o=n.useState("isMountedByTrigger",e),s=ma(e,n),i=oe(c=>{if(s(c),!c)return;const p=n.select("open"),u=n.select("activeTriggerId");if(u===e){n.update({activeTriggerElement:c,...p?r:null});return}u==null&&p&&n.update({activeTriggerId:e,activeTriggerElement:c,...r})});return K(()=>{o&&n.update({activeTriggerElement:t.current,...r})},[o,n,t,...Object.values(r)]),{registerTrigger:i,isMountedByThisTrigger:o}}function xa(e){const t=e.useState("open"),n=e.useState("triggerCount");K(()=>{if(!t){e.state.triggerCount!==0&&e.set("triggerCount",0);return}const r=e.context.triggerElements.size,o={};if(e.state.triggerCount!==r&&(o.triggerCount=r),!e.select("activeTriggerId")&&r===1){const s=e.context.triggerElements.entries().next();if(!s.done){const[i,c]=s.value;o.activeTriggerId=i,o.activeTriggerElement=c}}(o.triggerCount!==void 0||o.activeTriggerId!==void 0)&&e.update(o)},[t,e,n])}function wa(e,t,n){const{mounted:r,setMounted:o,transitionStatus:s}=Qo(e);t.useSyncedValues({mounted:r,transitionStatus:s});const i=oe(()=>{o(!1),t.update({activeTriggerId:null,activeTriggerElement:null,mounted:!1,preventUnmountingOnClose:!1}),t.context.onOpenChangeComplete?.(!1)}),c=t.useState("preventUnmountingOnClose");return Yn({enabled:r&&!e&&!c,open:e,ref:t.context.popupRef,onComplete(){e||i()}}),{forceUnmount:i,transitionStatus:s}}function Ra(e,t){e.useSyncedValues(t),K(()=>()=>{e.update({activeTriggerProps:Fe,inactiveTriggerProps:Fe,popupProps:Fe})},[e])}function Sa(e,t){K(()=>{!t&&e.state.openMethod!==null&&e.set("openMethod",null)},[t,e]),K(()=>()=>{e.state.openMethod!==null&&e.set("openMethod",null)},[e])}class Kr{constructor(){this.elementsSet=new Set,this.idMap=new Map}add(t,n){const r=this.idMap.get(t);r!==n&&(r!==void 0&&this.elementsSet.delete(r),this.elementsSet.add(n),this.idMap.set(t,n))}delete(t){const n=this.idMap.get(t);n&&(this.elementsSet.delete(n),this.idMap.delete(t))}hasElement(t){return this.elementsSet.has(t)}hasMatchingElement(t){for(const n of this.elementsSet)if(t(n))return!0;return!1}getById(t){return this.idMap.get(t)}entries(){return this.idMap.entries()}elements(){return this.elementsSet.values()}get size(){return this.idMap.size}}function Ca(){return new Xn({open:!1,transitionStatus:void 0,floatingElement:null,referenceElement:null,triggerElements:new Kr,floatingId:void 0,syncOnly:!1,nested:!1,onOpenChange:void 0})}function Ea(){return{open:!1,openProp:void 0,mounted:!1,transitionStatus:void 0,floatingRootContext:Ca(),floatingId:void 0,triggerCount:0,preventUnmountingOnClose:!1,payload:void 0,activeTriggerId:null,activeTriggerElement:null,triggerIdProp:void 0,popupElement:null,positionerElement:null,activeTriggerProps:Fe,inactiveTriggerProps:Fe,popupProps:Fe}}function va(e,t,n=!1){return new Xn({open:!1,transitionStatus:void 0,floatingElement:null,referenceElement:null,triggerElements:e,floatingId:t,syncOnly:!0,nested:n,onOpenChange:void 0})}const sn=U(e=>e.triggerIdProp??e.activeTriggerId),Gr=U(e=>e.openProp??e.open),To=U(e=>(e.popupElement?.id??e.floatingId)||void 0);function js(e,t){return t!==void 0&&Gr(e)&&sn(e)===t}function Ta(e,t){return js(e,t)?!0:t!==void 0&&Gr(e)&&sn(e)==null&&e.triggerCount===1}const Oa={open:Gr,mounted:U(e=>e.mounted),transitionStatus:U(e=>e.transitionStatus),floatingRootContext:U(e=>e.floatingRootContext),triggerCount:U(e=>e.triggerCount),preventUnmountingOnClose:U(e=>e.preventUnmountingOnClose),payload:U(e=>e.payload),activeTriggerId:sn,activeTriggerElement:U(e=>e.mounted?e.activeTriggerElement:null),popupId:To,isTriggerActive:U((e,t)=>t!==void 0&&sn(e)===t),isOpenedByTrigger:U((e,t)=>js(e,t)),isMountedByTrigger:U((e,t)=>t!==void 0&&sn(e)===t&&e.mounted),triggerProps:U((e,t)=>t?e.activeTriggerProps:e.inactiveTriggerProps),triggerPopupId:U((e,t)=>Ta(e,t)?To(e):void 0),popupProps:U(e=>e.popupProps),popupElement:U(e=>e.popupElement),positionerElement:U(e=>e.positionerElement)};function Bs(e){const{open:t=!1,onOpenChange:n,elements:r={}}=e,o=Wn(),s=$r()!=null,i=lt(()=>new Xn({open:t,transitionStatus:void 0,onOpenChange:n,referenceElement:r.reference??null,floatingElement:r.floating??null,triggerElements:new Kr,floatingId:o,syncOnly:!1,nested:s})).current;return K(()=>{const c={open:t,floatingId:o};r.reference!==void 0&&(c.referenceElement=r.reference,c.domReferenceElement=Ae(r.reference)?r.reference:null),r.floating!==void 0&&(c.floatingElement=r.floating),i.update(c)},[t,o,r.reference,r.floating,i]),i.context.onOpenChange=n,i.context.nested=s,i}function Pa(e={}){const{nodeId:t,externalTree:n}=e,r=Bs(e),o=e.rootContext||r,s=o.useState("referenceElement"),i=o.useState("floatingElement"),c=o.useState("domReferenceElement"),p=o.useState("open"),u=o.useState("floatingId"),[a,f]=l.useState(null),[g,d]=l.useState(void 0),[h,b]=l.useState(void 0),x=l.useRef(null),y=Gn(n),R=l.useMemo(()=>({reference:s,floating:i,domReference:c}),[s,i,c]),w=ia({...e,elements:{...R,...a&&{reference:a}}}),m=Ae(g)?g:null,S=h===void 0?o.state.floatingElement:h;o.useSyncedValue("referenceElement",g??null),o.useSyncedValue("domReferenceElement",g===void 0?c:m),o.useSyncedValue("floatingElement",S);const T=l.useCallback(I=>{const O=Ae(I)?{getBoundingClientRect:()=>I.getBoundingClientRect(),getClientRects:()=>I.getClientRects(),contextElement:I}:I;f(O),w.refs.setReference(O)},[w.refs]),E=l.useCallback(I=>{(Ae(I)||I===null)&&(x.current=I,d(I)),(Ae(w.refs.reference.current)||w.refs.reference.current===null||I!==null&&!Ae(I))&&w.refs.setReference(I)},[w.refs,d]),k=l.useCallback(I=>{b(I),w.refs.setFloating(I)},[w.refs]),D=l.useMemo(()=>({...w.refs,setReference:E,setFloating:k,setPositionReference:T,domReference:x}),[w.refs,E,k,T]),P=l.useMemo(()=>({...w.elements,domReference:c}),[w.elements,c]),H=l.useMemo(()=>({...w,dataRef:o.context.dataRef,open:p,onOpenChange:o.setOpen,events:o.context.events,floatingId:u,refs:D,elements:P,nodeId:t,rootStore:o}),[w,D,P,t,o,p,u]);return K(()=>{c&&(x.current=c)},[c]),K(()=>{o.context.dataRef.current.floatingContext=H;const I=y?.nodesRef.current.find(O=>O.id===t);I&&(I.context=H)}),l.useMemo(()=>({...w,context:H,refs:D,elements:P,rootStore:o}),[w,D,P,H,o])}const Ia="Escape";function Zn(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function yn(e,t){return Zn(t,e===Lr||e===dn,e===Tt||e===Ot)}function pr(e,t,n){return Zn(t,e===dn,n?e===Tt:e===Ot)||e==="Enter"||e===" "||e===""}function Aa(e,t,n){return Zn(t,n?e===Tt:e===Ot,e===dn)}function Ma(e,t,n,r){const o=n?e===Ot:e===Tt,s=e===Lr;return t==="both"||t==="horizontal"&&r&&r>1?e===Ia:Zn(t,o,s)}function ka(e,t){const{listRef:n,activeIndex:r,onNavigate:o=()=>{},enabled:s=!0,selectedIndex:i=null,allowEscape:c=!1,loopFocus:p=!1,nested:u=!1,rtl:a=!1,virtual:f=!1,focusItemOnOpen:g="auto",focusItemOnHover:d=!0,openOnArrowKeyDown:h=!0,disabledIndices:b=void 0,orientation:x="vertical",parentOrientation:y,cols:R=1,id:w,resetOnPointerLeave:m=!0,externalTree:S}=t,T="rootStore"in e?e.rootStore:e,E=T.useState("open"),k=T.useState("floatingElement"),D=T.useState("domReferenceElement"),P=T.context.dataRef,H=On(k),I=xr(D),O=Ge(H),B=$r(),_=Gn(S),J=l.useRef(g),A=l.useRef(i??-1),F=l.useRef(null),ie=l.useRef(!0),j=oe(W=>{o(A.current===-1?null:A.current,W)}),le=l.useRef(j),be=l.useRef(!!k),v=l.useRef(E),V=l.useRef(!1),G=l.useRef(!1),he=l.useRef(null),pe=Ge(b),z=Ge(E),ae=Ge(i),ve=Ge(m),Ve=zt(),q=zt(),X=oe(()=>{function W(Z){f?_?.events.emit("virtualfocus",Z):he.current=Sn(Z,{sync:V.current,preventScroll:!0})}const C=n.current[A.current],N=G.current;C&&W(C),(V.current?Z=>Z():Z=>Ve.request(Z))(()=>{const Z=n.current[A.current]||C;if(!Z)return;C||W(Z),Y&&(N||!ie.current)&&Z.scrollIntoView?.({block:"nearest",inline:"nearest"})})});K(()=>{P.current.orientation=x},[P,x]),K(()=>{s&&(E&&k?(A.current=i??-1,J.current&&i!=null&&(G.current=!0,j())):be.current&&(A.current=-1,le.current()))},[s,E,k,i,j]),K(()=>{if(s){if(!E){V.current=!1;return}if(k)if(r==null){if(V.current=!1,ae.current!=null)return;if(be.current&&(A.current=-1,X()),(!v.current||!be.current)&&J.current&&(F.current!=null||J.current===!0&&F.current==null)){let W=0;const C=()=>{n.current[0]==null?(W<2&&(W?L=>q.request(L):queueMicrotask)(C),W+=1):(A.current=F.current==null||pr(F.current,x,a)||u?sr(n):ao(n),F.current=null,j())};C()}}else An(n.current,r)||(A.current=r,X(),G.current=!1)}},[s,E,k,r,ae,u,n,x,a,j,X,q]),K(()=>{if(!s||k||!_||f||!be.current)return;const W=_.nodesRef.current,C=W.find(Z=>Z.id===B)?.context?.elements.floating,N=rt(Ee(k)),L=W.some(Z=>Z.context&&ye(Z.context.elements.floating,N));C&&!L&&ie.current&&C.focus({preventScroll:!0})},[s,k,_,B,f]),K(()=>{le.current=j,v.current=E,be.current=!!k}),K(()=>{E||(F.current=null,J.current=g)},[E,g]);const te=r!=null,ce=oe(W=>{if(!z.current)return;const C=n.current.indexOf(W.currentTarget);C!==-1&&(A.current!==C||r!==C)&&(A.current=C,j(W))}),ee=oe(()=>y??_?.nodesRef.current.find(W=>W.id===B)?.context?.dataRef?.current.orientation),$=oe(()=>sr(n,pe.current)),Q=oe(W=>{if(ie.current=!1,V.current=!0,W.which===229||!z.current&&W.currentTarget===O.current)return;if(u&&Ma(W.key,x,a,R)){yn(W.key,ee())||et(W),T.setOpen(!1,Le(Qr,W.nativeEvent)),Pe(D)&&(f?_?.events.emit("virtualfocus",D):D.focus());return}const C=A.current,N=sr(n,b),L=ao(n,b);if(I||(W.key==="Home"&&(et(W),A.current=N,j(W)),W.key==="End"&&(et(W),A.current=L,j(W))),R>1){const Z=Array.from({length:n.current.length},()=>({width:1,height:1})),xe=Ac(Z,R),je=xe.findIndex(Se=>Se!=null&&!Ht(n.current,Se,b)),De=xe.reduce((Se,Te,Me)=>Te!=null&&!Ht(n.current,Te,b)?Me:Se,-1),we=xe[Ic(xe.map(Se=>Se!=null?n.current[Se]:null),{event:W,orientation:x,loopFocus:p,rtl:a,cols:R,disabledIndices:kc([...(typeof b!="function"?b:null)||n.current.map((Se,Te)=>Ht(n.current,Te,b)?Te:void 0),void 0],xe),minIndex:je,maxIndex:De,prevIndex:Mc(A.current>L?N:A.current,Z,xe,R,W.key===dn?"bl":W.key===(a?Tt:Ot)?"tr":"tl"),stopEvent:!0})];if(we!=null&&(A.current=we,j(W)),x==="both")return}if(yn(W.key,x)){if(et(W),E&&!f&&rt(W.currentTarget.ownerDocument)===W.currentTarget){A.current=pr(W.key,x,a)?N:L,j(W);return}pr(W.key,x,a)?p?C>=L?c&&C!==n.current.length?A.current=-1:(V.current=!1,A.current=N):A.current=Ue(n.current,{startingIndex:C,disabledIndices:b}):A.current=Math.min(L,Ue(n.current,{startingIndex:C,disabledIndices:b})):p?C<=N?c&&C!==-1?A.current=n.current.length:(V.current=!1,A.current=L):A.current=Ue(n.current,{startingIndex:C,decrement:!0,disabledIndices:b}):A.current=Math.max(N,Ue(n.current,{startingIndex:C,decrement:!0,disabledIndices:b})),An(n.current,A.current)&&(A.current=-1),j(W)}}),Y=l.useMemo(()=>({onFocus(C){V.current=!0,ce(C)},onClick:({currentTarget:C})=>C.focus({preventScroll:!0}),onMouseMove(C){V.current=!0,G.current=!1,d&&ce(C)},onPointerLeave(C){if(!z.current||!ie.current||C.pointerType==="touch")return;V.current=!0;const N=C.relatedTarget;if(!(!d||n.current.includes(N))&&ve.current&&(he.current?.(),he.current=null,A.current=-1,j(C),!f)){const L=O.current,Z=rt(Ee(L));L&&ye(L,Z)&&L.focus({preventScroll:!0})}}}),[ce,z,O,d,n,j,ve,f]),fe=l.useMemo(()=>f&&E&&te&&{"aria-activedescendant":`${w}-${r}`},[f,E,te,w,r]),de=l.useMemo(()=>({"aria-orientation":x==="both"?void 0:x,...I?{}:fe,onKeyDown(W){if(W.key==="Tab"&&W.shiftKey&&E&&!f){const C=pt(W.nativeEvent);if(C&&!ye(O.current,C))return;et(W),T.setOpen(!1,Le(_n,W.nativeEvent)),Pe(D)&&D.focus();return}Q(W)},onPointerMove(){ie.current=!0}}),[fe,Q,O,x,I,T,E,f,D]),ue=l.useMemo(()=>{function W(L){T.setOpen(!0,Le(Qr,L.nativeEvent,L.currentTarget))}function C(L){g==="auto"&&jr(L.nativeEvent)&&(J.current=!f)}function N(L){J.current=g,g==="auto"&&rs(L.nativeEvent)&&(J.current=!0)}return{onKeyDown(L){const Z=T.select("open");ie.current=!1;const xe=L.key.startsWith("Arrow"),je=Aa(L.key,ee(),a),De=yn(L.key,x),we=(u?je:De)||L.key==="Enter"||L.key.trim()==="";if(f&&Z)return Q(L);if(!(!Z&&!h&&xe)){if(we){const Se=yn(L.key,ee());F.current=u&&Se?null:L.key}if(u){je&&(et(L),Z?(A.current=$(),j(L)):W(L));return}De&&(ae.current!=null&&(A.current=ae.current),et(L),!Z&&h?W(L):Q(L),Z&&j(L))}},onFocus(L){T.select("open")&&!f&&(A.current=-1,j(L))},onPointerDown:N,onPointerEnter:N,onMouseDown:C,onClick:C}},[Q,g,$,u,j,T,h,x,ee,a,ae,f]),re=l.useMemo(()=>({...fe,...ue}),[fe,ue]);return l.useMemo(()=>s?{reference:re,floating:de,item:Y,trigger:ue}:{},[s,re,de,ue,Y])}function Da(e,t){const{listRef:n,elementsRef:r,activeIndex:o,onMatch:s,onTyping:i,enabled:c=!0,resetMs:p=750,selectedIndex:u=null}=t,a="rootStore"in e?e.rootStore:e,f=a.useState("open"),g=wt(),d=l.useRef(""),h=l.useRef(u??o??-1),b=l.useRef(null),x=oe(w=>{function m(I){const O=r?.current[I];return!O||zn(O)}function S(I,O,B=0){if(I.length===0)return-1;const _=(B%I.length+I.length)%I.length,J=O.toLocaleLowerCase();for(let A=0;A<I.length;A+=1){const F=(_+A)%I.length;if(!(!I[F]?.toLocaleLowerCase().startsWith(J)||!m(F)))return F}return-1}const T=n.current;if(d.current.length>0&&w.key===" "&&(et(w),i?.(!0)),d.current.length>0&&d.current[0]!==" "&&S(T,d.current)===-1&&w.key!==" "&&i?.(!1),T==null||w.key.length!==1||w.ctrlKey||w.metaKey||w.altKey)return;f&&w.key!==" "&&(et(w),i?.(!0));const E=d.current==="";E&&(h.current=u??o??-1),T.every(I=>I?I[0]?.toLocaleLowerCase()!==I[1]?.toLocaleLowerCase():!0)&&d.current===w.key&&(d.current="",h.current=b.current),d.current+=w.key,g.start(p,()=>{d.current="",h.current=b.current,i?.(!1)});const P=((E?u??o??-1:h.current)??0)+1,H=S(T,d.current,P);H!==-1?(s?.(H),b.current=H):w.key!==" "&&(d.current="",i?.(!1))}),y=oe(w=>{const m=w.relatedTarget,S=a.select("domReferenceElement"),T=a.select("floatingElement");ye(S,m)||ye(T,m)||(g.clear(),d.current="",h.current=b.current,i?.(!1))});K(()=>{!f&&u!==null||(g.clear(),b.current=null,d.current!==""&&(d.current=""))},[f,u,g]),K(()=>{f&&d.current===""&&(h.current=u??o??-1)},[f,u,o]);const R=l.useMemo(()=>({onKeyDown:x,onBlur:y}),[x,y]);return l.useMemo(()=>c?{reference:R,floating:R}:{},[c,R])}const Hs=l.createContext(null),_s=l.createContext(null);function At(){const e=l.useContext(Hs);if(e===null)throw new Error(at(60));return e}function Ws(){const e=l.useContext(_s);if(e===null)throw new Error(at(61));return e}const Na=(e,t)=>Object.is(e,t);function Gt(e,t,n){return e==null||t==null?Object.is(e,t):n(e,t)}function Fa(e,t,n){return!e||e.length===0?!1:e.some(r=>r===void 0?!1:Gt(t,r,n))}function cn(e,t,n){return!e||e.length===0?-1:e.findIndex(r=>r===void 0?!1:Gt(r,t,n))}function La(e,t,n){return e.filter(r=>!Gt(t,r,n))}function $s(e){return e!=null&&e.length>0&&typeof e[0]=="object"&&e[0]!=null&&"items"in e[0]}function Va(e){if(!Array.isArray(e))return e!=null&&"null"in e;const t=e;if($s(t)){for(const n of t)for(const r of n.items)if(r&&r.value==null&&r.label!=null)return!0;return!1}for(const n of t)if(n&&n.value==null&&n.label!=null)return!0;return!1}function Us(e,t){if(t&&e!=null)return t(e)??"";if(e&&typeof e=="object"){if("label"in e&&e.label!=null)return String(e.label);if("value"in e)return String(e.value)}return mr(e)}function Bt(e,t){return t&&e!=null?t(e)??"":e&&typeof e=="object"&&"value"in e&&"label"in e?mr(e.value):mr(e)}function Ys(e,t,n){function r(){return Us(e,n)}if(n&&e!=null)return n(e);if(e&&typeof e=="object"&&"label"in e&&e.label!=null)return e.label;if(t&&!Array.isArray(t))return t[e]??r();if(Array.isArray(t)){const o=t,s=$s(o)?o.flatMap(i=>i.items):o;if(e==null||typeof e!="object"){const i=s.find(c=>c.value===e);return i&&i.label!=null?i.label:r()}if("value"in e){const i=s.find(c=>c&&c.value===e.value);if(i&&i.label!=null)return i.label}}return r()}function ja(e,t,n){return e.reduce((r,o,s)=>(s>0&&r.push(", "),r.push(M.jsx(l.Fragment,{children:Ys(o,t,n)},s)),r),[])}const ne={id:U(e=>e.id),labelId:U(e=>e.labelId),modal:U(e=>e.modal),multiple:U(e=>e.multiple),items:U(e=>e.items),itemToStringLabel:U(e=>e.itemToStringLabel),itemToStringValue:U(e=>e.itemToStringValue),isItemEqualToValue:U(e=>e.isItemEqualToValue),value:U(e=>e.value),hasSelectedValue:U(e=>{const{value:t,multiple:n,itemToStringValue:r}=e;return t==null?!1:n&&Array.isArray(t)?t.length>0:Bt(t,r)!==""}),hasNullItemLabel:U((e,t)=>t?Va(e.items):!1),open:U(e=>e.open),mounted:U(e=>e.mounted),forceMount:U(e=>e.forceMount),transitionStatus:U(e=>e.transitionStatus),openMethod:U(e=>e.openMethod),activeIndex:U(e=>e.activeIndex),selectedIndex:U(e=>e.selectedIndex),isActive:U((e,t)=>e.activeIndex===t),isSelected:U((e,t,n)=>{const r=e.isItemEqualToValue,o=e.value;return e.multiple?Array.isArray(o)&&o.some(s=>Gt(n,s,r)):e.selectedIndex===t&&e.selectedIndex!==null?!0:Gt(n,o,r)}),isSelectedByFocus:U((e,t)=>e.selectedIndex===t),popupProps:U(e=>e.popupProps),triggerProps:U(e=>e.triggerProps),triggerElement:U(e=>e.triggerElement),positionerElement:U(e=>e.positionerElement),listElement:U(e=>e.listElement),popupSide:U(e=>e.popupSide),scrollUpArrowVisible:U(e=>e.scrollUpArrowVisible),scrollDownArrowVisible:U(e=>e.scrollDownArrowVisible),hasScrollArrows:U(e=>e.hasScrollArrows)};function Ba(e){const t=l.useRef(""),n=l.useCallback(o=>{o.defaultPrevented||(t.current=o.pointerType,e(o,o.pointerType))},[e]);return{onClick:l.useCallback(o=>{if(o.detail===0){e(o,"keyboard");return}"pointerType"in o?e(o,o.pointerType):e(o,t.current),t.current=""},[e]),onPointerDown:n}}function zs(e,t){const n=oe((s,i)=>{(typeof e=="function"?e():e)||t(i||(ns?"touch":""))}),{onClick:r,onPointerDown:o}=Ba(n);return l.useMemo(()=>({onClick:r,onPointerDown:o}),[r,o])}function Ha(e){const[t,n]=l.useState(null),r=zs(e,n);return ys(e,o=>{o&&!e&&n(null)}),l.useMemo(()=>({openMethod:t,triggerProps:r}),[t,r])}function nn(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}const bt=1;function Ks(e,t){return Math.max(0,e-t)}function _a(e,t){if(t<=0)return 0;const n=nn(e,0,t),r=n,o=t-n,s=r<=bt,i=o<=bt;return s&&i?r<=o?0:t:s?0:i?t:n}function Wa(e){const{id:t,value:n,defaultValue:r=null,onValueChange:o,open:s,defaultOpen:i=!1,onOpenChange:c,name:p,form:u,autoComplete:a,disabled:f=!1,readOnly:g=!1,required:d=!1,modal:h=!0,actionsRef:b,inputRef:x,onOpenChangeComplete:y,items:R,multiple:w=!1,itemToStringLabel:m,itemToStringValue:S,isItemEqualToValue:T=Na,highlightItemOnHover:E=!0,children:k}=e,{clearErrors:D}=nl(),{setDirty:P,setTouched:H,setFocused:I,shouldValidateOnChange:O,validityData:B,setFilled:_,name:J,disabled:A,validation:F,validationMode:ie}=Nr(),j=Zo({id:t}),le=A||f,be=J??p,[v,V]=oo({controlled:n,default:w?r??Jr:r,name:"Select",state:"value"}),[G,he]=oo({controlled:s,default:i,name:"Select",state:"open"}),pe=l.useRef([]),z=l.useRef([]),ae=l.useRef(null),ve=l.useRef(null),Ve=l.useRef(0),q=l.useRef(null),X=l.useRef([]),te=l.useRef(!1),ce=l.useRef(!1),ee=l.useRef(null),$=l.useRef(null),Q=l.useRef({allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1,dragY:0}),Y=l.useRef(!1),{mounted:fe,setMounted:de,transitionStatus:ue}=Qo(G),{openMethod:re,triggerProps:W}=Ha(G),C=lt(()=>new xs({id:j,labelId:void 0,modal:h,multiple:w,itemToStringLabel:m,itemToStringValue:S,isItemEqualToValue:T,value:v,open:G,mounted:fe,transitionStatus:ue,items:R,forceMount:!1,openMethod:null,activeIndex:null,selectedIndex:null,popupProps:{},triggerProps:{},triggerElement:null,positionerElement:null,listElement:null,popupSide:null,scrollUpArrowVisible:!1,scrollDownArrowVisible:!1,hasScrollArrows:!1})).current,N=se(C,ne.activeIndex),L=se(C,ne.selectedIndex),Z=se(C,ne.triggerElement),xe=se(C,ne.positionerElement),je=ol(re),De=re??je,we=l.useMemo(()=>w&&Array.isArray(v)&&v.length===0?"":Bt(v,S),[w,v,S]),Se=l.useMemo(()=>w&&Array.isArray(v)?v.map(ge=>Bt(ge,S)):Bt(v,S),[w,v,S]),Te=Ge(C.state.triggerElement),Me=oe(()=>Se);el(Te,j,v,Me);const Ze=l.useRef(v),ut=w?Array.isArray(v)&&v.length>0:v!=null;K(()=>{v!==Ze.current&&C.set("forceMount",!0)},[C,v]),K(()=>{_(ut)},[ut,_]),K(function(){const Oe=X.current;let Ke;if(w){const Qe=Array.isArray(v)?v:[];if(Qe.length===0)Ke=null;else{const it=Qe[Qe.length-1],Zt=cn(Oe,it,T);Ke=Zt===-1?null:Zt}}else{const Qe=cn(Oe,v,T);Ke=Qe===-1?null:Qe}Ke===null&&($.current=null),!G&&C.set("selectedIndex",Ke)},[ut,w,G,v,X,T,C,$]),ys(v,()=>{D(be),P(v!==B.initialValue),O()?F.commit(v):F.commit(v,!0)});const He=oe((ge,Oe)=>{if(c?.(ge,Oe),!Oe.isCanceled&&(he(ge),!ge&&(Oe.reason===_n||Oe.reason===Ir)&&(H(!0),I(!1),ie==="onBlur"&&F.commit(v)),!ge&&C.state.activeIndex!==null)){const Ke=pe.current[C.state.activeIndex];queueMicrotask(()=>{Ke?.setAttribute("tabindex","-1")})}}),me=oe(()=>{de(!1),C.update({activeIndex:null,openMethod:null}),y?.(!1)});Yn({enabled:!b,open:G,ref:ae,onComplete(){G||me()}}),l.useImperativeHandle(b,()=>({unmount:me}),[me]);const Ie=oe((ge,Oe)=>{o?.(ge,Oe),!Oe.isCanceled&&V(ge)}),Be=oe(()=>{const ge=C.state.listElement||ae.current;if(!ge)return;const Oe=Ks(ge.scrollHeight,ge.clientHeight),Ke=_a(ge.scrollTop,Oe),Qe=Ke>0,it=Ke<Oe;C.state.scrollUpArrowVisible!==Qe&&C.set("scrollUpArrowVisible",Qe),C.state.scrollDownArrowVisible!==it&&C.set("scrollDownArrowVisible",it)}),Re=Bs({open:G,onOpenChange:He,elements:{reference:Z,floating:xe}}),Ye=Os(Re,{enabled:!g&&!le,event:"mousedown"}),Ne=Ps(Re),$e=ka(Re,{enabled:!g&&!le,listRef:pe,activeIndex:N,selectedIndex:L,disabledIndices:Jr,onNavigate(ge){ge===null&&!G||C.set("activeIndex",ge)},focusItemOnHover:E}),ze=Da(Re,{enabled:!g&&!le&&(G||!w),listRef:z,activeIndex:N,selectedIndex:L,onMatch(ge){G?C.set("activeIndex",ge):Ie(X.current[ge],Le("none"))},onTyping(ge){te.current=ge}}),st=l.useMemo(()=>{const ge=Lt(ze.reference,$e.reference,Ne.reference,Ye.reference,W);return j&&(ge.id=j),ge},[Ye.reference,ze.reference,$e.reference,Ne.reference,W,j]),mt=l.useMemo(()=>Lt(zr,ze.floating,$e.floating,Ne.floating),[ze.floating,$e.floating,Ne.floating]),Ct=$e.item??Fe;bs(()=>{C.update({popupProps:mt,triggerProps:st})}),K(()=>{C.update({id:j,modal:h,multiple:w,value:v,open:G,mounted:fe,transitionStatus:ue,popupProps:mt,triggerProps:st,items:R,itemToStringLabel:m,itemToStringValue:S,isItemEqualToValue:T,openMethod:De})},[C,j,h,w,v,G,fe,ue,mt,st,R,m,S,T,De]);const kt=l.useMemo(()=>({store:C,name:be,required:d,disabled:le,readOnly:g,multiple:w,highlightItemOnHover:E,setValue:Ie,setOpen:He,listRef:pe,popupRef:ae,scrollHandlerRef:ve,handleScrollArrowVisibility:Be,scrollArrowsMountedCountRef:Ve,itemProps:Ct,events:Re.context.events,valueRef:q,valuesRef:X,labelsRef:z,typingRef:te,selectionRef:Q,firstItemTextRef:ee,selectedItemTextRef:$,validation:F,onOpenChangeComplete:y,keyboardActiveRef:ce,alignItemWithTriggerActiveRef:Y,initialValueRef:Ze}),[C,be,d,le,g,w,E,Ie,He,Ct,Re.context.events,F,y,Be]),Je=Ut(x,F.inputRef),ft=w&&Array.isArray(v)&&v.length>0,Et=w?void 0:be,Xt=l.useMemo(()=>!w||!Array.isArray(v)||!be?null:v.map(ge=>{const Oe=Bt(ge,S);return M.jsx("input",{type:"hidden",form:u,name:be,value:Oe},Oe)}),[w,v,u,be,S]);return M.jsx(Hs.Provider,{value:kt,children:M.jsxs(_s.Provider,{value:Re,children:[k,M.jsx("input",{...F.getInputValidationProps({onFocus(){C.state.triggerElement?.focus({focusVisible:!0})},onChange(ge){if(ge.nativeEvent.defaultPrevented||le||g){ge.preventBaseUIHandler?.();return}const Oe=ge.currentTarget.value,Ke=Le(Pr,ge.nativeEvent);function Qe(){if(w)return;const it=X.current.find(Zt=>Bt(Zt,S).toLowerCase()===Oe.toLowerCase()||Us(Zt,m).toLowerCase()===Oe.toLowerCase());it!=null&&(P(it!==B.initialValue),Ie(it,Ke),O()&&F.commit(it))}C.set("forceMount",!0),queueMicrotask(Qe)}}),id:j&&Et==null?`${j}-hidden-input`:void 0,form:u,name:Et,autoComplete:a,value:we,disabled:le,required:d&&!ft,readOnly:g,ref:Je,style:be?Si:Ho,tabIndex:-1,"aria-hidden":!0,suppressHydrationWarning:!0}),Xt]})})}function $a(e,t){return e??t}let Ft=(function(e){return e.open="data-open",e.closed="data-closed",e[e.startingStyle=an.startingStyle]="startingStyle",e[e.endingStyle=an.endingStyle]="endingStyle",e.anchorHidden="data-anchor-hidden",e.side="data-side",e.align="data-align",e})({}),Er=(function(e){return e.popupOpen="data-popup-open",e.pressed="data-pressed",e})({});const Ua={[Er.popupOpen]:""},Ya={[Er.popupOpen]:"",[Er.pressed]:""},za={[Ft.open]:""},Ka={[Ft.closed]:""},Ga={[Ft.anchorHidden]:""},Gs={open(e){return e?Ua:null}},qa={open(e){return e?Ya:null}},Jn={open(e){return e?za:Ka},anchorHidden(e){return e?Ga:null}};function Xa(e){const t=e.getBoundingClientRect(),n=ke(e),r=n.getComputedStyle(e,"::before"),o=n.getComputedStyle(e,"::after");if(!(r.content!=="none"||o.content!=="none"))return t;const i=parseFloat(r.width)||0,c=parseFloat(r.height)||0,p=parseFloat(o.width)||0,u=parseFloat(o.height)||0,a=Math.max(t.width,i,p),f=Math.max(t.height,c,u),g=a-t.width,d=f-t.height;return{left:t.left-g/2,right:t.right+g/2,top:t.top-d/2,bottom:t.bottom+d/2}}const bn=2,Za=400,Ja={...qa,...Vi,popupSide:e=>e?{"data-popup-side":e}:null,value:()=>null},Qa=l.forwardRef(function(t,n){const{render:r,className:o,id:s,disabled:i=!1,nativeButton:c=!0,style:p,...u}=t,{setTouched:a,setFocused:f,validationMode:g,state:d,disabled:h}=Nr(),{labelId:b}=Xo(),{store:x,setOpen:y,selectionRef:R,validation:w,readOnly:m,required:S,alignItemWithTriggerActiveRef:T,disabled:E,keyboardActiveRef:k}=At(),D=h||E||i,P=se(x,ne.open),H=se(x,ne.mounted),I=se(x,ne.value),O=se(x,ne.triggerProps),B=se(x,ne.positionerElement),_=se(x,ne.listElement),J=se(x,ne.popupSide),A=se(x,ne.id),F=se(x,ne.labelId),ie=se(x,ne.hasSelectedValue),j=H&&B?J:null,le=s??A,be=$a(b,F);Zo({id:le});const v=Ge(B),V=l.useRef(null),{getButtonProps:G,buttonRef:he}=Un({disabled:D,native:c}),pe=oe(te=>{x.set("triggerElement",te)}),z=Ut(n,V,he,pe),ae=wt(),ve=wt(),Ve=wt();l.useEffect(()=>{if(P)return Ve.start(Za,()=>{R.current.allowUnselectedMouseUp=!0,R.current.allowSelectedMouseUp=!0}),()=>{Ve.clear()};R.current={allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1,dragY:0},ve.clear()},[P,R,ve,Ve]);const q=Lt(O,{id:le,role:"combobox","aria-expanded":P?"true":"false","aria-haspopup":"listbox","aria-controls":P?_?.id??On(B)?.id:void 0,"aria-labelledby":be,"aria-readonly":m||void 0,"aria-required":S||void 0,tabIndex:D?-1:0,ref:z,onFocus(te){f(!0),P&&T.current&&y(!1,Le(Pr,te.nativeEvent)),ae.start(0,()=>{x.set("forceMount",!0)})},onBlur(te){ye(B,te.relatedTarget)||(a(!0),f(!1),g==="onBlur"&&w.commit(I))},onPointerMove(){k.current=!1},onKeyDown(){k.current=!0},onMouseDown(te){if(P)return;const ce=Ee(te.currentTarget);function ee($){if(!V.current)return;const Q=$.target;if(ye(V.current,Q)||ye(v.current,Q)||Q===V.current)return;const Y=Xa(V.current);$.clientX>=Y.left-bn&&$.clientX<=Y.right+bn&&$.clientY>=Y.top-bn&&$.clientY<=Y.bottom+bn||y(!1,Le(Ai,$))}ve.start(0,()=>{ce.addEventListener("mouseup",ee,{once:!0})})}},w.getValidationProps,u,G);q.role="combobox";const X={...d,open:P,disabled:D,value:I,readOnly:m,popupSide:j,placeholder:!ie};return Xe("button",t,{ref:[n,V],state:X,stateAttributesMapping:Ja,props:q})}),eu={value:()=>null},tu=l.forwardRef(function(t,n){const{className:r,render:o,children:s,placeholder:i,style:c,...p}=t,{store:u,valueRef:a}=At(),f=se(u,ne.value),g=se(u,ne.items),d=se(u,ne.itemToStringLabel),h=se(u,ne.hasSelectedValue),b=!h&&i!=null&&s==null,x=se(u,ne.hasNullItemLabel,b),y={value:f,placeholder:!h};let R=null;return typeof s=="function"?R=s(f):s!=null?R=s:!h&&i!=null&&!x?R=i:Array.isArray(f)?R=ja(f,g,d):R=Ys(f,g,d),Xe("span",t,{state:y,ref:[n,a],props:[{children:R},p],stateAttributesMapping:eu})}),nu=l.forwardRef(function(t,n){const{render:r,className:o,style:s,...i}=t,{store:c}=At(),u={open:se(c,ne.open)};return Xe("span",t,{state:u,ref:n,props:[{"aria-hidden":!0,children:"▼"},i],stateAttributesMapping:Gs})}),ru=l.createContext(void 0),ou=l.forwardRef(function(t,n){const{store:r}=At(),o=se(r,ne.mounted),s=se(r,ne.forceMount);return o||s?M.jsx(ru.Provider,{value:!0,children:M.jsx(vs,{ref:n,...t})}):null});function qs(e){return Mr(19)?e:e?"true":void 0}const su=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:s,platform:i,elements:c,middlewareData:p}=t,{element:u,padding:a=0,offsetParent:f="real"}=St(e,t)||{};if(u==null)return{};const g=os(a),d={x:n,y:r},h=_r(o),b=Hr(h),x=await i.getDimensions(u),y=h==="y",R=y?"top":"left",w=y?"bottom":"right",m=y?"clientHeight":"clientWidth",S=s.reference[b]+s.reference[h]-d[h]-s.floating[b],T=d[h]-s.reference[h],E=f==="real"?await i.getOffsetParent?.(u):c.floating;let k=c.floating[m]||s.floating[b];(!k||!await i.isElement?.(E))&&(k=c.floating[m]||s.floating[b]);const D=S/2-T/2,P=k/2-x[b]/2-1,H=Math.min(g[R],P),I=Math.min(g[w],P),O=H,B=k-x[b]-I,_=k/2-x[b]/2+D,J=wr(O,_,B),A=!p.arrow&&It(o)!=null&&_!==J&&s.reference[b]/2-(_<O?H:I)-x[b]/2<0,F=A?_<O?_-O:_-B:0;return{[h]:d[h]+F,data:{[h]:J,centerOffset:_-J-F,...A&&{alignmentOffset:F}},reset:A}}}),iu=(e,t)=>({...su(e),options:[e,t]}),cu={name:"hide",async fn(e){const{width:t,height:n,x:r,y:o}=e.rects.reference,s=t===0&&n===0&&r===0&&o===0;return{data:{referenceHidden:(await da().fn(e)).data?.referenceHidden||s}}}},lu={sideX:"left",sideY:"top"};function Xs(e,t,n){const r=e==="inline-start"||e==="inline-end";return{top:"top",right:r?n?"inline-start":"inline-end":"right",bottom:"bottom",left:r?n?"inline-end":"inline-start":"left"}[t]}function Oo(e,t,n){const{rects:r,placement:o}=e;return{side:Xs(t,nt(o),n),align:It(o)||"center",anchor:{width:r.reference.width,height:r.reference.height},positioner:{width:r.floating.width,height:r.floating.height}}}function au(e){const{anchor:t,positionMethod:n="absolute",side:r="bottom",sideOffset:o=0,align:s="center",alignOffset:i=0,collisionBoundary:c,collisionPadding:p=5,sticky:u=!1,arrowPadding:a=5,disableAnchorTracking:f=!1,inline:g,keepMounted:d=!1,floatingRootContext:h,mounted:b,collisionAvoidance:x,shiftCrossAxis:y=!1,nodeId:R,adaptiveOrigin:w,lazyFlip:m=!1,externalTree:S}=e,[T,E]=l.useState(null);!b&&T!==null&&E(null);const k=x.side||"flip",D=x.align||"flip",P=x.fallbackAxisSide||"end",H=typeof t=="function"?t:void 0,I=oe(H),O=H?I:t,B=Ge(t),_=Ge(b),A=ms()==="rtl",F=T||{top:"top",right:"right",bottom:"bottom",left:"left","inline-end":A?"left":"right","inline-start":A?"right":"left"}[r],ie=s==="center"?F:`${F}-${s}`;let j=p;const le=1,be=r==="bottom"?le:0,v=r==="top"?le:0,V=r==="right"?le:0,G=r==="left"?le:0;typeof j=="number"?j={top:j+be,right:j+G,bottom:j+v,left:j+V}:j&&(j={top:(j.top||0)+be,right:(j.right||0)+G,bottom:(j.bottom||0)+v,left:(j.left||0)+V});const he={boundary:c==="clipping-ancestors"?"clippingAncestors":c,padding:j},pe=l.useRef(null),z=Ge(o),ae=Ge(i),ve=typeof o!="function"?o:0,Ve=typeof i!="function"?i:0,q=[];g&&q.push(g),q.push(ca(me=>{const Ie=Oo(me,r,A),Be=typeof z.current=="function"?z.current(Ie):z.current,Re=typeof ae.current=="function"?ae.current(Ie):ae.current;return{mainAxis:Be,crossAxis:Re,alignmentAxis:Re}},[ve,Ve,A,r]));const X=D==="none"&&k!=="shift",te=!X&&(u||y||k==="shift"),ce=k==="none"?null:ua({...he,padding:{top:j.top+le,right:j.right+le,bottom:j.bottom+le,left:j.left+le},mainAxis:!y&&k==="flip",crossAxis:D==="flip"?"alignment":!1,fallbackAxisSideDirection:P}),ee=X?null:la(me=>{const Ie=Ee(me.elements.floating).documentElement;return{...he,rootBoundary:y?{x:0,y:0,width:Ie.clientWidth,height:Ie.clientHeight}:void 0,mainAxis:D!=="none",crossAxis:te,limiter:u||y?void 0:aa(Be=>{if(!pe.current)return{};const{width:Re,height:Ye}=pe.current.getBoundingClientRect(),Ne=ot(nt(Be.placement)),$e=Ne==="y"?Re:Ye,ze=Ne==="y"?j.left+j.right:j.top+j.bottom;return{offset:$e/2+ze/2}})}},[he,u,y,j,D]);k==="shift"||D==="shift"||s==="center"?q.push(ee,ce):q.push(ce,ee),q.push(fa({...he,apply({elements:{floating:me},availableWidth:Ie,availableHeight:Be,rects:Re}){if(!_.current)return;const Ye=me.style;Ye.setProperty("--available-width",`${Ie}px`),Ye.setProperty("--available-height",`${Be}px`);const Ne=ke(me).devicePixelRatio||1,{x:$e,y:ze,width:st,height:mt}=Re.reference,Ct=(Math.round(($e+st)*Ne)-Math.round($e*Ne))/Ne,kt=(Math.round((ze+mt)*Ne)-Math.round(ze*Ne))/Ne;Ye.setProperty("--anchor-width",`${Ct}px`),Ye.setProperty("--anchor-height",`${kt}px`)}}),iu(me=>({element:pe.current||Ee(me.elements.floating).createElement("div"),padding:a,offsetParent:"floating"}),[a]),{name:"transformOrigin",fn(me){const{elements:Ie,middlewareData:Be,placement:Re,rects:Ye,y:Ne}=me,$e=nt(Re),ze=ot($e),st=pe.current,mt=Be.arrow?.x||0,Ct=Be.arrow?.y||0,kt=st?.clientWidth||0,Je=st?.clientHeight||0,ft=mt+kt/2,Et=Ct+Je/2,Xt=Math.abs(Be.shift?.y||0),ge=Ye.reference.height/2,Oe=typeof o=="function"?o(Oo(me,r,A)):o,Ke=Xt>Oe,Qe={top:`${ft}px calc(100% + ${Oe}px)`,bottom:`${ft}px ${-Oe}px`,left:`calc(100% + ${Oe}px) ${Et}px`,right:`${-Oe}px ${Et}px`}[$e],it=`${ft}px ${Ye.reference.y+ge-Ne}px`;return Ie.floating.style.setProperty("--transform-origin",te&&ze==="y"&&Ke?it:Qe),{}}},cu,w),K(()=>{!b&&h&&h.update({referenceElement:null,floatingElement:null,domReferenceElement:null,positionReference:null})},[b,h]);const $=l.useMemo(()=>({elementResize:!f&&typeof ResizeObserver<"u",layoutShift:!f&&typeof IntersectionObserver<"u"}),[f]),{refs:Q,elements:Y,x:fe,y:de,middlewareData:ue,update:re,placement:W,context:C,isPositioned:N,floatingStyles:L}=Pa({rootContext:h,open:d?b:void 0,placement:ie,middleware:q,strategy:n,whileElementsMounted:d?void 0:(...me)=>Eo(...me,$),nodeId:R,externalTree:S}),{sideX:Z,sideY:xe}=ue.adaptiveOrigin||lu,je=N?n:"fixed",De=l.useMemo(()=>{const me=w?{position:je,[Z]:fe,[xe]:de}:{position:je,...L};return N||(me.opacity=0),me},[w,je,Z,fe,xe,de,L,N]),we=l.useRef(null);K(()=>{if(!b)return;const me=B.current,Ie=typeof me=="function"?me():me,Re=(Po(Ie)?Ie.current:Ie)||null||null;Re!==we.current&&(Q.setPositionReference(Re),we.current=Re)},[b,Q,O,B]),l.useEffect(()=>{if(!b)return;const me=B.current;typeof me!="function"&&Po(me)&&me.current!==we.current&&(Q.setPositionReference(me.current),we.current=me.current)},[b,Q,O,B]),l.useEffect(()=>{if(d&&b&&Y.domReference&&Y.floating)return Eo(Y.domReference,Y.floating,re,$)},[d,b,Y,re,$]);const Se=nt(W),Te=Xs(r,Se,A),Me=It(W)||"center",Ze=!!ue.hide?.referenceHidden;K(()=>{m&&b&&N&&E(Se)},[m,b,N,Se]);const ut=l.useMemo(()=>({position:"absolute",top:ue.arrow?.y,left:ue.arrow?.x}),[ue.arrow]),He=ue.arrow?.centerOffset!==0;return l.useMemo(()=>({positionerStyles:De,arrowStyles:ut,arrowRef:pe,arrowUncentered:He,side:Te,align:Me,physicalSide:Se,anchorHidden:Ze,refs:Q,context:C,isPositioned:N,update:re}),[De,ut,pe,He,Te,Me,Se,Ze,Q,C,N,re])}function Po(e){return e!=null&&"current"in e}const Zs=l.createContext(void 0);function uu(){const e=l.useContext(Zs);if(!e)throw new Error(at(59));return e}const Js=l.forwardRef(function(t,n){const{cutout:r,...o}=t;let s;if(r){const i=r.getBoundingClientRect();s=`polygon(0% 0%,100% 0%,100% 100%,0% 100%,0% 0%,${i.left}px ${i.top}px,${i.left}px ${i.bottom}px,${i.right}px ${i.bottom}px,${i.right}px ${i.top}px,${i.left}px ${i.top}px)`}return M.jsx("div",{ref:n,role:"presentation","data-base-ui-inert":"",...o,style:{position:"fixed",inset:0,userSelect:"none",WebkitUserSelect:"none",clipPath:s}})});function Nn(e,t){e&&Object.assign(e.style,t)}const fu={position:"relative",maxHeight:"100%",overflowX:"hidden",overflowY:"auto"};function Qs(e){return e==="starting"?pl:Fe}function du(e,t,{styles:n,transitionStatus:r,props:o,refs:s,hidden:i,inert:c=!1}){const p={...n};return c&&(p.pointerEvents="none"),Xe("div",e,{state:t,ref:s,props:[{role:"presentation",hidden:i,style:p},Qs(r),o],stateAttributesMapping:Jn})}let Io={},Ao={},Mo="";function pu(e){if(typeof document>"u")return!1;const t=Ee(e);return ke(t).innerWidth-t.documentElement.clientWidth>0}function gu(e){if(!(typeof CSS<"u"&&CSS.supports&&CSS.supports("scrollbar-gutter","stable"))||typeof document>"u")return!1;const n=Ee(e),r=n.documentElement,o=n.body,s=Pt(r)?r:o,i=s.style.overflowY,c=r.style.scrollbarGutter;r.style.scrollbarGutter="stable",s.style.overflowY="scroll";const p=s.offsetWidth;s.style.overflowY="hidden";const u=s.offsetWidth;return s.style.overflowY=i,r.style.scrollbarGutter=c,p===u}function hu(e){const t=Ee(e),n=t.documentElement,r=t.body,o=Pt(n)?n:r,s={overflowY:o.style.overflowY,overflowX:o.style.overflowX};return Object.assign(o.style,{overflowY:"hidden",overflowX:"hidden"}),()=>{Object.assign(o.style,s)}}function mu(e){const t=Ee(e),n=t.documentElement,r=t.body,o=ke(n);let s=0,i=0,c=!1;const p=dt.create();if(Fr&&(o.visualViewport?.scale??1)!==1)return()=>{};function u(){const d=o.getComputedStyle(n),h=o.getComputedStyle(r),y=(d.scrollbarGutter||"").includes("both-edges")?"stable both-edges":"stable";s=n.scrollTop,i=n.scrollLeft,Io={scrollbarGutter:n.style.scrollbarGutter,overflowY:n.style.overflowY,overflowX:n.style.overflowX},Mo=n.style.scrollBehavior,Ao={position:r.style.position,height:r.style.height,width:r.style.width,boxSizing:r.style.boxSizing,overflowY:r.style.overflowY,overflowX:r.style.overflowX,scrollBehavior:r.style.scrollBehavior};const R=n.scrollHeight>n.clientHeight,w=n.scrollWidth>n.clientWidth,m=d.overflowY==="scroll"||h.overflowY==="scroll",S=d.overflowX==="scroll"||h.overflowX==="scroll",T=Math.max(0,o.innerWidth-r.clientWidth),E=Math.max(0,o.innerHeight-r.clientHeight),k=parseFloat(h.marginTop)+parseFloat(h.marginBottom),D=parseFloat(h.marginLeft)+parseFloat(h.marginRight),P=Pt(n)?n:r;if(c=gu(e),c){n.style.scrollbarGutter=y,P.style.overflowY="hidden",P.style.overflowX="hidden";return}Object.assign(n.style,{scrollbarGutter:y,overflowY:"hidden",overflowX:"hidden"}),(R||m)&&(n.style.overflowY="scroll"),(w||S)&&(n.style.overflowX="scroll"),Object.assign(r.style,{position:"relative",height:k||E?`calc(100dvh - ${k+E}px)`:"100dvh",width:D||T?`calc(100vw - ${D+T}px)`:"100vw",boxSizing:"border-box",overflow:"hidden",scrollBehavior:"unset"}),r.scrollTop=s,r.scrollLeft=i,n.setAttribute("data-base-ui-scroll-locked",""),n.style.scrollBehavior="unset"}function a(){Object.assign(n.style,Io),Object.assign(r.style,Ao),c||(n.scrollTop=s,n.scrollLeft=i,n.removeAttribute("data-base-ui-scroll-locked"),n.style.scrollBehavior=Mo)}function f(){a(),p.request(u)}u();const g=Ce(o,"resize",f);return()=>{p.cancel(),a(),typeof o.removeEventListener=="function"&&g()}}class yu{lockCount=0;restore=null;timeoutLock=Vt.create();timeoutUnlock=Vt.create();acquire(t){return this.lockCount+=1,this.lockCount===1&&this.restore===null&&this.timeoutLock.start(0,()=>this.lock(t)),this.release}release=()=>{this.lockCount-=1,this.lockCount===0&&this.restore&&this.timeoutUnlock.start(0,this.unlock)};unlock=()=>{this.lockCount===0&&this.restore&&(this.restore?.(),this.restore=null)};lock(t){if(this.lockCount===0||this.restore!==null)return;const r=Ee(t).documentElement,o=ke(r).getComputedStyle(r).overflowY;if(o==="hidden"||o==="clip"){this.restore=_e;return}const s=ns||!pu(t);this.restore=s?hu(t):mu(t)}}const bu=new yu;function ei(e=!0,t=null){K(()=>{if(e)return bu.acquire(t)},[e,t])}const xu=20;function wu(e,t,n,r){const[o,s]=l.useState(!1);K(()=>{if(!e||!t||n==null){s(!1);return}const i=Ee(n).documentElement.clientWidth,c=n.offsetWidth;s(i>0&&c>0&&c>=i-xu)},[e,t,n]),ei(e&&(!t||o),r)}const Ru={position:"fixed"},Su=l.forwardRef(function(t,n){const{anchor:r,positionMethod:o="absolute",className:s,render:i,side:c="bottom",align:p="center",sideOffset:u=0,alignOffset:a=0,collisionBoundary:f="clipping-ancestors",collisionPadding:g,arrowPadding:d=5,sticky:h=!1,disableAnchorTracking:b,alignItemWithTrigger:x=!0,collisionAvoidance:y=gl,style:R,...w}=t,{store:m,listRef:S,labelsRef:T,alignItemWithTriggerActiveRef:E,selectedItemTextRef:k,valuesRef:D,initialValueRef:P,popupRef:H,setValue:I}=At(),O=Ws(),B=se(m,ne.open),_=se(m,ne.mounted),J=se(m,ne.modal),A=se(m,ne.value),F=se(m,ne.openMethod),ie=se(m,ne.positionerElement),j=se(m,ne.triggerElement),le=se(m,ne.isItemEqualToValue),be=se(m,ne.transitionStatus),v=l.useRef(null),V=l.useRef(null),[G,he]=l.useState(x),pe=_&&G&&F!=="touch";!_&&G!==x&&he(x),K(()=>{_||(ne.scrollUpArrowVisible(m.state)&&m.set("scrollUpArrowVisible",!1),ne.scrollDownArrowVisible(m.state)&&m.set("scrollDownArrowVisible",!1))},[m,_]),l.useImperativeHandle(E,()=>pe),wu((pe||J)&&B,F==="touch",ie,j);const z=au({anchor:r,floatingRootContext:O,positionMethod:o,mounted:_,side:c,sideOffset:u,align:p,alignOffset:a,arrowPadding:d,collisionBoundary:f,collisionPadding:g,sticky:h,disableAnchorTracking:b??pe,collisionAvoidance:y,keepMounted:!0}),ae=pe?"none":z.side,ve=pe?Ru:z.positionerStyles,Ve={open:B,side:ae,align:z.align,anchorHidden:z.anchorHidden};K(()=>{m.set("popupSide",z.side)},[m,z.side]);const q=oe($=>{m.set("positionerElement",$)}),X=du(t,Ve,{styles:ve,transitionStatus:be,props:w,refs:[n,q],hidden:!_,inert:!B}),te=l.useRef(0),ce=oe($=>{if($.size===0&&te.current===0||D.current.length===0)return;const Q=te.current;if(te.current=$.size,$.size===Q)return;const Y=Le(Pr);if(Q!==0&&!m.state.multiple&&A!==null&&cn(D.current,A,le)===-1){const de=P.current,re=de!=null&&cn(D.current,de,le)!==-1?de:null;I(re,Y),re===null&&(m.set("selectedIndex",null),k.current=null)}if(Q!==0&&m.state.multiple&&Array.isArray(A)){const fe=ue=>cn(D.current,ue,le)!==-1,de=A.filter(ue=>fe(ue));(de.length!==A.length||de.some(ue=>!Fa(A,ue,le)))&&(I(de,Y),de.length===0&&(m.set("selectedIndex",null),k.current=null))}if(B&&pe){m.update({scrollUpArrowVisible:!1,scrollDownArrowVisible:!1});const fe={height:""};Nn(ie,fe),Nn(H.current,fe)}}),ee=l.useMemo(()=>({...z,side:ae,alignItemWithTriggerActive:pe,setControlledAlignItemWithTrigger:he,scrollUpArrowRef:v,scrollDownArrowRef:V}),[z,ae,pe,he]);return M.jsx(qc,{elementsRef:S,labelsRef:T,onMapChange:ce,children:M.jsxs(Zs.Provider,{value:ee,children:[_&&J&&M.jsx(Js,{inert:qs(!B),cutout:j}),X]})})}),xn="base-ui-disable-scrollbar",ko={className:xn,getElement(e){return M.jsx("style",{nonce:e,href:xn,precedence:"base-ui:low",children:`.${xn}{scrollbar-width:none}.${xn}::-webkit-scrollbar{display:none}`})}},Cu=l.createContext(void 0);function Eu(e){return l.useContext(Cu)}const vu=l.createContext(void 0),Tu={disableStyleElements:!1};function Ou(){return l.useContext(vu)??Tu}const Pu={...Jn,...Ar},Iu=l.forwardRef(function(t,n){const{render:r,className:o,style:s,finalFocus:i,...c}=t,{store:p,popupRef:u,onOpenChangeComplete:a,setOpen:f,valueRef:g,firstItemTextRef:d,selectedItemTextRef:h,keyboardActiveRef:b,multiple:x,handleScrollArrowVisibility:y,scrollHandlerRef:R,listRef:w,highlightItemOnHover:m}=At(),{side:S,align:T,alignItemWithTriggerActive:E,isPositioned:k,setControlledAlignItemWithTrigger:D,scrollDownArrowRef:P,scrollUpArrowRef:H}=uu(),I=Eu()!=null,O=Ws(),B=ms(),{nonce:_,disableStyleElements:J}=Ou(),A=se(p,ne.id),F=se(p,ne.open),ie=se(p,ne.mounted),j=se(p,ne.popupProps),le=se(p,ne.transitionStatus),be=se(p,ne.triggerElement),v=se(p,ne.positionerElement),V=se(p,ne.listElement),G=l.useRef(!1),he=l.useRef(!1),pe=l.useRef({}),z=zt(),ae=oe(X=>{if(!v||!u.current||!he.current)return;if(G.current||!E){y();return}const te=v.style.top==="0px",ce=v.style.bottom==="0px";if(!te&&!ce){y();return}const ee=No(v),$=rn(v.getBoundingClientRect().height,"y",ee),Q=Ee(v),Y=getComputedStyle(v),fe=parseFloat(Y.marginTop),de=parseFloat(Y.marginBottom),ue=Do(getComputedStyle(u.current)),re=Math.min(Q.documentElement.clientHeight-fe-de,ue),W=X.scrollTop,C=wn(X);let N=0,L=null,Z=!1,xe=!1;const je=Te=>{v.style.height=`${Te}px`},De=(Te,Me)=>{const Ze=nn(Te,0,re-$);Ze>0&&je($+Ze),X.scrollTop=Me,re-($+Ze)<=bt&&(G.current=!0),y()},we=te?C-W:W,Se=Math.min($+we,re);if(N=Se,we<=bt){De(we,te?C:0);return}if(re-Se>bt)te?xe=!0:L=0;else if(Z=!0,ce&&W<C){const Te=$+we-re;L=W-(we-Te)}if(N=Math.ceil(N),N!==0&&je(N),xe||L!=null){const Te=wn(X),Me=xe?Te:nn(L,0,Te);Math.abs(X.scrollTop-Me)>bt&&(X.scrollTop=Me)}(Z||N>=re-bt)&&(G.current=!0),y()});l.useImperativeHandle(R,()=>ae,[ae]),Yn({open:F,ref:u,onComplete(){F&&a?.(!0)}});const ve={open:F,transitionStatus:le,side:S,align:T};K(()=>{!v||!u.current||Object.keys(pe.current).length||(pe.current={top:v.style.top||"0",left:v.style.left||"0",right:v.style.right,height:v.style.height,bottom:v.style.bottom,minHeight:v.style.minHeight,maxHeight:v.style.maxHeight,marginTop:v.style.marginTop,marginBottom:v.style.marginBottom})},[u,v]),K(()=>{F||E||(he.current=!1,G.current=!1,Nn(v,pe.current))},[F,E,v,u]),K(()=>{const X=u.current;if(!F||!be||!v||!X||E&&!k||p.state.transitionStatus==="ending")return;if(!E){he.current=!0,z.request(y),X.style.removeProperty("--transform-origin");return}const te=Au(X);X.style.removeProperty("--transform-origin");try{let ce=h.current;ce?.isConnected||(ce=!ne.hasSelectedValue(p.state)&&d.current?.isConnected?d.current:null);const ee=g.current,$=getComputedStyle(v),Q=getComputedStyle(X),Y=Ee(be),fe=ke(v),de=No(be),ue=Rn(be.getBoundingClientRect(),de),re=Rn(v.getBoundingClientRect(),de),W=ue.height,C=V||X,N=C.scrollHeight,L=parseFloat(Q.borderBottomWidth),Z=parseFloat($.marginTop)||10,xe=parseFloat($.marginBottom)||10,je=parseFloat($.minHeight)||100,De=Do(Q),we=5,Se=5,Te=20,Me=Y.documentElement.clientHeight-Z-xe,Ze=Y.documentElement.clientWidth,ut=Me-ue.bottom+W;let He,me=B==="rtl"?ue.right-re.width:ue.left,Ie=0;if(ce&&ee){const Je=Rn(ee.getBoundingClientRect(),de);He=Rn(ce.getBoundingClientRect(),de),me=re.left+(B==="rtl"?Je.right-He.right:Je.left-He.left);const ft=Je.top-ue.top+Je.height/2;Ie=He.top-re.top+He.height/2-ft}const Be=ut+Ie+xe+L;let Re=Math.min(Me,Be);const Ye=Me-Z-xe,Ne=Be-Re,$e=Ze-Se;v.style.left=`${nn(me,we,$e-re.width)}px`,v.style.height=`${Re}px`,v.style.maxHeight="auto",v.style.marginTop=`${Z}px`,v.style.marginBottom=`${xe}px`,X.style.height="100%";const ze=wn(C),st=Ne>=ze-bt;st&&(Re=Math.min(Me,re.height)-(Ne-ze));const mt=ue.top<Te||ue.bottom>Me-Te||Math.ceil(Re)+bt<Math.min(N,je),Ct=(fe.visualViewport?.scale??1)!==1&&Fr;if(mt||Ct){he.current=!0,Nn(v,pe.current),D(!1);return}const kt=Math.max(je,Re);if(st){const Je=Math.max(0,Me-Be);v.style.top=re.height>=Ye?"0":`${Je}px`,v.style.height=`${Re}px`,C.scrollTop=wn(C)}else v.style.bottom="0",C.scrollTop=Ne;if(He){const Je=re.top,ft=re.height,Et=He.top+He.height/2,Xt=ft>0?(Et-Je)/ft*100:50,ge=nn(Xt,0,100);X.style.setProperty("--transform-origin",`50% ${ge}%`)}(kt===Me||Re>=De)&&(G.current=!0),y(),m&&p.state.selectedIndex===null&&p.state.activeIndex===null&&w.current[0]!=null&&p.set("activeIndex",0),he.current=!0}finally{te()}},[p,F,v,be,g,d,h,u,y,E,D,z,P,H,V,w,m,B,k]),l.useEffect(()=>{if(!E||!v||!F)return;const X=ke(v);function te(ce){f(!1,Le(ki,ce))}return Ce(X,"resize",te)},[f,E,v,F]);const Ve={...V?{role:"presentation","aria-orientation":void 0}:{role:"listbox","aria-multiselectable":x||void 0,id:`${A}-list`},onKeyDown(X){b.current=!0,I&&hs.has(X.key)&&X.stopPropagation()},onMouseMove(){b.current=!1},onScroll(X){V||ae(X.currentTarget)},...E&&{style:V?{height:"100%"}:fu}},q=Xe("div",t,{ref:[n,u],state:ve,stateAttributesMapping:Pu,props:[j,Ve,Qs(le),{className:!V&&E?ko.className:void 0},c]});return M.jsxs(l.Fragment,{children:[!J&&ko.getElement(_),M.jsx(Ts,{context:O,modal:!1,disabled:!ie,returnFocus:i,restoreFocus:!0,children:q})]})});function Do(e){const t=e.maxHeight||"";return t.endsWith("px")&&parseFloat(t)||1/0}function wn(e){return Ks(e.scrollHeight,e.clientHeight)}function No(e){return Fs.getScale(e)}function rn(e,t,n){return e/n[t]}function Rn(e,t){return fn({x:rn(e.x,"x",t),y:rn(e.y,"y",t),width:rn(e.width,"x",t),height:rn(e.height,"y",t)})}const Fo=[["transform","none"],["scale","1"],["translate","0 0"]];function Au(e){const{style:t}=e,n={};for(const[r,o]of Fo)n[r]=t.getPropertyValue(r),t.setProperty(r,o,"important");return()=>{for(const[r]of Fo){const o=n[r];o?t.setProperty(r,o):t.removeProperty(r)}}}const ti=l.createContext(void 0);function Mu(){const e=l.useContext(ti);if(!e)throw new Error(at(57));return e}const ku=l.memo(l.forwardRef(function(t,n){const{render:r,className:o,style:s,value:i=null,label:c,disabled:p=!1,nativeButton:u=!1,...a}=t,f=l.useRef(null),g=oc({label:c,textRef:f,indexGuessBehavior:qo.GuessFromOrder}),{store:d,itemProps:h,setOpen:b,setValue:x,selectionRef:y,typingRef:R,valuesRef:w,multiple:m,selectedItemTextRef:S}=At(),T=se(d,ne.isActive,g.index),E=se(d,ne.isSelected,g.index,i),k=se(d,ne.isSelectedByFocus,g.index),D=se(d,ne.isItemEqualToValue),P=g.index,H=P!==-1,I=l.useRef(null);K(()=>{if(!H)return;const V=w.current;return V[P]=i,()=>{delete V[P]}},[H,P,i,w]),K(()=>{if(!H)return;const V=d.state.value;let G=V;m&&Array.isArray(V)&&V.length>0&&(G=V[V.length-1]),G!==void 0&&Gt(i,G,D)&&(d.set("selectedIndex",P),f.current&&(S.current=f.current))},[H,P,m,D,d,i,S]);const O=l.useRef(null),B=l.useRef("mouse"),_=l.useRef(!1),{getButtonProps:J,buttonRef:A}=Un({disabled:p,focusableWhenDisabled:!0,native:u,composite:!0}),F={disabled:p,selected:E,highlighted:T};function ie(V){const G=d.state.value;if(m){const he=Array.isArray(G)?G:[],pe=E?La(he,i,D):[...he,i];x(pe,Le(tr,V))}else x(i,Le(tr,V)),b(!1,Le(tr,V))}function j(){y.current.dragY=0}const le={role:"option","aria-selected":E,tabIndex:T?0:-1,onKeyDown(V){O.current=V.key,d.set("activeIndex",P),V.key===" "&&R.current&&V.preventDefault()},onClick(V){const G=V.type==="click"&&B.current!=="touch",he=V.nativeEvent.pointerType,pe=G&&jr(V.nativeEvent)&&(he!==void 0||T),z=G&&!pe&&!_.current;_.current=!1,!(V.type==="keydown"&&O.current===null)&&(p||V.type==="keydown"&&O.current===" "&&R.current||z||(O.current=null,ie(V.nativeEvent)))},onPointerEnter(V){B.current=V.pointerType},onPointerMove(V){if(V.pointerType==="mouse"&&V.buttons===1){const G=y.current;G.dragY+=V.movementY,G.dragY**2>=64&&(G.allowUnselectedMouseUp=!0)}},onPointerDown(V){B.current=V.pointerType,_.current=!0,j()},onMouseUp(){if(j(),p||B.current==="touch"||_.current)return;const V=!y.current.allowSelectedMouseUp&&E,G=!y.current.allowUnselectedMouseUp&&!E;V||G||(_.current=!0,I.current?.click(),_.current=!1)}},be=Xe("div",t,{ref:[A,n,g.ref,I],state:F,props:[h,le,a,J]}),v=l.useMemo(()=>({selected:E,index:P,textRef:f,selectedByFocus:k,hasRegistered:H}),[E,P,f,k,H]);return M.jsx(ti.Provider,{value:v,children:be})})),Du=l.memo(l.forwardRef(function(t,n){const{index:r,textRef:o,selectedByFocus:s,hasRegistered:i}=Mu(),{firstItemTextRef:c,selectedItemTextRef:p}=At(),{render:u,className:a,style:f,...g}=t,d=l.useCallback(b=>{b&&(i&&r===0&&(c.current=b),i&&s&&(p.current=b))},[c,p,r,s,i]);return Xe("div",t,{ref:[d,n,o],props:g})}));function pf(e){const{className:t,disabled:n,error:r,items:o,onChange:s,placeholder:i="Select an option",value:c,...p}=e,u=o.find(a=>a.value===c);return M.jsxs(Wa,{disabled:n,onValueChange:a=>{typeof a=="string"&&s(a)},value:c,children:[M.jsxs(Qa,{className:$t("flex h-[40px] w-full items-center gap-[10px] rounded-body border-[2px] border-transparent bg-secondary px-[12px] copy-14 text-foreground outline-none hover:bg-secondary-hover active:bg-secondary-active focus-visible:border-focus focus-visible:bg-secondary-hover data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[error]:border-negative data-[error]:focus-visible:border-negative",t),"data-error":r?"":void 0,...p,children:[M.jsx(tu,{className:"min-w-0 flex-1 truncate",placeholder:M.jsx("span",{className:"text-foreground-secondary",children:i}),children:u?M.jsx(Fu,{item:u}):void 0}),M.jsx(nu,{className:"ml-auto shrink-0 text-foreground-secondary",children:M.jsx(Lu,{})})]}),M.jsx(ou,{children:M.jsx(Su,{alignItemWithTrigger:!1,className:"z-50 outline-none",sideOffset:4,children:M.jsx(Iu,{className:"max-h-[288px] min-w-[var(--anchor-width)] overflow-auto rounded-body border border-border bg-surface py-[4px] shadow-lg",children:o.map(a=>M.jsx(ku,{className:"flex cursor-pointer items-center gap-[10px] px-[12px] py-[8px] label-14 text-foreground outline-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[highlighted]:bg-secondary-hover data-[selected]:font-medium",disabled:a.disabled,label:a.textValue,value:a.value,children:M.jsx(Nu,{item:a})},a.value))})})})]})}function Nu(e){const{item:t}=e;return M.jsxs(M.Fragment,{children:[t.prefix,M.jsx(Du,{children:t.label}),t.suffix&&M.jsx("span",{className:"ml-auto text-foreground-secondary",children:t.suffix})]})}function Fu(e){const{item:t}=e;return M.jsxs("span",{className:"flex min-w-0 items-center gap-[10px]",children:[t.prefix,M.jsx("span",{className:"min-w-0 truncate",children:t.label})]})}function Lu(){return M.jsx("svg",{"aria-hidden":!0,className:"size-[16px]",fill:"none",viewBox:"0 0 24 24",children:M.jsx("path",{d:"m6 9 6 6 6-6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"})})}function gf(e){return M.jsxs("section",{className:"flex flex-col gap-6",children:[M.jsxs("div",{className:"flex flex-col gap-4 md:flex-row md:items-center md:justify-between md:gap-4",children:[M.jsxs("div",{className:"flex min-w-0 flex-1 items-start gap-4",children:[M.jsxs("div",{className:"min-w-0 flex-1",children:[M.jsx("h1",{className:"text-heading-24 text-foreground",children:e.title}),e.description?M.jsx("p",{className:"mt-1 text-copy-15 text-foreground-secondary",children:e.description}):null]}),M.jsx("div",{className:"shrink-0 md:hidden",children:M.jsx(li,{})})]}),e.action?M.jsx("div",{className:"flex items-center gap-2 max-sm:w-full [&>*]:max-sm:flex-1",children:e.action}):null]}),e.children]})}function hf(e){return M.jsx("div",{className:`border border-border bg-surface ${e.className??""}`,children:e.children})}function mf(e){return M.jsx("div",{className:"flex items-center justify-center px-6 py-12 text-copy-14 text-foreground-secondary",children:e.children})}const ni=l.createContext(!1),ri=l.createContext(void 0);function Mt(e){const t=l.useContext(ri);if(e===!1&&t===void 0)throw new Error(at(27));return t}const Vu={...Jn,...Ar},ju=l.forwardRef(function(t,n){const{render:r,className:o,style:s,forceRender:i=!1,...c}=t,{store:p}=Mt(),u=p.useState("open"),a=p.useState("nested"),f=p.useState("mounted"),g=p.useState("transitionStatus");return Xe("div",t,{state:{open:u,transitionStatus:g},ref:[p.context.backdropRef,n],stateAttributesMapping:Vu,props:[{role:"presentation",hidden:!f,style:{userSelect:"none",WebkitUserSelect:"none"}},c],enabled:i||!a})}),Bu=l.forwardRef(function(t,n){const{render:r,className:o,style:s,disabled:i=!1,nativeButton:c=!0,...p}=t,{store:u}=Mt(),a=u.useState("open"),{getButtonProps:f,buttonRef:g}=Un({disabled:i,native:c}),d={disabled:i};function h(b){a&&u.setOpen(!1,Le(Pi,b.nativeEvent))}return Xe("button",t,{state:d,ref:[n,g],props:[{onClick:h},p,f]})}),Hu=l.forwardRef(function(t,n){const{render:r,className:o,style:s,id:i,...c}=t,{store:p}=Mt(),u=$n(i);return p.useSyncedValueWithCleanup("descriptionElementId",u),Xe("p",t,{ref:n,props:[{id:u},c]})});let _u=(function(e){return e.nestedDialogs="--nested-dialogs",e})({}),Wu=(function(e){return e[e.open=Ft.open]="open",e[e.closed=Ft.closed]="closed",e[e.startingStyle=Ft.startingStyle]="startingStyle",e[e.endingStyle=Ft.endingStyle]="endingStyle",e.nested="data-nested",e.nestedDialogOpen="data-nested-dialog-open",e})({});const oi=l.createContext(void 0);function $u(){const e=l.useContext(oi);if(e===void 0)throw new Error(at(26));return e}const Uu={...Jn,...Ar,nestedDialogOpen(e){return e?{[Wu.nestedDialogOpen]:""}:null}},Yu=l.forwardRef(function(t,n){const{render:r,className:o,style:s,finalFocus:i,initialFocus:c,...p}=t,{store:u}=Mt(),a=u.useState("descriptionElementId"),f=u.useState("disablePointerDismissal"),g=u.useState("floatingRootContext"),d=u.useState("popupProps"),h=u.useState("modal"),b=u.useState("mounted"),x=u.useState("nested"),y=u.useState("nestedOpenDialogCount"),R=u.useState("open"),w=u.useState("openMethod"),m=u.useState("titleElementId"),S=u.useState("transitionStatus"),T=u.useState("role"),E=g.useState("floatingId"),k=p.id??E;$u(),Yn({open:R,ref:u.context.popupRef,onComplete(){R&&u.context.onOpenChangeComplete?.(!0)}});function D(_){return _==="touch"?u.context.popupRef.current:!0}const P=c===void 0?D:c,H=y>0,I=u.useStateSetter("popupElement"),B=Xe("div",t,{state:{open:R,nested:x,transitionStatus:S,nestedDialogOpen:H},props:[d,{id:k,"aria-labelledby":m??void 0,"aria-describedby":a??void 0,role:T,...zr,hidden:!b,onKeyDown(_){hs.has(_.key)&&_.stopPropagation()},style:{[_u.nestedDialogs]:y}},p],ref:[n,u.context.popupRef,I],stateAttributesMapping:Uu});return M.jsx(Ts,{context:g,openInteractionType:w,disabled:!b,closeOnFocusOut:!f,initialFocus:P,returnFocus:i,modal:h!==!1,restoreFocus:"popup",children:B})}),zu=l.forwardRef(function(t,n){const{keepMounted:r=!1,...o}=t,{store:s}=Mt(),i=s.useState("mounted"),c=s.useState("modal"),p=s.useState("open");return i||r?M.jsx(oi.Provider,{value:r,children:M.jsxs(vs,{ref:n,...o,children:[i&&c===!0&&M.jsx(Js,{ref:s.context.internalBackdropRef,inert:qs(!p)}),t.children]})}):null});function Ku(e){const{store:t,parentContext:n,actionsRef:r,isDrawer:o}=e,s=t.useState("open");Sa(t,s),xa(t);const{forceUnmount:i}=wa(s,t),c=l.useCallback(()=>{t.setOpen(!1,Le(Mi))},[t]);return l.useImperativeHandle(r,()=>({unmount:i,close:c}),[i,c]),{parentContext:n,isDrawer:o}}function Gu({store:e,dialogRoot:t}){const{parentContext:n,isDrawer:r}=t,o=e.useState("open"),s=e.useState("disablePointerDismissal"),i=e.useState("modal"),c=e.useState("popupElement"),p=e.useState("floatingRootContext"),[u,a]=l.useState(0),[f,g]=l.useState(0),d=u===0,h=Ps(p,{outsidePressEvent(){return e.context.internalBackdropRef.current||e.context.backdropRef.current?"intentional":{mouse:i==="trap-focus"?"sloppy":"intentional",touch:"sloppy"}},outsidePress(R){if(!e.context.outsidePressEnabledRef.current||"button"in R&&R.button!==0||"touches"in R&&R.touches.length!==1)return!1;const w=pt(R);if(d&&!s){const m=w;return i&&(e.context.internalBackdropRef.current||e.context.backdropRef.current)?e.context.internalBackdropRef.current===m||e.context.backdropRef.current===m||ye(m,c)&&!m?.hasAttribute("data-base-ui-portal"):!0}return!1},escapeKey:d});ei(o&&i===!0,c),e.useContextCallback("onNestedDialogOpen",(R,w)=>{a(R),g(w)}),e.useContextCallback("onNestedDialogClose",()=>{a(0),g(0)}),l.useEffect(()=>(n?.onNestedDialogOpen&&o&&n.onNestedDialogOpen(u+1,f+(r?1:0)),n?.onNestedDialogClose&&!o&&n.onNestedDialogClose(),()=>{n?.onNestedDialogClose&&o&&n.onNestedDialogClose()}),[r,o,u,f,n]);const b=h.reference??Fe,x=h.trigger??Fe,y=l.useMemo(()=>Lt(zr,h.floating),[h.floating]);return Ra(e,{activeTriggerProps:b,inactiveTriggerProps:x,popupProps:y,nestedOpenDialogCount:u,nestedOpenDrawerCount:f}),null}const qu={...Oa,modal:U(e=>e.modal),nested:U(e=>e.nested),nestedOpenDialogCount:U(e=>e.nestedOpenDialogCount),nestedOpenDrawerCount:U(e=>e.nestedOpenDrawerCount),disablePointerDismissal:U(e=>e.disablePointerDismissal),openMethod:U(e=>e.openMethod),descriptionElementId:U(e=>e.descriptionElementId),titleElementId:U(e=>e.titleElementId),viewportElement:U(e=>e.viewportElement),role:U(e=>e.role)};class qr extends ws{constructor(t,n,r=!1){const o=new Kr,s=Xu(t);s.floatingRootContext=va(o,n,r),super(s,{popupRef:l.createRef(),backdropRef:l.createRef(),internalBackdropRef:l.createRef(),outsidePressEnabledRef:{current:!0},triggerElements:o,onOpenChange:void 0,onOpenChangeComplete:void 0},qu)}setOpen=(t,n)=>{if(n.preventUnmountOnClose=()=>{this.set("preventUnmountingOnClose",!0)},!t&&n.trigger==null&&this.state.activeTriggerId!=null&&(n.trigger=this.state.activeTriggerElement??void 0),this.context.onOpenChange?.(t,n),n.isCanceled)return;this.state.floatingRootContext.dispatchOpenChange(t,n);const r={open:t};ya(r,t,n.trigger),this.update(r)};static useStore(t,n){return ha(t,(o,s)=>new qr(n,o,s),!0).store}}function Xu(e={}){return{...Ea(),modal:!0,disablePointerDismissal:!1,popupElement:null,viewportElement:null,descriptionElementId:void 0,titleElementId:void 0,openMethod:null,nested:!1,nestedOpenDialogCount:0,nestedOpenDrawerCount:0,role:"dialog",...e}}function Zu(e,t="dialog"){const{children:n,open:r,defaultOpen:o=!1,onOpenChange:s,onOpenChangeComplete:i,disablePointerDismissal:c=!1,modal:p=!0,actionsRef:u,handle:a,triggerId:f,defaultTriggerId:g=null}=e,d=t==="drawer",h=t==="alert-dialog",b=h?!0:p,x=h||c,y=h?"alertdialog":"dialog",R=Mt(!0),m={modal:b,disablePointerDismissal:x,nested:!!R,role:y},S=qr.useStore(a?.store,{open:o,openProp:r,activeTriggerId:g,triggerIdProp:f,...m});bs(()=>{const I=r===void 0&&S.state.open===!1&&o===!0?{open:!0,activeTriggerId:g}:null;h?S.update(I?{...m,...I}:m):I&&S.update(I)}),S.useControlledProp("openProp",r),S.useControlledProp("triggerIdProp",f),S.useSyncedValues(m),S.useContextCallback("onOpenChange",s),S.useContextCallback("onOpenChangeComplete",i);const T=S.useState("open"),E=S.useState("mounted"),k=S.useState("payload"),D=Ku({store:S,actionsRef:u,parentContext:R?.store.context,isDrawer:d}),P=T||E,H=l.useMemo(()=>({store:S}),[S]);return M.jsx(ni.Provider,{value:!1,children:M.jsxs(ri.Provider,{value:H,children:[P&&M.jsx(Gu,{store:S,dialogRoot:D}),typeof n=="function"?n({payload:k}):n]})})}function Ju(e){const t=l.useContext(ni)?"drawer":"dialog";return Zu(e,t)}const Qu=l.forwardRef(function(t,n){const{render:r,className:o,style:s,id:i,...c}=t,{store:p}=Mt(),u=$n(i);return p.useSyncedValueWithCleanup("titleElementId",u),Xe("h2",t,{ref:n,props:[{id:u},c]})}),ef=l.forwardRef(function(t,n){const{render:r,className:o,style:s,disabled:i=!1,nativeButton:c=!0,id:p,payload:u,handle:a,...f}=t,g=Mt(!0),d=a?.store??g?.store;if(!d)throw new Error(at(79));const h=$n(p),b=d.useState("floatingRootContext"),x=d.useState("isOpenedByTrigger",h),y=d.useState("triggerPopupId",h),R=l.useRef(null),{registerTrigger:w,isMountedByThisTrigger:m}=ba(h,R,d,{payload:u}),{getButtonProps:S,buttonRef:T}=Un({disabled:i,native:c}),E=Os(b,{enabled:b!=null}),k=zs(()=>d.select("open"),H=>{d.set("openMethod",H)}),D={disabled:i,open:x},P=d.useState("triggerProps",m);return Xe("button",t,{state:D,ref:[T,n,w,R],props:[E.reference,P,k,{[Ss]:"",id:h,"aria-haspopup":"dialog","aria-expanded":x,"aria-controls":y},f,S],stateAttributesMapping:Gs})});function tf(e){return M.jsxs(zu,{children:[M.jsx(ju,{className:"fixed inset-0 z-40 bg-black/60 transition-opacity duration-150 data-[ending-style]:opacity-0 data-[starting-style]:opacity-0"}),M.jsx(Yu,{className:"fixed left-1/2 top-1/2 z-50 w-[calc(100vw-2rem)] max-w-md -translate-x-1/2 -translate-y-1/2 border border-border bg-surface p-6 shadow-lg outline-none transition-opacity duration-150 data-[ending-style]:opacity-0 data-[starting-style]:opacity-0",children:e.children})]})}function nf(e){return M.jsx(Qu,{className:"text-heading-20 text-foreground",...e})}function rf(e){return M.jsx(Hu,{className:"mt-1 text-copy-14 text-foreground-secondary",...e})}const yf={Close:Bu,Description:rf,Popup:tf,Root:Ju,Title:nf,Trigger:ef};export{Yn as A,Ar as B,hf as C,yf as D,Fe as E,En as F,ct as I,mf as N,gf as P,pf as S,ff as T,uf as a,lf as b,af as c,$n as d,K as e,Vi as f,at as g,nl as h,Nr as i,Xo as j,lt as k,Un as l,oo as m,_e as n,el as o,Ut as p,ys as q,Lt as r,Xe as s,ke as t,df as u,Si as v,Ho as w,Le as x,Pr as y,Qo as z};\n',
18
+ contentType: 'text/javascript; charset=utf-8',
19
+ },
20
+ 'assets/index-CPTihwDe.js': {
21
+ content: 'const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./verified-tokens-CfssiQMy.js","./Dialog-B2J1eXqU.js","./api-keys-DHRHPJxd.js"])))=>i.map(i=>d[i]);\nfunction hE(e,t){for(var n=0;n<t.length;n++){const a=t[n];if(typeof a!="string"&&!Array.isArray(a)){for(const s in a)if(s!=="default"&&!(s in e)){const u=Object.getOwnPropertyDescriptor(a,s);u&&Object.defineProperty(e,s,u.get?u:{enumerable:!0,get:()=>a[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}function y5(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var gh={exports:{}},Xo={};var jv;function pE(){if(jv)return Xo;jv=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(a,s,u){var l=null;if(u!==void 0&&(l=""+u),s.key!==void 0&&(l=""+s.key),"key"in s){u={};for(var f in s)f!=="key"&&(u[f]=s[f])}else u=s;return s=u.ref,{$$typeof:e,type:a,key:l,ref:s!==void 0?s:null,props:u}}return Xo.Fragment=t,Xo.jsx=n,Xo.jsxs=n,Xo}var Dv;function yE(){return Dv||(Dv=1,gh.exports=pE()),gh.exports}var V=yE(),vh={exports:{}},ve={};var Hv;function mE(){if(Hv)return ve;Hv=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),l=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),b=Symbol.for("react.activity"),g=Symbol.iterator;function v(N){return N===null||typeof N!="object"?null:(N=g&&N[g]||N["@@iterator"],typeof N=="function"?N:null)}var x={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},S=Object.assign,E={};function R(N,Y,se){this.props=N,this.context=Y,this.refs=E,this.updater=se||x}R.prototype.isReactComponent={},R.prototype.setState=function(N,Y){if(typeof N!="object"&&typeof N!="function"&&N!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,N,Y,"setState")},R.prototype.forceUpdate=function(N){this.updater.enqueueForceUpdate(this,N,"forceUpdate")};function z(){}z.prototype=R.prototype;function M(N,Y,se){this.props=N,this.context=Y,this.refs=E,this.updater=se||x}var _=M.prototype=new z;_.constructor=M,S(_,R.prototype),_.isPureReactComponent=!0;var C=Array.isArray;function B(){}var O={H:null,A:null,T:null,S:null},I=Object.prototype.hasOwnProperty;function U(N,Y,se){var ae=se.ref;return{$$typeof:e,type:N,key:Y,ref:ae!==void 0?ae:null,props:se}}function D(N,Y){return U(N.type,Y,N.props)}function Q(N){return typeof N=="object"&&N!==null&&N.$$typeof===e}function X(N){var Y={"=":"=0",":":"=2"};return"$"+N.replace(/[=:]/g,function(se){return Y[se]})}var te=/\\/+/g;function ue(N,Y){return typeof N=="object"&&N!==null&&N.key!=null?X(""+N.key):Y.toString(36)}function W(N){switch(N.status){case"fulfilled":return N.value;case"rejected":throw N.reason;default:switch(typeof N.status=="string"?N.then(B,B):(N.status="pending",N.then(function(Y){N.status==="pending"&&(N.status="fulfilled",N.value=Y)},function(Y){N.status==="pending"&&(N.status="rejected",N.reason=Y)})),N.status){case"fulfilled":return N.value;case"rejected":throw N.reason}}throw N}function $(N,Y,se,ae,le){var ge=typeof N;(ge==="undefined"||ge==="boolean")&&(N=null);var we=!1;if(N===null)we=!0;else switch(ge){case"bigint":case"string":case"number":we=!0;break;case"object":switch(N.$$typeof){case e:case t:we=!0;break;case m:return we=N._init,$(we(N._payload),Y,se,ae,le)}}if(we)return le=le(N),we=ae===""?"."+ue(N,0):ae,C(le)?(se="",we!=null&&(se=we.replace(te,"$&/")+"/"),$(le,Y,se,"",function(Tt){return Tt})):le!=null&&(Q(le)&&(le=D(le,se+(le.key==null||N&&N.key===le.key?"":(""+le.key).replace(te,"$&/")+"/")+we)),Y.push(le)),1;we=0;var Fe=ae===""?".":ae+":";if(C(N))for(var Ce=0;Ce<N.length;Ce++)ae=N[Ce],ge=Fe+ue(ae,Ce),we+=$(ae,Y,se,ge,le);else if(Ce=v(N),typeof Ce=="function")for(N=Ce.call(N),Ce=0;!(ae=N.next()).done;)ae=ae.value,ge=Fe+ue(ae,Ce++),we+=$(ae,Y,se,ge,le);else if(ge==="object"){if(typeof N.then=="function")return $(W(N),Y,se,ae,le);throw Y=String(N),Error("Objects are not valid as a React child (found: "+(Y==="[object Object]"?"object with keys {"+Object.keys(N).join(", ")+"}":Y)+"). If you meant to render a collection of children, use an array instead.")}return we}function G(N,Y,se){if(N==null)return N;var ae=[],le=0;return $(N,ae,"","",function(ge){return Y.call(se,ge,le++)}),ae}function ne(N){if(N._status===-1){var Y=N._result;Y=Y(),Y.then(function(se){(N._status===0||N._status===-1)&&(N._status=1,N._result=se)},function(se){(N._status===0||N._status===-1)&&(N._status=2,N._result=se)}),N._status===-1&&(N._status=0,N._result=Y)}if(N._status===1)return N._result.default;throw N._result}var ce=typeof reportError=="function"?reportError:function(N){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Y=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof N=="object"&&N!==null&&typeof N.message=="string"?String(N.message):String(N),error:N});if(!window.dispatchEvent(Y))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",N);return}console.error(N)},fe={map:G,forEach:function(N,Y,se){G(N,function(){Y.apply(this,arguments)},se)},count:function(N){var Y=0;return G(N,function(){Y++}),Y},toArray:function(N){return G(N,function(Y){return Y})||[]},only:function(N){if(!Q(N))throw Error("React.Children.only expected to receive a single React element child.");return N}};return ve.Activity=b,ve.Children=fe,ve.Component=R,ve.Fragment=n,ve.Profiler=s,ve.PureComponent=M,ve.StrictMode=a,ve.Suspense=d,ve.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=O,ve.__COMPILER_RUNTIME={__proto__:null,c:function(N){return O.H.useMemoCache(N)}},ve.cache=function(N){return function(){return N.apply(null,arguments)}},ve.cacheSignal=function(){return null},ve.cloneElement=function(N,Y,se){if(N==null)throw Error("The argument must be a React element, but you passed "+N+".");var ae=S({},N.props),le=N.key;if(Y!=null)for(ge in Y.key!==void 0&&(le=""+Y.key),Y)!I.call(Y,ge)||ge==="key"||ge==="__self"||ge==="__source"||ge==="ref"&&Y.ref===void 0||(ae[ge]=Y[ge]);var ge=arguments.length-2;if(ge===1)ae.children=se;else if(1<ge){for(var we=Array(ge),Fe=0;Fe<ge;Fe++)we[Fe]=arguments[Fe+2];ae.children=we}return U(N.type,le,ae)},ve.createContext=function(N){return N={$$typeof:l,_currentValue:N,_currentValue2:N,_threadCount:0,Provider:null,Consumer:null},N.Provider=N,N.Consumer={$$typeof:u,_context:N},N},ve.createElement=function(N,Y,se){var ae,le={},ge=null;if(Y!=null)for(ae in Y.key!==void 0&&(ge=""+Y.key),Y)I.call(Y,ae)&&ae!=="key"&&ae!=="__self"&&ae!=="__source"&&(le[ae]=Y[ae]);var we=arguments.length-2;if(we===1)le.children=se;else if(1<we){for(var Fe=Array(we),Ce=0;Ce<we;Ce++)Fe[Ce]=arguments[Ce+2];le.children=Fe}if(N&&N.defaultProps)for(ae in we=N.defaultProps,we)le[ae]===void 0&&(le[ae]=we[ae]);return U(N,ge,le)},ve.createRef=function(){return{current:null}},ve.forwardRef=function(N){return{$$typeof:f,render:N}},ve.isValidElement=Q,ve.lazy=function(N){return{$$typeof:m,_payload:{_status:-1,_result:N},_init:ne}},ve.memo=function(N,Y){return{$$typeof:p,type:N,compare:Y===void 0?null:Y}},ve.startTransition=function(N){var Y=O.T,se={};O.T=se;try{var ae=N(),le=O.S;le!==null&&le(se,ae),typeof ae=="object"&&ae!==null&&typeof ae.then=="function"&&ae.then(B,ce)}catch(ge){ce(ge)}finally{Y!==null&&se.types!==null&&(Y.types=se.types),O.T=Y}},ve.unstable_useCacheRefresh=function(){return O.H.useCacheRefresh()},ve.use=function(N){return O.H.use(N)},ve.useActionState=function(N,Y,se){return O.H.useActionState(N,Y,se)},ve.useCallback=function(N,Y){return O.H.useCallback(N,Y)},ve.useContext=function(N){return O.H.useContext(N)},ve.useDebugValue=function(){},ve.useDeferredValue=function(N,Y){return O.H.useDeferredValue(N,Y)},ve.useEffect=function(N,Y){return O.H.useEffect(N,Y)},ve.useEffectEvent=function(N){return O.H.useEffectEvent(N)},ve.useId=function(){return O.H.useId()},ve.useImperativeHandle=function(N,Y,se){return O.H.useImperativeHandle(N,Y,se)},ve.useInsertionEffect=function(N,Y){return O.H.useInsertionEffect(N,Y)},ve.useLayoutEffect=function(N,Y){return O.H.useLayoutEffect(N,Y)},ve.useMemo=function(N,Y){return O.H.useMemo(N,Y)},ve.useOptimistic=function(N,Y){return O.H.useOptimistic(N,Y)},ve.useReducer=function(N,Y,se){return O.H.useReducer(N,Y,se)},ve.useRef=function(N){return O.H.useRef(N)},ve.useState=function(N){return O.H.useState(N)},ve.useSyncExternalStore=function(N,Y,se){return O.H.useSyncExternalStore(N,Y,se)},ve.useTransition=function(){return O.H.useTransition()},ve.version="19.2.7",ve}var Fv;function Qu(){return Fv||(Fv=1,vh.exports=mE()),vh.exports}var re=Qu();const Ns=y5(re),nk=hE({__proto__:null,default:Ns},[re]);var wh={exports:{}},Jo={},xh={exports:{}},Sh={};var qv;function bE(){return qv||(qv=1,(function(e){function t($,G){var ne=$.length;$.push(G);e:for(;0<ne;){var ce=ne-1>>>1,fe=$[ce];if(0<s(fe,G))$[ce]=G,$[ne]=fe,ne=ce;else break e}}function n($){return $.length===0?null:$[0]}function a($){if($.length===0)return null;var G=$[0],ne=$.pop();if(ne!==G){$[0]=ne;e:for(var ce=0,fe=$.length,N=fe>>>1;ce<N;){var Y=2*(ce+1)-1,se=$[Y],ae=Y+1,le=$[ae];if(0>s(se,ne))ae<fe&&0>s(le,se)?($[ce]=le,$[ae]=ne,ce=ae):($[ce]=se,$[Y]=ne,ce=Y);else if(ae<fe&&0>s(le,ne))$[ce]=le,$[ae]=ne,ce=ae;else break e}}return G}function s($,G){var ne=$.sortIndex-G.sortIndex;return ne!==0?ne:$.id-G.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var u=performance;e.unstable_now=function(){return u.now()}}else{var l=Date,f=l.now();e.unstable_now=function(){return l.now()-f}}var d=[],p=[],m=1,b=null,g=3,v=!1,x=!1,S=!1,E=!1,R=typeof setTimeout=="function"?setTimeout:null,z=typeof clearTimeout=="function"?clearTimeout:null,M=typeof setImmediate<"u"?setImmediate:null;function _($){for(var G=n(p);G!==null;){if(G.callback===null)a(p);else if(G.startTime<=$)a(p),G.sortIndex=G.expirationTime,t(d,G);else break;G=n(p)}}function C($){if(S=!1,_($),!x)if(n(d)!==null)x=!0,B||(B=!0,X());else{var G=n(p);G!==null&&W(C,G.startTime-$)}}var B=!1,O=-1,I=5,U=-1;function D(){return E?!0:!(e.unstable_now()-U<I)}function Q(){if(E=!1,B){var $=e.unstable_now();U=$;var G=!0;try{e:{x=!1,S&&(S=!1,z(O),O=-1),v=!0;var ne=g;try{t:{for(_($),b=n(d);b!==null&&!(b.expirationTime>$&&D());){var ce=b.callback;if(typeof ce=="function"){b.callback=null,g=b.priorityLevel;var fe=ce(b.expirationTime<=$);if($=e.unstable_now(),typeof fe=="function"){b.callback=fe,_($),G=!0;break t}b===n(d)&&a(d),_($)}else a(d);b=n(d)}if(b!==null)G=!0;else{var N=n(p);N!==null&&W(C,N.startTime-$),G=!1}}break e}finally{b=null,g=ne,v=!1}G=void 0}}finally{G?X():B=!1}}}var X;if(typeof M=="function")X=function(){M(Q)};else if(typeof MessageChannel<"u"){var te=new MessageChannel,ue=te.port2;te.port1.onmessage=Q,X=function(){ue.postMessage(null)}}else X=function(){R(Q,0)};function W($,G){O=R(function(){$(e.unstable_now())},G)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function($){$.callback=null},e.unstable_forceFrameRate=function($){0>$||125<$?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):I=0<$?Math.floor(1e3/$):5},e.unstable_getCurrentPriorityLevel=function(){return g},e.unstable_next=function($){switch(g){case 1:case 2:case 3:var G=3;break;default:G=g}var ne=g;g=G;try{return $()}finally{g=ne}},e.unstable_requestPaint=function(){E=!0},e.unstable_runWithPriority=function($,G){switch($){case 1:case 2:case 3:case 4:case 5:break;default:$=3}var ne=g;g=$;try{return G()}finally{g=ne}},e.unstable_scheduleCallback=function($,G,ne){var ce=e.unstable_now();switch(typeof ne=="object"&&ne!==null?(ne=ne.delay,ne=typeof ne=="number"&&0<ne?ce+ne:ce):ne=ce,$){case 1:var fe=-1;break;case 2:fe=250;break;case 5:fe=1073741823;break;case 4:fe=1e4;break;default:fe=5e3}return fe=ne+fe,$={id:m++,callback:G,priorityLevel:$,startTime:ne,expirationTime:fe,sortIndex:-1},ne>ce?($.sortIndex=ne,t(p,$),n(d)===null&&$===n(p)&&(S?(z(O),O=-1):S=!0,W(C,ne-ce))):($.sortIndex=fe,t(d,$),x||v||(x=!0,B||(B=!0,X()))),$},e.unstable_shouldYield=D,e.unstable_wrapCallback=function($){var G=g;return function(){var ne=g;g=G;try{return $.apply(this,arguments)}finally{g=ne}}}})(Sh)),Sh}var Gv;function gE(){return Gv||(Gv=1,xh.exports=bE()),xh.exports}var Eh={exports:{}},Ct={};var Vv;function vE(){if(Vv)return Ct;Vv=1;var e=Qu();function t(d){var p="https://react.dev/errors/"+d;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var m=2;m<arguments.length;m++)p+="&args[]="+encodeURIComponent(arguments[m])}return"Minified React error #"+d+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var a={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},s=Symbol.for("react.portal");function u(d,p,m){var b=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:b==null?null:""+b,children:d,containerInfo:p,implementation:m}}var l=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function f(d,p){if(d==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return Ct.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,Ct.createPortal=function(d,p){var m=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(t(299));return u(d,p,null,m)},Ct.flushSync=function(d){var p=l.T,m=a.p;try{if(l.T=null,a.p=2,d)return d()}finally{l.T=p,a.p=m,a.d.f()}},Ct.preconnect=function(d,p){typeof d=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,a.d.C(d,p))},Ct.prefetchDNS=function(d){typeof d=="string"&&a.d.D(d)},Ct.preinit=function(d,p){if(typeof d=="string"&&p&&typeof p.as=="string"){var m=p.as,b=f(m,p.crossOrigin),g=typeof p.integrity=="string"?p.integrity:void 0,v=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;m==="style"?a.d.S(d,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:b,integrity:g,fetchPriority:v}):m==="script"&&a.d.X(d,{crossOrigin:b,integrity:g,fetchPriority:v,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},Ct.preinitModule=function(d,p){if(typeof d=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var m=f(p.as,p.crossOrigin);a.d.M(d,{crossOrigin:m,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&a.d.M(d)},Ct.preload=function(d,p){if(typeof d=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var m=p.as,b=f(m,p.crossOrigin);a.d.L(d,m,{crossOrigin:b,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},Ct.preloadModule=function(d,p){if(typeof d=="string")if(p){var m=f(p.as,p.crossOrigin);a.d.m(d,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:m,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else a.d.m(d)},Ct.requestFormReset=function(d){a.d.r(d)},Ct.unstable_batchedUpdates=function(d,p){return d(p)},Ct.useFormState=function(d,p,m){return l.H.useFormState(d,p,m)},Ct.useFormStatus=function(){return l.H.useHostTransitionStatus()},Ct.version="19.2.7",Ct}var Kv;function m5(){if(Kv)return Eh.exports;Kv=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Eh.exports=vE(),Eh.exports}var Qv;function wE(){if(Qv)return Jo;Qv=1;var e=gE(),t=Qu(),n=m5();function a(r){var i="https://react.dev/errors/"+r;if(1<arguments.length){i+="?args[]="+encodeURIComponent(arguments[1]);for(var o=2;o<arguments.length;o++)i+="&args[]="+encodeURIComponent(arguments[o])}return"Minified React error #"+r+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)}function u(r){var i=r,o=r;if(r.alternate)for(;i.return;)i=i.return;else{r=i;do i=r,(i.flags&4098)!==0&&(o=i.return),r=i.return;while(r)}return i.tag===3?o:null}function l(r){if(r.tag===13){var i=r.memoizedState;if(i===null&&(r=r.alternate,r!==null&&(i=r.memoizedState)),i!==null)return i.dehydrated}return null}function f(r){if(r.tag===31){var i=r.memoizedState;if(i===null&&(r=r.alternate,r!==null&&(i=r.memoizedState)),i!==null)return i.dehydrated}return null}function d(r){if(u(r)!==r)throw Error(a(188))}function p(r){var i=r.alternate;if(!i){if(i=u(r),i===null)throw Error(a(188));return i!==r?null:r}for(var o=r,c=i;;){var h=o.return;if(h===null)break;var y=h.alternate;if(y===null){if(c=h.return,c!==null){o=c;continue}break}if(h.child===y.child){for(y=h.child;y;){if(y===o)return d(h),r;if(y===c)return d(h),i;y=y.sibling}throw Error(a(188))}if(o.return!==c.return)o=h,c=y;else{for(var w=!1,A=h.child;A;){if(A===o){w=!0,o=h,c=y;break}if(A===c){w=!0,c=h,o=y;break}A=A.sibling}if(!w){for(A=y.child;A;){if(A===o){w=!0,o=y,c=h;break}if(A===c){w=!0,c=y,o=h;break}A=A.sibling}if(!w)throw Error(a(189))}}if(o.alternate!==c)throw Error(a(190))}if(o.tag!==3)throw Error(a(188));return o.stateNode.current===o?r:i}function m(r){var i=r.tag;if(i===5||i===26||i===27||i===6)return r;for(r=r.child;r!==null;){if(i=m(r),i!==null)return i;r=r.sibling}return null}var b=Object.assign,g=Symbol.for("react.element"),v=Symbol.for("react.transitional.element"),x=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),z=Symbol.for("react.consumer"),M=Symbol.for("react.context"),_=Symbol.for("react.forward_ref"),C=Symbol.for("react.suspense"),B=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),I=Symbol.for("react.lazy"),U=Symbol.for("react.activity"),D=Symbol.for("react.memo_cache_sentinel"),Q=Symbol.iterator;function X(r){return r===null||typeof r!="object"?null:(r=Q&&r[Q]||r["@@iterator"],typeof r=="function"?r:null)}var te=Symbol.for("react.client.reference");function ue(r){if(r==null)return null;if(typeof r=="function")return r.$$typeof===te?null:r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case S:return"Fragment";case R:return"Profiler";case E:return"StrictMode";case C:return"Suspense";case B:return"SuspenseList";case U:return"Activity"}if(typeof r=="object")switch(r.$$typeof){case x:return"Portal";case M:return r.displayName||"Context";case z:return(r._context.displayName||"Context")+".Consumer";case _:var i=r.render;return r=r.displayName,r||(r=i.displayName||i.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case O:return i=r.displayName||null,i!==null?i:ue(r.type)||"Memo";case I:i=r._payload,r=r._init;try{return ue(r(i))}catch{}}return null}var W=Array.isArray,$=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,G=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ne={pending:!1,data:null,method:null,action:null},ce=[],fe=-1;function N(r){return{current:r}}function Y(r){0>fe||(r.current=ce[fe],ce[fe]=null,fe--)}function se(r,i){fe++,ce[fe]=r.current,r.current=i}var ae=N(null),le=N(null),ge=N(null),we=N(null);function Fe(r,i){switch(se(ge,i),se(le,r),se(ae,null),i.nodeType){case 9:case 11:r=(r=i.documentElement)&&(r=r.namespaceURI)?cv(r):0;break;default:if(r=i.tagName,i=i.namespaceURI)i=cv(i),r=lv(i,r);else switch(r){case"svg":r=1;break;case"math":r=2;break;default:r=0}}Y(ae),se(ae,r)}function Ce(){Y(ae),Y(le),Y(ge)}function Tt(r){r.memoizedState!==null&&se(we,r);var i=ae.current,o=lv(i,r.type);i!==o&&(se(le,r),se(ae,o))}function en(r){le.current===r&&(Y(ae),Y(le)),we.current===r&&(Y(we),Ko._currentValue=ne)}var Ut,tn;function Mt(r){if(Ut===void 0)try{throw Error()}catch(o){var i=o.stack.trim().match(/\\n( *(at )?)/);Ut=i&&i[1]||"",tn=-1<o.stack.indexOf(`\n at`)?" (<anonymous>)":-1<o.stack.indexOf("@")?"@unknown:0:0":""}return`\n`+Ut+r+tn}var pn=!1;function Xn(r,i){if(!r||pn)return"";pn=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var c={DetermineComponentFrameRoot:function(){try{if(i){var ee=function(){throw Error()};if(Object.defineProperty(ee.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ee,[])}catch(K){var q=K}Reflect.construct(r,[],ee)}else{try{ee.call()}catch(K){q=K}r.call(ee.prototype)}}else{try{throw Error()}catch(K){q=K}(ee=r())&&typeof ee.catch=="function"&&ee.catch(function(){})}}catch(K){if(K&&q&&typeof K.stack=="string")return[K.stack,q.stack]}return[null,null]}};c.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var h=Object.getOwnPropertyDescriptor(c.DetermineComponentFrameRoot,"name");h&&h.configurable&&Object.defineProperty(c.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var y=c.DetermineComponentFrameRoot(),w=y[0],A=y[1];if(w&&A){var L=w.split(`\n`),F=A.split(`\n`);for(h=c=0;c<L.length&&!L[c].includes("DetermineComponentFrameRoot");)c++;for(;h<F.length&&!F[h].includes("DetermineComponentFrameRoot");)h++;if(c===L.length||h===F.length)for(c=L.length-1,h=F.length-1;1<=c&&0<=h&&L[c]!==F[h];)h--;for(;1<=c&&0<=h;c--,h--)if(L[c]!==F[h]){if(c!==1||h!==1)do if(c--,h--,0>h||L[c]!==F[h]){var Z=`\n`+L[c].replace(" at new "," at ");return r.displayName&&Z.includes("<anonymous>")&&(Z=Z.replace("<anonymous>",r.displayName)),Z}while(1<=c&&0<=h);break}}}finally{pn=!1,Error.prepareStackTrace=o}return(o=r?r.displayName||r.name:"")?Mt(o):""}function oc(r,i){switch(r.tag){case 26:case 27:case 5:return Mt(r.type);case 16:return Mt("Lazy");case 13:return r.child!==i&&i!==null?Mt("Suspense Fallback"):Mt("Suspense");case 19:return Mt("SuspenseList");case 0:case 15:return Xn(r.type,!1);case 11:return Xn(r.type.render,!1);case 1:return Xn(r.type,!0);case 31:return Mt("Activity");default:return""}}function Jn(r){try{var i="",o=null;do i+=oc(r,o),o=r,r=r.return;while(r);return i}catch(c){return`\nError generating stack: `+c.message+`\n`+c.stack}}var Ui=Object.prototype.hasOwnProperty,On=e.unstable_scheduleCallback,ro=e.unstable_cancelCallback,uc=e.unstable_shouldYield,ad=e.unstable_requestPaint,Rt=e.unstable_now,He=e.unstable_getCurrentPriorityLevel,bt=e.unstable_ImmediatePriority,Un=e.unstable_UserBlockingPriority,Oa=e.unstable_NormalPriority,QS=e.unstable_LowPriority,Fm=e.unstable_IdlePriority,YS=e.log,ZS=e.unstable_setDisableYieldValue,io=null,nn=null;function Dr(r){if(typeof YS=="function"&&ZS(r),nn&&typeof nn.setStrictMode=="function")try{nn.setStrictMode(io,r)}catch{}}var rn=Math.clz32?Math.clz32:WS,XS=Math.log,JS=Math.LN2;function WS(r){return r>>>=0,r===0?32:31-(XS(r)/JS|0)|0}var cc=256,lc=262144,fc=4194304;function ji(r){var i=r&42;if(i!==0)return i;switch(r&-r){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return r&261888;case 262144:case 524288:case 1048576:case 2097152:return r&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return r&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return r}}function dc(r,i,o){var c=r.pendingLanes;if(c===0)return 0;var h=0,y=r.suspendedLanes,w=r.pingedLanes;r=r.warmLanes;var A=c&134217727;return A!==0?(c=A&~y,c!==0?h=ji(c):(w&=A,w!==0?h=ji(w):o||(o=A&~r,o!==0&&(h=ji(o))))):(A=c&~y,A!==0?h=ji(A):w!==0?h=ji(w):o||(o=c&~r,o!==0&&(h=ji(o)))),h===0?0:i!==0&&i!==h&&(i&y)===0&&(y=h&-h,o=i&-i,y>=o||y===32&&(o&4194048)!==0)?i:h}function ao(r,i){return(r.pendingLanes&~(r.suspendedLanes&~r.pingedLanes)&i)===0}function e8(r,i){switch(r){case 1:case 2:case 4:case 8:case 64:return i+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return i+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function qm(){var r=fc;return fc<<=1,(fc&62914560)===0&&(fc=4194304),r}function sd(r){for(var i=[],o=0;31>o;o++)i.push(r);return i}function so(r,i){r.pendingLanes|=i,i!==268435456&&(r.suspendedLanes=0,r.pingedLanes=0,r.warmLanes=0)}function t8(r,i,o,c,h,y){var w=r.pendingLanes;r.pendingLanes=o,r.suspendedLanes=0,r.pingedLanes=0,r.warmLanes=0,r.expiredLanes&=o,r.entangledLanes&=o,r.errorRecoveryDisabledLanes&=o,r.shellSuspendCounter=0;var A=r.entanglements,L=r.expirationTimes,F=r.hiddenUpdates;for(o=w&~o;0<o;){var Z=31-rn(o),ee=1<<Z;A[Z]=0,L[Z]=-1;var q=F[Z];if(q!==null)for(F[Z]=null,Z=0;Z<q.length;Z++){var K=q[Z];K!==null&&(K.lane&=-536870913)}o&=~ee}c!==0&&Gm(r,c,0),y!==0&&h===0&&r.tag!==0&&(r.suspendedLanes|=y&~(w&~i))}function Gm(r,i,o){r.pendingLanes|=i,r.suspendedLanes&=~i;var c=31-rn(i);r.entangledLanes|=i,r.entanglements[c]=r.entanglements[c]|1073741824|o&261930}function Vm(r,i){var o=r.entangledLanes|=i;for(r=r.entanglements;o;){var c=31-rn(o),h=1<<c;h&i|r[c]&i&&(r[c]|=i),o&=~h}}function Km(r,i){var o=i&-i;return o=(o&42)!==0?1:od(o),(o&(r.suspendedLanes|i))!==0?0:o}function od(r){switch(r){case 2:r=1;break;case 8:r=4;break;case 32:r=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:r=128;break;case 268435456:r=134217728;break;default:r=0}return r}function ud(r){return r&=-r,2<r?8<r?(r&134217727)!==0?32:268435456:8:2}function Qm(){var r=G.p;return r!==0?r:(r=window.event,r===void 0?32:Bv(r.type))}function Ym(r,i){var o=G.p;try{return G.p=r,i()}finally{G.p=o}}var Hr=Math.random().toString(36).slice(2),gt="__reactFiber$"+Hr,jt="__reactProps$"+Hr,Pa="__reactContainer$"+Hr,cd="__reactEvents$"+Hr,n8="__reactListeners$"+Hr,r8="__reactHandles$"+Hr,Zm="__reactResources$"+Hr,oo="__reactMarker$"+Hr;function ld(r){delete r[gt],delete r[jt],delete r[cd],delete r[n8],delete r[r8]}function za(r){var i=r[gt];if(i)return i;for(var o=r.parentNode;o;){if(i=o[Pa]||o[gt]){if(o=i.alternate,i.child!==null||o!==null&&o.child!==null)for(r=bv(r);r!==null;){if(o=r[gt])return o;r=bv(r)}return i}r=o,o=r.parentNode}return null}function Ba(r){if(r=r[gt]||r[Pa]){var i=r.tag;if(i===5||i===6||i===13||i===31||i===26||i===27||i===3)return r}return null}function uo(r){var i=r.tag;if(i===5||i===26||i===27||i===6)return r.stateNode;throw Error(a(33))}function Ia(r){var i=r[Zm];return i||(i=r[Zm]={hoistableStyles:new Map,hoistableScripts:new Map}),i}function ht(r){r[oo]=!0}var Xm=new Set,Jm={};function Di(r,i){Na(r,i),Na(r+"Capture",i)}function Na(r,i){for(Jm[r]=i,r=0;r<i.length;r++)Xm.add(i[r])}var i8=RegExp("^[:A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD][:A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD\\\\-.0-9\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040]*$"),Wm={},eb={};function a8(r){return Ui.call(eb,r)?!0:Ui.call(Wm,r)?!1:i8.test(r)?eb[r]=!0:(Wm[r]=!0,!1)}function hc(r,i,o){if(a8(i))if(o===null)r.removeAttribute(i);else{switch(typeof o){case"undefined":case"function":case"symbol":r.removeAttribute(i);return;case"boolean":var c=i.toLowerCase().slice(0,5);if(c!=="data-"&&c!=="aria-"){r.removeAttribute(i);return}}r.setAttribute(i,""+o)}}function pc(r,i,o){if(o===null)r.removeAttribute(i);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":r.removeAttribute(i);return}r.setAttribute(i,""+o)}}function Wn(r,i,o,c){if(c===null)r.removeAttribute(o);else{switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":r.removeAttribute(o);return}r.setAttributeNS(i,o,""+c)}}function yn(r){switch(typeof r){case"bigint":case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function tb(r){var i=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function s8(r,i,o){var c=Object.getOwnPropertyDescriptor(r.constructor.prototype,i);if(!r.hasOwnProperty(i)&&typeof c<"u"&&typeof c.get=="function"&&typeof c.set=="function"){var h=c.get,y=c.set;return Object.defineProperty(r,i,{configurable:!0,get:function(){return h.call(this)},set:function(w){o=""+w,y.call(this,w)}}),Object.defineProperty(r,i,{enumerable:c.enumerable}),{getValue:function(){return o},setValue:function(w){o=""+w},stopTracking:function(){r._valueTracker=null,delete r[i]}}}}function fd(r){if(!r._valueTracker){var i=tb(r)?"checked":"value";r._valueTracker=s8(r,i,""+r[i])}}function nb(r){if(!r)return!1;var i=r._valueTracker;if(!i)return!0;var o=i.getValue(),c="";return r&&(c=tb(r)?r.checked?"true":"false":r.value),r=c,r!==o?(i.setValue(r),!0):!1}function yc(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}var o8=/[\\n"\\\\]/g;function mn(r){return r.replace(o8,function(i){return"\\\\"+i.charCodeAt(0).toString(16)+" "})}function dd(r,i,o,c,h,y,w,A){r.name="",w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"?r.type=w:r.removeAttribute("type"),i!=null?w==="number"?(i===0&&r.value===""||r.value!=i)&&(r.value=""+yn(i)):r.value!==""+yn(i)&&(r.value=""+yn(i)):w!=="submit"&&w!=="reset"||r.removeAttribute("value"),i!=null?hd(r,w,yn(i)):o!=null?hd(r,w,yn(o)):c!=null&&r.removeAttribute("value"),h==null&&y!=null&&(r.defaultChecked=!!y),h!=null&&(r.checked=h&&typeof h!="function"&&typeof h!="symbol"),A!=null&&typeof A!="function"&&typeof A!="symbol"&&typeof A!="boolean"?r.name=""+yn(A):r.removeAttribute("name")}function rb(r,i,o,c,h,y,w,A){if(y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"&&(r.type=y),i!=null||o!=null){if(!(y!=="submit"&&y!=="reset"||i!=null)){fd(r);return}o=o!=null?""+yn(o):"",i=i!=null?""+yn(i):o,A||i===r.value||(r.value=i),r.defaultValue=i}c=c??h,c=typeof c!="function"&&typeof c!="symbol"&&!!c,r.checked=A?r.checked:!!c,r.defaultChecked=!!c,w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"&&(r.name=w),fd(r)}function hd(r,i,o){i==="number"&&yc(r.ownerDocument)===r||r.defaultValue===""+o||(r.defaultValue=""+o)}function La(r,i,o,c){if(r=r.options,i){i={};for(var h=0;h<o.length;h++)i["$"+o[h]]=!0;for(o=0;o<r.length;o++)h=i.hasOwnProperty("$"+r[o].value),r[o].selected!==h&&(r[o].selected=h),h&&c&&(r[o].defaultSelected=!0)}else{for(o=""+yn(o),i=null,h=0;h<r.length;h++){if(r[h].value===o){r[h].selected=!0,c&&(r[h].defaultSelected=!0);return}i!==null||r[h].disabled||(i=r[h])}i!==null&&(i.selected=!0)}}function ib(r,i,o){if(i!=null&&(i=""+yn(i),i!==r.value&&(r.value=i),o==null)){r.defaultValue!==i&&(r.defaultValue=i);return}r.defaultValue=o!=null?""+yn(o):""}function ab(r,i,o,c){if(i==null){if(c!=null){if(o!=null)throw Error(a(92));if(W(c)){if(1<c.length)throw Error(a(93));c=c[0]}o=c}o==null&&(o=""),i=o}o=yn(i),r.defaultValue=o,c=r.textContent,c===o&&c!==""&&c!==null&&(r.value=c),fd(r)}function $a(r,i){if(i){var o=r.firstChild;if(o&&o===r.lastChild&&o.nodeType===3){o.nodeValue=i;return}}r.textContent=i}var u8=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function sb(r,i,o){var c=i.indexOf("--")===0;o==null||typeof o=="boolean"||o===""?c?r.setProperty(i,""):i==="float"?r.cssFloat="":r[i]="":c?r.setProperty(i,o):typeof o!="number"||o===0||u8.has(i)?i==="float"?r.cssFloat=o:r[i]=(""+o).trim():r[i]=o+"px"}function ob(r,i,o){if(i!=null&&typeof i!="object")throw Error(a(62));if(r=r.style,o!=null){for(var c in o)!o.hasOwnProperty(c)||i!=null&&i.hasOwnProperty(c)||(c.indexOf("--")===0?r.setProperty(c,""):c==="float"?r.cssFloat="":r[c]="");for(var h in i)c=i[h],i.hasOwnProperty(h)&&o[h]!==c&&sb(r,h,c)}else for(var y in i)i.hasOwnProperty(y)&&sb(r,y,i[y])}function pd(r){if(r.indexOf("-")===-1)return!1;switch(r){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var c8=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),l8=/^[\\u0000-\\u001F ]*j[\\r\\n\\t]*a[\\r\\n\\t]*v[\\r\\n\\t]*a[\\r\\n\\t]*s[\\r\\n\\t]*c[\\r\\n\\t]*r[\\r\\n\\t]*i[\\r\\n\\t]*p[\\r\\n\\t]*t[\\r\\n\\t]*:/i;function mc(r){return l8.test(""+r)?"javascript:throw new Error(\'React has blocked a javascript: URL as a security precaution.\')":r}function er(){}var yd=null;function md(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var ka=null,Ua=null;function ub(r){var i=Ba(r);if(i&&(r=i.stateNode)){var o=r[jt]||null;e:switch(r=i.stateNode,i.type){case"input":if(dd(r,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name),i=o.name,o.type==="radio"&&i!=null){for(o=r;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll(\'input[name="\'+mn(""+i)+\'"][type="radio"]\'),i=0;i<o.length;i++){var c=o[i];if(c!==r&&c.form===r.form){var h=c[jt]||null;if(!h)throw Error(a(90));dd(c,h.value,h.defaultValue,h.defaultValue,h.checked,h.defaultChecked,h.type,h.name)}}for(i=0;i<o.length;i++)c=o[i],c.form===r.form&&nb(c)}break e;case"textarea":ib(r,o.value,o.defaultValue);break e;case"select":i=o.value,i!=null&&La(r,!!o.multiple,i,!1)}}}var bd=!1;function cb(r,i,o){if(bd)return r(i,o);bd=!0;try{var c=r(i);return c}finally{if(bd=!1,(ka!==null||Ua!==null)&&(rl(),ka&&(i=ka,r=Ua,Ua=ka=null,ub(i),r)))for(i=0;i<r.length;i++)ub(r[i])}}function co(r,i){var o=r.stateNode;if(o===null)return null;var c=o[jt]||null;if(c===null)return null;o=c[i];e:switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(c=!c.disabled)||(r=r.type,c=!(r==="button"||r==="input"||r==="select"||r==="textarea")),r=!c;break e;default:r=!1}if(r)return null;if(o&&typeof o!="function")throw Error(a(231,i,typeof o));return o}var tr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),gd=!1;if(tr)try{var lo={};Object.defineProperty(lo,"passive",{get:function(){gd=!0}}),window.addEventListener("test",lo,lo),window.removeEventListener("test",lo,lo)}catch{gd=!1}var Fr=null,vd=null,bc=null;function lb(){if(bc)return bc;var r,i=vd,o=i.length,c,h="value"in Fr?Fr.value:Fr.textContent,y=h.length;for(r=0;r<o&&i[r]===h[r];r++);var w=o-r;for(c=1;c<=w&&i[o-c]===h[y-c];c++);return bc=h.slice(r,1<c?1-c:void 0)}function gc(r){var i=r.keyCode;return"charCode"in r?(r=r.charCode,r===0&&i===13&&(r=13)):r=i,r===10&&(r=13),32<=r||r===13?r:0}function vc(){return!0}function fb(){return!1}function Dt(r){function i(o,c,h,y,w){this._reactName=o,this._targetInst=h,this.type=c,this.nativeEvent=y,this.target=w,this.currentTarget=null;for(var A in r)r.hasOwnProperty(A)&&(o=r[A],this[A]=o?o(y):y[A]);return this.isDefaultPrevented=(y.defaultPrevented!=null?y.defaultPrevented:y.returnValue===!1)?vc:fb,this.isPropagationStopped=fb,this}return b(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=vc)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=vc)},persist:function(){},isPersistent:vc}),i}var Hi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},wc=Dt(Hi),fo=b({},Hi,{view:0,detail:0}),f8=Dt(fo),wd,xd,ho,xc=b({},fo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ed,button:0,buttons:0,relatedTarget:function(r){return r.relatedTarget===void 0?r.fromElement===r.srcElement?r.toElement:r.fromElement:r.relatedTarget},movementX:function(r){return"movementX"in r?r.movementX:(r!==ho&&(ho&&r.type==="mousemove"?(wd=r.screenX-ho.screenX,xd=r.screenY-ho.screenY):xd=wd=0,ho=r),wd)},movementY:function(r){return"movementY"in r?r.movementY:xd}}),db=Dt(xc),d8=b({},xc,{dataTransfer:0}),h8=Dt(d8),p8=b({},fo,{relatedTarget:0}),Sd=Dt(p8),y8=b({},Hi,{animationName:0,elapsedTime:0,pseudoElement:0}),m8=Dt(y8),b8=b({},Hi,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),g8=Dt(b8),v8=b({},Hi,{data:0}),hb=Dt(v8),w8={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},x8={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},S8={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function E8(r){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(r):(r=S8[r])?!!i[r]:!1}function Ed(){return E8}var A8=b({},fo,{key:function(r){if(r.key){var i=w8[r.key]||r.key;if(i!=="Unidentified")return i}return r.type==="keypress"?(r=gc(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?x8[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ed,charCode:function(r){return r.type==="keypress"?gc(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?gc(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),T8=Dt(A8),M8=b({},xc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),pb=Dt(M8),R8=b({},fo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ed}),C8=Dt(R8),_8=b({},Hi,{propertyName:0,elapsedTime:0,pseudoElement:0}),O8=Dt(_8),P8=b({},xc,{deltaX:function(r){return"deltaX"in r?r.deltaX:"wheelDeltaX"in r?-r.wheelDeltaX:0},deltaY:function(r){return"deltaY"in r?r.deltaY:"wheelDeltaY"in r?-r.wheelDeltaY:"wheelDelta"in r?-r.wheelDelta:0},deltaZ:0,deltaMode:0}),z8=Dt(P8),B8=b({},Hi,{newState:0,oldState:0}),I8=Dt(B8),N8=[9,13,27,32],Ad=tr&&"CompositionEvent"in window,po=null;tr&&"documentMode"in document&&(po=document.documentMode);var L8=tr&&"TextEvent"in window&&!po,yb=tr&&(!Ad||po&&8<po&&11>=po),mb=" ",bb=!1;function gb(r,i){switch(r){case"keyup":return N8.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function vb(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var ja=!1;function $8(r,i){switch(r){case"compositionend":return vb(i);case"keypress":return i.which!==32?null:(bb=!0,mb);case"textInput":return r=i.data,r===mb&&bb?null:r;default:return null}}function k8(r,i){if(ja)return r==="compositionend"||!Ad&&gb(r,i)?(r=lb(),bc=vd=Fr=null,ja=!1,r):null;switch(r){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1<i.char.length)return i.char;if(i.which)return String.fromCharCode(i.which)}return null;case"compositionend":return yb&&i.locale!=="ko"?null:i.data;default:return null}}var U8={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function wb(r){var i=r&&r.nodeName&&r.nodeName.toLowerCase();return i==="input"?!!U8[r.type]:i==="textarea"}function xb(r,i,o,c){ka?Ua?Ua.push(c):Ua=[c]:ka=c,i=ll(i,"onChange"),0<i.length&&(o=new wc("onChange","change",null,o,c),r.push({event:o,listeners:i}))}var yo=null,mo=null;function j8(r){rv(r,0)}function Sc(r){var i=uo(r);if(nb(i))return r}function Sb(r,i){if(r==="change")return i}var Eb=!1;if(tr){var Td;if(tr){var Md="oninput"in document;if(!Md){var Ab=document.createElement("div");Ab.setAttribute("oninput","return;"),Md=typeof Ab.oninput=="function"}Td=Md}else Td=!1;Eb=Td&&(!document.documentMode||9<document.documentMode)}function Tb(){yo&&(yo.detachEvent("onpropertychange",Mb),mo=yo=null)}function Mb(r){if(r.propertyName==="value"&&Sc(mo)){var i=[];xb(i,mo,r,md(r)),cb(j8,i)}}function D8(r,i,o){r==="focusin"?(Tb(),yo=i,mo=o,yo.attachEvent("onpropertychange",Mb)):r==="focusout"&&Tb()}function H8(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return Sc(mo)}function F8(r,i){if(r==="click")return Sc(i)}function q8(r,i){if(r==="input"||r==="change")return Sc(i)}function G8(r,i){return r===i&&(r!==0||1/r===1/i)||r!==r&&i!==i}var an=typeof Object.is=="function"?Object.is:G8;function bo(r,i){if(an(r,i))return!0;if(typeof r!="object"||r===null||typeof i!="object"||i===null)return!1;var o=Object.keys(r),c=Object.keys(i);if(o.length!==c.length)return!1;for(c=0;c<o.length;c++){var h=o[c];if(!Ui.call(i,h)||!an(r[h],i[h]))return!1}return!0}function Rb(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function Cb(r,i){var o=Rb(r);r=0;for(var c;o;){if(o.nodeType===3){if(c=r+o.textContent.length,r<=i&&c>=i)return{node:o,offset:i-r};r=c}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=Rb(o)}}function _b(r,i){return r&&i?r===i?!0:r&&r.nodeType===3?!1:i&&i.nodeType===3?_b(r,i.parentNode):"contains"in r?r.contains(i):r.compareDocumentPosition?!!(r.compareDocumentPosition(i)&16):!1:!1}function Ob(r){r=r!=null&&r.ownerDocument!=null&&r.ownerDocument.defaultView!=null?r.ownerDocument.defaultView:window;for(var i=yc(r.document);i instanceof r.HTMLIFrameElement;){try{var o=typeof i.contentWindow.location.href=="string"}catch{o=!1}if(o)r=i.contentWindow;else break;i=yc(r.document)}return i}function Rd(r){var i=r&&r.nodeName&&r.nodeName.toLowerCase();return i&&(i==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||i==="textarea"||r.contentEditable==="true")}var V8=tr&&"documentMode"in document&&11>=document.documentMode,Da=null,Cd=null,go=null,_d=!1;function Pb(r,i,o){var c=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;_d||Da==null||Da!==yc(c)||(c=Da,"selectionStart"in c&&Rd(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset}),go&&bo(go,c)||(go=c,c=ll(Cd,"onSelect"),0<c.length&&(i=new wc("onSelect","select",null,i,o),r.push({event:i,listeners:c}),i.target=Da)))}function Fi(r,i){var o={};return o[r.toLowerCase()]=i.toLowerCase(),o["Webkit"+r]="webkit"+i,o["Moz"+r]="moz"+i,o}var Ha={animationend:Fi("Animation","AnimationEnd"),animationiteration:Fi("Animation","AnimationIteration"),animationstart:Fi("Animation","AnimationStart"),transitionrun:Fi("Transition","TransitionRun"),transitionstart:Fi("Transition","TransitionStart"),transitioncancel:Fi("Transition","TransitionCancel"),transitionend:Fi("Transition","TransitionEnd")},Od={},zb={};tr&&(zb=document.createElement("div").style,"AnimationEvent"in window||(delete Ha.animationend.animation,delete Ha.animationiteration.animation,delete Ha.animationstart.animation),"TransitionEvent"in window||delete Ha.transitionend.transition);function qi(r){if(Od[r])return Od[r];if(!Ha[r])return r;var i=Ha[r],o;for(o in i)if(i.hasOwnProperty(o)&&o in zb)return Od[r]=i[o];return r}var Bb=qi("animationend"),Ib=qi("animationiteration"),Nb=qi("animationstart"),K8=qi("transitionrun"),Q8=qi("transitionstart"),Y8=qi("transitioncancel"),Lb=qi("transitionend"),$b=new Map,Pd="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Pd.push("scrollEnd");function Pn(r,i){$b.set(r,i),Di(i,[r])}var Ec=typeof reportError=="function"?reportError:function(r){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var i=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof r=="object"&&r!==null&&typeof r.message=="string"?String(r.message):String(r),error:r});if(!window.dispatchEvent(i))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",r);return}console.error(r)},bn=[],Fa=0,zd=0;function Ac(){for(var r=Fa,i=zd=Fa=0;i<r;){var o=bn[i];bn[i++]=null;var c=bn[i];bn[i++]=null;var h=bn[i];bn[i++]=null;var y=bn[i];if(bn[i++]=null,c!==null&&h!==null){var w=c.pending;w===null?h.next=h:(h.next=w.next,w.next=h),c.pending=h}y!==0&&kb(o,h,y)}}function Tc(r,i,o,c){bn[Fa++]=r,bn[Fa++]=i,bn[Fa++]=o,bn[Fa++]=c,zd|=c,r.lanes|=c,r=r.alternate,r!==null&&(r.lanes|=c)}function Bd(r,i,o,c){return Tc(r,i,o,c),Mc(r)}function Gi(r,i){return Tc(r,null,null,i),Mc(r)}function kb(r,i,o){r.lanes|=o;var c=r.alternate;c!==null&&(c.lanes|=o);for(var h=!1,y=r.return;y!==null;)y.childLanes|=o,c=y.alternate,c!==null&&(c.childLanes|=o),y.tag===22&&(r=y.stateNode,r===null||r._visibility&1||(h=!0)),r=y,y=y.return;return r.tag===3?(y=r.stateNode,h&&i!==null&&(h=31-rn(o),r=y.hiddenUpdates,c=r[h],c===null?r[h]=[i]:c.push(i),i.lane=o|536870912),y):null}function Mc(r){if(50<jo)throw jo=0,H0=null,Error(a(185));for(var i=r.return;i!==null;)r=i,i=r.return;return r.tag===3?r.stateNode:null}var qa={};function Z8(r,i,o,c){this.tag=r,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=c,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function sn(r,i,o,c){return new Z8(r,i,o,c)}function Id(r){return r=r.prototype,!(!r||!r.isReactComponent)}function nr(r,i){var o=r.alternate;return o===null?(o=sn(r.tag,i,r.key,r.mode),o.elementType=r.elementType,o.type=r.type,o.stateNode=r.stateNode,o.alternate=r,r.alternate=o):(o.pendingProps=i,o.type=r.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=r.flags&65011712,o.childLanes=r.childLanes,o.lanes=r.lanes,o.child=r.child,o.memoizedProps=r.memoizedProps,o.memoizedState=r.memoizedState,o.updateQueue=r.updateQueue,i=r.dependencies,o.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},o.sibling=r.sibling,o.index=r.index,o.ref=r.ref,o.refCleanup=r.refCleanup,o}function Ub(r,i){r.flags&=65011714;var o=r.alternate;return o===null?(r.childLanes=0,r.lanes=i,r.child=null,r.subtreeFlags=0,r.memoizedProps=null,r.memoizedState=null,r.updateQueue=null,r.dependencies=null,r.stateNode=null):(r.childLanes=o.childLanes,r.lanes=o.lanes,r.child=o.child,r.subtreeFlags=0,r.deletions=null,r.memoizedProps=o.memoizedProps,r.memoizedState=o.memoizedState,r.updateQueue=o.updateQueue,r.type=o.type,i=o.dependencies,r.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext}),r}function Rc(r,i,o,c,h,y){var w=0;if(c=r,typeof r=="function")Id(r)&&(w=1);else if(typeof r=="string")w=tE(r,o,ae.current)?26:r==="html"||r==="head"||r==="body"?27:5;else e:switch(r){case U:return r=sn(31,o,i,h),r.elementType=U,r.lanes=y,r;case S:return Vi(o.children,h,y,i);case E:w=8,h|=24;break;case R:return r=sn(12,o,i,h|2),r.elementType=R,r.lanes=y,r;case C:return r=sn(13,o,i,h),r.elementType=C,r.lanes=y,r;case B:return r=sn(19,o,i,h),r.elementType=B,r.lanes=y,r;default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case M:w=10;break e;case z:w=9;break e;case _:w=11;break e;case O:w=14;break e;case I:w=16,c=null;break e}w=29,o=Error(a(130,r===null?"null":typeof r,"")),c=null}return i=sn(w,o,i,h),i.elementType=r,i.type=c,i.lanes=y,i}function Vi(r,i,o,c){return r=sn(7,r,c,i),r.lanes=o,r}function Nd(r,i,o){return r=sn(6,r,null,i),r.lanes=o,r}function jb(r){var i=sn(18,null,null,0);return i.stateNode=r,i}function Ld(r,i,o){return i=sn(4,r.children!==null?r.children:[],r.key,i),i.lanes=o,i.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},i}var Db=new WeakMap;function gn(r,i){if(typeof r=="object"&&r!==null){var o=Db.get(r);return o!==void 0?o:(i={value:r,source:i,stack:Jn(i)},Db.set(r,i),i)}return{value:r,source:i,stack:Jn(i)}}var Ga=[],Va=0,Cc=null,vo=0,vn=[],wn=0,qr=null,jn=1,Dn="";function rr(r,i){Ga[Va++]=vo,Ga[Va++]=Cc,Cc=r,vo=i}function Hb(r,i,o){vn[wn++]=jn,vn[wn++]=Dn,vn[wn++]=qr,qr=r;var c=jn;r=Dn;var h=32-rn(c)-1;c&=~(1<<h),o+=1;var y=32-rn(i)+h;if(30<y){var w=h-h%5;y=(c&(1<<w)-1).toString(32),c>>=w,h-=w,jn=1<<32-rn(i)+h|o<<h|c,Dn=y+r}else jn=1<<y|o<<h|c,Dn=r}function $d(r){r.return!==null&&(rr(r,1),Hb(r,1,0))}function kd(r){for(;r===Cc;)Cc=Ga[--Va],Ga[Va]=null,vo=Ga[--Va],Ga[Va]=null;for(;r===qr;)qr=vn[--wn],vn[wn]=null,Dn=vn[--wn],vn[wn]=null,jn=vn[--wn],vn[wn]=null}function Fb(r,i){vn[wn++]=jn,vn[wn++]=Dn,vn[wn++]=qr,jn=i.id,Dn=i.overflow,qr=r}var vt=null,qe=null,_e=!1,Gr=null,xn=!1,Ud=Error(a(519));function Vr(r){var i=Error(a(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw wo(gn(i,r)),Ud}function qb(r){var i=r.stateNode,o=r.type,c=r.memoizedProps;switch(i[gt]=r,i[jt]=c,o){case"dialog":Te("cancel",i),Te("close",i);break;case"iframe":case"object":case"embed":Te("load",i);break;case"video":case"audio":for(o=0;o<Ho.length;o++)Te(Ho[o],i);break;case"source":Te("error",i);break;case"img":case"image":case"link":Te("error",i),Te("load",i);break;case"details":Te("toggle",i);break;case"input":Te("invalid",i),rb(i,c.value,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name,!0);break;case"select":Te("invalid",i);break;case"textarea":Te("invalid",i),ab(i,c.value,c.defaultValue,c.children)}o=c.children,typeof o!="string"&&typeof o!="number"&&typeof o!="bigint"||i.textContent===""+o||c.suppressHydrationWarning===!0||ov(i.textContent,o)?(c.popover!=null&&(Te("beforetoggle",i),Te("toggle",i)),c.onScroll!=null&&Te("scroll",i),c.onScrollEnd!=null&&Te("scrollend",i),c.onClick!=null&&(i.onclick=er),i=!0):i=!1,i||Vr(r,!0)}function Gb(r){for(vt=r.return;vt;)switch(vt.tag){case 5:case 31:case 13:xn=!1;return;case 27:case 3:xn=!0;return;default:vt=vt.return}}function Ka(r){if(r!==vt)return!1;if(!_e)return Gb(r),_e=!0,!1;var i=r.tag,o;if((o=i!==3&&i!==27)&&((o=i===5)&&(o=r.type,o=!(o!=="form"&&o!=="button")||rh(r.type,r.memoizedProps)),o=!o),o&&qe&&Vr(r),Gb(r),i===13){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(a(317));qe=mv(r)}else if(i===31){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(a(317));qe=mv(r)}else i===27?(i=qe,si(r.type)?(r=uh,uh=null,qe=r):qe=i):qe=vt?En(r.stateNode.nextSibling):null;return!0}function Ki(){qe=vt=null,_e=!1}function jd(){var r=Gr;return r!==null&&(Gt===null?Gt=r:Gt.push.apply(Gt,r),Gr=null),r}function wo(r){Gr===null?Gr=[r]:Gr.push(r)}var Dd=N(null),Qi=null,ir=null;function Kr(r,i,o){se(Dd,i._currentValue),i._currentValue=o}function ar(r){r._currentValue=Dd.current,Y(Dd)}function Hd(r,i,o){for(;r!==null;){var c=r.alternate;if((r.childLanes&i)!==i?(r.childLanes|=i,c!==null&&(c.childLanes|=i)):c!==null&&(c.childLanes&i)!==i&&(c.childLanes|=i),r===o)break;r=r.return}}function Fd(r,i,o,c){var h=r.child;for(h!==null&&(h.return=r);h!==null;){var y=h.dependencies;if(y!==null){var w=h.child;y=y.firstContext;e:for(;y!==null;){var A=y;y=h;for(var L=0;L<i.length;L++)if(A.context===i[L]){y.lanes|=o,A=y.alternate,A!==null&&(A.lanes|=o),Hd(y.return,o,r),c||(w=null);break e}y=A.next}}else if(h.tag===18){if(w=h.return,w===null)throw Error(a(341));w.lanes|=o,y=w.alternate,y!==null&&(y.lanes|=o),Hd(w,o,r),w=null}else w=h.child;if(w!==null)w.return=h;else for(w=h;w!==null;){if(w===r){w=null;break}if(h=w.sibling,h!==null){h.return=w.return,w=h;break}w=w.return}h=w}}function Qa(r,i,o,c){r=null;for(var h=i,y=!1;h!==null;){if(!y){if((h.flags&524288)!==0)y=!0;else if((h.flags&262144)!==0)break}if(h.tag===10){var w=h.alternate;if(w===null)throw Error(a(387));if(w=w.memoizedProps,w!==null){var A=h.type;an(h.pendingProps.value,w.value)||(r!==null?r.push(A):r=[A])}}else if(h===we.current){if(w=h.alternate,w===null)throw Error(a(387));w.memoizedState.memoizedState!==h.memoizedState.memoizedState&&(r!==null?r.push(Ko):r=[Ko])}h=h.return}r!==null&&Fd(i,r,o,c),i.flags|=262144}function _c(r){for(r=r.firstContext;r!==null;){if(!an(r.context._currentValue,r.memoizedValue))return!0;r=r.next}return!1}function Yi(r){Qi=r,ir=null,r=r.dependencies,r!==null&&(r.firstContext=null)}function wt(r){return Vb(Qi,r)}function Oc(r,i){return Qi===null&&Yi(r),Vb(r,i)}function Vb(r,i){var o=i._currentValue;if(i={context:i,memoizedValue:o,next:null},ir===null){if(r===null)throw Error(a(308));ir=i,r.dependencies={lanes:0,firstContext:i},r.flags|=524288}else ir=ir.next=i;return o}var X8=typeof AbortController<"u"?AbortController:function(){var r=[],i=this.signal={aborted:!1,addEventListener:function(o,c){r.push(c)}};this.abort=function(){i.aborted=!0,r.forEach(function(o){return o()})}},J8=e.unstable_scheduleCallback,W8=e.unstable_NormalPriority,nt={$$typeof:M,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function qd(){return{controller:new X8,data:new Map,refCount:0}}function xo(r){r.refCount--,r.refCount===0&&J8(W8,function(){r.controller.abort()})}var So=null,Gd=0,Ya=0,Za=null;function e4(r,i){if(So===null){var o=So=[];Gd=0,Ya=Q0(),Za={status:"pending",value:void 0,then:function(c){o.push(c)}}}return Gd++,i.then(Kb,Kb),i}function Kb(){if(--Gd===0&&So!==null){Za!==null&&(Za.status="fulfilled");var r=So;So=null,Ya=0,Za=null;for(var i=0;i<r.length;i++)(0,r[i])()}}function t4(r,i){var o=[],c={status:"pending",value:null,reason:null,then:function(h){o.push(h)}};return r.then(function(){c.status="fulfilled",c.value=i;for(var h=0;h<o.length;h++)(0,o[h])(i)},function(h){for(c.status="rejected",c.reason=h,h=0;h<o.length;h++)(0,o[h])(void 0)}),c}var Qb=$.S;$.S=function(r,i){P1=Rt(),typeof i=="object"&&i!==null&&typeof i.then=="function"&&e4(r,i),Qb!==null&&Qb(r,i)};var Zi=N(null);function Vd(){var r=Zi.current;return r!==null?r:Ue.pooledCache}function Pc(r,i){i===null?se(Zi,Zi.current):se(Zi,i.pool)}function Yb(){var r=Vd();return r===null?null:{parent:nt._currentValue,pool:r}}var Xa=Error(a(460)),Kd=Error(a(474)),zc=Error(a(542)),Bc={then:function(){}};function Zb(r){return r=r.status,r==="fulfilled"||r==="rejected"}function Xb(r,i,o){switch(o=r[o],o===void 0?r.push(i):o!==i&&(i.then(er,er),i=o),i.status){case"fulfilled":return i.value;case"rejected":throw r=i.reason,Wb(r),r;default:if(typeof i.status=="string")i.then(er,er);else{if(r=Ue,r!==null&&100<r.shellSuspendCounter)throw Error(a(482));r=i,r.status="pending",r.then(function(c){if(i.status==="pending"){var h=i;h.status="fulfilled",h.value=c}},function(c){if(i.status==="pending"){var h=i;h.status="rejected",h.reason=c}})}switch(i.status){case"fulfilled":return i.value;case"rejected":throw r=i.reason,Wb(r),r}throw Ji=i,Xa}}function Xi(r){try{var i=r._init;return i(r._payload)}catch(o){throw o!==null&&typeof o=="object"&&typeof o.then=="function"?(Ji=o,Xa):o}}var Ji=null;function Jb(){if(Ji===null)throw Error(a(459));var r=Ji;return Ji=null,r}function Wb(r){if(r===Xa||r===zc)throw Error(a(483))}var Ja=null,Eo=0;function Ic(r){var i=Eo;return Eo+=1,Ja===null&&(Ja=[]),Xb(Ja,r,i)}function Ao(r,i){i=i.props.ref,r.ref=i!==void 0?i:null}function Nc(r,i){throw i.$$typeof===g?Error(a(525)):(r=Object.prototype.toString.call(i),Error(a(31,r==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":r)))}function eg(r){function i(j,k){if(r){var H=j.deletions;H===null?(j.deletions=[k],j.flags|=16):H.push(k)}}function o(j,k){if(!r)return null;for(;k!==null;)i(j,k),k=k.sibling;return null}function c(j){for(var k=new Map;j!==null;)j.key!==null?k.set(j.key,j):k.set(j.index,j),j=j.sibling;return k}function h(j,k){return j=nr(j,k),j.index=0,j.sibling=null,j}function y(j,k,H){return j.index=H,r?(H=j.alternate,H!==null?(H=H.index,H<k?(j.flags|=67108866,k):H):(j.flags|=67108866,k)):(j.flags|=1048576,k)}function w(j){return r&&j.alternate===null&&(j.flags|=67108866),j}function A(j,k,H,J){return k===null||k.tag!==6?(k=Nd(H,j.mode,J),k.return=j,k):(k=h(k,H),k.return=j,k)}function L(j,k,H,J){var me=H.type;return me===S?Z(j,k,H.props.children,J,H.key):k!==null&&(k.elementType===me||typeof me=="object"&&me!==null&&me.$$typeof===I&&Xi(me)===k.type)?(k=h(k,H.props),Ao(k,H),k.return=j,k):(k=Rc(H.type,H.key,H.props,null,j.mode,J),Ao(k,H),k.return=j,k)}function F(j,k,H,J){return k===null||k.tag!==4||k.stateNode.containerInfo!==H.containerInfo||k.stateNode.implementation!==H.implementation?(k=Ld(H,j.mode,J),k.return=j,k):(k=h(k,H.children||[]),k.return=j,k)}function Z(j,k,H,J,me){return k===null||k.tag!==7?(k=Vi(H,j.mode,J,me),k.return=j,k):(k=h(k,H),k.return=j,k)}function ee(j,k,H){if(typeof k=="string"&&k!==""||typeof k=="number"||typeof k=="bigint")return k=Nd(""+k,j.mode,H),k.return=j,k;if(typeof k=="object"&&k!==null){switch(k.$$typeof){case v:return H=Rc(k.type,k.key,k.props,null,j.mode,H),Ao(H,k),H.return=j,H;case x:return k=Ld(k,j.mode,H),k.return=j,k;case I:return k=Xi(k),ee(j,k,H)}if(W(k)||X(k))return k=Vi(k,j.mode,H,null),k.return=j,k;if(typeof k.then=="function")return ee(j,Ic(k),H);if(k.$$typeof===M)return ee(j,Oc(j,k),H);Nc(j,k)}return null}function q(j,k,H,J){var me=k!==null?k.key:null;if(typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint")return me!==null?null:A(j,k,""+H,J);if(typeof H=="object"&&H!==null){switch(H.$$typeof){case v:return H.key===me?L(j,k,H,J):null;case x:return H.key===me?F(j,k,H,J):null;case I:return H=Xi(H),q(j,k,H,J)}if(W(H)||X(H))return me!==null?null:Z(j,k,H,J,null);if(typeof H.then=="function")return q(j,k,Ic(H),J);if(H.$$typeof===M)return q(j,k,Oc(j,H),J);Nc(j,H)}return null}function K(j,k,H,J,me){if(typeof J=="string"&&J!==""||typeof J=="number"||typeof J=="bigint")return j=j.get(H)||null,A(k,j,""+J,me);if(typeof J=="object"&&J!==null){switch(J.$$typeof){case v:return j=j.get(J.key===null?H:J.key)||null,L(k,j,J,me);case x:return j=j.get(J.key===null?H:J.key)||null,F(k,j,J,me);case I:return J=Xi(J),K(j,k,H,J,me)}if(W(J)||X(J))return j=j.get(H)||null,Z(k,j,J,me,null);if(typeof J.then=="function")return K(j,k,H,Ic(J),me);if(J.$$typeof===M)return K(j,k,H,Oc(k,J),me);Nc(k,J)}return null}function de(j,k,H,J){for(var me=null,Oe=null,pe=k,Se=k=0,Re=null;pe!==null&&Se<H.length;Se++){pe.index>Se?(Re=pe,pe=null):Re=pe.sibling;var Pe=q(j,pe,H[Se],J);if(Pe===null){pe===null&&(pe=Re);break}r&&pe&&Pe.alternate===null&&i(j,pe),k=y(Pe,k,Se),Oe===null?me=Pe:Oe.sibling=Pe,Oe=Pe,pe=Re}if(Se===H.length)return o(j,pe),_e&&rr(j,Se),me;if(pe===null){for(;Se<H.length;Se++)pe=ee(j,H[Se],J),pe!==null&&(k=y(pe,k,Se),Oe===null?me=pe:Oe.sibling=pe,Oe=pe);return _e&&rr(j,Se),me}for(pe=c(pe);Se<H.length;Se++)Re=K(pe,j,Se,H[Se],J),Re!==null&&(r&&Re.alternate!==null&&pe.delete(Re.key===null?Se:Re.key),k=y(Re,k,Se),Oe===null?me=Re:Oe.sibling=Re,Oe=Re);return r&&pe.forEach(function(fi){return i(j,fi)}),_e&&rr(j,Se),me}function be(j,k,H,J){if(H==null)throw Error(a(151));for(var me=null,Oe=null,pe=k,Se=k=0,Re=null,Pe=H.next();pe!==null&&!Pe.done;Se++,Pe=H.next()){pe.index>Se?(Re=pe,pe=null):Re=pe.sibling;var fi=q(j,pe,Pe.value,J);if(fi===null){pe===null&&(pe=Re);break}r&&pe&&fi.alternate===null&&i(j,pe),k=y(fi,k,Se),Oe===null?me=fi:Oe.sibling=fi,Oe=fi,pe=Re}if(Pe.done)return o(j,pe),_e&&rr(j,Se),me;if(pe===null){for(;!Pe.done;Se++,Pe=H.next())Pe=ee(j,Pe.value,J),Pe!==null&&(k=y(Pe,k,Se),Oe===null?me=Pe:Oe.sibling=Pe,Oe=Pe);return _e&&rr(j,Se),me}for(pe=c(pe);!Pe.done;Se++,Pe=H.next())Pe=K(pe,j,Se,Pe.value,J),Pe!==null&&(r&&Pe.alternate!==null&&pe.delete(Pe.key===null?Se:Pe.key),k=y(Pe,k,Se),Oe===null?me=Pe:Oe.sibling=Pe,Oe=Pe);return r&&pe.forEach(function(dE){return i(j,dE)}),_e&&rr(j,Se),me}function ke(j,k,H,J){if(typeof H=="object"&&H!==null&&H.type===S&&H.key===null&&(H=H.props.children),typeof H=="object"&&H!==null){switch(H.$$typeof){case v:e:{for(var me=H.key;k!==null;){if(k.key===me){if(me=H.type,me===S){if(k.tag===7){o(j,k.sibling),J=h(k,H.props.children),J.return=j,j=J;break e}}else if(k.elementType===me||typeof me=="object"&&me!==null&&me.$$typeof===I&&Xi(me)===k.type){o(j,k.sibling),J=h(k,H.props),Ao(J,H),J.return=j,j=J;break e}o(j,k);break}else i(j,k);k=k.sibling}H.type===S?(J=Vi(H.props.children,j.mode,J,H.key),J.return=j,j=J):(J=Rc(H.type,H.key,H.props,null,j.mode,J),Ao(J,H),J.return=j,j=J)}return w(j);case x:e:{for(me=H.key;k!==null;){if(k.key===me)if(k.tag===4&&k.stateNode.containerInfo===H.containerInfo&&k.stateNode.implementation===H.implementation){o(j,k.sibling),J=h(k,H.children||[]),J.return=j,j=J;break e}else{o(j,k);break}else i(j,k);k=k.sibling}J=Ld(H,j.mode,J),J.return=j,j=J}return w(j);case I:return H=Xi(H),ke(j,k,H,J)}if(W(H))return de(j,k,H,J);if(X(H)){if(me=X(H),typeof me!="function")throw Error(a(150));return H=me.call(H),be(j,k,H,J)}if(typeof H.then=="function")return ke(j,k,Ic(H),J);if(H.$$typeof===M)return ke(j,k,Oc(j,H),J);Nc(j,H)}return typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint"?(H=""+H,k!==null&&k.tag===6?(o(j,k.sibling),J=h(k,H),J.return=j,j=J):(o(j,k),J=Nd(H,j.mode,J),J.return=j,j=J),w(j)):o(j,k)}return function(j,k,H,J){try{Eo=0;var me=ke(j,k,H,J);return Ja=null,me}catch(pe){if(pe===Xa||pe===zc)throw pe;var Oe=sn(29,pe,null,j.mode);return Oe.lanes=J,Oe.return=j,Oe}}}var Wi=eg(!0),tg=eg(!1),Qr=!1;function Qd(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Yd(r,i){r=r.updateQueue,i.updateQueue===r&&(i.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,callbacks:null})}function Yr(r){return{lane:r,tag:0,payload:null,callback:null,next:null}}function Zr(r,i,o){var c=r.updateQueue;if(c===null)return null;if(c=c.shared,(Be&2)!==0){var h=c.pending;return h===null?i.next=i:(i.next=h.next,h.next=i),c.pending=i,i=Mc(r),kb(r,null,o),i}return Tc(r,c,i,o),Mc(r)}function To(r,i,o){if(i=i.updateQueue,i!==null&&(i=i.shared,(o&4194048)!==0)){var c=i.lanes;c&=r.pendingLanes,o|=c,i.lanes=o,Vm(r,o)}}function Zd(r,i){var o=r.updateQueue,c=r.alternate;if(c!==null&&(c=c.updateQueue,o===c)){var h=null,y=null;if(o=o.firstBaseUpdate,o!==null){do{var w={lane:o.lane,tag:o.tag,payload:o.payload,callback:null,next:null};y===null?h=y=w:y=y.next=w,o=o.next}while(o!==null);y===null?h=y=i:y=y.next=i}else h=y=i;o={baseState:c.baseState,firstBaseUpdate:h,lastBaseUpdate:y,shared:c.shared,callbacks:c.callbacks},r.updateQueue=o;return}r=o.lastBaseUpdate,r===null?o.firstBaseUpdate=i:r.next=i,o.lastBaseUpdate=i}var Xd=!1;function Mo(){if(Xd){var r=Za;if(r!==null)throw r}}function Ro(r,i,o,c){Xd=!1;var h=r.updateQueue;Qr=!1;var y=h.firstBaseUpdate,w=h.lastBaseUpdate,A=h.shared.pending;if(A!==null){h.shared.pending=null;var L=A,F=L.next;L.next=null,w===null?y=F:w.next=F,w=L;var Z=r.alternate;Z!==null&&(Z=Z.updateQueue,A=Z.lastBaseUpdate,A!==w&&(A===null?Z.firstBaseUpdate=F:A.next=F,Z.lastBaseUpdate=L))}if(y!==null){var ee=h.baseState;w=0,Z=F=L=null,A=y;do{var q=A.lane&-536870913,K=q!==A.lane;if(K?(Me&q)===q:(c&q)===q){q!==0&&q===Ya&&(Xd=!0),Z!==null&&(Z=Z.next={lane:0,tag:A.tag,payload:A.payload,callback:null,next:null});e:{var de=r,be=A;q=i;var ke=o;switch(be.tag){case 1:if(de=be.payload,typeof de=="function"){ee=de.call(ke,ee,q);break e}ee=de;break e;case 3:de.flags=de.flags&-65537|128;case 0:if(de=be.payload,q=typeof de=="function"?de.call(ke,ee,q):de,q==null)break e;ee=b({},ee,q);break e;case 2:Qr=!0}}q=A.callback,q!==null&&(r.flags|=64,K&&(r.flags|=8192),K=h.callbacks,K===null?h.callbacks=[q]:K.push(q))}else K={lane:q,tag:A.tag,payload:A.payload,callback:A.callback,next:null},Z===null?(F=Z=K,L=ee):Z=Z.next=K,w|=q;if(A=A.next,A===null){if(A=h.shared.pending,A===null)break;K=A,A=K.next,K.next=null,h.lastBaseUpdate=K,h.shared.pending=null}}while(!0);Z===null&&(L=ee),h.baseState=L,h.firstBaseUpdate=F,h.lastBaseUpdate=Z,y===null&&(h.shared.lanes=0),ti|=w,r.lanes=w,r.memoizedState=ee}}function ng(r,i){if(typeof r!="function")throw Error(a(191,r));r.call(i)}function rg(r,i){var o=r.callbacks;if(o!==null)for(r.callbacks=null,r=0;r<o.length;r++)ng(o[r],i)}var Wa=N(null),Lc=N(0);function ig(r,i){r=pr,se(Lc,r),se(Wa,i),pr=r|i.baseLanes}function Jd(){se(Lc,pr),se(Wa,Wa.current)}function Wd(){pr=Lc.current,Y(Wa),Y(Lc)}var on=N(null),Sn=null;function Xr(r){var i=r.alternate;se(et,et.current&1),se(on,r),Sn===null&&(i===null||Wa.current!==null||i.memoizedState!==null)&&(Sn=r)}function e0(r){se(et,et.current),se(on,r),Sn===null&&(Sn=r)}function ag(r){r.tag===22?(se(et,et.current),se(on,r),Sn===null&&(Sn=r)):Jr()}function Jr(){se(et,et.current),se(on,on.current)}function un(r){Y(on),Sn===r&&(Sn=null),Y(et)}var et=N(0);function $c(r){for(var i=r;i!==null;){if(i.tag===13){var o=i.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||sh(o)||oh(o)))return i}else if(i.tag===19&&(i.memoizedProps.revealOrder==="forwards"||i.memoizedProps.revealOrder==="backwards"||i.memoizedProps.revealOrder==="unstable_legacy-backwards"||i.memoizedProps.revealOrder==="together")){if((i.flags&128)!==0)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===r)break;for(;i.sibling===null;){if(i.return===null||i.return===r)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var sr=0,xe=null,Le=null,rt=null,kc=!1,es=!1,ea=!1,Uc=0,Co=0,ts=null,n4=0;function Xe(){throw Error(a(321))}function t0(r,i){if(i===null)return!1;for(var o=0;o<i.length&&o<r.length;o++)if(!an(r[o],i[o]))return!1;return!0}function n0(r,i,o,c,h,y){return sr=y,xe=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,$.H=r===null||r.memoizedState===null?Hg:b0,ea=!1,y=o(c,h),ea=!1,es&&(y=og(i,o,c,h)),sg(r),y}function sg(r){$.H=Po;var i=Le!==null&&Le.next!==null;if(sr=0,rt=Le=xe=null,kc=!1,Co=0,ts=null,i)throw Error(a(300));r===null||it||(r=r.dependencies,r!==null&&_c(r)&&(it=!0))}function og(r,i,o,c){xe=r;var h=0;do{if(es&&(ts=null),Co=0,es=!1,25<=h)throw Error(a(301));if(h+=1,rt=Le=null,r.updateQueue!=null){var y=r.updateQueue;y.lastEffect=null,y.events=null,y.stores=null,y.memoCache!=null&&(y.memoCache.index=0)}$.H=Fg,y=i(o,c)}while(es);return y}function r4(){var r=$.H,i=r.useState()[0];return i=typeof i.then=="function"?_o(i):i,r=r.useState()[0],(Le!==null?Le.memoizedState:null)!==r&&(xe.flags|=1024),i}function r0(){var r=Uc!==0;return Uc=0,r}function i0(r,i,o){i.updateQueue=r.updateQueue,i.flags&=-2053,r.lanes&=~o}function a0(r){if(kc){for(r=r.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}kc=!1}sr=0,rt=Le=xe=null,es=!1,Co=Uc=0,ts=null}function zt(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return rt===null?xe.memoizedState=rt=r:rt=rt.next=r,rt}function tt(){if(Le===null){var r=xe.alternate;r=r!==null?r.memoizedState:null}else r=Le.next;var i=rt===null?xe.memoizedState:rt.next;if(i!==null)rt=i,Le=r;else{if(r===null)throw xe.alternate===null?Error(a(467)):Error(a(310));Le=r,r={memoizedState:Le.memoizedState,baseState:Le.baseState,baseQueue:Le.baseQueue,queue:Le.queue,next:null},rt===null?xe.memoizedState=rt=r:rt=rt.next=r}return rt}function jc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function _o(r){var i=Co;return Co+=1,ts===null&&(ts=[]),r=Xb(ts,r,i),i=xe,(rt===null?i.memoizedState:rt.next)===null&&(i=i.alternate,$.H=i===null||i.memoizedState===null?Hg:b0),r}function Dc(r){if(r!==null&&typeof r=="object"){if(typeof r.then=="function")return _o(r);if(r.$$typeof===M)return wt(r)}throw Error(a(438,String(r)))}function s0(r){var i=null,o=xe.updateQueue;if(o!==null&&(i=o.memoCache),i==null){var c=xe.alternate;c!==null&&(c=c.updateQueue,c!==null&&(c=c.memoCache,c!=null&&(i={data:c.data.map(function(h){return h.slice()}),index:0})))}if(i==null&&(i={data:[],index:0}),o===null&&(o=jc(),xe.updateQueue=o),o.memoCache=i,o=i.data[i.index],o===void 0)for(o=i.data[i.index]=Array(r),c=0;c<r;c++)o[c]=D;return i.index++,o}function or(r,i){return typeof i=="function"?i(r):i}function Hc(r){var i=tt();return o0(i,Le,r)}function o0(r,i,o){var c=r.queue;if(c===null)throw Error(a(311));c.lastRenderedReducer=o;var h=r.baseQueue,y=c.pending;if(y!==null){if(h!==null){var w=h.next;h.next=y.next,y.next=w}i.baseQueue=h=y,c.pending=null}if(y=r.baseState,h===null)r.memoizedState=y;else{i=h.next;var A=w=null,L=null,F=i,Z=!1;do{var ee=F.lane&-536870913;if(ee!==F.lane?(Me&ee)===ee:(sr&ee)===ee){var q=F.revertLane;if(q===0)L!==null&&(L=L.next={lane:0,revertLane:0,gesture:null,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null}),ee===Ya&&(Z=!0);else if((sr&q)===q){F=F.next,q===Ya&&(Z=!0);continue}else ee={lane:0,revertLane:F.revertLane,gesture:null,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null},L===null?(A=L=ee,w=y):L=L.next=ee,xe.lanes|=q,ti|=q;ee=F.action,ea&&o(y,ee),y=F.hasEagerState?F.eagerState:o(y,ee)}else q={lane:ee,revertLane:F.revertLane,gesture:F.gesture,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null},L===null?(A=L=q,w=y):L=L.next=q,xe.lanes|=ee,ti|=ee;F=F.next}while(F!==null&&F!==i);if(L===null?w=y:L.next=A,!an(y,r.memoizedState)&&(it=!0,Z&&(o=Za,o!==null)))throw o;r.memoizedState=y,r.baseState=w,r.baseQueue=L,c.lastRenderedState=y}return h===null&&(c.lanes=0),[r.memoizedState,c.dispatch]}function u0(r){var i=tt(),o=i.queue;if(o===null)throw Error(a(311));o.lastRenderedReducer=r;var c=o.dispatch,h=o.pending,y=i.memoizedState;if(h!==null){o.pending=null;var w=h=h.next;do y=r(y,w.action),w=w.next;while(w!==h);an(y,i.memoizedState)||(it=!0),i.memoizedState=y,i.baseQueue===null&&(i.baseState=y),o.lastRenderedState=y}return[y,c]}function ug(r,i,o){var c=xe,h=tt(),y=_e;if(y){if(o===void 0)throw Error(a(407));o=o()}else o=i();var w=!an((Le||h).memoizedState,o);if(w&&(h.memoizedState=o,it=!0),h=h.queue,f0(fg.bind(null,c,h,r),[r]),h.getSnapshot!==i||w||rt!==null&&rt.memoizedState.tag&1){if(c.flags|=2048,ns(9,{destroy:void 0},lg.bind(null,c,h,o,i),null),Ue===null)throw Error(a(349));y||(sr&127)!==0||cg(c,i,o)}return o}function cg(r,i,o){r.flags|=16384,r={getSnapshot:i,value:o},i=xe.updateQueue,i===null?(i=jc(),xe.updateQueue=i,i.stores=[r]):(o=i.stores,o===null?i.stores=[r]:o.push(r))}function lg(r,i,o,c){i.value=o,i.getSnapshot=c,dg(i)&&hg(r)}function fg(r,i,o){return o(function(){dg(i)&&hg(r)})}function dg(r){var i=r.getSnapshot;r=r.value;try{var o=i();return!an(r,o)}catch{return!0}}function hg(r){var i=Gi(r,2);i!==null&&Vt(i,r,2)}function c0(r){var i=zt();if(typeof r=="function"){var o=r;if(r=o(),ea){Dr(!0);try{o()}finally{Dr(!1)}}}return i.memoizedState=i.baseState=r,i.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:or,lastRenderedState:r},i}function pg(r,i,o,c){return r.baseState=o,o0(r,Le,typeof c=="function"?c:or)}function i4(r,i,o,c,h){if(Gc(r))throw Error(a(485));if(r=i.action,r!==null){var y={payload:h,action:r,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(w){y.listeners.push(w)}};$.T!==null?o(!0):y.isTransition=!1,c(y),o=i.pending,o===null?(y.next=i.pending=y,yg(i,y)):(y.next=o.next,i.pending=o.next=y)}}function yg(r,i){var o=i.action,c=i.payload,h=r.state;if(i.isTransition){var y=$.T,w={};$.T=w;try{var A=o(h,c),L=$.S;L!==null&&L(w,A),mg(r,i,A)}catch(F){l0(r,i,F)}finally{y!==null&&w.types!==null&&(y.types=w.types),$.T=y}}else try{y=o(h,c),mg(r,i,y)}catch(F){l0(r,i,F)}}function mg(r,i,o){o!==null&&typeof o=="object"&&typeof o.then=="function"?o.then(function(c){bg(r,i,c)},function(c){return l0(r,i,c)}):bg(r,i,o)}function bg(r,i,o){i.status="fulfilled",i.value=o,gg(i),r.state=o,i=r.pending,i!==null&&(o=i.next,o===i?r.pending=null:(o=o.next,i.next=o,yg(r,o)))}function l0(r,i,o){var c=r.pending;if(r.pending=null,c!==null){c=c.next;do i.status="rejected",i.reason=o,gg(i),i=i.next;while(i!==c)}r.action=null}function gg(r){r=r.listeners;for(var i=0;i<r.length;i++)(0,r[i])()}function vg(r,i){return i}function wg(r,i){if(_e){var o=Ue.formState;if(o!==null){e:{var c=xe;if(_e){if(qe){t:{for(var h=qe,y=xn;h.nodeType!==8;){if(!y){h=null;break t}if(h=En(h.nextSibling),h===null){h=null;break t}}y=h.data,h=y==="F!"||y==="F"?h:null}if(h){qe=En(h.nextSibling),c=h.data==="F!";break e}}Vr(c)}c=!1}c&&(i=o[0])}}return o=zt(),o.memoizedState=o.baseState=i,c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:vg,lastRenderedState:i},o.queue=c,o=Ug.bind(null,xe,c),c.dispatch=o,c=c0(!1),y=m0.bind(null,xe,!1,c.queue),c=zt(),h={state:i,dispatch:null,action:r,pending:null},c.queue=h,o=i4.bind(null,xe,h,y,o),h.dispatch=o,c.memoizedState=r,[i,o,!1]}function xg(r){var i=tt();return Sg(i,Le,r)}function Sg(r,i,o){if(i=o0(r,i,vg)[0],r=Hc(or)[0],typeof i=="object"&&i!==null&&typeof i.then=="function")try{var c=_o(i)}catch(w){throw w===Xa?zc:w}else c=i;i=tt();var h=i.queue,y=h.dispatch;return o!==i.memoizedState&&(xe.flags|=2048,ns(9,{destroy:void 0},a4.bind(null,h,o),null)),[c,y,r]}function a4(r,i){r.action=i}function Eg(r){var i=tt(),o=Le;if(o!==null)return Sg(i,o,r);tt(),i=i.memoizedState,o=tt();var c=o.queue.dispatch;return o.memoizedState=r,[i,c,!1]}function ns(r,i,o,c){return r={tag:r,create:o,deps:c,inst:i,next:null},i=xe.updateQueue,i===null&&(i=jc(),xe.updateQueue=i),o=i.lastEffect,o===null?i.lastEffect=r.next=r:(c=o.next,o.next=r,r.next=c,i.lastEffect=r),r}function Ag(){return tt().memoizedState}function Fc(r,i,o,c){var h=zt();xe.flags|=r,h.memoizedState=ns(1|i,{destroy:void 0},o,c===void 0?null:c)}function qc(r,i,o,c){var h=tt();c=c===void 0?null:c;var y=h.memoizedState.inst;Le!==null&&c!==null&&t0(c,Le.memoizedState.deps)?h.memoizedState=ns(i,y,o,c):(xe.flags|=r,h.memoizedState=ns(1|i,y,o,c))}function Tg(r,i){Fc(8390656,8,r,i)}function f0(r,i){qc(2048,8,r,i)}function s4(r){xe.flags|=4;var i=xe.updateQueue;if(i===null)i=jc(),xe.updateQueue=i,i.events=[r];else{var o=i.events;o===null?i.events=[r]:o.push(r)}}function Mg(r){var i=tt().memoizedState;return s4({ref:i,nextImpl:r}),function(){if((Be&2)!==0)throw Error(a(440));return i.impl.apply(void 0,arguments)}}function Rg(r,i){return qc(4,2,r,i)}function Cg(r,i){return qc(4,4,r,i)}function _g(r,i){if(typeof i=="function"){r=r();var o=i(r);return function(){typeof o=="function"?o():i(null)}}if(i!=null)return r=r(),i.current=r,function(){i.current=null}}function Og(r,i,o){o=o!=null?o.concat([r]):null,qc(4,4,_g.bind(null,i,r),o)}function d0(){}function Pg(r,i){var o=tt();i=i===void 0?null:i;var c=o.memoizedState;return i!==null&&t0(i,c[1])?c[0]:(o.memoizedState=[r,i],r)}function zg(r,i){var o=tt();i=i===void 0?null:i;var c=o.memoizedState;if(i!==null&&t0(i,c[1]))return c[0];if(c=r(),ea){Dr(!0);try{r()}finally{Dr(!1)}}return o.memoizedState=[c,i],c}function h0(r,i,o){return o===void 0||(sr&1073741824)!==0&&(Me&261930)===0?r.memoizedState=i:(r.memoizedState=o,r=B1(),xe.lanes|=r,ti|=r,o)}function Bg(r,i,o,c){return an(o,i)?o:Wa.current!==null?(r=h0(r,o,c),an(r,i)||(it=!0),r):(sr&42)===0||(sr&1073741824)!==0&&(Me&261930)===0?(it=!0,r.memoizedState=o):(r=B1(),xe.lanes|=r,ti|=r,i)}function Ig(r,i,o,c,h){var y=G.p;G.p=y!==0&&8>y?y:8;var w=$.T,A={};$.T=A,m0(r,!1,i,o);try{var L=h(),F=$.S;if(F!==null&&F(A,L),L!==null&&typeof L=="object"&&typeof L.then=="function"){var Z=t4(L,c);Oo(r,i,Z,fn(r))}else Oo(r,i,c,fn(r))}catch(ee){Oo(r,i,{then:function(){},status:"rejected",reason:ee},fn())}finally{G.p=y,w!==null&&A.types!==null&&(w.types=A.types),$.T=w}}function o4(){}function p0(r,i,o,c){if(r.tag!==5)throw Error(a(476));var h=Ng(r).queue;Ig(r,h,i,ne,o===null?o4:function(){return Lg(r),o(c)})}function Ng(r){var i=r.memoizedState;if(i!==null)return i;i={memoizedState:ne,baseState:ne,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:or,lastRenderedState:ne},next:null};var o={};return i.next={memoizedState:o,baseState:o,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:or,lastRenderedState:o},next:null},r.memoizedState=i,r=r.alternate,r!==null&&(r.memoizedState=i),i}function Lg(r){var i=Ng(r);i.next===null&&(i=r.alternate.memoizedState),Oo(r,i.next.queue,{},fn())}function y0(){return wt(Ko)}function $g(){return tt().memoizedState}function kg(){return tt().memoizedState}function u4(r){for(var i=r.return;i!==null;){switch(i.tag){case 24:case 3:var o=fn();r=Yr(o);var c=Zr(i,r,o);c!==null&&(Vt(c,i,o),To(c,i,o)),i={cache:qd()},r.payload=i;return}i=i.return}}function c4(r,i,o){var c=fn();o={lane:c,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},Gc(r)?jg(i,o):(o=Bd(r,i,o,c),o!==null&&(Vt(o,r,c),Dg(o,i,c)))}function Ug(r,i,o){var c=fn();Oo(r,i,o,c)}function Oo(r,i,o,c){var h={lane:c,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null};if(Gc(r))jg(i,h);else{var y=r.alternate;if(r.lanes===0&&(y===null||y.lanes===0)&&(y=i.lastRenderedReducer,y!==null))try{var w=i.lastRenderedState,A=y(w,o);if(h.hasEagerState=!0,h.eagerState=A,an(A,w))return Tc(r,i,h,0),Ue===null&&Ac(),!1}catch{}if(o=Bd(r,i,h,c),o!==null)return Vt(o,r,c),Dg(o,i,c),!0}return!1}function m0(r,i,o,c){if(c={lane:2,revertLane:Q0(),gesture:null,action:c,hasEagerState:!1,eagerState:null,next:null},Gc(r)){if(i)throw Error(a(479))}else i=Bd(r,o,c,2),i!==null&&Vt(i,r,2)}function Gc(r){var i=r.alternate;return r===xe||i!==null&&i===xe}function jg(r,i){es=kc=!0;var o=r.pending;o===null?i.next=i:(i.next=o.next,o.next=i),r.pending=i}function Dg(r,i,o){if((o&4194048)!==0){var c=i.lanes;c&=r.pendingLanes,o|=c,i.lanes=o,Vm(r,o)}}var Po={readContext:wt,use:Dc,useCallback:Xe,useContext:Xe,useEffect:Xe,useImperativeHandle:Xe,useLayoutEffect:Xe,useInsertionEffect:Xe,useMemo:Xe,useReducer:Xe,useRef:Xe,useState:Xe,useDebugValue:Xe,useDeferredValue:Xe,useTransition:Xe,useSyncExternalStore:Xe,useId:Xe,useHostTransitionStatus:Xe,useFormState:Xe,useActionState:Xe,useOptimistic:Xe,useMemoCache:Xe,useCacheRefresh:Xe};Po.useEffectEvent=Xe;var Hg={readContext:wt,use:Dc,useCallback:function(r,i){return zt().memoizedState=[r,i===void 0?null:i],r},useContext:wt,useEffect:Tg,useImperativeHandle:function(r,i,o){o=o!=null?o.concat([r]):null,Fc(4194308,4,_g.bind(null,i,r),o)},useLayoutEffect:function(r,i){return Fc(4194308,4,r,i)},useInsertionEffect:function(r,i){Fc(4,2,r,i)},useMemo:function(r,i){var o=zt();i=i===void 0?null:i;var c=r();if(ea){Dr(!0);try{r()}finally{Dr(!1)}}return o.memoizedState=[c,i],c},useReducer:function(r,i,o){var c=zt();if(o!==void 0){var h=o(i);if(ea){Dr(!0);try{o(i)}finally{Dr(!1)}}}else h=i;return c.memoizedState=c.baseState=h,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:h},c.queue=r,r=r.dispatch=c4.bind(null,xe,r),[c.memoizedState,r]},useRef:function(r){var i=zt();return r={current:r},i.memoizedState=r},useState:function(r){r=c0(r);var i=r.queue,o=Ug.bind(null,xe,i);return i.dispatch=o,[r.memoizedState,o]},useDebugValue:d0,useDeferredValue:function(r,i){var o=zt();return h0(o,r,i)},useTransition:function(){var r=c0(!1);return r=Ig.bind(null,xe,r.queue,!0,!1),zt().memoizedState=r,[!1,r]},useSyncExternalStore:function(r,i,o){var c=xe,h=zt();if(_e){if(o===void 0)throw Error(a(407));o=o()}else{if(o=i(),Ue===null)throw Error(a(349));(Me&127)!==0||cg(c,i,o)}h.memoizedState=o;var y={value:o,getSnapshot:i};return h.queue=y,Tg(fg.bind(null,c,y,r),[r]),c.flags|=2048,ns(9,{destroy:void 0},lg.bind(null,c,y,o,i),null),o},useId:function(){var r=zt(),i=Ue.identifierPrefix;if(_e){var o=Dn,c=jn;o=(c&~(1<<32-rn(c)-1)).toString(32)+o,i="_"+i+"R_"+o,o=Uc++,0<o&&(i+="H"+o.toString(32)),i+="_"}else o=n4++,i="_"+i+"r_"+o.toString(32)+"_";return r.memoizedState=i},useHostTransitionStatus:y0,useFormState:wg,useActionState:wg,useOptimistic:function(r){var i=zt();i.memoizedState=i.baseState=r;var o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return i.queue=o,i=m0.bind(null,xe,!0,o),o.dispatch=i,[r,i]},useMemoCache:s0,useCacheRefresh:function(){return zt().memoizedState=u4.bind(null,xe)},useEffectEvent:function(r){var i=zt(),o={impl:r};return i.memoizedState=o,function(){if((Be&2)!==0)throw Error(a(440));return o.impl.apply(void 0,arguments)}}},b0={readContext:wt,use:Dc,useCallback:Pg,useContext:wt,useEffect:f0,useImperativeHandle:Og,useInsertionEffect:Rg,useLayoutEffect:Cg,useMemo:zg,useReducer:Hc,useRef:Ag,useState:function(){return Hc(or)},useDebugValue:d0,useDeferredValue:function(r,i){var o=tt();return Bg(o,Le.memoizedState,r,i)},useTransition:function(){var r=Hc(or)[0],i=tt().memoizedState;return[typeof r=="boolean"?r:_o(r),i]},useSyncExternalStore:ug,useId:$g,useHostTransitionStatus:y0,useFormState:xg,useActionState:xg,useOptimistic:function(r,i){var o=tt();return pg(o,Le,r,i)},useMemoCache:s0,useCacheRefresh:kg};b0.useEffectEvent=Mg;var Fg={readContext:wt,use:Dc,useCallback:Pg,useContext:wt,useEffect:f0,useImperativeHandle:Og,useInsertionEffect:Rg,useLayoutEffect:Cg,useMemo:zg,useReducer:u0,useRef:Ag,useState:function(){return u0(or)},useDebugValue:d0,useDeferredValue:function(r,i){var o=tt();return Le===null?h0(o,r,i):Bg(o,Le.memoizedState,r,i)},useTransition:function(){var r=u0(or)[0],i=tt().memoizedState;return[typeof r=="boolean"?r:_o(r),i]},useSyncExternalStore:ug,useId:$g,useHostTransitionStatus:y0,useFormState:Eg,useActionState:Eg,useOptimistic:function(r,i){var o=tt();return Le!==null?pg(o,Le,r,i):(o.baseState=r,[r,o.queue.dispatch])},useMemoCache:s0,useCacheRefresh:kg};Fg.useEffectEvent=Mg;function g0(r,i,o,c){i=r.memoizedState,o=o(c,i),o=o==null?i:b({},i,o),r.memoizedState=o,r.lanes===0&&(r.updateQueue.baseState=o)}var v0={enqueueSetState:function(r,i,o){r=r._reactInternals;var c=fn(),h=Yr(c);h.payload=i,o!=null&&(h.callback=o),i=Zr(r,h,c),i!==null&&(Vt(i,r,c),To(i,r,c))},enqueueReplaceState:function(r,i,o){r=r._reactInternals;var c=fn(),h=Yr(c);h.tag=1,h.payload=i,o!=null&&(h.callback=o),i=Zr(r,h,c),i!==null&&(Vt(i,r,c),To(i,r,c))},enqueueForceUpdate:function(r,i){r=r._reactInternals;var o=fn(),c=Yr(o);c.tag=2,i!=null&&(c.callback=i),i=Zr(r,c,o),i!==null&&(Vt(i,r,o),To(i,r,o))}};function qg(r,i,o,c,h,y,w){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(c,y,w):i.prototype&&i.prototype.isPureReactComponent?!bo(o,c)||!bo(h,y):!0}function Gg(r,i,o,c){r=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(o,c),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(o,c),i.state!==r&&v0.enqueueReplaceState(i,i.state,null)}function ta(r,i){var o=i;if("ref"in i){o={};for(var c in i)c!=="ref"&&(o[c]=i[c])}if(r=r.defaultProps){o===i&&(o=b({},o));for(var h in r)o[h]===void 0&&(o[h]=r[h])}return o}function Vg(r){Ec(r)}function Kg(r){console.error(r)}function Qg(r){Ec(r)}function Vc(r,i){try{var o=r.onUncaughtError;o(i.value,{componentStack:i.stack})}catch(c){setTimeout(function(){throw c})}}function Yg(r,i,o){try{var c=r.onCaughtError;c(o.value,{componentStack:o.stack,errorBoundary:i.tag===1?i.stateNode:null})}catch(h){setTimeout(function(){throw h})}}function w0(r,i,o){return o=Yr(o),o.tag=3,o.payload={element:null},o.callback=function(){Vc(r,i)},o}function Zg(r){return r=Yr(r),r.tag=3,r}function Xg(r,i,o,c){var h=o.type.getDerivedStateFromError;if(typeof h=="function"){var y=c.value;r.payload=function(){return h(y)},r.callback=function(){Yg(i,o,c)}}var w=o.stateNode;w!==null&&typeof w.componentDidCatch=="function"&&(r.callback=function(){Yg(i,o,c),typeof h!="function"&&(ni===null?ni=new Set([this]):ni.add(this));var A=c.stack;this.componentDidCatch(c.value,{componentStack:A!==null?A:""})})}function l4(r,i,o,c,h){if(o.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){if(i=o.alternate,i!==null&&Qa(i,o,h,!0),o=on.current,o!==null){switch(o.tag){case 31:case 13:return Sn===null?il():o.alternate===null&&Je===0&&(Je=3),o.flags&=-257,o.flags|=65536,o.lanes=h,c===Bc?o.flags|=16384:(i=o.updateQueue,i===null?o.updateQueue=new Set([c]):i.add(c),G0(r,c,h)),!1;case 22:return o.flags|=65536,c===Bc?o.flags|=16384:(i=o.updateQueue,i===null?(i={transitions:null,markerInstances:null,retryQueue:new Set([c])},o.updateQueue=i):(o=i.retryQueue,o===null?i.retryQueue=new Set([c]):o.add(c)),G0(r,c,h)),!1}throw Error(a(435,o.tag))}return G0(r,c,h),il(),!1}if(_e)return i=on.current,i!==null?((i.flags&65536)===0&&(i.flags|=256),i.flags|=65536,i.lanes=h,c!==Ud&&(r=Error(a(422),{cause:c}),wo(gn(r,o)))):(c!==Ud&&(i=Error(a(423),{cause:c}),wo(gn(i,o))),r=r.current.alternate,r.flags|=65536,h&=-h,r.lanes|=h,c=gn(c,o),h=w0(r.stateNode,c,h),Zd(r,h),Je!==4&&(Je=2)),!1;var y=Error(a(520),{cause:c});if(y=gn(y,o),Uo===null?Uo=[y]:Uo.push(y),Je!==4&&(Je=2),i===null)return!0;c=gn(c,o),o=i;do{switch(o.tag){case 3:return o.flags|=65536,r=h&-h,o.lanes|=r,r=w0(o.stateNode,c,r),Zd(o,r),!1;case 1:if(i=o.type,y=o.stateNode,(o.flags&128)===0&&(typeof i.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(ni===null||!ni.has(y))))return o.flags|=65536,h&=-h,o.lanes|=h,h=Zg(h),Xg(h,r,o,c),Zd(o,h),!1}o=o.return}while(o!==null);return!1}var x0=Error(a(461)),it=!1;function xt(r,i,o,c){i.child=r===null?tg(i,null,o,c):Wi(i,r.child,o,c)}function Jg(r,i,o,c,h){o=o.render;var y=i.ref;if("ref"in c){var w={};for(var A in c)A!=="ref"&&(w[A]=c[A])}else w=c;return Yi(i),c=n0(r,i,o,w,y,h),A=r0(),r!==null&&!it?(i0(r,i,h),ur(r,i,h)):(_e&&A&&$d(i),i.flags|=1,xt(r,i,c,h),i.child)}function Wg(r,i,o,c,h){if(r===null){var y=o.type;return typeof y=="function"&&!Id(y)&&y.defaultProps===void 0&&o.compare===null?(i.tag=15,i.type=y,e1(r,i,y,c,h)):(r=Rc(o.type,null,c,i,i.mode,h),r.ref=i.ref,r.return=i,i.child=r)}if(y=r.child,!_0(r,h)){var w=y.memoizedProps;if(o=o.compare,o=o!==null?o:bo,o(w,c)&&r.ref===i.ref)return ur(r,i,h)}return i.flags|=1,r=nr(y,c),r.ref=i.ref,r.return=i,i.child=r}function e1(r,i,o,c,h){if(r!==null){var y=r.memoizedProps;if(bo(y,c)&&r.ref===i.ref)if(it=!1,i.pendingProps=c=y,_0(r,h))(r.flags&131072)!==0&&(it=!0);else return i.lanes=r.lanes,ur(r,i,h)}return S0(r,i,o,c,h)}function t1(r,i,o,c){var h=c.children,y=r!==null?r.memoizedState:null;if(r===null&&i.stateNode===null&&(i.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),c.mode==="hidden"){if((i.flags&128)!==0){if(y=y!==null?y.baseLanes|o:o,r!==null){for(c=i.child=r.child,h=0;c!==null;)h=h|c.lanes|c.childLanes,c=c.sibling;c=h&~y}else c=0,i.child=null;return n1(r,i,y,o,c)}if((o&536870912)!==0)i.memoizedState={baseLanes:0,cachePool:null},r!==null&&Pc(i,y!==null?y.cachePool:null),y!==null?ig(i,y):Jd(),ag(i);else return c=i.lanes=536870912,n1(r,i,y!==null?y.baseLanes|o:o,o,c)}else y!==null?(Pc(i,y.cachePool),ig(i,y),Jr(),i.memoizedState=null):(r!==null&&Pc(i,null),Jd(),Jr());return xt(r,i,h,o),i.child}function zo(r,i){return r!==null&&r.tag===22||i.stateNode!==null||(i.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.sibling}function n1(r,i,o,c,h){var y=Vd();return y=y===null?null:{parent:nt._currentValue,pool:y},i.memoizedState={baseLanes:o,cachePool:y},r!==null&&Pc(i,null),Jd(),ag(i),r!==null&&Qa(r,i,c,!0),i.childLanes=h,null}function Kc(r,i){return i=Yc({mode:i.mode,children:i.children},r.mode),i.ref=r.ref,r.child=i,i.return=r,i}function r1(r,i,o){return Wi(i,r.child,null,o),r=Kc(i,i.pendingProps),r.flags|=2,un(i),i.memoizedState=null,r}function f4(r,i,o){var c=i.pendingProps,h=(i.flags&128)!==0;if(i.flags&=-129,r===null){if(_e){if(c.mode==="hidden")return r=Kc(i,c),i.lanes=536870912,zo(null,r);if(e0(i),(r=qe)?(r=yv(r,xn),r=r!==null&&r.data==="&"?r:null,r!==null&&(i.memoizedState={dehydrated:r,treeContext:qr!==null?{id:jn,overflow:Dn}:null,retryLane:536870912,hydrationErrors:null},o=jb(r),o.return=i,i.child=o,vt=i,qe=null)):r=null,r===null)throw Vr(i);return i.lanes=536870912,null}return Kc(i,c)}var y=r.memoizedState;if(y!==null){var w=y.dehydrated;if(e0(i),h)if(i.flags&256)i.flags&=-257,i=r1(r,i,o);else if(i.memoizedState!==null)i.child=r.child,i.flags|=128,i=null;else throw Error(a(558));else if(it||Qa(r,i,o,!1),h=(o&r.childLanes)!==0,it||h){if(c=Ue,c!==null&&(w=Km(c,o),w!==0&&w!==y.retryLane))throw y.retryLane=w,Gi(r,w),Vt(c,r,w),x0;il(),i=r1(r,i,o)}else r=y.treeContext,qe=En(w.nextSibling),vt=i,_e=!0,Gr=null,xn=!1,r!==null&&Fb(i,r),i=Kc(i,c),i.flags|=4096;return i}return r=nr(r.child,{mode:c.mode,children:c.children}),r.ref=i.ref,i.child=r,r.return=i,r}function Qc(r,i){var o=i.ref;if(o===null)r!==null&&r.ref!==null&&(i.flags|=4194816);else{if(typeof o!="function"&&typeof o!="object")throw Error(a(284));(r===null||r.ref!==o)&&(i.flags|=4194816)}}function S0(r,i,o,c,h){return Yi(i),o=n0(r,i,o,c,void 0,h),c=r0(),r!==null&&!it?(i0(r,i,h),ur(r,i,h)):(_e&&c&&$d(i),i.flags|=1,xt(r,i,o,h),i.child)}function i1(r,i,o,c,h,y){return Yi(i),i.updateQueue=null,o=og(i,c,o,h),sg(r),c=r0(),r!==null&&!it?(i0(r,i,y),ur(r,i,y)):(_e&&c&&$d(i),i.flags|=1,xt(r,i,o,y),i.child)}function a1(r,i,o,c,h){if(Yi(i),i.stateNode===null){var y=qa,w=o.contextType;typeof w=="object"&&w!==null&&(y=wt(w)),y=new o(c,y),i.memoizedState=y.state!==null&&y.state!==void 0?y.state:null,y.updater=v0,i.stateNode=y,y._reactInternals=i,y=i.stateNode,y.props=c,y.state=i.memoizedState,y.refs={},Qd(i),w=o.contextType,y.context=typeof w=="object"&&w!==null?wt(w):qa,y.state=i.memoizedState,w=o.getDerivedStateFromProps,typeof w=="function"&&(g0(i,o,w,c),y.state=i.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof y.getSnapshotBeforeUpdate=="function"||typeof y.UNSAFE_componentWillMount!="function"&&typeof y.componentWillMount!="function"||(w=y.state,typeof y.componentWillMount=="function"&&y.componentWillMount(),typeof y.UNSAFE_componentWillMount=="function"&&y.UNSAFE_componentWillMount(),w!==y.state&&v0.enqueueReplaceState(y,y.state,null),Ro(i,c,y,h),Mo(),y.state=i.memoizedState),typeof y.componentDidMount=="function"&&(i.flags|=4194308),c=!0}else if(r===null){y=i.stateNode;var A=i.memoizedProps,L=ta(o,A);y.props=L;var F=y.context,Z=o.contextType;w=qa,typeof Z=="object"&&Z!==null&&(w=wt(Z));var ee=o.getDerivedStateFromProps;Z=typeof ee=="function"||typeof y.getSnapshotBeforeUpdate=="function",A=i.pendingProps!==A,Z||typeof y.UNSAFE_componentWillReceiveProps!="function"&&typeof y.componentWillReceiveProps!="function"||(A||F!==w)&&Gg(i,y,c,w),Qr=!1;var q=i.memoizedState;y.state=q,Ro(i,c,y,h),Mo(),F=i.memoizedState,A||q!==F||Qr?(typeof ee=="function"&&(g0(i,o,ee,c),F=i.memoizedState),(L=Qr||qg(i,o,L,c,q,F,w))?(Z||typeof y.UNSAFE_componentWillMount!="function"&&typeof y.componentWillMount!="function"||(typeof y.componentWillMount=="function"&&y.componentWillMount(),typeof y.UNSAFE_componentWillMount=="function"&&y.UNSAFE_componentWillMount()),typeof y.componentDidMount=="function"&&(i.flags|=4194308)):(typeof y.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=c,i.memoizedState=F),y.props=c,y.state=F,y.context=w,c=L):(typeof y.componentDidMount=="function"&&(i.flags|=4194308),c=!1)}else{y=i.stateNode,Yd(r,i),w=i.memoizedProps,Z=ta(o,w),y.props=Z,ee=i.pendingProps,q=y.context,F=o.contextType,L=qa,typeof F=="object"&&F!==null&&(L=wt(F)),A=o.getDerivedStateFromProps,(F=typeof A=="function"||typeof y.getSnapshotBeforeUpdate=="function")||typeof y.UNSAFE_componentWillReceiveProps!="function"&&typeof y.componentWillReceiveProps!="function"||(w!==ee||q!==L)&&Gg(i,y,c,L),Qr=!1,q=i.memoizedState,y.state=q,Ro(i,c,y,h),Mo();var K=i.memoizedState;w!==ee||q!==K||Qr||r!==null&&r.dependencies!==null&&_c(r.dependencies)?(typeof A=="function"&&(g0(i,o,A,c),K=i.memoizedState),(Z=Qr||qg(i,o,Z,c,q,K,L)||r!==null&&r.dependencies!==null&&_c(r.dependencies))?(F||typeof y.UNSAFE_componentWillUpdate!="function"&&typeof y.componentWillUpdate!="function"||(typeof y.componentWillUpdate=="function"&&y.componentWillUpdate(c,K,L),typeof y.UNSAFE_componentWillUpdate=="function"&&y.UNSAFE_componentWillUpdate(c,K,L)),typeof y.componentDidUpdate=="function"&&(i.flags|=4),typeof y.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof y.componentDidUpdate!="function"||w===r.memoizedProps&&q===r.memoizedState||(i.flags|=4),typeof y.getSnapshotBeforeUpdate!="function"||w===r.memoizedProps&&q===r.memoizedState||(i.flags|=1024),i.memoizedProps=c,i.memoizedState=K),y.props=c,y.state=K,y.context=L,c=Z):(typeof y.componentDidUpdate!="function"||w===r.memoizedProps&&q===r.memoizedState||(i.flags|=4),typeof y.getSnapshotBeforeUpdate!="function"||w===r.memoizedProps&&q===r.memoizedState||(i.flags|=1024),c=!1)}return y=c,Qc(r,i),c=(i.flags&128)!==0,y||c?(y=i.stateNode,o=c&&typeof o.getDerivedStateFromError!="function"?null:y.render(),i.flags|=1,r!==null&&c?(i.child=Wi(i,r.child,null,h),i.child=Wi(i,null,o,h)):xt(r,i,o,h),i.memoizedState=y.state,r=i.child):r=ur(r,i,h),r}function s1(r,i,o,c){return Ki(),i.flags|=256,xt(r,i,o,c),i.child}var E0={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function A0(r){return{baseLanes:r,cachePool:Yb()}}function T0(r,i,o){return r=r!==null?r.childLanes&~o:0,i&&(r|=ln),r}function o1(r,i,o){var c=i.pendingProps,h=!1,y=(i.flags&128)!==0,w;if((w=y)||(w=r!==null&&r.memoizedState===null?!1:(et.current&2)!==0),w&&(h=!0,i.flags&=-129),w=(i.flags&32)!==0,i.flags&=-33,r===null){if(_e){if(h?Xr(i):Jr(),(r=qe)?(r=yv(r,xn),r=r!==null&&r.data!=="&"?r:null,r!==null&&(i.memoizedState={dehydrated:r,treeContext:qr!==null?{id:jn,overflow:Dn}:null,retryLane:536870912,hydrationErrors:null},o=jb(r),o.return=i,i.child=o,vt=i,qe=null)):r=null,r===null)throw Vr(i);return oh(r)?i.lanes=32:i.lanes=536870912,null}var A=c.children;return c=c.fallback,h?(Jr(),h=i.mode,A=Yc({mode:"hidden",children:A},h),c=Vi(c,h,o,null),A.return=i,c.return=i,A.sibling=c,i.child=A,c=i.child,c.memoizedState=A0(o),c.childLanes=T0(r,w,o),i.memoizedState=E0,zo(null,c)):(Xr(i),M0(i,A))}var L=r.memoizedState;if(L!==null&&(A=L.dehydrated,A!==null)){if(y)i.flags&256?(Xr(i),i.flags&=-257,i=R0(r,i,o)):i.memoizedState!==null?(Jr(),i.child=r.child,i.flags|=128,i=null):(Jr(),A=c.fallback,h=i.mode,c=Yc({mode:"visible",children:c.children},h),A=Vi(A,h,o,null),A.flags|=2,c.return=i,A.return=i,c.sibling=A,i.child=c,Wi(i,r.child,null,o),c=i.child,c.memoizedState=A0(o),c.childLanes=T0(r,w,o),i.memoizedState=E0,i=zo(null,c));else if(Xr(i),oh(A)){if(w=A.nextSibling&&A.nextSibling.dataset,w)var F=w.dgst;w=F,c=Error(a(419)),c.stack="",c.digest=w,wo({value:c,source:null,stack:null}),i=R0(r,i,o)}else if(it||Qa(r,i,o,!1),w=(o&r.childLanes)!==0,it||w){if(w=Ue,w!==null&&(c=Km(w,o),c!==0&&c!==L.retryLane))throw L.retryLane=c,Gi(r,c),Vt(w,r,c),x0;sh(A)||il(),i=R0(r,i,o)}else sh(A)?(i.flags|=192,i.child=r.child,i=null):(r=L.treeContext,qe=En(A.nextSibling),vt=i,_e=!0,Gr=null,xn=!1,r!==null&&Fb(i,r),i=M0(i,c.children),i.flags|=4096);return i}return h?(Jr(),A=c.fallback,h=i.mode,L=r.child,F=L.sibling,c=nr(L,{mode:"hidden",children:c.children}),c.subtreeFlags=L.subtreeFlags&65011712,F!==null?A=nr(F,A):(A=Vi(A,h,o,null),A.flags|=2),A.return=i,c.return=i,c.sibling=A,i.child=c,zo(null,c),c=i.child,A=r.child.memoizedState,A===null?A=A0(o):(h=A.cachePool,h!==null?(L=nt._currentValue,h=h.parent!==L?{parent:L,pool:L}:h):h=Yb(),A={baseLanes:A.baseLanes|o,cachePool:h}),c.memoizedState=A,c.childLanes=T0(r,w,o),i.memoizedState=E0,zo(r.child,c)):(Xr(i),o=r.child,r=o.sibling,o=nr(o,{mode:"visible",children:c.children}),o.return=i,o.sibling=null,r!==null&&(w=i.deletions,w===null?(i.deletions=[r],i.flags|=16):w.push(r)),i.child=o,i.memoizedState=null,o)}function M0(r,i){return i=Yc({mode:"visible",children:i},r.mode),i.return=r,r.child=i}function Yc(r,i){return r=sn(22,r,null,i),r.lanes=0,r}function R0(r,i,o){return Wi(i,r.child,null,o),r=M0(i,i.pendingProps.children),r.flags|=2,i.memoizedState=null,r}function u1(r,i,o){r.lanes|=i;var c=r.alternate;c!==null&&(c.lanes|=i),Hd(r.return,i,o)}function C0(r,i,o,c,h,y){var w=r.memoizedState;w===null?r.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:c,tail:o,tailMode:h,treeForkCount:y}:(w.isBackwards=i,w.rendering=null,w.renderingStartTime=0,w.last=c,w.tail=o,w.tailMode=h,w.treeForkCount=y)}function c1(r,i,o){var c=i.pendingProps,h=c.revealOrder,y=c.tail;c=c.children;var w=et.current,A=(w&2)!==0;if(A?(w=w&1|2,i.flags|=128):w&=1,se(et,w),xt(r,i,c,o),c=_e?vo:0,!A&&r!==null&&(r.flags&128)!==0)e:for(r=i.child;r!==null;){if(r.tag===13)r.memoizedState!==null&&u1(r,o,i);else if(r.tag===19)u1(r,o,i);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===i)break e;for(;r.sibling===null;){if(r.return===null||r.return===i)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}switch(h){case"forwards":for(o=i.child,h=null;o!==null;)r=o.alternate,r!==null&&$c(r)===null&&(h=o),o=o.sibling;o=h,o===null?(h=i.child,i.child=null):(h=o.sibling,o.sibling=null),C0(i,!1,h,o,y,c);break;case"backwards":case"unstable_legacy-backwards":for(o=null,h=i.child,i.child=null;h!==null;){if(r=h.alternate,r!==null&&$c(r)===null){i.child=h;break}r=h.sibling,h.sibling=o,o=h,h=r}C0(i,!0,o,null,y,c);break;case"together":C0(i,!1,null,null,void 0,c);break;default:i.memoizedState=null}return i.child}function ur(r,i,o){if(r!==null&&(i.dependencies=r.dependencies),ti|=i.lanes,(o&i.childLanes)===0)if(r!==null){if(Qa(r,i,o,!1),(o&i.childLanes)===0)return null}else return null;if(r!==null&&i.child!==r.child)throw Error(a(153));if(i.child!==null){for(r=i.child,o=nr(r,r.pendingProps),i.child=o,o.return=i;r.sibling!==null;)r=r.sibling,o=o.sibling=nr(r,r.pendingProps),o.return=i;o.sibling=null}return i.child}function _0(r,i){return(r.lanes&i)!==0?!0:(r=r.dependencies,!!(r!==null&&_c(r)))}function d4(r,i,o){switch(i.tag){case 3:Fe(i,i.stateNode.containerInfo),Kr(i,nt,r.memoizedState.cache),Ki();break;case 27:case 5:Tt(i);break;case 4:Fe(i,i.stateNode.containerInfo);break;case 10:Kr(i,i.type,i.memoizedProps.value);break;case 31:if(i.memoizedState!==null)return i.flags|=128,e0(i),null;break;case 13:var c=i.memoizedState;if(c!==null)return c.dehydrated!==null?(Xr(i),i.flags|=128,null):(o&i.child.childLanes)!==0?o1(r,i,o):(Xr(i),r=ur(r,i,o),r!==null?r.sibling:null);Xr(i);break;case 19:var h=(r.flags&128)!==0;if(c=(o&i.childLanes)!==0,c||(Qa(r,i,o,!1),c=(o&i.childLanes)!==0),h){if(c)return c1(r,i,o);i.flags|=128}if(h=i.memoizedState,h!==null&&(h.rendering=null,h.tail=null,h.lastEffect=null),se(et,et.current),c)break;return null;case 22:return i.lanes=0,t1(r,i,o,i.pendingProps);case 24:Kr(i,nt,r.memoizedState.cache)}return ur(r,i,o)}function l1(r,i,o){if(r!==null)if(r.memoizedProps!==i.pendingProps)it=!0;else{if(!_0(r,o)&&(i.flags&128)===0)return it=!1,d4(r,i,o);it=(r.flags&131072)!==0}else it=!1,_e&&(i.flags&1048576)!==0&&Hb(i,vo,i.index);switch(i.lanes=0,i.tag){case 16:e:{var c=i.pendingProps;if(r=Xi(i.elementType),i.type=r,typeof r=="function")Id(r)?(c=ta(r,c),i.tag=1,i=a1(null,i,r,c,o)):(i.tag=0,i=S0(null,i,r,c,o));else{if(r!=null){var h=r.$$typeof;if(h===_){i.tag=11,i=Jg(null,i,r,c,o);break e}else if(h===O){i.tag=14,i=Wg(null,i,r,c,o);break e}}throw i=ue(r)||r,Error(a(306,i,""))}}return i;case 0:return S0(r,i,i.type,i.pendingProps,o);case 1:return c=i.type,h=ta(c,i.pendingProps),a1(r,i,c,h,o);case 3:e:{if(Fe(i,i.stateNode.containerInfo),r===null)throw Error(a(387));c=i.pendingProps;var y=i.memoizedState;h=y.element,Yd(r,i),Ro(i,c,null,o);var w=i.memoizedState;if(c=w.cache,Kr(i,nt,c),c!==y.cache&&Fd(i,[nt],o,!0),Mo(),c=w.element,y.isDehydrated)if(y={element:c,isDehydrated:!1,cache:w.cache},i.updateQueue.baseState=y,i.memoizedState=y,i.flags&256){i=s1(r,i,c,o);break e}else if(c!==h){h=gn(Error(a(424)),i),wo(h),i=s1(r,i,c,o);break e}else for(r=i.stateNode.containerInfo,r.nodeType===9?r=r.body:r=r.nodeName==="HTML"?r.ownerDocument.body:r,qe=En(r.firstChild),vt=i,_e=!0,Gr=null,xn=!0,o=tg(i,null,c,o),i.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling;else{if(Ki(),c===h){i=ur(r,i,o);break e}xt(r,i,c,o)}i=i.child}return i;case 26:return Qc(r,i),r===null?(o=xv(i.type,null,i.pendingProps,null))?i.memoizedState=o:_e||(o=i.type,r=i.pendingProps,c=fl(ge.current).createElement(o),c[gt]=i,c[jt]=r,St(c,o,r),ht(c),i.stateNode=c):i.memoizedState=xv(i.type,r.memoizedProps,i.pendingProps,r.memoizedState),null;case 27:return Tt(i),r===null&&_e&&(c=i.stateNode=gv(i.type,i.pendingProps,ge.current),vt=i,xn=!0,h=qe,si(i.type)?(uh=h,qe=En(c.firstChild)):qe=h),xt(r,i,i.pendingProps.children,o),Qc(r,i),r===null&&(i.flags|=4194304),i.child;case 5:return r===null&&_e&&((h=c=qe)&&(c=H4(c,i.type,i.pendingProps,xn),c!==null?(i.stateNode=c,vt=i,qe=En(c.firstChild),xn=!1,h=!0):h=!1),h||Vr(i)),Tt(i),h=i.type,y=i.pendingProps,w=r!==null?r.memoizedProps:null,c=y.children,rh(h,y)?c=null:w!==null&&rh(h,w)&&(i.flags|=32),i.memoizedState!==null&&(h=n0(r,i,r4,null,null,o),Ko._currentValue=h),Qc(r,i),xt(r,i,c,o),i.child;case 6:return r===null&&_e&&((r=o=qe)&&(o=F4(o,i.pendingProps,xn),o!==null?(i.stateNode=o,vt=i,qe=null,r=!0):r=!1),r||Vr(i)),null;case 13:return o1(r,i,o);case 4:return Fe(i,i.stateNode.containerInfo),c=i.pendingProps,r===null?i.child=Wi(i,null,c,o):xt(r,i,c,o),i.child;case 11:return Jg(r,i,i.type,i.pendingProps,o);case 7:return xt(r,i,i.pendingProps,o),i.child;case 8:return xt(r,i,i.pendingProps.children,o),i.child;case 12:return xt(r,i,i.pendingProps.children,o),i.child;case 10:return c=i.pendingProps,Kr(i,i.type,c.value),xt(r,i,c.children,o),i.child;case 9:return h=i.type._context,c=i.pendingProps.children,Yi(i),h=wt(h),c=c(h),i.flags|=1,xt(r,i,c,o),i.child;case 14:return Wg(r,i,i.type,i.pendingProps,o);case 15:return e1(r,i,i.type,i.pendingProps,o);case 19:return c1(r,i,o);case 31:return f4(r,i,o);case 22:return t1(r,i,o,i.pendingProps);case 24:return Yi(i),c=wt(nt),r===null?(h=Vd(),h===null&&(h=Ue,y=qd(),h.pooledCache=y,y.refCount++,y!==null&&(h.pooledCacheLanes|=o),h=y),i.memoizedState={parent:c,cache:h},Qd(i),Kr(i,nt,h)):((r.lanes&o)!==0&&(Yd(r,i),Ro(i,null,null,o),Mo()),h=r.memoizedState,y=i.memoizedState,h.parent!==c?(h={parent:c,cache:c},i.memoizedState=h,i.lanes===0&&(i.memoizedState=i.updateQueue.baseState=h),Kr(i,nt,c)):(c=y.cache,Kr(i,nt,c),c!==h.cache&&Fd(i,[nt],o,!0))),xt(r,i,i.pendingProps.children,o),i.child;case 29:throw i.pendingProps}throw Error(a(156,i.tag))}function cr(r){r.flags|=4}function O0(r,i,o,c,h){if((i=(r.mode&32)!==0)&&(i=!1),i){if(r.flags|=16777216,(h&335544128)===h)if(r.stateNode.complete)r.flags|=8192;else if($1())r.flags|=8192;else throw Ji=Bc,Kd}else r.flags&=-16777217}function f1(r,i){if(i.type!=="stylesheet"||(i.state.loading&4)!==0)r.flags&=-16777217;else if(r.flags|=16777216,!Mv(i))if($1())r.flags|=8192;else throw Ji=Bc,Kd}function Zc(r,i){i!==null&&(r.flags|=4),r.flags&16384&&(i=r.tag!==22?qm():536870912,r.lanes|=i,ss|=i)}function Bo(r,i){if(!_e)switch(r.tailMode){case"hidden":i=r.tail;for(var o=null;i!==null;)i.alternate!==null&&(o=i),i=i.sibling;o===null?r.tail=null:o.sibling=null;break;case"collapsed":o=r.tail;for(var c=null;o!==null;)o.alternate!==null&&(c=o),o=o.sibling;c===null?i||r.tail===null?r.tail=null:r.tail.sibling=null:c.sibling=null}}function Ge(r){var i=r.alternate!==null&&r.alternate.child===r.child,o=0,c=0;if(i)for(var h=r.child;h!==null;)o|=h.lanes|h.childLanes,c|=h.subtreeFlags&65011712,c|=h.flags&65011712,h.return=r,h=h.sibling;else for(h=r.child;h!==null;)o|=h.lanes|h.childLanes,c|=h.subtreeFlags,c|=h.flags,h.return=r,h=h.sibling;return r.subtreeFlags|=c,r.childLanes=o,i}function h4(r,i,o){var c=i.pendingProps;switch(kd(i),i.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ge(i),null;case 1:return Ge(i),null;case 3:return o=i.stateNode,c=null,r!==null&&(c=r.memoizedState.cache),i.memoizedState.cache!==c&&(i.flags|=2048),ar(nt),Ce(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(r===null||r.child===null)&&(Ka(i)?cr(i):r===null||r.memoizedState.isDehydrated&&(i.flags&256)===0||(i.flags|=1024,jd())),Ge(i),null;case 26:var h=i.type,y=i.memoizedState;return r===null?(cr(i),y!==null?(Ge(i),f1(i,y)):(Ge(i),O0(i,h,null,c,o))):y?y!==r.memoizedState?(cr(i),Ge(i),f1(i,y)):(Ge(i),i.flags&=-16777217):(r=r.memoizedProps,r!==c&&cr(i),Ge(i),O0(i,h,r,c,o)),null;case 27:if(en(i),o=ge.current,h=i.type,r!==null&&i.stateNode!=null)r.memoizedProps!==c&&cr(i);else{if(!c){if(i.stateNode===null)throw Error(a(166));return Ge(i),null}r=ae.current,Ka(i)?qb(i):(r=gv(h,c,o),i.stateNode=r,cr(i))}return Ge(i),null;case 5:if(en(i),h=i.type,r!==null&&i.stateNode!=null)r.memoizedProps!==c&&cr(i);else{if(!c){if(i.stateNode===null)throw Error(a(166));return Ge(i),null}if(y=ae.current,Ka(i))qb(i);else{var w=fl(ge.current);switch(y){case 1:y=w.createElementNS("http://www.w3.org/2000/svg",h);break;case 2:y=w.createElementNS("http://www.w3.org/1998/Math/MathML",h);break;default:switch(h){case"svg":y=w.createElementNS("http://www.w3.org/2000/svg",h);break;case"math":y=w.createElementNS("http://www.w3.org/1998/Math/MathML",h);break;case"script":y=w.createElement("div"),y.innerHTML="<script><\\/script>",y=y.removeChild(y.firstChild);break;case"select":y=typeof c.is=="string"?w.createElement("select",{is:c.is}):w.createElement("select"),c.multiple?y.multiple=!0:c.size&&(y.size=c.size);break;default:y=typeof c.is=="string"?w.createElement(h,{is:c.is}):w.createElement(h)}}y[gt]=i,y[jt]=c;e:for(w=i.child;w!==null;){if(w.tag===5||w.tag===6)y.appendChild(w.stateNode);else if(w.tag!==4&&w.tag!==27&&w.child!==null){w.child.return=w,w=w.child;continue}if(w===i)break e;for(;w.sibling===null;){if(w.return===null||w.return===i)break e;w=w.return}w.sibling.return=w.return,w=w.sibling}i.stateNode=y;e:switch(St(y,h,c),h){case"button":case"input":case"select":case"textarea":c=!!c.autoFocus;break e;case"img":c=!0;break e;default:c=!1}c&&cr(i)}}return Ge(i),O0(i,i.type,r===null?null:r.memoizedProps,i.pendingProps,o),null;case 6:if(r&&i.stateNode!=null)r.memoizedProps!==c&&cr(i);else{if(typeof c!="string"&&i.stateNode===null)throw Error(a(166));if(r=ge.current,Ka(i)){if(r=i.stateNode,o=i.memoizedProps,c=null,h=vt,h!==null)switch(h.tag){case 27:case 5:c=h.memoizedProps}r[gt]=i,r=!!(r.nodeValue===o||c!==null&&c.suppressHydrationWarning===!0||ov(r.nodeValue,o)),r||Vr(i,!0)}else r=fl(r).createTextNode(c),r[gt]=i,i.stateNode=r}return Ge(i),null;case 31:if(o=i.memoizedState,r===null||r.memoizedState!==null){if(c=Ka(i),o!==null){if(r===null){if(!c)throw Error(a(318));if(r=i.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(a(557));r[gt]=i}else Ki(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;Ge(i),r=!1}else o=jd(),r!==null&&r.memoizedState!==null&&(r.memoizedState.hydrationErrors=o),r=!0;if(!r)return i.flags&256?(un(i),i):(un(i),null);if((i.flags&128)!==0)throw Error(a(558))}return Ge(i),null;case 13:if(c=i.memoizedState,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if(h=Ka(i),c!==null&&c.dehydrated!==null){if(r===null){if(!h)throw Error(a(318));if(h=i.memoizedState,h=h!==null?h.dehydrated:null,!h)throw Error(a(317));h[gt]=i}else Ki(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;Ge(i),h=!1}else h=jd(),r!==null&&r.memoizedState!==null&&(r.memoizedState.hydrationErrors=h),h=!0;if(!h)return i.flags&256?(un(i),i):(un(i),null)}return un(i),(i.flags&128)!==0?(i.lanes=o,i):(o=c!==null,r=r!==null&&r.memoizedState!==null,o&&(c=i.child,h=null,c.alternate!==null&&c.alternate.memoizedState!==null&&c.alternate.memoizedState.cachePool!==null&&(h=c.alternate.memoizedState.cachePool.pool),y=null,c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(y=c.memoizedState.cachePool.pool),y!==h&&(c.flags|=2048)),o!==r&&o&&(i.child.flags|=8192),Zc(i,i.updateQueue),Ge(i),null);case 4:return Ce(),r===null&&J0(i.stateNode.containerInfo),Ge(i),null;case 10:return ar(i.type),Ge(i),null;case 19:if(Y(et),c=i.memoizedState,c===null)return Ge(i),null;if(h=(i.flags&128)!==0,y=c.rendering,y===null)if(h)Bo(c,!1);else{if(Je!==0||r!==null&&(r.flags&128)!==0)for(r=i.child;r!==null;){if(y=$c(r),y!==null){for(i.flags|=128,Bo(c,!1),r=y.updateQueue,i.updateQueue=r,Zc(i,r),i.subtreeFlags=0,r=o,o=i.child;o!==null;)Ub(o,r),o=o.sibling;return se(et,et.current&1|2),_e&&rr(i,c.treeForkCount),i.child}r=r.sibling}c.tail!==null&&Rt()>tl&&(i.flags|=128,h=!0,Bo(c,!1),i.lanes=4194304)}else{if(!h)if(r=$c(y),r!==null){if(i.flags|=128,h=!0,r=r.updateQueue,i.updateQueue=r,Zc(i,r),Bo(c,!0),c.tail===null&&c.tailMode==="hidden"&&!y.alternate&&!_e)return Ge(i),null}else 2*Rt()-c.renderingStartTime>tl&&o!==536870912&&(i.flags|=128,h=!0,Bo(c,!1),i.lanes=4194304);c.isBackwards?(y.sibling=i.child,i.child=y):(r=c.last,r!==null?r.sibling=y:i.child=y,c.last=y)}return c.tail!==null?(r=c.tail,c.rendering=r,c.tail=r.sibling,c.renderingStartTime=Rt(),r.sibling=null,o=et.current,se(et,h?o&1|2:o&1),_e&&rr(i,c.treeForkCount),r):(Ge(i),null);case 22:case 23:return un(i),Wd(),c=i.memoizedState!==null,r!==null?r.memoizedState!==null!==c&&(i.flags|=8192):c&&(i.flags|=8192),c?(o&536870912)!==0&&(i.flags&128)===0&&(Ge(i),i.subtreeFlags&6&&(i.flags|=8192)):Ge(i),o=i.updateQueue,o!==null&&Zc(i,o.retryQueue),o=null,r!==null&&r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),c=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(c=i.memoizedState.cachePool.pool),c!==o&&(i.flags|=2048),r!==null&&Y(Zi),null;case 24:return o=null,r!==null&&(o=r.memoizedState.cache),i.memoizedState.cache!==o&&(i.flags|=2048),ar(nt),Ge(i),null;case 25:return null;case 30:return null}throw Error(a(156,i.tag))}function p4(r,i){switch(kd(i),i.tag){case 1:return r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 3:return ar(nt),Ce(),r=i.flags,(r&65536)!==0&&(r&128)===0?(i.flags=r&-65537|128,i):null;case 26:case 27:case 5:return en(i),null;case 31:if(i.memoizedState!==null){if(un(i),i.alternate===null)throw Error(a(340));Ki()}return r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 13:if(un(i),r=i.memoizedState,r!==null&&r.dehydrated!==null){if(i.alternate===null)throw Error(a(340));Ki()}return r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 19:return Y(et),null;case 4:return Ce(),null;case 10:return ar(i.type),null;case 22:case 23:return un(i),Wd(),r!==null&&Y(Zi),r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 24:return ar(nt),null;case 25:return null;default:return null}}function d1(r,i){switch(kd(i),i.tag){case 3:ar(nt),Ce();break;case 26:case 27:case 5:en(i);break;case 4:Ce();break;case 31:i.memoizedState!==null&&un(i);break;case 13:un(i);break;case 19:Y(et);break;case 10:ar(i.type);break;case 22:case 23:un(i),Wd(),r!==null&&Y(Zi);break;case 24:ar(nt)}}function Io(r,i){try{var o=i.updateQueue,c=o!==null?o.lastEffect:null;if(c!==null){var h=c.next;o=h;do{if((o.tag&r)===r){c=void 0;var y=o.create,w=o.inst;c=y(),w.destroy=c}o=o.next}while(o!==h)}}catch(A){Ne(i,i.return,A)}}function Wr(r,i,o){try{var c=i.updateQueue,h=c!==null?c.lastEffect:null;if(h!==null){var y=h.next;c=y;do{if((c.tag&r)===r){var w=c.inst,A=w.destroy;if(A!==void 0){w.destroy=void 0,h=i;var L=o,F=A;try{F()}catch(Z){Ne(h,L,Z)}}}c=c.next}while(c!==y)}}catch(Z){Ne(i,i.return,Z)}}function h1(r){var i=r.updateQueue;if(i!==null){var o=r.stateNode;try{rg(i,o)}catch(c){Ne(r,r.return,c)}}}function p1(r,i,o){o.props=ta(r.type,r.memoizedProps),o.state=r.memoizedState;try{o.componentWillUnmount()}catch(c){Ne(r,i,c)}}function No(r,i){try{var o=r.ref;if(o!==null){switch(r.tag){case 26:case 27:case 5:var c=r.stateNode;break;case 30:c=r.stateNode;break;default:c=r.stateNode}typeof o=="function"?r.refCleanup=o(c):o.current=c}}catch(h){Ne(r,i,h)}}function Hn(r,i){var o=r.ref,c=r.refCleanup;if(o!==null)if(typeof c=="function")try{c()}catch(h){Ne(r,i,h)}finally{r.refCleanup=null,r=r.alternate,r!=null&&(r.refCleanup=null)}else if(typeof o=="function")try{o(null)}catch(h){Ne(r,i,h)}else o.current=null}function y1(r){var i=r.type,o=r.memoizedProps,c=r.stateNode;try{e:switch(i){case"button":case"input":case"select":case"textarea":o.autoFocus&&c.focus();break e;case"img":o.src?c.src=o.src:o.srcSet&&(c.srcset=o.srcSet)}}catch(h){Ne(r,r.return,h)}}function P0(r,i,o){try{var c=r.stateNode;L4(c,r.type,o,i),c[jt]=i}catch(h){Ne(r,r.return,h)}}function m1(r){return r.tag===5||r.tag===3||r.tag===26||r.tag===27&&si(r.type)||r.tag===4}function z0(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||m1(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.tag===27&&si(r.type)||r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function B0(r,i,o){var c=r.tag;if(c===5||c===6)r=r.stateNode,i?(o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o).insertBefore(r,i):(i=o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o,i.appendChild(r),o=o._reactRootContainer,o!=null||i.onclick!==null||(i.onclick=er));else if(c!==4&&(c===27&&si(r.type)&&(o=r.stateNode,i=null),r=r.child,r!==null))for(B0(r,i,o),r=r.sibling;r!==null;)B0(r,i,o),r=r.sibling}function Xc(r,i,o){var c=r.tag;if(c===5||c===6)r=r.stateNode,i?o.insertBefore(r,i):o.appendChild(r);else if(c!==4&&(c===27&&si(r.type)&&(o=r.stateNode),r=r.child,r!==null))for(Xc(r,i,o),r=r.sibling;r!==null;)Xc(r,i,o),r=r.sibling}function b1(r){var i=r.stateNode,o=r.memoizedProps;try{for(var c=r.type,h=i.attributes;h.length;)i.removeAttributeNode(h[0]);St(i,c,o),i[gt]=r,i[jt]=o}catch(y){Ne(r,r.return,y)}}var lr=!1,at=!1,I0=!1,g1=typeof WeakSet=="function"?WeakSet:Set,pt=null;function y4(r,i){if(r=r.containerInfo,th=gl,r=Ob(r),Rd(r)){if("selectionStart"in r)var o={start:r.selectionStart,end:r.selectionEnd};else e:{o=(o=r.ownerDocument)&&o.defaultView||window;var c=o.getSelection&&o.getSelection();if(c&&c.rangeCount!==0){o=c.anchorNode;var h=c.anchorOffset,y=c.focusNode;c=c.focusOffset;try{o.nodeType,y.nodeType}catch{o=null;break e}var w=0,A=-1,L=-1,F=0,Z=0,ee=r,q=null;t:for(;;){for(var K;ee!==o||h!==0&&ee.nodeType!==3||(A=w+h),ee!==y||c!==0&&ee.nodeType!==3||(L=w+c),ee.nodeType===3&&(w+=ee.nodeValue.length),(K=ee.firstChild)!==null;)q=ee,ee=K;for(;;){if(ee===r)break t;if(q===o&&++F===h&&(A=w),q===y&&++Z===c&&(L=w),(K=ee.nextSibling)!==null)break;ee=q,q=ee.parentNode}ee=K}o=A===-1||L===-1?null:{start:A,end:L}}else o=null}o=o||{start:0,end:0}}else o=null;for(nh={focusedElem:r,selectionRange:o},gl=!1,pt=i;pt!==null;)if(i=pt,r=i.child,(i.subtreeFlags&1028)!==0&&r!==null)r.return=i,pt=r;else for(;pt!==null;){switch(i=pt,y=i.alternate,r=i.flags,i.tag){case 0:if((r&4)!==0&&(r=i.updateQueue,r=r!==null?r.events:null,r!==null))for(o=0;o<r.length;o++)h=r[o],h.ref.impl=h.nextImpl;break;case 11:case 15:break;case 1:if((r&1024)!==0&&y!==null){r=void 0,o=i,h=y.memoizedProps,y=y.memoizedState,c=o.stateNode;try{var de=ta(o.type,h);r=c.getSnapshotBeforeUpdate(de,y),c.__reactInternalSnapshotBeforeUpdate=r}catch(be){Ne(o,o.return,be)}}break;case 3:if((r&1024)!==0){if(r=i.stateNode.containerInfo,o=r.nodeType,o===9)ah(r);else if(o===1)switch(r.nodeName){case"HEAD":case"HTML":case"BODY":ah(r);break;default:r.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((r&1024)!==0)throw Error(a(163))}if(r=i.sibling,r!==null){r.return=i.return,pt=r;break}pt=i.return}}function v1(r,i,o){var c=o.flags;switch(o.tag){case 0:case 11:case 15:dr(r,o),c&4&&Io(5,o);break;case 1:if(dr(r,o),c&4)if(r=o.stateNode,i===null)try{r.componentDidMount()}catch(w){Ne(o,o.return,w)}else{var h=ta(o.type,i.memoizedProps);i=i.memoizedState;try{r.componentDidUpdate(h,i,r.__reactInternalSnapshotBeforeUpdate)}catch(w){Ne(o,o.return,w)}}c&64&&h1(o),c&512&&No(o,o.return);break;case 3:if(dr(r,o),c&64&&(r=o.updateQueue,r!==null)){if(i=null,o.child!==null)switch(o.child.tag){case 27:case 5:i=o.child.stateNode;break;case 1:i=o.child.stateNode}try{rg(r,i)}catch(w){Ne(o,o.return,w)}}break;case 27:i===null&&c&4&&b1(o);case 26:case 5:dr(r,o),i===null&&c&4&&y1(o),c&512&&No(o,o.return);break;case 12:dr(r,o);break;case 31:dr(r,o),c&4&&S1(r,o);break;case 13:dr(r,o),c&4&&E1(r,o),c&64&&(r=o.memoizedState,r!==null&&(r=r.dehydrated,r!==null&&(o=A4.bind(null,o),q4(r,o))));break;case 22:if(c=o.memoizedState!==null||lr,!c){i=i!==null&&i.memoizedState!==null||at,h=lr;var y=at;lr=c,(at=i)&&!y?hr(r,o,(o.subtreeFlags&8772)!==0):dr(r,o),lr=h,at=y}break;case 30:break;default:dr(r,o)}}function w1(r){var i=r.alternate;i!==null&&(r.alternate=null,w1(i)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(i=r.stateNode,i!==null&&ld(i)),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}var Ke=null,Ht=!1;function fr(r,i,o){for(o=o.child;o!==null;)x1(r,i,o),o=o.sibling}function x1(r,i,o){if(nn&&typeof nn.onCommitFiberUnmount=="function")try{nn.onCommitFiberUnmount(io,o)}catch{}switch(o.tag){case 26:at||Hn(o,i),fr(r,i,o),o.memoizedState?o.memoizedState.count--:o.stateNode&&(o=o.stateNode,o.parentNode.removeChild(o));break;case 27:at||Hn(o,i);var c=Ke,h=Ht;si(o.type)&&(Ke=o.stateNode,Ht=!1),fr(r,i,o),qo(o.stateNode),Ke=c,Ht=h;break;case 5:at||Hn(o,i);case 6:if(c=Ke,h=Ht,Ke=null,fr(r,i,o),Ke=c,Ht=h,Ke!==null)if(Ht)try{(Ke.nodeType===9?Ke.body:Ke.nodeName==="HTML"?Ke.ownerDocument.body:Ke).removeChild(o.stateNode)}catch(y){Ne(o,i,y)}else try{Ke.removeChild(o.stateNode)}catch(y){Ne(o,i,y)}break;case 18:Ke!==null&&(Ht?(r=Ke,hv(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,o.stateNode),ps(r)):hv(Ke,o.stateNode));break;case 4:c=Ke,h=Ht,Ke=o.stateNode.containerInfo,Ht=!0,fr(r,i,o),Ke=c,Ht=h;break;case 0:case 11:case 14:case 15:Wr(2,o,i),at||Wr(4,o,i),fr(r,i,o);break;case 1:at||(Hn(o,i),c=o.stateNode,typeof c.componentWillUnmount=="function"&&p1(o,i,c)),fr(r,i,o);break;case 21:fr(r,i,o);break;case 22:at=(c=at)||o.memoizedState!==null,fr(r,i,o),at=c;break;default:fr(r,i,o)}}function S1(r,i){if(i.memoizedState===null&&(r=i.alternate,r!==null&&(r=r.memoizedState,r!==null))){r=r.dehydrated;try{ps(r)}catch(o){Ne(i,i.return,o)}}}function E1(r,i){if(i.memoizedState===null&&(r=i.alternate,r!==null&&(r=r.memoizedState,r!==null&&(r=r.dehydrated,r!==null))))try{ps(r)}catch(o){Ne(i,i.return,o)}}function m4(r){switch(r.tag){case 31:case 13:case 19:var i=r.stateNode;return i===null&&(i=r.stateNode=new g1),i;case 22:return r=r.stateNode,i=r._retryCache,i===null&&(i=r._retryCache=new g1),i;default:throw Error(a(435,r.tag))}}function Jc(r,i){var o=m4(r);i.forEach(function(c){if(!o.has(c)){o.add(c);var h=T4.bind(null,r,c);c.then(h,h)}})}function Ft(r,i){var o=i.deletions;if(o!==null)for(var c=0;c<o.length;c++){var h=o[c],y=r,w=i,A=w;e:for(;A!==null;){switch(A.tag){case 27:if(si(A.type)){Ke=A.stateNode,Ht=!1;break e}break;case 5:Ke=A.stateNode,Ht=!1;break e;case 3:case 4:Ke=A.stateNode.containerInfo,Ht=!0;break e}A=A.return}if(Ke===null)throw Error(a(160));x1(y,w,h),Ke=null,Ht=!1,y=h.alternate,y!==null&&(y.return=null),h.return=null}if(i.subtreeFlags&13886)for(i=i.child;i!==null;)A1(i,r),i=i.sibling}var zn=null;function A1(r,i){var o=r.alternate,c=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:Ft(i,r),qt(r),c&4&&(Wr(3,r,r.return),Io(3,r),Wr(5,r,r.return));break;case 1:Ft(i,r),qt(r),c&512&&(at||o===null||Hn(o,o.return)),c&64&&lr&&(r=r.updateQueue,r!==null&&(c=r.callbacks,c!==null&&(o=r.shared.hiddenCallbacks,r.shared.hiddenCallbacks=o===null?c:o.concat(c))));break;case 26:var h=zn;if(Ft(i,r),qt(r),c&512&&(at||o===null||Hn(o,o.return)),c&4){var y=o!==null?o.memoizedState:null;if(c=r.memoizedState,o===null)if(c===null)if(r.stateNode===null){e:{c=r.type,o=r.memoizedProps,h=h.ownerDocument||h;t:switch(c){case"title":y=h.getElementsByTagName("title")[0],(!y||y[oo]||y[gt]||y.namespaceURI==="http://www.w3.org/2000/svg"||y.hasAttribute("itemprop"))&&(y=h.createElement(c),h.head.insertBefore(y,h.querySelector("head > title"))),St(y,c,o),y[gt]=r,ht(y),c=y;break e;case"link":var w=Av("link","href",h).get(c+(o.href||""));if(w){for(var A=0;A<w.length;A++)if(y=w[A],y.getAttribute("href")===(o.href==null||o.href===""?null:o.href)&&y.getAttribute("rel")===(o.rel==null?null:o.rel)&&y.getAttribute("title")===(o.title==null?null:o.title)&&y.getAttribute("crossorigin")===(o.crossOrigin==null?null:o.crossOrigin)){w.splice(A,1);break t}}y=h.createElement(c),St(y,c,o),h.head.appendChild(y);break;case"meta":if(w=Av("meta","content",h).get(c+(o.content||""))){for(A=0;A<w.length;A++)if(y=w[A],y.getAttribute("content")===(o.content==null?null:""+o.content)&&y.getAttribute("name")===(o.name==null?null:o.name)&&y.getAttribute("property")===(o.property==null?null:o.property)&&y.getAttribute("http-equiv")===(o.httpEquiv==null?null:o.httpEquiv)&&y.getAttribute("charset")===(o.charSet==null?null:o.charSet)){w.splice(A,1);break t}}y=h.createElement(c),St(y,c,o),h.head.appendChild(y);break;default:throw Error(a(468,c))}y[gt]=r,ht(y),c=y}r.stateNode=c}else Tv(h,r.type,r.stateNode);else r.stateNode=Ev(h,c,r.memoizedProps);else y!==c?(y===null?o.stateNode!==null&&(o=o.stateNode,o.parentNode.removeChild(o)):y.count--,c===null?Tv(h,r.type,r.stateNode):Ev(h,c,r.memoizedProps)):c===null&&r.stateNode!==null&&P0(r,r.memoizedProps,o.memoizedProps)}break;case 27:Ft(i,r),qt(r),c&512&&(at||o===null||Hn(o,o.return)),o!==null&&c&4&&P0(r,r.memoizedProps,o.memoizedProps);break;case 5:if(Ft(i,r),qt(r),c&512&&(at||o===null||Hn(o,o.return)),r.flags&32){h=r.stateNode;try{$a(h,"")}catch(de){Ne(r,r.return,de)}}c&4&&r.stateNode!=null&&(h=r.memoizedProps,P0(r,h,o!==null?o.memoizedProps:h)),c&1024&&(I0=!0);break;case 6:if(Ft(i,r),qt(r),c&4){if(r.stateNode===null)throw Error(a(162));c=r.memoizedProps,o=r.stateNode;try{o.nodeValue=c}catch(de){Ne(r,r.return,de)}}break;case 3:if(pl=null,h=zn,zn=dl(i.containerInfo),Ft(i,r),zn=h,qt(r),c&4&&o!==null&&o.memoizedState.isDehydrated)try{ps(i.containerInfo)}catch(de){Ne(r,r.return,de)}I0&&(I0=!1,T1(r));break;case 4:c=zn,zn=dl(r.stateNode.containerInfo),Ft(i,r),qt(r),zn=c;break;case 12:Ft(i,r),qt(r);break;case 31:Ft(i,r),qt(r),c&4&&(c=r.updateQueue,c!==null&&(r.updateQueue=null,Jc(r,c)));break;case 13:Ft(i,r),qt(r),r.child.flags&8192&&r.memoizedState!==null!=(o!==null&&o.memoizedState!==null)&&(el=Rt()),c&4&&(c=r.updateQueue,c!==null&&(r.updateQueue=null,Jc(r,c)));break;case 22:h=r.memoizedState!==null;var L=o!==null&&o.memoizedState!==null,F=lr,Z=at;if(lr=F||h,at=Z||L,Ft(i,r),at=Z,lr=F,qt(r),c&8192)e:for(i=r.stateNode,i._visibility=h?i._visibility&-2:i._visibility|1,h&&(o===null||L||lr||at||na(r)),o=null,i=r;;){if(i.tag===5||i.tag===26){if(o===null){L=o=i;try{if(y=L.stateNode,h)w=y.style,typeof w.setProperty=="function"?w.setProperty("display","none","important"):w.display="none";else{A=L.stateNode;var ee=L.memoizedProps.style,q=ee!=null&&ee.hasOwnProperty("display")?ee.display:null;A.style.display=q==null||typeof q=="boolean"?"":(""+q).trim()}}catch(de){Ne(L,L.return,de)}}}else if(i.tag===6){if(o===null){L=i;try{L.stateNode.nodeValue=h?"":L.memoizedProps}catch(de){Ne(L,L.return,de)}}}else if(i.tag===18){if(o===null){L=i;try{var K=L.stateNode;h?pv(K,!0):pv(L.stateNode,!1)}catch(de){Ne(L,L.return,de)}}}else if((i.tag!==22&&i.tag!==23||i.memoizedState===null||i===r)&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===r)break e;for(;i.sibling===null;){if(i.return===null||i.return===r)break e;o===i&&(o=null),i=i.return}o===i&&(o=null),i.sibling.return=i.return,i=i.sibling}c&4&&(c=r.updateQueue,c!==null&&(o=c.retryQueue,o!==null&&(c.retryQueue=null,Jc(r,o))));break;case 19:Ft(i,r),qt(r),c&4&&(c=r.updateQueue,c!==null&&(r.updateQueue=null,Jc(r,c)));break;case 30:break;case 21:break;default:Ft(i,r),qt(r)}}function qt(r){var i=r.flags;if(i&2){try{for(var o,c=r.return;c!==null;){if(m1(c)){o=c;break}c=c.return}if(o==null)throw Error(a(160));switch(o.tag){case 27:var h=o.stateNode,y=z0(r);Xc(r,y,h);break;case 5:var w=o.stateNode;o.flags&32&&($a(w,""),o.flags&=-33);var A=z0(r);Xc(r,A,w);break;case 3:case 4:var L=o.stateNode.containerInfo,F=z0(r);B0(r,F,L);break;default:throw Error(a(161))}}catch(Z){Ne(r,r.return,Z)}r.flags&=-3}i&4096&&(r.flags&=-4097)}function T1(r){if(r.subtreeFlags&1024)for(r=r.child;r!==null;){var i=r;T1(i),i.tag===5&&i.flags&1024&&i.stateNode.reset(),r=r.sibling}}function dr(r,i){if(i.subtreeFlags&8772)for(i=i.child;i!==null;)v1(r,i.alternate,i),i=i.sibling}function na(r){for(r=r.child;r!==null;){var i=r;switch(i.tag){case 0:case 11:case 14:case 15:Wr(4,i,i.return),na(i);break;case 1:Hn(i,i.return);var o=i.stateNode;typeof o.componentWillUnmount=="function"&&p1(i,i.return,o),na(i);break;case 27:qo(i.stateNode);case 26:case 5:Hn(i,i.return),na(i);break;case 22:i.memoizedState===null&&na(i);break;case 30:na(i);break;default:na(i)}r=r.sibling}}function hr(r,i,o){for(o=o&&(i.subtreeFlags&8772)!==0,i=i.child;i!==null;){var c=i.alternate,h=r,y=i,w=y.flags;switch(y.tag){case 0:case 11:case 15:hr(h,y,o),Io(4,y);break;case 1:if(hr(h,y,o),c=y,h=c.stateNode,typeof h.componentDidMount=="function")try{h.componentDidMount()}catch(F){Ne(c,c.return,F)}if(c=y,h=c.updateQueue,h!==null){var A=c.stateNode;try{var L=h.shared.hiddenCallbacks;if(L!==null)for(h.shared.hiddenCallbacks=null,h=0;h<L.length;h++)ng(L[h],A)}catch(F){Ne(c,c.return,F)}}o&&w&64&&h1(y),No(y,y.return);break;case 27:b1(y);case 26:case 5:hr(h,y,o),o&&c===null&&w&4&&y1(y),No(y,y.return);break;case 12:hr(h,y,o);break;case 31:hr(h,y,o),o&&w&4&&S1(h,y);break;case 13:hr(h,y,o),o&&w&4&&E1(h,y);break;case 22:y.memoizedState===null&&hr(h,y,o),No(y,y.return);break;case 30:break;default:hr(h,y,o)}i=i.sibling}}function N0(r,i){var o=null;r!==null&&r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),r=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(r=i.memoizedState.cachePool.pool),r!==o&&(r!=null&&r.refCount++,o!=null&&xo(o))}function L0(r,i){r=null,i.alternate!==null&&(r=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==r&&(i.refCount++,r!=null&&xo(r))}function Bn(r,i,o,c){if(i.subtreeFlags&10256)for(i=i.child;i!==null;)M1(r,i,o,c),i=i.sibling}function M1(r,i,o,c){var h=i.flags;switch(i.tag){case 0:case 11:case 15:Bn(r,i,o,c),h&2048&&Io(9,i);break;case 1:Bn(r,i,o,c);break;case 3:Bn(r,i,o,c),h&2048&&(r=null,i.alternate!==null&&(r=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==r&&(i.refCount++,r!=null&&xo(r)));break;case 12:if(h&2048){Bn(r,i,o,c),r=i.stateNode;try{var y=i.memoizedProps,w=y.id,A=y.onPostCommit;typeof A=="function"&&A(w,i.alternate===null?"mount":"update",r.passiveEffectDuration,-0)}catch(L){Ne(i,i.return,L)}}else Bn(r,i,o,c);break;case 31:Bn(r,i,o,c);break;case 13:Bn(r,i,o,c);break;case 23:break;case 22:y=i.stateNode,w=i.alternate,i.memoizedState!==null?y._visibility&2?Bn(r,i,o,c):Lo(r,i):y._visibility&2?Bn(r,i,o,c):(y._visibility|=2,rs(r,i,o,c,(i.subtreeFlags&10256)!==0||!1)),h&2048&&N0(w,i);break;case 24:Bn(r,i,o,c),h&2048&&L0(i.alternate,i);break;default:Bn(r,i,o,c)}}function rs(r,i,o,c,h){for(h=h&&((i.subtreeFlags&10256)!==0||!1),i=i.child;i!==null;){var y=r,w=i,A=o,L=c,F=w.flags;switch(w.tag){case 0:case 11:case 15:rs(y,w,A,L,h),Io(8,w);break;case 23:break;case 22:var Z=w.stateNode;w.memoizedState!==null?Z._visibility&2?rs(y,w,A,L,h):Lo(y,w):(Z._visibility|=2,rs(y,w,A,L,h)),h&&F&2048&&N0(w.alternate,w);break;case 24:rs(y,w,A,L,h),h&&F&2048&&L0(w.alternate,w);break;default:rs(y,w,A,L,h)}i=i.sibling}}function Lo(r,i){if(i.subtreeFlags&10256)for(i=i.child;i!==null;){var o=r,c=i,h=c.flags;switch(c.tag){case 22:Lo(o,c),h&2048&&N0(c.alternate,c);break;case 24:Lo(o,c),h&2048&&L0(c.alternate,c);break;default:Lo(o,c)}i=i.sibling}}var $o=8192;function is(r,i,o){if(r.subtreeFlags&$o)for(r=r.child;r!==null;)R1(r,i,o),r=r.sibling}function R1(r,i,o){switch(r.tag){case 26:is(r,i,o),r.flags&$o&&r.memoizedState!==null&&nE(o,zn,r.memoizedState,r.memoizedProps);break;case 5:is(r,i,o);break;case 3:case 4:var c=zn;zn=dl(r.stateNode.containerInfo),is(r,i,o),zn=c;break;case 22:r.memoizedState===null&&(c=r.alternate,c!==null&&c.memoizedState!==null?(c=$o,$o=16777216,is(r,i,o),$o=c):is(r,i,o));break;default:is(r,i,o)}}function C1(r){var i=r.alternate;if(i!==null&&(r=i.child,r!==null)){i.child=null;do i=r.sibling,r.sibling=null,r=i;while(r!==null)}}function ko(r){var i=r.deletions;if((r.flags&16)!==0){if(i!==null)for(var o=0;o<i.length;o++){var c=i[o];pt=c,O1(c,r)}C1(r)}if(r.subtreeFlags&10256)for(r=r.child;r!==null;)_1(r),r=r.sibling}function _1(r){switch(r.tag){case 0:case 11:case 15:ko(r),r.flags&2048&&Wr(9,r,r.return);break;case 3:ko(r);break;case 12:ko(r);break;case 22:var i=r.stateNode;r.memoizedState!==null&&i._visibility&2&&(r.return===null||r.return.tag!==13)?(i._visibility&=-3,Wc(r)):ko(r);break;default:ko(r)}}function Wc(r){var i=r.deletions;if((r.flags&16)!==0){if(i!==null)for(var o=0;o<i.length;o++){var c=i[o];pt=c,O1(c,r)}C1(r)}for(r=r.child;r!==null;){switch(i=r,i.tag){case 0:case 11:case 15:Wr(8,i,i.return),Wc(i);break;case 22:o=i.stateNode,o._visibility&2&&(o._visibility&=-3,Wc(i));break;default:Wc(i)}r=r.sibling}}function O1(r,i){for(;pt!==null;){var o=pt;switch(o.tag){case 0:case 11:case 15:Wr(8,o,i);break;case 23:case 22:if(o.memoizedState!==null&&o.memoizedState.cachePool!==null){var c=o.memoizedState.cachePool.pool;c!=null&&c.refCount++}break;case 24:xo(o.memoizedState.cache)}if(c=o.child,c!==null)c.return=o,pt=c;else e:for(o=r;pt!==null;){c=pt;var h=c.sibling,y=c.return;if(w1(c),c===o){pt=null;break e}if(h!==null){h.return=y,pt=h;break e}pt=y}}}var b4={getCacheForType:function(r){var i=wt(nt),o=i.data.get(r);return o===void 0&&(o=r(),i.data.set(r,o)),o},cacheSignal:function(){return wt(nt).controller.signal}},g4=typeof WeakMap=="function"?WeakMap:Map,Be=0,Ue=null,Ae=null,Me=0,Ie=0,cn=null,ei=!1,as=!1,$0=!1,pr=0,Je=0,ti=0,ra=0,k0=0,ln=0,ss=0,Uo=null,Gt=null,U0=!1,el=0,P1=0,tl=1/0,nl=null,ni=null,ot=0,ri=null,os=null,yr=0,j0=0,D0=null,z1=null,jo=0,H0=null;function fn(){return(Be&2)!==0&&Me!==0?Me&-Me:$.T!==null?Q0():Qm()}function B1(){if(ln===0)if((Me&536870912)===0||_e){var r=lc;lc<<=1,(lc&3932160)===0&&(lc=262144),ln=r}else ln=536870912;return r=on.current,r!==null&&(r.flags|=32),ln}function Vt(r,i,o){(r===Ue&&(Ie===2||Ie===9)||r.cancelPendingCommit!==null)&&(us(r,0),ii(r,Me,ln,!1)),so(r,o),((Be&2)===0||r!==Ue)&&(r===Ue&&((Be&2)===0&&(ra|=o),Je===4&&ii(r,Me,ln,!1)),Fn(r))}function I1(r,i,o){if((Be&6)!==0)throw Error(a(327));var c=!o&&(i&127)===0&&(i&r.expiredLanes)===0||ao(r,i),h=c?x4(r,i):q0(r,i,!0),y=c;do{if(h===0){as&&!c&&ii(r,i,0,!1);break}else{if(o=r.current.alternate,y&&!v4(o)){h=q0(r,i,!1),y=!1;continue}if(h===2){if(y=i,r.errorRecoveryDisabledLanes&y)var w=0;else w=r.pendingLanes&-536870913,w=w!==0?w:w&536870912?536870912:0;if(w!==0){i=w;e:{var A=r;h=Uo;var L=A.current.memoizedState.isDehydrated;if(L&&(us(A,w).flags|=256),w=q0(A,w,!1),w!==2){if($0&&!L){A.errorRecoveryDisabledLanes|=y,ra|=y,h=4;break e}y=Gt,Gt=h,y!==null&&(Gt===null?Gt=y:Gt.push.apply(Gt,y))}h=w}if(y=!1,h!==2)continue}}if(h===1){us(r,0),ii(r,i,0,!0);break}e:{switch(c=r,y=h,y){case 0:case 1:throw Error(a(345));case 4:if((i&4194048)!==i)break;case 6:ii(c,i,ln,!ei);break e;case 2:Gt=null;break;case 3:case 5:break;default:throw Error(a(329))}if((i&62914560)===i&&(h=el+300-Rt(),10<h)){if(ii(c,i,ln,!ei),dc(c,0,!0)!==0)break e;yr=i,c.timeoutHandle=fv(N1.bind(null,c,o,Gt,nl,U0,i,ln,ra,ss,ei,y,"Throttled",-0,0),h);break e}N1(c,o,Gt,nl,U0,i,ln,ra,ss,ei,y,null,-0,0)}}break}while(!0);Fn(r)}function N1(r,i,o,c,h,y,w,A,L,F,Z,ee,q,K){if(r.timeoutHandle=-1,ee=i.subtreeFlags,ee&8192||(ee&16785408)===16785408){ee={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:er},R1(i,y,ee);var de=(y&62914560)===y?el-Rt():(y&4194048)===y?P1-Rt():0;if(de=rE(ee,de),de!==null){yr=y,r.cancelPendingCommit=de(F1.bind(null,r,i,y,o,c,h,w,A,L,Z,ee,null,q,K)),ii(r,y,w,!F);return}}F1(r,i,y,o,c,h,w,A,L)}function v4(r){for(var i=r;;){var o=i.tag;if((o===0||o===11||o===15)&&i.flags&16384&&(o=i.updateQueue,o!==null&&(o=o.stores,o!==null)))for(var c=0;c<o.length;c++){var h=o[c],y=h.getSnapshot;h=h.value;try{if(!an(y(),h))return!1}catch{return!1}}if(o=i.child,i.subtreeFlags&16384&&o!==null)o.return=i,i=o;else{if(i===r)break;for(;i.sibling===null;){if(i.return===null||i.return===r)return!0;i=i.return}i.sibling.return=i.return,i=i.sibling}}return!0}function ii(r,i,o,c){i&=~k0,i&=~ra,r.suspendedLanes|=i,r.pingedLanes&=~i,c&&(r.warmLanes|=i),c=r.expirationTimes;for(var h=i;0<h;){var y=31-rn(h),w=1<<y;c[y]=-1,h&=~w}o!==0&&Gm(r,o,i)}function rl(){return(Be&6)===0?(Do(0),!1):!0}function F0(){if(Ae!==null){if(Ie===0)var r=Ae.return;else r=Ae,ir=Qi=null,a0(r),Ja=null,Eo=0,r=Ae;for(;r!==null;)d1(r.alternate,r),r=r.return;Ae=null}}function us(r,i){var o=r.timeoutHandle;o!==-1&&(r.timeoutHandle=-1,U4(o)),o=r.cancelPendingCommit,o!==null&&(r.cancelPendingCommit=null,o()),yr=0,F0(),Ue=r,Ae=o=nr(r.current,null),Me=i,Ie=0,cn=null,ei=!1,as=ao(r,i),$0=!1,ss=ln=k0=ra=ti=Je=0,Gt=Uo=null,U0=!1,(i&8)!==0&&(i|=i&32);var c=r.entangledLanes;if(c!==0)for(r=r.entanglements,c&=i;0<c;){var h=31-rn(c),y=1<<h;i|=r[h],c&=~y}return pr=i,Ac(),o}function L1(r,i){xe=null,$.H=Po,i===Xa||i===zc?(i=Jb(),Ie=3):i===Kd?(i=Jb(),Ie=4):Ie=i===x0?8:i!==null&&typeof i=="object"&&typeof i.then=="function"?6:1,cn=i,Ae===null&&(Je=1,Vc(r,gn(i,r.current)))}function $1(){var r=on.current;return r===null?!0:(Me&4194048)===Me?Sn===null:(Me&62914560)===Me||(Me&536870912)!==0?r===Sn:!1}function k1(){var r=$.H;return $.H=Po,r===null?Po:r}function U1(){var r=$.A;return $.A=b4,r}function il(){Je=4,ei||(Me&4194048)!==Me&&on.current!==null||(as=!0),(ti&134217727)===0&&(ra&134217727)===0||Ue===null||ii(Ue,Me,ln,!1)}function q0(r,i,o){var c=Be;Be|=2;var h=k1(),y=U1();(Ue!==r||Me!==i)&&(nl=null,us(r,i)),i=!1;var w=Je;e:do try{if(Ie!==0&&Ae!==null){var A=Ae,L=cn;switch(Ie){case 8:F0(),w=6;break e;case 3:case 2:case 9:case 6:on.current===null&&(i=!0);var F=Ie;if(Ie=0,cn=null,cs(r,A,L,F),o&&as){w=0;break e}break;default:F=Ie,Ie=0,cn=null,cs(r,A,L,F)}}w4(),w=Je;break}catch(Z){L1(r,Z)}while(!0);return i&&r.shellSuspendCounter++,ir=Qi=null,Be=c,$.H=h,$.A=y,Ae===null&&(Ue=null,Me=0,Ac()),w}function w4(){for(;Ae!==null;)j1(Ae)}function x4(r,i){var o=Be;Be|=2;var c=k1(),h=U1();Ue!==r||Me!==i?(nl=null,tl=Rt()+500,us(r,i)):as=ao(r,i);e:do try{if(Ie!==0&&Ae!==null){i=Ae;var y=cn;t:switch(Ie){case 1:Ie=0,cn=null,cs(r,i,y,1);break;case 2:case 9:if(Zb(y)){Ie=0,cn=null,D1(i);break}i=function(){Ie!==2&&Ie!==9||Ue!==r||(Ie=7),Fn(r)},y.then(i,i);break e;case 3:Ie=7;break e;case 4:Ie=5;break e;case 7:Zb(y)?(Ie=0,cn=null,D1(i)):(Ie=0,cn=null,cs(r,i,y,7));break;case 5:var w=null;switch(Ae.tag){case 26:w=Ae.memoizedState;case 5:case 27:var A=Ae;if(w?Mv(w):A.stateNode.complete){Ie=0,cn=null;var L=A.sibling;if(L!==null)Ae=L;else{var F=A.return;F!==null?(Ae=F,al(F)):Ae=null}break t}}Ie=0,cn=null,cs(r,i,y,5);break;case 6:Ie=0,cn=null,cs(r,i,y,6);break;case 8:F0(),Je=6;break e;default:throw Error(a(462))}}S4();break}catch(Z){L1(r,Z)}while(!0);return ir=Qi=null,$.H=c,$.A=h,Be=o,Ae!==null?0:(Ue=null,Me=0,Ac(),Je)}function S4(){for(;Ae!==null&&!uc();)j1(Ae)}function j1(r){var i=l1(r.alternate,r,pr);r.memoizedProps=r.pendingProps,i===null?al(r):Ae=i}function D1(r){var i=r,o=i.alternate;switch(i.tag){case 15:case 0:i=i1(o,i,i.pendingProps,i.type,void 0,Me);break;case 11:i=i1(o,i,i.pendingProps,i.type.render,i.ref,Me);break;case 5:a0(i);default:d1(o,i),i=Ae=Ub(i,pr),i=l1(o,i,pr)}r.memoizedProps=r.pendingProps,i===null?al(r):Ae=i}function cs(r,i,o,c){ir=Qi=null,a0(i),Ja=null,Eo=0;var h=i.return;try{if(l4(r,h,i,o,Me)){Je=1,Vc(r,gn(o,r.current)),Ae=null;return}}catch(y){if(h!==null)throw Ae=h,y;Je=1,Vc(r,gn(o,r.current)),Ae=null;return}i.flags&32768?(_e||c===1?r=!0:as||(Me&536870912)!==0?r=!1:(ei=r=!0,(c===2||c===9||c===3||c===6)&&(c=on.current,c!==null&&c.tag===13&&(c.flags|=16384))),H1(i,r)):al(i)}function al(r){var i=r;do{if((i.flags&32768)!==0){H1(i,ei);return}r=i.return;var o=h4(i.alternate,i,pr);if(o!==null){Ae=o;return}if(i=i.sibling,i!==null){Ae=i;return}Ae=i=r}while(i!==null);Je===0&&(Je=5)}function H1(r,i){do{var o=p4(r.alternate,r);if(o!==null){o.flags&=32767,Ae=o;return}if(o=r.return,o!==null&&(o.flags|=32768,o.subtreeFlags=0,o.deletions=null),!i&&(r=r.sibling,r!==null)){Ae=r;return}Ae=r=o}while(r!==null);Je=6,Ae=null}function F1(r,i,o,c,h,y,w,A,L){r.cancelPendingCommit=null;do sl();while(ot!==0);if((Be&6)!==0)throw Error(a(327));if(i!==null){if(i===r.current)throw Error(a(177));if(y=i.lanes|i.childLanes,y|=zd,t8(r,o,y,w,A,L),r===Ue&&(Ae=Ue=null,Me=0),os=i,ri=r,yr=o,j0=y,D0=h,z1=c,(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?(r.callbackNode=null,r.callbackPriority=0,M4(Oa,function(){return Q1(),null})):(r.callbackNode=null,r.callbackPriority=0),c=(i.flags&13878)!==0,(i.subtreeFlags&13878)!==0||c){c=$.T,$.T=null,h=G.p,G.p=2,w=Be,Be|=4;try{y4(r,i,o)}finally{Be=w,G.p=h,$.T=c}}ot=1,q1(),G1(),V1()}}function q1(){if(ot===1){ot=0;var r=ri,i=os,o=(i.flags&13878)!==0;if((i.subtreeFlags&13878)!==0||o){o=$.T,$.T=null;var c=G.p;G.p=2;var h=Be;Be|=4;try{A1(i,r);var y=nh,w=Ob(r.containerInfo),A=y.focusedElem,L=y.selectionRange;if(w!==A&&A&&A.ownerDocument&&_b(A.ownerDocument.documentElement,A)){if(L!==null&&Rd(A)){var F=L.start,Z=L.end;if(Z===void 0&&(Z=F),"selectionStart"in A)A.selectionStart=F,A.selectionEnd=Math.min(Z,A.value.length);else{var ee=A.ownerDocument||document,q=ee&&ee.defaultView||window;if(q.getSelection){var K=q.getSelection(),de=A.textContent.length,be=Math.min(L.start,de),ke=L.end===void 0?be:Math.min(L.end,de);!K.extend&&be>ke&&(w=ke,ke=be,be=w);var j=Cb(A,be),k=Cb(A,ke);if(j&&k&&(K.rangeCount!==1||K.anchorNode!==j.node||K.anchorOffset!==j.offset||K.focusNode!==k.node||K.focusOffset!==k.offset)){var H=ee.createRange();H.setStart(j.node,j.offset),K.removeAllRanges(),be>ke?(K.addRange(H),K.extend(k.node,k.offset)):(H.setEnd(k.node,k.offset),K.addRange(H))}}}}for(ee=[],K=A;K=K.parentNode;)K.nodeType===1&&ee.push({element:K,left:K.scrollLeft,top:K.scrollTop});for(typeof A.focus=="function"&&A.focus(),A=0;A<ee.length;A++){var J=ee[A];J.element.scrollLeft=J.left,J.element.scrollTop=J.top}}gl=!!th,nh=th=null}finally{Be=h,G.p=c,$.T=o}}r.current=i,ot=2}}function G1(){if(ot===2){ot=0;var r=ri,i=os,o=(i.flags&8772)!==0;if((i.subtreeFlags&8772)!==0||o){o=$.T,$.T=null;var c=G.p;G.p=2;var h=Be;Be|=4;try{v1(r,i.alternate,i)}finally{Be=h,G.p=c,$.T=o}}ot=3}}function V1(){if(ot===4||ot===3){ot=0,ad();var r=ri,i=os,o=yr,c=z1;(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?ot=5:(ot=0,os=ri=null,K1(r,r.pendingLanes));var h=r.pendingLanes;if(h===0&&(ni=null),ud(o),i=i.stateNode,nn&&typeof nn.onCommitFiberRoot=="function")try{nn.onCommitFiberRoot(io,i,void 0,(i.current.flags&128)===128)}catch{}if(c!==null){i=$.T,h=G.p,G.p=2,$.T=null;try{for(var y=r.onRecoverableError,w=0;w<c.length;w++){var A=c[w];y(A.value,{componentStack:A.stack})}}finally{$.T=i,G.p=h}}(yr&3)!==0&&sl(),Fn(r),h=r.pendingLanes,(o&261930)!==0&&(h&42)!==0?r===H0?jo++:(jo=0,H0=r):jo=0,Do(0)}}function K1(r,i){(r.pooledCacheLanes&=i)===0&&(i=r.pooledCache,i!=null&&(r.pooledCache=null,xo(i)))}function sl(){return q1(),G1(),V1(),Q1()}function Q1(){if(ot!==5)return!1;var r=ri,i=j0;j0=0;var o=ud(yr),c=$.T,h=G.p;try{G.p=32>o?32:o,$.T=null,o=D0,D0=null;var y=ri,w=yr;if(ot=0,os=ri=null,yr=0,(Be&6)!==0)throw Error(a(331));var A=Be;if(Be|=4,_1(y.current),M1(y,y.current,w,o),Be=A,Do(0,!1),nn&&typeof nn.onPostCommitFiberRoot=="function")try{nn.onPostCommitFiberRoot(io,y)}catch{}return!0}finally{G.p=h,$.T=c,K1(r,i)}}function Y1(r,i,o){i=gn(o,i),i=w0(r.stateNode,i,2),r=Zr(r,i,2),r!==null&&(so(r,2),Fn(r))}function Ne(r,i,o){if(r.tag===3)Y1(r,r,o);else for(;i!==null;){if(i.tag===3){Y1(i,r,o);break}else if(i.tag===1){var c=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(ni===null||!ni.has(c))){r=gn(o,r),o=Zg(2),c=Zr(i,o,2),c!==null&&(Xg(o,c,i,r),so(c,2),Fn(c));break}}i=i.return}}function G0(r,i,o){var c=r.pingCache;if(c===null){c=r.pingCache=new g4;var h=new Set;c.set(i,h)}else h=c.get(i),h===void 0&&(h=new Set,c.set(i,h));h.has(o)||($0=!0,h.add(o),r=E4.bind(null,r,i,o),i.then(r,r))}function E4(r,i,o){var c=r.pingCache;c!==null&&c.delete(i),r.pingedLanes|=r.suspendedLanes&o,r.warmLanes&=~o,Ue===r&&(Me&o)===o&&(Je===4||Je===3&&(Me&62914560)===Me&&300>Rt()-el?(Be&2)===0&&us(r,0):k0|=o,ss===Me&&(ss=0)),Fn(r)}function Z1(r,i){i===0&&(i=qm()),r=Gi(r,i),r!==null&&(so(r,i),Fn(r))}function A4(r){var i=r.memoizedState,o=0;i!==null&&(o=i.retryLane),Z1(r,o)}function T4(r,i){var o=0;switch(r.tag){case 31:case 13:var c=r.stateNode,h=r.memoizedState;h!==null&&(o=h.retryLane);break;case 19:c=r.stateNode;break;case 22:c=r.stateNode._retryCache;break;default:throw Error(a(314))}c!==null&&c.delete(i),Z1(r,o)}function M4(r,i){return On(r,i)}var ol=null,ls=null,V0=!1,ul=!1,K0=!1,ai=0;function Fn(r){r!==ls&&r.next===null&&(ls===null?ol=ls=r:ls=ls.next=r),ul=!0,V0||(V0=!0,C4())}function Do(r,i){if(!K0&&ul){K0=!0;do for(var o=!1,c=ol;c!==null;){if(r!==0){var h=c.pendingLanes;if(h===0)var y=0;else{var w=c.suspendedLanes,A=c.pingedLanes;y=(1<<31-rn(42|r)+1)-1,y&=h&~(w&~A),y=y&201326741?y&201326741|1:y?y|2:0}y!==0&&(o=!0,ev(c,y))}else y=Me,y=dc(c,c===Ue?y:0,c.cancelPendingCommit!==null||c.timeoutHandle!==-1),(y&3)===0||ao(c,y)||(o=!0,ev(c,y));c=c.next}while(o);K0=!1}}function R4(){X1()}function X1(){ul=V0=!1;var r=0;ai!==0&&k4()&&(r=ai);for(var i=Rt(),o=null,c=ol;c!==null;){var h=c.next,y=J1(c,i);y===0?(c.next=null,o===null?ol=h:o.next=h,h===null&&(ls=o)):(o=c,(r!==0||(y&3)!==0)&&(ul=!0)),c=h}ot!==0&&ot!==5||Do(r),ai!==0&&(ai=0)}function J1(r,i){for(var o=r.suspendedLanes,c=r.pingedLanes,h=r.expirationTimes,y=r.pendingLanes&-62914561;0<y;){var w=31-rn(y),A=1<<w,L=h[w];L===-1?((A&o)===0||(A&c)!==0)&&(h[w]=e8(A,i)):L<=i&&(r.expiredLanes|=A),y&=~A}if(i=Ue,o=Me,o=dc(r,r===i?o:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),c=r.callbackNode,o===0||r===i&&(Ie===2||Ie===9)||r.cancelPendingCommit!==null)return c!==null&&c!==null&&ro(c),r.callbackNode=null,r.callbackPriority=0;if((o&3)===0||ao(r,o)){if(i=o&-o,i===r.callbackPriority)return i;switch(c!==null&&ro(c),ud(o)){case 2:case 8:o=Un;break;case 32:o=Oa;break;case 268435456:o=Fm;break;default:o=Oa}return c=W1.bind(null,r),o=On(o,c),r.callbackPriority=i,r.callbackNode=o,i}return c!==null&&c!==null&&ro(c),r.callbackPriority=2,r.callbackNode=null,2}function W1(r,i){if(ot!==0&&ot!==5)return r.callbackNode=null,r.callbackPriority=0,null;var o=r.callbackNode;if(sl()&&r.callbackNode!==o)return null;var c=Me;return c=dc(r,r===Ue?c:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),c===0?null:(I1(r,c,i),J1(r,Rt()),r.callbackNode!=null&&r.callbackNode===o?W1.bind(null,r):null)}function ev(r,i){if(sl())return null;I1(r,i,!0)}function C4(){j4(function(){(Be&6)!==0?On(bt,R4):X1()})}function Q0(){if(ai===0){var r=Ya;r===0&&(r=cc,cc<<=1,(cc&261888)===0&&(cc=256)),ai=r}return ai}function tv(r){return r==null||typeof r=="symbol"||typeof r=="boolean"?null:typeof r=="function"?r:mc(""+r)}function nv(r,i){var o=i.ownerDocument.createElement("input");return o.name=i.name,o.value=i.value,r.id&&o.setAttribute("form",r.id),i.parentNode.insertBefore(o,i),r=new FormData(r),o.parentNode.removeChild(o),r}function _4(r,i,o,c,h){if(i==="submit"&&o&&o.stateNode===h){var y=tv((h[jt]||null).action),w=c.submitter;w&&(i=(i=w[jt]||null)?tv(i.formAction):w.getAttribute("formAction"),i!==null&&(y=i,w=null));var A=new wc("action","action",null,c,h);r.push({event:A,listeners:[{instance:null,listener:function(){if(c.defaultPrevented){if(ai!==0){var L=w?nv(h,w):new FormData(h);p0(o,{pending:!0,data:L,method:h.method,action:y},null,L)}}else typeof y=="function"&&(A.preventDefault(),L=w?nv(h,w):new FormData(h),p0(o,{pending:!0,data:L,method:h.method,action:y},y,L))},currentTarget:h}]})}}for(var Y0=0;Y0<Pd.length;Y0++){var Z0=Pd[Y0],O4=Z0.toLowerCase(),P4=Z0[0].toUpperCase()+Z0.slice(1);Pn(O4,"on"+P4)}Pn(Bb,"onAnimationEnd"),Pn(Ib,"onAnimationIteration"),Pn(Nb,"onAnimationStart"),Pn("dblclick","onDoubleClick"),Pn("focusin","onFocus"),Pn("focusout","onBlur"),Pn(K8,"onTransitionRun"),Pn(Q8,"onTransitionStart"),Pn(Y8,"onTransitionCancel"),Pn(Lb,"onTransitionEnd"),Na("onMouseEnter",["mouseout","mouseover"]),Na("onMouseLeave",["mouseout","mouseover"]),Na("onPointerEnter",["pointerout","pointerover"]),Na("onPointerLeave",["pointerout","pointerover"]),Di("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Di("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Di("onBeforeInput",["compositionend","keypress","textInput","paste"]),Di("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Di("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Di("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ho="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),z4=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ho));function rv(r,i){i=(i&4)!==0;for(var o=0;o<r.length;o++){var c=r[o],h=c.event;c=c.listeners;e:{var y=void 0;if(i)for(var w=c.length-1;0<=w;w--){var A=c[w],L=A.instance,F=A.currentTarget;if(A=A.listener,L!==y&&h.isPropagationStopped())break e;y=A,h.currentTarget=F;try{y(h)}catch(Z){Ec(Z)}h.currentTarget=null,y=L}else for(w=0;w<c.length;w++){if(A=c[w],L=A.instance,F=A.currentTarget,A=A.listener,L!==y&&h.isPropagationStopped())break e;y=A,h.currentTarget=F;try{y(h)}catch(Z){Ec(Z)}h.currentTarget=null,y=L}}}}function Te(r,i){var o=i[cd];o===void 0&&(o=i[cd]=new Set);var c=r+"__bubble";o.has(c)||(iv(i,r,2,!1),o.add(c))}function X0(r,i,o){var c=0;i&&(c|=4),iv(o,r,c,i)}var cl="_reactListening"+Math.random().toString(36).slice(2);function J0(r){if(!r[cl]){r[cl]=!0,Xm.forEach(function(o){o!=="selectionchange"&&(z4.has(o)||X0(o,!1,r),X0(o,!0,r))});var i=r.nodeType===9?r:r.ownerDocument;i===null||i[cl]||(i[cl]=!0,X0("selectionchange",!1,i))}}function iv(r,i,o,c){switch(Bv(i)){case 2:var h=sE;break;case 8:h=oE;break;default:h=hh}o=h.bind(null,i,o,r),h=void 0,!gd||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(h=!0),c?h!==void 0?r.addEventListener(i,o,{capture:!0,passive:h}):r.addEventListener(i,o,!0):h!==void 0?r.addEventListener(i,o,{passive:h}):r.addEventListener(i,o,!1)}function W0(r,i,o,c,h){var y=c;if((i&1)===0&&(i&2)===0&&c!==null)e:for(;;){if(c===null)return;var w=c.tag;if(w===3||w===4){var A=c.stateNode.containerInfo;if(A===h)break;if(w===4)for(w=c.return;w!==null;){var L=w.tag;if((L===3||L===4)&&w.stateNode.containerInfo===h)return;w=w.return}for(;A!==null;){if(w=za(A),w===null)return;if(L=w.tag,L===5||L===6||L===26||L===27){c=y=w;continue e}A=A.parentNode}}c=c.return}cb(function(){var F=y,Z=md(o),ee=[];e:{var q=$b.get(r);if(q!==void 0){var K=wc,de=r;switch(r){case"keypress":if(gc(o)===0)break e;case"keydown":case"keyup":K=T8;break;case"focusin":de="focus",K=Sd;break;case"focusout":de="blur",K=Sd;break;case"beforeblur":case"afterblur":K=Sd;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":K=db;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":K=h8;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":K=C8;break;case Bb:case Ib:case Nb:K=m8;break;case Lb:K=O8;break;case"scroll":case"scrollend":K=f8;break;case"wheel":K=z8;break;case"copy":case"cut":case"paste":K=g8;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":K=pb;break;case"toggle":case"beforetoggle":K=I8}var be=(i&4)!==0,ke=!be&&(r==="scroll"||r==="scrollend"),j=be?q!==null?q+"Capture":null:q;be=[];for(var k=F,H;k!==null;){var J=k;if(H=J.stateNode,J=J.tag,J!==5&&J!==26&&J!==27||H===null||j===null||(J=co(k,j),J!=null&&be.push(Fo(k,J,H))),ke)break;k=k.return}0<be.length&&(q=new K(q,de,null,o,Z),ee.push({event:q,listeners:be}))}}if((i&7)===0){e:{if(q=r==="mouseover"||r==="pointerover",K=r==="mouseout"||r==="pointerout",q&&o!==yd&&(de=o.relatedTarget||o.fromElement)&&(za(de)||de[Pa]))break e;if((K||q)&&(q=Z.window===Z?Z:(q=Z.ownerDocument)?q.defaultView||q.parentWindow:window,K?(de=o.relatedTarget||o.toElement,K=F,de=de?za(de):null,de!==null&&(ke=u(de),be=de.tag,de!==ke||be!==5&&be!==27&&be!==6)&&(de=null)):(K=null,de=F),K!==de)){if(be=db,J="onMouseLeave",j="onMouseEnter",k="mouse",(r==="pointerout"||r==="pointerover")&&(be=pb,J="onPointerLeave",j="onPointerEnter",k="pointer"),ke=K==null?q:uo(K),H=de==null?q:uo(de),q=new be(J,k+"leave",K,o,Z),q.target=ke,q.relatedTarget=H,J=null,za(Z)===F&&(be=new be(j,k+"enter",de,o,Z),be.target=H,be.relatedTarget=ke,J=be),ke=J,K&&de)t:{for(be=B4,j=K,k=de,H=0,J=j;J;J=be(J))H++;J=0;for(var me=k;me;me=be(me))J++;for(;0<H-J;)j=be(j),H--;for(;0<J-H;)k=be(k),J--;for(;H--;){if(j===k||k!==null&&j===k.alternate){be=j;break t}j=be(j),k=be(k)}be=null}else be=null;K!==null&&av(ee,q,K,be,!1),de!==null&&ke!==null&&av(ee,ke,de,be,!0)}}e:{if(q=F?uo(F):window,K=q.nodeName&&q.nodeName.toLowerCase(),K==="select"||K==="input"&&q.type==="file")var Oe=Sb;else if(wb(q))if(Eb)Oe=q8;else{Oe=H8;var pe=D8}else K=q.nodeName,!K||K.toLowerCase()!=="input"||q.type!=="checkbox"&&q.type!=="radio"?F&&pd(F.elementType)&&(Oe=Sb):Oe=F8;if(Oe&&(Oe=Oe(r,F))){xb(ee,Oe,o,Z);break e}pe&&pe(r,q,F),r==="focusout"&&F&&q.type==="number"&&F.memoizedProps.value!=null&&hd(q,"number",q.value)}switch(pe=F?uo(F):window,r){case"focusin":(wb(pe)||pe.contentEditable==="true")&&(Da=pe,Cd=F,go=null);break;case"focusout":go=Cd=Da=null;break;case"mousedown":_d=!0;break;case"contextmenu":case"mouseup":case"dragend":_d=!1,Pb(ee,o,Z);break;case"selectionchange":if(V8)break;case"keydown":case"keyup":Pb(ee,o,Z)}var Se;if(Ad)e:{switch(r){case"compositionstart":var Re="onCompositionStart";break e;case"compositionend":Re="onCompositionEnd";break e;case"compositionupdate":Re="onCompositionUpdate";break e}Re=void 0}else ja?gb(r,o)&&(Re="onCompositionEnd"):r==="keydown"&&o.keyCode===229&&(Re="onCompositionStart");Re&&(yb&&o.locale!=="ko"&&(ja||Re!=="onCompositionStart"?Re==="onCompositionEnd"&&ja&&(Se=lb()):(Fr=Z,vd="value"in Fr?Fr.value:Fr.textContent,ja=!0)),pe=ll(F,Re),0<pe.length&&(Re=new hb(Re,r,null,o,Z),ee.push({event:Re,listeners:pe}),Se?Re.data=Se:(Se=vb(o),Se!==null&&(Re.data=Se)))),(Se=L8?$8(r,o):k8(r,o))&&(Re=ll(F,"onBeforeInput"),0<Re.length&&(pe=new hb("onBeforeInput","beforeinput",null,o,Z),ee.push({event:pe,listeners:Re}),pe.data=Se)),_4(ee,r,F,o,Z)}rv(ee,i)})}function Fo(r,i,o){return{instance:r,listener:i,currentTarget:o}}function ll(r,i){for(var o=i+"Capture",c=[];r!==null;){var h=r,y=h.stateNode;if(h=h.tag,h!==5&&h!==26&&h!==27||y===null||(h=co(r,o),h!=null&&c.unshift(Fo(r,h,y)),h=co(r,i),h!=null&&c.push(Fo(r,h,y))),r.tag===3)return c;r=r.return}return[]}function B4(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5&&r.tag!==27);return r||null}function av(r,i,o,c,h){for(var y=i._reactName,w=[];o!==null&&o!==c;){var A=o,L=A.alternate,F=A.stateNode;if(A=A.tag,L!==null&&L===c)break;A!==5&&A!==26&&A!==27||F===null||(L=F,h?(F=co(o,y),F!=null&&w.unshift(Fo(o,F,L))):h||(F=co(o,y),F!=null&&w.push(Fo(o,F,L)))),o=o.return}w.length!==0&&r.push({event:i,listeners:w})}var I4=/\\r\\n?/g,N4=/\\u0000|\\uFFFD/g;function sv(r){return(typeof r=="string"?r:""+r).replace(I4,`\n`).replace(N4,"")}function ov(r,i){return i=sv(i),sv(r)===i}function $e(r,i,o,c,h,y){switch(o){case"children":typeof c=="string"?i==="body"||i==="textarea"&&c===""||$a(r,c):(typeof c=="number"||typeof c=="bigint")&&i!=="body"&&$a(r,""+c);break;case"className":pc(r,"class",c);break;case"tabIndex":pc(r,"tabindex",c);break;case"dir":case"role":case"viewBox":case"width":case"height":pc(r,o,c);break;case"style":ob(r,c,y);break;case"data":if(i!=="object"){pc(r,"data",c);break}case"src":case"href":if(c===""&&(i!=="a"||o!=="href")){r.removeAttribute(o);break}if(c==null||typeof c=="function"||typeof c=="symbol"||typeof c=="boolean"){r.removeAttribute(o);break}c=mc(""+c),r.setAttribute(o,c);break;case"action":case"formAction":if(typeof c=="function"){r.setAttribute(o,"javascript:throw new Error(\'A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\\\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().\')");break}else typeof y=="function"&&(o==="formAction"?(i!=="input"&&$e(r,i,"name",h.name,h,null),$e(r,i,"formEncType",h.formEncType,h,null),$e(r,i,"formMethod",h.formMethod,h,null),$e(r,i,"formTarget",h.formTarget,h,null)):($e(r,i,"encType",h.encType,h,null),$e(r,i,"method",h.method,h,null),$e(r,i,"target",h.target,h,null)));if(c==null||typeof c=="symbol"||typeof c=="boolean"){r.removeAttribute(o);break}c=mc(""+c),r.setAttribute(o,c);break;case"onClick":c!=null&&(r.onclick=er);break;case"onScroll":c!=null&&Te("scroll",r);break;case"onScrollEnd":c!=null&&Te("scrollend",r);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(a(61));if(o=c.__html,o!=null){if(h.children!=null)throw Error(a(60));r.innerHTML=o}}break;case"multiple":r.multiple=c&&typeof c!="function"&&typeof c!="symbol";break;case"muted":r.muted=c&&typeof c!="function"&&typeof c!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(c==null||typeof c=="function"||typeof c=="boolean"||typeof c=="symbol"){r.removeAttribute("xlink:href");break}o=mc(""+c),r.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",o);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":c!=null&&typeof c!="function"&&typeof c!="symbol"?r.setAttribute(o,""+c):r.removeAttribute(o);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":c&&typeof c!="function"&&typeof c!="symbol"?r.setAttribute(o,""):r.removeAttribute(o);break;case"capture":case"download":c===!0?r.setAttribute(o,""):c!==!1&&c!=null&&typeof c!="function"&&typeof c!="symbol"?r.setAttribute(o,c):r.removeAttribute(o);break;case"cols":case"rows":case"size":case"span":c!=null&&typeof c!="function"&&typeof c!="symbol"&&!isNaN(c)&&1<=c?r.setAttribute(o,c):r.removeAttribute(o);break;case"rowSpan":case"start":c==null||typeof c=="function"||typeof c=="symbol"||isNaN(c)?r.removeAttribute(o):r.setAttribute(o,c);break;case"popover":Te("beforetoggle",r),Te("toggle",r),hc(r,"popover",c);break;case"xlinkActuate":Wn(r,"http://www.w3.org/1999/xlink","xlink:actuate",c);break;case"xlinkArcrole":Wn(r,"http://www.w3.org/1999/xlink","xlink:arcrole",c);break;case"xlinkRole":Wn(r,"http://www.w3.org/1999/xlink","xlink:role",c);break;case"xlinkShow":Wn(r,"http://www.w3.org/1999/xlink","xlink:show",c);break;case"xlinkTitle":Wn(r,"http://www.w3.org/1999/xlink","xlink:title",c);break;case"xlinkType":Wn(r,"http://www.w3.org/1999/xlink","xlink:type",c);break;case"xmlBase":Wn(r,"http://www.w3.org/XML/1998/namespace","xml:base",c);break;case"xmlLang":Wn(r,"http://www.w3.org/XML/1998/namespace","xml:lang",c);break;case"xmlSpace":Wn(r,"http://www.w3.org/XML/1998/namespace","xml:space",c);break;case"is":hc(r,"is",c);break;case"innerText":case"textContent":break;default:(!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(o=c8.get(o)||o,hc(r,o,c))}}function eh(r,i,o,c,h,y){switch(o){case"style":ob(r,c,y);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(a(61));if(o=c.__html,o!=null){if(h.children!=null)throw Error(a(60));r.innerHTML=o}}break;case"children":typeof c=="string"?$a(r,c):(typeof c=="number"||typeof c=="bigint")&&$a(r,""+c);break;case"onScroll":c!=null&&Te("scroll",r);break;case"onScrollEnd":c!=null&&Te("scrollend",r);break;case"onClick":c!=null&&(r.onclick=er);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Jm.hasOwnProperty(o))e:{if(o[0]==="o"&&o[1]==="n"&&(h=o.endsWith("Capture"),i=o.slice(2,h?o.length-7:void 0),y=r[jt]||null,y=y!=null?y[o]:null,typeof y=="function"&&r.removeEventListener(i,y,h),typeof c=="function")){typeof y!="function"&&y!==null&&(o in r?r[o]=null:r.hasAttribute(o)&&r.removeAttribute(o)),r.addEventListener(i,c,h);break e}o in r?r[o]=c:c===!0?r.setAttribute(o,""):hc(r,o,c)}}}function St(r,i,o){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Te("error",r),Te("load",r);var c=!1,h=!1,y;for(y in o)if(o.hasOwnProperty(y)){var w=o[y];if(w!=null)switch(y){case"src":c=!0;break;case"srcSet":h=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(a(137,i));default:$e(r,i,y,w,o,null)}}h&&$e(r,i,"srcSet",o.srcSet,o,null),c&&$e(r,i,"src",o.src,o,null);return;case"input":Te("invalid",r);var A=y=w=h=null,L=null,F=null;for(c in o)if(o.hasOwnProperty(c)){var Z=o[c];if(Z!=null)switch(c){case"name":h=Z;break;case"type":w=Z;break;case"checked":L=Z;break;case"defaultChecked":F=Z;break;case"value":y=Z;break;case"defaultValue":A=Z;break;case"children":case"dangerouslySetInnerHTML":if(Z!=null)throw Error(a(137,i));break;default:$e(r,i,c,Z,o,null)}}rb(r,y,A,L,F,w,h,!1);return;case"select":Te("invalid",r),c=w=y=null;for(h in o)if(o.hasOwnProperty(h)&&(A=o[h],A!=null))switch(h){case"value":y=A;break;case"defaultValue":w=A;break;case"multiple":c=A;default:$e(r,i,h,A,o,null)}i=y,o=w,r.multiple=!!c,i!=null?La(r,!!c,i,!1):o!=null&&La(r,!!c,o,!0);return;case"textarea":Te("invalid",r),y=h=c=null;for(w in o)if(o.hasOwnProperty(w)&&(A=o[w],A!=null))switch(w){case"value":c=A;break;case"defaultValue":h=A;break;case"children":y=A;break;case"dangerouslySetInnerHTML":if(A!=null)throw Error(a(91));break;default:$e(r,i,w,A,o,null)}ab(r,c,h,y);return;case"option":for(L in o)o.hasOwnProperty(L)&&(c=o[L],c!=null)&&(L==="selected"?r.selected=c&&typeof c!="function"&&typeof c!="symbol":$e(r,i,L,c,o,null));return;case"dialog":Te("beforetoggle",r),Te("toggle",r),Te("cancel",r),Te("close",r);break;case"iframe":case"object":Te("load",r);break;case"video":case"audio":for(c=0;c<Ho.length;c++)Te(Ho[c],r);break;case"image":Te("error",r),Te("load",r);break;case"details":Te("toggle",r);break;case"embed":case"source":case"link":Te("error",r),Te("load",r);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(F in o)if(o.hasOwnProperty(F)&&(c=o[F],c!=null))switch(F){case"children":case"dangerouslySetInnerHTML":throw Error(a(137,i));default:$e(r,i,F,c,o,null)}return;default:if(pd(i)){for(Z in o)o.hasOwnProperty(Z)&&(c=o[Z],c!==void 0&&eh(r,i,Z,c,o,void 0));return}}for(A in o)o.hasOwnProperty(A)&&(c=o[A],c!=null&&$e(r,i,A,c,o,null))}function L4(r,i,o,c){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var h=null,y=null,w=null,A=null,L=null,F=null,Z=null;for(K in o){var ee=o[K];if(o.hasOwnProperty(K)&&ee!=null)switch(K){case"checked":break;case"value":break;case"defaultValue":L=ee;default:c.hasOwnProperty(K)||$e(r,i,K,null,c,ee)}}for(var q in c){var K=c[q];if(ee=o[q],c.hasOwnProperty(q)&&(K!=null||ee!=null))switch(q){case"type":y=K;break;case"name":h=K;break;case"checked":F=K;break;case"defaultChecked":Z=K;break;case"value":w=K;break;case"defaultValue":A=K;break;case"children":case"dangerouslySetInnerHTML":if(K!=null)throw Error(a(137,i));break;default:K!==ee&&$e(r,i,q,K,c,ee)}}dd(r,w,A,L,F,Z,y,h);return;case"select":K=w=A=q=null;for(y in o)if(L=o[y],o.hasOwnProperty(y)&&L!=null)switch(y){case"value":break;case"multiple":K=L;default:c.hasOwnProperty(y)||$e(r,i,y,null,c,L)}for(h in c)if(y=c[h],L=o[h],c.hasOwnProperty(h)&&(y!=null||L!=null))switch(h){case"value":q=y;break;case"defaultValue":A=y;break;case"multiple":w=y;default:y!==L&&$e(r,i,h,y,c,L)}i=A,o=w,c=K,q!=null?La(r,!!o,q,!1):!!c!=!!o&&(i!=null?La(r,!!o,i,!0):La(r,!!o,o?[]:"",!1));return;case"textarea":K=q=null;for(A in o)if(h=o[A],o.hasOwnProperty(A)&&h!=null&&!c.hasOwnProperty(A))switch(A){case"value":break;case"children":break;default:$e(r,i,A,null,c,h)}for(w in c)if(h=c[w],y=o[w],c.hasOwnProperty(w)&&(h!=null||y!=null))switch(w){case"value":q=h;break;case"defaultValue":K=h;break;case"children":break;case"dangerouslySetInnerHTML":if(h!=null)throw Error(a(91));break;default:h!==y&&$e(r,i,w,h,c,y)}ib(r,q,K);return;case"option":for(var de in o)q=o[de],o.hasOwnProperty(de)&&q!=null&&!c.hasOwnProperty(de)&&(de==="selected"?r.selected=!1:$e(r,i,de,null,c,q));for(L in c)q=c[L],K=o[L],c.hasOwnProperty(L)&&q!==K&&(q!=null||K!=null)&&(L==="selected"?r.selected=q&&typeof q!="function"&&typeof q!="symbol":$e(r,i,L,q,c,K));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var be in o)q=o[be],o.hasOwnProperty(be)&&q!=null&&!c.hasOwnProperty(be)&&$e(r,i,be,null,c,q);for(F in c)if(q=c[F],K=o[F],c.hasOwnProperty(F)&&q!==K&&(q!=null||K!=null))switch(F){case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(a(137,i));break;default:$e(r,i,F,q,c,K)}return;default:if(pd(i)){for(var ke in o)q=o[ke],o.hasOwnProperty(ke)&&q!==void 0&&!c.hasOwnProperty(ke)&&eh(r,i,ke,void 0,c,q);for(Z in c)q=c[Z],K=o[Z],!c.hasOwnProperty(Z)||q===K||q===void 0&&K===void 0||eh(r,i,Z,q,c,K);return}}for(var j in o)q=o[j],o.hasOwnProperty(j)&&q!=null&&!c.hasOwnProperty(j)&&$e(r,i,j,null,c,q);for(ee in c)q=c[ee],K=o[ee],!c.hasOwnProperty(ee)||q===K||q==null&&K==null||$e(r,i,ee,q,c,K)}function uv(r){switch(r){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function $4(){if(typeof performance.getEntriesByType=="function"){for(var r=0,i=0,o=performance.getEntriesByType("resource"),c=0;c<o.length;c++){var h=o[c],y=h.transferSize,w=h.initiatorType,A=h.duration;if(y&&A&&uv(w)){for(w=0,A=h.responseEnd,c+=1;c<o.length;c++){var L=o[c],F=L.startTime;if(F>A)break;var Z=L.transferSize,ee=L.initiatorType;Z&&uv(ee)&&(L=L.responseEnd,w+=Z*(L<A?1:(A-F)/(L-F)))}if(--c,i+=8*(y+w)/(h.duration/1e3),r++,10<r)break}}if(0<r)return i/r/1e6}return navigator.connection&&(r=navigator.connection.downlink,typeof r=="number")?r:5}var th=null,nh=null;function fl(r){return r.nodeType===9?r:r.ownerDocument}function cv(r){switch(r){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function lv(r,i){if(r===0)switch(i){case"svg":return 1;case"math":return 2;default:return 0}return r===1&&i==="foreignObject"?0:r}function rh(r,i){return r==="textarea"||r==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.children=="bigint"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}var ih=null;function k4(){var r=window.event;return r&&r.type==="popstate"?r===ih?!1:(ih=r,!0):(ih=null,!1)}var fv=typeof setTimeout=="function"?setTimeout:void 0,U4=typeof clearTimeout=="function"?clearTimeout:void 0,dv=typeof Promise=="function"?Promise:void 0,j4=typeof queueMicrotask=="function"?queueMicrotask:typeof dv<"u"?function(r){return dv.resolve(null).then(r).catch(D4)}:fv;function D4(r){setTimeout(function(){throw r})}function si(r){return r==="head"}function hv(r,i){var o=i,c=0;do{var h=o.nextSibling;if(r.removeChild(o),h&&h.nodeType===8)if(o=h.data,o==="/$"||o==="/&"){if(c===0){r.removeChild(h),ps(i);return}c--}else if(o==="$"||o==="$?"||o==="$~"||o==="$!"||o==="&")c++;else if(o==="html")qo(r.ownerDocument.documentElement);else if(o==="head"){o=r.ownerDocument.head,qo(o);for(var y=o.firstChild;y;){var w=y.nextSibling,A=y.nodeName;y[oo]||A==="SCRIPT"||A==="STYLE"||A==="LINK"&&y.rel.toLowerCase()==="stylesheet"||o.removeChild(y),y=w}}else o==="body"&&qo(r.ownerDocument.body);o=h}while(o);ps(i)}function pv(r,i){var o=r;r=0;do{var c=o.nextSibling;if(o.nodeType===1?i?(o._stashedDisplay=o.style.display,o.style.display="none"):(o.style.display=o._stashedDisplay||"",o.getAttribute("style")===""&&o.removeAttribute("style")):o.nodeType===3&&(i?(o._stashedText=o.nodeValue,o.nodeValue=""):o.nodeValue=o._stashedText||""),c&&c.nodeType===8)if(o=c.data,o==="/$"){if(r===0)break;r--}else o!=="$"&&o!=="$?"&&o!=="$~"&&o!=="$!"||r++;o=c}while(o)}function ah(r){var i=r.firstChild;for(i&&i.nodeType===10&&(i=i.nextSibling);i;){var o=i;switch(i=i.nextSibling,o.nodeName){case"HTML":case"HEAD":case"BODY":ah(o),ld(o);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(o.rel.toLowerCase()==="stylesheet")continue}r.removeChild(o)}}function H4(r,i,o,c){for(;r.nodeType===1;){var h=o;if(r.nodeName.toLowerCase()!==i.toLowerCase()){if(!c&&(r.nodeName!=="INPUT"||r.type!=="hidden"))break}else if(c){if(!r[oo])switch(i){case"meta":if(!r.hasAttribute("itemprop"))break;return r;case"link":if(y=r.getAttribute("rel"),y==="stylesheet"&&r.hasAttribute("data-precedence"))break;if(y!==h.rel||r.getAttribute("href")!==(h.href==null||h.href===""?null:h.href)||r.getAttribute("crossorigin")!==(h.crossOrigin==null?null:h.crossOrigin)||r.getAttribute("title")!==(h.title==null?null:h.title))break;return r;case"style":if(r.hasAttribute("data-precedence"))break;return r;case"script":if(y=r.getAttribute("src"),(y!==(h.src==null?null:h.src)||r.getAttribute("type")!==(h.type==null?null:h.type)||r.getAttribute("crossorigin")!==(h.crossOrigin==null?null:h.crossOrigin))&&y&&r.hasAttribute("async")&&!r.hasAttribute("itemprop"))break;return r;default:return r}}else if(i==="input"&&r.type==="hidden"){var y=h.name==null?null:""+h.name;if(h.type==="hidden"&&r.getAttribute("name")===y)return r}else return r;if(r=En(r.nextSibling),r===null)break}return null}function F4(r,i,o){if(i==="")return null;for(;r.nodeType!==3;)if((r.nodeType!==1||r.nodeName!=="INPUT"||r.type!=="hidden")&&!o||(r=En(r.nextSibling),r===null))return null;return r}function yv(r,i){for(;r.nodeType!==8;)if((r.nodeType!==1||r.nodeName!=="INPUT"||r.type!=="hidden")&&!i||(r=En(r.nextSibling),r===null))return null;return r}function sh(r){return r.data==="$?"||r.data==="$~"}function oh(r){return r.data==="$!"||r.data==="$?"&&r.ownerDocument.readyState!=="loading"}function q4(r,i){var o=r.ownerDocument;if(r.data==="$~")r._reactRetry=i;else if(r.data!=="$?"||o.readyState!=="loading")i();else{var c=function(){i(),o.removeEventListener("DOMContentLoaded",c)};o.addEventListener("DOMContentLoaded",c),r._reactRetry=c}}function En(r){for(;r!=null;r=r.nextSibling){var i=r.nodeType;if(i===1||i===3)break;if(i===8){if(i=r.data,i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"||i==="F!"||i==="F")break;if(i==="/$"||i==="/&")return null}}return r}var uh=null;function mv(r){r=r.nextSibling;for(var i=0;r;){if(r.nodeType===8){var o=r.data;if(o==="/$"||o==="/&"){if(i===0)return En(r.nextSibling);i--}else o!=="$"&&o!=="$!"&&o!=="$?"&&o!=="$~"&&o!=="&"||i++}r=r.nextSibling}return null}function bv(r){r=r.previousSibling;for(var i=0;r;){if(r.nodeType===8){var o=r.data;if(o==="$"||o==="$!"||o==="$?"||o==="$~"||o==="&"){if(i===0)return r;i--}else o!=="/$"&&o!=="/&"||i++}r=r.previousSibling}return null}function gv(r,i,o){switch(i=fl(o),r){case"html":if(r=i.documentElement,!r)throw Error(a(452));return r;case"head":if(r=i.head,!r)throw Error(a(453));return r;case"body":if(r=i.body,!r)throw Error(a(454));return r;default:throw Error(a(451))}}function qo(r){for(var i=r.attributes;i.length;)r.removeAttributeNode(i[0]);ld(r)}var An=new Map,vv=new Set;function dl(r){return typeof r.getRootNode=="function"?r.getRootNode():r.nodeType===9?r:r.ownerDocument}var mr=G.d;G.d={f:G4,r:V4,D:K4,C:Q4,L:Y4,m:Z4,X:J4,S:X4,M:W4};function G4(){var r=mr.f(),i=rl();return r||i}function V4(r){var i=Ba(r);i!==null&&i.tag===5&&i.type==="form"?Lg(i):mr.r(r)}var fs=typeof document>"u"?null:document;function wv(r,i,o){var c=fs;if(c&&typeof i=="string"&&i){var h=mn(i);h=\'link[rel="\'+r+\'"][href="\'+h+\'"]\',typeof o=="string"&&(h+=\'[crossorigin="\'+o+\'"]\'),vv.has(h)||(vv.add(h),r={rel:r,crossOrigin:o,href:i},c.querySelector(h)===null&&(i=c.createElement("link"),St(i,"link",r),ht(i),c.head.appendChild(i)))}}function K4(r){mr.D(r),wv("dns-prefetch",r,null)}function Q4(r,i){mr.C(r,i),wv("preconnect",r,i)}function Y4(r,i,o){mr.L(r,i,o);var c=fs;if(c&&r&&i){var h=\'link[rel="preload"][as="\'+mn(i)+\'"]\';i==="image"&&o&&o.imageSrcSet?(h+=\'[imagesrcset="\'+mn(o.imageSrcSet)+\'"]\',typeof o.imageSizes=="string"&&(h+=\'[imagesizes="\'+mn(o.imageSizes)+\'"]\')):h+=\'[href="\'+mn(r)+\'"]\';var y=h;switch(i){case"style":y=ds(r);break;case"script":y=hs(r)}An.has(y)||(r=b({rel:"preload",href:i==="image"&&o&&o.imageSrcSet?void 0:r,as:i},o),An.set(y,r),c.querySelector(h)!==null||i==="style"&&c.querySelector(Go(y))||i==="script"&&c.querySelector(Vo(y))||(i=c.createElement("link"),St(i,"link",r),ht(i),c.head.appendChild(i)))}}function Z4(r,i){mr.m(r,i);var o=fs;if(o&&r){var c=i&&typeof i.as=="string"?i.as:"script",h=\'link[rel="modulepreload"][as="\'+mn(c)+\'"][href="\'+mn(r)+\'"]\',y=h;switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":y=hs(r)}if(!An.has(y)&&(r=b({rel:"modulepreload",href:r},i),An.set(y,r),o.querySelector(h)===null)){switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(o.querySelector(Vo(y)))return}c=o.createElement("link"),St(c,"link",r),ht(c),o.head.appendChild(c)}}}function X4(r,i,o){mr.S(r,i,o);var c=fs;if(c&&r){var h=Ia(c).hoistableStyles,y=ds(r);i=i||"default";var w=h.get(y);if(!w){var A={loading:0,preload:null};if(w=c.querySelector(Go(y)))A.loading=5;else{r=b({rel:"stylesheet",href:r,"data-precedence":i},o),(o=An.get(y))&&ch(r,o);var L=w=c.createElement("link");ht(L),St(L,"link",r),L._p=new Promise(function(F,Z){L.onload=F,L.onerror=Z}),L.addEventListener("load",function(){A.loading|=1}),L.addEventListener("error",function(){A.loading|=2}),A.loading|=4,hl(w,i,c)}w={type:"stylesheet",instance:w,count:1,state:A},h.set(y,w)}}}function J4(r,i){mr.X(r,i);var o=fs;if(o&&r){var c=Ia(o).hoistableScripts,h=hs(r),y=c.get(h);y||(y=o.querySelector(Vo(h)),y||(r=b({src:r,async:!0},i),(i=An.get(h))&&lh(r,i),y=o.createElement("script"),ht(y),St(y,"link",r),o.head.appendChild(y)),y={type:"script",instance:y,count:1,state:null},c.set(h,y))}}function W4(r,i){mr.M(r,i);var o=fs;if(o&&r){var c=Ia(o).hoistableScripts,h=hs(r),y=c.get(h);y||(y=o.querySelector(Vo(h)),y||(r=b({src:r,async:!0,type:"module"},i),(i=An.get(h))&&lh(r,i),y=o.createElement("script"),ht(y),St(y,"link",r),o.head.appendChild(y)),y={type:"script",instance:y,count:1,state:null},c.set(h,y))}}function xv(r,i,o,c){var h=(h=ge.current)?dl(h):null;if(!h)throw Error(a(446));switch(r){case"meta":case"title":return null;case"style":return typeof o.precedence=="string"&&typeof o.href=="string"?(i=ds(o.href),o=Ia(h).hoistableStyles,c=o.get(i),c||(c={type:"style",instance:null,count:0,state:null},o.set(i,c)),c):{type:"void",instance:null,count:0,state:null};case"link":if(o.rel==="stylesheet"&&typeof o.href=="string"&&typeof o.precedence=="string"){r=ds(o.href);var y=Ia(h).hoistableStyles,w=y.get(r);if(w||(h=h.ownerDocument||h,w={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},y.set(r,w),(y=h.querySelector(Go(r)))&&!y._p&&(w.instance=y,w.state.loading=5),An.has(r)||(o={rel:"preload",as:"style",href:o.href,crossOrigin:o.crossOrigin,integrity:o.integrity,media:o.media,hrefLang:o.hrefLang,referrerPolicy:o.referrerPolicy},An.set(r,o),y||eE(h,r,o,w.state))),i&&c===null)throw Error(a(528,""));return w}if(i&&c!==null)throw Error(a(529,""));return null;case"script":return i=o.async,o=o.src,typeof o=="string"&&i&&typeof i!="function"&&typeof i!="symbol"?(i=hs(o),o=Ia(h).hoistableScripts,c=o.get(i),c||(c={type:"script",instance:null,count:0,state:null},o.set(i,c)),c):{type:"void",instance:null,count:0,state:null};default:throw Error(a(444,r))}}function ds(r){return\'href="\'+mn(r)+\'"\'}function Go(r){return\'link[rel="stylesheet"][\'+r+"]"}function Sv(r){return b({},r,{"data-precedence":r.precedence,precedence:null})}function eE(r,i,o,c){r.querySelector(\'link[rel="preload"][as="style"][\'+i+"]")?c.loading=1:(i=r.createElement("link"),c.preload=i,i.addEventListener("load",function(){return c.loading|=1}),i.addEventListener("error",function(){return c.loading|=2}),St(i,"link",o),ht(i),r.head.appendChild(i))}function hs(r){return\'[src="\'+mn(r)+\'"]\'}function Vo(r){return"script[async]"+r}function Ev(r,i,o){if(i.count++,i.instance===null)switch(i.type){case"style":var c=r.querySelector(\'style[data-href~="\'+mn(o.href)+\'"]\');if(c)return i.instance=c,ht(c),c;var h=b({},o,{"data-href":o.href,"data-precedence":o.precedence,href:null,precedence:null});return c=(r.ownerDocument||r).createElement("style"),ht(c),St(c,"style",h),hl(c,o.precedence,r),i.instance=c;case"stylesheet":h=ds(o.href);var y=r.querySelector(Go(h));if(y)return i.state.loading|=4,i.instance=y,ht(y),y;c=Sv(o),(h=An.get(h))&&ch(c,h),y=(r.ownerDocument||r).createElement("link"),ht(y);var w=y;return w._p=new Promise(function(A,L){w.onload=A,w.onerror=L}),St(y,"link",c),i.state.loading|=4,hl(y,o.precedence,r),i.instance=y;case"script":return y=hs(o.src),(h=r.querySelector(Vo(y)))?(i.instance=h,ht(h),h):(c=o,(h=An.get(y))&&(c=b({},o),lh(c,h)),r=r.ownerDocument||r,h=r.createElement("script"),ht(h),St(h,"link",c),r.head.appendChild(h),i.instance=h);case"void":return null;default:throw Error(a(443,i.type))}else i.type==="stylesheet"&&(i.state.loading&4)===0&&(c=i.instance,i.state.loading|=4,hl(c,o.precedence,r));return i.instance}function hl(r,i,o){for(var c=o.querySelectorAll(\'link[rel="stylesheet"][data-precedence],style[data-precedence]\'),h=c.length?c[c.length-1]:null,y=h,w=0;w<c.length;w++){var A=c[w];if(A.dataset.precedence===i)y=A;else if(y!==h)break}y?y.parentNode.insertBefore(r,y.nextSibling):(i=o.nodeType===9?o.head:o,i.insertBefore(r,i.firstChild))}function ch(r,i){r.crossOrigin==null&&(r.crossOrigin=i.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=i.referrerPolicy),r.title==null&&(r.title=i.title)}function lh(r,i){r.crossOrigin==null&&(r.crossOrigin=i.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=i.referrerPolicy),r.integrity==null&&(r.integrity=i.integrity)}var pl=null;function Av(r,i,o){if(pl===null){var c=new Map,h=pl=new Map;h.set(o,c)}else h=pl,c=h.get(o),c||(c=new Map,h.set(o,c));if(c.has(r))return c;for(c.set(r,null),o=o.getElementsByTagName(r),h=0;h<o.length;h++){var y=o[h];if(!(y[oo]||y[gt]||r==="link"&&y.getAttribute("rel")==="stylesheet")&&y.namespaceURI!=="http://www.w3.org/2000/svg"){var w=y.getAttribute(i)||"";w=r+w;var A=c.get(w);A?A.push(y):c.set(w,[y])}}return c}function Tv(r,i,o){r=r.ownerDocument||r,r.head.insertBefore(o,i==="title"?r.querySelector("head > title"):null)}function tE(r,i,o){if(o===1||i.itemProp!=null)return!1;switch(r){case"meta":case"title":return!0;case"style":if(typeof i.precedence!="string"||typeof i.href!="string"||i.href==="")break;return!0;case"link":if(typeof i.rel!="string"||typeof i.href!="string"||i.href===""||i.onLoad||i.onError)break;return i.rel==="stylesheet"?(r=i.disabled,typeof i.precedence=="string"&&r==null):!0;case"script":if(i.async&&typeof i.async!="function"&&typeof i.async!="symbol"&&!i.onLoad&&!i.onError&&i.src&&typeof i.src=="string")return!0}return!1}function Mv(r){return!(r.type==="stylesheet"&&(r.state.loading&3)===0)}function nE(r,i,o,c){if(o.type==="stylesheet"&&(typeof c.media!="string"||matchMedia(c.media).matches!==!1)&&(o.state.loading&4)===0){if(o.instance===null){var h=ds(c.href),y=i.querySelector(Go(h));if(y){i=y._p,i!==null&&typeof i=="object"&&typeof i.then=="function"&&(r.count++,r=yl.bind(r),i.then(r,r)),o.state.loading|=4,o.instance=y,ht(y);return}y=i.ownerDocument||i,c=Sv(c),(h=An.get(h))&&ch(c,h),y=y.createElement("link"),ht(y);var w=y;w._p=new Promise(function(A,L){w.onload=A,w.onerror=L}),St(y,"link",c),o.instance=y}r.stylesheets===null&&(r.stylesheets=new Map),r.stylesheets.set(o,i),(i=o.state.preload)&&(o.state.loading&3)===0&&(r.count++,o=yl.bind(r),i.addEventListener("load",o),i.addEventListener("error",o))}}var fh=0;function rE(r,i){return r.stylesheets&&r.count===0&&bl(r,r.stylesheets),0<r.count||0<r.imgCount?function(o){var c=setTimeout(function(){if(r.stylesheets&&bl(r,r.stylesheets),r.unsuspend){var y=r.unsuspend;r.unsuspend=null,y()}},6e4+i);0<r.imgBytes&&fh===0&&(fh=62500*$4());var h=setTimeout(function(){if(r.waitingForImages=!1,r.count===0&&(r.stylesheets&&bl(r,r.stylesheets),r.unsuspend)){var y=r.unsuspend;r.unsuspend=null,y()}},(r.imgBytes>fh?50:800)+i);return r.unsuspend=o,function(){r.unsuspend=null,clearTimeout(c),clearTimeout(h)}}:null}function yl(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)bl(this,this.stylesheets);else if(this.unsuspend){var r=this.unsuspend;this.unsuspend=null,r()}}}var ml=null;function bl(r,i){r.stylesheets=null,r.unsuspend!==null&&(r.count++,ml=new Map,i.forEach(iE,r),ml=null,yl.call(r))}function iE(r,i){if(!(i.state.loading&4)){var o=ml.get(r);if(o)var c=o.get(null);else{o=new Map,ml.set(r,o);for(var h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),y=0;y<h.length;y++){var w=h[y];(w.nodeName==="LINK"||w.getAttribute("media")!=="not all")&&(o.set(w.dataset.precedence,w),c=w)}c&&o.set(null,c)}h=i.instance,w=h.getAttribute("data-precedence"),y=o.get(w)||c,y===c&&o.set(null,h),o.set(w,h),this.count++,c=yl.bind(this),h.addEventListener("load",c),h.addEventListener("error",c),y?y.parentNode.insertBefore(h,y.nextSibling):(r=r.nodeType===9?r.head:r,r.insertBefore(h,r.firstChild)),i.state.loading|=4}}var Ko={$$typeof:M,Provider:null,Consumer:null,_currentValue:ne,_currentValue2:ne,_threadCount:0};function aE(r,i,o,c,h,y,w,A,L){this.tag=1,this.containerInfo=r,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=sd(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=sd(0),this.hiddenUpdates=sd(null),this.identifierPrefix=c,this.onUncaughtError=h,this.onCaughtError=y,this.onRecoverableError=w,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=L,this.incompleteTransitions=new Map}function Rv(r,i,o,c,h,y,w,A,L,F,Z,ee){return r=new aE(r,i,o,w,L,F,Z,ee,A),i=1,y===!0&&(i|=24),y=sn(3,null,null,i),r.current=y,y.stateNode=r,i=qd(),i.refCount++,r.pooledCache=i,i.refCount++,y.memoizedState={element:c,isDehydrated:o,cache:i},Qd(y),r}function Cv(r){return r?(r=qa,r):qa}function _v(r,i,o,c,h,y){h=Cv(h),c.context===null?c.context=h:c.pendingContext=h,c=Yr(i),c.payload={element:o},y=y===void 0?null:y,y!==null&&(c.callback=y),o=Zr(r,c,i),o!==null&&(Vt(o,r,i),To(o,r,i))}function Ov(r,i){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var o=r.retryLane;r.retryLane=o!==0&&o<i?o:i}}function dh(r,i){Ov(r,i),(r=r.alternate)&&Ov(r,i)}function Pv(r){if(r.tag===13||r.tag===31){var i=Gi(r,67108864);i!==null&&Vt(i,r,67108864),dh(r,67108864)}}function zv(r){if(r.tag===13||r.tag===31){var i=fn();i=od(i);var o=Gi(r,i);o!==null&&Vt(o,r,i),dh(r,i)}}var gl=!0;function sE(r,i,o,c){var h=$.T;$.T=null;var y=G.p;try{G.p=2,hh(r,i,o,c)}finally{G.p=y,$.T=h}}function oE(r,i,o,c){var h=$.T;$.T=null;var y=G.p;try{G.p=8,hh(r,i,o,c)}finally{G.p=y,$.T=h}}function hh(r,i,o,c){if(gl){var h=ph(c);if(h===null)W0(r,i,c,vl,o),Iv(r,c);else if(cE(h,r,i,o,c))c.stopPropagation();else if(Iv(r,c),i&4&&-1<uE.indexOf(r)){for(;h!==null;){var y=Ba(h);if(y!==null)switch(y.tag){case 3:if(y=y.stateNode,y.current.memoizedState.isDehydrated){var w=ji(y.pendingLanes);if(w!==0){var A=y;for(A.pendingLanes|=2,A.entangledLanes|=2;w;){var L=1<<31-rn(w);A.entanglements[1]|=L,w&=~L}Fn(y),(Be&6)===0&&(tl=Rt()+500,Do(0))}}break;case 31:case 13:A=Gi(y,2),A!==null&&Vt(A,y,2),rl(),dh(y,2)}if(y=ph(c),y===null&&W0(r,i,c,vl,o),y===h)break;h=y}h!==null&&c.stopPropagation()}else W0(r,i,c,null,o)}}function ph(r){return r=md(r),yh(r)}var vl=null;function yh(r){if(vl=null,r=za(r),r!==null){var i=u(r);if(i===null)r=null;else{var o=i.tag;if(o===13){if(r=l(i),r!==null)return r;r=null}else if(o===31){if(r=f(i),r!==null)return r;r=null}else if(o===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;r=null}else i!==r&&(r=null)}}return vl=r,null}function Bv(r){switch(r){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(He()){case bt:return 2;case Un:return 8;case Oa:case QS:return 32;case Fm:return 268435456;default:return 32}default:return 32}}var mh=!1,oi=null,ui=null,ci=null,Qo=new Map,Yo=new Map,li=[],uE="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Iv(r,i){switch(r){case"focusin":case"focusout":oi=null;break;case"dragenter":case"dragleave":ui=null;break;case"mouseover":case"mouseout":ci=null;break;case"pointerover":case"pointerout":Qo.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":Yo.delete(i.pointerId)}}function Zo(r,i,o,c,h,y){return r===null||r.nativeEvent!==y?(r={blockedOn:i,domEventName:o,eventSystemFlags:c,nativeEvent:y,targetContainers:[h]},i!==null&&(i=Ba(i),i!==null&&Pv(i)),r):(r.eventSystemFlags|=c,i=r.targetContainers,h!==null&&i.indexOf(h)===-1&&i.push(h),r)}function cE(r,i,o,c,h){switch(i){case"focusin":return oi=Zo(oi,r,i,o,c,h),!0;case"dragenter":return ui=Zo(ui,r,i,o,c,h),!0;case"mouseover":return ci=Zo(ci,r,i,o,c,h),!0;case"pointerover":var y=h.pointerId;return Qo.set(y,Zo(Qo.get(y)||null,r,i,o,c,h)),!0;case"gotpointercapture":return y=h.pointerId,Yo.set(y,Zo(Yo.get(y)||null,r,i,o,c,h)),!0}return!1}function Nv(r){var i=za(r.target);if(i!==null){var o=u(i);if(o!==null){if(i=o.tag,i===13){if(i=l(o),i!==null){r.blockedOn=i,Ym(r.priority,function(){zv(o)});return}}else if(i===31){if(i=f(o),i!==null){r.blockedOn=i,Ym(r.priority,function(){zv(o)});return}}else if(i===3&&o.stateNode.current.memoizedState.isDehydrated){r.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}r.blockedOn=null}function wl(r){if(r.blockedOn!==null)return!1;for(var i=r.targetContainers;0<i.length;){var o=ph(r.nativeEvent);if(o===null){o=r.nativeEvent;var c=new o.constructor(o.type,o);yd=c,o.target.dispatchEvent(c),yd=null}else return i=Ba(o),i!==null&&Pv(i),r.blockedOn=o,!1;i.shift()}return!0}function Lv(r,i,o){wl(r)&&o.delete(i)}function lE(){mh=!1,oi!==null&&wl(oi)&&(oi=null),ui!==null&&wl(ui)&&(ui=null),ci!==null&&wl(ci)&&(ci=null),Qo.forEach(Lv),Yo.forEach(Lv)}function xl(r,i){r.blockedOn===i&&(r.blockedOn=null,mh||(mh=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,lE)))}var Sl=null;function $v(r){Sl!==r&&(Sl=r,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Sl===r&&(Sl=null);for(var i=0;i<r.length;i+=3){var o=r[i],c=r[i+1],h=r[i+2];if(typeof c!="function"){if(yh(c||o)===null)continue;break}var y=Ba(o);y!==null&&(r.splice(i,3),i-=3,p0(y,{pending:!0,data:h,method:o.method,action:c},c,h))}}))}function ps(r){function i(L){return xl(L,r)}oi!==null&&xl(oi,r),ui!==null&&xl(ui,r),ci!==null&&xl(ci,r),Qo.forEach(i),Yo.forEach(i);for(var o=0;o<li.length;o++){var c=li[o];c.blockedOn===r&&(c.blockedOn=null)}for(;0<li.length&&(o=li[0],o.blockedOn===null);)Nv(o),o.blockedOn===null&&li.shift();if(o=(r.ownerDocument||r).$$reactFormReplay,o!=null)for(c=0;c<o.length;c+=3){var h=o[c],y=o[c+1],w=h[jt]||null;if(typeof y=="function")w||$v(o);else if(w){var A=null;if(y&&y.hasAttribute("formAction")){if(h=y,w=y[jt]||null)A=w.formAction;else if(yh(h)!==null)continue}else A=w.action;typeof A=="function"?o[c+1]=A:(o.splice(c,3),c-=3),$v(o)}}}function kv(){function r(y){y.canIntercept&&y.info==="react-transition"&&y.intercept({handler:function(){return new Promise(function(w){return h=w})},focusReset:"manual",scroll:"manual"})}function i(){h!==null&&(h(),h=null),c||setTimeout(o,20)}function o(){if(!c&&!navigation.transition){var y=navigation.currentEntry;y&&y.url!=null&&navigation.navigate(y.url,{state:y.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var c=!1,h=null;return navigation.addEventListener("navigate",r),navigation.addEventListener("navigatesuccess",i),navigation.addEventListener("navigateerror",i),setTimeout(o,100),function(){c=!0,navigation.removeEventListener("navigate",r),navigation.removeEventListener("navigatesuccess",i),navigation.removeEventListener("navigateerror",i),h!==null&&(h(),h=null)}}}function bh(r){this._internalRoot=r}El.prototype.render=bh.prototype.render=function(r){var i=this._internalRoot;if(i===null)throw Error(a(409));var o=i.current,c=fn();_v(o,c,r,i,null,null)},El.prototype.unmount=bh.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var i=r.containerInfo;_v(r.current,2,null,r,null,null),rl(),i[Pa]=null}};function El(r){this._internalRoot=r}El.prototype.unstable_scheduleHydration=function(r){if(r){var i=Qm();r={blockedOn:null,target:r,priority:i};for(var o=0;o<li.length&&i!==0&&i<li[o].priority;o++);li.splice(o,0,r),o===0&&Nv(r)}};var Uv=t.version;if(Uv!=="19.2.7")throw Error(a(527,Uv,"19.2.7"));G.findDOMNode=function(r){var i=r._reactInternals;if(i===void 0)throw typeof r.render=="function"?Error(a(188)):(r=Object.keys(r).join(","),Error(a(268,r)));return r=p(i),r=r!==null?m(r):null,r=r===null?null:r.stateNode,r};var fE={bundleType:0,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:$,reconcilerVersion:"19.2.7"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Al=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Al.isDisabled&&Al.supportsFiber)try{io=Al.inject(fE),nn=Al}catch{}}return Jo.createRoot=function(r,i){if(!s(r))throw Error(a(299));var o=!1,c="",h=Vg,y=Kg,w=Qg;return i!=null&&(i.unstable_strictMode===!0&&(o=!0),i.identifierPrefix!==void 0&&(c=i.identifierPrefix),i.onUncaughtError!==void 0&&(h=i.onUncaughtError),i.onCaughtError!==void 0&&(y=i.onCaughtError),i.onRecoverableError!==void 0&&(w=i.onRecoverableError)),i=Rv(r,1,!1,null,null,o,c,null,h,y,w,kv),r[Pa]=i.current,J0(r),new bh(i)},Jo.hydrateRoot=function(r,i,o){if(!s(r))throw Error(a(299));var c=!1,h="",y=Vg,w=Kg,A=Qg,L=null;return o!=null&&(o.unstable_strictMode===!0&&(c=!0),o.identifierPrefix!==void 0&&(h=o.identifierPrefix),o.onUncaughtError!==void 0&&(y=o.onUncaughtError),o.onCaughtError!==void 0&&(w=o.onCaughtError),o.onRecoverableError!==void 0&&(A=o.onRecoverableError),o.formState!==void 0&&(L=o.formState)),i=Rv(r,1,!0,i,o??null,c,h,L,y,w,A,kv),i.context=Cv(null),o=i.current,c=fn(),c=od(c),h=Yr(c),h.callback=null,Zr(o,h,c),o=c,i.current.lanes=o,so(i,o),Fn(i),r[Pa]=i.current,J0(r),new El(i)},Jo.version="19.2.7",Jo}var Yv;function xE(){if(Yv)return wh.exports;Yv=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),wh.exports=wE(),wh.exports}var SE=xE(),EE="__TSS_CONTEXT",lp=Symbol.for("TSS_SERVER_FUNCTION"),AE="application/x-tss-framed",br={JSON:0,CHUNK:1,END:2,ERROR:3},TE=/;\\s*v=(\\d+)/;function ME(e){const t=e.match(TE);return t?parseInt(t[1],10):void 0}function RE(e){const t=ME(e);if(t!==void 0&&t!==1)throw new Error(`Incompatible framed protocol version: server=${t}, client=1. Please ensure client and server are using compatible versions.`)}var b5=()=>window.__TSS_START_OPTIONS__;const g5=!1;function lu(e){return e[e.length-1]}function CE(e){return typeof e=="function"}function sa(e,t){return CE(e)?e(t):e}const v5=Object.prototype.hasOwnProperty,Zv=Object.prototype.propertyIsEnumerable;function w5(e){for(const t in e)if(v5.call(e,t))return!0;return!1}const _E=()=>Object.create(null),ia=(e,t)=>oa(e,t,_E);function oa(e,t,n=()=>({}),a=0){if(e===t)return e;if(a>500)return t;const s=t,u=Wv(e)&&Wv(s);if(!u&&!(ef(e)&&ef(s)))return s;const l=u?e:Xv(e);if(!l)return s;const f=u?s:Xv(s);if(!f)return s;const d=l.length,p=f.length,m=u?new Array(p):n();let b=0;for(let g=0;g<p;g++){const v=u?g:f[g],x=e[v],S=s[v];if(x===S){m[v]=x,(u?g<d:v5.call(e,v))&&b++;continue}if(x===null||S===null||typeof x!="object"||typeof S!="object"){m[v]=S;continue}const E=oa(x,S,n,a+1);m[v]=E,E===x&&b++}return d===p&&b===d?e:m}function Xv(e){const t=Object.getOwnPropertyNames(e);for(const s of t)if(!Zv.call(e,s))return!1;const n=Object.getOwnPropertySymbols(e);if(n.length===0)return t;const a=t;for(const s of n){if(!Zv.call(e,s))return!1;a.push(s)}return a}function ef(e){if(!Jv(e))return!1;const t=e.constructor;if(typeof t>"u")return!0;const n=t.prototype;return!(!Jv(n)||!n.hasOwnProperty("isPrototypeOf"))}function Jv(e){return Object.prototype.toString.call(e)==="[object Object]"}function Wv(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function It(e,t,n){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let a=0,s=e.length;a<s;a++)if(!It(e[a],t[a],n))return!1;return!0}if(ef(e)&&ef(t)){const a=n?.ignoreUndefined??!0;if(n?.partial){for(const l in t)if((!a||t[l]!==void 0)&&!It(e[l],t[l],n))return!1;return!0}let s=0;if(!a)s=Object.keys(e).length;else for(const l in e)e[l]!==void 0&&s++;let u=0;for(const l in t)if((!a||t[l]!==void 0)&&(u++,u>s||!It(e[l],t[l],n)))return!1;return s===u}return!1}function ma(e){let t,n;const a=new Promise((s,u)=>{t=s,n=u});return a.status="pending",a.resolve=s=>{a.status="resolved",a.value=s,t(s),e?.(s)},a.reject=s=>{a.status="rejected",n(s)},a}function OE(e){return typeof e?.message!="string"?!1:e.message.startsWith("Failed to fetch dynamically imported module")||e.message.startsWith("error loading dynamically imported module")||e.message.startsWith("Importing a module script failed")}function fu(e){return!!(e&&typeof e=="object"&&typeof e.then=="function")}function PE(e){return e.replace(/[\\x00-\\x1f\\x7f]/g,"")}function e6(e){let t;try{t=decodeURI(e)}catch{t=e.replaceAll(/%[0-9A-F]{2}/gi,n=>{try{return decodeURI(n)}catch{return n}})}return PE(t)}const zE=["http:","https:","mailto:","tel:"];function tf(e,t){if(!e)return!1;try{const n=new URL(e);return!t.has(n.protocol)}catch{return!1}}const BE={"&":"\\\\u0026",">":"\\\\u003e","<":"\\\\u003c","\\u2028":"\\\\u2028","\\u2029":"\\\\u2029"},IE=/[&><\\u2028\\u2029]/g;function NE(e){return e.replace(IE,t=>BE[t])}function Wo(e){if(!e)return{path:e,handledProtocolRelativeURL:!1};if(!/[%\\\\\\x00-\\x1f\\x7f]/.test(e)&&!e.startsWith("//"))return{path:e,handledProtocolRelativeURL:!1};const t=/%25|%5C/gi;let n=0,a="",s;for(;(s=t.exec(e))!==null;)a+=e6(e.slice(n,s.index))+s[0],n=t.lastIndex;a=a+e6(n?e.slice(n):e);let u=!1;return a.startsWith("//")&&(u=!0,a="/"+a.replace(/^\\/+/,"")),{path:a,handledProtocolRelativeURL:u}}function LE(e){return/\\s|[^\\u0000-\\u007F]/.test(e)?e.replace(/\\s|[^\\u0000-\\u007F]/gu,encodeURIComponent):e}function $E(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function Zt(){throw new Error("Invariant failed")}function du(e){const t=new Map;let n,a;const s=u=>{u.next&&(u.prev?(u.prev.next=u.next,u.next.prev=u.prev,u.next=void 0,a&&(a.next=u,u.prev=a)):(u.next.prev=void 0,n=u.next,u.next=void 0,a&&(u.prev=a,a.next=u)),a=u)};return{get(u){const l=t.get(u);if(l)return s(l),l.value},set(u,l){if(t.size>=e&&n){const d=n;t.delete(d.key),d.next&&(n=d.next,d.next.prev=void 0),d===a&&(a=void 0)}const f=t.get(u);if(f)f.value=l,s(f);else{const d={key:u,value:l,prev:a};a&&(a.next=d),a=d,n||(n=d),t.set(u,d)}},clear(){t.clear(),n=void 0,a=void 0}}}const vi=4,x5=5;function kE(e){const t=e.indexOf("{");if(t===-1)return null;const n=e.indexOf("}",t);return n===-1||t+1>=e.length?null:[t,n]}function S5(e,t,n=new Uint16Array(6)){const a=e.indexOf("/",t),s=a===-1?e.length:a,u=e.substring(t,s);if(!u||!u.includes("$"))return n[0]=0,n[1]=t,n[2]=t,n[3]=s,n[4]=s,n[5]=s,n;if(u==="$"){const f=e.length;return n[0]=2,n[1]=t,n[2]=t,n[3]=f,n[4]=f,n[5]=f,n}if(u.charCodeAt(0)===36)return n[0]=1,n[1]=t,n[2]=t+1,n[3]=s,n[4]=s,n[5]=s,n;const l=kE(u);if(l){const[f,d]=l,p=u.charCodeAt(f+1);if(p===45){if(f+2<u.length&&u.charCodeAt(f+2)===36){const m=f+3,b=d;if(m<b)return n[0]=3,n[1]=t+f,n[2]=t+m,n[3]=t+b,n[4]=t+d+1,n[5]=s,n}}else if(p===36){const m=f+1,b=f+2;return b===d?(n[0]=2,n[1]=t+f,n[2]=t+m,n[3]=t+b,n[4]=t+d+1,n[5]=e.length,n):(n[0]=1,n[1]=t+f,n[2]=t+b,n[3]=t+d,n[4]=t+d+1,n[5]=s,n)}}return n[0]=0,n[1]=t,n[2]=t,n[3]=s,n[4]=s,n[5]=s,n}function xf(e,t,n,a,s,u,l){l?.(n);let f=a;{const d=n.fullPath??n.from,p=d.length,m=n.options?.caseSensitive??e,b=n.options?.params?.parse??n.options?.parseParams;for(;f<p;){const v=S5(d,f,t);let x;const S=f,E=v[5];switch(f=E+1,u++,v[0]){case 0:{const R=d.substring(v[2],v[3]);if(m){const z=s.static?.get(R);if(z)x=z;else{s.static??=new Map;const M=ua(n.fullPath??n.from);M.parent=s,M.depth=u,x=M,s.static.set(R,M)}}else{const z=R.toLowerCase(),M=s.staticInsensitive?.get(z);if(M)x=M;else{s.staticInsensitive??=new Map;const _=ua(n.fullPath??n.from);_.parent=s,_.depth=u,x=_,s.staticInsensitive.set(z,_)}}break}case 1:{const R=d.substring(S,v[1]),z=d.substring(v[4],E),M=m&&!!(R||z),_=R?M?R:R.toLowerCase():void 0,C=z?M?z:z.toLowerCase():void 0,B=!b&&s.dynamic?.find(O=>!O.parse&&O.caseSensitive===M&&O.prefix===_&&O.suffix===C);if(B)x=B;else{const O=Th(1,n.fullPath??n.from,M,_,C);x=O,O.depth=u,O.parent=s,s.dynamic??=[],s.dynamic.push(O)}break}case 3:{const R=d.substring(S,v[1]),z=d.substring(v[4],E),M=m&&!!(R||z),_=R?M?R:R.toLowerCase():void 0,C=z?M?z:z.toLowerCase():void 0,B=!b&&s.optional?.find(O=>!O.parse&&O.caseSensitive===M&&O.prefix===_&&O.suffix===C);if(B)x=B;else{const O=Th(3,n.fullPath??n.from,M,_,C);x=O,O.parent=s,O.depth=u,s.optional??=[],s.optional.push(O)}break}case 2:{const R=d.substring(S,v[1]),z=d.substring(v[4],E),M=m&&!!(R||z),_=R?M?R:R.toLowerCase():void 0,C=z?M?z:z.toLowerCase():void 0,B=Th(2,n.fullPath??n.from,M,_,C);x=B,B.parent=s,B.depth=u,s.wildcard??=[],s.wildcard.push(B)}}s=x}if(b&&n.children&&!n.isRoot&&n.id&&n.id.charCodeAt(n.id.lastIndexOf("/")+1)===95){const v=ua(n.fullPath??n.from);v.kind=x5,v.parent=s,u++,v.depth=u,s.pathless??=[],s.pathless.push(v),s=v}const g=(n.path||!n.children)&&!n.isRoot;if(g&&d.endsWith("/")){const v=ua(n.fullPath??n.from);v.kind=vi,v.parent=s,u++,v.depth=u,s.index=v,s=v}s.parse=b??null,s.priority=n.options?.params?.priority??0,g&&!s.route&&(s.route=n,s.fullPath=n.fullPath??n.from)}if(n.children)for(const d of n.children)xf(e,t,d,f,s,u,l)}function Ah(e,t){if(e.parse&&!t.parse)return-1;if(!e.parse&&t.parse)return 1;if(e.parse&&t.parse&&(e.priority||t.priority))return t.priority-e.priority;if(e.prefix&&t.prefix&&e.prefix!==t.prefix){if(e.prefix.startsWith(t.prefix))return-1;if(t.prefix.startsWith(e.prefix))return 1}if(e.suffix&&t.suffix&&e.suffix!==t.suffix){if(e.suffix.endsWith(t.suffix))return-1;if(t.suffix.endsWith(e.suffix))return 1}return e.prefix&&!t.prefix?-1:!e.prefix&&t.prefix?1:e.suffix&&!t.suffix?-1:!e.suffix&&t.suffix?1:e.caseSensitive&&!t.caseSensitive?-1:!e.caseSensitive&&t.caseSensitive?1:0}function mi(e){if(e.pathless)for(const t of e.pathless)mi(t);if(e.static)for(const t of e.static.values())mi(t);if(e.staticInsensitive)for(const t of e.staticInsensitive.values())mi(t);if(e.dynamic?.length){e.dynamic.sort(Ah);for(const t of e.dynamic)mi(t)}if(e.optional?.length){e.optional.sort(Ah);for(const t of e.optional)mi(t)}if(e.wildcard?.length){e.wildcard.sort(Ah);for(const t of e.wildcard)mi(t)}}function ua(e){return{kind:0,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:e,parent:null,parse:null,priority:0}}function Th(e,t,n,a,s){return{kind:e,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:t,parent:null,parse:null,priority:0,caseSensitive:n,prefix:a,suffix:s}}function UE(e,t){const n=ua("/"),a=new Uint16Array(6);for(const s of e)xf(!1,a,s,1,n,0);mi(n),t.masksTree=n,t.flatCache=du(1e3)}function jE(e,t){e||="/";const n=t.flatCache.get(e);if(n)return n;const a=My(e,t.masksTree);return t.flatCache.set(e,a),a}function DE(e,t,n,a,s){e||="/",a||="/";const u=t?`case\\0${e}`:e;let l=s.singleCache.get(u);return l||(l=ua("/"),xf(t,new Uint16Array(6),{from:e},1,l,0),s.singleCache.set(u,l)),My(a,l,n)}function HE(e,t,n=!1){const a=n?e:`nofuzz\\0${e}`,s=t.matchCache.get(a);if(s!==void 0)return s;e||="/";let u;try{u=My(e,t.segmentTree,n)}catch(l){if(l instanceof URIError)u=null;else throw l}return u&&(u.branch=A5(u.route)),t.matchCache.set(a,u),u}function FE(e){return e==="/"?e:e.replace(/\\/{1,}$/,"")}function qE(e,t=!1,n){const a=ua(e.fullPath),s=new Uint16Array(6),u={},l={};let f=0;return xf(t,s,e,1,a,0,d=>{if(n?.(d,f),d.id in u&&Zt(),u[d.id]=d,f!==0&&d.path){const p=FE(d.fullPath);(!l[p]||d.fullPath.endsWith("/"))&&(l[p]=d)}f++}),mi(a),{processedTree:{segmentTree:a,singleCache:du(1e3),matchCache:du(1e3),flatCache:null,masksTree:null},routesById:u,routesByPath:l}}function My(e,t,n=!1){const a=e.split("/"),s=VE(e,a,t,n);if(!s)return null;const[u]=E5(e,a,s);return{route:s.node.route,rawParams:u}}function E5(e,t,n){const a=GE(n.node);let s=null;const u=Object.create(null);let l=n.extract?.part??0,f=n.extract?.node??0,d=n.extract?.path??0,p=n.extract?.segment??0;for(;f<a.length;l++,f++,d++,p++){const m=a[f];if(m.kind===vi)break;if(m.kind===x5){p--,l--,d--;continue}const b=t[l],g=d;if(b&&(d+=b.length),m.kind===1){s??=n.node.fullPath.split("/");const v=s[p],x=m.prefix?.length??0;if(v.charCodeAt(x)===123){const S=m.suffix?.length??0,E=v.substring(x+2,v.length-S-1),R=b.substring(x,b.length-S);u[E]=decodeURIComponent(R)}else{const S=v.substring(1);u[S]=decodeURIComponent(b)}}else if(m.kind===3){if(n.skipped&1<<f){l--,d=g-1;continue}s??=n.node.fullPath.split("/");const v=s[p],x=m.prefix?.length??0,S=m.suffix?.length??0,E=v.substring(x+3,v.length-S-1),R=m.suffix||m.prefix?b.substring(x,b.length-S):b;R&&(u[E]=decodeURIComponent(R))}else if(m.kind===2){const v=m,x=e.substring(g+(v.prefix?.length??0),e.length-(v.suffix?.length??0)),S=decodeURIComponent(x);u["*"]=S,u._splat=S;break}}return n.rawParams&&Object.assign(u,n.rawParams),[u,{part:l,node:f,path:d,segment:p}]}function A5(e){const t=[e];for(;e.parentRoute;)e=e.parentRoute,t.push(e);return t.reverse(),t}function GE(e){const t=Array(e.depth+1);do t[e.depth]=e,e=e.parent;while(e);return t}function VE(e,t,n,a){if(e==="/"&&n.index)return{node:n.index,skipped:0};const s=!lu(t),u=s&&e!=="/",l=t.length-(s?1:0),f=[{node:n,index:1,skipped:0,depth:1,statics:0,dynamics:0,optionals:0}];let d=null,p=null;for(;f.length;){const m=f.pop(),{node:b,index:g,skipped:v,depth:x,statics:S,dynamics:E,optionals:R}=m;let{extract:z,rawParams:M}=m;if(b.kind===2&&b.route&&!Ml(p,m))continue;if(b.parse){if(!t6(e,t,m))continue;M=m.rawParams,z=m.extract}a&&b.route&&b.kind!==vi&&Ml(d,m)&&(d=m);const _=g===l;if(_&&(b.route&&(!u||b.kind===vi||b.kind===2)&&Ml(p,m)&&(p=m),!b.optional&&!b.wildcard&&!b.index&&!b.pathless))continue;const C=_?void 0:t[g];let B;if(_&&b.index){const O={node:b.index,index:g,skipped:v,depth:x+1,statics:S,dynamics:E,optionals:R,extract:z,rawParams:M};let I=!0;if(b.index.parse&&(t6(e,t,O)||(I=!1)),I){if(!E&&!R&&!v&&KE(S,l))return O;Ml(p,O)&&(p=O)}}if(b.wildcard)for(let O=b.wildcard.length-1;O>=0;O--){const I=b.wildcard[O],{prefix:U,suffix:D}=I;if(!(U&&(_||!(I.caseSensitive?C:B??=C.toLowerCase()).startsWith(U)))){if(D){if(_)continue;const Q=t.slice(g).join("/").slice(-D.length);if((I.caseSensitive?Q:Q.toLowerCase())!==D)continue}f.push({node:I,index:l,skipped:v,depth:x+1,statics:S,dynamics:E,optionals:R,extract:z,rawParams:M})}}if(b.optional){const O=v|1<<x,I=x+1;for(let U=b.optional.length-1;U>=0;U--){const D=b.optional[U];f.push({node:D,index:g,skipped:O,depth:I,statics:S,dynamics:E,optionals:R,extract:z,rawParams:M})}if(!_)for(let U=b.optional.length-1;U>=0;U--){const D=b.optional[U],{prefix:Q,suffix:X}=D;if(Q||X){const te=D.caseSensitive?C:B??=C.toLowerCase();if(Q&&!te.startsWith(Q)||X&&!te.endsWith(X))continue}f.push({node:D,index:g+1,skipped:v,depth:I,statics:S,dynamics:E,optionals:R+Tl(l,g),extract:z,rawParams:M})}}if(!_&&b.dynamic&&C)for(let O=b.dynamic.length-1;O>=0;O--){const I=b.dynamic[O],{prefix:U,suffix:D}=I;if(U||D){const Q=I.caseSensitive?C:B??=C.toLowerCase();if(U&&!Q.startsWith(U)||D&&!Q.endsWith(D))continue}f.push({node:I,index:g+1,skipped:v,depth:x+1,statics:S,dynamics:E+Tl(l,g),optionals:R,extract:z,rawParams:M})}if(!_&&b.staticInsensitive){const O=b.staticInsensitive.get(B??=C.toLowerCase());O&&f.push({node:O,index:g+1,skipped:v,depth:x+1,statics:S+Tl(l,g),dynamics:E,optionals:R,extract:z,rawParams:M})}if(!_&&b.static){const O=b.static.get(C);O&&f.push({node:O,index:g+1,skipped:v,depth:x+1,statics:S+Tl(l,g),dynamics:E,optionals:R,extract:z,rawParams:M})}if(b.pathless){const O=x+1;for(let I=b.pathless.length-1;I>=0;I--){const U=b.pathless[I];f.push({node:U,index:g,skipped:v,depth:O,statics:S,dynamics:E,optionals:R,extract:z,rawParams:M})}}}if(p)return p;if(a&&d){let m=d.index;for(let g=0;g<d.index;g++)m+=t[g].length;const b=m===e.length?"/":e.slice(m);return d.rawParams??=Object.create(null),d.rawParams["**"]=decodeURIComponent(b),d}return null}function Tl(e,t){return 2**(e-t-1)}function KE(e,t){return e===2**(t-1)-1}function t6(e,t,n){let a,s;try{[a,s]=E5(e,t,n)}catch{return null}if(n.rawParams=a,n.extract=s,!n.node.parse)return!0;try{if(n.node.parse(a)===!1)return null}catch{}return!0}function Ml(e,t){return e?t.statics>e.statics||t.statics===e.statics&&(t.dynamics>e.dynamics||t.dynamics===e.dynamics&&(t.optionals>e.optionals||t.optionals===e.optionals&&((t.node.kind===vi)>(e.node.kind===vi)||t.node.kind===vi==(e.node.kind===vi)&&t.depth>e.depth))):!0}function Gl(e){return Ry(e.filter(t=>t!==void 0).join("/"))}function Ry(e){return e.replace(/\\/{2,}/g,"/")}function T5(e){return e==="/"?e:e.replace(/^\\/{1,}/,"")}function Mr(e){const t=e.length;return t>1&&e[t-1]==="/"?e.replace(/\\/{1,}$/,""):e}function M5(e){return Mr(T5(e))}function nf(e,t){return e?.endsWith("/")&&e!=="/"&&e!==`${t}/`?e.slice(0,-1):e}function QE(e,t,n){return nf(e,n)===nf(t,n)}function YE({base:e,to:t,trailingSlash:n="never",cache:a}){const s=t.startsWith("/"),u=!s&&t===".";let l;if(a){l=s?t:u?e:e+"\\0"+t;const p=a.get(l);if(p)return p}let f;if(u)f=e.split("/");else if(s)f=t.split("/");else{for(f=e.split("/");f.length>1&&lu(f)==="";)f.pop();const p=t.split("/");for(let m=0,b=p.length;m<b;m++){const g=p[m];g===""?m?m===b-1&&f.push(g):f=[g]:g===".."?f.pop():g==="."||f.push(g)}}f.length>1&&(lu(f)===""?n==="never"&&f.pop():n==="always"&&f.push(""));const d=Ry(f.join("/"))||"/";return l&&a&&a.set(l,d),d}function ZE(e){const t=new Map(e.map(s=>[encodeURIComponent(s),s])),n=Array.from(t.keys()).map(s=>s.replace(/[.*+?^${}()|[\\]\\\\]/g,"\\\\$&")).join("|"),a=new RegExp(n,"g");return s=>s.replace(a,u=>t.get(u)??u)}function Mh(e,t,n){const a=t[e];return typeof a!="string"?a:e==="_splat"?/^[a-zA-Z0-9\\-._~!/]*$/.test(a)?a:a.split("/").map(s=>r6(s,n)).join("/"):r6(a,n)}function n6({path:e,params:t,decoder:n,...a}){let s=!1;const u=Object.create(null);if(!e||e==="/")return{interpolatedPath:"/",usedParams:u,isMissingParams:s};if(!e.includes("$"))return{interpolatedPath:e,usedParams:u,isMissingParams:s};const l=e.length;let f=0,d,p="";for(;f<l;){const m=f;d=S5(e,m,d);const b=d[5];if(f=b+1,m===b)continue;const g=d[0];if(g===0){p+="/"+e.substring(m,b);continue}if(g===2){const v=t._splat;u._splat=v,u["*"]=v;const x=e.substring(m,d[1]),S=e.substring(d[4],b);if(!v){s=!0,(x||S)&&(p+="/"+x+S);continue}const E=Mh("_splat",t,n);p+="/"+x+E+S;continue}if(g===1){const v=e.substring(d[2],d[3]);!s&&!(v in t)&&(s=!0),u[v]=t[v];const x=e.substring(m,d[1]),S=e.substring(d[4],b),E=Mh(v,t,n)??"undefined";p+="/"+x+E+S;continue}if(g===3){const v=e.substring(d[2],d[3]),x=t[v];if(x==null)continue;u[v]=x;const S=e.substring(m,d[1]),E=e.substring(d[4],b),R=Mh(v,t,n)??"";p+="/"+S+R+E;continue}}return e.endsWith("/")&&(p+="/"),{usedParams:u,interpolatedPath:p||"/",isMissingParams:s}}function r6(e,t){const n=encodeURIComponent(e);return t?.(n)??n}function mt(e){return e?.isNotFound===!0}function R5(e,t=String){const n=new URLSearchParams;for(const a in e){const s=e[a];s!==void 0&&n.set(a,t(s))}return n.toString()}function Rh(e){return e?e==="false"?!1:e==="true"?!0:+e*0===0&&+e+""===e?+e:e:""}function XE(e){const t=new URLSearchParams(e),n=Object.create(null);for(const[a,s]of t.entries()){const u=n[a];u==null?n[a]=Rh(s):Array.isArray(u)?u.push(Rh(s)):n[a]=[u,Rh(s)]}return n}const JE=eA(JSON.parse),WE=tA(JSON.stringify,JSON.parse);function eA(e){return t=>{t[0]==="?"&&(t=t.substring(1));const n=XE(t);for(const a in n){const s=n[a];if(typeof s=="string")try{n[a]=e(s)}catch{}}return n}}function tA(e,t){const n=typeof t=="function";function a(s){if(typeof s=="object"&&s!==null)try{return e(s)}catch{}else if(n&&typeof s=="string")try{return t(s),e(s)}catch{}return s}return s=>{const u=R5(s,a);return u?`?${u}`:""}}const ha="__root__";function Cy(e){if(e.statusCode=e.statusCode||e.code||307,!e._builtLocation&&!e.reloadDocument&&typeof e.href=="string")try{new URL(e.href),e.reloadDocument=!0}catch{}const t=new Headers(e.headers);e.href&&t.get("Location")===null&&t.set("Location",e.href);const n=new Response(null,{status:e.statusCode,headers:t});if(n.options=e,e.throw)throw n;return n}function Qt(e){return e instanceof Response&&!!e.options}function nA(e){if(e!==null&&typeof e=="object"&&e.isSerializedRedirect)return Cy(e)}const fp=e=>{if(!e.rendered)return e.rendered=!0,e.onReady?.()},rA=e=>e.stores.matchesId.get().some(t=>e.stores.matchStores.get(t)?.get()._forcePending),Sf=(e,t)=>!!(e.preload&&!e.router.stores.matchStores.has(t)),pa=(e,t,n=!0)=>{const a={...e.router.options.context??{}},s=n?t:t-1;for(let u=0;u<=s;u++){const l=e.matches[u];if(!l)continue;const f=e.router.getMatch(l.id);f&&Object.assign(a,f.__routeContext,f.__beforeLoadContext)}return a},i6=(e,t)=>{if(!e.matches.length)return;const n=t.routeId,a=e.matches.findIndex(l=>l.routeId===e.router.routeTree.id),s=a>=0?a:0;let u=n?e.matches.findIndex(l=>l.routeId===n):e.firstBadMatchIndex??e.matches.length-1;u<0&&(u=s);for(let l=u;l>=0;l--){const f=e.matches[l];if(e.router.looseRoutesById[f.routeId].options.notFoundComponent)return l}return n?u:s},wi=(e,t,n)=>{if(!(!Qt(n)&&!mt(n)))throw Qt(n)&&n.redirectHandled&&!n.options.reloadDocument||(t&&(t._nonReactive.beforeLoadPromise?.resolve(),t._nonReactive.loaderPromise?.resolve(),t._nonReactive.beforeLoadPromise=void 0,t._nonReactive.loaderPromise=void 0,t._nonReactive.error=n,e.updateMatch(t.id,a=>({...a,status:Qt(n)?"redirected":mt(n)?"notFound":a.status==="pending"?"success":a.status,context:pa(e,t.index),isFetching:!1,error:n})),mt(n)&&!n.routeId&&(n.routeId=t.routeId),t._nonReactive.loadPromise?.resolve()),Qt(n)&&(e.rendered=!0,n.options._fromLocation=e.location,n.redirectHandled=!0,n=e.router.resolveRedirect(n))),n},C5=(e,t)=>{const n=e.router.getMatch(t);return!!(!n||n._nonReactive.dehydrated)},a6=(e,t,n)=>{const a=pa(e,n);e.updateMatch(t,s=>({...s,context:a}))},eu=(e,t,n)=>{const{id:a,routeId:s}=e.matches[t],u=e.router.looseRoutesById[s];if(n instanceof Promise)throw n;e.firstBadMatchIndex??=t,wi(e,e.router.getMatch(a),n);try{u.options.onError?.(n)}catch(l){n=l,wi(e,e.router.getMatch(a),n)}e.updateMatch(a,l=>(l._nonReactive.beforeLoadPromise?.resolve(),l._nonReactive.beforeLoadPromise=void 0,l._nonReactive.loadPromise?.resolve(),{...l,error:n,status:"error",isFetching:!1,updatedAt:Date.now(),abortController:new AbortController})),!e.preload&&!Qt(n)&&!mt(n)&&(e.serialError??=n)},_5=(e,t,n,a)=>{if(a._nonReactive.pendingTimeout!==void 0)return;const s=n.options.pendingMs??e.router.options.defaultPendingMs;if(e.onReady&&!Sf(e,t)&&(n.options.loader||n.options.beforeLoad||P5(n))&&typeof s=="number"&&s!==1/0&&(n.options.pendingComponent??e.router.options?.defaultPendingComponent)){const u=setTimeout(()=>{fp(e)},s);a._nonReactive.pendingTimeout=u}},iA=(e,t,n)=>{const a=e.router.getMatch(t);if(!a._nonReactive.beforeLoadPromise&&!a._nonReactive.loaderPromise)return;_5(e,t,n,a);const s=()=>{const u=e.router.getMatch(t);u.preload&&(u.status==="redirected"||u.status==="notFound")&&wi(e,u,u.error)};return a._nonReactive.beforeLoadPromise?a._nonReactive.beforeLoadPromise.then(s):s()},aA=(e,t,n,a)=>{const s=e.router.getMatch(t);let u=s._nonReactive.loadPromise;s._nonReactive.loadPromise=ma(()=>{u?.resolve(),u=void 0});const{paramsError:l,searchError:f}=s;l&&eu(e,n,l),f&&eu(e,n,f),_5(e,t,a,s);const d=new AbortController;let p=!1;const m=()=>{p||(p=!0,e.updateMatch(t,_=>({..._,isFetching:"beforeLoad",fetchCount:_.fetchCount+1,abortController:d})))},b=()=>{s._nonReactive.beforeLoadPromise?.resolve(),s._nonReactive.beforeLoadPromise=void 0,e.updateMatch(t,_=>({..._,isFetching:!1}))};if(!a.options.beforeLoad){e.router.batch(()=>{m(),b()});return}s._nonReactive.beforeLoadPromise=ma();const g={...pa(e,n,!1),...s.__routeContext},{search:v,params:x,cause:S}=s,E=Sf(e,t),R={search:v,abortController:d,params:x,preload:E,context:g,location:e.location,navigate:_=>e.router.navigate({..._,_fromLocation:e.location}),buildLocation:e.router.buildLocation,cause:E?"preload":S,matches:e.matches,routeId:a.id,...e.router.options.additionalContext},z=_=>{if(_===void 0){e.router.batch(()=>{m(),b()});return}(Qt(_)||mt(_))&&(m(),eu(e,n,_)),e.router.batch(()=>{m(),e.updateMatch(t,C=>({...C,__beforeLoadContext:_})),b()})};let M;try{if(M=a.options.beforeLoad(R),fu(M))return m(),M.catch(_=>{eu(e,n,_)}).then(z)}catch(_){m(),eu(e,n,_)}z(M)},sA=(e,t)=>{const{id:n,routeId:a}=e.matches[t],s=e.router.looseRoutesById[a],u=()=>f(),l=()=>aA(e,n,t,s),f=()=>{if(C5(e,n))return;const d=iA(e,n,s);return fu(d)?d.then(l):l()};return u()},oA=(e,t,n)=>{const a=e.router.getMatch(t);if(!a||!n.options.head&&!n.options.scripts&&!n.options.headers)return;const s={ssr:e.router.options.ssr,matches:e.matches,match:a,params:a.params,loaderData:a.loaderData};return Promise.all([n.options.head?.(s),n.options.scripts?.(s),n.options.headers?.(s)]).then(([u,l,f])=>({meta:u?.meta,links:u?.links,headScripts:u?.scripts,headers:f,scripts:l,styles:u?.styles}))},O5=(e,t,n,a,s)=>{const u=t[a-1],{params:l,loaderDeps:f,abortController:d,cause:p}=e.router.getMatch(n),m=pa(e,a),b=Sf(e,n);return{params:l,deps:f,preload:!!b,parentMatchPromise:u,abortController:d,context:m,location:e.location,navigate:g=>e.router.navigate({...g,_fromLocation:e.location}),cause:b?"preload":p,route:s,...e.router.options.additionalContext}},s6=async(e,t,n,a,s)=>{try{const u=e.router.getMatch(n);try{(!(g5??e.router.isServer)||u.ssr===!0)&&hu(s);const l=s.options.loader,f=typeof l=="function"?l:l?.handler,d=f?.(O5(e,t,n,a,s)),p=!!f&&fu(d);if((p||s._lazyPromise||s._componentsPromise||s.options.head||s.options.scripts||s.options.headers||u._nonReactive.minPendingPromise)&&e.updateMatch(n,b=>({...b,isFetching:"loader"})),f){const b=p?await d:d;wi(e,e.router.getMatch(n),b),b!==void 0&&e.updateMatch(n,g=>({...g,loaderData:b}))}s._lazyPromise&&await s._lazyPromise;const m=u._nonReactive.minPendingPromise;m&&await m,s._componentsPromise&&await s._componentsPromise,e.updateMatch(n,b=>({...b,error:void 0,context:pa(e,a),status:"success",isFetching:!1,updatedAt:Date.now()}))}catch(l){let f=l;if(f?.name==="AbortError"){if(u.abortController.signal.aborted){u._nonReactive.loaderPromise?.resolve(),u._nonReactive.loaderPromise=void 0;return}e.updateMatch(n,p=>({...p,status:p.status==="pending"?"success":p.status,isFetching:!1,context:pa(e,a)}));return}const d=u._nonReactive.minPendingPromise;d&&await d,mt(l)&&await s.options.notFoundComponent?.preload?.(),wi(e,e.router.getMatch(n),l);try{s.options.onError?.(l)}catch(p){f=p,wi(e,e.router.getMatch(n),p)}!Qt(f)&&!mt(f)&&await hu(s,["errorComponent"]),e.updateMatch(n,p=>({...p,error:f,context:pa(e,a),status:"error",isFetching:!1}))}}catch(u){const l=e.router.getMatch(n);l&&(l._nonReactive.loaderPromise=void 0),wi(e,l,u)}},uA=async(e,t,n)=>{async function a(v,x,S,E,R){const z=Date.now()-x.updatedAt,M=v?R.options.preloadStaleTime??e.router.options.defaultPreloadStaleTime??3e4:R.options.staleTime??e.router.options.defaultStaleTime??0,_=R.options.shouldReload,C=typeof _=="function"?_(O5(e,t,s,n,R)):_,{status:B,invalid:O}=E,I=z>=M&&(!!e.forceStaleReload||E.cause==="enter"||S!==void 0&&S!==E.id);l=B==="success"&&(O||(C??I)),v&&R.options.preload===!1||(l&&!e.sync&&m?(f=!0,(async()=>{try{await s6(e,t,s,n,R);const U=e.router.getMatch(s);U._nonReactive.loaderPromise?.resolve(),U._nonReactive.loadPromise?.resolve(),U._nonReactive.loaderPromise=void 0,U._nonReactive.loadPromise=void 0}catch(U){Qt(U)&&await e.router.navigate(U.options)}})()):B!=="success"||l?await s6(e,t,s,n,R):a6(e,s,n))}const{id:s,routeId:u}=e.matches[n];let l=!1,f=!1;const d=e.router.looseRoutesById[u],p=d.options.loader,m=((typeof p=="function"?void 0:p?.staleReloadMode)??e.router.options.defaultStaleReloadMode)!=="blocking";if(C5(e,s)){if(!e.router.getMatch(s))return e.matches[n];a6(e,s,n)}else{const v=e.router.getMatch(s),x=e.router.stores.matchesId.get()[n],S=(x&&e.router.stores.matchStores.get(x)||null)?.routeId===u?x:e.router.stores.matches.get().find(R=>R.routeId===u)?.id,E=Sf(e,s);if(v._nonReactive.loaderPromise){if(v.status==="success"&&!e.sync&&!v.preload&&m)return v;await v._nonReactive.loaderPromise;const R=e.router.getMatch(s),z=R._nonReactive.error||R.error;z&&wi(e,R,z),R.status==="pending"&&await a(E,v,S,R,d)}else{const R=E&&!e.router.stores.matchStores.has(s),z=e.router.getMatch(s);z._nonReactive.loaderPromise=ma(),R!==z.preload&&e.updateMatch(s,M=>({...M,preload:R})),await a(E,v,S,z,d)}}const b=e.router.getMatch(s);f||(b._nonReactive.loaderPromise?.resolve(),b._nonReactive.loadPromise?.resolve(),b._nonReactive.loadPromise=void 0),clearTimeout(b._nonReactive.pendingTimeout),b._nonReactive.pendingTimeout=void 0,f||(b._nonReactive.loaderPromise=void 0),b._nonReactive.dehydrated=void 0;const g=f?b.isFetching:!1;return g!==b.isFetching||b.invalid!==!1?(e.updateMatch(s,v=>({...v,isFetching:g,invalid:!1})),e.router.getMatch(s)):b};async function o6(e){const t=e,n=[];rA(t.router)&&fp(t);let a;for(let g=0;g<t.matches.length;g++){try{const v=sA(t,g);fu(v)&&await v}catch(v){if(Qt(v))throw v;if(mt(v))a=v;else if(!t.preload)throw v;break}if(t.serialError||t.firstBadMatchIndex!=null)break}const s=t.firstBadMatchIndex??t.matches.length,u=a&&!t.preload?i6(t,a):void 0,l=a&&t.preload?0:u!==void 0?Math.min(u+1,s):s;let f,d;for(let g=0;g<l;g++)n.push(uA(t,n,g));try{await Promise.all(n)}catch{const g=await Promise.allSettled(n);for(const v of g){if(v.status!=="rejected")continue;const x=v.reason;if(Qt(x))throw x;mt(x)?f??=x:d??=x}if(d!==void 0)throw d}const p=f??(a&&!t.preload?a:void 0);let m=t.firstBadMatchIndex!==void 0?t.firstBadMatchIndex:t.matches.length-1;if(!p&&a&&t.preload)return t.matches;if(p){const g=i6(t,p);g===void 0&&Zt();const v=t.matches[g],x=t.router.looseRoutesById[v.routeId],S=t.router.options?.defaultNotFoundComponent;!x.options.notFoundComponent&&S&&(x.options.notFoundComponent=S),p.routeId=v.routeId;const E=v.routeId===t.router.routeTree.id;t.updateMatch(v.id,R=>({...R,...E?{status:"success",globalNotFound:!0,error:void 0}:{status:"notFound",error:p},isFetching:!1})),m=g,await hu(x,["notFoundComponent"])}else if(!t.preload){const g=t.matches[0];g.globalNotFound||t.router.getMatch(g.id)?.globalNotFound&&t.updateMatch(g.id,v=>({...v,globalNotFound:!1,error:void 0}))}if(t.serialError&&t.firstBadMatchIndex!==void 0){const g=t.router.looseRoutesById[t.matches[t.firstBadMatchIndex].routeId];await hu(g,["errorComponent"])}for(let g=0;g<=m;g++){const{id:v,routeId:x}=t.matches[g],S=t.router.looseRoutesById[x];try{const E=oA(t,v,S);if(E){const R=await E;t.updateMatch(v,z=>({...z,...R}))}}catch(E){console.error(`Error executing head for route ${x}:`,E)}}const b=fp(t);if(fu(b)&&await b,p)throw p;if(t.serialError&&!t.preload&&!t.onReady)throw t.serialError;return t.matches}function u6(e,t){const n=t.map(a=>e.options[a]?.preload?.()).filter(Boolean);if(n.length!==0)return Promise.all(n)}function hu(e,t=Vl){!e._lazyLoaded&&e._lazyPromise===void 0&&(e.lazyFn?e._lazyPromise=e.lazyFn().then(a=>{const{id:s,...u}=a.options;Object.assign(e.options,u),e._lazyLoaded=!0,e._lazyPromise=void 0}):e._lazyLoaded=!0);const n=()=>e._componentsLoaded?void 0:t===Vl?(()=>{if(e._componentsPromise===void 0){const a=u6(e,Vl);a?e._componentsPromise=a.then(()=>{e._componentsLoaded=!0,e._componentsPromise=void 0}):e._componentsLoaded=!0}return e._componentsPromise})():u6(e,t);return e._lazyPromise?e._lazyPromise.then(n):n()}function P5(e){for(const t of Vl)if(e.options[t]?.preload)return!0;return!1}const Vl=["component","errorComponent","pendingComponent","notFoundComponent"];function cA(e){return{input:({url:t})=>{for(const n of e)t=dp(n,t);return t},output:({url:t})=>{for(let n=e.length-1;n>=0;n--)t=z5(e[n],t);return t}}}function lA(e){const t=M5(e.basepath),n=`/${t}`,a=e.caseSensitive?n:n.toLowerCase(),s=`${a}/`;return{input:({url:u})=>{const l=e.caseSensitive?u.pathname:u.pathname.toLowerCase();return l===a?u.pathname="/":l.startsWith(s)&&(u.pathname=u.pathname.slice(n.length)),u},output:({url:u})=>(u.pathname=Gl(["/",t,u.pathname]),u)}}function dp(e,t){const n=e?.input?.({url:t});if(n){if(typeof n=="string")return new URL(n);if(n instanceof URL)return n}return t}function z5(e,t){const n=e?.output?.({url:t});if(n){if(typeof n=="string")return new URL(n);if(n instanceof URL)return n}return t}function fA(e,t){const{createMutableStore:n,createReadonlyStore:a,batch:s,init:u}=t,l=new Map,f=new Map,d=new Map,p=n(e.status),m=n(e.loadedAt),b=n(e.isLoading),g=n(e.isTransitioning),v=n(e.location),x=n(e.resolvedLocation),S=n(e.statusCode),E=n(e.redirect),R=n([]),z=n([]),M=n([]),_=a(()=>Ch(l,R.get())),C=a(()=>Ch(f,z.get())),B=a(()=>Ch(d,M.get())),O=a(()=>R.get()[0]),I=a(()=>R.get().some(G=>l.get(G)?.get().status==="pending")),U=a(()=>({locationHref:v.get().href,resolvedLocationHref:x.get()?.href,status:p.get()})),D=a(()=>({status:p.get(),loadedAt:m.get(),isLoading:b.get(),isTransitioning:g.get(),matches:_.get(),location:v.get(),resolvedLocation:x.get(),statusCode:S.get(),redirect:E.get()})),Q=du(64);function X(G){let ne=Q.get(G);return ne||(ne=a(()=>{const ce=R.get();for(const fe of ce){const N=l.get(fe);if(N&&N.routeId===G)return N.get()}}),Q.set(G,ne)),ne}const te={status:p,loadedAt:m,isLoading:b,isTransitioning:g,location:v,resolvedLocation:x,statusCode:S,redirect:E,matchesId:R,pendingIds:z,cachedIds:M,matches:_,pendingMatches:C,cachedMatches:B,firstId:O,hasPending:I,matchRouteDeps:U,matchStores:l,pendingMatchStores:f,cachedMatchStores:d,__store:D,getRouteMatchStore:X,setMatches:ue,setPending:W,setCached:$};ue(e.matches),u?.(te);function ue(G){_h(G,l,R,n,s)}function W(G){_h(G,f,z,n,s)}function $(G){_h(G,d,M,n,s)}return te}function Ch(e,t){const n=[];for(const a of t){const s=e.get(a);s&&n.push(s.get())}return n}function _h(e,t,n,a,s){const u=e.map(f=>f.id),l=new Set(u);s(()=>{for(const f of t.keys())l.has(f)||t.delete(f);for(const f of e){const d=t.get(f.id);if(!d){const p=a(f);p.routeId=f.routeId,t.set(f.id,p);continue}d.routeId=f.routeId,d.get()!==f&&d.set(f)}$E(n.get(),u)||n.set(u)})}var xi="__TSR_index",c6="popstate",l6="beforeunload";function dA(e){let t=e.getLocation();const n=new Set,a=l=>{t=e.getLocation(),n.forEach(f=>f({location:t,action:l}))},s=l=>{e.notifyOnIndexChange??!0?a(l):t=e.getLocation()},u=async({task:l,navigateOpts:f,...d})=>{if(f?.ignoreBlocker??!1){l();return}const p=e.getBlockers?.()??[],m=d.type==="PUSH"||d.type==="REPLACE";if(typeof document<"u"&&p.length&&m)for(const b of p){const g=rf(d.path,d.state);if(await b.blockerFn({currentLocation:t,nextLocation:g,action:d.type})){e.onBlocked?.();return}}l()};return{get location(){return t},get length(){return e.getLength()},subscribers:n,subscribe:l=>(n.add(l),()=>{n.delete(l)}),push:(l,f,d)=>{const p=t.state[xi];f=f6(p+1,f),u({task:()=>{e.pushState(l,f),a({type:"PUSH"})},navigateOpts:d,type:"PUSH",path:l,state:f})},replace:(l,f,d)=>{const p=t.state[xi];f=f6(p,f),u({task:()=>{e.replaceState(l,f),a({type:"REPLACE"})},navigateOpts:d,type:"REPLACE",path:l,state:f})},go:(l,f)=>{u({task:()=>{e.go(l),s({type:"GO",index:l})},navigateOpts:f,type:"GO"})},back:l=>{u({task:()=>{e.back(l?.ignoreBlocker??!1),s({type:"BACK"})},navigateOpts:l,type:"BACK"})},forward:l=>{u({task:()=>{e.forward(l?.ignoreBlocker??!1),s({type:"FORWARD"})},navigateOpts:l,type:"FORWARD"})},canGoBack:()=>t.state[xi]!==0,createHref:l=>e.createHref(l),block:l=>{if(!e.setBlockers)return()=>{};const f=e.getBlockers?.()??[];return e.setBlockers([...f,l]),()=>{const d=e.getBlockers?.()??[];e.setBlockers?.(d.filter(p=>p!==l))}},flush:()=>e.flush?.(),destroy:()=>e.destroy?.(),notify:a}}function f6(e,t){t||(t={});const n=_y();return{...t,key:n,__TSR_key:n,[xi]:e}}function hA(e){const t=typeof document<"u"?window:void 0,n=t.history.pushState,a=t.history.replaceState;let s=[];const u=()=>s,l=I=>s=I,f=(I=>I),d=(()=>rf(`${t.location.pathname}${t.location.search}${t.location.hash}`,t.history.state));if(!t.history.state?.__TSR_key&&!t.history.state?.key){const I=_y();t.history.replaceState({[xi]:0,key:I,__TSR_key:I},"")}let p=d(),m,b=!1,g=!1,v=!1,x=!1;const S=()=>p;let E,R;const z=()=>{E&&(O._ignoreSubscribers=!0,(E.isPush?t.history.pushState:t.history.replaceState)(E.state,"",E.href),O._ignoreSubscribers=!1,E=void 0,R=void 0,m=void 0)},M=(I,U,D)=>{const Q=f(U);R||(m=p),p=rf(U,D),E={href:Q,state:D,isPush:E?.isPush||I==="push"},R||(R=Promise.resolve().then(()=>z()))},_=I=>{p=d(),O.notify({type:I})},C=async()=>{if(g){g=!1;return}const I=d(),U=I.state[xi]-p.state[xi],D=U===1,Q=U===-1,X=!D&&!Q||b;b=!1;const te=X?"GO":Q?"BACK":"FORWARD",ue=X?{type:"GO",index:U}:{type:Q?"BACK":"FORWARD"};if(v)v=!1;else{const W=u();if(typeof document<"u"&&W.length){for(const $ of W)if(await $.blockerFn({currentLocation:p,nextLocation:I,action:te})){g=!0,t.history.go(1),O.notify(ue);return}}}p=d(),O.notify(ue)},B=I=>{if(x){x=!1;return}let U=!1;const D=u();if(typeof document<"u"&&D.length)for(const Q of D){const X=Q.enableBeforeUnload??!0;if(X===!0){U=!0;break}if(typeof X=="function"&&X()===!0){U=!0;break}}if(U)return I.preventDefault(),I.returnValue=""},O=dA({getLocation:S,getLength:()=>t.history.length,pushState:(I,U)=>M("push",I,U),replaceState:(I,U)=>M("replace",I,U),back:I=>(I&&(v=!0),x=!0,t.history.back()),forward:I=>{I&&(v=!0),x=!0,t.history.forward()},go:I=>{b=!0,t.history.go(I)},createHref:I=>f(I),flush:z,destroy:()=>{t.history.pushState=n,t.history.replaceState=a,t.removeEventListener(l6,B,{capture:!0}),t.removeEventListener(c6,C)},onBlocked:()=>{m&&p!==m&&(p=m)},getBlockers:u,setBlockers:l,notifyOnIndexChange:!1});return t.addEventListener(l6,B,{capture:!0}),t.addEventListener(c6,C),t.history.pushState=function(...I){const U=n.apply(t.history,I);return O._ignoreSubscribers||_("PUSH"),U},t.history.replaceState=function(...I){const U=a.apply(t.history,I);return O._ignoreSubscribers||_("REPLACE"),U},O}function pA(e){let t=e.replace(/[\\x00-\\x1f\\x7f]/g,"");return t.startsWith("//")&&(t="/"+t.replace(/^\\/+/,"")),t}function rf(e,t){const n=pA(e),a=n.indexOf("#"),s=n.indexOf("?"),u=_y();return{href:n,pathname:n.substring(0,a>0?s>0?Math.min(a,s):a:s>0?s:n.length),hash:a>-1?n.substring(a):"",search:s>-1?n.slice(s,a===-1?void 0:a):"",state:t||{[xi]:0,key:u,__TSR_key:u}}}function _y(){return(Math.random()+1).toString(36).substring(7)}function yA(e){return e instanceof Error?{name:e.name,message:e.message}:{data:e}}function Cs(e,t){const n=t,a=e;return{fromLocation:n,toLocation:a,pathChanged:n?.pathname!==a.pathname,hrefChanged:n?.href!==a.href,hashChanged:n?.hash!==a.hash}}const hp=new WeakMap;var mA=class{constructor(e,t){this.tempLocationKey=`${Math.round(Math.random()*1e7)}`,this._scroll={next:!0},this.shouldViewTransition=void 0,this.isViewTransitionTypesSupported=void 0,this.subscribers=new Set,this.routeBranchCache=new WeakMap,this.startTransition=n=>n(),this.update=n=>{const a=this.options,s=this.basepath??a?.basepath??"/",u=this.basepath===void 0,l=a?.rewrite;if(this.options={...a,...n},this.isServer=this.options.isServer??typeof document>"u",this.protocolAllowlist=new Set(this.options.protocolAllowlist),this.options.pathParamsAllowedCharacters&&(this.pathParamsDecoder=ZE(this.options.pathParamsAllowedCharacters)),(!this.history||this.options.history&&this.options.history!==this.history)&&(this.options.history?this.history=this.options.history:this.history=hA()),this.origin=this.options.origin,this.origin||(window?.origin&&window.origin!=="null"?this.origin=window.origin:this.origin="http://localhost"),this.history&&this.updateLatestLocation(),this.options.routeTree!==this.routeTree){this.routeTree=this.options.routeTree;let m;this.resolvePathCache=du(1e3),m=this.buildRouteTree(),this.setRoutes(m)}if(!this.stores&&this.latestLocation){const m=this.getStoreConfig(this);this.batch=m.batch,this.stores=fA(gA(this.latestLocation),m),_A(this)}let f=!1;const d=this.options.basepath??"/",p=this.options.rewrite;if(u||s!==d||l!==p){this.basepath=d;const m=[],b=M5(d);b&&b!=="/"&&m.push(lA({basepath:d})),p&&m.push(p),this.rewrite=m.length===0?void 0:m.length===1?m[0]:cA(m),this.history&&this.updateLatestLocation(),f=!0}f&&this.stores&&this.stores.location.set(this.latestLocation),typeof window<"u"&&"CSS"in window&&typeof window.CSS?.supports=="function"&&(this.isViewTransitionTypesSupported=window.CSS.supports("selector(:active-view-transition-type(a))"))},this.updateLatestLocation=()=>{this.latestLocation=this.parseLocation(this.history.location,this.latestLocation)},this.buildRouteTree=()=>{const n=qE(this.routeTree,this.options.caseSensitive,(a,s)=>{a.init({originalIndex:s})});return this.options.routeMasks&&UE(this.options.routeMasks,n.processedTree),n},this.subscribe=(n,a)=>{const s={eventType:n,fn:a};return this.subscribers.add(s),()=>{this.subscribers.delete(s)}},this.emit=n=>{this.subscribers.forEach(a=>{a.eventType===n.type&&a.fn(n)})},this.parseLocation=(n,a)=>{const s=({pathname:d,search:p,hash:m,href:b,state:g})=>{if(!this.rewrite&&!/[ \\x00-\\x1f\\x7f\\u0080-\\uffff]/.test(d)){const R=this.options.parseSearch(p),z=this.options.stringifySearch(R);return{href:d+z+m,publicHref:d+z+m,pathname:Wo(d).path,external:!1,searchStr:z,search:ia(a?.search,R),hash:Wo(m.slice(1)).path,state:oa(a?.state,g)}}const v=new URL(b,this.origin),x=dp(this.rewrite,v),S=this.options.parseSearch(x.search),E=this.options.stringifySearch(S);return x.search=E,{href:x.href.replace(x.origin,""),publicHref:b,pathname:Wo(x.pathname).path,external:!!this.rewrite&&x.origin!==this.origin,searchStr:E,search:ia(a?.search,S),hash:Wo(x.hash.slice(1)).path,state:oa(a?.state,g)}},u=s(n),{__tempLocation:l,__tempKey:f}=u.state;if(l&&(!f||f===this.tempLocationKey)){const d=s(l);return d.state.key=u.state.key,d.state.__TSR_key=u.state.__TSR_key,delete d.state.__tempLocation,{...d,maskedLocation:u}}return u},this.resolvePathWithBase=(n,a)=>YE({base:n,to:a.includes("//")?Ry(a):a,trailingSlash:this.options.trailingSlash,cache:this.resolvePathCache}),this.matchRoutes=(n,a,s)=>typeof n=="string"?this.matchRoutesInternal({pathname:n,search:a},s):this.matchRoutesInternal(n,a),this.getMatchedRoutes=n=>vA({pathname:n,routesById:this.routesById,processedTree:this.processedTree}),this.cancelMatch=n=>{const a=this.getMatch(n);a&&(a.abortController.abort(),clearTimeout(a._nonReactive.pendingTimeout),a._nonReactive.pendingTimeout=void 0)},this.cancelMatches=()=>{this.stores.pendingIds.get().forEach(n=>{this.cancelMatch(n)}),this.stores.matchesId.get().forEach(n=>{if(this.stores.pendingMatchStores.has(n))return;const a=this.stores.matchStores.get(n)?.get();a&&(a.status==="pending"||a.isFetching==="loader")&&this.cancelMatch(n)})},this.buildLocation=n=>{const a=(u={})=>{const l=u._fromLocation||this.pendingBuiltLocation||this.latestLocation,f=this.matchRoutesLightweight(l);u.from;const d=u.unsafeRelative==="path"?l.pathname:u.from??f.fullPath,p=u.to?`${u.to}`:void 0,m=f.search,b=Object.assign(Object.create(null),f.params),g=p?.charCodeAt(0)===47?"/":this.resolvePathWithBase(d,"."),v=p?this.resolvePathWithBase(g,p):g,x=u.params===!1||u.params===null?Object.create(null):(u.params??!0)===!0?b:Object.assign(b,sa(u.params,b)),S=this.routesByPath[Mr(v)];let E;if(S)E=this.getRouteBranch(S);else if(v.includes("$"))E=[];else{const Q=this.getMatchedRoutes(v);E=Q.matchedRoutes,this.options.notFoundRoute&&(!Q.foundRoute||Q.foundRoute.path!=="/"&&Q.routeParams["**"])&&(E=[...E,this.options.notFoundRoute])}if(E.length&&w5(x))for(const Q of E){const X=Q.options.params?.stringify??Q.options.stringifyParams;if(X)try{Object.assign(x,X(x))}catch{}}const R=n.leaveParams?v:Wo(n6({path:v,params:x,decoder:this.pathParamsDecoder,server:this.isServer}).interpolatedPath).path;let z=m;if(n._includeValidateSearch&&this.options.search?.strict){const Q={};E.forEach(X=>{if(X.options.validateSearch)try{Object.assign(Q,Kl(X.options.validateSearch,{...Q,...z}))}catch{}}),z=Q}z=wA({search:z,dest:u,destRoutes:E,_includeValidateSearch:n._includeValidateSearch}),z=ia(m,z);const M=this.options.stringifySearch(z),_=u.hash===!0?l.hash:u.hash?sa(u.hash,l.hash):void 0,C=_?`#${_}`:"";let B=u.state===!0?l.state:u.state?sa(u.state,l.state):{};B=oa(l.state,B);const O=`${R}${M}${C}`;let I,U,D=!1;if(this.rewrite){const Q=new URL(O,this.origin),X=z5(this.rewrite,Q);I=Q.href.replace(Q.origin,""),X.origin!==this.origin?(U=X.href,D=!0):U=X.pathname+X.search+X.hash}else I=LE(O),U=I;return{publicHref:U,href:I,pathname:R,search:z,searchStr:M,state:B,hash:_??"",external:D,unmaskOnReload:u.unmaskOnReload}},s=(u={},l)=>{const f=a(u);let d=l?a(l):void 0;if(!d){const p=Object.create(null);if(this.options.routeMasks){const m=jE(f.pathname,this.processedTree);if(m){Object.assign(p,m.rawParams);const{from:b,params:g,...v}=m.route,x=g===!1||g===null?Object.create(null):(g??!0)===!0?p:Object.assign(p,sa(g,p));l={from:n.from,...v,params:x},d=a(l)}}}return d&&(f.maskedLocation=d),f};return n.mask?s(n,{from:n.from,...n.mask}):s(n)},this.commitLocation=async({viewTransition:n,ignoreBlocker:a,...s})=>{let u;const l=()=>{const p=["key","__TSR_key","__TSR_index","__hashScrollIntoViewOptions"];p.forEach(b=>{s.state[b]=this.latestLocation.state[b]});const m=It(s.state,this.latestLocation.state);return p.forEach(b=>{delete s.state[b]}),m},f=Mr(this.latestLocation.href)===Mr(s.href);let d=this.commitLocationPromise;if(this.commitLocationPromise=ma(()=>{d?.resolve(),d=void 0}),f&&l())this.load();else{let{maskedLocation:p,hashScrollIntoView:m,...b}=s;p&&(b={...p,state:{...p.state,__tempKey:void 0,__tempLocation:{...b,search:b.searchStr,state:{...b.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}},(b.unmaskOnReload??this.options.unmaskOnReload??!1)&&(b.state.__tempKey=this.tempLocationKey)),b.state.__hashScrollIntoViewOptions=m??this.options.defaultHashScrollIntoView??!0,this.shouldViewTransition=n,u=s.replace?"REPLACE":"PUSH",this.history[u==="REPLACE"?"replace":"push"](b.publicHref,b.state,{ignoreBlocker:a})}return this._scroll.next=s.resetScroll??!0,this.history.subscribers.size||this.load(u?{action:{type:u}}:void 0),this.commitLocationPromise},this.buildAndCommitLocation=({replace:n,resetScroll:a,hashScrollIntoView:s,viewTransition:u,ignoreBlocker:l,href:f,...d}={})=>{if(f){const b=this.history.location.state.__TSR_index,g=rf(f,{__TSR_index:n?b:b+1}),v=new URL(g.pathname,this.origin);d.to=dp(this.rewrite,v).pathname,d.search=this.options.parseSearch(g.search),d.hash=g.hash.slice(1)}const p=this.buildLocation({...d,_includeValidateSearch:!0});this.pendingBuiltLocation=p;const m=this.commitLocation({...p,viewTransition:u,replace:n,resetScroll:a,hashScrollIntoView:s,ignoreBlocker:l});return Promise.resolve().then(()=>{this.pendingBuiltLocation===p&&(this.pendingBuiltLocation=void 0)}),m},this.navigate=async({to:n,reloadDocument:a,href:s,publicHref:u,...l})=>{let f=!1;if(s)try{new URL(`${s}`),f=!0}catch{}if(f&&!a&&(a=!0),a){if(n!==void 0||!s){const p=this.buildLocation({to:n,...l});s=s??p.publicHref,u=u??p.publicHref}const d=!f&&u?u:s;if(tf(d,this.protocolAllowlist))return Promise.resolve();if(!l.ignoreBlocker){const p=this.history.getBlockers?.()??[];for(const m of p)if(m?.blockerFn&&await m.blockerFn({currentLocation:this.latestLocation,nextLocation:this.latestLocation,action:"PUSH"}))return Promise.resolve()}return l.replace?window.location.replace(d):window.location.href=d,Promise.resolve()}return this.buildAndCommitLocation({...l,href:s,to:n,_isNavigate:!0})},this.beforeLoad=()=>{this.cancelMatches(),this.updateLatestLocation();const n=this.matchRoutes(this.latestLocation),a=this.stores.cachedMatches.get().filter(s=>!n.some(u=>u.id===s.id));this.batch(()=>{this.stores.status.set("pending"),this.stores.statusCode.set(200),this.stores.isLoading.set(!0),this.stores.location.set(this.latestLocation),this.stores.setPending(n),this.stores.setCached(a)})},this.load=async n=>{const a=n?.action?.type;let s,u,l;const f=this.stores.resolvedLocation.get()??this.stores.location.get();for(l=new Promise(p=>{this.startTransition(async()=>{try{this.beforeLoad(),a?hp.set(this.latestLocation,a):hp.delete(this.latestLocation);const m=this.latestLocation,b=Cs(m,this.stores.resolvedLocation.get());this.stores.redirect.get()||this.emit({type:"onBeforeNavigate",...b}),this.emit({type:"onBeforeLoad",...b}),await o6({router:this,sync:n?.sync,forceStaleReload:f.href===m.href,matches:this.stores.pendingMatches.get(),location:m,updateMatch:this.updateMatch,onReady:async()=>{this.startTransition(()=>{this.startViewTransition(async()=>{let g=null,v=null,x=null,S=null;this.batch(()=>{const E=this.stores.pendingMatches.get(),R=E.length,z=this.stores.matches.get();g=R?z.filter(C=>!this.stores.pendingMatchStores.has(C.id)):null;const M=new Set;for(const C of this.stores.pendingMatchStores.values())C.routeId&&M.add(C.routeId);const _=new Set;for(const C of this.stores.matchStores.values())C.routeId&&_.add(C.routeId);v=R?z.filter(C=>!M.has(C.routeId)):null,x=R?E.filter(C=>!_.has(C.routeId)):null,S=R?E.filter(C=>_.has(C.routeId)):z,this.stores.isLoading.set(!1),this.stores.loadedAt.set(Date.now()),R&&(this.stores.setMatches(E),this.stores.setPending([]),this.stores.setCached([...this.stores.cachedMatches.get(),...g.filter(C=>C.status!=="error"&&C.status!=="notFound"&&C.status!=="redirected")]),this.clearExpiredCache())});for(const[E,R]of[[v,"onLeave"],[x,"onEnter"],[S,"onStay"]])if(E)for(const z of E)this.looseRoutesById[z.routeId].options[R]?.(z)})})}})}catch(m){Qt(m)?(s=m,this.navigate({...s.options,replace:!0,ignoreBlocker:!0})):mt(m)&&(u=m);const b=s?s.status:u?404:this.stores.matches.get().some(g=>g.status==="error")?500:200;this.batch(()=>{this.stores.statusCode.set(b),this.stores.redirect.set(s)})}this.latestLoadPromise===l&&(this.commitLocationPromise?.resolve(),this.latestLoadPromise=void 0,this.commitLocationPromise=void 0),p()})}),this.latestLoadPromise=l,await l;this.latestLoadPromise&&l!==this.latestLoadPromise;)await this.latestLoadPromise;let d;this.hasNotFoundMatch()?d=404:this.stores.matches.get().some(p=>p.status==="error")&&(d=500),d!==void 0&&this.stores.statusCode.set(d)},this.startViewTransition=n=>{const a=this.shouldViewTransition??this.options.defaultViewTransition;if(this.shouldViewTransition=void 0,a&&typeof document<"u"&&"startViewTransition"in document&&typeof document.startViewTransition=="function"){let s;if(typeof a=="object"&&this.isViewTransitionTypesSupported){const u=this.latestLocation,l=this.stores.resolvedLocation.get(),f=typeof a.types=="function"?a.types(Cs(u,l)):a.types;if(f===!1){n();return}s={update:n,types:f}}else s=n;document.startViewTransition(s)}else n()},this.updateMatch=(n,a)=>{this.startTransition(()=>{const s=this.stores.pendingMatchStores.get(n);if(s){s.set(a);return}const u=this.stores.matchStores.get(n);if(u){u.set(a);return}const l=this.stores.cachedMatchStores.get(n);if(l){const f=a(l.get());f.status==="redirected"?this.stores.cachedMatchStores.delete(n)&&this.stores.cachedIds.set(d=>d.filter(p=>p!==n)):l.set(f)}})},this.getMatch=n=>this.stores.cachedMatchStores.get(n)?.get()??this.stores.pendingMatchStores.get(n)?.get()??this.stores.matchStores.get(n)?.get(),this.invalidate=n=>{const a=s=>n?.filter?.(s)??!0?{...s,invalid:!0,...n?.forcePending||s.status==="error"||s.status==="notFound"?{status:"pending",error:void 0}:void 0}:s;return this.batch(()=>{this.stores.setMatches(this.stores.matches.get().map(a)),this.stores.setCached(this.stores.cachedMatches.get().map(a)),this.stores.setPending(this.stores.pendingMatches.get().map(a))}),this.shouldViewTransition=!1,this.load({sync:n?.sync})},this.getParsedLocationHref=n=>n.publicHref||"/",this.resolveRedirect=n=>{const a=n.headers.get("Location");if(!n.options.href||n.options._builtLocation){const s=n.options._builtLocation??this.buildLocation(n.options),u=this.getParsedLocationHref(s);n.options.href=u,n.headers.set("Location",u)}else if(a)try{const s=new URL(a);if(this.origin&&s.origin===this.origin){const u=s.pathname+s.search+s.hash;n.options.href=u,n.headers.set("Location",u)}}catch{}if(n.options.href&&!n.options._builtLocation&&tf(n.options.href,this.protocolAllowlist))throw new Error("Redirect blocked: unsafe protocol");return n.headers.get("Location")||n.headers.set("Location",n.options.href),n},this.clearCache=n=>{const a=n?.filter;a!==void 0?this.stores.setCached(this.stores.cachedMatches.get().filter(s=>!a(s))):this.stores.setCached([])},this.clearExpiredCache=()=>{const n=Date.now(),a=s=>{const u=this.looseRoutesById[s.routeId];if(!u.options.loader)return!0;const l=(s.preload?u.options.preloadGcTime??this.options.defaultPreloadGcTime:u.options.gcTime??this.options.defaultGcTime)??300*1e3;return s.status==="error"?!0:n-s.updatedAt>=l};this.clearCache({filter:a})},this.loadRouteChunk=hu,this.preloadRoute=async n=>{const a=n._builtLocation??this.buildLocation(n);let s=this.matchRoutes(a,{throwOnError:!0,preload:!0,dest:n});const u=new Set([...this.stores.matchesId.get(),...this.stores.pendingIds.get()]),l=new Set([...u,...this.stores.cachedIds.get()]),f=s.filter(d=>!l.has(d.id));if(f.length){const d=this.stores.cachedMatches.get();this.stores.setCached([...d,...f])}try{return s=await o6({router:this,matches:s,location:a,preload:!0,updateMatch:(d,p)=>{u.has(d)?s=s.map(m=>m.id===d?p(m):m):this.updateMatch(d,p)}}),s}catch(d){if(Qt(d))return d.options.reloadDocument?void 0:await this.preloadRoute({...d.options,_fromLocation:a});mt(d)||console.error(d);return}},this.matchRoute=(n,a)=>{const s={...n,to:n.to?this.resolvePathWithBase(n.from||"",n.to):void 0,params:n.params||{},leaveParams:!0},u=this.buildLocation(s);if(a?.pending&&this.stores.status.get()!=="pending")return!1;const l=(a?.pending===void 0?!this.stores.isLoading.get():a.pending)?this.latestLocation:this.stores.resolvedLocation.get()||this.stores.location.get(),f=DE(u.pathname,a?.caseSensitive??!1,a?.fuzzy??!1,l.pathname,this.processedTree);return!f||n.params&&!It(f.rawParams,n.params,{partial:!0})?!1:a?.includeSearch??!0?It(l.search,u.search,{partial:!0})?f.rawParams:!1:f.rawParams},this.hasNotFoundMatch=()=>this.stores.matches.get().some(n=>n.status==="notFound"||n.globalNotFound),this.getStoreConfig=t,this.update({defaultPreloadDelay:50,defaultPendingMs:1e3,defaultPendingMinMs:500,context:void 0,...e,caseSensitive:e.caseSensitive??!1,notFoundMode:e.notFoundMode??"fuzzy",stringifySearch:e.stringifySearch??WE,parseSearch:e.parseSearch??JE,protocolAllowlist:e.protocolAllowlist??zE}),typeof document<"u"&&(self.__TSR_ROUTER__=this)}isShell(){return!!this.options.isShell}isPrerendering(){return!!this.options.isPrerendering}get state(){return this.stores.__store.get()}setRoutes({routesById:e,routesByPath:t,processedTree:n}){this.routesById=e,this.routesByPath=t,this.processedTree=n;const a=this.options.notFoundRoute;a&&(a.init({originalIndex:99999999999}),this.routesById[a.id]=a)}getRouteBranch(e){let t=this.routeBranchCache.get(e);return t||(t=A5(e),this.routeBranchCache.set(e,t)),t}get looseRoutesById(){return this.routesById}getParentContext(e){return e?.id?e.context??this.options.context??void 0:this.options.context??void 0}matchRoutesInternal(e,t){const n=this.getMatchedRoutes(e.pathname),{foundRoute:a,routeParams:s}=n;let{matchedRoutes:u}=n,l=!1;(a?a.path!=="/"&&s["**"]:Mr(e.pathname))&&(this.options.notFoundRoute?u=[...u,this.options.notFoundRoute]:l=!0);const f=l?SA(this.options.notFoundMode,u):void 0,d=new Array(u.length),p=new Map;for(const m of this.stores.matchStores.values())m.routeId&&p.set(m.routeId,m.get());for(let m=0;m<u.length;m++){const b=u[m],g=d[m-1];let v,x,S;{const X=g?.search??e.search,te=g?._strictSearch??void 0;try{const ue=Kl(b.options.validateSearch,{...X})??void 0;v={...X,...ue},x={...te,...ue},S=void 0}catch(ue){let W=ue;if(ue instanceof af||(W=new af(ue.message,{cause:ue})),t?.throwOnError)throw W;v=X,x={},S=W}}const E=b.options.loaderDeps?.({search:v})??"",R=E?JSON.stringify(E):"",{interpolatedPath:z,usedParams:M}=n6({path:b.fullPath,params:s,decoder:this.pathParamsDecoder,server:this.isServer}),_=b.id+z+R,C=this.getMatch(_),B=p.get(b.id),O=C?._strictParams??M;let I;if(!C)try{d6(b,O)}catch(X){if(mt(X)||Qt(X)?I=X:I=new bA(X.message,{cause:X}),t?.throwOnError)throw I}Object.assign(s,O);const U=B?"stay":"enter";let D;if(C)D={...C,cause:U,params:B?.params??s,_strictParams:O,search:ia(B?B.search:C.search,v),_strictSearch:x};else{const X=b.options.loader||b.options.beforeLoad||b.lazyFn||P5(b)?"pending":"success";D={id:_,ssr:b.options.ssr,index:m,routeId:b.id,params:B?.params??s,_strictParams:O,pathname:z,updatedAt:Date.now(),search:B?ia(B.search,v):v,_strictSearch:x,searchError:void 0,status:X,isFetching:!1,error:void 0,paramsError:I,__routeContext:void 0,_nonReactive:{loadPromise:ma()},__beforeLoadContext:void 0,context:{},abortController:new AbortController,fetchCount:0,cause:U,loaderDeps:B?oa(B.loaderDeps,E):E,invalid:!1,preload:!1,links:void 0,scripts:void 0,headScripts:void 0,meta:void 0,staticData:b.options.staticData||{},fullPath:b.fullPath}}t?.preload||(D.globalNotFound=f===b.id),D.searchError=S;const Q=this.getParentContext(g);D.context={...Q,...D.__routeContext,...D.__beforeLoadContext},d[m]=D}for(let m=0;m<d.length;m++){const b=d[m],g=this.looseRoutesById[b.routeId],v=this.getMatch(b.id),x=p.get(b.routeId);if(b.params=x?ia(x.params,s):s,!v){const S=d[m-1],E=this.getParentContext(S);if(g.options.context){const R={deps:b.loaderDeps,params:b.params,context:E??{},location:e,navigate:z=>this.navigate({...z,_fromLocation:e}),buildLocation:this.buildLocation,cause:b.cause,abortController:b.abortController,preload:!!b.preload,matches:d,routeId:g.id};b.__routeContext=g.options.context(R)??void 0}b.context={...E,...b.__routeContext,...b.__beforeLoadContext}}}return d}matchRoutesLightweight(e){const{matchedRoutes:t,routeParams:n}=this.getMatchedRoutes(e.pathname),a=lu(t),s={...e.search};for(const p of t)try{Object.assign(s,Kl(p.options.validateSearch,s))}catch{}const u=lu(this.stores.matchesId.get()),l=u&&this.stores.matchStores.get(u)?.get(),f=l&&l.routeId===a.id&&l.pathname===e.pathname;let d;if(f)d=l.params;else{const p=Object.assign(Object.create(null),n);for(const m of t)try{d6(m,p)}catch{}d=p}return{matchedRoutes:t,fullPath:a.fullPath,search:s,params:d}}},af=class extends Error{},bA=class extends Error{};function gA(e){return{loadedAt:0,isLoading:!1,isTransitioning:!1,status:"idle",resolvedLocation:void 0,location:e,matches:[],statusCode:200}}function Kl(e,t){if(e==null)return{};if("~standard"in e){const n=e["~standard"].validate(t);if(n instanceof Promise)throw new af("Async validation not supported");if(n.issues)throw new af(JSON.stringify(n.issues,void 0,2),{cause:n});return n.value}return"parse"in e?e.parse(t):typeof e=="function"?e(t):{}}function vA({pathname:e,routesById:t,processedTree:n}){const a=Object.create(null),s=Mr(e);let u;const l=HE(s,n,!0);return l&&(u=l.route,Object.assign(a,l.rawParams)),{matchedRoutes:l?.branch||[t.__root__],routeParams:a,foundRoute:u}}function wA({search:e,dest:t,destRoutes:n,_includeValidateSearch:a}){return xA(n)(e,t,a??!1)}function xA(e){let t,n;const a=[];for(const u of e){const l=u.options;if("search"in l)l.search?.middlewares&&a.push(...l.search.middlewares);else if(l.preSearchFilters||l.postSearchFilters){const d=({search:p,next:m})=>{const b=m(l.preSearchFilters?l.preSearchFilters.reduce((g,v)=>v(g),p):p);return l.postSearchFilters?l.postSearchFilters.reduce((g,v)=>v(g),b):b};a.push(d)}const f=l.validateSearch;if(f){const d=({search:p,next:m,meta:b})=>{const g=m(p);if(n)try{const v=Kl(f,g);if(b&&v)for(const x in v)x in g||(b.defaulted||=new Map).set(x,v[x]);return{...g,...v}}catch{}return g};a.push(d)}}const s=(u,l,f)=>{if(u>=a.length){if(!t.search)return{};if(t.search===!0)return l;const p=sa(t.search,l);return f&&(f.explicit=p),p}const d=(p,m)=>{if(m){const b=f||{};return{search:s(u+1,p,b),meta:b}}return s(u+1,p,f)};return a[u]({search:l,next:d,meta:f})};return function(l,f,d){return t=f,n=d,s(0,l)}}function SA(e,t){if(e!=="root")for(let n=t.length-1;n>=0;n--){const a=t[n];if(a.children)return a.id}return ha}function d6(e,t){const n=e.options.params?.parse??e.options.parseParams;if(n){const a=n(t);if(a===!1)throw new Error("Route params.parse returned false for a matched route");Object.assign(t,a)}}function EA(){try{return sessionStorage}catch{return}}const AA="tsr-scroll-restoration-v1_3",B5=EA();function TA(){try{return JSON.parse(B5?.getItem("tsr-scroll-restoration-v1_3")||"{}")}catch{return{}}}function MA(){try{B5?.setItem(AA,JSON.stringify(xs))}catch{}}const xs=TA(),h6="data-scroll-restoration-id",RA=e=>e.state.__TSR_key||e.href;function CA(e){const t=e.getAttribute(h6);if(t)return`[${h6}="${t}"]`;let n="",a=e,s;for(;s=a.parentNode;){let u=1,l=a;for(;l=l.previousElementSibling;)u++;const f=`${a.localName}:nth-child(${u})`;n=n?`${f} > ${n}`:f,a=s}return n}let Rl=!1;const Ss="window";function pp(e){try{return typeof e=="function"?e():document.querySelector(e)}catch{}}function p6(e){const t=[];for(const n of e){if(n===Ss)continue;const a=pp(n);a&&t.push(a)}return t}function _A(e,t){const n=e.options.scrollRestoration,a=e._scroll;n&&(a.restoring=!0);const s=e.options.getScrollRestorationKey||RA,u=new Map,l=(p,m,b)=>{const g=u.get(p)||{};g.scrollX=m,g.scrollY=b,u.set(p,g)},f=p=>{if(!(Rl||!a.restoring))if(p.target===document)l(Ss,scrollX,scrollY);else{const m=p.target;l(m,m.scrollLeft,m.scrollTop)}},d=p=>{if(!a.restoring)return;const m=xs[p]||={};for(const[b,g]of u)b===Ss?m[Ss]=g:b.isConnected&&(m[CA(b)]=g)};n&&!a.restoration&&(a.restoration=!0,Rl=!1,history.scrollRestoration="manual",document.addEventListener("scroll",f,!0),e.subscribe("onBeforeLoad",p=>{p.fromLocation&&d(s(p.fromLocation)),u.clear()}),addEventListener("pagehide",()=>{d(s(e.stores.resolvedLocation.get()??e.stores.location.get())),MA()})),!a.reset&&(a.reset=!0,e.subscribe("onRendered",p=>{const m=e.options.scrollRestorationBehavior,b=e.options.scrollToTopSelectors,g=a.next;let v;if(u.clear(),g||(a.next=!0),typeof e.options.scrollRestoration=="function"&&!e.options.scrollRestoration({location:e.latestLocation}))return;const x=s(p.toLocation),S=p.fromLocation&&s(p.fromLocation);if(a.restoring&&S&&S!==x){const E=xs[S];if(E){let R=xs[x];for(const z in E){if(z===Ss){if(g)continue}else{const M=pp(z);if(!M||g&&b&&(v??=p6(b),v.includes(M)))continue}R||(R=xs[x]={}),R[z]??=E[z]}}}Rl=!0;try{const E=p.toLocation.hash,R=p.toLocation.state.__hashScrollIntoViewOptions??!0;let z=!1;if(g){const M=hp.get(p.toLocation),_=E&&R&&(M==="PUSH"||M==="REPLACE"),C=a.restoring?xs[x]:void 0;if(C)for(const B in C){const{scrollX:O,scrollY:I}=C[B];if(B===Ss){if(_)continue;scrollTo({top:I,left:O,behavior:m}),z=!0}else{const U=pp(B);U&&(U.scrollLeft=O,U.scrollTop=I)}}if(!z&&!E){const B={top:0,left:0,behavior:m};if(scrollTo(B),b){v??=p6(b);for(const O of v)O.scrollTo(B)}}}!z&&E&&R&&document.getElementById(E)?.scrollIntoView(R)}finally{Rl=!1}}))}const Kn=Symbol.for("TSR_DEFERRED_PROMISE");function OA(e,t){const n=e;return n[Kn]||(n[Kn]={status:"pending"},n.then(a=>{n[Kn].status="success",n[Kn].data=a}).catch(a=>{n[Kn].status="error",n[Kn].error={data:yA(a),__isServerError:!0}})),n}const PA="Error preloading route! ☝️";function I5(e,t){if(e)return typeof e=="string"?e:e[t]}function zA(e){return e?.scriptFormat??"module"}function BA(e,t,n){const a=IA(t),s=I5(n,"script")??a.crossOrigin;return{...zA(e)==="iife"?{rel:"preload",as:"script"}:{rel:"modulepreload"},href:a.href,...s?{crossOrigin:s}:{}}}function IA(e){return typeof e=="string"?{href:e,crossOrigin:void 0}:e}function Cl(e,t){if(t.length===0)return;if(t.length===1){e.push(t[0]);return}const n=new Set;for(const a of t){const s=JSON.stringify(a);n.has(s)||(n.add(s),e.push(a))}}function NA(e){return typeof e=="string"?{href:e,crossOrigin:void 0}:e}var N5=class{get to(){return this._to}get id(){return this._id}get path(){return this._path}get fullPath(){return this._fullPath}constructor(e){if(this.init=t=>{this.originalIndex=t.originalIndex;const n=this.options,a=!n?.path&&!n?.id;this.parentRoute=this.options.getParentRoute?.(),a?this._path=ha:this.parentRoute||Zt();let s=a?ha:n?.path;s&&s!=="/"&&(s=T5(s));const u=n?.id||s;let l=a?ha:Gl([this.parentRoute.id==="__root__"?"":this.parentRoute.id,u]);s==="__root__"&&(s="/"),l!=="__root__"&&(l=Gl(["/",l]));const f=l==="__root__"?"/":Gl([this.parentRoute.fullPath,s]);this._path=s,this._id=l,this._fullPath=f,this._to=Mr(f)},this.addChildren=t=>this._addFileChildren(t),this._addFileChildren=t=>(Array.isArray(t)&&(this.children=t),typeof t=="object"&&t!==null&&(this.children=Object.values(t)),this),this._addFileTypes=()=>this,this.updateLoader=t=>(Object.assign(this.options,t),this),this.update=t=>(Object.assign(this.options,t),this),this.lazy=t=>(this.lazyFn=t,this),this.redirect=t=>Cy({from:this.fullPath,...t}),this.options=e||{},this.isRoot=!e?.getParentRoute,e?.id&&e?.path)throw new Error("Route cannot have both an \'id\' and a \'path\' option.")}},LA=class extends N5{constructor(e){super(e)}},$A=(e=>(e[e.AggregateError=1]="AggregateError",e[e.ArrowFunction=2]="ArrowFunction",e[e.ErrorPrototypeStack=4]="ErrorPrototypeStack",e[e.ObjectAssign=8]="ObjectAssign",e[e.BigIntTypedArray=16]="BigIntTypedArray",e[e.RegExp=32]="RegExp",e))($A||{}),Or=Symbol.asyncIterator,L5=Symbol.hasInstance,_s=Symbol.isConcatSpreadable,Pr=Symbol.iterator,$5=Symbol.match,k5=Symbol.matchAll,U5=Symbol.replace,j5=Symbol.search,D5=Symbol.species,H5=Symbol.split,F5=Symbol.toPrimitive,Os=Symbol.toStringTag,q5=Symbol.unscopables,G5={[Or]:0,[L5]:1,[_s]:2,[Pr]:3,[$5]:4,[k5]:5,[U5]:6,[j5]:7,[D5]:8,[H5]:9,[F5]:10,[Os]:11,[q5]:12},kA={0:Or,1:L5,2:_s,3:Pr,4:$5,5:k5,6:U5,7:j5,8:D5,9:H5,10:F5,11:Os,12:q5},P=void 0,UA={2:!0,3:!1,1:P,0:null,4:-0,5:Number.POSITIVE_INFINITY,6:Number.NEGATIVE_INFINITY,7:Number.NaN},jA={0:"Error",1:"EvalError",2:"RangeError",3:"ReferenceError",4:"SyntaxError",5:"TypeError",6:"URIError"},DA={0:Error,1:EvalError,2:RangeError,3:ReferenceError,4:SyntaxError,5:TypeError,6:URIError};function ze(e,t,n,a,s,u,l,f,d,p,m,b){return{t:e,i:t,s:n,c:a,m:s,p:u,e:l,a:f,f:d,b:p,o:m,l:b}}function Ni(e){return ze(2,P,e,P,P,P,P,P,P,P,P,P)}var V5=Ni(2),K5=Ni(3),HA=Ni(1),FA=Ni(0),qA=Ni(4),GA=Ni(5),VA=Ni(6),KA=Ni(7);function QA(e){switch(e){case\'"\':return\'\\\\"\';case"\\\\":return"\\\\\\\\";case`\n`:return"\\\\n";case"\\r":return"\\\\r";case"\\b":return"\\\\b";case"\t":return"\\\\t";case"\\f":return"\\\\f";case"<":return"\\\\x3C";case"\\u2028":return"\\\\u2028";case"\\u2029":return"\\\\u2029";default:return P}}function Li(e){let t="",n=0,a;for(let s=0,u=e.length;s<u;s++)a=QA(e[s]),a&&(t+=e.slice(n,s)+a,n=s+1);return n===0?t=e:t+=e.slice(n),t}function YA(e){switch(e){case"\\\\\\\\":return"\\\\";case\'\\\\"\':return\'"\';case"\\\\n":return`\n`;case"\\\\r":return"\\r";case"\\\\b":return"\\b";case"\\\\t":return"\t";case"\\\\f":return"\\f";case"\\\\x3C":return"<";case"\\\\u2028":return"\\u2028";case"\\\\u2029":return"\\u2029";default:return e}}function $i(e){return e.replace(/(\\\\\\\\|\\\\"|\\\\n|\\\\r|\\\\b|\\\\t|\\\\f|\\\\u2028|\\\\u2029|\\\\x3C)/g,YA)}var _l="__SEROVAL_REFS__",Q5=new Map,Ts=new Map;function Y5(e){return Q5.has(e)}function ZA(e){return Ts.has(e)}function XA(e){if(Y5(e))return Q5.get(e);throw new C9(e)}function JA(e){if(ZA(e))return Ts.get(e);throw new _9(e)}typeof globalThis<"u"?Object.defineProperty(globalThis,_l,{value:Ts,configurable:!0,writable:!1,enumerable:!1}):typeof window<"u"?Object.defineProperty(window,_l,{value:Ts,configurable:!0,writable:!1,enumerable:!1}):typeof self<"u"?Object.defineProperty(self,_l,{value:Ts,configurable:!0,writable:!1,enumerable:!1}):typeof global<"u"&&Object.defineProperty(global,_l,{value:Ts,configurable:!0,writable:!1,enumerable:!1});function Oy(e){return e instanceof EvalError?1:e instanceof RangeError?2:e instanceof ReferenceError?3:e instanceof SyntaxError?4:e instanceof TypeError?5:e instanceof URIError?6:0}function WA(e){let t=jA[Oy(e)];return e.name!==t?{name:e.name}:e.constructor.name!==t?{name:e.constructor.name}:{}}function Z5(e,t){let n=WA(e),a=Object.getOwnPropertyNames(e);for(let s=0,u=a.length,l;s<u;s++)l=a[s],l!=="name"&&l!=="message"&&(l==="stack"?t&4&&(n=n||{},n[l]=e[l]):(n=n||{},n[l]=e[l]));return n}function X5(e){return Object.isFrozen(e)?3:Object.isSealed(e)?2:Object.isExtensible(e)?0:1}function e9(e){switch(e){case Number.POSITIVE_INFINITY:return GA;case Number.NEGATIVE_INFINITY:return VA}return e!==e?KA:Object.is(e,-0)?qA:ze(0,P,e,P,P,P,P,P,P,P,P,P)}function J5(e){return ze(1,P,Li(e),P,P,P,P,P,P,P,P,P)}function t9(e){return ze(3,P,""+e,P,P,P,P,P,P,P,P,P)}function n9(e){return ze(4,e,P,P,P,P,P,P,P,P,P,P)}function r9(e,t){let n=t.valueOf();return ze(5,e,n!==n?"":t.toISOString(),P,P,P,P,P,P,P,P,P)}function i9(e,t){return ze(6,e,P,Li(t.source),t.flags,P,P,P,P,P,P,P)}function a9(e,t){return ze(17,e,G5[t],P,P,P,P,P,P,P,P,P)}function s9(e,t){return ze(18,e,Li(XA(t)),P,P,P,P,P,P,P,P,P)}function o9(e,t,n){return ze(25,e,n,Li(t),P,P,P,P,P,P,P,P)}function u9(e,t,n){return ze(9,e,P,P,P,P,P,n,P,P,X5(t),P)}function c9(e,t){return ze(21,e,P,P,P,P,P,P,t,P,P,P)}function l9(e,t,n){return ze(15,e,P,t.constructor.name,P,P,P,P,n,t.byteOffset,P,t.length)}function f9(e,t,n){return ze(16,e,P,t.constructor.name,P,P,P,P,n,t.byteOffset,P,t.byteLength)}function d9(e,t,n){return ze(20,e,P,P,P,P,P,P,n,t.byteOffset,P,t.byteLength)}function h9(e,t,n){return ze(13,e,Oy(t),P,Li(t.message),n,P,P,P,P,P,P)}function p9(e,t,n){return ze(14,e,Oy(t),P,Li(t.message),n,P,P,P,P,P,P)}function y9(e,t){return ze(7,e,P,P,P,P,P,t,P,P,P,P)}function m9(e,t){return ze(28,P,P,P,P,P,P,[e,t],P,P,P,P)}function b9(e,t){return ze(30,P,P,P,P,P,P,[e,t],P,P,P,P)}function g9(e,t,n){return ze(31,e,P,P,P,P,P,n,t,P,P,P)}function v9(e,t){return ze(32,e,P,P,P,P,P,P,t,P,P,P)}function w9(e,t){return ze(33,e,P,P,P,P,P,P,t,P,P,P)}function x9(e,t){return ze(34,e,P,P,P,P,P,P,t,P,P,P)}function S9(e,t,n,a){return ze(35,e,n,P,P,P,P,t,P,P,P,a)}var E9={parsing:1,serialization:2,deserialization:3};function A9(e){return`Seroval Error (step: ${E9[e]})`}var T9=(e,t)=>A9(e),W5=class extends Error{constructor(e,t){super(T9(e)),this.cause=t}},y6=class extends W5{constructor(e){super("parsing",e)}},M9=class extends W5{constructor(e){super("deserialization",e)}};function Nr(e){return`Seroval Error (specific: ${e})`}var Ef=class extends Error{constructor(t){super(Nr(1)),this.value=t}},ew=class extends Error{constructor(e){super(Nr(2))}},R9=class extends Error{constructor(e){super(Nr(3))}},Yu=class extends Error{constructor(e){super(Nr(4))}},C9=class extends Error{constructor(e){super(Nr(5)),this.value=e}},_9=class extends Error{constructor(e){super(Nr(6))}},O9=class extends Error{constructor(e){super(Nr(7))}},Lr=class extends Error{constructor(e){super(Nr(8))}},P9=class extends Error{constructor(e){super(Nr(9))}},z9=class{constructor(e,t){this.value=e,this.replacement=t}},Af=()=>{let e={p:0,s:0,f:0};return e.p=new Promise((t,n)=>{e.s=t,e.f=n}),e},B9=(e,t)=>{e.s(t),e.p.s=1,e.p.v=t},I9=(e,t)=>{e.f(t),e.p.s=2,e.p.v=t};Af.toString();B9.toString();I9.toString();var N9=()=>{let e=[],t=[],n=!0,a=!1,s=0,u=(d,p,m)=>{for(m=0;m<s;m++)t[m]&&t[m][p](d)},l=(d,p,m,b)=>{for(p=0,m=e.length;p<m;p++)b=e[p],!n&&p===m-1?d[a?"return":"throw"](b):d.next(b)},f=(d,p)=>(n&&(p=s++,t[p]=d),l(d),()=>{n&&(t[p]=t[s],t[s--]=void 0)});return{__SEROVAL_STREAM__:!0,on:d=>f(d),next:d=>{n&&(e.push(d),u(d,"next"))},throw:d=>{n&&(e.push(d),u(d,"throw"),n=!1,a=!1,t.length=0)},return:d=>{n&&(e.push(d),u(d,"return"),n=!1,a=!0,t.length=0)}}},L9=e=>t=>()=>{let n=0,a={[e]:()=>a,next:()=>{if(n>t.d)return{done:!0,value:void 0};let s=n++,u=t.v[s];if(s===t.t)throw u;return{done:s===t.d,value:u}}};return a},$9=(e,t)=>n=>()=>{let a=0,s=-1,u=!1,l=[],f=[],d=(m=0,b=f.length)=>{for(;m<b;m++)f[m].s({done:!0,value:void 0})};n.on({next:m=>{let b=f.shift();b&&b.s({done:!1,value:m}),l.push(m)},throw:m=>{let b=f.shift();b&&b.f(m),d(),s=l.length,u=!0,l.push(m)},return:m=>{let b=f.shift();b&&b.s({done:!0,value:m}),d(),s=l.length,l.push(m)}});let p={[e]:()=>p,next:()=>{if(s===-1){let g=a++;if(g>=l.length){let v=t();return f.push(v),v.p}return{done:!1,value:l[g]}}if(a>s)return{done:!0,value:void 0};let m=a++,b=l[m];if(m!==s)return{done:!1,value:b};if(u)throw b;return{done:!0,value:b}}};return p},tw=e=>{let t=atob(e),n=t.length,a=new Uint8Array(n);for(let s=0;s<n;s++)a[s]=t.charCodeAt(s);return a.buffer};tw.toString();function k9(e){return"__SEROVAL_SEQUENCE__"in e}function nw(e,t,n){return{__SEROVAL_SEQUENCE__:!0,v:e,t,d:n}}function U9(e){let t=[],n=-1,a=-1,s=e[Pr]();for(;;)try{let u=s.next();if(t.push(u.value),u.done){a=t.length-1;break}}catch(u){n=t.length,t.push(u)}return nw(t,n,a)}var j9=L9(Pr);function D9(e){return j9(e)}var H9={},F9={},q9={0:{},1:{},2:{},3:{},4:{},5:{}};function G9(e){return"__SEROVAL_STREAM__"in e}function Ca(){return N9()}function V9(e){let t=Ca(),n=e[Or]();async function a(){try{let s=await n.next();s.done?t.return(s.value):(t.next(s.value),await a())}catch(s){t.throw(s)}}return a().catch(()=>{}),t}var K9=$9(Or,Af);function Q9(e){return K9(e)}async function Y9(e){try{return[1,await e]}catch(t){return[0,t]}}function Z9(e,t){return{plugins:t.plugins,mode:e,marked:new Set,features:63^(t.disabledFeatures||0),refs:t.refs||new Map,depthLimit:t.depthLimit||1e3}}function Ql(e,t){e.marked.add(t)}function X9(e,t){let n=e.refs.size;return e.refs.set(t,n),n}function Tf(e,t){let n=e.refs.get(t);return n!=null?(Ql(e,n),{type:1,value:n9(n)}):{type:0,value:X9(e,t)}}function Py(e,t){let n=Tf(e,t);return n.type===1?n:Y5(t)?{type:2,value:s9(n.value,t)}:n}function ca(e,t){let n=Py(e,t);if(n.type!==0)return n.value;if(t in G5)return a9(n.value,t);throw new Ef(t)}function Mf(e,t){let n=Tf(e,q9[t]);return n.type===1?n.value:ze(26,n.value,t,P,P,P,P,P,P,P,P,P)}function J9(e){let t=Tf(e,H9);return t.type===1?t.value:ze(27,t.value,P,P,P,P,P,P,ca(e,Pr),P,P,P)}function W9(e){let t=Tf(e,F9);return t.type===1?t.value:ze(29,t.value,P,P,P,P,P,[Mf(e,1),ca(e,Or)],P,P,P,P)}function eT(e,t,n,a){return ze(n?11:10,e,P,P,P,a,P,P,P,P,X5(t),P)}function tT(e,t,n,a){return ze(8,t,P,P,P,P,{k:n,v:a},P,Mf(e,0),P,P,P)}function nT(e,t,n){let a=new Uint8Array(n),s="";for(let u=0,l=a.length;u<l;u++)s+=String.fromCharCode(a[u]);return ze(19,t,Li(btoa(s)),P,P,P,P,P,Mf(e,5),P,P,P)}function rT(e,t){return{base:Z9(e,t),child:void 0}}var iT=class{constructor(e,t){this._p=e,this.depth=t}parse(e){return lt(this._p,this.depth,e)}};async function aT(e,t,n){let a=[];for(let s=0,u=n.length;s<u;s++)s in n?a[s]=await lt(e,t,n[s]):a[s]=0;return a}async function sT(e,t,n,a){return u9(n,a,await aT(e,t,a))}async function zy(e,t,n){let a=Object.entries(n),s=[],u=[];for(let l=0,f=a.length;l<f;l++)s.push(Li(a[l][0])),u.push(await lt(e,t,a[l][1]));return Pr in n&&(s.push(ca(e.base,Pr)),u.push(m9(J9(e.base),await lt(e,t,U9(n))))),Or in n&&(s.push(ca(e.base,Or)),u.push(b9(W9(e.base),await lt(e,t,V9(n))))),Os in n&&(s.push(ca(e.base,Os)),u.push(J5(n[Os]))),_s in n&&(s.push(ca(e.base,_s)),u.push(n[_s]?V5:K5)),{k:s,v:u}}async function Oh(e,t,n,a,s){return eT(n,a,s,await zy(e,t,a))}async function oT(e,t,n,a){return c9(n,await lt(e,t,a.valueOf()))}async function uT(e,t,n,a){return l9(n,a,await lt(e,t,a.buffer))}async function cT(e,t,n,a){return f9(n,a,await lt(e,t,a.buffer))}async function lT(e,t,n,a){return d9(n,a,await lt(e,t,a.buffer))}async function m6(e,t,n,a){let s=Z5(a,e.base.features);return h9(n,a,s?await zy(e,t,s):P)}async function fT(e,t,n,a){let s=Z5(a,e.base.features);return p9(n,a,s?await zy(e,t,s):P)}async function dT(e,t,n,a){let s=[],u=[];for(let[l,f]of a.entries())s.push(await lt(e,t,l)),u.push(await lt(e,t,f));return tT(e.base,n,s,u)}async function hT(e,t,n,a){let s=[];for(let u of a.keys())s.push(await lt(e,t,u));return y9(n,s)}async function rw(e,t,n,a){let s=e.base.plugins;if(s)for(let u=0,l=s.length;u<l;u++){let f=s[u];if(f.parse.async&&f.test(a))return o9(n,f.tag,await f.parse.async(a,new iT(e,t),{id:n}))}return P}async function pT(e,t,n,a){let[s,u]=await Y9(a);return ze(12,n,s,P,P,P,P,P,await lt(e,t,u),P,P,P)}function yT(e,t,n,a,s){let u=[],l=n.on({next:f=>{Ql(this.base,t),lt(this,e,f).then(d=>{u.push(v9(t,d))},d=>{s(d),l()})},throw:f=>{Ql(this.base,t),lt(this,e,f).then(d=>{u.push(w9(t,d)),a(u),l()},d=>{s(d),l()})},return:f=>{Ql(this.base,t),lt(this,e,f).then(d=>{u.push(x9(t,d)),a(u),l()},d=>{s(d),l()})}})}async function mT(e,t,n,a){return g9(n,Mf(e.base,4),await new Promise(yT.bind(e,t,n,a)))}async function bT(e,t,n,a){let s=[];for(let u=0,l=a.v.length;u<l;u++)s[u]=await lt(e,t,a.v[u]);return S9(n,s,a.t,a.d)}async function gT(e,t,n,a){if(Array.isArray(a))return sT(e,t,n,a);if(G9(a))return mT(e,t,n,a);if(k9(a))return bT(e,t,n,a);let s=a.constructor;if(s===z9)return lt(e,t,a.replacement);let u=await rw(e,t,n,a);if(u)return u;switch(s){case Object:return Oh(e,t,n,a,!1);case P:return Oh(e,t,n,a,!0);case Date:return r9(n,a);case Error:case EvalError:case RangeError:case ReferenceError:case SyntaxError:case TypeError:case URIError:return m6(e,t,n,a);case Number:case Boolean:case String:case BigInt:return oT(e,t,n,a);case ArrayBuffer:return nT(e.base,n,a);case Int8Array:case Int16Array:case Int32Array:case Uint8Array:case Uint16Array:case Uint32Array:case Uint8ClampedArray:case Float32Array:case Float64Array:return uT(e,t,n,a);case DataView:return lT(e,t,n,a);case Map:return dT(e,t,n,a);case Set:return hT(e,t,n,a)}if(s===Promise||a instanceof Promise)return pT(e,t,n,a);let l=e.base.features;if(l&32&&s===RegExp)return i9(n,a);if(l&16)switch(s){case BigInt64Array:case BigUint64Array:return cT(e,t,n,a)}if(l&1&&typeof AggregateError<"u"&&(s===AggregateError||a instanceof AggregateError))return fT(e,t,n,a);if(a instanceof Error)return m6(e,t,n,a);if(Pr in a||Or in a)return Oh(e,t,n,a,!!s);throw new Ef(a)}async function vT(e,t,n){let a=Py(e.base,n);if(a.type!==0)return a.value;let s=await rw(e,t,a.value,n);if(s)return s;throw new Ef(n)}async function lt(e,t,n){switch(typeof n){case"boolean":return n?V5:K5;case"undefined":return HA;case"string":return J5(n);case"number":return e9(n);case"bigint":return t9(n);case"object":{if(n){let a=Py(e.base,n);return a.type===0?await gT(e,t+1,a.value,n):a.value}return FA}case"symbol":return ca(e.base,n);case"function":return vT(e,t,n);default:throw new Ef(n)}}async function wT(e,t){try{return await lt(e,0,t)}catch(n){throw n instanceof y6?n:new y6(n)}}var xT=(e=>(e[e.Vanilla=1]="Vanilla",e[e.Cross=2]="Cross",e))(xT||{});function iw(e,t){for(let n=0,a=t.length;n<a;n++){let s=t[n];e.has(s)||(e.add(s),s.extends&&iw(e,s.extends))}}function aw(e){if(e){let t=new Set;return iw(t,e),[...t]}}function ST(e){switch(e){case"Int8Array":return Int8Array;case"Int16Array":return Int16Array;case"Int32Array":return Int32Array;case"Uint8Array":return Uint8Array;case"Uint16Array":return Uint16Array;case"Uint32Array":return Uint32Array;case"Uint8ClampedArray":return Uint8ClampedArray;case"Float32Array":return Float32Array;case"Float64Array":return Float64Array;case"BigInt64Array":return BigInt64Array;case"BigUint64Array":return BigUint64Array;default:throw new O9(e)}}var ET=1e6,AT=1e4,TT=2e4;function sw(e,t){switch(t){case 3:return Object.freeze(e);case 1:return Object.preventExtensions(e);case 2:return Object.seal(e);default:return e}}var MT=1e3;function RT(e,t){var n;let a=t.refs||new Map;return"types"in a||Object.assign(a,{types:new Map}),{mode:e,plugins:t.plugins,refs:a,features:(n=t.features)!=null?n:63^(t.disabledFeatures||0),depthLimit:t.depthLimit||MT}}function CT(e){return{mode:2,base:RT(2,e),child:P}}var _T=class{constructor(e,t){this._p=e,this.depth=t}deserialize(e){return De(this._p,this.depth,e)}};function ow(e,t){if(t<0||!Number.isFinite(t)||!Number.isInteger(t))throw new Lr({t:4,i:t});if(e.refs.has(t))throw new Error("Conflicted ref id: "+t)}function OT(e,t,n){return ow(e.base,t),e.state.marked.has(t)&&e.base.refs.set(t,n),n}function PT(e,t,n){return ow(e.base,t),e.base.refs.set(t,n),n}function ft(e,t,n){return e.mode===1?OT(e,t,n):PT(e,t,n)}function yp(e,t,n){if(Object.hasOwn(t,n))return t[n];throw new Lr(e)}function zT(e,t){return ft(e,t.i,JA($i(t.s)))}function BT(e,t,n){let a=n.a,s=a.length,u=ft(e,n.i,new Array(s));for(let l=0,f;l<s;l++)f=a[l],f&&(u[l]=De(e,t,f));return sw(u,n.o),u}function IT(e){switch(e){case"constructor":case"__proto__":case"prototype":case"__defineGetter__":case"__defineSetter__":case"__lookupGetter__":case"__lookupSetter__":return!1;default:return!0}}function NT(e){switch(e){case Or:case _s:case Os:case Pr:return!0;default:return!1}}function b6(e,t,n){IT(t)?e[t]=n:Object.defineProperty(e,t,{value:n,configurable:!0,enumerable:!0,writable:!0})}function LT(e,t,n,a,s){if(typeof a=="string")b6(n,$i(a),De(e,t,s));else{let u=De(e,t,a);switch(typeof u){case"string":b6(n,u,De(e,t,s));break;case"symbol":NT(u)&&(n[u]=De(e,t,s));break;default:throw new Lr(a)}}}function uw(e,t,n){e.base.refs.types.set(t,n)}function Zu(e,t,n,a){if(e.base.refs.types.get(n)!==a)throw new Lr(t)}function cw(e,t,n,a){let s=n.k;if(s.length>0)for(let u=0,l=n.v,f=s.length;u<f;u++)LT(e,t,a,s[u],l[u]);return a}function $T(e,t,n){let a=ft(e,n.i,n.t===10?{}:Object.create(null));return cw(e,t,n.p,a),sw(a,n.o),a}function kT(e,t){return ft(e,t.i,new Date(t.s))}function UT(e,t){if(e.base.features&32){let n=$i(t.c);if(n.length>TT)throw new Lr(t);return ft(e,t.i,new RegExp(n,t.m))}throw new ew(t)}function jT(e,t,n){let a=ft(e,n.i,new Set);for(let s=0,u=n.a,l=u.length;s<l;s++)a.add(De(e,t,u[s]));return a}function DT(e,t,n){let a=ft(e,n.i,new Map);for(let s=0,u=n.e.k,l=n.e.v,f=u.length;s<f;s++)a.set(De(e,t,u[s]),De(e,t,l[s]));return a}function HT(e,t){if(t.s.length>ET)throw new Lr(t);return ft(e,t.i,tw($i(t.s)))}function FT(e,t,n){var a;let s=ST(n.c),u=De(e,t,n.f),l=(a=n.b)!=null?a:0;if(l<0||l>u.byteLength)throw new Lr(n);return ft(e,n.i,new s(u,l,n.l))}function qT(e,t,n){var a;let s=De(e,t,n.f),u=(a=n.b)!=null?a:0;if(u<0||u>s.byteLength)throw new Lr(n);return ft(e,n.i,new DataView(s,u,n.l))}function lw(e,t,n,a){if(n.p){let s=cw(e,t,n.p,{});Object.defineProperties(a,Object.getOwnPropertyDescriptors(s))}return a}function GT(e,t,n){let a=ft(e,n.i,new AggregateError([],$i(n.m)));return lw(e,t,n,a)}function VT(e,t,n){let a=yp(n,DA,n.s),s=ft(e,n.i,new a($i(n.m)));return lw(e,t,n,s)}function KT(e,t,n){let a=Af(),s=ft(e,n.i,a.p),u=De(e,t,n.f);return n.s?a.s(u):a.f(u),s}function QT(e,t,n){return ft(e,n.i,Object(De(e,t,n.f)))}function YT(e,t,n){let a=e.base.plugins;if(a){let s=$i(n.c);for(let u=0,l=a.length;u<l;u++){let f=a[u];if(f.tag===s)return ft(e,n.i,f.deserialize(n.s,new _T(e,t),{id:n.i}))}}throw new R9(n.c)}function ZT(e,t){let n=ft(e,t.i,ft(e,t.s,Af()).p);return uw(e,t.s,22),n}function XT(e,t,n){let a=e.base.refs.get(n.i);if(a)return Zu(e,n,n.i,22),a.s(De(e,t,n.a[1])),P;throw new Yu("Promise")}function JT(e,t,n){let a=e.base.refs.get(n.i);if(a)return Zu(e,n,n.i,22),a.f(De(e,t,n.a[1])),P;throw new Yu("Promise")}function WT(e,t,n){De(e,t,n.a[0]);let a=De(e,t,n.a[1]);return D9(a)}function eM(e,t,n){De(e,t,n.a[0]);let a=De(e,t,n.a[1]);return Q9(a)}function tM(e,t,n){let a=ft(e,n.i,Ca());uw(e,n.i,31);let s=n.a,u=s.length;if(u)for(let l=0;l<u;l++)De(e,t,s[l]);return a}function nM(e,t,n){let a=e.base.refs.get(n.i);if(a)return Zu(e,n,n.i,31),a.next(De(e,t,n.f)),P;throw new Yu("Stream")}function rM(e,t,n){let a=e.base.refs.get(n.i);if(a)return Zu(e,n,n.i,31),a.throw(De(e,t,n.f)),P;throw new Yu("Stream")}function iM(e,t,n){let a=e.base.refs.get(n.i);if(a)return Zu(e,n,n.i,31),a.return(De(e,t,n.f)),P;throw new Yu("Stream")}function aM(e,t,n){return De(e,t,n.f),P}function sM(e,t,n){return De(e,t,n.a[1]),P}function oM(e,t,n){let a=ft(e,n.i,nw([],n.s,n.l));for(let s=0,u=n.a.length;s<u;s++)a.v[s]=De(e,t,n.a[s]);return a}function De(e,t,n){if(t>e.base.depthLimit)throw new P9(e.base.depthLimit);switch(t+=1,n.t){case 2:return yp(n,UA,n.s);case 0:return Number(n.s);case 1:return $i(String(n.s));case 3:if(String(n.s).length>AT)throw new Lr(n);return BigInt(n.s);case 4:return e.base.refs.get(n.i);case 18:return zT(e,n);case 9:return BT(e,t,n);case 10:case 11:return $T(e,t,n);case 5:return kT(e,n);case 6:return UT(e,n);case 7:return jT(e,t,n);case 8:return DT(e,t,n);case 19:return HT(e,n);case 16:case 15:return FT(e,t,n);case 20:return qT(e,t,n);case 14:return GT(e,t,n);case 13:return VT(e,t,n);case 12:return KT(e,t,n);case 17:return yp(n,kA,n.s);case 21:return QT(e,t,n);case 25:return YT(e,t,n);case 22:return ZT(e,n);case 23:return XT(e,t,n);case 24:return JT(e,t,n);case 28:return WT(e,t,n);case 30:return eM(e,t,n);case 31:return tM(e,t,n);case 32:return nM(e,t,n);case 33:return rM(e,t,n);case 34:return iM(e,t,n);case 27:return aM(e,t,n);case 29:return sM(e,t,n);case 35:return oM(e,t,n);default:throw new ew(n)}}function uM(e,t){try{return De(e,0,t)}catch(n){throw new M9(n)}}var cM=()=>T;cM.toString();function g6(e,t){let n=aw(t.plugins),a=CT({plugins:n,refs:t.refs,features:t.features,disabledFeatures:t.disabledFeatures,depthLimit:t.depthLimit});return uM(a,e)}async function lM(e,t={}){let n=aw(t.plugins),a=rT(1,{plugins:n,disabledFeatures:t.disabledFeatures});return{t:await wT(a,e),f:a.base.features,m:Array.from(a.base.marked)}}function fM(e){return{tag:"$TSR/t/"+e.key,test:e.test,parse:{sync(t,n,a){return{v:n.parse(e.toSerializable(t))}},async async(t,n,a){return{v:await n.parse(e.toSerializable(t))}},stream(t,n,a){return{v:n.parse(e.toSerializable(t))}}},serialize:void 0,deserialize(t,n,a){return e.fromSerializable(n.deserialize(t.v))}}}var dM=class{constructor(e,t){this.stream=e,this.hint=t?.hint??"binary"}};const sf=globalThis.Buffer,fw=!!sf&&typeof sf.from=="function";function dw(e){if(e.length===0)return"";if(fw)return sf.from(e).toString("base64");const t=32768,n=[];for(let a=0;a<e.length;a+=t){const s=e.subarray(a,a+t);n.push(String.fromCharCode.apply(null,s))}return btoa(n.join(""))}function hw(e){if(e.length===0)return new Uint8Array(0);if(fw){const a=sf.from(e,"base64");return new Uint8Array(a.buffer,a.byteOffset,a.byteLength)}const t=atob(e),n=new Uint8Array(t.length);for(let a=0;a<t.length;a++)n[a]=t.charCodeAt(a);return n}const tu=Object.create(null),nu=Object.create(null),hM=e=>new ReadableStream({start(t){e.on({next(n){try{t.enqueue(hw(n))}catch{}},throw(n){t.error(n)},return(){try{t.close()}catch{}}})}}),pM=new TextEncoder,yM=e=>new ReadableStream({start(t){e.on({next(n){try{typeof n=="string"?t.enqueue(pM.encode(n)):t.enqueue(hw(n.$b64))}catch{}},throw(n){t.error(n)},return(){try{t.close()}catch{}}})}}),mM="(s=>new ReadableStream({start(c){s.on({next(b){try{const d=atob(b),a=new Uint8Array(d.length);for(let i=0;i<d.length;i++)a[i]=d.charCodeAt(i);c.enqueue(a)}catch(_){}},throw(e){c.error(e)},return(){try{c.close()}catch(_){}}})}}))",bM="(s=>{const e=new TextEncoder();return new ReadableStream({start(c){s.on({next(v){try{if(typeof v===\'string\'){c.enqueue(e.encode(v))}else{const d=atob(v.$b64),a=new Uint8Array(d.length);for(let i=0;i<d.length;i++)a[i]=d.charCodeAt(i);c.enqueue(a)}}catch(_){}},throw(x){c.error(x)},return(){try{c.close()}catch(_){}}})}})})";function v6(e){const t=Ca(),n=e.getReader();return(async()=>{try{for(;;){const{done:a,value:s}=await n.read();if(a){t.return(void 0);break}t.next(dw(s))}}catch(a){t.throw(a)}finally{n.releaseLock()}})(),t}function w6(e){const t=Ca(),n=e.getReader(),a=new TextDecoder("utf-8",{fatal:!0});return(async()=>{try{for(;;){const{done:s,value:u}=await n.read();if(s){try{const l=a.decode();l.length>0&&t.next(l)}catch{}t.return(void 0);break}try{const l=a.decode(u,{stream:!0});l.length>0&&t.next(l)}catch{t.next({$b64:dw(u)})}}}catch(s){t.throw(s)}finally{n.releaseLock()}})(),t}const gM={tag:"tss/RawStream",extends:[{tag:"tss/RawStreamFactory",test(e){return e===tu},parse:{sync(e,t,n){return{}},async async(e,t,n){return{}},stream(e,t,n){return{}}},serialize(e,t,n){return mM},deserialize(e,t,n){return tu}},{tag:"tss/RawStreamFactoryText",test(e){return e===nu},parse:{sync(e,t,n){return{}},async async(e,t,n){return{}},stream(e,t,n){return{}}},serialize(e,t,n){return bM},deserialize(e,t,n){return nu}}],test(e){return e instanceof dM},parse:{sync(e,t,n){const a=e.hint==="text"?nu:tu;return{hint:t.parse(e.hint),factory:t.parse(a),stream:t.parse(Ca())}},async async(e,t,n){const a=e.hint==="text"?nu:tu,s=e.hint==="text"?w6(e.stream):v6(e.stream);return{hint:await t.parse(e.hint),factory:await t.parse(a),stream:await t.parse(s)}},stream(e,t,n){const a=e.hint==="text"?nu:tu,s=e.hint==="text"?w6(e.stream):v6(e.stream);return{hint:t.parse(e.hint),factory:t.parse(a),stream:t.parse(s)}}},serialize(e,t,n){return"("+t.serialize(e.factory)+")("+t.serialize(e.stream)+")"},deserialize(e,t,n){const a=t.deserialize(e.stream);return t.deserialize(e.hint)==="text"?yM(a):hM(a)}};function vM(e){return{tag:"tss/RawStream",test:()=>!1,parse:{},serialize(){throw new Error("RawStreamDeserializePlugin.serialize should not be called. Client only deserializes.")},deserialize(t,n,a){return e(typeof n?.deserialize=="function"?n.deserialize(t.streamId):t.streamId)}}}const wM={tag:"$TSR/Error",test(e){return e instanceof Error},parse:{sync(e,t){return{message:t.parse(e.message)}},async async(e,t){return{message:await t.parse(e.message)}},stream(e,t){return{message:t.parse(e.message)}}},serialize(e,t){return"new Error("+t.serialize(e.message)+")"},deserialize(e,t){return new Error(t.deserialize(e.message))}};var bi={},pw=e=>new ReadableStream({start:t=>{e.on({next:n=>{try{t.enqueue(n)}catch{}},throw:n=>{t.error(n)},return:()=>{try{t.close()}catch{}}})}}),xM={tag:"seroval-plugins/web/ReadableStreamFactory",test(e){return e===bi},parse:{sync(){return bi},async async(){return await Promise.resolve(bi)},stream(){return bi}},serialize(){return pw.toString()},deserialize(){return bi}};function x6(e){let t=Ca(),n=e.getReader();async function a(){try{let s=await n.read();s.done?t.return(s.value):(t.next(s.value),await a())}catch(s){t.throw(s)}}return a().catch(()=>{}),t}var SM={tag:"seroval/plugins/web/ReadableStream",extends:[xM],test(e){return typeof ReadableStream>"u"?!1:e instanceof ReadableStream},parse:{sync(e,t){return{factory:t.parse(bi),stream:t.parse(Ca())}},async async(e,t){return{factory:await t.parse(bi),stream:await t.parse(x6(e))}},stream(e,t){return{factory:t.parse(bi),stream:t.parse(x6(e))}}},serialize(e,t){return"("+t.serialize(e.factory)+")("+t.serialize(e.stream)+")"},deserialize(e,t){let n=t.deserialize(e.stream);return pw(n)}},EM=SM;const AM=[wM,gM,EM];function TM(){return[...b5()?.serializationAdapters?.map(fM)??[],...AM]}var S6=new TextDecoder,MM=new Uint8Array(0),E6=16*1024*1024,A6=32*1024*1024,T6=1024,M6=1e5;function RM(e){const t=new Map,n=new Map,a=new Set;let s=!1,u=null,l=0,f;const d=new ReadableStream({start(b){f=b},cancel(){s=!0;try{u?.cancel()}catch{}t.forEach(b=>{try{b.error(new Error("Framed response cancelled"))}catch{}}),t.clear(),n.clear(),a.clear()}});function p(b){const g=n.get(b);if(g)return g;if(a.has(b))return new ReadableStream({start(x){x.close()}});if(n.size>=T6)throw new Error(`Too many raw streams in framed response (max ${T6})`);const v=new ReadableStream({start(x){t.set(b,x)},cancel(){a.add(b),t.delete(b),n.delete(b)}});return n.set(b,v),v}function m(b){return p(b),t.get(b)}return(async()=>{const b=e.getReader();u=b;const g=[];let v=0;function x(){if(v<9)return null;const E=g[0];if(E.length>=9)return{type:E[0],streamId:(E[1]<<24|E[2]<<16|E[3]<<8|E[4])>>>0,length:(E[5]<<24|E[6]<<16|E[7]<<8|E[8])>>>0};const R=new Uint8Array(9);let z=0,M=9;for(let _=0;_<g.length&&M>0;_++){const C=g[_],B=Math.min(C.length,M);R.set(C.subarray(0,B),z),z+=B,M-=B}return{type:R[0],streamId:(R[1]<<24|R[2]<<16|R[3]<<8|R[4])>>>0,length:(R[5]<<24|R[6]<<16|R[7]<<8|R[8])>>>0}}function S(E){if(E===0)return MM;const R=new Uint8Array(E);let z=0,M=E;for(;M>0&&g.length>0;){const _=g[0];if(!_)break;const C=Math.min(_.length,M);R.set(_.subarray(0,C),z),z+=C,M-=C,C===_.length?g.shift():g[0]=_.subarray(C)}return v-=E,R}try{for(;;){const{done:E,value:R}=await b.read();if(s||E)break;if(R){if(v+R.length>A6)throw new Error(`Framed response buffer exceeded ${A6} bytes`);for(g.push(R),v+=R.length;;){const z=x();if(!z)break;const{type:M,streamId:_,length:C}=z;if(M!==br.JSON&&M!==br.CHUNK&&M!==br.END&&M!==br.ERROR)throw new Error(`Unknown frame type: ${M}`);if(M===br.JSON){if(_!==0)throw new Error("Invalid JSON frame streamId (expected 0)")}else if(_===0)throw new Error("Invalid raw frame streamId (expected non-zero)");if(C>E6)throw new Error(`Frame payload too large: ${C} bytes (max ${E6})`);const B=9+C;if(v<B)break;if(++l>M6)throw new Error(`Too many frames in framed response (max ${M6})`);S(9);const O=S(C);switch(M){case br.JSON:try{f.enqueue(S6.decode(O))}catch{}break;case br.CHUNK:{const I=m(_);I&&I.enqueue(O);break}case br.END:{const I=m(_);if(a.add(_),I){try{I.close()}catch{}t.delete(_)}break}case br.ERROR:{const I=m(_);if(a.add(_),I){const U=S6.decode(O);I.error(new Error(U)),t.delete(_)}break}}}}}if(v!==0)throw new Error("Incomplete frame at end of framed response");try{f.close()}catch{}t.forEach(E=>{try{E.close()}catch{}}),t.clear()}catch(E){try{f.error(E)}catch{}t.forEach(R=>{try{R.error(E)}catch{}}),t.clear()}finally{try{b.releaseLock()}catch{}u=null}})(),{getOrCreateStream:p,jsonChunks:d}}var pu=null;async function mp(e){e.length>0&&await Promise.allSettled(e)}var CM=Object.prototype.hasOwnProperty;function yw(e){for(const t in e)if(CM.call(e,t))return!0;return!1}async function _M(e,t,n){pu||(pu=TM());const a=t[0],s=a.fetch??n,u=a.data instanceof FormData?"formData":"payload",l=a.headers?new Headers(a.headers):new Headers;if(l.set("x-tsr-serverFn","true"),u==="payload"&&l.set("accept",`${AE}, application/x-ndjson, application/json`),a.method==="GET"){if(u==="formData")throw new Error("FormData is not supported with GET requests");const d=await mw(a);if(d!==void 0){const p=R5({payload:d});e.includes("?")?e+=`&${p}`:e+=`?${p}`}}let f;if(a.method==="POST"){const d=await OM(a);d?.contentType&&l.set("content-type",d.contentType),f=d?.body}return await PM(async()=>s(e,{method:a.method,headers:l,signal:a.signal,body:f}))}async function mw(e){let t=!1;const n={};if(e.data!==void 0&&(t=!0,n.data=e.data),e.context&&yw(e.context)&&(t=!0,n.context=e.context),t)return bw(n)}async function bw(e){return JSON.stringify(await Promise.resolve(lM(e,{plugins:pu})))}async function OM(e){if(e.data instanceof FormData){let n;return e.context&&yw(e.context)&&(n=await bw(e.context)),n!==void 0&&e.data.set(EE,n),{body:e.data}}const t=await mw(e);if(t)return{body:t,contentType:"application/json"}}async function PM(e){let t;try{t=await e()}catch(a){if(a instanceof Response)t=a;else throw console.log(a),a}if(t.headers.get("x-tss-raw")==="true")return t;const n=t.headers.get("content-type");if(n||Zt(),t.headers.get("x-tss-serialized")){let a;if(n.includes("application/x-tss-framed")){if(RE(n),!t.body)throw new Error("No response body for framed response");const{getOrCreateStream:s,jsonChunks:u}=RM(t.body),l=[vM(s),...pu||[]],f=new Map;a=await zM({jsonStream:u,onMessage:d=>g6(d,{refs:f,plugins:l}),onError(d,p){console.error(d,p)}})}else if(n.includes("application/json")){const s=await t.json(),u=[];a=g6(s,{plugins:pu}),await mp(u)}if(a||Zt(),a instanceof Error)throw a;return a}if(n.includes("application/json")){const a=await t.json(),s=nA(a);if(s)throw s;if(mt(a))throw a;return a}if(!t.ok)throw new Error(await t.text());return t}async function zM({jsonStream:e,onMessage:t,onError:n}){const a=e.getReader(),{value:s,done:u}=await a.read();if(u||!s)throw new Error("Stream ended before first object");const l=JSON.parse(s);let f=!1;const d=(async()=>{try{for(;;){const{value:b,done:g}=await a.read();if(g)break;if(b)try{const v=[];try{t(JSON.parse(b))}finally{}await mp(v)}catch(v){n?.(`Invalid JSON: ${b}`,v)}}}catch(b){f||n?.("Stream processing error:",b)}})();let p;const m=[];try{p=t(l)}catch(b){throw f=!0,a.cancel().catch(()=>{}),b}return await mp(m),Promise.resolve(p).catch(()=>{f=!0,a.cancel().catch(()=>{})}),d.finally(()=>{try{a.releaseLock()}catch{}}),p}function BM(e){const t="/./_serverFn/"+e;return Object.assign((...s)=>{const u=b5()?.serverFns?.fetch;return _M(t,s,u??fetch)},{url:t,serverFnMeta:{id:e},[lp]:!0})}var IM={key:"$TSS/serverfn",test:e=>typeof e!="function"||!(lp in e)?!1:!!e[lp],toSerializable:({serverFnMeta:e})=>({functionId:e.id}),fromSerializable:({functionId:e})=>BM(e)};function R6(e){return e.replaceAll("\\0","/").replaceAll("�","/")}function NM(e,t){e.id=t.i,e.__beforeLoadContext=t.b,e.loaderData=t.l,e.status=t.s,e.ssr=t.ssr,e.updatedAt=t.u,e.error=t.e,t.g!==void 0&&(e.globalNotFound=t.g)}async function LM(e){window.$_TSR||Zt();const t=e.options.serializationAdapters;if(t?.length){const E=new Map;t.forEach(R=>{E.set(R.key,R.fromSerializable)}),window.$_TSR.t=E,window.$_TSR.buffer.forEach(R=>R())}window.$_TSR.initialized=!0,window.$_TSR.router||Zt();const n=window.$_TSR.router;n.matches.forEach(E=>{E.i=R6(E.i)}),n.lastMatchId&&(n.lastMatchId=R6(n.lastMatchId));const{manifest:a,dehydratedData:s,lastMatchId:u}=n;e.ssr={manifest:a};const l=document.querySelector(\'meta[property="csp-nonce"]\')?.content;e.options.ssr={nonce:l},await e.options.hydrate?.(s);const f=e.matchRoutes(e.stores.location.get()),d=Promise.all(f.map(E=>e.loadRouteChunk(e.looseRoutesById[E.routeId])));function p(E){const R=e.looseRoutesById[E.routeId].options.pendingMinMs??e.options.defaultPendingMinMs;if(R){const z=ma();E._nonReactive.minPendingPromise=z,E._forcePending=!0,setTimeout(()=>{z.resolve(),e.updateMatch(E.id,M=>(M._nonReactive.minPendingPromise=void 0,{...M,_forcePending:void 0}))},R)}}function m(E){const R=e.looseRoutesById[E.routeId];R&&(R.options.ssr=E.ssr)}let b;f.forEach(E=>{const R=n.matches.find(z=>z.i===E.id);if(!R){E._nonReactive.dehydrated=!1,E.ssr=!1,m(E);return}NM(E,R),m(E),E._nonReactive.dehydrated=E.ssr!==!1,(E.ssr==="data-only"||E.ssr===!1)&&b===void 0&&(b=E.index,p(E))}),e.stores.setMatches(f);const g=e.stores.matches.get(),v=e.stores.location.get();await Promise.all(g.map(async E=>{try{const R=e.looseRoutesById[E.routeId],z=g[E.index-1]?.context??e.options.context;if(R.options.context){const B={deps:E.loaderDeps,params:E.params,context:z??{},location:v,navigate:O=>e.navigate({...O,_fromLocation:v}),buildLocation:e.buildLocation,cause:E.cause,abortController:E.abortController,preload:!1,matches:f,routeId:R.id};E.__routeContext=R.options.context(B)??void 0}E.context={...z,...E.__routeContext,...E.__beforeLoadContext};const M={ssr:e.options.ssr,matches:g,match:E,params:E.params,loaderData:E.loaderData},_=await R.options.head?.(M),C=await R.options.scripts?.(M);E.meta=_?.meta,E.links=_?.links,E.headScripts=_?.scripts,E.styles=_?.styles,E.scripts=C}catch(R){if(mt(R))E.error={isNotFound:!0},console.error(`NotFound error during hydration for routeId: ${E.routeId}`,R);else throw E.error=R,console.error(`Error during hydration for route ${E.routeId}:`,R),R}}));const x=f[f.length-1].id!==u;if(!f.some(E=>E.ssr===!1)&&!x)return f.forEach(E=>{E._nonReactive.dehydrated=void 0}),e.stores.resolvedLocation.set(e.stores.location.get()),d;const S=Promise.resolve().then(()=>e.load()).catch(E=>{console.error("Error during router hydration:",E)});if(x){const E=f[1];E||Zt(),p(E),E._displayPending=!0,E._nonReactive.displayPendingPromise=S,S.then(()=>{e.batch(()=>{e.stores.status.get()==="pending"&&(e.stores.status.set("idle"),e.stores.resolvedLocation.set(e.stores.location.get())),e.updateMatch(E.id,R=>({...R,_displayPending:void 0,displayPendingPromise:void 0}))})})}return d}var of=re.use,su=typeof window<"u"?re.useLayoutEffect:re.useEffect;function Ph(e){const t=re.useRef({value:e,prev:null}),n=t.current.value;return e!==n&&(t.current={value:e,prev:n}),t.current.prev}function $M(e,t,n={},a={}){re.useEffect(()=>{if(!e.current||a.disabled||typeof IntersectionObserver!="function")return;const s=new IntersectionObserver(([u])=>{t(u)},n);return s.observe(e.current),()=>{s.disconnect()}},[t,n,a.disabled,e])}function kM(e){const t=re.useRef(null);return re.useImperativeHandle(e,()=>t.current,[]),t}function UM({promise:e}){if(of)return of(e);const t=OA(e);if(t[Kn].status==="pending")throw t;if(t[Kn].status==="error")throw t[Kn].error;return t[Kn].data}function jM(e){const t=V.jsx(DM,{...e});return e.fallback?V.jsx(re.Suspense,{fallback:e.fallback,children:t}):t}function DM(e){const t=UM(e);return e.children(t)}function By(e){const t=e.errorComponent??Iy;return V.jsx(HM,{getResetKey:e.getResetKey,onCatch:e.onCatch,children:({error:n,reset:a})=>n?re.createElement(t,{error:n,reset:a}):e.children})}var HM=class extends re.Component{constructor(...e){super(...e),this.state={error:null}}static getDerivedStateFromProps(e,t){const n=e.getResetKey();return t.error&&t.resetKey!==n?{resetKey:n,error:null}:{resetKey:n}}static getDerivedStateFromError(e){return{error:e}}reset(){this.setState({error:null})}componentDidCatch(e,t){this.props.onCatch&&this.props.onCatch(e,t)}render(){return this.props.children({error:this.state.error,reset:()=>{this.reset()}})}};function Iy({error:e}){const[t,n]=re.useState(!1);return V.jsxs("div",{style:{padding:".5rem",maxWidth:"100%"},children:[V.jsxs("div",{style:{display:"flex",alignItems:"center",gap:".5rem"},children:[V.jsx("strong",{style:{fontSize:"1rem"},children:"Something went wrong!"}),V.jsx("button",{style:{appearance:"none",fontSize:".6em",border:"1px solid currentColor",padding:".1rem .2rem",fontWeight:"bold",borderRadius:".25rem"},onClick:()=>n(a=>!a),children:t?"Hide Error":"Show Error"})]}),V.jsx("div",{style:{height:".25rem"}}),t?V.jsx("div",{children:V.jsx("pre",{style:{fontSize:".7em",border:"1px solid red",borderRadius:".25rem",padding:".3rem",color:"red",overflow:"auto"},children:e.message?V.jsx("code",{children:e.message}):null})}):null]})}function FM({children:e,fallback:t=null}){return Ny()?V.jsx(Ns.Fragment,{children:e}):V.jsx(Ns.Fragment,{children:t})}function Ny(){return Ns.useSyncExternalStore(qM,()=>!0,()=>!1)}function qM(){return()=>{}}var gw=re.createContext(null);function At(e){return re.useContext(gw)}var Rf=re.createContext(void 0),GM=re.createContext(void 0),Qe=(e=>(e[e.None=0]="None",e[e.Mutable=1]="Mutable",e[e.Watching=2]="Watching",e[e.RecursedCheck=4]="RecursedCheck",e[e.Recursed=8]="Recursed",e[e.Dirty=16]="Dirty",e[e.Pending=32]="Pending",e))(Qe||{});function VM({update:e,notify:t,unwatched:n}){return{link:a,unlink:s,propagate:u,checkDirty:l,shallowPropagate:f};function a(p,m,b){const g=m.depsTail;if(g!==void 0&&g.dep===p)return;const v=g!==void 0?g.nextDep:m.deps;if(v!==void 0&&v.dep===p){v.version=b,m.depsTail=v;return}const x=p.subsTail;if(x!==void 0&&x.version===b&&x.sub===m)return;const S=m.depsTail=p.subsTail={version:b,dep:p,sub:m,prevDep:g,nextDep:v,prevSub:x,nextSub:void 0};v!==void 0&&(v.prevDep=S),g!==void 0?g.nextDep=S:m.deps=S,x!==void 0?x.nextSub=S:p.subs=S}function s(p,m=p.sub){const b=p.dep,g=p.prevDep,v=p.nextDep,x=p.nextSub,S=p.prevSub;return v!==void 0?v.prevDep=g:m.depsTail=g,g!==void 0?g.nextDep=v:m.deps=v,x!==void 0?x.prevSub=S:b.subsTail=S,S!==void 0?S.nextSub=x:(b.subs=x)===void 0&&n(b),v}function u(p){let m=p.nextSub,b;e:do{const g=p.sub;let v=g.flags;if(v&60?v&12?v&4?!(v&48)&&d(p,g)?(g.flags=v|40,v&=1):v=0:g.flags=v&-9|32:v=0:g.flags=v|32,v&2&&t(g),v&1){const x=g.subs;if(x!==void 0){const S=(p=x).nextSub;S!==void 0&&(b={value:m,prev:b},m=S);continue}}if((p=m)!==void 0){m=p.nextSub;continue}for(;b!==void 0;)if(p=b.value,b=b.prev,p!==void 0){m=p.nextSub;continue e}break}while(!0)}function l(p,m){let b,g=0,v=!1;e:do{const x=p.dep,S=x.flags;if(m.flags&16)v=!0;else if((S&17)===17){if(e(x)){const E=x.subs;E.nextSub!==void 0&&f(E),v=!0}}else if((S&33)===33){(p.nextSub!==void 0||p.prevSub!==void 0)&&(b={value:p,prev:b}),p=x.deps,m=x,++g;continue}if(!v){const E=p.nextDep;if(E!==void 0){p=E;continue}}for(;g--;){const E=m.subs,R=E.nextSub!==void 0;if(R?(p=b.value,b=b.prev):p=E,v){if(e(m)){R&&f(E),m=p.sub;continue}v=!1}else m.flags&=-33;m=p.sub;const z=p.nextDep;if(z!==void 0){p=z;continue e}}return v}while(!0)}function f(p){do{const m=p.sub,b=m.flags;(b&48)===32&&(m.flags=b|16,(b&6)===2&&t(m))}while((p=p.nextSub)!==void 0)}function d(p,m){let b=m.depsTail;for(;b!==void 0;){if(b===p)return!0;b=b.prevDep}return!1}}function KM(e,t,n){const a=typeof e=="object",s=a?e:void 0;return{next:(a?e.next:e)?.bind(s),error:(a?e.error:t)?.bind(s),complete:(a?e.complete:n)?.bind(s)}}const bp=[];let Yl=0;const{link:C6,unlink:QM,propagate:YM,checkDirty:vw,shallowPropagate:_6}=VM({update(e){return e._update()},notify(e){bp[gp++]=e,e.flags&=~Qe.Watching},unwatched(e){e.depsTail!==void 0&&(e.depsTail=void 0,e.flags=Qe.Mutable|Qe.Dirty,uf(e))}});let Ol=0,gp=0,Vn,vp=0;function ww(e){try{++vp,e()}finally{--vp||xw()}}function uf(e){const t=e.depsTail;let n=t!==void 0?t.nextDep:e.deps;for(;n!==void 0;)n=QM(n,e)}function xw(){if(!(vp>0)){for(;Ol<gp;){const e=bp[Ol];bp[Ol++]=void 0,e.notify()}Ol=0,gp=0}}function O6(e,t){const n=typeof e=="function",a=e,s={_snapshot:n?void 0:e,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:n?Qe.None:Qe.Mutable,get(){return Vn!==void 0&&C6(s,Vn,Yl),s._snapshot},subscribe(u){const l=KM(u),f={current:!1},d=ZM(()=>{s.get(),f.current?l.next?.(s._snapshot):f.current=!0});return{unsubscribe:()=>{d.stop()}}},_update(u){const l=Vn,f=t?.compare??Object.is;if(n)Vn=s,++Yl,s.depsTail=void 0;else if(u===void 0)return!1;n&&(s.flags=Qe.Mutable|Qe.RecursedCheck);try{const d=s._snapshot,p=typeof u=="function"?u(d):u===void 0&&n?a(d):u;return d===void 0||!f(d,p)?(s._snapshot=p,!0):!1}finally{Vn=l,n&&(s.flags&=~Qe.RecursedCheck),uf(s)}}};return n?(s.flags=Qe.Mutable|Qe.Dirty,s.get=function(){const u=s.flags;if(u&Qe.Dirty||u&Qe.Pending&&vw(s.deps,s)){if(s._update()){const l=s.subs;l!==void 0&&_6(l)}}else u&Qe.Pending&&(s.flags=u&~Qe.Pending);return Vn!==void 0&&C6(s,Vn,Yl),s._snapshot}):s.set=function(u){if(s._update(u)){const l=s.subs;l!==void 0&&(YM(l),_6(l),xw())}},s}function ZM(e){const t=()=>{const a=Vn;Vn=n,++Yl,n.depsTail=void 0,n.flags=Qe.Watching|Qe.RecursedCheck;try{return e()}finally{Vn=a,n.flags&=~Qe.RecursedCheck,uf(n)}},n={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:Qe.Watching|Qe.RecursedCheck,notify(){const a=this.flags;a&Qe.Dirty||a&Qe.Pending&&vw(this.deps,this)?t():this.flags=Qe.Watching},stop(){this.flags=Qe.None,this.depsTail=void 0,uf(this)}};return t(),n}var zh={exports:{}},Bh={},Ih={exports:{}},Nh={};var P6;function XM(){if(P6)return Nh;P6=1;var e=Qu();function t(b,g){return b===g&&(b!==0||1/b===1/g)||b!==b&&g!==g}var n=typeof Object.is=="function"?Object.is:t,a=e.useState,s=e.useEffect,u=e.useLayoutEffect,l=e.useDebugValue;function f(b,g){var v=g(),x=a({inst:{value:v,getSnapshot:g}}),S=x[0].inst,E=x[1];return u(function(){S.value=v,S.getSnapshot=g,d(S)&&E({inst:S})},[b,v,g]),s(function(){return d(S)&&E({inst:S}),b(function(){d(S)&&E({inst:S})})},[b]),l(v),v}function d(b){var g=b.getSnapshot;b=b.value;try{var v=g();return!n(b,v)}catch{return!0}}function p(b,g){return g()}var m=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?p:f;return Nh.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:m,Nh}var z6;function JM(){return z6||(z6=1,Ih.exports=XM()),Ih.exports}var B6;function WM(){if(B6)return Bh;B6=1;var e=Qu(),t=JM();function n(p,m){return p===m&&(p!==0||1/p===1/m)||p!==p&&m!==m}var a=typeof Object.is=="function"?Object.is:n,s=t.useSyncExternalStore,u=e.useRef,l=e.useEffect,f=e.useMemo,d=e.useDebugValue;return Bh.useSyncExternalStoreWithSelector=function(p,m,b,g,v){var x=u(null);if(x.current===null){var S={hasValue:!1,value:null};x.current=S}else S=x.current;x=f(function(){function R(B){if(!z){if(z=!0,M=B,B=g(B),v!==void 0&&S.hasValue){var O=S.value;if(v(O,B))return _=O}return _=B}if(O=_,a(M,B))return O;var I=g(B);return v!==void 0&&v(O,I)?(M=B,O):(M=B,_=I)}var z=!1,M,_,C=b===void 0?null:b;return[function(){return R(m())},C===null?void 0:function(){return R(C())}]},[m,b,g,v]);var E=s(p,x[0],x[1]);return l(function(){S.hasValue=!0,S.value=E},[E]),d(E),E},Bh}var I6;function eR(){return I6||(I6=1,zh.exports=WM()),zh.exports}var tR=eR();function nR(e,t){return e===t}function We(e,t,n=nR){const a=re.useCallback(l=>{if(!e)return()=>{};const{unsubscribe:f}=e.subscribe(l);return f},[e]),s=re.useCallback(()=>e?.get(),[e]);return tR.useSyncExternalStoreWithSelector(a,s,s,t,n)}var rR={get:()=>{},subscribe:()=>({unsubscribe:()=>{}})};function _a(e){const t=At(),n=re.useContext(e.from?GM:Rf),a=e.from??n,s=a?e.from?t.stores.getRouteMatchStore(a):t.stores.matchStores.get(a):void 0,u=re.useRef(void 0);return We(s??rR,l=>{if((e.shouldThrow??!0)&&!l&&Zt(),l===void 0)return;const f=e.select?e.select(l):l;if(e.structuralSharing??t.options.defaultStructuralSharing){const d=oa(u.current,f);return u.current=d,d}return f})}function Sw(e){return _a({from:e.from,strict:e.strict,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.loaderData):t.loaderData})}function Ew(e){const{select:t,...n}=e;return _a({...n,select:a=>t?t(a.loaderDeps):a.loaderDeps})}function Aw(e){return _a({from:e.from,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,strict:e.strict,select:t=>{const n=e.strict===!1?t.params:t._strictParams;return e.select?e.select(n):n}})}function Tw(e){return _a({from:e.from,strict:e.strict,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.search):t.search})}function Mw(e){const t=At();return re.useCallback(n=>t.navigate({...n,from:n.from??e?.from}),[e?.from,t])}function Rw(e){return _a({...e,select:t=>e.select?e.select(t.context):t.context})}var iR=m5();function aR(e,t){const n=At(),a=kM(t),{activeProps:s,inactiveProps:u,activeOptions:l,to:f,preload:d,preloadDelay:p,preloadIntentProximity:m,hashScrollIntoView:b,replace:g,startTransition:v,resetScroll:x,viewTransition:S,children:E,target:R,disabled:z,style:M,className:_,onClick:C,onBlur:B,onFocus:O,onMouseEnter:I,onMouseLeave:U,onTouchStart:D,ignoreBlocker:Q,params:X,search:te,hash:ue,state:W,mask:$,reloadDocument:G,unsafeRelative:ne,from:ce,_fromLocation:fe,...N}=e,Y=Ny(),se=re.useMemo(()=>e,[n,e.from,e._fromLocation,e.hash,e.to,e.search,e.params,e.state,e.mask,e.unsafeRelative]),ae=We(n.stores.location,He=>He,(He,bt)=>He.href===bt.href),le=re.useMemo(()=>{const He={_fromLocation:ae,...se};return n.buildLocation(He)},[n,ae,se]),ge=le.maskedLocation?le.maskedLocation.publicHref:le.publicHref,we=le.maskedLocation?le.maskedLocation.external:le.external,Fe=re.useMemo(()=>fR(ge,we,n.history,z),[z,we,ge,n.history]),Ce=re.useMemo(()=>{if(Fe?.external)return tf(Fe.href,n.protocolAllowlist)?void 0:Fe.href;if(!dR(f)&&!(typeof f!="string"||f.indexOf(":")===-1))try{return new URL(f),tf(f,n.protocolAllowlist)?void 0:f}catch{}},[f,Fe,n.protocolAllowlist]),Tt=re.useMemo(()=>{if(Ce)return!1;if(l?.exact){if(!QE(ae.pathname,le.pathname,n.basepath))return!1}else{const He=nf(ae.pathname,n.basepath),bt=nf(le.pathname,n.basepath);if(!(He.startsWith(bt)&&(He.length===bt.length||He[bt.length]==="/")))return!1}return(l?.includeSearch??!0)&&!It(ae.search,le.search,{partial:!l?.exact,ignoreUndefined:!l?.explicitUndefined})?!1:l?.includeHash?Y&&ae.hash===le.hash:!0},[l?.exact,l?.explicitUndefined,l?.includeHash,l?.includeSearch,ae,Ce,Y,le.hash,le.pathname,le.search,n.basepath]),en=Tt?sa(s,{})??sR:Lh,Ut=Tt?Lh:sa(u,{})??Lh,tn=[_,en.className,Ut.className].filter(Boolean).join(" "),Mt=(M||en.style||Ut.style)&&{...M,...en.style,...Ut.style},[pn,Xn]=re.useState(!1),oc=re.useRef(!1),Jn=e.reloadDocument||Ce?!1:d??n.options.defaultPreload,Ui=p??n.options.defaultPreloadDelay??0,On=re.useCallback(()=>{n.preloadRoute({...se,_builtLocation:le}).catch(He=>{console.warn(He),console.warn(PA)})},[n,se,le]);$M(a,re.useCallback(He=>{He?.isIntersecting&&On()},[On]),lR,{disabled:!!z||Jn!=="viewport"}),re.useEffect(()=>{oc.current||!z&&Jn==="render"&&(On(),oc.current=!0)},[z,On,Jn]);const ro=He=>{const bt=He.currentTarget.getAttribute("target"),Un=R!==void 0?R:bt;if(!z&&!hR(He)&&!He.defaultPrevented&&(!Un||Un==="_self")&&He.button===0){He.preventDefault(),iR.flushSync(()=>{Xn(!0)});const Oa=n.subscribe("onResolved",()=>{Oa(),Xn(!1)});n.navigate({...se,replace:g,resetScroll:x,hashScrollIntoView:b,startTransition:v,viewTransition:S,ignoreBlocker:Q})}};if(Ce)return{...N,ref:a,href:Ce,...E&&{children:E},...R&&{target:R},...z&&{disabled:z},...M&&{style:M},..._&&{className:_},...C&&{onClick:C},...B&&{onBlur:B},...O&&{onFocus:O},...I&&{onMouseEnter:I},...U&&{onMouseLeave:U},...D&&{onTouchStart:D}};const uc=He=>{if(z||Jn!=="intent")return;if(!Ui){On();return}const bt=He.currentTarget;if(ru.has(bt))return;const Un=setTimeout(()=>{ru.delete(bt),On()},Ui);ru.set(bt,Un)},ad=He=>{z||Jn!=="intent"||On()},Rt=He=>{if(z||!Jn||!Ui)return;const bt=He.currentTarget,Un=ru.get(bt);Un&&(clearTimeout(Un),ru.delete(bt))};return{...N,...en,...Ut,href:Fe?.href,ref:a,onClick:ys([C,ro]),onBlur:ys([B,Rt]),onFocus:ys([O,uc]),onMouseEnter:ys([I,uc]),onMouseLeave:ys([U,Rt]),onTouchStart:ys([D,ad]),disabled:!!z,target:R,...Mt&&{style:Mt},...tn&&{className:tn},...z&&oR,...Tt&&uR,...Y&&pn&&cR}}var Lh={},sR={className:"active"},oR={role:"link","aria-disabled":!0},uR={"data-status":"active","aria-current":"page"},cR={"data-transitioning":"transitioning"},ru=new WeakMap,lR={rootMargin:"100px"},ys=e=>t=>{for(const n of e)if(n){if(t.defaultPrevented)return;n(t)}};function fR(e,t,n,a){if(!a)return t?{href:e,external:!0}:{href:n.createHref(e)||"/",external:!1}}function dR(e){if(typeof e!="string")return!1;const t=e.charCodeAt(0);return t===47?e.charCodeAt(1)!==47:t===46}var Xu=re.forwardRef((e,t)=>{const{_asChild:n,...a}=e,{type:s,...u}=aR(a,t),l=typeof a.children=="function"?a.children({isActive:u["data-status"]==="active"}):a.children;if(!n){const{disabled:f,...d}=u;return re.createElement("a",d,l)}return re.createElement(n,u,l)});function hR(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}var pR=class extends N5{constructor(t){super(t),this.useMatch=n=>_a({select:n?.select,from:this.id,structuralSharing:n?.structuralSharing}),this.useRouteContext=n=>Rw({...n,from:this.id}),this.useSearch=n=>Tw({select:n?.select,structuralSharing:n?.structuralSharing,from:this.id}),this.useParams=n=>Aw({select:n?.select,structuralSharing:n?.structuralSharing,from:this.id}),this.useLoaderDeps=n=>Ew({...n,from:this.id}),this.useLoaderData=n=>Sw({...n,from:this.id}),this.useNavigate=()=>Mw({from:this.fullPath}),this.Link=Ns.forwardRef((n,a)=>V.jsx(Xu,{ref:a,from:this.fullPath,...n}))}};function yR(e){return new pR(e)}function mR(){return e=>gR(e)}var bR=class extends LA{constructor(e){super(e),this.useMatch=t=>_a({select:t?.select,from:this.id,structuralSharing:t?.structuralSharing}),this.useRouteContext=t=>Rw({...t,from:this.id}),this.useSearch=t=>Tw({select:t?.select,structuralSharing:t?.structuralSharing,from:this.id}),this.useParams=t=>Aw({select:t?.select,structuralSharing:t?.structuralSharing,from:this.id}),this.useLoaderDeps=t=>Ew({...t,from:this.id}),this.useLoaderData=t=>Sw({...t,from:this.id}),this.useNavigate=()=>Mw({from:this.fullPath}),this.Link=Ns.forwardRef((t,n)=>V.jsx(Xu,{ref:n,from:this.fullPath,...t}))}};function gR(e){return new bR(e)}function Ly(e){return new vR(e,{silent:!0}).createRoute}var vR=class{constructor(e,t){this.path=e,this.createRoute=n=>{const a=yR(n);return a.isRoot=!1,a},this.silent=t?.silent}};function Cw(e,t){let n,a,s,u;const l=()=>(n||(n=e().then(d=>{n=void 0,a=d[t]}).catch(d=>{if(s=d,OE(s)&&s instanceof Error&&typeof window<"u"&&typeof sessionStorage<"u"){const p=`tanstack_router_reload:${s.message}`;sessionStorage.getItem(p)||(sessionStorage.setItem(p,"1"),u=!0)}})),n),f=function(p){if(u)throw window.location.reload(),new Promise(()=>{});if(s)throw s;if(!a)if(of)of(l());else throw l();return re.createElement(a,p)};return f.preload=l,f}function wR(e){const t=At(),n=`not-found-${We(t.stores.location,a=>a.pathname)}-${We(t.stores.status,a=>a)}`;return V.jsx(By,{getResetKey:()=>n,onCatch:(a,s)=>{if(mt(a))e.onCatch?.(a,s);else throw a},errorComponent:({error:a})=>{if(mt(a))return e.fallback?.(a);throw a},children:e.children})}function xR(){return V.jsx("p",{children:"Not Found"})}function Es(e){return V.jsx(V.Fragment,{children:e.children})}function _w(e,t,n){return t.options.notFoundComponent?V.jsx(t.options.notFoundComponent,{...n}):e.options.defaultNotFoundComponent?V.jsx(e.options.defaultNotFoundComponent,{...n}):V.jsx(xR,{})}function SR(e){return null}function ER(){return SR(At()),null}var Ow=re.memo(function({matchId:t}){const n=At(),a=n.stores.matchStores.get(t);a||Zt();const s=We(n.stores.loadedAt,l=>l),u=We(a,l=>l);return V.jsx(AR,{router:n,matchId:t,resetKey:s,matchState:re.useMemo(()=>{const l=u.routeId,f=n.routesById[l].parentRoute?.id;return{routeId:l,ssr:u.ssr,_displayPending:u._displayPending,parentRouteId:f}},[u._displayPending,u.routeId,u.ssr,n.routesById])})});function AR({router:e,matchId:t,resetKey:n,matchState:a}){const s=e.routesById[a.routeId],u=s.options.pendingComponent??e.options.defaultPendingComponent,l=u?V.jsx(u,{}):null,f=s.options.errorComponent??e.options.defaultErrorComponent,d=s.options.onCatch??e.options.defaultOnCatch,p=s.isRoot?s.options.notFoundComponent??e.options.notFoundRoute?.options.component:s.options.notFoundComponent,m=a.ssr===!1||a.ssr==="data-only",b=(!s.isRoot||s.options.wrapInSuspense||m)&&(s.options.wrapInSuspense??u??(s.options.errorComponent?.preload||m))?re.Suspense:Es,g=f?By:Es,v=p?wR:Es;return V.jsxs(s.isRoot?s.options.shellComponent??Es:Es,{children:[V.jsx(Rf.Provider,{value:t,children:V.jsx(b,{fallback:l,children:V.jsx(g,{getResetKey:()=>n,errorComponent:f||Iy,onCatch:(x,S)=>{if(mt(x))throw x.routeId??=a.routeId,x;d?.(x,S)},children:V.jsx(v,{fallback:x=>{if(x.routeId??=a.routeId,!p||x.routeId&&x.routeId!==a.routeId||!x.routeId&&!s.isRoot)throw x;return re.createElement(p,x)},children:m||a._displayPending?V.jsx(FM,{fallback:l,children:V.jsx(N6,{matchId:t})}):V.jsx(N6,{matchId:t})})})})}),a.parentRouteId===ha?V.jsxs(V.Fragment,{children:[V.jsx(TR,{resetKey:n}),e.options.scrollRestoration&&g5?V.jsx(ER,{}):null]}):null]})}function TR({resetKey:e}){const t=At(),n=re.useRef(void 0);return su(()=>{const a=t.latestLocation.href;(n.current===void 0||n.current!==a)&&(t.emit({type:"onRendered",...Cs(t.stores.location.get(),t.stores.resolvedLocation.get())}),n.current=a)},[t.latestLocation.state.__TSR_key,e,t]),null}var N6=re.memo(function({matchId:t}){const n=At(),a=(m,b)=>n.getMatch(m.id)?._nonReactive[b]??m._nonReactive[b],s=n.stores.matchStores.get(t);s||Zt();const u=We(s,m=>m),l=u.routeId,f=n.routesById[l],d=re.useMemo(()=>{const m=(n.routesById[l].options.remountDeps??n.options.defaultRemountDeps)?.({routeId:l,loaderDeps:u.loaderDeps,params:u._strictParams,search:u._strictSearch});return m?JSON.stringify(m):void 0},[l,u.loaderDeps,u._strictParams,u._strictSearch,n.options.defaultRemountDeps,n.routesById]),p=re.useMemo(()=>{const m=f.options.component??n.options.defaultComponent;return m?V.jsx(m,{},d):V.jsx(Pw,{})},[d,f.options.component,n.options.defaultComponent]);if(u._displayPending)throw a(u,"displayPendingPromise");if(u._forcePending)throw a(u,"minPendingPromise");if(u.status==="pending"){const m=f.options.pendingMinMs??n.options.defaultPendingMinMs;if(m){const b=n.getMatch(u.id);if(b&&!b._nonReactive.minPendingPromise){const g=ma();b._nonReactive.minPendingPromise=g,setTimeout(()=>{g.resolve(),b._nonReactive.minPendingPromise=void 0},m)}}throw a(u,"loadPromise")}if(u.status==="notFound")return mt(u.error)||Zt(),_w(n,f,u.error);if(u.status==="redirected")throw Qt(u.error)||Zt(),a(u,"loadPromise");if(u.status==="error")throw u.error;return p}),Pw=re.memo(function(){const t=At(),n=re.useContext(Rf);let a,s=!1,u;{const p=n?t.stores.matchStores.get(n):void 0;[a,s]=We(p,m=>[m?.routeId,m?.globalNotFound??!1]),u=We(t.stores.matchesId,m=>m[m.findIndex(b=>b===n)+1])}const l=a?t.routesById[a]:void 0,f=t.options.defaultPendingComponent?V.jsx(t.options.defaultPendingComponent,{}):null;if(s)return l||Zt(),_w(t,l,void 0);if(!u)return null;const d=V.jsx(Ow,{matchId:u});return a===ha?V.jsx(re.Suspense,{fallback:f,children:d}):d});function MR(){const e=At(),t=re.useRef({router:e,mounted:!1}),[n,a]=re.useState(!1),s=We(e.stores.isLoading,b=>b),u=We(e.stores.hasPending,b=>b),l=Ph(s),f=s||n||u,d=Ph(f),p=s||u,m=Ph(p);return e.startTransition=b=>{a(!0),re.startTransition(()=>{b(),a(!1)})},re.useEffect(()=>{const b=e.history.subscribe(e.load),g=e.buildLocation({to:e.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});return Mr(e.latestLocation.publicHref)!==Mr(g.publicHref)&&e.commitLocation({...g,replace:!0}),()=>{b()}},[e,e.history]),su(()=>{if(typeof window<"u"&&e.ssr||t.current.router===e&&t.current.mounted)return;t.current={router:e,mounted:!0},(async()=>{try{await e.load()}catch(g){console.error(g)}})()},[e]),su(()=>{l&&!s&&e.emit({type:"onLoad",...Cs(e.stores.location.get(),e.stores.resolvedLocation.get())})},[l,e,s]),su(()=>{m&&!p&&e.emit({type:"onBeforeRouteMount",...Cs(e.stores.location.get(),e.stores.resolvedLocation.get())})},[p,m,e]),su(()=>{if(d&&!f){const b=Cs(e.stores.location.get(),e.stores.resolvedLocation.get());e.emit({type:"onResolved",...b}),ww(()=>{e.stores.status.set("idle"),e.stores.resolvedLocation.set(e.stores.location.get())})}},[f,d,e]),null}function RR(){const e=At(),t=e.routesById[ha].options.pendingComponent??e.options.defaultPendingComponent,n=t?V.jsx(t,{}):null,a=V.jsxs(typeof document<"u"&&e.ssr?Es:re.Suspense,{fallback:n,children:[V.jsx(MR,{}),V.jsx(CR,{})]});return e.options.InnerWrap?V.jsx(e.options.InnerWrap,{children:a}):a}function CR(){const e=At(),t=We(e.stores.firstId,s=>s),n=We(e.stores.loadedAt,s=>s),a=t?V.jsx(Ow,{matchId:t}):null;return V.jsx(Rf.Provider,{value:t,children:e.options.disableGlobalCatchBoundary?a:V.jsx(By,{getResetKey:()=>n,errorComponent:Iy,onCatch:void 0,children:a})})}function zw(){const e=At();return We(e.stores.matchRouteDeps,t=>t),re.useCallback(t=>{const{pending:n,caseSensitive:a,fuzzy:s,includeSearch:u,...l}=t;return e.matchRoute(l,{pending:n,caseSensitive:a,fuzzy:s,includeSearch:u})},[e])}var _R=e=>({createMutableStore:O6,createReadonlyStore:O6,batch:ww}),OR=e=>new PR(e),PR=class extends mA{constructor(e){super(e,_R)}};function zR({router:e,children:t,...n}){w5(n)&&e.update({...e.options,...n,context:{...e.options.context,...n.context}});const a=V.jsx(gw.Provider,{value:e,children:t});return e.options.Wrap?V.jsx(e.options.Wrap,{children:a}):a}function BR({router:e,...t}){return V.jsx(zR,{router:e,...t,children:V.jsx(RR,{})})}function L6(e,t){if(t)for(const[n,a]of Object.entries(t))n!=="suppressHydrationWarning"&&a!==void 0&&a!==!1&&e.setAttribute(n,typeof a=="boolean"?"":String(a))}function Bw(e){const{attrs:t,children:n,nonce:a,preventScriptHoist:s}=e;switch(e.tag){case"title":return V.jsx("title",{...t,suppressHydrationWarning:!0,children:n});case"meta":return V.jsx("meta",{...t,suppressHydrationWarning:!0});case"link":return V.jsx("link",{...t,precedence:t?.precedence??(t?.rel==="stylesheet"?"default":void 0),nonce:a,suppressHydrationWarning:!0});case"style":return e.inlineCss,V.jsx("style",{...t,dangerouslySetInnerHTML:{__html:n},nonce:a});case"script":return V.jsx(IR,{attrs:t,preventScriptHoist:s,children:n});default:return null}}function IR({attrs:e,children:t,preventScriptHoist:n}){At();const a=Ny(),s=typeof e?.type=="string"&&e.type!==""&&e.type!=="text/javascript"&&e.type!=="module";if(re.useEffect(()=>{if(!s){if(e?.src){const u=(()=>{try{const f=document.baseURI||window.location.href;return new URL(e.src,f).href}catch{return e.src}})();for(const f of document.querySelectorAll("script[src]"))if(f.src===u)return;const l=document.createElement("script");return L6(l,e),document.head.appendChild(l),()=>l.remove()}if(typeof t=="string"){const u=typeof e?.type=="string"?e.type:"text/javascript",l=typeof e?.nonce=="string"?e.nonce:void 0;for(const d of document.querySelectorAll("script:not([src])")){if(!(d instanceof HTMLScriptElement))continue;const p=d.getAttribute("type")??"text/javascript",m=d.getAttribute("nonce")??void 0;if(d.textContent===t&&p===u&&m===l)return}const f=document.createElement("script");return f.textContent=t,L6(f,e),document.head.appendChild(f),()=>f.remove()}}},[e,t,s]),s&&typeof t=="string")return V.jsx("script",{...e,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:t}});if(!a){if(e?.src)return V.jsx("script",{...e,suppressHydrationWarning:!0});if(typeof t=="string")return V.jsx("script",{...e,dangerouslySetInnerHTML:{__html:t},suppressHydrationWarning:!0})}return null}var NR=e=>{const t=At(),n=t.options.ssr?.nonce,a=We(t.stores.matches,b=>b.map(g=>g.meta).filter(g=>g!==void 0),It),s=re.useMemo(()=>{const b=[],g={};let v;for(let x=a.length-1;x>=0;x--){const S=a[x];for(let E=S.length-1;E>=0;E--){const R=S[E];if(R)if(R.title)v||(v={tag:"title",children:R.title});else if("script:ld+json"in R)try{const z=JSON.stringify(R["script:ld+json"]);b.push({tag:"script",attrs:{type:"application/ld+json"},children:NE(z)})}catch{}else{const z=R.name??R.property;if(z){if(g[z])continue;g[z]=!0}b.push({tag:"meta",attrs:{...R,nonce:n}})}}}return v&&b.push(v),n&&b.push({tag:"meta",attrs:{property:"csp-nonce",content:n}}),b.reverse(),b},[a,n]),u=We(t.stores.matches,b=>b.flatMap(g=>g.links??[]).filter(g=>g!==void 0).map(g=>({tag:"link",attrs:{...g,nonce:n}})),It),l=We(t.stores.matches,b=>{const g=t.ssr?.manifest,v=[];return g&&(b.forEach(x=>{g.routes[x.routeId]?.css?.forEach(S=>{const E=NA(S);v.push({tag:"link",attrs:{rel:"stylesheet",...E,crossOrigin:I5(e,"stylesheet")??E.crossOrigin,suppressHydrationWarning:!0,nonce:n}})})}),g.inlineStyle&&v.push({tag:"style",attrs:{...g.inlineStyle.attrs,nonce:n},children:g.inlineStyle.children,inlineCss:!0})),v},It),f=We(t.stores.matches,b=>{const g=[],v=t.ssr?.manifest;return v&&b.forEach(x=>{v.routes[x.routeId]?.preloads?.forEach(S=>{g.push({tag:"link",attrs:{...BA(v,S,e),nonce:n}})})}),g},It),d=We(t.stores.matches,b=>b.flatMap(g=>g.styles??[]).filter(g=>g!==void 0).map(({children:g,...v})=>({tag:"style",attrs:{...v,nonce:n},children:g})),It),p=We(t.stores.matches,b=>b.flatMap(g=>g.headScripts??[]).filter(g=>g!==void 0).map(({children:g,...v})=>({tag:"script",attrs:{...v,nonce:n},children:g})),It),m=[];return Cl(m,s),m.push(...f),Cl(m,u),m.push(...l),Cl(m,d),Cl(m,p),m};function LR(e){const t=NR(e.assetCrossOrigin),n=At().options.ssr?.nonce;return V.jsx(V.Fragment,{children:t.map(a=>re.createElement(Bw,{...a,key:`tsr-meta-${JSON.stringify(a)}`,nonce:n}))})}var $R=()=>{const e=At(),t=e.options.ssr?.nonce,n=u=>{const l=[],f=e.ssr?.manifest;if(!f)return[];for(const d of u){const p=f.routes[d.routeId]?.scripts;if(p)for(const m of p)l.push({tag:"script",attrs:{...m.attrs,nonce:t},children:m.children,...typeof m.attrs?.src=="string"?{preventScriptHoist:!0}:{}})}return l},a=u=>u.map(l=>l.scripts).flat(1).filter(Boolean).map(({children:l,...f})=>({tag:"script",attrs:{...f,suppressHydrationWarning:!0,nonce:t},children:l})),s=We(e.stores.matches,n,It);return kR(e,We(e.stores.matches,a,It),s)};function kR(e,t,n){const a=[...t,...n];return V.jsx(V.Fragment,{children:a.map((s,u)=>re.createElement(Bw,{...s,key:`tsr-scripts-${s.tag}-${u}`}))})}var Vs=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},UR=class extends Vs{#e;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<"u"&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(t=>{typeof t=="boolean"?this.setFocused(t):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},$y=new UR,jR={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},DR=class{#e=jR;#t=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}},Rr=new DR;function HR(e){setTimeout(e,0)}var FR=typeof window>"u"||"Deno"in globalThis;function ut(){}function qR(e,t){return typeof e=="function"?e(t):e}function wp(e){return typeof e=="number"&&e>=0&&e!==1/0}function Iw(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Si(e,t){return typeof e=="function"?e(t):e}function dn(e,t){return typeof e=="function"?e(t):e}function $6(e,t){const{type:n="all",exact:a,fetchStatus:s,predicate:u,queryKey:l,stale:f}=e;if(l){if(a){if(t.queryHash!==ky(l,t.options))return!1}else if(!yu(t.queryKey,l))return!1}if(n!=="all"){const d=t.isActive();if(n==="active"&&!d||n==="inactive"&&d)return!1}return!(typeof f=="boolean"&&t.isStale()!==f||s&&s!==t.state.fetchStatus||u&&!u(t))}function k6(e,t){const{exact:n,status:a,predicate:s,mutationKey:u}=e;if(u){if(!t.options.mutationKey)return!1;if(n){if(ba(t.options.mutationKey)!==ba(u))return!1}else if(!yu(t.options.mutationKey,u))return!1}return!(a&&t.state.status!==a||s&&!s(t))}function ky(e,t){return(t?.queryKeyHashFn||ba)(e)}function ba(e){return JSON.stringify(e,(t,n)=>xp(n)?Object.keys(n).sort().reduce((a,s)=>(a[s]=n[s],a),{}):n)}function yu(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>yu(e[n],t[n])):!1}var GR=Object.prototype.hasOwnProperty;function Nw(e,t,n=0){if(e===t)return e;if(n>500)return t;const a=U6(e)&&U6(t);if(!a&&!(xp(e)&&xp(t)))return t;const u=(a?e:Object.keys(e)).length,l=a?t:Object.keys(t),f=l.length,d=a?new Array(f):{};let p=0;for(let m=0;m<f;m++){const b=a?m:l[m],g=e[b],v=t[b];if(g===v){d[b]=g,(a?m<u:GR.call(e,b))&&p++;continue}if(g===null||v===null||typeof g!="object"||typeof v!="object"){d[b]=v;continue}const x=Nw(g,v,n+1);d[b]=x,x===g&&p++}return u===f&&p===u?e:d}function cf(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function U6(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function xp(e){if(!j6(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!j6(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function j6(e){return Object.prototype.toString.call(e)==="[object Object]"}function VR(e){return new Promise(t=>{Rr.setTimeout(t,e)})}function Sp(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Nw(e,t):t}function KR(e,t,n=0){const a=[...e,t];return n&&a.length>n?a.slice(1):a}function QR(e,t,n=0){const a=[t,...e];return n&&a.length>n?a.slice(0,-1):a}var Uy=Symbol();function Lw(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===Uy?()=>Promise.reject(new Error(`Missing queryFn: \'${e.queryHash}\'`)):e.queryFn}function jy(e,t){return typeof e=="function"?e(...t):!!e}function YR(e,t,n){let a=!1,s;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(s??=t(),a||(a=!0,s.aborted?n():s.addEventListener("abort",n,{once:!0})),s)}),e}var mu=(()=>{let e=()=>FR;return{isServer(){return e()},setIsServer(t){e=t}}})();function Ep(){let e,t;const n=new Promise((s,u)=>{e=s,t=u});n.status="pending",n.catch(()=>{});function a(s){Object.assign(n,s),delete n.resolve,delete n.reject}return n.resolve=s=>{a({status:"fulfilled",value:s}),e(s)},n.reject=s=>{a({status:"rejected",reason:s}),t(s)},n}function ZR(e){let t;if(e.then(n=>(t=n,n),ut)?.catch(ut),t!==void 0)return{data:t}}function $w(e){return e}function XR(e){return{mutationKey:e.options.mutationKey,state:e.state,...e.options.scope&&{scope:e.options.scope},...e.meta&&{meta:e.meta}}}function JR(e,t,n){const a=()=>{const s=e.promise?.then(t).catch(u=>n(u)?Promise.reject(new Error("redacted")):Promise.reject(u));return s?.catch(ut),s};return{dehydratedAt:Date.now(),state:{...e.state,...e.state.data!==void 0&&{data:t(e.state.data)}},queryKey:e.queryKey,queryHash:e.queryHash,...e.state.status==="pending"&&{promise:a()},...e.meta&&{meta:e.meta},...e.queryType&&{queryType:e.queryType}}}function WR(e){return e.state.isPaused}function kw(e){return e.state.status==="success"}function eC(e){return!0}function tC(e,t={}){const n=t.shouldDehydrateMutation??e.getDefaultOptions().dehydrate?.shouldDehydrateMutation??WR,a=e.getMutationCache().getAll().flatMap(d=>n(d)?[XR(d)]:[]),s=t.shouldDehydrateQuery??e.getDefaultOptions().dehydrate?.shouldDehydrateQuery??kw,u=t.shouldRedactErrors??e.getDefaultOptions().dehydrate?.shouldRedactErrors??eC,l=t.serializeData??e.getDefaultOptions().dehydrate?.serializeData??$w,f=e.getQueryCache().getAll().flatMap(d=>s(d)?[JR(d,l,u)]:[]);return{mutations:a,queries:f}}function nC(e,t,n){if(typeof t!="object"||t===null)return;const a=e.getMutationCache(),s=e.getQueryCache(),u=n?.defaultOptions?.deserializeData??e.getDefaultOptions().hydrate?.deserializeData??$w,l=t.mutations||[],f=t.queries||[];l.forEach(({state:d,...p})=>{a.build(e,{...e.getDefaultOptions().hydrate?.mutations,...n?.defaultOptions?.mutations,...p},d)}),f.forEach(({queryKey:d,state:p,queryHash:m,meta:b,promise:g,dehydratedAt:v,queryType:x})=>{const S=g?ZR(g):void 0,E=p.data===void 0?S?.data:p.data,R=E===void 0?E:u(E);let z=s.get(m);const M=z?.state.status==="pending",_=z?.state.fetchStatus==="fetching";if(z){const C=S&&v!==void 0&&v>z.state.dataUpdatedAt;if(p.dataUpdatedAt>z.state.dataUpdatedAt||C){const{fetchStatus:B,...O}=p;z.setState({...O,data:R,...p.status==="pending"&&R!==void 0&&{status:"success",...!_&&{fetchStatus:"idle"}}})}}else z=s.build(e,{...e.getDefaultOptions().hydrate?.queries,...n?.defaultOptions?.queries,queryKey:d,queryHash:m,meta:b,_type:x},{...p,data:R,fetchStatus:"idle",status:p.status==="pending"&&R!==void 0?"success":p.status});g&&!S&&!M&&!_&&(v===void 0||v>z.state.dataUpdatedAt)&&z.fetch(void 0,{initialPromise:Promise.resolve(g).then(u)}).catch(ut)})}var rC=HR;function iC(){let e=[],t=0,n=f=>{f()},a=f=>{f()},s=rC;const u=f=>{t?e.push(f):s(()=>{n(f)})},l=()=>{const f=e;e=[],f.length&&s(()=>{a(()=>{f.forEach(d=>{n(d)})})})};return{batch:f=>{let d;t++;try{d=f()}finally{t--,t||l()}return d},batchCalls:f=>(...d)=>{u(()=>{f(...d)})},schedule:u,setNotifyFunction:f=>{n=f},setBatchNotifyFunction:f=>{a=f},setScheduler:f=>{s=f}}}var ct=iC(),aC=class extends Vs{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<"u"&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(n=>{n(e)}))}isOnline(){return this.#e}},lf=new aC;function sC(e){return Math.min(1e3*2**e,3e4)}function Uw(e){return(e??"online")==="online"?lf.isOnline():!0}var Ap=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function jw(e){let t=!1,n=0,a;const s=Ep(),u=()=>s.status!=="pending",l=S=>{if(!u()){const E=new Ap(S);g(E),e.onCancel?.(E)}},f=()=>{t=!0},d=()=>{t=!1},p=()=>$y.isFocused()&&(e.networkMode==="always"||lf.isOnline())&&e.canRun(),m=()=>Uw(e.networkMode)&&e.canRun(),b=S=>{u()||(a?.(),s.resolve(S))},g=S=>{u()||(a?.(),s.reject(S))},v=()=>new Promise(S=>{a=E=>{(u()||p())&&S(E)},e.onPause?.()}).then(()=>{a=void 0,u()||e.onContinue?.()}),x=()=>{if(u())return;let S;const E=n===0?e.initialPromise:void 0;try{S=E??e.fn()}catch(R){S=Promise.reject(R)}Promise.resolve(S).then(b).catch(R=>{if(u())return;const z=e.retry??(mu.isServer()?0:3),M=e.retryDelay??sC,_=typeof M=="function"?M(n,R):M,C=z===!0||typeof z=="number"&&n<z||typeof z=="function"&&z(n,R);if(t||!C){g(R);return}n++,e.onFail?.(n,R),VR(_).then(()=>p()?void 0:v()).then(()=>{t?g(R):x()})})};return{promise:s,status:()=>s.status,cancel:l,continue:()=>(a?.(),s),cancelRetry:f,continueRetry:d,canStart:m,start:()=>(m()?x():v().then(x),s)}}var Dw=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),wp(this.gcTime)&&(this.#e=Rr.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(mu.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e!==void 0&&(Rr.clearTimeout(this.#e),this.#e=void 0)}};function oC(e){return{onFetch:(t,n)=>{const a=t.options,s=t.fetchOptions?.meta?.fetchMore?.direction,u=t.state.data?.pages||[],l=t.state.data?.pageParams||[];let f={pages:[],pageParams:[]},d=0;const p=async()=>{let m=!1;const b=x=>{YR(x,()=>t.signal,()=>m=!0)},g=Lw(t.options,t.fetchOptions),v=async(x,S,E)=>{if(m)return Promise.reject(t.signal.reason);if(S==null&&x.pages.length)return Promise.resolve(x);const z=(()=>{const B={client:t.client,queryKey:t.queryKey,pageParam:S,direction:E?"backward":"forward",meta:t.options.meta};return b(B),B})(),M=await g(z),{maxPages:_}=t.options,C=E?QR:KR;return{pages:C(x.pages,M,_),pageParams:C(x.pageParams,S,_)}};if(s&&u.length){const x=s==="backward",S=x?uC:D6,E={pages:u,pageParams:l},R=S(a,E);f=await v(E,R,x)}else{const x=e??u.length;do{const S=d===0?l[0]??a.initialPageParam:D6(a,f);if(d>0&&S==null)break;f=await v(f,S),d++}while(d<x)}return f};t.options.persister?t.fetchFn=()=>t.options.persister?.(p,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=p}}}function D6(e,{pages:t,pageParams:n}){const a=t.length-1;return t.length>0?e.getNextPageParam(t[a],t,n[a],n):void 0}function uC(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var cC=class extends Dw{#e;#t;#n;#r;#a;#i;#o;#s;constructor(e){super(),this.#s=!1,this.#o=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#a=e.client,this.#r=this.#a.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=F6(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#i?.promise}setOptions(e){if(this.options={...this.#o,...e},e?._type&&(this.#e=e._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const t=F6(this.options);t.data!==void 0&&(this.setState(H6(t.data,t.dataUpdatedAt)),this.#t=t)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#r.remove(this)}setData(e,t){const n=Sp(this.state.data,e,this.options);return this.#u({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e){this.#u({type:"setState",state:e})}cancel(e){const t=this.#i?.promise;return this.#i?.cancel(e),t?t.then(ut).catch(ut):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>dn(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Uy||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>Si(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!Iw(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#i?.continue()}onOnline(){this.observers.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#i?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#r.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#i&&(this.#s||this.#l()?this.#i.cancel({revert:!0}):this.#i.cancelRetry()),this.scheduleGc()),this.#r.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}#l(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){this.state.isInvalidated||this.#u({type:"invalidate"})}async fetch(e,t){if(this.state.fetchStatus!=="idle"&&this.#i?.status()!=="rejected"){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#i)return this.#i.continueRetry(),this.#i.promise}if(e&&this.setOptions(e),!this.options.queryFn){const d=this.observers.find(p=>p.options.queryFn);d&&this.setOptions(d.options)}const n=new AbortController,a=d=>{Object.defineProperty(d,"signal",{enumerable:!0,get:()=>(this.#s=!0,n.signal)})},s=()=>{const d=Lw(this.options,t),m=(()=>{const b={client:this.#a,queryKey:this.queryKey,meta:this.meta};return a(b),b})();return this.#s=!1,this.options.persister?this.options.persister(d,m,this):d(m)},l=(()=>{const d={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#a,state:this.state,fetchFn:s};return a(d),d})();(this.#e==="infinite"?oC(this.options.pages):this.options.behavior)?.onFetch(l,this),this.#n=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==l.fetchOptions?.meta)&&this.#u({type:"fetch",meta:l.fetchOptions?.meta}),this.#i=jw({initialPromise:t?.initialPromise,fn:l.fetchFn,onCancel:d=>{d instanceof Ap&&d.revert&&this.setState({...this.#n,fetchStatus:"idle"}),n.abort()},onFail:(d,p)=>{this.#u({type:"failed",failureCount:d,error:p})},onPause:()=>{this.#u({type:"pause"})},onContinue:()=>{this.#u({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0});try{const d=await this.#i.start();if(d===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(d),this.#r.config.onSuccess?.(d,this),this.#r.config.onSettled?.(d,this.state.error,this),d}catch(d){if(d instanceof Ap){if(d.silent)return this.#i.promise;if(d.revert){if(this.state.data===void 0)throw d;return this.state.data}}throw this.#u({type:"error",error:d}),this.#r.config.onError?.(d,this),this.#r.config.onSettled?.(this.state.data,d,this),d}finally{this.scheduleGc()}}#u(e){const t=n=>{switch(e.type){case"failed":return{...n,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...Hw(n.data,this.options),fetchMeta:e.meta??null};case"success":const a={...n,...H6(e.data,e.dataUpdatedAt),dataUpdateCount:n.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#n=e.manual?a:void 0,a;case"error":const s=e.error;return{...n,error:s,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...e.state}}};this.state=t(this.state),ct.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),this.#r.notify({query:this,type:"updated",action:e})})}};function Hw(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Uw(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function H6(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function F6(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,a=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?a??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var lC=class extends Vs{constructor(e,t){super(),this.options=t,this.#e=e,this.#s=null,this.#o=Ep(),this.bindMethods(),this.setOptions(t)}#e;#t=void 0;#n=void 0;#r=void 0;#a;#i;#o;#s;#l;#u;#p;#f;#d;#c;#y=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),q6(this.#t,this.options)?this.#h():this.updateResult(),this.#v())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Tp(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Tp(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#w(),this.#x(),this.#t.removeObserver(this)}setOptions(e){const t=this.options,n=this.#t;if(this.options=this.#e.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof dn(this.options.enabled,this.#t)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#S(),this.#t.setOptions(this.options),t._defaulted&&!cf(this.options,t)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});const a=this.hasListeners();a&&G6(this.#t,n,this.options,t)&&this.#h(),this.updateResult(),a&&(this.#t!==n||dn(this.options.enabled,this.#t)!==dn(t.enabled,this.#t)||Si(this.options.staleTime,this.#t)!==Si(t.staleTime,this.#t))&&this.#m();const s=this.#b();a&&(this.#t!==n||dn(this.options.enabled,this.#t)!==dn(t.enabled,this.#t)||s!==this.#c)&&this.#g(s)}getOptimisticResult(e){const t=this.#e.getQueryCache().build(this.#e,e),n=this.createResult(t,e);return dC(this,n)&&(this.#r=n,this.#i=this.options,this.#a=this.#t.state),n}getCurrentResult(){return this.#r}trackResult(e,t){return new Proxy(e,{get:(n,a)=>(this.trackProp(a),t?.(a),a==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&this.#o.status==="pending"&&this.#o.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(n,a))})}trackProp(e){this.#y.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#e.defaultQueryOptions(e),n=this.#e.getQueryCache().build(this.#e,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#h({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#r))}#h(e){this.#S();let t=this.#t.fetch(this.options,e);return e?.throwOnError||(t=t.catch(ut)),t}#m(){this.#w();const e=Si(this.options.staleTime,this.#t);if(mu.isServer()||this.#r.isStale||!wp(e))return;const n=Iw(this.#r.dataUpdatedAt,e)+1;this.#f=Rr.setTimeout(()=>{this.#r.isStale||this.updateResult()},n)}#b(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#g(e){this.#x(),this.#c=e,!(mu.isServer()||dn(this.options.enabled,this.#t)===!1||!wp(this.#c)||this.#c===0)&&(this.#d=Rr.setInterval(()=>{(this.options.refetchIntervalInBackground||$y.isFocused())&&this.#h()},this.#c))}#v(){this.#m(),this.#g(this.#b())}#w(){this.#f!==void 0&&(Rr.clearTimeout(this.#f),this.#f=void 0)}#x(){this.#d!==void 0&&(Rr.clearInterval(this.#d),this.#d=void 0)}createResult(e,t){const n=this.#t,a=this.options,s=this.#r,u=this.#a,l=this.#i,d=e!==n?e.state:this.#n,{state:p}=e;let m={...p},b=!1,g;if(t._optimisticResults){const I=this.hasListeners(),U=!I&&q6(e,t),D=I&&G6(e,n,t,a);(U||D)&&(m={...m,...Hw(p.data,e.options)}),t._optimisticResults==="isRestoring"&&(m.fetchStatus="idle")}let{error:v,errorUpdatedAt:x,status:S}=m;g=m.data;let E=!1;if(t.placeholderData!==void 0&&g===void 0&&S==="pending"){let I;s?.isPlaceholderData&&t.placeholderData===l?.placeholderData?(I=s.data,E=!0):I=typeof t.placeholderData=="function"?t.placeholderData(this.#p?.state.data,this.#p):t.placeholderData,I!==void 0&&(S="success",g=Sp(s?.data,I,t),b=!0)}if(t.select&&g!==void 0&&!E)if(s&&g===u?.data&&t.select===this.#l)g=this.#u;else try{this.#l=t.select,g=t.select(g),g=Sp(s?.data,g,t),this.#u=g,this.#s=null}catch(I){this.#s=I}this.#s&&(v=this.#s,g=this.#u,x=Date.now(),S="error");const R=m.fetchStatus==="fetching",z=S==="pending",M=S==="error",_=z&&R,C=g!==void 0,O={status:S,fetchStatus:m.fetchStatus,isPending:z,isSuccess:S==="success",isError:M,isInitialLoading:_,isLoading:_,data:g,dataUpdatedAt:m.dataUpdatedAt,error:v,errorUpdatedAt:x,failureCount:m.fetchFailureCount,failureReason:m.fetchFailureReason,errorUpdateCount:m.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:m.dataUpdateCount>d.dataUpdateCount||m.errorUpdateCount>d.errorUpdateCount,isFetching:R,isRefetching:R&&!z,isLoadingError:M&&!C,isPaused:m.fetchStatus==="paused",isPlaceholderData:b,isRefetchError:M&&C,isStale:Dy(e,t),refetch:this.refetch,promise:this.#o,isEnabled:dn(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){const I=O.data!==void 0,U=O.status==="error"&&!I,D=te=>{U?te.reject(O.error):I&&te.resolve(O.data)},Q=()=>{const te=this.#o=O.promise=Ep();D(te)},X=this.#o;switch(X.status){case"pending":e.queryHash===n.queryHash&&D(X);break;case"fulfilled":(U||O.data!==X.value)&&Q();break;case"rejected":(!U||O.error!==X.reason)&&Q();break}}return O}updateResult(){const e=this.#r,t=this.createResult(this.#t,this.options);if(this.#a=this.#t.state,this.#i=this.options,this.#a.data!==void 0&&(this.#p=this.#t),cf(t,e))return;this.#r=t;const n=()=>{if(!e)return!0;const{notifyOnChangeProps:a}=this.options,s=typeof a=="function"?a():a;if(s==="all"||!s&&!this.#y.size)return!0;const u=new Set(s??this.#y);return this.options.throwOnError&&u.add("error"),Object.keys(this.#r).some(l=>{const f=l;return this.#r[f]!==e[f]&&u.has(f)})};this.#E({listeners:n()})}#S(){const e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;const t=this.#t;this.#t=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#v()}#E(e){ct.batch(()=>{e.listeners&&this.listeners.forEach(t=>{t(this.#r)}),this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}};function fC(e,t){return dn(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&dn(t.retryOnMount,e)===!1)}function q6(e,t){return fC(e,t)||e.state.data!==void 0&&Tp(e,t,t.refetchOnMount)}function Tp(e,t,n){if(dn(t.enabled,e)!==!1&&Si(t.staleTime,e)!=="static"){const a=typeof n=="function"?n(e):n;return a==="always"||a!==!1&&Dy(e,t)}return!1}function G6(e,t,n,a){return(e!==t||dn(a.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&Dy(e,n)}function Dy(e,t){return dn(t.enabled,e)!==!1&&e.isStaleByTime(Si(t.staleTime,e))}function dC(e,t){return!cf(e.getCurrentResult(),t)}var hC=class extends Dw{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||Fw(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#a({type:"continue"})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=jw({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(new Error("No mutationFn found")),onFail:(u,l)=>{this.#a({type:"failed",failureCount:u,error:l})},onPause:()=>{this.#a({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const a=this.state.status==="pending",s=!this.#r.canStart();try{if(a)t();else{this.#a({type:"pending",variables:e,isPaused:s}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,n);const l=await this.options.onMutate?.(e,n);l!==this.state.context&&this.#a({type:"pending",context:l,variables:e,isPaused:s})}const u=await this.#r.start();return await this.#n.config.onSuccess?.(u,e,this.state.context,this,n),await this.options.onSuccess?.(u,e,this.state.context,n),await this.#n.config.onSettled?.(u,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(u,null,e,this.state.context,n),this.#a({type:"success",data:u}),u}catch(u){try{await this.#n.config.onError?.(u,e,this.state.context,this,n)}catch(l){Promise.reject(l)}try{await this.options.onError?.(u,e,this.state.context,n)}catch(l){Promise.reject(l)}try{await this.#n.config.onSettled?.(void 0,u,this.state.variables,this.state.context,this,n)}catch(l){Promise.reject(l)}try{await this.options.onSettled?.(void 0,u,e,this.state.context,n)}catch(l){Promise.reject(l)}throw this.#a({type:"error",error:u}),u}finally{this.#n.runNext(this)}}#a(e){const t=n=>{switch(e.type){case"failed":return{...n,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...n,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:e.error,failureCount:n.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=t(this.state),ct.batch(()=>{this.#t.forEach(n=>{n.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:"updated",action:e})})}};function Fw(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var pC=class extends Vs{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,t,n){const a=new hC({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(a),a}add(e){this.#e.add(e);const t=Pl(e);if(typeof t=="string"){const n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#e.delete(e)){const t=Pl(e);if(typeof t=="string"){const n=this.#t.get(t);if(n)if(n.length>1){const a=n.indexOf(e);a!==-1&&n.splice(a,1)}else n[0]===e&&this.#t.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=Pl(e);if(typeof t=="string"){const a=this.#t.get(t)?.find(s=>s.state.status==="pending");return!a||a===e}else return!0}runNext(e){const t=Pl(e);return typeof t=="string"?this.#t.get(t)?.find(a=>a!==e&&a.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){ct.batch(()=>{this.#e.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){const t={exact:!0,...e};return this.getAll().find(n=>k6(t,n))}findAll(e={}){return this.getAll().filter(t=>k6(e,t))}notify(e){ct.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(t=>t.state.isPaused);return ct.batch(()=>Promise.all(e.map(t=>t.continue().catch(ut))))}};function Pl(e){return e.options.scope?.id}var yC=class extends Vs{#e;#t=void 0;#n;#r;constructor(e,t){super(),this.#e=e,this.setOptions(t),this.bindMethods(),this.#a()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){const t=this.options;this.options=this.#e.defaultMutationOptions(e),cf(this.options,t)||this.#e.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#n,observer:this}),t?.mutationKey&&this.options.mutationKey&&ba(t.mutationKey)!==ba(this.options.mutationKey)?this.reset():this.#n?.state.status==="pending"&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(e){this.#a(),this.#i(e)}getCurrentResult(){return this.#t}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#a(),this.#i()}mutate(e,t){return this.#r=t,this.#n?.removeObserver(this),this.#n=this.#e.getMutationCache().build(this.#e,this.options),this.#n.addObserver(this),this.#n.execute(e)}#a(){const e=this.#n?.state??Fw();this.#t={...e,isPending:e.status==="pending",isSuccess:e.status==="success",isError:e.status==="error",isIdle:e.status==="idle",mutate:this.mutate,reset:this.reset}}#i(e){ct.batch(()=>{if(this.#r&&this.hasListeners()){const t=this.#t.variables,n=this.#t.context,a={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};if(e?.type==="success"){try{this.#r.onSuccess?.(e.data,t,n,a)}catch(s){Promise.reject(s)}try{this.#r.onSettled?.(e.data,null,t,n,a)}catch(s){Promise.reject(s)}}else if(e?.type==="error"){try{this.#r.onError?.(e.error,t,n,a)}catch(s){Promise.reject(s)}try{this.#r.onSettled?.(void 0,e.error,t,n,a)}catch(s){Promise.reject(s)}}}this.listeners.forEach(t=>{t(this.#t)})})}},mC=class extends Vs{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){const a=t.queryKey,s=t.queryHash??ky(a,t);let u=this.get(s);return u||(u=new cC({client:e,queryKey:a,queryHash:s,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(a)}),this.add(u)),u}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){ct.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){const t={exact:!0,...e};return this.getAll().find(n=>$6(t,n))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(n=>$6(e,n)):t}notify(e){ct.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){ct.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){ct.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},bC=class{#e;#t;#n;#r;#a;#i;#o;#s;constructor(e={}){this.#e=e.queryCache||new mC,this.#t=e.mutationCache||new pC,this.#n=e.defaultOptions||{},this.#r=new Map,this.#a=new Map,this.#i=0}mount(){this.#i++,this.#i===1&&(this.#o=$y.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=lf.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#i--,this.#i===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#t.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=this.#e.build(this,t),a=n.state.data;return a===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Si(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(a))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:t,state:n})=>{const a=n.data;return[t,a]})}setQueryData(e,t,n){const a=this.defaultQueryOptions({queryKey:e}),u=this.#e.get(a.queryHash)?.state.data,l=qR(t,u);if(l!==void 0)return this.#e.build(this,a).setData(l,{...n,manual:!0})}setQueriesData(e,t,n){return ct.batch(()=>this.#e.findAll(e).map(({queryKey:a})=>[a,this.setQueryData(a,t,n)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){const t=this.#e;ct.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=this.#e;return ct.batch(()=>(n.findAll(e).forEach(a=>{a.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},a=ct.batch(()=>this.#e.findAll(e).map(s=>s.cancel(n)));return Promise.all(a).then(ut).catch(ut)}invalidateQueries(e,t={}){return ct.batch(()=>(this.#e.findAll(e).forEach(n=>{n.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},a=ct.batch(()=>this.#e.findAll(e).filter(s=>!s.isDisabled()&&!s.isStatic()).map(s=>{let u=s.fetch(void 0,n);return n.throwOnError||(u=u.catch(ut)),s.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(a).then(ut)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=this.#e.build(this,t);return n.isStaleByTime(Si(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(ut).catch(ut)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(ut).catch(ut)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return lf.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(ba(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#r.values()],n={};return t.forEach(a=>{yu(e,a.queryKey)&&Object.assign(n,a.defaultOptions)}),n}setMutationDefaults(e,t){this.#a.set(ba(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#a.values()],n={};return t.forEach(a=>{yu(e,a.mutationKey)&&Object.assign(n,a.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=ky(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===Uy&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},qw=re.createContext(void 0),Ks=e=>{const t=re.useContext(qw);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},gC=({client:e,children:t})=>(re.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),V.jsx(qw.Provider,{value:e,children:t})),Gw=re.createContext(!1),vC=()=>re.useContext(Gw),wC=Gw.Provider;function xC(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var SC=re.createContext(xC()),EC=()=>re.useContext(SC),AC=(e,t,n)=>{const a=n?.state.error&&typeof e.throwOnError=="function"?jy(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||a)&&(t.isReset()||(e.retryOnMount=!1))},TC=e=>{re.useEffect(()=>{e.clearReset()},[e])},MC=({result:e,errorResetBoundary:t,throwOnError:n,query:a,suspense:s})=>e.isError&&!t.isReset()&&!e.isFetching&&a&&(s&&e.data===void 0||jy(n,[e.error,a])),RC=e=>{if(e.suspense){const n=s=>s==="static"?s:Math.max(s??1e3,1e3),a=e.staleTime;e.staleTime=typeof a=="function"?(...s)=>n(a(...s)):n(a),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},CC=(e,t)=>e.isLoading&&e.isFetching&&!t,_C=(e,t)=>e?.suspense&&t.isPending,V6=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function OC(e,t,n){const a=vC(),s=EC(),u=Ks(),l=u.defaultQueryOptions(e);u.getDefaultOptions().queries?._experimental_beforeQuery?.(l);const f=u.getQueryCache().get(l.queryHash),d=e.subscribed!==!1;l._optimisticResults=a?"isRestoring":d?"optimistic":void 0,RC(l),AC(l,s,f),TC(s);const p=!u.getQueryCache().get(l.queryHash),[m]=re.useState(()=>new t(u,l)),b=m.getOptimisticResult(l),g=!a&&d;if(re.useSyncExternalStore(re.useCallback(v=>{const x=g?m.subscribe(ct.batchCalls(v)):ut;return m.updateResult(),x},[m,g]),()=>m.getCurrentResult(),()=>m.getCurrentResult()),re.useEffect(()=>{m.setOptions(l)},[l,m]),_C(l,b))throw V6(l,m,s);if(MC({result:b,errorResetBoundary:s,throwOnError:l.throwOnError,query:f,suspense:l.suspense}))throw b.error;return u.getDefaultOptions().queries?._experimental_afterQuery?.(l,b),l.experimental_prefetchInRender&&!mu.isServer()&&CC(b,a)&&(p?V6(l,m,s):f?.promise)?.catch(ut).finally(()=>{m.updateResult()}),l.notifyOnChangeProps?b:m.trackResult(b)}function Cf(e,t){return OC(e,lC)}function _f(e,t){const n=Ks(),[a]=re.useState(()=>new yC(n,e));re.useEffect(()=>{a.setOptions(e)},[a,e]);const s=re.useSyncExternalStore(re.useCallback(l=>a.subscribe(ct.batchCalls(l)),[a]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),u=re.useCallback((l,f)=>{a.mutate(l,f).catch(ut)},[a]);if(s.error&&jy(a.options.throwOnError,[s.error]))throw s.error;return{...s,mutate:u,mutateAsync:s.mutate}}function Mp(){}function PC(e,{interval:t=1e3,onError:n=Mp}={}){if(typeof e!="function")throw new Error("argument is not function.");let a=0,s=null,u=!1,l=!1;return async(...f)=>{if(s=f,!l){for(l=!0;u;)await new Promise(d=>Rr.setTimeout(d,t));for(;Date.now()<a;)await new Promise(d=>Rr.setTimeout(d,a-Date.now()));l=!1,u=!0;try{await e(...s)}catch(d){try{n(d)}catch{}}a=Date.now()+t,u=!1}}}var zC=({storage:e,key:t="REACT_QUERY_OFFLINE_CACHE",throttleTime:n=1e3,serialize:a=JSON.stringify,deserialize:s=JSON.parse,retry:u})=>{if(e){const l=async f=>{try{const d=await a(f);await e.setItem(t,d);return}catch(d){return d}};return{persistClient:PC(async f=>{let d=f,p=await l(d),m=0;for(;p&&d;)m++,d=await u?.({persistedClient:d,error:p,errorCount:m}),d&&(p=await l(d))},{interval:n}),restoreClient:async()=>{const f=await e.getItem(t);if(f)return await s(f)},removeClient:()=>e.removeItem(t)}}return{persistClient:Mp,restoreClient:()=>Promise.resolve(void 0),removeClient:Mp}};const BC="1.2.4";let Cn=class Rp extends Error{constructor(t,n={}){const a=n.cause instanceof Rp?n.cause.details:n.cause?.message?n.cause.message:n.details,s=n.cause instanceof Rp&&n.cause.docsPath||n.docsPath,u=[t||"An error occurred.","",...n.metaMessages?[...n.metaMessages,""]:[],...s?[`Docs: https://abitype.dev${s}`]:[],...a?[`Details: ${a}`]:[],`Version: abitype@${BC}`].join(`\n`);super(u),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"metaMessages",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiTypeError"}),n.cause&&(this.cause=n.cause),this.details=a,this.docsPath=s,this.metaMessages=n.metaMessages,this.shortMessage=t}};function Of(e,t){return e.exec(t)?.groups}const Vw=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,Kw=/^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/,Qw=/^\\(.+?\\).*?$/,K6=/^tuple(?<array>(\\[(\\d*)\\])*)$/;function Cp(e){let t=e.type;if(K6.test(e.type)&&"components"in e){t="(";const n=e.components.length;for(let s=0;s<n;s++){const u=e.components[s];t+=Cp(u),s<n-1&&(t+=", ")}const a=Of(K6,e.type);return t+=`)${a?.array||""}`,Cp({...e,type:t})}return"indexed"in e&&e.indexed&&(t=`${t} indexed`),e.name?`${t} ${e.name}`:t}function As(e){let t="";const n=e.length;for(let a=0;a<n;a++){const s=e[a];t+=Cp(s),a!==n-1&&(t+=", ")}return t}function _p(e){return e.type==="function"?`function ${e.name}(${As(e.inputs)})${e.stateMutability&&e.stateMutability!=="nonpayable"?` ${e.stateMutability}`:""}${e.outputs?.length?` returns (${As(e.outputs)})`:""}`:e.type==="event"?`event ${e.name}(${As(e.inputs)})`:e.type==="error"?`error ${e.name}(${As(e.inputs)})`:e.type==="constructor"?`constructor(${As(e.inputs)})${e.stateMutability==="payable"?" payable":""}`:e.type==="fallback"?`fallback() external${e.stateMutability==="payable"?" payable":""}`:"receive() external payable"}const Yw=/^struct (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*) \\{(?<properties>.*?)\\}$/;function Zw(e){return Yw.test(e)}function IC(e){return Of(Yw,e)}const Q6=new Set(["memory","indexed","storage","calldata"]),NC=new Set(["calldata","memory","storage"]);let LC=class extends Cn{constructor({type:t}){super("Unknown type.",{metaMessages:[`Type "${t}" is not a valid ABI type. Perhaps you forgot to include a struct signature?`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownTypeError"})}},$C=class extends Cn{constructor({type:t}){super("Unknown type.",{metaMessages:[`Type "${t}" is not a valid ABI type.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownSolidityTypeError"})}};class kC extends Cn{constructor({params:t}){super("Failed to parse ABI parameters.",{details:`parseAbiParameters(${JSON.stringify(t,null,2)})`,docsPath:"/api/human#parseabiparameters-1"}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiParametersError"})}}let UC=class extends Cn{constructor({param:t}){super("Invalid ABI parameter.",{details:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParameterError"})}},jC=class extends Cn{constructor({param:t,name:n}){super("Invalid ABI parameter.",{details:t,metaMessages:[`"${n}" is a protected Solidity keyword. More info: https://docs.soliditylang.org/en/latest/cheatsheet.html`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SolidityProtectedKeywordError"})}},DC=class extends Cn{constructor({param:t,type:n,modifier:a}){super("Invalid ABI parameter.",{details:t,metaMessages:[`Modifier "${a}" not allowed${n?` in "${n}" type`:""}.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidModifierError"})}},HC=class extends Cn{constructor({param:t,type:n,modifier:a}){super("Invalid ABI parameter.",{details:t,metaMessages:[`Modifier "${a}" not allowed${n?` in "${n}" type`:""}.`,`Data location can only be specified for array, struct, or mapping types, but "${a}" was given.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidFunctionModifierError"})}},FC=class extends Cn{constructor({abiParameter:t}){super("Invalid ABI parameter.",{details:JSON.stringify(t,null,2),metaMessages:["ABI parameter type is invalid."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiTypeParameterError"})}},qC=class extends Cn{constructor({signature:t,type:n}){super(`Invalid ${n} signature.`,{details:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidSignatureError"})}},GC=class extends Cn{constructor({signature:t}){super("Invalid struct signature.",{details:t,metaMessages:["No properties exist."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidStructSignatureError"})}},VC=class extends Cn{constructor({type:t}){super("Circular reference detected.",{metaMessages:[`Struct "${t}" is a circular reference.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"CircularReferenceError"})}},KC=class extends Cn{constructor({current:t,depth:n}){super("Unbalanced parentheses.",{metaMessages:[`"${t.trim()}" has too many ${n>0?"opening":"closing"} parentheses.`],details:`Depth "${n}"`}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParenthesisError"})}};function QC(e,t,n){let a="";if(n)for(const s of Object.entries(n)){if(!s)continue;let u="";for(const l of s[1])u+=`[${l.type}${l.name?`:${l.name}`:""}]`;a+=`(${s[0]}{${u}})`}return t?`${t}:${e}${a}`:`${e}${a}`}const $h=new Map([["address",{type:"address"}],["bool",{type:"bool"}],["bytes",{type:"bytes"}],["bytes32",{type:"bytes32"}],["int",{type:"int256"}],["int256",{type:"int256"}],["string",{type:"string"}],["uint",{type:"uint256"}],["uint8",{type:"uint8"}],["uint16",{type:"uint16"}],["uint24",{type:"uint24"}],["uint32",{type:"uint32"}],["uint64",{type:"uint64"}],["uint96",{type:"uint96"}],["uint112",{type:"uint112"}],["uint160",{type:"uint160"}],["uint192",{type:"uint192"}],["uint256",{type:"uint256"}],["address owner",{type:"address",name:"owner"}],["address to",{type:"address",name:"to"}],["bool approved",{type:"bool",name:"approved"}],["bytes _data",{type:"bytes",name:"_data"}],["bytes data",{type:"bytes",name:"data"}],["bytes signature",{type:"bytes",name:"signature"}],["bytes32 hash",{type:"bytes32",name:"hash"}],["bytes32 r",{type:"bytes32",name:"r"}],["bytes32 root",{type:"bytes32",name:"root"}],["bytes32 s",{type:"bytes32",name:"s"}],["string name",{type:"string",name:"name"}],["string symbol",{type:"string",name:"symbol"}],["string tokenURI",{type:"string",name:"tokenURI"}],["uint tokenId",{type:"uint256",name:"tokenId"}],["uint8 v",{type:"uint8",name:"v"}],["uint256 balance",{type:"uint256",name:"balance"}],["uint256 tokenId",{type:"uint256",name:"tokenId"}],["uint256 value",{type:"uint256",name:"value"}],["event:address indexed from",{type:"address",name:"from",indexed:!0}],["event:address indexed to",{type:"address",name:"to",indexed:!0}],["event:uint indexed tokenId",{type:"uint256",name:"tokenId",indexed:!0}],["event:uint256 indexed tokenId",{type:"uint256",name:"tokenId",indexed:!0}]]),YC=/^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*(?:\\spayable)?)(?<array>(?:\\[\\d*?\\])+?)?(?:\\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,ZC=/^\\((?<type>.+?)\\)(?<array>(?:\\[\\d*?\\])+?)?(?:\\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,XC=/^u?int$/;function ff(e,t){const n=QC(e,t?.type,t?.structs);if($h.has(n))return $h.get(n);const a=Qw.test(e),s=Of(a?ZC:YC,e);if(!s)throw new UC({param:e});if(s.name&&WC(s.name))throw new jC({param:e,name:s.name});const u=s.name?{name:s.name}:{},l=s.modifier==="indexed"?{indexed:!0}:{},f=t?.structs??{};let d,p={};if(a){d="tuple";const b=gi(s.type),g=[],v=b.length;for(let x=0;x<v;x++)g.push(ff(b[x],{structs:f}));p={components:g}}else if(s.type in f)d="tuple",p={components:f[s.type]};else if(XC.test(s.type))d=`${s.type}256`;else if(s.type==="address payable")d="address";else if(d=s.type,t?.type!=="struct"&&!Xw(d))throw new $C({type:d});if(s.modifier){if(!t?.modifiers?.has?.(s.modifier))throw new DC({param:e,type:t?.type,modifier:s.modifier});if(NC.has(s.modifier)&&!e_(d,!!s.array))throw new HC({param:e,type:t?.type,modifier:s.modifier})}const m={type:`${d}${s.array??""}`,...u,...l,...p};return $h.set(n,m),m}function gi(e,t=[],n="",a=0){const s=e.trim().length;for(let u=0;u<s;u++){const l=e[u],f=e.slice(u+1);switch(l){case",":return a===0?gi(f,[...t,n.trim()]):gi(f,t,`${n}${l}`,a);case"(":return gi(f,t,`${n}${l}`,a+1);case")":return gi(f,t,`${n}${l}`,a-1);default:return gi(f,t,`${n}${l}`,a)}}if(n==="")return t;if(a!==0)throw new KC({current:n,depth:a});return t.push(n.trim()),t}function Xw(e){return e==="address"||e==="bool"||e==="function"||e==="string"||Vw.test(e)||Kw.test(e)}const JC=/^(?:after|alias|anonymous|apply|auto|byte|calldata|case|catch|constant|copyof|default|defined|error|event|external|false|final|function|immutable|implements|in|indexed|inline|internal|let|mapping|match|memory|mutable|null|of|override|partial|private|promise|public|pure|reference|relocatable|return|returns|sizeof|static|storage|struct|super|supports|switch|this|true|try|typedef|typeof|var|view|virtual)$/;function WC(e){return e==="address"||e==="bool"||e==="function"||e==="string"||e==="tuple"||Vw.test(e)||Kw.test(e)||JC.test(e)}function e_(e,t){return t||e==="bytes"||e==="string"||e==="tuple"}function t_(e){const t={},n=e.length;for(let l=0;l<n;l++){const f=e[l];if(!Zw(f))continue;const d=IC(f);if(!d)throw new qC({signature:f,type:"struct"});const p=d.properties.split(";"),m=[],b=p.length;for(let g=0;g<b;g++){const x=p[g].trim();if(!x)continue;const S=ff(x,{type:"struct"});m.push(S)}if(!m.length)throw new GC({signature:f});t[d.name]=m}const a={},s=Object.entries(t),u=s.length;for(let l=0;l<u;l++){const[f,d]=s[l];a[f]=Jw(d,t)}return a}const n_=/^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*)(?<array>(?:\\[\\d*?\\])+?)?$/;function Jw(e=[],t={},n=new Set){const a=[],s=e.length;for(let u=0;u<s;u++){const l=e[u];if(Qw.test(l.type))a.push(l);else{const d=Of(n_,l.type);if(!d?.type)throw new FC({abiParameter:l});const{array:p,type:m}=d;if(m in t){if(n.has(m))throw new VC({type:m});a.push({...l,type:`tuple${p??""}`,components:Jw(t[m],t,new Set([...n,m]))})}else if(Xw(m))a.push(l);else throw new LC({type:m})}}return a}function Y6(e){const t=[];if(typeof e=="string"){const n=gi(e),a=n.length;for(let s=0;s<a;s++)t.push(ff(n[s],{modifiers:Q6}))}else{const n=t_(e),a=e.length;for(let s=0;s<a;s++){const u=e[s];if(Zw(u))continue;const l=gi(u),f=l.length;for(let d=0;d<f;d++)t.push(ff(l[d],{modifiers:Q6,structs:n}))}}if(t.length===0)throw new kC({params:e});return t}const r_="0.1.1";function i_(){return r_}let ye=class Sr extends Error{static setStaticOptions(t){Sr.prototype.docsOrigin=t.docsOrigin,Sr.prototype.showVersion=t.showVersion,Sr.prototype.version=t.version}constructor(t,n={}){const a=(()=>{if(n.cause instanceof Sr){if(n.cause.details)return n.cause.details;if(n.cause.shortMessage)return n.cause.shortMessage}return n.cause&&"details"in n.cause&&typeof n.cause.details=="string"?n.cause.details:n.cause?.message?n.cause.message:n.details})(),s=n.cause instanceof Sr&&n.cause.docsPath||n.docsPath,u=n.docsOrigin??Sr.prototype.docsOrigin,l=`${u}${s??""}`,f=!!(n.version??Sr.prototype.showVersion),d=n.version??Sr.prototype.version,p=[t||"An error occurred.",...n.metaMessages?["",...n.metaMessages]:[],...a||s||f?["",a?`Details: ${a}`:void 0,s?`See: ${l}`:void 0,f?`Version: ${d}`:void 0]:[]].filter(m=>typeof m=="string").join(`\n`);super(p,n.cause?{cause:n.cause}:void 0),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docs",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsOrigin",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"showVersion",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"version",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BaseError"}),this.cause=n.cause,this.details=a,this.docs=l,this.docsOrigin=u,this.docsPath=s,this.shortMessage=t,this.showVersion=f,this.version=d}walk(t){return Ww(this,t)}};Object.defineProperty(ye,"defaultStaticOptions",{enumerable:!0,configurable:!0,writable:!0,value:{docsOrigin:"https://oxlib.sh",showVersion:!1,version:`ox@${i_()}`}});ye.setStaticOptions(ye.defaultStaticOptions);function Ww(e,t){return t?.(e)?e:e&&typeof e=="object"&&"cause"in e&&e.cause?Ww(e.cause,t):t?null:e}const ms=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0;function a_(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"}function bu(e){if(!Number.isSafeInteger(e)||e<0)throw new Error("positive integer expected, got "+e)}function ga(e,...t){if(!a_(e))throw new Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw new Error("Uint8Array expected of length "+t+", got length="+e.length)}function s_(e){if(typeof e!="function"||typeof e.create!="function")throw new Error("Hash should be wrapped by utils.createHasher");bu(e.outputLen),bu(e.blockLen)}function Ls(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function ex(e,t){ga(e);const n=t.outputLen;if(e.length<n)throw new Error("digestInto() expects output buffer of length at least "+n)}function o_(e){return new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4))}function Ri(...e){for(let t=0;t<e.length;t++)e[t].fill(0)}function kh(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function qn(e,t){return e<<32-t|e>>>t}const u_=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;function c_(e){return e<<24&4278190080|e<<8&16711680|e>>>8&65280|e>>>24&255}function l_(e){for(let t=0;t<e.length;t++)e[t]=c_(e[t]);return e}const Z6=u_?e=>e:l_;function f_(e){if(typeof e!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(e))}function Pf(e){return typeof e=="string"&&(e=f_(e)),ga(e),e}function d_(...e){let t=0;for(let a=0;a<e.length;a++){const s=e[a];ga(s),t+=s.length}const n=new Uint8Array(t);for(let a=0,s=0;a<e.length;a++){const u=e[a];n.set(u,s),s+=u.length}return n}class Hy{}function zf(e){const t=a=>e().update(Pf(a)).digest(),n=e();return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=()=>e(),t}function h_(e=32){if(ms&&typeof ms.getRandomValues=="function")return ms.getRandomValues(new Uint8Array(e));if(ms&&typeof ms.randomBytes=="function")return Uint8Array.from(ms.randomBytes(e));throw new Error("crypto.getRandomValues must be defined")}class tx extends Hy{constructor(t,n){super(),this.finished=!1,this.destroyed=!1,s_(t);const a=Pf(n);if(this.iHash=t.create(),typeof this.iHash.update!="function")throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const s=this.blockLen,u=new Uint8Array(s);u.set(a.length>s?t.create().update(a).digest():a);for(let l=0;l<u.length;l++)u[l]^=54;this.iHash.update(u),this.oHash=t.create();for(let l=0;l<u.length;l++)u[l]^=106;this.oHash.update(u),Ri(u)}update(t){return Ls(this),this.iHash.update(t),this}digestInto(t){Ls(this),ga(t,this.outputLen),this.finished=!0,this.iHash.digestInto(t),this.oHash.update(t),this.oHash.digestInto(t),this.destroy()}digest(){const t=new Uint8Array(this.oHash.outputLen);return this.digestInto(t),t}_cloneInto(t){t||(t=Object.create(Object.getPrototypeOf(this),{}));const{oHash:n,iHash:a,finished:s,destroyed:u,blockLen:l,outputLen:f}=this;return t=t,t.finished=s,t.destroyed=u,t.blockLen=l,t.outputLen=f,t.oHash=n._cloneInto(t.oHash),t.iHash=a._cloneInto(t.iHash),t}clone(){return this._cloneInto()}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}const nx=(e,t,n)=>new tx(e,t).update(n).digest();nx.create=(e,t)=>new tx(e,t);function p_(e,t,n,a){if(typeof e.setBigUint64=="function")return e.setBigUint64(t,n,a);const s=BigInt(32),u=BigInt(4294967295),l=Number(n>>s&u),f=Number(n&u),d=a?4:0,p=a?0:4;e.setUint32(t+d,l,a),e.setUint32(t+p,f,a)}function y_(e,t,n){return e&t^~e&n}function m_(e,t,n){return e&t^e&n^t&n}class rx extends Hy{constructor(t,n,a,s){super(),this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.blockLen=t,this.outputLen=n,this.padOffset=a,this.isLE=s,this.buffer=new Uint8Array(t),this.view=kh(this.buffer)}update(t){Ls(this),t=Pf(t),ga(t);const{view:n,buffer:a,blockLen:s}=this,u=t.length;for(let l=0;l<u;){const f=Math.min(s-this.pos,u-l);if(f===s){const d=kh(t);for(;s<=u-l;l+=s)this.process(d,l);continue}a.set(t.subarray(l,l+f),this.pos),this.pos+=f,l+=f,this.pos===s&&(this.process(n,0),this.pos=0)}return this.length+=t.length,this.roundClean(),this}digestInto(t){Ls(this),ex(t,this),this.finished=!0;const{buffer:n,view:a,blockLen:s,isLE:u}=this;let{pos:l}=this;n[l++]=128,Ri(this.buffer.subarray(l)),this.padOffset>s-l&&(this.process(a,0),l=0);for(let b=l;b<s;b++)n[b]=0;p_(a,s-8,BigInt(this.length*8),u),this.process(a,0);const f=kh(t),d=this.outputLen;if(d%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const p=d/4,m=this.get();if(p>m.length)throw new Error("_sha2: outputLen bigger than state");for(let b=0;b<p;b++)f.setUint32(4*b,m[b],u)}digest(){const{buffer:t,outputLen:n}=this;this.digestInto(t);const a=t.slice(0,n);return this.destroy(),a}_cloneInto(t){t||(t=new this.constructor),t.set(...this.get());const{blockLen:n,buffer:a,length:s,finished:u,destroyed:l,pos:f}=this;return t.destroyed=l,t.finished=u,t.length=s,t.pos=f,s%n&&t.buffer.set(a),t}clone(){return this._cloneInto()}}const di=Uint32Array.from([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),_t=Uint32Array.from([3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]),Ot=Uint32Array.from([1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209]),zl=BigInt(2**32-1),X6=BigInt(32);function b_(e,t=!1){return t?{h:Number(e&zl),l:Number(e>>X6&zl)}:{h:Number(e>>X6&zl)|0,l:Number(e&zl)|0}}function ix(e,t=!1){const n=e.length;let a=new Uint32Array(n),s=new Uint32Array(n);for(let u=0;u<n;u++){const{h:l,l:f}=b_(e[u],t);[a[u],s[u]]=[l,f]}return[a,s]}const J6=(e,t,n)=>e>>>n,W6=(e,t,n)=>e<<32-n|t>>>n,bs=(e,t,n)=>e>>>n|t<<32-n,gs=(e,t,n)=>e<<32-n|t>>>n,Bl=(e,t,n)=>e<<64-n|t>>>n-32,Il=(e,t,n)=>e>>>n-32|t<<64-n,g_=(e,t,n)=>e<<n|t>>>32-n,v_=(e,t,n)=>t<<n|e>>>32-n,w_=(e,t,n)=>t<<n-32|e>>>64-n,x_=(e,t,n)=>e<<n-32|t>>>64-n;function gr(e,t,n,a){const s=(t>>>0)+(a>>>0);return{h:e+n+(s/2**32|0)|0,l:s|0}}const S_=(e,t,n)=>(e>>>0)+(t>>>0)+(n>>>0),E_=(e,t,n,a)=>t+n+a+(e/2**32|0)|0,A_=(e,t,n,a)=>(e>>>0)+(t>>>0)+(n>>>0)+(a>>>0),T_=(e,t,n,a,s)=>t+n+a+s+(e/2**32|0)|0,M_=(e,t,n,a,s)=>(e>>>0)+(t>>>0)+(n>>>0)+(a>>>0)+(s>>>0),R_=(e,t,n,a,s,u)=>t+n+a+s+u+(e/2**32|0)|0,C_=BigInt(0),iu=BigInt(1),__=BigInt(2),O_=BigInt(7),P_=BigInt(256),z_=BigInt(113),ax=[],sx=[],ox=[];for(let e=0,t=iu,n=1,a=0;e<24;e++){[n,a]=[a,(2*n+3*a)%5],ax.push(2*(5*a+n)),sx.push((e+1)*(e+2)/2%64);let s=C_;for(let u=0;u<7;u++)t=(t<<iu^(t>>O_)*z_)%P_,t&__&&(s^=iu<<(iu<<BigInt(u))-iu);ox.push(s)}const ux=ix(ox,!0),B_=ux[0],I_=ux[1],e2=(e,t,n)=>n>32?w_(e,t,n):g_(e,t,n),t2=(e,t,n)=>n>32?x_(e,t,n):v_(e,t,n);function N_(e,t=24){const n=new Uint32Array(10);for(let a=24-t;a<24;a++){for(let l=0;l<10;l++)n[l]=e[l]^e[l+10]^e[l+20]^e[l+30]^e[l+40];for(let l=0;l<10;l+=2){const f=(l+8)%10,d=(l+2)%10,p=n[d],m=n[d+1],b=e2(p,m,1)^n[f],g=t2(p,m,1)^n[f+1];for(let v=0;v<50;v+=10)e[l+v]^=b,e[l+v+1]^=g}let s=e[2],u=e[3];for(let l=0;l<24;l++){const f=sx[l],d=e2(s,u,f),p=t2(s,u,f),m=ax[l];s=e[m],u=e[m+1],e[m]=d,e[m+1]=p}for(let l=0;l<50;l+=10){for(let f=0;f<10;f++)n[f]=e[l+f];for(let f=0;f<10;f++)e[l+f]^=~n[(f+2)%10]&n[(f+4)%10]}e[0]^=B_[a],e[1]^=I_[a]}Ri(n)}class Fy extends Hy{constructor(t,n,a,s=!1,u=24){if(super(),this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,this.enableXOF=!1,this.blockLen=t,this.suffix=n,this.outputLen=a,this.enableXOF=s,this.rounds=u,bu(a),!(0<t&&t<200))throw new Error("only keccak-f1600 function is supported");this.state=new Uint8Array(200),this.state32=o_(this.state)}clone(){return this._cloneInto()}keccak(){Z6(this.state32),N_(this.state32,this.rounds),Z6(this.state32),this.posOut=0,this.pos=0}update(t){Ls(this),t=Pf(t),ga(t);const{blockLen:n,state:a}=this,s=t.length;for(let u=0;u<s;){const l=Math.min(n-this.pos,s-u);for(let f=0;f<l;f++)a[this.pos++]^=t[u++];this.pos===n&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;const{state:t,suffix:n,pos:a,blockLen:s}=this;t[a]^=n,(n&128)!==0&&a===s-1&&this.keccak(),t[s-1]^=128,this.keccak()}writeInto(t){Ls(this,!1),ga(t),this.finish();const n=this.state,{blockLen:a}=this;for(let s=0,u=t.length;s<u;){this.posOut>=a&&this.keccak();const l=Math.min(a-this.posOut,u-s);t.set(n.subarray(this.posOut,this.posOut+l),s),this.posOut+=l,s+=l}return t}xofInto(t){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(t)}xof(t){return bu(t),this.xofInto(new Uint8Array(t))}digestInto(t){if(ex(t,this),this.finished)throw new Error("digest() was already called");return this.writeInto(t),this.destroy(),t}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,Ri(this.state)}_cloneInto(t){const{blockLen:n,suffix:a,outputLen:s,rounds:u,enableXOF:l}=this;return t||(t=new Fy(n,a,s,l,u)),t.state32.set(this.state32),t.pos=this.pos,t.posOut=this.posOut,t.finished=this.finished,t.rounds=u,t.suffix=a,t.outputLen=s,t.enableXOF=l,t.destroyed=this.destroyed,t}}const L_=(e,t,n)=>zf(()=>new Fy(t,e,n)),cx=L_(1,136,256/8),$_=Uint32Array.from([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),hi=new Uint32Array(64);class k_ extends rx{constructor(t=32){super(64,t,8,!1),this.A=di[0]|0,this.B=di[1]|0,this.C=di[2]|0,this.D=di[3]|0,this.E=di[4]|0,this.F=di[5]|0,this.G=di[6]|0,this.H=di[7]|0}get(){const{A:t,B:n,C:a,D:s,E:u,F:l,G:f,H:d}=this;return[t,n,a,s,u,l,f,d]}set(t,n,a,s,u,l,f,d){this.A=t|0,this.B=n|0,this.C=a|0,this.D=s|0,this.E=u|0,this.F=l|0,this.G=f|0,this.H=d|0}process(t,n){for(let b=0;b<16;b++,n+=4)hi[b]=t.getUint32(n,!1);for(let b=16;b<64;b++){const g=hi[b-15],v=hi[b-2],x=qn(g,7)^qn(g,18)^g>>>3,S=qn(v,17)^qn(v,19)^v>>>10;hi[b]=S+hi[b-7]+x+hi[b-16]|0}let{A:a,B:s,C:u,D:l,E:f,F:d,G:p,H:m}=this;for(let b=0;b<64;b++){const g=qn(f,6)^qn(f,11)^qn(f,25),v=m+g+y_(f,d,p)+$_[b]+hi[b]|0,S=(qn(a,2)^qn(a,13)^qn(a,22))+m_(a,s,u)|0;m=p,p=d,d=f,f=l+v|0,l=u,u=s,s=a,a=v+S|0}a=a+this.A|0,s=s+this.B|0,u=u+this.C|0,l=l+this.D|0,f=f+this.E|0,d=d+this.F|0,p=p+this.G|0,m=m+this.H|0,this.set(a,s,u,l,f,d,p,m)}roundClean(){Ri(hi)}destroy(){this.set(0,0,0,0,0,0,0,0),Ri(this.buffer)}}const lx=ix(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(e=>BigInt(e))),U_=lx[0],j_=lx[1],pi=new Uint32Array(80),yi=new Uint32Array(80);class fx extends rx{constructor(t=64){super(128,t,16,!1),this.Ah=Ot[0]|0,this.Al=Ot[1]|0,this.Bh=Ot[2]|0,this.Bl=Ot[3]|0,this.Ch=Ot[4]|0,this.Cl=Ot[5]|0,this.Dh=Ot[6]|0,this.Dl=Ot[7]|0,this.Eh=Ot[8]|0,this.El=Ot[9]|0,this.Fh=Ot[10]|0,this.Fl=Ot[11]|0,this.Gh=Ot[12]|0,this.Gl=Ot[13]|0,this.Hh=Ot[14]|0,this.Hl=Ot[15]|0}get(){const{Ah:t,Al:n,Bh:a,Bl:s,Ch:u,Cl:l,Dh:f,Dl:d,Eh:p,El:m,Fh:b,Fl:g,Gh:v,Gl:x,Hh:S,Hl:E}=this;return[t,n,a,s,u,l,f,d,p,m,b,g,v,x,S,E]}set(t,n,a,s,u,l,f,d,p,m,b,g,v,x,S,E){this.Ah=t|0,this.Al=n|0,this.Bh=a|0,this.Bl=s|0,this.Ch=u|0,this.Cl=l|0,this.Dh=f|0,this.Dl=d|0,this.Eh=p|0,this.El=m|0,this.Fh=b|0,this.Fl=g|0,this.Gh=v|0,this.Gl=x|0,this.Hh=S|0,this.Hl=E|0}process(t,n){for(let M=0;M<16;M++,n+=4)pi[M]=t.getUint32(n),yi[M]=t.getUint32(n+=4);for(let M=16;M<80;M++){const _=pi[M-15]|0,C=yi[M-15]|0,B=bs(_,C,1)^bs(_,C,8)^J6(_,C,7),O=gs(_,C,1)^gs(_,C,8)^W6(_,C,7),I=pi[M-2]|0,U=yi[M-2]|0,D=bs(I,U,19)^Bl(I,U,61)^J6(I,U,6),Q=gs(I,U,19)^Il(I,U,61)^W6(I,U,6),X=A_(O,Q,yi[M-7],yi[M-16]),te=T_(X,B,D,pi[M-7],pi[M-16]);pi[M]=te|0,yi[M]=X|0}let{Ah:a,Al:s,Bh:u,Bl:l,Ch:f,Cl:d,Dh:p,Dl:m,Eh:b,El:g,Fh:v,Fl:x,Gh:S,Gl:E,Hh:R,Hl:z}=this;for(let M=0;M<80;M++){const _=bs(b,g,14)^bs(b,g,18)^Bl(b,g,41),C=gs(b,g,14)^gs(b,g,18)^Il(b,g,41),B=b&v^~b&S,O=g&x^~g&E,I=M_(z,C,O,j_[M],yi[M]),U=R_(I,R,_,B,U_[M],pi[M]),D=I|0,Q=bs(a,s,28)^Bl(a,s,34)^Bl(a,s,39),X=gs(a,s,28)^Il(a,s,34)^Il(a,s,39),te=a&u^a&f^u&f,ue=s&l^s&d^l&d;R=S|0,z=E|0,S=v|0,E=x|0,v=b|0,x=g|0,{h:b,l:g}=gr(p|0,m|0,U|0,D|0),p=f|0,m=d|0,f=u|0,d=l|0,u=a|0,l=s|0;const W=S_(D,X,ue);a=E_(W,U,Q,te),s=W|0}({h:a,l:s}=gr(this.Ah|0,this.Al|0,a|0,s|0)),{h:u,l}=gr(this.Bh|0,this.Bl|0,u|0,l|0),{h:f,l:d}=gr(this.Ch|0,this.Cl|0,f|0,d|0),{h:p,l:m}=gr(this.Dh|0,this.Dl|0,p|0,m|0),{h:b,l:g}=gr(this.Eh|0,this.El|0,b|0,g|0),{h:v,l:x}=gr(this.Fh|0,this.Fl|0,v|0,x|0),{h:S,l:E}=gr(this.Gh|0,this.Gl|0,S|0,E|0),{h:R,l:z}=gr(this.Hh|0,this.Hl|0,R|0,z|0),this.set(a,s,u,l,f,d,p,m,b,g,v,x,S,E,R,z)}roundClean(){Ri(pi,yi)}destroy(){Ri(this.buffer),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}class D_ extends fx{constructor(){super(48),this.Ah=_t[0]|0,this.Al=_t[1]|0,this.Bh=_t[2]|0,this.Bl=_t[3]|0,this.Ch=_t[4]|0,this.Cl=_t[5]|0,this.Dh=_t[6]|0,this.Dl=_t[7]|0,this.Eh=_t[8]|0,this.El=_t[9]|0,this.Fh=_t[10]|0,this.Fl=_t[11]|0,this.Gh=_t[12]|0,this.Gl=_t[13]|0,this.Hh=_t[14]|0,this.Hl=_t[15]|0}}const qy=zf(()=>new k_),H_=zf(()=>new fx),F_=zf(()=>new D_),dx=qy;const Gy=BigInt(0),Op=BigInt(1);function Ju(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"}function Vy(e){if(!Ju(e))throw new Error("Uint8Array expected")}function gu(e,t){if(typeof t!="boolean")throw new Error(e+" boolean expected, got "+t)}function Nl(e){const t=e.toString(16);return t.length&1?"0"+t:t}function hx(e){if(typeof e!="string")throw new Error("hex string expected, got "+typeof e);return e===""?Gy:BigInt("0x"+e)}const px=typeof Uint8Array.from([]).toHex=="function"&&typeof Uint8Array.fromHex=="function",q_=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function vu(e){if(Vy(e),px)return e.toHex();let t="";for(let n=0;n<e.length;n++)t+=q_[e[n]];return t}const vr={_0:48,_9:57,A:65,F:70,a:97,f:102};function n2(e){if(e>=vr._0&&e<=vr._9)return e-vr._0;if(e>=vr.A&&e<=vr.F)return e-(vr.A-10);if(e>=vr.a&&e<=vr.f)return e-(vr.a-10)}function df(e){if(typeof e!="string")throw new Error("hex string expected, got "+typeof e);if(px)return Uint8Array.fromHex(e);const t=e.length,n=t/2;if(t%2)throw new Error("hex string expected, got unpadded hex of length "+t);const a=new Uint8Array(n);for(let s=0,u=0;s<n;s++,u+=2){const l=n2(e.charCodeAt(u)),f=n2(e.charCodeAt(u+1));if(l===void 0||f===void 0){const d=e[u]+e[u+1];throw new Error(\'hex string expected, got non-hex character "\'+d+\'" at index \'+u)}a[s]=l*16+f}return a}function ya(e){return hx(vu(e))}function yx(e){return Vy(e),hx(vu(Uint8Array.from(e).reverse()))}function Wu(e,t){return df(e.toString(16).padStart(t*2,"0"))}function mx(e,t){return Wu(e,t).reverse()}function Mn(e,t,n){let a;if(typeof t=="string")try{a=df(t)}catch(u){throw new Error(e+" must be hex string or Uint8Array, cause: "+u)}else if(Ju(t))a=Uint8Array.from(t);else throw new Error(e+" must be hex string or Uint8Array");const s=a.length;if(typeof n=="number"&&s!==n)throw new Error(e+" of length "+n+" expected, got "+s);return a}function hf(...e){let t=0;for(let a=0;a<e.length;a++){const s=e[a];Vy(s),t+=s.length}const n=new Uint8Array(t);for(let a=0,s=0;a<e.length;a++){const u=e[a];n.set(u,s),s+=u.length}return n}function G_(e,t){if(e.length!==t.length)return!1;let n=0;for(let a=0;a<e.length;a++)n|=e[a]^t[a];return n===0}const Uh=e=>typeof e=="bigint"&&Gy<=e;function Ky(e,t,n){return Uh(e)&&Uh(t)&&Uh(n)&&t<=e&&e<n}function Ps(e,t,n,a){if(!Ky(t,n,a))throw new Error("expected valid "+e+": "+n+" <= n < "+a+", got "+t)}function V_(e){let t;for(t=0;e>Gy;e>>=Op,t+=1);return t}const Bf=e=>(Op<<BigInt(e))-Op,jh=e=>new Uint8Array(e),r2=e=>Uint8Array.from(e);function K_(e,t,n){if(typeof e!="number"||e<2)throw new Error("hashLen must be a number");if(typeof t!="number"||t<2)throw new Error("qByteLen must be a number");if(typeof n!="function")throw new Error("hmacFn must be a function");let a=jh(e),s=jh(e),u=0;const l=()=>{a.fill(1),s.fill(0),u=0},f=(...b)=>n(s,a,...b),d=(b=jh(0))=>{s=f(r2([0]),b),a=f(),b.length!==0&&(s=f(r2([1]),b),a=f())},p=()=>{if(u++>=1e3)throw new Error("drbg: tried 1000 values");let b=0;const g=[];for(;b<t;){a=f();const v=a.slice();g.push(v),b+=a.length}return hf(...g)};return(b,g)=>{l(),d(b);let v;for(;!(v=g(p()));)d();return l(),v}}const Q_={bigint:e=>typeof e=="bigint",function:e=>typeof e=="function",boolean:e=>typeof e=="boolean",string:e=>typeof e=="string",stringOrUint8Array:e=>typeof e=="string"||Ju(e),isSafeInteger:e=>Number.isSafeInteger(e),array:e=>Array.isArray(e),field:(e,t)=>t.Fp.isValid(e),hash:e=>typeof e=="function"&&Number.isSafeInteger(e.outputLen)};function If(e,t,n={}){const a=(s,u,l)=>{const f=Q_[u];if(typeof f!="function")throw new Error("invalid validator function");const d=e[s];if(!(l&&d===void 0)&&!f(d,e))throw new Error("param "+String(s)+" is invalid. Expected "+u+", got "+d)};for(const[s,u]of Object.entries(t))a(s,u,!1);for(const[s,u]of Object.entries(n))a(s,u,!0);return e}function i2(e){const t=new WeakMap;return(n,...a)=>{const s=t.get(n);if(s!==void 0)return s;const u=e(n,...a);return t.set(n,u),u}}function Qs(e,t){if(Ms(e)>t)throw new wO({givenSize:Ms(e),maxSize:t})}const wr={zero:48,nine:57,A:65,F:70,a:97,f:102};function a2(e){if(e>=wr.zero&&e<=wr.nine)return e-wr.zero;if(e>=wr.A&&e<=wr.F)return e-(wr.A-10);if(e>=wr.a&&e<=wr.f)return e-(wr.a-10)}function Y_(e,t={}){const{dir:n,size:a=32}=t;if(a===0)return e;if(e.length>a)throw new xO({size:e.length,targetSize:a,type:"Bytes"});const s=new Uint8Array(a);for(let u=0;u<a;u++){const l=n==="right";s[l?u:a-u-1]=e[l?u:e.length-u-1]}return s}function bx(e,t={}){const{dir:n="left"}=t;let a=e,s=0;for(let u=0;u<a.length-1&&a[n==="left"?u:a.length-u-1].toString()==="0";u++)s++;return a=n==="left"?a.slice(s):a.slice(0,a.length-s),a}function Nf(e,t){if(Ye(e)>t)throw new iO({givenSize:Ye(e),maxSize:t})}function Z_(e,t){if(typeof t=="number"&&t>0&&t>Ye(e)-1)throw new Ex({offset:t,position:"start",size:Ye(e)})}function X_(e,t,n){if(typeof t=="number"&&typeof n=="number"&&Ye(e)!==n-t)throw new Ex({offset:n,position:"end",size:Ye(e)})}function gx(e,t={}){const{dir:n,size:a=32}=t;if(a===0)return e;const s=e.replace("0x","");if(s.length>a*2)throw new aO({size:Math.ceil(s.length/2),targetSize:a,type:"Hex"});return`0x${s[n==="right"?"padEnd":"padStart"](a*2,"0")}`}function J_(e,t={}){const{dir:n="left"}=t;let a=e.replace("0x",""),s=0;for(let u=0;u<a.length-1&&a[n==="left"?u:a.length-u-1].toString()==="0";u++)s++;return a=n==="left"?a.slice(s):a.slice(0,a.length-s),a==="0"?"0x":n==="right"&&a.length%2===1?`0x${a}0`:`0x${a}`}const Pp="#__bigint";function W_(e,t){return JSON.parse(e,(n,a)=>{const s=a;return typeof s=="string"&&s.endsWith(Pp)?BigInt(s.slice(0,-Pp.length)):typeof t=="function"?t(n,s):s})}function Ys(e,t,n){return JSON.stringify(e,(a,s)=>typeof t=="function"?t(a,s):typeof s=="bigint"?s.toString()+Pp:s,n)}const eO=new TextEncoder,tO=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function vx(e,t={}){const{strict:n=!1}=t;if(!e)throw new s2(e);if(typeof e!="string")throw new s2(e);if(n&&!/^0x[0-9a-fA-F]*$/.test(e))throw new o2(e);if(!e.startsWith("0x"))throw new o2(e)}function Ve(...e){return`0x${e.reduce((t,n)=>t+n.replace("0x",""),"")}`}function ec(e){return e instanceof Uint8Array?dt(e):Array.isArray(e)?dt(new Uint8Array(e)):e}function wx(e,t={}){const n=`0x${Number(e)}`;return typeof t.size=="number"?(Nf(n,t.size),Ln(n,t.size)):n}function dt(e,t={}){let n="";for(let s=0;s<e.length;s++)n+=tO[e[s]];const a=`0x${n}`;return typeof t.size=="number"?(Nf(a,t.size),va(a,t.size)):a}function oe(e,t={}){const{signed:n,size:a}=t,s=BigInt(e);let u;a?n?u=(1n<<BigInt(a)*8n-1n)-1n:u=2n**(BigInt(a)*8n)-1n:typeof e=="number"&&(u=BigInt(Number.MAX_SAFE_INTEGER));const l=typeof u=="bigint"&&n?-u-1n:0;if(u&&s>u||s<l){const p=typeof e=="bigint"?"n":"";throw new Sx({max:u?`${u}${p}`:void 0,min:`${l}${p}`,signed:n,size:a,value:`${e}${p}`})}const d=`0x${(n&&s<0?BigInt.asUintN(a*8,BigInt(s)):s).toString(16)}`;return a?Ln(d,a):d}function $r(e,t={}){return dt(eO.encode(e),t)}function Ln(e,t){return gx(e,{dir:"left",size:t})}function va(e,t){return gx(e,{dir:"right",size:t})}function nO(e){return dt(hO(e))}function Ee(e,t,n,a={}){const{strict:s}=a;Z_(e,t);const u=`0x${e.replace("0x","").slice((t??0)*2,(n??e.length)*2)}`;return s&&X_(u,t,n),u}function Ye(e){return Math.ceil((e.length-2)/2)}function zp(e){return J_(e,{dir:"left"})}function je(e,t={}){const{signed:n}=t;t.size&&Nf(e,t.size);const a=BigInt(e);if(!n)return a;const s=(e.length-2)/2,u=(1n<<BigInt(s)*8n)-1n,l=u>>1n;return a<=l?a:a-u-1n}function $s(e,t={}){const{signed:n,size:a}=t;return Number(!n&&!a?e:je(e,t))}function xx(e,t={}){const{size:n}=t;let a=ki(e);return n&&(Qs(a,n),a=Tx(a)),new TextDecoder().decode(a)}function In(e,t={}){const{strict:n=!1}=t;try{return vx(e,{strict:n}),!0}catch{return!1}}let Sx=class extends ye{constructor({max:t,min:n,signed:a,size:s,value:u}){super(`Number \\`${u}\\` is not in safe${s?` ${s*8}-bit`:""}${a?" signed":" unsigned"} integer range ${t?`(\\`${n}\\` to \\`${t}\\`)`:`(above \\`${n}\\`)`}`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.IntegerOutOfRangeError"})}};class s2 extends ye{constructor(t){super(`Value \\`${typeof t=="object"?Ys(t):t}\\` of type \\`${typeof t}\\` is an invalid hex type.`,{metaMessages:[\'Hex types must be represented as `"0x${string}"`.\']}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.InvalidHexTypeError"})}}class o2 extends ye{constructor(t){super(`Value \\`${t}\\` is an invalid hex value.`,{metaMessages:[\'Hex values must start with `"0x"` and contain only hexadecimal characters (0-9, a-f, A-F).\']}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.InvalidHexValueError"})}}class rO extends ye{constructor(t){super(`Hex value \\`"${t}"\\` is an odd length (${t.length-2} nibbles).`,{metaMessages:["It must be an even length."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.InvalidLengthError"})}}let iO=class extends ye{constructor({givenSize:t,maxSize:n}){super(`Size cannot exceed \\`${n}\\` bytes. Given size: \\`${t}\\` bytes.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SizeOverflowError"})}},Ex=class extends ye{constructor({offset:t,position:n,size:a}){super(`Slice ${n==="start"?"starting":"ending"} at offset \\`${t}\\` is out-of-bounds (size: \\`${a}\\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SliceOffsetOutOfBoundsError"})}},aO=class extends ye{constructor({size:t,targetSize:n,type:a}){super(`${a.charAt(0).toUpperCase()}${a.slice(1).toLowerCase()} size (\\`${t}\\`) exceeds padding size (\\`${n}\\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SizeExceedsPaddingSizeError"})}};const sO=new TextDecoder,oO=new TextEncoder;function uO(e){if(!(e instanceof Uint8Array)){if(!e)throw new Ll(e);if(typeof e!="object")throw new Ll(e);if(!("BYTES_PER_ELEMENT"in e))throw new Ll(e);if(e.BYTES_PER_ELEMENT!==1||e.constructor.name!=="Uint8Array")throw new Ll(e)}}function cO(...e){let t=0;for(const a of e)t+=a.length;const n=new Uint8Array(t);for(let a=0,s=0;a<e.length;a++){const u=e[a];n.set(u,s),s+=u.length}return n}function Qy(e){return e instanceof Uint8Array?e:typeof e=="string"?ki(e):lO(e)}function lO(e){return e instanceof Uint8Array?e:new Uint8Array(e)}function ki(e,t={}){const{size:n}=t;let a=e;n&&(Nf(e,n),a=va(e,n));let s=a.slice(2);s.length%2&&(s=`0${s}`);const u=s.length/2,l=new Uint8Array(u);for(let f=0,d=0;f<u;f++){const p=a2(s.charCodeAt(d++)),m=a2(s.charCodeAt(d++));if(p===void 0||m===void 0)throw new ye(`Invalid byte sequence ("${s[d-2]}${s[d-1]}" in "${s}").`);l[f]=p<<4|m}return l}function Yy(e,t={}){const{size:n}=t,a=oO.encode(e);return typeof n=="number"?(Qs(a,n),dO(a,n)):a}function fO(e,t){return G_(e,t)}function dO(e,t){return Y_(e,{dir:"right",size:t})}function hO(e){return crypto.getRandomValues(new Uint8Array(e))}function Ms(e){return e.length}function pO(e,t,n,a={}){const{strict:s}=a;return e.slice(t,n)}function yO(e,t={}){const{size:n}=t;typeof n<"u"&&Qs(e,n);const a=dt(e,t);return je(a,t)}function mO(e,t={}){const{size:n}=t;let a=e;if(typeof n<"u"&&(Qs(a,n),a=Ax(a)),a.length>1||a[0]>1)throw new vO(a);return!!a[0]}function Cr(e,t={}){const{size:n}=t;typeof n<"u"&&Qs(e,n);const a=dt(e,t);return $s(a,t)}function bO(e,t={}){const{size:n}=t;let a=e;return typeof n<"u"&&(Qs(a,n),a=Tx(a)),sO.decode(a)}function Ax(e){return bx(e,{dir:"left"})}function Tx(e){return bx(e,{dir:"right"})}function gO(e){try{return uO(e),!0}catch{return!1}}let vO=class extends ye{constructor(t){super(`Bytes value \\`${t}\\` is not a valid boolean.`,{metaMessages:["The bytes array must contain a single byte of either a `0` or `1` value."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Bytes.InvalidBytesBooleanError"})}};class Ll extends ye{constructor(t){super(`Value \\`${typeof t=="object"?Ys(t):t}\\` of type \\`${typeof t}\\` is an invalid Bytes value.`,{metaMessages:["Bytes values must be of type `Bytes`."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Bytes.InvalidBytesTypeError"})}}let wO=class extends ye{constructor({givenSize:t,maxSize:n}){super(`Size cannot exceed \\`${n}\\` bytes. Given size: \\`${t}\\` bytes.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Bytes.SizeOverflowError"})}},xO=class extends ye{constructor({size:t,targetSize:n,type:a}){super(`${a.charAt(0).toUpperCase()}${a.slice(1).toLowerCase()} size (\\`${t}\\`) exceeds padding size (\\`${n}\\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Bytes.SizeExceedsPaddingSizeError"})}};function _n(e,t={}){const{as:n=typeof e=="string"?"Hex":"Bytes"}=t,a=cx(Qy(e));return n==="Bytes"?a:dt(a)}function u2(e,t={}){const{as:n=typeof e=="string"?"Hex":"Bytes"}=t,a=dx(Qy(e));return n==="Bytes"?a:dt(a)}function SO(e){return In(e)&&Ye(e)===32}let EO=class extends Map{constructor(t){super(),Object.defineProperty(this,"maxSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.maxSize=t}get(t){const n=super.get(t);return super.has(t)&&n!==void 0&&(this.delete(t),super.set(t,n)),n}set(t,n){if(super.set(t,n),this.maxSize&&this.size>this.maxSize){const a=this.keys().next().value;a&&this.delete(a)}return this}};const AO={checksum:new EO(8192)},Dh=AO.checksum;function Mx(e,t={}){const{compressed:n}=t,{prefix:a,x:s,y:u}=e;if(n===!1||typeof s=="bigint"&&typeof u=="bigint"){if(a!==4)throw new c2({prefix:a,cause:new OO});return}if(n===!0||typeof s=="bigint"&&typeof u>"u"){if(a!==3&&a!==2)throw new c2({prefix:a,cause:new _O});return}throw new CO({publicKey:e})}function TO(e){const t=(()=>{if(In(e))return Zy(e);if(gO(e))return MO(e);const{prefix:n,x:a,y:s}=e;return typeof a=="bigint"&&typeof s=="bigint"?{prefix:n??4,x:a,y:s}:{prefix:n,x:a}})();return Mx(t),t}function MO(e){return Zy(dt(e))}function Zy(e){if(e.length!==132&&e.length!==130&&e.length!==68)throw new PO({publicKey:e});if(e.length===130){const a=BigInt(Ee(e,0,32)),s=BigInt(Ee(e,32,64));return{prefix:4,x:a,y:s}}if(e.length===132){const a=Number(Ee(e,0,1)),s=BigInt(Ee(e,1,33)),u=BigInt(Ee(e,33,65));return{prefix:a,x:s,y:u}}const t=Number(Ee(e,0,1)),n=BigInt(Ee(e,1,33));return{prefix:t,x:n}}function RO(e,t={}){return ki(Xy(e,t))}function Xy(e,t={}){Mx(e);const{prefix:n,x:a,y:s}=e,{includePrefix:u=!0}=t;return Ve(u?oe(n,{size:1}):"0x",oe(a,{size:32}),typeof s=="bigint"?oe(s,{size:32}):"0x")}class CO extends ye{constructor({publicKey:t}){super(`Value \\`${Ys(t)}\\` is not a valid public key.`,{metaMessages:["Public key must contain:","- an `x` and `prefix` value (compressed)","- an `x`, `y`, and `prefix` value (uncompressed)"]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidError"})}}let c2=class extends ye{constructor({prefix:t,cause:n}){super(`Prefix "${t}" is invalid.`,{cause:n}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidPrefixError"})}};class _O extends ye{constructor(){super("Prefix must be 2 or 3 for compressed public keys."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidCompressedPrefixError"})}}class OO extends ye{constructor(){super("Prefix must be 4 for uncompressed public keys."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidUncompressedPrefixError"})}}let PO=class extends ye{constructor({publicKey:t}){super(`Value \\`${t}\\` is an invalid public key size.`,{metaMessages:["Expected: 33 bytes (compressed + prefix), 64 bytes (uncompressed) or 65 bytes (uncompressed + prefix).",`Received ${Ye(ec(t))} bytes.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidSerializedSizeError"})}};const zO=/^0x[a-fA-F0-9]{40}$/;function $n(e,t={}){const{strict:n=!0}=t;if(!zO.test(e))throw new l2({address:e,cause:new BO});if(n){if(e.toLowerCase()===e)return;if(Lf(e)!==e)throw new l2({address:e,cause:new IO})}}function Lf(e){if(Dh.has(e))return Dh.get(e);$n(e,{strict:!1});const t=e.substring(2).toLowerCase(),n=_n(Yy(t),{as:"Bytes"}),a=t.split("");for(let u=0;u<40;u+=2)n[u>>1]>>4>=8&&a[u]&&(a[u]=a[u].toUpperCase()),(n[u>>1]&15)>=8&&a[u+1]&&(a[u+1]=a[u+1].toUpperCase());const s=`0x${a.join("")}`;return Dh.set(e,s),s}function Rx(e,t={}){const{checksum:n=!1}=t;return $n(e),n?Lf(e):e}function Ei(e,t={}){const n=_n(`0x${Xy(e).slice(4)}`).substring(26);return Rx(`0x${n}`,t)}function Bp(e,t){return $n(e,{strict:!1}),$n(t,{strict:!1}),e.toLowerCase()===t.toLowerCase()}function ks(e,t={}){const{strict:n=!0}=t??{};try{return $n(e,{strict:n}),!0}catch{return!1}}let l2=class extends ye{constructor({address:t,cause:n}){super(`Address "${t}" is invalid.`,{cause:n}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Address.InvalidAddressError"})}};class BO extends ye{constructor(){super("Address is not a 20 byte (40 hexadecimal character) value."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Address.InvalidInputError"})}}class IO extends ye{constructor(){super("Address does not match its checksum counterpart."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Address.InvalidChecksumError"})}}function Ip(e){let t=!0,n="",a=0,s="",u=!1;for(let l=0;l<e.length;l++){const f=e[l];if(["(",")",","].includes(f)&&(t=!0),f==="("&&a++,f===")"&&a--,!!t){if(a===0){if(f===" "&&["event","function","error",""].includes(s))s="";else if(s+=f,f===")"){u=!0;break}continue}if(f===" "){e[l-1]!==","&&n!==","&&n!==",("&&(n="",t=!1);continue}s+=f,n+=f}}if(!u)throw new ye("Unable to normalize signature.");return s}function Np(e,t){const n=typeof e,a=t.type;switch(a){case"address":return ks(e,{strict:!1});case"bool":return n==="boolean";case"function":return n==="string";case"string":return n==="string";default:return a==="tuple"&&"components"in t?Object.values(t.components).every((s,u)=>Np(Object.values(e)[u],s)):/^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/.test(a)?n==="number"||n==="bigint":/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/.test(a)?n==="string"||e instanceof Uint8Array:/[a-z]+[1-9]{0,3}(\\[[0-9]{0,}\\])+$/.test(a)?Array.isArray(e)&&e.every(s=>Np(s,{...t,type:a.replace(/(\\[[0-9]{0,}\\])$/,"")})):!1}}function Cx(e,t,n){for(const a in e){const s=e[a],u=t[a];if(s.type==="tuple"&&u.type==="tuple"&&"components"in s&&"components"in u)return Cx(s.components,u.components,n[a]);const l=[s.type,u.type];if(l.includes("address")&&l.includes("bytes20")?!0:l.includes("address")&&l.includes("string")?ks(n[a],{strict:!1}):l.includes("address")&&l.includes("bytes")?ks(n[a],{strict:!1}):!1)return l}}function Jy(e,t,n){const{args:a=[],prepare:s=!0}={},u=In(t,{strict:!1}),l=e.filter(p=>u?p.type==="function"||p.type==="error"?_x(p)===Ee(t,0,4):p.type==="event"?ou(p)===t:!1:"name"in p&&p.name===t);if(l.length===0)throw new f2({name:t});if(l.length===1)return{...l[0],...s?{hash:ou(l[0])}:{}};let f;for(const p of l){if(!("inputs"in p))continue;if(!a||a.length===0){if(!p.inputs||p.inputs.length===0)return{...p,...s?{hash:ou(p)}:{}};continue}if(!p.inputs||p.inputs.length===0||p.inputs.length!==a.length)continue;if(a.every((b,g)=>{const v="inputs"in p&&p.inputs[g];return v?Np(b,v):!1})){if(f&&"inputs"in f&&f.inputs){const b=Cx(p.inputs,f.inputs,a);if(b)throw new LO({abiItem:p,type:b[0]},{abiItem:f,type:b[1]})}f=p}}const d=(()=>{if(f)return f;const[p,...m]=l;return{...p,overloads:m}})();if(!d)throw new f2({name:t});return{...d,...s?{hash:ou(d)}:{}}}function _x(...e){const t=(()=>{if(Array.isArray(e[0])){const[n,a]=e;return Jy(n,a)}return e[0]})();return Ee(ou(t),0,4)}function NO(...e){const t=(()=>{if(Array.isArray(e[0])){const[a,s]=e;return Jy(a,s)}return e[0]})(),n=typeof t=="string"?t:_p(t);return Ip(n)}function ou(...e){const t=(()=>{if(Array.isArray(e[0])){const[n,a]=e;return Jy(n,a)}return e[0]})();return typeof t!="string"&&"hash"in t&&t.hash?t.hash:_n($r(NO(t)))}class LO extends ye{constructor(t,n){super("Found ambiguous types in overloaded ABI Items.",{metaMessages:[`\\`${t.type}\\` in \\`${Ip(_p(t.abiItem))}\\`, and`,`\\`${n.type}\\` in \\`${Ip(_p(n.abiItem))}\\``,"","These types encode differently and cannot be distinguished at runtime.","Remove one of the ambiguous items in the ABI."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiItem.AmbiguityError"})}}class f2 extends ye{constructor({name:t,data:n,type:a="item"}){const s=t?` with name "${t}"`:n?` with data "${n}"`:"";super(`ABI ${a}${s} not found.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiItem.NotFoundError"})}}const $O=/^(.*)\\[([0-9]*)\\]$/,kO=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,Ox=/^(u?int)(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/,d2=2n**256n-1n;function zs(e,t,n){const{checksumAddress:a,staticPosition:s}=n,u=tm(t.type);if(u){const[l,f]=u;return jO(e,{...t,type:f},{checksumAddress:a,length:l,staticPosition:s})}if(t.type==="tuple")return qO(e,t,{checksumAddress:a,staticPosition:s});if(t.type==="address")return UO(e,{checksum:a});if(t.type==="bool")return DO(e);if(t.type.startsWith("bytes"))return HO(e,t,{staticPosition:s});if(t.type.startsWith("uint")||t.type.startsWith("int"))return FO(e,t);if(t.type==="string")return GO(e,{staticPosition:s});throw new rm(t.type)}const h2=32,Lp=32;function UO(e,t={}){const{checksum:n=!1}=t,a=e.readBytes(32);return[(u=>n?Lf(u):u)(dt(pO(a,-20))),32]}function jO(e,t,n){const{checksumAddress:a,length:s,staticPosition:u}=n;if(!s){const d=Cr(e.readBytes(Lp)),p=u+d,m=p+h2;e.setPosition(p);const b=Cr(e.readBytes(h2)),g=wu(t);let v=0;const x=[];for(let S=0;S<b;++S){e.setPosition(m+(g?S*32:v));const[E,R]=zs(e,t,{checksumAddress:a,staticPosition:m});v+=R,x.push(E)}return e.setPosition(u+32),[x,32]}if(wu(t)){const d=Cr(e.readBytes(Lp)),p=u+d,m=[];for(let b=0;b<s;++b){e.setPosition(p+b*32);const[g]=zs(e,t,{checksumAddress:a,staticPosition:p});m.push(g)}return e.setPosition(u+32),[m,32]}let l=0;const f=[];for(let d=0;d<s;++d){const[p,m]=zs(e,t,{checksumAddress:a,staticPosition:u+l});l+=m,f.push(p)}return[f,l]}function DO(e){return[mO(e.readBytes(32),{size:32}),32]}function HO(e,t,{staticPosition:n}){const[a,s]=t.type.split("bytes");if(!s){const l=Cr(e.readBytes(32));e.setPosition(n+l);const f=Cr(e.readBytes(32));if(f===0)return e.setPosition(n+32),["0x",32];const d=e.readBytes(f);return e.setPosition(n+32),[dt(d),32]}return[dt(e.readBytes(Number.parseInt(s,10),32)),32]}function FO(e,t){const n=t.type.startsWith("int"),a=Number.parseInt(t.type.split("int")[1]||"256",10),s=e.readBytes(32);return[a>48?yO(s,{signed:n}):Cr(s,{signed:n}),32]}function qO(e,t,n){const{checksumAddress:a,staticPosition:s}=n,u=t.components.length===0||t.components.some(({name:d})=>!d),l=u?[]:{};let f=0;if(wu(t)){const d=Cr(e.readBytes(Lp)),p=s+d;for(let m=0;m<t.components.length;++m){const b=t.components[m];e.setPosition(p+f);const[g,v]=zs(e,b,{checksumAddress:a,staticPosition:p});f+=v,l[u?m:b?.name]=g}return e.setPosition(s+32),[l,32]}for(let d=0;d<t.components.length;++d){const p=t.components[d],[m,b]=zs(e,p,{checksumAddress:a,staticPosition:s});l[u?d:p?.name]=m,f+=b}return[l,f]}function GO(e,{staticPosition:t}){const n=Cr(e.readBytes(32)),a=t+n;e.setPosition(a);const s=Cr(e.readBytes(32));if(s===0)return e.setPosition(t+32),["",32];const u=e.readBytes(s,32),l=bO(Ax(u));return e.setPosition(t+32),[l,32]}function VO({checksumAddress:e,parameters:t,values:n}){const a=[];for(let s=0;s<t.length;s++)a.push(Wy({checksumAddress:e,parameter:t[s],value:n[s]}));return a}function Wy({checksumAddress:e=!1,parameter:t,value:n}){const a=t,s=tm(a.type);if(s){const[u,l]=s;return QO(n,{checksumAddress:e,length:u,parameter:{...a,type:l}})}if(a.type==="tuple")return WO(n,{checksumAddress:e,parameter:a});if(a.type==="address")return KO(n,{checksum:e});if(a.type==="bool")return ZO(n);if(a.type.startsWith("uint")||a.type.startsWith("int")){const u=a.type.startsWith("int"),[,,l="256"]=Ox.exec(a.type)??[];return XO(n,{signed:u,size:Number(l)})}if(a.type.startsWith("bytes"))return YO(n,{type:a.type});if(a.type==="string")return JO(n);throw new rm(a.type)}function em(e){let t=0;for(let u=0;u<e.length;u++){const{dynamic:l,encoded:f}=e[u];l?t+=32:t+=Ye(f)}const n=[],a=[];let s=0;for(let u=0;u<e.length;u++){const{dynamic:l,encoded:f}=e[u];l?(n.push(oe(t+s,{size:32})),a.push(f),s+=Ye(f)):n.push(f)}return Ve(...n,...a)}function KO(e,t){const{checksum:n=!1}=t;return $n(e,{strict:n}),{dynamic:!1,encoded:Ln(e.toLowerCase())}}function QO(e,t){const{checksumAddress:n,length:a,parameter:s}=t,u=a===null;if(!Array.isArray(e))throw new u7(e);if(!u&&e.length!==a)throw new o7({expectedLength:a,givenLength:e.length,type:`${s.type}[${a}]`});let l=!1;const f=[];for(let d=0;d<e.length;d++){const p=Wy({checksumAddress:n,parameter:s,value:e[d]});p.dynamic&&(l=!0),f.push(p)}if(u||l){const d=em(f);if(u){const p=oe(f.length,{size:32});return{dynamic:!0,encoded:f.length>0?Ve(p,d):p}}if(l)return{dynamic:!0,encoded:d}}return{dynamic:!1,encoded:Ve(...f.map(({encoded:d})=>d))}}function YO(e,{type:t}){const[,n]=t.split("bytes"),a=Ye(e);if(!n){let s=e;return a%32!==0&&(s=va(s,Math.ceil((e.length-2)/2/32)*32)),{dynamic:!0,encoded:Ve(Ln(oe(a,{size:32})),s)}}if(a!==Number.parseInt(n,10))throw new zx({expectedSize:Number.parseInt(n,10),value:e});return{dynamic:!1,encoded:va(e)}}function ZO(e){if(typeof e!="boolean")throw new ye(`Invalid boolean value: "${e}" (type: ${typeof e}). Expected: \\`true\\` or \\`false\\`.`);return{dynamic:!1,encoded:Ln(wx(e))}}function XO(e,{signed:t,size:n}){if(typeof n=="number"){const a=2n**(BigInt(n)-(t?1n:0n))-1n,s=t?-a-1n:0n;if(e>a||e<s)throw new Sx({max:a.toString(),min:s.toString(),signed:t,size:n/8,value:e.toString()})}return{dynamic:!1,encoded:oe(e,{size:32,signed:t})}}function JO(e){const t=$r(e),n=Math.ceil(Ye(t)/32),a=[];for(let s=0;s<n;s++)a.push(va(Ee(t,s*32,(s+1)*32)));return{dynamic:!0,encoded:Ve(va(oe(Ye(t),{size:32})),...a)}}function WO(e,t){const{checksumAddress:n,parameter:a}=t;let s=!1;const u=[];for(let l=0;l<a.components.length;l++){const f=a.components[l],d=Array.isArray(e)?l:f.name,p=Wy({checksumAddress:n,parameter:f,value:e[d]});u.push(p),p.dynamic&&(s=!0)}return{dynamic:s,encoded:s?em(u):Ve(...u.map(({encoded:l})=>l))}}function tm(e){const t=e.match(/^(.*)\\[(\\d+)?\\]$/);return t?[t[2]?Number(t[2]):null,t[1]]:void 0}function wu(e){const{type:t}=e;if(t==="string"||t==="bytes"||t.endsWith("[]"))return!0;if(t==="tuple")return e.components?.some(wu);const n=tm(e.type);return!!(n&&wu({...e,type:n[1]}))}const e7={bytes:new Uint8Array,dataView:new DataView(new ArrayBuffer(0)),position:0,positionReadCount:new Map,recursiveReadCount:0,recursiveReadLimit:Number.POSITIVE_INFINITY,assertReadLimit(){if(this.recursiveReadCount>=this.recursiveReadLimit)throw new n7({count:this.recursiveReadCount+1,limit:this.recursiveReadLimit})},assertPosition(e){if(e<0||e>this.bytes.length-1)throw new t7({length:this.bytes.length,position:e})},decrementPosition(e){if(e<0)throw new p2({offset:e});const t=this.position-e;this.assertPosition(t),this.position=t},getReadCount(e){return this.positionReadCount.get(e||this.position)||0},incrementPosition(e){if(e<0)throw new p2({offset:e});const t=this.position+e;this.assertPosition(t),this.position=t},inspectByte(e){const t=e??this.position;return this.assertPosition(t),this.bytes[t]},inspectBytes(e,t){const n=t??this.position;return this.assertPosition(n+e-1),this.bytes.subarray(n,n+e)},inspectUint8(e){const t=e??this.position;return this.assertPosition(t),this.bytes[t]},inspectUint16(e){const t=e??this.position;return this.assertPosition(t+1),this.dataView.getUint16(t)},inspectUint24(e){const t=e??this.position;return this.assertPosition(t+2),(this.dataView.getUint16(t)<<8)+this.dataView.getUint8(t+2)},inspectUint32(e){const t=e??this.position;return this.assertPosition(t+3),this.dataView.getUint32(t)},pushByte(e){this.assertPosition(this.position),this.bytes[this.position]=e,this.position++},pushBytes(e){this.assertPosition(this.position+e.length-1),this.bytes.set(e,this.position),this.position+=e.length},pushUint8(e){this.assertPosition(this.position),this.bytes[this.position]=e,this.position++},pushUint16(e){this.assertPosition(this.position+1),this.dataView.setUint16(this.position,e),this.position+=2},pushUint24(e){this.assertPosition(this.position+2),this.dataView.setUint16(this.position,e>>8),this.dataView.setUint8(this.position+2,e&255),this.position+=3},pushUint32(e){this.assertPosition(this.position+3),this.dataView.setUint32(this.position,e),this.position+=4},readByte(){this.assertReadLimit(),this._touch();const e=this.inspectByte();return this.position++,e},readBytes(e,t){this.assertReadLimit(),this._touch();const n=this.inspectBytes(e);return this.position+=t??e,n},readUint8(){this.assertReadLimit(),this._touch();const e=this.inspectUint8();return this.position+=1,e},readUint16(){this.assertReadLimit(),this._touch();const e=this.inspectUint16();return this.position+=2,e},readUint24(){this.assertReadLimit(),this._touch();const e=this.inspectUint24();return this.position+=3,e},readUint32(){this.assertReadLimit(),this._touch();const e=this.inspectUint32();return this.position+=4,e},get remaining(){return this.bytes.length-this.position},setPosition(e){const t=this.position;return this.assertPosition(e),this.position=e,()=>this.position=t},_touch(){if(this.recursiveReadLimit===Number.POSITIVE_INFINITY)return;const e=this.getReadCount();this.positionReadCount.set(this.position,e+1),e>0&&this.recursiveReadCount++}};function nm(e,{recursiveReadLimit:t=8192}={}){const n=Object.create(e7);return n.bytes=e,n.dataView=new DataView(e.buffer,e.byteOffset,e.byteLength),n.positionReadCount=new Map,n.recursiveReadLimit=t,n}let p2=class extends ye{constructor({offset:t}){super(`Offset \\`${t}\\` cannot be negative.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Cursor.NegativeOffsetError"})}},t7=class extends ye{constructor({length:t,position:n}){super(`Position \\`${n}\\` is out of bounds (\\`0 < position < ${t}\\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Cursor.PositionOutOfBoundsError"})}},n7=class extends ye{constructor({count:t,limit:n}){super(`Recursive read limit of \\`${n}\\` exceeded (recursive read count: \\`${t}\\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Cursor.RecursiveReadLimitExceededError"})}};function r7(e,t,n={}){const{as:a="Array",checksumAddress:s=!1}=n,u=typeof t=="string"?ki(t):t,l=nm(u);if(Ms(u)===0&&e.length>0)throw new s7;if(Ms(u)&&Ms(u)<32)throw new a7({data:typeof t=="string"?t:dt(t),parameters:e,size:Ms(u)});let f=0;const d=a==="Array"?[]:{};for(let p=0;p<e.length;++p){const m=e[p];l.setPosition(f);const[b,g]=zs(l,m,{checksumAddress:s,staticPosition:0});f+=g,a==="Array"?d.push(b):d[m.name??p]=b}return d}function i7(e,t,n){const{checksumAddress:a=!1}={};if(e.length!==t.length)throw new Bx({expectedLength:e.length,givenLength:t.length});const s=VO({checksumAddress:a,parameters:e,values:t}),u=em(s);return u.length===0?"0x":u}function $p(e,t){if(e.length!==t.length)throw new Bx({expectedLength:e.length,givenLength:t.length});const n=[];for(let a=0;a<e.length;a++){const s=e[a],u=t[a];n.push($p.encode(s,u))}return Ve(...n)}(function(e){function t(n,a,s=!1){if(n==="address"){const d=a;return $n(d),Ln(d.toLowerCase(),s?32:0)}if(n==="string")return $r(a);if(n==="bytes")return a;if(n==="bool")return Ln(wx(a),s?32:1);const u=n.match(Ox);if(u){const[d,p,m="256"]=u,b=Number.parseInt(m,10)/8;return oe(a,{size:s?32:b,signed:p==="int"})}const l=n.match(kO);if(l){const[d,p]=l;if(Number.parseInt(p,10)!==(a.length-2)/2)throw new zx({expectedSize:Number.parseInt(p,10),value:a});return va(a,s?32:0)}const f=n.match($O);if(f&&Array.isArray(a)){const[d,p]=f,m=[];for(let b=0;b<a.length;b++)m.push(t(p,a[b],!0));return m.length===0?"0x":Ve(...m)}throw new rm(n)}e.encode=t})($p||($p={}));function Px(e){return Array.isArray(e)&&typeof e[0]=="string"||typeof e=="string"?Y6(e):e}class a7 extends ye{constructor({data:t,parameters:n,size:a}){super(`Data size of ${a} bytes is too small for given parameters.`,{metaMessages:[`Params: (${As(n)})`,`Data: ${t} (${a} bytes)`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.DataSizeTooSmallError"})}}class s7 extends ye{constructor(){super(\'Cannot decode zero data ("0x") with ABI parameters.\'),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.ZeroDataError"})}}class o7 extends ye{constructor({expectedLength:t,givenLength:n,type:a}){super(`Array length mismatch for type \\`${a}\\`. Expected: \\`${t}\\`. Given: \\`${n}\\`.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.ArrayLengthMismatchError"})}}class zx extends ye{constructor({expectedSize:t,value:n}){super(`Size of bytes "${n}" (bytes${Ye(n)}) does not match expected size (bytes${t}).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.BytesSizeMismatchError"})}}class Bx extends ye{constructor({expectedLength:t,givenLength:n}){super(["ABI encoding parameters/values length mismatch.",`Expected length (parameters): ${t}`,`Given length (values): ${n}`].join(`\n`)),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.LengthMismatchError"})}}let u7=class extends ye{constructor(t){super(`Value \\`${t}\\` is not a valid array.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.InvalidArrayError"})}};class rm extends ye{constructor(t){super(`Type \\`${t}\\` is not a valid ABI Type.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.InvalidTypeError"})}}function c7(e){const t=[];for(let n=0;n<e.length;n++){const[a,s]=e[n];a&&$n(a,{strict:!1}),t.push({address:a,storageKeys:s.map(u=>SO(u)?u:zp(u))})}return t}function l7(e){if(!e||e.length===0)return[];const t=[];for(const{address:n,storageKeys:a}of e){for(let s=0;s<a.length;s++)if(Ye(a[s])!==32)throw new f7({storageKey:a[s]});n&&$n(n,{strict:!1}),t.push([n,a])}return t}let f7=class extends ye{constructor({storageKey:t}){super(`Size for storage key "${t}" is invalid. Expected 32 bytes. Got ${Ye(t)} bytes.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AccessList.InvalidStorageKeySizeError"})}};function Ix(e){return d7(e,"Hex")}function d7(e,t){const n=t,a=(()=>{if(typeof e=="string"){if(e.length>3&&e.length%2!==0)throw new rO(e);return ki(e)}return e})(),s=nm(a,{recursiveReadLimit:Number.POSITIVE_INFINITY});return Nx(s,n)}function Nx(e,t="Hex"){if(e.bytes.length===0)return t==="Hex"?dt(e.bytes):e.bytes;const n=e.readByte();if(n<128&&e.decrementPosition(1),n<192){const s=y2(e,n,128),u=e.readBytes(s);return t==="Hex"?dt(u):u}const a=y2(e,n,192);return h7(e,a,t)}function y2(e,t,n){if(n===128&&t<128)return 1;if(t<=n+55)return t-n;if(t===n+55+1)return e.readUint8();if(t===n+55+2)return e.readUint16();if(t===n+55+3)return e.readUint24();if(t===n+55+4)return e.readUint32();throw new ye("Invalid RLP prefix")}function h7(e,t,n){const a=e.position,s=[];for(;e.position-a<t;)s.push(Nx(e,n));return s}function p7(e,t){const{as:n}=t,a=Lx(e),s=nm(new Uint8Array(a.length));return a.encode(s),n==="Hex"?dt(s.bytes):s.bytes}function im(e,t={}){const{as:n="Hex"}=t;return p7(e,{as:n})}function Lx(e){return Array.isArray(e)?y7(e.map(t=>Lx(t))):m7(e)}function y7(e){const t=e.reduce((s,u)=>s+u.length,0),n=$x(t);return{length:t<=55?1+t:1+n+t,encode(s){t<=55?s.pushByte(192+t):(s.pushByte(247+n),n===1?s.pushUint8(t):n===2?s.pushUint16(t):n===3?s.pushUint24(t):s.pushUint32(t));for(const{encode:u}of e)u(s)}}}function m7(e){const t=typeof e=="string"?ki(e):e,n=$x(t.length);return{length:t.length===1&&t[0]<128?1:t.length<=55?1+t.length:1+n+t.length,encode(s){t.length===1&&t[0]<128?s.pushBytes(t):t.length<=55?(s.pushByte(128+t.length),s.pushBytes(t)):(s.pushByte(183+n),n===1?s.pushUint8(t.length):n===2?s.pushUint16(t.length):n===3?s.pushUint24(t.length):s.pushUint32(t.length),s.pushBytes(t))}}}function $x(e){if(e<=255)return 1;if(e<=65535)return 2;if(e<=16777215)return 3;if(e<=4294967295)return 4;throw new ye("Length is too large.")}const Yt=BigInt(0),Lt=BigInt(1),la=BigInt(2),b7=BigInt(3),kx=BigInt(4),Ux=BigInt(5),jx=BigInt(8);function Kt(e,t){const n=e%t;return n>=Yt?n:t+n}function Tn(e,t,n){let a=e;for(;t-- >Yt;)a*=a,a%=n;return a}function kp(e,t){if(e===Yt)throw new Error("invert: expected non-zero number");if(t<=Yt)throw new Error("invert: expected positive modulus, got "+t);let n=Kt(e,t),a=t,s=Yt,u=Lt;for(;n!==Yt;){const f=a/n,d=a%n,p=s-u*f;a=n,n=d,s=u,u=p}if(a!==Lt)throw new Error("invert: does not exist");return Kt(s,t)}function Dx(e,t){const n=(e.ORDER+Lt)/kx,a=e.pow(t,n);if(!e.eql(e.sqr(a),t))throw new Error("Cannot find square root");return a}function g7(e,t){const n=(e.ORDER-Ux)/jx,a=e.mul(t,la),s=e.pow(a,n),u=e.mul(t,s),l=e.mul(e.mul(u,la),s),f=e.mul(u,e.sub(l,e.ONE));if(!e.eql(e.sqr(f),t))throw new Error("Cannot find square root");return f}function v7(e){if(e<BigInt(3))throw new Error("sqrt is not defined for small field");let t=e-Lt,n=0;for(;t%la===Yt;)t/=la,n++;let a=la;const s=Zs(e);for(;m2(s,a)===1;)if(a++>1e3)throw new Error("Cannot find square root: probably non-prime P");if(n===1)return Dx;let u=s.pow(a,t);const l=(t+Lt)/la;return function(d,p){if(d.is0(p))return p;if(m2(d,p)!==1)throw new Error("Cannot find square root");let m=n,b=d.mul(d.ONE,u),g=d.pow(p,t),v=d.pow(p,l);for(;!d.eql(g,d.ONE);){if(d.is0(g))return d.ZERO;let x=1,S=d.sqr(g);for(;!d.eql(S,d.ONE);)if(x++,S=d.sqr(S),x===m)throw new Error("Cannot find square root");const E=Lt<<BigInt(m-x-1),R=d.pow(b,E);m=x,b=d.sqr(R),g=d.mul(g,b),v=d.mul(v,R)}return v}}function w7(e){return e%kx===b7?Dx:e%jx===Ux?g7:v7(e)}const x7=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function S7(e){const t={ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"},n=x7.reduce((a,s)=>(a[s]="function",a),t);return If(e,n)}function E7(e,t,n){if(n<Yt)throw new Error("invalid exponent, negatives unsupported");if(n===Yt)return e.ONE;if(n===Lt)return t;let a=e.ONE,s=t;for(;n>Yt;)n&Lt&&(a=e.mul(a,s)),s=e.sqr(s),n>>=Lt;return a}function Hx(e,t,n=!1){const a=new Array(t.length).fill(n?e.ZERO:void 0),s=t.reduce((l,f,d)=>e.is0(f)?l:(a[d]=l,e.mul(l,f)),e.ONE),u=e.inv(s);return t.reduceRight((l,f,d)=>e.is0(f)?l:(a[d]=e.mul(l,a[d]),e.mul(l,f)),u),a}function m2(e,t){const n=(e.ORDER-Lt)/la,a=e.pow(t,n),s=e.eql(a,e.ONE),u=e.eql(a,e.ZERO),l=e.eql(a,e.neg(e.ONE));if(!s&&!u&&!l)throw new Error("invalid Legendre symbol result");return s?1:u?0:-1}function Fx(e,t){t!==void 0&&bu(t);const n=t!==void 0?t:e.toString(2).length,a=Math.ceil(n/8);return{nBitLength:n,nByteLength:a}}function Zs(e,t,n=!1,a={}){if(e<=Yt)throw new Error("invalid field: expected ORDER > 0, got "+e);const{nBitLength:s,nByteLength:u}=Fx(e,t);if(u>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let l;const f=Object.freeze({ORDER:e,isLE:n,BITS:s,BYTES:u,MASK:Bf(s),ZERO:Yt,ONE:Lt,create:d=>Kt(d,e),isValid:d=>{if(typeof d!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof d);return Yt<=d&&d<e},is0:d=>d===Yt,isOdd:d=>(d&Lt)===Lt,neg:d=>Kt(-d,e),eql:(d,p)=>d===p,sqr:d=>Kt(d*d,e),add:(d,p)=>Kt(d+p,e),sub:(d,p)=>Kt(d-p,e),mul:(d,p)=>Kt(d*p,e),pow:(d,p)=>E7(f,d,p),div:(d,p)=>Kt(d*kp(p,e),e),sqrN:d=>d*d,addN:(d,p)=>d+p,subN:(d,p)=>d-p,mulN:(d,p)=>d*p,inv:d=>kp(d,e),sqrt:a.sqrt||(d=>(l||(l=w7(e)),l(f,d))),toBytes:d=>n?mx(d,u):Wu(d,u),fromBytes:d=>{if(d.length!==u)throw new Error("Field.fromBytes: expected "+u+" bytes, got "+d.length);return n?yx(d):ya(d)},invertBatch:d=>Hx(f,d),cmov:(d,p,m)=>m?p:d});return Object.freeze(f)}function qx(e){if(typeof e!="bigint")throw new Error("field order must be bigint");const t=e.toString(2).length;return Math.ceil(t/8)}function Gx(e){const t=qx(e);return t+Math.ceil(t/2)}function A7(e,t,n=!1){const a=e.length,s=qx(t),u=Gx(t);if(a<16||a<u||a>1024)throw new Error("expected "+u+"-1024 bytes of input, got "+a);const l=n?yx(e):ya(e),f=Kt(l,t-Lt)+Lt;return n?mx(f,s):Wu(f,s)}const b2=BigInt(0),Up=BigInt(1);function Hh(e,t){const n=t.negate();return e?n:t}function Vx(e,t){if(!Number.isSafeInteger(e)||e<=0||e>t)throw new Error("invalid window size, expected [1.."+t+"], got W="+e)}function Fh(e,t){Vx(e,t);const n=Math.ceil(t/e)+1,a=2**(e-1),s=2**e,u=Bf(e),l=BigInt(e);return{windows:n,windowSize:a,mask:u,maxNumber:s,shiftBy:l}}function g2(e,t,n){const{windowSize:a,mask:s,maxNumber:u,shiftBy:l}=n;let f=Number(e&s),d=e>>l;f>a&&(f-=u,d+=Up);const p=t*a,m=p+Math.abs(f)-1,b=f===0,g=f<0,v=t%2!==0;return{nextN:d,offset:m,isZero:b,isNeg:g,isNegF:v,offsetF:p}}function T7(e,t){if(!Array.isArray(e))throw new Error("array expected");e.forEach((n,a)=>{if(!(n instanceof t))throw new Error("invalid point at index "+a)})}function M7(e,t){if(!Array.isArray(e))throw new Error("array of scalars expected");e.forEach((n,a)=>{if(!t.isValid(n))throw new Error("invalid scalar at index "+a)})}const qh=new WeakMap,Kx=new WeakMap;function Gh(e){return Kx.get(e)||1}function R7(e,t){return{constTimeNegate:Hh,hasPrecomputes(n){return Gh(n)!==1},unsafeLadder(n,a,s=e.ZERO){let u=n;for(;a>b2;)a&Up&&(s=s.add(u)),u=u.double(),a>>=Up;return s},precomputeWindow(n,a){const{windows:s,windowSize:u}=Fh(a,t),l=[];let f=n,d=f;for(let p=0;p<s;p++){d=f,l.push(d);for(let m=1;m<u;m++)d=d.add(f),l.push(d);f=d.double()}return l},wNAF(n,a,s){let u=e.ZERO,l=e.BASE;const f=Fh(n,t);for(let d=0;d<f.windows;d++){const{nextN:p,offset:m,isZero:b,isNeg:g,isNegF:v,offsetF:x}=g2(s,d,f);s=p,b?l=l.add(Hh(v,a[x])):u=u.add(Hh(g,a[m]))}return{p:u,f:l}},wNAFUnsafe(n,a,s,u=e.ZERO){const l=Fh(n,t);for(let f=0;f<l.windows&&s!==b2;f++){const{nextN:d,offset:p,isZero:m,isNeg:b}=g2(s,f,l);if(s=d,!m){const g=a[p];u=u.add(b?g.negate():g)}}return u},getPrecomputes(n,a,s){let u=qh.get(a);return u||(u=this.precomputeWindow(a,n),n!==1&&qh.set(a,s(u))),u},wNAFCached(n,a,s){const u=Gh(n);return this.wNAF(u,this.getPrecomputes(u,n,s),a)},wNAFCachedUnsafe(n,a,s,u){const l=Gh(n);return l===1?this.unsafeLadder(n,a,u):this.wNAFUnsafe(l,this.getPrecomputes(l,n,s),a,u)},setWindowSize(n,a){Vx(a,t),Kx.set(n,a),qh.delete(n)}}}function C7(e,t,n,a){T7(n,e),M7(a,t);const s=n.length,u=a.length;if(s!==u)throw new Error("arrays of points and scalars must have equal length");const l=e.ZERO,f=V_(BigInt(s));let d=1;f>12?d=f-3:f>4?d=f-2:f>0&&(d=2);const p=Bf(d),m=new Array(Number(p)+1).fill(l),b=Math.floor((t.BITS-1)/d)*d;let g=l;for(let v=b;v>=0;v-=d){m.fill(l);for(let S=0;S<u;S++){const E=a[S],R=Number(E>>BigInt(v)&p);m[R]=m[R].add(n[S])}let x=l;for(let S=m.length-1,E=l;S>0;S--)E=E.add(m[S]),x=x.add(E);if(g=g.add(x),v!==0)for(let S=0;S<d;S++)g=g.double()}return g}function Qx(e){return S7(e.Fp),If(e,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...Fx(e.n,e.nBitLength),...e,p:e.Fp.ORDER})}function v2(e){e.lowS!==void 0&&gu("lowS",e.lowS),e.prehash!==void 0&&gu("prehash",e.prehash)}function _7(e){const t=Qx(e);If(t,{a:"field",b:"field"},{allowInfinityPoint:"boolean",allowedPrivateKeyLengths:"array",clearCofactor:"function",fromBytes:"function",isTorsionFree:"function",toBytes:"function",wrapPrivateKey:"boolean"});const{endo:n,Fp:a,a:s}=t;if(n){if(!a.eql(s,a.ZERO))throw new Error("invalid endo: CURVE.a must be 0");if(typeof n!="object"||typeof n.beta!="bigint"||typeof n.splitScalar!="function")throw new Error(\'invalid endo: expected "beta": bigint and "splitScalar": function\')}return Object.freeze({...t})}class O7 extends Error{constructor(t=""){super(t)}}const Er={Err:O7,_tlv:{encode:(e,t)=>{const{Err:n}=Er;if(e<0||e>256)throw new n("tlv.encode: wrong tag");if(t.length&1)throw new n("tlv.encode: unpadded data");const a=t.length/2,s=Nl(a);if(s.length/2&128)throw new n("tlv.encode: long form length too big");const u=a>127?Nl(s.length/2|128):"";return Nl(e)+u+s+t},decode(e,t){const{Err:n}=Er;let a=0;if(e<0||e>256)throw new n("tlv.encode: wrong tag");if(t.length<2||t[a++]!==e)throw new n("tlv.decode: wrong tlv");const s=t[a++],u=!!(s&128);let l=0;if(!u)l=s;else{const d=s&127;if(!d)throw new n("tlv.decode(long): indefinite length not supported");if(d>4)throw new n("tlv.decode(long): byte length is too big");const p=t.subarray(a,a+d);if(p.length!==d)throw new n("tlv.decode: length bytes not complete");if(p[0]===0)throw new n("tlv.decode(long): zero leftmost byte");for(const m of p)l=l<<8|m;if(a+=d,l<128)throw new n("tlv.decode(long): not minimal encoding")}const f=t.subarray(a,a+l);if(f.length!==l)throw new n("tlv.decode: wrong value length");return{v:f,l:t.subarray(a+l)}}},_int:{encode(e){const{Err:t}=Er;if(e<Tr)throw new t("integer: negative integers are not allowed");let n=Nl(e);if(Number.parseInt(n[0],16)&8&&(n="00"+n),n.length&1)throw new t("unexpected DER parsing assertion: unpadded hex");return n},decode(e){const{Err:t}=Er;if(e[0]&128)throw new t("invalid signature integer: negative");if(e[0]===0&&!(e[1]&128))throw new t("invalid signature integer: unnecessary leading zero");return ya(e)}},toSig(e){const{Err:t,_int:n,_tlv:a}=Er,s=Mn("signature",e),{v:u,l}=a.decode(48,s);if(l.length)throw new t("invalid signature: left bytes after parsing");const{v:f,l:d}=a.decode(2,u),{v:p,l:m}=a.decode(2,d);if(m.length)throw new t("invalid signature: left bytes after parsing");return{r:n.decode(f),s:n.decode(p)}},hexFromSig(e){const{_tlv:t,_int:n}=Er,a=t.encode(2,n.encode(e.r)),s=t.encode(2,n.encode(e.s)),u=a+s;return t.encode(48,u)}};function Vh(e,t){return vu(Wu(e,t))}const Tr=BigInt(0),yt=BigInt(1);BigInt(2);const Kh=BigInt(3),P7=BigInt(4);function z7(e){const t=_7(e),{Fp:n}=t,a=Zs(t.n,t.nBitLength),s=t.toBytes||((M,_,C)=>{const B=_.toAffine();return hf(Uint8Array.from([4]),n.toBytes(B.x),n.toBytes(B.y))}),u=t.fromBytes||(M=>{const _=M.subarray(1),C=n.fromBytes(_.subarray(0,n.BYTES)),B=n.fromBytes(_.subarray(n.BYTES,2*n.BYTES));return{x:C,y:B}});function l(M){const{a:_,b:C}=t,B=n.sqr(M),O=n.mul(B,M);return n.add(n.add(O,n.mul(M,_)),C)}function f(M,_){const C=n.sqr(_),B=l(M);return n.eql(C,B)}if(!f(t.Gx,t.Gy))throw new Error("bad curve params: generator point");const d=n.mul(n.pow(t.a,Kh),P7),p=n.mul(n.sqr(t.b),BigInt(27));if(n.is0(n.add(d,p)))throw new Error("bad curve params: a or b");function m(M){return Ky(M,yt,t.n)}function b(M){const{allowedPrivateKeyLengths:_,nByteLength:C,wrapPrivateKey:B,n:O}=t;if(_&&typeof M!="bigint"){if(Ju(M)&&(M=vu(M)),typeof M!="string"||!_.includes(M.length))throw new Error("invalid private key");M=M.padStart(C*2,"0")}let I;try{I=typeof M=="bigint"?M:ya(Mn("private key",M,C))}catch{throw new Error("invalid private key, expected hex or "+C+" bytes, got "+typeof M)}return B&&(I=Kt(I,O)),Ps("private key",I,yt,O),I}function g(M){if(!(M instanceof S))throw new Error("ProjectivePoint expected")}const v=i2((M,_)=>{const{px:C,py:B,pz:O}=M;if(n.eql(O,n.ONE))return{x:C,y:B};const I=M.is0();_==null&&(_=I?n.ONE:n.inv(O));const U=n.mul(C,_),D=n.mul(B,_),Q=n.mul(O,_);if(I)return{x:n.ZERO,y:n.ZERO};if(!n.eql(Q,n.ONE))throw new Error("invZ was invalid");return{x:U,y:D}}),x=i2(M=>{if(M.is0()){if(t.allowInfinityPoint&&!n.is0(M.py))return;throw new Error("bad point: ZERO")}const{x:_,y:C}=M.toAffine();if(!n.isValid(_)||!n.isValid(C))throw new Error("bad point: x or y not FE");if(!f(_,C))throw new Error("bad point: equation left != right");if(!M.isTorsionFree())throw new Error("bad point: not in prime-order subgroup");return!0});class S{constructor(_,C,B){if(_==null||!n.isValid(_))throw new Error("x required");if(C==null||!n.isValid(C)||n.is0(C))throw new Error("y required");if(B==null||!n.isValid(B))throw new Error("z required");this.px=_,this.py=C,this.pz=B,Object.freeze(this)}static fromAffine(_){const{x:C,y:B}=_||{};if(!_||!n.isValid(C)||!n.isValid(B))throw new Error("invalid affine point");if(_ instanceof S)throw new Error("projective point not allowed");const O=I=>n.eql(I,n.ZERO);return O(C)&&O(B)?S.ZERO:new S(C,B,n.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(_){const C=Hx(n,_.map(B=>B.pz));return _.map((B,O)=>B.toAffine(C[O])).map(S.fromAffine)}static fromHex(_){const C=S.fromAffine(u(Mn("pointHex",_)));return C.assertValidity(),C}static fromPrivateKey(_){return S.BASE.multiply(b(_))}static msm(_,C){return C7(S,a,_,C)}_setWindowSize(_){z.setWindowSize(this,_)}assertValidity(){x(this)}hasEvenY(){const{y:_}=this.toAffine();if(n.isOdd)return!n.isOdd(_);throw new Error("Field doesn\'t support isOdd")}equals(_){g(_);const{px:C,py:B,pz:O}=this,{px:I,py:U,pz:D}=_,Q=n.eql(n.mul(C,D),n.mul(I,O)),X=n.eql(n.mul(B,D),n.mul(U,O));return Q&&X}negate(){return new S(this.px,n.neg(this.py),this.pz)}double(){const{a:_,b:C}=t,B=n.mul(C,Kh),{px:O,py:I,pz:U}=this;let D=n.ZERO,Q=n.ZERO,X=n.ZERO,te=n.mul(O,O),ue=n.mul(I,I),W=n.mul(U,U),$=n.mul(O,I);return $=n.add($,$),X=n.mul(O,U),X=n.add(X,X),D=n.mul(_,X),Q=n.mul(B,W),Q=n.add(D,Q),D=n.sub(ue,Q),Q=n.add(ue,Q),Q=n.mul(D,Q),D=n.mul($,D),X=n.mul(B,X),W=n.mul(_,W),$=n.sub(te,W),$=n.mul(_,$),$=n.add($,X),X=n.add(te,te),te=n.add(X,te),te=n.add(te,W),te=n.mul(te,$),Q=n.add(Q,te),W=n.mul(I,U),W=n.add(W,W),te=n.mul(W,$),D=n.sub(D,te),X=n.mul(W,ue),X=n.add(X,X),X=n.add(X,X),new S(D,Q,X)}add(_){g(_);const{px:C,py:B,pz:O}=this,{px:I,py:U,pz:D}=_;let Q=n.ZERO,X=n.ZERO,te=n.ZERO;const ue=t.a,W=n.mul(t.b,Kh);let $=n.mul(C,I),G=n.mul(B,U),ne=n.mul(O,D),ce=n.add(C,B),fe=n.add(I,U);ce=n.mul(ce,fe),fe=n.add($,G),ce=n.sub(ce,fe),fe=n.add(C,O);let N=n.add(I,D);return fe=n.mul(fe,N),N=n.add($,ne),fe=n.sub(fe,N),N=n.add(B,O),Q=n.add(U,D),N=n.mul(N,Q),Q=n.add(G,ne),N=n.sub(N,Q),te=n.mul(ue,fe),Q=n.mul(W,ne),te=n.add(Q,te),Q=n.sub(G,te),te=n.add(G,te),X=n.mul(Q,te),G=n.add($,$),G=n.add(G,$),ne=n.mul(ue,ne),fe=n.mul(W,fe),G=n.add(G,ne),ne=n.sub($,ne),ne=n.mul(ue,ne),fe=n.add(fe,ne),$=n.mul(G,fe),X=n.add(X,$),$=n.mul(N,fe),Q=n.mul(ce,Q),Q=n.sub(Q,$),$=n.mul(ce,G),te=n.mul(N,te),te=n.add(te,$),new S(Q,X,te)}subtract(_){return this.add(_.negate())}is0(){return this.equals(S.ZERO)}wNAF(_){return z.wNAFCached(this,_,S.normalizeZ)}multiplyUnsafe(_){const{endo:C,n:B}=t;Ps("scalar",_,Tr,B);const O=S.ZERO;if(_===Tr)return O;if(this.is0()||_===yt)return this;if(!C||z.hasPrecomputes(this))return z.wNAFCachedUnsafe(this,_,S.normalizeZ);let{k1neg:I,k1:U,k2neg:D,k2:Q}=C.splitScalar(_),X=O,te=O,ue=this;for(;U>Tr||Q>Tr;)U&yt&&(X=X.add(ue)),Q&yt&&(te=te.add(ue)),ue=ue.double(),U>>=yt,Q>>=yt;return I&&(X=X.negate()),D&&(te=te.negate()),te=new S(n.mul(te.px,C.beta),te.py,te.pz),X.add(te)}multiply(_){const{endo:C,n:B}=t;Ps("scalar",_,yt,B);let O,I;if(C){const{k1neg:U,k1:D,k2neg:Q,k2:X}=C.splitScalar(_);let{p:te,f:ue}=this.wNAF(D),{p:W,f:$}=this.wNAF(X);te=z.constTimeNegate(U,te),W=z.constTimeNegate(Q,W),W=new S(n.mul(W.px,C.beta),W.py,W.pz),O=te.add(W),I=ue.add($)}else{const{p:U,f:D}=this.wNAF(_);O=U,I=D}return S.normalizeZ([O,I])[0]}multiplyAndAddUnsafe(_,C,B){const O=S.BASE,I=(D,Q)=>Q===Tr||Q===yt||!D.equals(O)?D.multiplyUnsafe(Q):D.multiply(Q),U=I(this,C).add(I(_,B));return U.is0()?void 0:U}toAffine(_){return v(this,_)}isTorsionFree(){const{h:_,isTorsionFree:C}=t;if(_===yt)return!0;if(C)return C(S,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:_,clearCofactor:C}=t;return _===yt?this:C?C(S,this):this.multiplyUnsafe(t.h)}toRawBytes(_=!0){return gu("isCompressed",_),this.assertValidity(),s(S,this,_)}toHex(_=!0){return gu("isCompressed",_),vu(this.toRawBytes(_))}}S.BASE=new S(t.Gx,t.Gy,n.ONE),S.ZERO=new S(n.ZERO,n.ONE,n.ZERO);const{endo:E,nBitLength:R}=t,z=R7(S,E?Math.ceil(R/2):R);return{CURVE:t,ProjectivePoint:S,normPrivateKeyToScalar:b,weierstrassEquation:l,isWithinCurveOrder:m}}function B7(e){const t=Qx(e);return If(t,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...t})}function I7(e){const t=B7(e),{Fp:n,n:a,nByteLength:s,nBitLength:u}=t,l=n.BYTES+1,f=2*n.BYTES+1;function d(W){return Kt(W,a)}function p(W){return kp(W,a)}const{ProjectivePoint:m,normPrivateKeyToScalar:b,weierstrassEquation:g,isWithinCurveOrder:v}=z7({...t,toBytes(W,$,G){const ne=$.toAffine(),ce=n.toBytes(ne.x),fe=hf;return gu("isCompressed",G),G?fe(Uint8Array.from([$.hasEvenY()?2:3]),ce):fe(Uint8Array.from([4]),ce,n.toBytes(ne.y))},fromBytes(W){const $=W.length,G=W[0],ne=W.subarray(1);if($===l&&(G===2||G===3)){const ce=ya(ne);if(!Ky(ce,yt,n.ORDER))throw new Error("Point is not on curve");const fe=g(ce);let N;try{N=n.sqrt(fe)}catch(ae){const le=ae instanceof Error?": "+ae.message:"";throw new Error("Point is not on curve"+le)}const Y=(N&yt)===yt;return(G&1)===1!==Y&&(N=n.neg(N)),{x:ce,y:N}}else if($===f&&G===4){const ce=n.fromBytes(ne.subarray(0,n.BYTES)),fe=n.fromBytes(ne.subarray(n.BYTES,2*n.BYTES));return{x:ce,y:fe}}else{const ce=l,fe=f;throw new Error("invalid Point, expected length of "+ce+", or uncompressed "+fe+", got "+$)}}});function x(W){const $=a>>yt;return W>$}function S(W){return x(W)?d(-W):W}const E=(W,$,G)=>ya(W.slice($,G));class R{constructor($,G,ne){Ps("r",$,yt,a),Ps("s",G,yt,a),this.r=$,this.s=G,ne!=null&&(this.recovery=ne),Object.freeze(this)}static fromCompact($){const G=s;return $=Mn("compactSignature",$,G*2),new R(E($,0,G),E($,G,2*G))}static fromDER($){const{r:G,s:ne}=Er.toSig(Mn("DER",$));return new R(G,ne)}assertValidity(){}addRecoveryBit($){return new R(this.r,this.s,$)}recoverPublicKey($){const{r:G,s:ne,recovery:ce}=this,fe=O(Mn("msgHash",$));if(ce==null||![0,1,2,3].includes(ce))throw new Error("recovery id invalid");const N=ce===2||ce===3?G+t.n:G;if(N>=n.ORDER)throw new Error("recovery id 2 or 3 invalid");const Y=(ce&1)===0?"02":"03",se=m.fromHex(Y+Vh(N,n.BYTES)),ae=p(N),le=d(-fe*ae),ge=d(ne*ae),we=m.BASE.multiplyAndAddUnsafe(se,le,ge);if(!we)throw new Error("point at infinify");return we.assertValidity(),we}hasHighS(){return x(this.s)}normalizeS(){return this.hasHighS()?new R(this.r,d(-this.s),this.recovery):this}toDERRawBytes(){return df(this.toDERHex())}toDERHex(){return Er.hexFromSig(this)}toCompactRawBytes(){return df(this.toCompactHex())}toCompactHex(){const $=s;return Vh(this.r,$)+Vh(this.s,$)}}const z={isValidPrivateKey(W){try{return b(W),!0}catch{return!1}},normPrivateKeyToScalar:b,randomPrivateKey:()=>{const W=Gx(t.n);return A7(t.randomBytes(W),t.n)},precompute(W=8,$=m.BASE){return $._setWindowSize(W),$.multiply(BigInt(3)),$}};function M(W,$=!0){return m.fromPrivateKey(W).toRawBytes($)}function _(W){if(typeof W=="bigint")return!1;if(W instanceof m)return!0;const G=Mn("key",W).length,ne=n.BYTES,ce=ne+1,fe=2*ne+1;if(!(t.allowedPrivateKeyLengths||s===ce))return G===ce||G===fe}function C(W,$,G=!0){if(_(W)===!0)throw new Error("first arg must be private key");if(_($)===!1)throw new Error("second arg must be public key");return m.fromHex($).multiply(b(W)).toRawBytes(G)}const B=t.bits2int||function(W){if(W.length>8192)throw new Error("input is too large");const $=ya(W),G=W.length*8-u;return G>0?$>>BigInt(G):$},O=t.bits2int_modN||function(W){return d(B(W))},I=Bf(u);function U(W){return Ps("num < 2^"+u,W,Tr,I),Wu(W,s)}function D(W,$,G=Q){if(["recovered","canonical"].some(Ce=>Ce in G))throw new Error("sign() legacy options not supported");const{hash:ne,randomBytes:ce}=t;let{lowS:fe,prehash:N,extraEntropy:Y}=G;fe==null&&(fe=!0),W=Mn("msgHash",W),v2(G),N&&(W=Mn("prehashed msgHash",ne(W)));const se=O(W),ae=b($),le=[U(ae),U(se)];if(Y!=null&&Y!==!1){const Ce=Y===!0?ce(n.BYTES):Y;le.push(Mn("extraEntropy",Ce))}const ge=hf(...le),we=se;function Fe(Ce){const Tt=B(Ce);if(!v(Tt))return;const en=p(Tt),Ut=m.BASE.multiply(Tt).toAffine(),tn=d(Ut.x);if(tn===Tr)return;const Mt=d(en*d(we+tn*ae));if(Mt===Tr)return;let pn=(Ut.x===tn?0:2)|Number(Ut.y&yt),Xn=Mt;return fe&&x(Mt)&&(Xn=S(Mt),pn^=1),new R(tn,Xn,pn)}return{seed:ge,k2sig:Fe}}const Q={lowS:t.lowS,prehash:!1},X={lowS:t.lowS,prehash:!1};function te(W,$,G=Q){const{seed:ne,k2sig:ce}=D(W,$,G),fe=t;return K_(fe.hash.outputLen,fe.nByteLength,fe.hmac)(ne,ce)}m.BASE._setWindowSize(8);function ue(W,$,G,ne=X){const ce=W;$=Mn("msgHash",$),G=Mn("publicKey",G);const{lowS:fe,prehash:N,format:Y}=ne;if(v2(ne),"strict"in ne)throw new Error("options.strict was renamed to lowS");if(Y!==void 0&&Y!=="compact"&&Y!=="der")throw new Error("format must be compact or der");const se=typeof ce=="string"||Ju(ce),ae=!se&&!Y&&typeof ce=="object"&&ce!==null&&typeof ce.r=="bigint"&&typeof ce.s=="bigint";if(!se&&!ae)throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance");let le,ge;try{if(ae&&(le=new R(ce.r,ce.s)),se){try{Y!=="compact"&&(le=R.fromDER(ce))}catch(pn){if(!(pn instanceof Er.Err))throw pn}!le&&Y!=="der"&&(le=R.fromCompact(ce))}ge=m.fromHex(G)}catch{return!1}if(!le||fe&&le.hasHighS())return!1;N&&($=t.hash($));const{r:we,s:Fe}=le,Ce=O($),Tt=p(Fe),en=d(Ce*Tt),Ut=d(we*Tt),tn=m.BASE.multiplyAndAddUnsafe(ge,en,Ut)?.toAffine();return tn?d(tn.x)===we:!1}return{CURVE:t,getPublicKey:M,getSharedSecret:C,sign:te,verify:ue,ProjectivePoint:m,Signature:R,utils:z}}function N7(e){return{hash:e,hmac:(t,...n)=>nx(e,t,d_(...n)),randomBytes:h_}}function $f(e,t){const n=a=>I7({...e,...N7(a)});return{...n(t),create:n}}const Yx=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),w2=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),L7=BigInt(0),$7=BigInt(1),jp=BigInt(2),x2=(e,t)=>(e+t/jp)/t;function k7(e){const t=Yx,n=BigInt(3),a=BigInt(6),s=BigInt(11),u=BigInt(22),l=BigInt(23),f=BigInt(44),d=BigInt(88),p=e*e*e%t,m=p*p*e%t,b=Tn(m,n,t)*m%t,g=Tn(b,n,t)*m%t,v=Tn(g,jp,t)*p%t,x=Tn(v,s,t)*v%t,S=Tn(x,u,t)*x%t,E=Tn(S,f,t)*S%t,R=Tn(E,d,t)*E%t,z=Tn(R,f,t)*S%t,M=Tn(z,n,t)*m%t,_=Tn(M,l,t)*x%t,C=Tn(_,a,t)*p%t,B=Tn(C,jp,t);if(!Dp.eql(Dp.sqr(B),e))throw new Error("Cannot find square root");return B}const Dp=Zs(Yx,void 0,void 0,{sqrt:k7}),kf=$f({a:L7,b:BigInt(7),Fp:Dp,n:w2,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:e=>{const t=w2,n=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),a=-$7*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),s=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),u=n,l=BigInt("0x100000000000000000000000000000000"),f=x2(u*e,t),d=x2(-a*e,t);let p=Kt(e-f*n-d*s,t),m=Kt(-f*a-d*u,t);const b=p>l,g=m>l;if(b&&(p=t-p),g&&(m=t-m),p>l||m>l)throw new Error("splitScalar: Endomorphism failed, k="+e);return{k1neg:b,k1:p,k2neg:g,k2:m}}}},qy),U7=Object.freeze(Object.defineProperty({__proto__:null,secp256k1:kf},Symbol.toStringTag,{value:"Module"}));function Uf(e,t={}){const{recovered:n}=t;if(typeof e.r>"u")throw new Qh({signature:e});if(typeof e.s>"u")throw new Qh({signature:e});if(n&&typeof e.yParity>"u")throw new Qh({signature:e});if(e.r<0n||e.r>d2)throw new V7({value:e.r});if(e.s<0n||e.s>d2)throw new K7({value:e.s});if(typeof e.yParity=="number"&&e.yParity!==0&&e.yParity!==1)throw new Df({value:e.yParity})}function j7(e){return am(dt(e))}function am(e){if(e.length!==130&&e.length!==132)throw new G7({signature:e});const t=BigInt(Ee(e,0,32)),n=BigInt(Ee(e,32,64)),a=(()=>{const s=+`0x${e.slice(130)}`;if(!Number.isNaN(s))try{return om(s)}catch{throw new Df({value:s})}})();return typeof a>"u"?{r:t,s:n}:{r:t,s:n,yParity:a}}function Zx(e){if(!(typeof e.r>"u")&&!(typeof e.s>"u"))return jf(e)}function jf(e){const t=typeof e=="string"?am(e):e instanceof Uint8Array?j7(e):typeof e.r=="string"?sm(e):e.v?D7(e):{r:e.r,s:e.s,...typeof e.yParity<"u"?{yParity:e.yParity}:{}};return Uf(t),t}function D7(e){return{r:e.r,s:e.s,yParity:om(e.v)}}function sm(e){const t=(()=>{const n=e.v?Number(e.v):void 0;let a=e.yParity?Number(e.yParity):void 0;if(typeof n=="number"&&typeof a!="number"&&(a=om(n)),typeof a!="number")throw new Df({value:e.yParity});return a})();return{r:BigInt(e.r),s:BigInt(e.s),yParity:t}}function H7(e){const[t,n,a]=e;return jf({r:n==="0x"?0n:BigInt(n),s:a==="0x"?0n:BigInt(a),yParity:t==="0x"?0:Number(t)})}function F7(e){Uf(e);const t=e.r,n=e.s;return Ve(oe(t,{size:32}),oe(n,{size:32}),typeof e.yParity=="number"?oe(um(e.yParity),{size:1}):"0x")}function Xx(e){const{r:t,s:n,yParity:a}=e;return{r:oe(t,{size:32}),s:oe(n,{size:32}),yParity:a===0?"0x0":"0x1"}}function q7(e){const{r:t,s:n,yParity:a}=e;return[a?"0x01":"0x",t===0n?"0x":zp(oe(t)),n===0n?"0x":zp(oe(n))]}function om(e){if(e===0||e===27)return 0;if(e===1||e===28)return 1;if(e>=35)return e%2===0?1:0;throw new Q7({value:e})}function um(e){if(e===0)return 27;if(e===1)return 28;throw new Df({value:e})}class G7 extends ye{constructor({signature:t}){super(`Value \\`${t}\\` is an invalid signature size.`,{metaMessages:["Expected: 64 bytes or 65 bytes.",`Received ${Ye(ec(t))} bytes.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidSerializedSizeError"})}}class Qh extends ye{constructor({signature:t}){super(`Signature \\`${Ys(t)}\\` is missing either an \\`r\\`, \\`s\\`, or \\`yParity\\` property.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.MissingPropertiesError"})}}class V7 extends ye{constructor({value:t}){super(`Value \\`${t}\\` is an invalid r value. r must be a positive integer less than 2^256.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidRError"})}}class K7 extends ye{constructor({value:t}){super(`Value \\`${t}\\` is an invalid s value. s must be a positive integer less than 2^256.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidSError"})}}class Df extends ye{constructor({value:t}){super(`Value \\`${t}\\` is an invalid y-parity value. Y-parity must be 0 or 1.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidYParityError"})}}class Q7 extends ye{constructor({value:t}){super(`Value \\`${t}\\` is an invalid v value. v must be 27, 28 or >=35.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidVError"})}}function Y7(e,t={}){return typeof e.chainId=="string"?Jx(e):{...e,...t.signature}}function Jx(e){const{address:t,chainId:n,nonce:a}=e,s=Zx(e);return{address:t,chainId:Number(n),nonce:BigInt(a),...s}}function Z7(e){return e.map(Jx)}function X7(e){const{address:t,chainId:n,nonce:a,...s}=e;return{address:t,chainId:oe(n),nonce:oe(a),...Xx(s)}}function J7(e){return e.map(X7)}const W7=new TextEncoder;Array.from("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/").map((e,t)=>[t,e.charCodeAt(0)]);const $l={...Object.fromEntries(Array.from("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/").map((e,t)=>[e.charCodeAt(0),t])),61:0,45:62,95:63};function eP(e){const t=e.replace(/=+$/,""),n=t.length,a=new Uint8Array(n+3);W7.encodeInto(t+"===",a);for(let u=0,l=0;u<t.length;u+=4,l+=3){const f=($l[a[u]]<<18)+($l[a[u+1]]<<12)+($l[a[u+2]]<<6)+$l[a[u+3]];a[l]=f>>16,a[l+1]=f>>8&255,a[l+2]=f&255}const s=(n>>2)*3+(n%4&&n%4-1);return new Uint8Array(a.buffer,0,s)}const Wx={legacy:"0x0",eip2930:"0x1",eip1559:"0x2",eip4844:"0x3",eip7702:"0x4"},e3={"0x0":"legacy","0x1":"eip2930","0x2":"eip1559","0x3":"eip4844","0x4":"eip7702"};function tP(e,t={}){if(!e)return null;const n=Zx(e),a={...e,...n};return a.blockNumber=e.blockNumber?BigInt(e.blockNumber):null,"blockTimestamp"in e&&(a.blockTimestamp=e.blockTimestamp?BigInt(e.blockTimestamp):e.blockTimestamp===null?null:void 0),a.data=e.input,a.gas=BigInt(e.gas??0n),a.nonce=BigInt(e.nonce??0n),a.transactionIndex=e.transactionIndex?Number(e.transactionIndex):null,a.value=BigInt(e.value??0n),e.authorizationList&&(a.authorizationList=Z7(e.authorizationList)),e.chainId&&(a.chainId=Number(e.chainId)),e.gasPrice&&(a.gasPrice=BigInt(e.gasPrice)),e.maxFeePerBlobGas&&(a.maxFeePerBlobGas=BigInt(e.maxFeePerBlobGas)),e.maxFeePerGas&&(a.maxFeePerGas=BigInt(e.maxFeePerGas)),e.maxPriorityFeePerGas&&(a.maxPriorityFeePerGas=BigInt(e.maxPriorityFeePerGas)),e.type&&(a.type=e3[e.type]??e.type),n&&(a.v=um(n.yParity)),a}function nP(e){return{address:e.address,amount:oe(e.amount),index:oe(e.index),validatorIndex:oe(e.validatorIndex)}}function rP(e){return{...typeof e.baseFeePerGas=="bigint"&&{baseFeePerGas:oe(e.baseFeePerGas)},...typeof e.blobBaseFee=="bigint"&&{blobBaseFee:oe(e.blobBaseFee)},...typeof e.feeRecipient=="string"&&{feeRecipient:e.feeRecipient},...typeof e.gasLimit=="bigint"&&{gasLimit:oe(e.gasLimit)},...typeof e.number=="bigint"&&{number:oe(e.number)},...typeof e.prevRandao=="bigint"&&{prevRandao:oe(e.prevRandao)},...typeof e.time=="bigint"&&{time:oe(e.time)},...e.withdrawals&&{withdrawals:e.withdrawals.map(nP)}}}function cm(e){return Ei(t3(e))}function t3(e){const{payload:t,signature:n}=e,{r:a,s,yParity:u}=n,f=new kf.Signature(BigInt(a),BigInt(s)).addRecoveryBit(u).recoverPublicKey(ec(t).substring(2));return TO(f)}function iP(e){const{hash:t,payload:n}=e;return e.address?Bp(e.address,cm({payload:n,signature:e.signature})):kf.verify(e.signature,Qy(n),RO(e.publicKey),...t?[{prehash:!0,lowS:!0}]:[])}const n3=Zs(BigInt("0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff")),aP=n3.create(BigInt("-3")),sP=BigInt("0x5ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b"),oP=$f({a:aP,b:sP,Fp:n3,n:BigInt("0xffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551"),Gx:BigInt("0x6b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296"),Gy:BigInt("0x4fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5"),h:BigInt(1),lowS:!1},qy),r3=Zs(BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff")),uP=r3.create(BigInt("-3")),cP=BigInt("0xb3312fa7e23ee7e4988e056be3f82d19181d9c6efe8141120314088f5013875ac656398d8a2ed19d2a85c8edd3ec2aef");$f({a:uP,b:cP,Fp:r3,n:BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52973"),Gx:BigInt("0xaa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab7"),Gy:BigInt("0x3617de4a96262c6f5d9e98bf9292dc29f8f41dbd289a147ce9da3113b5f0b8c00a60b1ce1d7e819d7a431d7c90ea0e5f"),h:BigInt(1),lowS:!1},F_);const i3=Zs(BigInt("0x1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff")),lP=i3.create(BigInt("-3")),fP=BigInt("0x0051953eb9618e1c9a1f929a21a0b68540eea2da725b99b315f3b8b489918ef109e156193951ec7e937b1652c0bd3bb1bf073573df883d2c34f1ef451fd46b503f00");$f({a:lP,b:fP,Fp:i3,n:BigInt("0x01fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa51868783bf2f966b7fcc0148f709a5d03bb5c9b8899c47aebb6fb71e91386409"),Gx:BigInt("0x00c6858e06b70404e9cd9e3ecb662395b4429c648139053fb521f828af606b4d3dbaa14b5e77efe75928fe1dc127a2ffa8de3348b3c1856a429bf97e7e31c2e5bd66"),Gy:BigInt("0x011839296a789a3bc0045c8a5fb42c7d1bd998f54449579b446817afbd17273e662c97ee72995ef42640c550b9013fad0761353c7086a272c24088be94769fd16650"),h:BigInt(1),lowS:!1,allowedPrivateKeyLengths:[130,131,132]},H_);const dP=oP;function a3(e){const{hash:t,payload:n,publicKey:a,signature:s}=e;return dP.verify(s,n instanceof Uint8Array?n:ki(n),Xy(a).substring(2),{lowS:!0,...t?{prehash:!0}:{}})}var Yh={exports:{}},S2;function hP(){return S2||(S2=1,(function(e){var t=Object.prototype.hasOwnProperty,n="~";function a(){}Object.create&&(a.prototype=Object.create(null),new a().__proto__||(n=!1));function s(d,p,m){this.fn=d,this.context=p,this.once=m||!1}function u(d,p,m,b,g){if(typeof m!="function")throw new TypeError("The listener must be a function");var v=new s(m,b||d,g),x=n?n+p:p;return d._events[x]?d._events[x].fn?d._events[x]=[d._events[x],v]:d._events[x].push(v):(d._events[x]=v,d._eventsCount++),d}function l(d,p){--d._eventsCount===0?d._events=new a:delete d._events[p]}function f(){this._events=new a,this._eventsCount=0}f.prototype.eventNames=function(){var p=[],m,b;if(this._eventsCount===0)return p;for(b in m=this._events)t.call(m,b)&&p.push(n?b.slice(1):b);return Object.getOwnPropertySymbols?p.concat(Object.getOwnPropertySymbols(m)):p},f.prototype.listeners=function(p){var m=n?n+p:p,b=this._events[m];if(!b)return[];if(b.fn)return[b.fn];for(var g=0,v=b.length,x=new Array(v);g<v;g++)x[g]=b[g].fn;return x},f.prototype.listenerCount=function(p){var m=n?n+p:p,b=this._events[m];return b?b.fn?1:b.length:0},f.prototype.emit=function(p,m,b,g,v,x){var S=n?n+p:p;if(!this._events[S])return!1;var E=this._events[S],R=arguments.length,z,M;if(E.fn){switch(E.once&&this.removeListener(p,E.fn,void 0,!0),R){case 1:return E.fn.call(E.context),!0;case 2:return E.fn.call(E.context,m),!0;case 3:return E.fn.call(E.context,m,b),!0;case 4:return E.fn.call(E.context,m,b,g),!0;case 5:return E.fn.call(E.context,m,b,g,v),!0;case 6:return E.fn.call(E.context,m,b,g,v,x),!0}for(M=1,z=new Array(R-1);M<R;M++)z[M-1]=arguments[M];E.fn.apply(E.context,z)}else{var _=E.length,C;for(M=0;M<_;M++)switch(E[M].once&&this.removeListener(p,E[M].fn,void 0,!0),R){case 1:E[M].fn.call(E[M].context);break;case 2:E[M].fn.call(E[M].context,m);break;case 3:E[M].fn.call(E[M].context,m,b);break;case 4:E[M].fn.call(E[M].context,m,b,g);break;default:if(!z)for(C=1,z=new Array(R-1);C<R;C++)z[C-1]=arguments[C];E[M].fn.apply(E[M].context,z)}}return!0},f.prototype.on=function(p,m,b){return u(this,p,m,b,!1)},f.prototype.once=function(p,m,b){return u(this,p,m,b,!0)},f.prototype.removeListener=function(p,m,b,g){var v=n?n+p:p;if(!this._events[v])return this;if(!m)return l(this,v),this;var x=this._events[v];if(x.fn)x.fn===m&&(!g||x.once)&&(!b||x.context===b)&&l(this,v);else{for(var S=0,E=[],R=x.length;S<R;S++)(x[S].fn!==m||g&&!x[S].once||b&&x[S].context!==b)&&E.push(x[S]);E.length?this._events[v]=E.length===1?E[0]:E:l(this,v)}return this},f.prototype.removeAllListeners=function(p){var m;return p?(m=n?n+p:p,this._events[m]&&l(this,m)):(this._events=new a,this._eventsCount=0),this},f.prototype.off=f.prototype.removeListener,f.prototype.addListener=f.prototype.on,f.prefixed=n,f.EventEmitter=f,e.exports=f})(Yh)),Yh.exports}var pP=hP();const yP=y5(pP);function mP(e){const t={};return typeof e.accessList<"u"&&(t.accessList=e.accessList),typeof e.authorizationList<"u"&&(t.authorizationList=J7(e.authorizationList)),typeof e.blobVersionedHashes<"u"&&(t.blobVersionedHashes=e.blobVersionedHashes),typeof e.blobs<"u"&&(t.blobs=e.blobs),typeof e.chainId<"u"&&(t.chainId=oe(e.chainId)),typeof e.data<"u"?(t.data=e.data,t.input=e.data):typeof e.input<"u"&&(t.data=e.input,t.input=e.input),typeof e.from<"u"&&(t.from=e.from),typeof e.gas<"u"&&(t.gas=oe(e.gas)),typeof e.gasPrice<"u"&&(t.gasPrice=oe(e.gasPrice)),typeof e.maxFeePerBlobGas<"u"&&(t.maxFeePerBlobGas=oe(e.maxFeePerBlobGas)),typeof e.maxFeePerGas<"u"&&(t.maxFeePerGas=oe(e.maxFeePerGas)),typeof e.maxPriorityFeePerGas<"u"&&(t.maxPriorityFeePerGas=oe(e.maxPriorityFeePerGas)),typeof e.maxPriorityFeePerGas<"u"&&(t.maxPriorityFeePerGas=oe(e.maxPriorityFeePerGas)),typeof e.nonce<"u"&&(t.nonce=oe(e.nonce)),typeof e.to<"u"&&(t.to=e.to),typeof e.type<"u"&&(t.type=Wx[e.type]||e.type),typeof e.value<"u"&&(t.value=oe(e.value)),t}const E2={wei:0,gwei:9,szabo:12,finney:15,ether:18};function bP(e,t=0){let n=e.toString();const a=n.startsWith("-");a&&(n=n.slice(1)),n=n.padStart(t,"0");let[s,u]=[n.slice(0,n.length-t),n.slice(n.length-t)];return u=u.replace(/(0+)$/,""),`${a?"-":""}${s||"0"}${u?`.${u}`:""}`}function Hp(e,t="wei"){return bP(e,E2.gwei-E2[t])}let gP=class extends ye{constructor({feeCap:t}={}){super(`The fee cap (\\`maxFeePerGas\\`/\\`maxPriorityFeePerGas\\`${t?` = ${Hp(t)} gwei`:""}) cannot be higher than the maximum allowed value (2^256-1).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"TransactionEnvelope.FeeCapTooHighError"})}},vP=class extends ye{constructor({chainId:t}){super(typeof t<"u"?`Chain ID "${t}" is invalid.`:"Chain ID is invalid."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"TransactionEnvelope.InvalidChainIdError"})}},wP=class extends ye{constructor({attributes:t,serialized:n,type:a}){const s=Object.entries(t).map(([u,l])=>typeof l>"u"?u:void 0).filter(Boolean);super(`Invalid serialized transaction of type "${a}" was provided.`,{metaMessages:[`Serialized Transaction: "${n}"`,s.length>0?`Missing Attributes: ${s.join(", ")}`:""].filter(Boolean)}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"TransactionEnvelope.InvalidSerializedError"})}},xP=class extends ye{constructor({maxPriorityFeePerGas:t,maxFeePerGas:n}={}){super([`The provided tip (\\`maxPriorityFeePerGas\\`${t?` = ${Hp(t)} gwei`:""}) cannot be higher than the fee cap (\\`maxFeePerGas\\`${n?` = ${Hp(n)} gwei`:""}).`].join(`\n`)),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"TransactionEnvelope.TipAboveFeeCapError"})}};function SP(e){const{challenge:t,metadata:n,origin:a,publicKey:s,rpId:u,signature:l}=e,{authenticatorData:f,clientDataJSON:d,userVerificationRequired:p}=n,m=ki(f);if(m.length<37)return!1;if(u!==void 0){const S=m.slice(0,32),E=u2($r(u),{as:"Bytes"});if(!fO(S,E))return!1}const b=m[32];if((b&1)!==1||p&&(b&4)!==4||(b&8)!==8&&(b&16)===16)return!1;const g=JSON.parse(d);if(g.type!=="webauthn.get"||!g.challenge||dt(eP(g.challenge))!==t||a!==void 0&&!(Array.isArray(a)?a:[a]).includes(g.origin))return!1;const v=u2(Yy(d),{as:"Bytes"}),x=cO(m,v);return a3({hash:!0,payload:x,publicKey:s,signature:l})}function EP(e){return SP(e)}const s3=new bC({defaultOptions:{queries:{gcTime:1e3*60*60*24,retry:!1,refetchOnWindowFocus:!1}}}),AP=zC({key:"tempo-admin",storage:typeof window>"u"?void 0:window.localStorage,serialize:Ys,deserialize:W_}),TP={maxAge:1e3*60*60*24,persister:AP,dehydrateOptions:{shouldDehydrateQuery:e=>e.queryKey[0]!=="config"&&kw(e)}};var MP=["added","removed","updated"];function A2(e){return MP.includes(e)}async function RP({queryClient:e,persister:t,maxAge:n=1e3*60*60*24,buster:a="",hydrateOptions:s}){try{const u=await t.restoreClient();if(u)if(u.timestamp){const l=Date.now()-u.timestamp>n,f=u.buster!==a;if(l||f)return t.removeClient();nC(e,u.clientState,s)}else return t.removeClient()}catch(u){throw await t.removeClient(),u}}async function T2({queryClient:e,persister:t,buster:n="",dehydrateOptions:a}){const s={buster:n,timestamp:Date.now(),clientState:tC(e,a)};await t.persistClient(s)}function CP(e){const t=e.queryClient.getQueryCache().subscribe(a=>{A2(a.type)&&T2(e)}),n=e.queryClient.getMutationCache().subscribe(a=>{A2(a.type)&&T2(e)});return()=>{t(),n()}}var _P=({children:e,persistOptions:t,onSuccess:n,onError:a,...s})=>{const[u,l]=re.useState(!0),f=re.useRef({persistOptions:t,onSuccess:n,onError:a}),d=re.useRef(!1);return re.useEffect(()=>{f.current={persistOptions:t,onSuccess:n,onError:a}}),re.useEffect(()=>{const p={...f.current.persistOptions,queryClient:s.client};return d.current||(d.current=!0,RP(p).then(()=>f.current.onSuccess?.()).catch(()=>f.current.onError?.()).finally(()=>{l(!1)})),u?void 0:CP(p)},[s.client,u]),V.jsx(gC,{...s,children:V.jsx(wC,{value:u,children:e})})};const o3=(...e)=>e.filter((t,n,a)=>!!t&&t.trim()!==""&&a.indexOf(t)===n).join(" ").trim();const OP=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const PP=e=>e.replace(/^([A-Z])|[\\s-_]+(\\w)/g,(t,n,a)=>a?a.toUpperCase():n.toLowerCase());const M2=e=>{const t=PP(e);return t.charAt(0).toUpperCase()+t.slice(1)};var Zh={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const zP=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1},BP=re.createContext({}),IP=()=>re.useContext(BP),NP=re.forwardRef(({color:e,size:t,strokeWidth:n,absoluteStrokeWidth:a,className:s="",children:u,iconNode:l,...f},d)=>{const{size:p=24,strokeWidth:m=2,absoluteStrokeWidth:b=!1,color:g="currentColor",className:v=""}=IP()??{},x=a??b?Number(n??m)*24/Number(t??p):n??m;return re.createElement("svg",{ref:d,...Zh,width:t??p??Zh.width,height:t??p??Zh.height,stroke:e??g,strokeWidth:x,className:o3("lucide",v,s),...!u&&!zP(f)&&{"aria-hidden":"true"},...f},[...l.map(([S,E])=>re.createElement(S,E)),...Array.isArray(u)?u:[u]])});const lm=(e,t)=>{const n=re.forwardRef(({className:a,...s},u)=>re.createElement(NP,{ref:u,iconNode:t,className:o3(`lucide-${OP(M2(e))}`,`lucide-${e}`,a),...s}));return n.displayName=M2(e),n};const LP=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],$P=lm("badge-check",LP);const kP=[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]],UP=lm("key-round",kP);const jP=[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]],u3=lm("log-out",jP);function Us(...e){return e.filter(Boolean).join(" ")}function c3(e,t){return{...e,...t,className:Us(e.className,t.className)}}let R2=!1;function Bs(e){const{children:t,className:n,disabled:a,icon:s,loading:u=!1,render:l,size:f="medium",variant:d="secondary",...p}=e,m=V.jsxs(V.Fragment,{children:[V.jsx("span",{"aria-hidden":"true",className:Us("pointer-events-none absolute inset-0 rounded-[inherit] border border-transparent",Bs.chromeClassName[d]),"data-button-chrome":!0}),V.jsxs("span",{className:"relative inline-flex items-center justify-center gap-[inherit]",children:[u?V.jsx(DP,{}):s?V.jsx("span",{className:"shrink-0",children:s}):null,t]})]}),b={className:Us("group relative inline-flex shrink-0 cursor-pointer items-center justify-center whitespace-nowrap rounded-button border border-transparent font-normal focus-visible:outline focus-visible:outline-[2px] focus-visible:outline-offset-[2px] focus-visible:outline-focus data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[loading]:pointer-events-none",Bs.sizeClassName[f],Bs.variantClassName[d],n),"data-disabled":a?"":void 0,"data-loading":u?"":void 0,...p};return l&&re.isValidElement(l)?re.cloneElement(l,c3(l.props,b),m):V.jsx("button",{...b,disabled:a||u,children:m})}(e=>{e.variantClassName={negative:"text-on-negative",primary:"text-on-accent",secondary:"text-foreground"},e.chromeClassName={negative:"bg-negative group-hover:bg-negative-hover group-active:bg-negative-active group-hover:group-active:bg-negative-active",primary:"bg-accent group-hover:bg-accent-hover group-active:bg-accent-active group-hover:group-active:bg-accent-active",secondary:"bg-secondary group-hover:bg-secondary-hover group-active:bg-secondary-active group-hover:group-active:bg-secondary-active"},e.sizeClassName={large:"h-[44px] gap-[8px] px-[22px] button-16",medium:"h-[40px] gap-[8px] px-[16px] button-14",small:"h-[32px] gap-[6px] px-[12px] button-12"};function t(a){const s=re.useContext(t.Context),{children:u,className:l,plain:f=!1,ref:d,size:p="sm",title:m,variant:b,...g}=a,v=f?"plain":b??s?.variant??"default";return f&&HP(),V.jsx("button",{"aria-label":g["aria-label"]??m,className:Us("inline-flex shrink-0 cursor-pointer items-center justify-center rounded-button text-foreground-secondary focus-visible:outline focus-visible:outline-[2px] focus-visible:outline-offset-[2px] focus-visible:outline-focus",t.variantClassName[v],t.sizeClassName[p],l),ref:d,type:"button",...g,children:u})}e.Icon=t,(a=>{a.Context=re.createContext(void 0),a.variantClassName={default:"bg-secondary hover:bg-secondary-hover hover:text-foreground-secondary-hover active:bg-secondary-active",plain:"hover:bg-surface-hover hover:text-foreground-secondary-hover active:bg-surface-active active:text-foreground",surface:"border border-border bg-surface hover:bg-secondary-hover hover:text-foreground active:bg-secondary-active active:text-foreground"},a.sizeClassName={lg:"h-[32px] w-[32px] [&>svg]:h-[16px] [&>svg]:w-[16px]",md:"h-[32px] w-[32px] [&>svg]:h-[14px] [&>svg]:w-[14px]",sm:"h-[24px] w-[24px] [&>svg]:h-[12px] [&>svg]:w-[12px]",xs:"h-[20px] w-[20px] [&>svg]:h-[10px] [&>svg]:w-[10px]"}})(t=e.Icon||(e.Icon={}));function n(a){const{children:s,className:u,disabled:l,prefix:f,render:d,size:p="medium",suffix:m,...b}=a,g=V.jsxs(V.Fragment,{children:[f&&V.jsx("span",{className:"shrink-0",children:f}),s,m&&V.jsx("span",{className:"shrink-0",children:m})]}),v={className:Us("inline-flex shrink-0 cursor-pointer items-center justify-center gap-[4px] whitespace-nowrap rounded-button font-normal text-foreground-secondary hover:bg-surface-hover hover:text-foreground-secondary-hover active:bg-surface-active active:text-foreground [&:hover:active]:bg-surface-active [&:hover:active]:text-foreground focus-visible:outline focus-visible:outline-[2px] focus-visible:outline-offset-[2px] focus-visible:outline-focus data-[disabled]:pointer-events-none data-[disabled]:opacity-50",n.sizeClassName[p],u),"data-disabled":l?"":void 0,...b};return d&&re.isValidElement(d)?re.cloneElement(d,c3(d.props,v),g):V.jsx("button",{...v,disabled:l,children:g})}e.Text=n,(a=>{a.sizeClassName={large:"px-[6px] py-[3px] label-14",medium:"px-[6px] py-[3px] label-13",small:"px-[5px] py-[2px] label-12"}})(n=e.Text||(e.Text={}))})(Bs||(Bs={}));function DP(){return V.jsx("svg",{className:"h-[16px] w-[16px] animate-rgn-spin",viewBox:"0 0 16 16",fill:"none","aria-hidden":!0,children:Array.from({length:12},(e,t)=>V.jsx("line",{x1:"8",y1:"1.5",x2:"8",y2:"4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",opacity:.15+t/12*.85,transform:`rotate(${t*30} 8 8)`},t))})}function HP(){R2||(R2=!0,console.warn(\'Button.Icon: plain is deprecated. Use variant="plain" instead.\'))}function wa(e){const{address:t,className:n,size:a=64}=e,{angle:s,gradient:u}=wa.getParts(_n(t,{as:"Bytes"})),f=`g-${re.useId().replace(/[^a-zA-Z0-9_-]/g,"")}-${t.slice(2,10)}`;return V.jsxs("svg",{className:Us("rounded-identicon",n),height:a,viewBox:"0 0 1 1",width:a,xmlns:"http://www.w3.org/2000/svg",children:[V.jsx("defs",{children:V.jsxs("linearGradient",{gradientTransform:`rotate(${s} .5 .5)`,id:f,children:[V.jsx("stop",{offset:"0%",stopColor:C2(u.from)}),V.jsx("stop",{offset:"100%",stopColor:C2(u.to)})]})}),V.jsx("rect",{fill:`url(#${f})`,height:"1",width:"1"})]})}(e=>{e.lcValues={dark:"68% 0.21",light:"66% 0.22"},e.angleBands=[[25,65],[115,155],[205,245],[295,335]],e.hueDelta=[28,72];function t(n){const[a,s]=e.angleBands[(n[2]??0)%e.angleBands.length]??e.angleBands[0],u=Math.round((((n[0]??0)<<8)+(n[1]??0))/65535*359),l=_2(n[4]??0,e.hueDelta[0],e.hueDelta[1]),f=(n[5]??0)%2===0?1:-1,d=(u+f*l+360)%360;return{angle:_2(n[3]??0,a,s),gradient:{from:u,to:d}}}e.getParts=t})(wa||(wa={}));function C2(e){return`light-dark(\n oklch(${wa.lcValues.light} ${e}),\n oklch(${wa.lcValues.dark} ${e})\n )`}function _2(e,t,n){return t+Math.round(e/255*(n-t))}const Fp=[{inputs:[{components:[{name:"target",type:"address"},{name:"allowFailure",type:"bool"},{name:"callData",type:"bytes"}],name:"calls",type:"tuple[]"}],name:"aggregate3",outputs:[{components:[{name:"success",type:"bool"},{name:"returnData",type:"bytes"}],name:"returnData",type:"tuple[]"}],stateMutability:"view",type:"function"},{inputs:[{name:"addr",type:"address"}],name:"getEthBalance",outputs:[{name:"balance",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getCurrentBlockTimestamp",outputs:[{internalType:"uint256",name:"timestamp",type:"uint256"}],stateMutability:"view",type:"function"}],Lk=[{name:"query",type:"function",stateMutability:"view",inputs:[{type:"tuple[]",name:"queries",components:[{type:"address",name:"sender"},{type:"string[]",name:"urls"},{type:"bytes",name:"data"}]}],outputs:[{type:"bool[]",name:"failures"},{type:"bytes[]",name:"responses"}]},{name:"HttpError",type:"error",inputs:[{type:"uint16",name:"status"},{type:"string",name:"message"}]}],l3=[{name:"isValidSignature",type:"function",stateMutability:"view",inputs:[{name:"hash",type:"bytes32"},{name:"signature",type:"bytes"}],outputs:[{name:"",type:"bytes4"}]}],O2=[{inputs:[{name:"_signer",type:"address"},{name:"_hash",type:"bytes32"},{name:"_signature",type:"bytes"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[{name:"_signer",type:"address"},{name:"_hash",type:"bytes32"},{name:"_signature",type:"bytes"}],outputs:[{type:"bool"}],stateMutability:"nonpayable",type:"function",name:"isValidSig"}];function Ci(e,{includeName:t=!1}={}){if(e.type!=="function"&&e.type!=="event"&&e.type!=="error")throw new nz(e.type);return`${e.name}(${Hf(e.inputs,{includeName:t})})`}function Hf(e,{includeName:t=!1}={}){return e?e.map(n=>FP(n,{includeName:t})).join(t?", ":","):""}function FP(e,{includeName:t}){return e.type.startsWith("tuple")?`(${Hf(e.components,{includeName:t})})${e.type.slice(5)}`:e.type+(t&&e.name?` ${e.name}`:"")}function zr(e,{strict:t=!0}={}){return!e||typeof e!="string"?!1:t?/^0x[0-9a-fA-F]*$/.test(e):e.startsWith("0x")}function st(e){return zr(e,{strict:!1})?Math.ceil((e.length-2)/2):e.length}const f3="2.54.1";let Xh={getDocsUrl:({docsBaseUrl:e,docsPath:t="",docsSlug:n})=>t?`${e??"https://viem.sh"}${t}${n?`#${n}`:""}`:void 0,version:`viem@${f3}`},ie=class qp extends Error{constructor(t,n={}){const a=n.cause instanceof qp?n.cause.details:n.cause?.message?n.cause.message:n.details,s=n.cause instanceof qp&&n.cause.docsPath||n.docsPath,u=Xh.getDocsUrl?.({...n,docsPath:s}),l=[t||"An error occurred.","",...n.metaMessages?[...n.metaMessages,""]:[],...u?[`Docs: ${u}`]:[],...a?[`Details: ${a}`]:[],...Xh.version?[`Version: ${Xh.version}`]:[]].join(`\n`);super(l,n.cause?{cause:n.cause}:void 0),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"metaMessages",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"version",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BaseError"}),this.details=a,this.docsPath=s,this.metaMessages=n.metaMessages,this.name=n.name??this.name,this.shortMessage=t,this.version=f3}walk(t){return d3(this,t)}};function d3(e,t){return t?.(e)?e:e&&typeof e=="object"&&"cause"in e&&e.cause!==void 0?d3(e.cause,t):t?null:e}class qP extends ie{constructor({docsPath:t}){super(["A constructor was not found on the ABI.","Make sure you are using the correct ABI and that the constructor exists on it."].join(`\n`),{docsPath:t,name:"AbiConstructorNotFoundError"})}}class P2 extends ie{constructor({docsPath:t}){super(["Constructor arguments were provided (`args`), but a constructor parameters (`inputs`) were not found on the ABI.","Make sure you are using the correct ABI, and that the `inputs` attribute on the constructor exists."].join(`\n`),{docsPath:t,name:"AbiConstructorParamsNotFoundError"})}}class h3 extends ie{constructor({data:t,params:n,size:a}){super([`Data size of ${a} bytes is too small for given parameters.`].join(`\n`),{metaMessages:[`Params: (${Hf(n,{includeName:!0})})`,`Data: ${t} (${a} bytes)`],name:"AbiDecodingDataSizeTooSmallError"}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"params",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"size",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=t,this.params=n,this.size=a}}class fm extends ie{constructor({cause:t}={}){super(\'Cannot decode zero data ("0x") with ABI parameters.\',{name:"AbiDecodingZeroDataError",cause:t})}}class GP extends ie{constructor({expectedLength:t,givenLength:n,type:a}){super([`ABI encoding array length mismatch for type ${a}.`,`Expected length: ${t}`,`Given length: ${n}`].join(`\n`),{name:"AbiEncodingArrayLengthMismatchError"})}}class VP extends ie{constructor({expectedSize:t,value:n}){super(`Size of bytes "${n}" (bytes${st(n)}) does not match expected size (bytes${t}).`,{name:"AbiEncodingBytesSizeMismatchError"})}}class KP extends ie{constructor({expectedLength:t,givenLength:n}){super(["ABI encoding params/values length mismatch.",`Expected length (params): ${t}`,`Given length (values): ${n}`].join(`\n`),{name:"AbiEncodingLengthMismatchError"})}}class $k extends ie{constructor(t,{docsPath:n}){super([`Arguments (\\`args\\`) were provided to "${t}", but "${t}" on the ABI does not contain any parameters (\\`inputs\\`).`,"Cannot encode error result without knowing what the parameter types are.","Make sure you are using the correct ABI and that the inputs exist on it."].join(`\n`),{docsPath:n,name:"AbiErrorInputsNotFoundError"})}}class kk extends ie{constructor(t,{docsPath:n}={}){super([`Error ${t?`"${t}" `:""}not found on ABI.`,"Make sure you are using the correct ABI and that the error exists on it."].join(`\n`),{docsPath:n,name:"AbiErrorNotFoundError"})}}class p3 extends ie{constructor(t,{docsPath:n,cause:a}){super([`Encoded error signature "${t}" not found on ABI.`,"Make sure you are using the correct ABI and that the error exists on it.",`You can look up the decoded signature here: https://4byte.sourcify.dev/?q=${t}.`].join(`\n`),{docsPath:n,name:"AbiErrorSignatureNotFoundError",cause:a}),Object.defineProperty(this,"signature",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.signature=t}}class QP extends ie{constructor({docsPath:t}){super("Cannot extract event signature from empty topics.",{docsPath:t,name:"AbiEventSignatureEmptyTopicsError"})}}class YP extends ie{constructor(t,{docsPath:n}){super([`Encoded event signature "${t}" not found on ABI.`,"Make sure you are using the correct ABI and that the event exists on it.",`You can look up the signature here: https://4byte.sourcify.dev/?q=${t}.`].join(`\n`),{docsPath:n,name:"AbiEventSignatureNotFoundError"})}}class pf extends ie{constructor(t,{docsPath:n}={}){super([`Function ${t?`"${t}" `:""}not found on ABI.`,"Make sure you are using the correct ABI and that the function exists on it."].join(`\n`),{docsPath:n,name:"AbiFunctionNotFoundError"})}}class ZP extends ie{constructor(t,{docsPath:n}){super([`Function "${t}" does not contain any \\`outputs\\` on ABI.`,"Cannot decode function result without knowing what the parameter types are.","Make sure you are using the correct ABI and that the function exists on it."].join(`\n`),{docsPath:n,name:"AbiFunctionOutputsNotFoundError"})}}class Uk extends ie{constructor(t,{docsPath:n}){super([`Encoded function signature "${t}" not found on ABI.`,"Make sure you are using the correct ABI and that the function exists on it.",`You can look up the signature here: https://4byte.sourcify.dev/?q=${t}.`].join(`\n`),{docsPath:n,name:"AbiFunctionSignatureNotFoundError"})}}class XP extends ie{constructor(t,n){super("Found ambiguous types in overloaded ABI items.",{metaMessages:[`\\`${t.type}\\` in \\`${Ci(t.abiItem)}\\`, and`,`\\`${n.type}\\` in \\`${Ci(n.abiItem)}\\``,"","These types encode differently and cannot be distinguished at runtime.","Remove one of the ambiguous items in the ABI."],name:"AbiItemAmbiguityError"})}}class z2 extends ie{constructor({abiItem:t,data:n,params:a,size:s}){super([`Data size of ${s} bytes is too small for non-indexed event parameters.`].join(`\n`),{metaMessages:[`Params: (${Hf(a,{includeName:!0})})`,`Data: ${n} (${s} bytes)`],name:"DecodeLogDataMismatch"}),Object.defineProperty(this,"abiItem",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"params",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"size",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.abiItem=t,this.data=n,this.params=a,this.size=s}}class JP extends ie{constructor({abiItem:t,param:n}){super([`Expected a topic for indexed event parameter${n.name?` "${n.name}"`:""} on event "${Ci(t,{includeName:!0})}".`].join(`\n`),{name:"DecodeLogTopicsMismatch"}),Object.defineProperty(this,"abiItem",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.abiItem=t}}class WP extends ie{constructor(t,{docsPath:n}){super([`Type "${t}" is not a valid encoding type.`,"Please provide a valid ABI type."].join(`\n`),{docsPath:n,name:"InvalidAbiEncodingType"})}}class ez extends ie{constructor(t,{docsPath:n}){super([`Type "${t}" is not a valid decoding type.`,"Please provide a valid ABI type."].join(`\n`),{docsPath:n,name:"InvalidAbiDecodingType"})}}class tz extends ie{constructor(t){super([`Value "${t}" is not a valid array.`].join(`\n`),{name:"InvalidArrayError"})}}class nz extends ie{constructor(t){super([`"${t}" is not a valid definition type.`,\'Valid types: "function", "event", "error"\'].join(`\n`),{name:"InvalidDefinitionTypeError"})}}class Rn extends ie{constructor({address:t}){super(`Address "${t}" is invalid.`,{metaMessages:["- Address must be a hex value of 20 bytes (40 hex characters).","- Address must match its checksum counterpart."],name:"InvalidAddressError"})}}class y3 extends ie{constructor({offset:t,position:n,size:a}){super(`Slice ${n==="start"?"starting":"ending"} at offset "${t}" is out-of-bounds (size: ${a}).`,{name:"SliceOffsetOutOfBoundsError"})}}class m3 extends ie{constructor({size:t,targetSize:n,type:a}){super(`${a.charAt(0).toUpperCase()}${a.slice(1).toLowerCase()} size (${t}) exceeds padding size (${n}).`,{name:"SizeExceedsPaddingSizeError"})}}class B2 extends ie{constructor({size:t,targetSize:n,type:a}){super(`${a.charAt(0).toUpperCase()}${a.slice(1).toLowerCase()} is expected to be ${n} ${a} long, but is ${t} ${a} long.`,{name:"InvalidBytesLengthError"})}}function Xs(e,{dir:t,size:n=32}={}){return typeof e=="string"?Ai(e,{dir:t,size:n}):rz(e,{dir:t,size:n})}function Ai(e,{dir:t,size:n=32}={}){if(n===null)return e;const a=e.replace("0x","");if(a.length>n*2)throw new m3({size:Math.ceil(a.length/2),targetSize:n,type:"hex"});return`0x${a[t==="right"?"padEnd":"padStart"](n*2,"0")}`}function rz(e,{dir:t,size:n=32}={}){if(n===null)return e;if(e.length>n)throw new m3({size:e.length,targetSize:n,type:"bytes"});const a=new Uint8Array(n);for(let s=0;s<n;s++){const u=t==="right";a[u?s:n-s-1]=e[u?s:e.length-s-1]}return a}class dm extends ie{constructor({max:t,min:n,signed:a,size:s,value:u}){super(`Number "${u}" is not in safe ${s?`${s*8}-bit ${a?"signed":"unsigned"} `:""}integer range ${t?`(${n} to ${t})`:`(above ${n})`}`,{name:"IntegerOutOfRangeError"})}}class iz extends ie{constructor(t){super(`Bytes value "${t}" is not a valid boolean. The bytes array must contain a single byte of either a 0 or 1 value.`,{name:"InvalidBytesBooleanError"})}}class az extends ie{constructor(t){super(`Hex value "${t}" is not a valid boolean. The hex value must be "0x0" (false) or "0x1" (true).`,{name:"InvalidHexBooleanError"})}}class sz extends ie{constructor({givenSize:t,maxSize:n}){super(`Size cannot exceed ${n} bytes. Given size: ${t} bytes.`,{name:"SizeOverflowError"})}}function Qn(e,{dir:t="left"}={}){let n=typeof e=="string"?e.replace("0x",""):e,a=0;for(let s=0;s<n.length-1&&n[t==="left"?s:n.length-s-1].toString()==="0";s++)a++;return n=t==="left"?n.slice(a):n.slice(0,n.length-a),typeof e=="string"?(n.length===1&&t==="right"&&(n=`${n}0`),`0x${n.length%2===1?`0${n}`:n}`):n}function kn(e,{size:t}){if(st(e)>t)throw new sz({givenSize:st(e),maxSize:t})}function xa(e,t={}){const{signed:n}=t;t.size&&kn(e,{size:t.size});const a=BigInt(e);if(!n)return a;const s=(e.length-2)/2,u=(1n<<BigInt(s)*8n-1n)-1n;return a<=u?a:a-BigInt(`0x${"f".padStart(s*2,"f")}`)-1n}function oz(e,t={}){let n=e;if(t.size&&(kn(n,{size:t.size}),n=Qn(n)),Qn(n)==="0x00")return!1;if(Qn(n)==="0x01")return!0;throw new az(n)}function _i(e,t={}){const n=xa(e,t),a=Number(n);if(!Number.isSafeInteger(a))throw new dm({max:`${Number.MAX_SAFE_INTEGER}`,min:`${Number.MIN_SAFE_INTEGER}`,signed:t.signed,size:t.size,value:`${n}n`});return a}const uz=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function xu(e,t={}){return typeof e=="number"||typeof e=="bigint"?he(e,t):typeof e=="string"?g3(e,t):typeof e=="boolean"?b3(e,t):Pt(e,t)}function b3(e,t={}){const n=`0x${Number(e)}`;return typeof t.size=="number"?(kn(n,{size:t.size}),Xs(n,{size:t.size})):n}function Pt(e,t={}){let n="";for(let s=0;s<e.length;s++)n+=uz[e[s]];const a=`0x${n}`;return typeof t.size=="number"?(kn(a,{size:t.size}),Xs(a,{dir:"right",size:t.size})):a}function he(e,t={}){const{signed:n,size:a}=t,s=BigInt(e);let u;a?n?u=(1n<<BigInt(a)*8n-1n)-1n:u=2n**(BigInt(a)*8n)-1n:typeof e=="number"&&(u=BigInt(Number.MAX_SAFE_INTEGER));const l=typeof u=="bigint"&&n?-u-1n:0;if(u&&s>u||s<l){const d=typeof e=="bigint"?"n":"";throw new dm({max:u?`${u}${d}`:void 0,min:`${l}${d}`,signed:n,size:a,value:`${e}${d}`})}const f=`0x${(n&&s<0?(1n<<BigInt(a*8))+BigInt(s):s).toString(16)}`;return a?Xs(f,{size:a}):f}const cz=new TextEncoder;function g3(e,t={}){const n=cz.encode(e);return Pt(n,t)}const lz=new TextEncoder;function Ff(e,t={}){return typeof e=="number"||typeof e=="bigint"?dz(e,t):typeof e=="boolean"?fz(e,t):zr(e)?Zn(e,t):v3(e,t)}function fz(e,t={}){const n=new Uint8Array(1);return n[0]=Number(e),typeof t.size=="number"?(kn(n,{size:t.size}),Xs(n,{size:t.size})):n}const xr={zero:48,nine:57,A:65,F:70,a:97,f:102};function I2(e){if(e>=xr.zero&&e<=xr.nine)return e-xr.zero;if(e>=xr.A&&e<=xr.F)return e-(xr.A-10);if(e>=xr.a&&e<=xr.f)return e-(xr.a-10)}function Zn(e,t={}){let n=e;t.size&&(kn(n,{size:t.size}),n=Xs(n,{dir:"right",size:t.size}));let a=n.slice(2);a.length%2&&(a=`0${a}`);const s=a.length/2,u=new Uint8Array(s);for(let l=0,f=0;l<s;l++){const d=I2(a.charCodeAt(f++)),p=I2(a.charCodeAt(f++));if(d===void 0||p===void 0)throw new ie(`Invalid byte sequence ("${a[f-2]}${a[f-1]}" in "${a}").`);u[l]=d*16+p}return u}function dz(e,t){const n=he(e,t);return Zn(n)}function v3(e,t={}){const n=lz.encode(e);return typeof t.size=="number"?(kn(n,{size:t.size}),Xs(n,{dir:"right",size:t.size})):n}function Js(e,t){const n=t||"hex",a=cx(zr(e,{strict:!1})?Ff(e):e);return n==="bytes"?a:xu(a)}class tc extends Map{constructor(t){super(),Object.defineProperty(this,"maxSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.maxSize=t}get(t){const n=super.get(t);return super.has(t)&&(super.delete(t),super.set(t,n)),n}set(t,n){if(super.has(t)&&super.delete(t),super.set(t,n),this.maxSize&&this.size>this.maxSize){const a=super.keys().next().value;a!==void 0&&super.delete(a)}return this}}const hz=/^0x[a-fA-F0-9]{40}$/,Jh=new tc(8192);function $t(e,t){const{strict:n=!0}=t??{},a=`${e}.${n}`;if(Jh.has(a))return Jh.get(a);const s=hz.test(e)?e.toLowerCase()===e?!0:n?qf(e)===e:!0:!1;return Jh.set(a,s),s}const Wh=new tc(8192);function qf(e,t){if(Wh.has(`${e}.${t}`))return Wh.get(`${e}.${t}`);const n=e.substring(2).toLowerCase(),a=Js(v3(n),"bytes"),s=n.split("");for(let l=0;l<40;l+=2)a[l>>1]>>4>=8&&s[l]&&(s[l]=s[l].toUpperCase()),(a[l>>1]&15)>=8&&s[l+1]&&(s[l+1]=s[l+1].toUpperCase());const u=`0x${s.join("")}`;return Wh.set(`${e}.${t}`,u),u}function fa(e,t){if(!$t(e,{strict:!1}))throw new Rn({address:e});return qf(e,t)}class N2 extends ie{constructor({offset:t}){super(`Offset \\`${t}\\` cannot be negative.`,{name:"NegativeOffsetError"})}}class w3 extends ie{constructor({length:t,position:n}){super(`Position \\`${n}\\` is out of bounds (\\`0 < position < ${t}\\`).`,{name:"PositionOutOfBoundsError"})}}class pz extends ie{constructor({count:t,limit:n}){super(`Recursive read limit of \\`${n}\\` exceeded (recursive read count: \\`${t}\\`).`,{name:"RecursiveReadLimitExceededError"})}}const yz={bytes:new Uint8Array,dataView:new DataView(new ArrayBuffer(0)),position:0,positionReadCount:new Map,recursiveReadCount:0,recursiveReadLimit:Number.POSITIVE_INFINITY,assertReadLimit(){if(this.recursiveReadCount>=this.recursiveReadLimit)throw new pz({count:this.recursiveReadCount+1,limit:this.recursiveReadLimit})},assertPosition(e){if(e<0||e>this.bytes.length-1)throw new w3({length:this.bytes.length,position:e})},decrementPosition(e){if(e<0)throw new N2({offset:e});const t=this.position-e;this.assertPosition(t),this.position=t},getReadCount(e){return this.positionReadCount.get(e||this.position)||0},incrementPosition(e){if(e<0)throw new N2({offset:e});const t=this.position+e;this.assertPosition(t),this.position=t},inspectByte(e){const t=e??this.position;return this.assertPosition(t),this.bytes[t]},inspectBytes(e,t){const n=t??this.position;return this.assertPosition(n+e-1),this.bytes.subarray(n,n+e)},inspectUint8(e){const t=e??this.position;return this.assertPosition(t),this.bytes[t]},inspectUint16(e){const t=e??this.position;return this.assertPosition(t+1),this.dataView.getUint16(t)},inspectUint24(e){const t=e??this.position;return this.assertPosition(t+2),(this.dataView.getUint16(t)<<8)+this.dataView.getUint8(t+2)},inspectUint32(e){const t=e??this.position;return this.assertPosition(t+3),this.dataView.getUint32(t)},pushByte(e){this.assertPosition(this.position),this.bytes[this.position]=e,this.position++},pushBytes(e){this.assertPosition(this.position+e.length-1),this.bytes.set(e,this.position),this.position+=e.length},pushUint8(e){this.assertPosition(this.position),this.bytes[this.position]=e,this.position++},pushUint16(e){this.assertPosition(this.position+1),this.dataView.setUint16(this.position,e),this.position+=2},pushUint24(e){this.assertPosition(this.position+2),this.dataView.setUint16(this.position,e>>8),this.dataView.setUint8(this.position+2,e&255),this.position+=3},pushUint32(e){this.assertPosition(this.position+3),this.dataView.setUint32(this.position,e),this.position+=4},readByte(){this.assertReadLimit(),this._touch();const e=this.inspectByte();return this.position++,e},readBytes(e,t){this.assertReadLimit(),this._touch();const n=this.inspectBytes(e);return this.position+=t??e,n},readUint8(){this.assertReadLimit(),this._touch();const e=this.inspectUint8();return this.position+=1,e},readUint16(){this.assertReadLimit(),this._touch();const e=this.inspectUint16();return this.position+=2,e},readUint24(){this.assertReadLimit(),this._touch();const e=this.inspectUint24();return this.position+=3,e},readUint32(){this.assertReadLimit(),this._touch();const e=this.inspectUint32();return this.position+=4,e},get remaining(){return this.bytes.length-this.position},setPosition(e){const t=this.position;return this.assertPosition(e),this.position=e,()=>this.position=t},_touch(){if(this.recursiveReadLimit===Number.POSITIVE_INFINITY)return;const e=this.getReadCount();this.positionReadCount.set(this.position,e+1),e>0&&this.recursiveReadCount++}};function hm(e,{recursiveReadLimit:t=8192}={}){const n=Object.create(yz);return n.bytes=e,n.dataView=new DataView(e.buffer??e,e.byteOffset,e.byteLength),n.positionReadCount=new Map,n.recursiveReadLimit=t,n}function Su(e,t,n,{strict:a}={}){return zr(e,{strict:!1})?mz(e,t,n,{strict:a}):E3(e,t,n,{strict:a})}function x3(e,t){if(typeof t=="number"&&t>0&&t>st(e)-1)throw new y3({offset:t,position:"start",size:st(e)})}function S3(e,t,n){if(typeof t=="number"&&typeof n=="number"&&st(e)!==n-t)throw new y3({offset:n,position:"end",size:st(e)})}function E3(e,t,n,{strict:a}={}){x3(e,t);const s=e.slice(t,n);return a&&S3(s,t,n),s}function mz(e,t,n,{strict:a}={}){x3(e,t);const s=`0x${e.replace("0x","").slice((t??0)*2,(n??e.length)*2)}`;return a&&S3(s,t,n),s}function bz(e,t={}){typeof t.size<"u"&&kn(e,{size:t.size});const n=Pt(e,t);return xa(n,t)}function gz(e,t={}){let n=e;if(typeof t.size<"u"&&(kn(n,{size:t.size}),n=Qn(n)),n.length>1||n[0]>1)throw new iz(n);return!!n[0]}function _r(e,t={}){typeof t.size<"u"&&kn(e,{size:t.size});const n=Pt(e,t);return _i(n,t)}function vz(e,t={}){let n=e;return typeof t.size<"u"&&(kn(n,{size:t.size}),n=Qn(n,{dir:"right"})),new TextDecoder().decode(n)}function Oi(e){return typeof e[0]=="string"?kr(e):wz(e)}function wz(e){let t=0;for(const s of e)t+=s.length;const n=new Uint8Array(t);let a=0;for(const s of e)n.set(s,a),a+=s.length;return n}function kr(e){return`0x${e.reduce((t,n)=>t+n.replace("0x",""),"")}`}const xz=/^(u?int)(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/;function A3(e,t){if(e.length!==t.length)throw new KP({expectedLength:e.length,givenLength:t.length});const n=Sz({params:e,values:t}),a=ym(n);return a.length===0?"0x":a}function Sz({params:e,values:t}){const n=[];for(let a=0;a<e.length;a++)n.push(pm({param:e[a],value:t[a]}));return n}function pm({param:e,value:t}){const n=mm(e.type);if(n){const[a,s]=n;return Az(t,{length:a,param:{...e,type:s}})}if(e.type==="tuple")return _z(t,{param:e});if(e.type==="address")return Ez(t);if(e.type==="bool")return Mz(t);if(e.type.startsWith("uint")||e.type.startsWith("int")){const a=e.type.startsWith("int"),[,,s="256"]=xz.exec(e.type)??[];return Rz(t,{signed:a,size:Number(s)})}if(e.type.startsWith("bytes"))return Tz(t,{param:e});if(e.type==="string")return Cz(t);throw new WP(e.type,{docsPath:"/docs/contract/encodeAbiParameters"})}function ym(e){let t=0;for(let u=0;u<e.length;u++){const{dynamic:l,encoded:f}=e[u];l?t+=32:t+=st(f)}const n=[],a=[];let s=0;for(let u=0;u<e.length;u++){const{dynamic:l,encoded:f}=e[u];l?(n.push(he(t+s,{size:32})),a.push(f),s+=st(f)):n.push(f)}return Oi([...n,...a])}function Ez(e){if(!$t(e))throw new Rn({address:e});return{dynamic:!1,encoded:Ai(e.toLowerCase())}}function Az(e,{length:t,param:n}){const a=t===null;if(!Array.isArray(e))throw new tz(e);if(!a&&e.length!==t)throw new GP({expectedLength:t,givenLength:e.length,type:`${n.type}[${t}]`});let s=!1;const u=[];for(let l=0;l<e.length;l++){const f=pm({param:n,value:e[l]});f.dynamic&&(s=!0),u.push(f)}if(a||s){const l=ym(u);if(a){const f=he(u.length,{size:32});return{dynamic:!0,encoded:u.length>0?Oi([f,l]):f}}if(s)return{dynamic:!0,encoded:l}}return{dynamic:!1,encoded:Oi(u.map(({encoded:l})=>l))}}function Tz(e,{param:t}){const[,n]=t.type.split("bytes"),a=st(e);if(!n){let s=e;return a%32!==0&&(s=Ai(s,{dir:"right",size:Math.ceil((e.length-2)/2/32)*32})),{dynamic:!0,encoded:Oi([Ai(he(a,{size:32})),s])}}if(a!==Number.parseInt(n,10))throw new VP({expectedSize:Number.parseInt(n,10),value:e});return{dynamic:!1,encoded:Ai(e,{dir:"right"})}}function Mz(e){if(typeof e!="boolean")throw new ie(`Invalid boolean value: "${e}" (type: ${typeof e}). Expected: \\`true\\` or \\`false\\`.`);return{dynamic:!1,encoded:Ai(b3(e))}}function Rz(e,{signed:t,size:n=256}){if(typeof n=="number"){const a=2n**(BigInt(n)-(t?1n:0n))-1n,s=t?-a-1n:0n;if(e>a||e<s)throw new dm({max:a.toString(),min:s.toString(),signed:t,size:n/8,value:e.toString()})}return{dynamic:!1,encoded:he(e,{size:32,signed:t})}}function Cz(e){const t=g3(e),n=Math.ceil(st(t)/32),a=[];for(let s=0;s<n;s++)a.push(Ai(Su(t,s*32,(s+1)*32),{dir:"right"}));return{dynamic:!0,encoded:Oi([Ai(he(st(t),{size:32})),...a])}}function _z(e,{param:t}){let n=!1;const a=[];for(let s=0;s<t.components.length;s++){const u=t.components[s],l=Array.isArray(e)?s:u.name,f=pm({param:u,value:e[l]});a.push(f),f.dynamic&&(n=!0)}return{dynamic:n,encoded:n?ym(a):Oi(a.map(({encoded:s})=>s))}}function mm(e){const t=e.match(/^(.*)\\[(\\d+)?\\]$/);return t?[t[2]?Number(t[2]):null,t[1]]:void 0}function Gf(e,t){const n=typeof t=="string"?Zn(t):t,a=hm(n);if(st(n)===0&&e.length>0)throw new fm;if(st(t)&&st(t)<32)throw new h3({data:typeof t=="string"?t:Pt(t),params:e,size:st(t)});let s=0;const u=[];for(let l=0;l<e.length;++l){const f=e[l];a.setPosition(s);const[d,p]=Is(a,f,{staticPosition:0});s+=p,u.push(d)}return u}function Is(e,t,{staticPosition:n}){const a=mm(t.type);if(a){const[s,u]=a;return Pz(e,{...t,type:u},{length:s,staticPosition:n})}if(t.type==="tuple")return Nz(e,t,{staticPosition:n});if(t.type==="address")return Oz(e);if(t.type==="bool")return zz(e);if(t.type.startsWith("bytes"))return Bz(e,t,{staticPosition:n});if(t.type.startsWith("uint")||t.type.startsWith("int"))return Iz(e,t);if(t.type==="string")return Lz(e,{staticPosition:n});throw new ez(t.type,{docsPath:"/docs/contract/decodeAbiParameters"})}const L2=32,Gp=32;function Oz(e){const t=e.readBytes(32);return[qf(Pt(E3(t,-20))),32]}function Pz(e,t,{length:n,staticPosition:a}){if(!n){const l=_r(e.readBytes(Gp)),f=a+l,d=f+L2;e.setPosition(f);const p=_r(e.readBytes(L2)),m=Eu(t);let b=0;const g=[];for(let v=0;v<p;++v){e.setPosition(d+(m?v*32:b));const[x,S]=Is(e,t,{staticPosition:d});b+=S,g.push(x)}return e.setPosition(a+32),[g,32]}if(Eu(t)){const l=_r(e.readBytes(Gp)),f=a+l,d=[];for(let p=0;p<n;++p){e.setPosition(f+p*32);const[m]=Is(e,t,{staticPosition:f});d.push(m)}return e.setPosition(a+32),[d,32]}let s=0;const u=[];for(let l=0;l<n;++l){const[f,d]=Is(e,t,{staticPosition:a+s});s+=d,u.push(f)}return[u,s]}function zz(e){return[gz(e.readBytes(32),{size:32}),32]}function Bz(e,t,{staticPosition:n}){const[a,s]=t.type.split("bytes");if(!s){const l=_r(e.readBytes(32));e.setPosition(n+l);const f=_r(e.readBytes(32));if(f===0)return e.setPosition(n+32),["0x",32];const d=e.readBytes(f);return e.setPosition(n+32),[Pt(d),32]}return[Pt(e.readBytes(Number.parseInt(s,10),32)),32]}function Iz(e,t){const n=t.type.startsWith("int"),a=Number.parseInt(t.type.split("int")[1]||"256",10),s=e.readBytes(32);return[a>48?bz(s,{signed:n}):_r(s,{signed:n}),32]}function Nz(e,t,{staticPosition:n}){const a=t.components.length===0||t.components.some(({name:l})=>!l),s=a?[]:{};let u=0;if(Eu(t)){const l=_r(e.readBytes(Gp)),f=n+l;for(let d=0;d<t.components.length;++d){const p=t.components[d];e.setPosition(f+u);const[m,b]=Is(e,p,{staticPosition:f});u+=b,s[a?d:p?.name]=m}return e.setPosition(n+32),[s,32]}for(let l=0;l<t.components.length;++l){const f=t.components[l],[d,p]=Is(e,f,{staticPosition:n});s[a?l:f?.name]=d,u+=p}return[s,u]}function Lz(e,{staticPosition:t}){const n=_r(e.readBytes(32)),a=t+n;e.setPosition(a);const s=_r(e.readBytes(32));if(s===0)return e.setPosition(t+32),["",32];const u=e.readBytes(s,32),l=vz(Qn(u));return e.setPosition(t+32),[l,32]}function Eu(e){const{type:t}=e;if(t==="string"||t==="bytes"||t.endsWith("[]"))return!0;if(t==="tuple")return e.components?.some(Eu);const n=mm(e.type);return!!(n&&Eu({...e,type:n[1]}))}const $z=e=>Js(Ff(e));function kz(e){return $z(e)}const Uz="1.2.3";class kt extends Error{constructor(t,n={}){const a=n.cause instanceof kt?n.cause.details:n.cause?.message?n.cause.message:n.details,s=n.cause instanceof kt&&n.cause.docsPath||n.docsPath,u=[t||"An error occurred.","",...n.metaMessages?[...n.metaMessages,""]:[],...s?[`Docs: https://abitype.dev${s}`]:[],...a?[`Details: ${a}`]:[],`Version: abitype@${Uz}`].join(`\n`);super(u),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"metaMessages",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiTypeError"}),n.cause&&(this.cause=n.cause),this.details=a,this.docsPath=s,this.metaMessages=n.metaMessages,this.shortMessage=t}}function Ur(e,t){return e.exec(t)?.groups}const T3=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,M3=/^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/,R3=/^\\(.+?\\).*?$/,$2=/^tuple(?<array>(\\[(\\d*)\\])*)$/;function Vp(e){let t=e.type;if($2.test(e.type)&&"components"in e){t="(";const n=e.components.length;for(let s=0;s<n;s++){const u=e.components[s];t+=Vp(u),s<n-1&&(t+=", ")}const a=Ur($2,e.type);return t+=`)${a?.array||""}`,Vp({...e,type:t})}return"indexed"in e&&e.indexed&&(t=`${t} indexed`),e.name?`${t} ${e.name}`:t}function au(e){let t="";const n=e.length;for(let a=0;a<n;a++){const s=e[a];t+=Vp(s),a!==n-1&&(t+=", ")}return t}function jz(e){return e.type==="function"?`function ${e.name}(${au(e.inputs)})${e.stateMutability&&e.stateMutability!=="nonpayable"?` ${e.stateMutability}`:""}${e.outputs?.length?` returns (${au(e.outputs)})`:""}`:e.type==="event"?`event ${e.name}(${au(e.inputs)})`:e.type==="error"?`error ${e.name}(${au(e.inputs)})`:e.type==="constructor"?`constructor(${au(e.inputs)})${e.stateMutability==="payable"?" payable":""}`:e.type==="fallback"?`fallback() external${e.stateMutability==="payable"?" payable":""}`:"receive() external payable"}const C3=/^error (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\\((?<parameters>.*?)\\)$/;function Dz(e){return C3.test(e)}function Hz(e){return Ur(C3,e)}const _3=/^event (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\\((?<parameters>.*?)\\)$/;function Fz(e){return _3.test(e)}function qz(e){return Ur(_3,e)}const O3=/^function (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\\((?<parameters>.*?)\\)(?: (?<scope>external|public{1}))?(?: (?<stateMutability>pure|view|nonpayable|payable{1}))?(?: returns\\s?\\((?<returns>.*?)\\))?$/;function Gz(e){return O3.test(e)}function Vz(e){return Ur(O3,e)}const P3=/^struct (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*) \\{(?<properties>.*?)\\}$/;function z3(e){return P3.test(e)}function Kz(e){return Ur(P3,e)}const B3=/^constructor\\((?<parameters>.*?)\\)(?:\\s(?<stateMutability>payable{1}))?$/;function Qz(e){return B3.test(e)}function Yz(e){return Ur(B3,e)}const I3=/^fallback\\(\\) external(?:\\s(?<stateMutability>payable{1}))?$/;function Zz(e){return I3.test(e)}function Xz(e){return Ur(I3,e)}const Jz=/^receive\\(\\) external payable$/;function Wz(e){return Jz.test(e)}const eB=new Set(["indexed"]),Kp=new Set(["calldata","memory","storage"]);class tB extends kt{constructor({type:t}){super("Unknown type.",{metaMessages:[`Type "${t}" is not a valid ABI type. Perhaps you forgot to include a struct signature?`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownTypeError"})}}class nB extends kt{constructor({type:t}){super("Unknown type.",{metaMessages:[`Type "${t}" is not a valid ABI type.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownSolidityTypeError"})}}class rB extends kt{constructor({param:t}){super("Invalid ABI parameter.",{details:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParameterError"})}}class iB extends kt{constructor({param:t,name:n}){super("Invalid ABI parameter.",{details:t,metaMessages:[`"${n}" is a protected Solidity keyword. More info: https://docs.soliditylang.org/en/latest/cheatsheet.html`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SolidityProtectedKeywordError"})}}class aB extends kt{constructor({param:t,type:n,modifier:a}){super("Invalid ABI parameter.",{details:t,metaMessages:[`Modifier "${a}" not allowed${n?` in "${n}" type`:""}.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidModifierError"})}}class sB extends kt{constructor({param:t,type:n,modifier:a}){super("Invalid ABI parameter.",{details:t,metaMessages:[`Modifier "${a}" not allowed${n?` in "${n}" type`:""}.`,`Data location can only be specified for array, struct, or mapping types, but "${a}" was given.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidFunctionModifierError"})}}class oB extends kt{constructor({abiParameter:t}){super("Invalid ABI parameter.",{details:JSON.stringify(t,null,2),metaMessages:["ABI parameter type is invalid."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiTypeParameterError"})}}class Ws extends kt{constructor({signature:t,type:n}){super(`Invalid ${n} signature.`,{details:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidSignatureError"})}}class uB extends kt{constructor({signature:t}){super("Unknown signature.",{details:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownSignatureError"})}}class cB extends kt{constructor({signature:t}){super("Invalid struct signature.",{details:t,metaMessages:["No properties exist."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidStructSignatureError"})}}class lB extends kt{constructor({type:t}){super("Circular reference detected.",{metaMessages:[`Struct "${t}" is a circular reference.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"CircularReferenceError"})}}class fB extends kt{constructor({current:t,depth:n}){super("Unbalanced parentheses.",{metaMessages:[`"${t.trim()}" has too many ${n>0?"opening":"closing"} parentheses.`],details:`Depth "${n}"`}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParenthesisError"})}}function dB(e,t,n){let a="";if(n)for(const s of Object.entries(n)){if(!s)continue;let u="";for(const l of s[1])u+=`[${l.type}${l.name?`:${l.name}`:""}]`;a+=`(${s[0]}{${u}})`}return t?`${t}:${e}${a}`:`${e}${a}`}const ep=new Map([["address",{type:"address"}],["bool",{type:"bool"}],["bytes",{type:"bytes"}],["bytes32",{type:"bytes32"}],["int",{type:"int256"}],["int256",{type:"int256"}],["string",{type:"string"}],["uint",{type:"uint256"}],["uint8",{type:"uint8"}],["uint16",{type:"uint16"}],["uint24",{type:"uint24"}],["uint32",{type:"uint32"}],["uint64",{type:"uint64"}],["uint96",{type:"uint96"}],["uint112",{type:"uint112"}],["uint160",{type:"uint160"}],["uint192",{type:"uint192"}],["uint256",{type:"uint256"}],["address owner",{type:"address",name:"owner"}],["address to",{type:"address",name:"to"}],["bool approved",{type:"bool",name:"approved"}],["bytes _data",{type:"bytes",name:"_data"}],["bytes data",{type:"bytes",name:"data"}],["bytes signature",{type:"bytes",name:"signature"}],["bytes32 hash",{type:"bytes32",name:"hash"}],["bytes32 r",{type:"bytes32",name:"r"}],["bytes32 root",{type:"bytes32",name:"root"}],["bytes32 s",{type:"bytes32",name:"s"}],["string name",{type:"string",name:"name"}],["string symbol",{type:"string",name:"symbol"}],["string tokenURI",{type:"string",name:"tokenURI"}],["uint tokenId",{type:"uint256",name:"tokenId"}],["uint8 v",{type:"uint8",name:"v"}],["uint256 balance",{type:"uint256",name:"balance"}],["uint256 tokenId",{type:"uint256",name:"tokenId"}],["uint256 value",{type:"uint256",name:"value"}],["event:address indexed from",{type:"address",name:"from",indexed:!0}],["event:address indexed to",{type:"address",name:"to",indexed:!0}],["event:uint indexed tokenId",{type:"uint256",name:"tokenId",indexed:!0}],["event:uint256 indexed tokenId",{type:"uint256",name:"tokenId",indexed:!0}]]);function hB(e,t={}){if(Gz(e))return pB(e,t);if(Fz(e))return yB(e,t);if(Dz(e))return mB(e,t);if(Qz(e))return bB(e,t);if(Zz(e))return gB(e);if(Wz(e))return{type:"receive",stateMutability:"payable"};throw new uB({signature:e})}function pB(e,t={}){const n=Vz(e);if(!n)throw new Ws({signature:e,type:"function"});const a=Nn(n.parameters),s=[],u=a.length;for(let f=0;f<u;f++)s.push(Sa(a[f],{modifiers:Kp,structs:t,type:"function"}));const l=[];if(n.returns){const f=Nn(n.returns),d=f.length;for(let p=0;p<d;p++)l.push(Sa(f[p],{modifiers:Kp,structs:t,type:"function"}))}return{name:n.name,type:"function",stateMutability:n.stateMutability??"nonpayable",inputs:s,outputs:l}}function yB(e,t={}){const n=qz(e);if(!n)throw new Ws({signature:e,type:"event"});const a=Nn(n.parameters),s=[],u=a.length;for(let l=0;l<u;l++)s.push(Sa(a[l],{modifiers:eB,structs:t,type:"event"}));return{name:n.name,type:"event",inputs:s}}function mB(e,t={}){const n=Hz(e);if(!n)throw new Ws({signature:e,type:"error"});const a=Nn(n.parameters),s=[],u=a.length;for(let l=0;l<u;l++)s.push(Sa(a[l],{structs:t,type:"error"}));return{name:n.name,type:"error",inputs:s}}function bB(e,t={}){const n=Yz(e);if(!n)throw new Ws({signature:e,type:"constructor"});const a=Nn(n.parameters),s=[],u=a.length;for(let l=0;l<u;l++)s.push(Sa(a[l],{structs:t,type:"constructor"}));return{type:"constructor",stateMutability:n.stateMutability??"nonpayable",inputs:s}}function gB(e){const t=Xz(e);if(!t)throw new Ws({signature:e,type:"fallback"});return{type:"fallback",stateMutability:t.stateMutability??"nonpayable"}}const vB=/^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*(?:\\spayable)?)(?<array>(?:\\[\\d*?\\])+?)?(?:\\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,wB=/^\\((?<type>.+?)\\)(?<array>(?:\\[\\d*?\\])+?)?(?:\\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,xB=/^u?int$/;function Sa(e,t){const n=dB(e,t?.type,t?.structs);if(ep.has(n))return ep.get(n);const a=R3.test(e),s=Ur(a?wB:vB,e);if(!s)throw new rB({param:e});if(s.name&&EB(s.name))throw new iB({param:e,name:s.name});const u=s.name?{name:s.name}:{},l=s.modifier==="indexed"?{indexed:!0}:{},f=t?.structs??{};let d,p={};if(a){d="tuple";const b=Nn(s.type),g=[],v=b.length;for(let x=0;x<v;x++)g.push(Sa(b[x],{structs:f}));p={components:g}}else if(s.type in f)d="tuple",p={components:f[s.type]};else if(xB.test(s.type))d=`${s.type}256`;else if(s.type==="address payable")d="address";else if(d=s.type,t?.type!=="struct"&&!N3(d))throw new nB({type:d});if(s.modifier){if(!t?.modifiers?.has?.(s.modifier))throw new aB({param:e,type:t?.type,modifier:s.modifier});if(Kp.has(s.modifier)&&!AB(d,!!s.array))throw new sB({param:e,type:t?.type,modifier:s.modifier})}const m={type:`${d}${s.array??""}`,...u,...l,...p};return ep.set(n,m),m}function Nn(e,t=[],n="",a=0){const s=e.trim().length;for(let u=0;u<s;u++){const l=e[u],f=e.slice(u+1);switch(l){case",":return a===0?Nn(f,[...t,n.trim()]):Nn(f,t,`${n}${l}`,a);case"(":return Nn(f,t,`${n}${l}`,a+1);case")":return Nn(f,t,`${n}${l}`,a-1);default:return Nn(f,t,`${n}${l}`,a)}}if(n==="")return t;if(a!==0)throw new fB({current:n,depth:a});return t.push(n.trim()),t}function N3(e){return e==="address"||e==="bool"||e==="function"||e==="string"||T3.test(e)||M3.test(e)}const SB=/^(?:after|alias|anonymous|apply|auto|byte|calldata|case|catch|constant|copyof|default|defined|error|event|external|false|final|function|immutable|implements|in|indexed|inline|internal|let|mapping|match|memory|mutable|null|of|override|partial|private|promise|public|pure|reference|relocatable|return|returns|sizeof|static|storage|struct|super|supports|switch|this|true|try|typedef|typeof|var|view|virtual)$/;function EB(e){return e==="address"||e==="bool"||e==="function"||e==="string"||e==="tuple"||T3.test(e)||M3.test(e)||SB.test(e)}function AB(e,t){return t||e==="bytes"||e==="string"||e==="tuple"}function TB(e){const t={},n=e.length;for(let l=0;l<n;l++){const f=e[l];if(!z3(f))continue;const d=Kz(f);if(!d)throw new Ws({signature:f,type:"struct"});const p=d.properties.split(";"),m=[],b=p.length;for(let g=0;g<b;g++){const x=p[g].trim();if(!x)continue;const S=Sa(x,{type:"struct"});m.push(S)}if(!m.length)throw new cB({signature:f});t[d.name]=m}const a={},s=Object.entries(t),u=s.length;for(let l=0;l<u;l++){const[f,d]=s[l];a[f]=L3(d,t)}return a}const MB=/^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*)(?<array>(?:\\[\\d*?\\])+?)?$/;function L3(e=[],t={},n=new Set){const a=[],s=e.length;for(let u=0;u<s;u++){const l=e[u];if(R3.test(l.type))a.push(l);else{const d=Ur(MB,l.type);if(!d?.type)throw new oB({abiParameter:l});const{array:p,type:m}=d;if(m in t){if(n.has(m))throw new lB({type:m});a.push({...l,type:`tuple${p??""}`,components:L3(t[m],t,new Set([...n,m]))})}else if(N3(m))a.push(l);else throw new tB({type:m})}}return a}function $3(e){const t=TB(e),n=[],a=e.length;for(let s=0;s<a;s++){const u=e[s];z3(u)||n.push(hB(u,t))}return n}function RB(e){let t=!0,n="",a=0,s="",u=!1;for(let l=0;l<e.length;l++){const f=e[l];if(["(",")",","].includes(f)&&(t=!0),f==="("&&a++,f===")"&&a--,!!t){if(a===0){if(f===" "&&["event","function",""].includes(s))s="";else if(s+=f,f===")"){u=!0;break}continue}if(f===" "){e[l-1]!==","&&n!==","&&n!==",("&&(n="",t=!1);continue}s+=f,n+=f}}if(!u)throw new ie("Unable to normalize signature.");return s}const CB=e=>{const t=typeof e=="string"?e:jz(e);return RB(t)};function k3(e){return kz(CB(e))}const bm=k3,gm=e=>Su(k3(e),0,4);function vm(e){const{abi:t,args:n=[],name:a}=e,s=zr(a,{strict:!1}),u=t.filter(f=>s?f.type==="function"?gm(f)===a:f.type==="event"?bm(f)===a:!1:"name"in f&&f.name===a);if(u.length===0)return;if(u.length===1)return u[0];let l;for(const f of u){if(!("inputs"in f))continue;if(!n||n.length===0){if(!f.inputs||f.inputs.length===0)return f;continue}if(!f.inputs||f.inputs.length===0||f.inputs.length!==n.length)continue;if(n.every((p,m)=>{const b="inputs"in f&&f.inputs[m];return b?Qp(p,b):!1})){if(l&&"inputs"in l&&l.inputs){const p=U3(f.inputs,l.inputs,n);if(p)throw new XP({abiItem:f,type:p[0]},{abiItem:l,type:p[1]})}l=f}}return l||u[0]}function Qp(e,t){const n=typeof e,a=t.type;switch(a){case"address":return $t(e,{strict:!1});case"bool":return n==="boolean";case"function":return n==="string";case"string":return n==="string";default:return a==="tuple"&&"components"in t?Object.values(t.components).every((s,u)=>n==="object"&&Qp(Object.values(e)[u],s)):/^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/.test(a)?n==="number"||n==="bigint":/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/.test(a)?n==="string"||e instanceof Uint8Array:/[a-z]+[1-9]{0,3}(\\[[0-9]{0,}\\])+$/.test(a)?Array.isArray(e)&&e.every(s=>Qp(s,{...t,type:a.replace(/(\\[[0-9]{0,}\\])$/,"")})):!1}}function U3(e,t,n){for(const a in e){const s=e[a],u=t[a];if(s.type==="tuple"&&u.type==="tuple"&&"components"in s&&"components"in u)return U3(s.components,u.components,n[a]);const l=[s.type,u.type];if(l.includes("address")&&l.includes("bytes20")?!0:l.includes("address")&&l.includes("string")?$t(n[a],{strict:!1}):l.includes("address")&&l.includes("bytes")?$t(n[a],{strict:!1}):!1)return l}}const tp="/docs/contract/decodeFunctionResult";function j3(e){const{abi:t,args:n,functionName:a,data:s}=e;let u=t[0];if(a){const f=vm({abi:t,args:n,name:a});if(!f)throw new pf(a,{docsPath:tp});u=f}if(u.type!=="function")throw new pf(void 0,{docsPath:tp});if(!u.outputs)throw new ZP(u.name,{docsPath:tp});const l=Gf(u.outputs,s);if(l&&l.length>1)return l;if(l&&l.length===1)return l[0]}const k2="/docs/contract/encodeFunctionData";function _B(e){const{abi:t,args:n,functionName:a}=e;let s=t[0];if(a){const u=vm({abi:t,args:n,name:a});if(!u)throw new pf(a,{docsPath:k2});s=u}if(s.type!=="function")throw new pf(void 0,{docsPath:k2});return{abi:[s],functionName:gm(Ci(s))}}function eo(e){const{args:t}=e,{abi:n,functionName:a}=e.abi.length===1&&e.functionName?.startsWith("0x")?e:_B(e),s=n[0],u=a,l="inputs"in s&&s.inputs?A3(s.inputs,t??[]):void 0;return kr([u,l??"0x"])}class Yp extends ie{constructor({blockNumber:t,chain:n,contract:a}){super(`Chain "${n.name}" does not support contract "${a.name}".`,{metaMessages:["This could be due to any of the following:",...t&&a.blockCreated&&a.blockCreated>t?[`- The contract "${a.name}" was not deployed until block ${a.blockCreated} (current block ${t}).`]:[`- The chain does not have the contract "${a.name}" configured.`]],name:"ChainDoesNotSupportContract"})}}class OB extends ie{constructor({chain:t,currentChainId:n}){super(`The current chain of the wallet (id: ${n}) does not match the target chain for the transaction (id: ${t.id} – ${t.name}).`,{metaMessages:[`Current Chain ID: ${n}`,`Expected Chain ID: ${t.id} – ${t.name}`],name:"ChainMismatchError"})}}class PB extends ie{constructor(){super(["No chain was provided to the request.","Please provide a chain with the `chain` argument on the Action, or by supplying a `chain` to WalletClient."].join(`\n`),{name:"ChainNotFoundError"})}}class D3 extends ie{constructor(){super("No chain was provided to the Client.",{name:"ClientChainNotConfiguredError"})}}class Vf extends ie{constructor({chainId:t}){super(typeof t=="number"?`Chain ID "${t}" is invalid.`:"Chain ID is invalid.",{name:"InvalidChainIdError"})}}function zB({blockNumber:e,chain:t,contract:n}){const a=t?.contracts?.[n];if(!a)throw new Yp({chain:t,contract:{name:n}});if(e&&a.blockCreated&&a.blockCreated>e)throw new Yp({blockNumber:e,chain:t,contract:{name:n,blockCreated:a.blockCreated}});return a.address}function Et(e){return typeof e=="string"?{address:e,type:"json-rpc"}:e}const BB={1:"An `assert` condition failed.",17:"Arithmetic operation resulted in underflow or overflow.",18:"Division or modulo by zero (e.g. `5 / 0` or `23 % 0`).",33:"Attempted to convert to an invalid type.",34:"Attempted to access a storage byte array that is incorrectly encoded.",49:"Performed `.pop()` on an empty array",50:"Array index is out of bounds.",65:"Allocated too much memory or created an array which is too large.",81:"Attempted to call a zero-initialized variable of internal function type."},IB={inputs:[{name:"message",type:"string"}],name:"Error",type:"error"},NB={inputs:[{name:"reason",type:"uint256"}],name:"Panic",type:"error"};function LB(e){const{abi:t,data:n,cause:a}=e,s=Su(n,0,4);if(s==="0x")throw new fm({cause:a});const l=[...t||[],IB,NB].find(f=>f.type==="error"&&s===gm(Ci(f)));if(!l)throw new p3(s,{docsPath:"/docs/contract/decodeErrorResult",cause:a});return{abiItem:l,args:"inputs"in l&&l.inputs&&l.inputs.length>0?Gf(l.inputs,Su(n,4)):void 0,errorName:l.name}}const Ti=(e,t,n)=>JSON.stringify(e,(a,s)=>typeof s=="bigint"?s.toString():s,n);function H3({abiItem:e,args:t,includeFunctionName:n=!0,includeName:a=!1}){if("name"in e&&"inputs"in e&&e.inputs)return`${n?e.name:""}(${e.inputs.map((s,u)=>`${a&&s.name?`${s.name}: `:""}${typeof t[u]=="object"?Ti(t[u]):t[u]}`).join(", ")})`}const $B={gwei:9,wei:18},kB={ether:-9,wei:9};function F3(e,t){let n=e.toString();const a=n.startsWith("-");a&&(n=n.slice(1)),n=n.padStart(t,"0");let[s,u]=[n.slice(0,n.length-t),n.slice(n.length-t)];return u=u.replace(/(0+)$/,""),`${a?"-":""}${s||"0"}${u?`.${u}`:""}`}function wm(e,t="wei"){return F3(e,$B[t])}function Xt(e,t="wei"){return F3(e,kB[t])}class UB extends ie{constructor({address:t}){super(`State for account "${t}" is set multiple times.`,{name:"AccountStateConflictError"})}}class jB extends ie{constructor(){super("state and stateDiff are set on the same account.",{name:"StateAssignmentConflictError"})}}function U2(e){return e.reduce((t,{slot:n,value:a})=>`${t} ${n}: ${a}\n`,"")}function DB(e){return e.reduce((t,{address:n,...a})=>{let s=`${t} ${n}:\n`;return a.nonce&&(s+=` nonce: ${a.nonce}\n`),a.balance&&(s+=` balance: ${a.balance}\n`),a.code&&(s+=` code: ${a.code}\n`),a.state&&(s+=` state:\n`,s+=U2(a.state)),a.stateDiff&&(s+=` stateDiff:\n`,s+=U2(a.stateDiff)),s},` State Override:\n`).slice(0,-1)}function nc(e){const t=Object.entries(e).map(([a,s])=>s===void 0||s===!1?null:[a,s]).filter(Boolean),n=t.reduce((a,[s])=>Math.max(a,s.length),0);return t.map(([a,s])=>` ${`${a}:`.padEnd(n+1)} ${s}`).join(`\n`)}class HB extends ie{constructor({v:t}){super(`Invalid \\`v\\` value "${t}". Expected 27 or 28.`,{name:"InvalidLegacyVError"})}}class FB extends ie{constructor({transaction:t}){super("Cannot infer a transaction type from provided transaction.",{metaMessages:["Provided Transaction:","{",nc(t),"}","","To infer the type, either provide:","- a `type` to the Transaction, or","- an EIP-1559 Transaction with `maxFeePerGas`, or","- an EIP-2930 Transaction with `gasPrice` & `accessList`, or","- an EIP-4844 Transaction with `blobs`, `blobVersionedHashes`, `sidecars`, or","- an EIP-7702 Transaction with `authorizationList`, or","- a Legacy Transaction with `gasPrice`"],name:"InvalidSerializableTransactionError"})}}class qB extends ie{constructor({storageKey:t}){super(`Size for storage key "${t}" is invalid. Expected 32 bytes. Got ${Math.floor((t.length-2)/2)} bytes.`,{name:"InvalidStorageKeySizeError"})}}class GB extends ie{constructor(t,{account:n,docsPath:a,chain:s,data:u,gas:l,gasPrice:f,maxFeePerGas:d,maxPriorityFeePerGas:p,nonce:m,to:b,value:g}){const v=nc({chain:s&&`${s?.name} (id: ${s?.id})`,from:n?.address,to:b,value:typeof g<"u"&&`${wm(g)} ${s?.nativeCurrency?.symbol||"ETH"}`,data:u,gas:l,gasPrice:typeof f<"u"&&`${Xt(f)} gwei`,maxFeePerGas:typeof d<"u"&&`${Xt(d)} gwei`,maxPriorityFeePerGas:typeof p<"u"&&`${Xt(p)} gwei`,nonce:m});super(t.shortMessage,{cause:t,docsPath:a,metaMessages:[...t.metaMessages?[...t.metaMessages," "]:[],"Request Arguments:",v].filter(Boolean),name:"TransactionExecutionError"}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=t}}const VB=e=>e;function Pi(e){if(e?.reason)return e.reason;if(typeof DOMException=="function")return new DOMException("This operation was aborted","AbortError");const t=new Error("This operation was aborted");return t.name="AbortError",t}function to(e){return typeof e=="object"&&e!==null&&"name"in e&&e.name==="AbortError"}const xm=e=>{try{const t=new URL(e);return!t.username&&!t.password?e:(t.username="",t.password="",t.toString())}catch{return e}};class q3 extends ie{constructor(t,{account:n,docsPath:a,chain:s,data:u,gas:l,gasPrice:f,maxFeePerGas:d,maxPriorityFeePerGas:p,nonce:m,to:b,value:g,stateOverride:v}){const x=n?Et(n):void 0;let S=nc({from:x?.address,to:b,value:typeof g<"u"&&`${wm(g)} ${s?.nativeCurrency?.symbol||"ETH"}`,data:u,gas:l,gasPrice:typeof f<"u"&&`${Xt(f)} gwei`,maxFeePerGas:typeof d<"u"&&`${Xt(d)} gwei`,maxPriorityFeePerGas:typeof p<"u"&&`${Xt(p)} gwei`,nonce:m});v&&(S+=`\n${DB(v)}`),super(t.shortMessage,{cause:t,docsPath:a,metaMessages:[...t.metaMessages?[...t.metaMessages," "]:[],"Raw Call Arguments:",S].filter(Boolean),name:"CallExecutionError"}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=t}}class G3 extends ie{constructor(t,{abi:n,args:a,contractAddress:s,docsPath:u,functionName:l,sender:f}){const d=vm({abi:n,args:a,name:l}),p=d?H3({abiItem:d,args:a,includeFunctionName:!1,includeName:!1}):void 0,m=d?Ci(d,{includeName:!0}):void 0,b=nc({address:s&&VB(s),function:m,args:p&&p!=="()"&&`${[...Array(l?.length??0).keys()].map(()=>" ").join("")}${p}`,sender:f});super(t.shortMessage||`An unknown error occurred while executing the contract function "${l}".`,{cause:t,docsPath:u,metaMessages:[...t.metaMessages?[...t.metaMessages," "]:[],b&&"Contract Call:",b].filter(Boolean),name:"ContractFunctionExecutionError"}),Object.defineProperty(this,"abi",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"args",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"contractAddress",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"formattedArgs",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"functionName",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"sender",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.abi=n,this.args=a,this.cause=t,this.contractAddress=s,this.functionName=l,this.sender=f}}class KB extends ie{constructor({abi:t,data:n,functionName:a,message:s,cause:u}){let l,f,d,p;if(n&&n!=="0x")try{f=LB({abi:t,data:n,cause:u});const{abiItem:b,errorName:g,args:v}=f;if(g==="Error")p=v[0];else if(g==="Panic"){const[x]=v;p=BB[x]}else{const x=b?Ci(b,{includeName:!0}):void 0,S=b&&v?H3({abiItem:b,args:v,includeFunctionName:!1,includeName:!1}):void 0;d=[x?`Error: ${x}`:"",S&&S!=="()"?` ${[...Array(g?.length??0).keys()].map(()=>" ").join("")}${S}`:""]}}catch(b){l=b}else s&&(p=s);let m;l instanceof p3&&(m=l.signature,d=[`Unable to decode signature "${m}" as it was not found on the provided ABI.`,"Make sure you are using the correct ABI and that the error exists on it.",`You can look up the decoded signature here: https://4byte.sourcify.dev/?q=${m}.`]),super(p&&p!=="execution reverted"||m?[`The contract function "${a}" reverted with the following ${m?"signature":"reason"}:`,p||m].join(`\n`):`The contract function "${a}" reverted.`,{cause:l??u,metaMessages:d,name:"ContractFunctionRevertedError"}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"raw",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"reason",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"signature",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=f,this.raw=n,this.reason=p,this.signature=m}}class QB extends ie{constructor({functionName:t,cause:n}){super(`The contract function "${t}" returned no data ("0x").`,{metaMessages:["This could be due to any of the following:",` - The contract does not have the function "${t}",`," - The parameters passed to the contract function may be invalid, or"," - The address is not a contract."],name:"ContractFunctionZeroDataError",cause:n})}}class YB extends ie{constructor({factory:t}){super(`Deployment for counterfactual contract call failed${t?` for factory "${t}".`:""}`,{metaMessages:["Please ensure:","- The `factory` is a valid contract deployment factory (ie. Create2 Factory, ERC-4337 Factory, etc).","- The `factoryData` is a valid encoded function call for contract deployment function on the factory."],name:"CounterfactualDeploymentFailedError"})}}class V3 extends ie{constructor({data:t,message:n}){super(n||"",{name:"RawContractError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:3}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=t}}function Ze(e,t,n){const a=e[t.name];if(typeof a=="function")return a;const s=e[n];return typeof s=="function"?s:u=>t(e,u)}class cu extends ie{constructor({body:t,cause:n,details:a,headers:s,status:u,url:l}){super("HTTP request failed.",{cause:n,details:a,metaMessages:[u&&`Status: ${u}`,`URL: ${xm(l)}`,t&&`Request body: ${Ti(t)}`].filter(Boolean),name:"HttpRequestError"}),Object.defineProperty(this,"body",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"headers",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"status",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"url",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.body=t,this.headers=s,this.status=u,this.url=l}}class Zl extends ie{constructor({maxSize:t,size:n}){super("HTTP response body exceeded the size limit.",{metaMessages:[`Max: ${t} bytes`,`Received: ${n} bytes`],name:"ResponseBodyTooLargeError"}),Object.defineProperty(this,"maxSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"size",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.maxSize=t,this.size=n}}class Sm extends ie{constructor({body:t,error:n,url:a}){super("RPC Request failed.",{cause:n,details:n.message,metaMessages:[`URL: ${xm(a)}`,`Request body: ${Ti(t)}`],name:"RpcRequestError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"url",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.code=n.code,this.data=n.data,this.url=a}}class j2 extends ie{constructor({body:t,url:n}){super("The request took too long to respond.",{details:"The request timed out.",metaMessages:[`URL: ${xm(n)}`,`Request body: ${Ti(t)}`],name:"TimeoutError"}),Object.defineProperty(this,"url",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.url=n}}const ZB=-1;class Jt extends ie{constructor(t,{code:n,docsPath:a,metaMessages:s,name:u,shortMessage:l}){super(l,{cause:t,docsPath:a,metaMessages:s||t?.metaMessages,name:u||"RpcError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name=u||t.name,this.code=t instanceof Sm?t.code:n??ZB}}class Wt extends Jt{constructor(t,n){super(t,n),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=n.data}}class Au extends Jt{constructor(t){super(t,{code:Au.code,name:"ParseRpcError",shortMessage:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."})}}Object.defineProperty(Au,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32700});class Tu extends Jt{constructor(t){super(t,{code:Tu.code,name:"InvalidRequestRpcError",shortMessage:"JSON is not a valid request object."})}}Object.defineProperty(Tu,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32600});class Mu extends Jt{constructor(t,{method:n}={}){super(t,{code:Mu.code,name:"MethodNotFoundRpcError",shortMessage:`The method${n?` "${n}"`:""} does not exist / is not available.`})}}Object.defineProperty(Mu,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32601});class Ru extends Jt{constructor(t){super(t,{code:Ru.code,name:"InvalidParamsRpcError",shortMessage:["Invalid parameters were provided to the RPC method.","Double check you have provided the correct parameters."].join(`\n`)})}}Object.defineProperty(Ru,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32602});class Ea extends Jt{constructor(t){super(t,{code:Ea.code,name:"InternalRpcError",shortMessage:"An internal error was received."})}}Object.defineProperty(Ea,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32603});class js extends Jt{constructor(t){super(t,{code:js.code,name:"InvalidInputRpcError",shortMessage:["Missing or invalid parameters.","Double check you have provided the correct parameters."].join(`\n`)})}}Object.defineProperty(js,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32e3});class Cu extends Jt{constructor(t){super(t,{code:Cu.code,name:"ResourceNotFoundRpcError",shortMessage:"Requested resource not found."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ResourceNotFoundRpcError"})}}Object.defineProperty(Cu,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32001});class Mi extends Jt{constructor(t){super(t,{code:Mi.code,name:"ResourceUnavailableRpcError",shortMessage:"Requested resource not available."})}}Object.defineProperty(Mi,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32002});class _u extends Jt{constructor(t){super(t,{code:_u.code,name:"TransactionRejectedRpcError",shortMessage:"Transaction creation failed."})}}Object.defineProperty(_u,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32003});class da extends Jt{constructor(t,{method:n}={}){super(t,{code:da.code,name:"MethodNotSupportedRpcError",shortMessage:`Method${n?` "${n}"`:""} is not supported.`})}}Object.defineProperty(da,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32004});class Ds extends Jt{constructor(t){super(t,{code:Ds.code,name:"LimitExceededRpcError",shortMessage:"Request exceeds defined limit."})}}Object.defineProperty(Ds,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32005});class Ou extends Jt{constructor(t){super(t,{code:Ou.code,name:"JsonRpcVersionUnsupportedError",shortMessage:"Version of JSON-RPC protocol is not supported."})}}Object.defineProperty(Ou,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32006});class Bt extends Wt{constructor(t){super(t,{code:Bt.code,name:"UserRejectedRequestError",shortMessage:"User rejected the request."})}}Object.defineProperty(Bt,"code",{enumerable:!0,configurable:!0,writable:!0,value:4001});class Pu extends Wt{constructor(t){super(t,{code:Pu.code,name:"UnauthorizedProviderError",shortMessage:"The requested method and/or account has not been authorized by the user."})}}Object.defineProperty(Pu,"code",{enumerable:!0,configurable:!0,writable:!0,value:4100});class zu extends Wt{constructor(t,{method:n}={}){super(t,{code:zu.code,name:"UnsupportedProviderMethodError",shortMessage:`The Provider does not support the requested method${n?` " ${n}"`:""}.`})}}Object.defineProperty(zu,"code",{enumerable:!0,configurable:!0,writable:!0,value:4200});class Bu extends Wt{constructor(t){super(t,{code:Bu.code,name:"ProviderDisconnectedError",shortMessage:"The Provider is disconnected from all chains."})}}Object.defineProperty(Bu,"code",{enumerable:!0,configurable:!0,writable:!0,value:4900});class Iu extends Wt{constructor(t){super(t,{code:Iu.code,name:"ChainDisconnectedError",shortMessage:"The Provider is not connected to the requested chain."})}}Object.defineProperty(Iu,"code",{enumerable:!0,configurable:!0,writable:!0,value:4901});class Aa extends Wt{constructor(t){super(t,{code:Aa.code,name:"SwitchChainError",shortMessage:"An error occurred when attempting to switch chain."})}}Object.defineProperty(Aa,"code",{enumerable:!0,configurable:!0,writable:!0,value:4902});class Nu extends Wt{constructor(t){super(t,{code:Nu.code,name:"UnsupportedNonOptionalCapabilityError",shortMessage:"This Wallet does not support a capability that was not marked as optional."})}}Object.defineProperty(Nu,"code",{enumerable:!0,configurable:!0,writable:!0,value:5700});class Lu extends Wt{constructor(t){super(t,{code:Lu.code,name:"UnsupportedChainIdError",shortMessage:"This Wallet does not support the requested chain ID."})}}Object.defineProperty(Lu,"code",{enumerable:!0,configurable:!0,writable:!0,value:5710});class $u extends Wt{constructor(t){super(t,{code:$u.code,name:"DuplicateIdError",shortMessage:"There is already a bundle submitted with this ID."})}}Object.defineProperty($u,"code",{enumerable:!0,configurable:!0,writable:!0,value:5720});class ku extends Wt{constructor(t){super(t,{code:ku.code,name:"UnknownBundleIdError",shortMessage:"This bundle id is unknown / has not been submitted"})}}Object.defineProperty(ku,"code",{enumerable:!0,configurable:!0,writable:!0,value:5730});class Uu extends Wt{constructor(t){super(t,{code:Uu.code,name:"BundleTooLargeError",shortMessage:"The call bundle is too large for the Wallet to process."})}}Object.defineProperty(Uu,"code",{enumerable:!0,configurable:!0,writable:!0,value:5740});class ju extends Wt{constructor(t){super(t,{code:ju.code,name:"AtomicReadyWalletRejectedUpgradeError",shortMessage:"The Wallet can support atomicity after an upgrade, but the user rejected the upgrade."})}}Object.defineProperty(ju,"code",{enumerable:!0,configurable:!0,writable:!0,value:5750});class Du extends Wt{constructor(t){super(t,{code:Du.code,name:"AtomicityNotSupportedError",shortMessage:"The wallet does not support atomic execution but the request requires it."})}}Object.defineProperty(Du,"code",{enumerable:!0,configurable:!0,writable:!0,value:5760});class Hu extends Wt{constructor(t){super(t,{code:Hu.code,name:"WalletConnectSessionSettlementError",shortMessage:"WalletConnect session settlement failed."})}}Object.defineProperty(Hu,"code",{enumerable:!0,configurable:!0,writable:!0,value:7e3});class XB extends Jt{constructor(t){super(t,{name:"UnknownRpcError",shortMessage:"An unknown RPC error occurred."})}}const JB=3;function K3(e,{abi:t,address:n,args:a,docsPath:s,functionName:u,sender:l}){const f=e instanceof V3?e:e instanceof ie?e.walk(x=>"data"in x)||e.walk():{},{code:d,data:p,details:m,message:b,shortMessage:g}=f,v=e instanceof fm?new QB({functionName:u,cause:e}):[JB,Ea.code].includes(d)&&(p||m||b||g)||d===js.code&&m==="execution reverted"&&p?new KB({abi:t,data:typeof p=="object"?p.data:p,functionName:u,message:f instanceof Sm?m:g??b,cause:e}):e;return new G3(v,{abi:t,args:a,contractAddress:n,docsPath:s,functionName:u,sender:l})}const WB="modulepreload",eI=function(e,t){return new URL(e,t).href},D2={},Kf=function(t,n,a){let s=Promise.resolve();if(n&&n.length>0){let p=function(m){return Promise.all(m.map(b=>Promise.resolve(b).then(g=>({status:"fulfilled",value:g}),g=>({status:"rejected",reason:g}))))};const l=document.getElementsByTagName("link"),f=document.querySelector("meta[property=csp-nonce]"),d=f?.nonce||f?.getAttribute("nonce");s=p(n.map(m=>{if(m=eI(m,a),m in D2)return;D2[m]=!0;const b=m.endsWith(".css"),g=b?\'[rel="stylesheet"]\':"";if(a)for(let x=l.length-1;x>=0;x--){const S=l[x];if(S.href===m&&(!b||S.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${m}"]${g}`))return;const v=document.createElement("link");if(v.rel=b?"stylesheet":WB,b||(v.as="script"),v.crossOrigin="",v.href=m,d&&v.setAttribute("nonce",d),document.head.appendChild(v),b)return new Promise((x,S)=>{v.addEventListener("load",x),v.addEventListener("error",()=>S(new Error(`Unable to preload CSS for ${m}`)))})}))}function u(l){const f=new Event("vite:preloadError",{cancelable:!0});if(f.payload=l,window.dispatchEvent(f),!f.defaultPrevented)throw l}return s.then(l=>{for(const f of l||[])f.status==="rejected"&&u(f.reason);return t().catch(u)})},tI="0x82ad56cb",nI="0x608060405234801561001057600080fd5b5060405161018e38038061018e83398101604081905261002f91610124565b6000808351602085016000f59050803b61004857600080fd5b6000808351602085016000855af16040513d6000823e81610067573d81fd5b3d81f35b634e487b7160e01b600052604160045260246000fd5b600082601f83011261009257600080fd5b81516001600160401b038111156100ab576100ab61006b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156100d9576100d961006b565b6040528181528382016020018510156100f157600080fd5b60005b82811015610110576020818601810151838301820152016100f4565b506000918101602001919091529392505050565b6000806040838503121561013757600080fd5b82516001600160401b0381111561014d57600080fd5b61015985828601610081565b602085015190935090506001600160401b0381111561017757600080fd5b61018385828601610081565b915050925092905056fe",rI="0x608060405234801561001057600080fd5b506040516102c03803806102c083398101604081905261002f916101e6565b836001600160a01b03163b6000036100e457600080836001600160a01b03168360405161005c9190610270565b6000604051808303816000865af19150503d8060008114610099576040519150601f19603f3d011682016040523d82523d6000602084013e61009e565b606091505b50915091508115806100b857506001600160a01b0386163b155b156100e1578060405163101bb98d60e01b81526004016100d8919061028c565b60405180910390fd5b50505b6000808451602086016000885af16040513d6000823e81610103573d81fd5b3d81f35b80516001600160a01b038116811461011e57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561015457818101518382015260200161013c565b50506000910152565b600082601f83011261016e57600080fd5b81516001600160401b0381111561018757610187610123565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101b5576101b5610123565b6040528181528382016020018510156101cd57600080fd5b6101de826020830160208701610139565b949350505050565b600080600080608085870312156101fc57600080fd5b61020585610107565b60208601519094506001600160401b0381111561022157600080fd5b61022d8782880161015d565b93505061023c60408601610107565b60608601519092506001600160401b0381111561025857600080fd5b6102648782880161015d565b91505092959194509250565b60008251610282818460208701610139565b9190910192915050565b60208152600082518060208401526102ab816040850160208701610139565b601f01601f1916919091016040019291505056fe",iI="0x608060405234801561001057600080fd5b5060405161069438038061069483398101604081905261002f9161051e565b600061003c848484610048565b9050806000526001601ff35b60007f64926492649264926492649264926492649264926492649264926492649264926100748361040c565b036101e7576000606080848060200190518101906100929190610577565b60405192955090935091506000906001600160a01b038516906100b69085906105dd565b6000604051808303816000865af19150503d80600081146100f3576040519150601f19603f3d011682016040523d82523d6000602084013e6100f8565b606091505b50509050876001600160a01b03163b60000361016057806101605760405162461bcd60e51b815260206004820152601e60248201527f5369676e617475726556616c696461746f723a206465706c6f796d656e74000060448201526064015b60405180910390fd5b604051630b135d3f60e11b808252906001600160a01b038a1690631626ba7e90610190908b9087906004016105f9565b602060405180830381865afa1580156101ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d19190610633565b6001600160e01b03191614945050505050610405565b6001600160a01b0384163b1561027a57604051630b135d3f60e11b808252906001600160a01b03861690631626ba7e9061022790879087906004016105f9565b602060405180830381865afa158015610244573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102689190610633565b6001600160e01b031916149050610405565b81516041146102df5760405162461bcd60e51b815260206004820152603a602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e6174757265206c656e6774680000000000006064820152608401610157565b6102e7610425565b5060208201516040808401518451859392600091859190811061030c5761030c61065d565b016020015160f81c9050601b811480159061032b57508060ff16601c14155b1561038c5760405162461bcd60e51b815260206004820152603b602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e617475726520762076616c756500000000006064820152608401610157565b60408051600081526020810180835289905260ff83169181019190915260608101849052608081018390526001600160a01b0389169060019060a0016020604051602081039080840390855afa1580156103ea573d6000803e3d6000fd5b505050602060405103516001600160a01b0316149450505050505b9392505050565b600060208251101561041d57600080fd5b508051015190565b60405180606001604052806003906020820280368337509192915050565b6001600160a01b038116811461045857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561048c578181015183820152602001610474565b50506000910152565b600082601f8301126104a657600080fd5b81516001600160401b038111156104bf576104bf61045b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156104ed576104ed61045b565b60405281815283820160200185101561050557600080fd5b610516826020830160208701610471565b949350505050565b60008060006060848603121561053357600080fd5b835161053e81610443565b6020850151604086015191945092506001600160401b0381111561056157600080fd5b61056d86828701610495565b9150509250925092565b60008060006060848603121561058c57600080fd5b835161059781610443565b60208501519093506001600160401b038111156105b357600080fd5b6105bf86828701610495565b604086015190935090506001600160401b0381111561056157600080fd5b600082516105ef818460208701610471565b9190910192915050565b828152604060208201526000825180604084015261061e816060850160208701610471565b601f01601f1916919091016060019392505050565b60006020828403121561064557600080fd5b81516001600160e01b03198116811461040557600080fd5b634e487b7160e01b600052603260045260246000fdfe5369676e617475726556616c696461746f72237265636f7665725369676e6572",Q3="0x608060405234801561001057600080fd5b506115b9806100206000396000f3fe6080604052600436106100f35760003560e01c80634d2301cc1161008a578063a8b0574e11610059578063a8b0574e14610325578063bce38bd714610350578063c3077fa914610380578063ee82ac5e146103b2576100f3565b80634d2301cc1461026257806372425d9d1461029f57806382ad56cb146102ca57806386d516e8146102fa576100f3565b80633408e470116100c65780633408e470146101af578063399542e9146101da5780633e64a6961461020c57806342cbb15c14610237576100f3565b80630f28c97d146100f8578063174dea7114610123578063252dba421461015357806327e86d6e14610184575b600080fd5b34801561010457600080fd5b5061010d6103ef565b60405161011a9190610c0a565b60405180910390f35b61013d60048036038101906101389190610c94565b6103f7565b60405161014a9190610e94565b60405180910390f35b61016d60048036038101906101689190610f0c565b610615565b60405161017b92919061101b565b60405180910390f35b34801561019057600080fd5b506101996107ab565b6040516101a69190611064565b60405180910390f35b3480156101bb57600080fd5b506101c46107b7565b6040516101d19190610c0a565b60405180910390f35b6101f460048036038101906101ef91906110ab565b6107bf565b6040516102039392919061110b565b60405180910390f35b34801561021857600080fd5b506102216107e1565b60405161022e9190610c0a565b60405180910390f35b34801561024357600080fd5b5061024c6107e9565b6040516102599190610c0a565b60405180910390f35b34801561026e57600080fd5b50610289600480360381019061028491906111a7565b6107f1565b6040516102969190610c0a565b60405180910390f35b3480156102ab57600080fd5b506102b4610812565b6040516102c19190610c0a565b60405180910390f35b6102e460048036038101906102df919061122a565b61081a565b6040516102f19190610e94565b60405180910390f35b34801561030657600080fd5b5061030f6109e4565b60405161031c9190610c0a565b60405180910390f35b34801561033157600080fd5b5061033a6109ec565b6040516103479190611286565b60405180910390f35b61036a600480360381019061036591906110ab565b6109f4565b6040516103779190610e94565b60405180910390f35b61039a60048036038101906103959190610f0c565b610ba6565b6040516103a99392919061110b565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d491906112cd565b610bca565b6040516103e69190611064565b60405180910390f35b600042905090565b60606000808484905090508067ffffffffffffffff81111561041c5761041b6112fa565b5b60405190808252806020026020018201604052801561045557816020015b610442610bd5565b81526020019060019003908161043a5790505b5092503660005b828110156105c957600085828151811061047957610478611329565b5b6020026020010151905087878381811061049657610495611329565b5b90506020028101906104a89190611367565b925060008360400135905080860195508360000160208101906104cb91906111a7565b73ffffffffffffffffffffffffffffffffffffffff16818580606001906104f2919061138f565b604051610500929190611431565b60006040518083038185875af1925050503d806000811461053d576040519150601f19603f3d011682016040523d82523d6000602084013e610542565b606091505b5083600001846020018290528215151515815250505081516020850135176105bc577f08c379a000000000000000000000000000000000000000000000000000000000600052602060045260176024527f4d756c746963616c6c333a2063616c6c206661696c656400000000000000000060445260846000fd5b826001019250505061045c565b5082341461060c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610603906114a7565b60405180910390fd5b50505092915050565b6000606043915060008484905090508067ffffffffffffffff81111561063e5761063d6112fa565b5b60405190808252806020026020018201604052801561067157816020015b606081526020019060019003908161065c5790505b5091503660005b828110156107a157600087878381811061069557610694611329565b5b90506020028101906106a791906114c7565b92508260000160208101906106bc91906111a7565b73ffffffffffffffffffffffffffffffffffffffff168380602001906106e2919061138f565b6040516106f0929190611431565b6000604051808303816000865af19150503d806000811461072d576040519150601f19603f3d011682016040523d82523d6000602084013e610732565b606091505b5086848151811061074657610745611329565b5b60200260200101819052819250505080610795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078c9061153b565b60405180910390fd5b81600101915050610678565b5050509250929050565b60006001430340905090565b600046905090565b6000806060439250434091506107d68686866109f4565b905093509350939050565b600048905090565b600043905090565b60008173ffffffffffffffffffffffffffffffffffffffff16319050919050565b600044905090565b606060008383905090508067ffffffffffffffff81111561083e5761083d6112fa565b5b60405190808252806020026020018201604052801561087757816020015b610864610bd5565b81526020019060019003908161085c5790505b5091503660005b828110156109db57600084828151811061089b5761089a611329565b5b602002602001015190508686838181106108b8576108b7611329565b5b90506020028101906108ca919061155b565b92508260000160208101906108df91906111a7565b73ffffffffffffffffffffffffffffffffffffffff16838060400190610905919061138f565b604051610913929190611431565b6000604051808303816000865af19150503d8060008114610950576040519150601f19603f3d011682016040523d82523d6000602084013e610955565b606091505b5082600001836020018290528215151515815250505080516020840135176109cf577f08c379a000000000000000000000000000000000000000000000000000000000600052602060045260176024527f4d756c746963616c6c333a2063616c6c206661696c656400000000000000000060445260646000fd5b8160010191505061087e565b50505092915050565b600045905090565b600041905090565b606060008383905090508067ffffffffffffffff811115610a1857610a176112fa565b5b604051908082528060200260200182016040528015610a5157816020015b610a3e610bd5565b815260200190600190039081610a365790505b5091503660005b82811015610b9c576000848281518110610a7557610a74611329565b5b60200260200101519050868683818110610a9257610a91611329565b5b9050602002810190610aa491906114c7565b9250826000016020810190610ab991906111a7565b73ffffffffffffffffffffffffffffffffffffffff16838060200190610adf919061138f565b604051610aed929190611431565b6000604051808303816000865af19150503d8060008114610b2a576040519150601f19603f3d011682016040523d82523d6000602084013e610b2f565b606091505b508260000183602001829052821515151581525050508715610b90578060000151610b8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b869061153b565b60405180910390fd5b5b81600101915050610a58565b5050509392505050565b6000806060610bb7600186866107bf565b8093508194508295505050509250925092565b600081409050919050565b6040518060400160405280600015158152602001606081525090565b6000819050919050565b610c0481610bf1565b82525050565b6000602082019050610c1f6000830184610bfb565b92915050565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b60008083601f840112610c5457610c53610c2f565b5b8235905067ffffffffffffffff811115610c7157610c70610c34565b5b602083019150836020820283011115610c8d57610c8c610c39565b5b9250929050565b60008060208385031215610cab57610caa610c25565b5b600083013567ffffffffffffffff811115610cc957610cc8610c2a565b5b610cd585828601610c3e565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b60008115159050919050565b610d2281610d0d565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610d62578082015181840152602081019050610d47565b83811115610d71576000848401525b50505050565b6000601f19601f8301169050919050565b6000610d9382610d28565b610d9d8185610d33565b9350610dad818560208601610d44565b610db681610d77565b840191505092915050565b6000604083016000830151610dd96000860182610d19565b5060208301518482036020860152610df18282610d88565b9150508091505092915050565b6000610e0a8383610dc1565b905092915050565b6000602082019050919050565b6000610e2a82610ce1565b610e348185610cec565b935083602082028501610e4685610cfd565b8060005b85811015610e825784840389528151610e638582610dfe565b9450610e6e83610e12565b925060208a01995050600181019050610e4a565b50829750879550505050505092915050565b60006020820190508181036000830152610eae8184610e1f565b905092915050565b60008083601f840112610ecc57610ecb610c2f565b5b8235905067ffffffffffffffff811115610ee957610ee8610c34565b5b602083019150836020820283011115610f0557610f04610c39565b5b9250929050565b60008060208385031215610f2357610f22610c25565b5b600083013567ffffffffffffffff811115610f4157610f40610c2a565b5b610f4d85828601610eb6565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000610f918383610d88565b905092915050565b6000602082019050919050565b6000610fb182610f59565b610fbb8185610f64565b935083602082028501610fcd85610f75565b8060005b858110156110095784840389528151610fea8582610f85565b9450610ff583610f99565b925060208a01995050600181019050610fd1565b50829750879550505050505092915050565b60006040820190506110306000830185610bfb565b81810360208301526110428184610fa6565b90509392505050565b6000819050919050565b61105e8161104b565b82525050565b60006020820190506110796000830184611055565b92915050565b61108881610d0d565b811461109357600080fd5b50565b6000813590506110a58161107f565b92915050565b6000806000604084860312156110c4576110c3610c25565b5b60006110d286828701611096565b935050602084013567ffffffffffffffff8111156110f3576110f2610c2a565b5b6110ff86828701610eb6565b92509250509250925092565b60006060820190506111206000830186610bfb565b61112d6020830185611055565b818103604083015261113f8184610e1f565b9050949350505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061117482611149565b9050919050565b61118481611169565b811461118f57600080fd5b50565b6000813590506111a18161117b565b92915050565b6000602082840312156111bd576111bc610c25565b5b60006111cb84828501611192565b91505092915050565b60008083601f8401126111ea576111e9610c2f565b5b8235905067ffffffffffffffff81111561120757611206610c34565b5b60208301915083602082028301111561122357611222610c39565b5b9250929050565b6000806020838503121561124157611240610c25565b5b600083013567ffffffffffffffff81111561125f5761125e610c2a565b5b61126b858286016111d4565b92509250509250929050565b61128081611169565b82525050565b600060208201905061129b6000830184611277565b92915050565b6112aa81610bf1565b81146112b557600080fd5b50565b6000813590506112c7816112a1565b92915050565b6000602082840312156112e3576112e2610c25565b5b60006112f1848285016112b8565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b60008235600160800383360303811261138357611382611358565b5b80830191505092915050565b600080833560016020038436030381126113ac576113ab611358565b5b80840192508235915067ffffffffffffffff8211156113ce576113cd61135d565b5b6020830192506001820236038313156113ea576113e9611362565b5b509250929050565b600081905092915050565b82818337600083830152505050565b600061141883856113f2565b93506114258385846113fd565b82840190509392505050565b600061143e82848661140c565b91508190509392505050565b600082825260208201905092915050565b7f4d756c746963616c6c333a2076616c7565206d69736d61746368000000000000600082015250565b6000611491601a8361144a565b915061149c8261145b565b602082019050919050565b600060208201905081810360008301526114c081611484565b9050919050565b6000823560016040038336030381126114e3576114e2611358565b5b80830191505092915050565b7f4d756c746963616c6c333a2063616c6c206661696c6564000000000000000000600082015250565b600061152560178361144a565b9150611530826114ef565b602082019050919050565b6000602082019050818103600083015261155481611518565b9050919050565b60008235600160600383360303811261157757611576611358565b5b8083019150509291505056fea264697066735822122020c1bc9aacf8e4a6507193432a895a8e77094f45a1395583f07b24e860ef06cd64736f6c634300080c0033",np="/docs/contract/encodeDeployData";function Em(e){const{abi:t,args:n,bytecode:a}=e;if(!n||n.length===0)return a;const s=t.find(l=>"type"in l&&l.type==="constructor");if(!s)throw new qP({docsPath:np});if(!("inputs"in s))throw new P2({docsPath:np});if(!s.inputs||s.inputs.length===0)throw new P2({docsPath:np});const u=A3(s.inputs,n);return kr([a,u])}function zi(e,t){if(!$t(e,{strict:!1}))throw new Rn({address:e});if(!$t(t,{strict:!1}))throw new Rn({address:t});return e.toLowerCase()===t.toLowerCase()}function Qf(e){const{blockHash:t,blockNumber:n,blockTag:a,requireCanonical:s}=e;if(s!==void 0&&!t)throw new ie("`requireCanonical` can only be provided when `blockHash` is set.");return t?s?{blockHash:t,requireCanonical:s}:{blockHash:t}:typeof n=="bigint"?he(n):a??"latest"}class Rs extends ie{constructor({cause:t,message:n}={}){const a=n?.replace("execution reverted: ","")?.replace("execution reverted","");super(`Execution reverted ${a?`with reason: ${a}`:"for an unknown reason"}.`,{cause:t,name:"ExecutionRevertedError"})}}Object.defineProperty(Rs,"code",{enumerable:!0,configurable:!0,writable:!0,value:3});Object.defineProperty(Rs,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/execution reverted|gas required exceeds allowance/});class Ta extends ie{constructor({cause:t,maxFeePerGas:n}={}){super(`The fee cap (\\`maxFeePerGas\\`${n?` = ${Xt(n)} gwei`:""}) cannot be higher than the maximum allowed value (2^256-1).`,{cause:t,name:"FeeCapTooHighError"})}}Object.defineProperty(Ta,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/max fee per gas higher than 2\\^256-1|fee cap higher than 2\\^256-1/});class Zp extends ie{constructor({cause:t,maxFeePerGas:n}={}){super(`The fee cap (\\`maxFeePerGas\\`${n?` = ${Xt(n)}`:""} gwei) cannot be lower than the block base fee.`,{cause:t,name:"FeeCapTooLowError"})}}Object.defineProperty(Zp,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/max fee per gas less than block base fee|fee cap less than block base fee|transaction is outdated/});class Xp extends ie{constructor({cause:t,nonce:n}={}){super(`Nonce provided for the transaction ${n?`(${n}) `:""}is higher than the next one expected.`,{cause:t,name:"NonceTooHighError"})}}Object.defineProperty(Xp,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce too high/});class Jp extends ie{constructor({cause:t,nonce:n}={}){super([`Nonce provided for the transaction ${n?`(${n}) `:""}is lower than the current nonce of the account.`,"Try increasing the nonce or find the latest nonce with `getTransactionCount`."].join(`\n`),{cause:t,name:"NonceTooLowError"})}}Object.defineProperty(Jp,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce too low|transaction already imported|already known/});class Wp extends ie{constructor({cause:t,nonce:n}={}){super(`Nonce provided for the transaction ${n?`(${n}) `:""}exceeds the maximum allowed nonce.`,{cause:t,name:"NonceMaxValueError"})}}Object.defineProperty(Wp,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/nonce has max value/});class ey extends ie{constructor({cause:t}={}){super(["The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account."].join(`\n`),{cause:t,metaMessages:["This error could arise when the account does not have enough funds to:"," - pay for the total gas fee,"," - pay for the value to send."," ","The cost of the transaction is calculated as `gas * gas fee + value`, where:"," - `gas` is the amount of gas needed for transaction to execute,"," - `gas fee` is the gas fee,"," - `value` is the amount of ether to send to the recipient."],name:"InsufficientFundsError"})}}Object.defineProperty(ey,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/insufficient funds|exceeds transaction sender account balance/});class ty extends ie{constructor({cause:t,gas:n}={}){super(`The amount of gas ${n?`(${n}) `:""}provided for the transaction exceeds the limit allowed for the block.`,{cause:t,name:"IntrinsicGasTooHighError"})}}Object.defineProperty(ty,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too high|gas limit reached/});class ny extends ie{constructor({cause:t,gas:n}={}){super(`The amount of gas ${n?`(${n}) `:""}provided for the transaction is too low.`,{cause:t,name:"IntrinsicGasTooLowError"})}}Object.defineProperty(ny,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too low/});class ry extends ie{constructor({cause:t}){super("The transaction type is not supported for this chain.",{cause:t,name:"TransactionTypeNotSupportedError"})}}Object.defineProperty(ry,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/transaction type not valid/});class Fu extends ie{constructor({cause:t,maxPriorityFeePerGas:n,maxFeePerGas:a}={}){super([`The provided tip (\\`maxPriorityFeePerGas\\`${n?` = ${Xt(n)} gwei`:""}) cannot be higher than the fee cap (\\`maxFeePerGas\\`${a?` = ${Xt(a)} gwei`:""}).`].join(`\n`),{cause:t,name:"TipAboveFeeCapError"})}}Object.defineProperty(Fu,"nodeMessage",{enumerable:!0,configurable:!0,writable:!0,value:/max priority fee per gas higher than max fee per gas|tip higher than fee cap/});class Yf extends ie{constructor({cause:t}){super(`An error occurred while executing: ${t?.shortMessage}`,{cause:t,name:"UnknownNodeError"})}}function Am(e,t){const n=(e.details||"").toLowerCase(),a=e instanceof ie?e.walk(s=>s?.code===Rs.code):e;return a instanceof ie?new Rs({cause:e,message:a.details}):Rs.nodeMessage.test(n)?new Rs({cause:e,message:e.details}):Ta.nodeMessage.test(n)?new Ta({cause:e,maxFeePerGas:t?.maxFeePerGas}):Zp.nodeMessage.test(n)?new Zp({cause:e,maxFeePerGas:t?.maxFeePerGas}):Xp.nodeMessage.test(n)?new Xp({cause:e,nonce:t?.nonce}):Jp.nodeMessage.test(n)?new Jp({cause:e,nonce:t?.nonce}):Wp.nodeMessage.test(n)?new Wp({cause:e,nonce:t?.nonce}):ey.nodeMessage.test(n)?new ey({cause:e}):ty.nodeMessage.test(n)?new ty({cause:e,gas:t?.gas}):ny.nodeMessage.test(n)?new ny({cause:e,gas:t?.gas}):ry.nodeMessage.test(n)?new ry({cause:e}):Fu.nodeMessage.test(n)?new Fu({cause:e,maxFeePerGas:t?.maxFeePerGas,maxPriorityFeePerGas:t?.maxPriorityFeePerGas}):new Yf({cause:e})}function aI(e,{docsPath:t,...n}){const a=(()=>{const s=Am(e,n);return s instanceof Yf?e:s})();return new q3(a,{docsPath:t,...n})}function Zf(e,{format:t}){if(!t)return{};const n={};function a(u){const l=Object.keys(u);for(const f of l)f in e&&(n[f]=e[f]),u[f]&&typeof u[f]=="object"&&!Array.isArray(u[f])&&a(u[f])}const s=t(e||{});return a(s),n}function Tm(e,t){return({exclude:n,format:a})=>({exclude:n,format:(s,u)=>{const l=t(s,u);if(n)for(const f of n)delete l[f];return{...l,...a(s,u)}},type:e})}const sI={legacy:"0x0",eip2930:"0x1",eip1559:"0x2",eip4844:"0x3",eip7702:"0x4"};function no(e,t){const n={};return typeof e.authorizationList<"u"&&(n.authorizationList=uI(e.authorizationList)),typeof e.accessList<"u"&&(n.accessList=e.accessList),typeof e.blobVersionedHashes<"u"&&(n.blobVersionedHashes=e.blobVersionedHashes),typeof e.blobs<"u"&&(typeof e.blobs[0]!="string"?n.blobs=e.blobs.map(a=>Pt(a)):n.blobs=e.blobs),typeof e.data<"u"&&(n.data=e.data),e.account&&(n.from=e.account.address),typeof e.from<"u"&&(n.from=e.from),typeof e.gas<"u"&&(n.gas=he(e.gas)),typeof e.gasPrice<"u"&&(n.gasPrice=he(e.gasPrice)),typeof e.maxFeePerBlobGas<"u"&&(n.maxFeePerBlobGas=he(e.maxFeePerBlobGas)),typeof e.maxFeePerGas<"u"&&(n.maxFeePerGas=he(e.maxFeePerGas)),typeof e.maxPriorityFeePerGas<"u"&&(n.maxPriorityFeePerGas=he(e.maxPriorityFeePerGas)),typeof e.nonce<"u"&&(n.nonce=he(e.nonce)),typeof e.to<"u"&&(n.to=e.to),typeof e.type<"u"&&(n.type=sI[e.type]),typeof e.value<"u"&&(n.value=he(e.value)),n}const oI=Tm("transactionRequest",no);function uI(e){return e.map(t=>({address:t.address,r:t.r?he(BigInt(t.r)):t.r,s:t.s?he(BigInt(t.s)):t.s,chainId:he(t.chainId),nonce:he(t.nonce),...typeof t.yParity<"u"?{yParity:he(t.yParity)}:{},...typeof t.v<"u"&&typeof t.yParity>"u"?{v:he(t.v)}:{}}))}function cI(){let e=()=>{},t=()=>{};return{promise:new Promise((a,s)=>{e=a,t=s}),resolve:e,reject:t}}const rp=new Map;function Y3({fn:e,id:t,shouldSplitBatch:n,wait:a=0,sort:s}){const u=async()=>{const m=d();l();const b=m.map(({args:g})=>g);b.length!==0&&e(b).then(g=>{s&&Array.isArray(g)&&g.sort(s);for(let v=0;v<m.length;v++){const{resolve:x}=m[v];x?.([g[v],g])}}).catch(g=>{for(let v=0;v<m.length;v++){const{reject:x}=m[v];x?.(g)}})},l=()=>rp.delete(t),f=()=>d().map(({args:m})=>m),d=()=>rp.get(t)||[],p=m=>rp.set(t,[...d(),m]);return{flush:l,async schedule(m){const{promise:b,resolve:g,reject:v}=cI();return n?.([...f(),m])&&u(),d().length>0?(p({args:m,resolve:g,reject:v}),b):(p({args:m,resolve:g,reject:v}),setTimeout(u,a),b)}}}function H2(e){if(!(!e||e.length===0))return e.reduce((t,{slot:n,value:a})=>{if(n.length!==66)throw new B2({size:n.length,targetSize:66,type:"hex"});if(a.length!==66)throw new B2({size:a.length,targetSize:66,type:"hex"});return t[n]=a,t},{})}function lI(e){const{balance:t,nonce:n,state:a,stateDiff:s,code:u}=e,l={};if(u!==void 0&&(l.code=u),t!==void 0&&(l.balance=he(t)),n!==void 0&&(l.nonce=he(n)),a!==void 0&&(l.state=H2(a)),s!==void 0){if(l.state)throw new jB;l.stateDiff=H2(s)}return l}function Z3(e){if(!e)return;const t={};for(const{address:n,...a}of e){if(!$t(n,{strict:!1}))throw new Rn({address:n});if(t[n])throw new UB({address:n});t[n]=lI(a)}return t}const rc=2n**256n-1n;function ic(e){const{account:t,maxFeePerGas:n,maxPriorityFeePerGas:a,to:s}=e,u=t?Et(t):void 0;if(u&&!$t(u.address))throw new Rn({address:u.address});if(s&&!$t(s))throw new Rn({address:s});if(n&&n>rc)throw new Ta({maxFeePerGas:n});if(a&&n&&a>n)throw new Fu({maxFeePerGas:n,maxPriorityFeePerGas:a})}async function X3(e,t){const{account:n=e.account,authorizationList:a,batch:s=!!e.batch?.multicall,blockHash:u,blockNumber:l,blockTag:f=e.experimental_blockTag??"latest",requireCanonical:d,accessList:p,blobs:m,blockOverrides:b,code:g,data:v,factory:x,factoryData:S,gas:E,gasPrice:R,maxFeePerBlobGas:z,maxFeePerGas:M,maxPriorityFeePerGas:_,nonce:C,requestOptions:B,to:O,value:I,stateOverride:U,...D}=t,Q=n?Et(n):void 0;if(g&&(x||S))throw new ie("Cannot provide both `code` & `factory`/`factoryData` as parameters.");if(g&&O)throw new ie("Cannot provide both `code` & `to` as parameters.");const X=g&&v,te=x&&S&&O&&v,ue=X||te,W=X?W3({code:g,data:v}):te?mI({data:v,factory:x,factoryData:S,to:O}):v;try{ic(t);const $=Qf({blockHash:u,blockNumber:l,blockTag:f,requireCanonical:d}),G=b?rP(b):void 0,ne=Z3(U),ce=e.chain?.formatters?.transactionRequest?.format,N=(ce||no)({...Zf(D,{format:ce}),accessList:p,account:Q,authorizationList:a,blobs:m,data:W,gas:E,gasPrice:R,maxFeePerBlobGas:z,maxFeePerGas:M,maxPriorityFeePerGas:_,nonce:C,to:ue?void 0:O,value:I},"call");if(s&&fI({request:N})&&!G&&u===void 0)try{const{deployless:ae=!1}=typeof e.batch?.multicall=="object"?e.batch.multicall:{},le=J3(e,{blockNumber:l,deployless:ae});if(!le||!yI(ne,le))return await pI(e,{...N,blockHash:u,blockNumber:l,blockTag:f,multicallAddress:le,requestOptions:B,requireCanonical:d,rpcStateOverride:ne})}catch(ae){if(!(ae instanceof D3)&&!(ae instanceof Yp))throw ae}const Y=(()=>{const ae=[N,$];return ne&&G?[...ae,ne,G]:ne?[...ae,ne]:G?[...ae,{},G]:ae})(),se=await e.request({method:"eth_call",params:Y},B);return se==="0x"?{data:void 0}:{data:se}}catch($){if(B?.signal?.aborted)throw Pi(B.signal);if(to($))throw $;const G=bI($),{offchainLookup:ne,offchainLookupSignature:ce}=await Kf(async()=>{const{offchainLookup:fe,offchainLookupSignature:N}=await import("./ccip-GdCo9sZA.js");return{offchainLookup:fe,offchainLookupSignature:N}},[],import.meta.url);if(e.ccipRead!==!1&&G?.slice(0,10)===ce&&O)return{data:await ne(e,{data:G,requestOptions:B,to:O})};throw ue&&G?.slice(0,10)==="0x101bb98d"?new YB({factory:x}):aI($,{...t,account:Q,chain:e.chain})}}function fI({request:e}){const{data:t,to:n,...a}=e;return!(!t||t.startsWith(tI)||!n||Object.values(a).filter(s=>typeof s<"u").length>0)}let dI=0;const F2=new WeakMap;function hI(e){if(!e)return"default";const t=F2.get(e);if(t!==void 0)return t;const n=dI++;return F2.set(e,n),n}async function pI(e,t){const{batchSize:n=1024,deployless:a=!1,wait:s=0}=typeof e.batch?.multicall=="object"?e.batch.multicall:{},{blockHash:u,blockNumber:l,blockTag:f=e.experimental_blockTag??"latest",requireCanonical:d,data:p,multicallAddress:m,requestOptions:b,rpcStateOverride:g,to:v}=t,x=m!==void 0?m:J3(e,{blockNumber:l,deployless:a}),S=Qf({blockHash:u,blockNumber:l,blockTag:f,requireCanonical:d}),E=typeof S=="string"?S:JSON.stringify(S),R=g?`.${JSON.stringify(g)}`:"",{schedule:z}=Y3({id:`${e.uid}.${E}.${hI(b)}${R}`,wait:s,shouldSplitBatch(C){return C.reduce((O,{data:I})=>O+(I.length-2),0)>n*2},fn:async C=>{const B=C.map(D=>({allowFailure:!0,callData:D.data,target:D.to})),O=eo({abi:Fp,args:[B],functionName:"aggregate3"}),I={...x===null?{data:W3({code:Q3,data:O})}:{to:x,data:O}},U=await e.request({method:"eth_call",params:g?[I,S,g]:[I,S]},b);return j3({abi:Fp,args:[B],functionName:"aggregate3",data:U||"0x"})}}),[{returnData:M,success:_}]=await z({data:p,to:v});if(!_)throw new V3({data:M});return M==="0x"?{data:void 0}:{data:M}}function J3(e,t){const{blockNumber:n,deployless:a}=t;if(a)return null;if(e.chain)return zB({blockNumber:n,chain:e.chain,contract:"multicall3"});throw new D3}function yI(e,t){return e?Object.keys(e).some(n=>zi(n,t)):!1}function W3(e){const{code:t,data:n}=e;return Em({abi:$3(["constructor(bytes, bytes)"]),bytecode:nI,args:[t,n]})}function mI(e){const{data:t,factory:n,factoryData:a,to:s}=e;return Em({abi:$3(["constructor(address, bytes, address, bytes)"]),bytecode:rI,args:[s,t,n,a]})}function bI(e){if(!(e instanceof ie))return;const t=e.walk();return typeof t?.data=="object"?t.data?.data:t.data}async function Br(e,t){const{abi:n,address:a,args:s,functionName:u,...l}=t,f=eo({abi:n,args:s,functionName:u});try{const{data:d}=await Ze(e,X3,"call")({...l,data:f,to:a});return j3({abi:n,args:s,functionName:u,data:d||"0x"})}catch(d){throw K3(d,{abi:n,address:a,args:s,docsPath:"/docs/contract/readContract",functionName:u})}}function gI(e){const t=Js(`0x${e.substring(4)}`).substring(26);return qf(`0x${t}`)}async function vI({hash:e,signature:t}){const n=zr(e)?e:xu(e),{secp256k1:a}=await Kf(async()=>{const{secp256k1:l}=await Promise.resolve().then(()=>U7);return{secp256k1:l}},void 0,import.meta.url);return`0x${(()=>{if(typeof t=="object"&&"r"in t&&"s"in t){const{r:p,s:m,v:b,yParity:g}=t,v=Number(g??b),x=q2(v);return new a.Signature(xa(p),xa(m)).addRecoveryBit(x)}const l=zr(t)?t:xu(t);if(st(l)!==65)throw new Error("invalid signature length");const f=_i(`0x${l.slice(130)}`),d=q2(f);return a.Signature.fromCompact(l.substring(2,130)).addRecoveryBit(d)})().recoverPublicKey(n.substring(2)).toHex(!1)}`}function q2(e){if(e===0||e===1)return e;if(e===27)return 0;if(e===28)return 1;throw new Error("Invalid yParityOrV value")}async function iy({hash:e,signature:t}){return gI(await vI({hash:e,signature:t}))}function Ma(e,t="hex"){const n=eS(e),a=hm(new Uint8Array(n.length));return n.encode(a),t==="hex"?Pt(a.bytes):a.bytes}function eS(e){return Array.isArray(e)?wI(e.map(t=>eS(t))):xI(e)}function wI(e){const t=e.reduce((s,u)=>s+u.length,0),n=tS(t);return{length:t<=55?1+t:1+n+t,encode(s){t<=55?s.pushByte(192+t):(s.pushByte(247+n),n===1?s.pushUint8(t):n===2?s.pushUint16(t):n===3?s.pushUint24(t):s.pushUint32(t));for(const{encode:u}of e)u(s)}}}function xI(e){const t=typeof e=="string"?Zn(e):e,n=tS(t.length);return{length:t.length===1&&t[0]<128?1:t.length<=55?1+t.length:1+n+t.length,encode(s){t.length===1&&t[0]<128?s.pushBytes(t):t.length<=55?(s.pushByte(128+t.length),s.pushBytes(t)):(s.pushByte(183+n),n===1?s.pushUint8(t.length):n===2?s.pushUint16(t.length):n===3?s.pushUint24(t.length):s.pushUint32(t.length),s.pushBytes(t))}}}function tS(e){if(e<2**8)return 1;if(e<2**16)return 2;if(e<2**24)return 3;if(e<2**32)return 4;throw new ie("Length is too large.")}function SI(e){const{chainId:t,nonce:n,to:a}=e,s=e.contractAddress??e.address,u=Js(kr(["0x05",Ma([t?he(t):"0x",s,n?he(n):"0x"])]));return a==="bytes"?Zn(u):u}async function Mm(e){const{authorization:t,signature:n}=e;return iy({hash:SI(t),signature:n??t})}class EI extends ie{constructor(t,{account:n,docsPath:a,chain:s,data:u,gas:l,gasPrice:f,maxFeePerGas:d,maxPriorityFeePerGas:p,nonce:m,to:b,value:g}){const v=nc({from:n?.address,to:b,value:typeof g<"u"&&`${wm(g)} ${s?.nativeCurrency?.symbol||"ETH"}`,data:u,gas:l,gasPrice:typeof f<"u"&&`${Xt(f)} gwei`,maxFeePerGas:typeof d<"u"&&`${Xt(d)} gwei`,maxPriorityFeePerGas:typeof p<"u"&&`${Xt(p)} gwei`,nonce:m});super(t.shortMessage,{cause:t,docsPath:a,metaMessages:[...t.metaMessages?[...t.metaMessages," "]:[],"Estimate Gas Arguments:",v].filter(Boolean),name:"EstimateGasExecutionError"}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=t}}function AI(e,{docsPath:t,...n}){const a=(()=>{const s=Am(e,n);return s instanceof Yf?e:s})();return new EI(a,{docsPath:t,...n})}class nS extends ie{constructor(){super("`baseFeeMultiplier` must be greater than 1.",{name:"BaseFeeScalarError"})}}class Rm extends ie{constructor(){super("Chain does not support EIP-1559 fees.",{name:"Eip1559FeesNotSupportedError"})}}class TI extends ie{constructor({maxPriorityFeePerGas:t}){super(`\\`maxFeePerGas\\` cannot be less than the \\`maxPriorityFeePerGas\\` (${Xt(t)} gwei).`,{name:"MaxFeePerGasTooLowError"})}}class MI extends ie{constructor({blockHash:t,blockNumber:n}){let a="Block";t&&(a=`Block at hash "${t}"`),n&&(a=`Block at number "${n}"`),super(`${a} could not be found.`,{name:"BlockNotFoundError"})}}const rS={"0x0":"legacy","0x1":"eip2930","0x2":"eip1559","0x3":"eip4844","0x4":"eip7702"};function Xf(e,t){const n={...e,blockHash:e.blockHash?e.blockHash:null,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,...e.blockTimestamp!=null&&{blockTimestamp:BigInt(e.blockTimestamp)},chainId:e.chainId?_i(e.chainId):void 0,gas:e.gas?BigInt(e.gas):void 0,gasPrice:e.gasPrice?BigInt(e.gasPrice):void 0,maxFeePerBlobGas:e.maxFeePerBlobGas?BigInt(e.maxFeePerBlobGas):void 0,maxFeePerGas:e.maxFeePerGas?BigInt(e.maxFeePerGas):void 0,maxPriorityFeePerGas:e.maxPriorityFeePerGas?BigInt(e.maxPriorityFeePerGas):void 0,nonce:e.nonce?_i(e.nonce):void 0,to:e.to?e.to:null,transactionIndex:e.transactionIndex?Number(e.transactionIndex):null,type:e.type?rS[e.type]:void 0,typeHex:e.type?e.type:void 0,value:e.value?BigInt(e.value):void 0,v:e.v?BigInt(e.v):void 0};return e.authorizationList&&(n.authorizationList=CI(e.authorizationList)),n.yParity=(()=>{if(e.yParity)return Number(e.yParity);if(typeof n.v=="bigint"){if(n.v===0n||n.v===27n)return 0;if(n.v===1n||n.v===28n)return 1;if(n.v>=35n)return n.v%2n===0n?1:0}})(),n.type==="legacy"&&(delete n.accessList,delete n.maxFeePerBlobGas,delete n.maxFeePerGas,delete n.maxPriorityFeePerGas,delete n.yParity),n.type==="eip2930"&&(delete n.maxFeePerBlobGas,delete n.maxFeePerGas,delete n.maxPriorityFeePerGas),n.type==="eip1559"&&delete n.maxFeePerBlobGas,n}const RI=Tm("transaction",Xf);function CI(e){return e.map(t=>({address:t.address,chainId:Number(t.chainId),nonce:Number(t.nonce),r:t.r,s:t.s,yParity:Number(t.yParity)}))}function _I(e,t){const n=(e.transactions??[]).map(a=>typeof a=="string"?a:Xf(a));return{...e,baseFeePerGas:e.baseFeePerGas?BigInt(e.baseFeePerGas):null,blobGasUsed:e.blobGasUsed?BigInt(e.blobGasUsed):void 0,difficulty:e.difficulty?BigInt(e.difficulty):void 0,excessBlobGas:e.excessBlobGas?BigInt(e.excessBlobGas):void 0,gasLimit:e.gasLimit?BigInt(e.gasLimit):void 0,gasUsed:e.gasUsed?BigInt(e.gasUsed):void 0,hash:e.hash?e.hash:null,logsBloom:e.logsBloom?e.logsBloom:null,nonce:e.nonce?e.nonce:null,number:e.number?BigInt(e.number):null,size:e.size?BigInt(e.size):void 0,timestamp:e.timestamp?BigInt(e.timestamp):void 0,transactions:n,totalDifficulty:e.totalDifficulty?BigInt(e.totalDifficulty):null}}async function qu(e,{blockHash:t,blockNumber:n,blockTag:a=e.experimental_blockTag??"latest",includeTransactions:s}={}){const u=s??!1,l=n!==void 0?he(n):void 0;let f=null;if(t?f=await e.request({method:"eth_getBlockByHash",params:[t,u]},{dedupe:!0}):f=await e.request({method:"eth_getBlockByNumber",params:[l||a,u]},{dedupe:!!l}),!f)throw new MI({blockHash:t,blockNumber:n});return(e.chain?.formatters?.block?.format||_I)(f,"getBlock")}async function iS(e){const t=await e.request({method:"eth_gasPrice"});return BigInt(t)}async function OI(e,t){const{block:n,chain:a=e.chain,request:s}=t||{};try{const u=a?.fees?.maxPriorityFeePerGas??a?.fees?.defaultPriorityFee;if(typeof u=="function"){const f=n||await Ze(e,qu,"getBlock")({}),d=await u({block:f,client:e,request:s});if(d===null)throw new Error;return d}if(typeof u<"u")return u;const l=await e.request({method:"eth_maxPriorityFeePerGas"});return xa(l)}catch{const[u,l]=await Promise.all([n?Promise.resolve(n):Ze(e,qu,"getBlock")({}),Ze(e,iS,"getGasPrice")({})]);if(typeof u.baseFeePerGas!="bigint")throw new Rm;const f=l-u.baseFeePerGas;return f<0n?0n:f}}async function G2(e,t){const{block:n,chain:a=e.chain,request:s,type:u="eip1559"}=t||{},l=await(async()=>typeof a?.fees?.baseFeeMultiplier=="function"?a.fees.baseFeeMultiplier({block:n,client:e,request:s}):a?.fees?.baseFeeMultiplier??1.2)();if(l<1)throw new nS;const d=10**(l.toString().split(".")[1]?.length??0),p=g=>g*BigInt(Math.ceil(l*d))/BigInt(d),m=n||await Ze(e,qu,"getBlock")({});if(typeof a?.fees?.estimateFeesPerGas=="function"){const g=await a.fees.estimateFeesPerGas({block:n,client:e,multiply:p,request:s,type:u});if(g!==null)return g}if(u==="eip1559"){if(typeof m.baseFeePerGas!="bigint")throw new Rm;const g=typeof s?.maxPriorityFeePerGas=="bigint"?s.maxPriorityFeePerGas:await OI(e,{block:m,chain:a,request:s}),v=p(m.baseFeePerGas);return{maxFeePerGas:s?.maxFeePerGas??v+g,maxPriorityFeePerGas:g}}return{gasPrice:s?.gasPrice??p(await Ze(e,iS,"getGasPrice")({}))}}async function PI(e,{address:t,blockHash:n,blockNumber:a,blockTag:s="latest",requireCanonical:u}){const l=Qf({blockHash:n,blockNumber:a,blockTag:s,requireCanonical:u}),f=await e.request({method:"eth_getTransactionCount",params:[t,l]},{dedupe:typeof a=="bigint"||n!==void 0});return _i(f)}function Cm(e){const{kzg:t}=e,n=e.to??(typeof e.blobs[0]=="string"?"hex":"bytes"),a=typeof e.blobs[0]=="string"?e.blobs.map(u=>Zn(u)):e.blobs,s=[];for(const u of a)s.push(Uint8Array.from(t.blobToKzgCommitment(u)));return n==="bytes"?s:s.map(u=>Pt(u))}function _m(e){const{kzg:t}=e,n=e.to??(typeof e.blobs[0]=="string"?"hex":"bytes"),a=typeof e.blobs[0]=="string"?e.blobs.map(l=>Zn(l)):e.blobs,s=typeof e.commitments[0]=="string"?e.commitments.map(l=>Zn(l)):e.commitments,u=[];for(let l=0;l<a.length;l++){const f=a[l],d=s[l];u.push(Uint8Array.from(t.computeBlobKzgProof(f,d)))}return n==="bytes"?u:u.map(l=>Pt(l))}function zI(e,t){return dx(zr(e,{strict:!1})?Ff(e):e)}function BI(e){const{commitment:t,version:n=1}=e,a=e.to??(typeof t=="string"?"hex":"bytes"),s=zI(t);return s.set([n],0),a==="bytes"?s:Pt(s)}function aS(e){const{commitments:t,version:n}=e,a=e.to??(typeof t[0]=="string"?"hex":"bytes"),s=[];for(const u of t)s.push(BI({commitment:u,to:a,version:n}));return s}const V2=6,sS=32,Om=4096,oS=sS*Om,K2=oS*V2-1-1*Om*V2,uS=1;class II extends ie{constructor({maxSize:t,size:n}){super("Blob size is too large.",{metaMessages:[`Max: ${t} bytes`,`Given: ${n} bytes`],name:"BlobSizeTooLargeError"})}}class cS extends ie{constructor(){super("Blob data must not be empty.",{name:"EmptyBlobError"})}}class NI extends ie{constructor({hash:t,size:n}){super(`Versioned hash "${t}" size is invalid.`,{metaMessages:["Expected: 32",`Received: ${n}`],name:"InvalidVersionedHashSizeError"})}}class LI extends ie{constructor({hash:t,version:n}){super(`Versioned hash "${t}" version is invalid.`,{metaMessages:[`Expected: ${uS}`,`Received: ${n}`],name:"InvalidVersionedHashVersionError"})}}function $I(e){const t=e.to??(typeof e.data=="string"?"hex":"bytes"),n=typeof e.data=="string"?Zn(e.data):e.data,a=st(n);if(!a)throw new cS;if(a>K2)throw new II({maxSize:K2,size:a});const s=[];let u=!0,l=0;for(;u;){const f=hm(new Uint8Array(oS));let d=0;for(;d<Om;){const p=n.slice(l,l+(sS-1));if(f.pushByte(0),f.pushBytes(p),p.length<31){f.pushByte(128),u=!1;break}d++,l+=31}s.push(f)}return t==="bytes"?s.map(f=>f.bytes):s.map(f=>Pt(f.bytes))}function lS(e){const{data:t,kzg:n,to:a}=e,s=e.blobs??$I({data:t,to:a}),u=e.commitments??Cm({blobs:s,kzg:n,to:a}),l=e.proofs??_m({blobs:s,commitments:u,kzg:n,to:a}),f=[];for(let d=0;d<s.length;d++)f.push({blob:s[d],commitment:u[d],proof:l[d]});return f}function Pm(e){if(e.type)return e.type;if(typeof e.authorizationList<"u")return"eip7702";if(typeof e.blobs<"u"||typeof e.blobVersionedHashes<"u"||typeof e.maxFeePerBlobGas<"u"||typeof e.sidecars<"u")return"eip4844";if(typeof e.maxFeePerGas<"u"||typeof e.maxPriorityFeePerGas<"u")return"eip1559";if(typeof e.gasPrice<"u")return typeof e.accessList<"u"?"eip2930":"legacy";throw new FB({transaction:e})}function fS(e,{docsPath:t,...n}){const a=(()=>{const s=Am(e,n);return s instanceof Yf?e:s})();return new GB(a,{docsPath:t,...n})}async function yf(e){const t=await e.request({method:"eth_chainId"},{dedupe:!0});return _i(t)}async function kI(e,t){const{account:n=e.account,accessList:a,authorizationList:s,chain:u=e.chain,blobVersionedHashes:l,blobs:f,data:d,gas:p,gasPrice:m,maxFeePerBlobGas:b,maxFeePerGas:g,maxPriorityFeePerGas:v,nonce:x,nonceManager:S,to:E,type:R,value:z,...M}=t,_=await(async()=>{if(!n||!S||typeof x<"u")return x;const I=Et(n),U=u?u.id:await Ze(e,yf,"getChainId")({});return await S.consume({address:I.address,chainId:U,client:e})})();ic(t);const C=u?.formatters?.transactionRequest?.format,O=(C||no)({...Zf(M,{format:C}),account:n?Et(n):void 0,accessList:a,authorizationList:s,blobs:f,blobVersionedHashes:l,data:d,gas:p,gasPrice:m,maxFeePerBlobGas:b,maxFeePerGas:g,maxPriorityFeePerGas:v,nonce:_,to:E,type:R,value:z},"fillTransaction");try{const I=await e.request({method:"eth_fillTransaction",params:[O]}),D=(u?.formatters?.transaction?.format||Xf)(I.tx);delete D.blockHash,delete D.blockNumber,delete D.r,delete D.s,delete D.transactionIndex,delete D.v,delete D.yParity,D.data=D.input,D.gas&&(D.gas=t.gas??D.gas),D.gasPrice&&(D.gasPrice=t.gasPrice??D.gasPrice),D.maxFeePerBlobGas&&(D.maxFeePerBlobGas=t.maxFeePerBlobGas??D.maxFeePerBlobGas),D.maxFeePerGas&&(D.maxFeePerGas=t.maxFeePerGas??D.maxFeePerGas),D.maxPriorityFeePerGas&&(D.maxPriorityFeePerGas=t.maxPriorityFeePerGas??D.maxPriorityFeePerGas),typeof D.nonce<"u"&&(D.nonce=t.nonce??D.nonce);const Q=await(async()=>{if(typeof u?.fees?.baseFeeMultiplier=="function"){const W=await Ze(e,qu,"getBlock")({});return u.fees.baseFeeMultiplier({block:W,client:e,request:t})}return u?.fees?.baseFeeMultiplier??1.2})();if(Q<1)throw new nS;const te=10**(Q.toString().split(".")[1]?.length??0),ue=W=>W*BigInt(Math.ceil(Q*te))/BigInt(te);return D.feePayerSignature||(D.maxFeePerGas&&!t.maxFeePerGas&&(D.maxFeePerGas=ue(D.maxFeePerGas)),D.gasPrice&&!t.gasPrice&&(D.gasPrice=ue(D.gasPrice))),{raw:I.raw,transaction:{from:O.from,...D},...I.capabilities?{capabilities:I.capabilities}:{}}}catch(I){throw fS(I,{...t,chain:e.chain})}}const dS=["blobVersionedHashes","chainId","fees","gas","nonce","type"],Q2=new Map,ip=new tc(128);async function hS(e,t){let n=t;n.account??=e.account,n.parameters??=dS;const{account:a,chain:s=e.chain,nonceManager:u,parameters:l}=n,f=(()=>{if(typeof s?.prepareTransactionRequest=="function")return{fn:s.prepareTransactionRequest,runAt:["beforeFillTransaction"]};if(Array.isArray(s?.prepareTransactionRequest))return{fn:s.prepareTransactionRequest[0],runAt:s.prepareTransactionRequest[1].runAt}})();let d;async function p(){return d||(typeof n.chainId<"u"?n.chainId:s?s.id:(d=await Ze(e,yf,"getChainId")({}),d))}const m=a&&Et(a);let b=n.nonce;if(l.includes("nonce")&&typeof b>"u"&&m&&u){const _=await p();b=await u.consume({address:m.address,chainId:_,client:e})}f?.fn&&f.runAt?.includes("beforeFillTransaction")&&(n=await f.fn({...n,chain:s},{client:e,phase:"beforeFillTransaction"}),b??=n.nonce);const v=((l.includes("blobVersionedHashes")||l.includes("sidecars"))&&n.kzg&&n.blobs||ip.get(e.uid)===!1||!["fees","gas"].some(C=>l.includes(C))?!1:!!(l.includes("chainId")&&typeof n.chainId!="number"||l.includes("nonce")&&typeof b!="number"||l.includes("fees")&&typeof n.gasPrice!="bigint"&&(typeof n.maxFeePerGas!="bigint"||typeof n.maxPriorityFeePerGas!="bigint")||l.includes("gas")&&typeof n.gas!="bigint"))?await Ze(e,kI,"fillTransaction")({...n,nonce:b}).then(_=>{const{chainId:C,from:B,gas:O,gasPrice:I,nonce:U,maxFeePerBlobGas:D,maxFeePerGas:Q,maxPriorityFeePerGas:X,type:te,...ue}=_.transaction;return ip.set(e.uid,!0),{...n,...B?{from:B}:{},...te&&!n.type?{type:te}:{},...typeof C<"u"?{chainId:C}:{},...typeof O<"u"?{gas:O}:{},...typeof I<"u"?{gasPrice:I}:{},...typeof U<"u"?{nonce:U}:{},...typeof D<"u"&&n.type!=="legacy"&&n.type!=="eip2930"?{maxFeePerBlobGas:D}:{},...typeof Q<"u"&&n.type!=="legacy"&&n.type!=="eip2930"?{maxFeePerGas:Q}:{},...typeof X<"u"&&n.type!=="legacy"&&n.type!=="eip2930"?{maxPriorityFeePerGas:X}:{},..."nonceKey"in ue&&typeof ue.nonceKey<"u"?{nonceKey:ue.nonceKey}:{},..."keyAuthorization"in ue&&typeof ue.keyAuthorization<"u"&&ue.keyAuthorization!==null&&!("keyAuthorization"in n)?{keyAuthorization:ue.keyAuthorization}:{},..."feePayerSignature"in ue&&typeof ue.feePayerSignature<"u"&&ue.feePayerSignature!==null?{feePayerSignature:ue.feePayerSignature}:{},..."feeToken"in ue&&typeof ue.feeToken<"u"&&ue.feeToken!==null&&!("feeToken"in n)?{feeToken:ue.feeToken}:{},..._.capabilities?{_capabilities:_.capabilities}:{}}}).catch(_=>{const C=_;if(C.name!=="TransactionExecutionError")return n;if(C.walk?.(I=>I.name==="ExecutionRevertedError"))throw _;return C.walk?.(I=>{const U=I;return U.name==="MethodNotFoundRpcError"||U.name==="MethodNotSupportedRpcError"||U.message?.includes("eth_fillTransaction is not available")})&&ip.set(e.uid,!1),n}):n;b??=v.nonce,n={...v,...m?{from:m?.address}:{},...typeof b<"u"?{nonce:b}:{}};const{blobs:x,gas:S,kzg:E,type:R}=n;f?.fn&&f.runAt?.includes("beforeFillParameters")&&(n=await f.fn({...n,chain:s},{client:e,phase:"beforeFillParameters"}));let z;async function M(){return z||(z=await Ze(e,qu,"getBlock")({blockTag:"latest"}),z)}if(l.includes("nonce")&&typeof b>"u"&&m&&!u&&(n.nonce=await Ze(e,PI,"getTransactionCount")({address:m.address,blockTag:"pending"})),(l.includes("blobVersionedHashes")||l.includes("sidecars"))&&x&&E){const _=Cm({blobs:x,kzg:E});if(l.includes("blobVersionedHashes")){const C=aS({commitments:_,to:"hex"});n.blobVersionedHashes=C}if(l.includes("sidecars")){const C=_m({blobs:x,commitments:_,kzg:E}),B=lS({blobs:x,commitments:_,proofs:C,to:"hex"});n.sidecars=B}}if(l.includes("chainId")&&(n.chainId=await p()),(l.includes("fees")||l.includes("type"))&&typeof R>"u")try{n.type=Pm(n)}catch{let _=Q2.get(e.uid);typeof _>"u"&&(_=typeof(await M())?.baseFeePerGas=="bigint",Q2.set(e.uid,_)),n.type=_?"eip1559":"legacy"}if(l.includes("fees"))if(n.type!=="legacy"&&n.type!=="eip2930"){if(typeof n.maxFeePerGas>"u"||typeof n.maxPriorityFeePerGas>"u"){const _=await M(),{maxFeePerGas:C,maxPriorityFeePerGas:B}=await G2(e,{block:_,chain:s,request:n});if(typeof n.maxPriorityFeePerGas>"u"&&n.maxFeePerGas&&n.maxFeePerGas<B)throw new TI({maxPriorityFeePerGas:B});n.maxPriorityFeePerGas=B,n.maxFeePerGas=C}}else{if(typeof n.maxFeePerGas<"u"||typeof n.maxPriorityFeePerGas<"u")throw new Rm;if(typeof n.gasPrice>"u"){const _=await M(),{gasPrice:C}=await G2(e,{block:_,chain:s,request:n,type:"legacy"});n.gasPrice=C}}return l.includes("gas")&&typeof S>"u"&&(n.gas=await Ze(e,UI,"estimateGas")({...n,account:m,prepare:m?.type==="local"?[]:["blobVersionedHashes"]})),f?.fn&&f.runAt?.includes("afterFillParameters")&&(n=await f.fn({...n,chain:s},{client:e,phase:"afterFillParameters"})),ic(n),delete n.parameters,n}async function UI(e,t){const{account:n=e.account,prepare:a=!0}=t,s=n?Et(n):void 0,u=(()=>{if(Array.isArray(a))return a;if(s?.type!=="local")return["blobVersionedHashes"]})();try{const l=await(async()=>{if(t.to)return t.to;if(t.authorizationList&&t.authorizationList.length>0)return await Mm({authorization:t.authorizationList[0]}).catch(()=>{throw new ie("`to` is required. Could not infer from `authorizationList`")})})(),{accessList:f,authorizationList:d,blobs:p,blobVersionedHashes:m,blockNumber:b,blockTag:g,data:v,gas:x,gasPrice:S,maxFeePerBlobGas:E,maxFeePerGas:R,maxPriorityFeePerGas:z,nonce:M,value:_,stateOverride:C,...B}=a?await hS(e,{...t,parameters:u,to:l}):t;if(x&&t.gas!==x)return x;const I=(typeof b=="bigint"?he(b):void 0)||g,U=Z3(C);ic(t);const D=e.chain?.formatters?.transactionRequest?.format,X=(D||no)({...Zf(B,{format:D}),account:s,accessList:f,authorizationList:d,blobs:p,blobVersionedHashes:m,data:v,gasPrice:S,maxFeePerBlobGas:E,maxFeePerGas:R,maxPriorityFeePerGas:z,nonce:M,to:l,value:_},"estimateGas");return BigInt(await e.request({method:"eth_estimateGas",params:U?[X,I??e.experimental_blockTag??"latest",U]:I?[X,I]:[X]}))}catch(l){throw AI(l,{...t,account:s,chain:e.chain})}}function pS(e,{args:t,eventName:n}={}){return{...e,blockHash:e.blockHash?e.blockHash:null,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,blockTimestamp:e.blockTimestamp?BigInt(e.blockTimestamp):e.blockTimestamp===null?null:void 0,logIndex:e.logIndex?Number(e.logIndex):null,transactionHash:e.transactionHash?e.transactionHash:null,transactionIndex:e.transactionIndex?Number(e.transactionIndex):null,...n?{args:t,eventName:n}:{}}}const jI={"0x0":"reverted","0x1":"success"};function yS(e,t){const n={...e,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,contractAddress:e.contractAddress?e.contractAddress:null,cumulativeGasUsed:e.cumulativeGasUsed?BigInt(e.cumulativeGasUsed):null,effectiveGasPrice:e.effectiveGasPrice?BigInt(e.effectiveGasPrice):null,gasUsed:e.gasUsed?BigInt(e.gasUsed):null,logs:e.logs?e.logs.map(a=>pS(a)):null,to:e.to?e.to:null,transactionIndex:e.transactionIndex?_i(e.transactionIndex):null,status:e.status?jI[e.status]:null,type:e.type?rS[e.type]||e.type:null};return e.blobGasPrice&&(n.blobGasPrice=BigInt(e.blobGasPrice)),e.blobGasUsed&&(n.blobGasUsed=BigInt(e.blobGasUsed)),n}const DI=Tm("transactionReceipt",yS);async function mS(e,{address:t,blockHash:n,blockNumber:a,blockTag:s="latest",requireCanonical:u}){const l=Qf({blockHash:n,blockNumber:a,blockTag:s,requireCanonical:u}),f=await e.request({method:"eth_getCode",params:[t,l]},{dedupe:typeof a=="bigint"||n!==void 0});if(f!=="0x")return f}const Y2="/docs/contract/decodeEventLog";function Z2(e){const{abi:t,data:n,strict:a,topics:s}=e,u=a??!0,[l,...f]=s;if(!l)throw new QP({docsPath:Y2});const d=t.find(R=>R.type==="event"&&l===bm(Ci(R)));if(!(d&&"name"in d)||d.type!=="event")throw new YP(l,{docsPath:Y2});const{name:p,inputs:m}=d,b=m?.some(R=>!("name"in R&&R.name)),g=b?[]:{},v=m.map((R,z)=>[R,z]).filter(([R])=>"indexed"in R&&R.indexed),x=[];for(let R=0;R<v.length;R++){const[z,M]=v[R],_=f[R];if(!_){if(u)throw new JP({abiItem:d,param:z});x.push([z,M]);continue}g[b?M:z.name||M]=HI({param:z,value:_})}const S=m.filter(R=>!("indexed"in R&&R.indexed)),E=u?S:[...x.map(([R])=>R),...S];if(E.length>0){if(n&&n!=="0x")try{const R=Gf(E,n);if(R){let z=0;if(!u)for(const[M,_]of x)g[b?_:M.name||_]=R[z++];if(b)for(let M=0;M<m.length;M++)g[M]===void 0&&z<R.length&&(g[M]=R[z++]);else for(let M=0;M<S.length;M++)g[S[M].name]=R[z++]}}catch(R){if(u)throw R instanceof h3||R instanceof w3?new z2({abiItem:d,data:n,params:E,size:st(n)}):R}else if(u)throw new z2({abiItem:d,data:"0x",params:E,size:0})}return{eventName:p,args:Object.values(g).length>0?g:void 0}}function HI({param:e,value:t}){return e.type==="string"||e.type==="bytes"||e.type==="tuple"||e.type.match(/^(.*)\\[(\\d+)?\\]$/)?t:(Gf([e],t)||[])[0]}function Jf(e){const{abi:t,args:n,logs:a,strict:s=!0}=e,u=(()=>{if(e.eventName)return Array.isArray(e.eventName)?e.eventName:[e.eventName]})(),l=t.filter(f=>f.type==="event").map(f=>({abi:f,selector:bm(f)}));return a.map(f=>{const d=typeof f.blockNumber=="string"?pS(f):f,p=l.filter(g=>d.topics[0]===g.selector);if(p.length===0)return null;let m,b;for(const g of p)try{m=Z2({...d,abi:[g.abi],strict:!0}),b=g;break}catch{}if(!m&&!s){b=p[0];try{m=Z2({data:d.data,topics:d.topics,abi:[b.abi],strict:!1})}catch{const g=b.abi.inputs?.some(v=>!("name"in v&&v.name));return{...d,args:g?[]:{},eventName:b.abi.name}}}return!m||!b||u&&!u.includes(m.eventName)||!FI({args:m.args,inputs:b.abi.inputs,matchArgs:n})?null:{...m,...d}}).filter(Boolean)}function FI(e){const{args:t,inputs:n,matchArgs:a}=e;if(!a)return!0;if(!t)return!1;function s(u,l,f){try{return u.type==="address"?zi(l,f):u.type==="string"||u.type==="bytes"?Js(Ff(l))===f:l===f}catch{return!1}}return Array.isArray(t)&&Array.isArray(a)?a.every((u,l)=>{if(u==null)return!0;const f=n[l];return f?(Array.isArray(u)?u:[u]).some(p=>s(f,p,t[l])):!1}):typeof t=="object"&&!Array.isArray(t)&&typeof a=="object"&&!Array.isArray(a)?Object.entries(a).every(([u,l])=>{if(l==null)return!0;const f=n.find(p=>p.name===u);return f?(Array.isArray(l)?l:[l]).some(p=>s(f,p,t[u])):!1}):!1}function qI(e){const{authorizationList:t}=e;if(t)for(const n of t){const{chainId:a}=n,s=n.address;if(!$t(s))throw new Rn({address:s});if(a<0)throw new Vf({chainId:a})}zm(e)}function GI(e){const{blobVersionedHashes:t}=e;if(t){if(t.length===0)throw new cS;for(const n of t){const a=st(n),s=_i(Su(n,0,1));if(a!==32)throw new NI({hash:n,size:a});if(s!==uS)throw new LI({hash:n,version:s})}}zm(e)}function zm(e){const{chainId:t,maxPriorityFeePerGas:n,maxFeePerGas:a,to:s}=e;if(t<=0)throw new Vf({chainId:t});if(s&&!$t(s))throw new Rn({address:s});if(a&&a>rc)throw new Ta({maxFeePerGas:a});if(n&&a&&n>a)throw new Fu({maxFeePerGas:a,maxPriorityFeePerGas:n})}function VI(e){const{chainId:t,maxPriorityFeePerGas:n,gasPrice:a,maxFeePerGas:s,to:u}=e;if(t<=0)throw new Vf({chainId:t});if(u&&!$t(u))throw new Rn({address:u});if(n||s)throw new ie("`maxFeePerGas`/`maxPriorityFeePerGas` is not a valid EIP-2930 Transaction attribute.");if(a&&a>rc)throw new Ta({maxFeePerGas:a})}function KI(e){const{chainId:t,maxPriorityFeePerGas:n,gasPrice:a,maxFeePerGas:s,to:u}=e;if(u&&!$t(u))throw new Rn({address:u});if(typeof t<"u"&&t<=0)throw new Vf({chainId:t});if(n||s)throw new ie("`maxFeePerGas`/`maxPriorityFeePerGas` is not a valid Legacy Transaction attribute.");if(a&&a>rc)throw new Ta({maxFeePerGas:a})}function Wf(e){if(!e||e.length===0)return[];const t=[];for(let n=0;n<e.length;n++){const{address:a,storageKeys:s}=e[n];for(let u=0;u<s.length;u++)if(s[u].length-2!==64)throw new qB({storageKey:s[u]});if(!$t(a,{strict:!1}))throw new Rn({address:a});t.push([a,s])}return t}function X2(e,t){const n=Pm(e);return n==="eip1559"?ZI(e,t):n==="eip2930"?XI(e,t):n==="eip4844"?YI(e,t):n==="eip7702"?QI(e,t):JI(e,t)}function QI(e,t){const{authorizationList:n,chainId:a,gas:s,nonce:u,to:l,value:f,maxFeePerGas:d,maxPriorityFeePerGas:p,accessList:m,data:b}=e;qI(e);const g=Wf(m),v=WI(n);return kr(["0x04",Ma([he(a),u?he(u):"0x",p?he(p):"0x",d?he(d):"0x",s?he(s):"0x",l??"0x",f?he(f):"0x",b??"0x",g,v,...ac(e,t)])])}function YI(e,t){const{chainId:n,gas:a,nonce:s,to:u,value:l,maxFeePerBlobGas:f,maxFeePerGas:d,maxPriorityFeePerGas:p,accessList:m,data:b}=e;GI(e);let g=e.blobVersionedHashes,v=e.sidecars;if(e.blobs&&(typeof g>"u"||typeof v>"u")){const M=typeof e.blobs[0]=="string"?e.blobs:e.blobs.map(B=>Pt(B)),_=e.kzg,C=Cm({blobs:M,kzg:_});if(typeof g>"u"&&(g=aS({commitments:C})),typeof v>"u"){const B=_m({blobs:M,commitments:C,kzg:_});v=lS({blobs:M,commitments:C,proofs:B})}}const x=Wf(m),S=[he(n),s?he(s):"0x",p?he(p):"0x",d?he(d):"0x",a?he(a):"0x",u??"0x",l?he(l):"0x",b??"0x",x,f?he(f):"0x",g??[],...ac(e,t)],E=[],R=[],z=[];if(v)for(let M=0;M<v.length;M++){const{blob:_,commitment:C,proof:B}=v[M];E.push(_),R.push(C),z.push(B)}return kr(["0x03",Ma(v?[S,E,R,z]:S)])}function ZI(e,t){const{chainId:n,gas:a,nonce:s,to:u,value:l,maxFeePerGas:f,maxPriorityFeePerGas:d,accessList:p,data:m}=e;zm(e);const b=Wf(p),g=[he(n),s?he(s):"0x",d?he(d):"0x",f?he(f):"0x",a?he(a):"0x",u??"0x",l?he(l):"0x",m??"0x",b,...ac(e,t)];return kr(["0x02",Ma(g)])}function XI(e,t){const{chainId:n,gas:a,data:s,nonce:u,to:l,value:f,accessList:d,gasPrice:p}=e;VI(e);const m=Wf(d),b=[he(n),u?he(u):"0x",p?he(p):"0x",a?he(a):"0x",l??"0x",f?he(f):"0x",s??"0x",m,...ac(e,t)];return kr(["0x01",Ma(b)])}function JI(e,t){const{chainId:n=0,gas:a,data:s,nonce:u,to:l,value:f,gasPrice:d}=e;KI(e);let p=[u?he(u):"0x",d?he(d):"0x",a?he(a):"0x",l??"0x",f?he(f):"0x",s??"0x"];if(t){const m=(()=>{if(t.v>=35n)return(t.v-35n)/2n>0?t.v:27n+(t.v===35n?0n:1n);if(n>0)return BigInt(n*2)+BigInt(35n+t.v-27n);const v=27n+(t.v===27n?0n:1n);if(t.v!==v)throw new HB({v:t.v});return v})(),b=Qn(t.r),g=Qn(t.s);p=[...p,he(m),b==="0x00"?"0x":b,g==="0x00"?"0x":g]}else n>0&&(p=[...p,he(n),"0x","0x"]);return Ma(p)}function ac(e,t){const n=t??e,{v:a,yParity:s}=n;if(typeof n.r>"u")return[];if(typeof n.s>"u")return[];if(typeof a>"u"&&typeof s>"u")return[];const u=Qn(n.r),l=Qn(n.s);return[typeof s=="number"?s?he(1):"0x":a===0n?"0x":a===1n?he(1):a===27n?"0x":he(1),u==="0x00"?"0x":u,l==="0x00"?"0x":l]}function WI(e){if(!e||e.length===0)return[];const t=[];for(const n of e){const{chainId:a,nonce:s,...u}=n,l=n.address;t.push([a?xu(a):"0x",l,s?xu(s):"0x",...ac({},u)])}return t}async function eN({address:e,authorization:t,signature:n}){return zi(fa(e),await Mm({authorization:t,signature:n}))}const kl=new tc(8192);function tN(e,{enabled:t=!0,id:n}){if(!t||!n)return e();if(kl.get(n))return kl.get(n);const a=e().finally(()=>kl.delete(n));return kl.set(n,a),a}async function nN(e,{signal:t}={}){return new Promise((n,a)=>{if(t?.aborted){a(Pi(t));return}const s=()=>t?.removeEventListener("abort",l),u=setTimeout(()=>{s(),n()},e),l=()=>{clearTimeout(u),s(),a(Pi(t))};t?.addEventListener("abort",l,{once:!0})})}function bS(e,{delay:t=100,retryCount:n=2,shouldRetry:a=()=>!0,signal:s}={}){return new Promise((u,l)=>{const f=async({count:d=0}={})=>{if(s?.aborted){l(Pi(s));return}const p=async({error:m})=>{const b=typeof t=="function"?t({count:d,error:m}):t;if(b)try{await nN(b,{signal:s})}catch(g){l(g);return}f({count:d+1})};try{const m=await e();u(m)}catch(m){if(s?.aborted){l(Pi(s));return}if(to(m)){l(m);return}if(d<n&&await a({count:d,error:m}))return p({error:m});l(m)}};f()})}function rN(e,t={}){return async(n,a={})=>{const{dedupe:s=!1,methods:u,retryDelay:l=150,retryCount:f=3,signal:d,uid:p}={...t,...a},{method:m}=n;if(u?.exclude?.includes(m))throw new da(new Error("method not supported"),{method:m});if(u?.include&&!u.include.includes(m))throw new da(new Error("method not supported"),{method:m});if(d?.aborted)throw Pi(d);const b=s?aN(`${p}.${Ti(n)}`):void 0;return tN(()=>bS(async()=>{try{return await e(n,d?{signal:d}:void 0)}catch(g){if(d?.aborted)throw Pi(d);if(to(g))throw g;const v=g;switch(v.code){case Au.code:throw new Au(v);case Tu.code:throw new Tu(v);case Mu.code:throw new Mu(v,{method:n.method});case Ru.code:throw new Ru(v);case Ea.code:throw new Ea(v);case js.code:throw new js(v);case Cu.code:throw new Cu(v);case Mi.code:throw new Mi(v);case _u.code:throw new _u(v);case da.code:throw new da(v,{method:n.method});case Ds.code:throw new Ds(v);case Ou.code:throw new Ou(v);case Bt.code:throw new Bt(v);case Pu.code:throw new Pu(v);case zu.code:throw new zu(v);case Bu.code:throw new Bu(v);case Iu.code:throw new Iu(v);case Aa.code:throw new Aa(v);case Nu.code:throw new Nu(v);case Lu.code:throw new Lu(v);case $u.code:throw new $u(v);case ku.code:throw new ku(v);case Uu.code:throw new Uu(v);case ju.code:throw new ju(v);case Du.code:throw new Du(v);case 5e3:throw new Bt(v);case Hu.code:throw new Hu(v);default:throw g instanceof ie?g:new XB(v)}}},{delay:({count:g,error:v})=>{if(v&&v instanceof cu){const x=v?.headers?.get("Retry-After");if(x?.match(/\\d/))return Number.parseInt(x,10)*1e3}return~~(1<<g)*l},retryCount:f,signal:d,shouldRetry:({error:g})=>iN(g)}),{enabled:s,id:b})}}function iN(e){return to(e)?!1:"code"in e&&typeof e.code=="number"?e.code===-1||e.code===Ds.code||e.code===Ea.code||e.code===429:e instanceof cu&&e.status?e.status===403||e.status===408||e.status===413||e.status===429||e.status===500||e.status===502||e.status===503||e.status===504:!0}function aN(e,t=0){let n=3735928559^t,a=1103547991^t;for(let s=0;s<e.length;s++){const u=e.charCodeAt(s);n=Math.imul(n^u,2654435761),a=Math.imul(a^u,1597334677)}return n=Math.imul(n^n>>>16,2246822507),n^=Math.imul(a^a>>>16,3266489909),a=Math.imul(a^a>>>16,2246822507),a^=Math.imul(n^n>>>16,3266489909),(4294967296*(2097151&a)+(n>>>0)).toString(36)}function sN({chain:e,currentChainId:t}){if(!e)throw new PB;if(t!==e.id)throw new OB({chain:e,currentChainId:t})}function gS(e){const t={formatters:void 0,fees:void 0,serializers:void 0,...e};function n(a){return s=>{const u=typeof s=="function"?s(a):s,l={...a,...u};return Object.assign(l,{extend:n(l)})}}return Object.assign(t,{extend:n(t)})}function oN(){return{}}function vS(e,{errorInstance:t=new Error("timed out"),timeout:n,signal:a}){return new Promise((s,u)=>{(async()=>{let l;const f=new AbortController;try{n>0&&(l=setTimeout(()=>{a?f.abort():u(t)},n)),s(await e({signal:f?.signal||null}))}catch(d){if(f?.signal.aborted&&to(d)){u(t);return}u(d)}finally{clearTimeout(l)}})()})}function uN(){return{current:0,take(){return this.current++},reset(){this.current=0}}}const J2=uN(),cN=10485760;function lN(e,t={}){const{url:n,headers:a}=dN(e);return{async request(s){const{body:u,fetchFn:l=t.fetchFn??fetch,maxResponseBodySize:f=t.maxResponseBodySize??cN,onRequest:d=t.onRequest,onResponse:p=t.onResponse,timeout:m=t.timeout??1e4}=s,b={...t.fetchOptions??{},...s.fetchOptions??{}},{headers:g,method:v,signal:x}=b;try{const S=await vS(async({signal:z})=>{const M={...b,body:Array.isArray(u)?Ti(u.map(O=>({jsonrpc:"2.0",id:O.id??J2.take(),...O}))):Ti({jsonrpc:"2.0",id:u.id??J2.take(),...u}),headers:{...a,"Content-Type":"application/json",...g},method:v||"POST",signal:x||(m>0?z:null)},_=new Request(n,M),C=await d?.(_,M)??{...M,url:n};return await l(C.url??n,C)},{errorInstance:new j2({body:u,url:n}),timeout:m,signal:!0});p&&await p(S);let E;const R=await fN(S,{maxResponseBodySize:f});if(S.headers.get("Content-Type")?.startsWith("application/json"))E=JSON.parse(R);else{E=R;try{E=JSON.parse(E||"{}")}catch(z){if(S.ok)throw z;E={error:E}}}if(!S.ok){if(typeof E.error?.code=="number"&&typeof E.error?.message=="string")return E;throw new cu({body:u,details:Ti(E.error)||S.statusText,headers:S.headers,status:S.status,url:n})}return E}catch(S){throw x?.aborted?Pi(x):to(S)||S instanceof cu||S instanceof Zl||S instanceof j2?S:new cu({body:u,cause:S,url:n})}}}}async function fN(e,{maxResponseBodySize:t}){if(t===!1)return e.text();const n=e.headers.get("Content-Length");if(n){const f=Number(n);if(f>t)throw new Zl({maxSize:t,size:f})}if(!e.body){const f=await e.text(),d=new TextEncoder().encode(f).length;if(d>t)throw new Zl({maxSize:t,size:d});return f}const a=e.body.getReader(),s=new TextDecoder;let u="",l=0;try{for(;;){const{done:f,value:d}=await a.read();if(f)break;if(l+=d.byteLength,l>t)throw await a.cancel(),new Zl({maxSize:t,size:l});u+=s.decode(d,{stream:!0})}return u+=s.decode(),u}finally{a.releaseLock()}}function dN(e){try{const t=new URL(e),n=(()=>{if(t.username){const a=`${decodeURIComponent(t.username)}:${decodeURIComponent(t.password)}`;return t.username="",t.password="",{url:t.toString(),headers:{Authorization:`Basic ${btoa(a)}`}}}})();return{url:t.toString(),...n}}catch{return{url:e}}}const hN="0x8010801080108010801080108010801080108010801080108010801080108010",pN=Px("(uint256 chainId, address delegation, uint256 nonce, uint8 yParity, uint256 r, uint256 s), address to, bytes data");function wS(e){if(typeof e=="string"){if(Ee(e,-32)!==hN)throw new bN(e)}else Uf(e.authorization)}function yN(e){wS(e);const t=$s(Ee(e,-64,-32)),n=Ee(e,-t-64,-64),a=Ee(e,0,-t-64),[s,u,l]=r7(pN,n);return{authorization:Y7({address:s.delegation,chainId:Number(s.chainId),nonce:s.nonce,yParity:s.yParity,r:s.r,s:s.s}),signature:a,...l&&l!=="0x"?{data:l,to:u}:{}}}function mN(e){try{return wS(e),!0}catch{return!1}}let bN=class extends ye{constructor(t){super(`Value \\`${t}\\` is an invalid ERC-8010 wrapped signature.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SignatureErc8010.InvalidWrappedSignatureError"})}};const xS="0x6492649264926492649264926492649264926492649264926492649264926492";function gN(e){if(Ee(e,-32)!==xS)throw new xN(e)}function vN(e){const{data:t,signature:n,to:a}=e;return Ve(i7(Px("address, bytes, bytes"),[a,t,n]),xS)}function wN(e){try{return gN(e),!0}catch{return!1}}class xN extends ye{constructor(t){super(`Value \\`${t}\\` is an invalid ERC-6492 wrapped signature.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SignatureErc6492.InvalidWrappedSignatureError"})}}function SN({r:e,s:t,to:n="hex",v:a,yParity:s}){const u=(()=>{if(s===0||s===1)return s;if(a&&(a===27n||a===28n||a>=35n))return a%2n===0n?1:0;throw new Error("Invalid `v` or `yParity` value")})(),l=`0x${new kf.Signature(xa(e),xa(t)).toCompactHex()}${u===0?"1b":"1c"}`;return n==="hex"?l:Zn(l)}async function EN(e,t){const{address:n,chain:a=e.chain,hash:s,erc6492VerifierAddress:u=t.universalSignatureVerifierAddress??a?.contracts?.erc6492Verifier?.address,multicallAddress:l=t.multicallAddress??a?.contracts?.multicall3?.address,mode:f="auto"}=t;if(a?.verifyHash)return await a.verifyHash(e,t);const d=(()=>{const p=t.signature;return zr(p)?p:typeof p=="object"&&"r"in p&&"s"in p?SN(p):Pt(p)})();try{if(f==="eoa")try{if(zi(fa(n),await iy({hash:s,signature:d})))return!0}catch{}return mN(d)?await AN(e,{...t,multicallAddress:l,signature:d}):await TN(e,{...t,verifierAddress:u,signature:d})}catch(p){if(f!=="eoa")try{if(zi(fa(n),await iy({hash:s,signature:d})))return!0}catch{}if(p instanceof Ra)return!1;throw p}}async function AN(e,t){const{address:n,blockNumber:a,blockTag:s,hash:u,multicallAddress:l}=t,{authorization:f,data:d,signature:p,to:m}=yN(t.signature);if(await mS(e,{address:n,blockNumber:a,blockTag:s})===kr(["0xef0100",f.address]))return await MN(e,{address:n,blockNumber:a,blockTag:s,hash:u,signature:p});const g={address:f.address,chainId:Number(f.chainId),nonce:Number(f.nonce),r:he(f.r,{size:32}),s:he(f.s,{size:32}),yParity:f.yParity};if(!await eN({address:n,authorization:g}))throw new Ra;const x=await Ze(e,Br,"readContract")({...l?{address:l}:{code:Q3},authorizationList:[g],abi:Fp,blockNumber:a,blockTag:"pending",functionName:"aggregate3",args:[[...d?[{allowFailure:!0,target:m??n,callData:d}]:[],{allowFailure:!0,target:n,callData:eo({abi:l3,functionName:"isValidSignature",args:[u,p]})}]]});if(x[x.length-1]?.returnData?.startsWith("0x1626ba7e"))return!0;throw new Ra}async function TN(e,t){const{address:n,factory:a,factoryData:s,hash:u,signature:l,verifierAddress:f,...d}=t,p=await(async()=>!a&&!s||wN(l)?l:vN({data:s,signature:l,to:a}))(),m=f?{to:f,data:eo({abi:O2,functionName:"isValidSig",args:[n,u,p]}),...d}:{data:Em({abi:O2,args:[n,u,p],bytecode:iI}),...d},{data:b}=await Ze(e,X3,"call")(m).catch(g=>{throw g instanceof q3?new Ra:g});if(oz(b??"0x0"))return!0;throw new Ra}async function MN(e,t){const{address:n,blockNumber:a,blockTag:s,hash:u,signature:l}=t;if((await Ze(e,Br,"readContract")({address:n,abi:l3,args:[u,l],blockNumber:a,blockTag:s,functionName:"isValidSignature"}).catch(d=>{throw d instanceof G3?new Ra:d})).startsWith("0x1626ba7e"))return!0;throw new Ra}let Ra=class extends Error{};class SS extends ie{constructor({docsPath:t}={}){super(["Could not find an Account to execute with this Action.","Please provide an Account with the `account` argument on the Action, or by supplying an `account` to the Client."].join(`\n`),{docsPath:t,docsSlug:"account",name:"AccountNotFoundError"})}}class ap extends ie{constructor({docsPath:t,metaMessages:n,type:a}){super(`Account type "${a}" is not supported.`,{docsPath:t,metaMessages:n,name:"AccountTypeNotSupportedError"})}}async function RN(e,{serializedTransaction:t}){return e.request({method:"eth_sendRawTransaction",params:[t]},{retryCount:0})}const sp=new tc(128);async function ES(e,t){const{account:n=e.account,assertChainId:a=!0,chain:s=e.chain,accessList:u,authorizationList:l,blobs:f,data:d,dataSuffix:p=typeof e.dataSuffix=="string"?e.dataSuffix:e.dataSuffix?.value,gas:m,gasPrice:b,maxFeePerBlobGas:g,maxFeePerGas:v,maxPriorityFeePerGas:x,nonce:S,type:E,value:R,...z}=t;if(typeof n>"u")throw new SS({docsPath:"/docs/actions/wallet/sendTransaction"});const M=n?Et(n):null;let _;try{ic(t);const C=await(async()=>{if(t.to)return t.to;if(t.to!==null&&l&&l.length>0)return await Mm({authorization:l[0]}).catch(()=>{throw new ie("`to` is required. Could not infer from `authorizationList`.")})})();if(M?.type==="json-rpc"||M===null){let B;s!==null&&(B=await Ze(e,yf,"getChainId")({}),a&&sN({currentChainId:B,chain:s}));const O=e.chain?.formatters?.transactionRequest?.format,U=(O||no)({...Zf(z,{format:O}),accessList:u,account:M,authorizationList:l,blobs:f,chainId:B,data:p?Oi([d??"0x",p]):d,gas:m,gasPrice:b,maxFeePerBlobGas:g,maxFeePerGas:v,maxPriorityFeePerGas:x,nonce:S,to:C,type:E,value:R},"sendTransaction"),D=sp.get(e.uid),Q=D?"wallet_sendTransaction":"eth_sendTransaction";try{return await e.request({method:Q,params:[U]},{retryCount:0})}catch(X){if(D===!1)throw X;const te=X;if(te.name==="InvalidInputRpcError"||te.name==="InvalidParamsRpcError"||te.name==="MethodNotFoundRpcError"||te.name==="MethodNotSupportedRpcError")return await e.request({method:"wallet_sendTransaction",params:[U]},{retryCount:0}).then(ue=>(sp.set(e.uid,!0),ue)).catch(ue=>{const W=ue;throw W.name==="MethodNotFoundRpcError"||W.name==="MethodNotSupportedRpcError"?(sp.set(e.uid,!1),te):W});throw te}}if(M?.type==="local"){if(M.nonceManager&&typeof S>"u"){const U=z.chainId,D=await(async()=>typeof U=="number"?U:s?s.id:Ze(e,yf,"getChainId")({}))();_={address:M.address,chainId:D}}const B=await Ze(e,hS,"prepareTransactionRequest")({account:M,accessList:u,authorizationList:l,blobs:f,chain:s,data:p?Oi([d??"0x",p]):d,gas:m,gasPrice:b,maxFeePerBlobGas:g,maxFeePerGas:v,maxPriorityFeePerGas:x,nonce:S,nonceManager:M.nonceManager,parameters:[...dS,"sidecars"],type:E,value:R,...z,to:C}),O=s?.serializers?.transaction,I=await M.signTransaction(B,{serializer:O});return await Ze(e,RN,"sendRawTransaction")({serializedTransaction:I})}throw M?.type==="smart"?new ap({metaMessages:["Consider using the `sendUserOperation` Action instead."],docsPath:"/docs/actions/bundler/sendUserOperation",type:"smart"}):new ap({docsPath:"/docs/actions/wallet/sendTransaction",type:M?.type})}catch(C){throw C instanceof ap?C:(_&&M?.nonceManager?.reset(_),fS(C,{...t,account:M,chain:t.chain||void 0}))}}async function Hs(e,t){return Hs.internal(e,ES,"sendTransaction",t)}(function(e){async function t(n,a,s,u){const{abi:l,account:f=n.account,address:d,args:p,functionName:m,...b}=u;if(typeof f>"u")throw new SS({docsPath:"/docs/contract/writeContract"});const g=f?Et(f):null,v=eo({abi:l,args:p,functionName:m});try{return await Ze(n,a,s)({data:v,to:d,account:g,...b})}catch(x){throw K3(x,{abi:l,address:d,args:p,docsPath:"/docs/contract/writeContract",functionName:m,sender:g?.address})}}e.internal=t})(Hs||(Hs={}));const Xl="3.5.0",CN=()=>`@wagmi/core@${Xl}`;var AS=function(e,t,n,a){if(n==="a"&&!a)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!a:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?a:n==="a"?a.call(e):a?a.value:t.get(e)},mf,TS;let MS=class ay extends Error{get docsBaseUrl(){return"https://wagmi.sh/core"}get version(){return CN()}constructor(t,n={}){super(),mf.add(this),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"metaMessages",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"WagmiCoreError"});const a=n.cause instanceof ay?n.cause.details:n.cause?.message?n.cause.message:n.details,s=n.cause instanceof ay&&n.cause.docsPath||n.docsPath;this.message=[t||"An error occurred.","",...n.metaMessages?[...n.metaMessages,""]:[],...s?[`Docs: ${this.docsBaseUrl}${s}.html${n.docsSlug?`#${n.docsSlug}`:""}`]:[],...a?[`Details: ${a}`]:[],`Version: ${this.version}`].join(`\n`),n.cause&&(this.cause=n.cause),this.details=a,this.docsPath=s,this.metaMessages=n.metaMessages,this.shortMessage=t}walk(t){return AS(this,mf,"m",TS).call(this,this,t)}};mf=new WeakSet,TS=function e(t,n){return n?.(t)?t:t.cause?AS(this,mf,"m",e).call(this,t.cause,n):t};class sy extends MS{constructor(){super("Chain not configured."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ChainNotConfiguredError"})}}const oy=256;let Ul=oy,jl;function RS(e=11){if(!jl||Ul+e>oy*2){jl="",Ul=0;for(let t=0;t<oy;t++)jl+=(256+Math.random()*256|0).toString(16).substring(1)}return jl.substring(Ul,Ul+++e)}function _N(e){const{batch:t,chain:n,ccipRead:a,dataSuffix:s,key:u="base",name:l="Base Client",tokens:f,type:d="base"}=e,p=e.experimental_blockTag??(typeof n?.experimental_preconfirmationTime=="number"?"pending":void 0),m=n?.blockTime??12e3,b=Math.min(Math.max(Math.floor(m/2),500),4e3),g=e.pollingInterval??b,v=e.cacheTime??g,x=e.account?Et(e.account):void 0,{config:S,request:E,value:R}=e.transport({account:x,chain:n,pollingInterval:g}),z={...S,...R},M={account:x,batch:t,cacheTime:v,ccipRead:a,chain:n,dataSuffix:s,key:u,name:l,pollingInterval:g,request:E,tokens:f,transport:z,type:d,uid:RS(),...p?{experimental_blockTag:p}:{}};function _(C){return B=>{const O=B(C);for(const U in M)delete O[U];const I={...C,...O};for(const U in O){const D=C[U],Q=O[U];W2(D)&&W2(Q)&&(I[U]={...D,...Q})}return Object.assign(I,{extend:_(I)})}}return Object.assign(M,{extend:_(M)})}function W2(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return t===Object.prototype||t===null}function ON({key:e,methods:t,name:n,request:a,retryCount:s=3,retryDelay:u=150,timeout:l,type:f},d){const p=RS();return{config:{key:e,methods:t,name:n,request:a,retryCount:s,retryDelay:u,timeout:l,type:f},request:rN(a,{methods:t,retryCount:s,retryDelay:u,uid:p}),value:d}}class PN extends ie{constructor(){super("No URL was provided to the Transport. Please provide a valid RPC URL to the Transport.",{docsPath:"/docs/clients/intro",name:"UrlRequiredError"})}}let zN=0;const e5=new WeakMap;function BN(e){if(!e)return"default";const t=e5.get(e);if(t!==void 0)return t;const n=zN++;return e5.set(e,n),n}function t5(e,t={}){const{batch:n,fetchFn:a,fetchOptions:s,key:u="http",maxResponseBodySize:l,methods:f,name:d="HTTP JSON-RPC",onFetchRequest:p,onFetchResponse:m,retryDelay:b,raw:g}=t;return({chain:v,retryCount:x,timeout:S})=>{const{batchSize:E=1e3,wait:R=0}=typeof n=="object"?n:{},z=t.retryCount??x,M=S??t.timeout??1e4,_=v?.rpcUrls.default.http[0];if(!_)throw new PN;const C=lN(_,{fetchFn:a,fetchOptions:s,maxResponseBodySize:l,onRequest:p,onResponse:m,timeout:M});return ON({key:u,methods:f,name:d,async request({method:B,params:O},I){const U={method:B,params:O},D=I?.signal?{signal:I.signal}:void 0,{schedule:Q}=Y3({id:`${_}.${BN(I?.signal)}`,wait:R,shouldSplitBatch(W){return W.length>E},fn:W=>C.request({body:W,fetchOptions:D}),sort:(W,$)=>W.id-$.id}),X=async W=>n?Q(W):[await C.request({body:W,fetchOptions:D})],[{error:te,result:ue}]=await X(U);if(g)return{error:te,result:ue};if(te)throw new Sm({body:U,error:te,url:_});return ue},retryCount:z,retryDelay:b,timeout:M,type:"http"},{fetchOptions:s,url:_})}}let op=!1;async function IN(e,t={}){if(op)return[];op=!0,e.setState(p=>({...p,status:p.current?"reconnecting":"connecting"}));const n=[];if(t.connectors?.length)for(const p of t.connectors){let m;typeof p=="function"?m=e._internal.connectors.setup(p):m=p,n.push(m)}else n.push(...e.connectors);let a;try{a=await e.storage?.getItem("recentConnectorId")}catch{}const s={};for(const[,p]of e.state.connections)s[p.connector.id]=1;a&&(s[a]=0);const u=Object.keys(s).length>0?[...n].sort((p,m)=>(s[p.id]??10)-(s[m.id]??10)):n;let l=!1;const f=[],d=[];for(const p of u){const m=await p.getProvider().catch(()=>{});if(!m||d.some(v=>v===m)||!await p.isAuthorized())continue;const g=await p.connect({isReconnecting:!0}).catch(()=>null);g&&(p.emitter.off("connect",e._internal.events.connect),p.emitter.on("change",e._internal.events.change),p.emitter.on("disconnect",e._internal.events.disconnect),e.setState(v=>{const x=new Map(l?v.connections:new Map).set(p.uid,{accounts:g.accounts,chainId:g.chainId,connector:p});return{...v,current:l?v.current:p.uid,connections:x}}),f.push({accounts:g.accounts,chainId:g.chainId,connector:p}),d.push(m),l=!0)}return(e.state.status==="reconnecting"||e.state.status==="connecting")&&(l?e.setState(p=>({...p,status:"connected"})):e.setState(p=>({...p,connections:new Map,current:null,status:"disconnected"}))),op=!1,f}class vs extends MS{constructor(){super("Provider not found."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ProviderNotFoundError"})}}Bm.type="injected";function Bm(e={}){const{shimDisconnect:t=!0,unstable_shimAsyncInject:n}=e;function a(){const d=e.target;if(typeof d=="function"){const p=d();if(p)return p}return typeof d=="object"?d:typeof d=="string"?{...NN[d]??{id:d,name:`${d[0].toUpperCase()}${d.slice(1)}`,provider:`is${d[0].toUpperCase()}${d.slice(1)}`}}:{id:"injected",name:"Injected",provider(p){return p?.ethereum}}}let s,u,l,f;return d=>({get icon(){return a().icon},get id(){return a().id},get name(){return a().name},type:Bm.type,async setup(){const p=await this.getProvider();p?.on&&e.target&&(l||(l=this.onConnect.bind(this),p.on("connect",l)),s||(s=this.onAccountsChanged.bind(this),p.on("accountsChanged",s)))},async connect({chainId:p,isReconnecting:m,withCapabilities:b}={}){const g=await this.getProvider();if(!g)throw new vs;let v=[];if(m)v=await this.getAccounts().catch(()=>[]);else if(t)try{v=(await g.request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]}))[0]?.caveats?.[0]?.value?.map(S=>fa(S)),v.length>0&&(v=await this.getAccounts())}catch(x){const S=x;if(S.code===Bt.code)throw new Bt(S);if(S.code===Mi.code)throw S}try{!v?.length&&!m&&(v=(await g.request({method:"eth_requestAccounts"})).map(E=>fa(E))),l&&(g.removeListener("connect",l),l=void 0),s||(s=this.onAccountsChanged.bind(this),g.on("accountsChanged",s)),u||(u=this.onChainChanged.bind(this),g.on("chainChanged",u)),f||(f=this.onDisconnect.bind(this),g.on("disconnect",f));let x=await this.getChainId();return p&&x!==p&&(x=(await this.switchChain({chainId:p}).catch(E=>{if(E.code===Bt.code)throw E;return{id:x}}))?.id??x),t&&await d.storage?.removeItem(`${this.id}.disconnected`),e.target||await d.storage?.setItem("injected.connected",!0),{accounts:b?v.map(S=>({address:S,capabilities:{}})):v,chainId:x}}catch(x){const S=x;throw S.code===Bt.code?new Bt(S):S.code===Mi.code?new Mi(S):S}},async disconnect(){const p=await this.getProvider();if(!p)throw new vs;u&&(p.removeListener("chainChanged",u),u=void 0),f&&(p.removeListener("disconnect",f),f=void 0),l||(l=this.onConnect.bind(this),p.on("connect",l));try{await vS(()=>p.request({method:"wallet_revokePermissions",params:[{eth_accounts:{}}]}),{timeout:100})}catch{}t&&await d.storage?.setItem(`${this.id}.disconnected`,!0),e.target||await d.storage?.removeItem("injected.connected")},async getAccounts(){const p=await this.getProvider();if(!p)throw new vs;return(await p.request({method:"eth_accounts"})).map(b=>fa(b))},async getChainId(){const p=await this.getProvider();if(!p)throw new vs;const m=await p.request({method:"eth_chainId"});return Number(m)},async getProvider(){if(typeof window>"u")return;let p;const m=a();return typeof m.provider=="function"?p=m.provider(window):typeof m.provider=="string"?p=Jl(window,m.provider):p=m.provider,p&&!p.removeListener&&("off"in p&&typeof p.off=="function"?p.removeListener=p.off:p.removeListener=()=>{}),p},async isAuthorized(){try{if(t&&await d.storage?.getItem(`${this.id}.disconnected`)||!e.target&&!await d.storage?.getItem("injected.connected"))return!1;if(!await this.getProvider()){if(n!==void 0&&n!==!1){const g=async()=>(typeof window<"u"&&window.removeEventListener("ethereum#initialized",g),!!await this.getProvider()),v=typeof n=="number"?n:1e3;if(await Promise.race([...typeof window<"u"?[new Promise(S=>window.addEventListener("ethereum#initialized",()=>S(g()),{once:!0}))]:[],new Promise(S=>setTimeout(()=>S(g()),v))]))return!0}throw new vs}return!!(await bS(()=>this.getAccounts())).length}catch{return!1}},async switchChain({addEthereumChainParameter:p,chainId:m}){const b=await this.getProvider();if(!b)throw new vs;const g=d.chains.find(x=>x.id===m);if(!g)throw new Aa(new sy);const v=new Promise(x=>{const S=(E=>{"chainId"in E&&E.chainId===m&&(d.emitter.off("change",S),x())});d.emitter.on("change",S)});try{return await Promise.all([b.request({method:"wallet_switchEthereumChain",params:[{chainId:he(m)}]}).then(async()=>{await this.getChainId()===m&&d.emitter.emit("change",{chainId:m})}),v]),g}catch(x){const S=x;if(S.code===4902||S?.data?.originalError?.code===4902)try{const{default:E,...R}=g.blockExplorers??{};let z;p?.blockExplorerUrls?z=p.blockExplorerUrls:E&&(z=[E.url,...Object.values(R).map(C=>C.url)]);let M;p?.rpcUrls?.length?M=p.rpcUrls:M=[g.rpcUrls.default?.http[0]??""];const _={blockExplorerUrls:z,chainId:he(m),chainName:p?.chainName??g.name,iconUrls:p?.iconUrls,nativeCurrency:p?.nativeCurrency??g.nativeCurrency,rpcUrls:M};return await Promise.all([b.request({method:"wallet_addEthereumChain",params:[_]}).then(async()=>{if(await this.getChainId()===m)d.emitter.emit("change",{chainId:m});else throw new Bt(new Error("User rejected switch after adding network."))}),v]),g}catch(E){throw new Bt(E)}throw S.code===Bt.code?new Bt(S):new Aa(S)}},async onAccountsChanged(p){if(p.length===0)this.onDisconnect();else if(d.emitter.listenerCount("connect")){const m=(await this.getChainId()).toString();this.onConnect({chainId:m}),t&&await d.storage?.removeItem(`${this.id}.disconnected`)}else d.emitter.emit("change",{accounts:p.map(m=>fa(m))})},onChainChanged(p){const m=Number(p);d.emitter.emit("change",{chainId:m})},async onConnect(p){const m=await this.getAccounts();if(m.length===0)return;const b=Number(p.chainId);d.emitter.emit("connect",{accounts:m,chainId:b});const g=await this.getProvider();g&&(l&&(g.removeListener("connect",l),l=void 0),s||(s=this.onAccountsChanged.bind(this),g.on("accountsChanged",s)),u||(u=this.onChainChanged.bind(this),g.on("chainChanged",u)),f||(f=this.onDisconnect.bind(this),g.on("disconnect",f)))},async onDisconnect(p){const m=await this.getProvider();p&&p.code===1013&&m&&(await this.getAccounts()).length||(d.emitter.emit("disconnect"),m&&(u&&(m.removeListener("chainChanged",u),u=void 0),f&&(m.removeListener("disconnect",f),f=void 0),l||(l=this.onConnect.bind(this),m.on("connect",l))))}})}const NN={coinbaseWallet:{id:"coinbaseWallet",name:"Coinbase Wallet",provider(e){return e?.coinbaseWalletExtension?e.coinbaseWalletExtension:Jl(e,"isCoinbaseWallet")}},metaMask:{id:"metaMask",name:"MetaMask",provider(e){return Jl(e,t=>{if(!t.isMetaMask||t.isBraveWallet&&!t._events&&!t._state)return!1;const n=["isApexWallet","isAvalanche","isBitKeep","isBlockWallet","isKuCoinWallet","isMathWallet","isOkxWallet","isOKExWallet","isOneInchIOSWallet","isOneInchAndroidWallet","isOpera","isPhantom","isPortal","isRabby","isTokenPocket","isTokenary","isUniswapWallet","isZerion"];for(const a of n)if(t[a])return!1;return!0})}},phantom:{id:"phantom",name:"Phantom",provider(e){return e?.phantom?.ethereum?e.phantom?.ethereum:Jl(e,"isPhantom")}}};function Jl(e,t){function n(s){return typeof t=="function"?t(s):typeof t=="string"?s[t]:!0}const a=e.ethereum;if(a?.providers)return a.providers.find(s=>n(s));if(a&&n(a))return a}function LN(e){if(typeof window>"u")return;const t=n=>e(n.detail);return window.addEventListener("eip6963:announceProvider",t),window.dispatchEvent(new CustomEvent("eip6963:requestProvider")),()=>window.removeEventListener("eip6963:announceProvider",t)}function $N(){const e=new Set;let t=[];const n=()=>LN(s=>{t.some(({info:u})=>u.uuid===s.info.uuid)||(t=[...t,s],e.forEach(u=>u(t,{added:[s]})))});let a=n();return{_listeners(){return e},clear(){e.forEach(s=>s([],{removed:[...t]})),t=[]},destroy(){this.clear(),e.clear(),a?.()},findProvider({rdns:s}){return t.find(u=>u.info.rdns===s)},getProviders(){return t},reset(){this.clear(),a?.(),a=n()},subscribe(s,{emitImmediately:u}={}){return e.add(s),u&&s(t,{added:t}),()=>e.delete(s)}}}const kN=e=>(t,n,a)=>{const s=a.subscribe;return a.subscribe=(l,f,d)=>{let p=l;if(f){const m=d?.equalityFn||Object.is;let b=l(a.getState());p=g=>{const v=l(g);if(!m(b,v)){const x=b;f(b=v,x)}},d?.fireImmediately&&f(b,b)}return s(p)},e(t,n,a)},UN=kN;function jN(e,t){let n;try{n=e()}catch{return}return{getItem:s=>{var u;const l=d=>d===null?null:JSON.parse(d,void 0),f=(u=n.getItem(s))!=null?u:null;return f instanceof Promise?f.then(l):l(f)},setItem:(s,u)=>n.setItem(s,JSON.stringify(u,void 0)),removeItem:s=>n.removeItem(s)}}const uy=e=>t=>{try{const n=e(t);return n instanceof Promise?n:{then(a){return uy(a)(n)},catch(a){return this}}}catch(n){return{then(a){return this},catch(a){return uy(a)(n)}}}},DN=(e,t)=>(n,a,s)=>{let u={storage:jN(()=>localStorage),partialize:S=>S,version:0,merge:(S,E)=>({...E,...S}),...t},l=!1;const f=new Set,d=new Set;let p=u.storage;if(!p)return e((...S)=>{console.warn(`[zustand persist middleware] Unable to update item \'${u.name}\', the given storage is currently unavailable.`),n(...S)},a,s);const m=()=>{const S=u.partialize({...a()});return p.setItem(u.name,{state:S,version:u.version})},b=s.setState;s.setState=(S,E)=>{b(S,E),m()};const g=e((...S)=>{n(...S),m()},a,s);s.getInitialState=()=>g;let v;const x=()=>{var S,E;if(!p)return;l=!1,f.forEach(z=>{var M;return z((M=a())!=null?M:g)});const R=((E=u.onRehydrateStorage)==null?void 0:E.call(u,(S=a())!=null?S:g))||void 0;return uy(p.getItem.bind(p))(u.name).then(z=>{if(z)if(typeof z.version=="number"&&z.version!==u.version){if(u.migrate)return[!0,u.migrate(z.state,z.version)];console.error("State loaded from storage couldn\'t be migrated since no migrate function was provided")}else return[!1,z.state];return[!1,void 0]}).then(z=>{var M;const[_,C]=z;if(v=u.merge(C,(M=a())!=null?M:g),n(v,!0),_)return m()}).then(()=>{R?.(v,void 0),v=a(),l=!0,d.forEach(z=>z(v))}).catch(z=>{R?.(void 0,z)})};return s.persist={setOptions:S=>{u={...u,...S},S.storage&&(p=S.storage)},clearStorage:()=>{p?.removeItem(u.name)},getOptions:()=>u,rehydrate:()=>x(),hasHydrated:()=>l,onHydrate:S=>(f.add(S),()=>{f.delete(S)}),onFinishHydration:S=>(d.add(S),()=>{d.delete(S)})},u.skipHydration||x(),v||g},HN=DN,n5=e=>{let t;const n=new Set,a=(p,m)=>{const b=typeof p=="function"?p(t):p;if(!Object.is(b,t)){const g=t;t=m??(typeof b!="object"||b===null)?b:Object.assign({},t,b),n.forEach(v=>v(t,g))}},s=()=>t,f={setState:a,getState:s,getInitialState:()=>d,subscribe:p=>(n.add(p),()=>n.delete(p))},d=t=e(a,s,f);return f},up=e=>e?n5(e):n5;class FN{constructor(t){Object.defineProperty(this,"uid",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"_emitter",{enumerable:!0,configurable:!0,writable:!0,value:new yP})}on(t,n){this._emitter.on(t,n)}once(t,n){this._emitter.once(t,n)}off(t,n){this._emitter.off(t,n)}emit(t,...n){const a=n[0];this._emitter.emit(t,{uid:this.uid,...a})}listenerCount(t){return this._emitter.listenerCount(t)}}function qN(e){return new FN(e)}function GN(e,t){return JSON.parse(e,(n,a)=>{let s=a;return s?.__type==="bigint"&&(s=BigInt(s.value)),s?.__type==="Map"&&(s=new Map(s.value)),t?.(n,s)??s})}function r5(e,t){return e.slice(0,t).join(".")||"."}function i5(e,t){const{length:n}=e;for(let a=0;a<n;++a)if(e[a]===t)return a+1;return 0}function VN(e,t){const n=typeof e=="function",a=typeof t=="function",s=[],u=[];return function(f,d){if(typeof d=="object")if(s.length){const p=i5(s,this);p===0?s[s.length]=this:(s.splice(p),u.splice(p)),u[u.length]=f;const m=i5(s,d);if(m!==0)return a?t.call(this,f,d,r5(u,m)):`[ref=${r5(u,m)}]`}else s[0]=d,u[0]=f;return n?e.call(this,f,d):d}}function KN(e,t,n,a){return JSON.stringify(e,VN((s,u)=>{let l=u;return typeof l=="bigint"&&(l={__type:"bigint",value:u.toString()}),l instanceof Map&&(l={__type:"Map",value:Array.from(u.entries())}),t?.(s,l)??l},a),n??void 0)}function QN(e){const{deserialize:t=GN,key:n="wagmi",serialize:a=KN,storage:s=CS}=e;function u(l){return l instanceof Promise?l.then(f=>f).catch(()=>null):l}return{...s,key:n,async getItem(l,f){const d=s.getItem(`${n}.${l}`),p=await u(d);return p?t(p)??null:f??null},async setItem(l,f){const d=`${n}.${l}`;f===null?await u(s.removeItem(d)):await u(s.setItem(d,a(f)))},async removeItem(l){await u(s.removeItem(`${n}.${l}`))}}}const CS={getItem:()=>null,setItem:()=>{},removeItem:()=>{}};function YN(){const e=typeof window<"u"&&window.localStorage?window.localStorage:CS;return{getItem(t){return e.getItem(t)},removeItem(t){e.removeItem(t)},setItem(t,n){try{e.setItem(t,n)}catch{}}}}const cy=256;let Dl=cy,Hl;function ZN(e=11){if(!Hl||Dl+e>cy*2){Hl="",Dl=0;for(let t=0;t<cy;t++)Hl+=(256+Math.random()*256|0).toString(16).substring(1)}return Hl.substring(Dl,Dl+++e)}function XN(e){const{multiInjectedProviderDiscovery:t=!0,storage:n=QN({storage:YN()}),syncConnectedChain:a=!0,ssr:s=!1,...u}=e,l=typeof window<"u"&&t?$N():void 0,f=up(()=>u.chains),d=up(()=>{const C=[],B=new Set;for(const O of u.connectors??[]){const I=p(O);if(C.push(I),!s&&I.rdns){const U=typeof I.rdns=="string"?[I.rdns]:I.rdns;for(const D of U)B.add(D)}}if(!s&&l){const O=l.getProviders();for(const I of O)B.has(I.info.rdns)||C.push(p(m(I)))}return C});function p(C){const B=qN(ZN());let O;const I={...C({emitter:B,chains:f.getState(),get providers(){if(!l||!O)return[];const U=typeof O=="string"?[O]:O,D=l.getProviders();return U.flatMap(Q=>D.filter(X=>X.info.rdns===Q))},storage:n,transports:u.transports}),emitter:B,uid:B.uid};return O=I.rdns,B.on("connect",M),I.setup?.(),I}function m(C){const{info:B}=C,O=C.provider;return Bm({target:{...B,id:B.rdns,provider:O}})}const b=new Map;function g(C={}){const B=C.chainId??E.getState().chainId,O=f.getState().find(U=>U.id===B);if(C.chainId&&!O)throw new sy;{const U=b.get(E.getState().chainId);if(U&&!O)return U;if(!O)throw new sy}{const U=b.get(B);if(U)return U}let I;if(u.client)I=u.client({chain:O});else{const U=O.id,D=f.getState().map(te=>te.id),Q={},X=Object.entries(u);for(const[te,ue]of X)if(!(te==="chains"||te==="client"||te==="connectors"||te==="transports"))if(typeof ue=="object")if(U in ue)Q[te]=ue[U];else{if(D.some($=>$ in ue))continue;Q[te]=ue}else Q[te]=ue;I=_N({...Q,chain:O,batch:Q.batch??{multicall:!0},transport:te=>u.transports[U]({...te,connectors:d})})}return b.set(B,I),I}function v(){return{chainId:f.getState()[0].id,connections:new Map,current:null,status:"disconnected"}}let x;const S="0.0.0-canary-";Xl.startsWith(S)?x=Number.parseInt(Xl.replace(S,""),10):x=Number.parseInt(Xl.split(".")[0]??"0",10);const E=up(UN(n?HN(v,{migrate(C,B){if(B===x)return C;const O=v(),I=R(C,O.chainId);return{...O,chainId:I}},name:"store",partialize(C){return{connections:{__type:"Map",value:Array.from(C.connections.entries()).map(([B,O])=>{const{id:I,name:U,type:D,uid:Q}=O.connector;return[B,{...O,connector:{id:I,name:U,type:D,uid:Q}}]})},chainId:C.chainId,current:C.current}},merge(C,B){typeof C=="object"&&C&&"status"in C&&delete C.status;const O=R(C,B.chainId);return{...B,...C,chainId:O}},skipHydration:s,storage:n,version:x}):v));E.setState(v());function R(C,B){return C&&typeof C=="object"&&"chainId"in C&&typeof C.chainId=="number"&&f.getState().some(O=>O.id===C.chainId)?C.chainId:B}a&&E.subscribe(({connections:C,current:B})=>B?C.get(B)?.chainId:void 0,C=>{if(f.getState().some(O=>O.id===C))return E.setState(O=>({...O,chainId:C??O.chainId}))}),l?.subscribe(C=>{const B=new Set,O=new Set;for(const U of d.getState())if(B.add(U.id),U.rdns){const D=typeof U.rdns=="string"?[U.rdns]:U.rdns;for(const Q of D)O.add(Q)}const I=[];for(const U of C){if(O.has(U.info.rdns))continue;const D=p(m(U));B.has(D.id)||I.push(D)}n&&!E.persist.hasHydrated()||d.setState(U=>[...U,...I],!0)});function z(C){E.setState(B=>{const O=B.connections.get(C.uid);return O?{...B,connections:new Map(B.connections).set(C.uid,{accounts:C.accounts??O.accounts,chainId:C.chainId??O.chainId,connector:O.connector})}:B})}function M(C){E.getState().status==="connecting"||E.getState().status==="reconnecting"||E.setState(B=>{const O=d.getState().find(I=>I.uid===C.uid);return O?(O.emitter.listenerCount("connect")&&O.emitter.off("connect",z),O.emitter.listenerCount("change")||O.emitter.on("change",z),O.emitter.listenerCount("disconnect")||O.emitter.on("disconnect",_),{...B,connections:new Map(B.connections).set(C.uid,{accounts:C.accounts,chainId:C.chainId,connector:O}),current:C.uid,status:"connected"}):B})}function _(C){E.setState(B=>{const O=B.connections.get(C.uid);if(O){const U=O.connector;U.emitter.listenerCount("change")&&O.connector.emitter.off("change",z),U.emitter.listenerCount("disconnect")&&O.connector.emitter.off("disconnect",_),U.emitter.listenerCount("connect")||O.connector.emitter.on("connect",M)}if(B.connections.delete(C.uid),B.connections.size===0)return{...B,connections:new Map,current:null,status:"disconnected"};const I=B.connections.values().next().value;return{...B,connections:new Map(B.connections),current:I.connector.uid}})}return{get chains(){return f.getState()},get connectors(){return d.getState()},storage:n,getClient:g,get state(){return E.getState()},setState(C){let B;typeof C=="function"?B=C(E.getState()):B=C;const O=v();typeof B!="object"&&(B=O),Object.keys(O).some(U=>!(U in B))&&(B=O),E.setState(B,!0)},subscribe(C,B,O){return E.subscribe(C,B,O?{...O,fireImmediately:O.emitImmediately}:void 0)},_internal:{mipd:l,async revalidate(){const C=E.getState(),B=C.connections;let O=C.current;for(const[,I]of B){const U=I.connector;U.isAuthorized&&await U.isAuthorized()||(B.delete(U.uid),O===U.uid&&(O=null))}E.setState(I=>({...I,connections:B,current:O}))},store:E,ssr:!!s,syncConnectedChain:a,transports:u.transports,chains:{setState(C){const B=typeof C=="function"?C(f.getState()):C;if(B.length!==0)return f.setState(B,!0)},subscribe(C){return f.subscribe(C)}},connectors:{providerDetailToConnector:m,setup:p,setState(C){return d.setState(typeof C=="function"?C(d.getState()):C,!0)},subscribe(C){return d.subscribe(C)}},events:{change:z,connect:M,disconnect:_}}}}function JN(e,t){const{initialState:n,reconnectOnMount:a}=t;return n&&!e._internal.store.persist.hasHydrated()&&e.setState({...n,chainId:e.chains.some(s=>s.id===n.chainId)?n.chainId:e.chains[0].id,connections:a?n.connections:new Map,status:a?"reconnecting":"disconnected"}),{async onMount(){e._internal.ssr&&(await e._internal.store.persist.rehydrate(),e._internal.mipd&&e._internal.connectors.setState(s=>{const u=new Set;for(const d of s??[])if(d.rdns){const p=Array.isArray(d.rdns)?d.rdns:[d.rdns];for(const m of p)u.add(m)}const l=[],f=e._internal.mipd?.getProviders()??[];for(const d of f){if(u.has(d.info.rdns))continue;const p=e._internal.connectors.providerDetailToConnector(d),m=e._internal.connectors.setup(p);l.push(m)}return[...s,...l]})),a?IN(e):e.storage&&e.setState(s=>({...s,connections:new Map}))}}}function WN(e){const{children:t,config:n,initialState:a,reconnectOnMount:s=!0}=e,{onMount:u}=JN(n,{initialState:a,reconnectOnMount:s});n._internal.ssr||u();const l=re.useRef(!0);return re.useEffect(()=>{if(l.current&&n._internal.ssr)return u(),()=>{l.current=!1}},[]),t}const eL=re.createContext(void 0);function tL(e){const{children:t,config:n}=e,a={value:n};return re.createElement(WN,e,re.createElement(eL.Provider,a,t))}const nL=""+new URL("styles-Cd7Fp5b_.css",import.meta.url).href;function rL(e){return V.jsx("svg",{"aria-label":"Tempo",className:e.className,fill:"none",height:"14",role:"img",viewBox:"0 0 13 14",width:"13",children:V.jsx("path",{d:"M4.594 14H.944L4.327 3.173H0L.944 0H13l-.944 3.173H7.96z",fill:"currentColor"})})}function iL(e){return V.jsxs("svg",{"aria-label":"Tempo",className:e.className,fill:"none",height:"24",role:"img",viewBox:"0 0 107 24",width:"107",children:[V.jsx("title",{children:"Tempo"}),V.jsx("path",{d:"M7.903 23.516h-6.28L7.445 5.593H0L1.624.34h20.739l-1.624 5.253h-7.046zM31.273 23.516H16.385L23.859.34h14.827l-1.409 4.419h-8.608l-1.562 4.975h8.332l-1.41 4.357h-8.362l-1.562 5.006h8.546zM38.011 23.516h-4.993L40.523.34h8.333l-.276 12.484L56.698.34h9.129l-7.475 23.176h-6.25l5.055-15.852-10.384 15.852h-3.707l.153-15.914zM72.856 4.635l-2.42 7.478h.674q2.297 0 3.829-1.081Q76.47 9.919 76.93 7.88q.398-1.761-.429-2.503-.826-.742-2.757-.742zm-6.066 18.88h-6.28L67.985.34h7.628q2.634 0 4.534.865 1.93.835 2.818 2.41.919 1.546.612 3.616-.398 2.72-2.082 4.79-1.686 2.07-4.381 3.213-2.665 1.113-5.974 1.113h-2.052zM98.546 22.033q-3.124 1.854-6.648 1.854h-.06q-3.126 0-5.27-1.39-2.114-1.422-3.033-3.833-.888-2.41-.428-5.284a16.3 16.3 0 0 1 2.665-6.674q2.082-3.06 5.207-4.883T97.658 0h.06q3.248 0 5.362 1.39 2.144 1.392 2.971 3.801.858 2.38.368 5.346-.582 3.492-2.665 6.582a16.3 16.3 0 0 1-5.208 4.914m-8.67-3.987q.828 1.576 2.88 1.576h.061q1.686 0 3.125-1.267 1.47-1.297 2.481-3.46 1.042-2.164 1.532-4.821.46-2.595-.368-4.172-.826-1.607-2.849-1.607h-.06q-1.563 0-3.034 1.298-1.44 1.298-2.511 3.492a18.8 18.8 0 0 0-1.563 4.759q-.49 2.595.307 4.202",fill:"currentColor"})]})}var aL=/^[\\w!#$%&\'*.^`|~+-]+$/,sL=(e,t,n={})=>{if(!aL.test(e))throw new Error("Invalid cookie name");let a=`${e}=${t}`;if(e.startsWith("__Secure-")&&!n.secure)throw new Error("__Secure- Cookie must have Secure attributes");if(e.startsWith("__Host-")){if(!n.secure)throw new Error("__Host- Cookie must have Secure attributes");if(n.path!=="/")throw new Error(\'__Host- Cookie must have Path attributes with "/"\');if(n.domain)throw new Error("__Host- Cookie must not have Domain attributes")}for(const s of["domain","path","sameSite","priority"])if(n[s]&&/[;\\r\\n]/.test(n[s]))throw new Error(`${s} must not contain ";", "\\\\r", or "\\\\n"`);if(n&&typeof n.maxAge=="number"&&n.maxAge>=0){if(n.maxAge>3456e4)throw new Error("Cookies Max-Age SHOULD NOT be greater than 400 days (34560000 seconds) in duration.");a+=`; Max-Age=${n.maxAge|0}`}if(n.domain&&n.prefix!=="host"&&(a+=`; Domain=${n.domain}`),n.path&&(a+=`; Path=${n.path}`),n.expires){if(n.expires.getTime()-Date.now()>3456e7)throw new Error("Cookies Expires SHOULD NOT be greater than 400 days (34560000 seconds) in the future.");a+=`; Expires=${n.expires.toUTCString()}`}if(n.httpOnly&&(a+="; HttpOnly"),n.secure&&(a+="; Secure"),n.sameSite&&(a+=`; SameSite=${n.sameSite.charAt(0).toUpperCase()+n.sameSite.slice(1)}`),n.priority&&(a+=`; Priority=${n.priority.charAt(0).toUpperCase()+n.priority.slice(1)}`),n.partitioned){if(!n.secure)throw new Error("Partitioned Cookie must have Secure attributes");a+="; Partitioned"}return a},oL=(e,t,n)=>(t=encodeURIComponent(t),sL(e,t,n)),uL=(e,t)=>(e=e.replace(/\\/+$/,""),e=e+"/",t=t.replace(/^\\/+/,""),e+t),ly=(e,t)=>{for(const[n,a]of Object.entries(t)){const s=new RegExp("/:"+n+"(?:{[^/]+})?\\\\??");e=e.replace(s,a?`/${a}`:"")}return e},cL=e=>{const t=new URLSearchParams;for(const[n,a]of Object.entries(e))if(a!==void 0)if(Array.isArray(a))for(const s of a)t.append(n,s);else t.set(n,a);return t},lL=(e,t)=>{switch(t){case"ws":return e.replace(/^http/,"ws");case"http":return e.replace(/^ws/,"http")}},_S=e=>/^https?:\\/\\/[^\\/]+?\\/index(?=\\?|$)/.test(e)?e.replace(/\\/index(?=\\?|$)/,"/"):e.replace(/\\/index(?=\\?|$)/,"");function Fl(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function OS(e,t){if(!Fl(e)&&!Fl(t))return t;const n={...e};for(const a in t){const s=t[a];Fl(n[a])&&Fl(s)?n[a]=OS(n[a],s):n[a]=s}return n}var PS=(e,t)=>new Proxy(()=>{},{get(a,s){if(!(typeof s!="string"||s==="then"))return PS(e,[...t,s])},apply(a,s,u){return e({path:t,args:u})}}),fL=class{url;method;buildSearchParams;queryParams=void 0;pathParams={};rBody;cType=void 0;constructor(e,t,n){this.url=e,this.method=t,this.buildSearchParams=n.buildSearchParams}fetch=async(e,t)=>{if(e){if(e.query&&(this.queryParams=this.buildSearchParams(e.query)),e.form){const f=new FormData;for(const[d,p]of Object.entries(e.form))if(p!==void 0)if(Array.isArray(p))for(const m of p)f.append(d,m);else f.append(d,p);this.rBody=f}e.json&&(this.rBody=JSON.stringify(e.json),this.cType="application/json"),e.param&&(this.pathParams=e.param)}let n=this.method.toUpperCase();const a={...e?.header,...typeof t?.headers=="function"?await t.headers():t?.headers};if(e?.cookie){const f=[];for(const[d,p]of Object.entries(e.cookie))f.push(oL(d,p,{path:"/"}));a.Cookie=f.join(",")}this.cType&&(a["Content-Type"]=this.cType);const s=new Headers(a??void 0);let u=this.url;u=_S(u),u=ly(u,this.pathParams),this.queryParams&&(u=u+"?"+this.queryParams.toString()),n=this.method.toUpperCase();const l=!(n==="GET"||n==="HEAD");return(t?.fetch||fetch)(u,{body:l?this.rBody:void 0,method:n,headers:s,...t?.init})}},dL=(e,t)=>PS(function n(a){const s=t?.buildSearchParams??cL,u=[...a.path],l=u.slice(-3).reverse();if(l[0]==="toString")return l[1]==="name"?l[2]||"":n.toString();if(l[0]==="valueOf")return l[1]==="name"?l[2]||"":n;let f="";if(/^\\$/.test(l[0])){const b=u.pop();b&&(f=b.replace(/^\\$/,""))}const d=u.join("/"),p=uL(e,d);if(f==="url"||f==="path"){let b=p;return a.args[0]&&(a.args[0].param&&(b=ly(p,a.args[0].param)),a.args[0].query&&(b=b+"?"+s(a.args[0].query).toString())),b=_S(b),f==="url"?new URL(b):b.slice(e.replace(/\\/+$/,"").length).replace(/^\\/?/,"/")}if(f==="ws"){const b=lL(a.args[0]&&a.args[0].param?ly(p,a.args[0].param):p,"ws"),g=new URL(b),v=a.args[0]?.query;return v&&Object.entries(v).forEach(([S,E])=>{Array.isArray(E)?E.forEach(R=>g.searchParams.append(S,R)):g.searchParams.set(S,E)}),((...S)=>t?.webSocket!==void 0&&typeof t.webSocket=="function"?t.webSocket(...S):new WebSocket(...S))(g.toString())}const m=new fL(p,f,{buildSearchParams:s});if(f){t??={};const b=OS(t,{...a.args[1]});return m.fetch(a.args[0],b)}return m},[]);function hL(){if(typeof document>"u")return"/";const e=document.querySelector("base");return e?e.href:`${location.origin}/`}const jr=dL(hL()),pL=["config"];function zS(){return typeof window>"u"?void 0:window.__TEMPO_API_CONFIG__}async function yL(){const e=zS();if(e)return e;const t=await jr["config.json"].$get();return t.ok?t.json():{auth:{identity:null}}}function mL(){return{queryKey:pL,queryFn:yL,initialData:zS,staleTime:1/0}}function BS(){return Cf(mL())}function Hk(){const{data:e}=BS(),t=e?.auth.identity;return t?V.jsxs("div",{className:"flex items-center gap-2",children:[V.jsx(wa,{address:IS(t.email),className:"size-9 shrink-0",size:36}),e.auth.logoutUrl?V.jsx("a",{"aria-label":"Sign out",className:"text-foreground-secondary hover:text-foreground",href:e.auth.logoutUrl,children:V.jsx(u3,{className:"size-[18px]"})}):null]}):null}function IS(e){return _n(Yy(e),{as:"Hex"}).slice(0,42)}const bL=10,ed=`0x${"00".repeat(32)}`,gL="tempo:multisig:account",vL="tempo:multisig:config",wL="tempo:multisig:signature";function Im(e){const{salt:t,threshold:n,owners:a}=e;if(typeof t<"u"&&Ye(t)!==32)throw new Gn({reason:"salt must be 32 bytes"});if(a.length===0)throw new Gn({reason:"owners cannot be empty"});if(a.length>bL)throw new Gn({reason:"too many owners"});if(Number(n)<1)throw new Gn({reason:"threshold cannot be zero"});let s=0,u;for(const l of a){if(!ks(l.owner)||je(l.owner)===0n)throw new Gn({reason:"owner cannot be zero"});if(Number(l.weight)<1)throw new Gn({reason:"owner weight cannot be zero"});const f=je(l.owner);if(typeof u<"u"&&u>=f)throw new Gn({reason:"owners must be strictly ascending"});u=f,s+=Number(l.weight)}if(s>4294967295)throw new Gn({reason:"total owner weight exceeds u32 max"});if(Number(n)>s)throw new Gn({reason:"threshold exceeds total owner weight"})}function NS(e){const t=[...e.owners].sort((a,s)=>je(a.owner)<je(s.owner)?-1:1),n={salt:e.salt?Ln(e.salt,32):ed,threshold:e.threshold,owners:t};return Im(n),n}function xL(e){const[t,n,a]=e;return{salt:t&&t!=="0x"?Ln(t,32):ed,threshold:n==="0x"?0:$s(n),owners:a.map(s=>{const[u,l]=s;return{owner:u,weight:!l||l==="0x"?0:$s(l)}})}}function Nm(e){const t=typeof e=="object"&&"genesisConfigId"in e?e.genesisConfigId:Lm(e),n=_n(Ve($r(gL),t));return Rx(Ee(n,12,32))}function SL(e){const{payload:t}=e,n="account"in e&&e.account?e.account:Nm(e.genesisConfig),a="genesisConfigId"in e&&e.genesisConfigId?e.genesisConfigId:Lm(e.genesisConfig);return _n(Ve($r(wL),ec(t),n,a))}function Lm(e){Im(e);const t=_n(Ve($r(vL),Ln(e.salt??ed,32),oe(e.threshold,{size:4}),oe(e.owners.length,{size:4}),...e.owners.flatMap(n=>[n.owner,oe(n.weight,{size:4})])));if(je(t)===0n)throw new Gn({reason:"config ID cannot be zero"});return t}function EL(e){Im(e);const t=e.owners.map(a=>[a.owner,oe(a.weight)]);return[e.salt?Ln(e.salt,32):ed,oe(e.threshold),t]}class Gn extends ye{constructor({reason:t}){super(`Invalid native multisig config: ${t}.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"MultisigConfig.InvalidConfigError"})}}const fy="0x01",dy="0x02",hy="0x03",Wl="0x04",py="0x05",aa="0x7777777777777777777777777777777777777777777777777777777777777777";function td(e){const{signature:t,root:n}=e;return t.type==="keychain"?n?t.userAddress:td({...e,signature:t.inner}):t.type==="multisig"?t.account:Ei(LS(e))}function LS(e){const{payload:t,signature:n}=e;switch(n.type){case"secp256k1":return t3({payload:t,signature:n.signature});case"p256":case"webAuthn":return n.publicKey;case"keychain":return LS({payload:t,signature:n.inner});case"multisig":throw new qs({envelope:n})}}function Bi(e){const t=e.endsWith(aa.slice(2))?Ee(e,0,-Ye(aa)):e;if(Ye(t)===65){const l=am(t);return Uf(l),{signature:l,type:"secp256k1"}}const a=Ee(t,0,1),s=Ee(t,1),u=Ye(s);if(a===fy){if(u!==129)throw new uu({reason:`Invalid P256 signature envelope size: expected 129 bytes, got ${u} bytes`,serialized:t});return{publicKey:{prefix:4,x:je(Ee(s,64,96)),y:je(Ee(s,96,128))},prehash:$s(Ee(s,128,129))!==0,signature:{r:je(Ee(s,0,32)),s:je(Ee(s,32,64))},type:"p256"}}if(a===dy){if(u<128)throw new uu({reason:`Invalid WebAuthn signature envelope size: expected at least 128 bytes, got ${u} bytes`,serialized:t});const l=u-128,f=Ee(s,0,l);let d,p;for(let m=37;m<l;m++){const b=xx(Ee(f,m));if(b.startsWith("{")&&b.endsWith("}"))try{JSON.parse(b),d=Ee(f,0,m),p=b;break}catch{}}if(!d||!p)throw new uu({reason:"Unable to parse WebAuthn metadata: could not extract valid authenticatorData and clientDataJSON",serialized:t});return{publicKey:{prefix:4,x:je(Ee(s,l+64,l+96)),y:je(Ee(s,l+96,l+128))},metadata:{authenticatorData:d,clientDataJSON:p},signature:{r:je(Ee(s,l,l+32)),s:je(Ee(s,l+32,l+64))},type:"webAuthn"}}if(a===hy||a===Wl){const l=Ee(s,0,20),f=Bi(Ee(s,20));return{userAddress:l,inner:f,type:"keychain",version:a===Wl?"v2":"v1"}}if(a===py){const[l,f,d,p]=Ix(s);return{type:"multisig",account:l,genesisConfigId:f,signatures:d.map(m=>Bi(m)),...p&&p!=="0x"?{init:xL(p)}:{}}}throw new uu({reason:`Unknown signature type identifier: ${a}. Expected ${fy} (P256), ${dy} (WebAuthn), ${hy} (Keychain V1), ${Wl} (Keychain V2), or ${py} (Multisig)`,serialized:t})}function Yn(e,t){if(typeof e=="string")return Bi(e);if(typeof e=="object"&&e!==null&&"r"in e&&"s"in e&&"yParity"in e)return{signature:e,type:"secp256k1"};const n=$m(e);if(n==="multisig"){const a=e,{genesisConfig:s,init:u,...l}=a,f=l.account?l.account:s?Nm(s):l.account,d=l.genesisConfigId?l.genesisConfigId:s?Lm(s):l.genesisConfigId,p=u===!0?s:u||void 0;return{...l,account:f,genesisConfigId:d,signatures:l.signatures.map(m=>Yn(m)),...p?{init:NS(p)}:{},type:n}}return{...e,...n==="p256"?{prehash:e.prehash}:{},...n==="keychain"?{...typeof e=="object"&&e!==null&&"version"in e&&e.version?{}:{version:"v2"},...typeof e=="object"&&"keyId"in e&&e.keyId?{}:(()=>{const a=e.inner;return a.type==="p256"||a.type==="webAuthn"?{keyId:Ei(a.publicKey)}:(a.type==="secp256k1"&&t?.payload,{})})()}:{},type:n}}function nd(e){if(e.type==="secp256k1")return{signature:sm(e),type:"secp256k1"};if(e.type==="p256")return{prehash:e.preHash,publicKey:{prefix:4,x:je(e.pubKeyX),y:je(e.pubKeyY)},signature:{r:je(e.r),s:je(e.s)},type:"p256"};if(e.type==="webAuthn"){const t=e.webauthnData,n=Ye(t);let a,s;for(let u=37;u<n;u++){const l=xx(Ee(t,u));if(l.startsWith("{")&&l.endsWith("}"))try{JSON.parse(l),a=Ee(t,0,u),s=l;break}catch{}}if(!a||!s)throw new uu({reason:"Unable to parse WebAuthn metadata: could not extract valid authenticatorData and clientDataJSON",serialized:t});return{metadata:{authenticatorData:a,clientDataJSON:s},publicKey:{prefix:4,x:je(e.pubKeyX),y:je(e.pubKeyY)},signature:{r:je(e.r),s:je(e.s)},type:"webAuthn"}}if(e.type==="keychain"||"userAddress"in e&&"signature"in e){const t=e;return{type:"keychain",userAddress:t.userAddress,inner:nd(t.signature),...t.keyId?{keyId:t.keyId}:{},...t.version?{version:t.version}:{}}}if(e.type==="multisig"||"account"in e&&"configId"in e&&"signatures"in e){const t=e;return{type:"multisig",account:t.account,genesisConfigId:t.configId,signatures:t.signatures.map(n=>Bi(n)),...t.init?{init:NS(t.init)}:{}}}throw new qs({envelope:e})}function $m(e){if(typeof e!="object"||e===null)throw new qs({envelope:e});if("type"in e&&e.type)return e.type;if("signature"in e&&!("publicKey"in e)&&typeof e.signature=="object"&&e.signature!==null&&"r"in e.signature&&"s"in e.signature&&"yParity"in e.signature||"r"in e&&"s"in e&&"yParity"in e)return"secp256k1";if("signature"in e&&"prehash"in e&&"publicKey"in e&&typeof e.prehash=="boolean")return"p256";if("signature"in e&&"metadata"in e&&"publicKey"in e)return"webAuthn";if("userAddress"in e&&"inner"in e)return"keychain";if(("account"in e&&"genesisConfigId"in e||"genesisConfig"in e)&&"signatures"in e)return"multisig";throw new qs({envelope:e})}function Fs(e,t={}){const n=$m(e);if(n==="secp256k1")return Ve(F7(e.signature),t.magic?aa:"0x");if(n==="p256"){const a=e;return Ve(fy,oe(a.signature.r,{size:32}),oe(a.signature.s,{size:32}),oe(a.publicKey.x,{size:32}),oe(a.publicKey.y,{size:32}),oe(a.prehash?1:0,{size:1}),t.magic?aa:"0x")}if(n==="webAuthn"){const a=e,s=Ve(a.metadata.authenticatorData,$r(a.metadata.clientDataJSON));return Ve(dy,s,oe(a.signature.r,{size:32}),oe(a.signature.s,{size:32}),oe(a.publicKey.x,{size:32}),oe(a.publicKey.y,{size:32}),t.magic?aa:"0x")}if(n==="keychain"){const a=e,s=a.version==="v1"?hy:Wl;return Ve(s,a.userAddress,Fs(a.inner),t.magic?aa:"0x")}if(n==="multisig"){const a=e;return Ve(py,im([a.account,a.genesisConfigId,a.signatures.map(s=>Fs(s)),a.init?EL(a.init):"0x"]),t.magic?aa:"0x")}throw new qs({envelope:e})}function AL(e){const{payload:t,signatures:n}=e,a=SL("genesisConfig"in e&&e.genesisConfig?{payload:t,genesisConfig:e.genesisConfig}:{payload:t,account:e.account,genesisConfigId:e.genesisConfigId});return n.map(s=>({key:je(td({payload:a,signature:s})),signature:s})).sort((s,u)=>s.key<u.key?-1:s.key>u.key?1:0).map(s=>s.signature)}function km(e){const t=$m(e);if(t==="secp256k1")return{...Xx(e.signature),type:"secp256k1"};if(t==="p256"){const n=e;return{preHash:n.prehash,pubKeyX:oe(n.publicKey.x,{size:32}),pubKeyY:oe(n.publicKey.y,{size:32}),r:oe(n.signature.r,{size:32}),s:oe(n.signature.s,{size:32}),type:"p256"}}if(t==="webAuthn"){const n=e,a=Ve(n.metadata.authenticatorData,$r(n.metadata.clientDataJSON));return{pubKeyX:oe(n.publicKey.x,{size:32}),pubKeyY:oe(n.publicKey.y,{size:32}),r:oe(n.signature.r,{size:32}),s:oe(n.signature.s,{size:32}),type:"webAuthn",webauthnData:a}}if(t==="keychain"){const n=e;return{type:"keychain",userAddress:n.userAddress,signature:km(n.inner),...n.keyId?{keyId:n.keyId}:{},...n.version?{version:n.version}:{}}}if(t==="multisig"){const n=e;return{type:"multisig",account:n.account,configId:n.genesisConfigId,signatures:n.signatures.map(a=>Fs(a)),...n.init?{init:n.init}:{}}}throw new qs({envelope:e})}function a5(e,t){const{payload:n}=t,a=(()=>{if(t.address)return t.address;if(t.publicKey)return Ei(t.publicKey)})();if(!a)return!1;const s=Yn(e);if(s.type==="secp256k1")return a?iP({address:a,payload:n,signature:s.signature}):!1;if(s.type==="p256"){const u=Ei(s.publicKey);return Bp(u,a)?a3({hash:s.prehash,publicKey:s.publicKey,payload:n,signature:s.signature}):!1}if(s.type==="webAuthn"){const u=Ei(s.publicKey);return Bp(u,a)?EP({challenge:ec(n),metadata:s.metadata,publicKey:s.publicKey,signature:s.signature}):!1}throw new TL(`Unable to verify signature envelope of type "${s.type}".`)}class qs extends ye{constructor({envelope:t}){super(`Unable to coerce value (\\`${Ys(t)}\\`) to a valid signature envelope.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SignatureEnvelope.CoercionError"})}}class uu extends ye{constructor({reason:t,serialized:n}){super(`Unable to deserialize signature envelope: ${t}`,{metaMessages:[`Serialized: ${n}`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SignatureEnvelope.InvalidSerializedError"})}}class TL extends ye{constructor(){super(...arguments),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SignatureEnvelope.VerificationError"})}}function Nt(e){return e.startsWith("tempo")?ML(e).address:e}function ML(e){if(!e.startsWith("tempox"))throw new RL({address:e});const t=e.slice(6);return vx(t,{strict:!0}),{address:Lf(t)}}class RL extends ye{constructor({address:t}){super(`Tempo address "${t}" has an invalid prefix. Expected "tempox".`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"TempoAddress.InvalidPrefixError"})}}function CL(e,t={}){if(typeof e.chainId=="string")return $S(e);const n={...e,address:Nt(e.address)};return t.signature?{...n,signature:t.signature}:n}function $S(e){const{address:t,chainId:n,nonce:a}=e,s=nd(e.signature);return{address:t,chainId:Number(n),nonce:BigInt(a),signature:s}}function _L(e){return e.map(t=>$S(t))}function OL(e){const[t,n,a,s]=e,u={address:n,chainId:t==="0x"?0:Number(t),nonce:a==="0x"?0n:BigInt(a)};return s&&(u.signature=Bi(s)),CL(u)}function PL(e){const t=[];for(const n of e)t.push(OL(n));return t}function zL(e){const{address:t,chainId:n,nonce:a,signature:s}=e;return{address:t,chainId:oe(n),nonce:oe(a),signature:km(s)}}function BL(e){return e.map(t=>zL(t))}function IL(e){const{address:t,chainId:n,nonce:a}=e,s=e.signature?Fs(e.signature):void 0;return[n?oe(n):"0x",t,a?oe(a):"0x",...s?[s]:[]]}function NL(e){if(!e||e.length===0)return[];const t=[];for(const n of e)t.push(IL(n));return t}const yy="0x20c0";function Fk(e){const t=Nt(e);if(!t.toLowerCase().startsWith(yy))throw new Error("invalid tip20 address.");return je(Ee(t,yy.length))}function rd(e){if(typeof e=="string"){const n=Nt(e);return $n(n),n}const t=oe(e,{size:18});return Ve(yy,t)}function kS(e,t={}){if("keyId"in e)return US(e);const n=e;n.witness!==void 0&&sc(n.witness);const a={...n,address:Nt(n.address),...n.limits?{limits:n.limits.map(s=>({...s,token:Nt(s.token)}))}:{},...n.scopes?{scopes:n.scopes.map(s=>({...s,address:Nt(s.address),selector:Um(s.selector),...s.recipients?{recipients:s.recipients.map(u=>Nt(u))}:{}}))}:{}};return t.signature?{...a,signature:Yn(t.signature)}:a}function US(e){const{allowedCalls:t,chainId:n,keyId:a,expiry:s,limits:u,keyType:l}=e,f=e.witness??void 0,d=e.isAdmin??void 0,p=e.account??void 0,m=nd(e.signature);f!==void 0&&sc(f);const b=t?t.flatMap(g=>!g.selectorRules||g.selectorRules.length===0?[{address:g.target}]:g.selectorRules.map(v=>({address:g.target,selector:DL(v.selector),...v.recipients&&v.recipients.length>0?{recipients:v.recipients}:{}}))):void 0;return{address:a,chainId:n==="0x"?0n:je(n),...s!=null?{expiry:Number(s)}:{},limits:u?.map(g=>({token:g.token,limit:BigInt(g.limit),...g.period&&bf(g.period)>0?{period:bf(g.period)}:{}})),...b?{scopes:b}:{},signature:m,type:l,...f!==void 0?{witness:f}:{},...d?{isAdmin:!0}:{},...p!==void 0?{account:p}:{}}}function LL(e){const[t,n]=e,[a,s,u,...l]=t,f=(()=>{switch(s){case"0x":case"0x00":return"secp256k1";case"0x01":return"p256";case"0x02":return"webAuthn";default:throw new Error(`Invalid key type: ${s}`)}})(),[d,p,m,b,g,v]=l,x=ql(d)?void 0:bf(d)||void 0,S=Array.isArray(p)&&p.length>0?p.map(B=>{const[O,I,U]=B;return{token:O,limit:jL(I),...U!==void 0?{period:bf(U)}:{}}}):void 0,E=Array.isArray(m)?m.flatMap(B=>{const[O,I]=B;return!Array.isArray(I)||I.length===0?[{address:O}]:I.map(U=>{const[D,Q]=U;return{address:O,selector:D,...Array.isArray(Q)&&Q.length>0?{recipients:Q}:{}}})}):void 0,R=ql(b)?void 0:b;R!==void 0&&sc(R);const z=(()=>{if(!ql(g)){if(g!=="0x01")throw new FL(g);return!0}})(),M=ql(v)?void 0:v,_=M!==void 0&&z?{account:M,isAdmin:!0}:{},C={address:u,chainId:a==="0x"?0n:je(a),type:f,...x!==void 0?{expiry:x}:{},...S!==void 0?{limits:S}:{},...E!==void 0?{scopes:E}:{},...R!==void 0?{witness:R}:{},..._};return n&&(C.signature=Bi(n)),kS(C)}function $L(e){return kL(e)}function kL(e){const[t]=jS(e),n=im(t);return _n(n)}function UL(e){const{address:t,scopes:n,chainId:a,expiry:s,limits:u,type:l,signature:f,witness:d,isAdmin:p,account:m}=e;d!==void 0&&sc(d);const b=(()=>{if(!n)return;const g=new Map;for(const v of n){const x=v.address;g.has(x)||g.set(x,[]),v.selector&&g.get(x).push({selector:Um(v.selector),...v.recipients&&v.recipients.length>0?{recipients:v.recipients}:{}})}return[...g.entries()].map(([v,x])=>({target:v,...x.length>0?{selectorRules:x}:{}}))})();return{chainId:a===0n?"0x":oe(a),expiry:typeof s=="number"?oe(s):null,keyId:Nt(t),keyType:l,limits:u?.map(({token:g,limit:v,period:x})=>({token:g,limit:oe(v),...x?{period:my(x)}:{}})),signature:km(f),...b?{allowedCalls:b}:{},...d!==void 0?{witness:d}:{},...p?{isAdmin:!0}:{},...m!==void 0?{account:m}:{}}}function jS(e){const{address:t,chainId:n,scopes:a,expiry:s,limits:u,witness:l,isAdmin:f,account:d}=e;l!==void 0&&sc(l);const p=e.signature?Fs(e.signature):void 0,m=(()=>{switch(e.type){case"secp256k1":return"0x";case"p256":return"0x01";case"webAuthn":return"0x02";default:throw new Error(`Invalid key type: ${e.type}`)}})(),b=u?.map(z=>{const M=[z.token,s5(z.limit)];return z.period&&z.period>0&&M.push(my(z.period)),M}),g=(()=>{if(!a)return;const z=new Map;for(const M of a){const _=M.address;z.has(_)||z.set(_,[]),M.selector&&z.get(_).push([Um(M.selector),M.recipients??[]])}return[...z.entries()].map(([M,_])=>[M,_.map(([C,B])=>[C,B])])})(),v=l!==void 0||f||d!==void 0,x=[{value:s!=null&&s!==0?my(s):void 0,placeholder:"0x"},{value:b,placeholder:v?"0x":[]},{value:g,placeholder:"0x"},{value:l,placeholder:"0x"},{value:f?"0x01":void 0,placeholder:"0x"},{value:d,placeholder:"0x"}];let S=-1;for(let z=x.length-1;z>=0;z--)if(x[z].value!==void 0){S=z;break}const E=x.slice(0,S+1).map(({value:z,placeholder:M})=>z??M);return[[s5(n),m,t,...E],...p?[p]:[]]}function s5(e){return e===0n?"0x":oe(e)}function my(e){return e===0?"0x":oe(e)}function jL(e){return e==="0x"?0n:BigInt(e)}function bf(e){return e==="0x"?0:$s(e)}function DL(e){return typeof e=="string"?e:Array.isArray(e)?dt(new Uint8Array(e)):e}function Um(e){if(e)return e.startsWith("0x")?e:_x(e)}function sc(e){if(Ye(e)!==32)throw new HL(e)}function ql(e){return e===void 0||e==="0x"}class HL extends Error{constructor(t){super(`Witness \\`${t}\\` must be exactly 32 bytes (got ${Ye(t)} bytes).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"KeyAuthorization.InvalidWitnessSizeError"})}}class FL extends Error{constructor(t){super(`Admin marker \\`${t}\\` is invalid; expected \\`0x01\\` (TIP-1049).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"KeyAuthorization.InvalidAdminMarkerError"})}}const DS={...Wx,tempo:"0x76"},qL={...e3,"0x76":"tempo"};function GL(e,t={}){if(!e)return null;const n=tP(e);return n.type=qL[e.type],e.aaAuthorizationList&&(n.authorizationList=_L(e.aaAuthorizationList),delete n.aaAuthorizationList),e.calls&&(n.calls=e.calls.map(a=>({to:a.to,value:a.value&&a.value!=="0x"?BigInt(a.value):void 0,data:a.input||a.data||"0x"}))),e.feeToken&&(n.feeToken=e.feeToken),e.nonceKey&&(n.nonceKey=BigInt(e.nonceKey)),e.signature&&(n.signature=nd(e.signature)),e.validAfter&&(n.validAfter=Number(e.validAfter)),e.validBefore&&(n.validBefore=Number(e.validBefore)),e.keyAuthorization&&(n.keyAuthorization=US(e.keyAuthorization)),e.feePayerSignature&&(n.feePayerSignature=sm(e.feePayerSignature),n.feePayerSignature.v=um(n.feePayerSignature.yParity)),n}function VL(e){const t=mP({...e,authorizationList:void 0});e.authorizationList&&(t.authorizationList=BL(e.authorizationList)),e.calls?t.calls=e.calls.map(a=>({to:a.to?Nt(a.to):a.to,value:a.value?oe(a.value):"0x",data:a.data??"0x"})):(e.to||e.data||e.value)&&(t.calls=[{to:e.to?Nt(e.to):void 0,value:e.value?oe(e.value):"0x",data:e.data??"0x"}]),typeof e.feeToken<"u"&&(t.feeToken=rd(e.feeToken)),e.keyAuthorization&&(t.keyAuthorization=UL(e.keyAuthorization)),typeof e.validBefore<"u"&&(t.validBefore=oe(e.validBefore)),typeof e.validAfter<"u"&&(t.validAfter=oe(e.validAfter));const n=(()=>{if(e.nonceKey==="random")return nO(6);if(typeof e.nonceKey=="bigint")return oe(e.nonceKey)})();return n&&(t.nonceKey=n),(typeof e.calls<"u"||typeof e.feePayer<"u"||typeof e.feeToken<"u"||typeof e.keyAuthorization<"u"||typeof e.nonceKey<"u"||typeof e.validBefore<"u"||typeof e.validAfter<"u"||e.type==="tempo")&&(t.type=DS.tempo,delete t.data,delete t.input,delete t.to,delete t.value),t}const KL="0x78",QL="0x76",o5="tempo";function jm(e){const{calls:t,chainId:n,maxFeePerGas:a,maxPriorityFeePerGas:s,validBefore:u,validAfter:l}=e;if(!t||t.length===0)throw new WL;if(typeof u=="number"&&typeof l=="number"&&u<=l)throw new e$({validBefore:u,validAfter:l});if(t)for(const f of t)f.to&&$n(f.to,{strict:!1});if(n<=0)throw new vP({chainId:n});if(a&&BigInt(a)>2n**256n-1n)throw new gP({feeCap:a});if(s&&a&&s>a)throw new xP({maxFeePerGas:a,maxPriorityFeePerGas:s})}function YL(e){const t=Ix(Ee(e,1)),[n,a,s,u,l,f,d,p,m,b,g,v,x,S,E]=t,R=Array.isArray(S)?S:void 0,z=R?E:S;if(!(t.length===13||t.length===14||t.length===15))throw new wP({attributes:{authorizationList:x,chainId:n,maxPriorityFeePerGas:a,maxFeePerGas:s,gas:u,calls:l,accessList:f,keyAuthorization:R,nonceKey:d,nonce:p,validBefore:m,validAfter:b,feeToken:g,feePayerSignatureOrSender:v,...t.length>12?{signature:z}:{}},serialized:e,type:o5});let M={chainId:Number(n),type:o5};if(In(u)&&u!=="0x"&&(M.gas=BigInt(u)),In(p)&&(M.nonce=p==="0x"?0n:BigInt(p)),In(s)&&s!=="0x"&&(M.maxFeePerGas=BigInt(s)),In(a)&&a!=="0x"&&(M.maxPriorityFeePerGas=BigInt(a)),In(d)&&(M.nonceKey=d==="0x"?0n:BigInt(d)),In(m)&&m!=="0x"&&(M.validBefore=Number(m)),In(b)&&b!=="0x"&&(M.validAfter=Number(b)),In(g)&&g!=="0x"&&(M.feeToken=g),l&&l!=="0x"){const C=l;M.calls=C.map(B=>{const[O,I,U]=B,D={};return O&&O!=="0x"&&(D.to=O),I&&I!=="0x"&&(D.value=BigInt(I)),U&&U!=="0x"&&(D.data=U),D})}f?.length!==0&&f!=="0x"&&(M.accessList=c7(f)),x?.length!==0&&x!=="0x"&&(M.authorizationList=PL(x)),v!=="0x"&&v!==void 0&&(v==="0x00"||ks(v)?(M.feePayerSignature=null,ks(v)&&(M.from=v)):M.feePayerSignature=H7(v)),R&&(M.keyAuthorization=LL(R));const _=z?Bi(z):void 0;if(_&&(M={...M,signature:_}),!M.from&&_)try{M.from=td({payload:vf(gf(M)),signature:_,root:!0})}catch{}return jm(M),M}function gf(e,t={}){const{feePayerSignature:n,signature:a}=t,s=typeof e=="string"?YL(e):e;return s.from&&(s.from=Nt(s.from)),s.calls&&(s.calls=s.calls.map(u=>({...u,...u.to?{to:Nt(u.to)}:{}}))),jm(s),{...s,...a?{signature:Yn(a)}:{},...n?{feePayerSignature:jf(n)}:{},type:"tempo"}}function Ar(e,t={}){const{accessList:n,authorizationList:a,calls:s,chainId:u,feeToken:l,gas:f,keyAuthorization:d,nonce:p,nonceKey:m,maxFeePerGas:b,maxPriorityFeePerGas:g,validBefore:v,validAfter:x}=e;jm(e);const S=l7(n),E=t.signature||e.signature,R=NL(a),z=s.map(B=>[B.to?Nt(B.to):"0x",B.value?oe(B.value):"0x",B.data??"0x"]);let M=!1;const _=(()=>{if(t.sender)return t.sender;if(t.format==="feePayer"&&E){const O=Yn(E);if(O.type==="keychain")return O.userAddress;if(O.type==="p256"||O.type==="webAuthn")return Ei(O.publicKey);if(O.type==="secp256k1")return cm({payload:vf(gf(e)),signature:O.signature})}const B=typeof t.feePayerSignature<"u"?t.feePayerSignature:e.feePayerSignature;return B===null?(M=!0,"0x00"):B?q7(B):"0x"})(),C=[oe(u),g?oe(g):"0x",b?oe(b):"0x",f?oe(f):"0x",z,S,m?oe(m):"0x",p?oe(p):"0x",typeof v=="number"?oe(v):"0x",typeof x=="number"?oe(x):"0x",!M&&(typeof l=="bigint"||typeof l=="string")?rd(l):"0x",_,R,...d?[jS(d)]:[],...E?[Fs(Yn(E))]:[]];return Ve(t.format==="feePayer"?KL:QL,im(C))}function ZL(e){return Ar({...e,signature:void 0,...e.feePayerSignature!==void 0?{feePayerSignature:null}:{}})}function vf(e,t={}){const n=XL(e,{presign:!0});return t.from?_n(Ve("0x04",n,Nt(t.from))):n}function XL(e,t={}){const n=t.presign?ZL(e):Ar(e);return _n(n)}function JL(e,t){const n=Nt(t.sender),a=Ar({...e,signature:void 0},{sender:n,format:"feePayer"});return _n(a)}class WL extends ye{constructor(){super("Calls list cannot be empty."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"TxEnvelopeTempo.CallsEmptyError"})}}class e$ extends ye{constructor({validBefore:t,validAfter:n}){super(`validBefore (${t}) must be greater than validAfter (${n}).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"TxEnvelopeTempo.InvalidValidityWindowError"})}}const hn=[{name:"authorizeKey",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"keyId"},{type:"uint8",name:"signatureType"},{type:"uint64",name:"expiry"},{type:"bool",name:"enforceLimits"},{type:"tuple[]",name:"limits",components:[{type:"address",name:"token"},{type:"uint256",name:"amount"}]}],outputs:[]},{name:"authorizeKey",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"keyId"},{type:"uint8",name:"signatureType"},{type:"tuple",name:"config",components:[{type:"uint64",name:"expiry"},{type:"bool",name:"enforceLimits"},{type:"tuple[]",name:"limits",components:[{type:"address",name:"token"},{type:"uint256",name:"amount"},{type:"uint64",name:"period"}]},{type:"bool",name:"allowAnyCalls"},{type:"tuple[]",name:"allowedCalls",components:[{type:"address",name:"target"},{type:"tuple[]",name:"selectorRules",components:[{type:"bytes4",name:"selector"},{type:"address[]",name:"recipients"}]}]}]}],outputs:[]},{name:"authorizeKey",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"keyId"},{type:"uint8",name:"signatureType"},{type:"tuple",name:"config",components:[{type:"uint64",name:"expiry"},{type:"bool",name:"enforceLimits"},{type:"tuple[]",name:"limits",components:[{type:"address",name:"token"},{type:"uint256",name:"amount"},{type:"uint64",name:"period"}]},{type:"bool",name:"allowAnyCalls"},{type:"tuple[]",name:"allowedCalls",components:[{type:"address",name:"target"},{type:"tuple[]",name:"selectorRules",components:[{type:"bytes4",name:"selector"},{type:"address[]",name:"recipients"}]}]}]},{type:"bytes32",name:"witness"}],outputs:[]},{name:"authorizeAdminKey",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"keyId"},{type:"uint8",name:"signatureType"},{type:"bytes32",name:"witness"}],outputs:[]},{name:"burnKeyAuthorizationWitness",type:"function",stateMutability:"nonpayable",inputs:[{type:"bytes32",name:"witness"}],outputs:[]},{name:"revokeKey",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"keyId"}],outputs:[]},{name:"updateSpendingLimit",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"keyId"},{type:"address",name:"token"},{type:"uint256",name:"newLimit"}],outputs:[]},{name:"setAllowedCalls",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"keyId"},{type:"tuple[]",name:"scopes",components:[{type:"address",name:"target"},{type:"tuple[]",name:"selectorRules",components:[{type:"bytes4",name:"selector"},{type:"address[]",name:"recipients"}]}]}],outputs:[]},{name:"removeAllowedCalls",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"keyId"},{type:"address",name:"target"}],outputs:[]},{name:"getKey",type:"function",stateMutability:"view",inputs:[{type:"address",name:"account"},{type:"address",name:"keyId"}],outputs:[{type:"tuple",components:[{type:"uint8",name:"signatureType"},{type:"address",name:"keyId"},{type:"uint64",name:"expiry"},{type:"bool",name:"enforceLimits"},{type:"bool",name:"isRevoked"}]}]},{name:"getRemainingLimit",type:"function",stateMutability:"view",inputs:[{type:"address",name:"account"},{type:"address",name:"keyId"},{type:"address",name:"token"}],outputs:[{type:"uint256",name:"remaining"}]},{name:"getRemainingLimitWithPeriod",type:"function",stateMutability:"view",inputs:[{type:"address",name:"account"},{type:"address",name:"keyId"},{type:"address",name:"token"}],outputs:[{type:"uint256",name:"remaining"},{type:"uint64",name:"periodEnd"}]},{name:"getAllowedCalls",type:"function",stateMutability:"view",inputs:[{type:"address",name:"account"},{type:"address",name:"keyId"}],outputs:[{type:"bool",name:"isScoped"},{type:"tuple[]",name:"scopes",components:[{type:"address",name:"target"},{type:"tuple[]",name:"selectorRules",components:[{type:"bytes4",name:"selector"},{type:"address[]",name:"recipients"}]}]}]},{name:"isKeyAuthorizationWitnessBurned",type:"function",stateMutability:"view",inputs:[{type:"address",name:"account"},{type:"bytes32",name:"witness"}],outputs:[{type:"bool"}]},{name:"isAdminKey",type:"function",stateMutability:"view",inputs:[{type:"address",name:"account"},{type:"address",name:"keyId"}],outputs:[{type:"bool"}]},{name:"getTransactionKey",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"KeyAuthorized",type:"event",inputs:[{type:"address",name:"account",indexed:!0},{type:"address",name:"publicKey",indexed:!0},{type:"uint8",name:"signatureType"},{type:"uint64",name:"expiry"}]},{name:"AdminKeyAuthorized",type:"event",inputs:[{type:"address",name:"account",indexed:!0},{type:"address",name:"publicKey",indexed:!0}]},{name:"KeyRevoked",type:"event",inputs:[{type:"address",name:"account",indexed:!0},{type:"address",name:"publicKey",indexed:!0}]},{name:"SpendingLimitUpdated",type:"event",inputs:[{type:"address",name:"account",indexed:!0},{type:"address",name:"publicKey",indexed:!0},{type:"address",name:"token",indexed:!0},{type:"uint256",name:"newLimit"}]},{name:"AccessKeySpend",type:"event",inputs:[{type:"address",name:"account",indexed:!0},{type:"address",name:"publicKey",indexed:!0},{type:"address",name:"token",indexed:!0},{type:"uint256",name:"amount"},{type:"uint256",name:"remainingLimit"}]},{name:"KeyAuthorizationWitness",type:"event",inputs:[{type:"address",name:"account",indexed:!0},{type:"bytes32",name:"witness",indexed:!0}]},{name:"KeyAuthorizationWitnessBurned",type:"event",inputs:[{type:"address",name:"account",indexed:!0},{type:"bytes32",name:"witness",indexed:!0}]},{name:"UnauthorizedCaller",type:"error",inputs:[]},{name:"KeyAlreadyExists",type:"error",inputs:[]},{name:"KeyNotFound",type:"error",inputs:[]},{name:"KeyExpired",type:"error",inputs:[]},{name:"SpendingLimitExceeded",type:"error",inputs:[]},{name:"InvalidSpendingLimit",type:"error",inputs:[]},{name:"InvalidSignatureType",type:"error",inputs:[]},{name:"ZeroPublicKey",type:"error",inputs:[]},{name:"ExpiryInPast",type:"error",inputs:[]},{name:"KeyAlreadyRevoked",type:"error",inputs:[]},{name:"SignatureTypeMismatch",type:"error",inputs:[{type:"uint8",name:"expected"},{type:"uint8",name:"actual"}]},{name:"CallNotAllowed",type:"error",inputs:[]},{name:"InvalidCallScope",type:"error",inputs:[]},{name:"InvalidKeyId",type:"error",inputs:[]},{name:"InvalidKeyAuthorizationWitness",type:"error",inputs:[]},{name:"KeyAuthorizationWitnessAlreadyBurned",type:"error",inputs:[]},{name:"LegacyAuthorizeKeySelectorChanged",type:"error",inputs:[{type:"bytes4",name:"newSelector"}]}],t$=[{name:"registerVirtualMaster",type:"function",stateMutability:"nonpayable",inputs:[{type:"bytes32",name:"salt"}],outputs:[{type:"bytes4",name:"masterId"}]},{name:"getMaster",type:"function",stateMutability:"view",inputs:[{type:"bytes4",name:"masterId"}],outputs:[{type:"address"}]},{name:"resolveRecipient",type:"function",stateMutability:"view",inputs:[{type:"address",name:"to"}],outputs:[{type:"address",name:"effectiveRecipient"}]},{name:"resolveVirtualAddress",type:"function",stateMutability:"view",inputs:[{type:"address",name:"virtualAddr"}],outputs:[{type:"address",name:"master"}]},{name:"isVirtualAddress",type:"function",stateMutability:"pure",inputs:[{type:"address",name:"addr"}],outputs:[{type:"bool"}]},{name:"decodeVirtualAddress",type:"function",stateMutability:"pure",inputs:[{type:"address",name:"addr"}],outputs:[{type:"bool",name:"isVirtual"},{type:"bytes4",name:"masterId"},{type:"bytes6",name:"userTag"}]},{name:"isImplicitlyApproved",type:"function",stateMutability:"view",inputs:[{type:"address",name:"addr"}],outputs:[{type:"bool"}]},{name:"MasterRegistered",type:"event",inputs:[{type:"bytes4",name:"masterId",indexed:!0},{type:"address",name:"masterAddress",indexed:!0}]},{name:"MasterIdCollision",type:"error",inputs:[{type:"address",name:"master"}]},{name:"InvalidMasterAddress",type:"error",inputs:[]},{name:"ProofOfWorkFailed",type:"error",inputs:[]},{name:"VirtualAddressUnregistered",type:"error",inputs:[]}],n$=[{name:"getNonce",type:"function",stateMutability:"view",inputs:[{type:"address",name:"account"},{type:"uint256",name:"nonceKey"}],outputs:[{type:"uint64",name:"nonce"}]},{name:"NonceIncremented",type:"event",inputs:[{type:"address",name:"account",indexed:!0},{type:"uint256",name:"nonceKey",indexed:!0},{type:"uint64",name:"newNonce"}]},{name:"ProtocolNonceNotSupported",type:"error",inputs:[]},{name:"InvalidNonceKey",type:"error",inputs:[]},{name:"NonceOverflow",type:"error",inputs:[]},{name:"ExpiringNonceReplay",type:"error",inputs:[]},{name:"ExpiringNonceSetFull",type:"error",inputs:[]},{name:"InvalidExpiringNonceExpiry",type:"error",inputs:[]}],r$=[{name:"balanceOf",type:"function",stateMutability:"view",inputs:[{type:"bytes",name:"receipt"}],outputs:[{type:"uint256",name:"amount"}]},{name:"claim",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"to"},{type:"bytes",name:"receipt"}],outputs:[]},{name:"burnBlockedReceipt",type:"function",stateMutability:"nonpayable",inputs:[{type:"bytes",name:"receipt"}],outputs:[]},{name:"TransferBlocked",type:"event",inputs:[{type:"address",name:"token",indexed:!0},{type:"address",name:"receiver",indexed:!0},{type:"uint64",name:"blockedNonce",indexed:!0},{type:"uint256",name:"amount"},{type:"uint8",name:"receiptVersion"},{type:"bytes",name:"receipt"}]},{name:"ReceiptClaimed",type:"event",inputs:[{type:"address",name:"token",indexed:!0},{type:"address",name:"receiver",indexed:!0},{type:"uint64",name:"blockedNonce",indexed:!0},{type:"uint64",name:"blockedAt"},{type:"uint8",name:"receiptVersion"},{type:"address",name:"originator"},{type:"address",name:"recipient"},{type:"address",name:"recoveryAuthority"},{type:"address",name:"caller"},{type:"address",name:"to"},{type:"uint256",name:"amount"}]},{name:"ReceiptBurned",type:"event",inputs:[{type:"address",name:"token",indexed:!0},{type:"address",name:"receiver",indexed:!0},{type:"uint64",name:"blockedNonce",indexed:!0},{type:"uint64",name:"blockedAt"},{type:"uint8",name:"receiptVersion"},{type:"address",name:"originator"},{type:"address",name:"recipient"},{type:"address",name:"recoveryAuthority"},{type:"address",name:"caller"},{type:"uint256",name:"amount"}]},{name:"InvalidReceipt",type:"error",inputs:[]},{name:"InvalidClaimAddress",type:"error",inputs:[]},{name:"UnauthorizedClaimer",type:"error",inputs:[]},{name:"AddressReserved",type:"error",inputs:[]}],HS=[{name:"recover",type:"function",stateMutability:"view",inputs:[{type:"bytes32",name:"hash"},{type:"bytes",name:"signature"}],outputs:[{type:"address",name:"signer"}]},{name:"verify",type:"function",stateMutability:"view",inputs:[{type:"address",name:"signer"},{type:"bytes32",name:"hash"},{type:"bytes",name:"signature"}],outputs:[{type:"bool"}]},{name:"verifyKeychain",type:"function",stateMutability:"view",inputs:[{type:"address",name:"account"},{type:"bytes32",name:"hash"},{type:"bytes",name:"signature"}],outputs:[{type:"bool"}]},{name:"verifyKeychainAdmin",type:"function",stateMutability:"view",inputs:[{type:"address",name:"account"},{type:"bytes32",name:"hash"},{type:"bytes",name:"signature"}],outputs:[{type:"bool"}]},{name:"InvalidFormat",type:"error",inputs:[]},{name:"InvalidSignature",type:"error",inputs:[]}],i$=[{name:"createPair",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"base"}],outputs:[{type:"bytes32",name:"key"}]},{name:"place",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"token"},{type:"uint128",name:"amount"},{type:"bool",name:"isBid"},{type:"int16",name:"tick"}],outputs:[{type:"uint128",name:"orderId"}]},{name:"placeFlip",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"token"},{type:"uint128",name:"amount"},{type:"bool",name:"isBid"},{type:"int16",name:"tick"},{type:"int16",name:"flipTick"}],outputs:[{type:"uint128",name:"orderId"}]},{name:"cancel",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint128",name:"orderId"}],outputs:[]},{name:"cancelStaleOrder",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint128",name:"orderId"}],outputs:[]},{name:"swapExactAmountIn",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"tokenIn"},{type:"address",name:"tokenOut"},{type:"uint128",name:"amountIn"},{type:"uint128",name:"minAmountOut"}],outputs:[{type:"uint128",name:"amountOut"}]},{name:"swapExactAmountOut",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"tokenIn"},{type:"address",name:"tokenOut"},{type:"uint128",name:"amountOut"},{type:"uint128",name:"maxAmountIn"}],outputs:[{type:"uint128",name:"amountIn"}]},{name:"quoteSwapExactAmountIn",type:"function",stateMutability:"view",inputs:[{type:"address",name:"tokenIn"},{type:"address",name:"tokenOut"},{type:"uint128",name:"amountIn"}],outputs:[{type:"uint128",name:"amountOut"}]},{name:"quoteSwapExactAmountOut",type:"function",stateMutability:"view",inputs:[{type:"address",name:"tokenIn"},{type:"address",name:"tokenOut"},{type:"uint128",name:"amountOut"}],outputs:[{type:"uint128",name:"amountIn"}]},{name:"balanceOf",type:"function",stateMutability:"view",inputs:[{type:"address",name:"user"},{type:"address",name:"token"}],outputs:[{type:"uint128"}]},{name:"withdraw",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"token"},{type:"uint128",name:"amount"}],outputs:[]},{name:"getOrder",type:"function",stateMutability:"view",inputs:[{type:"uint128",name:"orderId"}],outputs:[{type:"tuple",components:[{type:"uint128",name:"orderId"},{type:"address",name:"maker"},{type:"bytes32",name:"bookKey"},{type:"bool",name:"isBid"},{type:"int16",name:"tick"},{type:"uint128",name:"amount"},{type:"uint128",name:"remaining"},{type:"uint128",name:"prev"},{type:"uint128",name:"next"},{type:"bool",name:"isFlip"},{type:"int16",name:"flipTick"}]}]},{name:"getTickLevel",type:"function",stateMutability:"view",inputs:[{type:"address",name:"base"},{type:"int16",name:"tick"},{type:"bool",name:"isBid"}],outputs:[{type:"uint128",name:"head"},{type:"uint128",name:"tail"},{type:"uint128",name:"totalLiquidity"}]},{name:"pairKey",type:"function",stateMutability:"pure",inputs:[{type:"address",name:"tokenA"},{type:"address",name:"tokenB"}],outputs:[{type:"bytes32"}]},{name:"nextOrderId",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint128"}]},{name:"books",type:"function",stateMutability:"view",inputs:[{type:"bytes32",name:"pairKey"}],outputs:[{type:"tuple",components:[{type:"address",name:"base"},{type:"address",name:"quote"},{type:"int16",name:"bestBidTick"},{type:"int16",name:"bestAskTick"}]}]},{name:"MIN_TICK",type:"function",stateMutability:"pure",inputs:[],outputs:[{type:"int16"}]},{name:"MAX_TICK",type:"function",stateMutability:"pure",inputs:[],outputs:[{type:"int16"}]},{name:"TICK_SPACING",type:"function",stateMutability:"pure",inputs:[],outputs:[{type:"int16"}]},{name:"PRICE_SCALE",type:"function",stateMutability:"pure",inputs:[],outputs:[{type:"uint32"}]},{name:"MIN_ORDER_AMOUNT",type:"function",stateMutability:"pure",inputs:[],outputs:[{type:"uint128"}]},{name:"MIN_PRICE",type:"function",stateMutability:"pure",inputs:[],outputs:[{type:"uint32"}]},{name:"MAX_PRICE",type:"function",stateMutability:"pure",inputs:[],outputs:[{type:"uint32"}]},{name:"tickToPrice",type:"function",stateMutability:"pure",inputs:[{type:"int16",name:"tick"}],outputs:[{type:"uint32",name:"price"}]},{name:"priceToTick",type:"function",stateMutability:"pure",inputs:[{type:"uint32",name:"price"}],outputs:[{type:"int16",name:"tick"}]},{name:"PairCreated",type:"event",inputs:[{type:"bytes32",name:"key",indexed:!0},{type:"address",name:"base",indexed:!0},{type:"address",name:"quote",indexed:!0}]},{name:"OrderPlaced",type:"event",inputs:[{type:"uint128",name:"orderId",indexed:!0},{type:"address",name:"maker",indexed:!0},{type:"address",name:"token",indexed:!0},{type:"uint128",name:"amount"},{type:"bool",name:"isBid"},{type:"int16",name:"tick"},{type:"bool",name:"isFlipOrder"},{type:"int16",name:"flipTick"}]},{name:"OrderFilled",type:"event",inputs:[{type:"uint128",name:"orderId",indexed:!0},{type:"address",name:"maker",indexed:!0},{type:"address",name:"taker",indexed:!0},{type:"uint128",name:"amountFilled"},{type:"bool",name:"partialFill"}]},{name:"OrderFlipped",type:"event",inputs:[{type:"uint128",name:"orderId",indexed:!0},{type:"address",name:"maker",indexed:!0},{type:"address",name:"token",indexed:!0},{type:"uint128",name:"amount"},{type:"bool",name:"isBid"},{type:"int16",name:"tick"},{type:"int16",name:"flipTick"}]},{name:"FlipFailed",type:"event",inputs:[{type:"uint128",name:"orderId",indexed:!0},{type:"address",name:"maker",indexed:!0},{type:"bytes4",name:"reason"}]},{name:"OrderCancelled",type:"event",inputs:[{type:"uint128",name:"orderId",indexed:!0}]},{name:"Unauthorized",type:"error",inputs:[]},{name:"PairDoesNotExist",type:"error",inputs:[]},{name:"PairAlreadyExists",type:"error",inputs:[]},{name:"OrderDoesNotExist",type:"error",inputs:[]},{name:"IdenticalTokens",type:"error",inputs:[]},{name:"InvalidToken",type:"error",inputs:[]},{name:"TickOutOfBounds",type:"error",inputs:[{type:"int16",name:"tick"}]},{name:"InvalidTick",type:"error",inputs:[]},{name:"InvalidFlipTick",type:"error",inputs:[]},{name:"InsufficientBalance",type:"error",inputs:[]},{name:"InsufficientLiquidity",type:"error",inputs:[]},{name:"InsufficientOutput",type:"error",inputs:[]},{name:"MaxInputExceeded",type:"error",inputs:[]},{name:"BelowMinimumOrderSize",type:"error",inputs:[{type:"uint128",name:"amount"}]},{name:"InvalidBaseToken",type:"error",inputs:[]},{name:"OrderNotStale",type:"error",inputs:[]}],FS=[{name:"name",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"string"}]},{name:"symbol",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"string"}]},{name:"decimals",type:"function",stateMutability:"pure",inputs:[],outputs:[{type:"uint8"}]},{name:"totalSupply",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"quoteToken",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"nextQuoteToken",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"balanceOf",type:"function",stateMutability:"view",inputs:[{type:"address",name:"account"}],outputs:[{type:"uint256"}]},{name:"transfer",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"to"},{type:"uint256",name:"amount"}],outputs:[{type:"bool"}]},{name:"approve",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"spender"},{type:"uint256",name:"amount"}],outputs:[{type:"bool"}]},{name:"allowance",type:"function",stateMutability:"view",inputs:[{type:"address",name:"owner"},{type:"address",name:"spender"}],outputs:[{type:"uint256"}]},{name:"transferFrom",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"from"},{type:"address",name:"to"},{type:"uint256",name:"amount"}],outputs:[{type:"bool"}]},{name:"mint",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"to"},{type:"uint256",name:"amount"}],outputs:[]},{name:"burn",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"amount"}],outputs:[]},{name:"currency",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"string"}]},{name:"supplyCap",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"paused",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bool"}]},{name:"transferPolicyId",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint64"}]},{name:"logoURI",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"string"}]},{name:"setLogoURI",type:"function",stateMutability:"nonpayable",inputs:[{type:"string",name:"newLogoURI"}],outputs:[]},{name:"burnBlocked",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"from"},{type:"uint256",name:"amount"}],outputs:[]},{name:"mintWithMemo",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"to"},{type:"uint256",name:"amount"},{type:"bytes32",name:"memo"}],outputs:[]},{name:"burnWithMemo",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"amount"},{type:"bytes32",name:"memo"}],outputs:[]},{name:"transferWithMemo",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"to"},{type:"uint256",name:"amount"},{type:"bytes32",name:"memo"}],outputs:[]},{name:"transferFromWithMemo",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"from"},{type:"address",name:"to"},{type:"uint256",name:"amount"},{type:"bytes32",name:"memo"}],outputs:[{type:"bool"}]},{name:"changeTransferPolicyId",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint64",name:"newPolicyId"}],outputs:[]},{name:"setSupplyCap",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"newSupplyCap"}],outputs:[]},{name:"pause",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"unpause",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"setNextQuoteToken",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"newQuoteToken"}],outputs:[]},{name:"completeQuoteTokenUpdate",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"PAUSE_ROLE",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"UNPAUSE_ROLE",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"ISSUER_ROLE",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"BURN_BLOCKED_ROLE",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"permit",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"owner"},{type:"address",name:"spender"},{type:"uint256",name:"value"},{type:"uint256",name:"deadline"},{type:"uint8",name:"v"},{type:"bytes32",name:"r"},{type:"bytes32",name:"s"}],outputs:[]},{name:"nonces",type:"function",stateMutability:"view",inputs:[{type:"address",name:"owner"}],outputs:[{type:"uint256"}]},{name:"DOMAIN_SEPARATOR",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"distributeReward",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint256",name:"amount"}],outputs:[]},{name:"setRewardRecipient",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"recipient"}],outputs:[]},{name:"claimRewards",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[{type:"uint256"}]},{name:"optedInSupply",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint128"}]},{name:"globalRewardPerToken",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"userRewardInfo",type:"function",stateMutability:"view",inputs:[{type:"address",name:"account"}],outputs:[{type:"tuple",components:[{type:"address",name:"rewardRecipient"},{type:"uint256",name:"rewardPerToken"},{type:"uint256",name:"rewardBalance"}]}]},{name:"getPendingRewards",type:"function",stateMutability:"view",inputs:[{type:"address",name:"account"}],outputs:[{type:"uint128"}]},{name:"Transfer",type:"event",inputs:[{type:"address",name:"from",indexed:!0},{type:"address",name:"to",indexed:!0},{type:"uint256",name:"amount"}]},{name:"Approval",type:"event",inputs:[{type:"address",name:"owner",indexed:!0},{type:"address",name:"spender",indexed:!0},{type:"uint256",name:"amount"}]},{name:"Mint",type:"event",inputs:[{type:"address",name:"to",indexed:!0},{type:"uint256",name:"amount"}]},{name:"Burn",type:"event",inputs:[{type:"address",name:"from",indexed:!0},{type:"uint256",name:"amount"}]},{name:"BurnBlocked",type:"event",inputs:[{type:"address",name:"from",indexed:!0},{type:"uint256",name:"amount"}]},{name:"TransferWithMemo",type:"event",inputs:[{type:"address",name:"from",indexed:!0},{type:"address",name:"to",indexed:!0},{type:"uint256",name:"amount"},{type:"bytes32",name:"memo",indexed:!0}]},{name:"TransferPolicyUpdate",type:"event",inputs:[{type:"address",name:"updater",indexed:!0},{type:"uint64",name:"newPolicyId",indexed:!0}]},{name:"SupplyCapUpdate",type:"event",inputs:[{type:"address",name:"updater",indexed:!0},{type:"uint256",name:"newSupplyCap",indexed:!0}]},{name:"PauseStateUpdate",type:"event",inputs:[{type:"address",name:"updater",indexed:!0},{type:"bool",name:"isPaused"}]},{name:"NextQuoteTokenSet",type:"event",inputs:[{type:"address",name:"updater",indexed:!0},{type:"address",name:"nextQuoteToken",indexed:!0}]},{name:"QuoteTokenUpdate",type:"event",inputs:[{type:"address",name:"updater",indexed:!0},{type:"address",name:"newQuoteToken",indexed:!0}]},{name:"RewardDistributed",type:"event",inputs:[{type:"address",name:"funder",indexed:!0},{type:"uint256",name:"amount"}]},{name:"RewardRecipientSet",type:"event",inputs:[{type:"address",name:"holder",indexed:!0},{type:"address",name:"recipient",indexed:!0}]},{name:"LogoURIUpdated",type:"event",inputs:[{type:"address",name:"updater",indexed:!0},{type:"string",name:"newLogoURI"}]},{name:"InsufficientBalance",type:"error",inputs:[{type:"uint256",name:"available"},{type:"uint256",name:"required"},{type:"address",name:"token"}]},{name:"InsufficientAllowance",type:"error",inputs:[]},{name:"SupplyCapExceeded",type:"error",inputs:[]},{name:"InvalidSupplyCap",type:"error",inputs:[]},{name:"InvalidPayload",type:"error",inputs:[]},{name:"PolicyForbids",type:"error",inputs:[]},{name:"InvalidRecipient",type:"error",inputs:[]},{name:"ContractPaused",type:"error",inputs:[]},{name:"InvalidCurrency",type:"error",inputs:[]},{name:"InvalidQuoteToken",type:"error",inputs:[]},{name:"InvalidAmount",type:"error",inputs:[]},{name:"NoOptedInSupply",type:"error",inputs:[]},{name:"Unauthorized",type:"error",inputs:[]},{name:"ProtectedAddress",type:"error",inputs:[]},{name:"InvalidToken",type:"error",inputs:[]},{name:"Uninitialized",type:"error",inputs:[]},{name:"InvalidTransferPolicyId",type:"error",inputs:[]},{name:"PermitExpired",type:"error",inputs:[]},{name:"InvalidSignature",type:"error",inputs:[]},{name:"LogoURITooLong",type:"error",inputs:[]},{name:"InvalidLogoURI",type:"error",inputs:[]},{name:"hasRole",type:"function",stateMutability:"view",inputs:[{type:"address",name:"account"},{type:"bytes32",name:"role"}],outputs:[{type:"bool"}]},{name:"getRoleAdmin",type:"function",stateMutability:"view",inputs:[{type:"bytes32",name:"role"}],outputs:[{type:"bytes32"}]},{name:"grantRole",type:"function",stateMutability:"nonpayable",inputs:[{type:"bytes32",name:"role"},{type:"address",name:"account"}],outputs:[]},{name:"revokeRole",type:"function",stateMutability:"nonpayable",inputs:[{type:"bytes32",name:"role"},{type:"address",name:"account"}],outputs:[]},{name:"renounceRole",type:"function",stateMutability:"nonpayable",inputs:[{type:"bytes32",name:"role"}],outputs:[]},{name:"setRoleAdmin",type:"function",stateMutability:"nonpayable",inputs:[{type:"bytes32",name:"role"},{type:"bytes32",name:"adminRole"}],outputs:[]},{name:"RoleMembershipUpdated",type:"event",inputs:[{type:"bytes32",name:"role",indexed:!0},{type:"address",name:"account",indexed:!0},{type:"address",name:"sender",indexed:!0},{type:"bool",name:"hasRole"}]},{name:"RoleAdminUpdated",type:"event",inputs:[{type:"bytes32",name:"role",indexed:!0},{type:"bytes32",name:"newAdminRole",indexed:!0},{type:"address",name:"sender",indexed:!0}]},{name:"Unauthorized",type:"error",inputs:[]}],a$=[{name:"CLOSE_GRACE_PERIOD",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint64"}]},{name:"VOUCHER_TYPEHASH",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"open",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"payee"},{type:"address",name:"operator"},{type:"address",name:"token"},{type:"uint96",name:"deposit"},{type:"bytes32",name:"salt"},{type:"address",name:"authorizedSigner"}],outputs:[{type:"bytes32",name:"channelId"}]},{name:"settle",type:"function",stateMutability:"nonpayable",inputs:[{type:"tuple",name:"descriptor",components:[{type:"address",name:"payer"},{type:"address",name:"payee"},{type:"address",name:"operator"},{type:"address",name:"token"},{type:"bytes32",name:"salt"},{type:"address",name:"authorizedSigner"},{type:"bytes32",name:"expiringNonceHash"}]},{type:"uint96",name:"cumulativeAmount"},{type:"bytes",name:"signature"}],outputs:[]},{name:"topUp",type:"function",stateMutability:"nonpayable",inputs:[{type:"tuple",name:"descriptor",components:[{type:"address",name:"payer"},{type:"address",name:"payee"},{type:"address",name:"operator"},{type:"address",name:"token"},{type:"bytes32",name:"salt"},{type:"address",name:"authorizedSigner"},{type:"bytes32",name:"expiringNonceHash"}]},{type:"uint96",name:"additionalDeposit"}],outputs:[]},{name:"close",type:"function",stateMutability:"nonpayable",inputs:[{type:"tuple",name:"descriptor",components:[{type:"address",name:"payer"},{type:"address",name:"payee"},{type:"address",name:"operator"},{type:"address",name:"token"},{type:"bytes32",name:"salt"},{type:"address",name:"authorizedSigner"},{type:"bytes32",name:"expiringNonceHash"}]},{type:"uint96",name:"cumulativeAmount"},{type:"uint96",name:"captureAmount"},{type:"bytes",name:"signature"}],outputs:[]},{name:"requestClose",type:"function",stateMutability:"nonpayable",inputs:[{type:"tuple",name:"descriptor",components:[{type:"address",name:"payer"},{type:"address",name:"payee"},{type:"address",name:"operator"},{type:"address",name:"token"},{type:"bytes32",name:"salt"},{type:"address",name:"authorizedSigner"},{type:"bytes32",name:"expiringNonceHash"}]}],outputs:[]},{name:"withdraw",type:"function",stateMutability:"nonpayable",inputs:[{type:"tuple",name:"descriptor",components:[{type:"address",name:"payer"},{type:"address",name:"payee"},{type:"address",name:"operator"},{type:"address",name:"token"},{type:"bytes32",name:"salt"},{type:"address",name:"authorizedSigner"},{type:"bytes32",name:"expiringNonceHash"}]}],outputs:[]},{name:"getChannel",type:"function",stateMutability:"view",inputs:[{type:"tuple",name:"descriptor",components:[{type:"address",name:"payer"},{type:"address",name:"payee"},{type:"address",name:"operator"},{type:"address",name:"token"},{type:"bytes32",name:"salt"},{type:"address",name:"authorizedSigner"},{type:"bytes32",name:"expiringNonceHash"}]}],outputs:[{type:"tuple",components:[{type:"tuple",name:"descriptor",components:[{type:"address",name:"payer"},{type:"address",name:"payee"},{type:"address",name:"operator"},{type:"address",name:"token"},{type:"bytes32",name:"salt"},{type:"address",name:"authorizedSigner"},{type:"bytes32",name:"expiringNonceHash"}]},{type:"tuple",name:"state",components:[{type:"uint96",name:"settled"},{type:"uint96",name:"deposit"},{type:"uint32",name:"closeRequestedAt"}]}]}]},{name:"getChannelState",type:"function",stateMutability:"view",inputs:[{type:"bytes32",name:"channelId"}],outputs:[{type:"tuple",components:[{type:"uint96",name:"settled"},{type:"uint96",name:"deposit"},{type:"uint32",name:"closeRequestedAt"}]}]},{name:"getChannelStatesBatch",type:"function",stateMutability:"view",inputs:[{type:"bytes32[]",name:"channelIds"}],outputs:[{type:"tuple[]",components:[{type:"uint96",name:"settled"},{type:"uint96",name:"deposit"},{type:"uint32",name:"closeRequestedAt"}]}]},{name:"computeChannelId",type:"function",stateMutability:"view",inputs:[{type:"address",name:"payer"},{type:"address",name:"payee"},{type:"address",name:"operator"},{type:"address",name:"token"},{type:"bytes32",name:"salt"},{type:"address",name:"authorizedSigner"},{type:"bytes32",name:"expiringNonceHash"}],outputs:[{type:"bytes32"}]},{name:"getVoucherDigest",type:"function",stateMutability:"view",inputs:[{type:"bytes32",name:"channelId"},{type:"uint96",name:"cumulativeAmount"}],outputs:[{type:"bytes32"}]},{name:"domainSeparator",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bytes32"}]},{name:"ChannelOpened",type:"event",inputs:[{type:"bytes32",name:"channelId",indexed:!0},{type:"address",name:"payer",indexed:!0},{type:"address",name:"payee",indexed:!0},{type:"address",name:"operator"},{type:"address",name:"token"},{type:"address",name:"authorizedSigner"},{type:"bytes32",name:"salt"},{type:"bytes32",name:"expiringNonceHash"},{type:"uint96",name:"deposit"}]},{name:"Settled",type:"event",inputs:[{type:"bytes32",name:"channelId",indexed:!0},{type:"address",name:"payer",indexed:!0},{type:"address",name:"payee",indexed:!0},{type:"uint96",name:"cumulativeAmount"},{type:"uint96",name:"deltaPaid"},{type:"uint96",name:"newSettled"}]},{name:"TopUp",type:"event",inputs:[{type:"bytes32",name:"channelId",indexed:!0},{type:"address",name:"payer",indexed:!0},{type:"address",name:"payee",indexed:!0},{type:"uint96",name:"additionalDeposit"},{type:"uint96",name:"newDeposit"}]},{name:"CloseRequested",type:"event",inputs:[{type:"bytes32",name:"channelId",indexed:!0},{type:"address",name:"payer",indexed:!0},{type:"address",name:"payee",indexed:!0},{type:"uint256",name:"closeGraceEnd"}]},{name:"ChannelClosed",type:"event",inputs:[{type:"bytes32",name:"channelId",indexed:!0},{type:"address",name:"payer",indexed:!0},{type:"address",name:"payee",indexed:!0},{type:"uint96",name:"settledToPayee"},{type:"uint96",name:"refundedToPayer"}]},{name:"CloseRequestCancelled",type:"event",inputs:[{type:"bytes32",name:"channelId",indexed:!0},{type:"address",name:"payer",indexed:!0},{type:"address",name:"payee",indexed:!0}]},{name:"ChannelAlreadyExists",type:"error",inputs:[]},{name:"ChannelNotFound",type:"error",inputs:[]},{name:"NotPayer",type:"error",inputs:[]},{name:"NotPayeeOrOperator",type:"error",inputs:[]},{name:"InvalidPayee",type:"error",inputs:[]},{name:"ZeroDeposit",type:"error",inputs:[]},{name:"ExpiringNonceHashNotSet",type:"error",inputs:[]},{name:"InvalidSignature",type:"error",inputs:[]},{name:"AmountExceedsDeposit",type:"error",inputs:[]},{name:"AmountNotIncreasing",type:"error",inputs:[]},{name:"CaptureAmountInvalid",type:"error",inputs:[]},{name:"CloseNotReady",type:"error",inputs:[]},{name:"DepositOverflow",type:"error",inputs:[]}],s$=[{name:"createToken",type:"function",stateMutability:"nonpayable",inputs:[{type:"string",name:"name"},{type:"string",name:"symbol"},{type:"string",name:"currency"},{type:"address",name:"quoteToken"},{type:"address",name:"admin"},{type:"bytes32",name:"salt"}],outputs:[{type:"address"}]},{name:"createToken",type:"function",stateMutability:"nonpayable",inputs:[{type:"string",name:"name"},{type:"string",name:"symbol"},{type:"string",name:"currency"},{type:"address",name:"quoteToken"},{type:"address",name:"admin"},{type:"bytes32",name:"salt"},{type:"string",name:"logoURI"}],outputs:[{type:"address"}]},{name:"isTIP20",type:"function",stateMutability:"view",inputs:[{type:"address",name:"token"}],outputs:[{type:"bool"}]},{name:"getTokenAddress",type:"function",stateMutability:"pure",inputs:[{type:"address",name:"sender"},{type:"bytes32",name:"salt"}],outputs:[{type:"address"}]},{name:"TokenCreated",type:"event",inputs:[{type:"address",name:"token",indexed:!0},{type:"string",name:"name"},{type:"string",name:"symbol"},{type:"string",name:"currency"},{type:"address",name:"quoteToken"},{type:"address",name:"admin"},{type:"bytes32",name:"salt"}]},{name:"AddressReserved",type:"error",inputs:[]},{name:"AddressNotReserved",type:"error",inputs:[]},{name:"InvalidQuoteToken",type:"error",inputs:[]},{name:"TokenAlreadyExists",type:"error",inputs:[{type:"address",name:"token"}]}],o$=[{name:"policyIdCounter",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint64"}]},{name:"policyExists",type:"function",stateMutability:"view",inputs:[{type:"uint64",name:"policyId"}],outputs:[{type:"bool"}]},{name:"policyData",type:"function",stateMutability:"view",inputs:[{type:"uint64",name:"policyId"}],outputs:[{type:"uint8",name:"policyType"},{type:"address",name:"admin"}]},{name:"isAuthorized",type:"function",stateMutability:"view",inputs:[{type:"uint64",name:"policyId"},{type:"address",name:"user"}],outputs:[{type:"bool"}]},{name:"isAuthorizedSender",type:"function",stateMutability:"view",inputs:[{type:"uint64",name:"policyId"},{type:"address",name:"user"}],outputs:[{type:"bool"}]},{name:"isAuthorizedRecipient",type:"function",stateMutability:"view",inputs:[{type:"uint64",name:"policyId"},{type:"address",name:"user"}],outputs:[{type:"bool"}]},{name:"isAuthorizedMintRecipient",type:"function",stateMutability:"view",inputs:[{type:"uint64",name:"policyId"},{type:"address",name:"user"}],outputs:[{type:"bool"}]},{name:"compoundPolicyData",type:"function",stateMutability:"view",inputs:[{type:"uint64",name:"policyId"}],outputs:[{type:"uint64",name:"senderPolicyId"},{type:"uint64",name:"recipientPolicyId"},{type:"uint64",name:"mintRecipientPolicyId"}]},{name:"receivePolicy",type:"function",stateMutability:"view",inputs:[{type:"address",name:"account"}],outputs:[{type:"bool",name:"hasReceivePolicy"},{type:"uint64",name:"senderPolicyId"},{type:"uint8",name:"senderPolicyType"},{type:"uint64",name:"tokenFilterId"},{type:"uint8",name:"tokenFilterType"},{type:"address",name:"recoveryAuthority"}]},{name:"validateReceivePolicy",type:"function",stateMutability:"view",inputs:[{type:"address",name:"token"},{type:"address",name:"sender"},{type:"address",name:"receiver"}],outputs:[{type:"bool",name:"authorized"},{type:"uint8",name:"blockedReason"}]},{name:"createPolicy",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"admin"},{type:"uint8",name:"policyType"}],outputs:[{type:"uint64"}]},{name:"createPolicyWithAccounts",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"admin"},{type:"uint8",name:"policyType"},{type:"address[]",name:"accounts"}],outputs:[{type:"uint64"}]},{name:"setPolicyAdmin",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint64",name:"policyId"},{type:"address",name:"admin"}],outputs:[]},{name:"modifyPolicyWhitelist",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint64",name:"policyId"},{type:"address",name:"account"},{type:"bool",name:"allowed"}],outputs:[]},{name:"modifyPolicyBlacklist",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint64",name:"policyId"},{type:"address",name:"account"},{type:"bool",name:"restricted"}],outputs:[]},{name:"createCompoundPolicy",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint64",name:"senderPolicyId"},{type:"uint64",name:"recipientPolicyId"},{type:"uint64",name:"mintRecipientPolicyId"}],outputs:[{type:"uint64"}]},{name:"setReceivePolicy",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint64",name:"senderPolicyId"},{type:"uint64",name:"tokenFilterId"},{type:"address",name:"recoveryAuthority"}],outputs:[]},{name:"PolicyAdminUpdated",type:"event",inputs:[{type:"uint64",name:"policyId",indexed:!0},{type:"address",name:"updater",indexed:!0},{type:"address",name:"admin",indexed:!0}]},{name:"PolicyCreated",type:"event",inputs:[{type:"uint64",name:"policyId",indexed:!0},{type:"address",name:"updater",indexed:!0},{type:"uint8",name:"policyType"}]},{name:"WhitelistUpdated",type:"event",inputs:[{type:"uint64",name:"policyId",indexed:!0},{type:"address",name:"updater",indexed:!0},{type:"address",name:"account",indexed:!0},{type:"bool",name:"allowed"}]},{name:"BlacklistUpdated",type:"event",inputs:[{type:"uint64",name:"policyId",indexed:!0},{type:"address",name:"updater",indexed:!0},{type:"address",name:"account",indexed:!0},{type:"bool",name:"restricted"}]},{name:"CompoundPolicyCreated",type:"event",inputs:[{type:"uint64",name:"policyId",indexed:!0},{type:"address",name:"creator",indexed:!0},{type:"uint64",name:"senderPolicyId"},{type:"uint64",name:"recipientPolicyId"},{type:"uint64",name:"mintRecipientPolicyId"}]},{name:"ReceivePolicyUpdated",type:"event",inputs:[{type:"address",name:"account",indexed:!0},{type:"uint64",name:"senderPolicyId"},{type:"uint64",name:"tokenFilterId"},{type:"address",name:"recoveryAuthority"}]},{name:"Unauthorized",type:"error",inputs:[]},{name:"PolicyNotFound",type:"error",inputs:[]},{name:"PolicyNotSimple",type:"error",inputs:[]},{name:"InvalidPolicyType",type:"error",inputs:[]},{name:"IncompatiblePolicyType",type:"error",inputs:[]},{name:"VirtualAddressNotAllowed",type:"error",inputs:[]},{name:"InvalidReceivePolicyType",type:"error",inputs:[]},{name:"InvalidRecoveryAuthority",type:"error",inputs:[]}],u$=[{name:"userTokens",type:"function",stateMutability:"view",inputs:[{type:"address",name:"user"}],outputs:[{type:"address"}]},{name:"validatorTokens",type:"function",stateMutability:"view",inputs:[{type:"address",name:"validator"}],outputs:[{type:"address"}]},{name:"setUserToken",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"token"}],outputs:[]},{name:"setValidatorToken",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"token"}],outputs:[]},{name:"distributeFees",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"validator"},{type:"address",name:"token"}],outputs:[]},{name:"collectedFees",type:"function",stateMutability:"view",inputs:[{type:"address",name:"validator"},{type:"address",name:"token"}],outputs:[{type:"uint256"}]},{name:"UserTokenSet",type:"event",inputs:[{type:"address",name:"user",indexed:!0},{type:"address",name:"token",indexed:!0}]},{name:"ValidatorTokenSet",type:"event",inputs:[{type:"address",name:"validator",indexed:!0},{type:"address",name:"token",indexed:!0}]},{name:"FeesDistributed",type:"event",inputs:[{type:"address",name:"validator",indexed:!0},{type:"address",name:"token",indexed:!0},{type:"uint256",name:"amount"}]},{name:"InvalidToken",type:"error",inputs:[]},{name:"InsufficientFeeTokenBalance",type:"error",inputs:[]},{name:"CannotChangeWithinBlock",type:"error",inputs:[]}],c$=[{name:"M",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"N",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"SCALE",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"MIN_LIQUIDITY",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint256"}]},{name:"getPoolId",type:"function",stateMutability:"pure",inputs:[{type:"address",name:"userToken"},{type:"address",name:"validatorToken"}],outputs:[{type:"bytes32"}]},{name:"getPool",type:"function",stateMutability:"view",inputs:[{type:"address",name:"userToken"},{type:"address",name:"validatorToken"}],outputs:[{type:"tuple",components:[{type:"uint128",name:"reserveUserToken"},{type:"uint128",name:"reserveValidatorToken"}]}]},{name:"pools",type:"function",stateMutability:"view",inputs:[{type:"bytes32",name:"poolId"}],outputs:[{type:"tuple",components:[{type:"uint128",name:"reserveUserToken"},{type:"uint128",name:"reserveValidatorToken"}]}]},{name:"mint",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"userToken"},{type:"address",name:"validatorToken"},{type:"uint256",name:"amountValidatorToken"},{type:"address",name:"to"}],outputs:[{type:"uint256",name:"liquidity"}]},{name:"burn",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"userToken"},{type:"address",name:"validatorToken"},{type:"uint256",name:"liquidity"},{type:"address",name:"to"}],outputs:[{type:"uint256",name:"amountUserToken"},{type:"uint256",name:"amountValidatorToken"}]},{name:"totalSupply",type:"function",stateMutability:"view",inputs:[{type:"bytes32",name:"poolId"}],outputs:[{type:"uint256"}]},{name:"liquidityBalances",type:"function",stateMutability:"view",inputs:[{type:"bytes32",name:"poolId"},{type:"address",name:"user"}],outputs:[{type:"uint256"}]},{name:"rebalanceSwap",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"userToken"},{type:"address",name:"validatorToken"},{type:"uint256",name:"amountOut"},{type:"address",name:"to"}],outputs:[{type:"uint256",name:"amountIn"}]},{name:"Mint",type:"event",inputs:[{type:"address",name:"sender"},{type:"address",name:"to",indexed:!0},{type:"address",name:"userToken",indexed:!0},{type:"address",name:"validatorToken",indexed:!0},{type:"uint256",name:"amountValidatorToken"},{type:"uint256",name:"liquidity"}]},{name:"Burn",type:"event",inputs:[{type:"address",name:"sender",indexed:!0},{type:"address",name:"userToken",indexed:!0},{type:"address",name:"validatorToken",indexed:!0},{type:"uint256",name:"amountUserToken"},{type:"uint256",name:"amountValidatorToken"},{type:"uint256",name:"liquidity"},{type:"address",name:"to"}]},{name:"RebalanceSwap",type:"event",inputs:[{type:"address",name:"userToken",indexed:!0},{type:"address",name:"validatorToken",indexed:!0},{type:"address",name:"swapper",indexed:!0},{type:"uint256",name:"amountIn"},{type:"uint256",name:"amountOut"}]},{name:"IdenticalAddresses",type:"error",inputs:[]},{name:"InvalidToken",type:"error",inputs:[]},{name:"InsufficientLiquidity",type:"error",inputs:[]},{name:"InsufficientReserves",type:"error",inputs:[]},{name:"InvalidAmount",type:"error",inputs:[]},{name:"DivisionByZero",type:"error",inputs:[]},{name:"InvalidSwapCalculation",type:"error",inputs:[]}],l$=[{name:"getValidators",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"tuple[]",name:"validators",components:[{type:"bytes32",name:"publicKey"},{type:"bool",name:"active"},{type:"uint64",name:"index"},{type:"address",name:"validatorAddress"},{type:"string",name:"inboundAddress"},{type:"string",name:"outboundAddress"}]}]},{name:"addValidator",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"newValidatorAddress"},{type:"bytes32",name:"publicKey"},{type:"bool",name:"active"},{type:"string",name:"inboundAddress"},{type:"string",name:"outboundAddress"}],outputs:[]},{name:"updateValidator",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"newValidatorAddress"},{type:"bytes32",name:"publicKey"},{type:"string",name:"inboundAddress"},{type:"string",name:"outboundAddress"}],outputs:[]},{name:"changeValidatorStatus",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"validator"},{type:"bool",name:"active"}],outputs:[]},{name:"changeValidatorStatusByIndex",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint64",name:"index"},{type:"bool",name:"active"}],outputs:[]},{name:"owner",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"changeOwner",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"newOwner"}],outputs:[]},{name:"getNextFullDkgCeremony",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint64"}]},{name:"setNextFullDkgCeremony",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint64",name:"epoch"}],outputs:[]},{name:"validatorsArray",type:"function",stateMutability:"view",inputs:[{type:"uint256",name:"index"}],outputs:[{type:"address"}]},{name:"validators",type:"function",stateMutability:"view",inputs:[{type:"address",name:"validator"}],outputs:[{type:"tuple",components:[{type:"bytes32",name:"publicKey"},{type:"bool",name:"active"},{type:"uint64",name:"index"},{type:"address",name:"validatorAddress"},{type:"string",name:"inboundAddress"},{type:"string",name:"outboundAddress"}]}]},{name:"validatorCount",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint64"}]},{name:"Unauthorized",type:"error",inputs:[]},{name:"ValidatorAlreadyExists",type:"error",inputs:[]},{name:"ValidatorNotFound",type:"error",inputs:[]},{name:"InvalidPublicKey",type:"error",inputs:[]},{name:"NotHostPort",type:"error",inputs:[{type:"string",name:"field"},{type:"string",name:"input"},{type:"string",name:"backtrace"}]},{name:"NotIpPort",type:"error",inputs:[{type:"string",name:"field"},{type:"string",name:"input"},{type:"string",name:"backtrace"}]}],f$=[{name:"getActiveValidators",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"tuple[]",name:"validators",components:[{type:"bytes32",name:"publicKey"},{type:"address",name:"validatorAddress"},{type:"string",name:"ingress"},{type:"string",name:"egress"},{type:"address",name:"feeRecipient"},{type:"uint64",name:"index"},{type:"uint64",name:"addedAtHeight"},{type:"uint64",name:"deactivatedAtHeight"}]}]},{name:"getInitializedAtHeight",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint64"}]},{name:"owner",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"address"}]},{name:"validatorCount",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint64"}]},{name:"validatorByIndex",type:"function",stateMutability:"view",inputs:[{type:"uint64",name:"index"}],outputs:[{type:"tuple",components:[{type:"bytes32",name:"publicKey"},{type:"address",name:"validatorAddress"},{type:"string",name:"ingress"},{type:"string",name:"egress"},{type:"address",name:"feeRecipient"},{type:"uint64",name:"index"},{type:"uint64",name:"addedAtHeight"},{type:"uint64",name:"deactivatedAtHeight"}]}]},{name:"validatorByAddress",type:"function",stateMutability:"view",inputs:[{type:"address",name:"validatorAddress"}],outputs:[{type:"tuple",components:[{type:"bytes32",name:"publicKey"},{type:"address",name:"validatorAddress"},{type:"string",name:"ingress"},{type:"string",name:"egress"},{type:"address",name:"feeRecipient"},{type:"uint64",name:"index"},{type:"uint64",name:"addedAtHeight"},{type:"uint64",name:"deactivatedAtHeight"}]}]},{name:"validatorByPublicKey",type:"function",stateMutability:"view",inputs:[{type:"bytes32",name:"publicKey"}],outputs:[{type:"tuple",components:[{type:"bytes32",name:"publicKey"},{type:"address",name:"validatorAddress"},{type:"string",name:"ingress"},{type:"string",name:"egress"},{type:"address",name:"feeRecipient"},{type:"uint64",name:"index"},{type:"uint64",name:"addedAtHeight"},{type:"uint64",name:"deactivatedAtHeight"}]}]},{name:"getNextNetworkIdentityRotationEpoch",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"uint64"}]},{name:"isInitialized",type:"function",stateMutability:"view",inputs:[],outputs:[{type:"bool"}]},{name:"addValidator",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"validatorAddress"},{type:"bytes32",name:"publicKey"},{type:"string",name:"ingress"},{type:"string",name:"egress"},{type:"address",name:"feeRecipient"},{type:"bytes",name:"signature"}],outputs:[{type:"uint64",name:"index"}]},{name:"deactivateValidator",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint64",name:"idx"}],outputs:[]},{name:"rotateValidator",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint64",name:"idx"},{type:"bytes32",name:"publicKey"},{type:"string",name:"ingress"},{type:"string",name:"egress"},{type:"bytes",name:"signature"}],outputs:[]},{name:"setFeeRecipient",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint64",name:"idx"},{type:"address",name:"feeRecipient"}],outputs:[]},{name:"setIpAddresses",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint64",name:"idx"},{type:"string",name:"ingress"},{type:"string",name:"egress"}],outputs:[]},{name:"transferValidatorOwnership",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint64",name:"idx"},{type:"address",name:"newAddress"}],outputs:[]},{name:"transferOwnership",type:"function",stateMutability:"nonpayable",inputs:[{type:"address",name:"newOwner"}],outputs:[]},{name:"setNetworkIdentityRotationEpoch",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint64",name:"epoch"}],outputs:[]},{name:"migrateValidator",type:"function",stateMutability:"nonpayable",inputs:[{type:"uint64",name:"idx"}],outputs:[]},{name:"initializeIfMigrated",type:"function",stateMutability:"nonpayable",inputs:[],outputs:[]},{name:"ValidatorAdded",type:"event",inputs:[{type:"uint64",name:"index",indexed:!0},{type:"address",name:"validatorAddress",indexed:!0},{type:"bytes32",name:"publicKey"},{type:"string",name:"ingress"},{type:"string",name:"egress"},{type:"address",name:"feeRecipient"}]},{name:"ValidatorDeactivated",type:"event",inputs:[{type:"uint64",name:"index",indexed:!0},{type:"address",name:"validatorAddress",indexed:!0}]},{name:"ValidatorRotated",type:"event",inputs:[{type:"uint64",name:"index",indexed:!0},{type:"uint64",name:"deactivatedIndex",indexed:!0},{type:"address",name:"validatorAddress",indexed:!0},{type:"bytes32",name:"oldPublicKey"},{type:"bytes32",name:"newPublicKey"},{type:"string",name:"ingress"},{type:"string",name:"egress"},{type:"address",name:"caller"}]},{name:"FeeRecipientUpdated",type:"event",inputs:[{type:"uint64",name:"index",indexed:!0},{type:"address",name:"feeRecipient"},{type:"address",name:"caller"}]},{name:"IpAddressesUpdated",type:"event",inputs:[{type:"uint64",name:"index",indexed:!0},{type:"string",name:"ingress"},{type:"string",name:"egress"},{type:"address",name:"caller"}]},{name:"ValidatorOwnershipTransferred",type:"event",inputs:[{type:"uint64",name:"index",indexed:!0},{type:"address",name:"oldAddress",indexed:!0},{type:"address",name:"newAddress",indexed:!0},{type:"address",name:"caller"}]},{name:"OwnershipTransferred",type:"event",inputs:[{type:"address",name:"oldOwner",indexed:!0},{type:"address",name:"newOwner",indexed:!0}]},{name:"ValidatorMigrated",type:"event",inputs:[{type:"uint64",name:"index",indexed:!0},{type:"address",name:"validatorAddress",indexed:!0},{type:"bytes32",name:"publicKey"}]},{name:"NetworkIdentityRotationEpochSet",type:"event",inputs:[{type:"uint64",name:"previousEpoch",indexed:!0},{type:"uint64",name:"nextEpoch",indexed:!0}]},{name:"Initialized",type:"event",inputs:[{type:"uint64",name:"height"}]},{name:"SkippedValidatorMigration",type:"event",inputs:[{type:"uint64",name:"index",indexed:!0},{type:"address",name:"validatorAddress",indexed:!0},{type:"bytes32",name:"publicKey"}]},{name:"AlreadyInitialized",type:"error",inputs:[]},{name:"IngressAlreadyExists",type:"error",inputs:[{type:"string",name:"ingress"}]},{name:"EmptyV1ValidatorSet",type:"error",inputs:[]},{name:"InvalidMigrationIndex",type:"error",inputs:[]},{name:"InvalidOwner",type:"error",inputs:[]},{name:"InvalidPublicKey",type:"error",inputs:[]},{name:"InvalidSignature",type:"error",inputs:[]},{name:"InvalidSignatureFormat",type:"error",inputs:[]},{name:"InvalidValidatorAddress",type:"error",inputs:[]},{name:"MigrationNotComplete",type:"error",inputs:[]},{name:"NotInitialized",type:"error",inputs:[]},{name:"NotIp",type:"error",inputs:[{type:"string",name:"input"},{type:"string",name:"backtrace"}]},{name:"NotIpPort",type:"error",inputs:[{type:"string",name:"input"},{type:"string",name:"backtrace"}]},{name:"PublicKeyAlreadyExists",type:"error",inputs:[]},{name:"Unauthorized",type:"error",inputs:[]},{name:"AddressAlreadyHasValidator",type:"error",inputs:[]},{name:"ValidatorAlreadyDeactivated",type:"error",inputs:[]},{name:"ValidatorNotFound",type:"error",inputs:[]}];[...hn,...t$,...n$,...r$,...HS,...i$,...FS,...a$,...s$,...o$,...u$,...c$,...l$,...f$];function qS(e){const t=e.account;return t?.keyType&&t.keyType!=="secp256k1"||t?.source==="accessKey"||t?.source==="multisig"||typeof e.calls<"u"||typeof e.feePayer<"u"||typeof e.feePayerSignature<"u"||typeof e.feeToken<"u"||typeof e.keyAuthorization<"u"||typeof e.multisig<"u"||typeof e.nonceKey<"u"||typeof e.signature<"u"||typeof e.signatures<"u"||typeof e.validBefore<"u"||typeof e.validAfter<"u"?"tempo":e.type?e.type:Pm(e)}function Dm(e){try{return qS(e)==="tempo"}catch{return!1}}async function d$(e,t){if(!Dm(e)){if(t&&"type"in t&&t.type!=="secp256k1")throw new Error("Unsupported signature type. Expected `secp256k1` but got `"+t.type+"`.");if(t&&"type"in t){const{r:a,s,yParity:u}=t?.signature;return X2(e,{r:oe(a,{size:32}),s:oe(s,{size:32}),yParity:u})}return X2(e,t)}if(qS(e)==="tempo")return h$(e,t);throw new Error("Unsupported transaction type")}async function h$(e,t){const n=(()=>{if(e.signature)return e.signature;if(t&&"type"in t)return t;if(t)return Yn({r:BigInt(t.r),s:BigInt(t.s),yParity:Number(t.yParity)})})(),{chainId:a,feePayer:s,nonce:u,...l}=e,f=(()=>{const b=e.feePayerSignature;if(b)return{r:BigInt(b.r),s:BigInt(b.s),yParity:Number(b.yParity)};if(b===null||s)return null})(),d=typeof e.feePayerSignature<"u"&&e.feePayerSignature!==null,p=s===!0&&(!n||!f)||!n&&d,m={...l,calls:l.calls?.length?l.calls:[{to:l.to||(!l.data||l.data==="0x"?"0x0000000000000000000000000000000000000000":void 0),value:l.value,data:l.data}],chainId:Number(a),feePayerSignature:f,type:"tempo",...u?{nonce:BigInt(u)}:{}};if(p&&delete m.feeToken,e.multisig&&e.signatures&&!s){const b=vf(gf(m)),g=e.signatures.map(S=>Yn(S)),v=AL({payload:b,signatures:g,genesisConfig:e.multisig}),x=Yn({genesisConfig:e.multisig,signatures:v,...u?{}:{init:!0}});return Ar(m,{feePayerSignature:void 0,signature:x})}if(n&&typeof e.feePayer=="object"){const b=gf(m,{signature:n}),g=(()=>{if(e.from)return e.from;if(n.type==="secp256k1")return cm({payload:vf(b),signature:n.signature});throw new Error("Unable to extract sender from transaction or signature.")})(),v=JL(b,{sender:g}),x=await e.feePayer.sign({hash:v});return Ar(b,{feePayerSignature:jf(x)})}return s===!0||!n&&d?n&&f?Ar(m,{signature:n}):n?Ar(m,{format:"feePayer",sender:e.from,signature:n}):Ar(m,{feePayerSignature:null}):Ar({...m,...s&&!f?{feeToken:void 0}:{}},{feePayerSignature:void 0,signature:n})}function p$(e){return e.source==="accessKey"&&"accessKeyAddress"in e}async function y$(e,t){const{chainId:n,key:a,expiry:s,limits:u,scopes:l,witness:f,admin:d}=t,{accessKeyAddress:p,keyType:m}=m$(a),b=p$(e),g=b?{account:e.address}:{},v=d?{}:{expiry:s,limits:u,scopes:l},x=$L({address:p,chainId:n,type:m,witness:f,...d?{isAdmin:!0}:{},...g,...v}),S=b?await e.sign({hash:x,raw:!0}):await e.sign({hash:x});return kS({address:p,chainId:n,signature:Yn(S),type:m,...f?{witness:f}:{},...d?{isAdmin:!0}:{},...g,...v})}function m$(e){return"accessKeyAddress"in e?{accessKeyAddress:e.accessKeyAddress,keyType:e.keyType}:"publicKey"in e&&e.publicKey?{accessKeyAddress:Ei(Zy(e.publicKey)),keyType:e.type}:{accessKeyAddress:e.address,keyType:e.type}}const Ii="0xaAAAaaAA00000000000000000000000000000000",qk="0x20c0000000000000000000000000000000000000",b$="0x5165300000000000000000000000000000000000",Gk="0x20fc000000000000000000000000000000000000",u5=["genesis","t0","t1","t1a","t1b","t1c","t2","t3","t4","t5","t6"];function g$(e,t){return u5.indexOf(e)<u5.indexOf(t)}function v$(e,t){const{decimals:n,token:a}=t;if(typeof a=="string"){const u=GS(e,a);if(u)return{address:u.address,decimals:n??u.decimals}}const s=rd(a);return{address:s,decimals:n??w$(e,s)}}function Vk(e,t){const n=e.tokens,a=e.chain?.id;if(!n||a===void 0)return;if(typeof t=="string"){const u=GS(e,t);if(u)return u}const s=rd(t);for(const u of n){const l=Hm(u,a);if(l&&zi(l.address,s))return l}}function GS(e,t){const n=e.tokens,a=e.chain?.id;if(!n||a===void 0)return;const s=t.toLowerCase();for(const u of n)if(u.symbol?.toLowerCase()===s)return Hm(u,a)}function Hm(e,t){const n=e.addresses[t];if(n)return{address:n,currency:e.currency,decimals:e.decimals,name:e.name,popular:e.popular,symbol:e.symbol}}function w$(e,t){const n=e.tokens,a=e.chain?.id;if(n&&a!==void 0)for(const s of n){const u=Hm(s,a);if(u&&zi(u.address,t))return u.decimals}}async function Kk(e,t){const{address:n,decimals:a}=v$(e,t);return a!==void 0?{address:n,decimals:a}:{address:n,decimals:await Br(e,{abi:FS,address:n,functionName:"decimals"})}}function Qk(e){const{account:t,chain:n,feePayer:a,feeToken:s,gas:u,keyAuthorization:l,maxFeePerGas:f,maxPriorityFeePerGas:d,nonce:p,nonceKey:m,validAfter:b,validBefore:g}=e;return{account:t,chain:n,feePayer:a,feeToken:s,gas:u,keyAuthorization:l,maxFeePerGas:f,maxPriorityFeePerGas:d,nonce:p,nonceKey:m,validAfter:b,validBefore:g}}function Ir(e){return{...e,data:eo(e),to:e.address}}const x$={0:"secp256k1",1:"p256",2:"webAuthn"},S$={true:"limited",false:"unlimited"};async function by(e,t){return by.inner(ES,e,t)}(function(e){async function t(a,s,u){const{accessKey:l,admin:f,chainId:d=s.chain?.id,expiry:p,limits:m,scopes:b,witness:g,...v}=u,x=v.account??s.account;if(!x)throw new Error("account is required.");if(!d)throw new Error("chainId is required.");const S=Et(x),E=await y$(S,{chainId:BigInt(d),key:l,admin:f,expiry:p,limits:m,scopes:b,witness:g});return await a(s,{...v,keyAuthorization:E})}e.inner=t;function n(a){const[s]=Jf({abi:hn,logs:a,eventName:"KeyAuthorized",strict:!0});if(!s)throw new Error("`KeyAuthorized` event not found.");return s}e.extractEvent=n})(by||(by={}));async function gy(e,t){return gy.inner(Hs,e,t)}(function(e){async function t(s,u,l){const{witness:f,...d}=l,p=e.call({witness:f});return await s(u,{...d,...p})}e.inner=t;function n(s){const{witness:u}=s;return Ir({address:Ii,abi:hn,functionName:"burnKeyAuthorizationWitness",args:[u]})}e.call=n;function a(s){const[u]=Jf({abi:hn,logs:s,eventName:"KeyAuthorizationWitnessBurned",strict:!0});if(!u)throw new Error("`KeyAuthorizationWitnessBurned` event not found.");return u}e.extractEvent=a})(gy||(gy={}));async function Gu(e,t){const{account:n=e.account,accessKey:a,...s}=t;if(!n)throw new Error("account is required.");const u=Et(n),l=await Br(e,{...s,account:null,...Gu.call({account:u.address,accessKey:a})});return{address:l.keyId,keyType:x$[l.signatureType]??"secp256k1",expiry:l.expiry,spendPolicy:S$[`${l.enforceLimits}`],isRevoked:l.isRevoked}}(function(e){function t(n){const{account:a,accessKey:s}=n;return Ir({address:Ii,abi:hn,functionName:"getKey",args:[a,Gs(s)]})}e.call=t})(Gu||(Gu={}));async function wf(e,t){const{account:n=e.account,accessKey:a,token:s,...u}=t;if(!n)throw new Error("account is required.");const l=Et(n),f=e.chain?.hardfork;if(f&&g$(f,"t3"))return{remaining:await Br(e,{...u,...wf.call({account:l.address,accessKey:a,token:s})}),periodEnd:void 0};const[d,p]=await Br(e,{...u,...wf.callWithPeriod({account:l.address,accessKey:a,token:s})});return{remaining:d,periodEnd:p}}(function(e){function t(a){const{account:s,accessKey:u,token:l}=a;return Ir({address:Ii,abi:hn,functionName:"getRemainingLimit",args:[s,Gs(u),l]})}e.call=t;function n(a){const{account:s,accessKey:u,token:l}=a;return Ir({address:Ii,abi:hn,functionName:"getRemainingLimitWithPeriod",args:[s,Gs(u),l]})}e.callWithPeriod=n})(wf||(wf={}));async function vy(e,t){const{account:n=e.account,accessKey:a,...s}=t;if(!n)throw new Error("account is required.");const u=Et(n);return Br(e,{...s,account:null,...vy.call({account:u.address,accessKey:a})})}(function(e){function t(n){const{account:a,accessKey:s}=n;return Ir({address:Ii,abi:hn,functionName:"isAdminKey",args:[a,Gs(s)]})}e.call=t})(vy||(vy={}));async function wy(e,t){const{account:n=e.account,witness:a,...s}=t;if(!n)throw new Error("account is required.");const u=Et(n);return Br(e,{...s,account:null,...wy.call({account:u.address,witness:a})})}(function(e){function t(n){const{account:a,witness:s}=n;return Ir({address:Ii,abi:hn,functionName:"isKeyAuthorizationWitnessBurned",args:[a,s]})}e.call=t})(wy||(wy={}));async function xy(e,t){return xy.inner(Hs,e,t)}(function(e){async function t(s,u,l){const{accessKey:f,...d}=l,p=e.call({accessKey:f});return await s(u,{...d,...p})}e.inner=t;function n(s){const{accessKey:u}=s;return Ir({address:Ii,abi:hn,functionName:"revokeKey",args:[Gs(u)]})}e.call=n;function a(s){const[u]=Jf({abi:hn,logs:s,eventName:"KeyRevoked",strict:!0});if(!u)throw new Error("`KeyRevoked` event not found.");return u}e.extractEvent=a})(xy||(xy={}));async function Sy(e,t){return Sy.inner(Hs,e,t)}(function(e){async function t(s,u,l){const{accessKey:f,token:d,limit:p,...m}=l,b=e.call({accessKey:f,token:d,limit:p});return await s(u,{...m,...b})}e.inner=t;function n(s){const{accessKey:u,token:l,limit:f}=s;return Ir({address:Ii,abi:hn,functionName:"updateSpendingLimit",args:[Gs(u),l,f]})}e.call=n;function a(s){const[u]=Jf({abi:hn,logs:s,eventName:"SpendingLimitUpdated",strict:!0});if(!u)throw new Error("`SpendingLimitUpdated` event not found.");return u}e.extractEvent=a})(Sy||(Sy={}));async function Ey(e,t){const{account:n,admin:a,hash:s,signature:u,...l}=t;return Br(e,{...l,...Ey.call({account:n,admin:a,hash:s,signature:u})})}(function(e){function t(n){const{account:a,admin:s=!0,hash:u,signature:l}=n;return Ir({address:b$,abi:HS,functionName:s?"verifyKeychainAdmin":"verifyKeychain",args:[a,u,l]})}e.call=t})(Ey||(Ey={}));function Gs(e){return typeof e=="string"?e:e.accessKeyAddress}function E$(e){if(!Dm(e))return Xf(e);const t=e.blockTimestamp==null?void 0:BigInt(e.blockTimestamp),{feePayerSignature:n,gasPrice:a,nonce:s,...u}=GL(e);return{...u,accessList:u.accessList,...typeof t<"u"&&{blockTimestamp:t},feePayerSignature:n?{r:oe(n.r,{size:32}),s:oe(n.s,{size:32}),v:BigInt(n.v??27),yParity:n.yParity}:void 0,nonce:Number(s),typeHex:DS[u.type],type:u.type}}function A$(e){return yS(e)}function T$(e,t){const n=e,a=n.account?Et(n.account):void 0;if(!Dm(n))return no(e);t&&(n.calls=n.calls??[{to:e.to||(!e.data||e.data==="0x"?"0x0000000000000000000000000000000000000000":void 0),value:e.value,data:e.data}]),n.feePayer===!0&&!n.feePayerSignature&&delete n.feeToken;const{multisig:s,signatures:u,...l}=n,f=VL({...l,type:"tempo"});t==="estimateGas"&&(f.maxFeePerGas=void 0,f.maxPriorityFeePerGas=void 0),f.to=void 0,f.data=void 0,f.value=void 0;const[d,p]=(()=>{const b=a&&"keyType"in a?a.keyType:a?.source;return b?b==="webAuthn"?["webAuthn","0x0578"]:["p256","secp256k1"].includes(b)?[b,void 0]:[n.keyType,c5(n.keyData)]:[n.keyType,c5(n.keyData)]})(),m=a&&"accessKeyAddress"in a?a.accessKeyAddress:n.keyId;return a&&(f.from=a.address),{...f,...n.capabilities?{capabilities:n.capabilities}:{},...p?{keyData:p}:{},...m?{keyId:m}:{},...d?{keyType:d}:{},...typeof n.feePayer<"u"?{feePayer:typeof n.feePayer=="object"?Et(n.feePayer):n.feePayer}:{},..."feePayerSignature"in n&&n.feePayerSignature!==void 0?{feePayerSignature:n.feePayerSignature}:{}}}function c5(e){if(!e)return e;const t=(e.length-2)/2;return t<=4?e:oe(t,{size:2})}const ws=new Map;async function M$(e){ws.set(e,(ws.get(e)??0)+1),await Promise.resolve();const t=(ws.get(e)??0)>1;return queueMicrotask(()=>{const n=ws.get(e)??0;n<=1?ws.delete(e):ws.set(e,n-1)}),t}const R$=25,VS={blockTime:1e3,extendSchema:oN(),formatters:{transaction:RI({exclude:["aaAuthorizationList"],format:E$}),transactionReceipt:DI({format:A$}),transactionRequest:oI({format:T$})},prepareTransactionRequest:[async(e,{client:t,phase:n})=>{const a=e;if(n==="afterFillParameters")return a.feePayer&&(a.keyAuthorization?.signature.type==="webAuthn"?a.gas=(a.gas??0n)+20000n:a.account?.source==="accessKey"&&(a.gas=(a.gas??0n)+10000n)),a;const s=a.multisig??(a.account?.source==="multisig"?a.account.config:void 0);if(s&&(a.multisig=s,a.from=Nm(s),a.account?.source!=="multisig"&&delete a.account),!a.keyAuthorization&&a.account?.source==="accessKey"){const l=a.account.keyAuthorizationManager;if(l){const f=a.chainId??a.chain?.id;if(typeof f<"u"){const d=a.account.address,p=a.account.accessKeyAddress,m={address:d,accessKey:p,chainId:f},b=await l.get(m);if(b){const g=BigInt(Math.floor(Date.now()/1e3));if(b.expiry!=null&&BigInt(b.expiry)<=g)await l.remove(m);else{const v=await Ze(t,Gu,"getMetadata")({account:d,accessKey:p});zi(v.address,p)&&!v.isRevoked&&v.expiry>g?await l.remove(m):a.keyAuthorization=b}}}}}return await(async()=>{if(a.nonceKey==="expiring"||a.feePayer&&typeof a.nonceKey>"u")return!0;const l=a.account?.address;return l&&typeof a.nonceKey>"u"?await M$(l):!1})()?(a.nonceKey=rc,a.nonce=0,typeof a.validBefore>"u"&&(a.validBefore=Math.floor(Date.now()/1e3)+R$)):typeof a.nonceKey<"u"&&(a.nonce=typeof a.nonce=="number"?a.nonce:0),!a.feeToken&&a.chain?.feeToken&&(a.feeToken=a.chain.feeToken),a},{runAt:["beforeFillTransaction","afterFillParameters"]}],serializers:{transaction:((e,t)=>d$(e,t))},async verifyHash(e,t){const{address:n,hash:a,signature:s,mode:u}=t,l=(()=>{if(typeof s=="string")try{return Bi(s)}catch{return}})();if(l){if(l?.type==="keychain"&&u==="allowAccessKey"){const f=l.version==="v2"?Js(Ve("0x04",a,n)):a,d=(()=>{try{return td({payload:f,signature:l.inner})}catch{return}})();if(!d)return!1;const p=await Gu(e,{account:n,accessKey:d,blockNumber:t.blockNumber,blockTag:t.blockTag});return p.isRevoked||p.expiry<=BigInt(Math.floor(Date.now()/1e3))?!1:a5(l.inner,{address:d,payload:f})}if(l.type==="p256"||l.type==="webAuthn"){const f=await mS(e,{address:n,blockNumber:t.blockNumber,blockTag:t.blockTag});if(!f||f==="0xef01007702c00000000000000000000000000000000000")return a5(l,{address:n,payload:a})}}return await Ze(e,EN,"verifyHash")({...t,chain:null})}},Ay=gS({...VS,id:4217,blockExplorers:{default:{name:"Tempo Explorer",url:"https://explore.tempo.xyz"}},name:"Tempo Mainnet",nativeCurrency:{name:"USD",symbol:"USD",decimals:6},rpcUrls:{default:{http:["https://rpc.tempo.xyz"],webSocket:["wss://rpc.tempo.xyz"]}}}),l5=gS({...VS,id:42431,hardfork:"t5",blockExplorers:{default:{name:"Tempo Explorer",url:"https://explore.testnet.tempo.xyz"}},name:"Tempo Testnet (Moderato)",nativeCurrency:{name:"USD",symbol:"USD",decimals:6},rpcUrls:{default:{http:["https://rpc.moderato.tempo.xyz"],webSocket:["wss://rpc.moderato.tempo.xyz"]}},testnet:!0}),C$=XN({chains:[Ay,l5],ssr:!0,transports:{[Ay.id]:t5(),[l5.id]:t5()}}),_$=`data:image/svg+xml,${encodeURIComponent(\'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 269 269"><rect width="269" height="269" fill="#000"/><path d="M123.273 190.794H93.445L121.09 105.318H85.7334L93.445 80.2642H191.95L184.238 105.318H150.773L123.273 190.794Z" fill="#fff"/></svg>\')}`,id=mR()({head:()=>({links:[{rel:"stylesheet",href:nL},{rel:"icon",type:"image/svg+xml",href:_$}],meta:[{charSet:"utf-8"},{content:"width=device-width, initial-scale=1",name:"viewport"},{title:"Tempo API Admin"}]}),shellComponent:O$,component:z$,pendingComponent:()=>V.jsx(P$,{})});function O$({children:e}){return V.jsxs("html",{lang:"en","data-theme":"dark","data-regen-radius":"none",children:[V.jsx("head",{children:V.jsx(LR,{})}),V.jsxs("body",{children:[V.jsx("div",{id:"root",children:e}),V.jsx($R,{})]})]})}function P$(){return V.jsx("div",{className:"flex min-h-screen items-center justify-center text-foreground-secondary",children:"Loading…"})}function z$(){return V.jsx(tL,{config:C$,children:V.jsx(_P,{client:s3,persistOptions:TP,children:V.jsx(B$,{})})})}function B$(){const{data:e,error:t,isPending:n}=BS();if(n)return null;if(t)return V.jsx("div",{className:"flex min-h-screen items-center justify-center text-foreground",children:t.message});if(!e.auth.identity)return V.jsx(k$,{loginUrl:e.auth.loginUrl});const{email:a}=e.auth.identity,{logoutUrl:s}=e.auth;return V.jsxs("div",{className:"relative flex min-h-dvh min-w-[360px] bg-background max-md:h-dvh max-md:flex-col max-md:overflow-hidden",children:[V.jsx("div",{className:"flex-1 bg-background max-md:hidden"}),V.jsx(I$,{email:a,logoutUrl:s}),V.jsx("main",{className:"flex w-full max-w-[1024px] flex-col px-4 pt-5 pb-10 max-md:min-h-0 max-md:flex-1 max-md:overflow-y-auto sm:px-8",children:V.jsx(Pw,{})}),V.jsx("div",{className:"flex-1 max-md:hidden"}),V.jsx($$,{})]})}const KS=[{exact:!1,href:"/api-keys",icon:UP,label:"API Keys"},{exact:!1,href:"/verified-tokens",icon:$P,label:"Verified Tokens"}];function I$(e){return V.jsxs("aside",{className:"sticky top-0 flex h-dvh w-[260px] shrink-0 flex-col gap-6 border-r border-border bg-background px-2.5 pb-5 max-lg:w-[68px] max-lg:items-center max-lg:px-1.5 max-md:hidden",children:[V.jsxs(Xu,{"aria-label":"Tempo API Admin",className:"-mb-1 inline-flex rounded-button px-3 pt-5 pb-3",to:"/",children:[V.jsx(iL,{className:"mt-2 h-4 w-auto text-foreground max-lg:hidden"}),V.jsx(rL,{className:"mt-2 h-4 w-auto text-foreground lg:hidden"})]}),V.jsx("nav",{"aria-label":"Main",className:"flex flex-1 flex-col gap-1",children:KS.map(t=>V.jsx(N$,{exact:t.exact,href:t.href,icon:t.icon,label:t.label},t.href))}),V.jsx(L$,{email:e.email,logoutUrl:e.logoutUrl})]})}function N$(e){const{exact:t,href:n,icon:a,label:s}=e,l=!!zw()({to:n,fuzzy:!t});return V.jsxs(Xu,{"aria-current":l?"page":void 0,"aria-label":s,className:"flex items-center gap-3 rounded-button px-3 py-3 text-label-16 text-foreground-secondary hover:bg-surface-hover data-active:font-semibold data-active:text-foreground max-lg:justify-center max-lg:gap-0 max-lg:p-2.5","data-active":l||void 0,to:n,children:[V.jsx(a,{className:"size-5"}),V.jsx("span",{className:"max-lg:hidden",children:s})]})}function L$(e){return V.jsxs("div",{className:"flex items-center gap-3 p-2.5 max-lg:justify-center max-lg:p-2",children:[V.jsx(wa,{address:IS(e.email),className:"size-9 shrink-0",size:36}),V.jsx("p",{className:"flex-1 truncate text-label-14 text-foreground max-lg:hidden",children:e.email}),e.logoutUrl?V.jsx("a",{"aria-label":"Sign out",className:"shrink-0 text-foreground-secondary hover:text-foreground max-lg:hidden",href:e.logoutUrl,children:V.jsx(u3,{className:"size-[18px]"})}):null]})}function $$(){const e=zw();return V.jsx("nav",{"aria-label":"Main",className:"z-10 flex w-full shrink-0 items-center justify-around border-t border-border bg-background pb-[env(safe-area-inset-bottom)] md:hidden",children:KS.map(t=>{const n=!!e({to:t.href,fuzzy:!t.exact}),a=t.icon;return V.jsxs(Xu,{"aria-current":n?"page":void 0,"aria-label":t.label,className:"flex flex-1 flex-col items-center gap-1 py-3 text-foreground-secondary data-active:text-foreground","data-active":n||void 0,to:t.href,children:[V.jsx(a,{className:"size-5"}),V.jsx("span",{className:"text-label-12",children:t.label})]},t.href)})})}function k$({loginUrl:e}){return V.jsxs("div",{className:"flex min-h-screen flex-col items-center justify-center gap-3 bg-background text-foreground",children:[V.jsx("p",{className:"font-medium",children:"Sign in required"}),e?V.jsx(Bs,{render:V.jsx("a",{href:e}),children:"Sign in"}):V.jsx("p",{className:"text-sm text-foreground-secondary",children:"Your session has expired."})]})}const U$=Ay.id;function Yk({address:e,chainId:t}){return jr["verified-tokens"][":address"].logo.$url({param:{address:e},query:{chainId:String(t)}}).toString()}var Vu;(e=>{function t({chainId:u}){return["verified-tokens",u]}e.key=t;async function n({chainId:u}){return(await jr["verified-tokens"].$get({query:{chainId:String(u)}})).json()}e.fn=n;function a(u){return{queryFn:()=>n(u),queryKey:t(u),staleTime:3e4}}e.options=a;function s(u){return Cf(a(u))}e.useQuery=s})(Vu||(Vu={}));var f5;(e=>{async function t({logo:a,...s}){const u=await jr["verified-tokens"].$post({json:{...s,...a?{logo:await a.text()}:{}}});if(!u.ok)throw new Error("Failed to add token.");return u.json()}e.fn=t;function n(){const a=Ks();return _f({mutationFn:t,onSuccess:(s,u)=>a.invalidateQueries({queryKey:Vu.key({chainId:u.chainId})})})}e.useMutation=n})(f5||(f5={}));var d5;(e=>{async function t({address:a,chainId:s}){const u=await jr["verified-tokens"][":address"].$delete({param:{address:a},query:{chainId:String(s)}});if(!u.ok)throw new Error("Failed to remove token.");return u.json()}e.fn=t;function n(){const a=Ks();return _f({mutationFn:t,onSuccess:(s,u)=>a.invalidateQueries({queryKey:Vu.key({chainId:u.chainId})})})}e.useMutation=n})(d5||(d5={}));const j$=()=>Kf(()=>import("./verified-tokens-CfssiQMy.js"),__vite__mapDeps([0,1]),import.meta.url),D$=Ly("/verified-tokens")({loader:({context:e})=>e.queryClient.prefetchQuery(Vu.options({chainId:U$})),component:Cw(j$,"component")});var Ku;(e=>{e.key=["api-keys"];function t(){return jr["api-keys"].$get().then(s=>s.json())}e.fn=t;function n(){return{queryFn:t,queryKey:e.key,staleTime:3e4}}e.options=n;function a(){return Cf(n())}e.useQuery=a})(Ku||(Ku={}));var h5;(e=>{function t(a){return jr["api-keys"].$post({json:a}).then(s=>{if(!s.ok)throw new Error("Failed to provision key.");return s.json()})}e.fn=t;function n(){const a=Ks();return _f({mutationFn:t,onSuccess:({token:s,...u})=>a.setQueryData(Ku.key,l=>l&&{data:[u,...l.data]})})}e.useMutation=n})(h5||(h5={}));var p5;(e=>{function t(a){return jr["api-keys"][":id"].$delete({param:{id:a}})}e.fn=t;function n(){const a=Ks();return _f({mutationFn:t,onSuccess:(s,u)=>a.setQueryData(Ku.key,l=>l&&{data:l.data.filter(f=>f.id!==u)})})}e.useMutation=n})(p5||(p5={}));var Ty;(e=>{e.key=["scopes"];function t(){return jr.scopes.$get().then(s=>s.json())}e.fn=t;function n(){return{queryFn:t,queryKey:e.key,staleTime:Number.POSITIVE_INFINITY}}e.options=n;function a(){return Cf(n())}e.useQuery=a})(Ty||(Ty={}));const H$=()=>Kf(()=>import("./api-keys-DHRHPJxd.js"),__vite__mapDeps([2,1]),import.meta.url),F$=Ly("/api-keys")({loader:({context:e})=>Promise.all([e.queryClient.prefetchQuery(Ku.options()),e.queryClient.prefetchQuery(Ty.options())]),component:Cw(H$,"component")}),q$=Ly("/")({beforeLoad:()=>{throw Cy({to:"/api-keys"})}}),G$=D$.update({id:"/verified-tokens",path:"/verified-tokens",getParentRoute:()=>id}),V$=F$.update({id:"/api-keys",path:"/api-keys",getParentRoute:()=>id}),K$=q$.update({id:"/",path:"/",getParentRoute:()=>id}),Q$={IndexRoute:K$,ApiKeysRoute:V$,VerifiedTokensRoute:G$},Y$=id._addFileChildren(Q$);function Z$(){if(typeof document>"u")return"/";const e=document.querySelector("base");return e&&new URL(e.href).pathname.replace(/\\/$/,"")||"/"}function X$(){return OR({basepath:Z$(),context:{queryClient:s3},defaultPreload:"intent",defaultPreloadStaleTime:0,routeTree:Y$,scrollRestoration:!0})}async function J$(){const e=await X$();let t;return t=[],window.__TSS_START_OPTIONS__={serializationAdapters:t},t.push(IM),e.options.serializationAdapters&&t.push(...e.options.serializationAdapters),e.update({basepath:".",serializationAdapters:t}),e.stores.matchesId.get().length||await LM(e),e}var W$=J$;async function ek(){const e=await W$();return window.$_TSR?.h(),e}var cp;function tk(){return cp||(cp=ek()),V.jsx(jM,{promise:cp,children:e=>V.jsx(BR,{router:e})})}re.startTransition(()=>{SE.hydrateRoot(document,V.jsx(re.StrictMode,{children:V.jsx(tk,{})}))});export{p5 as $,fm as A,ie as B,Hs as C,Ln as D,nO as E,s$ as F,Gk as G,Kk as H,SS as I,ES as J,U$ as K,Vu as L,f5 as M,V as N,Bs as O,$t as P,Ay as Q,V3 as R,l5 as S,d5 as T,Yk as U,Us as V,eL as W,c3 as X,Ku as Y,h5 as Z,Ty as _,UI as a,nk as a0,iR as a1,JM as a2,tR as a3,Hk as a4,Su as a5,gm as a6,Ci as a7,Uk as a8,Gf as a9,vm as aa,kk as ab,$k as ac,A3 as ad,kr as ae,pf as af,ZP as ag,tz as ah,Lk as ai,IB as aj,xm as ak,Ti as al,LB as am,zi as an,Oi as ao,Pi as ap,to as aq,cu as ar,zr as as,K3 as b,lm as c,zB as d,eo as e,Q3 as f,Ze as g,j3 as h,X3 as i,F3 as j,MS as k,re as l,Fp as m,_n as n,$r as o,Et as p,v$ as q,Br as r,Vk as s,Fk as t,Cf as u,qk as v,FS as w,Ir as x,Qk as y,Jf as z};\n',
22
+ contentType: 'text/javascript; charset=utf-8',
23
+ },
24
+ 'assets/Pilat-Demi-CADSbPAt.woff2': {
25
+ content: 'd09GMgABAAAAAKaAABEAAAACT8QAAKYaAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGoJyG4HGBBzLAAZgAJZcCIEuCZwMEQgKhflYhZ0jC4k+AAE2AiQDkngEIAWTNweoBQyBYVulG3IFs8N8VOFserOq/xzXbeLzBDpu40nozfoA7JVXRyfYtmyoebeDtxyuX2D2////C5JFHNrMktnbuwOohqhU80+yBIcnpcildtQPGR0CJcqINGDIGfLJe8XsWLBOXT9/Oer2/YTIZzeH2ZgR3ryaURuPmKBdm5wnr9jmSseUc0a3vkopZeeI2NxIKZ8IOoZTKwWU+ol/khWLW766ecnwHm6eYo+MkmJ+0rvHLtHaG52chuXCGTQiwWmjCh+OxQNBGYU9mULHv/SqL1RUiubFlq3GG26I/yDIcBKLJXJ2+6edDy3qrDc9ubNu7lhDttz2Fq8ml6lH2fFPjaWGYnXkN5TaWe/Pbjj8s3P20Z0Vv7j5D7ls7Q7XgtPpvEf0wpRQLR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CgYI45Zlgb9lvVRhj0PZqtScq4e0k24a425GXYnGON+r417YW0A65RBGGebb32v7OvFh+2NKQ3Ew9m2eJcufXtoLxpuecYDj3HXIc45jrmOcRR1yGOK8d4Fwu+i6tE4Rf81JB+6Zp9Ion1R71E+6Iu+2F52AdF229bbbtlYrsVM88vYorYmhBDPYOuQYi6hnkGUcyt5frW2Ed8T7S9xXoVJeWlYzUEHqg8KLa611/tcZdTFaKXJ9SPHKN/0zhaalTaO2t0lNGTA9vqSitB0mg+TCsnJK246vhjdsvAe1jlCKUVN5nySjv+SN6i/aqoS3993yriuwg6p4luOeMJ3Xm+hfhQZRx/+PTlfPfr59nzI2vEXgD60NNhTLBUisNIiZiM2WYdPhizcgMbdsuenWktNsSi1GmdwX6wOZxTB/9fpgl96VXSh6D+rS++B/3Jz0De7MEGE+2nj1z3CT7JLq9P/Yv1C8qK+KJv9ukuijY9Jcfib5wnvxULw0K30C40C3WAqnC8Ek2R/SLf/BUi5N/20Gee9d/N/r2ir3ywNjr3UwOOn0D+sr5/ePrIz41C0CnnxPs7kfz5D5nrnXWKi0cbnpqHcie/0MwtVfc9BJ/8XpNcjMqfAQ==',
31
+ contentType: 'font/woff2',
32
+ encoding: 'base64',
33
+ },
34
+ 'assets/styles-Cd7Fp5b_.css': {
35
+ content: '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-content:""}}}@layer theme{:root,:host{--font-sans:var(--font-body,ui-sans-serif, system-ui, sans-serif);--font-mono:ui-monospace, monospace;--spacing:.25rem;--container-md:28rem;--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--tracking-normal:0em;--leading-tight:1.25;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--text-heading-64:4rem;--text-heading-64--letter-spacing:0;--text-heading-64--line-height:1.1;--text-heading-64--font-weight:600;--text-heading-48:3rem;--text-heading-48--letter-spacing:0;--text-heading-48--line-height:1.15;--text-heading-48--font-weight:600;--text-heading-40:2.5rem;--text-heading-40--letter-spacing:0;--text-heading-40--line-height:1.2;--text-heading-40--font-weight:600;--text-heading-32:2rem;--text-heading-32--letter-spacing:0;--text-heading-32--line-height:1.25;--text-heading-32--font-weight:500;--text-heading-24:1.5rem;--text-heading-24--letter-spacing:0;--text-heading-24--line-height:1.35;--text-heading-24--font-weight:500;--text-heading-20:1.25rem;--text-heading-20--line-height:1.4;--text-heading-20--letter-spacing:.01em;--text-heading-20--font-weight:500;--text-heading-16:1rem;--text-heading-16--line-height:1.5;--text-heading-16--letter-spacing:.01em;--text-heading-16--font-weight:500;--text-copy-16:1rem;--text-copy-16--line-height:1.6;--text-copy-16--letter-spacing:.01em;--text-copy-16--font-weight:400;--text-copy-15:.9375rem;--text-copy-15--line-height:1.6;--text-copy-15--letter-spacing:.01em;--text-copy-15--font-weight:400;--text-copy-14:.875rem;--text-copy-14--line-height:1.6;--text-copy-14--letter-spacing:.01em;--text-copy-14--font-weight:400;--text-copy-13:.8125rem;--text-copy-13--line-height:1.55;--text-copy-13--letter-spacing:.01em;--text-copy-13--font-weight:400;--text-label-16:1rem;--text-label-16--line-height:1.5;--text-label-16--letter-spacing:.01em;--text-label-16--font-weight:400;--text-label-15:.9375rem;--text-label-15--line-height:1.45;--text-label-15--letter-spacing:.01em;--text-label-15--font-weight:400;--text-label-14:.875rem;--text-label-14--line-height:1.45;--text-label-14--letter-spacing:.01em;--text-label-14--font-weight:400;--text-label-13:.8125rem;--text-label-13--line-height:1.4;--text-label-13--letter-spacing:.01em;--text-label-13--font-weight:400;--text-label-12:.75rem;--text-label-12--line-height:1.35;--text-label-12--letter-spacing:.01em;--text-label-12--font-weight:400;--text-button-16:1rem;--text-button-16--line-height:1.5;--text-button-16--letter-spacing:.01em;--text-button-16--font-weight:500;--text-button-14:.875rem;--text-button-14--line-height:1.45;--text-button-14--letter-spacing:.01em;--text-button-14--font-weight:500;--text-button-12:.75rem;--text-button-12--line-height:1.35;--text-button-12--letter-spacing:.01em;--text-button-12--font-weight:500;--radius-base:var(--regen-radius,6px);--radius-body:var(--regen-radius-body,var(--radius-base));--radius-button:var(--regen-radius-button,var(--radius-base));--radius-identicon:var(--regen-radius-identicon,var(--radius-base));--color-transparent:#0000;--color-current:currentColor;--color-black:#000;--color-white:#fff;--color-gray-1:oklch(96.19% 0 0);--color-gray-2:oklch(93.89% 0 0);--color-gray-3:oklch(92.34% 0 0);--color-gray-4:oklch(93.89% 0 0);--color-gray-5:oklch(83.73% 0 0);--color-gray-6:oklch(73.26% 0 0);--color-gray-7:oklch(64.95% 0 0);--color-gray-8:oklch(58.95% 0 0);--color-gray-9:oklch(51.02% 0 0);--color-gray-10:oklch(20.44% 0 0);--color-gray-dark-1:oklch(21.56% 0 0);--color-gray-dark-2:oklch(23.76% 0 0);--color-gray-dark-3:oklch(28.01% 0 0);--color-gray-dark-4:oklch(30.08% 0 0);--color-gray-dark-5:oklch(38.99% 0 0);--color-gray-dark-6:oklch(62.38% 0 0);--color-gray-dark-7:oklch(64.95% 0 0);--color-gray-dark-8:oklch(58.95% 0 0);--color-gray-dark-9:oklch(70.8% 0 0);--color-gray-dark-10:oklch(94.66% 0 0);--color-red-1:oklch(96.5% .0221 13.48);--color-red-2:oklch(95.41% .0292 15.02);--color-red-3:oklch(94.33% .0357 16.17);--color-red-4:oklch(91.51% .045 21.34);--color-red-5:oklch(84.47% .0962 19.64);--color-red-6:oklch(72.8% .1735 23.51);--color-red-7:oklch(65.32% .2328 25.73);--color-red-8:oklch(60.95% .2289 27.85);--color-red-9:oklch(57.75% .214 27.99);--color-red-10:oklch(24.8% .096 19.67);--color-red-dark-1:oklch(22.1% .0658 15.41);--color-red-dark-2:oklch(25.93% .0835 19.61);--color-red-dark-3:oklch(31.47% .1108 21.85);--color-red-dark-4:oklch(35.27% .1277 22.42);--color-red-dark-5:oklch(40.68% .1485 24.65);--color-red-dark-6:oklch(66.2% .2289 24.8);--color-red-dark-7:oklch(66.2% .2246 25.11);--color-red-dark-8:oklch(61.83% .2282 27.2);--color-red-dark-9:oklch(71.38% .2147 23.49);--color-red-dark-10:oklch(95.6% .0295 7.03);--color-amber-1:oklch(97.48% .0331 85.79);--color-amber-2:oklch(96.81% .0495 90.24);--color-amber-3:oklch(95.93% .0636 90.52);--color-amber-4:oklch(91.02% .1322 88.25);--color-amber-5:oklch(86.55% .1583 79.63);--color-amber-6:oklch(80.25% .1953 73.59);--color-amber-7:oklch(81.87% .1969 76.46);--color-amber-8:oklch(77.21% .1991 64.28);--color-amber-9:oklch(52.79% .1496 54.65);--color-amber-10:oklch(30.83% .099 45.48);--color-amber-dark-1:oklch(22.46% .0538 76.04);--color-amber-dark-2:oklch(24.95% .0642 64.78);--color-amber-dark-3:oklch(32.34% .0837 63.83);--color-amber-dark-4:oklch(35.53% .0903 66.3);--color-amber-dark-5:oklch(41.55% .1044 67.98);--color-amber-dark-6:oklch(75.04% .1737 74.49);--color-amber-dark-7:oklch(81.87% .1969 76.46);--color-amber-dark-8:oklch(77.21% .1991 64.28);--color-amber-dark-9:oklch(77.21% .1991 64.28);--color-amber-dark-10:oklch(96.7% .0418 84.59);--color-green-1:oklch(97.59% .0294 145.45);--color-green-2:oklch(96.92% .0382 147.2);--color-green-3:oklch(94.6% .0707 144.31);--color-green-4:oklch(91.49% .1039 146.35);--color-green-5:oklch(85.45% .1759 146.44);--color-green-6:oklch(82.36% .2383 145.34);--color-green-7:oklch(73.03% .1944 147.46);--color-green-8:oklch(66.26% .1678 147.69);--color-green-9:oklch(60.2% .1618 147.84);--color-green-10:oklch(29.15% .1333 147.44);--color-green-dark-1:oklch(23.09% .0721 149.64);--color-green-dark-2:oklch(27.12% .0907 150.01);--color-green-dark-3:oklch(29.84% .0979 149.13);--color-green-dark-4:oklch(34.39% .1066 147.63);--color-green-dark-5:oklch(44.19% .1533 147.01);--color-green-dark-6:oklch(65.6% .1899 146.32);--color-green-dark-7:oklch(75.55% .2082 147);--color-green-dark-8:oklch(68.78% .1858 147.23);--color-green-dark-9:oklch(81.51% .2258 148.1);--color-green-dark-10:oklch(96.76% .0586 154.13);--color-blue-1:oklch(97.32% .0141 252.29);--color-blue-2:oklch(96.29% .0197 252.04);--color-blue-3:oklch(94.58% .0296 252.02);--color-blue-4:oklch(91.58% .0481 248.01);--color-blue-5:oklch(82.75% .0998 252.1);--color-blue-6:oklch(71.4% .1308 251.19);--color-blue-7:oklch(53.23% .2073 259.16);--color-blue-8:oklch(47.13% .1983 258.78);--color-blue-9:oklch(53.18% .2399 256.99);--color-blue-10:oklch(26.67% .1129 255.03);--color-blue-dark-1:oklch(22.17% .0695 261.1);--color-blue-dark-2:oklch(25.45% .0824 258.21);--color-blue-dark-3:oklch(30.86% .1046 258.84);--color-blue-dark-4:oklch(34.1% .1247 259.58);--color-blue-dark-5:oklch(38.5% .1456 260.45);--color-blue-dark-6:oklch(51.25% .1722 256.97);--color-blue-dark-7:oklch(49.75% .2015 259.95);--color-blue-dark-8:oklch(43.65% .2003 259.57);--color-blue-dark-9:oklch(71.7% .1648 250.79);--color-blue-dark-10:oklch(96.75% .0188 243.43);--color-purple-1:oklch(96.65% .0236 308.36);--color-purple-2:oklch(96.73% .0213 302.14);--color-purple-3:oklch(94.85% .0327 298.66);--color-purple-4:oklch(91.77% .0531 297.5);--color-purple-5:oklch(81.26% .1171 291.65);--color-purple-6:oklch(72.23% .159 285.4);--color-purple-7:oklch(55.95% .2296 279.31);--color-purple-8:oklch(49.03% .2014 278.92);--color-purple-9:oklch(47.63% .1969 277.19);--color-purple-10:oklch(23.96% .0992 297.62);--color-purple-dark-1:oklch(22.34% .0766 312.38);--color-purple-dark-2:oklch(25.91% .089 305.43);--color-purple-dark-3:oklch(31.98% .1158 298.94);--color-purple-dark-4:oklch(35.93% .1403 291.82);--color-purple-dark-5:oklch(40.99% .1576 285.47);--color-purple-dark-6:oklch(64.12% .1933 279.4);--color-purple-dark-7:oklch(64.12% .1929 274.69);--color-purple-dark-8:oklch(57.2% .1855 274.3);--color-purple-dark-9:oklch(74.18% .1798 287.51);--color-purple-dark-10:oklch(96.1% .0268 310.17);--background-color-background:light-dark(#fafafa,#0c0c0c);--background-color-surface:light-dark(#fff,#141414);--background-color-surface-hover:light-dark(oklch(96.19% 0 0),oklch(21.56% 0 0));--background-color-surface-active:light-dark(oklch(93.89% 0 0),oklch(23.76% 0 0));--background-color-secondary:light-dark(oklch(93.89% 0 0),oklch(23.76% 0 0));--background-color-secondary-hover:light-dark(oklch(from var(--background-color-secondary) calc(l - .015) c h),oklch(from var(--background-color-secondary) calc(l + .02) c h));--background-color-secondary-active:light-dark(oklch(from var(--background-color-secondary) calc(l - .03) c h),oklch(from var(--background-color-secondary) calc(l + .035) c h));--background-color-pane:light-dark(oklch(96.19% 0 0),oklch(23.76% 0 0));--background-color-accent:var(--regen-accent);--background-color-accent-hover:oklch(from var(--background-color-accent) calc(l + clamp(0, (.6 - l) * 999, 1)*.045 - (clamp(0, (l - .6) * 999, 1)*.035)) calc(c*.98) h);--background-color-accent-active:oklch(from var(--background-color-accent) calc(l + clamp(0, (.6 - l) * 999, 1)*.075 - (clamp(0, (l - .6) * 999, 1)*.06)) calc(c*.96) h);--background-color-accent-subtle:light-dark(#fafafa,#0c0c0c)}@supports (color:color-mix(in lab,red,red)){:root,:host{--background-color-accent-subtle:color-mix(in oklch, var(--background-color-background), var(--background-color-accent) 12%)}}:root,:host{--background-color-invert:light-dark(#000,#fff);--background-color-negative:light-dark(oklch(61.82% .19788 25.73),oklch(59.7% .184172 25.11));--background-color-negative-hover:light-dark(oklch(from var(--background-color-negative) calc(l - .03) calc(c*1.05) h),oklch(from var(--background-color-negative) calc(l - .025) calc(c*1.05) h));--background-color-negative-active:light-dark(oklch(from var(--background-color-negative) calc(l - .06) calc(c*1.08) h),oklch(from var(--background-color-negative) calc(l - .05) calc(c*1.08) h));--background-color-negative-subtle:light-dark(oklch(96.5% .0221 13.48),oklch(22.1% .0658 15.41));--background-color-info-subtle:light-dark(oklch(97.32% .0141 252.29),oklch(22.17% .0695 261.1));--background-color-positive-subtle:light-dark(oklch(96.92% .0382 147.2),oklch(27.12% .0907 150.01));--background-color-skeleton:light-dark(oklch(92.34% 0 0),oklch(28.01% 0 0));--background-color-warning-subtle:light-dark(oklch(97.48% .0331 85.79),oklch(22.46% .0538 76.04));--text-color-foreground:light-dark(oklch(20.44% 0 0),oklch(94.66% 0 0));--text-color-foreground-secondary:light-dark(oklch(51.02% 0 0),oklch(70.8% 0 0));--text-color-foreground-secondary-hover:light-dark(oklch(20.44% 0 0),oklch(94.66% 0 0));--text-color-on-accent:oklch(from var(--regen-accent) clamp(0, (.6 - l) * 999, 1) 0 0);--text-color-on-accent-subtle:light-dark(oklch(20.44% 0 0),oklch(94.66% 0 0))}@supports (color:color-mix(in lab,red,red)){:root,:host{--text-color-on-accent-subtle:color-mix(in oklch, var(--text-color-foreground), var(--background-color-accent) 72%)}}:root,:host{--text-color-on-invert:light-dark(#fff,#000);--text-color-on-negative:#fff;--text-color-negative:light-dark(oklch(57.75% .214 27.99),oklch(71.38% .2147 23.49));--text-color-info:light-dark(oklch(53.18% .2399 256.99),oklch(71.7% .1648 250.79));--text-color-positive:light-dark(oklch(60.2% .1618 147.84),oklch(81.51% .2258 148.1));--text-color-warning:light-dark(oklch(52.79% .1496 54.65),oklch(77.21% .1991 64.28));--text-color-warning-strong:light-dark(oklch(30.83% .099 45.48),oklch(96.7% .0418 84.59));--border-color-border:light-dark(oklch(93.89% 0 0),oklch(30.08% 0 0));--border-color-border-hover:light-dark(oklch(83.73% 0 0),oklch(38.99% 0 0));--border-color-border-pane:light-dark(oklch(91.3% 0 0),oklch(28.01% 0 0));--border-color-focus:light-dark(oklch(53.23% .2073 259.16),oklch(71.7% .1648 250.79));--border-color-negative:light-dark(oklch(91.51% .045 21.34),oklch(35.27% .1277 22.42));--border-color-info:light-dark(oklch(91.58% .0481 248.01),oklch(34.1% .1247 259.58));--border-color-warning:light-dark(oklch(91.02% .1322 88.25),oklch(35.53% .0903 66.3));--background-color-error-subtle:var(--background-color-negative-subtle);--background-color-success-subtle:var(--background-color-positive-subtle);--text-color-negative-text:var(--text-color-negative);--text-color-error:var(--text-color-negative);--text-color-success:var(--text-color-positive);--border-color-error:var(--border-color-negative);--outline-color-focus:light-dark(oklch(53.23% .2073 259.16),oklch(71.7% .1648 250.79))}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.\\@container{container-type:inline-size}.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-y-0{inset-block:0}.-top-px{top:-1px}.top-0{top:0}.top-1\\/2{top:50%}.right-0{right:0}.right-3{right:calc(var(--spacing) * 3)}.right-\\[var\\(--rows-row-divider-right\\)\\]{right:var(--rows-row-divider-right)}.bottom-\\[-1px\\]{bottom:-1px}.left-0{left:0}.left-1\\/2{left:50%}.left-\\[var\\(--rows-row-divider-left\\)\\]{left:var(--rows-row-divider-left)}.isolate{isolation:isolate}.z-1{z-index:1}.z-10{z-index:10}.z-40{z-index:40}.z-50{z-index:50}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.mx-\\[-14px\\]{margin-inline:-14px}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-1{margin-top:var(--spacing)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-6{margin-top:calc(var(--spacing) * 6)}.-mr-2{margin-right:calc(var(--spacing) * -2)}.mr-\\[-6px\\]{margin-right:-6px}.mr-\\[-14px\\]{margin-right:-14px}.-mb-1{margin-bottom:calc(var(--spacing) * -1)}.ml-\\[-14px\\]{margin-left:-14px}.ml-auto{margin-left:auto}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.field-sizing-content{field-sizing:content}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-\\[6px\\]{width:6px;height:6px}.size-\\[12px\\]{width:12px;height:12px}.size-\\[16px\\]{width:16px;height:16px}.size-\\[18px\\]{width:18px;height:18px}.size-\\[24px\\]{width:24px;height:24px}.size-\\[40px\\]{width:40px;height:40px}.size-\\[48px\\]{width:48px;height:48px}.h-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.h-\\[1px\\]{height:1px}.h-\\[12px\\]{height:12px}.h-\\[13px\\]{height:13px}.h-\\[14px\\]{height:14px}.h-\\[16px\\]{height:16px}.h-\\[20px\\]{height:20px}.h-\\[24px\\]{height:24px}.h-\\[32px\\]{height:32px}.h-\\[36px\\]{height:36px}.h-\\[38px\\]{height:38px}.h-\\[40px\\]{height:40px}.h-\\[44px\\]{height:44px}.h-dvh{height:100dvh}.h-px{height:1px}.max-h-\\[288px\\]{max-height:288px}.min-h-\\[44px\\]{min-height:44px}.min-h-\\[56px\\]{min-height:56px}.min-h-\\[180px\\]{min-height:180px}.min-h-dvh{min-height:100dvh}.min-h-screen{min-height:100vh}.w-32{width:calc(var(--spacing) * 32)}.w-40{width:calc(var(--spacing) * 40)}.w-\\[12ch\\]{width:12ch}.w-\\[12px\\]{width:12px}.w-\\[16px\\]{width:16px}.w-\\[20px\\]{width:20px}.w-\\[24px\\]{width:24px}.w-\\[28px\\]{width:28px}.w-\\[32px\\]{width:32px}.w-\\[36px\\]{width:36px}.w-\\[38px\\]{width:38px}.w-\\[44px\\]{width:44px}.w-\\[64px\\]{width:64px}.w-\\[72px\\]{width:72px}.w-\\[88px\\]{width:88px}.w-\\[96px\\]{width:96px}.w-\\[112px\\]{width:112px}.w-\\[128px\\]{width:128px}.w-\\[260px\\]{width:260px}.w-\\[calc\\(100\\%\\+14px\\)\\]{width:calc(100% + 14px)}.w-\\[calc\\(100\\%\\+28px\\)\\]{width:calc(100% + 28px)}.w-\\[calc\\(100vw-2rem\\)\\]{width:calc(100vw - 2rem)}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.max-w-\\[384px\\]{max-width:384px}.max-w-\\[1024px\\]{max-width:1024px}.max-w-full{max-width:100%}.max-w-md{max-width:var(--container-md)}.min-w-0{min-width:0}.min-w-\\[360px\\]{min-width:360px}.min-w-\\[var\\(--anchor-width\\)\\]{min-width:var(--anchor-width)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.-translate-x-1\\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.animate-rgn-spin{animation:1s linear infinite rgn-spin}.cursor-pointer{cursor:pointer}.resize{resize:both}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-\\[minmax\\(0\\,max-content\\)_minmax\\(0\\,1fr\\)\\]{grid-template-columns:minmax(0,max-content) minmax(0,1fr)}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-around{justify-content:space-around}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0\\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\\[2px\\]{gap:2px}.gap-\\[4px\\]{gap:4px}.gap-\\[6px\\]{gap:6px}.gap-\\[8px\\]{gap:8px}.gap-\\[10px\\]{gap:10px}.gap-\\[12px\\]{gap:12px}.gap-\\[14px\\]{gap:14px}.gap-\\[16px\\]{gap:16px}.gap-\\[inherit\\]{gap:inherit}.gap-x-3{column-gap:calc(var(--spacing) * 3)}.gap-x-10{column-gap:calc(var(--spacing) * 10)}.gap-y-1{row-gap:var(--spacing)}.gap-y-4{row-gap:calc(var(--spacing) * 4)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-border>:not(:last-child)){border-color:var(--border-color-border)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.rounded{border-radius:.25rem}.rounded-\\[inherit\\]{border-radius:inherit}.rounded-\\[min\\(var\\(--radius-body\\)\\,var\\(--regen-radius-large\\)\\)\\]{border-radius:min(var(--radius-body),var(--regen-radius-large))}.rounded-body{border-radius:var(--radius-body)}.rounded-button{border-radius:var(--radius-button)}.rounded-full{border-radius:3.40282e38px}.rounded-identicon{border-radius:var(--radius-identicon)}.rounded-none{border-radius:0}.rounded-s{border-start-start-radius:.25rem;border-end-start-radius:.25rem}.rounded-ss{border-start-start-radius:.25rem}.rounded-e{border-start-end-radius:.25rem;border-end-end-radius:.25rem}.rounded-se{border-start-end-radius:.25rem}.rounded-ee{border-end-end-radius:.25rem}.rounded-es{border-end-start-radius:.25rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-l{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-tl{border-top-left-radius:.25rem}.rounded-r{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.rounded-tr{border-top-right-radius:.25rem}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-br{border-bottom-right-radius:.25rem}.rounded-bl{border-bottom-left-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\\[2px\\]{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-border{border-color:var(--border-color-border)}.border-border-pane{border-color:var(--border-color-border-pane)}.border-info{border-color:var(--border-color-info)}.border-negative{border-color:var(--border-color-negative)}.border-transparent{border-color:#0000}.border-warning{border-color:var(--border-color-warning)}.bg-accent{background-color:var(--background-color-accent)}.bg-accent-subtle{background-color:var(--background-color-accent-subtle)}.bg-background{background-color:var(--background-color-background)}.bg-black\\/60{background-color:#0009}@supports (color:color-mix(in lab,red,red)){.bg-black\\/60{background-color:color-mix(in oklab,var(--color-black) 60%,transparent)}}.bg-current{background-color:currentColor}.bg-info-subtle{background-color:var(--background-color-info-subtle)}.bg-negative{background-color:var(--background-color-negative)}.bg-negative-subtle{background-color:var(--background-color-negative-subtle)}.bg-pane{background-color:var(--background-color-pane)}.bg-positive-subtle{background-color:var(--background-color-positive-subtle)}.bg-secondary{background-color:var(--background-color-secondary)}.bg-skeleton{background-color:var(--background-color-skeleton)}.bg-surface{background-color:var(--background-color-surface)}.bg-transparent{background-color:#0000}.bg-warning-subtle{background-color:var(--background-color-warning-subtle)}.p-2\\.5{padding:calc(var(--spacing) * 2.5)}.p-4{padding:calc(var(--spacing) * 4)}.p-6{padding:calc(var(--spacing) * 6)}.p-\\[2px\\]{padding:2px}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\\[5px\\]{padding-inline:5px}.px-\\[6px\\]{padding-inline:6px}.px-\\[12px\\]{padding-inline:12px}.px-\\[14px\\]{padding-inline:14px}.px-\\[16px\\]{padding-inline:16px}.px-\\[20px\\]{padding-inline:20px}.px-\\[22px\\]{padding-inline:22px}.px-\\[24px\\]{padding-inline:24px}.py-0\\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-\\[2px\\]{padding-block:2px}.py-\\[3px\\]{padding-block:3px}.py-\\[4px\\]{padding-block:4px}.py-\\[8px\\]{padding-block:8px}.py-\\[10px\\]{padding-block:10px}.py-\\[12px\\]{padding-block:12px}.py-\\[48px\\]{padding-block:48px}.pt-1\\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pr-12{padding-right:calc(var(--spacing) * 12)}.pr-\\[10px\\]{padding-right:10px}.pr-\\[var\\(--rows-row-padding-right\\,20px\\)\\]{padding-right:var(--rows-row-padding-right,20px)}.pb-1{padding-bottom:var(--spacing)}.pb-1\\.5{padding-bottom:calc(var(--spacing) * 1.5)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-\\[env\\(safe-area-inset-bottom\\)\\]{padding-bottom:env(safe-area-inset-bottom)}.pl-\\[10px\\]{padding-left:10px}.pl-\\[var\\(--rows-pane-content-padding-left\\)\\]{padding-left:var(--rows-pane-content-padding-left)}.pl-\\[var\\(--rows-row-padding-left\\,20px\\)\\]{padding-left:var(--rows-row-padding-left,20px)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.button-12{font-size:var(--text-button-12);letter-spacing:var(--text-button-12--letter-spacing);line-height:var(--text-button-12--line-height);font-weight:var(--text-button-12--font-weight)}.button-14{font-size:var(--text-button-14);letter-spacing:var(--text-button-14--letter-spacing);line-height:var(--text-button-14--line-height);font-weight:var(--text-button-14--font-weight)}.button-16{font-size:var(--text-button-16);letter-spacing:var(--text-button-16--letter-spacing);line-height:var(--text-button-16--line-height);font-weight:var(--text-button-16--font-weight)}.copy-13{font-size:var(--text-copy-13);letter-spacing:var(--text-copy-13--letter-spacing);line-height:var(--text-copy-13--line-height);font-weight:var(--text-copy-13--font-weight)}.copy-14{font-size:var(--text-copy-14);letter-spacing:var(--text-copy-14--letter-spacing);line-height:var(--text-copy-14--line-height);font-weight:var(--text-copy-14--font-weight)}.copy-15{font-size:var(--text-copy-15);letter-spacing:var(--text-copy-15--letter-spacing);line-height:var(--text-copy-15--line-height);font-weight:var(--text-copy-15--font-weight)}.copy-16{font-size:var(--text-copy-16);letter-spacing:var(--text-copy-16--letter-spacing);line-height:var(--text-copy-16--line-height);font-weight:var(--text-copy-16--font-weight)}.heading-16{font-size:var(--text-heading-16);letter-spacing:var(--text-heading-16--letter-spacing);line-height:var(--text-heading-16--line-height);font-weight:var(--text-heading-16--font-weight)}.heading-20{font-size:var(--text-heading-20);letter-spacing:var(--text-heading-20--letter-spacing);line-height:var(--text-heading-20--line-height);font-weight:var(--text-heading-20--font-weight)}.heading-24{font-size:var(--text-heading-24);letter-spacing:var(--text-heading-24--letter-spacing);line-height:var(--text-heading-24--line-height);font-weight:var(--text-heading-24--font-weight)}.heading-32{font-size:var(--text-heading-32);letter-spacing:var(--text-heading-32--letter-spacing);line-height:var(--text-heading-32--line-height);font-weight:var(--text-heading-32--font-weight)}.heading-40{font-size:var(--text-heading-40);letter-spacing:var(--text-heading-40--letter-spacing);line-height:var(--text-heading-40--line-height);font-weight:var(--text-heading-40--font-weight)}.heading-48{font-size:var(--text-heading-48);letter-spacing:var(--text-heading-48--letter-spacing);line-height:var(--text-heading-48--line-height);font-weight:var(--text-heading-48--font-weight)}.heading-64{font-size:var(--text-heading-64);letter-spacing:var(--text-heading-64--letter-spacing);line-height:var(--text-heading-64--line-height);font-weight:var(--text-heading-64--font-weight)}.label-12{font-size:var(--text-label-12);letter-spacing:var(--text-label-12--letter-spacing);line-height:var(--text-label-12--line-height);font-weight:var(--text-label-12--font-weight)}.label-13{font-size:var(--text-label-13);letter-spacing:var(--text-label-13--letter-spacing);line-height:var(--text-label-13--line-height);font-weight:var(--text-label-13--font-weight)}.label-14{font-size:var(--text-label-14);letter-spacing:var(--text-label-14--letter-spacing);line-height:var(--text-label-14--line-height);font-weight:var(--text-label-14--font-weight)}.label-15{font-size:var(--text-label-15);letter-spacing:var(--text-label-15--letter-spacing);line-height:var(--text-label-15--line-height);font-weight:var(--text-label-15--font-weight)}.label-16{font-size:var(--text-label-16);letter-spacing:var(--text-label-16--letter-spacing);line-height:var(--text-label-16--line-height);font-weight:var(--text-label-16--font-weight)}.text-copy-14{font-size:var(--text-copy-14);line-height:var(--tw-leading,var(--text-copy-14--line-height));letter-spacing:var(--tw-tracking,var(--text-copy-14--letter-spacing));font-weight:var(--tw-font-weight,var(--text-copy-14--font-weight))}.text-copy-15{font-size:var(--text-copy-15);line-height:var(--tw-leading,var(--text-copy-15--line-height));letter-spacing:var(--tw-tracking,var(--text-copy-15--letter-spacing));font-weight:var(--tw-font-weight,var(--text-copy-15--font-weight))}.text-heading-20{font-size:var(--text-heading-20);line-height:var(--tw-leading,var(--text-heading-20--line-height));letter-spacing:var(--tw-tracking,var(--text-heading-20--letter-spacing));font-weight:var(--tw-font-weight,var(--text-heading-20--font-weight))}.text-heading-24{font-size:var(--text-heading-24);line-height:var(--tw-leading,var(--text-heading-24--line-height));letter-spacing:var(--tw-tracking,var(--text-heading-24--letter-spacing));font-weight:var(--tw-font-weight,var(--text-heading-24--font-weight))}.text-label-12{font-size:var(--text-label-12);line-height:var(--tw-leading,var(--text-label-12--line-height));letter-spacing:var(--tw-tracking,var(--text-label-12--letter-spacing));font-weight:var(--tw-font-weight,var(--text-label-12--font-weight))}.text-label-13{font-size:var(--text-label-13);line-height:var(--tw-leading,var(--text-label-13--line-height));letter-spacing:var(--tw-tracking,var(--text-label-13--letter-spacing));font-weight:var(--tw-font-weight,var(--text-label-13--font-weight))}.text-label-14{font-size:var(--text-label-14);line-height:var(--tw-leading,var(--text-label-14--line-height));letter-spacing:var(--tw-tracking,var(--text-label-14--letter-spacing));font-weight:var(--tw-font-weight,var(--text-label-14--font-weight))}.text-label-16{font-size:var(--text-label-16);line-height:var(--tw-leading,var(--text-label-16--line-height));letter-spacing:var(--tw-tracking,var(--text-label-16--letter-spacing));font-weight:var(--tw-font-weight,var(--text-label-16--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-\\[10px\\]{font-size:10px}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.tracking-\\[0\\.06em\\]{--tw-tracking:.06em;letter-spacing:.06em}.tracking-normal{--tw-tracking:var(--tracking-normal);letter-spacing:var(--tracking-normal)}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.text-foreground{color:var(--text-color-foreground)}.text-foreground-secondary{color:var(--text-color-foreground-secondary)}.text-info{color:var(--text-color-info)}.text-negative{color:var(--text-color-negative)}.text-on-accent{color:var(--text-color-on-accent)}.text-on-accent-subtle{color:var(--text-color-on-accent-subtle)}.text-on-invert{color:var(--text-color-on-invert)}.text-on-negative{color:var(--text-color-on-negative)}.text-positive{color:var(--text-color-positive)}.text-transparent{color:#0000}.text-warning{color:var(--text-color-warning)}.uppercase{text-transform:uppercase}.line-through{text-decoration-line:line-through}.underline{text-decoration-line:underline}.decoration-current\\/40{text-decoration-color:currentColor}@supports (color:color-mix(in lab,red,red)){.decoration-current\\/40{-webkit-text-decoration-color:color-mix(in oklab,currentcolor 40%,transparent);text-decoration-color:color-mix(in oklab,currentcolor 40%,transparent)}}.underline-offset-2{text-underline-offset:2px}.caret-\\[var\\(--text-color-foreground\\)\\]{caret-color:var(--text-color-foreground)}.opacity-0{opacity:0}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.outline-\\[2px\\]{outline-style:var(--tw-outline-style);outline-width:2px}.outline-offset-\\[2px\\]{outline-offset:2px}.outline-transparent{outline-color:#0000}.invert{--tw-invert:invert(100%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.\\[--rows-divider\\:var\\(--border-color-border\\)\\]{--rows-divider:var(--border-color-border)}.\\[--rows-divider\\:var\\(--border-color-border-pane\\)\\]{--rows-divider:var(--border-color-border-pane)}.\\[--rows-group-divider-left\\:0px\\]{--rows-group-divider-left:0px}.\\[--rows-group-divider-left\\:20px\\]{--rows-group-divider-left:20px}.\\[--rows-pane-content-padding-left\\:0px\\]{--rows-pane-content-padding-left:0px}.\\[--rows-pane-content-padding-left\\:20px\\]{--rows-pane-content-padding-left:20px}.\\[--rows-pane-content-padding-left\\:48px\\]{--rows-pane-content-padding-left:48px}.\\[--rows-row-divider-left\\:-14px\\]{--rows-row-divider-left:-14px}.\\[--rows-row-divider-left\\:0px\\]{--rows-row-divider-left:0px}.\\[--rows-row-divider-left\\:14px\\]{--rows-row-divider-left:14px}.\\[--rows-row-divider-left\\:20px\\]{--rows-row-divider-left:20px}.\\[--rows-row-divider-right\\:-14px\\]{--rows-row-divider-right:-14px}.\\[--rows-row-divider-right\\:0px\\]{--rows-row-divider-right:0px}.\\[--rows-row-divider-right\\:14px\\]{--rows-row-divider-right:14px}.\\[--rows-row-divider-right\\:20px\\]{--rows-row-divider-right:20px}.\\[--rows-row-padding-left\\:20px\\]{--rows-row-padding-left:20px}.\\[--rows-row-padding-left\\:48px\\]{--rows-row-padding-left:48px}.\\[text-decoration\\:inherit\\]{-webkit-text-decoration:inherit;text-decoration:inherit}@media(hover:hover){.group-hover\\:bg-accent-hover:is(:where(.group):hover *){background-color:var(--background-color-accent-hover)}.group-hover\\:bg-negative-hover:is(:where(.group):hover *){background-color:var(--background-color-negative-hover)}.group-hover\\:bg-secondary-hover:is(:where(.group):hover *){background-color:var(--background-color-secondary-hover)}.group-hover\\:text-foreground:is(:where(.group):hover *){color:var(--text-color-foreground)}}.group-active\\:bg-accent-active:is(:where(.group):active *){background-color:var(--background-color-accent-active)}.group-active\\:bg-negative-active:is(:where(.group):active *){background-color:var(--background-color-negative-active)}.group-active\\:bg-secondary-active:is(:where(.group):active *){background-color:var(--background-color-secondary-active)}@media(hover:hover){.group-hover\\:group-active\\:bg-accent-active:is(:where(.group):hover *):is(:where(.group):active *){background-color:var(--background-color-accent-active)}.group-hover\\:group-active\\:bg-negative-active:is(:where(.group):hover *):is(:where(.group):active *){background-color:var(--background-color-negative-active)}.group-hover\\:group-active\\:bg-secondary-active:is(:where(.group):hover *):is(:where(.group):active *){background-color:var(--background-color-secondary-active)}}.placeholder\\:text-foreground-secondary\\/50::placeholder{color:light-dark(#66666680,#a1a1a180)}@supports (color:color-mix(in lab,red,red)){.placeholder\\:text-foreground-secondary\\/50::placeholder{color:color-mix(in oklab,var(--text-color-foreground-secondary) 50%,transparent)}}.before\\:pointer-events-none:before{content:var(--tw-content);pointer-events:none}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:inset-y-0:before{content:var(--tw-content);inset-block:0}.before\\:left-\\[10px\\]:before{content:var(--tw-content);left:10px}.before\\:left-\\[28px\\]:before{content:var(--tw-content);left:28px}.before\\:z-10:before{content:var(--tw-content);z-index:10}.before\\:w-\\[2px\\]:before{content:var(--tw-content);width:2px}.focus-within\\:border-focus:focus-within{border-color:var(--border-color-focus)}.focus-within\\:bg-secondary-hover:focus-within{background-color:var(--background-color-secondary-hover)}@media(hover:hover){.hover\\:border-border-hover:hover{border-color:var(--border-color-border-hover)}.hover\\:bg-secondary-hover:hover{background-color:var(--background-color-secondary-hover)}.hover\\:bg-surface-hover:hover{background-color:var(--background-color-surface-hover)}.hover\\:text-foreground:hover{color:var(--text-color-foreground)}.hover\\:text-foreground-secondary-hover:hover{color:var(--text-color-foreground-secondary-hover)}.hover\\:text-negative:hover{color:var(--text-color-negative)}.hover\\:decoration-current:hover{text-decoration-color:currentColor}}.focus-visible\\:border-focus:focus-visible{border-color:var(--border-color-focus)}.focus-visible\\:bg-secondary-hover:focus-visible{background-color:var(--background-color-secondary-hover)}.focus-visible\\:outline:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.focus-visible\\:outline-\\[2px\\]:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\\:outline-offset-\\[-1px\\]:focus-visible{outline-offset:-1px}.focus-visible\\:outline-offset-\\[-2px\\]:focus-visible{outline-offset:-2px}.focus-visible\\:outline-offset-\\[2px\\]:focus-visible{outline-offset:2px}.focus-visible\\:outline-focus:focus-visible{outline-color:var(--outline-color-focus)}.active\\:bg-secondary-active:active{background-color:var(--background-color-secondary-active)}.active\\:bg-surface-active:active{background-color:var(--background-color-surface-active)}.active\\:text-foreground:active{color:var(--text-color-foreground)}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-50:disabled{opacity:.5}.data-active\\:font-semibold[data-active]{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.data-active\\:text-foreground[data-active]{color:var(--text-color-foreground)}.data-\\[checked\\]\\:border-\\[var\\(--background-color-invert\\)\\][data-checked]{border-color:var(--background-color-invert)}.data-\\[checked\\]\\:bg-accent[data-checked]{background-color:var(--background-color-accent)}.data-\\[checked\\]\\:bg-invert[data-checked]{background-color:var(--background-color-invert)}.data-\\[checked\\]\\:bg-surface[data-checked]{background-color:var(--background-color-surface)}.data-\\[checked\\]\\:text-foreground[data-checked]{color:var(--text-color-foreground)}.data-\\[checked\\]\\:text-on-accent[data-checked]{color:var(--text-color-on-accent)}@media(hover:hover){.data-\\[checked\\]\\:hover\\:bg-accent-hover[data-checked]:hover{background-color:var(--background-color-accent-hover)}}.data-\\[disabled\\]\\:pointer-events-none[data-disabled]{pointer-events:none}.data-\\[disabled\\]\\:opacity-50[data-disabled]{opacity:.5}.data-\\[ending-style\\]\\:opacity-0[data-ending-style]{opacity:0}.data-\\[error\\]\\:border-negative[data-error]{border-color:var(--border-color-negative)}.data-\\[error\\]\\:focus-within\\:border-focus[data-error]:focus-within{border-color:var(--border-color-focus)}.data-\\[error\\]\\:focus-visible\\:border-negative[data-error]:focus-visible{border-color:var(--border-color-negative)}.data-\\[highlighted\\]\\:bg-secondary-hover[data-highlighted]{background-color:var(--background-color-secondary-hover)}.data-\\[loading\\]\\:pointer-events-none[data-loading]{pointer-events:none}.data-\\[open\\]\\:rotate-90[data-open]{rotate:90deg}.data-\\[open\\]\\:rotate-180[data-open]{rotate:180deg}.data-\\[selected\\]\\:font-medium[data-selected]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.data-\\[side\\=bottom\\]\\:-top-\\[6px\\][data-side=bottom]{top:-6px}.data-\\[side\\=bottom\\]\\:rotate-0[data-side=bottom]{rotate:0deg}.data-\\[side\\=left\\]\\:-right-\\[6px\\][data-side=left]{right:-6px}.data-\\[side\\=left\\]\\:rotate-90[data-side=left]{rotate:90deg}.data-\\[side\\=right\\]\\:-left-\\[6px\\][data-side=right]{left:-6px}.data-\\[side\\=right\\]\\:-rotate-90[data-side=right]{rotate:-90deg}.data-\\[side\\=top\\]\\:-bottom-\\[6px\\][data-side=top]{bottom:-6px}.data-\\[side\\=top\\]\\:rotate-180[data-side=top]{rotate:180deg}.data-\\[starting-style\\]\\:opacity-0[data-starting-style]{opacity:0}.data-\\[unchecked\\]\\:hidden[data-unchecked]{display:none}@media not all and (min-width:64rem){.max-lg\\:hidden{display:none}.max-lg\\:w-\\[68px\\]{width:68px}.max-lg\\:items-center{align-items:center}.max-lg\\:justify-center{justify-content:center}.max-lg\\:gap-0{gap:0}.max-lg\\:p-2{padding:calc(var(--spacing) * 2)}.max-lg\\:p-2\\.5{padding:calc(var(--spacing) * 2.5)}.max-lg\\:px-1\\.5{padding-inline:calc(var(--spacing) * 1.5)}}@media not all and (min-width:48rem){.max-md\\:hidden{display:none}.max-md\\:h-dvh{height:100dvh}.max-md\\:min-h-0{min-height:0}.max-md\\:flex-1{flex:1}.max-md\\:flex-col{flex-direction:column}.max-md\\:overflow-hidden{overflow:hidden}.max-md\\:overflow-y-auto{overflow-y:auto}}@media not all and (min-width:40rem){.max-sm\\:w-full{width:100%}}@media(min-width:40rem){.sm\\:px-8{padding-inline:calc(var(--spacing) * 8)}}@media(min-width:48rem){.md\\:hidden{display:none}.md\\:flex-row{flex-direction:row}.md\\:items-center{align-items:center}.md\\:justify-between{justify-content:space-between}.md\\:gap-4{gap:calc(var(--spacing) * 4)}}@media(min-width:64rem){.lg\\:hidden{display:none}}.\\[\\&_\\[data-rows-divider\\]\\]\\:left-\\[var\\(--rows-group-divider-left\\)\\] [data-rows-divider]{left:var(--rows-group-divider-left)}.\\[\\&_\\[data-rows-divider\\]\\]\\:bg-\\[var\\(--rows-divider\\)\\] [data-rows-divider]{background-color:var(--rows-divider)}.\\[\\&\\:hover\\:active\\]\\:bg-surface-active:hover:active{background-color:var(--background-color-surface-active)}.\\[\\&\\:hover\\:active\\]\\:text-foreground:hover:active{color:var(--text-color-foreground)}@media(hover:hover){.\\[\\&\\:not\\(\\[data-error\\]\\)\\]\\:hover\\:bg-secondary-hover:not([data-error]):hover{background-color:var(--background-color-secondary-hover)}}@media not all and (min-width:40rem){.\\[\\&\\>\\*\\]\\:max-sm\\:flex-1>*{flex:1}}.\\[\\&\\>svg\\]\\:size-\\[12px\\]>svg{width:12px;height:12px}.\\[\\&\\>svg\\]\\:size-\\[20px\\]>svg{width:20px;height:20px}.\\[\\&\\>svg\\]\\:h-\\[10px\\]>svg{height:10px}.\\[\\&\\>svg\\]\\:h-\\[12px\\]>svg{height:12px}.\\[\\&\\>svg\\]\\:h-\\[14px\\]>svg{height:14px}.\\[\\&\\>svg\\]\\:h-\\[16px\\]>svg{height:16px}.\\[\\&\\>svg\\]\\:w-\\[10px\\]>svg{width:10px}.\\[\\&\\>svg\\]\\:w-\\[12px\\]>svg{width:12px}.\\[\\&\\>svg\\]\\:w-\\[14px\\]>svg{width:14px}.\\[\\&\\>svg\\]\\:w-\\[16px\\]>svg{width:16px}}:root{color-scheme:light dark;--regen-accent-neutral:light-dark(oklch(20.44% 0 0),oklch(94.66% 0 0));--regen-accent-blue:oklch(47.13% .1983 258.78);--regen-accent-red:light-dark(oklch(58% .17 18),oklch(54% .145 18));--regen-accent-amber:light-dark(oklch(81.87% .1969 76.46),oklch(72% .165 76.46));--regen-accent-green:light-dark(oklch(73% .125 147),oklch(64% .115 147));--regen-accent-purple:light-dark(oklch(57% .21 288),oklch(52% .19 288));--regen-accent:var(--regen-accent-neutral);--regen-radius-none:0px;--regen-radius-small:4px;--regen-radius-medium:6px;--regen-radius-large:12px;--regen-radius-full:9999px;--regen-radius:var(--regen-radius-medium)}:root[data-theme=dark]{color-scheme:dark}:root[data-theme=light]{color-scheme:light}html{background:var(--background-color-background);color:var(--text-color-foreground);font-family:var(--font-sans)}:root[data-regen-disable-motion] *,:root[data-regen-disable-motion] :before,:root[data-regen-disable-motion] :after{scroll-behavior:auto!important;transition:none!important;animation:none!important}[data-regen-color=blue]{--regen-accent:var(--regen-accent-blue)}[data-regen-color=red]{--regen-accent:var(--regen-accent-red)}[data-regen-color=amber]{--regen-accent:var(--regen-accent-amber)}[data-regen-color=green]{--regen-accent:var(--regen-accent-green)}[data-regen-color=purple]{--regen-accent:var(--regen-accent-purple)}[data-regen-radius=none]{--regen-radius:var(--regen-radius-none)}[data-regen-radius=small]{--regen-radius:var(--regen-radius-small)}[data-regen-radius=medium]{--regen-radius:var(--regen-radius-medium)}[data-regen-radius=large]{--regen-radius:var(--regen-radius-large)}[data-regen-radius=full]{--regen-radius:var(--regen-radius-large);--regen-radius-button:var(--regen-radius-full);--regen-radius-identicon:var(--regen-radius-full)}@keyframes rgn-spin{to{transform:rotate(360deg)}}@font-face{font-family:Pilat;font-weight:400;font-display:swap;src:url(./Pilat-Regular-Bx8vzE7q.woff2)format("woff2")}@font-face{font-family:Pilat;font-weight:500 700;font-display:swap;src:url(./Pilat-Demi-CADSbPAt.woff2)format("woff2")}:root{--font-body:"Pilat", ui-sans-serif, system-ui, sans-serif}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@keyframes pulse{50%{opacity:.5}}\n',
36
+ contentType: 'text/css; charset=utf-8',
37
+ },
38
+ 'assets/verified-tokens-CfssiQMy.js': {
39
+ content: 'import{c as Ge,e as A,g as xe,a as He,p as T,b as K,B as Fe,d as Qe,r as $,m as Ve,f as Je,A as Ze,R as Xe,h as Be,i as Ye,j as en,k as nn,u as tn,l as C,W as rn,n as an,o as on,q as h,s as sn,t as Ce,v as Me,w as m,x as y,y as L,z as b,C as N,D as z,E as cn,F as qe,G as un,H as be,I as De,J as pe,K as ln,L as dn,M as fn,N as u,O as _,P as Se,Q as Z,S as X,T as mn,U as gn}from"./index-CPTihwDe.js";import{D as P,P as hn,a as yn,C as xn,N as J,F as Ue,I as B,S as bn,T as pn,u as vn,b as Nn,c as wn}from"./Dialog-B2J1eXqU.js";const kn=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],En=Ge("external-link",kn);async function Ke(e,n){const{abi:s,address:o,args:r,functionName:t,dataSuffix:a=typeof e.dataSuffix=="string"?e.dataSuffix:e.dataSuffix?.value,...c}=n,i=A({abi:s,args:r,functionName:t});try{return await xe(e,He,"estimateGas")({data:`${i}${a?a.replace("0x",""):""}`,to:o,...c})}catch(l){const d=c.account?T(c.account):void 0;throw K(l,{abi:s,address:o,args:r,docsPath:"/docs/contract/estimateContractGas",functionName:t,sender:d?.address})}}class jn extends Fe{constructor({value:n}){super(`Number \\`${n}\\` is not a valid decimal number.`,{name:"InvalidDecimalNumberError"})}}function Cn(e,n){if(!/^(-?)([0-9]*)\\.?([0-9]*)$/.test(e))throw new jn({value:e});let[s,o="0"]=e.split(".");const r=s.startsWith("-");if(r&&(s=s.slice(1)),o=o.replace(/(0+)$/,""),n===0)Math.round(+`.${o}`)===1&&(s=`${BigInt(s)+1n}`),o="";else if(o.length>n){const[t,a,c]=[o.slice(0,n-1),o.slice(n-1,n),o.slice(n)],i=Math.round(+`${a}.${c}`);i>9?o=`${BigInt(t)+BigInt(1)}0`.padStart(t.length+1,"0"):o=`${t}${i}`,o.length>n&&(o=o.slice(1),s=`${BigInt(s)+1n}`),o=o.slice(0,n)}else o=o.padEnd(n,"0");return BigInt(`${r?"-":""}${s}${o}`)}async function Ie(e,n){const{account:s,authorizationList:o,allowFailure:r=!0,blockHash:t,blockNumber:a,blockOverrides:c,blockTag:i,requireCanonical:l,stateOverride:d}=n,f=n.contracts,{batchSize:g=n.batchSize??1024,deployless:p=n.deployless??!1}=typeof e.batch?.multicall=="object"?e.batch.multicall:{},E=(()=>{if(n.multicallAddress)return n.multicallAddress;if(p)return null;if(e.chain)return Qe({blockNumber:a,chain:e.chain,contract:"multicall3"});throw new Error("client chain not configured. multicallAddress is required.")})(),v=[[]];let j=0,O=0;for(let w=0;w<f.length;w++){const{abi:q,address:R,args:k,functionName:F}=f[w];try{const S=A({abi:q,args:k,functionName:F});O+=(S.length-2)/2,g>0&&O>g&&v[j].length>0&&(j++,O=(S.length-2)/2,v[j]=[]),v[j]=[...v[j],{allowFailure:!0,callData:S,target:R}]}catch(S){const V=K(S,{abi:q,address:R,args:k,docsPath:"/docs/contract/multicall",functionName:F,sender:s});if(!r)throw V;v[j]=[...v[j],{allowFailure:!0,callData:"0x",target:R}]}}const Ne=await Promise.allSettled(v.map(w=>xe(e,$,"readContract")({...E===null?{code:Je}:{address:E},abi:Ve,account:s,args:[w],authorizationList:o,blockHash:t,blockNumber:a,blockOverrides:c,blockTag:i,functionName:"aggregate3",requireCanonical:l,stateOverride:d}))),I=[];for(let w=0;w<Ne.length;w++){const q=Ne[w];if(q.status==="rejected"){if(!r)throw q.reason;for(let k=0;k<v[w].length;k++)I.push({status:"failure",error:q.reason,result:void 0});continue}const R=q.value;for(let k=0;k<R.length;k++){const{returnData:F,success:S}=R[k],{callData:V}=v[w][k],{abi:we,address:We,functionName:ke,args:Ee}=f[I.length];try{if(V==="0x")throw new Ze;if(!S)throw new Xe({data:F});const D=Be({abi:we,args:Ee,data:F,functionName:ke});I.push(r?{result:D,status:"success"}:D)}catch(D){const je=K(D,{abi:we,address:We,args:Ee,docsPath:"/docs/contract/multicall",functionName:ke});if(!r)throw je;I.push({error:je,result:void 0,status:"failure"})}}}if(I.length!==f.length)throw new Fe("multicall results mismatch");return I}async function Le(e,n){const{abi:s,address:o,args:r,functionName:t,dataSuffix:a=typeof e.dataSuffix=="string"?e.dataSuffix:e.dataSuffix?.value,...c}=n,i=c.account?T(c.account):e.account,l=A({abi:s,args:r,functionName:t});try{const{data:d}=await xe(e,Ye,"call")({batch:!1,data:`${l}${a?a.replace("0x",""):""}`,to:o,...c,account:i}),f=Be({abi:s,args:r,functionName:t,data:d||"0x"}),g=s.filter(p=>"name"in p&&p.name===n.functionName);return{result:f,request:{abi:g,address:o,args:r,dataSuffix:a,functionName:t,...c,account:i}}}catch(d){throw K(d,{abi:s,address:o,args:r,docsPath:"/docs/contract/simulateContract",functionName:t,sender:i?.address})}}function ve(e,n){return{amount:e,decimals:n,formatted:en(e,n)}}function M(e,n){if(typeof e=="bigint")return e;const s=e.decimals??n;return Cn(e.formatted,qn(s))}function qn(e){if(e===void 0)throw new Error("Token decimals are required. Pass `amount.decimals` or select a declared token.");return e}function Re(e){return e.state.chainId}function Sn(e,n){const{onChange:s}=n;return e.subscribe(o=>o.chainId,s)}const Un="3.6.16",In=()=>`wagmi@${Un}`;class Rn extends nn{constructor(){super(...arguments),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"WagmiError"})}get docsBaseUrl(){return"https://wagmi.sh/react"}get version(){return In()}}class Pn extends Rn{constructor(){super("`useConfig` must be used within `WagmiProvider`.",{docsPath:"/api/WagmiProvider"}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"WagmiProviderNotFoundError"})}}function An(e){return JSON.stringify(e,(n,s)=>Tn(s)?Object.keys(s).sort().reduce((o,r)=>(o[r]=s[r],o),{}):typeof s=="bigint"?s.toString():s)}function Tn(e){if(!Pe(e))return!1;const n=e.constructor;if(typeof n>"u")return!0;const s=n.prototype;return!(!Pe(s)||!s.hasOwnProperty("isPrototypeOf"))}function Pe(e){return Object.prototype.toString.call(e)==="[object Object]"}function $n(e){const n=tn({...e,queryKeyHashFn:An});return n.queryKey=e.queryKey,n}function ze(e={}){const n=e.config??C.useContext(rn);if(!n)throw new Pn;return n}function On(e={}){const n=ze(e);return C.useSyncExternalStore(s=>Sn(n,{onChange:s}),()=>Re(n),()=>Re(n))}const Fn={defaultAdmin:"DEFAULT_ADMIN_ROLE",pause:"PAUSE_ROLE",unpause:"UNPAUSE_ROLE",issuer:"ISSUER_ROLE",burnBlocked:"BURN_BLOCKED_ROLE"};function U(e){return e==="defaultAdmin"?"0x0000000000000000000000000000000000000000000000000000000000000000":an(on(Fn[e]??e))}async function Y(e,n){return Y.inner(N,e,n)}(function(e){async function n(a,c,i){return await a(c,{...i,...e.call(c,i)})}e.inner=n;function s(a,c){const{amount:i,spender:l,token:d}=c,{address:f,decimals:g}=h(a,{token:d});return y({address:f,abi:m,functionName:"approve",args:[l,M(i,g)]})}e.call=s;async function o(a,c){return Ke(a,{...L(c),...e.call(a,c)})}e.estimateGas=o;async function r(a,c){return Le(a,{...L(c),...e.call(a,c)})}e.simulate=r;function t(a){const[c]=b({abi:m,logs:a,eventName:"Approval"});if(!c)throw new Error("`Approval` event not found.");return c}e.extractEvent=t})(Y||(Y={}));async function ee(e,n){return ee.inner(N,e,n)}(function(e){async function n(r,t,a){const{amount:c,from:i,token:l,...d}=a,f=e.call(t,{amount:c,from:i,token:l});return await r(t,{...d,...f})}e.inner=n;function s(r,t){const{from:a,amount:c,token:i}=t,{address:l,decimals:d}=h(r,{token:i});return y({address:l,abi:m,functionName:"burnBlocked",args:[a,M(c,d)]})}e.call=s;function o(r){const[t]=b({abi:m,logs:r,eventName:"BurnBlocked"});if(!t)throw new Error("`BurnBlocked` event not found.");return t}e.extractEvent=o})(ee||(ee={}));async function ne(e,n){return ne.inner(N,e,n)}(function(e){async function n(r,t,a){const{amount:c,memo:i,token:l,...d}=a,f=e.call(t,{amount:c,memo:i,token:l});return await r(t,{...d,...f})}e.inner=n;function s(r,t){const{amount:a,memo:c,token:i}=t,{address:l,decimals:d}=h(r,{token:i}),f=M(a,d),g=c?{functionName:"burnWithMemo",args:[f,z(c,32)]}:{functionName:"burn",args:[f]};return y({address:l,abi:m,...g})}e.call=s;function o(r){const[t]=b({abi:m,logs:r,eventName:"Burn"});if(!t)throw new Error("`Burn` event not found.");return t}e.extractEvent=o})(ne||(ne={}));async function te(e,n){return te.inner(N,e,n)}(function(e){async function n(r,t,a){const{policyId:c,token:i,...l}=a,d=e.call(t,{policyId:c,token:i});return await r(t,{...l,...d})}e.inner=n;function s(r,t){const{token:a,policyId:c}=t;return y({address:h(r,{token:a}).address,abi:m,functionName:"changeTransferPolicyId",args:[c]})}e.call=s;function o(r){const[t]=b({abi:m,logs:r,eventName:"TransferPolicyUpdate"});if(!t)throw new Error("`TransferPolicyUpdate` event not found.");return t}e.extractEvent=o})(te||(te={}));async function re(e,n){return re.inner(N,e,n)}(function(e){async function n(r,t,a){const{account:c=t.account,admin:i=t.account,chain:l=t.chain,...d}=a,f=i?T(i):void 0;if(!f)throw new Error("admin is required.");const g=e.call(t,{...d,admin:f.address});return await r(t,{...a,account:c,chain:l,...g})}e.inner=n;function s(r,t){const{name:a,symbol:c,currency:i,logoURI:l,quoteToken:d=Me,admin:f,salt:g=cn(32)}=t;return y({address:un,abi:qe,args:typeof l=="string"?[a,c,i,h(r,{token:d}).address,f,g,l]:[a,c,i,h(r,{token:d}).address,f,g],functionName:"createToken"})}e.call=s;function o(r){const[t]=b({abi:qe,logs:r,eventName:"TokenCreated",strict:!0});if(!t)throw new Error("`TokenCreated` event not found.");return t}e.extractEvent=o})(re||(re={}));async function W(e,n){const{account:s,decimals:o,spender:r,token:t,...a}=n,[c,{decimals:i}]=await Promise.all([$(e,{...a,...W.call(e,{account:s,spender:r,token:t})}),be(e,{decimals:o,token:t})]);return ve(c,i)}(function(e){function n(s,o){return y({address:h(s,o).address,abi:m,functionName:"allowance",args:[o.account,o.spender]})}e.call=n})(W||(W={}));async function G(e,n){const{account:s=e.account,decimals:o,token:r,...t}=n;if(!s)throw new De;const a=T(s).address,[c,{decimals:i}]=await Promise.all([$(e,{...t,...G.call(e,{account:a,token:r})}),be(e,{decimals:o,token:r})]);return ve(c,i)}(function(e){function n(s,o){const r=o.account??s.account;if(!r)throw new De;const t=T(r).address;return y({address:h(s,o).address,abi:m,functionName:"balanceOf",args:[t]})}e.call=n})(G||(G={}));async function Bn(e,n){const{token:s,...o}=n,{address:r}=h(e,{token:s}),t=m,a=sn(e,s),c={...a?.decimals!=null?{decimals:a.decimals}:{},...a?.name!=null?{name:a.name}:{},...a?.symbol!=null?{symbol:a.symbol}:{}};return Ce(r)===Ce(Me)?Ie(e,{...o,contracts:[{address:r,abi:t,functionName:"currency"},{address:r,abi:t,functionName:"decimals"},{address:r,abi:t,functionName:"logoURI"},{address:r,abi:t,functionName:"name"},{address:r,abi:t,functionName:"symbol"},{address:r,abi:t,functionName:"totalSupply"}],allowFailure:!0,deployless:!0}).then(([i,l,d,f,g,p])=>({name:x(f),symbol:x(g),currency:x(i),decimals:x(l),logoURI:x(d,""),totalSupply:x(p),...c})):Ie(e,{...o,contracts:[{address:r,abi:t,functionName:"currency"},{address:r,abi:t,functionName:"decimals"},{address:r,abi:t,functionName:"logoURI"},{address:r,abi:t,functionName:"quoteToken"},{address:r,abi:t,functionName:"name"},{address:r,abi:t,functionName:"paused"},{address:r,abi:t,functionName:"supplyCap"},{address:r,abi:t,functionName:"symbol"},{address:r,abi:t,functionName:"totalSupply"},{address:r,abi:t,functionName:"transferPolicyId"}],allowFailure:!0,deployless:!0}).then(([i,l,d,f,g,p,E,v,j,O])=>({name:x(g),symbol:x(v),currency:x(i),decimals:x(l),logoURI:x(d,""),quoteToken:x(f),totalSupply:x(j),paused:x(p),supplyCap:x(E),transferPolicyId:x(O),...c}))}function x(e,...n){if(e.status==="failure"){if(n.length>0)return n[0];throw e.error}return e.result}async function ae(e,n){const{decimals:s,token:o,...r}=n,[t,{decimals:a}]=await Promise.all([$(e,{...r,...ae.call(e,{token:o})}),be(e,{decimals:s,token:o})]);return ve(t,a)}(function(e){function n(s,o){return y({address:h(s,o).address,abi:m,args:[],functionName:"totalSupply"})}e.call=n})(ae||(ae={}));async function H(e,n){return $(e,{...n,...H.call(e,n)})}(function(e){function n(s,o){const{role:r,token:t}=o;return y({address:h(s,{token:t}).address,abi:m,functionName:"getRoleAdmin",args:[U(r)]})}e.call=n})(H||(H={}));async function Q(e,n){const{account:s=e.account}=n,o=s?T(s).address:void 0;if(!o)throw new Error("account is required.");return $(e,{...n,...Q.call(e,{...n,account:o})})}(function(e){function n(s,o){const{account:r,role:t,token:a}=o;return y({address:h(s,{token:a}).address,abi:m,functionName:"hasRole",args:[r,U(t)]})}e.call=n})(Q||(Q={}));async function oe(e,n){return oe.inner(pe,e,n)}(function(e){async function n(r,t,a){return await r(t,{...a,calls:a.roles.map(c=>{const i=e.call(t,{...a,role:c});return{...i,data:A(i)}})})}e.inner=n;function s(r,t){const{token:a,to:c,role:i}=t,l=U(i);return y({address:h(r,{token:a}).address,abi:m,functionName:"grantRole",args:[l,c]})}e.call=s;function o(r){const t=b({abi:m,logs:r,eventName:"RoleMembershipUpdated"});if(t.length===0)throw new Error("`RoleMembershipUpdated` events not found.");return t}e.extractEvents=o})(oe||(oe={}));async function se(e,n){return se.inner(N,e,n)}(function(e){async function n(r,t,a){const{amount:c,memo:i,to:l,token:d,...f}=a,g=e.call(t,{amount:c,memo:i,to:l,token:d});return await r(t,{...f,...g})}e.inner=n;function s(r,t){const{to:a,amount:c,memo:i,token:l}=t,{address:d,decimals:f}=h(r,{token:l}),g=M(c,f),p=i?{functionName:"mintWithMemo",args:[a,g,z(i,32)]}:{functionName:"mint",args:[a,g]};return y({address:d,abi:m,...p})}e.call=s;function o(r){const[t]=b({abi:m,logs:r,eventName:"Mint"});if(!t)throw new Error("`Mint` event not found.");return t}e.extractEvent=o})(se||(se={}));async function ce(e,n){return ce.inner(N,e,n)}(function(e){async function n(r,t,a){const{token:c,...i}=a,l=e.call(t,{token:c});return await r(t,{...i,...l})}e.inner=n;function s(r,t){const{token:a}=t;return y({address:h(r,{token:a}).address,abi:m,functionName:"pause",args:[]})}e.call=s;function o(r){const[t]=b({abi:m,logs:r,eventName:"PauseStateUpdate"});if(!t)throw new Error("`PauseStateUpdate` event not found.");return t}e.extractEvent=o})(ce||(ce={}));async function ie(e,n){return ie.inner(pe,e,n)}(function(e){async function n(r,t,a){return await r(t,{...a,calls:a.roles.map(c=>{const i=e.call(t,{...a,role:c});return{...i,data:A(i)}})})}e.inner=n;function s(r,t){const{token:a,role:c}=t,i=U(c);return y({address:h(r,{token:a}).address,abi:m,functionName:"renounceRole",args:[i]})}e.call=s;function o(r){const t=b({abi:m,logs:r,eventName:"RoleMembershipUpdated"});if(t.length===0)throw new Error("`RoleMembershipUpdated` events not found.");return t}e.extractEvents=o})(ie||(ie={}));async function ue(e,n){return ue.inner(pe,e,n)}(function(e){async function n(r,t,a){const{from:c,...i}=a;return await r(t,{...i,calls:a.roles.map(l=>{const d=e.call(t,{...a,role:l});return{...d,data:A(d)}})})}e.inner=n;function s(r,t){const{token:a,from:c,role:i}=t,l=U(i);return y({address:h(r,{token:a}).address,abi:m,functionName:"revokeRole",args:[l,c]})}e.call=s;function o(r){const t=b({abi:m,logs:r,eventName:"RoleMembershipUpdated"});if(t.length===0)throw new Error("`RoleMembershipUpdated` events not found.");return t}e.extractEvents=o})(ue||(ue={}));async function le(e,n){return le.inner(N,e,n)}(function(e){async function n(r,t,a){const{supplyCap:c,token:i,...l}=a,d=e.call(t,{supplyCap:c,token:i});return await r(t,{...l,...d})}e.inner=n;function s(r,t){const{token:a,supplyCap:c}=t;return y({address:h(r,{token:a}).address,abi:m,functionName:"setSupplyCap",args:[c]})}e.call=s;function o(r){const[t]=b({abi:m,logs:r,eventName:"SupplyCapUpdate"});if(!t)throw new Error("`SupplyCapUpdate` event not found.");return t}e.extractEvent=o})(le||(le={}));async function de(e,n){return de.inner(N,e,n)}(function(e){async function n(r,t,a){const{adminRole:c,role:i,token:l,...d}=a,f=e.call(t,{adminRole:c,role:i,token:l});return await r(t,{...d,...f})}e.inner=n;function s(r,t){const{token:a,role:c,adminRole:i}=t,l=U(c),d=U(i);return y({address:h(r,{token:a}).address,abi:m,functionName:"setRoleAdmin",args:[l,d]})}e.call=s;function o(r){const[t]=b({abi:m,logs:r,eventName:"RoleAdminUpdated"});if(!t)throw new Error("`RoleAdminUpdated` event not found.");return t}e.extractEvent=o})(de||(de={}));async function fe(e,n){return fe.inner(N,e,n)}(function(e){async function n(a,c,i){return await a(c,{...i,...e.call(c,i)})}e.inner=n;function s(a,c){const{from:i,memo:l,to:d,token:f}=c,{address:g,decimals:p}=h(a,{token:f}),E=M(c.amount,p),v=l&&i?{functionName:"transferFromWithMemo",args:[i,d,E,z(l,32)]}:l?{functionName:"transferWithMemo",args:[d,E,z(l,32)]}:i?{functionName:"transferFrom",args:[i,d,E]}:{functionName:"transfer",args:[d,E]};return y({address:g,abi:m,...v})}e.call=s;async function o(a,c){return Ke(a,{...L(c),...e.call(a,c)})}e.estimateGas=o;async function r(a,c){return Le(a,{...L(c),...e.call(a,c)})}e.simulate=r;function t(a){const[c]=b({abi:m,logs:a,eventName:"Transfer"});if(!c)throw new Error("`Transfer` event not found.");return c}e.extractEvent=t})(fe||(fe={}));async function me(e,n){return me.inner(N,e,n)}(function(e){async function n(r,t,a){const{token:c,...i}=a,l=e.call(t,{token:c});return await r(t,{...i,...l})}e.inner=n;function s(r,t){const{token:a}=t;return y({address:h(r,{token:a}).address,abi:m,functionName:"unpause",args:[]})}e.call=s;function o(r){const[t]=b({abi:m,logs:r,eventName:"PauseStateUpdate"});if(!t)throw new Error("`PauseStateUpdate` event not found.");return t}e.extractEvent=o})(me||(me={}));async function ge(e,n){return ge.inner(N,e,n)}(function(e){async function n(r,t,a){const{quoteToken:c,token:i,...l}=a,d=e.call(t,{quoteToken:c,token:i});return await r(t,{...l,...d})}e.inner=n;function s(r,t){const{token:a,quoteToken:c}=t;return y({address:h(r,{token:a}).address,abi:m,functionName:"setNextQuoteToken",args:[h(r,{token:c}).address]})}e.call=s;function o(r){const[t]=b({abi:m,logs:r,eventName:"NextQuoteTokenSet"});if(!t)throw new Error("`NextQuoteTokenSet` event not found.");return t}e.extractEvent=o})(ge||(ge={}));async function he(e,n){return he.inner(N,e,n)}(function(e){async function n(r,t,a){const{token:c,...i}=a,l=e.call(t,{token:c});return await r(t,{...i,...l})}e.inner=n;function s(r,t){const{token:a}=t;return y({address:h(r,{token:a}).address,abi:m,functionName:"completeQuoteTokenUpdate",args:[]})}e.call=s;function o(r){const[t]=b({abi:m,logs:r,eventName:"QuoteTokenUpdate"});if(!t)throw new Error("`QuoteTokenUpdateCompleted` event not found.");return t}e.extractEvent=o})(he||(he={}));function Ae(e,n){const{chainId:s,...o}=n,r=e.getClient({chainId:s});return W(r,o)}(function(e){function n(o){return["getAllowance",o]}e.queryKey=n;function s(o,r){const{query:t,...a}=r;return{...t,enabled:!!(a.account&&a.spender&&a.token&&(t?.enabled??!0)),queryKey:n(a),async queryFn(c){const[,i]=c.queryKey;return await e(o,i)}}}e.queryOptions=s})(Ae||(Ae={}));function Te(e,n){const{chainId:s,...o}=n,r=e.getClient({chainId:s});return G(r,o)}(function(e){function n(o){return["getBalance",o]}e.queryKey=n;function s(o,r){const{query:t,...a}=r;return{...t,enabled:!!(a.account&&a.token&&(t?.enabled??!0)),queryKey:n(a),async queryFn(c){const[,i]=c.queryKey;return await e(o,i)??null}}}e.queryOptions=s})(Te||(Te={}));function ye(e,n){const{chainId:s,...o}=n,r=e.getClient({chainId:s});return Bn(r,o)}(function(e){function n(o){return["getMetadata",o]}e.queryKey=n;function s(o,r){const{query:t,...a}=r;return{...t,enabled:!!(a.token&&(t?.enabled??!0)),queryKey:n(a),async queryFn(c){const[,i]=c.queryKey;return await e(o,i)}}}e.queryOptions=s})(ye||(ye={}));function $e(e,n){const{chainId:s,...o}=n,r=e.getClient({chainId:s});return H(r,o)}(function(e){function n(o){return["getRoleAdmin",o]}e.queryKey=n;function s(o,r){const{query:t,...a}=r;return{...t,enabled:!!(a.token&&a.role&&(t?.enabled??!0)),queryKey:n(a),async queryFn(c){const[,i]=c.queryKey;return await e(o,i)}}}e.queryOptions=s})($e||($e={}));function Oe(e,n){const{chainId:s,...o}=n,r=e.getClient({chainId:s});return Q(r,o)}(function(e){function n(o){return["hasRole",o]}e.queryKey=n;function s(o,r){const{query:t,...a}=r;return{...t,enabled:!!(a.token&&a.role&&a.account&&(t?.enabled??!0)),queryKey:n(a),async queryFn(c){const[,i]=c.queryKey;return await e(o,i)}}}e.queryOptions=s})(Oe||(Oe={}));function Mn(e={}){const n=ze(e),s=On({config:n}),o=ye.queryOptions(n,{...e,chainId:e.chainId??s});return $n(o)}const Dn=[{id:Z.id,label:"Mainnet"},{id:X.id,label:"Testnet"}],Kn={[Z.id]:Z.blockExplorers.default.url,[X.id]:X.blockExplorers.default.url};function Zn(){const[e,n]=C.useState(ln),[s,o]=C.useState(!1),r=dn.useQuery({chainId:e}),t=fn.useMutation();return u.jsx(P.Root,{onOpenChange:o,open:s,children:u.jsxs(hn,{title:"Verified Tokens",description:"Manage the curated verified token list",action:u.jsxs("div",{className:"flex items-center gap-2",children:[u.jsx(_e,{onChange:n,value:e}),u.jsx(P.Trigger,{render:u.jsxs(_,{variant:"primary",children:[u.jsx(yn,{className:"size-4"}),"Add token"]})})]}),children:[u.jsx(_n,{chain:e,error:r.error,loading:r.isPending,tokens:r.data?.data??[]}),u.jsx(P.Popup,{children:u.jsx(Ln,{defaultChain:e,onSubmit:a=>t.mutate(a,{onError:c=>alert(c.message),onSuccess:()=>o(!1)}),pending:t.isPending})})]})})}function _e(e){return u.jsx(bn,{className:e.className??"w-40",items:Dn.map(n=>({label:n.label,value:String(n.id)})),onChange:n=>e.onChange(Number(n)),value:String(e.value)})}function Ln(e){const[n,s]=C.useState(e.defaultChain),[o,r]=C.useState(""),t=Mn({chainId:n,token:o,query:{enabled:Se(o)}}),a=t.data;function c(l){if(l.preventDefault(),!a)return;const d=new FormData(l.currentTarget),f=d.get("name"),g=d.get("logo"),p=g instanceof File&&g.size>0?g:null;e.onSubmit({address:o,chainId:n,currency:a.currency,decimals:a.decimals,name:typeof f=="string"?f.trim():"",symbol:a.symbol,logo:p,...!p&&a.logoURI?{logoUri:a.logoURI}:{}})}const i=o.length>0&&!Se(o);return u.jsxs(u.Fragment,{children:[u.jsx(P.Title,{children:"Add Token"}),u.jsx(P.Description,{children:"Add a token to the curated verified token list"}),u.jsxs("form",{className:"mt-6 flex flex-col gap-8",onSubmit:c,children:[u.jsxs(Ue,{className:"gap-6",variant:"default",children:[u.jsxs("div",{className:"flex flex-col gap-2",children:[u.jsx("span",{className:"label-13 text-foreground-secondary",children:"Chain"}),u.jsx(_e,{className:"w-full",onChange:s,value:n})]}),u.jsx(zn,{logoUri:a?.logoURI}),u.jsx(B,{error:i?"Enter a valid address":t.isError?"Token not found":!1,label:"Address",onChange:l=>r(l.target.value.trim()),placeholder:"0x20c000000000000000000000b9537d11c60e8b50",required:!0,value:o}),a?u.jsxs(u.Fragment,{children:[u.jsxs("div",{className:"flex gap-2",children:[u.jsx("div",{className:"w-32 shrink-0",children:u.jsx(B,{disabled:!0,label:"Symbol",placeholder:"USDC",value:a.symbol})}),u.jsx("div",{className:"flex-1",children:u.jsx(B,{defaultValue:a.name,label:"Name",name:"name",placeholder:"USD Coin",required:!0},a.name)})]}),u.jsxs(Ue.Inline,{children:[u.jsx(B,{disabled:!0,label:"Decimals",placeholder:"6",value:a.decimals}),u.jsx(B,{disabled:!0,label:"Currency",placeholder:"USD",value:a.currency})]})]}):null]}),u.jsxs("div",{className:"flex justify-end gap-2",children:[u.jsx(P.Close,{render:u.jsx(_,{type:"button",children:"Cancel"})}),u.jsx(_,{disabled:!a,loading:e.pending,type:"submit",variant:"primary",children:"Add token"})]})]})]})}function zn(e){const[n,s]=C.useState("");return u.jsxs("div",{className:"flex flex-col gap-2",children:[u.jsx("span",{className:"label-13 text-foreground-secondary",children:"Logo"}),u.jsxs("div",{className:"relative flex h-[40px] items-center gap-[10px] rounded-body border-[2px] border-transparent bg-secondary px-[12px] copy-14 text-foreground transition-colors hover:bg-secondary-hover",children:[e.logoUri&&!n?u.jsx("img",{alt:"",className:"size-6 shrink-0",src:e.logoUri}):null,u.jsx("span",{className:"border border-border px-2 py-0.5 text-label-12 text-foreground-secondary",children:"Choose SVG"}),u.jsx("span",{className:"min-w-0 flex-1 truncate text-label-12 text-foreground-secondary",children:n||(e.logoUri?"Using on-chain logo":"No file selected")}),u.jsx("input",{accept:"image/svg+xml,.svg",className:"absolute inset-0 cursor-pointer opacity-0",name:"logo",onChange:o=>s(o.target.files?.[0]?.name??""),type:"file"})]})]})}function _n(e){return u.jsx(xn,{children:e.loading?u.jsx(J,{children:"Loading tokens…"}):e.error?u.jsx(J,{children:e.error.message}):e.tokens.length===0?u.jsx(J,{children:"No verified tokens yet."}):u.jsx("ul",{className:"divide-y divide-border",children:e.tokens.map(n=>u.jsx(Wn,{chain:e.chain,token:n},n.address))})})}function Wn(e){const{chain:n,token:s}=e,o=mn.useMutation();function r(){confirm(`Remove ${s.name} (${s.symbol})? This can\'t be undone.`)&&o.mutate({address:s.address,chainId:n},{onError:t=>alert(t.message)})}return u.jsxs("li",{className:"flex items-center justify-between gap-4 px-5 py-2.5",children:[u.jsxs("div",{className:"flex min-w-0 items-center gap-4",children:[u.jsx(Qn,{chainId:n,token:s}),u.jsxs("div",{className:"flex min-w-0 flex-col gap-1",children:[u.jsxs("span",{className:"text-label-14 text-foreground",children:[s.name," ",u.jsx("span",{className:"text-foreground-secondary",children:s.symbol})]}),u.jsx(Hn,{value:s.address})]})]}),u.jsxs("div",{className:"flex items-center gap-4",children:[u.jsxs("a",{className:"flex items-center gap-1.5 text-label-12 text-foreground-secondary hover:text-foreground",href:`${Kn[n]}/token/${s.address}`,rel:"noreferrer",target:"_blank",children:["Explorer",u.jsx(En,{className:"size-3"})]}),u.jsx(_.Icon,{className:"text-foreground-secondary hover:text-negative",disabled:o.isPending,onClick:r,size:"lg",title:"Remove token",variant:"plain",children:u.jsx(pn,{})})]})]})}function Gn(e){return`${e.slice(0,6)}…${e.slice(-6)}`}function Hn(e){const{copy:n,notifying:s}=vn();return u.jsxs("button",{"aria-label":"Copy address",className:"flex w-fit cursor-pointer items-center gap-1.5 text-label-12 text-foreground-secondary hover:text-foreground",onClick:()=>n(e.value),title:"Copy address",type:"button",children:[Gn(e.value),s?u.jsx(Nn,{className:"size-3"}):u.jsx(wn,{className:"size-3"})]})}function Qn(e){const{chainId:n,token:s}=e,[o,r]=C.useState(!1),t=s.logoUri??gn({address:s.address,chainId:n});return o?u.jsx("div",{className:"flex size-8 shrink-0 items-center justify-center rounded-full bg-secondary text-label-12 text-foreground-secondary",children:s.symbol.slice(0,2).toUpperCase()}):u.jsx("img",{alt:"",className:"size-8 shrink-0 rounded-full bg-secondary",onError:()=>r(!0),src:t})}export{Zn as component};\n',
40
+ contentType: 'text/javascript; charset=utf-8',
41
+ },
42
+ };
43
+ //# sourceMappingURL=ui.generated.js.map