@latticexyz/explorer 2.2.15-entrykit-9f7c977a92973d8e7290aafb7ebf6f2d1d8f4b99 → 2.2.15-entrykit-16d558c7c668f7906022d8ebebac79d6e9641cd6

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 (77) hide show
  1. package/.next/standalone/packages/explorer/.next/BUILD_ID +1 -1
  2. package/.next/standalone/packages/explorer/.next/app-build-manifest.json +49 -48
  3. package/.next/standalone/packages/explorer/.next/app-path-routes-manifest.json +1 -1
  4. package/.next/standalone/packages/explorer/.next/build-manifest.json +5 -5
  5. package/.next/standalone/packages/explorer/.next/prerender-manifest.json +1 -1
  6. package/.next/standalone/packages/explorer/.next/react-loadable-manifest.json +1 -1
  7. package/.next/standalone/packages/explorer/.next/server/app/(explorer)/[chainName]/page_client-reference-manifest.js +1 -1
  8. package/.next/standalone/packages/explorer/.next/server/app/(explorer)/[chainName]/worlds/[worldAddress]/explore/page.js +2 -2
  9. package/.next/standalone/packages/explorer/.next/server/app/(explorer)/[chainName]/worlds/[worldAddress]/explore/page.js.nft.json +1 -1
  10. package/.next/standalone/packages/explorer/.next/server/app/(explorer)/[chainName]/worlds/[worldAddress]/explore/page_client-reference-manifest.js +1 -1
  11. package/.next/standalone/packages/explorer/.next/server/app/(explorer)/[chainName]/worlds/[worldAddress]/interact/page.js +1 -1
  12. package/.next/standalone/packages/explorer/.next/server/app/(explorer)/[chainName]/worlds/[worldAddress]/interact/page.js.nft.json +1 -1
  13. package/.next/standalone/packages/explorer/.next/server/app/(explorer)/[chainName]/worlds/[worldAddress]/interact/page_client-reference-manifest.js +1 -1
  14. package/.next/standalone/packages/explorer/.next/server/app/(explorer)/[chainName]/worlds/[worldAddress]/observe/page.js +3 -3
  15. package/.next/standalone/packages/explorer/.next/server/app/(explorer)/[chainName]/worlds/[worldAddress]/observe/page.js.nft.json +1 -1
  16. package/.next/standalone/packages/explorer/.next/server/app/(explorer)/[chainName]/worlds/[worldAddress]/observe/page_client-reference-manifest.js +1 -1
  17. package/.next/standalone/packages/explorer/.next/server/app/(explorer)/[chainName]/worlds/[worldAddress]/page.js +1 -1
  18. package/.next/standalone/packages/explorer/.next/server/app/(explorer)/[chainName]/worlds/[worldAddress]/page.js.nft.json +1 -1
  19. package/.next/standalone/packages/explorer/.next/server/app/(explorer)/[chainName]/worlds/[worldAddress]/page_client-reference-manifest.js +1 -1
  20. package/.next/standalone/packages/explorer/.next/server/app/(explorer)/[chainName]/worlds/page_client-reference-manifest.js +1 -1
  21. package/.next/standalone/packages/explorer/.next/server/app/(explorer)/page_client-reference-manifest.js +1 -1
  22. package/.next/standalone/packages/explorer/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  23. package/.next/standalone/packages/explorer/.next/server/app/_not-found.html +1 -1
  24. package/.next/standalone/packages/explorer/.next/server/app/_not-found.rsc +1 -1
  25. package/.next/standalone/packages/explorer/.next/server/app/internal/observer-relay/page_client-reference-manifest.js +1 -1
  26. package/.next/standalone/packages/explorer/.next/server/app/internal/observer-relay.html +1 -1
  27. package/.next/standalone/packages/explorer/.next/server/app/internal/observer-relay.rsc +1 -1
  28. package/.next/standalone/packages/explorer/.next/server/app-paths-manifest.json +1 -1
  29. package/.next/standalone/packages/explorer/.next/server/chunks/6135.js +1 -1
  30. package/.next/standalone/packages/explorer/.next/server/chunks/6561.js +1 -1
  31. package/.next/standalone/packages/explorer/.next/server/chunks/7111.js +1 -1
  32. package/.next/standalone/packages/explorer/.next/server/chunks/{6673.js → 7563.js} +10 -10
  33. package/.next/standalone/packages/explorer/.next/server/middleware-build-manifest.js +1 -1
  34. package/.next/standalone/packages/explorer/.next/server/middleware-react-loadable-manifest.js +1 -1
  35. package/.next/standalone/packages/explorer/.next/server/pages/404.html +1 -1
  36. package/.next/standalone/packages/explorer/.next/server/pages/500.html +1 -1
  37. package/.next/standalone/packages/explorer/.next/server/server-reference-manifest.js +1 -1
  38. package/.next/standalone/packages/explorer/.next/server/server-reference-manifest.json +1 -1
  39. package/.next/standalone/packages/explorer/.next/static/chunks/{1698-e03eac3f160ade30.js → 1383-e2c11b5cc4858750.js} +17 -2
  40. package/.next/standalone/packages/explorer/.next/static/chunks/2023-4bfdbec835f91aa7.js +36 -0
  41. package/.next/standalone/packages/explorer/.next/static/chunks/3787-ab5ef282b991e902.js +32 -0
  42. package/.next/standalone/packages/explorer/.next/static/chunks/3823-7329a34245b2494c.js +1 -0
  43. package/.next/standalone/packages/explorer/.next/static/chunks/{4296-7c5fc051c9ad6564.js → 4296-6974321c642e79d4.js} +10 -10
  44. package/.next/standalone/packages/explorer/.next/static/chunks/4384.46b7462902af973e.js +1 -0
  45. package/.next/standalone/packages/explorer/.next/static/chunks/5020-3078c3befa6d47b7.js +5 -0
  46. package/.next/standalone/packages/explorer/.next/static/chunks/8866-d05d7f28ed8cb460.js +1 -0
  47. package/.next/standalone/packages/explorer/.next/static/chunks/app/(explorer)/[chainName]/layout-b94be3cfccaf4baf.js +1 -0
  48. package/.next/standalone/packages/explorer/.next/static/chunks/app/(explorer)/[chainName]/worlds/[worldAddress]/explore/page-be2d1430a13065e4.js +1 -0
  49. package/.next/standalone/packages/explorer/.next/static/chunks/app/(explorer)/[chainName]/worlds/[worldAddress]/interact/{page-d271978ba1e554b6.js → page-570996b3ed4e034e.js} +1 -1
  50. package/.next/standalone/packages/explorer/.next/static/chunks/app/(explorer)/[chainName]/worlds/[worldAddress]/layout-e4733db9e8e63e8a.js +1 -0
  51. package/.next/standalone/packages/explorer/.next/static/chunks/app/(explorer)/[chainName]/worlds/[worldAddress]/observe/page-d5878c523365f737.js +21 -0
  52. package/.next/standalone/packages/explorer/.next/static/chunks/app/(explorer)/[chainName]/worlds/{page-9eaf2744d443531f.js → page-e15544c0deaa1c79.js} +1 -1
  53. package/.next/standalone/packages/explorer/.next/static/chunks/app/(explorer)/error-1285d443cfd10bd6.js +26 -0
  54. package/.next/standalone/packages/explorer/.next/static/chunks/app/(explorer)/layout-00c74847ebc8ba17.js +1 -0
  55. package/.next/standalone/packages/explorer/.next/static/chunks/app/(explorer)/not-found-fd97ea319d872e92.js +21 -0
  56. package/.next/standalone/packages/explorer/.next/static/chunks/{webpack-577c7d795cdceb2f.js → webpack-7c421e0aba419cc2.js} +1 -1
  57. package/.next/standalone/packages/explorer/.next/static/css/5d593234b2f56e1a.css +3 -0
  58. package/dist/exports/observer.d.ts +18 -5
  59. package/dist/exports/observer.js +55 -11
  60. package/dist/exports/observer.js.map +1 -1
  61. package/package.json +9 -9
  62. package/.next/standalone/packages/explorer/.next/static/chunks/2217-e58584a4e0c441d1.js +0 -16
  63. package/.next/standalone/packages/explorer/.next/static/chunks/2298-be4aacc7793f849b.js +0 -1
  64. package/.next/standalone/packages/explorer/.next/static/chunks/2634-47dc28ca7da02e02.js +0 -17
  65. package/.next/standalone/packages/explorer/.next/static/chunks/4114-500e58284e002a69.js +0 -36
  66. package/.next/standalone/packages/explorer/.next/static/chunks/4384.9ea066e42652f074.js +0 -1
  67. package/.next/standalone/packages/explorer/.next/static/chunks/5020-515bd67e1c6d9896.js +0 -5
  68. package/.next/standalone/packages/explorer/.next/static/chunks/app/(explorer)/[chainName]/layout-eb9dedd2148070ac.js +0 -1
  69. package/.next/standalone/packages/explorer/.next/static/chunks/app/(explorer)/[chainName]/worlds/[worldAddress]/explore/page-010b6bac0808b0eb.js +0 -1
  70. package/.next/standalone/packages/explorer/.next/static/chunks/app/(explorer)/[chainName]/worlds/[worldAddress]/layout-da36067fd12d94ac.js +0 -1
  71. package/.next/standalone/packages/explorer/.next/static/chunks/app/(explorer)/[chainName]/worlds/[worldAddress]/observe/page-152199b2ebffde24.js +0 -21
  72. package/.next/standalone/packages/explorer/.next/static/chunks/app/(explorer)/error-3556bad2873445f5.js +0 -11
  73. package/.next/standalone/packages/explorer/.next/static/chunks/app/(explorer)/layout-560a0a9056041e53.js +0 -1
  74. package/.next/standalone/packages/explorer/.next/static/chunks/app/(explorer)/not-found-8bd9c205964e4015.js +0 -6
  75. package/.next/standalone/packages/explorer/.next/static/css/79c04f5b87a8e0bd.css +0 -3
  76. /package/.next/standalone/packages/explorer/.next/static/{PX5kuNCjyW18G1iPTF_vh → 2o6W4AXQF1a2nJxyXwVxR}/_buildManifest.js +0 -0
  77. /package/.next/standalone/packages/explorer/.next/static/{PX5kuNCjyW18G1iPTF_vh → 2o6W4AXQF1a2nJxyXwVxR}/_ssgManifest.js +0 -0
@@ -1,25 +1,25 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4296],{99535:function(e,t,n){"use strict";function r(e){var t=e.match(/^var\((.*)\)$/);return t?t[1]:e}function o(e,t){var n={};if("object"==typeof t)!function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o={};for(var i in t){var a=t[i],s=[...r,i];"string"==typeof a||"number"==typeof a||null==a?o[i]=n(a,s):"object"!=typeof a||Array.isArray(a)?console.warn('Skipping invalid key "'.concat(s.join("."),'". Should be a string, number, null or object. Received: "').concat(Array.isArray(a)?"Array":typeof a,'"')):o[i]=e(a,n,s)}return o}(t,(t,o)=>{null!=t&&(n[r(function(e,t){var n=e;for(var r of t){if(!(r in n))throw Error("Path ".concat(t.join(" -> ")," does not exist in object"));n=n[r]}return n}(e,o))]=String(t))});else for(var o in e){var i=e[o];null!=i&&(n[r(o)]=i)}return Object.defineProperty(n,"toString",{value:function(){return Object.keys(this).map(e=>"".concat(e,":").concat(this[e])).join(";")},writable:!1}),n}n.d(t,{L:function(){return o}})},61921:function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){!function(e,t,n){var r;(t="symbol"==typeof(r=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?r:String(r))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}n.d(t,{$:function(){return s}});var i=e=>function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=Object.assign({},...n.map(e=>e.styles)),a=Object.keys(i),s=a.filter(e=>"mappings"in i[e]);return Object.assign(t=>{var n=[],r={},a=o({},t),c=!1;for(var u of s){var l=t[u];if(null!=l)for(var d of(c=!0,i[u].mappings))r[d]=l,null==a[d]&&delete a[d]}var f=c?o(o({},r),a):t;for(var p in f)if(function(){var e=f[p],t=i[p];try{if(t.mappings)return 1;if("string"==typeof e||"number"==typeof e)n.push(t.values[e].defaultClass);else if(Array.isArray(e))for(var r=0;r<e.length;r++){var o=e[r];if(null!=o){var a=t.responsiveArray[r];n.push(t.values[o].conditions[a])}}else for(var s in e){var c=e[s];null!=c&&n.push(t.values[c].conditions[s])}}catch(e){throw e}}())continue;return e(n.join(" "))},{properties:new Set(a)})},a=e=>e,s=function(){return i(a)(...arguments)}},93246:function(e,t,n){"use strict";n.d(t,{d:function(){return i},M:function(){return o}});var r=function(e,t){return Object.defineProperty(e,"__recipe__",{value:t,writable:!1}),e};function o(e){var{conditions:t}=e;if(!t)throw Error("Styles have no conditions");return r(function(e){if("string"==typeof e||"number"==typeof e||"boolean"==typeof e){if(!t.defaultCondition)throw Error("No default condition");return{[t.defaultCondition]:e}}if(Array.isArray(e)){if(!("responsiveArray"in t))throw Error("Responsive arrays are not supported");var n={};for(var r in t.responsiveArray)null!=e[r]&&(n[t.responsiveArray[r]]=e[r]);return n}return e},{importPath:"@vanilla-extract/sprinkles/createUtils",importName:"createNormalizeValueFn",args:[{conditions:e.conditions}]})}function i(e){var{conditions:t}=e;if(!t)throw Error("Styles have no conditions");var n=o(e);return r(function(e,r){if("string"==typeof e||"number"==typeof e||"boolean"==typeof e){if(!t.defaultCondition)throw Error("No default condition");return r(e,t.defaultCondition)}var o=Array.isArray(e)?n(e):e,i={};for(var a in o)null!=o[a]&&(i[a]=r(o[a],a));return i},{importPath:"@vanilla-extract/sprinkles/createUtils",importName:"createMapValueFn",args:[{conditions:e.conditions}]})}},20543:function(e){"use strict";var t={single_source_shortest_paths:function(e,n,r){var o,i,a,s,c,u,l,d={},f={};f[n]=0;var p=t.PriorityQueue.make();for(p.push(n,0);!p.empty();)for(a in i=(o=p.pop()).value,s=o.cost,c=e[i]||{})c.hasOwnProperty(a)&&(u=s+c[a],l=f[a],(void 0===f[a]||l>u)&&(f[a]=u,p.push(a,u),d[a]=i));if(void 0!==r&&void 0===f[r])throw Error(["Could not find a path from ",n," to ",r,"."].join(""));return d},extract_shortest_path_from_predecessor_list:function(e,t){for(var n=[],r=t;r;)n.push(r),e[r],r=e[r];return n.reverse(),n},find_path:function(e,n,r){var o=t.single_source_shortest_paths(e,n,r);return t.extract_shortest_path_from_predecessor_list(o,r)},PriorityQueue:{make:function(e){var n,r=t.PriorityQueue,o={};for(n in e=e||{},r)r.hasOwnProperty(n)&&(o[n]=r[n]);return o.queue=[],o.sorter=e.sorter||r.default_sorter,o},default_sorter:function(e,t){return e.cost-t.cost},push:function(e,t){this.queue.push({value:e,cost:t}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};e.exports=t},20775:function(e,t,n){let r=n(61490),o=n(23427),i=n(18462),a=n(52822);function s(e,t,n,i,a){let s=[].slice.call(arguments,1),c=s.length,u="function"==typeof s[c-1];if(!u&&!r())throw Error("Callback required as last argument");if(u){if(c<2)throw Error("Too few arguments provided");2===c?(a=n,n=t,t=i=void 0):3===c&&(t.getContext&&void 0===a?(a=i,i=void 0):(a=i,i=n,n=t,t=void 0))}else{if(c<1)throw Error("Too few arguments provided");return 1===c?(n=t,t=i=void 0):2!==c||t.getContext||(i=n,n=t,t=void 0),new Promise(function(r,a){try{let a=o.create(n,i);r(e(a,t,i))}catch(e){a(e)}})}try{let r=o.create(n,i);a(null,e(r,t,i))}catch(e){a(e)}}t.create=o.create,t.toCanvas=s.bind(null,i.render),t.toDataURL=s.bind(null,i.renderToDataURL),t.toString=s.bind(null,function(e,t,n){return a.render(e,n)})},61490:function(e){e.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},97927:function(e,t,n){let r=n(66903).getSymbolSize;t.getRowColCoords=function(e){if(1===e)return[];let t=Math.floor(e/7)+2,n=r(e),o=145===n?26:2*Math.ceil((n-13)/(2*t-2)),i=[n-7];for(let e=1;e<t-1;e++)i[e]=i[e-1]-o;return i.push(6),i.reverse()},t.getPositions=function(e){let n=[],r=t.getRowColCoords(e),o=r.length;for(let e=0;e<o;e++)for(let t=0;t<o;t++)(0!==e||0!==t)&&(0!==e||t!==o-1)&&(e!==o-1||0!==t)&&n.push([r[e],r[t]]);return n}},1944:function(e,t,n){let r=n(51493),o=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function i(e){this.mode=r.ALPHANUMERIC,this.data=e}i.getBitsLength=function(e){return 11*Math.floor(e/2)+e%2*6},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){let t;for(t=0;t+2<=this.data.length;t+=2){let n=45*o.indexOf(this.data[t]);n+=o.indexOf(this.data[t+1]),e.put(n,11)}this.data.length%2&&e.put(o.indexOf(this.data[t]),6)},e.exports=i},52077:function(e){function t(){this.buffer=[],this.length=0}t.prototype={get:function(e){return(this.buffer[Math.floor(e/8)]>>>7-e%8&1)==1},put:function(e,t){for(let n=0;n<t;n++)this.putBit((e>>>t-n-1&1)==1)},getLengthInBits:function(){return this.length},putBit:function(e){let t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},e.exports=t},47937:function(e){function t(e){if(!e||e<1)throw Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}t.prototype.set=function(e,t,n,r){let o=e*this.size+t;this.data[o]=n,r&&(this.reservedBit[o]=!0)},t.prototype.get=function(e,t){return this.data[e*this.size+t]},t.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n},t.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]},e.exports=t},61066:function(e,t,n){let r=n(51493);function o(e){this.mode=r.BYTE,"string"==typeof e?this.data=new TextEncoder().encode(e):this.data=new Uint8Array(e)}o.getBitsLength=function(e){return 8*e},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(e){for(let t=0,n=this.data.length;t<n;t++)e.put(this.data[t],8)},e.exports=o},28371:function(e,t,n){let r=n(87301),o=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],i=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];t.getBlocksCount=function(e,t){switch(t){case r.L:return o[(e-1)*4+0];case r.M:return o[(e-1)*4+1];case r.Q:return o[(e-1)*4+2];case r.H:return o[(e-1)*4+3];default:return}},t.getTotalCodewordsCount=function(e,t){switch(t){case r.L:return i[(e-1)*4+0];case r.M:return i[(e-1)*4+1];case r.Q:return i[(e-1)*4+2];case r.H:return i[(e-1)*4+3];default:return}}},87301:function(e,t){t.L={bit:1},t.M={bit:0},t.Q={bit:3},t.H={bit:2},t.isValid=function(e){return e&&void 0!==e.bit&&e.bit>=0&&e.bit<4},t.from=function(e,n){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw Error("Unknown EC Level: "+e)}}(e)}catch(e){return n}}},66162:function(e,t,n){let r=n(66903).getSymbolSize;t.getPositions=function(e){let t=r(e);return[[0,0],[t-7,0],[0,t-7]]}},38280:function(e,t,n){let r=n(66903),o=r.getBCHDigit(1335);t.getEncodedBits=function(e,t){let n=e.bit<<3|t,i=n<<10;for(;r.getBCHDigit(i)-o>=0;)i^=1335<<r.getBCHDigit(i)-o;return(n<<10|i)^21522}},77226:function(e,t){let n=new Uint8Array(512),r=new Uint8Array(256);!function(){let e=1;for(let t=0;t<255;t++)n[t]=e,r[e]=t,256&(e<<=1)&&(e^=285);for(let e=255;e<512;e++)n[e]=n[e-255]}(),t.log=function(e){if(e<1)throw Error("log("+e+")");return r[e]},t.exp=function(e){return n[e]},t.mul=function(e,t){return 0===e||0===t?0:n[r[e]+r[t]]}},23769:function(e,t,n){let r=n(51493),o=n(66903);function i(e){this.mode=r.KANJI,this.data=e}i.getBitsLength=function(e){return 13*e},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let n=o.toSJIS(this.data[t]);if(n>=33088&&n<=40956)n-=33088;else if(n>=57408&&n<=60351)n-=49472;else throw Error("Invalid SJIS character: "+this.data[t]+"\nMake sure your charset is UTF-8");n=(n>>>8&255)*192+(255&n),e.put(n,13)}},e.exports=i},48159:function(e,t){t.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};let n={N1:3,N2:3,N3:40,N4:10};t.isValid=function(e){return null!=e&&""!==e&&!isNaN(e)&&e>=0&&e<=7},t.from=function(e){return t.isValid(e)?parseInt(e,10):void 0},t.getPenaltyN1=function(e){let t=e.size,r=0,o=0,i=0,a=null,s=null;for(let c=0;c<t;c++){o=i=0,a=s=null;for(let u=0;u<t;u++){let t=e.get(c,u);t===a?o++:(o>=5&&(r+=n.N1+(o-5)),a=t,o=1),(t=e.get(u,c))===s?i++:(i>=5&&(r+=n.N1+(i-5)),s=t,i=1)}o>=5&&(r+=n.N1+(o-5)),i>=5&&(r+=n.N1+(i-5))}return r},t.getPenaltyN2=function(e){let t=e.size,r=0;for(let n=0;n<t-1;n++)for(let o=0;o<t-1;o++){let t=e.get(n,o)+e.get(n,o+1)+e.get(n+1,o)+e.get(n+1,o+1);(4===t||0===t)&&r++}return r*n.N2},t.getPenaltyN3=function(e){let t=e.size,r=0,o=0,i=0;for(let n=0;n<t;n++){o=i=0;for(let a=0;a<t;a++)o=o<<1&2047|e.get(n,a),a>=10&&(1488===o||93===o)&&r++,i=i<<1&2047|e.get(a,n),a>=10&&(1488===i||93===i)&&r++}return r*n.N3},t.getPenaltyN4=function(e){let t=0,r=e.data.length;for(let n=0;n<r;n++)t+=e.data[n];return Math.abs(Math.ceil(100*t/r/5)-10)*n.N4},t.applyMask=function(e,n){let r=n.size;for(let o=0;o<r;o++)for(let i=0;i<r;i++)n.isReserved(i,o)||n.xor(i,o,function(e,n,r){switch(e){case t.Patterns.PATTERN000:return(n+r)%2==0;case t.Patterns.PATTERN001:return n%2==0;case t.Patterns.PATTERN010:return r%3==0;case t.Patterns.PATTERN011:return(n+r)%3==0;case t.Patterns.PATTERN100:return(Math.floor(n/2)+Math.floor(r/3))%2==0;case t.Patterns.PATTERN101:return n*r%2+n*r%3==0;case t.Patterns.PATTERN110:return(n*r%2+n*r%3)%2==0;case t.Patterns.PATTERN111:return(n*r%3+(n+r)%2)%2==0;default:throw Error("bad maskPattern:"+e)}}(e,i,o))},t.getBestMask=function(e,n){let r=Object.keys(t.Patterns).length,o=0,i=1/0;for(let a=0;a<r;a++){n(a),t.applyMask(a,e);let r=t.getPenaltyN1(e)+t.getPenaltyN2(e)+t.getPenaltyN3(e)+t.getPenaltyN4(e);t.applyMask(a,e),r<i&&(i=r,o=a)}return o}},51493:function(e,t,n){let r=n(57735),o=n(98173);t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(e,t){if(!e.ccBits)throw Error("Invalid mode: "+e);if(!r.isValid(t))throw Error("Invalid version: "+t);return t>=1&&t<10?e.ccBits[0]:t<27?e.ccBits[1]:e.ccBits[2]},t.getBestModeForData=function(e){return o.testNumeric(e)?t.NUMERIC:o.testAlphanumeric(e)?t.ALPHANUMERIC:o.testKanji(e)?t.KANJI:t.BYTE},t.toString=function(e){if(e&&e.id)return e.id;throw Error("Invalid mode")},t.isValid=function(e){return e&&e.bit&&e.ccBits},t.from=function(e,n){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw Error("Param is not a string");switch(e.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw Error("Unknown mode: "+e)}}(e)}catch(e){return n}}},99866:function(e,t,n){let r=n(51493);function o(e){this.mode=r.NUMERIC,this.data=e.toString()}o.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(e){let t,n;for(t=0;t+3<=this.data.length;t+=3)n=parseInt(this.data.substr(t,3),10),e.put(n,10);let r=this.data.length-t;r>0&&(n=parseInt(this.data.substr(t),10),e.put(n,3*r+1))},e.exports=o},86656:function(e,t,n){let r=n(77226);t.mul=function(e,t){let n=new Uint8Array(e.length+t.length-1);for(let o=0;o<e.length;o++)for(let i=0;i<t.length;i++)n[o+i]^=r.mul(e[o],t[i]);return n},t.mod=function(e,t){let n=new Uint8Array(e);for(;n.length-t.length>=0;){let e=n[0];for(let o=0;o<t.length;o++)n[o]^=r.mul(t[o],e);let o=0;for(;o<n.length&&0===n[o];)o++;n=n.slice(o)}return n},t.generateECPolynomial=function(e){let n=new Uint8Array([1]);for(let o=0;o<e;o++)n=t.mul(n,new Uint8Array([1,r.exp(o)]));return n}},23427:function(e,t,n){let r=n(66903),o=n(87301),i=n(52077),a=n(47937),s=n(97927),c=n(66162),u=n(48159),l=n(28371),d=n(12662),f=n(50643),p=n(38280),h=n(51493),w=n(23528);function m(e,t,n){let r,o;let i=e.size,a=p.getEncodedBits(t,n);for(r=0;r<15;r++)o=(a>>r&1)==1,r<6?e.set(r,8,o,!0):r<8?e.set(r+1,8,o,!0):e.set(i-15+r,8,o,!0),r<8?e.set(8,i-r-1,o,!0):r<9?e.set(8,15-r-1+1,o,!0):e.set(8,15-r-1,o,!0);e.set(i-8,8,1,!0)}t.create=function(e,t){let n,p;if(void 0===e||""===e)throw Error("No input text");let g=o.M;return void 0!==t&&(g=o.from(t.errorCorrectionLevel,o.M),n=f.from(t.version),p=u.from(t.maskPattern),t.toSJISFunc&&r.setToSJISFunction(t.toSJISFunc)),function(e,t,n,o){let p;if(Array.isArray(e))p=w.fromArray(e);else if("string"==typeof e){let r=t;if(!r){let t=w.rawSplit(e);r=f.getBestVersionForData(t,n)}p=w.fromString(e,r||40)}else throw Error("Invalid data");let g=f.getBestVersionForData(p,n);if(!g)throw Error("The amount of data is too big to be stored in a QR Code");if(t){if(t<g)throw Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+g+".\n")}else t=g;let b=function(e,t,n){let o=new i;n.forEach(function(t){o.put(t.mode.bit,4),o.put(t.getLength(),h.getCharCountIndicator(t.mode,e)),t.write(o)});let a=(r.getSymbolTotalCodewords(e)-l.getTotalCodewordsCount(e,t))*8;for(o.getLengthInBits()+4<=a&&o.put(0,4);o.getLengthInBits()%8!=0;)o.putBit(0);let s=(a-o.getLengthInBits())/8;for(let e=0;e<s;e++)o.put(e%2?17:236,8);return function(e,t,n){let o,i;let a=r.getSymbolTotalCodewords(t),s=a-l.getTotalCodewordsCount(t,n),c=l.getBlocksCount(t,n),u=a%c,f=c-u,p=Math.floor(a/c),h=Math.floor(s/c),w=h+1,m=p-h,g=new d(m),b=0,y=Array(c),A=Array(c),v=0,C=new Uint8Array(e.buffer);for(let e=0;e<c;e++){let t=e<f?h:w;y[e]=C.slice(b,b+t),A[e]=g.encode(y[e]),b+=t,v=Math.max(v,t)}let E=new Uint8Array(a),x=0;for(o=0;o<v;o++)for(i=0;i<c;i++)o<y[i].length&&(E[x++]=y[i][o]);for(o=0;o<m;o++)for(i=0;i<c;i++)E[x++]=A[i][o];return E}(o,e,t)}(t,n,p),y=new a(r.getSymbolSize(t));return function(e,t){let n=e.size,r=c.getPositions(t);for(let t=0;t<r.length;t++){let o=r[t][0],i=r[t][1];for(let t=-1;t<=7;t++)if(!(o+t<=-1)&&!(n<=o+t))for(let r=-1;r<=7;r++)i+r<=-1||n<=i+r||(t>=0&&t<=6&&(0===r||6===r)||r>=0&&r<=6&&(0===t||6===t)||t>=2&&t<=4&&r>=2&&r<=4?e.set(o+t,i+r,!0,!0):e.set(o+t,i+r,!1,!0))}}(y,t),function(e){let t=e.size;for(let n=8;n<t-8;n++){let t=n%2==0;e.set(n,6,t,!0),e.set(6,n,t,!0)}}(y),function(e,t){let n=s.getPositions(t);for(let t=0;t<n.length;t++){let r=n[t][0],o=n[t][1];for(let t=-2;t<=2;t++)for(let n=-2;n<=2;n++)-2===t||2===t||-2===n||2===n||0===t&&0===n?e.set(r+t,o+n,!0,!0):e.set(r+t,o+n,!1,!0)}}(y,t),m(y,n,0),t>=7&&function(e,t){let n,r,o;let i=e.size,a=f.getEncodedBits(t);for(let t=0;t<18;t++)n=Math.floor(t/3),r=t%3+i-8-3,o=(a>>t&1)==1,e.set(n,r,o,!0),e.set(r,n,o,!0)}(y,t),function(e,t){let n=e.size,r=-1,o=n-1,i=7,a=0;for(let s=n-1;s>0;s-=2)for(6===s&&s--;;){for(let n=0;n<2;n++)if(!e.isReserved(o,s-n)){let r=!1;a<t.length&&(r=(t[a]>>>i&1)==1),e.set(o,s-n,r),-1==--i&&(a++,i=7)}if((o+=r)<0||n<=o){o-=r,r=-r;break}}}(y,b),isNaN(o)&&(o=u.getBestMask(y,m.bind(null,y,n))),u.applyMask(o,y),m(y,n,o),{modules:y,version:t,errorCorrectionLevel:n,maskPattern:o,segments:p}}(e,n,g,p)}},12662:function(e,t,n){let r=n(86656);function o(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}o.prototype.initialize=function(e){this.degree=e,this.genPoly=r.generateECPolynomial(this.degree)},o.prototype.encode=function(e){if(!this.genPoly)throw Error("Encoder not initialized");let t=new Uint8Array(e.length+this.degree);t.set(e);let n=r.mod(t,this.genPoly),o=this.degree-n.length;if(o>0){let e=new Uint8Array(this.degree);return e.set(n,o),e}return n},e.exports=o},98173:function(e,t){let n="[0-9]+",r="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+",o="(?:(?![A-Z0-9 $%*+\\-./:]|"+(r=r.replace(/u/g,"\\u"))+")(?:.|[\r\n]))+";t.KANJI=RegExp(r,"g"),t.BYTE_KANJI=RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),t.BYTE=RegExp(o,"g"),t.NUMERIC=RegExp(n,"g"),t.ALPHANUMERIC=RegExp("[A-Z $%*+\\-./:]+","g");let i=RegExp("^"+r+"$"),a=RegExp("^"+n+"$"),s=RegExp("^[A-Z0-9 $%*+\\-./:]+$");t.testKanji=function(e){return i.test(e)},t.testNumeric=function(e){return a.test(e)},t.testAlphanumeric=function(e){return s.test(e)}},23528:function(e,t,n){let r=n(51493),o=n(99866),i=n(1944),a=n(61066),s=n(23769),c=n(98173),u=n(66903),l=n(20543);function d(e){return unescape(encodeURIComponent(e)).length}function f(e,t,n){let r;let o=[];for(;null!==(r=e.exec(n));)o.push({data:r[0],index:r.index,mode:t,length:r[0].length});return o}function p(e){let t,n;let o=f(c.NUMERIC,r.NUMERIC,e),i=f(c.ALPHANUMERIC,r.ALPHANUMERIC,e);return u.isKanjiModeEnabled()?(t=f(c.BYTE,r.BYTE,e),n=f(c.KANJI,r.KANJI,e)):(t=f(c.BYTE_KANJI,r.BYTE,e),n=[]),o.concat(i,t,n).sort(function(e,t){return e.index-t.index}).map(function(e){return{data:e.data,mode:e.mode,length:e.length}})}function h(e,t){switch(t){case r.NUMERIC:return o.getBitsLength(e);case r.ALPHANUMERIC:return i.getBitsLength(e);case r.KANJI:return s.getBitsLength(e);case r.BYTE:return a.getBitsLength(e)}}function w(e,t){let n;let c=r.getBestModeForData(e);if((n=r.from(t,c))!==r.BYTE&&n.bit<c.bit)throw Error('"'+e+'" cannot be encoded with mode '+r.toString(n)+".\n Suggested mode is: "+r.toString(c));switch(n!==r.KANJI||u.isKanjiModeEnabled()||(n=r.BYTE),n){case r.NUMERIC:return new o(e);case r.ALPHANUMERIC:return new i(e);case r.KANJI:return new s(e);case r.BYTE:return new a(e)}}t.fromArray=function(e){return e.reduce(function(e,t){return"string"==typeof t?e.push(w(t,null)):t.data&&e.push(w(t.data,t.mode)),e},[])},t.fromString=function(e,n){let o=function(e,t){let n={},o={start:{}},i=["start"];for(let a=0;a<e.length;a++){let s=e[a],c=[];for(let e=0;e<s.length;e++){let u=s[e],l=""+a+e;c.push(l),n[l]={node:u,lastCount:0},o[l]={};for(let e=0;e<i.length;e++){let a=i[e];n[a]&&n[a].node.mode===u.mode?(o[a][l]=h(n[a].lastCount+u.length,u.mode)-h(n[a].lastCount,u.mode),n[a].lastCount+=u.length):(n[a]&&(n[a].lastCount=u.length),o[a][l]=h(u.length,u.mode)+4+r.getCharCountIndicator(u.mode,t))}}i=c}for(let e=0;e<i.length;e++)o[i[e]].end=0;return{map:o,table:n}}(function(e){let t=[];for(let n=0;n<e.length;n++){let o=e[n];switch(o.mode){case r.NUMERIC:t.push([o,{data:o.data,mode:r.ALPHANUMERIC,length:o.length},{data:o.data,mode:r.BYTE,length:o.length}]);break;case r.ALPHANUMERIC:t.push([o,{data:o.data,mode:r.BYTE,length:o.length}]);break;case r.KANJI:t.push([o,{data:o.data,mode:r.BYTE,length:d(o.data)}]);break;case r.BYTE:t.push([{data:o.data,mode:r.BYTE,length:d(o.data)}])}}return t}(p(e,u.isKanjiModeEnabled())),n),i=l.find_path(o.map,"start","end"),a=[];for(let e=1;e<i.length-1;e++)a.push(o.table[i[e]].node);return t.fromArray(a.reduce(function(e,t){let n=e.length-1>=0?e[e.length-1]:null;return n&&n.mode===t.mode?e[e.length-1].data+=t.data:e.push(t),e},[]))},t.rawSplit=function(e){return t.fromArray(p(e,u.isKanjiModeEnabled()))}},66903:function(e,t){let n;let r=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];t.getSymbolSize=function(e){if(!e)throw Error('"version" cannot be null or undefined');if(e<1||e>40)throw Error('"version" should be in range from 1 to 40');return 4*e+17},t.getSymbolTotalCodewords=function(e){return r[e]},t.getBCHDigit=function(e){let t=0;for(;0!==e;)t++,e>>>=1;return t},t.setToSJISFunction=function(e){if("function"!=typeof e)throw Error('"toSJISFunc" is not a valid function.');n=e},t.isKanjiModeEnabled=function(){return void 0!==n},t.toSJIS=function(e){return n(e)}},57735:function(e,t){t.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}},50643:function(e,t,n){let r=n(66903),o=n(28371),i=n(87301),a=n(51493),s=n(57735),c=r.getBCHDigit(7973);function u(e,t){return a.getCharCountIndicator(e,t)+4}t.from=function(e,t){return s.isValid(e)?parseInt(e,10):t},t.getCapacity=function(e,t,n){if(!s.isValid(e))throw Error("Invalid QR Code version");void 0===n&&(n=a.BYTE);let i=(r.getSymbolTotalCodewords(e)-o.getTotalCodewordsCount(e,t))*8;if(n===a.MIXED)return i;let c=i-u(n,e);switch(n){case a.NUMERIC:return Math.floor(c/10*3);case a.ALPHANUMERIC:return Math.floor(c/11*2);case a.KANJI:return Math.floor(c/13);case a.BYTE:default:return Math.floor(c/8)}},t.getBestVersionForData=function(e,n){let r;let o=i.from(n,i.M);if(Array.isArray(e)){if(e.length>1)return function(e,n){for(let r=1;r<=40;r++)if(function(e,t){let n=0;return e.forEach(function(e){let r=u(e.mode,t);n+=r+e.getBitsLength()}),n}(e,r)<=t.getCapacity(r,n,a.MIXED))return r}(e,o);if(0===e.length)return 1;r=e[0]}else r=e;return function(e,n,r){for(let o=1;o<=40;o++)if(n<=t.getCapacity(o,r,e))return o}(r.mode,r.getLength(),o)},t.getEncodedBits=function(e){if(!s.isValid(e)||e<7)throw Error("Invalid QR Code version");let t=e<<12;for(;r.getBCHDigit(t)-c>=0;)t^=7973<<r.getBCHDigit(t)-c;return e<<12|t}},18462:function(e,t,n){let r=n(17426);t.render=function(e,t,n){var o;let i=n,a=t;void 0!==i||t&&t.getContext||(i=t,t=void 0),t||(a=function(){try{return document.createElement("canvas")}catch(e){throw Error("You need to specify a canvas element")}}()),i=r.getOptions(i);let s=r.getImageWidth(e.modules.size,i),c=a.getContext("2d"),u=c.createImageData(s,s);return r.qrToImageData(u.data,e,i),o=a,c.clearRect(0,0,o.width,o.height),o.style||(o.style={}),o.height=s,o.width=s,o.style.height=s+"px",o.style.width=s+"px",c.putImageData(u,0,0),a},t.renderToDataURL=function(e,n,r){let o=r;void 0!==o||n&&n.getContext||(o=n,n=void 0),o||(o={});let i=t.render(e,n,o),a=o.type||"image/png",s=o.rendererOpts||{};return i.toDataURL(a,s.quality)}},52822:function(e,t,n){let r=n(17426);function o(e,t){let n=e.a/255,r=t+'="'+e.hex+'"';return n<1?r+" "+t+'-opacity="'+n.toFixed(2).slice(1)+'"':r}function i(e,t,n){let r=e+t;return void 0!==n&&(r+=" "+n),r}t.render=function(e,t,n){let a=r.getOptions(t),s=e.modules.size,c=e.modules.data,u=s+2*a.margin,l=a.color.light.a?"<path "+o(a.color.light,"fill")+' d="M0 0h'+u+"v"+u+'H0z"/>':"",d="<path "+o(a.color.dark,"stroke")+' d="'+function(e,t,n){let r="",o=0,a=!1,s=0;for(let c=0;c<e.length;c++){let u=Math.floor(c%t),l=Math.floor(c/t);u||a||(a=!0),e[c]?(s++,c>0&&u>0&&e[c-1]||(r+=a?i("M",u+n,.5+l+n):i("m",o,0),o=0,a=!1),u+1<t&&e[c+1]||(r+=i("h",s),s=0)):o++}return r}(c,s,a.margin)+'"/>',f='<svg xmlns="http://www.w3.org/2000/svg" '+(a.width?'width="'+a.width+'" height="'+a.width+'" ':"")+('viewBox="0 0 '+u)+" "+u+'" shape-rendering="crispEdges">'+l+d+"</svg>\n";return"function"==typeof n&&n(null,f),f}},17426:function(e,t){function n(e){if("number"==typeof e&&(e=e.toString()),"string"!=typeof e)throw Error("Color should be defined as hex string");let t=e.slice().replace("#","").split("");if(t.length<3||5===t.length||t.length>8)throw Error("Invalid hex color: "+e);(3===t.length||4===t.length)&&(t=Array.prototype.concat.apply([],t.map(function(e){return[e,e]}))),6===t.length&&t.push("F","F");let n=parseInt(t.join(""),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:255&n,hex:"#"+t.slice(0,6).join("")}}t.getOptions=function(e){e||(e={}),e.color||(e.color={});let t=void 0===e.margin||null===e.margin||e.margin<0?4:e.margin,r=e.width&&e.width>=21?e.width:void 0,o=e.scale||4;return{width:r,scale:r?4:o,margin:t,color:{dark:n(e.color.dark||"#000000ff"),light:n(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},t.getScale=function(e,t){return t.width&&t.width>=e+2*t.margin?t.width/(e+2*t.margin):t.scale},t.getImageWidth=function(e,n){let r=t.getScale(e,n);return Math.floor((e+2*n.margin)*r)},t.qrToImageData=function(e,n,r){let o=n.modules.size,i=n.modules.data,a=t.getScale(o,r),s=Math.floor((o+2*r.margin)*a),c=r.margin*a,u=[r.color.light,r.color.dark];for(let t=0;t<s;t++)for(let n=0;n<s;n++){let l=(t*s+n)*4,d=r.color.light;t>=c&&n>=c&&t<s-c&&n<s-c&&(d=u[i[Math.floor((t-c)/a)*o+Math.floor((n-c)/a)]?1:0]),e[l++]=d.r,e[l++]=d.g,e[l++]=d.b,e[l]=d.a}}},83521:function(e,t,n){"use strict";n.d(t,{Z:function(){return P}});var r=n(52401),o=n(46760),i=n(73839),a=n(262),s=(0,n(16199)._)(),c=function(){},u=o.forwardRef(function(e,t){var n=o.useRef(null),i=o.useState({onScrollCapture:c,onWheelCapture:c,onTouchMoveCapture:c}),u=i[0],l=i[1],d=e.forwardProps,f=e.children,p=e.className,h=e.removeScrollBar,w=e.enabled,m=e.shards,g=e.sideCar,b=e.noIsolation,y=e.inert,A=e.allowPinchZoom,v=e.as,C=e.gapMode,E=(0,r._T)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),x=(0,a.q)([n,t]),B=(0,r.pi)((0,r.pi)({},E),u);return o.createElement(o.Fragment,null,w&&o.createElement(g,{sideCar:s,removeScrollBar:h,shards:m,noIsolation:b,inert:y,setCallbacks:l,allowPinchZoom:!!A,lockRef:n,gapMode:C}),d?o.cloneElement(o.Children.only(f),(0,r.pi)((0,r.pi)({},B),{ref:x})):o.createElement(void 0===v?"div":v,(0,r.pi)({},B,{className:p,ref:x}),f))});u.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},u.classNames={fullWidth:i.zi,zeroRight:i.pF};var l=n(32565),d=n(68770),f=n(23359),p=!1;if("undefined"!=typeof window)try{var h=Object.defineProperty({},"passive",{get:function(){return p=!0,!0}});window.addEventListener("test",h,h),window.removeEventListener("test",h,h)}catch(e){p=!1}var w=!!p&&{passive:!1},m=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===n[t])},g=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),b(e,r)){var o=y(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},b=function(e,t){return"v"===e?m(t,"overflowY"):m(t,"overflowX")},y=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},A=function(e,t,n,r,o){var i,a=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),s=a*r,c=n.target,u=t.contains(c),l=!1,d=s>0,f=0,p=0;do{var h=y(e,c),w=h[0],m=h[1]-h[2]-a*w;(w||m)&&b(e,c)&&(f+=m,p+=w),c instanceof ShadowRoot?c=c.host:c=c.parentNode}while(!u&&c!==document.body||u&&(t.contains(c)||t===c));return d&&(o&&1>Math.abs(f)||!o&&s>f)?l=!0:!d&&(o&&1>Math.abs(p)||!o&&-s>p)&&(l=!0),l},v=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},C=function(e){return[e.deltaX,e.deltaY]},E=function(e){return e&&"current"in e?e.current:e},x=0,B=[],k=(0,l.L)(s,function(e){var t=o.useRef([]),n=o.useRef([0,0]),i=o.useRef(),a=o.useState(x++)[0],s=o.useState(f.Ws)[0],c=o.useRef(e);o.useEffect(function(){c.current=e},[e]),o.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var t=(0,r.ev)([e.lockRef.current],(e.shards||[]).map(E),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var u=o.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!c.current.allowPinchZoom;var r,o=v(e),a=n.current,s="deltaX"in e?e.deltaX:a[0]-o[0],u="deltaY"in e?e.deltaY:a[1]-o[1],l=e.target,d=Math.abs(s)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===l.type)return!1;var f=g(d,l);if(!f)return!0;if(f?r=d:(r="v"===d?"h":"v",f=g(d,l)),!f)return!1;if(!i.current&&"changedTouches"in e&&(s||u)&&(i.current=r),!r)return!0;var p=i.current||r;return A(p,t,e,"h"===p?s:u,!0)},[]),l=o.useCallback(function(e){if(B.length&&B[B.length-1]===s){var n="deltaY"in e?C(e):v(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta)[0]===n[0]&&r[1]===n[1]})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(c.current.shards||[]).map(E).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?u(e,o[0]):!c.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),p=o.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),h=o.useCallback(function(e){n.current=v(e),i.current=void 0},[]),m=o.useCallback(function(t){p(t.type,C(t),t.target,u(t,e.lockRef.current))},[]),b=o.useCallback(function(t){p(t.type,v(t),t.target,u(t,e.lockRef.current))},[]);o.useEffect(function(){return B.push(s),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:b}),document.addEventListener("wheel",l,w),document.addEventListener("touchmove",l,w),document.addEventListener("touchstart",h,w),function(){B=B.filter(function(e){return e!==s}),document.removeEventListener("wheel",l,w),document.removeEventListener("touchmove",l,w),document.removeEventListener("touchstart",h,w)}},[]);var y=e.removeScrollBar,k=e.inert;return o.createElement(o.Fragment,null,k?o.createElement(s,{styles:"\n .block-interactivity-".concat(a," {pointer-events: none;}\n .allow-interactivity-").concat(a," {pointer-events: all;}\n")}):null,y?o.createElement(d.jp,{gapMode:e.gapMode}):null)}),I=o.forwardRef(function(e,t){return o.createElement(u,(0,r.pi)({},e,{ref:t,sideCar:k}))});I.classNames=u.classNames;var P=I},40299:function(e,t,n){var r;!function(o,i){"use strict";var a="function",s="undefined",c="object",u="string",l="major",d="model",f="name",p="type",h="vendor",w="version",m="architecture",g="console",b="mobile",y="tablet",A="smarttv",v="wearable",C="embedded",E="Amazon",x="Apple",B="ASUS",k="BlackBerry",I="Browser",P="Chrome",N="Firefox",F="Google",R="Huawei",M="Microsoft",S="Motorola",T="Opera",O="Samsung",D="Sharp",L="Sony",Q="Xiaomi",q="Zebra",U="Facebook",G="Chromium OS",W="Mac OS",z=function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n},j=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},H=function(e,t){return typeof e===u&&-1!==K(t).indexOf(K(e))},K=function(e){return e.toLowerCase()},J=function(e,t){if(typeof e===u)return e=e.replace(/^\s\s*/,""),typeof t===s?e:e.substring(0,500)},V=function(e,t){for(var n,r,o,s,u,l,d=0;d<t.length&&!u;){var f=t[d],p=t[d+1];for(n=r=0;n<f.length&&!u&&f[n];)if(u=f[n++].exec(e))for(o=0;o<p.length;o++)l=u[++r],typeof(s=p[o])===c&&s.length>0?2===s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,l):this[s[0]]=s[1]:3===s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=l?l.replace(s[1],s[2]):void 0:this[s[0]]=l?s[1].call(this,l,s[2]):void 0:4===s.length&&(this[s[0]]=l?s[3].call(this,l.replace(s[1],s[2])):void 0):this[s]=l||i;d+=2}},Z=function(e,t){for(var n in t)if(typeof t[n]===c&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(H(t[n][r],e))return"?"===n?i:n}else if(H(t[n],e))return"?"===n?i:n;return e},Y={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},X={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[w,[f,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[w,[f,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[f,w],[/opios[\/ ]+([\w\.]+)/i],[w,[f,T+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[w,[f,T+" GX"]],[/\bopr\/([\w\.]+)/i],[w,[f,T]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[w,[f,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[f,w],[/\bddg\/([\w\.]+)/i],[w,[f,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[w,[f,"UC"+I]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[w,[f,"WeChat"]],[/konqueror\/([\w\.]+)/i],[w,[f,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[w,[f,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[w,[f,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[w,[f,"Smart Lenovo "+I]],[/(avast|avg)\/([\w\.]+)/i],[[f,/(.+)/,"$1 Secure "+I],w],[/\bfocus\/([\w\.]+)/i],[w,[f,N+" Focus"]],[/\bopt\/([\w\.]+)/i],[w,[f,T+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[w,[f,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[w,[f,"Dolphin"]],[/coast\/([\w\.]+)/i],[w,[f,T+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[w,[f,"MIUI "+I]],[/fxios\/([-\w\.]+)/i],[w,[f,N]],[/\bqihu|(qi?ho?o?|360)browser/i],[[f,"360 "+I]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[f,/(.+)/,"$1 "+I],w],[/samsungbrowser\/([\w\.]+)/i],[w,[f,O+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[f,/_/g," "],w],[/metasr[\/ ]?([\d\.]+)/i],[w,[f,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[f,"Sogou Mobile"],w],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[f,w],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[f],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[f,U],w],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[f,w],[/\bgsa\/([\w\.]+) .*safari\//i],[w,[f,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[w,[f,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[w,[f,P+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[f,P+" WebView"],w],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[w,[f,"Android "+I]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[f,w],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[w,[f,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[w,f],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[f,[w,Z,{"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[f,w],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[f,"Netscape"],w],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[w,[f,N+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[f,w],[/(cobalt)\/([\w\.]+)/i],[f,[w,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[m,"amd64"]],[/(ia32(?=;))/i],[[m,K]],[/((?:i[346]|x)86)[;\)]/i],[[m,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[m,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[m,"armhf"]],[/windows (ce|mobile); ppc;/i],[[m,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[m,/ower/,"",K]],[/(sun4\w)[;\)]/i],[[m,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[m,K]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[h,O],[p,y]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[d,[h,O],[p,b]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[h,x],[p,b]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[h,x],[p,y]],[/(macintosh);/i],[d,[h,x]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[h,D],[p,b]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[h,R],[p,y]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[h,R],[p,b]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[d,/_/g," "],[h,Q],[p,b]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[h,Q],[p,y]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[h,"OPPO"],[p,b]],[/\b(opd2\d{3}a?) bui/i],[d,[h,"OPPO"],[p,y]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[h,"Vivo"],[p,b]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[d,[h,"Realme"],[p,b]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[d,[h,S],[p,b]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[h,S],[p,y]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[h,"LG"],[p,y]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[h,"LG"],[p,b]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[h,"Lenovo"],[p,y]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[h,"Nokia"],[p,b]],[/(pixel c)\b/i],[d,[h,F],[p,y]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[h,F],[p,b]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[d,[h,L],[p,b]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[h,L],[p,y]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[h,"OnePlus"],[p,b]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[h,E],[p,y]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[h,E],[p,b]],[/(playbook);[-\w\),; ]+(rim)/i],[d,h,[p,y]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[h,k],[p,b]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[h,B],[p,y]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[h,B],[p,b]],[/(nexus 9)/i],[d,[h,"HTC"],[p,y]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[h,[d,/_/g," "],[p,b]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[h,"Acer"],[p,y]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[h,"Meizu"],[p,b]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[d,[h,"Ulefone"],[p,b]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[h,d,[p,b]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[h,d,[p,y]],[/(surface duo)/i],[d,[h,M],[p,y]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[h,"Fairphone"],[p,b]],[/(u304aa)/i],[d,[h,"AT&T"],[p,b]],[/\bsie-(\w*)/i],[d,[h,"Siemens"],[p,b]],[/\b(rct\w+) b/i],[d,[h,"RCA"],[p,y]],[/\b(venue[\d ]{2,7}) b/i],[d,[h,"Dell"],[p,y]],[/\b(q(?:mv|ta)\w+) b/i],[d,[h,"Verizon"],[p,y]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[h,"Barnes & Noble"],[p,y]],[/\b(tm\d{3}\w+) b/i],[d,[h,"NuVision"],[p,y]],[/\b(k88) b/i],[d,[h,"ZTE"],[p,y]],[/\b(nx\d{3}j) b/i],[d,[h,"ZTE"],[p,b]],[/\b(gen\d{3}) b.+49h/i],[d,[h,"Swiss"],[p,b]],[/\b(zur\d{3}) b/i],[d,[h,"Swiss"],[p,y]],[/\b((zeki)?tb.*\b) b/i],[d,[h,"Zeki"],[p,y]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[h,"Dragon Touch"],d,[p,y]],[/\b(ns-?\w{0,9}) b/i],[d,[h,"Insignia"],[p,y]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[h,"NextBook"],[p,y]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[h,"Voice"],d,[p,b]],[/\b(lvtel\-)?(v1[12]) b/i],[[h,"LvTel"],d,[p,b]],[/\b(ph-1) /i],[d,[h,"Essential"],[p,b]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[h,"Envizen"],[p,y]],[/\b(trio[-\w\. ]+) b/i],[d,[h,"MachSpeed"],[p,y]],[/\btu_(1491) b/i],[d,[h,"Rotor"],[p,y]],[/(shield[\w ]+) b/i],[d,[h,"Nvidia"],[p,y]],[/(sprint) (\w+)/i],[h,d,[p,b]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[h,M],[p,b]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[h,q],[p,y]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[h,q],[p,b]],[/smart-tv.+(samsung)/i],[h,[p,A]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[h,O],[p,A]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,"LG"],[p,A]],[/(apple) ?tv/i],[h,[d,x+" TV"],[p,A]],[/crkey/i],[[d,P+"cast"],[h,F],[p,A]],[/droid.+aft(\w+)( bui|\))/i],[d,[h,E],[p,A]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[h,D],[p,A]],[/(bravia[\w ]+)( bui|\))/i],[d,[h,L],[p,A]],[/(mitv-\w{5}) bui/i],[d,[h,Q],[p,A]],[/Hbbtv.*(technisat) (.*);/i],[h,d,[p,A]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[h,J],[d,J],[p,A]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[p,A]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[h,d,[p,g]],[/droid.+; (shield) bui/i],[d,[h,"Nvidia"],[p,g]],[/(playstation [345portablevi]+)/i],[d,[h,L],[p,g]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[h,M],[p,g]],[/((pebble))app/i],[h,d,[p,v]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[h,x],[p,v]],[/droid.+; (glass) \d/i],[d,[h,F],[p,v]],[/droid.+; (wt63?0{2,3})\)/i],[d,[h,q],[p,v]],[/(quest( \d| pro)?)/i],[d,[h,U],[p,v]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[p,C]],[/(aeobc)\b/i],[d,[h,E],[p,C]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[d,[p,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[p,y]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[p,y]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[p,b]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[h,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[w,[f,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[w,[f,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[f,w],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[w,f]],os:[[/microsoft (windows) (vista|xp)/i],[f,w],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[f,[w,Z,Y]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[w,Z,Y],[f,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[w,/_/g,"."],[f,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[f,W],[w,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[w,f],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[f,w],[/\(bb(10);/i],[w,[f,k]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[w,[f,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[w,[f,N+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[w,[f,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[w,[f,"watchOS"]],[/crkey\/([\d\.]+)/i],[w,[f,P+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[f,G],w],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[f,w],[/(sunos) ?([\w\.\d]*)/i],[[f,"Solaris"],w],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[f,w]]},$=function(e,t){if(typeof e===c&&(t=e,e=i),!(this instanceof $))return new $(e,t).getResult();var n=typeof o!==s&&o.navigator?o.navigator:i,r=e||(n&&n.userAgent?n.userAgent:""),g=n&&n.userAgentData?n.userAgentData:i,A=t?z(X,t):X,v=n&&n.userAgent==r;return this.getBrowser=function(){var e,t={};return t[f]=i,t[w]=i,V.call(t,r,A.browser),t[l]=typeof(e=t[w])===u?e.replace(/[^\d\.]/g,"").split(".")[0]:i,v&&n&&n.brave&&typeof n.brave.isBrave==a&&(t[f]="Brave"),t},this.getCPU=function(){var e={};return e[m]=i,V.call(e,r,A.cpu),e},this.getDevice=function(){var e={};return e[h]=i,e[d]=i,e[p]=i,V.call(e,r,A.device),v&&!e[p]&&g&&g.mobile&&(e[p]=b),v&&"Macintosh"==e[d]&&n&&typeof n.standalone!==s&&n.maxTouchPoints&&n.maxTouchPoints>2&&(e[d]="iPad",e[p]=y),e},this.getEngine=function(){var e={};return e[f]=i,e[w]=i,V.call(e,r,A.engine),e},this.getOS=function(){var e={};return e[f]=i,e[w]=i,V.call(e,r,A.os),v&&!e[f]&&g&&g.platform&&"Unknown"!=g.platform&&(e[f]=g.platform.replace(/chrome os/i,G).replace(/macos/i,W)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=typeof e===u&&e.length>500?J(e,500):e,this},this.setUA(r),this};$.VERSION="1.0.38",$.BROWSER=j([f,w,l]),$.CPU=j([m]),$.DEVICE=j([d,h,p,g,b,A,y,v,C]),$.ENGINE=$.OS=j([f,w]),typeof t!==s?(e.exports&&(t=e.exports=$),t.UAParser=$):n.amdO?i!==(r=(function(){return $}).call(t,n,t,e))&&(e.exports=r):typeof o!==s&&(o.UAParser=$);var _=typeof o!==s&&(o.jQuery||o.Zepto);if(_&&!_.ua){var ee=new $;_.ua=ee.getResult(),_.ua.get=function(){return ee.getUA()},_.ua.set=function(e){ee.setUA(e);var t=ee.getResult();for(var n in t)_.ua[n]=t[n]}}}("object"==typeof window?window:this)},98310:function(e,t,n){"use strict";n.d(t,{Dd:function(){return k},FF:function(){return M},Fy:function(){return B},H9:function(){return S},S5:function(){return y},Wd:function(){return C},Z2:function(){return x},_t:function(){return a},bytesToNumberBE:function(){return m},ci:function(){return l},dQ:function(){return I},eV:function(){return v},gk:function(){return s},hexToBytes:function(){return w},n$:function(){return F},ql:function(){return A},tL:function(){return b},ty:function(){return g},uw:function(){return c},uz:function(){return d}});/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */let r=BigInt(0),o=BigInt(1),i=BigInt(2);function a(e){return e instanceof Uint8Array||null!=e&&"object"==typeof e&&"Uint8Array"===e.constructor.name}function s(e){if(!a(e))throw Error("Uint8Array expected")}function c(e,t){if("boolean"!=typeof t)throw Error(`${e} must be valid boolean, got "${t}".`)}let u=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function l(e){s(e);let t="";for(let n=0;n<e.length;n++)t+=u[e[n]];return t}function d(e){let t=e.toString(16);return 1&t.length?`0${t}`:t}function f(e){if("string"!=typeof e)throw Error("hex string expected, got "+typeof e);return BigInt(""===e?"0":`0x${e}`)}let p={_0:48,_9:57,_A:65,_F:70,_a:97,_f:102};function h(e){return e>=p._0&&e<=p._9?e-p._0:e>=p._A&&e<=p._F?e-(p._A-10):e>=p._a&&e<=p._f?e-(p._a-10):void 0}function w(e){if("string"!=typeof e)throw Error("hex string expected, got "+typeof e);let t=e.length,n=t/2;if(t%2)throw Error("padded hex string expected, got unpadded hex of length "+t);let r=new Uint8Array(n);for(let t=0,o=0;t<n;t++,o+=2){let n=h(e.charCodeAt(o)),i=h(e.charCodeAt(o+1));if(void 0===n||void 0===i)throw Error('hex string expected, got non-hex character "'+(e[o]+e[o+1])+'" at index '+o);r[t]=16*n+i}return r}function m(e){return f(l(e))}function g(e){return s(e),f(l(Uint8Array.from(e).reverse()))}function b(e,t){return w(e.toString(16).padStart(2*t,"0"))}function y(e,t){return b(e,t).reverse()}function A(e,t,n){let r;if("string"==typeof t)try{r=w(t)}catch(n){throw Error(`${e} must be valid hex string, got "${t}". Cause: ${n}`)}else if(a(t))r=Uint8Array.from(t);else throw Error(`${e} must be hex string or Uint8Array`);let o=r.length;if("number"==typeof n&&o!==n)throw Error(`${e} expected ${n} bytes, got ${o}`);return r}function v(...e){let t=0;for(let n=0;n<e.length;n++){let r=e[n];s(r),t+=r.length}let n=new Uint8Array(t);for(let t=0,r=0;t<e.length;t++){let o=e[t];n.set(o,r),r+=o.length}return n}function C(e,t){if(e.length!==t.length)return!1;let n=0;for(let r=0;r<e.length;r++)n|=e[r]^t[r];return 0===n}let E=e=>"bigint"==typeof e&&r<=e;function x(e,t,n){return E(e)&&E(t)&&E(n)&&t<=e&&e<n}function B(e,t,n,r){if(!x(t,n,r))throw Error(`expected valid ${e}: ${n} <= n < ${r}, got ${typeof t} ${t}`)}function k(e){let t;for(t=0;e>r;e>>=o,t+=1);return t}let I=e=>(i<<BigInt(e-1))-o,P=e=>new Uint8Array(e),N=e=>Uint8Array.from(e);function F(e,t,n){if("number"!=typeof e||e<2)throw Error("hashLen must be a number");if("number"!=typeof t||t<2)throw Error("qByteLen must be a number");if("function"!=typeof n)throw Error("hmacFn must be a function");let r=P(e),o=P(e),i=0,a=()=>{r.fill(1),o.fill(0),i=0},s=(...e)=>n(o,r,...e),c=(e=P())=>{o=s(N([0]),e),r=s(),0!==e.length&&(o=s(N([1]),e),r=s())},u=()=>{if(i++>=1e3)throw Error("drbg: tried 1000 values");let e=0,n=[];for(;e<t;){let t=(r=s()).slice();n.push(t),e+=r.length}return v(...n)};return(e,t)=>{let n;for(a(),c(e);!(n=t(u()));)c();return a(),n}}let R={bigint:e=>"bigint"==typeof e,function:e=>"function"==typeof e,boolean:e=>"boolean"==typeof e,string:e=>"string"==typeof e,stringOrUint8Array:e=>"string"==typeof e||a(e),isSafeInteger:e=>Number.isSafeInteger(e),array:e=>Array.isArray(e),field:(e,t)=>t.Fp.isValid(e),hash:e=>"function"==typeof e&&Number.isSafeInteger(e.outputLen)};function M(e,t,n={}){let r=(t,n,r)=>{let o=R[n];if("function"!=typeof o)throw Error(`Invalid validator "${n}", expected function`);let i=e[t];if((!r||void 0!==i)&&!o(i,e))throw Error(`Invalid param ${String(t)}=${i} (${typeof i}), expected ${n}`)};for(let[e,n]of Object.entries(t))r(e,n,!1);for(let[e,t]of Object.entries(n))r(e,t,!0);return e}function S(e){let t=new WeakMap;return(n,...r)=>{let o=t.get(n);if(void 0!==o)return o;let i=e(n,...r);return t.set(n,i),i}}},89922:function(e,t,n){"use strict";n.d(t,{secp256k1:function(){return W}});var r=n(53086),o=n(23255),i=n(48345);class a extends i.kb{constructor(e,t){super(),this.finished=!1,this.destroyed=!1,(0,o.vp)(e);let n=(0,i.O0)(t);if(this.iHash=e.create(),"function"!=typeof this.iHash.update)throw Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;let r=this.blockLen,a=new Uint8Array(r);a.set(n.length>r?e.create().update(n).digest():n);for(let e=0;e<a.length;e++)a[e]^=54;this.iHash.update(a),this.oHash=e.create();for(let e=0;e<a.length;e++)a[e]^=106;this.oHash.update(a),a.fill(0)}update(e){return(0,o.Gg)(this),this.iHash.update(e),this}digestInto(e){(0,o.Gg)(this),(0,o.aI)(e,this.outputLen),this.finished=!0,this.iHash.digestInto(e),this.oHash.update(e),this.oHash.digestInto(e),this.destroy()}digest(){let e=new Uint8Array(this.oHash.outputLen);return this.digestInto(e),e}_cloneInto(e){e||(e=Object.create(Object.getPrototypeOf(this),{}));let{oHash:t,iHash:n,finished:r,destroyed:o,blockLen:i,outputLen:a}=this;return e.finished=r,e.destroyed=o,e.blockLen=i,e.outputLen=a,e.oHash=t._cloneInto(e.oHash),e.iHash=n._cloneInto(e.iHash),e}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}let s=(e,t,n)=>new a(e,t).update(n).digest();s.create=(e,t)=>new a(e,t);var c=n(98310);/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */let u=BigInt(0),l=BigInt(1),d=BigInt(2),f=BigInt(3),p=BigInt(4),h=BigInt(5),w=BigInt(8);function m(e,t){let n=e%t;return n>=u?n:t+n}function g(e,t,n){let r=e;for(;t-- >u;)r*=r,r%=n;return r}function b(e,t){if(e===u||t<=u)throw Error(`invert: expected positive integers, got n=${e} mod=${t}`);let n=m(e,t),r=t,o=u,i=l,a=l,s=u;for(;n!==u;){let e=r/n,t=r%n,c=o-a*e,u=i-s*e;r=n,n=t,o=a,i=s,a=c,s=u}if(r!==l)throw Error("invert: does not exist");return m(o,t)}BigInt(9),BigInt(16);let y=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function A(e,t){let n=void 0!==t?t:e.toString(2).length;return{nBitLength:n,nByteLength:Math.ceil(n/8)}}function v(e,t,n=!1,r={}){if(e<=u)throw Error(`Expected Field ORDER > 0, got ${e}`);let{nBitLength:o,nByteLength:i}=A(e,t);if(i>2048)throw Error("Field lengths over 2048 bytes are not supported");let a=function(e){if(e%p===f){let t=(e+l)/p;return function(e,n){let r=e.pow(n,t);if(!e.eql(e.sqr(r),n))throw Error("Cannot find square root");return r}}if(e%w===h){let t=(e-h)/w;return function(e,n){let r=e.mul(n,d),o=e.pow(r,t),i=e.mul(n,o),a=e.mul(e.mul(i,d),o),s=e.mul(i,e.sub(a,e.ONE));if(!e.eql(e.sqr(s),n))throw Error("Cannot find square root");return s}}return function(e){let t,n,r;let o=(e-l)/d;for(t=e-l,n=0;t%d===u;t/=d,n++);for(r=d;r<e&&function(e,t,n){if(n<=u||t<u)throw Error("Expected power/modulo > 0");if(n===l)return u;let r=l;for(;t>u;)t&l&&(r=r*e%n),e=e*e%n,t>>=l;return r}(r,o,e)!==e-l;r++);if(1===n){let t=(e+l)/p;return function(e,n){let r=e.pow(n,t);if(!e.eql(e.sqr(r),n))throw Error("Cannot find square root");return r}}let i=(t+l)/d;return function(e,a){if(e.pow(a,o)===e.neg(e.ONE))throw Error("Cannot find square root");let s=n,c=e.pow(e.mul(e.ONE,r),t),u=e.pow(a,i),d=e.pow(a,t);for(;!e.eql(d,e.ONE);){if(e.eql(d,e.ZERO))return e.ZERO;let t=1;for(let n=e.sqr(d);t<s&&!e.eql(n,e.ONE);t++)n=e.sqr(n);let n=e.pow(c,l<<BigInt(s-t-1));c=e.sqr(n),u=e.mul(u,n),d=e.mul(d,c),s=t}return u}}(e)}(e),s=Object.freeze({ORDER:e,BITS:o,BYTES:i,MASK:(0,c.dQ)(o),ZERO:u,ONE:l,create:t=>m(t,e),isValid:t=>{if("bigint"!=typeof t)throw Error(`Invalid field element: expected bigint, got ${typeof t}`);return u<=t&&t<e},is0:e=>e===u,isOdd:e=>(e&l)===l,neg:t=>m(-t,e),eql:(e,t)=>e===t,sqr:t=>m(t*t,e),add:(t,n)=>m(t+n,e),sub:(t,n)=>m(t-n,e),mul:(t,n)=>m(t*n,e),pow:(e,t)=>(function(e,t,n){if(n<u)throw Error("Expected power > 0");if(n===u)return e.ONE;if(n===l)return t;let r=e.ONE,o=t;for(;n>u;)n&l&&(r=e.mul(r,o)),o=e.sqr(o),n>>=l;return r})(s,e,t),div:(t,n)=>m(t*b(n,e),e),sqrN:e=>e*e,addN:(e,t)=>e+t,subN:(e,t)=>e-t,mulN:(e,t)=>e*t,inv:t=>b(t,e),sqrt:r.sqrt||(e=>a(s,e)),invertBatch:e=>(function(e,t){let n=Array(t.length),r=t.reduce((t,r,o)=>e.is0(r)?t:(n[o]=t,e.mul(t,r)),e.ONE),o=e.inv(r);return t.reduceRight((t,r,o)=>e.is0(r)?t:(n[o]=e.mul(t,n[o]),e.mul(t,r)),o),n})(s,e),cmov:(e,t,n)=>n?t:e,toBytes:e=>n?(0,c.S5)(e,i):(0,c.tL)(e,i),fromBytes:e=>{if(e.length!==i)throw Error(`Fp.fromBytes: expected ${i}, got ${e.length}`);return n?(0,c.ty)(e):(0,c.bytesToNumberBE)(e)}});return Object.freeze(s)}function C(e){if("bigint"!=typeof e)throw Error("field order must be bigint");return Math.ceil(e.toString(2).length/8)}function E(e){let t=C(e);return t+Math.ceil(t/2)}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */let x=BigInt(0),B=BigInt(1),k=new WeakMap,I=new WeakMap;function P(e){return!function(e){let t=y.reduce((e,t)=>(e[t]="function",e),{ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"});(0,c.FF)(e,t)}(e.Fp),(0,c.FF)(e,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...A(e.n,e.nBitLength),...e,p:e.Fp.ORDER})}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */function N(e){void 0!==e.lowS&&(0,c.uw)("lowS",e.lowS),void 0!==e.prehash&&(0,c.uw)("prehash",e.prehash)}let{bytesToNumberBE:F,hexToBytes:R}=c,M={Err:class extends Error{constructor(e=""){super(e)}},_tlv:{encode:(e,t)=>{let{Err:n}=M;if(e<0||e>256)throw new n("tlv.encode: wrong tag");if(1&t.length)throw new n("tlv.encode: unpadded data");let r=t.length/2,o=c.uz(r);if(o.length/2&128)throw new n("tlv.encode: long form length too big");let i=r>127?c.uz(o.length/2|128):"";return`${c.uz(e)}${i}${o}${t}`},decode(e,t){let{Err:n}=M,r=0;if(e<0||e>256)throw new n("tlv.encode: wrong tag");if(t.length<2||t[r++]!==e)throw new n("tlv.decode: wrong tlv");let o=t[r++],i=0;if(128&o){let e=127&o;if(!e)throw new n("tlv.decode(long): indefinite length not supported");if(e>4)throw new n("tlv.decode(long): byte length is too big");let a=t.subarray(r,r+e);if(a.length!==e)throw new n("tlv.decode: length bytes not complete");if(0===a[0])throw new n("tlv.decode(long): zero leftmost byte");for(let e of a)i=i<<8|e;if(r+=e,i<128)throw new n("tlv.decode(long): not minimal encoding")}else i=o;let a=t.subarray(r,r+i);if(a.length!==i)throw new n("tlv.decode: wrong value length");return{v:a,l:t.subarray(r+i)}}},_int:{encode(e){let{Err:t}=M;if(e<S)throw new t("integer: negative integers are not allowed");let n=c.uz(e);if(8&Number.parseInt(n[0],16)&&(n="00"+n),1&n.length)throw new t("unexpected assertion");return n},decode(e){let{Err:t}=M;if(128&e[0])throw new t("Invalid signature integer: negative");if(0===e[0]&&!(128&e[1]))throw new t("Invalid signature integer: unnecessary leading zero");return F(e)}},toSig(e){let{Err:t,_int:n,_tlv:r}=M,o="string"==typeof e?R(e):e;c.gk(o);let{v:i,l:a}=r.decode(48,o);if(a.length)throw new t("Invalid signature: left bytes after parsing");let{v:s,l:u}=r.decode(2,i),{v:l,l:d}=r.decode(2,u);if(d.length)throw new t("Invalid signature: left bytes after parsing");return{r:n.decode(s),s:n.decode(l)}},hexFromSig(e){let{_tlv:t,_int:n}=M,r=`${t.encode(2,n.encode(e.r))}${t.encode(2,n.encode(e.s))}`;return t.encode(48,r)}},S=BigInt(0),T=BigInt(1),O=(BigInt(2),BigInt(3));BigInt(4);/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */let D=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),L=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),Q=BigInt(1),q=BigInt(2),U=(e,t)=>(e+t/q)/t,G=v(D,void 0,void 0,{sqrt:function(e){let t=BigInt(3),n=BigInt(6),r=BigInt(11),o=BigInt(22),i=BigInt(23),a=BigInt(44),s=BigInt(88),c=e*e*e%D,u=c*c*e%D,l=g(u,t,D)*u%D,d=g(l,t,D)*u%D,f=g(d,q,D)*c%D,p=g(f,r,D)*f%D,h=g(p,o,D)*p%D,w=g(h,a,D)*h%D,m=g(w,s,D)*w%D,b=g(m,a,D)*h%D,y=g(b,t,D)*u%D,A=g(y,i,D)*p%D,v=g(A,n,D)*c%D,C=g(v,q,D);if(!G.eql(G.sqr(C),e))throw Error("Cannot find square root");return C}}),W=function(e,t){let n=t=>(function(e){let t=function(e){let t=P(e);return c.FF(t,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...t})}(e),{Fp:n,n:r}=t,o=n.BYTES+1,i=2*n.BYTES+1;function a(e){return m(e,r)}let{ProjectivePoint:s,normPrivateKeyToScalar:u,weierstrassEquation:d,isWithinCurveOrder:f}=function(e){let t=function(e){let t=P(e);c.FF(t,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});let{endo:n,Fp:r,a:o}=t;if(n){if(!r.eql(o,r.ZERO))throw Error("Endomorphism can only be defined for Koblitz curves that have a=0");if("object"!=typeof n||"bigint"!=typeof n.beta||"function"!=typeof n.splitScalar)throw Error("Expected endomorphism with beta: bigint and splitScalar: function")}return Object.freeze({...t})}(e),{Fp:n}=t,r=v(t.n,t.nBitLength),o=t.toBytes||((e,t,r)=>{let o=t.toAffine();return c.eV(Uint8Array.from([4]),n.toBytes(o.x),n.toBytes(o.y))}),i=t.fromBytes||(e=>{let t=e.subarray(1);return{x:n.fromBytes(t.subarray(0,n.BYTES)),y:n.fromBytes(t.subarray(n.BYTES,2*n.BYTES))}});function a(e){let{a:r,b:o}=t,i=n.sqr(e),a=n.mul(i,e);return n.add(n.add(a,n.mul(e,r)),o)}if(!n.eql(n.sqr(t.Gy),a(t.Gx)))throw Error("bad generator point: equation left != right");function s(e){let n;let{allowedPrivateKeyLengths:r,nByteLength:o,wrapPrivateKey:i,n:a}=t;if(r&&"bigint"!=typeof e){if(c._t(e)&&(e=c.ci(e)),"string"!=typeof e||!r.includes(e.length))throw Error("Invalid key");e=e.padStart(2*o,"0")}try{n="bigint"==typeof e?e:c.bytesToNumberBE((0,c.ql)("private key",e,o))}catch(t){throw Error(`private key must be ${o} bytes, hex or bigint, not ${typeof e}`)}return i&&(n=m(n,a)),c.Fy("private key",n,T,a),n}function u(e){if(!(e instanceof f))throw Error("ProjectivePoint expected")}let l=(0,c.H9)((e,t)=>{let{px:r,py:o,pz:i}=e;if(n.eql(i,n.ONE))return{x:r,y:o};let a=e.is0();null==t&&(t=a?n.ONE:n.inv(i));let s=n.mul(r,t),c=n.mul(o,t),u=n.mul(i,t);if(a)return{x:n.ZERO,y:n.ZERO};if(!n.eql(u,n.ONE))throw Error("invZ was invalid");return{x:s,y:c}}),d=(0,c.H9)(e=>{if(e.is0()){if(t.allowInfinityPoint&&!n.is0(e.py))return;throw Error("bad point: ZERO")}let{x:r,y:o}=e.toAffine();if(!n.isValid(r)||!n.isValid(o))throw Error("bad point: x or y not FE");let i=n.sqr(o),s=a(r);if(!n.eql(i,s))throw Error("bad point: equation left != right");if(!e.isTorsionFree())throw Error("bad point: not in prime-order subgroup");return!0});class f{constructor(e,t,r){if(this.px=e,this.py=t,this.pz=r,null==e||!n.isValid(e))throw Error("x required");if(null==t||!n.isValid(t))throw Error("y required");if(null==r||!n.isValid(r))throw Error("z required");Object.freeze(this)}static fromAffine(e){let{x:t,y:r}=e||{};if(!e||!n.isValid(t)||!n.isValid(r))throw Error("invalid affine point");if(e instanceof f)throw Error("projective point not allowed");let o=e=>n.eql(e,n.ZERO);return o(t)&&o(r)?f.ZERO:new f(t,r,n.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(e){let t=n.invertBatch(e.map(e=>e.pz));return e.map((e,n)=>e.toAffine(t[n])).map(f.fromAffine)}static fromHex(e){let t=f.fromAffine(i((0,c.ql)("pointHex",e)));return t.assertValidity(),t}static fromPrivateKey(e){return f.BASE.multiply(s(e))}static msm(e,t){return function(e,t,n,r){if(!Array.isArray(n)||!Array.isArray(r)||r.length!==n.length)throw Error("arrays of points and scalars must have equal length");r.forEach((e,n)=>{if(!t.isValid(e))throw Error(`wrong scalar at index ${n}`)}),n.forEach((t,n)=>{if(!(t instanceof e))throw Error(`wrong point at index ${n}`)});let o=(0,c.Dd)(BigInt(n.length)),i=o>12?o-3:o>4?o-2:o?2:1,a=(1<<i)-1,s=Array(a+1).fill(e.ZERO),u=Math.floor((t.BITS-1)/i)*i,l=e.ZERO;for(let t=u;t>=0;t-=i){s.fill(e.ZERO);for(let e=0;e<r.length;e++){let o=Number(r[e]>>BigInt(t)&BigInt(a));s[o]=s[o].add(n[e])}let o=e.ZERO;for(let t=s.length-1,n=e.ZERO;t>0;t--)n=n.add(s[t]),o=o.add(n);if(l=l.add(o),0!==t)for(let e=0;e<i;e++)l=l.double()}return l}(f,r,e,t)}_setWindowSize(e){h.setWindowSize(this,e)}assertValidity(){d(this)}hasEvenY(){let{y:e}=this.toAffine();if(n.isOdd)return!n.isOdd(e);throw Error("Field doesn't support isOdd")}equals(e){u(e);let{px:t,py:r,pz:o}=this,{px:i,py:a,pz:s}=e,c=n.eql(n.mul(t,s),n.mul(i,o)),l=n.eql(n.mul(r,s),n.mul(a,o));return c&&l}negate(){return new f(this.px,n.neg(this.py),this.pz)}double(){let{a:e,b:r}=t,o=n.mul(r,O),{px:i,py:a,pz:s}=this,c=n.ZERO,u=n.ZERO,l=n.ZERO,d=n.mul(i,i),p=n.mul(a,a),h=n.mul(s,s),w=n.mul(i,a);return w=n.add(w,w),l=n.mul(i,s),l=n.add(l,l),c=n.mul(e,l),u=n.mul(o,h),u=n.add(c,u),c=n.sub(p,u),u=n.add(p,u),u=n.mul(c,u),c=n.mul(w,c),l=n.mul(o,l),h=n.mul(e,h),w=n.sub(d,h),w=n.mul(e,w),w=n.add(w,l),l=n.add(d,d),d=n.add(l,d),d=n.add(d,h),d=n.mul(d,w),u=n.add(u,d),h=n.mul(a,s),h=n.add(h,h),d=n.mul(h,w),c=n.sub(c,d),l=n.mul(h,p),l=n.add(l,l),new f(c,u,l=n.add(l,l))}add(e){u(e);let{px:r,py:o,pz:i}=this,{px:a,py:s,pz:c}=e,l=n.ZERO,d=n.ZERO,p=n.ZERO,h=t.a,w=n.mul(t.b,O),m=n.mul(r,a),g=n.mul(o,s),b=n.mul(i,c),y=n.add(r,o),A=n.add(a,s);y=n.mul(y,A),A=n.add(m,g),y=n.sub(y,A),A=n.add(r,i);let v=n.add(a,c);return A=n.mul(A,v),v=n.add(m,b),A=n.sub(A,v),v=n.add(o,i),l=n.add(s,c),v=n.mul(v,l),l=n.add(g,b),v=n.sub(v,l),p=n.mul(h,A),l=n.mul(w,b),p=n.add(l,p),l=n.sub(g,p),p=n.add(g,p),d=n.mul(l,p),g=n.add(m,m),g=n.add(g,m),b=n.mul(h,b),A=n.mul(w,A),g=n.add(g,b),b=n.sub(m,b),b=n.mul(h,b),A=n.add(A,b),m=n.mul(g,A),d=n.add(d,m),m=n.mul(v,A),l=n.mul(y,l),l=n.sub(l,m),m=n.mul(y,g),p=n.mul(v,p),new f(l,d,p=n.add(p,m))}subtract(e){return this.add(e.negate())}is0(){return this.equals(f.ZERO)}wNAF(e){return h.wNAFCached(this,e,f.normalizeZ)}multiplyUnsafe(e){c.Fy("scalar",e,S,t.n);let r=f.ZERO;if(e===S)return r;if(e===T)return this;let{endo:o}=t;if(!o)return h.unsafeLadder(this,e);let{k1neg:i,k1:a,k2neg:s,k2:u}=o.splitScalar(e),l=r,d=r,p=this;for(;a>S||u>S;)a&T&&(l=l.add(p)),u&T&&(d=d.add(p)),p=p.double(),a>>=T,u>>=T;return i&&(l=l.negate()),s&&(d=d.negate()),d=new f(n.mul(d.px,o.beta),d.py,d.pz),l.add(d)}multiply(e){let r,o;let{endo:i,n:a}=t;if(c.Fy("scalar",e,T,a),i){let{k1neg:t,k1:a,k2neg:s,k2:c}=i.splitScalar(e),{p:u,f:l}=this.wNAF(a),{p:d,f:p}=this.wNAF(c);u=h.constTimeNegate(t,u),d=h.constTimeNegate(s,d),d=new f(n.mul(d.px,i.beta),d.py,d.pz),r=u.add(d),o=l.add(p)}else{let{p:t,f:n}=this.wNAF(e);r=t,o=n}return f.normalizeZ([r,o])[0]}multiplyAndAddUnsafe(e,t,n){let r=f.BASE,o=(e,t)=>t!==S&&t!==T&&e.equals(r)?e.multiply(t):e.multiplyUnsafe(t),i=o(this,t).add(o(e,n));return i.is0()?void 0:i}toAffine(e){return l(this,e)}isTorsionFree(){let{h:e,isTorsionFree:n}=t;if(e===T)return!0;if(n)return n(f,this);throw Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){let{h:e,clearCofactor:n}=t;return e===T?this:n?n(f,this):this.multiplyUnsafe(t.h)}toRawBytes(e=!0){return(0,c.uw)("isCompressed",e),this.assertValidity(),o(f,this,e)}toHex(e=!0){return(0,c.uw)("isCompressed",e),c.ci(this.toRawBytes(e))}}f.BASE=new f(t.Gx,t.Gy,n.ONE),f.ZERO=new f(n.ZERO,n.ONE,n.ZERO);let p=t.nBitLength,h=function(e,t){let n=(e,t)=>{let n=t.negate();return e?n:t},r=e=>{if(!Number.isSafeInteger(e)||e<=0||e>t)throw Error(`Wrong window size=${e}, should be [1..${t}]`)},o=e=>(r(e),{windows:Math.ceil(t/e)+1,windowSize:2**(e-1)});return{constTimeNegate:n,unsafeLadder(t,n){let r=e.ZERO,o=t;for(;n>x;)n&B&&(r=r.add(o)),o=o.double(),n>>=B;return r},precomputeWindow(e,t){let{windows:n,windowSize:r}=o(t),i=[],a=e,s=a;for(let e=0;e<n;e++){s=a,i.push(s);for(let e=1;e<r;e++)s=s.add(a),i.push(s);a=s.double()}return i},wNAF(t,r,i){let{windows:a,windowSize:s}=o(t),c=e.ZERO,u=e.BASE,l=BigInt(2**t-1),d=2**t,f=BigInt(t);for(let e=0;e<a;e++){let t=e*s,o=Number(i&l);i>>=f,o>s&&(o-=d,i+=B);let a=t+Math.abs(o)-1,p=e%2!=0,h=o<0;0===o?u=u.add(n(p,r[t])):c=c.add(n(h,r[a]))}return{p:c,f:u}},wNAFCached(e,t,n){let r=I.get(e)||1,o=k.get(e);return o||(o=this.precomputeWindow(e,r),1!==r&&k.set(e,n(o))),this.wNAF(r,o,t)},setWindowSize(e,t){r(t),I.set(e,t),k.delete(e)}}}(f,t.endo?Math.ceil(p/2):p);return{CURVE:t,ProjectivePoint:f,normPrivateKeyToScalar:s,weierstrassEquation:a,isWithinCurveOrder:function(e){return c.Z2(e,T,t.n)}}}({...t,toBytes(e,t,r){let o=t.toAffine(),i=n.toBytes(o.x),a=c.eV;return((0,c.uw)("isCompressed",r),r)?a(Uint8Array.from([t.hasEvenY()?2:3]),i):a(Uint8Array.from([4]),i,n.toBytes(o.y))},fromBytes(e){let t=e.length,r=e[0],a=e.subarray(1);if(t===o&&(2===r||3===r)){let e;let t=c.bytesToNumberBE(a);if(!c.Z2(t,T,n.ORDER))throw Error("Point is not on curve");let o=d(t);try{e=n.sqrt(o)}catch(e){throw Error("Point is not on curve"+(e instanceof Error?": "+e.message:""))}return(1&r)==1!=((e&T)===T)&&(e=n.neg(e)),{x:t,y:e}}if(t===i&&4===r)return{x:n.fromBytes(a.subarray(0,n.BYTES)),y:n.fromBytes(a.subarray(n.BYTES,2*n.BYTES))};throw Error(`Point of length ${t} was invalid. Expected ${o} compressed bytes or ${i} uncompressed bytes`)}}),p=e=>c.ci(c.tL(e,t.nByteLength)),h=(e,t,n)=>c.bytesToNumberBE(e.slice(t,n));class w{constructor(e,t,n){this.r=e,this.s=t,this.recovery=n,this.assertValidity()}static fromCompact(e){let n=t.nByteLength;return new w(h(e=(0,c.ql)("compactSignature",e,2*n),0,n),h(e,n,2*n))}static fromDER(e){let{r:t,s:n}=M.toSig((0,c.ql)("DER",e));return new w(t,n)}assertValidity(){c.Fy("r",this.r,T,r),c.Fy("s",this.s,T,r)}addRecoveryBit(e){return new w(this.r,this.s,e)}recoverPublicKey(e){let{r:o,s:i,recovery:u}=this,l=A((0,c.ql)("msgHash",e));if(null==u||![0,1,2,3].includes(u))throw Error("recovery id invalid");let d=2===u||3===u?o+t.n:o;if(d>=n.ORDER)throw Error("recovery id 2 or 3 invalid");let f=(1&u)==0?"02":"03",h=s.fromHex(f+p(d)),w=b(d,r),m=a(-l*w),g=a(i*w),y=s.BASE.multiplyAndAddUnsafe(h,m,g);if(!y)throw Error("point at infinify");return y.assertValidity(),y}hasHighS(){return this.s>r>>T}normalizeS(){return this.hasHighS()?new w(this.r,a(-this.s),this.recovery):this}toDERRawBytes(){return c.hexToBytes(this.toDERHex())}toDERHex(){return M.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return c.hexToBytes(this.toCompactHex())}toCompactHex(){return p(this.r)+p(this.s)}}function g(e){let t=c._t(e),n="string"==typeof e,r=(t||n)&&e.length;return t?r===o||r===i:n?r===2*o||r===2*i:e instanceof s}let y=t.bits2int||function(e){let n=c.bytesToNumberBE(e),r=8*e.length-t.nBitLength;return r>0?n>>BigInt(r):n},A=t.bits2int_modN||function(e){return a(y(e))},F=c.dQ(t.nBitLength);function R(e){return c.Fy(`num < 2^${t.nBitLength}`,e,S,F),c.tL(e,t.nByteLength)}let D={lowS:t.lowS,prehash:!1},L={lowS:t.lowS,prehash:!1};return s.BASE._setWindowSize(8),{CURVE:t,getPublicKey:function(e,t=!0){return s.fromPrivateKey(e).toRawBytes(t)},getSharedSecret:function(e,t,n=!0){if(g(e))throw Error("first arg must be private key");if(!g(t))throw Error("second arg must be public key");return s.fromHex(t).multiply(u(e)).toRawBytes(n)},sign:function(e,o,i=D){let{seed:l,k2sig:d}=function(e,o,i=D){if(["recovered","canonical"].some(e=>e in i))throw Error("sign() legacy options not supported");let{hash:l,randomBytes:d}=t,{lowS:p,prehash:h,extraEntropy:m}=i;null==p&&(p=!0),e=(0,c.ql)("msgHash",e),N(i),h&&(e=(0,c.ql)("prehashed msgHash",l(e)));let g=A(e),v=u(o),C=[R(v),R(g)];if(null!=m&&!1!==m){let e=!0===m?d(n.BYTES):m;C.push((0,c.ql)("extraEntropy",e))}return{seed:c.eV(...C),k2sig:function(e){let t=y(e);if(!f(t))return;let n=b(t,r),o=s.BASE.multiply(t).toAffine(),i=a(o.x);if(i===S)return;let c=a(n*a(g+i*v));if(c===S)return;let u=(o.x===i?0:2)|Number(o.y&T),l=c;if(p&&c>r>>T)l=c>r>>T?a(-c):c,u^=1;return new w(i,l,u)}}}(e,o,i);return c.n$(t.hash.outputLen,t.nByteLength,t.hmac)(l,d)},verify:function(e,n,o,i=L){let u,l;if(n=(0,c.ql)("msgHash",n),o=(0,c.ql)("publicKey",o),"strict"in i)throw Error("options.strict was renamed to lowS");N(i);let{lowS:d,prehash:f}=i;try{if("string"==typeof e||c._t(e))try{l=w.fromDER(e)}catch(t){if(!(t instanceof M.Err))throw t;l=w.fromCompact(e)}else if("object"==typeof e&&"bigint"==typeof e.r&&"bigint"==typeof e.s){let{r:t,s:n}=e;l=new w(t,n)}else throw Error("PARSE");u=s.fromHex(o)}catch(e){if("PARSE"===e.message)throw Error("signature must be Signature instance, Uint8Array or hex string");return!1}if(d&&l.hasHighS())return!1;f&&(n=t.hash(n));let{r:p,s:h}=l,m=A(n),g=b(h,r),y=a(m*g),v=a(p*g),C=s.BASE.multiplyAndAddUnsafe(u,y,v)?.toAffine();return!!C&&a(C.x)===p},ProjectivePoint:s,Signature:w,utils:{isValidPrivateKey(e){try{return u(e),!0}catch(e){return!1}},normPrivateKeyToScalar:u,randomPrivateKey:()=>{let e=E(t.n);return function(e,t,n=!1){let r=e.length,o=C(t),i=E(t);if(r<16||r<i||r>1024)throw Error(`expected ${i}-1024 bytes of input, got ${r}`);let a=m(n?(0,c.bytesToNumberBE)(e):(0,c.ty)(e),t-l)+l;return n?(0,c.S5)(a,o):(0,c.tL)(a,o)}(t.randomBytes(e),t.n)},precompute:(e=8,t=s.BASE)=>(t._setWindowSize(e),t.multiply(BigInt(3)),t)}}})({...e,hash:t,hmac:(e,...n)=>s(t,e,(0,i.eV)(...n)),randomBytes:i.O6});return Object.freeze({...n(t),create:n})}({a:BigInt(0),b:BigInt(7),Fp:G,n:L,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:e=>{let t=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),n=-Q*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),r=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),o=BigInt("0x100000000000000000000000000000000"),i=U(t*e,L),a=U(-n*e,L),s=m(e-i*t-a*r,L),c=m(-i*n-a*t,L),u=s>o,l=c>o;if(u&&(s=L-s),l&&(c=L-c),s>o||c>o)throw Error("splitScalar: Endomorphism failed, k="+e);return{k1neg:u,k1:s,k2neg:l,k2:c}}}},r.JQ);BigInt(0),W.ProjectivePoint},56016:function(e,t,n){"use strict";n.d(t,{W:function(){return a}});var r=n(33216),o={blue:{accentColor:"#0E76FD",accentColorForeground:"#FFF"},green:{accentColor:"#1DB847",accentColorForeground:"#FFF"},orange:{accentColor:"#FF801F",accentColorForeground:"#FFF"},pink:{accentColor:"#FF5CA0",accentColorForeground:"#FFF"},purple:{accentColor:"#5F5AFA",accentColorForeground:"#FFF"},red:{accentColor:"#FA423C",accentColorForeground:"#FFF"}},i=o.blue,a=function(){let{accentColor:e=i.accentColor,accentColorForeground:t=i.accentColorForeground,...n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...(0,r.w)(n),colors:{accentColor:e,accentColorForeground:t,actionButtonBorder:"rgba(0, 0, 0, 0.04)",actionButtonBorderMobile:"rgba(0, 0, 0, 0.06)",actionButtonSecondaryBackground:"rgba(0, 0, 0, 0.06)",closeButton:"rgba(60, 66, 66, 0.8)",closeButtonBackground:"rgba(0, 0, 0, 0.06)",connectButtonBackground:"#FFF",connectButtonBackgroundError:"#FF494A",connectButtonInnerBackground:"linear-gradient(0deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.06))",connectButtonText:"#25292E",connectButtonTextError:"#FFF",connectionIndicator:"#30E000",downloadBottomCardBackground:"linear-gradient(126deg, rgba(255, 255, 255, 0) 9.49%, rgba(171, 171, 171, 0.04) 71.04%), #FFFFFF",downloadTopCardBackground:"linear-gradient(126deg, rgba(171, 171, 171, 0.2) 9.49%, rgba(255, 255, 255, 0) 71.04%), #FFFFFF",error:"#FF494A",generalBorder:"rgba(0, 0, 0, 0.06)",generalBorderDim:"rgba(0, 0, 0, 0.03)",menuItemBackground:"rgba(60, 66, 66, 0.1)",modalBackdrop:"rgba(0, 0, 0, 0.3)",modalBackground:"#FFF",modalBorder:"transparent",modalText:"#25292E",modalTextDim:"rgba(60, 66, 66, 0.3)",modalTextSecondary:"rgba(60, 66, 66, 0.6)",profileAction:"#FFF",profileActionHover:"rgba(255, 255, 255, 0.5)",profileForeground:"rgba(60, 66, 66, 0.06)",selectedOptionBorder:"rgba(60, 66, 66, 0.1)",standby:"#FFD641"},shadows:{connectButton:"0px 4px 12px rgba(0, 0, 0, 0.1)",dialog:"0px 8px 32px rgba(0, 0, 0, 0.32)",profileDetailsAction:"0px 2px 6px rgba(37, 41, 46, 0.04)",selectedOption:"0px 2px 6px rgba(0, 0, 0, 0.24)",selectedWallet:"0px 2px 6px rgba(0, 0, 0, 0.12)",walletLogo:"0px 2px 16px rgba(0, 0, 0, 0.16)"}}};a.accentColors=o},33216:function(e,t,n){"use strict";n.d(t,{w:function(){return s}});var r='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',o={rounded:'SFRounded, ui-rounded, "SF Pro Rounded", '.concat(r),system:r},i={large:{actionButton:"9999px",connectButton:"12px",modal:"24px",modalMobile:"28px"},medium:{actionButton:"10px",connectButton:"8px",modal:"16px",modalMobile:"18px"},none:{actionButton:"0px",connectButton:"0px",modal:"0px",modalMobile:"0px"},small:{actionButton:"4px",connectButton:"4px",modal:"8px",modalMobile:"8px"}},a={large:{modalOverlay:"blur(20px)"},none:{modalOverlay:"blur(0px)"},small:{modalOverlay:"blur(4px)"}},s=e=>{let{borderRadius:t="large",fontStack:n="rounded",overlayBlur:r="none"}=e;return{blurs:{modalOverlay:a[r].modalOverlay},fonts:{body:o[n]},radii:{actionButton:i[t].actionButton,connectButton:i[t].connectButton,menuButton:i[t].connectButton,modal:i[t].modal,modalMobile:i[t].modalMobile}}}},54482:function(e,t,n){"use strict";n.d(t,{I:function(){return r}});var r='{\n "connect_wallet": {\n "label": "Connect Wallet",\n "wrong_network": {\n "label": "Wrong network"\n }\n },\n\n "intro": {\n "title": "What is a Wallet?",\n "description": "A wallet is used to send, receive, store, and display digital assets. It\'s also a new way to log in, without needing to create new accounts and passwords on every website.",\n "digital_asset": {\n "title": "A Home for your Digital Assets",\n "description": "Wallets are used to send, receive, store, and display digital assets like Ethereum and NFTs."\n },\n "login": {\n "title": "A New Way to Log In",\n "description": "Instead of creating new accounts and passwords on every website, just connect your wallet."\n },\n "get": {\n "label": "Get a Wallet"\n },\n "learn_more": {\n "label": "Learn More"\n }\n },\n\n "sign_in": {\n "label": "Verify your account",\n "description": "To finish connecting, you must sign a message in your wallet to verify that you are the owner of this account.",\n "message": {\n "send": "Sign message",\n "preparing": "Preparing message...",\n "cancel": "Cancel",\n "preparing_error": "Error preparing message, please retry!"\n },\n "signature": {\n "waiting": "Waiting for signature...",\n "verifying": "Verifying signature...",\n "signing_error": "Error signing message, please retry!",\n "verifying_error": "Error verifying signature, please retry!",\n "oops_error": "Oops, something went wrong!"\n }\n },\n\n "connect": {\n "label": "Connect",\n "title": "Connect a Wallet",\n "new_to_ethereum": {\n "description": "New to Ethereum wallets?",\n "learn_more": {\n "label": "Learn More"\n }\n },\n "learn_more": {\n "label": "Learn more"\n },\n "recent": "Recent",\n "status": {\n "opening": "Opening %{wallet}...",\n "connecting": "Connecting",\n "connect_mobile": "Continue in %{wallet}",\n "not_installed": "%{wallet} is not installed",\n "not_available": "%{wallet} is not available",\n "confirm": "Confirm connection in the extension",\n "confirm_mobile": "Accept connection request in the wallet"\n },\n "secondary_action": {\n "get": {\n "description": "Don\'t have %{wallet}?",\n "label": "GET"\n },\n "install": {\n "label": "INSTALL"\n },\n "retry": {\n "label": "RETRY"\n }\n },\n "walletconnect": {\n "description": {\n "full": "Need the official WalletConnect modal?",\n "compact": "Need the WalletConnect modal?"\n },\n "open": {\n "label": "OPEN"\n }\n }\n },\n\n "connect_scan": {\n "title": "Scan with %{wallet}",\n "fallback_title": "Scan with your phone"\n },\n\n "connector_group": {\n "installed": "Installed",\n "recommended": "Recommended",\n "other": "Other",\n "popular": "Popular",\n "more": "More",\n "others": "Others"\n },\n\n "get": {\n "title": "Get a Wallet",\n "action": {\n "label": "GET"\n },\n "mobile": {\n "description": "Mobile Wallet"\n },\n "extension": {\n "description": "Browser Extension"\n },\n "mobile_and_extension": {\n "description": "Mobile Wallet and Extension"\n },\n "mobile_and_desktop": {\n "description": "Mobile and Desktop Wallet"\n },\n "looking_for": {\n "title": "Not what you\'re looking for?",\n "mobile": {\n "description": "Select a wallet on the main screen to get started with a different wallet provider."\n },\n "desktop": {\n "compact_description": "Select a wallet on the main screen to get started with a different wallet provider.",\n "wide_description": "Select a wallet on the left to get started with a different wallet provider."\n }\n }\n },\n\n "get_options": {\n "title": "Get started with %{wallet}",\n "short_title": "Get %{wallet}",\n "mobile": {\n "title": "%{wallet} for Mobile",\n "description": "Use the mobile wallet to explore the world of Ethereum.",\n "download": {\n "label": "Get the app"\n }\n },\n "extension": {\n "title": "%{wallet} for %{browser}",\n "description": "Access your wallet right from your favorite web browser.",\n "download": {\n "label": "Add to %{browser}"\n }\n },\n "desktop": {\n "title": "%{wallet} for %{platform}",\n "description": "Access your wallet natively from your powerful desktop.",\n "download": {\n "label": "Add to %{platform}"\n }\n }\n },\n\n "get_mobile": {\n "title": "Install %{wallet}",\n "description": "Scan with your phone to download on iOS or Android",\n "continue": {\n "label": "Continue"\n }\n },\n\n "get_instructions": {\n "mobile": {\n "connect": {\n "label": "Connect"\n },\n "learn_more": {\n "label": "Learn More"\n }\n },\n "extension": {\n "refresh": {\n "label": "Refresh"\n },\n "learn_more": {\n "label": "Learn More"\n }\n },\n "desktop": {\n "connect": {\n "label": "Connect"\n },\n "learn_more": {\n "label": "Learn More"\n }\n }\n },\n\n "chains": {\n "title": "Switch Networks",\n "wrong_network": "Wrong network detected, switch or disconnect to continue.",\n "confirm": "Confirm in Wallet",\n "switching_not_supported": "Your wallet does not support switching networks from %{appName}. Try switching networks from within your wallet instead.",\n "switching_not_supported_fallback": "Your wallet does not support switching networks from this app. Try switching networks from within your wallet instead.",\n "disconnect": "Disconnect",\n "connected": "Connected"\n },\n\n "profile": {\n "disconnect": {\n "label": "Disconnect"\n },\n "copy_address": {\n "label": "Copy Address",\n "copied": "Copied!"\n },\n "explorer": {\n "label": "View more on explorer"\n },\n "transactions": {\n "description": "%{appName} transactions will appear here...",\n "description_fallback": "Your transactions will appear here...",\n "recent": {\n "title": "Recent Transactions"\n },\n "clear": {\n "label": "Clear All"\n }\n }\n },\n\n "wallet_connectors": {\n "argent": {\n "qr_code": {\n "step1": {\n "description": "Put Argent on your home screen for faster access to your wallet.",\n "title": "Open the Argent app"\n },\n "step2": {\n "description": "Create a wallet and username, or import an existing wallet.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n "title": "Tap the Scan QR button"\n }\n }\n },\n\n "bifrost": {\n "qr_code": {\n "step1": {\n "description": "We recommend putting Bifrost Wallet on your home screen for quicker access.",\n "title": "Open the Bifrost Wallet app"\n },\n "step2": {\n "description": "Create or import a wallet using your recovery phrase.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n "title": "Tap the scan button"\n }\n }\n },\n\n "bitget": {\n "qr_code": {\n "step1": {\n "description": "We recommend putting Bitget Wallet on your home screen for quicker access.",\n "title": "Open the Bitget Wallet app"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n "title": "Tap the scan button"\n }\n },\n\n "extension": {\n "step1": {\n "description": "We recommend pinning Bitget Wallet to your taskbar for quicker access to your wallet.",\n "title": "Install the Bitget Wallet extension"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n "title": "Refresh your browser"\n }\n }\n },\n\n "bitski": {\n "extension": {\n "step1": {\n "description": "We recommend pinning Bitski to your taskbar for quicker access to your wallet.",\n "title": "Install the Bitski extension"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n "title": "Refresh your browser"\n }\n }\n },\n\n "bitverse": {\n "qr_code": {\n "step1": {\n "title": "Open the Bitverse Wallet app",\n "description": "Add Bitverse Wallet to your home screen for faster access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Tap the QR icon and scan",\n "description": "Tap the QR icon on your homescreen, scan the code and confirm the prompt to connect."\n }\n }\n },\n\n "bloom": {\n "desktop": {\n "step1": {\n "title": "Open the Bloom Wallet app",\n "description": "We recommend putting Bloom Wallet on your home screen for quicker access."\n },\n "step2": {\n "description": "Create or import a wallet using your recovery phrase.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you have a wallet, click on Connect to connect via Bloom. A connection prompt in the app will appear for you to confirm the connection.",\n "title": "Click on Connect"\n }\n }\n },\n\n "bybit": {\n "qr_code": {\n "step1": {\n "description": "We recommend putting Bybit on your home screen for faster access to your wallet.",\n "title": "Open the Bybit app"\n },\n "step2": {\n "description": "You can easily backup your wallet using our backup feature on your phone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n "title": "Tap the scan button"\n }\n },\n\n "extension": {\n "step1": {\n "description": "Click at the top right of your browser and pin Bybit Wallet for easy access.",\n "title": "Install the Bybit Wallet extension"\n },\n "step2": {\n "description": "Create a new wallet or import an existing one.",\n "title": "Create or Import a wallet"\n },\n "step3": {\n "description": "Once you set up Bybit Wallet, click below to refresh the browser and load up the extension.",\n "title": "Refresh your browser"\n }\n }\n },\n\n "binance": {\n "qr_code": {\n "step1": {\n "description": "We recommend putting Binance on your home screen for faster access to your wallet.",\n "title": "Open the Binance app"\n },\n "step2": {\n "description": "You can easily backup your wallet using our backup feature on your phone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n "title": "Tap the WalletConnect button"\n }\n }\n },\n\n "coin98": {\n "qr_code": {\n "step1": {\n "description": "We recommend putting Coin98 Wallet on your home screen for faster access to your wallet.",\n "title": "Open the Coin98 Wallet app"\n },\n "step2": {\n "description": "You can easily backup your wallet using our backup feature on your phone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n "title": "Tap the WalletConnect button"\n }\n },\n\n "extension": {\n "step1": {\n "description": "Click at the top right of your browser and pin Coin98 Wallet for easy access.",\n "title": "Install the Coin98 Wallet extension"\n },\n "step2": {\n "description": "Create a new wallet or import an existing one.",\n "title": "Create or Import a wallet"\n },\n "step3": {\n "description": "Once you set up Coin98 Wallet, click below to refresh the browser and load up the extension.",\n "title": "Refresh your browser"\n }\n }\n },\n\n "coinbase": {\n "qr_code": {\n "step1": {\n "description": "We recommend putting Coinbase Wallet on your home screen for quicker access.",\n "title": "Open the Coinbase Wallet app"\n },\n "step2": {\n "description": "You can easily backup your wallet using the cloud backup feature.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n "title": "Tap the scan button"\n }\n },\n\n "extension": {\n "step1": {\n "description": "We recommend pinning Coinbase Wallet to your taskbar for quicker access to your wallet.",\n "title": "Install the Coinbase Wallet extension"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n "title": "Refresh your browser"\n }\n }\n },\n\n "compass": {\n "extension": {\n "step1": {\n "description": "We recommend pinning Compass Wallet to your taskbar for quicker access to your wallet.",\n "title": "Install the Compass Wallet extension"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n "title": "Refresh your browser"\n }\n }\n },\n\n "core": {\n "qr_code": {\n "step1": {\n "description": "We recommend putting Core on your home screen for faster access to your wallet.",\n "title": "Open the Core app"\n },\n "step2": {\n "description": "You can easily backup your wallet using our backup feature on your phone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n "title": "Tap the WalletConnect button"\n }\n },\n\n "extension": {\n "step1": {\n "description": "We recommend pinning Core to your taskbar for quicker access to your wallet.",\n "title": "Install the Core extension"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n "title": "Refresh your browser"\n }\n }\n },\n\n "fox": {\n "qr_code": {\n "step1": {\n "description": "We recommend putting FoxWallet on your home screen for quicker access.",\n "title": "Open the FoxWallet app"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n "title": "Tap the scan button"\n }\n }\n },\n\n "frontier": {\n "qr_code": {\n "step1": {\n "description": "We recommend putting Frontier Wallet on your home screen for quicker access.",\n "title": "Open the Frontier Wallet app"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n "title": "Tap the scan button"\n }\n },\n\n "extension": {\n "step1": {\n "description": "We recommend pinning Frontier Wallet to your taskbar for quicker access to your wallet.",\n "title": "Install the Frontier Wallet extension"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n "title": "Refresh your browser"\n }\n }\n },\n\n "im_token": {\n "qr_code": {\n "step1": {\n "title": "Open the imToken app",\n "description": "Put imToken app on your home screen for faster access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Tap Scanner Icon in top right corner",\n "description": "Choose New Connection, then scan the QR code and confirm the prompt to connect."\n }\n }\n },\n\n "iopay": {\n "qr_code": {\n "step1": {\n "description": "We recommend putting ioPay on your home screen for faster access to your wallet.",\n "title": "Open the ioPay app"\n },\n "step2": {\n "description": "You can easily backup your wallet using our backup feature on your phone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n "title": "Tap the WalletConnect button"\n }\n }\n },\n\n "kaikas": {\n "extension": {\n "step1": {\n "description": "We recommend pinning Kaikas to your taskbar for quicker access to your wallet.",\n "title": "Install the Kaikas extension"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n "title": "Refresh your browser"\n }\n },\n "qr_code": {\n "step1": {\n "title": "Open the Kaikas app",\n "description": "Put Kaikas app on your home screen for faster access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Tap Scanner Icon in top right corner",\n "description": "Choose New Connection, then scan the QR code and confirm the prompt to connect."\n }\n }\n },\n\n "kaia": {\n "extension": {\n "step1": {\n "description": "We recommend pinning Kaia to your taskbar for quicker access to your wallet.",\n "title": "Install the Kaia extension"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n "title": "Refresh your browser"\n }\n },\n "qr_code": {\n "step1": {\n "title": "Open the Kaia app",\n "description": "Put Kaia app on your home screen for faster access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Tap Scanner Icon in top right corner",\n "description": "Choose New Connection, then scan the QR code and confirm the prompt to connect."\n }\n }\n },\n\n "kraken": {\n "qr_code": {\n "step1": {\n "title": "Open the Kraken Wallet app",\n "description": "Add Kraken Wallet to your home screen for faster access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Tap the QR icon and scan",\n "description": "Tap the QR icon on your homescreen, scan the code and confirm the prompt to connect."\n }\n }\n },\n\n "kresus": {\n "qr_code": {\n "step1": {\n "title": "Open the Kresus Wallet app",\n "description": "Add Kresus Wallet to your home screen for faster access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Tap the QR icon and scan",\n "description": "Tap the QR icon on your homescreen, scan the code and confirm the prompt to connect."\n }\n }\n },\n\n "magicEden": {\n "extension": {\n "step1": {\n "title": "Install the Magic Eden extension",\n "description": "We recommend pinning Magic Eden to your taskbar for easier access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret recovery phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "metamask": {\n "qr_code": {\n "step1": {\n "title": "Open the MetaMask app",\n "description": "We recommend putting MetaMask on your home screen for quicker access."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Tap the scan button",\n "description": "After you scan, a connection prompt will appear for you to connect your wallet."\n }\n },\n\n "extension": {\n "step1": {\n "title": "Install the MetaMask extension",\n "description": "We recommend pinning MetaMask to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "nestwallet": {\n "extension": {\n "step1": {\n "title": "Install the NestWallet extension",\n "description": "We recommend pinning NestWallet to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "okx": {\n "qr_code": {\n "step1": {\n "title": "Open the OKX Wallet app",\n "description": "We recommend putting OKX Wallet on your home screen for quicker access."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Tap the scan button",\n "description": "After you scan, a connection prompt will appear for you to connect your wallet."\n }\n },\n\n "extension": {\n "step1": {\n "title": "Install the OKX Wallet extension",\n "description": "We recommend pinning OKX Wallet to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "omni": {\n "qr_code": {\n "step1": {\n "title": "Open the Omni app",\n "description": "Add Omni to your home screen for faster access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Tap the QR icon and scan",\n "description": "Tap the QR icon on your home screen, scan the code and confirm the prompt to connect."\n }\n }\n },\n\n "1inch": {\n "qr_code": {\n "step1": {\n "description": "Put 1inch Wallet on your home screen for faster access to your wallet.",\n "title": "Open the 1inch Wallet app"\n },\n "step2": {\n "description": "Create a wallet and username, or import an existing wallet.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n "title": "Tap the Scan QR button"\n }\n }\n },\n\n "token_pocket": {\n "qr_code": {\n "step1": {\n "title": "Open the TokenPocket app",\n "description": "We recommend putting TokenPocket on your home screen for quicker access."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Tap the scan button",\n "description": "After you scan, a connection prompt will appear for you to connect your wallet."\n }\n },\n\n "extension": {\n "step1": {\n "title": "Install the TokenPocket extension",\n "description": "We recommend pinning TokenPocket to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "trust": {\n "qr_code": {\n "step1": {\n "title": "Open the Trust Wallet app",\n "description": "Put Trust Wallet on your home screen for faster access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Tap WalletConnect in Settings",\n "description": "Choose New Connection, then scan the QR code and confirm the prompt to connect."\n }\n },\n\n "extension": {\n "step1": {\n "title": "Install the Trust Wallet extension",\n "description": "Click at the top right of your browser and pin Trust Wallet for easy access."\n },\n "step2": {\n "title": "Create or Import a wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up Trust Wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "uniswap": {\n "qr_code": {\n "step1": {\n "title": "Open the Uniswap app",\n "description": "Add Uniswap Wallet to your home screen for faster access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Tap the QR icon and scan",\n "description": "Tap the QR icon on your homescreen, scan the code and confirm the prompt to connect."\n }\n }\n },\n\n "zerion": {\n "qr_code": {\n "step1": {\n "title": "Open the Zerion app",\n "description": "We recommend putting Zerion on your home screen for quicker access."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Tap the scan button",\n "description": "After you scan, a connection prompt will appear for you to connect your wallet."\n }\n },\n\n "extension": {\n "step1": {\n "title": "Install the Zerion extension",\n "description": "We recommend pinning Zerion to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "rainbow": {\n "qr_code": {\n "step1": {\n "title": "Open the Rainbow app",\n "description": "We recommend putting Rainbow on your home screen for faster access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "You can easily backup your wallet using our backup feature on your phone."\n },\n "step3": {\n "title": "Tap the scan button",\n "description": "After you scan, a connection prompt will appear for you to connect your wallet."\n }\n }\n },\n\n "enkrypt": {\n "extension": {\n "step1": {\n "description": "We recommend pinning Enkrypt Wallet to your taskbar for quicker access to your wallet.",\n "title": "Install the Enkrypt Wallet extension"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n "title": "Refresh your browser"\n }\n }\n },\n\n "frame": {\n "extension": {\n "step1": {\n "description": "We recommend pinning Frame to your taskbar for quicker access to your wallet.",\n "title": "Install Frame & the companion extension"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n "title": "Refresh your browser"\n }\n }\n },\n\n "one_key": {\n "extension": {\n "step1": {\n "title": "Install the OneKey Wallet extension",\n "description": "We recommend pinning OneKey Wallet to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "phantom": {\n "extension": {\n "step1": {\n "title": "Install the Phantom extension",\n "description": "We recommend pinning Phantom to your taskbar for easier access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret recovery phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "rabby": {\n "extension": {\n "step1": {\n "title": "Install the Rabby extension",\n "description": "We recommend pinning Rabby to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "ronin": {\n "qr_code": {\n "step1": {\n "description": "We recommend putting Ronin Wallet on your home screen for quicker access.",\n "title": "Open the Ronin Wallet app"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n "title": "Tap the scan button"\n }\n },\n\n "extension": {\n "step1": {\n "description": "We recommend pinning Ronin Wallet to your taskbar for quicker access to your wallet.",\n "title": "Install the Ronin Wallet extension"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n "title": "Refresh your browser"\n }\n }\n },\n\n "ramper": {\n "extension": {\n "step1": {\n "title": "Install the Ramper extension",\n "description": "We recommend pinning Ramper to your taskbar for easier access to your wallet."\n },\n "step2": {\n "title": "Create a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "safeheron": {\n "extension": {\n "step1": {\n "title": "Install the Core extension",\n "description": "We recommend pinning Safeheron to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "taho": {\n "extension": {\n "step1": {\n "title": "Install the Taho extension",\n "description": "We recommend pinning Taho to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "talisman": {\n "extension": {\n "step1": {\n "title": "Install the Talisman extension",\n "description": "We recommend pinning Talisman to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import an Ethereum Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your recovery phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "xdefi": {\n "extension": {\n "step1": {\n "title": "Install the XDEFI Wallet extension",\n "description": "We recommend pinning XDEFI Wallet to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "zeal": {\n "qr_code": {\n "step1": {\n "title": "Open the Zeal app",\n "description": "Add Zeal Wallet to your home screen for faster access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Tap the QR icon and scan",\n "description": "Tap the QR icon on your homescreen, scan the code and confirm the prompt to connect."\n }\n },\n "extension": {\n "step1": {\n "title": "Install the Zeal extension",\n "description": "We recommend pinning Zeal to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "safepal": {\n "extension": {\n "step1": {\n "title": "Install the SafePal Wallet extension",\n "description": "Click at the top right of your browser and pin SafePal Wallet for easy access."\n },\n "step2": {\n "title": "Create or Import a wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up SafePal Wallet, click below to refresh the browser and load up the extension."\n }\n },\n "qr_code": {\n "step1": {\n "title": "Open the SafePal Wallet app",\n "description": "Put SafePal Wallet on your home screen for faster access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Tap WalletConnect in Settings",\n "description": "Choose New Connection, then scan the QR code and confirm the prompt to connect."\n }\n }\n },\n\n "desig": {\n "extension": {\n "step1": {\n "title": "Install the Desig extension",\n "description": "We recommend pinning Desig to your taskbar for easier access to your wallet."\n },\n "step2": {\n "title": "Create a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "subwallet": {\n "extension": {\n "step1": {\n "title": "Install the SubWallet extension",\n "description": "We recommend pinning SubWallet to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your recovery phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n },\n "qr_code": {\n "step1": {\n "title": "Open the SubWallet app",\n "description": "We recommend putting SubWallet on your home screen for quicker access."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Tap the scan button",\n "description": "After you scan, a connection prompt will appear for you to connect your wallet."\n }\n }\n },\n\n "clv": {\n "extension": {\n "step1": {\n "title": "Install the CLV Wallet extension",\n "description": "We recommend pinning CLV Wallet to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n },\n "qr_code": {\n "step1": {\n "title": "Open the CLV Wallet app",\n "description": "We recommend putting CLV Wallet on your home screen for quicker access."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Tap the scan button",\n "description": "After you scan, a connection prompt will appear for you to connect your wallet."\n }\n }\n },\n\n "okto": {\n "qr_code": {\n "step1": {\n "title": "Open the Okto app",\n "description": "Add Okto to your home screen for quick access"\n },\n "step2": {\n "title": "Create an MPC Wallet",\n "description": "Create an account and generate a wallet"\n },\n "step3": {\n "title": "Tap WalletConnect in Settings",\n "description": "Tap the Scan QR icon at the top right and confirm the prompt to connect."\n }\n }\n },\n\n "ledger": {\n "desktop": {\n "step1": {\n "title": "Open the Ledger Live app",\n "description": "We recommend putting Ledger Live on your home screen for quicker access."\n },\n "step2": {\n "title": "Set up your Ledger",\n "description": "Set up a new Ledger or connect to an existing one."\n },\n "step3": {\n "title": "Connect",\n "description": "A connection prompt will appear for you to connect your wallet."\n }\n },\n "qr_code": {\n "step1": {\n "title": "Open the Ledger Live app",\n "description": "We recommend putting Ledger Live on your home screen for quicker access."\n },\n "step2": {\n "title": "Set up your Ledger",\n "description": "You can either sync with the desktop app or connect your Ledger."\n },\n "step3": {\n "title": "Scan the code",\n "description": "Tap WalletConnect then Switch to Scanner. After you scan, a connection prompt will appear for you to connect your wallet."\n }\n }\n },\n\n "valora": {\n "qr_code": {\n "step1": {\n "title": "Open the Valora app",\n "description": "We recommend putting Valora on your home screen for quicker access."\n },\n "step2": {\n "title": "Create or import a wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Tap the scan button",\n "description": "After you scan, a connection prompt will appear for you to connect your wallet."\n }\n }\n }\n }\n}\n'},77202:function(e,t,n){"use strict";n.d(t,{R:function(){return s},m:function(){return a}});var r=n(66714),o=n(39887),i=n(28066),a=class extends o.F{#e;#t;#n;constructor(e){super(),this.mutationId=e.mutationId,this.#t=e.mutationCache,this.#e=[],this.state=e.state||s(),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.#e.includes(e)||(this.#e.push(e),this.clearGcTimeout(),this.#t.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#e=this.#e.filter(t=>t!==e),this.scheduleGc(),this.#t.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#e.length||("pending"===this.state.status?this.scheduleGc():this.#t.remove(this))}continue(){return this.#n?.continue()??this.execute(this.state.variables)}async execute(e){this.#n=(0,i.Mz)({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(Error("No mutationFn found")),onFail:(e,t)=>{this.#r({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#r({type:"pause"})},onContinue:()=>{this.#r({type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#t.canRun(this)});let t="pending"===this.state.status,n=!this.#n.canStart();try{if(!t){this.#r({type:"pending",variables:e,isPaused:n}),await this.#t.config.onMutate?.(e,this);let t=await this.options.onMutate?.(e);t!==this.state.context&&this.#r({type:"pending",context:t,variables:e,isPaused:n})}let r=await this.#n.start();return await this.#t.config.onSuccess?.(r,e,this.state.context,this),await this.options.onSuccess?.(r,e,this.state.context),await this.#t.config.onSettled?.(r,null,this.state.variables,this.state.context,this),await this.options.onSettled?.(r,null,e,this.state.context),this.#r({type:"success",data:r}),r}catch(t){try{throw await this.#t.config.onError?.(t,e,this.state.context,this),await this.options.onError?.(t,e,this.state.context),await this.#t.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this),await this.options.onSettled?.(void 0,t,e,this.state.context),t}finally{this.#r({type:"error",error:t})}}finally{this.#t.runNext(this)}}#r(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"pending":return{...t,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{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),r.V.batch(()=>{this.#e.forEach(t=>{t.onMutationUpdate(e)}),this.#t.notify({mutation:this,type:"updated",action:e})})}};function s(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}},28103:function(e,t,n){"use strict";n.d(t,{D:function(){return d}});var r=n(46760),o=n(77202),i=n(66714),a=n(52360),s=n(31843),c=class extends a.l{#o;#i=void 0;#a;#s;constructor(e,t){super(),this.#o=e,this.setOptions(t),this.bindMethods(),this.#c()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){let t=this.options;this.options=this.#o.defaultMutationOptions(e),(0,s.VS)(this.options,t)||this.#o.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#a,observer:this}),t?.mutationKey&&this.options.mutationKey&&(0,s.Ym)(t.mutationKey)!==(0,s.Ym)(this.options.mutationKey)?this.reset():this.#a?.state.status==="pending"&&this.#a.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#a?.removeObserver(this)}onMutationUpdate(e){this.#c(),this.#u(e)}getCurrentResult(){return this.#i}reset(){this.#a?.removeObserver(this),this.#a=void 0,this.#c(),this.#u()}mutate(e,t){return this.#s=t,this.#a?.removeObserver(this),this.#a=this.#o.getMutationCache().build(this.#o,this.options),this.#a.addObserver(this),this.#a.execute(e)}#c(){let e=this.#a?.state??(0,o.R)();this.#i={...e,isPending:"pending"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset}}#u(e){i.V.batch(()=>{if(this.#s&&this.hasListeners()){let t=this.#i.variables,n=this.#i.context;e?.type==="success"?(this.#s.onSuccess?.(e.data,t,n),this.#s.onSettled?.(e.data,null,t,n)):e?.type==="error"&&(this.#s.onError?.(e.error,t,n),this.#s.onSettled?.(void 0,e.error,t,n))}this.listeners.forEach(e=>{e(this.#i)})})}},u=n(86655),l=n(24589);function d(e,t){let n=(0,u.NL)(t),[o]=r.useState(()=>new c(n,e));r.useEffect(()=>{o.setOptions(e)},[o,e]);let a=r.useSyncExternalStore(r.useCallback(e=>o.subscribe(i.V.batchCalls(e)),[o]),()=>o.getCurrentResult(),()=>o.getCurrentResult()),s=r.useCallback((e,t)=>{o.mutate(e,t).catch(l.Z)},[o]);if(a.error&&(0,l.L)(o.options.throwOnError,[a.error]))throw a.error;return{...a,mutate:s,mutateAsync:a.mutate}}},67613:function(e,t,n){"use strict";function r(e){let t=e.state.current,n=e.state.connections.get(t),r=n?.accounts,o=r?.[0],i=e.chains.find(e=>e.id===n?.chainId),a=e.state.status;switch(a){case"connected":return{address:o,addresses:r,chain:i,chainId:n?.chainId,connector:n?.connector,isConnected:!0,isConnecting:!1,isDisconnected:!1,isReconnecting:!1,status:a};case"reconnecting":return{address:o,addresses:r,chain:i,chainId:n?.chainId,connector:n?.connector,isConnected:!!o,isConnecting:!1,isDisconnected:!1,isReconnecting:!0,status:a};case"connecting":return{address:o,addresses:r,chain:i,chainId:n?.chainId,connector:n?.connector,isConnected:!1,isConnecting:!0,isDisconnected:!1,isReconnecting:!1,status:a};case"disconnected":return{address:void 0,addresses:void 0,chain:void 0,chainId:void 0,connector:void 0,isConnected:!1,isConnecting:!1,isDisconnected:!0,isReconnecting:!1,status:a}}}n.d(t,{D:function(){return r}})},48792:function(e,t,n){"use strict";n.d(t,{e:function(){return c}});var r=n(82095),o=n(3638),i=n(14428),a=n(46812),s=n(18701);async function c(e,t={}){let n;if(t.connector){let{connector:r}=t;if("reconnecting"===e.state.status&&!r.getAccounts&&!r.getChainId)throw new s.$S({connector:r});let[o,i]=await Promise.all([r.getAccounts(),r.getChainId()]);n={accounts:o,chainId:i,connector:r}}else n=e.state.connections.get(e.state.current);if(!n)throw new s.aH;let c=t.chainId??n.chainId,u=await n.connector.getChainId();if(u!==n.chainId)throw new s.XZ({connectionChainId:n.chainId,connectorChainId:u});let l=n.connector;if(l.getClient)return l.getClient({chainId:c});let d=(0,i.T)(t.account??n.accounts[0]);if(d.address=(0,a.K)(d.address),t.account&&!n.accounts.some(e=>e.toLowerCase()===d.address.toLowerCase()))throw new s.JK({address:d.address,connector:l});let f=e.chains.find(e=>e.id===c),p=await n.connector.getProvider({chainId:c});return(0,r.e)({account:d,chain:f,name:"Connector Client",transport:e=>(function(e,t={}){let{key:n="custom",name:r="Custom Provider",retryDelay:i}=t;return({retryCount:a})=>(0,o.q)({key:n,name:r,request:e.request.bind(e),retryCount:t.retryCount??a,retryDelay:i,type:"custom"})})(p)({...e,retryCount:0})})}},22521:function(e,t,n){"use strict";n.d(t,{L:function(){return i}});var r=n(92262),o=n(84151);function i(e,t){let{chainId:n,...i}=t,a=e.getClient({chainId:n});return(0,o.s)(a,r.L,"readContract")(i)}},59450:function(e,t,n){"use strict";n.d(t,{a:function(){return a}});var r=n(6428),o=n(84151),i=n(48792);async function a(e,t){let n;let{abi:a,chainId:s,connector:c,...u}=t;n=t.account?t.account:(await (0,i.e)(e,{chainId:s,connector:c})).account;let l=e.getClient({chainId:s}),d=(0,o.s)(l,r.a,"simulateContract"),{result:f,request:p}=await d({...u,abi:a,account:n});return{chainId:l.chain.id,result:f,request:{__mode:"prepared",...p,chainId:s}}}},98470:function(e,t,n){"use strict";n.d(t,{e:function(){return c}});var r=n(58435),o=n(28218),i=n(17263),a=n(4815),s=n(84151);async function c(e,t){let{chainId:n,timeout:c=0,...u}=t,l=e.getClient({chainId:n}),d=(0,s.s)(l,o.e,"waitForTransactionReceipt"),f=await d({...u,timeout:c});if("reverted"===f.status){let e=(0,s.s)(l,i.f,"getTransaction"),t=await e({hash:f.transactionHash}),n=(0,s.s)(l,a.R,"call"),o=await n({...t,gasPrice:"eip1559"!==t.type?t.gasPrice:void 0,maxFeePerGas:"eip1559"===t.type?t.maxFeePerGas:void 0,maxPriorityFeePerGas:"eip1559"===t.type?t.maxPriorityFeePerGas:void 0});throw Error(o?.data?(0,r.rR)(`0x${o.data.substring(138)}`):"unknown reason")}return{...f,chainId:l.chain.id}}},88914:function(e,t,n){"use strict";n.d(t,{u:function(){return i}});var r=n(14558),o=n(67613);function i(e,t){let{onChange:n}=t;return e.subscribe(()=>(0,o.D)(e),n,{equalityFn(e,t){let{connector:n,...o}=e,{connector:i,...a}=t;return(0,r.v)(o,a)&&n?.id===i?.id&&n?.uid===i?.uid}})}},18701:function(e,t,n){"use strict";n.d(t,{$S:function(){return u},JK:function(){return s},X4:function(){return o},XZ:function(){return c},aH:function(){return a},wi:function(){return i}});var r=n(30973);class o extends r.G{constructor(){super("Chain not configured."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ChainNotConfiguredError"})}}class i extends r.G{constructor(){super("Connector already connected."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ConnectorAlreadyConnectedError"})}}class a extends r.G{constructor(){super("Connector not connected."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ConnectorNotConnectedError"})}}class s extends r.G{constructor({address:e,connector:t}){super(`Account "${e}" not found for connector "${t.name}".`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ConnectorAccountNotFoundError"})}}class c extends r.G{constructor({connectionChainId:e,connectorChainId:t}){super(`The current chain of the connector (id: ${t}) does not match the connection's chain (id: ${e}).`,{metaMessages:[`Current Chain ID: ${t}`,`Expected Chain ID: ${e}`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ConnectorChainMismatchError"})}}class u extends r.G{constructor({connector:e}){super(`Connector "${e.name}" unavailable while reconnecting.`,{details:"During the reconnection step, the only connector methods guaranteed to be available are: `id`, `name`, `type`, `uuid`. All other methods are not guaranteed to be available until reconnection completes and connectors are fully restored. This error commonly occurs for connectors that asynchronously inject after reconnection has already started."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ConnectorUnavailableReconnectingError"})}}},4858:function(e,t,n){"use strict";n.d(t,{M:function(){return o},O:function(){return i}});var r=n(30973);class o extends r.G{constructor(){super("Provider not found."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ProviderNotFoundError"})}}class i extends r.G{constructor({connector:e}){super(`"${e.name}" does not support programmatic chain switching.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SwitchChainNotSupportedError"})}}},14558:function(e,t,n){"use strict";n.d(t,{v:function(){return function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){let r,o;if(t.constructor!==n.constructor)return!1;if(Array.isArray(t)&&Array.isArray(n)){if((r=t.length)!==n.length)return!1;for(o=r;0!=o--;)if(!e(t[o],n[o]))return!1;return!0}if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();let i=Object.keys(t);if((r=i.length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;0!=o--;){let r=i[o];if(r&&!e(t[r],n[r]))return!1}return!0}return t!=t&&n!=n}}})},14428:function(e,t,n){"use strict";function r(e){return"string"==typeof e?{address:e,type:"json-rpc"}:e}n.d(t,{T:function(){return r}})},6431:function(e,t,n){"use strict";n.d(t,{y:function(){return i}});var r=n(46812),o=n(56026);function i(e){let t=(0,o.w)(`0x${e.substring(4)}`).substring(26);return(0,r.x)(`0x${t}`)}},9756:function(e,t,n){"use strict";n.d(t,{r:function(){return x}});var r=n(92262),o=n(86708);class i extends o.G{constructor({data:e}){super("Unable to extract image from metadata. The metadata may be malformed or invalid.",{metaMessages:["- Metadata must be a JSON object with at least an `image`, `image_url` or `image_data` property.","",`Provided data: ${JSON.stringify(e)}`],name:"EnsAvatarInvalidMetadataError"})}}class a extends o.G{constructor({reason:e}){super(`ENS NFT avatar URI is invalid. ${e}`,{name:"EnsAvatarInvalidNftUriError"})}}class s extends o.G{constructor({uri:e}){super(`Unable to resolve ENS avatar URI "${e}". The URI may be malformed, invalid, or does not respond with a valid image.`,{name:"EnsAvatarUriResolutionError"})}}class c extends o.G{constructor({namespace:e}){super(`ENS NFT avatar namespace "${e}" is not supported. Must be "erc721" or "erc1155".`,{name:"EnsAvatarUnsupportedNamespaceError"})}}let u=/(?<protocol>https?:\/\/[^\/]*|ipfs:\/|ipns:\/|ar:\/)?(?<root>\/)?(?<subpath>ipfs\/|ipns\/)?(?<target>[\w\-.]+)(?<subtarget>\/.*)?/,l=/^(Qm[1-9A-HJ-NP-Za-km-z]{44,}|b[A-Za-z2-7]{58,}|B[A-Z2-7]{58,}|z[1-9A-HJ-NP-Za-km-z]{48,}|F[0-9A-F]{50,})(\/(?<target>[\w\-.]+))?(?<subtarget>\/.*)?$/,d=/^data:([a-zA-Z\-/+]*);base64,([^"].*)/,f=/^data:([a-zA-Z\-/+]*)?(;[a-zA-Z0-9].*?)?(,)/;async function p(e){try{let t=await fetch(e,{method:"HEAD"});if(200===t.status){let e=t.headers.get("content-type");return e?.startsWith("image/")}return!1}catch(t){if("object"==typeof t&&void 0!==t.response||!globalThis.hasOwnProperty("Image"))return!1;return new Promise(t=>{let n=new Image;n.onload=()=>{t(!0)},n.onerror=()=>{t(!1)},n.src=e})}}function h(e,t){return e?e.endsWith("/")?e.slice(0,-1):e:t}function w({uri:e,gatewayUrls:t}){let n=d.test(e);if(n)return{uri:e,isOnChain:!0,isEncoded:n};let r=h(t?.ipfs,"https://ipfs.io"),o=h(t?.arweave,"https://arweave.net"),i=e.match(u),{protocol:a,subpath:c,target:p,subtarget:w=""}=i?.groups||{},m="ipns:/"===a||"ipns/"===c,g="ipfs:/"===a||"ipfs/"===c||l.test(e);if(e.startsWith("http")&&!m&&!g){let n=e;return t?.arweave&&(n=e.replace(/https:\/\/arweave.net/g,t?.arweave)),{uri:n,isOnChain:!1,isEncoded:!1}}if((m||g)&&p)return{uri:`${r}/${m?"ipns":"ipfs"}/${p}${w}`,isOnChain:!1,isEncoded:!1};if("ar:/"===a&&p)return{uri:`${o}/${p}${w||""}`,isOnChain:!1,isEncoded:!1};let b=e.replace(f,"");if(b.startsWith("<svg")&&(b=`data:image/svg+xml;base64,${btoa(b)}`),b.startsWith("data:")||b.startsWith("{"))return{uri:b,isOnChain:!0,isEncoded:!1};throw new s({uri:e})}function m(e){if("object"!=typeof e||!("image"in e)&&!("image_url"in e)&&!("image_data"in e))throw new i({data:e});return e.image||e.image_url||e.image_data}async function g({gatewayUrls:e,uri:t}){try{let n=await fetch(t).then(e=>e.json());return await b({gatewayUrls:e,uri:m(n)})}catch{throw new s({uri:t})}}async function b({gatewayUrls:e,uri:t}){let{uri:n,isOnChain:r}=w({uri:t,gatewayUrls:e});if(r||await p(n))return n;throw new s({uri:t})}async function y(e,{nft:t}){if("erc721"===t.namespace)return(0,r.L)(e,{address:t.contractAddress,abi:[{name:"tokenURI",type:"function",stateMutability:"view",inputs:[{name:"tokenId",type:"uint256"}],outputs:[{name:"",type:"string"}]}],functionName:"tokenURI",args:[BigInt(t.tokenID)]});if("erc1155"===t.namespace)return(0,r.L)(e,{address:t.contractAddress,abi:[{name:"uri",type:"function",stateMutability:"view",inputs:[{name:"_id",type:"uint256"}],outputs:[{name:"",type:"string"}]}],functionName:"uri",args:[BigInt(t.tokenID)]});throw new c({namespace:t.namespace})}async function A(e,{gatewayUrls:t,record:n}){return/eip155:/i.test(n)?v(e,{gatewayUrls:t,record:n}):b({uri:n,gatewayUrls:t})}async function v(e,{gatewayUrls:t,record:n}){let r=function(e){let t=e;t.startsWith("did:nft:")&&(t=t.replace("did:nft:","").replace(/_/g,"/"));let[n,r,o]=t.split("/"),[i,s]=n.split(":"),[c,u]=r.split(":");if(!i||"eip155"!==i.toLowerCase())throw new a({reason:"Only EIP-155 supported"});if(!s)throw new a({reason:"Chain ID not found"});if(!u)throw new a({reason:"Contract address not found"});if(!o)throw new a({reason:"Token ID not found"});if(!c)throw new a({reason:"ERC namespace not found"});return{chainID:Number.parseInt(s),namespace:c.toLowerCase(),contractAddress:u,tokenID:o}}(n),{uri:o,isOnChain:i,isEncoded:s}=w({uri:await y(e,{nft:r}),gatewayUrls:t});if(i&&(o.includes("data:application/json;base64,")||o.startsWith("{")))return b({uri:m(JSON.parse(s?atob(o.replace("data:application/json;base64,","")):o)),gatewayUrls:t});let c=r.tokenID;return"erc1155"===r.namespace&&(c=c.replace("0x","").padStart(64,"0")),g({gatewayUrls:t,uri:o.replace(/(?:0x)?{id}/,c)})}var C=n(87510),E=n(559);async function x(e,{blockNumber:t,blockTag:n,assetGatewayUrls:r,name:o,gatewayUrls:i,strict:a,universalResolverAddress:s}){let c=await (0,C.s)(e,E.g,"getEnsText")({blockNumber:t,blockTag:n,key:"avatar",name:o,universalResolverAddress:s,gatewayUrls:i,strict:a});if(!c)return null;try{return await A(e,{record:c,gatewayUrls:r})}catch{return null}}},27453:function(e,t,n){"use strict";n.d(t,{w:function(){return l}});var r=n(2029),o=n(63672),i=n(72417),a=n(37988),s=n(49917),c=n(87510),u=n(92262);async function l(e,{address:t,blockNumber:n,blockTag:l,gatewayUrls:d,strict:f,universalResolverAddress:p}){let h=p;if(!h){if(!e.chain)throw Error("client chain not configured. universalResolverAddress is required.");h=(0,o.L)({blockNumber:n,chain:e.chain,contract:"ensUniversalResolver"})}let w=`${t.toLowerCase().substring(2)}.addr.reverse`;try{let o={address:h,abi:r.du,functionName:"reverse",args:[(0,i.NC)((0,s.T)(w))],blockNumber:n,blockTag:l},a=(0,c.s)(e,u.L,"readContract"),[f,p]=d?await a({...o,args:[...o.args,d]}):await a(o);if(t.toLowerCase()!==p.toLowerCase())return null;return f}catch(e){if(f)throw e;if((0,a.c)(e,"reverse"))return null;throw e}}},559:function(e,t,n){"use strict";n.d(t,{g:function(){return p}});var r=n(2029),o=n(22587),i=n(82544),a=n(63672),s=n(72417),c=n(37988),u=n(13722),l=n(49917),d=n(87510),f=n(92262);async function p(e,{blockNumber:t,blockTag:n,name:p,key:h,gatewayUrls:w,strict:m,universalResolverAddress:g}){let b=g;if(!b){if(!e.chain)throw Error("client chain not configured. universalResolverAddress is required.");b=(0,a.L)({blockNumber:t,chain:e.chain,contract:"ensUniversalResolver"})}try{let a={address:b,abi:r.k3,functionName:"resolve",args:[(0,s.NC)((0,l.T)(p)),(0,i.R)({abi:r.nZ,functionName:"text",args:[(0,u.V)(p),h]})],blockNumber:t,blockTag:n},c=(0,d.s)(e,f.L,"readContract"),m=w?await c({...a,args:[...a.args,w]}):await c(a);if("0x"===m[0])return null;let g=(0,o.k)({abi:r.nZ,functionName:"text",data:m[0]});return""===g?null:g}catch(e){if(m)throw e;if((0,c.c)(e,"resolve"))return null;throw e}}},4815:function(e,t,n){"use strict";n.d(t,{R:function(){return B}});var r=n(29052),o=n(31991),i=n(34468);function a(e){let t=(0,o.D)(e),n=[],a=e.length;for(let o=0;o<a;o++){let a=e[o];(0,r.N0)(a)||n.push((0,i.cK)(a,t))}return n}var s=n(14428),c=n(2029),u=n(24968),l=n(86708),d=n(14366),f=n(20840),p=n(22587),h=n(17146),w=n(82544),m=n(63672),g=n(72417),b=n(33722),y=n(76783),A=n(25606),v=n(50540),C=n(15514),E=n(55473),x=n(12679);async function B(e,t){let{account:r=e.account,batch:o=!!e.batch?.multicall,blockNumber:i,blockTag:c="latest",accessList:p,blobs:w,code:m,data:C,factory:B,factoryData:I,gas:P,gasPrice:N,maxFeePerBlobGas:F,maxFeePerGas:R,maxPriorityFeePerGas:M,nonce:S,to:T,value:O,stateOverride:D,...L}=t,Q=r?(0,s.T)(r):void 0;if(m&&(B||I))throw new l.G("Cannot provide both `code` & `factory`/`factoryData` as parameters.");if(m&&T)throw new l.G("Cannot provide both `code` & `to` as parameters.");let q=m&&C,U=B&&I&&T&&C,G=q||U,W=q?function(e){let{code:t,data:n}=e;return(0,h.w)({abi:a(["constructor(bytes, bytes)"]),bytecode:u.NO,args:[t,n]})}({code:m,data:C}):U?function(e){let{data:t,factory:n,factoryData:r,to:o}=e;return(0,h.w)({abi:a(["constructor(address, bytes, address, bytes)"]),bytecode:u.pG,args:[o,t,n,r]})}({data:C,factory:B,factoryData:I,to:T}):C;try{(0,x.F)(t);let n=(i?(0,g.eC)(i):void 0)||c,r=(0,E.mF)(D),a=e.chain?.formatters?.transactionRequest?.format,s=(a||v.tG)({...(0,A.K)(L,{format:a}),from:Q?.address,accessList:p,blobs:w,data:W,gas:P,gasPrice:N,maxFeePerBlobGas:F,maxFeePerGas:R,maxPriorityFeePerGas:M,nonce:S,to:G?void 0:T,value:O});if(o&&function({request:e}){let{data:t,to:n,...r}=e;return!(!t||t.startsWith("0x82ad56cb"))&&!!n&&!(Object.values(r).filter(e=>void 0!==e).length>0)}({request:s})&&!r)try{return await k(e,{...s,blockNumber:i,blockTag:c})}catch(e){if(!(e instanceof d.pZ)&&!(e instanceof d.mm))throw e}let u=await e.request({method:"eth_call",params:r?[s,n,r]:[s,n]});if("0x"===u)return{data:void 0};return{data:u}}catch(a){let r=function(e){if(!(e instanceof l.G))return;let t=e.walk();return"object"==typeof t?.data?t.data?.data:t.data}(a),{offchainLookup:o,offchainLookupSignature:i}=await n.e(4384).then(n.bind(n,4384));if(!1!==e.ccipRead&&r?.slice(0,10)===i&&T)return{data:await o(e,{data:r,to:T})};if(G&&r?.slice(0,10)==="0x101bb98d")throw new f.Mo({factory:B});throw function(e,{docsPath:t,...n}){let r=(()=>{let t=(0,y.k)(e,n);return t instanceof b.cj?e:t})();return new f.cg(r,{docsPath:t,...n})}(a,{...t,account:Q,chain:e.chain})}}async function k(e,t){let{batchSize:n=1024,wait:r=0}="object"==typeof e.batch?.multicall?e.batch.multicall:{},{blockNumber:o,blockTag:i="latest",data:a,multicallAddress:s,to:u}=t,l=s;if(!l){if(!e.chain)throw new d.pZ;l=(0,m.L)({blockNumber:o,chain:e.chain,contract:"multicall3"})}let h=(o?(0,g.eC)(o):void 0)||i,{schedule:b}=(0,C.S)({id:`${e.uid}.${h}`,wait:r,shouldSplitBatch:e=>e.reduce((e,{data:t})=>e+(t.length-2),0)>2*n,fn:async t=>{let n=t.map(e=>({allowFailure:!0,callData:e.data,target:e.to})),r=(0,w.R)({abi:c.F8,args:[n],functionName:"aggregate3"}),o=await e.request({method:"eth_call",params:[{data:r,to:l},h]});return(0,p.k)({abi:c.F8,args:[n],functionName:"aggregate3",data:o||"0x"})}}),[{returnData:y,success:A}]=await b({data:a,to:u});if(!A)throw new f.VQ({data:y});return"0x"===y?{data:void 0}:{data:y}}},2998:function(e,t,n){"use strict";n.d(t,{C:function(){return u},X:function(){return c}});var r=n(57942),o=n(87510),i=n(81780),a=n(44705),s=n(33723);async function c(e,t){return u(e,t)}async function u(e,t){let{block:n,chain:c=e.chain,request:u,type:l="eip1559"}=t||{},d=await (async()=>"function"==typeof c?.fees?.baseFeeMultiplier?c.fees.baseFeeMultiplier({block:n,client:e,request:u}):c?.fees?.baseFeeMultiplier??1.2)();if(d<1)throw new r.Fz;let f=10**(d.toString().split(".")[1]?.length??0),p=e=>e*BigInt(Math.ceil(d*f))/BigInt(f),h=n||await (0,o.s)(e,a.Q,"getBlock")({});if("function"==typeof c?.fees?.estimateFeesPerGas){let t=await c.fees.estimateFeesPerGas({block:n,client:e,multiply:p,request:u,type:l});if(null!==t)return t}if("eip1559"===l){if("bigint"!=typeof h.baseFeePerGas)throw new r.e5;let t="bigint"==typeof u?.maxPriorityFeePerGas?u.maxPriorityFeePerGas:await (0,i.h)(e,{block:h,chain:c,request:u}),n=p(h.baseFeePerGas);return{maxFeePerGas:u?.maxFeePerGas??n+t,maxPriorityFeePerGas:t}}return{gasPrice:u?.gasPrice??p(await (0,o.s)(e,s.o,"getGasPrice")({}))}}},3501:function(e,t,n){"use strict";n.d(t,{Q:function(){return y}});var r=n(14428),o=n(86708),i=n(10716),a=n(72417),s=n(73662),c=n(5063),u=n(29334);class l extends o.G{constructor(e,{account:t,docsPath:n,chain:r,data:o,gas:i,gasPrice:a,maxFeePerGas:l,maxPriorityFeePerGas:d,nonce:f,to:p,value:h}){super(e.shortMessage,{cause:e,docsPath:n,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],"Estimate Gas Arguments:",(0,u.xr)({from:t?.address,to:p,value:void 0!==h&&`${(0,s.d)(h)} ${r?.nativeCurrency?.symbol||"ETH"}`,data:o,gas:i,gasPrice:void 0!==a&&`${(0,c.o)(a)} gwei`,maxFeePerGas:void 0!==l&&`${(0,c.o)(l)} gwei`,maxPriorityFeePerGas:void 0!==d&&`${(0,c.o)(d)} gwei`,nonce:f})].filter(Boolean),name:"EstimateGasExecutionError"}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=e}}var d=n(33722),f=n(76783),p=n(25606),h=n(50540),w=n(55473),m=n(12679),g=n(81174),b=n(42678);async function y(e,t){let n=t.account??e.account,s=n?(0,r.T)(n):void 0;try{let{accessList:n,authorizationList:r,blobs:u,blobVersionedHashes:l,blockNumber:d,blockTag:f,data:y,gas:A,gasPrice:v,maxFeePerBlobGas:C,maxFeePerGas:E,maxPriorityFeePerGas:x,nonce:B,value:k,stateOverride:I,...P}=await (0,g.Z)(e,{...t,parameters:s?.type==="local"?void 0:["blobVersionedHashes"]}),N=(d?(0,a.eC)(d):void 0)||f,F=(0,w.mF)(I),R=await (async()=>P.to?P.to:r&&r.length>0?await (0,i.z)({authorization:r[0]}).catch(()=>{throw new o.G("`to` is required. Could not infer from `authorizationList`")}):void 0)();(0,m.F)(t);let M=e.chain?.formatters?.transactionRequest?.format,S=(M||h.tG)({...(0,p.K)(P,{format:M}),from:s?.address,accessList:n,authorizationList:r,blobs:u,blobVersionedHashes:l,data:y,gas:A,gasPrice:v,maxFeePerBlobGas:C,maxFeePerGas:E,maxPriorityFeePerGas:x,nonce:B,to:R,value:k});function c(t){let{block:n,request:r,rpcStateOverride:o}=t;return e.request({method:"eth_estimateGas",params:o?[r,n??"latest",o]:n?[r,n]:[r]})}let T=BigInt(await c({block:N,request:S,rpcStateOverride:F}));if(r){let t=await (0,b.s)(e,{address:S.from}),n=await Promise.all(r.map(async e=>{let{contractAddress:n}=e,r=await c({block:N,request:{authorizationList:void 0,data:y,from:s?.address,to:n,value:(0,a.eC)(t)},rpcStateOverride:F}).catch(()=>100000n);return 2n*BigInt(r)}));T+=n.reduce((e,t)=>e+t,0n)}return T}catch(n){throw function(e,{docsPath:t,...n}){return new l((()=>{let t=(0,f.k)(e,n);return t instanceof d.cj?e:t})(),{docsPath:t,...n})}(n,{...t,account:s,chain:e.chain})}}},81780:function(e,t,n){"use strict";n.d(t,{_:function(){return c},h:function(){return u}});var r=n(57942),o=n(58435),i=n(87510),a=n(44705),s=n(33723);async function c(e,t){return u(e,t)}async function u(e,t){let{block:n,chain:c=e.chain,request:u}=t||{};try{let t=c?.fees?.maxPriorityFeePerGas??c?.fees?.defaultPriorityFee;if("function"==typeof t){let r=n||await (0,i.s)(e,a.Q,"getBlock")({}),o=await t({block:r,client:e,request:u});if(null===o)throw Error();return o}if(void 0!==t)return t;let r=await e.request({method:"eth_maxPriorityFeePerGas"});return(0,o.y_)(r)}catch{let[t,o]=await Promise.all([n?Promise.resolve(n):(0,i.s)(e,a.Q,"getBlock")({}),(0,i.s)(e,s.o,"getGasPrice")({})]);if("bigint"!=typeof t.baseFeePerGas)throw new r.e5;let c=o-t.baseFeePerGas;if(c<0n)return 0n;return c}}},42678:function(e,t,n){"use strict";n.d(t,{s:function(){return o}});var r=n(72417);async function o(e,{address:t,blockNumber:n,blockTag:o="latest"}){let i=n?(0,r.eC)(n):void 0;return BigInt(await e.request({method:"eth_getBalance",params:[t,i||o]}))}},44705:function(e,t,n){"use strict";n.d(t,{Q:function(){return a}});var r=n(43883),o=n(72417),i=n(81222);async function a(e,{blockHash:t,blockNumber:n,blockTag:a,includeTransactions:s}={}){let c=s??!1,u=void 0!==n?(0,o.eC)(n):void 0,l=null;if(!(l=t?await e.request({method:"eth_getBlockByHash",params:[t,c]},{dedupe:!0}):await e.request({method:"eth_getBlockByNumber",params:[u||(a??"latest"),c]},{dedupe:!!u})))throw new r.f({blockHash:t,blockNumber:n});return(e.chain?.formatters?.block?.format||i.Z)(l)}},50647:function(e,t,n){"use strict";n.d(t,{L:function(){return o}});var r=n(58435);async function o(e){let t=await e.request({method:"eth_chainId"},{dedupe:!0});return(0,r.ly)(t)}},33723:function(e,t,n){"use strict";async function r(e){return BigInt(await e.request({method:"eth_gasPrice"}))}n.d(t,{o:function(){return r}})},11504:function(e,t,n){"use strict";n.d(t,{K:function(){return i}});var r=n(58435),o=n(72417);async function i(e,{address:t,blockTag:n="latest",blockNumber:i}){let a=await e.request({method:"eth_getTransactionCount",params:[t,i?(0,o.eC)(i):n]},{dedupe:!!i});return(0,r.ly)(a)}},99437:function(e,t,n){"use strict";n.d(t,{a:function(){return i}});var r=n(29334),o=n(61112);async function i(e,{hash:t}){let n=await e.request({method:"eth_getTransactionReceipt",params:[t]},{dedupe:!0});if(!n)throw new r.Yb({hash:t});return(e.chain?.formatters?.transactionReceipt?.format||o.fA)(n)}},54787:function(e,t,n){"use strict";n.d(t,{A:function(){return p}});var r=n(2029),o=n(16096),i=n(86708),a=n(20840),s=n(22587),c=n(82544),u=n(63672),l=n(32171),d=n(87510),f=n(92262);async function p(e,t){let{allowFailure:n=!0,batchSize:p,blockNumber:h,blockTag:w,multicallAddress:m,stateOverride:g}=t,b=t.contracts,y=p??("object"==typeof e.batch?.multicall&&e.batch.multicall.batchSize||1024),A=m;if(!A){if(!e.chain)throw Error("client chain not configured. multicallAddress is required.");A=(0,u.L)({blockNumber:h,chain:e.chain,contract:"multicall3"})}let v=[[]],C=0,E=0;for(let e=0;e<b.length;e++){let{abi:t,address:r,args:o,functionName:i}=b[e];try{let e=(0,c.R)({abi:t,args:o,functionName:i});E+=(e.length-2)/2,y>0&&E>y&&v[C].length>0&&(C++,E=(e.length-2)/2,v[C]=[]),v[C]=[...v[C],{allowFailure:!0,callData:e,target:r}]}catch(a){let e=(0,l.S)(a,{abi:t,address:r,args:o,docsPath:"/docs/contract/multicall",functionName:i});if(!n)throw e;v[C]=[...v[C],{allowFailure:!0,callData:"0x",target:r}]}}let x=await Promise.allSettled(v.map(t=>(0,d.s)(e,f.L,"readContract")({abi:r.F8,address:A,args:[t],blockNumber:h,blockTag:w,functionName:"aggregate3",stateOverride:g}))),B=[];for(let e=0;e<x.length;e++){let t=x[e];if("rejected"===t.status){if(!n)throw t.reason;for(let n=0;n<v[e].length;n++)B.push({status:"failure",error:t.reason,result:void 0});continue}let r=t.value;for(let t=0;t<r.length;t++){let{returnData:i,success:c}=r[t],{callData:u}=v[e][t],{abi:d,address:f,functionName:p,args:h}=b[B.length];try{if("0x"===u)throw new o.wb;if(!c)throw new a.VQ({data:i});let e=(0,s.k)({abi:d,args:h,data:i,functionName:p});B.push(n?{result:e,status:"success"}:e)}catch(t){let e=(0,l.S)(t,{abi:d,address:f,args:h,docsPath:"/docs/contract/multicall",functionName:p});if(!n)throw e;B.push({error:e,result:void 0,status:"failure"})}}}if(B.length!==b.length)throw new i.G("multicall results mismatch");return B}},92262:function(e,t,n){"use strict";n.d(t,{L:function(){return c}});var r=n(22587),o=n(82544),i=n(32171),a=n(87510),s=n(4815);async function c(e,t){let{abi:n,address:c,args:u,functionName:l,...d}=t,f=(0,o.R)({abi:n,args:u,functionName:l});try{let{data:t}=await (0,a.s)(e,s.R,"call")({...d,data:f,to:c});return(0,r.k)({abi:n,args:u,functionName:l,data:t||"0x"})}catch(e){throw(0,i.S)(e,{abi:n,address:c,args:u,docsPath:"/docs/contract/readContract",functionName:l})}}},6428:function(e,t,n){"use strict";n.d(t,{a:function(){return u}});var r=n(14428),o=n(22587),i=n(82544),a=n(32171),s=n(87510),c=n(4815);async function u(e,t){let{abi:n,address:u,args:l,dataSuffix:d,functionName:f,...p}=t,h=p.account?(0,r.T)(p.account):e.account,w=(0,i.R)({abi:n,args:l,functionName:f});try{let{data:r}=await (0,s.s)(e,c.R,"call")({batch:!1,data:`${w}${d?d.replace("0x",""):""}`,to:u,...p,account:h}),i=(0,o.k)({abi:n,args:l,functionName:f,data:r||"0x"}),a=n.filter(e=>"name"in e&&e.name===t.functionName);return{result:i,request:{abi:a,address:u,args:l,dataSuffix:d,functionName:f,...p,account:h}}}catch(e){throw(0,a.S)(e,{abi:n,address:u,args:l,docsPath:"/docs/contract/simulateContract",functionName:f,sender:h?.address})}}},28218:function(e,t,n){"use strict";n.d(t,{e:function(){return p}});var r=n(43883),o=n(29334),i=n(87510),a=n(13373),s=n(29673),c=n(49476),u=n(44705),l=n(17263),d=n(99437),f=n(75487);async function p(e,{confirmations:t=1,hash:n,onReplaced:p,pollingInterval:h=e.pollingInterval,retryCount:w=6,retryDelay:m=({count:e})=>200*~~(1<<e),timeout:g=18e4}){let b,y,A;let v=(0,c.P)(["waitForTransactionReceipt",e.uid,n]),C=!1;return new Promise((c,E)=>{g&&setTimeout(()=>E(new o.mc({hash:n})),g);let x=(0,a.N7)(v,{onReplaced:p,resolve:c,reject:E},a=>{let c=(0,i.s)(e,f.q,"watchBlockNumber")({emitMissed:!0,emitOnBegin:!0,poll:!0,pollingInterval:h,async onBlockNumber(f){let p=e=>{c(),e(),x()},h=f;if(!C)try{if(A){if(t>1&&(!A.blockNumber||h-A.blockNumber+1n<t))return;p(()=>a.resolve(A));return}if(b||(C=!0,await (0,s.J)(async()=>{(b=await (0,i.s)(e,l.f,"getTransaction")({hash:n})).blockNumber&&(h=b.blockNumber)},{delay:m,retryCount:w}),C=!1),A=await (0,i.s)(e,d.a,"getTransactionReceipt")({hash:n}),t>1&&(!A.blockNumber||h-A.blockNumber+1n<t))return;p(()=>a.resolve(A))}catch(n){if(n instanceof o.Bh||n instanceof o.Yb){if(!b){C=!1;return}try{y=b,C=!0;let n=await (0,s.J)(()=>(0,i.s)(e,u.Q,"getBlock")({blockNumber:h,includeTransactions:!0}),{delay:m,retryCount:w,shouldRetry:({error:e})=>e instanceof r.f});C=!1;let o=n.transactions.find(({from:e,nonce:t})=>e===y.from&&t===y.nonce);if(!o||(A=await (0,i.s)(e,d.a,"getTransactionReceipt")({hash:o.hash}),t>1&&(!A.blockNumber||h-A.blockNumber+1n<t)))return;let c="replaced";o.to===y.to&&o.value===y.value?c="repriced":o.from===o.to&&0n===o.value&&(c="cancelled"),p(()=>{a.onReplaced?.({reason:c,replacedTransaction:y,transaction:o,transactionReceipt:A}),a.resolve(A)})}catch(e){p(()=>a.reject(e))}}else p(()=>a.reject(n))}}})})})}},75487:function(e,t,n){"use strict";n.d(t,{q:function(){return u}});var r=n(58435),o=n(87510),i=n(13373),a=n(8720),s=n(49476),c=n(8258);function u(e,{emitOnBegin:t=!1,emitMissed:n=!1,onBlockNumber:u,onError:l,poll:d,pollingInterval:f=e.pollingInterval}){let p;return(void 0!==d?d:"webSocket"!==e.transport.type&&("fallback"!==e.transport.type||"webSocket"!==e.transport.transports[0].config.type))?(()=>{let r=(0,s.P)(["watchBlockNumber",e.uid,t,n,f]);return(0,i.N7)(r,{onBlockNumber:u,onError:l},r=>(0,a.$)(async()=>{try{let t=await (0,o.s)(e,c.z,"getBlockNumber")({cacheTime:0});if(p){if(t===p)return;if(t-p>1&&n)for(let e=p+1n;e<t;e++)r.onBlockNumber(e,p),p=e}(!p||t>p)&&(r.onBlockNumber(t,p),p=t)}catch(e){r.onError?.(e)}},{emitOnBegin:t,interval:f}))})():(()=>{let o=(0,s.P)(["watchBlockNumber",e.uid,t,n]);return(0,i.N7)(o,{onBlockNumber:u,onError:l},t=>{let n=!0,o=()=>n=!1;return(async()=>{try{let i=(()=>{if("fallback"===e.transport.type){let t=e.transport.transports.find(e=>"webSocket"===e.config.type);return t?t.value:e.transport}return e.transport})(),{unsubscribe:a}=await i.subscribe({params:["newHeads"],onData(e){if(!n)return;let o=(0,r.y_)(e.result?.number);t.onBlockNumber(o,p),p=o},onError(e){t.onError?.(e)}});o=a,n||o()}catch(e){l?.(e)}})(),()=>o()})})()}},15899:function(e,t,n){"use strict";n.d(t,{p:function(){return u}});var r=n(81222),o=n(87510),i=n(13373),a=n(8720),s=n(49476),c=n(44705);function u(e,{blockTag:t="latest",emitMissed:n=!1,emitOnBegin:u=!1,onBlock:l,onError:d,includeTransactions:f,poll:p,pollingInterval:h=e.pollingInterval}){let w,m,g,b;let y=void 0!==p?p:"webSocket"!==e.transport.type&&("fallback"!==e.transport.type||"webSocket"!==e.transport.transports[0].config.type),A=f??!1;return y?(()=>{let r=(0,s.P)(["watchBlocks",e.uid,t,n,u,A,h]);return(0,i.N7)(r,{onBlock:l,onError:d},r=>(0,a.$)(async()=>{try{let i=await (0,o.s)(e,c.Q,"getBlock")({blockTag:t,includeTransactions:A});if(i.number&&w?.number){if(i.number===w.number)return;if(i.number-w.number>1&&n)for(let t=w?.number+1n;t<i.number;t++){let n=await (0,o.s)(e,c.Q,"getBlock")({blockNumber:t,includeTransactions:A});r.onBlock(n,w),w=n}}(!w?.number||"pending"===t&&!i?.number||i.number&&i.number>w.number)&&(r.onBlock(i,w),w=i)}catch(e){r.onError?.(e)}},{emitOnBegin:u,interval:h}))})():(m=!0,g=!0,b=()=>m=!1,(async()=>{try{u&&(0,o.s)(e,c.Q,"getBlock")({blockTag:t,includeTransactions:A}).then(e=>{m&&g&&(l(e,void 0),g=!1)});let n=(()=>{if("fallback"===e.transport.type){let t=e.transport.transports.find(e=>"webSocket"===e.config.type);return t?t.value:e.transport}return e.transport})(),{unsubscribe:i}=await n.subscribe({params:["newHeads"],onData(t){if(!m)return;let n=(e.chain?.formatters?.block?.format||r.Z)(t.result);l(n,w),g=!1,w=n},onError(e){d?.(e)}});b=i,m||b()}catch(e){d?.(e)}})(),()=>b())}},81174:function(e,t,n){"use strict";n.d(t,{Q:function(){return g},Z:function(){return b}});var r=n(14428),o=n(2998),i=n(3501),a=n(44705),s=n(11504),c=n(57942),u=n(59877),l=n(93919),d=n(81853),f=n(25735),p=n(87510),h=n(12679),w=n(87656),m=n(50647);let g=["blobVersionedHashes","chainId","fees","gas","nonce","type"];async function b(e,t){let n,b;let{account:y=e.account,blobs:A,chain:v,gas:C,kzg:E,nonce:x,nonceManager:B,parameters:k=g,type:I}=t,P=y?(0,r.T)(y):void 0,N={...t,...P?{from:P?.address}:{}};async function F(){return n||(n=await (0,p.s)(e,a.Q,"getBlock")({blockTag:"latest"}))}async function R(){return b||(v?v.id:void 0!==t.chainId?t.chainId:b=await (0,p.s)(e,m.L,"getChainId")({}))}if((k.includes("blobVersionedHashes")||k.includes("sidecars"))&&A&&E){let e=(0,u.P)({blobs:A,kzg:E});if(k.includes("blobVersionedHashes")){let t=(0,d.C)({commitments:e,to:"hex"});N.blobVersionedHashes=t}if(k.includes("sidecars")){let t=(0,l.y)({blobs:A,commitments:e,kzg:E}),n=(0,f.j)({blobs:A,commitments:e,proofs:t,to:"hex"});N.sidecars=n}}if(k.includes("chainId")&&(N.chainId=await R()),k.includes("nonce")&&void 0===x&&P){if(B){let t=await R();N.nonce=await B.consume({address:P.address,chainId:t,client:e})}else N.nonce=await (0,p.s)(e,s.K,"getTransactionCount")({address:P.address,blockTag:"pending"})}if((k.includes("fees")||k.includes("type"))&&void 0===I)try{N.type=(0,w.l)(N)}catch{let e=await F();N.type="bigint"==typeof e?.baseFeePerGas?"eip1559":"legacy"}if(k.includes("fees")){if("legacy"!==N.type&&"eip2930"!==N.type){if(void 0===N.maxFeePerGas||void 0===N.maxPriorityFeePerGas){let n=await F(),{maxFeePerGas:r,maxPriorityFeePerGas:i}=await (0,o.C)(e,{block:n,chain:v,request:N});if(void 0===t.maxPriorityFeePerGas&&t.maxFeePerGas&&t.maxFeePerGas<i)throw new c.ld({maxPriorityFeePerGas:i});N.maxPriorityFeePerGas=i,N.maxFeePerGas=r}}else{if(void 0!==t.maxFeePerGas||void 0!==t.maxPriorityFeePerGas)throw new c.e5;let n=await F(),{gasPrice:r}=await (0,o.C)(e,{block:n,chain:v,request:N,type:"legacy"});N.gasPrice=r}}return k.includes("gas")&&void 0===C&&(N.gas=await (0,p.s)(e,i.Q,"estimateGas")({...N,account:P?{address:P.address,type:"json-rpc"}:void 0})),(0,h.F)(N),delete N.parameters,N}},95774:function(e,t,n){"use strict";async function r(e,{serializedTransaction:t}){return e.request({method:"eth_sendRawTransaction",params:[t]},{retryCount:0})}n.d(t,{p:function(){return r}})},34467:function(e,t,n){"use strict";n.d(t,{R:function(){return r}});let r=(0,n(80610).a)({id:1,name:"Ethereum",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://cloudflare-eth.com"]}},blockExplorers:{default:{name:"Etherscan",url:"https://etherscan.io",apiUrl:"https://api.etherscan.io/api"}},contracts:{ensRegistry:{address:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},ensUniversalResolver:{address:"0xce01f8eee7E479C928F8919abD53E553a36CeF67",blockCreated:19258213},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:14353601}}})},82095:function(e,t,n){"use strict";n.d(t,{e:function(){return i}});var r=n(14428),o=n(62257);function i(e){let{batch:t,cacheTime:n=e.pollingInterval??4e3,ccipRead:i,key:a="base",name:s="Base Client",pollingInterval:c=4e3,type:u="base"}=e,l=e.chain,d=e.account?(0,r.T)(e.account):void 0,{config:f,request:p,value:h}=e.transport({chain:l,pollingInterval:c}),w={account:d,batch:t,cacheTime:n,ccipRead:i,chain:l,key:a,name:s,pollingInterval:c,request:p,transport:{...f,...h},type:u,uid:(0,o.h)()};return Object.assign(w,{extend:function e(t){return n=>{let r=n(t);for(let e in w)delete r[e];let o={...t,...r};return Object.assign(o,{extend:e(o)})}}(w)})}},3638:function(e,t,n){"use strict";n.d(t,{q:function(){return f}});var r=n(86708),o=n(10042),i=n(98094),a=n(72417),s=n(56026);let c=new(n(74024)).k(8192);var u=n(29673),l=n(49476),d=n(62257);function f({key:e,name:t,request:n,retryCount:f=3,retryDelay:p=150,timeout:h,type:w},m){return{config:{key:e,name:t,request:n,retryCount:f,retryDelay:p,timeout:h,type:w},request:function(e,t={}){return async(n,d={})=>{let{dedupe:f=!1,retryDelay:p=150,retryCount:h=3,uid:w}={...t,...d},m=f?(0,s.w)((0,a.$G)(`${w}.${(0,l.P)(n)}`)):void 0;return function(e,{enabled:t=!0,id:n}){if(!t||!n)return e();if(c.get(n))return c.get(n);let r=e().finally(()=>c.delete(n));return c.set(n,r),r}(()=>(0,u.J)(async()=>{try{return await e(n)}catch(e){switch(e.code){case i.s7.code:throw new i.s7(e);case i.B.code:throw new i.B(e);case i.LX.code:throw new i.LX(e,{method:n.method});case i.nY.code:throw new i.nY(e);case i.XS.code:throw new i.XS(e);case i.yR.code:throw new i.yR(e);case i.Og.code:throw new i.Og(e);case i.pT.code:throw new i.pT(e);case i.KB.code:throw new i.KB(e);case i.gS.code:throw new i.gS(e,{method:n.method});case i.Pv.code:throw new i.Pv(e);case i.GD.code:throw new i.GD(e);case i.ab.code:throw new i.ab(e);case i.PE.code:throw new i.PE(e);case i.Ts.code:throw new i.Ts(e);case i.u5.code:throw new i.u5(e);case i.I0.code:throw new i.I0(e);case i.x3.code:throw new i.x3(e);case 5e3:throw new i.ab(e);default:if(e instanceof r.G)throw e;throw new i.ir(e)}}},{delay:({count:e,error:t})=>{if(t&&t instanceof o.Gg){let e=t?.headers?.get("Retry-After");if(e?.match(/\d/))return 1e3*Number.parseInt(e)}return~~(1<<e)*p},retryCount:h,shouldRetry:({error:e})=>"code"in e&&"number"==typeof e.code?-1===e.code||e.code===i.Pv.code||e.code===i.XS.code:!(e instanceof o.Gg)||!e.status||403===e.status||408===e.status||413===e.status||429===e.status||500===e.status||502===e.status||503===e.status||504===e.status}),{enabled:f,id:m})}}(n,{retryCount:f,retryDelay:p,uid:(0,d.h)()}),value:m}}},2029:function(e,t,n){"use strict";n.d(t,{$o:function(){return u},F8:function(){return r},X$:function(){return c},du:function(){return a},k3:function(){return i},nZ:function(){return s}});let r=[{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"}],o=[{inputs:[],name:"ResolverNotFound",type:"error"},{inputs:[],name:"ResolverWildcardNotSupported",type:"error"},{inputs:[],name:"ResolverNotContract",type:"error"},{inputs:[{name:"returnData",type:"bytes"}],name:"ResolverError",type:"error"},{inputs:[{components:[{name:"status",type:"uint16"},{name:"message",type:"string"}],name:"errors",type:"tuple[]"}],name:"HttpError",type:"error"}],i=[...o,{name:"resolve",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes"},{name:"data",type:"bytes"}],outputs:[{name:"",type:"bytes"},{name:"address",type:"address"}]},{name:"resolve",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes"},{name:"data",type:"bytes"},{name:"gateways",type:"string[]"}],outputs:[{name:"",type:"bytes"},{name:"address",type:"address"}]}],a=[...o,{name:"reverse",type:"function",stateMutability:"view",inputs:[{type:"bytes",name:"reverseName"}],outputs:[{type:"string",name:"resolvedName"},{type:"address",name:"resolvedAddress"},{type:"address",name:"reverseResolver"},{type:"address",name:"resolver"}]},{name:"reverse",type:"function",stateMutability:"view",inputs:[{type:"bytes",name:"reverseName"},{type:"string[]",name:"gateways"}],outputs:[{type:"string",name:"resolvedName"},{type:"address",name:"resolvedAddress"},{type:"address",name:"reverseResolver"},{type:"address",name:"resolver"}]}],s=[{name:"text",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes32"},{name:"key",type:"string"}],outputs:[{name:"",type:"string"}]}],c=[{name:"addr",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes32"}],outputs:[{name:"",type:"address"}]},{name:"addr",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes32"},{name:"coinType",type:"uint256"}],outputs:[{name:"",type:"bytes"}]}],u=[{inputs:[{name:"_signer",type:"address"},{name:"_hash",type:"bytes32"},{name:"_signature",type:"bytes"}],stateMutability:"nonpayable",type:"constructor"}]},24968:function(e,t,n){"use strict";n.d(t,{NO:function(){return r},ST:function(){return i},pG:function(){return o}});let r="0x608060405234801561001057600080fd5b5060405161018e38038061018e83398101604081905261002f91610124565b6000808351602085016000f59050803b61004857600080fd5b6000808351602085016000855af16040513d6000823e81610067573d81fd5b3d81f35b634e487b7160e01b600052604160045260246000fd5b600082601f83011261009257600080fd5b81516001600160401b038111156100ab576100ab61006b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156100d9576100d961006b565b6040528181528382016020018510156100f157600080fd5b60005b82811015610110576020818601810151838301820152016100f4565b506000918101602001919091529392505050565b6000806040838503121561013757600080fd5b82516001600160401b0381111561014d57600080fd5b61015985828601610081565b602085015190935090506001600160401b0381111561017757600080fd5b61018385828601610081565b915050925092905056fe",o="0x608060405234801561001057600080fd5b506040516102c03803806102c083398101604081905261002f916101e6565b836001600160a01b03163b6000036100e457600080836001600160a01b03168360405161005c9190610270565b6000604051808303816000865af19150503d8060008114610099576040519150601f19603f3d011682016040523d82523d6000602084013e61009e565b606091505b50915091508115806100b857506001600160a01b0386163b155b156100e1578060405163101bb98d60e01b81526004016100d8919061028c565b60405180910390fd5b50505b6000808451602086016000885af16040513d6000823e81610103573d81fd5b3d81f35b80516001600160a01b038116811461011e57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561015457818101518382015260200161013c565b50506000910152565b600082601f83011261016e57600080fd5b81516001600160401b0381111561018757610187610123565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101b5576101b5610123565b6040528181528382016020018510156101cd57600080fd5b6101de826020830160208701610139565b949350505050565b600080600080608085870312156101fc57600080fd5b61020585610107565b60208601519094506001600160401b0381111561022157600080fd5b61022d8782880161015d565b93505061023c60408601610107565b60608601519092506001600160401b0381111561025857600080fd5b6102648782880161015d565b91505092959194509250565b60008251610282818460208701610139565b9190910192915050565b60208152600082518060208401526102ab816040850160208701610139565b601f01601f1916919091016040019291505056fe",i="0x608060405234801561001057600080fd5b5060405161069438038061069483398101604081905261002f9161051e565b600061003c848484610048565b9050806000526001601ff35b60007f64926492649264926492649264926492649264926492649264926492649264926100748361040c565b036101e7576000606080848060200190518101906100929190610577565b60405192955090935091506000906001600160a01b038516906100b69085906105dd565b6000604051808303816000865af19150503d80600081146100f3576040519150601f19603f3d011682016040523d82523d6000602084013e6100f8565b606091505b50509050876001600160a01b03163b60000361016057806101605760405162461bcd60e51b815260206004820152601e60248201527f5369676e617475726556616c696461746f723a206465706c6f796d656e74000060448201526064015b60405180910390fd5b604051630b135d3f60e11b808252906001600160a01b038a1690631626ba7e90610190908b9087906004016105f9565b602060405180830381865afa1580156101ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d19190610633565b6001600160e01b03191614945050505050610405565b6001600160a01b0384163b1561027a57604051630b135d3f60e11b808252906001600160a01b03861690631626ba7e9061022790879087906004016105f9565b602060405180830381865afa158015610244573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102689190610633565b6001600160e01b031916149050610405565b81516041146102df5760405162461bcd60e51b815260206004820152603a602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e6174757265206c656e6774680000000000006064820152608401610157565b6102e7610425565b5060208201516040808401518451859392600091859190811061030c5761030c61065d565b016020015160f81c9050601b811480159061032b57508060ff16601c14155b1561038c5760405162461bcd60e51b815260206004820152603b602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e617475726520762076616c756500000000006064820152608401610157565b60408051600081526020810180835289905260ff83169181019190915260608101849052608081018390526001600160a01b0389169060019060a0016020604051602081039080840390855afa1580156103ea573d6000803e3d6000fd5b505050602060405103516001600160a01b0316149450505050505b9392505050565b600060208251101561041d57600080fd5b508051015190565b60405180606001604052806003906020820280368337509192915050565b6001600160a01b038116811461045857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561048c578181015183820152602001610474565b50506000910152565b600082601f8301126104a657600080fd5b81516001600160401b038111156104bf576104bf61045b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156104ed576104ed61045b565b60405281815283820160200185101561050557600080fd5b610516826020830160208701610471565b949350505050565b60008060006060848603121561053357600080fd5b835161053e81610443565b6020850151604086015191945092506001600160401b0381111561056157600080fd5b61056d86828701610495565b9150509250925092565b60008060006060848603121561058c57600080fd5b835161059781610443565b60208501519093506001600160401b038111156105b357600080fd5b6105bf86828701610495565b604086015190935090506001600160401b0381111561056157600080fd5b600082516105ef818460208701610471565b9190910192915050565b828152604060208201526000825180604084015261061e816060850160208701610471565b601f01601f1916919091016060019392505050565b60006020828403121561064557600080fd5b81516001600160e01b03198116811461040557600080fd5b634e487b7160e01b600052603260045260246000fdfe5369676e617475726556616c696461746f72237265636f7665725369676e6572"},38136:function(e,t,n){"use strict";n.d(t,{$:function(){return r},Up:function(){return o},hZ:function(){return i}});let r={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."},o={inputs:[{name:"message",type:"string"}],name:"Error",type:"error"},i={inputs:[{name:"reason",type:"uint256"}],name:"Panic",type:"error"}},16096:function(e,t,n){"use strict";n.d(t,{CI:function(){return B},FM:function(){return h},Gy:function(){return E},KY:function(){return v},M4:function(){return d},MX:function(){return b},Mi:function(){return P},S4:function(){return A},SM:function(){return C},cO:function(){return s},dh:function(){return x},eF:function(){return y},fM:function(){return a},fs:function(){return f},gr:function(){return l},hn:function(){return k},lC:function(){return w},mv:function(){return m},wM:function(){return I},wb:function(){return u},xB:function(){return c},xL:function(){return g},yP:function(){return p}});var r=n(43067),o=n(80002),i=n(86708);class a extends i.G{constructor({docsPath:e}){super("A constructor was not found on the ABI.\nMake sure you are using the correct ABI and that the constructor exists on it.",{docsPath:e,name:"AbiConstructorNotFoundError"})}}class s extends i.G{constructor({docsPath:e}){super("Constructor arguments were provided (`args`), but a constructor parameters (`inputs`) were not found on the ABI.\nMake sure you are using the correct ABI, and that the `inputs` attribute on the constructor exists.",{docsPath:e,name:"AbiConstructorParamsNotFoundError"})}}class c extends i.G{constructor({data:e,params:t,size:n}){super(`Data size of ${n} bytes is too small for given parameters.`,{metaMessages:[`Params: (${(0,r.h)(t,{includeName:!0})})`,`Data: ${e} (${n} 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=e,this.params=t,this.size=n}}class u extends i.G{constructor(){super('Cannot decode zero data ("0x") with ABI parameters.',{name:"AbiDecodingZeroDataError"})}}class l extends i.G{constructor({expectedLength:e,givenLength:t,type:n}){super(`ABI encoding array length mismatch for type ${n}.
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4296],{99535:function(e,t,n){"use strict";function r(e){var t=e.match(/^var\((.*)\)$/);return t?t[1]:e}function o(e,t){var n={};if("object"==typeof t)!function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o={};for(var i in t){var a=t[i],s=[...r,i];"string"==typeof a||"number"==typeof a||null==a?o[i]=n(a,s):"object"!=typeof a||Array.isArray(a)?console.warn('Skipping invalid key "'.concat(s.join("."),'". Should be a string, number, null or object. Received: "').concat(Array.isArray(a)?"Array":typeof a,'"')):o[i]=e(a,n,s)}return o}(t,(t,o)=>{null!=t&&(n[r(function(e,t){var n=e;for(var r of t){if(!(r in n))throw Error("Path ".concat(t.join(" -> ")," does not exist in object"));n=n[r]}return n}(e,o))]=String(t))});else for(var o in e){var i=e[o];null!=i&&(n[r(o)]=i)}return Object.defineProperty(n,"toString",{value:function(){return Object.keys(this).map(e=>"".concat(e,":").concat(this[e])).join(";")},writable:!1}),n}n.d(t,{L:function(){return o}})},61921:function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){!function(e,t,n){var r;(t="symbol"==typeof(r=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?r:String(r))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}n.d(t,{$:function(){return s}});var i=e=>function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=Object.assign({},...n.map(e=>e.styles)),a=Object.keys(i),s=a.filter(e=>"mappings"in i[e]);return Object.assign(t=>{var n=[],r={},a=o({},t),c=!1;for(var u of s){var l=t[u];if(null!=l)for(var d of(c=!0,i[u].mappings))r[d]=l,null==a[d]&&delete a[d]}var f=c?o(o({},r),a):t;for(var p in f)if(function(){var e=f[p],t=i[p];try{if(t.mappings)return 1;if("string"==typeof e||"number"==typeof e)n.push(t.values[e].defaultClass);else if(Array.isArray(e))for(var r=0;r<e.length;r++){var o=e[r];if(null!=o){var a=t.responsiveArray[r];n.push(t.values[o].conditions[a])}}else for(var s in e){var c=e[s];null!=c&&n.push(t.values[c].conditions[s])}}catch(e){throw e}}())continue;return e(n.join(" "))},{properties:new Set(a)})},a=e=>e,s=function(){return i(a)(...arguments)}},93246:function(e,t,n){"use strict";n.d(t,{d:function(){return i},M:function(){return o}});var r=function(e,t){return Object.defineProperty(e,"__recipe__",{value:t,writable:!1}),e};function o(e){var{conditions:t}=e;if(!t)throw Error("Styles have no conditions");return r(function(e){if("string"==typeof e||"number"==typeof e||"boolean"==typeof e){if(!t.defaultCondition)throw Error("No default condition");return{[t.defaultCondition]:e}}if(Array.isArray(e)){if(!("responsiveArray"in t))throw Error("Responsive arrays are not supported");var n={};for(var r in t.responsiveArray)null!=e[r]&&(n[t.responsiveArray[r]]=e[r]);return n}return e},{importPath:"@vanilla-extract/sprinkles/createUtils",importName:"createNormalizeValueFn",args:[{conditions:e.conditions}]})}function i(e){var{conditions:t}=e;if(!t)throw Error("Styles have no conditions");var n=o(e);return r(function(e,r){if("string"==typeof e||"number"==typeof e||"boolean"==typeof e){if(!t.defaultCondition)throw Error("No default condition");return r(e,t.defaultCondition)}var o=Array.isArray(e)?n(e):e,i={};for(var a in o)null!=o[a]&&(i[a]=r(o[a],a));return i},{importPath:"@vanilla-extract/sprinkles/createUtils",importName:"createMapValueFn",args:[{conditions:e.conditions}]})}},20543:function(e){"use strict";var t={single_source_shortest_paths:function(e,n,r){var o,i,a,s,c,u,l,d={},f={};f[n]=0;var p=t.PriorityQueue.make();for(p.push(n,0);!p.empty();)for(a in i=(o=p.pop()).value,s=o.cost,c=e[i]||{})c.hasOwnProperty(a)&&(u=s+c[a],l=f[a],(void 0===f[a]||l>u)&&(f[a]=u,p.push(a,u),d[a]=i));if(void 0!==r&&void 0===f[r])throw Error(["Could not find a path from ",n," to ",r,"."].join(""));return d},extract_shortest_path_from_predecessor_list:function(e,t){for(var n=[],r=t;r;)n.push(r),e[r],r=e[r];return n.reverse(),n},find_path:function(e,n,r){var o=t.single_source_shortest_paths(e,n,r);return t.extract_shortest_path_from_predecessor_list(o,r)},PriorityQueue:{make:function(e){var n,r=t.PriorityQueue,o={};for(n in e=e||{},r)r.hasOwnProperty(n)&&(o[n]=r[n]);return o.queue=[],o.sorter=e.sorter||r.default_sorter,o},default_sorter:function(e,t){return e.cost-t.cost},push:function(e,t){this.queue.push({value:e,cost:t}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};e.exports=t},20775:function(e,t,n){let r=n(61490),o=n(23427),i=n(18462),a=n(52822);function s(e,t,n,i,a){let s=[].slice.call(arguments,1),c=s.length,u="function"==typeof s[c-1];if(!u&&!r())throw Error("Callback required as last argument");if(u){if(c<2)throw Error("Too few arguments provided");2===c?(a=n,n=t,t=i=void 0):3===c&&(t.getContext&&void 0===a?(a=i,i=void 0):(a=i,i=n,n=t,t=void 0))}else{if(c<1)throw Error("Too few arguments provided");return 1===c?(n=t,t=i=void 0):2!==c||t.getContext||(i=n,n=t,t=void 0),new Promise(function(r,a){try{let a=o.create(n,i);r(e(a,t,i))}catch(e){a(e)}})}try{let r=o.create(n,i);a(null,e(r,t,i))}catch(e){a(e)}}t.create=o.create,t.toCanvas=s.bind(null,i.render),t.toDataURL=s.bind(null,i.renderToDataURL),t.toString=s.bind(null,function(e,t,n){return a.render(e,n)})},61490:function(e){e.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},97927:function(e,t,n){let r=n(66903).getSymbolSize;t.getRowColCoords=function(e){if(1===e)return[];let t=Math.floor(e/7)+2,n=r(e),o=145===n?26:2*Math.ceil((n-13)/(2*t-2)),i=[n-7];for(let e=1;e<t-1;e++)i[e]=i[e-1]-o;return i.push(6),i.reverse()},t.getPositions=function(e){let n=[],r=t.getRowColCoords(e),o=r.length;for(let e=0;e<o;e++)for(let t=0;t<o;t++)(0!==e||0!==t)&&(0!==e||t!==o-1)&&(e!==o-1||0!==t)&&n.push([r[e],r[t]]);return n}},1944:function(e,t,n){let r=n(51493),o=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function i(e){this.mode=r.ALPHANUMERIC,this.data=e}i.getBitsLength=function(e){return 11*Math.floor(e/2)+e%2*6},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){let t;for(t=0;t+2<=this.data.length;t+=2){let n=45*o.indexOf(this.data[t]);n+=o.indexOf(this.data[t+1]),e.put(n,11)}this.data.length%2&&e.put(o.indexOf(this.data[t]),6)},e.exports=i},52077:function(e){function t(){this.buffer=[],this.length=0}t.prototype={get:function(e){return(this.buffer[Math.floor(e/8)]>>>7-e%8&1)==1},put:function(e,t){for(let n=0;n<t;n++)this.putBit((e>>>t-n-1&1)==1)},getLengthInBits:function(){return this.length},putBit:function(e){let t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},e.exports=t},47937:function(e){function t(e){if(!e||e<1)throw Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}t.prototype.set=function(e,t,n,r){let o=e*this.size+t;this.data[o]=n,r&&(this.reservedBit[o]=!0)},t.prototype.get=function(e,t){return this.data[e*this.size+t]},t.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n},t.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]},e.exports=t},61066:function(e,t,n){let r=n(51493);function o(e){this.mode=r.BYTE,"string"==typeof e?this.data=new TextEncoder().encode(e):this.data=new Uint8Array(e)}o.getBitsLength=function(e){return 8*e},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(e){for(let t=0,n=this.data.length;t<n;t++)e.put(this.data[t],8)},e.exports=o},28371:function(e,t,n){let r=n(87301),o=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],i=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];t.getBlocksCount=function(e,t){switch(t){case r.L:return o[(e-1)*4+0];case r.M:return o[(e-1)*4+1];case r.Q:return o[(e-1)*4+2];case r.H:return o[(e-1)*4+3];default:return}},t.getTotalCodewordsCount=function(e,t){switch(t){case r.L:return i[(e-1)*4+0];case r.M:return i[(e-1)*4+1];case r.Q:return i[(e-1)*4+2];case r.H:return i[(e-1)*4+3];default:return}}},87301:function(e,t){t.L={bit:1},t.M={bit:0},t.Q={bit:3},t.H={bit:2},t.isValid=function(e){return e&&void 0!==e.bit&&e.bit>=0&&e.bit<4},t.from=function(e,n){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw Error("Unknown EC Level: "+e)}}(e)}catch(e){return n}}},66162:function(e,t,n){let r=n(66903).getSymbolSize;t.getPositions=function(e){let t=r(e);return[[0,0],[t-7,0],[0,t-7]]}},38280:function(e,t,n){let r=n(66903),o=r.getBCHDigit(1335);t.getEncodedBits=function(e,t){let n=e.bit<<3|t,i=n<<10;for(;r.getBCHDigit(i)-o>=0;)i^=1335<<r.getBCHDigit(i)-o;return(n<<10|i)^21522}},77226:function(e,t){let n=new Uint8Array(512),r=new Uint8Array(256);!function(){let e=1;for(let t=0;t<255;t++)n[t]=e,r[e]=t,256&(e<<=1)&&(e^=285);for(let e=255;e<512;e++)n[e]=n[e-255]}(),t.log=function(e){if(e<1)throw Error("log("+e+")");return r[e]},t.exp=function(e){return n[e]},t.mul=function(e,t){return 0===e||0===t?0:n[r[e]+r[t]]}},23769:function(e,t,n){let r=n(51493),o=n(66903);function i(e){this.mode=r.KANJI,this.data=e}i.getBitsLength=function(e){return 13*e},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let n=o.toSJIS(this.data[t]);if(n>=33088&&n<=40956)n-=33088;else if(n>=57408&&n<=60351)n-=49472;else throw Error("Invalid SJIS character: "+this.data[t]+"\nMake sure your charset is UTF-8");n=(n>>>8&255)*192+(255&n),e.put(n,13)}},e.exports=i},48159:function(e,t){t.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};let n={N1:3,N2:3,N3:40,N4:10};t.isValid=function(e){return null!=e&&""!==e&&!isNaN(e)&&e>=0&&e<=7},t.from=function(e){return t.isValid(e)?parseInt(e,10):void 0},t.getPenaltyN1=function(e){let t=e.size,r=0,o=0,i=0,a=null,s=null;for(let c=0;c<t;c++){o=i=0,a=s=null;for(let u=0;u<t;u++){let t=e.get(c,u);t===a?o++:(o>=5&&(r+=n.N1+(o-5)),a=t,o=1),(t=e.get(u,c))===s?i++:(i>=5&&(r+=n.N1+(i-5)),s=t,i=1)}o>=5&&(r+=n.N1+(o-5)),i>=5&&(r+=n.N1+(i-5))}return r},t.getPenaltyN2=function(e){let t=e.size,r=0;for(let n=0;n<t-1;n++)for(let o=0;o<t-1;o++){let t=e.get(n,o)+e.get(n,o+1)+e.get(n+1,o)+e.get(n+1,o+1);(4===t||0===t)&&r++}return r*n.N2},t.getPenaltyN3=function(e){let t=e.size,r=0,o=0,i=0;for(let n=0;n<t;n++){o=i=0;for(let a=0;a<t;a++)o=o<<1&2047|e.get(n,a),a>=10&&(1488===o||93===o)&&r++,i=i<<1&2047|e.get(a,n),a>=10&&(1488===i||93===i)&&r++}return r*n.N3},t.getPenaltyN4=function(e){let t=0,r=e.data.length;for(let n=0;n<r;n++)t+=e.data[n];return Math.abs(Math.ceil(100*t/r/5)-10)*n.N4},t.applyMask=function(e,n){let r=n.size;for(let o=0;o<r;o++)for(let i=0;i<r;i++)n.isReserved(i,o)||n.xor(i,o,function(e,n,r){switch(e){case t.Patterns.PATTERN000:return(n+r)%2==0;case t.Patterns.PATTERN001:return n%2==0;case t.Patterns.PATTERN010:return r%3==0;case t.Patterns.PATTERN011:return(n+r)%3==0;case t.Patterns.PATTERN100:return(Math.floor(n/2)+Math.floor(r/3))%2==0;case t.Patterns.PATTERN101:return n*r%2+n*r%3==0;case t.Patterns.PATTERN110:return(n*r%2+n*r%3)%2==0;case t.Patterns.PATTERN111:return(n*r%3+(n+r)%2)%2==0;default:throw Error("bad maskPattern:"+e)}}(e,i,o))},t.getBestMask=function(e,n){let r=Object.keys(t.Patterns).length,o=0,i=1/0;for(let a=0;a<r;a++){n(a),t.applyMask(a,e);let r=t.getPenaltyN1(e)+t.getPenaltyN2(e)+t.getPenaltyN3(e)+t.getPenaltyN4(e);t.applyMask(a,e),r<i&&(i=r,o=a)}return o}},51493:function(e,t,n){let r=n(57735),o=n(98173);t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(e,t){if(!e.ccBits)throw Error("Invalid mode: "+e);if(!r.isValid(t))throw Error("Invalid version: "+t);return t>=1&&t<10?e.ccBits[0]:t<27?e.ccBits[1]:e.ccBits[2]},t.getBestModeForData=function(e){return o.testNumeric(e)?t.NUMERIC:o.testAlphanumeric(e)?t.ALPHANUMERIC:o.testKanji(e)?t.KANJI:t.BYTE},t.toString=function(e){if(e&&e.id)return e.id;throw Error("Invalid mode")},t.isValid=function(e){return e&&e.bit&&e.ccBits},t.from=function(e,n){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw Error("Param is not a string");switch(e.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw Error("Unknown mode: "+e)}}(e)}catch(e){return n}}},99866:function(e,t,n){let r=n(51493);function o(e){this.mode=r.NUMERIC,this.data=e.toString()}o.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(e){let t,n;for(t=0;t+3<=this.data.length;t+=3)n=parseInt(this.data.substr(t,3),10),e.put(n,10);let r=this.data.length-t;r>0&&(n=parseInt(this.data.substr(t),10),e.put(n,3*r+1))},e.exports=o},86656:function(e,t,n){let r=n(77226);t.mul=function(e,t){let n=new Uint8Array(e.length+t.length-1);for(let o=0;o<e.length;o++)for(let i=0;i<t.length;i++)n[o+i]^=r.mul(e[o],t[i]);return n},t.mod=function(e,t){let n=new Uint8Array(e);for(;n.length-t.length>=0;){let e=n[0];for(let o=0;o<t.length;o++)n[o]^=r.mul(t[o],e);let o=0;for(;o<n.length&&0===n[o];)o++;n=n.slice(o)}return n},t.generateECPolynomial=function(e){let n=new Uint8Array([1]);for(let o=0;o<e;o++)n=t.mul(n,new Uint8Array([1,r.exp(o)]));return n}},23427:function(e,t,n){let r=n(66903),o=n(87301),i=n(52077),a=n(47937),s=n(97927),c=n(66162),u=n(48159),l=n(28371),d=n(12662),f=n(50643),p=n(38280),h=n(51493),m=n(23528);function w(e,t,n){let r,o;let i=e.size,a=p.getEncodedBits(t,n);for(r=0;r<15;r++)o=(a>>r&1)==1,r<6?e.set(r,8,o,!0):r<8?e.set(r+1,8,o,!0):e.set(i-15+r,8,o,!0),r<8?e.set(8,i-r-1,o,!0):r<9?e.set(8,15-r-1+1,o,!0):e.set(8,15-r-1,o,!0);e.set(i-8,8,1,!0)}t.create=function(e,t){let n,p;if(void 0===e||""===e)throw Error("No input text");let y=o.M;return void 0!==t&&(y=o.from(t.errorCorrectionLevel,o.M),n=f.from(t.version),p=u.from(t.maskPattern),t.toSJISFunc&&r.setToSJISFunction(t.toSJISFunc)),function(e,t,n,o){let p;if(Array.isArray(e))p=m.fromArray(e);else if("string"==typeof e){let r=t;if(!r){let t=m.rawSplit(e);r=f.getBestVersionForData(t,n)}p=m.fromString(e,r||40)}else throw Error("Invalid data");let y=f.getBestVersionForData(p,n);if(!y)throw Error("The amount of data is too big to be stored in a QR Code");if(t){if(t<y)throw Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+y+".\n")}else t=y;let b=function(e,t,n){let o=new i;n.forEach(function(t){o.put(t.mode.bit,4),o.put(t.getLength(),h.getCharCountIndicator(t.mode,e)),t.write(o)});let a=(r.getSymbolTotalCodewords(e)-l.getTotalCodewordsCount(e,t))*8;for(o.getLengthInBits()+4<=a&&o.put(0,4);o.getLengthInBits()%8!=0;)o.putBit(0);let s=(a-o.getLengthInBits())/8;for(let e=0;e<s;e++)o.put(e%2?17:236,8);return function(e,t,n){let o,i;let a=r.getSymbolTotalCodewords(t),s=a-l.getTotalCodewordsCount(t,n),c=l.getBlocksCount(t,n),u=a%c,f=c-u,p=Math.floor(a/c),h=Math.floor(s/c),m=h+1,w=p-h,y=new d(w),b=0,g=Array(c),A=Array(c),v=0,E=new Uint8Array(e.buffer);for(let e=0;e<c;e++){let t=e<f?h:m;g[e]=E.slice(b,b+t),A[e]=y.encode(g[e]),b+=t,v=Math.max(v,t)}let C=new Uint8Array(a),x=0;for(o=0;o<v;o++)for(i=0;i<c;i++)o<g[i].length&&(C[x++]=g[i][o]);for(o=0;o<w;o++)for(i=0;i<c;i++)C[x++]=A[i][o];return C}(o,e,t)}(t,n,p),g=new a(r.getSymbolSize(t));return function(e,t){let n=e.size,r=c.getPositions(t);for(let t=0;t<r.length;t++){let o=r[t][0],i=r[t][1];for(let t=-1;t<=7;t++)if(!(o+t<=-1)&&!(n<=o+t))for(let r=-1;r<=7;r++)i+r<=-1||n<=i+r||(t>=0&&t<=6&&(0===r||6===r)||r>=0&&r<=6&&(0===t||6===t)||t>=2&&t<=4&&r>=2&&r<=4?e.set(o+t,i+r,!0,!0):e.set(o+t,i+r,!1,!0))}}(g,t),function(e){let t=e.size;for(let n=8;n<t-8;n++){let t=n%2==0;e.set(n,6,t,!0),e.set(6,n,t,!0)}}(g),function(e,t){let n=s.getPositions(t);for(let t=0;t<n.length;t++){let r=n[t][0],o=n[t][1];for(let t=-2;t<=2;t++)for(let n=-2;n<=2;n++)-2===t||2===t||-2===n||2===n||0===t&&0===n?e.set(r+t,o+n,!0,!0):e.set(r+t,o+n,!1,!0)}}(g,t),w(g,n,0),t>=7&&function(e,t){let n,r,o;let i=e.size,a=f.getEncodedBits(t);for(let t=0;t<18;t++)n=Math.floor(t/3),r=t%3+i-8-3,o=(a>>t&1)==1,e.set(n,r,o,!0),e.set(r,n,o,!0)}(g,t),function(e,t){let n=e.size,r=-1,o=n-1,i=7,a=0;for(let s=n-1;s>0;s-=2)for(6===s&&s--;;){for(let n=0;n<2;n++)if(!e.isReserved(o,s-n)){let r=!1;a<t.length&&(r=(t[a]>>>i&1)==1),e.set(o,s-n,r),-1==--i&&(a++,i=7)}if((o+=r)<0||n<=o){o-=r,r=-r;break}}}(g,b),isNaN(o)&&(o=u.getBestMask(g,w.bind(null,g,n))),u.applyMask(o,g),w(g,n,o),{modules:g,version:t,errorCorrectionLevel:n,maskPattern:o,segments:p}}(e,n,y,p)}},12662:function(e,t,n){let r=n(86656);function o(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}o.prototype.initialize=function(e){this.degree=e,this.genPoly=r.generateECPolynomial(this.degree)},o.prototype.encode=function(e){if(!this.genPoly)throw Error("Encoder not initialized");let t=new Uint8Array(e.length+this.degree);t.set(e);let n=r.mod(t,this.genPoly),o=this.degree-n.length;if(o>0){let e=new Uint8Array(this.degree);return e.set(n,o),e}return n},e.exports=o},98173:function(e,t){let n="[0-9]+",r="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+",o="(?:(?![A-Z0-9 $%*+\\-./:]|"+(r=r.replace(/u/g,"\\u"))+")(?:.|[\r\n]))+";t.KANJI=RegExp(r,"g"),t.BYTE_KANJI=RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),t.BYTE=RegExp(o,"g"),t.NUMERIC=RegExp(n,"g"),t.ALPHANUMERIC=RegExp("[A-Z $%*+\\-./:]+","g");let i=RegExp("^"+r+"$"),a=RegExp("^"+n+"$"),s=RegExp("^[A-Z0-9 $%*+\\-./:]+$");t.testKanji=function(e){return i.test(e)},t.testNumeric=function(e){return a.test(e)},t.testAlphanumeric=function(e){return s.test(e)}},23528:function(e,t,n){let r=n(51493),o=n(99866),i=n(1944),a=n(61066),s=n(23769),c=n(98173),u=n(66903),l=n(20543);function d(e){return unescape(encodeURIComponent(e)).length}function f(e,t,n){let r;let o=[];for(;null!==(r=e.exec(n));)o.push({data:r[0],index:r.index,mode:t,length:r[0].length});return o}function p(e){let t,n;let o=f(c.NUMERIC,r.NUMERIC,e),i=f(c.ALPHANUMERIC,r.ALPHANUMERIC,e);return u.isKanjiModeEnabled()?(t=f(c.BYTE,r.BYTE,e),n=f(c.KANJI,r.KANJI,e)):(t=f(c.BYTE_KANJI,r.BYTE,e),n=[]),o.concat(i,t,n).sort(function(e,t){return e.index-t.index}).map(function(e){return{data:e.data,mode:e.mode,length:e.length}})}function h(e,t){switch(t){case r.NUMERIC:return o.getBitsLength(e);case r.ALPHANUMERIC:return i.getBitsLength(e);case r.KANJI:return s.getBitsLength(e);case r.BYTE:return a.getBitsLength(e)}}function m(e,t){let n;let c=r.getBestModeForData(e);if((n=r.from(t,c))!==r.BYTE&&n.bit<c.bit)throw Error('"'+e+'" cannot be encoded with mode '+r.toString(n)+".\n Suggested mode is: "+r.toString(c));switch(n!==r.KANJI||u.isKanjiModeEnabled()||(n=r.BYTE),n){case r.NUMERIC:return new o(e);case r.ALPHANUMERIC:return new i(e);case r.KANJI:return new s(e);case r.BYTE:return new a(e)}}t.fromArray=function(e){return e.reduce(function(e,t){return"string"==typeof t?e.push(m(t,null)):t.data&&e.push(m(t.data,t.mode)),e},[])},t.fromString=function(e,n){let o=function(e,t){let n={},o={start:{}},i=["start"];for(let a=0;a<e.length;a++){let s=e[a],c=[];for(let e=0;e<s.length;e++){let u=s[e],l=""+a+e;c.push(l),n[l]={node:u,lastCount:0},o[l]={};for(let e=0;e<i.length;e++){let a=i[e];n[a]&&n[a].node.mode===u.mode?(o[a][l]=h(n[a].lastCount+u.length,u.mode)-h(n[a].lastCount,u.mode),n[a].lastCount+=u.length):(n[a]&&(n[a].lastCount=u.length),o[a][l]=h(u.length,u.mode)+4+r.getCharCountIndicator(u.mode,t))}}i=c}for(let e=0;e<i.length;e++)o[i[e]].end=0;return{map:o,table:n}}(function(e){let t=[];for(let n=0;n<e.length;n++){let o=e[n];switch(o.mode){case r.NUMERIC:t.push([o,{data:o.data,mode:r.ALPHANUMERIC,length:o.length},{data:o.data,mode:r.BYTE,length:o.length}]);break;case r.ALPHANUMERIC:t.push([o,{data:o.data,mode:r.BYTE,length:o.length}]);break;case r.KANJI:t.push([o,{data:o.data,mode:r.BYTE,length:d(o.data)}]);break;case r.BYTE:t.push([{data:o.data,mode:r.BYTE,length:d(o.data)}])}}return t}(p(e,u.isKanjiModeEnabled())),n),i=l.find_path(o.map,"start","end"),a=[];for(let e=1;e<i.length-1;e++)a.push(o.table[i[e]].node);return t.fromArray(a.reduce(function(e,t){let n=e.length-1>=0?e[e.length-1]:null;return n&&n.mode===t.mode?e[e.length-1].data+=t.data:e.push(t),e},[]))},t.rawSplit=function(e){return t.fromArray(p(e,u.isKanjiModeEnabled()))}},66903:function(e,t){let n;let r=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];t.getSymbolSize=function(e){if(!e)throw Error('"version" cannot be null or undefined');if(e<1||e>40)throw Error('"version" should be in range from 1 to 40');return 4*e+17},t.getSymbolTotalCodewords=function(e){return r[e]},t.getBCHDigit=function(e){let t=0;for(;0!==e;)t++,e>>>=1;return t},t.setToSJISFunction=function(e){if("function"!=typeof e)throw Error('"toSJISFunc" is not a valid function.');n=e},t.isKanjiModeEnabled=function(){return void 0!==n},t.toSJIS=function(e){return n(e)}},57735:function(e,t){t.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}},50643:function(e,t,n){let r=n(66903),o=n(28371),i=n(87301),a=n(51493),s=n(57735),c=r.getBCHDigit(7973);function u(e,t){return a.getCharCountIndicator(e,t)+4}t.from=function(e,t){return s.isValid(e)?parseInt(e,10):t},t.getCapacity=function(e,t,n){if(!s.isValid(e))throw Error("Invalid QR Code version");void 0===n&&(n=a.BYTE);let i=(r.getSymbolTotalCodewords(e)-o.getTotalCodewordsCount(e,t))*8;if(n===a.MIXED)return i;let c=i-u(n,e);switch(n){case a.NUMERIC:return Math.floor(c/10*3);case a.ALPHANUMERIC:return Math.floor(c/11*2);case a.KANJI:return Math.floor(c/13);case a.BYTE:default:return Math.floor(c/8)}},t.getBestVersionForData=function(e,n){let r;let o=i.from(n,i.M);if(Array.isArray(e)){if(e.length>1)return function(e,n){for(let r=1;r<=40;r++)if(function(e,t){let n=0;return e.forEach(function(e){let r=u(e.mode,t);n+=r+e.getBitsLength()}),n}(e,r)<=t.getCapacity(r,n,a.MIXED))return r}(e,o);if(0===e.length)return 1;r=e[0]}else r=e;return function(e,n,r){for(let o=1;o<=40;o++)if(n<=t.getCapacity(o,r,e))return o}(r.mode,r.getLength(),o)},t.getEncodedBits=function(e){if(!s.isValid(e)||e<7)throw Error("Invalid QR Code version");let t=e<<12;for(;r.getBCHDigit(t)-c>=0;)t^=7973<<r.getBCHDigit(t)-c;return e<<12|t}},18462:function(e,t,n){let r=n(17426);t.render=function(e,t,n){var o;let i=n,a=t;void 0!==i||t&&t.getContext||(i=t,t=void 0),t||(a=function(){try{return document.createElement("canvas")}catch(e){throw Error("You need to specify a canvas element")}}()),i=r.getOptions(i);let s=r.getImageWidth(e.modules.size,i),c=a.getContext("2d"),u=c.createImageData(s,s);return r.qrToImageData(u.data,e,i),o=a,c.clearRect(0,0,o.width,o.height),o.style||(o.style={}),o.height=s,o.width=s,o.style.height=s+"px",o.style.width=s+"px",c.putImageData(u,0,0),a},t.renderToDataURL=function(e,n,r){let o=r;void 0!==o||n&&n.getContext||(o=n,n=void 0),o||(o={});let i=t.render(e,n,o),a=o.type||"image/png",s=o.rendererOpts||{};return i.toDataURL(a,s.quality)}},52822:function(e,t,n){let r=n(17426);function o(e,t){let n=e.a/255,r=t+'="'+e.hex+'"';return n<1?r+" "+t+'-opacity="'+n.toFixed(2).slice(1)+'"':r}function i(e,t,n){let r=e+t;return void 0!==n&&(r+=" "+n),r}t.render=function(e,t,n){let a=r.getOptions(t),s=e.modules.size,c=e.modules.data,u=s+2*a.margin,l=a.color.light.a?"<path "+o(a.color.light,"fill")+' d="M0 0h'+u+"v"+u+'H0z"/>':"",d="<path "+o(a.color.dark,"stroke")+' d="'+function(e,t,n){let r="",o=0,a=!1,s=0;for(let c=0;c<e.length;c++){let u=Math.floor(c%t),l=Math.floor(c/t);u||a||(a=!0),e[c]?(s++,c>0&&u>0&&e[c-1]||(r+=a?i("M",u+n,.5+l+n):i("m",o,0),o=0,a=!1),u+1<t&&e[c+1]||(r+=i("h",s),s=0)):o++}return r}(c,s,a.margin)+'"/>',f='<svg xmlns="http://www.w3.org/2000/svg" '+(a.width?'width="'+a.width+'" height="'+a.width+'" ':"")+('viewBox="0 0 '+u)+" "+u+'" shape-rendering="crispEdges">'+l+d+"</svg>\n";return"function"==typeof n&&n(null,f),f}},17426:function(e,t){function n(e){if("number"==typeof e&&(e=e.toString()),"string"!=typeof e)throw Error("Color should be defined as hex string");let t=e.slice().replace("#","").split("");if(t.length<3||5===t.length||t.length>8)throw Error("Invalid hex color: "+e);(3===t.length||4===t.length)&&(t=Array.prototype.concat.apply([],t.map(function(e){return[e,e]}))),6===t.length&&t.push("F","F");let n=parseInt(t.join(""),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:255&n,hex:"#"+t.slice(0,6).join("")}}t.getOptions=function(e){e||(e={}),e.color||(e.color={});let t=void 0===e.margin||null===e.margin||e.margin<0?4:e.margin,r=e.width&&e.width>=21?e.width:void 0,o=e.scale||4;return{width:r,scale:r?4:o,margin:t,color:{dark:n(e.color.dark||"#000000ff"),light:n(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},t.getScale=function(e,t){return t.width&&t.width>=e+2*t.margin?t.width/(e+2*t.margin):t.scale},t.getImageWidth=function(e,n){let r=t.getScale(e,n);return Math.floor((e+2*n.margin)*r)},t.qrToImageData=function(e,n,r){let o=n.modules.size,i=n.modules.data,a=t.getScale(o,r),s=Math.floor((o+2*r.margin)*a),c=r.margin*a,u=[r.color.light,r.color.dark];for(let t=0;t<s;t++)for(let n=0;n<s;n++){let l=(t*s+n)*4,d=r.color.light;t>=c&&n>=c&&t<s-c&&n<s-c&&(d=u[i[Math.floor((t-c)/a)*o+Math.floor((n-c)/a)]?1:0]),e[l++]=d.r,e[l++]=d.g,e[l++]=d.b,e[l]=d.a}}},83521:function(e,t,n){"use strict";n.d(t,{Z:function(){return P}});var r=n(52401),o=n(46760),i=n(73839),a=n(262),s=(0,n(16199)._)(),c=function(){},u=o.forwardRef(function(e,t){var n=o.useRef(null),i=o.useState({onScrollCapture:c,onWheelCapture:c,onTouchMoveCapture:c}),u=i[0],l=i[1],d=e.forwardProps,f=e.children,p=e.className,h=e.removeScrollBar,m=e.enabled,w=e.shards,y=e.sideCar,b=e.noIsolation,g=e.inert,A=e.allowPinchZoom,v=e.as,E=e.gapMode,C=(0,r._T)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),x=(0,a.q)([n,t]),B=(0,r.pi)((0,r.pi)({},C),u);return o.createElement(o.Fragment,null,m&&o.createElement(y,{sideCar:s,removeScrollBar:h,shards:w,noIsolation:b,inert:g,setCallbacks:l,allowPinchZoom:!!A,lockRef:n,gapMode:E}),d?o.cloneElement(o.Children.only(f),(0,r.pi)((0,r.pi)({},B),{ref:x})):o.createElement(void 0===v?"div":v,(0,r.pi)({},B,{className:p,ref:x}),f))});u.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},u.classNames={fullWidth:i.zi,zeroRight:i.pF};var l=n(32565),d=n(68770),f=n(23359),p=!1;if("undefined"!=typeof window)try{var h=Object.defineProperty({},"passive",{get:function(){return p=!0,!0}});window.addEventListener("test",h,h),window.removeEventListener("test",h,h)}catch(e){p=!1}var m=!!p&&{passive:!1},w=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===n[t])},y=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),b(e,r)){var o=g(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},b=function(e,t){return"v"===e?w(t,"overflowY"):w(t,"overflowX")},g=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},A=function(e,t,n,r,o){var i,a=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),s=a*r,c=n.target,u=t.contains(c),l=!1,d=s>0,f=0,p=0;do{var h=g(e,c),m=h[0],w=h[1]-h[2]-a*m;(m||w)&&b(e,c)&&(f+=w,p+=m),c instanceof ShadowRoot?c=c.host:c=c.parentNode}while(!u&&c!==document.body||u&&(t.contains(c)||t===c));return d&&(o&&1>Math.abs(f)||!o&&s>f)?l=!0:!d&&(o&&1>Math.abs(p)||!o&&-s>p)&&(l=!0),l},v=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},E=function(e){return[e.deltaX,e.deltaY]},C=function(e){return e&&"current"in e?e.current:e},x=0,B=[],k=(0,l.L)(s,function(e){var t=o.useRef([]),n=o.useRef([0,0]),i=o.useRef(),a=o.useState(x++)[0],s=o.useState(f.Ws)[0],c=o.useRef(e);o.useEffect(function(){c.current=e},[e]),o.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var t=(0,r.ev)([e.lockRef.current],(e.shards||[]).map(C),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var u=o.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!c.current.allowPinchZoom;var r,o=v(e),a=n.current,s="deltaX"in e?e.deltaX:a[0]-o[0],u="deltaY"in e?e.deltaY:a[1]-o[1],l=e.target,d=Math.abs(s)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===l.type)return!1;var f=y(d,l);if(!f)return!0;if(f?r=d:(r="v"===d?"h":"v",f=y(d,l)),!f)return!1;if(!i.current&&"changedTouches"in e&&(s||u)&&(i.current=r),!r)return!0;var p=i.current||r;return A(p,t,e,"h"===p?s:u,!0)},[]),l=o.useCallback(function(e){if(B.length&&B[B.length-1]===s){var n="deltaY"in e?E(e):v(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta)[0]===n[0]&&r[1]===n[1]})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(c.current.shards||[]).map(C).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?u(e,o[0]):!c.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),p=o.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),h=o.useCallback(function(e){n.current=v(e),i.current=void 0},[]),w=o.useCallback(function(t){p(t.type,E(t),t.target,u(t,e.lockRef.current))},[]),b=o.useCallback(function(t){p(t.type,v(t),t.target,u(t,e.lockRef.current))},[]);o.useEffect(function(){return B.push(s),e.setCallbacks({onScrollCapture:w,onWheelCapture:w,onTouchMoveCapture:b}),document.addEventListener("wheel",l,m),document.addEventListener("touchmove",l,m),document.addEventListener("touchstart",h,m),function(){B=B.filter(function(e){return e!==s}),document.removeEventListener("wheel",l,m),document.removeEventListener("touchmove",l,m),document.removeEventListener("touchstart",h,m)}},[]);var g=e.removeScrollBar,k=e.inert;return o.createElement(o.Fragment,null,k?o.createElement(s,{styles:"\n .block-interactivity-".concat(a," {pointer-events: none;}\n .allow-interactivity-").concat(a," {pointer-events: all;}\n")}):null,g?o.createElement(d.jp,{gapMode:e.gapMode}):null)}),I=o.forwardRef(function(e,t){return o.createElement(u,(0,r.pi)({},e,{ref:t,sideCar:k}))});I.classNames=u.classNames;var P=I},40299:function(e,t,n){var r;!function(o,i){"use strict";var a="function",s="undefined",c="object",u="string",l="major",d="model",f="name",p="type",h="vendor",m="version",w="architecture",y="console",b="mobile",g="tablet",A="smarttv",v="wearable",E="embedded",C="Amazon",x="Apple",B="ASUS",k="BlackBerry",I="Browser",P="Chrome",N="Firefox",M="Google",F="Huawei",R="Microsoft",S="Motorola",O="Opera",T="Samsung",D="Sharp",L="Sony",Q="Xiaomi",q="Zebra",U="Facebook",G="Chromium OS",W="Mac OS",z=function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n},j=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},H=function(e,t){return typeof e===u&&-1!==K(t).indexOf(K(e))},K=function(e){return e.toLowerCase()},Z=function(e,t){if(typeof e===u)return e=e.replace(/^\s\s*/,""),typeof t===s?e:e.substring(0,500)},V=function(e,t){for(var n,r,o,s,u,l,d=0;d<t.length&&!u;){var f=t[d],p=t[d+1];for(n=r=0;n<f.length&&!u&&f[n];)if(u=f[n++].exec(e))for(o=0;o<p.length;o++)l=u[++r],typeof(s=p[o])===c&&s.length>0?2===s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,l):this[s[0]]=s[1]:3===s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=l?l.replace(s[1],s[2]):void 0:this[s[0]]=l?s[1].call(this,l,s[2]):void 0:4===s.length&&(this[s[0]]=l?s[3].call(this,l.replace(s[1],s[2])):void 0):this[s]=l||i;d+=2}},J=function(e,t){for(var n in t)if(typeof t[n]===c&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(H(t[n][r],e))return"?"===n?i:n}else if(H(t[n],e))return"?"===n?i:n;return e},Y={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},X={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[m,[f,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[m,[f,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[f,m],[/opios[\/ ]+([\w\.]+)/i],[m,[f,O+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[m,[f,O+" GX"]],[/\bopr\/([\w\.]+)/i],[m,[f,O]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[m,[f,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[f,m],[/\bddg\/([\w\.]+)/i],[m,[f,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[m,[f,"UC"+I]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[m,[f,"WeChat"]],[/konqueror\/([\w\.]+)/i],[m,[f,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[m,[f,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[m,[f,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[m,[f,"Smart Lenovo "+I]],[/(avast|avg)\/([\w\.]+)/i],[[f,/(.+)/,"$1 Secure "+I],m],[/\bfocus\/([\w\.]+)/i],[m,[f,N+" Focus"]],[/\bopt\/([\w\.]+)/i],[m,[f,O+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[m,[f,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[m,[f,"Dolphin"]],[/coast\/([\w\.]+)/i],[m,[f,O+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[m,[f,"MIUI "+I]],[/fxios\/([-\w\.]+)/i],[m,[f,N]],[/\bqihu|(qi?ho?o?|360)browser/i],[[f,"360 "+I]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[f,/(.+)/,"$1 "+I],m],[/samsungbrowser\/([\w\.]+)/i],[m,[f,T+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[f,/_/g," "],m],[/metasr[\/ ]?([\d\.]+)/i],[m,[f,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[f,"Sogou Mobile"],m],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[f,m],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[f],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[f,U],m],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[f,m],[/\bgsa\/([\w\.]+) .*safari\//i],[m,[f,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[m,[f,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[m,[f,P+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[f,P+" WebView"],m],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[m,[f,"Android "+I]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[f,m],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[m,[f,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[m,f],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[f,[m,J,{"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[f,m],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[f,"Netscape"],m],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[m,[f,N+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[f,m],[/(cobalt)\/([\w\.]+)/i],[f,[m,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[w,"amd64"]],[/(ia32(?=;))/i],[[w,K]],[/((?:i[346]|x)86)[;\)]/i],[[w,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[w,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[w,"armhf"]],[/windows (ce|mobile); ppc;/i],[[w,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[w,/ower/,"",K]],[/(sun4\w)[;\)]/i],[[w,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[w,K]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[h,T],[p,g]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[d,[h,T],[p,b]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[h,x],[p,b]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[h,x],[p,g]],[/(macintosh);/i],[d,[h,x]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[h,D],[p,b]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[h,F],[p,g]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[h,F],[p,b]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[d,/_/g," "],[h,Q],[p,b]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[h,Q],[p,g]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[h,"OPPO"],[p,b]],[/\b(opd2\d{3}a?) bui/i],[d,[h,"OPPO"],[p,g]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[h,"Vivo"],[p,b]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[d,[h,"Realme"],[p,b]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[d,[h,S],[p,b]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[h,S],[p,g]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[h,"LG"],[p,g]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[h,"LG"],[p,b]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[h,"Lenovo"],[p,g]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[h,"Nokia"],[p,b]],[/(pixel c)\b/i],[d,[h,M],[p,g]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[h,M],[p,b]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[d,[h,L],[p,b]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[h,L],[p,g]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[h,"OnePlus"],[p,b]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[h,C],[p,g]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[h,C],[p,b]],[/(playbook);[-\w\),; ]+(rim)/i],[d,h,[p,g]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[h,k],[p,b]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[h,B],[p,g]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[h,B],[p,b]],[/(nexus 9)/i],[d,[h,"HTC"],[p,g]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[h,[d,/_/g," "],[p,b]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[h,"Acer"],[p,g]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[h,"Meizu"],[p,b]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[d,[h,"Ulefone"],[p,b]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[h,d,[p,b]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[h,d,[p,g]],[/(surface duo)/i],[d,[h,R],[p,g]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[h,"Fairphone"],[p,b]],[/(u304aa)/i],[d,[h,"AT&T"],[p,b]],[/\bsie-(\w*)/i],[d,[h,"Siemens"],[p,b]],[/\b(rct\w+) b/i],[d,[h,"RCA"],[p,g]],[/\b(venue[\d ]{2,7}) b/i],[d,[h,"Dell"],[p,g]],[/\b(q(?:mv|ta)\w+) b/i],[d,[h,"Verizon"],[p,g]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[h,"Barnes & Noble"],[p,g]],[/\b(tm\d{3}\w+) b/i],[d,[h,"NuVision"],[p,g]],[/\b(k88) b/i],[d,[h,"ZTE"],[p,g]],[/\b(nx\d{3}j) b/i],[d,[h,"ZTE"],[p,b]],[/\b(gen\d{3}) b.+49h/i],[d,[h,"Swiss"],[p,b]],[/\b(zur\d{3}) b/i],[d,[h,"Swiss"],[p,g]],[/\b((zeki)?tb.*\b) b/i],[d,[h,"Zeki"],[p,g]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[h,"Dragon Touch"],d,[p,g]],[/\b(ns-?\w{0,9}) b/i],[d,[h,"Insignia"],[p,g]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[h,"NextBook"],[p,g]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[h,"Voice"],d,[p,b]],[/\b(lvtel\-)?(v1[12]) b/i],[[h,"LvTel"],d,[p,b]],[/\b(ph-1) /i],[d,[h,"Essential"],[p,b]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[h,"Envizen"],[p,g]],[/\b(trio[-\w\. ]+) b/i],[d,[h,"MachSpeed"],[p,g]],[/\btu_(1491) b/i],[d,[h,"Rotor"],[p,g]],[/(shield[\w ]+) b/i],[d,[h,"Nvidia"],[p,g]],[/(sprint) (\w+)/i],[h,d,[p,b]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[h,R],[p,b]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[h,q],[p,g]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[h,q],[p,b]],[/smart-tv.+(samsung)/i],[h,[p,A]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[h,T],[p,A]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,"LG"],[p,A]],[/(apple) ?tv/i],[h,[d,x+" TV"],[p,A]],[/crkey/i],[[d,P+"cast"],[h,M],[p,A]],[/droid.+aft(\w+)( bui|\))/i],[d,[h,C],[p,A]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[h,D],[p,A]],[/(bravia[\w ]+)( bui|\))/i],[d,[h,L],[p,A]],[/(mitv-\w{5}) bui/i],[d,[h,Q],[p,A]],[/Hbbtv.*(technisat) (.*);/i],[h,d,[p,A]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[h,Z],[d,Z],[p,A]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[p,A]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[h,d,[p,y]],[/droid.+; (shield) bui/i],[d,[h,"Nvidia"],[p,y]],[/(playstation [345portablevi]+)/i],[d,[h,L],[p,y]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[h,R],[p,y]],[/((pebble))app/i],[h,d,[p,v]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[h,x],[p,v]],[/droid.+; (glass) \d/i],[d,[h,M],[p,v]],[/droid.+; (wt63?0{2,3})\)/i],[d,[h,q],[p,v]],[/(quest( \d| pro)?)/i],[d,[h,U],[p,v]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[p,E]],[/(aeobc)\b/i],[d,[h,C],[p,E]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[d,[p,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[p,g]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[p,g]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[p,b]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[h,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[m,[f,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[m,[f,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[f,m],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[m,f]],os:[[/microsoft (windows) (vista|xp)/i],[f,m],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[f,[m,J,Y]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[m,J,Y],[f,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[m,/_/g,"."],[f,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[f,W],[m,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[m,f],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[f,m],[/\(bb(10);/i],[m,[f,k]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[m,[f,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[m,[f,N+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[m,[f,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[m,[f,"watchOS"]],[/crkey\/([\d\.]+)/i],[m,[f,P+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[f,G],m],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[f,m],[/(sunos) ?([\w\.\d]*)/i],[[f,"Solaris"],m],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[f,m]]},$=function(e,t){if(typeof e===c&&(t=e,e=i),!(this instanceof $))return new $(e,t).getResult();var n=typeof o!==s&&o.navigator?o.navigator:i,r=e||(n&&n.userAgent?n.userAgent:""),y=n&&n.userAgentData?n.userAgentData:i,A=t?z(X,t):X,v=n&&n.userAgent==r;return this.getBrowser=function(){var e,t={};return t[f]=i,t[m]=i,V.call(t,r,A.browser),t[l]=typeof(e=t[m])===u?e.replace(/[^\d\.]/g,"").split(".")[0]:i,v&&n&&n.brave&&typeof n.brave.isBrave==a&&(t[f]="Brave"),t},this.getCPU=function(){var e={};return e[w]=i,V.call(e,r,A.cpu),e},this.getDevice=function(){var e={};return e[h]=i,e[d]=i,e[p]=i,V.call(e,r,A.device),v&&!e[p]&&y&&y.mobile&&(e[p]=b),v&&"Macintosh"==e[d]&&n&&typeof n.standalone!==s&&n.maxTouchPoints&&n.maxTouchPoints>2&&(e[d]="iPad",e[p]=g),e},this.getEngine=function(){var e={};return e[f]=i,e[m]=i,V.call(e,r,A.engine),e},this.getOS=function(){var e={};return e[f]=i,e[m]=i,V.call(e,r,A.os),v&&!e[f]&&y&&y.platform&&"Unknown"!=y.platform&&(e[f]=y.platform.replace(/chrome os/i,G).replace(/macos/i,W)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=typeof e===u&&e.length>500?Z(e,500):e,this},this.setUA(r),this};$.VERSION="1.0.38",$.BROWSER=j([f,m,l]),$.CPU=j([w]),$.DEVICE=j([d,h,p,y,b,A,g,v,E]),$.ENGINE=$.OS=j([f,m]),typeof t!==s?(e.exports&&(t=e.exports=$),t.UAParser=$):n.amdO?i!==(r=(function(){return $}).call(t,n,t,e))&&(e.exports=r):typeof o!==s&&(o.UAParser=$);var _=typeof o!==s&&(o.jQuery||o.Zepto);if(_&&!_.ua){var ee=new $;_.ua=ee.getResult(),_.ua.get=function(){return ee.getUA()},_.ua.set=function(e){ee.setUA(e);var t=ee.getResult();for(var n in t)_.ua[n]=t[n]}}}("object"==typeof window?window:this)},98310:function(e,t,n){"use strict";n.d(t,{Dd:function(){return k},FF:function(){return R},Fy:function(){return B},H9:function(){return S},S5:function(){return g},Wd:function(){return E},Z2:function(){return x},_t:function(){return a},bytesToNumberBE:function(){return w},ci:function(){return l},dQ:function(){return I},eV:function(){return v},gk:function(){return s},hexToBytes:function(){return m},n$:function(){return M},ql:function(){return A},tL:function(){return b},ty:function(){return y},uw:function(){return c},uz:function(){return d}});/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */let r=BigInt(0),o=BigInt(1),i=BigInt(2);function a(e){return e instanceof Uint8Array||null!=e&&"object"==typeof e&&"Uint8Array"===e.constructor.name}function s(e){if(!a(e))throw Error("Uint8Array expected")}function c(e,t){if("boolean"!=typeof t)throw Error(`${e} must be valid boolean, got "${t}".`)}let u=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function l(e){s(e);let t="";for(let n=0;n<e.length;n++)t+=u[e[n]];return t}function d(e){let t=e.toString(16);return 1&t.length?`0${t}`:t}function f(e){if("string"!=typeof e)throw Error("hex string expected, got "+typeof e);return BigInt(""===e?"0":`0x${e}`)}let p={_0:48,_9:57,_A:65,_F:70,_a:97,_f:102};function h(e){return e>=p._0&&e<=p._9?e-p._0:e>=p._A&&e<=p._F?e-(p._A-10):e>=p._a&&e<=p._f?e-(p._a-10):void 0}function m(e){if("string"!=typeof e)throw Error("hex string expected, got "+typeof e);let t=e.length,n=t/2;if(t%2)throw Error("padded hex string expected, got unpadded hex of length "+t);let r=new Uint8Array(n);for(let t=0,o=0;t<n;t++,o+=2){let n=h(e.charCodeAt(o)),i=h(e.charCodeAt(o+1));if(void 0===n||void 0===i)throw Error('hex string expected, got non-hex character "'+(e[o]+e[o+1])+'" at index '+o);r[t]=16*n+i}return r}function w(e){return f(l(e))}function y(e){return s(e),f(l(Uint8Array.from(e).reverse()))}function b(e,t){return m(e.toString(16).padStart(2*t,"0"))}function g(e,t){return b(e,t).reverse()}function A(e,t,n){let r;if("string"==typeof t)try{r=m(t)}catch(n){throw Error(`${e} must be valid hex string, got "${t}". Cause: ${n}`)}else if(a(t))r=Uint8Array.from(t);else throw Error(`${e} must be hex string or Uint8Array`);let o=r.length;if("number"==typeof n&&o!==n)throw Error(`${e} expected ${n} bytes, got ${o}`);return r}function v(...e){let t=0;for(let n=0;n<e.length;n++){let r=e[n];s(r),t+=r.length}let n=new Uint8Array(t);for(let t=0,r=0;t<e.length;t++){let o=e[t];n.set(o,r),r+=o.length}return n}function E(e,t){if(e.length!==t.length)return!1;let n=0;for(let r=0;r<e.length;r++)n|=e[r]^t[r];return 0===n}let C=e=>"bigint"==typeof e&&r<=e;function x(e,t,n){return C(e)&&C(t)&&C(n)&&t<=e&&e<n}function B(e,t,n,r){if(!x(t,n,r))throw Error(`expected valid ${e}: ${n} <= n < ${r}, got ${typeof t} ${t}`)}function k(e){let t;for(t=0;e>r;e>>=o,t+=1);return t}let I=e=>(i<<BigInt(e-1))-o,P=e=>new Uint8Array(e),N=e=>Uint8Array.from(e);function M(e,t,n){if("number"!=typeof e||e<2)throw Error("hashLen must be a number");if("number"!=typeof t||t<2)throw Error("qByteLen must be a number");if("function"!=typeof n)throw Error("hmacFn must be a function");let r=P(e),o=P(e),i=0,a=()=>{r.fill(1),o.fill(0),i=0},s=(...e)=>n(o,r,...e),c=(e=P())=>{o=s(N([0]),e),r=s(),0!==e.length&&(o=s(N([1]),e),r=s())},u=()=>{if(i++>=1e3)throw Error("drbg: tried 1000 values");let e=0,n=[];for(;e<t;){let t=(r=s()).slice();n.push(t),e+=r.length}return v(...n)};return(e,t)=>{let n;for(a(),c(e);!(n=t(u()));)c();return a(),n}}let F={bigint:e=>"bigint"==typeof e,function:e=>"function"==typeof e,boolean:e=>"boolean"==typeof e,string:e=>"string"==typeof e,stringOrUint8Array:e=>"string"==typeof e||a(e),isSafeInteger:e=>Number.isSafeInteger(e),array:e=>Array.isArray(e),field:(e,t)=>t.Fp.isValid(e),hash:e=>"function"==typeof e&&Number.isSafeInteger(e.outputLen)};function R(e,t,n={}){let r=(t,n,r)=>{let o=F[n];if("function"!=typeof o)throw Error(`Invalid validator "${n}", expected function`);let i=e[t];if((!r||void 0!==i)&&!o(i,e))throw Error(`Invalid param ${String(t)}=${i} (${typeof i}), expected ${n}`)};for(let[e,n]of Object.entries(t))r(e,n,!1);for(let[e,t]of Object.entries(n))r(e,t,!0);return e}function S(e){let t=new WeakMap;return(n,...r)=>{let o=t.get(n);if(void 0!==o)return o;let i=e(n,...r);return t.set(n,i),i}}},89922:function(e,t,n){"use strict";n.d(t,{secp256k1:function(){return W}});var r=n(53086),o=n(23255),i=n(48345);class a extends i.kb{constructor(e,t){super(),this.finished=!1,this.destroyed=!1,(0,o.vp)(e);let n=(0,i.O0)(t);if(this.iHash=e.create(),"function"!=typeof this.iHash.update)throw Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;let r=this.blockLen,a=new Uint8Array(r);a.set(n.length>r?e.create().update(n).digest():n);for(let e=0;e<a.length;e++)a[e]^=54;this.iHash.update(a),this.oHash=e.create();for(let e=0;e<a.length;e++)a[e]^=106;this.oHash.update(a),a.fill(0)}update(e){return(0,o.Gg)(this),this.iHash.update(e),this}digestInto(e){(0,o.Gg)(this),(0,o.aI)(e,this.outputLen),this.finished=!0,this.iHash.digestInto(e),this.oHash.update(e),this.oHash.digestInto(e),this.destroy()}digest(){let e=new Uint8Array(this.oHash.outputLen);return this.digestInto(e),e}_cloneInto(e){e||(e=Object.create(Object.getPrototypeOf(this),{}));let{oHash:t,iHash:n,finished:r,destroyed:o,blockLen:i,outputLen:a}=this;return e.finished=r,e.destroyed=o,e.blockLen=i,e.outputLen=a,e.oHash=t._cloneInto(e.oHash),e.iHash=n._cloneInto(e.iHash),e}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}let s=(e,t,n)=>new a(e,t).update(n).digest();s.create=(e,t)=>new a(e,t);var c=n(98310);/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */let u=BigInt(0),l=BigInt(1),d=BigInt(2),f=BigInt(3),p=BigInt(4),h=BigInt(5),m=BigInt(8);function w(e,t){let n=e%t;return n>=u?n:t+n}function y(e,t,n){let r=e;for(;t-- >u;)r*=r,r%=n;return r}function b(e,t){if(e===u||t<=u)throw Error(`invert: expected positive integers, got n=${e} mod=${t}`);let n=w(e,t),r=t,o=u,i=l,a=l,s=u;for(;n!==u;){let e=r/n,t=r%n,c=o-a*e,u=i-s*e;r=n,n=t,o=a,i=s,a=c,s=u}if(r!==l)throw Error("invert: does not exist");return w(o,t)}BigInt(9),BigInt(16);let g=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function A(e,t){let n=void 0!==t?t:e.toString(2).length;return{nBitLength:n,nByteLength:Math.ceil(n/8)}}function v(e,t,n=!1,r={}){if(e<=u)throw Error(`Expected Field ORDER > 0, got ${e}`);let{nBitLength:o,nByteLength:i}=A(e,t);if(i>2048)throw Error("Field lengths over 2048 bytes are not supported");let a=function(e){if(e%p===f){let t=(e+l)/p;return function(e,n){let r=e.pow(n,t);if(!e.eql(e.sqr(r),n))throw Error("Cannot find square root");return r}}if(e%m===h){let t=(e-h)/m;return function(e,n){let r=e.mul(n,d),o=e.pow(r,t),i=e.mul(n,o),a=e.mul(e.mul(i,d),o),s=e.mul(i,e.sub(a,e.ONE));if(!e.eql(e.sqr(s),n))throw Error("Cannot find square root");return s}}return function(e){let t,n,r;let o=(e-l)/d;for(t=e-l,n=0;t%d===u;t/=d,n++);for(r=d;r<e&&function(e,t,n){if(n<=u||t<u)throw Error("Expected power/modulo > 0");if(n===l)return u;let r=l;for(;t>u;)t&l&&(r=r*e%n),e=e*e%n,t>>=l;return r}(r,o,e)!==e-l;r++);if(1===n){let t=(e+l)/p;return function(e,n){let r=e.pow(n,t);if(!e.eql(e.sqr(r),n))throw Error("Cannot find square root");return r}}let i=(t+l)/d;return function(e,a){if(e.pow(a,o)===e.neg(e.ONE))throw Error("Cannot find square root");let s=n,c=e.pow(e.mul(e.ONE,r),t),u=e.pow(a,i),d=e.pow(a,t);for(;!e.eql(d,e.ONE);){if(e.eql(d,e.ZERO))return e.ZERO;let t=1;for(let n=e.sqr(d);t<s&&!e.eql(n,e.ONE);t++)n=e.sqr(n);let n=e.pow(c,l<<BigInt(s-t-1));c=e.sqr(n),u=e.mul(u,n),d=e.mul(d,c),s=t}return u}}(e)}(e),s=Object.freeze({ORDER:e,BITS:o,BYTES:i,MASK:(0,c.dQ)(o),ZERO:u,ONE:l,create:t=>w(t,e),isValid:t=>{if("bigint"!=typeof t)throw Error(`Invalid field element: expected bigint, got ${typeof t}`);return u<=t&&t<e},is0:e=>e===u,isOdd:e=>(e&l)===l,neg:t=>w(-t,e),eql:(e,t)=>e===t,sqr:t=>w(t*t,e),add:(t,n)=>w(t+n,e),sub:(t,n)=>w(t-n,e),mul:(t,n)=>w(t*n,e),pow:(e,t)=>(function(e,t,n){if(n<u)throw Error("Expected power > 0");if(n===u)return e.ONE;if(n===l)return t;let r=e.ONE,o=t;for(;n>u;)n&l&&(r=e.mul(r,o)),o=e.sqr(o),n>>=l;return r})(s,e,t),div:(t,n)=>w(t*b(n,e),e),sqrN:e=>e*e,addN:(e,t)=>e+t,subN:(e,t)=>e-t,mulN:(e,t)=>e*t,inv:t=>b(t,e),sqrt:r.sqrt||(e=>a(s,e)),invertBatch:e=>(function(e,t){let n=Array(t.length),r=t.reduce((t,r,o)=>e.is0(r)?t:(n[o]=t,e.mul(t,r)),e.ONE),o=e.inv(r);return t.reduceRight((t,r,o)=>e.is0(r)?t:(n[o]=e.mul(t,n[o]),e.mul(t,r)),o),n})(s,e),cmov:(e,t,n)=>n?t:e,toBytes:e=>n?(0,c.S5)(e,i):(0,c.tL)(e,i),fromBytes:e=>{if(e.length!==i)throw Error(`Fp.fromBytes: expected ${i}, got ${e.length}`);return n?(0,c.ty)(e):(0,c.bytesToNumberBE)(e)}});return Object.freeze(s)}function E(e){if("bigint"!=typeof e)throw Error("field order must be bigint");return Math.ceil(e.toString(2).length/8)}function C(e){let t=E(e);return t+Math.ceil(t/2)}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */let x=BigInt(0),B=BigInt(1),k=new WeakMap,I=new WeakMap;function P(e){return!function(e){let t=g.reduce((e,t)=>(e[t]="function",e),{ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"});(0,c.FF)(e,t)}(e.Fp),(0,c.FF)(e,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...A(e.n,e.nBitLength),...e,p:e.Fp.ORDER})}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */function N(e){void 0!==e.lowS&&(0,c.uw)("lowS",e.lowS),void 0!==e.prehash&&(0,c.uw)("prehash",e.prehash)}let{bytesToNumberBE:M,hexToBytes:F}=c,R={Err:class extends Error{constructor(e=""){super(e)}},_tlv:{encode:(e,t)=>{let{Err:n}=R;if(e<0||e>256)throw new n("tlv.encode: wrong tag");if(1&t.length)throw new n("tlv.encode: unpadded data");let r=t.length/2,o=c.uz(r);if(o.length/2&128)throw new n("tlv.encode: long form length too big");let i=r>127?c.uz(o.length/2|128):"";return`${c.uz(e)}${i}${o}${t}`},decode(e,t){let{Err:n}=R,r=0;if(e<0||e>256)throw new n("tlv.encode: wrong tag");if(t.length<2||t[r++]!==e)throw new n("tlv.decode: wrong tlv");let o=t[r++],i=0;if(128&o){let e=127&o;if(!e)throw new n("tlv.decode(long): indefinite length not supported");if(e>4)throw new n("tlv.decode(long): byte length is too big");let a=t.subarray(r,r+e);if(a.length!==e)throw new n("tlv.decode: length bytes not complete");if(0===a[0])throw new n("tlv.decode(long): zero leftmost byte");for(let e of a)i=i<<8|e;if(r+=e,i<128)throw new n("tlv.decode(long): not minimal encoding")}else i=o;let a=t.subarray(r,r+i);if(a.length!==i)throw new n("tlv.decode: wrong value length");return{v:a,l:t.subarray(r+i)}}},_int:{encode(e){let{Err:t}=R;if(e<S)throw new t("integer: negative integers are not allowed");let n=c.uz(e);if(8&Number.parseInt(n[0],16)&&(n="00"+n),1&n.length)throw new t("unexpected assertion");return n},decode(e){let{Err:t}=R;if(128&e[0])throw new t("Invalid signature integer: negative");if(0===e[0]&&!(128&e[1]))throw new t("Invalid signature integer: unnecessary leading zero");return M(e)}},toSig(e){let{Err:t,_int:n,_tlv:r}=R,o="string"==typeof e?F(e):e;c.gk(o);let{v:i,l:a}=r.decode(48,o);if(a.length)throw new t("Invalid signature: left bytes after parsing");let{v:s,l:u}=r.decode(2,i),{v:l,l:d}=r.decode(2,u);if(d.length)throw new t("Invalid signature: left bytes after parsing");return{r:n.decode(s),s:n.decode(l)}},hexFromSig(e){let{_tlv:t,_int:n}=R,r=`${t.encode(2,n.encode(e.r))}${t.encode(2,n.encode(e.s))}`;return t.encode(48,r)}},S=BigInt(0),O=BigInt(1),T=(BigInt(2),BigInt(3));BigInt(4);/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */let D=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),L=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),Q=BigInt(1),q=BigInt(2),U=(e,t)=>(e+t/q)/t,G=v(D,void 0,void 0,{sqrt:function(e){let t=BigInt(3),n=BigInt(6),r=BigInt(11),o=BigInt(22),i=BigInt(23),a=BigInt(44),s=BigInt(88),c=e*e*e%D,u=c*c*e%D,l=y(u,t,D)*u%D,d=y(l,t,D)*u%D,f=y(d,q,D)*c%D,p=y(f,r,D)*f%D,h=y(p,o,D)*p%D,m=y(h,a,D)*h%D,w=y(m,s,D)*m%D,b=y(w,a,D)*h%D,g=y(b,t,D)*u%D,A=y(g,i,D)*p%D,v=y(A,n,D)*c%D,E=y(v,q,D);if(!G.eql(G.sqr(E),e))throw Error("Cannot find square root");return E}}),W=function(e,t){let n=t=>(function(e){let t=function(e){let t=P(e);return c.FF(t,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...t})}(e),{Fp:n,n:r}=t,o=n.BYTES+1,i=2*n.BYTES+1;function a(e){return w(e,r)}let{ProjectivePoint:s,normPrivateKeyToScalar:u,weierstrassEquation:d,isWithinCurveOrder:f}=function(e){let t=function(e){let t=P(e);c.FF(t,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});let{endo:n,Fp:r,a:o}=t;if(n){if(!r.eql(o,r.ZERO))throw Error("Endomorphism can only be defined for Koblitz curves that have a=0");if("object"!=typeof n||"bigint"!=typeof n.beta||"function"!=typeof n.splitScalar)throw Error("Expected endomorphism with beta: bigint and splitScalar: function")}return Object.freeze({...t})}(e),{Fp:n}=t,r=v(t.n,t.nBitLength),o=t.toBytes||((e,t,r)=>{let o=t.toAffine();return c.eV(Uint8Array.from([4]),n.toBytes(o.x),n.toBytes(o.y))}),i=t.fromBytes||(e=>{let t=e.subarray(1);return{x:n.fromBytes(t.subarray(0,n.BYTES)),y:n.fromBytes(t.subarray(n.BYTES,2*n.BYTES))}});function a(e){let{a:r,b:o}=t,i=n.sqr(e),a=n.mul(i,e);return n.add(n.add(a,n.mul(e,r)),o)}if(!n.eql(n.sqr(t.Gy),a(t.Gx)))throw Error("bad generator point: equation left != right");function s(e){let n;let{allowedPrivateKeyLengths:r,nByteLength:o,wrapPrivateKey:i,n:a}=t;if(r&&"bigint"!=typeof e){if(c._t(e)&&(e=c.ci(e)),"string"!=typeof e||!r.includes(e.length))throw Error("Invalid key");e=e.padStart(2*o,"0")}try{n="bigint"==typeof e?e:c.bytesToNumberBE((0,c.ql)("private key",e,o))}catch(t){throw Error(`private key must be ${o} bytes, hex or bigint, not ${typeof e}`)}return i&&(n=w(n,a)),c.Fy("private key",n,O,a),n}function u(e){if(!(e instanceof f))throw Error("ProjectivePoint expected")}let l=(0,c.H9)((e,t)=>{let{px:r,py:o,pz:i}=e;if(n.eql(i,n.ONE))return{x:r,y:o};let a=e.is0();null==t&&(t=a?n.ONE:n.inv(i));let s=n.mul(r,t),c=n.mul(o,t),u=n.mul(i,t);if(a)return{x:n.ZERO,y:n.ZERO};if(!n.eql(u,n.ONE))throw Error("invZ was invalid");return{x:s,y:c}}),d=(0,c.H9)(e=>{if(e.is0()){if(t.allowInfinityPoint&&!n.is0(e.py))return;throw Error("bad point: ZERO")}let{x:r,y:o}=e.toAffine();if(!n.isValid(r)||!n.isValid(o))throw Error("bad point: x or y not FE");let i=n.sqr(o),s=a(r);if(!n.eql(i,s))throw Error("bad point: equation left != right");if(!e.isTorsionFree())throw Error("bad point: not in prime-order subgroup");return!0});class f{constructor(e,t,r){if(this.px=e,this.py=t,this.pz=r,null==e||!n.isValid(e))throw Error("x required");if(null==t||!n.isValid(t))throw Error("y required");if(null==r||!n.isValid(r))throw Error("z required");Object.freeze(this)}static fromAffine(e){let{x:t,y:r}=e||{};if(!e||!n.isValid(t)||!n.isValid(r))throw Error("invalid affine point");if(e instanceof f)throw Error("projective point not allowed");let o=e=>n.eql(e,n.ZERO);return o(t)&&o(r)?f.ZERO:new f(t,r,n.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(e){let t=n.invertBatch(e.map(e=>e.pz));return e.map((e,n)=>e.toAffine(t[n])).map(f.fromAffine)}static fromHex(e){let t=f.fromAffine(i((0,c.ql)("pointHex",e)));return t.assertValidity(),t}static fromPrivateKey(e){return f.BASE.multiply(s(e))}static msm(e,t){return function(e,t,n,r){if(!Array.isArray(n)||!Array.isArray(r)||r.length!==n.length)throw Error("arrays of points and scalars must have equal length");r.forEach((e,n)=>{if(!t.isValid(e))throw Error(`wrong scalar at index ${n}`)}),n.forEach((t,n)=>{if(!(t instanceof e))throw Error(`wrong point at index ${n}`)});let o=(0,c.Dd)(BigInt(n.length)),i=o>12?o-3:o>4?o-2:o?2:1,a=(1<<i)-1,s=Array(a+1).fill(e.ZERO),u=Math.floor((t.BITS-1)/i)*i,l=e.ZERO;for(let t=u;t>=0;t-=i){s.fill(e.ZERO);for(let e=0;e<r.length;e++){let o=Number(r[e]>>BigInt(t)&BigInt(a));s[o]=s[o].add(n[e])}let o=e.ZERO;for(let t=s.length-1,n=e.ZERO;t>0;t--)n=n.add(s[t]),o=o.add(n);if(l=l.add(o),0!==t)for(let e=0;e<i;e++)l=l.double()}return l}(f,r,e,t)}_setWindowSize(e){h.setWindowSize(this,e)}assertValidity(){d(this)}hasEvenY(){let{y:e}=this.toAffine();if(n.isOdd)return!n.isOdd(e);throw Error("Field doesn't support isOdd")}equals(e){u(e);let{px:t,py:r,pz:o}=this,{px:i,py:a,pz:s}=e,c=n.eql(n.mul(t,s),n.mul(i,o)),l=n.eql(n.mul(r,s),n.mul(a,o));return c&&l}negate(){return new f(this.px,n.neg(this.py),this.pz)}double(){let{a:e,b:r}=t,o=n.mul(r,T),{px:i,py:a,pz:s}=this,c=n.ZERO,u=n.ZERO,l=n.ZERO,d=n.mul(i,i),p=n.mul(a,a),h=n.mul(s,s),m=n.mul(i,a);return m=n.add(m,m),l=n.mul(i,s),l=n.add(l,l),c=n.mul(e,l),u=n.mul(o,h),u=n.add(c,u),c=n.sub(p,u),u=n.add(p,u),u=n.mul(c,u),c=n.mul(m,c),l=n.mul(o,l),h=n.mul(e,h),m=n.sub(d,h),m=n.mul(e,m),m=n.add(m,l),l=n.add(d,d),d=n.add(l,d),d=n.add(d,h),d=n.mul(d,m),u=n.add(u,d),h=n.mul(a,s),h=n.add(h,h),d=n.mul(h,m),c=n.sub(c,d),l=n.mul(h,p),l=n.add(l,l),new f(c,u,l=n.add(l,l))}add(e){u(e);let{px:r,py:o,pz:i}=this,{px:a,py:s,pz:c}=e,l=n.ZERO,d=n.ZERO,p=n.ZERO,h=t.a,m=n.mul(t.b,T),w=n.mul(r,a),y=n.mul(o,s),b=n.mul(i,c),g=n.add(r,o),A=n.add(a,s);g=n.mul(g,A),A=n.add(w,y),g=n.sub(g,A),A=n.add(r,i);let v=n.add(a,c);return A=n.mul(A,v),v=n.add(w,b),A=n.sub(A,v),v=n.add(o,i),l=n.add(s,c),v=n.mul(v,l),l=n.add(y,b),v=n.sub(v,l),p=n.mul(h,A),l=n.mul(m,b),p=n.add(l,p),l=n.sub(y,p),p=n.add(y,p),d=n.mul(l,p),y=n.add(w,w),y=n.add(y,w),b=n.mul(h,b),A=n.mul(m,A),y=n.add(y,b),b=n.sub(w,b),b=n.mul(h,b),A=n.add(A,b),w=n.mul(y,A),d=n.add(d,w),w=n.mul(v,A),l=n.mul(g,l),l=n.sub(l,w),w=n.mul(g,y),p=n.mul(v,p),new f(l,d,p=n.add(p,w))}subtract(e){return this.add(e.negate())}is0(){return this.equals(f.ZERO)}wNAF(e){return h.wNAFCached(this,e,f.normalizeZ)}multiplyUnsafe(e){c.Fy("scalar",e,S,t.n);let r=f.ZERO;if(e===S)return r;if(e===O)return this;let{endo:o}=t;if(!o)return h.unsafeLadder(this,e);let{k1neg:i,k1:a,k2neg:s,k2:u}=o.splitScalar(e),l=r,d=r,p=this;for(;a>S||u>S;)a&O&&(l=l.add(p)),u&O&&(d=d.add(p)),p=p.double(),a>>=O,u>>=O;return i&&(l=l.negate()),s&&(d=d.negate()),d=new f(n.mul(d.px,o.beta),d.py,d.pz),l.add(d)}multiply(e){let r,o;let{endo:i,n:a}=t;if(c.Fy("scalar",e,O,a),i){let{k1neg:t,k1:a,k2neg:s,k2:c}=i.splitScalar(e),{p:u,f:l}=this.wNAF(a),{p:d,f:p}=this.wNAF(c);u=h.constTimeNegate(t,u),d=h.constTimeNegate(s,d),d=new f(n.mul(d.px,i.beta),d.py,d.pz),r=u.add(d),o=l.add(p)}else{let{p:t,f:n}=this.wNAF(e);r=t,o=n}return f.normalizeZ([r,o])[0]}multiplyAndAddUnsafe(e,t,n){let r=f.BASE,o=(e,t)=>t!==S&&t!==O&&e.equals(r)?e.multiply(t):e.multiplyUnsafe(t),i=o(this,t).add(o(e,n));return i.is0()?void 0:i}toAffine(e){return l(this,e)}isTorsionFree(){let{h:e,isTorsionFree:n}=t;if(e===O)return!0;if(n)return n(f,this);throw Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){let{h:e,clearCofactor:n}=t;return e===O?this:n?n(f,this):this.multiplyUnsafe(t.h)}toRawBytes(e=!0){return(0,c.uw)("isCompressed",e),this.assertValidity(),o(f,this,e)}toHex(e=!0){return(0,c.uw)("isCompressed",e),c.ci(this.toRawBytes(e))}}f.BASE=new f(t.Gx,t.Gy,n.ONE),f.ZERO=new f(n.ZERO,n.ONE,n.ZERO);let p=t.nBitLength,h=function(e,t){let n=(e,t)=>{let n=t.negate();return e?n:t},r=e=>{if(!Number.isSafeInteger(e)||e<=0||e>t)throw Error(`Wrong window size=${e}, should be [1..${t}]`)},o=e=>(r(e),{windows:Math.ceil(t/e)+1,windowSize:2**(e-1)});return{constTimeNegate:n,unsafeLadder(t,n){let r=e.ZERO,o=t;for(;n>x;)n&B&&(r=r.add(o)),o=o.double(),n>>=B;return r},precomputeWindow(e,t){let{windows:n,windowSize:r}=o(t),i=[],a=e,s=a;for(let e=0;e<n;e++){s=a,i.push(s);for(let e=1;e<r;e++)s=s.add(a),i.push(s);a=s.double()}return i},wNAF(t,r,i){let{windows:a,windowSize:s}=o(t),c=e.ZERO,u=e.BASE,l=BigInt(2**t-1),d=2**t,f=BigInt(t);for(let e=0;e<a;e++){let t=e*s,o=Number(i&l);i>>=f,o>s&&(o-=d,i+=B);let a=t+Math.abs(o)-1,p=e%2!=0,h=o<0;0===o?u=u.add(n(p,r[t])):c=c.add(n(h,r[a]))}return{p:c,f:u}},wNAFCached(e,t,n){let r=I.get(e)||1,o=k.get(e);return o||(o=this.precomputeWindow(e,r),1!==r&&k.set(e,n(o))),this.wNAF(r,o,t)},setWindowSize(e,t){r(t),I.set(e,t),k.delete(e)}}}(f,t.endo?Math.ceil(p/2):p);return{CURVE:t,ProjectivePoint:f,normPrivateKeyToScalar:s,weierstrassEquation:a,isWithinCurveOrder:function(e){return c.Z2(e,O,t.n)}}}({...t,toBytes(e,t,r){let o=t.toAffine(),i=n.toBytes(o.x),a=c.eV;return((0,c.uw)("isCompressed",r),r)?a(Uint8Array.from([t.hasEvenY()?2:3]),i):a(Uint8Array.from([4]),i,n.toBytes(o.y))},fromBytes(e){let t=e.length,r=e[0],a=e.subarray(1);if(t===o&&(2===r||3===r)){let e;let t=c.bytesToNumberBE(a);if(!c.Z2(t,O,n.ORDER))throw Error("Point is not on curve");let o=d(t);try{e=n.sqrt(o)}catch(e){throw Error("Point is not on curve"+(e instanceof Error?": "+e.message:""))}return(1&r)==1!=((e&O)===O)&&(e=n.neg(e)),{x:t,y:e}}if(t===i&&4===r)return{x:n.fromBytes(a.subarray(0,n.BYTES)),y:n.fromBytes(a.subarray(n.BYTES,2*n.BYTES))};throw Error(`Point of length ${t} was invalid. Expected ${o} compressed bytes or ${i} uncompressed bytes`)}}),p=e=>c.ci(c.tL(e,t.nByteLength)),h=(e,t,n)=>c.bytesToNumberBE(e.slice(t,n));class m{constructor(e,t,n){this.r=e,this.s=t,this.recovery=n,this.assertValidity()}static fromCompact(e){let n=t.nByteLength;return new m(h(e=(0,c.ql)("compactSignature",e,2*n),0,n),h(e,n,2*n))}static fromDER(e){let{r:t,s:n}=R.toSig((0,c.ql)("DER",e));return new m(t,n)}assertValidity(){c.Fy("r",this.r,O,r),c.Fy("s",this.s,O,r)}addRecoveryBit(e){return new m(this.r,this.s,e)}recoverPublicKey(e){let{r:o,s:i,recovery:u}=this,l=A((0,c.ql)("msgHash",e));if(null==u||![0,1,2,3].includes(u))throw Error("recovery id invalid");let d=2===u||3===u?o+t.n:o;if(d>=n.ORDER)throw Error("recovery id 2 or 3 invalid");let f=(1&u)==0?"02":"03",h=s.fromHex(f+p(d)),m=b(d,r),w=a(-l*m),y=a(i*m),g=s.BASE.multiplyAndAddUnsafe(h,w,y);if(!g)throw Error("point at infinify");return g.assertValidity(),g}hasHighS(){return this.s>r>>O}normalizeS(){return this.hasHighS()?new m(this.r,a(-this.s),this.recovery):this}toDERRawBytes(){return c.hexToBytes(this.toDERHex())}toDERHex(){return R.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return c.hexToBytes(this.toCompactHex())}toCompactHex(){return p(this.r)+p(this.s)}}function y(e){let t=c._t(e),n="string"==typeof e,r=(t||n)&&e.length;return t?r===o||r===i:n?r===2*o||r===2*i:e instanceof s}let g=t.bits2int||function(e){let n=c.bytesToNumberBE(e),r=8*e.length-t.nBitLength;return r>0?n>>BigInt(r):n},A=t.bits2int_modN||function(e){return a(g(e))},M=c.dQ(t.nBitLength);function F(e){return c.Fy(`num < 2^${t.nBitLength}`,e,S,M),c.tL(e,t.nByteLength)}let D={lowS:t.lowS,prehash:!1},L={lowS:t.lowS,prehash:!1};return s.BASE._setWindowSize(8),{CURVE:t,getPublicKey:function(e,t=!0){return s.fromPrivateKey(e).toRawBytes(t)},getSharedSecret:function(e,t,n=!0){if(y(e))throw Error("first arg must be private key");if(!y(t))throw Error("second arg must be public key");return s.fromHex(t).multiply(u(e)).toRawBytes(n)},sign:function(e,o,i=D){let{seed:l,k2sig:d}=function(e,o,i=D){if(["recovered","canonical"].some(e=>e in i))throw Error("sign() legacy options not supported");let{hash:l,randomBytes:d}=t,{lowS:p,prehash:h,extraEntropy:w}=i;null==p&&(p=!0),e=(0,c.ql)("msgHash",e),N(i),h&&(e=(0,c.ql)("prehashed msgHash",l(e)));let y=A(e),v=u(o),E=[F(v),F(y)];if(null!=w&&!1!==w){let e=!0===w?d(n.BYTES):w;E.push((0,c.ql)("extraEntropy",e))}return{seed:c.eV(...E),k2sig:function(e){let t=g(e);if(!f(t))return;let n=b(t,r),o=s.BASE.multiply(t).toAffine(),i=a(o.x);if(i===S)return;let c=a(n*a(y+i*v));if(c===S)return;let u=(o.x===i?0:2)|Number(o.y&O),l=c;if(p&&c>r>>O)l=c>r>>O?a(-c):c,u^=1;return new m(i,l,u)}}}(e,o,i);return c.n$(t.hash.outputLen,t.nByteLength,t.hmac)(l,d)},verify:function(e,n,o,i=L){let u,l;if(n=(0,c.ql)("msgHash",n),o=(0,c.ql)("publicKey",o),"strict"in i)throw Error("options.strict was renamed to lowS");N(i);let{lowS:d,prehash:f}=i;try{if("string"==typeof e||c._t(e))try{l=m.fromDER(e)}catch(t){if(!(t instanceof R.Err))throw t;l=m.fromCompact(e)}else if("object"==typeof e&&"bigint"==typeof e.r&&"bigint"==typeof e.s){let{r:t,s:n}=e;l=new m(t,n)}else throw Error("PARSE");u=s.fromHex(o)}catch(e){if("PARSE"===e.message)throw Error("signature must be Signature instance, Uint8Array or hex string");return!1}if(d&&l.hasHighS())return!1;f&&(n=t.hash(n));let{r:p,s:h}=l,w=A(n),y=b(h,r),g=a(w*y),v=a(p*y),E=s.BASE.multiplyAndAddUnsafe(u,g,v)?.toAffine();return!!E&&a(E.x)===p},ProjectivePoint:s,Signature:m,utils:{isValidPrivateKey(e){try{return u(e),!0}catch(e){return!1}},normPrivateKeyToScalar:u,randomPrivateKey:()=>{let e=C(t.n);return function(e,t,n=!1){let r=e.length,o=E(t),i=C(t);if(r<16||r<i||r>1024)throw Error(`expected ${i}-1024 bytes of input, got ${r}`);let a=w(n?(0,c.bytesToNumberBE)(e):(0,c.ty)(e),t-l)+l;return n?(0,c.S5)(a,o):(0,c.tL)(a,o)}(t.randomBytes(e),t.n)},precompute:(e=8,t=s.BASE)=>(t._setWindowSize(e),t.multiply(BigInt(3)),t)}}})({...e,hash:t,hmac:(e,...n)=>s(t,e,(0,i.eV)(...n)),randomBytes:i.O6});return Object.freeze({...n(t),create:n})}({a:BigInt(0),b:BigInt(7),Fp:G,n:L,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:e=>{let t=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),n=-Q*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),r=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),o=BigInt("0x100000000000000000000000000000000"),i=U(t*e,L),a=U(-n*e,L),s=w(e-i*t-a*r,L),c=w(-i*n-a*t,L),u=s>o,l=c>o;if(u&&(s=L-s),l&&(c=L-c),s>o||c>o)throw Error("splitScalar: Endomorphism failed, k="+e);return{k1neg:u,k1:s,k2neg:l,k2:c}}}},r.JQ);BigInt(0),W.ProjectivePoint},56016:function(e,t,n){"use strict";n.d(t,{W:function(){return a}});var r=n(33216),o={blue:{accentColor:"#0E76FD",accentColorForeground:"#FFF"},green:{accentColor:"#1DB847",accentColorForeground:"#FFF"},orange:{accentColor:"#FF801F",accentColorForeground:"#FFF"},pink:{accentColor:"#FF5CA0",accentColorForeground:"#FFF"},purple:{accentColor:"#5F5AFA",accentColorForeground:"#FFF"},red:{accentColor:"#FA423C",accentColorForeground:"#FFF"}},i=o.blue,a=function(){let{accentColor:e=i.accentColor,accentColorForeground:t=i.accentColorForeground,...n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...(0,r.w)(n),colors:{accentColor:e,accentColorForeground:t,actionButtonBorder:"rgba(0, 0, 0, 0.04)",actionButtonBorderMobile:"rgba(0, 0, 0, 0.06)",actionButtonSecondaryBackground:"rgba(0, 0, 0, 0.06)",closeButton:"rgba(60, 66, 66, 0.8)",closeButtonBackground:"rgba(0, 0, 0, 0.06)",connectButtonBackground:"#FFF",connectButtonBackgroundError:"#FF494A",connectButtonInnerBackground:"linear-gradient(0deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.06))",connectButtonText:"#25292E",connectButtonTextError:"#FFF",connectionIndicator:"#30E000",downloadBottomCardBackground:"linear-gradient(126deg, rgba(255, 255, 255, 0) 9.49%, rgba(171, 171, 171, 0.04) 71.04%), #FFFFFF",downloadTopCardBackground:"linear-gradient(126deg, rgba(171, 171, 171, 0.2) 9.49%, rgba(255, 255, 255, 0) 71.04%), #FFFFFF",error:"#FF494A",generalBorder:"rgba(0, 0, 0, 0.06)",generalBorderDim:"rgba(0, 0, 0, 0.03)",menuItemBackground:"rgba(60, 66, 66, 0.1)",modalBackdrop:"rgba(0, 0, 0, 0.3)",modalBackground:"#FFF",modalBorder:"transparent",modalText:"#25292E",modalTextDim:"rgba(60, 66, 66, 0.3)",modalTextSecondary:"rgba(60, 66, 66, 0.6)",profileAction:"#FFF",profileActionHover:"rgba(255, 255, 255, 0.5)",profileForeground:"rgba(60, 66, 66, 0.06)",selectedOptionBorder:"rgba(60, 66, 66, 0.1)",standby:"#FFD641"},shadows:{connectButton:"0px 4px 12px rgba(0, 0, 0, 0.1)",dialog:"0px 8px 32px rgba(0, 0, 0, 0.32)",profileDetailsAction:"0px 2px 6px rgba(37, 41, 46, 0.04)",selectedOption:"0px 2px 6px rgba(0, 0, 0, 0.24)",selectedWallet:"0px 2px 6px rgba(0, 0, 0, 0.12)",walletLogo:"0px 2px 16px rgba(0, 0, 0, 0.16)"}}};a.accentColors=o},33216:function(e,t,n){"use strict";n.d(t,{w:function(){return s}});var r='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',o={rounded:'SFRounded, ui-rounded, "SF Pro Rounded", '.concat(r),system:r},i={large:{actionButton:"9999px",connectButton:"12px",modal:"24px",modalMobile:"28px"},medium:{actionButton:"10px",connectButton:"8px",modal:"16px",modalMobile:"18px"},none:{actionButton:"0px",connectButton:"0px",modal:"0px",modalMobile:"0px"},small:{actionButton:"4px",connectButton:"4px",modal:"8px",modalMobile:"8px"}},a={large:{modalOverlay:"blur(20px)"},none:{modalOverlay:"blur(0px)"},small:{modalOverlay:"blur(4px)"}},s=e=>{let{borderRadius:t="large",fontStack:n="rounded",overlayBlur:r="none"}=e;return{blurs:{modalOverlay:a[r].modalOverlay},fonts:{body:o[n]},radii:{actionButton:i[t].actionButton,connectButton:i[t].connectButton,menuButton:i[t].connectButton,modal:i[t].modal,modalMobile:i[t].modalMobile}}}},54482:function(e,t,n){"use strict";n.d(t,{I:function(){return r}});var r='{\n "connect_wallet": {\n "label": "Connect Wallet",\n "wrong_network": {\n "label": "Wrong network"\n }\n },\n\n "intro": {\n "title": "What is a Wallet?",\n "description": "A wallet is used to send, receive, store, and display digital assets. It\'s also a new way to log in, without needing to create new accounts and passwords on every website.",\n "digital_asset": {\n "title": "A Home for your Digital Assets",\n "description": "Wallets are used to send, receive, store, and display digital assets like Ethereum and NFTs."\n },\n "login": {\n "title": "A New Way to Log In",\n "description": "Instead of creating new accounts and passwords on every website, just connect your wallet."\n },\n "get": {\n "label": "Get a Wallet"\n },\n "learn_more": {\n "label": "Learn More"\n }\n },\n\n "sign_in": {\n "label": "Verify your account",\n "description": "To finish connecting, you must sign a message in your wallet to verify that you are the owner of this account.",\n "message": {\n "send": "Sign message",\n "preparing": "Preparing message...",\n "cancel": "Cancel",\n "preparing_error": "Error preparing message, please retry!"\n },\n "signature": {\n "waiting": "Waiting for signature...",\n "verifying": "Verifying signature...",\n "signing_error": "Error signing message, please retry!",\n "verifying_error": "Error verifying signature, please retry!",\n "oops_error": "Oops, something went wrong!"\n }\n },\n\n "connect": {\n "label": "Connect",\n "title": "Connect a Wallet",\n "new_to_ethereum": {\n "description": "New to Ethereum wallets?",\n "learn_more": {\n "label": "Learn More"\n }\n },\n "learn_more": {\n "label": "Learn more"\n },\n "recent": "Recent",\n "status": {\n "opening": "Opening %{wallet}...",\n "connecting": "Connecting",\n "connect_mobile": "Continue in %{wallet}",\n "not_installed": "%{wallet} is not installed",\n "not_available": "%{wallet} is not available",\n "confirm": "Confirm connection in the extension",\n "confirm_mobile": "Accept connection request in the wallet"\n },\n "secondary_action": {\n "get": {\n "description": "Don\'t have %{wallet}?",\n "label": "GET"\n },\n "install": {\n "label": "INSTALL"\n },\n "retry": {\n "label": "RETRY"\n }\n },\n "walletconnect": {\n "description": {\n "full": "Need the official WalletConnect modal?",\n "compact": "Need the WalletConnect modal?"\n },\n "open": {\n "label": "OPEN"\n }\n }\n },\n\n "connect_scan": {\n "title": "Scan with %{wallet}",\n "fallback_title": "Scan with your phone"\n },\n\n "connector_group": {\n "installed": "Installed",\n "recommended": "Recommended",\n "other": "Other",\n "popular": "Popular",\n "more": "More",\n "others": "Others"\n },\n\n "get": {\n "title": "Get a Wallet",\n "action": {\n "label": "GET"\n },\n "mobile": {\n "description": "Mobile Wallet"\n },\n "extension": {\n "description": "Browser Extension"\n },\n "mobile_and_extension": {\n "description": "Mobile Wallet and Extension"\n },\n "mobile_and_desktop": {\n "description": "Mobile and Desktop Wallet"\n },\n "looking_for": {\n "title": "Not what you\'re looking for?",\n "mobile": {\n "description": "Select a wallet on the main screen to get started with a different wallet provider."\n },\n "desktop": {\n "compact_description": "Select a wallet on the main screen to get started with a different wallet provider.",\n "wide_description": "Select a wallet on the left to get started with a different wallet provider."\n }\n }\n },\n\n "get_options": {\n "title": "Get started with %{wallet}",\n "short_title": "Get %{wallet}",\n "mobile": {\n "title": "%{wallet} for Mobile",\n "description": "Use the mobile wallet to explore the world of Ethereum.",\n "download": {\n "label": "Get the app"\n }\n },\n "extension": {\n "title": "%{wallet} for %{browser}",\n "description": "Access your wallet right from your favorite web browser.",\n "download": {\n "label": "Add to %{browser}"\n }\n },\n "desktop": {\n "title": "%{wallet} for %{platform}",\n "description": "Access your wallet natively from your powerful desktop.",\n "download": {\n "label": "Add to %{platform}"\n }\n }\n },\n\n "get_mobile": {\n "title": "Install %{wallet}",\n "description": "Scan with your phone to download on iOS or Android",\n "continue": {\n "label": "Continue"\n }\n },\n\n "get_instructions": {\n "mobile": {\n "connect": {\n "label": "Connect"\n },\n "learn_more": {\n "label": "Learn More"\n }\n },\n "extension": {\n "refresh": {\n "label": "Refresh"\n },\n "learn_more": {\n "label": "Learn More"\n }\n },\n "desktop": {\n "connect": {\n "label": "Connect"\n },\n "learn_more": {\n "label": "Learn More"\n }\n }\n },\n\n "chains": {\n "title": "Switch Networks",\n "wrong_network": "Wrong network detected, switch or disconnect to continue.",\n "confirm": "Confirm in Wallet",\n "switching_not_supported": "Your wallet does not support switching networks from %{appName}. Try switching networks from within your wallet instead.",\n "switching_not_supported_fallback": "Your wallet does not support switching networks from this app. Try switching networks from within your wallet instead.",\n "disconnect": "Disconnect",\n "connected": "Connected"\n },\n\n "profile": {\n "disconnect": {\n "label": "Disconnect"\n },\n "copy_address": {\n "label": "Copy Address",\n "copied": "Copied!"\n },\n "explorer": {\n "label": "View more on explorer"\n },\n "transactions": {\n "description": "%{appName} transactions will appear here...",\n "description_fallback": "Your transactions will appear here...",\n "recent": {\n "title": "Recent Transactions"\n },\n "clear": {\n "label": "Clear All"\n }\n }\n },\n\n "wallet_connectors": {\n "argent": {\n "qr_code": {\n "step1": {\n "description": "Put Argent on your home screen for faster access to your wallet.",\n "title": "Open the Argent app"\n },\n "step2": {\n "description": "Create a wallet and username, or import an existing wallet.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n "title": "Tap the Scan QR button"\n }\n }\n },\n\n "bifrost": {\n "qr_code": {\n "step1": {\n "description": "We recommend putting Bifrost Wallet on your home screen for quicker access.",\n "title": "Open the Bifrost Wallet app"\n },\n "step2": {\n "description": "Create or import a wallet using your recovery phrase.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n "title": "Tap the scan button"\n }\n }\n },\n\n "bitget": {\n "qr_code": {\n "step1": {\n "description": "We recommend putting Bitget Wallet on your home screen for quicker access.",\n "title": "Open the Bitget Wallet app"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n "title": "Tap the scan button"\n }\n },\n\n "extension": {\n "step1": {\n "description": "We recommend pinning Bitget Wallet to your taskbar for quicker access to your wallet.",\n "title": "Install the Bitget Wallet extension"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n "title": "Refresh your browser"\n }\n }\n },\n\n "bitski": {\n "extension": {\n "step1": {\n "description": "We recommend pinning Bitski to your taskbar for quicker access to your wallet.",\n "title": "Install the Bitski extension"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n "title": "Refresh your browser"\n }\n }\n },\n\n "bitverse": {\n "qr_code": {\n "step1": {\n "title": "Open the Bitverse Wallet app",\n "description": "Add Bitverse Wallet to your home screen for faster access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Tap the QR icon and scan",\n "description": "Tap the QR icon on your homescreen, scan the code and confirm the prompt to connect."\n }\n }\n },\n\n "bloom": {\n "desktop": {\n "step1": {\n "title": "Open the Bloom Wallet app",\n "description": "We recommend putting Bloom Wallet on your home screen for quicker access."\n },\n "step2": {\n "description": "Create or import a wallet using your recovery phrase.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you have a wallet, click on Connect to connect via Bloom. A connection prompt in the app will appear for you to confirm the connection.",\n "title": "Click on Connect"\n }\n }\n },\n\n "bybit": {\n "qr_code": {\n "step1": {\n "description": "We recommend putting Bybit on your home screen for faster access to your wallet.",\n "title": "Open the Bybit app"\n },\n "step2": {\n "description": "You can easily backup your wallet using our backup feature on your phone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n "title": "Tap the scan button"\n }\n },\n\n "extension": {\n "step1": {\n "description": "Click at the top right of your browser and pin Bybit Wallet for easy access.",\n "title": "Install the Bybit Wallet extension"\n },\n "step2": {\n "description": "Create a new wallet or import an existing one.",\n "title": "Create or Import a wallet"\n },\n "step3": {\n "description": "Once you set up Bybit Wallet, click below to refresh the browser and load up the extension.",\n "title": "Refresh your browser"\n }\n }\n },\n\n "binance": {\n "qr_code": {\n "step1": {\n "description": "We recommend putting Binance on your home screen for faster access to your wallet.",\n "title": "Open the Binance app"\n },\n "step2": {\n "description": "You can easily backup your wallet using our backup feature on your phone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n "title": "Tap the WalletConnect button"\n }\n }\n },\n\n "coin98": {\n "qr_code": {\n "step1": {\n "description": "We recommend putting Coin98 Wallet on your home screen for faster access to your wallet.",\n "title": "Open the Coin98 Wallet app"\n },\n "step2": {\n "description": "You can easily backup your wallet using our backup feature on your phone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n "title": "Tap the WalletConnect button"\n }\n },\n\n "extension": {\n "step1": {\n "description": "Click at the top right of your browser and pin Coin98 Wallet for easy access.",\n "title": "Install the Coin98 Wallet extension"\n },\n "step2": {\n "description": "Create a new wallet or import an existing one.",\n "title": "Create or Import a wallet"\n },\n "step3": {\n "description": "Once you set up Coin98 Wallet, click below to refresh the browser and load up the extension.",\n "title": "Refresh your browser"\n }\n }\n },\n\n "coinbase": {\n "qr_code": {\n "step1": {\n "description": "We recommend putting Coinbase Wallet on your home screen for quicker access.",\n "title": "Open the Coinbase Wallet app"\n },\n "step2": {\n "description": "You can easily backup your wallet using the cloud backup feature.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n "title": "Tap the scan button"\n }\n },\n\n "extension": {\n "step1": {\n "description": "We recommend pinning Coinbase Wallet to your taskbar for quicker access to your wallet.",\n "title": "Install the Coinbase Wallet extension"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n "title": "Refresh your browser"\n }\n }\n },\n\n "compass": {\n "extension": {\n "step1": {\n "description": "We recommend pinning Compass Wallet to your taskbar for quicker access to your wallet.",\n "title": "Install the Compass Wallet extension"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n "title": "Refresh your browser"\n }\n }\n },\n\n "core": {\n "qr_code": {\n "step1": {\n "description": "We recommend putting Core on your home screen for faster access to your wallet.",\n "title": "Open the Core app"\n },\n "step2": {\n "description": "You can easily backup your wallet using our backup feature on your phone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n "title": "Tap the WalletConnect button"\n }\n },\n\n "extension": {\n "step1": {\n "description": "We recommend pinning Core to your taskbar for quicker access to your wallet.",\n "title": "Install the Core extension"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n "title": "Refresh your browser"\n }\n }\n },\n\n "fox": {\n "qr_code": {\n "step1": {\n "description": "We recommend putting FoxWallet on your home screen for quicker access.",\n "title": "Open the FoxWallet app"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n "title": "Tap the scan button"\n }\n }\n },\n\n "frontier": {\n "qr_code": {\n "step1": {\n "description": "We recommend putting Frontier Wallet on your home screen for quicker access.",\n "title": "Open the Frontier Wallet app"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n "title": "Tap the scan button"\n }\n },\n\n "extension": {\n "step1": {\n "description": "We recommend pinning Frontier Wallet to your taskbar for quicker access to your wallet.",\n "title": "Install the Frontier Wallet extension"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n "title": "Refresh your browser"\n }\n }\n },\n\n "im_token": {\n "qr_code": {\n "step1": {\n "title": "Open the imToken app",\n "description": "Put imToken app on your home screen for faster access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Tap Scanner Icon in top right corner",\n "description": "Choose New Connection, then scan the QR code and confirm the prompt to connect."\n }\n }\n },\n\n "iopay": {\n "qr_code": {\n "step1": {\n "description": "We recommend putting ioPay on your home screen for faster access to your wallet.",\n "title": "Open the ioPay app"\n },\n "step2": {\n "description": "You can easily backup your wallet using our backup feature on your phone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n "title": "Tap the WalletConnect button"\n }\n }\n },\n\n "kaikas": {\n "extension": {\n "step1": {\n "description": "We recommend pinning Kaikas to your taskbar for quicker access to your wallet.",\n "title": "Install the Kaikas extension"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n "title": "Refresh your browser"\n }\n },\n "qr_code": {\n "step1": {\n "title": "Open the Kaikas app",\n "description": "Put Kaikas app on your home screen for faster access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Tap Scanner Icon in top right corner",\n "description": "Choose New Connection, then scan the QR code and confirm the prompt to connect."\n }\n }\n },\n\n "kaia": {\n "extension": {\n "step1": {\n "description": "We recommend pinning Kaia to your taskbar for quicker access to your wallet.",\n "title": "Install the Kaia extension"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n "title": "Refresh your browser"\n }\n },\n "qr_code": {\n "step1": {\n "title": "Open the Kaia app",\n "description": "Put Kaia app on your home screen for faster access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Tap Scanner Icon in top right corner",\n "description": "Choose New Connection, then scan the QR code and confirm the prompt to connect."\n }\n }\n },\n\n "kraken": {\n "qr_code": {\n "step1": {\n "title": "Open the Kraken Wallet app",\n "description": "Add Kraken Wallet to your home screen for faster access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Tap the QR icon and scan",\n "description": "Tap the QR icon on your homescreen, scan the code and confirm the prompt to connect."\n }\n }\n },\n\n "kresus": {\n "qr_code": {\n "step1": {\n "title": "Open the Kresus Wallet app",\n "description": "Add Kresus Wallet to your home screen for faster access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Tap the QR icon and scan",\n "description": "Tap the QR icon on your homescreen, scan the code and confirm the prompt to connect."\n }\n }\n },\n\n "magicEden": {\n "extension": {\n "step1": {\n "title": "Install the Magic Eden extension",\n "description": "We recommend pinning Magic Eden to your taskbar for easier access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret recovery phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "metamask": {\n "qr_code": {\n "step1": {\n "title": "Open the MetaMask app",\n "description": "We recommend putting MetaMask on your home screen for quicker access."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Tap the scan button",\n "description": "After you scan, a connection prompt will appear for you to connect your wallet."\n }\n },\n\n "extension": {\n "step1": {\n "title": "Install the MetaMask extension",\n "description": "We recommend pinning MetaMask to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "nestwallet": {\n "extension": {\n "step1": {\n "title": "Install the NestWallet extension",\n "description": "We recommend pinning NestWallet to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "okx": {\n "qr_code": {\n "step1": {\n "title": "Open the OKX Wallet app",\n "description": "We recommend putting OKX Wallet on your home screen for quicker access."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Tap the scan button",\n "description": "After you scan, a connection prompt will appear for you to connect your wallet."\n }\n },\n\n "extension": {\n "step1": {\n "title": "Install the OKX Wallet extension",\n "description": "We recommend pinning OKX Wallet to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "omni": {\n "qr_code": {\n "step1": {\n "title": "Open the Omni app",\n "description": "Add Omni to your home screen for faster access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Tap the QR icon and scan",\n "description": "Tap the QR icon on your home screen, scan the code and confirm the prompt to connect."\n }\n }\n },\n\n "1inch": {\n "qr_code": {\n "step1": {\n "description": "Put 1inch Wallet on your home screen for faster access to your wallet.",\n "title": "Open the 1inch Wallet app"\n },\n "step2": {\n "description": "Create a wallet and username, or import an existing wallet.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n "title": "Tap the Scan QR button"\n }\n }\n },\n\n "token_pocket": {\n "qr_code": {\n "step1": {\n "title": "Open the TokenPocket app",\n "description": "We recommend putting TokenPocket on your home screen for quicker access."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Tap the scan button",\n "description": "After you scan, a connection prompt will appear for you to connect your wallet."\n }\n },\n\n "extension": {\n "step1": {\n "title": "Install the TokenPocket extension",\n "description": "We recommend pinning TokenPocket to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "trust": {\n "qr_code": {\n "step1": {\n "title": "Open the Trust Wallet app",\n "description": "Put Trust Wallet on your home screen for faster access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Tap WalletConnect in Settings",\n "description": "Choose New Connection, then scan the QR code and confirm the prompt to connect."\n }\n },\n\n "extension": {\n "step1": {\n "title": "Install the Trust Wallet extension",\n "description": "Click at the top right of your browser and pin Trust Wallet for easy access."\n },\n "step2": {\n "title": "Create or Import a wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up Trust Wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "uniswap": {\n "qr_code": {\n "step1": {\n "title": "Open the Uniswap app",\n "description": "Add Uniswap Wallet to your home screen for faster access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Tap the QR icon and scan",\n "description": "Tap the QR icon on your homescreen, scan the code and confirm the prompt to connect."\n }\n }\n },\n\n "zerion": {\n "qr_code": {\n "step1": {\n "title": "Open the Zerion app",\n "description": "We recommend putting Zerion on your home screen for quicker access."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Tap the scan button",\n "description": "After you scan, a connection prompt will appear for you to connect your wallet."\n }\n },\n\n "extension": {\n "step1": {\n "title": "Install the Zerion extension",\n "description": "We recommend pinning Zerion to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "rainbow": {\n "qr_code": {\n "step1": {\n "title": "Open the Rainbow app",\n "description": "We recommend putting Rainbow on your home screen for faster access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "You can easily backup your wallet using our backup feature on your phone."\n },\n "step3": {\n "title": "Tap the scan button",\n "description": "After you scan, a connection prompt will appear for you to connect your wallet."\n }\n }\n },\n\n "enkrypt": {\n "extension": {\n "step1": {\n "description": "We recommend pinning Enkrypt Wallet to your taskbar for quicker access to your wallet.",\n "title": "Install the Enkrypt Wallet extension"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n "title": "Refresh your browser"\n }\n }\n },\n\n "frame": {\n "extension": {\n "step1": {\n "description": "We recommend pinning Frame to your taskbar for quicker access to your wallet.",\n "title": "Install Frame & the companion extension"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n "title": "Refresh your browser"\n }\n }\n },\n\n "one_key": {\n "extension": {\n "step1": {\n "title": "Install the OneKey Wallet extension",\n "description": "We recommend pinning OneKey Wallet to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "phantom": {\n "extension": {\n "step1": {\n "title": "Install the Phantom extension",\n "description": "We recommend pinning Phantom to your taskbar for easier access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret recovery phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "rabby": {\n "extension": {\n "step1": {\n "title": "Install the Rabby extension",\n "description": "We recommend pinning Rabby to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "ronin": {\n "qr_code": {\n "step1": {\n "description": "We recommend putting Ronin Wallet on your home screen for quicker access.",\n "title": "Open the Ronin Wallet app"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "After you scan, a connection prompt will appear for you to connect your wallet.",\n "title": "Tap the scan button"\n }\n },\n\n "extension": {\n "step1": {\n "description": "We recommend pinning Ronin Wallet to your taskbar for quicker access to your wallet.",\n "title": "Install the Ronin Wallet extension"\n },\n "step2": {\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",\n "title": "Create or Import a Wallet"\n },\n "step3": {\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",\n "title": "Refresh your browser"\n }\n }\n },\n\n "ramper": {\n "extension": {\n "step1": {\n "title": "Install the Ramper extension",\n "description": "We recommend pinning Ramper to your taskbar for easier access to your wallet."\n },\n "step2": {\n "title": "Create a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "safeheron": {\n "extension": {\n "step1": {\n "title": "Install the Core extension",\n "description": "We recommend pinning Safeheron to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "taho": {\n "extension": {\n "step1": {\n "title": "Install the Taho extension",\n "description": "We recommend pinning Taho to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "talisman": {\n "extension": {\n "step1": {\n "title": "Install the Talisman extension",\n "description": "We recommend pinning Talisman to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import an Ethereum Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your recovery phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "xdefi": {\n "extension": {\n "step1": {\n "title": "Install the XDEFI Wallet extension",\n "description": "We recommend pinning XDEFI Wallet to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "zeal": {\n "qr_code": {\n "step1": {\n "title": "Open the Zeal app",\n "description": "Add Zeal Wallet to your home screen for faster access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Tap the QR icon and scan",\n "description": "Tap the QR icon on your homescreen, scan the code and confirm the prompt to connect."\n }\n },\n "extension": {\n "step1": {\n "title": "Install the Zeal extension",\n "description": "We recommend pinning Zeal to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "safepal": {\n "extension": {\n "step1": {\n "title": "Install the SafePal Wallet extension",\n "description": "Click at the top right of your browser and pin SafePal Wallet for easy access."\n },\n "step2": {\n "title": "Create or Import a wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up SafePal Wallet, click below to refresh the browser and load up the extension."\n }\n },\n "qr_code": {\n "step1": {\n "title": "Open the SafePal Wallet app",\n "description": "Put SafePal Wallet on your home screen for faster access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Tap WalletConnect in Settings",\n "description": "Choose New Connection, then scan the QR code and confirm the prompt to connect."\n }\n }\n },\n\n "desig": {\n "extension": {\n "step1": {\n "title": "Install the Desig extension",\n "description": "We recommend pinning Desig to your taskbar for easier access to your wallet."\n },\n "step2": {\n "title": "Create a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n }\n },\n\n "subwallet": {\n "extension": {\n "step1": {\n "title": "Install the SubWallet extension",\n "description": "We recommend pinning SubWallet to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your recovery phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n },\n "qr_code": {\n "step1": {\n "title": "Open the SubWallet app",\n "description": "We recommend putting SubWallet on your home screen for quicker access."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Tap the scan button",\n "description": "After you scan, a connection prompt will appear for you to connect your wallet."\n }\n }\n },\n\n "clv": {\n "extension": {\n "step1": {\n "title": "Install the CLV Wallet extension",\n "description": "We recommend pinning CLV Wallet to your taskbar for quicker access to your wallet."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Refresh your browser",\n "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."\n }\n },\n "qr_code": {\n "step1": {\n "title": "Open the CLV Wallet app",\n "description": "We recommend putting CLV Wallet on your home screen for quicker access."\n },\n "step2": {\n "title": "Create or Import a Wallet",\n "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."\n },\n "step3": {\n "title": "Tap the scan button",\n "description": "After you scan, a connection prompt will appear for you to connect your wallet."\n }\n }\n },\n\n "okto": {\n "qr_code": {\n "step1": {\n "title": "Open the Okto app",\n "description": "Add Okto to your home screen for quick access"\n },\n "step2": {\n "title": "Create an MPC Wallet",\n "description": "Create an account and generate a wallet"\n },\n "step3": {\n "title": "Tap WalletConnect in Settings",\n "description": "Tap the Scan QR icon at the top right and confirm the prompt to connect."\n }\n }\n },\n\n "ledger": {\n "desktop": {\n "step1": {\n "title": "Open the Ledger Live app",\n "description": "We recommend putting Ledger Live on your home screen for quicker access."\n },\n "step2": {\n "title": "Set up your Ledger",\n "description": "Set up a new Ledger or connect to an existing one."\n },\n "step3": {\n "title": "Connect",\n "description": "A connection prompt will appear for you to connect your wallet."\n }\n },\n "qr_code": {\n "step1": {\n "title": "Open the Ledger Live app",\n "description": "We recommend putting Ledger Live on your home screen for quicker access."\n },\n "step2": {\n "title": "Set up your Ledger",\n "description": "You can either sync with the desktop app or connect your Ledger."\n },\n "step3": {\n "title": "Scan the code",\n "description": "Tap WalletConnect then Switch to Scanner. After you scan, a connection prompt will appear for you to connect your wallet."\n }\n }\n },\n\n "valora": {\n "qr_code": {\n "step1": {\n "title": "Open the Valora app",\n "description": "We recommend putting Valora on your home screen for quicker access."\n },\n "step2": {\n "title": "Create or import a wallet",\n "description": "Create a new wallet or import an existing one."\n },\n "step3": {\n "title": "Tap the scan button",\n "description": "After you scan, a connection prompt will appear for you to connect your wallet."\n }\n }\n }\n }\n}\n'},77202:function(e,t,n){"use strict";n.d(t,{R:function(){return s},m:function(){return a}});var r=n(66714),o=n(39887),i=n(28066),a=class extends o.F{#e;#t;#n;constructor(e){super(),this.mutationId=e.mutationId,this.#t=e.mutationCache,this.#e=[],this.state=e.state||s(),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.#e.includes(e)||(this.#e.push(e),this.clearGcTimeout(),this.#t.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#e=this.#e.filter(t=>t!==e),this.scheduleGc(),this.#t.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#e.length||("pending"===this.state.status?this.scheduleGc():this.#t.remove(this))}continue(){return this.#n?.continue()??this.execute(this.state.variables)}async execute(e){this.#n=(0,i.Mz)({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(Error("No mutationFn found")),onFail:(e,t)=>{this.#r({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#r({type:"pause"})},onContinue:()=>{this.#r({type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#t.canRun(this)});let t="pending"===this.state.status,n=!this.#n.canStart();try{if(!t){this.#r({type:"pending",variables:e,isPaused:n}),await this.#t.config.onMutate?.(e,this);let t=await this.options.onMutate?.(e);t!==this.state.context&&this.#r({type:"pending",context:t,variables:e,isPaused:n})}let r=await this.#n.start();return await this.#t.config.onSuccess?.(r,e,this.state.context,this),await this.options.onSuccess?.(r,e,this.state.context),await this.#t.config.onSettled?.(r,null,this.state.variables,this.state.context,this),await this.options.onSettled?.(r,null,e,this.state.context),this.#r({type:"success",data:r}),r}catch(t){try{throw await this.#t.config.onError?.(t,e,this.state.context,this),await this.options.onError?.(t,e,this.state.context),await this.#t.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this),await this.options.onSettled?.(void 0,t,e,this.state.context),t}finally{this.#r({type:"error",error:t})}}finally{this.#t.runNext(this)}}#r(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"pending":return{...t,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{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),r.V.batch(()=>{this.#e.forEach(t=>{t.onMutationUpdate(e)}),this.#t.notify({mutation:this,type:"updated",action:e})})}};function s(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}},28103:function(e,t,n){"use strict";n.d(t,{D:function(){return d}});var r=n(46760),o=n(77202),i=n(66714),a=n(52360),s=n(31843),c=class extends a.l{#o;#i=void 0;#a;#s;constructor(e,t){super(),this.#o=e,this.setOptions(t),this.bindMethods(),this.#c()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){let t=this.options;this.options=this.#o.defaultMutationOptions(e),(0,s.VS)(this.options,t)||this.#o.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#a,observer:this}),t?.mutationKey&&this.options.mutationKey&&(0,s.Ym)(t.mutationKey)!==(0,s.Ym)(this.options.mutationKey)?this.reset():this.#a?.state.status==="pending"&&this.#a.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#a?.removeObserver(this)}onMutationUpdate(e){this.#c(),this.#u(e)}getCurrentResult(){return this.#i}reset(){this.#a?.removeObserver(this),this.#a=void 0,this.#c(),this.#u()}mutate(e,t){return this.#s=t,this.#a?.removeObserver(this),this.#a=this.#o.getMutationCache().build(this.#o,this.options),this.#a.addObserver(this),this.#a.execute(e)}#c(){let e=this.#a?.state??(0,o.R)();this.#i={...e,isPending:"pending"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset}}#u(e){i.V.batch(()=>{if(this.#s&&this.hasListeners()){let t=this.#i.variables,n=this.#i.context;e?.type==="success"?(this.#s.onSuccess?.(e.data,t,n),this.#s.onSettled?.(e.data,null,t,n)):e?.type==="error"&&(this.#s.onError?.(e.error,t,n),this.#s.onSettled?.(void 0,e.error,t,n))}this.listeners.forEach(e=>{e(this.#i)})})}},u=n(86655),l=n(24589);function d(e,t){let n=(0,u.NL)(t),[o]=r.useState(()=>new c(n,e));r.useEffect(()=>{o.setOptions(e)},[o,e]);let a=r.useSyncExternalStore(r.useCallback(e=>o.subscribe(i.V.batchCalls(e)),[o]),()=>o.getCurrentResult(),()=>o.getCurrentResult()),s=r.useCallback((e,t)=>{o.mutate(e,t).catch(l.Z)},[o]);if(a.error&&(0,l.L)(o.options.throwOnError,[a.error]))throw a.error;return{...a,mutate:s,mutateAsync:a.mutate}}},67613:function(e,t,n){"use strict";function r(e){let t=e.state.current,n=e.state.connections.get(t),r=n?.accounts,o=r?.[0],i=e.chains.find(e=>e.id===n?.chainId),a=e.state.status;switch(a){case"connected":return{address:o,addresses:r,chain:i,chainId:n?.chainId,connector:n?.connector,isConnected:!0,isConnecting:!1,isDisconnected:!1,isReconnecting:!1,status:a};case"reconnecting":return{address:o,addresses:r,chain:i,chainId:n?.chainId,connector:n?.connector,isConnected:!!o,isConnecting:!1,isDisconnected:!1,isReconnecting:!0,status:a};case"connecting":return{address:o,addresses:r,chain:i,chainId:n?.chainId,connector:n?.connector,isConnected:!1,isConnecting:!0,isDisconnected:!1,isReconnecting:!1,status:a};case"disconnected":return{address:void 0,addresses:void 0,chain:void 0,chainId:void 0,connector:void 0,isConnected:!1,isConnecting:!1,isDisconnected:!0,isReconnecting:!1,status:a}}}n.d(t,{D:function(){return r}})},48792:function(e,t,n){"use strict";n.d(t,{e:function(){return c}});var r=n(82095),o=n(3638),i=n(14428),a=n(46812),s=n(18701);async function c(e,t={}){let n;if(t.connector){let{connector:r}=t;if("reconnecting"===e.state.status&&!r.getAccounts&&!r.getChainId)throw new s.$S({connector:r});let[o,i]=await Promise.all([r.getAccounts(),r.getChainId()]);n={accounts:o,chainId:i,connector:r}}else n=e.state.connections.get(e.state.current);if(!n)throw new s.aH;let c=t.chainId??n.chainId,u=await n.connector.getChainId();if(u!==n.chainId)throw new s.XZ({connectionChainId:n.chainId,connectorChainId:u});let l=n.connector;if(l.getClient)return l.getClient({chainId:c});let d=(0,i.T)(t.account??n.accounts[0]);if(d.address=(0,a.K)(d.address),t.account&&!n.accounts.some(e=>e.toLowerCase()===d.address.toLowerCase()))throw new s.JK({address:d.address,connector:l});let f=e.chains.find(e=>e.id===c),p=await n.connector.getProvider({chainId:c});return(0,r.e)({account:d,chain:f,name:"Connector Client",transport:e=>(function(e,t={}){let{key:n="custom",name:r="Custom Provider",retryDelay:i}=t;return({retryCount:a})=>(0,o.q)({key:n,name:r,request:e.request.bind(e),retryCount:t.retryCount??a,retryDelay:i,type:"custom"})})(p)({...e,retryCount:0})})}},22521:function(e,t,n){"use strict";n.d(t,{L:function(){return i}});var r=n(92262),o=n(84151);function i(e,t){let{chainId:n,...i}=t,a=e.getClient({chainId:n});return(0,o.s)(a,r.L,"readContract")(i)}},59450:function(e,t,n){"use strict";n.d(t,{a:function(){return a}});var r=n(6428),o=n(84151),i=n(48792);async function a(e,t){let n;let{abi:a,chainId:s,connector:c,...u}=t;n=t.account?t.account:(await (0,i.e)(e,{chainId:s,connector:c})).account;let l=e.getClient({chainId:s}),d=(0,o.s)(l,r.a,"simulateContract"),{result:f,request:p}=await d({...u,abi:a,account:n});return{chainId:l.chain.id,result:f,request:{__mode:"prepared",...p,chainId:s}}}},98470:function(e,t,n){"use strict";n.d(t,{e:function(){return c}});var r=n(58435),o=n(28218),i=n(17263),a=n(42698),s=n(84151);async function c(e,t){let{chainId:n,timeout:c=0,...u}=t,l=e.getClient({chainId:n}),d=(0,s.s)(l,o.e,"waitForTransactionReceipt"),f=await d({...u,timeout:c});if("reverted"===f.status){let e=(0,s.s)(l,i.f,"getTransaction"),t=await e({hash:f.transactionHash}),n=(0,s.s)(l,a.R,"call"),o=await n({...t,gasPrice:"eip1559"!==t.type?t.gasPrice:void 0,maxFeePerGas:"eip1559"===t.type?t.maxFeePerGas:void 0,maxPriorityFeePerGas:"eip1559"===t.type?t.maxPriorityFeePerGas:void 0});throw Error(o?.data?(0,r.rR)(`0x${o.data.substring(138)}`):"unknown reason")}return{...f,chainId:l.chain.id}}},88914:function(e,t,n){"use strict";n.d(t,{u:function(){return i}});var r=n(14558),o=n(67613);function i(e,t){let{onChange:n}=t;return e.subscribe(()=>(0,o.D)(e),n,{equalityFn(e,t){let{connector:n,...o}=e,{connector:i,...a}=t;return(0,r.v)(o,a)&&n?.id===i?.id&&n?.uid===i?.uid}})}},18701:function(e,t,n){"use strict";n.d(t,{$S:function(){return u},JK:function(){return s},X4:function(){return o},XZ:function(){return c},aH:function(){return a},wi:function(){return i}});var r=n(30973);class o extends r.G{constructor(){super("Chain not configured."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ChainNotConfiguredError"})}}class i extends r.G{constructor(){super("Connector already connected."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ConnectorAlreadyConnectedError"})}}class a extends r.G{constructor(){super("Connector not connected."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ConnectorNotConnectedError"})}}class s extends r.G{constructor({address:e,connector:t}){super(`Account "${e}" not found for connector "${t.name}".`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ConnectorAccountNotFoundError"})}}class c extends r.G{constructor({connectionChainId:e,connectorChainId:t}){super(`The current chain of the connector (id: ${t}) does not match the connection's chain (id: ${e}).`,{metaMessages:[`Current Chain ID: ${t}`,`Expected Chain ID: ${e}`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ConnectorChainMismatchError"})}}class u extends r.G{constructor({connector:e}){super(`Connector "${e.name}" unavailable while reconnecting.`,{details:"During the reconnection step, the only connector methods guaranteed to be available are: `id`, `name`, `type`, `uuid`. All other methods are not guaranteed to be available until reconnection completes and connectors are fully restored. This error commonly occurs for connectors that asynchronously inject after reconnection has already started."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ConnectorUnavailableReconnectingError"})}}},4858:function(e,t,n){"use strict";n.d(t,{M:function(){return o},O:function(){return i}});var r=n(30973);class o extends r.G{constructor(){super("Provider not found."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ProviderNotFoundError"})}}class i extends r.G{constructor({connector:e}){super(`"${e.name}" does not support programmatic chain switching.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SwitchChainNotSupportedError"})}}},14558:function(e,t,n){"use strict";n.d(t,{v:function(){return function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){let r,o;if(t.constructor!==n.constructor)return!1;if(Array.isArray(t)&&Array.isArray(n)){if((r=t.length)!==n.length)return!1;for(o=r;0!=o--;)if(!e(t[o],n[o]))return!1;return!0}if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();let i=Object.keys(t);if((r=i.length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;0!=o--;){let r=i[o];if(r&&!e(t[r],n[r]))return!1}return!0}return t!=t&&n!=n}}})},18773:function(e,t,n){"use strict";n.d(t,{G:function(){return r}});class r extends Error{constructor(e,t={}){let n=t.cause instanceof r?t.cause.details:t.cause?.message?t.cause.message:t.details,o=t.cause instanceof r&&t.cause.docsPath||t.docsPath;super([e||"An error occurred.","",...t.metaMessages?[...t.metaMessages,""]:[],...o?[`Docs: https://abitype.dev${o}`]:[],...n?[`Details: ${n}`]:[],"Version: abitype@1.0.6"].join("\n")),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"}),t.cause&&(this.cause=t.cause),this.details=n,this.docsPath=o,this.metaMessages=t.metaMessages,this.shortMessage=e}}},30281:function(e,t,n){"use strict";n.d(t,{F:function(){return o},Hk:function(){return i}});var r=n(18773);class o extends r.G{constructor({type:e}){super("Unknown type.",{metaMessages:[`Type "${e}" 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 i extends r.G{constructor({type:e}){super("Unknown type.",{metaMessages:[`Type "${e}" is not a valid ABI type.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownSolidityTypeError"})}}},96235:function(e,t,n){"use strict";n.d(t,{$r:function(){return o},TT:function(){return a},_D:function(){return c},aZ:function(){return u},jO:function(){return i},zL:function(){return s}});var r=n(18773);class o extends r.G{constructor({params:e}){super("Failed to parse ABI parameters.",{details:`parseAbiParameters(${JSON.stringify(e,null,2)})`,docsPath:"/api/human#parseabiparameters-1"}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiParametersError"})}}class i extends r.G{constructor({param:e}){super("Invalid ABI parameter.",{details:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParameterError"})}}class a extends r.G{constructor({param:e,name:t}){super("Invalid ABI parameter.",{details:e,metaMessages:[`"${t}" 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 s extends r.G{constructor({param:e,type:t,modifier:n}){super("Invalid ABI parameter.",{details:e,metaMessages:[`Modifier "${n}" not allowed${t?` in "${t}" type`:""}.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidModifierError"})}}class c extends r.G{constructor({param:e,type:t,modifier:n}){super("Invalid ABI parameter.",{details:e,metaMessages:[`Modifier "${n}" not allowed${t?` in "${t}" type`:""}.`,`Data location can only be specified for array, struct, or mapping types, but "${n}" was given.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidFunctionModifierError"})}}class u extends r.G{constructor({abiParameter:e}){super("Invalid ABI parameter.",{details:JSON.stringify(e,null,2),metaMessages:["ABI parameter type is invalid."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiTypeParameterError"})}}},57319:function(e,t,n){"use strict";n.d(t,{H6:function(){return a},Vs:function(){return i},wn:function(){return o}});var r=n(18773);class o extends r.G{constructor({signature:e,type:t}){super(`Invalid ${t} signature.`,{details:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidSignatureError"})}}class i extends r.G{constructor({signature:e}){super("Unknown signature.",{details:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownSignatureError"})}}class a extends r.G{constructor({signature:e}){super("Invalid struct signature.",{details:e,metaMessages:["No properties exist."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidStructSignatureError"})}}},31038:function(e,t,n){"use strict";n.d(t,{V:function(){return a}});var r=n(29052),o=n(31991),i=n(34468);function a(e){let t=(0,o.D)(e),n=[],a=e.length;for(let o=0;o<a;o++){let a=e[o];(0,r.N0)(a)||n.push((0,i.cK)(a,t))}return n}},29052:function(e,t,n){"use strict";n.d(t,{Dt:function(){return B},EC:function(){return A},LY:function(){return C},N0:function(){return h},PI:function(){return b},QM:function(){return E},SA:function(){return a},Wg:function(){return x},_c:function(){return i},a4:function(){return y},c3:function(){return c},g1:function(){return m},l$:function(){return f},rh:function(){return d},wA:function(){return u}});var r=n(41923);let o=/^error (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)$/;function i(e){return o.test(e)}function a(e){return(0,r.Zw)(o,e)}let s=/^event (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)$/;function c(e){return s.test(e)}function u(e){return(0,r.Zw)(s,e)}let l=/^function (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)(?: (?<scope>external|public{1}))?(?: (?<stateMutability>pure|view|nonpayable|payable{1}))?(?: returns\s?\((?<returns>.*?)\))?$/;function d(e){return l.test(e)}function f(e){return(0,r.Zw)(l,e)}let p=/^struct (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*) \{(?<properties>.*?)\}$/;function h(e){return p.test(e)}function m(e){return(0,r.Zw)(p,e)}let w=/^constructor\((?<parameters>.*?)\)(?:\s(?<stateMutability>payable{1}))?$/;function y(e){return w.test(e)}function b(e){return(0,r.Zw)(w,e)}let g=/^fallback\(\) external(?:\s(?<stateMutability>payable{1}))?$/;function A(e){return g.test(e)}let v=/^receive\(\) external payable$/;function E(e){return v.test(e)}let C=new Set(["memory","indexed","storage","calldata"]),x=new Set(["indexed"]),B=new Set(["calldata","memory","storage"])},31991:function(e,t,n){"use strict";n.d(t,{D:function(){return d}});var r=n(41923),o=n(30281),i=n(96235),a=n(57319),s=n(18773);class c extends s.G{constructor({type:e}){super("Circular reference detected.",{metaMessages:[`Struct "${e}" is a circular reference.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"CircularReferenceError"})}}var u=n(29052),l=n(34468);function d(e){let t={},n=e.length;for(let r=0;r<n;r++){let n=e[r];if(!(0,u.N0)(n))continue;let o=(0,u.g1)(n);if(!o)throw new a.wn({signature:n,type:"struct"});let i=o.properties.split(";"),s=[],c=i.length;for(let e=0;e<c;e++){let t=i[e].trim();if(!t)continue;let n=(0,l.C$)(t,{type:"struct"});s.push(n)}if(!s.length)throw new a.H6({signature:n});t[o.name]=s}let s={},d=Object.entries(t),p=d.length;for(let e=0;e<p;e++){let[n,a]=d[e];s[n]=function e(t,n,a=new Set){let s=[],u=t.length;for(let d=0;d<u;d++){let u=t[d];if(r.cN.test(u.type))s.push(u);else{let t=(0,r.Zw)(f,u.type);if(!t?.type)throw new i.aZ({abiParameter:u});let{array:d,type:p}=t;if(p in n){if(a.has(p))throw new c({type:p});s.push({...u,type:`tuple${d??""}`,components:e(n[p]??[],n,new Set([...a,p]))})}else if((0,l.uN)(p))s.push(u);else throw new o.F({type:p})}}return s}(a,t)}return s}let f=/^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*)(?<array>(?:\[\d*?\])+?)?$/},34468:function(e,t,n){"use strict";n.d(t,{uN:function(){return y},C$:function(){return m},cK:function(){return d},Q4:function(){return w}});var r=n(41923),o=n(30281),i=n(96235),a=n(57319),s=n(18773);class c extends s.G{constructor({current:e,depth:t}){super("Unbalanced parentheses.",{metaMessages:[`"${e.trim()}" has too many ${t>0?"opening":"closing"} parentheses.`],details:`Depth "${t}"`}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParenthesisError"})}}let u=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}]]);var l=n(29052);function d(e,t={}){if((0,l.rh)(e)){let n=(0,l.l$)(e);if(!n)throw new a.wn({signature:e,type:"function"});let r=w(n.parameters),o=[],i=r.length;for(let e=0;e<i;e++)o.push(m(r[e],{modifiers:l.Dt,structs:t,type:"function"}));let s=[];if(n.returns){let e=w(n.returns),r=e.length;for(let n=0;n<r;n++)s.push(m(e[n],{modifiers:l.Dt,structs:t,type:"function"}))}return{name:n.name,type:"function",stateMutability:n.stateMutability??"nonpayable",inputs:o,outputs:s}}if((0,l.c3)(e)){let n=(0,l.wA)(e);if(!n)throw new a.wn({signature:e,type:"event"});let r=w(n.parameters),o=[],i=r.length;for(let e=0;e<i;e++)o.push(m(r[e],{modifiers:l.Wg,structs:t,type:"event"}));return{name:n.name,type:"event",inputs:o}}if((0,l._c)(e)){let n=(0,l.SA)(e);if(!n)throw new a.wn({signature:e,type:"error"});let r=w(n.parameters),o=[],i=r.length;for(let e=0;e<i;e++)o.push(m(r[e],{structs:t,type:"error"}));return{name:n.name,type:"error",inputs:o}}if((0,l.a4)(e)){let n=(0,l.PI)(e);if(!n)throw new a.wn({signature:e,type:"constructor"});let r=w(n.parameters),o=[],i=r.length;for(let e=0;e<i;e++)o.push(m(r[e],{structs:t,type:"constructor"}));return{type:"constructor",stateMutability:n.stateMutability??"nonpayable",inputs:o}}if((0,l.EC)(e))return{type:"fallback"};if((0,l.QM)(e))return{type:"receive",stateMutability:"payable"};throw new a.Vs({signature:e})}let f=/^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*)(?<array>(?:\[\d*?\])+?)?(?:\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,p=/^\((?<type>.+?)\)(?<array>(?:\[\d*?\])+?)?(?:\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,h=/^u?int$/;function m(e,t){var n,a,s;let c;let d=(n=t?.type)?`${n}:${e}`:e;if(u.has(d))return u.get(d);let g=r.cN.test(e),A=(0,r.Zw)(g?p:f,e);if(!A)throw new i.jO({param:e});if(A.name&&("address"===(a=A.name)||"bool"===a||"function"===a||"string"===a||"tuple"===a||r.eL.test(a)||r.lh.test(a)||b.test(a)))throw new i.TT({param:e,name:A.name});let v=A.name?{name:A.name}:{},E="indexed"===A.modifier?{indexed:!0}:{},C=t?.structs??{},x={};if(g){c="tuple";let e=w(A.type),t=[],n=e.length;for(let r=0;r<n;r++)t.push(m(e[r],{structs:C}));x={components:t}}else if(A.type in C)c="tuple",x={components:C[A.type]};else if(h.test(A.type))c=`${A.type}256`;else if(c=A.type,t?.type!=="struct"&&!y(c))throw new o.Hk({type:c});if(A.modifier){if(!t?.modifiers?.has?.(A.modifier))throw new i.zL({param:e,type:t?.type,modifier:A.modifier});if(l.Dt.has(A.modifier)&&(s=c,!A.array&&"bytes"!==s&&"string"!==s&&"tuple"!==s))throw new i._D({param:e,type:t?.type,modifier:A.modifier})}let B={type:`${c}${A.array??""}`,...v,...E,...x};return u.set(d,B),B}function w(e,t=[],n="",r=0){let o=e.trim().length;for(let i=0;i<o;i++){let o=e[i],a=e.slice(i+1);switch(o){case",":return 0===r?w(a,[...t,n.trim()]):w(a,t,`${n}${o}`,r);case"(":return w(a,t,`${n}${o}`,r+1);case")":return w(a,t,`${n}${o}`,r-1);default:return w(a,t,`${n}${o}`,r)}}if(""===n)return t;if(0!==r)throw new c({current:n,depth:r});return t.push(n.trim()),t}function y(e){return"address"===e||"bool"===e||"function"===e||"string"===e||r.eL.test(e)||r.lh.test(e)}let b=/^(?: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)$/},41923:function(e,t,n){"use strict";function r(e,t){let n=e.exec(t);return n?.groups}n.d(t,{Zw:function(){return r},cN:function(){return a},eL:function(){return o},lh:function(){return i}});let o=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,i=/^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)?$/,a=/^\(.+?\).*?$/},14428:function(e,t,n){"use strict";function r(e){return"string"==typeof e?{address:e,type:"json-rpc"}:e}n.d(t,{T:function(){return r}})},6431:function(e,t,n){"use strict";n.d(t,{y:function(){return i}});var r=n(46812),o=n(56026);function i(e){let t=(0,o.w)(`0x${e.substring(4)}`).substring(26);return(0,r.x)(`0x${t}`)}},9756:function(e,t,n){"use strict";n.d(t,{r:function(){return x}});var r=n(92262),o=n(86708);class i extends o.G{constructor({data:e}){super("Unable to extract image from metadata. The metadata may be malformed or invalid.",{metaMessages:["- Metadata must be a JSON object with at least an `image`, `image_url` or `image_data` property.","",`Provided data: ${JSON.stringify(e)}`],name:"EnsAvatarInvalidMetadataError"})}}class a extends o.G{constructor({reason:e}){super(`ENS NFT avatar URI is invalid. ${e}`,{name:"EnsAvatarInvalidNftUriError"})}}class s extends o.G{constructor({uri:e}){super(`Unable to resolve ENS avatar URI "${e}". The URI may be malformed, invalid, or does not respond with a valid image.`,{name:"EnsAvatarUriResolutionError"})}}class c extends o.G{constructor({namespace:e}){super(`ENS NFT avatar namespace "${e}" is not supported. Must be "erc721" or "erc1155".`,{name:"EnsAvatarUnsupportedNamespaceError"})}}let u=/(?<protocol>https?:\/\/[^\/]*|ipfs:\/|ipns:\/|ar:\/)?(?<root>\/)?(?<subpath>ipfs\/|ipns\/)?(?<target>[\w\-.]+)(?<subtarget>\/.*)?/,l=/^(Qm[1-9A-HJ-NP-Za-km-z]{44,}|b[A-Za-z2-7]{58,}|B[A-Z2-7]{58,}|z[1-9A-HJ-NP-Za-km-z]{48,}|F[0-9A-F]{50,})(\/(?<target>[\w\-.]+))?(?<subtarget>\/.*)?$/,d=/^data:([a-zA-Z\-/+]*);base64,([^"].*)/,f=/^data:([a-zA-Z\-/+]*)?(;[a-zA-Z0-9].*?)?(,)/;async function p(e){try{let t=await fetch(e,{method:"HEAD"});if(200===t.status){let e=t.headers.get("content-type");return e?.startsWith("image/")}return!1}catch(t){if("object"==typeof t&&void 0!==t.response||!globalThis.hasOwnProperty("Image"))return!1;return new Promise(t=>{let n=new Image;n.onload=()=>{t(!0)},n.onerror=()=>{t(!1)},n.src=e})}}function h(e,t){return e?e.endsWith("/")?e.slice(0,-1):e:t}function m({uri:e,gatewayUrls:t}){let n=d.test(e);if(n)return{uri:e,isOnChain:!0,isEncoded:n};let r=h(t?.ipfs,"https://ipfs.io"),o=h(t?.arweave,"https://arweave.net"),i=e.match(u),{protocol:a,subpath:c,target:p,subtarget:m=""}=i?.groups||{},w="ipns:/"===a||"ipns/"===c,y="ipfs:/"===a||"ipfs/"===c||l.test(e);if(e.startsWith("http")&&!w&&!y){let n=e;return t?.arweave&&(n=e.replace(/https:\/\/arweave.net/g,t?.arweave)),{uri:n,isOnChain:!1,isEncoded:!1}}if((w||y)&&p)return{uri:`${r}/${w?"ipns":"ipfs"}/${p}${m}`,isOnChain:!1,isEncoded:!1};if("ar:/"===a&&p)return{uri:`${o}/${p}${m||""}`,isOnChain:!1,isEncoded:!1};let b=e.replace(f,"");if(b.startsWith("<svg")&&(b=`data:image/svg+xml;base64,${btoa(b)}`),b.startsWith("data:")||b.startsWith("{"))return{uri:b,isOnChain:!0,isEncoded:!1};throw new s({uri:e})}function w(e){if("object"!=typeof e||!("image"in e)&&!("image_url"in e)&&!("image_data"in e))throw new i({data:e});return e.image||e.image_url||e.image_data}async function y({gatewayUrls:e,uri:t}){try{let n=await fetch(t).then(e=>e.json());return await b({gatewayUrls:e,uri:w(n)})}catch{throw new s({uri:t})}}async function b({gatewayUrls:e,uri:t}){let{uri:n,isOnChain:r}=m({uri:t,gatewayUrls:e});if(r||await p(n))return n;throw new s({uri:t})}async function g(e,{nft:t}){if("erc721"===t.namespace)return(0,r.L)(e,{address:t.contractAddress,abi:[{name:"tokenURI",type:"function",stateMutability:"view",inputs:[{name:"tokenId",type:"uint256"}],outputs:[{name:"",type:"string"}]}],functionName:"tokenURI",args:[BigInt(t.tokenID)]});if("erc1155"===t.namespace)return(0,r.L)(e,{address:t.contractAddress,abi:[{name:"uri",type:"function",stateMutability:"view",inputs:[{name:"_id",type:"uint256"}],outputs:[{name:"",type:"string"}]}],functionName:"uri",args:[BigInt(t.tokenID)]});throw new c({namespace:t.namespace})}async function A(e,{gatewayUrls:t,record:n}){return/eip155:/i.test(n)?v(e,{gatewayUrls:t,record:n}):b({uri:n,gatewayUrls:t})}async function v(e,{gatewayUrls:t,record:n}){let r=function(e){let t=e;t.startsWith("did:nft:")&&(t=t.replace("did:nft:","").replace(/_/g,"/"));let[n,r,o]=t.split("/"),[i,s]=n.split(":"),[c,u]=r.split(":");if(!i||"eip155"!==i.toLowerCase())throw new a({reason:"Only EIP-155 supported"});if(!s)throw new a({reason:"Chain ID not found"});if(!u)throw new a({reason:"Contract address not found"});if(!o)throw new a({reason:"Token ID not found"});if(!c)throw new a({reason:"ERC namespace not found"});return{chainID:Number.parseInt(s),namespace:c.toLowerCase(),contractAddress:u,tokenID:o}}(n),{uri:o,isOnChain:i,isEncoded:s}=m({uri:await g(e,{nft:r}),gatewayUrls:t});if(i&&(o.includes("data:application/json;base64,")||o.startsWith("{")))return b({uri:w(JSON.parse(s?atob(o.replace("data:application/json;base64,","")):o)),gatewayUrls:t});let c=r.tokenID;return"erc1155"===r.namespace&&(c=c.replace("0x","").padStart(64,"0")),y({gatewayUrls:t,uri:o.replace(/(?:0x)?{id}/,c)})}var E=n(87510),C=n(559);async function x(e,{blockNumber:t,blockTag:n,assetGatewayUrls:r,name:o,gatewayUrls:i,strict:a,universalResolverAddress:s}){let c=await (0,E.s)(e,C.g,"getEnsText")({blockNumber:t,blockTag:n,key:"avatar",name:o,universalResolverAddress:s,gatewayUrls:i,strict:a});if(!c)return null;try{return await A(e,{record:c,gatewayUrls:r})}catch{return null}}},27453:function(e,t,n){"use strict";n.d(t,{w:function(){return l}});var r=n(2029),o=n(63672),i=n(72417),a=n(37988),s=n(49917),c=n(87510),u=n(92262);async function l(e,{address:t,blockNumber:n,blockTag:l,gatewayUrls:d,strict:f,universalResolverAddress:p}){let h=p;if(!h){if(!e.chain)throw Error("client chain not configured. universalResolverAddress is required.");h=(0,o.L)({blockNumber:n,chain:e.chain,contract:"ensUniversalResolver"})}let m=`${t.toLowerCase().substring(2)}.addr.reverse`;try{let o={address:h,abi:r.du,functionName:"reverse",args:[(0,i.NC)((0,s.T)(m))],blockNumber:n,blockTag:l},a=(0,c.s)(e,u.L,"readContract"),[f,p]=d?await a({...o,args:[...o.args,d]}):await a(o);if(t.toLowerCase()!==p.toLowerCase())return null;return f}catch(e){if(f)throw e;if((0,a.c)(e,"reverse"))return null;throw e}}},559:function(e,t,n){"use strict";n.d(t,{g:function(){return p}});var r=n(2029),o=n(22587),i=n(82544),a=n(63672),s=n(72417),c=n(37988),u=n(13722),l=n(49917),d=n(87510),f=n(92262);async function p(e,{blockNumber:t,blockTag:n,name:p,key:h,gatewayUrls:m,strict:w,universalResolverAddress:y}){let b=y;if(!b){if(!e.chain)throw Error("client chain not configured. universalResolverAddress is required.");b=(0,a.L)({blockNumber:t,chain:e.chain,contract:"ensUniversalResolver"})}try{let a={address:b,abi:r.k3,functionName:"resolve",args:[(0,s.NC)((0,l.T)(p)),(0,i.R)({abi:r.nZ,functionName:"text",args:[(0,u.V)(p),h]})],blockNumber:t,blockTag:n},c=(0,d.s)(e,f.L,"readContract"),w=m?await c({...a,args:[...a.args,m]}):await c(a);if("0x"===w[0])return null;let y=(0,o.k)({abi:r.nZ,functionName:"text",data:w[0]});return""===y?null:y}catch(e){if(w)throw e;if((0,c.c)(e,"resolve"))return null;throw e}}},42698:function(e,t,n){"use strict";n.d(t,{R:function(){return E}});var r=n(31038),o=n(14428),i=n(2029),a=n(24968),s=n(86708),c=n(14366),u=n(20840),l=n(22587),d=n(17146),f=n(82544),p=n(63672),h=n(72417),m=n(33722),w=n(76783),y=n(25606),b=n(50540),g=n(15514),A=n(55473),v=n(12679);async function E(e,t){let{account:i=e.account,batch:l=!!e.batch?.multicall,blockNumber:f,blockTag:p="latest",accessList:g,blobs:E,code:x,data:B,factory:k,factoryData:I,gas:P,gasPrice:N,maxFeePerBlobGas:M,maxFeePerGas:F,maxPriorityFeePerGas:R,nonce:S,to:O,value:T,stateOverride:D,...L}=t,Q=i?(0,o.T)(i):void 0;if(x&&(k||I))throw new s.G("Cannot provide both `code` & `factory`/`factoryData` as parameters.");if(x&&O)throw new s.G("Cannot provide both `code` & `to` as parameters.");let q=x&&B,U=k&&I&&O&&B,G=q||U,W=q?function(e){let{code:t,data:n}=e;return(0,d.w)({abi:(0,r.V)(["constructor(bytes, bytes)"]),bytecode:a.NO,args:[t,n]})}({code:x,data:B}):U?function(e){let{data:t,factory:n,factoryData:o,to:i}=e;return(0,d.w)({abi:(0,r.V)(["constructor(address, bytes, address, bytes)"]),bytecode:a.pG,args:[i,t,n,o]})}({data:B,factory:k,factoryData:I,to:O}):B;try{(0,v.F)(t);let n=(f?(0,h.eC)(f):void 0)||p,r=(0,A.mF)(D),o=e.chain?.formatters?.transactionRequest?.format,i=(o||b.tG)({...(0,y.K)(L,{format:o}),from:Q?.address,accessList:g,blobs:E,data:W,gas:P,gasPrice:N,maxFeePerBlobGas:M,maxFeePerGas:F,maxPriorityFeePerGas:R,nonce:S,to:G?void 0:O,value:T});if(l&&function({request:e}){let{data:t,to:n,...r}=e;return!(!t||t.startsWith("0x82ad56cb"))&&!!n&&!(Object.values(r).filter(e=>void 0!==e).length>0)}({request:i})&&!r)try{return await C(e,{...i,blockNumber:f,blockTag:p})}catch(e){if(!(e instanceof c.pZ)&&!(e instanceof c.mm))throw e}let a=await e.request({method:"eth_call",params:r?[i,n,r]:[i,n]});if("0x"===a)return{data:void 0};return{data:a}}catch(a){let r=function(e){if(!(e instanceof s.G))return;let t=e.walk();return"object"==typeof t?.data?t.data?.data:t.data}(a),{offchainLookup:o,offchainLookupSignature:i}=await n.e(4384).then(n.bind(n,4384));if(!1!==e.ccipRead&&r?.slice(0,10)===i&&O)return{data:await o(e,{data:r,to:O})};if(G&&r?.slice(0,10)==="0x101bb98d")throw new u.Mo({factory:k});throw function(e,{docsPath:t,...n}){let r=(()=>{let t=(0,w.k)(e,n);return t instanceof m.cj?e:t})();return new u.cg(r,{docsPath:t,...n})}(a,{...t,account:Q,chain:e.chain})}}async function C(e,t){let{batchSize:n=1024,wait:r=0}="object"==typeof e.batch?.multicall?e.batch.multicall:{},{blockNumber:o,blockTag:a="latest",data:s,multicallAddress:d,to:m}=t,w=d;if(!w){if(!e.chain)throw new c.pZ;w=(0,p.L)({blockNumber:o,chain:e.chain,contract:"multicall3"})}let y=(o?(0,h.eC)(o):void 0)||a,{schedule:b}=(0,g.S)({id:`${e.uid}.${y}`,wait:r,shouldSplitBatch:e=>e.reduce((e,{data:t})=>e+(t.length-2),0)>2*n,fn:async t=>{let n=t.map(e=>({allowFailure:!0,callData:e.data,target:e.to})),r=(0,f.R)({abi:i.F8,args:[n],functionName:"aggregate3"}),o=await e.request({method:"eth_call",params:[{data:r,to:w},y]});return(0,l.k)({abi:i.F8,args:[n],functionName:"aggregate3",data:o||"0x"})}}),[{returnData:A,success:v}]=await b({data:s,to:m});if(!v)throw new u.VQ({data:A});return"0x"===A?{data:void 0}:{data:A}}},2998:function(e,t,n){"use strict";n.d(t,{C:function(){return u},X:function(){return c}});var r=n(57942),o=n(87510),i=n(81780),a=n(44705),s=n(33723);async function c(e,t){return u(e,t)}async function u(e,t){let{block:n,chain:c=e.chain,request:u,type:l="eip1559"}=t||{},d=await (async()=>"function"==typeof c?.fees?.baseFeeMultiplier?c.fees.baseFeeMultiplier({block:n,client:e,request:u}):c?.fees?.baseFeeMultiplier??1.2)();if(d<1)throw new r.Fz;let f=10**(d.toString().split(".")[1]?.length??0),p=e=>e*BigInt(Math.ceil(d*f))/BigInt(f),h=n||await (0,o.s)(e,a.Q,"getBlock")({});if("function"==typeof c?.fees?.estimateFeesPerGas){let t=await c.fees.estimateFeesPerGas({block:n,client:e,multiply:p,request:u,type:l});if(null!==t)return t}if("eip1559"===l){if("bigint"!=typeof h.baseFeePerGas)throw new r.e5;let t="bigint"==typeof u?.maxPriorityFeePerGas?u.maxPriorityFeePerGas:await (0,i.h)(e,{block:h,chain:c,request:u}),n=p(h.baseFeePerGas);return{maxFeePerGas:u?.maxFeePerGas??n+t,maxPriorityFeePerGas:t}}return{gasPrice:u?.gasPrice??p(await (0,o.s)(e,s.o,"getGasPrice")({}))}}},3501:function(e,t,n){"use strict";n.d(t,{Q:function(){return g}});var r=n(14428),o=n(86708),i=n(10716),a=n(72417),s=n(73662),c=n(5063),u=n(29334);class l extends o.G{constructor(e,{account:t,docsPath:n,chain:r,data:o,gas:i,gasPrice:a,maxFeePerGas:l,maxPriorityFeePerGas:d,nonce:f,to:p,value:h}){super(e.shortMessage,{cause:e,docsPath:n,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],"Estimate Gas Arguments:",(0,u.xr)({from:t?.address,to:p,value:void 0!==h&&`${(0,s.d)(h)} ${r?.nativeCurrency?.symbol||"ETH"}`,data:o,gas:i,gasPrice:void 0!==a&&`${(0,c.o)(a)} gwei`,maxFeePerGas:void 0!==l&&`${(0,c.o)(l)} gwei`,maxPriorityFeePerGas:void 0!==d&&`${(0,c.o)(d)} gwei`,nonce:f})].filter(Boolean),name:"EstimateGasExecutionError"}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=e}}var d=n(33722),f=n(76783),p=n(25606),h=n(50540),m=n(55473),w=n(12679),y=n(81174),b=n(42678);async function g(e,t){let n=t.account??e.account,s=n?(0,r.T)(n):void 0;try{let{accessList:n,authorizationList:r,blobs:u,blobVersionedHashes:l,blockNumber:d,blockTag:f,data:g,gas:A,gasPrice:v,maxFeePerBlobGas:E,maxFeePerGas:C,maxPriorityFeePerGas:x,nonce:B,value:k,stateOverride:I,...P}=await (0,y.Z)(e,{...t,parameters:s?.type==="local"?void 0:["blobVersionedHashes"]}),N=(d?(0,a.eC)(d):void 0)||f,M=(0,m.mF)(I),F=await (async()=>P.to?P.to:r&&r.length>0?await (0,i.z)({authorization:r[0]}).catch(()=>{throw new o.G("`to` is required. Could not infer from `authorizationList`")}):void 0)();(0,w.F)(t);let R=e.chain?.formatters?.transactionRequest?.format,S=(R||h.tG)({...(0,p.K)(P,{format:R}),from:s?.address,accessList:n,authorizationList:r,blobs:u,blobVersionedHashes:l,data:g,gas:A,gasPrice:v,maxFeePerBlobGas:E,maxFeePerGas:C,maxPriorityFeePerGas:x,nonce:B,to:F,value:k});function c(t){let{block:n,request:r,rpcStateOverride:o}=t;return e.request({method:"eth_estimateGas",params:o?[r,n??"latest",o]:n?[r,n]:[r]})}let O=BigInt(await c({block:N,request:S,rpcStateOverride:M}));if(r){let t=await (0,b.s)(e,{address:S.from}),n=await Promise.all(r.map(async e=>{let{contractAddress:n}=e,r=await c({block:N,request:{authorizationList:void 0,data:g,from:s?.address,to:n,value:(0,a.eC)(t)},rpcStateOverride:M}).catch(()=>100000n);return 2n*BigInt(r)}));O+=n.reduce((e,t)=>e+t,0n)}return O}catch(n){throw function(e,{docsPath:t,...n}){return new l((()=>{let t=(0,f.k)(e,n);return t instanceof d.cj?e:t})(),{docsPath:t,...n})}(n,{...t,account:s,chain:e.chain})}}},81780:function(e,t,n){"use strict";n.d(t,{_:function(){return c},h:function(){return u}});var r=n(57942),o=n(58435),i=n(87510),a=n(44705),s=n(33723);async function c(e,t){return u(e,t)}async function u(e,t){let{block:n,chain:c=e.chain,request:u}=t||{};try{let t=c?.fees?.maxPriorityFeePerGas??c?.fees?.defaultPriorityFee;if("function"==typeof t){let r=n||await (0,i.s)(e,a.Q,"getBlock")({}),o=await t({block:r,client:e,request:u});if(null===o)throw Error();return o}if(void 0!==t)return t;let r=await e.request({method:"eth_maxPriorityFeePerGas"});return(0,o.y_)(r)}catch{let[t,o]=await Promise.all([n?Promise.resolve(n):(0,i.s)(e,a.Q,"getBlock")({}),(0,i.s)(e,s.o,"getGasPrice")({})]);if("bigint"!=typeof t.baseFeePerGas)throw new r.e5;let c=o-t.baseFeePerGas;if(c<0n)return 0n;return c}}},42678:function(e,t,n){"use strict";n.d(t,{s:function(){return o}});var r=n(72417);async function o(e,{address:t,blockNumber:n,blockTag:o="latest"}){let i=n?(0,r.eC)(n):void 0;return BigInt(await e.request({method:"eth_getBalance",params:[t,i||o]}))}},44705:function(e,t,n){"use strict";n.d(t,{Q:function(){return a}});var r=n(43883),o=n(72417),i=n(81222);async function a(e,{blockHash:t,blockNumber:n,blockTag:a,includeTransactions:s}={}){let c=s??!1,u=void 0!==n?(0,o.eC)(n):void 0,l=null;if(!(l=t?await e.request({method:"eth_getBlockByHash",params:[t,c]},{dedupe:!0}):await e.request({method:"eth_getBlockByNumber",params:[u||(a??"latest"),c]},{dedupe:!!u})))throw new r.f({blockHash:t,blockNumber:n});return(e.chain?.formatters?.block?.format||i.Z)(l)}},50647:function(e,t,n){"use strict";n.d(t,{L:function(){return o}});var r=n(58435);async function o(e){let t=await e.request({method:"eth_chainId"},{dedupe:!0});return(0,r.ly)(t)}},33723:function(e,t,n){"use strict";async function r(e){return BigInt(await e.request({method:"eth_gasPrice"}))}n.d(t,{o:function(){return r}})},11504:function(e,t,n){"use strict";n.d(t,{K:function(){return i}});var r=n(58435),o=n(72417);async function i(e,{address:t,blockTag:n="latest",blockNumber:i}){let a=await e.request({method:"eth_getTransactionCount",params:[t,i?(0,o.eC)(i):n]},{dedupe:!!i});return(0,r.ly)(a)}},99437:function(e,t,n){"use strict";n.d(t,{a:function(){return i}});var r=n(29334),o=n(61112);async function i(e,{hash:t}){let n=await e.request({method:"eth_getTransactionReceipt",params:[t]},{dedupe:!0});if(!n)throw new r.Yb({hash:t});return(e.chain?.formatters?.transactionReceipt?.format||o.fA)(n)}},54787:function(e,t,n){"use strict";n.d(t,{A:function(){return p}});var r=n(2029),o=n(16096),i=n(86708),a=n(20840),s=n(22587),c=n(82544),u=n(63672),l=n(32171),d=n(87510),f=n(92262);async function p(e,t){let{allowFailure:n=!0,batchSize:p,blockNumber:h,blockTag:m,multicallAddress:w,stateOverride:y}=t,b=t.contracts,g=p??("object"==typeof e.batch?.multicall&&e.batch.multicall.batchSize||1024),A=w;if(!A){if(!e.chain)throw Error("client chain not configured. multicallAddress is required.");A=(0,u.L)({blockNumber:h,chain:e.chain,contract:"multicall3"})}let v=[[]],E=0,C=0;for(let e=0;e<b.length;e++){let{abi:t,address:r,args:o,functionName:i}=b[e];try{let e=(0,c.R)({abi:t,args:o,functionName:i});C+=(e.length-2)/2,g>0&&C>g&&v[E].length>0&&(E++,C=(e.length-2)/2,v[E]=[]),v[E]=[...v[E],{allowFailure:!0,callData:e,target:r}]}catch(a){let e=(0,l.S)(a,{abi:t,address:r,args:o,docsPath:"/docs/contract/multicall",functionName:i});if(!n)throw e;v[E]=[...v[E],{allowFailure:!0,callData:"0x",target:r}]}}let x=await Promise.allSettled(v.map(t=>(0,d.s)(e,f.L,"readContract")({abi:r.F8,address:A,args:[t],blockNumber:h,blockTag:m,functionName:"aggregate3",stateOverride:y}))),B=[];for(let e=0;e<x.length;e++){let t=x[e];if("rejected"===t.status){if(!n)throw t.reason;for(let n=0;n<v[e].length;n++)B.push({status:"failure",error:t.reason,result:void 0});continue}let r=t.value;for(let t=0;t<r.length;t++){let{returnData:i,success:c}=r[t],{callData:u}=v[e][t],{abi:d,address:f,functionName:p,args:h}=b[B.length];try{if("0x"===u)throw new o.wb;if(!c)throw new a.VQ({data:i});let e=(0,s.k)({abi:d,args:h,data:i,functionName:p});B.push(n?{result:e,status:"success"}:e)}catch(t){let e=(0,l.S)(t,{abi:d,address:f,args:h,docsPath:"/docs/contract/multicall",functionName:p});if(!n)throw e;B.push({error:e,result:void 0,status:"failure"})}}}if(B.length!==b.length)throw new i.G("multicall results mismatch");return B}},92262:function(e,t,n){"use strict";n.d(t,{L:function(){return c}});var r=n(22587),o=n(82544),i=n(32171),a=n(87510),s=n(42698);async function c(e,t){let{abi:n,address:c,args:u,functionName:l,...d}=t,f=(0,o.R)({abi:n,args:u,functionName:l});try{let{data:t}=await (0,a.s)(e,s.R,"call")({...d,data:f,to:c});return(0,r.k)({abi:n,args:u,functionName:l,data:t||"0x"})}catch(e){throw(0,i.S)(e,{abi:n,address:c,args:u,docsPath:"/docs/contract/readContract",functionName:l})}}},6428:function(e,t,n){"use strict";n.d(t,{a:function(){return u}});var r=n(14428),o=n(22587),i=n(82544),a=n(32171),s=n(87510),c=n(42698);async function u(e,t){let{abi:n,address:u,args:l,dataSuffix:d,functionName:f,...p}=t,h=p.account?(0,r.T)(p.account):e.account,m=(0,i.R)({abi:n,args:l,functionName:f});try{let{data:r}=await (0,s.s)(e,c.R,"call")({batch:!1,data:`${m}${d?d.replace("0x",""):""}`,to:u,...p,account:h}),i=(0,o.k)({abi:n,args:l,functionName:f,data:r||"0x"}),a=n.filter(e=>"name"in e&&e.name===t.functionName);return{result:i,request:{abi:a,address:u,args:l,dataSuffix:d,functionName:f,...p,account:h}}}catch(e){throw(0,a.S)(e,{abi:n,address:u,args:l,docsPath:"/docs/contract/simulateContract",functionName:f,sender:h?.address})}}},28218:function(e,t,n){"use strict";n.d(t,{e:function(){return p}});var r=n(43883),o=n(29334),i=n(87510),a=n(13373),s=n(29673),c=n(49476),u=n(44705),l=n(17263),d=n(99437),f=n(75487);async function p(e,{confirmations:t=1,hash:n,onReplaced:p,pollingInterval:h=e.pollingInterval,retryCount:m=6,retryDelay:w=({count:e})=>200*~~(1<<e),timeout:y=18e4}){let b,g,A;let v=(0,c.P)(["waitForTransactionReceipt",e.uid,n]),E=!1;return new Promise((c,C)=>{y&&setTimeout(()=>C(new o.mc({hash:n})),y);let x=(0,a.N7)(v,{onReplaced:p,resolve:c,reject:C},a=>{let c=(0,i.s)(e,f.q,"watchBlockNumber")({emitMissed:!0,emitOnBegin:!0,poll:!0,pollingInterval:h,async onBlockNumber(f){let p=e=>{c(),e(),x()},h=f;if(!E)try{if(A){if(t>1&&(!A.blockNumber||h-A.blockNumber+1n<t))return;p(()=>a.resolve(A));return}if(b||(E=!0,await (0,s.J)(async()=>{(b=await (0,i.s)(e,l.f,"getTransaction")({hash:n})).blockNumber&&(h=b.blockNumber)},{delay:w,retryCount:m}),E=!1),A=await (0,i.s)(e,d.a,"getTransactionReceipt")({hash:n}),t>1&&(!A.blockNumber||h-A.blockNumber+1n<t))return;p(()=>a.resolve(A))}catch(n){if(n instanceof o.Bh||n instanceof o.Yb){if(!b){E=!1;return}try{g=b,E=!0;let n=await (0,s.J)(()=>(0,i.s)(e,u.Q,"getBlock")({blockNumber:h,includeTransactions:!0}),{delay:w,retryCount:m,shouldRetry:({error:e})=>e instanceof r.f});E=!1;let o=n.transactions.find(({from:e,nonce:t})=>e===g.from&&t===g.nonce);if(!o||(A=await (0,i.s)(e,d.a,"getTransactionReceipt")({hash:o.hash}),t>1&&(!A.blockNumber||h-A.blockNumber+1n<t)))return;let c="replaced";o.to===g.to&&o.value===g.value?c="repriced":o.from===o.to&&0n===o.value&&(c="cancelled"),p(()=>{a.onReplaced?.({reason:c,replacedTransaction:g,transaction:o,transactionReceipt:A}),a.resolve(A)})}catch(e){p(()=>a.reject(e))}}else p(()=>a.reject(n))}}})})})}},75487:function(e,t,n){"use strict";n.d(t,{q:function(){return u}});var r=n(58435),o=n(87510),i=n(13373),a=n(8720),s=n(49476),c=n(8258);function u(e,{emitOnBegin:t=!1,emitMissed:n=!1,onBlockNumber:u,onError:l,poll:d,pollingInterval:f=e.pollingInterval}){let p;return(void 0!==d?d:"webSocket"!==e.transport.type&&("fallback"!==e.transport.type||"webSocket"!==e.transport.transports[0].config.type))?(()=>{let r=(0,s.P)(["watchBlockNumber",e.uid,t,n,f]);return(0,i.N7)(r,{onBlockNumber:u,onError:l},r=>(0,a.$)(async()=>{try{let t=await (0,o.s)(e,c.z,"getBlockNumber")({cacheTime:0});if(p){if(t===p)return;if(t-p>1&&n)for(let e=p+1n;e<t;e++)r.onBlockNumber(e,p),p=e}(!p||t>p)&&(r.onBlockNumber(t,p),p=t)}catch(e){r.onError?.(e)}},{emitOnBegin:t,interval:f}))})():(()=>{let o=(0,s.P)(["watchBlockNumber",e.uid,t,n]);return(0,i.N7)(o,{onBlockNumber:u,onError:l},t=>{let n=!0,o=()=>n=!1;return(async()=>{try{let i=(()=>{if("fallback"===e.transport.type){let t=e.transport.transports.find(e=>"webSocket"===e.config.type);return t?t.value:e.transport}return e.transport})(),{unsubscribe:a}=await i.subscribe({params:["newHeads"],onData(e){if(!n)return;let o=(0,r.y_)(e.result?.number);t.onBlockNumber(o,p),p=o},onError(e){t.onError?.(e)}});o=a,n||o()}catch(e){l?.(e)}})(),()=>o()})})()}},15899:function(e,t,n){"use strict";n.d(t,{p:function(){return u}});var r=n(81222),o=n(87510),i=n(13373),a=n(8720),s=n(49476),c=n(44705);function u(e,{blockTag:t="latest",emitMissed:n=!1,emitOnBegin:u=!1,onBlock:l,onError:d,includeTransactions:f,poll:p,pollingInterval:h=e.pollingInterval}){let m,w,y,b;let g=void 0!==p?p:"webSocket"!==e.transport.type&&("fallback"!==e.transport.type||"webSocket"!==e.transport.transports[0].config.type),A=f??!1;return g?(()=>{let r=(0,s.P)(["watchBlocks",e.uid,t,n,u,A,h]);return(0,i.N7)(r,{onBlock:l,onError:d},r=>(0,a.$)(async()=>{try{let i=await (0,o.s)(e,c.Q,"getBlock")({blockTag:t,includeTransactions:A});if(i.number&&m?.number){if(i.number===m.number)return;if(i.number-m.number>1&&n)for(let t=m?.number+1n;t<i.number;t++){let n=await (0,o.s)(e,c.Q,"getBlock")({blockNumber:t,includeTransactions:A});r.onBlock(n,m),m=n}}(!m?.number||"pending"===t&&!i?.number||i.number&&i.number>m.number)&&(r.onBlock(i,m),m=i)}catch(e){r.onError?.(e)}},{emitOnBegin:u,interval:h}))})():(w=!0,y=!0,b=()=>w=!1,(async()=>{try{u&&(0,o.s)(e,c.Q,"getBlock")({blockTag:t,includeTransactions:A}).then(e=>{w&&y&&(l(e,void 0),y=!1)});let n=(()=>{if("fallback"===e.transport.type){let t=e.transport.transports.find(e=>"webSocket"===e.config.type);return t?t.value:e.transport}return e.transport})(),{unsubscribe:i}=await n.subscribe({params:["newHeads"],onData(t){if(!w)return;let n=(e.chain?.formatters?.block?.format||r.Z)(t.result);l(n,m),y=!1,m=n},onError(e){d?.(e)}});b=i,w||b()}catch(e){d?.(e)}})(),()=>b())}},81174:function(e,t,n){"use strict";n.d(t,{Q:function(){return y},Z:function(){return b}});var r=n(14428),o=n(2998),i=n(3501),a=n(44705),s=n(11504),c=n(57942),u=n(59877),l=n(93919),d=n(81853),f=n(25735),p=n(87510),h=n(12679),m=n(87656),w=n(50647);let y=["blobVersionedHashes","chainId","fees","gas","nonce","type"];async function b(e,t){let n,b;let{account:g=e.account,blobs:A,chain:v,gas:E,kzg:C,nonce:x,nonceManager:B,parameters:k=y,type:I}=t,P=g?(0,r.T)(g):void 0,N={...t,...P?{from:P?.address}:{}};async function M(){return n||(n=await (0,p.s)(e,a.Q,"getBlock")({blockTag:"latest"}))}async function F(){return b||(v?v.id:void 0!==t.chainId?t.chainId:b=await (0,p.s)(e,w.L,"getChainId")({}))}if((k.includes("blobVersionedHashes")||k.includes("sidecars"))&&A&&C){let e=(0,u.P)({blobs:A,kzg:C});if(k.includes("blobVersionedHashes")){let t=(0,d.C)({commitments:e,to:"hex"});N.blobVersionedHashes=t}if(k.includes("sidecars")){let t=(0,l.y)({blobs:A,commitments:e,kzg:C}),n=(0,f.j)({blobs:A,commitments:e,proofs:t,to:"hex"});N.sidecars=n}}if(k.includes("chainId")&&(N.chainId=await F()),k.includes("nonce")&&void 0===x&&P){if(B){let t=await F();N.nonce=await B.consume({address:P.address,chainId:t,client:e})}else N.nonce=await (0,p.s)(e,s.K,"getTransactionCount")({address:P.address,blockTag:"pending"})}if((k.includes("fees")||k.includes("type"))&&void 0===I)try{N.type=(0,m.l)(N)}catch{let e=await M();N.type="bigint"==typeof e?.baseFeePerGas?"eip1559":"legacy"}if(k.includes("fees")){if("legacy"!==N.type&&"eip2930"!==N.type){if(void 0===N.maxFeePerGas||void 0===N.maxPriorityFeePerGas){let n=await M(),{maxFeePerGas:r,maxPriorityFeePerGas:i}=await (0,o.C)(e,{block:n,chain:v,request:N});if(void 0===t.maxPriorityFeePerGas&&t.maxFeePerGas&&t.maxFeePerGas<i)throw new c.ld({maxPriorityFeePerGas:i});N.maxPriorityFeePerGas=i,N.maxFeePerGas=r}}else{if(void 0!==t.maxFeePerGas||void 0!==t.maxPriorityFeePerGas)throw new c.e5;let n=await M(),{gasPrice:r}=await (0,o.C)(e,{block:n,chain:v,request:N,type:"legacy"});N.gasPrice=r}}return k.includes("gas")&&void 0===E&&(N.gas=await (0,p.s)(e,i.Q,"estimateGas")({...N,account:P?{address:P.address,type:"json-rpc"}:void 0})),(0,h.F)(N),delete N.parameters,N}},95774:function(e,t,n){"use strict";async function r(e,{serializedTransaction:t}){return e.request({method:"eth_sendRawTransaction",params:[t]},{retryCount:0})}n.d(t,{p:function(){return r}})},34467:function(e,t,n){"use strict";n.d(t,{R:function(){return r}});let r=(0,n(80610).a)({id:1,name:"Ethereum",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://cloudflare-eth.com"]}},blockExplorers:{default:{name:"Etherscan",url:"https://etherscan.io",apiUrl:"https://api.etherscan.io/api"}},contracts:{ensRegistry:{address:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},ensUniversalResolver:{address:"0xce01f8eee7E479C928F8919abD53E553a36CeF67",blockCreated:19258213},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:14353601}}})},82095:function(e,t,n){"use strict";n.d(t,{e:function(){return i}});var r=n(14428),o=n(62257);function i(e){let{batch:t,cacheTime:n=e.pollingInterval??4e3,ccipRead:i,key:a="base",name:s="Base Client",pollingInterval:c=4e3,type:u="base"}=e,l=e.chain,d=e.account?(0,r.T)(e.account):void 0,{config:f,request:p,value:h}=e.transport({chain:l,pollingInterval:c}),m={account:d,batch:t,cacheTime:n,ccipRead:i,chain:l,key:a,name:s,pollingInterval:c,request:p,transport:{...f,...h},type:u,uid:(0,o.h)()};return Object.assign(m,{extend:function e(t){return n=>{let r=n(t);for(let e in m)delete r[e];let o={...t,...r};return Object.assign(o,{extend:e(o)})}}(m)})}},3638:function(e,t,n){"use strict";n.d(t,{q:function(){return f}});var r=n(86708),o=n(10042),i=n(98094),a=n(72417),s=n(56026);let c=new(n(74024)).k(8192);var u=n(29673),l=n(49476),d=n(62257);function f({key:e,name:t,request:n,retryCount:f=3,retryDelay:p=150,timeout:h,type:m},w){return{config:{key:e,name:t,request:n,retryCount:f,retryDelay:p,timeout:h,type:m},request:function(e,t={}){return async(n,d={})=>{let{dedupe:f=!1,retryDelay:p=150,retryCount:h=3,uid:m}={...t,...d},w=f?(0,s.w)((0,a.$G)(`${m}.${(0,l.P)(n)}`)):void 0;return function(e,{enabled:t=!0,id:n}){if(!t||!n)return e();if(c.get(n))return c.get(n);let r=e().finally(()=>c.delete(n));return c.set(n,r),r}(()=>(0,u.J)(async()=>{try{return await e(n)}catch(e){switch(e.code){case i.s7.code:throw new i.s7(e);case i.B.code:throw new i.B(e);case i.LX.code:throw new i.LX(e,{method:n.method});case i.nY.code:throw new i.nY(e);case i.XS.code:throw new i.XS(e);case i.yR.code:throw new i.yR(e);case i.Og.code:throw new i.Og(e);case i.pT.code:throw new i.pT(e);case i.KB.code:throw new i.KB(e);case i.gS.code:throw new i.gS(e,{method:n.method});case i.Pv.code:throw new i.Pv(e);case i.GD.code:throw new i.GD(e);case i.ab.code:throw new i.ab(e);case i.PE.code:throw new i.PE(e);case i.Ts.code:throw new i.Ts(e);case i.u5.code:throw new i.u5(e);case i.I0.code:throw new i.I0(e);case i.x3.code:throw new i.x3(e);case 5e3:throw new i.ab(e);default:if(e instanceof r.G)throw e;throw new i.ir(e)}}},{delay:({count:e,error:t})=>{if(t&&t instanceof o.Gg){let e=t?.headers?.get("Retry-After");if(e?.match(/\d/))return 1e3*Number.parseInt(e)}return~~(1<<e)*p},retryCount:h,shouldRetry:({error:e})=>"code"in e&&"number"==typeof e.code?-1===e.code||e.code===i.Pv.code||e.code===i.XS.code:!(e instanceof o.Gg)||!e.status||403===e.status||408===e.status||413===e.status||429===e.status||500===e.status||502===e.status||503===e.status||504===e.status}),{enabled:f,id:w})}}(n,{retryCount:f,retryDelay:p,uid:(0,d.h)()}),value:w}}},2029:function(e,t,n){"use strict";n.d(t,{$o:function(){return u},F8:function(){return r},X$:function(){return c},du:function(){return a},k3:function(){return i},nZ:function(){return s}});let r=[{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"}],o=[{inputs:[],name:"ResolverNotFound",type:"error"},{inputs:[],name:"ResolverWildcardNotSupported",type:"error"},{inputs:[],name:"ResolverNotContract",type:"error"},{inputs:[{name:"returnData",type:"bytes"}],name:"ResolverError",type:"error"},{inputs:[{components:[{name:"status",type:"uint16"},{name:"message",type:"string"}],name:"errors",type:"tuple[]"}],name:"HttpError",type:"error"}],i=[...o,{name:"resolve",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes"},{name:"data",type:"bytes"}],outputs:[{name:"",type:"bytes"},{name:"address",type:"address"}]},{name:"resolve",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes"},{name:"data",type:"bytes"},{name:"gateways",type:"string[]"}],outputs:[{name:"",type:"bytes"},{name:"address",type:"address"}]}],a=[...o,{name:"reverse",type:"function",stateMutability:"view",inputs:[{type:"bytes",name:"reverseName"}],outputs:[{type:"string",name:"resolvedName"},{type:"address",name:"resolvedAddress"},{type:"address",name:"reverseResolver"},{type:"address",name:"resolver"}]},{name:"reverse",type:"function",stateMutability:"view",inputs:[{type:"bytes",name:"reverseName"},{type:"string[]",name:"gateways"}],outputs:[{type:"string",name:"resolvedName"},{type:"address",name:"resolvedAddress"},{type:"address",name:"reverseResolver"},{type:"address",name:"resolver"}]}],s=[{name:"text",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes32"},{name:"key",type:"string"}],outputs:[{name:"",type:"string"}]}],c=[{name:"addr",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes32"}],outputs:[{name:"",type:"address"}]},{name:"addr",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes32"},{name:"coinType",type:"uint256"}],outputs:[{name:"",type:"bytes"}]}],u=[{inputs:[{name:"_signer",type:"address"},{name:"_hash",type:"bytes32"},{name:"_signature",type:"bytes"}],stateMutability:"nonpayable",type:"constructor"}]},24968:function(e,t,n){"use strict";n.d(t,{NO:function(){return r},ST:function(){return i},pG:function(){return o}});let r="0x608060405234801561001057600080fd5b5060405161018e38038061018e83398101604081905261002f91610124565b6000808351602085016000f59050803b61004857600080fd5b6000808351602085016000855af16040513d6000823e81610067573d81fd5b3d81f35b634e487b7160e01b600052604160045260246000fd5b600082601f83011261009257600080fd5b81516001600160401b038111156100ab576100ab61006b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156100d9576100d961006b565b6040528181528382016020018510156100f157600080fd5b60005b82811015610110576020818601810151838301820152016100f4565b506000918101602001919091529392505050565b6000806040838503121561013757600080fd5b82516001600160401b0381111561014d57600080fd5b61015985828601610081565b602085015190935090506001600160401b0381111561017757600080fd5b61018385828601610081565b915050925092905056fe",o="0x608060405234801561001057600080fd5b506040516102c03803806102c083398101604081905261002f916101e6565b836001600160a01b03163b6000036100e457600080836001600160a01b03168360405161005c9190610270565b6000604051808303816000865af19150503d8060008114610099576040519150601f19603f3d011682016040523d82523d6000602084013e61009e565b606091505b50915091508115806100b857506001600160a01b0386163b155b156100e1578060405163101bb98d60e01b81526004016100d8919061028c565b60405180910390fd5b50505b6000808451602086016000885af16040513d6000823e81610103573d81fd5b3d81f35b80516001600160a01b038116811461011e57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561015457818101518382015260200161013c565b50506000910152565b600082601f83011261016e57600080fd5b81516001600160401b0381111561018757610187610123565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101b5576101b5610123565b6040528181528382016020018510156101cd57600080fd5b6101de826020830160208701610139565b949350505050565b600080600080608085870312156101fc57600080fd5b61020585610107565b60208601519094506001600160401b0381111561022157600080fd5b61022d8782880161015d565b93505061023c60408601610107565b60608601519092506001600160401b0381111561025857600080fd5b6102648782880161015d565b91505092959194509250565b60008251610282818460208701610139565b9190910192915050565b60208152600082518060208401526102ab816040850160208701610139565b601f01601f1916919091016040019291505056fe",i="0x608060405234801561001057600080fd5b5060405161069438038061069483398101604081905261002f9161051e565b600061003c848484610048565b9050806000526001601ff35b60007f64926492649264926492649264926492649264926492649264926492649264926100748361040c565b036101e7576000606080848060200190518101906100929190610577565b60405192955090935091506000906001600160a01b038516906100b69085906105dd565b6000604051808303816000865af19150503d80600081146100f3576040519150601f19603f3d011682016040523d82523d6000602084013e6100f8565b606091505b50509050876001600160a01b03163b60000361016057806101605760405162461bcd60e51b815260206004820152601e60248201527f5369676e617475726556616c696461746f723a206465706c6f796d656e74000060448201526064015b60405180910390fd5b604051630b135d3f60e11b808252906001600160a01b038a1690631626ba7e90610190908b9087906004016105f9565b602060405180830381865afa1580156101ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d19190610633565b6001600160e01b03191614945050505050610405565b6001600160a01b0384163b1561027a57604051630b135d3f60e11b808252906001600160a01b03861690631626ba7e9061022790879087906004016105f9565b602060405180830381865afa158015610244573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102689190610633565b6001600160e01b031916149050610405565b81516041146102df5760405162461bcd60e51b815260206004820152603a602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e6174757265206c656e6774680000000000006064820152608401610157565b6102e7610425565b5060208201516040808401518451859392600091859190811061030c5761030c61065d565b016020015160f81c9050601b811480159061032b57508060ff16601c14155b1561038c5760405162461bcd60e51b815260206004820152603b602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e617475726520762076616c756500000000006064820152608401610157565b60408051600081526020810180835289905260ff83169181019190915260608101849052608081018390526001600160a01b0389169060019060a0016020604051602081039080840390855afa1580156103ea573d6000803e3d6000fd5b505050602060405103516001600160a01b0316149450505050505b9392505050565b600060208251101561041d57600080fd5b508051015190565b60405180606001604052806003906020820280368337509192915050565b6001600160a01b038116811461045857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561048c578181015183820152602001610474565b50506000910152565b600082601f8301126104a657600080fd5b81516001600160401b038111156104bf576104bf61045b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156104ed576104ed61045b565b60405281815283820160200185101561050557600080fd5b610516826020830160208701610471565b949350505050565b60008060006060848603121561053357600080fd5b835161053e81610443565b6020850151604086015191945092506001600160401b0381111561056157600080fd5b61056d86828701610495565b9150509250925092565b60008060006060848603121561058c57600080fd5b835161059781610443565b60208501519093506001600160401b038111156105b357600080fd5b6105bf86828701610495565b604086015190935090506001600160401b0381111561056157600080fd5b600082516105ef818460208701610471565b9190910192915050565b828152604060208201526000825180604084015261061e816060850160208701610471565b601f01601f1916919091016060019392505050565b60006020828403121561064557600080fd5b81516001600160e01b03198116811461040557600080fd5b634e487b7160e01b600052603260045260246000fdfe5369676e617475726556616c696461746f72237265636f7665725369676e6572"},38136:function(e,t,n){"use strict";n.d(t,{$:function(){return r},Up:function(){return o},hZ:function(){return i}});let r={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."},o={inputs:[{name:"message",type:"string"}],name:"Error",type:"error"},i={inputs:[{name:"reason",type:"uint256"}],name:"Panic",type:"error"}},16096:function(e,t,n){"use strict";n.d(t,{CI:function(){return B},FM:function(){return h},Gy:function(){return C},KY:function(){return v},M4:function(){return d},MX:function(){return b},Mi:function(){return P},S4:function(){return A},SM:function(){return E},cO:function(){return s},dh:function(){return x},eF:function(){return g},fM:function(){return a},fs:function(){return f},gr:function(){return l},hn:function(){return k},lC:function(){return m},mv:function(){return w},wM:function(){return I},wb:function(){return u},xB:function(){return c},xL:function(){return y},yP:function(){return p}});var r=n(43067),o=n(80002),i=n(86708);class a extends i.G{constructor({docsPath:e}){super("A constructor was not found on the ABI.\nMake sure you are using the correct ABI and that the constructor exists on it.",{docsPath:e,name:"AbiConstructorNotFoundError"})}}class s extends i.G{constructor({docsPath:e}){super("Constructor arguments were provided (`args`), but a constructor parameters (`inputs`) were not found on the ABI.\nMake sure you are using the correct ABI, and that the `inputs` attribute on the constructor exists.",{docsPath:e,name:"AbiConstructorParamsNotFoundError"})}}class c extends i.G{constructor({data:e,params:t,size:n}){super(`Data size of ${n} bytes is too small for given parameters.`,{metaMessages:[`Params: (${(0,r.h)(t,{includeName:!0})})`,`Data: ${e} (${n} 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=e,this.params=t,this.size=n}}class u extends i.G{constructor(){super('Cannot decode zero data ("0x") with ABI parameters.',{name:"AbiDecodingZeroDataError"})}}class l extends i.G{constructor({expectedLength:e,givenLength:t,type:n}){super(`ABI encoding array length mismatch for type ${n}.
2
2
  Expected length: ${e}
3
3
  Given length: ${t}`,{name:"AbiEncodingArrayLengthMismatchError"})}}class d extends i.G{constructor({expectedSize:e,value:t}){super(`Size of bytes "${t}" (bytes${(0,o.d)(t)}) does not match expected size (bytes${e}).`,{name:"AbiEncodingBytesSizeMismatchError"})}}class f extends i.G{constructor({expectedLength:e,givenLength:t}){super(`ABI encoding params/values length mismatch.
4
4
  Expected length (params): ${e}
5
5
  Given length (values): ${t}`,{name:"AbiEncodingLengthMismatchError"})}}class p extends i.G{constructor(e,{docsPath:t}){super(`Encoded error signature "${e}" not found on ABI.
6
6
  Make sure you are using the correct ABI and that the error exists on it.
7
- You can look up the decoded signature here: https://openchain.xyz/signatures?query=${e}.`,{docsPath:t,name:"AbiErrorSignatureNotFoundError"}),Object.defineProperty(this,"signature",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.signature=e}}class h extends i.G{constructor({docsPath:e}){super("Cannot extract event signature from empty topics.",{docsPath:e,name:"AbiEventSignatureEmptyTopicsError"})}}class w extends i.G{constructor(e,{docsPath:t}){super(`Encoded event signature "${e}" not found on ABI.
7
+ You can look up the decoded signature here: https://openchain.xyz/signatures?query=${e}.`,{docsPath:t,name:"AbiErrorSignatureNotFoundError"}),Object.defineProperty(this,"signature",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.signature=e}}class h extends i.G{constructor({docsPath:e}){super("Cannot extract event signature from empty topics.",{docsPath:e,name:"AbiEventSignatureEmptyTopicsError"})}}class m extends i.G{constructor(e,{docsPath:t}){super(`Encoded event signature "${e}" not found on ABI.
8
8
  Make sure you are using the correct ABI and that the event exists on it.
9
- You can look up the signature here: https://openchain.xyz/signatures?query=${e}.`,{docsPath:t,name:"AbiEventSignatureNotFoundError"})}}class m extends i.G{constructor(e,{docsPath:t}={}){super(`Event ${e?`"${e}" `:""}not found on ABI.
10
- Make sure you are using the correct ABI and that the event exists on it.`,{docsPath:t,name:"AbiEventNotFoundError"})}}class g extends i.G{constructor(e,{docsPath:t}={}){super(`Function ${e?`"${e}" `:""}not found on ABI.
9
+ You can look up the signature here: https://openchain.xyz/signatures?query=${e}.`,{docsPath:t,name:"AbiEventSignatureNotFoundError"})}}class w extends i.G{constructor(e,{docsPath:t}={}){super(`Event ${e?`"${e}" `:""}not found on ABI.
10
+ Make sure you are using the correct ABI and that the event exists on it.`,{docsPath:t,name:"AbiEventNotFoundError"})}}class y extends i.G{constructor(e,{docsPath:t}={}){super(`Function ${e?`"${e}" `:""}not found on ABI.
11
11
  Make sure you are using the correct ABI and that the function exists on it.`,{docsPath:t,name:"AbiFunctionNotFoundError"})}}class b extends i.G{constructor(e,{docsPath:t}){super(`Function "${e}" does not contain any \`outputs\` on ABI.
12
12
  Cannot decode function result without knowing what the parameter types are.
13
- Make sure you are using the correct ABI and that the function exists on it.`,{docsPath:t,name:"AbiFunctionOutputsNotFoundError"})}}class y extends i.G{constructor(e,{docsPath:t}){super(`Encoded function signature "${e}" not found on ABI.
13
+ Make sure you are using the correct ABI and that the function exists on it.`,{docsPath:t,name:"AbiFunctionOutputsNotFoundError"})}}class g extends i.G{constructor(e,{docsPath:t}){super(`Encoded function signature "${e}" not found on ABI.
14
14
  Make sure you are using the correct ABI and that the function exists on it.
15
- You can look up the signature here: https://openchain.xyz/signatures?query=${e}.`,{docsPath:t,name:"AbiFunctionSignatureNotFoundError"})}}class A extends i.G{constructor(e,t){super("Found ambiguous types in overloaded ABI items.",{metaMessages:[`\`${e.type}\` in \`${(0,r.t)(e.abiItem)}\`, and`,`\`${t.type}\` in \`${(0,r.t)(t.abiItem)}\``,"","These types encode differently and cannot be distinguished at runtime.","Remove one of the ambiguous items in the ABI."],name:"AbiItemAmbiguityError"})}}class v extends i.G{constructor({expectedSize:e,givenSize:t}){super(`Expected bytes${e}, got bytes${t}.`,{name:"BytesSizeMismatchError"})}}class C extends i.G{constructor({abiItem:e,data:t,params:n,size:o}){super(`Data size of ${o} bytes is too small for non-indexed event parameters.`,{metaMessages:[`Params: (${(0,r.h)(n,{includeName:!0})})`,`Data: ${t} (${o} 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=e,this.data=t,this.params=n,this.size=o}}class E extends i.G{constructor({abiItem:e,param:t}){super(`Expected a topic for indexed event parameter${t.name?` "${t.name}"`:""} on event "${(0,r.t)(e,{includeName:!0})}".`,{name:"DecodeLogTopicsMismatch"}),Object.defineProperty(this,"abiItem",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.abiItem=e}}class x extends i.G{constructor(e,{docsPath:t}){super(`Type "${e}" is not a valid encoding type.
15
+ You can look up the signature here: https://openchain.xyz/signatures?query=${e}.`,{docsPath:t,name:"AbiFunctionSignatureNotFoundError"})}}class A extends i.G{constructor(e,t){super("Found ambiguous types in overloaded ABI items.",{metaMessages:[`\`${e.type}\` in \`${(0,r.t)(e.abiItem)}\`, and`,`\`${t.type}\` in \`${(0,r.t)(t.abiItem)}\``,"","These types encode differently and cannot be distinguished at runtime.","Remove one of the ambiguous items in the ABI."],name:"AbiItemAmbiguityError"})}}class v extends i.G{constructor({expectedSize:e,givenSize:t}){super(`Expected bytes${e}, got bytes${t}.`,{name:"BytesSizeMismatchError"})}}class E extends i.G{constructor({abiItem:e,data:t,params:n,size:o}){super(`Data size of ${o} bytes is too small for non-indexed event parameters.`,{metaMessages:[`Params: (${(0,r.h)(n,{includeName:!0})})`,`Data: ${t} (${o} 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=e,this.data=t,this.params=n,this.size=o}}class C extends i.G{constructor({abiItem:e,param:t}){super(`Expected a topic for indexed event parameter${t.name?` "${t.name}"`:""} on event "${(0,r.t)(e,{includeName:!0})}".`,{name:"DecodeLogTopicsMismatch"}),Object.defineProperty(this,"abiItem",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.abiItem=e}}class x extends i.G{constructor(e,{docsPath:t}){super(`Type "${e}" is not a valid encoding type.
16
16
  Please provide a valid ABI type.`,{docsPath:t,name:"InvalidAbiEncodingType"})}}class B extends i.G{constructor(e,{docsPath:t}){super(`Type "${e}" is not a valid decoding type.
17
17
  Please provide a valid ABI type.`,{docsPath:t,name:"InvalidAbiDecodingType"})}}class k extends i.G{constructor(e){super(`Value "${e}" is not a valid array.`,{name:"InvalidArrayError"})}}class I extends i.G{constructor(e){super(`"${e}" is not a valid definition type.
18
- Valid types: "function", "event", "error"`,{name:"InvalidDefinitionTypeError"})}}class P extends i.G{constructor(e){super(`Type "${e}" is not supported for packed encoding.`,{name:"UnsupportedPackedAbiType"})}}},60517:function(e,t,n){"use strict";n.d(t,{Y:function(){return i},o:function(){return o}});var r=n(86708);class o extends r.G{constructor({docsPath:e}={}){super("Could not find an Account to execute with this Action.\nPlease provide an Account with the `account` argument on the Action, or by supplying an `account` to the Client.",{docsPath:e,docsSlug:"account",name:"AccountNotFoundError"})}}class i extends r.G{constructor({docsPath:e,metaMessages:t,type:n}){super(`Account type "${n}" is not supported.`,{docsPath:e,metaMessages:t,name:"AccountTypeNotSupportedError"})}}},43883:function(e,t,n){"use strict";n.d(t,{f:function(){return o}});var r=n(86708);class o extends r.G{constructor({blockHash:e,blockNumber:t}){let n="Block";e&&(n=`Block at hash "${e}"`),t&&(n=`Block at number "${t}"`),super(`${n} could not be found.`,{name:"BlockNotFoundError"})}}},20840:function(e,t,n){"use strict";n.d(t,{cg:function(){return g},uq:function(){return b},Lu:function(){return y},Dk:function(){return A},Mo:function(){return v},VQ:function(){return C}});var r=n(14428),o=n(38136),i=n(59867),a=n(43067),s=n(49476);function c({abiItem:e,args:t,includeFunctionName:n=!0,includeName:r=!1}){if("name"in e&&"inputs"in e&&e.inputs)return`${n?e.name:""}(${e.inputs.map((e,n)=>`${r&&e.name?`${e.name}: `:""}${"object"==typeof t[n]?(0,s.P)(t[n]):t[n]}`).join(", ")})`}var u=n(67278),l=n(73662),d=n(5063),f=n(16096),p=n(86708),h=n(82925),w=n(29334),m=n(6255);class g extends p.G{constructor(e,{account:t,docsPath:n,chain:o,data:i,gas:a,gasPrice:s,maxFeePerGas:c,maxPriorityFeePerGas:u,nonce:f,to:p,value:m,stateOverride:g}){let b=t?(0,r.T)(t):void 0,y=(0,w.xr)({from:b?.address,to:p,value:void 0!==m&&`${(0,l.d)(m)} ${o?.nativeCurrency?.symbol||"ETH"}`,data:i,gas:a,gasPrice:void 0!==s&&`${(0,d.o)(s)} gwei`,maxFeePerGas:void 0!==c&&`${(0,d.o)(c)} gwei`,maxPriorityFeePerGas:void 0!==u&&`${(0,d.o)(u)} gwei`,nonce:f});g&&(y+=`
19
- ${(0,h.Bj)(g)}`),super(e.shortMessage,{cause:e,docsPath:n,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],"Raw Call Arguments:",y].filter(Boolean),name:"CallExecutionError"}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=e}}class b extends p.G{constructor(e,{abi:t,args:n,contractAddress:r,docsPath:o,functionName:i,sender:s}){let l=(0,u.mE)({abi:t,args:n,name:i}),d=l?c({abiItem:l,args:n,includeFunctionName:!1,includeName:!1}):void 0,f=l?(0,a.t)(l,{includeName:!0}):void 0,p=(0,w.xr)({address:r&&(0,m.C)(r),function:f,args:d&&"()"!==d&&`${[...Array(i?.length??0).keys()].map(()=>" ").join("")}${d}`,sender:s});super(e.shortMessage||`An unknown error occurred while executing the contract function "${i}".`,{cause:e,docsPath:o,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],p&&"Contract Call:",p].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=t,this.args=n,this.cause=e,this.contractAddress=r,this.functionName=i,this.sender=s}}class y extends p.G{constructor({abi:e,data:t,functionName:n,message:r}){let s,u,l,d,p;if(t&&"0x"!==t)try{let{abiItem:n,errorName:r,args:s}=p=(0,i.p)({abi:e,data:t});if("Error"===r)l=s[0];else if("Panic"===r){let[e]=s;l=o.$[e]}else{let e=n?(0,a.t)(n,{includeName:!0}):void 0,t=n&&s?c({abiItem:n,args:s,includeFunctionName:!1,includeName:!1}):void 0;u=[e?`Error: ${e}`:"",t&&"()"!==t?` ${[...Array(r?.length??0).keys()].map(()=>" ").join("")}${t}`:""]}}catch(e){s=e}else r&&(l=r);s instanceof f.yP&&(d=s.signature,u=[`Unable to decode signature "${d}" 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://openchain.xyz/signatures?query=${d}.`]),super(l&&"execution reverted"!==l||d?[`The contract function "${n}" reverted with the following ${d?"signature":"reason"}:`,l||d].join("\n"):`The contract function "${n}" reverted.`,{cause:s,metaMessages:u,name:"ContractFunctionRevertedError"}),Object.defineProperty(this,"data",{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=p,this.reason=l,this.signature=d}}class A extends p.G{constructor({functionName:e}){super(`The contract function "${e}" returned no data ("0x").`,{metaMessages:["This could be due to any of the following:",` - The contract does not have the function "${e}",`," - The parameters passed to the contract function may be invalid, or"," - The address is not a contract."],name:"ContractFunctionZeroDataError"})}}class v extends p.G{constructor({factory:e}){super(`Deployment for counterfactual contract call failed${e?` for factory "${e}".`:""}`,{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 C extends p.G{constructor({data:e,message:t}){super(t||"",{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=e}}},57942:function(e,t,n){"use strict";n.d(t,{Fz:function(){return i},e5:function(){return a},ld:function(){return s}});var r=n(5063),o=n(86708);class i extends o.G{constructor(){super("`baseFeeMultiplier` must be greater than 1.",{name:"BaseFeeScalarError"})}}class a extends o.G{constructor(){super("Chain does not support EIP-1559 fees.",{name:"Eip1559FeesNotSupportedError"})}}class s extends o.G{constructor({maxPriorityFeePerGas:e}){super(`\`maxFeePerGas\` cannot be less than the \`maxPriorityFeePerGas\` (${(0,r.o)(e)} gwei).`,{name:"MaxFeePerGasTooLowError"})}}},10042:function(e,t,n){"use strict";n.d(t,{Gg:function(){return a},W5:function(){return c},bs:function(){return s}});var r=n(49476),o=n(86708),i=n(6255);class a extends o.G{constructor({body:e,cause:t,details:n,headers:o,status:a,url:s}){super("HTTP request failed.",{cause:t,details:n,metaMessages:[a&&`Status: ${a}`,`URL: ${(0,i.G)(s)}`,e&&`Request body: ${(0,r.P)(e)}`].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=e,this.headers=o,this.status=a,this.url=s}}class s extends o.G{constructor({body:e,error:t,url:n}){super("RPC Request failed.",{cause:t,details:t.message,metaMessages:[`URL: ${(0,i.G)(n)}`,`Request body: ${(0,r.P)(e)}`],name:"RpcRequestError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.code=t.code}}class c extends o.G{constructor({body:e,url:t}){super("The request took too long to respond.",{details:"The request timed out.",metaMessages:[`URL: ${(0,i.G)(t)}`,`Request body: ${(0,r.P)(e)}`],name:"TimeoutError"})}}},98094:function(e,t,n){"use strict";n.d(t,{B:function(){return c},GD:function(){return b},I0:function(){return E},KB:function(){return w},LX:function(){return u},Og:function(){return p},PE:function(){return A},Pv:function(){return g},Ts:function(){return v},XS:function(){return d},ab:function(){return y},gS:function(){return m},ir:function(){return B},nY:function(){return l},pT:function(){return h},s7:function(){return s},u5:function(){return C},x3:function(){return x},yR:function(){return f}});var r=n(86708),o=n(10042);class i extends r.G{constructor(e,{code:t,docsPath:n,metaMessages:r,name:i,shortMessage:a}){super(a,{cause:e,docsPath:n,metaMessages:r||e?.metaMessages,name:i||"RpcError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name=i||e.name,this.code=e instanceof o.bs?e.code:t??-1}}class a extends i{constructor(e,t){super(e,t),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=t.data}}class s extends i{constructor(e){super(e,{code:s.code,name:"ParseRpcError",shortMessage:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."})}}Object.defineProperty(s,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32700});class c extends i{constructor(e){super(e,{code:c.code,name:"InvalidRequestRpcError",shortMessage:"JSON is not a valid request object."})}}Object.defineProperty(c,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32600});class u extends i{constructor(e,{method:t}={}){super(e,{code:u.code,name:"MethodNotFoundRpcError",shortMessage:`The method${t?` "${t}"`:""} does not exist / is not available.`})}}Object.defineProperty(u,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32601});class l extends i{constructor(e){super(e,{code:l.code,name:"InvalidParamsRpcError",shortMessage:"Invalid parameters were provided to the RPC method.\nDouble check you have provided the correct parameters."})}}Object.defineProperty(l,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32602});class d extends i{constructor(e){super(e,{code:d.code,name:"InternalRpcError",shortMessage:"An internal error was received."})}}Object.defineProperty(d,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32603});class f extends i{constructor(e){super(e,{code:f.code,name:"InvalidInputRpcError",shortMessage:"Missing or invalid parameters.\nDouble check you have provided the correct parameters."})}}Object.defineProperty(f,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32e3});class p extends i{constructor(e){super(e,{code:p.code,name:"ResourceNotFoundRpcError",shortMessage:"Requested resource not found."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ResourceNotFoundRpcError"})}}Object.defineProperty(p,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32001});class h extends i{constructor(e){super(e,{code:h.code,name:"ResourceUnavailableRpcError",shortMessage:"Requested resource not available."})}}Object.defineProperty(h,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32002});class w extends i{constructor(e){super(e,{code:w.code,name:"TransactionRejectedRpcError",shortMessage:"Transaction creation failed."})}}Object.defineProperty(w,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32003});class m extends i{constructor(e,{method:t}={}){super(e,{code:m.code,name:"MethodNotSupportedRpcError",shortMessage:`Method${t?` "${t}"`:""} is not implemented.`})}}Object.defineProperty(m,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32004});class g extends i{constructor(e){super(e,{code:g.code,name:"LimitExceededRpcError",shortMessage:"Request exceeds defined limit."})}}Object.defineProperty(g,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32005});class b extends i{constructor(e){super(e,{code:b.code,name:"JsonRpcVersionUnsupportedError",shortMessage:"Version of JSON-RPC protocol is not supported."})}}Object.defineProperty(b,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32006});class y extends a{constructor(e){super(e,{code:y.code,name:"UserRejectedRequestError",shortMessage:"User rejected the request."})}}Object.defineProperty(y,"code",{enumerable:!0,configurable:!0,writable:!0,value:4001});class A extends a{constructor(e){super(e,{code:A.code,name:"UnauthorizedProviderError",shortMessage:"The requested method and/or account has not been authorized by the user."})}}Object.defineProperty(A,"code",{enumerable:!0,configurable:!0,writable:!0,value:4100});class v extends a{constructor(e,{method:t}={}){super(e,{code:v.code,name:"UnsupportedProviderMethodError",shortMessage:`The Provider does not support the requested method${t?` " ${t}"`:""}.`})}}Object.defineProperty(v,"code",{enumerable:!0,configurable:!0,writable:!0,value:4200});class C extends a{constructor(e){super(e,{code:C.code,name:"ProviderDisconnectedError",shortMessage:"The Provider is disconnected from all chains."})}}Object.defineProperty(C,"code",{enumerable:!0,configurable:!0,writable:!0,value:4900});class E extends a{constructor(e){super(e,{code:E.code,name:"ChainDisconnectedError",shortMessage:"The Provider is not connected to the requested chain."})}}Object.defineProperty(E,"code",{enumerable:!0,configurable:!0,writable:!0,value:4901});class x extends a{constructor(e){super(e,{code:x.code,name:"SwitchChainError",shortMessage:"An error occurred when attempting to switch chain."})}}Object.defineProperty(x,"code",{enumerable:!0,configurable:!0,writable:!0,value:4902});class B extends i{constructor(e){super(e,{name:"UnknownRpcError",shortMessage:"An unknown RPC error occurred."})}}},82925:function(e,t,n){"use strict";n.d(t,{Bj:function(){return s},Nc:function(){return o},Z8:function(){return i}});var r=n(86708);class o extends r.G{constructor({address:e}){super(`State for account "${e}" is set multiple times.`,{name:"AccountStateConflictError"})}}class i extends r.G{constructor(){super("state and stateDiff are set on the same account.",{name:"StateAssignmentConflictError"})}}function a(e){return e.reduce((e,{slot:t,value:n})=>`${e} ${t}: ${n}
18
+ Valid types: "function", "event", "error"`,{name:"InvalidDefinitionTypeError"})}}class P extends i.G{constructor(e){super(`Type "${e}" is not supported for packed encoding.`,{name:"UnsupportedPackedAbiType"})}}},60517:function(e,t,n){"use strict";n.d(t,{Y:function(){return i},o:function(){return o}});var r=n(86708);class o extends r.G{constructor({docsPath:e}={}){super("Could not find an Account to execute with this Action.\nPlease provide an Account with the `account` argument on the Action, or by supplying an `account` to the Client.",{docsPath:e,docsSlug:"account",name:"AccountNotFoundError"})}}class i extends r.G{constructor({docsPath:e,metaMessages:t,type:n}){super(`Account type "${n}" is not supported.`,{docsPath:e,metaMessages:t,name:"AccountTypeNotSupportedError"})}}},43883:function(e,t,n){"use strict";n.d(t,{f:function(){return o}});var r=n(86708);class o extends r.G{constructor({blockHash:e,blockNumber:t}){let n="Block";e&&(n=`Block at hash "${e}"`),t&&(n=`Block at number "${t}"`),super(`${n} could not be found.`,{name:"BlockNotFoundError"})}}},20840:function(e,t,n){"use strict";n.d(t,{cg:function(){return y},uq:function(){return b},Lu:function(){return g},Dk:function(){return A},Mo:function(){return v},VQ:function(){return E}});var r=n(14428),o=n(38136),i=n(59867),a=n(43067),s=n(49476);function c({abiItem:e,args:t,includeFunctionName:n=!0,includeName:r=!1}){if("name"in e&&"inputs"in e&&e.inputs)return`${n?e.name:""}(${e.inputs.map((e,n)=>`${r&&e.name?`${e.name}: `:""}${"object"==typeof t[n]?(0,s.P)(t[n]):t[n]}`).join(", ")})`}var u=n(67278),l=n(73662),d=n(5063),f=n(16096),p=n(86708),h=n(82925),m=n(29334),w=n(6255);class y extends p.G{constructor(e,{account:t,docsPath:n,chain:o,data:i,gas:a,gasPrice:s,maxFeePerGas:c,maxPriorityFeePerGas:u,nonce:f,to:p,value:w,stateOverride:y}){let b=t?(0,r.T)(t):void 0,g=(0,m.xr)({from:b?.address,to:p,value:void 0!==w&&`${(0,l.d)(w)} ${o?.nativeCurrency?.symbol||"ETH"}`,data:i,gas:a,gasPrice:void 0!==s&&`${(0,d.o)(s)} gwei`,maxFeePerGas:void 0!==c&&`${(0,d.o)(c)} gwei`,maxPriorityFeePerGas:void 0!==u&&`${(0,d.o)(u)} gwei`,nonce:f});y&&(g+=`
19
+ ${(0,h.Bj)(y)}`),super(e.shortMessage,{cause:e,docsPath:n,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],"Raw Call Arguments:",g].filter(Boolean),name:"CallExecutionError"}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=e}}class b extends p.G{constructor(e,{abi:t,args:n,contractAddress:r,docsPath:o,functionName:i,sender:s}){let l=(0,u.mE)({abi:t,args:n,name:i}),d=l?c({abiItem:l,args:n,includeFunctionName:!1,includeName:!1}):void 0,f=l?(0,a.t)(l,{includeName:!0}):void 0,p=(0,m.xr)({address:r&&(0,w.C)(r),function:f,args:d&&"()"!==d&&`${[...Array(i?.length??0).keys()].map(()=>" ").join("")}${d}`,sender:s});super(e.shortMessage||`An unknown error occurred while executing the contract function "${i}".`,{cause:e,docsPath:o,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],p&&"Contract Call:",p].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=t,this.args=n,this.cause=e,this.contractAddress=r,this.functionName=i,this.sender=s}}class g extends p.G{constructor({abi:e,data:t,functionName:n,message:r}){let s,u,l,d,p;if(t&&"0x"!==t)try{let{abiItem:n,errorName:r,args:s}=p=(0,i.p)({abi:e,data:t});if("Error"===r)l=s[0];else if("Panic"===r){let[e]=s;l=o.$[e]}else{let e=n?(0,a.t)(n,{includeName:!0}):void 0,t=n&&s?c({abiItem:n,args:s,includeFunctionName:!1,includeName:!1}):void 0;u=[e?`Error: ${e}`:"",t&&"()"!==t?` ${[...Array(r?.length??0).keys()].map(()=>" ").join("")}${t}`:""]}}catch(e){s=e}else r&&(l=r);s instanceof f.yP&&(d=s.signature,u=[`Unable to decode signature "${d}" 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://openchain.xyz/signatures?query=${d}.`]),super(l&&"execution reverted"!==l||d?[`The contract function "${n}" reverted with the following ${d?"signature":"reason"}:`,l||d].join("\n"):`The contract function "${n}" reverted.`,{cause:s,metaMessages:u,name:"ContractFunctionRevertedError"}),Object.defineProperty(this,"data",{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=p,this.reason=l,this.signature=d}}class A extends p.G{constructor({functionName:e}){super(`The contract function "${e}" returned no data ("0x").`,{metaMessages:["This could be due to any of the following:",` - The contract does not have the function "${e}",`," - The parameters passed to the contract function may be invalid, or"," - The address is not a contract."],name:"ContractFunctionZeroDataError"})}}class v extends p.G{constructor({factory:e}){super(`Deployment for counterfactual contract call failed${e?` for factory "${e}".`:""}`,{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 E extends p.G{constructor({data:e,message:t}){super(t||"",{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=e}}},57942:function(e,t,n){"use strict";n.d(t,{Fz:function(){return i},e5:function(){return a},ld:function(){return s}});var r=n(5063),o=n(86708);class i extends o.G{constructor(){super("`baseFeeMultiplier` must be greater than 1.",{name:"BaseFeeScalarError"})}}class a extends o.G{constructor(){super("Chain does not support EIP-1559 fees.",{name:"Eip1559FeesNotSupportedError"})}}class s extends o.G{constructor({maxPriorityFeePerGas:e}){super(`\`maxFeePerGas\` cannot be less than the \`maxPriorityFeePerGas\` (${(0,r.o)(e)} gwei).`,{name:"MaxFeePerGasTooLowError"})}}},10042:function(e,t,n){"use strict";n.d(t,{Gg:function(){return a},W5:function(){return c},bs:function(){return s}});var r=n(49476),o=n(86708),i=n(6255);class a extends o.G{constructor({body:e,cause:t,details:n,headers:o,status:a,url:s}){super("HTTP request failed.",{cause:t,details:n,metaMessages:[a&&`Status: ${a}`,`URL: ${(0,i.G)(s)}`,e&&`Request body: ${(0,r.P)(e)}`].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=e,this.headers=o,this.status=a,this.url=s}}class s extends o.G{constructor({body:e,error:t,url:n}){super("RPC Request failed.",{cause:t,details:t.message,metaMessages:[`URL: ${(0,i.G)(n)}`,`Request body: ${(0,r.P)(e)}`],name:"RpcRequestError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.code=t.code}}class c extends o.G{constructor({body:e,url:t}){super("The request took too long to respond.",{details:"The request timed out.",metaMessages:[`URL: ${(0,i.G)(t)}`,`Request body: ${(0,r.P)(e)}`],name:"TimeoutError"})}}},98094:function(e,t,n){"use strict";n.d(t,{B:function(){return c},GD:function(){return b},I0:function(){return C},KB:function(){return m},LX:function(){return u},Og:function(){return p},PE:function(){return A},Pv:function(){return y},Ts:function(){return v},XS:function(){return d},ab:function(){return g},gS:function(){return w},ir:function(){return B},nY:function(){return l},pT:function(){return h},s7:function(){return s},u5:function(){return E},x3:function(){return x},yR:function(){return f}});var r=n(86708),o=n(10042);class i extends r.G{constructor(e,{code:t,docsPath:n,metaMessages:r,name:i,shortMessage:a}){super(a,{cause:e,docsPath:n,metaMessages:r||e?.metaMessages,name:i||"RpcError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name=i||e.name,this.code=e instanceof o.bs?e.code:t??-1}}class a extends i{constructor(e,t){super(e,t),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=t.data}}class s extends i{constructor(e){super(e,{code:s.code,name:"ParseRpcError",shortMessage:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."})}}Object.defineProperty(s,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32700});class c extends i{constructor(e){super(e,{code:c.code,name:"InvalidRequestRpcError",shortMessage:"JSON is not a valid request object."})}}Object.defineProperty(c,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32600});class u extends i{constructor(e,{method:t}={}){super(e,{code:u.code,name:"MethodNotFoundRpcError",shortMessage:`The method${t?` "${t}"`:""} does not exist / is not available.`})}}Object.defineProperty(u,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32601});class l extends i{constructor(e){super(e,{code:l.code,name:"InvalidParamsRpcError",shortMessage:"Invalid parameters were provided to the RPC method.\nDouble check you have provided the correct parameters."})}}Object.defineProperty(l,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32602});class d extends i{constructor(e){super(e,{code:d.code,name:"InternalRpcError",shortMessage:"An internal error was received."})}}Object.defineProperty(d,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32603});class f extends i{constructor(e){super(e,{code:f.code,name:"InvalidInputRpcError",shortMessage:"Missing or invalid parameters.\nDouble check you have provided the correct parameters."})}}Object.defineProperty(f,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32e3});class p extends i{constructor(e){super(e,{code:p.code,name:"ResourceNotFoundRpcError",shortMessage:"Requested resource not found."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ResourceNotFoundRpcError"})}}Object.defineProperty(p,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32001});class h extends i{constructor(e){super(e,{code:h.code,name:"ResourceUnavailableRpcError",shortMessage:"Requested resource not available."})}}Object.defineProperty(h,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32002});class m extends i{constructor(e){super(e,{code:m.code,name:"TransactionRejectedRpcError",shortMessage:"Transaction creation failed."})}}Object.defineProperty(m,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32003});class w extends i{constructor(e,{method:t}={}){super(e,{code:w.code,name:"MethodNotSupportedRpcError",shortMessage:`Method${t?` "${t}"`:""} is not implemented.`})}}Object.defineProperty(w,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32004});class y extends i{constructor(e){super(e,{code:y.code,name:"LimitExceededRpcError",shortMessage:"Request exceeds defined limit."})}}Object.defineProperty(y,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32005});class b extends i{constructor(e){super(e,{code:b.code,name:"JsonRpcVersionUnsupportedError",shortMessage:"Version of JSON-RPC protocol is not supported."})}}Object.defineProperty(b,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32006});class g extends a{constructor(e){super(e,{code:g.code,name:"UserRejectedRequestError",shortMessage:"User rejected the request."})}}Object.defineProperty(g,"code",{enumerable:!0,configurable:!0,writable:!0,value:4001});class A extends a{constructor(e){super(e,{code:A.code,name:"UnauthorizedProviderError",shortMessage:"The requested method and/or account has not been authorized by the user."})}}Object.defineProperty(A,"code",{enumerable:!0,configurable:!0,writable:!0,value:4100});class v extends a{constructor(e,{method:t}={}){super(e,{code:v.code,name:"UnsupportedProviderMethodError",shortMessage:`The Provider does not support the requested method${t?` " ${t}"`:""}.`})}}Object.defineProperty(v,"code",{enumerable:!0,configurable:!0,writable:!0,value:4200});class E extends a{constructor(e){super(e,{code:E.code,name:"ProviderDisconnectedError",shortMessage:"The Provider is disconnected from all chains."})}}Object.defineProperty(E,"code",{enumerable:!0,configurable:!0,writable:!0,value:4900});class C extends a{constructor(e){super(e,{code:C.code,name:"ChainDisconnectedError",shortMessage:"The Provider is not connected to the requested chain."})}}Object.defineProperty(C,"code",{enumerable:!0,configurable:!0,writable:!0,value:4901});class x extends a{constructor(e){super(e,{code:x.code,name:"SwitchChainError",shortMessage:"An error occurred when attempting to switch chain."})}}Object.defineProperty(x,"code",{enumerable:!0,configurable:!0,writable:!0,value:4902});class B extends i{constructor(e){super(e,{name:"UnknownRpcError",shortMessage:"An unknown RPC error occurred."})}}},82925:function(e,t,n){"use strict";n.d(t,{Bj:function(){return s},Nc:function(){return o},Z8:function(){return i}});var r=n(86708);class o extends r.G{constructor({address:e}){super(`State for account "${e}" is set multiple times.`,{name:"AccountStateConflictError"})}}class i extends r.G{constructor(){super("state and stateDiff are set on the same account.",{name:"StateAssignmentConflictError"})}}function a(e){return e.reduce((e,{slot:t,value:n})=>`${e} ${t}: ${n}
20
20
  `,"")}function s(e){return e.reduce((e,{address:t,...n})=>{let r=`${e} ${t}:
21
21
  `;return n.nonce&&(r+=` nonce: ${n.nonce}
22
22
  `),n.balance&&(r+=` balance: ${n.balance}
23
23
  `),n.code&&(r+=` code: ${n.code}
24
- `),n.state&&(r+=" state:\n"+a(n.state)),n.stateDiff&&(r+=" stateDiff:\n"+a(n.stateDiff)),r}," State Override:\n").slice(0,-1)}},6255:function(e,t,n){"use strict";n.d(t,{C:function(){return r},G:function(){return o}});let r=e=>e,o=e=>e},56114:function(e,t,n){"use strict";n.d(t,{t:function(){return c}});var r=n(79022),o=n(8681),i=n(72417),a=n(22123),s=n(56026);function c(e){let{chainId:t,contractAddress:n,nonce:c,to:u}=e,l=(0,s.w)((0,r.SM)(["0x05",(0,a.LV)([(0,i.eC)(t),n,c?(0,i.eC)(c):"0x"])]));return"bytes"===u?(0,o.nr)(l):l}},10716:function(e,t,n){"use strict";n.d(t,{z:function(){return i}});var r=n(31678),o=n(56114);async function i(e){let{authorization:t,signature:n}=e;return(0,r.R)({hash:(0,o.t)(t),signature:n??t})}},24240:function(e,t,n){"use strict";n.d(t,{r:function(){return w}});var r=n(16096),o=n(46812),i=n(76113),a=n(80002),s=n(41690),c=n(6435),u=n(78326),l=n(58435),d=n(72417);function f(e,t={}){void 0!==t.size&&(0,l.Yf)(e,{size:t.size});let n=(0,d.ci)(e,t);return(0,l.ly)(n,t)}var p=n(8681),h=n(25756);function w(e,t){let n="string"==typeof t?(0,p.nr)(t):t,w=(0,i.q)(n);if(0===(0,a.d)(n)&&e.length>0)throw new r.wb;if((0,a.d)(t)&&32>(0,a.d)(t))throw new r.xB({data:"string"==typeof t?t:(0,d.ci)(t),params:e,size:(0,a.d)(t)});let g=0,b=[];for(let t=0;t<e.length;++t){let n=e[t];w.setPosition(g);let[i,a]=function e(t,n,{staticPosition:i}){let a=(0,h.S)(n.type);if(a){let[r,o]=a;return function(t,n,{length:r,staticPosition:o}){if(!r){let r=o+f(t.readBytes(32)),i=r+32;t.setPosition(r);let a=f(t.readBytes(32)),s=m(n),c=0,u=[];for(let r=0;r<a;++r){t.setPosition(i+(s?32*r:c));let[o,a]=e(t,n,{staticPosition:i});c+=a,u.push(o)}return t.setPosition(o+32),[u,32]}if(m(n)){let i=o+f(t.readBytes(32)),a=[];for(let o=0;o<r;++o){t.setPosition(i+32*o);let[r]=e(t,n,{staticPosition:i});a.push(r)}return t.setPosition(o+32),[a,32]}let i=0,a=[];for(let s=0;s<r;++s){let[r,s]=e(t,n,{staticPosition:o+i});i+=s,a.push(r)}return[a,i]}(t,{...n,type:o},{length:r,staticPosition:i})}if("tuple"===n.type)return function(t,n,{staticPosition:r}){let o=0===n.components.length||n.components.some(({name:e})=>!e),i=o?[]:{},a=0;if(m(n)){let s=r+f(t.readBytes(32));for(let r=0;r<n.components.length;++r){let c=n.components[r];t.setPosition(s+a);let[u,l]=e(t,c,{staticPosition:s});a+=l,i[o?r:c?.name]=u}return t.setPosition(r+32),[i,32]}for(let s=0;s<n.components.length;++s){let c=n.components[s],[u,l]=e(t,c,{staticPosition:r});i[o?s:c?.name]=u,a+=l}return[i,a]}(t,n,{staticPosition:i});if("address"===n.type)return function(e){let t=e.readBytes(32);return[(0,o.x)((0,d.ci)((0,s.T4)(t,-20))),32]}(t);if("bool"===n.type)return[function(e,t={}){let n=e;if(void 0!==t.size&&((0,l.Yf)(n,{size:t.size}),n=(0,c.f)(n)),n.length>1||n[0]>1)throw new u.yr(n);return!!n[0]}(t.readBytes(32),{size:32}),32];if(n.type.startsWith("bytes"))return function(e,t,{staticPosition:n}){let[r,o]=t.type.split("bytes");if(!o){let t=f(e.readBytes(32));e.setPosition(n+t);let r=f(e.readBytes(32));if(0===r)return e.setPosition(n+32),["0x",32];let o=e.readBytes(r);return e.setPosition(n+32),[(0,d.ci)(o),32]}return[(0,d.ci)(e.readBytes(Number.parseInt(o),32)),32]}(t,n,{staticPosition:i});if(n.type.startsWith("uint")||n.type.startsWith("int"))return function(e,t){let n=t.type.startsWith("int"),r=Number.parseInt(t.type.split("int")[1]||"256"),o=e.readBytes(32);return[r>48?function(e,t={}){void 0!==t.size&&(0,l.Yf)(e,{size:t.size});let n=(0,d.ci)(e,t);return(0,l.y_)(n,t)}(o,{signed:n}):f(o,{signed:n}),32]}(t,n);if("string"===n.type)return function(e,{staticPosition:t}){let n=f(e.readBytes(32));e.setPosition(t+n);let r=f(e.readBytes(32));if(0===r)return e.setPosition(t+32),["",32];let o=e.readBytes(r,32),i=function(e,t={}){let n=e;return void 0!==t.size&&((0,l.Yf)(n,{size:t.size}),n=(0,c.f)(n,{dir:"right"})),new TextDecoder().decode(n)}((0,c.f)(o));return e.setPosition(t+32),[i,32]}(t,{staticPosition:i});throw new r.CI(n.type,{docsPath:"/docs/contract/decodeAbiParameters"})}(w,n,{staticPosition:0});g+=a,b.push(i)}return b}function m(e){let{type:t}=e;if("string"===t||"bytes"===t||t.endsWith("[]"))return!0;if("tuple"===t)return e.components?.some(m);let n=(0,h.S)(e.type);return!!(n&&m({...e,type:n[1]}))}},59867:function(e,t,n){"use strict";n.d(t,{p:function(){return u}});var r=n(38136),o=n(16096),i=n(41690),a=n(83258),s=n(24240),c=n(43067);function u(e){let{abi:t,data:n}=e,u=(0,i.tP)(n,0,4);if("0x"===u)throw new o.wb;let l=[...t||[],r.Up,r.hZ].find(e=>"error"===e.type&&u===(0,a.C)((0,c.t)(e)));if(!l)throw new o.yP(u,{docsPath:"/docs/contract/decodeErrorResult"});return{abiItem:l,args:"inputs"in l&&l.inputs&&l.inputs.length>0?(0,s.r)(l.inputs,(0,i.tP)(n,4)):void 0,errorName:l.name}}},99278:function(e,t,n){"use strict";n.d(t,{F:function(){return l}});var r=n(16096),o=n(80002),i=n(15672),a=n(57243),s=n(24240),c=n(43067);let u="/docs/contract/decodeEventLog";function l(e){let{abi:t,data:n,strict:l,topics:d}=e,f=l??!0,[p,...h]=d;if(!p)throw new r.FM({docsPath:u});let w=1===t.length?t[0]:t.find(e=>"event"===e.type&&p===(0,i.n)((0,c.t)(e)));if(!(w&&"name"in w)||"event"!==w.type)throw new r.lC(p,{docsPath:u});let{name:m,inputs:g}=w,b=g?.some(e=>!("name"in e&&e.name)),y=b?[]:{},A=g.filter(e=>"indexed"in e&&e.indexed);for(let e=0;e<A.length;e++){let t=A[e],n=h[e];if(!n)throw new r.Gy({abiItem:w,param:t});y[b?e:t.name||e]=function({param:e,value:t}){return"string"===e.type||"bytes"===e.type||"tuple"===e.type||e.type.match(/^(.*)\[(\d+)?\]$/)?t:((0,s.r)([e],t)||[])[0]}({param:t,value:n})}let v=g.filter(e=>!("indexed"in e&&e.indexed));if(v.length>0){if(n&&"0x"!==n)try{let e=(0,s.r)(v,n);if(e){if(b)y=[...y,...e];else for(let t=0;t<v.length;t++)y[v[t].name]=e[t]}}catch(e){if(f){if(e instanceof r.xB||e instanceof a.lQ)throw new r.SM({abiItem:w,data:n,params:v,size:(0,o.d)(n)});throw e}}else if(f)throw new r.SM({abiItem:w,data:"0x",params:v,size:0})}return{eventName:m,args:Object.values(y).length>0?y:void 0}}},22587:function(e,t,n){"use strict";n.d(t,{k:function(){return s}});var r=n(16096),o=n(24240),i=n(67278);let a="/docs/contract/decodeFunctionResult";function s(e){let{abi:t,args:n,functionName:s,data:c}=e,u=t[0];if(s){let e=(0,i.mE)({abi:t,args:n,name:s});if(!e)throw new r.xL(s,{docsPath:a});u=e}if("function"!==u.type)throw new r.xL(void 0,{docsPath:a});if(!u.outputs)throw new r.MX(u.name,{docsPath:a});let l=(0,o.r)(u.outputs,c);return l&&l.length>1?l:l&&1===l.length?l[0]:void 0}},25756:function(e,t,n){"use strict";n.d(t,{E:function(){return f},S:function(){return h}});var r=n(16096),o=n(67832),i=n(86708),a=n(15254),s=n(79022),c=n(14623),u=n(80002),l=n(41690),d=n(72417);function f(e,t){if(e.length!==t.length)throw new r.fs({expectedLength:e.length,givenLength:t.length});let n=p(function({params:e,values:t}){let n=[];for(let f=0;f<e.length;f++)n.push(function e({param:t,value:n}){let f=h(t.type);if(f){let[o,i]=f;return function(t,{length:n,param:o}){let i=null===n;if(!Array.isArray(t))throw new r.hn(t);if(!i&&t.length!==n)throw new r.gr({expectedLength:n,givenLength:t.length,type:`${o.type}[${n}]`});let a=!1,c=[];for(let n=0;n<t.length;n++){let r=e({param:o,value:t[n]});r.dynamic&&(a=!0),c.push(r)}if(i||a){let e=p(c);if(i){let t=(0,d.eC)(c.length,{size:32});return{dynamic:!0,encoded:c.length>0?(0,s.zo)([t,e]):t}}if(a)return{dynamic:!0,encoded:e}}return{dynamic:!1,encoded:(0,s.zo)(c.map(({encoded:e})=>e))}}(n,{length:o,param:{...t,type:i}})}if("tuple"===t.type)return function(t,{param:n}){let r=!1,o=[];for(let i=0;i<n.components.length;i++){let a=n.components[i],s=Array.isArray(t)?i:a.name,c=e({param:a,value:t[s]});o.push(c),c.dynamic&&(r=!0)}return{dynamic:r,encoded:r?p(o):(0,s.zo)(o.map(({encoded:e})=>e))}}(n,{param:t});if("address"===t.type)return function(e){if(!(0,a.U)(e))throw new o.b({address:e});return{dynamic:!1,encoded:(0,c.gc)(e.toLowerCase())}}(n);if("bool"===t.type)return function(e){if("boolean"!=typeof e)throw new i.G(`Invalid boolean value: "${e}" (type: ${typeof e}). Expected: \`true\` or \`false\`.`);return{dynamic:!1,encoded:(0,c.gc)((0,d.C4)(e))}}(n);if(t.type.startsWith("uint")||t.type.startsWith("int"))return function(e,{signed:t}){return{dynamic:!1,encoded:(0,d.eC)(e,{size:32,signed:t})}}(n,{signed:t.type.startsWith("int")});if(t.type.startsWith("bytes"))return function(e,{param:t}){let[,n]=t.type.split("bytes"),o=(0,u.d)(e);if(!n){let t=e;return o%32!=0&&(t=(0,c.gc)(t,{dir:"right",size:32*Math.ceil((e.length-2)/2/32)})),{dynamic:!0,encoded:(0,s.zo)([(0,c.gc)((0,d.eC)(o,{size:32})),t])}}if(o!==Number.parseInt(n))throw new r.M4({expectedSize:Number.parseInt(n),value:e});return{dynamic:!1,encoded:(0,c.gc)(e,{dir:"right"})}}(n,{param:t});if("string"===t.type)return function(e){let t=(0,d.$G)(e),n=Math.ceil((0,u.d)(t)/32),r=[];for(let e=0;e<n;e++)r.push((0,c.gc)((0,l.tP)(t,32*e,(e+1)*32),{dir:"right"}));return{dynamic:!0,encoded:(0,s.zo)([(0,c.gc)((0,d.eC)((0,u.d)(t),{size:32})),...r])}}(n);throw new r.dh(t.type,{docsPath:"/docs/contract/encodeAbiParameters"})}({param:e[f],value:t[f]}));return n}({params:e,values:t}));return 0===n.length?"0x":n}function p(e){let t=0;for(let n=0;n<e.length;n++){let{dynamic:r,encoded:o}=e[n];r?t+=32:t+=(0,u.d)(o)}let n=[],r=[],o=0;for(let i=0;i<e.length;i++){let{dynamic:a,encoded:s}=e[i];a?(n.push((0,d.eC)(t+o,{size:32})),r.push(s),o+=(0,u.d)(s)):n.push(s)}return(0,s.zo)([...n,...r])}function h(e){let t=e.match(/^(.*)\[(\d+)?\]$/);return t?[t[2]?Number(t[2]):null,t[1]]:void 0}},17146:function(e,t,n){"use strict";n.d(t,{w:function(){return s}});var r=n(16096),o=n(79022),i=n(25756);let a="/docs/contract/encodeDeployData";function s(e){let{abi:t,args:n,bytecode:s}=e;if(!n||0===n.length)return s;let c=t.find(e=>"type"in e&&"constructor"===e.type);if(!c)throw new r.fM({docsPath:a});if(!("inputs"in c)||!c.inputs||0===c.inputs.length)throw new r.cO({docsPath:a});let u=(0,i.E)(c.inputs,n);return(0,o.SM)([s,u])}},82544:function(e,t,n){"use strict";n.d(t,{R:function(){return l}});var r=n(79022),o=n(25756),i=n(16096),a=n(83258),s=n(43067),c=n(67278);let u="/docs/contract/encodeFunctionData";function l(e){let{args:t}=e,{abi:n,functionName:l}=1===e.abi.length&&e.functionName?.startsWith("0x")?e:function(e){let{abi:t,args:n,functionName:r}=e,o=t[0];if(r){let e=(0,c.mE)({abi:t,args:n,name:r});if(!e)throw new i.xL(r,{docsPath:u});o=e}if("function"!==o.type)throw new i.xL(void 0,{docsPath:u});return{abi:[o],functionName:(0,a.C)((0,s.t)(o))}}(e),d=n[0],f="inputs"in d&&d.inputs?(0,o.E)(d.inputs,t??[]):void 0;return(0,r.SM)([l,f??"0x"])}},43067:function(e,t,n){"use strict";n.d(t,{h:function(){return i},t:function(){return o}});var r=n(16096);function o(e,{includeName:t=!1}={}){if("function"!==e.type&&"event"!==e.type&&"error"!==e.type)throw new r.wM(e.type);return`${e.name}(${i(e.inputs,{includeName:t})})`}function i(e,{includeName:t=!1}={}){return e?e.map(e=>(function(e,{includeName:t}){return e.type.startsWith("tuple")?`(${i(e.components,{includeName:t})})${e.type.slice(5)}`:e.type+(t&&e.name?` ${e.name}`:"")})(e,{includeName:t})).join(t?", ":","):""}},67278:function(e,t,n){"use strict";n.d(t,{mE:function(){return c}});var r=n(16096),o=n(25006),i=n(15254),a=n(15672),s=n(83258);function c(e){let t;let{abi:n,args:c=[],name:u}=e,l=(0,o.v)(u,{strict:!1}),d=n.filter(e=>l?"function"===e.type?(0,s.C)(e)===u:"event"===e.type&&(0,a.n)(e)===u:"name"in e&&e.name===u);if(0!==d.length){if(1===d.length)return d[0];for(let e of d)if("inputs"in e){if(!c||0===c.length){if(!e.inputs||0===e.inputs.length)return e;continue}if(e.inputs&&0!==e.inputs.length&&e.inputs.length===c.length&&c.every((t,n)=>{let r="inputs"in e&&e.inputs[n];return!!r&&function e(t,n){let r=typeof t,o=n.type;switch(o){case"address":return(0,i.U)(t,{strict:!1});case"bool":return"boolean"===r;case"function":case"string":return"string"===r;default:if("tuple"===o&&"components"in n)return Object.values(n.components).every((n,r)=>e(Object.values(t)[r],n));if(/^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(o))return"number"===r||"bigint"===r;if(/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/.test(o))return"string"===r||t instanceof Uint8Array;if(/[a-z]+[1-9]{0,3}(\[[0-9]{0,}\])+$/.test(o))return Array.isArray(t)&&t.every(t=>e(t,{...n,type:o.replace(/(\[[0-9]{0,}\])$/,"")}));return!1}}(t,r)})){if(t&&"inputs"in t&&t.inputs){let n=function e(t,n,r){for(let o in t){let a=t[o],s=n[o];if("tuple"===a.type&&"tuple"===s.type&&"components"in a&&"components"in s)return e(a.components,s.components,r[o]);let c=[a.type,s.type];if(c.includes("address")&&c.includes("bytes20")||(c.includes("address")&&c.includes("string")||c.includes("address")&&c.includes("bytes"))&&(0,i.U)(r[o],{strict:!1}))return c}}(e.inputs,t.inputs,c);if(n)throw new r.S4({abiItem:e,type:n[0]},{abiItem:t,type:n[1]})}t=e}}return t||d[0]}}},68943:function(e,t,n){"use strict";n.d(t,{h:function(){return u}});var r=n(16096),o=n(92130),i=n(8681),a=n(56026),s=n(15672),c=n(99278);function u(e){let{abi:t,args:n,logs:u,strict:l=!0}=e,d=(()=>{if(e.eventName)return Array.isArray(e.eventName)?e.eventName:[e.eventName]})();return u.map(e=>{try{let r=t.find(t=>"event"===t.type&&e.topics[0]===(0,s.n)(t));if(!r)return null;let u=(0,c.F)({...e,abi:[r],strict:l});if(d&&!d.includes(u.eventName)||!function(e){let{args:t,inputs:n,matchArgs:r}=e;if(!r)return!0;if(!t)return!1;function s(e,t,n){try{if("address"===e.type)return(0,o.E)(t,n);if("string"===e.type||"bytes"===e.type)return(0,a.w)((0,i.O0)(t))===n;return t===n}catch{return!1}}return Array.isArray(t)&&Array.isArray(r)?r.every((e,r)=>{if(null==e)return!0;let o=n[r];return!!o&&(Array.isArray(e)?e:[e]).some(e=>s(o,e,t[r]))}):!("object"!=typeof t||Array.isArray(t)||"object"!=typeof r||Array.isArray(r))&&Object.entries(r).every(([e,r])=>{if(null==r)return!0;let o=n.find(t=>t.name===e);return!!o&&(Array.isArray(r)?r:[r]).some(n=>s(o,n,t[e]))})}({args:u.args,inputs:r.inputs,matchArgs:n}))return null;return{...u,...e}}catch(o){let t,n;if(o instanceof r.lC)return null;if(o instanceof r.SM||o instanceof r.Gy){if(l)return null;t=o.abiItem.name,n=o.abiItem.inputs?.some(e=>!("name"in e&&e.name))}return{...e,args:n?[]:{},eventName:t}}}).filter(Boolean)}},92130:function(e,t,n){"use strict";n.d(t,{E:function(){return i}});var r=n(67832),o=n(15254);function i(e,t){if(!(0,o.U)(e,{strict:!1}))throw new r.b({address:e});if(!(0,o.U)(t,{strict:!1}))throw new r.b({address:t});return e.toLowerCase()===t.toLowerCase()}},63672:function(e,t,n){"use strict";n.d(t,{L:function(){return o}});var r=n(14366);function o({blockNumber:e,chain:t,contract:n}){let o=t?.contracts?.[n];if(!o)throw new r.mm({chain:t,contract:{name:n}});if(e&&o.blockCreated&&o.blockCreated>e)throw new r.mm({blockNumber:e,chain:t,contract:{name:n,blockCreated:o.blockCreated}});return o.address}},59681:function(e,t,n){"use strict";n.d(t,{i:function(){return o}});var r=n(25006);function o(e){if(66!==e.length||0!==e.indexOf("[")||65!==e.indexOf("]"))return null;let t=`0x${e.slice(1,65)}`;return(0,r.v)(t)?t:null}},37988:function(e,t,n){"use strict";n.d(t,{c:function(){return a}});var r=n(38136),o=n(86708),i=n(20840);function a(e,t){if(!(e instanceof o.G))return!1;let n=e.walk(e=>e instanceof i.Lu);return n instanceof i.Lu&&(!!(n.data?.errorName==="ResolverNotFound"||n.data?.errorName==="ResolverWildcardNotSupported"||n.data?.errorName==="ResolverNotContract"||n.data?.errorName==="ResolverError"||n.data?.errorName==="HttpError"||n.reason?.includes("Wildcard on non-extended resolvers is not supported"))||"reverse"===t&&n.reason===r.$[50])}},13722:function(e,t,n){"use strict";n.d(t,{V:function(){return c}});var r=n(79022),o=n(8681),i=n(72417),a=n(56026),s=n(59681);function c(e){let t=new Uint8Array(32).fill(0);if(!e)return(0,i.ci)(t);let n=e.split(".");for(let e=n.length-1;e>=0;e-=1){let i=(0,s.i)(n[e]),c=i?(0,o.O0)(i):(0,a.w)((0,o.qX)(n[e]),"bytes");t=(0,a.w)((0,r.zo)([t,c]),"bytes")}return(0,i.ci)(t)}},48741:function(e,t,n){"use strict";let r,o,i,a,s,c,u,l,d,f,p,h,w,m,g;n.d(t,{F:function(){return H}});let b=new Map([[8217,"apostrophe"],[8260,"fraction slash"],[12539,"middle dot"]]);function y(e){var t;let n;return t=function(e){let t=0;function n(){return e[t++]<<8|e[t++]}let r=n(),o=1,i=[0,1];for(let e=1;e<r;e++)i.push(o+=n());let a=n(),s=t;t+=a;let c=0,u=0;function l(){return 0==c&&(u=u<<8|e[t++],c=8),u>>--c&1}let d=2147483648-1,f=0;for(let e=0;e<31;e++)f=f<<1|l();let p=[],h=0,w=2147483648;for(;;){let e=Math.floor(((f-h+1)*o-1)/w),t=0,n=r;for(;n-t>1;){let r=t+n>>>1;e<i[r]?n=r:t=r}if(0==t)break;p.push(t);let a=h+Math.floor(w*i[t]/o),s=h+Math.floor(w*i[t+1]/o)-1;for(;((a^s)&1073741824)==0;)f=f<<1&d|l(),a=a<<1&d,s=s<<1&d|1;for(;a&~s&536870912;)f=1073741824&f|f<<1&d>>>1|l(),a=a<<1^1073741824,s=(1073741824^s)<<1|1073741825;h=a,w=1+s-a}let m=r-4;return p.map(t=>{switch(t-m){case 3:return m+65792+(e[s++]<<16|e[s++]<<8|e[s++]);case 2:return m+256+(e[s++]<<8|e[s++]);case 1:return m+e[s++];default:return t-1}})}(function(e){let t=[];[..."ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"].forEach((e,n)=>t[e.charCodeAt(0)]=n);let n=e.length,r=new Uint8Array(6*n>>3);for(let o=0,i=0,a=0,s=0;o<n;o++)s=s<<6|t[e.charCodeAt(o)],(a+=6)>=8&&(r[i++]=s>>(a-=8));return r}(e)),n=0,()=>t[n++]}function A(e,t=0){let n=[];for(;;){let r=e(),o=e();if(!o)break;t+=r;for(let e=0;e<o;e++)n.push(t+e);t+=o+1}return n}function v(e){return E(()=>{let t=A(e);if(t.length)return t})}function C(e){let t=[];for(;;){let n=e();if(0==n)break;t.push(function(e,t){let n=1+t(),r=t(),o=E(t);return x(o.length,1+e,t).flatMap((e,t)=>{let[i,...a]=e;return Array(o[t]).fill().map((e,t)=>{let o=t*r;return[i+t*n,a.map(e=>e+o)]})})}(n,e))}for(;;){let n=e()-1;if(n<0)break;t.push(x(1+e(),1+n,e).map(e=>[e[0],e.slice(1)]))}return t.flat()}function E(e){let t=[];for(;;){let n=e(t.length);if(!n)break;t.push(n)}return t}function x(e,t,n){let r=Array(e).fill().map(()=>[]);for(let o=0;o<t;o++)(function(e,t){let n=Array(e);for(let o=0,i=0;o<e;o++){var r;n[o]=i+=1&(r=t())?~r>>1:r>>1}return n})(e,n).forEach((e,t)=>r[t].push(e));return r}function B(e){return`{${e.toString(16).toUpperCase().padStart(2,"0")}}`}function k(e){let t=e.length;if(t<4096)return String.fromCodePoint(...e);let n=[];for(let r=0;r<t;)n.push(String.fromCodePoint(...e.slice(r,r+=4096)));return n.join("")}function I(e,t){let n=e.length,r=n-t.length;for(let o=0;0==r&&o<n;o++)r=e[o]-t[o];return r}function P(e){return e>>24&255}function N(e){return 16777215&e}function F(e){return e>=44032&&e<55204}function R(e){r||function(){let e=y("AEUDVgHLCGMATwDUADIAdAAhADQAFAAtABQAIQAPACcADQASAAoAGAAJABIACQARAAUACwAFAAwABQAQAAMABwAEAAoABQAJAAIACgABAAQAFAALAAIACwABAAIAAQAHAAMAAwAEAAsADAAMAAwACwANAA0AAwAKAAkABAAdAAYAZwDTAeYDMwCxCl8B8xhZAqfoC190UGcThgBurwf7PT09Pb09AjgJum8OjDllxHYUKXAPxzq6tABAxgK8ysUvWAgMPT09PT09PSs6LT2HcgWXWwFLoSMEEEl5RFVMKvO0XQ8ExDdJMnIgPi89uj00MsvBXxEPAGPCDwBnQKoEbwRwBHEEcgRzBHQEdQR2BHcEeAR6BHsEfAR+BIAEgfndBQoBYgULAWIFDAFiBNcE2ATZBRAFEQUvBdALFAsVDPcNBw13DYcOMA4xDjMB4BllHI0B2grbAMDpHLkQ7QHVAPRNQQFnGRUEg0yEB2uaJF8AJpIBpob5AERSMAKNoAXqaQLUBMCzEiC+AZ4EWRJJFbEu7QDQLARtEbgECxDwAb/RyAk1AV4nD2cEQQKTAzsAGpobWgAahAGPCrysdy0OAKwAfFIcBAQFUmoA/PtZADkBIadVj2UMUgx5Il4ANQC9vAITAdQZWxDzALN9AhsZVwIcGSkCBAgXOhG7AqMZ4M7+1M0UAPDNAWsC+mcJDe8AAQA99zkEX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EHua4/kPg2Gp/IIItsaLWBqiT9XH45MiQxSosGJ56H/0F2cjcCFd72l1665RNHURdC3lspI77esfJsl+rXXabkAy7vxDXG/XGGcKpwiKDPFfvMEgjkAHil4Za1F36RnyxxvdIAzvgfH8knukYDck07tc++DP4TdWeI7HXuq5Yl6VVFrUQtf64/dkXewlKZSHQo6YvCSpREB0GDrz+Ys2GfO8nw2SwrYwaf88AifzlPvP17bf1mI3AuccJvAjZIpBmqvharKFAebEjVKfGAwpQjWoXlm9LROsq9bCk1UeQ3CJxJqprzssS/Q04JeS1ReCCubL3J7sx86spkP4eNpp95UF+8K748icIs8vdILFklk9skQqi1So6cx3X906pvy1vz+KipTJ8fiVJxsV5MmT0XwA");for(let[t,n]of(r=new Map(v(e).flatMap((e,t)=>e.map(e=>[e,t+1<<24]))),o=new Set(A(e)),i=new Map,a=new Map,C(e))){if(!o.has(t)&&2==n.length){let[e,r]=n,o=a.get(e);o||(o=new Map,a.set(e,o)),o.set(r,t)}i.set(t,n.reverse())}}();let t=[],n=[],s=!1;function c(e){let n=r.get(e);n&&(s=!0,e|=n),t.push(e)}for(let r of e)for(;;){if(r<128)t.push(r);else if(F(r)){let e=r-44032,t=e/588|0,n=e%588/28|0,o=e%28;c(4352+t),c(4449+n),o>0&&c(4519+o)}else{let e=i.get(r);e?n.push(...e):c(r)}if(!n.length)break;r=n.pop()}if(s&&t.length>1){let e=P(t[0]);for(let n=1;n<t.length;n++){let r=P(t[n]);if(0==r||e<=r){e=r;continue}let o=n-1;for(;;){let n=t[o+1];if(t[o+1]=t[o],t[o]=n,!o||(e=P(t[--o]))<=r)break}e=P(t[n])}}return t}function M(e){return function(e){let t=[],n=[],r=-1,o=0;for(let i of e){let e=P(i),s=N(i);if(-1==r)0==e?r=s:t.push(s);else if(o>0&&o>=e)0==e?(t.push(r,...n),n.length=0,r=s):n.push(s),o=e;else{let i=function(e,t){if(e>=4352&&e<4371&&t>=4449&&t<4470)return 44032+(e-4352)*588+(t-4449)*28;if(F(e)&&t>4519&&t<4547&&(e-44032)%28==0)return e+(t-4519);{let n=a.get(e);return n&&(n=n.get(t))?n:-1}}(r,s);i>=0?r=i:0==o&&0==e?(t.push(r),r=s):(n.push(s),o=e)}}return r>=0&&t.push(r,...n),t}(R(e))}let S=e=>Array.from(e);function T(e,t){return e.P.has(t)||e.Q.has(t)}class O extends Array{get is_emoji(){return!0}}function D(){let e,t;if(s)return;let n=y("AEkU4AngDVgB0QKRAQYBOwDqATEAnwDbAIUApABsAOAAbwCRAEYAiQBPAHYAPgA+ACsANwAlAGMAHwAvACsAJQAWAC8AGwAiACIALwAUACsAEQAiAAsAGwARABcAGAA6ACkALAAsADUAFgAsABEAHQAhAA8AGwAdABUAFgAZAA0ADQAXABAAGQAUABIEqgYJAR4UFjfDBdMAsQCuPwFnAKUBA10jAK5/Ly8vLwE/pwUJ6/0HPwbkMQVXBVgAPSs5APa2EQbIwQuUCkEDyJ4zAsUKLwKOoQKG2D+Ob4kCxcsCg/IBH98JAPKtAUECLY0KP48A4wDiChUAF9S5yAwLPZ0EG3cA/QI5GL0P6wkGKekFBIFnDRsHLQCrAGmR76WcfwBbBpMjBukAGwA7DJMAWxVbqfu75wzbIM8IuykDsRQ7APcta6MAoX0YABcEJdcWAR0AuRnNBPoJIEw3CZcJiB4bVllM44NCABMADAAVAA5rVAAhAA4AR+4V2D3zOVjKleYuChAdX01YPewAEwAMABUADmsgXECXAMPrABsAOQzFABsVW6n7Adq4HB0FWwXiAtCfAsSwCkwcpGUUcxptTPUAuw1nAuEACy00iRfJkQKBewETGwC9DWcC4QALLQFIUCWRTAoDLfsFMgnXaRetAddDAEkrEncCMRYhAusnuTdrADnhAfUlAMcOy7UBG2OBALEFAAUAitNJBRvDHwcXAKgn0QGhKy0DmwBnAQoZPu03dAQYFwCqAccCIQDTKxJzOvNQsAWQOncnNUgF+icFWQVYr7gFaTtdQhI6WEGXe5NmX6H4CxMDxQcl8XcjBKNLAlNTAnUbqycBj6OlNVsDRRcEg2EJANEG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K3NuJ+NN/RAbQ5vHx2uX0Lm7/w7cAEH/hvZA+mt7J7zGw7YtQYwnNN6dpgwkGjjrS3yQoeoYt1EnczmtmJfQZWzUlP3Hlg9Wzlr9IH23q3thGth+QNEANFettxKfskkGOlLk8AqoKJwDqOxAa6UzAx07plSSyNBJSGco9zjnC5gGbDoKvsMDuBR6bGRlGzJ+hFsGa/Izt78aI+WZ6dJlZKp4pGISuv9rV0sAS0MWEwCmfauO7oQZMiakHU35LBxiyJoOMddhUWgcZuC8r4Ksvn75TTcQXLJ7kWtYhGuGqPd9dZuFjBWQHNwosXY5snbHFQq72CvHXhIg+shQxycuLOuWYErwCLZeF24b7F78pO7xw4X6lIAR02hUOf5087Rl0nOaeb6CK4i/KA/EZv76ftOWZtjwxslNr0E/u8rWUmnf3amfg6UZmBAluuoj3Dd7UV+9IAJ6iYcDfSJlgmIImohjfIUMJ27z+opj50Ak9af2LCNrWrBJvMovA1OeNO+MF/MwZvnaCxTgG7Cw4QfSPF6AYCGFt21M8PySZFeV3t2Rqqs5JMzMYzGRgq4o+UaKRgBf9GHi/9X9HXA3wxkCsd/UhnHSh2zUVDiraio/6nP4y3XJqs8ABfALAtCYU7DHPMPRjgcM6Ad/HiSXDAbOdSMkvGZPAkHs8wuQTy6X2Ov/JFvcPuKfV3/r9Q28"),r=()=>A(n),o=()=>new Set(r()),i=(e,t)=>t.forEach(t=>e.add(t));s=new Map(C(n)),c=o(),u=r(),l=new Set(r().map(e=>u[e])),u=new Set(u),d=o(),o();let a=v(n),b=n(),x=()=>{let e=new Set;return r().forEach(t=>i(e,a[t])),i(e,r()),e};f=E(e=>{let t=E(n).map(e=>e+96);if(t.length){let r=e>=b;return t[0]-=32,t=k(t),r&&(t=`Restricted[${t}]`),{N:t,P:x(),Q:x(),M:!n(),R:r}}}),p=o(),h=new Map;let B=r().concat(S(p)).sort((e,t)=>e-t);for(let{V:e,M:t}of(B.forEach((e,t)=>{let r=n(),o=B[t]=r?B[t-r]:{V:[],M:new Map};o.V.push(e),p.has(e)||h.set(e,o)}),new Set(h.values()))){let n=[];for(let t of e){let e=f.filter(e=>T(e,t)),r=n.find(({G:t})=>e.some(e=>t.has(e)));r||(r={G:new Set,V:[]},n.push(r)),r.V.push(t),i(r.G,e)}let r=n.flatMap(e=>S(e.G));for(let{G:e,V:o}of n){let n=new Set(r.filter(t=>!e.has(t)));for(let e of o)t.set(e,n)}}w=new Set;let P=new Set,F=e=>w.has(e)?P.add(e):w.add(e);for(let e of f){for(let t of e.P)F(t);for(let t of e.Q)F(t)}for(let e of w)h.has(e)||P.has(e)||h.set(e,1);for(let r of(i(w,R(w).map(N)),m=(e=[],t=A(n),function t({S:n,B:r},o,i){if(!(4&n)||i!==o[o.length-1])for(let a of(2&n&&(i=o[o.length-1]),1&n&&e.push(o),r))for(let e of a.Q)t(a,[...o,e],i)}(function e(r){return{S:n(),B:E(()=>{let r=A(n).map(e=>t[e]);if(r.length)return e(r)}),Q:r}}([]),[]),e).map(e=>O.from(e)).sort(I),g=new Map,m)){let e=[g];for(let t of r){let n=e.map(e=>{let n=e.get(t);return n||(n=new Map,e.set(t,n)),n});65039===t?e.push(...n):e=n}for(let t of e)t.V=r}}function L(e){return(U(e)?"":`${Q(q([e]))} `)+B(e)}function Q(e){return`"${e}"\u200E`}function q(e,t=1/0,n=B){var r;let o=[];r=e[0],D(),u.has(r)&&o.push("◌"),e.length>t&&(t>>=1,e=[...e.slice(0,t),8230,...e.slice(-t)]);let i=0,a=e.length;for(let t=0;t<a;t++){let r=e[t];U(r)&&(o.push(k(e.slice(i,t))),o.push(n(r)),i=t+1)}return o.push(k(e.slice(i,a))),o.join("")}function U(e){return D(),d.has(e)}function G(e){return Error(`disallowed character: ${L(e)}`)}function W(e,t){let n=L(t),r=f.find(e=>e.P.has(t));return r&&(n=`${r.N} ${n}`),Error(`illegal mixture: ${e.N} + ${n}`)}function z(e){return Error(`illegal placement: ${e}`)}function j(e){return e.filter(e=>65039!=e)}function H(e){var t;return(t=function(e,t,n){if(!e)return[];D();let r=0;return e.split(".").map(e=>{let o=function(e){let t=[];for(let n=0,r=e.length;n<r;){let r=e.codePointAt(n);n+=r<65536?1:2,t.push(r)}return t}(e),i={input:o,offset:r};r+=o.length+1;try{let e,r=i.tokens=function(e,t,n){let r=[],o=[];for(e=e.slice().reverse();e.length;){let i=function(e,t){let n,r=g,o=e.length;for(;o&&(r=r.get(e[--o]));){let{V:t}=r;t&&(n=t,e.length=o)}return n}(e);if(i)o.length&&(r.push(t(o)),o=[]),r.push(n(i));else{let t=e.pop();if(w.has(t))o.push(t);else{let e=s.get(t);if(e)o.push(...e);else if(!c.has(t))throw G(t)}}}return o.length&&r.push(t(o)),r}(o,t,n),a=r.length;if(!a)throw Error("empty label");let d=i.output=r.flat();if(!function(e){for(let t=e.lastIndexOf(95);t>0;)if(95!==e[--t])throw Error("underscore allowed only at start")}(d),!(i.emoji=a>1||r[0].is_emoji)&&d.every(e=>e<128))!function(e){if(e.length>=4&&45==e[2]&&45==e[3])throw Error(`invalid label extension: "${k(e.slice(0,4))}"`)}(d),e="ASCII";else{let t=r.flatMap(e=>e.is_emoji?[]:e);if(t.length){if(u.has(d[0]))throw z("leading combining mark");for(let e=1;e<a;e++){let t=r[e];if(!t.is_emoji&&u.has(t[0]))throw z(`emoji + combining mark: "${k(r[e-1])} + ${q([t[0]])}"`)}!function(e){let t=e[0],n=b.get(t);if(n)throw z(`leading ${n}`);let r=e.length,o=-1;for(let i=1;i<r;i++){t=e[i];let r=b.get(t);if(r){if(o==i)throw z(`${n} + ${r}`);o=i+1,n=r}}if(o==r)throw z(`trailing ${n}`)}(d);let n=S(new Set(t)),[o]=function(e){let t=f;for(let n of e){let e=t.filter(e=>T(e,n));if(!e.length){if(f.some(e=>T(e,n)))throw W(t[0],n);throw G(n)}if(t=e,1==e.length)break}return t}(n);(function(e,t){for(let n of t)if(!T(e,n))throw W(e,n);if(e.M){let e=R(t).map(N);for(let t=1,n=e.length;t<n;t++)if(l.has(e[t])){let r=t+1;for(let o;r<n&&l.has(o=e[r]);r++)for(let n=t;n<r;n++)if(e[n]==o)throw Error(`duplicate non-spacing marks: ${L(o)}`);if(r-t>4)throw Error(`excessive non-spacing marks: ${Q(q(e.slice(t-1,r)))} (${r-t}/4)`);t=r}}})(o,t),function(e,t){let n;let r=[];for(let e of t){let t=h.get(e);if(1===t)return;if(t){let r=t.M.get(e);if(!(n=n?n.filter(e=>r.has(e)):S(r)).length)return}else r.push(e)}if(n){for(let t of n)if(r.every(e=>T(t,e)))throw Error(`whole-script confusable: ${e.N}/${t.N}`)}}(o,n),e=o.N}else e="Emoji"}i.type=e}catch(e){i.error=e}return i})}(e,M,j)).map(({input:e,error:n,output:r})=>{if(n){let r=n.message;throw Error(1==t.length?r:`Invalid label ${Q(q(e,63))}: ${r}`)}return k(r)}).join(".")}},49917:function(e,t,n){"use strict";n.d(t,{T:function(){return s}});var r=n(8681),o=n(72417),i=n(56026),a=n(59681);function s(e){let t=e.replace(/^\.|\.$/gm,"");if(0===t.length)return new Uint8Array(1);let n=new Uint8Array((0,r.qX)(t).byteLength+2),s=0,c=t.split(".");for(let e=0;e<c.length;e++){let t=(0,r.qX)(c[e]);if(t.byteLength>255){var u;t=(0,r.qX)((u=function(e){let t=new Uint8Array(32).fill(0);return e?(0,a.i)(e)||(0,i.w)((0,r.qX)(e)):(0,o.ci)(t)}(c[e]),`[${u.slice(2)}]`))}n[s]=t.length,n.set(t,s+1),s+=t.length+1}return n.byteLength!==s+1?n.slice(0,s+1):n}},32171:function(e,t,n){"use strict";n.d(t,{S:function(){return s}});var r=n(16096),o=n(86708),i=n(20840),a=n(98094);function s(e,{abi:t,address:n,args:s,docsPath:c,functionName:u,sender:l}){let{code:d,data:f,message:p,shortMessage:h}=e instanceof i.VQ?e:e instanceof o.G?e.walk(e=>"data"in e)||e.walk():{},w=e instanceof r.wb?new i.Dk({functionName:u}):[3,a.XS.code].includes(d)&&(f||p||h)?new i.Lu({abi:t,data:"object"==typeof f?f.data:f,functionName:u,message:h??p}):e;return new i.uq(w,{abi:t,args:s,contractAddress:n,docsPath:c,functionName:u,sender:l})}},76783:function(e,t,n){"use strict";n.d(t,{k:function(){return i}});var r=n(86708),o=n(33722);function i(e,t){let n=(e.details||"").toLowerCase(),i=e instanceof r.G?e.walk(e=>e?.code===o.M_.code):e;return i instanceof r.G?new o.M_({cause:e,message:i.details}):o.M_.nodeMessage.test(n)?new o.M_({cause:e,message:e.details}):o.Hh.nodeMessage.test(n)?new o.Hh({cause:e,maxFeePerGas:t?.maxFeePerGas}):o.G$.nodeMessage.test(n)?new o.G$({cause:e,maxFeePerGas:t?.maxFeePerGas}):o.ZI.nodeMessage.test(n)?new o.ZI({cause:e,nonce:t?.nonce}):o.vU.nodeMessage.test(n)?new o.vU({cause:e,nonce:t?.nonce}):o.se.nodeMessage.test(n)?new o.se({cause:e,nonce:t?.nonce}):o.C_.nodeMessage.test(n)?new o.C_({cause:e}):o.WF.nodeMessage.test(n)?new o.WF({cause:e,gas:t?.gas}):o.dR.nodeMessage.test(n)?new o.dR({cause:e,gas:t?.gas}):o.pZ.nodeMessage.test(n)?new o.pZ({cause:e}):o.cs.nodeMessage.test(n)?new o.cs({cause:e,maxFeePerGas:t?.maxFeePerGas,maxPriorityFeePerGas:t?.maxPriorityFeePerGas}):new o.cj({cause:e})}},25606:function(e,t,n){"use strict";function r(e,{format:t}){if(!t)return{};let n={};return!function t(r){for(let o of Object.keys(r))o in e&&(n[o]=e[o]),r[o]&&"object"==typeof r[o]&&!Array.isArray(r[o])&&t(r[o])}(t(e||{})),n}n.d(t,{K:function(){return r}})},50540:function(e,t,n){"use strict";n.d(t,{tG:function(){return i}});var r=n(72417);let o={legacy:"0x0",eip2930:"0x1",eip1559:"0x2",eip4844:"0x3",eip7702:"0x4"};function i(e){let t={};return void 0!==e.authorizationList&&(t.authorizationList=e.authorizationList.map(e=>({address:e.contractAddress,r:e.r,s:e.s,chainId:(0,r.eC)(e.chainId),nonce:(0,r.eC)(e.nonce),...void 0!==e.yParity?{yParity:(0,r.eC)(e.yParity)}:{},...void 0!==e.v&&void 0===e.yParity?{v:(0,r.eC)(e.v)}:{}}))),void 0!==e.accessList&&(t.accessList=e.accessList),void 0!==e.blobVersionedHashes&&(t.blobVersionedHashes=e.blobVersionedHashes),void 0!==e.blobs&&("string"!=typeof e.blobs[0]?t.blobs=e.blobs.map(e=>(0,r.ci)(e)):t.blobs=e.blobs),void 0!==e.data&&(t.data=e.data),void 0!==e.from&&(t.from=e.from),void 0!==e.gas&&(t.gas=(0,r.eC)(e.gas)),void 0!==e.gasPrice&&(t.gasPrice=(0,r.eC)(e.gasPrice)),void 0!==e.maxFeePerBlobGas&&(t.maxFeePerBlobGas=(0,r.eC)(e.maxFeePerBlobGas)),void 0!==e.maxFeePerGas&&(t.maxFeePerGas=(0,r.eC)(e.maxFeePerGas)),void 0!==e.maxPriorityFeePerGas&&(t.maxPriorityFeePerGas=(0,r.eC)(e.maxPriorityFeePerGas)),void 0!==e.nonce&&(t.nonce=(0,r.eC)(e.nonce)),void 0!==e.to&&(t.to=e.to),void 0!==e.type&&(t.type=o[e.type]),void 0!==e.value&&(t.value=(0,r.eC)(e.value)),t}},15672:function(e,t,n){"use strict";n.d(t,{n:function(){return r}});let r=n(55828).r},83258:function(e,t,n){"use strict";n.d(t,{C:function(){return i}});var r=n(41690),o=n(55828);let i=e=>(0,r.tP)((0,o.r)(e),0,4)},55828:function(e,t,n){"use strict";n.d(t,{r:function(){return d}});var r=n(8681),o=n(56026);let i=e=>(0,o.w)((0,r.O0)(e));var a=n(41923);let s=/^tuple(?<array>(\[(\d*)\])*)$/;function c(e){let t="",n=e.length;for(let r=0;r<n;r++)t+=function e(t){let n=t.type;if(s.test(t.type)&&"components"in t){n="(";let r=t.components.length;for(let o=0;o<r;o++)n+=e(t.components[o]),o<r-1&&(n+=", ");let o=(0,a.Zw)(s,t.type);return n+=`)${o?.array??""}`,e({...t,type:n})}return("indexed"in t&&t.indexed&&(n=`${n} indexed`),t.name)?`${n} ${t.name}`:n}(e[r]),r!==n-1&&(t+=", ");return t}var u=n(86708);let l=e=>(function(e){let t=!0,n="",r=0,o="",i=!1;for(let a=0;a<e.length;a++){let s=e[a];if(["(",")",","].includes(s)&&(t=!0),"("===s&&r++,")"===s&&r--,t){if(0===r){if(" "===s&&["event","function",""].includes(o))o="";else if(o+=s,")"===s){i=!0;break}continue}if(" "===s){","!==e[a-1]&&","!==n&&",("!==n&&(n="",t=!1);continue}o+=s,n+=s}}if(!i)throw new u.G("Unable to normalize signature.");return o})("string"==typeof e?e:"function"===e.type?`function ${e.name}(${c(e.inputs)})${e.stateMutability&&"nonpayable"!==e.stateMutability?` ${e.stateMutability}`:""}${e.outputs.length?` returns (${c(e.outputs)})`:""}`:"event"===e.type?`event ${e.name}(${c(e.inputs)})`:"error"===e.type?`error ${e.name}(${c(e.inputs)})`:"constructor"===e.type?`constructor(${c(e.inputs)})${"payable"===e.stateMutability?" payable":""}`:"fallback"===e.type?"fallback()":"receive() external payable");function d(e){return i(l(e))}},13373:function(e,t,n){"use strict";n.d(t,{N7:function(){return a}});let r=new Map,o=new Map,i=0;function a(e,t,n){let a=++i,s=()=>r.get(e)||[],c=()=>{let t=s();r.set(e,t.filter(e=>e.id!==a))},u=()=>{let t=o.get(e);1===s().length&&t&&t(),c()},l=s();if(r.set(e,[...l,{id:a,fns:t}]),l&&l.length>0)return u;let d={};for(let e in t)d[e]=(...t)=>{let n=s();if(0!==n.length)for(let r of n)r.fns[e]?.(...t)};let f=n(d);return"function"==typeof f&&o.set(e,f),u}},8720:function(e,t,n){"use strict";n.d(t,{$:function(){return o}});var r=n(11877);function o(e,{emitOnBegin:t,initialWaitTime:n,interval:o}){let i=!0,a=()=>i=!1;return(async()=>{let s;t&&(s=await e({unpoll:a}));let c=await n?.(s)??o;await (0,r.D)(c);let u=async()=>{i&&(await e({unpoll:a}),await (0,r.D)(o),u())};u()})(),a}},15514:function(e,t,n){"use strict";n.d(t,{S:function(){return o}});let r=new Map;function o({fn:e,id:t,shouldSplitBatch:n,wait:o=0,sort:i}){let a=async()=>{let t=u();s();let n=t.map(({args:e})=>e);0!==n.length&&e(n).then(e=>{i&&Array.isArray(e)&&e.sort(i);for(let n=0;n<t.length;n++){let{pendingPromise:r}=t[n];r.resolve?.([e[n],e])}}).catch(e=>{for(let n=0;n<t.length;n++){let{pendingPromise:r}=t[n];r.reject?.(e)}})},s=()=>r.delete(t),c=()=>u().map(({args:e})=>e),u=()=>r.get(t)||[],l=e=>r.set(t,[...u(),e]);return{flush:s,async schedule(e){let t={},r=new Promise((e,n)=>{t.resolve=e,t.reject=n});return(n?.([...c(),e])&&a(),u().length>0)?l({args:e,pendingPromise:t}):(l({args:e,pendingPromise:t}),setTimeout(a,o)),r}}}},29673:function(e,t,n){"use strict";n.d(t,{J:function(){return o}});var r=n(11877);function o(e,{delay:t=100,retryCount:n=2,shouldRetry:o=()=>!0}={}){return new Promise((i,a)=>{let s=async({count:c=0}={})=>{let u=async({error:e})=>{let n="function"==typeof t?t({count:c,error:e}):t;n&&await (0,r.D)(n),s({count:c+1})};try{let t=await e();i(t)}catch(e){if(c<n&&await o({count:c,error:e}))return u({error:e});a(e)}};s()})}},43291:function(e,t,n){"use strict";n.d(t,{Ow:function(){return r},eL:function(){return o},lh:function(){return i}});let r=/^(.*)\[([0-9]*)\]$/,o=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,i=/^(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)?$/},5878:function(e,t,n){"use strict";n.d(t,{r:function(){return s}});var r=n(56026),o=n(79022),i=n(80002),a=n(72417);function s(e,t){return(0,r.w)(function(e){let t="string"==typeof e?(0,a.$G)(e):"string"==typeof e.raw?e.raw:(0,a.ci)(e.raw),n=(0,a.$G)(`\x19Ethereum Signed Message:
25
- ${(0,i.d)(t)}`);return(0,o.zo)([n,t])}(e),t)}},52440:function(e,t,n){"use strict";n.d(t,{Jv:function(){return f}});var r=n(25756),o=n(79022),i=n(72417),a=n(56026),s=n(16096),c=n(67832),u=n(15254),l=n(80002),d=n(43291);function f(e){let{domain:t={},message:n,primaryType:r}=e,f={EIP712Domain:function({domain:e}){return["string"==typeof e?.name&&{name:"name",type:"string"},e?.version&&{name:"version",type:"string"},"number"==typeof e?.chainId&&{name:"chainId",type:"uint256"},e?.verifyingContract&&{name:"verifyingContract",type:"address"},e?.salt&&{name:"salt",type:"bytes32"}].filter(Boolean)}({domain:t}),...e.types};!function(e){let{domain:t,message:n,primaryType:r,types:o}=e,a=(e,t)=>{for(let n of e){let{name:e,type:r}=n,f=t[e],p=r.match(d.lh);if(p&&("number"==typeof f||"bigint"==typeof f)){let[e,t,n]=p;(0,i.eC)(f,{signed:"int"===t,size:Number.parseInt(n)/8})}if("address"===r&&"string"==typeof f&&!(0,u.U)(f))throw new c.b({address:f});let h=r.match(d.eL);if(h){let[e,t]=h;if(t&&(0,l.d)(f)!==Number.parseInt(t))throw new s.KY({expectedSize:Number.parseInt(t),givenSize:(0,l.d)(f)})}let w=o[r];w&&a(w,f)}};o.EIP712Domain&&t&&a(o.EIP712Domain,t),"EIP712Domain"!==r&&a(o[r],n)}({domain:t,message:n,primaryType:r,types:f});let h=["0x1901"];return t&&h.push(function({domain:e,types:t}){return p({data:e,primaryType:"EIP712Domain",types:t})}({domain:t,types:f})),"EIP712Domain"!==r&&h.push(p({data:n,primaryType:r,types:f})),(0,a.w)((0,o.zo)(h))}function p({data:e,primaryType:t,types:n}){let o=function e({data:t,primaryType:n,types:o}){let s=[{type:"bytes32"}],c=[function({primaryType:e,types:t}){let n=(0,i.NC)(function({primaryType:e,types:t}){let n="",r=function e({primaryType:t,types:n},r=new Set){let o=t.match(/^\w*/u),i=o?.[0];if(r.has(i)||void 0===n[i])return r;for(let t of(r.add(i),n[i]))e({primaryType:t.type,types:n},r);return r}({primaryType:e,types:t});for(let o of(r.delete(e),[e,...Array.from(r).sort()]))n+=`${o}(${t[o].map(({name:e,type:t})=>`${t} ${e}`).join(",")})`;return n}({primaryType:e,types:t}));return(0,a.w)(n)}({primaryType:n,types:o})];for(let u of o[n]){let[n,l]=function t({types:n,name:o,type:s,value:c}){if(void 0!==n[s])return[{type:"bytes32"},(0,a.w)(e({data:c,primaryType:s,types:n}))];if("bytes"===s){let e=c.length%2?"0":"";return c=`0x${e+c.slice(2)}`,[{type:"bytes32"},(0,a.w)(c)]}if("string"===s)return[{type:"bytes32"},(0,a.w)((0,i.NC)(c))];if(s.lastIndexOf("]")===s.length-1){let e=s.slice(0,s.lastIndexOf("[")),i=c.map(r=>t({name:o,type:e,types:n,value:r}));return[{type:"bytes32"},(0,a.w)((0,r.E)(i.map(([e])=>e),i.map(([,e])=>e)))]}return[{type:s},c]}({types:o,name:u.name,type:u.type,value:t[u.name]});s.push(n),c.push(l)}return(0,r.E)(s,c)}({data:e,primaryType:t,types:n});return(0,a.w)(o)}},31678:function(e,t,n){"use strict";n.d(t,{R:function(){return u}});var r=n(6431),o=n(25006),i=n(58435),a=n(72417);async function s({hash:e,signature:t}){let r=(0,o.v)(e)?e:(0,a.NC)(e),{secp256k1:s}=await Promise.resolve().then(n.bind(n,89922)),u=(()=>{if("object"==typeof t&&"r"in t&&"s"in t){let{r:e,s:n,v:r,yParity:o}=t,a=c(Number(o??r));return new s.Signature((0,i.y_)(e),(0,i.y_)(n)).addRecoveryBit(a)}let e=(0,o.v)(t)?t:(0,a.NC)(t),n=c((0,i.ly)(`0x${e.slice(130)}`));return s.Signature.fromCompact(e.substring(2,130)).addRecoveryBit(n)})().recoverPublicKey(r.substring(2)).toHex(!1);return`0x${u}`}function c(e){if(0===e||1===e)return e;if(27===e)return 0;if(28===e)return 1;throw Error("Invalid yParityOrV value")}async function u({hash:e,signature:t}){return(0,r.y)(await s({hash:e,signature:t}))}},95033:function(e,t,n){"use strict";n.d(t,{V:function(){return a}});var r=n(89922),o=n(58435),i=n(8681);function a({r:e,s:t,to:n="hex",v:a,yParity:s}){let c=(()=>{if(0===s||1===s)return s;if(a&&(27n===a||28n===a||a>=35n))return a%2n===0n?1:0;throw Error("Invalid `v` or `yParity` value")})(),u=`0x${new r.secp256k1.Signature((0,o.y_)(e),(0,o.y_)(t)).toCompactHex()}${0===c?"1b":"1c"}`;return"hex"===n?u:(0,i.nr)(u)}},55473:function(e,t,n){"use strict";n.d(t,{mF:function(){return u}});var r=n(67832),o=n(82181),i=n(82925),a=n(15254),s=n(72417);function c(e){if(e&&0!==e.length)return e.reduce((e,{slot:t,value:n})=>{if(66!==t.length)throw new o.W_({size:t.length,targetSize:66,type:"hex"});if(66!==n.length)throw new o.W_({size:n.length,targetSize:66,type:"hex"});return e[t]=n,e},{})}function u(e){if(!e)return;let t={};for(let{address:n,...o}of e){if(!(0,a.U)(n,{strict:!1}))throw new r.b({address:n});if(t[n])throw new i.Nc({address:n});t[n]=function(e){let{balance:t,nonce:n,state:r,stateDiff:o,code:a}=e,u={};if(void 0!==a&&(u.code=a),void 0!==t&&(u.balance=(0,s.eC)(t)),void 0!==n&&(u.nonce=(0,s.eC)(n)),void 0!==r&&(u.state=c(r)),void 0!==o){if(u.state)throw new i.Z8;u.stateDiff=c(o)}return u}(o)}return t}},49476:function(e,t,n){"use strict";n.d(t,{P:function(){return r}});let r=(e,t,n)=>JSON.stringify(e,(e,n)=>{let r="bigint"==typeof n?n.toString():n;return"function"==typeof t?t(e,r):r},n)},12679:function(e,t,n){"use strict";n.d(t,{F:function(){return u}});var r=n(14428),o=n(23053),i=n(67832),a=n(33722),s=n(29334),c=n(15254);function u(e){let{account:t,gasPrice:n,maxFeePerGas:u,maxPriorityFeePerGas:l,to:d}=e,f=t?(0,r.T)(t):void 0;if(f&&!(0,c.U)(f.address))throw new i.b({address:f.address});if(d&&!(0,c.U)(d))throw new i.b({address:d});if(void 0!==n&&(void 0!==u||void 0!==l))throw new s.xY;if(u&&u>o.zL)throw new a.Hh({maxFeePerGas:u});if(l&&u&&l>u)throw new a.cs({maxFeePerGas:u,maxPriorityFeePerGas:l})}},62257:function(e,t,n){"use strict";let r;n.d(t,{h:function(){return i}});let o=256;function i(e=11){if(!r||o+e>512){r="",o=0;for(let e=0;e<256;e++)r+=(256+256*Math.random()|0).toString(16).substring(1)}return r.substring(o,o+++e)}},11877:function(e,t,n){"use strict";async function r(e){return new Promise(t=>setTimeout(t,e))}n.d(t,{D:function(){return r}})},50215:function(e,t,n){"use strict";n.d(t,{m:function(){return l}});var r=n(88914),o=n(67613),i=n(24143),a=n(14558),s=n(46760),c=n(23064);let u=e=>"object"==typeof e&&!Array.isArray(e);function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,i.Z)(e);return function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:a.v,o=(0,s.useRef)([]),i=(0,c.useSyncExternalStoreWithSelector)(e,t,n,e=>e,(e,t)=>{if(u(e)&&u(t)&&o.current.length){for(let n of o.current)if(!r(e[n],t[n]))return!1;return!0}return r(e,t)});if(u(i)){let e={...i},t={};for(let[n,r]of Object.entries(e))t={...t,[n]:{configurable:!1,enumerable:!0,get:()=>(o.current.includes(n)||o.current.push(n),r)}};return Object.defineProperties(e,t),e}return i}(e=>(0,r.u)(t,{onChange:e}),()=>(0,o.D)(t))}},46096:function(e,t,n){"use strict";n.d(t,{E:function(){return a}});var r=n(88914),o=n(46760),i=n(24143);function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{onConnect:t,onDisconnect:n}=e,a=(0,i.Z)(e);(0,o.useEffect)(()=>(0,r.u)(a,{onChange(e,r){if(("reconnecting"===r.status||"connecting"===r.status&&void 0===r.address)&&"connected"===e.status){let{address:n,addresses:o,chain:i,chainId:a,connector:s}=e,c="reconnecting"===r.status||void 0===r.status;null==t||t({address:n,addresses:o,chain:i,chainId:a,connector:s,isReconnected:c})}else"connected"===r.status&&"disconnected"===e.status&&(null==n||n())}}),[a,t,n])}},65845:function(e,t,n){"use strict";n.d(t,{K:function(){return v}});var r=n(20840),o=n(58435),i=n(6435),a=n(9016),s=n(42678),c=n(84151),u=n(57122);function l(e){return"number"==typeof e?e:"wei"===e?0:Math.abs(u.Bd[e])}var d=n(54787);async function f(e,t){let{allowFailure:n=!0,chainId:r,contracts:o,...i}=t,a=e.getClient({chainId:r});return(0,c.s)(a,d.A,"multicall")({allowFailure:n,contracts:o,...i})}var p=n(22521);async function h(e,t){let{allowFailure:n=!0,blockNumber:o,blockTag:i,...a}=t,s=t.contracts;try{let t={};for(let[n,r]of s.entries()){let o=r.chainId??e.state.chainId;t[o]||(t[o]=[]),t[o]?.push({contract:r,index:n})}let r=(await Promise.all(Object.entries(t).map(([t,r])=>f(e,{...a,allowFailure:n,blockNumber:o,blockTag:i,chainId:Number.parseInt(t),contracts:r.map(({contract:e})=>e)})))).flat(),c=Object.values(t).flatMap(e=>e.map(({index:e})=>e));return r.reduce((e,t,n)=>(e&&(e[c[n]]=t),e),[])}catch(a){if(a instanceof r.uq)throw a;let t=()=>s.map(t=>(0,p.L)(e,{...t,blockNumber:o,blockTag:i}));if(n)return(await Promise.allSettled(t())).map(e=>"fulfilled"===e.status?{result:e.value,status:"success"}:{error:e.reason,result:void 0,status:"failure"});return await Promise.all(t())}}async function w(e,t){let{address:n,blockNumber:u,blockTag:d,chainId:f,token:p,unit:h="ether"}=t;if(p)try{return m(e,{balanceAddress:n,chainId:f,symbolType:"string",tokenAddress:p})}catch(t){if(t instanceof r.uq){let t=await m(e,{balanceAddress:n,chainId:f,symbolType:"bytes32",tokenAddress:p}),r=(0,o.rR)((0,i.f)(t.symbol,{dir:"right"}));return{...t,symbol:r}}throw t}let w=e.getClient({chainId:f}),g=(0,c.s)(w,s.s,"getBalance"),b=await g(u?{address:n,blockNumber:u}:{address:n,blockTag:d}),y=e.chains.find(e=>e.id===f)??w.chain;return{decimals:y.nativeCurrency.decimals,formatted:(0,a.b)(b,l(h)),symbol:y.nativeCurrency.symbol,value:b}}async function m(e,t){let{balanceAddress:n,chainId:r,symbolType:o,tokenAddress:i,unit:s}=t,c={abi:[{type:"function",name:"balanceOf",stateMutability:"view",inputs:[{type:"address"}],outputs:[{type:"uint256"}]},{type:"function",name:"decimals",stateMutability:"view",inputs:[],outputs:[{type:"uint8"}]},{type:"function",name:"symbol",stateMutability:"view",inputs:[],outputs:[{type:o}]}],address:i},[u,d,f]=await h(e,{allowFailure:!1,contracts:[{...c,functionName:"balanceOf",args:[n],chainId:r},{...c,functionName:"decimals",chainId:r},{...c,functionName:"symbol",chainId:r}]}),p=(0,a.b)(u??"0",l(s??d));return{decimals:d,formatted:p,symbol:f,value:u}}var g=n(24339),b=n(65684),y=n(39870),A=n(24143);function v(){var e,t;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{address:r,query:o={}}=n,i=(0,A.Z)(n),a=(0,y.x)({config:i}),s=function(e,t={}){return{async queryFn({queryKey:t}){let{address:n,scopeKey:r,...o}=t[1];if(!n)throw Error("address is required");return await w(e,{...o,address:n})??null},queryKey:function(e={}){return["balance",(0,g.OP)(e)]}(t)}}(i,{...n,chainId:null!==(e=n.chainId)&&void 0!==e?e:a}),c=!!(r&&(null===(t=o.enabled)||void 0===t||t));return(0,b.aM)({...o,...s,enabled:c})}},11603:function(e,t,n){"use strict";n.d(t,{$:function(){return u}});var r=n(28103),o=n(18701);async function i(e,t){let n;if((n="function"==typeof t.connector?e._internal.connectors.setup(t.connector):t.connector).uid===e.state.current)throw new o.wi;try{e.setState(e=>({...e,status:"connecting"})),n.emitter.emit("message",{type:"connecting"});let r=await n.connect({chainId:t.chainId}),o=r.accounts;return n.emitter.off("connect",e._internal.events.connect),n.emitter.on("change",e._internal.events.change),n.emitter.on("disconnect",e._internal.events.disconnect),await e.storage?.setItem("recentConnectorId",n.id),e.setState(e=>({...e,connections:new Map(e.connections).set(n.uid,{accounts:o,chainId:r.chainId,connector:n}),current:n.uid,status:"connected"})),{accounts:o,chainId:r.chainId}}catch(t){throw e.setState(e=>({...e,status:e.current?"connected":"disconnected"})),t}}var a=n(46760),s=n(24143),c=n(87031);function u(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{mutation:t}=e,n=(0,s.Z)(e),{mutate:o,mutateAsync:u,...l}=(0,r.D)({...t,mutationFn:e=>i(n,e),mutationKey:["connect"]});return(0,a.useEffect)(()=>n.subscribe(e=>{let{status:t}=e;return t},(e,t)=>{"connected"===t&&"disconnected"===e&&l.reset()}),[n,l.reset]),{...l,connect:o,connectAsync:u,connectors:(0,c.Y)({config:n})}}},87031:function(e,t,n){"use strict";n.d(t,{Y:function(){return c}});var r=n(14558);let o=[];function i(e){let t=e.connectors;return(0,r.v)(o,t)?o:(o=t,t)}var a=n(46760),s=n(24143);function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,s.Z)(e);return(0,a.useSyncExternalStore)(e=>(function(e,t){let{onChange:n}=t;return e._internal.connectors.subscribe((e,t)=>{n(Object.values(e),t)})})(t,{onChange:e}),()=>i(t),()=>i(t))}},9750:function(e,t,n){"use strict";n.d(t,{q:function(){return l}});var r=n(28103);async function o(e,t={}){let n;if(t.connector)n=t.connector;else{let{connections:t,current:r}=e.state,o=t.get(r);n=o?.connector}let r=e.state.connections;n&&(await n.disconnect(),n.emitter.off("change",e._internal.events.change),n.emitter.off("disconnect",e._internal.events.disconnect),n.emitter.on("connect",e._internal.events.connect),r.delete(n.uid)),e.setState(e=>{if(0===r.size)return{...e,connections:new Map,current:null,status:"disconnected"};let t=r.values().next().value;return{...e,connections:new Map(r),current:t.connector.uid}});{let t=e.state.current;if(!t)return;let n=e.state.connections.get(t)?.connector;if(!n)return;await e.storage?.setItem("recentConnectorId",n.id)}}var i=n(24143),a=n(14558);let s=[];function c(e){let t=[...e.state.connections.values()];return"reconnecting"===e.state.status||(0,a.v)(s,t)?s:(s=t,t)}var u=n(46760);function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{mutation:t}=e,n=(0,i.Z)(e),{mutate:s,mutateAsync:l,...d}=(0,r.D)({...t,mutationFn:e=>o(n,e),mutationKey:["disconnect"]});return{...d,connectors:(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,i.Z)(e);return(0,u.useSyncExternalStore)(e=>(function(e,t){let{onChange:n}=t;return e.subscribe(()=>c(e),n,{equalityFn:a.v})})(t,{onChange:e}),()=>c(t),()=>c(t))})({config:n}).map(e=>e.connector),disconnect:s,disconnectAsync:l}}},5582:function(e,t,n){"use strict";n.d(t,{c:function(){return u}});var r=n(9756),o=n(84151),i=n(24339),a=n(65684),s=n(39870),c=n(24143);function u(){var e,t;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{name:u,query:l={}}=n,d=(0,c.Z)(n),f=(0,s.x)({config:d}),p=function(e,t={}){return{async queryFn({queryKey:t}){let{name:n,scopeKey:i,...a}=t[1];if(!n)throw Error("name is required");return function(e,t){let{chainId:n,...i}=t,a=e.getClient({chainId:n});return(0,o.s)(a,r.r,"getEnsAvatar")(i)}(e,{...a,name:n})},queryKey:function(e={}){return["ensAvatar",(0,i.OP)(e)]}(t)}}(d,{...n,chainId:null!==(e=n.chainId)&&void 0!==e?e:f}),h=!!(u&&(null===(t=l.enabled)||void 0===t||t));return(0,a.aM)({...l,...p,enabled:h})}},5547:function(e,t,n){"use strict";n.d(t,{F:function(){return u}});var r=n(27453),o=n(84151),i=n(24339),a=n(65684),s=n(39870),c=n(24143);function u(){var e,t;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{address:u,query:l={}}=n,d=(0,c.Z)(n),f=(0,s.x)({config:d}),p=function(e,t={}){return{async queryFn({queryKey:t}){let{address:n,scopeKey:i,...a}=t[1];if(!n)throw Error("address is required");return function(e,t){let{chainId:n,...i}=t,a=e.getClient({chainId:n});return(0,o.s)(a,r.w,"getEnsName")(i)}(e,{...a,address:n})},queryKey:function(e={}){return["ensName",(0,i.OP)(e)]}(t)}}(d,{...n,chainId:null!==(e=n.chainId)&&void 0!==e?e:f}),h=!!(u&&(null===(t=l.enabled)||void 0===t||t));return(0,a.aM)({...l,...p,enabled:h})}},41006:function(e,t,n){"use strict";n.d(t,{t:function(){return eX}});var r=n(2029),o=n(22587),i=n(82544),a=n(63672),s=n(6435),c=n(72417),u=n(37988),l=n(13722),d=n(49917),f=n(87510),p=n(92262);async function h(e,{blockNumber:t,blockTag:n,coinType:h,name:w,gatewayUrls:m,strict:g,universalResolverAddress:b}){let y=b;if(!y){if(!e.chain)throw Error("client chain not configured. universalResolverAddress is required.");y=(0,a.L)({blockNumber:t,chain:e.chain,contract:"ensUniversalResolver"})}try{let a=(0,i.R)({abi:r.X$,functionName:"addr",...null!=h?{args:[(0,l.V)(w),BigInt(h)]}:{args:[(0,l.V)(w)]}}),u={address:y,abi:r.k3,functionName:"resolve",args:[(0,c.NC)((0,d.T)(w)),a],blockNumber:t,blockTag:n},g=(0,f.s)(e,p.L,"readContract"),b=m?await g({...u,args:[...u.args,m]}):await g(u);if("0x"===b[0])return null;let A=(0,o.k)({abi:r.X$,args:null!=h?[(0,l.V)(w),BigInt(h)]:void 0,functionName:"addr",data:b[0]});if("0x"===A||"0x00"===(0,s.f)(A))return null;return A}catch(e){if(g)throw e;if((0,u.c)(e,"resolve"))return null;throw e}}var w=n(9756),m=n(27453);async function g(e,{blockNumber:t,blockTag:n,name:r,universalResolverAddress:o}){let i=o;if(!i){if(!e.chain)throw Error("client chain not configured. universalResolverAddress is required.");i=(0,a.L)({blockNumber:t,chain:e.chain,contract:"ensUniversalResolver"})}let[s]=await (0,f.s)(e,p.L,"readContract")({address:i,abi:[{inputs:[{type:"bytes"}],name:"findResolver",outputs:[{type:"address"},{type:"bytes32"}],stateMutability:"view",type:"function"}],functionName:"findResolver",args:[(0,c.NC)((0,d.T)(r))],blockNumber:t,blockTag:n});return s}var b=n(559),y=n(4815);function A(e,{method:t}){let n={};return"fallback"===e.transport.type&&e.transport.onResponse?.(({method:e,response:r,status:o,transport:i})=>{"success"===o&&t===e&&(n[r]=i.request)}),t=>n[t]||e.request}async function v(e){let t=A(e,{method:"eth_newBlockFilter"}),n=await e.request({method:"eth_newBlockFilter"});return{id:n,request:t(n),type:"block"}}var C=n(16096),E=n(86708);class x extends E.G{constructor(e){super(`Filter type "${e}" is not supported.`,{name:"FilterTypeNotSupportedError"})}}var B=n(8681),k=n(56026),I=n(15672),P=n(25756),N=n(43067),F=n(67278);let R="/docs/contract/encodeEventTopics";function M(e){let{abi:t,eventName:n,args:r}=e,o=t[0];if(n){let e=(0,F.mE)({abi:t,name:n});if(!e)throw new C.mv(n,{docsPath:R});o=e}if("event"!==o.type)throw new C.mv(void 0,{docsPath:R});let i=(0,N.t)(o),a=(0,I.n)(i),s=[];if(r&&"inputs"in o){let e=o.inputs?.filter(e=>"indexed"in e&&e.indexed),t=Array.isArray(r)?r:Object.values(r).length>0?e?.map(e=>r[e.name])??[]:[];t.length>0&&(s=e?.map((e,n)=>Array.isArray(t[n])?t[n].map((r,o)=>S({param:e,value:t[n][o]})):t[n]?S({param:e,value:t[n]}):null)??[])}return[a,...s]}function S({param:e,value:t}){if("string"===e.type||"bytes"===e.type)return(0,k.w)((0,B.O0)(t));if("tuple"===e.type||e.type.match(/^(.*)\[(\d+)?\]$/))throw new x(e.type);return(0,P.E)([e],[t])}async function T(e,t){let{address:n,abi:r,args:o,eventName:i,fromBlock:a,strict:s,toBlock:u}=t,l=A(e,{method:"eth_newFilter"}),d=i?M({abi:r,args:o,eventName:i}):void 0,f=await e.request({method:"eth_newFilter",params:[{address:n,fromBlock:"bigint"==typeof a?(0,c.eC)(a):a,toBlock:"bigint"==typeof u?(0,c.eC)(u):u,topics:d}]});return{abi:r,args:o,eventName:i,id:f,request:l(f),strict:!!s,type:"event"}}async function O(e,{address:t,args:n,event:r,events:o,fromBlock:i,strict:a,toBlock:s}={}){let u=o??(r?[r]:void 0),l=A(e,{method:"eth_newFilter"}),d=[];u&&(d=[u.flatMap(e=>M({abi:[e],eventName:e.name,args:n}))],r&&(d=d[0]));let f=await e.request({method:"eth_newFilter",params:[{address:t,fromBlock:"bigint"==typeof i?(0,c.eC)(i):i,toBlock:"bigint"==typeof s?(0,c.eC)(s):s,...d.length?{topics:d}:{}}]});return{abi:u,args:n,eventName:r?r.name:void 0,fromBlock:i,id:f,request:l(f),strict:!!a,toBlock:s,type:"event"}}async function D(e){let t=A(e,{method:"eth_newPendingTransactionFilter"}),n=await e.request({method:"eth_newPendingTransactionFilter"});return{id:n,request:t(n),type:"transaction"}}var L=n(14428),Q=n(32171),q=n(3501);async function U(e,t){let{abi:n,address:r,args:o,functionName:a,...s}=t,c=(0,i.R)({abi:n,args:o,functionName:a});try{return await (0,f.s)(e,q.Q,"estimateGas")({data:c,to:r,...s})}catch(t){let e=s.account?(0,L.T)(s.account):void 0;throw(0,Q.S)(t,{abi:n,address:r,args:o,docsPath:"/docs/contract/estimateContractGas",functionName:a,sender:e?.address})}}var G=n(2998),W=n(81780),z=n(42678);async function j(e){return BigInt(await e.request({method:"eth_blobBaseFee"}))}var H=n(44705),K=n(8258),J=n(58435);async function V(e,{blockHash:t,blockNumber:n,blockTag:r="latest"}={}){let o;let i=void 0!==n?(0,c.eC)(n):void 0;return o=t?await e.request({method:"eth_getBlockTransactionCountByHash",params:[t]},{dedupe:!0}):await e.request({method:"eth_getBlockTransactionCountByNumber",params:[i||r]},{dedupe:!!i}),(0,J.ly)(o)}var Z=n(50647);async function Y(e,{address:t,blockNumber:n,blockTag:r="latest"}){let o=void 0!==n?(0,c.eC)(n):void 0,i=await e.request({method:"eth_getCode",params:[t,o||r]},{dedupe:!!o});if("0x"!==i)return i}var X=n(68943),$=n(36517);async function _(e,{address:t,blockHash:n,fromBlock:r,toBlock:o,event:i,events:a,args:s,strict:u}={}){let l=a??(i?[i]:void 0),d=[];l&&(d=[l.flatMap(e=>M({abi:[e],eventName:e.name,args:a?void 0:s}))],i&&(d=d[0]));let f=(n?await e.request({method:"eth_getLogs",params:[{address:t,topics:d,blockHash:n}]}):await e.request({method:"eth_getLogs",params:[{address:t,topics:d,fromBlock:"bigint"==typeof r?(0,c.eC)(r):r,toBlock:"bigint"==typeof o?(0,c.eC)(o):o}]})).map(e=>(0,$.U)(e));return l?(0,X.h)({abi:l,args:s,logs:f,strict:u??!1}):f}async function ee(e,t){let{abi:n,address:r,args:o,blockHash:i,eventName:a,fromBlock:s,toBlock:c,strict:u}=t,l=a?(0,F.mE)({abi:n,name:a}):void 0,d=l?void 0:n.filter(e=>"event"===e.type);return(0,f.s)(e,_,"getLogs")({address:r,args:o,blockHash:i,event:l,events:d,fromBlock:s,toBlock:c,strict:u})}class et extends E.G{constructor({address:e}){super(`No EIP-712 domain found on contract "${e}".`,{metaMessages:["Ensure that:",`- The contract is deployed at the address "${e}".`,"- `eip712Domain()` function exists on the contract.","- `eip712Domain()` function matches signature to ERC-5267 specification."],name:"Eip712DomainNotFoundError"})}}async function en(e,t){let{address:n,factory:r,factoryData:o}=t;try{let[t,i,a,s,c,u,l]=await (0,f.s)(e,p.L,"readContract")({abi:er,address:n,functionName:"eip712Domain",factory:r,factoryData:o});return{domain:{name:i,version:a,chainId:Number(s),verifyingContract:c,salt:u},extensions:l,fields:t}}catch(e){if("ContractFunctionExecutionError"===e.name&&"ContractFunctionZeroDataError"===e.cause.name)throw new et({address:n});throw e}}let er=[{inputs:[],name:"eip712Domain",outputs:[{name:"fields",type:"bytes1"},{name:"name",type:"string"},{name:"version",type:"string"},{name:"chainId",type:"uint256"},{name:"verifyingContract",type:"address"},{name:"salt",type:"bytes32"},{name:"extensions",type:"uint256[]"}],stateMutability:"view",type:"function"}];async function eo(e,{blockCount:t,blockNumber:n,blockTag:r="latest",rewardPercentiles:o}){var i;let a=n?(0,c.eC)(n):void 0;return{baseFeePerGas:(i=await e.request({method:"eth_feeHistory",params:[(0,c.eC)(t),a||r,o]},{dedupe:!!a})).baseFeePerGas.map(e=>BigInt(e)),gasUsedRatio:i.gasUsedRatio,oldestBlock:BigInt(i.oldestBlock),reward:i.reward?.map(e=>e.map(e=>BigInt(e)))}}async function ei(e,{filter:t}){let n="strict"in t&&t.strict,r=await t.request({method:"eth_getFilterChanges",params:[t.id]});if("string"==typeof r[0])return r;let o=r.map(e=>(0,$.U)(e));return"abi"in t&&t.abi?(0,X.h)({abi:t.abi,logs:o,strict:n}):o}async function ea(e,{filter:t}){let n=t.strict??!1,r=(await t.request({method:"eth_getFilterLogs",params:[t.id]})).map(e=>(0,$.U)(e));return t.abi?(0,X.h)({abi:t.abi,logs:r,strict:n}):r}var es=n(33723);async function ec(e,{address:t,blockNumber:n,blockTag:r,storageKeys:o}){var i;let a=void 0!==n?(0,c.eC)(n):void 0;return{...i=await e.request({method:"eth_getProof",params:[t,o,a||(r??"latest")]}),balance:i.balance?BigInt(i.balance):void 0,nonce:i.nonce?(0,J.ly)(i.nonce):void 0,storageProof:i.storageProof?i.storageProof.map(e=>({...e,value:BigInt(e.value)})):void 0}}async function eu(e,{address:t,blockNumber:n,blockTag:r="latest",slot:o}){let i=void 0!==n?(0,c.eC)(n):void 0;return await e.request({method:"eth_getStorageAt",params:[t,o,i||r]})}var el=n(17263),ed=n(92911),ef=n(11504),ep=n(99437),eh=n(54787),ew=n(6428);async function em(e,{filter:t}){return t.request({method:"eth_uninstallFilter",params:[t.id]})}var eg=n(5878),eb=n(24968),ey=n(20840),eA=n(17146),ev=n(46812),eC=n(92130),eE=n(98310),ex=n(25006);let eB="0x6492649264926492649264926492649264926492649264926492649264926492";var ek=n(41690),eI=n(31678),eP=n(79022),eN=n(95033);async function eF(e,t){let{address:n,factory:o,factoryData:i,hash:a,signature:s,...u}=t,l=(0,ex.v)(s)?s:"object"==typeof s&&"r"in s&&"s"in s?(0,eN.V)(s):(0,c.ci)(s),d=await (async()=>o||i?(0,ek.p5)(l,-32)===eB?l:function(e){let{address:t,data:n,signature:r,to:o="hex"}=e,i=(0,eP.SM)([(0,P.E)([{type:"address"},{type:"bytes"},{type:"bytes"}],[t,n,r]),eB]);return"hex"===o?i:(0,B.nr)(i)}({address:o,data:i,signature:l}):l)();try{let{data:t}=await (0,f.s)(e,y.R,"call")({data:(0,eA.w)({abi:r.$o,args:[n,a,d],bytecode:eb.ST}),...u});return function(e,t){let n=(0,ex.v)(e)?(0,B.O0)(e):e,r=(0,ex.v)("0x1")?(0,B.O0)("0x1"):"0x1";return(0,eE.Wd)(n,r)}(t??"0x0","0x1")}catch(e){try{if((0,eC.E)((0,ev.K)(n),await (0,eI.R)({hash:a,signature:s})))return!0}catch{}if(e instanceof ey.cg)return!1;throw e}}async function eR(e,{address:t,message:n,factory:r,factoryData:o,signature:i,...a}){return eF(e,{address:t,factory:r,factoryData:o,hash:(0,eg.r)(n),signature:i,...a})}var eM=n(52440);async function eS(e,t){let{address:n,factory:r,factoryData:o,signature:i,message:a,primaryType:s,types:c,domain:u,...l}=t;return eF(e,{address:n,factory:r,factoryData:o,hash:(0,eM.Jv)({message:a,primaryType:s,types:c,domain:u}),signature:i,...l})}var eT=n(28218),eO=n(75487),eD=n(15899),eL=n(98094),eQ=n(99278),eq=n(13373),eU=n(8720),eG=n(49476);let eW=/^(?:(?<scheme>[a-zA-Z][a-zA-Z0-9+-.]*):\/\/)?(?<domain>[a-zA-Z0-9+-.]*(?::[0-9]{1,5})?) (?:wants you to sign in with your Ethereum account:\n)(?<address>0x[a-fA-F0-9]{40})\n\n(?:(?<statement>.*)\n\n)?/,ez=/(?:URI: (?<uri>.+))\n(?:Version: (?<version>.+))\n(?:Chain ID: (?<chainId>\d+))\n(?:Nonce: (?<nonce>[a-zA-Z0-9]+))\n(?:Issued At: (?<issuedAt>.+))(?:\nExpiration Time: (?<expirationTime>.+))?(?:\nNot Before: (?<notBefore>.+))?(?:\nRequest ID: (?<requestId>.+))?/;async function ej(e,t){let{address:n,domain:r,message:o,nonce:i,scheme:a,signature:s,time:c=new Date,...u}=t,l=function(e){let{scheme:t,statement:n,...r}=e.match(eW)?.groups??{},{chainId:o,expirationTime:i,issuedAt:a,notBefore:s,requestId:c,...u}=e.match(ez)?.groups??{},l=e.split("Resources:")[1]?.split("\n- ").slice(1);return{...r,...u,...o?{chainId:Number(o)}:{},...i?{expirationTime:new Date(i)}:{},...a?{issuedAt:new Date(a)}:{},...s?{notBefore:new Date(s)}:{},...c?{requestId:c}:{},...l?{resources:l}:{},...t?{scheme:t}:{},...n?{statement:n}:{}}}(o);if(!l.address||!function(e){let{address:t,domain:n,message:r,nonce:o,scheme:i,time:a=new Date}=e;if(n&&r.domain!==n||o&&r.nonce!==o||i&&r.scheme!==i||r.expirationTime&&a>=r.expirationTime||r.notBefore&&a<r.notBefore)return!1;try{if(!r.address||t&&!(0,eC.E)(r.address,t))return!1}catch{return!1}return!0}({address:n,domain:r,message:l,nonce:i,scheme:a,time:c}))return!1;let d=(0,eg.r)(o);return eF(e,{address:l.address,hash:d,signature:s,...u})}var eH=n(81174),eK=n(95774);function eJ(e){return{call:t=>(0,y.R)(e,t),createBlockFilter:()=>v(e),createContractEventFilter:t=>T(e,t),createEventFilter:t=>O(e,t),createPendingTransactionFilter:()=>D(e),estimateContractGas:t=>U(e,t),estimateGas:t=>(0,q.Q)(e,t),getBalance:t=>(0,z.s)(e,t),getBlobBaseFee:()=>j(e),getBlock:t=>(0,H.Q)(e,t),getBlockNumber:t=>(0,K.z)(e,t),getBlockTransactionCount:t=>V(e,t),getBytecode:t=>Y(e,t),getChainId:()=>(0,Z.L)(e),getCode:t=>Y(e,t),getContractEvents:t=>ee(e,t),getEip712Domain:t=>en(e,t),getEnsAddress:t=>h(e,t),getEnsAvatar:t=>(0,w.r)(e,t),getEnsName:t=>(0,m.w)(e,t),getEnsResolver:t=>g(e,t),getEnsText:t=>(0,b.g)(e,t),getFeeHistory:t=>eo(e,t),estimateFeesPerGas:t=>(0,G.X)(e,t),getFilterChanges:t=>ei(e,t),getFilterLogs:t=>ea(e,t),getGasPrice:()=>(0,es.o)(e),getLogs:t=>_(e,t),getProof:t=>ec(e,t),estimateMaxPriorityFeePerGas:t=>(0,W._)(e,t),getStorageAt:t=>eu(e,t),getTransaction:t=>(0,el.f)(e,t),getTransactionConfirmations:t=>(0,ed.a)(e,t),getTransactionCount:t=>(0,ef.K)(e,t),getTransactionReceipt:t=>(0,ep.a)(e,t),multicall:t=>(0,eh.A)(e,t),prepareTransactionRequest:t=>(0,eH.Z)(e,t),readContract:t=>(0,p.L)(e,t),sendRawTransaction:t=>(0,eK.p)(e,t),simulateContract:t=>(0,ew.a)(e,t),verifyMessage:t=>eR(e,t),verifySiweMessage:t=>ej(e,t),verifyTypedData:t=>eS(e,t),uninstallFilter:t=>em(e,t),waitForTransactionReceipt:t=>(0,eT.e)(e,t),watchBlocks:t=>(0,eD.p)(e,t),watchBlockNumber:t=>(0,eO.q)(e,t),watchContractEvent:t=>(function(e,t){let{abi:n,address:r,args:o,batch:i=!0,eventName:a,fromBlock:s,onError:c,onLogs:u,poll:l,pollingInterval:d=e.pollingInterval,strict:p}=t;return(void 0!==l?l:"bigint"==typeof s||"webSocket"!==e.transport.type&&("fallback"!==e.transport.type||"webSocket"!==e.transport.transports[0].config.type))?(()=>{let t=p??!1,l=(0,eG.P)(["watchContractEvent",r,o,i,e.uid,a,d,t,s]);return(0,eq.N7)(l,{onLogs:u,onError:c},c=>{let u,l;void 0!==s&&(u=s-1n);let p=!1,h=(0,eU.$)(async()=>{if(!p){try{l=await (0,f.s)(e,T,"createContractEventFilter")({abi:n,address:r,args:o,eventName:a,strict:t,fromBlock:s})}catch{}p=!0;return}try{let s;if(l)s=await (0,f.s)(e,ei,"getFilterChanges")({filter:l});else{let i=await (0,f.s)(e,K.z,"getBlockNumber")({});s=u&&u<i?await (0,f.s)(e,ee,"getContractEvents")({abi:n,address:r,args:o,eventName:a,fromBlock:u+1n,toBlock:i,strict:t}):[],u=i}if(0===s.length)return;if(i)c.onLogs(s);else for(let e of s)c.onLogs([e])}catch(e){l&&e instanceof eL.yR&&(p=!1),c.onError?.(e)}},{emitOnBegin:!0,interval:d});return async()=>{l&&await (0,f.s)(e,em,"uninstallFilter")({filter:l}),h()}})})():(()=>{let t=(0,eG.P)(["watchContractEvent",r,o,i,e.uid,a,d,p??!1]),s=!0,l=()=>s=!1;return(0,eq.N7)(t,{onLogs:u,onError:c},t=>((async()=>{try{let i=(()=>{if("fallback"===e.transport.type){let t=e.transport.transports.find(e=>"webSocket"===e.config.type);return t?t.value:e.transport}return e.transport})(),c=a?M({abi:n,eventName:a,args:o}):[],{unsubscribe:u}=await i.subscribe({params:["logs",{address:r,topics:c}],onData(e){if(!s)return;let r=e.result;try{let{eventName:e,args:o}=(0,eQ.F)({abi:n,data:r.data,topics:r.topics,strict:p}),i=(0,$.U)(r,{args:o,eventName:e});t.onLogs([i])}catch(i){let e,n;if(i instanceof C.SM||i instanceof C.Gy){if(p)return;e=i.abiItem.name,n=i.abiItem.inputs?.some(e=>!("name"in e&&e.name))}let o=(0,$.U)(r,{args:n?[]:{},eventName:e});t.onLogs([o])}},onError(e){t.onError?.(e)}});l=u,s||l()}catch(e){c?.(e)}})(),()=>l()))})()})(e,t),watchEvent:t=>(function(e,{address:t,args:n,batch:r=!0,event:o,events:i,fromBlock:a,onError:s,onLogs:c,poll:u,pollingInterval:l=e.pollingInterval,strict:d}){let p,h;let w=void 0!==u?u:"bigint"==typeof a||"webSocket"!==e.transport.type&&("fallback"!==e.transport.type||"webSocket"!==e.transport.transports[0].config.type),m=d??!1;return w?(()=>{let u=(0,eG.P)(["watchEvent",t,n,r,e.uid,o,l,a]);return(0,eq.N7)(u,{onLogs:c,onError:s},s=>{let c,u;void 0!==a&&(c=a-1n);let d=!1,p=(0,eU.$)(async()=>{if(!d){try{u=await (0,f.s)(e,O,"createEventFilter")({address:t,args:n,event:o,events:i,strict:m,fromBlock:a})}catch{}d=!0;return}try{let a;if(u)a=await (0,f.s)(e,ei,"getFilterChanges")({filter:u});else{let r=await (0,f.s)(e,K.z,"getBlockNumber")({});a=c&&c!==r?await (0,f.s)(e,_,"getLogs")({address:t,args:n,event:o,events:i,fromBlock:c+1n,toBlock:r}):[],c=r}if(0===a.length)return;if(r)s.onLogs(a);else for(let e of a)s.onLogs([e])}catch(e){u&&e instanceof eL.yR&&(d=!1),s.onError?.(e)}},{emitOnBegin:!0,interval:l});return async()=>{u&&await (0,f.s)(e,em,"uninstallFilter")({filter:u}),p()}})})():(p=!0,h=()=>p=!1,(async()=>{try{let r=(()=>{if("fallback"===e.transport.type){let t=e.transport.transports.find(e=>"webSocket"===e.config.type);return t?t.value:e.transport}return e.transport})(),a=i??(o?[o]:void 0),u=[];a&&(u=[a.flatMap(e=>M({abi:[e],eventName:e.name,args:n}))],o&&(u=u[0]));let{unsubscribe:l}=await r.subscribe({params:["logs",{address:t,topics:u}],onData(e){if(!p)return;let t=e.result;try{let{eventName:e,args:n}=(0,eQ.F)({abi:a??[],data:t.data,topics:t.topics,strict:m}),r=(0,$.U)(t,{args:n,eventName:e});c([r])}catch(o){let e,n;if(o instanceof C.SM||o instanceof C.Gy){if(d)return;e=o.abiItem.name,n=o.abiItem.inputs?.some(e=>!("name"in e&&e.name))}let r=(0,$.U)(t,{args:n?[]:{},eventName:e});c([r])}},onError(e){s?.(e)}});h=l,p||h()}catch(e){s?.(e)}})(),()=>h())})(e,t),watchPendingTransactions:t=>(function(e,{batch:t=!0,onError:n,onTransactions:r,poll:o,pollingInterval:i=e.pollingInterval}){let a,s;return(void 0!==o?o:"webSocket"!==e.transport.type)?(()=>{let o=(0,eG.P)(["watchPendingTransactions",e.uid,t,i]);return(0,eq.N7)(o,{onTransactions:r,onError:n},n=>{let r;let o=(0,eU.$)(async()=>{try{if(!r)try{r=await (0,f.s)(e,D,"createPendingTransactionFilter")({});return}catch(e){throw o(),e}let i=await (0,f.s)(e,ei,"getFilterChanges")({filter:r});if(0===i.length)return;if(t)n.onTransactions(i);else for(let e of i)n.onTransactions([e])}catch(e){n.onError?.(e)}},{emitOnBegin:!0,interval:i});return async()=>{r&&await (0,f.s)(e,em,"uninstallFilter")({filter:r}),o()}})})():(a=!0,s=()=>a=!1,(async()=>{try{let{unsubscribe:t}=await e.transport.subscribe({params:["newPendingTransactions"],onData(e){if(!a)return;let t=e.result;r([t])},onError(e){n?.(e)}});s=t,a||s()}catch(e){n?.(e)}})(),()=>s())})(e,t)}}function eV(e,t={}){let n=function(e,t={}){let n;try{n=e.getClient(t)}catch{}return n}(e,t);return n?.extend(eJ)}var eZ=n(23064),eY=n(24143);function eX(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,eY.Z)(e);return(0,eZ.useSyncExternalStoreWithSelector)(e=>(function(e,t){let{onChange:n}=t;return e.subscribe(()=>eV(e),n,{equalityFn:(e,t)=>e?.uid===t?.uid})})(t,{onChange:e}),()=>eV(t,e),()=>eV(t,e),e=>e,(e,t)=>(null==e?void 0:e.uid)===(null==t?void 0:t.uid))}},53091:function(e,t,n){"use strict";n.d(t,{Q:function(){return f}});var r=n(28103),o=n(14428),i=n(60517),a=n(72417);async function s(e,{account:t=e.account,message:n}){if(!t)throw new i.o({docsPath:"/docs/actions/wallet/signMessage"});let r=(0,o.T)(t);if(r.signMessage)return r.signMessage({message:n});let s="string"==typeof n?(0,a.$G)(n):n.raw instanceof Uint8Array?(0,a.NC)(n.raw):n.raw;return e.request({method:"personal_sign",params:[s,r.address]},{retryCount:0})}var c=n(84151),u=n(48792);async function l(e,t){let n;let{account:r,connector:o,...i}=t;return n="object"==typeof r&&"local"===r.type?e.getClient():await (0,u.e)(e,{account:r,connector:o}),(0,c.s)(n,s,"signMessage")({...i,...r?{account:r}:{}})}var d=n(24143);function f(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{mutation:n}=t,o=(e=(0,d.Z)(t),{mutationFn:t=>l(e,t),mutationKey:["signMessage"]}),{mutate:i,mutateAsync:a,...s}=(0,r.D)({...n,...o});return{...s,signMessage:i,signMessageAsync:a}}},22840:function(e,t,n){"use strict";n.d(t,{o:function(){return f}});var r=n(28103),o=n(18701),i=n(4858);async function a(e,t){let{addEthereumChainParameter:n,chainId:r}=t,a=e.state.connections.get(t.connector?.uid??e.state.current);if(a){let e=a.connector;if(!e.switchChain)throw new i.O({connector:e});return await e.switchChain({addEthereumChainParameter:n,chainId:r})}let s=e.chains.find(e=>e.id===r);if(!s)throw new o.X4;return e.setState(e=>({...e,chainId:r})),s}var s=n(14558);let c=[];function u(e){let t=e.chains;return(0,s.v)(c,t)?c:(c=t,t)}var l=n(46760),d=n(24143);function f(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{mutation:t}=e,n=(0,d.Z)(e),{mutate:o,mutateAsync:i,...s}=(0,r.D)({...t,mutationFn:e=>a(n,e),mutationKey:["switchChain"]});return{...s,chains:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,d.Z)(e);return(0,l.useSyncExternalStore)(e=>(function(e,t){let{onChange:n}=t;return e._internal.chains.subscribe((e,t)=>{n(e,t)})})(t,{onChange:e}),()=>u(t),()=>u(t))}({config:n}),switchChain:o,switchChainAsync:i}}}}]);
24
+ `),n.state&&(r+=" state:\n"+a(n.state)),n.stateDiff&&(r+=" stateDiff:\n"+a(n.stateDiff)),r}," State Override:\n").slice(0,-1)}},6255:function(e,t,n){"use strict";n.d(t,{C:function(){return r},G:function(){return o}});let r=e=>e,o=e=>e},56114:function(e,t,n){"use strict";n.d(t,{t:function(){return c}});var r=n(79022),o=n(8681),i=n(72417),a=n(22123),s=n(56026);function c(e){let{chainId:t,contractAddress:n,nonce:c,to:u}=e,l=(0,s.w)((0,r.SM)(["0x05",(0,a.LV)([(0,i.eC)(t),n,c?(0,i.eC)(c):"0x"])]));return"bytes"===u?(0,o.nr)(l):l}},10716:function(e,t,n){"use strict";n.d(t,{z:function(){return i}});var r=n(31678),o=n(56114);async function i(e){let{authorization:t,signature:n}=e;return(0,r.R)({hash:(0,o.t)(t),signature:n??t})}},24240:function(e,t,n){"use strict";n.d(t,{r:function(){return m}});var r=n(16096),o=n(46812),i=n(76113),a=n(80002),s=n(41690),c=n(6435),u=n(78326),l=n(58435),d=n(72417);function f(e,t={}){void 0!==t.size&&(0,l.Yf)(e,{size:t.size});let n=(0,d.ci)(e,t);return(0,l.ly)(n,t)}var p=n(8681),h=n(25756);function m(e,t){let n="string"==typeof t?(0,p.nr)(t):t,m=(0,i.q)(n);if(0===(0,a.d)(n)&&e.length>0)throw new r.wb;if((0,a.d)(t)&&32>(0,a.d)(t))throw new r.xB({data:"string"==typeof t?t:(0,d.ci)(t),params:e,size:(0,a.d)(t)});let y=0,b=[];for(let t=0;t<e.length;++t){let n=e[t];m.setPosition(y);let[i,a]=function e(t,n,{staticPosition:i}){let a=(0,h.S)(n.type);if(a){let[r,o]=a;return function(t,n,{length:r,staticPosition:o}){if(!r){let r=o+f(t.readBytes(32)),i=r+32;t.setPosition(r);let a=f(t.readBytes(32)),s=w(n),c=0,u=[];for(let r=0;r<a;++r){t.setPosition(i+(s?32*r:c));let[o,a]=e(t,n,{staticPosition:i});c+=a,u.push(o)}return t.setPosition(o+32),[u,32]}if(w(n)){let i=o+f(t.readBytes(32)),a=[];for(let o=0;o<r;++o){t.setPosition(i+32*o);let[r]=e(t,n,{staticPosition:i});a.push(r)}return t.setPosition(o+32),[a,32]}let i=0,a=[];for(let s=0;s<r;++s){let[r,s]=e(t,n,{staticPosition:o+i});i+=s,a.push(r)}return[a,i]}(t,{...n,type:o},{length:r,staticPosition:i})}if("tuple"===n.type)return function(t,n,{staticPosition:r}){let o=0===n.components.length||n.components.some(({name:e})=>!e),i=o?[]:{},a=0;if(w(n)){let s=r+f(t.readBytes(32));for(let r=0;r<n.components.length;++r){let c=n.components[r];t.setPosition(s+a);let[u,l]=e(t,c,{staticPosition:s});a+=l,i[o?r:c?.name]=u}return t.setPosition(r+32),[i,32]}for(let s=0;s<n.components.length;++s){let c=n.components[s],[u,l]=e(t,c,{staticPosition:r});i[o?s:c?.name]=u,a+=l}return[i,a]}(t,n,{staticPosition:i});if("address"===n.type)return function(e){let t=e.readBytes(32);return[(0,o.x)((0,d.ci)((0,s.T4)(t,-20))),32]}(t);if("bool"===n.type)return[function(e,t={}){let n=e;if(void 0!==t.size&&((0,l.Yf)(n,{size:t.size}),n=(0,c.f)(n)),n.length>1||n[0]>1)throw new u.yr(n);return!!n[0]}(t.readBytes(32),{size:32}),32];if(n.type.startsWith("bytes"))return function(e,t,{staticPosition:n}){let[r,o]=t.type.split("bytes");if(!o){let t=f(e.readBytes(32));e.setPosition(n+t);let r=f(e.readBytes(32));if(0===r)return e.setPosition(n+32),["0x",32];let o=e.readBytes(r);return e.setPosition(n+32),[(0,d.ci)(o),32]}return[(0,d.ci)(e.readBytes(Number.parseInt(o),32)),32]}(t,n,{staticPosition:i});if(n.type.startsWith("uint")||n.type.startsWith("int"))return function(e,t){let n=t.type.startsWith("int"),r=Number.parseInt(t.type.split("int")[1]||"256"),o=e.readBytes(32);return[r>48?function(e,t={}){void 0!==t.size&&(0,l.Yf)(e,{size:t.size});let n=(0,d.ci)(e,t);return(0,l.y_)(n,t)}(o,{signed:n}):f(o,{signed:n}),32]}(t,n);if("string"===n.type)return function(e,{staticPosition:t}){let n=f(e.readBytes(32));e.setPosition(t+n);let r=f(e.readBytes(32));if(0===r)return e.setPosition(t+32),["",32];let o=e.readBytes(r,32),i=function(e,t={}){let n=e;return void 0!==t.size&&((0,l.Yf)(n,{size:t.size}),n=(0,c.f)(n,{dir:"right"})),new TextDecoder().decode(n)}((0,c.f)(o));return e.setPosition(t+32),[i,32]}(t,{staticPosition:i});throw new r.CI(n.type,{docsPath:"/docs/contract/decodeAbiParameters"})}(m,n,{staticPosition:0});y+=a,b.push(i)}return b}function w(e){let{type:t}=e;if("string"===t||"bytes"===t||t.endsWith("[]"))return!0;if("tuple"===t)return e.components?.some(w);let n=(0,h.S)(e.type);return!!(n&&w({...e,type:n[1]}))}},59867:function(e,t,n){"use strict";n.d(t,{p:function(){return u}});var r=n(38136),o=n(16096),i=n(41690),a=n(83258),s=n(24240),c=n(43067);function u(e){let{abi:t,data:n}=e,u=(0,i.tP)(n,0,4);if("0x"===u)throw new o.wb;let l=[...t||[],r.Up,r.hZ].find(e=>"error"===e.type&&u===(0,a.C)((0,c.t)(e)));if(!l)throw new o.yP(u,{docsPath:"/docs/contract/decodeErrorResult"});return{abiItem:l,args:"inputs"in l&&l.inputs&&l.inputs.length>0?(0,s.r)(l.inputs,(0,i.tP)(n,4)):void 0,errorName:l.name}}},99278:function(e,t,n){"use strict";n.d(t,{F:function(){return l}});var r=n(16096),o=n(80002),i=n(15672),a=n(57243),s=n(24240),c=n(43067);let u="/docs/contract/decodeEventLog";function l(e){let{abi:t,data:n,strict:l,topics:d}=e,f=l??!0,[p,...h]=d;if(!p)throw new r.FM({docsPath:u});let m=1===t.length?t[0]:t.find(e=>"event"===e.type&&p===(0,i.n)((0,c.t)(e)));if(!(m&&"name"in m)||"event"!==m.type)throw new r.lC(p,{docsPath:u});let{name:w,inputs:y}=m,b=y?.some(e=>!("name"in e&&e.name)),g=b?[]:{},A=y.filter(e=>"indexed"in e&&e.indexed);for(let e=0;e<A.length;e++){let t=A[e],n=h[e];if(!n)throw new r.Gy({abiItem:m,param:t});g[b?e:t.name||e]=function({param:e,value:t}){return"string"===e.type||"bytes"===e.type||"tuple"===e.type||e.type.match(/^(.*)\[(\d+)?\]$/)?t:((0,s.r)([e],t)||[])[0]}({param:t,value:n})}let v=y.filter(e=>!("indexed"in e&&e.indexed));if(v.length>0){if(n&&"0x"!==n)try{let e=(0,s.r)(v,n);if(e){if(b)g=[...g,...e];else for(let t=0;t<v.length;t++)g[v[t].name]=e[t]}}catch(e){if(f){if(e instanceof r.xB||e instanceof a.lQ)throw new r.SM({abiItem:m,data:n,params:v,size:(0,o.d)(n)});throw e}}else if(f)throw new r.SM({abiItem:m,data:"0x",params:v,size:0})}return{eventName:w,args:Object.values(g).length>0?g:void 0}}},22587:function(e,t,n){"use strict";n.d(t,{k:function(){return s}});var r=n(16096),o=n(24240),i=n(67278);let a="/docs/contract/decodeFunctionResult";function s(e){let{abi:t,args:n,functionName:s,data:c}=e,u=t[0];if(s){let e=(0,i.mE)({abi:t,args:n,name:s});if(!e)throw new r.xL(s,{docsPath:a});u=e}if("function"!==u.type)throw new r.xL(void 0,{docsPath:a});if(!u.outputs)throw new r.MX(u.name,{docsPath:a});let l=(0,o.r)(u.outputs,c);return l&&l.length>1?l:l&&1===l.length?l[0]:void 0}},25756:function(e,t,n){"use strict";n.d(t,{E:function(){return f},S:function(){return h}});var r=n(16096),o=n(67832),i=n(86708),a=n(15254),s=n(79022),c=n(14623),u=n(80002),l=n(41690),d=n(72417);function f(e,t){if(e.length!==t.length)throw new r.fs({expectedLength:e.length,givenLength:t.length});let n=p(function({params:e,values:t}){let n=[];for(let f=0;f<e.length;f++)n.push(function e({param:t,value:n}){let f=h(t.type);if(f){let[o,i]=f;return function(t,{length:n,param:o}){let i=null===n;if(!Array.isArray(t))throw new r.hn(t);if(!i&&t.length!==n)throw new r.gr({expectedLength:n,givenLength:t.length,type:`${o.type}[${n}]`});let a=!1,c=[];for(let n=0;n<t.length;n++){let r=e({param:o,value:t[n]});r.dynamic&&(a=!0),c.push(r)}if(i||a){let e=p(c);if(i){let t=(0,d.eC)(c.length,{size:32});return{dynamic:!0,encoded:c.length>0?(0,s.zo)([t,e]):t}}if(a)return{dynamic:!0,encoded:e}}return{dynamic:!1,encoded:(0,s.zo)(c.map(({encoded:e})=>e))}}(n,{length:o,param:{...t,type:i}})}if("tuple"===t.type)return function(t,{param:n}){let r=!1,o=[];for(let i=0;i<n.components.length;i++){let a=n.components[i],s=Array.isArray(t)?i:a.name,c=e({param:a,value:t[s]});o.push(c),c.dynamic&&(r=!0)}return{dynamic:r,encoded:r?p(o):(0,s.zo)(o.map(({encoded:e})=>e))}}(n,{param:t});if("address"===t.type)return function(e){if(!(0,a.U)(e))throw new o.b({address:e});return{dynamic:!1,encoded:(0,c.gc)(e.toLowerCase())}}(n);if("bool"===t.type)return function(e){if("boolean"!=typeof e)throw new i.G(`Invalid boolean value: "${e}" (type: ${typeof e}). Expected: \`true\` or \`false\`.`);return{dynamic:!1,encoded:(0,c.gc)((0,d.C4)(e))}}(n);if(t.type.startsWith("uint")||t.type.startsWith("int"))return function(e,{signed:t}){return{dynamic:!1,encoded:(0,d.eC)(e,{size:32,signed:t})}}(n,{signed:t.type.startsWith("int")});if(t.type.startsWith("bytes"))return function(e,{param:t}){let[,n]=t.type.split("bytes"),o=(0,u.d)(e);if(!n){let t=e;return o%32!=0&&(t=(0,c.gc)(t,{dir:"right",size:32*Math.ceil((e.length-2)/2/32)})),{dynamic:!0,encoded:(0,s.zo)([(0,c.gc)((0,d.eC)(o,{size:32})),t])}}if(o!==Number.parseInt(n))throw new r.M4({expectedSize:Number.parseInt(n),value:e});return{dynamic:!1,encoded:(0,c.gc)(e,{dir:"right"})}}(n,{param:t});if("string"===t.type)return function(e){let t=(0,d.$G)(e),n=Math.ceil((0,u.d)(t)/32),r=[];for(let e=0;e<n;e++)r.push((0,c.gc)((0,l.tP)(t,32*e,(e+1)*32),{dir:"right"}));return{dynamic:!0,encoded:(0,s.zo)([(0,c.gc)((0,d.eC)((0,u.d)(t),{size:32})),...r])}}(n);throw new r.dh(t.type,{docsPath:"/docs/contract/encodeAbiParameters"})}({param:e[f],value:t[f]}));return n}({params:e,values:t}));return 0===n.length?"0x":n}function p(e){let t=0;for(let n=0;n<e.length;n++){let{dynamic:r,encoded:o}=e[n];r?t+=32:t+=(0,u.d)(o)}let n=[],r=[],o=0;for(let i=0;i<e.length;i++){let{dynamic:a,encoded:s}=e[i];a?(n.push((0,d.eC)(t+o,{size:32})),r.push(s),o+=(0,u.d)(s)):n.push(s)}return(0,s.zo)([...n,...r])}function h(e){let t=e.match(/^(.*)\[(\d+)?\]$/);return t?[t[2]?Number(t[2]):null,t[1]]:void 0}},17146:function(e,t,n){"use strict";n.d(t,{w:function(){return s}});var r=n(16096),o=n(79022),i=n(25756);let a="/docs/contract/encodeDeployData";function s(e){let{abi:t,args:n,bytecode:s}=e;if(!n||0===n.length)return s;let c=t.find(e=>"type"in e&&"constructor"===e.type);if(!c)throw new r.fM({docsPath:a});if(!("inputs"in c)||!c.inputs||0===c.inputs.length)throw new r.cO({docsPath:a});let u=(0,i.E)(c.inputs,n);return(0,o.SM)([s,u])}},82544:function(e,t,n){"use strict";n.d(t,{R:function(){return l}});var r=n(79022),o=n(25756),i=n(16096),a=n(83258),s=n(43067),c=n(67278);let u="/docs/contract/encodeFunctionData";function l(e){let{args:t}=e,{abi:n,functionName:l}=1===e.abi.length&&e.functionName?.startsWith("0x")?e:function(e){let{abi:t,args:n,functionName:r}=e,o=t[0];if(r){let e=(0,c.mE)({abi:t,args:n,name:r});if(!e)throw new i.xL(r,{docsPath:u});o=e}if("function"!==o.type)throw new i.xL(void 0,{docsPath:u});return{abi:[o],functionName:(0,a.C)((0,s.t)(o))}}(e),d=n[0],f="inputs"in d&&d.inputs?(0,o.E)(d.inputs,t??[]):void 0;return(0,r.SM)([l,f??"0x"])}},43067:function(e,t,n){"use strict";n.d(t,{h:function(){return i},t:function(){return o}});var r=n(16096);function o(e,{includeName:t=!1}={}){if("function"!==e.type&&"event"!==e.type&&"error"!==e.type)throw new r.wM(e.type);return`${e.name}(${i(e.inputs,{includeName:t})})`}function i(e,{includeName:t=!1}={}){return e?e.map(e=>(function(e,{includeName:t}){return e.type.startsWith("tuple")?`(${i(e.components,{includeName:t})})${e.type.slice(5)}`:e.type+(t&&e.name?` ${e.name}`:"")})(e,{includeName:t})).join(t?", ":","):""}},67278:function(e,t,n){"use strict";n.d(t,{mE:function(){return c}});var r=n(16096),o=n(25006),i=n(15254),a=n(15672),s=n(83258);function c(e){let t;let{abi:n,args:c=[],name:u}=e,l=(0,o.v)(u,{strict:!1}),d=n.filter(e=>l?"function"===e.type?(0,s.C)(e)===u:"event"===e.type&&(0,a.n)(e)===u:"name"in e&&e.name===u);if(0!==d.length){if(1===d.length)return d[0];for(let e of d)if("inputs"in e){if(!c||0===c.length){if(!e.inputs||0===e.inputs.length)return e;continue}if(e.inputs&&0!==e.inputs.length&&e.inputs.length===c.length&&c.every((t,n)=>{let r="inputs"in e&&e.inputs[n];return!!r&&function e(t,n){let r=typeof t,o=n.type;switch(o){case"address":return(0,i.U)(t,{strict:!1});case"bool":return"boolean"===r;case"function":case"string":return"string"===r;default:if("tuple"===o&&"components"in n)return Object.values(n.components).every((n,r)=>e(Object.values(t)[r],n));if(/^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(o))return"number"===r||"bigint"===r;if(/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/.test(o))return"string"===r||t instanceof Uint8Array;if(/[a-z]+[1-9]{0,3}(\[[0-9]{0,}\])+$/.test(o))return Array.isArray(t)&&t.every(t=>e(t,{...n,type:o.replace(/(\[[0-9]{0,}\])$/,"")}));return!1}}(t,r)})){if(t&&"inputs"in t&&t.inputs){let n=function e(t,n,r){for(let o in t){let a=t[o],s=n[o];if("tuple"===a.type&&"tuple"===s.type&&"components"in a&&"components"in s)return e(a.components,s.components,r[o]);let c=[a.type,s.type];if(c.includes("address")&&c.includes("bytes20")||(c.includes("address")&&c.includes("string")||c.includes("address")&&c.includes("bytes"))&&(0,i.U)(r[o],{strict:!1}))return c}}(e.inputs,t.inputs,c);if(n)throw new r.S4({abiItem:e,type:n[0]},{abiItem:t,type:n[1]})}t=e}}return t||d[0]}}},68943:function(e,t,n){"use strict";n.d(t,{h:function(){return u}});var r=n(16096),o=n(92130),i=n(8681),a=n(56026),s=n(15672),c=n(99278);function u(e){let{abi:t,args:n,logs:u,strict:l=!0}=e,d=(()=>{if(e.eventName)return Array.isArray(e.eventName)?e.eventName:[e.eventName]})();return u.map(e=>{try{let r=t.find(t=>"event"===t.type&&e.topics[0]===(0,s.n)(t));if(!r)return null;let u=(0,c.F)({...e,abi:[r],strict:l});if(d&&!d.includes(u.eventName)||!function(e){let{args:t,inputs:n,matchArgs:r}=e;if(!r)return!0;if(!t)return!1;function s(e,t,n){try{if("address"===e.type)return(0,o.E)(t,n);if("string"===e.type||"bytes"===e.type)return(0,a.w)((0,i.O0)(t))===n;return t===n}catch{return!1}}return Array.isArray(t)&&Array.isArray(r)?r.every((e,r)=>{if(null==e)return!0;let o=n[r];return!!o&&(Array.isArray(e)?e:[e]).some(e=>s(o,e,t[r]))}):!("object"!=typeof t||Array.isArray(t)||"object"!=typeof r||Array.isArray(r))&&Object.entries(r).every(([e,r])=>{if(null==r)return!0;let o=n.find(t=>t.name===e);return!!o&&(Array.isArray(r)?r:[r]).some(n=>s(o,n,t[e]))})}({args:u.args,inputs:r.inputs,matchArgs:n}))return null;return{...u,...e}}catch(o){let t,n;if(o instanceof r.lC)return null;if(o instanceof r.SM||o instanceof r.Gy){if(l)return null;t=o.abiItem.name,n=o.abiItem.inputs?.some(e=>!("name"in e&&e.name))}return{...e,args:n?[]:{},eventName:t}}}).filter(Boolean)}},92130:function(e,t,n){"use strict";n.d(t,{E:function(){return i}});var r=n(67832),o=n(15254);function i(e,t){if(!(0,o.U)(e,{strict:!1}))throw new r.b({address:e});if(!(0,o.U)(t,{strict:!1}))throw new r.b({address:t});return e.toLowerCase()===t.toLowerCase()}},63672:function(e,t,n){"use strict";n.d(t,{L:function(){return o}});var r=n(14366);function o({blockNumber:e,chain:t,contract:n}){let o=t?.contracts?.[n];if(!o)throw new r.mm({chain:t,contract:{name:n}});if(e&&o.blockCreated&&o.blockCreated>e)throw new r.mm({blockNumber:e,chain:t,contract:{name:n,blockCreated:o.blockCreated}});return o.address}},59681:function(e,t,n){"use strict";n.d(t,{i:function(){return o}});var r=n(25006);function o(e){if(66!==e.length||0!==e.indexOf("[")||65!==e.indexOf("]"))return null;let t=`0x${e.slice(1,65)}`;return(0,r.v)(t)?t:null}},37988:function(e,t,n){"use strict";n.d(t,{c:function(){return a}});var r=n(38136),o=n(86708),i=n(20840);function a(e,t){if(!(e instanceof o.G))return!1;let n=e.walk(e=>e instanceof i.Lu);return n instanceof i.Lu&&(!!(n.data?.errorName==="ResolverNotFound"||n.data?.errorName==="ResolverWildcardNotSupported"||n.data?.errorName==="ResolverNotContract"||n.data?.errorName==="ResolverError"||n.data?.errorName==="HttpError"||n.reason?.includes("Wildcard on non-extended resolvers is not supported"))||"reverse"===t&&n.reason===r.$[50])}},13722:function(e,t,n){"use strict";n.d(t,{V:function(){return c}});var r=n(79022),o=n(8681),i=n(72417),a=n(56026),s=n(59681);function c(e){let t=new Uint8Array(32).fill(0);if(!e)return(0,i.ci)(t);let n=e.split(".");for(let e=n.length-1;e>=0;e-=1){let i=(0,s.i)(n[e]),c=i?(0,o.O0)(i):(0,a.w)((0,o.qX)(n[e]),"bytes");t=(0,a.w)((0,r.zo)([t,c]),"bytes")}return(0,i.ci)(t)}},48741:function(e,t,n){"use strict";let r,o,i,a,s,c,u,l,d,f,p,h,m,w,y;n.d(t,{F:function(){return H}});let b=new Map([[8217,"apostrophe"],[8260,"fraction slash"],[12539,"middle dot"]]);function g(e){var t;let n;return t=function(e){let t=0;function n(){return e[t++]<<8|e[t++]}let r=n(),o=1,i=[0,1];for(let e=1;e<r;e++)i.push(o+=n());let a=n(),s=t;t+=a;let c=0,u=0;function l(){return 0==c&&(u=u<<8|e[t++],c=8),u>>--c&1}let d=2147483648-1,f=0;for(let e=0;e<31;e++)f=f<<1|l();let p=[],h=0,m=2147483648;for(;;){let e=Math.floor(((f-h+1)*o-1)/m),t=0,n=r;for(;n-t>1;){let r=t+n>>>1;e<i[r]?n=r:t=r}if(0==t)break;p.push(t);let a=h+Math.floor(m*i[t]/o),s=h+Math.floor(m*i[t+1]/o)-1;for(;((a^s)&1073741824)==0;)f=f<<1&d|l(),a=a<<1&d,s=s<<1&d|1;for(;a&~s&536870912;)f=1073741824&f|f<<1&d>>>1|l(),a=a<<1^1073741824,s=(1073741824^s)<<1|1073741825;h=a,m=1+s-a}let w=r-4;return p.map(t=>{switch(t-w){case 3:return w+65792+(e[s++]<<16|e[s++]<<8|e[s++]);case 2:return w+256+(e[s++]<<8|e[s++]);case 1:return w+e[s++];default:return t-1}})}(function(e){let t=[];[..."ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"].forEach((e,n)=>t[e.charCodeAt(0)]=n);let n=e.length,r=new Uint8Array(6*n>>3);for(let o=0,i=0,a=0,s=0;o<n;o++)s=s<<6|t[e.charCodeAt(o)],(a+=6)>=8&&(r[i++]=s>>(a-=8));return r}(e)),n=0,()=>t[n++]}function A(e,t=0){let n=[];for(;;){let r=e(),o=e();if(!o)break;t+=r;for(let e=0;e<o;e++)n.push(t+e);t+=o+1}return n}function v(e){return C(()=>{let t=A(e);if(t.length)return t})}function E(e){let t=[];for(;;){let n=e();if(0==n)break;t.push(function(e,t){let n=1+t(),r=t(),o=C(t);return x(o.length,1+e,t).flatMap((e,t)=>{let[i,...a]=e;return Array(o[t]).fill().map((e,t)=>{let o=t*r;return[i+t*n,a.map(e=>e+o)]})})}(n,e))}for(;;){let n=e()-1;if(n<0)break;t.push(x(1+e(),1+n,e).map(e=>[e[0],e.slice(1)]))}return t.flat()}function C(e){let t=[];for(;;){let n=e(t.length);if(!n)break;t.push(n)}return t}function x(e,t,n){let r=Array(e).fill().map(()=>[]);for(let o=0;o<t;o++)(function(e,t){let n=Array(e);for(let o=0,i=0;o<e;o++){var r;n[o]=i+=1&(r=t())?~r>>1:r>>1}return n})(e,n).forEach((e,t)=>r[t].push(e));return r}function B(e){return`{${e.toString(16).toUpperCase().padStart(2,"0")}}`}function k(e){let t=e.length;if(t<4096)return String.fromCodePoint(...e);let n=[];for(let r=0;r<t;)n.push(String.fromCodePoint(...e.slice(r,r+=4096)));return n.join("")}function I(e,t){let n=e.length,r=n-t.length;for(let o=0;0==r&&o<n;o++)r=e[o]-t[o];return r}function P(e){return e>>24&255}function N(e){return 16777215&e}function M(e){return e>=44032&&e<55204}function F(e){r||function(){let e=g("AEUDVgHLCGMATwDUADIAdAAhADQAFAAtABQAIQAPACcADQASAAoAGAAJABIACQARAAUACwAFAAwABQAQAAMABwAEAAoABQAJAAIACgABAAQAF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t)&&2==n.length){let[e,r]=n,o=a.get(e);o||(o=new Map,a.set(e,o)),o.set(r,t)}i.set(t,n.reverse())}}();let t=[],n=[],s=!1;function c(e){let n=r.get(e);n&&(s=!0,e|=n),t.push(e)}for(let r of e)for(;;){if(r<128)t.push(r);else if(M(r)){let e=r-44032,t=e/588|0,n=e%588/28|0,o=e%28;c(4352+t),c(4449+n),o>0&&c(4519+o)}else{let e=i.get(r);e?n.push(...e):c(r)}if(!n.length)break;r=n.pop()}if(s&&t.length>1){let e=P(t[0]);for(let n=1;n<t.length;n++){let r=P(t[n]);if(0==r||e<=r){e=r;continue}let o=n-1;for(;;){let n=t[o+1];if(t[o+1]=t[o],t[o]=n,!o||(e=P(t[--o]))<=r)break}e=P(t[n])}}return t}function R(e){return function(e){let t=[],n=[],r=-1,o=0;for(let i of e){let e=P(i),s=N(i);if(-1==r)0==e?r=s:t.push(s);else if(o>0&&o>=e)0==e?(t.push(r,...n),n.length=0,r=s):n.push(s),o=e;else{let i=function(e,t){if(e>=4352&&e<4371&&t>=4449&&t<4470)return 44032+(e-4352)*588+(t-4449)*28;if(M(e)&&t>4519&&t<4547&&(e-44032)%28==0)return e+(t-4519);{let n=a.get(e);return n&&(n=n.get(t))?n:-1}}(r,s);i>=0?r=i:0==o&&0==e?(t.push(r),r=s):(n.push(s),o=e)}}return r>=0&&t.push(r,...n),t}(F(e))}let S=e=>Array.from(e);function O(e,t){return e.P.has(t)||e.Q.has(t)}class T extends Array{get is_emoji(){return!0}}function D(){let e,t;if(s)return;let n=g("AEkU4AngDVgB0QKRAQYBOwDqATEAnwDbAIUApABsAOAAbwCRAEYAiQBPAHYAPgA+ACsANwAlAGMAHwAvACsAJQAWAC8AGwAiACIALwAUACsAEQAiAAsAGwARABcAGAA6ACkALAAsADUAFgAsABEAHQAhAA8AGwAdABUAFgAZAA0ADQAXABAAGQAUABIEqgYJAR4UFjfDBdMAsQCuPwFnAKUBA10jAK5/Ly8vLwE/pwUJ6/0HPwbkMQVXBVgA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J27z+opj50Ak9af2LCNrWrBJvMovA1OeNO+MF/MwZvnaCxTgG7Cw4QfSPF6AYCGFt21M8PySZFeV3t2Rqqs5JMzMYzGRgq4o+UaKRgBf9GHi/9X9HXA3wxkCsd/UhnHSh2zUVDiraio/6nP4y3XJqs8ABfALAtCYU7DHPMPRjgcM6Ad/HiSXDAbOdSMkvGZPAkHs8wuQTy6X2Ov/JFvcPuKfV3/r9Q28"),r=()=>A(n),o=()=>new Set(r()),i=(e,t)=>t.forEach(t=>e.add(t));s=new Map(E(n)),c=o(),u=r(),l=new Set(r().map(e=>u[e])),u=new Set(u),d=o(),o();let a=v(n),b=n(),x=()=>{let e=new Set;return r().forEach(t=>i(e,a[t])),i(e,r()),e};f=C(e=>{let t=C(n).map(e=>e+96);if(t.length){let r=e>=b;return t[0]-=32,t=k(t),r&&(t=`Restricted[${t}]`),{N:t,P:x(),Q:x(),M:!n(),R:r}}}),p=o(),h=new Map;let B=r().concat(S(p)).sort((e,t)=>e-t);for(let{V:e,M:t}of(B.forEach((e,t)=>{let r=n(),o=B[t]=r?B[t-r]:{V:[],M:new Map};o.V.push(e),p.has(e)||h.set(e,o)}),new Set(h.values()))){let n=[];for(let t of e){let e=f.filter(e=>O(e,t)),r=n.find(({G:t})=>e.some(e=>t.has(e)));r||(r={G:new Set,V:[]},n.push(r)),r.V.push(t),i(r.G,e)}let r=n.flatMap(e=>S(e.G));for(let{G:e,V:o}of n){let n=new Set(r.filter(t=>!e.has(t)));for(let e of o)t.set(e,n)}}m=new Set;let P=new Set,M=e=>m.has(e)?P.add(e):m.add(e);for(let e of f){for(let t of e.P)M(t);for(let t of e.Q)M(t)}for(let e of m)h.has(e)||P.has(e)||h.set(e,1);for(let r of(i(m,F(m).map(N)),w=(e=[],t=A(n),function t({S:n,B:r},o,i){if(!(4&n)||i!==o[o.length-1])for(let a of(2&n&&(i=o[o.length-1]),1&n&&e.push(o),r))for(let e of a.Q)t(a,[...o,e],i)}(function e(r){return{S:n(),B:C(()=>{let r=A(n).map(e=>t[e]);if(r.length)return e(r)}),Q:r}}([]),[]),e).map(e=>T.from(e)).sort(I),y=new Map,w)){let e=[y];for(let t of r){let n=e.map(e=>{let n=e.get(t);return n||(n=new Map,e.set(t,n)),n});65039===t?e.push(...n):e=n}for(let t of e)t.V=r}}function L(e){return(U(e)?"":`${Q(q([e]))} `)+B(e)}function Q(e){return`"${e}"\u200E`}function q(e,t=1/0,n=B){var r;let o=[];r=e[0],D(),u.has(r)&&o.push("◌"),e.length>t&&(t>>=1,e=[...e.slice(0,t),8230,...e.slice(-t)]);let i=0,a=e.length;for(let t=0;t<a;t++){let r=e[t];U(r)&&(o.push(k(e.slice(i,t))),o.push(n(r)),i=t+1)}return o.push(k(e.slice(i,a))),o.join("")}function U(e){return D(),d.has(e)}function G(e){return Error(`disallowed character: ${L(e)}`)}function W(e,t){let n=L(t),r=f.find(e=>e.P.has(t));return r&&(n=`${r.N} ${n}`),Error(`illegal mixture: ${e.N} + ${n}`)}function z(e){return Error(`illegal placement: ${e}`)}function j(e){return e.filter(e=>65039!=e)}function H(e){var t;return(t=function(e,t,n){if(!e)return[];D();let r=0;return e.split(".").map(e=>{let o=function(e){let t=[];for(let n=0,r=e.length;n<r;){let r=e.codePointAt(n);n+=r<65536?1:2,t.push(r)}return t}(e),i={input:o,offset:r};r+=o.length+1;try{let e,r=i.tokens=function(e,t,n){let r=[],o=[];for(e=e.slice().reverse();e.length;){let i=function(e,t){let n,r=y,o=e.length;for(;o&&(r=r.get(e[--o]));){let{V:t}=r;t&&(n=t,e.length=o)}return n}(e);if(i)o.length&&(r.push(t(o)),o=[]),r.push(n(i));else{let t=e.pop();if(m.has(t))o.push(t);else{let e=s.get(t);if(e)o.push(...e);else if(!c.has(t))throw G(t)}}}return o.length&&r.push(t(o)),r}(o,t,n),a=r.length;if(!a)throw Error("empty label");let d=i.output=r.flat();if(!function(e){for(let t=e.lastIndexOf(95);t>0;)if(95!==e[--t])throw Error("underscore allowed only at start")}(d),!(i.emoji=a>1||r[0].is_emoji)&&d.every(e=>e<128))!function(e){if(e.length>=4&&45==e[2]&&45==e[3])throw Error(`invalid label extension: "${k(e.slice(0,4))}"`)}(d),e="ASCII";else{let t=r.flatMap(e=>e.is_emoji?[]:e);if(t.length){if(u.has(d[0]))throw z("leading combining mark");for(let e=1;e<a;e++){let t=r[e];if(!t.is_emoji&&u.has(t[0]))throw z(`emoji + combining mark: "${k(r[e-1])} + ${q([t[0]])}"`)}!function(e){let t=e[0],n=b.get(t);if(n)throw z(`leading ${n}`);let r=e.length,o=-1;for(let i=1;i<r;i++){t=e[i];let r=b.get(t);if(r){if(o==i)throw z(`${n} + ${r}`);o=i+1,n=r}}if(o==r)throw z(`trailing ${n}`)}(d);let n=S(new Set(t)),[o]=function(e){let t=f;for(let n of e){let e=t.filter(e=>O(e,n));if(!e.length){if(f.some(e=>O(e,n)))throw W(t[0],n);throw G(n)}if(t=e,1==e.length)break}return t}(n);(function(e,t){for(let n of t)if(!O(e,n))throw W(e,n);if(e.M){let e=F(t).map(N);for(let t=1,n=e.length;t<n;t++)if(l.has(e[t])){let r=t+1;for(let o;r<n&&l.has(o=e[r]);r++)for(let n=t;n<r;n++)if(e[n]==o)throw Error(`duplicate non-spacing marks: ${L(o)}`);if(r-t>4)throw Error(`excessive non-spacing marks: ${Q(q(e.slice(t-1,r)))} (${r-t}/4)`);t=r}}})(o,t),function(e,t){let n;let r=[];for(let e of t){let t=h.get(e);if(1===t)return;if(t){let r=t.M.get(e);if(!(n=n?n.filter(e=>r.has(e)):S(r)).length)return}else r.push(e)}if(n){for(let t of n)if(r.every(e=>O(t,e)))throw Error(`whole-script confusable: ${e.N}/${t.N}`)}}(o,n),e=o.N}else e="Emoji"}i.type=e}catch(e){i.error=e}return i})}(e,R,j)).map(({input:e,error:n,output:r})=>{if(n){let r=n.message;throw Error(1==t.length?r:`Invalid label ${Q(q(e,63))}: ${r}`)}return k(r)}).join(".")}},49917:function(e,t,n){"use strict";n.d(t,{T:function(){return s}});var r=n(8681),o=n(72417),i=n(56026),a=n(59681);function s(e){let t=e.replace(/^\.|\.$/gm,"");if(0===t.length)return new Uint8Array(1);let n=new Uint8Array((0,r.qX)(t).byteLength+2),s=0,c=t.split(".");for(let e=0;e<c.length;e++){let t=(0,r.qX)(c[e]);if(t.byteLength>255){var u;t=(0,r.qX)((u=function(e){let t=new Uint8Array(32).fill(0);return e?(0,a.i)(e)||(0,i.w)((0,r.qX)(e)):(0,o.ci)(t)}(c[e]),`[${u.slice(2)}]`))}n[s]=t.length,n.set(t,s+1),s+=t.length+1}return n.byteLength!==s+1?n.slice(0,s+1):n}},32171:function(e,t,n){"use strict";n.d(t,{S:function(){return s}});var r=n(16096),o=n(86708),i=n(20840),a=n(98094);function s(e,{abi:t,address:n,args:s,docsPath:c,functionName:u,sender:l}){let{code:d,data:f,message:p,shortMessage:h}=e instanceof i.VQ?e:e instanceof o.G?e.walk(e=>"data"in e)||e.walk():{},m=e instanceof r.wb?new i.Dk({functionName:u}):[3,a.XS.code].includes(d)&&(f||p||h)?new i.Lu({abi:t,data:"object"==typeof f?f.data:f,functionName:u,message:h??p}):e;return new i.uq(m,{abi:t,args:s,contractAddress:n,docsPath:c,functionName:u,sender:l})}},76783:function(e,t,n){"use strict";n.d(t,{k:function(){return i}});var r=n(86708),o=n(33722);function i(e,t){let n=(e.details||"").toLowerCase(),i=e instanceof r.G?e.walk(e=>e?.code===o.M_.code):e;return i instanceof r.G?new o.M_({cause:e,message:i.details}):o.M_.nodeMessage.test(n)?new o.M_({cause:e,message:e.details}):o.Hh.nodeMessage.test(n)?new o.Hh({cause:e,maxFeePerGas:t?.maxFeePerGas}):o.G$.nodeMessage.test(n)?new o.G$({cause:e,maxFeePerGas:t?.maxFeePerGas}):o.ZI.nodeMessage.test(n)?new o.ZI({cause:e,nonce:t?.nonce}):o.vU.nodeMessage.test(n)?new o.vU({cause:e,nonce:t?.nonce}):o.se.nodeMessage.test(n)?new o.se({cause:e,nonce:t?.nonce}):o.C_.nodeMessage.test(n)?new o.C_({cause:e}):o.WF.nodeMessage.test(n)?new o.WF({cause:e,gas:t?.gas}):o.dR.nodeMessage.test(n)?new o.dR({cause:e,gas:t?.gas}):o.pZ.nodeMessage.test(n)?new o.pZ({cause:e}):o.cs.nodeMessage.test(n)?new o.cs({cause:e,maxFeePerGas:t?.maxFeePerGas,maxPriorityFeePerGas:t?.maxPriorityFeePerGas}):new o.cj({cause:e})}},25606:function(e,t,n){"use strict";function r(e,{format:t}){if(!t)return{};let n={};return!function t(r){for(let o of Object.keys(r))o in e&&(n[o]=e[o]),r[o]&&"object"==typeof r[o]&&!Array.isArray(r[o])&&t(r[o])}(t(e||{})),n}n.d(t,{K:function(){return r}})},50540:function(e,t,n){"use strict";n.d(t,{tG:function(){return i}});var r=n(72417);let o={legacy:"0x0",eip2930:"0x1",eip1559:"0x2",eip4844:"0x3",eip7702:"0x4"};function i(e){let t={};return void 0!==e.authorizationList&&(t.authorizationList=e.authorizationList.map(e=>({address:e.contractAddress,r:e.r,s:e.s,chainId:(0,r.eC)(e.chainId),nonce:(0,r.eC)(e.nonce),...void 0!==e.yParity?{yParity:(0,r.eC)(e.yParity)}:{},...void 0!==e.v&&void 0===e.yParity?{v:(0,r.eC)(e.v)}:{}}))),void 0!==e.accessList&&(t.accessList=e.accessList),void 0!==e.blobVersionedHashes&&(t.blobVersionedHashes=e.blobVersionedHashes),void 0!==e.blobs&&("string"!=typeof e.blobs[0]?t.blobs=e.blobs.map(e=>(0,r.ci)(e)):t.blobs=e.blobs),void 0!==e.data&&(t.data=e.data),void 0!==e.from&&(t.from=e.from),void 0!==e.gas&&(t.gas=(0,r.eC)(e.gas)),void 0!==e.gasPrice&&(t.gasPrice=(0,r.eC)(e.gasPrice)),void 0!==e.maxFeePerBlobGas&&(t.maxFeePerBlobGas=(0,r.eC)(e.maxFeePerBlobGas)),void 0!==e.maxFeePerGas&&(t.maxFeePerGas=(0,r.eC)(e.maxFeePerGas)),void 0!==e.maxPriorityFeePerGas&&(t.maxPriorityFeePerGas=(0,r.eC)(e.maxPriorityFeePerGas)),void 0!==e.nonce&&(t.nonce=(0,r.eC)(e.nonce)),void 0!==e.to&&(t.to=e.to),void 0!==e.type&&(t.type=o[e.type]),void 0!==e.value&&(t.value=(0,r.eC)(e.value)),t}},15672:function(e,t,n){"use strict";n.d(t,{n:function(){return r}});let r=n(55828).r},83258:function(e,t,n){"use strict";n.d(t,{C:function(){return i}});var r=n(41690),o=n(55828);let i=e=>(0,r.tP)((0,o.r)(e),0,4)},55828:function(e,t,n){"use strict";n.d(t,{r:function(){return d}});var r=n(8681),o=n(56026);let i=e=>(0,o.w)((0,r.O0)(e));var a=n(41923);let s=/^tuple(?<array>(\[(\d*)\])*)$/;function c(e){let t="",n=e.length;for(let r=0;r<n;r++)t+=function e(t){let n=t.type;if(s.test(t.type)&&"components"in t){n="(";let r=t.components.length;for(let o=0;o<r;o++)n+=e(t.components[o]),o<r-1&&(n+=", ");let o=(0,a.Zw)(s,t.type);return n+=`)${o?.array??""}`,e({...t,type:n})}return("indexed"in t&&t.indexed&&(n=`${n} indexed`),t.name)?`${n} ${t.name}`:n}(e[r]),r!==n-1&&(t+=", ");return t}var u=n(86708);let l=e=>(function(e){let t=!0,n="",r=0,o="",i=!1;for(let a=0;a<e.length;a++){let s=e[a];if(["(",")",","].includes(s)&&(t=!0),"("===s&&r++,")"===s&&r--,t){if(0===r){if(" "===s&&["event","function",""].includes(o))o="";else if(o+=s,")"===s){i=!0;break}continue}if(" "===s){","!==e[a-1]&&","!==n&&",("!==n&&(n="",t=!1);continue}o+=s,n+=s}}if(!i)throw new u.G("Unable to normalize signature.");return o})("string"==typeof e?e:"function"===e.type?`function ${e.name}(${c(e.inputs)})${e.stateMutability&&"nonpayable"!==e.stateMutability?` ${e.stateMutability}`:""}${e.outputs.length?` returns (${c(e.outputs)})`:""}`:"event"===e.type?`event ${e.name}(${c(e.inputs)})`:"error"===e.type?`error ${e.name}(${c(e.inputs)})`:"constructor"===e.type?`constructor(${c(e.inputs)})${"payable"===e.stateMutability?" payable":""}`:"fallback"===e.type?"fallback()":"receive() external payable");function d(e){return i(l(e))}},13373:function(e,t,n){"use strict";n.d(t,{N7:function(){return a}});let r=new Map,o=new Map,i=0;function a(e,t,n){let a=++i,s=()=>r.get(e)||[],c=()=>{let t=s();r.set(e,t.filter(e=>e.id!==a))},u=()=>{let t=o.get(e);1===s().length&&t&&t(),c()},l=s();if(r.set(e,[...l,{id:a,fns:t}]),l&&l.length>0)return u;let d={};for(let e in t)d[e]=(...t)=>{let n=s();if(0!==n.length)for(let r of n)r.fns[e]?.(...t)};let f=n(d);return"function"==typeof f&&o.set(e,f),u}},8720:function(e,t,n){"use strict";n.d(t,{$:function(){return o}});var r=n(11877);function o(e,{emitOnBegin:t,initialWaitTime:n,interval:o}){let i=!0,a=()=>i=!1;return(async()=>{let s;t&&(s=await e({unpoll:a}));let c=await n?.(s)??o;await (0,r.D)(c);let u=async()=>{i&&(await e({unpoll:a}),await (0,r.D)(o),u())};u()})(),a}},15514:function(e,t,n){"use strict";n.d(t,{S:function(){return o}});let r=new Map;function o({fn:e,id:t,shouldSplitBatch:n,wait:o=0,sort:i}){let a=async()=>{let t=u();s();let n=t.map(({args:e})=>e);0!==n.length&&e(n).then(e=>{i&&Array.isArray(e)&&e.sort(i);for(let n=0;n<t.length;n++){let{pendingPromise:r}=t[n];r.resolve?.([e[n],e])}}).catch(e=>{for(let n=0;n<t.length;n++){let{pendingPromise:r}=t[n];r.reject?.(e)}})},s=()=>r.delete(t),c=()=>u().map(({args:e})=>e),u=()=>r.get(t)||[],l=e=>r.set(t,[...u(),e]);return{flush:s,async schedule(e){let t={},r=new Promise((e,n)=>{t.resolve=e,t.reject=n});return(n?.([...c(),e])&&a(),u().length>0)?l({args:e,pendingPromise:t}):(l({args:e,pendingPromise:t}),setTimeout(a,o)),r}}}},29673:function(e,t,n){"use strict";n.d(t,{J:function(){return o}});var r=n(11877);function o(e,{delay:t=100,retryCount:n=2,shouldRetry:o=()=>!0}={}){return new Promise((i,a)=>{let s=async({count:c=0}={})=>{let u=async({error:e})=>{let n="function"==typeof t?t({count:c,error:e}):t;n&&await (0,r.D)(n),s({count:c+1})};try{let t=await e();i(t)}catch(e){if(c<n&&await o({count:c,error:e}))return u({error:e});a(e)}};s()})}},43291:function(e,t,n){"use strict";n.d(t,{Ow:function(){return r},eL:function(){return o},lh:function(){return i}});let r=/^(.*)\[([0-9]*)\]$/,o=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,i=/^(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)?$/},5878:function(e,t,n){"use strict";n.d(t,{r:function(){return s}});var r=n(56026),o=n(79022),i=n(80002),a=n(72417);function s(e,t){return(0,r.w)(function(e){let t="string"==typeof e?(0,a.$G)(e):"string"==typeof e.raw?e.raw:(0,a.ci)(e.raw),n=(0,a.$G)(`\x19Ethereum Signed Message:
25
+ ${(0,i.d)(t)}`);return(0,o.zo)([n,t])}(e),t)}},52440:function(e,t,n){"use strict";n.d(t,{Jv:function(){return f}});var r=n(25756),o=n(79022),i=n(72417),a=n(56026),s=n(16096),c=n(67832),u=n(15254),l=n(80002),d=n(43291);function f(e){let{domain:t={},message:n,primaryType:r}=e,f={EIP712Domain:function({domain:e}){return["string"==typeof e?.name&&{name:"name",type:"string"},e?.version&&{name:"version",type:"string"},"number"==typeof e?.chainId&&{name:"chainId",type:"uint256"},e?.verifyingContract&&{name:"verifyingContract",type:"address"},e?.salt&&{name:"salt",type:"bytes32"}].filter(Boolean)}({domain:t}),...e.types};!function(e){let{domain:t,message:n,primaryType:r,types:o}=e,a=(e,t)=>{for(let n of e){let{name:e,type:r}=n,f=t[e],p=r.match(d.lh);if(p&&("number"==typeof f||"bigint"==typeof f)){let[e,t,n]=p;(0,i.eC)(f,{signed:"int"===t,size:Number.parseInt(n)/8})}if("address"===r&&"string"==typeof f&&!(0,u.U)(f))throw new c.b({address:f});let h=r.match(d.eL);if(h){let[e,t]=h;if(t&&(0,l.d)(f)!==Number.parseInt(t))throw new s.KY({expectedSize:Number.parseInt(t),givenSize:(0,l.d)(f)})}let m=o[r];m&&a(m,f)}};o.EIP712Domain&&t&&a(o.EIP712Domain,t),"EIP712Domain"!==r&&a(o[r],n)}({domain:t,message:n,primaryType:r,types:f});let h=["0x1901"];return t&&h.push(function({domain:e,types:t}){return p({data:e,primaryType:"EIP712Domain",types:t})}({domain:t,types:f})),"EIP712Domain"!==r&&h.push(p({data:n,primaryType:r,types:f})),(0,a.w)((0,o.zo)(h))}function p({data:e,primaryType:t,types:n}){let o=function e({data:t,primaryType:n,types:o}){let s=[{type:"bytes32"}],c=[function({primaryType:e,types:t}){let n=(0,i.NC)(function({primaryType:e,types:t}){let n="",r=function e({primaryType:t,types:n},r=new Set){let o=t.match(/^\w*/u),i=o?.[0];if(r.has(i)||void 0===n[i])return r;for(let t of(r.add(i),n[i]))e({primaryType:t.type,types:n},r);return r}({primaryType:e,types:t});for(let o of(r.delete(e),[e,...Array.from(r).sort()]))n+=`${o}(${t[o].map(({name:e,type:t})=>`${t} ${e}`).join(",")})`;return n}({primaryType:e,types:t}));return(0,a.w)(n)}({primaryType:n,types:o})];for(let u of o[n]){let[n,l]=function t({types:n,name:o,type:s,value:c}){if(void 0!==n[s])return[{type:"bytes32"},(0,a.w)(e({data:c,primaryType:s,types:n}))];if("bytes"===s){let e=c.length%2?"0":"";return c=`0x${e+c.slice(2)}`,[{type:"bytes32"},(0,a.w)(c)]}if("string"===s)return[{type:"bytes32"},(0,a.w)((0,i.NC)(c))];if(s.lastIndexOf("]")===s.length-1){let e=s.slice(0,s.lastIndexOf("[")),i=c.map(r=>t({name:o,type:e,types:n,value:r}));return[{type:"bytes32"},(0,a.w)((0,r.E)(i.map(([e])=>e),i.map(([,e])=>e)))]}return[{type:s},c]}({types:o,name:u.name,type:u.type,value:t[u.name]});s.push(n),c.push(l)}return(0,r.E)(s,c)}({data:e,primaryType:t,types:n});return(0,a.w)(o)}},31678:function(e,t,n){"use strict";n.d(t,{R:function(){return u}});var r=n(6431),o=n(25006),i=n(58435),a=n(72417);async function s({hash:e,signature:t}){let r=(0,o.v)(e)?e:(0,a.NC)(e),{secp256k1:s}=await Promise.resolve().then(n.bind(n,89922)),u=(()=>{if("object"==typeof t&&"r"in t&&"s"in t){let{r:e,s:n,v:r,yParity:o}=t,a=c(Number(o??r));return new s.Signature((0,i.y_)(e),(0,i.y_)(n)).addRecoveryBit(a)}let e=(0,o.v)(t)?t:(0,a.NC)(t),n=c((0,i.ly)(`0x${e.slice(130)}`));return s.Signature.fromCompact(e.substring(2,130)).addRecoveryBit(n)})().recoverPublicKey(r.substring(2)).toHex(!1);return`0x${u}`}function c(e){if(0===e||1===e)return e;if(27===e)return 0;if(28===e)return 1;throw Error("Invalid yParityOrV value")}async function u({hash:e,signature:t}){return(0,r.y)(await s({hash:e,signature:t}))}},95033:function(e,t,n){"use strict";n.d(t,{V:function(){return a}});var r=n(89922),o=n(58435),i=n(8681);function a({r:e,s:t,to:n="hex",v:a,yParity:s}){let c=(()=>{if(0===s||1===s)return s;if(a&&(27n===a||28n===a||a>=35n))return a%2n===0n?1:0;throw Error("Invalid `v` or `yParity` value")})(),u=`0x${new r.secp256k1.Signature((0,o.y_)(e),(0,o.y_)(t)).toCompactHex()}${0===c?"1b":"1c"}`;return"hex"===n?u:(0,i.nr)(u)}},55473:function(e,t,n){"use strict";n.d(t,{mF:function(){return u}});var r=n(67832),o=n(82181),i=n(82925),a=n(15254),s=n(72417);function c(e){if(e&&0!==e.length)return e.reduce((e,{slot:t,value:n})=>{if(66!==t.length)throw new o.W_({size:t.length,targetSize:66,type:"hex"});if(66!==n.length)throw new o.W_({size:n.length,targetSize:66,type:"hex"});return e[t]=n,e},{})}function u(e){if(!e)return;let t={};for(let{address:n,...o}of e){if(!(0,a.U)(n,{strict:!1}))throw new r.b({address:n});if(t[n])throw new i.Nc({address:n});t[n]=function(e){let{balance:t,nonce:n,state:r,stateDiff:o,code:a}=e,u={};if(void 0!==a&&(u.code=a),void 0!==t&&(u.balance=(0,s.eC)(t)),void 0!==n&&(u.nonce=(0,s.eC)(n)),void 0!==r&&(u.state=c(r)),void 0!==o){if(u.state)throw new i.Z8;u.stateDiff=c(o)}return u}(o)}return t}},49476:function(e,t,n){"use strict";n.d(t,{P:function(){return r}});let r=(e,t,n)=>JSON.stringify(e,(e,n)=>{let r="bigint"==typeof n?n.toString():n;return"function"==typeof t?t(e,r):r},n)},12679:function(e,t,n){"use strict";n.d(t,{F:function(){return u}});var r=n(14428),o=n(23053),i=n(67832),a=n(33722),s=n(29334),c=n(15254);function u(e){let{account:t,gasPrice:n,maxFeePerGas:u,maxPriorityFeePerGas:l,to:d}=e,f=t?(0,r.T)(t):void 0;if(f&&!(0,c.U)(f.address))throw new i.b({address:f.address});if(d&&!(0,c.U)(d))throw new i.b({address:d});if(void 0!==n&&(void 0!==u||void 0!==l))throw new s.xY;if(u&&u>o.zL)throw new a.Hh({maxFeePerGas:u});if(l&&u&&l>u)throw new a.cs({maxFeePerGas:u,maxPriorityFeePerGas:l})}},62257:function(e,t,n){"use strict";let r;n.d(t,{h:function(){return i}});let o=256;function i(e=11){if(!r||o+e>512){r="",o=0;for(let e=0;e<256;e++)r+=(256+256*Math.random()|0).toString(16).substring(1)}return r.substring(o,o+++e)}},11877:function(e,t,n){"use strict";async function r(e){return new Promise(t=>setTimeout(t,e))}n.d(t,{D:function(){return r}})},50215:function(e,t,n){"use strict";n.d(t,{m:function(){return l}});var r=n(88914),o=n(67613),i=n(24143),a=n(14558),s=n(46760),c=n(23064);let u=e=>"object"==typeof e&&!Array.isArray(e);function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,i.Z)(e);return function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:a.v,o=(0,s.useRef)([]),i=(0,c.useSyncExternalStoreWithSelector)(e,t,n,e=>e,(e,t)=>{if(u(e)&&u(t)&&o.current.length){for(let n of o.current)if(!r(e[n],t[n]))return!1;return!0}return r(e,t)});if(u(i)){let e={...i},t={};for(let[n,r]of Object.entries(e))t={...t,[n]:{configurable:!1,enumerable:!0,get:()=>(o.current.includes(n)||o.current.push(n),r)}};return Object.defineProperties(e,t),e}return i}(e=>(0,r.u)(t,{onChange:e}),()=>(0,o.D)(t))}},46096:function(e,t,n){"use strict";n.d(t,{E:function(){return a}});var r=n(88914),o=n(46760),i=n(24143);function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{onConnect:t,onDisconnect:n}=e,a=(0,i.Z)(e);(0,o.useEffect)(()=>(0,r.u)(a,{onChange(e,r){if(("reconnecting"===r.status||"connecting"===r.status&&void 0===r.address)&&"connected"===e.status){let{address:n,addresses:o,chain:i,chainId:a,connector:s}=e,c="reconnecting"===r.status||void 0===r.status;null==t||t({address:n,addresses:o,chain:i,chainId:a,connector:s,isReconnected:c})}else"connected"===r.status&&"disconnected"===e.status&&(null==n||n())}}),[a,t,n])}},65845:function(e,t,n){"use strict";n.d(t,{K:function(){return v}});var r=n(20840),o=n(58435),i=n(6435),a=n(9016),s=n(42678),c=n(84151),u=n(57122);function l(e){return"number"==typeof e?e:"wei"===e?0:Math.abs(u.Bd[e])}var d=n(54787);async function f(e,t){let{allowFailure:n=!0,chainId:r,contracts:o,...i}=t,a=e.getClient({chainId:r});return(0,c.s)(a,d.A,"multicall")({allowFailure:n,contracts:o,...i})}var p=n(22521);async function h(e,t){let{allowFailure:n=!0,blockNumber:o,blockTag:i,...a}=t,s=t.contracts;try{let t={};for(let[n,r]of s.entries()){let o=r.chainId??e.state.chainId;t[o]||(t[o]=[]),t[o]?.push({contract:r,index:n})}let r=(await Promise.all(Object.entries(t).map(([t,r])=>f(e,{...a,allowFailure:n,blockNumber:o,blockTag:i,chainId:Number.parseInt(t),contracts:r.map(({contract:e})=>e)})))).flat(),c=Object.values(t).flatMap(e=>e.map(({index:e})=>e));return r.reduce((e,t,n)=>(e&&(e[c[n]]=t),e),[])}catch(a){if(a instanceof r.uq)throw a;let t=()=>s.map(t=>(0,p.L)(e,{...t,blockNumber:o,blockTag:i}));if(n)return(await Promise.allSettled(t())).map(e=>"fulfilled"===e.status?{result:e.value,status:"success"}:{error:e.reason,result:void 0,status:"failure"});return await Promise.all(t())}}async function m(e,t){let{address:n,blockNumber:u,blockTag:d,chainId:f,token:p,unit:h="ether"}=t;if(p)try{return w(e,{balanceAddress:n,chainId:f,symbolType:"string",tokenAddress:p})}catch(t){if(t instanceof r.uq){let t=await w(e,{balanceAddress:n,chainId:f,symbolType:"bytes32",tokenAddress:p}),r=(0,o.rR)((0,i.f)(t.symbol,{dir:"right"}));return{...t,symbol:r}}throw t}let m=e.getClient({chainId:f}),y=(0,c.s)(m,s.s,"getBalance"),b=await y(u?{address:n,blockNumber:u}:{address:n,blockTag:d}),g=e.chains.find(e=>e.id===f)??m.chain;return{decimals:g.nativeCurrency.decimals,formatted:(0,a.b)(b,l(h)),symbol:g.nativeCurrency.symbol,value:b}}async function w(e,t){let{balanceAddress:n,chainId:r,symbolType:o,tokenAddress:i,unit:s}=t,c={abi:[{type:"function",name:"balanceOf",stateMutability:"view",inputs:[{type:"address"}],outputs:[{type:"uint256"}]},{type:"function",name:"decimals",stateMutability:"view",inputs:[],outputs:[{type:"uint8"}]},{type:"function",name:"symbol",stateMutability:"view",inputs:[],outputs:[{type:o}]}],address:i},[u,d,f]=await h(e,{allowFailure:!1,contracts:[{...c,functionName:"balanceOf",args:[n],chainId:r},{...c,functionName:"decimals",chainId:r},{...c,functionName:"symbol",chainId:r}]}),p=(0,a.b)(u??"0",l(s??d));return{decimals:d,formatted:p,symbol:f,value:u}}var y=n(24339),b=n(65684),g=n(39870),A=n(24143);function v(){var e,t;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{address:r,query:o={}}=n,i=(0,A.Z)(n),a=(0,g.x)({config:i}),s=function(e,t={}){return{async queryFn({queryKey:t}){let{address:n,scopeKey:r,...o}=t[1];if(!n)throw Error("address is required");return await m(e,{...o,address:n})??null},queryKey:function(e={}){return["balance",(0,y.OP)(e)]}(t)}}(i,{...n,chainId:null!==(e=n.chainId)&&void 0!==e?e:a}),c=!!(r&&(null===(t=o.enabled)||void 0===t||t));return(0,b.aM)({...o,...s,enabled:c})}},11603:function(e,t,n){"use strict";n.d(t,{$:function(){return u}});var r=n(28103),o=n(18701);async function i(e,t){let n;if((n="function"==typeof t.connector?e._internal.connectors.setup(t.connector):t.connector).uid===e.state.current)throw new o.wi;try{e.setState(e=>({...e,status:"connecting"})),n.emitter.emit("message",{type:"connecting"});let r=await n.connect({chainId:t.chainId}),o=r.accounts;return n.emitter.off("connect",e._internal.events.connect),n.emitter.on("change",e._internal.events.change),n.emitter.on("disconnect",e._internal.events.disconnect),await e.storage?.setItem("recentConnectorId",n.id),e.setState(e=>({...e,connections:new Map(e.connections).set(n.uid,{accounts:o,chainId:r.chainId,connector:n}),current:n.uid,status:"connected"})),{accounts:o,chainId:r.chainId}}catch(t){throw e.setState(e=>({...e,status:e.current?"connected":"disconnected"})),t}}var a=n(46760),s=n(24143),c=n(87031);function u(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{mutation:t}=e,n=(0,s.Z)(e),{mutate:o,mutateAsync:u,...l}=(0,r.D)({...t,mutationFn:e=>i(n,e),mutationKey:["connect"]});return(0,a.useEffect)(()=>n.subscribe(e=>{let{status:t}=e;return t},(e,t)=>{"connected"===t&&"disconnected"===e&&l.reset()}),[n,l.reset]),{...l,connect:o,connectAsync:u,connectors:(0,c.Y)({config:n})}}},87031:function(e,t,n){"use strict";n.d(t,{Y:function(){return c}});var r=n(14558);let o=[];function i(e){let t=e.connectors;return(0,r.v)(o,t)?o:(o=t,t)}var a=n(46760),s=n(24143);function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,s.Z)(e);return(0,a.useSyncExternalStore)(e=>(function(e,t){let{onChange:n}=t;return e._internal.connectors.subscribe((e,t)=>{n(Object.values(e),t)})})(t,{onChange:e}),()=>i(t),()=>i(t))}},9750:function(e,t,n){"use strict";n.d(t,{q:function(){return l}});var r=n(28103);async function o(e,t={}){let n;if(t.connector)n=t.connector;else{let{connections:t,current:r}=e.state,o=t.get(r);n=o?.connector}let r=e.state.connections;n&&(await n.disconnect(),n.emitter.off("change",e._internal.events.change),n.emitter.off("disconnect",e._internal.events.disconnect),n.emitter.on("connect",e._internal.events.connect),r.delete(n.uid)),e.setState(e=>{if(0===r.size)return{...e,connections:new Map,current:null,status:"disconnected"};let t=r.values().next().value;return{...e,connections:new Map(r),current:t.connector.uid}});{let t=e.state.current;if(!t)return;let n=e.state.connections.get(t)?.connector;if(!n)return;await e.storage?.setItem("recentConnectorId",n.id)}}var i=n(24143),a=n(14558);let s=[];function c(e){let t=[...e.state.connections.values()];return"reconnecting"===e.state.status||(0,a.v)(s,t)?s:(s=t,t)}var u=n(46760);function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{mutation:t}=e,n=(0,i.Z)(e),{mutate:s,mutateAsync:l,...d}=(0,r.D)({...t,mutationFn:e=>o(n,e),mutationKey:["disconnect"]});return{...d,connectors:(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,i.Z)(e);return(0,u.useSyncExternalStore)(e=>(function(e,t){let{onChange:n}=t;return e.subscribe(()=>c(e),n,{equalityFn:a.v})})(t,{onChange:e}),()=>c(t),()=>c(t))})({config:n}).map(e=>e.connector),disconnect:s,disconnectAsync:l}}},5582:function(e,t,n){"use strict";n.d(t,{c:function(){return u}});var r=n(9756),o=n(84151),i=n(24339),a=n(65684),s=n(39870),c=n(24143);function u(){var e,t;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{name:u,query:l={}}=n,d=(0,c.Z)(n),f=(0,s.x)({config:d}),p=function(e,t={}){return{async queryFn({queryKey:t}){let{name:n,scopeKey:i,...a}=t[1];if(!n)throw Error("name is required");return function(e,t){let{chainId:n,...i}=t,a=e.getClient({chainId:n});return(0,o.s)(a,r.r,"getEnsAvatar")(i)}(e,{...a,name:n})},queryKey:function(e={}){return["ensAvatar",(0,i.OP)(e)]}(t)}}(d,{...n,chainId:null!==(e=n.chainId)&&void 0!==e?e:f}),h=!!(u&&(null===(t=l.enabled)||void 0===t||t));return(0,a.aM)({...l,...p,enabled:h})}},5547:function(e,t,n){"use strict";n.d(t,{F:function(){return u}});var r=n(27453),o=n(84151),i=n(24339),a=n(65684),s=n(39870),c=n(24143);function u(){var e,t;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{address:u,query:l={}}=n,d=(0,c.Z)(n),f=(0,s.x)({config:d}),p=function(e,t={}){return{async queryFn({queryKey:t}){let{address:n,scopeKey:i,...a}=t[1];if(!n)throw Error("address is required");return function(e,t){let{chainId:n,...i}=t,a=e.getClient({chainId:n});return(0,o.s)(a,r.w,"getEnsName")(i)}(e,{...a,address:n})},queryKey:function(e={}){return["ensName",(0,i.OP)(e)]}(t)}}(d,{...n,chainId:null!==(e=n.chainId)&&void 0!==e?e:f}),h=!!(u&&(null===(t=l.enabled)||void 0===t||t));return(0,a.aM)({...l,...p,enabled:h})}},41006:function(e,t,n){"use strict";n.d(t,{t:function(){return eX}});var r=n(2029),o=n(22587),i=n(82544),a=n(63672),s=n(6435),c=n(72417),u=n(37988),l=n(13722),d=n(49917),f=n(87510),p=n(92262);async function h(e,{blockNumber:t,blockTag:n,coinType:h,name:m,gatewayUrls:w,strict:y,universalResolverAddress:b}){let g=b;if(!g){if(!e.chain)throw Error("client chain not configured. universalResolverAddress is required.");g=(0,a.L)({blockNumber:t,chain:e.chain,contract:"ensUniversalResolver"})}try{let a=(0,i.R)({abi:r.X$,functionName:"addr",...null!=h?{args:[(0,l.V)(m),BigInt(h)]}:{args:[(0,l.V)(m)]}}),u={address:g,abi:r.k3,functionName:"resolve",args:[(0,c.NC)((0,d.T)(m)),a],blockNumber:t,blockTag:n},y=(0,f.s)(e,p.L,"readContract"),b=w?await y({...u,args:[...u.args,w]}):await y(u);if("0x"===b[0])return null;let A=(0,o.k)({abi:r.X$,args:null!=h?[(0,l.V)(m),BigInt(h)]:void 0,functionName:"addr",data:b[0]});if("0x"===A||"0x00"===(0,s.f)(A))return null;return A}catch(e){if(y)throw e;if((0,u.c)(e,"resolve"))return null;throw e}}var m=n(9756),w=n(27453);async function y(e,{blockNumber:t,blockTag:n,name:r,universalResolverAddress:o}){let i=o;if(!i){if(!e.chain)throw Error("client chain not configured. universalResolverAddress is required.");i=(0,a.L)({blockNumber:t,chain:e.chain,contract:"ensUniversalResolver"})}let[s]=await (0,f.s)(e,p.L,"readContract")({address:i,abi:[{inputs:[{type:"bytes"}],name:"findResolver",outputs:[{type:"address"},{type:"bytes32"}],stateMutability:"view",type:"function"}],functionName:"findResolver",args:[(0,c.NC)((0,d.T)(r))],blockNumber:t,blockTag:n});return s}var b=n(559),g=n(42698);function A(e,{method:t}){let n={};return"fallback"===e.transport.type&&e.transport.onResponse?.(({method:e,response:r,status:o,transport:i})=>{"success"===o&&t===e&&(n[r]=i.request)}),t=>n[t]||e.request}async function v(e){let t=A(e,{method:"eth_newBlockFilter"}),n=await e.request({method:"eth_newBlockFilter"});return{id:n,request:t(n),type:"block"}}var E=n(16096),C=n(86708);class x extends C.G{constructor(e){super(`Filter type "${e}" is not supported.`,{name:"FilterTypeNotSupportedError"})}}var B=n(8681),k=n(56026),I=n(15672),P=n(25756),N=n(43067),M=n(67278);let F="/docs/contract/encodeEventTopics";function R(e){let{abi:t,eventName:n,args:r}=e,o=t[0];if(n){let e=(0,M.mE)({abi:t,name:n});if(!e)throw new E.mv(n,{docsPath:F});o=e}if("event"!==o.type)throw new E.mv(void 0,{docsPath:F});let i=(0,N.t)(o),a=(0,I.n)(i),s=[];if(r&&"inputs"in o){let e=o.inputs?.filter(e=>"indexed"in e&&e.indexed),t=Array.isArray(r)?r:Object.values(r).length>0?e?.map(e=>r[e.name])??[]:[];t.length>0&&(s=e?.map((e,n)=>Array.isArray(t[n])?t[n].map((r,o)=>S({param:e,value:t[n][o]})):t[n]?S({param:e,value:t[n]}):null)??[])}return[a,...s]}function S({param:e,value:t}){if("string"===e.type||"bytes"===e.type)return(0,k.w)((0,B.O0)(t));if("tuple"===e.type||e.type.match(/^(.*)\[(\d+)?\]$/))throw new x(e.type);return(0,P.E)([e],[t])}async function O(e,t){let{address:n,abi:r,args:o,eventName:i,fromBlock:a,strict:s,toBlock:u}=t,l=A(e,{method:"eth_newFilter"}),d=i?R({abi:r,args:o,eventName:i}):void 0,f=await e.request({method:"eth_newFilter",params:[{address:n,fromBlock:"bigint"==typeof a?(0,c.eC)(a):a,toBlock:"bigint"==typeof u?(0,c.eC)(u):u,topics:d}]});return{abi:r,args:o,eventName:i,id:f,request:l(f),strict:!!s,type:"event"}}async function T(e,{address:t,args:n,event:r,events:o,fromBlock:i,strict:a,toBlock:s}={}){let u=o??(r?[r]:void 0),l=A(e,{method:"eth_newFilter"}),d=[];u&&(d=[u.flatMap(e=>R({abi:[e],eventName:e.name,args:n}))],r&&(d=d[0]));let f=await e.request({method:"eth_newFilter",params:[{address:t,fromBlock:"bigint"==typeof i?(0,c.eC)(i):i,toBlock:"bigint"==typeof s?(0,c.eC)(s):s,...d.length?{topics:d}:{}}]});return{abi:u,args:n,eventName:r?r.name:void 0,fromBlock:i,id:f,request:l(f),strict:!!a,toBlock:s,type:"event"}}async function D(e){let t=A(e,{method:"eth_newPendingTransactionFilter"}),n=await e.request({method:"eth_newPendingTransactionFilter"});return{id:n,request:t(n),type:"transaction"}}var L=n(14428),Q=n(32171),q=n(3501);async function U(e,t){let{abi:n,address:r,args:o,functionName:a,...s}=t,c=(0,i.R)({abi:n,args:o,functionName:a});try{return await (0,f.s)(e,q.Q,"estimateGas")({data:c,to:r,...s})}catch(t){let e=s.account?(0,L.T)(s.account):void 0;throw(0,Q.S)(t,{abi:n,address:r,args:o,docsPath:"/docs/contract/estimateContractGas",functionName:a,sender:e?.address})}}var G=n(2998),W=n(81780),z=n(42678);async function j(e){return BigInt(await e.request({method:"eth_blobBaseFee"}))}var H=n(44705),K=n(8258),Z=n(58435);async function V(e,{blockHash:t,blockNumber:n,blockTag:r="latest"}={}){let o;let i=void 0!==n?(0,c.eC)(n):void 0;return o=t?await e.request({method:"eth_getBlockTransactionCountByHash",params:[t]},{dedupe:!0}):await e.request({method:"eth_getBlockTransactionCountByNumber",params:[i||r]},{dedupe:!!i}),(0,Z.ly)(o)}var J=n(50647);async function Y(e,{address:t,blockNumber:n,blockTag:r="latest"}){let o=void 0!==n?(0,c.eC)(n):void 0,i=await e.request({method:"eth_getCode",params:[t,o||r]},{dedupe:!!o});if("0x"!==i)return i}var X=n(68943),$=n(36517);async function _(e,{address:t,blockHash:n,fromBlock:r,toBlock:o,event:i,events:a,args:s,strict:u}={}){let l=a??(i?[i]:void 0),d=[];l&&(d=[l.flatMap(e=>R({abi:[e],eventName:e.name,args:a?void 0:s}))],i&&(d=d[0]));let f=(n?await e.request({method:"eth_getLogs",params:[{address:t,topics:d,blockHash:n}]}):await e.request({method:"eth_getLogs",params:[{address:t,topics:d,fromBlock:"bigint"==typeof r?(0,c.eC)(r):r,toBlock:"bigint"==typeof o?(0,c.eC)(o):o}]})).map(e=>(0,$.U)(e));return l?(0,X.h)({abi:l,args:s,logs:f,strict:u??!1}):f}async function ee(e,t){let{abi:n,address:r,args:o,blockHash:i,eventName:a,fromBlock:s,toBlock:c,strict:u}=t,l=a?(0,M.mE)({abi:n,name:a}):void 0,d=l?void 0:n.filter(e=>"event"===e.type);return(0,f.s)(e,_,"getLogs")({address:r,args:o,blockHash:i,event:l,events:d,fromBlock:s,toBlock:c,strict:u})}class et extends C.G{constructor({address:e}){super(`No EIP-712 domain found on contract "${e}".`,{metaMessages:["Ensure that:",`- The contract is deployed at the address "${e}".`,"- `eip712Domain()` function exists on the contract.","- `eip712Domain()` function matches signature to ERC-5267 specification."],name:"Eip712DomainNotFoundError"})}}async function en(e,t){let{address:n,factory:r,factoryData:o}=t;try{let[t,i,a,s,c,u,l]=await (0,f.s)(e,p.L,"readContract")({abi:er,address:n,functionName:"eip712Domain",factory:r,factoryData:o});return{domain:{name:i,version:a,chainId:Number(s),verifyingContract:c,salt:u},extensions:l,fields:t}}catch(e){if("ContractFunctionExecutionError"===e.name&&"ContractFunctionZeroDataError"===e.cause.name)throw new et({address:n});throw e}}let er=[{inputs:[],name:"eip712Domain",outputs:[{name:"fields",type:"bytes1"},{name:"name",type:"string"},{name:"version",type:"string"},{name:"chainId",type:"uint256"},{name:"verifyingContract",type:"address"},{name:"salt",type:"bytes32"},{name:"extensions",type:"uint256[]"}],stateMutability:"view",type:"function"}];async function eo(e,{blockCount:t,blockNumber:n,blockTag:r="latest",rewardPercentiles:o}){var i;let a=n?(0,c.eC)(n):void 0;return{baseFeePerGas:(i=await e.request({method:"eth_feeHistory",params:[(0,c.eC)(t),a||r,o]},{dedupe:!!a})).baseFeePerGas.map(e=>BigInt(e)),gasUsedRatio:i.gasUsedRatio,oldestBlock:BigInt(i.oldestBlock),reward:i.reward?.map(e=>e.map(e=>BigInt(e)))}}async function ei(e,{filter:t}){let n="strict"in t&&t.strict,r=await t.request({method:"eth_getFilterChanges",params:[t.id]});if("string"==typeof r[0])return r;let o=r.map(e=>(0,$.U)(e));return"abi"in t&&t.abi?(0,X.h)({abi:t.abi,logs:o,strict:n}):o}async function ea(e,{filter:t}){let n=t.strict??!1,r=(await t.request({method:"eth_getFilterLogs",params:[t.id]})).map(e=>(0,$.U)(e));return t.abi?(0,X.h)({abi:t.abi,logs:r,strict:n}):r}var es=n(33723);async function ec(e,{address:t,blockNumber:n,blockTag:r,storageKeys:o}){var i;let a=void 0!==n?(0,c.eC)(n):void 0;return{...i=await e.request({method:"eth_getProof",params:[t,o,a||(r??"latest")]}),balance:i.balance?BigInt(i.balance):void 0,nonce:i.nonce?(0,Z.ly)(i.nonce):void 0,storageProof:i.storageProof?i.storageProof.map(e=>({...e,value:BigInt(e.value)})):void 0}}async function eu(e,{address:t,blockNumber:n,blockTag:r="latest",slot:o}){let i=void 0!==n?(0,c.eC)(n):void 0;return await e.request({method:"eth_getStorageAt",params:[t,o,i||r]})}var el=n(17263),ed=n(92911),ef=n(11504),ep=n(99437),eh=n(54787),em=n(6428);async function ew(e,{filter:t}){return t.request({method:"eth_uninstallFilter",params:[t.id]})}var ey=n(5878),eb=n(24968),eg=n(20840),eA=n(17146),ev=n(46812),eE=n(92130),eC=n(98310),ex=n(25006);let eB="0x6492649264926492649264926492649264926492649264926492649264926492";var ek=n(41690),eI=n(31678),eP=n(79022),eN=n(95033);async function eM(e,t){let{address:n,factory:o,factoryData:i,hash:a,signature:s,...u}=t,l=(0,ex.v)(s)?s:"object"==typeof s&&"r"in s&&"s"in s?(0,eN.V)(s):(0,c.ci)(s),d=await (async()=>o||i?(0,ek.p5)(l,-32)===eB?l:function(e){let{address:t,data:n,signature:r,to:o="hex"}=e,i=(0,eP.SM)([(0,P.E)([{type:"address"},{type:"bytes"},{type:"bytes"}],[t,n,r]),eB]);return"hex"===o?i:(0,B.nr)(i)}({address:o,data:i,signature:l}):l)();try{let{data:t}=await (0,f.s)(e,g.R,"call")({data:(0,eA.w)({abi:r.$o,args:[n,a,d],bytecode:eb.ST}),...u});return function(e,t){let n=(0,ex.v)(e)?(0,B.O0)(e):e,r=(0,ex.v)("0x1")?(0,B.O0)("0x1"):"0x1";return(0,eC.Wd)(n,r)}(t??"0x0","0x1")}catch(e){try{if((0,eE.E)((0,ev.K)(n),await (0,eI.R)({hash:a,signature:s})))return!0}catch{}if(e instanceof eg.cg)return!1;throw e}}async function eF(e,{address:t,message:n,factory:r,factoryData:o,signature:i,...a}){return eM(e,{address:t,factory:r,factoryData:o,hash:(0,ey.r)(n),signature:i,...a})}var eR=n(52440);async function eS(e,t){let{address:n,factory:r,factoryData:o,signature:i,message:a,primaryType:s,types:c,domain:u,...l}=t;return eM(e,{address:n,factory:r,factoryData:o,hash:(0,eR.Jv)({message:a,primaryType:s,types:c,domain:u}),signature:i,...l})}var eO=n(28218),eT=n(75487),eD=n(15899),eL=n(98094),eQ=n(99278),eq=n(13373),eU=n(8720),eG=n(49476);let eW=/^(?:(?<scheme>[a-zA-Z][a-zA-Z0-9+-.]*):\/\/)?(?<domain>[a-zA-Z0-9+-.]*(?::[0-9]{1,5})?) (?:wants you to sign in with your Ethereum account:\n)(?<address>0x[a-fA-F0-9]{40})\n\n(?:(?<statement>.*)\n\n)?/,ez=/(?:URI: (?<uri>.+))\n(?:Version: (?<version>.+))\n(?:Chain ID: (?<chainId>\d+))\n(?:Nonce: (?<nonce>[a-zA-Z0-9]+))\n(?:Issued At: (?<issuedAt>.+))(?:\nExpiration Time: (?<expirationTime>.+))?(?:\nNot Before: (?<notBefore>.+))?(?:\nRequest ID: (?<requestId>.+))?/;async function ej(e,t){let{address:n,domain:r,message:o,nonce:i,scheme:a,signature:s,time:c=new Date,...u}=t,l=function(e){let{scheme:t,statement:n,...r}=e.match(eW)?.groups??{},{chainId:o,expirationTime:i,issuedAt:a,notBefore:s,requestId:c,...u}=e.match(ez)?.groups??{},l=e.split("Resources:")[1]?.split("\n- ").slice(1);return{...r,...u,...o?{chainId:Number(o)}:{},...i?{expirationTime:new Date(i)}:{},...a?{issuedAt:new Date(a)}:{},...s?{notBefore:new Date(s)}:{},...c?{requestId:c}:{},...l?{resources:l}:{},...t?{scheme:t}:{},...n?{statement:n}:{}}}(o);if(!l.address||!function(e){let{address:t,domain:n,message:r,nonce:o,scheme:i,time:a=new Date}=e;if(n&&r.domain!==n||o&&r.nonce!==o||i&&r.scheme!==i||r.expirationTime&&a>=r.expirationTime||r.notBefore&&a<r.notBefore)return!1;try{if(!r.address||t&&!(0,eE.E)(r.address,t))return!1}catch{return!1}return!0}({address:n,domain:r,message:l,nonce:i,scheme:a,time:c}))return!1;let d=(0,ey.r)(o);return eM(e,{address:l.address,hash:d,signature:s,...u})}var eH=n(81174),eK=n(95774);function eZ(e){return{call:t=>(0,g.R)(e,t),createBlockFilter:()=>v(e),createContractEventFilter:t=>O(e,t),createEventFilter:t=>T(e,t),createPendingTransactionFilter:()=>D(e),estimateContractGas:t=>U(e,t),estimateGas:t=>(0,q.Q)(e,t),getBalance:t=>(0,z.s)(e,t),getBlobBaseFee:()=>j(e),getBlock:t=>(0,H.Q)(e,t),getBlockNumber:t=>(0,K.z)(e,t),getBlockTransactionCount:t=>V(e,t),getBytecode:t=>Y(e,t),getChainId:()=>(0,J.L)(e),getCode:t=>Y(e,t),getContractEvents:t=>ee(e,t),getEip712Domain:t=>en(e,t),getEnsAddress:t=>h(e,t),getEnsAvatar:t=>(0,m.r)(e,t),getEnsName:t=>(0,w.w)(e,t),getEnsResolver:t=>y(e,t),getEnsText:t=>(0,b.g)(e,t),getFeeHistory:t=>eo(e,t),estimateFeesPerGas:t=>(0,G.X)(e,t),getFilterChanges:t=>ei(e,t),getFilterLogs:t=>ea(e,t),getGasPrice:()=>(0,es.o)(e),getLogs:t=>_(e,t),getProof:t=>ec(e,t),estimateMaxPriorityFeePerGas:t=>(0,W._)(e,t),getStorageAt:t=>eu(e,t),getTransaction:t=>(0,el.f)(e,t),getTransactionConfirmations:t=>(0,ed.a)(e,t),getTransactionCount:t=>(0,ef.K)(e,t),getTransactionReceipt:t=>(0,ep.a)(e,t),multicall:t=>(0,eh.A)(e,t),prepareTransactionRequest:t=>(0,eH.Z)(e,t),readContract:t=>(0,p.L)(e,t),sendRawTransaction:t=>(0,eK.p)(e,t),simulateContract:t=>(0,em.a)(e,t),verifyMessage:t=>eF(e,t),verifySiweMessage:t=>ej(e,t),verifyTypedData:t=>eS(e,t),uninstallFilter:t=>ew(e,t),waitForTransactionReceipt:t=>(0,eO.e)(e,t),watchBlocks:t=>(0,eD.p)(e,t),watchBlockNumber:t=>(0,eT.q)(e,t),watchContractEvent:t=>(function(e,t){let{abi:n,address:r,args:o,batch:i=!0,eventName:a,fromBlock:s,onError:c,onLogs:u,poll:l,pollingInterval:d=e.pollingInterval,strict:p}=t;return(void 0!==l?l:"bigint"==typeof s||"webSocket"!==e.transport.type&&("fallback"!==e.transport.type||"webSocket"!==e.transport.transports[0].config.type))?(()=>{let t=p??!1,l=(0,eG.P)(["watchContractEvent",r,o,i,e.uid,a,d,t,s]);return(0,eq.N7)(l,{onLogs:u,onError:c},c=>{let u,l;void 0!==s&&(u=s-1n);let p=!1,h=(0,eU.$)(async()=>{if(!p){try{l=await (0,f.s)(e,O,"createContractEventFilter")({abi:n,address:r,args:o,eventName:a,strict:t,fromBlock:s})}catch{}p=!0;return}try{let s;if(l)s=await (0,f.s)(e,ei,"getFilterChanges")({filter:l});else{let i=await (0,f.s)(e,K.z,"getBlockNumber")({});s=u&&u<i?await (0,f.s)(e,ee,"getContractEvents")({abi:n,address:r,args:o,eventName:a,fromBlock:u+1n,toBlock:i,strict:t}):[],u=i}if(0===s.length)return;if(i)c.onLogs(s);else for(let e of s)c.onLogs([e])}catch(e){l&&e instanceof eL.yR&&(p=!1),c.onError?.(e)}},{emitOnBegin:!0,interval:d});return async()=>{l&&await (0,f.s)(e,ew,"uninstallFilter")({filter:l}),h()}})})():(()=>{let t=(0,eG.P)(["watchContractEvent",r,o,i,e.uid,a,d,p??!1]),s=!0,l=()=>s=!1;return(0,eq.N7)(t,{onLogs:u,onError:c},t=>((async()=>{try{let i=(()=>{if("fallback"===e.transport.type){let t=e.transport.transports.find(e=>"webSocket"===e.config.type);return t?t.value:e.transport}return e.transport})(),c=a?R({abi:n,eventName:a,args:o}):[],{unsubscribe:u}=await i.subscribe({params:["logs",{address:r,topics:c}],onData(e){if(!s)return;let r=e.result;try{let{eventName:e,args:o}=(0,eQ.F)({abi:n,data:r.data,topics:r.topics,strict:p}),i=(0,$.U)(r,{args:o,eventName:e});t.onLogs([i])}catch(i){let e,n;if(i instanceof E.SM||i instanceof E.Gy){if(p)return;e=i.abiItem.name,n=i.abiItem.inputs?.some(e=>!("name"in e&&e.name))}let o=(0,$.U)(r,{args:n?[]:{},eventName:e});t.onLogs([o])}},onError(e){t.onError?.(e)}});l=u,s||l()}catch(e){c?.(e)}})(),()=>l()))})()})(e,t),watchEvent:t=>(function(e,{address:t,args:n,batch:r=!0,event:o,events:i,fromBlock:a,onError:s,onLogs:c,poll:u,pollingInterval:l=e.pollingInterval,strict:d}){let p,h;let m=void 0!==u?u:"bigint"==typeof a||"webSocket"!==e.transport.type&&("fallback"!==e.transport.type||"webSocket"!==e.transport.transports[0].config.type),w=d??!1;return m?(()=>{let u=(0,eG.P)(["watchEvent",t,n,r,e.uid,o,l,a]);return(0,eq.N7)(u,{onLogs:c,onError:s},s=>{let c,u;void 0!==a&&(c=a-1n);let d=!1,p=(0,eU.$)(async()=>{if(!d){try{u=await (0,f.s)(e,T,"createEventFilter")({address:t,args:n,event:o,events:i,strict:w,fromBlock:a})}catch{}d=!0;return}try{let a;if(u)a=await (0,f.s)(e,ei,"getFilterChanges")({filter:u});else{let r=await (0,f.s)(e,K.z,"getBlockNumber")({});a=c&&c!==r?await (0,f.s)(e,_,"getLogs")({address:t,args:n,event:o,events:i,fromBlock:c+1n,toBlock:r}):[],c=r}if(0===a.length)return;if(r)s.onLogs(a);else for(let e of a)s.onLogs([e])}catch(e){u&&e instanceof eL.yR&&(d=!1),s.onError?.(e)}},{emitOnBegin:!0,interval:l});return async()=>{u&&await (0,f.s)(e,ew,"uninstallFilter")({filter:u}),p()}})})():(p=!0,h=()=>p=!1,(async()=>{try{let r=(()=>{if("fallback"===e.transport.type){let t=e.transport.transports.find(e=>"webSocket"===e.config.type);return t?t.value:e.transport}return e.transport})(),a=i??(o?[o]:void 0),u=[];a&&(u=[a.flatMap(e=>R({abi:[e],eventName:e.name,args:n}))],o&&(u=u[0]));let{unsubscribe:l}=await r.subscribe({params:["logs",{address:t,topics:u}],onData(e){if(!p)return;let t=e.result;try{let{eventName:e,args:n}=(0,eQ.F)({abi:a??[],data:t.data,topics:t.topics,strict:w}),r=(0,$.U)(t,{args:n,eventName:e});c([r])}catch(o){let e,n;if(o instanceof E.SM||o instanceof E.Gy){if(d)return;e=o.abiItem.name,n=o.abiItem.inputs?.some(e=>!("name"in e&&e.name))}let r=(0,$.U)(t,{args:n?[]:{},eventName:e});c([r])}},onError(e){s?.(e)}});h=l,p||h()}catch(e){s?.(e)}})(),()=>h())})(e,t),watchPendingTransactions:t=>(function(e,{batch:t=!0,onError:n,onTransactions:r,poll:o,pollingInterval:i=e.pollingInterval}){let a,s;return(void 0!==o?o:"webSocket"!==e.transport.type)?(()=>{let o=(0,eG.P)(["watchPendingTransactions",e.uid,t,i]);return(0,eq.N7)(o,{onTransactions:r,onError:n},n=>{let r;let o=(0,eU.$)(async()=>{try{if(!r)try{r=await (0,f.s)(e,D,"createPendingTransactionFilter")({});return}catch(e){throw o(),e}let i=await (0,f.s)(e,ei,"getFilterChanges")({filter:r});if(0===i.length)return;if(t)n.onTransactions(i);else for(let e of i)n.onTransactions([e])}catch(e){n.onError?.(e)}},{emitOnBegin:!0,interval:i});return async()=>{r&&await (0,f.s)(e,ew,"uninstallFilter")({filter:r}),o()}})})():(a=!0,s=()=>a=!1,(async()=>{try{let{unsubscribe:t}=await e.transport.subscribe({params:["newPendingTransactions"],onData(e){if(!a)return;let t=e.result;r([t])},onError(e){n?.(e)}});s=t,a||s()}catch(e){n?.(e)}})(),()=>s())})(e,t)}}function eV(e,t={}){let n=function(e,t={}){let n;try{n=e.getClient(t)}catch{}return n}(e,t);return n?.extend(eZ)}var eJ=n(23064),eY=n(24143);function eX(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,eY.Z)(e);return(0,eJ.useSyncExternalStoreWithSelector)(e=>(function(e,t){let{onChange:n}=t;return e.subscribe(()=>eV(e),n,{equalityFn:(e,t)=>e?.uid===t?.uid})})(t,{onChange:e}),()=>eV(t,e),()=>eV(t,e),e=>e,(e,t)=>(null==e?void 0:e.uid)===(null==t?void 0:t.uid))}},53091:function(e,t,n){"use strict";n.d(t,{Q:function(){return f}});var r=n(28103),o=n(14428),i=n(60517),a=n(72417);async function s(e,{account:t=e.account,message:n}){if(!t)throw new i.o({docsPath:"/docs/actions/wallet/signMessage"});let r=(0,o.T)(t);if(r.signMessage)return r.signMessage({message:n});let s="string"==typeof n?(0,a.$G)(n):n.raw instanceof Uint8Array?(0,a.NC)(n.raw):n.raw;return e.request({method:"personal_sign",params:[s,r.address]},{retryCount:0})}var c=n(84151),u=n(48792);async function l(e,t){let n;let{account:r,connector:o,...i}=t;return n="object"==typeof r&&"local"===r.type?e.getClient():await (0,u.e)(e,{account:r,connector:o}),(0,c.s)(n,s,"signMessage")({...i,...r?{account:r}:{}})}var d=n(24143);function f(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{mutation:n}=t,o=(e=(0,d.Z)(t),{mutationFn:t=>l(e,t),mutationKey:["signMessage"]}),{mutate:i,mutateAsync:a,...s}=(0,r.D)({...n,...o});return{...s,signMessage:i,signMessageAsync:a}}},22840:function(e,t,n){"use strict";n.d(t,{o:function(){return f}});var r=n(28103),o=n(18701),i=n(4858);async function a(e,t){let{addEthereumChainParameter:n,chainId:r}=t,a=e.state.connections.get(t.connector?.uid??e.state.current);if(a){let e=a.connector;if(!e.switchChain)throw new i.O({connector:e});return await e.switchChain({addEthereumChainParameter:n,chainId:r})}let s=e.chains.find(e=>e.id===r);if(!s)throw new o.X4;return e.setState(e=>({...e,chainId:r})),s}var s=n(14558);let c=[];function u(e){let t=e.chains;return(0,s.v)(c,t)?c:(c=t,t)}var l=n(46760),d=n(24143);function f(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{mutation:t}=e,n=(0,d.Z)(e),{mutate:o,mutateAsync:i,...s}=(0,r.D)({...t,mutationFn:e=>a(n,e),mutationKey:["switchChain"]});return{...s,chains:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,d.Z)(e);return(0,l.useSyncExternalStore)(e=>(function(e,t){let{onChange:n}=t;return e._internal.chains.subscribe((e,t)=>{n(e,t)})})(t,{onChange:e}),()=>u(t),()=>u(t))}({config:n}),switchChain:o,switchChainAsync:i}}}}]);